diff --git a/applications/emocam/css/material-components-web.min.css b/applications/emocam/css/material-components-web.min.css deleted file mode 100644 index e224761..0000000 --- a/applications/emocam/css/material-components-web.min.css +++ /dev/null @@ -1,42 +0,0 @@ -/** - * @license - * Copyright Google LLC All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://github.com/material-components/material-components-web/blob/master/LICENSE - */ -.mdc-banner__graphic{color:#fff;color:var(--mdc-theme-surface, #fff)}.mdc-banner__graphic{background-color:#6200ee;background-color:var(--mdc-theme-primary, #6200ee)}.mdc-banner__content,.mdc-banner__fixed{min-width:344px}@media(max-width: 480px),(max-width: 344px){.mdc-banner__content,.mdc-banner__fixed{min-width:100%}}.mdc-banner__content{max-width:720px}.mdc-banner{z-index:1;border-bottom-style:solid;box-sizing:border-box;display:none;flex-shrink:0;height:0;position:relative;width:100%}@media(max-width: 480px){.mdc-banner .mdc-banner__fixed{left:0;right:0}.mdc-banner .mdc-banner__text{margin-left:16px;margin-right:36px}[dir=rtl] .mdc-banner .mdc-banner__text,.mdc-banner .mdc-banner__text[dir=rtl]{margin-left:36px;margin-right:16px}}@media(max-width: 480px){.mdc-banner.mdc-banner--mobile-stacked .mdc-banner__content{flex-wrap:wrap}.mdc-banner.mdc-banner--mobile-stacked .mdc-banner__graphic{margin-bottom:12px}.mdc-banner.mdc-banner--mobile-stacked .mdc-banner__text{margin-left:16px;margin-right:8px;padding-bottom:4px}[dir=rtl] .mdc-banner.mdc-banner--mobile-stacked .mdc-banner__text,.mdc-banner.mdc-banner--mobile-stacked .mdc-banner__text[dir=rtl]{margin-left:8px;margin-right:16px}.mdc-banner.mdc-banner--mobile-stacked .mdc-banner__actions{margin-left:auto}}.mdc-banner--opening,.mdc-banner--open,.mdc-banner--closing{display:flex}.mdc-banner--open{transition:height 300ms ease}.mdc-banner--open .mdc-banner__content{transition:-webkit-transform 300ms ease;transition:transform 300ms ease;transition:transform 300ms ease, -webkit-transform 300ms ease;-webkit-transform:translateY(0);transform:translateY(0)}.mdc-banner--closing{transition:height 250ms ease}.mdc-banner--closing .mdc-banner__content{transition:-webkit-transform 250ms ease;transition:transform 250ms ease;transition:transform 250ms ease, -webkit-transform 250ms ease}.mdc-banner--centered .mdc-banner__content{left:0;margin-left:auto;margin-right:auto;right:0}.mdc-banner__fixed{border-bottom-style:solid;box-sizing:border-box;height:inherit;position:fixed;width:100%}.mdc-banner__content{display:flex;min-height:52px;position:absolute;-webkit-transform:translateY(-100%);transform:translateY(-100%);width:100%}.mdc-banner__graphic-text-wrapper{display:flex;width:100%}.mdc-banner__graphic{margin-left:16px;margin-right:0;flex-shrink:0;margin-top:16px;margin-bottom:16px;text-align:center}[dir=rtl] .mdc-banner__graphic,.mdc-banner__graphic[dir=rtl]{margin-left:0;margin-right:16px}.mdc-banner__icon{position:relative;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.mdc-banner__text{margin-left:24px;margin-right:90px;align-self:center;flex-grow:1;padding-top:16px;padding-bottom:16px}[dir=rtl] .mdc-banner__text,.mdc-banner__text[dir=rtl]{margin-left:90px;margin-right:24px}.mdc-banner__actions{padding-left:0;padding-right:8px;align-self:flex-end;display:flex;flex-shrink:0;padding-bottom:8px;padding-top:8px}[dir=rtl] .mdc-banner__actions,.mdc-banner__actions[dir=rtl]{padding-left:8px;padding-right:0}.mdc-banner__secondary-action{margin-left:0;margin-right:8px}[dir=rtl] .mdc-banner__secondary-action,.mdc-banner__secondary-action[dir=rtl]{margin-left:8px;margin-right:0}.mdc-banner{background-color:#fff;border-bottom-color:rgba(0, 0, 0, 0.12);border-bottom-width:1px;border-radius:0}.mdc-banner .mdc-banner__text{color:#000}.mdc-banner .mdc-banner__text{letter-spacing:0.0178571429em;font-size:0.875rem;font-family:Roboto, sans-serif;font-weight:400;line-height:1.25rem}.mdc-banner .mdc-banner__graphic{border-radius:50%}.mdc-banner .mdc-banner__graphic{height:40px;width:40px}.mdc-banner .mdc-banner__fixed{background-color:#fff}.mdc-banner .mdc-banner__fixed{border-bottom-color:rgba(0, 0, 0, 0.12)}.mdc-banner .mdc-banner__fixed{border-bottom-width:1px}.mdc-banner .mdc-button:not(:disabled){color:#6200ee;color:var(--mdc-text-button-label-text-color, #6200ee)}.mdc-banner .mdc-button .mdc-button__ripple::before,.mdc-banner .mdc-button .mdc-button__ripple::after{background-color:#6200ee;background-color:var(--mdc-text-button-hover-state-layer-color, #6200ee)}.mdc-banner .mdc-button:hover .mdc-button__ripple::before,.mdc-banner .mdc-button.mdc-ripple-surface--hover .mdc-button__ripple::before{opacity:0.04;opacity:var(--mdc-text-button-hover-state-layer-opacity, 0.04)}.mdc-banner .mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__ripple::before,.mdc-banner .mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__ripple::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-text-button-focus-state-layer-opacity, 0.12)}.mdc-banner .mdc-button:not(.mdc-ripple-upgraded) .mdc-button__ripple::after{transition:opacity 150ms linear}.mdc-banner .mdc-button:not(.mdc-ripple-upgraded):active .mdc-button__ripple::after{transition-duration:75ms;opacity:0.1;opacity:var(--mdc-text-button-pressed-state-layer-opacity, 0.1)}.mdc-banner .mdc-button.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-text-button-pressed-state-layer-opacity, 0.1)}.mdc-banner__secondary-action{margin-left:0;margin-right:8px}[dir=rtl] .mdc-banner__secondary-action,.mdc-banner__secondary-action[dir=rtl]{margin-left:8px;margin-right:0}.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:0;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1);background-color:#fff;background-color:var(--mdc-elevation-overlay-color, #fff)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:transparent}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{display:none}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{pointer-events:none;border:2px solid transparent;border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);height:calc( - 100% + 4px - );width:calc( - 100% + 4px - );display:block}}@media screen and (forced-colors: active)and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring::after,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring::after{content:"";border:2px solid transparent;border-radius:8px;display:block;position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}}@media screen and (forced-colors: active)and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring::after,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring::after{border-color:CanvasText}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-button-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));text-decoration:none;-webkit-text-decoration:var(--mdc-typography-button-text-decoration, none);text-decoration:var(--mdc-typography-button-text-decoration, none)}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:transparent}@-webkit-keyframes mdc-ripple-fg-radius-in{from{-webkit-animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transform:translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1);transform:translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1)}to{-webkit-transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1));transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}}@keyframes mdc-ripple-fg-radius-in{from{-webkit-animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transform:translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1);transform:translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1)}to{-webkit-transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1));transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}}@-webkit-keyframes mdc-ripple-fg-opacity-in{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0}to{opacity:var(--mdc-ripple-fg-opacity, 0)}}@keyframes mdc-ripple-fg-opacity-in{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0}to{opacity:var(--mdc-ripple-fg-opacity, 0)}}@-webkit-keyframes mdc-ripple-fg-opacity-out{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:var(--mdc-ripple-fg-opacity, 0)}to{opacity:0}}@keyframes mdc-ripple-fg-opacity-out{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:var(--mdc-ripple-fg-opacity, 0)}to{opacity:0}}.mdc-button{--mdc-ripple-fg-size: 0;--mdc-ripple-left: 0;--mdc-ripple-top: 0;--mdc-ripple-fg-scale: 1;--mdc-ripple-fg-translate-end: 0;--mdc-ripple-fg-translate-start: 0;-webkit-tap-highlight-color:rgba(0,0,0,0);will-change:transform,opacity}.mdc-button .mdc-button__ripple::before,.mdc-button .mdc-button__ripple::after{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:""}.mdc-button .mdc-button__ripple::before{transition:opacity 15ms linear,background-color 15ms linear;z-index:1;z-index:var(--mdc-ripple-z-index, 1)}.mdc-button .mdc-button__ripple::after{z-index:0;z-index:var(--mdc-ripple-z-index, 0)}.mdc-button.mdc-ripple-upgraded .mdc-button__ripple::before{-webkit-transform:scale(var(--mdc-ripple-fg-scale, 1));transform:scale(var(--mdc-ripple-fg-scale, 1))}.mdc-button.mdc-ripple-upgraded .mdc-button__ripple::after{top:0;left:0;-webkit-transform:scale(0);transform:scale(0);-webkit-transform-origin:center center;transform-origin:center center}.mdc-button.mdc-ripple-upgraded--unbounded .mdc-button__ripple::after{top:var(--mdc-ripple-top, 0);left:var(--mdc-ripple-left, 0)}.mdc-button.mdc-ripple-upgraded--foreground-activation .mdc-button__ripple::after{-webkit-animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards;animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards}.mdc-button.mdc-ripple-upgraded--foreground-deactivation .mdc-button__ripple::after{-webkit-animation:mdc-ripple-fg-opacity-out 150ms;animation:mdc-ripple-fg-opacity-out 150ms;-webkit-transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1));transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}.mdc-button .mdc-button__ripple::before,.mdc-button .mdc-button__ripple::after{top:calc(50% - 100%);left:calc(50% - 100%);width:200%;height:200%}.mdc-button.mdc-ripple-upgraded .mdc-button__ripple::after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-button__ripple{position:absolute;box-sizing:content-box;overflow:hidden;z-index:0;top:0;left:0;bottom:0;right:0}.mdc-button{font-family:Roboto, sans-serif;font-family:var(--mdc-text-button-label-text-font, var(--mdc-typography-button-font-family, var(--mdc-typography-font-family, Roboto, sans-serif)));font-size:0.875rem;font-size:var(--mdc-text-button-label-text-size, var(--mdc-typography-button-font-size, 0.875rem));letter-spacing:0.0892857143em;letter-spacing:var(--mdc-text-button-label-text-tracking, var(--mdc-typography-button-letter-spacing, 0.0892857143em));font-weight:500;font-weight:var(--mdc-text-button-label-text-weight, var(--mdc-typography-button-font-weight, 500));text-transform:uppercase;text-transform:var(--mdc-text-button-label-text-transform, var(--mdc-typography-button-text-transform, uppercase));height:36px;height:var(--mdc-text-button-container-height, 36px);border-radius:4px;border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mdc-button:not(:disabled){color:#6200ee;color:var(--mdc-text-button-label-text-color, var(--mdc-theme-primary, #6200ee))}.mdc-button:disabled{color:rgba(0, 0, 0, 0.38);color:var(--mdc-text-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mdc-button .mdc-button__icon{font-size:1.125rem;font-size:var(--mdc-text-button-with-icon-icon-size, 1.125rem);width:1.125rem;width:var(--mdc-text-button-with-icon-icon-size, 1.125rem);height:1.125rem;height:var(--mdc-text-button-with-icon-icon-size, 1.125rem)}.mdc-button .mdc-button__ripple::before,.mdc-button .mdc-button__ripple::after{background-color:#6200ee;background-color:var(--mdc-text-button-hover-state-layer-color, var(--mdc-theme-primary, #6200ee))}.mdc-button:hover .mdc-button__ripple::before,.mdc-button.mdc-ripple-surface--hover .mdc-button__ripple::before{opacity:0.04;opacity:var(--mdc-text-button-hover-state-layer-opacity, 0.04)}.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__ripple::before,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__ripple::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-text-button-focus-state-layer-opacity, 0.12)}.mdc-button:not(.mdc-ripple-upgraded) .mdc-button__ripple::after{transition:opacity 150ms linear}.mdc-button:not(.mdc-ripple-upgraded):active .mdc-button__ripple::after{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-text-button-pressed-state-layer-opacity, 0.12)}.mdc-button.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-text-button-pressed-state-layer-opacity, 0.12)}.mdc-button .mdc-button__ripple{border-radius:4px;border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mdc-button--unelevated{font-family:Roboto, sans-serif;font-family:var(--mdc-filled-button-label-text-font, var(--mdc-typography-button-font-family, var(--mdc-typography-font-family, Roboto, sans-serif)));font-size:0.875rem;font-size:var(--mdc-filled-button-label-text-size, var(--mdc-typography-button-font-size, 0.875rem));letter-spacing:0.0892857143em;letter-spacing:var(--mdc-filled-button-label-text-tracking, var(--mdc-typography-button-letter-spacing, 0.0892857143em));font-weight:500;font-weight:var(--mdc-filled-button-label-text-weight, var(--mdc-typography-button-font-weight, 500));text-transform:uppercase;text-transform:var(--mdc-filled-button-label-text-transform, var(--mdc-typography-button-text-transform, uppercase));height:36px;height:var(--mdc-filled-button-container-height, 36px);border-radius:4px;border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mdc-button--unelevated:not(:disabled){background-color:#6200ee;background-color:var(--mdc-filled-button-container-color, var(--mdc-theme-primary, #6200ee))}.mdc-button--unelevated:disabled{background-color:rgba(0, 0, 0, 0.12);background-color:var(--mdc-filled-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mdc-button--unelevated:not(:disabled){color:#fff;color:var(--mdc-filled-button-label-text-color, var(--mdc-theme-on-primary, #fff))}.mdc-button--unelevated:disabled{color:rgba(0, 0, 0, 0.38);color:var(--mdc-filled-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mdc-button--unelevated .mdc-button__icon{font-size:1.125rem;font-size:var(--mdc-filled-button-with-icon-icon-size, 1.125rem);width:1.125rem;width:var(--mdc-filled-button-with-icon-icon-size, 1.125rem);height:1.125rem;height:var(--mdc-filled-button-with-icon-icon-size, 1.125rem)}.mdc-button--unelevated .mdc-button__ripple::before,.mdc-button--unelevated .mdc-button__ripple::after{background-color:#fff;background-color:var(--mdc-filled-button-hover-state-layer-color, var(--mdc-theme-on-primary, #fff))}.mdc-button--unelevated:hover .mdc-button__ripple::before,.mdc-button--unelevated.mdc-ripple-surface--hover .mdc-button__ripple::before{opacity:0.08;opacity:var(--mdc-filled-button-hover-state-layer-opacity, 0.08)}.mdc-button--unelevated.mdc-ripple-upgraded--background-focused .mdc-button__ripple::before,.mdc-button--unelevated:not(.mdc-ripple-upgraded):focus .mdc-button__ripple::before{transition-duration:75ms;opacity:0.24;opacity:var(--mdc-filled-button-focus-state-layer-opacity, 0.24)}.mdc-button--unelevated:not(.mdc-ripple-upgraded) .mdc-button__ripple::after{transition:opacity 150ms linear}.mdc-button--unelevated:not(.mdc-ripple-upgraded):active .mdc-button__ripple::after{transition-duration:75ms;opacity:0.24;opacity:var(--mdc-filled-button-pressed-state-layer-opacity, 0.24)}.mdc-button--unelevated.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-filled-button-pressed-state-layer-opacity, 0.24)}.mdc-button--unelevated .mdc-button__ripple{border-radius:4px;border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mdc-button--raised{font-family:Roboto, sans-serif;font-family:var(--mdc-protected-button-label-text-font, var(--mdc-typography-button-font-family, var(--mdc-typography-font-family, Roboto, sans-serif)));font-size:0.875rem;font-size:var(--mdc-protected-button-label-text-size, var(--mdc-typography-button-font-size, 0.875rem));letter-spacing:0.0892857143em;letter-spacing:var(--mdc-protected-button-label-text-tracking, var(--mdc-typography-button-letter-spacing, 0.0892857143em));font-weight:500;font-weight:var(--mdc-protected-button-label-text-weight, var(--mdc-typography-button-font-weight, 500));text-transform:uppercase;text-transform:var(--mdc-protected-button-label-text-transform, var(--mdc-typography-button-text-transform, uppercase));height:36px;height:var(--mdc-protected-button-container-height, 36px);border-radius:4px;border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px));--mdc-elevation-box-shadow-for-gss:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);box-shadow:var(--mdc-protected-button-container-elevation, var(--mdc-elevation-box-shadow-for-gss))}.mdc-button--raised:not(:disabled){background-color:#6200ee;background-color:var(--mdc-protected-button-container-color, var(--mdc-theme-primary, #6200ee))}.mdc-button--raised:disabled{background-color:rgba(0, 0, 0, 0.12);background-color:var(--mdc-protected-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mdc-button--raised:not(:disabled){color:#fff;color:var(--mdc-protected-button-label-text-color, var(--mdc-theme-on-primary, #fff))}.mdc-button--raised:disabled{color:rgba(0, 0, 0, 0.38);color:var(--mdc-protected-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mdc-button--raised .mdc-button__icon{font-size:1.125rem;font-size:var(--mdc-protected-button-with-icon-icon-size, 1.125rem);width:1.125rem;width:var(--mdc-protected-button-with-icon-icon-size, 1.125rem);height:1.125rem;height:var(--mdc-protected-button-with-icon-icon-size, 1.125rem)}.mdc-button--raised .mdc-button__ripple::before,.mdc-button--raised .mdc-button__ripple::after{background-color:#fff;background-color:var(--mdc-protected-button-hover-state-layer-color, var(--mdc-theme-on-primary, #fff))}.mdc-button--raised:hover .mdc-button__ripple::before,.mdc-button--raised.mdc-ripple-surface--hover .mdc-button__ripple::before{opacity:0.08;opacity:var(--mdc-protected-button-hover-state-layer-opacity, 0.08)}.mdc-button--raised.mdc-ripple-upgraded--background-focused .mdc-button__ripple::before,.mdc-button--raised:not(.mdc-ripple-upgraded):focus .mdc-button__ripple::before{transition-duration:75ms;opacity:0.24;opacity:var(--mdc-protected-button-focus-state-layer-opacity, 0.24)}.mdc-button--raised:not(.mdc-ripple-upgraded) .mdc-button__ripple::after{transition:opacity 150ms linear}.mdc-button--raised:not(.mdc-ripple-upgraded):active .mdc-button__ripple::after{transition-duration:75ms;opacity:0.24;opacity:var(--mdc-protected-button-pressed-state-layer-opacity, 0.24)}.mdc-button--raised.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-protected-button-pressed-state-layer-opacity, 0.24)}.mdc-button--raised .mdc-button__ripple{border-radius:4px;border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px))}.mdc-button--raised.mdc-ripple-upgraded--background-focused,.mdc-button--raised:not(.mdc-ripple-upgraded):focus{--mdc-elevation-box-shadow-for-gss:0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12);box-shadow:0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12);box-shadow:var(--mdc-protected-button-focus-container-elevation, var(--mdc-elevation-box-shadow-for-gss))}.mdc-button--raised:hover{--mdc-elevation-box-shadow-for-gss:0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12);box-shadow:0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12);box-shadow:var(--mdc-protected-button-hover-container-elevation, var(--mdc-elevation-box-shadow-for-gss))}.mdc-button--raised:not(:disabled):active{--mdc-elevation-box-shadow-for-gss:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12);box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12);box-shadow:var(--mdc-protected-button-pressed-container-elevation, var(--mdc-elevation-box-shadow-for-gss))}.mdc-button--raised:disabled{--mdc-elevation-box-shadow-for-gss:0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12);box-shadow:0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12);box-shadow:var(--mdc-protected-button-disabled-container-elevation, var(--mdc-elevation-box-shadow-for-gss))}.mdc-button--outlined{font-family:Roboto, sans-serif;font-family:var(--mdc-outlined-button-label-text-font, var(--mdc-typography-button-font-family, var(--mdc-typography-font-family, Roboto, sans-serif)));font-size:0.875rem;font-size:var(--mdc-outlined-button-label-text-size, var(--mdc-typography-button-font-size, 0.875rem));letter-spacing:0.0892857143em;letter-spacing:var(--mdc-outlined-button-label-text-tracking, var(--mdc-typography-button-letter-spacing, 0.0892857143em));font-weight:500;font-weight:var(--mdc-outlined-button-label-text-weight, var(--mdc-typography-button-font-weight, 500));text-transform:uppercase;text-transform:var(--mdc-outlined-button-label-text-transform, var(--mdc-typography-button-text-transform, uppercase));height:36px;height:var(--mdc-outlined-button-container-height, 36px);border-radius:4px;border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px));padding:0 15px 0 15px;border-width:1px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mdc-button--outlined:not(:disabled){color:#6200ee;color:var(--mdc-outlined-button-label-text-color, var(--mdc-theme-primary, #6200ee))}.mdc-button--outlined:disabled{color:rgba(0, 0, 0, 0.38);color:var(--mdc-outlined-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mdc-button--outlined .mdc-button__icon{font-size:1.125rem;font-size:var(--mdc-outlined-button-with-icon-icon-size, 1.125rem);width:1.125rem;width:var(--mdc-outlined-button-with-icon-icon-size, 1.125rem);height:1.125rem;height:var(--mdc-outlined-button-with-icon-icon-size, 1.125rem)}.mdc-button--outlined .mdc-button__ripple::before,.mdc-button--outlined .mdc-button__ripple::after{background-color:#6200ee;background-color:var(--mdc-outlined-button-hover-state-layer-color, var(--mdc-theme-primary, #6200ee))}.mdc-button--outlined:hover .mdc-button__ripple::before,.mdc-button--outlined.mdc-ripple-surface--hover .mdc-button__ripple::before{opacity:0.04;opacity:var(--mdc-outlined-button-hover-state-layer-opacity, 0.04)}.mdc-button--outlined.mdc-ripple-upgraded--background-focused .mdc-button__ripple::before,.mdc-button--outlined:not(.mdc-ripple-upgraded):focus .mdc-button__ripple::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-outlined-button-focus-state-layer-opacity, 0.12)}.mdc-button--outlined:not(.mdc-ripple-upgraded) .mdc-button__ripple::after{transition:opacity 150ms linear}.mdc-button--outlined:not(.mdc-ripple-upgraded):active .mdc-button__ripple::after{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-outlined-button-pressed-state-layer-opacity, 0.12)}.mdc-button--outlined.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-outlined-button-pressed-state-layer-opacity, 0.12)}.mdc-button--outlined .mdc-button__ripple{border-radius:4px;border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px))}.mdc-button--outlined:not(:disabled){border-color:rgba(0, 0, 0, 0.12);border-color:var(--mdc-outlined-button-outline-color, rgba(0, 0, 0, 0.12))}.mdc-button--outlined:disabled{border-color:rgba(0, 0, 0, 0.12);border-color:var(--mdc-outlined-button-disabled-outline-color, rgba(0, 0, 0, 0.12))}.mdc-button--outlined.mdc-button--icon-trailing{padding:0 11px 0 15px}.mdc-button--outlined.mdc-button--icon-leading{padding:0 15px 0 11px}.mdc-button--outlined .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:1px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mdc-button--outlined .mdc-button__touch{left:calc(-1 * 1px);left:calc(-1 * var(--mdc-outlined-button-outline-width, 1px));width:calc(100% + 2 * 1px);width:calc(100% + 2 * var(--mdc-outlined-button-outline-width, 1px))}.mdc-button--raised .mdc-button__icon,.mdc-button--unelevated .mdc-button__icon,.mdc-button--outlined .mdc-button__icon{margin-left:-4px;margin-right:8px}[dir=rtl] .mdc-button--raised .mdc-button__icon,[dir=rtl] .mdc-button--unelevated .mdc-button__icon,[dir=rtl] .mdc-button--outlined .mdc-button__icon,.mdc-button--raised .mdc-button__icon[dir=rtl],.mdc-button--unelevated .mdc-button__icon[dir=rtl],.mdc-button--outlined .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:-4px}.mdc-button--raised .mdc-button__label+.mdc-button__icon,.mdc-button--unelevated .mdc-button__label+.mdc-button__icon,.mdc-button--outlined .mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:-4px}[dir=rtl] .mdc-button--raised .mdc-button__label+.mdc-button__icon,[dir=rtl] .mdc-button--unelevated .mdc-button__label+.mdc-button__icon,[dir=rtl] .mdc-button--outlined .mdc-button__label+.mdc-button__icon,.mdc-button--raised .mdc-button__label+.mdc-button__icon[dir=rtl],.mdc-button--unelevated .mdc-button__label+.mdc-button__icon[dir=rtl],.mdc-button--outlined .mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:-4px;margin-right:8px}.mdc-card{border-radius:4px;border-radius:var(--mdc-shape-medium, 4px);background-color:#fff;background-color:var(--mdc-theme-surface, #fff);position:relative;box-shadow:0px 2px 1px -1px rgba(0, 0, 0, 0.2),0px 1px 1px 0px rgba(0, 0, 0, 0.14),0px 1px 3px 0px rgba(0,0,0,.12);display:flex;flex-direction:column;box-sizing:border-box}.mdc-card .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-card::after{border-radius:4px;border-radius:var(--mdc-shape-medium, 4px);position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid transparent;border-radius:inherit;content:"";pointer-events:none;pointer-events:none}@media screen and (forced-colors: active){.mdc-card::after{border-color:CanvasText}}.mdc-card--outlined{box-shadow:0px 0px 0px 0px rgba(0, 0, 0, 0.2),0px 0px 0px 0px rgba(0, 0, 0, 0.14),0px 0px 0px 0px rgba(0,0,0,.12);border-width:1px;border-style:solid;border-color:#e0e0e0}.mdc-card--outlined::after{border:none}.mdc-card__content{border-radius:inherit;height:100%}.mdc-card__media{position:relative;box-sizing:border-box;background-repeat:no-repeat;background-position:center;background-size:cover}.mdc-card__media::before{display:block;content:""}.mdc-card__media:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.mdc-card__media:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.mdc-card__media--square::before{margin-top:100%}.mdc-card__media--16-9::before{margin-top:56.25%}.mdc-card__media-content{position:absolute;top:0;right:0;bottom:0;left:0;box-sizing:border-box}.mdc-card__primary-action{display:flex;flex-direction:column;box-sizing:border-box;position:relative;outline:none;color:inherit;text-decoration:none;cursor:pointer;overflow:hidden}.mdc-card__primary-action:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.mdc-card__primary-action:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.mdc-card__actions{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;min-height:52px;padding:8px}.mdc-card__actions--full-bleed{padding:0}.mdc-card__action-buttons,.mdc-card__action-icons{display:flex;flex-direction:row;align-items:center;box-sizing:border-box}.mdc-card__action-icons{color:rgba(0, 0, 0, 0.6);flex-grow:1;justify-content:flex-end}.mdc-card__action-buttons+.mdc-card__action-icons{margin-left:16px;margin-right:0}[dir=rtl] .mdc-card__action-buttons+.mdc-card__action-icons,.mdc-card__action-buttons+.mdc-card__action-icons[dir=rtl]{margin-left:0;margin-right:16px}.mdc-card__action{display:inline-flex;flex-direction:row;align-items:center;box-sizing:border-box;justify-content:center;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.mdc-card__action:focus{outline:none}.mdc-card__action--button{margin-left:0;margin-right:8px;padding:0 8px}[dir=rtl] .mdc-card__action--button,.mdc-card__action--button[dir=rtl]{margin-left:8px;margin-right:0}.mdc-card__action--button:last-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-card__action--button:last-child,.mdc-card__action--button:last-child[dir=rtl]{margin-left:0;margin-right:0}.mdc-card__actions--full-bleed .mdc-card__action--button{justify-content:space-between;width:100%;height:auto;max-height:none;margin:0;padding:8px 16px;text-align:left}[dir=rtl] .mdc-card__actions--full-bleed .mdc-card__action--button,.mdc-card__actions--full-bleed .mdc-card__action--button[dir=rtl]{text-align:right}.mdc-card__action--icon{margin:-6px 0;padding:12px}.mdc-card__action--icon:not(:disabled){color:rgba(0, 0, 0, 0.6)}.mdc-card__primary-action{--mdc-ripple-fg-size: 0;--mdc-ripple-left: 0;--mdc-ripple-top: 0;--mdc-ripple-fg-scale: 1;--mdc-ripple-fg-translate-end: 0;--mdc-ripple-fg-translate-start: 0;-webkit-tap-highlight-color:rgba(0,0,0,0);will-change:transform,opacity}.mdc-card__primary-action .mdc-card__ripple::before,.mdc-card__primary-action .mdc-card__ripple::after{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:""}.mdc-card__primary-action .mdc-card__ripple::before{transition:opacity 15ms linear,background-color 15ms linear;z-index:1;z-index:var(--mdc-ripple-z-index, 1)}.mdc-card__primary-action .mdc-card__ripple::after{z-index:0;z-index:var(--mdc-ripple-z-index, 0)}.mdc-card__primary-action.mdc-ripple-upgraded .mdc-card__ripple::before{-webkit-transform:scale(var(--mdc-ripple-fg-scale, 1));transform:scale(var(--mdc-ripple-fg-scale, 1))}.mdc-card__primary-action.mdc-ripple-upgraded .mdc-card__ripple::after{top:0;left:0;-webkit-transform:scale(0);transform:scale(0);-webkit-transform-origin:center center;transform-origin:center center}.mdc-card__primary-action.mdc-ripple-upgraded--unbounded .mdc-card__ripple::after{top:var(--mdc-ripple-top, 0);left:var(--mdc-ripple-left, 0)}.mdc-card__primary-action.mdc-ripple-upgraded--foreground-activation .mdc-card__ripple::after{-webkit-animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards;animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards}.mdc-card__primary-action.mdc-ripple-upgraded--foreground-deactivation .mdc-card__ripple::after{-webkit-animation:mdc-ripple-fg-opacity-out 150ms;animation:mdc-ripple-fg-opacity-out 150ms;-webkit-transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1));transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}.mdc-card__primary-action .mdc-card__ripple::before,.mdc-card__primary-action .mdc-card__ripple::after{top:calc(50% - 100%);left:calc(50% - 100%);width:200%;height:200%}.mdc-card__primary-action.mdc-ripple-upgraded .mdc-card__ripple::after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-card__primary-action .mdc-card__ripple::before,.mdc-card__primary-action .mdc-card__ripple::after{background-color:#000;background-color:var(--mdc-ripple-color, #000)}.mdc-card__primary-action:hover .mdc-card__ripple::before,.mdc-card__primary-action.mdc-ripple-surface--hover .mdc-card__ripple::before{opacity:0.04;opacity:var(--mdc-ripple-hover-opacity, 0.04)}.mdc-card__primary-action.mdc-ripple-upgraded--background-focused .mdc-card__ripple::before,.mdc-card__primary-action:not(.mdc-ripple-upgraded):focus .mdc-card__ripple::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-opacity, 0.12)}.mdc-card__primary-action:not(.mdc-ripple-upgraded) .mdc-card__ripple::after{transition:opacity 150ms linear}.mdc-card__primary-action:not(.mdc-ripple-upgraded):active .mdc-card__ripple::after{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-card__primary-action.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-card__primary-action .mdc-card__ripple{box-sizing:content-box;height:100%;overflow:hidden;left:0;pointer-events:none;position:absolute;top:0;width:100%}.mdc-card__primary-action.mdc-ripple-upgraded--background-focused::after,.mdc-card__primary-action:not(.mdc-ripple-upgraded):focus::after{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:5px double transparent;border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-card__primary-action.mdc-ripple-upgraded--background-focused::after,.mdc-card__primary-action:not(.mdc-ripple-upgraded):focus::after{border-color:CanvasText}}.mdc-checkbox{padding:calc((40px - 18px) / 2);padding:calc((var(--mdc-checkbox-ripple-size, 40px) - 18px) / 2);margin:calc((40px - 40px) / 2);margin:calc((var(--mdc-checkbox-touch-target-size, 40px) - 40px) / 2)}.mdc-checkbox .mdc-checkbox__ripple::before,.mdc-checkbox .mdc-checkbox__ripple::after{background-color:#000;background-color:var(--mdc-ripple-color, #000)}.mdc-checkbox:hover .mdc-checkbox__ripple::before,.mdc-checkbox.mdc-ripple-surface--hover .mdc-checkbox__ripple::before{opacity:0.04;opacity:var(--mdc-ripple-hover-opacity, 0.04)}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__ripple::before,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__ripple::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-opacity, 0.12)}.mdc-checkbox:not(.mdc-ripple-upgraded) .mdc-checkbox__ripple::after{transition:opacity 150ms linear}.mdc-checkbox:not(.mdc-ripple-upgraded):active .mdc-checkbox__ripple::after{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-checkbox.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-checkbox.mdc-checkbox--selected .mdc-checkbox__ripple::before,.mdc-checkbox.mdc-checkbox--selected .mdc-checkbox__ripple::after{background-color:#018786;background-color:var(--mdc-ripple-color, var(--mdc-theme-secondary, #018786))}.mdc-checkbox.mdc-checkbox--selected:hover .mdc-checkbox__ripple::before,.mdc-checkbox.mdc-checkbox--selected.mdc-ripple-surface--hover .mdc-checkbox__ripple::before{opacity:0.04;opacity:var(--mdc-ripple-hover-opacity, 0.04)}.mdc-checkbox.mdc-checkbox--selected.mdc-ripple-upgraded--background-focused .mdc-checkbox__ripple::before,.mdc-checkbox.mdc-checkbox--selected:not(.mdc-ripple-upgraded):focus .mdc-checkbox__ripple::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-opacity, 0.12)}.mdc-checkbox.mdc-checkbox--selected:not(.mdc-ripple-upgraded) .mdc-checkbox__ripple::after{transition:opacity 150ms linear}.mdc-checkbox.mdc-checkbox--selected:not(.mdc-ripple-upgraded):active .mdc-checkbox__ripple::after{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-checkbox.mdc-checkbox--selected.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--selected .mdc-checkbox__ripple::before,.mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--selected .mdc-checkbox__ripple::after{background-color:#018786;background-color:var(--mdc-ripple-color, var(--mdc-theme-secondary, #018786))}.mdc-checkbox .mdc-checkbox__background{top:calc((40px - 18px) / 2);top:calc((var(--mdc-checkbox-ripple-size, 40px) - 18px) / 2);left:calc((40px - 18px) / 2);left:calc((var(--mdc-checkbox-ripple-size, 40px) - 18px) / 2)}.mdc-checkbox .mdc-checkbox__native-control{top:calc((40px - 40px) / 2);top:calc((40px - var(--mdc-checkbox-touch-target-size, 40px)) / 2);right:calc((40px - 40px) / 2);right:calc((40px - var(--mdc-checkbox-touch-target-size, 40px)) / 2);left:calc((40px - 40px) / 2);left:calc((40px - var(--mdc-checkbox-touch-target-size, 40px)) / 2);width:40px;width:var(--mdc-checkbox-touch-target-size, 40px);height:40px;height:var(--mdc-checkbox-touch-target-size, 40px)}.mdc-checkbox .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:rgba(0, 0, 0, 0.54);border-color:var(--mdc-checkbox-unchecked-color, rgba(0, 0, 0, 0.54));background-color:transparent}.mdc-checkbox .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:#018786;border-color:var(--mdc-checkbox-checked-color, var(--mdc-theme-secondary, #018786));background-color:#018786;background-color:var(--mdc-checkbox-checked-color, var(--mdc-theme-secondary, #018786))}@-webkit-keyframes mdc-checkbox-fade-in-background-8A000000FF01878600000000FF018786{0%{border-color:rgba(0, 0, 0, 0.54);border-color:var(--mdc-checkbox-unchecked-color, rgba(0, 0, 0, 0.54));background-color:transparent}50%{border-color:#018786;border-color:var(--mdc-checkbox-checked-color, var(--mdc-theme-secondary, #018786));background-color:#018786;background-color:var(--mdc-checkbox-checked-color, var(--mdc-theme-secondary, #018786))}}@keyframes mdc-checkbox-fade-in-background-8A000000FF01878600000000FF018786{0%{border-color:rgba(0, 0, 0, 0.54);border-color:var(--mdc-checkbox-unchecked-color, rgba(0, 0, 0, 0.54));background-color:transparent}50%{border-color:#018786;border-color:var(--mdc-checkbox-checked-color, var(--mdc-theme-secondary, #018786));background-color:#018786;background-color:var(--mdc-checkbox-checked-color, var(--mdc-theme-secondary, #018786))}}@-webkit-keyframes mdc-checkbox-fade-out-background-8A000000FF01878600000000FF018786{0%,80%{border-color:#018786;border-color:var(--mdc-checkbox-checked-color, var(--mdc-theme-secondary, #018786));background-color:#018786;background-color:var(--mdc-checkbox-checked-color, var(--mdc-theme-secondary, #018786))}100%{border-color:rgba(0, 0, 0, 0.54);border-color:var(--mdc-checkbox-unchecked-color, rgba(0, 0, 0, 0.54));background-color:transparent}}@keyframes mdc-checkbox-fade-out-background-8A000000FF01878600000000FF018786{0%,80%{border-color:#018786;border-color:var(--mdc-checkbox-checked-color, var(--mdc-theme-secondary, #018786));background-color:#018786;background-color:var(--mdc-checkbox-checked-color, var(--mdc-theme-secondary, #018786))}100%{border-color:rgba(0, 0, 0, 0.54);border-color:var(--mdc-checkbox-unchecked-color, rgba(0, 0, 0, 0.54));background-color:transparent}}.mdc-checkbox.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{-webkit-animation-name:mdc-checkbox-fade-in-background-8A000000FF01878600000000FF018786;animation-name:mdc-checkbox-fade-in-background-8A000000FF01878600000000FF018786}.mdc-checkbox.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{-webkit-animation-name:mdc-checkbox-fade-out-background-8A000000FF01878600000000FF018786;animation-name:mdc-checkbox-fade-out-background-8A000000FF01878600000000FF018786}.mdc-checkbox .mdc-checkbox__native-control[disabled]:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:rgba(0, 0, 0, 0.38);border-color:var(--mdc-checkbox-disabled-color, rgba(0, 0, 0, 0.38));background-color:transparent}.mdc-checkbox .mdc-checkbox__native-control[disabled]:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[disabled]:indeterminate~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true][disabled]~.mdc-checkbox__background{border-color:transparent;background-color:rgba(0, 0, 0, 0.38);background-color:var(--mdc-checkbox-disabled-color, rgba(0, 0, 0, 0.38))}.mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:#fff;color:var(--mdc-checkbox-ink-color, #fff)}.mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:#fff;border-color:var(--mdc-checkbox-ink-color, #fff)}.mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:#fff;color:var(--mdc-checkbox-ink-color, #fff)}.mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:#fff;border-color:var(--mdc-checkbox-ink-color, #fff)}@-webkit-keyframes mdc-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:29.7833385}50%{-webkit-animation-timing-function:cubic-bezier(0, 0, 0.2, 1);animation-timing-function:cubic-bezier(0, 0, 0.2, 1)}100%{stroke-dashoffset:0}}@keyframes mdc-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:29.7833385}50%{-webkit-animation-timing-function:cubic-bezier(0, 0, 0.2, 1);animation-timing-function:cubic-bezier(0, 0, 0.2, 1)}100%{stroke-dashoffset:0}}@-webkit-keyframes mdc-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{-webkit-transform:scaleX(0);transform:scaleX(0)}68.2%{-webkit-animation-timing-function:cubic-bezier(0, 0, 0, 1);animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{-webkit-transform:scaleX(1);transform:scaleX(1)}}@keyframes mdc-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{-webkit-transform:scaleX(0);transform:scaleX(0)}68.2%{-webkit-animation-timing-function:cubic-bezier(0, 0, 0, 1);animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{-webkit-transform:scaleX(1);transform:scaleX(1)}}@-webkit-keyframes mdc-checkbox-checked-unchecked-checkmark-path{from{-webkit-animation-timing-function:cubic-bezier(0.4, 0, 1, 1);animation-timing-function:cubic-bezier(0.4, 0, 1, 1);opacity:1;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:-29.7833385}}@keyframes mdc-checkbox-checked-unchecked-checkmark-path{from{-webkit-animation-timing-function:cubic-bezier(0.4, 0, 1, 1);animation-timing-function:cubic-bezier(0.4, 0, 1, 1);opacity:1;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:-29.7833385}}@-webkit-keyframes mdc-checkbox-checked-indeterminate-checkmark{from{-webkit-animation-timing-function:cubic-bezier(0, 0, 0.2, 1);animation-timing-function:cubic-bezier(0, 0, 0.2, 1);-webkit-transform:rotate(0deg);transform:rotate(0deg);opacity:1}to{-webkit-transform:rotate(45deg);transform:rotate(45deg);opacity:0}}@keyframes mdc-checkbox-checked-indeterminate-checkmark{from{-webkit-animation-timing-function:cubic-bezier(0, 0, 0.2, 1);animation-timing-function:cubic-bezier(0, 0, 0.2, 1);-webkit-transform:rotate(0deg);transform:rotate(0deg);opacity:1}to{-webkit-transform:rotate(45deg);transform:rotate(45deg);opacity:0}}@-webkit-keyframes mdc-checkbox-indeterminate-checked-checkmark{from{-webkit-animation-timing-function:cubic-bezier(0.14, 0, 0, 1);animation-timing-function:cubic-bezier(0.14, 0, 0, 1);-webkit-transform:rotate(45deg);transform:rotate(45deg);opacity:0}to{-webkit-transform:rotate(360deg);transform:rotate(360deg);opacity:1}}@keyframes mdc-checkbox-indeterminate-checked-checkmark{from{-webkit-animation-timing-function:cubic-bezier(0.14, 0, 0, 1);animation-timing-function:cubic-bezier(0.14, 0, 0, 1);-webkit-transform:rotate(45deg);transform:rotate(45deg);opacity:0}to{-webkit-transform:rotate(360deg);transform:rotate(360deg);opacity:1}}@-webkit-keyframes mdc-checkbox-checked-indeterminate-mixedmark{from{-webkit-animation-timing-function:mdc-animation-deceleration-curve-timing-function;animation-timing-function:mdc-animation-deceleration-curve-timing-function;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);opacity:0}to{-webkit-transform:rotate(0deg);transform:rotate(0deg);opacity:1}}@keyframes mdc-checkbox-checked-indeterminate-mixedmark{from{-webkit-animation-timing-function:mdc-animation-deceleration-curve-timing-function;animation-timing-function:mdc-animation-deceleration-curve-timing-function;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);opacity:0}to{-webkit-transform:rotate(0deg);transform:rotate(0deg);opacity:1}}@-webkit-keyframes mdc-checkbox-indeterminate-checked-mixedmark{from{-webkit-animation-timing-function:cubic-bezier(0.14, 0, 0, 1);animation-timing-function:cubic-bezier(0.14, 0, 0, 1);-webkit-transform:rotate(0deg);transform:rotate(0deg);opacity:1}to{-webkit-transform:rotate(315deg);transform:rotate(315deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-checked-mixedmark{from{-webkit-animation-timing-function:cubic-bezier(0.14, 0, 0, 1);animation-timing-function:cubic-bezier(0.14, 0, 0, 1);-webkit-transform:rotate(0deg);transform:rotate(0deg);opacity:1}to{-webkit-transform:rotate(315deg);transform:rotate(315deg);opacity:0}}@-webkit-keyframes mdc-checkbox-indeterminate-unchecked-mixedmark{0%{-webkit-animation-timing-function:linear;animation-timing-function:linear;-webkit-transform:scaleX(1);transform:scaleX(1);opacity:1}32.8%,100%{-webkit-transform:scaleX(0);transform:scaleX(0);opacity:0}}@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark{0%{-webkit-animation-timing-function:linear;animation-timing-function:linear;-webkit-transform:scaleX(1);transform:scaleX(1);opacity:1}32.8%,100%{-webkit-transform:scaleX(0);transform:scaleX(0);opacity:0}}.mdc-checkbox{display:inline-block;position:relative;flex:0 0 18px;box-sizing:content-box;width:18px;height:18px;line-height:0;white-space:nowrap;cursor:pointer;vertical-align:bottom}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{pointer-events:none;border:2px solid transparent;border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);height:100%;width:100%}@media screen and (forced-colors: active){.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{border-color:CanvasText}}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{content:"";border:2px solid transparent;border-radius:8px;display:block;position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{border-color:CanvasText}}@media all and (-ms-high-contrast: none){.mdc-checkbox .mdc-checkbox__focus-ring{display:none}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-checkbox__mixedmark{margin:0 1px}}.mdc-checkbox--disabled{cursor:default;pointer-events:none}.mdc-checkbox__background{display:inline-flex;position:absolute;align-items:center;justify-content:center;box-sizing:border-box;width:18px;height:18px;border:2px solid currentColor;border-radius:2px;background-color:transparent;pointer-events:none;will-change:background-color,border-color;transition:background-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0;transition:opacity 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox--upgraded .mdc-checkbox__checkmark{opacity:1}.mdc-checkbox__checkmark-path{transition:stroke-dashoffset 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1);stroke:currentColor;stroke-width:3.12px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}.mdc-checkbox__mixedmark{width:100%;height:0;-webkit-transform:scaleX(0) rotate(0deg);transform:scaleX(0) rotate(0deg);border-width:1px;border-style:solid;opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),-webkit-transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),-webkit-transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background{-webkit-animation-duration:180ms;animation-duration:180ms;-webkit-animation-timing-function:linear;animation-timing-function:linear}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path{-webkit-animation:mdc-checkbox-unchecked-checked-checkmark-path 180ms linear 0s;animation:mdc-checkbox-unchecked-checked-checkmark-path 180ms linear 0s;transition:none}.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{-webkit-animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear 0s;animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{-webkit-animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear 0s;animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{-webkit-animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear 0s;animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{-webkit-animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear 0s;animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{-webkit-animation:mdc-checkbox-indeterminate-checked-checkmark 500ms linear 0s;animation:mdc-checkbox-indeterminate-checked-checkmark 500ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{-webkit-animation:mdc-checkbox-indeterminate-checked-mixedmark 500ms linear 0s;animation:mdc-checkbox-indeterminate-checked-mixedmark 500ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{-webkit-animation:mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear 0s;animation:mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear 0s;transition:none}.mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background{transition:border-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark-path{stroke-dashoffset:0}.mdc-checkbox__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit}.mdc-checkbox__native-control:disabled{cursor:default;pointer-events:none}.mdc-checkbox--touch{margin:calc((48px - 40px) / 2);margin:calc((var(--mdc-checkbox-state-layer-size, 48px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2)}.mdc-checkbox--touch .mdc-checkbox__native-control{top:calc((40px - 48px) / 2);top:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 48px)) / 2);right:calc((40px - 48px) / 2);right:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 48px)) / 2);left:calc((40px - 48px) / 2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 48px)) / 2);width:48px;width:var(--mdc-checkbox-state-layer-size, 48px);height:48px;height:var(--mdc-checkbox-state-layer-size, 48px)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark{transition:opacity 180ms 0ms cubic-bezier(0, 0, 0.2, 1),-webkit-transform 180ms 0ms cubic-bezier(0, 0, 0.2, 1);transition:opacity 180ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 180ms 0ms cubic-bezier(0, 0, 0.2, 1);transition:opacity 180ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 180ms 0ms cubic-bezier(0, 0, 0.2, 1),-webkit-transform 180ms 0ms cubic-bezier(0, 0, 0.2, 1);opacity:1}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__mixedmark{-webkit-transform:scaleX(1) rotate(-45deg);transform:scaleX(1) rotate(-45deg)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark{-webkit-transform:rotate(45deg);transform:rotate(45deg);opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),-webkit-transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),-webkit-transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__mixedmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__mixedmark{-webkit-transform:scaleX(1) rotate(0deg);transform:scaleX(1) rotate(0deg);opacity:1}.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark-path,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__mixedmark{transition:none}.mdc-checkbox{--mdc-ripple-fg-size: 0;--mdc-ripple-left: 0;--mdc-ripple-top: 0;--mdc-ripple-fg-scale: 1;--mdc-ripple-fg-translate-end: 0;--mdc-ripple-fg-translate-start: 0;-webkit-tap-highlight-color:rgba(0,0,0,0);will-change:transform,opacity}.mdc-checkbox .mdc-checkbox__ripple::before,.mdc-checkbox .mdc-checkbox__ripple::after{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:""}.mdc-checkbox .mdc-checkbox__ripple::before{transition:opacity 15ms linear,background-color 15ms linear;z-index:1;z-index:var(--mdc-ripple-z-index, 1)}.mdc-checkbox .mdc-checkbox__ripple::after{z-index:0;z-index:var(--mdc-ripple-z-index, 0)}.mdc-checkbox.mdc-ripple-upgraded .mdc-checkbox__ripple::before{-webkit-transform:scale(var(--mdc-ripple-fg-scale, 1));transform:scale(var(--mdc-ripple-fg-scale, 1))}.mdc-checkbox.mdc-ripple-upgraded .mdc-checkbox__ripple::after{top:0;left:0;-webkit-transform:scale(0);transform:scale(0);-webkit-transform-origin:center center;transform-origin:center center}.mdc-checkbox.mdc-ripple-upgraded--unbounded .mdc-checkbox__ripple::after{top:var(--mdc-ripple-top, 0);left:var(--mdc-ripple-left, 0)}.mdc-checkbox.mdc-ripple-upgraded--foreground-activation .mdc-checkbox__ripple::after{-webkit-animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards;animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards}.mdc-checkbox.mdc-ripple-upgraded--foreground-deactivation .mdc-checkbox__ripple::after{-webkit-animation:mdc-ripple-fg-opacity-out 150ms;animation:mdc-ripple-fg-opacity-out 150ms;-webkit-transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1));transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}.mdc-checkbox .mdc-checkbox__ripple::before,.mdc-checkbox .mdc-checkbox__ripple::after{top:calc(50% - 50%);left:calc(50% - 50%);width:100%;height:100%}.mdc-checkbox.mdc-ripple-upgraded .mdc-checkbox__ripple::before,.mdc-checkbox.mdc-ripple-upgraded .mdc-checkbox__ripple::after{top:var(--mdc-ripple-top, calc(50% - 50%));left:var(--mdc-ripple-left, calc(50% - 50%));width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-checkbox.mdc-ripple-upgraded .mdc-checkbox__ripple::after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-checkbox{z-index:0}.mdc-checkbox .mdc-checkbox__ripple::before,.mdc-checkbox .mdc-checkbox__ripple::after{z-index:-1;z-index:var(--mdc-ripple-z-index, -1)}.mdc-checkbox__ripple{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-checkbox .mdc-checkbox__native-control[disabled]:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:GrayText;border-color:var(--mdc-checkbox-disabled-unselected-icon-color, GrayText);background-color:transparent}.mdc-checkbox .mdc-checkbox__native-control[disabled]:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[disabled]:indeterminate~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true][disabled]~.mdc-checkbox__background{border-color:GrayText;background-color:GrayText;background-color:var(--mdc-checkbox-disabled-selected-icon-color, GrayText)}.mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:ButtonText;color:var(--mdc-checkbox-selected-checkmark-color, ButtonText)}.mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:ButtonText;border-color:var(--mdc-checkbox-selected-checkmark-color, ButtonText)}.mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:ButtonFace;color:var(--mdc-checkbox-disabled-selected-checkmark-color, ButtonFace)}.mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:ButtonFace;border-color:var(--mdc-checkbox-disabled-selected-checkmark-color, ButtonFace)}}.mdc-deprecated-chip-trailing-action__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%)}.mdc-deprecated-chip-trailing-action{border:none;display:inline-flex;position:relative;align-items:center;justify-content:center;box-sizing:border-box;padding:0;outline:none;cursor:pointer;-webkit-appearance:none;background:none}.mdc-deprecated-chip-trailing-action .mdc-deprecated-chip-trailing-action__icon{height:18px;width:18px;font-size:18px}.mdc-deprecated-chip-trailing-action .mdc-deprecated-chip-trailing-action{color:#000;color:var(--mdc-theme-on-surface, #000)}.mdc-deprecated-chip-trailing-action .mdc-deprecated-chip-trailing-action__touch{width:26px}.mdc-deprecated-chip-trailing-action .mdc-deprecated-chip-trailing-action__icon{fill:currentColor;color:inherit}.mdc-deprecated-chip-trailing-action{--mdc-ripple-fg-size: 0;--mdc-ripple-left: 0;--mdc-ripple-top: 0;--mdc-ripple-fg-scale: 1;--mdc-ripple-fg-translate-end: 0;--mdc-ripple-fg-translate-start: 0;-webkit-tap-highlight-color:rgba(0,0,0,0);will-change:transform,opacity}.mdc-deprecated-chip-trailing-action .mdc-deprecated-chip-trailing-action__ripple::before,.mdc-deprecated-chip-trailing-action .mdc-deprecated-chip-trailing-action__ripple::after{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:""}.mdc-deprecated-chip-trailing-action .mdc-deprecated-chip-trailing-action__ripple::before{transition:opacity 15ms linear,background-color 15ms linear;z-index:1;z-index:var(--mdc-ripple-z-index, 1)}.mdc-deprecated-chip-trailing-action .mdc-deprecated-chip-trailing-action__ripple::after{z-index:0;z-index:var(--mdc-ripple-z-index, 0)}.mdc-deprecated-chip-trailing-action.mdc-ripple-upgraded .mdc-deprecated-chip-trailing-action__ripple::before{-webkit-transform:scale(var(--mdc-ripple-fg-scale, 1));transform:scale(var(--mdc-ripple-fg-scale, 1))}.mdc-deprecated-chip-trailing-action.mdc-ripple-upgraded .mdc-deprecated-chip-trailing-action__ripple::after{top:0;left:0;-webkit-transform:scale(0);transform:scale(0);-webkit-transform-origin:center center;transform-origin:center center}.mdc-deprecated-chip-trailing-action.mdc-ripple-upgraded--unbounded .mdc-deprecated-chip-trailing-action__ripple::after{top:var(--mdc-ripple-top, 0);left:var(--mdc-ripple-left, 0)}.mdc-deprecated-chip-trailing-action.mdc-ripple-upgraded--foreground-activation .mdc-deprecated-chip-trailing-action__ripple::after{-webkit-animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards;animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards}.mdc-deprecated-chip-trailing-action.mdc-ripple-upgraded--foreground-deactivation .mdc-deprecated-chip-trailing-action__ripple::after{-webkit-animation:mdc-ripple-fg-opacity-out 150ms;animation:mdc-ripple-fg-opacity-out 150ms;-webkit-transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1));transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}.mdc-deprecated-chip-trailing-action .mdc-deprecated-chip-trailing-action__ripple::before,.mdc-deprecated-chip-trailing-action .mdc-deprecated-chip-trailing-action__ripple::after{top:calc(50% - 50%);left:calc(50% - 50%);width:100%;height:100%}.mdc-deprecated-chip-trailing-action.mdc-ripple-upgraded .mdc-deprecated-chip-trailing-action__ripple::before,.mdc-deprecated-chip-trailing-action.mdc-ripple-upgraded .mdc-deprecated-chip-trailing-action__ripple::after{top:var(--mdc-ripple-top, calc(50% - 50%));left:var(--mdc-ripple-left, calc(50% - 50%));width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-deprecated-chip-trailing-action.mdc-ripple-upgraded .mdc-deprecated-chip-trailing-action__ripple::after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-deprecated-chip-trailing-action .mdc-deprecated-chip-trailing-action__ripple::before,.mdc-deprecated-chip-trailing-action .mdc-deprecated-chip-trailing-action__ripple::after{background-color:#000;background-color:var(--mdc-ripple-color, var(--mdc-theme-on-surface, #000))}.mdc-deprecated-chip-trailing-action:hover .mdc-deprecated-chip-trailing-action__ripple::before,.mdc-deprecated-chip-trailing-action.mdc-ripple-surface--hover .mdc-deprecated-chip-trailing-action__ripple::before{opacity:0.04;opacity:var(--mdc-ripple-hover-opacity, 0.04)}.mdc-deprecated-chip-trailing-action.mdc-ripple-upgraded--background-focused .mdc-deprecated-chip-trailing-action__ripple::before,.mdc-deprecated-chip-trailing-action:not(.mdc-ripple-upgraded):focus .mdc-deprecated-chip-trailing-action__ripple::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-opacity, 0.12)}.mdc-deprecated-chip-trailing-action:not(.mdc-ripple-upgraded) .mdc-deprecated-chip-trailing-action__ripple::after{transition:opacity 150ms linear}.mdc-deprecated-chip-trailing-action:not(.mdc-ripple-upgraded):active .mdc-deprecated-chip-trailing-action__ripple::after{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-deprecated-chip-trailing-action.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-deprecated-chip-trailing-action .mdc-deprecated-chip-trailing-action__ripple{position:absolute;box-sizing:content-box;width:100%;height:100%;overflow:hidden}.mdc-chip__icon--leading{color:rgba(0,0,0,.54)}.mdc-deprecated-chip-trailing-action{color:#000}.mdc-chip__icon--trailing{color:rgba(0,0,0,.54)}.mdc-chip__icon--trailing:hover{color:rgba(0,0,0,.62)}.mdc-chip__icon--trailing:focus{color:rgba(0,0,0,.87)}.mdc-chip__icon.mdc-chip__icon--leading:not(.mdc-chip__icon--leading-hidden){width:20px;height:20px;font-size:20px}.mdc-deprecated-chip-trailing-action__icon{height:18px;width:18px;font-size:18px}.mdc-chip__icon.mdc-chip__icon--trailing{width:18px;height:18px;font-size:18px}.mdc-deprecated-chip-trailing-action{margin-left:4px;margin-right:-4px}[dir=rtl] .mdc-deprecated-chip-trailing-action,.mdc-deprecated-chip-trailing-action[dir=rtl]{margin-left:-4px;margin-right:4px}.mdc-chip__icon--trailing{margin-left:4px;margin-right:-4px}[dir=rtl] .mdc-chip__icon--trailing,.mdc-chip__icon--trailing[dir=rtl]{margin-left:-4px;margin-right:4px}.mdc-chip{border-radius:16px;background-color:#e0e0e0;color:rgba(0, 0, 0, 0.87);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.875rem;font-size:var(--mdc-typography-body2-font-size, 0.875rem);line-height:1.25rem;line-height:var(--mdc-typography-body2-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:0.0178571429em;letter-spacing:var(--mdc-typography-body2-letter-spacing, 0.0178571429em);text-decoration:inherit;-webkit-text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-body2-text-transform, inherit);height:32px;position:relative;display:inline-flex;align-items:center;box-sizing:border-box;padding:0 12px;border-width:0;outline:none;cursor:pointer;-webkit-appearance:none}.mdc-chip .mdc-chip__ripple{border-radius:16px}.mdc-chip:hover{color:rgba(0, 0, 0, 0.87)}.mdc-chip.mdc-chip--selected .mdc-chip__checkmark,.mdc-chip .mdc-chip__icon--leading:not(.mdc-chip__icon--leading-hidden){margin-left:-4px;margin-right:4px}[dir=rtl] .mdc-chip.mdc-chip--selected .mdc-chip__checkmark,[dir=rtl] .mdc-chip .mdc-chip__icon--leading:not(.mdc-chip__icon--leading-hidden),.mdc-chip.mdc-chip--selected .mdc-chip__checkmark[dir=rtl],.mdc-chip .mdc-chip__icon--leading:not(.mdc-chip__icon--leading-hidden)[dir=rtl]{margin-left:4px;margin-right:-4px}.mdc-chip .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-chip::-moz-focus-inner{padding:0;border:0}.mdc-chip:hover{color:#000;color:var(--mdc-theme-on-surface, #000)}.mdc-chip .mdc-chip__touch{position:absolute;top:50%;height:48px;left:0;right:0;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.mdc-chip--exit{transition:opacity 75ms cubic-bezier(0.4, 0, 0.2, 1),width 150ms cubic-bezier(0, 0, 0.2, 1),padding 100ms linear,margin 100ms linear;opacity:0}.mdc-chip__overflow{text-overflow:ellipsis;overflow:hidden}.mdc-chip__text{white-space:nowrap}.mdc-chip__icon{border-radius:50%;outline:none;vertical-align:middle}.mdc-chip__checkmark{height:20px}.mdc-chip__checkmark-path{transition:stroke-dashoffset 150ms 50ms cubic-bezier(0.4, 0, 0.6, 1);stroke-width:2px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}.mdc-chip__primary-action:focus{outline:none}.mdc-chip--selected .mdc-chip__checkmark-path{stroke-dashoffset:0}.mdc-chip__icon--leading,.mdc-chip__icon--trailing{position:relative}.mdc-chip-set--choice .mdc-chip.mdc-chip--selected{color:#6200ee;color:var(--mdc-theme-primary, #6200ee)}.mdc-chip-set--choice .mdc-chip.mdc-chip--selected .mdc-chip__icon--leading{color:rgba(98,0,238,.54)}.mdc-chip-set--choice .mdc-chip.mdc-chip--selected:hover{color:#6200ee;color:var(--mdc-theme-primary, #6200ee)}.mdc-chip-set--choice .mdc-chip .mdc-chip__checkmark-path{stroke:#6200ee;stroke:var(--mdc-theme-primary, #6200ee)}.mdc-chip-set--choice .mdc-chip--selected{background-color:#fff;background-color:var(--mdc-theme-surface, #fff)}.mdc-chip__checkmark-svg{width:0;height:20px;transition:width 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-chip--selected .mdc-chip__checkmark-svg{width:20px}.mdc-chip-set--filter .mdc-chip__icon--leading{transition:opacity 75ms linear;transition-delay:-50ms;opacity:1}.mdc-chip-set--filter .mdc-chip__icon--leading+.mdc-chip__checkmark{transition:opacity 75ms linear;transition-delay:80ms;opacity:0}.mdc-chip-set--filter .mdc-chip__icon--leading+.mdc-chip__checkmark .mdc-chip__checkmark-svg{transition:width 0ms}.mdc-chip-set--filter .mdc-chip--selected .mdc-chip__icon--leading{opacity:0}.mdc-chip-set--filter .mdc-chip--selected .mdc-chip__icon--leading+.mdc-chip__checkmark{width:0;opacity:1}.mdc-chip-set--filter .mdc-chip__icon--leading-hidden.mdc-chip__icon--leading{width:0;opacity:0}.mdc-chip-set--filter .mdc-chip__icon--leading-hidden.mdc-chip__icon--leading+.mdc-chip__checkmark{width:20px}.mdc-chip{--mdc-ripple-fg-size: 0;--mdc-ripple-left: 0;--mdc-ripple-top: 0;--mdc-ripple-fg-scale: 1;--mdc-ripple-fg-translate-end: 0;--mdc-ripple-fg-translate-start: 0;-webkit-tap-highlight-color:rgba(0,0,0,0);will-change:transform,opacity}.mdc-chip .mdc-chip__ripple::before,.mdc-chip .mdc-chip__ripple::after{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:""}.mdc-chip .mdc-chip__ripple::before{transition:opacity 15ms linear,background-color 15ms linear;z-index:1;z-index:var(--mdc-ripple-z-index, 1)}.mdc-chip .mdc-chip__ripple::after{z-index:0;z-index:var(--mdc-ripple-z-index, 0)}.mdc-chip.mdc-ripple-upgraded .mdc-chip__ripple::before{-webkit-transform:scale(var(--mdc-ripple-fg-scale, 1));transform:scale(var(--mdc-ripple-fg-scale, 1))}.mdc-chip.mdc-ripple-upgraded .mdc-chip__ripple::after{top:0;left:0;-webkit-transform:scale(0);transform:scale(0);-webkit-transform-origin:center center;transform-origin:center center}.mdc-chip.mdc-ripple-upgraded--unbounded .mdc-chip__ripple::after{top:var(--mdc-ripple-top, 0);left:var(--mdc-ripple-left, 0)}.mdc-chip.mdc-ripple-upgraded--foreground-activation .mdc-chip__ripple::after{-webkit-animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards;animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards}.mdc-chip.mdc-ripple-upgraded--foreground-deactivation .mdc-chip__ripple::after{-webkit-animation:mdc-ripple-fg-opacity-out 150ms;animation:mdc-ripple-fg-opacity-out 150ms;-webkit-transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1));transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}.mdc-chip .mdc-chip__ripple::before,.mdc-chip .mdc-chip__ripple::after{top:calc(50% - 100%);left:calc(50% - 100%);width:200%;height:200%}.mdc-chip.mdc-ripple-upgraded .mdc-chip__ripple::after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-chip .mdc-chip__ripple::before,.mdc-chip .mdc-chip__ripple::after{background-color:rgba(0, 0, 0, 0.87);background-color:var(--mdc-ripple-color, rgba(0, 0, 0, 0.87))}.mdc-chip:hover .mdc-chip__ripple::before,.mdc-chip.mdc-ripple-surface--hover .mdc-chip__ripple::before{opacity:0.04;opacity:var(--mdc-ripple-hover-opacity, 0.04)}.mdc-chip.mdc-ripple-upgraded--background-focused .mdc-chip__ripple::before,.mdc-chip.mdc-ripple-upgraded:focus-within .mdc-chip__ripple::before,.mdc-chip:not(.mdc-ripple-upgraded):focus .mdc-chip__ripple::before,.mdc-chip:not(.mdc-ripple-upgraded):focus-within .mdc-chip__ripple::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-opacity, 0.12)}.mdc-chip:not(.mdc-ripple-upgraded) .mdc-chip__ripple::after{transition:opacity 150ms linear}.mdc-chip:not(.mdc-ripple-upgraded):active .mdc-chip__ripple::after{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-chip.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-chip .mdc-chip__ripple{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;overflow:hidden}.mdc-chip-set--choice .mdc-chip.mdc-chip--selected .mdc-chip__ripple::before{opacity:0.08;opacity:var(--mdc-ripple-selected-opacity, 0.08)}.mdc-chip-set--choice .mdc-chip.mdc-chip--selected .mdc-chip__ripple::before,.mdc-chip-set--choice .mdc-chip.mdc-chip--selected .mdc-chip__ripple::after{background-color:#6200ee;background-color:var(--mdc-ripple-color, var(--mdc-theme-primary, #6200ee))}.mdc-chip-set--choice .mdc-chip.mdc-chip--selected:hover .mdc-chip__ripple::before,.mdc-chip-set--choice .mdc-chip.mdc-chip--selected.mdc-ripple-surface--hover .mdc-chip__ripple::before{opacity:0.12;opacity:var(--mdc-ripple-hover-opacity, 0.12)}.mdc-chip-set--choice .mdc-chip.mdc-chip--selected.mdc-ripple-upgraded--background-focused .mdc-chip__ripple::before,.mdc-chip-set--choice .mdc-chip.mdc-chip--selected.mdc-ripple-upgraded:focus-within .mdc-chip__ripple::before,.mdc-chip-set--choice .mdc-chip.mdc-chip--selected:not(.mdc-ripple-upgraded):focus .mdc-chip__ripple::before,.mdc-chip-set--choice .mdc-chip.mdc-chip--selected:not(.mdc-ripple-upgraded):focus-within .mdc-chip__ripple::before{transition-duration:75ms;opacity:0.2;opacity:var(--mdc-ripple-focus-opacity, 0.2)}.mdc-chip-set--choice .mdc-chip.mdc-chip--selected:not(.mdc-ripple-upgraded) .mdc-chip__ripple::after{transition:opacity 150ms linear}.mdc-chip-set--choice .mdc-chip.mdc-chip--selected:not(.mdc-ripple-upgraded):active .mdc-chip__ripple::after{transition-duration:75ms;opacity:0.2;opacity:var(--mdc-ripple-press-opacity, 0.2)}.mdc-chip-set--choice .mdc-chip.mdc-chip--selected.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.2)}@-webkit-keyframes mdc-chip-entry{from{-webkit-transform:scale(0.8);transform:scale(0.8);opacity:.4}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}@keyframes mdc-chip-entry{from{-webkit-transform:scale(0.8);transform:scale(0.8);opacity:.4}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}.mdc-chip-set{padding:4px;display:flex;flex-wrap:wrap;box-sizing:border-box}.mdc-chip-set .mdc-chip{margin:4px}.mdc-chip-set .mdc-chip--touch{margin-top:8px;margin-bottom:8px}.mdc-chip-set--input .mdc-chip{-webkit-animation:mdc-chip-entry 100ms cubic-bezier(0, 0, 0.2, 1);animation:mdc-chip-entry 100ms cubic-bezier(0, 0, 0.2, 1)}.mdc-circular-progress__determinate-circle,.mdc-circular-progress__indeterminate-circle-graphic{stroke:#6200ee;stroke:var(--mdc-theme-primary, #6200ee)}.mdc-circular-progress__determinate-track{stroke:transparent}@-webkit-keyframes mdc-circular-progress-container-rotate{to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes mdc-circular-progress-container-rotate{to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes mdc-circular-progress-spinner-layer-rotate{12.5%{-webkit-transform:rotate(135deg);transform:rotate(135deg)}25%{-webkit-transform:rotate(270deg);transform:rotate(270deg)}37.5%{-webkit-transform:rotate(405deg);transform:rotate(405deg)}50%{-webkit-transform:rotate(540deg);transform:rotate(540deg)}62.5%{-webkit-transform:rotate(675deg);transform:rotate(675deg)}75%{-webkit-transform:rotate(810deg);transform:rotate(810deg)}87.5%{-webkit-transform:rotate(945deg);transform:rotate(945deg)}100%{-webkit-transform:rotate(1080deg);transform:rotate(1080deg)}}@keyframes mdc-circular-progress-spinner-layer-rotate{12.5%{-webkit-transform:rotate(135deg);transform:rotate(135deg)}25%{-webkit-transform:rotate(270deg);transform:rotate(270deg)}37.5%{-webkit-transform:rotate(405deg);transform:rotate(405deg)}50%{-webkit-transform:rotate(540deg);transform:rotate(540deg)}62.5%{-webkit-transform:rotate(675deg);transform:rotate(675deg)}75%{-webkit-transform:rotate(810deg);transform:rotate(810deg)}87.5%{-webkit-transform:rotate(945deg);transform:rotate(945deg)}100%{-webkit-transform:rotate(1080deg);transform:rotate(1080deg)}}@-webkit-keyframes mdc-circular-progress-color-1-fade-in-out{from{opacity:.99}25%{opacity:.99}26%{opacity:0}89%{opacity:0}90%{opacity:.99}to{opacity:.99}}@keyframes mdc-circular-progress-color-1-fade-in-out{from{opacity:.99}25%{opacity:.99}26%{opacity:0}89%{opacity:0}90%{opacity:.99}to{opacity:.99}}@-webkit-keyframes mdc-circular-progress-color-2-fade-in-out{from{opacity:0}15%{opacity:0}25%{opacity:.99}50%{opacity:.99}51%{opacity:0}to{opacity:0}}@keyframes mdc-circular-progress-color-2-fade-in-out{from{opacity:0}15%{opacity:0}25%{opacity:.99}50%{opacity:.99}51%{opacity:0}to{opacity:0}}@-webkit-keyframes mdc-circular-progress-color-3-fade-in-out{from{opacity:0}40%{opacity:0}50%{opacity:.99}75%{opacity:.99}76%{opacity:0}to{opacity:0}}@keyframes mdc-circular-progress-color-3-fade-in-out{from{opacity:0}40%{opacity:0}50%{opacity:.99}75%{opacity:.99}76%{opacity:0}to{opacity:0}}@-webkit-keyframes mdc-circular-progress-color-4-fade-in-out{from{opacity:0}65%{opacity:0}75%{opacity:.99}90%{opacity:.99}to{opacity:0}}@keyframes mdc-circular-progress-color-4-fade-in-out{from{opacity:0}65%{opacity:0}75%{opacity:.99}90%{opacity:.99}to{opacity:0}}@-webkit-keyframes mdc-circular-progress-left-spin{from{-webkit-transform:rotate(265deg);transform:rotate(265deg)}50%{-webkit-transform:rotate(130deg);transform:rotate(130deg)}to{-webkit-transform:rotate(265deg);transform:rotate(265deg)}}@keyframes mdc-circular-progress-left-spin{from{-webkit-transform:rotate(265deg);transform:rotate(265deg)}50%{-webkit-transform:rotate(130deg);transform:rotate(130deg)}to{-webkit-transform:rotate(265deg);transform:rotate(265deg)}}@-webkit-keyframes mdc-circular-progress-right-spin{from{-webkit-transform:rotate(-265deg);transform:rotate(-265deg)}50%{-webkit-transform:rotate(-130deg);transform:rotate(-130deg)}to{-webkit-transform:rotate(-265deg);transform:rotate(-265deg)}}@keyframes mdc-circular-progress-right-spin{from{-webkit-transform:rotate(-265deg);transform:rotate(-265deg)}50%{-webkit-transform:rotate(-130deg);transform:rotate(-130deg)}to{-webkit-transform:rotate(-265deg);transform:rotate(-265deg)}}.mdc-circular-progress{display:inline-flex;position:relative;direction:ltr;line-height:0;transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-circular-progress__determinate-container,.mdc-circular-progress__indeterminate-circle-graphic,.mdc-circular-progress__indeterminate-container,.mdc-circular-progress__spinner-layer{position:absolute;width:100%;height:100%}.mdc-circular-progress__determinate-container{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.mdc-circular-progress__indeterminate-container{font-size:0;letter-spacing:0;white-space:nowrap;opacity:0}.mdc-circular-progress__determinate-circle-graphic,.mdc-circular-progress__indeterminate-circle-graphic{fill:transparent}.mdc-circular-progress__determinate-circle{transition:stroke-dashoffset 500ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-circular-progress__gap-patch{position:absolute;top:0;left:47.5%;box-sizing:border-box;width:5%;height:100%;overflow:hidden}.mdc-circular-progress__gap-patch .mdc-circular-progress__indeterminate-circle-graphic{left:-900%;width:2000%;-webkit-transform:rotate(180deg);transform:rotate(180deg)}.mdc-circular-progress__circle-clipper{display:inline-flex;position:relative;width:50%;height:100%;overflow:hidden}.mdc-circular-progress__circle-clipper .mdc-circular-progress__indeterminate-circle-graphic{width:200%}.mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{left:-100%}.mdc-circular-progress--indeterminate .mdc-circular-progress__determinate-container{opacity:0}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{opacity:1}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{-webkit-animation:mdc-circular-progress-container-rotate 1568.2352941176ms linear infinite;animation:mdc-circular-progress-container-rotate 1568.2352941176ms linear infinite}.mdc-circular-progress--indeterminate .mdc-circular-progress__spinner-layer{-webkit-animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both;animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-1{-webkit-animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-1-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both;animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-1-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-2{-webkit-animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-2-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both;animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-2-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-3{-webkit-animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-3-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both;animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-3-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-4{-webkit-animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-4-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both;animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-4-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-left .mdc-circular-progress__indeterminate-circle-graphic{-webkit-animation:mdc-circular-progress-left-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both;animation:mdc-circular-progress-left-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{-webkit-animation:mdc-circular-progress-right-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both;animation:mdc-circular-progress-right-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--closed{opacity:0}.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-subtitle1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:1rem;font-size:var(--mdc-typography-subtitle1-font-size, 1rem);font-weight:400;font-weight:var(--mdc-typography-subtitle1-font-weight, 400);letter-spacing:0.009375em;letter-spacing:var(--mdc-typography-subtitle1-letter-spacing, 0.009375em);text-decoration:inherit;-webkit-text-decoration:var(--mdc-typography-subtitle1-text-decoration, inherit);text-decoration:var(--mdc-typography-subtitle1-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-subtitle1-text-transform, inherit);position:absolute;left:0;-webkit-transform-origin:left top;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform;transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1),-webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1),-webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1)}[dir=rtl] .mdc-floating-label,.mdc-floating-label[dir=rtl]{right:0;left:auto;-webkit-transform-origin:right top;transform-origin:right top;text-align:right}.mdc-floating-label--float-above{cursor:auto}.mdc-floating-label--required::after{margin-left:1px;margin-right:0px;content:"*"}[dir=rtl] .mdc-floating-label--required::after,.mdc-floating-label--required[dir=rtl]::after{margin-left:0;margin-right:1px}.mdc-floating-label--float-above{-webkit-transform:translateY(-106%) scale(0.75);transform:translateY(-106%) scale(0.75)}.mdc-floating-label--shake{-webkit-animation:mdc-floating-label-shake-float-above-standard 250ms 1;animation:mdc-floating-label-shake-float-above-standard 250ms 1}@-webkit-keyframes mdc-floating-label-shake-float-above-standard{0%{-webkit-transform:translateX(calc(0 - 0%)) translateY(-106%) scale(0.75);transform:translateX(calc(0 - 0%)) translateY(-106%) scale(0.75)}33%{-webkit-animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);-webkit-transform:translateX(calc(4% - 0%)) translateY(-106%) scale(0.75);transform:translateX(calc(4% - 0%)) translateY(-106%) scale(0.75)}66%{-webkit-animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);-webkit-transform:translateX(calc(-4% - 0%)) translateY(-106%) scale(0.75);transform:translateX(calc(-4% - 0%)) translateY(-106%) scale(0.75)}100%{-webkit-transform:translateX(calc(0 - 0%)) translateY(-106%) scale(0.75);transform:translateX(calc(0 - 0%)) translateY(-106%) scale(0.75)}}@keyframes mdc-floating-label-shake-float-above-standard{0%{-webkit-transform:translateX(calc(0 - 0%)) translateY(-106%) scale(0.75);transform:translateX(calc(0 - 0%)) translateY(-106%) scale(0.75)}33%{-webkit-animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);-webkit-transform:translateX(calc(4% - 0%)) translateY(-106%) scale(0.75);transform:translateX(calc(4% - 0%)) translateY(-106%) scale(0.75)}66%{-webkit-animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);-webkit-transform:translateX(calc(-4% - 0%)) translateY(-106%) scale(0.75);transform:translateX(calc(-4% - 0%)) translateY(-106%) scale(0.75)}100%{-webkit-transform:translateX(calc(0 - 0%)) translateY(-106%) scale(0.75);transform:translateX(calc(0 - 0%)) translateY(-106%) scale(0.75)}}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{border-bottom-width:1px}.mdc-line-ripple::before{z-index:1}.mdc-line-ripple::after{-webkit-transform:scaleX(0);transform:scaleX(0);border-bottom-width:2px;opacity:0;z-index:2}.mdc-line-ripple::after{transition:opacity 180ms cubic-bezier(0.4, 0, 0.2, 1),-webkit-transform 180ms cubic-bezier(0.4, 0, 0.2, 1);transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1);transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1),-webkit-transform 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-line-ripple--active::after{-webkit-transform:scaleX(1);transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline,.mdc-notched-outline[dir=rtl]{text-align:right}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{box-sizing:border-box;height:100%;border-top:1px solid;border-bottom:1px solid;pointer-events:none}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;width:12px}[dir=rtl] .mdc-notched-outline__leading,.mdc-notched-outline__leading[dir=rtl]{border-left:none;border-right:1px solid}.mdc-notched-outline__trailing{border-left:none;border-right:1px solid;flex-grow:1}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{flex:0 0 auto;width:auto;max-width:calc(100% - 12px * 2)}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch,.mdc-notched-outline--notched .mdc-notched-outline__notch[dir=rtl]{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-select{display:inline-flex;position:relative}.mdc-select:not(.mdc-select--disabled) .mdc-select__selected-text{color:rgba(0, 0, 0, 0.87)}.mdc-select.mdc-select--disabled .mdc-select__selected-text{color:rgba(0, 0, 0, 0.38)}.mdc-select:not(.mdc-select--disabled) .mdc-floating-label{color:rgba(0, 0, 0, 0.6)}.mdc-select:not(.mdc-select--disabled).mdc-select--focused .mdc-floating-label{color:rgba(98, 0, 238, 0.87)}.mdc-select.mdc-select--disabled .mdc-floating-label{color:rgba(0, 0, 0, 0.38)}.mdc-select:not(.mdc-select--disabled) .mdc-select__dropdown-icon{fill:rgba(0, 0, 0, 0.54)}.mdc-select:not(.mdc-select--disabled).mdc-select--focused .mdc-select__dropdown-icon{fill:#6200ee;fill:var(--mdc-theme-primary, #6200ee)}.mdc-select.mdc-select--disabled .mdc-select__dropdown-icon{fill:rgba(0, 0, 0, 0.38)}.mdc-select:not(.mdc-select--disabled)+.mdc-select-helper-text{color:rgba(0, 0, 0, 0.6)}.mdc-select.mdc-select--disabled+.mdc-select-helper-text{color:rgba(0, 0, 0, 0.38)}.mdc-select:not(.mdc-select--disabled) .mdc-select__icon{color:rgba(0, 0, 0, 0.54)}.mdc-select.mdc-select--disabled .mdc-select__icon{color:rgba(0, 0, 0, 0.38)}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-select.mdc-select--disabled .mdc-select__selected-text{color:GrayText}.mdc-select.mdc-select--disabled .mdc-select__dropdown-icon{fill:red}.mdc-select.mdc-select--disabled .mdc-floating-label{color:GrayText}.mdc-select.mdc-select--disabled .mdc-line-ripple::before{border-bottom-color:GrayText}.mdc-select.mdc-select--disabled .mdc-notched-outline__leading,.mdc-select.mdc-select--disabled .mdc-notched-outline__notch,.mdc-select.mdc-select--disabled .mdc-notched-outline__trailing{border-color:GrayText}.mdc-select.mdc-select--disabled .mdc-select__icon{color:GrayText}.mdc-select.mdc-select--disabled+.mdc-select-helper-text{color:GrayText}}.mdc-select .mdc-floating-label{top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);pointer-events:none}.mdc-select .mdc-select__anchor{padding-left:16px;padding-right:0}[dir=rtl] .mdc-select .mdc-select__anchor,.mdc-select .mdc-select__anchor[dir=rtl]{padding-left:0;padding-right:16px}.mdc-select.mdc-select--with-leading-icon .mdc-select__anchor{padding-left:0;padding-right:0}[dir=rtl] .mdc-select.mdc-select--with-leading-icon .mdc-select__anchor,.mdc-select.mdc-select--with-leading-icon .mdc-select__anchor[dir=rtl]{padding-left:0;padding-right:0}.mdc-select .mdc-select__icon{width:24px;height:24px;font-size:24px}.mdc-select .mdc-select__dropdown-icon{width:24px;height:24px}.mdc-select .mdc-select__menu .mdc-deprecated-list-item{padding-left:16px;padding-right:16px}[dir=rtl] .mdc-select .mdc-select__menu .mdc-deprecated-list-item,.mdc-select .mdc-select__menu .mdc-deprecated-list-item[dir=rtl]{padding-left:16px;padding-right:16px}.mdc-select .mdc-select__menu .mdc-deprecated-list-item__graphic{margin-left:0;margin-right:12px}[dir=rtl] .mdc-select .mdc-select__menu .mdc-deprecated-list-item__graphic,.mdc-select .mdc-select__menu .mdc-deprecated-list-item__graphic[dir=rtl]{margin-left:12px;margin-right:0}.mdc-select__dropdown-icon{margin-left:12px;margin-right:12px;display:inline-flex;position:relative;align-self:center;align-items:center;justify-content:center;flex-shrink:0;pointer-events:none}.mdc-select__dropdown-icon .mdc-select__dropdown-icon-active,.mdc-select__dropdown-icon .mdc-select__dropdown-icon-inactive{position:absolute;top:0;left:0}.mdc-select__dropdown-icon .mdc-select__dropdown-icon-graphic{width:41.6666666667%;height:20.8333333333%}.mdc-select__dropdown-icon .mdc-select__dropdown-icon-inactive{opacity:1;transition:opacity 75ms linear 75ms}.mdc-select__dropdown-icon .mdc-select__dropdown-icon-active{opacity:0;transition:opacity 75ms linear}[dir=rtl] .mdc-select__dropdown-icon,.mdc-select__dropdown-icon[dir=rtl]{margin-left:12px;margin-right:12px}.mdc-select--activated .mdc-select__dropdown-icon .mdc-select__dropdown-icon-inactive{opacity:0;transition:opacity 49.5ms linear}.mdc-select--activated .mdc-select__dropdown-icon .mdc-select__dropdown-icon-active{opacity:1;transition:opacity 100.5ms linear 49.5ms}.mdc-select__anchor{width:200px;min-width:0;flex:1 1 auto;position:relative;box-sizing:border-box;overflow:hidden;outline:none;cursor:pointer}.mdc-select__anchor .mdc-floating-label--float-above{-webkit-transform:translateY(-106%) scale(0.75);transform:translateY(-106%) scale(0.75)}.mdc-select__selected-text-container{display:flex;-webkit-appearance:none;-moz-appearance:none;appearance:none;pointer-events:none;box-sizing:border-box;width:auto;min-width:0;flex-grow:1;height:28px;border:none;outline:none;padding:0;background-color:transparent;color:inherit}.mdc-select__selected-text{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-subtitle1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:1rem;font-size:var(--mdc-typography-subtitle1-font-size, 1rem);line-height:1.75rem;line-height:var(--mdc-typography-subtitle1-line-height, 1.75rem);font-weight:400;font-weight:var(--mdc-typography-subtitle1-font-weight, 400);letter-spacing:0.009375em;letter-spacing:var(--mdc-typography-subtitle1-letter-spacing, 0.009375em);text-decoration:inherit;-webkit-text-decoration:var(--mdc-typography-subtitle1-text-decoration, inherit);text-decoration:var(--mdc-typography-subtitle1-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-subtitle1-text-transform, inherit);text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block;width:100%;text-align:left}[dir=rtl] .mdc-select__selected-text,.mdc-select__selected-text[dir=rtl]{text-align:right}.mdc-select--invalid:not(.mdc-select--disabled) .mdc-floating-label{color:#b00020;color:var(--mdc-theme-error, #b00020)}.mdc-select--invalid:not(.mdc-select--disabled).mdc-select--focused .mdc-floating-label{color:#b00020;color:var(--mdc-theme-error, #b00020)}.mdc-select--invalid:not(.mdc-select--disabled).mdc-select--invalid+.mdc-select-helper-text--validation-msg{color:#b00020;color:var(--mdc-theme-error, #b00020)}.mdc-select--invalid:not(.mdc-select--disabled) .mdc-select__dropdown-icon{fill:#b00020;fill:var(--mdc-theme-error, #b00020)}.mdc-select--invalid:not(.mdc-select--disabled).mdc-select--focused .mdc-select__dropdown-icon{fill:#b00020;fill:var(--mdc-theme-error, #b00020)}.mdc-select--disabled{cursor:default;pointer-events:none}.mdc-select--with-leading-icon .mdc-select__menu .mdc-deprecated-list-item{padding-left:12px;padding-right:12px}[dir=rtl] .mdc-select--with-leading-icon .mdc-select__menu .mdc-deprecated-list-item,.mdc-select--with-leading-icon .mdc-select__menu .mdc-deprecated-list-item[dir=rtl]{padding-left:12px;padding-right:12px}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-select__menu::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid transparent;border-radius:inherit;content:"";pointer-events:none}}@media screen and (forced-colors: active)and (forced-colors: active),screen and (-ms-high-contrast: active)and (forced-colors: active){.mdc-select__menu::before{border-color:CanvasText}}.mdc-select__menu .mdc-deprecated-list .mdc-select__icon,.mdc-select__menu .mdc-list .mdc-select__icon{margin-left:0;margin-right:0}[dir=rtl] .mdc-select__menu .mdc-deprecated-list .mdc-select__icon,[dir=rtl] .mdc-select__menu .mdc-list .mdc-select__icon,.mdc-select__menu .mdc-deprecated-list .mdc-select__icon[dir=rtl],.mdc-select__menu .mdc-list .mdc-select__icon[dir=rtl]{margin-left:0;margin-right:0}.mdc-select__menu .mdc-deprecated-list .mdc-deprecated-list-item--selected,.mdc-select__menu .mdc-deprecated-list .mdc-deprecated-list-item--activated,.mdc-select__menu .mdc-list .mdc-deprecated-list-item--selected,.mdc-select__menu .mdc-list .mdc-deprecated-list-item--activated{color:#000;color:var(--mdc-theme-on-surface, #000)}.mdc-select__menu .mdc-deprecated-list .mdc-deprecated-list-item--selected .mdc-deprecated-list-item__graphic,.mdc-select__menu .mdc-deprecated-list .mdc-deprecated-list-item--activated .mdc-deprecated-list-item__graphic,.mdc-select__menu .mdc-list .mdc-deprecated-list-item--selected .mdc-deprecated-list-item__graphic,.mdc-select__menu .mdc-list .mdc-deprecated-list-item--activated .mdc-deprecated-list-item__graphic{color:#000;color:var(--mdc-theme-on-surface, #000)}.mdc-select__menu .mdc-list-item__start{display:inline-flex;align-items:center}.mdc-select__option{padding-left:16px;padding-right:16px}[dir=rtl] .mdc-select__option,.mdc-select__option[dir=rtl]{padding-left:16px;padding-right:16px}.mdc-select__one-line-option.mdc-list-item--with-one-line{height:48px}.mdc-select__two-line-option.mdc-list-item--with-two-lines{height:64px}.mdc-select__two-line-option.mdc-list-item--with-two-lines .mdc-list-item__start{margin-top:20px}.mdc-select__two-line-option.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-select__two-line-option.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-select__two-line-option.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-select__two-line-option.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-select__two-line-option.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:36px;content:"";vertical-align:0}.mdc-select__option-with-leading-content{padding-left:0;padding-right:12px}.mdc-select__option-with-leading-content.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-select__option-with-leading-content.mdc-list-item,.mdc-select__option-with-leading-content.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-select__option-with-leading-content .mdc-list-item__start{margin-left:12px;margin-right:0}[dir=rtl] .mdc-select__option-with-leading-content .mdc-list-item__start,.mdc-select__option-with-leading-content .mdc-list-item__start[dir=rtl]{margin-left:0;margin-right:12px}.mdc-select__option-with-leading-content .mdc-list-item__start{width:36px;height:24px}[dir=rtl] .mdc-select__option-with-leading-content,.mdc-select__option-with-leading-content[dir=rtl]{padding-left:12px;padding-right:0}.mdc-select__option-with-meta.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-select__option-with-meta.mdc-list-item,.mdc-select__option-with-meta.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-select__option-with-meta .mdc-list-item__end{margin-left:12px;margin-right:12px}[dir=rtl] .mdc-select__option-with-meta .mdc-list-item__end,.mdc-select__option-with-meta .mdc-list-item__end[dir=rtl]{margin-left:12px;margin-right:12px}.mdc-select--filled .mdc-select__anchor{height:56px;display:flex;align-items:baseline}.mdc-select--filled .mdc-select__anchor::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}.mdc-select--filled.mdc-select--no-label .mdc-select__anchor .mdc-select__selected-text::before{content:"​"}.mdc-select--filled.mdc-select--no-label .mdc-select__anchor .mdc-select__selected-text-container{height:100%;display:inline-flex;align-items:center}.mdc-select--filled.mdc-select--no-label .mdc-select__anchor::before{display:none}.mdc-select--filled .mdc-select__anchor{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-select--filled:not(.mdc-select--disabled) .mdc-select__anchor{background-color:whitesmoke}.mdc-select--filled.mdc-select--disabled .mdc-select__anchor{background-color:#fafafa}.mdc-select--filled:not(.mdc-select--disabled) .mdc-line-ripple::before{border-bottom-color:rgba(0, 0, 0, 0.42)}.mdc-select--filled:not(.mdc-select--disabled):hover .mdc-line-ripple::before{border-bottom-color:rgba(0, 0, 0, 0.87)}.mdc-select--filled:not(.mdc-select--disabled) .mdc-line-ripple::after{border-bottom-color:#6200ee;border-bottom-color:var(--mdc-theme-primary, #6200ee)}.mdc-select--filled.mdc-select--disabled .mdc-line-ripple::before{border-bottom-color:rgba(0, 0, 0, 0.06)}.mdc-select--filled .mdc-floating-label{max-width:calc(100% - 64px)}.mdc-select--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 64px / 0.75)}.mdc-select--filled .mdc-menu-surface--is-open-below{border-top-left-radius:0px;border-top-right-radius:0px}.mdc-select--filled.mdc-select--focused.mdc-line-ripple::after{-webkit-transform:scale(1, 2);transform:scale(1, 2);opacity:1}.mdc-select--filled .mdc-floating-label{left:16px;right:initial}[dir=rtl] .mdc-select--filled .mdc-floating-label,.mdc-select--filled .mdc-floating-label[dir=rtl]{left:initial;right:16px}.mdc-select--filled.mdc-select--with-leading-icon .mdc-floating-label{left:48px;right:initial}[dir=rtl] .mdc-select--filled.mdc-select--with-leading-icon .mdc-floating-label,.mdc-select--filled.mdc-select--with-leading-icon .mdc-floating-label[dir=rtl]{left:initial;right:48px}.mdc-select--filled.mdc-select--with-leading-icon .mdc-floating-label{max-width:calc(100% - 96px)}.mdc-select--filled.mdc-select--with-leading-icon .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 96px / 0.75)}.mdc-select--invalid:not(.mdc-select--disabled) .mdc-line-ripple::before{border-bottom-color:#b00020;border-bottom-color:var(--mdc-theme-error, #b00020)}.mdc-select--invalid:not(.mdc-select--disabled):hover .mdc-line-ripple::before{border-bottom-color:#b00020;border-bottom-color:var(--mdc-theme-error, #b00020)}.mdc-select--invalid:not(.mdc-select--disabled) .mdc-line-ripple::after{border-bottom-color:#b00020;border-bottom-color:var(--mdc-theme-error, #b00020)}.mdc-select--outlined{border:none}.mdc-select--outlined .mdc-select__anchor{height:56px}.mdc-select--outlined .mdc-select__anchor .mdc-floating-label--float-above{-webkit-transform:translateY(-37.25px) scale(1);transform:translateY(-37.25px) scale(1)}.mdc-select--outlined .mdc-select__anchor .mdc-floating-label--float-above{font-size:.75rem}.mdc-select--outlined .mdc-select__anchor.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-select--outlined .mdc-select__anchor .mdc-notched-outline--upgraded .mdc-floating-label--float-above{-webkit-transform:translateY(-34.75px) scale(0.75);transform:translateY(-34.75px) scale(0.75)}.mdc-select--outlined .mdc-select__anchor.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-select--outlined .mdc-select__anchor .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-select--outlined .mdc-select__anchor .mdc-floating-label--shake{-webkit-animation:mdc-floating-label-shake-float-above-select-outlined-56px 250ms 1;animation:mdc-floating-label-shake-float-above-select-outlined-56px 250ms 1}@-webkit-keyframes mdc-floating-label-shake-float-above-select-outlined-56px{0%{-webkit-transform:translateX(calc(0 - 0%)) translateY(-34.75px) scale(0.75);transform:translateX(calc(0 - 0%)) translateY(-34.75px) scale(0.75)}33%{-webkit-animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);-webkit-transform:translateX(calc(4% - 0%)) translateY(-34.75px) scale(0.75);transform:translateX(calc(4% - 0%)) translateY(-34.75px) scale(0.75)}66%{-webkit-animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);-webkit-transform:translateX(calc(-4% - 0%)) translateY(-34.75px) scale(0.75);transform:translateX(calc(-4% - 0%)) translateY(-34.75px) scale(0.75)}100%{-webkit-transform:translateX(calc(0 - 0%)) translateY(-34.75px) scale(0.75);transform:translateX(calc(0 - 0%)) translateY(-34.75px) scale(0.75)}}@keyframes mdc-floating-label-shake-float-above-select-outlined-56px{0%{-webkit-transform:translateX(calc(0 - 0%)) translateY(-34.75px) scale(0.75);transform:translateX(calc(0 - 0%)) translateY(-34.75px) scale(0.75)}33%{-webkit-animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);-webkit-transform:translateX(calc(4% - 0%)) translateY(-34.75px) scale(0.75);transform:translateX(calc(4% - 0%)) translateY(-34.75px) scale(0.75)}66%{-webkit-animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);-webkit-transform:translateX(calc(-4% - 0%)) translateY(-34.75px) scale(0.75);transform:translateX(calc(-4% - 0%)) translateY(-34.75px) scale(0.75)}100%{-webkit-transform:translateX(calc(0 - 0%)) translateY(-34.75px) scale(0.75);transform:translateX(calc(0 - 0%)) translateY(-34.75px) scale(0.75)}}.mdc-select--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}[dir=rtl] .mdc-select--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-select--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-select--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px, var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-select--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px, var(--mdc-shape-small, 4px))*2)}}.mdc-select--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}[dir=rtl] .mdc-select--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-select--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}@supports(top: max(0%)){.mdc-select--outlined .mdc-select__anchor{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}[dir=rtl] .mdc-select--outlined .mdc-select__anchor,.mdc-select--outlined .mdc-select__anchor[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-select--outlined .mdc-select__anchor,.mdc-select--outlined .mdc-select__anchor[dir=rtl]{padding-right:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-select--outlined+.mdc-select-helper-text{margin-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}[dir=rtl] .mdc-select--outlined+.mdc-select-helper-text,.mdc-select--outlined+.mdc-select-helper-text[dir=rtl]{margin-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-select--outlined+.mdc-select-helper-text,.mdc-select--outlined+.mdc-select-helper-text[dir=rtl]{margin-right:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}.mdc-select--outlined:not(.mdc-select--disabled) .mdc-select__anchor{background-color:transparent}.mdc-select--outlined.mdc-select--disabled .mdc-select__anchor{background-color:transparent}.mdc-select--outlined:not(.mdc-select--disabled) .mdc-notched-outline__leading,.mdc-select--outlined:not(.mdc-select--disabled) .mdc-notched-outline__notch,.mdc-select--outlined:not(.mdc-select--disabled) .mdc-notched-outline__trailing{border-color:rgba(0, 0, 0, 0.38)}.mdc-select--outlined:not(.mdc-select--disabled):not(.mdc-select--focused) .mdc-select__anchor:hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-select--outlined:not(.mdc-select--disabled):not(.mdc-select--focused) .mdc-select__anchor:hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-select--outlined:not(.mdc-select--disabled):not(.mdc-select--focused) .mdc-select__anchor:hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:rgba(0, 0, 0, 0.87)}.mdc-select--outlined:not(.mdc-select--disabled).mdc-select--focused .mdc-notched-outline .mdc-notched-outline__leading,.mdc-select--outlined:not(.mdc-select--disabled).mdc-select--focused .mdc-notched-outline .mdc-notched-outline__notch,.mdc-select--outlined:not(.mdc-select--disabled).mdc-select--focused .mdc-notched-outline .mdc-notched-outline__trailing{border-width:2px}.mdc-select--outlined:not(.mdc-select--disabled).mdc-select--focused .mdc-notched-outline .mdc-notched-outline__leading,.mdc-select--outlined:not(.mdc-select--disabled).mdc-select--focused .mdc-notched-outline .mdc-notched-outline__notch,.mdc-select--outlined:not(.mdc-select--disabled).mdc-select--focused .mdc-notched-outline .mdc-notched-outline__trailing{border-color:#6200ee;border-color:var(--mdc-theme-primary, #6200ee)}.mdc-select--outlined.mdc-select--disabled .mdc-notched-outline__leading,.mdc-select--outlined.mdc-select--disabled .mdc-notched-outline__notch,.mdc-select--outlined.mdc-select--disabled .mdc-notched-outline__trailing{border-color:rgba(0, 0, 0, 0.06)}.mdc-select--outlined .mdc-select__anchor :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-select--outlined .mdc-select__anchor{display:flex;align-items:baseline;overflow:visible}.mdc-select--outlined .mdc-select__anchor .mdc-floating-label--shake{-webkit-animation:mdc-floating-label-shake-float-above-select-outlined 250ms 1;animation:mdc-floating-label-shake-float-above-select-outlined 250ms 1}.mdc-select--outlined .mdc-select__anchor .mdc-floating-label--float-above{-webkit-transform:translateY(-37.25px) scale(1);transform:translateY(-37.25px) scale(1)}.mdc-select--outlined .mdc-select__anchor .mdc-floating-label--float-above{font-size:.75rem}.mdc-select--outlined .mdc-select__anchor.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-select--outlined .mdc-select__anchor .mdc-notched-outline--upgraded .mdc-floating-label--float-above{-webkit-transform:translateY(-34.75px) scale(0.75);transform:translateY(-34.75px) scale(0.75)}.mdc-select--outlined .mdc-select__anchor.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-select--outlined .mdc-select__anchor .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-select--outlined .mdc-select__anchor .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-select--outlined .mdc-select__anchor .mdc-select__selected-text::before{content:"​"}.mdc-select--outlined .mdc-select__anchor .mdc-select__selected-text-container{height:100%;display:inline-flex;align-items:center}.mdc-select--outlined .mdc-select__anchor::before{display:none}.mdc-select--outlined .mdc-select__selected-text-container{display:flex;border:none;z-index:1;background-color:transparent}.mdc-select--outlined .mdc-select__icon{z-index:2}.mdc-select--outlined .mdc-floating-label{line-height:1.15rem;left:4px;right:initial}[dir=rtl] .mdc-select--outlined .mdc-floating-label,.mdc-select--outlined .mdc-floating-label[dir=rtl]{left:initial;right:4px}.mdc-select--outlined.mdc-select--focused .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-select--outlined.mdc-select--invalid:not(.mdc-select--disabled) .mdc-notched-outline__leading,.mdc-select--outlined.mdc-select--invalid:not(.mdc-select--disabled) .mdc-notched-outline__notch,.mdc-select--outlined.mdc-select--invalid:not(.mdc-select--disabled) .mdc-notched-outline__trailing{border-color:#b00020;border-color:var(--mdc-theme-error, #b00020)}.mdc-select--outlined.mdc-select--invalid:not(.mdc-select--disabled):not(.mdc-select--focused) .mdc-select__anchor:hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-select--outlined.mdc-select--invalid:not(.mdc-select--disabled):not(.mdc-select--focused) .mdc-select__anchor:hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-select--outlined.mdc-select--invalid:not(.mdc-select--disabled):not(.mdc-select--focused) .mdc-select__anchor:hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:#b00020;border-color:var(--mdc-theme-error, #b00020)}.mdc-select--outlined.mdc-select--invalid:not(.mdc-select--disabled).mdc-select--focused .mdc-notched-outline .mdc-notched-outline__leading,.mdc-select--outlined.mdc-select--invalid:not(.mdc-select--disabled).mdc-select--focused .mdc-notched-outline .mdc-notched-outline__notch,.mdc-select--outlined.mdc-select--invalid:not(.mdc-select--disabled).mdc-select--focused .mdc-notched-outline .mdc-notched-outline__trailing{border-width:2px}.mdc-select--outlined.mdc-select--invalid:not(.mdc-select--disabled).mdc-select--focused .mdc-notched-outline .mdc-notched-outline__leading,.mdc-select--outlined.mdc-select--invalid:not(.mdc-select--disabled).mdc-select--focused .mdc-notched-outline .mdc-notched-outline__notch,.mdc-select--outlined.mdc-select--invalid:not(.mdc-select--disabled).mdc-select--focused .mdc-notched-outline .mdc-notched-outline__trailing{border-color:#b00020;border-color:var(--mdc-theme-error, #b00020)}.mdc-select--outlined.mdc-select--with-leading-icon .mdc-floating-label{left:36px;right:initial}[dir=rtl] .mdc-select--outlined.mdc-select--with-leading-icon .mdc-floating-label,.mdc-select--outlined.mdc-select--with-leading-icon .mdc-floating-label[dir=rtl]{left:initial;right:36px}.mdc-select--outlined.mdc-select--with-leading-icon .mdc-floating-label--float-above{-webkit-transform:translateY(-37.25px) translateX(-32px) scale(1);transform:translateY(-37.25px) translateX(-32px) scale(1)}[dir=rtl] .mdc-select--outlined.mdc-select--with-leading-icon .mdc-floating-label--float-above,.mdc-select--outlined.mdc-select--with-leading-icon .mdc-floating-label--float-above[dir=rtl]{-webkit-transform:translateY(-37.25px) translateX(32px) scale(1);transform:translateY(-37.25px) translateX(32px) scale(1)}.mdc-select--outlined.mdc-select--with-leading-icon .mdc-floating-label--float-above{font-size:.75rem}.mdc-select--outlined.mdc-select--with-leading-icon.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-select--outlined.mdc-select--with-leading-icon .mdc-notched-outline--upgraded .mdc-floating-label--float-above{-webkit-transform:translateY(-34.75px) translateX(-32px) scale(0.75);transform:translateY(-34.75px) translateX(-32px) scale(0.75)}[dir=rtl] .mdc-select--outlined.mdc-select--with-leading-icon.mdc-notched-outline--upgraded .mdc-floating-label--float-above,[dir=rtl] .mdc-select--outlined.mdc-select--with-leading-icon .mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-select--outlined.mdc-select--with-leading-icon.mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl],.mdc-select--outlined.mdc-select--with-leading-icon .mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl]{-webkit-transform:translateY(-34.75px) translateX(32px) scale(0.75);transform:translateY(-34.75px) translateX(32px) scale(0.75)}.mdc-select--outlined.mdc-select--with-leading-icon.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-select--outlined.mdc-select--with-leading-icon .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-select--outlined.mdc-select--with-leading-icon .mdc-floating-label--shake{-webkit-animation:mdc-floating-label-shake-float-above-select-outlined-leading-icon-56px 250ms 1;animation:mdc-floating-label-shake-float-above-select-outlined-leading-icon-56px 250ms 1}@-webkit-keyframes mdc-floating-label-shake-float-above-select-outlined-leading-icon-56px{0%{-webkit-transform:translateX(calc(0 - 32px)) translateY(-34.75px) scale(0.75);transform:translateX(calc(0 - 32px)) translateY(-34.75px) scale(0.75)}33%{-webkit-animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);-webkit-transform:translateX(calc(4% - 32px)) translateY(-34.75px) scale(0.75);transform:translateX(calc(4% - 32px)) translateY(-34.75px) scale(0.75)}66%{-webkit-animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);-webkit-transform:translateX(calc(-4% - 32px)) translateY(-34.75px) scale(0.75);transform:translateX(calc(-4% - 32px)) translateY(-34.75px) scale(0.75)}100%{-webkit-transform:translateX(calc(0 - 32px)) translateY(-34.75px) scale(0.75);transform:translateX(calc(0 - 32px)) translateY(-34.75px) scale(0.75)}}@keyframes mdc-floating-label-shake-float-above-select-outlined-leading-icon-56px{0%{-webkit-transform:translateX(calc(0 - 32px)) translateY(-34.75px) scale(0.75);transform:translateX(calc(0 - 32px)) translateY(-34.75px) scale(0.75)}33%{-webkit-animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);-webkit-transform:translateX(calc(4% - 32px)) translateY(-34.75px) scale(0.75);transform:translateX(calc(4% - 32px)) translateY(-34.75px) scale(0.75)}66%{-webkit-animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);-webkit-transform:translateX(calc(-4% - 32px)) translateY(-34.75px) scale(0.75);transform:translateX(calc(-4% - 32px)) translateY(-34.75px) scale(0.75)}100%{-webkit-transform:translateX(calc(0 - 32px)) translateY(-34.75px) scale(0.75);transform:translateX(calc(0 - 32px)) translateY(-34.75px) scale(0.75)}}[dir=rtl] .mdc-select--outlined.mdc-select--with-leading-icon .mdc-floating-label--shake,.mdc-select--outlined.mdc-select--with-leading-icon[dir=rtl] .mdc-floating-label--shake{-webkit-animation:mdc-floating-label-shake-float-above-select-outlined-leading-icon-56px 250ms 1;animation:mdc-floating-label-shake-float-above-select-outlined-leading-icon-56px 250ms 1}@-webkit-keyframes mdc-floating-label-shake-float-above-select-outlined-leading-icon-56px-rtl{0%{-webkit-transform:translateX(calc(0 - -32px)) translateY(-34.75px) scale(0.75);transform:translateX(calc(0 - -32px)) translateY(-34.75px) scale(0.75)}33%{-webkit-animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);-webkit-transform:translateX(calc(4% - -32px)) translateY(-34.75px) scale(0.75);transform:translateX(calc(4% - -32px)) translateY(-34.75px) scale(0.75)}66%{-webkit-animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);-webkit-transform:translateX(calc(-4% - -32px)) translateY(-34.75px) scale(0.75);transform:translateX(calc(-4% - -32px)) translateY(-34.75px) scale(0.75)}100%{-webkit-transform:translateX(calc(0 - -32px)) translateY(-34.75px) scale(0.75);transform:translateX(calc(0 - -32px)) translateY(-34.75px) scale(0.75)}}@keyframes mdc-floating-label-shake-float-above-select-outlined-leading-icon-56px-rtl{0%{-webkit-transform:translateX(calc(0 - -32px)) translateY(-34.75px) scale(0.75);transform:translateX(calc(0 - -32px)) translateY(-34.75px) scale(0.75)}33%{-webkit-animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);-webkit-transform:translateX(calc(4% - -32px)) translateY(-34.75px) scale(0.75);transform:translateX(calc(4% - -32px)) translateY(-34.75px) scale(0.75)}66%{-webkit-animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);-webkit-transform:translateX(calc(-4% - -32px)) translateY(-34.75px) scale(0.75);transform:translateX(calc(-4% - -32px)) translateY(-34.75px) scale(0.75)}100%{-webkit-transform:translateX(calc(0 - -32px)) translateY(-34.75px) scale(0.75);transform:translateX(calc(0 - -32px)) translateY(-34.75px) scale(0.75)}}.mdc-select--outlined.mdc-select--with-leading-icon .mdc-select__anchor :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 96px)}.mdc-select--outlined .mdc-menu-surface{margin-bottom:8px}.mdc-select--outlined.mdc-select--no-label .mdc-menu-surface,.mdc-select--outlined .mdc-menu-surface--is-open-below{margin-bottom:0}.mdc-select__anchor{--mdc-ripple-fg-size: 0;--mdc-ripple-left: 0;--mdc-ripple-top: 0;--mdc-ripple-fg-scale: 1;--mdc-ripple-fg-translate-end: 0;--mdc-ripple-fg-translate-start: 0;-webkit-tap-highlight-color:rgba(0,0,0,0);will-change:transform,opacity}.mdc-select__anchor .mdc-select__ripple::before,.mdc-select__anchor .mdc-select__ripple::after{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:""}.mdc-select__anchor .mdc-select__ripple::before{transition:opacity 15ms linear,background-color 15ms linear;z-index:1;z-index:var(--mdc-ripple-z-index, 1)}.mdc-select__anchor .mdc-select__ripple::after{z-index:0;z-index:var(--mdc-ripple-z-index, 0)}.mdc-select__anchor.mdc-ripple-upgraded .mdc-select__ripple::before{-webkit-transform:scale(var(--mdc-ripple-fg-scale, 1));transform:scale(var(--mdc-ripple-fg-scale, 1))}.mdc-select__anchor.mdc-ripple-upgraded .mdc-select__ripple::after{top:0;left:0;-webkit-transform:scale(0);transform:scale(0);-webkit-transform-origin:center center;transform-origin:center center}.mdc-select__anchor.mdc-ripple-upgraded--unbounded .mdc-select__ripple::after{top:var(--mdc-ripple-top, 0);left:var(--mdc-ripple-left, 0)}.mdc-select__anchor.mdc-ripple-upgraded--foreground-activation .mdc-select__ripple::after{-webkit-animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards;animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards}.mdc-select__anchor.mdc-ripple-upgraded--foreground-deactivation .mdc-select__ripple::after{-webkit-animation:mdc-ripple-fg-opacity-out 150ms;animation:mdc-ripple-fg-opacity-out 150ms;-webkit-transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1));transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}.mdc-select__anchor .mdc-select__ripple::before,.mdc-select__anchor .mdc-select__ripple::after{top:calc(50% - 100%);left:calc(50% - 100%);width:200%;height:200%}.mdc-select__anchor.mdc-ripple-upgraded .mdc-select__ripple::after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-select__anchor .mdc-select__ripple::before,.mdc-select__anchor .mdc-select__ripple::after{background-color:rgba(0, 0, 0, 0.87);background-color:var(--mdc-ripple-color, rgba(0, 0, 0, 0.87))}.mdc-select__anchor:hover .mdc-select__ripple::before,.mdc-select__anchor.mdc-ripple-surface--hover .mdc-select__ripple::before{opacity:0.04;opacity:var(--mdc-ripple-hover-opacity, 0.04)}.mdc-select__anchor.mdc-ripple-upgraded--background-focused .mdc-select__ripple::before,.mdc-select__anchor:not(.mdc-ripple-upgraded):focus .mdc-select__ripple::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-opacity, 0.12)}.mdc-select__anchor .mdc-select__ripple{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none}.mdc-select__menu .mdc-deprecated-list .mdc-deprecated-list-item--selected .mdc-deprecated-list-item__ripple::before,.mdc-select__menu .mdc-deprecated-list .mdc-deprecated-list-item--selected .mdc-deprecated-list-item__ripple::after{background-color:#000;background-color:var(--mdc-ripple-color, var(--mdc-theme-on-surface, #000))}.mdc-select__menu .mdc-deprecated-list .mdc-deprecated-list-item--selected:hover .mdc-deprecated-list-item__ripple::before,.mdc-select__menu .mdc-deprecated-list .mdc-deprecated-list-item--selected.mdc-ripple-surface--hover .mdc-deprecated-list-item__ripple::before{opacity:0.04;opacity:var(--mdc-ripple-hover-opacity, 0.04)}.mdc-select__menu .mdc-deprecated-list .mdc-deprecated-list-item--selected.mdc-ripple-upgraded--background-focused .mdc-deprecated-list-item__ripple::before,.mdc-select__menu .mdc-deprecated-list .mdc-deprecated-list-item--selected:not(.mdc-ripple-upgraded):focus .mdc-deprecated-list-item__ripple::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-opacity, 0.12)}.mdc-select__menu .mdc-deprecated-list .mdc-deprecated-list-item--selected:not(.mdc-ripple-upgraded) .mdc-deprecated-list-item__ripple::after{transition:opacity 150ms linear}.mdc-select__menu .mdc-deprecated-list .mdc-deprecated-list-item--selected:not(.mdc-ripple-upgraded):active .mdc-deprecated-list-item__ripple::after{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-select__menu .mdc-deprecated-list .mdc-deprecated-list-item--selected.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-select__menu .mdc-deprecated-list .mdc-deprecated-list-item--selected .mdc-list-item__ripple::before,.mdc-select__menu .mdc-deprecated-list .mdc-deprecated-list-item--selected .mdc-list-item__ripple::after{background-color:#000;background-color:var(--mdc-ripple-color, var(--mdc-theme-on-surface, #000))}.mdc-select__menu .mdc-deprecated-list .mdc-deprecated-list-item--selected:hover .mdc-list-item__ripple::before,.mdc-select__menu .mdc-deprecated-list .mdc-deprecated-list-item--selected.mdc-ripple-surface--hover .mdc-list-item__ripple::before{opacity:0.04;opacity:var(--mdc-ripple-hover-opacity, 0.04)}.mdc-select__menu .mdc-deprecated-list .mdc-deprecated-list-item--selected.mdc-ripple-upgraded--background-focused .mdc-list-item__ripple::before,.mdc-select__menu .mdc-deprecated-list .mdc-deprecated-list-item--selected:not(.mdc-ripple-upgraded):focus .mdc-list-item__ripple::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-opacity, 0.12)}.mdc-select__menu .mdc-deprecated-list .mdc-deprecated-list-item--selected:not(.mdc-ripple-upgraded) .mdc-list-item__ripple::after{transition:opacity 150ms linear}.mdc-select__menu .mdc-deprecated-list .mdc-deprecated-list-item--selected:not(.mdc-ripple-upgraded):active .mdc-list-item__ripple::after{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-select__menu .mdc-deprecated-list .mdc-deprecated-list-item--selected.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-select-helper-text{margin:0;margin-left:16px;margin-right:16px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-caption-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.75rem;font-size:var(--mdc-typography-caption-font-size, 0.75rem);line-height:1.25rem;line-height:var(--mdc-typography-caption-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-caption-font-weight, 400);letter-spacing:0.0333333333em;letter-spacing:var(--mdc-typography-caption-letter-spacing, 0.0333333333em);text-decoration:inherit;-webkit-text-decoration:var(--mdc-typography-caption-text-decoration, inherit);text-decoration:var(--mdc-typography-caption-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-caption-text-transform, inherit);display:block;margin-top:0;line-height:normal}[dir=rtl] .mdc-select-helper-text,.mdc-select-helper-text[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-select-helper-text::before{display:inline-block;width:0;height:16px;content:"";vertical-align:0}.mdc-select-helper-text--validation-msg{opacity:0;transition:opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-select--invalid+.mdc-select-helper-text--validation-msg,.mdc-select-helper-text--validation-msg-persistent{opacity:1}.mdc-select--with-leading-icon .mdc-select__icon{display:inline-block;box-sizing:border-box;border:none;text-decoration:none;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;flex-shrink:0;align-self:center;background-color:transparent;fill:currentColor}.mdc-select--with-leading-icon .mdc-select__icon{margin-left:12px;margin-right:12px}[dir=rtl] .mdc-select--with-leading-icon .mdc-select__icon,.mdc-select--with-leading-icon .mdc-select__icon[dir=rtl]{margin-left:12px;margin-right:12px}.mdc-select__icon:not([tabindex]),.mdc-select__icon[tabindex="-1"]{cursor:default;pointer-events:none}.mdc-data-table__content{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.875rem;font-size:var(--mdc-typography-body2-font-size, 0.875rem);line-height:1.25rem;line-height:var(--mdc-typography-body2-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:0.0178571429em;letter-spacing:var(--mdc-typography-body2-letter-spacing, 0.0178571429em);text-decoration:inherit;-webkit-text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-body2-text-transform, inherit)}.mdc-data-table{background-color:#fff;background-color:var(--mdc-theme-surface, #fff);border-radius:4px;border-radius:var(--mdc-shape-medium, 4px);border-width:1px;border-style:solid;border-color:rgba(0,0,0,.12);-webkit-overflow-scrolling:touch;display:inline-flex;flex-direction:column;box-sizing:border-box;position:relative}.mdc-data-table .mdc-data-table__header-cell:first-child{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-medium, 4px)}[dir=rtl] .mdc-data-table .mdc-data-table__header-cell:first-child,.mdc-data-table .mdc-data-table__header-cell:first-child[dir=rtl]{border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-medium, 4px);border-top-left-radius:0}.mdc-data-table .mdc-data-table__header-cell:last-child{border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-medium, 4px)}[dir=rtl] .mdc-data-table .mdc-data-table__header-cell:last-child,.mdc-data-table .mdc-data-table__header-cell:last-child[dir=rtl]{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-medium, 4px);border-top-right-radius:0}.mdc-data-table.mdc-data-table--without-footer .mdc-data-table__row:last-child .mdc-data-table__cell:first-child{border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-medium, 4px)}[dir=rtl] .mdc-data-table.mdc-data-table--without-footer .mdc-data-table__row:last-child .mdc-data-table__cell:first-child,.mdc-data-table.mdc-data-table--without-footer .mdc-data-table__row:last-child .mdc-data-table__cell:first-child[dir=rtl]{border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-medium, 4px);border-bottom-left-radius:0}.mdc-data-table.mdc-data-table--without-footer .mdc-data-table__row:last-child .mdc-data-table__cell:last-child{border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-medium, 4px)}[dir=rtl] .mdc-data-table.mdc-data-table--without-footer .mdc-data-table__row:last-child .mdc-data-table__cell:last-child,.mdc-data-table.mdc-data-table--without-footer .mdc-data-table__row:last-child .mdc-data-table__cell:last-child[dir=rtl]{border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-medium, 4px);border-bottom-right-radius:0}.mdc-data-table__row{background-color:inherit}.mdc-data-table__header-cell{background-color:#fff;background-color:var(--mdc-theme-surface, #fff)}.mdc-data-table__row--selected{background-color:rgba(98, 0, 238, 0.04)}.mdc-data-table__pagination-rows-per-page-select:not(.mdc-select--disabled) .mdc-notched-outline__leading,.mdc-data-table__pagination-rows-per-page-select:not(.mdc-select--disabled) .mdc-notched-outline__notch,.mdc-data-table__pagination-rows-per-page-select:not(.mdc-select--disabled) .mdc-notched-outline__trailing{border-color:rgba(0, 0, 0, 0.12)}.mdc-data-table__cell,.mdc-data-table__header-cell{border-bottom-color:rgba(0,0,0,.12)}.mdc-data-table__pagination{border-top-color:rgba(0,0,0,.12)}.mdc-data-table__cell,.mdc-data-table__header-cell{border-bottom-width:1px;border-bottom-style:solid}.mdc-data-table__pagination{border-top-width:1px;border-top-style:solid}.mdc-data-table__row:last-child .mdc-data-table__cell{border-bottom:none}.mdc-data-table__row:not(.mdc-data-table__row--selected):hover{background-color:rgba(0, 0, 0, 0.04)}.mdc-data-table__header-cell{color:rgba(0, 0, 0, 0.87)}.mdc-data-table__pagination-total,.mdc-data-table__pagination-rows-per-page-label,.mdc-data-table__cell{color:rgba(0, 0, 0, 0.87)}.mdc-data-table__row{height:52px}.mdc-data-table__pagination{min-height:52px}.mdc-data-table__header-row{height:56px}.mdc-data-table__cell,.mdc-data-table__header-cell{padding:0 16px 0 16px}.mdc-data-table__header-cell--checkbox,.mdc-data-table__cell--checkbox{padding-left:4px;padding-right:0}[dir=rtl] .mdc-data-table__header-cell--checkbox,[dir=rtl] .mdc-data-table__cell--checkbox,.mdc-data-table__header-cell--checkbox[dir=rtl],.mdc-data-table__cell--checkbox[dir=rtl]{padding-left:0;padding-right:4px}.mdc-data-table__table-container{-webkit-overflow-scrolling:touch;overflow-x:auto;width:100%}.mdc-data-table__table{min-width:100%;border:0;white-space:nowrap;border-spacing:0;table-layout:fixed}.mdc-data-table__cell{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.875rem;font-size:var(--mdc-typography-body2-font-size, 0.875rem);line-height:1.25rem;line-height:var(--mdc-typography-body2-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:0.0178571429em;letter-spacing:var(--mdc-typography-body2-letter-spacing, 0.0178571429em);text-decoration:inherit;-webkit-text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-body2-text-transform, inherit);box-sizing:border-box;overflow:hidden;text-align:left;text-overflow:ellipsis}[dir=rtl] .mdc-data-table__cell,.mdc-data-table__cell[dir=rtl]{text-align:right}.mdc-data-table__cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__cell--numeric,.mdc-data-table__cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__cell--checkbox{width:1px}.mdc-data-table__header-cell{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-subtitle2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.875rem;font-size:var(--mdc-typography-subtitle2-font-size, 0.875rem);line-height:1.375rem;line-height:var(--mdc-typography-subtitle2-line-height, 1.375rem);font-weight:500;font-weight:var(--mdc-typography-subtitle2-font-weight, 500);letter-spacing:0.0071428571em;letter-spacing:var(--mdc-typography-subtitle2-letter-spacing, 0.0071428571em);text-decoration:inherit;-webkit-text-decoration:var(--mdc-typography-subtitle2-text-decoration, inherit);text-decoration:var(--mdc-typography-subtitle2-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-subtitle2-text-transform, inherit);box-sizing:border-box;text-overflow:ellipsis;overflow:hidden;outline:none;text-align:left}[dir=rtl] .mdc-data-table__header-cell,.mdc-data-table__header-cell[dir=rtl]{text-align:right}.mdc-data-table__header-cell--checkbox{width:1px}.mdc-data-table__header-cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__header-cell--numeric,.mdc-data-table__header-cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__sort-icon-button{width:28px;height:28px;padding:2px;-webkit-transform:rotate(0.0001deg);transform:rotate(0.0001deg);margin-left:4px;margin-right:0;transition:-webkit-transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);opacity:0}.mdc-data-table__sort-icon-button .mdc-icon-button__focus-ring{display:none}.mdc-data-table__sort-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-data-table__sort-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block;max-height:28px;max-width:28px}@media screen and (forced-colors: active){.mdc-data-table__sort-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-data-table__sort-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{pointer-events:none;border:2px solid transparent;border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);height:100%;width:100%}}@media screen and (forced-colors: active)and (forced-colors: active){.mdc-data-table__sort-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-data-table__sort-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-data-table__sort-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring::after,.mdc-data-table__sort-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring::after{content:"";border:2px solid transparent;border-radius:8px;display:block;position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}}@media screen and (forced-colors: active)and (forced-colors: active){.mdc-data-table__sort-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring::after,.mdc-data-table__sort-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-data-table__sort-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__ripple{width:28px;height:28px;margin-top:0px;margin-bottom:0px;margin-right:0px;margin-left:0px}.mdc-data-table__sort-icon-button.mdc-icon-button--reduced-size.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-data-table__sort-icon-button.mdc-icon-button--reduced-size:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{max-height:28px;max-width:28px}.mdc-data-table__sort-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:28px;left:50%;width:28px;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%)}[dir=rtl] .mdc-data-table__sort-icon-button,.mdc-data-table__sort-icon-button[dir=rtl]{margin-left:0;margin-right:4px}.mdc-data-table__header-cell--numeric .mdc-data-table__sort-icon-button{margin-left:0;margin-right:4px}[dir=rtl] .mdc-data-table__header-cell--numeric .mdc-data-table__sort-icon-button,.mdc-data-table__header-cell--numeric .mdc-data-table__sort-icon-button[dir=rtl]{margin-left:4px;margin-right:0}.mdc-data-table__header-cell--sorted-descending .mdc-data-table__sort-icon-button{-webkit-transform:rotate(-180deg);transform:rotate(-180deg)}.mdc-data-table__sort-icon-button:focus,.mdc-data-table__header-cell:hover .mdc-data-table__sort-icon-button,.mdc-data-table__header-cell--sorted .mdc-data-table__sort-icon-button{opacity:1}.mdc-data-table__header-cell-wrapper{align-items:center;display:inline-flex;vertical-align:middle}.mdc-data-table__header-cell--with-sort{cursor:pointer}.mdc-data-table__sort-status-label{clip:rect(1px, 1px, 1px, 1px);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}.mdc-data-table--sticky-header .mdc-data-table__header-cell{position:-webkit-sticky;position:sticky;top:0;z-index:1}.mdc-data-table__sort-icon-button{color:rgba(0, 0, 0, 0.6)}.mdc-data-table__sort-icon-button .mdc-icon-button__ripple::before,.mdc-data-table__sort-icon-button .mdc-icon-button__ripple::after{background-color:rgba(0, 0, 0, 0.6);background-color:var(--mdc-ripple-color, rgba(0, 0, 0, 0.6))}.mdc-data-table__sort-icon-button:hover .mdc-icon-button__ripple::before,.mdc-data-table__sort-icon-button.mdc-ripple-surface--hover .mdc-icon-button__ripple::before{opacity:0.04;opacity:var(--mdc-ripple-hover-opacity, 0.04)}.mdc-data-table__sort-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__ripple::before,.mdc-data-table__sort-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__ripple::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-opacity, 0.12)}.mdc-data-table__sort-icon-button:not(.mdc-ripple-upgraded) .mdc-icon-button__ripple::after{transition:opacity 150ms linear}.mdc-data-table__sort-icon-button:not(.mdc-ripple-upgraded):active .mdc-icon-button__ripple::after{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-data-table__sort-icon-button.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-data-table__header-cell--sorted .mdc-data-table__sort-icon-button{color:rgba(0, 0, 0, 0.87)}.mdc-data-table__header-cell--sorted .mdc-data-table__sort-icon-button .mdc-icon-button__ripple::before,.mdc-data-table__header-cell--sorted .mdc-data-table__sort-icon-button .mdc-icon-button__ripple::after{background-color:rgba(0, 0, 0, 0.87);background-color:var(--mdc-ripple-color, rgba(0, 0, 0, 0.87))}.mdc-data-table__header-cell--sorted .mdc-data-table__sort-icon-button:hover .mdc-icon-button__ripple::before,.mdc-data-table__header-cell--sorted .mdc-data-table__sort-icon-button.mdc-ripple-surface--hover .mdc-icon-button__ripple::before{opacity:0.04;opacity:var(--mdc-ripple-hover-opacity, 0.04)}.mdc-data-table__header-cell--sorted .mdc-data-table__sort-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__ripple::before,.mdc-data-table__header-cell--sorted .mdc-data-table__sort-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__ripple::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-opacity, 0.12)}.mdc-data-table__header-cell--sorted .mdc-data-table__sort-icon-button:not(.mdc-ripple-upgraded) .mdc-icon-button__ripple::after{transition:opacity 150ms linear}.mdc-data-table__header-cell--sorted .mdc-data-table__sort-icon-button:not(.mdc-ripple-upgraded):active .mdc-icon-button__ripple::after{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-data-table__header-cell--sorted .mdc-data-table__sort-icon-button.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-data-table__progress-indicator{display:none;position:absolute;width:100%}.mdc-data-table--in-progress .mdc-data-table__progress-indicator{display:block}.mdc-data-table__scrim{background-color:#fff;background-color:var(--mdc-theme-surface, #fff);height:100%;opacity:.32;position:absolute;top:0;width:100%}.mdc-data-table__pagination{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.875rem;font-size:var(--mdc-typography-body2-font-size, 0.875rem);line-height:1.25rem;line-height:var(--mdc-typography-body2-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:0.0178571429em;letter-spacing:var(--mdc-typography-body2-letter-spacing, 0.0178571429em);text-decoration:inherit;-webkit-text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-body2-text-transform, inherit);box-sizing:border-box;display:flex;justify-content:flex-end}.mdc-data-table__pagination-trailing{margin-left:4px;margin-right:0;align-items:center;display:flex;flex-wrap:wrap;justify-content:flex-end}[dir=rtl] .mdc-data-table__pagination-trailing,.mdc-data-table__pagination-trailing[dir=rtl]{margin-left:0;margin-right:4px}.mdc-data-table__pagination-navigation{align-items:center;display:flex}.mdc-data-table__pagination-button{margin-left:0;margin-right:4px}[dir=rtl] .mdc-data-table__pagination-button .mdc-button__icon,.mdc-data-table__pagination-button .mdc-button__icon[dir=rtl]{-webkit-transform:rotate(180deg);transform:rotate(180deg)}[dir=rtl] .mdc-data-table__pagination-button,.mdc-data-table__pagination-button[dir=rtl]{margin-left:4px;margin-right:0}.mdc-data-table__pagination-total{margin-left:14px;margin-right:36px;white-space:nowrap}[dir=rtl] .mdc-data-table__pagination-total,.mdc-data-table__pagination-total[dir=rtl]{margin-left:36px;margin-right:14px}.mdc-data-table__pagination-rows-per-page{margin-left:0;margin-right:22px;align-items:center;display:inline-flex}[dir=rtl] .mdc-data-table__pagination-rows-per-page,.mdc-data-table__pagination-rows-per-page[dir=rtl]{margin-left:22px;margin-right:0}.mdc-data-table__pagination-rows-per-page-label{margin-left:0;margin-right:12px;white-space:nowrap}[dir=rtl] .mdc-data-table__pagination-rows-per-page-label,.mdc-data-table__pagination-rows-per-page-label[dir=rtl]{margin-left:12px;margin-right:0}.mdc-data-table__pagination-rows-per-page-select{min-width:80px;min-width:var(--mdc-menu-min-width, 80px);margin:8px 0}.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor{width:100%;min-width:80px}.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor{height:36px}.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor .mdc-floating-label--float-above{-webkit-transform:translateY(-27.25px) scale(1);transform:translateY(-27.25px) scale(1)}.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor .mdc-floating-label--float-above{font-size:.75rem}.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor .mdc-notched-outline--upgraded .mdc-floating-label--float-above{-webkit-transform:translateY(-24.75px) scale(0.75);transform:translateY(-24.75px) scale(0.75)}.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor .mdc-floating-label--shake{-webkit-animation:mdc-floating-label-shake-float-above-select-outlined-36px 250ms 1;animation:mdc-floating-label-shake-float-above-select-outlined-36px 250ms 1}@-webkit-keyframes mdc-floating-label-shake-float-above-select-outlined-36px{0%{-webkit-transform:translateX(calc(0 - 0%)) translateY(-24.75px) scale(0.75);transform:translateX(calc(0 - 0%)) translateY(-24.75px) scale(0.75)}33%{-webkit-animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);-webkit-transform:translateX(calc(4% - 0%)) translateY(-24.75px) scale(0.75);transform:translateX(calc(4% - 0%)) translateY(-24.75px) scale(0.75)}66%{-webkit-animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);-webkit-transform:translateX(calc(-4% - 0%)) translateY(-24.75px) scale(0.75);transform:translateX(calc(-4% - 0%)) translateY(-24.75px) scale(0.75)}100%{-webkit-transform:translateX(calc(0 - 0%)) translateY(-24.75px) scale(0.75);transform:translateX(calc(0 - 0%)) translateY(-24.75px) scale(0.75)}}@keyframes mdc-floating-label-shake-float-above-select-outlined-36px{0%{-webkit-transform:translateX(calc(0 - 0%)) translateY(-24.75px) scale(0.75);transform:translateX(calc(0 - 0%)) translateY(-24.75px) scale(0.75)}33%{-webkit-animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);-webkit-transform:translateX(calc(4% - 0%)) translateY(-24.75px) scale(0.75);transform:translateX(calc(4% - 0%)) translateY(-24.75px) scale(0.75)}66%{-webkit-animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);-webkit-transform:translateX(calc(-4% - 0%)) translateY(-24.75px) scale(0.75);transform:translateX(calc(-4% - 0%)) translateY(-24.75px) scale(0.75)}100%{-webkit-transform:translateX(calc(0 - 0%)) translateY(-24.75px) scale(0.75);transform:translateX(calc(0 - 0%)) translateY(-24.75px) scale(0.75)}}.mdc-data-table__pagination-rows-per-page-select .mdc-select__dropdown-icon{width:20px;height:20px}.mdc-data-table__pagination-rows-per-page-select.mdc-select--outlined .mdc-select__anchor :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 56px)}.mdc-data-table__pagination-rows-per-page-select .mdc-list-item.mdc-list-item--with-one-line{height:36px}.mdc-data-table__header-row-checkbox.mdc-checkbox--selected .mdc-checkbox__ripple::before,.mdc-data-table__header-row-checkbox.mdc-checkbox--selected .mdc-checkbox__ripple::after,.mdc-data-table__row-checkbox.mdc-checkbox--selected .mdc-checkbox__ripple::before,.mdc-data-table__row-checkbox.mdc-checkbox--selected .mdc-checkbox__ripple::after{background-color:#6200ee;background-color:var(--mdc-ripple-color, var(--mdc-theme-primary, #6200ee))}.mdc-data-table__header-row-checkbox.mdc-checkbox--selected:hover .mdc-checkbox__ripple::before,.mdc-data-table__header-row-checkbox.mdc-checkbox--selected.mdc-ripple-surface--hover .mdc-checkbox__ripple::before,.mdc-data-table__row-checkbox.mdc-checkbox--selected:hover .mdc-checkbox__ripple::before,.mdc-data-table__row-checkbox.mdc-checkbox--selected.mdc-ripple-surface--hover .mdc-checkbox__ripple::before{opacity:0.04;opacity:var(--mdc-ripple-hover-opacity, 0.04)}.mdc-data-table__header-row-checkbox.mdc-checkbox--selected.mdc-ripple-upgraded--background-focused .mdc-checkbox__ripple::before,.mdc-data-table__header-row-checkbox.mdc-checkbox--selected:not(.mdc-ripple-upgraded):focus .mdc-checkbox__ripple::before,.mdc-data-table__row-checkbox.mdc-checkbox--selected.mdc-ripple-upgraded--background-focused .mdc-checkbox__ripple::before,.mdc-data-table__row-checkbox.mdc-checkbox--selected:not(.mdc-ripple-upgraded):focus .mdc-checkbox__ripple::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-opacity, 0.12)}.mdc-data-table__header-row-checkbox.mdc-checkbox--selected:not(.mdc-ripple-upgraded) .mdc-checkbox__ripple::after,.mdc-data-table__row-checkbox.mdc-checkbox--selected:not(.mdc-ripple-upgraded) .mdc-checkbox__ripple::after{transition:opacity 150ms linear}.mdc-data-table__header-row-checkbox.mdc-checkbox--selected:not(.mdc-ripple-upgraded):active .mdc-checkbox__ripple::after,.mdc-data-table__row-checkbox.mdc-checkbox--selected:not(.mdc-ripple-upgraded):active .mdc-checkbox__ripple::after{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-data-table__header-row-checkbox.mdc-checkbox--selected.mdc-ripple-upgraded,.mdc-data-table__row-checkbox.mdc-checkbox--selected.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-data-table__header-row-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--selected .mdc-checkbox__ripple::before,.mdc-data-table__header-row-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--selected .mdc-checkbox__ripple::after,.mdc-data-table__row-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--selected .mdc-checkbox__ripple::before,.mdc-data-table__row-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--selected .mdc-checkbox__ripple::after{background-color:#6200ee;background-color:var(--mdc-ripple-color, var(--mdc-theme-primary, #6200ee))}.mdc-data-table__header-row-checkbox .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background,.mdc-data-table__row-checkbox .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:rgba(0, 0, 0, 0.54);border-color:var(--mdc-checkbox-unchecked-color, rgba(0, 0, 0, 0.54));background-color:transparent}.mdc-data-table__header-row-checkbox .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-data-table__header-row-checkbox .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-data-table__header-row-checkbox .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background,.mdc-data-table__row-checkbox .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-data-table__row-checkbox .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-data-table__row-checkbox .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:#6200ee;border-color:var(--mdc-checkbox-checked-color, var(--mdc-theme-secondary, #6200ee));background-color:#6200ee;background-color:var(--mdc-checkbox-checked-color, var(--mdc-theme-secondary, #6200ee))}@-webkit-keyframes mdc-checkbox-fade-in-background-8A000000FF6200EE00000000FF6200EE{0%{border-color:rgba(0, 0, 0, 0.54);border-color:var(--mdc-checkbox-unchecked-color, rgba(0, 0, 0, 0.54));background-color:transparent}50%{border-color:#6200ee;border-color:var(--mdc-checkbox-checked-color, var(--mdc-theme-secondary, #6200ee));background-color:#6200ee;background-color:var(--mdc-checkbox-checked-color, var(--mdc-theme-secondary, #6200ee))}}@keyframes mdc-checkbox-fade-in-background-8A000000FF6200EE00000000FF6200EE{0%{border-color:rgba(0, 0, 0, 0.54);border-color:var(--mdc-checkbox-unchecked-color, rgba(0, 0, 0, 0.54));background-color:transparent}50%{border-color:#6200ee;border-color:var(--mdc-checkbox-checked-color, var(--mdc-theme-secondary, #6200ee));background-color:#6200ee;background-color:var(--mdc-checkbox-checked-color, var(--mdc-theme-secondary, #6200ee))}}@-webkit-keyframes mdc-checkbox-fade-out-background-8A000000FF6200EE00000000FF6200EE{0%,80%{border-color:#6200ee;border-color:var(--mdc-checkbox-checked-color, var(--mdc-theme-secondary, #6200ee));background-color:#6200ee;background-color:var(--mdc-checkbox-checked-color, var(--mdc-theme-secondary, #6200ee))}100%{border-color:rgba(0, 0, 0, 0.54);border-color:var(--mdc-checkbox-unchecked-color, rgba(0, 0, 0, 0.54));background-color:transparent}}@keyframes mdc-checkbox-fade-out-background-8A000000FF6200EE00000000FF6200EE{0%,80%{border-color:#6200ee;border-color:var(--mdc-checkbox-checked-color, var(--mdc-theme-secondary, #6200ee));background-color:#6200ee;background-color:var(--mdc-checkbox-checked-color, var(--mdc-theme-secondary, #6200ee))}100%{border-color:rgba(0, 0, 0, 0.54);border-color:var(--mdc-checkbox-unchecked-color, rgba(0, 0, 0, 0.54));background-color:transparent}}.mdc-data-table__header-row-checkbox.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-data-table__header-row-checkbox.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-data-table__row-checkbox.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-data-table__row-checkbox.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{-webkit-animation-name:mdc-checkbox-fade-in-background-8A000000FF6200EE00000000FF6200EE;animation-name:mdc-checkbox-fade-in-background-8A000000FF6200EE00000000FF6200EE}.mdc-data-table__header-row-checkbox.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-data-table__header-row-checkbox.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-data-table__row-checkbox.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-data-table__row-checkbox.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{-webkit-animation-name:mdc-checkbox-fade-out-background-8A000000FF6200EE00000000FF6200EE;animation-name:mdc-checkbox-fade-out-background-8A000000FF6200EE00000000FF6200EE}.mdc-dialog .mdc-dialog__surface{background-color:#fff;background-color:var(--mdc-theme-surface, #fff)}.mdc-dialog .mdc-dialog__scrim{background-color:rgba(0,0,0,.32)}.mdc-dialog .mdc-dialog__surface-scrim{background-color:rgba(0,0,0,.32)}.mdc-dialog .mdc-dialog__title{color:rgba(0,0,0,.87)}.mdc-dialog .mdc-dialog__content{color:rgba(0,0,0,.6)}.mdc-dialog .mdc-dialog__close{color:#000;color:var(--mdc-theme-on-surface, #000)}.mdc-dialog .mdc-dialog__close .mdc-icon-button__ripple::before,.mdc-dialog .mdc-dialog__close .mdc-icon-button__ripple::after{background-color:#000;background-color:var(--mdc-ripple-color, var(--mdc-theme-on-surface, #000))}.mdc-dialog .mdc-dialog__close:hover .mdc-icon-button__ripple::before,.mdc-dialog .mdc-dialog__close.mdc-ripple-surface--hover .mdc-icon-button__ripple::before{opacity:0.04;opacity:var(--mdc-ripple-hover-opacity, 0.04)}.mdc-dialog .mdc-dialog__close.mdc-ripple-upgraded--background-focused .mdc-icon-button__ripple::before,.mdc-dialog .mdc-dialog__close:not(.mdc-ripple-upgraded):focus .mdc-icon-button__ripple::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-opacity, 0.12)}.mdc-dialog .mdc-dialog__close:not(.mdc-ripple-upgraded) .mdc-icon-button__ripple::after{transition:opacity 150ms linear}.mdc-dialog .mdc-dialog__close:not(.mdc-ripple-upgraded):active .mdc-icon-button__ripple::after{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-dialog .mdc-dialog__close.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-dialog.mdc-dialog--scrollable .mdc-dialog__title,.mdc-dialog.mdc-dialog--scrollable .mdc-dialog__actions,.mdc-dialog.mdc-dialog--scrollable.mdc-dialog-scroll-divider-footer .mdc-dialog__actions{border-color:rgba(0,0,0,.12)}.mdc-dialog.mdc-dialog--scrollable .mdc-dialog__title{border-bottom:1px solid rgba(0,0,0,.12);margin-bottom:0}.mdc-dialog.mdc-dialog-scroll-divider-header.mdc-dialog--fullscreen .mdc-dialog__header{box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2),0px 2px 2px 0px rgba(0, 0, 0, 0.14),0px 1px 5px 0px rgba(0,0,0,.12)}.mdc-dialog .mdc-dialog__surface{border-radius:4px;border-radius:var(--mdc-shape-medium, 4px)}.mdc-dialog__surface{box-shadow:0px 11px 15px -7px rgba(0, 0, 0, 0.2),0px 24px 38px 3px rgba(0, 0, 0, 0.14),0px 9px 46px 8px rgba(0,0,0,.12)}.mdc-dialog__title{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-headline6-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:1.25rem;font-size:var(--mdc-typography-headline6-font-size, 1.25rem);line-height:2rem;line-height:var(--mdc-typography-headline6-line-height, 2rem);font-weight:500;font-weight:var(--mdc-typography-headline6-font-weight, 500);letter-spacing:0.0125em;letter-spacing:var(--mdc-typography-headline6-letter-spacing, 0.0125em);text-decoration:inherit;-webkit-text-decoration:var(--mdc-typography-headline6-text-decoration, inherit);text-decoration:var(--mdc-typography-headline6-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-headline6-text-transform, inherit)}.mdc-dialog__content{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-body1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:1rem;font-size:var(--mdc-typography-body1-font-size, 1rem);line-height:1.5rem;line-height:var(--mdc-typography-body1-line-height, 1.5rem);font-weight:400;font-weight:var(--mdc-typography-body1-font-weight, 400);letter-spacing:0.03125em;letter-spacing:var(--mdc-typography-body1-letter-spacing, 0.03125em);text-decoration:inherit;-webkit-text-decoration:var(--mdc-typography-body1-text-decoration, inherit);text-decoration:var(--mdc-typography-body1-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-body1-text-transform, inherit)}.mdc-dialog,.mdc-dialog__scrim{position:fixed;top:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:100%}.mdc-dialog{display:none;z-index:7;z-index:var(--mdc-dialog-z-index, 7)}.mdc-dialog .mdc-dialog__content{padding:20px 24px 20px 24px}.mdc-dialog .mdc-dialog__surface{min-width:280px}@media(max-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:calc(100vw - 32px)}}@media(min-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:560px}}.mdc-dialog .mdc-dialog__surface{max-height:calc(100% - 32px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-width:none}@media(max-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px;width:560px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 112px)}}@media(max-width: 720px)and (min-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:560px}}@media(max-width: 720px)and (max-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:calc(100vh - 160px)}}@media(max-width: 720px)and (min-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px}}@media(max-width: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-height: 400px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{height:100%;max-height:100vh;max-width:100vw;width:100vw;border-radius:0}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{order:-1;left:-12px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__header{padding:0 16px 9px;justify-content:flex-start}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__title{margin-left:calc(16px - 2 * 12px)}}@media(max-width: 600px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{height:100%;max-height:100vh;max-width:100vw;width:100vw;border-radius:0}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{order:-1;left:-12px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__header{padding:0 16px 9px;justify-content:flex-start}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__title{margin-left:calc(16px - 2 * 12px)}}@media(min-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 400px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}.mdc-dialog.mdc-dialog__scrim--hidden .mdc-dialog__scrim{opacity:0}.mdc-dialog__scrim{opacity:0;z-index:-1}.mdc-dialog__container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;-webkit-transform:scale(0.8);transform:scale(0.8);opacity:0;pointer-events:none}.mdc-dialog__surface{position:relative;display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;max-width:100%;max-height:100%;pointer-events:auto;overflow-y:auto}.mdc-dialog__surface .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}[dir=rtl] .mdc-dialog__surface,.mdc-dialog__surface[dir=rtl]{text-align:right}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-dialog__surface{outline:2px solid windowText}}.mdc-dialog__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid transparent;border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-dialog__surface::before{border-color:CanvasText}}@media screen and (-ms-high-contrast: active),screen and (-ms-high-contrast: none){.mdc-dialog__surface::before{content:none}}.mdc-dialog__title{display:block;margin-top:0;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:0 24px 9px}.mdc-dialog__title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mdc-dialog__title,.mdc-dialog__title[dir=rtl]{text-align:right}.mdc-dialog--scrollable .mdc-dialog__title{margin-bottom:1px;padding-bottom:15px}.mdc-dialog--fullscreen .mdc-dialog__header{align-items:baseline;border-bottom:1px solid transparent;display:inline-flex;justify-content:space-between;padding:0 24px 9px;z-index:1}@media screen and (forced-colors: active){.mdc-dialog--fullscreen .mdc-dialog__header{border-bottom-color:CanvasText}}.mdc-dialog--fullscreen .mdc-dialog__header .mdc-dialog__close{right:-12px}.mdc-dialog--fullscreen .mdc-dialog__title{margin-bottom:0;padding:0;border-bottom:0}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__title{border-bottom:0;margin-bottom:0}.mdc-dialog--fullscreen .mdc-dialog__close{top:5px}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top:1px solid transparent}@media screen and (forced-colors: active){.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog__content{flex-grow:1;box-sizing:border-box;margin:0;overflow:auto}.mdc-dialog__content>:first-child{margin-top:0}.mdc-dialog__content>:last-child{margin-bottom:0}.mdc-dialog__title+.mdc-dialog__content,.mdc-dialog__header+.mdc-dialog__content{padding-top:0}.mdc-dialog--scrollable .mdc-dialog__title+.mdc-dialog__content{padding-top:8px;padding-bottom:8px}.mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:6px 0 0}.mdc-dialog--scrollable .mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:0}.mdc-dialog__actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid transparent}@media screen and (forced-colors: active){.mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--stacked .mdc-dialog__actions{flex-direction:column;align-items:flex-end}.mdc-dialog__button{margin-left:8px;margin-right:0;max-width:100%;text-align:right}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{margin-left:0;margin-right:8px}.mdc-dialog__button:first-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button:first-child,.mdc-dialog__button:first-child[dir=rtl]{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{text-align:left}.mdc-dialog--stacked .mdc-dialog__button:not(:first-child){margin-top:12px}.mdc-dialog--open,.mdc-dialog--opening,.mdc-dialog--closing{display:flex}.mdc-dialog--opening .mdc-dialog__scrim{transition:opacity 150ms linear}.mdc-dialog--opening .mdc-dialog__container{transition:opacity 75ms linear,-webkit-transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1);transition:opacity 75ms linear,transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1);transition:opacity 75ms linear,transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1),-webkit-transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-dialog--closing .mdc-dialog__scrim,.mdc-dialog--closing .mdc-dialog__container{transition:opacity 75ms linear}.mdc-dialog--closing .mdc-dialog__container{-webkit-transform:none;transform:none}.mdc-dialog--open .mdc-dialog__scrim{opacity:1}.mdc-dialog--open .mdc-dialog__container{-webkit-transform:none;transform:none;opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim{opacity:1;z-index:1}.mdc-dialog--open.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{transition:opacity 75ms linear}.mdc-dialog--open.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim{transition:opacity 150ms linear}.mdc-dialog__surface-scrim{display:none;opacity:0;position:absolute;width:100%;height:100%}.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{display:block}.mdc-dialog-scroll-lock{overflow:hidden}.mdc-dialog--no-content-padding .mdc-dialog__content{padding:0}.mdc-dialog--sheet .mdc-dialog__close{right:12px;top:9px;position:absolute;z-index:1}.mdc-drawer{border-color:rgba(0, 0, 0, 0.12);background-color:#fff;background-color:var(--mdc-theme-surface, #fff);border-top-left-radius:0;border-top-right-radius:0;border-top-right-radius:var(--mdc-shape-large, 0);border-bottom-right-radius:0;border-bottom-right-radius:var(--mdc-shape-large, 0);border-bottom-left-radius:0;z-index:6;width:256px;display:flex;flex-direction:column;flex-shrink:0;box-sizing:border-box;height:100%;border-right-width:1px;border-right-style:solid;overflow:hidden;transition-property:-webkit-transform;transition-property:transform;transition-property:transform, -webkit-transform;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}.mdc-drawer .mdc-drawer__title{color:rgba(0, 0, 0, 0.87)}.mdc-drawer .mdc-deprecated-list-group__subheader{color:rgba(0, 0, 0, 0.6)}.mdc-drawer .mdc-drawer__subtitle{color:rgba(0, 0, 0, 0.6)}.mdc-drawer .mdc-deprecated-list-item__graphic{color:rgba(0, 0, 0, 0.6)}.mdc-drawer .mdc-deprecated-list-item{color:rgba(0, 0, 0, 0.87)}.mdc-drawer .mdc-deprecated-list-item--activated .mdc-deprecated-list-item__graphic{color:#6200ee}.mdc-drawer .mdc-deprecated-list-item--activated{color:rgba(98, 0, 238, 0.87)}[dir=rtl] .mdc-drawer,.mdc-drawer[dir=rtl]{border-top-left-radius:0;border-top-left-radius:var(--mdc-shape-large, 0);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:0;border-bottom-left-radius:var(--mdc-shape-large, 0)}.mdc-drawer .mdc-deprecated-list-item{border-radius:4px;border-radius:var(--mdc-shape-small, 4px)}.mdc-drawer.mdc-drawer--open:not(.mdc-drawer--closing)+.mdc-drawer-app-content{margin-left:256px;margin-right:0}[dir=rtl] .mdc-drawer.mdc-drawer--open:not(.mdc-drawer--closing)+.mdc-drawer-app-content,.mdc-drawer.mdc-drawer--open:not(.mdc-drawer--closing)+.mdc-drawer-app-content[dir=rtl]{margin-left:0;margin-right:256px}[dir=rtl] .mdc-drawer,.mdc-drawer[dir=rtl]{border-right-width:0;border-left-width:1px;border-right-style:none;border-left-style:solid}.mdc-drawer .mdc-deprecated-list-item{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-subtitle2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.875rem;font-size:var(--mdc-typography-subtitle2-font-size, 0.875rem);line-height:1.375rem;line-height:var(--mdc-typography-subtitle2-line-height, 1.375rem);font-weight:500;font-weight:var(--mdc-typography-subtitle2-font-weight, 500);letter-spacing:0.0071428571em;letter-spacing:var(--mdc-typography-subtitle2-letter-spacing, 0.0071428571em);text-decoration:inherit;-webkit-text-decoration:var(--mdc-typography-subtitle2-text-decoration, inherit);text-decoration:var(--mdc-typography-subtitle2-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-subtitle2-text-transform, inherit);height:calc(48px - 2 * 4px);margin:8px 8px;padding:0 8px}.mdc-drawer .mdc-deprecated-list-item:nth-child(1){margin-top:2px}.mdc-drawer .mdc-deprecated-list-item:nth-last-child(1){margin-bottom:0}.mdc-drawer .mdc-deprecated-list-group__subheader{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.875rem;font-size:var(--mdc-typography-body2-font-size, 0.875rem);line-height:1.25rem;line-height:var(--mdc-typography-body2-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:0.0178571429em;letter-spacing:var(--mdc-typography-body2-letter-spacing, 0.0178571429em);text-decoration:inherit;-webkit-text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-body2-text-transform, inherit);display:block;margin-top:0;line-height:normal;margin:0;padding:0 16px}.mdc-drawer .mdc-deprecated-list-group__subheader::before{display:inline-block;width:0;height:24px;content:"";vertical-align:0}.mdc-drawer .mdc-deprecated-list-divider{margin:3px 0 4px}.mdc-drawer .mdc-deprecated-list-item__text,.mdc-drawer .mdc-deprecated-list-item__graphic{pointer-events:none}.mdc-drawer--animate{-webkit-transform:translateX(-100%);transform:translateX(-100%)}[dir=rtl] .mdc-drawer--animate,.mdc-drawer--animate[dir=rtl]{-webkit-transform:translateX(100%);transform:translateX(100%)}.mdc-drawer--opening{-webkit-transform:translateX(0);transform:translateX(0);transition-duration:250ms}[dir=rtl] .mdc-drawer--opening,.mdc-drawer--opening[dir=rtl]{-webkit-transform:translateX(0);transform:translateX(0)}.mdc-drawer--closing{-webkit-transform:translateX(-100%);transform:translateX(-100%);transition-duration:200ms}[dir=rtl] .mdc-drawer--closing,.mdc-drawer--closing[dir=rtl]{-webkit-transform:translateX(100%);transform:translateX(100%)}.mdc-drawer__header{flex-shrink:0;box-sizing:border-box;min-height:64px;padding:0 16px 4px}.mdc-drawer__title{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-headline6-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:1.25rem;font-size:var(--mdc-typography-headline6-font-size, 1.25rem);line-height:2rem;line-height:var(--mdc-typography-headline6-line-height, 2rem);font-weight:500;font-weight:var(--mdc-typography-headline6-font-weight, 500);letter-spacing:0.0125em;letter-spacing:var(--mdc-typography-headline6-letter-spacing, 0.0125em);text-decoration:inherit;-webkit-text-decoration:var(--mdc-typography-headline6-text-decoration, inherit);text-decoration:var(--mdc-typography-headline6-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-headline6-text-transform, inherit);display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-drawer__title::before{display:inline-block;width:0;height:36px;content:"";vertical-align:0}.mdc-drawer__title::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-drawer__subtitle{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.875rem;font-size:var(--mdc-typography-body2-font-size, 0.875rem);line-height:1.25rem;line-height:var(--mdc-typography-body2-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:0.0178571429em;letter-spacing:var(--mdc-typography-body2-letter-spacing, 0.0178571429em);text-decoration:inherit;-webkit-text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-body2-text-transform, inherit);display:block;margin-top:0;line-height:normal;margin-bottom:0}.mdc-drawer__subtitle::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-drawer__content{height:100%;overflow-y:auto;-webkit-overflow-scrolling:touch}.mdc-drawer--dismissible{left:0;right:initial;display:none;position:absolute}[dir=rtl] .mdc-drawer--dismissible,.mdc-drawer--dismissible[dir=rtl]{left:initial;right:0}.mdc-drawer--dismissible.mdc-drawer--open{display:flex}.mdc-drawer-app-content{margin-left:0;margin-right:0;position:relative}[dir=rtl] .mdc-drawer-app-content,.mdc-drawer-app-content[dir=rtl]{margin-left:0;margin-right:0}.mdc-drawer--modal{box-shadow:0px 8px 10px -5px rgba(0, 0, 0, 0.2),0px 16px 24px 2px rgba(0, 0, 0, 0.14),0px 6px 30px 5px rgba(0,0,0,.12);left:0;right:initial;display:none;position:fixed}.mdc-drawer--modal+.mdc-drawer-scrim{background-color:rgba(0, 0, 0, 0.32)}[dir=rtl] .mdc-drawer--modal,.mdc-drawer--modal[dir=rtl]{left:initial;right:0}.mdc-drawer--modal.mdc-drawer--open{display:flex}.mdc-drawer-scrim{display:none;position:fixed;top:0;left:0;width:100%;height:100%;z-index:5;transition-property:opacity;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}.mdc-drawer--open+.mdc-drawer-scrim{display:block}.mdc-drawer--animate+.mdc-drawer-scrim{opacity:0}.mdc-drawer--opening+.mdc-drawer-scrim{transition-duration:250ms;opacity:1}.mdc-drawer--closing+.mdc-drawer-scrim{transition-duration:200ms;opacity:0}.mdc-elevation--z0{box-shadow:0px 0px 0px 0px rgba(0, 0, 0, 0.2),0px 0px 0px 0px rgba(0, 0, 0, 0.14),0px 0px 0px 0px rgba(0,0,0,.12)}.mdc-elevation--z1{box-shadow:0px 2px 1px -1px rgba(0, 0, 0, 0.2),0px 1px 1px 0px rgba(0, 0, 0, 0.14),0px 1px 3px 0px rgba(0,0,0,.12)}.mdc-elevation--z2{box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2),0px 2px 2px 0px rgba(0, 0, 0, 0.14),0px 1px 5px 0px rgba(0,0,0,.12)}.mdc-elevation--z3{box-shadow:0px 3px 3px -2px rgba(0, 0, 0, 0.2),0px 3px 4px 0px rgba(0, 0, 0, 0.14),0px 1px 8px 0px rgba(0,0,0,.12)}.mdc-elevation--z4{box-shadow:0px 2px 4px -1px rgba(0, 0, 0, 0.2),0px 4px 5px 0px rgba(0, 0, 0, 0.14),0px 1px 10px 0px rgba(0,0,0,.12)}.mdc-elevation--z5{box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2),0px 5px 8px 0px rgba(0, 0, 0, 0.14),0px 1px 14px 0px rgba(0,0,0,.12)}.mdc-elevation--z6{box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2),0px 6px 10px 0px rgba(0, 0, 0, 0.14),0px 1px 18px 0px rgba(0,0,0,.12)}.mdc-elevation--z7{box-shadow:0px 4px 5px -2px rgba(0, 0, 0, 0.2),0px 7px 10px 1px rgba(0, 0, 0, 0.14),0px 2px 16px 1px rgba(0,0,0,.12)}.mdc-elevation--z8{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2),0px 8px 10px 1px rgba(0, 0, 0, 0.14),0px 3px 14px 2px rgba(0,0,0,.12)}.mdc-elevation--z9{box-shadow:0px 5px 6px -3px rgba(0, 0, 0, 0.2),0px 9px 12px 1px rgba(0, 0, 0, 0.14),0px 3px 16px 2px rgba(0,0,0,.12)}.mdc-elevation--z10{box-shadow:0px 6px 6px -3px rgba(0, 0, 0, 0.2),0px 10px 14px 1px rgba(0, 0, 0, 0.14),0px 4px 18px 3px rgba(0,0,0,.12)}.mdc-elevation--z11{box-shadow:0px 6px 7px -4px rgba(0, 0, 0, 0.2),0px 11px 15px 1px rgba(0, 0, 0, 0.14),0px 4px 20px 3px rgba(0,0,0,.12)}.mdc-elevation--z12{box-shadow:0px 7px 8px -4px rgba(0, 0, 0, 0.2),0px 12px 17px 2px rgba(0, 0, 0, 0.14),0px 5px 22px 4px rgba(0,0,0,.12)}.mdc-elevation--z13{box-shadow:0px 7px 8px -4px rgba(0, 0, 0, 0.2),0px 13px 19px 2px rgba(0, 0, 0, 0.14),0px 5px 24px 4px rgba(0,0,0,.12)}.mdc-elevation--z14{box-shadow:0px 7px 9px -4px rgba(0, 0, 0, 0.2),0px 14px 21px 2px rgba(0, 0, 0, 0.14),0px 5px 26px 4px rgba(0,0,0,.12)}.mdc-elevation--z15{box-shadow:0px 8px 9px -5px rgba(0, 0, 0, 0.2),0px 15px 22px 2px rgba(0, 0, 0, 0.14),0px 6px 28px 5px rgba(0,0,0,.12)}.mdc-elevation--z16{box-shadow:0px 8px 10px -5px rgba(0, 0, 0, 0.2),0px 16px 24px 2px rgba(0, 0, 0, 0.14),0px 6px 30px 5px rgba(0,0,0,.12)}.mdc-elevation--z17{box-shadow:0px 8px 11px -5px rgba(0, 0, 0, 0.2),0px 17px 26px 2px rgba(0, 0, 0, 0.14),0px 6px 32px 5px rgba(0,0,0,.12)}.mdc-elevation--z18{box-shadow:0px 9px 11px -5px rgba(0, 0, 0, 0.2),0px 18px 28px 2px rgba(0, 0, 0, 0.14),0px 7px 34px 6px rgba(0,0,0,.12)}.mdc-elevation--z19{box-shadow:0px 9px 12px -6px rgba(0, 0, 0, 0.2),0px 19px 29px 2px rgba(0, 0, 0, 0.14),0px 7px 36px 6px rgba(0,0,0,.12)}.mdc-elevation--z20{box-shadow:0px 10px 13px -6px rgba(0, 0, 0, 0.2),0px 20px 31px 3px rgba(0, 0, 0, 0.14),0px 8px 38px 7px rgba(0,0,0,.12)}.mdc-elevation--z21{box-shadow:0px 10px 13px -6px rgba(0, 0, 0, 0.2),0px 21px 33px 3px rgba(0, 0, 0, 0.14),0px 8px 40px 7px rgba(0,0,0,.12)}.mdc-elevation--z22{box-shadow:0px 10px 14px -6px rgba(0, 0, 0, 0.2),0px 22px 35px 3px rgba(0, 0, 0, 0.14),0px 8px 42px 7px rgba(0,0,0,.12)}.mdc-elevation--z23{box-shadow:0px 11px 14px -7px rgba(0, 0, 0, 0.2),0px 23px 36px 3px rgba(0, 0, 0, 0.14),0px 9px 44px 8px rgba(0,0,0,.12)}.mdc-elevation--z24{box-shadow:0px 11px 15px -7px rgba(0, 0, 0, 0.2),0px 24px 38px 3px rgba(0, 0, 0, 0.14),0px 9px 46px 8px rgba(0,0,0,.12)}.mdc-elevation-transition{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);will-change:box-shadow}.mdc-fab{position:relative;display:inline-flex;position:relative;align-items:center;justify-content:center;box-sizing:border-box;width:56px;height:56px;padding:0;border:none;fill:currentColor;text-decoration:none;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-moz-appearance:none;-webkit-appearance:none;overflow:visible;transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),opacity 15ms linear 30ms,-webkit-transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1);transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),opacity 15ms linear 30ms,transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1);transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),opacity 15ms linear 30ms,transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1),-webkit-transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-fab .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-fab::-moz-focus-inner{padding:0;border:0}.mdc-fab:hover{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2),0px 8px 10px 1px rgba(0, 0, 0, 0.14),0px 3px 14px 2px rgba(0,0,0,.12)}.mdc-fab.mdc-ripple-upgraded--background-focused,.mdc-fab:not(.mdc-ripple-upgraded):focus{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2),0px 8px 10px 1px rgba(0, 0, 0, 0.14),0px 3px 14px 2px rgba(0,0,0,.12)}.mdc-fab .mdc-fab__focus-ring{position:absolute}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{pointer-events:none;border:2px solid transparent;border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);height:calc( - 100% + 4px - );width:calc( - 100% + 4px - )}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{border-color:CanvasText}}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{content:"";border:2px solid transparent;border-radius:8px;display:block;position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{border-color:CanvasText}}.mdc-fab:active,.mdc-fab:focus:active{box-shadow:0px 7px 8px -4px rgba(0, 0, 0, 0.2),0px 12px 17px 2px rgba(0, 0, 0, 0.14),0px 5px 22px 4px rgba(0,0,0,.12)}.mdc-fab:active,.mdc-fab:focus{outline:none}.mdc-fab:hover{cursor:pointer}.mdc-fab>svg{width:100%}.mdc-fab--mini{width:40px;height:40px}.mdc-fab--extended{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-button-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.875rem;font-size:var(--mdc-typography-button-font-size, 0.875rem);line-height:2.25rem;line-height:var(--mdc-typography-button-line-height, 2.25rem);font-weight:500;font-weight:var(--mdc-typography-button-font-weight, 500);letter-spacing:0.0892857143em;letter-spacing:var(--mdc-typography-button-letter-spacing, 0.0892857143em);text-decoration:none;-webkit-text-decoration:var(--mdc-typography-button-text-decoration, none);text-decoration:var(--mdc-typography-button-text-decoration, none);text-transform:uppercase;text-transform:var(--mdc-typography-button-text-transform, uppercase);border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mdc-fab--extended .mdc-fab__ripple{border-radius:24px}.mdc-fab--extended .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mdc-fab--extended .mdc-fab__icon,.mdc-fab--extended .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mdc-fab--extended .mdc-fab__label+.mdc-fab__icon,.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mdc-fab--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-fab--touch .mdc-fab__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%)}.mdc-fab::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid transparent;border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-fab::before{border-color:CanvasText}}.mdc-fab__label{justify-content:flex-start;text-overflow:ellipsis;white-space:nowrap;overflow-x:hidden;overflow-y:visible}.mdc-fab__icon{transition:-webkit-transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1), -webkit-transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mdc-fab .mdc-fab__icon{display:inline-flex;align-items:center;justify-content:center}.mdc-fab--exited{-webkit-transform:scale(0);transform:scale(0);opacity:0;transition:opacity 15ms linear 150ms,-webkit-transform 180ms 0ms cubic-bezier(0.4, 0, 1, 1);transition:opacity 15ms linear 150ms,transform 180ms 0ms cubic-bezier(0.4, 0, 1, 1);transition:opacity 15ms linear 150ms,transform 180ms 0ms cubic-bezier(0.4, 0, 1, 1),-webkit-transform 180ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-fab--exited .mdc-fab__icon{-webkit-transform:scale(0);transform:scale(0);transition:-webkit-transform 135ms 0ms cubic-bezier(0.4, 0, 1, 1);transition:transform 135ms 0ms cubic-bezier(0.4, 0, 1, 1);transition:transform 135ms 0ms cubic-bezier(0.4, 0, 1, 1), -webkit-transform 135ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-fab{background-color:#018786;background-color:var(--mdc-theme-secondary, #018786);box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2),0px 6px 10px 0px rgba(0, 0, 0, 0.14),0px 1px 18px 0px rgba(0,0,0,.12)}.mdc-fab .mdc-fab__icon{width:24px;height:24px;font-size:24px}.mdc-fab,.mdc-fab:not(:disabled) .mdc-fab__icon,.mdc-fab:not(:disabled) .mdc-fab__label,.mdc-fab:disabled .mdc-fab__icon,.mdc-fab:disabled .mdc-fab__label{color:#fff;color:var(--mdc-theme-on-secondary, #fff)}.mdc-fab:not(.mdc-fab--extended){border-radius:50%}.mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:50%}.mdc-fab{--mdc-ripple-fg-size: 0;--mdc-ripple-left: 0;--mdc-ripple-top: 0;--mdc-ripple-fg-scale: 1;--mdc-ripple-fg-translate-end: 0;--mdc-ripple-fg-translate-start: 0;-webkit-tap-highlight-color:rgba(0,0,0,0);will-change:transform,opacity}.mdc-fab .mdc-fab__ripple::before,.mdc-fab .mdc-fab__ripple::after{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:""}.mdc-fab .mdc-fab__ripple::before{transition:opacity 15ms linear,background-color 15ms linear;z-index:1;z-index:var(--mdc-ripple-z-index, 1)}.mdc-fab .mdc-fab__ripple::after{z-index:0;z-index:var(--mdc-ripple-z-index, 0)}.mdc-fab.mdc-ripple-upgraded .mdc-fab__ripple::before{-webkit-transform:scale(var(--mdc-ripple-fg-scale, 1));transform:scale(var(--mdc-ripple-fg-scale, 1))}.mdc-fab.mdc-ripple-upgraded .mdc-fab__ripple::after{top:0;left:0;-webkit-transform:scale(0);transform:scale(0);-webkit-transform-origin:center center;transform-origin:center center}.mdc-fab.mdc-ripple-upgraded--unbounded .mdc-fab__ripple::after{top:var(--mdc-ripple-top, 0);left:var(--mdc-ripple-left, 0)}.mdc-fab.mdc-ripple-upgraded--foreground-activation .mdc-fab__ripple::after{-webkit-animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards;animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards}.mdc-fab.mdc-ripple-upgraded--foreground-deactivation .mdc-fab__ripple::after{-webkit-animation:mdc-ripple-fg-opacity-out 150ms;animation:mdc-ripple-fg-opacity-out 150ms;-webkit-transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1));transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}.mdc-fab .mdc-fab__ripple::before,.mdc-fab .mdc-fab__ripple::after{top:calc(50% - 100%);left:calc(50% - 100%);width:200%;height:200%}.mdc-fab.mdc-ripple-upgraded .mdc-fab__ripple::after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-fab .mdc-fab__ripple::before,.mdc-fab .mdc-fab__ripple::after{background-color:#fff;background-color:var(--mdc-ripple-color, var(--mdc-theme-on-secondary, #fff))}.mdc-fab:hover .mdc-fab__ripple::before,.mdc-fab.mdc-ripple-surface--hover .mdc-fab__ripple::before{opacity:0.08;opacity:var(--mdc-ripple-hover-opacity, 0.08)}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__ripple::before,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__ripple::before{transition-duration:75ms;opacity:0.24;opacity:var(--mdc-ripple-focus-opacity, 0.24)}.mdc-fab:not(.mdc-ripple-upgraded) .mdc-fab__ripple::after{transition:opacity 150ms linear}.mdc-fab:not(.mdc-ripple-upgraded):active .mdc-fab__ripple::after{transition-duration:75ms;opacity:0.24;opacity:var(--mdc-ripple-press-opacity, 0.24)}.mdc-fab.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.24)}.mdc-fab .mdc-fab__ripple{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;overflow:hidden}.mdc-fab{z-index:0}.mdc-fab .mdc-fab__ripple::before,.mdc-fab .mdc-fab__ripple::after{z-index:-1;z-index:var(--mdc-ripple-z-index, -1)}.mdc-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.875rem;font-size:var(--mdc-typography-body2-font-size, 0.875rem);line-height:1.25rem;line-height:var(--mdc-typography-body2-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:0.0178571429em;letter-spacing:var(--mdc-typography-body2-letter-spacing, 0.0178571429em);text-decoration:inherit;-webkit-text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-body2-text-transform, inherit);color:rgba(0, 0, 0, 0.87);color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, 0.87));display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{margin-left:auto;margin-right:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{padding-left:0;padding-right:4px}.mdc-form-field--nowrap>label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{padding-left:4px;padding-right:0}.mdc-form-field--space-between{justify-content:space-between}.mdc-form-field--space-between>label{margin:0}[dir=rtl] .mdc-form-field--space-between>label,.mdc-form-field--space-between>label[dir=rtl]{margin:0}.mdc-icon-button{font-size:24px;width:48px;height:48px;padding:12px}.mdc-icon-button .mdc-icon-button__focus-ring{display:none}.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block;max-height:48px;max-width:48px}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{pointer-events:none;border:2px solid transparent;border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);height:100%;width:100%}}@media screen and (forced-colors: active)and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring::after,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring::after{content:"";border:2px solid transparent;border-radius:8px;display:block;position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}}@media screen and (forced-colors: active)and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring::after,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__ripple{width:40px;height:40px;margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-icon-button.mdc-icon-button--reduced-size.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button.mdc-icon-button--reduced-size:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{max-height:40px;max-width:40px}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%)}.mdc-icon-button:disabled{color:rgba(0, 0, 0, 0.38);color:var(--mdc-theme-text-disabled-on-light, rgba(0, 0, 0, 0.38))}.mdc-icon-button svg,.mdc-icon-button img{width:24px;height:24px}.mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:transparent;fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%)}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mdc-icon-button{--mdc-ripple-fg-size: 0;--mdc-ripple-left: 0;--mdc-ripple-top: 0;--mdc-ripple-fg-scale: 1;--mdc-ripple-fg-translate-end: 0;--mdc-ripple-fg-translate-start: 0;-webkit-tap-highlight-color:rgba(0,0,0,0);will-change:transform,opacity}.mdc-icon-button .mdc-icon-button__ripple::before,.mdc-icon-button .mdc-icon-button__ripple::after{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:""}.mdc-icon-button .mdc-icon-button__ripple::before{transition:opacity 15ms linear,background-color 15ms linear;z-index:1;z-index:var(--mdc-ripple-z-index, 1)}.mdc-icon-button .mdc-icon-button__ripple::after{z-index:0;z-index:var(--mdc-ripple-z-index, 0)}.mdc-icon-button.mdc-ripple-upgraded .mdc-icon-button__ripple::before{-webkit-transform:scale(var(--mdc-ripple-fg-scale, 1));transform:scale(var(--mdc-ripple-fg-scale, 1))}.mdc-icon-button.mdc-ripple-upgraded .mdc-icon-button__ripple::after{top:0;left:0;-webkit-transform:scale(0);transform:scale(0);-webkit-transform-origin:center center;transform-origin:center center}.mdc-icon-button.mdc-ripple-upgraded--unbounded .mdc-icon-button__ripple::after{top:var(--mdc-ripple-top, 0);left:var(--mdc-ripple-left, 0)}.mdc-icon-button.mdc-ripple-upgraded--foreground-activation .mdc-icon-button__ripple::after{-webkit-animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards;animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards}.mdc-icon-button.mdc-ripple-upgraded--foreground-deactivation .mdc-icon-button__ripple::after{-webkit-animation:mdc-ripple-fg-opacity-out 150ms;animation:mdc-ripple-fg-opacity-out 150ms;-webkit-transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1));transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}.mdc-icon-button .mdc-icon-button__ripple::before,.mdc-icon-button .mdc-icon-button__ripple::after{top:calc(50% - 50%);left:calc(50% - 50%);width:100%;height:100%}.mdc-icon-button.mdc-ripple-upgraded .mdc-icon-button__ripple::before,.mdc-icon-button.mdc-ripple-upgraded .mdc-icon-button__ripple::after{top:var(--mdc-ripple-top, calc(50% - 50%));left:var(--mdc-ripple-left, calc(50% - 50%));width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-icon-button.mdc-ripple-upgraded .mdc-icon-button__ripple::after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-icon-button .mdc-icon-button__ripple::before,.mdc-icon-button .mdc-icon-button__ripple::after{background-color:#000;background-color:var(--mdc-ripple-color, #000)}.mdc-icon-button:hover .mdc-icon-button__ripple::before,.mdc-icon-button.mdc-ripple-surface--hover .mdc-icon-button__ripple::before{opacity:0.04;opacity:var(--mdc-ripple-hover-opacity, 0.04)}.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__ripple::before,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__ripple::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-opacity, 0.12)}.mdc-icon-button:not(.mdc-ripple-upgraded) .mdc-icon-button__ripple::after{transition:opacity 150ms linear}.mdc-icon-button:not(.mdc-ripple-upgraded):active .mdc-icon-button__ripple::after{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-icon-button.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-icon-button .mdc-icon-button__ripple{height:100%;left:0px;pointer-events:none;position:absolute;top:0px;width:100%;z-index:-1}.mdc-image-list{display:flex;flex-wrap:wrap;margin:0 auto;padding:0}.mdc-image-list__item,.mdc-image-list__image-aspect-container{position:relative;box-sizing:border-box}.mdc-image-list__item{list-style-type:none}.mdc-image-list__image{width:100%}.mdc-image-list__image-aspect-container .mdc-image-list__image{position:absolute;top:0;right:0;bottom:0;left:0;height:100%;background-repeat:no-repeat;background-position:center;background-size:cover}.mdc-image-list__image-aspect-container{padding-bottom:calc(100% / 1)}.mdc-image-list__image{border-radius:0}.mdc-image-list--with-text-protection .mdc-image-list__supporting{border-top-left-radius:0;border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-image-list__supporting{color:rgba(0, 0, 0, 0.87);color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, 0.87));display:flex;align-items:center;justify-content:space-between;box-sizing:border-box;padding:8px 0;line-height:24px}.mdc-image-list__label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-subtitle1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:1rem;font-size:var(--mdc-typography-subtitle1-font-size, 1rem);line-height:1.75rem;line-height:var(--mdc-typography-subtitle1-line-height, 1.75rem);font-weight:400;font-weight:var(--mdc-typography-subtitle1-font-weight, 400);letter-spacing:0.009375em;letter-spacing:var(--mdc-typography-subtitle1-letter-spacing, 0.009375em);text-decoration:inherit;-webkit-text-decoration:var(--mdc-typography-subtitle1-text-decoration, inherit);text-decoration:var(--mdc-typography-subtitle1-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-subtitle1-text-transform, inherit);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mdc-image-list--with-text-protection .mdc-image-list__supporting{position:absolute;bottom:0;width:100%;height:48px;padding:0 16px;background:rgba(0,0,0,.6);color:#fff}.mdc-image-list--masonry{display:block}.mdc-image-list--masonry .mdc-image-list__item{-webkit-column-break-inside:avoid;break-inside:avoid-column}.mdc-image-list--masonry .mdc-image-list__image{display:block;height:auto}:root{--mdc-layout-grid-margin-desktop: 24px;--mdc-layout-grid-gutter-desktop: 24px;--mdc-layout-grid-column-width-desktop: 72px;--mdc-layout-grid-margin-tablet: 16px;--mdc-layout-grid-gutter-tablet: 16px;--mdc-layout-grid-column-width-tablet: 72px;--mdc-layout-grid-margin-phone: 16px;--mdc-layout-grid-gutter-phone: 16px;--mdc-layout-grid-column-width-phone: 72px}@media(min-width: 840px){.mdc-layout-grid{box-sizing:border-box;margin:0 auto;padding:24px;padding:var(--mdc-layout-grid-margin-desktop, 24px)}}@media(min-width: 600px)and (max-width: 839px){.mdc-layout-grid{box-sizing:border-box;margin:0 auto;padding:16px;padding:var(--mdc-layout-grid-margin-tablet, 16px)}}@media(max-width: 599px){.mdc-layout-grid{box-sizing:border-box;margin:0 auto;padding:16px;padding:var(--mdc-layout-grid-margin-phone, 16px)}}@media(min-width: 840px){.mdc-layout-grid__inner{display:flex;flex-flow:row wrap;align-items:stretch;margin:-12px;margin:calc(var(--mdc-layout-grid-gutter-desktop, 24px) / 2 * -1)}@supports(display: grid){.mdc-layout-grid__inner{display:grid;margin:0;grid-gap:24px;grid-gap:var(--mdc-layout-grid-gutter-desktop, 24px);grid-template-columns:repeat(12, minmax(0, 1fr))}}}@media(min-width: 600px)and (max-width: 839px){.mdc-layout-grid__inner{display:flex;flex-flow:row wrap;align-items:stretch;margin:-8px;margin:calc(var(--mdc-layout-grid-gutter-tablet, 16px) / 2 * -1)}@supports(display: grid){.mdc-layout-grid__inner{display:grid;margin:0;grid-gap:16px;grid-gap:var(--mdc-layout-grid-gutter-tablet, 16px);grid-template-columns:repeat(8, minmax(0, 1fr))}}}@media(max-width: 599px){.mdc-layout-grid__inner{display:flex;flex-flow:row wrap;align-items:stretch;margin:-8px;margin:calc(var(--mdc-layout-grid-gutter-phone, 16px) / 2 * -1)}@supports(display: grid){.mdc-layout-grid__inner{display:grid;margin:0;grid-gap:16px;grid-gap:var(--mdc-layout-grid-gutter-phone, 16px);grid-template-columns:repeat(4, minmax(0, 1fr))}}}@media(min-width: 840px){.mdc-layout-grid__cell{width:calc(33.3333333333% - 24px);width:calc(33.3333333333% - var(--mdc-layout-grid-gutter-desktop, 24px));box-sizing:border-box;margin:12px;margin:calc(var(--mdc-layout-grid-gutter-desktop, 24px)/2)}@supports(display: grid){.mdc-layout-grid__cell{width:auto;grid-column-end:span 4}}@supports(display: grid){.mdc-layout-grid__cell{margin:0}}.mdc-layout-grid__cell--span-1,.mdc-layout-grid__cell--span-1-desktop{width:calc(8.3333333333% - 24px);width:calc(8.3333333333% - var(--mdc-layout-grid-gutter-desktop, 24px))}@supports(display: grid){.mdc-layout-grid__cell--span-1,.mdc-layout-grid__cell--span-1-desktop{width:auto;grid-column-end:span 1}}.mdc-layout-grid__cell--span-2,.mdc-layout-grid__cell--span-2-desktop{width:calc(16.6666666667% - 24px);width:calc(16.6666666667% - var(--mdc-layout-grid-gutter-desktop, 24px))}@supports(display: grid){.mdc-layout-grid__cell--span-2,.mdc-layout-grid__cell--span-2-desktop{width:auto;grid-column-end:span 2}}.mdc-layout-grid__cell--span-3,.mdc-layout-grid__cell--span-3-desktop{width:calc(25% - 24px);width:calc(25% - var(--mdc-layout-grid-gutter-desktop, 24px))}@supports(display: grid){.mdc-layout-grid__cell--span-3,.mdc-layout-grid__cell--span-3-desktop{width:auto;grid-column-end:span 3}}.mdc-layout-grid__cell--span-4,.mdc-layout-grid__cell--span-4-desktop{width:calc(33.3333333333% - 24px);width:calc(33.3333333333% - var(--mdc-layout-grid-gutter-desktop, 24px))}@supports(display: grid){.mdc-layout-grid__cell--span-4,.mdc-layout-grid__cell--span-4-desktop{width:auto;grid-column-end:span 4}}.mdc-layout-grid__cell--span-5,.mdc-layout-grid__cell--span-5-desktop{width:calc(41.6666666667% - 24px);width:calc(41.6666666667% - var(--mdc-layout-grid-gutter-desktop, 24px))}@supports(display: grid){.mdc-layout-grid__cell--span-5,.mdc-layout-grid__cell--span-5-desktop{width:auto;grid-column-end:span 5}}.mdc-layout-grid__cell--span-6,.mdc-layout-grid__cell--span-6-desktop{width:calc(50% - 24px);width:calc(50% - var(--mdc-layout-grid-gutter-desktop, 24px))}@supports(display: grid){.mdc-layout-grid__cell--span-6,.mdc-layout-grid__cell--span-6-desktop{width:auto;grid-column-end:span 6}}.mdc-layout-grid__cell--span-7,.mdc-layout-grid__cell--span-7-desktop{width:calc(58.3333333333% - 24px);width:calc(58.3333333333% - var(--mdc-layout-grid-gutter-desktop, 24px))}@supports(display: grid){.mdc-layout-grid__cell--span-7,.mdc-layout-grid__cell--span-7-desktop{width:auto;grid-column-end:span 7}}.mdc-layout-grid__cell--span-8,.mdc-layout-grid__cell--span-8-desktop{width:calc(66.6666666667% - 24px);width:calc(66.6666666667% - var(--mdc-layout-grid-gutter-desktop, 24px))}@supports(display: grid){.mdc-layout-grid__cell--span-8,.mdc-layout-grid__cell--span-8-desktop{width:auto;grid-column-end:span 8}}.mdc-layout-grid__cell--span-9,.mdc-layout-grid__cell--span-9-desktop{width:calc(75% - 24px);width:calc(75% - var(--mdc-layout-grid-gutter-desktop, 24px))}@supports(display: grid){.mdc-layout-grid__cell--span-9,.mdc-layout-grid__cell--span-9-desktop{width:auto;grid-column-end:span 9}}.mdc-layout-grid__cell--span-10,.mdc-layout-grid__cell--span-10-desktop{width:calc(83.3333333333% - 24px);width:calc(83.3333333333% - var(--mdc-layout-grid-gutter-desktop, 24px))}@supports(display: grid){.mdc-layout-grid__cell--span-10,.mdc-layout-grid__cell--span-10-desktop{width:auto;grid-column-end:span 10}}.mdc-layout-grid__cell--span-11,.mdc-layout-grid__cell--span-11-desktop{width:calc(91.6666666667% - 24px);width:calc(91.6666666667% - var(--mdc-layout-grid-gutter-desktop, 24px))}@supports(display: grid){.mdc-layout-grid__cell--span-11,.mdc-layout-grid__cell--span-11-desktop{width:auto;grid-column-end:span 11}}.mdc-layout-grid__cell--span-12,.mdc-layout-grid__cell--span-12-desktop{width:calc(100% - 24px);width:calc(100% - var(--mdc-layout-grid-gutter-desktop, 24px))}@supports(display: grid){.mdc-layout-grid__cell--span-12,.mdc-layout-grid__cell--span-12-desktop{width:auto;grid-column-end:span 12}}}@media(min-width: 600px)and (max-width: 839px){.mdc-layout-grid__cell{width:calc(50% - 16px);width:calc(50% - var(--mdc-layout-grid-gutter-tablet, 16px));box-sizing:border-box;margin:8px;margin:calc(var(--mdc-layout-grid-gutter-tablet, 16px)/2)}@supports(display: grid){.mdc-layout-grid__cell{width:auto;grid-column-end:span 4}}@supports(display: grid){.mdc-layout-grid__cell{margin:0}}.mdc-layout-grid__cell--span-1,.mdc-layout-grid__cell--span-1-tablet{width:calc(12.5% - 16px);width:calc(12.5% - var(--mdc-layout-grid-gutter-tablet, 16px))}@supports(display: grid){.mdc-layout-grid__cell--span-1,.mdc-layout-grid__cell--span-1-tablet{width:auto;grid-column-end:span 1}}.mdc-layout-grid__cell--span-2,.mdc-layout-grid__cell--span-2-tablet{width:calc(25% - 16px);width:calc(25% - var(--mdc-layout-grid-gutter-tablet, 16px))}@supports(display: grid){.mdc-layout-grid__cell--span-2,.mdc-layout-grid__cell--span-2-tablet{width:auto;grid-column-end:span 2}}.mdc-layout-grid__cell--span-3,.mdc-layout-grid__cell--span-3-tablet{width:calc(37.5% - 16px);width:calc(37.5% - var(--mdc-layout-grid-gutter-tablet, 16px))}@supports(display: grid){.mdc-layout-grid__cell--span-3,.mdc-layout-grid__cell--span-3-tablet{width:auto;grid-column-end:span 3}}.mdc-layout-grid__cell--span-4,.mdc-layout-grid__cell--span-4-tablet{width:calc(50% - 16px);width:calc(50% - var(--mdc-layout-grid-gutter-tablet, 16px))}@supports(display: grid){.mdc-layout-grid__cell--span-4,.mdc-layout-grid__cell--span-4-tablet{width:auto;grid-column-end:span 4}}.mdc-layout-grid__cell--span-5,.mdc-layout-grid__cell--span-5-tablet{width:calc(62.5% - 16px);width:calc(62.5% - var(--mdc-layout-grid-gutter-tablet, 16px))}@supports(display: grid){.mdc-layout-grid__cell--span-5,.mdc-layout-grid__cell--span-5-tablet{width:auto;grid-column-end:span 5}}.mdc-layout-grid__cell--span-6,.mdc-layout-grid__cell--span-6-tablet{width:calc(75% - 16px);width:calc(75% - var(--mdc-layout-grid-gutter-tablet, 16px))}@supports(display: grid){.mdc-layout-grid__cell--span-6,.mdc-layout-grid__cell--span-6-tablet{width:auto;grid-column-end:span 6}}.mdc-layout-grid__cell--span-7,.mdc-layout-grid__cell--span-7-tablet{width:calc(87.5% - 16px);width:calc(87.5% - var(--mdc-layout-grid-gutter-tablet, 16px))}@supports(display: grid){.mdc-layout-grid__cell--span-7,.mdc-layout-grid__cell--span-7-tablet{width:auto;grid-column-end:span 7}}.mdc-layout-grid__cell--span-8,.mdc-layout-grid__cell--span-8-tablet{width:calc(100% - 16px);width:calc(100% - var(--mdc-layout-grid-gutter-tablet, 16px))}@supports(display: grid){.mdc-layout-grid__cell--span-8,.mdc-layout-grid__cell--span-8-tablet{width:auto;grid-column-end:span 8}}.mdc-layout-grid__cell--span-9,.mdc-layout-grid__cell--span-9-tablet{width:calc(100% - 16px);width:calc(100% - var(--mdc-layout-grid-gutter-tablet, 16px))}@supports(display: grid){.mdc-layout-grid__cell--span-9,.mdc-layout-grid__cell--span-9-tablet{width:auto;grid-column-end:span 8}}.mdc-layout-grid__cell--span-10,.mdc-layout-grid__cell--span-10-tablet{width:calc(100% - 16px);width:calc(100% - var(--mdc-layout-grid-gutter-tablet, 16px))}@supports(display: grid){.mdc-layout-grid__cell--span-10,.mdc-layout-grid__cell--span-10-tablet{width:auto;grid-column-end:span 8}}.mdc-layout-grid__cell--span-11,.mdc-layout-grid__cell--span-11-tablet{width:calc(100% - 16px);width:calc(100% - var(--mdc-layout-grid-gutter-tablet, 16px))}@supports(display: grid){.mdc-layout-grid__cell--span-11,.mdc-layout-grid__cell--span-11-tablet{width:auto;grid-column-end:span 8}}.mdc-layout-grid__cell--span-12,.mdc-layout-grid__cell--span-12-tablet{width:calc(100% - 16px);width:calc(100% - var(--mdc-layout-grid-gutter-tablet, 16px))}@supports(display: grid){.mdc-layout-grid__cell--span-12,.mdc-layout-grid__cell--span-12-tablet{width:auto;grid-column-end:span 8}}}@media(max-width: 599px){.mdc-layout-grid__cell{width:calc(100% - 16px);width:calc(100% - var(--mdc-layout-grid-gutter-phone, 16px));box-sizing:border-box;margin:8px;margin:calc(var(--mdc-layout-grid-gutter-phone, 16px)/2)}@supports(display: grid){.mdc-layout-grid__cell{width:auto;grid-column-end:span 4}}@supports(display: grid){.mdc-layout-grid__cell{margin:0}}.mdc-layout-grid__cell--span-1,.mdc-layout-grid__cell--span-1-phone{width:calc(25% - 16px);width:calc(25% - var(--mdc-layout-grid-gutter-phone, 16px))}@supports(display: grid){.mdc-layout-grid__cell--span-1,.mdc-layout-grid__cell--span-1-phone{width:auto;grid-column-end:span 1}}.mdc-layout-grid__cell--span-2,.mdc-layout-grid__cell--span-2-phone{width:calc(50% - 16px);width:calc(50% - var(--mdc-layout-grid-gutter-phone, 16px))}@supports(display: grid){.mdc-layout-grid__cell--span-2,.mdc-layout-grid__cell--span-2-phone{width:auto;grid-column-end:span 2}}.mdc-layout-grid__cell--span-3,.mdc-layout-grid__cell--span-3-phone{width:calc(75% - 16px);width:calc(75% - var(--mdc-layout-grid-gutter-phone, 16px))}@supports(display: grid){.mdc-layout-grid__cell--span-3,.mdc-layout-grid__cell--span-3-phone{width:auto;grid-column-end:span 3}}.mdc-layout-grid__cell--span-4,.mdc-layout-grid__cell--span-4-phone{width:calc(100% - 16px);width:calc(100% - var(--mdc-layout-grid-gutter-phone, 16px))}@supports(display: grid){.mdc-layout-grid__cell--span-4,.mdc-layout-grid__cell--span-4-phone{width:auto;grid-column-end:span 4}}.mdc-layout-grid__cell--span-5,.mdc-layout-grid__cell--span-5-phone{width:calc(100% - 16px);width:calc(100% - var(--mdc-layout-grid-gutter-phone, 16px))}@supports(display: grid){.mdc-layout-grid__cell--span-5,.mdc-layout-grid__cell--span-5-phone{width:auto;grid-column-end:span 4}}.mdc-layout-grid__cell--span-6,.mdc-layout-grid__cell--span-6-phone{width:calc(100% - 16px);width:calc(100% - var(--mdc-layout-grid-gutter-phone, 16px))}@supports(display: grid){.mdc-layout-grid__cell--span-6,.mdc-layout-grid__cell--span-6-phone{width:auto;grid-column-end:span 4}}.mdc-layout-grid__cell--span-7,.mdc-layout-grid__cell--span-7-phone{width:calc(100% - 16px);width:calc(100% - var(--mdc-layout-grid-gutter-phone, 16px))}@supports(display: grid){.mdc-layout-grid__cell--span-7,.mdc-layout-grid__cell--span-7-phone{width:auto;grid-column-end:span 4}}.mdc-layout-grid__cell--span-8,.mdc-layout-grid__cell--span-8-phone{width:calc(100% - 16px);width:calc(100% - var(--mdc-layout-grid-gutter-phone, 16px))}@supports(display: grid){.mdc-layout-grid__cell--span-8,.mdc-layout-grid__cell--span-8-phone{width:auto;grid-column-end:span 4}}.mdc-layout-grid__cell--span-9,.mdc-layout-grid__cell--span-9-phone{width:calc(100% - 16px);width:calc(100% - var(--mdc-layout-grid-gutter-phone, 16px))}@supports(display: grid){.mdc-layout-grid__cell--span-9,.mdc-layout-grid__cell--span-9-phone{width:auto;grid-column-end:span 4}}.mdc-layout-grid__cell--span-10,.mdc-layout-grid__cell--span-10-phone{width:calc(100% - 16px);width:calc(100% - var(--mdc-layout-grid-gutter-phone, 16px))}@supports(display: grid){.mdc-layout-grid__cell--span-10,.mdc-layout-grid__cell--span-10-phone{width:auto;grid-column-end:span 4}}.mdc-layout-grid__cell--span-11,.mdc-layout-grid__cell--span-11-phone{width:calc(100% - 16px);width:calc(100% - var(--mdc-layout-grid-gutter-phone, 16px))}@supports(display: grid){.mdc-layout-grid__cell--span-11,.mdc-layout-grid__cell--span-11-phone{width:auto;grid-column-end:span 4}}.mdc-layout-grid__cell--span-12,.mdc-layout-grid__cell--span-12-phone{width:calc(100% - 16px);width:calc(100% - var(--mdc-layout-grid-gutter-phone, 16px))}@supports(display: grid){.mdc-layout-grid__cell--span-12,.mdc-layout-grid__cell--span-12-phone{width:auto;grid-column-end:span 4}}}.mdc-layout-grid__cell--order-1{order:1}.mdc-layout-grid__cell--order-2{order:2}.mdc-layout-grid__cell--order-3{order:3}.mdc-layout-grid__cell--order-4{order:4}.mdc-layout-grid__cell--order-5{order:5}.mdc-layout-grid__cell--order-6{order:6}.mdc-layout-grid__cell--order-7{order:7}.mdc-layout-grid__cell--order-8{order:8}.mdc-layout-grid__cell--order-9{order:9}.mdc-layout-grid__cell--order-10{order:10}.mdc-layout-grid__cell--order-11{order:11}.mdc-layout-grid__cell--order-12{order:12}.mdc-layout-grid__cell--align-top{align-self:flex-start}@supports(display: grid){.mdc-layout-grid__cell--align-top{align-self:start}}.mdc-layout-grid__cell--align-middle{align-self:center}.mdc-layout-grid__cell--align-bottom{align-self:flex-end}@supports(display: grid){.mdc-layout-grid__cell--align-bottom{align-self:end}}@media(min-width: 840px){.mdc-layout-grid--fixed-column-width{width:1176px;width:calc( - var(--mdc-layout-grid-column-width-desktop, 72px) * 12 + - var(--mdc-layout-grid-gutter-desktop, 24px) * 11 + - var(--mdc-layout-grid-margin-desktop, 24px) * 2 - )}}@media(min-width: 600px)and (max-width: 839px){.mdc-layout-grid--fixed-column-width{width:720px;width:calc( - var(--mdc-layout-grid-column-width-tablet, 72px) * 8 + - var(--mdc-layout-grid-gutter-tablet, 16px) * 7 + - var(--mdc-layout-grid-margin-tablet, 16px) * 2 - )}}@media(max-width: 599px){.mdc-layout-grid--fixed-column-width{width:368px;width:calc( - var(--mdc-layout-grid-column-width-phone, 72px) * 4 + - var(--mdc-layout-grid-gutter-phone, 16px) * 3 + - var(--mdc-layout-grid-margin-phone, 16px) * 2 - )}}.mdc-layout-grid--align-left{margin-right:auto;margin-left:0}.mdc-layout-grid--align-right{margin-right:0;margin-left:auto}@-webkit-keyframes mdc-linear-progress-primary-indeterminate-translate{0%{-webkit-transform:translateX(0);transform:translateX(0)}20%{-webkit-animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);-webkit-transform:translateX(0);transform:translateX(0)}59.15%{-webkit-animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);-webkit-transform:translateX(83.67142%);transform:translateX(83.67142%);-webkit-transform:translateX(var(--mdc-linear-progress-primary-half, 83.67142%));transform:translateX(var(--mdc-linear-progress-primary-half, 83.67142%))}100%{-webkit-transform:translateX(200.611057%);transform:translateX(200.611057%);-webkit-transform:translateX(var(--mdc-linear-progress-primary-full, 200.611057%));transform:translateX(var(--mdc-linear-progress-primary-full, 200.611057%))}}@keyframes mdc-linear-progress-primary-indeterminate-translate{0%{-webkit-transform:translateX(0);transform:translateX(0)}20%{-webkit-animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);-webkit-transform:translateX(0);transform:translateX(0)}59.15%{-webkit-animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);-webkit-transform:translateX(83.67142%);transform:translateX(83.67142%);-webkit-transform:translateX(var(--mdc-linear-progress-primary-half, 83.67142%));transform:translateX(var(--mdc-linear-progress-primary-half, 83.67142%))}100%{-webkit-transform:translateX(200.611057%);transform:translateX(200.611057%);-webkit-transform:translateX(var(--mdc-linear-progress-primary-full, 200.611057%));transform:translateX(var(--mdc-linear-progress-primary-full, 200.611057%))}}@-webkit-keyframes mdc-linear-progress-primary-indeterminate-scale{0%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}36.65%{-webkit-animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}69.15%{-webkit-animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);-webkit-transform:scaleX(0.661479);transform:scaleX(0.661479)}100%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}}@keyframes mdc-linear-progress-primary-indeterminate-scale{0%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}36.65%{-webkit-animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}69.15%{-webkit-animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);-webkit-transform:scaleX(0.661479);transform:scaleX(0.661479)}100%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}}@-webkit-keyframes mdc-linear-progress-secondary-indeterminate-translate{0%{-webkit-animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);-webkit-transform:translateX(0);transform:translateX(0)}25%{-webkit-animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);-webkit-transform:translateX(37.651913%);transform:translateX(37.651913%);-webkit-transform:translateX(var(--mdc-linear-progress-secondary-quarter, 37.651913%));transform:translateX(var(--mdc-linear-progress-secondary-quarter, 37.651913%))}48.35%{-webkit-animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);-webkit-transform:translateX(84.386165%);transform:translateX(84.386165%);-webkit-transform:translateX(var(--mdc-linear-progress-secondary-half, 84.386165%));transform:translateX(var(--mdc-linear-progress-secondary-half, 84.386165%))}100%{-webkit-transform:translateX(160.277782%);transform:translateX(160.277782%);-webkit-transform:translateX(var(--mdc-linear-progress-secondary-full, 160.277782%));transform:translateX(var(--mdc-linear-progress-secondary-full, 160.277782%))}}@keyframes mdc-linear-progress-secondary-indeterminate-translate{0%{-webkit-animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);-webkit-transform:translateX(0);transform:translateX(0)}25%{-webkit-animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);-webkit-transform:translateX(37.651913%);transform:translateX(37.651913%);-webkit-transform:translateX(var(--mdc-linear-progress-secondary-quarter, 37.651913%));transform:translateX(var(--mdc-linear-progress-secondary-quarter, 37.651913%))}48.35%{-webkit-animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);-webkit-transform:translateX(84.386165%);transform:translateX(84.386165%);-webkit-transform:translateX(var(--mdc-linear-progress-secondary-half, 84.386165%));transform:translateX(var(--mdc-linear-progress-secondary-half, 84.386165%))}100%{-webkit-transform:translateX(160.277782%);transform:translateX(160.277782%);-webkit-transform:translateX(var(--mdc-linear-progress-secondary-full, 160.277782%));transform:translateX(var(--mdc-linear-progress-secondary-full, 160.277782%))}}@-webkit-keyframes mdc-linear-progress-secondary-indeterminate-scale{0%{-webkit-animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}19.15%{-webkit-animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);-webkit-transform:scaleX(0.457104);transform:scaleX(0.457104)}44.15%{-webkit-animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);-webkit-transform:scaleX(0.72796);transform:scaleX(0.72796)}100%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}}@keyframes mdc-linear-progress-secondary-indeterminate-scale{0%{-webkit-animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}19.15%{-webkit-animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);-webkit-transform:scaleX(0.457104);transform:scaleX(0.457104)}44.15%{-webkit-animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);-webkit-transform:scaleX(0.72796);transform:scaleX(0.72796)}100%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}}@-webkit-keyframes mdc-linear-progress-buffering{from{-webkit-transform:rotate(180deg) translateX(-10px);transform:rotate(180deg) translateX(-10px)}}@keyframes mdc-linear-progress-buffering{from{-webkit-transform:rotate(180deg) translateX(-10px);transform:rotate(180deg) translateX(-10px)}}@-webkit-keyframes mdc-linear-progress-primary-indeterminate-translate-reverse{0%{-webkit-transform:translateX(0);transform:translateX(0)}20%{-webkit-animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);-webkit-transform:translateX(0);transform:translateX(0)}59.15%{-webkit-animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);-webkit-transform:translateX(-83.67142%);transform:translateX(-83.67142%);-webkit-transform:translateX(var(--mdc-linear-progress-primary-half-neg, -83.67142%));transform:translateX(var(--mdc-linear-progress-primary-half-neg, -83.67142%))}100%{-webkit-transform:translateX(-200.611057%);transform:translateX(-200.611057%);-webkit-transform:translateX(var(--mdc-linear-progress-primary-full-neg, -200.611057%));transform:translateX(var(--mdc-linear-progress-primary-full-neg, -200.611057%))}}@keyframes mdc-linear-progress-primary-indeterminate-translate-reverse{0%{-webkit-transform:translateX(0);transform:translateX(0)}20%{-webkit-animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);-webkit-transform:translateX(0);transform:translateX(0)}59.15%{-webkit-animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);-webkit-transform:translateX(-83.67142%);transform:translateX(-83.67142%);-webkit-transform:translateX(var(--mdc-linear-progress-primary-half-neg, -83.67142%));transform:translateX(var(--mdc-linear-progress-primary-half-neg, -83.67142%))}100%{-webkit-transform:translateX(-200.611057%);transform:translateX(-200.611057%);-webkit-transform:translateX(var(--mdc-linear-progress-primary-full-neg, -200.611057%));transform:translateX(var(--mdc-linear-progress-primary-full-neg, -200.611057%))}}@-webkit-keyframes mdc-linear-progress-secondary-indeterminate-translate-reverse{0%{-webkit-animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);-webkit-transform:translateX(0);transform:translateX(0)}25%{-webkit-animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);-webkit-transform:translateX(-37.651913%);transform:translateX(-37.651913%);-webkit-transform:translateX(var(--mdc-linear-progress-secondary-quarter-neg, -37.651913%));transform:translateX(var(--mdc-linear-progress-secondary-quarter-neg, -37.651913%))}48.35%{-webkit-animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);-webkit-transform:translateX(-84.386165%);transform:translateX(-84.386165%);-webkit-transform:translateX(var(--mdc-linear-progress-secondary-half-neg, -84.386165%));transform:translateX(var(--mdc-linear-progress-secondary-half-neg, -84.386165%))}100%{-webkit-transform:translateX(-160.277782%);transform:translateX(-160.277782%);-webkit-transform:translateX(var(--mdc-linear-progress-secondary-full-neg, -160.277782%));transform:translateX(var(--mdc-linear-progress-secondary-full-neg, -160.277782%))}}@keyframes mdc-linear-progress-secondary-indeterminate-translate-reverse{0%{-webkit-animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);-webkit-transform:translateX(0);transform:translateX(0)}25%{-webkit-animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);-webkit-transform:translateX(-37.651913%);transform:translateX(-37.651913%);-webkit-transform:translateX(var(--mdc-linear-progress-secondary-quarter-neg, -37.651913%));transform:translateX(var(--mdc-linear-progress-secondary-quarter-neg, -37.651913%))}48.35%{-webkit-animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);-webkit-transform:translateX(-84.386165%);transform:translateX(-84.386165%);-webkit-transform:translateX(var(--mdc-linear-progress-secondary-half-neg, -84.386165%));transform:translateX(var(--mdc-linear-progress-secondary-half-neg, -84.386165%))}100%{-webkit-transform:translateX(-160.277782%);transform:translateX(-160.277782%);-webkit-transform:translateX(var(--mdc-linear-progress-secondary-full-neg, -160.277782%));transform:translateX(var(--mdc-linear-progress-secondary-full-neg, -160.277782%))}}@-webkit-keyframes mdc-linear-progress-buffering-reverse{from{-webkit-transform:translateX(-10px);transform:translateX(-10px)}}@keyframes mdc-linear-progress-buffering-reverse{from{-webkit-transform:translateX(-10px);transform:translateX(-10px)}}.mdc-linear-progress{position:relative;width:100%;-webkit-transform:translateZ(0);transform:translateZ(0);outline:1px solid transparent;overflow:hidden;transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}@media screen and (forced-colors: active){.mdc-linear-progress{outline-color:CanvasText}}.mdc-linear-progress__bar{position:absolute;width:100%;height:100%;-webkit-animation:none;animation:none;-webkit-transform-origin:top left;transform-origin:top left;transition:-webkit-transform 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transition:transform 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transition:transform 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1), -webkit-transform 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-linear-progress__bar-inner{display:inline-block;position:absolute;width:100%;-webkit-animation:none;animation:none;border-top-style:solid}.mdc-linear-progress__buffer{display:flex;position:absolute;width:100%;height:100%}.mdc-linear-progress__buffer-dots{background-repeat:repeat-x;flex:auto;-webkit-transform:rotate(180deg);transform:rotate(180deg);-webkit-animation:mdc-linear-progress-buffering 250ms infinite linear;animation:mdc-linear-progress-buffering 250ms infinite linear}.mdc-linear-progress__buffer-bar{flex:0 1 100%;transition:flex-basis 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-linear-progress__primary-bar{-webkit-transform:scaleX(0);transform:scaleX(0)}.mdc-linear-progress__secondary-bar{display:none}.mdc-linear-progress--indeterminate .mdc-linear-progress__bar{transition:none}.mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{left:-145.166611%}.mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{left:-54.888891%;display:block}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{-webkit-animation:mdc-linear-progress-primary-indeterminate-translate 2s infinite linear;animation:mdc-linear-progress-primary-indeterminate-translate 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar>.mdc-linear-progress__bar-inner{-webkit-animation:mdc-linear-progress-primary-indeterminate-scale 2s infinite linear;animation:mdc-linear-progress-primary-indeterminate-scale 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{-webkit-animation:mdc-linear-progress-secondary-indeterminate-translate 2s infinite linear;animation:mdc-linear-progress-secondary-indeterminate-translate 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar>.mdc-linear-progress__bar-inner{-webkit-animation:mdc-linear-progress-secondary-indeterminate-scale 2s infinite linear;animation:mdc-linear-progress-secondary-indeterminate-scale 2s infinite linear}[dir=rtl] .mdc-linear-progress:not([dir=ltr]) .mdc-linear-progress__bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]) .mdc-linear-progress__bar{right:0;-webkit-transform-origin:center right;transform-origin:center right}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{-webkit-animation-name:mdc-linear-progress-primary-indeterminate-translate-reverse;animation-name:mdc-linear-progress-primary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{-webkit-animation-name:mdc-linear-progress-secondary-indeterminate-translate-reverse;animation-name:mdc-linear-progress-secondary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress:not([dir=ltr]) .mdc-linear-progress__buffer-dots,.mdc-linear-progress[dir=rtl]:not([dir=ltr]) .mdc-linear-progress__buffer-dots{-webkit-animation:mdc-linear-progress-buffering-reverse 250ms infinite linear;animation:mdc-linear-progress-buffering-reverse 250ms infinite linear;-webkit-transform:rotate(0);transform:rotate(0)}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{right:-145.166611%;left:auto}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{right:-54.888891%;left:auto}.mdc-linear-progress--closed{opacity:0}.mdc-linear-progress--closed-animation-off .mdc-linear-progress__buffer-dots{-webkit-animation:none;animation:none}.mdc-linear-progress--closed-animation-off.mdc-linear-progress--indeterminate .mdc-linear-progress__bar,.mdc-linear-progress--closed-animation-off.mdc-linear-progress--indeterminate .mdc-linear-progress__bar .mdc-linear-progress__bar-inner{-webkit-animation:none;animation:none}.mdc-linear-progress__bar-inner{border-color:#6200ee;border-color:var(--mdc-theme-primary, #6200ee)}.mdc-linear-progress__buffer-dots{background-image:url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='none slice'%3E%3Ccircle cx='1' cy='1' r='1' fill='%23e6e6e6'/%3E%3C/svg%3E")}.mdc-linear-progress__buffer-bar{background-color:#e6e6e6}.mdc-linear-progress{height:4px}.mdc-linear-progress__bar-inner{border-top-width:4px}.mdc-linear-progress__buffer-dots{background-size:10px 4px}.mdc-deprecated-list{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-subtitle1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:1rem;font-size:var(--mdc-typography-subtitle1-font-size, 1rem);line-height:1.75rem;line-height:var(--mdc-typography-subtitle1-line-height, 1.75rem);font-weight:400;font-weight:var(--mdc-typography-subtitle1-font-weight, 400);letter-spacing:0.009375em;letter-spacing:var(--mdc-typography-subtitle1-letter-spacing, 0.009375em);text-decoration:inherit;-webkit-text-decoration:var(--mdc-typography-subtitle1-text-decoration, inherit);text-decoration:var(--mdc-typography-subtitle1-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-subtitle1-text-transform, inherit);line-height:1.5rem;margin:0;padding:8px 0;list-style-type:none;color:rgba(0, 0, 0, 0.87);color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, 0.87))}.mdc-deprecated-list:focus{outline:none}.mdc-deprecated-list-item{height:48px}.mdc-deprecated-list-item__secondary-text{color:rgba(0, 0, 0, 0.54);color:var(--mdc-theme-text-secondary-on-background, rgba(0, 0, 0, 0.54))}.mdc-deprecated-list-item__graphic{background-color:transparent}.mdc-deprecated-list-item__graphic{color:rgba(0, 0, 0, 0.38);color:var(--mdc-theme-text-icon-on-background, rgba(0, 0, 0, 0.38))}.mdc-deprecated-list-item__meta{color:rgba(0, 0, 0, 0.38);color:var(--mdc-theme-text-hint-on-background, rgba(0, 0, 0, 0.38))}.mdc-deprecated-list-group__subheader{color:rgba(0, 0, 0, 0.87);color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, 0.87))}.mdc-deprecated-list-item--disabled .mdc-deprecated-list-item__text{opacity:.38}.mdc-deprecated-list-item--disabled .mdc-deprecated-list-item__text,.mdc-deprecated-list-item--disabled .mdc-deprecated-list-item__primary-text,.mdc-deprecated-list-item--disabled .mdc-deprecated-list-item__secondary-text{color:#000;color:var(--mdc-theme-on-surface, #000)}.mdc-deprecated-list-item--selected,.mdc-deprecated-list-item--activated{color:#6200ee;color:var(--mdc-theme-primary, #6200ee)}.mdc-deprecated-list-item--selected .mdc-deprecated-list-item__graphic,.mdc-deprecated-list-item--activated .mdc-deprecated-list-item__graphic{color:#6200ee;color:var(--mdc-theme-primary, #6200ee)}.mdc-deprecated-list--dense{padding-top:4px;padding-bottom:4px;font-size:.812rem}.mdc-deprecated-list-item__wrapper{display:block}.mdc-deprecated-list-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;height:48px}.mdc-deprecated-list-item:focus{outline:none}.mdc-deprecated-list-item:not(.mdc-deprecated-list-item--selected):focus::before,.mdc-deprecated-list-item.mdc-ripple-upgraded--background-focused::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid transparent;border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-deprecated-list-item:not(.mdc-deprecated-list-item--selected):focus::before,.mdc-deprecated-list-item.mdc-ripple-upgraded--background-focused::before{border-color:CanvasText}}.mdc-deprecated-list-item.mdc-deprecated-list-item--selected::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:3px double transparent;border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-deprecated-list-item.mdc-deprecated-list-item--selected::before{border-color:CanvasText}}[dir=rtl] .mdc-deprecated-list-item,.mdc-deprecated-list-item[dir=rtl]{padding-left:16px;padding-right:16px}.mdc-deprecated-list--icon-list .mdc-deprecated-list-item{padding-left:16px;padding-right:16px;height:56px}[dir=rtl] .mdc-deprecated-list--icon-list .mdc-deprecated-list-item,.mdc-deprecated-list--icon-list .mdc-deprecated-list-item[dir=rtl]{padding-left:16px;padding-right:16px}.mdc-deprecated-list--avatar-list .mdc-deprecated-list-item{padding-left:16px;padding-right:16px;height:56px}[dir=rtl] .mdc-deprecated-list--avatar-list .mdc-deprecated-list-item,.mdc-deprecated-list--avatar-list .mdc-deprecated-list-item[dir=rtl]{padding-left:16px;padding-right:16px}.mdc-deprecated-list--thumbnail-list .mdc-deprecated-list-item{padding-left:16px;padding-right:16px;height:56px}[dir=rtl] .mdc-deprecated-list--thumbnail-list .mdc-deprecated-list-item,.mdc-deprecated-list--thumbnail-list .mdc-deprecated-list-item[dir=rtl]{padding-left:16px;padding-right:16px}.mdc-deprecated-list--image-list .mdc-deprecated-list-item{padding-left:16px;padding-right:16px;height:72px}[dir=rtl] .mdc-deprecated-list--image-list .mdc-deprecated-list-item,.mdc-deprecated-list--image-list .mdc-deprecated-list-item[dir=rtl]{padding-left:16px;padding-right:16px}.mdc-deprecated-list--video-list .mdc-deprecated-list-item{padding-left:0px;padding-right:16px;height:72px}[dir=rtl] .mdc-deprecated-list--video-list .mdc-deprecated-list-item,.mdc-deprecated-list--video-list .mdc-deprecated-list-item[dir=rtl]{padding-left:16px;padding-right:0px}.mdc-deprecated-list--dense .mdc-deprecated-list-item__graphic{margin-left:0;margin-right:16px;width:20px;height:20px}[dir=rtl] .mdc-deprecated-list--dense .mdc-deprecated-list-item__graphic,.mdc-deprecated-list--dense .mdc-deprecated-list-item__graphic[dir=rtl]{margin-left:16px;margin-right:0}.mdc-deprecated-list-item__graphic{flex-shrink:0;align-items:center;justify-content:center;fill:currentColor;-o-object-fit:cover;object-fit:cover;margin-left:0;margin-right:32px;width:24px;height:24px}[dir=rtl] .mdc-deprecated-list-item__graphic,.mdc-deprecated-list-item__graphic[dir=rtl]{margin-left:32px;margin-right:0}.mdc-deprecated-list--icon-list .mdc-deprecated-list-item__graphic{margin-left:0;margin-right:32px;width:24px;height:24px}[dir=rtl] .mdc-deprecated-list--icon-list .mdc-deprecated-list-item__graphic,.mdc-deprecated-list--icon-list .mdc-deprecated-list-item__graphic[dir=rtl]{margin-left:32px;margin-right:0}.mdc-deprecated-list--avatar-list .mdc-deprecated-list-item__graphic{margin-left:0;margin-right:16px;width:40px;height:40px;border-radius:50%}[dir=rtl] .mdc-deprecated-list--avatar-list .mdc-deprecated-list-item__graphic,.mdc-deprecated-list--avatar-list .mdc-deprecated-list-item__graphic[dir=rtl]{margin-left:16px;margin-right:0}.mdc-deprecated-list--thumbnail-list .mdc-deprecated-list-item__graphic{margin-left:0;margin-right:16px;width:40px;height:40px}[dir=rtl] .mdc-deprecated-list--thumbnail-list .mdc-deprecated-list-item__graphic,.mdc-deprecated-list--thumbnail-list .mdc-deprecated-list-item__graphic[dir=rtl]{margin-left:16px;margin-right:0}.mdc-deprecated-list--image-list .mdc-deprecated-list-item__graphic{margin-left:0;margin-right:16px;width:56px;height:56px}[dir=rtl] .mdc-deprecated-list--image-list .mdc-deprecated-list-item__graphic,.mdc-deprecated-list--image-list .mdc-deprecated-list-item__graphic[dir=rtl]{margin-left:16px;margin-right:0}.mdc-deprecated-list--video-list .mdc-deprecated-list-item__graphic{margin-left:0;margin-right:16px;width:100px;height:56px}[dir=rtl] .mdc-deprecated-list--video-list .mdc-deprecated-list-item__graphic,.mdc-deprecated-list--video-list .mdc-deprecated-list-item__graphic[dir=rtl]{margin-left:16px;margin-right:0}.mdc-deprecated-list .mdc-deprecated-list-item__graphic{display:inline-flex}.mdc-deprecated-list-item__meta{margin-left:auto;margin-right:0}.mdc-deprecated-list-item__meta:not(.material-icons){-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-caption-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.75rem;font-size:var(--mdc-typography-caption-font-size, 0.75rem);line-height:1.25rem;line-height:var(--mdc-typography-caption-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-caption-font-weight, 400);letter-spacing:0.0333333333em;letter-spacing:var(--mdc-typography-caption-letter-spacing, 0.0333333333em);text-decoration:inherit;-webkit-text-decoration:var(--mdc-typography-caption-text-decoration, inherit);text-decoration:var(--mdc-typography-caption-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-caption-text-transform, inherit)}.mdc-deprecated-list-item[dir=rtl] .mdc-deprecated-list-item__meta,[dir=rtl] .mdc-deprecated-list-item .mdc-deprecated-list-item__meta{margin-left:0;margin-right:auto}.mdc-deprecated-list-item__text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mdc-deprecated-list-item__text[for]{pointer-events:none}.mdc-deprecated-list-item__primary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-deprecated-list-item__primary-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-deprecated-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-deprecated-list--video-list .mdc-deprecated-list-item__primary-text,.mdc-deprecated-list--image-list .mdc-deprecated-list-item__primary-text,.mdc-deprecated-list--thumbnail-list .mdc-deprecated-list-item__primary-text,.mdc-deprecated-list--avatar-list .mdc-deprecated-list-item__primary-text,.mdc-deprecated-list--icon-list .mdc-deprecated-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-deprecated-list--video-list .mdc-deprecated-list-item__primary-text::before,.mdc-deprecated-list--image-list .mdc-deprecated-list-item__primary-text::before,.mdc-deprecated-list--thumbnail-list .mdc-deprecated-list-item__primary-text::before,.mdc-deprecated-list--avatar-list .mdc-deprecated-list-item__primary-text::before,.mdc-deprecated-list--icon-list .mdc-deprecated-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-deprecated-list--video-list .mdc-deprecated-list-item__primary-text::after,.mdc-deprecated-list--image-list .mdc-deprecated-list-item__primary-text::after,.mdc-deprecated-list--thumbnail-list .mdc-deprecated-list-item__primary-text::after,.mdc-deprecated-list--avatar-list .mdc-deprecated-list-item__primary-text::after,.mdc-deprecated-list--icon-list .mdc-deprecated-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-deprecated-list--dense .mdc-deprecated-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-deprecated-list--dense .mdc-deprecated-list-item__primary-text::before{display:inline-block;width:0;height:24px;content:"";vertical-align:0}.mdc-deprecated-list--dense .mdc-deprecated-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-deprecated-list-item__secondary-text{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.875rem;font-size:var(--mdc-typography-body2-font-size, 0.875rem);line-height:1.25rem;line-height:var(--mdc-typography-body2-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:0.0178571429em;letter-spacing:var(--mdc-typography-body2-letter-spacing, 0.0178571429em);text-decoration:inherit;-webkit-text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-body2-text-transform, inherit);text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block;margin-top:0;line-height:normal}.mdc-deprecated-list-item__secondary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-deprecated-list--dense .mdc-deprecated-list-item__secondary-text{font-size:inherit}.mdc-deprecated-list--dense .mdc-deprecated-list-item{height:40px}.mdc-deprecated-list--two-line .mdc-deprecated-list-item__text{align-self:flex-start}.mdc-deprecated-list--two-line .mdc-deprecated-list-item{height:64px}.mdc-deprecated-list--two-line.mdc-deprecated-list--video-list .mdc-deprecated-list-item,.mdc-deprecated-list--two-line.mdc-deprecated-list--image-list .mdc-deprecated-list-item,.mdc-deprecated-list--two-line.mdc-deprecated-list--thumbnail-list .mdc-deprecated-list-item,.mdc-deprecated-list--two-line.mdc-deprecated-list--avatar-list .mdc-deprecated-list-item,.mdc-deprecated-list--two-line.mdc-deprecated-list--icon-list .mdc-deprecated-list-item{height:72px}.mdc-deprecated-list--two-line.mdc-deprecated-list--icon-list .mdc-deprecated-list-item__graphic{align-self:flex-start;margin-top:16px}.mdc-deprecated-list--two-line.mdc-deprecated-list--dense .mdc-deprecated-list-item,.mdc-deprecated-list--avatar-list.mdc-deprecated-list--dense .mdc-deprecated-list-item{height:60px}.mdc-deprecated-list--avatar-list.mdc-deprecated-list--dense .mdc-deprecated-list-item__graphic{margin-left:0;margin-right:16px;width:36px;height:36px}[dir=rtl] .mdc-deprecated-list--avatar-list.mdc-deprecated-list--dense .mdc-deprecated-list-item__graphic,.mdc-deprecated-list--avatar-list.mdc-deprecated-list--dense .mdc-deprecated-list-item__graphic[dir=rtl]{margin-left:16px;margin-right:0}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item{cursor:pointer}a.mdc-deprecated-list-item{color:inherit;text-decoration:none}.mdc-deprecated-list-divider{height:0;margin:0;border:none;border-bottom-width:1px;border-bottom-style:solid}.mdc-deprecated-list-divider{border-bottom-color:rgba(0, 0, 0, 0.12)}.mdc-deprecated-list-divider--padded{margin-left:16px;margin-right:0;width:calc(100% - 32px)}[dir=rtl] .mdc-deprecated-list-divider--padded,.mdc-deprecated-list-divider--padded[dir=rtl]{margin-left:0;margin-right:16px}.mdc-deprecated-list-divider--inset{margin-left:72px;margin-right:0;width:calc(100% - 72px)}[dir=rtl] .mdc-deprecated-list-divider--inset,.mdc-deprecated-list-divider--inset[dir=rtl]{margin-left:0;margin-right:72px}.mdc-deprecated-list-divider--inset.mdc-deprecated-list-divider--padded{margin-left:72px;margin-right:0;width:calc(100% - 88px)}[dir=rtl] .mdc-deprecated-list-divider--inset.mdc-deprecated-list-divider--padded,.mdc-deprecated-list-divider--inset.mdc-deprecated-list-divider--padded[dir=rtl]{margin-left:0;margin-right:72px}.mdc-deprecated-list .mdc-deprecated-list-divider--inset-leading{margin-left:16px;margin-right:0;width:calc(100% - 16px)}[dir=rtl] .mdc-deprecated-list .mdc-deprecated-list-divider--inset-leading,.mdc-deprecated-list .mdc-deprecated-list-divider--inset-leading[dir=rtl]{margin-left:0;margin-right:16px}.mdc-deprecated-list .mdc-deprecated-list-divider--inset-trailing{width:calc(100% - 16px)}.mdc-deprecated-list .mdc-deprecated-list-divider--inset-leading.mdc-deprecated-list-divider--inset-trailing{margin-left:16px;margin-right:0;width:calc(100% - 32px)}[dir=rtl] .mdc-deprecated-list .mdc-deprecated-list-divider--inset-leading.mdc-deprecated-list-divider--inset-trailing,.mdc-deprecated-list .mdc-deprecated-list-divider--inset-leading.mdc-deprecated-list-divider--inset-trailing[dir=rtl]{margin-left:0;margin-right:16px}.mdc-deprecated-list .mdc-deprecated-list-divider--inset-leading.mdc-deprecated-list-divider--padding{margin-left:16px;margin-right:0;width:calc(100% - 16px)}[dir=rtl] .mdc-deprecated-list .mdc-deprecated-list-divider--inset-leading.mdc-deprecated-list-divider--padding,.mdc-deprecated-list .mdc-deprecated-list-divider--inset-leading.mdc-deprecated-list-divider--padding[dir=rtl]{margin-left:0;margin-right:16px}.mdc-deprecated-list .mdc-deprecated-list-divider--inset-leading.mdc-deprecated-list-divider--inset-trailing.mdc-deprecated-list-divider--inset-padding{margin-left:16px;margin-right:0;width:calc(100% - 32px)}[dir=rtl] .mdc-deprecated-list .mdc-deprecated-list-divider--inset-leading.mdc-deprecated-list-divider--inset-trailing.mdc-deprecated-list-divider--inset-padding,.mdc-deprecated-list .mdc-deprecated-list-divider--inset-leading.mdc-deprecated-list-divider--inset-trailing.mdc-deprecated-list-divider--inset-padding[dir=rtl]{margin-left:0;margin-right:16px}.mdc-deprecated-list--icon-list .mdc-deprecated-list-divider--inset-leading{margin-left:72px;margin-right:0;width:calc(100% - 72px)}[dir=rtl] .mdc-deprecated-list--icon-list .mdc-deprecated-list-divider--inset-leading,.mdc-deprecated-list--icon-list .mdc-deprecated-list-divider--inset-leading[dir=rtl]{margin-left:0;margin-right:72px}.mdc-deprecated-list--icon-list .mdc-deprecated-list-divider--inset-trailing{width:calc(100% - 16px)}.mdc-deprecated-list--icon-list .mdc-deprecated-list-divider--inset-leading.mdc-deprecated-list-divider--inset-trailing{margin-left:72px;margin-right:0;width:calc(100% - 88px)}[dir=rtl] .mdc-deprecated-list--icon-list .mdc-deprecated-list-divider--inset-leading.mdc-deprecated-list-divider--inset-trailing,.mdc-deprecated-list--icon-list .mdc-deprecated-list-divider--inset-leading.mdc-deprecated-list-divider--inset-trailing[dir=rtl]{margin-left:0;margin-right:72px}.mdc-deprecated-list--icon-list .mdc-deprecated-list-divider--inset-leading.mdc-deprecated-list-divider--padding{margin-left:16px;margin-right:0;width:calc(100% - 16px)}[dir=rtl] .mdc-deprecated-list--icon-list .mdc-deprecated-list-divider--inset-leading.mdc-deprecated-list-divider--padding,.mdc-deprecated-list--icon-list .mdc-deprecated-list-divider--inset-leading.mdc-deprecated-list-divider--padding[dir=rtl]{margin-left:0;margin-right:16px}.mdc-deprecated-list--icon-list .mdc-deprecated-list-divider--inset-leading.mdc-deprecated-list-divider--inset-trailing.mdc-deprecated-list-divider--inset-padding{margin-left:16px;margin-right:0;width:calc(100% - 32px)}[dir=rtl] .mdc-deprecated-list--icon-list .mdc-deprecated-list-divider--inset-leading.mdc-deprecated-list-divider--inset-trailing.mdc-deprecated-list-divider--inset-padding,.mdc-deprecated-list--icon-list .mdc-deprecated-list-divider--inset-leading.mdc-deprecated-list-divider--inset-trailing.mdc-deprecated-list-divider--inset-padding[dir=rtl]{margin-left:0;margin-right:16px}.mdc-deprecated-list--avatar-list .mdc-deprecated-list-divider--inset-leading{margin-left:72px;margin-right:0;width:calc(100% - 72px)}[dir=rtl] .mdc-deprecated-list--avatar-list .mdc-deprecated-list-divider--inset-leading,.mdc-deprecated-list--avatar-list .mdc-deprecated-list-divider--inset-leading[dir=rtl]{margin-left:0;margin-right:72px}.mdc-deprecated-list--avatar-list .mdc-deprecated-list-divider--inset-trailing{width:calc(100% - 16px)}.mdc-deprecated-list--avatar-list .mdc-deprecated-list-divider--inset-leading.mdc-deprecated-list-divider--inset-trailing{margin-left:72px;margin-right:0;width:calc(100% - 88px)}[dir=rtl] .mdc-deprecated-list--avatar-list .mdc-deprecated-list-divider--inset-leading.mdc-deprecated-list-divider--inset-trailing,.mdc-deprecated-list--avatar-list .mdc-deprecated-list-divider--inset-leading.mdc-deprecated-list-divider--inset-trailing[dir=rtl]{margin-left:0;margin-right:72px}.mdc-deprecated-list--avatar-list .mdc-deprecated-list-divider--inset-leading.mdc-deprecated-list-divider--padding{margin-left:16px;margin-right:0;width:calc(100% - 16px)}[dir=rtl] .mdc-deprecated-list--avatar-list .mdc-deprecated-list-divider--inset-leading.mdc-deprecated-list-divider--padding,.mdc-deprecated-list--avatar-list .mdc-deprecated-list-divider--inset-leading.mdc-deprecated-list-divider--padding[dir=rtl]{margin-left:0;margin-right:16px}.mdc-deprecated-list--avatar-list .mdc-deprecated-list-divider--inset-leading.mdc-deprecated-list-divider--inset-trailing.mdc-deprecated-list-divider--inset-padding{margin-left:16px;margin-right:0;width:calc(100% - 32px)}[dir=rtl] .mdc-deprecated-list--avatar-list .mdc-deprecated-list-divider--inset-leading.mdc-deprecated-list-divider--inset-trailing.mdc-deprecated-list-divider--inset-padding,.mdc-deprecated-list--avatar-list .mdc-deprecated-list-divider--inset-leading.mdc-deprecated-list-divider--inset-trailing.mdc-deprecated-list-divider--inset-padding[dir=rtl]{margin-left:0;margin-right:16px}.mdc-deprecated-list--thumbnail-list .mdc-deprecated-list-divider--inset-leading{margin-left:72px;margin-right:0;width:calc(100% - 72px)}[dir=rtl] .mdc-deprecated-list--thumbnail-list .mdc-deprecated-list-divider--inset-leading,.mdc-deprecated-list--thumbnail-list .mdc-deprecated-list-divider--inset-leading[dir=rtl]{margin-left:0;margin-right:72px}.mdc-deprecated-list--thumbnail-list .mdc-deprecated-list-divider--inset-trailing{width:calc(100% - 16px)}.mdc-deprecated-list--thumbnail-list .mdc-deprecated-list-divider--inset-leading.mdc-deprecated-list-divider--inset-trailing{margin-left:72px;margin-right:0;width:calc(100% - 88px)}[dir=rtl] .mdc-deprecated-list--thumbnail-list .mdc-deprecated-list-divider--inset-leading.mdc-deprecated-list-divider--inset-trailing,.mdc-deprecated-list--thumbnail-list .mdc-deprecated-list-divider--inset-leading.mdc-deprecated-list-divider--inset-trailing[dir=rtl]{margin-left:0;margin-right:72px}.mdc-deprecated-list--thumbnail-list .mdc-deprecated-list-divider--inset-leading.mdc-deprecated-list-divider--padding{margin-left:16px;margin-right:0;width:calc(100% - 16px)}[dir=rtl] .mdc-deprecated-list--thumbnail-list .mdc-deprecated-list-divider--inset-leading.mdc-deprecated-list-divider--padding,.mdc-deprecated-list--thumbnail-list .mdc-deprecated-list-divider--inset-leading.mdc-deprecated-list-divider--padding[dir=rtl]{margin-left:0;margin-right:16px}.mdc-deprecated-list--thumbnail-list .mdc-deprecated-list-divider--inset-leading.mdc-deprecated-list-divider--inset-trailing.mdc-deprecated-list-divider--inset-padding{margin-left:16px;margin-right:0;width:calc(100% - 32px)}[dir=rtl] .mdc-deprecated-list--thumbnail-list .mdc-deprecated-list-divider--inset-leading.mdc-deprecated-list-divider--inset-trailing.mdc-deprecated-list-divider--inset-padding,.mdc-deprecated-list--thumbnail-list .mdc-deprecated-list-divider--inset-leading.mdc-deprecated-list-divider--inset-trailing.mdc-deprecated-list-divider--inset-padding[dir=rtl]{margin-left:0;margin-right:16px}.mdc-deprecated-list--image-list .mdc-deprecated-list-divider--inset-leading{margin-left:88px;margin-right:0;width:calc(100% - 88px)}[dir=rtl] .mdc-deprecated-list--image-list .mdc-deprecated-list-divider--inset-leading,.mdc-deprecated-list--image-list .mdc-deprecated-list-divider--inset-leading[dir=rtl]{margin-left:0;margin-right:88px}.mdc-deprecated-list--image-list .mdc-deprecated-list-divider--inset-trailing{width:calc(100% - 16px)}.mdc-deprecated-list--image-list .mdc-deprecated-list-divider--inset-leading.mdc-deprecated-list-divider--inset-trailing{margin-left:88px;margin-right:0;width:calc(100% - 104px)}[dir=rtl] .mdc-deprecated-list--image-list .mdc-deprecated-list-divider--inset-leading.mdc-deprecated-list-divider--inset-trailing,.mdc-deprecated-list--image-list .mdc-deprecated-list-divider--inset-leading.mdc-deprecated-list-divider--inset-trailing[dir=rtl]{margin-left:0;margin-right:88px}.mdc-deprecated-list--image-list .mdc-deprecated-list-divider--inset-leading.mdc-deprecated-list-divider--padding{margin-left:16px;margin-right:0;width:calc(100% - 16px)}[dir=rtl] .mdc-deprecated-list--image-list .mdc-deprecated-list-divider--inset-leading.mdc-deprecated-list-divider--padding,.mdc-deprecated-list--image-list .mdc-deprecated-list-divider--inset-leading.mdc-deprecated-list-divider--padding[dir=rtl]{margin-left:0;margin-right:16px}.mdc-deprecated-list--image-list .mdc-deprecated-list-divider--inset-leading.mdc-deprecated-list-divider--inset-trailing.mdc-deprecated-list-divider--inset-padding{margin-left:16px;margin-right:0;width:calc(100% - 32px)}[dir=rtl] .mdc-deprecated-list--image-list .mdc-deprecated-list-divider--inset-leading.mdc-deprecated-list-divider--inset-trailing.mdc-deprecated-list-divider--inset-padding,.mdc-deprecated-list--image-list .mdc-deprecated-list-divider--inset-leading.mdc-deprecated-list-divider--inset-trailing.mdc-deprecated-list-divider--inset-padding[dir=rtl]{margin-left:0;margin-right:16px}.mdc-deprecated-list--video-list .mdc-deprecated-list-divider--inset-leading{margin-left:116px;margin-right:0;width:calc(100% - 116px)}[dir=rtl] .mdc-deprecated-list--video-list .mdc-deprecated-list-divider--inset-leading,.mdc-deprecated-list--video-list .mdc-deprecated-list-divider--inset-leading[dir=rtl]{margin-left:0;margin-right:116px}.mdc-deprecated-list--video-list .mdc-deprecated-list-divider--inset-trailing{width:calc(100% - 16px)}.mdc-deprecated-list--video-list .mdc-deprecated-list-divider--inset-leading.mdc-deprecated-list-divider--inset-trailing{margin-left:116px;margin-right:0;width:calc(100% - 132px)}[dir=rtl] .mdc-deprecated-list--video-list .mdc-deprecated-list-divider--inset-leading.mdc-deprecated-list-divider--inset-trailing,.mdc-deprecated-list--video-list .mdc-deprecated-list-divider--inset-leading.mdc-deprecated-list-divider--inset-trailing[dir=rtl]{margin-left:0;margin-right:116px}.mdc-deprecated-list--video-list .mdc-deprecated-list-divider--inset-leading.mdc-deprecated-list-divider--padding{margin-left:0px;margin-right:0;width:calc(100% - 0px)}[dir=rtl] .mdc-deprecated-list--video-list .mdc-deprecated-list-divider--inset-leading.mdc-deprecated-list-divider--padding,.mdc-deprecated-list--video-list .mdc-deprecated-list-divider--inset-leading.mdc-deprecated-list-divider--padding[dir=rtl]{margin-left:0;margin-right:0px}.mdc-deprecated-list--video-list .mdc-deprecated-list-divider--inset-leading.mdc-deprecated-list-divider--inset-trailing.mdc-deprecated-list-divider--inset-padding{margin-left:0px;margin-right:0;width:calc(100% - 16px)}[dir=rtl] .mdc-deprecated-list--video-list .mdc-deprecated-list-divider--inset-leading.mdc-deprecated-list-divider--inset-trailing.mdc-deprecated-list-divider--inset-padding,.mdc-deprecated-list--video-list .mdc-deprecated-list-divider--inset-leading.mdc-deprecated-list-divider--inset-trailing.mdc-deprecated-list-divider--inset-padding[dir=rtl]{margin-left:0;margin-right:0px}.mdc-deprecated-list-group .mdc-deprecated-list{padding:0}.mdc-deprecated-list-group__subheader{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-subtitle1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:1rem;font-size:var(--mdc-typography-subtitle1-font-size, 1rem);line-height:1.75rem;line-height:var(--mdc-typography-subtitle1-line-height, 1.75rem);font-weight:400;font-weight:var(--mdc-typography-subtitle1-font-weight, 400);letter-spacing:0.009375em;letter-spacing:var(--mdc-typography-subtitle1-letter-spacing, 0.009375em);text-decoration:inherit;-webkit-text-decoration:var(--mdc-typography-subtitle1-text-decoration, inherit);text-decoration:var(--mdc-typography-subtitle1-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-subtitle1-text-transform, inherit);margin:calc((3rem - 1.5rem)/2) 16px}.mdc-list-item__primary-text{color:rgba(0, 0, 0, 0.87);color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, 0.87))}.mdc-list-item__secondary-text{color:rgba(0, 0, 0, 0.54);color:var(--mdc-theme-text-secondary-on-background, rgba(0, 0, 0, 0.54))}.mdc-list-item__overline-text{color:rgba(0, 0, 0, 0.38);color:var(--mdc-theme-text-hint-on-background, rgba(0, 0, 0, 0.38))}.mdc-list-item--with-leading-icon .mdc-list-item__start,.mdc-list-item--with-trailing-icon .mdc-list-item__end{background-color:transparent}.mdc-list-item--with-leading-icon .mdc-list-item__start,.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:rgba(0, 0, 0, 0.38);color:var(--mdc-theme-text-icon-on-background, rgba(0, 0, 0, 0.38))}.mdc-list-item__end{color:rgba(0, 0, 0, 0.38);color:var(--mdc-theme-text-hint-on-background, rgba(0, 0, 0, 0.38))}.mdc-list-item--disabled .mdc-list-item__start,.mdc-list-item--disabled .mdc-list-item__content,.mdc-list-item--disabled .mdc-list-item__end{opacity:.38}.mdc-list-item--disabled .mdc-list-item__primary-text{color:#000;color:var(--mdc-theme-on-surface, #000)}.mdc-list-item--disabled .mdc-list-item__secondary-text{color:#000;color:var(--mdc-theme-on-surface, #000)}.mdc-list-item--disabled .mdc-list-item__overline-text{color:#000;color:var(--mdc-theme-on-surface, #000)}.mdc-list-item--disabled.mdc-list-item--with-leading-icon .mdc-list-item__start{color:#000;color:var(--mdc-theme-on-surface, #000)}.mdc-list-item--disabled.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:#000;color:var(--mdc-theme-on-surface, #000)}.mdc-list-item--disabled.mdc-list-item--with-trailing-meta .mdc-list-item__end{color:#000;color:var(--mdc-theme-on-surface, #000)}.mdc-list-item--selected .mdc-list-item__primary-text,.mdc-list-item--activated .mdc-list-item__primary-text{color:#6200ee;color:var(--mdc-theme-primary, #6200ee)}.mdc-list-item--selected.mdc-list-item--with-leading-icon .mdc-list-item__start,.mdc-list-item--activated.mdc-list-item--with-leading-icon .mdc-list-item__start{color:#6200ee;color:var(--mdc-theme-primary, #6200ee)}.mdc-deprecated-list-group__subheader{color:rgba(0, 0, 0, 0.87);color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, 0.87))}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-list-divider::after{content:"";display:block;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:white}}.mdc-list{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-subtitle1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:1rem;font-size:var(--mdc-typography-subtitle1-font-size, 1rem);line-height:1.75rem;line-height:var(--mdc-typography-subtitle1-line-height, 1.75rem);font-weight:400;font-weight:var(--mdc-typography-subtitle1-font-weight, 400);letter-spacing:0.009375em;letter-spacing:var(--mdc-typography-subtitle1-letter-spacing, 0.009375em);text-decoration:inherit;-webkit-text-decoration:var(--mdc-typography-subtitle1-text-decoration, inherit);text-decoration:var(--mdc-typography-subtitle1-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-subtitle1-text-transform, inherit);line-height:1.5rem;margin:0;padding:8px 0;list-style-type:none}.mdc-list:focus{outline:none}.mdc-list-item__wrapper{display:block}.mdc-list-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;align-items:stretch;cursor:pointer}.mdc-list-item:focus{outline:none}.mdc-list-item.mdc-list-item--with-one-line{height:48px}.mdc-list-item.mdc-list-item--with-two-lines{height:64px}.mdc-list-item.mdc-list-item--with-three-lines{height:88px}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__start{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--disabled,.mdc-list-item.mdc-list-item--non-interactive{cursor:auto}.mdc-list-item:not(.mdc-list-item--selected):focus::before,.mdc-list-item.mdc-ripple-upgraded--background-focused::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid transparent;border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-list-item:not(.mdc-list-item--selected):focus::before,.mdc-list-item.mdc-ripple-upgraded--background-focused::before{border-color:CanvasText}}.mdc-list-item.mdc-list-item--selected::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:3px double transparent;border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-list-item.mdc-list-item--selected::before{border-color:CanvasText}}.mdc-list-item.mdc-list-item--selected:focus::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:3px solid transparent;border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-list-item.mdc-list-item--selected:focus::before{border-color:CanvasText}}a.mdc-list-item{color:inherit;text-decoration:none}.mdc-list-item__start{fill:currentColor;flex-shrink:0;pointer-events:none}.mdc-list-item__end{flex-shrink:0;pointer-events:none}.mdc-list-item__content{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;align-self:center;flex:1;pointer-events:none}.mdc-list-item--with-two-lines .mdc-list-item__content,.mdc-list-item--with-three-lines .mdc-list-item__content{align-self:stretch}.mdc-list-item__content[for]{pointer-events:none}.mdc-list-item__primary-text{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-subtitle1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:1rem;font-size:var(--mdc-typography-subtitle1-font-size, 1rem);line-height:1.75rem;line-height:var(--mdc-typography-subtitle1-line-height, 1.75rem);font-weight:400;font-weight:var(--mdc-typography-subtitle1-font-weight, 400);letter-spacing:0.009375em;letter-spacing:var(--mdc-typography-subtitle1-letter-spacing, 0.009375em);text-decoration:inherit;-webkit-text-decoration:var(--mdc-typography-subtitle1-text-decoration, inherit);text-decoration:var(--mdc-typography-subtitle1-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-subtitle1-text-transform, inherit);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-three-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item__secondary-text{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.875rem;font-size:var(--mdc-typography-body2-font-size, 0.875rem);line-height:1.25rem;line-height:var(--mdc-typography-body2-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:0.0178571429em;letter-spacing:var(--mdc-typography-body2-letter-spacing, 0.0178571429em);text-decoration:inherit;-webkit-text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-body2-text-transform, inherit);text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block;margin-top:0;line-height:normal}.mdc-list-item__secondary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-list-item--with-three-lines .mdc-list-item__secondary-text{white-space:normal;line-height:20px}.mdc-list-item--with-overline .mdc-list-item__secondary-text{white-space:nowrap;line-height:auto}.mdc-list-item__overline-text{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-overline-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.75rem;font-size:var(--mdc-typography-overline-font-size, 0.75rem);line-height:2rem;line-height:var(--mdc-typography-overline-line-height, 2rem);font-weight:500;font-weight:var(--mdc-typography-overline-font-weight, 500);letter-spacing:0.1666666667em;letter-spacing:var(--mdc-typography-overline-letter-spacing, 0.1666666667em);text-decoration:none;-webkit-text-decoration:var(--mdc-typography-overline-text-decoration, none);text-decoration:var(--mdc-typography-overline-text-decoration, none);text-transform:uppercase;text-transform:var(--mdc-typography-overline-text-transform, uppercase);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:24px;content:"";vertical-align:0}.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-three-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-three-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-three-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-avatar.mdc-list-item,.mdc-list-item--with-leading-avatar.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-avatar .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-avatar .mdc-list-item__start,.mdc-list-item--with-leading-avatar .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-avatar .mdc-list-item__start{width:40px;height:40px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-avatar.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-avatar .mdc-list-item__start{border-radius:50%}.mdc-list-item--with-leading-icon .mdc-list-item__start{width:24px;height:24px}.mdc-list-item--with-leading-icon.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-icon.mdc-list-item,.mdc-list-item--with-leading-icon.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-icon .mdc-list-item__start{margin-left:16px;margin-right:32px}[dir=rtl] .mdc-list-item--with-leading-icon .mdc-list-item__start,.mdc-list-item--with-leading-icon .mdc-list-item__start[dir=rtl]{margin-left:32px;margin-right:16px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-icon.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-thumbnail.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-thumbnail.mdc-list-item,.mdc-list-item--with-leading-thumbnail.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-thumbnail .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-thumbnail .mdc-list-item__start,.mdc-list-item--with-leading-thumbnail .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-thumbnail .mdc-list-item__start{width:40px;height:40px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-image.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-image.mdc-list-item,.mdc-list-item--with-leading-image.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-image .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-image .mdc-list-item__start,.mdc-list-item--with-leading-image .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-image .mdc-list-item__start{width:56px;height:56px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-image.mdc-list-item--with-one-line{height:72px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-video.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-video.mdc-list-item,.mdc-list-item--with-leading-video.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-video .mdc-list-item__start{margin-left:0;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-video .mdc-list-item__start,.mdc-list-item--with-leading-video .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:0}.mdc-list-item--with-leading-video .mdc-list-item__start{width:100px;height:56px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-video.mdc-list-item--with-one-line{height:72px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-checkbox.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-checkbox.mdc-list-item,.mdc-list-item--with-leading-checkbox.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-checkbox .mdc-list-item__start{margin-left:8px;margin-right:24px}[dir=rtl] .mdc-list-item--with-leading-checkbox .mdc-list-item__start,.mdc-list-item--with-leading-checkbox .mdc-list-item__start[dir=rtl]{margin-left:24px;margin-right:8px}.mdc-list-item--with-leading-checkbox .mdc-list-item__start{width:40px;height:40px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-radio.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-radio.mdc-list-item,.mdc-list-item--with-leading-radio.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-radio .mdc-list-item__start{margin-left:8px;margin-right:24px}[dir=rtl] .mdc-list-item--with-leading-radio .mdc-list-item__start,.mdc-list-item--with-leading-radio .mdc-list-item__start[dir=rtl]{margin-left:24px;margin-right:8px}.mdc-list-item--with-leading-radio .mdc-list-item__start{width:40px;height:40px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-switch.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-switch.mdc-list-item,.mdc-list-item--with-leading-switch.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-switch .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-switch .mdc-list-item__start,.mdc-list-item--with-leading-switch .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-switch .mdc-list-item__start{width:36px;height:20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-switch.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-trailing-icon.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-icon.mdc-list-item,.mdc-list-item--with-trailing-icon.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-icon .mdc-list-item__end{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-icon .mdc-list-item__end,.mdc-list-item--with-trailing-icon .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-trailing-icon .mdc-list-item__end{width:24px;height:24px}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end{align-self:flex-start;margin-top:0}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:0}.mdc-list-item--with-trailing-meta.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-meta.mdc-list-item,.mdc-list-item--with-trailing-meta.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-meta .mdc-list-item__end{margin-left:28px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-meta .mdc-list-item__end,.mdc-list-item--with-trailing-meta .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:28px}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-trailing-meta .mdc-list-item__end{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-caption-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.75rem;font-size:var(--mdc-typography-caption-font-size, 0.75rem);line-height:1.25rem;line-height:var(--mdc-typography-caption-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-caption-font-weight, 400);letter-spacing:0.0333333333em;letter-spacing:var(--mdc-typography-caption-letter-spacing, 0.0333333333em);text-decoration:inherit;-webkit-text-decoration:var(--mdc-typography-caption-text-decoration, inherit);text-decoration:var(--mdc-typography-caption-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-caption-text-transform, inherit)}.mdc-list-item--with-trailing-checkbox.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item,.mdc-list-item--with-trailing-checkbox.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-checkbox .mdc-list-item__end{margin-left:24px;margin-right:8px}[dir=rtl] .mdc-list-item--with-trailing-checkbox .mdc-list-item__end,.mdc-list-item--with-trailing-checkbox .mdc-list-item__end[dir=rtl]{margin-left:8px;margin-right:24px}.mdc-list-item--with-trailing-checkbox .mdc-list-item__end{width:40px;height:40px}.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:8px}.mdc-list-item--with-trailing-radio.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item,.mdc-list-item--with-trailing-radio.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-radio .mdc-list-item__end{margin-left:24px;margin-right:8px}[dir=rtl] .mdc-list-item--with-trailing-radio .mdc-list-item__end,.mdc-list-item--with-trailing-radio .mdc-list-item__end[dir=rtl]{margin-left:8px;margin-right:24px}.mdc-list-item--with-trailing-radio .mdc-list-item__end{width:40px;height:40px}.mdc-list-item--with-trailing-radio.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:8px}.mdc-list-item--with-trailing-switch.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-switch.mdc-list-item,.mdc-list-item--with-trailing-switch.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-switch .mdc-list-item__end{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-switch .mdc-list-item__end,.mdc-list-item--with-trailing-switch .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-trailing-switch .mdc-list-item__end{width:36px;height:20px}.mdc-list-item--with-trailing-switch.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:16px}.mdc-list-item--with-overline.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-overline.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-list-item--with-overline.mdc-list-item--with-three-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-overline.mdc-list-item--with-three-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-list-item{padding-left:16px;padding-right:16px}[dir=rtl] .mdc-list-item,.mdc-list-item[dir=rtl]{padding-left:16px;padding-right:16px}.mdc-list-group .mdc-deprecated-list{padding:0}.mdc-list-group__subheader{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-subtitle1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:1rem;font-size:var(--mdc-typography-subtitle1-font-size, 1rem);line-height:1.75rem;line-height:var(--mdc-typography-subtitle1-line-height, 1.75rem);font-weight:400;font-weight:var(--mdc-typography-subtitle1-font-weight, 400);letter-spacing:0.009375em;letter-spacing:var(--mdc-typography-subtitle1-letter-spacing, 0.009375em);text-decoration:inherit;-webkit-text-decoration:var(--mdc-typography-subtitle1-text-decoration, inherit);text-decoration:var(--mdc-typography-subtitle1-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-subtitle1-text-transform, inherit);margin:calc((3rem - 1.5rem)/2) 16px}.mdc-list-divider{background-color:rgba(0, 0, 0, 0.12)}.mdc-list-divider{height:1px}.mdc-list-divider{padding:0;background-clip:content-box}.mdc-list-divider.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset{padding-left:16px;padding-right:auto}[dir=rtl] .mdc-list-divider.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset,.mdc-list-divider.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset[dir=rtl]{padding-left:auto;padding-right:16px}.mdc-list-divider.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset{padding-left:auto;padding-right:16px}[dir=rtl] .mdc-list-divider.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset,.mdc-list-divider.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset[dir=rtl]{padding-left:16px;padding-right:auto}.mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset{padding-left:0px;padding-right:auto}[dir=rtl] .mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset[dir=rtl]{padding-left:auto;padding-right:0px}[dir=rtl] .mdc-list-divider,.mdc-list-divider[dir=rtl]{padding:0}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item{--mdc-ripple-fg-size: 0;--mdc-ripple-left: 0;--mdc-ripple-top: 0;--mdc-ripple-fg-scale: 1;--mdc-ripple-fg-translate-end: 0;--mdc-ripple-fg-translate-start: 0;-webkit-tap-highlight-color:rgba(0,0,0,0);will-change:transform,opacity;--mdc-ripple-fg-size: 0;--mdc-ripple-left: 0;--mdc-ripple-top: 0;--mdc-ripple-fg-scale: 1;--mdc-ripple-fg-translate-end: 0;--mdc-ripple-fg-translate-start: 0;-webkit-tap-highlight-color:rgba(0,0,0,0);will-change:transform,opacity}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item .mdc-deprecated-list-item__ripple::before,:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item .mdc-deprecated-list-item__ripple::after{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:""}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item .mdc-deprecated-list-item__ripple::before{transition:opacity 15ms linear,background-color 15ms linear;z-index:1;z-index:var(--mdc-ripple-z-index, 1)}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item .mdc-deprecated-list-item__ripple::after{z-index:0;z-index:var(--mdc-ripple-z-index, 0)}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item.mdc-ripple-upgraded .mdc-deprecated-list-item__ripple::before{-webkit-transform:scale(var(--mdc-ripple-fg-scale, 1));transform:scale(var(--mdc-ripple-fg-scale, 1))}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item.mdc-ripple-upgraded .mdc-deprecated-list-item__ripple::after{top:0;left:0;-webkit-transform:scale(0);transform:scale(0);-webkit-transform-origin:center center;transform-origin:center center}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item.mdc-ripple-upgraded--unbounded .mdc-deprecated-list-item__ripple::after{top:var(--mdc-ripple-top, 0);left:var(--mdc-ripple-left, 0)}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item.mdc-ripple-upgraded--foreground-activation .mdc-deprecated-list-item__ripple::after{-webkit-animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards;animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item.mdc-ripple-upgraded--foreground-deactivation .mdc-deprecated-list-item__ripple::after{-webkit-animation:mdc-ripple-fg-opacity-out 150ms;animation:mdc-ripple-fg-opacity-out 150ms;-webkit-transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1));transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item .mdc-list-item__ripple::before,:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item .mdc-list-item__ripple::after{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:""}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item .mdc-list-item__ripple::before{transition:opacity 15ms linear,background-color 15ms linear;z-index:1;z-index:var(--mdc-ripple-z-index, 1)}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item .mdc-list-item__ripple::after{z-index:0;z-index:var(--mdc-ripple-z-index, 0)}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item.mdc-ripple-upgraded .mdc-list-item__ripple::before{-webkit-transform:scale(var(--mdc-ripple-fg-scale, 1));transform:scale(var(--mdc-ripple-fg-scale, 1))}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item.mdc-ripple-upgraded .mdc-list-item__ripple::after{top:0;left:0;-webkit-transform:scale(0);transform:scale(0);-webkit-transform-origin:center center;transform-origin:center center}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item.mdc-ripple-upgraded--unbounded .mdc-list-item__ripple::after{top:var(--mdc-ripple-top, 0);left:var(--mdc-ripple-left, 0)}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item.mdc-ripple-upgraded--foreground-activation .mdc-list-item__ripple::after{-webkit-animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards;animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item.mdc-ripple-upgraded--foreground-deactivation .mdc-list-item__ripple::after{-webkit-animation:mdc-ripple-fg-opacity-out 150ms;animation:mdc-ripple-fg-opacity-out 150ms;-webkit-transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1));transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item .mdc-deprecated-list-item__ripple::before,:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item .mdc-deprecated-list-item__ripple::after{top:calc(50% - 100%);left:calc(50% - 100%);width:200%;height:200%}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item.mdc-ripple-upgraded .mdc-deprecated-list-item__ripple::after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item .mdc-list-item__ripple::before,:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item .mdc-list-item__ripple::after{top:calc(50% - 100%);left:calc(50% - 100%);width:200%;height:200%}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item.mdc-ripple-upgraded .mdc-list-item__ripple::after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item .mdc-deprecated-list-item__ripple::before,:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item .mdc-deprecated-list-item__ripple::after{background-color:#000;background-color:var(--mdc-ripple-color, #000)}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item:hover .mdc-deprecated-list-item__ripple::before,:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item.mdc-ripple-surface--hover .mdc-deprecated-list-item__ripple::before{opacity:0.04;opacity:var(--mdc-ripple-hover-opacity, 0.04)}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item.mdc-ripple-upgraded--background-focused .mdc-deprecated-list-item__ripple::before,:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item:not(.mdc-ripple-upgraded):focus .mdc-deprecated-list-item__ripple::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-opacity, 0.12)}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item:not(.mdc-ripple-upgraded) .mdc-deprecated-list-item__ripple::after{transition:opacity 150ms linear}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item:not(.mdc-ripple-upgraded):active .mdc-deprecated-list-item__ripple::after{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-press-opacity, 0.12)}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item .mdc-list-item__ripple::before,:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item .mdc-list-item__ripple::after{background-color:#000;background-color:var(--mdc-ripple-color, #000)}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item:hover .mdc-list-item__ripple::before,:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item.mdc-ripple-surface--hover .mdc-list-item__ripple::before{opacity:0.04;opacity:var(--mdc-ripple-hover-opacity, 0.04)}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item.mdc-ripple-upgraded--background-focused .mdc-list-item__ripple::before,:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item:not(.mdc-ripple-upgraded):focus .mdc-list-item__ripple::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-opacity, 0.12)}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item:not(.mdc-ripple-upgraded) .mdc-list-item__ripple::after{transition:opacity 150ms linear}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item:not(.mdc-ripple-upgraded):active .mdc-list-item__ripple::after{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-press-opacity, 0.12)}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item--activated .mdc-deprecated-list-item__ripple::before{opacity:0.12;opacity:var(--mdc-ripple-activated-opacity, 0.12)}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item--activated .mdc-deprecated-list-item__ripple::before,:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item--activated .mdc-deprecated-list-item__ripple::after{background-color:#6200ee;background-color:var(--mdc-ripple-color, var(--mdc-theme-primary, #6200ee))}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item--activated:hover .mdc-deprecated-list-item__ripple::before,:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item--activated.mdc-ripple-surface--hover .mdc-deprecated-list-item__ripple::before{opacity:0.16;opacity:var(--mdc-ripple-hover-opacity, 0.16)}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item--activated.mdc-ripple-upgraded--background-focused .mdc-deprecated-list-item__ripple::before,:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item--activated:not(.mdc-ripple-upgraded):focus .mdc-deprecated-list-item__ripple::before{transition-duration:75ms;opacity:0.24;opacity:var(--mdc-ripple-focus-opacity, 0.24)}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item--activated:not(.mdc-ripple-upgraded) .mdc-deprecated-list-item__ripple::after{transition:opacity 150ms linear}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item--activated:not(.mdc-ripple-upgraded):active .mdc-deprecated-list-item__ripple::after{transition-duration:75ms;opacity:0.24;opacity:var(--mdc-ripple-press-opacity, 0.24)}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item--activated.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.24)}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item--activated .mdc-list-item__ripple::before{opacity:0.12;opacity:var(--mdc-ripple-activated-opacity, 0.12)}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item--activated .mdc-list-item__ripple::before,:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item--activated .mdc-list-item__ripple::after{background-color:#6200ee;background-color:var(--mdc-ripple-color, var(--mdc-theme-primary, #6200ee))}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item--activated:hover .mdc-list-item__ripple::before,:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item--activated.mdc-ripple-surface--hover .mdc-list-item__ripple::before{opacity:0.16;opacity:var(--mdc-ripple-hover-opacity, 0.16)}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item--activated.mdc-ripple-upgraded--background-focused .mdc-list-item__ripple::before,:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item--activated:not(.mdc-ripple-upgraded):focus .mdc-list-item__ripple::before{transition-duration:75ms;opacity:0.24;opacity:var(--mdc-ripple-focus-opacity, 0.24)}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item--activated:not(.mdc-ripple-upgraded) .mdc-list-item__ripple::after{transition:opacity 150ms linear}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item--activated:not(.mdc-ripple-upgraded):active .mdc-list-item__ripple::after{transition-duration:75ms;opacity:0.24;opacity:var(--mdc-ripple-press-opacity, 0.24)}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item--activated.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.24)}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item--selected .mdc-deprecated-list-item__ripple::before{opacity:0.08;opacity:var(--mdc-ripple-selected-opacity, 0.08)}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item--selected .mdc-deprecated-list-item__ripple::before,:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item--selected .mdc-deprecated-list-item__ripple::after{background-color:#6200ee;background-color:var(--mdc-ripple-color, var(--mdc-theme-primary, #6200ee))}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item--selected:hover .mdc-deprecated-list-item__ripple::before,:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item--selected.mdc-ripple-surface--hover .mdc-deprecated-list-item__ripple::before{opacity:0.12;opacity:var(--mdc-ripple-hover-opacity, 0.12)}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item--selected.mdc-ripple-upgraded--background-focused .mdc-deprecated-list-item__ripple::before,:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item--selected:not(.mdc-ripple-upgraded):focus .mdc-deprecated-list-item__ripple::before{transition-duration:75ms;opacity:0.2;opacity:var(--mdc-ripple-focus-opacity, 0.2)}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item--selected:not(.mdc-ripple-upgraded) .mdc-deprecated-list-item__ripple::after{transition:opacity 150ms linear}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item--selected:not(.mdc-ripple-upgraded):active .mdc-deprecated-list-item__ripple::after{transition-duration:75ms;opacity:0.2;opacity:var(--mdc-ripple-press-opacity, 0.2)}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item--selected.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.2)}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item--selected .mdc-list-item__ripple::before{opacity:0.08;opacity:var(--mdc-ripple-selected-opacity, 0.08)}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item--selected .mdc-list-item__ripple::before,:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item--selected .mdc-list-item__ripple::after{background-color:#6200ee;background-color:var(--mdc-ripple-color, var(--mdc-theme-primary, #6200ee))}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item--selected:hover .mdc-list-item__ripple::before,:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item--selected.mdc-ripple-surface--hover .mdc-list-item__ripple::before{opacity:0.12;opacity:var(--mdc-ripple-hover-opacity, 0.12)}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item--selected.mdc-ripple-upgraded--background-focused .mdc-list-item__ripple::before,:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item--selected:not(.mdc-ripple-upgraded):focus .mdc-list-item__ripple::before{transition-duration:75ms;opacity:0.2;opacity:var(--mdc-ripple-focus-opacity, 0.2)}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item--selected:not(.mdc-ripple-upgraded) .mdc-list-item__ripple::after{transition:opacity 150ms linear}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item--selected:not(.mdc-ripple-upgraded):active .mdc-list-item__ripple::after{transition-duration:75ms;opacity:0.2;opacity:var(--mdc-ripple-press-opacity, 0.2)}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item--selected.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.2)}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item .mdc-deprecated-list-item__ripple,:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item .mdc-list-item__ripple{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none}.mdc-deprecated-list-item--disabled{--mdc-ripple-fg-size: 0;--mdc-ripple-left: 0;--mdc-ripple-top: 0;--mdc-ripple-fg-scale: 1;--mdc-ripple-fg-translate-end: 0;--mdc-ripple-fg-translate-start: 0;-webkit-tap-highlight-color:rgba(0,0,0,0);will-change:transform,opacity;--mdc-ripple-fg-size: 0;--mdc-ripple-left: 0;--mdc-ripple-top: 0;--mdc-ripple-fg-scale: 1;--mdc-ripple-fg-translate-end: 0;--mdc-ripple-fg-translate-start: 0;-webkit-tap-highlight-color:rgba(0,0,0,0);will-change:transform,opacity}.mdc-deprecated-list-item--disabled .mdc-deprecated-list-item__ripple::before,.mdc-deprecated-list-item--disabled .mdc-deprecated-list-item__ripple::after{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:""}.mdc-deprecated-list-item--disabled .mdc-deprecated-list-item__ripple::before{transition:opacity 15ms linear,background-color 15ms linear;z-index:1;z-index:var(--mdc-ripple-z-index, 1)}.mdc-deprecated-list-item--disabled .mdc-deprecated-list-item__ripple::after{z-index:0;z-index:var(--mdc-ripple-z-index, 0)}.mdc-deprecated-list-item--disabled.mdc-ripple-upgraded .mdc-deprecated-list-item__ripple::before{-webkit-transform:scale(var(--mdc-ripple-fg-scale, 1));transform:scale(var(--mdc-ripple-fg-scale, 1))}.mdc-deprecated-list-item--disabled.mdc-ripple-upgraded .mdc-deprecated-list-item__ripple::after{top:0;left:0;-webkit-transform:scale(0);transform:scale(0);-webkit-transform-origin:center center;transform-origin:center center}.mdc-deprecated-list-item--disabled.mdc-ripple-upgraded--unbounded .mdc-deprecated-list-item__ripple::after{top:var(--mdc-ripple-top, 0);left:var(--mdc-ripple-left, 0)}.mdc-deprecated-list-item--disabled.mdc-ripple-upgraded--foreground-activation .mdc-deprecated-list-item__ripple::after{-webkit-animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards;animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards}.mdc-deprecated-list-item--disabled.mdc-ripple-upgraded--foreground-deactivation .mdc-deprecated-list-item__ripple::after{-webkit-animation:mdc-ripple-fg-opacity-out 150ms;animation:mdc-ripple-fg-opacity-out 150ms;-webkit-transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1));transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}.mdc-deprecated-list-item--disabled .mdc-list-item__ripple::before,.mdc-deprecated-list-item--disabled .mdc-list-item__ripple::after{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:""}.mdc-deprecated-list-item--disabled .mdc-list-item__ripple::before{transition:opacity 15ms linear,background-color 15ms linear;z-index:1;z-index:var(--mdc-ripple-z-index, 1)}.mdc-deprecated-list-item--disabled .mdc-list-item__ripple::after{z-index:0;z-index:var(--mdc-ripple-z-index, 0)}.mdc-deprecated-list-item--disabled.mdc-ripple-upgraded .mdc-list-item__ripple::before{-webkit-transform:scale(var(--mdc-ripple-fg-scale, 1));transform:scale(var(--mdc-ripple-fg-scale, 1))}.mdc-deprecated-list-item--disabled.mdc-ripple-upgraded .mdc-list-item__ripple::after{top:0;left:0;-webkit-transform:scale(0);transform:scale(0);-webkit-transform-origin:center center;transform-origin:center center}.mdc-deprecated-list-item--disabled.mdc-ripple-upgraded--unbounded .mdc-list-item__ripple::after{top:var(--mdc-ripple-top, 0);left:var(--mdc-ripple-left, 0)}.mdc-deprecated-list-item--disabled.mdc-ripple-upgraded--foreground-activation .mdc-list-item__ripple::after{-webkit-animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards;animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards}.mdc-deprecated-list-item--disabled.mdc-ripple-upgraded--foreground-deactivation .mdc-list-item__ripple::after{-webkit-animation:mdc-ripple-fg-opacity-out 150ms;animation:mdc-ripple-fg-opacity-out 150ms;-webkit-transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1));transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}.mdc-deprecated-list-item--disabled .mdc-deprecated-list-item__ripple::before,.mdc-deprecated-list-item--disabled .mdc-deprecated-list-item__ripple::after{top:calc(50% - 100%);left:calc(50% - 100%);width:200%;height:200%}.mdc-deprecated-list-item--disabled.mdc-ripple-upgraded .mdc-deprecated-list-item__ripple::after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-deprecated-list-item--disabled .mdc-list-item__ripple::before,.mdc-deprecated-list-item--disabled .mdc-list-item__ripple::after{top:calc(50% - 100%);left:calc(50% - 100%);width:200%;height:200%}.mdc-deprecated-list-item--disabled.mdc-ripple-upgraded .mdc-list-item__ripple::after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-deprecated-list-item--disabled .mdc-deprecated-list-item__ripple::before,.mdc-deprecated-list-item--disabled .mdc-deprecated-list-item__ripple::after{background-color:#000;background-color:var(--mdc-ripple-color, #000)}.mdc-deprecated-list-item--disabled .mdc-list-item__ripple::before,.mdc-deprecated-list-item--disabled .mdc-list-item__ripple::after{background-color:#000;background-color:var(--mdc-ripple-color, #000)}.mdc-deprecated-list-item--disabled.mdc-ripple-upgraded--background-focused .mdc-deprecated-list-item__ripple::before,.mdc-deprecated-list-item--disabled:not(.mdc-ripple-upgraded):focus .mdc-deprecated-list-item__ripple::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-opacity, 0.12)}.mdc-deprecated-list-item--disabled.mdc-ripple-upgraded--background-focused .mdc-list-item__ripple::before,.mdc-deprecated-list-item--disabled:not(.mdc-ripple-upgraded):focus .mdc-list-item__ripple::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-opacity, 0.12)}.mdc-deprecated-list-item--disabled .mdc-deprecated-list-item__ripple,.mdc-deprecated-list-item--disabled .mdc-list-item__ripple{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none}:not(.mdc-list-item--disabled).mdc-list-item{--mdc-ripple-fg-size: 0;--mdc-ripple-left: 0;--mdc-ripple-top: 0;--mdc-ripple-fg-scale: 1;--mdc-ripple-fg-translate-end: 0;--mdc-ripple-fg-translate-start: 0;-webkit-tap-highlight-color:rgba(0,0,0,0);will-change:transform,opacity}:not(.mdc-list-item--disabled).mdc-list-item .mdc-list-item__ripple::before,:not(.mdc-list-item--disabled).mdc-list-item .mdc-list-item__ripple::after{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:""}:not(.mdc-list-item--disabled).mdc-list-item .mdc-list-item__ripple::before{transition:opacity 15ms linear,background-color 15ms linear;z-index:1;z-index:var(--mdc-ripple-z-index, 1)}:not(.mdc-list-item--disabled).mdc-list-item .mdc-list-item__ripple::after{z-index:0;z-index:var(--mdc-ripple-z-index, 0)}:not(.mdc-list-item--disabled).mdc-list-item.mdc-ripple-upgraded .mdc-list-item__ripple::before{-webkit-transform:scale(var(--mdc-ripple-fg-scale, 1));transform:scale(var(--mdc-ripple-fg-scale, 1))}:not(.mdc-list-item--disabled).mdc-list-item.mdc-ripple-upgraded .mdc-list-item__ripple::after{top:0;left:0;-webkit-transform:scale(0);transform:scale(0);-webkit-transform-origin:center center;transform-origin:center center}:not(.mdc-list-item--disabled).mdc-list-item.mdc-ripple-upgraded--unbounded .mdc-list-item__ripple::after{top:var(--mdc-ripple-top, 0);left:var(--mdc-ripple-left, 0)}:not(.mdc-list-item--disabled).mdc-list-item.mdc-ripple-upgraded--foreground-activation .mdc-list-item__ripple::after{-webkit-animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards;animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards}:not(.mdc-list-item--disabled).mdc-list-item.mdc-ripple-upgraded--foreground-deactivation .mdc-list-item__ripple::after{-webkit-animation:mdc-ripple-fg-opacity-out 150ms;animation:mdc-ripple-fg-opacity-out 150ms;-webkit-transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1));transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}:not(.mdc-list-item--disabled).mdc-list-item .mdc-list-item__ripple::before,:not(.mdc-list-item--disabled).mdc-list-item .mdc-list-item__ripple::after{top:calc(50% - 100%);left:calc(50% - 100%);width:200%;height:200%}:not(.mdc-list-item--disabled).mdc-list-item.mdc-ripple-upgraded .mdc-list-item__ripple::after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}:not(.mdc-list-item--disabled).mdc-list-item .mdc-list-item__ripple::before,:not(.mdc-list-item--disabled).mdc-list-item .mdc-list-item__ripple::after{background-color:#000;background-color:var(--mdc-ripple-color, #000)}:not(.mdc-list-item--disabled).mdc-list-item:hover .mdc-list-item__ripple::before,:not(.mdc-list-item--disabled).mdc-list-item.mdc-ripple-surface--hover .mdc-list-item__ripple::before{opacity:0.04;opacity:var(--mdc-ripple-hover-opacity, 0.04)}:not(.mdc-list-item--disabled).mdc-list-item.mdc-ripple-upgraded--background-focused .mdc-list-item__ripple::before,:not(.mdc-list-item--disabled).mdc-list-item:not(.mdc-ripple-upgraded):focus .mdc-list-item__ripple::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-opacity, 0.12)}:not(.mdc-list-item--disabled).mdc-list-item:not(.mdc-ripple-upgraded) .mdc-list-item__ripple::after{transition:opacity 150ms linear}:not(.mdc-list-item--disabled).mdc-list-item:not(.mdc-ripple-upgraded):active .mdc-list-item__ripple::after{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-press-opacity, 0.12)}:not(.mdc-list-item--disabled).mdc-list-item.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}:not(.mdc-list-item--disabled).mdc-list-item--activated .mdc-list-item__ripple::before{opacity:0.12;opacity:var(--mdc-ripple-activated-opacity, 0.12)}:not(.mdc-list-item--disabled).mdc-list-item--activated .mdc-list-item__ripple::before,:not(.mdc-list-item--disabled).mdc-list-item--activated .mdc-list-item__ripple::after{background-color:#6200ee;background-color:var(--mdc-ripple-color, var(--mdc-theme-primary, #6200ee))}:not(.mdc-list-item--disabled).mdc-list-item--activated:hover .mdc-list-item__ripple::before,:not(.mdc-list-item--disabled).mdc-list-item--activated.mdc-ripple-surface--hover .mdc-list-item__ripple::before{opacity:0.16;opacity:var(--mdc-ripple-hover-opacity, 0.16)}:not(.mdc-list-item--disabled).mdc-list-item--activated.mdc-ripple-upgraded--background-focused .mdc-list-item__ripple::before,:not(.mdc-list-item--disabled).mdc-list-item--activated:not(.mdc-ripple-upgraded):focus .mdc-list-item__ripple::before{transition-duration:75ms;opacity:0.24;opacity:var(--mdc-ripple-focus-opacity, 0.24)}:not(.mdc-list-item--disabled).mdc-list-item--activated:not(.mdc-ripple-upgraded) .mdc-list-item__ripple::after{transition:opacity 150ms linear}:not(.mdc-list-item--disabled).mdc-list-item--activated:not(.mdc-ripple-upgraded):active .mdc-list-item__ripple::after{transition-duration:75ms;opacity:0.24;opacity:var(--mdc-ripple-press-opacity, 0.24)}:not(.mdc-list-item--disabled).mdc-list-item--activated.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.24)}:not(.mdc-list-item--disabled).mdc-list-item--selected .mdc-list-item__ripple::before{opacity:0.08;opacity:var(--mdc-ripple-selected-opacity, 0.08)}:not(.mdc-list-item--disabled).mdc-list-item--selected .mdc-list-item__ripple::before,:not(.mdc-list-item--disabled).mdc-list-item--selected .mdc-list-item__ripple::after{background-color:#6200ee;background-color:var(--mdc-ripple-color, var(--mdc-theme-primary, #6200ee))}:not(.mdc-list-item--disabled).mdc-list-item--selected:hover .mdc-list-item__ripple::before,:not(.mdc-list-item--disabled).mdc-list-item--selected.mdc-ripple-surface--hover .mdc-list-item__ripple::before{opacity:0.12;opacity:var(--mdc-ripple-hover-opacity, 0.12)}:not(.mdc-list-item--disabled).mdc-list-item--selected.mdc-ripple-upgraded--background-focused .mdc-list-item__ripple::before,:not(.mdc-list-item--disabled).mdc-list-item--selected:not(.mdc-ripple-upgraded):focus .mdc-list-item__ripple::before{transition-duration:75ms;opacity:0.2;opacity:var(--mdc-ripple-focus-opacity, 0.2)}:not(.mdc-list-item--disabled).mdc-list-item--selected:not(.mdc-ripple-upgraded) .mdc-list-item__ripple::after{transition:opacity 150ms linear}:not(.mdc-list-item--disabled).mdc-list-item--selected:not(.mdc-ripple-upgraded):active .mdc-list-item__ripple::after{transition-duration:75ms;opacity:0.2;opacity:var(--mdc-ripple-press-opacity, 0.2)}:not(.mdc-list-item--disabled).mdc-list-item--selected.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.2)}:not(.mdc-list-item--disabled).mdc-list-item .mdc-list-item__ripple{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none}.mdc-list-item--disabled{--mdc-ripple-fg-size: 0;--mdc-ripple-left: 0;--mdc-ripple-top: 0;--mdc-ripple-fg-scale: 1;--mdc-ripple-fg-translate-end: 0;--mdc-ripple-fg-translate-start: 0;-webkit-tap-highlight-color:rgba(0,0,0,0);will-change:transform,opacity}.mdc-list-item--disabled .mdc-list-item__ripple::before,.mdc-list-item--disabled .mdc-list-item__ripple::after{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:""}.mdc-list-item--disabled .mdc-list-item__ripple::before{transition:opacity 15ms linear,background-color 15ms linear;z-index:1;z-index:var(--mdc-ripple-z-index, 1)}.mdc-list-item--disabled .mdc-list-item__ripple::after{z-index:0;z-index:var(--mdc-ripple-z-index, 0)}.mdc-list-item--disabled.mdc-ripple-upgraded .mdc-list-item__ripple::before{-webkit-transform:scale(var(--mdc-ripple-fg-scale, 1));transform:scale(var(--mdc-ripple-fg-scale, 1))}.mdc-list-item--disabled.mdc-ripple-upgraded .mdc-list-item__ripple::after{top:0;left:0;-webkit-transform:scale(0);transform:scale(0);-webkit-transform-origin:center center;transform-origin:center center}.mdc-list-item--disabled.mdc-ripple-upgraded--unbounded .mdc-list-item__ripple::after{top:var(--mdc-ripple-top, 0);left:var(--mdc-ripple-left, 0)}.mdc-list-item--disabled.mdc-ripple-upgraded--foreground-activation .mdc-list-item__ripple::after{-webkit-animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards;animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards}.mdc-list-item--disabled.mdc-ripple-upgraded--foreground-deactivation .mdc-list-item__ripple::after{-webkit-animation:mdc-ripple-fg-opacity-out 150ms;animation:mdc-ripple-fg-opacity-out 150ms;-webkit-transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1));transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}.mdc-list-item--disabled .mdc-list-item__ripple::before,.mdc-list-item--disabled .mdc-list-item__ripple::after{top:calc(50% - 100%);left:calc(50% - 100%);width:200%;height:200%}.mdc-list-item--disabled.mdc-ripple-upgraded .mdc-list-item__ripple::after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-list-item--disabled .mdc-list-item__ripple::before,.mdc-list-item--disabled .mdc-list-item__ripple::after{background-color:#000;background-color:var(--mdc-ripple-color, #000)}.mdc-list-item--disabled.mdc-ripple-upgraded--background-focused .mdc-list-item__ripple::before,.mdc-list-item--disabled:not(.mdc-ripple-upgraded):focus .mdc-list-item__ripple::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-opacity, 0.12)}.mdc-list-item--disabled .mdc-list-item__ripple{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none}.mdc-menu{min-width:112px;min-width:var(--mdc-menu-min-width, 112px)}.mdc-menu .mdc-deprecated-list-item__meta{color:rgba(0, 0, 0, 0.87)}.mdc-menu .mdc-deprecated-list-item__graphic{color:rgba(0, 0, 0, 0.87)}.mdc-menu .mdc-menu-item--submenu-open .mdc-deprecated-list-item__ripple::before{opacity:.04}.mdc-menu .mdc-menu-item--submenu-open .mdc-list-item__ripple::before{opacity:.04}.mdc-menu .mdc-deprecated-list{color:rgba(0, 0, 0, 0.87)}.mdc-menu .mdc-deprecated-list,.mdc-menu .mdc-list{position:relative}.mdc-menu .mdc-deprecated-list .mdc-elevation-overlay,.mdc-menu .mdc-list .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-menu .mdc-deprecated-list-divider{margin:8px 0}.mdc-menu .mdc-deprecated-list-item{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.mdc-menu .mdc-deprecated-list-item--disabled{cursor:auto}.mdc-menu a.mdc-deprecated-list-item .mdc-deprecated-list-item__text,.mdc-menu a.mdc-deprecated-list-item .mdc-deprecated-list-item__graphic{pointer-events:none}.mdc-menu__selection-group{padding:0;fill:currentColor}.mdc-menu__selection-group .mdc-deprecated-list-item{padding-left:56px;padding-right:16px}[dir=rtl] .mdc-menu__selection-group .mdc-deprecated-list-item,.mdc-menu__selection-group .mdc-deprecated-list-item[dir=rtl]{padding-left:16px;padding-right:56px}.mdc-menu__selection-group .mdc-menu__selection-group-icon{left:16px;right:initial;display:none;position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}[dir=rtl] .mdc-menu__selection-group .mdc-menu__selection-group-icon,.mdc-menu__selection-group .mdc-menu__selection-group-icon[dir=rtl]{left:initial;right:16px}.mdc-menu-item--selected .mdc-menu__selection-group-icon{display:inline}.mdc-menu-surface{display:none;position:absolute;box-sizing:border-box;max-width:calc(100vw - 32px);max-width:var(--mdc-menu-max-width, calc(100vw - 32px));max-height:calc(100vh - 32px);max-height:var(--mdc-menu-max-height, calc(100vh - 32px));margin:0;padding:0;-webkit-transform:scale(1);transform:scale(1);-webkit-transform-origin:top left;transform-origin:top left;opacity:0;overflow:auto;will-change:transform,opacity;z-index:8;transition:opacity .03s linear,height 250ms cubic-bezier(0, 0, 0.2, 1),-webkit-transform .12s cubic-bezier(0, 0, 0.2, 1);transition:opacity .03s linear,transform .12s cubic-bezier(0, 0, 0.2, 1),height 250ms cubic-bezier(0, 0, 0.2, 1);transition:opacity .03s linear,transform .12s cubic-bezier(0, 0, 0.2, 1),height 250ms cubic-bezier(0, 0, 0.2, 1),-webkit-transform .12s cubic-bezier(0, 0, 0.2, 1);box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2),0px 8px 10px 1px rgba(0, 0, 0, 0.14),0px 3px 14px 2px rgba(0,0,0,.12);background-color:#fff;background-color:var(--mdc-theme-surface, #fff);color:#000;color:var(--mdc-theme-on-surface, #000);border-radius:4px;border-radius:var(--mdc-shape-medium, 4px);transform-origin-left:top left;transform-origin-right:top right}.mdc-menu-surface:focus{outline:none}.mdc-menu-surface--animating-open{display:inline-block;-webkit-transform:scale(0.8);transform:scale(0.8);opacity:0}.mdc-menu-surface--open{display:inline-block;-webkit-transform:scale(1);transform:scale(1);opacity:1}.mdc-menu-surface--animating-closed{display:inline-block;opacity:0;transition:opacity .075s linear}[dir=rtl] .mdc-menu-surface,.mdc-menu-surface[dir=rtl]{transform-origin-left:top right;transform-origin-right:top left}.mdc-menu-surface--anchor{position:relative;overflow:visible}.mdc-menu-surface--fixed{position:fixed}.mdc-menu-surface--fullwidth{width:100%}.mdc-radio{padding:calc((40px - 20px) / 2)}.mdc-radio .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:rgba(0, 0, 0, 0.54)}.mdc-radio .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:#018786;border-color:var(--mdc-theme-secondary, #018786)}.mdc-radio .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:#018786;border-color:var(--mdc-theme-secondary, #018786)}.mdc-radio [aria-disabled=true] .mdc-radio__native-control:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle,.mdc-radio .mdc-radio__native-control:disabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:rgba(0, 0, 0, 0.38)}.mdc-radio [aria-disabled=true] .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mdc-radio .mdc-radio__native-control:disabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:rgba(0, 0, 0, 0.38)}.mdc-radio [aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background .mdc-radio__inner-circle,.mdc-radio .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:rgba(0, 0, 0, 0.38)}.mdc-radio .mdc-radio__background::before{background-color:#018786;background-color:var(--mdc-theme-secondary, #018786)}.mdc-radio .mdc-radio__background::before{top:calc(-1 * (40px - 20px) / 2);left:calc(-1 * (40px - 20px) / 2);width:40px;height:40px}.mdc-radio .mdc-radio__native-control{top:calc((40px - 40px) / 2);right:calc((40px - 40px) / 2);left:calc((40px - 40px) / 2);width:40px;height:40px}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-radio.mdc-radio--disabled [aria-disabled=true] .mdc-radio__native-control:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle,.mdc-radio.mdc-radio--disabled .mdc-radio__native-control:disabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:GrayText}.mdc-radio.mdc-radio--disabled [aria-disabled=true] .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mdc-radio.mdc-radio--disabled .mdc-radio__native-control:disabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:GrayText}.mdc-radio.mdc-radio--disabled [aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background .mdc-radio__inner-circle,.mdc-radio.mdc-radio--disabled .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:GrayText}}.mdc-radio{display:inline-block;position:relative;flex:0 0 auto;box-sizing:content-box;width:20px;height:20px;cursor:pointer;will-change:opacity,transform,border-color,color}.mdc-radio__background{display:inline-block;position:relative;box-sizing:border-box;width:20px;height:20px}.mdc-radio__background::before{position:absolute;-webkit-transform:scale(0, 0);transform:scale(0, 0);border-radius:50%;opacity:0;pointer-events:none;content:"";transition:opacity 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1),-webkit-transform 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transition:opacity 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transition:opacity 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1),-webkit-transform 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-radio__outer-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;border-width:2px;border-style:solid;border-radius:50%;transition:border-color 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-radio__inner-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;-webkit-transform:scale(0, 0);transform:scale(0, 0);border-width:10px;border-style:solid;border-radius:50%;transition:border-color 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1),-webkit-transform 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transition:transform 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1),border-color 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transition:transform 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1),border-color 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1),-webkit-transform 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-radio__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit;z-index:1}.mdc-radio--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-radio--touch .mdc-radio__native-control{top:calc((40px - 48px) / 2);right:calc((40px - 48px) / 2);left:calc((40px - 48px) / 2);width:48px;height:48px}.mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring,.mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring{pointer-events:none;border:2px solid transparent;border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);height:100%;width:100%}@media screen and (forced-colors: active){.mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring,.mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring{border-color:CanvasText}}.mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring::after,.mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring::after{content:"";border:2px solid transparent;border-radius:8px;display:block;position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring::after,.mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring::after{border-color:CanvasText}}.mdc-radio__native-control:checked+.mdc-radio__background,.mdc-radio__native-control:disabled+.mdc-radio__background{transition:opacity 120ms 0ms cubic-bezier(0, 0, 0.2, 1),-webkit-transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1);transition:opacity 120ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1);transition:opacity 120ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1),-webkit-transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__outer-circle{transition:border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle,.mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{transition:border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1),-webkit-transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1);transition:transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1),border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1);transition:transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1),border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1),-webkit-transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-radio--disabled{cursor:default;pointer-events:none}.mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle{-webkit-transform:scale(0.5);transform:scale(0.5);transition:border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1),-webkit-transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1);transition:transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1),border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1);transition:transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1),border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1),-webkit-transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-radio__native-control:disabled+.mdc-radio__background,[aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background{cursor:default}.mdc-radio__native-control:focus+.mdc-radio__background::before{-webkit-transform:scale(1);transform:scale(1);opacity:.12;transition:opacity 120ms 0ms cubic-bezier(0, 0, 0.2, 1),-webkit-transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1);transition:opacity 120ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1);transition:opacity 120ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1),-webkit-transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-radio{--mdc-ripple-fg-size: 0;--mdc-ripple-left: 0;--mdc-ripple-top: 0;--mdc-ripple-fg-scale: 1;--mdc-ripple-fg-translate-end: 0;--mdc-ripple-fg-translate-start: 0;-webkit-tap-highlight-color:rgba(0,0,0,0);will-change:transform,opacity}.mdc-radio .mdc-radio__ripple::before,.mdc-radio .mdc-radio__ripple::after{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:""}.mdc-radio .mdc-radio__ripple::before{transition:opacity 15ms linear,background-color 15ms linear;z-index:1;z-index:var(--mdc-ripple-z-index, 1)}.mdc-radio .mdc-radio__ripple::after{z-index:0;z-index:var(--mdc-ripple-z-index, 0)}.mdc-radio.mdc-ripple-upgraded .mdc-radio__ripple::before{-webkit-transform:scale(var(--mdc-ripple-fg-scale, 1));transform:scale(var(--mdc-ripple-fg-scale, 1))}.mdc-radio.mdc-ripple-upgraded .mdc-radio__ripple::after{top:0;left:0;-webkit-transform:scale(0);transform:scale(0);-webkit-transform-origin:center center;transform-origin:center center}.mdc-radio.mdc-ripple-upgraded--unbounded .mdc-radio__ripple::after{top:var(--mdc-ripple-top, 0);left:var(--mdc-ripple-left, 0)}.mdc-radio.mdc-ripple-upgraded--foreground-activation .mdc-radio__ripple::after{-webkit-animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards;animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards}.mdc-radio.mdc-ripple-upgraded--foreground-deactivation .mdc-radio__ripple::after{-webkit-animation:mdc-ripple-fg-opacity-out 150ms;animation:mdc-ripple-fg-opacity-out 150ms;-webkit-transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1));transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}.mdc-radio .mdc-radio__ripple::before,.mdc-radio .mdc-radio__ripple::after{top:calc(50% - 50%);left:calc(50% - 50%);width:100%;height:100%}.mdc-radio.mdc-ripple-upgraded .mdc-radio__ripple::before,.mdc-radio.mdc-ripple-upgraded .mdc-radio__ripple::after{top:var(--mdc-ripple-top, calc(50% - 50%));left:var(--mdc-ripple-left, calc(50% - 50%));width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-radio.mdc-ripple-upgraded .mdc-radio__ripple::after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-radio .mdc-radio__ripple::before,.mdc-radio .mdc-radio__ripple::after{background-color:#018786;background-color:var(--mdc-ripple-color, var(--mdc-theme-secondary, #018786))}.mdc-radio:hover .mdc-radio__ripple::before,.mdc-radio.mdc-ripple-surface--hover .mdc-radio__ripple::before{opacity:0.04;opacity:var(--mdc-ripple-hover-opacity, 0.04)}.mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__ripple::before,.mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__ripple::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-opacity, 0.12)}.mdc-radio:not(.mdc-ripple-upgraded) .mdc-radio__ripple::after{transition:opacity 150ms linear}.mdc-radio:not(.mdc-ripple-upgraded):active .mdc-radio__ripple::after{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-radio.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-radio.mdc-ripple-upgraded .mdc-radio__background::before,.mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__background::before{content:none}.mdc-radio__ripple{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none}.mdc-ripple-surface{--mdc-ripple-fg-size: 0;--mdc-ripple-left: 0;--mdc-ripple-top: 0;--mdc-ripple-fg-scale: 1;--mdc-ripple-fg-translate-end: 0;--mdc-ripple-fg-translate-start: 0;-webkit-tap-highlight-color:rgba(0,0,0,0);will-change:transform,opacity;position:relative;outline:none;overflow:hidden}.mdc-ripple-surface::before,.mdc-ripple-surface::after{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:""}.mdc-ripple-surface::before{transition:opacity 15ms linear,background-color 15ms linear;z-index:1;z-index:var(--mdc-ripple-z-index, 1)}.mdc-ripple-surface::after{z-index:0;z-index:var(--mdc-ripple-z-index, 0)}.mdc-ripple-surface.mdc-ripple-upgraded::before{-webkit-transform:scale(var(--mdc-ripple-fg-scale, 1));transform:scale(var(--mdc-ripple-fg-scale, 1))}.mdc-ripple-surface.mdc-ripple-upgraded::after{top:0;left:0;-webkit-transform:scale(0);transform:scale(0);-webkit-transform-origin:center center;transform-origin:center center}.mdc-ripple-surface.mdc-ripple-upgraded--unbounded::after{top:var(--mdc-ripple-top, 0);left:var(--mdc-ripple-left, 0)}.mdc-ripple-surface.mdc-ripple-upgraded--foreground-activation::after{-webkit-animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards;animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards}.mdc-ripple-surface.mdc-ripple-upgraded--foreground-deactivation::after{-webkit-animation:mdc-ripple-fg-opacity-out 150ms;animation:mdc-ripple-fg-opacity-out 150ms;-webkit-transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1));transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}.mdc-ripple-surface::before,.mdc-ripple-surface::after{top:calc(50% - 100%);left:calc(50% - 100%);width:200%;height:200%}.mdc-ripple-surface.mdc-ripple-upgraded::after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-ripple-surface[data-mdc-ripple-is-unbounded],.mdc-ripple-upgraded--unbounded{overflow:visible}.mdc-ripple-surface[data-mdc-ripple-is-unbounded]::before,.mdc-ripple-surface[data-mdc-ripple-is-unbounded]::after,.mdc-ripple-upgraded--unbounded::before,.mdc-ripple-upgraded--unbounded::after{top:calc(50% - 50%);left:calc(50% - 50%);width:100%;height:100%}.mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::before,.mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::after,.mdc-ripple-upgraded--unbounded.mdc-ripple-upgraded::before,.mdc-ripple-upgraded--unbounded.mdc-ripple-upgraded::after{top:var(--mdc-ripple-top, calc(50% - 50%));left:var(--mdc-ripple-left, calc(50% - 50%));width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::after,.mdc-ripple-upgraded--unbounded.mdc-ripple-upgraded::after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-ripple-surface::before,.mdc-ripple-surface::after{background-color:#000;background-color:var(--mdc-ripple-color, #000)}.mdc-ripple-surface:hover::before,.mdc-ripple-surface.mdc-ripple-surface--hover::before{opacity:0.04;opacity:var(--mdc-ripple-hover-opacity, 0.04)}.mdc-ripple-surface.mdc-ripple-upgraded--background-focused::before,.mdc-ripple-surface:not(.mdc-ripple-upgraded):focus::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-opacity, 0.12)}.mdc-ripple-surface:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-ripple-surface:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-ripple-surface.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-segmented-button{display:inline-block;font-size:0}.mdc-segmented-button__segment{border-color:rgba(0, 0, 0, 0.12);border-color:var(--mdc-segmented-button-outline-color, rgba(0, 0, 0, 0.12))}.mdc-segmented-button__segment{color:rgba(0, 0, 0, 0.6);color:var(--mdc-segmented-button-unselected-ink-color, rgba(0, 0, 0, 0.6))}.mdc-segmented-button__segment{background-color:white;background-color:var(--mdc-segmented-button-unselected-container-fill-color, white)}.mdc-segmented-button__segment--selected{color:#6200ee;color:var(--mdc-segmented-button-selected-ink-color, #6200ee)}.mdc-segmented-button__segment--selected{background-color:rgba(98, 0, 238, 0.08);background-color:var(--mdc-segmented-button-selected-container-fill-color, rgba(98, 0, 238, 0.08))}.mdc-segmented-button__segment{position:relative;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-button-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.875rem;font-size:var(--mdc-typography-button-font-size, 0.875rem);line-height:2.25rem;line-height:var(--mdc-typography-button-line-height, 2.25rem);font-weight:500;font-weight:var(--mdc-typography-button-font-weight, 500);letter-spacing:0.0892857143em;letter-spacing:var(--mdc-typography-button-letter-spacing, 0.0892857143em);text-decoration:none;-webkit-text-decoration:var(--mdc-typography-button-text-decoration, none);text-decoration:var(--mdc-typography-button-text-decoration, none);text-transform:uppercase;text-transform:var(--mdc-typography-button-text-transform, uppercase);display:inline-flex;vertical-align:top;align-items:center;height:36px;min-width:48px;padding:0 12px;border-width:1px 0 1px 1px}.mdc-segmented-button__segment .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-segmented-button__segment:hover{cursor:pointer}.mdc-segmented-button__segment:focus{outline-width:0}.mdc-segmented-button__segment:first-child{border-radius:4px 0 0 4px}.mdc-segmented-button__segment:last-child{border-right-width:1px;border-radius:0 4px 4px 0}.mdc-segmented-button__segment .mdc-segmented-button__segment__touch{position:absolute;top:50%;height:48px;left:0;right:0;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.mdc-segmented-button__segment .mdc-segmented-button__segment--touch{margin-top:0px;margin-bottom:0px}.mdc-touch-target-wrapper .mdc-segmented-button__segment{border-radius:0;border-right-width:0}.mdc-touch-target-wrapper:first-child .mdc-segmented-button__segment{border-radius:4px 0 0 4px}.mdc-touch-target-wrapper:last-child .mdc-segmented-button__segment{border-right-width:1px;border-radius:0 4px 4px 0}.mdc-segmented-button__icon{width:24px;font-size:18px}.mdc-segmented-button__icon+.mdc-segmented-button__label{padding-left:6px}.mdc-segmented-button__segment{--mdc-ripple-fg-size: 0;--mdc-ripple-left: 0;--mdc-ripple-top: 0;--mdc-ripple-fg-scale: 1;--mdc-ripple-fg-translate-end: 0;--mdc-ripple-fg-translate-start: 0;-webkit-tap-highlight-color:rgba(0,0,0,0);will-change:transform,opacity;overflow:hidden}.mdc-segmented-button__segment .mdc-segmented-button__ripple::before,.mdc-segmented-button__segment .mdc-segmented-button__ripple::after{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:""}.mdc-segmented-button__segment .mdc-segmented-button__ripple::before{transition:opacity 15ms linear,background-color 15ms linear;z-index:1;z-index:var(--mdc-ripple-z-index, 1)}.mdc-segmented-button__segment .mdc-segmented-button__ripple::after{z-index:0;z-index:var(--mdc-ripple-z-index, 0)}.mdc-segmented-button__segment.mdc-ripple-upgraded .mdc-segmented-button__ripple::before{-webkit-transform:scale(var(--mdc-ripple-fg-scale, 1));transform:scale(var(--mdc-ripple-fg-scale, 1))}.mdc-segmented-button__segment.mdc-ripple-upgraded .mdc-segmented-button__ripple::after{top:0;left:0;-webkit-transform:scale(0);transform:scale(0);-webkit-transform-origin:center center;transform-origin:center center}.mdc-segmented-button__segment.mdc-ripple-upgraded--unbounded .mdc-segmented-button__ripple::after{top:var(--mdc-ripple-top, 0);left:var(--mdc-ripple-left, 0)}.mdc-segmented-button__segment.mdc-ripple-upgraded--foreground-activation .mdc-segmented-button__ripple::after{-webkit-animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards;animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards}.mdc-segmented-button__segment.mdc-ripple-upgraded--foreground-deactivation .mdc-segmented-button__ripple::after{-webkit-animation:mdc-ripple-fg-opacity-out 150ms;animation:mdc-ripple-fg-opacity-out 150ms;-webkit-transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1));transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}.mdc-segmented-button__segment .mdc-segmented-button__ripple::before,.mdc-segmented-button__segment .mdc-segmented-button__ripple::after{top:calc(50% - 100%);left:calc(50% - 100%);width:200%;height:200%}.mdc-segmented-button__segment.mdc-ripple-upgraded .mdc-segmented-button__ripple::after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-segmented-button__segment .mdc-segmented-button__ripple::before,.mdc-segmented-button__segment .mdc-segmented-button__ripple::after{background-color:#6200ee;background-color:var(--mdc-ripple-color, #6200ee)}.mdc-segmented-button__segment:hover .mdc-segmented-button__ripple::before,.mdc-segmented-button__segment.mdc-ripple-surface--hover .mdc-segmented-button__ripple::before{opacity:0.04;opacity:var(--mdc-ripple-hover-opacity, 0.04)}.mdc-segmented-button__segment.mdc-ripple-upgraded--background-focused .mdc-segmented-button__ripple::before,.mdc-segmented-button__segment.mdc-ripple-upgraded:focus-within .mdc-segmented-button__ripple::before,.mdc-segmented-button__segment:not(.mdc-ripple-upgraded):focus .mdc-segmented-button__ripple::before,.mdc-segmented-button__segment:not(.mdc-ripple-upgraded):focus-within .mdc-segmented-button__ripple::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-opacity, 0.12)}.mdc-segmented-button__segment:not(.mdc-ripple-upgraded) .mdc-segmented-button__ripple::after{transition:opacity 150ms linear}.mdc-segmented-button__segment:not(.mdc-ripple-upgraded):active .mdc-segmented-button__ripple::after{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-segmented-button__segment.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-segmented-button__segment .mdc-segmented-button__ripple{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none}.mdc-slider__thumb{--mdc-ripple-fg-size: 0;--mdc-ripple-left: 0;--mdc-ripple-top: 0;--mdc-ripple-fg-scale: 1;--mdc-ripple-fg-translate-end: 0;--mdc-ripple-fg-translate-start: 0;-webkit-tap-highlight-color:rgba(0,0,0,0);will-change:transform,opacity}.mdc-slider__thumb::before,.mdc-slider__thumb::after{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:""}.mdc-slider__thumb::before{transition:opacity 15ms linear,background-color 15ms linear;z-index:1;z-index:var(--mdc-ripple-z-index, 1)}.mdc-slider__thumb::after{z-index:0;z-index:var(--mdc-ripple-z-index, 0)}.mdc-slider__thumb.mdc-ripple-upgraded::before{-webkit-transform:scale(var(--mdc-ripple-fg-scale, 1));transform:scale(var(--mdc-ripple-fg-scale, 1))}.mdc-slider__thumb.mdc-ripple-upgraded::after{top:0;left:0;-webkit-transform:scale(0);transform:scale(0);-webkit-transform-origin:center center;transform-origin:center center}.mdc-slider__thumb.mdc-ripple-upgraded--unbounded::after{top:var(--mdc-ripple-top, 0);left:var(--mdc-ripple-left, 0)}.mdc-slider__thumb.mdc-ripple-upgraded--foreground-activation::after{-webkit-animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards;animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards}.mdc-slider__thumb.mdc-ripple-upgraded--foreground-deactivation::after{-webkit-animation:mdc-ripple-fg-opacity-out 150ms;animation:mdc-ripple-fg-opacity-out 150ms;-webkit-transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1));transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}.mdc-slider__thumb::before,.mdc-slider__thumb::after{top:calc(50% - 50%);left:calc(50% - 50%);width:100%;height:100%}.mdc-slider__thumb.mdc-ripple-upgraded::before,.mdc-slider__thumb.mdc-ripple-upgraded::after{top:var(--mdc-ripple-top, calc(50% - 50%));left:var(--mdc-ripple-left, calc(50% - 50%));width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-slider__thumb.mdc-ripple-upgraded::after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-slider__thumb::before,.mdc-slider__thumb::after{background-color:#6200ee;background-color:var(--mdc-ripple-color, var(--mdc-theme-primary, #6200ee))}.mdc-slider__thumb:hover::before,.mdc-slider__thumb.mdc-ripple-surface--hover::before{opacity:0.04;opacity:var(--mdc-ripple-hover-opacity, 0.04)}.mdc-slider__thumb.mdc-ripple-upgraded--background-focused::before,.mdc-slider__thumb:not(.mdc-ripple-upgraded):focus::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-opacity, 0.12)}.mdc-slider__thumb:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-slider__thumb:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-slider__thumb.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-slider{cursor:pointer;height:48px;margin:0 24px;position:relative;touch-action:pan-y}.mdc-slider .mdc-slider__track{height:4px;position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);width:100%}.mdc-slider .mdc-slider__track--active,.mdc-slider .mdc-slider__track--inactive{display:flex;height:100%;position:absolute;width:100%}.mdc-slider .mdc-slider__track--active{border-radius:3px;height:6px;overflow:hidden;top:-1px}.mdc-slider .mdc-slider__track--active_fill{border-top:6px solid;box-sizing:border-box;height:100%;width:100%;position:relative;-webkit-transform-origin:left;transform-origin:left}[dir=rtl] .mdc-slider .mdc-slider__track--active_fill,.mdc-slider .mdc-slider__track--active_fill[dir=rtl]{-webkit-transform-origin:right;transform-origin:right}.mdc-slider .mdc-slider__track--inactive{border-radius:2px;height:4px;left:0;top:0}.mdc-slider .mdc-slider__track--inactive::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid transparent;border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-slider .mdc-slider__track--inactive::before{border-color:CanvasText}}.mdc-slider .mdc-slider__track--active_fill{border-color:#6200ee;border-color:var(--mdc-theme-primary, #6200ee)}.mdc-slider.mdc-slider--disabled .mdc-slider__track--active_fill{border-color:#000;border-color:var(--mdc-theme-on-surface, #000)}.mdc-slider .mdc-slider__track--inactive{background-color:#6200ee;background-color:var(--mdc-theme-primary, #6200ee);opacity:.24}.mdc-slider.mdc-slider--disabled .mdc-slider__track--inactive{background-color:#000;background-color:var(--mdc-theme-on-surface, #000);opacity:.24}.mdc-slider .mdc-slider__value-indicator-container{bottom:44px;left:50%;left:var(--slider-value-indicator-container-left, 50%);pointer-events:none;position:absolute;right:var(--slider-value-indicator-container-right);-webkit-transform:translateX(-50%);transform:translateX(-50%);-webkit-transform:var(--slider-value-indicator-container-transform, translateX(-50%));transform:var(--slider-value-indicator-container-transform, translateX(-50%))}.mdc-slider .mdc-slider__value-indicator{transition:-webkit-transform 100ms 0ms cubic-bezier(0.4, 0, 1, 1);transition:transform 100ms 0ms cubic-bezier(0.4, 0, 1, 1);transition:transform 100ms 0ms cubic-bezier(0.4, 0, 1, 1), -webkit-transform 100ms 0ms cubic-bezier(0.4, 0, 1, 1);align-items:center;border-radius:4px;display:flex;height:32px;padding:0 12px;-webkit-transform:scale(0);transform:scale(0);-webkit-transform-origin:bottom;transform-origin:bottom}.mdc-slider .mdc-slider__value-indicator::before{border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid;bottom:-5px;content:"";height:0;left:50%;left:var(--slider-value-indicator-caret-left, 50%);position:absolute;right:var(--slider-value-indicator-caret-right);-webkit-transform:translateX(-50%);transform:translateX(-50%);-webkit-transform:var(--slider-value-indicator-caret-transform, translateX(-50%));transform:var(--slider-value-indicator-caret-transform, translateX(-50%));width:0}.mdc-slider .mdc-slider__value-indicator::after{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid transparent;border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-slider .mdc-slider__value-indicator::after{border-color:CanvasText}}.mdc-slider .mdc-slider__thumb--with-indicator .mdc-slider__value-indicator-container{pointer-events:auto}.mdc-slider .mdc-slider__thumb--with-indicator .mdc-slider__value-indicator{transition:-webkit-transform 100ms 0ms cubic-bezier(0, 0, 0.2, 1);transition:transform 100ms 0ms cubic-bezier(0, 0, 0.2, 1);transition:transform 100ms 0ms cubic-bezier(0, 0, 0.2, 1), -webkit-transform 100ms 0ms cubic-bezier(0, 0, 0.2, 1);-webkit-transform:scale(1);transform:scale(1)}@media(prefers-reduced-motion){.mdc-slider .mdc-slider__value-indicator,.mdc-slider .mdc-slider__thumb--with-indicator .mdc-slider__value-indicator{transition:none}}.mdc-slider .mdc-slider__value-indicator-text{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-subtitle2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.875rem;font-size:var(--mdc-typography-subtitle2-font-size, 0.875rem);line-height:1.375rem;line-height:var(--mdc-typography-subtitle2-line-height, 1.375rem);font-weight:500;font-weight:var(--mdc-typography-subtitle2-font-weight, 500);letter-spacing:0.0071428571em;letter-spacing:var(--mdc-typography-subtitle2-letter-spacing, 0.0071428571em);text-decoration:inherit;-webkit-text-decoration:var(--mdc-typography-subtitle2-text-decoration, inherit);text-decoration:var(--mdc-typography-subtitle2-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-subtitle2-text-transform, inherit)}.mdc-slider .mdc-slider__value-indicator{background-color:#000;opacity:.6}.mdc-slider .mdc-slider__value-indicator::before{border-top-color:#000}.mdc-slider .mdc-slider__value-indicator{color:#fff;color:var(--mdc-theme-on-primary, #fff)}.mdc-slider .mdc-slider__thumb{display:flex;height:48px;left:-24px;outline:none;position:absolute;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;width:48px}.mdc-slider .mdc-slider__thumb--top{z-index:1}.mdc-slider .mdc-slider__thumb--top .mdc-slider__thumb-knob,.mdc-slider .mdc-slider__thumb--top.mdc-slider__thumb:hover .mdc-slider__thumb-knob,.mdc-slider .mdc-slider__thumb--top.mdc-slider__thumb--focused .mdc-slider__thumb-knob{border-style:solid;border-width:1px;box-sizing:content-box}.mdc-slider .mdc-slider__thumb-knob{box-shadow:0px 2px 1px -1px rgba(0, 0, 0, 0.2),0px 1px 1px 0px rgba(0, 0, 0, 0.14),0px 1px 3px 0px rgba(0,0,0,.12);border:10px solid;border-radius:50%;box-sizing:border-box;height:20px;left:50%;position:absolute;top:50%;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);width:20px}.mdc-slider .mdc-slider__thumb-knob{background-color:#6200ee;background-color:var(--mdc-theme-primary, #6200ee);border-color:#6200ee;border-color:var(--mdc-theme-primary, #6200ee)}.mdc-slider .mdc-slider__thumb--top .mdc-slider__thumb-knob,.mdc-slider .mdc-slider__thumb--top.mdc-slider__thumb:hover .mdc-slider__thumb-knob,.mdc-slider .mdc-slider__thumb--top.mdc-slider__thumb--focused .mdc-slider__thumb-knob{border-color:#fff}.mdc-slider.mdc-slider--disabled .mdc-slider__thumb-knob{background-color:#000;background-color:var(--mdc-theme-on-surface, #000);border-color:#000;border-color:var(--mdc-theme-on-surface, #000)}.mdc-slider.mdc-slider--disabled .mdc-slider__thumb--top .mdc-slider__thumb-knob,.mdc-slider.mdc-slider--disabled .mdc-slider__thumb--top.mdc-slider__thumb:hover .mdc-slider__thumb-knob,.mdc-slider.mdc-slider--disabled .mdc-slider__thumb--top.mdc-slider__thumb--focused .mdc-slider__thumb-knob{border-color:#fff}.mdc-slider .mdc-slider__thumb::before,.mdc-slider .mdc-slider__thumb::after{background-color:#6200ee;background-color:var(--mdc-ripple-color, var(--mdc-theme-primary, #6200ee))}.mdc-slider .mdc-slider__thumb:hover::before,.mdc-slider .mdc-slider__thumb.mdc-ripple-surface--hover::before{opacity:0.04;opacity:var(--mdc-ripple-hover-opacity, 0.04)}.mdc-slider .mdc-slider__thumb.mdc-ripple-upgraded--background-focused::before,.mdc-slider .mdc-slider__thumb:not(.mdc-ripple-upgraded):focus::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-opacity, 0.12)}.mdc-slider .mdc-slider__thumb:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-slider .mdc-slider__thumb:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-slider .mdc-slider__thumb.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-slider .mdc-slider__tick-marks{align-items:center;box-sizing:border-box;display:flex;height:100%;justify-content:space-between;padding:0 1px;position:absolute;width:100%}.mdc-slider .mdc-slider__tick-mark--active,.mdc-slider .mdc-slider__tick-mark--inactive{border-radius:50%;height:2px;width:2px}.mdc-slider .mdc-slider__tick-mark--active{background-color:#fff;background-color:var(--mdc-theme-on-primary, #fff);opacity:.6}.mdc-slider.mdc-slider--disabled .mdc-slider__tick-mark--active{background-color:#fff;background-color:var(--mdc-theme-on-primary, #fff);opacity:.6}.mdc-slider .mdc-slider__tick-mark--inactive{background-color:#6200ee;background-color:var(--mdc-theme-primary, #6200ee);opacity:.6}.mdc-slider.mdc-slider--disabled .mdc-slider__tick-mark--inactive{background-color:#000;background-color:var(--mdc-theme-on-surface, #000);opacity:.6}.mdc-slider--discrete .mdc-slider__thumb,.mdc-slider--discrete .mdc-slider__track--active_fill{transition:-webkit-transform 80ms ease;transition:transform 80ms ease;transition:transform 80ms ease, -webkit-transform 80ms ease}@media(prefers-reduced-motion){.mdc-slider--discrete .mdc-slider__thumb,.mdc-slider--discrete .mdc-slider__track--active_fill{transition:none}}.mdc-slider--disabled{opacity:.38;cursor:auto}.mdc-slider--disabled .mdc-slider__thumb{pointer-events:none}.mdc-slider__input{cursor:pointer;left:0;margin:0;height:100%;opacity:0;pointer-events:none;position:absolute;top:0;width:100%}.mdc-snackbar{z-index:8;margin:8px;display:none;position:fixed;right:0;bottom:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;pointer-events:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mdc-snackbar__surface{background-color:#333333}.mdc-snackbar__label{color:rgba(255, 255, 255, 0.87)}.mdc-snackbar__surface{min-width:344px}@media(max-width: 480px),(max-width: 344px){.mdc-snackbar__surface{min-width:100%}}.mdc-snackbar__surface{max-width:672px}.mdc-snackbar__surface{box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2),0px 6px 10px 0px rgba(0, 0, 0, 0.14),0px 1px 18px 0px rgba(0,0,0,.12)}.mdc-snackbar__surface{border-radius:4px;border-radius:var(--mdc-shape-small, 4px)}.mdc-snackbar--opening,.mdc-snackbar--open,.mdc-snackbar--closing{display:flex}.mdc-snackbar--open .mdc-snackbar__label,.mdc-snackbar--open .mdc-snackbar__actions{visibility:visible}.mdc-snackbar--leading{justify-content:flex-start}.mdc-snackbar--stacked .mdc-snackbar__label{padding-left:16px;padding-right:8px;padding-bottom:12px}[dir=rtl] .mdc-snackbar--stacked .mdc-snackbar__label,.mdc-snackbar--stacked .mdc-snackbar__label[dir=rtl]{padding-left:8px;padding-right:16px}.mdc-snackbar--stacked .mdc-snackbar__surface{flex-direction:column;align-items:flex-start}.mdc-snackbar--stacked .mdc-snackbar__actions{align-self:flex-end;margin-bottom:8px}.mdc-snackbar__surface{padding-left:0;padding-right:8px;display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box;-webkit-transform:scale(0.8);transform:scale(0.8);opacity:0}.mdc-snackbar__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid transparent;border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-snackbar__surface::before{border-color:CanvasText}}[dir=rtl] .mdc-snackbar__surface,.mdc-snackbar__surface[dir=rtl]{padding-left:8px;padding-right:0}.mdc-snackbar--open .mdc-snackbar__surface{-webkit-transform:scale(1);transform:scale(1);opacity:1;pointer-events:auto;transition:opacity 150ms 0ms cubic-bezier(0, 0, 0.2, 1),-webkit-transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1);transition:opacity 150ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1);transition:opacity 150ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1),-webkit-transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-snackbar--closing .mdc-snackbar__surface{-webkit-transform:scale(1);transform:scale(1);transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-snackbar__label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.875rem;font-size:var(--mdc-typography-body2-font-size, 0.875rem);line-height:1.25rem;line-height:var(--mdc-typography-body2-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:0.0178571429em;letter-spacing:var(--mdc-typography-body2-letter-spacing, 0.0178571429em);text-decoration:inherit;-webkit-text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-body2-text-transform, inherit);padding-left:16px;padding-right:8px;width:100%;flex-grow:1;box-sizing:border-box;margin:0;visibility:hidden;padding-top:14px;padding-bottom:14px}[dir=rtl] .mdc-snackbar__label,.mdc-snackbar__label[dir=rtl]{padding-left:8px;padding-right:16px}.mdc-snackbar__label::before{display:inline;content:attr(data-mdc-snackbar-label-text)}.mdc-snackbar__actions{display:flex;flex-shrink:0;align-items:center;box-sizing:border-box;visibility:hidden}.mdc-snackbar__action:not(:disabled){color:#bb86fc}.mdc-snackbar__action .mdc-button__ripple::before,.mdc-snackbar__action .mdc-button__ripple::after{background-color:#bb86fc;background-color:var(--mdc-ripple-color, #bb86fc)}.mdc-snackbar__action:hover .mdc-button__ripple::before,.mdc-snackbar__action.mdc-ripple-surface--hover .mdc-button__ripple::before{opacity:0.08;opacity:var(--mdc-ripple-hover-opacity, 0.08)}.mdc-snackbar__action.mdc-ripple-upgraded--background-focused .mdc-button__ripple::before,.mdc-snackbar__action:not(.mdc-ripple-upgraded):focus .mdc-button__ripple::before{transition-duration:75ms;opacity:0.24;opacity:var(--mdc-ripple-focus-opacity, 0.24)}.mdc-snackbar__action:not(.mdc-ripple-upgraded) .mdc-button__ripple::after{transition:opacity 150ms linear}.mdc-snackbar__action:not(.mdc-ripple-upgraded):active .mdc-button__ripple::after{transition-duration:75ms;opacity:0.24;opacity:var(--mdc-ripple-press-opacity, 0.24)}.mdc-snackbar__action.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.24)}.mdc-snackbar__dismiss{color:rgba(255, 255, 255, 0.87)}.mdc-snackbar__dismiss .mdc-icon-button__ripple::before,.mdc-snackbar__dismiss .mdc-icon-button__ripple::after{background-color:rgba(255, 255, 255, 0.87);background-color:var(--mdc-ripple-color, rgba(255, 255, 255, 0.87))}.mdc-snackbar__dismiss:hover .mdc-icon-button__ripple::before,.mdc-snackbar__dismiss.mdc-ripple-surface--hover .mdc-icon-button__ripple::before{opacity:0.08;opacity:var(--mdc-ripple-hover-opacity, 0.08)}.mdc-snackbar__dismiss.mdc-ripple-upgraded--background-focused .mdc-icon-button__ripple::before,.mdc-snackbar__dismiss:not(.mdc-ripple-upgraded):focus .mdc-icon-button__ripple::before{transition-duration:75ms;opacity:0.24;opacity:var(--mdc-ripple-focus-opacity, 0.24)}.mdc-snackbar__dismiss:not(.mdc-ripple-upgraded) .mdc-icon-button__ripple::after{transition:opacity 150ms linear}.mdc-snackbar__dismiss:not(.mdc-ripple-upgraded):active .mdc-icon-button__ripple::after{transition-duration:75ms;opacity:0.24;opacity:var(--mdc-ripple-press-opacity, 0.24)}.mdc-snackbar__dismiss.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.24)}.mdc-snackbar__dismiss.mdc-snackbar__dismiss{width:36px;height:36px;padding:6px;font-size:18px}.mdc-snackbar__dismiss.mdc-snackbar__dismiss .mdc-icon-button__focus-ring{display:none}.mdc-snackbar__dismiss.mdc-snackbar__dismiss.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-snackbar__dismiss.mdc-snackbar__dismiss:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block;max-height:36px;max-width:36px}@media screen and (forced-colors: active){.mdc-snackbar__dismiss.mdc-snackbar__dismiss.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-snackbar__dismiss.mdc-snackbar__dismiss:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{pointer-events:none;border:2px solid transparent;border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);height:100%;width:100%}}@media screen and (forced-colors: active)and (forced-colors: active){.mdc-snackbar__dismiss.mdc-snackbar__dismiss.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-snackbar__dismiss.mdc-snackbar__dismiss:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-snackbar__dismiss.mdc-snackbar__dismiss.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring::after,.mdc-snackbar__dismiss.mdc-snackbar__dismiss:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring::after{content:"";border:2px solid transparent;border-radius:8px;display:block;position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}}@media screen and (forced-colors: active)and (forced-colors: active){.mdc-snackbar__dismiss.mdc-snackbar__dismiss.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring::after,.mdc-snackbar__dismiss.mdc-snackbar__dismiss:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-snackbar__dismiss.mdc-snackbar__dismiss.mdc-icon-button--reduced-size .mdc-icon-button__ripple{width:36px;height:36px;margin-top:0px;margin-bottom:0px;margin-right:0px;margin-left:0px}.mdc-snackbar__dismiss.mdc-snackbar__dismiss.mdc-icon-button--reduced-size.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-snackbar__dismiss.mdc-snackbar__dismiss.mdc-icon-button--reduced-size:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{max-height:36px;max-width:36px}.mdc-snackbar__dismiss.mdc-snackbar__dismiss .mdc-icon-button__touch{position:absolute;top:50%;height:36px;left:50%;width:36px;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%)}.mdc-snackbar__action+.mdc-snackbar__dismiss{margin-left:8px;margin-right:0}[dir=rtl] .mdc-snackbar__action+.mdc-snackbar__dismiss,.mdc-snackbar__action+.mdc-snackbar__dismiss[dir=rtl]{margin-left:0;margin-right:8px}.mdc-switch{align-items:center;background:none;border:none;cursor:pointer;display:inline-flex;flex-shrink:0;margin:0;outline:none;overflow:visible;padding:0;position:relative}.mdc-switch:disabled{cursor:default;pointer-events:none}.mdc-switch__track{overflow:hidden;position:relative;width:100%}.mdc-switch__track::before,.mdc-switch__track::after{border:1px solid transparent;border-radius:inherit;box-sizing:border-box;content:"";height:100%;left:0;position:absolute;width:100%}@media screen and (forced-colors: active){.mdc-switch__track::before,.mdc-switch__track::after{border-color:currentColor}}.mdc-switch__track::before{transition:-webkit-transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1), -webkit-transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);-webkit-transform:translateX(0);transform:translateX(0)}.mdc-switch__track::after{transition:-webkit-transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1), -webkit-transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);-webkit-transform:translateX(-100%);transform:translateX(-100%)}[dir=rtl] .mdc-switch__track::after,.mdc-switch__track[dir=rtl]::after{-webkit-transform:translateX(100%);transform:translateX(100%)}.mdc-switch--selected .mdc-switch__track::before{transition:-webkit-transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1), -webkit-transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);-webkit-transform:translateX(100%);transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__track::before,.mdc-switch--selected .mdc-switch__track[dir=rtl]::before{-webkit-transform:translateX(-100%);transform:translateX(-100%)}.mdc-switch--selected .mdc-switch__track::after{transition:-webkit-transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1), -webkit-transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);-webkit-transform:translateX(0);transform:translateX(0)}.mdc-switch__handle-track{height:100%;pointer-events:none;position:absolute;top:0;transition:-webkit-transform 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);left:0;right:auto;-webkit-transform:translateX(0);transform:translateX(0)}[dir=rtl] .mdc-switch__handle-track,.mdc-switch__handle-track[dir=rtl]{left:auto;right:0}.mdc-switch--selected .mdc-switch__handle-track{-webkit-transform:translateX(100%);transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__handle-track,.mdc-switch--selected .mdc-switch__handle-track[dir=rtl]{-webkit-transform:translateX(-100%);transform:translateX(-100%)}.mdc-switch__handle{display:flex;pointer-events:auto;position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);left:0;right:auto}[dir=rtl] .mdc-switch__handle,.mdc-switch__handle[dir=rtl]{left:auto;right:0}.mdc-switch__handle::before,.mdc-switch__handle::after{border:1px solid transparent;border-radius:inherit;box-sizing:border-box;content:"";width:100%;height:100%;left:0;position:absolute;top:0;transition:background-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1),border-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);z-index:-1}@media screen and (forced-colors: active){.mdc-switch__handle::before,.mdc-switch__handle::after{border-color:currentColor}}.mdc-switch__shadow{border-radius:inherit;bottom:0;left:0;position:absolute;right:0;top:0}.mdc-elevation-overlay{bottom:0;left:0;right:0;top:0}.mdc-switch__ripple{left:50%;position:absolute;top:50%;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);z-index:-1}.mdc-switch:disabled .mdc-switch__ripple{display:none}.mdc-switch__icons{height:100%;position:relative;width:100%;z-index:1}.mdc-switch__icon{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0;opacity:0;transition:opacity 30ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-switch--selected .mdc-switch__icon--on,.mdc-switch--unselected .mdc-switch__icon--off{opacity:1;transition:opacity 45ms 30ms cubic-bezier(0, 0, 0.2, 1)}.mdc-switch{--mdc-ripple-fg-size: 0;--mdc-ripple-left: 0;--mdc-ripple-top: 0;--mdc-ripple-fg-scale: 1;--mdc-ripple-fg-translate-end: 0;--mdc-ripple-fg-translate-start: 0;-webkit-tap-highlight-color:rgba(0,0,0,0);will-change:transform,opacity}.mdc-switch .mdc-switch__ripple::before,.mdc-switch .mdc-switch__ripple::after{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:""}.mdc-switch .mdc-switch__ripple::before{transition:opacity 15ms linear,background-color 15ms linear;z-index:1;z-index:var(--mdc-ripple-z-index, 1)}.mdc-switch .mdc-switch__ripple::after{z-index:0;z-index:var(--mdc-ripple-z-index, 0)}.mdc-switch.mdc-ripple-upgraded .mdc-switch__ripple::before{-webkit-transform:scale(var(--mdc-ripple-fg-scale, 1));transform:scale(var(--mdc-ripple-fg-scale, 1))}.mdc-switch.mdc-ripple-upgraded .mdc-switch__ripple::after{top:0;left:0;-webkit-transform:scale(0);transform:scale(0);-webkit-transform-origin:center center;transform-origin:center center}.mdc-switch.mdc-ripple-upgraded--unbounded .mdc-switch__ripple::after{top:var(--mdc-ripple-top, 0);left:var(--mdc-ripple-left, 0)}.mdc-switch.mdc-ripple-upgraded--foreground-activation .mdc-switch__ripple::after{-webkit-animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards;animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards}.mdc-switch.mdc-ripple-upgraded--foreground-deactivation .mdc-switch__ripple::after{-webkit-animation:mdc-ripple-fg-opacity-out 150ms;animation:mdc-ripple-fg-opacity-out 150ms;-webkit-transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1));transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}.mdc-switch .mdc-switch__ripple::before,.mdc-switch .mdc-switch__ripple::after{top:calc(50% - 50%);left:calc(50% - 50%);width:100%;height:100%}.mdc-switch.mdc-ripple-upgraded .mdc-switch__ripple::before,.mdc-switch.mdc-ripple-upgraded .mdc-switch__ripple::after{top:var(--mdc-ripple-top, calc(50% - 50%));left:var(--mdc-ripple-left, calc(50% - 50%));width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-switch.mdc-ripple-upgraded .mdc-switch__ripple::after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-switch .mdc-switch__focus-ring-wrapper{width:100%;position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%)}.mdc-switch.mdc-ripple-upgraded--background-focused .mdc-switch__focus-ring,.mdc-switch:not(.mdc-ripple-upgraded):focus .mdc-switch__focus-ring{pointer-events:none;border:2px solid transparent;border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);height:calc( - 100% + 4px - );width:calc( - 100% + 4px - )}@media screen and (forced-colors: active){.mdc-switch.mdc-ripple-upgraded--background-focused .mdc-switch__focus-ring,.mdc-switch:not(.mdc-ripple-upgraded):focus .mdc-switch__focus-ring{border-color:CanvasText}}.mdc-switch.mdc-ripple-upgraded--background-focused .mdc-switch__focus-ring::after,.mdc-switch:not(.mdc-ripple-upgraded):focus .mdc-switch__focus-ring::after{content:"";border:2px solid transparent;border-radius:8px;display:block;position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-switch.mdc-ripple-upgraded--background-focused .mdc-switch__focus-ring::after,.mdc-switch:not(.mdc-ripple-upgraded):focus .mdc-switch__focus-ring::after{border-color:CanvasText}}.mdc-switch{width:36px;width:var(--mdc-switch-track-width, 36px)}.mdc-switch.mdc-switch--selected:enabled .mdc-switch__handle::after{background:#6200ee;background:var(--mdc-switch-selected-handle-color, var(--mdc-theme-primary, #6200ee))}.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:#310077;background:var(--mdc-switch-selected-hover-handle-color, #310077)}.mdc-switch.mdc-switch--selected:enabled:focus:not(:active) .mdc-switch__handle::after{background:#310077;background:var(--mdc-switch-selected-focus-handle-color, #310077)}.mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__handle::after{background:#310077;background:var(--mdc-switch-selected-pressed-handle-color, #310077)}.mdc-switch.mdc-switch--selected:disabled .mdc-switch__handle::after{background:#424242;background:var(--mdc-switch-disabled-selected-handle-color, #424242)}.mdc-switch.mdc-switch--unselected:enabled .mdc-switch__handle::after{background:#616161;background:var(--mdc-switch-unselected-handle-color, #616161)}.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:#212121;background:var(--mdc-switch-unselected-hover-handle-color, #212121)}.mdc-switch.mdc-switch--unselected:enabled:focus:not(:active) .mdc-switch__handle::after{background:#212121;background:var(--mdc-switch-unselected-focus-handle-color, #212121)}.mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__handle::after{background:#212121;background:var(--mdc-switch-unselected-pressed-handle-color, #212121)}.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__handle::after{background:#424242;background:var(--mdc-switch-disabled-unselected-handle-color, #424242)}.mdc-switch .mdc-switch__handle::before{background:#fff;background:var(--mdc-switch-handle-surface-color, var(--mdc-theme-surface, #fff))}.mdc-switch:enabled .mdc-switch__shadow{--mdc-elevation-box-shadow-for-gss:0px 2px 1px -1px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 1px 3px 0px rgba(0, 0, 0, 0.12);box-shadow:0px 2px 1px -1px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 1px 3px 0px rgba(0, 0, 0, 0.12);box-shadow:var(--mdc-switch-handle-elevation, var(--mdc-elevation-box-shadow-for-gss))}.mdc-switch:disabled .mdc-switch__shadow{--mdc-elevation-box-shadow-for-gss:0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12);box-shadow:0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12);box-shadow:var(--mdc-switch-disabled-handle-elevation, var(--mdc-elevation-box-shadow-for-gss))}.mdc-switch .mdc-switch__focus-ring-wrapper,.mdc-switch .mdc-switch__handle{height:20px;height:var(--mdc-switch-handle-height, 20px)}.mdc-switch:disabled .mdc-switch__handle::after{opacity:0.38;opacity:var(--mdc-switch-disabled-handle-opacity, 0.38)}.mdc-switch .mdc-switch__handle{border-radius:10px;border-radius:var(--mdc-switch-handle-shape, 10px)}.mdc-switch .mdc-switch__handle{width:20px;width:var(--mdc-switch-handle-width, 20px)}.mdc-switch .mdc-switch__handle-track{width:calc(100% - 20px);width:calc(100% - var(--mdc-switch-handle-width, 20px))}.mdc-switch.mdc-switch--selected:enabled .mdc-switch__icon{fill:#fff;fill:var(--mdc-switch-selected-icon-color, var(--mdc-theme-on-primary, #fff))}.mdc-switch.mdc-switch--selected:disabled .mdc-switch__icon{fill:#fff;fill:var(--mdc-switch-disabled-selected-icon-color, var(--mdc-theme-on-primary, #fff))}.mdc-switch.mdc-switch--unselected:enabled .mdc-switch__icon{fill:#fff;fill:var(--mdc-switch-unselected-icon-color, var(--mdc-theme-on-primary, #fff))}.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icon{fill:#fff;fill:var(--mdc-switch-disabled-unselected-icon-color, var(--mdc-theme-on-primary, #fff))}.mdc-switch.mdc-switch--selected:disabled .mdc-switch__icons{opacity:0.38;opacity:var(--mdc-switch-disabled-selected-icon-opacity, 0.38)}.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icons{opacity:0.38;opacity:var(--mdc-switch-disabled-unselected-icon-opacity, 0.38)}.mdc-switch.mdc-switch--selected .mdc-switch__icon{width:18px;width:var(--mdc-switch-selected-icon-size, 18px);height:18px;height:var(--mdc-switch-selected-icon-size, 18px)}.mdc-switch.mdc-switch--unselected .mdc-switch__icon{width:18px;width:var(--mdc-switch-unselected-icon-size, 18px);height:18px;height:var(--mdc-switch-unselected-icon-size, 18px)}.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background-color:#6200ee;background-color:var(--mdc-switch-selected-hover-state-layer-color, var(--mdc-theme-primary, #6200ee))}.mdc-switch.mdc-switch--selected:enabled:focus .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:focus .mdc-switch__ripple::after{background-color:#6200ee;background-color:var(--mdc-switch-selected-focus-state-layer-color, var(--mdc-theme-primary, #6200ee))}.mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__ripple::after{background-color:#6200ee;background-color:var(--mdc-switch-selected-pressed-state-layer-color, var(--mdc-theme-primary, #6200ee))}.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background-color:#424242;background-color:var(--mdc-switch-unselected-hover-state-layer-color, #424242)}.mdc-switch.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::after{background-color:#424242;background-color:var(--mdc-switch-unselected-focus-state-layer-color, #424242)}.mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__ripple::after{background-color:#424242;background-color:var(--mdc-switch-unselected-pressed-state-layer-color, #424242)}.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus):hover .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus).mdc-ripple-surface--hover .mdc-switch__ripple::before{opacity:0.04;opacity:var(--mdc-switch-selected-hover-state-layer-opacity, 0.04)}.mdc-switch.mdc-switch--selected:enabled:focus.mdc-ripple-upgraded--background-focused .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:focus:not(.mdc-ripple-upgraded):focus .mdc-switch__ripple::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-switch-selected-focus-state-layer-opacity, 0.12)}.mdc-switch.mdc-switch--selected:enabled:active:not(.mdc-ripple-upgraded) .mdc-switch__ripple::after{transition:opacity 150ms linear}.mdc-switch.mdc-switch--selected:enabled:active:not(.mdc-ripple-upgraded):active .mdc-switch__ripple::after{transition-duration:75ms;opacity:0.1;opacity:var(--mdc-switch-selected-pressed-state-layer-opacity, 0.1)}.mdc-switch.mdc-switch--selected:enabled:active.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-switch-selected-pressed-state-layer-opacity, 0.1)}.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus):hover .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus).mdc-ripple-surface--hover .mdc-switch__ripple::before{opacity:0.04;opacity:var(--mdc-switch-unselected-hover-state-layer-opacity, 0.04)}.mdc-switch.mdc-switch--unselected:enabled:focus.mdc-ripple-upgraded--background-focused .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:focus:not(.mdc-ripple-upgraded):focus .mdc-switch__ripple::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-switch-unselected-focus-state-layer-opacity, 0.12)}.mdc-switch.mdc-switch--unselected:enabled:active:not(.mdc-ripple-upgraded) .mdc-switch__ripple::after{transition:opacity 150ms linear}.mdc-switch.mdc-switch--unselected:enabled:active:not(.mdc-ripple-upgraded):active .mdc-switch__ripple::after{transition-duration:75ms;opacity:0.1;opacity:var(--mdc-switch-unselected-pressed-state-layer-opacity, 0.1)}.mdc-switch.mdc-switch--unselected:enabled:active.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-switch-unselected-pressed-state-layer-opacity, 0.1)}.mdc-switch .mdc-switch__ripple{height:48px;height:var(--mdc-switch-state-layer-size, 48px);width:48px;width:var(--mdc-switch-state-layer-size, 48px)}.mdc-switch .mdc-switch__track{height:14px;height:var(--mdc-switch-track-height, 14px)}.mdc-switch:disabled .mdc-switch__track{opacity:0.12;opacity:var(--mdc-switch-disabled-track-opacity, 0.12)}.mdc-switch:enabled .mdc-switch__track::after{background:#d7bbff;background:var(--mdc-switch-selected-track-color, #d7bbff)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::after{background:#d7bbff;background:var(--mdc-switch-selected-hover-track-color, #d7bbff)}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::after{background:#d7bbff;background:var(--mdc-switch-selected-focus-track-color, #d7bbff)}.mdc-switch:enabled:active .mdc-switch__track::after{background:#d7bbff;background:var(--mdc-switch-selected-pressed-track-color, #d7bbff)}.mdc-switch:disabled .mdc-switch__track::after{background:#424242;background:var(--mdc-switch-disabled-selected-track-color, #424242)}.mdc-switch:enabled .mdc-switch__track::before{background:#e0e0e0;background:var(--mdc-switch-unselected-track-color, #e0e0e0)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::before{background:#e0e0e0;background:var(--mdc-switch-unselected-hover-track-color, #e0e0e0)}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::before{background:#e0e0e0;background:var(--mdc-switch-unselected-focus-track-color, #e0e0e0)}.mdc-switch:enabled:active .mdc-switch__track::before{background:#e0e0e0;background:var(--mdc-switch-unselected-pressed-track-color, #e0e0e0)}.mdc-switch:disabled .mdc-switch__track::before{background:#424242;background:var(--mdc-switch-disabled-unselected-track-color, #424242)}.mdc-switch .mdc-switch__track{border-radius:7px;border-radius:var(--mdc-switch-track-shape, 7px)}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-switch:disabled .mdc-switch__handle::after{opacity:1;opacity:var(--mdc-switch-disabled-handle-opacity, 1)}.mdc-switch.mdc-switch--selected:enabled .mdc-switch__icon{fill:ButtonText;fill:var(--mdc-switch-selected-icon-color, ButtonText)}.mdc-switch.mdc-switch--selected:disabled .mdc-switch__icon{fill:GrayText;fill:var(--mdc-switch-disabled-selected-icon-color, GrayText)}.mdc-switch.mdc-switch--unselected:enabled .mdc-switch__icon{fill:ButtonText;fill:var(--mdc-switch-unselected-icon-color, ButtonText)}.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icon{fill:GrayText;fill:var(--mdc-switch-disabled-unselected-icon-color, GrayText)}.mdc-switch.mdc-switch--selected:disabled .mdc-switch__icons{opacity:1;opacity:var(--mdc-switch-disabled-selected-icon-opacity, 1)}.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icons{opacity:1;opacity:var(--mdc-switch-disabled-unselected-icon-opacity, 1)}.mdc-switch:disabled .mdc-switch__track{opacity:1;opacity:var(--mdc-switch-disabled-track-opacity, 1)}}.mdc-tab{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-button-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.875rem;font-size:var(--mdc-typography-button-font-size, 0.875rem);line-height:2.25rem;line-height:var(--mdc-typography-button-line-height, 2.25rem);font-weight:500;font-weight:var(--mdc-typography-button-font-weight, 500);letter-spacing:0.0892857143em;letter-spacing:var(--mdc-typography-button-letter-spacing, 0.0892857143em);text-decoration:none;-webkit-text-decoration:var(--mdc-typography-button-text-decoration, none);text-decoration:var(--mdc-typography-button-text-decoration, none);text-transform:uppercase;text-transform:var(--mdc-typography-button-text-transform, uppercase);position:relative}.mdc-tab .mdc-tab__text-label{color:rgba(0, 0, 0, 0.6)}.mdc-tab .mdc-tab__icon{color:rgba(0, 0, 0, 0.54);fill:currentColor}.mdc-tab.mdc-ripple-upgraded--background-focused.mdc-tab--active .mdc-tab__focus-ring,.mdc-tab:not(.mdc-ripple-upgraded):focus.mdc-tab--active .mdc-tab__focus-ring{pointer-events:none;border:2px solid transparent;border-radius:8px;box-sizing:content-box;position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);height:calc( - 100% + -12px - );width:calc( - 100% + -8px - );margin-top:-2px;z-index:2}@media screen and (forced-colors: active){.mdc-tab.mdc-ripple-upgraded--background-focused.mdc-tab--active .mdc-tab__focus-ring,.mdc-tab:not(.mdc-ripple-upgraded):focus.mdc-tab--active .mdc-tab__focus-ring{border-color:CanvasText}}.mdc-tab.mdc-ripple-upgraded--background-focused.mdc-tab--active .mdc-tab__focus-ring::after,.mdc-tab:not(.mdc-ripple-upgraded):focus.mdc-tab--active .mdc-tab__focus-ring::after{content:"";border:2px solid transparent;border-radius:10px;display:block;position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-tab.mdc-ripple-upgraded--background-focused.mdc-tab--active .mdc-tab__focus-ring::after,.mdc-tab:not(.mdc-ripple-upgraded):focus.mdc-tab--active .mdc-tab__focus-ring::after{border-color:CanvasText}}.mdc-tab.mdc-ripple-upgraded--background-focused .mdc-tab__focus-ring,.mdc-tab:not(.mdc-ripple-upgraded):focus .mdc-tab__focus-ring{pointer-events:none;border:2px solid transparent;border-radius:8px;box-sizing:content-box;position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);height:calc( - 100% + -8px - );width:calc( - 100% + -8px - );z-index:2}@media screen and (forced-colors: active){.mdc-tab.mdc-ripple-upgraded--background-focused .mdc-tab__focus-ring,.mdc-tab:not(.mdc-ripple-upgraded):focus .mdc-tab__focus-ring{border-color:CanvasText}}.mdc-tab.mdc-ripple-upgraded--background-focused .mdc-tab__focus-ring::after,.mdc-tab:not(.mdc-ripple-upgraded):focus .mdc-tab__focus-ring::after{content:"";border:2px solid transparent;border-radius:10px;display:block;position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-tab.mdc-ripple-upgraded--background-focused .mdc-tab__focus-ring::after,.mdc-tab:not(.mdc-ripple-upgraded):focus .mdc-tab__focus-ring::after{border-color:CanvasText}}.mdc-tab__content{position:relative}.mdc-tab__icon{width:24px;height:24px;font-size:24px}.mdc-tab--active .mdc-tab__text-label{color:#6200ee;color:var(--mdc-theme-primary, #6200ee)}.mdc-tab--active .mdc-tab__icon{color:#6200ee;color:var(--mdc-theme-primary, #6200ee);fill:currentColor}.mdc-tab{background:none}.mdc-tab{min-width:90px;padding-right:24px;padding-left:24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;margin:0;padding-top:0;padding-bottom:0;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;-webkit-appearance:none;z-index:1}.mdc-tab::-moz-focus-inner{padding:0;border:0}.mdc-tab--min-width{flex:0 1 auto}.mdc-tab__content{display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab__icon{transition:150ms color linear;z-index:2}.mdc-tab--stacked .mdc-tab__content{flex-direction:column;align-items:center;justify-content:center}.mdc-tab--stacked .mdc-tab__text-label{padding-top:6px;padding-bottom:4px}.mdc-tab--active .mdc-tab__text-label,.mdc-tab--active .mdc-tab__icon{transition-delay:100ms}.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label{padding-left:8px;padding-right:0}[dir=rtl] .mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label,.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label[dir=rtl]{padding-left:0;padding-right:8px}.mdc-tab{--mdc-ripple-fg-size: 0;--mdc-ripple-left: 0;--mdc-ripple-top: 0;--mdc-ripple-fg-scale: 1;--mdc-ripple-fg-translate-end: 0;--mdc-ripple-fg-translate-start: 0;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mdc-tab .mdc-tab__ripple::before,.mdc-tab .mdc-tab__ripple::after{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:""}.mdc-tab .mdc-tab__ripple::before{transition:opacity 15ms linear,background-color 15ms linear;z-index:1;z-index:var(--mdc-ripple-z-index, 1)}.mdc-tab .mdc-tab__ripple::after{z-index:0;z-index:var(--mdc-ripple-z-index, 0)}.mdc-tab.mdc-ripple-upgraded .mdc-tab__ripple::before{-webkit-transform:scale(var(--mdc-ripple-fg-scale, 1));transform:scale(var(--mdc-ripple-fg-scale, 1))}.mdc-tab.mdc-ripple-upgraded .mdc-tab__ripple::after{top:0;left:0;-webkit-transform:scale(0);transform:scale(0);-webkit-transform-origin:center center;transform-origin:center center}.mdc-tab.mdc-ripple-upgraded--unbounded .mdc-tab__ripple::after{top:var(--mdc-ripple-top, 0);left:var(--mdc-ripple-left, 0)}.mdc-tab.mdc-ripple-upgraded--foreground-activation .mdc-tab__ripple::after{-webkit-animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards;animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards}.mdc-tab.mdc-ripple-upgraded--foreground-deactivation .mdc-tab__ripple::after{-webkit-animation:mdc-ripple-fg-opacity-out 150ms;animation:mdc-ripple-fg-opacity-out 150ms;-webkit-transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1));transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}.mdc-tab .mdc-tab__ripple::before,.mdc-tab .mdc-tab__ripple::after{top:calc(50% - 100%);left:calc(50% - 100%);width:200%;height:200%}.mdc-tab.mdc-ripple-upgraded .mdc-tab__ripple::after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-tab .mdc-tab__ripple::before,.mdc-tab .mdc-tab__ripple::after{background-color:#6200ee;background-color:var(--mdc-ripple-color, var(--mdc-theme-primary, #6200ee))}.mdc-tab:hover .mdc-tab__ripple::before,.mdc-tab.mdc-ripple-surface--hover .mdc-tab__ripple::before{opacity:0.04;opacity:var(--mdc-ripple-hover-opacity, 0.04)}.mdc-tab.mdc-ripple-upgraded--background-focused .mdc-tab__ripple::before,.mdc-tab:not(.mdc-ripple-upgraded):focus .mdc-tab__ripple::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-opacity, 0.12)}.mdc-tab:not(.mdc-ripple-upgraded) .mdc-tab__ripple::after{transition:opacity 150ms linear}.mdc-tab:not(.mdc-ripple-upgraded):active .mdc-tab__ripple::after{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-tab.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-tab__ripple{position:absolute;top:0;left:0;width:100%;height:100%;overflow:hidden;will-change:transform,opacity}.mdc-tab-bar{width:100%}.mdc-tab{height:48px}.mdc-tab--stacked{height:72px}.mdc-tab-indicator .mdc-tab-indicator__content--underline{border-color:#6200ee;border-color:var(--mdc-theme-primary, #6200ee)}.mdc-tab-indicator .mdc-tab-indicator__content--icon{color:#018786;color:var(--mdc-theme-secondary, #018786)}.mdc-tab-indicator .mdc-tab-indicator__content--underline{border-top-width:2px}.mdc-tab-indicator .mdc-tab-indicator__content--icon{height:34px;font-size:34px}.mdc-tab-indicator{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator__content{-webkit-transform-origin:left;transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator__content--icon{align-self:center;margin:0 auto}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}.mdc-tab-indicator .mdc-tab-indicator__content{transition:250ms -webkit-transform cubic-bezier(0.4, 0, 0.2, 1);transition:250ms transform cubic-bezier(0.4, 0, 0.2, 1);transition:250ms transform cubic-bezier(0.4, 0, 0.2, 1), 250ms -webkit-transform cubic-bezier(0.4, 0, 0.2, 1)}.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition:150ms opacity linear}.mdc-tab-indicator--active.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition-delay:100ms}.mdc-tab-scroller{overflow-y:hidden}.mdc-tab-scroller.mdc-tab-scroller--animating .mdc-tab-scroller__scroll-content{transition:250ms -webkit-transform cubic-bezier(0.4, 0, 0.2, 1);transition:250ms transform cubic-bezier(0.4, 0, 0.2, 1);transition:250ms transform cubic-bezier(0.4, 0, 0.2, 1), 250ms -webkit-transform cubic-bezier(0.4, 0, 0.2, 1)}.mdc-tab-scroller__test{position:absolute;top:-9999px;width:100px;height:100px;overflow-x:scroll}.mdc-tab-scroller__scroll-area{-webkit-overflow-scrolling:touch;display:flex;overflow-x:hidden}.mdc-tab-scroller__scroll-area::-webkit-scrollbar,.mdc-tab-scroller__test::-webkit-scrollbar{display:none}.mdc-tab-scroller__scroll-area--scroll{overflow-x:scroll}.mdc-tab-scroller__scroll-content{position:relative;display:flex;flex:1 0 auto;-webkit-transform:none;transform:none;will-change:transform}.mdc-tab-scroller--align-start .mdc-tab-scroller__scroll-content{justify-content:flex-start}.mdc-tab-scroller--align-end .mdc-tab-scroller__scroll-content{justify-content:flex-end}.mdc-tab-scroller--align-center .mdc-tab-scroller__scroll-content{justify-content:center}.mdc-tab-scroller--animating .mdc-tab-scroller__scroll-area{-webkit-overflow-scrolling:auto}.mdc-text-field--filled{--mdc-ripple-fg-size: 0;--mdc-ripple-left: 0;--mdc-ripple-top: 0;--mdc-ripple-fg-scale: 1;--mdc-ripple-fg-translate-end: 0;--mdc-ripple-fg-translate-start: 0;-webkit-tap-highlight-color:rgba(0,0,0,0);will-change:transform,opacity}.mdc-text-field--filled .mdc-text-field__ripple::before,.mdc-text-field--filled .mdc-text-field__ripple::after{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:""}.mdc-text-field--filled .mdc-text-field__ripple::before{transition:opacity 15ms linear,background-color 15ms linear;z-index:1;z-index:var(--mdc-ripple-z-index, 1)}.mdc-text-field--filled .mdc-text-field__ripple::after{z-index:0;z-index:var(--mdc-ripple-z-index, 0)}.mdc-text-field--filled.mdc-ripple-upgraded .mdc-text-field__ripple::before{-webkit-transform:scale(var(--mdc-ripple-fg-scale, 1));transform:scale(var(--mdc-ripple-fg-scale, 1))}.mdc-text-field--filled.mdc-ripple-upgraded .mdc-text-field__ripple::after{top:0;left:0;-webkit-transform:scale(0);transform:scale(0);-webkit-transform-origin:center center;transform-origin:center center}.mdc-text-field--filled.mdc-ripple-upgraded--unbounded .mdc-text-field__ripple::after{top:var(--mdc-ripple-top, 0);left:var(--mdc-ripple-left, 0)}.mdc-text-field--filled.mdc-ripple-upgraded--foreground-activation .mdc-text-field__ripple::after{-webkit-animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards;animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards}.mdc-text-field--filled.mdc-ripple-upgraded--foreground-deactivation .mdc-text-field__ripple::after{-webkit-animation:mdc-ripple-fg-opacity-out 150ms;animation:mdc-ripple-fg-opacity-out 150ms;-webkit-transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1));transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}.mdc-text-field--filled .mdc-text-field__ripple::before,.mdc-text-field--filled .mdc-text-field__ripple::after{top:calc(50% - 100%);left:calc(50% - 100%);width:200%;height:200%}.mdc-text-field--filled.mdc-ripple-upgraded .mdc-text-field__ripple::after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-text-field__ripple{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none}.mdc-text-field{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:0;border-bottom-left-radius:0;display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color}.mdc-text-field:not(.mdc-text-field--disabled) .mdc-floating-label{color:rgba(0, 0, 0, 0.6)}.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__input{color:rgba(0, 0, 0, 0.87)}@media all{.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:rgba(0, 0, 0, 0.54)}.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:rgba(0, 0, 0, 0.54)}.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__input::-ms-input-placeholder{color:rgba(0, 0, 0, 0.54)}.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:rgba(0, 0, 0, 0.54)}}@media all{.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:rgba(0, 0, 0, 0.54)}}.mdc-text-field .mdc-text-field__input{caret-color:#6200ee;caret-color:var(--mdc-theme-primary, #6200ee)}.mdc-text-field:not(.mdc-text-field--disabled)+.mdc-text-field-helper-line .mdc-text-field-helper-text{color:rgba(0, 0, 0, 0.6)}.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field-character-counter,.mdc-text-field:not(.mdc-text-field--disabled)+.mdc-text-field-helper-line .mdc-text-field-character-counter{color:rgba(0, 0, 0, 0.6)}.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__icon--leading{color:rgba(0, 0, 0, 0.54)}.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__icon--trailing{color:rgba(0, 0, 0, 0.54)}.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__affix--prefix{color:rgba(0, 0, 0, 0.6)}.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__affix--suffix{color:rgba(0, 0, 0, 0.6)}.mdc-text-field .mdc-floating-label{top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);pointer-events:none}.mdc-text-field__input{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-subtitle1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:1rem;font-size:var(--mdc-typography-subtitle1-font-size, 1rem);font-weight:400;font-weight:var(--mdc-typography-subtitle1-font-weight, 400);letter-spacing:0.009375em;letter-spacing:var(--mdc-typography-subtitle1-letter-spacing, 0.009375em);text-decoration:inherit;-webkit-text-decoration:var(--mdc-typography-subtitle1-text-decoration, inherit);text-decoration:var(--mdc-typography-subtitle1-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-subtitle1-text-transform, inherit);height:28px;transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);width:100%;min-width:0;border:none;border-radius:0;background:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}@media all{.mdc-text-field__input::-webkit-input-placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1);opacity:0}.mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1);opacity:0}.mdc-text-field__input::-ms-input-placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1);opacity:0}.mdc-text-field__input::placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1);opacity:0}}@media all{.mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1);opacity:0}}@media all{.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input::-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}}@media all{.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}}.mdc-text-field__affix{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-subtitle1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:1rem;font-size:var(--mdc-typography-subtitle1-font-size, 1rem);font-weight:400;font-weight:var(--mdc-typography-subtitle1-font-weight, 400);letter-spacing:0.009375em;letter-spacing:var(--mdc-typography-subtitle1-letter-spacing, 0.009375em);text-decoration:inherit;-webkit-text-decoration:var(--mdc-typography-subtitle1-text-decoration, inherit);text-decoration:var(--mdc-typography-subtitle1-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-subtitle1-text-transform, inherit);height:28px;transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);opacity:0;white-space:nowrap}.mdc-text-field--label-floating .mdc-text-field__affix,.mdc-text-field--no-label .mdc-text-field__affix{opacity:1}@supports(-webkit-hyphens: none){.mdc-text-field--outlined .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field__affix--prefix,.mdc-text-field__affix--prefix[dir=rtl]{padding-left:2px;padding-right:0}.mdc-text-field--end-aligned .mdc-text-field__affix--prefix{padding-left:0;padding-right:12px}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--end-aligned .mdc-text-field__affix--prefix[dir=rtl]{padding-left:12px;padding-right:0}.mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field__affix--suffix,.mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:12px}.mdc-text-field--end-aligned .mdc-text-field__affix--suffix{padding-left:2px;padding-right:0}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--end-aligned .mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:2px}.mdc-text-field--filled{height:56px}.mdc-text-field--filled .mdc-text-field__ripple::before,.mdc-text-field--filled .mdc-text-field__ripple::after{background-color:rgba(0, 0, 0, 0.87);background-color:var(--mdc-ripple-color, rgba(0, 0, 0, 0.87))}.mdc-text-field--filled:hover .mdc-text-field__ripple::before,.mdc-text-field--filled.mdc-ripple-surface--hover .mdc-text-field__ripple::before{opacity:0.04;opacity:var(--mdc-ripple-hover-opacity, 0.04)}.mdc-text-field--filled.mdc-ripple-upgraded--background-focused .mdc-text-field__ripple::before,.mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-opacity, 0.12)}.mdc-text-field--filled::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:whitesmoke}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:rgba(0, 0, 0, 0.42)}.mdc-text-field--filled:not(.mdc-text-field--disabled):hover .mdc-line-ripple::before{border-bottom-color:rgba(0, 0, 0, 0.87)}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-color:#6200ee;border-bottom-color:var(--mdc-theme-primary, #6200ee)}.mdc-text-field--filled .mdc-floating-label{left:16px;right:initial}[dir=rtl] .mdc-text-field--filled .mdc-floating-label,.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:16px}.mdc-text-field--filled .mdc-floating-label--float-above{-webkit-transform:translateY(-106%) scale(0.75);transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled.mdc-text-field--no-label::before{display:none}@supports(-webkit-hyphens: none){.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field--outlined{height:56px;overflow:visible}.mdc-text-field--outlined .mdc-floating-label--float-above{-webkit-transform:translateY(-37.25px) scale(1);transform:translateY(-37.25px) scale(1)}.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{-webkit-transform:translateY(-34.75px) scale(0.75);transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--outlined .mdc-floating-label--shake{-webkit-animation:mdc-floating-label-shake-float-above-text-field-outlined 250ms 1;animation:mdc-floating-label-shake-float-above-text-field-outlined 250ms 1}@-webkit-keyframes mdc-floating-label-shake-float-above-text-field-outlined{0%{-webkit-transform:translateX(calc(0 - 0%)) translateY(-34.75px) scale(0.75);transform:translateX(calc(0 - 0%)) translateY(-34.75px) scale(0.75)}33%{-webkit-animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);-webkit-transform:translateX(calc(4% - 0%)) translateY(-34.75px) scale(0.75);transform:translateX(calc(4% - 0%)) translateY(-34.75px) scale(0.75)}66%{-webkit-animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);-webkit-transform:translateX(calc(-4% - 0%)) translateY(-34.75px) scale(0.75);transform:translateX(calc(-4% - 0%)) translateY(-34.75px) scale(0.75)}100%{-webkit-transform:translateX(calc(0 - 0%)) translateY(-34.75px) scale(0.75);transform:translateX(calc(0 - 0%)) translateY(-34.75px) scale(0.75)}}@keyframes mdc-floating-label-shake-float-above-text-field-outlined{0%{-webkit-transform:translateX(calc(0 - 0%)) translateY(-34.75px) scale(0.75);transform:translateX(calc(0 - 0%)) translateY(-34.75px) scale(0.75)}33%{-webkit-animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);-webkit-transform:translateX(calc(4% - 0%)) translateY(-34.75px) scale(0.75);transform:translateX(calc(4% - 0%)) translateY(-34.75px) scale(0.75)}66%{-webkit-animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);-webkit-transform:translateX(calc(-4% - 0%)) translateY(-34.75px) scale(0.75);transform:translateX(calc(-4% - 0%)) translateY(-34.75px) scale(0.75)}100%{-webkit-transform:translateX(calc(0 - 0%)) translateY(-34.75px) scale(0.75);transform:translateX(calc(0 - 0%)) translateY(-34.75px) scale(0.75)}}.mdc-text-field--outlined .mdc-text-field__input{height:100%}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:rgba(0, 0, 0, 0.38)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:rgba(0, 0, 0, 0.87)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:#6200ee;border-color:var(--mdc-theme-primary, #6200ee)}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px, var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px, var(--mdc-shape-small, 4px))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px, var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px, var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px, var(--mdc-shape-small, 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px, var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--outlined .mdc-text-field__ripple::before,.mdc-text-field--outlined .mdc-text-field__ripple::after{background-color:transparent;background-color:var(--mdc-ripple-color, transparent)}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:initial}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:4px}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:transparent}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mdc-text-field--textarea{flex-direction:column;align-items:center;width:auto;height:auto;padding:0;transition:none}.mdc-text-field--textarea .mdc-floating-label{top:19px}.mdc-text-field--textarea .mdc-floating-label:not(.mdc-floating-label--float-above){-webkit-transform:none;transform:none}.mdc-text-field--textarea .mdc-text-field__input{flex-grow:1;height:auto;min-height:1.5rem;overflow-x:hidden;overflow-y:auto;box-sizing:border-box;resize:none;padding:0 16px;line-height:1.5rem}.mdc-text-field--textarea.mdc-text-field--filled::before{display:none}.mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--float-above{-webkit-transform:translateY(-10.25px) scale(0.75);transform:translateY(-10.25px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--shake{-webkit-animation:mdc-floating-label-shake-float-above-textarea-filled 250ms 1;animation:mdc-floating-label-shake-float-above-textarea-filled 250ms 1}@-webkit-keyframes mdc-floating-label-shake-float-above-textarea-filled{0%{-webkit-transform:translateX(calc(0 - 0%)) translateY(-10.25px) scale(0.75);transform:translateX(calc(0 - 0%)) translateY(-10.25px) scale(0.75)}33%{-webkit-animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);-webkit-transform:translateX(calc(4% - 0%)) translateY(-10.25px) scale(0.75);transform:translateX(calc(4% - 0%)) translateY(-10.25px) scale(0.75)}66%{-webkit-animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);-webkit-transform:translateX(calc(-4% - 0%)) translateY(-10.25px) scale(0.75);transform:translateX(calc(-4% - 0%)) translateY(-10.25px) scale(0.75)}100%{-webkit-transform:translateX(calc(0 - 0%)) translateY(-10.25px) scale(0.75);transform:translateX(calc(0 - 0%)) translateY(-10.25px) scale(0.75)}}@keyframes mdc-floating-label-shake-float-above-textarea-filled{0%{-webkit-transform:translateX(calc(0 - 0%)) translateY(-10.25px) scale(0.75);transform:translateX(calc(0 - 0%)) translateY(-10.25px) scale(0.75)}33%{-webkit-animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);-webkit-transform:translateX(calc(4% - 0%)) translateY(-10.25px) scale(0.75);transform:translateX(calc(4% - 0%)) translateY(-10.25px) scale(0.75)}66%{-webkit-animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);-webkit-transform:translateX(calc(-4% - 0%)) translateY(-10.25px) scale(0.75);transform:translateX(calc(-4% - 0%)) translateY(-10.25px) scale(0.75)}100%{-webkit-transform:translateX(calc(0 - 0%)) translateY(-10.25px) scale(0.75);transform:translateX(calc(0 - 0%)) translateY(-10.25px) scale(0.75)}}.mdc-text-field--textarea.mdc-text-field--filled .mdc-text-field__input{margin-top:23px;margin-bottom:9px}.mdc-text-field--textarea.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{-webkit-transform:translateY(-27.25px) scale(1);transform:translateY(-27.25px) scale(1)}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{-webkit-transform:translateY(-24.75px) scale(0.75);transform:translateY(-24.75px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--shake{-webkit-animation:mdc-floating-label-shake-float-above-textarea-outlined 250ms 1;animation:mdc-floating-label-shake-float-above-textarea-outlined 250ms 1}@-webkit-keyframes mdc-floating-label-shake-float-above-textarea-outlined{0%{-webkit-transform:translateX(calc(0 - 0%)) translateY(-24.75px) scale(0.75);transform:translateX(calc(0 - 0%)) translateY(-24.75px) scale(0.75)}33%{-webkit-animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);-webkit-transform:translateX(calc(4% - 0%)) translateY(-24.75px) scale(0.75);transform:translateX(calc(4% - 0%)) translateY(-24.75px) scale(0.75)}66%{-webkit-animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);-webkit-transform:translateX(calc(-4% - 0%)) translateY(-24.75px) scale(0.75);transform:translateX(calc(-4% - 0%)) translateY(-24.75px) scale(0.75)}100%{-webkit-transform:translateX(calc(0 - 0%)) translateY(-24.75px) scale(0.75);transform:translateX(calc(0 - 0%)) translateY(-24.75px) scale(0.75)}}@keyframes mdc-floating-label-shake-float-above-textarea-outlined{0%{-webkit-transform:translateX(calc(0 - 0%)) translateY(-24.75px) scale(0.75);transform:translateX(calc(0 - 0%)) translateY(-24.75px) scale(0.75)}33%{-webkit-animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);-webkit-transform:translateX(calc(4% - 0%)) translateY(-24.75px) scale(0.75);transform:translateX(calc(4% - 0%)) translateY(-24.75px) scale(0.75)}66%{-webkit-animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);-webkit-transform:translateX(calc(-4% - 0%)) translateY(-24.75px) scale(0.75);transform:translateX(calc(-4% - 0%)) translateY(-24.75px) scale(0.75)}100%{-webkit-transform:translateX(calc(0 - 0%)) translateY(-24.75px) scale(0.75);transform:translateX(calc(0 - 0%)) translateY(-24.75px) scale(0.75)}}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label{top:18px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field__input{margin-bottom:2px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter{align-self:flex-end;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::after{display:inline-block;width:0;height:16px;content:"";vertical-align:-16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::before{display:none}.mdc-text-field__resizer{align-self:stretch;display:inline-flex;flex-direction:column;flex-grow:1;max-height:100%;max-width:100%;min-height:56px;min-width:-webkit-fit-content;min-width:-moz-fit-content;min-width:fit-content;min-width:-moz-available;min-width:-webkit-fill-available;overflow:hidden;resize:both}.mdc-text-field--filled .mdc-text-field__resizer{-webkit-transform:translateY(-1px);transform:translateY(-1px)}.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field-character-counter{-webkit-transform:translateY(1px);transform:translateY(1px)}.mdc-text-field--outlined .mdc-text-field__resizer{-webkit-transform:translateX(-1px) translateY(-1px);transform:translateX(-1px) translateY(-1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer,.mdc-text-field--outlined .mdc-text-field__resizer[dir=rtl]{-webkit-transform:translateX(1px) translateY(-1px);transform:translateX(1px) translateY(-1px)}.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter{-webkit-transform:translateX(1px) translateY(1px);transform:translateX(1px) translateY(1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input[dir=rtl],.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter[dir=rtl]{-webkit-transform:translateX(-1px) translateY(1px);transform:translateX(-1px) translateY(1px)}.mdc-text-field--with-leading-icon{padding-left:0;padding-right:16px}[dir=rtl] .mdc-text-field--with-leading-icon,.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:16px;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 48px);left:48px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:48px}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 64px / 0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label{left:36px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:36px}.mdc-text-field--with-leading-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{-webkit-transform:translateY(-37.25px) translateX(-32px) scale(1);transform:translateY(-37.25px) translateX(-32px) scale(1)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above[dir=rtl]{-webkit-transform:translateY(-37.25px) translateX(32px) scale(1);transform:translateY(-37.25px) translateX(32px) scale(1)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{-webkit-transform:translateY(-34.75px) translateX(-32px) scale(0.75);transform:translateY(-34.75px) translateX(-32px) scale(0.75)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl],.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl]{-webkit-transform:translateY(-34.75px) translateX(32px) scale(0.75);transform:translateY(-34.75px) translateX(32px) scale(0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake{-webkit-animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1;animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@-webkit-keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon{0%{-webkit-transform:translateX(calc(0 - 32px)) translateY(-34.75px) scale(0.75);transform:translateX(calc(0 - 32px)) translateY(-34.75px) scale(0.75)}33%{-webkit-animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);-webkit-transform:translateX(calc(4% - 32px)) translateY(-34.75px) scale(0.75);transform:translateX(calc(4% - 32px)) translateY(-34.75px) scale(0.75)}66%{-webkit-animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);-webkit-transform:translateX(calc(-4% - 32px)) translateY(-34.75px) scale(0.75);transform:translateX(calc(-4% - 32px)) translateY(-34.75px) scale(0.75)}100%{-webkit-transform:translateX(calc(0 - 32px)) translateY(-34.75px) scale(0.75);transform:translateX(calc(0 - 32px)) translateY(-34.75px) scale(0.75)}}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon{0%{-webkit-transform:translateX(calc(0 - 32px)) translateY(-34.75px) scale(0.75);transform:translateX(calc(0 - 32px)) translateY(-34.75px) scale(0.75)}33%{-webkit-animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);-webkit-transform:translateX(calc(4% - 32px)) translateY(-34.75px) scale(0.75);transform:translateX(calc(4% - 32px)) translateY(-34.75px) scale(0.75)}66%{-webkit-animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);-webkit-transform:translateX(calc(-4% - 32px)) translateY(-34.75px) scale(0.75);transform:translateX(calc(-4% - 32px)) translateY(-34.75px) scale(0.75)}100%{-webkit-transform:translateX(calc(0 - 32px)) translateY(-34.75px) scale(0.75);transform:translateX(calc(0 - 32px)) translateY(-34.75px) scale(0.75)}}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake,.mdc-text-field--with-leading-icon.mdc-text-field--outlined[dir=rtl] .mdc-floating-label--shake{-webkit-animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1;animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@-webkit-keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-rtl{0%{-webkit-transform:translateX(calc(0 - -32px)) translateY(-34.75px) scale(0.75);transform:translateX(calc(0 - -32px)) translateY(-34.75px) scale(0.75)}33%{-webkit-animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);-webkit-transform:translateX(calc(4% - -32px)) translateY(-34.75px) scale(0.75);transform:translateX(calc(4% - -32px)) translateY(-34.75px) scale(0.75)}66%{-webkit-animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);-webkit-transform:translateX(calc(-4% - -32px)) translateY(-34.75px) scale(0.75);transform:translateX(calc(-4% - -32px)) translateY(-34.75px) scale(0.75)}100%{-webkit-transform:translateX(calc(0 - -32px)) translateY(-34.75px) scale(0.75);transform:translateX(calc(0 - -32px)) translateY(-34.75px) scale(0.75)}}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-rtl{0%{-webkit-transform:translateX(calc(0 - -32px)) translateY(-34.75px) scale(0.75);transform:translateX(calc(0 - -32px)) translateY(-34.75px) scale(0.75)}33%{-webkit-animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);-webkit-transform:translateX(calc(4% - -32px)) translateY(-34.75px) scale(0.75);transform:translateX(calc(4% - -32px)) translateY(-34.75px) scale(0.75)}66%{-webkit-animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);-webkit-transform:translateX(calc(-4% - -32px)) translateY(-34.75px) scale(0.75);transform:translateX(calc(-4% - -32px)) translateY(-34.75px) scale(0.75)}100%{-webkit-transform:translateX(calc(0 - -32px)) translateY(-34.75px) scale(0.75);transform:translateX(calc(0 - -32px)) translateY(-34.75px) scale(0.75)}}.mdc-text-field--with-trailing-icon{padding-left:16px;padding-right:0}[dir=rtl] .mdc-text-field--with-trailing-icon,.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0;padding-right:16px}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 64px)}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 64px / 0.75)}.mdc-text-field--with-trailing-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 96px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 96px / 0.75)}.mdc-text-field-helper-line{display:flex;justify-content:space-between;box-sizing:border-box}.mdc-text-field+.mdc-text-field-helper-line{padding-right:16px;padding-left:16px}.mdc-form-field>.mdc-text-field+label{align-self:flex-start}.mdc-text-field--focused:not(.mdc-text-field--disabled) .mdc-floating-label{color:rgba(98, 0, 238, 0.87)}.mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--focused .mdc-notched-outline__trailing{border-width:2px}.mdc-text-field--focused+.mdc-text-field-helper-line .mdc-text-field-helper-text:not(.mdc-text-field-helper-text--validation-msg){opacity:1}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-text-field--focused.mdc-text-field--outlined.mdc-text-field--textarea .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-line-ripple::before{border-bottom-color:#b00020;border-bottom-color:var(--mdc-theme-error, #b00020)}.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:#b00020;border-bottom-color:var(--mdc-theme-error, #b00020)}.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label{color:#b00020;color:var(--mdc-theme-error, #b00020)}.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{color:#b00020;color:var(--mdc-theme-error, #b00020)}.mdc-text-field--invalid .mdc-text-field__input{caret-color:#b00020;caret-color:var(--mdc-theme-error, #b00020)}.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__icon--trailing{color:#b00020;color:var(--mdc-theme-error, #b00020)}.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:#b00020;border-bottom-color:var(--mdc-theme-error, #b00020)}.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:#b00020;border-color:var(--mdc-theme-error, #b00020)}.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:#b00020;border-color:var(--mdc-theme-error, #b00020)}.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:#b00020;border-color:var(--mdc-theme-error, #b00020)}.mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{opacity:1}.mdc-text-field--disabled{pointer-events:none}.mdc-text-field--disabled .mdc-text-field__input{color:rgba(0, 0, 0, 0.38)}@media all{.mdc-text-field--disabled .mdc-text-field__input::-webkit-input-placeholder{color:rgba(0, 0, 0, 0.38)}.mdc-text-field--disabled .mdc-text-field__input:-ms-input-placeholder{color:rgba(0, 0, 0, 0.38)}.mdc-text-field--disabled .mdc-text-field__input::-ms-input-placeholder{color:rgba(0, 0, 0, 0.38)}.mdc-text-field--disabled .mdc-text-field__input::placeholder{color:rgba(0, 0, 0, 0.38)}}@media all{.mdc-text-field--disabled .mdc-text-field__input:-ms-input-placeholder{color:rgba(0, 0, 0, 0.38)}}.mdc-text-field--disabled .mdc-floating-label{color:rgba(0, 0, 0, 0.38)}.mdc-text-field--disabled+.mdc-text-field-helper-line .mdc-text-field-helper-text{color:rgba(0, 0, 0, 0.38)}.mdc-text-field--disabled .mdc-text-field-character-counter,.mdc-text-field--disabled+.mdc-text-field-helper-line .mdc-text-field-character-counter{color:rgba(0, 0, 0, 0.38)}.mdc-text-field--disabled .mdc-text-field__icon--leading{color:rgba(0, 0, 0, 0.3)}.mdc-text-field--disabled .mdc-text-field__icon--trailing{color:rgba(0, 0, 0, 0.3)}.mdc-text-field--disabled .mdc-text-field__affix--prefix{color:rgba(0, 0, 0, 0.38)}.mdc-text-field--disabled .mdc-text-field__affix--suffix{color:rgba(0, 0, 0, 0.38)}.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:rgba(0, 0, 0, 0.06)}.mdc-text-field--disabled .mdc-notched-outline__leading,.mdc-text-field--disabled .mdc-notched-outline__notch,.mdc-text-field--disabled .mdc-notched-outline__trailing{border-color:rgba(0, 0, 0, 0.06)}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-text-field--disabled .mdc-text-field__input::-webkit-input-placeholder{color:GrayText}.mdc-text-field--disabled .mdc-text-field__input:-ms-input-placeholder{color:GrayText}.mdc-text-field--disabled .mdc-text-field__input::-ms-input-placeholder{color:GrayText}.mdc-text-field--disabled .mdc-text-field__input::placeholder{color:GrayText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-text-field--disabled .mdc-text-field__input:-ms-input-placeholder{color:GrayText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-text-field--disabled .mdc-floating-label{color:GrayText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-text-field--disabled+.mdc-text-field-helper-line .mdc-text-field-helper-text{color:GrayText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-text-field--disabled .mdc-text-field-character-counter,.mdc-text-field--disabled+.mdc-text-field-helper-line .mdc-text-field-character-counter{color:GrayText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-text-field--disabled .mdc-text-field__icon--leading{color:GrayText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-text-field--disabled .mdc-text-field__icon--trailing{color:GrayText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-text-field--disabled .mdc-text-field__affix--prefix{color:GrayText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-text-field--disabled .mdc-text-field__affix--suffix{color:GrayText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:GrayText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-text-field--disabled .mdc-notched-outline__leading,.mdc-text-field--disabled .mdc-notched-outline__notch,.mdc-text-field--disabled .mdc-notched-outline__trailing{border-color:GrayText}}@media screen and (forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.mdc-text-field--disabled.mdc-text-field--filled{background-color:#fafafa}.mdc-text-field--disabled.mdc-text-field--filled .mdc-text-field__ripple{display:none}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--end-aligned .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--end-aligned .mdc-text-field__input[dir=rtl]{text-align:left}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix{direction:ltr}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--leading,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--leading{order:1}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{order:2}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input{order:3}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{order:4}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--trailing,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--trailing{order:5}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--prefix{padding-right:12px}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--suffix{padding-left:2px}.mdc-text-field-helper-text{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-caption-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.75rem;font-size:var(--mdc-typography-caption-font-size, 0.75rem);line-height:1.25rem;line-height:var(--mdc-typography-caption-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-caption-font-weight, 400);letter-spacing:0.0333333333em;letter-spacing:var(--mdc-typography-caption-letter-spacing, 0.0333333333em);text-decoration:inherit;-webkit-text-decoration:var(--mdc-typography-caption-text-decoration, inherit);text-decoration:var(--mdc-typography-caption-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-caption-text-transform, inherit);display:block;margin-top:0;line-height:normal;margin:0;opacity:0;will-change:opacity;transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-text-field-helper-text::before{display:inline-block;width:0;height:16px;content:"";vertical-align:0}.mdc-text-field-helper-text--persistent{transition:none;opacity:1;will-change:initial}.mdc-text-field-character-counter{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-caption-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.75rem;font-size:var(--mdc-typography-caption-font-size, 0.75rem);line-height:1.25rem;line-height:var(--mdc-typography-caption-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-caption-font-weight, 400);letter-spacing:0.0333333333em;letter-spacing:var(--mdc-typography-caption-letter-spacing, 0.0333333333em);text-decoration:inherit;-webkit-text-decoration:var(--mdc-typography-caption-text-decoration, inherit);text-decoration:var(--mdc-typography-caption-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-caption-text-transform, inherit);display:block;margin-top:0;line-height:normal;margin-left:auto;margin-right:0;padding-left:16px;padding-right:0;white-space:nowrap}.mdc-text-field-character-counter::before{display:inline-block;width:0;height:16px;content:"";vertical-align:0}[dir=rtl] .mdc-text-field-character-counter,.mdc-text-field-character-counter[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-text-field-character-counter,.mdc-text-field-character-counter[dir=rtl]{padding-left:0;padding-right:16px}.mdc-text-field__icon{align-self:center;cursor:pointer}.mdc-text-field__icon:not([tabindex]),.mdc-text-field__icon[tabindex="-1"]{cursor:default;pointer-events:none}.mdc-text-field__icon svg{display:block}.mdc-text-field__icon--leading{margin-left:16px;margin-right:8px}[dir=rtl] .mdc-text-field__icon--leading,.mdc-text-field__icon--leading[dir=rtl]{margin-left:8px;margin-right:16px}.mdc-text-field__icon--trailing{padding:12px;margin-left:0px;margin-right:0px}[dir=rtl] .mdc-text-field__icon--trailing,.mdc-text-field__icon--trailing[dir=rtl]{margin-left:0px;margin-right:0px}:root{--mdc-theme-primary:#6200ee;--mdc-theme-secondary:#018786;--mdc-theme-background:#fff;--mdc-theme-surface:#fff;--mdc-theme-error:#b00020;--mdc-theme-on-primary:#fff;--mdc-theme-on-secondary:#fff;--mdc-theme-on-surface:#000;--mdc-theme-on-error:#fff;--mdc-theme-text-primary-on-background:rgba(0, 0, 0, 0.87);--mdc-theme-text-secondary-on-background:rgba(0, 0, 0, 0.54);--mdc-theme-text-hint-on-background:rgba(0, 0, 0, 0.38);--mdc-theme-text-disabled-on-background:rgba(0, 0, 0, 0.38);--mdc-theme-text-icon-on-background:rgba(0, 0, 0, 0.38);--mdc-theme-text-primary-on-light:rgba(0, 0, 0, 0.87);--mdc-theme-text-secondary-on-light:rgba(0, 0, 0, 0.54);--mdc-theme-text-hint-on-light:rgba(0, 0, 0, 0.38);--mdc-theme-text-disabled-on-light:rgba(0, 0, 0, 0.38);--mdc-theme-text-icon-on-light:rgba(0, 0, 0, 0.38);--mdc-theme-text-primary-on-dark:white;--mdc-theme-text-secondary-on-dark:rgba(255, 255, 255, 0.7);--mdc-theme-text-hint-on-dark:rgba(255, 255, 255, 0.5);--mdc-theme-text-disabled-on-dark:rgba(255, 255, 255, 0.5);--mdc-theme-text-icon-on-dark:rgba(255, 255, 255, 0.5)}.mdc-theme--primary{color:#6200ee !important;color:var(--mdc-theme-primary, #6200ee) !important}.mdc-theme--secondary{color:#018786 !important;color:var(--mdc-theme-secondary, #018786) !important}.mdc-theme--background{background-color:#fff;background-color:var(--mdc-theme-background, #fff)}.mdc-theme--surface{background-color:#fff;background-color:var(--mdc-theme-surface, #fff)}.mdc-theme--error{color:#b00020 !important;color:var(--mdc-theme-error, #b00020) !important}.mdc-theme--on-primary{color:#fff !important;color:var(--mdc-theme-on-primary, #fff) !important}.mdc-theme--on-secondary{color:#fff !important;color:var(--mdc-theme-on-secondary, #fff) !important}.mdc-theme--on-surface{color:#000 !important;color:var(--mdc-theme-on-surface, #000) !important}.mdc-theme--on-error{color:#fff !important;color:var(--mdc-theme-on-error, #fff) !important}.mdc-theme--text-primary-on-background{color:rgba(0, 0, 0, 0.87) !important;color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, 0.87)) !important}.mdc-theme--text-secondary-on-background{color:rgba(0, 0, 0, 0.54) !important;color:var(--mdc-theme-text-secondary-on-background, rgba(0, 0, 0, 0.54)) !important}.mdc-theme--text-hint-on-background{color:rgba(0, 0, 0, 0.38) !important;color:var(--mdc-theme-text-hint-on-background, rgba(0, 0, 0, 0.38)) !important}.mdc-theme--text-disabled-on-background{color:rgba(0, 0, 0, 0.38) !important;color:var(--mdc-theme-text-disabled-on-background, rgba(0, 0, 0, 0.38)) !important}.mdc-theme--text-icon-on-background{color:rgba(0, 0, 0, 0.38) !important;color:var(--mdc-theme-text-icon-on-background, rgba(0, 0, 0, 0.38)) !important}.mdc-theme--text-primary-on-light{color:rgba(0, 0, 0, 0.87) !important;color:var(--mdc-theme-text-primary-on-light, rgba(0, 0, 0, 0.87)) !important}.mdc-theme--text-secondary-on-light{color:rgba(0, 0, 0, 0.54) !important;color:var(--mdc-theme-text-secondary-on-light, rgba(0, 0, 0, 0.54)) !important}.mdc-theme--text-hint-on-light{color:rgba(0, 0, 0, 0.38) !important;color:var(--mdc-theme-text-hint-on-light, rgba(0, 0, 0, 0.38)) !important}.mdc-theme--text-disabled-on-light{color:rgba(0, 0, 0, 0.38) !important;color:var(--mdc-theme-text-disabled-on-light, rgba(0, 0, 0, 0.38)) !important}.mdc-theme--text-icon-on-light{color:rgba(0, 0, 0, 0.38) !important;color:var(--mdc-theme-text-icon-on-light, rgba(0, 0, 0, 0.38)) !important}.mdc-theme--text-primary-on-dark{color:white !important;color:var(--mdc-theme-text-primary-on-dark, white) !important}.mdc-theme--text-secondary-on-dark{color:rgba(255, 255, 255, 0.7) !important;color:var(--mdc-theme-text-secondary-on-dark, rgba(255, 255, 255, 0.7)) !important}.mdc-theme--text-hint-on-dark{color:rgba(255, 255, 255, 0.5) !important;color:var(--mdc-theme-text-hint-on-dark, rgba(255, 255, 255, 0.5)) !important}.mdc-theme--text-disabled-on-dark{color:rgba(255, 255, 255, 0.5) !important;color:var(--mdc-theme-text-disabled-on-dark, rgba(255, 255, 255, 0.5)) !important}.mdc-theme--text-icon-on-dark{color:rgba(255, 255, 255, 0.5) !important;color:var(--mdc-theme-text-icon-on-dark, rgba(255, 255, 255, 0.5)) !important}.mdc-theme--primary-bg{background-color:#6200ee !important;background-color:var(--mdc-theme-primary, #6200ee) !important}.mdc-theme--secondary-bg{background-color:#018786 !important;background-color:var(--mdc-theme-secondary, #018786) !important}.mdc-tooltip__surface{border-radius:4px;border-radius:var(--mdc-shape-small, 4px)}.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{border-radius:4px;border-radius:var(--mdc-shape-small, 4px)}.mdc-tooltip__surface{color:white;color:var(--mdc-theme-text-primary-on-dark, white)}.mdc-tooltip__surface{background-color:rgba(0, 0, 0, 0.6)}.mdc-tooltip__surface{word-break:break-all;word-break:var(--mdc-tooltip-word-break, normal);overflow-wrap:anywhere}.mdc-tooltip{z-index:9}.mdc-tooltip--showing-transition .mdc-tooltip__surface-animation{transition:opacity 150ms 0ms cubic-bezier(0, 0, 0.2, 1),-webkit-transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1);transition:opacity 150ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1);transition:opacity 150ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1),-webkit-transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-tooltip--hide-transition .mdc-tooltip__surface-animation{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-tooltip__title{color:rgba(0, 0, 0, 0.87);color:var(--mdc-theme-text-primary-on-light, rgba(0, 0, 0, 0.87))}.mdc-tooltip__content{color:rgba(0, 0, 0, 0.6)}.mdc-tooltip__content-link{color:#6200ee;color:var(--mdc-theme-primary, #6200ee)}.mdc-tooltip{position:fixed;display:none}.mdc-tooltip.mdc-tooltip--rich .mdc-tooltip__surface{background-color:#fff}.mdc-tooltip.mdc-tooltip--rich .mdc-tooltip__caret-surface-top,.mdc-tooltip.mdc-tooltip--rich .mdc-tooltip__caret-surface-bottom{background-color:#fff}.mdc-tooltip-wrapper--rich{position:relative}.mdc-tooltip--shown,.mdc-tooltip--showing,.mdc-tooltip--hide{display:inline-flex}.mdc-tooltip--shown.mdc-tooltip--rich,.mdc-tooltip--showing.mdc-tooltip--rich,.mdc-tooltip--hide.mdc-tooltip--rich{display:inline-block;left:-320px;position:absolute}.mdc-tooltip__surface{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-caption-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.75rem;font-size:var(--mdc-typography-caption-font-size, 0.75rem);font-weight:400;font-weight:var(--mdc-typography-caption-font-weight, 400);letter-spacing:0.0333333333em;letter-spacing:var(--mdc-typography-caption-letter-spacing, 0.0333333333em);text-decoration:inherit;-webkit-text-decoration:var(--mdc-typography-caption-text-decoration, inherit);text-decoration:var(--mdc-typography-caption-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-caption-text-transform, inherit);line-height:16px;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center}.mdc-tooltip__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid transparent;border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-tooltip__surface::before{border-color:CanvasText}}.mdc-tooltip--rich .mdc-tooltip__surface{box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2),0px 2px 2px 0px rgba(0, 0, 0, 0.14),0px 1px 5px 0px rgba(0,0,0,.12);align-items:flex-start;border-radius:4px;display:flex;flex-direction:column;line-height:20px;min-height:24px;min-width:40px;max-width:320px;position:relative}.mdc-tooltip--rich .mdc-tooltip__surface .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-tooltip--multiline .mdc-tooltip__surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mdc-tooltip__surface,.mdc-tooltip--multiline .mdc-tooltip__surface[dir=rtl]{text-align:right}.mdc-tooltip__surface .mdc-tooltip__title{display:block;margin-top:0;line-height:20px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-subtitle2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.875rem;font-size:var(--mdc-typography-subtitle2-font-size, 0.875rem);line-height:1.375rem;line-height:var(--mdc-typography-subtitle2-line-height, 1.375rem);font-weight:500;font-weight:var(--mdc-typography-subtitle2-font-weight, 500);letter-spacing:0.0071428571em;letter-spacing:var(--mdc-typography-subtitle2-letter-spacing, 0.0071428571em);text-decoration:inherit;-webkit-text-decoration:var(--mdc-typography-subtitle2-text-decoration, inherit);text-decoration:var(--mdc-typography-subtitle2-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-subtitle2-text-transform, inherit);margin:0 8px}.mdc-tooltip__surface .mdc-tooltip__title::before{display:inline-block;width:0;height:24px;content:"";vertical-align:0}.mdc-tooltip__surface .mdc-tooltip__content{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.875rem;font-size:var(--mdc-typography-body2-font-size, 0.875rem);line-height:1.25rem;line-height:var(--mdc-typography-body2-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:0.0178571429em;letter-spacing:var(--mdc-typography-body2-letter-spacing, 0.0178571429em);text-decoration:inherit;-webkit-text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-body2-text-transform, inherit);max-width:calc(200px - (2 * 8px));margin:8px;text-align:left}[dir=rtl] .mdc-tooltip__surface .mdc-tooltip__content,.mdc-tooltip__surface .mdc-tooltip__content[dir=rtl]{text-align:right}.mdc-tooltip--rich .mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(320px - (2 * 8px));align-self:stretch}.mdc-tooltip__surface .mdc-tooltip__content-link{text-decoration:none}.mdc-tooltip--rich-actions,.mdc-tooltip__content,.mdc-tooltip__title{z-index:1}.mdc-tooltip__surface-animation{opacity:0;-webkit-transform:scale(0.8);transform:scale(0.8);will-change:transform,opacity}.mdc-tooltip--shown .mdc-tooltip__surface-animation{-webkit-transform:scale(1);transform:scale(1);opacity:1}.mdc-tooltip--hide .mdc-tooltip__surface-animation{-webkit-transform:scale(1);transform:scale(1)}.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{position:absolute;height:24px;width:24px;-webkit-transform:rotate(35deg) skewY(20deg) scaleX(0.9396926208);transform:rotate(35deg) skewY(20deg) scaleX(0.9396926208)}.mdc-tooltip__caret-surface-top .mdc-elevation-overlay,.mdc-tooltip__caret-surface-bottom .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-tooltip__caret-surface-bottom{box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2),0px 2px 2px 0px rgba(0, 0, 0, 0.14),0px 1px 5px 0px rgba(0,0,0,.12);outline:1px solid transparent;z-index:-1}@media screen and (forced-colors: active){.mdc-tooltip__caret-surface-bottom{outline-color:CanvasText}}.mdc-top-app-bar{background-color:#6200ee;background-color:var(--mdc-theme-primary, #6200ee);color:white;display:flex;position:fixed;flex-direction:column;justify-content:space-between;box-sizing:border-box;width:100%;z-index:4}.mdc-top-app-bar .mdc-top-app-bar__action-item,.mdc-top-app-bar .mdc-top-app-bar__navigation-icon{color:#fff;color:var(--mdc-theme-on-primary, #fff)}.mdc-top-app-bar .mdc-top-app-bar__action-item::before,.mdc-top-app-bar .mdc-top-app-bar__action-item::after,.mdc-top-app-bar .mdc-top-app-bar__navigation-icon::before,.mdc-top-app-bar .mdc-top-app-bar__navigation-icon::after{background-color:#fff;background-color:var(--mdc-ripple-color, var(--mdc-theme-on-primary, #fff))}.mdc-top-app-bar .mdc-top-app-bar__action-item:hover::before,.mdc-top-app-bar .mdc-top-app-bar__action-item.mdc-ripple-surface--hover::before,.mdc-top-app-bar .mdc-top-app-bar__navigation-icon:hover::before,.mdc-top-app-bar .mdc-top-app-bar__navigation-icon.mdc-ripple-surface--hover::before{opacity:0.08;opacity:var(--mdc-ripple-hover-opacity, 0.08)}.mdc-top-app-bar .mdc-top-app-bar__action-item.mdc-ripple-upgraded--background-focused::before,.mdc-top-app-bar .mdc-top-app-bar__action-item:not(.mdc-ripple-upgraded):focus::before,.mdc-top-app-bar .mdc-top-app-bar__navigation-icon.mdc-ripple-upgraded--background-focused::before,.mdc-top-app-bar .mdc-top-app-bar__navigation-icon:not(.mdc-ripple-upgraded):focus::before{transition-duration:75ms;opacity:0.24;opacity:var(--mdc-ripple-focus-opacity, 0.24)}.mdc-top-app-bar .mdc-top-app-bar__action-item:not(.mdc-ripple-upgraded)::after,.mdc-top-app-bar .mdc-top-app-bar__navigation-icon:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-top-app-bar .mdc-top-app-bar__action-item:not(.mdc-ripple-upgraded):active::after,.mdc-top-app-bar .mdc-top-app-bar__navigation-icon:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.24;opacity:var(--mdc-ripple-press-opacity, 0.24)}.mdc-top-app-bar .mdc-top-app-bar__action-item.mdc-ripple-upgraded,.mdc-top-app-bar .mdc-top-app-bar__navigation-icon.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.24)}.mdc-top-app-bar__row{display:flex;position:relative;box-sizing:border-box;width:100%;height:64px}.mdc-top-app-bar__section{display:inline-flex;flex:1 1 auto;align-items:center;min-width:0;padding:8px 12px;z-index:1}.mdc-top-app-bar__section--align-start{justify-content:flex-start;order:-1}.mdc-top-app-bar__section--align-end{justify-content:flex-end;order:1}.mdc-top-app-bar__title{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-headline6-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:1.25rem;font-size:var(--mdc-typography-headline6-font-size, 1.25rem);line-height:2rem;line-height:var(--mdc-typography-headline6-line-height, 2rem);font-weight:500;font-weight:var(--mdc-typography-headline6-font-weight, 500);letter-spacing:0.0125em;letter-spacing:var(--mdc-typography-headline6-letter-spacing, 0.0125em);text-decoration:inherit;-webkit-text-decoration:var(--mdc-typography-headline6-text-decoration, inherit);text-decoration:var(--mdc-typography-headline6-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-headline6-text-transform, inherit);padding-left:20px;padding-right:0;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;z-index:1}[dir=rtl] .mdc-top-app-bar__title,.mdc-top-app-bar__title[dir=rtl]{padding-left:0;padding-right:20px}.mdc-top-app-bar--short-collapsed{border-top-left-radius:0;border-top-right-radius:0;border-bottom-right-radius:24px;border-bottom-left-radius:0}[dir=rtl] .mdc-top-app-bar--short-collapsed,.mdc-top-app-bar--short-collapsed[dir=rtl]{border-top-left-radius:0;border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:24px}.mdc-top-app-bar--short{top:0;right:auto;left:0;width:100%;transition:width 250ms cubic-bezier(0.4, 0, 0.2, 1)}[dir=rtl] .mdc-top-app-bar--short,.mdc-top-app-bar--short[dir=rtl]{right:0;left:auto}.mdc-top-app-bar--short .mdc-top-app-bar__row{height:56px}.mdc-top-app-bar--short .mdc-top-app-bar__section{padding:4px}.mdc-top-app-bar--short .mdc-top-app-bar__title{transition:opacity 200ms cubic-bezier(0.4, 0, 0.2, 1);opacity:1}.mdc-top-app-bar--short-collapsed{box-shadow:0px 2px 4px -1px rgba(0, 0, 0, 0.2),0px 4px 5px 0px rgba(0, 0, 0, 0.14),0px 1px 10px 0px rgba(0,0,0,.12);width:56px;transition:width 300ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-top-app-bar--short-collapsed .mdc-top-app-bar__title{display:none}.mdc-top-app-bar--short-collapsed .mdc-top-app-bar__action-item{transition:padding 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-top-app-bar--short-collapsed.mdc-top-app-bar--short-has-action-item{width:112px}.mdc-top-app-bar--short-collapsed.mdc-top-app-bar--short-has-action-item .mdc-top-app-bar__section--align-end{padding-left:0;padding-right:12px}[dir=rtl] .mdc-top-app-bar--short-collapsed.mdc-top-app-bar--short-has-action-item .mdc-top-app-bar__section--align-end,.mdc-top-app-bar--short-collapsed.mdc-top-app-bar--short-has-action-item .mdc-top-app-bar__section--align-end[dir=rtl]{padding-left:12px;padding-right:0}.mdc-top-app-bar--dense .mdc-top-app-bar__row{height:48px}.mdc-top-app-bar--dense .mdc-top-app-bar__section{padding:0 4px}.mdc-top-app-bar--dense .mdc-top-app-bar__title{padding-left:12px;padding-right:0}[dir=rtl] .mdc-top-app-bar--dense .mdc-top-app-bar__title,.mdc-top-app-bar--dense .mdc-top-app-bar__title[dir=rtl]{padding-left:0;padding-right:12px}.mdc-top-app-bar--prominent .mdc-top-app-bar__row{height:128px}.mdc-top-app-bar--prominent .mdc-top-app-bar__title{align-self:flex-end;padding-bottom:2px}.mdc-top-app-bar--prominent .mdc-top-app-bar__action-item,.mdc-top-app-bar--prominent .mdc-top-app-bar__navigation-icon{align-self:flex-start}.mdc-top-app-bar--fixed{transition:box-shadow 200ms linear}.mdc-top-app-bar--fixed-scrolled{box-shadow:0px 2px 4px -1px rgba(0, 0, 0, 0.2),0px 4px 5px 0px rgba(0, 0, 0, 0.14),0px 1px 10px 0px rgba(0,0,0,.12);transition:box-shadow 200ms linear}.mdc-top-app-bar--dense.mdc-top-app-bar--prominent .mdc-top-app-bar__row{height:96px}.mdc-top-app-bar--dense.mdc-top-app-bar--prominent .mdc-top-app-bar__section{padding:0 12px}.mdc-top-app-bar--dense.mdc-top-app-bar--prominent .mdc-top-app-bar__title{padding-left:20px;padding-right:0;padding-bottom:9px}[dir=rtl] .mdc-top-app-bar--dense.mdc-top-app-bar--prominent .mdc-top-app-bar__title,.mdc-top-app-bar--dense.mdc-top-app-bar--prominent .mdc-top-app-bar__title[dir=rtl]{padding-left:0;padding-right:20px}.mdc-top-app-bar--fixed-adjust{padding-top:64px}.mdc-top-app-bar--dense-fixed-adjust{padding-top:48px}.mdc-top-app-bar--short-fixed-adjust{padding-top:56px}.mdc-top-app-bar--prominent-fixed-adjust{padding-top:128px}.mdc-top-app-bar--dense-prominent-fixed-adjust{padding-top:96px}@media(max-width: 599px){.mdc-top-app-bar__row{height:56px}.mdc-top-app-bar__section{padding:4px}.mdc-top-app-bar--short{transition:width 200ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-top-app-bar--short-collapsed{transition:width 250ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-top-app-bar--short-collapsed .mdc-top-app-bar__section--align-end{padding-left:0;padding-right:12px}[dir=rtl] .mdc-top-app-bar--short-collapsed .mdc-top-app-bar__section--align-end,.mdc-top-app-bar--short-collapsed .mdc-top-app-bar__section--align-end[dir=rtl]{padding-left:12px;padding-right:0}.mdc-top-app-bar--prominent .mdc-top-app-bar__title{padding-bottom:6px}.mdc-top-app-bar--fixed-adjust{padding-top:56px}}.mdc-typography{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-font-family, Roboto, sans-serif)}.mdc-typography--headline1{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-headline1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:6rem;font-size:var(--mdc-typography-headline1-font-size, 6rem);line-height:6rem;line-height:var(--mdc-typography-headline1-line-height, 6rem);font-weight:300;font-weight:var(--mdc-typography-headline1-font-weight, 300);letter-spacing:-0.015625em;letter-spacing:var(--mdc-typography-headline1-letter-spacing, -0.015625em);text-decoration:inherit;-webkit-text-decoration:var(--mdc-typography-headline1-text-decoration, inherit);text-decoration:var(--mdc-typography-headline1-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-headline1-text-transform, inherit)}.mdc-typography--headline2{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-headline2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:3.75rem;font-size:var(--mdc-typography-headline2-font-size, 3.75rem);line-height:3.75rem;line-height:var(--mdc-typography-headline2-line-height, 3.75rem);font-weight:300;font-weight:var(--mdc-typography-headline2-font-weight, 300);letter-spacing:-0.0083333333em;letter-spacing:var(--mdc-typography-headline2-letter-spacing, -0.0083333333em);text-decoration:inherit;-webkit-text-decoration:var(--mdc-typography-headline2-text-decoration, inherit);text-decoration:var(--mdc-typography-headline2-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-headline2-text-transform, inherit)}.mdc-typography--headline3{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-headline3-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:3rem;font-size:var(--mdc-typography-headline3-font-size, 3rem);line-height:3.125rem;line-height:var(--mdc-typography-headline3-line-height, 3.125rem);font-weight:400;font-weight:var(--mdc-typography-headline3-font-weight, 400);letter-spacing:normal;letter-spacing:var(--mdc-typography-headline3-letter-spacing, normal);text-decoration:inherit;-webkit-text-decoration:var(--mdc-typography-headline3-text-decoration, inherit);text-decoration:var(--mdc-typography-headline3-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-headline3-text-transform, inherit)}.mdc-typography--headline4{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-headline4-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:2.125rem;font-size:var(--mdc-typography-headline4-font-size, 2.125rem);line-height:2.5rem;line-height:var(--mdc-typography-headline4-line-height, 2.5rem);font-weight:400;font-weight:var(--mdc-typography-headline4-font-weight, 400);letter-spacing:0.0073529412em;letter-spacing:var(--mdc-typography-headline4-letter-spacing, 0.0073529412em);text-decoration:inherit;-webkit-text-decoration:var(--mdc-typography-headline4-text-decoration, inherit);text-decoration:var(--mdc-typography-headline4-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-headline4-text-transform, inherit)}.mdc-typography--headline5{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-headline5-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:1.5rem;font-size:var(--mdc-typography-headline5-font-size, 1.5rem);line-height:2rem;line-height:var(--mdc-typography-headline5-line-height, 2rem);font-weight:400;font-weight:var(--mdc-typography-headline5-font-weight, 400);letter-spacing:normal;letter-spacing:var(--mdc-typography-headline5-letter-spacing, normal);text-decoration:inherit;-webkit-text-decoration:var(--mdc-typography-headline5-text-decoration, inherit);text-decoration:var(--mdc-typography-headline5-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-headline5-text-transform, inherit)}.mdc-typography--headline6{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-headline6-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:1.25rem;font-size:var(--mdc-typography-headline6-font-size, 1.25rem);line-height:2rem;line-height:var(--mdc-typography-headline6-line-height, 2rem);font-weight:500;font-weight:var(--mdc-typography-headline6-font-weight, 500);letter-spacing:0.0125em;letter-spacing:var(--mdc-typography-headline6-letter-spacing, 0.0125em);text-decoration:inherit;-webkit-text-decoration:var(--mdc-typography-headline6-text-decoration, inherit);text-decoration:var(--mdc-typography-headline6-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-headline6-text-transform, inherit)}.mdc-typography--subtitle1{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-subtitle1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:1rem;font-size:var(--mdc-typography-subtitle1-font-size, 1rem);line-height:1.75rem;line-height:var(--mdc-typography-subtitle1-line-height, 1.75rem);font-weight:400;font-weight:var(--mdc-typography-subtitle1-font-weight, 400);letter-spacing:0.009375em;letter-spacing:var(--mdc-typography-subtitle1-letter-spacing, 0.009375em);text-decoration:inherit;-webkit-text-decoration:var(--mdc-typography-subtitle1-text-decoration, inherit);text-decoration:var(--mdc-typography-subtitle1-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-subtitle1-text-transform, inherit)}.mdc-typography--subtitle2{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-subtitle2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.875rem;font-size:var(--mdc-typography-subtitle2-font-size, 0.875rem);line-height:1.375rem;line-height:var(--mdc-typography-subtitle2-line-height, 1.375rem);font-weight:500;font-weight:var(--mdc-typography-subtitle2-font-weight, 500);letter-spacing:0.0071428571em;letter-spacing:var(--mdc-typography-subtitle2-letter-spacing, 0.0071428571em);text-decoration:inherit;-webkit-text-decoration:var(--mdc-typography-subtitle2-text-decoration, inherit);text-decoration:var(--mdc-typography-subtitle2-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-subtitle2-text-transform, inherit)}.mdc-typography--body1{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-body1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:1rem;font-size:var(--mdc-typography-body1-font-size, 1rem);line-height:1.5rem;line-height:var(--mdc-typography-body1-line-height, 1.5rem);font-weight:400;font-weight:var(--mdc-typography-body1-font-weight, 400);letter-spacing:0.03125em;letter-spacing:var(--mdc-typography-body1-letter-spacing, 0.03125em);text-decoration:inherit;-webkit-text-decoration:var(--mdc-typography-body1-text-decoration, inherit);text-decoration:var(--mdc-typography-body1-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-body1-text-transform, inherit)}.mdc-typography--body2{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.875rem;font-size:var(--mdc-typography-body2-font-size, 0.875rem);line-height:1.25rem;line-height:var(--mdc-typography-body2-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:0.0178571429em;letter-spacing:var(--mdc-typography-body2-letter-spacing, 0.0178571429em);text-decoration:inherit;-webkit-text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-body2-text-transform, inherit)}.mdc-typography--caption{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-caption-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.75rem;font-size:var(--mdc-typography-caption-font-size, 0.75rem);line-height:1.25rem;line-height:var(--mdc-typography-caption-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-caption-font-weight, 400);letter-spacing:0.0333333333em;letter-spacing:var(--mdc-typography-caption-letter-spacing, 0.0333333333em);text-decoration:inherit;-webkit-text-decoration:var(--mdc-typography-caption-text-decoration, inherit);text-decoration:var(--mdc-typography-caption-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-caption-text-transform, inherit)}.mdc-typography--button{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-button-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.875rem;font-size:var(--mdc-typography-button-font-size, 0.875rem);line-height:2.25rem;line-height:var(--mdc-typography-button-line-height, 2.25rem);font-weight:500;font-weight:var(--mdc-typography-button-font-weight, 500);letter-spacing:0.0892857143em;letter-spacing:var(--mdc-typography-button-letter-spacing, 0.0892857143em);text-decoration:none;-webkit-text-decoration:var(--mdc-typography-button-text-decoration, none);text-decoration:var(--mdc-typography-button-text-decoration, none);text-transform:uppercase;text-transform:var(--mdc-typography-button-text-transform, uppercase)}.mdc-typography--overline{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-overline-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.75rem;font-size:var(--mdc-typography-overline-font-size, 0.75rem);line-height:2rem;line-height:var(--mdc-typography-overline-line-height, 2rem);font-weight:500;font-weight:var(--mdc-typography-overline-font-weight, 500);letter-spacing:0.1666666667em;letter-spacing:var(--mdc-typography-overline-letter-spacing, 0.1666666667em);text-decoration:none;-webkit-text-decoration:var(--mdc-typography-overline-text-decoration, none);text-decoration:var(--mdc-typography-overline-text-decoration, none);text-transform:uppercase;text-transform:var(--mdc-typography-overline-text-transform, uppercase)} - -/*# sourceMappingURL=material-components-web.min.css.map*/ \ No newline at end of file diff --git a/applications/emocam/js/Chart.min.js b/applications/emocam/js/Chart.min.js deleted file mode 100644 index 7c16b0d..0000000 --- a/applications/emocam/js/Chart.min.js +++ /dev/null @@ -1,7 +0,0 @@ -/*! - * Chart.js v2.9.3 - * https://www.chartjs.org - * (c) 2019 Chart.js Contributors - * Released under the MIT License - */ -!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(function(){try{return require("moment")}catch(t){}}()):"function"==typeof define&&define.amd?define(["require"],(function(t){return e(function(){try{return t("moment")}catch(t){}}())})):(t=t||self).Chart=e(t.moment)}(this,(function(t){"use strict";t=t&&t.hasOwnProperty("default")?t.default:t;var e={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},n=function(t,e){return t(e={exports:{}},e.exports),e.exports}((function(t){var n={};for(var i in e)e.hasOwnProperty(i)&&(n[e[i]]=i);var a=t.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var r in a)if(a.hasOwnProperty(r)){if(!("channels"in a[r]))throw new Error("missing channels property: "+r);if(!("labels"in a[r]))throw new Error("missing channel labels property: "+r);if(a[r].labels.length!==a[r].channels)throw new Error("channel and label counts mismatch: "+r);var o=a[r].channels,s=a[r].labels;delete a[r].channels,delete a[r].labels,Object.defineProperty(a[r],"channels",{value:o}),Object.defineProperty(a[r],"labels",{value:s})}a.rgb.hsl=function(t){var e,n,i=t[0]/255,a=t[1]/255,r=t[2]/255,o=Math.min(i,a,r),s=Math.max(i,a,r),l=s-o;return s===o?e=0:i===s?e=(a-r)/l:a===s?e=2+(r-i)/l:r===s&&(e=4+(i-a)/l),(e=Math.min(60*e,360))<0&&(e+=360),n=(o+s)/2,[e,100*(s===o?0:n<=.5?l/(s+o):l/(2-s-o)),100*n]},a.rgb.hsv=function(t){var e,n,i,a,r,o=t[0]/255,s=t[1]/255,l=t[2]/255,u=Math.max(o,s,l),d=u-Math.min(o,s,l),h=function(t){return(u-t)/6/d+.5};return 0===d?a=r=0:(r=d/u,e=h(o),n=h(s),i=h(l),o===u?a=i-n:s===u?a=1/3+e-i:l===u&&(a=2/3+n-e),a<0?a+=1:a>1&&(a-=1)),[360*a,100*r,100*u]},a.rgb.hwb=function(t){var e=t[0],n=t[1],i=t[2];return[a.rgb.hsl(t)[0],100*(1/255*Math.min(e,Math.min(n,i))),100*(i=1-1/255*Math.max(e,Math.max(n,i)))]},a.rgb.cmyk=function(t){var e,n=t[0]/255,i=t[1]/255,a=t[2]/255;return[100*((1-n-(e=Math.min(1-n,1-i,1-a)))/(1-e)||0),100*((1-i-e)/(1-e)||0),100*((1-a-e)/(1-e)||0),100*e]},a.rgb.keyword=function(t){var i=n[t];if(i)return i;var a,r,o,s=1/0;for(var l in e)if(e.hasOwnProperty(l)){var u=e[l],d=(r=t,o=u,Math.pow(r[0]-o[0],2)+Math.pow(r[1]-o[1],2)+Math.pow(r[2]-o[2],2));d.04045?Math.pow((e+.055)/1.055,2.4):e/12.92)+.3576*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(i=i>.04045?Math.pow((i+.055)/1.055,2.4):i/12.92)),100*(.2126*e+.7152*n+.0722*i),100*(.0193*e+.1192*n+.9505*i)]},a.rgb.lab=function(t){var e=a.rgb.xyz(t),n=e[0],i=e[1],r=e[2];return i/=100,r/=108.883,n=(n/=95.047)>.008856?Math.pow(n,1/3):7.787*n+16/116,[116*(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116)-16,500*(n-i),200*(i-(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116))]},a.hsl.rgb=function(t){var e,n,i,a,r,o=t[0]/360,s=t[1]/100,l=t[2]/100;if(0===s)return[r=255*l,r,r];e=2*l-(n=l<.5?l*(1+s):l+s-l*s),a=[0,0,0];for(var u=0;u<3;u++)(i=o+1/3*-(u-1))<0&&i++,i>1&&i--,r=6*i<1?e+6*(n-e)*i:2*i<1?n:3*i<2?e+(n-e)*(2/3-i)*6:e,a[u]=255*r;return a},a.hsl.hsv=function(t){var e=t[0],n=t[1]/100,i=t[2]/100,a=n,r=Math.max(i,.01);return n*=(i*=2)<=1?i:2-i,a*=r<=1?r:2-r,[e,100*(0===i?2*a/(r+a):2*n/(i+n)),100*((i+n)/2)]},a.hsv.rgb=function(t){var e=t[0]/60,n=t[1]/100,i=t[2]/100,a=Math.floor(e)%6,r=e-Math.floor(e),o=255*i*(1-n),s=255*i*(1-n*r),l=255*i*(1-n*(1-r));switch(i*=255,a){case 0:return[i,l,o];case 1:return[s,i,o];case 2:return[o,i,l];case 3:return[o,s,i];case 4:return[l,o,i];case 5:return[i,o,s]}},a.hsv.hsl=function(t){var e,n,i,a=t[0],r=t[1]/100,o=t[2]/100,s=Math.max(o,.01);return i=(2-r)*o,n=r*s,[a,100*(n=(n/=(e=(2-r)*s)<=1?e:2-e)||0),100*(i/=2)]},a.hwb.rgb=function(t){var e,n,i,a,r,o,s,l=t[0]/360,u=t[1]/100,d=t[2]/100,h=u+d;switch(h>1&&(u/=h,d/=h),i=6*l-(e=Math.floor(6*l)),0!=(1&e)&&(i=1-i),a=u+i*((n=1-d)-u),e){default:case 6:case 0:r=n,o=a,s=u;break;case 1:r=a,o=n,s=u;break;case 2:r=u,o=n,s=a;break;case 3:r=u,o=a,s=n;break;case 4:r=a,o=u,s=n;break;case 5:r=n,o=u,s=a}return[255*r,255*o,255*s]},a.cmyk.rgb=function(t){var e=t[0]/100,n=t[1]/100,i=t[2]/100,a=t[3]/100;return[255*(1-Math.min(1,e*(1-a)+a)),255*(1-Math.min(1,n*(1-a)+a)),255*(1-Math.min(1,i*(1-a)+a))]},a.xyz.rgb=function(t){var e,n,i,a=t[0]/100,r=t[1]/100,o=t[2]/100;return n=-.9689*a+1.8758*r+.0415*o,i=.0557*a+-.204*r+1.057*o,e=(e=3.2406*a+-1.5372*r+-.4986*o)>.0031308?1.055*Math.pow(e,1/2.4)-.055:12.92*e,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,i=i>.0031308?1.055*Math.pow(i,1/2.4)-.055:12.92*i,[255*(e=Math.min(Math.max(0,e),1)),255*(n=Math.min(Math.max(0,n),1)),255*(i=Math.min(Math.max(0,i),1))]},a.xyz.lab=function(t){var e=t[0],n=t[1],i=t[2];return n/=100,i/=108.883,e=(e/=95.047)>.008856?Math.pow(e,1/3):7.787*e+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(e-n),200*(n-(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116))]},a.lab.xyz=function(t){var e,n,i,a=t[0];e=t[1]/500+(n=(a+16)/116),i=n-t[2]/200;var r=Math.pow(n,3),o=Math.pow(e,3),s=Math.pow(i,3);return n=r>.008856?r:(n-16/116)/7.787,e=o>.008856?o:(e-16/116)/7.787,i=s>.008856?s:(i-16/116)/7.787,[e*=95.047,n*=100,i*=108.883]},a.lab.lch=function(t){var e,n=t[0],i=t[1],a=t[2];return(e=360*Math.atan2(a,i)/2/Math.PI)<0&&(e+=360),[n,Math.sqrt(i*i+a*a),e]},a.lch.lab=function(t){var e,n=t[0],i=t[1];return e=t[2]/360*2*Math.PI,[n,i*Math.cos(e),i*Math.sin(e)]},a.rgb.ansi16=function(t){var e=t[0],n=t[1],i=t[2],r=1 in arguments?arguments[1]:a.rgb.hsv(t)[2];if(0===(r=Math.round(r/50)))return 30;var o=30+(Math.round(i/255)<<2|Math.round(n/255)<<1|Math.round(e/255));return 2===r&&(o+=60),o},a.hsv.ansi16=function(t){return a.rgb.ansi16(a.hsv.rgb(t),t[2])},a.rgb.ansi256=function(t){var e=t[0],n=t[1],i=t[2];return e===n&&n===i?e<8?16:e>248?231:Math.round((e-8)/247*24)+232:16+36*Math.round(e/255*5)+6*Math.round(n/255*5)+Math.round(i/255*5)},a.ansi16.rgb=function(t){var e=t%10;if(0===e||7===e)return t>50&&(e+=3.5),[e=e/10.5*255,e,e];var n=.5*(1+~~(t>50));return[(1&e)*n*255,(e>>1&1)*n*255,(e>>2&1)*n*255]},a.ansi256.rgb=function(t){if(t>=232){var e=10*(t-232)+8;return[e,e,e]}var n;return t-=16,[Math.floor(t/36)/5*255,Math.floor((n=t%36)/6)/5*255,n%6/5*255]},a.rgb.hex=function(t){var e=(((255&Math.round(t[0]))<<16)+((255&Math.round(t[1]))<<8)+(255&Math.round(t[2]))).toString(16).toUpperCase();return"000000".substring(e.length)+e},a.hex.rgb=function(t){var e=t.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!e)return[0,0,0];var n=e[0];3===e[0].length&&(n=n.split("").map((function(t){return t+t})).join(""));var i=parseInt(n,16);return[i>>16&255,i>>8&255,255&i]},a.rgb.hcg=function(t){var e,n=t[0]/255,i=t[1]/255,a=t[2]/255,r=Math.max(Math.max(n,i),a),o=Math.min(Math.min(n,i),a),s=r-o;return e=s<=0?0:r===n?(i-a)/s%6:r===i?2+(a-n)/s:4+(n-i)/s+4,e/=6,[360*(e%=1),100*s,100*(s<1?o/(1-s):0)]},a.hsl.hcg=function(t){var e=t[1]/100,n=t[2]/100,i=1,a=0;return(i=n<.5?2*e*n:2*e*(1-n))<1&&(a=(n-.5*i)/(1-i)),[t[0],100*i,100*a]},a.hsv.hcg=function(t){var e=t[1]/100,n=t[2]/100,i=e*n,a=0;return i<1&&(a=(n-i)/(1-i)),[t[0],100*i,100*a]},a.hcg.rgb=function(t){var e=t[0]/360,n=t[1]/100,i=t[2]/100;if(0===n)return[255*i,255*i,255*i];var a,r=[0,0,0],o=e%1*6,s=o%1,l=1-s;switch(Math.floor(o)){case 0:r[0]=1,r[1]=s,r[2]=0;break;case 1:r[0]=l,r[1]=1,r[2]=0;break;case 2:r[0]=0,r[1]=1,r[2]=s;break;case 3:r[0]=0,r[1]=l,r[2]=1;break;case 4:r[0]=s,r[1]=0,r[2]=1;break;default:r[0]=1,r[1]=0,r[2]=l}return a=(1-n)*i,[255*(n*r[0]+a),255*(n*r[1]+a),255*(n*r[2]+a)]},a.hcg.hsv=function(t){var e=t[1]/100,n=e+t[2]/100*(1-e),i=0;return n>0&&(i=e/n),[t[0],100*i,100*n]},a.hcg.hsl=function(t){var e=t[1]/100,n=t[2]/100*(1-e)+.5*e,i=0;return n>0&&n<.5?i=e/(2*n):n>=.5&&n<1&&(i=e/(2*(1-n))),[t[0],100*i,100*n]},a.hcg.hwb=function(t){var e=t[1]/100,n=e+t[2]/100*(1-e);return[t[0],100*(n-e),100*(1-n)]},a.hwb.hcg=function(t){var e=t[1]/100,n=1-t[2]/100,i=n-e,a=0;return i<1&&(a=(n-i)/(1-i)),[t[0],100*i,100*a]},a.apple.rgb=function(t){return[t[0]/65535*255,t[1]/65535*255,t[2]/65535*255]},a.rgb.apple=function(t){return[t[0]/255*65535,t[1]/255*65535,t[2]/255*65535]},a.gray.rgb=function(t){return[t[0]/100*255,t[0]/100*255,t[0]/100*255]},a.gray.hsl=a.gray.hsv=function(t){return[0,0,t[0]]},a.gray.hwb=function(t){return[0,100,t[0]]},a.gray.cmyk=function(t){return[0,0,0,t[0]]},a.gray.lab=function(t){return[t[0],0,0]},a.gray.hex=function(t){var e=255&Math.round(t[0]/100*255),n=((e<<16)+(e<<8)+e).toString(16).toUpperCase();return"000000".substring(n.length)+n},a.rgb.gray=function(t){return[(t[0]+t[1]+t[2])/3/255*100]}}));n.rgb,n.hsl,n.hsv,n.hwb,n.cmyk,n.xyz,n.lab,n.lch,n.hex,n.keyword,n.ansi16,n.ansi256,n.hcg,n.apple,n.gray;function i(t){var e=function(){for(var t={},e=Object.keys(n),i=e.length,a=0;a1&&(e=Array.prototype.slice.call(arguments));var n=t(e);if("object"==typeof n)for(var i=n.length,a=0;a1&&(e=Array.prototype.slice.call(arguments)),t(e))};return"conversion"in t&&(e.conversion=t.conversion),e}(i)}))}));var s=o,l={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},u={getRgba:d,getHsla:h,getRgb:function(t){var e=d(t);return e&&e.slice(0,3)},getHsl:function(t){var e=h(t);return e&&e.slice(0,3)},getHwb:c,getAlpha:function(t){var e=d(t);if(e)return e[3];if(e=h(t))return e[3];if(e=c(t))return e[3]},hexString:function(t,e){e=void 0!==e&&3===t.length?e:t[3];return"#"+v(t[0])+v(t[1])+v(t[2])+(e>=0&&e<1?v(Math.round(255*e)):"")},rgbString:function(t,e){if(e<1||t[3]&&t[3]<1)return f(t,e);return"rgb("+t[0]+", "+t[1]+", "+t[2]+")"},rgbaString:f,percentString:function(t,e){if(e<1||t[3]&&t[3]<1)return g(t,e);var n=Math.round(t[0]/255*100),i=Math.round(t[1]/255*100),a=Math.round(t[2]/255*100);return"rgb("+n+"%, "+i+"%, "+a+"%)"},percentaString:g,hslString:function(t,e){if(e<1||t[3]&&t[3]<1)return p(t,e);return"hsl("+t[0]+", "+t[1]+"%, "+t[2]+"%)"},hslaString:p,hwbString:function(t,e){void 0===e&&(e=void 0!==t[3]?t[3]:1);return"hwb("+t[0]+", "+t[1]+"%, "+t[2]+"%"+(void 0!==e&&1!==e?", "+e:"")+")"},keyword:function(t){return b[t.slice(0,3)]}};function d(t){if(t){var e=[0,0,0],n=1,i=t.match(/^#([a-fA-F0-9]{3,4})$/i),a="";if(i){a=(i=i[1])[3];for(var r=0;rn?(e+.05)/(n+.05):(n+.05)/(e+.05)},level:function(t){var e=this.contrast(t);return e>=7.1?"AAA":e>=4.5?"AA":""},dark:function(){var t=this.values.rgb;return(299*t[0]+587*t[1]+114*t[2])/1e3<128},light:function(){return!this.dark()},negate:function(){for(var t=[],e=0;e<3;e++)t[e]=255-this.values.rgb[e];return this.setValues("rgb",t),this},lighten:function(t){var e=this.values.hsl;return e[2]+=e[2]*t,this.setValues("hsl",e),this},darken:function(t){var e=this.values.hsl;return e[2]-=e[2]*t,this.setValues("hsl",e),this},saturate:function(t){var e=this.values.hsl;return e[1]+=e[1]*t,this.setValues("hsl",e),this},desaturate:function(t){var e=this.values.hsl;return e[1]-=e[1]*t,this.setValues("hsl",e),this},whiten:function(t){var e=this.values.hwb;return e[1]+=e[1]*t,this.setValues("hwb",e),this},blacken:function(t){var e=this.values.hwb;return e[2]+=e[2]*t,this.setValues("hwb",e),this},greyscale:function(){var t=this.values.rgb,e=.3*t[0]+.59*t[1]+.11*t[2];return this.setValues("rgb",[e,e,e]),this},clearer:function(t){var e=this.values.alpha;return this.setValues("alpha",e-e*t),this},opaquer:function(t){var e=this.values.alpha;return this.setValues("alpha",e+e*t),this},rotate:function(t){var e=this.values.hsl,n=(e[0]+t)%360;return e[0]=n<0?360+n:n,this.setValues("hsl",e),this},mix:function(t,e){var n=t,i=void 0===e?.5:e,a=2*i-1,r=this.alpha()-n.alpha(),o=((a*r==-1?a:(a+r)/(1+a*r))+1)/2,s=1-o;return this.rgb(o*this.red()+s*n.red(),o*this.green()+s*n.green(),o*this.blue()+s*n.blue()).alpha(this.alpha()*i+n.alpha()*(1-i))},toJSON:function(){return this.rgb()},clone:function(){var t,e,n=new y,i=this.values,a=n.values;for(var r in i)i.hasOwnProperty(r)&&(t=i[r],"[object Array]"===(e={}.toString.call(t))?a[r]=t.slice(0):"[object Number]"===e?a[r]=t:console.error("unexpected color value:",t));return n}},y.prototype.spaces={rgb:["red","green","blue"],hsl:["hue","saturation","lightness"],hsv:["hue","saturation","value"],hwb:["hue","whiteness","blackness"],cmyk:["cyan","magenta","yellow","black"]},y.prototype.maxes={rgb:[255,255,255],hsl:[360,100,100],hsv:[360,100,100],hwb:[360,100,100],cmyk:[100,100,100,100]},y.prototype.getValues=function(t){for(var e=this.values,n={},i=0;i=0;a--)e.call(n,t[a],a);else for(a=0;a=1?t:-(Math.sqrt(1-t*t)-1)},easeOutCirc:function(t){return Math.sqrt(1-(t-=1)*t)},easeInOutCirc:function(t){return(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},easeInElastic:function(t){var e=1.70158,n=0,i=1;return 0===t?0:1===t?1:(n||(n=.3),i<1?(i=1,e=n/4):e=n/(2*Math.PI)*Math.asin(1/i),-i*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/n))},easeOutElastic:function(t){var e=1.70158,n=0,i=1;return 0===t?0:1===t?1:(n||(n=.3),i<1?(i=1,e=n/4):e=n/(2*Math.PI)*Math.asin(1/i),i*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/n)+1)},easeInOutElastic:function(t){var e=1.70158,n=0,i=1;return 0===t?0:2==(t/=.5)?1:(n||(n=.45),i<1?(i=1,e=n/4):e=n/(2*Math.PI)*Math.asin(1/i),t<1?i*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/n)*-.5:i*Math.pow(2,-10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/n)*.5+1)},easeInBack:function(t){var e=1.70158;return t*t*((e+1)*t-e)},easeOutBack:function(t){var e=1.70158;return(t-=1)*t*((e+1)*t+e)+1},easeInOutBack:function(t){var e=1.70158;return(t/=.5)<1?t*t*((1+(e*=1.525))*t-e)*.5:.5*((t-=2)*t*((1+(e*=1.525))*t+e)+2)},easeInBounce:function(t){return 1-S.easeOutBounce(1-t)},easeOutBounce:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},easeInOutBounce:function(t){return t<.5?.5*S.easeInBounce(2*t):.5*S.easeOutBounce(2*t-1)+.5}},C={effects:S};M.easingEffects=S;var P=Math.PI,A=P/180,D=2*P,T=P/2,I=P/4,F=2*P/3,L={clear:function(t){t.ctx.clearRect(0,0,t.width,t.height)},roundedRect:function(t,e,n,i,a,r){if(r){var o=Math.min(r,a/2,i/2),s=e+o,l=n+o,u=e+i-o,d=n+a-o;t.moveTo(e,l),se.left-1e-6&&t.xe.top-1e-6&&t.y0&&this.requestAnimationFrame()},advance:function(){for(var t,e,n,i,a=this.animations,r=0;r=n?(V.callback(t.onAnimationComplete,[t],e),e.animating=!1,a.splice(r,1)):++r}},J=V.options.resolve,Q=["push","pop","shift","splice","unshift"];function tt(t,e){var n=t._chartjs;if(n){var i=n.listeners,a=i.indexOf(e);-1!==a&&i.splice(a,1),i.length>0||(Q.forEach((function(e){delete t[e]})),delete t._chartjs)}}var et=function(t,e){this.initialize(t,e)};V.extend(et.prototype,{datasetElementType:null,dataElementType:null,_datasetElementOptions:["backgroundColor","borderCapStyle","borderColor","borderDash","borderDashOffset","borderJoinStyle","borderWidth"],_dataElementOptions:["backgroundColor","borderColor","borderWidth","pointStyle"],initialize:function(t,e){var n=this;n.chart=t,n.index=e,n.linkScales(),n.addElements(),n._type=n.getMeta().type},updateIndex:function(t){this.index=t},linkScales:function(){var t=this.getMeta(),e=this.chart,n=e.scales,i=this.getDataset(),a=e.options.scales;null!==t.xAxisID&&t.xAxisID in n&&!i.xAxisID||(t.xAxisID=i.xAxisID||a.xAxes[0].id),null!==t.yAxisID&&t.yAxisID in n&&!i.yAxisID||(t.yAxisID=i.yAxisID||a.yAxes[0].id)},getDataset:function(){return this.chart.data.datasets[this.index]},getMeta:function(){return this.chart.getDatasetMeta(this.index)},getScaleForId:function(t){return this.chart.scales[t]},_getValueScaleId:function(){return this.getMeta().yAxisID},_getIndexScaleId:function(){return this.getMeta().xAxisID},_getValueScale:function(){return this.getScaleForId(this._getValueScaleId())},_getIndexScale:function(){return this.getScaleForId(this._getIndexScaleId())},reset:function(){this._update(!0)},destroy:function(){this._data&&tt(this._data,this)},createMetaDataset:function(){var t=this.datasetElementType;return t&&new t({_chart:this.chart,_datasetIndex:this.index})},createMetaData:function(t){var e=this.dataElementType;return e&&new e({_chart:this.chart,_datasetIndex:this.index,_index:t})},addElements:function(){var t,e,n=this.getMeta(),i=this.getDataset().data||[],a=n.data;for(t=0,e=i.length;tn&&this.insertElements(n,i-n)},insertElements:function(t,e){for(var n=0;na?(r=a/e.innerRadius,t.arc(o,s,e.innerRadius-a,i+r,n-r,!0)):t.arc(o,s,a,i+Math.PI/2,n-Math.PI/2),t.closePath(),t.clip()}function rt(t,e,n){var i="inner"===e.borderAlign;i?(t.lineWidth=2*e.borderWidth,t.lineJoin="round"):(t.lineWidth=e.borderWidth,t.lineJoin="bevel"),n.fullCircles&&function(t,e,n,i){var a,r=n.endAngle;for(i&&(n.endAngle=n.startAngle+it,at(t,n),n.endAngle=r,n.endAngle===n.startAngle&&n.fullCircles&&(n.endAngle+=it,n.fullCircles--)),t.beginPath(),t.arc(n.x,n.y,n.innerRadius,n.startAngle+it,n.startAngle,!0),a=0;as;)a-=it;for(;a=o&&a<=s,u=r>=n.innerRadius&&r<=n.outerRadius;return l&&u}return!1},getCenterPoint:function(){var t=this._view,e=(t.startAngle+t.endAngle)/2,n=(t.innerRadius+t.outerRadius)/2;return{x:t.x+Math.cos(e)*n,y:t.y+Math.sin(e)*n}},getArea:function(){var t=this._view;return Math.PI*((t.endAngle-t.startAngle)/(2*Math.PI))*(Math.pow(t.outerRadius,2)-Math.pow(t.innerRadius,2))},tooltipPosition:function(){var t=this._view,e=t.startAngle+(t.endAngle-t.startAngle)/2,n=(t.outerRadius-t.innerRadius)/2+t.innerRadius;return{x:t.x+Math.cos(e)*n,y:t.y+Math.sin(e)*n}},draw:function(){var t,e=this._chart.ctx,n=this._view,i="inner"===n.borderAlign?.33:0,a={x:n.x,y:n.y,innerRadius:n.innerRadius,outerRadius:Math.max(n.outerRadius-i,0),pixelMargin:i,startAngle:n.startAngle,endAngle:n.endAngle,fullCircles:Math.floor(n.circumference/it)};if(e.save(),e.fillStyle=n.backgroundColor,e.strokeStyle=n.borderColor,a.fullCircles){for(a.endAngle=a.startAngle+it,e.beginPath(),e.arc(a.x,a.y,a.outerRadius,a.startAngle,a.endAngle),e.arc(a.x,a.y,a.innerRadius,a.endAngle,a.startAngle,!0),e.closePath(),t=0;tt.x&&(e=vt(e,"left","right")):t.basen?n:i,r:l.right||a<0?0:a>e?e:a,b:l.bottom||r<0?0:r>n?n:r,l:l.left||o<0?0:o>e?e:o}}function xt(t,e,n){var i=null===e,a=null===n,r=!(!t||i&&a)&&mt(t);return r&&(i||e>=r.left&&e<=r.right)&&(a||n>=r.top&&n<=r.bottom)}z._set("global",{elements:{rectangle:{backgroundColor:gt,borderColor:gt,borderSkipped:"bottom",borderWidth:0}}});var yt=X.extend({_type:"rectangle",draw:function(){var t=this._chart.ctx,e=this._view,n=function(t){var e=mt(t),n=e.right-e.left,i=e.bottom-e.top,a=bt(t,n/2,i/2);return{outer:{x:e.left,y:e.top,w:n,h:i},inner:{x:e.left+a.l,y:e.top+a.t,w:n-a.l-a.r,h:i-a.t-a.b}}}(e),i=n.outer,a=n.inner;t.fillStyle=e.backgroundColor,t.fillRect(i.x,i.y,i.w,i.h),i.w===a.w&&i.h===a.h||(t.save(),t.beginPath(),t.rect(i.x,i.y,i.w,i.h),t.clip(),t.fillStyle=e.borderColor,t.rect(a.x,a.y,a.w,a.h),t.fill("evenodd"),t.restore())},height:function(){var t=this._view;return t.base-t.y},inRange:function(t,e){return xt(this._view,t,e)},inLabelRange:function(t,e){var n=this._view;return pt(n)?xt(n,t,null):xt(n,null,e)},inXRange:function(t){return xt(this._view,t,null)},inYRange:function(t){return xt(this._view,null,t)},getCenterPoint:function(){var t,e,n=this._view;return pt(n)?(t=n.x,e=(n.y+n.base)/2):(t=(n.x+n.base)/2,e=n.y),{x:t,y:e}},getArea:function(){var t=this._view;return pt(t)?t.width*Math.abs(t.y-t.base):t.height*Math.abs(t.x-t.base)},tooltipPosition:function(){var t=this._view;return{x:t.x,y:t.y}}}),_t={},kt=ot,wt=ut,Mt=ft,St=yt;_t.Arc=kt,_t.Line=wt,_t.Point=Mt,_t.Rectangle=St;var Ct=V._deprecated,Pt=V.valueOrDefault;function At(t,e,n){var i,a,r=n.barThickness,o=e.stackCount,s=e.pixels[t],l=V.isNullOrUndef(r)?function(t,e){var n,i,a,r,o=t._length;for(a=1,r=e.length;a0?Math.min(o,Math.abs(i-n)):o,n=i;return o}(e.scale,e.pixels):-1;return V.isNullOrUndef(r)?(i=l*n.categoryPercentage,a=n.barPercentage):(i=r*o,a=1),{chunk:i/o,ratio:a,start:s-i/2}}z._set("bar",{hover:{mode:"label"},scales:{xAxes:[{type:"category",offset:!0,gridLines:{offsetGridLines:!0}}],yAxes:[{type:"linear"}]}}),z._set("global",{datasets:{bar:{categoryPercentage:.8,barPercentage:.9}}});var Dt=nt.extend({dataElementType:_t.Rectangle,_dataElementOptions:["backgroundColor","borderColor","borderSkipped","borderWidth","barPercentage","barThickness","categoryPercentage","maxBarThickness","minBarLength"],initialize:function(){var t,e,n=this;nt.prototype.initialize.apply(n,arguments),(t=n.getMeta()).stack=n.getDataset().stack,t.bar=!0,e=n._getIndexScale().options,Ct("bar chart",e.barPercentage,"scales.[x/y]Axes.barPercentage","dataset.barPercentage"),Ct("bar chart",e.barThickness,"scales.[x/y]Axes.barThickness","dataset.barThickness"),Ct("bar chart",e.categoryPercentage,"scales.[x/y]Axes.categoryPercentage","dataset.categoryPercentage"),Ct("bar chart",n._getValueScale().options.minBarLength,"scales.[x/y]Axes.minBarLength","dataset.minBarLength"),Ct("bar chart",e.maxBarThickness,"scales.[x/y]Axes.maxBarThickness","dataset.maxBarThickness")},update:function(t){var e,n,i=this.getMeta().data;for(this._ruler=this.getRuler(),e=0,n=i.length;e=0&&p.min>=0?p.min:p.max,y=void 0===p.start?p.end:p.max>=0&&p.min>=0?p.max-p.min:p.min-p.max,_=g.length;if(v||void 0===v&&void 0!==b)for(i=0;i<_&&(a=g[i]).index!==t;++i)a.stack===b&&(r=void 0===(u=h._parseValue(f[a.index].data[e])).start?u.end:u.min>=0&&u.max>=0?u.max:u.min,(p.min<0&&r<0||p.max>=0&&r>0)&&(x+=r));return o=h.getPixelForValue(x),l=(s=h.getPixelForValue(x+y))-o,void 0!==m&&Math.abs(l)=0&&!c||y<0&&c?o-m:o+m),{size:l,base:o,head:s,center:s+l/2}},calculateBarIndexPixels:function(t,e,n,i){var a="flex"===i.barThickness?function(t,e,n){var i,a=e.pixels,r=a[t],o=t>0?a[t-1]:null,s=t=Ot?-Rt:b<-Ot?Rt:0)+m,y=Math.cos(b),_=Math.sin(b),k=Math.cos(x),w=Math.sin(x),M=b<=0&&x>=0||x>=Rt,S=b<=zt&&x>=zt||x>=Rt+zt,C=b<=-zt&&x>=-zt||x>=Ot+zt,P=b===-Ot||x>=Ot?-1:Math.min(y,y*p,k,k*p),A=C?-1:Math.min(_,_*p,w,w*p),D=M?1:Math.max(y,y*p,k,k*p),T=S?1:Math.max(_,_*p,w,w*p);u=(D-P)/2,d=(T-A)/2,h=-(D+P)/2,c=-(T+A)/2}for(i=0,a=g.length;i0&&!isNaN(t)?Rt*(Math.abs(t)/e):0},getMaxBorderWidth:function(t){var e,n,i,a,r,o,s,l,u=0,d=this.chart;if(!t)for(e=0,n=d.data.datasets.length;e(u=s>u?s:u)?l:u);return u},setHoverStyle:function(t){var e=t._model,n=t._options,i=V.getHoverColor;t.$previousStyle={backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:e.borderWidth},e.backgroundColor=Lt(n.hoverBackgroundColor,i(n.backgroundColor)),e.borderColor=Lt(n.hoverBorderColor,i(n.borderColor)),e.borderWidth=Lt(n.hoverBorderWidth,n.borderWidth)},_getRingWeightOffset:function(t){for(var e=0,n=0;n0&&Vt(l[t-1]._model,s)&&(n.controlPointPreviousX=u(n.controlPointPreviousX,s.left,s.right),n.controlPointPreviousY=u(n.controlPointPreviousY,s.top,s.bottom)),t0&&(r=t.getDatasetMeta(r[0]._datasetIndex).data),r},"x-axis":function(t,e){return ie(t,e,{intersect:!1})},point:function(t,e){return te(t,Jt(e,t))},nearest:function(t,e,n){var i=Jt(e,t);n.axis=n.axis||"xy";var a=ne(n.axis);return ee(t,i,n.intersect,a)},x:function(t,e,n){var i=Jt(e,t),a=[],r=!1;return Qt(t,(function(t){t.inXRange(i.x)&&a.push(t),t.inRange(i.x,i.y)&&(r=!0)})),n.intersect&&!r&&(a=[]),a},y:function(t,e,n){var i=Jt(e,t),a=[],r=!1;return Qt(t,(function(t){t.inYRange(i.y)&&a.push(t),t.inRange(i.x,i.y)&&(r=!0)})),n.intersect&&!r&&(a=[]),a}}},re=V.extend;function oe(t,e){return V.where(t,(function(t){return t.pos===e}))}function se(t,e){return t.sort((function(t,n){var i=e?n:t,a=e?t:n;return i.weight===a.weight?i.index-a.index:i.weight-a.weight}))}function le(t,e,n,i){return Math.max(t[n],e[n])+Math.max(t[i],e[i])}function ue(t,e,n){var i,a,r=n.box,o=t.maxPadding;if(n.size&&(t[n.pos]-=n.size),n.size=n.horizontal?r.height:r.width,t[n.pos]+=n.size,r.getPadding){var s=r.getPadding();o.top=Math.max(o.top,s.top),o.left=Math.max(o.left,s.left),o.bottom=Math.max(o.bottom,s.bottom),o.right=Math.max(o.right,s.right)}if(i=e.outerWidth-le(o,t,"left","right"),a=e.outerHeight-le(o,t,"top","bottom"),i!==t.w||a!==t.h)return t.w=i,t.h=a,n.horizontal?i!==t.w:a!==t.h}function de(t,e){var n=e.maxPadding;function i(t){var i={left:0,top:0,right:0,bottom:0};return t.forEach((function(t){i[t]=Math.max(e[t],n[t])})),i}return i(t?["left","right"]:["top","bottom"])}function he(t,e,n){var i,a,r,o,s,l,u=[];for(i=0,a=t.length;idiv{position:absolute;width:1000000px;height:1000000px;left:0;top:0}.chartjs-size-monitor-shrink>div{position:absolute;width:200%;height:200%;left:0;top:0}"}))&&fe.default||fe,me="$chartjs",ve="chartjs-size-monitor",be="chartjs-render-monitor",xe="chartjs-render-animation",ye=["animationstart","webkitAnimationStart"],_e={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"};function ke(t,e){var n=V.getStyle(t,e),i=n&&n.match(/^(\d+)(\.\d+)?px$/);return i?Number(i[1]):void 0}var we=!!function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("e",null,e)}catch(t){}return t}()&&{passive:!0};function Me(t,e,n){t.addEventListener(e,n,we)}function Se(t,e,n){t.removeEventListener(e,n,we)}function Ce(t,e,n,i,a){return{type:t,chart:e,native:a||null,x:void 0!==n?n:null,y:void 0!==i?i:null}}function Pe(t){var e=document.createElement("div");return e.className=t||"",e}function Ae(t,e,n){var i,a,r,o,s=t[me]||(t[me]={}),l=s.resizer=function(t){var e=Pe(ve),n=Pe(ve+"-expand"),i=Pe(ve+"-shrink");n.appendChild(Pe()),i.appendChild(Pe()),e.appendChild(n),e.appendChild(i),e._reset=function(){n.scrollLeft=1e6,n.scrollTop=1e6,i.scrollLeft=1e6,i.scrollTop=1e6};var a=function(){e._reset(),t()};return Me(n,"scroll",a.bind(n,"expand")),Me(i,"scroll",a.bind(i,"shrink")),e}((i=function(){if(s.resizer){var i=n.options.maintainAspectRatio&&t.parentNode,a=i?i.clientWidth:0;e(Ce("resize",n)),i&&i.clientWidth0){var r=t[0];r.label?n=r.label:r.xLabel?n=r.xLabel:a>0&&r.index-1?t.split("\n"):t}function We(t){var e=z.global;return{xPadding:t.xPadding,yPadding:t.yPadding,xAlign:t.xAlign,yAlign:t.yAlign,rtl:t.rtl,textDirection:t.textDirection,bodyFontColor:t.bodyFontColor,_bodyFontFamily:Re(t.bodyFontFamily,e.defaultFontFamily),_bodyFontStyle:Re(t.bodyFontStyle,e.defaultFontStyle),_bodyAlign:t.bodyAlign,bodyFontSize:Re(t.bodyFontSize,e.defaultFontSize),bodySpacing:t.bodySpacing,titleFontColor:t.titleFontColor,_titleFontFamily:Re(t.titleFontFamily,e.defaultFontFamily),_titleFontStyle:Re(t.titleFontStyle,e.defaultFontStyle),titleFontSize:Re(t.titleFontSize,e.defaultFontSize),_titleAlign:t.titleAlign,titleSpacing:t.titleSpacing,titleMarginBottom:t.titleMarginBottom,footerFontColor:t.footerFontColor,_footerFontFamily:Re(t.footerFontFamily,e.defaultFontFamily),_footerFontStyle:Re(t.footerFontStyle,e.defaultFontStyle),footerFontSize:Re(t.footerFontSize,e.defaultFontSize),_footerAlign:t.footerAlign,footerSpacing:t.footerSpacing,footerMarginTop:t.footerMarginTop,caretSize:t.caretSize,cornerRadius:t.cornerRadius,backgroundColor:t.backgroundColor,opacity:0,legendColorBackground:t.multiKeyBackground,displayColors:t.displayColors,borderColor:t.borderColor,borderWidth:t.borderWidth}}function Ve(t,e){return"center"===e?t.x+t.width/2:"right"===e?t.x+t.width-t.xPadding:t.x+t.xPadding}function He(t){return Be([],Ee(t))}var je=X.extend({initialize:function(){this._model=We(this._options),this._lastActive=[]},getTitle:function(){var t=this,e=t._options,n=e.callbacks,i=n.beforeTitle.apply(t,arguments),a=n.title.apply(t,arguments),r=n.afterTitle.apply(t,arguments),o=[];return o=Be(o,Ee(i)),o=Be(o,Ee(a)),o=Be(o,Ee(r))},getBeforeBody:function(){return He(this._options.callbacks.beforeBody.apply(this,arguments))},getBody:function(t,e){var n=this,i=n._options.callbacks,a=[];return V.each(t,(function(t){var r={before:[],lines:[],after:[]};Be(r.before,Ee(i.beforeLabel.call(n,t,e))),Be(r.lines,i.label.call(n,t,e)),Be(r.after,Ee(i.afterLabel.call(n,t,e))),a.push(r)})),a},getAfterBody:function(){return He(this._options.callbacks.afterBody.apply(this,arguments))},getFooter:function(){var t=this,e=t._options.callbacks,n=e.beforeFooter.apply(t,arguments),i=e.footer.apply(t,arguments),a=e.afterFooter.apply(t,arguments),r=[];return r=Be(r,Ee(n)),r=Be(r,Ee(i)),r=Be(r,Ee(a))},update:function(t){var e,n,i,a,r,o,s,l,u,d,h=this,c=h._options,f=h._model,g=h._model=We(c),p=h._active,m=h._data,v={xAlign:f.xAlign,yAlign:f.yAlign},b={x:f.x,y:f.y},x={width:f.width,height:f.height},y={x:f.caretX,y:f.caretY};if(p.length){g.opacity=1;var _=[],k=[];y=Ne[c.position].call(h,p,h._eventPosition);var w=[];for(e=0,n=p.length;ei.width&&(a=i.width-e.width),a<0&&(a=0)),"top"===d?r+=h:r-="bottom"===d?e.height+h:e.height/2,"center"===d?"left"===u?a+=h:"right"===u&&(a-=h):"left"===u?a-=c:"right"===u&&(a+=c),{x:a,y:r}}(g,x,v=function(t,e){var n,i,a,r,o,s=t._model,l=t._chart,u=t._chart.chartArea,d="center",h="center";s.yl.height-e.height&&(h="bottom");var c=(u.left+u.right)/2,f=(u.top+u.bottom)/2;"center"===h?(n=function(t){return t<=c},i=function(t){return t>c}):(n=function(t){return t<=e.width/2},i=function(t){return t>=l.width-e.width/2}),a=function(t){return t+e.width+s.caretSize+s.caretPadding>l.width},r=function(t){return t-e.width-s.caretSize-s.caretPadding<0},o=function(t){return t<=f?"top":"bottom"},n(s.x)?(d="left",a(s.x)&&(d="center",h=o(s.y))):i(s.x)&&(d="right",r(s.x)&&(d="center",h=o(s.y)));var g=t._options;return{xAlign:g.xAlign?g.xAlign:d,yAlign:g.yAlign?g.yAlign:h}}(this,x),h._chart)}else g.opacity=0;return g.xAlign=v.xAlign,g.yAlign=v.yAlign,g.x=b.x,g.y=b.y,g.width=x.width,g.height=x.height,g.caretX=y.x,g.caretY=y.y,h._model=g,t&&c.custom&&c.custom.call(h,g),h},drawCaret:function(t,e){var n=this._chart.ctx,i=this._view,a=this.getCaretPosition(t,e,i);n.lineTo(a.x1,a.y1),n.lineTo(a.x2,a.y2),n.lineTo(a.x3,a.y3)},getCaretPosition:function(t,e,n){var i,a,r,o,s,l,u=n.caretSize,d=n.cornerRadius,h=n.xAlign,c=n.yAlign,f=t.x,g=t.y,p=e.width,m=e.height;if("center"===c)s=g+m/2,"left"===h?(a=(i=f)-u,r=i,o=s+u,l=s-u):(a=(i=f+p)+u,r=i,o=s-u,l=s+u);else if("left"===h?(i=(a=f+d+u)-u,r=a+u):"right"===h?(i=(a=f+p-d-u)-u,r=a+u):(i=(a=n.caretX)-u,r=a+u),"top"===c)s=(o=g)-u,l=o;else{s=(o=g+m)+u,l=o;var v=r;r=i,i=v}return{x1:i,x2:a,x3:r,y1:o,y2:s,y3:l}},drawTitle:function(t,e,n){var i,a,r,o=e.title,s=o.length;if(s){var l=ze(e.rtl,e.x,e.width);for(t.x=Ve(e,e._titleAlign),n.textAlign=l.textAlign(e._titleAlign),n.textBaseline="middle",i=e.titleFontSize,a=e.titleSpacing,n.fillStyle=e.titleFontColor,n.font=V.fontString(i,e._titleFontStyle,e._titleFontFamily),r=0;r0&&n.stroke()},draw:function(){var t=this._chart.ctx,e=this._view;if(0!==e.opacity){var n={width:e.width,height:e.height},i={x:e.x,y:e.y},a=Math.abs(e.opacity<.001)?0:e.opacity,r=e.title.length||e.beforeBody.length||e.body.length||e.afterBody.length||e.footer.length;this._options.enabled&&r&&(t.save(),t.globalAlpha=a,this.drawBackground(i,e,t,n),i.y+=e.yPadding,V.rtl.overrideTextDirection(t,e.textDirection),this.drawTitle(i,e,t),this.drawBody(i,e,t),this.drawFooter(i,e,t),V.rtl.restoreTextDirection(t,e.textDirection),t.restore())}},handleEvent:function(t){var e,n=this,i=n._options;return n._lastActive=n._lastActive||[],"mouseout"===t.type?n._active=[]:(n._active=n._chart.getElementsAtEventForMode(t,i.mode,i),i.reverse&&n._active.reverse()),(e=!V.arrayEquals(n._active,n._lastActive))&&(n._lastActive=n._active,(i.enabled||i.custom)&&(n._eventPosition={x:t.x,y:t.y},n.update(!0),n.pivot())),e}}),qe=Ne,Ue=je;Ue.positioners=qe;var Ye=V.valueOrDefault;function Ge(){return V.merge({},[].slice.call(arguments),{merger:function(t,e,n,i){if("xAxes"===t||"yAxes"===t){var a,r,o,s=n[t].length;for(e[t]||(e[t]=[]),a=0;a=e[t].length&&e[t].push({}),!e[t][a].type||o.type&&o.type!==e[t][a].type?V.merge(e[t][a],[Oe.getScaleDefaults(r),o]):V.merge(e[t][a],o)}else V._merger(t,e,n,i)}})}function Xe(){return V.merge({},[].slice.call(arguments),{merger:function(t,e,n,i){var a=e[t]||{},r=n[t];"scales"===t?e[t]=Ge(a,r):"scale"===t?e[t]=V.merge(a,[Oe.getScaleDefaults(r.type),r]):V._merger(t,e,n,i)}})}function Ke(t){var e=t.options;V.each(t.scales,(function(e){ge.removeBox(t,e)})),e=Xe(z.global,z[t.config.type],e),t.options=t.config.options=e,t.ensureScalesHaveIDs(),t.buildOrUpdateScales(),t.tooltip._options=e.tooltips,t.tooltip.initialize()}function Ze(t,e,n){var i,a=function(t){return t.id===i};do{i=e+n++}while(V.findIndex(t,a)>=0);return i}function $e(t){return"top"===t||"bottom"===t}function Je(t,e){return function(n,i){return n[t]===i[t]?n[e]-i[e]:n[t]-i[t]}}z._set("global",{elements:{},events:["mousemove","mouseout","click","touchstart","touchmove"],hover:{onHover:null,mode:"nearest",intersect:!0,animationDuration:400},onClick:null,maintainAspectRatio:!0,responsive:!0,responsiveAnimationDuration:0});var Qe=function(t,e){return this.construct(t,e),this};V.extend(Qe.prototype,{construct:function(t,e){var n=this;e=function(t){var e=(t=t||{}).data=t.data||{};return e.datasets=e.datasets||[],e.labels=e.labels||[],t.options=Xe(z.global,z[t.type],t.options||{}),t}(e);var i=Fe.acquireContext(t,e),a=i&&i.canvas,r=a&&a.height,o=a&&a.width;n.id=V.uid(),n.ctx=i,n.canvas=a,n.config=e,n.width=o,n.height=r,n.aspectRatio=r?o/r:null,n.options=e.options,n._bufferedRender=!1,n._layers=[],n.chart=n,n.controller=n,Qe.instances[n.id]=n,Object.defineProperty(n,"data",{get:function(){return n.config.data},set:function(t){n.config.data=t}}),i&&a?(n.initialize(),n.update()):console.error("Failed to create chart: can't acquire context from the given item")},initialize:function(){var t=this;return Le.notify(t,"beforeInit"),V.retinaScale(t,t.options.devicePixelRatio),t.bindEvents(),t.options.responsive&&t.resize(!0),t.initToolTip(),Le.notify(t,"afterInit"),t},clear:function(){return V.canvas.clear(this),this},stop:function(){return $.cancelAnimation(this),this},resize:function(t){var e=this,n=e.options,i=e.canvas,a=n.maintainAspectRatio&&e.aspectRatio||null,r=Math.max(0,Math.floor(V.getMaximumWidth(i))),o=Math.max(0,Math.floor(a?r/a:V.getMaximumHeight(i)));if((e.width!==r||e.height!==o)&&(i.width=e.width=r,i.height=e.height=o,i.style.width=r+"px",i.style.height=o+"px",V.retinaScale(e,n.devicePixelRatio),!t)){var s={width:r,height:o};Le.notify(e,"resize",[s]),n.onResize&&n.onResize(e,s),e.stop(),e.update({duration:n.responsiveAnimationDuration})}},ensureScalesHaveIDs:function(){var t=this.options,e=t.scales||{},n=t.scale;V.each(e.xAxes,(function(t,n){t.id||(t.id=Ze(e.xAxes,"x-axis-",n))})),V.each(e.yAxes,(function(t,n){t.id||(t.id=Ze(e.yAxes,"y-axis-",n))})),n&&(n.id=n.id||"scale")},buildOrUpdateScales:function(){var t=this,e=t.options,n=t.scales||{},i=[],a=Object.keys(n).reduce((function(t,e){return t[e]=!1,t}),{});e.scales&&(i=i.concat((e.scales.xAxes||[]).map((function(t){return{options:t,dtype:"category",dposition:"bottom"}})),(e.scales.yAxes||[]).map((function(t){return{options:t,dtype:"linear",dposition:"left"}})))),e.scale&&i.push({options:e.scale,dtype:"radialLinear",isDefault:!0,dposition:"chartArea"}),V.each(i,(function(e){var i=e.options,r=i.id,o=Ye(i.type,e.dtype);$e(i.position)!==$e(e.dposition)&&(i.position=e.dposition),a[r]=!0;var s=null;if(r in n&&n[r].type===o)(s=n[r]).options=i,s.ctx=t.ctx,s.chart=t;else{var l=Oe.getScaleConstructor(o);if(!l)return;s=new l({id:r,type:o,options:i,ctx:t.ctx,chart:t}),n[s.id]=s}s.mergeTicksOptions(),e.isDefault&&(t.scale=s)})),V.each(a,(function(t,e){t||delete n[e]})),t.scales=n,Oe.addScalesToLayout(this)},buildOrUpdateControllers:function(){var t,e,n=this,i=[],a=n.data.datasets;for(t=0,e=a.length;t=0;--n)this.drawDataset(e[n],t);Le.notify(this,"afterDatasetsDraw",[t])}},drawDataset:function(t,e){var n={meta:t,index:t.index,easingValue:e};!1!==Le.notify(this,"beforeDatasetDraw",[n])&&(t.controller.draw(e),Le.notify(this,"afterDatasetDraw",[n]))},_drawTooltip:function(t){var e=this.tooltip,n={tooltip:e,easingValue:t};!1!==Le.notify(this,"beforeTooltipDraw",[n])&&(e.draw(),Le.notify(this,"afterTooltipDraw",[n]))},getElementAtEvent:function(t){return ae.modes.single(this,t)},getElementsAtEvent:function(t){return ae.modes.label(this,t,{intersect:!0})},getElementsAtXAxis:function(t){return ae.modes["x-axis"](this,t,{intersect:!0})},getElementsAtEventForMode:function(t,e,n){var i=ae.modes[e];return"function"==typeof i?i(this,t,n):[]},getDatasetAtEvent:function(t){return ae.modes.dataset(this,t,{intersect:!0})},getDatasetMeta:function(t){var e=this.data.datasets[t];e._meta||(e._meta={});var n=e._meta[this.id];return n||(n=e._meta[this.id]={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:e.order||0,index:t}),n},getVisibleDatasetCount:function(){for(var t=0,e=0,n=this.data.datasets.length;e3?n[2]-n[1]:n[1]-n[0];Math.abs(i)>1&&t!==Math.floor(t)&&(i=t-Math.floor(t));var a=V.log10(Math.abs(i)),r="";if(0!==t)if(Math.max(Math.abs(n[0]),Math.abs(n[n.length-1]))<1e-4){var o=V.log10(Math.abs(t)),s=Math.floor(o)-Math.floor(a);s=Math.max(Math.min(s,20),0),r=t.toExponential(s)}else{var l=-1*Math.floor(a);l=Math.max(Math.min(l,20),0),r=t.toFixed(l)}else r="0";return r},logarithmic:function(t,e,n){var i=t/Math.pow(10,Math.floor(V.log10(t)));return 0===t?"0":1===i||2===i||5===i||0===e||e===n.length-1?t.toExponential():""}}},on=V.isArray,sn=V.isNullOrUndef,ln=V.valueOrDefault,un=V.valueAtIndexOrDefault;function dn(t,e,n){var i,a=t.getTicks().length,r=Math.min(e,a-1),o=t.getPixelForTick(r),s=t._startPixel,l=t._endPixel;if(!(n&&(i=1===a?Math.max(o-s,l-o):0===e?(t.getPixelForTick(1)-o)/2:(o-t.getPixelForTick(r-1))/2,(o+=rl+1e-6)))return o}function hn(t,e,n,i){var a,r,o,s,l,u,d,h,c,f,g,p,m,v=n.length,b=[],x=[],y=[];for(a=0;ae){for(n=0;n=c||d<=1||!s.isHorizontal()?s.labelRotation=h:(e=(t=s._getLabelSizes()).widest.width,n=t.highest.height-t.highest.offset,i=Math.min(s.maxWidth,s.chart.width-e),e+6>(a=l.offset?s.maxWidth/d:i/(d-1))&&(a=i/(d-(l.offset?.5:1)),r=s.maxHeight-cn(l.gridLines)-u.padding-fn(l.scaleLabel),o=Math.sqrt(e*e+n*n),f=V.toDegrees(Math.min(Math.asin(Math.min((t.highest.height+6)/a,1)),Math.asin(Math.min(r/o,1))-Math.asin(n/o))),f=Math.max(h,Math.min(c,f))),s.labelRotation=f)},afterCalculateTickRotation:function(){V.callback(this.options.afterCalculateTickRotation,[this])},beforeFit:function(){V.callback(this.options.beforeFit,[this])},fit:function(){var t=this,e=t.minSize={width:0,height:0},n=t.chart,i=t.options,a=i.ticks,r=i.scaleLabel,o=i.gridLines,s=t._isVisible(),l="bottom"===i.position,u=t.isHorizontal();if(u?e.width=t.maxWidth:s&&(e.width=cn(o)+fn(r)),u?s&&(e.height=cn(o)+fn(r)):e.height=t.maxHeight,a.display&&s){var d=pn(a),h=t._getLabelSizes(),c=h.first,f=h.last,g=h.widest,p=h.highest,m=.4*d.minor.lineHeight,v=a.padding;if(u){var b=0!==t.labelRotation,x=V.toRadians(t.labelRotation),y=Math.cos(x),_=Math.sin(x),k=_*g.width+y*(p.height-(b?p.offset:0))+(b?0:m);e.height=Math.min(t.maxHeight,e.height+k+v);var w,M,S=t.getPixelForTick(0)-t.left,C=t.right-t.getPixelForTick(t.getTicks().length-1);b?(w=l?y*c.width+_*c.offset:_*(c.height-c.offset),M=l?_*(f.height-f.offset):y*f.width+_*f.offset):(w=c.width/2,M=f.width/2),t.paddingLeft=Math.max((w-S)*t.width/(t.width-S),0)+3,t.paddingRight=Math.max((M-C)*t.width/(t.width-C),0)+3}else{var P=a.mirror?0:g.width+v+m;e.width=Math.min(t.maxWidth,e.width+P),t.paddingTop=c.height/2,t.paddingBottom=f.height/2}}t.handleMargins(),u?(t.width=t._length=n.width-t.margins.left-t.margins.right,t.height=e.height):(t.width=e.width,t.height=t._length=n.height-t.margins.top-t.margins.bottom)},handleMargins:function(){var t=this;t.margins&&(t.margins.left=Math.max(t.paddingLeft,t.margins.left),t.margins.top=Math.max(t.paddingTop,t.margins.top),t.margins.right=Math.max(t.paddingRight,t.margins.right),t.margins.bottom=Math.max(t.paddingBottom,t.margins.bottom))},afterFit:function(){V.callback(this.options.afterFit,[this])},isHorizontal:function(){var t=this.options.position;return"top"===t||"bottom"===t},isFullWidth:function(){return this.options.fullWidth},getRightValue:function(t){if(sn(t))return NaN;if(("number"==typeof t||t instanceof Number)&&!isFinite(t))return NaN;if(t)if(this.isHorizontal()){if(void 0!==t.x)return this.getRightValue(t.x)}else if(void 0!==t.y)return this.getRightValue(t.y);return t},_convertTicksToLabels:function(t){var e,n,i,a=this;for(a.ticks=t.map((function(t){return t.value})),a.beforeTickToLabelConversion(),e=a.convertTicksToLabels(t)||a.ticks,a.afterTickToLabelConversion(),n=0,i=t.length;nn-1?null:this.getPixelForDecimal(t*i+(e?i/2:0))},getPixelForDecimal:function(t){return this._reversePixels&&(t=1-t),this._startPixel+t*this._length},getDecimalForPixel:function(t){var e=(t-this._startPixel)/this._length;return this._reversePixels?1-e:e},getBasePixel:function(){return this.getPixelForValue(this.getBaseValue())},getBaseValue:function(){var t=this.min,e=this.max;return this.beginAtZero?0:t<0&&e<0?e:t>0&&e>0?t:0},_autoSkip:function(t){var e,n,i,a,r=this.options.ticks,o=this._length,s=r.maxTicksLimit||o/this._tickSize()+1,l=r.major.enabled?function(t){var e,n,i=[];for(e=0,n=t.length;es)return function(t,e,n){var i,a,r=0,o=e[0];for(n=Math.ceil(n),i=0;iu)return r;return Math.max(u,1)}(l,t,0,s),u>0){for(e=0,n=u-1;e1?(h-d)/(u-1):null,vn(t,i,V.isNullOrUndef(a)?0:d-a,d),vn(t,i,h,V.isNullOrUndef(a)?t.length:h+a),mn(t)}return vn(t,i),mn(t)},_tickSize:function(){var t=this.options.ticks,e=V.toRadians(this.labelRotation),n=Math.abs(Math.cos(e)),i=Math.abs(Math.sin(e)),a=this._getLabelSizes(),r=t.autoSkipPadding||0,o=a?a.widest.width+r:0,s=a?a.highest.height+r:0;return this.isHorizontal()?s*n>o*i?o/n:s/i:s*i=0&&(o=t),void 0!==r&&(t=n.indexOf(r))>=0&&(s=t),e.minIndex=o,e.maxIndex=s,e.min=n[o],e.max=n[s]},buildTicks:function(){var t=this._getLabels(),e=this.minIndex,n=this.maxIndex;this.ticks=0===e&&n===t.length-1?t:t.slice(e,n+1)},getLabelForIndex:function(t,e){var n=this.chart;return n.getDatasetMeta(e).controller._getValueScaleId()===this.id?this.getRightValue(n.data.datasets[e].data[t]):this._getLabels()[t]},_configure:function(){var t=this,e=t.options.offset,n=t.ticks;xn.prototype._configure.call(t),t.isHorizontal()||(t._reversePixels=!t._reversePixels),n&&(t._startValue=t.minIndex-(e?.5:0),t._valueRange=Math.max(n.length-(e?0:1),1))},getPixelForValue:function(t,e,n){var i,a,r,o=this;return yn(e)||yn(n)||(t=o.chart.data.datasets[n].data[e]),yn(t)||(i=o.isHorizontal()?t.x:t.y),(void 0!==i||void 0!==t&&isNaN(e))&&(a=o._getLabels(),t=V.valueOrDefault(i,t),e=-1!==(r=a.indexOf(t))?r:e,isNaN(e)&&(e=t)),o.getPixelForDecimal((e-o._startValue)/o._valueRange)},getPixelForTick:function(t){var e=this.ticks;return t<0||t>e.length-1?null:this.getPixelForValue(e[t],t+this.minIndex)},getValueForPixel:function(t){var e=Math.round(this._startValue+this.getDecimalForPixel(t)*this._valueRange);return Math.min(Math.max(e,0),this.ticks.length-1)},getBasePixel:function(){return this.bottom}}),kn={position:"bottom"};_n._defaults=kn;var wn=V.noop,Mn=V.isNullOrUndef;var Sn=xn.extend({getRightValue:function(t){return"string"==typeof t?+t:xn.prototype.getRightValue.call(this,t)},handleTickRangeOptions:function(){var t=this,e=t.options.ticks;if(e.beginAtZero){var n=V.sign(t.min),i=V.sign(t.max);n<0&&i<0?t.max=0:n>0&&i>0&&(t.min=0)}var a=void 0!==e.min||void 0!==e.suggestedMin,r=void 0!==e.max||void 0!==e.suggestedMax;void 0!==e.min?t.min=e.min:void 0!==e.suggestedMin&&(null===t.min?t.min=e.suggestedMin:t.min=Math.min(t.min,e.suggestedMin)),void 0!==e.max?t.max=e.max:void 0!==e.suggestedMax&&(null===t.max?t.max=e.suggestedMax:t.max=Math.max(t.max,e.suggestedMax)),a!==r&&t.min>=t.max&&(a?t.max=t.min+1:t.min=t.max-1),t.min===t.max&&(t.max++,e.beginAtZero||t.min--)},getTickLimit:function(){var t,e=this.options.ticks,n=e.stepSize,i=e.maxTicksLimit;return n?t=Math.ceil(this.max/n)-Math.floor(this.min/n)+1:(t=this._computeTickLimit(),i=i||11),i&&(t=Math.min(i,t)),t},_computeTickLimit:function(){return Number.POSITIVE_INFINITY},handleDirectionalChanges:wn,buildTicks:function(){var t=this,e=t.options.ticks,n=t.getTickLimit(),i={maxTicks:n=Math.max(2,n),min:e.min,max:e.max,precision:e.precision,stepSize:V.valueOrDefault(e.fixedStepSize,e.stepSize)},a=t.ticks=function(t,e){var n,i,a,r,o=[],s=t.stepSize,l=s||1,u=t.maxTicks-1,d=t.min,h=t.max,c=t.precision,f=e.min,g=e.max,p=V.niceNum((g-f)/u/l)*l;if(p<1e-14&&Mn(d)&&Mn(h))return[f,g];(r=Math.ceil(g/p)-Math.floor(f/p))>u&&(p=V.niceNum(r*p/u/l)*l),s||Mn(c)?n=Math.pow(10,V._decimalPlaces(p)):(n=Math.pow(10,c),p=Math.ceil(p*n)/n),i=Math.floor(f/p)*p,a=Math.ceil(g/p)*p,s&&(!Mn(d)&&V.almostWhole(d/p,p/1e3)&&(i=d),!Mn(h)&&V.almostWhole(h/p,p/1e3)&&(a=h)),r=(a-i)/p,r=V.almostEquals(r,Math.round(r),p/1e3)?Math.round(r):Math.ceil(r),i=Math.round(i*n)/n,a=Math.round(a*n)/n,o.push(Mn(d)?i:d);for(var m=1;me.length-1?null:this.getPixelForValue(e[t])}}),Tn=Cn;Dn._defaults=Tn;var In=V.valueOrDefault,Fn=V.math.log10;var Ln={position:"left",ticks:{callback:rn.formatters.logarithmic}};function On(t,e){return V.isFinite(t)&&t>=0?t:e}var Rn=xn.extend({determineDataLimits:function(){var t,e,n,i,a,r,o=this,s=o.options,l=o.chart,u=l.data.datasets,d=o.isHorizontal();function h(t){return d?t.xAxisID===o.id:t.yAxisID===o.id}o.min=Number.POSITIVE_INFINITY,o.max=Number.NEGATIVE_INFINITY,o.minNotZero=Number.POSITIVE_INFINITY;var c=s.stacked;if(void 0===c)for(t=0;t0){var e=V.min(t),n=V.max(t);o.min=Math.min(o.min,e),o.max=Math.max(o.max,n)}}))}else for(t=0;t0?t.minNotZero=t.min:t.max<1?t.minNotZero=Math.pow(10,Math.floor(Fn(t.max))):t.minNotZero=1)},buildTicks:function(){var t=this,e=t.options.ticks,n=!t.isHorizontal(),i={min:On(e.min),max:On(e.max)},a=t.ticks=function(t,e){var n,i,a=[],r=In(t.min,Math.pow(10,Math.floor(Fn(e.min)))),o=Math.floor(Fn(e.max)),s=Math.ceil(e.max/Math.pow(10,o));0===r?(n=Math.floor(Fn(e.minNotZero)),i=Math.floor(e.minNotZero/Math.pow(10,n)),a.push(r),r=i*Math.pow(10,n)):(n=Math.floor(Fn(r)),i=Math.floor(r/Math.pow(10,n)));var l=n<0?Math.pow(10,Math.abs(n)):1;do{a.push(r),10===++i&&(i=1,l=++n>=0?1:l),r=Math.round(i*Math.pow(10,n)*l)/l}while(ne.length-1?null:this.getPixelForValue(e[t])},_getFirstTickValue:function(t){var e=Math.floor(Fn(t));return Math.floor(t/Math.pow(10,e))*Math.pow(10,e)},_configure:function(){var t=this,e=t.min,n=0;xn.prototype._configure.call(t),0===e&&(e=t._getFirstTickValue(t.minNotZero),n=In(t.options.ticks.fontSize,z.global.defaultFontSize)/t._length),t._startValue=Fn(e),t._valueOffset=n,t._valueRange=(Fn(t.max)-Fn(e))/(1-n)},getPixelForValue:function(t){var e=this,n=0;return(t=+e.getRightValue(t))>e.min&&t>0&&(n=(Fn(t)-e._startValue)/e._valueRange+e._valueOffset),e.getPixelForDecimal(n)},getValueForPixel:function(t){var e=this,n=e.getDecimalForPixel(t);return 0===n&&0===e.min?0:Math.pow(10,e._startValue+(n-e._valueOffset)*e._valueRange)}}),zn=Ln;Rn._defaults=zn;var Nn=V.valueOrDefault,Bn=V.valueAtIndexOrDefault,En=V.options.resolve,Wn={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,color:"rgba(0,0,0,0.1)",lineWidth:1,borderDash:[],borderDashOffset:0},gridLines:{circular:!1},ticks:{showLabelBackdrop:!0,backdropColor:"rgba(255,255,255,0.75)",backdropPaddingY:2,backdropPaddingX:2,callback:rn.formatters.linear},pointLabels:{display:!0,fontSize:10,callback:function(t){return t}}};function Vn(t){var e=t.ticks;return e.display&&t.display?Nn(e.fontSize,z.global.defaultFontSize)+2*e.backdropPaddingY:0}function Hn(t,e,n,i,a){return t===i||t===a?{start:e-n/2,end:e+n/2}:ta?{start:e-n,end:e}:{start:e,end:e+n}}function jn(t){return 0===t||180===t?"center":t<180?"left":"right"}function qn(t,e,n,i){var a,r,o=n.y+i/2;if(V.isArray(e))for(a=0,r=e.length;a270||t<90)&&(n.y-=e.h)}function Yn(t){return V.isNumber(t)?t:0}var Gn=Sn.extend({setDimensions:function(){var t=this;t.width=t.maxWidth,t.height=t.maxHeight,t.paddingTop=Vn(t.options)/2,t.xCenter=Math.floor(t.width/2),t.yCenter=Math.floor((t.height-t.paddingTop)/2),t.drawingArea=Math.min(t.height-t.paddingTop,t.width)/2},determineDataLimits:function(){var t=this,e=t.chart,n=Number.POSITIVE_INFINITY,i=Number.NEGATIVE_INFINITY;V.each(e.data.datasets,(function(a,r){if(e.isDatasetVisible(r)){var o=e.getDatasetMeta(r);V.each(a.data,(function(e,a){var r=+t.getRightValue(e);isNaN(r)||o.data[a].hidden||(n=Math.min(r,n),i=Math.max(r,i))}))}})),t.min=n===Number.POSITIVE_INFINITY?0:n,t.max=i===Number.NEGATIVE_INFINITY?0:i,t.handleTickRangeOptions()},_computeTickLimit:function(){return Math.ceil(this.drawingArea/Vn(this.options))},convertTicksToLabels:function(){var t=this;Sn.prototype.convertTicksToLabels.call(t),t.pointLabels=t.chart.data.labels.map((function(){var e=V.callback(t.options.pointLabels.callback,arguments,t);return e||0===e?e:""}))},getLabelForIndex:function(t,e){return+this.getRightValue(this.chart.data.datasets[e].data[t])},fit:function(){var t=this.options;t.display&&t.pointLabels.display?function(t){var e,n,i,a=V.options._parseFont(t.options.pointLabels),r={l:0,r:t.width,t:0,b:t.height-t.paddingTop},o={};t.ctx.font=a.string,t._pointLabelSizes=[];var s,l,u,d=t.chart.data.labels.length;for(e=0;er.r&&(r.r=f.end,o.r=h),g.startr.b&&(r.b=g.end,o.b=h)}t.setReductions(t.drawingArea,r,o)}(this):this.setCenterPoint(0,0,0,0)},setReductions:function(t,e,n){var i=this,a=e.l/Math.sin(n.l),r=Math.max(e.r-i.width,0)/Math.sin(n.r),o=-e.t/Math.cos(n.t),s=-Math.max(e.b-(i.height-i.paddingTop),0)/Math.cos(n.b);a=Yn(a),r=Yn(r),o=Yn(o),s=Yn(s),i.drawingArea=Math.min(Math.floor(t-(a+r)/2),Math.floor(t-(o+s)/2)),i.setCenterPoint(a,r,o,s)},setCenterPoint:function(t,e,n,i){var a=this,r=a.width-e-a.drawingArea,o=t+a.drawingArea,s=n+a.drawingArea,l=a.height-a.paddingTop-i-a.drawingArea;a.xCenter=Math.floor((o+r)/2+a.left),a.yCenter=Math.floor((s+l)/2+a.top+a.paddingTop)},getIndexAngle:function(t){var e=this.chart,n=(t*(360/e.data.labels.length)+((e.options||{}).startAngle||0))%360;return(n<0?n+360:n)*Math.PI*2/360},getDistanceFromCenterForValue:function(t){var e=this;if(V.isNullOrUndef(t))return NaN;var n=e.drawingArea/(e.max-e.min);return e.options.ticks.reverse?(e.max-t)*n:(t-e.min)*n},getPointPosition:function(t,e){var n=this.getIndexAngle(t)-Math.PI/2;return{x:Math.cos(n)*e+this.xCenter,y:Math.sin(n)*e+this.yCenter}},getPointPositionForValue:function(t,e){return this.getPointPosition(t,this.getDistanceFromCenterForValue(e))},getBasePosition:function(t){var e=this.min,n=this.max;return this.getPointPositionForValue(t||0,this.beginAtZero?0:e<0&&n<0?n:e>0&&n>0?e:0)},_drawGrid:function(){var t,e,n,i=this,a=i.ctx,r=i.options,o=r.gridLines,s=r.angleLines,l=Nn(s.lineWidth,o.lineWidth),u=Nn(s.color,o.color);if(r.pointLabels.display&&function(t){var e=t.ctx,n=t.options,i=n.pointLabels,a=Vn(n),r=t.getDistanceFromCenterForValue(n.ticks.reverse?t.min:t.max),o=V.options._parseFont(i);e.save(),e.font=o.string,e.textBaseline="middle";for(var s=t.chart.data.labels.length-1;s>=0;s--){var l=0===s?a/2:0,u=t.getPointPosition(s,r+l+5),d=Bn(i.fontColor,s,z.global.defaultFontColor);e.fillStyle=d;var h=t.getIndexAngle(s),c=V.toDegrees(h);e.textAlign=jn(c),Un(c,t._pointLabelSizes[s],u),qn(e,t.pointLabels[s],u,o.lineHeight)}e.restore()}(i),o.display&&V.each(i.ticks,(function(t,n){0!==n&&(e=i.getDistanceFromCenterForValue(i.ticksAsNumbers[n]),function(t,e,n,i){var a,r=t.ctx,o=e.circular,s=t.chart.data.labels.length,l=Bn(e.color,i-1),u=Bn(e.lineWidth,i-1);if((o||s)&&l&&u){if(r.save(),r.strokeStyle=l,r.lineWidth=u,r.setLineDash&&(r.setLineDash(e.borderDash||[]),r.lineDashOffset=e.borderDashOffset||0),r.beginPath(),o)r.arc(t.xCenter,t.yCenter,n,0,2*Math.PI);else{a=t.getPointPosition(0,n),r.moveTo(a.x,a.y);for(var d=1;d=0;t--)e=i.getDistanceFromCenterForValue(r.ticks.reverse?i.min:i.max),n=i.getPointPosition(t,e),a.beginPath(),a.moveTo(i.xCenter,i.yCenter),a.lineTo(n.x,n.y),a.stroke();a.restore()}},_drawLabels:function(){var t=this,e=t.ctx,n=t.options.ticks;if(n.display){var i,a,r=t.getIndexAngle(0),o=V.options._parseFont(n),s=Nn(n.fontColor,z.global.defaultFontColor);e.save(),e.font=o.string,e.translate(t.xCenter,t.yCenter),e.rotate(r),e.textAlign="center",e.textBaseline="middle",V.each(t.ticks,(function(r,l){(0!==l||n.reverse)&&(i=t.getDistanceFromCenterForValue(t.ticksAsNumbers[l]),n.showLabelBackdrop&&(a=e.measureText(r).width,e.fillStyle=n.backdropColor,e.fillRect(-a/2-n.backdropPaddingX,-i-o.size/2-n.backdropPaddingY,a+2*n.backdropPaddingX,o.size+2*n.backdropPaddingY)),e.fillStyle=s,e.fillText(r,0,-i))})),e.restore()}},_drawTitle:V.noop}),Xn=Wn;Gn._defaults=Xn;var Kn=V._deprecated,Zn=V.options.resolve,$n=V.valueOrDefault,Jn=Number.MIN_SAFE_INTEGER||-9007199254740991,Qn=Number.MAX_SAFE_INTEGER||9007199254740991,ti={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},ei=Object.keys(ti);function ni(t,e){return t-e}function ii(t){return V.valueOrDefault(t.time.min,t.ticks.min)}function ai(t){return V.valueOrDefault(t.time.max,t.ticks.max)}function ri(t,e,n,i){var a=function(t,e,n){for(var i,a,r,o=0,s=t.length-1;o>=0&&o<=s;){if(a=t[(i=o+s>>1)-1]||null,r=t[i],!a)return{lo:null,hi:r};if(r[e]n))return{lo:a,hi:r};s=i-1}}return{lo:r,hi:null}}(t,e,n),r=a.lo?a.hi?a.lo:t[t.length-2]:t[0],o=a.lo?a.hi?a.hi:t[t.length-1]:t[1],s=o[e]-r[e],l=s?(n-r[e])/s:0,u=(o[i]-r[i])*l;return r[i]+u}function oi(t,e){var n=t._adapter,i=t.options.time,a=i.parser,r=a||i.format,o=e;return"function"==typeof a&&(o=a(o)),V.isFinite(o)||(o="string"==typeof r?n.parse(o,r):n.parse(o)),null!==o?+o:(a||"function"!=typeof r||(o=r(e),V.isFinite(o)||(o=n.parse(o))),o)}function si(t,e){if(V.isNullOrUndef(e))return null;var n=t.options.time,i=oi(t,t.getRightValue(e));return null===i?i:(n.round&&(i=+t._adapter.startOf(i,n.round)),i)}function li(t,e,n,i){var a,r,o,s=ei.length;for(a=ei.indexOf(t);a=0&&(e[r].major=!0);return e}(t,r,o,n):r}var di=xn.extend({initialize:function(){this.mergeTicksOptions(),xn.prototype.initialize.call(this)},update:function(){var t=this,e=t.options,n=e.time||(e.time={}),i=t._adapter=new an._date(e.adapters.date);return Kn("time scale",n.format,"time.format","time.parser"),Kn("time scale",n.min,"time.min","ticks.min"),Kn("time scale",n.max,"time.max","ticks.max"),V.mergeIf(n.displayFormats,i.formats()),xn.prototype.update.apply(t,arguments)},getRightValue:function(t){return t&&void 0!==t.t&&(t=t.t),xn.prototype.getRightValue.call(this,t)},determineDataLimits:function(){var t,e,n,i,a,r,o,s=this,l=s.chart,u=s._adapter,d=s.options,h=d.time.unit||"day",c=Qn,f=Jn,g=[],p=[],m=[],v=s._getLabels();for(t=0,n=v.length;t1?function(t){var e,n,i,a={},r=[];for(e=0,n=t.length;e1e5*u)throw e+" and "+n+" are too far apart with stepSize of "+u+" "+l;for(a=h;a=a&&n<=r&&d.push(n);return i.min=a,i.max=r,i._unit=l.unit||(s.autoSkip?li(l.minUnit,i.min,i.max,h):function(t,e,n,i,a){var r,o;for(r=ei.length-1;r>=ei.indexOf(n);r--)if(o=ei[r],ti[o].common&&t._adapter.diff(a,i,o)>=e-1)return o;return ei[n?ei.indexOf(n):0]}(i,d.length,l.minUnit,i.min,i.max)),i._majorUnit=s.major.enabled&&"year"!==i._unit?function(t){for(var e=ei.indexOf(t)+1,n=ei.length;ee&&s=0&&t0?s:1}}),hi={position:"bottom",distribution:"linear",bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,displayFormat:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{autoSkip:!1,source:"auto",major:{enabled:!1}}};di._defaults=hi;var ci={category:_n,linear:Dn,logarithmic:Rn,radialLinear:Gn,time:di},fi={datetime:"MMM D, YYYY, h:mm:ss a",millisecond:"h:mm:ss.SSS a",second:"h:mm:ss a",minute:"h:mm a",hour:"hA",day:"MMM D",week:"ll",month:"MMM YYYY",quarter:"[Q]Q - YYYY",year:"YYYY"};an._date.override("function"==typeof t?{_id:"moment",formats:function(){return fi},parse:function(e,n){return"string"==typeof e&&"string"==typeof n?e=t(e,n):e instanceof t||(e=t(e)),e.isValid()?e.valueOf():null},format:function(e,n){return t(e).format(n)},add:function(e,n,i){return t(e).add(n,i).valueOf()},diff:function(e,n,i){return t(e).diff(t(n),i)},startOf:function(e,n,i){return e=t(e),"isoWeek"===n?e.isoWeekday(i).valueOf():e.startOf(n).valueOf()},endOf:function(e,n){return t(e).endOf(n).valueOf()},_create:function(e){return t(e)}}:{}),z._set("global",{plugins:{filler:{propagate:!0}}});var gi={dataset:function(t){var e=t.fill,n=t.chart,i=n.getDatasetMeta(e),a=i&&n.isDatasetVisible(e)&&i.dataset._children||[],r=a.length||0;return r?function(t,e){return e=n)&&i;switch(r){case"bottom":return"start";case"top":return"end";case"zero":return"origin";case"origin":case"start":case"end":return r;default:return!1}}function mi(t){return(t.el._scale||{}).getPointPositionForValue?function(t){var e,n,i,a,r,o=t.el._scale,s=o.options,l=o.chart.data.labels.length,u=t.fill,d=[];if(!l)return null;for(e=s.ticks.reverse?o.max:o.min,n=s.ticks.reverse?o.min:o.max,i=o.getPointPositionForValue(0,e),a=0;a0;--r)V.canvas.lineTo(t,n[r],n[r-1],!0);else for(o=n[0].cx,s=n[0].cy,l=Math.sqrt(Math.pow(n[0].x-o,2)+Math.pow(n[0].y-s,2)),r=a-1;r>0;--r)t.arc(o,s,l,n[r].angle,n[r-1].angle,!0)}}function _i(t,e,n,i,a,r){var o,s,l,u,d,h,c,f,g=e.length,p=i.spanGaps,m=[],v=[],b=0,x=0;for(t.beginPath(),o=0,s=g;o=0;--n)(e=l[n].$filler)&&e.visible&&(a=(i=e.el)._view,r=i._children||[],o=e.mapper,s=a.backgroundColor||z.global.defaultColor,o&&s&&r.length&&(V.canvas.clipArea(u,t.chartArea),_i(u,r,o,a,s,i._loop),V.canvas.unclipArea(u)))}},wi=V.rtl.getRtlAdapter,Mi=V.noop,Si=V.valueOrDefault;function Ci(t,e){return t.usePointStyle&&t.boxWidth>e?e:t.boxWidth}z._set("global",{legend:{display:!0,position:"top",align:"center",fullWidth:!0,reverse:!1,weight:1e3,onClick:function(t,e){var n=e.datasetIndex,i=this.chart,a=i.getDatasetMeta(n);a.hidden=null===a.hidden?!i.data.datasets[n].hidden:null,i.update()},onHover:null,onLeave:null,labels:{boxWidth:40,padding:10,generateLabels:function(t){var e=t.data.datasets,n=t.options.legend||{},i=n.labels&&n.labels.usePointStyle;return t._getSortedDatasetMetas().map((function(n){var a=n.controller.getStyle(i?0:void 0);return{text:e[n.index].label,fillStyle:a.backgroundColor,hidden:!t.isDatasetVisible(n.index),lineCap:a.borderCapStyle,lineDash:a.borderDash,lineDashOffset:a.borderDashOffset,lineJoin:a.borderJoinStyle,lineWidth:a.borderWidth,strokeStyle:a.borderColor,pointStyle:a.pointStyle,rotation:a.rotation,datasetIndex:n.index}}),this)}}},legendCallback:function(t){var e,n,i,a=document.createElement("ul"),r=t.data.datasets;for(a.setAttribute("class",t.id+"-legend"),e=0,n=r.length;el.width)&&(h+=o+n.padding,d[d.length-(e>0?0:1)]=0),s[e]={left:0,top:0,width:i,height:o},d[d.length-1]+=i+n.padding})),l.height+=h}else{var c=n.padding,f=t.columnWidths=[],g=t.columnHeights=[],p=n.padding,m=0,v=0;V.each(t.legendItems,(function(t,e){var i=Ci(n,o)+o/2+a.measureText(t.text).width;e>0&&v+o+2*c>l.height&&(p+=m+n.padding,f.push(m),g.push(v),m=0,v=0),m=Math.max(m,i),v+=o+c,s[e]={left:0,top:0,width:i,height:o}})),p+=m,f.push(m),g.push(v),l.width+=p}t.width=l.width,t.height=l.height}else t.width=l.width=t.height=l.height=0},afterFit:Mi,isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},draw:function(){var t=this,e=t.options,n=e.labels,i=z.global,a=i.defaultColor,r=i.elements.line,o=t.height,s=t.columnHeights,l=t.width,u=t.lineWidths;if(e.display){var d,h=wi(e.rtl,t.left,t.minSize.width),c=t.ctx,f=Si(n.fontColor,i.defaultFontColor),g=V.options._parseFont(n),p=g.size;c.textAlign=h.textAlign("left"),c.textBaseline="middle",c.lineWidth=.5,c.strokeStyle=f,c.fillStyle=f,c.font=g.string;var m=Ci(n,p),v=t.legendHitBoxes,b=function(t,i){switch(e.align){case"start":return n.padding;case"end":return t-i;default:return(t-i+n.padding)/2}},x=t.isHorizontal();d=x?{x:t.left+b(l,u[0]),y:t.top+n.padding,line:0}:{x:t.left+n.padding,y:t.top+b(o,s[0]),line:0},V.rtl.overrideTextDirection(t.ctx,e.textDirection);var y=p+n.padding;V.each(t.legendItems,(function(e,i){var f=c.measureText(e.text).width,g=m+p/2+f,_=d.x,k=d.y;h.setWidth(t.minSize.width),x?i>0&&_+g+n.padding>t.left+t.minSize.width&&(k=d.y+=y,d.line++,_=d.x=t.left+b(l,u[d.line])):i>0&&k+y>t.top+t.minSize.height&&(_=d.x=_+t.columnWidths[d.line]+n.padding,d.line++,k=d.y=t.top+b(o,s[d.line]));var w=h.x(_);!function(t,e,i){if(!(isNaN(m)||m<=0)){c.save();var o=Si(i.lineWidth,r.borderWidth);if(c.fillStyle=Si(i.fillStyle,a),c.lineCap=Si(i.lineCap,r.borderCapStyle),c.lineDashOffset=Si(i.lineDashOffset,r.borderDashOffset),c.lineJoin=Si(i.lineJoin,r.borderJoinStyle),c.lineWidth=o,c.strokeStyle=Si(i.strokeStyle,a),c.setLineDash&&c.setLineDash(Si(i.lineDash,r.borderDash)),n&&n.usePointStyle){var s=m*Math.SQRT2/2,l=h.xPlus(t,m/2),u=e+p/2;V.canvas.drawPoint(c,i.pointStyle,s,l,u,i.rotation)}else c.fillRect(h.leftForLtr(t,m),e,m,p),0!==o&&c.strokeRect(h.leftForLtr(t,m),e,m,p);c.restore()}}(w,k,e),v[i].left=h.leftForLtr(w,v[i].width),v[i].top=k,function(t,e,n,i){var a=p/2,r=h.xPlus(t,m+a),o=e+a;c.fillText(n.text,r,o),n.hidden&&(c.beginPath(),c.lineWidth=2,c.moveTo(r,o),c.lineTo(h.xPlus(r,i),o),c.stroke())}(w,k,e,f),x?d.x+=g+n.padding:d.y+=y})),V.rtl.restoreTextDirection(t.ctx,e.textDirection)}},_getLegendItemAt:function(t,e){var n,i,a,r=this;if(t>=r.left&&t<=r.right&&e>=r.top&&e<=r.bottom)for(a=r.legendHitBoxes,n=0;n=(i=a[n]).left&&t<=i.left+i.width&&e>=i.top&&e<=i.top+i.height)return r.legendItems[n];return null},handleEvent:function(t){var e,n=this,i=n.options,a="mouseup"===t.type?"click":t.type;if("mousemove"===a){if(!i.onHover&&!i.onLeave)return}else{if("click"!==a)return;if(!i.onClick)return}e=n._getLegendItemAt(t.x,t.y),"click"===a?e&&i.onClick&&i.onClick.call(n,t.native,e):(i.onLeave&&e!==n._hoveredItem&&(n._hoveredItem&&i.onLeave.call(n,t.native,n._hoveredItem),n._hoveredItem=e),i.onHover&&e&&i.onHover.call(n,t.native,e))}});function Ai(t,e){var n=new Pi({ctx:t.ctx,options:e,chart:t});ge.configure(t,n,e),ge.addBox(t,n),t.legend=n}var Di={id:"legend",_element:Pi,beforeInit:function(t){var e=t.options.legend;e&&Ai(t,e)},beforeUpdate:function(t){var e=t.options.legend,n=t.legend;e?(V.mergeIf(e,z.global.legend),n?(ge.configure(t,n,e),n.options=e):Ai(t,e)):n&&(ge.removeBox(t,n),delete t.legend)},afterEvent:function(t,e){var n=t.legend;n&&n.handleEvent(e)}},Ti=V.noop;z._set("global",{title:{display:!1,fontStyle:"bold",fullWidth:!0,padding:10,position:"top",text:"",weight:2e3}});var Ii=X.extend({initialize:function(t){V.extend(this,t),this.legendHitBoxes=[]},beforeUpdate:Ti,update:function(t,e,n){var i=this;return i.beforeUpdate(),i.maxWidth=t,i.maxHeight=e,i.margins=n,i.beforeSetDimensions(),i.setDimensions(),i.afterSetDimensions(),i.beforeBuildLabels(),i.buildLabels(),i.afterBuildLabels(),i.beforeFit(),i.fit(),i.afterFit(),i.afterUpdate(),i.minSize},afterUpdate:Ti,beforeSetDimensions:Ti,setDimensions:function(){var t=this;t.isHorizontal()?(t.width=t.maxWidth,t.left=0,t.right=t.width):(t.height=t.maxHeight,t.top=0,t.bottom=t.height),t.paddingLeft=0,t.paddingTop=0,t.paddingRight=0,t.paddingBottom=0,t.minSize={width:0,height:0}},afterSetDimensions:Ti,beforeBuildLabels:Ti,buildLabels:Ti,afterBuildLabels:Ti,beforeFit:Ti,fit:function(){var t,e=this,n=e.options,i=e.minSize={},a=e.isHorizontal();n.display?(t=(V.isArray(n.text)?n.text.length:1)*V.options._parseFont(n).lineHeight+2*n.padding,e.width=i.width=a?e.maxWidth:t,e.height=i.height=a?t:e.maxHeight):e.width=i.width=e.height=i.height=0},afterFit:Ti,isHorizontal:function(){var t=this.options.position;return"top"===t||"bottom"===t},draw:function(){var t=this,e=t.ctx,n=t.options;if(n.display){var i,a,r,o=V.options._parseFont(n),s=o.lineHeight,l=s/2+n.padding,u=0,d=t.top,h=t.left,c=t.bottom,f=t.right;e.fillStyle=V.valueOrDefault(n.fontColor,z.global.defaultFontColor),e.font=o.string,t.isHorizontal()?(a=h+(f-h)/2,r=d+l,i=f-h):(a="left"===n.position?h+l:f-l,r=d+(c-d)/2,i=c-d,u=Math.PI*("left"===n.position?-.5:.5)),e.save(),e.translate(a,r),e.rotate(u),e.textAlign="center",e.textBaseline="middle";var g=n.text;if(V.isArray(g))for(var p=0,m=0;m=0;i--){var a=t[i];if(e(a))return a}},V.isNumber=function(t){return!isNaN(parseFloat(t))&&isFinite(t)},V.almostEquals=function(t,e,n){return Math.abs(t-e)=t},V.max=function(t){return t.reduce((function(t,e){return isNaN(e)?t:Math.max(t,e)}),Number.NEGATIVE_INFINITY)},V.min=function(t){return t.reduce((function(t,e){return isNaN(e)?t:Math.min(t,e)}),Number.POSITIVE_INFINITY)},V.sign=Math.sign?function(t){return Math.sign(t)}:function(t){return 0===(t=+t)||isNaN(t)?t:t>0?1:-1},V.toRadians=function(t){return t*(Math.PI/180)},V.toDegrees=function(t){return t*(180/Math.PI)},V._decimalPlaces=function(t){if(V.isFinite(t)){for(var e=1,n=0;Math.round(t*e)/e!==t;)e*=10,n++;return n}},V.getAngleFromPoint=function(t,e){var n=e.x-t.x,i=e.y-t.y,a=Math.sqrt(n*n+i*i),r=Math.atan2(i,n);return r<-.5*Math.PI&&(r+=2*Math.PI),{angle:r,distance:a}},V.distanceBetweenPoints=function(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))},V.aliasPixel=function(t){return t%2==0?0:.5},V._alignPixel=function(t,e,n){var i=t.currentDevicePixelRatio,a=n/2;return Math.round((e-a)*i)/i+a},V.splineCurve=function(t,e,n,i){var a=t.skip?e:t,r=e,o=n.skip?e:n,s=Math.sqrt(Math.pow(r.x-a.x,2)+Math.pow(r.y-a.y,2)),l=Math.sqrt(Math.pow(o.x-r.x,2)+Math.pow(o.y-r.y,2)),u=s/(s+l),d=l/(s+l),h=i*(u=isNaN(u)?0:u),c=i*(d=isNaN(d)?0:d);return{previous:{x:r.x-h*(o.x-a.x),y:r.y-h*(o.y-a.y)},next:{x:r.x+c*(o.x-a.x),y:r.y+c*(o.y-a.y)}}},V.EPSILON=Number.EPSILON||1e-14,V.splineCurveMonotone=function(t){var e,n,i,a,r,o,s,l,u,d=(t||[]).map((function(t){return{model:t._model,deltaK:0,mK:0}})),h=d.length;for(e=0;e0?d[e-1]:null,(a=e0?d[e-1]:null,a=e=t.length-1?t[0]:t[e+1]:e>=t.length-1?t[t.length-1]:t[e+1]},V.previousItem=function(t,e,n){return n?e<=0?t[t.length-1]:t[e-1]:e<=0?t[0]:t[e-1]},V.niceNum=function(t,e){var n=Math.floor(V.log10(t)),i=t/Math.pow(10,n);return(e?i<1.5?1:i<3?2:i<7?5:10:i<=1?1:i<=2?2:i<=5?5:10)*Math.pow(10,n)},V.requestAnimFrame="undefined"==typeof window?function(t){t()}:window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(t){return window.setTimeout(t,1e3/60)},V.getRelativePosition=function(t,e){var n,i,a=t.originalEvent||t,r=t.target||t.srcElement,o=r.getBoundingClientRect(),s=a.touches;s&&s.length>0?(n=s[0].clientX,i=s[0].clientY):(n=a.clientX,i=a.clientY);var l=parseFloat(V.getStyle(r,"padding-left")),u=parseFloat(V.getStyle(r,"padding-top")),d=parseFloat(V.getStyle(r,"padding-right")),h=parseFloat(V.getStyle(r,"padding-bottom")),c=o.right-o.left-l-d,f=o.bottom-o.top-u-h;return{x:n=Math.round((n-o.left-l)/c*r.width/e.currentDevicePixelRatio),y:i=Math.round((i-o.top-u)/f*r.height/e.currentDevicePixelRatio)}},V.getConstraintWidth=function(t){return n(t,"max-width","clientWidth")},V.getConstraintHeight=function(t){return n(t,"max-height","clientHeight")},V._calculatePadding=function(t,e,n){return(e=V.getStyle(t,e)).indexOf("%")>-1?n*parseInt(e,10)/100:parseInt(e,10)},V._getParentNode=function(t){var e=t.parentNode;return e&&"[object ShadowRoot]"===e.toString()&&(e=e.host),e},V.getMaximumWidth=function(t){var e=V._getParentNode(t);if(!e)return t.clientWidth;var n=e.clientWidth,i=n-V._calculatePadding(e,"padding-left",n)-V._calculatePadding(e,"padding-right",n),a=V.getConstraintWidth(t);return isNaN(a)?i:Math.min(i,a)},V.getMaximumHeight=function(t){var e=V._getParentNode(t);if(!e)return t.clientHeight;var n=e.clientHeight,i=n-V._calculatePadding(e,"padding-top",n)-V._calculatePadding(e,"padding-bottom",n),a=V.getConstraintHeight(t);return isNaN(a)?i:Math.min(i,a)},V.getStyle=function(t,e){return t.currentStyle?t.currentStyle[e]:document.defaultView.getComputedStyle(t,null).getPropertyValue(e)},V.retinaScale=function(t,e){var n=t.currentDevicePixelRatio=e||"undefined"!=typeof window&&window.devicePixelRatio||1;if(1!==n){var i=t.canvas,a=t.height,r=t.width;i.height=a*n,i.width=r*n,t.ctx.scale(n,n),i.style.height||i.style.width||(i.style.height=a+"px",i.style.width=r+"px")}},V.fontString=function(t,e,n){return e+" "+t+"px "+n},V.longestText=function(t,e,n,i){var a=(i=i||{}).data=i.data||{},r=i.garbageCollect=i.garbageCollect||[];i.font!==e&&(a=i.data={},r=i.garbageCollect=[],i.font=e),t.font=e;var o,s,l,u,d,h=0,c=n.length;for(o=0;on.length){for(o=0;oi&&(i=r),i},V.numberOfLabelLines=function(t){var e=1;return V.each(t,(function(t){V.isArray(t)&&t.length>e&&(e=t.length)})),e},V.color=k?function(t){return t instanceof CanvasGradient&&(t=z.global.defaultColor),k(t)}:function(t){return console.error("Color.js not found!"),t},V.getHoverColor=function(t){return t instanceof CanvasPattern||t instanceof CanvasGradient?t:V.color(t).saturate(.5).darken(.1).rgbString()}}(),tn._adapters=an,tn.Animation=Z,tn.animationService=$,tn.controllers=$t,tn.DatasetController=nt,tn.defaults=z,tn.Element=X,tn.elements=_t,tn.Interaction=ae,tn.layouts=ge,tn.platform=Fe,tn.plugins=Le,tn.Scale=xn,tn.scaleService=Oe,tn.Ticks=rn,tn.Tooltip=Ue,tn.helpers.each(ci,(function(t,e){tn.scaleService.registerScaleType(e,t,t._defaults)})),Li)Li.hasOwnProperty(Ni)&&tn.plugins.register(Li[Ni]);tn.platform.initialize();var Bi=tn;return"undefined"!=typeof window&&(window.Chart=tn),tn.Chart=tn,tn.Legend=Li.legend._element,tn.Title=Li.title._element,tn.pluginService=tn.plugins,tn.PluginBase=tn.Element.extend({}),tn.canvasHelpers=tn.helpers.canvas,tn.layoutService=tn.layouts,tn.LinearScaleBase=Sn,tn.helpers.each(["Bar","Bubble","Doughnut","Line","PolarArea","Radar","Scatter"],(function(t){tn[t]=function(e,n){return new tn(e,tn.helpers.merge(n||{},{type:t.charAt(0).toLowerCase()+t.slice(1)}))}})),Bi})); diff --git a/applications/emocam/js/face_landmarker.task b/applications/emocam/js/face_landmarker.task deleted file mode 100644 index c50c845..0000000 Binary files a/applications/emocam/js/face_landmarker.task and /dev/null differ diff --git a/applications/emocam/js/material-components-web.min.js b/applications/emocam/js/material-components-web.min.js deleted file mode 100644 index bff6597..0000000 --- a/applications/emocam/js/material-components-web.min.js +++ /dev/null @@ -1 +0,0 @@ -!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define("material-components-web",[],e):"object"==typeof exports?exports.mdc=e():t.mdc=e()}(this,function(){return i={},r.m=n=[function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MDCFoundation=void 0;var i=(Object.defineProperty(r,"cssClasses",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(r,"strings",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(r,"numbers",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(r,"defaultAdapter",{get:function(){return{}},enumerable:!1,configurable:!0}),r.prototype.init=function(){},r.prototype.destroy=function(){},r);function r(t){void 0===t&&(t={}),this.adapter=t}e.MDCFoundation=i,e.default=i},function(t,e,n){"use strict";var r=this&&this.__read||function(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var i,r,o=n.call(t),s=[];try{for(;(void 0===e||0=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(e,"__esModule",{value:!0}),e.MDCRippleFoundation=void 0;var a,c=n(0),u=n(47),l=n(19),d=["touchstart","pointerdown","mousedown","keydown"],p=["touchend","pointerup","mouseup","contextmenu"],h=[],f=(a=c.MDCFoundation,r(y,a),Object.defineProperty(y,"cssClasses",{get:function(){return u.cssClasses},enumerable:!1,configurable:!0}),Object.defineProperty(y,"strings",{get:function(){return u.strings},enumerable:!1,configurable:!0}),Object.defineProperty(y,"numbers",{get:function(){return u.numbers},enumerable:!1,configurable:!0}),Object.defineProperty(y,"defaultAdapter",{get:function(){return{addClass:function(){},browserSupportsCssVars:function(){return!0},computeBoundingRect:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},containsEventTarget:function(){return!0},deregisterDocumentInteractionHandler:function(){},deregisterInteractionHandler:function(){},deregisterResizeHandler:function(){},getWindowPageOffset:function(){return{x:0,y:0}},isSurfaceActive:function(){return!0},isSurfaceDisabled:function(){return!0},isUnbounded:function(){return!0},registerDocumentInteractionHandler:function(){},registerInteractionHandler:function(){},registerResizeHandler:function(){},removeClass:function(){},updateCssVariable:function(){}}},enumerable:!1,configurable:!0}),y.prototype.init=function(){var t=this,e=this.supportsPressRipple();if(this.registerRootHandlers(e),e){var n=y.cssClasses,i=n.ROOT,r=n.UNBOUNDED;requestAnimationFrame(function(){t.adapter.addClass(i),t.adapter.isUnbounded()&&(t.adapter.addClass(r),t.layoutInternal())})}},y.prototype.destroy=function(){var t=this;if(this.supportsPressRipple()){this.activationTimer&&(clearTimeout(this.activationTimer),this.activationTimer=0,this.adapter.removeClass(y.cssClasses.FG_ACTIVATION)),this.fgDeactivationRemovalTimer&&(clearTimeout(this.fgDeactivationRemovalTimer),this.fgDeactivationRemovalTimer=0,this.adapter.removeClass(y.cssClasses.FG_DEACTIVATION));var e=y.cssClasses,n=e.ROOT,i=e.UNBOUNDED;requestAnimationFrame(function(){t.adapter.removeClass(n),t.adapter.removeClass(i),t.removeCssVars()})}this.deregisterRootHandlers(),this.deregisterDeactivationHandlers()},y.prototype.activate=function(t){this.activateImpl(t)},y.prototype.deactivate=function(){this.deactivateImpl()},y.prototype.layout=function(){var t=this;this.layoutFrame&&cancelAnimationFrame(this.layoutFrame),this.layoutFrame=requestAnimationFrame(function(){t.layoutInternal(),t.layoutFrame=0})},y.prototype.setUnbounded=function(t){var e=y.cssClasses.UNBOUNDED;t?this.adapter.addClass(e):this.adapter.removeClass(e)},y.prototype.handleFocus=function(){var t=this;requestAnimationFrame(function(){return t.adapter.addClass(y.cssClasses.BG_FOCUSED)})},y.prototype.handleBlur=function(){var t=this;requestAnimationFrame(function(){return t.adapter.removeClass(y.cssClasses.BG_FOCUSED)})},y.prototype.supportsPressRipple=function(){return this.adapter.browserSupportsCssVars()},y.prototype.defaultActivationState=function(){return{activationEvent:void 0,hasDeactivationUXRun:!1,isActivated:!1,isProgrammatic:!1,wasActivatedByPointer:!1,wasElementMadeActive:!1}},y.prototype.registerRootHandlers=function(t){var e,n;if(t){try{for(var i=s(d),r=i.next();!r.done;r=i.next()){var o=r.value;this.adapter.registerInteractionHandler(o,this.activateHandler)}}catch(t){e={error:t}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}this.adapter.isUnbounded()&&this.adapter.registerResizeHandler(this.resizeHandler)}this.adapter.registerInteractionHandler("focus",this.focusHandler),this.adapter.registerInteractionHandler("blur",this.blurHandler)},y.prototype.registerDeactivationHandlers=function(t){var e,n;if("keydown"===t.type)this.adapter.registerInteractionHandler("keyup",this.deactivateHandler);else try{for(var i=s(p),r=i.next();!r.done;r=i.next()){var o=r.value;this.adapter.registerDocumentInteractionHandler(o,this.deactivateHandler)}}catch(t){e={error:t}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}},y.prototype.deregisterRootHandlers=function(){var e,t;try{for(var n=s(d),i=n.next();!i.done;i=n.next()){var r=i.value;this.adapter.deregisterInteractionHandler(r,this.activateHandler)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}this.adapter.deregisterInteractionHandler("focus",this.focusHandler),this.adapter.deregisterInteractionHandler("blur",this.blurHandler),this.adapter.isUnbounded()&&this.adapter.deregisterResizeHandler(this.resizeHandler)},y.prototype.deregisterDeactivationHandlers=function(){var e,t;this.adapter.deregisterInteractionHandler("keyup",this.deactivateHandler);try{for(var n=s(p),i=n.next();!i.done;i=n.next()){var r=i.value;this.adapter.deregisterDocumentInteractionHandler(r,this.deactivateHandler)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}},y.prototype.removeCssVars=function(){var e=this,n=y.strings;Object.keys(n).forEach(function(t){0===t.indexOf("VAR_")&&e.adapter.updateCssVariable(n[t],null)})},y.prototype.activateImpl=function(t){var e=this;if(!this.adapter.isSurfaceDisabled()){var n=this.activationState;if(!n.isActivated){var i=this.previousActivationEvent;i&&void 0!==t&&i.type!==t.type||(n.isActivated=!0,n.isProgrammatic=void 0===t,n.activationEvent=t,n.wasActivatedByPointer=!n.isProgrammatic&&void 0!==t&&("mousedown"===t.type||"touchstart"===t.type||"pointerdown"===t.type),void 0!==t&&0=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(e,"__esModule",{value:!0}),e.MDCMenuSurfaceFoundation=void 0;var s,a=n(0),E=n(8),c=(s=a.MDCFoundation,r(g,s),Object.defineProperty(g,"cssClasses",{get:function(){return E.cssClasses},enumerable:!1,configurable:!0}),Object.defineProperty(g,"strings",{get:function(){return E.strings},enumerable:!1,configurable:!0}),Object.defineProperty(g,"numbers",{get:function(){return E.numbers},enumerable:!1,configurable:!0}),Object.defineProperty(g,"Corner",{get:function(){return E.Corner},enumerable:!1,configurable:!0}),Object.defineProperty(g,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!1},hasAnchor:function(){return!1},isElementInContainer:function(){return!1},isFocused:function(){return!1},isRtl:function(){return!1},getInnerDimensions:function(){return{height:0,width:0}},getAnchorDimensions:function(){return null},getWindowDimensions:function(){return{height:0,width:0}},getBodyDimensions:function(){return{height:0,width:0}},getWindowScroll:function(){return{x:0,y:0}},setPosition:function(){},setMaxHeight:function(){},setTransformOrigin:function(){},saveFocus:function(){},restoreFocus:function(){},notifyClose:function(){},notifyClosing:function(){},notifyOpen:function(){},notifyOpening:function(){}}},enumerable:!1,configurable:!0}),g.prototype.init=function(){var t=g.cssClasses,e=t.ROOT,n=t.OPEN;if(!this.adapter.hasClass(e))throw new Error(e+" class required in root element.");this.adapter.hasClass(n)&&(this.isSurfaceOpen=!0)},g.prototype.destroy=function(){clearTimeout(this.openAnimationEndTimerId),clearTimeout(this.closeAnimationEndTimerId),cancelAnimationFrame(this.animationRequestId)},g.prototype.setAnchorCorner=function(t){this.anchorCorner=t},g.prototype.flipCornerHorizontally=function(){this.originCorner=this.originCorner^E.CornerBit.RIGHT},g.prototype.setAnchorMargin=function(t){this.anchorMargin.top=t.top||0,this.anchorMargin.right=t.right||0,this.anchorMargin.bottom=t.bottom||0,this.anchorMargin.left=t.left||0},g.prototype.setIsHoisted=function(t){this.isHoistedElement=t},g.prototype.setFixedPosition=function(t){this.isFixedPosition=t},g.prototype.isFixed=function(){return this.isFixedPosition},g.prototype.setAbsolutePosition=function(t,e){this.position.x=this.isFinite(t)?t:0,this.position.y=this.isFinite(e)?e:0},g.prototype.setIsHorizontallyCenteredOnViewport=function(t){this.isHorizontallyCenteredOnViewport=t},g.prototype.setQuickOpen=function(t){this.isQuickOpen=t},g.prototype.setMaxHeight=function(t){this.maxHeight=t},g.prototype.setOpenBottomBias=function(t){this.openBottomBias=t},g.prototype.isOpen=function(){return this.isSurfaceOpen},g.prototype.open=function(){var t=this;this.isSurfaceOpen||(this.adapter.notifyOpening(),this.adapter.saveFocus(),this.isQuickOpen?(this.isSurfaceOpen=!0,this.adapter.addClass(g.cssClasses.OPEN),this.dimensions=this.adapter.getInnerDimensions(),this.autoposition(),this.adapter.notifyOpen()):(this.adapter.addClass(g.cssClasses.ANIMATING_OPEN),this.animationRequestId=requestAnimationFrame(function(){t.dimensions=t.adapter.getInnerDimensions(),t.autoposition(),t.adapter.addClass(g.cssClasses.OPEN),t.openAnimationEndTimerId=setTimeout(function(){t.openAnimationEndTimerId=0,t.adapter.removeClass(g.cssClasses.ANIMATING_OPEN),t.adapter.notifyOpen()},E.numbers.TRANSITION_OPEN_DURATION)}),this.isSurfaceOpen=!0))},g.prototype.close=function(t){var e=this;if(void 0===t&&(t=!1),this.isSurfaceOpen){if(this.adapter.notifyClosing(),this.isQuickOpen)return this.isSurfaceOpen=!1,t||this.maybeRestoreFocus(),this.adapter.removeClass(g.cssClasses.OPEN),this.adapter.removeClass(g.cssClasses.IS_OPEN_BELOW),void this.adapter.notifyClose();this.adapter.addClass(g.cssClasses.ANIMATING_CLOSED),requestAnimationFrame(function(){e.adapter.removeClass(g.cssClasses.OPEN),e.adapter.removeClass(g.cssClasses.IS_OPEN_BELOW),e.closeAnimationEndTimerId=setTimeout(function(){e.closeAnimationEndTimerId=0,e.adapter.removeClass(g.cssClasses.ANIMATING_CLOSED),e.adapter.notifyClose()},E.numbers.TRANSITION_CLOSE_DURATION)}),this.isSurfaceOpen=!1,t||this.maybeRestoreFocus()}},g.prototype.handleBodyClick=function(t){var e=t.target;this.adapter.isElementInContainer(e)||this.close()},g.prototype.handleKeydown=function(t){var e=t.keyCode;"Escape"!==t.key&&27!==e||this.close()},g.prototype.autoposition=function(){var t;this.measurements=this.getAutoLayoutmeasurements();var e=this.getoriginCorner(),n=this.getMenuSurfaceMaxHeight(e),i=this.hasBit(e,E.CornerBit.BOTTOM)?"bottom":"top",r=this.hasBit(e,E.CornerBit.RIGHT)?"right":"left",o=this.getHorizontalOriginOffset(e),s=this.getVerticalOriginOffset(e),a=this.measurements,c=a.anchorSize,u=a.surfaceSize,l=((t={})[r]=o,t[i]=s,t);c.width/u.width>E.numbers.ANCHOR_TO_MENU_SURFACE_WIDTH_RATIO&&(r="center"),(this.isHoistedElement||this.isFixedPosition)&&this.adjustPositionForHoistedElement(l),this.adapter.setTransformOrigin(r+" "+i),this.adapter.setPosition(l),this.adapter.setMaxHeight(n?n+"px":""),this.hasBit(e,E.CornerBit.BOTTOM)||this.adapter.addClass(g.cssClasses.IS_OPEN_BELOW)},g.prototype.getAutoLayoutmeasurements=function(){var t=this.adapter.getAnchorDimensions(),e=this.adapter.getBodyDimensions(),n=this.adapter.getWindowDimensions(),i=this.adapter.getWindowScroll();return{anchorSize:t=t||{top:this.position.y,right:this.position.x,bottom:this.position.y,left:this.position.x,width:0,height:0},bodySize:e,surfaceSize:this.dimensions,viewportDistance:{top:t.top,right:n.width-t.right,bottom:n.height-t.bottom,left:t.left},viewportSize:n,windowScroll:i}},g.prototype.getoriginCorner=function(){var t,e,n=this.originCorner,i=this.measurements,r=i.viewportDistance,o=i.anchorSize,s=i.surfaceSize,a=g.numbers.MARGIN_TO_EDGE;!(0<(e=this.hasBit(this.anchorCorner,E.CornerBit.BOTTOM)?(t=r.top-a+this.anchorMargin.bottom,r.bottom-a-this.anchorMargin.bottom):(t=r.top-a+this.anchorMargin.top,r.bottom-a+o.height-this.anchorMargin.top))-s.height)&&t>e+this.openBottomBias&&(n=this.setBit(n,E.CornerBit.BOTTOM));var c,u,l=this.adapter.isRtl(),d=this.hasBit(this.anchorCorner,E.CornerBit.FLIP_RTL),p=this.hasBit(this.anchorCorner,E.CornerBit.RIGHT)||this.hasBit(n,E.CornerBit.RIGHT),h=!1;u=(h=l&&d?!p:p)?(c=r.left+o.width+this.anchorMargin.right,r.right-this.anchorMargin.right):(c=r.left+this.anchorMargin.left,r.right+o.width-this.anchorMargin.left);var f=0this.topAppBarHeight&&(this.currentAppBarOffsetTop=-this.topAppBarHeight),this.moveTopAppBar())},u.prototype.handleWindowResize=function(){var t=this;this.resizeThrottleId||(this.resizeThrottleId=setTimeout(function(){t.resizeThrottleId=0,t.throttledResizeHandler()},s.numbers.DEBOUNCE_THROTTLE_RESIZE_TIME_MS)),this.isCurrentlyBeingResized=!0,this.resizeDebounceId&&clearTimeout(this.resizeDebounceId),this.resizeDebounceId=setTimeout(function(){t.handleTargetScroll(),t.isCurrentlyBeingResized=!1,t.resizeDebounceId=0},s.numbers.DEBOUNCE_THROTTLE_RESIZE_TIME_MS)},u.prototype.checkForUpdate=function(){var t=-this.topAppBarHeight,e=this.currentAppBarOffsetTop<0,n=this.currentAppBarOffsetTop>t,i=e&&n;if(i)this.wasDocked=!1;else{if(!this.wasDocked)return this.wasDocked=!0;if(this.isDockedShowing!==n)return this.isDockedShowing=n,!0}return i},u.prototype.moveTopAppBar=function(){if(this.checkForUpdate()){var t=this.currentAppBarOffsetTop;Math.abs(t)>=this.topAppBarHeight&&(t=-s.numbers.MAX_TOP_APP_BAR_HEIGHT),this.adapter.setStyle("top",t+"px")}},u.prototype.throttledResizeHandler=function(){var t=this.adapter.getTopAppBarHeight();this.topAppBarHeight!==t&&(this.wasDocked=!1,this.currentAppBarOffsetTop-=this.topAppBarHeight-t,this.topAppBarHeight=t),this.handleTargetScroll()},u);function u(t){var e=o.call(this,t)||this;return e.wasDocked=!0,e.isDockedShowing=!0,e.currentAppBarOffsetTop=0,e.isCurrentlyBeingResized=!1,e.resizeThrottleId=0,e.resizeDebounceId=0,e.lastScrollPosition=e.adapter.getViewportScrollY(),e.topAppBarHeight=e.adapter.getTopAppBarHeight(),e}e.MDCTopAppBarFoundation=c,e.default=c},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=this&&this.__assign||function(){return(o=Object.assign||function(t){for(var e,n=1,i=arguments.length;n=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(e,"__esModule",{value:!0}),e.MDCCheckbox=void 0;var s,a=n(10),c=n(1),d=n(5),p=n(3),h=n(2),f=n(4),y=n(20),C=n(48),E=["checked","indeterminate"],g=(s=c.MDCComponent,r(_,s),_.attachTo=function(t){return new _(t)},Object.defineProperty(_.prototype,"ripple",{get:function(){return this.rippleSurface},enumerable:!1,configurable:!0}),Object.defineProperty(_.prototype,"checked",{get:function(){return this.getNativeControl().checked},set:function(t){this.getNativeControl().checked=t},enumerable:!1,configurable:!0}),Object.defineProperty(_.prototype,"indeterminate",{get:function(){return this.getNativeControl().indeterminate},set:function(t){this.getNativeControl().indeterminate=t},enumerable:!1,configurable:!0}),Object.defineProperty(_.prototype,"disabled",{get:function(){return this.getNativeControl().disabled},set:function(t){this.foundation.setDisabled(t)},enumerable:!1,configurable:!0}),Object.defineProperty(_.prototype,"value",{get:function(){return this.getNativeControl().value},set:function(t){this.getNativeControl().value=t},enumerable:!1,configurable:!0}),_.prototype.initialize=function(){var t=y.strings.DATA_INDETERMINATE_ATTR;this.getNativeControl().indeterminate="true"===this.getNativeControl().getAttribute(t),this.getNativeControl().removeAttribute(t)},_.prototype.initialSyncWithDOM=function(){var t=this;this.handleChange=function(){t.foundation.handleChange()},this.handleAnimationEnd=function(){t.foundation.handleAnimationEnd()},this.getNativeControl().addEventListener("change",this.handleChange),this.listen(a.getCorrectEventName(window,"animationend"),this.handleAnimationEnd),this.installPropertyChangeHooks()},_.prototype.destroy=function(){this.rippleSurface.destroy(),this.getNativeControl().removeEventListener("change",this.handleChange),this.unlisten(a.getCorrectEventName(window,"animationend"),this.handleAnimationEnd),this.uninstallPropertyChangeHooks(),s.prototype.destroy.call(this)},_.prototype.getDefaultFoundation=function(){var n=this,t={addClass:function(t){return n.root.classList.add(t)},forceLayout:function(){return n.root.offsetWidth},hasNativeControl:function(){return!!n.getNativeControl()},isAttachedToDOM:function(){return Boolean(n.root.parentNode)},isChecked:function(){return n.checked},isIndeterminate:function(){return n.indeterminate},removeClass:function(t){n.root.classList.remove(t)},removeNativeControlAttr:function(t){n.getNativeControl().removeAttribute(t)},setNativeControlAttr:function(t,e){n.getNativeControl().setAttribute(t,e)},setNativeControlDisabled:function(t){n.getNativeControl().disabled=t}};return new C.MDCCheckboxFoundation(t)},_.prototype.createRipple=function(){var n=this,t=o(o({},h.MDCRipple.createAdapter(this)),{deregisterInteractionHandler:function(t,e){n.getNativeControl().removeEventListener(t,e,d.applyPassive())},isSurfaceActive:function(){return p.matches(n.getNativeControl(),":active")},isUnbounded:function(){return!0},registerInteractionHandler:function(t,e){n.getNativeControl().addEventListener(t,e,d.applyPassive())}});return new h.MDCRipple(this.root,new f.MDCRippleFoundation(t))},_.prototype.installPropertyChangeHooks=function(){function t(t){var e=Object.getOwnPropertyDescriptor(s,t);if(!m(e))return{value:void 0};var n=e.get,i={configurable:e.configurable,enumerable:e.enumerable,get:n,set:function(t){e.set.call(o,t),r.foundation.handleChange()}};Object.defineProperty(o,t,i)}var e,n,r=this,o=this.getNativeControl(),s=Object.getPrototypeOf(o);try{for(var i=l(E),a=i.next();!a.done;a=i.next()){var c=t(a.value);if("object"===(void 0===c?"undefined":u(c)))return c.value}}catch(t){e={error:t}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}},_.prototype.uninstallPropertyChangeHooks=function(){var e,t,n=this.getNativeControl(),i=Object.getPrototypeOf(n);try{for(var r=l(E),o=r.next();!o.done;o=r.next()){var s=o.value,a=Object.getOwnPropertyDescriptor(i,s);if(!m(a))return;Object.defineProperty(n,s,a)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}},_.prototype.getNativeControl=function(){var t=y.strings.NATIVE_CONTROL_SELECTOR,e=this.root.querySelector(t);if(!e)throw new Error("Checkbox component requires a "+t+" element");return e},_);function _(){var t=null!==s&&s.apply(this,arguments)||this;return t.rippleSurface=t.createRipple(),t}function m(t){return!!t&&"function"==typeof t.set}e.MDCCheckbox=g},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.numbers=e.strings=e.cssClasses=void 0,e.cssClasses={BG_FOCUSED:"mdc-ripple-upgraded--background-focused",FG_ACTIVATION:"mdc-ripple-upgraded--foreground-activation",FG_DEACTIVATION:"mdc-ripple-upgraded--foreground-deactivation",ROOT:"mdc-ripple-upgraded",UNBOUNDED:"mdc-ripple-upgraded--unbounded"},e.strings={VAR_FG_SCALE:"--mdc-ripple-fg-scale",VAR_FG_SIZE:"--mdc-ripple-fg-size",VAR_FG_TRANSLATE_END:"--mdc-ripple-fg-translate-end",VAR_FG_TRANSLATE_START:"--mdc-ripple-fg-translate-start",VAR_LEFT:"--mdc-ripple-left",VAR_TOP:"--mdc-ripple-top"},e.numbers={DEACTIVATION_TIMEOUT_MS:225,FG_DEACTIVATION_MS:150,INITIAL_ORIGIN_SCALE:.6,PADDING:10,TAP_DELAY_MS:300}},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=this&&this.__assign||function(){return(o=Object.assign||function(t){for(var e,n=1,i=arguments.length;n=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(e,"__esModule",{value:!0}),e.MDCLinearProgressFoundation=void 0;var s,c=n(10),u=n(0),l=n(58),d=(s=u.MDCFoundation,r(p,s),Object.defineProperty(p,"cssClasses",{get:function(){return l.cssClasses},enumerable:!1,configurable:!0}),Object.defineProperty(p,"strings",{get:function(){return l.strings},enumerable:!1,configurable:!0}),Object.defineProperty(p,"defaultAdapter",{get:function(){return{addClass:function(){},attachResizeObserver:function(){return null},forceLayout:function(){},getWidth:function(){return 0},hasClass:function(){return!1},setBufferBarStyle:function(){return null},setPrimaryBarStyle:function(){return null},setStyle:function(){},removeAttribute:function(){},removeClass:function(){},setAttribute:function(){}}},enumerable:!1,configurable:!0}),p.prototype.init=function(){var s=this;this.determinate=!this.adapter.hasClass(l.cssClasses.INDETERMINATE_CLASS),this.adapter.addClass(l.cssClasses.ANIMATION_READY_CLASS),this.progress=0,this.buffer=1,this.observer=this.adapter.attachResizeObserver(function(t){var e,n;if(!s.determinate)try{for(var i=a(t),r=i.next();!r.done;r=i.next()){var o=r.value;o.contentRect&&s.calculateAndSetDimensions(o.contentRect.width)}}catch(t){e={error:t}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}}),!this.determinate&&this.observer&&this.calculateAndSetDimensions(this.adapter.getWidth())},p.prototype.setDeterminate=function(t){if(this.determinate=t,this.determinate)return this.adapter.removeClass(l.cssClasses.INDETERMINATE_CLASS),this.adapter.setAttribute(l.strings.ARIA_VALUENOW,this.progress.toString()),this.adapter.setAttribute(l.strings.ARIA_VALUEMAX,"1"),this.adapter.setAttribute(l.strings.ARIA_VALUEMIN,"0"),this.setPrimaryBarProgress(this.progress),void this.setBufferBarProgress(this.buffer);this.observer&&this.calculateAndSetDimensions(this.adapter.getWidth()),this.adapter.addClass(l.cssClasses.INDETERMINATE_CLASS),this.adapter.removeAttribute(l.strings.ARIA_VALUENOW),this.adapter.removeAttribute(l.strings.ARIA_VALUEMAX),this.adapter.removeAttribute(l.strings.ARIA_VALUEMIN),this.setPrimaryBarProgress(1),this.setBufferBarProgress(1)},p.prototype.isDeterminate=function(){return this.determinate},p.prototype.setProgress=function(t){this.progress=t,this.determinate&&(this.setPrimaryBarProgress(t),this.adapter.setAttribute(l.strings.ARIA_VALUENOW,t.toString()))},p.prototype.getProgress=function(){return this.progress},p.prototype.setBuffer=function(t){this.buffer=t,this.determinate&&this.setBufferBarProgress(t)},p.prototype.getBuffer=function(){return this.buffer},p.prototype.open=function(){this.adapter.removeClass(l.cssClasses.CLOSED_CLASS),this.adapter.removeClass(l.cssClasses.CLOSED_ANIMATION_OFF_CLASS),this.adapter.removeAttribute(l.strings.ARIA_HIDDEN)},p.prototype.close=function(){this.adapter.addClass(l.cssClasses.CLOSED_CLASS),this.adapter.setAttribute(l.strings.ARIA_HIDDEN,"true")},p.prototype.isClosed=function(){return this.adapter.hasClass(l.cssClasses.CLOSED_CLASS)},p.prototype.handleTransitionEnd=function(){this.adapter.hasClass(l.cssClasses.CLOSED_CLASS)&&this.adapter.addClass(l.cssClasses.CLOSED_ANIMATION_OFF_CLASS)},p.prototype.destroy=function(){s.prototype.destroy.call(this),this.observer&&this.observer.disconnect()},p.prototype.restartAnimation=function(){this.adapter.removeClass(l.cssClasses.ANIMATION_READY_CLASS),this.adapter.forceLayout(),this.adapter.addClass(l.cssClasses.ANIMATION_READY_CLASS)},p.prototype.setPrimaryBarProgress=function(t){var e="scaleX("+t+")",n="undefined"!=typeof window?c.getCorrectPropertyName(window,"transform"):"transform";this.adapter.setPrimaryBarStyle(n,e)},p.prototype.setBufferBarProgress=function(t){var e=100*t+"%";this.adapter.setBufferBarStyle(l.strings.FLEX_BASIS,e)},p.prototype.calculateAndSetDimensions=function(t){var e=t*l.animationDimensionPercentages.PRIMARY_HALF,n=t*l.animationDimensionPercentages.PRIMARY_FULL,i=t*l.animationDimensionPercentages.SECONDARY_QUARTER,r=t*l.animationDimensionPercentages.SECONDARY_HALF,o=t*l.animationDimensionPercentages.SECONDARY_FULL;this.adapter.setStyle("--mdc-linear-progress-primary-half",e+"px"),this.adapter.setStyle("--mdc-linear-progress-primary-half-neg",-e+"px"),this.adapter.setStyle("--mdc-linear-progress-primary-full",n+"px"),this.adapter.setStyle("--mdc-linear-progress-primary-full-neg",-n+"px"),this.adapter.setStyle("--mdc-linear-progress-secondary-quarter",i+"px"),this.adapter.setStyle("--mdc-linear-progress-secondary-quarter-neg",-i+"px"),this.adapter.setStyle("--mdc-linear-progress-secondary-half",r+"px"),this.adapter.setStyle("--mdc-linear-progress-secondary-half-neg",-r+"px"),this.adapter.setStyle("--mdc-linear-progress-secondary-full",o+"px"),this.adapter.setStyle("--mdc-linear-progress-secondary-full-neg",-o+"px"),this.restartAnimation()},p);function p(t){var e=s.call(this,o(o({},p.defaultAdapter),t))||this;return e.observer=null,e}e.MDCLinearProgressFoundation=d,e.default=d},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.animationDimensionPercentages=e.strings=e.cssClasses=void 0,e.cssClasses={CLOSED_CLASS:"mdc-linear-progress--closed",CLOSED_ANIMATION_OFF_CLASS:"mdc-linear-progress--closed-animation-off",INDETERMINATE_CLASS:"mdc-linear-progress--indeterminate",REVERSED_CLASS:"mdc-linear-progress--reversed",ANIMATION_READY_CLASS:"mdc-linear-progress--animation-ready"},e.strings={ARIA_HIDDEN:"aria-hidden",ARIA_VALUEMAX:"aria-valuemax",ARIA_VALUEMIN:"aria-valuemin",ARIA_VALUENOW:"aria-valuenow",BUFFER_BAR_SELECTOR:".mdc-linear-progress__buffer-bar",FLEX_BASIS:"flex-basis",PRIMARY_BAR_SELECTOR:".mdc-linear-progress__primary-bar"},e.animationDimensionPercentages={PRIMARY_HALF:.8367142,PRIMARY_FULL:2.00611057,SECONDARY_QUARTER:.37651913,SECONDARY_HALF:.84386165,SECONDARY_FULL:1.60277782}},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=this&&this.__assign||function(){return(o=Object.assign||function(t){for(var e,n=1,i=arguments.length;ns[0]&&e[1]t.offsetHeight},e.isScrollAtTop=function(t){return!!t&&0===t.scrollTop},e.isScrollAtBottom=function(t){return!!t&&Math.ceil(t.scrollHeight-t.scrollTop)===t.clientHeight},e.areTopsMisaligned=function(t){var e=new Set;return[].forEach.call(t,function(t){return e.add(t.offsetTop)}),1 label"}},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=this&&this.__assign||function(){return(o=Object.assign||function(t){for(var e,n=1,i=arguments.length;n=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(e,"__esModule",{value:!0}),e.MDCSegmentedButtonFoundation=void 0;var a,c=n(0),u=n(81),l=(a=c.MDCFoundation,r(d,a),Object.defineProperty(d,"defaultAdapter",{get:function(){return{hasClass:function(){return!1},getSegments:function(){return[]},selectSegment:function(){},unselectSegment:function(){},notifySelectedChange:function(){}}},enumerable:!1,configurable:!0}),d.prototype.selectSegment=function(t){this.adapter.selectSegment(t)},d.prototype.unselectSegment=function(t){this.adapter.unselectSegment(t)},d.prototype.getSelectedSegments=function(){return this.adapter.getSegments().filter(function(t){return t.selected})},d.prototype.isSegmentSelected=function(e){return this.adapter.getSegments().some(function(t){return(t.index===e||t.segmentId===e)&&t.selected})},d.prototype.isSingleSelect=function(){return this.adapter.hasClass(u.cssClasses.SINGLE_SELECT)},d.prototype.handleSelected=function(t){this.isSingleSelect()&&this.unselectPrevSelected(t.index),this.adapter.notifySelectedChange(t)},d.prototype.unselectPrevSelected=function(t){var e,n;try{for(var i=s(this.getSelectedSegments()),r=i.next();!r.done;r=i.next()){var o=r.value;o.index!==t&&this.unselectSegment(o.index)}}catch(t){e={error:t}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}},d);function d(t){return a.call(this,o(o({},d.defaultAdapter),t))||this}e.MDCSegmentedButtonFoundation=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.cssClasses=e.events=e.selectors=void 0,e.selectors={SEGMENT:".mdc-segmented-button__segment"},e.events={SELECTED:"selected",CHANGE:"change"},e.cssClasses={SINGLE_SELECT:"mdc-segmented-button--single-select"}},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=this&&this.__assign||function(){return(o=Object.assign||function(t){for(var e,n=1,i=arguments.length;n=this.adapter.getMenuItemCount()||(t===l.numbers.UNSET_INDEX?this.adapter.setSelectedText(""):this.adapter.setSelectedText(this.adapter.getMenuItemTextAtIndex(t).trim()),this.adapter.setSelectedIndex(t),e&&this.adapter.closeMenu(),n||this.lastSelectedIndex===t||this.handleChange(),this.lastSelectedIndex=t)},p.prototype.setValue=function(t,e){void 0===e&&(e=!1);var n=this.adapter.getMenuItemValues().indexOf(t);this.setSelectedIndex(n,!1,e)},p.prototype.getValue=function(){var t=this.adapter.getSelectedIndex(),e=this.adapter.getMenuItemValues();return t!==l.numbers.UNSET_INDEX?e[t]:""},p.prototype.getDisabled=function(){return this.disabled},p.prototype.setDisabled=function(t){this.disabled=t,this.disabled?(this.adapter.addClass(l.cssClasses.DISABLED),this.adapter.closeMenu()):this.adapter.removeClass(l.cssClasses.DISABLED),this.leadingIcon&&this.leadingIcon.setDisabled(this.disabled),this.disabled?this.adapter.removeSelectAnchorAttr("tabindex"):this.adapter.setSelectAnchorAttr("tabindex","0"),this.adapter.setSelectAnchorAttr("aria-disabled",this.disabled.toString())},p.prototype.openMenu=function(){this.adapter.addClass(l.cssClasses.ACTIVATED),this.adapter.openMenu(),this.isMenuOpen=!0,this.adapter.setSelectAnchorAttr("aria-expanded","true")},p.prototype.setHelperTextContent=function(t){this.helperText&&this.helperText.setContent(t)},p.prototype.layout=function(){if(this.adapter.hasLabel()){var t=0=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(e,"__esModule",{value:!0}),e.MDCSelectIconFoundation=void 0;var a,c=n(0),u=n(91),l=["click","keydown"],d=(a=c.MDCFoundation,r(p,a),Object.defineProperty(p,"strings",{get:function(){return u.strings},enumerable:!1,configurable:!0}),Object.defineProperty(p,"defaultAdapter",{get:function(){return{getAttr:function(){return null},setAttr:function(){},removeAttr:function(){},setContent:function(){},registerInteractionHandler:function(){},deregisterInteractionHandler:function(){},notifyIconAction:function(){}}},enumerable:!1,configurable:!0}),p.prototype.init=function(){var e,t;this.savedTabIndex=this.adapter.getAttr("tabindex");try{for(var n=s(l),i=n.next();!i.done;i=n.next()){var r=i.value;this.adapter.registerInteractionHandler(r,this.interactionHandler)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}},p.prototype.destroy=function(){var e,t;try{for(var n=s(l),i=n.next();!i.done;i=n.next()){var r=i.value;this.adapter.deregisterInteractionHandler(r,this.interactionHandler)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}},p.prototype.setDisabled=function(t){this.savedTabIndex&&(t?(this.adapter.setAttr("tabindex","-1"),this.adapter.removeAttr("role")):(this.adapter.setAttr("tabindex",this.savedTabIndex),this.adapter.setAttr("role",u.strings.ICON_ROLE)))},p.prototype.setAriaLabel=function(t){this.adapter.setAttr("aria-label",t)},p.prototype.setContent=function(t){this.adapter.setContent(t)},p.prototype.handleInteraction=function(t){var e="Enter"===t.key||13===t.keyCode;"click"!==t.type&&!e||this.adapter.notifyIconAction()},p);function p(t){var e=a.call(this,o(o({},p.defaultAdapter),t))||this;return e.savedTabIndex=null,e.interactionHandler=function(t){e.handleInteraction(t)},e}e.MDCSelectIconFoundation=d,e.default=d},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.strings=void 0;e.strings={ICON_EVENT:"MDCSelect:icon",ICON_ROLE:"button"}},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=this&&this.__assign||function(){return(o=Object.assign||function(t){for(var e,n=1,i=arguments.length;n= start thumb value ("+this.valueStart+") + min range ("+this.minRange+")");this.updateValue(t,p.Thumb.END)},y.prototype.getValueStart=function(){if(!this.isRange)throw new Error("`valueStart` is only applicable for range sliders.");return this.valueStart},y.prototype.setValueStart=function(t){if(!this.isRange)throw new Error("`valueStart` is only applicable for range sliders.");if(this.isRange&&t>this.value-this.minRange)throw new Error("start thumb value ("+t+") must be <= end thumb value ("+this.value+") - min range ("+this.minRange+")");this.updateValue(t,p.Thumb.START)},y.prototype.setStep=function(t){this.step=t,this.numDecimalPlaces=C(t),this.updateUI()},y.prototype.setMinRange=function(t){if(!this.isRange)throw new Error("`minRange` is only applicable for range sliders.");if(t<0)throw new Error("`minRange` must be non-negative. Current value: "+t);if(this.value-this.valueStart=n.left&&t<=n.right,o=t>=i.left&&t<=i.right;return r&&o?null:r?p.Thumb.START:o?p.Thumb.END:ethis.value?p.Thumb.END:e-this.valueStart<=this.value-e?p.Thumb.START:p.Thumb.END},y.prototype.getThumbFromMoveEvent=function(t){if(null!==this.thumb)return this.thumb;if(null===this.downEventClientX)throw new Error("`downEventClientX` is null after move event.");return Math.abs(this.downEventClientX-t)this.value-this.minRange?this.value-this.minRange:this.isRange&&e===p.Thumb.END&&t=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(e,"__esModule",{value:!0}),e.MDCTextFieldFoundation=void 0;var s,a=n(0),c=n(40),l=["mousedown","touchstart"],d=["click","keydown"],p=(s=a.MDCFoundation,r(h,s),Object.defineProperty(h,"cssClasses",{get:function(){return c.cssClasses},enumerable:!1,configurable:!0}),Object.defineProperty(h,"strings",{get:function(){return c.strings},enumerable:!1,configurable:!0}),Object.defineProperty(h,"numbers",{get:function(){return c.numbers},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"shouldAlwaysFloat",{get:function(){var t=this.getNativeInput().type;return 0<=c.ALWAYS_FLOAT_TYPES.indexOf(t)},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"shouldFloat",{get:function(){return this.shouldAlwaysFloat||this.isFocused||!!this.getValue()||this.isBadInput()},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"shouldShake",{get:function(){return!this.isFocused&&!this.isValid()&&!!this.getValue()},enumerable:!1,configurable:!0}),Object.defineProperty(h,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!0},setInputAttr:function(){},removeInputAttr:function(){},registerTextFieldInteractionHandler:function(){},deregisterTextFieldInteractionHandler:function(){},registerInputInteractionHandler:function(){},deregisterInputInteractionHandler:function(){},registerValidationAttributeChangeHandler:function(){return new MutationObserver(function(){})},deregisterValidationAttributeChangeHandler:function(){},getNativeInput:function(){return null},isFocused:function(){return!1},activateLineRipple:function(){},deactivateLineRipple:function(){},setLineRippleTransformOrigin:function(){},shakeLabel:function(){},floatLabel:function(){},setLabelRequired:function(){},hasLabel:function(){return!1},getLabelWidth:function(){return 0},hasOutline:function(){return!1},notchOutline:function(){},closeOutline:function(){}}},enumerable:!1,configurable:!0}),h.prototype.init=function(){var e,t,n,i;this.adapter.hasLabel()&&this.getNativeInput().required&&this.adapter.setLabelRequired(!0),this.adapter.isFocused()?this.inputFocusHandler():this.adapter.hasLabel()&&this.shouldFloat&&(this.notchOutline(!0),this.adapter.floatLabel(!0),this.styleFloating(!0)),this.adapter.registerInputInteractionHandler("focus",this.inputFocusHandler),this.adapter.registerInputInteractionHandler("blur",this.inputBlurHandler),this.adapter.registerInputInteractionHandler("input",this.inputInputHandler);try{for(var r=u(l),o=r.next();!o.done;o=r.next()){var s=o.value;this.adapter.registerInputInteractionHandler(s,this.setPointerXOffset)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}try{for(var a=u(d),c=a.next();!c.done;c=a.next())s=c.value,this.adapter.registerTextFieldInteractionHandler(s,this.textFieldInteractionHandler)}catch(t){n={error:t}}finally{try{c&&!c.done&&(i=a.return)&&i.call(a)}finally{if(n)throw n.error}}this.validationObserver=this.adapter.registerValidationAttributeChangeHandler(this.validationAttributeChangeHandler),this.setcharacterCounter(this.getValue().length)},h.prototype.destroy=function(){var e,t,n,i;this.adapter.deregisterInputInteractionHandler("focus",this.inputFocusHandler),this.adapter.deregisterInputInteractionHandler("blur",this.inputBlurHandler),this.adapter.deregisterInputInteractionHandler("input",this.inputInputHandler);try{for(var r=u(l),o=r.next();!o.done;o=r.next()){var s=o.value;this.adapter.deregisterInputInteractionHandler(s,this.setPointerXOffset)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}try{for(var a=u(d),c=a.next();!c.done;c=a.next())s=c.value,this.adapter.deregisterTextFieldInteractionHandler(s,this.textFieldInteractionHandler)}catch(t){n={error:t}}finally{try{c&&!c.done&&(i=a.return)&&i.call(a)}finally{if(n)throw n.error}}this.adapter.deregisterValidationAttributeChangeHandler(this.validationObserver)},h.prototype.handleTextFieldInteraction=function(){var t=this.adapter.getNativeInput();t&&t.disabled||(this.receivedUserInput=!0)},h.prototype.handleValidationAttributeChange=function(t){var e=this;t.some(function(t){return-1=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(e,"__esModule",{value:!0}),e.MDCTextFieldIconFoundation=void 0;var a,c=n(0),u=n(116),l=["click","keydown"],d=(a=c.MDCFoundation,r(p,a),Object.defineProperty(p,"strings",{get:function(){return u.strings},enumerable:!1,configurable:!0}),Object.defineProperty(p,"cssClasses",{get:function(){return u.cssClasses},enumerable:!1,configurable:!0}),Object.defineProperty(p,"defaultAdapter",{get:function(){return{getAttr:function(){return null},setAttr:function(){},removeAttr:function(){},setContent:function(){},registerInteractionHandler:function(){},deregisterInteractionHandler:function(){},notifyIconAction:function(){}}},enumerable:!1,configurable:!0}),p.prototype.init=function(){var e,t;this.savedTabIndex=this.adapter.getAttr("tabindex");try{for(var n=s(l),i=n.next();!i.done;i=n.next()){var r=i.value;this.adapter.registerInteractionHandler(r,this.interactionHandler)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}},p.prototype.destroy=function(){var e,t;try{for(var n=s(l),i=n.next();!i.done;i=n.next()){var r=i.value;this.adapter.deregisterInteractionHandler(r,this.interactionHandler)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}},p.prototype.setDisabled=function(t){this.savedTabIndex&&(t?(this.adapter.setAttr("tabindex","-1"),this.adapter.removeAttr("role")):(this.adapter.setAttr("tabindex",this.savedTabIndex),this.adapter.setAttr("role",u.strings.ICON_ROLE)))},p.prototype.setAriaLabel=function(t){this.adapter.setAttr("aria-label",t)},p.prototype.setContent=function(t){this.adapter.setContent(t)},p.prototype.handleInteraction=function(t){var e="Enter"===t.key||13===t.keyCode;"click"!==t.type&&!e||(t.preventDefault(),this.adapter.notifyIconAction())},p);function p(t){var e=a.call(this,o(o({},p.defaultAdapter),t))||this;return e.savedTabIndex=null,e.interactionHandler=function(t){e.handleInteraction(t)},e}e.MDCTextFieldIconFoundation=d,e.default=d},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.cssClasses=e.strings=void 0;e.strings={ICON_EVENT:"MDCTextField:icon",ICON_ROLE:"button"};e.cssClasses={ROOT:"mdc-text-field__icon"}},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=this&&this.__assign||function(){return(o=Object.assign||function(t){for(var e,n=1,i=arguments.length;n=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(e,"__esModule",{value:!0}),e.MDCTooltipFoundation=void 0;var s,a=n(23),h=n(10),c=n(0),u=n(6),b=n(42),l=b.CssClasses.RICH,d=b.CssClasses.SHOWN,p=b.CssClasses.SHOWING,f=b.CssClasses.SHOWING_TRANSITION,y=b.CssClasses.HIDE,C=b.CssClasses.HIDE_TRANSITION,E=b.CssClasses.MULTILINE_TOOLTIP;(s=s||{}).POLL_ANCHOR="poll_anchor";var g,_="undefined"!=typeof window,m=(g=c.MDCFoundation,r(v,g),Object.defineProperty(v,"defaultAdapter",{get:function(){return{getAttribute:function(){return null},setAttribute:function(){},removeAttribute:function(){},addClass:function(){},hasClass:function(){return!1},removeClass:function(){},getComputedStyleProperty:function(){return""},setStyleProperty:function(){},setSurfaceAnimationStyleProperty:function(){},getViewportWidth:function(){return 0},getViewportHeight:function(){return 0},getTooltipSize:function(){return{width:0,height:0}},getAnchorBoundingRect:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},getParentBoundingRect:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},getAnchorAttribute:function(){return null},setAnchorAttribute:function(){return null},isRTL:function(){return!1},anchorContainsElement:function(){return!1},tooltipContainsElement:function(){return!1},focusAnchorElement:function(){},registerEventHandler:function(){},deregisterEventHandler:function(){},registerAnchorEventHandler:function(){},deregisterAnchorEventHandler:function(){},registerDocumentEventHandler:function(){},deregisterDocumentEventHandler:function(){},registerWindowEventHandler:function(){},deregisterWindowEventHandler:function(){},notifyHidden:function(){},getTooltipCaretBoundingRect:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},setTooltipCaretStyle:function(){},clearTooltipCaretStyles:function(){},getActiveElement:function(){return null}}},enumerable:!1,configurable:!0}),v.prototype.init=function(){this.richTooltip=this.adapter.hasClass(l),this.persistentTooltip="true"===this.adapter.getAttribute(b.attributes.PERSISTENT),this.interactiveTooltip=!!this.adapter.getAnchorAttribute(b.attributes.ARIA_EXPANDED)&&"dialog"===this.adapter.getAnchorAttribute(b.attributes.ARIA_HASPOPUP),this.hasCaret=this.richTooltip&&"true"===this.adapter.getAttribute(b.attributes.HAS_CARET)},v.prototype.isShown=function(){return this.tooltipShown},v.prototype.isRich=function(){return this.richTooltip},v.prototype.isPersistent=function(){return this.persistentTooltip},v.prototype.handleAnchorMouseEnter=function(){var t=this;this.tooltipShown?this.show():(this.clearHideTimeout(),this.showTimeout=setTimeout(function(){t.show()},this.showDelayMs))},v.prototype.handleAnchorTouchstart=function(){var t=this;this.showTimeout=setTimeout(function(){t.show()},this.showDelayMs),this.adapter.registerWindowEventHandler("contextmenu",this.preventContextMenuOnLongTouch)},v.prototype.preventContextMenuOnLongTouch=function(t){t.preventDefault()},v.prototype.handleAnchorTouchend=function(){this.clearShowTimeout(),this.isShown()||this.adapter.deregisterWindowEventHandler("contextmenu",this.preventContextMenuOnLongTouch)},v.prototype.handleAnchorFocus=function(t){var e=this,n=t.relatedTarget;n instanceof HTMLElement&&this.adapter.tooltipContainsElement(n)||(this.showTimeout=setTimeout(function(){e.show()},this.showDelayMs))},v.prototype.handleAnchorMouseLeave=function(){var t=this;this.clearShowTimeout(),this.hideTimeout=setTimeout(function(){t.hide()},this.hideDelayMs)},v.prototype.handleAnchorClick=function(){this.tooltipShown?this.hide():this.show()},v.prototype.handleDocumentClick=function(t){var e=t.target instanceof HTMLElement&&(this.adapter.anchorContainsElement(t.target)||this.adapter.tooltipContainsElement(t.target));this.richTooltip&&this.persistentTooltip&&e||this.hide()},v.prototype.handleKeydown=function(t){if(u.normalizeKey(t)===u.KEY.ESCAPE){var e=this.adapter.getActiveElement();e instanceof HTMLElement&&this.adapter.tooltipContainsElement(e)&&this.adapter.focusAnchorElement(),this.hide()}},v.prototype.handleAnchorBlur=function(t){if(this.richTooltip){if(t.relatedTarget instanceof HTMLElement&&this.adapter.tooltipContainsElement(t.relatedTarget))return;if(null===t.relatedTarget&&this.interactiveTooltip)return}this.hide()},v.prototype.handleTooltipMouseEnter=function(){this.show()},v.prototype.handleTooltipMouseLeave=function(){var t=this;this.clearShowTimeout(),this.hideTimeout=setTimeout(function(){t.hide()},this.hideDelayMs)},v.prototype.handleRichTooltipFocusOut=function(t){t.relatedTarget instanceof HTMLElement&&(this.adapter.anchorContainsElement(t.relatedTarget)||this.adapter.tooltipContainsElement(t.relatedTarget))||null===t.relatedTarget&&this.interactiveTooltip||this.hide()},v.prototype.handleWindowScrollEvent=function(){this.persistentTooltip?this.handleWindowChangeEvent():this.hide()},v.prototype.handleWindowChangeEvent=function(){var t=this;this.animFrame.request(s.POLL_ANCHOR,function(){t.repositionTooltipOnAnchorMove()})},v.prototype.show=function(){var e,t,n=this;if(this.clearHideTimeout(),this.clearShowTimeout(),!this.tooltipShown){this.tooltipShown=!0,this.adapter.removeAttribute("aria-hidden"),this.richTooltip&&(this.interactiveTooltip&&this.adapter.setAnchorAttribute("aria-expanded","true"),this.adapter.registerEventHandler("focusout",this.richTooltipFocusOutHandler)),this.persistentTooltip||(this.adapter.registerEventHandler("mouseenter",this.tooltipMouseEnterHandler),this.adapter.registerEventHandler("mouseleave",this.tooltipMouseLeaveHandler)),this.adapter.removeClass(y),this.adapter.addClass(p),this.isTooltipMultiline()&&!this.richTooltip&&this.adapter.addClass(E),this.anchorRect=this.adapter.getAnchorBoundingRect(),this.parentRect=this.adapter.getParentBoundingRect(),this.richTooltip?this.positionRichTooltip():this.positionPlainTooltip(),this.adapter.registerAnchorEventHandler("blur",this.anchorBlurHandler),this.adapter.registerDocumentEventHandler("click",this.documentClickHandler),this.adapter.registerDocumentEventHandler("keydown",this.documentKeydownHandler),this.adapter.registerWindowEventHandler("scroll",this.windowScrollHandler),this.adapter.registerWindowEventHandler("resize",this.windowResizeHandler);try{for(var i=T(this.addAncestorScrollEventListeners),r=i.next();!r.done;r=i.next())(0,r.value)()}catch(t){e={error:t}}finally{try{r&&!r.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}this.frameId=requestAnimationFrame(function(){n.clearAllAnimationClasses(),n.adapter.addClass(d),n.adapter.addClass(f)})}},v.prototype.hide=function(){var e,t;if(this.clearHideTimeout(),this.clearShowTimeout(),this.tooltipShown){this.frameId&&cancelAnimationFrame(this.frameId),this.tooltipShown=!1,this.adapter.setAttribute("aria-hidden","true"),this.adapter.deregisterEventHandler("focusout",this.richTooltipFocusOutHandler),this.richTooltip&&this.interactiveTooltip&&this.adapter.setAnchorAttribute("aria-expanded","false"),this.persistentTooltip||(this.adapter.deregisterEventHandler("mouseenter",this.tooltipMouseEnterHandler),this.adapter.deregisterEventHandler("mouseleave",this.tooltipMouseLeaveHandler)),this.clearAllAnimationClasses(),this.adapter.addClass(y),this.adapter.addClass(C),this.adapter.removeClass(d),this.adapter.deregisterAnchorEventHandler("blur",this.anchorBlurHandler),this.adapter.deregisterDocumentEventHandler("click",this.documentClickHandler),this.adapter.deregisterDocumentEventHandler("keydown",this.documentKeydownHandler),this.adapter.deregisterWindowEventHandler("scroll",this.windowScrollHandler),this.adapter.deregisterWindowEventHandler("resize",this.windowResizeHandler),this.adapter.deregisterWindowEventHandler("contextmenu",this.preventContextMenuOnLongTouch);try{for(var n=T(this.removeAncestorScrollEventListeners),i=n.next();!i.done;i=n.next())(0,i.value)()}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}}},v.prototype.handleTransitionEnd=function(){var t=this.adapter.hasClass(y);this.adapter.removeClass(p),this.adapter.removeClass(f),this.adapter.removeClass(y),this.adapter.removeClass(C),t&&null===this.showTimeout&&this.adapter.notifyHidden()},v.prototype.clearAllAnimationClasses=function(){this.adapter.removeClass(f),this.adapter.removeClass(C)},v.prototype.setTooltipPosition=function(t){var e=t.xPos,n=t.yPos,i=t.withCaretPos;this.hasCaret&&i?this.tooltipPositionWithCaret=i:(e&&(this.xTooltipPos=e),n&&(this.yTooltipPos=n))},v.prototype.setAnchorBoundaryType=function(t){t===b.AnchorBoundaryType.UNBOUNDED?this.anchorGap=b.numbers.UNBOUNDED_ANCHOR_GAP:this.anchorGap=b.numbers.BOUNDED_ANCHOR_GAP},v.prototype.setShowDelay=function(t){this.showDelayMs=t},v.prototype.setHideDelay=function(t){this.hideDelayMs=t},v.prototype.isTooltipMultiline=function(){var t=this.adapter.getTooltipSize();return t.height>b.numbers.MIN_HEIGHT&&t.width>=b.numbers.MAX_WIDTH},v.prototype.positionPlainTooltip=function(){var t=this.calculateTooltipStyles(this.anchorRect),e=t.top,n=t.yTransformOrigin,i=t.left,r=t.xTransformOrigin,o=_?h.getCorrectPropertyName(window,"transform"):"transform";this.adapter.setSurfaceAnimationStyleProperty(o+"-origin",r+" "+n),this.adapter.setStyleProperty("top",e+"px"),this.adapter.setStyleProperty("left",i+"px")},v.prototype.positionRichTooltip=function(){var t,e,n,i,r=this.adapter.getComputedStyleProperty("width");this.adapter.setStyleProperty("width",r);var o=this.hasCaret?this.calculateTooltipWithCaretStyles(this.anchorRect):this.calculateTooltipStyles(this.anchorRect),s=o.top,a=o.yTransformOrigin,c=o.left,u=o.xTransformOrigin,l=_?h.getCorrectPropertyName(window,"transform"):"transform";this.adapter.setSurfaceAnimationStyleProperty(l+"-origin",u+" "+a);var d=c-(null!==(e=null===(t=this.parentRect)||void 0===t?void 0:t.left)&&void 0!==e?e:0),p=s-(null!==(i=null===(n=this.parentRect)||void 0===n?void 0:n.top)&&void 0!==i?i:0);this.adapter.setStyleProperty("top",p+"px"),this.adapter.setStyleProperty("left",d+"px")},v.prototype.calculateTooltipStyles=function(t){if(!t)return{top:0,left:0};var e=this.adapter.getTooltipSize(),n=this.calculateYTooltipDistance(t,e.height),i=this.calculateXTooltipDistance(t,e.width);return{top:n.distance,yTransformOrigin:n.yTransformOrigin,left:i.distance,xTransformOrigin:i.xTransformOrigin}},v.prototype.calculateXTooltipDistance=function(t,e){var n,i,r,o,s,a=!this.adapter.isRTL();s=this.richTooltip?(n=a?t.left-e:t.right,i=a?t.right:t.left-e,o=a?b.strings.RIGHT:b.strings.LEFT,a?b.strings.LEFT:b.strings.RIGHT):(n=a?t.left:t.right-e,i=a?t.right-e:t.left,r=t.left+(t.width-e)/2,o=a?b.strings.LEFT:b.strings.RIGHT,a?b.strings.RIGHT:b.strings.LEFT);var c=this.richTooltip?this.determineValidPositionOptions(n,i):this.determineValidPositionOptions(r,n,i);if(this.xTooltipPos===b.XPosition.START&&c.has(n))return{distance:n,xTransformOrigin:o};if(this.xTooltipPos===b.XPosition.END&&c.has(i))return{distance:i,xTransformOrigin:s};if(this.xTooltipPos===b.XPosition.CENTER&&c.has(r))return{distance:r,xTransformOrigin:b.strings.CENTER};var u=(this.richTooltip?[{distance:i,xTransformOrigin:s},{distance:n,xTransformOrigin:o}]:[{distance:r,xTransformOrigin:b.strings.CENTER},{distance:n,xTransformOrigin:o},{distance:i,xTransformOrigin:s}]).find(function(t){var e=t.distance;return c.has(e)});return u||(t.left<0?{distance:this.minViewportTooltipThreshold,xTransformOrigin:b.strings.LEFT}:{distance:this.adapter.getViewportWidth()-(e+this.minViewportTooltipThreshold),xTransformOrigin:b.strings.RIGHT})},v.prototype.determineValidPositionOptions=function(){for(var e,t,n=[],i=0;i=this.minViewportTooltipThreshold},v.prototype.positionDoesntCollideWithViewport=function(t){var e=this.adapter.getViewportWidth();return t+this.adapter.getTooltipSize().width<=e&&0<=t},v.prototype.calculateYTooltipDistance=function(t,e){var n=t.bottom+this.anchorGap,i=t.top-(this.anchorGap+e),r=this.determineValidYPositionOptions(i,n);return this.yTooltipPos===b.YPosition.ABOVE&&r.has(i)?{distance:i,yTransformOrigin:b.strings.BOTTOM}:this.yTooltipPos===b.YPosition.BELOW&&r.has(n)?{distance:n,yTransformOrigin:b.strings.TOP}:r.has(n)?{distance:n,yTransformOrigin:b.strings.TOP}:r.has(i)?{distance:i,yTransformOrigin:b.strings.BOTTOM}:{distance:n,yTransformOrigin:b.strings.TOP}},v.prototype.determineValidYPositionOptions=function(t,e){var n=new Set,i=new Set;return this.yPositionHonorsViewportThreshold(t)?n.add(t):this.yPositionDoesntCollideWithViewport(t)&&i.add(t),this.yPositionHonorsViewportThreshold(e)?n.add(e):this.yPositionDoesntCollideWithViewport(e)&&i.add(e),n.size?n:i},v.prototype.yPositionHonorsViewportThreshold=function(t){var e=this.adapter.getViewportHeight();return t+this.adapter.getTooltipSize().height+this.minViewportTooltipThreshold<=e&&t>=this.minViewportTooltipThreshold},v.prototype.yPositionDoesntCollideWithViewport=function(t){var e=this.adapter.getViewportHeight();return t+this.adapter.getTooltipSize().height<=e&&0<=t},v.prototype.calculateTooltipWithCaretStyles=function(t){this.adapter.clearTooltipCaretStyles();var e=this.adapter.getTooltipCaretBoundingRect();if(!t||!e)return{position:b.PositionWithCaret.DETECTED,top:0,left:0};var n=e.width/b.numbers.ANIMATION_SCALE,i=e.height/b.numbers.ANIMATION_SCALE/2,r=this.adapter.getTooltipSize(),o=this.calculateYWithCaretDistanceOptions(t,r.height,{caretWidth:n,caretHeight:i}),s=this.calculateXWithCaretDistanceOptions(t,r.width,{caretWidth:n,caretHeight:i}),a=this.validateTooltipWithCaretDistances(o,s);a.size<1&&(a=this.generateBackupPositionOption(t,r,{caretWidth:n,caretHeight:i}));var c=this.determineTooltipWithCaretDistance(a),u=c.position,l=c.xDistance,d=c.yDistance,p=this.setCaretPositionStyles(u,{caretWidth:n,caretHeight:i});return{yTransformOrigin:p.yTransformOrigin,xTransformOrigin:p.xTransformOrigin,top:d,left:l}},v.prototype.calculateXWithCaretDistanceOptions=function(t,e,n){var i=n.caretWidth,r=n.caretHeight,o=!this.adapter.isRTL(),s=t.left+t.width/2,a=t.left-(e+this.anchorGap+r),c=t.right+this.anchorGap+r,u=o?a:c,l=o?c:a,d=s-(b.numbers.CARET_INDENTATION+i/2),p=s-(e-b.numbers.CARET_INDENTATION-i/2),h=o?d:p,f=o?p:d,y=s-e/2;return new Map([[b.XPositionWithCaret.START,h],[b.XPositionWithCaret.CENTER,y],[b.XPositionWithCaret.END,f],[b.XPositionWithCaret.SIDE_END,l],[b.XPositionWithCaret.SIDE_START,u]])},v.prototype.calculateYWithCaretDistanceOptions=function(t,e,n){var i=n.caretWidth,r=n.caretHeight,o=t.top+t.height/2,s=t.bottom+this.anchorGap+r,a=t.top-(this.anchorGap+e+r),c=o-(b.numbers.CARET_INDENTATION+i/2),u=o-e/2,l=o-(e-b.numbers.CARET_INDENTATION-i/2);return new Map([[b.YPositionWithCaret.ABOVE,a],[b.YPositionWithCaret.BELOW,s],[b.YPositionWithCaret.SIDE_TOP,c],[b.YPositionWithCaret.SIDE_CENTER,u],[b.YPositionWithCaret.SIDE_BOTTOM,l]])},v.prototype.repositionTooltipOnAnchorMove=function(){var t=this.adapter.getAnchorBoundingRect();t&&this.anchorRect&&(t.top===this.anchorRect.top&&t.left===this.anchorRect.left&&t.height===this.anchorRect.height&&t.width===this.anchorRect.width||(this.anchorRect=t,this.parentRect=this.adapter.getParentBoundingRect(),this.richTooltip?this.positionRichTooltip():this.positionPlainTooltip()))},v.prototype.validateTooltipWithCaretDistances=function(t,e){var n,i,r,o,s,a,c=new Map,u=new Map,l=new Map([[b.YPositionWithCaret.ABOVE,[b.XPositionWithCaret.START,b.XPositionWithCaret.CENTER,b.XPositionWithCaret.END]],[b.YPositionWithCaret.BELOW,[b.XPositionWithCaret.START,b.XPositionWithCaret.CENTER,b.XPositionWithCaret.END]],[b.YPositionWithCaret.SIDE_TOP,[b.XPositionWithCaret.SIDE_START,b.XPositionWithCaret.SIDE_END]],[b.YPositionWithCaret.SIDE_CENTER,[b.XPositionWithCaret.SIDE_START,b.XPositionWithCaret.SIDE_END]],[b.YPositionWithCaret.SIDE_BOTTOM,[b.XPositionWithCaret.SIDE_START,b.XPositionWithCaret.SIDE_END]]]);try{for(var d=T(l.keys()),p=d.next();!p.done;p=d.next()){var h=p.value,f=t.get(h);if(this.yPositionHonorsViewportThreshold(f))try{for(var y=(r=void 0,T(l.get(h))),C=y.next();!C.done;C=y.next()){var E=C.value,g=e.get(E);if(this.positionHonorsViewportThreshold(g)){var _=this.caretPositionOptionsMapping(E,h);c.set(_,{xDistance:g,yDistance:f})}}}catch(t){r={error:t}}finally{try{C&&!C.done&&(o=y.return)&&o.call(y)}finally{if(r)throw r.error}}if(this.yPositionDoesntCollideWithViewport(f))try{for(var m=(s=void 0,T(l.get(h))),v=m.next();!v.done;v=m.next())E=v.value,g=e.get(E),this.positionDoesntCollideWithViewport(g)&&(_=this.caretPositionOptionsMapping(E,h),u.set(_,{xDistance:g,yDistance:f}))}catch(t){s={error:t}}finally{try{v&&!v.done&&(a=m.return)&&a.call(m)}finally{if(s)throw s.error}}}}catch(t){n={error:t}}finally{try{p&&!p.done&&(i=d.return)&&i.call(d)}finally{if(n)throw n.error}}return c.size?c:u},v.prototype.generateBackupPositionOption=function(t,e,n){var i,r,o,s,a=!this.adapter.isRTL();r=t.left<0?(i=this.minViewportTooltipThreshold+n.caretHeight,a?b.XPositionWithCaret.END:b.XPositionWithCaret.START):(i=this.adapter.getViewportWidth()-(e.width+this.minViewportTooltipThreshold+n.caretHeight),a?b.XPositionWithCaret.START:b.XPositionWithCaret.END),s=t.top<0?(o=this.minViewportTooltipThreshold+n.caretHeight,b.YPositionWithCaret.BELOW):(o=this.adapter.getViewportHeight()-(e.height+this.minViewportTooltipThreshold+n.caretHeight),b.YPositionWithCaret.ABOVE);var c=this.caretPositionOptionsMapping(r,s);return new Map([[c,{xDistance:i,yDistance:o}]])},v.prototype.determineTooltipWithCaretDistance=function(e){if(e.has(this.tooltipPositionWithCaret)){var t=e.get(this.tooltipPositionWithCaret);return{position:this.tooltipPositionWithCaret,xDistance:t.xDistance,yDistance:t.yDistance}}var n=[b.PositionWithCaret.ABOVE_START,b.PositionWithCaret.ABOVE_CENTER,b.PositionWithCaret.ABOVE_END,b.PositionWithCaret.TOP_SIDE_START,b.PositionWithCaret.CENTER_SIDE_START,b.PositionWithCaret.BOTTOM_SIDE_START,b.PositionWithCaret.TOP_SIDE_END,b.PositionWithCaret.CENTER_SIDE_END,b.PositionWithCaret.BOTTOM_SIDE_END,b.PositionWithCaret.BELOW_START,b.PositionWithCaret.BELOW_CENTER,b.PositionWithCaret.BELOW_END].find(function(t){return e.has(t)}),i=e.get(n);return{position:n,xDistance:i.xDistance,yDistance:i.yDistance}},v.prototype.caretPositionOptionsMapping=function(t,e){switch(e){case b.YPositionWithCaret.ABOVE:if(t===b.XPositionWithCaret.START)return b.PositionWithCaret.ABOVE_START;if(t===b.XPositionWithCaret.CENTER)return b.PositionWithCaret.ABOVE_CENTER;if(t===b.XPositionWithCaret.END)return b.PositionWithCaret.ABOVE_END;break;case b.YPositionWithCaret.BELOW:if(t===b.XPositionWithCaret.START)return b.PositionWithCaret.BELOW_START;if(t===b.XPositionWithCaret.CENTER)return b.PositionWithCaret.BELOW_CENTER;if(t===b.XPositionWithCaret.END)return b.PositionWithCaret.BELOW_END;break;case b.YPositionWithCaret.SIDE_TOP:if(t===b.XPositionWithCaret.SIDE_START)return b.PositionWithCaret.TOP_SIDE_START;if(t===b.XPositionWithCaret.SIDE_END)return b.PositionWithCaret.TOP_SIDE_END;break;case b.YPositionWithCaret.SIDE_CENTER:if(t===b.XPositionWithCaret.SIDE_START)return b.PositionWithCaret.CENTER_SIDE_START;if(t===b.XPositionWithCaret.SIDE_END)return b.PositionWithCaret.CENTER_SIDE_END;break;case b.YPositionWithCaret.SIDE_BOTTOM:if(t===b.XPositionWithCaret.SIDE_START)return b.PositionWithCaret.BOTTOM_SIDE_START;if(t===b.XPositionWithCaret.SIDE_END)return b.PositionWithCaret.BOTTOM_SIDE_END}throw new Error("MDCTooltipFoundation: Invalid caret position of "+t+", "+e)},v.prototype.setCaretPositionStyles=function(t,e){var n,i,r=this.calculateCaretPositionOnTooltip(t,e);if(!r)return{yTransformOrigin:0,xTransformOrigin:0};this.adapter.clearTooltipCaretStyles(),this.adapter.setTooltipCaretStyle(r.yAlignment,r.yAxisPx),this.adapter.setTooltipCaretStyle(r.xAlignment,r.xAxisPx);var o=r.skew*(Math.PI/180),s=Math.cos(o);this.adapter.setTooltipCaretStyle("transform","rotate("+r.rotation+"deg) skewY("+r.skew+"deg) scaleX("+s+")"),this.adapter.setTooltipCaretStyle("transform-origin",r.xAlignment+" "+r.yAlignment);try{for(var a=T(r.caretCorners),c=a.next();!c.done;c=a.next()){var u=c.value;this.adapter.setTooltipCaretStyle(u,"0")}}catch(t){n={error:t}}finally{try{c&&!c.done&&(i=a.return)&&i.call(a)}finally{if(n)throw n.error}}return{yTransformOrigin:r.yTransformOrigin,xTransformOrigin:r.xTransformOrigin}},v.prototype.calculateCaretPositionOnTooltip=function(t,e){var n=!this.adapter.isRTL(),i=this.adapter.getComputedStyleProperty("width"),r=this.adapter.getComputedStyleProperty("height");if(i&&r&&e){var o="calc(("+i+" - "+e.caretWidth+"px) / 2)",s="calc(("+r+" - "+e.caretWidth+"px) / 2)",a=b.numbers.CARET_INDENTATION+"px",c="calc("+i+" - "+a+")",u="calc("+r+" - "+a+")",l=Math.abs(55),d=["border-bottom-right-radius","border-top-left-radius"],p=["border-bottom-left-radius","border-top-right-radius"];switch(t){case b.PositionWithCaret.BELOW_CENTER:return{yAlignment:b.strings.TOP,xAlignment:b.strings.LEFT,yAxisPx:"0",xAxisPx:o,rotation:-35,skew:-20,xTransformOrigin:o,yTransformOrigin:"0",caretCorners:d};case b.PositionWithCaret.BELOW_END:return{yAlignment:b.strings.TOP,xAlignment:n?b.strings.RIGHT:b.strings.LEFT,yAxisPx:"0",xAxisPx:a,rotation:n?35:-35,skew:n?20:-20,xTransformOrigin:n?c:a,yTransformOrigin:"0",caretCorners:n?p:d};case b.PositionWithCaret.BELOW_START:return{yAlignment:b.strings.TOP,xAlignment:n?b.strings.LEFT:b.strings.RIGHT,yAxisPx:"0",xAxisPx:a,rotation:n?-35:35,skew:n?-20:20,xTransformOrigin:n?a:c,yTransformOrigin:"0",caretCorners:n?d:p};case b.PositionWithCaret.TOP_SIDE_END:return{yAlignment:b.strings.TOP,xAlignment:n?b.strings.LEFT:b.strings.RIGHT,yAxisPx:a,xAxisPx:"0",rotation:n?l:-1*l,skew:n?-20:20,xTransformOrigin:n?"0":i,yTransformOrigin:a,caretCorners:n?d:p};case b.PositionWithCaret.CENTER_SIDE_END:return{yAlignment:b.strings.TOP,xAlignment:n?b.strings.LEFT:b.strings.RIGHT,yAxisPx:s,xAxisPx:"0",rotation:n?l:-1*l,skew:n?-20:20,xTransformOrigin:n?"0":i,yTransformOrigin:s,caretCorners:n?d:p};case b.PositionWithCaret.BOTTOM_SIDE_END:return{yAlignment:b.strings.BOTTOM,xAlignment:n?b.strings.LEFT:b.strings.RIGHT,yAxisPx:a,xAxisPx:"0",rotation:n?-1*l:l,skew:n?20:-20,xTransformOrigin:n?"0":i,yTransformOrigin:u,caretCorners:n?p:d};case b.PositionWithCaret.TOP_SIDE_START:return{yAlignment:b.strings.TOP,xAlignment:n?b.strings.RIGHT:b.strings.LEFT,yAxisPx:a,xAxisPx:"0",rotation:n?-1*l:l,skew:n?20:-20,xTransformOrigin:n?i:"0",yTransformOrigin:a,caretCorners:n?p:d};case b.PositionWithCaret.CENTER_SIDE_START:return{yAlignment:b.strings.TOP,xAlignment:n?b.strings.RIGHT:b.strings.LEFT,yAxisPx:s,xAxisPx:"0",rotation:n?-1*l:l,skew:n?20:-20,xTransformOrigin:n?i:"0",yTransformOrigin:s,caretCorners:n?p:d};case b.PositionWithCaret.BOTTOM_SIDE_START:return{yAlignment:b.strings.BOTTOM,xAlignment:n?b.strings.RIGHT:b.strings.LEFT,yAxisPx:a,xAxisPx:"0",rotation:n?l:-1*l,skew:n?-20:20,xTransformOrigin:n?i:"0",yTransformOrigin:u,caretCorners:n?d:p};case b.PositionWithCaret.ABOVE_CENTER:return{yAlignment:b.strings.BOTTOM,xAlignment:b.strings.LEFT,yAxisPx:"0",xAxisPx:o,rotation:35,skew:20,xTransformOrigin:o,yTransformOrigin:r,caretCorners:p};case b.PositionWithCaret.ABOVE_END:return{yAlignment:b.strings.BOTTOM,xAlignment:n?b.strings.RIGHT:b.strings.LEFT,yAxisPx:"0",xAxisPx:a,rotation:n?-35:35,skew:n?-20:20,xTransformOrigin:n?c:a,yTransformOrigin:r,caretCorners:n?d:p};default:case b.PositionWithCaret.ABOVE_START:return{yAlignment:b.strings.BOTTOM,xAlignment:n?b.strings.LEFT:b.strings.RIGHT,yAxisPx:"0",xAxisPx:a,rotation:n?35:-35,skew:n?20:-20,xTransformOrigin:n?a:c,yTransformOrigin:r,caretCorners:n?p:d}}}},v.prototype.clearShowTimeout=function(){this.showTimeout&&(clearTimeout(this.showTimeout),this.showTimeout=null)},v.prototype.clearHideTimeout=function(){this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=null)},v.prototype.attachScrollHandler=function(t){var e=this;this.addAncestorScrollEventListeners.push(function(){t("scroll",e.windowScrollHandler)})},v.prototype.removeScrollHandler=function(t){var e=this;this.removeAncestorScrollEventListeners.push(function(){t("scroll",e.windowScrollHandler)})},v.prototype.destroy=function(){var e,t;this.frameId&&(cancelAnimationFrame(this.frameId),this.frameId=null),this.clearHideTimeout(),this.clearShowTimeout(),this.adapter.removeClass(d),this.adapter.removeClass(f),this.adapter.removeClass(p),this.adapter.removeClass(y),this.adapter.removeClass(C),this.richTooltip&&this.adapter.deregisterEventHandler("focusout",this.richTooltipFocusOutHandler),this.persistentTooltip||(this.adapter.deregisterEventHandler("mouseenter",this.tooltipMouseEnterHandler),this.adapter.deregisterEventHandler("mouseleave",this.tooltipMouseLeaveHandler)),this.adapter.deregisterAnchorEventHandler("blur",this.anchorBlurHandler),this.adapter.deregisterDocumentEventHandler("click",this.documentClickHandler),this.adapter.deregisterDocumentEventHandler("keydown",this.documentKeydownHandler),this.adapter.deregisterWindowEventHandler("scroll",this.windowScrollHandler),this.adapter.deregisterWindowEventHandler("resize",this.windowResizeHandler);try{for(var n=T(this.removeAncestorScrollEventListeners),i=n.next();!i.done;i=n.next())(0,i.value)()}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}this.animFrame.cancelAll()},v);function v(t){var e=g.call(this,o(o({},v.defaultAdapter),t))||this;return e.tooltipShown=!1,e.anchorGap=b.numbers.BOUNDED_ANCHOR_GAP,e.xTooltipPos=b.XPosition.DETECTED,e.yTooltipPos=b.YPosition.DETECTED,e.tooltipPositionWithCaret=b.PositionWithCaret.DETECTED,e.minViewportTooltipThreshold=b.numbers.MIN_VIEWPORT_TOOLTIP_THRESHOLD,e.hideDelayMs=b.numbers.HIDE_DELAY_MS,e.showDelayMs=b.numbers.SHOW_DELAY_MS,e.anchorRect=null,e.parentRect=null,e.frameId=null,e.hideTimeout=null,e.showTimeout=null,e.addAncestorScrollEventListeners=new Array,e.removeAncestorScrollEventListeners=new Array,e.animFrame=new a.AnimationFrame,e.anchorBlurHandler=function(t){e.handleAnchorBlur(t)},e.documentClickHandler=function(t){e.handleDocumentClick(t)},e.documentKeydownHandler=function(t){e.handleKeydown(t)},e.tooltipMouseEnterHandler=function(){e.handleTooltipMouseEnter()},e.tooltipMouseLeaveHandler=function(){e.handleTooltipMouseLeave()},e.richTooltipFocusOutHandler=function(t){e.handleRichTooltipFocusOut(t)},e.windowScrollHandler=function(){e.handleWindowScrollEvent()},e.windowResizeHandler=function(){e.handleWindowChangeEvent()},e}e.MDCTooltipFoundation=m,e.default=m},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0}),e.MDCFixedTopAppBarFoundation=void 0;var o,s=n(9),a=n(43),c=(o=a.MDCTopAppBarFoundation,r(u,o),u.prototype.handleTargetScroll=function(){this.adapter.getViewportScrollY()<=0?this.wasScrolled&&(this.adapter.removeClass(s.cssClasses.FIXED_SCROLLED_CLASS),this.wasScrolled=!1):this.wasScrolled||(this.adapter.addClass(s.cssClasses.FIXED_SCROLLED_CLASS),this.wasScrolled=!0)},u);function u(){var t=null!==o&&o.apply(this,arguments)||this;return t.wasScrolled=!1,t}e.MDCFixedTopAppBarFoundation=c,e.default=c},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0}),e.MDCShortTopAppBarFoundation=void 0;var o,s=n(9),a=n(44),c=(o=a.MDCTopAppBarBaseFoundation,r(u,o),Object.defineProperty(u.prototype,"isCollapsed",{get:function(){return this.collapsed},enumerable:!1,configurable:!0}),u.prototype.init=function(){o.prototype.init.call(this),0=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(e,"__esModule",{value:!0}),e.mdcAutoInit=void 0;var i=n(122),p=i.strings.AUTO_INIT_ATTR,h=i.strings.AUTO_INIT_STATE_ATTR,f=i.strings.INITIALIZED_STATE,y={},r=console.warn.bind(console);function o(t){var e,n;void 0===t&&(t=document);var i=[],r=[].slice.call(t.querySelectorAll("["+p+"]"));r=r.filter(function(t){return t.getAttribute(h)!==f});try{for(var o=d(r),s=o.next();!s.done;s=o.next()){var a=s.value,c=a.getAttribute(p);if(!c)throw new Error("(mdc-auto-init) Constructor name must be given.");var u=y[c];if("function"!=typeof u)throw new Error("(mdc-auto-init) Could not find constructor in registry for "+c);var l=u.attachTo(a);Object.defineProperty(a,c,{configurable:!0,enumerable:!1,value:l,writable:!1}),i.push(l),a.setAttribute(h,f)}}catch(t){e={error:t}}finally{try{s&&!s.done&&(n=o.return)&&n.call(o)}finally{if(e)throw e.error}}return function(t,e,n){var i;void 0===n&&(n=!1),"function"==typeof CustomEvent?i=new CustomEvent(t,{bubbles:n,detail:e}):(i=document.createEvent("CustomEvent")).initCustomEvent(t,n,!1,e),document.dispatchEvent(i)}("MDCAutoInit:End",{}),i}(e.mdcAutoInit=o).register=function(t,e,n){if(void 0===n&&(n=r),"function"!=typeof e)throw new Error("(mdc-auto-init) Invalid Constructor value: "+e+". Expected function.");var i=y[t];i&&n("(mdc-auto-init) Overriding registration for "+t+" with "+e+". Was: "+i),y[t]=e},o.deregister=function(t){delete y[t]},o.deregisterAll=function(){var e,t;try{for(var n=d(Object.keys(y)),i=n.next();!i.done;i=n.next()){var r=i.value;o.deregister(r)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}},e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.strings=void 0,e.strings={AUTO_INIT_ATTR:"data-mdc-auto-init",AUTO_INIT_STATE_ATTR:"data-mdc-auto-init-state",INITIALIZED_STATE:"initialized"}},function(t,e,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(t,e,n,i){void 0===i&&(i=n),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,i){void 0===i&&(i=n),t[i]=e[n]}),r=this&&this.__exportStar||function(t,e){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(e,n)||i(e,t,n)};Object.defineProperty(e,"__esModule",{value:!0}),r(n(124),e),r(n(125),e),r(n(18),e),r(n(45),e)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0}),e.MDCBanner=void 0;var o,s=n(1),a=n(11),c=n(3),u=n(18),l=n(45),d=(o=s.MDCComponent,r(p,o),p.attachTo=function(t){return new p(t)},p.prototype.initialize=function(t){var n=this;void 0===t&&(t=function(t,e){return new a.FocusTrap(t,e)}),this.contentEl=this.root.querySelector(u.selectors.CONTENT),this.textEl=this.root.querySelector(u.selectors.TEXT),this.primaryActionEl=this.root.querySelector(u.selectors.PRIMARY_ACTION),this.secondaryActionEl=this.root.querySelector(u.selectors.SECONDARY_ACTION),this.focusTrapFactory=t,this.handleContentClick=function(t){var e=t.target;c.closest(e,u.selectors.PRIMARY_ACTION)?n.foundation.handlePrimaryActionClick():c.closest(e,u.selectors.SECONDARY_ACTION)&&n.foundation.handleSecondaryActionClick()}},p.prototype.initialSyncWithDOM=function(){this.registerContentClickHandler(this.handleContentClick),this.focusTrap=this.focusTrapFactory(this.root,{initialFocusEl:this.primaryActionEl})},p.prototype.destroy=function(){o.prototype.destroy.call(this),this.deregisterContentClickHandler(this.handleContentClick)},p.prototype.layout=function(){this.foundation.layout()},p.prototype.open=function(){this.foundation.open()},p.prototype.close=function(t){this.foundation.close(t)},p.prototype.getDefaultFoundation=function(){var n=this,t={addClass:function(t){n.root.classList.add(t)},getContentHeight:function(){return n.contentEl.offsetHeight},notifyClosed:function(t){n.emit(u.events.CLOSED,{reason:t})},notifyClosing:function(t){n.emit(u.events.CLOSING,{reason:t})},notifyOpened:function(){n.emit(u.events.OPENED,{})},notifyOpening:function(){n.emit(u.events.OPENING,{})},notifyActionClicked:function(t){n.emit(u.events.ACTION_CLICKED,{action:t})},releaseFocus:function(){n.focusTrap.releaseFocus()},removeClass:function(t){n.root.classList.remove(t)},setStyleProperty:function(t,e){n.root.style.setProperty(t,e)},trapFocus:function(){n.focusTrap.trapFocus()}};return new l.MDCBannerFoundation(t)},Object.defineProperty(p.prototype,"isOpen",{get:function(){return this.foundation.isOpen()},enumerable:!1,configurable:!0}),p.prototype.getText=function(){return this.textEl.textContent||""},p.prototype.setText=function(t){this.textEl.textContent=t},p.prototype.getPrimaryActionText=function(){return this.primaryActionEl.textContent||""},p.prototype.setPrimaryActionText=function(t){this.primaryActionEl.textContent=t},p.prototype.getSecondaryActionText=function(){return this.secondaryActionEl?this.secondaryActionEl.textContent||"":null},p.prototype.setSecondaryActionText=function(t){this.secondaryActionEl&&(this.secondaryActionEl.textContent=t)},p.prototype.registerContentClickHandler=function(t){this.contentEl.addEventListener("click",t)},p.prototype.deregisterContentClickHandler=function(t){this.contentEl.removeEventListener("click",t)},p);function p(){return null!==o&&o.apply(this,arguments)||this}e.MDCBanner=d},function(t,e,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(t,e,n,i){void 0===i&&(i=n),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,i){void 0===i&&(i=n),t[i]=e[n]}),r=this&&this.__exportStar||function(t,e){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(e,n)||i(e,t,n)};Object.defineProperty(e,"__esModule",{value:!0}),r(n(1),e),r(n(0),e),r(n(127),e)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},function(t,e,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(t,e,n,i){void 0===i&&(i=n),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,i){void 0===i&&(i=n),t[i]=e[n]}),r=this&&this.__exportStar||function(t,e){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(e,n)||i(e,t,n)};Object.defineProperty(e,"__esModule",{value:!0}),r(n(129),e),r(n(46),e),r(n(20),e),r(n(48),e)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},function(t,e,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(t,e,n,i){void 0===i&&(i=n),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,i){void 0===i&&(i=n),t[i]=e[n]}),r=this&&this.__exportStar||function(t,e){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(e,n)||i(e,t,n)};Object.defineProperty(e,"__esModule",{value:!0}),r(n(131),e),r(n(134),e),r(n(137),e)},function(t,e,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(t,e,n,i){void 0===i&&(i=n),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,i){void 0===i&&(i=n),t[i]=e[n]}),r=this&&this.__exportStar||function(t,e){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(e,n)||i(e,t,n)};Object.defineProperty(e,"__esModule",{value:!0}),e.trailingActionStrings=void 0,r(n(132),e),r(n(49),e),r(n(50),e),r(n(133),e);var o=n(12);Object.defineProperty(e,"trailingActionStrings",{enumerable:!0,get:function(){return o.strings}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},function(t,e,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(t,e,n,i){void 0===i&&(i=n),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,i){void 0===i&&(i=n),t[i]=e[n]}),r=this&&this.__exportStar||function(t,e){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(e,n)||i(e,t,n)};Object.defineProperty(e,"__esModule",{value:!0}),e.chipStrings=e.chipCssClasses=void 0,r(n(135),e),r(n(51),e),r(n(21),e),r(n(136),e);var o=n(13);Object.defineProperty(e,"chipCssClasses",{enumerable:!0,get:function(){return o.cssClasses}}),Object.defineProperty(e,"chipStrings",{enumerable:!0,get:function(){return o.strings}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},function(t,e,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(t,e,n,i){void 0===i&&(i=n),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,i){void 0===i&&(i=n),t[i]=e[n]}),r=this&&this.__exportStar||function(t,e){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(e,n)||i(e,t,n)};Object.defineProperty(e,"__esModule",{value:!0}),e.chipSetStrings=e.chipSetCssClasses=void 0,r(n(138),e),r(n(139),e),r(n(52),e);var o=n(53);Object.defineProperty(e,"chipSetCssClasses",{enumerable:!0,get:function(){return o.cssClasses}}),Object.defineProperty(e,"chipSetStrings",{enumerable:!0,get:function(){return o.strings}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),s=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],i=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(e,"__esModule",{value:!0}),e.MDCChipSet=void 0;var o,a=n(1),c=n(140),u=n(51),l=n(21),d=n(52),p=l.MDCChipFoundation.strings,h=p.INTERACTION_EVENT,f=p.SELECTION_EVENT,y=p.REMOVAL_EVENT,C=p.NAVIGATION_EVENT,E=d.MDCChipSetFoundation.strings.CHIP_SELECTOR,g=0,_=(o=a.MDCComponent,r(m,o),m.attachTo=function(t){return new m(t)},Object.defineProperty(m.prototype,"chips",{get:function(){return this.chipsList.slice()},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"selectedChipIds",{get:function(){return this.foundation.getSelectedChipIds()},enumerable:!1,configurable:!0}),m.prototype.initialize=function(t){void 0===t&&(t=function(t){return new u.MDCChip(t)}),this.chipFactory=t,this.chipsList=this.instantiateChips(this.chipFactory)},m.prototype.initialSyncWithDOM=function(){var e,t,n=this;try{for(var i=s(this.chipsList),r=i.next();!r.done;r=i.next()){var o=r.value;o.id&&o.selected&&this.foundation.select(o.id)}}catch(t){e={error:t}}finally{try{r&&!r.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}this.handleChipInteraction=function(t){return n.foundation.handleChipInteraction(t.detail)},this.handleChipSelection=function(t){return n.foundation.handleChipSelection(t.detail)},this.handleChipRemoval=function(t){return n.foundation.handleChipRemoval(t.detail)},this.handleChipNavigation=function(t){return n.foundation.handleChipNavigation(t.detail)},this.listen(h,this.handleChipInteraction),this.listen(f,this.handleChipSelection),this.listen(y,this.handleChipRemoval),this.listen(C,this.handleChipNavigation)},m.prototype.destroy=function(){var e,t;try{for(var n=s(this.chipsList),i=n.next();!i.done;i=n.next())i.value.destroy()}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}this.unlisten(h,this.handleChipInteraction),this.unlisten(f,this.handleChipSelection),this.unlisten(y,this.handleChipRemoval),this.unlisten(C,this.handleChipNavigation),o.prototype.destroy.call(this)},m.prototype.addChip=function(t){t.id=t.id||"mdc-chip-"+ ++g,this.chipsList.push(this.chipFactory(t))},m.prototype.getDefaultFoundation=function(){var i=this,t={announceMessage:function(t){c.announce(t)},focusChipPrimaryActionAtIndex:function(t){i.chipsList[t].focusPrimaryAction()},focusChipTrailingActionAtIndex:function(t){i.chipsList[t].focusTrailingAction()},getChipListCount:function(){return i.chips.length},getIndexOfChipById:function(t){return i.findChipIndex(t)},hasClass:function(t){return i.root.classList.contains(t)},isRTL:function(){return"rtl"===window.getComputedStyle(i.root).getPropertyValue("direction")},removeChipAtIndex:function(t){0<=t&&t=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(e,"__esModule",{value:!0}),e.MDCDataTable=void 0;var s,a=n(1),c=n(46),u=n(3),l=n(56),d=n(22),p=n(59),h=(s=a.MDCComponent,r(f,s),f.attachTo=function(t){return new f(t)},f.prototype.initialize=function(t){void 0===t&&(t=function(t){return new c.MDCCheckbox(t)}),this.checkboxFactory=t},f.prototype.initialSyncWithDOM=function(){var n=this;this.headerRow=this.root.querySelector("."+d.cssClasses.HEADER_ROW),this.handleHeaderRowCheckboxChange=function(){n.foundation.handleHeaderRowCheckboxChange()},this.headerRow.addEventListener("change",this.handleHeaderRowCheckboxChange),this.headerRowClickListener=function(t){n.handleHeaderRowClick(t)},this.headerRow.addEventListener("click",this.headerRowClickListener),this.content=this.root.querySelector("."+d.cssClasses.CONTENT),this.handleContentClick=function(t){var e=u.closest(t.target,d.selectors.ROW);e&&n.foundation.handleRowClick({rowId:n.getRowIdByRowElement(e),row:e})},this.content.addEventListener("click",this.handleContentClick),this.handleRowCheckboxChange=function(t){n.foundation.handleRowCheckboxChange(t)},this.content.addEventListener("change",this.handleRowCheckboxChange),this.layout()},f.prototype.layout=function(){this.foundation.layout()},f.prototype.getHeaderCells=function(){return[].slice.call(this.root.querySelectorAll(d.selectors.HEADER_CELL))},f.prototype.getRows=function(){return this.foundation.getRows()},f.prototype.getSelectedRowIds=function(){return this.foundation.getSelectedRowIds()},f.prototype.setSelectedRowIds=function(t){this.foundation.setSelectedRowIds(t)},f.prototype.showProgress=function(){this.getLinearProgress().open(),this.foundation.showProgress()},f.prototype.hideProgress=function(){this.foundation.hideProgress(),this.getLinearProgress().close()},f.prototype.destroy=function(){var e,t;if(this.handleHeaderRowCheckboxChange&&this.headerRow.removeEventListener("change",this.handleHeaderRowCheckboxChange),this.headerRowClickListener&&this.headerRow.removeEventListener("click",this.headerRowClickListener),this.handleRowCheckboxChange&&this.content.removeEventListener("change",this.handleRowCheckboxChange),this.headerRowCheckbox&&this.headerRowCheckbox.destroy(),this.rowCheckboxList)try{for(var n=o(this.rowCheckboxList),i=n.next();!i.done;i=n.next())i.value.destroy()}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}this.handleContentClick&&this.content.removeEventListener("click",this.handleContentClick)},f.prototype.getDefaultFoundation=function(){var i=this,t={addClass:function(t){i.root.classList.add(t)},removeClass:function(t){i.root.classList.remove(t)},getHeaderCellElements:function(){return i.getHeaderCells()},getHeaderCellCount:function(){return i.getHeaderCells().length},getAttributeByHeaderCellIndex:function(t,e){return i.getHeaderCells()[t].getAttribute(e)},setAttributeByHeaderCellIndex:function(t,e,n){i.getHeaderCells()[t].setAttribute(e,n)},setClassNameByHeaderCellIndex:function(t,e){i.getHeaderCells()[t].classList.add(e)},removeClassNameByHeaderCellIndex:function(t,e){i.getHeaderCells()[t].classList.remove(e)},notifySortAction:function(t){i.emit(d.events.SORTED,t,!0)},getTableContainerHeight:function(){var t=i.root.querySelector("."+d.cssClasses.TABLE_CONTAINER);if(!t)throw new Error("MDCDataTable: Table container element not found.");return t.getBoundingClientRect().height},getTableHeaderHeight:function(){var t=i.root.querySelector(d.selectors.HEADER_ROW);if(!t)throw new Error("MDCDataTable: Table header element not found.");return t.getBoundingClientRect().height},setProgressIndicatorStyles:function(t){var e=i.root.querySelector(d.selectors.PROGRESS_INDICATOR);if(!e)throw new Error("MDCDataTable: Progress indicator element not found.");e.style.setProperty("height",t.height),e.style.setProperty("top",t.top)},addClassAtRowIndex:function(t,e){i.getRows()[t].classList.add(e)},getRowCount:function(){return i.getRows().length},getRowElements:function(){return[].slice.call(i.root.querySelectorAll(d.selectors.ROW))},getRowIdAtIndex:function(t){return i.getRows()[t].getAttribute(d.dataAttributes.ROW_ID)},getRowIndexByChildElement:function(t){return i.getRows().indexOf(u.closest(t,d.selectors.ROW))},getSelectedRowCount:function(){return i.root.querySelectorAll(d.selectors.ROW_SELECTED).length},isCheckboxAtRowIndexChecked:function(t){return i.rowCheckboxList[t].checked},isHeaderRowCheckboxChecked:function(){return i.headerRowCheckbox.checked},isRowsSelectable:function(){return!!i.root.querySelector(d.selectors.ROW_CHECKBOX)||!!i.root.querySelector(d.selectors.HEADER_ROW_CHECKBOX)},notifyRowSelectionChanged:function(t){i.emit(d.events.ROW_SELECTION_CHANGED,{row:i.getRowByIndex(t.rowIndex),rowId:i.getRowIdByIndex(t.rowIndex),rowIndex:t.rowIndex,selected:t.selected},!0)},notifySelectedAll:function(){i.emit(d.events.SELECTED_ALL,{},!0)},notifyUnselectedAll:function(){i.emit(d.events.UNSELECTED_ALL,{},!0)},notifyRowClick:function(t){i.emit(d.events.ROW_CLICK,t,!0)},registerHeaderRowCheckbox:function(){i.headerRowCheckbox&&i.headerRowCheckbox.destroy();var t=i.root.querySelector(d.selectors.HEADER_ROW_CHECKBOX);i.headerRowCheckbox=i.checkboxFactory(t)},registerRowCheckboxes:function(){i.rowCheckboxList&&i.rowCheckboxList.forEach(function(t){t.destroy()}),i.rowCheckboxList=[],i.getRows().forEach(function(t){var e=i.checkboxFactory(t.querySelector(d.selectors.ROW_CHECKBOX));i.rowCheckboxList.push(e)})},removeClassAtRowIndex:function(t,e){i.getRows()[t].classList.remove(e)},setAttributeAtRowIndex:function(t,e,n){i.getRows()[t].setAttribute(e,n)},setHeaderRowCheckboxChecked:function(t){i.headerRowCheckbox.checked=t},setHeaderRowCheckboxIndeterminate:function(t){i.headerRowCheckbox.indeterminate=t},setRowCheckboxCheckedAtIndex:function(t,e){i.rowCheckboxList[t].checked=e},setSortStatusLabelByHeaderCellIndex:function(t,e){var n=i.getHeaderCells()[t].querySelector(d.selectors.SORT_STATUS_LABEL);n&&(n.textContent=i.getSortStatusMessageBySortValue(e))}};return new p.MDCDataTableFoundation(t)},f.prototype.getRowByIndex=function(t){return this.getRows()[t]},f.prototype.getRowIdByIndex=function(t){return this.getRowByIndex(t).getAttribute(d.dataAttributes.ROW_ID)},f.prototype.handleHeaderRowClick=function(t){var e=u.closest(t.target,d.selectors.HEADER_CELL_WITH_SORT);if(e){var n=e.getAttribute(d.dataAttributes.COLUMN_ID),i=this.getHeaderCells().indexOf(e);-1!==i&&this.foundation.handleSortAction({columnId:n,columnIndex:i,headerCell:e})}},f.prototype.getSortStatusMessageBySortValue=function(t){switch(t){case d.SortValue.ASCENDING:return d.messages.SORTED_IN_ASCENDING;case d.SortValue.DESCENDING:return d.messages.SORTED_IN_DESCENDING;default:return""}},f.prototype.getLinearProgressElement=function(){var t=this.root.querySelector("."+d.cssClasses.LINEAR_PROGRESS);if(!t)throw new Error("MDCDataTable: linear progress element is not found.");return t},f.prototype.getLinearProgress=function(){if(!this.linearProgress){var t=this.getLinearProgressElement();this.linearProgress=new l.MDCLinearProgress(t)}return this.linearProgress},f.prototype.getRowIdByRowElement=function(t){return t.getAttribute(d.dataAttributes.ROW_ID)},f);function f(){return null!==s&&s.apply(this,arguments)||this}e.MDCDataTable=h},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},function(t,e,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(t,e,n,i){void 0===i&&(i=n),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,i){void 0===i&&(i=n),t[i]=e[n]}),r=this&&this.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),o=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)"default"!==n&&Object.prototype.hasOwnProperty.call(t,n)&&i(e,t,n);return r(e,t),e},s=this&&this.__exportStar||function(t,e){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(e,n)||i(e,t,n)};Object.defineProperty(e,"__esModule",{value:!0}),e.util=void 0;var a=o(n(60));e.util=a,s(n(149),e),s(n(150),e),s(n(62),e),s(n(61),e),s(n(151),e)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=this&&this.__createBinding||(Object.create?function(t,e,n,i){void 0===i&&(i=n),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,i){void 0===i&&(i=n),t[i]=e[n]}),s=this&&this.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),a=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)"default"!==n&&Object.prototype.hasOwnProperty.call(t,n)&&o(e,t,n);return s(e,t),e},c=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],i=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(e,"__esModule",{value:!0}),e.MDCDialog=void 0;var u,l=n(1),d=n(11),p=n(3),h=n(2),f=n(61),y=a(n(60)),C=f.MDCDialogFoundation.strings,E=(u=l.MDCComponent,r(g,u),Object.defineProperty(g.prototype,"isOpen",{get:function(){return this.foundation.isOpen()},enumerable:!1,configurable:!0}),Object.defineProperty(g.prototype,"escapeKeyAction",{get:function(){return this.foundation.getEscapeKeyAction()},set:function(t){this.foundation.setEscapeKeyAction(t)},enumerable:!1,configurable:!0}),Object.defineProperty(g.prototype,"scrimClickAction",{get:function(){return this.foundation.getScrimClickAction()},set:function(t){this.foundation.setScrimClickAction(t)},enumerable:!1,configurable:!0}),Object.defineProperty(g.prototype,"autoStackButtons",{get:function(){return this.foundation.getAutoStackButtons()},set:function(t){this.foundation.setAutoStackButtons(t)},enumerable:!1,configurable:!0}),g.attachTo=function(t){return new g(t)},g.prototype.initialize=function(t){var e,n;void 0===t&&(t=function(t,e){return new d.FocusTrap(t,e)});var i=this.root.querySelector(C.CONTAINER_SELECTOR);if(!i)throw new Error("Dialog component requires a "+C.CONTAINER_SELECTOR+" container element");this.container=i,this.content=this.root.querySelector(C.CONTENT_SELECTOR),this.buttons=[].slice.call(this.root.querySelectorAll(C.BUTTON_SELECTOR)),this.defaultButton=this.root.querySelector("["+C.BUTTON_DEFAULT_ATTRIBUTE+"]"),this.focusTrapFactory=t,this.buttonRipples=[];try{for(var r=c(this.buttons),o=r.next();!o.done;o=r.next()){var s=o.value;this.buttonRipples.push(new h.MDCRipple(s))}}catch(t){e={error:t}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(e)throw e.error}}},g.prototype.initialSyncWithDOM=function(){var t=this;this.focusTrap=y.createFocusTrapInstance(this.container,this.focusTrapFactory,this.getInitialFocusEl()||void 0),this.handleClick=this.foundation.handleClick.bind(this.foundation),this.handleKeydown=this.foundation.handleKeydown.bind(this.foundation),this.handleDocumentKeydown=this.foundation.handleDocumentKeydown.bind(this.foundation),this.handleOpening=function(){document.addEventListener("keydown",t.handleDocumentKeydown)},this.handleClosing=function(){document.removeEventListener("keydown",t.handleDocumentKeydown)},this.listen("click",this.handleClick),this.listen("keydown",this.handleKeydown),this.listen(C.OPENING_EVENT,this.handleOpening),this.listen(C.CLOSING_EVENT,this.handleClosing)},g.prototype.destroy=function(){this.unlisten("click",this.handleClick),this.unlisten("keydown",this.handleKeydown),this.unlisten(C.OPENING_EVENT,this.handleOpening),this.unlisten(C.CLOSING_EVENT,this.handleClosing),this.handleClosing(),this.buttonRipples.forEach(function(t){t.destroy()}),u.prototype.destroy.call(this)},g.prototype.layout=function(){this.foundation.layout()},g.prototype.open=function(){this.foundation.open()},g.prototype.close=function(t){void 0===t&&(t=""),this.foundation.close(t)},g.prototype.getDefaultFoundation=function(){var n=this,t={addBodyClass:function(t){return document.body.classList.add(t)},addClass:function(t){return n.root.classList.add(t)},areButtonsStacked:function(){return y.areTopsMisaligned(n.buttons)},clickDefaultButton:function(){n.defaultButton&&!n.defaultButton.disabled&&n.defaultButton.click()},eventTargetMatches:function(t,e){return!!t&&p.matches(t,e)},getActionFromEvent:function(t){if(!t.target)return"";var e=p.closest(t.target,"["+C.ACTION_ATTRIBUTE+"]");return e&&e.getAttribute(C.ACTION_ATTRIBUTE)},getInitialFocusEl:function(){return n.getInitialFocusEl()},hasClass:function(t){return n.root.classList.contains(t)},isContentScrollable:function(){return y.isScrollable(n.content)},notifyClosed:function(t){return n.emit(C.CLOSED_EVENT,t?{action:t}:{})},notifyClosing:function(t){return n.emit(C.CLOSING_EVENT,t?{action:t}:{})},notifyOpened:function(){return n.emit(C.OPENED_EVENT,{})},notifyOpening:function(){return n.emit(C.OPENING_EVENT,{})},releaseFocus:function(){n.focusTrap.releaseFocus()},removeBodyClass:function(t){return document.body.classList.remove(t)},removeClass:function(t){return n.root.classList.remove(t)},reverseButtons:function(){n.buttons.reverse(),n.buttons.forEach(function(t){t.parentElement.appendChild(t)})},trapFocus:function(){n.focusTrap.trapFocus()},registerContentEventHandler:function(t,e){n.content instanceof HTMLElement&&n.content.addEventListener(t,e)},deregisterContentEventHandler:function(t,e){n.content instanceof HTMLElement&&n.content.removeEventListener(t,e)},isScrollableContentAtTop:function(){return y.isScrollAtTop(n.content)},isScrollableContentAtBottom:function(){return y.isScrollAtBottom(n.content)},registerWindowEventHandler:function(t,e){window.addEventListener(t,e)},deregisterWindowEventHandler:function(t,e){window.removeEventListener(t,e)}};return new f.MDCDialogFoundation(t)},g.prototype.getInitialFocusEl=function(){return this.root.querySelector("["+C.INITIAL_FOCUS_ATTRIBUTE+"]")},g);function g(){return null!==u&&u.apply(this,arguments)||this}e.MDCDialog=E},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},function(t,e,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(t,e,n,i){void 0===i&&(i=n),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,i){void 0===i&&(i=n),t[i]=e[n]}),r=this&&this.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),o=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)"default"!==n&&Object.prototype.hasOwnProperty.call(t,n)&&i(e,t,n);return r(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ponyfill=e.keyboard=e.focusTrap=e.events=void 0;var s=o(n(5));e.events=s;var a=o(n(11));e.focusTrap=a;var c=o(n(6));e.keyboard=c;var u=o(n(3));e.ponyfill=u},function(t,e,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(t,e,n,i){void 0===i&&(i=n),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,i){void 0===i&&(i=n),t[i]=e[n]}),r=this&&this.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),o=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)"default"!==n&&Object.prototype.hasOwnProperty.call(t,n)&&i(e,t,n);return r(e,t),e},s=this&&this.__exportStar||function(t,e){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(e,n)||i(e,t,n)};Object.defineProperty(e,"__esModule",{value:!0}),e.util=void 0;var a=o(n(63));e.util=a,s(n(154),e),s(n(155),e),s(n(65),e),s(n(26),e),s(n(66),e)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=this&&this.__createBinding||(Object.create?function(t,e,n,i){void 0===i&&(i=n),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,i){void 0===i&&(i=n),t[i]=e[n]}),s=this&&this.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),a=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)"default"!==n&&Object.prototype.hasOwnProperty.call(t,n)&&o(e,t,n);return s(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.MDCDrawer=void 0;var c,u=n(1),l=n(11),d=n(24),p=n(26),h=n(66),f=a(n(63)),y=p.MDCDismissibleDrawerFoundation.cssClasses,C=p.MDCDismissibleDrawerFoundation.strings,E=(c=u.MDCComponent,r(g,c),g.attachTo=function(t){return new g(t)},Object.defineProperty(g.prototype,"open",{get:function(){return this.foundation.isOpen()},set:function(t){t?this.foundation.open():this.foundation.close()},enumerable:!1,configurable:!0}),Object.defineProperty(g.prototype,"list",{get:function(){return this.innerList},enumerable:!1,configurable:!0}),g.prototype.initialize=function(t,e){void 0===t&&(t=function(t){return new l.FocusTrap(t)}),void 0===e&&(e=function(t){return new d.MDCList(t)});var n=this.root.querySelector(C.LIST_SELECTOR);n&&(this.innerList=e(n),this.innerList.wrapFocus=!0),this.focusTrapFactory=t},g.prototype.initialSyncWithDOM=function(){var e=this,t=y.MODAL,n=C.SCRIM_SELECTOR;this.scrim=this.root.parentNode.querySelector(n),this.scrim&&this.root.classList.contains(t)&&(this.handleScrimClick=function(){return e.foundation.handleScrimClick()},this.scrim.addEventListener("click",this.handleScrimClick),this.focusTrap=f.createFocusTrapInstance(this.root,this.focusTrapFactory)),this.handleKeydown=function(t){e.foundation.handleKeydown(t)},this.handleTransitionEnd=function(t){e.foundation.handleTransitionEnd(t)},this.listen("keydown",this.handleKeydown),this.listen("transitionend",this.handleTransitionEnd)},g.prototype.destroy=function(){this.unlisten("keydown",this.handleKeydown),this.unlisten("transitionend",this.handleTransitionEnd),this.innerList&&this.innerList.destroy();var t=y.MODAL;this.scrim&&this.handleScrimClick&&this.root.classList.contains(t)&&(this.scrim.removeEventListener("click",this.handleScrimClick),this.open=!1)},g.prototype.getDefaultFoundation=function(){var e=this,t={addClass:function(t){e.root.classList.add(t)},removeClass:function(t){e.root.classList.remove(t)},hasClass:function(t){return e.root.classList.contains(t)},elementHasClass:function(t,e){return t.classList.contains(e)},saveFocus:function(){e.previousFocus=document.activeElement},restoreFocus:function(){var t=e.previousFocus;t&&t.focus&&e.root.contains(document.activeElement)&&t.focus()},focusActiveNavigationItem:function(){var t=e.root.querySelector(C.LIST_ITEM_ACTIVATED_SELECTOR);t&&t.focus()},notifyClose:function(){e.emit(C.CLOSE_EVENT,{},!0)},notifyOpen:function(){e.emit(C.OPEN_EVENT,{},!0)},trapFocus:function(){e.focusTrap.trapFocus()},releaseFocus:function(){e.focusTrap.releaseFocus()}},n=y.DISMISSIBLE,i=y.MODAL;if(this.root.classList.contains(n))return new p.MDCDismissibleDrawerFoundation(t);if(this.root.classList.contains(i))return new h.MDCModalDrawerFoundation(t);throw new Error("MDCDrawer: Failed to instantiate component. Supported variants are "+n+" and "+i+".")},g);function g(){return null!==c&&c.apply(this,arguments)||this}e.MDCDrawer=E},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.handleKeydown=e.clearBuffer=e.isTypingInProgress=e.matchItem=e.initSortedIndex=e.initState=void 0;var C=n(6),u=n(7),E=n(64);function g(t,e){var n,i=t.nextChar,r=t.focusItemAtIndex,o=t.sortedIndexByFirstChar,s=t.focusedItemIndex,a=t.skipFocus,c=t.isItemAtIndexDisabled;return clearTimeout(e.bufferClearTimeout),e.bufferClearTimeout=setTimeout(function(){l(e)},u.numbers.TYPEAHEAD_BUFFER_CLEAR_TIMEOUT_MS),e.typeaheadBuffer=e.typeaheadBuffer+i,-1===(n=1===e.typeaheadBuffer.length?function(t,e,n,i){var r=i.typeaheadBuffer[0],o=t.get(r);if(!o)return-1;if(r===i.currentFirstChar&&o[i.sortedIndexCursor].index===e){i.sortedIndexCursor=(i.sortedIndexCursor+1)%o.length;var s=o[i.sortedIndexCursor].index;if(!n(s))return s}i.currentFirstChar=r;var a,c=-1;for(a=0;ae&&!n(o[a].index)){c=a;break}return-1===c?-1:(i.sortedIndexCursor=c,o[i.sortedIndexCursor].index)}(o,s,c,e):function(t,e,n){var i=n.typeaheadBuffer[0],r=t.get(i);if(!r)return-1;var o=r[n.sortedIndexCursor];if(0===o.text.lastIndexOf(n.typeaheadBuffer,0)&&!e(o.index))return o.index;var s=(n.sortedIndexCursor+1)%r.length,a=-1;for(;s!==n.sortedIndexCursor;){var c=r[s],u=0===c.text.lastIndexOf(n.typeaheadBuffer,0),l=!e(c.index);if(u&&l){a=s;break}s=(s+1)%r.length}return-1===a?-1:(n.sortedIndexCursor=a,r[n.sortedIndexCursor].index)}(o,c,e))||a||r(n),n}function _(t){return 0=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(e,"__esModule",{value:!0}),e.MDCSegmentedButton=void 0;var s,a=n(1),c=n(82),u=n(81),l=n(80),d=(s=a.MDCComponent,r(p,s),p.attachTo=function(t){return new p(t)},Object.defineProperty(p.prototype,"segments",{get:function(){return this.segmentsList.slice()},enumerable:!1,configurable:!0}),p.prototype.initialize=function(t){void 0===t&&(t=function(t){return new c.MDCSegmentedButtonSegment(t)}),this.segmentFactory=t,this.segmentsList=this.instantiateSegments(this.segmentFactory)},p.prototype.instantiateSegments=function(e){return[].slice.call(this.root.querySelectorAll(u.selectors.SEGMENT)).map(function(t){return e(t)})},p.prototype.initialSyncWithDOM=function(){var e=this;this.handleSelected=function(t){e.foundation.handleSelected(t.detail)},this.listen(u.events.SELECTED,this.handleSelected);for(var t=this.foundation.isSingleSelect(),n=0;n=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},o=this&&this.__read||function(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var i,r,o=n.call(t),s=[];try{for(;(void 0===e||0=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},s=this&&this.__read||function(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var i,r,o=n.call(t),s=[];try{for(;(void 0===e||0=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(e,"__esModule",{value:!0}),e.MDCTabBar=void 0;var s,a=n(1),c=n(98),u=n(101),l=n(38),d=n(107),p=d.MDCTabBarFoundation.strings,h=0,f=(s=a.MDCComponent,r(y,s),y.attachTo=function(t){return new y(t)},Object.defineProperty(y.prototype,"focusOnActivate",{set:function(t){var e,n;try{for(var i=o(this.tabList),r=i.next();!r.done;r=i.next())r.value.focusOnActivate=t}catch(t){e={error:t}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"useAutomaticActivation",{set:function(t){this.foundation.setUseAutomaticActivation(t)},enumerable:!1,configurable:!0}),y.prototype.initialize=function(t,e){void 0===t&&(t=function(t){return new u.MDCTab(t)}),void 0===e&&(e=function(t){return new c.MDCTabScroller(t)}),this.tabList=this.instantiateTabs(t),this.tabScroller=this.instantiatetabScroller(e)},y.prototype.initialSyncWithDOM=function(){var e=this;this.handleTabInteraction=function(t){e.foundation.handleTabInteraction(t)},this.handleKeyDown=function(t){e.foundation.handleKeyDown(t)},this.listen(l.MDCTabFoundation.strings.INTERACTED_EVENT,this.handleTabInteraction),this.listen("keydown",this.handleKeyDown);for(var t=0;t=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(e,"__esModule",{value:!0}),e.MDCTopAppBar=void 0;var s,a=n(1),c=n(2),u=n(9),l=n(118),d=n(119),p=n(43),h=(s=a.MDCComponent,r(f,s),f.attachTo=function(t){return new f(t)},f.prototype.initialize=function(n){void 0===n&&(n=function(t){return c.MDCRipple.attachTo(t)}),this.navIcon=this.root.querySelector(u.strings.NAVIGATION_ICON_SELECTOR);var t=[].slice.call(this.root.querySelectorAll(u.strings.ACTION_ITEM_SELECTOR));this.navIcon&&t.push(this.navIcon),this.iconRipples=t.map(function(t){var e=n(t);return e.unbounded=!0,e}),this.scrollTarget=window},f.prototype.initialSyncWithDOM=function(){this.handleNavigationClick=this.foundation.handleNavigationClick.bind(this.foundation),this.handleWindowResize=this.foundation.handleWindowResize.bind(this.foundation),this.handleTargetScroll=this.foundation.handleTargetScroll.bind(this.foundation),this.scrollTarget.addEventListener("scroll",this.handleTargetScroll),this.navIcon&&this.navIcon.addEventListener("click",this.handleNavigationClick);var t=this.root.classList.contains(u.cssClasses.FIXED_CLASS);this.root.classList.contains(u.cssClasses.SHORT_CLASS)||t||window.addEventListener("resize",this.handleWindowResize)},f.prototype.destroy=function(){var e,t;try{for(var n=o(this.iconRipples),i=n.next();!i.done;i=n.next())i.value.destroy()}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}this.scrollTarget.removeEventListener("scroll",this.handleTargetScroll),this.navIcon&&this.navIcon.removeEventListener("click",this.handleNavigationClick);var r=this.root.classList.contains(u.cssClasses.FIXED_CLASS);this.root.classList.contains(u.cssClasses.SHORT_CLASS)||r||window.removeEventListener("resize",this.handleWindowResize),s.prototype.destroy.call(this)},f.prototype.setScrollTarget=function(t){this.scrollTarget.removeEventListener("scroll",this.handleTargetScroll),this.scrollTarget=t,this.handleTargetScroll=this.foundation.handleTargetScroll.bind(this.foundation),this.scrollTarget.addEventListener("scroll",this.handleTargetScroll)},f.prototype.getDefaultFoundation=function(){var n=this,t={hasClass:function(t){return n.root.classList.contains(t)},addClass:function(t){return n.root.classList.add(t)},removeClass:function(t){return n.root.classList.remove(t)},setStyle:function(t,e){return n.root.style.setProperty(t,e)},getTopAppBarHeight:function(){return n.root.clientHeight},notifyNavigationIconClicked:function(){return n.emit(u.strings.NAVIGATION_EVENT,{})},getViewportScrollY:function(){var t=n.scrollTarget,e=n.scrollTarget;return void 0!==t.pageYOffset?t.pageYOffset:e.scrollTop},getTotalActionItems:function(){return n.root.querySelectorAll(u.strings.ACTION_ITEM_SELECTOR).length}};return this.root.classList.contains(u.cssClasses.SHORT_CLASS)?new d.MDCShortTopAppBarFoundation(t):this.root.classList.contains(u.cssClasses.FIXED_CLASS)?new l.MDCFixedTopAppBarFoundation(t):new p.MDCTopAppBarFoundation(t)},f);function f(){return null!==s&&s.apply(this,arguments)||this}e.MDCTopAppBar=h}],r.c=i,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)r.d(n,i,function(t){return e[t]}.bind(null,i));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=120);function r(t){if(i[t])return i[t].exports;var e=i[t]={i:t,l:!1,exports:{}};return n[t].call(e.exports,e,e.exports,r),e.l=!0,e.exports}var n,i}); \ No newline at end of file diff --git a/applications/emocam/js/tasks-vision@0.10.0.js b/applications/emocam/js/tasks-vision@0.10.0.js deleted file mode 100644 index 38076ab..0000000 --- a/applications/emocam/js/tasks-vision@0.10.0.js +++ /dev/null @@ -1,33082 +0,0 @@ -/** - * Skipped minification because the original files appears to be already minified. - * Original file: /npm/@mediapipe/tasks-vision@0.10.0/vision_bundle.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -var commonjsGlobal = "undefined" != typeof globalThis ? globalThis : "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof self ? self : {} - , vision = {} - , fileset_resolver = {}; -let supportsSimd; -Object.defineProperty(fileset_resolver, "__esModule", { - value: !0 -}), -fileset_resolver.FilesetResolver = void 0; -const WASM_SIMD_CHECK = new Uint8Array([0, 97, 115, 109, 1, 0, 0, 0, 1, 5, 1, 96, 0, 1, 123, 3, 2, 1, 0, 10, 10, 1, 8, 0, 65, 0, 253, 15, 253, 98, 11]); -async function isSimdSupported() { - if (void 0 === supportsSimd) - try { - await WebAssembly.instantiate(WASM_SIMD_CHECK), - supportsSimd = !0 - } catch (e) { - supportsSimd = !1 - } - return supportsSimd -} -async function createFileset(e, t="") { - const r = await isSimdSupported() ? "wasm_internal" : "wasm_nosimd_internal"; - console.log(e, t, r) - return { - wasmLoaderPath: `js/wasm/vision_wasm_internal.js`, - wasmBinaryPath: `js/wasm/vision_wasm_internal.wasm` - } -} -class FilesetResolver$1 { - static isSimdSupported() { - return isSimdSupported() - } - static forAudioTasks(e) { - return createFileset("audio", e) - } - static forTextTasks(e) { - return createFileset("text", e) - } - static forVisionTasks(e) { - return createFileset("vision", e) - } -} -fileset_resolver.FilesetResolver = FilesetResolver$1; -var drawing_utils = {}; -Object.defineProperty(drawing_utils, "__esModule", { - value: !0 -}), -drawing_utils.DrawingUtils = void 0; -const DEFAULT_OPTIONS = { - color: "white", - lineWidth: 4, - radius: 6 -}; -function addDefaultOptions(e) { - return e = e || {}, - Object.assign(Object.assign(Object.assign({}, DEFAULT_OPTIONS), { - fillColor: e.color - }), e) -} -function resolve(e, t) { - return e instanceof Function ? e(t) : e -} -class DrawingUtils$1 { - constructor(e) { - this.ctx = e - } - static clamp(e, t, r) { - const o = Math.min(t, r) - , i = Math.max(t, r); - return Math.max(o, Math.min(i, e)) - } - static lerp(e, t, r, o, i) { - const a = o * (1 - (e - t) / (r - t)) + i * (1 - (r - e) / (r - t)); - return DrawingUtils$1.clamp(a, o, i) - } - drawLandmarks(e, t) { - if (!e) - return; - const r = this.ctx - , o = addDefaultOptions(t); - r.save(); - const i = r.canvas; - let a = 0; - for (const t of e) { - r.fillStyle = resolve(o.fillColor, { - index: a, - from: t - }), - r.strokeStyle = resolve(o.color, { - index: a, - from: t - }), - r.lineWidth = resolve(o.lineWidth, { - index: a, - from: t - }); - const e = new Path2D; - e.arc(t.x * i.width, t.y * i.height, resolve(o.radius, { - index: a, - from: t - }), 0, 2 * Math.PI), - r.fill(e), - r.stroke(e), - ++a - } - r.restore() - } - drawConnectors(e, t, r) { - if (!e || !t) - return; - const o = this.ctx - , i = addDefaultOptions(r); - o.save(); - const a = o.canvas; - let n = 0; - for (const r of t) { - o.beginPath(); - const t = e[r.start] - , s = e[r.end]; - t && s && (o.strokeStyle = resolve(i.color, { - index: n, - from: t, - to: s - }), - o.lineWidth = resolve(i.lineWidth, { - index: n, - from: t, - to: s - }), - o.moveTo(t.x * a.width, t.y * a.height), - o.lineTo(s.x * a.width, s.y * a.height)), - ++n, - o.stroke() - } - o.restore() - } - drawBoundingBox(e, t) { - const r = this.ctx - , o = addDefaultOptions(t); - r.save(), - r.beginPath(), - r.lineWidth = resolve(o.lineWidth, {}), - r.strokeStyle = resolve(o.color, {}), - r.fillStyle = resolve(o.fillColor, {}), - r.moveTo(e.originX, e.originY), - r.lineTo(e.originX + e.width, e.originY), - r.lineTo(e.originX + e.width, e.originY + e.height), - r.lineTo(e.originX, e.originY + e.height), - r.lineTo(e.originX, e.originY), - r.stroke(), - r.fill(), - r.restore() - } -} -drawing_utils.DrawingUtils = DrawingUtils$1; -var image = {} - , image_shader_context = {}; -Object.defineProperty(image_shader_context, "__esModule", { - value: !0 -}), -image_shader_context.MPImageShaderContext = image_shader_context.assertNotNull = void 0; -const VERTEX_SHADER = "\n attribute vec2 aVertex;\n attribute vec2 aTex;\n varying vec2 vTex;\n void main(void) {\n gl_Position = vec4(aVertex, 0.0, 1.0);\n vTex = aTex;\n }" - , FRAGMENT_SHADER = "\n precision mediump float;\n varying vec2 vTex;\n uniform sampler2D inputTexture;\n void main() {\n gl_FragColor = texture2D(inputTexture, vTex);\n }\n "; -function assertNotNull(e, t) { - if (null === e) - throw new Error(`Unable to obtain required WebGL resource: ${t}`); - return e -} -image_shader_context.assertNotNull = assertNotNull; -class MPImageShaderBuffers { - constructor(e, t, r, o) { - this.gl = e, - this.vertexArrayObject = t, - this.vertexBuffer = r, - this.textureBuffer = o - } - bind() { - this.gl.bindVertexArray(this.vertexArrayObject) - } - unbind() { - this.gl.bindVertexArray(null) - } - close() { - this.gl.deleteVertexArray(this.vertexArrayObject), - this.gl.deleteBuffer(this.vertexBuffer), - this.gl.deleteBuffer(this.textureBuffer) - } -} -class MPImageShaderContext { - compileShader(e, t) { - const r = this.gl - , o = assertNotNull(r.createShader(t), "Failed to create WebGL shader"); - if (r.shaderSource(o, e), - r.compileShader(o), - !r.getShaderParameter(o, r.COMPILE_STATUS)) { - const e = r.getShaderInfoLog(o); - throw new Error(`Could not compile WebGL shader: ${e}`) - } - return r.attachShader(this.program, o), - o - } - setupShaders() { - const e = this.gl; - this.program = assertNotNull(e.createProgram(), "Failed to create WebGL program"), - this.vertexShader = this.compileShader(VERTEX_SHADER, e.VERTEX_SHADER), - this.fragmentShader = this.compileShader(FRAGMENT_SHADER, e.FRAGMENT_SHADER), - e.linkProgram(this.program); - if (!e.getProgramParameter(this.program, e.LINK_STATUS)) { - const t = e.getProgramInfoLog(this.program); - throw new Error(`Error during program linking: ${t}`) - } - this.aVertex = e.getAttribLocation(this.program, "aVertex"), - this.aTex = e.getAttribLocation(this.program, "aTex") - } - createBuffers(e) { - const t = this.gl - , r = assertNotNull(t.createVertexArray(), "Failed to create vertex array"); - t.bindVertexArray(r); - const o = assertNotNull(t.createBuffer(), "Failed to create buffer"); - t.bindBuffer(t.ARRAY_BUFFER, o), - t.enableVertexAttribArray(this.aVertex), - t.vertexAttribPointer(this.aVertex, 2, t.FLOAT, !1, 0, 0), - t.bufferData(t.ARRAY_BUFFER, new Float32Array([-1, -1, -1, 1, 1, 1, 1, -1]), t.STATIC_DRAW); - const i = assertNotNull(t.createBuffer(), "Failed to create buffer"); - t.bindBuffer(t.ARRAY_BUFFER, i), - t.enableVertexAttribArray(this.aTex), - t.vertexAttribPointer(this.aTex, 2, t.FLOAT, !1, 0, 0); - const a = e ? [0, 1, 0, 0, 1, 0, 1, 1] : [0, 0, 0, 1, 1, 1, 1, 0]; - return t.bufferData(t.ARRAY_BUFFER, new Float32Array(a), t.STATIC_DRAW), - t.bindBuffer(t.ARRAY_BUFFER, null), - t.bindVertexArray(null), - new MPImageShaderBuffers(t,r,o,i) - } - getShaderBuffers(e) { - return e ? (this.shaderBuffersFlipVertically || (this.shaderBuffersFlipVertically = this.createBuffers(!0)), - this.shaderBuffersFlipVertically) : (this.shaderBuffersPassthrough || (this.shaderBuffersPassthrough = this.createBuffers(!1)), - this.shaderBuffersPassthrough) - } - maybeInitGL(e) { - if (this.gl) { - if (e !== this.gl) - throw new Error("Cannot change GL context once initialized") - } else - this.gl = e - } - run(e, t, r) { - this.maybeInitGL(e), - this.program || this.setupShaders(); - const o = this.getShaderBuffers(t); - e.useProgram(this.program), - o.bind(); - const i = r(); - return o.unbind(), - i - } - bindFramebuffer(e, t) { - this.maybeInitGL(e), - this.framebuffer || (this.framebuffer = assertNotNull(e.createFramebuffer(), "Failed to create framebuffe.")), - e.bindFramebuffer(e.FRAMEBUFFER, this.framebuffer), - e.framebufferTexture2D(e.FRAMEBUFFER, e.COLOR_ATTACHMENT0, e.TEXTURE_2D, t, 0) - } - unbindFramebuffer() { - var e; - null === (e = this.gl) || void 0 === e || e.bindFramebuffer(this.gl.FRAMEBUFFER, null) - } - close() { - if (this.program) { - const e = this.gl; - e.deleteProgram(this.program), - e.deleteShader(this.vertexShader), - e.deleteShader(this.fragmentShader) - } - this.framebuffer && this.gl.deleteFramebuffer(this.framebuffer), - this.shaderBuffersPassthrough && this.shaderBuffersPassthrough.close(), - this.shaderBuffersFlipVertically && this.shaderBuffersFlipVertically.close() - } -} -image_shader_context.MPImageShaderContext = MPImageShaderContext, -Object.defineProperty(image, "__esModule", { - value: !0 -}), -image.MPImage = void 0; -const image_shader_context_1$2 = image_shader_context; -var MPImageType; -!function(e) { - e[e.IMAGE_DATA = 0] = "IMAGE_DATA", - e[e.IMAGE_BITMAP = 1] = "IMAGE_BITMAP", - e[e.WEBGL_TEXTURE = 2] = "WEBGL_TEXTURE" -}(MPImageType || (MPImageType = {})); -class MPImage$1 { - constructor(e, t, r, o, i, a, n) { - this.containers = e, - this.ownsImageBitmap = t, - this.ownsWebGLTexture = r, - this.canvas = o, - this.shaderContext = i, - this.width = a, - this.height = n - } - hasImageData() { - return !!this.getContainer(MPImageType.IMAGE_DATA) - } - hasImageBitmap() { - return !!this.getContainer(MPImageType.IMAGE_BITMAP) - } - hasWebGLTexture() { - return !!this.getContainer(MPImageType.WEBGL_TEXTURE) - } - getAsImageData() { - return this.convertToImageData() - } - getAsImageBitmap() { - return this.convertToImageBitmap() - } - getAsWebGLTexture() { - return this.convertToWebGLTexture() - } - getContainer(e) { - switch (e) { - case MPImageType.IMAGE_DATA: - return this.containers.find((e=>e instanceof ImageData)); - case MPImageType.IMAGE_BITMAP: - return this.containers.find((e=>"undefined" != typeof ImageBitmap && e instanceof ImageBitmap)); - case MPImageType.WEBGL_TEXTURE: - return this.containers.find((e=>"undefined" != typeof WebGLTexture && e instanceof WebGLTexture)); - default: - throw new Error(`Type is not supported: ${e}`) - } - } - clone() { - const e = []; - for (const t of this.containers) { - let r; - if (t instanceof ImageData) - r = new ImageData(t.data,this.width,this.height); - else if (t instanceof WebGLTexture) { - const e = this.getGL() - , t = this.getShaderContext(); - e.activeTexture(e.TEXTURE1), - r = (0, - image_shader_context_1$2.assertNotNull)(e.createTexture(), "Failed to create texture"), - e.bindTexture(e.TEXTURE_2D, r), - e.texImage2D(e.TEXTURE_2D, 0, e.RGBA, this.width, this.height, 0, e.RGBA, e.UNSIGNED_BYTE, null), - t.bindFramebuffer(e, r), - t.run(e, !1, (()=>{ - this.bindTexture(), - e.clearColor(0, 0, 0, 0), - e.clear(e.COLOR_BUFFER_BIT), - e.drawArrays(e.TRIANGLE_FAN, 0, 4), - this.unbindTexture() - } - )), - t.unbindFramebuffer(), - this.unbindTexture() - } else { - if (!(t instanceof ImageBitmap)) - throw new Error(`Type is not supported: ${t}`); - this.convertToWebGLTexture(), - this.bindTexture(), - r = this.copyTextureToBitmap(), - this.unbindTexture() - } - e.push(r) - } - return new MPImage$1(e,this.hasImageBitmap(),this.hasWebGLTexture(),this.canvas,this.shaderContext,this.width,this.height) - } - getOffscreenCanvas() { - if (!(this.canvas instanceof OffscreenCanvas)) - throw new Error("Conversion to ImageBitmap requires that the MediaPipe Tasks is initialized with an OffscreenCanvas"); - return this.canvas - } - getGL() { - if (!this.canvas) - throw new Error("Conversion to different image formats require that a canvas is passed when iniitializing the image."); - return this.gl || (this.gl = (0, - image_shader_context_1$2.assertNotNull)(this.canvas.getContext("webgl2"), "You cannot use a canvas that is already bound to a different type of rendering context.")), - this.gl - } - getShaderContext() { - return this.shaderContext || (this.shaderContext = new image_shader_context_1$2.MPImageShaderContext), - this.shaderContext - } - convertToImageBitmap() { - let e = this.getContainer(MPImageType.IMAGE_BITMAP); - return e || (this.convertToWebGLTexture(), - e = this.convertWebGLTextureToImageBitmap(), - this.containers.push(e), - this.ownsImageBitmap = !0), - e - } - convertToImageData() { - let e = this.getContainer(MPImageType.IMAGE_DATA); - if (!e) { - const t = this.getGL() - , r = this.getShaderContext() - , o = new Uint8Array(this.width * this.height * 4) - , i = this.convertToWebGLTexture(); - r.bindFramebuffer(t, i), - t.readPixels(0, 0, this.width, this.height, t.RGBA, t.UNSIGNED_BYTE, o), - r.unbindFramebuffer(), - e = new ImageData(new Uint8ClampedArray(o.buffer),this.width,this.height), - this.containers.push(e) - } - return e - } - convertToWebGLTexture() { - let e = this.getContainer(MPImageType.WEBGL_TEXTURE); - if (!e) { - const t = this.getGL(); - e = this.bindTexture(); - const r = this.getContainer(MPImageType.IMAGE_BITMAP) || this.convertToImageData(); - t.texImage2D(t.TEXTURE_2D, 0, t.RGBA, t.RGBA, t.UNSIGNED_BYTE, r), - this.unbindTexture() - } - return e - } - bindTexture() { - const e = this.getGL(); - e.viewport(0, 0, this.width, this.height), - e.activeTexture(e.TEXTURE0); - let t = this.getContainer(MPImageType.WEBGL_TEXTURE); - return t || (t = (0, - image_shader_context_1$2.assertNotNull)(e.createTexture(), "Failed to create texture"), - this.containers.push(t), - this.ownsWebGLTexture = !0), - e.bindTexture(e.TEXTURE_2D, t), - e.texParameteri(e.TEXTURE_2D, e.TEXTURE_WRAP_S, e.CLAMP_TO_EDGE), - e.texParameteri(e.TEXTURE_2D, e.TEXTURE_WRAP_T, e.CLAMP_TO_EDGE), - e.texParameteri(e.TEXTURE_2D, e.TEXTURE_MIN_FILTER, e.LINEAR), - e.texParameteri(e.TEXTURE_2D, e.TEXTURE_MAG_FILTER, e.LINEAR), - t - } - unbindTexture() { - this.gl.bindTexture(this.gl.TEXTURE_2D, null) - } - copyTextureToBitmap() { - const e = this.getGL(); - return this.getShaderContext().run(e, !0, (()=>this.runWithResizedCanvas((()=>(e.bindFramebuffer(e.FRAMEBUFFER, null), - e.clearColor(0, 0, 0, 0), - e.clear(e.COLOR_BUFFER_BIT), - e.drawArrays(e.TRIANGLE_FAN, 0, 4), - this.getOffscreenCanvas().transferToImageBitmap()))))) - } - convertWebGLTextureToImageBitmap() { - this.bindTexture(); - const e = this.copyTextureToBitmap(); - return this.unbindTexture(), - e - } - runWithResizedCanvas(e) { - const t = this.canvas; - if (t.width === this.width && t.height === this.height) - return e(); - const r = t.width - , o = t.height; - t.width = this.width, - t.height = this.height; - const i = e(); - return t.width = r, - t.height = o, - i - } - close() { - if (this.ownsImageBitmap && this.getContainer(MPImageType.IMAGE_BITMAP).close(), - this.ownsWebGLTexture) { - this.getGL().deleteTexture(this.getContainer(MPImageType.WEBGL_TEXTURE)) - } - } -} -image.MPImage = MPImage$1; -var mask = {}; -Object.defineProperty(mask, "__esModule", { - value: !0 -}), -mask.MPMask = void 0; -const image_shader_context_1$1 = image_shader_context; -var MPMaskType; -!function(e) { - e[e.UINT8_ARRAY = 0] = "UINT8_ARRAY", - e[e.FLOAT32_ARRAY = 1] = "FLOAT32_ARRAY", - e[e.WEBGL_TEXTURE = 2] = "WEBGL_TEXTURE" -}(MPMaskType || (MPMaskType = {})); -class MPMask$1 { - constructor(e, t, r, o, i, a) { - this.containers = e, - this.ownsWebGLTexture = t, - this.canvas = r, - this.shaderContext = o, - this.width = i, - this.height = a - } - hasUint8Array() { - return !!this.getContainer(MPMaskType.UINT8_ARRAY) - } - hasFloat32Array() { - return !!this.getContainer(MPMaskType.FLOAT32_ARRAY) - } - hasWebGLTexture() { - return !!this.getContainer(MPMaskType.WEBGL_TEXTURE) - } - getAsUint8Array() { - return this.convertToUint8Array() - } - getAsFloat32Array() { - return this.convertToFloat32Array() - } - getAsWebGLTexture() { - return this.convertToWebGLTexture() - } - getContainer(e) { - switch (e) { - case MPMaskType.UINT8_ARRAY: - return this.containers.find((e=>e instanceof Uint8Array)); - case MPMaskType.FLOAT32_ARRAY: - return this.containers.find((e=>e instanceof Float32Array)); - case MPMaskType.WEBGL_TEXTURE: - return this.containers.find((e=>"undefined" != typeof WebGLTexture && e instanceof WebGLTexture)); - default: - throw new Error(`Type is not supported: ${e}`) - } - } - clone() { - const e = []; - for (const t of this.containers) { - let r; - if (t instanceof Uint8Array) - r = new Uint8Array(t); - else if (t instanceof Float32Array) - r = new Float32Array(t); - else { - if (!(t instanceof WebGLTexture)) - throw new Error(`Type is not supported: ${t}`); - { - const e = this.getGL() - , t = this.getShaderContext(); - e.activeTexture(e.TEXTURE1), - r = (0, - image_shader_context_1$1.assertNotNull)(e.createTexture(), "Failed to create texture"), - e.bindTexture(e.TEXTURE_2D, r), - e.texImage2D(e.TEXTURE_2D, 0, e.R32F, this.width, this.height, 0, e.RED, e.FLOAT, null), - e.bindTexture(e.TEXTURE_2D, null), - t.bindFramebuffer(e, r), - t.run(e, !1, (()=>{ - this.bindTexture(), - e.clearColor(0, 0, 0, 0), - e.clear(e.COLOR_BUFFER_BIT), - e.drawArrays(e.TRIANGLE_FAN, 0, 4), - this.unbindTexture() - } - )), - t.unbindFramebuffer(), - this.unbindTexture() - } - } - e.push(r) - } - return new MPMask$1(e,this.hasWebGLTexture(),this.canvas,this.shaderContext,this.width,this.height) - } - getGL() { - if (!this.canvas) - throw new Error("Conversion to different image formats require that a canvas is passed when iniitializing the image."); - this.gl || (this.gl = (0, - image_shader_context_1$1.assertNotNull)(this.canvas.getContext("webgl2"), "You cannot use a canvas that is already bound to a different type of rendering context.")); - if (!this.gl.getExtension("EXT_color_buffer_float")) - throw new Error("Missing required EXT_color_buffer_float extension"); - return this.gl - } - getShaderContext() { - return this.shaderContext || (this.shaderContext = new image_shader_context_1$1.MPImageShaderContext), - this.shaderContext - } - convertToFloat32Array() { - let e = this.getContainer(MPMaskType.FLOAT32_ARRAY); - if (!e) { - const t = this.getContainer(MPMaskType.UINT8_ARRAY); - if (t) - e = new Float32Array(t).map((e=>e / 255)); - else { - const t = this.getGL() - , r = this.getShaderContext(); - e = new Float32Array(this.width * this.height); - const o = this.convertToWebGLTexture(); - r.bindFramebuffer(t, o), - t.readPixels(0, 0, this.width, this.height, t.RED, t.FLOAT, e), - r.unbindFramebuffer() - } - this.containers.push(e) - } - return e - } - convertToUint8Array() { - let e = this.getContainer(MPMaskType.UINT8_ARRAY); - if (!e) { - const t = this.convertToFloat32Array(); - e = new Uint8Array(t.map((e=>255 * e))), - this.containers.push(e) - } - return e - } - convertToWebGLTexture() { - let e = this.getContainer(MPMaskType.WEBGL_TEXTURE); - if (!e) { - const t = this.getGL(); - e = this.bindTexture(); - const r = this.convertToFloat32Array(); - t.texImage2D(t.TEXTURE_2D, 0, t.R32F, this.width, this.height, 0, t.RED, t.FLOAT, r), - this.unbindTexture() - } - return e - } - bindTexture() { - const e = this.getGL(); - e.viewport(0, 0, this.width, this.height), - e.activeTexture(e.TEXTURE0); - let t = this.getContainer(MPMaskType.WEBGL_TEXTURE); - return t || (t = (0, - image_shader_context_1$1.assertNotNull)(e.createTexture(), "Failed to create texture"), - this.containers.push(t), - this.ownsWebGLTexture = !0), - e.bindTexture(e.TEXTURE_2D, t), - e.texParameteri(e.TEXTURE_2D, e.TEXTURE_WRAP_S, e.CLAMP_TO_EDGE), - e.texParameteri(e.TEXTURE_2D, e.TEXTURE_WRAP_T, e.CLAMP_TO_EDGE), - e.texParameteri(e.TEXTURE_2D, e.TEXTURE_MIN_FILTER, e.NEAREST), - e.texParameteri(e.TEXTURE_2D, e.TEXTURE_MAG_FILTER, e.NEAREST), - t - } - unbindTexture() { - this.gl.bindTexture(this.gl.TEXTURE_2D, null) - } - close() { - if (this.ownsWebGLTexture) { - this.getGL().deleteTexture(this.getContainer(MPMaskType.WEBGL_TEXTURE)) - } - } -} -mask.MPMask = MPMask$1; -var face_detector = {} - , calculator_pb = {} - , googleProtobuf = {}; -(function(exports) { - var $jscomp = $jscomp || {}; - $jscomp.scope = {}, - $jscomp.findInternal = function(e, t, r) { - e instanceof String && (e = String(e)); - for (var o = e.length, i = 0; i < o; i++) { - var a = e[i]; - if (t.call(r, a, i, e)) - return { - i: i, - v: a - } - } - return { - i: -1, - v: void 0 - } - } - , - $jscomp.ASSUME_ES5 = !1, - $jscomp.ASSUME_NO_NATIVE_MAP = !1, - $jscomp.ASSUME_NO_NATIVE_SET = !1, - $jscomp.SIMPLE_FROUND_POLYFILL = !1, - $jscomp.defineProperty = $jscomp.ASSUME_ES5 || "function" == typeof Object.defineProperties ? Object.defineProperty : function(e, t, r) { - e != Array.prototype && e != Object.prototype && (e[t] = r.value) - } - , - $jscomp.getGlobal = function(e) { - return "undefined" != typeof window && window === e ? e : void 0 !== commonjsGlobal && null != commonjsGlobal ? commonjsGlobal : e - } - , - $jscomp.global = $jscomp.getGlobal(commonjsGlobal), - $jscomp.polyfill = function(e, t, r, o) { - if (t) { - for (r = $jscomp.global, - e = e.split("."), - o = 0; o < e.length - 1; o++) { - var i = e[o]; - i in r || (r[i] = {}), - r = r[i] - } - (t = t(o = r[e = e[e.length - 1]])) != o && null != t && $jscomp.defineProperty(r, e, { - configurable: !0, - writable: !0, - value: t - }) - } - } - , - $jscomp.polyfill("Array.prototype.findIndex", (function(e) { - return e || function(e, t) { - return $jscomp.findInternal(this, e, t).i - } - } - ), "es6", "es3"), - $jscomp.checkStringArgs = function(e, t, r) { - if (null == e) - throw new TypeError("The 'this' value for String.prototype." + r + " must not be null or undefined"); - if (t instanceof RegExp) - throw new TypeError("First argument to String.prototype." + r + " must not be a regular expression"); - return e + "" - } - , - $jscomp.polyfill("String.prototype.endsWith", (function(e) { - return e || function(e, t) { - var r = $jscomp.checkStringArgs(this, e, "endsWith"); - e += "", - void 0 === t && (t = r.length), - t = Math.max(0, Math.min(0 | t, r.length)); - for (var o = e.length; 0 < o && 0 < t; ) - if (r[--t] != e[--o]) - return !1; - return 0 >= o - } - } - ), "es6", "es3"), - $jscomp.polyfill("Array.prototype.find", (function(e) { - return e || function(e, t) { - return $jscomp.findInternal(this, e, t).v - } - } - ), "es6", "es3"), - $jscomp.polyfill("String.prototype.startsWith", (function(e) { - return e || function(e, t) { - var r = $jscomp.checkStringArgs(this, e, "startsWith"); - e += ""; - var o = r.length - , i = e.length; - t = Math.max(0, Math.min(0 | t, r.length)); - for (var a = 0; a < i && t < o; ) - if (r[t++] != e[a++]) - return !1; - return a >= i - } - } - ), "es6", "es3"), - $jscomp.polyfill("String.prototype.repeat", (function(e) { - return e || function(e) { - var t = $jscomp.checkStringArgs(this, null, "repeat"); - if (0 > e || 1342177279 < e) - throw new RangeError("Invalid count value"); - e |= 0; - for (var r = ""; e; ) - 1 & e && (r += t), - (e >>>= 1) && (t += t); - return r - } - } - ), "es6", "es3"); - var COMPILED = !0 - , goog = goog || {}; - goog.global = commonjsGlobal || self, - goog.exportPath_ = function(e, t, r) { - e = e.split("."), - r = r || goog.global, - e[0]in r || void 0 === r.execScript || r.execScript("var " + e[0]); - for (var o; e.length && (o = e.shift()); ) - e.length || void 0 === t ? r = r[o] && r[o] !== Object.prototype[o] ? r[o] : r[o] = {} : r[o] = t - } - , - goog.define = function(e, t) { - return t - } - , - goog.FEATURESET_YEAR = 2012, - goog.DEBUG = !0, - goog.LOCALE = "en", - goog.TRUSTED_SITE = !0, - goog.STRICT_MODE_COMPATIBLE = !1, - goog.DISALLOW_TEST_ONLY_CODE = !goog.DEBUG, - goog.ENABLE_CHROME_APP_SAFE_SCRIPT_LOADING = !1, - goog.provide = function(e) { - if (goog.isInModuleLoader_()) - throw Error("goog.provide cannot be used within a module."); - goog.constructNamespace_(e) - } - , - goog.constructNamespace_ = function(e, t) { - goog.exportPath_(e, t) - } - , - goog.getScriptNonce = function(e) { - return e && e != goog.global ? goog.getScriptNonce_(e.document) : (null === goog.cspNonce_ && (goog.cspNonce_ = goog.getScriptNonce_(goog.global.document)), - goog.cspNonce_) - } - , - goog.NONCE_PATTERN_ = /^[\w+/_-]+[=]{0,2}$/, - goog.cspNonce_ = null, - goog.getScriptNonce_ = function(e) { - return (e = e.querySelector && e.querySelector("script[nonce]")) && (e = e.nonce || e.getAttribute("nonce")) && goog.NONCE_PATTERN_.test(e) ? e : "" - } - , - goog.VALID_MODULE_RE_ = /^[a-zA-Z_$][a-zA-Z0-9._$]*$/, - goog.module = function(e) { - if ("string" != typeof e || !e || -1 == e.search(goog.VALID_MODULE_RE_)) - throw Error("Invalid module identifier"); - if (!goog.isInGoogModuleLoader_()) - throw Error("Module " + e + " has been loaded incorrectly. Note, modules cannot be loaded as normal scripts. They require some kind of pre-processing step. You're likely trying to load a module via a script tag or as a part of a concatenated bundle without rewriting the module. For more info see: https://github.com/google/closure-library/wiki/goog.module:-an-ES6-module-like-alternative-to-goog.provide."); - if (goog.moduleLoaderState_.moduleName) - throw Error("goog.module may only be called once per module."); - goog.moduleLoaderState_.moduleName = e - } - , - goog.module.get = function(e) { - return goog.module.getInternal_(e) - } - , - goog.module.getInternal_ = function(e) { - return null - } - , - goog.ModuleType = { - ES6: "es6", - GOOG: "goog" - }, - goog.moduleLoaderState_ = null, - goog.isInModuleLoader_ = function() { - return goog.isInGoogModuleLoader_() || goog.isInEs6ModuleLoader_() - } - , - goog.isInGoogModuleLoader_ = function() { - return !!goog.moduleLoaderState_ && goog.moduleLoaderState_.type == goog.ModuleType.GOOG - } - , - goog.isInEs6ModuleLoader_ = function() { - if (goog.moduleLoaderState_ && goog.moduleLoaderState_.type == goog.ModuleType.ES6) - return !0; - var e = goog.global.$jscomp; - return !!e && ("function" == typeof e.getCurrentModulePath && !!e.getCurrentModulePath()) - } - , - goog.module.declareLegacyNamespace = function() { - goog.moduleLoaderState_.declareLegacyNamespace = !0 - } - , - goog.declareModuleId = function(e) { - if (goog.moduleLoaderState_) - goog.moduleLoaderState_.moduleName = e; - else { - var t = goog.global.$jscomp; - if (!t || "function" != typeof t.getCurrentModulePath) - throw Error('Module with namespace "' + e + '" has been loaded incorrectly.'); - t = t.require(t.getCurrentModulePath()), - goog.loadedModules_[e] = { - exports: t, - type: goog.ModuleType.ES6, - moduleId: e - } - } - } - , - goog.setTestOnly = function(e) { - if (goog.DISALLOW_TEST_ONLY_CODE) - throw e = e || "", - Error("Importing test-only code into non-debug environment" + (e ? ": " + e : ".")) - } - , - goog.forwardDeclare = function(e) {} - , - goog.getObjectByName = function(e, t) { - e = e.split("."), - t = t || goog.global; - for (var r = 0; r < e.length; r++) - if (null == (t = t[e[r]])) - return null; - return t - } - , - goog.globalize = function(e, t) { - for (var r in t = t || goog.global, - e) - t[r] = e[r] - } - , - goog.addDependency = function(e, t, r, o) {} - , - goog.ENABLE_DEBUG_LOADER = !0, - goog.logToConsole_ = function(e) { - goog.global.console && goog.global.console.error(e) - } - , - goog.require = function(e) {} - , - goog.requireType = function(e) { - return {} - } - , - goog.basePath = "", - goog.nullFunction = function() {} - , - goog.abstractMethod = function() { - throw Error("unimplemented abstract method") - } - , - goog.addSingletonGetter = function(e) { - e.instance_ = void 0, - e.getInstance = function() { - return e.instance_ ? e.instance_ : (goog.DEBUG && (goog.instantiatedSingletons_[goog.instantiatedSingletons_.length] = e), - e.instance_ = new e) - } - } - , - goog.instantiatedSingletons_ = [], - goog.LOAD_MODULE_USING_EVAL = !0, - goog.SEAL_MODULE_EXPORTS = goog.DEBUG, - goog.loadedModules_ = {}, - goog.DEPENDENCIES_ENABLED = !COMPILED, - goog.TRANSPILE = "detect", - goog.ASSUME_ES_MODULES_TRANSPILED = !1, - goog.TRANSPILE_TO_LANGUAGE = "", - goog.TRANSPILER = "transpile.js", - goog.hasBadLetScoping = null, - goog.useSafari10Workaround = function() { - if (null == goog.hasBadLetScoping) { - try { - var a = !eval('"use strict";let x = 1; function f() { return typeof x; };f() == "number";') - } catch (e) { - a = !1 - } - goog.hasBadLetScoping = a - } - return goog.hasBadLetScoping - } - , - goog.workaroundSafari10EvalBug = function(e) { - return "(function(){" + e + "\n;})();\n" - } - , - goog.loadModule = function(e) { - var t = goog.moduleLoaderState_; - try { - if (goog.moduleLoaderState_ = { - moduleName: "", - declareLegacyNamespace: !1, - type: goog.ModuleType.GOOG - }, - goog.isFunction(e)) - var r = e.call(void 0, {}); - else { - if ("string" != typeof e) - throw Error("Invalid module definition"); - goog.useSafari10Workaround() && (e = goog.workaroundSafari10EvalBug(e)), - r = goog.loadModuleFromSource_.call(void 0, e) - } - var o = goog.moduleLoaderState_.moduleName; - if ("string" != typeof o || !o) - throw Error('Invalid module name "' + o + '"'); - goog.moduleLoaderState_.declareLegacyNamespace ? goog.constructNamespace_(o, r) : goog.SEAL_MODULE_EXPORTS && Object.seal && "object" == typeof r && null != r && Object.seal(r), - goog.loadedModules_[o] = { - exports: r, - type: goog.ModuleType.GOOG, - moduleId: goog.moduleLoaderState_.moduleName - } - } finally { - goog.moduleLoaderState_ = t - } - } - , - goog.loadModuleFromSource_ = function(a) { - return eval(a), - {} - } - , - goog.normalizePath_ = function(e) { - e = e.split("/"); - for (var t = 0; t < e.length; ) - "." == e[t] ? e.splice(t, 1) : t && ".." == e[t] && e[t - 1] && ".." != e[t - 1] ? e.splice(--t, 2) : t++; - return e.join("/") - } - , - goog.loadFileSync_ = function(e) { - if (goog.global.CLOSURE_LOAD_FILE_SYNC) - return goog.global.CLOSURE_LOAD_FILE_SYNC(e); - try { - var t = new goog.global.XMLHttpRequest; - return t.open("get", e, !1), - t.send(), - 0 == t.status || 200 == t.status ? t.responseText : null - } catch (e) { - return null - } - } - , - goog.transpile_ = function(e, t, r) { - var o = goog.global.$jscomp; - o || (goog.global.$jscomp = o = {}); - var i = o.transpile; - if (!i) { - var a = goog.basePath + goog.TRANSPILER - , n = goog.loadFileSync_(a); - if (n) { - if (function() { - (0, - eval)(n + "\n//# sourceURL=" + a) - } - .call(goog.global), - goog.global.$gwtExport && goog.global.$gwtExport.$jscomp && !goog.global.$gwtExport.$jscomp.transpile) - throw Error('The transpiler did not properly export the "transpile" method. $gwtExport: ' + JSON.stringify(goog.global.$gwtExport)); - goog.global.$jscomp.transpile = goog.global.$gwtExport.$jscomp.transpile, - i = (o = goog.global.$jscomp).transpile - } - } - return i || (i = o.transpile = function(e, t) { - return goog.logToConsole_(t + " requires transpilation but no transpiler was found."), - e - } - ), - i(e, t, r) - } - , - goog.typeOf = function(e) { - var t = typeof e; - if ("object" == t) { - if (!e) - return "null"; - if (e instanceof Array) - return "array"; - if (e instanceof Object) - return t; - var r = Object.prototype.toString.call(e); - if ("[object Window]" == r) - return "object"; - if ("[object Array]" == r || "number" == typeof e.length && void 0 !== e.splice && void 0 !== e.propertyIsEnumerable && !e.propertyIsEnumerable("splice")) - return "array"; - if ("[object Function]" == r || void 0 !== e.call && void 0 !== e.propertyIsEnumerable && !e.propertyIsEnumerable("call")) - return "function" - } else if ("function" == t && void 0 === e.call) - return "object"; - return t - } - , - goog.isArray = function(e) { - return "array" == goog.typeOf(e) - } - , - goog.isArrayLike = function(e) { - var t = goog.typeOf(e); - return "array" == t || "object" == t && "number" == typeof e.length - } - , - goog.isDateLike = function(e) { - return goog.isObject(e) && "function" == typeof e.getFullYear - } - , - goog.isFunction = function(e) { - return "function" == goog.typeOf(e) - } - , - goog.isObject = function(e) { - var t = typeof e; - return "object" == t && null != e || "function" == t - } - , - goog.getUid = function(e) { - return Object.prototype.hasOwnProperty.call(e, goog.UID_PROPERTY_) && e[goog.UID_PROPERTY_] || (e[goog.UID_PROPERTY_] = ++goog.uidCounter_) - } - , - goog.hasUid = function(e) { - return !!e[goog.UID_PROPERTY_] - } - , - goog.removeUid = function(e) { - null !== e && "removeAttribute"in e && e.removeAttribute(goog.UID_PROPERTY_); - try { - delete e[goog.UID_PROPERTY_] - } catch (e) {} - } - , - goog.UID_PROPERTY_ = "closure_uid_" + (1e9 * Math.random() >>> 0), - goog.uidCounter_ = 0, - goog.getHashCode = goog.getUid, - goog.removeHashCode = goog.removeUid, - goog.cloneObject = function(e) { - var t = goog.typeOf(e); - if ("object" == t || "array" == t) { - if ("function" == typeof e.clone) - return e.clone(); - for (var r in t = "array" == t ? [] : {}, - e) - t[r] = goog.cloneObject(e[r]); - return t - } - return e - } - , - goog.bindNative_ = function(e, t, r) { - return e.call.apply(e.bind, arguments) - } - , - goog.bindJs_ = function(e, t, r) { - if (!e) - throw Error(); - if (2 < arguments.length) { - var o = Array.prototype.slice.call(arguments, 2); - return function() { - var r = Array.prototype.slice.call(arguments); - return Array.prototype.unshift.apply(r, o), - e.apply(t, r) - } - } - return function() { - return e.apply(t, arguments) - } - } - , - goog.bind = function(e, t, r) { - return Function.prototype.bind && -1 != Function.prototype.bind.toString().indexOf("native code") ? goog.bind = goog.bindNative_ : goog.bind = goog.bindJs_, - goog.bind.apply(null, arguments) - } - , - goog.partial = function(e, t) { - var r = Array.prototype.slice.call(arguments, 1); - return function() { - var t = r.slice(); - return t.push.apply(t, arguments), - e.apply(this, t) - } - } - , - goog.mixin = function(e, t) { - for (var r in t) - e[r] = t[r] - } - , - goog.now = goog.TRUSTED_SITE && Date.now || function() { - return +new Date - } - , - goog.globalEval = function(e) { - if (goog.global.execScript) - goog.global.execScript(e, "JavaScript"); - else { - if (!goog.global.eval) - throw Error("goog.globalEval not available"); - if (null == goog.evalWorksForGlobals_) { - try { - goog.global.eval("var _evalTest_ = 1;") - } catch (e) {} - if (void 0 !== goog.global._evalTest_) { - try { - delete goog.global._evalTest_ - } catch (e) {} - goog.evalWorksForGlobals_ = !0 - } else - goog.evalWorksForGlobals_ = !1 - } - if (goog.evalWorksForGlobals_) - goog.global.eval(e); - else { - var t = goog.global.document - , r = t.createElement("script"); - r.type = "text/javascript", - r.defer = !1, - r.appendChild(t.createTextNode(e)), - t.head.appendChild(r), - t.head.removeChild(r) - } - } - } - , - goog.evalWorksForGlobals_ = null, - goog.getCssName = function(e, t) { - if ("." == String(e).charAt(0)) - throw Error('className passed in goog.getCssName must not start with ".". You passed: ' + e); - var r = function(e) { - return goog.cssNameMapping_[e] || e - } - , o = function(e) { - e = e.split("-"); - for (var t = [], o = 0; o < e.length; o++) - t.push(r(e[o])); - return t.join("-") - }; - return o = goog.cssNameMapping_ ? "BY_WHOLE" == goog.cssNameMappingStyle_ ? r : o : function(e) { - return e - } - , - e = t ? e + "-" + o(t) : o(e), - goog.global.CLOSURE_CSS_NAME_MAP_FN ? goog.global.CLOSURE_CSS_NAME_MAP_FN(e) : e - } - , - goog.setCssNameMapping = function(e, t) { - goog.cssNameMapping_ = e, - goog.cssNameMappingStyle_ = t - } - , - goog.getMsg = function(e, t, r) { - return r && r.html && (e = e.replace(/ r ? Math.max(0, e.length + r) : r, - "string" == typeof e) - return "string" != typeof t || 1 != t.length ? -1 : e.indexOf(t, r); - for (; r < e.length; r++) - if (r in e && e[r] === t) - return r; - return -1 - } - , - goog.array.lastIndexOf = goog.NATIVE_ARRAY_PROTOTYPES && (goog.array.ASSUME_NATIVE_FUNCTIONS || Array.prototype.lastIndexOf) ? function(e, t, r) { - return goog.asserts.assert(null != e.length), - Array.prototype.lastIndexOf.call(e, t, null == r ? e.length - 1 : r) - } - : function(e, t, r) { - if (0 > (r = null == r ? e.length - 1 : r) && (r = Math.max(0, e.length + r)), - "string" == typeof e) - return "string" != typeof t || 1 != t.length ? -1 : e.lastIndexOf(t, r); - for (; 0 <= r; r--) - if (r in e && e[r] === t) - return r; - return -1 - } - , - goog.array.forEach = goog.NATIVE_ARRAY_PROTOTYPES && (goog.array.ASSUME_NATIVE_FUNCTIONS || Array.prototype.forEach) ? function(e, t, r) { - goog.asserts.assert(null != e.length), - Array.prototype.forEach.call(e, t, r) - } - : function(e, t, r) { - for (var o = e.length, i = "string" == typeof e ? e.split("") : e, a = 0; a < o; a++) - a in i && t.call(r, i[a], a, e) - } - , - goog.array.forEachRight = function(e, t, r) { - var o = e.length - , i = "string" == typeof e ? e.split("") : e; - for (--o; 0 <= o; --o) - o in i && t.call(r, i[o], o, e) - } - , - goog.array.filter = goog.NATIVE_ARRAY_PROTOTYPES && (goog.array.ASSUME_NATIVE_FUNCTIONS || Array.prototype.filter) ? function(e, t, r) { - return goog.asserts.assert(null != e.length), - Array.prototype.filter.call(e, t, r) - } - : function(e, t, r) { - for (var o = e.length, i = [], a = 0, n = "string" == typeof e ? e.split("") : e, s = 0; s < o; s++) - if (s in n) { - var p = n[s]; - t.call(r, p, s, e) && (i[a++] = p) - } - return i - } - , - goog.array.map = goog.NATIVE_ARRAY_PROTOTYPES && (goog.array.ASSUME_NATIVE_FUNCTIONS || Array.prototype.map) ? function(e, t, r) { - return goog.asserts.assert(null != e.length), - Array.prototype.map.call(e, t, r) - } - : function(e, t, r) { - for (var o = e.length, i = Array(o), a = "string" == typeof e ? e.split("") : e, n = 0; n < o; n++) - n in a && (i[n] = t.call(r, a[n], n, e)); - return i - } - , - goog.array.reduce = goog.NATIVE_ARRAY_PROTOTYPES && (goog.array.ASSUME_NATIVE_FUNCTIONS || Array.prototype.reduce) ? function(e, t, r, o) { - return goog.asserts.assert(null != e.length), - o && (t = goog.bind(t, o)), - Array.prototype.reduce.call(e, t, r) - } - : function(e, t, r, o) { - var i = r; - return goog.array.forEach(e, (function(r, a) { - i = t.call(o, i, r, a, e) - } - )), - i - } - , - goog.array.reduceRight = goog.NATIVE_ARRAY_PROTOTYPES && (goog.array.ASSUME_NATIVE_FUNCTIONS || Array.prototype.reduceRight) ? function(e, t, r, o) { - return goog.asserts.assert(null != e.length), - goog.asserts.assert(null != t), - o && (t = goog.bind(t, o)), - Array.prototype.reduceRight.call(e, t, r) - } - : function(e, t, r, o) { - var i = r; - return goog.array.forEachRight(e, (function(r, a) { - i = t.call(o, i, r, a, e) - } - )), - i - } - , - goog.array.some = goog.NATIVE_ARRAY_PROTOTYPES && (goog.array.ASSUME_NATIVE_FUNCTIONS || Array.prototype.some) ? function(e, t, r) { - return goog.asserts.assert(null != e.length), - Array.prototype.some.call(e, t, r) - } - : function(e, t, r) { - for (var o = e.length, i = "string" == typeof e ? e.split("") : e, a = 0; a < o; a++) - if (a in i && t.call(r, i[a], a, e)) - return !0; - return !1 - } - , - goog.array.every = goog.NATIVE_ARRAY_PROTOTYPES && (goog.array.ASSUME_NATIVE_FUNCTIONS || Array.prototype.every) ? function(e, t, r) { - return goog.asserts.assert(null != e.length), - Array.prototype.every.call(e, t, r) - } - : function(e, t, r) { - for (var o = e.length, i = "string" == typeof e ? e.split("") : e, a = 0; a < o; a++) - if (a in i && !t.call(r, i[a], a, e)) - return !1; - return !0 - } - , - goog.array.count = function(e, t, r) { - var o = 0; - return goog.array.forEach(e, (function(e, i, a) { - t.call(r, e, i, a) && ++o - } - ), r), - o - } - , - goog.array.find = function(e, t, r) { - return 0 > (t = goog.array.findIndex(e, t, r)) ? null : "string" == typeof e ? e.charAt(t) : e[t] - } - , - goog.array.findIndex = function(e, t, r) { - for (var o = e.length, i = "string" == typeof e ? e.split("") : e, a = 0; a < o; a++) - if (a in i && t.call(r, i[a], a, e)) - return a; - return -1 - } - , - goog.array.findRight = function(e, t, r) { - return 0 > (t = goog.array.findIndexRight(e, t, r)) ? null : "string" == typeof e ? e.charAt(t) : e[t] - } - , - goog.array.findIndexRight = function(e, t, r) { - var o = e.length - , i = "string" == typeof e ? e.split("") : e; - for (--o; 0 <= o; o--) - if (o in i && t.call(r, i[o], o, e)) - return o; - return -1 - } - , - goog.array.contains = function(e, t) { - return 0 <= goog.array.indexOf(e, t) - } - , - goog.array.isEmpty = function(e) { - return 0 == e.length - } - , - goog.array.clear = function(e) { - if (!Array.isArray(e)) - for (var t = e.length - 1; 0 <= t; t--) - delete e[t]; - e.length = 0 - } - , - goog.array.insert = function(e, t) { - goog.array.contains(e, t) || e.push(t) - } - , - goog.array.insertAt = function(e, t, r) { - goog.array.splice(e, r, 0, t) - } - , - goog.array.insertArrayAt = function(e, t, r) { - goog.partial(goog.array.splice, e, r, 0).apply(null, t) - } - , - goog.array.insertBefore = function(e, t, r) { - var o; - 2 == arguments.length || 0 > (o = goog.array.indexOf(e, r)) ? e.push(t) : goog.array.insertAt(e, t, o) - } - , - goog.array.remove = function(e, t) { - var r; - return (r = 0 <= (t = goog.array.indexOf(e, t))) && goog.array.removeAt(e, t), - r - } - , - goog.array.removeLast = function(e, t) { - return 0 <= (t = goog.array.lastIndexOf(e, t)) && (goog.array.removeAt(e, t), - !0) - } - , - goog.array.removeAt = function(e, t) { - return goog.asserts.assert(null != e.length), - 1 == Array.prototype.splice.call(e, t, 1).length - } - , - goog.array.removeIf = function(e, t, r) { - return 0 <= (t = goog.array.findIndex(e, t, r)) && (goog.array.removeAt(e, t), - !0) - } - , - goog.array.removeAllIf = function(e, t, r) { - var o = 0; - return goog.array.forEachRight(e, (function(i, a) { - t.call(r, i, a, e) && goog.array.removeAt(e, a) && o++ - } - )), - o - } - , - goog.array.concat = function(e) { - return Array.prototype.concat.apply([], arguments) - } - , - goog.array.join = function(e) { - return Array.prototype.concat.apply([], arguments) - } - , - goog.array.toArray = function(e) { - var t = e.length; - if (0 < t) { - for (var r = Array(t), o = 0; o < t; o++) - r[o] = e[o]; - return r - } - return [] - } - , - goog.array.clone = goog.array.toArray, - goog.array.extend = function(e, t) { - for (var r = 1; r < arguments.length; r++) { - var o = arguments[r]; - if (goog.isArrayLike(o)) { - var i = e.length || 0 - , a = o.length || 0; - e.length = i + a; - for (var n = 0; n < a; n++) - e[i + n] = o[n] - } else - e.push(o) - } - } - , - goog.array.splice = function(e, t, r, o) { - return goog.asserts.assert(null != e.length), - Array.prototype.splice.apply(e, goog.array.slice(arguments, 1)) - } - , - goog.array.slice = function(e, t, r) { - return goog.asserts.assert(null != e.length), - 2 >= arguments.length ? Array.prototype.slice.call(e, t) : Array.prototype.slice.call(e, t, r) - } - , - goog.array.removeDuplicates = function(e, t, r) { - t = t || e; - var o = function(e) { - return goog.isObject(e) ? "o" + goog.getUid(e) : (typeof e).charAt(0) + e - }; - r = r || o, - o = {}; - for (var i = 0, a = 0; a < e.length; ) { - var n = e[a++] - , s = r(n); - Object.prototype.hasOwnProperty.call(o, s) || (o[s] = !0, - t[i++] = n) - } - t.length = i - } - , - goog.array.binarySearch = function(e, t, r) { - return goog.array.binarySearch_(e, r || goog.array.defaultCompare, !1, t) - } - , - goog.array.binarySelect = function(e, t, r) { - return goog.array.binarySearch_(e, t, !0, void 0, r) - } - , - goog.array.binarySearch_ = function(e, t, r, o, i) { - for (var a, n = 0, s = e.length; n < s; ) { - var p = n + (s - n >>> 1) - , d = r ? t.call(i, e[p], p, e) : t(o, e[p]); - 0 < d ? n = p + 1 : (s = p, - a = !d) - } - return a ? n : -n - 1 - } - , - goog.array.sort = function(e, t) { - e.sort(t || goog.array.defaultCompare) - } - , - goog.array.stableSort = function(e, t) { - for (var r = Array(e.length), o = 0; o < e.length; o++) - r[o] = { - index: o, - value: e[o] - }; - var i = t || goog.array.defaultCompare; - for (goog.array.sort(r, (function(e, t) { - return i(e.value, t.value) || e.index - t.index - } - )), - o = 0; o < e.length; o++) - e[o] = r[o].value - } - , - goog.array.sortByKey = function(e, t, r) { - var o = r || goog.array.defaultCompare; - goog.array.sort(e, (function(e, r) { - return o(t(e), t(r)) - } - )) - } - , - goog.array.sortObjectsByKey = function(e, t, r) { - goog.array.sortByKey(e, (function(e) { - return e[t] - } - ), r) - } - , - goog.array.isSorted = function(e, t, r) { - t = t || goog.array.defaultCompare; - for (var o = 1; o < e.length; o++) { - var i = t(e[o - 1], e[o]); - if (0 < i || 0 == i && r) - return !1 - } - return !0 - } - , - goog.array.equals = function(e, t, r) { - if (!goog.isArrayLike(e) || !goog.isArrayLike(t) || e.length != t.length) - return !1; - var o = e.length; - r = r || goog.array.defaultCompareEquality; - for (var i = 0; i < o; i++) - if (!r(e[i], t[i])) - return !1; - return !0 - } - , - goog.array.compare3 = function(e, t, r) { - r = r || goog.array.defaultCompare; - for (var o = Math.min(e.length, t.length), i = 0; i < o; i++) { - var a = r(e[i], t[i]); - if (0 != a) - return a - } - return goog.array.defaultCompare(e.length, t.length) - } - , - goog.array.defaultCompare = function(e, t) { - return e > t ? 1 : e < t ? -1 : 0 - } - , - goog.array.inverseDefaultCompare = function(e, t) { - return -goog.array.defaultCompare(e, t) - } - , - goog.array.defaultCompareEquality = function(e, t) { - return e === t - } - , - goog.array.binaryInsert = function(e, t, r) { - return 0 > (r = goog.array.binarySearch(e, t, r)) && (goog.array.insertAt(e, t, -(r + 1)), - !0) - } - , - goog.array.binaryRemove = function(e, t, r) { - return 0 <= (t = goog.array.binarySearch(e, t, r)) && goog.array.removeAt(e, t) - } - , - goog.array.bucket = function(e, t, r) { - for (var o = {}, i = 0; i < e.length; i++) { - var a = e[i] - , n = t.call(r, a, i, e); - void 0 !== n && (o[n] || (o[n] = [])).push(a) - } - return o - } - , - goog.array.toObject = function(e, t, r) { - var o = {}; - return goog.array.forEach(e, (function(i, a) { - o[t.call(r, i, a, e)] = i - } - )), - o - } - , - goog.array.range = function(e, t, r) { - var o = [] - , i = 0 - , a = e; - if (void 0 !== t && (i = e, - a = t), - 0 > (r = r || 1) * (a - i)) - return []; - if (0 < r) - for (e = i; e < a; e += r) - o.push(e); - else - for (e = i; e > a; e += r) - o.push(e); - return o - } - , - goog.array.repeat = function(e, t) { - for (var r = [], o = 0; o < t; o++) - r[o] = e; - return r - } - , - goog.array.flatten = function(e) { - for (var t = [], r = 0; r < arguments.length; r++) { - var o = arguments[r]; - if (Array.isArray(o)) - for (var i = 0; i < o.length; i += 8192) { - var a = goog.array.slice(o, i, i + 8192); - a = goog.array.flatten.apply(null, a); - for (var n = 0; n < a.length; n++) - t.push(a[n]) - } - else - t.push(o) - } - return t - } - , - goog.array.rotate = function(e, t) { - return goog.asserts.assert(null != e.length), - e.length && (0 < (t %= e.length) ? Array.prototype.unshift.apply(e, e.splice(-t, t)) : 0 > t && Array.prototype.push.apply(e, e.splice(0, -t))), - e - } - , - goog.array.moveItem = function(e, t, r) { - goog.asserts.assert(0 <= t && t < e.length), - goog.asserts.assert(0 <= r && r < e.length), - t = Array.prototype.splice.call(e, t, 1), - Array.prototype.splice.call(e, r, 0, t[0]) - } - , - goog.array.zip = function(e) { - if (!arguments.length) - return []; - for (var t = [], r = arguments[0].length, o = 1; o < arguments.length; o++) - arguments[o].length < r && (r = arguments[o].length); - for (o = 0; o < r; o++) { - for (var i = [], a = 0; a < arguments.length; a++) - i.push(arguments[a][o]); - t.push(i) - } - return t - } - , - goog.array.shuffle = function(e, t) { - t = t || Math.random; - for (var r = e.length - 1; 0 < r; r--) { - var o = Math.floor(t() * (r + 1)) - , i = e[r]; - e[r] = e[o], - e[o] = i - } - } - , - goog.array.copyByIndex = function(e, t) { - var r = []; - return goog.array.forEach(t, (function(t) { - r.push(e[t]) - } - )), - r - } - , - goog.array.concatMap = function(e, t, r) { - return goog.array.concat.apply([], goog.array.map(e, t, r)) - } - , - goog.crypt = {}, - goog.crypt.stringToByteArray = function(e) { - for (var t = [], r = 0, o = 0; o < e.length; o++) { - var i = e.charCodeAt(o); - 255 < i && (t[r++] = 255 & i, - i >>= 8), - t[r++] = i - } - return t - } - , - goog.crypt.byteArrayToString = function(e) { - if (8192 >= e.length) - return String.fromCharCode.apply(null, e); - for (var t = "", r = 0; r < e.length; r += 8192) { - var o = goog.array.slice(e, r, r + 8192); - t += String.fromCharCode.apply(null, o) - } - return t - } - , - goog.crypt.byteArrayToHex = function(e, t) { - return goog.array.map(e, (function(e) { - return 1 < (e = e.toString(16)).length ? e : "0" + e - } - )).join(t || "") - } - , - goog.crypt.hexToByteArray = function(e) { - goog.asserts.assert(0 == e.length % 2, "Key string length must be multiple of 2"); - for (var t = [], r = 0; r < e.length; r += 2) - t.push(parseInt(e.substring(r, r + 2), 16)); - return t - } - , - goog.crypt.stringToUtf8ByteArray = function(e) { - for (var t = [], r = 0, o = 0; o < e.length; o++) { - var i = e.charCodeAt(o); - 128 > i ? t[r++] = i : (2048 > i ? t[r++] = i >> 6 | 192 : (55296 == (64512 & i) && o + 1 < e.length && 56320 == (64512 & e.charCodeAt(o + 1)) ? (i = 65536 + ((1023 & i) << 10) + (1023 & e.charCodeAt(++o)), - t[r++] = i >> 18 | 240, - t[r++] = i >> 12 & 63 | 128) : t[r++] = i >> 12 | 224, - t[r++] = i >> 6 & 63 | 128), - t[r++] = 63 & i | 128) - } - return t - } - , - goog.crypt.utf8ByteArrayToString = function(e) { - for (var t = [], r = 0, o = 0; r < e.length; ) { - var i = e[r++]; - if (128 > i) - t[o++] = String.fromCharCode(i); - else if (191 < i && 224 > i) { - var a = e[r++]; - t[o++] = String.fromCharCode((31 & i) << 6 | 63 & a) - } else if (239 < i && 365 > i) { - a = e[r++]; - var n = e[r++]; - i = ((7 & i) << 18 | (63 & a) << 12 | (63 & n) << 6 | 63 & e[r++]) - 65536, - t[o++] = String.fromCharCode(55296 + (i >> 10)), - t[o++] = String.fromCharCode(56320 + (1023 & i)) - } else - a = e[r++], - n = e[r++], - t[o++] = String.fromCharCode((15 & i) << 12 | (63 & a) << 6 | 63 & n) - } - return t.join("") - } - , - goog.crypt.xorByteArray = function(e, t) { - goog.asserts.assert(e.length == t.length, "XOR array lengths must match"); - for (var r = [], o = 0; o < e.length; o++) - r.push(e[o] ^ t[o]); - return r - } - , - goog.dom.asserts = {}, - goog.dom.asserts.assertIsLocation = function(e) { - if (goog.asserts.ENABLE_ASSERTS) { - var t = goog.dom.asserts.getWindow_(e); - t && (!e || !(e instanceof t.Location) && e instanceof t.Element) && goog.asserts.fail("Argument is not a Location (or a non-Element mock); got: %s", goog.dom.asserts.debugStringForType_(e)) - } - return e - } - , - goog.dom.asserts.assertIsElementType_ = function(e, t) { - if (goog.asserts.ENABLE_ASSERTS) { - var r = goog.dom.asserts.getWindow_(e); - r && void 0 !== r[t] && (e && (e instanceof r[t] || !(e instanceof r.Location || e instanceof r.Element)) || goog.asserts.fail("Argument is not a %s (or a non-Element, non-Location mock); got: %s", t, goog.dom.asserts.debugStringForType_(e))) - } - return e - } - , - goog.dom.asserts.assertIsHTMLAnchorElement = function(e) { - return goog.dom.asserts.assertIsElementType_(e, "HTMLAnchorElement") - } - , - goog.dom.asserts.assertIsHTMLButtonElement = function(e) { - return goog.dom.asserts.assertIsElementType_(e, "HTMLButtonElement") - } - , - goog.dom.asserts.assertIsHTMLLinkElement = function(e) { - return goog.dom.asserts.assertIsElementType_(e, "HTMLLinkElement") - } - , - goog.dom.asserts.assertIsHTMLImageElement = function(e) { - return goog.dom.asserts.assertIsElementType_(e, "HTMLImageElement") - } - , - goog.dom.asserts.assertIsHTMLAudioElement = function(e) { - return goog.dom.asserts.assertIsElementType_(e, "HTMLAudioElement") - } - , - goog.dom.asserts.assertIsHTMLVideoElement = function(e) { - return goog.dom.asserts.assertIsElementType_(e, "HTMLVideoElement") - } - , - goog.dom.asserts.assertIsHTMLInputElement = function(e) { - return goog.dom.asserts.assertIsElementType_(e, "HTMLInputElement") - } - , - goog.dom.asserts.assertIsHTMLTextAreaElement = function(e) { - return goog.dom.asserts.assertIsElementType_(e, "HTMLTextAreaElement") - } - , - goog.dom.asserts.assertIsHTMLCanvasElement = function(e) { - return goog.dom.asserts.assertIsElementType_(e, "HTMLCanvasElement") - } - , - goog.dom.asserts.assertIsHTMLEmbedElement = function(e) { - return goog.dom.asserts.assertIsElementType_(e, "HTMLEmbedElement") - } - , - goog.dom.asserts.assertIsHTMLFormElement = function(e) { - return goog.dom.asserts.assertIsElementType_(e, "HTMLFormElement") - } - , - goog.dom.asserts.assertIsHTMLFrameElement = function(e) { - return goog.dom.asserts.assertIsElementType_(e, "HTMLFrameElement") - } - , - goog.dom.asserts.assertIsHTMLIFrameElement = function(e) { - return goog.dom.asserts.assertIsElementType_(e, "HTMLIFrameElement") - } - , - goog.dom.asserts.assertIsHTMLObjectElement = function(e) { - return goog.dom.asserts.assertIsElementType_(e, "HTMLObjectElement") - } - , - goog.dom.asserts.assertIsHTMLScriptElement = function(e) { - return goog.dom.asserts.assertIsElementType_(e, "HTMLScriptElement") - } - , - goog.dom.asserts.debugStringForType_ = function(e) { - if (!goog.isObject(e)) - return void 0 === e ? "undefined" : null === e ? "null" : typeof e; - try { - return e.constructor.displayName || e.constructor.name || Object.prototype.toString.call(e) - } catch (e) { - return "" - } - } - , - goog.dom.asserts.getWindow_ = function(e) { - try { - var t = e && e.ownerDocument - , r = t && (t.defaultView || t.parentWindow); - if ((r = r || goog.global).Element && r.Location) - return r - } catch (e) {} - return null - } - , - goog.functions = {}, - goog.functions.constant = function(e) { - return function() { - return e - } - } - , - goog.functions.FALSE = function() { - return !1 - } - , - goog.functions.TRUE = function() { - return !0 - } - , - goog.functions.NULL = function() { - return null - } - , - goog.functions.identity = function(e, t) { - return e - } - , - goog.functions.error = function(e) { - return function() { - throw Error(e) - } - } - , - goog.functions.fail = function(e) { - return function() { - throw e - } - } - , - goog.functions.lock = function(e, t) { - return t = t || 0, - function() { - return e.apply(this, Array.prototype.slice.call(arguments, 0, t)) - } - } - , - goog.functions.nth = function(e) { - return function() { - return arguments[e] - } - } - , - goog.functions.partialRight = function(e, t) { - var r = Array.prototype.slice.call(arguments, 1); - return function() { - var t = Array.prototype.slice.call(arguments); - return t.push.apply(t, r), - e.apply(this, t) - } - } - , - goog.functions.withReturnValue = function(e, t) { - return goog.functions.sequence(e, goog.functions.constant(t)) - } - , - goog.functions.equalTo = function(e, t) { - return function(r) { - return t ? e == r : e === r - } - } - , - goog.functions.compose = function(e, t) { - var r = arguments - , o = r.length; - return function() { - var e; - o && (e = r[o - 1].apply(this, arguments)); - for (var t = o - 2; 0 <= t; t--) - e = r[t].call(this, e); - return e - } - } - , - goog.functions.sequence = function(e) { - var t = arguments - , r = t.length; - return function() { - for (var e, o = 0; o < r; o++) - e = t[o].apply(this, arguments); - return e - } - } - , - goog.functions.and = function(e) { - var t = arguments - , r = t.length; - return function() { - for (var e = 0; e < r; e++) - if (!t[e].apply(this, arguments)) - return !1; - return !0 - } - } - , - goog.functions.or = function(e) { - var t = arguments - , r = t.length; - return function() { - for (var e = 0; e < r; e++) - if (t[e].apply(this, arguments)) - return !0; - return !1 - } - } - , - goog.functions.not = function(e) { - return function() { - return !e.apply(this, arguments) - } - } - , - goog.functions.create = function(e, t) { - var r = function() {}; - return r.prototype = e.prototype, - r = new r, - e.apply(r, Array.prototype.slice.call(arguments, 1)), - r - } - , - goog.functions.CACHE_RETURN_VALUE = !0, - goog.functions.cacheReturnValue = function(e) { - var t, r = !1; - return function() { - return goog.functions.CACHE_RETURN_VALUE ? (r || (t = e(), - r = !0), - t) : e() - } - } - , - goog.functions.once = function(e) { - var t = e; - return function() { - if (t) { - var e = t; - t = null, - e() - } - } - } - , - goog.functions.debounce = function(e, t, r) { - var o = 0; - return function(i) { - goog.global.clearTimeout(o); - var a = arguments; - o = goog.global.setTimeout((function() { - e.apply(r, a) - } - ), t) - } - } - , - goog.functions.throttle = function(e, t, r) { - var o = 0 - , i = !1 - , a = [] - , n = function() { - o = 0, - i && (i = !1, - s()) - } - , s = function() { - o = goog.global.setTimeout(n, t), - e.apply(r, a) - }; - return function(e) { - a = arguments, - o ? i = !0 : s() - } - } - , - goog.functions.rateLimit = function(e, t, r) { - var o = 0 - , i = function() { - o = 0 - }; - return function(a) { - o || (o = goog.global.setTimeout(i, t), - e.apply(r, arguments)) - } - } - , - goog.dom.HtmlElement = function() {} - , - goog.dom.TagName = function(e) { - this.tagName_ = e - } - , - goog.dom.TagName.prototype.toString = function() { - return this.tagName_ - } - , - goog.dom.TagName.A = new goog.dom.TagName("A"), - goog.dom.TagName.ABBR = new goog.dom.TagName("ABBR"), - goog.dom.TagName.ACRONYM = new goog.dom.TagName("ACRONYM"), - goog.dom.TagName.ADDRESS = new goog.dom.TagName("ADDRESS"), - goog.dom.TagName.APPLET = new goog.dom.TagName("APPLET"), - goog.dom.TagName.AREA = new goog.dom.TagName("AREA"), - goog.dom.TagName.ARTICLE = new goog.dom.TagName("ARTICLE"), - goog.dom.TagName.ASIDE = new goog.dom.TagName("ASIDE"), - goog.dom.TagName.AUDIO = new goog.dom.TagName("AUDIO"), - goog.dom.TagName.B = new goog.dom.TagName("B"), - goog.dom.TagName.BASE = new goog.dom.TagName("BASE"), - goog.dom.TagName.BASEFONT = new goog.dom.TagName("BASEFONT"), - goog.dom.TagName.BDI = new goog.dom.TagName("BDI"), - goog.dom.TagName.BDO = new goog.dom.TagName("BDO"), - goog.dom.TagName.BIG = new goog.dom.TagName("BIG"), - goog.dom.TagName.BLOCKQUOTE = new goog.dom.TagName("BLOCKQUOTE"), - goog.dom.TagName.BODY = new goog.dom.TagName("BODY"), - goog.dom.TagName.BR = new goog.dom.TagName("BR"), - goog.dom.TagName.BUTTON = new goog.dom.TagName("BUTTON"), - goog.dom.TagName.CANVAS = new goog.dom.TagName("CANVAS"), - goog.dom.TagName.CAPTION = new goog.dom.TagName("CAPTION"), - goog.dom.TagName.CENTER = new goog.dom.TagName("CENTER"), - goog.dom.TagName.CITE = new goog.dom.TagName("CITE"), - goog.dom.TagName.CODE = new goog.dom.TagName("CODE"), - goog.dom.TagName.COL = new goog.dom.TagName("COL"), - goog.dom.TagName.COLGROUP = new goog.dom.TagName("COLGROUP"), - goog.dom.TagName.COMMAND = new goog.dom.TagName("COMMAND"), - goog.dom.TagName.DATA = new goog.dom.TagName("DATA"), - goog.dom.TagName.DATALIST = new goog.dom.TagName("DATALIST"), - goog.dom.TagName.DD = new goog.dom.TagName("DD"), - goog.dom.TagName.DEL = new goog.dom.TagName("DEL"), - goog.dom.TagName.DETAILS = new goog.dom.TagName("DETAILS"), - goog.dom.TagName.DFN = new goog.dom.TagName("DFN"), - goog.dom.TagName.DIALOG = new goog.dom.TagName("DIALOG"), - goog.dom.TagName.DIR = new goog.dom.TagName("DIR"), - goog.dom.TagName.DIV = new goog.dom.TagName("DIV"), - goog.dom.TagName.DL = new goog.dom.TagName("DL"), - goog.dom.TagName.DT = new goog.dom.TagName("DT"), - goog.dom.TagName.EM = new goog.dom.TagName("EM"), - goog.dom.TagName.EMBED = new goog.dom.TagName("EMBED"), - goog.dom.TagName.FIELDSET = new goog.dom.TagName("FIELDSET"), - goog.dom.TagName.FIGCAPTION = new goog.dom.TagName("FIGCAPTION"), - goog.dom.TagName.FIGURE = new goog.dom.TagName("FIGURE"), - goog.dom.TagName.FONT = new goog.dom.TagName("FONT"), - goog.dom.TagName.FOOTER = new goog.dom.TagName("FOOTER"), - goog.dom.TagName.FORM = new goog.dom.TagName("FORM"), - goog.dom.TagName.FRAME = new goog.dom.TagName("FRAME"), - goog.dom.TagName.FRAMESET = new goog.dom.TagName("FRAMESET"), - goog.dom.TagName.H1 = new goog.dom.TagName("H1"), - goog.dom.TagName.H2 = new goog.dom.TagName("H2"), - goog.dom.TagName.H3 = new goog.dom.TagName("H3"), - goog.dom.TagName.H4 = new goog.dom.TagName("H4"), - goog.dom.TagName.H5 = new goog.dom.TagName("H5"), - goog.dom.TagName.H6 = new goog.dom.TagName("H6"), - goog.dom.TagName.HEAD = new goog.dom.TagName("HEAD"), - goog.dom.TagName.HEADER = new goog.dom.TagName("HEADER"), - goog.dom.TagName.HGROUP = new goog.dom.TagName("HGROUP"), - goog.dom.TagName.HR = new goog.dom.TagName("HR"), - goog.dom.TagName.HTML = new goog.dom.TagName("HTML"), - goog.dom.TagName.I = new goog.dom.TagName("I"), - goog.dom.TagName.IFRAME = new goog.dom.TagName("IFRAME"), - goog.dom.TagName.IMG = new goog.dom.TagName("IMG"), - goog.dom.TagName.INPUT = new goog.dom.TagName("INPUT"), - goog.dom.TagName.INS = new goog.dom.TagName("INS"), - goog.dom.TagName.ISINDEX = new goog.dom.TagName("ISINDEX"), - goog.dom.TagName.KBD = new goog.dom.TagName("KBD"), - goog.dom.TagName.KEYGEN = new goog.dom.TagName("KEYGEN"), - goog.dom.TagName.LABEL = new goog.dom.TagName("LABEL"), - goog.dom.TagName.LEGEND = new goog.dom.TagName("LEGEND"), - goog.dom.TagName.LI = new goog.dom.TagName("LI"), - goog.dom.TagName.LINK = new goog.dom.TagName("LINK"), - goog.dom.TagName.MAIN = new goog.dom.TagName("MAIN"), - goog.dom.TagName.MAP = new goog.dom.TagName("MAP"), - goog.dom.TagName.MARK = new goog.dom.TagName("MARK"), - goog.dom.TagName.MATH = new goog.dom.TagName("MATH"), - goog.dom.TagName.MENU = new goog.dom.TagName("MENU"), - goog.dom.TagName.MENUITEM = new goog.dom.TagName("MENUITEM"), - goog.dom.TagName.META = new goog.dom.TagName("META"), - goog.dom.TagName.METER = new goog.dom.TagName("METER"), - goog.dom.TagName.NAV = new goog.dom.TagName("NAV"), - goog.dom.TagName.NOFRAMES = new goog.dom.TagName("NOFRAMES"), - goog.dom.TagName.NOSCRIPT = new goog.dom.TagName("NOSCRIPT"), - goog.dom.TagName.OBJECT = new goog.dom.TagName("OBJECT"), - goog.dom.TagName.OL = new goog.dom.TagName("OL"), - goog.dom.TagName.OPTGROUP = new goog.dom.TagName("OPTGROUP"), - goog.dom.TagName.OPTION = new goog.dom.TagName("OPTION"), - goog.dom.TagName.OUTPUT = new goog.dom.TagName("OUTPUT"), - goog.dom.TagName.P = new goog.dom.TagName("P"), - goog.dom.TagName.PARAM = new goog.dom.TagName("PARAM"), - goog.dom.TagName.PICTURE = new goog.dom.TagName("PICTURE"), - goog.dom.TagName.PRE = new goog.dom.TagName("PRE"), - goog.dom.TagName.PROGRESS = new goog.dom.TagName("PROGRESS"), - goog.dom.TagName.Q = new goog.dom.TagName("Q"), - goog.dom.TagName.RP = new goog.dom.TagName("RP"), - goog.dom.TagName.RT = new goog.dom.TagName("RT"), - goog.dom.TagName.RTC = new goog.dom.TagName("RTC"), - goog.dom.TagName.RUBY = new goog.dom.TagName("RUBY"), - goog.dom.TagName.S = new goog.dom.TagName("S"), - goog.dom.TagName.SAMP = new goog.dom.TagName("SAMP"), - goog.dom.TagName.SCRIPT = new goog.dom.TagName("SCRIPT"), - goog.dom.TagName.SECTION = new goog.dom.TagName("SECTION"), - goog.dom.TagName.SELECT = new goog.dom.TagName("SELECT"), - goog.dom.TagName.SMALL = new goog.dom.TagName("SMALL"), - goog.dom.TagName.SOURCE = new goog.dom.TagName("SOURCE"), - goog.dom.TagName.SPAN = new goog.dom.TagName("SPAN"), - goog.dom.TagName.STRIKE = new goog.dom.TagName("STRIKE"), - goog.dom.TagName.STRONG = new goog.dom.TagName("STRONG"), - goog.dom.TagName.STYLE = new goog.dom.TagName("STYLE"), - goog.dom.TagName.SUB = new goog.dom.TagName("SUB"), - goog.dom.TagName.SUMMARY = new goog.dom.TagName("SUMMARY"), - goog.dom.TagName.SUP = new goog.dom.TagName("SUP"), - goog.dom.TagName.SVG = new goog.dom.TagName("SVG"), - goog.dom.TagName.TABLE = new goog.dom.TagName("TABLE"), - goog.dom.TagName.TBODY = new goog.dom.TagName("TBODY"), - goog.dom.TagName.TD = new goog.dom.TagName("TD"), - goog.dom.TagName.TEMPLATE = new goog.dom.TagName("TEMPLATE"), - goog.dom.TagName.TEXTAREA = new goog.dom.TagName("TEXTAREA"), - goog.dom.TagName.TFOOT = new goog.dom.TagName("TFOOT"), - goog.dom.TagName.TH = new goog.dom.TagName("TH"), - goog.dom.TagName.THEAD = new goog.dom.TagName("THEAD"), - goog.dom.TagName.TIME = new goog.dom.TagName("TIME"), - goog.dom.TagName.TITLE = new goog.dom.TagName("TITLE"), - goog.dom.TagName.TR = new goog.dom.TagName("TR"), - goog.dom.TagName.TRACK = new goog.dom.TagName("TRACK"), - goog.dom.TagName.TT = new goog.dom.TagName("TT"), - goog.dom.TagName.U = new goog.dom.TagName("U"), - goog.dom.TagName.UL = new goog.dom.TagName("UL"), - goog.dom.TagName.VAR = new goog.dom.TagName("VAR"), - goog.dom.TagName.VIDEO = new goog.dom.TagName("VIDEO"), - goog.dom.TagName.WBR = new goog.dom.TagName("WBR"), - goog.dom.tags = {}, - goog.dom.tags.VOID_TAGS_ = { - area: !0, - base: !0, - br: !0, - col: !0, - command: !0, - embed: !0, - hr: !0, - img: !0, - input: !0, - keygen: !0, - link: !0, - meta: !0, - param: !0, - source: !0, - track: !0, - wbr: !0 - }, - goog.dom.tags.isVoidTag = function(e) { - return !0 === goog.dom.tags.VOID_TAGS_[e] - } - , - goog.html = {}, - goog.html.trustedtypes = {}, - goog.html.trustedtypes.PRIVATE_DO_NOT_ACCESS_OR_ELSE_POLICY = goog.TRUSTED_TYPES_POLICY_NAME ? goog.createTrustedTypesPolicy(goog.TRUSTED_TYPES_POLICY_NAME + "#html") : null, - goog.string = {}, - goog.string.TypedString = function() {} - , - goog.string.Const = function(e, t) { - this.stringConstValueWithSecurityContract__googStringSecurityPrivate_ = e === goog.string.Const.GOOG_STRING_CONSTRUCTOR_TOKEN_PRIVATE_ && t || "", - this.STRING_CONST_TYPE_MARKER__GOOG_STRING_SECURITY_PRIVATE_ = goog.string.Const.TYPE_MARKER_ - } - , - goog.string.Const.prototype.implementsGoogStringTypedString = !0, - goog.string.Const.prototype.getTypedStringValue = function() { - return this.stringConstValueWithSecurityContract__googStringSecurityPrivate_ - } - , - goog.DEBUG && (goog.string.Const.prototype.toString = function() { - return "Const{" + this.stringConstValueWithSecurityContract__googStringSecurityPrivate_ + "}" - } - ), - goog.string.Const.unwrap = function(e) { - return e instanceof goog.string.Const && e.constructor === goog.string.Const && e.STRING_CONST_TYPE_MARKER__GOOG_STRING_SECURITY_PRIVATE_ === goog.string.Const.TYPE_MARKER_ ? e.stringConstValueWithSecurityContract__googStringSecurityPrivate_ : (goog.asserts.fail("expected object of type Const, got '" + e + "'"), - "type_error:Const") - } - , - goog.string.Const.from = function(e) { - return new goog.string.Const(goog.string.Const.GOOG_STRING_CONSTRUCTOR_TOKEN_PRIVATE_,e) - } - , - goog.string.Const.TYPE_MARKER_ = {}, - goog.string.Const.GOOG_STRING_CONSTRUCTOR_TOKEN_PRIVATE_ = {}, - goog.string.Const.EMPTY = goog.string.Const.from(""), - goog.html.SafeScript = function() { - this.privateDoNotAccessOrElseSafeScriptWrappedValue_ = "", - this.SAFE_SCRIPT_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_ = goog.html.SafeScript.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_ - } - , - goog.html.SafeScript.prototype.implementsGoogStringTypedString = !0, - goog.html.SafeScript.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_ = {}, - goog.html.SafeScript.fromConstant = function(e) { - return 0 === (e = goog.string.Const.unwrap(e)).length ? goog.html.SafeScript.EMPTY : goog.html.SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse(e) - } - , - goog.html.SafeScript.fromConstantAndArgs = function(e, t) { - for (var r = [], o = 1; o < arguments.length; o++) - r.push(goog.html.SafeScript.stringify_(arguments[o])); - return goog.html.SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse("(" + goog.string.Const.unwrap(e) + ")(" + r.join(", ") + ");") - } - , - goog.html.SafeScript.fromJson = function(e) { - return goog.html.SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse(goog.html.SafeScript.stringify_(e)) - } - , - goog.html.SafeScript.prototype.getTypedStringValue = function() { - return this.privateDoNotAccessOrElseSafeScriptWrappedValue_.toString() - } - , - goog.DEBUG && (goog.html.SafeScript.prototype.toString = function() { - return "SafeScript{" + this.privateDoNotAccessOrElseSafeScriptWrappedValue_ + "}" - } - ), - goog.html.SafeScript.unwrap = function(e) { - return goog.html.SafeScript.unwrapTrustedScript(e).toString() - } - , - goog.html.SafeScript.unwrapTrustedScript = function(e) { - return e instanceof goog.html.SafeScript && e.constructor === goog.html.SafeScript && e.SAFE_SCRIPT_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_ === goog.html.SafeScript.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_ ? e.privateDoNotAccessOrElseSafeScriptWrappedValue_ : (goog.asserts.fail("expected object of type SafeScript, got '" + e + "' of type " + goog.typeOf(e)), - "type_error:SafeScript") - } - , - goog.html.SafeScript.stringify_ = function(e) { - return JSON.stringify(e).replace(/ e ? goog.i18n.bidi.Dir.RTL : t ? null : goog.i18n.bidi.Dir.NEUTRAL : null == e ? null : e ? goog.i18n.bidi.Dir.RTL : goog.i18n.bidi.Dir.LTR - } - , - goog.i18n.bidi.ltrChars_ = "A-Za-zÀ-ÖØ-öø-ʸ̀-֐ऀ-῿‎Ⰰ-\ud801\ud804-\ud839\ud83c-\udbff豈-﬜︀-﹯﻽-￿", - goog.i18n.bidi.rtlChars_ = "֑-ۯۺ-ࣿ‏\ud802-\ud803\ud83a-\ud83bיִ-﷿ﹰ-ﻼ", - goog.i18n.bidi.htmlSkipReg_ = /<[^>]*>|&[^;]+;/g, - goog.i18n.bidi.stripHtmlIfNeeded_ = function(e, t) { - return t ? e.replace(goog.i18n.bidi.htmlSkipReg_, "") : e - } - , - goog.i18n.bidi.rtlCharReg_ = new RegExp("[" + goog.i18n.bidi.rtlChars_ + "]"), - goog.i18n.bidi.ltrCharReg_ = new RegExp("[" + goog.i18n.bidi.ltrChars_ + "]"), - goog.i18n.bidi.hasAnyRtl = function(e, t) { - return goog.i18n.bidi.rtlCharReg_.test(goog.i18n.bidi.stripHtmlIfNeeded_(e, t)) - } - , - goog.i18n.bidi.hasRtlChar = goog.i18n.bidi.hasAnyRtl, - goog.i18n.bidi.hasAnyLtr = function(e, t) { - return goog.i18n.bidi.ltrCharReg_.test(goog.i18n.bidi.stripHtmlIfNeeded_(e, t)) - } - , - goog.i18n.bidi.ltrRe_ = new RegExp("^[" + goog.i18n.bidi.ltrChars_ + "]"), - goog.i18n.bidi.rtlRe_ = new RegExp("^[" + goog.i18n.bidi.rtlChars_ + "]"), - goog.i18n.bidi.isRtlChar = function(e) { - return goog.i18n.bidi.rtlRe_.test(e) - } - , - goog.i18n.bidi.isLtrChar = function(e) { - return goog.i18n.bidi.ltrRe_.test(e) - } - , - goog.i18n.bidi.isNeutralChar = function(e) { - return !goog.i18n.bidi.isLtrChar(e) && !goog.i18n.bidi.isRtlChar(e) - } - , - goog.i18n.bidi.ltrDirCheckRe_ = new RegExp("^[^" + goog.i18n.bidi.rtlChars_ + "]*[" + goog.i18n.bidi.ltrChars_ + "]"), - goog.i18n.bidi.rtlDirCheckRe_ = new RegExp("^[^" + goog.i18n.bidi.ltrChars_ + "]*[" + goog.i18n.bidi.rtlChars_ + "]"), - goog.i18n.bidi.startsWithRtl = function(e, t) { - return goog.i18n.bidi.rtlDirCheckRe_.test(goog.i18n.bidi.stripHtmlIfNeeded_(e, t)) - } - , - goog.i18n.bidi.isRtlText = goog.i18n.bidi.startsWithRtl, - goog.i18n.bidi.startsWithLtr = function(e, t) { - return goog.i18n.bidi.ltrDirCheckRe_.test(goog.i18n.bidi.stripHtmlIfNeeded_(e, t)) - } - , - goog.i18n.bidi.isLtrText = goog.i18n.bidi.startsWithLtr, - goog.i18n.bidi.isRequiredLtrRe_ = /^http:\/\/.*/, - goog.i18n.bidi.isNeutralText = function(e, t) { - return e = goog.i18n.bidi.stripHtmlIfNeeded_(e, t), - goog.i18n.bidi.isRequiredLtrRe_.test(e) || !goog.i18n.bidi.hasAnyLtr(e) && !goog.i18n.bidi.hasAnyRtl(e) - } - , - goog.i18n.bidi.ltrExitDirCheckRe_ = new RegExp("[" + goog.i18n.bidi.ltrChars_ + "][^" + goog.i18n.bidi.rtlChars_ + "]*$"), - goog.i18n.bidi.rtlExitDirCheckRe_ = new RegExp("[" + goog.i18n.bidi.rtlChars_ + "][^" + goog.i18n.bidi.ltrChars_ + "]*$"), - goog.i18n.bidi.endsWithLtr = function(e, t) { - return goog.i18n.bidi.ltrExitDirCheckRe_.test(goog.i18n.bidi.stripHtmlIfNeeded_(e, t)) - } - , - goog.i18n.bidi.isLtrExitText = goog.i18n.bidi.endsWithLtr, - goog.i18n.bidi.endsWithRtl = function(e, t) { - return goog.i18n.bidi.rtlExitDirCheckRe_.test(goog.i18n.bidi.stripHtmlIfNeeded_(e, t)) - } - , - goog.i18n.bidi.isRtlExitText = goog.i18n.bidi.endsWithRtl, - goog.i18n.bidi.rtlLocalesRe_ = /^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i, - goog.i18n.bidi.isRtlLanguage = function(e) { - return goog.i18n.bidi.rtlLocalesRe_.test(e) - } - , - goog.i18n.bidi.bracketGuardTextRe_ = /(\(.*?\)+)|(\[.*?\]+)|(\{.*?\}+)|(<.*?>+)/g, - goog.i18n.bidi.guardBracketInText = function(e, t) { - return t = (void 0 === t ? goog.i18n.bidi.hasAnyRtl(e) : t) ? goog.i18n.bidi.Format.RLM : goog.i18n.bidi.Format.LRM, - e.replace(goog.i18n.bidi.bracketGuardTextRe_, t + "$&" + t) - } - , - goog.i18n.bidi.enforceRtlInHtml = function(e) { - return "<" == e.charAt(0) ? e.replace(/<\w+/, "$& dir=rtl") : "\n" + e + "" - } - , - goog.i18n.bidi.enforceRtlInText = function(e) { - return goog.i18n.bidi.Format.RLE + e + goog.i18n.bidi.Format.PDF - } - , - goog.i18n.bidi.enforceLtrInHtml = function(e) { - return "<" == e.charAt(0) ? e.replace(/<\w+/, "$& dir=ltr") : "\n" + e + "" - } - , - goog.i18n.bidi.enforceLtrInText = function(e) { - return goog.i18n.bidi.Format.LRE + e + goog.i18n.bidi.Format.PDF - } - , - goog.i18n.bidi.dimensionsRe_ = /:\s*([.\d][.\w]*)\s+([.\d][.\w]*)\s+([.\d][.\w]*)\s+([.\d][.\w]*)/g, - goog.i18n.bidi.leftRe_ = /left/gi, - goog.i18n.bidi.rightRe_ = /right/gi, - goog.i18n.bidi.tempRe_ = /%%%%/g, - goog.i18n.bidi.mirrorCSS = function(e) { - return e.replace(goog.i18n.bidi.dimensionsRe_, ":$1 $4 $3 $2").replace(goog.i18n.bidi.leftRe_, "%%%%").replace(goog.i18n.bidi.rightRe_, goog.i18n.bidi.LEFT).replace(goog.i18n.bidi.tempRe_, goog.i18n.bidi.RIGHT) - } - , - goog.i18n.bidi.doubleQuoteSubstituteRe_ = /([\u0591-\u05f2])"/g, - goog.i18n.bidi.singleQuoteSubstituteRe_ = /([\u0591-\u05f2])'/g, - goog.i18n.bidi.normalizeHebrewQuote = function(e) { - return e.replace(goog.i18n.bidi.doubleQuoteSubstituteRe_, "$1״").replace(goog.i18n.bidi.singleQuoteSubstituteRe_, "$1׳") - } - , - goog.i18n.bidi.wordSeparatorRe_ = /\s+/, - goog.i18n.bidi.hasNumeralsRe_ = /[\d\u06f0-\u06f9]/, - goog.i18n.bidi.rtlDetectionThreshold_ = .4, - goog.i18n.bidi.estimateDirection = function(e, t) { - var r = 0 - , o = 0 - , i = !1; - for (e = goog.i18n.bidi.stripHtmlIfNeeded_(e, t).split(goog.i18n.bidi.wordSeparatorRe_), - t = 0; t < e.length; t++) { - var a = e[t]; - goog.i18n.bidi.startsWithRtl(a) ? (r++, - o++) : goog.i18n.bidi.isRequiredLtrRe_.test(a) ? i = !0 : goog.i18n.bidi.hasAnyLtr(a) ? o++ : goog.i18n.bidi.hasNumeralsRe_.test(a) && (i = !0) - } - return 0 == o ? i ? goog.i18n.bidi.Dir.LTR : goog.i18n.bidi.Dir.NEUTRAL : r / o > goog.i18n.bidi.rtlDetectionThreshold_ ? goog.i18n.bidi.Dir.RTL : goog.i18n.bidi.Dir.LTR - } - , - goog.i18n.bidi.detectRtlDirectionality = function(e, t) { - return goog.i18n.bidi.estimateDirection(e, t) == goog.i18n.bidi.Dir.RTL - } - , - goog.i18n.bidi.setElementDirAndAlign = function(e, t) { - e && (t = goog.i18n.bidi.toDir(t)) && (e.style.textAlign = t == goog.i18n.bidi.Dir.RTL ? goog.i18n.bidi.RIGHT : goog.i18n.bidi.LEFT, - e.dir = t == goog.i18n.bidi.Dir.RTL ? "rtl" : "ltr") - } - , - goog.i18n.bidi.setElementDirByTextDirectionality = function(e, t) { - switch (goog.i18n.bidi.estimateDirection(t)) { - case goog.i18n.bidi.Dir.LTR: - e.dir = "ltr"; - break; - case goog.i18n.bidi.Dir.RTL: - e.dir = "rtl"; - break; - default: - e.removeAttribute("dir") - } - } - , - goog.i18n.bidi.DirectionalString = function() {} - , - goog.html.TrustedResourceUrl = function(e, t) { - this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_ = e === goog.html.TrustedResourceUrl.CONSTRUCTOR_TOKEN_PRIVATE_ && t || "", - this.TRUSTED_RESOURCE_URL_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_ = goog.html.TrustedResourceUrl.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_ - } - , - goog.html.TrustedResourceUrl.prototype.implementsGoogStringTypedString = !0, - goog.html.TrustedResourceUrl.prototype.getTypedStringValue = function() { - return this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_.toString() - } - , - goog.html.TrustedResourceUrl.prototype.implementsGoogI18nBidiDirectionalString = !0, - goog.html.TrustedResourceUrl.prototype.getDirection = function() { - return goog.i18n.bidi.Dir.LTR - } - , - goog.html.TrustedResourceUrl.prototype.cloneWithParams = function(e, t) { - var r = goog.html.TrustedResourceUrl.unwrap(this) - , o = (r = goog.html.TrustedResourceUrl.URL_PARAM_PARSER_.exec(r))[3] || ""; - return goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(r[1] + goog.html.TrustedResourceUrl.stringifyParams_("?", r[2] || "", e) + goog.html.TrustedResourceUrl.stringifyParams_("#", o, t)) - } - , - goog.DEBUG && (goog.html.TrustedResourceUrl.prototype.toString = function() { - return "TrustedResourceUrl{" + this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_ + "}" - } - ), - goog.html.TrustedResourceUrl.unwrap = function(e) { - return goog.html.TrustedResourceUrl.unwrapTrustedScriptURL(e).toString() - } - , - goog.html.TrustedResourceUrl.unwrapTrustedScriptURL = function(e) { - return e instanceof goog.html.TrustedResourceUrl && e.constructor === goog.html.TrustedResourceUrl && e.TRUSTED_RESOURCE_URL_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_ === goog.html.TrustedResourceUrl.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_ ? e.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_ : (goog.asserts.fail("expected object of type TrustedResourceUrl, got '" + e + "' of type " + goog.typeOf(e)), - "type_error:TrustedResourceUrl") - } - , - goog.html.TrustedResourceUrl.format = function(e, t) { - var r = goog.string.Const.unwrap(e); - if (!goog.html.TrustedResourceUrl.BASE_URL_.test(r)) - throw Error("Invalid TrustedResourceUrl format: " + r); - return e = r.replace(goog.html.TrustedResourceUrl.FORMAT_MARKER_, (function(e, o) { - if (!Object.prototype.hasOwnProperty.call(t, o)) - throw Error('Found marker, "' + o + '", in format string, "' + r + '", but no valid label mapping found in args: ' + JSON.stringify(t)); - return (e = t[o])instanceof goog.string.Const ? goog.string.Const.unwrap(e) : encodeURIComponent(String(e)) - } - )), - goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(e) - } - , - goog.html.TrustedResourceUrl.FORMAT_MARKER_ = /%{(\w+)}/g, - goog.html.TrustedResourceUrl.BASE_URL_ = /^((https:)?\/\/[0-9a-z.:[\]-]+\/|\/[^/\\]|[^:/\\%]+\/|[^:/\\%]*[?#]|about:blank#)/i, - goog.html.TrustedResourceUrl.URL_PARAM_PARSER_ = /^([^?#]*)(\?[^#]*)?(#[\s\S]*)?/, - goog.html.TrustedResourceUrl.formatWithParams = function(e, t, r, o) { - return goog.html.TrustedResourceUrl.format(e, t).cloneWithParams(r, o) - } - , - goog.html.TrustedResourceUrl.fromConstant = function(e) { - return goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(goog.string.Const.unwrap(e)) - } - , - goog.html.TrustedResourceUrl.fromConstants = function(e) { - for (var t = "", r = 0; r < e.length; r++) - t += goog.string.Const.unwrap(e[r]); - return goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(t) - } - , - goog.html.TrustedResourceUrl.fromSafeScript = function(e) { - return e = goog.fs.blob.getBlobWithProperties([goog.html.SafeScript.unwrap(e)], "text/javascript"), - e = goog.fs.url.createObjectUrl(e), - goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(e) - } - , - goog.html.TrustedResourceUrl.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_ = {}, - goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse = function(e) { - return e = goog.html.trustedtypes.PRIVATE_DO_NOT_ACCESS_OR_ELSE_POLICY ? goog.html.trustedtypes.PRIVATE_DO_NOT_ACCESS_OR_ELSE_POLICY.createScriptURL(e) : e, - new goog.html.TrustedResourceUrl(goog.html.TrustedResourceUrl.CONSTRUCTOR_TOKEN_PRIVATE_,e) - } - , - goog.html.TrustedResourceUrl.stringifyParams_ = function(e, t, r) { - if (null == r) - return t; - if ("string" == typeof r) - return r ? e + encodeURIComponent(r) : ""; - for (var o in r) { - var i = r[o]; - i = Array.isArray(i) ? i : [i]; - for (var a = 0; a < i.length; a++) { - var n = i[a]; - null != n && (t || (t = e), - t += (t.length > e.length ? "&" : "") + encodeURIComponent(o) + "=" + encodeURIComponent(String(n))) - } - } - return t - } - , - goog.html.TrustedResourceUrl.CONSTRUCTOR_TOKEN_PRIVATE_ = {}, - goog.string.internal = {}, - goog.string.internal.startsWith = function(e, t) { - return 0 == e.lastIndexOf(t, 0) - } - , - goog.string.internal.endsWith = function(e, t) { - var r = e.length - t.length; - return 0 <= r && e.indexOf(t, r) == r - } - , - goog.string.internal.caseInsensitiveStartsWith = function(e, t) { - return 0 == goog.string.internal.caseInsensitiveCompare(t, e.substr(0, t.length)) - } - , - goog.string.internal.caseInsensitiveEndsWith = function(e, t) { - return 0 == goog.string.internal.caseInsensitiveCompare(t, e.substr(e.length - t.length, t.length)) - } - , - goog.string.internal.caseInsensitiveEquals = function(e, t) { - return e.toLowerCase() == t.toLowerCase() - } - , - goog.string.internal.isEmptyOrWhitespace = function(e) { - return /^[\s\xa0]*$/.test(e) - } - , - goog.string.internal.trim = goog.TRUSTED_SITE && String.prototype.trim ? function(e) { - return e.trim() - } - : function(e) { - return /^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(e)[1] - } - , - goog.string.internal.caseInsensitiveCompare = function(e, t) { - return (e = String(e).toLowerCase()) < (t = String(t).toLowerCase()) ? -1 : e == t ? 0 : 1 - } - , - goog.string.internal.newLineToBr = function(e, t) { - return e.replace(/(\r\n|\r|\n)/g, t ? "
" : "
") - } - , - goog.string.internal.htmlEscape = function(e, t) { - if (t) - e = e.replace(goog.string.internal.AMP_RE_, "&").replace(goog.string.internal.LT_RE_, "<").replace(goog.string.internal.GT_RE_, ">").replace(goog.string.internal.QUOT_RE_, """).replace(goog.string.internal.SINGLE_QUOTE_RE_, "'").replace(goog.string.internal.NULL_RE_, "�"); - else { - if (!goog.string.internal.ALL_RE_.test(e)) - return e; - -1 != e.indexOf("&") && (e = e.replace(goog.string.internal.AMP_RE_, "&")), - -1 != e.indexOf("<") && (e = e.replace(goog.string.internal.LT_RE_, "<")), - -1 != e.indexOf(">") && (e = e.replace(goog.string.internal.GT_RE_, ">")), - -1 != e.indexOf('"') && (e = e.replace(goog.string.internal.QUOT_RE_, """)), - -1 != e.indexOf("'") && (e = e.replace(goog.string.internal.SINGLE_QUOTE_RE_, "'")), - -1 != e.indexOf("\0") && (e = e.replace(goog.string.internal.NULL_RE_, "�")) - } - return e - } - , - goog.string.internal.AMP_RE_ = /&/g, - goog.string.internal.LT_RE_ = //g, - goog.string.internal.QUOT_RE_ = /"/g, - goog.string.internal.SINGLE_QUOTE_RE_ = /'/g, - goog.string.internal.NULL_RE_ = /\x00/g, - goog.string.internal.ALL_RE_ = /[\x00&<>"']/, - goog.string.internal.whitespaceEscape = function(e, t) { - return goog.string.internal.newLineToBr(e.replace(/ /g, "  "), t) - } - , - goog.string.internal.contains = function(e, t) { - return -1 != e.indexOf(t) - } - , - goog.string.internal.caseInsensitiveContains = function(e, t) { - return goog.string.internal.contains(e.toLowerCase(), t.toLowerCase()) - } - , - goog.string.internal.compareVersions = function(e, t) { - var r = 0; - e = goog.string.internal.trim(String(e)).split("."), - t = goog.string.internal.trim(String(t)).split("."); - for (var o = Math.max(e.length, t.length), i = 0; 0 == r && i < o; i++) { - var a = e[i] || "" - , n = t[i] || ""; - do { - if (a = /(\d*)(\D*)(.*)/.exec(a) || ["", "", "", ""], - n = /(\d*)(\D*)(.*)/.exec(n) || ["", "", "", ""], - 0 == a[0].length && 0 == n[0].length) - break; - r = 0 == a[1].length ? 0 : parseInt(a[1], 10); - var s = 0 == n[1].length ? 0 : parseInt(n[1], 10); - r = goog.string.internal.compareElements_(r, s) || goog.string.internal.compareElements_(0 == a[2].length, 0 == n[2].length) || goog.string.internal.compareElements_(a[2], n[2]), - a = a[3], - n = n[3] - } while (0 == r) - } - return r - } - , - goog.string.internal.compareElements_ = function(e, t) { - return e < t ? -1 : e > t ? 1 : 0 - } - , - goog.html.SafeUrl = function(e, t) { - this.privateDoNotAccessOrElseSafeUrlWrappedValue_ = e === goog.html.SafeUrl.CONSTRUCTOR_TOKEN_PRIVATE_ && t || "", - this.SAFE_URL_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_ = goog.html.SafeUrl.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_ - } - , - goog.html.SafeUrl.INNOCUOUS_STRING = "about:invalid#zClosurez", - goog.html.SafeUrl.prototype.implementsGoogStringTypedString = !0, - goog.html.SafeUrl.prototype.getTypedStringValue = function() { - return this.privateDoNotAccessOrElseSafeUrlWrappedValue_.toString() - } - , - goog.html.SafeUrl.prototype.implementsGoogI18nBidiDirectionalString = !0, - goog.html.SafeUrl.prototype.getDirection = function() { - return goog.i18n.bidi.Dir.LTR - } - , - goog.DEBUG && (goog.html.SafeUrl.prototype.toString = function() { - return "SafeUrl{" + this.privateDoNotAccessOrElseSafeUrlWrappedValue_ + "}" - } - ), - goog.html.SafeUrl.unwrap = function(e) { - return e instanceof goog.html.SafeUrl && e.constructor === goog.html.SafeUrl && e.SAFE_URL_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_ === goog.html.SafeUrl.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_ ? e.privateDoNotAccessOrElseSafeUrlWrappedValue_ : (goog.asserts.fail("expected object of type SafeUrl, got '" + e + "' of type " + goog.typeOf(e)), - "type_error:SafeUrl") - } - , - goog.html.SafeUrl.fromConstant = function(e) { - return goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(goog.string.Const.unwrap(e)) - } - , - goog.html.SAFE_MIME_TYPE_PATTERN_ = /^(?:audio\/(?:3gpp2|3gpp|aac|L16|midi|mp3|mp4|mpeg|oga|ogg|opus|x-m4a|x-matroska|x-wav|wav|webm)|image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp|x-icon)|text\/csv|video\/(?:mpeg|mp4|ogg|webm|quicktime|x-matroska))(?:;\w+=(?:\w+|"[\w;,= ]+"))*$/i, - goog.html.SafeUrl.isSafeMimeType = function(e) { - return goog.html.SAFE_MIME_TYPE_PATTERN_.test(e) - } - , - goog.html.SafeUrl.fromBlob = function(e) { - return e = goog.html.SafeUrl.isSafeMimeType(e.type) ? goog.fs.url.createObjectUrl(e) : goog.html.SafeUrl.INNOCUOUS_STRING, - goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(e) - } - , - goog.html.SafeUrl.fromMediaSource = function(e) { - return goog.asserts.assert("MediaSource"in goog.global, "No support for MediaSource"), - e = e instanceof MediaSource ? goog.fs.url.createObjectUrl(e) : goog.html.SafeUrl.INNOCUOUS_STRING, - goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(e) - } - , - goog.html.DATA_URL_PATTERN_ = /^data:(.*);base64,[a-z0-9+\/]+=*$/i, - goog.html.SafeUrl.fromDataUrl = function(e) { - var t = (e = e.replace(/(%0A|%0D)/g, "")).match(goog.html.DATA_URL_PATTERN_); - return t = t && goog.html.SafeUrl.isSafeMimeType(t[1]), - goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(t ? e : goog.html.SafeUrl.INNOCUOUS_STRING) - } - , - goog.html.SafeUrl.fromTelUrl = function(e) { - return goog.string.internal.caseInsensitiveStartsWith(e, "tel:") || (e = goog.html.SafeUrl.INNOCUOUS_STRING), - goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(e) - } - , - goog.html.SIP_URL_PATTERN_ = /^sip[s]?:[+a-z0-9_.!$%&'*\/=^`{|}~-]+@([a-z0-9-]+\.)+[a-z0-9]{2,63}$/i, - goog.html.SafeUrl.fromSipUrl = function(e) { - return goog.html.SIP_URL_PATTERN_.test(decodeURIComponent(e)) || (e = goog.html.SafeUrl.INNOCUOUS_STRING), - goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(e) - } - , - goog.html.SafeUrl.fromFacebookMessengerUrl = function(e) { - return goog.string.internal.caseInsensitiveStartsWith(e, "fb-messenger://share") || (e = goog.html.SafeUrl.INNOCUOUS_STRING), - goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(e) - } - , - goog.html.SafeUrl.fromWhatsAppUrl = function(e) { - return goog.string.internal.caseInsensitiveStartsWith(e, "whatsapp://send") || (e = goog.html.SafeUrl.INNOCUOUS_STRING), - goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(e) - } - , - goog.html.SafeUrl.fromSmsUrl = function(e) { - return goog.string.internal.caseInsensitiveStartsWith(e, "sms:") && goog.html.SafeUrl.isSmsUrlBodyValid_(e) || (e = goog.html.SafeUrl.INNOCUOUS_STRING), - goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(e) - } - , - goog.html.SafeUrl.isSmsUrlBodyValid_ = function(e) { - var t = e.indexOf("#"); - if (0 < t && (e = e.substring(0, t)), - !(t = e.match(/[?&]body=/gi))) - return !0; - if (1 < t.length) - return !1; - if (!(e = e.match(/[?&]body=([^&]*)/)[1])) - return !0; - try { - decodeURIComponent(e) - } catch (e) { - return !1 - } - return /^(?:[a-z0-9\-_.~]|%[0-9a-f]{2})+$/i.test(e) - } - , - goog.html.SafeUrl.fromSshUrl = function(e) { - return goog.string.internal.caseInsensitiveStartsWith(e, "ssh://") || (e = goog.html.SafeUrl.INNOCUOUS_STRING), - goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(e) - } - , - goog.html.SafeUrl.sanitizeChromeExtensionUrl = function(e, t) { - return goog.html.SafeUrl.sanitizeExtensionUrl_(/^chrome-extension:\/\/([^\/]+)\//, e, t) - } - , - goog.html.SafeUrl.sanitizeFirefoxExtensionUrl = function(e, t) { - return goog.html.SafeUrl.sanitizeExtensionUrl_(/^moz-extension:\/\/([^\/]+)\//, e, t) - } - , - goog.html.SafeUrl.sanitizeEdgeExtensionUrl = function(e, t) { - return goog.html.SafeUrl.sanitizeExtensionUrl_(/^ms-browser-extension:\/\/([^\/]+)\//, e, t) - } - , - goog.html.SafeUrl.sanitizeExtensionUrl_ = function(e, t, r) { - return (e = e.exec(t)) ? (e = e[1], - -1 == (r instanceof goog.string.Const ? [goog.string.Const.unwrap(r)] : r.map((function(e) { - return goog.string.Const.unwrap(e) - } - ))).indexOf(e) && (t = goog.html.SafeUrl.INNOCUOUS_STRING)) : t = goog.html.SafeUrl.INNOCUOUS_STRING, - goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(t) - } - , - goog.html.SafeUrl.fromTrustedResourceUrl = function(e) { - return goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(goog.html.TrustedResourceUrl.unwrap(e)) - } - , - goog.html.SAFE_URL_PATTERN_ = /^(?:(?:https?|mailto|ftp):|[^:/?#]*(?:[/?#]|$))/i, - goog.html.SafeUrl.SAFE_URL_PATTERN = goog.html.SAFE_URL_PATTERN_, - goog.html.SafeUrl.sanitize = function(e) { - return e instanceof goog.html.SafeUrl ? e : (e = "object" == typeof e && e.implementsGoogStringTypedString ? e.getTypedStringValue() : String(e), - goog.html.SAFE_URL_PATTERN_.test(e) || (e = goog.html.SafeUrl.INNOCUOUS_STRING), - goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(e)) - } - , - goog.html.SafeUrl.sanitizeAssertUnchanged = function(e, t) { - return e instanceof goog.html.SafeUrl ? e : (e = "object" == typeof e && e.implementsGoogStringTypedString ? e.getTypedStringValue() : String(e), - t && /^data:/i.test(e) && (t = goog.html.SafeUrl.fromDataUrl(e)).getTypedStringValue() == e ? t : (goog.asserts.assert(goog.html.SAFE_URL_PATTERN_.test(e), "%s does not match the safe URL pattern", e) || (e = goog.html.SafeUrl.INNOCUOUS_STRING), - goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(e))) - } - , - goog.html.SafeUrl.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_ = {}, - goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse = function(e) { - return new goog.html.SafeUrl(goog.html.SafeUrl.CONSTRUCTOR_TOKEN_PRIVATE_,e) - } - , - goog.html.SafeUrl.ABOUT_BLANK = goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse("about:blank"), - goog.html.SafeUrl.CONSTRUCTOR_TOKEN_PRIVATE_ = {}, - goog.html.SafeStyle = function() { - this.privateDoNotAccessOrElseSafeStyleWrappedValue_ = "", - this.SAFE_STYLE_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_ = goog.html.SafeStyle.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_ - } - , - goog.html.SafeStyle.prototype.implementsGoogStringTypedString = !0, - goog.html.SafeStyle.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_ = {}, - goog.html.SafeStyle.fromConstant = function(e) { - return 0 === (e = goog.string.Const.unwrap(e)).length ? goog.html.SafeStyle.EMPTY : (goog.asserts.assert(goog.string.internal.endsWith(e, ";"), "Last character of style string is not ';': " + e), - goog.asserts.assert(goog.string.internal.contains(e, ":"), "Style string must contain at least one ':', to specify a \"name: value\" pair: " + e), - goog.html.SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse(e)) - } - , - goog.html.SafeStyle.prototype.getTypedStringValue = function() { - return this.privateDoNotAccessOrElseSafeStyleWrappedValue_ - } - , - goog.DEBUG && (goog.html.SafeStyle.prototype.toString = function() { - return "SafeStyle{" + this.privateDoNotAccessOrElseSafeStyleWrappedValue_ + "}" - } - ), - goog.html.SafeStyle.unwrap = function(e) { - return e instanceof goog.html.SafeStyle && e.constructor === goog.html.SafeStyle && e.SAFE_STYLE_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_ === goog.html.SafeStyle.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_ ? e.privateDoNotAccessOrElseSafeStyleWrappedValue_ : (goog.asserts.fail("expected object of type SafeStyle, got '" + e + "' of type " + goog.typeOf(e)), - "type_error:SafeStyle") - } - , - goog.html.SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse = function(e) { - return (new goog.html.SafeStyle).initSecurityPrivateDoNotAccessOrElse_(e) - } - , - goog.html.SafeStyle.prototype.initSecurityPrivateDoNotAccessOrElse_ = function(e) { - return this.privateDoNotAccessOrElseSafeStyleWrappedValue_ = e, - this - } - , - goog.html.SafeStyle.EMPTY = goog.html.SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse(""), - goog.html.SafeStyle.INNOCUOUS_STRING = "zClosurez", - goog.html.SafeStyle.create = function(e) { - var t, r = ""; - for (t in e) { - if (!/^[-_a-zA-Z0-9]+$/.test(t)) - throw Error("Name allows only [-_a-zA-Z0-9], got: " + t); - var o = e[t]; - null != o && (r += t + ":" + (o = Array.isArray(o) ? goog.array.map(o, goog.html.SafeStyle.sanitizePropertyValue_).join(" ") : goog.html.SafeStyle.sanitizePropertyValue_(o)) + ";") - } - return r ? goog.html.SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse(r) : goog.html.SafeStyle.EMPTY - } - , - goog.html.SafeStyle.sanitizePropertyValue_ = function(e) { - if (e instanceof goog.html.SafeUrl) - return 'url("' + goog.html.SafeUrl.unwrap(e).replace(/+~[\]()=^$|]+$/.test(r)) - throw Error("Selector allows only [-_a-zA-Z0-9#.:* ,>+~[\\]()=^$|] and strings, got: " + e); - if (!goog.html.SafeStyleSheet.hasBalancedBrackets_(r)) - throw Error("() and [] in selector must be balanced, got: " + e); - return t instanceof goog.html.SafeStyle || (t = goog.html.SafeStyle.create(t)), - e = e + "{" + goog.html.SafeStyle.unwrap(t).replace(/." : ""); - if (e.toUpperCase()in goog.html.SafeHtml.NOT_ALLOWED_TAG_NAMES_) - throw Error(goog.html.SafeHtml.ENABLE_ERROR_MESSAGES ? "Tag name <" + e + "> is not allowed for SafeHtml." : "") - } - , - goog.html.SafeHtml.createIframe = function(e, t, r, o) { - e && goog.html.TrustedResourceUrl.unwrap(e); - var i = {}; - return i.src = e || null, - i.srcdoc = t && goog.html.SafeHtml.unwrap(t), - e = goog.html.SafeHtml.combineAttributes(i, { - sandbox: "" - }, r), - goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("iframe", e, o) - } - , - goog.html.SafeHtml.createSandboxIframe = function(e, t, r, o) { - if (!goog.html.SafeHtml.canUseSandboxIframe()) - throw Error(goog.html.SafeHtml.ENABLE_ERROR_MESSAGES ? "The browser does not support sandboxed iframes." : ""); - var i = {}; - return i.src = e ? goog.html.SafeUrl.unwrap(goog.html.SafeUrl.sanitize(e)) : null, - i.srcdoc = t || null, - i.sandbox = "", - e = goog.html.SafeHtml.combineAttributes(i, {}, r), - goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("iframe", e, o) - } - , - goog.html.SafeHtml.canUseSandboxIframe = function() { - return goog.global.HTMLIFrameElement && "sandbox"in goog.global.HTMLIFrameElement.prototype - } - , - goog.html.SafeHtml.createScriptSrc = function(e, t) { - return goog.html.TrustedResourceUrl.unwrap(e), - e = goog.html.SafeHtml.combineAttributes({ - src: e - }, {}, t), - goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("script", e) - } - , - goog.html.SafeHtml.createScript = function(e, t) { - for (var r in t) { - var o = r.toLowerCase(); - if ("language" == o || "src" == o || "text" == o || "type" == o) - throw Error(goog.html.SafeHtml.ENABLE_ERROR_MESSAGES ? 'Cannot set "' + o + '" attribute' : "") - } - for (r = "", - e = goog.array.concat(e), - o = 0; o < e.length; o++) - r += goog.html.SafeScript.unwrap(e[o]); - return e = goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(r, goog.i18n.bidi.Dir.NEUTRAL), - goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("script", t, e) - } - , - goog.html.SafeHtml.createStyle = function(e, t) { - t = goog.html.SafeHtml.combineAttributes({ - type: "text/css" - }, {}, t); - var r = ""; - e = goog.array.concat(e); - for (var o = 0; o < e.length; o++) - r += goog.html.SafeStyleSheet.unwrap(e[o]); - return e = goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(r, goog.i18n.bidi.Dir.NEUTRAL), - goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("style", t, e) - } - , - goog.html.SafeHtml.createMetaRefresh = function(e, t) { - return e = goog.html.SafeUrl.unwrap(goog.html.SafeUrl.sanitize(e)), - (goog.labs.userAgent.browser.isIE() || goog.labs.userAgent.browser.isEdge()) && goog.string.internal.contains(e, ";") && (e = "'" + e.replace(/'/g, "%27") + "'"), - goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("meta", { - "http-equiv": "refresh", - content: (t || 0) + "; url=" + e - }) - } - , - goog.html.SafeHtml.getAttrNameAndValue_ = function(e, t, r) { - if (r instanceof goog.string.Const) - r = goog.string.Const.unwrap(r); - else if ("style" == t.toLowerCase()) { - if (!goog.html.SafeHtml.SUPPORT_STYLE_ATTRIBUTE) - throw Error(goog.html.SafeHtml.ENABLE_ERROR_MESSAGES ? 'Attribute "style" not supported.' : ""); - r = goog.html.SafeHtml.getStyleValue_(r) - } else { - if (/^on/i.test(t)) - throw Error(goog.html.SafeHtml.ENABLE_ERROR_MESSAGES ? 'Attribute "' + t + '" requires goog.string.Const value, "' + r + '" given.' : ""); - if (t.toLowerCase()in goog.html.SafeHtml.URL_ATTRIBUTES_) - if (r instanceof goog.html.TrustedResourceUrl) - r = goog.html.TrustedResourceUrl.unwrap(r); - else if (r instanceof goog.html.SafeUrl) - r = goog.html.SafeUrl.unwrap(r); - else { - if ("string" != typeof r) - throw Error(goog.html.SafeHtml.ENABLE_ERROR_MESSAGES ? 'Attribute "' + t + '" on tag "' + e + '" requires goog.html.SafeUrl, goog.string.Const, or string, value "' + r + '" given.' : ""); - r = goog.html.SafeUrl.sanitize(r).getTypedStringValue() - } - } - return r.implementsGoogStringTypedString && (r = r.getTypedStringValue()), - goog.asserts.assert("string" == typeof r || "number" == typeof r, "String or number value expected, got " + typeof r + " with value: " + r), - t + '="' + goog.string.internal.htmlEscape(String(r)) + '"' - } - , - goog.html.SafeHtml.getStyleValue_ = function(e) { - if (!goog.isObject(e)) - throw Error(goog.html.SafeHtml.ENABLE_ERROR_MESSAGES ? 'The "style" attribute requires goog.html.SafeStyle or map of style properties, ' + typeof e + " given: " + e : ""); - return e instanceof goog.html.SafeStyle || (e = goog.html.SafeStyle.create(e)), - goog.html.SafeStyle.unwrap(e) - } - , - goog.html.SafeHtml.createWithDir = function(e, t, r, o) { - return (t = goog.html.SafeHtml.create(t, r, o)).dir_ = e, - t - } - , - goog.html.SafeHtml.join = function(e, t) { - var r = (e = goog.html.SafeHtml.htmlEscape(e)).getDirection() - , o = [] - , i = function(e) { - Array.isArray(e) ? goog.array.forEach(e, i) : (e = goog.html.SafeHtml.htmlEscape(e), - o.push(goog.html.SafeHtml.unwrap(e)), - e = e.getDirection(), - r == goog.i18n.bidi.Dir.NEUTRAL ? r = e : e != goog.i18n.bidi.Dir.NEUTRAL && r != e && (r = null)) - }; - return goog.array.forEach(t, i), - goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(o.join(goog.html.SafeHtml.unwrap(e)), r) - } - , - goog.html.SafeHtml.concat = function(e) { - return goog.html.SafeHtml.join(goog.html.SafeHtml.EMPTY, Array.prototype.slice.call(arguments)) - } - , - goog.html.SafeHtml.concatWithDir = function(e, t) { - var r = goog.html.SafeHtml.concat(goog.array.slice(arguments, 1)); - return r.dir_ = e, - r - } - , - goog.html.SafeHtml.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_ = {}, - goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse = function(e, t) { - return (new goog.html.SafeHtml).initSecurityPrivateDoNotAccessOrElse_(e, t) - } - , - goog.html.SafeHtml.prototype.initSecurityPrivateDoNotAccessOrElse_ = function(e, t) { - return this.privateDoNotAccessOrElseSafeHtmlWrappedValue_ = goog.html.trustedtypes.PRIVATE_DO_NOT_ACCESS_OR_ELSE_POLICY ? goog.html.trustedtypes.PRIVATE_DO_NOT_ACCESS_OR_ELSE_POLICY.createHTML(e) : e, - this.dir_ = t, - this - } - , - goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse = function(e, t, r) { - var o = null - , i = "<" + e + goog.html.SafeHtml.stringifyAttributes(e, t); - return null == r ? r = [] : Array.isArray(r) || (r = [r]), - goog.dom.tags.isVoidTag(e.toLowerCase()) ? (goog.asserts.assert(!r.length, "Void tag <" + e + "> does not allow content."), - i += ">") : (o = goog.html.SafeHtml.concat(r), - i += ">" + goog.html.SafeHtml.unwrap(o) + "", - o = o.getDirection()), - (e = t && t.dir) && (o = /^(ltr|rtl|auto)$/i.test(e) ? goog.i18n.bidi.Dir.NEUTRAL : null), - goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(i, o) - } - , - goog.html.SafeHtml.stringifyAttributes = function(e, t) { - var r = ""; - if (t) - for (var o in t) { - if (!goog.html.SafeHtml.VALID_NAMES_IN_TAG_.test(o)) - throw Error(goog.html.SafeHtml.ENABLE_ERROR_MESSAGES ? 'Invalid attribute name "' + o + '".' : ""); - var i = t[o]; - null != i && (r += " " + goog.html.SafeHtml.getAttrNameAndValue_(e, o, i)) - } - return r - } - , - goog.html.SafeHtml.combineAttributes = function(e, t, r) { - var o, i = {}; - for (o in e) - goog.asserts.assert(o.toLowerCase() == o, "Must be lower case"), - i[o] = e[o]; - for (o in t) - goog.asserts.assert(o.toLowerCase() == o, "Must be lower case"), - i[o] = t[o]; - if (r) - for (o in r) { - var a = o.toLowerCase(); - if (a in e) - throw Error(goog.html.SafeHtml.ENABLE_ERROR_MESSAGES ? 'Cannot override "' + a + '" attribute, got "' + o + '" with value "' + r[o] + '"' : ""); - a in t && delete i[a], - i[o] = r[o] - } - return i - } - , - goog.html.SafeHtml.DOCTYPE_HTML = goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse("", goog.i18n.bidi.Dir.NEUTRAL), - goog.html.SafeHtml.EMPTY = goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse("", goog.i18n.bidi.Dir.NEUTRAL), - goog.html.SafeHtml.BR = goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse("
", goog.i18n.bidi.Dir.NEUTRAL), - goog.html.uncheckedconversions = {}, - goog.html.uncheckedconversions.safeHtmlFromStringKnownToSatisfyTypeContract = function(e, t, r) { - return goog.asserts.assertString(goog.string.Const.unwrap(e), "must provide justification"), - goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(e)), "must provide non-empty justification"), - goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(t, r || null) - } - , - goog.html.uncheckedconversions.safeScriptFromStringKnownToSatisfyTypeContract = function(e, t) { - return goog.asserts.assertString(goog.string.Const.unwrap(e), "must provide justification"), - goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(e)), "must provide non-empty justification"), - goog.html.SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse(t) - } - , - goog.html.uncheckedconversions.safeStyleFromStringKnownToSatisfyTypeContract = function(e, t) { - return goog.asserts.assertString(goog.string.Const.unwrap(e), "must provide justification"), - goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(e)), "must provide non-empty justification"), - goog.html.SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse(t) - } - , - goog.html.uncheckedconversions.safeStyleSheetFromStringKnownToSatisfyTypeContract = function(e, t) { - return goog.asserts.assertString(goog.string.Const.unwrap(e), "must provide justification"), - goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(e)), "must provide non-empty justification"), - goog.html.SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse(t) - } - , - goog.html.uncheckedconversions.safeUrlFromStringKnownToSatisfyTypeContract = function(e, t) { - return goog.asserts.assertString(goog.string.Const.unwrap(e), "must provide justification"), - goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(e)), "must provide non-empty justification"), - goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(t) - } - , - goog.html.uncheckedconversions.trustedResourceUrlFromStringKnownToSatisfyTypeContract = function(e, t) { - return goog.asserts.assertString(goog.string.Const.unwrap(e), "must provide justification"), - goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(e)), "must provide non-empty justification"), - goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(t) - } - , - goog.dom.safe = {}, - goog.dom.safe.InsertAdjacentHtmlPosition = { - AFTERBEGIN: "afterbegin", - AFTEREND: "afterend", - BEFOREBEGIN: "beforebegin", - BEFOREEND: "beforeend" - }, - goog.dom.safe.insertAdjacentHtml = function(e, t, r) { - e.insertAdjacentHTML(t, goog.html.SafeHtml.unwrapTrustedHTML(r)) - } - , - goog.dom.safe.SET_INNER_HTML_DISALLOWED_TAGS_ = { - MATH: !0, - SCRIPT: !0, - STYLE: !0, - SVG: !0, - TEMPLATE: !0 - }, - goog.dom.safe.isInnerHtmlCleanupRecursive_ = goog.functions.cacheReturnValue((function() { - if (goog.DEBUG && "undefined" == typeof document) - return !1; - var e = document.createElement("div") - , t = document.createElement("div"); - return t.appendChild(document.createElement("div")), - e.appendChild(t), - !(goog.DEBUG && !e.firstChild) && (t = e.firstChild.firstChild, - e.innerHTML = goog.html.SafeHtml.unwrapTrustedHTML(goog.html.SafeHtml.EMPTY), - !t.parentElement) - } - )), - goog.dom.safe.unsafeSetInnerHtmlDoNotUseOrElse = function(e, t) { - if (goog.dom.safe.isInnerHtmlCleanupRecursive_()) - for (; e.lastChild; ) - e.removeChild(e.lastChild); - e.innerHTML = goog.html.SafeHtml.unwrapTrustedHTML(t) - } - , - goog.dom.safe.setInnerHtml = function(e, t) { - if (goog.asserts.ENABLE_ASSERTS) { - var r = e.tagName.toUpperCase(); - if (goog.dom.safe.SET_INNER_HTML_DISALLOWED_TAGS_[r]) - throw Error("goog.dom.safe.setInnerHtml cannot be used to set content of " + e.tagName + ".") - } - goog.dom.safe.unsafeSetInnerHtmlDoNotUseOrElse(e, t) - } - , - goog.dom.safe.setOuterHtml = function(e, t) { - e.outerHTML = goog.html.SafeHtml.unwrapTrustedHTML(t) - } - , - goog.dom.safe.setFormElementAction = function(e, t) { - t = t instanceof goog.html.SafeUrl ? t : goog.html.SafeUrl.sanitizeAssertUnchanged(t), - goog.dom.asserts.assertIsHTMLFormElement(e).action = goog.html.SafeUrl.unwrap(t) - } - , - goog.dom.safe.setButtonFormAction = function(e, t) { - t = t instanceof goog.html.SafeUrl ? t : goog.html.SafeUrl.sanitizeAssertUnchanged(t), - goog.dom.asserts.assertIsHTMLButtonElement(e).formAction = goog.html.SafeUrl.unwrap(t) - } - , - goog.dom.safe.setInputFormAction = function(e, t) { - t = t instanceof goog.html.SafeUrl ? t : goog.html.SafeUrl.sanitizeAssertUnchanged(t), - goog.dom.asserts.assertIsHTMLInputElement(e).formAction = goog.html.SafeUrl.unwrap(t) - } - , - goog.dom.safe.setStyle = function(e, t) { - e.style.cssText = goog.html.SafeStyle.unwrap(t) - } - , - goog.dom.safe.documentWrite = function(e, t) { - e.write(goog.html.SafeHtml.unwrapTrustedHTML(t)) - } - , - goog.dom.safe.setAnchorHref = function(e, t) { - goog.dom.asserts.assertIsHTMLAnchorElement(e), - t = t instanceof goog.html.SafeUrl ? t : goog.html.SafeUrl.sanitizeAssertUnchanged(t), - e.href = goog.html.SafeUrl.unwrap(t) - } - , - goog.dom.safe.setImageSrc = function(e, t) { - if (goog.dom.asserts.assertIsHTMLImageElement(e), - !(t instanceof goog.html.SafeUrl)) { - var r = /^data:image\//i.test(t); - t = goog.html.SafeUrl.sanitizeAssertUnchanged(t, r) - } - e.src = goog.html.SafeUrl.unwrap(t) - } - , - goog.dom.safe.setAudioSrc = function(e, t) { - if (goog.dom.asserts.assertIsHTMLAudioElement(e), - !(t instanceof goog.html.SafeUrl)) { - var r = /^data:audio\//i.test(t); - t = goog.html.SafeUrl.sanitizeAssertUnchanged(t, r) - } - e.src = goog.html.SafeUrl.unwrap(t) - } - , - goog.dom.safe.setVideoSrc = function(e, t) { - if (goog.dom.asserts.assertIsHTMLVideoElement(e), - !(t instanceof goog.html.SafeUrl)) { - var r = /^data:video\//i.test(t); - t = goog.html.SafeUrl.sanitizeAssertUnchanged(t, r) - } - e.src = goog.html.SafeUrl.unwrap(t) - } - , - goog.dom.safe.setEmbedSrc = function(e, t) { - goog.dom.asserts.assertIsHTMLEmbedElement(e), - e.src = goog.html.TrustedResourceUrl.unwrapTrustedScriptURL(t) - } - , - goog.dom.safe.setFrameSrc = function(e, t) { - goog.dom.asserts.assertIsHTMLFrameElement(e), - e.src = goog.html.TrustedResourceUrl.unwrap(t) - } - , - goog.dom.safe.setIframeSrc = function(e, t) { - goog.dom.asserts.assertIsHTMLIFrameElement(e), - e.src = goog.html.TrustedResourceUrl.unwrap(t) - } - , - goog.dom.safe.setIframeSrcdoc = function(e, t) { - goog.dom.asserts.assertIsHTMLIFrameElement(e), - e.srcdoc = goog.html.SafeHtml.unwrapTrustedHTML(t) - } - , - goog.dom.safe.setLinkHrefAndRel = function(e, t, r) { - goog.dom.asserts.assertIsHTMLLinkElement(e), - e.rel = r, - goog.string.internal.caseInsensitiveContains(r, "stylesheet") ? (goog.asserts.assert(t instanceof goog.html.TrustedResourceUrl, 'URL must be TrustedResourceUrl because "rel" contains "stylesheet"'), - e.href = goog.html.TrustedResourceUrl.unwrap(t)) : e.href = t instanceof goog.html.TrustedResourceUrl ? goog.html.TrustedResourceUrl.unwrap(t) : t instanceof goog.html.SafeUrl ? goog.html.SafeUrl.unwrap(t) : goog.html.SafeUrl.unwrap(goog.html.SafeUrl.sanitizeAssertUnchanged(t)) - } - , - goog.dom.safe.setObjectData = function(e, t) { - goog.dom.asserts.assertIsHTMLObjectElement(e), - e.data = goog.html.TrustedResourceUrl.unwrapTrustedScriptURL(t) - } - , - goog.dom.safe.setScriptSrc = function(e, t) { - goog.dom.asserts.assertIsHTMLScriptElement(e), - e.src = goog.html.TrustedResourceUrl.unwrapTrustedScriptURL(t), - (t = goog.getScriptNonce()) && e.setAttribute("nonce", t) - } - , - goog.dom.safe.setScriptContent = function(e, t) { - goog.dom.asserts.assertIsHTMLScriptElement(e), - e.text = goog.html.SafeScript.unwrapTrustedScript(t), - (t = goog.getScriptNonce()) && e.setAttribute("nonce", t) - } - , - goog.dom.safe.setLocationHref = function(e, t) { - goog.dom.asserts.assertIsLocation(e), - t = t instanceof goog.html.SafeUrl ? t : goog.html.SafeUrl.sanitizeAssertUnchanged(t), - e.href = goog.html.SafeUrl.unwrap(t) - } - , - goog.dom.safe.assignLocation = function(e, t) { - goog.dom.asserts.assertIsLocation(e), - t = t instanceof goog.html.SafeUrl ? t : goog.html.SafeUrl.sanitizeAssertUnchanged(t), - e.assign(goog.html.SafeUrl.unwrap(t)) - } - , - goog.dom.safe.replaceLocation = function(e, t) { - t = t instanceof goog.html.SafeUrl ? t : goog.html.SafeUrl.sanitizeAssertUnchanged(t), - e.replace(goog.html.SafeUrl.unwrap(t)) - } - , - goog.dom.safe.openInWindow = function(e, t, r, o, i) { - return e = e instanceof goog.html.SafeUrl ? e : goog.html.SafeUrl.sanitizeAssertUnchanged(e), - t = t || goog.global, - r = r instanceof goog.string.Const ? goog.string.Const.unwrap(r) : r || "", - t.open(goog.html.SafeUrl.unwrap(e), r, o, i) - } - , - goog.dom.safe.parseFromStringHtml = function(e, t) { - return goog.dom.safe.parseFromString(e, t, "text/html") - } - , - goog.dom.safe.parseFromString = function(e, t, r) { - return e.parseFromString(goog.html.SafeHtml.unwrapTrustedHTML(t), r) - } - , - goog.dom.safe.createImageFromBlob = function(e) { - if (!/^image\/.*/g.test(e.type)) - throw Error("goog.dom.safe.createImageFromBlob only accepts MIME type image/.*."); - var t = goog.global.URL.createObjectURL(e); - return (e = new goog.global.Image).onload = function() { - goog.global.URL.revokeObjectURL(t) - } - , - goog.dom.safe.setImageSrc(e, goog.html.uncheckedconversions.safeUrlFromStringKnownToSatisfyTypeContract(goog.string.Const.from("Image blob URL."), t)), - e - } - , - goog.string.DETECT_DOUBLE_ESCAPING = !1, - goog.string.FORCE_NON_DOM_HTML_UNESCAPING = !1, - goog.string.Unicode = { - NBSP: " " - }, - goog.string.startsWith = goog.string.internal.startsWith, - goog.string.endsWith = goog.string.internal.endsWith, - goog.string.caseInsensitiveStartsWith = goog.string.internal.caseInsensitiveStartsWith, - goog.string.caseInsensitiveEndsWith = goog.string.internal.caseInsensitiveEndsWith, - goog.string.caseInsensitiveEquals = goog.string.internal.caseInsensitiveEquals, - goog.string.subs = function(e, t) { - for (var r = e.split("%s"), o = "", i = Array.prototype.slice.call(arguments, 1); i.length && 1 < r.length; ) - o += r.shift() + i.shift(); - return o + r.join("%s") - } - , - goog.string.collapseWhitespace = function(e) { - return e.replace(/[\s\xa0]+/g, " ").replace(/^\s+|\s+$/g, "") - } - , - goog.string.isEmptyOrWhitespace = goog.string.internal.isEmptyOrWhitespace, - goog.string.isEmptyString = function(e) { - return 0 == e.length - } - , - goog.string.isEmpty = goog.string.isEmptyOrWhitespace, - goog.string.isEmptyOrWhitespaceSafe = function(e) { - return goog.string.isEmptyOrWhitespace(goog.string.makeSafe(e)) - } - , - goog.string.isEmptySafe = goog.string.isEmptyOrWhitespaceSafe, - goog.string.isBreakingWhitespace = function(e) { - return !/[^\t\n\r ]/.test(e) - } - , - goog.string.isAlpha = function(e) { - return !/[^a-zA-Z]/.test(e) - } - , - goog.string.isNumeric = function(e) { - return !/[^0-9]/.test(e) - } - , - goog.string.isAlphaNumeric = function(e) { - return !/[^a-zA-Z0-9]/.test(e) - } - , - goog.string.isSpace = function(e) { - return " " == e - } - , - goog.string.isUnicodeChar = function(e) { - return 1 == e.length && " " <= e && "~" >= e || "€" <= e && "�" >= e - } - , - goog.string.stripNewlines = function(e) { - return e.replace(/(\r\n|\r|\n)+/g, " ") - } - , - goog.string.canonicalizeNewlines = function(e) { - return e.replace(/(\r\n|\r|\n)/g, "\n") - } - , - goog.string.normalizeWhitespace = function(e) { - return e.replace(/\xa0|\s/g, " ") - } - , - goog.string.normalizeSpaces = function(e) { - return e.replace(/\xa0|[ \t]+/g, " ") - } - , - goog.string.collapseBreakingSpaces = function(e) { - return e.replace(/[\t\r\n ]+/g, " ").replace(/^[\t\r\n ]+|[\t\r\n ]+$/g, "") - } - , - goog.string.trim = goog.string.internal.trim, - goog.string.trimLeft = function(e) { - return e.replace(/^[\s\xa0]+/, "") - } - , - goog.string.trimRight = function(e) { - return e.replace(/[\s\xa0]+$/, "") - } - , - goog.string.caseInsensitiveCompare = goog.string.internal.caseInsensitiveCompare, - goog.string.numberAwareCompare_ = function(e, t, r) { - if (e == t) - return 0; - if (!e) - return -1; - if (!t) - return 1; - for (var o = e.toLowerCase().match(r), i = t.toLowerCase().match(r), a = Math.min(o.length, i.length), n = 0; n < a; n++) { - r = o[n]; - var s = i[n]; - if (r != s) - return e = parseInt(r, 10), - !isNaN(e) && (t = parseInt(s, 10), - !isNaN(t) && e - t) ? e - t : r < s ? -1 : 1 - } - return o.length != i.length ? o.length - i.length : e < t ? -1 : 1 - } - , - goog.string.intAwareCompare = function(e, t) { - return goog.string.numberAwareCompare_(e, t, /\d+|\D+/g) - } - , - goog.string.floatAwareCompare = function(e, t) { - return goog.string.numberAwareCompare_(e, t, /\d+|\.\d+|\D+/g) - } - , - goog.string.numerateCompare = goog.string.floatAwareCompare, - goog.string.urlEncode = function(e) { - return encodeURIComponent(String(e)) - } - , - goog.string.urlDecode = function(e) { - return decodeURIComponent(e.replace(/\+/g, " ")) - } - , - goog.string.newLineToBr = goog.string.internal.newLineToBr, - goog.string.htmlEscape = function(e, t) { - return e = goog.string.internal.htmlEscape(e, t), - goog.string.DETECT_DOUBLE_ESCAPING && (e = e.replace(goog.string.E_RE_, "e")), - e - } - , - goog.string.E_RE_ = /e/g, - goog.string.unescapeEntities = function(e) { - return goog.string.contains(e, "&") ? !goog.string.FORCE_NON_DOM_HTML_UNESCAPING && "document"in goog.global ? goog.string.unescapeEntitiesUsingDom_(e) : goog.string.unescapePureXmlEntities_(e) : e - } - , - goog.string.unescapeEntitiesWithDocument = function(e, t) { - return goog.string.contains(e, "&") ? goog.string.unescapeEntitiesUsingDom_(e, t) : e - } - , - goog.string.unescapeEntitiesUsingDom_ = function(e, t) { - var r = { - "&": "&", - "<": "<", - ">": ">", - """: '"' - } - , o = t ? t.createElement("div") : goog.global.document.createElement("div"); - return e.replace(goog.string.HTML_ENTITY_PATTERN_, (function(e, t) { - var i = r[e]; - return i || ("#" == t.charAt(0) && (t = Number("0" + t.substr(1)), - isNaN(t) || (i = String.fromCharCode(t))), - i || (goog.dom.safe.setInnerHtml(o, goog.html.uncheckedconversions.safeHtmlFromStringKnownToSatisfyTypeContract(goog.string.Const.from("Single HTML entity."), e + " ")), - i = o.firstChild.nodeValue.slice(0, -1)), - r[e] = i) - } - )) - } - , - goog.string.unescapePureXmlEntities_ = function(e) { - return e.replace(/&([^;]+);/g, (function(e, t) { - switch (t) { - case "amp": - return "&"; - case "lt": - return "<"; - case "gt": - return ">"; - case "quot": - return '"'; - default: - return "#" != t.charAt(0) || (t = Number("0" + t.substr(1)), - isNaN(t)) ? e : String.fromCharCode(t) - } - } - )) - } - , - goog.string.HTML_ENTITY_PATTERN_ = /&([^;\s<&]+);?/g, - goog.string.whitespaceEscape = function(e, t) { - return goog.string.newLineToBr(e.replace(/ /g, "  "), t) - } - , - goog.string.preserveSpaces = function(e) { - return e.replace(/(^|[\n ]) /g, "$1" + goog.string.Unicode.NBSP) - } - , - goog.string.stripQuotes = function(e, t) { - for (var r = t.length, o = 0; o < r; o++) { - var i = 1 == r ? t : t.charAt(o); - if (e.charAt(0) == i && e.charAt(e.length - 1) == i) - return e.substring(1, e.length - 1) - } - return e - } - , - goog.string.truncate = function(e, t, r) { - return r && (e = goog.string.unescapeEntities(e)), - e.length > t && (e = e.substring(0, t - 3) + "..."), - r && (e = goog.string.htmlEscape(e)), - e - } - , - goog.string.truncateMiddle = function(e, t, r, o) { - if (r && (e = goog.string.unescapeEntities(e)), - o && e.length > t) { - o > t && (o = t); - var i = e.length - o; - e = e.substring(0, t - o) + "..." + e.substring(i) - } else - e.length > t && (o = Math.floor(t / 2), - i = e.length - o, - e = e.substring(0, o + t % 2) + "..." + e.substring(i)); - return r && (e = goog.string.htmlEscape(e)), - e - } - , - goog.string.specialEscapeChars_ = { - "\0": "\\0", - "\b": "\\b", - "\f": "\\f", - "\n": "\\n", - "\r": "\\r", - "\t": "\\t", - "\v": "\\x0B", - '"': '\\"', - "\\": "\\\\", - "<": "\\u003C" - }, - goog.string.jsEscapeCache_ = { - "'": "\\'" - }, - goog.string.quote = function(e) { - e = String(e); - for (var t = ['"'], r = 0; r < e.length; r++) { - var o = e.charAt(r) - , i = o.charCodeAt(0); - t[r + 1] = goog.string.specialEscapeChars_[o] || (31 < i && 127 > i ? o : goog.string.escapeChar(o)) - } - return t.push('"'), - t.join("") - } - , - goog.string.escapeString = function(e) { - for (var t = [], r = 0; r < e.length; r++) - t[r] = goog.string.escapeChar(e.charAt(r)); - return t.join("") - } - , - goog.string.escapeChar = function(e) { - if (e in goog.string.jsEscapeCache_) - return goog.string.jsEscapeCache_[e]; - if (e in goog.string.specialEscapeChars_) - return goog.string.jsEscapeCache_[e] = goog.string.specialEscapeChars_[e]; - var t = e.charCodeAt(0); - if (31 < t && 127 > t) - var r = e; - else - 256 > t ? (r = "\\x", - (16 > t || 256 < t) && (r += "0")) : (r = "\\u", - 4096 > t && (r += "0")), - r += t.toString(16).toUpperCase(); - return goog.string.jsEscapeCache_[e] = r - } - , - goog.string.contains = goog.string.internal.contains, - goog.string.caseInsensitiveContains = goog.string.internal.caseInsensitiveContains, - goog.string.countOf = function(e, t) { - return e && t ? e.split(t).length - 1 : 0 - } - , - goog.string.removeAt = function(e, t, r) { - var o = e; - return 0 <= t && t < e.length && 0 < r && (o = e.substr(0, t) + e.substr(t + r, e.length - t - r)), - o - } - , - goog.string.remove = function(e, t) { - return e.replace(t, "") - } - , - goog.string.removeAll = function(e, t) { - return t = new RegExp(goog.string.regExpEscape(t),"g"), - e.replace(t, "") - } - , - goog.string.replaceAll = function(e, t, r) { - return t = new RegExp(goog.string.regExpEscape(t),"g"), - e.replace(t, r.replace(/\$/g, "$$$$")) - } - , - goog.string.regExpEscape = function(e) { - return String(e).replace(/([-()\[\]{}+?*.$\^|,:#>> 0; - return t - } - , - goog.string.uniqueStringCounter_ = 2147483648 * Math.random() | 0, - goog.string.createUniqueString = function() { - return "goog_" + goog.string.uniqueStringCounter_++ - } - , - goog.string.toNumber = function(e) { - var t = Number(e); - return 0 == t && goog.string.isEmptyOrWhitespace(e) ? NaN : t - } - , - goog.string.isLowerCamelCase = function(e) { - return /^[a-z]+([A-Z][a-z]*)*$/.test(e) - } - , - goog.string.isUpperCamelCase = function(e) { - return /^([A-Z][a-z]*)+$/.test(e) - } - , - goog.string.toCamelCase = function(e) { - return String(e).replace(/\-([a-z])/g, (function(e, t) { - return t.toUpperCase() - } - )) - } - , - goog.string.toSelectorCase = function(e) { - return String(e).replace(/([A-Z])/g, "-$1").toLowerCase() - } - , - goog.string.toTitleCase = function(e, t) { - return t = "string" == typeof t ? goog.string.regExpEscape(t) : "\\s", - e.replace(new RegExp("(^" + (t ? "|[" + t + "]+" : "") + ")([a-z])","g"), (function(e, t, r) { - return t + r.toUpperCase() - } - )) - } - , - goog.string.capitalize = function(e) { - return String(e.charAt(0)).toUpperCase() + String(e.substr(1)).toLowerCase() - } - , - goog.string.parseInt = function(e) { - return isFinite(e) && (e = String(e)), - "string" == typeof e ? /^\s*-?0x/i.test(e) ? parseInt(e, 16) : parseInt(e, 10) : NaN - } - , - goog.string.splitLimit = function(e, t, r) { - e = e.split(t); - for (var o = []; 0 < r && e.length; ) - o.push(e.shift()), - r--; - return e.length && o.push(e.join(t)), - o - } - , - goog.string.lastComponent = function(e, t) { - if (!t) - return e; - "string" == typeof t && (t = [t]); - for (var r = -1, o = 0; o < t.length; o++) - if ("" != t[o]) { - var i = e.lastIndexOf(t[o]); - i > r && (r = i) - } - return -1 == r ? e : e.slice(r + 1) - } - , - goog.string.editDistance = function(e, t) { - var r = [] - , o = []; - if (e == t) - return 0; - if (!e.length || !t.length) - return Math.max(e.length, t.length); - for (var i = 0; i < t.length + 1; i++) - r[i] = i; - for (i = 0; i < e.length; i++) { - o[0] = i + 1; - for (var a = 0; a < t.length; a++) - o[a + 1] = Math.min(o[a] + 1, r[a + 1] + 1, r[a] + Number(e[i] != t[a])); - for (a = 0; a < r.length; a++) - r[a] = o[a] - } - return o[t.length] - } - , - goog.labs.userAgent.engine = {}, - goog.labs.userAgent.engine.isPresto = function() { - return goog.labs.userAgent.util.matchUserAgent("Presto") - } - , - goog.labs.userAgent.engine.isTrident = function() { - return goog.labs.userAgent.util.matchUserAgent("Trident") || goog.labs.userAgent.util.matchUserAgent("MSIE") - } - , - goog.labs.userAgent.engine.isEdge = function() { - return goog.labs.userAgent.util.matchUserAgent("Edge") - } - , - goog.labs.userAgent.engine.isWebKit = function() { - return goog.labs.userAgent.util.matchUserAgentIgnoreCase("WebKit") && !goog.labs.userAgent.engine.isEdge() - } - , - goog.labs.userAgent.engine.isGecko = function() { - return goog.labs.userAgent.util.matchUserAgent("Gecko") && !goog.labs.userAgent.engine.isWebKit() && !goog.labs.userAgent.engine.isTrident() && !goog.labs.userAgent.engine.isEdge() - } - , - goog.labs.userAgent.engine.getVersion = function() { - var e = goog.labs.userAgent.util.getUserAgent(); - if (e) { - e = goog.labs.userAgent.util.extractVersionTuples(e); - var t, r = goog.labs.userAgent.engine.getEngineTuple_(e); - if (r) - return "Gecko" == r[0] ? goog.labs.userAgent.engine.getVersionForKey_(e, "Firefox") : r[1]; - if ((e = e[0]) && (t = e[2]) && (t = /Trident\/([^\s;]+)/.exec(t))) - return t[1] - } - return "" - } - , - goog.labs.userAgent.engine.getEngineTuple_ = function(e) { - if (!goog.labs.userAgent.engine.isEdge()) - return e[1]; - for (var t = 0; t < e.length; t++) { - var r = e[t]; - if ("Edge" == r[0]) - return r - } - } - , - goog.labs.userAgent.engine.isVersionOrHigher = function(e) { - return 0 <= goog.string.compareVersions(goog.labs.userAgent.engine.getVersion(), e) - } - , - goog.labs.userAgent.engine.getVersionForKey_ = function(e, t) { - return (e = goog.array.find(e, (function(e) { - return t == e[0] - } - ))) && e[1] || "" - } - , - goog.labs.userAgent.platform = {}, - goog.labs.userAgent.platform.isAndroid = function() { - return goog.labs.userAgent.util.matchUserAgent("Android") - } - , - goog.labs.userAgent.platform.isIpod = function() { - return goog.labs.userAgent.util.matchUserAgent("iPod") - } - , - goog.labs.userAgent.platform.isIphone = function() { - return goog.labs.userAgent.util.matchUserAgent("iPhone") && !goog.labs.userAgent.util.matchUserAgent("iPod") && !goog.labs.userAgent.util.matchUserAgent("iPad") - } - , - goog.labs.userAgent.platform.isIpad = function() { - return goog.labs.userAgent.util.matchUserAgent("iPad") - } - , - goog.labs.userAgent.platform.isIos = function() { - return goog.labs.userAgent.platform.isIphone() || goog.labs.userAgent.platform.isIpad() || goog.labs.userAgent.platform.isIpod() - } - , - goog.labs.userAgent.platform.isMacintosh = function() { - return goog.labs.userAgent.util.matchUserAgent("Macintosh") - } - , - goog.labs.userAgent.platform.isLinux = function() { - return goog.labs.userAgent.util.matchUserAgent("Linux") - } - , - goog.labs.userAgent.platform.isWindows = function() { - return goog.labs.userAgent.util.matchUserAgent("Windows") - } - , - goog.labs.userAgent.platform.isChromeOS = function() { - return goog.labs.userAgent.util.matchUserAgent("CrOS") - } - , - goog.labs.userAgent.platform.isChromecast = function() { - return goog.labs.userAgent.util.matchUserAgent("CrKey") - } - , - goog.labs.userAgent.platform.isKaiOS = function() { - return goog.labs.userAgent.util.matchUserAgentIgnoreCase("KaiOS") - } - , - goog.labs.userAgent.platform.getVersion = function() { - var e = goog.labs.userAgent.util.getUserAgent() - , t = ""; - return goog.labs.userAgent.platform.isWindows() ? t = (e = (t = /Windows (?:NT|Phone) ([0-9.]+)/).exec(e)) ? e[1] : "0.0" : goog.labs.userAgent.platform.isIos() ? t = (e = (t = /(?:iPhone|iPod|iPad|CPU)\s+OS\s+(\S+)/).exec(e)) && e[1].replace(/_/g, ".") : goog.labs.userAgent.platform.isMacintosh() ? t = (e = (t = /Mac OS X ([0-9_.]+)/).exec(e)) ? e[1].replace(/_/g, ".") : "10" : goog.labs.userAgent.platform.isKaiOS() ? t = (e = (t = /(?:KaiOS)\/(\S+)/i).exec(e)) && e[1] : goog.labs.userAgent.platform.isAndroid() ? t = (e = (t = /Android\s+([^\);]+)(\)|;)/).exec(e)) && e[1] : goog.labs.userAgent.platform.isChromeOS() && (t = (e = (t = /(?:CrOS\s+(?:i686|x86_64)\s+([0-9.]+))/).exec(e)) && e[1]), - t || "" - } - , - goog.labs.userAgent.platform.isVersionOrHigher = function(e) { - return 0 <= goog.string.compareVersions(goog.labs.userAgent.platform.getVersion(), e) - } - , - goog.reflect = {}, - goog.reflect.object = function(e, t) { - return t - } - , - goog.reflect.objectProperty = function(e, t) { - return e - } - , - goog.reflect.sinkValue = function(e) { - return goog.reflect.sinkValue[" "](e), - e - } - , - goog.reflect.sinkValue[" "] = goog.nullFunction, - goog.reflect.canAccessProperty = function(e, t) { - try { - return goog.reflect.sinkValue(e[t]), - !0 - } catch (e) {} - return !1 - } - , - goog.reflect.cache = function(e, t, r, o) { - return o = o ? o(t) : t, - Object.prototype.hasOwnProperty.call(e, o) ? e[o] : e[o] = r(t) - } - , - goog.userAgent = {}, - goog.userAgent.ASSUME_IE = !1, - goog.userAgent.ASSUME_EDGE = !1, - goog.userAgent.ASSUME_GECKO = !1, - goog.userAgent.ASSUME_WEBKIT = !1, - goog.userAgent.ASSUME_MOBILE_WEBKIT = !1, - goog.userAgent.ASSUME_OPERA = !1, - goog.userAgent.ASSUME_ANY_VERSION = !1, - goog.userAgent.BROWSER_KNOWN_ = goog.userAgent.ASSUME_IE || goog.userAgent.ASSUME_EDGE || goog.userAgent.ASSUME_GECKO || goog.userAgent.ASSUME_MOBILE_WEBKIT || goog.userAgent.ASSUME_WEBKIT || goog.userAgent.ASSUME_OPERA, - goog.userAgent.getUserAgentString = function() { - return goog.labs.userAgent.util.getUserAgent() - } - , - goog.userAgent.getNavigatorTyped = function() { - return goog.global.navigator || null - } - , - goog.userAgent.getNavigator = function() { - return goog.userAgent.getNavigatorTyped() - } - , - goog.userAgent.OPERA = goog.userAgent.BROWSER_KNOWN_ ? goog.userAgent.ASSUME_OPERA : goog.labs.userAgent.browser.isOpera(), - goog.userAgent.IE = goog.userAgent.BROWSER_KNOWN_ ? goog.userAgent.ASSUME_IE : goog.labs.userAgent.browser.isIE(), - goog.userAgent.EDGE = goog.userAgent.BROWSER_KNOWN_ ? goog.userAgent.ASSUME_EDGE : goog.labs.userAgent.engine.isEdge(), - goog.userAgent.EDGE_OR_IE = goog.userAgent.EDGE || goog.userAgent.IE, - goog.userAgent.GECKO = goog.userAgent.BROWSER_KNOWN_ ? goog.userAgent.ASSUME_GECKO : goog.labs.userAgent.engine.isGecko(), - goog.userAgent.WEBKIT = goog.userAgent.BROWSER_KNOWN_ ? goog.userAgent.ASSUME_WEBKIT || goog.userAgent.ASSUME_MOBILE_WEBKIT : goog.labs.userAgent.engine.isWebKit(), - goog.userAgent.isMobile_ = function() { - return goog.userAgent.WEBKIT && goog.labs.userAgent.util.matchUserAgent("Mobile") - } - , - goog.userAgent.MOBILE = goog.userAgent.ASSUME_MOBILE_WEBKIT || goog.userAgent.isMobile_(), - goog.userAgent.SAFARI = goog.userAgent.WEBKIT, - goog.userAgent.determinePlatform_ = function() { - var e = goog.userAgent.getNavigatorTyped(); - return e && e.platform || "" - } - , - goog.userAgent.PLATFORM = goog.userAgent.determinePlatform_(), - goog.userAgent.ASSUME_MAC = !1, - goog.userAgent.ASSUME_WINDOWS = !1, - goog.userAgent.ASSUME_LINUX = !1, - goog.userAgent.ASSUME_X11 = !1, - goog.userAgent.ASSUME_ANDROID = !1, - goog.userAgent.ASSUME_IPHONE = !1, - goog.userAgent.ASSUME_IPAD = !1, - goog.userAgent.ASSUME_IPOD = !1, - goog.userAgent.ASSUME_KAIOS = !1, - goog.userAgent.PLATFORM_KNOWN_ = goog.userAgent.ASSUME_MAC || goog.userAgent.ASSUME_WINDOWS || goog.userAgent.ASSUME_LINUX || goog.userAgent.ASSUME_X11 || goog.userAgent.ASSUME_ANDROID || goog.userAgent.ASSUME_IPHONE || goog.userAgent.ASSUME_IPAD || goog.userAgent.ASSUME_IPOD, - goog.userAgent.MAC = goog.userAgent.PLATFORM_KNOWN_ ? goog.userAgent.ASSUME_MAC : goog.labs.userAgent.platform.isMacintosh(); - goog.userAgent.WINDOWS = goog.userAgent.PLATFORM_KNOWN_ ? goog.userAgent.ASSUME_WINDOWS : goog.labs.userAgent.platform.isWindows(), - goog.userAgent.isLegacyLinux_ = function() { - return goog.labs.userAgent.platform.isLinux() || goog.labs.userAgent.platform.isChromeOS() - } - , - goog.userAgent.LINUX = goog.userAgent.PLATFORM_KNOWN_ ? goog.userAgent.ASSUME_LINUX : goog.userAgent.isLegacyLinux_(), - goog.userAgent.isX11_ = function() { - var e = goog.userAgent.getNavigatorTyped(); - return !!e && goog.string.contains(e.appVersion || "", "X11") - } - , - goog.userAgent.X11 = goog.userAgent.PLATFORM_KNOWN_ ? goog.userAgent.ASSUME_X11 : goog.userAgent.isX11_(), - goog.userAgent.ANDROID = goog.userAgent.PLATFORM_KNOWN_ ? goog.userAgent.ASSUME_ANDROID : goog.labs.userAgent.platform.isAndroid(), - goog.userAgent.IPHONE = goog.userAgent.PLATFORM_KNOWN_ ? goog.userAgent.ASSUME_IPHONE : goog.labs.userAgent.platform.isIphone(), - goog.userAgent.IPAD = goog.userAgent.PLATFORM_KNOWN_ ? goog.userAgent.ASSUME_IPAD : goog.labs.userAgent.platform.isIpad(), - goog.userAgent.IPOD = goog.userAgent.PLATFORM_KNOWN_ ? goog.userAgent.ASSUME_IPOD : goog.labs.userAgent.platform.isIpod(), - goog.userAgent.IOS = goog.userAgent.PLATFORM_KNOWN_ ? goog.userAgent.ASSUME_IPHONE || goog.userAgent.ASSUME_IPAD || goog.userAgent.ASSUME_IPOD : goog.labs.userAgent.platform.isIos(), - goog.userAgent.KAIOS = goog.userAgent.PLATFORM_KNOWN_ ? goog.userAgent.ASSUME_KAIOS : goog.labs.userAgent.platform.isKaiOS(), - goog.userAgent.determineVersion_ = function() { - var e = "" - , t = goog.userAgent.getVersionRegexResult_(); - return t && (e = t ? t[1] : ""), - goog.userAgent.IE && (null != (t = goog.userAgent.getDocumentMode_()) && t > parseFloat(e)) ? String(t) : e - } - , - goog.userAgent.getVersionRegexResult_ = function() { - var e = goog.userAgent.getUserAgentString(); - return goog.userAgent.GECKO ? /rv:([^\);]+)(\)|;)/.exec(e) : goog.userAgent.EDGE ? /Edge\/([\d\.]+)/.exec(e) : goog.userAgent.IE ? /\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(e) : goog.userAgent.WEBKIT ? /WebKit\/(\S+)/.exec(e) : goog.userAgent.OPERA ? /(?:Version)[ \/]?(\S+)/.exec(e) : void 0 - } - , - goog.userAgent.getDocumentMode_ = function() { - var e = goog.global.document; - return e ? e.documentMode : void 0 - } - , - goog.userAgent.VERSION = goog.userAgent.determineVersion_(), - goog.userAgent.compare = function(e, t) { - return goog.string.compareVersions(e, t) - } - , - goog.userAgent.isVersionOrHigherCache_ = {}, - goog.userAgent.isVersionOrHigher = function(e) { - return goog.userAgent.ASSUME_ANY_VERSION || goog.reflect.cache(goog.userAgent.isVersionOrHigherCache_, e, (function() { - return 0 <= goog.string.compareVersions(goog.userAgent.VERSION, e) - } - )) - } - , - goog.userAgent.isVersion = goog.userAgent.isVersionOrHigher, - goog.userAgent.isDocumentModeOrHigher = function(e) { - return Number(goog.userAgent.DOCUMENT_MODE) >= e - } - , - goog.userAgent.isDocumentMode = goog.userAgent.isDocumentModeOrHigher, - goog.userAgent.DOCUMENT_MODE = function() { - if (goog.global.document && goog.userAgent.IE) { - var e = goog.userAgent.getDocumentMode_(); - return e || (parseInt(goog.userAgent.VERSION, 10) || void 0) - } - }(), - goog.userAgent.product = {}, - goog.userAgent.product.ASSUME_FIREFOX = !1, - goog.userAgent.product.ASSUME_IPHONE = !1, - goog.userAgent.product.ASSUME_IPAD = !1, - goog.userAgent.product.ASSUME_ANDROID = !1, - goog.userAgent.product.ASSUME_CHROME = !1, - goog.userAgent.product.ASSUME_SAFARI = !1, - goog.userAgent.product.PRODUCT_KNOWN_ = goog.userAgent.ASSUME_IE || goog.userAgent.ASSUME_EDGE || goog.userAgent.ASSUME_OPERA || goog.userAgent.product.ASSUME_FIREFOX || goog.userAgent.product.ASSUME_IPHONE || goog.userAgent.product.ASSUME_IPAD || goog.userAgent.product.ASSUME_ANDROID || goog.userAgent.product.ASSUME_CHROME || goog.userAgent.product.ASSUME_SAFARI, - goog.userAgent.product.OPERA = goog.userAgent.OPERA, - goog.userAgent.product.IE = goog.userAgent.IE, - goog.userAgent.product.EDGE = goog.userAgent.EDGE, - goog.userAgent.product.FIREFOX = goog.userAgent.product.PRODUCT_KNOWN_ ? goog.userAgent.product.ASSUME_FIREFOX : goog.labs.userAgent.browser.isFirefox(), - goog.userAgent.product.isIphoneOrIpod_ = function() { - return goog.labs.userAgent.platform.isIphone() || goog.labs.userAgent.platform.isIpod() - } - , - goog.userAgent.product.IPHONE = goog.userAgent.product.PRODUCT_KNOWN_ ? goog.userAgent.product.ASSUME_IPHONE : goog.userAgent.product.isIphoneOrIpod_(), - goog.userAgent.product.IPAD = goog.userAgent.product.PRODUCT_KNOWN_ ? goog.userAgent.product.ASSUME_IPAD : goog.labs.userAgent.platform.isIpad(), - goog.userAgent.product.ANDROID = goog.userAgent.product.PRODUCT_KNOWN_ ? goog.userAgent.product.ASSUME_ANDROID : goog.labs.userAgent.browser.isAndroidBrowser(), - goog.userAgent.product.CHROME = goog.userAgent.product.PRODUCT_KNOWN_ ? goog.userAgent.product.ASSUME_CHROME : goog.labs.userAgent.browser.isChrome(), - goog.userAgent.product.isSafariDesktop_ = function() { - return goog.labs.userAgent.browser.isSafari() && !goog.labs.userAgent.platform.isIos() - } - , - goog.userAgent.product.SAFARI = goog.userAgent.product.PRODUCT_KNOWN_ ? goog.userAgent.product.ASSUME_SAFARI : goog.userAgent.product.isSafariDesktop_(), - goog.crypt.base64 = {}, - goog.crypt.base64.DEFAULT_ALPHABET_COMMON_ = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789", - goog.crypt.base64.ENCODED_VALS = goog.crypt.base64.DEFAULT_ALPHABET_COMMON_ + "+/=", - goog.crypt.base64.ENCODED_VALS_WEBSAFE = goog.crypt.base64.DEFAULT_ALPHABET_COMMON_ + "-_.", - goog.crypt.base64.Alphabet = { - DEFAULT: 0, - NO_PADDING: 1, - WEBSAFE: 2, - WEBSAFE_DOT_PADDING: 3, - WEBSAFE_NO_PADDING: 4 - }, - goog.crypt.base64.paddingChars_ = "=.", - goog.crypt.base64.isPadding_ = function(e) { - return goog.string.contains(goog.crypt.base64.paddingChars_, e) - } - , - goog.crypt.base64.byteToCharMaps_ = {}, - goog.crypt.base64.charToByteMap_ = null, - goog.crypt.base64.ASSUME_NATIVE_SUPPORT_ = goog.userAgent.GECKO || goog.userAgent.WEBKIT && !goog.userAgent.product.SAFARI || goog.userAgent.OPERA, - goog.crypt.base64.HAS_NATIVE_ENCODE_ = goog.crypt.base64.ASSUME_NATIVE_SUPPORT_ || "function" == typeof goog.global.btoa, - goog.crypt.base64.HAS_NATIVE_DECODE_ = goog.crypt.base64.ASSUME_NATIVE_SUPPORT_ || !goog.userAgent.product.SAFARI && !goog.userAgent.IE && "function" == typeof goog.global.atob, - goog.crypt.base64.encodeByteArray = function(e, t) { - goog.asserts.assert(goog.isArrayLike(e), "encodeByteArray takes an array as a parameter"), - void 0 === t && (t = goog.crypt.base64.Alphabet.DEFAULT), - goog.crypt.base64.init_(), - t = goog.crypt.base64.byteToCharMaps_[t]; - for (var r = [], o = 0; o < e.length; o += 3) { - var i = e[o] - , a = o + 1 < e.length - , n = a ? e[o + 1] : 0 - , s = o + 2 < e.length - , p = s ? e[o + 2] : 0 - , d = i >> 2; - i = (3 & i) << 4 | n >> 4, - n = (15 & n) << 2 | p >> 6, - p &= 63, - s || (p = 64, - a || (n = 64)), - r.push(t[d], t[i], t[n] || "", t[p] || "") - } - return r.join("") - } - , - goog.crypt.base64.encodeString = function(e, t) { - return goog.crypt.base64.HAS_NATIVE_ENCODE_ && !t ? goog.global.btoa(e) : goog.crypt.base64.encodeByteArray(goog.crypt.stringToByteArray(e), t) - } - , - goog.crypt.base64.decodeString = function(e, t) { - if (goog.crypt.base64.HAS_NATIVE_DECODE_ && !t) - return goog.global.atob(e); - var r = ""; - return goog.crypt.base64.decodeStringInternal_(e, (function(e) { - r += String.fromCharCode(e) - } - )), - r - } - , - goog.crypt.base64.decodeStringToByteArray = function(e, t) { - var r = []; - return goog.crypt.base64.decodeStringInternal_(e, (function(e) { - r.push(e) - } - )), - r - } - , - goog.crypt.base64.decodeStringToUint8Array = function(e) { - goog.asserts.assert(!goog.userAgent.IE || goog.userAgent.isVersionOrHigher("10"), "Browser does not support typed arrays"); - var t = e.length - , r = 3 * t / 4; - r % 3 ? r = Math.floor(r) : goog.crypt.base64.isPadding_(e[t - 1]) && (r = goog.crypt.base64.isPadding_(e[t - 2]) ? r - 2 : r - 1); - var o = new Uint8Array(r) - , i = 0; - return goog.crypt.base64.decodeStringInternal_(e, (function(e) { - o[i++] = e - } - )), - o.subarray(0, i) - } - , - goog.crypt.base64.decodeStringInternal_ = function(e, t) { - function r(t) { - for (; o < e.length; ) { - var r = e.charAt(o++) - , i = goog.crypt.base64.charToByteMap_[r]; - if (null != i) - return i; - if (!goog.string.isEmptyOrWhitespace(r)) - throw Error("Unknown base64 encoding at char: " + r) - } - return t - } - goog.crypt.base64.init_(); - for (var o = 0; ; ) { - var i = r(-1) - , a = r(0) - , n = r(64) - , s = r(64); - if (64 === s && -1 === i) - break; - t(i << 2 | a >> 4), - 64 != n && (t(a << 4 & 240 | n >> 2), - 64 != s && t(n << 6 & 192 | s)) - } - } - , - goog.crypt.base64.init_ = function() { - if (!goog.crypt.base64.charToByteMap_) { - goog.crypt.base64.charToByteMap_ = {}; - for (var e = goog.crypt.base64.DEFAULT_ALPHABET_COMMON_.split(""), t = ["+/=", "+/", "-_=", "-_.", "-_"], r = 0; 5 > r; r++) { - var o = e.concat(t[r].split("")); - goog.crypt.base64.byteToCharMaps_[r] = o; - for (var i = 0; i < o.length; i++) { - var a = o[i] - , n = goog.crypt.base64.charToByteMap_[a]; - void 0 === n ? goog.crypt.base64.charToByteMap_[a] = i : goog.asserts.assert(n === i) - } - } - } - } - , - jspb.utils = {}, - jspb.utils.split64Low = 0, - jspb.utils.split64High = 0, - jspb.utils.splitUint64 = function(e) { - var t = e >>> 0; - e = Math.floor((e - t) / jspb.BinaryConstants.TWO_TO_32) >>> 0, - jspb.utils.split64Low = t, - jspb.utils.split64High = e - } - , - jspb.utils.splitInt64 = function(e) { - var t = 0 > e - , r = (e = Math.abs(e)) >>> 0; - e = Math.floor((e - r) / jspb.BinaryConstants.TWO_TO_32), - e >>>= 0, - t && (e = ~e >>> 0, - 4294967295 < (r = 1 + (~r >>> 0)) && (r = 0, - 4294967295 < ++e && (e = 0))), - jspb.utils.split64Low = r, - jspb.utils.split64High = e - } - , - jspb.utils.splitZigzag64 = function(e) { - var t = 0 > e; - e = 2 * Math.abs(e), - jspb.utils.splitUint64(e), - e = jspb.utils.split64Low; - var r = jspb.utils.split64High; - t && (0 == e ? 0 == r ? r = e = 4294967295 : (r--, - e = 4294967295) : e--), - jspb.utils.split64Low = e, - jspb.utils.split64High = r - } - , - jspb.utils.splitFloat32 = function(e) { - var t = 0 > e ? 1 : 0; - if (0 === (e = t ? -e : e)) - 0 < 1 / e ? (jspb.utils.split64High = 0, - jspb.utils.split64Low = 0) : (jspb.utils.split64High = 0, - jspb.utils.split64Low = 2147483648); - else if (isNaN(e)) - jspb.utils.split64High = 0, - jspb.utils.split64Low = 2147483647; - else if (e > jspb.BinaryConstants.FLOAT32_MAX) - jspb.utils.split64High = 0, - jspb.utils.split64Low = (t << 31 | 2139095040) >>> 0; - else if (e < jspb.BinaryConstants.FLOAT32_MIN) - e = Math.round(e / Math.pow(2, -149)), - jspb.utils.split64High = 0, - jspb.utils.split64Low = (t << 31 | e) >>> 0; - else { - var r = Math.floor(Math.log(e) / Math.LN2); - e *= Math.pow(2, -r), - 16777216 <= (e = Math.round(e * jspb.BinaryConstants.TWO_TO_23)) && ++r, - jspb.utils.split64High = 0, - jspb.utils.split64Low = (t << 31 | r + 127 << 23 | 8388607 & e) >>> 0 - } - } - , - jspb.utils.splitFloat64 = function(e) { - var t = 0 > e ? 1 : 0; - if (0 === (e = t ? -e : e)) - jspb.utils.split64High = 0 < 1 / e ? 0 : 2147483648, - jspb.utils.split64Low = 0; - else if (isNaN(e)) - jspb.utils.split64High = 2147483647, - jspb.utils.split64Low = 4294967295; - else if (e > jspb.BinaryConstants.FLOAT64_MAX) - jspb.utils.split64High = (t << 31 | 2146435072) >>> 0, - jspb.utils.split64Low = 0; - else if (e < jspb.BinaryConstants.FLOAT64_MIN) { - var r = e / Math.pow(2, -1074); - e = r / jspb.BinaryConstants.TWO_TO_32, - jspb.utils.split64High = (t << 31 | e) >>> 0, - jspb.utils.split64Low = r >>> 0 - } else { - var o = 0; - if (2 <= (r = e)) - for (; 2 <= r && 1023 > o; ) - o++, - r /= 2; - else - for (; 1 > r && -1022 < o; ) - r *= 2, - o--; - e = (r = e * Math.pow(2, -o)) * jspb.BinaryConstants.TWO_TO_20 & 1048575, - r = r * jspb.BinaryConstants.TWO_TO_52 >>> 0, - jspb.utils.split64High = (t << 31 | o + 1023 << 20 | e) >>> 0, - jspb.utils.split64Low = r - } - } - , - jspb.utils.splitHash64 = function(e) { - var t = e.charCodeAt(0) - , r = e.charCodeAt(1) - , o = e.charCodeAt(2) - , i = e.charCodeAt(3) - , a = e.charCodeAt(4) - , n = e.charCodeAt(5) - , s = e.charCodeAt(6); - e = e.charCodeAt(7), - jspb.utils.split64Low = t + (r << 8) + (o << 16) + (i << 24) >>> 0, - jspb.utils.split64High = a + (n << 8) + (s << 16) + (e << 24) >>> 0 - } - , - jspb.utils.joinUint64 = function(e, t) { - return t * jspb.BinaryConstants.TWO_TO_32 + (e >>> 0) - } - , - jspb.utils.joinInt64 = function(e, t) { - var r = 2147483648 & t; - return r && (t = ~t >>> 0, - 0 == (e = 1 + ~e >>> 0) && (t = t + 1 >>> 0)), - e = jspb.utils.joinUint64(e, t), - r ? -e : e - } - , - jspb.utils.toZigzag64 = function(e, t, r) { - var o = t >> 31; - return r(e << 1 ^ o, (t << 1 | e >>> 31) ^ o) - } - , - jspb.utils.joinZigzag64 = function(e, t) { - return jspb.utils.fromZigzag64(e, t, jspb.utils.joinInt64) - } - , - jspb.utils.fromZigzag64 = function(e, t, r) { - var o = -(1 & e); - return r((e >>> 1 | t << 31) ^ o, t >>> 1 ^ o) - } - , - jspb.utils.joinFloat32 = function(e, t) { - t = 2 * (e >> 31) + 1; - var r = e >>> 23 & 255; - return e &= 8388607, - 255 == r ? e ? NaN : 1 / 0 * t : 0 == r ? t * Math.pow(2, -149) * e : t * Math.pow(2, r - 150) * (e + Math.pow(2, 23)) - } - , - jspb.utils.joinFloat64 = function(e, t) { - var r = 2 * (t >> 31) + 1 - , o = t >>> 20 & 2047; - return e = jspb.BinaryConstants.TWO_TO_32 * (1048575 & t) + e, - 2047 == o ? e ? NaN : 1 / 0 * r : 0 == o ? r * Math.pow(2, -1074) * e : r * Math.pow(2, o - 1075) * (e + jspb.BinaryConstants.TWO_TO_52) - } - , - jspb.utils.joinHash64 = function(e, t) { - return String.fromCharCode(e >>> 0 & 255, e >>> 8 & 255, e >>> 16 & 255, e >>> 24 & 255, t >>> 0 & 255, t >>> 8 & 255, t >>> 16 & 255, t >>> 24 & 255) - } - , - jspb.utils.DIGITS = "0123456789abcdef".split(""), - jspb.utils.ZERO_CHAR_CODE_ = 48, - jspb.utils.A_CHAR_CODE_ = 97, - jspb.utils.joinUnsignedDecimalString = function(e, t) { - function r(e, t) { - return e = e ? String(e) : "", - t ? "0000000".slice(e.length) + e : e - } - if (2097151 >= t) - return "" + jspb.utils.joinUint64(e, t); - var o = (e >>> 24 | t << 8) >>> 0 & 16777215; - return e = (16777215 & e) + 6777216 * o + 6710656 * (t = t >> 16 & 65535), - o += 8147497 * t, - t *= 2, - 1e7 <= e && (o += Math.floor(e / 1e7), - e %= 1e7), - 1e7 <= o && (t += Math.floor(o / 1e7), - o %= 1e7), - r(t, 0) + r(o, t) + r(e, 1) - } - , - jspb.utils.joinSignedDecimalString = function(e, t) { - var r = 2147483648 & t; - return r && (t = ~t + (0 == (e = 1 + ~e >>> 0) ? 1 : 0) >>> 0), - e = jspb.utils.joinUnsignedDecimalString(e, t), - r ? "-" + e : e - } - , - jspb.utils.hash64ToDecimalString = function(e, t) { - jspb.utils.splitHash64(e), - e = jspb.utils.split64Low; - var r = jspb.utils.split64High; - return t ? jspb.utils.joinSignedDecimalString(e, r) : jspb.utils.joinUnsignedDecimalString(e, r) - } - , - jspb.utils.hash64ArrayToDecimalStrings = function(e, t) { - for (var r = Array(e.length), o = 0; o < e.length; o++) - r[o] = jspb.utils.hash64ToDecimalString(e[o], t); - return r - } - , - jspb.utils.decimalStringToHash64 = function(e) { - function t(e, t) { - for (var r = 0; 8 > r && (1 !== e || 0 < t); r++) - t = e * o[r] + t, - o[r] = 255 & t, - t >>>= 8 - } - jspb.asserts.assert(0 < e.length); - var r = !1; - "-" === e[0] && (r = !0, - e = e.slice(1)); - for (var o = [0, 0, 0, 0, 0, 0, 0, 0], i = 0; i < e.length; i++) - t(10, e.charCodeAt(i) - jspb.utils.ZERO_CHAR_CODE_); - return r && (function() { - for (var e = 0; 8 > e; e++) - o[e] = 255 & ~o[e] - }(), - t(1, 1)), - goog.crypt.byteArrayToString(o) - } - , - jspb.utils.splitDecimalString = function(e) { - jspb.utils.splitHash64(jspb.utils.decimalStringToHash64(e)) - } - , - jspb.utils.toHexDigit_ = function(e) { - return String.fromCharCode(10 > e ? jspb.utils.ZERO_CHAR_CODE_ + e : jspb.utils.A_CHAR_CODE_ - 10 + e) - } - , - jspb.utils.fromHexCharCode_ = function(e) { - return e >= jspb.utils.A_CHAR_CODE_ ? e - jspb.utils.A_CHAR_CODE_ + 10 : e - jspb.utils.ZERO_CHAR_CODE_ - } - , - jspb.utils.hash64ToHexString = function(e) { - var t = Array(18); - t[0] = "0", - t[1] = "x"; - for (var r = 0; 8 > r; r++) { - var o = e.charCodeAt(7 - r); - t[2 * r + 2] = jspb.utils.toHexDigit_(o >> 4), - t[2 * r + 3] = jspb.utils.toHexDigit_(15 & o) - } - return t.join("") - } - , - jspb.utils.hexStringToHash64 = function(e) { - e = e.toLowerCase(), - jspb.asserts.assert(18 == e.length), - jspb.asserts.assert("0" == e[0]), - jspb.asserts.assert("x" == e[1]); - for (var t = "", r = 0; 8 > r; r++) { - var o = jspb.utils.fromHexCharCode_(e.charCodeAt(2 * r + 2)) - , i = jspb.utils.fromHexCharCode_(e.charCodeAt(2 * r + 3)); - t = String.fromCharCode(16 * o + i) + t - } - return t - } - , - jspb.utils.hash64ToNumber = function(e, t) { - jspb.utils.splitHash64(e), - e = jspb.utils.split64Low; - var r = jspb.utils.split64High; - return t ? jspb.utils.joinInt64(e, r) : jspb.utils.joinUint64(e, r) - } - , - jspb.utils.numberToHash64 = function(e) { - return jspb.utils.splitInt64(e), - jspb.utils.joinHash64(jspb.utils.split64Low, jspb.utils.split64High) - } - , - jspb.utils.countVarints = function(e, t, r) { - for (var o = 0, i = t; i < r; i++) - o += e[i] >> 7; - return r - t - o - } - , - jspb.utils.countVarintFields = function(e, t, r, o) { - var i = 0; - if (128 > (o = 8 * o + jspb.BinaryConstants.WireType.VARINT)) - for (; t < r && e[t++] == o; ) - for (i++; ; ) { - var a = e[t++]; - if (0 == (128 & a)) - break - } - else - for (; t < r; ) { - for (a = o; 128 < a; ) { - if (e[t] != (127 & a | 128)) - return i; - t++, - a >>= 7 - } - if (e[t++] != a) - break; - for (i++; 0 != (128 & (a = e[t++])); ) - ; - } - return i - } - , - jspb.utils.countFixedFields_ = function(e, t, r, o, i) { - var a = 0; - if (128 > o) - for (; t < r && e[t++] == o; ) - a++, - t += i; - else - for (; t < r; ) { - for (var n = o; 128 < n; ) { - if (e[t++] != (127 & n | 128)) - return a; - n >>= 7 - } - if (e[t++] != n) - break; - a++, - t += i - } - return a - } - , - jspb.utils.countFixed32Fields = function(e, t, r, o) { - return jspb.utils.countFixedFields_(e, t, r, 8 * o + jspb.BinaryConstants.WireType.FIXED32, 4) - } - , - jspb.utils.countFixed64Fields = function(e, t, r, o) { - return jspb.utils.countFixedFields_(e, t, r, 8 * o + jspb.BinaryConstants.WireType.FIXED64, 8) - } - , - jspb.utils.countDelimitedFields = function(e, t, r, o) { - var i = 0; - for (o = 8 * o + jspb.BinaryConstants.WireType.DELIMITED; t < r; ) { - for (var a = o; 128 < a; ) { - if (e[t++] != (127 & a | 128)) - return i; - a >>= 7 - } - if (e[t++] != a) - break; - i++; - for (var n = 0, s = 1; n += (127 & (a = e[t++])) * s, - s *= 128, - 0 != (128 & a); ) - ; - t += n - } - return i - } - , - jspb.utils.debugBytesToTextFormat = function(e) { - var t = '"'; - if (e) { - e = jspb.utils.byteSourceToUint8Array(e); - for (var r = 0; r < e.length; r++) - t += "\\x", - 16 > e[r] && (t += "0"), - t += e[r].toString(16) - } - return t + '"' - } - , - jspb.utils.debugScalarToTextFormat = function(e) { - return "string" == typeof e ? goog.string.quote(e) : e.toString() - } - , - jspb.utils.stringToByteArray = function(e) { - for (var t = new Uint8Array(e.length), r = 0; r < e.length; r++) { - var o = e.charCodeAt(r); - if (255 < o) - throw Error("Conversion error: string contains codepoint outside of byte range"); - t[r] = o - } - return t - } - , - jspb.utils.byteSourceToUint8Array = function(e) { - return e.constructor === Uint8Array ? e : e.constructor === ArrayBuffer || e.constructor === Array ? new Uint8Array(e) : e.constructor === String ? goog.crypt.base64.decodeStringToUint8Array(e) : e instanceof Uint8Array ? new Uint8Array(e.buffer,e.byteOffset,e.byteLength) : (jspb.asserts.fail("Type not convertible to Uint8Array."), - new Uint8Array(0)) - } - , - jspb.BinaryDecoder = function(e, t, r) { - this.bytes_ = null, - this.cursor_ = this.end_ = this.start_ = 0, - this.error_ = !1, - e && this.setBlock(e, t, r) - } - , - jspb.BinaryDecoder.instanceCache_ = [], - jspb.BinaryDecoder.alloc = function(e, t, r) { - if (jspb.BinaryDecoder.instanceCache_.length) { - var o = jspb.BinaryDecoder.instanceCache_.pop(); - return e && o.setBlock(e, t, r), - o - } - return new jspb.BinaryDecoder(e,t,r) - } - , - jspb.BinaryDecoder.prototype.free = function() { - this.clear(), - 100 > jspb.BinaryDecoder.instanceCache_.length && jspb.BinaryDecoder.instanceCache_.push(this) - } - , - jspb.BinaryDecoder.prototype.clone = function() { - return jspb.BinaryDecoder.alloc(this.bytes_, this.start_, this.end_ - this.start_) - } - , - jspb.BinaryDecoder.prototype.clear = function() { - this.bytes_ = null, - this.cursor_ = this.end_ = this.start_ = 0, - this.error_ = !1 - } - , - jspb.BinaryDecoder.prototype.getBuffer = function() { - return this.bytes_ - } - , - jspb.BinaryDecoder.prototype.setBlock = function(e, t, r) { - this.bytes_ = jspb.utils.byteSourceToUint8Array(e), - this.start_ = void 0 !== t ? t : 0, - this.end_ = void 0 !== r ? this.start_ + r : this.bytes_.length, - this.cursor_ = this.start_ - } - , - jspb.BinaryDecoder.prototype.getEnd = function() { - return this.end_ - } - , - jspb.BinaryDecoder.prototype.setEnd = function(e) { - this.end_ = e - } - , - jspb.BinaryDecoder.prototype.reset = function() { - this.cursor_ = this.start_ - } - , - jspb.BinaryDecoder.prototype.getCursor = function() { - return this.cursor_ - } - , - jspb.BinaryDecoder.prototype.setCursor = function(e) { - this.cursor_ = e - } - , - jspb.BinaryDecoder.prototype.advance = function(e) { - this.cursor_ += e, - jspb.asserts.assert(this.cursor_ <= this.end_) - } - , - jspb.BinaryDecoder.prototype.atEnd = function() { - return this.cursor_ == this.end_ - } - , - jspb.BinaryDecoder.prototype.pastEnd = function() { - return this.cursor_ > this.end_ - } - , - jspb.BinaryDecoder.prototype.getError = function() { - return this.error_ || 0 > this.cursor_ || this.cursor_ > this.end_ - } - , - jspb.BinaryDecoder.prototype.readSplitVarint64 = function(e) { - for (var t = 128, r = 0, o = 0, i = 0; 4 > i && 128 <= t; i++) - r |= (127 & (t = this.bytes_[this.cursor_++])) << 7 * i; - if (128 <= t && (r |= (127 & (t = this.bytes_[this.cursor_++])) << 28, - o |= (127 & t) >> 4), - 128 <= t) - for (i = 0; 5 > i && 128 <= t; i++) - o |= (127 & (t = this.bytes_[this.cursor_++])) << 7 * i + 3; - if (128 > t) - return e(r >>> 0, o >>> 0); - jspb.asserts.fail("Failed to read varint, encoding is invalid."), - this.error_ = !0 - } - , - jspb.BinaryDecoder.prototype.readSplitZigzagVarint64 = function(e) { - return this.readSplitVarint64((function(t, r) { - return jspb.utils.fromZigzag64(t, r, e) - } - )) - } - , - jspb.BinaryDecoder.prototype.readSplitFixed64 = function(e) { - var t = this.bytes_ - , r = this.cursor_; - this.cursor_ += 8; - for (var o = 0, i = 0, a = r + 7; a >= r; a--) - o = o << 8 | t[a], - i = i << 8 | t[a + 4]; - return e(o, i) - } - , - jspb.BinaryDecoder.prototype.skipVarint = function() { - for (; 128 & this.bytes_[this.cursor_]; ) - this.cursor_++; - this.cursor_++ - } - , - jspb.BinaryDecoder.prototype.unskipVarint = function(e) { - for (; 128 < e; ) - this.cursor_--, - e >>>= 7; - this.cursor_-- - } - , - jspb.BinaryDecoder.prototype.readUnsignedVarint32 = function() { - var e = this.bytes_ - , t = e[this.cursor_ + 0] - , r = 127 & t; - return 128 > t ? (this.cursor_ += 1, - jspb.asserts.assert(this.cursor_ <= this.end_), - r) : (r |= (127 & (t = e[this.cursor_ + 1])) << 7, - 128 > t ? (this.cursor_ += 2, - jspb.asserts.assert(this.cursor_ <= this.end_), - r) : (r |= (127 & (t = e[this.cursor_ + 2])) << 14, - 128 > t ? (this.cursor_ += 3, - jspb.asserts.assert(this.cursor_ <= this.end_), - r) : (r |= (127 & (t = e[this.cursor_ + 3])) << 21, - 128 > t ? (this.cursor_ += 4, - jspb.asserts.assert(this.cursor_ <= this.end_), - r) : (r |= (15 & (t = e[this.cursor_ + 4])) << 28, - 128 > t ? (this.cursor_ += 5, - jspb.asserts.assert(this.cursor_ <= this.end_), - r >>> 0) : (this.cursor_ += 5, - 128 <= e[this.cursor_++] && 128 <= e[this.cursor_++] && 128 <= e[this.cursor_++] && 128 <= e[this.cursor_++] && 128 <= e[this.cursor_++] && jspb.asserts.assert(!1), - jspb.asserts.assert(this.cursor_ <= this.end_), - r))))) - } - , - jspb.BinaryDecoder.prototype.readSignedVarint32 = function() { - return ~~this.readUnsignedVarint32() - } - , - jspb.BinaryDecoder.prototype.readUnsignedVarint32String = function() { - return this.readUnsignedVarint32().toString() - } - , - jspb.BinaryDecoder.prototype.readSignedVarint32String = function() { - return this.readSignedVarint32().toString() - } - , - jspb.BinaryDecoder.prototype.readZigzagVarint32 = function() { - var e = this.readUnsignedVarint32(); - return e >>> 1 ^ -(1 & e) - } - , - jspb.BinaryDecoder.prototype.readUnsignedVarint64 = function() { - return this.readSplitVarint64(jspb.utils.joinUint64) - } - , - jspb.BinaryDecoder.prototype.readUnsignedVarint64String = function() { - return this.readSplitVarint64(jspb.utils.joinUnsignedDecimalString) - } - , - jspb.BinaryDecoder.prototype.readSignedVarint64 = function() { - return this.readSplitVarint64(jspb.utils.joinInt64) - } - , - jspb.BinaryDecoder.prototype.readSignedVarint64String = function() { - return this.readSplitVarint64(jspb.utils.joinSignedDecimalString) - } - , - jspb.BinaryDecoder.prototype.readZigzagVarint64 = function() { - return this.readSplitVarint64(jspb.utils.joinZigzag64) - } - , - jspb.BinaryDecoder.prototype.readZigzagVarintHash64 = function() { - return this.readSplitZigzagVarint64(jspb.utils.joinHash64) - } - , - jspb.BinaryDecoder.prototype.readZigzagVarint64String = function() { - return this.readSplitZigzagVarint64(jspb.utils.joinSignedDecimalString) - } - , - jspb.BinaryDecoder.prototype.readUint8 = function() { - var e = this.bytes_[this.cursor_ + 0]; - return this.cursor_ += 1, - jspb.asserts.assert(this.cursor_ <= this.end_), - e - } - , - jspb.BinaryDecoder.prototype.readUint16 = function() { - var e = this.bytes_[this.cursor_ + 0] - , t = this.bytes_[this.cursor_ + 1]; - return this.cursor_ += 2, - jspb.asserts.assert(this.cursor_ <= this.end_), - e << 0 | t << 8 - } - , - jspb.BinaryDecoder.prototype.readUint32 = function() { - var e = this.bytes_[this.cursor_ + 0] - , t = this.bytes_[this.cursor_ + 1] - , r = this.bytes_[this.cursor_ + 2] - , o = this.bytes_[this.cursor_ + 3]; - return this.cursor_ += 4, - jspb.asserts.assert(this.cursor_ <= this.end_), - (e << 0 | t << 8 | r << 16 | o << 24) >>> 0 - } - , - jspb.BinaryDecoder.prototype.readUint64 = function() { - var e = this.readUint32() - , t = this.readUint32(); - return jspb.utils.joinUint64(e, t) - } - , - jspb.BinaryDecoder.prototype.readUint64String = function() { - var e = this.readUint32() - , t = this.readUint32(); - return jspb.utils.joinUnsignedDecimalString(e, t) - } - , - jspb.BinaryDecoder.prototype.readInt8 = function() { - var e = this.bytes_[this.cursor_ + 0]; - return this.cursor_ += 1, - jspb.asserts.assert(this.cursor_ <= this.end_), - e << 24 >> 24 - } - , - jspb.BinaryDecoder.prototype.readInt16 = function() { - var e = this.bytes_[this.cursor_ + 0] - , t = this.bytes_[this.cursor_ + 1]; - return this.cursor_ += 2, - jspb.asserts.assert(this.cursor_ <= this.end_), - (e << 0 | t << 8) << 16 >> 16 - } - , - jspb.BinaryDecoder.prototype.readInt32 = function() { - var e = this.bytes_[this.cursor_ + 0] - , t = this.bytes_[this.cursor_ + 1] - , r = this.bytes_[this.cursor_ + 2] - , o = this.bytes_[this.cursor_ + 3]; - return this.cursor_ += 4, - jspb.asserts.assert(this.cursor_ <= this.end_), - e << 0 | t << 8 | r << 16 | o << 24 - } - , - jspb.BinaryDecoder.prototype.readInt64 = function() { - var e = this.readUint32() - , t = this.readUint32(); - return jspb.utils.joinInt64(e, t) - } - , - jspb.BinaryDecoder.prototype.readInt64String = function() { - var e = this.readUint32() - , t = this.readUint32(); - return jspb.utils.joinSignedDecimalString(e, t) - } - , - jspb.BinaryDecoder.prototype.readFloat = function() { - var e = this.readUint32(); - return jspb.utils.joinFloat32(e, 0) - } - , - jspb.BinaryDecoder.prototype.readDouble = function() { - var e = this.readUint32() - , t = this.readUint32(); - return jspb.utils.joinFloat64(e, t) - } - , - jspb.BinaryDecoder.prototype.readBool = function() { - return !!this.bytes_[this.cursor_++] - } - , - jspb.BinaryDecoder.prototype.readEnum = function() { - return this.readSignedVarint32() - } - , - jspb.BinaryDecoder.prototype.readString = function(e) { - var t = this.bytes_ - , r = this.cursor_; - e = r + e; - for (var o = [], i = ""; r < e; ) { - var a = t[r++]; - if (128 > a) - o.push(a); - else { - if (192 > a) - continue; - if (224 > a) { - var n = t[r++]; - o.push((31 & a) << 6 | 63 & n) - } else if (240 > a) { - n = t[r++]; - var s = t[r++]; - o.push((15 & a) << 12 | (63 & n) << 6 | 63 & s) - } else if (248 > a) { - a = (7 & a) << 18 | (63 & (n = t[r++])) << 12 | (63 & (s = t[r++])) << 6 | 63 & t[r++], - a -= 65536, - o.push(55296 + (a >> 10 & 1023), 56320 + (1023 & a)) - } - } - 8192 <= o.length && (i += String.fromCharCode.apply(null, o), - o.length = 0) - } - return i += goog.crypt.byteArrayToString(o), - this.cursor_ = r, - i - } - , - jspb.BinaryDecoder.prototype.readStringWithLength = function() { - var e = this.readUnsignedVarint32(); - return this.readString(e) - } - , - jspb.BinaryDecoder.prototype.readBytes = function(e) { - if (0 > e || this.cursor_ + e > this.bytes_.length) - return this.error_ = !0, - jspb.asserts.fail("Invalid byte length!"), - new Uint8Array(0); - var t = this.bytes_.subarray(this.cursor_, this.cursor_ + e); - return this.cursor_ += e, - jspb.asserts.assert(this.cursor_ <= this.end_), - t - } - , - jspb.BinaryDecoder.prototype.readVarintHash64 = function() { - return this.readSplitVarint64(jspb.utils.joinHash64) - } - , - jspb.BinaryDecoder.prototype.readFixedHash64 = function() { - var e = this.bytes_ - , t = this.cursor_ - , r = e[t + 0] - , o = e[t + 1] - , i = e[t + 2] - , a = e[t + 3] - , n = e[t + 4] - , s = e[t + 5] - , p = e[t + 6]; - return e = e[t + 7], - this.cursor_ += 8, - String.fromCharCode(r, o, i, a, n, s, p, e) - } - , - jspb.BinaryReader = function(e, t, r) { - this.decoder_ = jspb.BinaryDecoder.alloc(e, t, r), - this.fieldCursor_ = this.decoder_.getCursor(), - this.nextField_ = jspb.BinaryConstants.INVALID_FIELD_NUMBER, - this.nextWireType_ = jspb.BinaryConstants.WireType.INVALID, - this.error_ = !1, - this.readCallbacks_ = null - } - , - jspb.BinaryReader.instanceCache_ = [], - jspb.BinaryReader.alloc = function(e, t, r) { - if (jspb.BinaryReader.instanceCache_.length) { - var o = jspb.BinaryReader.instanceCache_.pop(); - return e && o.decoder_.setBlock(e, t, r), - o - } - return new jspb.BinaryReader(e,t,r) - } - , - jspb.BinaryReader.prototype.alloc = jspb.BinaryReader.alloc, - jspb.BinaryReader.prototype.free = function() { - this.decoder_.clear(), - this.nextField_ = jspb.BinaryConstants.INVALID_FIELD_NUMBER, - this.nextWireType_ = jspb.BinaryConstants.WireType.INVALID, - this.error_ = !1, - this.readCallbacks_ = null, - 100 > jspb.BinaryReader.instanceCache_.length && jspb.BinaryReader.instanceCache_.push(this) - } - , - jspb.BinaryReader.prototype.getFieldCursor = function() { - return this.fieldCursor_ - } - , - jspb.BinaryReader.prototype.getCursor = function() { - return this.decoder_.getCursor() - } - , - jspb.BinaryReader.prototype.getBuffer = function() { - return this.decoder_.getBuffer() - } - , - jspb.BinaryReader.prototype.getFieldNumber = function() { - return this.nextField_ - } - , - goog.exportProperty(jspb.BinaryReader.prototype, "getFieldNumber", jspb.BinaryReader.prototype.getFieldNumber), - jspb.BinaryReader.prototype.getWireType = function() { - return this.nextWireType_ - } - , - jspb.BinaryReader.prototype.isDelimited = function() { - return this.nextWireType_ == jspb.BinaryConstants.WireType.DELIMITED - } - , - goog.exportProperty(jspb.BinaryReader.prototype, "isDelimited", jspb.BinaryReader.prototype.isDelimited), - jspb.BinaryReader.prototype.isEndGroup = function() { - return this.nextWireType_ == jspb.BinaryConstants.WireType.END_GROUP - } - , - goog.exportProperty(jspb.BinaryReader.prototype, "isEndGroup", jspb.BinaryReader.prototype.isEndGroup), - jspb.BinaryReader.prototype.getError = function() { - return this.error_ || this.decoder_.getError() - } - , - jspb.BinaryReader.prototype.setBlock = function(e, t, r) { - this.decoder_.setBlock(e, t, r), - this.nextField_ = jspb.BinaryConstants.INVALID_FIELD_NUMBER, - this.nextWireType_ = jspb.BinaryConstants.WireType.INVALID - } - , - jspb.BinaryReader.prototype.reset = function() { - this.decoder_.reset(), - this.nextField_ = jspb.BinaryConstants.INVALID_FIELD_NUMBER, - this.nextWireType_ = jspb.BinaryConstants.WireType.INVALID - } - , - jspb.BinaryReader.prototype.advance = function(e) { - this.decoder_.advance(e) - } - , - jspb.BinaryReader.prototype.nextField = function() { - if (this.decoder_.atEnd()) - return !1; - if (this.getError()) - return jspb.asserts.fail("Decoder hit an error"), - !1; - this.fieldCursor_ = this.decoder_.getCursor(); - var e = this.decoder_.readUnsignedVarint32() - , t = e >>> 3; - return (e &= 7) != jspb.BinaryConstants.WireType.VARINT && e != jspb.BinaryConstants.WireType.FIXED32 && e != jspb.BinaryConstants.WireType.FIXED64 && e != jspb.BinaryConstants.WireType.DELIMITED && e != jspb.BinaryConstants.WireType.START_GROUP && e != jspb.BinaryConstants.WireType.END_GROUP ? (jspb.asserts.fail("Invalid wire type: %s (at position %s)", e, this.fieldCursor_), - this.error_ = !0, - !1) : (this.nextField_ = t, - this.nextWireType_ = e, - !0) - } - , - goog.exportProperty(jspb.BinaryReader.prototype, "nextField", jspb.BinaryReader.prototype.nextField), - jspb.BinaryReader.prototype.unskipHeader = function() { - this.decoder_.unskipVarint(this.nextField_ << 3 | this.nextWireType_) - } - , - jspb.BinaryReader.prototype.skipMatchingFields = function() { - var e = this.nextField_; - for (this.unskipHeader(); this.nextField() && this.getFieldNumber() == e; ) - this.skipField(); - this.decoder_.atEnd() || this.unskipHeader() - } - , - jspb.BinaryReader.prototype.skipVarintField = function() { - this.nextWireType_ != jspb.BinaryConstants.WireType.VARINT ? (jspb.asserts.fail("Invalid wire type for skipVarintField"), - this.skipField()) : this.decoder_.skipVarint() - } - , - jspb.BinaryReader.prototype.skipDelimitedField = function() { - if (this.nextWireType_ != jspb.BinaryConstants.WireType.DELIMITED) - jspb.asserts.fail("Invalid wire type for skipDelimitedField"), - this.skipField(); - else { - var e = this.decoder_.readUnsignedVarint32(); - this.decoder_.advance(e) - } - } - , - jspb.BinaryReader.prototype.skipFixed32Field = function() { - this.nextWireType_ != jspb.BinaryConstants.WireType.FIXED32 ? (jspb.asserts.fail("Invalid wire type for skipFixed32Field"), - this.skipField()) : this.decoder_.advance(4) - } - , - jspb.BinaryReader.prototype.skipFixed64Field = function() { - this.nextWireType_ != jspb.BinaryConstants.WireType.FIXED64 ? (jspb.asserts.fail("Invalid wire type for skipFixed64Field"), - this.skipField()) : this.decoder_.advance(8) - } - , - jspb.BinaryReader.prototype.skipGroup = function() { - for (var e = this.nextField_; ; ) { - if (!this.nextField()) { - jspb.asserts.fail("Unmatched start-group tag: stream EOF"), - this.error_ = !0; - break - } - if (this.nextWireType_ == jspb.BinaryConstants.WireType.END_GROUP) { - this.nextField_ != e && (jspb.asserts.fail("Unmatched end-group tag"), - this.error_ = !0); - break - } - this.skipField() - } - } - , - jspb.BinaryReader.prototype.skipField = function() { - switch (this.nextWireType_) { - case jspb.BinaryConstants.WireType.VARINT: - this.skipVarintField(); - break; - case jspb.BinaryConstants.WireType.FIXED64: - this.skipFixed64Field(); - break; - case jspb.BinaryConstants.WireType.DELIMITED: - this.skipDelimitedField(); - break; - case jspb.BinaryConstants.WireType.FIXED32: - this.skipFixed32Field(); - break; - case jspb.BinaryConstants.WireType.START_GROUP: - this.skipGroup(); - break; - default: - jspb.asserts.fail("Invalid wire encoding for field.") - } - } - , - jspb.BinaryReader.prototype.registerReadCallback = function(e, t) { - null === this.readCallbacks_ && (this.readCallbacks_ = {}), - jspb.asserts.assert(!this.readCallbacks_[e]), - this.readCallbacks_[e] = t - } - , - jspb.BinaryReader.prototype.runReadCallback = function(e) { - return jspb.asserts.assert(null !== this.readCallbacks_), - e = this.readCallbacks_[e], - jspb.asserts.assert(e), - e(this) - } - , - jspb.BinaryReader.prototype.readAny = function(e) { - this.nextWireType_ = jspb.BinaryConstants.FieldTypeToWireType(e); - var t = jspb.BinaryConstants.FieldType; - switch (e) { - case t.DOUBLE: - return this.readDouble(); - case t.FLOAT: - return this.readFloat(); - case t.INT64: - return this.readInt64(); - case t.UINT64: - return this.readUint64(); - case t.INT32: - return this.readInt32(); - case t.FIXED64: - return this.readFixed64(); - case t.FIXED32: - return this.readFixed32(); - case t.BOOL: - return this.readBool(); - case t.STRING: - return this.readString(); - case t.GROUP: - jspb.asserts.fail("Group field type not supported in readAny()"); - case t.MESSAGE: - jspb.asserts.fail("Message field type not supported in readAny()"); - case t.BYTES: - return this.readBytes(); - case t.UINT32: - return this.readUint32(); - case t.ENUM: - return this.readEnum(); - case t.SFIXED32: - return this.readSfixed32(); - case t.SFIXED64: - return this.readSfixed64(); - case t.SINT32: - return this.readSint32(); - case t.SINT64: - return this.readSint64(); - case t.FHASH64: - return this.readFixedHash64(); - case t.VHASH64: - return this.readVarintHash64(); - default: - jspb.asserts.fail("Invalid field type in readAny()") - } - return 0 - } - , - jspb.BinaryReader.prototype.readMessage = function(e, t) { - jspb.asserts.assert(this.nextWireType_ == jspb.BinaryConstants.WireType.DELIMITED); - var r = this.decoder_.getEnd() - , o = this.decoder_.readUnsignedVarint32(); - o = this.decoder_.getCursor() + o, - this.decoder_.setEnd(o), - t(e, this), - this.decoder_.setCursor(o), - this.decoder_.setEnd(r) - } - , - goog.exportProperty(jspb.BinaryReader.prototype, "readMessage", jspb.BinaryReader.prototype.readMessage), - jspb.BinaryReader.prototype.readGroup = function(e, t, r) { - jspb.asserts.assert(this.nextWireType_ == jspb.BinaryConstants.WireType.START_GROUP), - jspb.asserts.assert(this.nextField_ == e), - r(t, this), - this.error_ || this.nextWireType_ == jspb.BinaryConstants.WireType.END_GROUP || (jspb.asserts.fail("Group submessage did not end with an END_GROUP tag"), - this.error_ = !0) - } - , - goog.exportProperty(jspb.BinaryReader.prototype, "readGroup", jspb.BinaryReader.prototype.readGroup), - jspb.BinaryReader.prototype.getFieldDecoder = function() { - jspb.asserts.assert(this.nextWireType_ == jspb.BinaryConstants.WireType.DELIMITED); - var e = this.decoder_.readUnsignedVarint32() - , t = this.decoder_.getCursor() - , r = t + e; - return e = jspb.BinaryDecoder.alloc(this.decoder_.getBuffer(), t, e), - this.decoder_.setCursor(r), - e - } - , - jspb.BinaryReader.prototype.readInt32 = function() { - return jspb.asserts.assert(this.nextWireType_ == jspb.BinaryConstants.WireType.VARINT), - this.decoder_.readSignedVarint32() - } - , - goog.exportProperty(jspb.BinaryReader.prototype, "readInt32", jspb.BinaryReader.prototype.readInt32), - jspb.BinaryReader.prototype.readInt32String = function() { - return jspb.asserts.assert(this.nextWireType_ == jspb.BinaryConstants.WireType.VARINT), - this.decoder_.readSignedVarint32String() - } - , - jspb.BinaryReader.prototype.readInt64 = function() { - return jspb.asserts.assert(this.nextWireType_ == jspb.BinaryConstants.WireType.VARINT), - this.decoder_.readSignedVarint64() - } - , - goog.exportProperty(jspb.BinaryReader.prototype, "readInt64", jspb.BinaryReader.prototype.readInt64), - jspb.BinaryReader.prototype.readInt64String = function() { - return jspb.asserts.assert(this.nextWireType_ == jspb.BinaryConstants.WireType.VARINT), - this.decoder_.readSignedVarint64String() - } - , - jspb.BinaryReader.prototype.readUint32 = function() { - return jspb.asserts.assert(this.nextWireType_ == jspb.BinaryConstants.WireType.VARINT), - this.decoder_.readUnsignedVarint32() - } - , - goog.exportProperty(jspb.BinaryReader.prototype, "readUint32", jspb.BinaryReader.prototype.readUint32), - jspb.BinaryReader.prototype.readUint32String = function() { - return jspb.asserts.assert(this.nextWireType_ == jspb.BinaryConstants.WireType.VARINT), - this.decoder_.readUnsignedVarint32String() - } - , - jspb.BinaryReader.prototype.readUint64 = function() { - return jspb.asserts.assert(this.nextWireType_ == jspb.BinaryConstants.WireType.VARINT), - this.decoder_.readUnsignedVarint64() - } - , - goog.exportProperty(jspb.BinaryReader.prototype, "readUint64", jspb.BinaryReader.prototype.readUint64), - jspb.BinaryReader.prototype.readUint64String = function() { - return jspb.asserts.assert(this.nextWireType_ == jspb.BinaryConstants.WireType.VARINT), - this.decoder_.readUnsignedVarint64String() - } - , - jspb.BinaryReader.prototype.readSint32 = function() { - return jspb.asserts.assert(this.nextWireType_ == jspb.BinaryConstants.WireType.VARINT), - this.decoder_.readZigzagVarint32() - } - , - goog.exportProperty(jspb.BinaryReader.prototype, "readSint32", jspb.BinaryReader.prototype.readSint32), - jspb.BinaryReader.prototype.readSint64 = function() { - return jspb.asserts.assert(this.nextWireType_ == jspb.BinaryConstants.WireType.VARINT), - this.decoder_.readZigzagVarint64() - } - , - goog.exportProperty(jspb.BinaryReader.prototype, "readSint64", jspb.BinaryReader.prototype.readSint64), - jspb.BinaryReader.prototype.readSint64String = function() { - return jspb.asserts.assert(this.nextWireType_ == jspb.BinaryConstants.WireType.VARINT), - this.decoder_.readZigzagVarint64String() - } - , - jspb.BinaryReader.prototype.readFixed32 = function() { - return jspb.asserts.assert(this.nextWireType_ == jspb.BinaryConstants.WireType.FIXED32), - this.decoder_.readUint32() - } - , - goog.exportProperty(jspb.BinaryReader.prototype, "readFixed32", jspb.BinaryReader.prototype.readFixed32), - jspb.BinaryReader.prototype.readFixed64 = function() { - return jspb.asserts.assert(this.nextWireType_ == jspb.BinaryConstants.WireType.FIXED64), - this.decoder_.readUint64() - } - , - goog.exportProperty(jspb.BinaryReader.prototype, "readFixed64", jspb.BinaryReader.prototype.readFixed64), - jspb.BinaryReader.prototype.readFixed64String = function() { - return jspb.asserts.assert(this.nextWireType_ == jspb.BinaryConstants.WireType.FIXED64), - this.decoder_.readUint64String() - } - , - jspb.BinaryReader.prototype.readSfixed32 = function() { - return jspb.asserts.assert(this.nextWireType_ == jspb.BinaryConstants.WireType.FIXED32), - this.decoder_.readInt32() - } - , - goog.exportProperty(jspb.BinaryReader.prototype, "readSfixed32", jspb.BinaryReader.prototype.readSfixed32), - jspb.BinaryReader.prototype.readSfixed32String = function() { - return jspb.asserts.assert(this.nextWireType_ == jspb.BinaryConstants.WireType.FIXED32), - this.decoder_.readInt32().toString() - } - , - jspb.BinaryReader.prototype.readSfixed64 = function() { - return jspb.asserts.assert(this.nextWireType_ == jspb.BinaryConstants.WireType.FIXED64), - this.decoder_.readInt64() - } - , - goog.exportProperty(jspb.BinaryReader.prototype, "readSfixed64", jspb.BinaryReader.prototype.readSfixed64), - jspb.BinaryReader.prototype.readSfixed64String = function() { - return jspb.asserts.assert(this.nextWireType_ == jspb.BinaryConstants.WireType.FIXED64), - this.decoder_.readInt64String() - } - , - jspb.BinaryReader.prototype.readFloat = function() { - return jspb.asserts.assert(this.nextWireType_ == jspb.BinaryConstants.WireType.FIXED32), - this.decoder_.readFloat() - } - , - goog.exportProperty(jspb.BinaryReader.prototype, "readFloat", jspb.BinaryReader.prototype.readFloat), - jspb.BinaryReader.prototype.readDouble = function() { - return jspb.asserts.assert(this.nextWireType_ == jspb.BinaryConstants.WireType.FIXED64), - this.decoder_.readDouble() - } - , - goog.exportProperty(jspb.BinaryReader.prototype, "readDouble", jspb.BinaryReader.prototype.readDouble), - jspb.BinaryReader.prototype.readBool = function() { - return jspb.asserts.assert(this.nextWireType_ == jspb.BinaryConstants.WireType.VARINT), - !!this.decoder_.readUnsignedVarint32() - } - , - goog.exportProperty(jspb.BinaryReader.prototype, "readBool", jspb.BinaryReader.prototype.readBool), - jspb.BinaryReader.prototype.readEnum = function() { - return jspb.asserts.assert(this.nextWireType_ == jspb.BinaryConstants.WireType.VARINT), - this.decoder_.readSignedVarint64() - } - , - goog.exportProperty(jspb.BinaryReader.prototype, "readEnum", jspb.BinaryReader.prototype.readEnum), - jspb.BinaryReader.prototype.readString = function() { - jspb.asserts.assert(this.nextWireType_ == jspb.BinaryConstants.WireType.DELIMITED); - var e = this.decoder_.readUnsignedVarint32(); - return this.decoder_.readString(e) - } - , - goog.exportProperty(jspb.BinaryReader.prototype, "readString", jspb.BinaryReader.prototype.readString), - jspb.BinaryReader.prototype.readBytes = function() { - jspb.asserts.assert(this.nextWireType_ == jspb.BinaryConstants.WireType.DELIMITED); - var e = this.decoder_.readUnsignedVarint32(); - return this.decoder_.readBytes(e) - } - , - goog.exportProperty(jspb.BinaryReader.prototype, "readBytes", jspb.BinaryReader.prototype.readBytes), - jspb.BinaryReader.prototype.readVarintHash64 = function() { - return jspb.asserts.assert(this.nextWireType_ == jspb.BinaryConstants.WireType.VARINT), - this.decoder_.readVarintHash64() - } - , - jspb.BinaryReader.prototype.readSintHash64 = function() { - return jspb.asserts.assert(this.nextWireType_ == jspb.BinaryConstants.WireType.VARINT), - this.decoder_.readZigzagVarintHash64() - } - , - jspb.BinaryReader.prototype.readSplitVarint64 = function(e) { - return jspb.asserts.assert(this.nextWireType_ == jspb.BinaryConstants.WireType.VARINT), - this.decoder_.readSplitVarint64(e) - } - , - jspb.BinaryReader.prototype.readSplitZigzagVarint64 = function(e) { - return jspb.asserts.assert(this.nextWireType_ == jspb.BinaryConstants.WireType.VARINT), - this.decoder_.readSplitVarint64((function(t, r) { - return jspb.utils.fromZigzag64(t, r, e) - } - )) - } - , - jspb.BinaryReader.prototype.readFixedHash64 = function() { - return jspb.asserts.assert(this.nextWireType_ == jspb.BinaryConstants.WireType.FIXED64), - this.decoder_.readFixedHash64() - } - , - jspb.BinaryReader.prototype.readSplitFixed64 = function(e) { - return jspb.asserts.assert(this.nextWireType_ == jspb.BinaryConstants.WireType.FIXED64), - this.decoder_.readSplitFixed64(e) - } - , - jspb.BinaryReader.prototype.readPackedField_ = function(e) { - jspb.asserts.assert(this.nextWireType_ == jspb.BinaryConstants.WireType.DELIMITED); - var t = this.decoder_.readUnsignedVarint32(); - t = this.decoder_.getCursor() + t; - for (var r = []; this.decoder_.getCursor() < t; ) - r.push(e.call(this.decoder_)); - return r - } - , - jspb.BinaryReader.prototype.readPackedInt32 = function() { - return this.readPackedField_(this.decoder_.readSignedVarint32) - } - , - goog.exportProperty(jspb.BinaryReader.prototype, "readPackedInt32", jspb.BinaryReader.prototype.readPackedInt32), - jspb.BinaryReader.prototype.readPackedInt32String = function() { - return this.readPackedField_(this.decoder_.readSignedVarint32String) - } - , - jspb.BinaryReader.prototype.readPackedInt64 = function() { - return this.readPackedField_(this.decoder_.readSignedVarint64) - } - , - goog.exportProperty(jspb.BinaryReader.prototype, "readPackedInt64", jspb.BinaryReader.prototype.readPackedInt64), - jspb.BinaryReader.prototype.readPackedInt64String = function() { - return this.readPackedField_(this.decoder_.readSignedVarint64String) - } - , - jspb.BinaryReader.prototype.readPackedUint32 = function() { - return this.readPackedField_(this.decoder_.readUnsignedVarint32) - } - , - goog.exportProperty(jspb.BinaryReader.prototype, "readPackedUint32", jspb.BinaryReader.prototype.readPackedUint32), - jspb.BinaryReader.prototype.readPackedUint32String = function() { - return this.readPackedField_(this.decoder_.readUnsignedVarint32String) - } - , - jspb.BinaryReader.prototype.readPackedUint64 = function() { - return this.readPackedField_(this.decoder_.readUnsignedVarint64) - } - , - goog.exportProperty(jspb.BinaryReader.prototype, "readPackedUint64", jspb.BinaryReader.prototype.readPackedUint64), - jspb.BinaryReader.prototype.readPackedUint64String = function() { - return this.readPackedField_(this.decoder_.readUnsignedVarint64String) - } - , - jspb.BinaryReader.prototype.readPackedSint32 = function() { - return this.readPackedField_(this.decoder_.readZigzagVarint32) - } - , - goog.exportProperty(jspb.BinaryReader.prototype, "readPackedSint32", jspb.BinaryReader.prototype.readPackedSint32), - jspb.BinaryReader.prototype.readPackedSint64 = function() { - return this.readPackedField_(this.decoder_.readZigzagVarint64) - } - , - goog.exportProperty(jspb.BinaryReader.prototype, "readPackedSint64", jspb.BinaryReader.prototype.readPackedSint64), - jspb.BinaryReader.prototype.readPackedSint64String = function() { - return this.readPackedField_(this.decoder_.readZigzagVarint64String) - } - , - jspb.BinaryReader.prototype.readPackedFixed32 = function() { - return this.readPackedField_(this.decoder_.readUint32) - } - , - goog.exportProperty(jspb.BinaryReader.prototype, "readPackedFixed32", jspb.BinaryReader.prototype.readPackedFixed32), - jspb.BinaryReader.prototype.readPackedFixed64 = function() { - return this.readPackedField_(this.decoder_.readUint64) - } - , - goog.exportProperty(jspb.BinaryReader.prototype, "readPackedFixed64", jspb.BinaryReader.prototype.readPackedFixed64), - jspb.BinaryReader.prototype.readPackedFixed64String = function() { - return this.readPackedField_(this.decoder_.readUint64String) - } - , - jspb.BinaryReader.prototype.readPackedSfixed32 = function() { - return this.readPackedField_(this.decoder_.readInt32) - } - , - goog.exportProperty(jspb.BinaryReader.prototype, "readPackedSfixed32", jspb.BinaryReader.prototype.readPackedSfixed32), - jspb.BinaryReader.prototype.readPackedSfixed64 = function() { - return this.readPackedField_(this.decoder_.readInt64) - } - , - goog.exportProperty(jspb.BinaryReader.prototype, "readPackedSfixed64", jspb.BinaryReader.prototype.readPackedSfixed64), - jspb.BinaryReader.prototype.readPackedSfixed64String = function() { - return this.readPackedField_(this.decoder_.readInt64String) - } - , - jspb.BinaryReader.prototype.readPackedFloat = function() { - return this.readPackedField_(this.decoder_.readFloat) - } - , - goog.exportProperty(jspb.BinaryReader.prototype, "readPackedFloat", jspb.BinaryReader.prototype.readPackedFloat), - jspb.BinaryReader.prototype.readPackedDouble = function() { - return this.readPackedField_(this.decoder_.readDouble) - } - , - goog.exportProperty(jspb.BinaryReader.prototype, "readPackedDouble", jspb.BinaryReader.prototype.readPackedDouble), - jspb.BinaryReader.prototype.readPackedBool = function() { - return this.readPackedField_(this.decoder_.readBool) - } - , - goog.exportProperty(jspb.BinaryReader.prototype, "readPackedBool", jspb.BinaryReader.prototype.readPackedBool), - jspb.BinaryReader.prototype.readPackedEnum = function() { - return this.readPackedField_(this.decoder_.readEnum) - } - , - goog.exportProperty(jspb.BinaryReader.prototype, "readPackedEnum", jspb.BinaryReader.prototype.readPackedEnum), - jspb.BinaryReader.prototype.readPackedVarintHash64 = function() { - return this.readPackedField_(this.decoder_.readVarintHash64) - } - , - jspb.BinaryReader.prototype.readPackedFixedHash64 = function() { - return this.readPackedField_(this.decoder_.readFixedHash64) - } - , - jspb.BinaryEncoder = function() { - this.buffer_ = [] - } - , - jspb.BinaryEncoder.prototype.length = function() { - return this.buffer_.length - } - , - jspb.BinaryEncoder.prototype.end = function() { - var e = this.buffer_; - return this.buffer_ = [], - e - } - , - jspb.BinaryEncoder.prototype.writeSplitVarint64 = function(e, t) { - for (jspb.asserts.assert(e == Math.floor(e)), - jspb.asserts.assert(t == Math.floor(t)), - jspb.asserts.assert(0 <= e && e < jspb.BinaryConstants.TWO_TO_32), - jspb.asserts.assert(0 <= t && t < jspb.BinaryConstants.TWO_TO_32); 0 < t || 127 < e; ) - this.buffer_.push(127 & e | 128), - e = (e >>> 7 | t << 25) >>> 0, - t >>>= 7; - this.buffer_.push(e) - } - , - jspb.BinaryEncoder.prototype.writeSplitFixed64 = function(e, t) { - jspb.asserts.assert(e == Math.floor(e)), - jspb.asserts.assert(t == Math.floor(t)), - jspb.asserts.assert(0 <= e && e < jspb.BinaryConstants.TWO_TO_32), - jspb.asserts.assert(0 <= t && t < jspb.BinaryConstants.TWO_TO_32), - this.writeUint32(e), - this.writeUint32(t) - } - , - jspb.BinaryEncoder.prototype.writeUnsignedVarint32 = function(e) { - for (jspb.asserts.assert(e == Math.floor(e)), - jspb.asserts.assert(0 <= e && e < jspb.BinaryConstants.TWO_TO_32); 127 < e; ) - this.buffer_.push(127 & e | 128), - e >>>= 7; - this.buffer_.push(e) - } - , - jspb.BinaryEncoder.prototype.writeSignedVarint32 = function(e) { - if (jspb.asserts.assert(e == Math.floor(e)), - jspb.asserts.assert(e >= -jspb.BinaryConstants.TWO_TO_31 && e < jspb.BinaryConstants.TWO_TO_31), - 0 <= e) - this.writeUnsignedVarint32(e); - else { - for (var t = 0; 9 > t; t++) - this.buffer_.push(127 & e | 128), - e >>= 7; - this.buffer_.push(1) - } - } - , - jspb.BinaryEncoder.prototype.writeUnsignedVarint64 = function(e) { - jspb.asserts.assert(e == Math.floor(e)), - jspb.asserts.assert(0 <= e && e < jspb.BinaryConstants.TWO_TO_64), - jspb.utils.splitInt64(e), - this.writeSplitVarint64(jspb.utils.split64Low, jspb.utils.split64High) - } - , - jspb.BinaryEncoder.prototype.writeSignedVarint64 = function(e) { - jspb.asserts.assert(e == Math.floor(e)), - jspb.asserts.assert(e >= -jspb.BinaryConstants.TWO_TO_63 && e < jspb.BinaryConstants.TWO_TO_63), - jspb.utils.splitInt64(e), - this.writeSplitVarint64(jspb.utils.split64Low, jspb.utils.split64High) - } - , - jspb.BinaryEncoder.prototype.writeZigzagVarint32 = function(e) { - jspb.asserts.assert(e == Math.floor(e)), - jspb.asserts.assert(e >= -jspb.BinaryConstants.TWO_TO_31 && e < jspb.BinaryConstants.TWO_TO_31), - this.writeUnsignedVarint32((e << 1 ^ e >> 31) >>> 0) - } - , - jspb.BinaryEncoder.prototype.writeZigzagVarint64 = function(e) { - jspb.asserts.assert(e == Math.floor(e)), - jspb.asserts.assert(e >= -jspb.BinaryConstants.TWO_TO_63 && e < jspb.BinaryConstants.TWO_TO_63), - jspb.utils.splitZigzag64(e), - this.writeSplitVarint64(jspb.utils.split64Low, jspb.utils.split64High) - } - , - jspb.BinaryEncoder.prototype.writeZigzagVarint64String = function(e) { - this.writeZigzagVarintHash64(jspb.utils.decimalStringToHash64(e)) - } - , - jspb.BinaryEncoder.prototype.writeZigzagVarintHash64 = function(e) { - var t = this; - jspb.utils.splitHash64(e), - jspb.utils.toZigzag64(jspb.utils.split64Low, jspb.utils.split64High, (function(e, r) { - t.writeSplitVarint64(e >>> 0, r >>> 0) - } - )) - } - , - jspb.BinaryEncoder.prototype.writeUint8 = function(e) { - jspb.asserts.assert(e == Math.floor(e)), - jspb.asserts.assert(0 <= e && 256 > e), - this.buffer_.push(e >>> 0 & 255) - } - , - jspb.BinaryEncoder.prototype.writeUint16 = function(e) { - jspb.asserts.assert(e == Math.floor(e)), - jspb.asserts.assert(0 <= e && 65536 > e), - this.buffer_.push(e >>> 0 & 255), - this.buffer_.push(e >>> 8 & 255) - } - , - jspb.BinaryEncoder.prototype.writeUint32 = function(e) { - jspb.asserts.assert(e == Math.floor(e)), - jspb.asserts.assert(0 <= e && e < jspb.BinaryConstants.TWO_TO_32), - this.buffer_.push(e >>> 0 & 255), - this.buffer_.push(e >>> 8 & 255), - this.buffer_.push(e >>> 16 & 255), - this.buffer_.push(e >>> 24 & 255) - } - , - jspb.BinaryEncoder.prototype.writeUint64 = function(e) { - jspb.asserts.assert(e == Math.floor(e)), - jspb.asserts.assert(0 <= e && e < jspb.BinaryConstants.TWO_TO_64), - jspb.utils.splitUint64(e), - this.writeUint32(jspb.utils.split64Low), - this.writeUint32(jspb.utils.split64High) - } - , - jspb.BinaryEncoder.prototype.writeInt8 = function(e) { - jspb.asserts.assert(e == Math.floor(e)), - jspb.asserts.assert(-128 <= e && 128 > e), - this.buffer_.push(e >>> 0 & 255) - } - , - jspb.BinaryEncoder.prototype.writeInt16 = function(e) { - jspb.asserts.assert(e == Math.floor(e)), - jspb.asserts.assert(-32768 <= e && 32768 > e), - this.buffer_.push(e >>> 0 & 255), - this.buffer_.push(e >>> 8 & 255) - } - , - jspb.BinaryEncoder.prototype.writeInt32 = function(e) { - jspb.asserts.assert(e == Math.floor(e)), - jspb.asserts.assert(e >= -jspb.BinaryConstants.TWO_TO_31 && e < jspb.BinaryConstants.TWO_TO_31), - this.buffer_.push(e >>> 0 & 255), - this.buffer_.push(e >>> 8 & 255), - this.buffer_.push(e >>> 16 & 255), - this.buffer_.push(e >>> 24 & 255) - } - , - jspb.BinaryEncoder.prototype.writeInt64 = function(e) { - jspb.asserts.assert(e == Math.floor(e)), - jspb.asserts.assert(e >= -jspb.BinaryConstants.TWO_TO_63 && e < jspb.BinaryConstants.TWO_TO_63), - jspb.utils.splitInt64(e), - this.writeSplitFixed64(jspb.utils.split64Low, jspb.utils.split64High) - } - , - jspb.BinaryEncoder.prototype.writeInt64String = function(e) { - jspb.asserts.assert(e == Math.floor(e)), - jspb.asserts.assert(+e >= -jspb.BinaryConstants.TWO_TO_63 && +e < jspb.BinaryConstants.TWO_TO_63), - jspb.utils.splitHash64(jspb.utils.decimalStringToHash64(e)), - this.writeSplitFixed64(jspb.utils.split64Low, jspb.utils.split64High) - } - , - jspb.BinaryEncoder.prototype.writeFloat = function(e) { - jspb.asserts.assert(1 / 0 === e || -1 / 0 === e || isNaN(e) || e >= -jspb.BinaryConstants.FLOAT32_MAX && e <= jspb.BinaryConstants.FLOAT32_MAX), - jspb.utils.splitFloat32(e), - this.writeUint32(jspb.utils.split64Low) - } - , - jspb.BinaryEncoder.prototype.writeDouble = function(e) { - jspb.asserts.assert(1 / 0 === e || -1 / 0 === e || isNaN(e) || e >= -jspb.BinaryConstants.FLOAT64_MAX && e <= jspb.BinaryConstants.FLOAT64_MAX), - jspb.utils.splitFloat64(e), - this.writeUint32(jspb.utils.split64Low), - this.writeUint32(jspb.utils.split64High) - } - , - jspb.BinaryEncoder.prototype.writeBool = function(e) { - jspb.asserts.assert("boolean" == typeof e || "number" == typeof e), - this.buffer_.push(e ? 1 : 0) - } - , - jspb.BinaryEncoder.prototype.writeEnum = function(e) { - jspb.asserts.assert(e == Math.floor(e)), - jspb.asserts.assert(e >= -jspb.BinaryConstants.TWO_TO_31 && e < jspb.BinaryConstants.TWO_TO_31), - this.writeSignedVarint32(e) - } - , - jspb.BinaryEncoder.prototype.writeBytes = function(e) { - this.buffer_.push.apply(this.buffer_, e) - } - , - jspb.BinaryEncoder.prototype.writeVarintHash64 = function(e) { - jspb.utils.splitHash64(e), - this.writeSplitVarint64(jspb.utils.split64Low, jspb.utils.split64High) - } - , - jspb.BinaryEncoder.prototype.writeFixedHash64 = function(e) { - jspb.utils.splitHash64(e), - this.writeUint32(jspb.utils.split64Low), - this.writeUint32(jspb.utils.split64High) - } - , - jspb.BinaryEncoder.prototype.writeString = function(e) { - var t = this.buffer_.length; - jspb.asserts.assertString(e); - for (var r = 0; r < e.length; r++) { - var o = e.charCodeAt(r); - if (128 > o) - this.buffer_.push(o); - else if (2048 > o) - this.buffer_.push(o >> 6 | 192), - this.buffer_.push(63 & o | 128); - else if (65536 > o) - if (55296 <= o && 56319 >= o && r + 1 < e.length) { - var i = e.charCodeAt(r + 1); - 56320 <= i && 57343 >= i && (o = 1024 * (o - 55296) + i - 56320 + 65536, - this.buffer_.push(o >> 18 | 240), - this.buffer_.push(o >> 12 & 63 | 128), - this.buffer_.push(o >> 6 & 63 | 128), - this.buffer_.push(63 & o | 128), - r++) - } else - this.buffer_.push(o >> 12 | 224), - this.buffer_.push(o >> 6 & 63 | 128), - this.buffer_.push(63 & o | 128) - } - return this.buffer_.length - t - } - , - jspb.arith = {}, - jspb.arith.UInt64 = function(e, t) { - this.lo = e, - this.hi = t - } - , - jspb.arith.UInt64.prototype.cmp = function(e) { - return this.hi < e.hi || this.hi == e.hi && this.lo < e.lo ? -1 : this.hi == e.hi && this.lo == e.lo ? 0 : 1 - } - , - jspb.arith.UInt64.prototype.rightShift = function() { - return new jspb.arith.UInt64((this.lo >>> 1 | (1 & this.hi) << 31) >>> 0,this.hi >>> 1 >>> 0) - } - , - jspb.arith.UInt64.prototype.leftShift = function() { - return new jspb.arith.UInt64(this.lo << 1 >>> 0,(this.hi << 1 | this.lo >>> 31) >>> 0) - } - , - jspb.arith.UInt64.prototype.msb = function() { - return !!(2147483648 & this.hi) - } - , - jspb.arith.UInt64.prototype.lsb = function() { - return !!(1 & this.lo) - } - , - jspb.arith.UInt64.prototype.zero = function() { - return 0 == this.lo && 0 == this.hi - } - , - jspb.arith.UInt64.prototype.add = function(e) { - return new jspb.arith.UInt64((this.lo + e.lo & 4294967295) >>> 0 >>> 0,((this.hi + e.hi & 4294967295) >>> 0) + (4294967296 <= this.lo + e.lo ? 1 : 0) >>> 0) - } - , - jspb.arith.UInt64.prototype.sub = function(e) { - return new jspb.arith.UInt64((this.lo - e.lo & 4294967295) >>> 0 >>> 0,((this.hi - e.hi & 4294967295) >>> 0) - (0 > this.lo - e.lo ? 1 : 0) >>> 0) - } - , - jspb.arith.UInt64.mul32x32 = function(e, t) { - var r = 65535 & e - , o = 65535 & t - , i = t >>> 16; - for (t = r * o + 65536 * (r * i & 65535) + 65536 * ((e >>>= 16) * o & 65535), - r = e * i + (r * i >>> 16) + (e * o >>> 16); 4294967296 <= t; ) - t -= 4294967296, - r += 1; - return new jspb.arith.UInt64(t >>> 0,r >>> 0) - } - , - jspb.arith.UInt64.prototype.mul = function(e) { - var t = jspb.arith.UInt64.mul32x32(this.lo, e); - return (e = jspb.arith.UInt64.mul32x32(this.hi, e)).hi = e.lo, - e.lo = 0, - t.add(e) - } - , - jspb.arith.UInt64.prototype.div = function(e) { - if (0 == e) - return []; - var t = new jspb.arith.UInt64(0,0) - , r = new jspb.arith.UInt64(this.lo,this.hi); - e = new jspb.arith.UInt64(e,0); - for (var o = new jspb.arith.UInt64(1,0); !e.msb(); ) - e = e.leftShift(), - o = o.leftShift(); - for (; !o.zero(); ) - 0 >= e.cmp(r) && (t = t.add(o), - r = r.sub(e)), - e = e.rightShift(), - o = o.rightShift(); - return [t, r] - } - , - jspb.arith.UInt64.prototype.toString = function() { - for (var e = "", t = this; !t.zero(); ) { - var r = (t = t.div(10))[0]; - e = t[1].lo + e, - t = r - } - return "" == e && (e = "0"), - e - } - , - jspb.arith.UInt64.fromString = function(e) { - for (var t = new jspb.arith.UInt64(0,0), r = new jspb.arith.UInt64(0,0), o = 0; o < e.length; o++) { - if ("0" > e[o] || "9" < e[o]) - return null; - var i = parseInt(e[o], 10); - r.lo = i, - t = t.mul(10).add(r) - } - return t - } - , - jspb.arith.UInt64.prototype.clone = function() { - return new jspb.arith.UInt64(this.lo,this.hi) - } - , - jspb.arith.Int64 = function(e, t) { - this.lo = e, - this.hi = t - } - , - jspb.arith.Int64.prototype.add = function(e) { - return new jspb.arith.Int64((this.lo + e.lo & 4294967295) >>> 0 >>> 0,((this.hi + e.hi & 4294967295) >>> 0) + (4294967296 <= this.lo + e.lo ? 1 : 0) >>> 0) - } - , - jspb.arith.Int64.prototype.sub = function(e) { - return new jspb.arith.Int64((this.lo - e.lo & 4294967295) >>> 0 >>> 0,((this.hi - e.hi & 4294967295) >>> 0) - (0 > this.lo - e.lo ? 1 : 0) >>> 0) - } - , - jspb.arith.Int64.prototype.clone = function() { - return new jspb.arith.Int64(this.lo,this.hi) - } - , - jspb.arith.Int64.prototype.toString = function() { - var e = 0 != (2147483648 & this.hi) - , t = new jspb.arith.UInt64(this.lo,this.hi); - return e && (t = new jspb.arith.UInt64(0,0).sub(t)), - (e ? "-" : "") + t.toString() - } - , - jspb.arith.Int64.fromString = function(e) { - var t = 0 < e.length && "-" == e[0]; - return t && (e = e.substring(1)), - null === (e = jspb.arith.UInt64.fromString(e)) ? null : (t && (e = new jspb.arith.UInt64(0,0).sub(e)), - new jspb.arith.Int64(e.lo,e.hi)) - } - , - jspb.BinaryWriter = function() { - this.blocks_ = [], - this.totalLength_ = 0, - this.encoder_ = new jspb.BinaryEncoder, - this.bookmarks_ = [] - } - , - jspb.BinaryWriter.prototype.appendUint8Array_ = function(e) { - var t = this.encoder_.end(); - this.blocks_.push(t), - this.blocks_.push(e), - this.totalLength_ += t.length + e.length - } - , - jspb.BinaryWriter.prototype.beginDelimited_ = function(e) { - return this.writeFieldHeader_(e, jspb.BinaryConstants.WireType.DELIMITED), - e = this.encoder_.end(), - this.blocks_.push(e), - this.totalLength_ += e.length, - e.push(this.totalLength_), - e - } - , - jspb.BinaryWriter.prototype.endDelimited_ = function(e) { - var t = e.pop(); - for (t = this.totalLength_ + this.encoder_.length() - t, - jspb.asserts.assert(0 <= t); 127 < t; ) - e.push(127 & t | 128), - t >>>= 7, - this.totalLength_++; - e.push(t), - this.totalLength_++ - } - , - jspb.BinaryWriter.prototype.writeSerializedMessage = function(e, t, r) { - this.appendUint8Array_(e.subarray(t, r)) - } - , - jspb.BinaryWriter.prototype.maybeWriteSerializedMessage = function(e, t, r) { - null != e && null != t && null != r && this.writeSerializedMessage(e, t, r) - } - , - jspb.BinaryWriter.prototype.reset = function() { - this.blocks_ = [], - this.encoder_.end(), - this.totalLength_ = 0, - this.bookmarks_ = [] - } - , - jspb.BinaryWriter.prototype.getResultBuffer = function() { - jspb.asserts.assert(0 == this.bookmarks_.length); - for (var e = new Uint8Array(this.totalLength_ + this.encoder_.length()), t = this.blocks_, r = t.length, o = 0, i = 0; i < r; i++) { - var a = t[i]; - e.set(a, o), - o += a.length - } - return t = this.encoder_.end(), - e.set(t, o), - o += t.length, - jspb.asserts.assert(o == e.length), - this.blocks_ = [e], - e - } - , - goog.exportProperty(jspb.BinaryWriter.prototype, "getResultBuffer", jspb.BinaryWriter.prototype.getResultBuffer), - jspb.BinaryWriter.prototype.getResultBase64String = function(e) { - return goog.crypt.base64.encodeByteArray(this.getResultBuffer(), e) - } - , - jspb.BinaryWriter.prototype.beginSubMessage = function(e) { - this.bookmarks_.push(this.beginDelimited_(e)) - } - , - jspb.BinaryWriter.prototype.endSubMessage = function() { - jspb.asserts.assert(0 <= this.bookmarks_.length), - this.endDelimited_(this.bookmarks_.pop()) - } - , - jspb.BinaryWriter.prototype.writeFieldHeader_ = function(e, t) { - jspb.asserts.assert(1 <= e && e == Math.floor(e)), - this.encoder_.writeUnsignedVarint32(8 * e + t) - } - , - jspb.BinaryWriter.prototype.writeAny = function(e, t, r) { - var o = jspb.BinaryConstants.FieldType; - switch (e) { - case o.DOUBLE: - this.writeDouble(t, r); - break; - case o.FLOAT: - this.writeFloat(t, r); - break; - case o.INT64: - this.writeInt64(t, r); - break; - case o.UINT64: - this.writeUint64(t, r); - break; - case o.INT32: - this.writeInt32(t, r); - break; - case o.FIXED64: - this.writeFixed64(t, r); - break; - case o.FIXED32: - this.writeFixed32(t, r); - break; - case o.BOOL: - this.writeBool(t, r); - break; - case o.STRING: - this.writeString(t, r); - break; - case o.GROUP: - jspb.asserts.fail("Group field type not supported in writeAny()"); - break; - case o.MESSAGE: - jspb.asserts.fail("Message field type not supported in writeAny()"); - break; - case o.BYTES: - this.writeBytes(t, r); - break; - case o.UINT32: - this.writeUint32(t, r); - break; - case o.ENUM: - this.writeEnum(t, r); - break; - case o.SFIXED32: - this.writeSfixed32(t, r); - break; - case o.SFIXED64: - this.writeSfixed64(t, r); - break; - case o.SINT32: - this.writeSint32(t, r); - break; - case o.SINT64: - this.writeSint64(t, r); - break; - case o.FHASH64: - this.writeFixedHash64(t, r); - break; - case o.VHASH64: - this.writeVarintHash64(t, r); - break; - default: - jspb.asserts.fail("Invalid field type in writeAny()") - } - } - , - jspb.BinaryWriter.prototype.writeUnsignedVarint32_ = function(e, t) { - null != t && (this.writeFieldHeader_(e, jspb.BinaryConstants.WireType.VARINT), - this.encoder_.writeUnsignedVarint32(t)) - } - , - jspb.BinaryWriter.prototype.writeSignedVarint32_ = function(e, t) { - null != t && (this.writeFieldHeader_(e, jspb.BinaryConstants.WireType.VARINT), - this.encoder_.writeSignedVarint32(t)) - } - , - jspb.BinaryWriter.prototype.writeUnsignedVarint64_ = function(e, t) { - null != t && (this.writeFieldHeader_(e, jspb.BinaryConstants.WireType.VARINT), - this.encoder_.writeUnsignedVarint64(t)) - } - , - jspb.BinaryWriter.prototype.writeSignedVarint64_ = function(e, t) { - null != t && (this.writeFieldHeader_(e, jspb.BinaryConstants.WireType.VARINT), - this.encoder_.writeSignedVarint64(t)) - } - , - jspb.BinaryWriter.prototype.writeZigzagVarint32_ = function(e, t) { - null != t && (this.writeFieldHeader_(e, jspb.BinaryConstants.WireType.VARINT), - this.encoder_.writeZigzagVarint32(t)) - } - , - jspb.BinaryWriter.prototype.writeZigzagVarint64_ = function(e, t) { - null != t && (this.writeFieldHeader_(e, jspb.BinaryConstants.WireType.VARINT), - this.encoder_.writeZigzagVarint64(t)) - } - , - jspb.BinaryWriter.prototype.writeZigzagVarint64String_ = function(e, t) { - null != t && (this.writeFieldHeader_(e, jspb.BinaryConstants.WireType.VARINT), - this.encoder_.writeZigzagVarint64String(t)) - } - , - jspb.BinaryWriter.prototype.writeZigzagVarintHash64_ = function(e, t) { - null != t && (this.writeFieldHeader_(e, jspb.BinaryConstants.WireType.VARINT), - this.encoder_.writeZigzagVarintHash64(t)) - } - , - jspb.BinaryWriter.prototype.writeInt32 = function(e, t) { - null != t && (jspb.asserts.assert(t >= -jspb.BinaryConstants.TWO_TO_31 && t < jspb.BinaryConstants.TWO_TO_31), - this.writeSignedVarint32_(e, t)) - } - , - goog.exportProperty(jspb.BinaryWriter.prototype, "writeInt32", jspb.BinaryWriter.prototype.writeInt32), - jspb.BinaryWriter.prototype.writeInt32String = function(e, t) { - null != t && (t = parseInt(t, 10), - jspb.asserts.assert(t >= -jspb.BinaryConstants.TWO_TO_31 && t < jspb.BinaryConstants.TWO_TO_31), - this.writeSignedVarint32_(e, t)) - } - , - jspb.BinaryWriter.prototype.writeInt64 = function(e, t) { - null != t && (jspb.asserts.assert(t >= -jspb.BinaryConstants.TWO_TO_63 && t < jspb.BinaryConstants.TWO_TO_63), - this.writeSignedVarint64_(e, t)) - } - , - goog.exportProperty(jspb.BinaryWriter.prototype, "writeInt64", jspb.BinaryWriter.prototype.writeInt64), - jspb.BinaryWriter.prototype.writeInt64String = function(e, t) { - null != t && (t = jspb.arith.Int64.fromString(t), - this.writeFieldHeader_(e, jspb.BinaryConstants.WireType.VARINT), - this.encoder_.writeSplitVarint64(t.lo, t.hi)) - } - , - jspb.BinaryWriter.prototype.writeUint32 = function(e, t) { - null != t && (jspb.asserts.assert(0 <= t && t < jspb.BinaryConstants.TWO_TO_32), - this.writeUnsignedVarint32_(e, t)) - } - , - goog.exportProperty(jspb.BinaryWriter.prototype, "writeUint32", jspb.BinaryWriter.prototype.writeUint32), - jspb.BinaryWriter.prototype.writeUint32String = function(e, t) { - null != t && (t = parseInt(t, 10), - jspb.asserts.assert(0 <= t && t < jspb.BinaryConstants.TWO_TO_32), - this.writeUnsignedVarint32_(e, t)) - } - , - jspb.BinaryWriter.prototype.writeUint64 = function(e, t) { - null != t && (jspb.asserts.assert(0 <= t && t < jspb.BinaryConstants.TWO_TO_64), - this.writeUnsignedVarint64_(e, t)) - } - , - goog.exportProperty(jspb.BinaryWriter.prototype, "writeUint64", jspb.BinaryWriter.prototype.writeUint64), - jspb.BinaryWriter.prototype.writeUint64String = function(e, t) { - null != t && (t = jspb.arith.UInt64.fromString(t), - this.writeFieldHeader_(e, jspb.BinaryConstants.WireType.VARINT), - this.encoder_.writeSplitVarint64(t.lo, t.hi)) - } - , - jspb.BinaryWriter.prototype.writeSint32 = function(e, t) { - null != t && (jspb.asserts.assert(t >= -jspb.BinaryConstants.TWO_TO_31 && t < jspb.BinaryConstants.TWO_TO_31), - this.writeZigzagVarint32_(e, t)) - } - , - goog.exportProperty(jspb.BinaryWriter.prototype, "writeSint32", jspb.BinaryWriter.prototype.writeSint32), - jspb.BinaryWriter.prototype.writeSint64 = function(e, t) { - null != t && (jspb.asserts.assert(t >= -jspb.BinaryConstants.TWO_TO_63 && t < jspb.BinaryConstants.TWO_TO_63), - this.writeZigzagVarint64_(e, t)) - } - , - goog.exportProperty(jspb.BinaryWriter.prototype, "writeSint64", jspb.BinaryWriter.prototype.writeSint64), - jspb.BinaryWriter.prototype.writeSintHash64 = function(e, t) { - null != t && this.writeZigzagVarintHash64_(e, t) - } - , - jspb.BinaryWriter.prototype.writeSint64String = function(e, t) { - null != t && this.writeZigzagVarint64String_(e, t) - } - , - jspb.BinaryWriter.prototype.writeFixed32 = function(e, t) { - null != t && (jspb.asserts.assert(0 <= t && t < jspb.BinaryConstants.TWO_TO_32), - this.writeFieldHeader_(e, jspb.BinaryConstants.WireType.FIXED32), - this.encoder_.writeUint32(t)) - } - , - goog.exportProperty(jspb.BinaryWriter.prototype, "writeFixed32", jspb.BinaryWriter.prototype.writeFixed32), - jspb.BinaryWriter.prototype.writeFixed64 = function(e, t) { - null != t && (jspb.asserts.assert(0 <= t && t < jspb.BinaryConstants.TWO_TO_64), - this.writeFieldHeader_(e, jspb.BinaryConstants.WireType.FIXED64), - this.encoder_.writeUint64(t)) - } - , - goog.exportProperty(jspb.BinaryWriter.prototype, "writeFixed64", jspb.BinaryWriter.prototype.writeFixed64), - jspb.BinaryWriter.prototype.writeFixed64String = function(e, t) { - null != t && (t = jspb.arith.UInt64.fromString(t), - this.writeFieldHeader_(e, jspb.BinaryConstants.WireType.FIXED64), - this.encoder_.writeSplitFixed64(t.lo, t.hi)) - } - , - jspb.BinaryWriter.prototype.writeSfixed32 = function(e, t) { - null != t && (jspb.asserts.assert(t >= -jspb.BinaryConstants.TWO_TO_31 && t < jspb.BinaryConstants.TWO_TO_31), - this.writeFieldHeader_(e, jspb.BinaryConstants.WireType.FIXED32), - this.encoder_.writeInt32(t)) - } - , - goog.exportProperty(jspb.BinaryWriter.prototype, "writeSfixed32", jspb.BinaryWriter.prototype.writeSfixed32), - jspb.BinaryWriter.prototype.writeSfixed64 = function(e, t) { - null != t && (jspb.asserts.assert(t >= -jspb.BinaryConstants.TWO_TO_63 && t < jspb.BinaryConstants.TWO_TO_63), - this.writeFieldHeader_(e, jspb.BinaryConstants.WireType.FIXED64), - this.encoder_.writeInt64(t)) - } - , - goog.exportProperty(jspb.BinaryWriter.prototype, "writeSfixed64", jspb.BinaryWriter.prototype.writeSfixed64), - jspb.BinaryWriter.prototype.writeSfixed64String = function(e, t) { - null != t && (t = jspb.arith.Int64.fromString(t), - this.writeFieldHeader_(e, jspb.BinaryConstants.WireType.FIXED64), - this.encoder_.writeSplitFixed64(t.lo, t.hi)) - } - , - jspb.BinaryWriter.prototype.writeFloat = function(e, t) { - null != t && (this.writeFieldHeader_(e, jspb.BinaryConstants.WireType.FIXED32), - this.encoder_.writeFloat(t)) - } - , - goog.exportProperty(jspb.BinaryWriter.prototype, "writeFloat", jspb.BinaryWriter.prototype.writeFloat), - jspb.BinaryWriter.prototype.writeDouble = function(e, t) { - null != t && (this.writeFieldHeader_(e, jspb.BinaryConstants.WireType.FIXED64), - this.encoder_.writeDouble(t)) - } - , - goog.exportProperty(jspb.BinaryWriter.prototype, "writeDouble", jspb.BinaryWriter.prototype.writeDouble), - jspb.BinaryWriter.prototype.writeBool = function(e, t) { - null != t && (jspb.asserts.assert("boolean" == typeof t || "number" == typeof t), - this.writeFieldHeader_(e, jspb.BinaryConstants.WireType.VARINT), - this.encoder_.writeBool(t)) - } - , - goog.exportProperty(jspb.BinaryWriter.prototype, "writeBool", jspb.BinaryWriter.prototype.writeBool), - jspb.BinaryWriter.prototype.writeEnum = function(e, t) { - null != t && (jspb.asserts.assert(t >= -jspb.BinaryConstants.TWO_TO_31 && t < jspb.BinaryConstants.TWO_TO_31), - this.writeFieldHeader_(e, jspb.BinaryConstants.WireType.VARINT), - this.encoder_.writeSignedVarint32(t)) - } - , - goog.exportProperty(jspb.BinaryWriter.prototype, "writeEnum", jspb.BinaryWriter.prototype.writeEnum), - jspb.BinaryWriter.prototype.writeString = function(e, t) { - null != t && (e = this.beginDelimited_(e), - this.encoder_.writeString(t), - this.endDelimited_(e)) - } - , - goog.exportProperty(jspb.BinaryWriter.prototype, "writeString", jspb.BinaryWriter.prototype.writeString), - jspb.BinaryWriter.prototype.writeBytes = function(e, t) { - null != t && (t = jspb.utils.byteSourceToUint8Array(t), - this.writeFieldHeader_(e, jspb.BinaryConstants.WireType.DELIMITED), - this.encoder_.writeUnsignedVarint32(t.length), - this.appendUint8Array_(t)) - } - , - goog.exportProperty(jspb.BinaryWriter.prototype, "writeBytes", jspb.BinaryWriter.prototype.writeBytes), - jspb.BinaryWriter.prototype.writeMessage = function(e, t, r) { - null != t && (e = this.beginDelimited_(e), - r(t, this), - this.endDelimited_(e)) - } - , - goog.exportProperty(jspb.BinaryWriter.prototype, "writeMessage", jspb.BinaryWriter.prototype.writeMessage), - jspb.BinaryWriter.prototype.writeMessageSet = function(e, t, r) { - null != t && (this.writeFieldHeader_(1, jspb.BinaryConstants.WireType.START_GROUP), - this.writeFieldHeader_(2, jspb.BinaryConstants.WireType.VARINT), - this.encoder_.writeSignedVarint32(e), - e = this.beginDelimited_(3), - r(t, this), - this.endDelimited_(e), - this.writeFieldHeader_(1, jspb.BinaryConstants.WireType.END_GROUP)) - } - , - jspb.BinaryWriter.prototype.writeGroup = function(e, t, r) { - null != t && (this.writeFieldHeader_(e, jspb.BinaryConstants.WireType.START_GROUP), - r(t, this), - this.writeFieldHeader_(e, jspb.BinaryConstants.WireType.END_GROUP)) - } - , - goog.exportProperty(jspb.BinaryWriter.prototype, "writeGroup", jspb.BinaryWriter.prototype.writeGroup), - jspb.BinaryWriter.prototype.writeFixedHash64 = function(e, t) { - null != t && (jspb.asserts.assert(8 == t.length), - this.writeFieldHeader_(e, jspb.BinaryConstants.WireType.FIXED64), - this.encoder_.writeFixedHash64(t)) - } - , - jspb.BinaryWriter.prototype.writeVarintHash64 = function(e, t) { - null != t && (jspb.asserts.assert(8 == t.length), - this.writeFieldHeader_(e, jspb.BinaryConstants.WireType.VARINT), - this.encoder_.writeVarintHash64(t)) - } - , - jspb.BinaryWriter.prototype.writeSplitFixed64 = function(e, t, r) { - this.writeFieldHeader_(e, jspb.BinaryConstants.WireType.FIXED64), - this.encoder_.writeSplitFixed64(t, r) - } - , - jspb.BinaryWriter.prototype.writeSplitVarint64 = function(e, t, r) { - this.writeFieldHeader_(e, jspb.BinaryConstants.WireType.VARINT), - this.encoder_.writeSplitVarint64(t, r) - } - , - jspb.BinaryWriter.prototype.writeSplitZigzagVarint64 = function(e, t, r) { - this.writeFieldHeader_(e, jspb.BinaryConstants.WireType.VARINT); - var o = this.encoder_; - jspb.utils.toZigzag64(t, r, (function(e, t) { - o.writeSplitVarint64(e >>> 0, t >>> 0) - } - )) - } - , - jspb.BinaryWriter.prototype.writeRepeatedInt32 = function(e, t) { - if (null != t) - for (var r = 0; r < t.length; r++) - this.writeSignedVarint32_(e, t[r]) - } - , - goog.exportProperty(jspb.BinaryWriter.prototype, "writeRepeatedInt32", jspb.BinaryWriter.prototype.writeRepeatedInt32), - jspb.BinaryWriter.prototype.writeRepeatedInt32String = function(e, t) { - if (null != t) - for (var r = 0; r < t.length; r++) - this.writeInt32String(e, t[r]) - } - , - jspb.BinaryWriter.prototype.writeRepeatedInt64 = function(e, t) { - if (null != t) - for (var r = 0; r < t.length; r++) - this.writeSignedVarint64_(e, t[r]) - } - , - goog.exportProperty(jspb.BinaryWriter.prototype, "writeRepeatedInt64", jspb.BinaryWriter.prototype.writeRepeatedInt64), - jspb.BinaryWriter.prototype.writeRepeatedSplitFixed64 = function(e, t, r, o) { - if (null != t) - for (var i = 0; i < t.length; i++) - this.writeSplitFixed64(e, r(t[i]), o(t[i])) - } - , - jspb.BinaryWriter.prototype.writeRepeatedSplitVarint64 = function(e, t, r, o) { - if (null != t) - for (var i = 0; i < t.length; i++) - this.writeSplitVarint64(e, r(t[i]), o(t[i])) - } - , - jspb.BinaryWriter.prototype.writeRepeatedSplitZigzagVarint64 = function(e, t, r, o) { - if (null != t) - for (var i = 0; i < t.length; i++) - this.writeSplitZigzagVarint64(e, r(t[i]), o(t[i])) - } - , - jspb.BinaryWriter.prototype.writeRepeatedInt64String = function(e, t) { - if (null != t) - for (var r = 0; r < t.length; r++) - this.writeInt64String(e, t[r]) - } - , - jspb.BinaryWriter.prototype.writeRepeatedUint32 = function(e, t) { - if (null != t) - for (var r = 0; r < t.length; r++) - this.writeUnsignedVarint32_(e, t[r]) - } - , - goog.exportProperty(jspb.BinaryWriter.prototype, "writeRepeatedUint32", jspb.BinaryWriter.prototype.writeRepeatedUint32), - jspb.BinaryWriter.prototype.writeRepeatedUint32String = function(e, t) { - if (null != t) - for (var r = 0; r < t.length; r++) - this.writeUint32String(e, t[r]) - } - , - jspb.BinaryWriter.prototype.writeRepeatedUint64 = function(e, t) { - if (null != t) - for (var r = 0; r < t.length; r++) - this.writeUnsignedVarint64_(e, t[r]) - } - , - goog.exportProperty(jspb.BinaryWriter.prototype, "writeRepeatedUint64", jspb.BinaryWriter.prototype.writeRepeatedUint64), - jspb.BinaryWriter.prototype.writeRepeatedUint64String = function(e, t) { - if (null != t) - for (var r = 0; r < t.length; r++) - this.writeUint64String(e, t[r]) - } - , - jspb.BinaryWriter.prototype.writeRepeatedSint32 = function(e, t) { - if (null != t) - for (var r = 0; r < t.length; r++) - this.writeZigzagVarint32_(e, t[r]) - } - , - goog.exportProperty(jspb.BinaryWriter.prototype, "writeRepeatedSint32", jspb.BinaryWriter.prototype.writeRepeatedSint32), - jspb.BinaryWriter.prototype.writeRepeatedSint64 = function(e, t) { - if (null != t) - for (var r = 0; r < t.length; r++) - this.writeZigzagVarint64_(e, t[r]) - } - , - goog.exportProperty(jspb.BinaryWriter.prototype, "writeRepeatedSint64", jspb.BinaryWriter.prototype.writeRepeatedSint64), - jspb.BinaryWriter.prototype.writeRepeatedSint64String = function(e, t) { - if (null != t) - for (var r = 0; r < t.length; r++) - this.writeZigzagVarint64String_(e, t[r]) - } - , - jspb.BinaryWriter.prototype.writeRepeatedSintHash64 = function(e, t) { - if (null != t) - for (var r = 0; r < t.length; r++) - this.writeZigzagVarintHash64_(e, t[r]) - } - , - jspb.BinaryWriter.prototype.writeRepeatedFixed32 = function(e, t) { - if (null != t) - for (var r = 0; r < t.length; r++) - this.writeFixed32(e, t[r]) - } - , - goog.exportProperty(jspb.BinaryWriter.prototype, "writeRepeatedFixed32", jspb.BinaryWriter.prototype.writeRepeatedFixed32), - jspb.BinaryWriter.prototype.writeRepeatedFixed64 = function(e, t) { - if (null != t) - for (var r = 0; r < t.length; r++) - this.writeFixed64(e, t[r]) - } - , - goog.exportProperty(jspb.BinaryWriter.prototype, "writeRepeatedFixed64", jspb.BinaryWriter.prototype.writeRepeatedFixed64), - jspb.BinaryWriter.prototype.writeRepeatedFixed64String = function(e, t) { - if (null != t) - for (var r = 0; r < t.length; r++) - this.writeFixed64String(e, t[r]) - } - , - goog.exportProperty(jspb.BinaryWriter.prototype, "writeRepeatedFixed64String", jspb.BinaryWriter.prototype.writeRepeatedFixed64String), - jspb.BinaryWriter.prototype.writeRepeatedSfixed32 = function(e, t) { - if (null != t) - for (var r = 0; r < t.length; r++) - this.writeSfixed32(e, t[r]) - } - , - goog.exportProperty(jspb.BinaryWriter.prototype, "writeRepeatedSfixed32", jspb.BinaryWriter.prototype.writeRepeatedSfixed32), - jspb.BinaryWriter.prototype.writeRepeatedSfixed64 = function(e, t) { - if (null != t) - for (var r = 0; r < t.length; r++) - this.writeSfixed64(e, t[r]) - } - , - goog.exportProperty(jspb.BinaryWriter.prototype, "writeRepeatedSfixed64", jspb.BinaryWriter.prototype.writeRepeatedSfixed64), - jspb.BinaryWriter.prototype.writeRepeatedSfixed64String = function(e, t) { - if (null != t) - for (var r = 0; r < t.length; r++) - this.writeSfixed64String(e, t[r]) - } - , - jspb.BinaryWriter.prototype.writeRepeatedFloat = function(e, t) { - if (null != t) - for (var r = 0; r < t.length; r++) - this.writeFloat(e, t[r]) - } - , - goog.exportProperty(jspb.BinaryWriter.prototype, "writeRepeatedFloat", jspb.BinaryWriter.prototype.writeRepeatedFloat), - jspb.BinaryWriter.prototype.writeRepeatedDouble = function(e, t) { - if (null != t) - for (var r = 0; r < t.length; r++) - this.writeDouble(e, t[r]) - } - , - goog.exportProperty(jspb.BinaryWriter.prototype, "writeRepeatedDouble", jspb.BinaryWriter.prototype.writeRepeatedDouble), - jspb.BinaryWriter.prototype.writeRepeatedBool = function(e, t) { - if (null != t) - for (var r = 0; r < t.length; r++) - this.writeBool(e, t[r]) - } - , - goog.exportProperty(jspb.BinaryWriter.prototype, "writeRepeatedBool", jspb.BinaryWriter.prototype.writeRepeatedBool), - jspb.BinaryWriter.prototype.writeRepeatedEnum = function(e, t) { - if (null != t) - for (var r = 0; r < t.length; r++) - this.writeEnum(e, t[r]) - } - , - goog.exportProperty(jspb.BinaryWriter.prototype, "writeRepeatedEnum", jspb.BinaryWriter.prototype.writeRepeatedEnum), - jspb.BinaryWriter.prototype.writeRepeatedString = function(e, t) { - if (null != t) - for (var r = 0; r < t.length; r++) - this.writeString(e, t[r]) - } - , - goog.exportProperty(jspb.BinaryWriter.prototype, "writeRepeatedString", jspb.BinaryWriter.prototype.writeRepeatedString), - jspb.BinaryWriter.prototype.writeRepeatedBytes = function(e, t) { - if (null != t) - for (var r = 0; r < t.length; r++) - this.writeBytes(e, t[r]) - } - , - goog.exportProperty(jspb.BinaryWriter.prototype, "writeRepeatedBytes", jspb.BinaryWriter.prototype.writeRepeatedBytes), - jspb.BinaryWriter.prototype.writeRepeatedMessage = function(e, t, r) { - if (null != t) - for (var o = 0; o < t.length; o++) { - var i = this.beginDelimited_(e); - r(t[o], this), - this.endDelimited_(i) - } - } - , - goog.exportProperty(jspb.BinaryWriter.prototype, "writeRepeatedMessage", jspb.BinaryWriter.prototype.writeRepeatedMessage), - jspb.BinaryWriter.prototype.writeRepeatedGroup = function(e, t, r) { - if (null != t) - for (var o = 0; o < t.length; o++) - this.writeFieldHeader_(e, jspb.BinaryConstants.WireType.START_GROUP), - r(t[o], this), - this.writeFieldHeader_(e, jspb.BinaryConstants.WireType.END_GROUP) - } - , - goog.exportProperty(jspb.BinaryWriter.prototype, "writeRepeatedGroup", jspb.BinaryWriter.prototype.writeRepeatedGroup), - jspb.BinaryWriter.prototype.writeRepeatedFixedHash64 = function(e, t) { - if (null != t) - for (var r = 0; r < t.length; r++) - this.writeFixedHash64(e, t[r]) - } - , - jspb.BinaryWriter.prototype.writeRepeatedVarintHash64 = function(e, t) { - if (null != t) - for (var r = 0; r < t.length; r++) - this.writeVarintHash64(e, t[r]) - } - , - jspb.BinaryWriter.prototype.writePackedInt32 = function(e, t) { - if (null != t && t.length) { - e = this.beginDelimited_(e); - for (var r = 0; r < t.length; r++) - this.encoder_.writeSignedVarint32(t[r]); - this.endDelimited_(e) - } - } - , - goog.exportProperty(jspb.BinaryWriter.prototype, "writePackedInt32", jspb.BinaryWriter.prototype.writePackedInt32), - jspb.BinaryWriter.prototype.writePackedInt32String = function(e, t) { - if (null != t && t.length) { - e = this.beginDelimited_(e); - for (var r = 0; r < t.length; r++) - this.encoder_.writeSignedVarint32(parseInt(t[r], 10)); - this.endDelimited_(e) - } - } - , - jspb.BinaryWriter.prototype.writePackedInt64 = function(e, t) { - if (null != t && t.length) { - e = this.beginDelimited_(e); - for (var r = 0; r < t.length; r++) - this.encoder_.writeSignedVarint64(t[r]); - this.endDelimited_(e) - } - } - , - goog.exportProperty(jspb.BinaryWriter.prototype, "writePackedInt64", jspb.BinaryWriter.prototype.writePackedInt64), - jspb.BinaryWriter.prototype.writePackedSplitFixed64 = function(e, t, r, o) { - if (null != t) { - e = this.beginDelimited_(e); - for (var i = 0; i < t.length; i++) - this.encoder_.writeSplitFixed64(r(t[i]), o(t[i])); - this.endDelimited_(e) - } - } - , - jspb.BinaryWriter.prototype.writePackedSplitVarint64 = function(e, t, r, o) { - if (null != t) { - e = this.beginDelimited_(e); - for (var i = 0; i < t.length; i++) - this.encoder_.writeSplitVarint64(r(t[i]), o(t[i])); - this.endDelimited_(e) - } - } - , - jspb.BinaryWriter.prototype.writePackedSplitZigzagVarint64 = function(e, t, r, o) { - if (null != t) { - e = this.beginDelimited_(e); - for (var i = this.encoder_, a = 0; a < t.length; a++) - jspb.utils.toZigzag64(r(t[a]), o(t[a]), (function(e, t) { - i.writeSplitVarint64(e >>> 0, t >>> 0) - } - )); - this.endDelimited_(e) - } - } - , - jspb.BinaryWriter.prototype.writePackedInt64String = function(e, t) { - if (null != t && t.length) { - e = this.beginDelimited_(e); - for (var r = 0; r < t.length; r++) { - var o = jspb.arith.Int64.fromString(t[r]); - this.encoder_.writeSplitVarint64(o.lo, o.hi) - } - this.endDelimited_(e) - } - } - , - jspb.BinaryWriter.prototype.writePackedUint32 = function(e, t) { - if (null != t && t.length) { - e = this.beginDelimited_(e); - for (var r = 0; r < t.length; r++) - this.encoder_.writeUnsignedVarint32(t[r]); - this.endDelimited_(e) - } - } - , - goog.exportProperty(jspb.BinaryWriter.prototype, "writePackedUint32", jspb.BinaryWriter.prototype.writePackedUint32), - jspb.BinaryWriter.prototype.writePackedUint32String = function(e, t) { - if (null != t && t.length) { - e = this.beginDelimited_(e); - for (var r = 0; r < t.length; r++) - this.encoder_.writeUnsignedVarint32(parseInt(t[r], 10)); - this.endDelimited_(e) - } - } - , - jspb.BinaryWriter.prototype.writePackedUint64 = function(e, t) { - if (null != t && t.length) { - e = this.beginDelimited_(e); - for (var r = 0; r < t.length; r++) - this.encoder_.writeUnsignedVarint64(t[r]); - this.endDelimited_(e) - } - } - , - goog.exportProperty(jspb.BinaryWriter.prototype, "writePackedUint64", jspb.BinaryWriter.prototype.writePackedUint64), - jspb.BinaryWriter.prototype.writePackedUint64String = function(e, t) { - if (null != t && t.length) { - e = this.beginDelimited_(e); - for (var r = 0; r < t.length; r++) { - var o = jspb.arith.UInt64.fromString(t[r]); - this.encoder_.writeSplitVarint64(o.lo, o.hi) - } - this.endDelimited_(e) - } - } - , - jspb.BinaryWriter.prototype.writePackedSint32 = function(e, t) { - if (null != t && t.length) { - e = this.beginDelimited_(e); - for (var r = 0; r < t.length; r++) - this.encoder_.writeZigzagVarint32(t[r]); - this.endDelimited_(e) - } - } - , - goog.exportProperty(jspb.BinaryWriter.prototype, "writePackedSint32", jspb.BinaryWriter.prototype.writePackedSint32), - jspb.BinaryWriter.prototype.writePackedSint64 = function(e, t) { - if (null != t && t.length) { - e = this.beginDelimited_(e); - for (var r = 0; r < t.length; r++) - this.encoder_.writeZigzagVarint64(t[r]); - this.endDelimited_(e) - } - } - , - goog.exportProperty(jspb.BinaryWriter.prototype, "writePackedSint64", jspb.BinaryWriter.prototype.writePackedSint64), - jspb.BinaryWriter.prototype.writePackedSint64String = function(e, t) { - if (null != t && t.length) { - e = this.beginDelimited_(e); - for (var r = 0; r < t.length; r++) - this.encoder_.writeZigzagVarintHash64(jspb.utils.decimalStringToHash64(t[r])); - this.endDelimited_(e) - } - } - , - jspb.BinaryWriter.prototype.writePackedSintHash64 = function(e, t) { - if (null != t && t.length) { - e = this.beginDelimited_(e); - for (var r = 0; r < t.length; r++) - this.encoder_.writeZigzagVarintHash64(t[r]); - this.endDelimited_(e) - } - } - , - jspb.BinaryWriter.prototype.writePackedFixed32 = function(e, t) { - if (null != t && t.length) - for (this.writeFieldHeader_(e, jspb.BinaryConstants.WireType.DELIMITED), - this.encoder_.writeUnsignedVarint32(4 * t.length), - e = 0; e < t.length; e++) - this.encoder_.writeUint32(t[e]) - } - , - goog.exportProperty(jspb.BinaryWriter.prototype, "writePackedFixed32", jspb.BinaryWriter.prototype.writePackedFixed32), - jspb.BinaryWriter.prototype.writePackedFixed64 = function(e, t) { - if (null != t && t.length) - for (this.writeFieldHeader_(e, jspb.BinaryConstants.WireType.DELIMITED), - this.encoder_.writeUnsignedVarint32(8 * t.length), - e = 0; e < t.length; e++) - this.encoder_.writeUint64(t[e]) - } - , - goog.exportProperty(jspb.BinaryWriter.prototype, "writePackedFixed64", jspb.BinaryWriter.prototype.writePackedFixed64), - jspb.BinaryWriter.prototype.writePackedFixed64String = function(e, t) { - if (null != t && t.length) - for (this.writeFieldHeader_(e, jspb.BinaryConstants.WireType.DELIMITED), - this.encoder_.writeUnsignedVarint32(8 * t.length), - e = 0; e < t.length; e++) { - var r = jspb.arith.UInt64.fromString(t[e]); - this.encoder_.writeSplitFixed64(r.lo, r.hi) - } - } - , - jspb.BinaryWriter.prototype.writePackedSfixed32 = function(e, t) { - if (null != t && t.length) - for (this.writeFieldHeader_(e, jspb.BinaryConstants.WireType.DELIMITED), - this.encoder_.writeUnsignedVarint32(4 * t.length), - e = 0; e < t.length; e++) - this.encoder_.writeInt32(t[e]) - } - , - goog.exportProperty(jspb.BinaryWriter.prototype, "writePackedSfixed32", jspb.BinaryWriter.prototype.writePackedSfixed32), - jspb.BinaryWriter.prototype.writePackedSfixed64 = function(e, t) { - if (null != t && t.length) - for (this.writeFieldHeader_(e, jspb.BinaryConstants.WireType.DELIMITED), - this.encoder_.writeUnsignedVarint32(8 * t.length), - e = 0; e < t.length; e++) - this.encoder_.writeInt64(t[e]) - } - , - goog.exportProperty(jspb.BinaryWriter.prototype, "writePackedSfixed64", jspb.BinaryWriter.prototype.writePackedSfixed64), - jspb.BinaryWriter.prototype.writePackedSfixed64String = function(e, t) { - if (null != t && t.length) - for (this.writeFieldHeader_(e, jspb.BinaryConstants.WireType.DELIMITED), - this.encoder_.writeUnsignedVarint32(8 * t.length), - e = 0; e < t.length; e++) - this.encoder_.writeInt64String(t[e]) - } - , - jspb.BinaryWriter.prototype.writePackedFloat = function(e, t) { - if (null != t && t.length) - for (this.writeFieldHeader_(e, jspb.BinaryConstants.WireType.DELIMITED), - this.encoder_.writeUnsignedVarint32(4 * t.length), - e = 0; e < t.length; e++) - this.encoder_.writeFloat(t[e]) - } - , - goog.exportProperty(jspb.BinaryWriter.prototype, "writePackedFloat", jspb.BinaryWriter.prototype.writePackedFloat), - jspb.BinaryWriter.prototype.writePackedDouble = function(e, t) { - if (null != t && t.length) - for (this.writeFieldHeader_(e, jspb.BinaryConstants.WireType.DELIMITED), - this.encoder_.writeUnsignedVarint32(8 * t.length), - e = 0; e < t.length; e++) - this.encoder_.writeDouble(t[e]) - } - , - goog.exportProperty(jspb.BinaryWriter.prototype, "writePackedDouble", jspb.BinaryWriter.prototype.writePackedDouble), - jspb.BinaryWriter.prototype.writePackedBool = function(e, t) { - if (null != t && t.length) - for (this.writeFieldHeader_(e, jspb.BinaryConstants.WireType.DELIMITED), - this.encoder_.writeUnsignedVarint32(t.length), - e = 0; e < t.length; e++) - this.encoder_.writeBool(t[e]) - } - , - goog.exportProperty(jspb.BinaryWriter.prototype, "writePackedBool", jspb.BinaryWriter.prototype.writePackedBool), - jspb.BinaryWriter.prototype.writePackedEnum = function(e, t) { - if (null != t && t.length) { - e = this.beginDelimited_(e); - for (var r = 0; r < t.length; r++) - this.encoder_.writeEnum(t[r]); - this.endDelimited_(e) - } - } - , - goog.exportProperty(jspb.BinaryWriter.prototype, "writePackedEnum", jspb.BinaryWriter.prototype.writePackedEnum), - jspb.BinaryWriter.prototype.writePackedFixedHash64 = function(e, t) { - if (null != t && t.length) - for (this.writeFieldHeader_(e, jspb.BinaryConstants.WireType.DELIMITED), - this.encoder_.writeUnsignedVarint32(8 * t.length), - e = 0; e < t.length; e++) - this.encoder_.writeFixedHash64(t[e]) - } - , - jspb.BinaryWriter.prototype.writePackedVarintHash64 = function(e, t) { - if (null != t && t.length) { - e = this.beginDelimited_(e); - for (var r = 0; r < t.length; r++) - this.encoder_.writeVarintHash64(t[r]); - this.endDelimited_(e) - } - } - , - jspb.Map = function(e, t) { - this.arr_ = e, - this.valueCtor_ = t, - this.map_ = {}, - this.arrClean = !0, - 0 < this.arr_.length && this.loadFromArray_() - } - , - goog.exportSymbol("jspb.Map", jspb.Map), - jspb.Map.prototype.loadFromArray_ = function() { - for (var e = 0; e < this.arr_.length; e++) { - var t = this.arr_[e] - , r = t[0]; - this.map_[r.toString()] = new jspb.Map.Entry_(r,t[1]) - } - this.arrClean = !0 - } - , - jspb.Map.prototype.toArray = function() { - if (this.arrClean) { - if (this.valueCtor_) { - var e, t = this.map_; - for (e in t) - if (Object.prototype.hasOwnProperty.call(t, e)) { - var r = t[e].valueWrapper; - r && r.toArray() - } - } - } else { - for (this.arr_.length = 0, - (t = this.stringKeys_()).sort(), - e = 0; e < t.length; e++) { - var o = this.map_[t[e]]; - (r = o.valueWrapper) && r.toArray(), - this.arr_.push([o.key, o.value]) - } - this.arrClean = !0 - } - return this.arr_ - } - , - goog.exportProperty(jspb.Map.prototype, "toArray", jspb.Map.prototype.toArray), - jspb.Map.prototype.toObject = function(e, t) { - for (var r = this.toArray(), o = [], i = 0; i < r.length; i++) { - var a = this.map_[r[i][0].toString()]; - this.wrapEntry_(a); - var n = a.valueWrapper; - n ? (jspb.asserts.assert(t), - o.push([a.key, t(e, n)])) : o.push([a.key, a.value]) - } - return o - } - , - goog.exportProperty(jspb.Map.prototype, "toObject", jspb.Map.prototype.toObject), - jspb.Map.fromObject = function(e, t, r) { - t = new jspb.Map([],t); - for (var o = 0; o < e.length; o++) { - var i = e[o][0] - , a = r(e[o][1]); - t.set(i, a) - } - return t - } - , - goog.exportProperty(jspb.Map, "fromObject", jspb.Map.fromObject), - jspb.Map.ArrayIteratorIterable_ = function(e) { - this.idx_ = 0, - this.arr_ = e - } - , - jspb.Map.ArrayIteratorIterable_.prototype.next = function() { - return this.idx_ < this.arr_.length ? { - done: !1, - value: this.arr_[this.idx_++] - } : { - done: !0, - value: void 0 - } - } - , - "undefined" != typeof Symbol && (jspb.Map.ArrayIteratorIterable_.prototype[Symbol.iterator] = function() { - return this - } - ), - jspb.Map.prototype.getLength = function() { - return this.stringKeys_().length - } - , - goog.exportProperty(jspb.Map.prototype, "getLength", jspb.Map.prototype.getLength), - jspb.Map.prototype.clear = function() { - this.map_ = {}, - this.arrClean = !1 - } - , - goog.exportProperty(jspb.Map.prototype, "clear", jspb.Map.prototype.clear), - jspb.Map.prototype.del = function(e) { - e = e.toString(); - var t = this.map_.hasOwnProperty(e); - return delete this.map_[e], - this.arrClean = !1, - t - } - , - goog.exportProperty(jspb.Map.prototype, "del", jspb.Map.prototype.del), - jspb.Map.prototype.getEntryList = function() { - var e = [] - , t = this.stringKeys_(); - t.sort(); - for (var r = 0; r < t.length; r++) { - var o = this.map_[t[r]]; - e.push([o.key, o.value]) - } - return e - } - , - goog.exportProperty(jspb.Map.prototype, "getEntryList", jspb.Map.prototype.getEntryList), - jspb.Map.prototype.entries = function() { - var e = [] - , t = this.stringKeys_(); - t.sort(); - for (var r = 0; r < t.length; r++) { - var o = this.map_[t[r]]; - e.push([o.key, this.wrapEntry_(o)]) - } - return new jspb.Map.ArrayIteratorIterable_(e) - } - , - goog.exportProperty(jspb.Map.prototype, "entries", jspb.Map.prototype.entries), - jspb.Map.prototype.keys = function() { - var e = [] - , t = this.stringKeys_(); - t.sort(); - for (var r = 0; r < t.length; r++) - e.push(this.map_[t[r]].key); - return new jspb.Map.ArrayIteratorIterable_(e) - } - , - goog.exportProperty(jspb.Map.prototype, "keys", jspb.Map.prototype.keys), - jspb.Map.prototype.values = function() { - var e = [] - , t = this.stringKeys_(); - t.sort(); - for (var r = 0; r < t.length; r++) - e.push(this.wrapEntry_(this.map_[t[r]])); - return new jspb.Map.ArrayIteratorIterable_(e) - } - , - goog.exportProperty(jspb.Map.prototype, "values", jspb.Map.prototype.values), - jspb.Map.prototype.forEach = function(e, t) { - var r = this.stringKeys_(); - r.sort(); - for (var o = 0; o < r.length; o++) { - var i = this.map_[r[o]]; - e.call(t, this.wrapEntry_(i), i.key, this) - } - } - , - goog.exportProperty(jspb.Map.prototype, "forEach", jspb.Map.prototype.forEach), - jspb.Map.prototype.set = function(e, t) { - var r = new jspb.Map.Entry_(e); - return this.valueCtor_ ? (r.valueWrapper = t, - r.value = t.toArray()) : r.value = t, - this.map_[e.toString()] = r, - this.arrClean = !1, - this - } - , - goog.exportProperty(jspb.Map.prototype, "set", jspb.Map.prototype.set), - jspb.Map.prototype.wrapEntry_ = function(e) { - return this.valueCtor_ ? (e.valueWrapper || (e.valueWrapper = new this.valueCtor_(e.value)), - e.valueWrapper) : e.value - } - , - jspb.Map.prototype.get = function(e) { - if (e = this.map_[e.toString()]) - return this.wrapEntry_(e) - } - , - goog.exportProperty(jspb.Map.prototype, "get", jspb.Map.prototype.get), - jspb.Map.prototype.has = function(e) { - return e.toString()in this.map_ - } - , - goog.exportProperty(jspb.Map.prototype, "has", jspb.Map.prototype.has), - jspb.Map.prototype.serializeBinary = function(e, t, r, o, i) { - var a = this.stringKeys_(); - a.sort(); - for (var n = 0; n < a.length; n++) { - var s = this.map_[a[n]]; - t.beginSubMessage(e), - r.call(t, 1, s.key), - this.valueCtor_ ? o.call(t, 2, this.wrapEntry_(s), i) : o.call(t, 2, s.value), - t.endSubMessage() - } - } - , - goog.exportProperty(jspb.Map.prototype, "serializeBinary", jspb.Map.prototype.serializeBinary), - jspb.Map.deserializeBinary = function(e, t, r, o, i, a, n) { - for (; t.nextField() && !t.isEndGroup(); ) { - var s = t.getFieldNumber(); - 1 == s ? a = r.call(t) : 2 == s && (e.valueCtor_ ? (jspb.asserts.assert(i), - n || (n = new e.valueCtor_), - o.call(t, n, i)) : n = o.call(t)) - } - jspb.asserts.assert(null != a), - jspb.asserts.assert(null != n), - e.set(a, n) - } - , - goog.exportProperty(jspb.Map, "deserializeBinary", jspb.Map.deserializeBinary), - jspb.Map.prototype.stringKeys_ = function() { - var e, t = this.map_, r = []; - for (e in t) - Object.prototype.hasOwnProperty.call(t, e) && r.push(e); - return r - } - , - jspb.Map.Entry_ = function(e, t) { - this.key = e, - this.value = t, - this.valueWrapper = void 0 - } - , - jspb.ExtensionFieldInfo = function(e, t, r, o, i) { - this.fieldIndex = e, - this.fieldName = t, - this.ctor = r, - this.toObjectFn = o, - this.isRepeated = i - } - , - goog.exportSymbol("jspb.ExtensionFieldInfo", jspb.ExtensionFieldInfo), - jspb.ExtensionFieldBinaryInfo = function(e, t, r, o, i, a) { - this.fieldInfo = e, - this.binaryReaderFn = t, - this.binaryWriterFn = r, - this.binaryMessageSerializeFn = o, - this.binaryMessageDeserializeFn = i, - this.isPacked = a - } - , - goog.exportSymbol("jspb.ExtensionFieldBinaryInfo", jspb.ExtensionFieldBinaryInfo), - jspb.ExtensionFieldInfo.prototype.isMessageType = function() { - return !!this.ctor - } - , - goog.exportProperty(jspb.ExtensionFieldInfo.prototype, "isMessageType", jspb.ExtensionFieldInfo.prototype.isMessageType), - jspb.Message = function() {} - , - goog.exportSymbol("jspb.Message", jspb.Message), - jspb.Message.GENERATE_TO_OBJECT = !0, - goog.exportProperty(jspb.Message, "GENERATE_TO_OBJECT", jspb.Message.GENERATE_TO_OBJECT), - jspb.Message.GENERATE_FROM_OBJECT = !goog.DISALLOW_TEST_ONLY_CODE, - goog.exportProperty(jspb.Message, "GENERATE_FROM_OBJECT", jspb.Message.GENERATE_FROM_OBJECT), - jspb.Message.GENERATE_TO_STRING = !0, - jspb.Message.ASSUME_LOCAL_ARRAYS = !1, - jspb.Message.SERIALIZE_EMPTY_TRAILING_FIELDS = !0, - jspb.Message.SUPPORTS_UINT8ARRAY_ = "function" == typeof Uint8Array, - jspb.Message.prototype.getJsPbMessageId = function() { - return this.messageId_ - } - , - goog.exportProperty(jspb.Message.prototype, "getJsPbMessageId", jspb.Message.prototype.getJsPbMessageId), - jspb.Message.getIndex_ = function(e, t) { - return t + e.arrayIndexOffset_ - } - , - jspb.Message.hiddenES6Property_ = function() {} - , - jspb.Message.getFieldNumber_ = function(e, t) { - return t - e.arrayIndexOffset_ - } - , - jspb.Message.initialize = function(e, t, r, o, i, a) { - if (e.wrappers_ = null, - t || (t = r ? [r] : []), - e.messageId_ = r ? String(r) : void 0, - e.arrayIndexOffset_ = 0 === r ? -1 : 0, - e.array = t, - jspb.Message.initPivotAndExtensionObject_(e, o), - e.convertedPrimitiveFields_ = {}, - jspb.Message.SERIALIZE_EMPTY_TRAILING_FIELDS || (e.repeatedFields = i), - i) - for (t = 0; t < i.length; t++) - (r = i[t]) < e.pivot_ ? (r = jspb.Message.getIndex_(e, r), - e.array[r] = e.array[r] || jspb.Message.EMPTY_LIST_SENTINEL_) : (jspb.Message.maybeInitEmptyExtensionObject_(e), - e.extensionObject_[r] = e.extensionObject_[r] || jspb.Message.EMPTY_LIST_SENTINEL_); - if (a && a.length) - for (t = 0; t < a.length; t++) - jspb.Message.computeOneofCase(e, a[t]) - } - , - goog.exportProperty(jspb.Message, "initialize", jspb.Message.initialize), - jspb.Message.EMPTY_LIST_SENTINEL_ = goog.DEBUG && Object.freeze ? Object.freeze([]) : [], - jspb.Message.isArray_ = function(e) { - return jspb.Message.ASSUME_LOCAL_ARRAYS ? e instanceof Array : Array.isArray(e) - } - , - jspb.Message.isExtensionObject_ = function(e) { - return !(null === e || "object" != typeof e || jspb.Message.isArray_(e) || jspb.Message.SUPPORTS_UINT8ARRAY_ && e instanceof Uint8Array) - } - , - jspb.Message.initPivotAndExtensionObject_ = function(e, t) { - var r = e.array.length - , o = -1; - if (r && (o = r - 1, - r = e.array[o], - jspb.Message.isExtensionObject_(r))) - return e.pivot_ = jspb.Message.getFieldNumber_(e, o), - void (e.extensionObject_ = r); - -1 < t ? (e.pivot_ = Math.max(t, jspb.Message.getFieldNumber_(e, o + 1)), - e.extensionObject_ = null) : e.pivot_ = Number.MAX_VALUE - } - , - jspb.Message.maybeInitEmptyExtensionObject_ = function(e) { - var t = jspb.Message.getIndex_(e, e.pivot_); - e.array[t] || (e.extensionObject_ = e.array[t] = {}) - } - , - jspb.Message.toObjectList = function(e, t, r) { - for (var o = [], i = 0; i < e.length; i++) - o[i] = t.call(e[i], r, e[i]); - return o - } - , - goog.exportProperty(jspb.Message, "toObjectList", jspb.Message.toObjectList), - jspb.Message.toObjectExtension = function(e, t, r, o, i) { - for (var a in r) { - var n = r[a] - , s = o.call(e, n); - if (null != s) { - for (var p in n.fieldName) - if (n.fieldName.hasOwnProperty(p)) - break; - t[p] = n.toObjectFn ? n.isRepeated ? jspb.Message.toObjectList(s, n.toObjectFn, i) : n.toObjectFn(i, s) : s - } - } - } - , - goog.exportProperty(jspb.Message, "toObjectExtension", jspb.Message.toObjectExtension), - jspb.Message.serializeBinaryExtensions = function(e, t, r, o) { - for (var i in r) { - var a = r[i] - , n = a.fieldInfo; - if (!a.binaryWriterFn) - throw Error("Message extension present that was generated without binary serialization support"); - var s = o.call(e, n); - if (null != s) - if (n.isMessageType()) { - if (!a.binaryMessageSerializeFn) - throw Error("Message extension present holding submessage without binary support enabled, and message is being serialized to binary format"); - a.binaryWriterFn.call(t, n.fieldIndex, s, a.binaryMessageSerializeFn) - } else - a.binaryWriterFn.call(t, n.fieldIndex, s) - } - } - , - goog.exportProperty(jspb.Message, "serializeBinaryExtensions", jspb.Message.serializeBinaryExtensions), - jspb.Message.readBinaryExtension = function(e, t, r, o, i) { - var a = r[t.getFieldNumber()]; - if (a) { - if (r = a.fieldInfo, - !a.binaryReaderFn) - throw Error("Deserializing extension whose generated code does not support binary format"); - if (r.isMessageType()) { - var n = new r.ctor; - a.binaryReaderFn.call(t, n, a.binaryMessageDeserializeFn) - } else - n = a.binaryReaderFn.call(t); - r.isRepeated && !a.isPacked ? (t = o.call(e, r)) ? t.push(n) : i.call(e, r, [n]) : i.call(e, r, n) - } else - t.skipField() - } - , - goog.exportProperty(jspb.Message, "readBinaryExtension", jspb.Message.readBinaryExtension), - jspb.Message.getField = function(e, t) { - if (t < e.pivot_) { - t = jspb.Message.getIndex_(e, t); - var r = e.array[t]; - return r === jspb.Message.EMPTY_LIST_SENTINEL_ ? e.array[t] = [] : r - } - if (e.extensionObject_) - return (r = e.extensionObject_[t]) === jspb.Message.EMPTY_LIST_SENTINEL_ ? e.extensionObject_[t] = [] : r - } - , - goog.exportProperty(jspb.Message, "getField", jspb.Message.getField), - jspb.Message.getRepeatedField = function(e, t) { - return jspb.Message.getField(e, t) - } - , - goog.exportProperty(jspb.Message, "getRepeatedField", jspb.Message.getRepeatedField), - jspb.Message.getOptionalFloatingPointField = function(e, t) { - return null == (e = jspb.Message.getField(e, t)) ? e : +e - } - , - goog.exportProperty(jspb.Message, "getOptionalFloatingPointField", jspb.Message.getOptionalFloatingPointField), - jspb.Message.getBooleanField = function(e, t) { - return null == (e = jspb.Message.getField(e, t)) ? e : !!e - } - , - goog.exportProperty(jspb.Message, "getBooleanField", jspb.Message.getBooleanField), - jspb.Message.getRepeatedFloatingPointField = function(e, t) { - var r = jspb.Message.getRepeatedField(e, t); - if (e.convertedPrimitiveFields_ || (e.convertedPrimitiveFields_ = {}), - !e.convertedPrimitiveFields_[t]) { - for (var o = 0; o < r.length; o++) - r[o] = +r[o]; - e.convertedPrimitiveFields_[t] = !0 - } - return r - } - , - goog.exportProperty(jspb.Message, "getRepeatedFloatingPointField", jspb.Message.getRepeatedFloatingPointField), - jspb.Message.getRepeatedBooleanField = function(e, t) { - var r = jspb.Message.getRepeatedField(e, t); - if (e.convertedPrimitiveFields_ || (e.convertedPrimitiveFields_ = {}), - !e.convertedPrimitiveFields_[t]) { - for (var o = 0; o < r.length; o++) - r[o] = !!r[o]; - e.convertedPrimitiveFields_[t] = !0 - } - return r - } - , - goog.exportProperty(jspb.Message, "getRepeatedBooleanField", jspb.Message.getRepeatedBooleanField), - jspb.Message.bytesAsB64 = function(e) { - return null == e || "string" == typeof e ? e : jspb.Message.SUPPORTS_UINT8ARRAY_ && e instanceof Uint8Array ? goog.crypt.base64.encodeByteArray(e) : (jspb.asserts.fail("Cannot coerce to b64 string: " + goog.typeOf(e)), - null) - } - , - goog.exportProperty(jspb.Message, "bytesAsB64", jspb.Message.bytesAsB64), - jspb.Message.bytesAsU8 = function(e) { - return null == e || e instanceof Uint8Array ? e : "string" == typeof e ? goog.crypt.base64.decodeStringToUint8Array(e) : (jspb.asserts.fail("Cannot coerce to Uint8Array: " + goog.typeOf(e)), - null) - } - , - goog.exportProperty(jspb.Message, "bytesAsU8", jspb.Message.bytesAsU8), - jspb.Message.bytesListAsB64 = function(e) { - return jspb.Message.assertConsistentTypes_(e), - e.length && "string" != typeof e[0] ? goog.array.map(e, jspb.Message.bytesAsB64) : e - } - , - goog.exportProperty(jspb.Message, "bytesListAsB64", jspb.Message.bytesListAsB64), - jspb.Message.bytesListAsU8 = function(e) { - return jspb.Message.assertConsistentTypes_(e), - !e.length || e[0]instanceof Uint8Array ? e : goog.array.map(e, jspb.Message.bytesAsU8) - } - , - goog.exportProperty(jspb.Message, "bytesListAsU8", jspb.Message.bytesListAsU8), - jspb.Message.assertConsistentTypes_ = function(e) { - if (goog.DEBUG && e && 1 < e.length) { - var t = goog.typeOf(e[0]); - goog.array.forEach(e, (function(e) { - goog.typeOf(e) != t && jspb.asserts.fail("Inconsistent type in JSPB repeated field array. Got " + goog.typeOf(e) + " expected " + t) - } - )) - } - } - , - jspb.Message.getFieldWithDefault = function(e, t, r) { - return null == (e = jspb.Message.getField(e, t)) ? r : e - } - , - goog.exportProperty(jspb.Message, "getFieldWithDefault", jspb.Message.getFieldWithDefault), - jspb.Message.getBooleanFieldWithDefault = function(e, t, r) { - return null == (e = jspb.Message.getBooleanField(e, t)) ? r : e - } - , - goog.exportProperty(jspb.Message, "getBooleanFieldWithDefault", jspb.Message.getBooleanFieldWithDefault), - jspb.Message.getFloatingPointFieldWithDefault = function(e, t, r) { - return null == (e = jspb.Message.getOptionalFloatingPointField(e, t)) ? r : e - } - , - goog.exportProperty(jspb.Message, "getFloatingPointFieldWithDefault", jspb.Message.getFloatingPointFieldWithDefault), - jspb.Message.getFieldProto3 = jspb.Message.getFieldWithDefault, - goog.exportProperty(jspb.Message, "getFieldProto3", jspb.Message.getFieldProto3), - jspb.Message.getMapField = function(e, t, r, o) { - if (e.wrappers_ || (e.wrappers_ = {}), - t in e.wrappers_) - return e.wrappers_[t]; - var i = jspb.Message.getField(e, t); - if (!i) { - if (r) - return; - i = [], - jspb.Message.setField(e, t, i) - } - return e.wrappers_[t] = new jspb.Map(i,o) - } - , - goog.exportProperty(jspb.Message, "getMapField", jspb.Message.getMapField), - jspb.Message.setField = function(e, t, r) { - return jspb.asserts.assertInstanceof(e, jspb.Message), - t < e.pivot_ ? e.array[jspb.Message.getIndex_(e, t)] = r : (jspb.Message.maybeInitEmptyExtensionObject_(e), - e.extensionObject_[t] = r), - e - } - , - goog.exportProperty(jspb.Message, "setField", jspb.Message.setField), - jspb.Message.setProto3IntField = function(e, t, r) { - return jspb.Message.setFieldIgnoringDefault_(e, t, r, 0) - } - , - goog.exportProperty(jspb.Message, "setProto3IntField", jspb.Message.setProto3IntField), - jspb.Message.setProto3FloatField = function(e, t, r) { - return jspb.Message.setFieldIgnoringDefault_(e, t, r, 0) - } - , - goog.exportProperty(jspb.Message, "setProto3FloatField", jspb.Message.setProto3FloatField), - jspb.Message.setProto3BooleanField = function(e, t, r) { - return jspb.Message.setFieldIgnoringDefault_(e, t, r, !1) - } - , - goog.exportProperty(jspb.Message, "setProto3BooleanField", jspb.Message.setProto3BooleanField), - jspb.Message.setProto3StringField = function(e, t, r) { - return jspb.Message.setFieldIgnoringDefault_(e, t, r, "") - } - , - goog.exportProperty(jspb.Message, "setProto3StringField", jspb.Message.setProto3StringField), - jspb.Message.setProto3BytesField = function(e, t, r) { - return jspb.Message.setFieldIgnoringDefault_(e, t, r, "") - } - , - goog.exportProperty(jspb.Message, "setProto3BytesField", jspb.Message.setProto3BytesField), - jspb.Message.setProto3EnumField = function(e, t, r) { - return jspb.Message.setFieldIgnoringDefault_(e, t, r, 0) - } - , - goog.exportProperty(jspb.Message, "setProto3EnumField", jspb.Message.setProto3EnumField), - jspb.Message.setProto3StringIntField = function(e, t, r) { - return jspb.Message.setFieldIgnoringDefault_(e, t, r, "0") - } - , - goog.exportProperty(jspb.Message, "setProto3StringIntField", jspb.Message.setProto3StringIntField), - jspb.Message.setFieldIgnoringDefault_ = function(e, t, r, o) { - return jspb.asserts.assertInstanceof(e, jspb.Message), - r !== o ? jspb.Message.setField(e, t, r) : t < e.pivot_ ? e.array[jspb.Message.getIndex_(e, t)] = null : (jspb.Message.maybeInitEmptyExtensionObject_(e), - delete e.extensionObject_[t]), - e - } - , - jspb.Message.addToRepeatedField = function(e, t, r, o) { - return jspb.asserts.assertInstanceof(e, jspb.Message), - t = jspb.Message.getRepeatedField(e, t), - null != o ? t.splice(o, 0, r) : t.push(r), - e - } - , - goog.exportProperty(jspb.Message, "addToRepeatedField", jspb.Message.addToRepeatedField), - jspb.Message.setOneofField = function(e, t, r, o) { - return jspb.asserts.assertInstanceof(e, jspb.Message), - (r = jspb.Message.computeOneofCase(e, r)) && r !== t && void 0 !== o && (e.wrappers_ && r in e.wrappers_ && (e.wrappers_[r] = void 0), - jspb.Message.setField(e, r, void 0)), - jspb.Message.setField(e, t, o) - } - , - goog.exportProperty(jspb.Message, "setOneofField", jspb.Message.setOneofField), - jspb.Message.computeOneofCase = function(e, t) { - for (var r, o, i = 0; i < t.length; i++) { - var a = t[i] - , n = jspb.Message.getField(e, a); - null != n && (r = a, - o = n, - jspb.Message.setField(e, a, void 0)) - } - return r ? (jspb.Message.setField(e, r, o), - r) : 0 - } - , - goog.exportProperty(jspb.Message, "computeOneofCase", jspb.Message.computeOneofCase), - jspb.Message.getWrapperField = function(e, t, r, o) { - if (e.wrappers_ || (e.wrappers_ = {}), - !e.wrappers_[r]) { - var i = jspb.Message.getField(e, r); - (o || i) && (e.wrappers_[r] = new t(i)) - } - return e.wrappers_[r] - } - , - goog.exportProperty(jspb.Message, "getWrapperField", jspb.Message.getWrapperField), - jspb.Message.getRepeatedWrapperField = function(e, t, r) { - return jspb.Message.wrapRepeatedField_(e, t, r), - (t = e.wrappers_[r]) == jspb.Message.EMPTY_LIST_SENTINEL_ && (t = e.wrappers_[r] = []), - t - } - , - goog.exportProperty(jspb.Message, "getRepeatedWrapperField", jspb.Message.getRepeatedWrapperField), - jspb.Message.wrapRepeatedField_ = function(e, t, r) { - if (e.wrappers_ || (e.wrappers_ = {}), - !e.wrappers_[r]) { - for (var o = jspb.Message.getRepeatedField(e, r), i = [], a = 0; a < o.length; a++) - i[a] = new t(o[a]); - e.wrappers_[r] = i - } - } - , - jspb.Message.setWrapperField = function(e, t, r) { - jspb.asserts.assertInstanceof(e, jspb.Message), - e.wrappers_ || (e.wrappers_ = {}); - var o = r ? r.toArray() : r; - return e.wrappers_[t] = r, - jspb.Message.setField(e, t, o) - } - , - goog.exportProperty(jspb.Message, "setWrapperField", jspb.Message.setWrapperField), - jspb.Message.setOneofWrapperField = function(e, t, r, o) { - jspb.asserts.assertInstanceof(e, jspb.Message), - e.wrappers_ || (e.wrappers_ = {}); - var i = o ? o.toArray() : o; - return e.wrappers_[t] = o, - jspb.Message.setOneofField(e, t, r, i) - } - , - goog.exportProperty(jspb.Message, "setOneofWrapperField", jspb.Message.setOneofWrapperField), - jspb.Message.setRepeatedWrapperField = function(e, t, r) { - jspb.asserts.assertInstanceof(e, jspb.Message), - e.wrappers_ || (e.wrappers_ = {}), - r = r || []; - for (var o = [], i = 0; i < r.length; i++) - o[i] = r[i].toArray(); - return e.wrappers_[t] = r, - jspb.Message.setField(e, t, o) - } - , - goog.exportProperty(jspb.Message, "setRepeatedWrapperField", jspb.Message.setRepeatedWrapperField), - jspb.Message.addToRepeatedWrapperField = function(e, t, r, o, i) { - jspb.Message.wrapRepeatedField_(e, o, t); - var a = e.wrappers_[t]; - return a || (a = e.wrappers_[t] = []), - r = r || new o, - e = jspb.Message.getRepeatedField(e, t), - null != i ? (a.splice(i, 0, r), - e.splice(i, 0, r.toArray())) : (a.push(r), - e.push(r.toArray())), - r - } - , - goog.exportProperty(jspb.Message, "addToRepeatedWrapperField", jspb.Message.addToRepeatedWrapperField), - jspb.Message.toMap = function(e, t, r, o) { - for (var i = {}, a = 0; a < e.length; a++) - i[t.call(e[a])] = r ? r.call(e[a], o, e[a]) : e[a]; - return i - } - , - goog.exportProperty(jspb.Message, "toMap", jspb.Message.toMap), - jspb.Message.prototype.syncMapFields_ = function() { - if (this.wrappers_) - for (var e in this.wrappers_) { - var t = this.wrappers_[e]; - if (Array.isArray(t)) - for (var r = 0; r < t.length; r++) - t[r] && t[r].toArray(); - else - t && t.toArray() - } - } - , - jspb.Message.prototype.toArray = function() { - return this.syncMapFields_(), - this.array - } - , - goog.exportProperty(jspb.Message.prototype, "toArray", jspb.Message.prototype.toArray), - jspb.Message.GENERATE_TO_STRING && (jspb.Message.prototype.toString = function() { - return this.syncMapFields_(), - this.array.toString() - } - ), - jspb.Message.prototype.getExtension = function(e) { - if (this.extensionObject_) { - this.wrappers_ || (this.wrappers_ = {}); - var t = e.fieldIndex; - if (e.isRepeated) { - if (e.isMessageType()) - return this.wrappers_[t] || (this.wrappers_[t] = goog.array.map(this.extensionObject_[t] || [], (function(t) { - return new e.ctor(t) - } - ))), - this.wrappers_[t] - } else if (e.isMessageType()) - return !this.wrappers_[t] && this.extensionObject_[t] && (this.wrappers_[t] = new e.ctor(this.extensionObject_[t])), - this.wrappers_[t]; - return this.extensionObject_[t] - } - } - , - goog.exportProperty(jspb.Message.prototype, "getExtension", jspb.Message.prototype.getExtension), - jspb.Message.prototype.setExtension = function(e, t) { - this.wrappers_ || (this.wrappers_ = {}), - jspb.Message.maybeInitEmptyExtensionObject_(this); - var r = e.fieldIndex; - return e.isRepeated ? (t = t || [], - e.isMessageType() ? (this.wrappers_[r] = t, - this.extensionObject_[r] = goog.array.map(t, (function(e) { - return e.toArray() - } - ))) : this.extensionObject_[r] = t) : e.isMessageType() ? (this.wrappers_[r] = t, - this.extensionObject_[r] = t ? t.toArray() : t) : this.extensionObject_[r] = t, - this - } - , - goog.exportProperty(jspb.Message.prototype, "setExtension", jspb.Message.prototype.setExtension), - jspb.Message.difference = function(e, t) { - if (!(e instanceof t.constructor)) - throw Error("Messages have different types."); - var r = e.toArray(); - t = t.toArray(); - var o = [] - , i = 0 - , a = r.length > t.length ? r.length : t.length; - for (e.getJsPbMessageId() && (o[0] = e.getJsPbMessageId(), - i = 1); i < a; i++) - jspb.Message.compareFields(r[i], t[i]) || (o[i] = t[i]); - return new e.constructor(o) - } - , - goog.exportProperty(jspb.Message, "difference", jspb.Message.difference), - jspb.Message.equals = function(e, t) { - return e == t || !(!e || !t) && e instanceof t.constructor && jspb.Message.compareFields(e.toArray(), t.toArray()) - } - , - goog.exportProperty(jspb.Message, "equals", jspb.Message.equals), - jspb.Message.compareExtensions = function(e, t) { - e = e || {}, - t = t || {}; - var r, o = {}; - for (r in e) - o[r] = 0; - for (r in t) - o[r] = 0; - for (r in o) - if (!jspb.Message.compareFields(e[r], t[r])) - return !1; - return !0 - } - , - goog.exportProperty(jspb.Message, "compareExtensions", jspb.Message.compareExtensions), - jspb.Message.compareFields = function(e, t) { - if (e == t) - return !0; - if (!goog.isObject(e) || !goog.isObject(t)) - return !!("number" == typeof e && isNaN(e) || "number" == typeof t && isNaN(t)) && String(e) == String(t); - if (e.constructor != t.constructor) - return !1; - if (jspb.Message.SUPPORTS_UINT8ARRAY_ && e.constructor === Uint8Array) { - if (e.length != t.length) - return !1; - for (var r = 0; r < e.length; r++) - if (e[r] != t[r]) - return !1; - return !0 - } - if (e.constructor === Array) { - var o = void 0 - , i = void 0 - , a = Math.max(e.length, t.length); - for (r = 0; r < a; r++) { - var n = e[r] - , s = t[r]; - if (n && n.constructor == Object && (jspb.asserts.assert(void 0 === o), - jspb.asserts.assert(r === e.length - 1), - o = n, - n = void 0), - s && s.constructor == Object && (jspb.asserts.assert(void 0 === i), - jspb.asserts.assert(r === t.length - 1), - i = s, - s = void 0), - !jspb.Message.compareFields(n, s)) - return !1 - } - return !o && !i || (o = o || {}, - i = i || {}, - jspb.Message.compareExtensions(o, i)) - } - if (e.constructor === Object) - return jspb.Message.compareExtensions(e, t); - throw Error("Invalid type in JSPB array") - } - , - goog.exportProperty(jspb.Message, "compareFields", jspb.Message.compareFields), - jspb.Message.prototype.cloneMessage = function() { - return jspb.Message.cloneMessage(this) - } - , - goog.exportProperty(jspb.Message.prototype, "cloneMessage", jspb.Message.prototype.cloneMessage), - jspb.Message.prototype.clone = function() { - return jspb.Message.cloneMessage(this) - } - , - goog.exportProperty(jspb.Message.prototype, "clone", jspb.Message.prototype.clone), - jspb.Message.clone = function(e) { - return jspb.Message.cloneMessage(e) - } - , - goog.exportProperty(jspb.Message, "clone", jspb.Message.clone), - jspb.Message.cloneMessage = function(e) { - return new e.constructor(jspb.Message.clone_(e.toArray())) - } - , - jspb.Message.copyInto = function(e, t) { - jspb.asserts.assertInstanceof(e, jspb.Message), - jspb.asserts.assertInstanceof(t, jspb.Message), - jspb.asserts.assert(e.constructor == t.constructor, "Copy source and target message should have the same type."), - e = jspb.Message.clone(e); - for (var r = t.toArray(), o = e.toArray(), i = r.length = 0; i < o.length; i++) - r[i] = o[i]; - t.wrappers_ = e.wrappers_, - t.extensionObject_ = e.extensionObject_ - } - , - goog.exportProperty(jspb.Message, "copyInto", jspb.Message.copyInto), - jspb.Message.clone_ = function(e) { - if (Array.isArray(e)) { - for (var t = Array(e.length), r = 0; r < e.length; r++) { - var o = e[r]; - null != o && (t[r] = "object" == typeof o ? jspb.Message.clone_(jspb.asserts.assert(o)) : o) - } - return t - } - if (jspb.Message.SUPPORTS_UINT8ARRAY_ && e instanceof Uint8Array) - return new Uint8Array(e); - for (r in t = {}, - e) - null != (o = e[r]) && (t[r] = "object" == typeof o ? jspb.Message.clone_(jspb.asserts.assert(o)) : o); - return t - } - , - jspb.Message.registerMessageType = function(e, t) { - t.messageId = e - } - , - goog.exportProperty(jspb.Message, "registerMessageType", jspb.Message.registerMessageType), - jspb.Message.messageSetExtensions = {}, - jspb.Message.messageSetExtensionsBinary = {}, - jspb.Export = {}, - exports.Map = jspb.Map, - exports.Message = jspb.Message, - exports.BinaryReader = jspb.BinaryReader, - exports.BinaryWriter = jspb.BinaryWriter, - exports.ExtensionFieldInfo = jspb.ExtensionFieldInfo, - exports.ExtensionFieldBinaryInfo = jspb.ExtensionFieldBinaryInfo, - exports.exportSymbol = goog.exportSymbol, - exports.inherits = goog.inherits, - exports.object = { - extend: goog.object.extend - }, - exports.typeOf = goog.typeOf -} -)(googleProtobuf); -var calculator_options_pb = {}; -!function(e) { - var t = googleProtobuf - , r = t - , o = "undefined" != typeof globalThis && globalThis || "undefined" != typeof window && window || void 0 !== o && o || "undefined" != typeof self && self || function() { - return this - } - .call(null) || Function("return this")(); - r.exportSymbol("proto.mediapipe.CalculatorOptions", null, o), - proto.mediapipe.CalculatorOptions = function(e) { - t.Message.initialize(this, e, 0, 2, null, null) - } - , - r.inherits(proto.mediapipe.CalculatorOptions, t.Message), - r.DEBUG && !COMPILED && (proto.mediapipe.CalculatorOptions.displayName = "proto.mediapipe.CalculatorOptions"), - proto.mediapipe.CalculatorOptions.extensions = {}, - proto.mediapipe.CalculatorOptions.extensionsBinary = {}, - t.Message.GENERATE_TO_OBJECT && (proto.mediapipe.CalculatorOptions.prototype.toObject = function(e) { - return proto.mediapipe.CalculatorOptions.toObject(e, this) - } - , - proto.mediapipe.CalculatorOptions.toObject = function(e, r) { - var o, i = { - mergeFields: null == (o = t.Message.getBooleanField(r, 1)) ? void 0 : o - }; - return t.Message.toObjectExtension(r, i, proto.mediapipe.CalculatorOptions.extensions, proto.mediapipe.CalculatorOptions.prototype.getExtension, e), - e && (i.$jspbMessageInstance = r), - i - } - ), - proto.mediapipe.CalculatorOptions.deserializeBinary = function(e) { - var r = new t.BinaryReader(e) - , o = new proto.mediapipe.CalculatorOptions; - return proto.mediapipe.CalculatorOptions.deserializeBinaryFromReader(o, r) - } - , - proto.mediapipe.CalculatorOptions.deserializeBinaryFromReader = function(e, r) { - for (; r.nextField() && !r.isEndGroup(); ) { - if (1 === r.getFieldNumber()) { - var o = r.readBool(); - e.setMergeFields(o) - } else - t.Message.readBinaryExtension(e, r, proto.mediapipe.CalculatorOptions.extensionsBinary, proto.mediapipe.CalculatorOptions.prototype.getExtension, proto.mediapipe.CalculatorOptions.prototype.setExtension) - } - return e - } - , - proto.mediapipe.CalculatorOptions.prototype.serializeBinary = function() { - var e = new t.BinaryWriter; - return proto.mediapipe.CalculatorOptions.serializeBinaryToWriter(this, e), - e.getResultBuffer() - } - , - proto.mediapipe.CalculatorOptions.serializeBinaryToWriter = function(e, r) { - var o; - null != (o = t.Message.getField(e, 1)) && r.writeBool(1, o), - t.Message.serializeBinaryExtensions(e, r, proto.mediapipe.CalculatorOptions.extensionsBinary, proto.mediapipe.CalculatorOptions.prototype.getExtension) - } - , - proto.mediapipe.CalculatorOptions.prototype.getMergeFields = function() { - return t.Message.getBooleanFieldWithDefault(this, 1, !1) - } - , - proto.mediapipe.CalculatorOptions.prototype.setMergeFields = function(e) { - return t.Message.setField(this, 1, e) - } - , - proto.mediapipe.CalculatorOptions.prototype.clearMergeFields = function() { - return t.Message.setField(this, 1, void 0) - } - , - proto.mediapipe.CalculatorOptions.prototype.hasMergeFields = function() { - return null != t.Message.getField(this, 1) - } - , - r.object.extend(e, proto.mediapipe) -}(calculator_options_pb); -var any_pb = {}; -!function(e) { - var t = googleProtobuf - , r = t - , o = "undefined" != typeof globalThis && globalThis || "undefined" != typeof window && window || void 0 !== o && o || "undefined" != typeof self && self || function() { - return this - } - .call(null) || Function("return this")(); - r.exportSymbol("proto.google.protobuf.Any", null, o), - proto.google.protobuf.Any = function(e) { - t.Message.initialize(this, e, 0, -1, null, null) - } - , - r.inherits(proto.google.protobuf.Any, t.Message), - r.DEBUG && !COMPILED && (proto.google.protobuf.Any.displayName = "proto.google.protobuf.Any"), - t.Message.GENERATE_TO_OBJECT && (proto.google.protobuf.Any.prototype.toObject = function(e) { - return proto.google.protobuf.Any.toObject(e, this) - } - , - proto.google.protobuf.Any.toObject = function(e, r) { - var o = { - typeUrl: t.Message.getFieldWithDefault(r, 1, ""), - value: r.getValue_asB64() - }; - return e && (o.$jspbMessageInstance = r), - o - } - ), - proto.google.protobuf.Any.deserializeBinary = function(e) { - var r = new t.BinaryReader(e) - , o = new proto.google.protobuf.Any; - return proto.google.protobuf.Any.deserializeBinaryFromReader(o, r) - } - , - proto.google.protobuf.Any.deserializeBinaryFromReader = function(e, t) { - for (; t.nextField() && !t.isEndGroup(); ) { - switch (t.getFieldNumber()) { - case 1: - var r = t.readString(); - e.setTypeUrl(r); - break; - case 2: - r = t.readBytes(); - e.setValue(r); - break; - default: - t.skipField() - } - } - return e - } - , - proto.google.protobuf.Any.prototype.serializeBinary = function() { - var e = new t.BinaryWriter; - return proto.google.protobuf.Any.serializeBinaryToWriter(this, e), - e.getResultBuffer() - } - , - proto.google.protobuf.Any.serializeBinaryToWriter = function(e, t) { - var r = void 0; - (r = e.getTypeUrl()).length > 0 && t.writeString(1, r), - (r = e.getValue_asU8()).length > 0 && t.writeBytes(2, r) - } - , - proto.google.protobuf.Any.prototype.getTypeUrl = function() { - return t.Message.getFieldWithDefault(this, 1, "") - } - , - proto.google.protobuf.Any.prototype.setTypeUrl = function(e) { - return t.Message.setProto3StringField(this, 1, e) - } - , - proto.google.protobuf.Any.prototype.getValue = function() { - return t.Message.getFieldWithDefault(this, 2, "") - } - , - proto.google.protobuf.Any.prototype.getValue_asB64 = function() { - return t.Message.bytesAsB64(this.getValue()) - } - , - proto.google.protobuf.Any.prototype.getValue_asU8 = function() { - return t.Message.bytesAsU8(this.getValue()) - } - , - proto.google.protobuf.Any.prototype.setValue = function(e) { - return t.Message.setProto3BytesField(this, 2, e) - } - , - r.object.extend(e, proto.google.protobuf), - proto.google.protobuf.Any.prototype.getTypeName = function() { - return this.getTypeUrl().split("/").pop() - } - , - proto.google.protobuf.Any.prototype.pack = function(e, t, r) { - r || (r = "type.googleapis.com/"), - "/" != r.substr(-1) ? this.setTypeUrl(r + "/" + t) : this.setTypeUrl(r + t), - this.setValue(e) - } - , - proto.google.protobuf.Any.prototype.unpack = function(e, t) { - return this.getTypeName() == t ? e(this.getValue_asU8()) : null - } -}(any_pb); -var mediapipe_options_pb = {}; -!function(e) { - var t = googleProtobuf - , r = t - , o = "undefined" != typeof globalThis && globalThis || "undefined" != typeof window && window || void 0 !== o && o || "undefined" != typeof self && self || function() { - return this - } - .call(null) || Function("return this")(); - r.exportSymbol("proto.mediapipe.MediaPipeOptions", null, o), - proto.mediapipe.MediaPipeOptions = function(e) { - t.Message.initialize(this, e, 0, 1, null, null) - } - , - r.inherits(proto.mediapipe.MediaPipeOptions, t.Message), - r.DEBUG && !COMPILED && (proto.mediapipe.MediaPipeOptions.displayName = "proto.mediapipe.MediaPipeOptions"), - proto.mediapipe.MediaPipeOptions.extensions = {}, - proto.mediapipe.MediaPipeOptions.extensionsBinary = {}, - t.Message.GENERATE_TO_OBJECT && (proto.mediapipe.MediaPipeOptions.prototype.toObject = function(e) { - return proto.mediapipe.MediaPipeOptions.toObject(e, this) - } - , - proto.mediapipe.MediaPipeOptions.toObject = function(e, r) { - var o = {}; - return t.Message.toObjectExtension(r, o, proto.mediapipe.MediaPipeOptions.extensions, proto.mediapipe.MediaPipeOptions.prototype.getExtension, e), - e && (o.$jspbMessageInstance = r), - o - } - ), - proto.mediapipe.MediaPipeOptions.deserializeBinary = function(e) { - var r = new t.BinaryReader(e) - , o = new proto.mediapipe.MediaPipeOptions; - return proto.mediapipe.MediaPipeOptions.deserializeBinaryFromReader(o, r) - } - , - proto.mediapipe.MediaPipeOptions.deserializeBinaryFromReader = function(e, r) { - for (; r.nextField() && !r.isEndGroup(); ) { - r.getFieldNumber(); - t.Message.readBinaryExtension(e, r, proto.mediapipe.MediaPipeOptions.extensionsBinary, proto.mediapipe.MediaPipeOptions.prototype.getExtension, proto.mediapipe.MediaPipeOptions.prototype.setExtension) - } - return e - } - , - proto.mediapipe.MediaPipeOptions.prototype.serializeBinary = function() { - var e = new t.BinaryWriter; - return proto.mediapipe.MediaPipeOptions.serializeBinaryToWriter(this, e), - e.getResultBuffer() - } - , - proto.mediapipe.MediaPipeOptions.serializeBinaryToWriter = function(e, r) { - t.Message.serializeBinaryExtensions(e, r, proto.mediapipe.MediaPipeOptions.extensionsBinary, proto.mediapipe.MediaPipeOptions.prototype.getExtension) - } - , - r.object.extend(e, proto.mediapipe) -}(mediapipe_options_pb); -var packet_factory_pb = {}; -!function(e) { - var t = googleProtobuf - , r = t - , o = "undefined" != typeof globalThis && globalThis || "undefined" != typeof window && window || void 0 !== o && o || "undefined" != typeof self && self || function() { - return this - } - .call(null) || Function("return this")(); - r.exportSymbol("proto.mediapipe.PacketFactoryConfig", null, o), - r.exportSymbol("proto.mediapipe.PacketFactoryOptions", null, o), - r.exportSymbol("proto.mediapipe.PacketManagerConfig", null, o), - proto.mediapipe.PacketFactoryOptions = function(e) { - t.Message.initialize(this, e, 0, 1, null, null) - } - , - r.inherits(proto.mediapipe.PacketFactoryOptions, t.Message), - r.DEBUG && !COMPILED && (proto.mediapipe.PacketFactoryOptions.displayName = "proto.mediapipe.PacketFactoryOptions"), - proto.mediapipe.PacketFactoryOptions.extensions = {}, - proto.mediapipe.PacketFactoryOptions.extensionsBinary = {}, - proto.mediapipe.PacketFactoryConfig = function(e) { - t.Message.initialize(this, e, 0, 500, null, null) - } - , - r.inherits(proto.mediapipe.PacketFactoryConfig, t.Message), - r.DEBUG && !COMPILED && (proto.mediapipe.PacketFactoryConfig.displayName = "proto.mediapipe.PacketFactoryConfig"), - proto.mediapipe.PacketManagerConfig = function(e) { - t.Message.initialize(this, e, 0, -1, proto.mediapipe.PacketManagerConfig.repeatedFields_, null) - } - , - r.inherits(proto.mediapipe.PacketManagerConfig, t.Message), - r.DEBUG && !COMPILED && (proto.mediapipe.PacketManagerConfig.displayName = "proto.mediapipe.PacketManagerConfig"), - t.Message.GENERATE_TO_OBJECT && (proto.mediapipe.PacketFactoryOptions.prototype.toObject = function(e) { - return proto.mediapipe.PacketFactoryOptions.toObject(e, this) - } - , - proto.mediapipe.PacketFactoryOptions.toObject = function(e, r) { - var o = {}; - return t.Message.toObjectExtension(r, o, proto.mediapipe.PacketFactoryOptions.extensions, proto.mediapipe.PacketFactoryOptions.prototype.getExtension, e), - e && (o.$jspbMessageInstance = r), - o - } - ), - proto.mediapipe.PacketFactoryOptions.deserializeBinary = function(e) { - var r = new t.BinaryReader(e) - , o = new proto.mediapipe.PacketFactoryOptions; - return proto.mediapipe.PacketFactoryOptions.deserializeBinaryFromReader(o, r) - } - , - proto.mediapipe.PacketFactoryOptions.deserializeBinaryFromReader = function(e, r) { - for (; r.nextField() && !r.isEndGroup(); ) { - r.getFieldNumber(); - t.Message.readBinaryExtension(e, r, proto.mediapipe.PacketFactoryOptions.extensionsBinary, proto.mediapipe.PacketFactoryOptions.prototype.getExtension, proto.mediapipe.PacketFactoryOptions.prototype.setExtension) - } - return e - } - , - proto.mediapipe.PacketFactoryOptions.prototype.serializeBinary = function() { - var e = new t.BinaryWriter; - return proto.mediapipe.PacketFactoryOptions.serializeBinaryToWriter(this, e), - e.getResultBuffer() - } - , - proto.mediapipe.PacketFactoryOptions.serializeBinaryToWriter = function(e, r) { - t.Message.serializeBinaryExtensions(e, r, proto.mediapipe.PacketFactoryOptions.extensionsBinary, proto.mediapipe.PacketFactoryOptions.prototype.getExtension) - } - , - t.Message.GENERATE_TO_OBJECT && (proto.mediapipe.PacketFactoryConfig.prototype.toObject = function(e) { - return proto.mediapipe.PacketFactoryConfig.toObject(e, this) - } - , - proto.mediapipe.PacketFactoryConfig.toObject = function(e, r) { - var o, i = { - packetFactory: null == (o = t.Message.getField(r, 1)) ? void 0 : o, - outputSidePacket: null == (o = t.Message.getField(r, 2)) ? void 0 : o, - externalOutput: null == (o = t.Message.getField(r, 1002)) ? void 0 : o, - options: (o = r.getOptions()) && proto.mediapipe.PacketFactoryOptions.toObject(e, o) - }; - return e && (i.$jspbMessageInstance = r), - i - } - ), - proto.mediapipe.PacketFactoryConfig.deserializeBinary = function(e) { - var r = new t.BinaryReader(e) - , o = new proto.mediapipe.PacketFactoryConfig; - return proto.mediapipe.PacketFactoryConfig.deserializeBinaryFromReader(o, r) - } - , - proto.mediapipe.PacketFactoryConfig.deserializeBinaryFromReader = function(e, t) { - for (; t.nextField() && !t.isEndGroup(); ) { - switch (t.getFieldNumber()) { - case 1: - var r = t.readString(); - e.setPacketFactory(r); - break; - case 2: - r = t.readString(); - e.setOutputSidePacket(r); - break; - case 1002: - r = t.readString(); - e.setExternalOutput(r); - break; - case 3: - r = new proto.mediapipe.PacketFactoryOptions; - t.readMessage(r, proto.mediapipe.PacketFactoryOptions.deserializeBinaryFromReader), - e.setOptions(r); - break; - default: - t.skipField() - } - } - return e - } - , - proto.mediapipe.PacketFactoryConfig.prototype.serializeBinary = function() { - var e = new t.BinaryWriter; - return proto.mediapipe.PacketFactoryConfig.serializeBinaryToWriter(this, e), - e.getResultBuffer() - } - , - proto.mediapipe.PacketFactoryConfig.serializeBinaryToWriter = function(e, r) { - var o = void 0; - null != (o = t.Message.getField(e, 1)) && r.writeString(1, o), - null != (o = t.Message.getField(e, 2)) && r.writeString(2, o), - null != (o = t.Message.getField(e, 1002)) && r.writeString(1002, o), - null != (o = e.getOptions()) && r.writeMessage(3, o, proto.mediapipe.PacketFactoryOptions.serializeBinaryToWriter) - } - , - proto.mediapipe.PacketFactoryConfig.prototype.getPacketFactory = function() { - return t.Message.getFieldWithDefault(this, 1, "") - } - , - proto.mediapipe.PacketFactoryConfig.prototype.setPacketFactory = function(e) { - return t.Message.setField(this, 1, e) - } - , - proto.mediapipe.PacketFactoryConfig.prototype.clearPacketFactory = function() { - return t.Message.setField(this, 1, void 0) - } - , - proto.mediapipe.PacketFactoryConfig.prototype.hasPacketFactory = function() { - return null != t.Message.getField(this, 1) - } - , - proto.mediapipe.PacketFactoryConfig.prototype.getOutputSidePacket = function() { - return t.Message.getFieldWithDefault(this, 2, "") - } - , - proto.mediapipe.PacketFactoryConfig.prototype.setOutputSidePacket = function(e) { - return t.Message.setField(this, 2, e) - } - , - proto.mediapipe.PacketFactoryConfig.prototype.clearOutputSidePacket = function() { - return t.Message.setField(this, 2, void 0) - } - , - proto.mediapipe.PacketFactoryConfig.prototype.hasOutputSidePacket = function() { - return null != t.Message.getField(this, 2) - } - , - proto.mediapipe.PacketFactoryConfig.prototype.getExternalOutput = function() { - return t.Message.getFieldWithDefault(this, 1002, "") - } - , - proto.mediapipe.PacketFactoryConfig.prototype.setExternalOutput = function(e) { - return t.Message.setField(this, 1002, e) - } - , - proto.mediapipe.PacketFactoryConfig.prototype.clearExternalOutput = function() { - return t.Message.setField(this, 1002, void 0) - } - , - proto.mediapipe.PacketFactoryConfig.prototype.hasExternalOutput = function() { - return null != t.Message.getField(this, 1002) - } - , - proto.mediapipe.PacketFactoryConfig.prototype.getOptions = function() { - return t.Message.getWrapperField(this, proto.mediapipe.PacketFactoryOptions, 3) - } - , - proto.mediapipe.PacketFactoryConfig.prototype.setOptions = function(e) { - return t.Message.setWrapperField(this, 3, e) - } - , - proto.mediapipe.PacketFactoryConfig.prototype.clearOptions = function() { - return this.setOptions(void 0) - } - , - proto.mediapipe.PacketFactoryConfig.prototype.hasOptions = function() { - return null != t.Message.getField(this, 3) - } - , - proto.mediapipe.PacketManagerConfig.repeatedFields_ = [1], - t.Message.GENERATE_TO_OBJECT && (proto.mediapipe.PacketManagerConfig.prototype.toObject = function(e) { - return proto.mediapipe.PacketManagerConfig.toObject(e, this) - } - , - proto.mediapipe.PacketManagerConfig.toObject = function(e, r) { - var o = { - packetList: t.Message.toObjectList(r.getPacketList(), proto.mediapipe.PacketFactoryConfig.toObject, e) - }; - return e && (o.$jspbMessageInstance = r), - o - } - ), - proto.mediapipe.PacketManagerConfig.deserializeBinary = function(e) { - var r = new t.BinaryReader(e) - , o = new proto.mediapipe.PacketManagerConfig; - return proto.mediapipe.PacketManagerConfig.deserializeBinaryFromReader(o, r) - } - , - proto.mediapipe.PacketManagerConfig.deserializeBinaryFromReader = function(e, t) { - for (; t.nextField() && !t.isEndGroup(); ) { - if (1 === t.getFieldNumber()) { - var r = new proto.mediapipe.PacketFactoryConfig; - t.readMessage(r, proto.mediapipe.PacketFactoryConfig.deserializeBinaryFromReader), - e.addPacket(r) - } else - t.skipField() - } - return e - } - , - proto.mediapipe.PacketManagerConfig.prototype.serializeBinary = function() { - var e = new t.BinaryWriter; - return proto.mediapipe.PacketManagerConfig.serializeBinaryToWriter(this, e), - e.getResultBuffer() - } - , - proto.mediapipe.PacketManagerConfig.serializeBinaryToWriter = function(e, t) { - var r; - (r = e.getPacketList()).length > 0 && t.writeRepeatedMessage(1, r, proto.mediapipe.PacketFactoryConfig.serializeBinaryToWriter) - } - , - proto.mediapipe.PacketManagerConfig.prototype.getPacketList = function() { - return t.Message.getRepeatedWrapperField(this, proto.mediapipe.PacketFactoryConfig, 1) - } - , - proto.mediapipe.PacketManagerConfig.prototype.setPacketList = function(e) { - return t.Message.setRepeatedWrapperField(this, 1, e) - } - , - proto.mediapipe.PacketManagerConfig.prototype.addPacket = function(e, r) { - return t.Message.addToRepeatedWrapperField(this, 1, e, proto.mediapipe.PacketFactoryConfig, r) - } - , - proto.mediapipe.PacketManagerConfig.prototype.clearPacketList = function() { - return this.setPacketList([]) - } - , - r.object.extend(e, proto.mediapipe) -}(packet_factory_pb); -var packet_generator_pb = {}; -!function(e) { - var t = googleProtobuf - , r = t - , o = "undefined" != typeof globalThis && globalThis || "undefined" != typeof window && window || void 0 !== o && o || "undefined" != typeof self && self || function() { - return this - } - .call(null) || Function("return this")(); - r.exportSymbol("proto.mediapipe.PacketGeneratorConfig", null, o), - r.exportSymbol("proto.mediapipe.PacketGeneratorOptions", null, o), - proto.mediapipe.PacketGeneratorOptions = function(e) { - t.Message.initialize(this, e, 0, 2, null, null) - } - , - r.inherits(proto.mediapipe.PacketGeneratorOptions, t.Message), - r.DEBUG && !COMPILED && (proto.mediapipe.PacketGeneratorOptions.displayName = "proto.mediapipe.PacketGeneratorOptions"), - proto.mediapipe.PacketGeneratorOptions.extensions = {}, - proto.mediapipe.PacketGeneratorOptions.extensionsBinary = {}, - proto.mediapipe.PacketGeneratorConfig = function(e) { - t.Message.initialize(this, e, 0, 500, proto.mediapipe.PacketGeneratorConfig.repeatedFields_, null) - } - , - r.inherits(proto.mediapipe.PacketGeneratorConfig, t.Message), - r.DEBUG && !COMPILED && (proto.mediapipe.PacketGeneratorConfig.displayName = "proto.mediapipe.PacketGeneratorConfig"), - t.Message.GENERATE_TO_OBJECT && (proto.mediapipe.PacketGeneratorOptions.prototype.toObject = function(e) { - return proto.mediapipe.PacketGeneratorOptions.toObject(e, this) - } - , - proto.mediapipe.PacketGeneratorOptions.toObject = function(e, r) { - var o = { - mergeFields: t.Message.getBooleanFieldWithDefault(r, 1, !0) - }; - return t.Message.toObjectExtension(r, o, proto.mediapipe.PacketGeneratorOptions.extensions, proto.mediapipe.PacketGeneratorOptions.prototype.getExtension, e), - e && (o.$jspbMessageInstance = r), - o - } - ), - proto.mediapipe.PacketGeneratorOptions.deserializeBinary = function(e) { - var r = new t.BinaryReader(e) - , o = new proto.mediapipe.PacketGeneratorOptions; - return proto.mediapipe.PacketGeneratorOptions.deserializeBinaryFromReader(o, r) - } - , - proto.mediapipe.PacketGeneratorOptions.deserializeBinaryFromReader = function(e, r) { - for (; r.nextField() && !r.isEndGroup(); ) { - if (1 === r.getFieldNumber()) { - var o = r.readBool(); - e.setMergeFields(o) - } else - t.Message.readBinaryExtension(e, r, proto.mediapipe.PacketGeneratorOptions.extensionsBinary, proto.mediapipe.PacketGeneratorOptions.prototype.getExtension, proto.mediapipe.PacketGeneratorOptions.prototype.setExtension) - } - return e - } - , - proto.mediapipe.PacketGeneratorOptions.prototype.serializeBinary = function() { - var e = new t.BinaryWriter; - return proto.mediapipe.PacketGeneratorOptions.serializeBinaryToWriter(this, e), - e.getResultBuffer() - } - , - proto.mediapipe.PacketGeneratorOptions.serializeBinaryToWriter = function(e, r) { - var o; - null != (o = t.Message.getField(e, 1)) && r.writeBool(1, o), - t.Message.serializeBinaryExtensions(e, r, proto.mediapipe.PacketGeneratorOptions.extensionsBinary, proto.mediapipe.PacketGeneratorOptions.prototype.getExtension) - } - , - proto.mediapipe.PacketGeneratorOptions.prototype.getMergeFields = function() { - return t.Message.getBooleanFieldWithDefault(this, 1, !0) - } - , - proto.mediapipe.PacketGeneratorOptions.prototype.setMergeFields = function(e) { - return t.Message.setField(this, 1, e) - } - , - proto.mediapipe.PacketGeneratorOptions.prototype.clearMergeFields = function() { - return t.Message.setField(this, 1, void 0) - } - , - proto.mediapipe.PacketGeneratorOptions.prototype.hasMergeFields = function() { - return null != t.Message.getField(this, 1) - } - , - proto.mediapipe.PacketGeneratorConfig.repeatedFields_ = [2, 1002, 3, 1003], - t.Message.GENERATE_TO_OBJECT && (proto.mediapipe.PacketGeneratorConfig.prototype.toObject = function(e) { - return proto.mediapipe.PacketGeneratorConfig.toObject(e, this) - } - , - proto.mediapipe.PacketGeneratorConfig.toObject = function(e, r) { - var o, i = { - packetGenerator: null == (o = t.Message.getField(r, 1)) ? void 0 : o, - inputSidePacketList: null == (o = t.Message.getRepeatedField(r, 2)) ? void 0 : o, - externalInputList: null == (o = t.Message.getRepeatedField(r, 1002)) ? void 0 : o, - outputSidePacketList: null == (o = t.Message.getRepeatedField(r, 3)) ? void 0 : o, - externalOutputList: null == (o = t.Message.getRepeatedField(r, 1003)) ? void 0 : o, - options: (o = r.getOptions()) && proto.mediapipe.PacketGeneratorOptions.toObject(e, o) - }; - return e && (i.$jspbMessageInstance = r), - i - } - ), - proto.mediapipe.PacketGeneratorConfig.deserializeBinary = function(e) { - var r = new t.BinaryReader(e) - , o = new proto.mediapipe.PacketGeneratorConfig; - return proto.mediapipe.PacketGeneratorConfig.deserializeBinaryFromReader(o, r) - } - , - proto.mediapipe.PacketGeneratorConfig.deserializeBinaryFromReader = function(e, t) { - for (; t.nextField() && !t.isEndGroup(); ) { - switch (t.getFieldNumber()) { - case 1: - var r = t.readString(); - e.setPacketGenerator(r); - break; - case 2: - r = t.readString(); - e.addInputSidePacket(r); - break; - case 1002: - r = t.readString(); - e.addExternalInput(r); - break; - case 3: - r = t.readString(); - e.addOutputSidePacket(r); - break; - case 1003: - r = t.readString(); - e.addExternalOutput(r); - break; - case 4: - r = new proto.mediapipe.PacketGeneratorOptions; - t.readMessage(r, proto.mediapipe.PacketGeneratorOptions.deserializeBinaryFromReader), - e.setOptions(r); - break; - default: - t.skipField() - } - } - return e - } - , - proto.mediapipe.PacketGeneratorConfig.prototype.serializeBinary = function() { - var e = new t.BinaryWriter; - return proto.mediapipe.PacketGeneratorConfig.serializeBinaryToWriter(this, e), - e.getResultBuffer() - } - , - proto.mediapipe.PacketGeneratorConfig.serializeBinaryToWriter = function(e, r) { - var o = void 0; - null != (o = t.Message.getField(e, 1)) && r.writeString(1, o), - (o = e.getInputSidePacketList()).length > 0 && r.writeRepeatedString(2, o), - (o = e.getExternalInputList()).length > 0 && r.writeRepeatedString(1002, o), - (o = e.getOutputSidePacketList()).length > 0 && r.writeRepeatedString(3, o), - (o = e.getExternalOutputList()).length > 0 && r.writeRepeatedString(1003, o), - null != (o = e.getOptions()) && r.writeMessage(4, o, proto.mediapipe.PacketGeneratorOptions.serializeBinaryToWriter) - } - , - proto.mediapipe.PacketGeneratorConfig.prototype.getPacketGenerator = function() { - return t.Message.getFieldWithDefault(this, 1, "") - } - , - proto.mediapipe.PacketGeneratorConfig.prototype.setPacketGenerator = function(e) { - return t.Message.setField(this, 1, e) - } - , - proto.mediapipe.PacketGeneratorConfig.prototype.clearPacketGenerator = function() { - return t.Message.setField(this, 1, void 0) - } - , - proto.mediapipe.PacketGeneratorConfig.prototype.hasPacketGenerator = function() { - return null != t.Message.getField(this, 1) - } - , - proto.mediapipe.PacketGeneratorConfig.prototype.getInputSidePacketList = function() { - return t.Message.getRepeatedField(this, 2) - } - , - proto.mediapipe.PacketGeneratorConfig.prototype.setInputSidePacketList = function(e) { - return t.Message.setField(this, 2, e || []) - } - , - proto.mediapipe.PacketGeneratorConfig.prototype.addInputSidePacket = function(e, r) { - return t.Message.addToRepeatedField(this, 2, e, r) - } - , - proto.mediapipe.PacketGeneratorConfig.prototype.clearInputSidePacketList = function() { - return this.setInputSidePacketList([]) - } - , - proto.mediapipe.PacketGeneratorConfig.prototype.getExternalInputList = function() { - return t.Message.getRepeatedField(this, 1002) - } - , - proto.mediapipe.PacketGeneratorConfig.prototype.setExternalInputList = function(e) { - return t.Message.setField(this, 1002, e || []) - } - , - proto.mediapipe.PacketGeneratorConfig.prototype.addExternalInput = function(e, r) { - return t.Message.addToRepeatedField(this, 1002, e, r) - } - , - proto.mediapipe.PacketGeneratorConfig.prototype.clearExternalInputList = function() { - return this.setExternalInputList([]) - } - , - proto.mediapipe.PacketGeneratorConfig.prototype.getOutputSidePacketList = function() { - return t.Message.getRepeatedField(this, 3) - } - , - proto.mediapipe.PacketGeneratorConfig.prototype.setOutputSidePacketList = function(e) { - return t.Message.setField(this, 3, e || []) - } - , - proto.mediapipe.PacketGeneratorConfig.prototype.addOutputSidePacket = function(e, r) { - return t.Message.addToRepeatedField(this, 3, e, r) - } - , - proto.mediapipe.PacketGeneratorConfig.prototype.clearOutputSidePacketList = function() { - return this.setOutputSidePacketList([]) - } - , - proto.mediapipe.PacketGeneratorConfig.prototype.getExternalOutputList = function() { - return t.Message.getRepeatedField(this, 1003) - } - , - proto.mediapipe.PacketGeneratorConfig.prototype.setExternalOutputList = function(e) { - return t.Message.setField(this, 1003, e || []) - } - , - proto.mediapipe.PacketGeneratorConfig.prototype.addExternalOutput = function(e, r) { - return t.Message.addToRepeatedField(this, 1003, e, r) - } - , - proto.mediapipe.PacketGeneratorConfig.prototype.clearExternalOutputList = function() { - return this.setExternalOutputList([]) - } - , - proto.mediapipe.PacketGeneratorConfig.prototype.getOptions = function() { - return t.Message.getWrapperField(this, proto.mediapipe.PacketGeneratorOptions, 4) - } - , - proto.mediapipe.PacketGeneratorConfig.prototype.setOptions = function(e) { - return t.Message.setWrapperField(this, 4, e) - } - , - proto.mediapipe.PacketGeneratorConfig.prototype.clearOptions = function() { - return this.setOptions(void 0) - } - , - proto.mediapipe.PacketGeneratorConfig.prototype.hasOptions = function() { - return null != t.Message.getField(this, 4) - } - , - r.object.extend(e, proto.mediapipe) -}(packet_generator_pb); -var status_handler_pb = {}; -!function(e) { - var t = googleProtobuf - , r = t - , o = "undefined" != typeof globalThis && globalThis || "undefined" != typeof window && window || void 0 !== o && o || "undefined" != typeof self && self || function() { - return this - } - .call(null) || Function("return this")() - , i = mediapipe_options_pb; - r.object.extend(proto, i), - r.exportSymbol("proto.mediapipe.StatusHandlerConfig", null, o), - proto.mediapipe.StatusHandlerConfig = function(e) { - t.Message.initialize(this, e, 0, 500, proto.mediapipe.StatusHandlerConfig.repeatedFields_, null) - } - , - r.inherits(proto.mediapipe.StatusHandlerConfig, t.Message), - r.DEBUG && !COMPILED && (proto.mediapipe.StatusHandlerConfig.displayName = "proto.mediapipe.StatusHandlerConfig"), - proto.mediapipe.StatusHandlerConfig.repeatedFields_ = [2, 1002], - t.Message.GENERATE_TO_OBJECT && (proto.mediapipe.StatusHandlerConfig.prototype.toObject = function(e) { - return proto.mediapipe.StatusHandlerConfig.toObject(e, this) - } - , - proto.mediapipe.StatusHandlerConfig.toObject = function(e, r) { - var o, a = { - statusHandler: null == (o = t.Message.getField(r, 1)) ? void 0 : o, - inputSidePacketList: null == (o = t.Message.getRepeatedField(r, 2)) ? void 0 : o, - externalInputList: null == (o = t.Message.getRepeatedField(r, 1002)) ? void 0 : o, - options: (o = r.getOptions()) && i.MediaPipeOptions.toObject(e, o) - }; - return e && (a.$jspbMessageInstance = r), - a - } - ), - proto.mediapipe.StatusHandlerConfig.deserializeBinary = function(e) { - var r = new t.BinaryReader(e) - , o = new proto.mediapipe.StatusHandlerConfig; - return proto.mediapipe.StatusHandlerConfig.deserializeBinaryFromReader(o, r) - } - , - proto.mediapipe.StatusHandlerConfig.deserializeBinaryFromReader = function(e, t) { - for (; t.nextField() && !t.isEndGroup(); ) { - switch (t.getFieldNumber()) { - case 1: - var r = t.readString(); - e.setStatusHandler(r); - break; - case 2: - r = t.readString(); - e.addInputSidePacket(r); - break; - case 1002: - r = t.readString(); - e.addExternalInput(r); - break; - case 3: - r = new i.MediaPipeOptions; - t.readMessage(r, i.MediaPipeOptions.deserializeBinaryFromReader), - e.setOptions(r); - break; - default: - t.skipField() - } - } - return e - } - , - proto.mediapipe.StatusHandlerConfig.prototype.serializeBinary = function() { - var e = new t.BinaryWriter; - return proto.mediapipe.StatusHandlerConfig.serializeBinaryToWriter(this, e), - e.getResultBuffer() - } - , - proto.mediapipe.StatusHandlerConfig.serializeBinaryToWriter = function(e, r) { - var o = void 0; - null != (o = t.Message.getField(e, 1)) && r.writeString(1, o), - (o = e.getInputSidePacketList()).length > 0 && r.writeRepeatedString(2, o), - (o = e.getExternalInputList()).length > 0 && r.writeRepeatedString(1002, o), - null != (o = e.getOptions()) && r.writeMessage(3, o, i.MediaPipeOptions.serializeBinaryToWriter) - } - , - proto.mediapipe.StatusHandlerConfig.prototype.getStatusHandler = function() { - return t.Message.getFieldWithDefault(this, 1, "") - } - , - proto.mediapipe.StatusHandlerConfig.prototype.setStatusHandler = function(e) { - return t.Message.setField(this, 1, e) - } - , - proto.mediapipe.StatusHandlerConfig.prototype.clearStatusHandler = function() { - return t.Message.setField(this, 1, void 0) - } - , - proto.mediapipe.StatusHandlerConfig.prototype.hasStatusHandler = function() { - return null != t.Message.getField(this, 1) - } - , - proto.mediapipe.StatusHandlerConfig.prototype.getInputSidePacketList = function() { - return t.Message.getRepeatedField(this, 2) - } - , - proto.mediapipe.StatusHandlerConfig.prototype.setInputSidePacketList = function(e) { - return t.Message.setField(this, 2, e || []) - } - , - proto.mediapipe.StatusHandlerConfig.prototype.addInputSidePacket = function(e, r) { - return t.Message.addToRepeatedField(this, 2, e, r) - } - , - proto.mediapipe.StatusHandlerConfig.prototype.clearInputSidePacketList = function() { - return this.setInputSidePacketList([]) - } - , - proto.mediapipe.StatusHandlerConfig.prototype.getExternalInputList = function() { - return t.Message.getRepeatedField(this, 1002) - } - , - proto.mediapipe.StatusHandlerConfig.prototype.setExternalInputList = function(e) { - return t.Message.setField(this, 1002, e || []) - } - , - proto.mediapipe.StatusHandlerConfig.prototype.addExternalInput = function(e, r) { - return t.Message.addToRepeatedField(this, 1002, e, r) - } - , - proto.mediapipe.StatusHandlerConfig.prototype.clearExternalInputList = function() { - return this.setExternalInputList([]) - } - , - proto.mediapipe.StatusHandlerConfig.prototype.getOptions = function() { - return t.Message.getWrapperField(this, i.MediaPipeOptions, 3) - } - , - proto.mediapipe.StatusHandlerConfig.prototype.setOptions = function(e) { - return t.Message.setWrapperField(this, 3, e) - } - , - proto.mediapipe.StatusHandlerConfig.prototype.clearOptions = function() { - return this.setOptions(void 0) - } - , - proto.mediapipe.StatusHandlerConfig.prototype.hasOptions = function() { - return null != t.Message.getField(this, 3) - } - , - r.object.extend(e, proto.mediapipe) -}(status_handler_pb); -var stream_handler_pb = {}; -!function(e) { - var t = googleProtobuf - , r = t - , o = "undefined" != typeof globalThis && globalThis || "undefined" != typeof window && window || void 0 !== o && o || "undefined" != typeof self && self || function() { - return this - } - .call(null) || Function("return this")() - , i = mediapipe_options_pb; - r.object.extend(proto, i), - r.exportSymbol("proto.mediapipe.InputStreamHandlerConfig", null, o), - r.exportSymbol("proto.mediapipe.OutputStreamHandlerConfig", null, o), - proto.mediapipe.InputStreamHandlerConfig = function(e) { - t.Message.initialize(this, e, 0, -1, null, null) - } - , - r.inherits(proto.mediapipe.InputStreamHandlerConfig, t.Message), - r.DEBUG && !COMPILED && (proto.mediapipe.InputStreamHandlerConfig.displayName = "proto.mediapipe.InputStreamHandlerConfig"), - proto.mediapipe.OutputStreamHandlerConfig = function(e) { - t.Message.initialize(this, e, 0, -1, proto.mediapipe.OutputStreamHandlerConfig.repeatedFields_, null) - } - , - r.inherits(proto.mediapipe.OutputStreamHandlerConfig, t.Message), - r.DEBUG && !COMPILED && (proto.mediapipe.OutputStreamHandlerConfig.displayName = "proto.mediapipe.OutputStreamHandlerConfig"), - t.Message.GENERATE_TO_OBJECT && (proto.mediapipe.InputStreamHandlerConfig.prototype.toObject = function(e) { - return proto.mediapipe.InputStreamHandlerConfig.toObject(e, this) - } - , - proto.mediapipe.InputStreamHandlerConfig.toObject = function(e, r) { - var o, a = { - inputStreamHandler: t.Message.getFieldWithDefault(r, 1, "DefaultInputStreamHandler"), - options: (o = r.getOptions()) && i.MediaPipeOptions.toObject(e, o) - }; - return e && (a.$jspbMessageInstance = r), - a - } - ), - proto.mediapipe.InputStreamHandlerConfig.deserializeBinary = function(e) { - var r = new t.BinaryReader(e) - , o = new proto.mediapipe.InputStreamHandlerConfig; - return proto.mediapipe.InputStreamHandlerConfig.deserializeBinaryFromReader(o, r) - } - , - proto.mediapipe.InputStreamHandlerConfig.deserializeBinaryFromReader = function(e, t) { - for (; t.nextField() && !t.isEndGroup(); ) { - switch (t.getFieldNumber()) { - case 1: - var r = t.readString(); - e.setInputStreamHandler(r); - break; - case 3: - r = new i.MediaPipeOptions; - t.readMessage(r, i.MediaPipeOptions.deserializeBinaryFromReader), - e.setOptions(r); - break; - default: - t.skipField() - } - } - return e - } - , - proto.mediapipe.InputStreamHandlerConfig.prototype.serializeBinary = function() { - var e = new t.BinaryWriter; - return proto.mediapipe.InputStreamHandlerConfig.serializeBinaryToWriter(this, e), - e.getResultBuffer() - } - , - proto.mediapipe.InputStreamHandlerConfig.serializeBinaryToWriter = function(e, r) { - var o = void 0; - null != (o = t.Message.getField(e, 1)) && r.writeString(1, o), - null != (o = e.getOptions()) && r.writeMessage(3, o, i.MediaPipeOptions.serializeBinaryToWriter) - } - , - proto.mediapipe.InputStreamHandlerConfig.prototype.getInputStreamHandler = function() { - return t.Message.getFieldWithDefault(this, 1, "DefaultInputStreamHandler") - } - , - proto.mediapipe.InputStreamHandlerConfig.prototype.setInputStreamHandler = function(e) { - return t.Message.setField(this, 1, e) - } - , - proto.mediapipe.InputStreamHandlerConfig.prototype.clearInputStreamHandler = function() { - return t.Message.setField(this, 1, void 0) - } - , - proto.mediapipe.InputStreamHandlerConfig.prototype.hasInputStreamHandler = function() { - return null != t.Message.getField(this, 1) - } - , - proto.mediapipe.InputStreamHandlerConfig.prototype.getOptions = function() { - return t.Message.getWrapperField(this, i.MediaPipeOptions, 3) - } - , - proto.mediapipe.InputStreamHandlerConfig.prototype.setOptions = function(e) { - return t.Message.setWrapperField(this, 3, e) - } - , - proto.mediapipe.InputStreamHandlerConfig.prototype.clearOptions = function() { - return this.setOptions(void 0) - } - , - proto.mediapipe.InputStreamHandlerConfig.prototype.hasOptions = function() { - return null != t.Message.getField(this, 3) - } - , - proto.mediapipe.OutputStreamHandlerConfig.repeatedFields_ = [2], - t.Message.GENERATE_TO_OBJECT && (proto.mediapipe.OutputStreamHandlerConfig.prototype.toObject = function(e) { - return proto.mediapipe.OutputStreamHandlerConfig.toObject(e, this) - } - , - proto.mediapipe.OutputStreamHandlerConfig.toObject = function(e, r) { - var o, a = { - outputStreamHandler: t.Message.getFieldWithDefault(r, 1, "InOrderOutputStreamHandler"), - inputSidePacketList: null == (o = t.Message.getRepeatedField(r, 2)) ? void 0 : o, - options: (o = r.getOptions()) && i.MediaPipeOptions.toObject(e, o) - }; - return e && (a.$jspbMessageInstance = r), - a - } - ), - proto.mediapipe.OutputStreamHandlerConfig.deserializeBinary = function(e) { - var r = new t.BinaryReader(e) - , o = new proto.mediapipe.OutputStreamHandlerConfig; - return proto.mediapipe.OutputStreamHandlerConfig.deserializeBinaryFromReader(o, r) - } - , - proto.mediapipe.OutputStreamHandlerConfig.deserializeBinaryFromReader = function(e, t) { - for (; t.nextField() && !t.isEndGroup(); ) { - switch (t.getFieldNumber()) { - case 1: - var r = t.readString(); - e.setOutputStreamHandler(r); - break; - case 2: - r = t.readString(); - e.addInputSidePacket(r); - break; - case 3: - r = new i.MediaPipeOptions; - t.readMessage(r, i.MediaPipeOptions.deserializeBinaryFromReader), - e.setOptions(r); - break; - default: - t.skipField() - } - } - return e - } - , - proto.mediapipe.OutputStreamHandlerConfig.prototype.serializeBinary = function() { - var e = new t.BinaryWriter; - return proto.mediapipe.OutputStreamHandlerConfig.serializeBinaryToWriter(this, e), - e.getResultBuffer() - } - , - proto.mediapipe.OutputStreamHandlerConfig.serializeBinaryToWriter = function(e, r) { - var o = void 0; - null != (o = t.Message.getField(e, 1)) && r.writeString(1, o), - (o = e.getInputSidePacketList()).length > 0 && r.writeRepeatedString(2, o), - null != (o = e.getOptions()) && r.writeMessage(3, o, i.MediaPipeOptions.serializeBinaryToWriter) - } - , - proto.mediapipe.OutputStreamHandlerConfig.prototype.getOutputStreamHandler = function() { - return t.Message.getFieldWithDefault(this, 1, "InOrderOutputStreamHandler") - } - , - proto.mediapipe.OutputStreamHandlerConfig.prototype.setOutputStreamHandler = function(e) { - return t.Message.setField(this, 1, e) - } - , - proto.mediapipe.OutputStreamHandlerConfig.prototype.clearOutputStreamHandler = function() { - return t.Message.setField(this, 1, void 0) - } - , - proto.mediapipe.OutputStreamHandlerConfig.prototype.hasOutputStreamHandler = function() { - return null != t.Message.getField(this, 1) - } - , - proto.mediapipe.OutputStreamHandlerConfig.prototype.getInputSidePacketList = function() { - return t.Message.getRepeatedField(this, 2) - } - , - proto.mediapipe.OutputStreamHandlerConfig.prototype.setInputSidePacketList = function(e) { - return t.Message.setField(this, 2, e || []) - } - , - proto.mediapipe.OutputStreamHandlerConfig.prototype.addInputSidePacket = function(e, r) { - return t.Message.addToRepeatedField(this, 2, e, r) - } - , - proto.mediapipe.OutputStreamHandlerConfig.prototype.clearInputSidePacketList = function() { - return this.setInputSidePacketList([]) - } - , - proto.mediapipe.OutputStreamHandlerConfig.prototype.getOptions = function() { - return t.Message.getWrapperField(this, i.MediaPipeOptions, 3) - } - , - proto.mediapipe.OutputStreamHandlerConfig.prototype.setOptions = function(e) { - return t.Message.setWrapperField(this, 3, e) - } - , - proto.mediapipe.OutputStreamHandlerConfig.prototype.clearOptions = function() { - return this.setOptions(void 0) - } - , - proto.mediapipe.OutputStreamHandlerConfig.prototype.hasOptions = function() { - return null != t.Message.getField(this, 3) - } - , - r.object.extend(e, proto.mediapipe) -}(stream_handler_pb), -function(e) { - var t = googleProtobuf - , r = t - , o = "undefined" != typeof globalThis && globalThis || "undefined" != typeof window && window || void 0 !== o && o || "undefined" != typeof self && self || function() { - return this - } - .call(null) || Function("return this")() - , i = calculator_options_pb; - r.object.extend(proto, i); - var a = any_pb; - r.object.extend(proto, a); - var n = mediapipe_options_pb; - r.object.extend(proto, n); - var s = packet_factory_pb; - r.object.extend(proto, s); - var p = packet_generator_pb; - r.object.extend(proto, p); - var d = status_handler_pb; - r.object.extend(proto, d); - var l = stream_handler_pb; - r.object.extend(proto, l), - r.exportSymbol("proto.mediapipe.CalculatorGraphConfig", null, o), - r.exportSymbol("proto.mediapipe.CalculatorGraphConfig.Node", null, o), - r.exportSymbol("proto.mediapipe.ExecutorConfig", null, o), - r.exportSymbol("proto.mediapipe.InputCollection", null, o), - r.exportSymbol("proto.mediapipe.InputCollection.InputType", null, o), - r.exportSymbol("proto.mediapipe.InputCollectionSet", null, o), - r.exportSymbol("proto.mediapipe.InputStreamInfo", null, o), - r.exportSymbol("proto.mediapipe.ProfilerConfig", null, o), - proto.mediapipe.ExecutorConfig = function(e) { - t.Message.initialize(this, e, 0, -1, null, null) - } - , - r.inherits(proto.mediapipe.ExecutorConfig, t.Message), - r.DEBUG && !COMPILED && (proto.mediapipe.ExecutorConfig.displayName = "proto.mediapipe.ExecutorConfig"), - proto.mediapipe.InputCollection = function(e) { - t.Message.initialize(this, e, 0, 500, proto.mediapipe.InputCollection.repeatedFields_, null) - } - , - r.inherits(proto.mediapipe.InputCollection, t.Message), - r.DEBUG && !COMPILED && (proto.mediapipe.InputCollection.displayName = "proto.mediapipe.InputCollection"), - proto.mediapipe.InputCollectionSet = function(e) { - t.Message.initialize(this, e, 0, -1, proto.mediapipe.InputCollectionSet.repeatedFields_, null) - } - , - r.inherits(proto.mediapipe.InputCollectionSet, t.Message), - r.DEBUG && !COMPILED && (proto.mediapipe.InputCollectionSet.displayName = "proto.mediapipe.InputCollectionSet"), - proto.mediapipe.InputStreamInfo = function(e) { - t.Message.initialize(this, e, 0, -1, null, null) - } - , - r.inherits(proto.mediapipe.InputStreamInfo, t.Message), - r.DEBUG && !COMPILED && (proto.mediapipe.InputStreamInfo.displayName = "proto.mediapipe.InputStreamInfo"), - proto.mediapipe.ProfilerConfig = function(e) { - t.Message.initialize(this, e, 0, -1, proto.mediapipe.ProfilerConfig.repeatedFields_, null) - } - , - r.inherits(proto.mediapipe.ProfilerConfig, t.Message), - r.DEBUG && !COMPILED && (proto.mediapipe.ProfilerConfig.displayName = "proto.mediapipe.ProfilerConfig"), - proto.mediapipe.CalculatorGraphConfig = function(e) { - t.Message.initialize(this, e, 0, 500, proto.mediapipe.CalculatorGraphConfig.repeatedFields_, null) - } - , - r.inherits(proto.mediapipe.CalculatorGraphConfig, t.Message), - r.DEBUG && !COMPILED && (proto.mediapipe.CalculatorGraphConfig.displayName = "proto.mediapipe.CalculatorGraphConfig"), - proto.mediapipe.CalculatorGraphConfig.Node = function(e) { - t.Message.initialize(this, e, 0, 500, proto.mediapipe.CalculatorGraphConfig.Node.repeatedFields_, null) - } - , - r.inherits(proto.mediapipe.CalculatorGraphConfig.Node, t.Message), - r.DEBUG && !COMPILED && (proto.mediapipe.CalculatorGraphConfig.Node.displayName = "proto.mediapipe.CalculatorGraphConfig.Node"), - t.Message.GENERATE_TO_OBJECT && (proto.mediapipe.ExecutorConfig.prototype.toObject = function(e) { - return proto.mediapipe.ExecutorConfig.toObject(e, this) - } - , - proto.mediapipe.ExecutorConfig.toObject = function(e, r) { - var o, i = { - name: t.Message.getFieldWithDefault(r, 1, ""), - type: t.Message.getFieldWithDefault(r, 2, ""), - options: (o = r.getOptions()) && n.MediaPipeOptions.toObject(e, o) - }; - return e && (i.$jspbMessageInstance = r), - i - } - ), - proto.mediapipe.ExecutorConfig.deserializeBinary = function(e) { - var r = new t.BinaryReader(e) - , o = new proto.mediapipe.ExecutorConfig; - return proto.mediapipe.ExecutorConfig.deserializeBinaryFromReader(o, r) - } - , - proto.mediapipe.ExecutorConfig.deserializeBinaryFromReader = function(e, t) { - for (; t.nextField() && !t.isEndGroup(); ) { - switch (t.getFieldNumber()) { - case 1: - var r = t.readString(); - e.setName(r); - break; - case 2: - r = t.readString(); - e.setType(r); - break; - case 3: - r = new n.MediaPipeOptions; - t.readMessage(r, n.MediaPipeOptions.deserializeBinaryFromReader), - e.setOptions(r); - break; - default: - t.skipField() - } - } - return e - } - , - proto.mediapipe.ExecutorConfig.prototype.serializeBinary = function() { - var e = new t.BinaryWriter; - return proto.mediapipe.ExecutorConfig.serializeBinaryToWriter(this, e), - e.getResultBuffer() - } - , - proto.mediapipe.ExecutorConfig.serializeBinaryToWriter = function(e, t) { - var r = void 0; - (r = e.getName()).length > 0 && t.writeString(1, r), - (r = e.getType()).length > 0 && t.writeString(2, r), - null != (r = e.getOptions()) && t.writeMessage(3, r, n.MediaPipeOptions.serializeBinaryToWriter) - } - , - proto.mediapipe.ExecutorConfig.prototype.getName = function() { - return t.Message.getFieldWithDefault(this, 1, "") - } - , - proto.mediapipe.ExecutorConfig.prototype.setName = function(e) { - return t.Message.setProto3StringField(this, 1, e) - } - , - proto.mediapipe.ExecutorConfig.prototype.getType = function() { - return t.Message.getFieldWithDefault(this, 2, "") - } - , - proto.mediapipe.ExecutorConfig.prototype.setType = function(e) { - return t.Message.setProto3StringField(this, 2, e) - } - , - proto.mediapipe.ExecutorConfig.prototype.getOptions = function() { - return t.Message.getWrapperField(this, n.MediaPipeOptions, 3) - } - , - proto.mediapipe.ExecutorConfig.prototype.setOptions = function(e) { - return t.Message.setWrapperField(this, 3, e) - } - , - proto.mediapipe.ExecutorConfig.prototype.clearOptions = function() { - return this.setOptions(void 0) - } - , - proto.mediapipe.ExecutorConfig.prototype.hasOptions = function() { - return null != t.Message.getField(this, 3) - } - , - proto.mediapipe.InputCollection.repeatedFields_ = [2, 1002], - t.Message.GENERATE_TO_OBJECT && (proto.mediapipe.InputCollection.prototype.toObject = function(e) { - return proto.mediapipe.InputCollection.toObject(e, this) - } - , - proto.mediapipe.InputCollection.toObject = function(e, r) { - var o, i = { - name: t.Message.getFieldWithDefault(r, 1, ""), - sidePacketNameList: null == (o = t.Message.getRepeatedField(r, 2)) ? void 0 : o, - externalInputNameList: null == (o = t.Message.getRepeatedField(r, 1002)) ? void 0 : o, - inputType: t.Message.getFieldWithDefault(r, 3, 0), - fileName: t.Message.getFieldWithDefault(r, 4, "") - }; - return e && (i.$jspbMessageInstance = r), - i - } - ), - proto.mediapipe.InputCollection.deserializeBinary = function(e) { - var r = new t.BinaryReader(e) - , o = new proto.mediapipe.InputCollection; - return proto.mediapipe.InputCollection.deserializeBinaryFromReader(o, r) - } - , - proto.mediapipe.InputCollection.deserializeBinaryFromReader = function(e, t) { - for (; t.nextField() && !t.isEndGroup(); ) { - switch (t.getFieldNumber()) { - case 1: - var r = t.readString(); - e.setName(r); - break; - case 2: - r = t.readString(); - e.addSidePacketName(r); - break; - case 1002: - r = t.readString(); - e.addExternalInputName(r); - break; - case 3: - r = t.readEnum(); - e.setInputType(r); - break; - case 4: - r = t.readString(); - e.setFileName(r); - break; - default: - t.skipField() - } - } - return e - } - , - proto.mediapipe.InputCollection.prototype.serializeBinary = function() { - var e = new t.BinaryWriter; - return proto.mediapipe.InputCollection.serializeBinaryToWriter(this, e), - e.getResultBuffer() - } - , - proto.mediapipe.InputCollection.serializeBinaryToWriter = function(e, t) { - var r = void 0; - (r = e.getName()).length > 0 && t.writeString(1, r), - (r = e.getSidePacketNameList()).length > 0 && t.writeRepeatedString(2, r), - (r = e.getExternalInputNameList()).length > 0 && t.writeRepeatedString(1002, r), - 0 !== (r = e.getInputType()) && t.writeEnum(3, r), - (r = e.getFileName()).length > 0 && t.writeString(4, r) - } - , - proto.mediapipe.InputCollection.InputType = { - UNKNOWN: 0, - RECORDIO: 1, - FOREIGN_RECORDIO: 2, - FOREIGN_CSV_TEXT: 3, - INVALID_UPPER_BOUND: 4 - }, - proto.mediapipe.InputCollection.prototype.getName = function() { - return t.Message.getFieldWithDefault(this, 1, "") - } - , - proto.mediapipe.InputCollection.prototype.setName = function(e) { - return t.Message.setProto3StringField(this, 1, e) - } - , - proto.mediapipe.InputCollection.prototype.getSidePacketNameList = function() { - return t.Message.getRepeatedField(this, 2) - } - , - proto.mediapipe.InputCollection.prototype.setSidePacketNameList = function(e) { - return t.Message.setField(this, 2, e || []) - } - , - proto.mediapipe.InputCollection.prototype.addSidePacketName = function(e, r) { - return t.Message.addToRepeatedField(this, 2, e, r) - } - , - proto.mediapipe.InputCollection.prototype.clearSidePacketNameList = function() { - return this.setSidePacketNameList([]) - } - , - proto.mediapipe.InputCollection.prototype.getExternalInputNameList = function() { - return t.Message.getRepeatedField(this, 1002) - } - , - proto.mediapipe.InputCollection.prototype.setExternalInputNameList = function(e) { - return t.Message.setField(this, 1002, e || []) - } - , - proto.mediapipe.InputCollection.prototype.addExternalInputName = function(e, r) { - return t.Message.addToRepeatedField(this, 1002, e, r) - } - , - proto.mediapipe.InputCollection.prototype.clearExternalInputNameList = function() { - return this.setExternalInputNameList([]) - } - , - proto.mediapipe.InputCollection.prototype.getInputType = function() { - return t.Message.getFieldWithDefault(this, 3, 0) - } - , - proto.mediapipe.InputCollection.prototype.setInputType = function(e) { - return t.Message.setProto3EnumField(this, 3, e) - } - , - proto.mediapipe.InputCollection.prototype.getFileName = function() { - return t.Message.getFieldWithDefault(this, 4, "") - } - , - proto.mediapipe.InputCollection.prototype.setFileName = function(e) { - return t.Message.setProto3StringField(this, 4, e) - } - , - proto.mediapipe.InputCollectionSet.repeatedFields_ = [1], - t.Message.GENERATE_TO_OBJECT && (proto.mediapipe.InputCollectionSet.prototype.toObject = function(e) { - return proto.mediapipe.InputCollectionSet.toObject(e, this) - } - , - proto.mediapipe.InputCollectionSet.toObject = function(e, r) { - var o = { - inputCollectionList: t.Message.toObjectList(r.getInputCollectionList(), proto.mediapipe.InputCollection.toObject, e) - }; - return e && (o.$jspbMessageInstance = r), - o - } - ), - proto.mediapipe.InputCollectionSet.deserializeBinary = function(e) { - var r = new t.BinaryReader(e) - , o = new proto.mediapipe.InputCollectionSet; - return proto.mediapipe.InputCollectionSet.deserializeBinaryFromReader(o, r) - } - , - proto.mediapipe.InputCollectionSet.deserializeBinaryFromReader = function(e, t) { - for (; t.nextField() && !t.isEndGroup(); ) { - if (1 === t.getFieldNumber()) { - var r = new proto.mediapipe.InputCollection; - t.readMessage(r, proto.mediapipe.InputCollection.deserializeBinaryFromReader), - e.addInputCollection(r) - } else - t.skipField() - } - return e - } - , - proto.mediapipe.InputCollectionSet.prototype.serializeBinary = function() { - var e = new t.BinaryWriter; - return proto.mediapipe.InputCollectionSet.serializeBinaryToWriter(this, e), - e.getResultBuffer() - } - , - proto.mediapipe.InputCollectionSet.serializeBinaryToWriter = function(e, t) { - var r; - (r = e.getInputCollectionList()).length > 0 && t.writeRepeatedMessage(1, r, proto.mediapipe.InputCollection.serializeBinaryToWriter) - } - , - proto.mediapipe.InputCollectionSet.prototype.getInputCollectionList = function() { - return t.Message.getRepeatedWrapperField(this, proto.mediapipe.InputCollection, 1) - } - , - proto.mediapipe.InputCollectionSet.prototype.setInputCollectionList = function(e) { - return t.Message.setRepeatedWrapperField(this, 1, e) - } - , - proto.mediapipe.InputCollectionSet.prototype.addInputCollection = function(e, r) { - return t.Message.addToRepeatedWrapperField(this, 1, e, proto.mediapipe.InputCollection, r) - } - , - proto.mediapipe.InputCollectionSet.prototype.clearInputCollectionList = function() { - return this.setInputCollectionList([]) - } - , - t.Message.GENERATE_TO_OBJECT && (proto.mediapipe.InputStreamInfo.prototype.toObject = function(e) { - return proto.mediapipe.InputStreamInfo.toObject(e, this) - } - , - proto.mediapipe.InputStreamInfo.toObject = function(e, r) { - var o = { - tagIndex: t.Message.getFieldWithDefault(r, 1, ""), - backEdge: t.Message.getBooleanFieldWithDefault(r, 2, !1) - }; - return e && (o.$jspbMessageInstance = r), - o - } - ), - proto.mediapipe.InputStreamInfo.deserializeBinary = function(e) { - var r = new t.BinaryReader(e) - , o = new proto.mediapipe.InputStreamInfo; - return proto.mediapipe.InputStreamInfo.deserializeBinaryFromReader(o, r) - } - , - proto.mediapipe.InputStreamInfo.deserializeBinaryFromReader = function(e, t) { - for (; t.nextField() && !t.isEndGroup(); ) { - switch (t.getFieldNumber()) { - case 1: - var r = t.readString(); - e.setTagIndex(r); - break; - case 2: - r = t.readBool(); - e.setBackEdge(r); - break; - default: - t.skipField() - } - } - return e - } - , - proto.mediapipe.InputStreamInfo.prototype.serializeBinary = function() { - var e = new t.BinaryWriter; - return proto.mediapipe.InputStreamInfo.serializeBinaryToWriter(this, e), - e.getResultBuffer() - } - , - proto.mediapipe.InputStreamInfo.serializeBinaryToWriter = function(e, t) { - var r = void 0; - (r = e.getTagIndex()).length > 0 && t.writeString(1, r), - (r = e.getBackEdge()) && t.writeBool(2, r) - } - , - proto.mediapipe.InputStreamInfo.prototype.getTagIndex = function() { - return t.Message.getFieldWithDefault(this, 1, "") - } - , - proto.mediapipe.InputStreamInfo.prototype.setTagIndex = function(e) { - return t.Message.setProto3StringField(this, 1, e) - } - , - proto.mediapipe.InputStreamInfo.prototype.getBackEdge = function() { - return t.Message.getBooleanFieldWithDefault(this, 2, !1) - } - , - proto.mediapipe.InputStreamInfo.prototype.setBackEdge = function(e) { - return t.Message.setProto3BooleanField(this, 2, e) - } - , - proto.mediapipe.ProfilerConfig.repeatedFields_ = [8], - t.Message.GENERATE_TO_OBJECT && (proto.mediapipe.ProfilerConfig.prototype.toObject = function(e) { - return proto.mediapipe.ProfilerConfig.toObject(e, this) - } - , - proto.mediapipe.ProfilerConfig.toObject = function(e, r) { - var o, i = { - histogramIntervalSizeUsec: t.Message.getFieldWithDefault(r, 1, 0), - numHistogramIntervals: t.Message.getFieldWithDefault(r, 2, 0), - enableInputOutputLatency: t.Message.getBooleanFieldWithDefault(r, 3, !1), - enableProfiler: t.Message.getBooleanFieldWithDefault(r, 4, !1), - enableStreamLatency: t.Message.getBooleanFieldWithDefault(r, 5, !1), - usePacketTimestampForAddedPacket: t.Message.getBooleanFieldWithDefault(r, 6, !1), - traceLogCapacity: t.Message.getFieldWithDefault(r, 7, 0), - traceEventTypesDisabledList: null == (o = t.Message.getRepeatedField(r, 8)) ? void 0 : o, - traceLogPath: t.Message.getFieldWithDefault(r, 9, ""), - traceLogCount: t.Message.getFieldWithDefault(r, 10, 0), - traceLogIntervalUsec: t.Message.getFieldWithDefault(r, 11, 0), - traceLogMarginUsec: t.Message.getFieldWithDefault(r, 12, 0), - traceLogDurationEvents: t.Message.getBooleanFieldWithDefault(r, 13, !1), - traceLogIntervalCount: t.Message.getFieldWithDefault(r, 14, 0), - traceLogDisabled: t.Message.getBooleanFieldWithDefault(r, 15, !1), - traceEnabled: t.Message.getBooleanFieldWithDefault(r, 16, !1), - traceLogInstantEvents: t.Message.getBooleanFieldWithDefault(r, 17, !1), - calculatorFilter: t.Message.getFieldWithDefault(r, 18, "") - }; - return e && (i.$jspbMessageInstance = r), - i - } - ), - proto.mediapipe.ProfilerConfig.deserializeBinary = function(e) { - var r = new t.BinaryReader(e) - , o = new proto.mediapipe.ProfilerConfig; - return proto.mediapipe.ProfilerConfig.deserializeBinaryFromReader(o, r) - } - , - proto.mediapipe.ProfilerConfig.deserializeBinaryFromReader = function(e, t) { - for (; t.nextField() && !t.isEndGroup(); ) { - switch (t.getFieldNumber()) { - case 1: - var r = t.readInt64(); - e.setHistogramIntervalSizeUsec(r); - break; - case 2: - r = t.readInt64(); - e.setNumHistogramIntervals(r); - break; - case 3: - r = t.readBool(); - e.setEnableInputOutputLatency(r); - break; - case 4: - r = t.readBool(); - e.setEnableProfiler(r); - break; - case 5: - r = t.readBool(); - e.setEnableStreamLatency(r); - break; - case 6: - r = t.readBool(); - e.setUsePacketTimestampForAddedPacket(r); - break; - case 7: - r = t.readInt64(); - e.setTraceLogCapacity(r); - break; - case 8: - for (var o = t.isDelimited() ? t.readPackedInt32() : [t.readInt32()], i = 0; i < o.length; i++) - e.addTraceEventTypesDisabled(o[i]); - break; - case 9: - r = t.readString(); - e.setTraceLogPath(r); - break; - case 10: - r = t.readInt32(); - e.setTraceLogCount(r); - break; - case 11: - r = t.readInt64(); - e.setTraceLogIntervalUsec(r); - break; - case 12: - r = t.readInt64(); - e.setTraceLogMarginUsec(r); - break; - case 13: - r = t.readBool(); - e.setTraceLogDurationEvents(r); - break; - case 14: - r = t.readInt32(); - e.setTraceLogIntervalCount(r); - break; - case 15: - r = t.readBool(); - e.setTraceLogDisabled(r); - break; - case 16: - r = t.readBool(); - e.setTraceEnabled(r); - break; - case 17: - r = t.readBool(); - e.setTraceLogInstantEvents(r); - break; - case 18: - r = t.readString(); - e.setCalculatorFilter(r); - break; - default: - t.skipField() - } - } - return e - } - , - proto.mediapipe.ProfilerConfig.prototype.serializeBinary = function() { - var e = new t.BinaryWriter; - return proto.mediapipe.ProfilerConfig.serializeBinaryToWriter(this, e), - e.getResultBuffer() - } - , - proto.mediapipe.ProfilerConfig.serializeBinaryToWriter = function(e, t) { - var r = void 0; - 0 !== (r = e.getHistogramIntervalSizeUsec()) && t.writeInt64(1, r), - 0 !== (r = e.getNumHistogramIntervals()) && t.writeInt64(2, r), - (r = e.getEnableInputOutputLatency()) && t.writeBool(3, r), - (r = e.getEnableProfiler()) && t.writeBool(4, r), - (r = e.getEnableStreamLatency()) && t.writeBool(5, r), - (r = e.getUsePacketTimestampForAddedPacket()) && t.writeBool(6, r), - 0 !== (r = e.getTraceLogCapacity()) && t.writeInt64(7, r), - (r = e.getTraceEventTypesDisabledList()).length > 0 && t.writePackedInt32(8, r), - (r = e.getTraceLogPath()).length > 0 && t.writeString(9, r), - 0 !== (r = e.getTraceLogCount()) && t.writeInt32(10, r), - 0 !== (r = e.getTraceLogIntervalUsec()) && t.writeInt64(11, r), - 0 !== (r = e.getTraceLogMarginUsec()) && t.writeInt64(12, r), - (r = e.getTraceLogDurationEvents()) && t.writeBool(13, r), - 0 !== (r = e.getTraceLogIntervalCount()) && t.writeInt32(14, r), - (r = e.getTraceLogDisabled()) && t.writeBool(15, r), - (r = e.getTraceEnabled()) && t.writeBool(16, r), - (r = e.getTraceLogInstantEvents()) && t.writeBool(17, r), - (r = e.getCalculatorFilter()).length > 0 && t.writeString(18, r) - } - , - proto.mediapipe.ProfilerConfig.prototype.getHistogramIntervalSizeUsec = function() { - return t.Message.getFieldWithDefault(this, 1, 0) - } - , - proto.mediapipe.ProfilerConfig.prototype.setHistogramIntervalSizeUsec = function(e) { - return t.Message.setProto3IntField(this, 1, e) - } - , - proto.mediapipe.ProfilerConfig.prototype.getNumHistogramIntervals = function() { - return t.Message.getFieldWithDefault(this, 2, 0) - } - , - proto.mediapipe.ProfilerConfig.prototype.setNumHistogramIntervals = function(e) { - return t.Message.setProto3IntField(this, 2, e) - } - , - proto.mediapipe.ProfilerConfig.prototype.getEnableInputOutputLatency = function() { - return t.Message.getBooleanFieldWithDefault(this, 3, !1) - } - , - proto.mediapipe.ProfilerConfig.prototype.setEnableInputOutputLatency = function(e) { - return t.Message.setProto3BooleanField(this, 3, e) - } - , - proto.mediapipe.ProfilerConfig.prototype.getEnableProfiler = function() { - return t.Message.getBooleanFieldWithDefault(this, 4, !1) - } - , - proto.mediapipe.ProfilerConfig.prototype.setEnableProfiler = function(e) { - return t.Message.setProto3BooleanField(this, 4, e) - } - , - proto.mediapipe.ProfilerConfig.prototype.getEnableStreamLatency = function() { - return t.Message.getBooleanFieldWithDefault(this, 5, !1) - } - , - proto.mediapipe.ProfilerConfig.prototype.setEnableStreamLatency = function(e) { - return t.Message.setProto3BooleanField(this, 5, e) - } - , - proto.mediapipe.ProfilerConfig.prototype.getUsePacketTimestampForAddedPacket = function() { - return t.Message.getBooleanFieldWithDefault(this, 6, !1) - } - , - proto.mediapipe.ProfilerConfig.prototype.setUsePacketTimestampForAddedPacket = function(e) { - return t.Message.setProto3BooleanField(this, 6, e) - } - , - proto.mediapipe.ProfilerConfig.prototype.getTraceLogCapacity = function() { - return t.Message.getFieldWithDefault(this, 7, 0) - } - , - proto.mediapipe.ProfilerConfig.prototype.setTraceLogCapacity = function(e) { - return t.Message.setProto3IntField(this, 7, e) - } - , - proto.mediapipe.ProfilerConfig.prototype.getTraceEventTypesDisabledList = function() { - return t.Message.getRepeatedField(this, 8) - } - , - proto.mediapipe.ProfilerConfig.prototype.setTraceEventTypesDisabledList = function(e) { - return t.Message.setField(this, 8, e || []) - } - , - proto.mediapipe.ProfilerConfig.prototype.addTraceEventTypesDisabled = function(e, r) { - return t.Message.addToRepeatedField(this, 8, e, r) - } - , - proto.mediapipe.ProfilerConfig.prototype.clearTraceEventTypesDisabledList = function() { - return this.setTraceEventTypesDisabledList([]) - } - , - proto.mediapipe.ProfilerConfig.prototype.getTraceLogPath = function() { - return t.Message.getFieldWithDefault(this, 9, "") - } - , - proto.mediapipe.ProfilerConfig.prototype.setTraceLogPath = function(e) { - return t.Message.setProto3StringField(this, 9, e) - } - , - proto.mediapipe.ProfilerConfig.prototype.getTraceLogCount = function() { - return t.Message.getFieldWithDefault(this, 10, 0) - } - , - proto.mediapipe.ProfilerConfig.prototype.setTraceLogCount = function(e) { - return t.Message.setProto3IntField(this, 10, e) - } - , - proto.mediapipe.ProfilerConfig.prototype.getTraceLogIntervalUsec = function() { - return t.Message.getFieldWithDefault(this, 11, 0) - } - , - proto.mediapipe.ProfilerConfig.prototype.setTraceLogIntervalUsec = function(e) { - return t.Message.setProto3IntField(this, 11, e) - } - , - proto.mediapipe.ProfilerConfig.prototype.getTraceLogMarginUsec = function() { - return t.Message.getFieldWithDefault(this, 12, 0) - } - , - proto.mediapipe.ProfilerConfig.prototype.setTraceLogMarginUsec = function(e) { - return t.Message.setProto3IntField(this, 12, e) - } - , - proto.mediapipe.ProfilerConfig.prototype.getTraceLogDurationEvents = function() { - return t.Message.getBooleanFieldWithDefault(this, 13, !1) - } - , - proto.mediapipe.ProfilerConfig.prototype.setTraceLogDurationEvents = function(e) { - return t.Message.setProto3BooleanField(this, 13, e) - } - , - proto.mediapipe.ProfilerConfig.prototype.getTraceLogIntervalCount = function() { - return t.Message.getFieldWithDefault(this, 14, 0) - } - , - proto.mediapipe.ProfilerConfig.prototype.setTraceLogIntervalCount = function(e) { - return t.Message.setProto3IntField(this, 14, e) - } - , - proto.mediapipe.ProfilerConfig.prototype.getTraceLogDisabled = function() { - return t.Message.getBooleanFieldWithDefault(this, 15, !1) - } - , - proto.mediapipe.ProfilerConfig.prototype.setTraceLogDisabled = function(e) { - return t.Message.setProto3BooleanField(this, 15, e) - } - , - proto.mediapipe.ProfilerConfig.prototype.getTraceEnabled = function() { - return t.Message.getBooleanFieldWithDefault(this, 16, !1) - } - , - proto.mediapipe.ProfilerConfig.prototype.setTraceEnabled = function(e) { - return t.Message.setProto3BooleanField(this, 16, e) - } - , - proto.mediapipe.ProfilerConfig.prototype.getTraceLogInstantEvents = function() { - return t.Message.getBooleanFieldWithDefault(this, 17, !1) - } - , - proto.mediapipe.ProfilerConfig.prototype.setTraceLogInstantEvents = function(e) { - return t.Message.setProto3BooleanField(this, 17, e) - } - , - proto.mediapipe.ProfilerConfig.prototype.getCalculatorFilter = function() { - return t.Message.getFieldWithDefault(this, 18, "") - } - , - proto.mediapipe.ProfilerConfig.prototype.setCalculatorFilter = function(e) { - return t.Message.setProto3StringField(this, 18, e) - } - , - proto.mediapipe.CalculatorGraphConfig.repeatedFields_ = [1, 6, 7, 9, 10, 15, 16, 17, 14, 1002], - t.Message.GENERATE_TO_OBJECT && (proto.mediapipe.CalculatorGraphConfig.prototype.toObject = function(e) { - return proto.mediapipe.CalculatorGraphConfig.toObject(e, this) - } - , - proto.mediapipe.CalculatorGraphConfig.toObject = function(e, r) { - var o, i = { - nodeList: t.Message.toObjectList(r.getNodeList(), proto.mediapipe.CalculatorGraphConfig.Node.toObject, e), - packetFactoryList: t.Message.toObjectList(r.getPacketFactoryList(), s.PacketFactoryConfig.toObject, e), - packetGeneratorList: t.Message.toObjectList(r.getPacketGeneratorList(), p.PacketGeneratorConfig.toObject, e), - numThreads: t.Message.getFieldWithDefault(r, 8, 0), - statusHandlerList: t.Message.toObjectList(r.getStatusHandlerList(), d.StatusHandlerConfig.toObject, e), - inputStreamList: null == (o = t.Message.getRepeatedField(r, 10)) ? void 0 : o, - outputStreamList: null == (o = t.Message.getRepeatedField(r, 15)) ? void 0 : o, - inputSidePacketList: null == (o = t.Message.getRepeatedField(r, 16)) ? void 0 : o, - outputSidePacketList: null == (o = t.Message.getRepeatedField(r, 17)) ? void 0 : o, - maxQueueSize: t.Message.getFieldWithDefault(r, 11, 0), - reportDeadlock: t.Message.getBooleanFieldWithDefault(r, 21, !1), - inputStreamHandler: (o = r.getInputStreamHandler()) && l.InputStreamHandlerConfig.toObject(e, o), - outputStreamHandler: (o = r.getOutputStreamHandler()) && l.OutputStreamHandlerConfig.toObject(e, o), - executorList: t.Message.toObjectList(r.getExecutorList(), proto.mediapipe.ExecutorConfig.toObject, e), - profilerConfig: (o = r.getProfilerConfig()) && proto.mediapipe.ProfilerConfig.toObject(e, o), - pb_package: t.Message.getFieldWithDefault(r, 19, ""), - type: t.Message.getFieldWithDefault(r, 20, ""), - options: (o = r.getOptions()) && n.MediaPipeOptions.toObject(e, o), - graphOptionsList: t.Message.toObjectList(r.getGraphOptionsList(), a.Any.toObject, e) - }; - return e && (i.$jspbMessageInstance = r), - i - } - ), - proto.mediapipe.CalculatorGraphConfig.deserializeBinary = function(e) { - var r = new t.BinaryReader(e) - , o = new proto.mediapipe.CalculatorGraphConfig; - return proto.mediapipe.CalculatorGraphConfig.deserializeBinaryFromReader(o, r) - } - , - proto.mediapipe.CalculatorGraphConfig.deserializeBinaryFromReader = function(e, t) { - for (; t.nextField() && !t.isEndGroup(); ) { - switch (t.getFieldNumber()) { - case 1: - var r = new proto.mediapipe.CalculatorGraphConfig.Node; - t.readMessage(r, proto.mediapipe.CalculatorGraphConfig.Node.deserializeBinaryFromReader), - e.addNode(r); - break; - case 6: - r = new s.PacketFactoryConfig; - t.readMessage(r, s.PacketFactoryConfig.deserializeBinaryFromReader), - e.addPacketFactory(r); - break; - case 7: - r = new p.PacketGeneratorConfig; - t.readMessage(r, p.PacketGeneratorConfig.deserializeBinaryFromReader), - e.addPacketGenerator(r); - break; - case 8: - r = t.readInt32(); - e.setNumThreads(r); - break; - case 9: - r = new d.StatusHandlerConfig; - t.readMessage(r, d.StatusHandlerConfig.deserializeBinaryFromReader), - e.addStatusHandler(r); - break; - case 10: - r = t.readString(); - e.addInputStream(r); - break; - case 15: - r = t.readString(); - e.addOutputStream(r); - break; - case 16: - r = t.readString(); - e.addInputSidePacket(r); - break; - case 17: - r = t.readString(); - e.addOutputSidePacket(r); - break; - case 11: - r = t.readInt32(); - e.setMaxQueueSize(r); - break; - case 21: - r = t.readBool(); - e.setReportDeadlock(r); - break; - case 12: - r = new l.InputStreamHandlerConfig; - t.readMessage(r, l.InputStreamHandlerConfig.deserializeBinaryFromReader), - e.setInputStreamHandler(r); - break; - case 13: - r = new l.OutputStreamHandlerConfig; - t.readMessage(r, l.OutputStreamHandlerConfig.deserializeBinaryFromReader), - e.setOutputStreamHandler(r); - break; - case 14: - r = new proto.mediapipe.ExecutorConfig; - t.readMessage(r, proto.mediapipe.ExecutorConfig.deserializeBinaryFromReader), - e.addExecutor(r); - break; - case 18: - r = new proto.mediapipe.ProfilerConfig; - t.readMessage(r, proto.mediapipe.ProfilerConfig.deserializeBinaryFromReader), - e.setProfilerConfig(r); - break; - case 19: - r = t.readString(); - e.setPackage(r); - break; - case 20: - r = t.readString(); - e.setType(r); - break; - case 1001: - r = new n.MediaPipeOptions; - t.readMessage(r, n.MediaPipeOptions.deserializeBinaryFromReader), - e.setOptions(r); - break; - case 1002: - r = new a.Any; - t.readMessage(r, a.Any.deserializeBinaryFromReader), - e.addGraphOptions(r); - break; - default: - t.skipField() - } - } - return e - } - , - proto.mediapipe.CalculatorGraphConfig.prototype.serializeBinary = function() { - var e = new t.BinaryWriter; - return proto.mediapipe.CalculatorGraphConfig.serializeBinaryToWriter(this, e), - e.getResultBuffer() - } - , - proto.mediapipe.CalculatorGraphConfig.serializeBinaryToWriter = function(e, t) { - var r = void 0; - (r = e.getNodeList()).length > 0 && t.writeRepeatedMessage(1, r, proto.mediapipe.CalculatorGraphConfig.Node.serializeBinaryToWriter), - (r = e.getPacketFactoryList()).length > 0 && t.writeRepeatedMessage(6, r, s.PacketFactoryConfig.serializeBinaryToWriter), - (r = e.getPacketGeneratorList()).length > 0 && t.writeRepeatedMessage(7, r, p.PacketGeneratorConfig.serializeBinaryToWriter), - 0 !== (r = e.getNumThreads()) && t.writeInt32(8, r), - (r = e.getStatusHandlerList()).length > 0 && t.writeRepeatedMessage(9, r, d.StatusHandlerConfig.serializeBinaryToWriter), - (r = e.getInputStreamList()).length > 0 && t.writeRepeatedString(10, r), - (r = e.getOutputStreamList()).length > 0 && t.writeRepeatedString(15, r), - (r = e.getInputSidePacketList()).length > 0 && t.writeRepeatedString(16, r), - (r = e.getOutputSidePacketList()).length > 0 && t.writeRepeatedString(17, r), - 0 !== (r = e.getMaxQueueSize()) && t.writeInt32(11, r), - (r = e.getReportDeadlock()) && t.writeBool(21, r), - null != (r = e.getInputStreamHandler()) && t.writeMessage(12, r, l.InputStreamHandlerConfig.serializeBinaryToWriter), - null != (r = e.getOutputStreamHandler()) && t.writeMessage(13, r, l.OutputStreamHandlerConfig.serializeBinaryToWriter), - (r = e.getExecutorList()).length > 0 && t.writeRepeatedMessage(14, r, proto.mediapipe.ExecutorConfig.serializeBinaryToWriter), - null != (r = e.getProfilerConfig()) && t.writeMessage(18, r, proto.mediapipe.ProfilerConfig.serializeBinaryToWriter), - (r = e.getPackage()).length > 0 && t.writeString(19, r), - (r = e.getType()).length > 0 && t.writeString(20, r), - null != (r = e.getOptions()) && t.writeMessage(1001, r, n.MediaPipeOptions.serializeBinaryToWriter), - (r = e.getGraphOptionsList()).length > 0 && t.writeRepeatedMessage(1002, r, a.Any.serializeBinaryToWriter) - } - , - proto.mediapipe.CalculatorGraphConfig.Node.repeatedFields_ = [3, 4, 5, 6, 8, 13, 17, 1005], - t.Message.GENERATE_TO_OBJECT && (proto.mediapipe.CalculatorGraphConfig.Node.prototype.toObject = function(e) { - return proto.mediapipe.CalculatorGraphConfig.Node.toObject(e, this) - } - , - proto.mediapipe.CalculatorGraphConfig.Node.toObject = function(e, r) { - var o, n = { - name: t.Message.getFieldWithDefault(r, 1, ""), - calculator: t.Message.getFieldWithDefault(r, 2, ""), - inputStreamList: null == (o = t.Message.getRepeatedField(r, 3)) ? void 0 : o, - outputStreamList: null == (o = t.Message.getRepeatedField(r, 4)) ? void 0 : o, - inputSidePacketList: null == (o = t.Message.getRepeatedField(r, 5)) ? void 0 : o, - outputSidePacketList: null == (o = t.Message.getRepeatedField(r, 6)) ? void 0 : o, - options: (o = r.getOptions()) && i.CalculatorOptions.toObject(e, o), - nodeOptionsList: t.Message.toObjectList(r.getNodeOptionsList(), a.Any.toObject, e), - sourceLayer: t.Message.getFieldWithDefault(r, 9, 0), - bufferSizeHint: t.Message.getFieldWithDefault(r, 10, 0), - inputStreamHandler: (o = r.getInputStreamHandler()) && l.InputStreamHandlerConfig.toObject(e, o), - outputStreamHandler: (o = r.getOutputStreamHandler()) && l.OutputStreamHandlerConfig.toObject(e, o), - inputStreamInfoList: t.Message.toObjectList(r.getInputStreamInfoList(), proto.mediapipe.InputStreamInfo.toObject, e), - executor: t.Message.getFieldWithDefault(r, 14, ""), - profilerConfig: (o = r.getProfilerConfig()) && proto.mediapipe.ProfilerConfig.toObject(e, o), - maxInFlight: t.Message.getFieldWithDefault(r, 16, 0), - optionValueList: null == (o = t.Message.getRepeatedField(r, 17)) ? void 0 : o, - externalInputList: null == (o = t.Message.getRepeatedField(r, 1005)) ? void 0 : o - }; - return e && (n.$jspbMessageInstance = r), - n - } - ), - proto.mediapipe.CalculatorGraphConfig.Node.deserializeBinary = function(e) { - var r = new t.BinaryReader(e) - , o = new proto.mediapipe.CalculatorGraphConfig.Node; - return proto.mediapipe.CalculatorGraphConfig.Node.deserializeBinaryFromReader(o, r) - } - , - proto.mediapipe.CalculatorGraphConfig.Node.deserializeBinaryFromReader = function(e, t) { - for (; t.nextField() && !t.isEndGroup(); ) { - switch (t.getFieldNumber()) { - case 1: - var r = t.readString(); - e.setName(r); - break; - case 2: - r = t.readString(); - e.setCalculator(r); - break; - case 3: - r = t.readString(); - e.addInputStream(r); - break; - case 4: - r = t.readString(); - e.addOutputStream(r); - break; - case 5: - r = t.readString(); - e.addInputSidePacket(r); - break; - case 6: - r = t.readString(); - e.addOutputSidePacket(r); - break; - case 7: - r = new i.CalculatorOptions; - t.readMessage(r, i.CalculatorOptions.deserializeBinaryFromReader), - e.setOptions(r); - break; - case 8: - r = new a.Any; - t.readMessage(r, a.Any.deserializeBinaryFromReader), - e.addNodeOptions(r); - break; - case 9: - r = t.readInt32(); - e.setSourceLayer(r); - break; - case 10: - r = t.readInt32(); - e.setBufferSizeHint(r); - break; - case 11: - r = new l.InputStreamHandlerConfig; - t.readMessage(r, l.InputStreamHandlerConfig.deserializeBinaryFromReader), - e.setInputStreamHandler(r); - break; - case 12: - r = new l.OutputStreamHandlerConfig; - t.readMessage(r, l.OutputStreamHandlerConfig.deserializeBinaryFromReader), - e.setOutputStreamHandler(r); - break; - case 13: - r = new proto.mediapipe.InputStreamInfo; - t.readMessage(r, proto.mediapipe.InputStreamInfo.deserializeBinaryFromReader), - e.addInputStreamInfo(r); - break; - case 14: - r = t.readString(); - e.setExecutor(r); - break; - case 15: - r = new proto.mediapipe.ProfilerConfig; - t.readMessage(r, proto.mediapipe.ProfilerConfig.deserializeBinaryFromReader), - e.setProfilerConfig(r); - break; - case 16: - r = t.readInt32(); - e.setMaxInFlight(r); - break; - case 17: - r = t.readString(); - e.addOptionValue(r); - break; - case 1005: - r = t.readString(); - e.addExternalInput(r); - break; - default: - t.skipField() - } - } - return e - } - , - proto.mediapipe.CalculatorGraphConfig.Node.prototype.serializeBinary = function() { - var e = new t.BinaryWriter; - return proto.mediapipe.CalculatorGraphConfig.Node.serializeBinaryToWriter(this, e), - e.getResultBuffer() - } - , - proto.mediapipe.CalculatorGraphConfig.Node.serializeBinaryToWriter = function(e, t) { - var r = void 0; - (r = e.getName()).length > 0 && t.writeString(1, r), - (r = e.getCalculator()).length > 0 && t.writeString(2, r), - (r = e.getInputStreamList()).length > 0 && t.writeRepeatedString(3, r), - (r = e.getOutputStreamList()).length > 0 && t.writeRepeatedString(4, r), - (r = e.getInputSidePacketList()).length > 0 && t.writeRepeatedString(5, r), - (r = e.getOutputSidePacketList()).length > 0 && t.writeRepeatedString(6, r), - null != (r = e.getOptions()) && t.writeMessage(7, r, i.CalculatorOptions.serializeBinaryToWriter), - (r = e.getNodeOptionsList()).length > 0 && t.writeRepeatedMessage(8, r, a.Any.serializeBinaryToWriter), - 0 !== (r = e.getSourceLayer()) && t.writeInt32(9, r), - 0 !== (r = e.getBufferSizeHint()) && t.writeInt32(10, r), - null != (r = e.getInputStreamHandler()) && t.writeMessage(11, r, l.InputStreamHandlerConfig.serializeBinaryToWriter), - null != (r = e.getOutputStreamHandler()) && t.writeMessage(12, r, l.OutputStreamHandlerConfig.serializeBinaryToWriter), - (r = e.getInputStreamInfoList()).length > 0 && t.writeRepeatedMessage(13, r, proto.mediapipe.InputStreamInfo.serializeBinaryToWriter), - (r = e.getExecutor()).length > 0 && t.writeString(14, r), - null != (r = e.getProfilerConfig()) && t.writeMessage(15, r, proto.mediapipe.ProfilerConfig.serializeBinaryToWriter), - 0 !== (r = e.getMaxInFlight()) && t.writeInt32(16, r), - (r = e.getOptionValueList()).length > 0 && t.writeRepeatedString(17, r), - (r = e.getExternalInputList()).length > 0 && t.writeRepeatedString(1005, r) - } - , - proto.mediapipe.CalculatorGraphConfig.Node.prototype.getName = function() { - return t.Message.getFieldWithDefault(this, 1, "") - } - , - proto.mediapipe.CalculatorGraphConfig.Node.prototype.setName = function(e) { - return t.Message.setProto3StringField(this, 1, e) - } - , - proto.mediapipe.CalculatorGraphConfig.Node.prototype.getCalculator = function() { - return t.Message.getFieldWithDefault(this, 2, "") - } - , - proto.mediapipe.CalculatorGraphConfig.Node.prototype.setCalculator = function(e) { - return t.Message.setProto3StringField(this, 2, e) - } - , - proto.mediapipe.CalculatorGraphConfig.Node.prototype.getInputStreamList = function() { - return t.Message.getRepeatedField(this, 3) - } - , - proto.mediapipe.CalculatorGraphConfig.Node.prototype.setInputStreamList = function(e) { - return t.Message.setField(this, 3, e || []) - } - , - proto.mediapipe.CalculatorGraphConfig.Node.prototype.addInputStream = function(e, r) { - return t.Message.addToRepeatedField(this, 3, e, r) - } - , - proto.mediapipe.CalculatorGraphConfig.Node.prototype.clearInputStreamList = function() { - return this.setInputStreamList([]) - } - , - proto.mediapipe.CalculatorGraphConfig.Node.prototype.getOutputStreamList = function() { - return t.Message.getRepeatedField(this, 4) - } - , - proto.mediapipe.CalculatorGraphConfig.Node.prototype.setOutputStreamList = function(e) { - return t.Message.setField(this, 4, e || []) - } - , - proto.mediapipe.CalculatorGraphConfig.Node.prototype.addOutputStream = function(e, r) { - return t.Message.addToRepeatedField(this, 4, e, r) - } - , - proto.mediapipe.CalculatorGraphConfig.Node.prototype.clearOutputStreamList = function() { - return this.setOutputStreamList([]) - } - , - proto.mediapipe.CalculatorGraphConfig.Node.prototype.getInputSidePacketList = function() { - return t.Message.getRepeatedField(this, 5) - } - , - proto.mediapipe.CalculatorGraphConfig.Node.prototype.setInputSidePacketList = function(e) { - return t.Message.setField(this, 5, e || []) - } - , - proto.mediapipe.CalculatorGraphConfig.Node.prototype.addInputSidePacket = function(e, r) { - return t.Message.addToRepeatedField(this, 5, e, r) - } - , - proto.mediapipe.CalculatorGraphConfig.Node.prototype.clearInputSidePacketList = function() { - return this.setInputSidePacketList([]) - } - , - proto.mediapipe.CalculatorGraphConfig.Node.prototype.getOutputSidePacketList = function() { - return t.Message.getRepeatedField(this, 6) - } - , - proto.mediapipe.CalculatorGraphConfig.Node.prototype.setOutputSidePacketList = function(e) { - return t.Message.setField(this, 6, e || []) - } - , - proto.mediapipe.CalculatorGraphConfig.Node.prototype.addOutputSidePacket = function(e, r) { - return t.Message.addToRepeatedField(this, 6, e, r) - } - , - proto.mediapipe.CalculatorGraphConfig.Node.prototype.clearOutputSidePacketList = function() { - return this.setOutputSidePacketList([]) - } - , - proto.mediapipe.CalculatorGraphConfig.Node.prototype.getOptions = function() { - return t.Message.getWrapperField(this, i.CalculatorOptions, 7) - } - , - proto.mediapipe.CalculatorGraphConfig.Node.prototype.setOptions = function(e) { - return t.Message.setWrapperField(this, 7, e) - } - , - proto.mediapipe.CalculatorGraphConfig.Node.prototype.clearOptions = function() { - return this.setOptions(void 0) - } - , - proto.mediapipe.CalculatorGraphConfig.Node.prototype.hasOptions = function() { - return null != t.Message.getField(this, 7) - } - , - proto.mediapipe.CalculatorGraphConfig.Node.prototype.getNodeOptionsList = function() { - return t.Message.getRepeatedWrapperField(this, a.Any, 8) - } - , - proto.mediapipe.CalculatorGraphConfig.Node.prototype.setNodeOptionsList = function(e) { - return t.Message.setRepeatedWrapperField(this, 8, e) - } - , - proto.mediapipe.CalculatorGraphConfig.Node.prototype.addNodeOptions = function(e, r) { - return t.Message.addToRepeatedWrapperField(this, 8, e, proto.google.protobuf.Any, r) - } - , - proto.mediapipe.CalculatorGraphConfig.Node.prototype.clearNodeOptionsList = function() { - return this.setNodeOptionsList([]) - } - , - proto.mediapipe.CalculatorGraphConfig.Node.prototype.getSourceLayer = function() { - return t.Message.getFieldWithDefault(this, 9, 0) - } - , - proto.mediapipe.CalculatorGraphConfig.Node.prototype.setSourceLayer = function(e) { - return t.Message.setProto3IntField(this, 9, e) - } - , - proto.mediapipe.CalculatorGraphConfig.Node.prototype.getBufferSizeHint = function() { - return t.Message.getFieldWithDefault(this, 10, 0) - } - , - proto.mediapipe.CalculatorGraphConfig.Node.prototype.setBufferSizeHint = function(e) { - return t.Message.setProto3IntField(this, 10, e) - } - , - proto.mediapipe.CalculatorGraphConfig.Node.prototype.getInputStreamHandler = function() { - return t.Message.getWrapperField(this, l.InputStreamHandlerConfig, 11) - } - , - proto.mediapipe.CalculatorGraphConfig.Node.prototype.setInputStreamHandler = function(e) { - return t.Message.setWrapperField(this, 11, e) - } - , - proto.mediapipe.CalculatorGraphConfig.Node.prototype.clearInputStreamHandler = function() { - return this.setInputStreamHandler(void 0) - } - , - proto.mediapipe.CalculatorGraphConfig.Node.prototype.hasInputStreamHandler = function() { - return null != t.Message.getField(this, 11) - } - , - proto.mediapipe.CalculatorGraphConfig.Node.prototype.getOutputStreamHandler = function() { - return t.Message.getWrapperField(this, l.OutputStreamHandlerConfig, 12) - } - , - proto.mediapipe.CalculatorGraphConfig.Node.prototype.setOutputStreamHandler = function(e) { - return t.Message.setWrapperField(this, 12, e) - } - , - proto.mediapipe.CalculatorGraphConfig.Node.prototype.clearOutputStreamHandler = function() { - return this.setOutputStreamHandler(void 0) - } - , - proto.mediapipe.CalculatorGraphConfig.Node.prototype.hasOutputStreamHandler = function() { - return null != t.Message.getField(this, 12) - } - , - proto.mediapipe.CalculatorGraphConfig.Node.prototype.getInputStreamInfoList = function() { - return t.Message.getRepeatedWrapperField(this, proto.mediapipe.InputStreamInfo, 13) - } - , - proto.mediapipe.CalculatorGraphConfig.Node.prototype.setInputStreamInfoList = function(e) { - return t.Message.setRepeatedWrapperField(this, 13, e) - } - , - proto.mediapipe.CalculatorGraphConfig.Node.prototype.addInputStreamInfo = function(e, r) { - return t.Message.addToRepeatedWrapperField(this, 13, e, proto.mediapipe.InputStreamInfo, r) - } - , - proto.mediapipe.CalculatorGraphConfig.Node.prototype.clearInputStreamInfoList = function() { - return this.setInputStreamInfoList([]) - } - , - proto.mediapipe.CalculatorGraphConfig.Node.prototype.getExecutor = function() { - return t.Message.getFieldWithDefault(this, 14, "") - } - , - proto.mediapipe.CalculatorGraphConfig.Node.prototype.setExecutor = function(e) { - return t.Message.setProto3StringField(this, 14, e) - } - , - proto.mediapipe.CalculatorGraphConfig.Node.prototype.getProfilerConfig = function() { - return t.Message.getWrapperField(this, proto.mediapipe.ProfilerConfig, 15) - } - , - proto.mediapipe.CalculatorGraphConfig.Node.prototype.setProfilerConfig = function(e) { - return t.Message.setWrapperField(this, 15, e) - } - , - proto.mediapipe.CalculatorGraphConfig.Node.prototype.clearProfilerConfig = function() { - return this.setProfilerConfig(void 0) - } - , - proto.mediapipe.CalculatorGraphConfig.Node.prototype.hasProfilerConfig = function() { - return null != t.Message.getField(this, 15) - } - , - proto.mediapipe.CalculatorGraphConfig.Node.prototype.getMaxInFlight = function() { - return t.Message.getFieldWithDefault(this, 16, 0) - } - , - proto.mediapipe.CalculatorGraphConfig.Node.prototype.setMaxInFlight = function(e) { - return t.Message.setProto3IntField(this, 16, e) - } - , - proto.mediapipe.CalculatorGraphConfig.Node.prototype.getOptionValueList = function() { - return t.Message.getRepeatedField(this, 17) - } - , - proto.mediapipe.CalculatorGraphConfig.Node.prototype.setOptionValueList = function(e) { - return t.Message.setField(this, 17, e || []) - } - , - proto.mediapipe.CalculatorGraphConfig.Node.prototype.addOptionValue = function(e, r) { - return t.Message.addToRepeatedField(this, 17, e, r) - } - , - proto.mediapipe.CalculatorGraphConfig.Node.prototype.clearOptionValueList = function() { - return this.setOptionValueList([]) - } - , - proto.mediapipe.CalculatorGraphConfig.Node.prototype.getExternalInputList = function() { - return t.Message.getRepeatedField(this, 1005) - } - , - proto.mediapipe.CalculatorGraphConfig.Node.prototype.setExternalInputList = function(e) { - return t.Message.setField(this, 1005, e || []) - } - , - proto.mediapipe.CalculatorGraphConfig.Node.prototype.addExternalInput = function(e, r) { - return t.Message.addToRepeatedField(this, 1005, e, r) - } - , - proto.mediapipe.CalculatorGraphConfig.Node.prototype.clearExternalInputList = function() { - return this.setExternalInputList([]) - } - , - proto.mediapipe.CalculatorGraphConfig.prototype.getNodeList = function() { - return t.Message.getRepeatedWrapperField(this, proto.mediapipe.CalculatorGraphConfig.Node, 1) - } - , - proto.mediapipe.CalculatorGraphConfig.prototype.setNodeList = function(e) { - return t.Message.setRepeatedWrapperField(this, 1, e) - } - , - proto.mediapipe.CalculatorGraphConfig.prototype.addNode = function(e, r) { - return t.Message.addToRepeatedWrapperField(this, 1, e, proto.mediapipe.CalculatorGraphConfig.Node, r) - } - , - proto.mediapipe.CalculatorGraphConfig.prototype.clearNodeList = function() { - return this.setNodeList([]) - } - , - proto.mediapipe.CalculatorGraphConfig.prototype.getPacketFactoryList = function() { - return t.Message.getRepeatedWrapperField(this, s.PacketFactoryConfig, 6) - } - , - proto.mediapipe.CalculatorGraphConfig.prototype.setPacketFactoryList = function(e) { - return t.Message.setRepeatedWrapperField(this, 6, e) - } - , - proto.mediapipe.CalculatorGraphConfig.prototype.addPacketFactory = function(e, r) { - return t.Message.addToRepeatedWrapperField(this, 6, e, proto.mediapipe.PacketFactoryConfig, r) - } - , - proto.mediapipe.CalculatorGraphConfig.prototype.clearPacketFactoryList = function() { - return this.setPacketFactoryList([]) - } - , - proto.mediapipe.CalculatorGraphConfig.prototype.getPacketGeneratorList = function() { - return t.Message.getRepeatedWrapperField(this, p.PacketGeneratorConfig, 7) - } - , - proto.mediapipe.CalculatorGraphConfig.prototype.setPacketGeneratorList = function(e) { - return t.Message.setRepeatedWrapperField(this, 7, e) - } - , - proto.mediapipe.CalculatorGraphConfig.prototype.addPacketGenerator = function(e, r) { - return t.Message.addToRepeatedWrapperField(this, 7, e, proto.mediapipe.PacketGeneratorConfig, r) - } - , - proto.mediapipe.CalculatorGraphConfig.prototype.clearPacketGeneratorList = function() { - return this.setPacketGeneratorList([]) - } - , - proto.mediapipe.CalculatorGraphConfig.prototype.getNumThreads = function() { - return t.Message.getFieldWithDefault(this, 8, 0) - } - , - proto.mediapipe.CalculatorGraphConfig.prototype.setNumThreads = function(e) { - return t.Message.setProto3IntField(this, 8, e) - } - , - proto.mediapipe.CalculatorGraphConfig.prototype.getStatusHandlerList = function() { - return t.Message.getRepeatedWrapperField(this, d.StatusHandlerConfig, 9) - } - , - proto.mediapipe.CalculatorGraphConfig.prototype.setStatusHandlerList = function(e) { - return t.Message.setRepeatedWrapperField(this, 9, e) - } - , - proto.mediapipe.CalculatorGraphConfig.prototype.addStatusHandler = function(e, r) { - return t.Message.addToRepeatedWrapperField(this, 9, e, proto.mediapipe.StatusHandlerConfig, r) - } - , - proto.mediapipe.CalculatorGraphConfig.prototype.clearStatusHandlerList = function() { - return this.setStatusHandlerList([]) - } - , - proto.mediapipe.CalculatorGraphConfig.prototype.getInputStreamList = function() { - return t.Message.getRepeatedField(this, 10) - } - , - proto.mediapipe.CalculatorGraphConfig.prototype.setInputStreamList = function(e) { - return t.Message.setField(this, 10, e || []) - } - , - proto.mediapipe.CalculatorGraphConfig.prototype.addInputStream = function(e, r) { - return t.Message.addToRepeatedField(this, 10, e, r) - } - , - proto.mediapipe.CalculatorGraphConfig.prototype.clearInputStreamList = function() { - return this.setInputStreamList([]) - } - , - proto.mediapipe.CalculatorGraphConfig.prototype.getOutputStreamList = function() { - return t.Message.getRepeatedField(this, 15) - } - , - proto.mediapipe.CalculatorGraphConfig.prototype.setOutputStreamList = function(e) { - return t.Message.setField(this, 15, e || []) - } - , - proto.mediapipe.CalculatorGraphConfig.prototype.addOutputStream = function(e, r) { - return t.Message.addToRepeatedField(this, 15, e, r) - } - , - proto.mediapipe.CalculatorGraphConfig.prototype.clearOutputStreamList = function() { - return this.setOutputStreamList([]) - } - , - proto.mediapipe.CalculatorGraphConfig.prototype.getInputSidePacketList = function() { - return t.Message.getRepeatedField(this, 16) - } - , - proto.mediapipe.CalculatorGraphConfig.prototype.setInputSidePacketList = function(e) { - return t.Message.setField(this, 16, e || []) - } - , - proto.mediapipe.CalculatorGraphConfig.prototype.addInputSidePacket = function(e, r) { - return t.Message.addToRepeatedField(this, 16, e, r) - } - , - proto.mediapipe.CalculatorGraphConfig.prototype.clearInputSidePacketList = function() { - return this.setInputSidePacketList([]) - } - , - proto.mediapipe.CalculatorGraphConfig.prototype.getOutputSidePacketList = function() { - return t.Message.getRepeatedField(this, 17) - } - , - proto.mediapipe.CalculatorGraphConfig.prototype.setOutputSidePacketList = function(e) { - return t.Message.setField(this, 17, e || []) - } - , - proto.mediapipe.CalculatorGraphConfig.prototype.addOutputSidePacket = function(e, r) { - return t.Message.addToRepeatedField(this, 17, e, r) - } - , - proto.mediapipe.CalculatorGraphConfig.prototype.clearOutputSidePacketList = function() { - return this.setOutputSidePacketList([]) - } - , - proto.mediapipe.CalculatorGraphConfig.prototype.getMaxQueueSize = function() { - return t.Message.getFieldWithDefault(this, 11, 0) - } - , - proto.mediapipe.CalculatorGraphConfig.prototype.setMaxQueueSize = function(e) { - return t.Message.setProto3IntField(this, 11, e) - } - , - proto.mediapipe.CalculatorGraphConfig.prototype.getReportDeadlock = function() { - return t.Message.getBooleanFieldWithDefault(this, 21, !1) - } - , - proto.mediapipe.CalculatorGraphConfig.prototype.setReportDeadlock = function(e) { - return t.Message.setProto3BooleanField(this, 21, e) - } - , - proto.mediapipe.CalculatorGraphConfig.prototype.getInputStreamHandler = function() { - return t.Message.getWrapperField(this, l.InputStreamHandlerConfig, 12) - } - , - proto.mediapipe.CalculatorGraphConfig.prototype.setInputStreamHandler = function(e) { - return t.Message.setWrapperField(this, 12, e) - } - , - proto.mediapipe.CalculatorGraphConfig.prototype.clearInputStreamHandler = function() { - return this.setInputStreamHandler(void 0) - } - , - proto.mediapipe.CalculatorGraphConfig.prototype.hasInputStreamHandler = function() { - return null != t.Message.getField(this, 12) - } - , - proto.mediapipe.CalculatorGraphConfig.prototype.getOutputStreamHandler = function() { - return t.Message.getWrapperField(this, l.OutputStreamHandlerConfig, 13) - } - , - proto.mediapipe.CalculatorGraphConfig.prototype.setOutputStreamHandler = function(e) { - return t.Message.setWrapperField(this, 13, e) - } - , - proto.mediapipe.CalculatorGraphConfig.prototype.clearOutputStreamHandler = function() { - return this.setOutputStreamHandler(void 0) - } - , - proto.mediapipe.CalculatorGraphConfig.prototype.hasOutputStreamHandler = function() { - return null != t.Message.getField(this, 13) - } - , - proto.mediapipe.CalculatorGraphConfig.prototype.getExecutorList = function() { - return t.Message.getRepeatedWrapperField(this, proto.mediapipe.ExecutorConfig, 14) - } - , - proto.mediapipe.CalculatorGraphConfig.prototype.setExecutorList = function(e) { - return t.Message.setRepeatedWrapperField(this, 14, e) - } - , - proto.mediapipe.CalculatorGraphConfig.prototype.addExecutor = function(e, r) { - return t.Message.addToRepeatedWrapperField(this, 14, e, proto.mediapipe.ExecutorConfig, r) - } - , - proto.mediapipe.CalculatorGraphConfig.prototype.clearExecutorList = function() { - return this.setExecutorList([]) - } - , - proto.mediapipe.CalculatorGraphConfig.prototype.getProfilerConfig = function() { - return t.Message.getWrapperField(this, proto.mediapipe.ProfilerConfig, 18) - } - , - proto.mediapipe.CalculatorGraphConfig.prototype.setProfilerConfig = function(e) { - return t.Message.setWrapperField(this, 18, e) - } - , - proto.mediapipe.CalculatorGraphConfig.prototype.clearProfilerConfig = function() { - return this.setProfilerConfig(void 0) - } - , - proto.mediapipe.CalculatorGraphConfig.prototype.hasProfilerConfig = function() { - return null != t.Message.getField(this, 18) - } - , - proto.mediapipe.CalculatorGraphConfig.prototype.getPackage = function() { - return t.Message.getFieldWithDefault(this, 19, "") - } - , - proto.mediapipe.CalculatorGraphConfig.prototype.setPackage = function(e) { - return t.Message.setProto3StringField(this, 19, e) - } - , - proto.mediapipe.CalculatorGraphConfig.prototype.getType = function() { - return t.Message.getFieldWithDefault(this, 20, "") - } - , - proto.mediapipe.CalculatorGraphConfig.prototype.setType = function(e) { - return t.Message.setProto3StringField(this, 20, e) - } - , - proto.mediapipe.CalculatorGraphConfig.prototype.getOptions = function() { - return t.Message.getWrapperField(this, n.MediaPipeOptions, 1001) - } - , - proto.mediapipe.CalculatorGraphConfig.prototype.setOptions = function(e) { - return t.Message.setWrapperField(this, 1001, e) - } - , - proto.mediapipe.CalculatorGraphConfig.prototype.clearOptions = function() { - return this.setOptions(void 0) - } - , - proto.mediapipe.CalculatorGraphConfig.prototype.hasOptions = function() { - return null != t.Message.getField(this, 1001) - } - , - proto.mediapipe.CalculatorGraphConfig.prototype.getGraphOptionsList = function() { - return t.Message.getRepeatedWrapperField(this, a.Any, 1002) - } - , - proto.mediapipe.CalculatorGraphConfig.prototype.setGraphOptionsList = function(e) { - return t.Message.setRepeatedWrapperField(this, 1002, e) - } - , - proto.mediapipe.CalculatorGraphConfig.prototype.addGraphOptions = function(e, r) { - return t.Message.addToRepeatedWrapperField(this, 1002, e, proto.google.protobuf.Any, r) - } - , - proto.mediapipe.CalculatorGraphConfig.prototype.clearGraphOptionsList = function() { - return this.setGraphOptionsList([]) - } - , - r.object.extend(e, proto.mediapipe) -}(calculator_pb); -var detection_pb = {} - , location_data_pb = {} - , rasterization_pb = {}; -!function(e) { - var t = googleProtobuf - , r = t - , o = "undefined" != typeof globalThis && globalThis || "undefined" != typeof window && window || void 0 !== o && o || "undefined" != typeof self && self || function() { - return this - } - .call(null) || Function("return this")(); - r.exportSymbol("proto.mediapipe.Rasterization", null, o), - r.exportSymbol("proto.mediapipe.Rasterization.Interval", null, o), - proto.mediapipe.Rasterization = function(e) { - t.Message.initialize(this, e, 0, -1, proto.mediapipe.Rasterization.repeatedFields_, null) - } - , - r.inherits(proto.mediapipe.Rasterization, t.Message), - r.DEBUG && !COMPILED && (proto.mediapipe.Rasterization.displayName = "proto.mediapipe.Rasterization"), - proto.mediapipe.Rasterization.Interval = function(e) { - t.Message.initialize(this, e, 0, -1, null, null) - } - , - r.inherits(proto.mediapipe.Rasterization.Interval, t.Message), - r.DEBUG && !COMPILED && (proto.mediapipe.Rasterization.Interval.displayName = "proto.mediapipe.Rasterization.Interval"), - proto.mediapipe.Rasterization.repeatedFields_ = [1], - t.Message.GENERATE_TO_OBJECT && (proto.mediapipe.Rasterization.prototype.toObject = function(e) { - return proto.mediapipe.Rasterization.toObject(e, this) - } - , - proto.mediapipe.Rasterization.toObject = function(e, r) { - var o = { - intervalList: t.Message.toObjectList(r.getIntervalList(), proto.mediapipe.Rasterization.Interval.toObject, e) - }; - return e && (o.$jspbMessageInstance = r), - o - } - ), - proto.mediapipe.Rasterization.deserializeBinary = function(e) { - var r = new t.BinaryReader(e) - , o = new proto.mediapipe.Rasterization; - return proto.mediapipe.Rasterization.deserializeBinaryFromReader(o, r) - } - , - proto.mediapipe.Rasterization.deserializeBinaryFromReader = function(e, t) { - for (; t.nextField() && !t.isEndGroup(); ) { - if (1 === t.getFieldNumber()) { - var r = new proto.mediapipe.Rasterization.Interval; - t.readMessage(r, proto.mediapipe.Rasterization.Interval.deserializeBinaryFromReader), - e.addInterval(r) - } else - t.skipField() - } - return e - } - , - proto.mediapipe.Rasterization.prototype.serializeBinary = function() { - var e = new t.BinaryWriter; - return proto.mediapipe.Rasterization.serializeBinaryToWriter(this, e), - e.getResultBuffer() - } - , - proto.mediapipe.Rasterization.serializeBinaryToWriter = function(e, t) { - var r; - (r = e.getIntervalList()).length > 0 && t.writeRepeatedMessage(1, r, proto.mediapipe.Rasterization.Interval.serializeBinaryToWriter) - } - , - t.Message.GENERATE_TO_OBJECT && (proto.mediapipe.Rasterization.Interval.prototype.toObject = function(e) { - return proto.mediapipe.Rasterization.Interval.toObject(e, this) - } - , - proto.mediapipe.Rasterization.Interval.toObject = function(e, r) { - var o, i = { - y: null == (o = t.Message.getField(r, 1)) ? void 0 : o, - leftX: null == (o = t.Message.getField(r, 2)) ? void 0 : o, - rightX: null == (o = t.Message.getField(r, 3)) ? void 0 : o - }; - return e && (i.$jspbMessageInstance = r), - i - } - ), - proto.mediapipe.Rasterization.Interval.deserializeBinary = function(e) { - var r = new t.BinaryReader(e) - , o = new proto.mediapipe.Rasterization.Interval; - return proto.mediapipe.Rasterization.Interval.deserializeBinaryFromReader(o, r) - } - , - proto.mediapipe.Rasterization.Interval.deserializeBinaryFromReader = function(e, t) { - for (; t.nextField() && !t.isEndGroup(); ) { - switch (t.getFieldNumber()) { - case 1: - var r = t.readInt32(); - e.setY(r); - break; - case 2: - r = t.readInt32(); - e.setLeftX(r); - break; - case 3: - r = t.readInt32(); - e.setRightX(r); - break; - default: - t.skipField() - } - } - return e - } - , - proto.mediapipe.Rasterization.Interval.prototype.serializeBinary = function() { - var e = new t.BinaryWriter; - return proto.mediapipe.Rasterization.Interval.serializeBinaryToWriter(this, e), - e.getResultBuffer() - } - , - proto.mediapipe.Rasterization.Interval.serializeBinaryToWriter = function(e, r) { - var o = void 0; - null != (o = t.Message.getField(e, 1)) && r.writeInt32(1, o), - null != (o = t.Message.getField(e, 2)) && r.writeInt32(2, o), - null != (o = t.Message.getField(e, 3)) && r.writeInt32(3, o) - } - , - proto.mediapipe.Rasterization.Interval.prototype.getY = function() { - return t.Message.getFieldWithDefault(this, 1, 0) - } - , - proto.mediapipe.Rasterization.Interval.prototype.setY = function(e) { - return t.Message.setField(this, 1, e) - } - , - proto.mediapipe.Rasterization.Interval.prototype.clearY = function() { - return t.Message.setField(this, 1, void 0) - } - , - proto.mediapipe.Rasterization.Interval.prototype.hasY = function() { - return null != t.Message.getField(this, 1) - } - , - proto.mediapipe.Rasterization.Interval.prototype.getLeftX = function() { - return t.Message.getFieldWithDefault(this, 2, 0) - } - , - proto.mediapipe.Rasterization.Interval.prototype.setLeftX = function(e) { - return t.Message.setField(this, 2, e) - } - , - proto.mediapipe.Rasterization.Interval.prototype.clearLeftX = function() { - return t.Message.setField(this, 2, void 0) - } - , - proto.mediapipe.Rasterization.Interval.prototype.hasLeftX = function() { - return null != t.Message.getField(this, 2) - } - , - proto.mediapipe.Rasterization.Interval.prototype.getRightX = function() { - return t.Message.getFieldWithDefault(this, 3, 0) - } - , - proto.mediapipe.Rasterization.Interval.prototype.setRightX = function(e) { - return t.Message.setField(this, 3, e) - } - , - proto.mediapipe.Rasterization.Interval.prototype.clearRightX = function() { - return t.Message.setField(this, 3, void 0) - } - , - proto.mediapipe.Rasterization.Interval.prototype.hasRightX = function() { - return null != t.Message.getField(this, 3) - } - , - proto.mediapipe.Rasterization.prototype.getIntervalList = function() { - return t.Message.getRepeatedWrapperField(this, proto.mediapipe.Rasterization.Interval, 1) - } - , - proto.mediapipe.Rasterization.prototype.setIntervalList = function(e) { - return t.Message.setRepeatedWrapperField(this, 1, e) - } - , - proto.mediapipe.Rasterization.prototype.addInterval = function(e, r) { - return t.Message.addToRepeatedWrapperField(this, 1, e, proto.mediapipe.Rasterization.Interval, r) - } - , - proto.mediapipe.Rasterization.prototype.clearIntervalList = function() { - return this.setIntervalList([]) - } - , - r.object.extend(e, proto.mediapipe) -}(rasterization_pb), -function(e) { - var t = googleProtobuf - , r = t - , o = "undefined" != typeof globalThis && globalThis || "undefined" != typeof window && window || void 0 !== o && o || "undefined" != typeof self && self || function() { - return this - } - .call(null) || Function("return this")() - , i = rasterization_pb; - r.object.extend(proto, i), - r.exportSymbol("proto.mediapipe.LocationData", null, o), - r.exportSymbol("proto.mediapipe.LocationData.BinaryMask", null, o), - r.exportSymbol("proto.mediapipe.LocationData.BoundingBox", null, o), - r.exportSymbol("proto.mediapipe.LocationData.Format", null, o), - r.exportSymbol("proto.mediapipe.LocationData.RelativeBoundingBox", null, o), - r.exportSymbol("proto.mediapipe.LocationData.RelativeKeypoint", null, o), - proto.mediapipe.LocationData = function(e) { - t.Message.initialize(this, e, 0, -1, proto.mediapipe.LocationData.repeatedFields_, null) - } - , - r.inherits(proto.mediapipe.LocationData, t.Message), - r.DEBUG && !COMPILED && (proto.mediapipe.LocationData.displayName = "proto.mediapipe.LocationData"), - proto.mediapipe.LocationData.BoundingBox = function(e) { - t.Message.initialize(this, e, 0, -1, null, null) - } - , - r.inherits(proto.mediapipe.LocationData.BoundingBox, t.Message), - r.DEBUG && !COMPILED && (proto.mediapipe.LocationData.BoundingBox.displayName = "proto.mediapipe.LocationData.BoundingBox"), - proto.mediapipe.LocationData.RelativeBoundingBox = function(e) { - t.Message.initialize(this, e, 0, -1, null, null) - } - , - r.inherits(proto.mediapipe.LocationData.RelativeBoundingBox, t.Message), - r.DEBUG && !COMPILED && (proto.mediapipe.LocationData.RelativeBoundingBox.displayName = "proto.mediapipe.LocationData.RelativeBoundingBox"), - proto.mediapipe.LocationData.BinaryMask = function(e) { - t.Message.initialize(this, e, 0, -1, null, null) - } - , - r.inherits(proto.mediapipe.LocationData.BinaryMask, t.Message), - r.DEBUG && !COMPILED && (proto.mediapipe.LocationData.BinaryMask.displayName = "proto.mediapipe.LocationData.BinaryMask"), - proto.mediapipe.LocationData.RelativeKeypoint = function(e) { - t.Message.initialize(this, e, 0, -1, null, null) - } - , - r.inherits(proto.mediapipe.LocationData.RelativeKeypoint, t.Message), - r.DEBUG && !COMPILED && (proto.mediapipe.LocationData.RelativeKeypoint.displayName = "proto.mediapipe.LocationData.RelativeKeypoint"), - proto.mediapipe.LocationData.repeatedFields_ = [5], - t.Message.GENERATE_TO_OBJECT && (proto.mediapipe.LocationData.prototype.toObject = function(e) { - return proto.mediapipe.LocationData.toObject(e, this) - } - , - proto.mediapipe.LocationData.toObject = function(e, r) { - var o, i = { - format: null == (o = t.Message.getField(r, 1)) ? void 0 : o, - boundingBox: (o = r.getBoundingBox()) && proto.mediapipe.LocationData.BoundingBox.toObject(e, o), - relativeBoundingBox: (o = r.getRelativeBoundingBox()) && proto.mediapipe.LocationData.RelativeBoundingBox.toObject(e, o), - mask: (o = r.getMask()) && proto.mediapipe.LocationData.BinaryMask.toObject(e, o), - relativeKeypointsList: t.Message.toObjectList(r.getRelativeKeypointsList(), proto.mediapipe.LocationData.RelativeKeypoint.toObject, e) - }; - return e && (i.$jspbMessageInstance = r), - i - } - ), - proto.mediapipe.LocationData.deserializeBinary = function(e) { - var r = new t.BinaryReader(e) - , o = new proto.mediapipe.LocationData; - return proto.mediapipe.LocationData.deserializeBinaryFromReader(o, r) - } - , - proto.mediapipe.LocationData.deserializeBinaryFromReader = function(e, t) { - for (; t.nextField() && !t.isEndGroup(); ) { - switch (t.getFieldNumber()) { - case 1: - var r = t.readEnum(); - e.setFormat(r); - break; - case 2: - r = new proto.mediapipe.LocationData.BoundingBox; - t.readMessage(r, proto.mediapipe.LocationData.BoundingBox.deserializeBinaryFromReader), - e.setBoundingBox(r); - break; - case 3: - r = new proto.mediapipe.LocationData.RelativeBoundingBox; - t.readMessage(r, proto.mediapipe.LocationData.RelativeBoundingBox.deserializeBinaryFromReader), - e.setRelativeBoundingBox(r); - break; - case 4: - r = new proto.mediapipe.LocationData.BinaryMask; - t.readMessage(r, proto.mediapipe.LocationData.BinaryMask.deserializeBinaryFromReader), - e.setMask(r); - break; - case 5: - r = new proto.mediapipe.LocationData.RelativeKeypoint; - t.readMessage(r, proto.mediapipe.LocationData.RelativeKeypoint.deserializeBinaryFromReader), - e.addRelativeKeypoints(r); - break; - default: - t.skipField() - } - } - return e - } - , - proto.mediapipe.LocationData.prototype.serializeBinary = function() { - var e = new t.BinaryWriter; - return proto.mediapipe.LocationData.serializeBinaryToWriter(this, e), - e.getResultBuffer() - } - , - proto.mediapipe.LocationData.serializeBinaryToWriter = function(e, r) { - var o = void 0; - null != (o = t.Message.getField(e, 1)) && r.writeEnum(1, o), - null != (o = e.getBoundingBox()) && r.writeMessage(2, o, proto.mediapipe.LocationData.BoundingBox.serializeBinaryToWriter), - null != (o = e.getRelativeBoundingBox()) && r.writeMessage(3, o, proto.mediapipe.LocationData.RelativeBoundingBox.serializeBinaryToWriter), - null != (o = e.getMask()) && r.writeMessage(4, o, proto.mediapipe.LocationData.BinaryMask.serializeBinaryToWriter), - (o = e.getRelativeKeypointsList()).length > 0 && r.writeRepeatedMessage(5, o, proto.mediapipe.LocationData.RelativeKeypoint.serializeBinaryToWriter) - } - , - proto.mediapipe.LocationData.Format = { - GLOBAL: 0, - BOUNDING_BOX: 1, - RELATIVE_BOUNDING_BOX: 2, - MASK: 3 - }, - t.Message.GENERATE_TO_OBJECT && (proto.mediapipe.LocationData.BoundingBox.prototype.toObject = function(e) { - return proto.mediapipe.LocationData.BoundingBox.toObject(e, this) - } - , - proto.mediapipe.LocationData.BoundingBox.toObject = function(e, r) { - var o, i = { - xmin: null == (o = t.Message.getField(r, 1)) ? void 0 : o, - ymin: null == (o = t.Message.getField(r, 2)) ? void 0 : o, - width: null == (o = t.Message.getField(r, 3)) ? void 0 : o, - height: null == (o = t.Message.getField(r, 4)) ? void 0 : o - }; - return e && (i.$jspbMessageInstance = r), - i - } - ), - proto.mediapipe.LocationData.BoundingBox.deserializeBinary = function(e) { - var r = new t.BinaryReader(e) - , o = new proto.mediapipe.LocationData.BoundingBox; - return proto.mediapipe.LocationData.BoundingBox.deserializeBinaryFromReader(o, r) - } - , - proto.mediapipe.LocationData.BoundingBox.deserializeBinaryFromReader = function(e, t) { - for (; t.nextField() && !t.isEndGroup(); ) { - switch (t.getFieldNumber()) { - case 1: - var r = t.readInt32(); - e.setXmin(r); - break; - case 2: - r = t.readInt32(); - e.setYmin(r); - break; - case 3: - r = t.readInt32(); - e.setWidth(r); - break; - case 4: - r = t.readInt32(); - e.setHeight(r); - break; - default: - t.skipField() - } - } - return e - } - , - proto.mediapipe.LocationData.BoundingBox.prototype.serializeBinary = function() { - var e = new t.BinaryWriter; - return proto.mediapipe.LocationData.BoundingBox.serializeBinaryToWriter(this, e), - e.getResultBuffer() - } - , - proto.mediapipe.LocationData.BoundingBox.serializeBinaryToWriter = function(e, r) { - var o = void 0; - null != (o = t.Message.getField(e, 1)) && r.writeInt32(1, o), - null != (o = t.Message.getField(e, 2)) && r.writeInt32(2, o), - null != (o = t.Message.getField(e, 3)) && r.writeInt32(3, o), - null != (o = t.Message.getField(e, 4)) && r.writeInt32(4, o) - } - , - proto.mediapipe.LocationData.BoundingBox.prototype.getXmin = function() { - return t.Message.getFieldWithDefault(this, 1, 0) - } - , - proto.mediapipe.LocationData.BoundingBox.prototype.setXmin = function(e) { - return t.Message.setField(this, 1, e) - } - , - proto.mediapipe.LocationData.BoundingBox.prototype.clearXmin = function() { - return t.Message.setField(this, 1, void 0) - } - , - proto.mediapipe.LocationData.BoundingBox.prototype.hasXmin = function() { - return null != t.Message.getField(this, 1) - } - , - proto.mediapipe.LocationData.BoundingBox.prototype.getYmin = function() { - return t.Message.getFieldWithDefault(this, 2, 0) - } - , - proto.mediapipe.LocationData.BoundingBox.prototype.setYmin = function(e) { - return t.Message.setField(this, 2, e) - } - , - proto.mediapipe.LocationData.BoundingBox.prototype.clearYmin = function() { - return t.Message.setField(this, 2, void 0) - } - , - proto.mediapipe.LocationData.BoundingBox.prototype.hasYmin = function() { - return null != t.Message.getField(this, 2) - } - , - proto.mediapipe.LocationData.BoundingBox.prototype.getWidth = function() { - return t.Message.getFieldWithDefault(this, 3, 0) - } - , - proto.mediapipe.LocationData.BoundingBox.prototype.setWidth = function(e) { - return t.Message.setField(this, 3, e) - } - , - proto.mediapipe.LocationData.BoundingBox.prototype.clearWidth = function() { - return t.Message.setField(this, 3, void 0) - } - , - proto.mediapipe.LocationData.BoundingBox.prototype.hasWidth = function() { - return null != t.Message.getField(this, 3) - } - , - proto.mediapipe.LocationData.BoundingBox.prototype.getHeight = function() { - return t.Message.getFieldWithDefault(this, 4, 0) - } - , - proto.mediapipe.LocationData.BoundingBox.prototype.setHeight = function(e) { - return t.Message.setField(this, 4, e) - } - , - proto.mediapipe.LocationData.BoundingBox.prototype.clearHeight = function() { - return t.Message.setField(this, 4, void 0) - } - , - proto.mediapipe.LocationData.BoundingBox.prototype.hasHeight = function() { - return null != t.Message.getField(this, 4) - } - , - t.Message.GENERATE_TO_OBJECT && (proto.mediapipe.LocationData.RelativeBoundingBox.prototype.toObject = function(e) { - return proto.mediapipe.LocationData.RelativeBoundingBox.toObject(e, this) - } - , - proto.mediapipe.LocationData.RelativeBoundingBox.toObject = function(e, r) { - var o, i = { - xmin: null == (o = t.Message.getOptionalFloatingPointField(r, 1)) ? void 0 : o, - ymin: null == (o = t.Message.getOptionalFloatingPointField(r, 2)) ? void 0 : o, - width: null == (o = t.Message.getOptionalFloatingPointField(r, 3)) ? void 0 : o, - height: null == (o = t.Message.getOptionalFloatingPointField(r, 4)) ? void 0 : o - }; - return e && (i.$jspbMessageInstance = r), - i - } - ), - proto.mediapipe.LocationData.RelativeBoundingBox.deserializeBinary = function(e) { - var r = new t.BinaryReader(e) - , o = new proto.mediapipe.LocationData.RelativeBoundingBox; - return proto.mediapipe.LocationData.RelativeBoundingBox.deserializeBinaryFromReader(o, r) - } - , - proto.mediapipe.LocationData.RelativeBoundingBox.deserializeBinaryFromReader = function(e, t) { - for (; t.nextField() && !t.isEndGroup(); ) { - switch (t.getFieldNumber()) { - case 1: - var r = t.readFloat(); - e.setXmin(r); - break; - case 2: - r = t.readFloat(); - e.setYmin(r); - break; - case 3: - r = t.readFloat(); - e.setWidth(r); - break; - case 4: - r = t.readFloat(); - e.setHeight(r); - break; - default: - t.skipField() - } - } - return e - } - , - proto.mediapipe.LocationData.RelativeBoundingBox.prototype.serializeBinary = function() { - var e = new t.BinaryWriter; - return proto.mediapipe.LocationData.RelativeBoundingBox.serializeBinaryToWriter(this, e), - e.getResultBuffer() - } - , - proto.mediapipe.LocationData.RelativeBoundingBox.serializeBinaryToWriter = function(e, r) { - var o = void 0; - null != (o = t.Message.getField(e, 1)) && r.writeFloat(1, o), - null != (o = t.Message.getField(e, 2)) && r.writeFloat(2, o), - null != (o = t.Message.getField(e, 3)) && r.writeFloat(3, o), - null != (o = t.Message.getField(e, 4)) && r.writeFloat(4, o) - } - , - proto.mediapipe.LocationData.RelativeBoundingBox.prototype.getXmin = function() { - return t.Message.getFloatingPointFieldWithDefault(this, 1, 0) - } - , - proto.mediapipe.LocationData.RelativeBoundingBox.prototype.setXmin = function(e) { - return t.Message.setField(this, 1, e) - } - , - proto.mediapipe.LocationData.RelativeBoundingBox.prototype.clearXmin = function() { - return t.Message.setField(this, 1, void 0) - } - , - proto.mediapipe.LocationData.RelativeBoundingBox.prototype.hasXmin = function() { - return null != t.Message.getField(this, 1) - } - , - proto.mediapipe.LocationData.RelativeBoundingBox.prototype.getYmin = function() { - return t.Message.getFloatingPointFieldWithDefault(this, 2, 0) - } - , - proto.mediapipe.LocationData.RelativeBoundingBox.prototype.setYmin = function(e) { - return t.Message.setField(this, 2, e) - } - , - proto.mediapipe.LocationData.RelativeBoundingBox.prototype.clearYmin = function() { - return t.Message.setField(this, 2, void 0) - } - , - proto.mediapipe.LocationData.RelativeBoundingBox.prototype.hasYmin = function() { - return null != t.Message.getField(this, 2) - } - , - proto.mediapipe.LocationData.RelativeBoundingBox.prototype.getWidth = function() { - return t.Message.getFloatingPointFieldWithDefault(this, 3, 0) - } - , - proto.mediapipe.LocationData.RelativeBoundingBox.prototype.setWidth = function(e) { - return t.Message.setField(this, 3, e) - } - , - proto.mediapipe.LocationData.RelativeBoundingBox.prototype.clearWidth = function() { - return t.Message.setField(this, 3, void 0) - } - , - proto.mediapipe.LocationData.RelativeBoundingBox.prototype.hasWidth = function() { - return null != t.Message.getField(this, 3) - } - , - proto.mediapipe.LocationData.RelativeBoundingBox.prototype.getHeight = function() { - return t.Message.getFloatingPointFieldWithDefault(this, 4, 0) - } - , - proto.mediapipe.LocationData.RelativeBoundingBox.prototype.setHeight = function(e) { - return t.Message.setField(this, 4, e) - } - , - proto.mediapipe.LocationData.RelativeBoundingBox.prototype.clearHeight = function() { - return t.Message.setField(this, 4, void 0) - } - , - proto.mediapipe.LocationData.RelativeBoundingBox.prototype.hasHeight = function() { - return null != t.Message.getField(this, 4) - } - , - t.Message.GENERATE_TO_OBJECT && (proto.mediapipe.LocationData.BinaryMask.prototype.toObject = function(e) { - return proto.mediapipe.LocationData.BinaryMask.toObject(e, this) - } - , - proto.mediapipe.LocationData.BinaryMask.toObject = function(e, r) { - var o, a = { - width: null == (o = t.Message.getField(r, 1)) ? void 0 : o, - height: null == (o = t.Message.getField(r, 2)) ? void 0 : o, - rasterization: (o = r.getRasterization()) && i.Rasterization.toObject(e, o) - }; - return e && (a.$jspbMessageInstance = r), - a - } - ), - proto.mediapipe.LocationData.BinaryMask.deserializeBinary = function(e) { - var r = new t.BinaryReader(e) - , o = new proto.mediapipe.LocationData.BinaryMask; - return proto.mediapipe.LocationData.BinaryMask.deserializeBinaryFromReader(o, r) - } - , - proto.mediapipe.LocationData.BinaryMask.deserializeBinaryFromReader = function(e, t) { - for (; t.nextField() && !t.isEndGroup(); ) { - switch (t.getFieldNumber()) { - case 1: - var r = t.readInt32(); - e.setWidth(r); - break; - case 2: - r = t.readInt32(); - e.setHeight(r); - break; - case 3: - r = new i.Rasterization; - t.readMessage(r, i.Rasterization.deserializeBinaryFromReader), - e.setRasterization(r); - break; - default: - t.skipField() - } - } - return e - } - , - proto.mediapipe.LocationData.BinaryMask.prototype.serializeBinary = function() { - var e = new t.BinaryWriter; - return proto.mediapipe.LocationData.BinaryMask.serializeBinaryToWriter(this, e), - e.getResultBuffer() - } - , - proto.mediapipe.LocationData.BinaryMask.serializeBinaryToWriter = function(e, r) { - var o = void 0; - null != (o = t.Message.getField(e, 1)) && r.writeInt32(1, o), - null != (o = t.Message.getField(e, 2)) && r.writeInt32(2, o), - null != (o = e.getRasterization()) && r.writeMessage(3, o, i.Rasterization.serializeBinaryToWriter) - } - , - proto.mediapipe.LocationData.BinaryMask.prototype.getWidth = function() { - return t.Message.getFieldWithDefault(this, 1, 0) - } - , - proto.mediapipe.LocationData.BinaryMask.prototype.setWidth = function(e) { - return t.Message.setField(this, 1, e) - } - , - proto.mediapipe.LocationData.BinaryMask.prototype.clearWidth = function() { - return t.Message.setField(this, 1, void 0) - } - , - proto.mediapipe.LocationData.BinaryMask.prototype.hasWidth = function() { - return null != t.Message.getField(this, 1) - } - , - proto.mediapipe.LocationData.BinaryMask.prototype.getHeight = function() { - return t.Message.getFieldWithDefault(this, 2, 0) - } - , - proto.mediapipe.LocationData.BinaryMask.prototype.setHeight = function(e) { - return t.Message.setField(this, 2, e) - } - , - proto.mediapipe.LocationData.BinaryMask.prototype.clearHeight = function() { - return t.Message.setField(this, 2, void 0) - } - , - proto.mediapipe.LocationData.BinaryMask.prototype.hasHeight = function() { - return null != t.Message.getField(this, 2) - } - , - proto.mediapipe.LocationData.BinaryMask.prototype.getRasterization = function() { - return t.Message.getWrapperField(this, i.Rasterization, 3) - } - , - proto.mediapipe.LocationData.BinaryMask.prototype.setRasterization = function(e) { - return t.Message.setWrapperField(this, 3, e) - } - , - proto.mediapipe.LocationData.BinaryMask.prototype.clearRasterization = function() { - return this.setRasterization(void 0) - } - , - proto.mediapipe.LocationData.BinaryMask.prototype.hasRasterization = function() { - return null != t.Message.getField(this, 3) - } - , - t.Message.GENERATE_TO_OBJECT && (proto.mediapipe.LocationData.RelativeKeypoint.prototype.toObject = function(e) { - return proto.mediapipe.LocationData.RelativeKeypoint.toObject(e, this) - } - , - proto.mediapipe.LocationData.RelativeKeypoint.toObject = function(e, r) { - var o, i = { - x: null == (o = t.Message.getOptionalFloatingPointField(r, 1)) ? void 0 : o, - y: null == (o = t.Message.getOptionalFloatingPointField(r, 2)) ? void 0 : o, - keypointLabel: null == (o = t.Message.getField(r, 3)) ? void 0 : o, - score: null == (o = t.Message.getOptionalFloatingPointField(r, 4)) ? void 0 : o - }; - return e && (i.$jspbMessageInstance = r), - i - } - ), - proto.mediapipe.LocationData.RelativeKeypoint.deserializeBinary = function(e) { - var r = new t.BinaryReader(e) - , o = new proto.mediapipe.LocationData.RelativeKeypoint; - return proto.mediapipe.LocationData.RelativeKeypoint.deserializeBinaryFromReader(o, r) - } - , - proto.mediapipe.LocationData.RelativeKeypoint.deserializeBinaryFromReader = function(e, t) { - for (; t.nextField() && !t.isEndGroup(); ) { - switch (t.getFieldNumber()) { - case 1: - var r = t.readFloat(); - e.setX(r); - break; - case 2: - r = t.readFloat(); - e.setY(r); - break; - case 3: - r = t.readString(); - e.setKeypointLabel(r); - break; - case 4: - r = t.readFloat(); - e.setScore(r); - break; - default: - t.skipField() - } - } - return e - } - , - proto.mediapipe.LocationData.RelativeKeypoint.prototype.serializeBinary = function() { - var e = new t.BinaryWriter; - return proto.mediapipe.LocationData.RelativeKeypoint.serializeBinaryToWriter(this, e), - e.getResultBuffer() - } - , - proto.mediapipe.LocationData.RelativeKeypoint.serializeBinaryToWriter = function(e, r) { - var o = void 0; - null != (o = t.Message.getField(e, 1)) && r.writeFloat(1, o), - null != (o = t.Message.getField(e, 2)) && r.writeFloat(2, o), - null != (o = t.Message.getField(e, 3)) && r.writeString(3, o), - null != (o = t.Message.getField(e, 4)) && r.writeFloat(4, o) - } - , - proto.mediapipe.LocationData.RelativeKeypoint.prototype.getX = function() { - return t.Message.getFloatingPointFieldWithDefault(this, 1, 0) - } - , - proto.mediapipe.LocationData.RelativeKeypoint.prototype.setX = function(e) { - return t.Message.setField(this, 1, e) - } - , - proto.mediapipe.LocationData.RelativeKeypoint.prototype.clearX = function() { - return t.Message.setField(this, 1, void 0) - } - , - proto.mediapipe.LocationData.RelativeKeypoint.prototype.hasX = function() { - return null != t.Message.getField(this, 1) - } - , - proto.mediapipe.LocationData.RelativeKeypoint.prototype.getY = function() { - return t.Message.getFloatingPointFieldWithDefault(this, 2, 0) - } - , - proto.mediapipe.LocationData.RelativeKeypoint.prototype.setY = function(e) { - return t.Message.setField(this, 2, e) - } - , - proto.mediapipe.LocationData.RelativeKeypoint.prototype.clearY = function() { - return t.Message.setField(this, 2, void 0) - } - , - proto.mediapipe.LocationData.RelativeKeypoint.prototype.hasY = function() { - return null != t.Message.getField(this, 2) - } - , - proto.mediapipe.LocationData.RelativeKeypoint.prototype.getKeypointLabel = function() { - return t.Message.getFieldWithDefault(this, 3, "") - } - , - proto.mediapipe.LocationData.RelativeKeypoint.prototype.setKeypointLabel = function(e) { - return t.Message.setField(this, 3, e) - } - , - proto.mediapipe.LocationData.RelativeKeypoint.prototype.clearKeypointLabel = function() { - return t.Message.setField(this, 3, void 0) - } - , - proto.mediapipe.LocationData.RelativeKeypoint.prototype.hasKeypointLabel = function() { - return null != t.Message.getField(this, 3) - } - , - proto.mediapipe.LocationData.RelativeKeypoint.prototype.getScore = function() { - return t.Message.getFloatingPointFieldWithDefault(this, 4, 0) - } - , - proto.mediapipe.LocationData.RelativeKeypoint.prototype.setScore = function(e) { - return t.Message.setField(this, 4, e) - } - , - proto.mediapipe.LocationData.RelativeKeypoint.prototype.clearScore = function() { - return t.Message.setField(this, 4, void 0) - } - , - proto.mediapipe.LocationData.RelativeKeypoint.prototype.hasScore = function() { - return null != t.Message.getField(this, 4) - } - , - proto.mediapipe.LocationData.prototype.getFormat = function() { - return t.Message.getFieldWithDefault(this, 1, 0) - } - , - proto.mediapipe.LocationData.prototype.setFormat = function(e) { - return t.Message.setField(this, 1, e) - } - , - proto.mediapipe.LocationData.prototype.clearFormat = function() { - return t.Message.setField(this, 1, void 0) - } - , - proto.mediapipe.LocationData.prototype.hasFormat = function() { - return null != t.Message.getField(this, 1) - } - , - proto.mediapipe.LocationData.prototype.getBoundingBox = function() { - return t.Message.getWrapperField(this, proto.mediapipe.LocationData.BoundingBox, 2) - } - , - proto.mediapipe.LocationData.prototype.setBoundingBox = function(e) { - return t.Message.setWrapperField(this, 2, e) - } - , - proto.mediapipe.LocationData.prototype.clearBoundingBox = function() { - return this.setBoundingBox(void 0) - } - , - proto.mediapipe.LocationData.prototype.hasBoundingBox = function() { - return null != t.Message.getField(this, 2) - } - , - proto.mediapipe.LocationData.prototype.getRelativeBoundingBox = function() { - return t.Message.getWrapperField(this, proto.mediapipe.LocationData.RelativeBoundingBox, 3) - } - , - proto.mediapipe.LocationData.prototype.setRelativeBoundingBox = function(e) { - return t.Message.setWrapperField(this, 3, e) - } - , - proto.mediapipe.LocationData.prototype.clearRelativeBoundingBox = function() { - return this.setRelativeBoundingBox(void 0) - } - , - proto.mediapipe.LocationData.prototype.hasRelativeBoundingBox = function() { - return null != t.Message.getField(this, 3) - } - , - proto.mediapipe.LocationData.prototype.getMask = function() { - return t.Message.getWrapperField(this, proto.mediapipe.LocationData.BinaryMask, 4) - } - , - proto.mediapipe.LocationData.prototype.setMask = function(e) { - return t.Message.setWrapperField(this, 4, e) - } - , - proto.mediapipe.LocationData.prototype.clearMask = function() { - return this.setMask(void 0) - } - , - proto.mediapipe.LocationData.prototype.hasMask = function() { - return null != t.Message.getField(this, 4) - } - , - proto.mediapipe.LocationData.prototype.getRelativeKeypointsList = function() { - return t.Message.getRepeatedWrapperField(this, proto.mediapipe.LocationData.RelativeKeypoint, 5) - } - , - proto.mediapipe.LocationData.prototype.setRelativeKeypointsList = function(e) { - return t.Message.setRepeatedWrapperField(this, 5, e) - } - , - proto.mediapipe.LocationData.prototype.addRelativeKeypoints = function(e, r) { - return t.Message.addToRepeatedWrapperField(this, 5, e, proto.mediapipe.LocationData.RelativeKeypoint, r) - } - , - proto.mediapipe.LocationData.prototype.clearRelativeKeypointsList = function() { - return this.setRelativeKeypointsList([]) - } - , - r.object.extend(e, proto.mediapipe) -}(location_data_pb), -function(e) { - var t = googleProtobuf - , r = t - , o = "undefined" != typeof globalThis && globalThis || "undefined" != typeof window && window || void 0 !== o && o || "undefined" != typeof self && self || function() { - return this - } - .call(null) || Function("return this")() - , i = location_data_pb; - r.object.extend(proto, i), - r.exportSymbol("proto.mediapipe.Detection", null, o), - r.exportSymbol("proto.mediapipe.Detection.AssociatedDetection", null, o), - r.exportSymbol("proto.mediapipe.DetectionList", null, o), - proto.mediapipe.Detection = function(e) { - t.Message.initialize(this, e, 0, -1, proto.mediapipe.Detection.repeatedFields_, null) - } - , - r.inherits(proto.mediapipe.Detection, t.Message), - r.DEBUG && !COMPILED && (proto.mediapipe.Detection.displayName = "proto.mediapipe.Detection"), - proto.mediapipe.Detection.AssociatedDetection = function(e) { - t.Message.initialize(this, e, 0, -1, null, null) - } - , - r.inherits(proto.mediapipe.Detection.AssociatedDetection, t.Message), - r.DEBUG && !COMPILED && (proto.mediapipe.Detection.AssociatedDetection.displayName = "proto.mediapipe.Detection.AssociatedDetection"), - proto.mediapipe.DetectionList = function(e) { - t.Message.initialize(this, e, 0, -1, proto.mediapipe.DetectionList.repeatedFields_, null) - } - , - r.inherits(proto.mediapipe.DetectionList, t.Message), - r.DEBUG && !COMPILED && (proto.mediapipe.DetectionList.displayName = "proto.mediapipe.DetectionList"), - proto.mediapipe.Detection.repeatedFields_ = [1, 2, 3, 8, 9], - t.Message.GENERATE_TO_OBJECT && (proto.mediapipe.Detection.prototype.toObject = function(e) { - return proto.mediapipe.Detection.toObject(e, this) - } - , - proto.mediapipe.Detection.toObject = function(e, r) { - var o, a = { - labelList: null == (o = t.Message.getRepeatedField(r, 1)) ? void 0 : o, - labelIdList: null == (o = t.Message.getRepeatedField(r, 2)) ? void 0 : o, - scoreList: null == (o = t.Message.getRepeatedFloatingPointField(r, 3)) ? void 0 : o, - locationData: (o = r.getLocationData()) && i.LocationData.toObject(e, o), - featureTag: null == (o = t.Message.getField(r, 5)) ? void 0 : o, - trackId: null == (o = t.Message.getField(r, 6)) ? void 0 : o, - detectionId: null == (o = t.Message.getField(r, 7)) ? void 0 : o, - associatedDetectionsList: t.Message.toObjectList(r.getAssociatedDetectionsList(), proto.mediapipe.Detection.AssociatedDetection.toObject, e), - displayNameList: null == (o = t.Message.getRepeatedField(r, 9)) ? void 0 : o, - timestampUsec: null == (o = t.Message.getField(r, 10)) ? void 0 : o - }; - return e && (a.$jspbMessageInstance = r), - a - } - ), - proto.mediapipe.Detection.deserializeBinary = function(e) { - var r = new t.BinaryReader(e) - , o = new proto.mediapipe.Detection; - return proto.mediapipe.Detection.deserializeBinaryFromReader(o, r) - } - , - proto.mediapipe.Detection.deserializeBinaryFromReader = function(e, t) { - for (; t.nextField() && !t.isEndGroup(); ) { - switch (t.getFieldNumber()) { - case 1: - var r = t.readString(); - e.addLabel(r); - break; - case 2: - for (var o = t.isDelimited() ? t.readPackedInt32() : [t.readInt32()], a = 0; a < o.length; a++) - e.addLabelId(o[a]); - break; - case 3: - for (o = t.isDelimited() ? t.readPackedFloat() : [t.readFloat()], - a = 0; a < o.length; a++) - e.addScore(o[a]); - break; - case 4: - r = new i.LocationData; - t.readMessage(r, i.LocationData.deserializeBinaryFromReader), - e.setLocationData(r); - break; - case 5: - r = t.readString(); - e.setFeatureTag(r); - break; - case 6: - r = t.readString(); - e.setTrackId(r); - break; - case 7: - r = t.readInt64(); - e.setDetectionId(r); - break; - case 8: - r = new proto.mediapipe.Detection.AssociatedDetection; - t.readMessage(r, proto.mediapipe.Detection.AssociatedDetection.deserializeBinaryFromReader), - e.addAssociatedDetections(r); - break; - case 9: - r = t.readString(); - e.addDisplayName(r); - break; - case 10: - r = t.readInt64(); - e.setTimestampUsec(r); - break; - default: - t.skipField() - } - } - return e - } - , - proto.mediapipe.Detection.prototype.serializeBinary = function() { - var e = new t.BinaryWriter; - return proto.mediapipe.Detection.serializeBinaryToWriter(this, e), - e.getResultBuffer() - } - , - proto.mediapipe.Detection.serializeBinaryToWriter = function(e, r) { - var o = void 0; - (o = e.getLabelList()).length > 0 && r.writeRepeatedString(1, o), - (o = e.getLabelIdList()).length > 0 && r.writePackedInt32(2, o), - (o = e.getScoreList()).length > 0 && r.writePackedFloat(3, o), - null != (o = e.getLocationData()) && r.writeMessage(4, o, i.LocationData.serializeBinaryToWriter), - null != (o = t.Message.getField(e, 5)) && r.writeString(5, o), - null != (o = t.Message.getField(e, 6)) && r.writeString(6, o), - null != (o = t.Message.getField(e, 7)) && r.writeInt64(7, o), - (o = e.getAssociatedDetectionsList()).length > 0 && r.writeRepeatedMessage(8, o, proto.mediapipe.Detection.AssociatedDetection.serializeBinaryToWriter), - (o = e.getDisplayNameList()).length > 0 && r.writeRepeatedString(9, o), - null != (o = t.Message.getField(e, 10)) && r.writeInt64(10, o) - } - , - t.Message.GENERATE_TO_OBJECT && (proto.mediapipe.Detection.AssociatedDetection.prototype.toObject = function(e) { - return proto.mediapipe.Detection.AssociatedDetection.toObject(e, this) - } - , - proto.mediapipe.Detection.AssociatedDetection.toObject = function(e, r) { - var o, i = { - id: null == (o = t.Message.getField(r, 1)) ? void 0 : o, - confidence: null == (o = t.Message.getOptionalFloatingPointField(r, 2)) ? void 0 : o - }; - return e && (i.$jspbMessageInstance = r), - i - } - ), - proto.mediapipe.Detection.AssociatedDetection.deserializeBinary = function(e) { - var r = new t.BinaryReader(e) - , o = new proto.mediapipe.Detection.AssociatedDetection; - return proto.mediapipe.Detection.AssociatedDetection.deserializeBinaryFromReader(o, r) - } - , - proto.mediapipe.Detection.AssociatedDetection.deserializeBinaryFromReader = function(e, t) { - for (; t.nextField() && !t.isEndGroup(); ) { - switch (t.getFieldNumber()) { - case 1: - var r = t.readInt32(); - e.setId(r); - break; - case 2: - r = t.readFloat(); - e.setConfidence(r); - break; - default: - t.skipField() - } - } - return e - } - , - proto.mediapipe.Detection.AssociatedDetection.prototype.serializeBinary = function() { - var e = new t.BinaryWriter; - return proto.mediapipe.Detection.AssociatedDetection.serializeBinaryToWriter(this, e), - e.getResultBuffer() - } - , - proto.mediapipe.Detection.AssociatedDetection.serializeBinaryToWriter = function(e, r) { - var o = void 0; - null != (o = t.Message.getField(e, 1)) && r.writeInt32(1, o), - null != (o = t.Message.getField(e, 2)) && r.writeFloat(2, o) - } - , - proto.mediapipe.Detection.AssociatedDetection.prototype.getId = function() { - return t.Message.getFieldWithDefault(this, 1, 0) - } - , - proto.mediapipe.Detection.AssociatedDetection.prototype.setId = function(e) { - return t.Message.setField(this, 1, e) - } - , - proto.mediapipe.Detection.AssociatedDetection.prototype.clearId = function() { - return t.Message.setField(this, 1, void 0) - } - , - proto.mediapipe.Detection.AssociatedDetection.prototype.hasId = function() { - return null != t.Message.getField(this, 1) - } - , - proto.mediapipe.Detection.AssociatedDetection.prototype.getConfidence = function() { - return t.Message.getFloatingPointFieldWithDefault(this, 2, 0) - } - , - proto.mediapipe.Detection.AssociatedDetection.prototype.setConfidence = function(e) { - return t.Message.setField(this, 2, e) - } - , - proto.mediapipe.Detection.AssociatedDetection.prototype.clearConfidence = function() { - return t.Message.setField(this, 2, void 0) - } - , - proto.mediapipe.Detection.AssociatedDetection.prototype.hasConfidence = function() { - return null != t.Message.getField(this, 2) - } - , - proto.mediapipe.Detection.prototype.getLabelList = function() { - return t.Message.getRepeatedField(this, 1) - } - , - proto.mediapipe.Detection.prototype.setLabelList = function(e) { - return t.Message.setField(this, 1, e || []) - } - , - proto.mediapipe.Detection.prototype.addLabel = function(e, r) { - return t.Message.addToRepeatedField(this, 1, e, r) - } - , - proto.mediapipe.Detection.prototype.clearLabelList = function() { - return this.setLabelList([]) - } - , - proto.mediapipe.Detection.prototype.getLabelIdList = function() { - return t.Message.getRepeatedField(this, 2) - } - , - proto.mediapipe.Detection.prototype.setLabelIdList = function(e) { - return t.Message.setField(this, 2, e || []) - } - , - proto.mediapipe.Detection.prototype.addLabelId = function(e, r) { - return t.Message.addToRepeatedField(this, 2, e, r) - } - , - proto.mediapipe.Detection.prototype.clearLabelIdList = function() { - return this.setLabelIdList([]) - } - , - proto.mediapipe.Detection.prototype.getScoreList = function() { - return t.Message.getRepeatedFloatingPointField(this, 3) - } - , - proto.mediapipe.Detection.prototype.setScoreList = function(e) { - return t.Message.setField(this, 3, e || []) - } - , - proto.mediapipe.Detection.prototype.addScore = function(e, r) { - return t.Message.addToRepeatedField(this, 3, e, r) - } - , - proto.mediapipe.Detection.prototype.clearScoreList = function() { - return this.setScoreList([]) - } - , - proto.mediapipe.Detection.prototype.getLocationData = function() { - return t.Message.getWrapperField(this, i.LocationData, 4) - } - , - proto.mediapipe.Detection.prototype.setLocationData = function(e) { - return t.Message.setWrapperField(this, 4, e) - } - , - proto.mediapipe.Detection.prototype.clearLocationData = function() { - return this.setLocationData(void 0) - } - , - proto.mediapipe.Detection.prototype.hasLocationData = function() { - return null != t.Message.getField(this, 4) - } - , - proto.mediapipe.Detection.prototype.getFeatureTag = function() { - return t.Message.getFieldWithDefault(this, 5, "") - } - , - proto.mediapipe.Detection.prototype.setFeatureTag = function(e) { - return t.Message.setField(this, 5, e) - } - , - proto.mediapipe.Detection.prototype.clearFeatureTag = function() { - return t.Message.setField(this, 5, void 0) - } - , - proto.mediapipe.Detection.prototype.hasFeatureTag = function() { - return null != t.Message.getField(this, 5) - } - , - proto.mediapipe.Detection.prototype.getTrackId = function() { - return t.Message.getFieldWithDefault(this, 6, "") - } - , - proto.mediapipe.Detection.prototype.setTrackId = function(e) { - return t.Message.setField(this, 6, e) - } - , - proto.mediapipe.Detection.prototype.clearTrackId = function() { - return t.Message.setField(this, 6, void 0) - } - , - proto.mediapipe.Detection.prototype.hasTrackId = function() { - return null != t.Message.getField(this, 6) - } - , - proto.mediapipe.Detection.prototype.getDetectionId = function() { - return t.Message.getFieldWithDefault(this, 7, 0) - } - , - proto.mediapipe.Detection.prototype.setDetectionId = function(e) { - return t.Message.setField(this, 7, e) - } - , - proto.mediapipe.Detection.prototype.clearDetectionId = function() { - return t.Message.setField(this, 7, void 0) - } - , - proto.mediapipe.Detection.prototype.hasDetectionId = function() { - return null != t.Message.getField(this, 7) - } - , - proto.mediapipe.Detection.prototype.getAssociatedDetectionsList = function() { - return t.Message.getRepeatedWrapperField(this, proto.mediapipe.Detection.AssociatedDetection, 8) - } - , - proto.mediapipe.Detection.prototype.setAssociatedDetectionsList = function(e) { - return t.Message.setRepeatedWrapperField(this, 8, e) - } - , - proto.mediapipe.Detection.prototype.addAssociatedDetections = function(e, r) { - return t.Message.addToRepeatedWrapperField(this, 8, e, proto.mediapipe.Detection.AssociatedDetection, r) - } - , - proto.mediapipe.Detection.prototype.clearAssociatedDetectionsList = function() { - return this.setAssociatedDetectionsList([]) - } - , - proto.mediapipe.Detection.prototype.getDisplayNameList = function() { - return t.Message.getRepeatedField(this, 9) - } - , - proto.mediapipe.Detection.prototype.setDisplayNameList = function(e) { - return t.Message.setField(this, 9, e || []) - } - , - proto.mediapipe.Detection.prototype.addDisplayName = function(e, r) { - return t.Message.addToRepeatedField(this, 9, e, r) - } - , - proto.mediapipe.Detection.prototype.clearDisplayNameList = function() { - return this.setDisplayNameList([]) - } - , - proto.mediapipe.Detection.prototype.getTimestampUsec = function() { - return t.Message.getFieldWithDefault(this, 10, 0) - } - , - proto.mediapipe.Detection.prototype.setTimestampUsec = function(e) { - return t.Message.setField(this, 10, e) - } - , - proto.mediapipe.Detection.prototype.clearTimestampUsec = function() { - return t.Message.setField(this, 10, void 0) - } - , - proto.mediapipe.Detection.prototype.hasTimestampUsec = function() { - return null != t.Message.getField(this, 10) - } - , - proto.mediapipe.DetectionList.repeatedFields_ = [1], - t.Message.GENERATE_TO_OBJECT && (proto.mediapipe.DetectionList.prototype.toObject = function(e) { - return proto.mediapipe.DetectionList.toObject(e, this) - } - , - proto.mediapipe.DetectionList.toObject = function(e, r) { - var o = { - detectionList: t.Message.toObjectList(r.getDetectionList(), proto.mediapipe.Detection.toObject, e) - }; - return e && (o.$jspbMessageInstance = r), - o - } - ), - proto.mediapipe.DetectionList.deserializeBinary = function(e) { - var r = new t.BinaryReader(e) - , o = new proto.mediapipe.DetectionList; - return proto.mediapipe.DetectionList.deserializeBinaryFromReader(o, r) - } - , - proto.mediapipe.DetectionList.deserializeBinaryFromReader = function(e, t) { - for (; t.nextField() && !t.isEndGroup(); ) { - if (1 === t.getFieldNumber()) { - var r = new proto.mediapipe.Detection; - t.readMessage(r, proto.mediapipe.Detection.deserializeBinaryFromReader), - e.addDetection(r) - } else - t.skipField() - } - return e - } - , - proto.mediapipe.DetectionList.prototype.serializeBinary = function() { - var e = new t.BinaryWriter; - return proto.mediapipe.DetectionList.serializeBinaryToWriter(this, e), - e.getResultBuffer() - } - , - proto.mediapipe.DetectionList.serializeBinaryToWriter = function(e, t) { - var r; - (r = e.getDetectionList()).length > 0 && t.writeRepeatedMessage(1, r, proto.mediapipe.Detection.serializeBinaryToWriter) - } - , - proto.mediapipe.DetectionList.prototype.getDetectionList = function() { - return t.Message.getRepeatedWrapperField(this, proto.mediapipe.Detection, 1) - } - , - proto.mediapipe.DetectionList.prototype.setDetectionList = function(e) { - return t.Message.setRepeatedWrapperField(this, 1, e) - } - , - proto.mediapipe.DetectionList.prototype.addDetection = function(e, r) { - return t.Message.addToRepeatedWrapperField(this, 1, e, proto.mediapipe.Detection, r) - } - , - proto.mediapipe.DetectionList.prototype.clearDetectionList = function() { - return this.setDetectionList([]) - } - , - r.object.extend(e, proto.mediapipe) -}(detection_pb); -var base_options_pb = {} - , acceleration_pb = {} - , inference_calculator_pb = {}; -!function(e) { - var t = googleProtobuf - , r = t - , o = "undefined" != typeof globalThis && globalThis || "undefined" != typeof window && window || void 0 !== o && o || "undefined" != typeof self && self || function() { - return this - } - .call(null) || Function("return this")() - , i = calculator_pb; - r.object.extend(proto, i); - var a = calculator_options_pb; - r.object.extend(proto, a), - r.exportSymbol("proto.mediapipe.InferenceCalculatorOptions", null, o), - r.exportSymbol("proto.mediapipe.InferenceCalculatorOptions.Delegate", null, o), - r.exportSymbol("proto.mediapipe.InferenceCalculatorOptions.Delegate.DelegateCase", null, o), - r.exportSymbol("proto.mediapipe.InferenceCalculatorOptions.Delegate.Gpu", null, o), - r.exportSymbol("proto.mediapipe.InferenceCalculatorOptions.Delegate.Gpu.Api", null, o), - r.exportSymbol("proto.mediapipe.InferenceCalculatorOptions.Delegate.Gpu.InferenceUsage", null, o), - r.exportSymbol("proto.mediapipe.InferenceCalculatorOptions.Delegate.Nnapi", null, o), - r.exportSymbol("proto.mediapipe.InferenceCalculatorOptions.Delegate.TfLite", null, o), - r.exportSymbol("proto.mediapipe.InferenceCalculatorOptions.Delegate.Xnnpack", null, o), - proto.mediapipe.InferenceCalculatorOptions = function(e) { - t.Message.initialize(this, e, 0, -1, null, null) - } - , - r.inherits(proto.mediapipe.InferenceCalculatorOptions, t.Message), - r.DEBUG && !COMPILED && (proto.mediapipe.InferenceCalculatorOptions.displayName = "proto.mediapipe.InferenceCalculatorOptions"), - proto.mediapipe.InferenceCalculatorOptions.Delegate = function(e) { - t.Message.initialize(this, e, 0, -1, null, proto.mediapipe.InferenceCalculatorOptions.Delegate.oneofGroups_) - } - , - r.inherits(proto.mediapipe.InferenceCalculatorOptions.Delegate, t.Message), - r.DEBUG && !COMPILED && (proto.mediapipe.InferenceCalculatorOptions.Delegate.displayName = "proto.mediapipe.InferenceCalculatorOptions.Delegate"), - proto.mediapipe.InferenceCalculatorOptions.Delegate.TfLite = function(e) { - t.Message.initialize(this, e, 0, -1, null, null) - } - , - r.inherits(proto.mediapipe.InferenceCalculatorOptions.Delegate.TfLite, t.Message), - r.DEBUG && !COMPILED && (proto.mediapipe.InferenceCalculatorOptions.Delegate.TfLite.displayName = "proto.mediapipe.InferenceCalculatorOptions.Delegate.TfLite"), - proto.mediapipe.InferenceCalculatorOptions.Delegate.Gpu = function(e) { - t.Message.initialize(this, e, 0, -1, null, null) - } - , - r.inherits(proto.mediapipe.InferenceCalculatorOptions.Delegate.Gpu, t.Message), - r.DEBUG && !COMPILED && (proto.mediapipe.InferenceCalculatorOptions.Delegate.Gpu.displayName = "proto.mediapipe.InferenceCalculatorOptions.Delegate.Gpu"), - proto.mediapipe.InferenceCalculatorOptions.Delegate.Nnapi = function(e) { - t.Message.initialize(this, e, 0, -1, null, null) - } - , - r.inherits(proto.mediapipe.InferenceCalculatorOptions.Delegate.Nnapi, t.Message), - r.DEBUG && !COMPILED && (proto.mediapipe.InferenceCalculatorOptions.Delegate.Nnapi.displayName = "proto.mediapipe.InferenceCalculatorOptions.Delegate.Nnapi"), - proto.mediapipe.InferenceCalculatorOptions.Delegate.Xnnpack = function(e) { - t.Message.initialize(this, e, 0, -1, null, null) - } - , - r.inherits(proto.mediapipe.InferenceCalculatorOptions.Delegate.Xnnpack, t.Message), - r.DEBUG && !COMPILED && (proto.mediapipe.InferenceCalculatorOptions.Delegate.Xnnpack.displayName = "proto.mediapipe.InferenceCalculatorOptions.Delegate.Xnnpack"), - t.Message.GENERATE_TO_OBJECT && (proto.mediapipe.InferenceCalculatorOptions.prototype.toObject = function(e) { - return proto.mediapipe.InferenceCalculatorOptions.toObject(e, this) - } - , - proto.mediapipe.InferenceCalculatorOptions.toObject = function(e, r) { - var o, i = { - modelPath: null == (o = t.Message.getField(r, 1)) ? void 0 : o, - useGpu: t.Message.getBooleanFieldWithDefault(r, 2, !1), - useNnapi: t.Message.getBooleanFieldWithDefault(r, 3, !1), - cpuNumThread: t.Message.getFieldWithDefault(r, 4, -1), - delegate: (o = r.getDelegate()) && proto.mediapipe.InferenceCalculatorOptions.Delegate.toObject(e, o) - }; - return e && (i.$jspbMessageInstance = r), - i - } - ), - proto.mediapipe.InferenceCalculatorOptions.deserializeBinary = function(e) { - var r = new t.BinaryReader(e) - , o = new proto.mediapipe.InferenceCalculatorOptions; - return proto.mediapipe.InferenceCalculatorOptions.deserializeBinaryFromReader(o, r) - } - , - proto.mediapipe.InferenceCalculatorOptions.deserializeBinaryFromReader = function(e, t) { - for (; t.nextField() && !t.isEndGroup(); ) { - switch (t.getFieldNumber()) { - case 1: - var r = t.readString(); - e.setModelPath(r); - break; - case 2: - r = t.readBool(); - e.setUseGpu(r); - break; - case 3: - r = t.readBool(); - e.setUseNnapi(r); - break; - case 4: - r = t.readInt32(); - e.setCpuNumThread(r); - break; - case 5: - r = new proto.mediapipe.InferenceCalculatorOptions.Delegate; - t.readMessage(r, proto.mediapipe.InferenceCalculatorOptions.Delegate.deserializeBinaryFromReader), - e.setDelegate(r); - break; - default: - t.skipField() - } - } - return e - } - , - proto.mediapipe.InferenceCalculatorOptions.prototype.serializeBinary = function() { - var e = new t.BinaryWriter; - return proto.mediapipe.InferenceCalculatorOptions.serializeBinaryToWriter(this, e), - e.getResultBuffer() - } - , - proto.mediapipe.InferenceCalculatorOptions.serializeBinaryToWriter = function(e, r) { - var o = void 0; - null != (o = t.Message.getField(e, 1)) && r.writeString(1, o), - null != (o = t.Message.getField(e, 2)) && r.writeBool(2, o), - null != (o = t.Message.getField(e, 3)) && r.writeBool(3, o), - null != (o = t.Message.getField(e, 4)) && r.writeInt32(4, o), - null != (o = e.getDelegate()) && r.writeMessage(5, o, proto.mediapipe.InferenceCalculatorOptions.Delegate.serializeBinaryToWriter) - } - , - proto.mediapipe.InferenceCalculatorOptions.Delegate.oneofGroups_ = [[1, 2, 3, 4]], - proto.mediapipe.InferenceCalculatorOptions.Delegate.DelegateCase = { - DELEGATE_NOT_SET: 0, - TFLITE: 1, - GPU: 2, - NNAPI: 3, - XNNPACK: 4 - }, - proto.mediapipe.InferenceCalculatorOptions.Delegate.prototype.getDelegateCase = function() { - return t.Message.computeOneofCase(this, proto.mediapipe.InferenceCalculatorOptions.Delegate.oneofGroups_[0]) - } - , - t.Message.GENERATE_TO_OBJECT && (proto.mediapipe.InferenceCalculatorOptions.Delegate.prototype.toObject = function(e) { - return proto.mediapipe.InferenceCalculatorOptions.Delegate.toObject(e, this) - } - , - proto.mediapipe.InferenceCalculatorOptions.Delegate.toObject = function(e, t) { - var r, o = { - tflite: (r = t.getTflite()) && proto.mediapipe.InferenceCalculatorOptions.Delegate.TfLite.toObject(e, r), - gpu: (r = t.getGpu()) && proto.mediapipe.InferenceCalculatorOptions.Delegate.Gpu.toObject(e, r), - nnapi: (r = t.getNnapi()) && proto.mediapipe.InferenceCalculatorOptions.Delegate.Nnapi.toObject(e, r), - xnnpack: (r = t.getXnnpack()) && proto.mediapipe.InferenceCalculatorOptions.Delegate.Xnnpack.toObject(e, r) - }; - return e && (o.$jspbMessageInstance = t), - o - } - ), - proto.mediapipe.InferenceCalculatorOptions.Delegate.deserializeBinary = function(e) { - var r = new t.BinaryReader(e) - , o = new proto.mediapipe.InferenceCalculatorOptions.Delegate; - return proto.mediapipe.InferenceCalculatorOptions.Delegate.deserializeBinaryFromReader(o, r) - } - , - proto.mediapipe.InferenceCalculatorOptions.Delegate.deserializeBinaryFromReader = function(e, t) { - for (; t.nextField() && !t.isEndGroup(); ) { - switch (t.getFieldNumber()) { - case 1: - var r = new proto.mediapipe.InferenceCalculatorOptions.Delegate.TfLite; - t.readMessage(r, proto.mediapipe.InferenceCalculatorOptions.Delegate.TfLite.deserializeBinaryFromReader), - e.setTflite(r); - break; - case 2: - r = new proto.mediapipe.InferenceCalculatorOptions.Delegate.Gpu; - t.readMessage(r, proto.mediapipe.InferenceCalculatorOptions.Delegate.Gpu.deserializeBinaryFromReader), - e.setGpu(r); - break; - case 3: - r = new proto.mediapipe.InferenceCalculatorOptions.Delegate.Nnapi; - t.readMessage(r, proto.mediapipe.InferenceCalculatorOptions.Delegate.Nnapi.deserializeBinaryFromReader), - e.setNnapi(r); - break; - case 4: - r = new proto.mediapipe.InferenceCalculatorOptions.Delegate.Xnnpack; - t.readMessage(r, proto.mediapipe.InferenceCalculatorOptions.Delegate.Xnnpack.deserializeBinaryFromReader), - e.setXnnpack(r); - break; - default: - t.skipField() - } - } - return e - } - , - proto.mediapipe.InferenceCalculatorOptions.Delegate.prototype.serializeBinary = function() { - var e = new t.BinaryWriter; - return proto.mediapipe.InferenceCalculatorOptions.Delegate.serializeBinaryToWriter(this, e), - e.getResultBuffer() - } - , - proto.mediapipe.InferenceCalculatorOptions.Delegate.serializeBinaryToWriter = function(e, t) { - var r = void 0; - null != (r = e.getTflite()) && t.writeMessage(1, r, proto.mediapipe.InferenceCalculatorOptions.Delegate.TfLite.serializeBinaryToWriter), - null != (r = e.getGpu()) && t.writeMessage(2, r, proto.mediapipe.InferenceCalculatorOptions.Delegate.Gpu.serializeBinaryToWriter), - null != (r = e.getNnapi()) && t.writeMessage(3, r, proto.mediapipe.InferenceCalculatorOptions.Delegate.Nnapi.serializeBinaryToWriter), - null != (r = e.getXnnpack()) && t.writeMessage(4, r, proto.mediapipe.InferenceCalculatorOptions.Delegate.Xnnpack.serializeBinaryToWriter) - } - , - t.Message.GENERATE_TO_OBJECT && (proto.mediapipe.InferenceCalculatorOptions.Delegate.TfLite.prototype.toObject = function(e) { - return proto.mediapipe.InferenceCalculatorOptions.Delegate.TfLite.toObject(e, this) - } - , - proto.mediapipe.InferenceCalculatorOptions.Delegate.TfLite.toObject = function(e, t) { - var r = {}; - return e && (r.$jspbMessageInstance = t), - r - } - ), - proto.mediapipe.InferenceCalculatorOptions.Delegate.TfLite.deserializeBinary = function(e) { - var r = new t.BinaryReader(e) - , o = new proto.mediapipe.InferenceCalculatorOptions.Delegate.TfLite; - return proto.mediapipe.InferenceCalculatorOptions.Delegate.TfLite.deserializeBinaryFromReader(o, r) - } - , - proto.mediapipe.InferenceCalculatorOptions.Delegate.TfLite.deserializeBinaryFromReader = function(e, t) { - for (; t.nextField() && !t.isEndGroup(); ) { - t.getFieldNumber(); - t.skipField() - } - return e - } - , - proto.mediapipe.InferenceCalculatorOptions.Delegate.TfLite.prototype.serializeBinary = function() { - var e = new t.BinaryWriter; - return proto.mediapipe.InferenceCalculatorOptions.Delegate.TfLite.serializeBinaryToWriter(this, e), - e.getResultBuffer() - } - , - proto.mediapipe.InferenceCalculatorOptions.Delegate.TfLite.serializeBinaryToWriter = function(e, t) {} - , - t.Message.GENERATE_TO_OBJECT && (proto.mediapipe.InferenceCalculatorOptions.Delegate.Gpu.prototype.toObject = function(e) { - return proto.mediapipe.InferenceCalculatorOptions.Delegate.Gpu.toObject(e, this) - } - , - proto.mediapipe.InferenceCalculatorOptions.Delegate.Gpu.toObject = function(e, r) { - var o, i = { - useAdvancedGpuApi: t.Message.getBooleanFieldWithDefault(r, 1, !1), - api: t.Message.getFieldWithDefault(r, 4, 0), - allowPrecisionLoss: t.Message.getBooleanFieldWithDefault(r, 3, !0), - cachedKernelPath: null == (o = t.Message.getField(r, 2)) ? void 0 : o, - serializedModelDir: null == (o = t.Message.getField(r, 7)) ? void 0 : o, - modelToken: null == (o = t.Message.getField(r, 8)) ? void 0 : o, - usage: t.Message.getFieldWithDefault(r, 5, 2) - }; - return e && (i.$jspbMessageInstance = r), - i - } - ), - proto.mediapipe.InferenceCalculatorOptions.Delegate.Gpu.deserializeBinary = function(e) { - var r = new t.BinaryReader(e) - , o = new proto.mediapipe.InferenceCalculatorOptions.Delegate.Gpu; - return proto.mediapipe.InferenceCalculatorOptions.Delegate.Gpu.deserializeBinaryFromReader(o, r) - } - , - proto.mediapipe.InferenceCalculatorOptions.Delegate.Gpu.deserializeBinaryFromReader = function(e, t) { - for (; t.nextField() && !t.isEndGroup(); ) { - switch (t.getFieldNumber()) { - case 1: - var r = t.readBool(); - e.setUseAdvancedGpuApi(r); - break; - case 4: - r = t.readEnum(); - e.setApi(r); - break; - case 3: - r = t.readBool(); - e.setAllowPrecisionLoss(r); - break; - case 2: - r = t.readString(); - e.setCachedKernelPath(r); - break; - case 7: - r = t.readString(); - e.setSerializedModelDir(r); - break; - case 8: - r = t.readString(); - e.setModelToken(r); - break; - case 5: - r = t.readEnum(); - e.setUsage(r); - break; - default: - t.skipField() - } - } - return e - } - , - proto.mediapipe.InferenceCalculatorOptions.Delegate.Gpu.prototype.serializeBinary = function() { - var e = new t.BinaryWriter; - return proto.mediapipe.InferenceCalculatorOptions.Delegate.Gpu.serializeBinaryToWriter(this, e), - e.getResultBuffer() - } - , - proto.mediapipe.InferenceCalculatorOptions.Delegate.Gpu.serializeBinaryToWriter = function(e, r) { - var o = void 0; - null != (o = t.Message.getField(e, 1)) && r.writeBool(1, o), - null != (o = t.Message.getField(e, 4)) && r.writeEnum(4, o), - null != (o = t.Message.getField(e, 3)) && r.writeBool(3, o), - null != (o = t.Message.getField(e, 2)) && r.writeString(2, o), - null != (o = t.Message.getField(e, 7)) && r.writeString(7, o), - null != (o = t.Message.getField(e, 8)) && r.writeString(8, o), - null != (o = t.Message.getField(e, 5)) && r.writeEnum(5, o) - } - , - proto.mediapipe.InferenceCalculatorOptions.Delegate.Gpu.Api = { - ANY: 0, - OPENGL: 1, - OPENCL: 2 - }, - proto.mediapipe.InferenceCalculatorOptions.Delegate.Gpu.InferenceUsage = { - UNSPECIFIED: 0, - FAST_SINGLE_ANSWER: 1, - SUSTAINED_SPEED: 2 - }, - proto.mediapipe.InferenceCalculatorOptions.Delegate.Gpu.prototype.getUseAdvancedGpuApi = function() { - return t.Message.getBooleanFieldWithDefault(this, 1, !1) - } - , - proto.mediapipe.InferenceCalculatorOptions.Delegate.Gpu.prototype.setUseAdvancedGpuApi = function(e) { - return t.Message.setField(this, 1, e) - } - , - proto.mediapipe.InferenceCalculatorOptions.Delegate.Gpu.prototype.clearUseAdvancedGpuApi = function() { - return t.Message.setField(this, 1, void 0) - } - , - proto.mediapipe.InferenceCalculatorOptions.Delegate.Gpu.prototype.hasUseAdvancedGpuApi = function() { - return null != t.Message.getField(this, 1) - } - , - proto.mediapipe.InferenceCalculatorOptions.Delegate.Gpu.prototype.getApi = function() { - return t.Message.getFieldWithDefault(this, 4, 0) - } - , - proto.mediapipe.InferenceCalculatorOptions.Delegate.Gpu.prototype.setApi = function(e) { - return t.Message.setField(this, 4, e) - } - , - proto.mediapipe.InferenceCalculatorOptions.Delegate.Gpu.prototype.clearApi = function() { - return t.Message.setField(this, 4, void 0) - } - , - proto.mediapipe.InferenceCalculatorOptions.Delegate.Gpu.prototype.hasApi = function() { - return null != t.Message.getField(this, 4) - } - , - proto.mediapipe.InferenceCalculatorOptions.Delegate.Gpu.prototype.getAllowPrecisionLoss = function() { - return t.Message.getBooleanFieldWithDefault(this, 3, !0) - } - , - proto.mediapipe.InferenceCalculatorOptions.Delegate.Gpu.prototype.setAllowPrecisionLoss = function(e) { - return t.Message.setField(this, 3, e) - } - , - proto.mediapipe.InferenceCalculatorOptions.Delegate.Gpu.prototype.clearAllowPrecisionLoss = function() { - return t.Message.setField(this, 3, void 0) - } - , - proto.mediapipe.InferenceCalculatorOptions.Delegate.Gpu.prototype.hasAllowPrecisionLoss = function() { - return null != t.Message.getField(this, 3) - } - , - proto.mediapipe.InferenceCalculatorOptions.Delegate.Gpu.prototype.getCachedKernelPath = function() { - return t.Message.getFieldWithDefault(this, 2, "") - } - , - proto.mediapipe.InferenceCalculatorOptions.Delegate.Gpu.prototype.setCachedKernelPath = function(e) { - return t.Message.setField(this, 2, e) - } - , - proto.mediapipe.InferenceCalculatorOptions.Delegate.Gpu.prototype.clearCachedKernelPath = function() { - return t.Message.setField(this, 2, void 0) - } - , - proto.mediapipe.InferenceCalculatorOptions.Delegate.Gpu.prototype.hasCachedKernelPath = function() { - return null != t.Message.getField(this, 2) - } - , - proto.mediapipe.InferenceCalculatorOptions.Delegate.Gpu.prototype.getSerializedModelDir = function() { - return t.Message.getFieldWithDefault(this, 7, "") - } - , - proto.mediapipe.InferenceCalculatorOptions.Delegate.Gpu.prototype.setSerializedModelDir = function(e) { - return t.Message.setField(this, 7, e) - } - , - proto.mediapipe.InferenceCalculatorOptions.Delegate.Gpu.prototype.clearSerializedModelDir = function() { - return t.Message.setField(this, 7, void 0) - } - , - proto.mediapipe.InferenceCalculatorOptions.Delegate.Gpu.prototype.hasSerializedModelDir = function() { - return null != t.Message.getField(this, 7) - } - , - proto.mediapipe.InferenceCalculatorOptions.Delegate.Gpu.prototype.getModelToken = function() { - return t.Message.getFieldWithDefault(this, 8, "") - } - , - proto.mediapipe.InferenceCalculatorOptions.Delegate.Gpu.prototype.setModelToken = function(e) { - return t.Message.setField(this, 8, e) - } - , - proto.mediapipe.InferenceCalculatorOptions.Delegate.Gpu.prototype.clearModelToken = function() { - return t.Message.setField(this, 8, void 0) - } - , - proto.mediapipe.InferenceCalculatorOptions.Delegate.Gpu.prototype.hasModelToken = function() { - return null != t.Message.getField(this, 8) - } - , - proto.mediapipe.InferenceCalculatorOptions.Delegate.Gpu.prototype.getUsage = function() { - return t.Message.getFieldWithDefault(this, 5, 2) - } - , - proto.mediapipe.InferenceCalculatorOptions.Delegate.Gpu.prototype.setUsage = function(e) { - return t.Message.setField(this, 5, e) - } - , - proto.mediapipe.InferenceCalculatorOptions.Delegate.Gpu.prototype.clearUsage = function() { - return t.Message.setField(this, 5, void 0) - } - , - proto.mediapipe.InferenceCalculatorOptions.Delegate.Gpu.prototype.hasUsage = function() { - return null != t.Message.getField(this, 5) - } - , - t.Message.GENERATE_TO_OBJECT && (proto.mediapipe.InferenceCalculatorOptions.Delegate.Nnapi.prototype.toObject = function(e) { - return proto.mediapipe.InferenceCalculatorOptions.Delegate.Nnapi.toObject(e, this) - } - , - proto.mediapipe.InferenceCalculatorOptions.Delegate.Nnapi.toObject = function(e, r) { - var o, i = { - cacheDir: null == (o = t.Message.getField(r, 1)) ? void 0 : o, - modelToken: null == (o = t.Message.getField(r, 2)) ? void 0 : o, - acceleratorName: null == (o = t.Message.getField(r, 3)) ? void 0 : o - }; - return e && (i.$jspbMessageInstance = r), - i - } - ), - proto.mediapipe.InferenceCalculatorOptions.Delegate.Nnapi.deserializeBinary = function(e) { - var r = new t.BinaryReader(e) - , o = new proto.mediapipe.InferenceCalculatorOptions.Delegate.Nnapi; - return proto.mediapipe.InferenceCalculatorOptions.Delegate.Nnapi.deserializeBinaryFromReader(o, r) - } - , - proto.mediapipe.InferenceCalculatorOptions.Delegate.Nnapi.deserializeBinaryFromReader = function(e, t) { - for (; t.nextField() && !t.isEndGroup(); ) { - switch (t.getFieldNumber()) { - case 1: - var r = t.readString(); - e.setCacheDir(r); - break; - case 2: - r = t.readString(); - e.setModelToken(r); - break; - case 3: - r = t.readString(); - e.setAcceleratorName(r); - break; - default: - t.skipField() - } - } - return e - } - , - proto.mediapipe.InferenceCalculatorOptions.Delegate.Nnapi.prototype.serializeBinary = function() { - var e = new t.BinaryWriter; - return proto.mediapipe.InferenceCalculatorOptions.Delegate.Nnapi.serializeBinaryToWriter(this, e), - e.getResultBuffer() - } - , - proto.mediapipe.InferenceCalculatorOptions.Delegate.Nnapi.serializeBinaryToWriter = function(e, r) { - var o = void 0; - null != (o = t.Message.getField(e, 1)) && r.writeString(1, o), - null != (o = t.Message.getField(e, 2)) && r.writeString(2, o), - null != (o = t.Message.getField(e, 3)) && r.writeString(3, o) - } - , - proto.mediapipe.InferenceCalculatorOptions.Delegate.Nnapi.prototype.getCacheDir = function() { - return t.Message.getFieldWithDefault(this, 1, "") - } - , - proto.mediapipe.InferenceCalculatorOptions.Delegate.Nnapi.prototype.setCacheDir = function(e) { - return t.Message.setField(this, 1, e) - } - , - proto.mediapipe.InferenceCalculatorOptions.Delegate.Nnapi.prototype.clearCacheDir = function() { - return t.Message.setField(this, 1, void 0) - } - , - proto.mediapipe.InferenceCalculatorOptions.Delegate.Nnapi.prototype.hasCacheDir = function() { - return null != t.Message.getField(this, 1) - } - , - proto.mediapipe.InferenceCalculatorOptions.Delegate.Nnapi.prototype.getModelToken = function() { - return t.Message.getFieldWithDefault(this, 2, "") - } - , - proto.mediapipe.InferenceCalculatorOptions.Delegate.Nnapi.prototype.setModelToken = function(e) { - return t.Message.setField(this, 2, e) - } - , - proto.mediapipe.InferenceCalculatorOptions.Delegate.Nnapi.prototype.clearModelToken = function() { - return t.Message.setField(this, 2, void 0) - } - , - proto.mediapipe.InferenceCalculatorOptions.Delegate.Nnapi.prototype.hasModelToken = function() { - return null != t.Message.getField(this, 2) - } - , - proto.mediapipe.InferenceCalculatorOptions.Delegate.Nnapi.prototype.getAcceleratorName = function() { - return t.Message.getFieldWithDefault(this, 3, "") - } - , - proto.mediapipe.InferenceCalculatorOptions.Delegate.Nnapi.prototype.setAcceleratorName = function(e) { - return t.Message.setField(this, 3, e) - } - , - proto.mediapipe.InferenceCalculatorOptions.Delegate.Nnapi.prototype.clearAcceleratorName = function() { - return t.Message.setField(this, 3, void 0) - } - , - proto.mediapipe.InferenceCalculatorOptions.Delegate.Nnapi.prototype.hasAcceleratorName = function() { - return null != t.Message.getField(this, 3) - } - , - t.Message.GENERATE_TO_OBJECT && (proto.mediapipe.InferenceCalculatorOptions.Delegate.Xnnpack.prototype.toObject = function(e) { - return proto.mediapipe.InferenceCalculatorOptions.Delegate.Xnnpack.toObject(e, this) - } - , - proto.mediapipe.InferenceCalculatorOptions.Delegate.Xnnpack.toObject = function(e, r) { - var o = { - numThreads: t.Message.getFieldWithDefault(r, 1, -1) - }; - return e && (o.$jspbMessageInstance = r), - o - } - ), - proto.mediapipe.InferenceCalculatorOptions.Delegate.Xnnpack.deserializeBinary = function(e) { - var r = new t.BinaryReader(e) - , o = new proto.mediapipe.InferenceCalculatorOptions.Delegate.Xnnpack; - return proto.mediapipe.InferenceCalculatorOptions.Delegate.Xnnpack.deserializeBinaryFromReader(o, r) - } - , - proto.mediapipe.InferenceCalculatorOptions.Delegate.Xnnpack.deserializeBinaryFromReader = function(e, t) { - for (; t.nextField() && !t.isEndGroup(); ) { - if (1 === t.getFieldNumber()) { - var r = t.readInt32(); - e.setNumThreads(r) - } else - t.skipField() - } - return e - } - , - proto.mediapipe.InferenceCalculatorOptions.Delegate.Xnnpack.prototype.serializeBinary = function() { - var e = new t.BinaryWriter; - return proto.mediapipe.InferenceCalculatorOptions.Delegate.Xnnpack.serializeBinaryToWriter(this, e), - e.getResultBuffer() - } - , - proto.mediapipe.InferenceCalculatorOptions.Delegate.Xnnpack.serializeBinaryToWriter = function(e, r) { - var o; - null != (o = t.Message.getField(e, 1)) && r.writeInt32(1, o) - } - , - proto.mediapipe.InferenceCalculatorOptions.Delegate.Xnnpack.prototype.getNumThreads = function() { - return t.Message.getFieldWithDefault(this, 1, -1) - } - , - proto.mediapipe.InferenceCalculatorOptions.Delegate.Xnnpack.prototype.setNumThreads = function(e) { - return t.Message.setField(this, 1, e) - } - , - proto.mediapipe.InferenceCalculatorOptions.Delegate.Xnnpack.prototype.clearNumThreads = function() { - return t.Message.setField(this, 1, void 0) - } - , - proto.mediapipe.InferenceCalculatorOptions.Delegate.Xnnpack.prototype.hasNumThreads = function() { - return null != t.Message.getField(this, 1) - } - , - proto.mediapipe.InferenceCalculatorOptions.Delegate.prototype.getTflite = function() { - return t.Message.getWrapperField(this, proto.mediapipe.InferenceCalculatorOptions.Delegate.TfLite, 1) - } - , - proto.mediapipe.InferenceCalculatorOptions.Delegate.prototype.setTflite = function(e) { - return t.Message.setOneofWrapperField(this, 1, proto.mediapipe.InferenceCalculatorOptions.Delegate.oneofGroups_[0], e) - } - , - proto.mediapipe.InferenceCalculatorOptions.Delegate.prototype.clearTflite = function() { - return this.setTflite(void 0) - } - , - proto.mediapipe.InferenceCalculatorOptions.Delegate.prototype.hasTflite = function() { - return null != t.Message.getField(this, 1) - } - , - proto.mediapipe.InferenceCalculatorOptions.Delegate.prototype.getGpu = function() { - return t.Message.getWrapperField(this, proto.mediapipe.InferenceCalculatorOptions.Delegate.Gpu, 2) - } - , - proto.mediapipe.InferenceCalculatorOptions.Delegate.prototype.setGpu = function(e) { - return t.Message.setOneofWrapperField(this, 2, proto.mediapipe.InferenceCalculatorOptions.Delegate.oneofGroups_[0], e) - } - , - proto.mediapipe.InferenceCalculatorOptions.Delegate.prototype.clearGpu = function() { - return this.setGpu(void 0) - } - , - proto.mediapipe.InferenceCalculatorOptions.Delegate.prototype.hasGpu = function() { - return null != t.Message.getField(this, 2) - } - , - proto.mediapipe.InferenceCalculatorOptions.Delegate.prototype.getNnapi = function() { - return t.Message.getWrapperField(this, proto.mediapipe.InferenceCalculatorOptions.Delegate.Nnapi, 3) - } - , - proto.mediapipe.InferenceCalculatorOptions.Delegate.prototype.setNnapi = function(e) { - return t.Message.setOneofWrapperField(this, 3, proto.mediapipe.InferenceCalculatorOptions.Delegate.oneofGroups_[0], e) - } - , - proto.mediapipe.InferenceCalculatorOptions.Delegate.prototype.clearNnapi = function() { - return this.setNnapi(void 0) - } - , - proto.mediapipe.InferenceCalculatorOptions.Delegate.prototype.hasNnapi = function() { - return null != t.Message.getField(this, 3) - } - , - proto.mediapipe.InferenceCalculatorOptions.Delegate.prototype.getXnnpack = function() { - return t.Message.getWrapperField(this, proto.mediapipe.InferenceCalculatorOptions.Delegate.Xnnpack, 4) - } - , - proto.mediapipe.InferenceCalculatorOptions.Delegate.prototype.setXnnpack = function(e) { - return t.Message.setOneofWrapperField(this, 4, proto.mediapipe.InferenceCalculatorOptions.Delegate.oneofGroups_[0], e) - } - , - proto.mediapipe.InferenceCalculatorOptions.Delegate.prototype.clearXnnpack = function() { - return this.setXnnpack(void 0) - } - , - proto.mediapipe.InferenceCalculatorOptions.Delegate.prototype.hasXnnpack = function() { - return null != t.Message.getField(this, 4) - } - , - proto.mediapipe.InferenceCalculatorOptions.ext = new t.ExtensionFieldInfo(336783863,{ - ext: 0 - },proto.mediapipe.InferenceCalculatorOptions,proto.mediapipe.InferenceCalculatorOptions.toObject,0), - a.CalculatorOptions.extensionsBinary[336783863] = new t.ExtensionFieldBinaryInfo(proto.mediapipe.InferenceCalculatorOptions.ext,t.BinaryReader.prototype.readMessage,t.BinaryWriter.prototype.writeMessage,proto.mediapipe.InferenceCalculatorOptions.serializeBinaryToWriter,proto.mediapipe.InferenceCalculatorOptions.deserializeBinaryFromReader,!1), - a.CalculatorOptions.extensions[336783863] = proto.mediapipe.InferenceCalculatorOptions.ext, - proto.mediapipe.InferenceCalculatorOptions.prototype.getModelPath = function() { - return t.Message.getFieldWithDefault(this, 1, "") - } - , - proto.mediapipe.InferenceCalculatorOptions.prototype.setModelPath = function(e) { - return t.Message.setField(this, 1, e) - } - , - proto.mediapipe.InferenceCalculatorOptions.prototype.clearModelPath = function() { - return t.Message.setField(this, 1, void 0) - } - , - proto.mediapipe.InferenceCalculatorOptions.prototype.hasModelPath = function() { - return null != t.Message.getField(this, 1) - } - , - proto.mediapipe.InferenceCalculatorOptions.prototype.getUseGpu = function() { - return t.Message.getBooleanFieldWithDefault(this, 2, !1) - } - , - proto.mediapipe.InferenceCalculatorOptions.prototype.setUseGpu = function(e) { - return t.Message.setField(this, 2, e) - } - , - proto.mediapipe.InferenceCalculatorOptions.prototype.clearUseGpu = function() { - return t.Message.setField(this, 2, void 0) - } - , - proto.mediapipe.InferenceCalculatorOptions.prototype.hasUseGpu = function() { - return null != t.Message.getField(this, 2) - } - , - proto.mediapipe.InferenceCalculatorOptions.prototype.getUseNnapi = function() { - return t.Message.getBooleanFieldWithDefault(this, 3, !1) - } - , - proto.mediapipe.InferenceCalculatorOptions.prototype.setUseNnapi = function(e) { - return t.Message.setField(this, 3, e) - } - , - proto.mediapipe.InferenceCalculatorOptions.prototype.clearUseNnapi = function() { - return t.Message.setField(this, 3, void 0) - } - , - proto.mediapipe.InferenceCalculatorOptions.prototype.hasUseNnapi = function() { - return null != t.Message.getField(this, 3) - } - , - proto.mediapipe.InferenceCalculatorOptions.prototype.getCpuNumThread = function() { - return t.Message.getFieldWithDefault(this, 4, -1) - } - , - proto.mediapipe.InferenceCalculatorOptions.prototype.setCpuNumThread = function(e) { - return t.Message.setField(this, 4, e) - } - , - proto.mediapipe.InferenceCalculatorOptions.prototype.clearCpuNumThread = function() { - return t.Message.setField(this, 4, void 0) - } - , - proto.mediapipe.InferenceCalculatorOptions.prototype.hasCpuNumThread = function() { - return null != t.Message.getField(this, 4) - } - , - proto.mediapipe.InferenceCalculatorOptions.prototype.getDelegate = function() { - return t.Message.getWrapperField(this, proto.mediapipe.InferenceCalculatorOptions.Delegate, 5) - } - , - proto.mediapipe.InferenceCalculatorOptions.prototype.setDelegate = function(e) { - return t.Message.setWrapperField(this, 5, e) - } - , - proto.mediapipe.InferenceCalculatorOptions.prototype.clearDelegate = function() { - return this.setDelegate(void 0) - } - , - proto.mediapipe.InferenceCalculatorOptions.prototype.hasDelegate = function() { - return null != t.Message.getField(this, 5) - } - , - proto.mediapipe.InferenceCalculatorOptions.ext = new t.ExtensionFieldInfo(336783863,{ - ext: 0 - },proto.mediapipe.InferenceCalculatorOptions,proto.mediapipe.InferenceCalculatorOptions.toObject,0), - a.CalculatorOptions.extensionsBinary[336783863] = new t.ExtensionFieldBinaryInfo(proto.mediapipe.InferenceCalculatorOptions.ext,t.BinaryReader.prototype.readMessage,t.BinaryWriter.prototype.writeMessage,proto.mediapipe.InferenceCalculatorOptions.serializeBinaryToWriter,proto.mediapipe.InferenceCalculatorOptions.deserializeBinaryFromReader,!1), - a.CalculatorOptions.extensions[336783863] = proto.mediapipe.InferenceCalculatorOptions.ext, - r.object.extend(e, proto.mediapipe) -}(inference_calculator_pb), -function(e) { - var t = googleProtobuf - , r = t - , o = "undefined" != typeof globalThis && globalThis || "undefined" != typeof window && window || void 0 !== o && o || "undefined" != typeof self && self || function() { - return this - } - .call(null) || Function("return this")() - , i = inference_calculator_pb; - r.object.extend(proto, i), - r.exportSymbol("proto.mediapipe.tasks.core.proto.Acceleration", null, o), - r.exportSymbol("proto.mediapipe.tasks.core.proto.Acceleration.DelegateCase", null, o), - proto.mediapipe.tasks.core.proto.Acceleration = function(e) { - t.Message.initialize(this, e, 0, -1, null, proto.mediapipe.tasks.core.proto.Acceleration.oneofGroups_) - } - , - r.inherits(proto.mediapipe.tasks.core.proto.Acceleration, t.Message), - r.DEBUG && !COMPILED && (proto.mediapipe.tasks.core.proto.Acceleration.displayName = "proto.mediapipe.tasks.core.proto.Acceleration"), - proto.mediapipe.tasks.core.proto.Acceleration.oneofGroups_ = [[1, 2, 4, 5]], - proto.mediapipe.tasks.core.proto.Acceleration.DelegateCase = { - DELEGATE_NOT_SET: 0, - XNNPACK: 1, - GPU: 2, - TFLITE: 4, - NNAPI: 5 - }, - proto.mediapipe.tasks.core.proto.Acceleration.prototype.getDelegateCase = function() { - return t.Message.computeOneofCase(this, proto.mediapipe.tasks.core.proto.Acceleration.oneofGroups_[0]) - } - , - t.Message.GENERATE_TO_OBJECT && (proto.mediapipe.tasks.core.proto.Acceleration.prototype.toObject = function(e) { - return proto.mediapipe.tasks.core.proto.Acceleration.toObject(e, this) - } - , - proto.mediapipe.tasks.core.proto.Acceleration.toObject = function(e, t) { - var r, o = { - xnnpack: (r = t.getXnnpack()) && i.InferenceCalculatorOptions.Delegate.Xnnpack.toObject(e, r), - gpu: (r = t.getGpu()) && i.InferenceCalculatorOptions.Delegate.Gpu.toObject(e, r), - tflite: (r = t.getTflite()) && i.InferenceCalculatorOptions.Delegate.TfLite.toObject(e, r), - nnapi: (r = t.getNnapi()) && i.InferenceCalculatorOptions.Delegate.Nnapi.toObject(e, r) - }; - return e && (o.$jspbMessageInstance = t), - o - } - ), - proto.mediapipe.tasks.core.proto.Acceleration.deserializeBinary = function(e) { - var r = new t.BinaryReader(e) - , o = new proto.mediapipe.tasks.core.proto.Acceleration; - return proto.mediapipe.tasks.core.proto.Acceleration.deserializeBinaryFromReader(o, r) - } - , - proto.mediapipe.tasks.core.proto.Acceleration.deserializeBinaryFromReader = function(e, t) { - for (; t.nextField() && !t.isEndGroup(); ) { - switch (t.getFieldNumber()) { - case 1: - var r = new i.InferenceCalculatorOptions.Delegate.Xnnpack; - t.readMessage(r, i.InferenceCalculatorOptions.Delegate.Xnnpack.deserializeBinaryFromReader), - e.setXnnpack(r); - break; - case 2: - r = new i.InferenceCalculatorOptions.Delegate.Gpu; - t.readMessage(r, i.InferenceCalculatorOptions.Delegate.Gpu.deserializeBinaryFromReader), - e.setGpu(r); - break; - case 4: - r = new i.InferenceCalculatorOptions.Delegate.TfLite; - t.readMessage(r, i.InferenceCalculatorOptions.Delegate.TfLite.deserializeBinaryFromReader), - e.setTflite(r); - break; - case 5: - r = new i.InferenceCalculatorOptions.Delegate.Nnapi; - t.readMessage(r, i.InferenceCalculatorOptions.Delegate.Nnapi.deserializeBinaryFromReader), - e.setNnapi(r); - break; - default: - t.skipField() - } - } - return e - } - , - proto.mediapipe.tasks.core.proto.Acceleration.prototype.serializeBinary = function() { - var e = new t.BinaryWriter; - return proto.mediapipe.tasks.core.proto.Acceleration.serializeBinaryToWriter(this, e), - e.getResultBuffer() - } - , - proto.mediapipe.tasks.core.proto.Acceleration.serializeBinaryToWriter = function(e, t) { - var r = void 0; - null != (r = e.getXnnpack()) && t.writeMessage(1, r, i.InferenceCalculatorOptions.Delegate.Xnnpack.serializeBinaryToWriter), - null != (r = e.getGpu()) && t.writeMessage(2, r, i.InferenceCalculatorOptions.Delegate.Gpu.serializeBinaryToWriter), - null != (r = e.getTflite()) && t.writeMessage(4, r, i.InferenceCalculatorOptions.Delegate.TfLite.serializeBinaryToWriter), - null != (r = e.getNnapi()) && t.writeMessage(5, r, i.InferenceCalculatorOptions.Delegate.Nnapi.serializeBinaryToWriter) - } - , - proto.mediapipe.tasks.core.proto.Acceleration.prototype.getXnnpack = function() { - return t.Message.getWrapperField(this, i.InferenceCalculatorOptions.Delegate.Xnnpack, 1) - } - , - proto.mediapipe.tasks.core.proto.Acceleration.prototype.setXnnpack = function(e) { - return t.Message.setOneofWrapperField(this, 1, proto.mediapipe.tasks.core.proto.Acceleration.oneofGroups_[0], e) - } - , - proto.mediapipe.tasks.core.proto.Acceleration.prototype.clearXnnpack = function() { - return this.setXnnpack(void 0) - } - , - proto.mediapipe.tasks.core.proto.Acceleration.prototype.hasXnnpack = function() { - return null != t.Message.getField(this, 1) - } - , - proto.mediapipe.tasks.core.proto.Acceleration.prototype.getGpu = function() { - return t.Message.getWrapperField(this, i.InferenceCalculatorOptions.Delegate.Gpu, 2) - } - , - proto.mediapipe.tasks.core.proto.Acceleration.prototype.setGpu = function(e) { - return t.Message.setOneofWrapperField(this, 2, proto.mediapipe.tasks.core.proto.Acceleration.oneofGroups_[0], e) - } - , - proto.mediapipe.tasks.core.proto.Acceleration.prototype.clearGpu = function() { - return this.setGpu(void 0) - } - , - proto.mediapipe.tasks.core.proto.Acceleration.prototype.hasGpu = function() { - return null != t.Message.getField(this, 2) - } - , - proto.mediapipe.tasks.core.proto.Acceleration.prototype.getTflite = function() { - return t.Message.getWrapperField(this, i.InferenceCalculatorOptions.Delegate.TfLite, 4) - } - , - proto.mediapipe.tasks.core.proto.Acceleration.prototype.setTflite = function(e) { - return t.Message.setOneofWrapperField(this, 4, proto.mediapipe.tasks.core.proto.Acceleration.oneofGroups_[0], e) - } - , - proto.mediapipe.tasks.core.proto.Acceleration.prototype.clearTflite = function() { - return this.setTflite(void 0) - } - , - proto.mediapipe.tasks.core.proto.Acceleration.prototype.hasTflite = function() { - return null != t.Message.getField(this, 4) - } - , - proto.mediapipe.tasks.core.proto.Acceleration.prototype.getNnapi = function() { - return t.Message.getWrapperField(this, i.InferenceCalculatorOptions.Delegate.Nnapi, 5) - } - , - proto.mediapipe.tasks.core.proto.Acceleration.prototype.setNnapi = function(e) { - return t.Message.setOneofWrapperField(this, 5, proto.mediapipe.tasks.core.proto.Acceleration.oneofGroups_[0], e) - } - , - proto.mediapipe.tasks.core.proto.Acceleration.prototype.clearNnapi = function() { - return this.setNnapi(void 0) - } - , - proto.mediapipe.tasks.core.proto.Acceleration.prototype.hasNnapi = function() { - return null != t.Message.getField(this, 5) - } - , - r.object.extend(e, proto.mediapipe.tasks.core.proto) -}(acceleration_pb); -var external_file_pb = {}; -!function(e) { - var t = googleProtobuf - , r = t - , o = "undefined" != typeof globalThis && globalThis || "undefined" != typeof window && window || void 0 !== o && o || "undefined" != typeof self && self || function() { - return this - } - .call(null) || Function("return this")(); - r.exportSymbol("proto.mediapipe.tasks.core.proto.ExternalFile", null, o), - r.exportSymbol("proto.mediapipe.tasks.core.proto.FileDescriptorMeta", null, o), - r.exportSymbol("proto.mediapipe.tasks.core.proto.FilePointerMeta", null, o), - proto.mediapipe.tasks.core.proto.ExternalFile = function(e) { - t.Message.initialize(this, e, 0, -1, null, null) - } - , - r.inherits(proto.mediapipe.tasks.core.proto.ExternalFile, t.Message), - r.DEBUG && !COMPILED && (proto.mediapipe.tasks.core.proto.ExternalFile.displayName = "proto.mediapipe.tasks.core.proto.ExternalFile"), - proto.mediapipe.tasks.core.proto.FileDescriptorMeta = function(e) { - t.Message.initialize(this, e, 0, -1, null, null) - } - , - r.inherits(proto.mediapipe.tasks.core.proto.FileDescriptorMeta, t.Message), - r.DEBUG && !COMPILED && (proto.mediapipe.tasks.core.proto.FileDescriptorMeta.displayName = "proto.mediapipe.tasks.core.proto.FileDescriptorMeta"), - proto.mediapipe.tasks.core.proto.FilePointerMeta = function(e) { - t.Message.initialize(this, e, 0, -1, null, null) - } - , - r.inherits(proto.mediapipe.tasks.core.proto.FilePointerMeta, t.Message), - r.DEBUG && !COMPILED && (proto.mediapipe.tasks.core.proto.FilePointerMeta.displayName = "proto.mediapipe.tasks.core.proto.FilePointerMeta"), - t.Message.GENERATE_TO_OBJECT && (proto.mediapipe.tasks.core.proto.ExternalFile.prototype.toObject = function(e) { - return proto.mediapipe.tasks.core.proto.ExternalFile.toObject(e, this) - } - , - proto.mediapipe.tasks.core.proto.ExternalFile.toObject = function(e, r) { - var o, i = { - fileContent: r.getFileContent_asB64(), - fileName: null == (o = t.Message.getField(r, 2)) ? void 0 : o, - fileDescriptorMeta: (o = r.getFileDescriptorMeta()) && proto.mediapipe.tasks.core.proto.FileDescriptorMeta.toObject(e, o), - filePointerMeta: (o = r.getFilePointerMeta()) && proto.mediapipe.tasks.core.proto.FilePointerMeta.toObject(e, o) - }; - return e && (i.$jspbMessageInstance = r), - i - } - ), - proto.mediapipe.tasks.core.proto.ExternalFile.deserializeBinary = function(e) { - var r = new t.BinaryReader(e) - , o = new proto.mediapipe.tasks.core.proto.ExternalFile; - return proto.mediapipe.tasks.core.proto.ExternalFile.deserializeBinaryFromReader(o, r) - } - , - proto.mediapipe.tasks.core.proto.ExternalFile.deserializeBinaryFromReader = function(e, t) { - for (; t.nextField() && !t.isEndGroup(); ) { - switch (t.getFieldNumber()) { - case 1: - var r = t.readBytes(); - e.setFileContent(r); - break; - case 2: - r = t.readString(); - e.setFileName(r); - break; - case 3: - r = new proto.mediapipe.tasks.core.proto.FileDescriptorMeta; - t.readMessage(r, proto.mediapipe.tasks.core.proto.FileDescriptorMeta.deserializeBinaryFromReader), - e.setFileDescriptorMeta(r); - break; - case 4: - r = new proto.mediapipe.tasks.core.proto.FilePointerMeta; - t.readMessage(r, proto.mediapipe.tasks.core.proto.FilePointerMeta.deserializeBinaryFromReader), - e.setFilePointerMeta(r); - break; - default: - t.skipField() - } - } - return e - } - , - proto.mediapipe.tasks.core.proto.ExternalFile.prototype.serializeBinary = function() { - var e = new t.BinaryWriter; - return proto.mediapipe.tasks.core.proto.ExternalFile.serializeBinaryToWriter(this, e), - e.getResultBuffer() - } - , - proto.mediapipe.tasks.core.proto.ExternalFile.serializeBinaryToWriter = function(e, r) { - var o = void 0; - null != (o = t.Message.getField(e, 1)) && r.writeBytes(1, o), - null != (o = t.Message.getField(e, 2)) && r.writeString(2, o), - null != (o = e.getFileDescriptorMeta()) && r.writeMessage(3, o, proto.mediapipe.tasks.core.proto.FileDescriptorMeta.serializeBinaryToWriter), - null != (o = e.getFilePointerMeta()) && r.writeMessage(4, o, proto.mediapipe.tasks.core.proto.FilePointerMeta.serializeBinaryToWriter) - } - , - proto.mediapipe.tasks.core.proto.ExternalFile.prototype.getFileContent = function() { - return t.Message.getFieldWithDefault(this, 1, "") - } - , - proto.mediapipe.tasks.core.proto.ExternalFile.prototype.getFileContent_asB64 = function() { - return t.Message.bytesAsB64(this.getFileContent()) - } - , - proto.mediapipe.tasks.core.proto.ExternalFile.prototype.getFileContent_asU8 = function() { - return t.Message.bytesAsU8(this.getFileContent()) - } - , - proto.mediapipe.tasks.core.proto.ExternalFile.prototype.setFileContent = function(e) { - return t.Message.setField(this, 1, e) - } - , - proto.mediapipe.tasks.core.proto.ExternalFile.prototype.clearFileContent = function() { - return t.Message.setField(this, 1, void 0) - } - , - proto.mediapipe.tasks.core.proto.ExternalFile.prototype.hasFileContent = function() { - return null != t.Message.getField(this, 1) - } - , - proto.mediapipe.tasks.core.proto.ExternalFile.prototype.getFileName = function() { - return t.Message.getFieldWithDefault(this, 2, "") - } - , - proto.mediapipe.tasks.core.proto.ExternalFile.prototype.setFileName = function(e) { - return t.Message.setField(this, 2, e) - } - , - proto.mediapipe.tasks.core.proto.ExternalFile.prototype.clearFileName = function() { - return t.Message.setField(this, 2, void 0) - } - , - proto.mediapipe.tasks.core.proto.ExternalFile.prototype.hasFileName = function() { - return null != t.Message.getField(this, 2) - } - , - proto.mediapipe.tasks.core.proto.ExternalFile.prototype.getFileDescriptorMeta = function() { - return t.Message.getWrapperField(this, proto.mediapipe.tasks.core.proto.FileDescriptorMeta, 3) - } - , - proto.mediapipe.tasks.core.proto.ExternalFile.prototype.setFileDescriptorMeta = function(e) { - return t.Message.setWrapperField(this, 3, e) - } - , - proto.mediapipe.tasks.core.proto.ExternalFile.prototype.clearFileDescriptorMeta = function() { - return this.setFileDescriptorMeta(void 0) - } - , - proto.mediapipe.tasks.core.proto.ExternalFile.prototype.hasFileDescriptorMeta = function() { - return null != t.Message.getField(this, 3) - } - , - proto.mediapipe.tasks.core.proto.ExternalFile.prototype.getFilePointerMeta = function() { - return t.Message.getWrapperField(this, proto.mediapipe.tasks.core.proto.FilePointerMeta, 4) - } - , - proto.mediapipe.tasks.core.proto.ExternalFile.prototype.setFilePointerMeta = function(e) { - return t.Message.setWrapperField(this, 4, e) - } - , - proto.mediapipe.tasks.core.proto.ExternalFile.prototype.clearFilePointerMeta = function() { - return this.setFilePointerMeta(void 0) - } - , - proto.mediapipe.tasks.core.proto.ExternalFile.prototype.hasFilePointerMeta = function() { - return null != t.Message.getField(this, 4) - } - , - t.Message.GENERATE_TO_OBJECT && (proto.mediapipe.tasks.core.proto.FileDescriptorMeta.prototype.toObject = function(e) { - return proto.mediapipe.tasks.core.proto.FileDescriptorMeta.toObject(e, this) - } - , - proto.mediapipe.tasks.core.proto.FileDescriptorMeta.toObject = function(e, r) { - var o, i = { - fd: null == (o = t.Message.getField(r, 1)) ? void 0 : o, - length: null == (o = t.Message.getField(r, 2)) ? void 0 : o, - offset: null == (o = t.Message.getField(r, 3)) ? void 0 : o - }; - return e && (i.$jspbMessageInstance = r), - i - } - ), - proto.mediapipe.tasks.core.proto.FileDescriptorMeta.deserializeBinary = function(e) { - var r = new t.BinaryReader(e) - , o = new proto.mediapipe.tasks.core.proto.FileDescriptorMeta; - return proto.mediapipe.tasks.core.proto.FileDescriptorMeta.deserializeBinaryFromReader(o, r) - } - , - proto.mediapipe.tasks.core.proto.FileDescriptorMeta.deserializeBinaryFromReader = function(e, t) { - for (; t.nextField() && !t.isEndGroup(); ) { - switch (t.getFieldNumber()) { - case 1: - var r = t.readInt32(); - e.setFd(r); - break; - case 2: - r = t.readInt64(); - e.setLength(r); - break; - case 3: - r = t.readInt64(); - e.setOffset(r); - break; - default: - t.skipField() - } - } - return e - } - , - proto.mediapipe.tasks.core.proto.FileDescriptorMeta.prototype.serializeBinary = function() { - var e = new t.BinaryWriter; - return proto.mediapipe.tasks.core.proto.FileDescriptorMeta.serializeBinaryToWriter(this, e), - e.getResultBuffer() - } - , - proto.mediapipe.tasks.core.proto.FileDescriptorMeta.serializeBinaryToWriter = function(e, r) { - var o = void 0; - null != (o = t.Message.getField(e, 1)) && r.writeInt32(1, o), - null != (o = t.Message.getField(e, 2)) && r.writeInt64(2, o), - null != (o = t.Message.getField(e, 3)) && r.writeInt64(3, o) - } - , - proto.mediapipe.tasks.core.proto.FileDescriptorMeta.prototype.getFd = function() { - return t.Message.getFieldWithDefault(this, 1, 0) - } - , - proto.mediapipe.tasks.core.proto.FileDescriptorMeta.prototype.setFd = function(e) { - return t.Message.setField(this, 1, e) - } - , - proto.mediapipe.tasks.core.proto.FileDescriptorMeta.prototype.clearFd = function() { - return t.Message.setField(this, 1, void 0) - } - , - proto.mediapipe.tasks.core.proto.FileDescriptorMeta.prototype.hasFd = function() { - return null != t.Message.getField(this, 1) - } - , - proto.mediapipe.tasks.core.proto.FileDescriptorMeta.prototype.getLength = function() { - return t.Message.getFieldWithDefault(this, 2, 0) - } - , - proto.mediapipe.tasks.core.proto.FileDescriptorMeta.prototype.setLength = function(e) { - return t.Message.setField(this, 2, e) - } - , - proto.mediapipe.tasks.core.proto.FileDescriptorMeta.prototype.clearLength = function() { - return t.Message.setField(this, 2, void 0) - } - , - proto.mediapipe.tasks.core.proto.FileDescriptorMeta.prototype.hasLength = function() { - return null != t.Message.getField(this, 2) - } - , - proto.mediapipe.tasks.core.proto.FileDescriptorMeta.prototype.getOffset = function() { - return t.Message.getFieldWithDefault(this, 3, 0) - } - , - proto.mediapipe.tasks.core.proto.FileDescriptorMeta.prototype.setOffset = function(e) { - return t.Message.setField(this, 3, e) - } - , - proto.mediapipe.tasks.core.proto.FileDescriptorMeta.prototype.clearOffset = function() { - return t.Message.setField(this, 3, void 0) - } - , - proto.mediapipe.tasks.core.proto.FileDescriptorMeta.prototype.hasOffset = function() { - return null != t.Message.getField(this, 3) - } - , - t.Message.GENERATE_TO_OBJECT && (proto.mediapipe.tasks.core.proto.FilePointerMeta.prototype.toObject = function(e) { - return proto.mediapipe.tasks.core.proto.FilePointerMeta.toObject(e, this) - } - , - proto.mediapipe.tasks.core.proto.FilePointerMeta.toObject = function(e, r) { - var o, i = { - pointer: null == (o = t.Message.getField(r, 1)) ? void 0 : o, - length: null == (o = t.Message.getField(r, 2)) ? void 0 : o - }; - return e && (i.$jspbMessageInstance = r), - i - } - ), - proto.mediapipe.tasks.core.proto.FilePointerMeta.deserializeBinary = function(e) { - var r = new t.BinaryReader(e) - , o = new proto.mediapipe.tasks.core.proto.FilePointerMeta; - return proto.mediapipe.tasks.core.proto.FilePointerMeta.deserializeBinaryFromReader(o, r) - } - , - proto.mediapipe.tasks.core.proto.FilePointerMeta.deserializeBinaryFromReader = function(e, t) { - for (; t.nextField() && !t.isEndGroup(); ) { - switch (t.getFieldNumber()) { - case 1: - var r = t.readUint64(); - e.setPointer(r); - break; - case 2: - r = t.readInt64(); - e.setLength(r); - break; - default: - t.skipField() - } - } - return e - } - , - proto.mediapipe.tasks.core.proto.FilePointerMeta.prototype.serializeBinary = function() { - var e = new t.BinaryWriter; - return proto.mediapipe.tasks.core.proto.FilePointerMeta.serializeBinaryToWriter(this, e), - e.getResultBuffer() - } - , - proto.mediapipe.tasks.core.proto.FilePointerMeta.serializeBinaryToWriter = function(e, r) { - var o = void 0; - null != (o = t.Message.getField(e, 1)) && r.writeUint64(1, o), - null != (o = t.Message.getField(e, 2)) && r.writeInt64(2, o) - } - , - proto.mediapipe.tasks.core.proto.FilePointerMeta.prototype.getPointer = function() { - return t.Message.getFieldWithDefault(this, 1, 0) - } - , - proto.mediapipe.tasks.core.proto.FilePointerMeta.prototype.setPointer = function(e) { - return t.Message.setField(this, 1, e) - } - , - proto.mediapipe.tasks.core.proto.FilePointerMeta.prototype.clearPointer = function() { - return t.Message.setField(this, 1, void 0) - } - , - proto.mediapipe.tasks.core.proto.FilePointerMeta.prototype.hasPointer = function() { - return null != t.Message.getField(this, 1) - } - , - proto.mediapipe.tasks.core.proto.FilePointerMeta.prototype.getLength = function() { - return t.Message.getFieldWithDefault(this, 2, 0) - } - , - proto.mediapipe.tasks.core.proto.FilePointerMeta.prototype.setLength = function(e) { - return t.Message.setField(this, 2, e) - } - , - proto.mediapipe.tasks.core.proto.FilePointerMeta.prototype.clearLength = function() { - return t.Message.setField(this, 2, void 0) - } - , - proto.mediapipe.tasks.core.proto.FilePointerMeta.prototype.hasLength = function() { - return null != t.Message.getField(this, 2) - } - , - r.object.extend(e, proto.mediapipe.tasks.core.proto) -}(external_file_pb), -function(e) { - var t = googleProtobuf - , r = t - , o = "undefined" != typeof globalThis && globalThis || "undefined" != typeof window && window || void 0 !== o && o || "undefined" != typeof self && self || function() { - return this - } - .call(null) || Function("return this")() - , i = acceleration_pb; - r.object.extend(proto, i); - var a = external_file_pb; - r.object.extend(proto, a), - r.exportSymbol("proto.mediapipe.tasks.core.proto.BaseOptions", null, o), - proto.mediapipe.tasks.core.proto.BaseOptions = function(e) { - t.Message.initialize(this, e, 0, -1, null, null) - } - , - r.inherits(proto.mediapipe.tasks.core.proto.BaseOptions, t.Message), - r.DEBUG && !COMPILED && (proto.mediapipe.tasks.core.proto.BaseOptions.displayName = "proto.mediapipe.tasks.core.proto.BaseOptions"), - t.Message.GENERATE_TO_OBJECT && (proto.mediapipe.tasks.core.proto.BaseOptions.prototype.toObject = function(e) { - return proto.mediapipe.tasks.core.proto.BaseOptions.toObject(e, this) - } - , - proto.mediapipe.tasks.core.proto.BaseOptions.toObject = function(e, r) { - var o, n = { - modelAsset: (o = r.getModelAsset()) && a.ExternalFile.toObject(e, o), - useStreamMode: t.Message.getBooleanFieldWithDefault(r, 2, !1), - acceleration: (o = r.getAcceleration()) && i.Acceleration.toObject(e, o) - }; - return e && (n.$jspbMessageInstance = r), - n - } - ), - proto.mediapipe.tasks.core.proto.BaseOptions.deserializeBinary = function(e) { - var r = new t.BinaryReader(e) - , o = new proto.mediapipe.tasks.core.proto.BaseOptions; - return proto.mediapipe.tasks.core.proto.BaseOptions.deserializeBinaryFromReader(o, r) - } - , - proto.mediapipe.tasks.core.proto.BaseOptions.deserializeBinaryFromReader = function(e, t) { - for (; t.nextField() && !t.isEndGroup(); ) { - switch (t.getFieldNumber()) { - case 1: - var r = new a.ExternalFile; - t.readMessage(r, a.ExternalFile.deserializeBinaryFromReader), - e.setModelAsset(r); - break; - case 2: - r = t.readBool(); - e.setUseStreamMode(r); - break; - case 3: - r = new i.Acceleration; - t.readMessage(r, i.Acceleration.deserializeBinaryFromReader), - e.setAcceleration(r); - break; - default: - t.skipField() - } - } - return e - } - , - proto.mediapipe.tasks.core.proto.BaseOptions.prototype.serializeBinary = function() { - var e = new t.BinaryWriter; - return proto.mediapipe.tasks.core.proto.BaseOptions.serializeBinaryToWriter(this, e), - e.getResultBuffer() - } - , - proto.mediapipe.tasks.core.proto.BaseOptions.serializeBinaryToWriter = function(e, r) { - var o = void 0; - null != (o = e.getModelAsset()) && r.writeMessage(1, o, a.ExternalFile.serializeBinaryToWriter), - null != (o = t.Message.getField(e, 2)) && r.writeBool(2, o), - null != (o = e.getAcceleration()) && r.writeMessage(3, o, i.Acceleration.serializeBinaryToWriter) - } - , - proto.mediapipe.tasks.core.proto.BaseOptions.prototype.getModelAsset = function() { - return t.Message.getWrapperField(this, a.ExternalFile, 1) - } - , - proto.mediapipe.tasks.core.proto.BaseOptions.prototype.setModelAsset = function(e) { - return t.Message.setWrapperField(this, 1, e) - } - , - proto.mediapipe.tasks.core.proto.BaseOptions.prototype.clearModelAsset = function() { - return this.setModelAsset(void 0) - } - , - proto.mediapipe.tasks.core.proto.BaseOptions.prototype.hasModelAsset = function() { - return null != t.Message.getField(this, 1) - } - , - proto.mediapipe.tasks.core.proto.BaseOptions.prototype.getUseStreamMode = function() { - return t.Message.getBooleanFieldWithDefault(this, 2, !1) - } - , - proto.mediapipe.tasks.core.proto.BaseOptions.prototype.setUseStreamMode = function(e) { - return t.Message.setField(this, 2, e) - } - , - proto.mediapipe.tasks.core.proto.BaseOptions.prototype.clearUseStreamMode = function() { - return t.Message.setField(this, 2, void 0) - } - , - proto.mediapipe.tasks.core.proto.BaseOptions.prototype.hasUseStreamMode = function() { - return null != t.Message.getField(this, 2) - } - , - proto.mediapipe.tasks.core.proto.BaseOptions.prototype.getAcceleration = function() { - return t.Message.getWrapperField(this, i.Acceleration, 3) - } - , - proto.mediapipe.tasks.core.proto.BaseOptions.prototype.setAcceleration = function(e) { - return t.Message.setWrapperField(this, 3, e) - } - , - proto.mediapipe.tasks.core.proto.BaseOptions.prototype.clearAcceleration = function() { - return this.setAcceleration(void 0) - } - , - proto.mediapipe.tasks.core.proto.BaseOptions.prototype.hasAcceleration = function() { - return null != t.Message.getField(this, 3) - } - , - r.object.extend(e, proto.mediapipe.tasks.core.proto) -}(base_options_pb); -var face_detector_graph_options_pb = {}; -!function(e) { - var t = googleProtobuf - , r = t - , o = "undefined" != typeof globalThis && globalThis || "undefined" != typeof window && window || void 0 !== o && o || "undefined" != typeof self && self || function() { - return this - } - .call(null) || Function("return this")() - , i = calculator_pb; - r.object.extend(proto, i); - var a = calculator_options_pb; - r.object.extend(proto, a); - var n = base_options_pb; - r.object.extend(proto, n), - r.exportSymbol("proto.mediapipe.tasks.vision.face_detector.proto.FaceDetectorGraphOptions", null, o), - proto.mediapipe.tasks.vision.face_detector.proto.FaceDetectorGraphOptions = function(e) { - t.Message.initialize(this, e, 0, -1, null, null) - } - , - r.inherits(proto.mediapipe.tasks.vision.face_detector.proto.FaceDetectorGraphOptions, t.Message), - r.DEBUG && !COMPILED && (proto.mediapipe.tasks.vision.face_detector.proto.FaceDetectorGraphOptions.displayName = "proto.mediapipe.tasks.vision.face_detector.proto.FaceDetectorGraphOptions"), - t.Message.GENERATE_TO_OBJECT && (proto.mediapipe.tasks.vision.face_detector.proto.FaceDetectorGraphOptions.prototype.toObject = function(e) { - return proto.mediapipe.tasks.vision.face_detector.proto.FaceDetectorGraphOptions.toObject(e, this) - } - , - proto.mediapipe.tasks.vision.face_detector.proto.FaceDetectorGraphOptions.toObject = function(e, r) { - var o, i = { - baseOptions: (o = r.getBaseOptions()) && n.BaseOptions.toObject(e, o), - minDetectionConfidence: t.Message.getFloatingPointFieldWithDefault(r, 2, .5), - minSuppressionThreshold: t.Message.getFloatingPointFieldWithDefault(r, 3, .5), - numFaces: null == (o = t.Message.getField(r, 4)) ? void 0 : o - }; - return e && (i.$jspbMessageInstance = r), - i - } - ), - proto.mediapipe.tasks.vision.face_detector.proto.FaceDetectorGraphOptions.deserializeBinary = function(e) { - var r = new t.BinaryReader(e) - , o = new proto.mediapipe.tasks.vision.face_detector.proto.FaceDetectorGraphOptions; - return proto.mediapipe.tasks.vision.face_detector.proto.FaceDetectorGraphOptions.deserializeBinaryFromReader(o, r) - } - , - proto.mediapipe.tasks.vision.face_detector.proto.FaceDetectorGraphOptions.deserializeBinaryFromReader = function(e, t) { - for (; t.nextField() && !t.isEndGroup(); ) { - switch (t.getFieldNumber()) { - case 1: - var r = new n.BaseOptions; - t.readMessage(r, n.BaseOptions.deserializeBinaryFromReader), - e.setBaseOptions(r); - break; - case 2: - r = t.readFloat(); - e.setMinDetectionConfidence(r); - break; - case 3: - r = t.readFloat(); - e.setMinSuppressionThreshold(r); - break; - case 4: - r = t.readInt32(); - e.setNumFaces(r); - break; - default: - t.skipField() - } - } - return e - } - , - proto.mediapipe.tasks.vision.face_detector.proto.FaceDetectorGraphOptions.prototype.serializeBinary = function() { - var e = new t.BinaryWriter; - return proto.mediapipe.tasks.vision.face_detector.proto.FaceDetectorGraphOptions.serializeBinaryToWriter(this, e), - e.getResultBuffer() - } - , - proto.mediapipe.tasks.vision.face_detector.proto.FaceDetectorGraphOptions.serializeBinaryToWriter = function(e, r) { - var o = void 0; - null != (o = e.getBaseOptions()) && r.writeMessage(1, o, n.BaseOptions.serializeBinaryToWriter), - null != (o = t.Message.getField(e, 2)) && r.writeFloat(2, o), - null != (o = t.Message.getField(e, 3)) && r.writeFloat(3, o), - null != (o = t.Message.getField(e, 4)) && r.writeInt32(4, o) - } - , - proto.mediapipe.tasks.vision.face_detector.proto.FaceDetectorGraphOptions.ext = new t.ExtensionFieldInfo(502141897,{ - ext: 0 - },proto.mediapipe.tasks.vision.face_detector.proto.FaceDetectorGraphOptions,proto.mediapipe.tasks.vision.face_detector.proto.FaceDetectorGraphOptions.toObject,0), - a.CalculatorOptions.extensionsBinary[502141897] = new t.ExtensionFieldBinaryInfo(proto.mediapipe.tasks.vision.face_detector.proto.FaceDetectorGraphOptions.ext,t.BinaryReader.prototype.readMessage,t.BinaryWriter.prototype.writeMessage,proto.mediapipe.tasks.vision.face_detector.proto.FaceDetectorGraphOptions.serializeBinaryToWriter,proto.mediapipe.tasks.vision.face_detector.proto.FaceDetectorGraphOptions.deserializeBinaryFromReader,!1), - a.CalculatorOptions.extensions[502141897] = proto.mediapipe.tasks.vision.face_detector.proto.FaceDetectorGraphOptions.ext, - proto.mediapipe.tasks.vision.face_detector.proto.FaceDetectorGraphOptions.prototype.getBaseOptions = function() { - return t.Message.getWrapperField(this, n.BaseOptions, 1) - } - , - proto.mediapipe.tasks.vision.face_detector.proto.FaceDetectorGraphOptions.prototype.setBaseOptions = function(e) { - return t.Message.setWrapperField(this, 1, e) - } - , - proto.mediapipe.tasks.vision.face_detector.proto.FaceDetectorGraphOptions.prototype.clearBaseOptions = function() { - return this.setBaseOptions(void 0) - } - , - proto.mediapipe.tasks.vision.face_detector.proto.FaceDetectorGraphOptions.prototype.hasBaseOptions = function() { - return null != t.Message.getField(this, 1) - } - , - proto.mediapipe.tasks.vision.face_detector.proto.FaceDetectorGraphOptions.prototype.getMinDetectionConfidence = function() { - return t.Message.getFloatingPointFieldWithDefault(this, 2, .5) - } - , - proto.mediapipe.tasks.vision.face_detector.proto.FaceDetectorGraphOptions.prototype.setMinDetectionConfidence = function(e) { - return t.Message.setField(this, 2, e) - } - , - proto.mediapipe.tasks.vision.face_detector.proto.FaceDetectorGraphOptions.prototype.clearMinDetectionConfidence = function() { - return t.Message.setField(this, 2, void 0) - } - , - proto.mediapipe.tasks.vision.face_detector.proto.FaceDetectorGraphOptions.prototype.hasMinDetectionConfidence = function() { - return null != t.Message.getField(this, 2) - } - , - proto.mediapipe.tasks.vision.face_detector.proto.FaceDetectorGraphOptions.prototype.getMinSuppressionThreshold = function() { - return t.Message.getFloatingPointFieldWithDefault(this, 3, .5) - } - , - proto.mediapipe.tasks.vision.face_detector.proto.FaceDetectorGraphOptions.prototype.setMinSuppressionThreshold = function(e) { - return t.Message.setField(this, 3, e) - } - , - proto.mediapipe.tasks.vision.face_detector.proto.FaceDetectorGraphOptions.prototype.clearMinSuppressionThreshold = function() { - return t.Message.setField(this, 3, void 0) - } - , - proto.mediapipe.tasks.vision.face_detector.proto.FaceDetectorGraphOptions.prototype.hasMinSuppressionThreshold = function() { - return null != t.Message.getField(this, 3) - } - , - proto.mediapipe.tasks.vision.face_detector.proto.FaceDetectorGraphOptions.prototype.getNumFaces = function() { - return t.Message.getFieldWithDefault(this, 4, 0) - } - , - proto.mediapipe.tasks.vision.face_detector.proto.FaceDetectorGraphOptions.prototype.setNumFaces = function(e) { - return t.Message.setField(this, 4, e) - } - , - proto.mediapipe.tasks.vision.face_detector.proto.FaceDetectorGraphOptions.prototype.clearNumFaces = function() { - return t.Message.setField(this, 4, void 0) - } - , - proto.mediapipe.tasks.vision.face_detector.proto.FaceDetectorGraphOptions.prototype.hasNumFaces = function() { - return null != t.Message.getField(this, 4) - } - , - proto.mediapipe.tasks.vision.face_detector.proto.FaceDetectorGraphOptions.ext = new t.ExtensionFieldInfo(502141897,{ - ext: 0 - },proto.mediapipe.tasks.vision.face_detector.proto.FaceDetectorGraphOptions,proto.mediapipe.tasks.vision.face_detector.proto.FaceDetectorGraphOptions.toObject,0), - a.CalculatorOptions.extensionsBinary[502141897] = new t.ExtensionFieldBinaryInfo(proto.mediapipe.tasks.vision.face_detector.proto.FaceDetectorGraphOptions.ext,t.BinaryReader.prototype.readMessage,t.BinaryWriter.prototype.writeMessage,proto.mediapipe.tasks.vision.face_detector.proto.FaceDetectorGraphOptions.serializeBinaryToWriter,proto.mediapipe.tasks.vision.face_detector.proto.FaceDetectorGraphOptions.deserializeBinaryFromReader,!1), - a.CalculatorOptions.extensions[502141897] = proto.mediapipe.tasks.vision.face_detector.proto.FaceDetectorGraphOptions.ext, - r.object.extend(e, proto.mediapipe.tasks.vision.face_detector.proto) -}(face_detector_graph_options_pb); -var detection_result = {}; -Object.defineProperty(detection_result, "__esModule", { - value: !0 -}), -detection_result.convertFromDetectionProto = void 0; -const DEFAULT_CATEGORY_INDEX = -1; -function convertFromDetectionProto(e) { - var t, r, o, i, a, n, s, p, d, l, g, c, u; - const m = e.getScoreList() - , f = e.getLabelIdList() - , h = e.getLabelList() - , y = e.getDisplayNameList() - , b = { - categories: [] - }; - for (let e = 0; e < m.length; e++) - b.categories.push({ - score: m[e], - index: null !== (t = f[e]) && void 0 !== t ? t : DEFAULT_CATEGORY_INDEX, - categoryName: null !== (r = h[e]) && void 0 !== r ? r : "", - displayName: null !== (o = y[e]) && void 0 !== o ? o : "" - }); - const _ = null === (i = e.getLocationData()) || void 0 === i ? void 0 : i.getBoundingBox(); - if (_ && (b.boundingBox = { - originX: null !== (a = _.getXmin()) && void 0 !== a ? a : 0, - originY: null !== (n = _.getYmin()) && void 0 !== n ? n : 0, - width: null !== (s = _.getWidth()) && void 0 !== s ? s : 0, - height: null !== (p = _.getHeight()) && void 0 !== p ? p : 0 - }), - null === (d = e.getLocationData()) || void 0 === d ? void 0 : d.getRelativeKeypointsList().length) { - b.keypoints = []; - for (const t of e.getLocationData().getRelativeKeypointsList()) - b.keypoints.push({ - x: null !== (l = t.getX()) && void 0 !== l ? l : 0, - y: null !== (g = t.getY()) && void 0 !== g ? g : 0, - score: null !== (c = t.getScore()) && void 0 !== c ? c : 0, - label: null !== (u = t.getKeypointLabel()) && void 0 !== u ? u : "" - }) - } - return b -} -detection_result.convertFromDetectionProto = convertFromDetectionProto; -var vision_task_runner = {} - , rect_pb = {}; -!function(e) { - var t = googleProtobuf - , r = t - , o = "undefined" != typeof globalThis && globalThis || "undefined" != typeof window && window || void 0 !== o && o || "undefined" != typeof self && self || function() { - return this - } - .call(null) || Function("return this")(); - r.exportSymbol("proto.mediapipe.NormalizedRect", null, o), - r.exportSymbol("proto.mediapipe.Rect", null, o), - proto.mediapipe.Rect = function(e) { - t.Message.initialize(this, e, 0, -1, null, null) - } - , - r.inherits(proto.mediapipe.Rect, t.Message), - r.DEBUG && !COMPILED && (proto.mediapipe.Rect.displayName = "proto.mediapipe.Rect"), - proto.mediapipe.NormalizedRect = function(e) { - t.Message.initialize(this, e, 0, -1, null, null) - } - , - r.inherits(proto.mediapipe.NormalizedRect, t.Message), - r.DEBUG && !COMPILED && (proto.mediapipe.NormalizedRect.displayName = "proto.mediapipe.NormalizedRect"), - t.Message.GENERATE_TO_OBJECT && (proto.mediapipe.Rect.prototype.toObject = function(e) { - return proto.mediapipe.Rect.toObject(e, this) - } - , - proto.mediapipe.Rect.toObject = function(e, r) { - var o, i = { - xCenter: null == (o = t.Message.getField(r, 1)) ? void 0 : o, - yCenter: null == (o = t.Message.getField(r, 2)) ? void 0 : o, - height: null == (o = t.Message.getField(r, 3)) ? void 0 : o, - width: null == (o = t.Message.getField(r, 4)) ? void 0 : o, - rotation: t.Message.getFloatingPointFieldWithDefault(r, 5, 0), - rectId: null == (o = t.Message.getField(r, 6)) ? void 0 : o - }; - return e && (i.$jspbMessageInstance = r), - i - } - ), - proto.mediapipe.Rect.deserializeBinary = function(e) { - var r = new t.BinaryReader(e) - , o = new proto.mediapipe.Rect; - return proto.mediapipe.Rect.deserializeBinaryFromReader(o, r) - } - , - proto.mediapipe.Rect.deserializeBinaryFromReader = function(e, t) { - for (; t.nextField() && !t.isEndGroup(); ) { - switch (t.getFieldNumber()) { - case 1: - var r = t.readInt32(); - e.setXCenter(r); - break; - case 2: - r = t.readInt32(); - e.setYCenter(r); - break; - case 3: - r = t.readInt32(); - e.setHeight(r); - break; - case 4: - r = t.readInt32(); - e.setWidth(r); - break; - case 5: - r = t.readFloat(); - e.setRotation(r); - break; - case 6: - r = t.readInt64(); - e.setRectId(r); - break; - default: - t.skipField() - } - } - return e - } - , - proto.mediapipe.Rect.prototype.serializeBinary = function() { - var e = new t.BinaryWriter; - return proto.mediapipe.Rect.serializeBinaryToWriter(this, e), - e.getResultBuffer() - } - , - proto.mediapipe.Rect.serializeBinaryToWriter = function(e, r) { - var o = void 0; - null != (o = t.Message.getField(e, 1)) && r.writeInt32(1, o), - null != (o = t.Message.getField(e, 2)) && r.writeInt32(2, o), - null != (o = t.Message.getField(e, 3)) && r.writeInt32(3, o), - null != (o = t.Message.getField(e, 4)) && r.writeInt32(4, o), - null != (o = t.Message.getField(e, 5)) && r.writeFloat(5, o), - null != (o = t.Message.getField(e, 6)) && r.writeInt64(6, o) - } - , - proto.mediapipe.Rect.prototype.getXCenter = function() { - return t.Message.getFieldWithDefault(this, 1, 0) - } - , - proto.mediapipe.Rect.prototype.setXCenter = function(e) { - return t.Message.setField(this, 1, e) - } - , - proto.mediapipe.Rect.prototype.clearXCenter = function() { - return t.Message.setField(this, 1, void 0) - } - , - proto.mediapipe.Rect.prototype.hasXCenter = function() { - return null != t.Message.getField(this, 1) - } - , - proto.mediapipe.Rect.prototype.getYCenter = function() { - return t.Message.getFieldWithDefault(this, 2, 0) - } - , - proto.mediapipe.Rect.prototype.setYCenter = function(e) { - return t.Message.setField(this, 2, e) - } - , - proto.mediapipe.Rect.prototype.clearYCenter = function() { - return t.Message.setField(this, 2, void 0) - } - , - proto.mediapipe.Rect.prototype.hasYCenter = function() { - return null != t.Message.getField(this, 2) - } - , - proto.mediapipe.Rect.prototype.getHeight = function() { - return t.Message.getFieldWithDefault(this, 3, 0) - } - , - proto.mediapipe.Rect.prototype.setHeight = function(e) { - return t.Message.setField(this, 3, e) - } - , - proto.mediapipe.Rect.prototype.clearHeight = function() { - return t.Message.setField(this, 3, void 0) - } - , - proto.mediapipe.Rect.prototype.hasHeight = function() { - return null != t.Message.getField(this, 3) - } - , - proto.mediapipe.Rect.prototype.getWidth = function() { - return t.Message.getFieldWithDefault(this, 4, 0) - } - , - proto.mediapipe.Rect.prototype.setWidth = function(e) { - return t.Message.setField(this, 4, e) - } - , - proto.mediapipe.Rect.prototype.clearWidth = function() { - return t.Message.setField(this, 4, void 0) - } - , - proto.mediapipe.Rect.prototype.hasWidth = function() { - return null != t.Message.getField(this, 4) - } - , - proto.mediapipe.Rect.prototype.getRotation = function() { - return t.Message.getFloatingPointFieldWithDefault(this, 5, 0) - } - , - proto.mediapipe.Rect.prototype.setRotation = function(e) { - return t.Message.setField(this, 5, e) - } - , - proto.mediapipe.Rect.prototype.clearRotation = function() { - return t.Message.setField(this, 5, void 0) - } - , - proto.mediapipe.Rect.prototype.hasRotation = function() { - return null != t.Message.getField(this, 5) - } - , - proto.mediapipe.Rect.prototype.getRectId = function() { - return t.Message.getFieldWithDefault(this, 6, 0) - } - , - proto.mediapipe.Rect.prototype.setRectId = function(e) { - return t.Message.setField(this, 6, e) - } - , - proto.mediapipe.Rect.prototype.clearRectId = function() { - return t.Message.setField(this, 6, void 0) - } - , - proto.mediapipe.Rect.prototype.hasRectId = function() { - return null != t.Message.getField(this, 6) - } - , - t.Message.GENERATE_TO_OBJECT && (proto.mediapipe.NormalizedRect.prototype.toObject = function(e) { - return proto.mediapipe.NormalizedRect.toObject(e, this) - } - , - proto.mediapipe.NormalizedRect.toObject = function(e, r) { - var o, i = { - xCenter: null == (o = t.Message.getOptionalFloatingPointField(r, 1)) ? void 0 : o, - yCenter: null == (o = t.Message.getOptionalFloatingPointField(r, 2)) ? void 0 : o, - height: null == (o = t.Message.getOptionalFloatingPointField(r, 3)) ? void 0 : o, - width: null == (o = t.Message.getOptionalFloatingPointField(r, 4)) ? void 0 : o, - rotation: t.Message.getFloatingPointFieldWithDefault(r, 5, 0), - rectId: null == (o = t.Message.getField(r, 6)) ? void 0 : o - }; - return e && (i.$jspbMessageInstance = r), - i - } - ), - proto.mediapipe.NormalizedRect.deserializeBinary = function(e) { - var r = new t.BinaryReader(e) - , o = new proto.mediapipe.NormalizedRect; - return proto.mediapipe.NormalizedRect.deserializeBinaryFromReader(o, r) - } - , - proto.mediapipe.NormalizedRect.deserializeBinaryFromReader = function(e, t) { - for (; t.nextField() && !t.isEndGroup(); ) { - switch (t.getFieldNumber()) { - case 1: - var r = t.readFloat(); - e.setXCenter(r); - break; - case 2: - r = t.readFloat(); - e.setYCenter(r); - break; - case 3: - r = t.readFloat(); - e.setHeight(r); - break; - case 4: - r = t.readFloat(); - e.setWidth(r); - break; - case 5: - r = t.readFloat(); - e.setRotation(r); - break; - case 6: - r = t.readInt64(); - e.setRectId(r); - break; - default: - t.skipField() - } - } - return e - } - , - proto.mediapipe.NormalizedRect.prototype.serializeBinary = function() { - var e = new t.BinaryWriter; - return proto.mediapipe.NormalizedRect.serializeBinaryToWriter(this, e), - e.getResultBuffer() - } - , - proto.mediapipe.NormalizedRect.serializeBinaryToWriter = function(e, r) { - var o = void 0; - null != (o = t.Message.getField(e, 1)) && r.writeFloat(1, o), - null != (o = t.Message.getField(e, 2)) && r.writeFloat(2, o), - null != (o = t.Message.getField(e, 3)) && r.writeFloat(3, o), - null != (o = t.Message.getField(e, 4)) && r.writeFloat(4, o), - null != (o = t.Message.getField(e, 5)) && r.writeFloat(5, o), - null != (o = t.Message.getField(e, 6)) && r.writeInt64(6, o) - } - , - proto.mediapipe.NormalizedRect.prototype.getXCenter = function() { - return t.Message.getFloatingPointFieldWithDefault(this, 1, 0) - } - , - proto.mediapipe.NormalizedRect.prototype.setXCenter = function(e) { - return t.Message.setField(this, 1, e) - } - , - proto.mediapipe.NormalizedRect.prototype.clearXCenter = function() { - return t.Message.setField(this, 1, void 0) - } - , - proto.mediapipe.NormalizedRect.prototype.hasXCenter = function() { - return null != t.Message.getField(this, 1) - } - , - proto.mediapipe.NormalizedRect.prototype.getYCenter = function() { - return t.Message.getFloatingPointFieldWithDefault(this, 2, 0) - } - , - proto.mediapipe.NormalizedRect.prototype.setYCenter = function(e) { - return t.Message.setField(this, 2, e) - } - , - proto.mediapipe.NormalizedRect.prototype.clearYCenter = function() { - return t.Message.setField(this, 2, void 0) - } - , - proto.mediapipe.NormalizedRect.prototype.hasYCenter = function() { - return null != t.Message.getField(this, 2) - } - , - proto.mediapipe.NormalizedRect.prototype.getHeight = function() { - return t.Message.getFloatingPointFieldWithDefault(this, 3, 0) - } - , - proto.mediapipe.NormalizedRect.prototype.setHeight = function(e) { - return t.Message.setField(this, 3, e) - } - , - proto.mediapipe.NormalizedRect.prototype.clearHeight = function() { - return t.Message.setField(this, 3, void 0) - } - , - proto.mediapipe.NormalizedRect.prototype.hasHeight = function() { - return null != t.Message.getField(this, 3) - } - , - proto.mediapipe.NormalizedRect.prototype.getWidth = function() { - return t.Message.getFloatingPointFieldWithDefault(this, 4, 0) - } - , - proto.mediapipe.NormalizedRect.prototype.setWidth = function(e) { - return t.Message.setField(this, 4, e) - } - , - proto.mediapipe.NormalizedRect.prototype.clearWidth = function() { - return t.Message.setField(this, 4, void 0) - } - , - proto.mediapipe.NormalizedRect.prototype.hasWidth = function() { - return null != t.Message.getField(this, 4) - } - , - proto.mediapipe.NormalizedRect.prototype.getRotation = function() { - return t.Message.getFloatingPointFieldWithDefault(this, 5, 0) - } - , - proto.mediapipe.NormalizedRect.prototype.setRotation = function(e) { - return t.Message.setField(this, 5, e) - } - , - proto.mediapipe.NormalizedRect.prototype.clearRotation = function() { - return t.Message.setField(this, 5, void 0) - } - , - proto.mediapipe.NormalizedRect.prototype.hasRotation = function() { - return null != t.Message.getField(this, 5) - } - , - proto.mediapipe.NormalizedRect.prototype.getRectId = function() { - return t.Message.getFieldWithDefault(this, 6, 0) - } - , - proto.mediapipe.NormalizedRect.prototype.setRectId = function(e) { - return t.Message.setField(this, 6, e) - } - , - proto.mediapipe.NormalizedRect.prototype.clearRectId = function() { - return t.Message.setField(this, 6, void 0) - } - , - proto.mediapipe.NormalizedRect.prototype.hasRectId = function() { - return null != t.Message.getField(this, 6) - } - , - r.object.extend(e, proto.mediapipe) -}(rect_pb); -var task_runner = {} - , graph_runner = {} - , platform_utils = {}; -function isWebKit(e=navigator) { - const t = e.userAgent; - return t.includes("Safari") && !t.includes("Chrome") -} -Object.defineProperty(platform_utils, "__esModule", { - value: !0 -}), -platform_utils.isWebKit = void 0, -platform_utils.isWebKit = isWebKit, -function(e) { - Object.defineProperty(e, "__esModule", { - value: !0 - }), - e.createGraphRunner = e.createMediaPipeLib = e.GraphRunner = e.CALCULATOR_GRAPH_CONFIG_LISTENER_NAME = void 0; - const t = platform_utils; - e.CALCULATOR_GRAPH_CONFIG_LISTENER_NAME = "__graph_config__"; - class r { - constructor(e, r) { - this.autoResizeCanvas = !0, - this.wasmModule = e, - this.audioPtr = null, - this.audioSize = 0, - this.hasMultiStreamSupport = "function" == typeof this.wasmModule._addIntToInputStream, - void 0 !== r ? this.wasmModule.canvas = r : "undefined" == typeof OffscreenCanvas || (0, - t.isWebKit)() ? (console.warn("OffscreenCanvas not supported and GraphRunner constructor glCanvas parameter is undefined. Creating backup canvas."), - this.wasmModule.canvas = document.createElement("canvas")) : this.wasmModule.canvas = new OffscreenCanvas(1,1) - } - async initializeGraph(e) { - const t = await fetch(e) - , r = await t.arrayBuffer() - , o = !(e.endsWith(".pbtxt") || e.endsWith(".textproto")); - this.setGraph(new Uint8Array(r), o) - } - setGraphFromString(e) { - this.setGraph((new TextEncoder).encode(e), !1) - } - setGraph(e, t) { - const r = e.length - , o = this.wasmModule._malloc(r); - this.wasmModule.HEAPU8.set(e, o), - t ? this.wasmModule._changeBinaryGraph(r, o) : this.wasmModule._changeTextGraph(r, o), - this.wasmModule._free(o) - } - configureAudio(e, t, r, o, i) { - this.wasmModule._configureAudio || console.warn('Attempting to use configureAudio without support for input audio. Is build dep ":gl_graph_runner_audio" missing?'), - o = o || "input_audio", - this.wrapStringPtr(o, (o=>{ - i = i || "audio_header", - this.wrapStringPtr(i, (i=>{ - this.wasmModule._configureAudio(o, i, e, t, r) - } - )) - } - )) - } - setAutoResizeCanvas(e) { - this.autoResizeCanvas = e - } - setAutoRenderToScreen(e) { - this.wasmModule._setAutoRenderToScreen(e) - } - bindTextureToStream(e, t) { - if (!this.wasmModule.canvas) - throw new Error("No OpenGL canvas configured."); - t ? this.wasmModule._bindTextureToStream(t) : console.assert(this.wasmModule._bindTextureToCanvas()); - const r = this.wasmModule.canvas.getContext("webgl2") || this.wasmModule.canvas.getContext("webgl"); - if (!r) - throw new Error("Failed to obtain WebGL context from the provided canvas. `getContext()` should only be invoked with `webgl` or `webgl2`."); - let o, i; - return r.texImage2D(r.TEXTURE_2D, 0, r.RGBA, r.RGBA, r.UNSIGNED_BYTE, e), - e.videoWidth ? (o = e.videoWidth, - i = e.videoHeight) : e.naturalWidth ? (o = e.naturalWidth, - i = e.naturalHeight) : (o = e.width, - i = e.height), - !this.autoResizeCanvas || o === this.wasmModule.canvas.width && i === this.wasmModule.canvas.height || (this.wasmModule.canvas.width = o, - this.wasmModule.canvas.height = i), - [o, i] - } - processGl(e, t) { - const [r,o] = this.bindTextureToStream(e) - , i = this.wasmModule._malloc(16); - this.wasmModule.HEAPU32[i / 4] = r, - this.wasmModule.HEAPU32[i / 4 + 1] = o, - this.wasmModule.HEAPF64[i / 8 + 1] = t, - this.wasmModule._processGl(i), - this.wasmModule._free(i) - } - wrapStringPtr(e, t) { - this.hasMultiStreamSupport || console.error("No wasm multistream support detected: ensure dependency inclusion of :gl_graph_runner_internal_multi_input target"); - const r = this.wasmModule.stringToNewUTF8(e); - t(r), - this.wasmModule._free(r) - } - wrapStringPtrPtr(e, t) { - this.hasMultiStreamSupport || console.error("No wasm multistream support detected: ensure dependency inclusion of :gl_graph_runner_internal_multi_input target"); - const r = new Uint32Array(e.length); - for (let t = 0; t < e.length; t++) - r[t] = this.wasmModule.stringToNewUTF8(e[t]); - const o = this.wasmModule._malloc(4 * r.length); - this.wasmModule.HEAPU32.set(r, o >> 2), - t(o); - for (const e of r) - this.wasmModule._free(e); - this.wasmModule._free(o) - } - getCalculatorGraphConfig(t, r) { - const o = e.CALCULATOR_GRAPH_CONFIG_LISTENER_NAME; - this.setListener(o, (e=>{ - t(e) - } - )), - this.wrapStringPtr(o, (e=>{ - this.wasmModule._getGraphConfig(e, r) - } - )), - delete this.wasmModule.simpleListeners[o] - } - setListener(e, t) { - this.wasmModule.simpleListeners = this.wasmModule.simpleListeners || {}, - this.wasmModule.simpleListeners[e] = t - } - setVectorListener(e, t) { - let r = []; - this.wasmModule.simpleListeners = this.wasmModule.simpleListeners || {}, - this.wasmModule.simpleListeners[e] = (e,o,i)=>{ - o ? (t(r, i), - r = []) : r.push(e) - } - } - attachErrorListener(e) { - this.wasmModule.errorListener = e - } - attachEmptyPacketListener(e, t) { - this.wasmModule.emptyPacketListeners = this.wasmModule.emptyPacketListeners || {}, - this.wasmModule.emptyPacketListeners[e] = t - } - addAudioToStream(e, t, r) { - this.addAudioToStreamWithShape(e, 0, 0, t, r) - } - addAudioToStreamWithShape(e, t, r, o, i) { - const a = 4 * e.length; - this.audioSize !== a && (this.audioPtr && this.wasmModule._free(this.audioPtr), - this.audioPtr = this.wasmModule._malloc(a), - this.audioSize = a), - this.wasmModule.HEAPF32.set(e, this.audioPtr / 4), - this.wrapStringPtr(o, (e=>{ - this.wasmModule._addAudioToInputStream(this.audioPtr, t, r, e, i) - } - )) - } - addGpuBufferToStream(e, t, r) { - this.wrapStringPtr(t, (t=>{ - const [o,i] = this.bindTextureToStream(e, t); - this.wasmModule._addBoundTextureToStream(t, o, i, r) - } - )) - } - addBoolToStream(e, t, r) { - this.wrapStringPtr(t, (t=>{ - this.wasmModule._addBoolToInputStream(e, t, r) - } - )) - } - addDoubleToStream(e, t, r) { - this.wrapStringPtr(t, (t=>{ - this.wasmModule._addDoubleToInputStream(e, t, r) - } - )) - } - addFloatToStream(e, t, r) { - this.wrapStringPtr(t, (t=>{ - this.wasmModule._addFloatToInputStream(e, t, r) - } - )) - } - addIntToStream(e, t, r) { - this.wrapStringPtr(t, (t=>{ - this.wasmModule._addIntToInputStream(e, t, r) - } - )) - } - addStringToStream(e, t, r) { - this.wrapStringPtr(t, (t=>{ - this.wrapStringPtr(e, (e=>{ - this.wasmModule._addStringToInputStream(e, t, r) - } - )) - } - )) - } - addStringRecordToStream(e, t, r) { - this.wrapStringPtr(t, (t=>{ - this.wrapStringPtrPtr(Object.keys(e), (o=>{ - this.wrapStringPtrPtr(Object.values(e), (i=>{ - this.wasmModule._addFlatHashMapToInputStream(o, i, Object.keys(e).length, t, r) - } - )) - } - )) - } - )) - } - addProtoToStream(e, t, r, o) { - this.wrapStringPtr(r, (r=>{ - this.wrapStringPtr(t, (t=>{ - const i = this.wasmModule._malloc(e.length); - this.wasmModule.HEAPU8.set(e, i), - this.wasmModule._addProtoToInputStream(i, e.length, t, r, o), - this.wasmModule._free(i) - } - )) - } - )) - } - addEmptyPacketToStream(e, t) { - this.wrapStringPtr(e, (e=>{ - this.wasmModule._addEmptyPacketToInputStream(e, t) - } - )) - } - addBoolToInputSidePacket(e, t) { - this.wrapStringPtr(t, (t=>{ - this.wasmModule._addBoolToInputSidePacket(e, t) - } - )) - } - addDoubleToInputSidePacket(e, t) { - this.wrapStringPtr(t, (t=>{ - this.wasmModule._addDoubleToInputSidePacket(e, t) - } - )) - } - addFloatToInputSidePacket(e, t) { - this.wrapStringPtr(t, (t=>{ - this.wasmModule._addFloatToInputSidePacket(e, t) - } - )) - } - addIntToInputSidePacket(e, t) { - this.wrapStringPtr(t, (t=>{ - this.wasmModule._addIntToInputSidePacket(e, t) - } - )) - } - addStringToInputSidePacket(e, t) { - this.wrapStringPtr(t, (t=>{ - this.wrapStringPtr(e, (e=>{ - this.wasmModule._addStringToInputSidePacket(e, t) - } - )) - } - )) - } - addProtoToInputSidePacket(e, t, r) { - this.wrapStringPtr(r, (r=>{ - this.wrapStringPtr(t, (t=>{ - const o = this.wasmModule._malloc(e.length); - this.wasmModule.HEAPU8.set(e, o), - this.wasmModule._addProtoToInputSidePacket(o, e.length, t, r), - this.wasmModule._free(o) - } - )) - } - )) - } - attachBoolListener(e, t) { - this.setListener(e, t), - this.wrapStringPtr(e, (e=>{ - this.wasmModule._attachBoolListener(e) - } - )) - } - attachBoolVectorListener(e, t) { - this.setVectorListener(e, t), - this.wrapStringPtr(e, (e=>{ - this.wasmModule._attachBoolVectorListener(e) - } - )) - } - attachIntListener(e, t) { - this.setListener(e, t), - this.wrapStringPtr(e, (e=>{ - this.wasmModule._attachIntListener(e) - } - )) - } - attachIntVectorListener(e, t) { - this.setVectorListener(e, t), - this.wrapStringPtr(e, (e=>{ - this.wasmModule._attachIntVectorListener(e) - } - )) - } - attachDoubleListener(e, t) { - this.setListener(e, t), - this.wrapStringPtr(e, (e=>{ - this.wasmModule._attachDoubleListener(e) - } - )) - } - attachDoubleVectorListener(e, t) { - this.setVectorListener(e, t), - this.wrapStringPtr(e, (e=>{ - this.wasmModule._attachDoubleVectorListener(e) - } - )) - } - attachFloatListener(e, t) { - this.setListener(e, t), - this.wrapStringPtr(e, (e=>{ - this.wasmModule._attachFloatListener(e) - } - )) - } - attachFloatVectorListener(e, t) { - this.setVectorListener(e, t), - this.wrapStringPtr(e, (e=>{ - this.wasmModule._attachFloatVectorListener(e) - } - )) - } - attachStringListener(e, t) { - this.setListener(e, t), - this.wrapStringPtr(e, (e=>{ - this.wasmModule._attachStringListener(e) - } - )) - } - attachStringVectorListener(e, t) { - this.setVectorListener(e, t), - this.wrapStringPtr(e, (e=>{ - this.wasmModule._attachStringVectorListener(e) - } - )) - } - attachProtoListener(e, t, r) { - this.setListener(e, t), - this.wrapStringPtr(e, (e=>{ - this.wasmModule._attachProtoListener(e, r || !1) - } - )) - } - attachProtoVectorListener(e, t, r) { - this.setVectorListener(e, t), - this.wrapStringPtr(e, (e=>{ - this.wasmModule._attachProtoVectorListener(e, r || !1) - } - )) - } - attachAudioListener(e, t, r) { - this.wasmModule._attachAudioListener || console.warn('Attempting to use attachAudioListener without support for output audio. Is build dep ":gl_graph_runner_audio_out" missing?'), - this.setListener(e, ((e,r)=>{ - const o = new Float32Array(e.buffer,e.byteOffset,e.length / 4); - t(o, r) - } - )), - this.wrapStringPtr(e, (e=>{ - this.wasmModule._attachAudioListener(e, r || !1) - } - )) - } - finishProcessing() { - this.wasmModule._waitUntilIdle() - } - closeGraph() { - this.wasmModule._closeGraph(), - this.wasmModule.simpleListeners = void 0, - this.wasmModule.emptyPacketListeners = void 0 - } - } - async function o(e) { - if ("function" != typeof importScripts) { - const t = document.createElement("script"); - // const t = document.createElement(''); - // const t = '' - console.log(e) - return t.setAttribute("src", e), - t.setAttribute("crossorigin", "anonymous"), - new Promise((e=>{ - t.addEventListener("load", (()=>{ - e() - } - ), !1), - t.addEventListener("error", (()=>{ - e() - } - ), !1), - document.body.appendChild(t) - } - )) - } - importScripts(e.toString()) - } - async function i(e, t, r, i, a) { - const n = []; - if (t && n.push(t), - r && n.push(r), - n.length && await Promise.all(n.map(o)), - !self.ModuleFactory) - throw new Error("ModuleFactory not set."); - if (self.Module && a) { - const e = self.Module; - e.locateFile = a.locateFile, - a.mainScriptUrlOrBlob && (e.mainScriptUrlOrBlob = a.mainScriptUrlOrBlob) - } - const s = await self.ModuleFactory(self.Module || a); - return self.ModuleFactory = self.Module = void 0, - new e(s,i) - } - e.GraphRunner = r, - e.createMediaPipeLib = i, - e.createGraphRunner = async function(e, t, o, a) { - return i(r, e, t, o, a) - } -}(graph_runner); -var register_model_resources_graph_service = {}; -function SupportModelResourcesGraphService(e) { - return class extends e { - registerModelResourcesGraphService() { - this.wasmModule._registerModelResourcesGraphService() - } - } -} -Object.defineProperty(register_model_resources_graph_service, "__esModule", { - value: !0 -}), -register_model_resources_graph_service.SupportModelResourcesGraphService = void 0, -register_model_resources_graph_service.SupportModelResourcesGraphService = SupportModelResourcesGraphService, -Object.defineProperty(task_runner, "__esModule", { - value: !0 -}), -task_runner.TaskRunner = task_runner.createTaskRunner = task_runner.CachedGraphRunner = void 0; -const inference_calculator_pb_1 = inference_calculator_pb - , calculator_pb_1 = calculator_pb - , acceleration_pb_1 = acceleration_pb - , external_file_pb_1 = external_file_pb - , graph_runner_1$1 = graph_runner - , register_model_resources_graph_service_1$1 = register_model_resources_graph_service - , NO_ASSETS = void 0 - , FREE_MEMORY_STREAM = "free_memory" - , UNUSED_STREAM_SUFFIX = "_unused_out" - , CachedGraphRunnerType = (0, -register_model_resources_graph_service_1$1.SupportModelResourcesGraphService)(graph_runner_1$1.GraphRunner); -class CachedGraphRunner extends CachedGraphRunnerType { -} -async function createTaskRunner(e, t, r, o) { - const i = { - locateFile: ()=>r.wasmBinaryPath.toString() - } - , a = await (0, - graph_runner_1$1.createMediaPipeLib)(e, r.wasmLoaderPath, NO_ASSETS, t, i); - return await a.setOptions(o), - a -} -task_runner.CachedGraphRunner = CachedGraphRunner, -task_runner.createTaskRunner = createTaskRunner; -class TaskRunner { - static async createInstance(e, t, r, o) { - return createTaskRunner(e, t, r, o) - } - constructor(e) { - this.graphRunner = e, - this.processingErrors = [], - this.latestOutputTimestamp = 0, - this.graphRunner.setAutoRenderToScreen(!1) - } - applyOptions(e) { - var t, r, o, i, a; - const n = e.baseOptions || {}; - if ((null === (t = e.baseOptions) || void 0 === t ? void 0 : t.modelAssetBuffer) && (null === (r = e.baseOptions) || void 0 === r ? void 0 : r.modelAssetPath)) - throw new Error("Cannot set both baseOptions.modelAssetPath and baseOptions.modelAssetBuffer"); - if (!((null === (o = this.baseOptions.getModelAsset()) || void 0 === o ? void 0 : o.hasFileContent()) || (null === (i = e.baseOptions) || void 0 === i ? void 0 : i.modelAssetBuffer) || (null === (a = e.baseOptions) || void 0 === a ? void 0 : a.modelAssetPath))) - throw new Error("Either baseOptions.modelAssetPath or baseOptions.modelAssetBuffer must be set"); - return this.setAcceleration(n), - n.modelAssetPath ? fetch(n.modelAssetPath.toString()).then((e=>{ - if (e.ok) - return e.arrayBuffer(); - throw new Error(`Failed to fetch model: ${n.modelAssetPath} (${e.status})`) - } - )).then((e=>{ - this.setExternalFile(new Uint8Array(e)), - this.refreshGraph(), - this.onGraphRefreshed() - } - )) : (this.setExternalFile(n.modelAssetBuffer), - this.refreshGraph(), - this.onGraphRefreshed(), - Promise.resolve()) - } - onGraphRefreshed() {} - getCalculatorGraphConfig() { - let e; - if (this.graphRunner.getCalculatorGraphConfig((t=>{ - e = calculator_pb_1.CalculatorGraphConfig.deserializeBinary(t) - } - )), - !e) - throw new Error("Failed to retrieve CalculatorGraphConfig"); - return e - } - setGraph(e, t) { - this.graphRunner.attachErrorListener(((e,t)=>{ - this.processingErrors.push(new Error(t)) - } - )), - this.graphRunner.registerModelResourcesGraphService(), - this.graphRunner.setGraph(e, t), - this.keepaliveNode = void 0, - this.handleErrors() - } - finishProcessing() { - this.graphRunner.finishProcessing(), - this.handleErrors() - } - setLatestOutputTimestamp(e) { - this.latestOutputTimestamp = Math.max(this.latestOutputTimestamp, e) - } - getSynctheticTimestamp() { - return this.latestOutputTimestamp + 1 - } - handleErrors() { - try { - const e = this.processingErrors.length; - if (1 === e) - throw new Error(this.processingErrors[0].message); - if (e > 1) - throw new Error("Encountered multiple errors: " + this.processingErrors.map((e=>e.message)).join(", ")) - } finally { - this.processingErrors = [] - } - } - setExternalFile(e) { - const t = this.baseOptions.getModelAsset() || new external_file_pb_1.ExternalFile; - e && t.setFileContent(e), - this.baseOptions.setModelAsset(t) - } - setAcceleration(e) { - let t = this.baseOptions.getAcceleration(); - t || (t = new acceleration_pb_1.Acceleration, - t.setTflite(new inference_calculator_pb_1.InferenceCalculatorOptions.Delegate.TfLite)), - "delegate"in e && ("GPU" === e.delegate ? t.setGpu(new inference_calculator_pb_1.InferenceCalculatorOptions.Delegate.Gpu) : t.setTflite(new inference_calculator_pb_1.InferenceCalculatorOptions.Delegate.TfLite)), - this.baseOptions.setAcceleration(t) - } - addKeepaliveNode(e) { - this.keepaliveNode = new calculator_pb_1.CalculatorGraphConfig.Node, - this.keepaliveNode.setCalculator("PassThroughCalculator"), - this.keepaliveNode.addInputStream(FREE_MEMORY_STREAM), - this.keepaliveNode.addOutputStream(FREE_MEMORY_STREAM + UNUSED_STREAM_SUFFIX), - e.addInputStream(FREE_MEMORY_STREAM), - e.addNode(this.keepaliveNode) - } - keepStreamAlive(e) { - this.keepaliveNode.addInputStream(e), - this.keepaliveNode.addOutputStream(e + UNUSED_STREAM_SUFFIX) - } - freeKeepaliveStreams() { - this.graphRunner.addBoolToStream(!0, FREE_MEMORY_STREAM, this.latestOutputTimestamp) - } - close() { - this.keepaliveNode = void 0, - this.graphRunner.closeGraph() - } -} -task_runner.TaskRunner = TaskRunner; -var graph_runner_image_lib = {}; -function SupportImage(e) { - return class extends e { - get wasmImageModule() { - return this.wasmModule - } - addGpuBufferAsImageToStream(e, t, r) { - this.wrapStringPtr(t, (t=>{ - const [o,i] = this.bindTextureToStream(e, t); - this.wasmImageModule._addBoundTextureAsImageToStream(t, o, i, r) - } - )) - } - attachImageListener(e, t) { - this.setListener(e, t), - this.wrapStringPtr(e, (e=>{ - this.wasmImageModule._attachImageListener(e) - } - )) - } - attachImageVectorListener(e, t) { - this.setVectorListener(e, t), - this.wrapStringPtr(e, (e=>{ - this.wasmImageModule._attachImageVectorListener(e) - } - )) - } - } -} -Object.defineProperty(graph_runner_image_lib, "__esModule", { - value: !0 -}), -graph_runner_image_lib.SupportImage = void 0, -graph_runner_image_lib.SupportImage = SupportImage, -Object.defineProperty(vision_task_runner, "__esModule", { - value: !0 -}), -vision_task_runner.VisionTaskRunner = vision_task_runner.VisionGraphRunner = void 0; -const rect_pb_1 = rect_pb - , task_runner_1 = task_runner - , image_1$1 = image - , image_shader_context_1 = image_shader_context - , mask_1$1 = mask - , graph_runner_1 = graph_runner - , graph_runner_image_lib_1 = graph_runner_image_lib - , platform_utils_1 = platform_utils - , register_model_resources_graph_service_1 = register_model_resources_graph_service - , GraphRunnerVisionType = (0, -register_model_resources_graph_service_1.SupportModelResourcesGraphService)((0, -graph_runner_image_lib_1.SupportImage)(graph_runner_1.GraphRunner)); -class VisionGraphRunner extends GraphRunnerVisionType { -} -function createCanvas() { - return "undefined" != typeof OffscreenCanvas && !(0, - platform_utils_1.isWebKit)() ? void 0 : document.createElement("canvas") -} -vision_task_runner.VisionGraphRunner = VisionGraphRunner; -class VisionTaskRunner extends task_runner_1.TaskRunner { - static async createVisionInstance(e, t, r) { - var o; - const i = null !== (o = r.canvas) && void 0 !== o ? o : createCanvas(); - return task_runner_1.TaskRunner.createInstance(e, i, t, r) - } - constructor(e, t, r, o) { - super(e), - this.graphRunner = e, - this.imageStreamName = t, - this.normRectStreamName = r, - this.roiAllowed = o, - this.shaderContext = new image_shader_context_1.MPImageShaderContext - } - applyOptions(e) { - if ("runningMode"in e) { - const t = !!e.runningMode && "IMAGE" !== e.runningMode; - this.baseOptions.setUseStreamMode(t) - } - if (void 0 !== e.canvas && this.graphRunner.wasmModule.canvas !== e.canvas) - throw new Error("You must create a new task to reset the canvas."); - return super.applyOptions(e) - } - processImageData(e, t) { - var r; - if (null === (r = this.baseOptions) || void 0 === r ? void 0 : r.getUseStreamMode()) - throw new Error("Task is not initialized with image mode. 'runningMode' must be set to 'IMAGE'."); - this.process(e, t, this.getSynctheticTimestamp()) - } - processVideoData(e, t, r) { - var o; - if (!(null === (o = this.baseOptions) || void 0 === o ? void 0 : o.getUseStreamMode())) - throw new Error("Task is not initialized with video mode. 'runningMode' must be set to 'VIDEO'."); - this.process(e, t, r) - } - getImageSourceSize(e) { - return void 0 !== e.videoWidth ? [e.videoWidth, e.videoHeight] : void 0 !== e.naturalWidth ? [e.naturalWidth, e.naturalHeight] : [e.width, e.height] - } - convertToNormalizedRect(e, t) { - const r = new rect_pb_1.NormalizedRect; - if (null == t ? void 0 : t.regionOfInterest) { - if (!this.roiAllowed) - throw new Error("This task doesn't support region-of-interest."); - const e = t.regionOfInterest; - if (e.left >= e.right || e.top >= e.bottom) - throw new Error("Expected RectF with left < right and top < bottom."); - if (e.left < 0 || e.top < 0 || e.right > 1 || e.bottom > 1) - throw new Error("Expected RectF values to be in [0,1]."); - r.setXCenter((e.left + e.right) / 2), - r.setYCenter((e.top + e.bottom) / 2), - r.setWidth(e.right - e.left), - r.setHeight(e.bottom - e.top) - } else - r.setXCenter(.5), - r.setYCenter(.5), - r.setWidth(1), - r.setHeight(1); - if (null == t ? void 0 : t.rotationDegrees) { - if ((null == t ? void 0 : t.rotationDegrees) % 90 != 0) - throw new Error("Expected rotation to be a multiple of 90°."); - if (r.setRotation(-Math.PI * t.rotationDegrees / 180), - (null == t ? void 0 : t.rotationDegrees) % 180 != 0) { - const [t,o] = this.getImageSourceSize(e) - , i = r.getHeight() * o / t - , a = r.getWidth() * t / o; - r.setWidth(i), - r.setHeight(a) - } - } - return r - } - process(e, t, r) { - const o = this.convertToNormalizedRect(e, t); - this.graphRunner.addProtoToStream(o.serializeBinary(), "mediapipe.NormalizedRect", this.normRectStreamName, r), - this.graphRunner.addGpuBufferAsImageToStream(e, this.imageStreamName, null != r ? r : performance.now()), - this.finishProcessing() - } - convertToMPImage(e, t) { - const {data: r, width: o, height: i} = e - , a = o * i; - let n; - if (r instanceof Uint8Array) - if (r.length === 3 * a) { - const e = new Uint8ClampedArray(4 * a); - for (let t = 0; t < a; ++t) - e[4 * t] = r[3 * t], - e[4 * t + 1] = r[3 * t + 1], - e[4 * t + 2] = r[3 * t + 2], - e[4 * t + 3] = 255; - n = new ImageData(e,o,i) - } else { - if (r.length !== 4 * a) - throw new Error("Unsupported channel count: " + r.length / a); - n = new ImageData(new Uint8ClampedArray(r.buffer,r.byteOffset,r.length),o,i) - } - else { - if (!(r instanceof WebGLTexture)) - throw new Error(`Unsupported format: ${r.constructor.name}`); - n = r - } - const s = new image_1$1.MPImage([n],!1,!1,this.graphRunner.wasmModule.canvas,this.shaderContext,o,i); - return t ? s.clone() : s - } - convertToMPMask(e, t) { - const {data: r, width: o, height: i} = e - , a = o * i; - let n; - if (r instanceof Uint8Array || r instanceof Float32Array) { - if (r.length !== a) - throw new Error("Unsupported channel count: " + r.length / a); - n = r - } else - n = r; - const s = new mask_1$1.MPMask([n],!1,this.graphRunner.wasmModule.canvas,this.shaderContext,o,i); - return t ? s.clone() : s - } - close() { - this.shaderContext.close(), - super.close() - } -} -vision_task_runner.VisionTaskRunner = VisionTaskRunner; -var face_detector_options = {}; -Object.defineProperty(face_detector_options, "__esModule", { - value: !0 -}); -var face_detector_result = {}; -Object.defineProperty(face_detector_result, "__esModule", { - value: !0 -}), -function(e) { - var t = commonjsGlobal && commonjsGlobal.__createBinding || (Object.create ? function(e, t, r, o) { - void 0 === o && (o = r); - var i = Object.getOwnPropertyDescriptor(t, r); - i && !("get"in i ? !t.__esModule : i.writable || i.configurable) || (i = { - enumerable: !0, - get: function() { - return t[r] - } - }), - Object.defineProperty(e, o, i) - } - : function(e, t, r, o) { - void 0 === o && (o = r), - e[o] = t[r] - } - ) - , r = commonjsGlobal && commonjsGlobal.__exportStar || function(e, r) { - for (var o in e) - "default" === o || Object.prototype.hasOwnProperty.call(r, o) || t(r, e, o) - } - ; - Object.defineProperty(e, "__esModule", { - value: !0 - }), - e.FaceDetector = void 0; - const o = calculator_pb - , i = calculator_options_pb - , a = detection_pb - , n = base_options_pb - , s = face_detector_graph_options_pb - , p = detection_result - , d = vision_task_runner - , l = "image_in" - , g = "norm_rect_in" - , c = "detections"; - r(face_detector_options, e), - r(face_detector_result, e); - class u extends d.VisionTaskRunner { - static createFromOptions(e, t) { - return d.VisionTaskRunner.createVisionInstance(u, e, t) - } - static createFromModelBuffer(e, t) { - return d.VisionTaskRunner.createVisionInstance(u, e, { - baseOptions: { - modelAssetBuffer: t - } - }) - } - static async createFromModelPath(e, t) { - return d.VisionTaskRunner.createVisionInstance(u, e, { - baseOptions: { - modelAssetPath: t - } - }) - } - constructor(e, t) { - super(new d.VisionGraphRunner(e,t), l, g, !1), - this.result = { - detections: [] - }, - this.options = new s.FaceDetectorGraphOptions, - this.options.setBaseOptions(new n.BaseOptions), - this.options.setMinDetectionConfidence(.5), - this.options.setMinSuppressionThreshold(.3) - } - get baseOptions() { - return this.options.getBaseOptions() - } - set baseOptions(e) { - this.options.setBaseOptions(e) - } - setOptions(e) { - var t, r; - return "minDetectionConfidence"in e && this.options.setMinDetectionConfidence(null !== (t = e.minDetectionConfidence) && void 0 !== t ? t : .5), - "minSuppressionThreshold"in e && this.options.setMinSuppressionThreshold(null !== (r = e.minSuppressionThreshold) && void 0 !== r ? r : .3), - this.applyOptions(e) - } - detect(e, t) { - return this.result = { - detections: [] - }, - this.processImageData(e, t), - this.result - } - detectForVideo(e, t, r) { - return this.result = { - detections: [] - }, - this.processVideoData(e, r, t), - this.result - } - addJsFaceDetections(e) { - for (const t of e) { - const e = a.Detection.deserializeBinary(t); - this.result.detections.push((0, - p.convertFromDetectionProto)(e)) - } - } - refreshGraph() { - const e = new o.CalculatorGraphConfig; - e.addInputStream(l), - e.addInputStream(g), - e.addOutputStream(c); - const t = new i.CalculatorOptions; - t.setExtension(s.FaceDetectorGraphOptions.ext, this.options); - const r = new o.CalculatorGraphConfig.Node; - r.setCalculator("mediapipe.tasks.vision.face_detector.FaceDetectorGraph"), - r.addInputStream("IMAGE:" + l), - r.addInputStream("NORM_RECT:" + g), - r.addOutputStream("DETECTIONS:" + c), - r.setOptions(t), - e.addNode(r), - this.graphRunner.attachProtoVectorListener(c, ((e,t)=>{ - this.addJsFaceDetections(e), - this.setLatestOutputTimestamp(t) - } - )), - this.graphRunner.attachEmptyPacketListener(c, (e=>{ - this.setLatestOutputTimestamp(e) - } - )); - const a = e.serializeBinary(); - this.setGraph(new Uint8Array(a), !0) - } - } - e.FaceDetector = u -}(face_detector); -var face_landmarker = {} - , classification_pb = {}; -!function(e) { - var t = googleProtobuf - , r = t - , o = "undefined" != typeof globalThis && globalThis || "undefined" != typeof window && window || void 0 !== o && o || "undefined" != typeof self && self || function() { - return this - } - .call(null) || Function("return this")(); - r.exportSymbol("proto.mediapipe.Classification", null, o), - r.exportSymbol("proto.mediapipe.ClassificationList", null, o), - r.exportSymbol("proto.mediapipe.ClassificationListCollection", null, o), - proto.mediapipe.Classification = function(e) { - t.Message.initialize(this, e, 0, -1, null, null) - } - , - r.inherits(proto.mediapipe.Classification, t.Message), - r.DEBUG && !COMPILED && (proto.mediapipe.Classification.displayName = "proto.mediapipe.Classification"), - proto.mediapipe.ClassificationList = function(e) { - t.Message.initialize(this, e, 0, -1, proto.mediapipe.ClassificationList.repeatedFields_, null) - } - , - r.inherits(proto.mediapipe.ClassificationList, t.Message), - r.DEBUG && !COMPILED && (proto.mediapipe.ClassificationList.displayName = "proto.mediapipe.ClassificationList"), - proto.mediapipe.ClassificationListCollection = function(e) { - t.Message.initialize(this, e, 0, -1, proto.mediapipe.ClassificationListCollection.repeatedFields_, null) - } - , - r.inherits(proto.mediapipe.ClassificationListCollection, t.Message), - r.DEBUG && !COMPILED && (proto.mediapipe.ClassificationListCollection.displayName = "proto.mediapipe.ClassificationListCollection"), - t.Message.GENERATE_TO_OBJECT && (proto.mediapipe.Classification.prototype.toObject = function(e) { - return proto.mediapipe.Classification.toObject(e, this) - } - , - proto.mediapipe.Classification.toObject = function(e, r) { - var o, i = { - index: null == (o = t.Message.getField(r, 1)) ? void 0 : o, - score: null == (o = t.Message.getOptionalFloatingPointField(r, 2)) ? void 0 : o, - label: null == (o = t.Message.getField(r, 3)) ? void 0 : o, - displayName: null == (o = t.Message.getField(r, 4)) ? void 0 : o - }; - return e && (i.$jspbMessageInstance = r), - i - } - ), - proto.mediapipe.Classification.deserializeBinary = function(e) { - var r = new t.BinaryReader(e) - , o = new proto.mediapipe.Classification; - return proto.mediapipe.Classification.deserializeBinaryFromReader(o, r) - } - , - proto.mediapipe.Classification.deserializeBinaryFromReader = function(e, t) { - for (; t.nextField() && !t.isEndGroup(); ) { - switch (t.getFieldNumber()) { - case 1: - var r = t.readInt32(); - e.setIndex(r); - break; - case 2: - r = t.readFloat(); - e.setScore(r); - break; - case 3: - r = t.readString(); - e.setLabel(r); - break; - case 4: - r = t.readString(); - e.setDisplayName(r); - break; - default: - t.skipField() - } - } - return e - } - , - proto.mediapipe.Classification.prototype.serializeBinary = function() { - var e = new t.BinaryWriter; - return proto.mediapipe.Classification.serializeBinaryToWriter(this, e), - e.getResultBuffer() - } - , - proto.mediapipe.Classification.serializeBinaryToWriter = function(e, r) { - var o = void 0; - null != (o = t.Message.getField(e, 1)) && r.writeInt32(1, o), - null != (o = t.Message.getField(e, 2)) && r.writeFloat(2, o), - null != (o = t.Message.getField(e, 3)) && r.writeString(3, o), - null != (o = t.Message.getField(e, 4)) && r.writeString(4, o) - } - , - proto.mediapipe.Classification.prototype.getIndex = function() { - return t.Message.getFieldWithDefault(this, 1, 0) - } - , - proto.mediapipe.Classification.prototype.setIndex = function(e) { - return t.Message.setField(this, 1, e) - } - , - proto.mediapipe.Classification.prototype.clearIndex = function() { - return t.Message.setField(this, 1, void 0) - } - , - proto.mediapipe.Classification.prototype.hasIndex = function() { - return null != t.Message.getField(this, 1) - } - , - proto.mediapipe.Classification.prototype.getScore = function() { - return t.Message.getFloatingPointFieldWithDefault(this, 2, 0) - } - , - proto.mediapipe.Classification.prototype.setScore = function(e) { - return t.Message.setField(this, 2, e) - } - , - proto.mediapipe.Classification.prototype.clearScore = function() { - return t.Message.setField(this, 2, void 0) - } - , - proto.mediapipe.Classification.prototype.hasScore = function() { - return null != t.Message.getField(this, 2) - } - , - proto.mediapipe.Classification.prototype.getLabel = function() { - return t.Message.getFieldWithDefault(this, 3, "") - } - , - proto.mediapipe.Classification.prototype.setLabel = function(e) { - return t.Message.setField(this, 3, e) - } - , - proto.mediapipe.Classification.prototype.clearLabel = function() { - return t.Message.setField(this, 3, void 0) - } - , - proto.mediapipe.Classification.prototype.hasLabel = function() { - return null != t.Message.getField(this, 3) - } - , - proto.mediapipe.Classification.prototype.getDisplayName = function() { - return t.Message.getFieldWithDefault(this, 4, "") - } - , - proto.mediapipe.Classification.prototype.setDisplayName = function(e) { - return t.Message.setField(this, 4, e) - } - , - proto.mediapipe.Classification.prototype.clearDisplayName = function() { - return t.Message.setField(this, 4, void 0) - } - , - proto.mediapipe.Classification.prototype.hasDisplayName = function() { - return null != t.Message.getField(this, 4) - } - , - proto.mediapipe.ClassificationList.repeatedFields_ = [1], - t.Message.GENERATE_TO_OBJECT && (proto.mediapipe.ClassificationList.prototype.toObject = function(e) { - return proto.mediapipe.ClassificationList.toObject(e, this) - } - , - proto.mediapipe.ClassificationList.toObject = function(e, r) { - var o = { - classificationList: t.Message.toObjectList(r.getClassificationList(), proto.mediapipe.Classification.toObject, e) - }; - return e && (o.$jspbMessageInstance = r), - o - } - ), - proto.mediapipe.ClassificationList.deserializeBinary = function(e) { - var r = new t.BinaryReader(e) - , o = new proto.mediapipe.ClassificationList; - return proto.mediapipe.ClassificationList.deserializeBinaryFromReader(o, r) - } - , - proto.mediapipe.ClassificationList.deserializeBinaryFromReader = function(e, t) { - for (; t.nextField() && !t.isEndGroup(); ) { - if (1 === t.getFieldNumber()) { - var r = new proto.mediapipe.Classification; - t.readMessage(r, proto.mediapipe.Classification.deserializeBinaryFromReader), - e.addClassification(r) - } else - t.skipField() - } - return e - } - , - proto.mediapipe.ClassificationList.prototype.serializeBinary = function() { - var e = new t.BinaryWriter; - return proto.mediapipe.ClassificationList.serializeBinaryToWriter(this, e), - e.getResultBuffer() - } - , - proto.mediapipe.ClassificationList.serializeBinaryToWriter = function(e, t) { - var r; - (r = e.getClassificationList()).length > 0 && t.writeRepeatedMessage(1, r, proto.mediapipe.Classification.serializeBinaryToWriter) - } - , - proto.mediapipe.ClassificationList.prototype.getClassificationList = function() { - return t.Message.getRepeatedWrapperField(this, proto.mediapipe.Classification, 1) - } - , - proto.mediapipe.ClassificationList.prototype.setClassificationList = function(e) { - return t.Message.setRepeatedWrapperField(this, 1, e) - } - , - proto.mediapipe.ClassificationList.prototype.addClassification = function(e, r) { - return t.Message.addToRepeatedWrapperField(this, 1, e, proto.mediapipe.Classification, r) - } - , - proto.mediapipe.ClassificationList.prototype.clearClassificationList = function() { - return this.setClassificationList([]) - } - , - proto.mediapipe.ClassificationListCollection.repeatedFields_ = [1], - t.Message.GENERATE_TO_OBJECT && (proto.mediapipe.ClassificationListCollection.prototype.toObject = function(e) { - return proto.mediapipe.ClassificationListCollection.toObject(e, this) - } - , - proto.mediapipe.ClassificationListCollection.toObject = function(e, r) { - var o = { - classificationListList: t.Message.toObjectList(r.getClassificationListList(), proto.mediapipe.ClassificationList.toObject, e) - }; - return e && (o.$jspbMessageInstance = r), - o - } - ), - proto.mediapipe.ClassificationListCollection.deserializeBinary = function(e) { - var r = new t.BinaryReader(e) - , o = new proto.mediapipe.ClassificationListCollection; - return proto.mediapipe.ClassificationListCollection.deserializeBinaryFromReader(o, r) - } - , - proto.mediapipe.ClassificationListCollection.deserializeBinaryFromReader = function(e, t) { - for (; t.nextField() && !t.isEndGroup(); ) { - if (1 === t.getFieldNumber()) { - var r = new proto.mediapipe.ClassificationList; - t.readMessage(r, proto.mediapipe.ClassificationList.deserializeBinaryFromReader), - e.addClassificationList(r) - } else - t.skipField() - } - return e - } - , - proto.mediapipe.ClassificationListCollection.prototype.serializeBinary = function() { - var e = new t.BinaryWriter; - return proto.mediapipe.ClassificationListCollection.serializeBinaryToWriter(this, e), - e.getResultBuffer() - } - , - proto.mediapipe.ClassificationListCollection.serializeBinaryToWriter = function(e, t) { - var r; - (r = e.getClassificationListList()).length > 0 && t.writeRepeatedMessage(1, r, proto.mediapipe.ClassificationList.serializeBinaryToWriter) - } - , - proto.mediapipe.ClassificationListCollection.prototype.getClassificationListList = function() { - return t.Message.getRepeatedWrapperField(this, proto.mediapipe.ClassificationList, 1) - } - , - proto.mediapipe.ClassificationListCollection.prototype.setClassificationListList = function(e) { - return t.Message.setRepeatedWrapperField(this, 1, e) - } - , - proto.mediapipe.ClassificationListCollection.prototype.addClassificationList = function(e, r) { - return t.Message.addToRepeatedWrapperField(this, 1, e, proto.mediapipe.ClassificationList, r) - } - , - proto.mediapipe.ClassificationListCollection.prototype.clearClassificationListList = function() { - return this.setClassificationListList([]) - } - , - r.object.extend(e, proto.mediapipe) -}(classification_pb); -var landmark_pb = {}; -!function(e) { - var t = googleProtobuf - , r = t - , o = "undefined" != typeof globalThis && globalThis || "undefined" != typeof window && window || void 0 !== o && o || "undefined" != typeof self && self || function() { - return this - } - .call(null) || Function("return this")(); - r.exportSymbol("proto.mediapipe.Landmark", null, o), - r.exportSymbol("proto.mediapipe.LandmarkList", null, o), - r.exportSymbol("proto.mediapipe.LandmarkListCollection", null, o), - r.exportSymbol("proto.mediapipe.NormalizedLandmark", null, o), - r.exportSymbol("proto.mediapipe.NormalizedLandmarkList", null, o), - r.exportSymbol("proto.mediapipe.NormalizedLandmarkListCollection", null, o), - proto.mediapipe.Landmark = function(e) { - t.Message.initialize(this, e, 0, -1, null, null) - } - , - r.inherits(proto.mediapipe.Landmark, t.Message), - r.DEBUG && !COMPILED && (proto.mediapipe.Landmark.displayName = "proto.mediapipe.Landmark"), - proto.mediapipe.LandmarkList = function(e) { - t.Message.initialize(this, e, 0, -1, proto.mediapipe.LandmarkList.repeatedFields_, null) - } - , - r.inherits(proto.mediapipe.LandmarkList, t.Message), - r.DEBUG && !COMPILED && (proto.mediapipe.LandmarkList.displayName = "proto.mediapipe.LandmarkList"), - proto.mediapipe.LandmarkListCollection = function(e) { - t.Message.initialize(this, e, 0, -1, proto.mediapipe.LandmarkListCollection.repeatedFields_, null) - } - , - r.inherits(proto.mediapipe.LandmarkListCollection, t.Message), - r.DEBUG && !COMPILED && (proto.mediapipe.LandmarkListCollection.displayName = "proto.mediapipe.LandmarkListCollection"), - proto.mediapipe.NormalizedLandmark = function(e) { - t.Message.initialize(this, e, 0, -1, null, null) - } - , - r.inherits(proto.mediapipe.NormalizedLandmark, t.Message), - r.DEBUG && !COMPILED && (proto.mediapipe.NormalizedLandmark.displayName = "proto.mediapipe.NormalizedLandmark"), - proto.mediapipe.NormalizedLandmarkList = function(e) { - t.Message.initialize(this, e, 0, -1, proto.mediapipe.NormalizedLandmarkList.repeatedFields_, null) - } - , - r.inherits(proto.mediapipe.NormalizedLandmarkList, t.Message), - r.DEBUG && !COMPILED && (proto.mediapipe.NormalizedLandmarkList.displayName = "proto.mediapipe.NormalizedLandmarkList"), - proto.mediapipe.NormalizedLandmarkListCollection = function(e) { - t.Message.initialize(this, e, 0, -1, proto.mediapipe.NormalizedLandmarkListCollection.repeatedFields_, null) - } - , - r.inherits(proto.mediapipe.NormalizedLandmarkListCollection, t.Message), - r.DEBUG && !COMPILED && (proto.mediapipe.NormalizedLandmarkListCollection.displayName = "proto.mediapipe.NormalizedLandmarkListCollection"), - t.Message.GENERATE_TO_OBJECT && (proto.mediapipe.Landmark.prototype.toObject = function(e) { - return proto.mediapipe.Landmark.toObject(e, this) - } - , - proto.mediapipe.Landmark.toObject = function(e, r) { - var o, i = { - x: null == (o = t.Message.getOptionalFloatingPointField(r, 1)) ? void 0 : o, - y: null == (o = t.Message.getOptionalFloatingPointField(r, 2)) ? void 0 : o, - z: null == (o = t.Message.getOptionalFloatingPointField(r, 3)) ? void 0 : o, - visibility: null == (o = t.Message.getOptionalFloatingPointField(r, 4)) ? void 0 : o, - presence: null == (o = t.Message.getOptionalFloatingPointField(r, 5)) ? void 0 : o - }; - return e && (i.$jspbMessageInstance = r), - i - } - ), - proto.mediapipe.Landmark.deserializeBinary = function(e) { - var r = new t.BinaryReader(e) - , o = new proto.mediapipe.Landmark; - return proto.mediapipe.Landmark.deserializeBinaryFromReader(o, r) - } - , - proto.mediapipe.Landmark.deserializeBinaryFromReader = function(e, t) { - for (; t.nextField() && !t.isEndGroup(); ) { - switch (t.getFieldNumber()) { - case 1: - var r = t.readFloat(); - e.setX(r); - break; - case 2: - r = t.readFloat(); - e.setY(r); - break; - case 3: - r = t.readFloat(); - e.setZ(r); - break; - case 4: - r = t.readFloat(); - e.setVisibility(r); - break; - case 5: - r = t.readFloat(); - e.setPresence(r); - break; - default: - t.skipField() - } - } - return e - } - , - proto.mediapipe.Landmark.prototype.serializeBinary = function() { - var e = new t.BinaryWriter; - return proto.mediapipe.Landmark.serializeBinaryToWriter(this, e), - e.getResultBuffer() - } - , - proto.mediapipe.Landmark.serializeBinaryToWriter = function(e, r) { - var o = void 0; - null != (o = t.Message.getField(e, 1)) && r.writeFloat(1, o), - null != (o = t.Message.getField(e, 2)) && r.writeFloat(2, o), - null != (o = t.Message.getField(e, 3)) && r.writeFloat(3, o), - null != (o = t.Message.getField(e, 4)) && r.writeFloat(4, o), - null != (o = t.Message.getField(e, 5)) && r.writeFloat(5, o) - } - , - proto.mediapipe.Landmark.prototype.getX = function() { - return t.Message.getFloatingPointFieldWithDefault(this, 1, 0) - } - , - proto.mediapipe.Landmark.prototype.setX = function(e) { - return t.Message.setField(this, 1, e) - } - , - proto.mediapipe.Landmark.prototype.clearX = function() { - return t.Message.setField(this, 1, void 0) - } - , - proto.mediapipe.Landmark.prototype.hasX = function() { - return null != t.Message.getField(this, 1) - } - , - proto.mediapipe.Landmark.prototype.getY = function() { - return t.Message.getFloatingPointFieldWithDefault(this, 2, 0) - } - , - proto.mediapipe.Landmark.prototype.setY = function(e) { - return t.Message.setField(this, 2, e) - } - , - proto.mediapipe.Landmark.prototype.clearY = function() { - return t.Message.setField(this, 2, void 0) - } - , - proto.mediapipe.Landmark.prototype.hasY = function() { - return null != t.Message.getField(this, 2) - } - , - proto.mediapipe.Landmark.prototype.getZ = function() { - return t.Message.getFloatingPointFieldWithDefault(this, 3, 0) - } - , - proto.mediapipe.Landmark.prototype.setZ = function(e) { - return t.Message.setField(this, 3, e) - } - , - proto.mediapipe.Landmark.prototype.clearZ = function() { - return t.Message.setField(this, 3, void 0) - } - , - proto.mediapipe.Landmark.prototype.hasZ = function() { - return null != t.Message.getField(this, 3) - } - , - proto.mediapipe.Landmark.prototype.getVisibility = function() { - return t.Message.getFloatingPointFieldWithDefault(this, 4, 0) - } - , - proto.mediapipe.Landmark.prototype.setVisibility = function(e) { - return t.Message.setField(this, 4, e) - } - , - proto.mediapipe.Landmark.prototype.clearVisibility = function() { - return t.Message.setField(this, 4, void 0) - } - , - proto.mediapipe.Landmark.prototype.hasVisibility = function() { - return null != t.Message.getField(this, 4) - } - , - proto.mediapipe.Landmark.prototype.getPresence = function() { - return t.Message.getFloatingPointFieldWithDefault(this, 5, 0) - } - , - proto.mediapipe.Landmark.prototype.setPresence = function(e) { - return t.Message.setField(this, 5, e) - } - , - proto.mediapipe.Landmark.prototype.clearPresence = function() { - return t.Message.setField(this, 5, void 0) - } - , - proto.mediapipe.Landmark.prototype.hasPresence = function() { - return null != t.Message.getField(this, 5) - } - , - proto.mediapipe.LandmarkList.repeatedFields_ = [1], - t.Message.GENERATE_TO_OBJECT && (proto.mediapipe.LandmarkList.prototype.toObject = function(e) { - return proto.mediapipe.LandmarkList.toObject(e, this) - } - , - proto.mediapipe.LandmarkList.toObject = function(e, r) { - var o = { - landmarkList: t.Message.toObjectList(r.getLandmarkList(), proto.mediapipe.Landmark.toObject, e) - }; - return e && (o.$jspbMessageInstance = r), - o - } - ), - proto.mediapipe.LandmarkList.deserializeBinary = function(e) { - var r = new t.BinaryReader(e) - , o = new proto.mediapipe.LandmarkList; - return proto.mediapipe.LandmarkList.deserializeBinaryFromReader(o, r) - } - , - proto.mediapipe.LandmarkList.deserializeBinaryFromReader = function(e, t) { - for (; t.nextField() && !t.isEndGroup(); ) { - if (1 === t.getFieldNumber()) { - var r = new proto.mediapipe.Landmark; - t.readMessage(r, proto.mediapipe.Landmark.deserializeBinaryFromReader), - e.addLandmark(r) - } else - t.skipField() - } - return e - } - , - proto.mediapipe.LandmarkList.prototype.serializeBinary = function() { - var e = new t.BinaryWriter; - return proto.mediapipe.LandmarkList.serializeBinaryToWriter(this, e), - e.getResultBuffer() - } - , - proto.mediapipe.LandmarkList.serializeBinaryToWriter = function(e, t) { - var r; - (r = e.getLandmarkList()).length > 0 && t.writeRepeatedMessage(1, r, proto.mediapipe.Landmark.serializeBinaryToWriter) - } - , - proto.mediapipe.LandmarkList.prototype.getLandmarkList = function() { - return t.Message.getRepeatedWrapperField(this, proto.mediapipe.Landmark, 1) - } - , - proto.mediapipe.LandmarkList.prototype.setLandmarkList = function(e) { - return t.Message.setRepeatedWrapperField(this, 1, e) - } - , - proto.mediapipe.LandmarkList.prototype.addLandmark = function(e, r) { - return t.Message.addToRepeatedWrapperField(this, 1, e, proto.mediapipe.Landmark, r) - } - , - proto.mediapipe.LandmarkList.prototype.clearLandmarkList = function() { - return this.setLandmarkList([]) - } - , - proto.mediapipe.LandmarkListCollection.repeatedFields_ = [1], - t.Message.GENERATE_TO_OBJECT && (proto.mediapipe.LandmarkListCollection.prototype.toObject = function(e) { - return proto.mediapipe.LandmarkListCollection.toObject(e, this) - } - , - proto.mediapipe.LandmarkListCollection.toObject = function(e, r) { - var o = { - landmarkListList: t.Message.toObjectList(r.getLandmarkListList(), proto.mediapipe.LandmarkList.toObject, e) - }; - return e && (o.$jspbMessageInstance = r), - o - } - ), - proto.mediapipe.LandmarkListCollection.deserializeBinary = function(e) { - var r = new t.BinaryReader(e) - , o = new proto.mediapipe.LandmarkListCollection; - return proto.mediapipe.LandmarkListCollection.deserializeBinaryFromReader(o, r) - } - , - proto.mediapipe.LandmarkListCollection.deserializeBinaryFromReader = function(e, t) { - for (; t.nextField() && !t.isEndGroup(); ) { - if (1 === t.getFieldNumber()) { - var r = new proto.mediapipe.LandmarkList; - t.readMessage(r, proto.mediapipe.LandmarkList.deserializeBinaryFromReader), - e.addLandmarkList(r) - } else - t.skipField() - } - return e - } - , - proto.mediapipe.LandmarkListCollection.prototype.serializeBinary = function() { - var e = new t.BinaryWriter; - return proto.mediapipe.LandmarkListCollection.serializeBinaryToWriter(this, e), - e.getResultBuffer() - } - , - proto.mediapipe.LandmarkListCollection.serializeBinaryToWriter = function(e, t) { - var r; - (r = e.getLandmarkListList()).length > 0 && t.writeRepeatedMessage(1, r, proto.mediapipe.LandmarkList.serializeBinaryToWriter) - } - , - proto.mediapipe.LandmarkListCollection.prototype.getLandmarkListList = function() { - return t.Message.getRepeatedWrapperField(this, proto.mediapipe.LandmarkList, 1) - } - , - proto.mediapipe.LandmarkListCollection.prototype.setLandmarkListList = function(e) { - return t.Message.setRepeatedWrapperField(this, 1, e) - } - , - proto.mediapipe.LandmarkListCollection.prototype.addLandmarkList = function(e, r) { - return t.Message.addToRepeatedWrapperField(this, 1, e, proto.mediapipe.LandmarkList, r) - } - , - proto.mediapipe.LandmarkListCollection.prototype.clearLandmarkListList = function() { - return this.setLandmarkListList([]) - } - , - t.Message.GENERATE_TO_OBJECT && (proto.mediapipe.NormalizedLandmark.prototype.toObject = function(e) { - return proto.mediapipe.NormalizedLandmark.toObject(e, this) - } - , - proto.mediapipe.NormalizedLandmark.toObject = function(e, r) { - var o, i = { - x: null == (o = t.Message.getOptionalFloatingPointField(r, 1)) ? void 0 : o, - y: null == (o = t.Message.getOptionalFloatingPointField(r, 2)) ? void 0 : o, - z: null == (o = t.Message.getOptionalFloatingPointField(r, 3)) ? void 0 : o, - visibility: null == (o = t.Message.getOptionalFloatingPointField(r, 4)) ? void 0 : o, - presence: null == (o = t.Message.getOptionalFloatingPointField(r, 5)) ? void 0 : o - }; - return e && (i.$jspbMessageInstance = r), - i - } - ), - proto.mediapipe.NormalizedLandmark.deserializeBinary = function(e) { - var r = new t.BinaryReader(e) - , o = new proto.mediapipe.NormalizedLandmark; - return proto.mediapipe.NormalizedLandmark.deserializeBinaryFromReader(o, r) - } - , - proto.mediapipe.NormalizedLandmark.deserializeBinaryFromReader = function(e, t) { - for (; t.nextField() && !t.isEndGroup(); ) { - switch (t.getFieldNumber()) { - case 1: - var r = t.readFloat(); - e.setX(r); - break; - case 2: - r = t.readFloat(); - e.setY(r); - break; - case 3: - r = t.readFloat(); - e.setZ(r); - break; - case 4: - r = t.readFloat(); - e.setVisibility(r); - break; - case 5: - r = t.readFloat(); - e.setPresence(r); - break; - default: - t.skipField() - } - } - return e - } - , - proto.mediapipe.NormalizedLandmark.prototype.serializeBinary = function() { - var e = new t.BinaryWriter; - return proto.mediapipe.NormalizedLandmark.serializeBinaryToWriter(this, e), - e.getResultBuffer() - } - , - proto.mediapipe.NormalizedLandmark.serializeBinaryToWriter = function(e, r) { - var o = void 0; - null != (o = t.Message.getField(e, 1)) && r.writeFloat(1, o), - null != (o = t.Message.getField(e, 2)) && r.writeFloat(2, o), - null != (o = t.Message.getField(e, 3)) && r.writeFloat(3, o), - null != (o = t.Message.getField(e, 4)) && r.writeFloat(4, o), - null != (o = t.Message.getField(e, 5)) && r.writeFloat(5, o) - } - , - proto.mediapipe.NormalizedLandmark.prototype.getX = function() { - return t.Message.getFloatingPointFieldWithDefault(this, 1, 0) - } - , - proto.mediapipe.NormalizedLandmark.prototype.setX = function(e) { - return t.Message.setField(this, 1, e) - } - , - proto.mediapipe.NormalizedLandmark.prototype.clearX = function() { - return t.Message.setField(this, 1, void 0) - } - , - proto.mediapipe.NormalizedLandmark.prototype.hasX = function() { - return null != t.Message.getField(this, 1) - } - , - proto.mediapipe.NormalizedLandmark.prototype.getY = function() { - return t.Message.getFloatingPointFieldWithDefault(this, 2, 0) - } - , - proto.mediapipe.NormalizedLandmark.prototype.setY = function(e) { - return t.Message.setField(this, 2, e) - } - , - proto.mediapipe.NormalizedLandmark.prototype.clearY = function() { - return t.Message.setField(this, 2, void 0) - } - , - proto.mediapipe.NormalizedLandmark.prototype.hasY = function() { - return null != t.Message.getField(this, 2) - } - , - proto.mediapipe.NormalizedLandmark.prototype.getZ = function() { - return t.Message.getFloatingPointFieldWithDefault(this, 3, 0) - } - , - proto.mediapipe.NormalizedLandmark.prototype.setZ = function(e) { - return t.Message.setField(this, 3, e) - } - , - proto.mediapipe.NormalizedLandmark.prototype.clearZ = function() { - return t.Message.setField(this, 3, void 0) - } - , - proto.mediapipe.NormalizedLandmark.prototype.hasZ = function() { - return null != t.Message.getField(this, 3) - } - , - proto.mediapipe.NormalizedLandmark.prototype.getVisibility = function() { - return t.Message.getFloatingPointFieldWithDefault(this, 4, 0) - } - , - proto.mediapipe.NormalizedLandmark.prototype.setVisibility = function(e) { - return t.Message.setField(this, 4, e) - } - , - proto.mediapipe.NormalizedLandmark.prototype.clearVisibility = function() { - return t.Message.setField(this, 4, void 0) - } - , - proto.mediapipe.NormalizedLandmark.prototype.hasVisibility = function() { - return null != t.Message.getField(this, 4) - } - , - proto.mediapipe.NormalizedLandmark.prototype.getPresence = function() { - return t.Message.getFloatingPointFieldWithDefault(this, 5, 0) - } - , - proto.mediapipe.NormalizedLandmark.prototype.setPresence = function(e) { - return t.Message.setField(this, 5, e) - } - , - proto.mediapipe.NormalizedLandmark.prototype.clearPresence = function() { - return t.Message.setField(this, 5, void 0) - } - , - proto.mediapipe.NormalizedLandmark.prototype.hasPresence = function() { - return null != t.Message.getField(this, 5) - } - , - proto.mediapipe.NormalizedLandmarkList.repeatedFields_ = [1], - t.Message.GENERATE_TO_OBJECT && (proto.mediapipe.NormalizedLandmarkList.prototype.toObject = function(e) { - return proto.mediapipe.NormalizedLandmarkList.toObject(e, this) - } - , - proto.mediapipe.NormalizedLandmarkList.toObject = function(e, r) { - var o = { - landmarkList: t.Message.toObjectList(r.getLandmarkList(), proto.mediapipe.NormalizedLandmark.toObject, e) - }; - return e && (o.$jspbMessageInstance = r), - o - } - ), - proto.mediapipe.NormalizedLandmarkList.deserializeBinary = function(e) { - var r = new t.BinaryReader(e) - , o = new proto.mediapipe.NormalizedLandmarkList; - return proto.mediapipe.NormalizedLandmarkList.deserializeBinaryFromReader(o, r) - } - , - proto.mediapipe.NormalizedLandmarkList.deserializeBinaryFromReader = function(e, t) { - for (; t.nextField() && !t.isEndGroup(); ) { - if (1 === t.getFieldNumber()) { - var r = new proto.mediapipe.NormalizedLandmark; - t.readMessage(r, proto.mediapipe.NormalizedLandmark.deserializeBinaryFromReader), - e.addLandmark(r) - } else - t.skipField() - } - return e - } - , - proto.mediapipe.NormalizedLandmarkList.prototype.serializeBinary = function() { - var e = new t.BinaryWriter; - return proto.mediapipe.NormalizedLandmarkList.serializeBinaryToWriter(this, e), - e.getResultBuffer() - } - , - proto.mediapipe.NormalizedLandmarkList.serializeBinaryToWriter = function(e, t) { - var r; - (r = e.getLandmarkList()).length > 0 && t.writeRepeatedMessage(1, r, proto.mediapipe.NormalizedLandmark.serializeBinaryToWriter) - } - , - proto.mediapipe.NormalizedLandmarkList.prototype.getLandmarkList = function() { - return t.Message.getRepeatedWrapperField(this, proto.mediapipe.NormalizedLandmark, 1) - } - , - proto.mediapipe.NormalizedLandmarkList.prototype.setLandmarkList = function(e) { - return t.Message.setRepeatedWrapperField(this, 1, e) - } - , - proto.mediapipe.NormalizedLandmarkList.prototype.addLandmark = function(e, r) { - return t.Message.addToRepeatedWrapperField(this, 1, e, proto.mediapipe.NormalizedLandmark, r) - } - , - proto.mediapipe.NormalizedLandmarkList.prototype.clearLandmarkList = function() { - return this.setLandmarkList([]) - } - , - proto.mediapipe.NormalizedLandmarkListCollection.repeatedFields_ = [1], - t.Message.GENERATE_TO_OBJECT && (proto.mediapipe.NormalizedLandmarkListCollection.prototype.toObject = function(e) { - return proto.mediapipe.NormalizedLandmarkListCollection.toObject(e, this) - } - , - proto.mediapipe.NormalizedLandmarkListCollection.toObject = function(e, r) { - var o = { - landmarkListList: t.Message.toObjectList(r.getLandmarkListList(), proto.mediapipe.NormalizedLandmarkList.toObject, e) - }; - return e && (o.$jspbMessageInstance = r), - o - } - ), - proto.mediapipe.NormalizedLandmarkListCollection.deserializeBinary = function(e) { - var r = new t.BinaryReader(e) - , o = new proto.mediapipe.NormalizedLandmarkListCollection; - return proto.mediapipe.NormalizedLandmarkListCollection.deserializeBinaryFromReader(o, r) - } - , - proto.mediapipe.NormalizedLandmarkListCollection.deserializeBinaryFromReader = function(e, t) { - for (; t.nextField() && !t.isEndGroup(); ) { - if (1 === t.getFieldNumber()) { - var r = new proto.mediapipe.NormalizedLandmarkList; - t.readMessage(r, proto.mediapipe.NormalizedLandmarkList.deserializeBinaryFromReader), - e.addLandmarkList(r) - } else - t.skipField() - } - return e - } - , - proto.mediapipe.NormalizedLandmarkListCollection.prototype.serializeBinary = function() { - var e = new t.BinaryWriter; - return proto.mediapipe.NormalizedLandmarkListCollection.serializeBinaryToWriter(this, e), - e.getResultBuffer() - } - , - proto.mediapipe.NormalizedLandmarkListCollection.serializeBinaryToWriter = function(e, t) { - var r; - (r = e.getLandmarkListList()).length > 0 && t.writeRepeatedMessage(1, r, proto.mediapipe.NormalizedLandmarkList.serializeBinaryToWriter) - } - , - proto.mediapipe.NormalizedLandmarkListCollection.prototype.getLandmarkListList = function() { - return t.Message.getRepeatedWrapperField(this, proto.mediapipe.NormalizedLandmarkList, 1) - } - , - proto.mediapipe.NormalizedLandmarkListCollection.prototype.setLandmarkListList = function(e) { - return t.Message.setRepeatedWrapperField(this, 1, e) - } - , - proto.mediapipe.NormalizedLandmarkListCollection.prototype.addLandmarkList = function(e, r) { - return t.Message.addToRepeatedWrapperField(this, 1, e, proto.mediapipe.NormalizedLandmarkList, r) - } - , - proto.mediapipe.NormalizedLandmarkListCollection.prototype.clearLandmarkListList = function() { - return this.setLandmarkListList([]) - } - , - r.object.extend(e, proto.mediapipe) -}(landmark_pb); -var face_geometry_pb = {} - , matrix_data_pb = {}; -!function(e) { - var t = googleProtobuf - , r = t - , o = "undefined" != typeof globalThis && globalThis || "undefined" != typeof window && window || void 0 !== o && o || "undefined" != typeof self && self || function() { - return this - } - .call(null) || Function("return this")(); - r.exportSymbol("proto.mediapipe.MatrixData", null, o), - r.exportSymbol("proto.mediapipe.MatrixData.Layout", null, o), - proto.mediapipe.MatrixData = function(e) { - t.Message.initialize(this, e, 0, -1, proto.mediapipe.MatrixData.repeatedFields_, null) - } - , - r.inherits(proto.mediapipe.MatrixData, t.Message), - r.DEBUG && !COMPILED && (proto.mediapipe.MatrixData.displayName = "proto.mediapipe.MatrixData"), - proto.mediapipe.MatrixData.repeatedFields_ = [3], - t.Message.GENERATE_TO_OBJECT && (proto.mediapipe.MatrixData.prototype.toObject = function(e) { - return proto.mediapipe.MatrixData.toObject(e, this) - } - , - proto.mediapipe.MatrixData.toObject = function(e, r) { - var o, i = { - rows: null == (o = t.Message.getField(r, 1)) ? void 0 : o, - cols: null == (o = t.Message.getField(r, 2)) ? void 0 : o, - packedDataList: null == (o = t.Message.getRepeatedFloatingPointField(r, 3)) ? void 0 : o, - layout: t.Message.getFieldWithDefault(r, 4, 0) - }; - return e && (i.$jspbMessageInstance = r), - i - } - ), - proto.mediapipe.MatrixData.deserializeBinary = function(e) { - var r = new t.BinaryReader(e) - , o = new proto.mediapipe.MatrixData; - return proto.mediapipe.MatrixData.deserializeBinaryFromReader(o, r) - } - , - proto.mediapipe.MatrixData.deserializeBinaryFromReader = function(e, t) { - for (; t.nextField() && !t.isEndGroup(); ) { - switch (t.getFieldNumber()) { - case 1: - var r = t.readInt32(); - e.setRows(r); - break; - case 2: - r = t.readInt32(); - e.setCols(r); - break; - case 3: - for (var o = t.isDelimited() ? t.readPackedFloat() : [t.readFloat()], i = 0; i < o.length; i++) - e.addPackedData(o[i]); - break; - case 4: - r = t.readEnum(); - e.setLayout(r); - break; - default: - t.skipField() - } - } - return e - } - , - proto.mediapipe.MatrixData.prototype.serializeBinary = function() { - var e = new t.BinaryWriter; - return proto.mediapipe.MatrixData.serializeBinaryToWriter(this, e), - e.getResultBuffer() - } - , - proto.mediapipe.MatrixData.serializeBinaryToWriter = function(e, r) { - var o = void 0; - null != (o = t.Message.getField(e, 1)) && r.writeInt32(1, o), - null != (o = t.Message.getField(e, 2)) && r.writeInt32(2, o), - (o = e.getPackedDataList()).length > 0 && r.writePackedFloat(3, o), - null != (o = t.Message.getField(e, 4)) && r.writeEnum(4, o) - } - , - proto.mediapipe.MatrixData.Layout = { - COLUMN_MAJOR: 0, - ROW_MAJOR: 1 - }, - proto.mediapipe.MatrixData.prototype.getRows = function() { - return t.Message.getFieldWithDefault(this, 1, 0) - } - , - proto.mediapipe.MatrixData.prototype.setRows = function(e) { - return t.Message.setField(this, 1, e) - } - , - proto.mediapipe.MatrixData.prototype.clearRows = function() { - return t.Message.setField(this, 1, void 0) - } - , - proto.mediapipe.MatrixData.prototype.hasRows = function() { - return null != t.Message.getField(this, 1) - } - , - proto.mediapipe.MatrixData.prototype.getCols = function() { - return t.Message.getFieldWithDefault(this, 2, 0) - } - , - proto.mediapipe.MatrixData.prototype.setCols = function(e) { - return t.Message.setField(this, 2, e) - } - , - proto.mediapipe.MatrixData.prototype.clearCols = function() { - return t.Message.setField(this, 2, void 0) - } - , - proto.mediapipe.MatrixData.prototype.hasCols = function() { - return null != t.Message.getField(this, 2) - } - , - proto.mediapipe.MatrixData.prototype.getPackedDataList = function() { - return t.Message.getRepeatedFloatingPointField(this, 3) - } - , - proto.mediapipe.MatrixData.prototype.setPackedDataList = function(e) { - return t.Message.setField(this, 3, e || []) - } - , - proto.mediapipe.MatrixData.prototype.addPackedData = function(e, r) { - return t.Message.addToRepeatedField(this, 3, e, r) - } - , - proto.mediapipe.MatrixData.prototype.clearPackedDataList = function() { - return this.setPackedDataList([]) - } - , - proto.mediapipe.MatrixData.prototype.getLayout = function() { - return t.Message.getFieldWithDefault(this, 4, 0) - } - , - proto.mediapipe.MatrixData.prototype.setLayout = function(e) { - return t.Message.setField(this, 4, e) - } - , - proto.mediapipe.MatrixData.prototype.clearLayout = function() { - return t.Message.setField(this, 4, void 0) - } - , - proto.mediapipe.MatrixData.prototype.hasLayout = function() { - return null != t.Message.getField(this, 4) - } - , - r.object.extend(e, proto.mediapipe) -}(matrix_data_pb); -var mesh_3d_pb = {}; -!function(e) { - var t = googleProtobuf - , r = t - , o = "undefined" != typeof globalThis && globalThis || "undefined" != typeof window && window || void 0 !== o && o || "undefined" != typeof self && self || function() { - return this - } - .call(null) || Function("return this")(); - r.exportSymbol("proto.mediapipe.tasks.vision.face_geometry.proto.Mesh3d", null, o), - r.exportSymbol("proto.mediapipe.tasks.vision.face_geometry.proto.Mesh3d.PrimitiveType", null, o), - r.exportSymbol("proto.mediapipe.tasks.vision.face_geometry.proto.Mesh3d.VertexType", null, o), - proto.mediapipe.tasks.vision.face_geometry.proto.Mesh3d = function(e) { - t.Message.initialize(this, e, 0, -1, proto.mediapipe.tasks.vision.face_geometry.proto.Mesh3d.repeatedFields_, null) - } - , - r.inherits(proto.mediapipe.tasks.vision.face_geometry.proto.Mesh3d, t.Message), - r.DEBUG && !COMPILED && (proto.mediapipe.tasks.vision.face_geometry.proto.Mesh3d.displayName = "proto.mediapipe.tasks.vision.face_geometry.proto.Mesh3d"), - proto.mediapipe.tasks.vision.face_geometry.proto.Mesh3d.repeatedFields_ = [3, 4], - t.Message.GENERATE_TO_OBJECT && (proto.mediapipe.tasks.vision.face_geometry.proto.Mesh3d.prototype.toObject = function(e) { - return proto.mediapipe.tasks.vision.face_geometry.proto.Mesh3d.toObject(e, this) - } - , - proto.mediapipe.tasks.vision.face_geometry.proto.Mesh3d.toObject = function(e, r) { - var o, i = { - vertexType: null == (o = t.Message.getField(r, 1)) ? void 0 : o, - primitiveType: null == (o = t.Message.getField(r, 2)) ? void 0 : o, - vertexBufferList: null == (o = t.Message.getRepeatedFloatingPointField(r, 3)) ? void 0 : o, - indexBufferList: null == (o = t.Message.getRepeatedField(r, 4)) ? void 0 : o - }; - return e && (i.$jspbMessageInstance = r), - i - } - ), - proto.mediapipe.tasks.vision.face_geometry.proto.Mesh3d.deserializeBinary = function(e) { - var r = new t.BinaryReader(e) - , o = new proto.mediapipe.tasks.vision.face_geometry.proto.Mesh3d; - return proto.mediapipe.tasks.vision.face_geometry.proto.Mesh3d.deserializeBinaryFromReader(o, r) - } - , - proto.mediapipe.tasks.vision.face_geometry.proto.Mesh3d.deserializeBinaryFromReader = function(e, t) { - for (; t.nextField() && !t.isEndGroup(); ) { - switch (t.getFieldNumber()) { - case 1: - var r = t.readEnum(); - e.setVertexType(r); - break; - case 2: - r = t.readEnum(); - e.setPrimitiveType(r); - break; - case 3: - for (var o = t.isDelimited() ? t.readPackedFloat() : [t.readFloat()], i = 0; i < o.length; i++) - e.addVertexBuffer(o[i]); - break; - case 4: - for (o = t.isDelimited() ? t.readPackedUint32() : [t.readUint32()], - i = 0; i < o.length; i++) - e.addIndexBuffer(o[i]); - break; - default: - t.skipField() - } - } - return e - } - , - proto.mediapipe.tasks.vision.face_geometry.proto.Mesh3d.prototype.serializeBinary = function() { - var e = new t.BinaryWriter; - return proto.mediapipe.tasks.vision.face_geometry.proto.Mesh3d.serializeBinaryToWriter(this, e), - e.getResultBuffer() - } - , - proto.mediapipe.tasks.vision.face_geometry.proto.Mesh3d.serializeBinaryToWriter = function(e, r) { - var o = void 0; - null != (o = t.Message.getField(e, 1)) && r.writeEnum(1, o), - null != (o = t.Message.getField(e, 2)) && r.writeEnum(2, o), - (o = e.getVertexBufferList()).length > 0 && r.writeRepeatedFloat(3, o), - (o = e.getIndexBufferList()).length > 0 && r.writeRepeatedUint32(4, o) - } - , - proto.mediapipe.tasks.vision.face_geometry.proto.Mesh3d.VertexType = { - VERTEX_PT: 0 - }, - proto.mediapipe.tasks.vision.face_geometry.proto.Mesh3d.PrimitiveType = { - TRIANGLE: 0 - }, - proto.mediapipe.tasks.vision.face_geometry.proto.Mesh3d.prototype.getVertexType = function() { - return t.Message.getFieldWithDefault(this, 1, 0) - } - , - proto.mediapipe.tasks.vision.face_geometry.proto.Mesh3d.prototype.setVertexType = function(e) { - return t.Message.setField(this, 1, e) - } - , - proto.mediapipe.tasks.vision.face_geometry.proto.Mesh3d.prototype.clearVertexType = function() { - return t.Message.setField(this, 1, void 0) - } - , - proto.mediapipe.tasks.vision.face_geometry.proto.Mesh3d.prototype.hasVertexType = function() { - return null != t.Message.getField(this, 1) - } - , - proto.mediapipe.tasks.vision.face_geometry.proto.Mesh3d.prototype.getPrimitiveType = function() { - return t.Message.getFieldWithDefault(this, 2, 0) - } - , - proto.mediapipe.tasks.vision.face_geometry.proto.Mesh3d.prototype.setPrimitiveType = function(e) { - return t.Message.setField(this, 2, e) - } - , - proto.mediapipe.tasks.vision.face_geometry.proto.Mesh3d.prototype.clearPrimitiveType = function() { - return t.Message.setField(this, 2, void 0) - } - , - proto.mediapipe.tasks.vision.face_geometry.proto.Mesh3d.prototype.hasPrimitiveType = function() { - return null != t.Message.getField(this, 2) - } - , - proto.mediapipe.tasks.vision.face_geometry.proto.Mesh3d.prototype.getVertexBufferList = function() { - return t.Message.getRepeatedFloatingPointField(this, 3) - } - , - proto.mediapipe.tasks.vision.face_geometry.proto.Mesh3d.prototype.setVertexBufferList = function(e) { - return t.Message.setField(this, 3, e || []) - } - , - proto.mediapipe.tasks.vision.face_geometry.proto.Mesh3d.prototype.addVertexBuffer = function(e, r) { - return t.Message.addToRepeatedField(this, 3, e, r) - } - , - proto.mediapipe.tasks.vision.face_geometry.proto.Mesh3d.prototype.clearVertexBufferList = function() { - return this.setVertexBufferList([]) - } - , - proto.mediapipe.tasks.vision.face_geometry.proto.Mesh3d.prototype.getIndexBufferList = function() { - return t.Message.getRepeatedField(this, 4) - } - , - proto.mediapipe.tasks.vision.face_geometry.proto.Mesh3d.prototype.setIndexBufferList = function(e) { - return t.Message.setField(this, 4, e || []) - } - , - proto.mediapipe.tasks.vision.face_geometry.proto.Mesh3d.prototype.addIndexBuffer = function(e, r) { - return t.Message.addToRepeatedField(this, 4, e, r) - } - , - proto.mediapipe.tasks.vision.face_geometry.proto.Mesh3d.prototype.clearIndexBufferList = function() { - return this.setIndexBufferList([]) - } - , - r.object.extend(e, proto.mediapipe.tasks.vision.face_geometry.proto) -}(mesh_3d_pb), -function(e) { - var t = googleProtobuf - , r = t - , o = "undefined" != typeof globalThis && globalThis || "undefined" != typeof window && window || void 0 !== o && o || "undefined" != typeof self && self || function() { - return this - } - .call(null) || Function("return this")() - , i = matrix_data_pb; - r.object.extend(proto, i); - var a = mesh_3d_pb; - r.object.extend(proto, a), - r.exportSymbol("proto.mediapipe.tasks.vision.face_geometry.proto.FaceGeometry", null, o), - proto.mediapipe.tasks.vision.face_geometry.proto.FaceGeometry = function(e) { - t.Message.initialize(this, e, 0, -1, null, null) - } - , - r.inherits(proto.mediapipe.tasks.vision.face_geometry.proto.FaceGeometry, t.Message), - r.DEBUG && !COMPILED && (proto.mediapipe.tasks.vision.face_geometry.proto.FaceGeometry.displayName = "proto.mediapipe.tasks.vision.face_geometry.proto.FaceGeometry"), - t.Message.GENERATE_TO_OBJECT && (proto.mediapipe.tasks.vision.face_geometry.proto.FaceGeometry.prototype.toObject = function(e) { - return proto.mediapipe.tasks.vision.face_geometry.proto.FaceGeometry.toObject(e, this) - } - , - proto.mediapipe.tasks.vision.face_geometry.proto.FaceGeometry.toObject = function(e, t) { - var r, o = { - mesh: (r = t.getMesh()) && a.Mesh3d.toObject(e, r), - poseTransformMatrix: (r = t.getPoseTransformMatrix()) && i.MatrixData.toObject(e, r) - }; - return e && (o.$jspbMessageInstance = t), - o - } - ), - proto.mediapipe.tasks.vision.face_geometry.proto.FaceGeometry.deserializeBinary = function(e) { - var r = new t.BinaryReader(e) - , o = new proto.mediapipe.tasks.vision.face_geometry.proto.FaceGeometry; - return proto.mediapipe.tasks.vision.face_geometry.proto.FaceGeometry.deserializeBinaryFromReader(o, r) - } - , - proto.mediapipe.tasks.vision.face_geometry.proto.FaceGeometry.deserializeBinaryFromReader = function(e, t) { - for (; t.nextField() && !t.isEndGroup(); ) { - switch (t.getFieldNumber()) { - case 1: - var r = new a.Mesh3d; - t.readMessage(r, a.Mesh3d.deserializeBinaryFromReader), - e.setMesh(r); - break; - case 2: - r = new i.MatrixData; - t.readMessage(r, i.MatrixData.deserializeBinaryFromReader), - e.setPoseTransformMatrix(r); - break; - default: - t.skipField() - } - } - return e - } - , - proto.mediapipe.tasks.vision.face_geometry.proto.FaceGeometry.prototype.serializeBinary = function() { - var e = new t.BinaryWriter; - return proto.mediapipe.tasks.vision.face_geometry.proto.FaceGeometry.serializeBinaryToWriter(this, e), - e.getResultBuffer() - } - , - proto.mediapipe.tasks.vision.face_geometry.proto.FaceGeometry.serializeBinaryToWriter = function(e, t) { - var r = void 0; - null != (r = e.getMesh()) && t.writeMessage(1, r, a.Mesh3d.serializeBinaryToWriter), - null != (r = e.getPoseTransformMatrix()) && t.writeMessage(2, r, i.MatrixData.serializeBinaryToWriter) - } - , - proto.mediapipe.tasks.vision.face_geometry.proto.FaceGeometry.prototype.getMesh = function() { - return t.Message.getWrapperField(this, a.Mesh3d, 1) - } - , - proto.mediapipe.tasks.vision.face_geometry.proto.FaceGeometry.prototype.setMesh = function(e) { - return t.Message.setWrapperField(this, 1, e) - } - , - proto.mediapipe.tasks.vision.face_geometry.proto.FaceGeometry.prototype.clearMesh = function() { - return this.setMesh(void 0) - } - , - proto.mediapipe.tasks.vision.face_geometry.proto.FaceGeometry.prototype.hasMesh = function() { - return null != t.Message.getField(this, 1) - } - , - proto.mediapipe.tasks.vision.face_geometry.proto.FaceGeometry.prototype.getPoseTransformMatrix = function() { - return t.Message.getWrapperField(this, i.MatrixData, 2) - } - , - proto.mediapipe.tasks.vision.face_geometry.proto.FaceGeometry.prototype.setPoseTransformMatrix = function(e) { - return t.Message.setWrapperField(this, 2, e) - } - , - proto.mediapipe.tasks.vision.face_geometry.proto.FaceGeometry.prototype.clearPoseTransformMatrix = function() { - return this.setPoseTransformMatrix(void 0) - } - , - proto.mediapipe.tasks.vision.face_geometry.proto.FaceGeometry.prototype.hasPoseTransformMatrix = function() { - return null != t.Message.getField(this, 2) - } - , - r.object.extend(e, proto.mediapipe.tasks.vision.face_geometry.proto) -}(face_geometry_pb); -var face_landmarker_graph_options_pb = {} - , face_geometry_graph_options_pb = {} - , geometry_pipeline_calculator_pb = {}; -!function(e) { - var t = googleProtobuf - , r = t - , o = "undefined" != typeof globalThis && globalThis || "undefined" != typeof window && window || void 0 !== o && o || "undefined" != typeof self && self || function() { - return this - } - .call(null) || Function("return this")() - , i = calculator_options_pb; - r.object.extend(proto, i); - var a = external_file_pb; - r.object.extend(proto, a), - r.exportSymbol("proto.mediapipe.tasks.vision.face_geometry.FaceGeometryPipelineCalculatorOptions", null, o), - proto.mediapipe.tasks.vision.face_geometry.FaceGeometryPipelineCalculatorOptions = function(e) { - t.Message.initialize(this, e, 0, -1, null, null) - } - , - r.inherits(proto.mediapipe.tasks.vision.face_geometry.FaceGeometryPipelineCalculatorOptions, t.Message), - r.DEBUG && !COMPILED && (proto.mediapipe.tasks.vision.face_geometry.FaceGeometryPipelineCalculatorOptions.displayName = "proto.mediapipe.tasks.vision.face_geometry.FaceGeometryPipelineCalculatorOptions"), - t.Message.GENERATE_TO_OBJECT && (proto.mediapipe.tasks.vision.face_geometry.FaceGeometryPipelineCalculatorOptions.prototype.toObject = function(e) { - return proto.mediapipe.tasks.vision.face_geometry.FaceGeometryPipelineCalculatorOptions.toObject(e, this) - } - , - proto.mediapipe.tasks.vision.face_geometry.FaceGeometryPipelineCalculatorOptions.toObject = function(e, t) { - var r, o = { - metadataFile: (r = t.getMetadataFile()) && a.ExternalFile.toObject(e, r) - }; - return e && (o.$jspbMessageInstance = t), - o - } - ), - proto.mediapipe.tasks.vision.face_geometry.FaceGeometryPipelineCalculatorOptions.deserializeBinary = function(e) { - var r = new t.BinaryReader(e) - , o = new proto.mediapipe.tasks.vision.face_geometry.FaceGeometryPipelineCalculatorOptions; - return proto.mediapipe.tasks.vision.face_geometry.FaceGeometryPipelineCalculatorOptions.deserializeBinaryFromReader(o, r) - } - , - proto.mediapipe.tasks.vision.face_geometry.FaceGeometryPipelineCalculatorOptions.deserializeBinaryFromReader = function(e, t) { - for (; t.nextField() && !t.isEndGroup(); ) { - if (1 === t.getFieldNumber()) { - var r = new a.ExternalFile; - t.readMessage(r, a.ExternalFile.deserializeBinaryFromReader), - e.setMetadataFile(r) - } else - t.skipField() - } - return e - } - , - proto.mediapipe.tasks.vision.face_geometry.FaceGeometryPipelineCalculatorOptions.prototype.serializeBinary = function() { - var e = new t.BinaryWriter; - return proto.mediapipe.tasks.vision.face_geometry.FaceGeometryPipelineCalculatorOptions.serializeBinaryToWriter(this, e), - e.getResultBuffer() - } - , - proto.mediapipe.tasks.vision.face_geometry.FaceGeometryPipelineCalculatorOptions.serializeBinaryToWriter = function(e, t) { - var r; - null != (r = e.getMetadataFile()) && t.writeMessage(1, r, a.ExternalFile.serializeBinaryToWriter) - } - , - proto.mediapipe.tasks.vision.face_geometry.FaceGeometryPipelineCalculatorOptions.ext = new t.ExtensionFieldInfo(512499200,{ - ext: 0 - },proto.mediapipe.tasks.vision.face_geometry.FaceGeometryPipelineCalculatorOptions,proto.mediapipe.tasks.vision.face_geometry.FaceGeometryPipelineCalculatorOptions.toObject,0), - i.CalculatorOptions.extensionsBinary[512499200] = new t.ExtensionFieldBinaryInfo(proto.mediapipe.tasks.vision.face_geometry.FaceGeometryPipelineCalculatorOptions.ext,t.BinaryReader.prototype.readMessage,t.BinaryWriter.prototype.writeMessage,proto.mediapipe.tasks.vision.face_geometry.FaceGeometryPipelineCalculatorOptions.serializeBinaryToWriter,proto.mediapipe.tasks.vision.face_geometry.FaceGeometryPipelineCalculatorOptions.deserializeBinaryFromReader,!1), - i.CalculatorOptions.extensions[512499200] = proto.mediapipe.tasks.vision.face_geometry.FaceGeometryPipelineCalculatorOptions.ext, - proto.mediapipe.tasks.vision.face_geometry.FaceGeometryPipelineCalculatorOptions.prototype.getMetadataFile = function() { - return t.Message.getWrapperField(this, a.ExternalFile, 1) - } - , - proto.mediapipe.tasks.vision.face_geometry.FaceGeometryPipelineCalculatorOptions.prototype.setMetadataFile = function(e) { - return t.Message.setWrapperField(this, 1, e) - } - , - proto.mediapipe.tasks.vision.face_geometry.FaceGeometryPipelineCalculatorOptions.prototype.clearMetadataFile = function() { - return this.setMetadataFile(void 0) - } - , - proto.mediapipe.tasks.vision.face_geometry.FaceGeometryPipelineCalculatorOptions.prototype.hasMetadataFile = function() { - return null != t.Message.getField(this, 1) - } - , - proto.mediapipe.tasks.vision.face_geometry.FaceGeometryPipelineCalculatorOptions.ext = new t.ExtensionFieldInfo(512499200,{ - ext: 0 - },proto.mediapipe.tasks.vision.face_geometry.FaceGeometryPipelineCalculatorOptions,proto.mediapipe.tasks.vision.face_geometry.FaceGeometryPipelineCalculatorOptions.toObject,0), - i.CalculatorOptions.extensionsBinary[512499200] = new t.ExtensionFieldBinaryInfo(proto.mediapipe.tasks.vision.face_geometry.FaceGeometryPipelineCalculatorOptions.ext,t.BinaryReader.prototype.readMessage,t.BinaryWriter.prototype.writeMessage,proto.mediapipe.tasks.vision.face_geometry.FaceGeometryPipelineCalculatorOptions.serializeBinaryToWriter,proto.mediapipe.tasks.vision.face_geometry.FaceGeometryPipelineCalculatorOptions.deserializeBinaryFromReader,!1), - i.CalculatorOptions.extensions[512499200] = proto.mediapipe.tasks.vision.face_geometry.FaceGeometryPipelineCalculatorOptions.ext, - r.object.extend(e, proto.mediapipe.tasks.vision.face_geometry) -}(geometry_pipeline_calculator_pb), -function(e) { - var t = googleProtobuf - , r = t - , o = "undefined" != typeof globalThis && globalThis || "undefined" != typeof window && window || void 0 !== o && o || "undefined" != typeof self && self || function() { - return this - } - .call(null) || Function("return this")() - , i = calculator_options_pb; - r.object.extend(proto, i); - var a = geometry_pipeline_calculator_pb; - r.object.extend(proto, a), - r.exportSymbol("proto.mediapipe.tasks.vision.face_geometry.proto.FaceGeometryGraphOptions", null, o), - proto.mediapipe.tasks.vision.face_geometry.proto.FaceGeometryGraphOptions = function(e) { - t.Message.initialize(this, e, 0, -1, null, null) - } - , - r.inherits(proto.mediapipe.tasks.vision.face_geometry.proto.FaceGeometryGraphOptions, t.Message), - r.DEBUG && !COMPILED && (proto.mediapipe.tasks.vision.face_geometry.proto.FaceGeometryGraphOptions.displayName = "proto.mediapipe.tasks.vision.face_geometry.proto.FaceGeometryGraphOptions"), - t.Message.GENERATE_TO_OBJECT && (proto.mediapipe.tasks.vision.face_geometry.proto.FaceGeometryGraphOptions.prototype.toObject = function(e) { - return proto.mediapipe.tasks.vision.face_geometry.proto.FaceGeometryGraphOptions.toObject(e, this) - } - , - proto.mediapipe.tasks.vision.face_geometry.proto.FaceGeometryGraphOptions.toObject = function(e, t) { - var r, o = { - geometryPipelineOptions: (r = t.getGeometryPipelineOptions()) && a.FaceGeometryPipelineCalculatorOptions.toObject(e, r) - }; - return e && (o.$jspbMessageInstance = t), - o - } - ), - proto.mediapipe.tasks.vision.face_geometry.proto.FaceGeometryGraphOptions.deserializeBinary = function(e) { - var r = new t.BinaryReader(e) - , o = new proto.mediapipe.tasks.vision.face_geometry.proto.FaceGeometryGraphOptions; - return proto.mediapipe.tasks.vision.face_geometry.proto.FaceGeometryGraphOptions.deserializeBinaryFromReader(o, r) - } - , - proto.mediapipe.tasks.vision.face_geometry.proto.FaceGeometryGraphOptions.deserializeBinaryFromReader = function(e, t) { - for (; t.nextField() && !t.isEndGroup(); ) { - if (1 === t.getFieldNumber()) { - var r = new a.FaceGeometryPipelineCalculatorOptions; - t.readMessage(r, a.FaceGeometryPipelineCalculatorOptions.deserializeBinaryFromReader), - e.setGeometryPipelineOptions(r) - } else - t.skipField() - } - return e - } - , - proto.mediapipe.tasks.vision.face_geometry.proto.FaceGeometryGraphOptions.prototype.serializeBinary = function() { - var e = new t.BinaryWriter; - return proto.mediapipe.tasks.vision.face_geometry.proto.FaceGeometryGraphOptions.serializeBinaryToWriter(this, e), - e.getResultBuffer() - } - , - proto.mediapipe.tasks.vision.face_geometry.proto.FaceGeometryGraphOptions.serializeBinaryToWriter = function(e, t) { - var r; - null != (r = e.getGeometryPipelineOptions()) && t.writeMessage(1, r, a.FaceGeometryPipelineCalculatorOptions.serializeBinaryToWriter) - } - , - proto.mediapipe.tasks.vision.face_geometry.proto.FaceGeometryGraphOptions.ext = new t.ExtensionFieldInfo(515723506,{ - ext: 0 - },proto.mediapipe.tasks.vision.face_geometry.proto.FaceGeometryGraphOptions,proto.mediapipe.tasks.vision.face_geometry.proto.FaceGeometryGraphOptions.toObject,0), - i.CalculatorOptions.extensionsBinary[515723506] = new t.ExtensionFieldBinaryInfo(proto.mediapipe.tasks.vision.face_geometry.proto.FaceGeometryGraphOptions.ext,t.BinaryReader.prototype.readMessage,t.BinaryWriter.prototype.writeMessage,proto.mediapipe.tasks.vision.face_geometry.proto.FaceGeometryGraphOptions.serializeBinaryToWriter,proto.mediapipe.tasks.vision.face_geometry.proto.FaceGeometryGraphOptions.deserializeBinaryFromReader,!1), - i.CalculatorOptions.extensions[515723506] = proto.mediapipe.tasks.vision.face_geometry.proto.FaceGeometryGraphOptions.ext, - proto.mediapipe.tasks.vision.face_geometry.proto.FaceGeometryGraphOptions.prototype.getGeometryPipelineOptions = function() { - return t.Message.getWrapperField(this, a.FaceGeometryPipelineCalculatorOptions, 1) - } - , - proto.mediapipe.tasks.vision.face_geometry.proto.FaceGeometryGraphOptions.prototype.setGeometryPipelineOptions = function(e) { - return t.Message.setWrapperField(this, 1, e) - } - , - proto.mediapipe.tasks.vision.face_geometry.proto.FaceGeometryGraphOptions.prototype.clearGeometryPipelineOptions = function() { - return this.setGeometryPipelineOptions(void 0) - } - , - proto.mediapipe.tasks.vision.face_geometry.proto.FaceGeometryGraphOptions.prototype.hasGeometryPipelineOptions = function() { - return null != t.Message.getField(this, 1) - } - , - proto.mediapipe.tasks.vision.face_geometry.proto.FaceGeometryGraphOptions.ext = new t.ExtensionFieldInfo(515723506,{ - ext: 0 - },proto.mediapipe.tasks.vision.face_geometry.proto.FaceGeometryGraphOptions,proto.mediapipe.tasks.vision.face_geometry.proto.FaceGeometryGraphOptions.toObject,0), - i.CalculatorOptions.extensionsBinary[515723506] = new t.ExtensionFieldBinaryInfo(proto.mediapipe.tasks.vision.face_geometry.proto.FaceGeometryGraphOptions.ext,t.BinaryReader.prototype.readMessage,t.BinaryWriter.prototype.writeMessage,proto.mediapipe.tasks.vision.face_geometry.proto.FaceGeometryGraphOptions.serializeBinaryToWriter,proto.mediapipe.tasks.vision.face_geometry.proto.FaceGeometryGraphOptions.deserializeBinaryFromReader,!1), - i.CalculatorOptions.extensions[515723506] = proto.mediapipe.tasks.vision.face_geometry.proto.FaceGeometryGraphOptions.ext, - r.object.extend(e, proto.mediapipe.tasks.vision.face_geometry.proto) -}(face_geometry_graph_options_pb); -var face_landmarks_detector_graph_options_pb = {} - , face_blendshapes_graph_options_pb = {}; -!function(e) { - var t = googleProtobuf - , r = t - , o = "undefined" != typeof globalThis && globalThis || "undefined" != typeof window && window || void 0 !== o && o || "undefined" != typeof self && self || function() { - return this - } - .call(null) || Function("return this")() - , i = calculator_pb; - r.object.extend(proto, i); - var a = calculator_options_pb; - r.object.extend(proto, a); - var n = base_options_pb; - r.object.extend(proto, n), - r.exportSymbol("proto.mediapipe.tasks.vision.face_landmarker.proto.FaceBlendshapesGraphOptions", null, o), - proto.mediapipe.tasks.vision.face_landmarker.proto.FaceBlendshapesGraphOptions = function(e) { - t.Message.initialize(this, e, 0, -1, null, null) - } - , - r.inherits(proto.mediapipe.tasks.vision.face_landmarker.proto.FaceBlendshapesGraphOptions, t.Message), - r.DEBUG && !COMPILED && (proto.mediapipe.tasks.vision.face_landmarker.proto.FaceBlendshapesGraphOptions.displayName = "proto.mediapipe.tasks.vision.face_landmarker.proto.FaceBlendshapesGraphOptions"), - t.Message.GENERATE_TO_OBJECT && (proto.mediapipe.tasks.vision.face_landmarker.proto.FaceBlendshapesGraphOptions.prototype.toObject = function(e) { - return proto.mediapipe.tasks.vision.face_landmarker.proto.FaceBlendshapesGraphOptions.toObject(e, this) - } - , - proto.mediapipe.tasks.vision.face_landmarker.proto.FaceBlendshapesGraphOptions.toObject = function(e, t) { - var r, o = { - baseOptions: (r = t.getBaseOptions()) && n.BaseOptions.toObject(e, r) - }; - return e && (o.$jspbMessageInstance = t), - o - } - ), - proto.mediapipe.tasks.vision.face_landmarker.proto.FaceBlendshapesGraphOptions.deserializeBinary = function(e) { - var r = new t.BinaryReader(e) - , o = new proto.mediapipe.tasks.vision.face_landmarker.proto.FaceBlendshapesGraphOptions; - return proto.mediapipe.tasks.vision.face_landmarker.proto.FaceBlendshapesGraphOptions.deserializeBinaryFromReader(o, r) - } - , - proto.mediapipe.tasks.vision.face_landmarker.proto.FaceBlendshapesGraphOptions.deserializeBinaryFromReader = function(e, t) { - for (; t.nextField() && !t.isEndGroup(); ) { - if (1 === t.getFieldNumber()) { - var r = new n.BaseOptions; - t.readMessage(r, n.BaseOptions.deserializeBinaryFromReader), - e.setBaseOptions(r) - } else - t.skipField() - } - return e - } - , - proto.mediapipe.tasks.vision.face_landmarker.proto.FaceBlendshapesGraphOptions.prototype.serializeBinary = function() { - var e = new t.BinaryWriter; - return proto.mediapipe.tasks.vision.face_landmarker.proto.FaceBlendshapesGraphOptions.serializeBinaryToWriter(this, e), - e.getResultBuffer() - } - , - proto.mediapipe.tasks.vision.face_landmarker.proto.FaceBlendshapesGraphOptions.serializeBinaryToWriter = function(e, t) { - var r; - null != (r = e.getBaseOptions()) && t.writeMessage(1, r, n.BaseOptions.serializeBinaryToWriter) - } - , - proto.mediapipe.tasks.vision.face_landmarker.proto.FaceBlendshapesGraphOptions.ext = new t.ExtensionFieldInfo(508981768,{ - ext: 0 - },proto.mediapipe.tasks.vision.face_landmarker.proto.FaceBlendshapesGraphOptions,proto.mediapipe.tasks.vision.face_landmarker.proto.FaceBlendshapesGraphOptions.toObject,0), - a.CalculatorOptions.extensionsBinary[508981768] = new t.ExtensionFieldBinaryInfo(proto.mediapipe.tasks.vision.face_landmarker.proto.FaceBlendshapesGraphOptions.ext,t.BinaryReader.prototype.readMessage,t.BinaryWriter.prototype.writeMessage,proto.mediapipe.tasks.vision.face_landmarker.proto.FaceBlendshapesGraphOptions.serializeBinaryToWriter,proto.mediapipe.tasks.vision.face_landmarker.proto.FaceBlendshapesGraphOptions.deserializeBinaryFromReader,!1), - a.CalculatorOptions.extensions[508981768] = proto.mediapipe.tasks.vision.face_landmarker.proto.FaceBlendshapesGraphOptions.ext, - proto.mediapipe.tasks.vision.face_landmarker.proto.FaceBlendshapesGraphOptions.prototype.getBaseOptions = function() { - return t.Message.getWrapperField(this, n.BaseOptions, 1) - } - , - proto.mediapipe.tasks.vision.face_landmarker.proto.FaceBlendshapesGraphOptions.prototype.setBaseOptions = function(e) { - return t.Message.setWrapperField(this, 1, e) - } - , - proto.mediapipe.tasks.vision.face_landmarker.proto.FaceBlendshapesGraphOptions.prototype.clearBaseOptions = function() { - return this.setBaseOptions(void 0) - } - , - proto.mediapipe.tasks.vision.face_landmarker.proto.FaceBlendshapesGraphOptions.prototype.hasBaseOptions = function() { - return null != t.Message.getField(this, 1) - } - , - proto.mediapipe.tasks.vision.face_landmarker.proto.FaceBlendshapesGraphOptions.ext = new t.ExtensionFieldInfo(508981768,{ - ext: 0 - },proto.mediapipe.tasks.vision.face_landmarker.proto.FaceBlendshapesGraphOptions,proto.mediapipe.tasks.vision.face_landmarker.proto.FaceBlendshapesGraphOptions.toObject,0), - a.CalculatorOptions.extensionsBinary[508981768] = new t.ExtensionFieldBinaryInfo(proto.mediapipe.tasks.vision.face_landmarker.proto.FaceBlendshapesGraphOptions.ext,t.BinaryReader.prototype.readMessage,t.BinaryWriter.prototype.writeMessage,proto.mediapipe.tasks.vision.face_landmarker.proto.FaceBlendshapesGraphOptions.serializeBinaryToWriter,proto.mediapipe.tasks.vision.face_landmarker.proto.FaceBlendshapesGraphOptions.deserializeBinaryFromReader,!1), - a.CalculatorOptions.extensions[508981768] = proto.mediapipe.tasks.vision.face_landmarker.proto.FaceBlendshapesGraphOptions.ext, - r.object.extend(e, proto.mediapipe.tasks.vision.face_landmarker.proto) -}(face_blendshapes_graph_options_pb), -function(e) { - var t = googleProtobuf - , r = t - , o = "undefined" != typeof globalThis && globalThis || "undefined" != typeof window && window || void 0 !== o && o || "undefined" != typeof self && self || function() { - return this - } - .call(null) || Function("return this")() - , i = calculator_pb; - r.object.extend(proto, i); - var a = calculator_options_pb; - r.object.extend(proto, a); - var n = base_options_pb; - r.object.extend(proto, n); - var s = face_blendshapes_graph_options_pb; - r.object.extend(proto, s), - r.exportSymbol("proto.mediapipe.tasks.vision.face_landmarker.proto.FaceLandmarksDetectorGraphOptions", null, o), - proto.mediapipe.tasks.vision.face_landmarker.proto.FaceLandmarksDetectorGraphOptions = function(e) { - t.Message.initialize(this, e, 0, -1, null, null) - } - , - r.inherits(proto.mediapipe.tasks.vision.face_landmarker.proto.FaceLandmarksDetectorGraphOptions, t.Message), - r.DEBUG && !COMPILED && (proto.mediapipe.tasks.vision.face_landmarker.proto.FaceLandmarksDetectorGraphOptions.displayName = "proto.mediapipe.tasks.vision.face_landmarker.proto.FaceLandmarksDetectorGraphOptions"), - t.Message.GENERATE_TO_OBJECT && (proto.mediapipe.tasks.vision.face_landmarker.proto.FaceLandmarksDetectorGraphOptions.prototype.toObject = function(e) { - return proto.mediapipe.tasks.vision.face_landmarker.proto.FaceLandmarksDetectorGraphOptions.toObject(e, this) - } - , - proto.mediapipe.tasks.vision.face_landmarker.proto.FaceLandmarksDetectorGraphOptions.toObject = function(e, r) { - var o, i = { - baseOptions: (o = r.getBaseOptions()) && n.BaseOptions.toObject(e, o), - minDetectionConfidence: t.Message.getFloatingPointFieldWithDefault(r, 2, .5), - smoothLandmarks: null == (o = t.Message.getBooleanField(r, 4)) ? void 0 : o, - faceBlendshapesGraphOptions: (o = r.getFaceBlendshapesGraphOptions()) && s.FaceBlendshapesGraphOptions.toObject(e, o) - }; - return e && (i.$jspbMessageInstance = r), - i - } - ), - proto.mediapipe.tasks.vision.face_landmarker.proto.FaceLandmarksDetectorGraphOptions.deserializeBinary = function(e) { - var r = new t.BinaryReader(e) - , o = new proto.mediapipe.tasks.vision.face_landmarker.proto.FaceLandmarksDetectorGraphOptions; - return proto.mediapipe.tasks.vision.face_landmarker.proto.FaceLandmarksDetectorGraphOptions.deserializeBinaryFromReader(o, r) - } - , - proto.mediapipe.tasks.vision.face_landmarker.proto.FaceLandmarksDetectorGraphOptions.deserializeBinaryFromReader = function(e, t) { - for (; t.nextField() && !t.isEndGroup(); ) { - switch (t.getFieldNumber()) { - case 1: - var r = new n.BaseOptions; - t.readMessage(r, n.BaseOptions.deserializeBinaryFromReader), - e.setBaseOptions(r); - break; - case 2: - r = t.readFloat(); - e.setMinDetectionConfidence(r); - break; - case 4: - r = t.readBool(); - e.setSmoothLandmarks(r); - break; - case 3: - r = new s.FaceBlendshapesGraphOptions; - t.readMessage(r, s.FaceBlendshapesGraphOptions.deserializeBinaryFromReader), - e.setFaceBlendshapesGraphOptions(r); - break; - default: - t.skipField() - } - } - return e - } - , - proto.mediapipe.tasks.vision.face_landmarker.proto.FaceLandmarksDetectorGraphOptions.prototype.serializeBinary = function() { - var e = new t.BinaryWriter; - return proto.mediapipe.tasks.vision.face_landmarker.proto.FaceLandmarksDetectorGraphOptions.serializeBinaryToWriter(this, e), - e.getResultBuffer() - } - , - proto.mediapipe.tasks.vision.face_landmarker.proto.FaceLandmarksDetectorGraphOptions.serializeBinaryToWriter = function(e, r) { - var o = void 0; - null != (o = e.getBaseOptions()) && r.writeMessage(1, o, n.BaseOptions.serializeBinaryToWriter), - null != (o = t.Message.getField(e, 2)) && r.writeFloat(2, o), - null != (o = t.Message.getField(e, 4)) && r.writeBool(4, o), - null != (o = e.getFaceBlendshapesGraphOptions()) && r.writeMessage(3, o, s.FaceBlendshapesGraphOptions.serializeBinaryToWriter) - } - , - proto.mediapipe.tasks.vision.face_landmarker.proto.FaceLandmarksDetectorGraphOptions.ext = new t.ExtensionFieldInfo(508968149,{ - ext: 0 - },proto.mediapipe.tasks.vision.face_landmarker.proto.FaceLandmarksDetectorGraphOptions,proto.mediapipe.tasks.vision.face_landmarker.proto.FaceLandmarksDetectorGraphOptions.toObject,0), - a.CalculatorOptions.extensionsBinary[508968149] = new t.ExtensionFieldBinaryInfo(proto.mediapipe.tasks.vision.face_landmarker.proto.FaceLandmarksDetectorGraphOptions.ext,t.BinaryReader.prototype.readMessage,t.BinaryWriter.prototype.writeMessage,proto.mediapipe.tasks.vision.face_landmarker.proto.FaceLandmarksDetectorGraphOptions.serializeBinaryToWriter,proto.mediapipe.tasks.vision.face_landmarker.proto.FaceLandmarksDetectorGraphOptions.deserializeBinaryFromReader,!1), - a.CalculatorOptions.extensions[508968149] = proto.mediapipe.tasks.vision.face_landmarker.proto.FaceLandmarksDetectorGraphOptions.ext, - proto.mediapipe.tasks.vision.face_landmarker.proto.FaceLandmarksDetectorGraphOptions.prototype.getBaseOptions = function() { - return t.Message.getWrapperField(this, n.BaseOptions, 1) - } - , - proto.mediapipe.tasks.vision.face_landmarker.proto.FaceLandmarksDetectorGraphOptions.prototype.setBaseOptions = function(e) { - return t.Message.setWrapperField(this, 1, e) - } - , - proto.mediapipe.tasks.vision.face_landmarker.proto.FaceLandmarksDetectorGraphOptions.prototype.clearBaseOptions = function() { - return this.setBaseOptions(void 0) - } - , - proto.mediapipe.tasks.vision.face_landmarker.proto.FaceLandmarksDetectorGraphOptions.prototype.hasBaseOptions = function() { - return null != t.Message.getField(this, 1) - } - , - proto.mediapipe.tasks.vision.face_landmarker.proto.FaceLandmarksDetectorGraphOptions.prototype.getMinDetectionConfidence = function() { - return t.Message.getFloatingPointFieldWithDefault(this, 2, .5) - } - , - proto.mediapipe.tasks.vision.face_landmarker.proto.FaceLandmarksDetectorGraphOptions.prototype.setMinDetectionConfidence = function(e) { - return t.Message.setField(this, 2, e) - } - , - proto.mediapipe.tasks.vision.face_landmarker.proto.FaceLandmarksDetectorGraphOptions.prototype.clearMinDetectionConfidence = function() { - return t.Message.setField(this, 2, void 0) - } - , - proto.mediapipe.tasks.vision.face_landmarker.proto.FaceLandmarksDetectorGraphOptions.prototype.hasMinDetectionConfidence = function() { - return null != t.Message.getField(this, 2) - } - , - proto.mediapipe.tasks.vision.face_landmarker.proto.FaceLandmarksDetectorGraphOptions.prototype.getSmoothLandmarks = function() { - return t.Message.getBooleanFieldWithDefault(this, 4, !1) - } - , - proto.mediapipe.tasks.vision.face_landmarker.proto.FaceLandmarksDetectorGraphOptions.prototype.setSmoothLandmarks = function(e) { - return t.Message.setField(this, 4, e) - } - , - proto.mediapipe.tasks.vision.face_landmarker.proto.FaceLandmarksDetectorGraphOptions.prototype.clearSmoothLandmarks = function() { - return t.Message.setField(this, 4, void 0) - } - , - proto.mediapipe.tasks.vision.face_landmarker.proto.FaceLandmarksDetectorGraphOptions.prototype.hasSmoothLandmarks = function() { - return null != t.Message.getField(this, 4) - } - , - proto.mediapipe.tasks.vision.face_landmarker.proto.FaceLandmarksDetectorGraphOptions.prototype.getFaceBlendshapesGraphOptions = function() { - return t.Message.getWrapperField(this, s.FaceBlendshapesGraphOptions, 3) - } - , - proto.mediapipe.tasks.vision.face_landmarker.proto.FaceLandmarksDetectorGraphOptions.prototype.setFaceBlendshapesGraphOptions = function(e) { - return t.Message.setWrapperField(this, 3, e) - } - , - proto.mediapipe.tasks.vision.face_landmarker.proto.FaceLandmarksDetectorGraphOptions.prototype.clearFaceBlendshapesGraphOptions = function() { - return this.setFaceBlendshapesGraphOptions(void 0) - } - , - proto.mediapipe.tasks.vision.face_landmarker.proto.FaceLandmarksDetectorGraphOptions.prototype.hasFaceBlendshapesGraphOptions = function() { - return null != t.Message.getField(this, 3) - } - , - proto.mediapipe.tasks.vision.face_landmarker.proto.FaceLandmarksDetectorGraphOptions.ext = new t.ExtensionFieldInfo(508968149,{ - ext: 0 - },proto.mediapipe.tasks.vision.face_landmarker.proto.FaceLandmarksDetectorGraphOptions,proto.mediapipe.tasks.vision.face_landmarker.proto.FaceLandmarksDetectorGraphOptions.toObject,0), - a.CalculatorOptions.extensionsBinary[508968149] = new t.ExtensionFieldBinaryInfo(proto.mediapipe.tasks.vision.face_landmarker.proto.FaceLandmarksDetectorGraphOptions.ext,t.BinaryReader.prototype.readMessage,t.BinaryWriter.prototype.writeMessage,proto.mediapipe.tasks.vision.face_landmarker.proto.FaceLandmarksDetectorGraphOptions.serializeBinaryToWriter,proto.mediapipe.tasks.vision.face_landmarker.proto.FaceLandmarksDetectorGraphOptions.deserializeBinaryFromReader,!1), - a.CalculatorOptions.extensions[508968149] = proto.mediapipe.tasks.vision.face_landmarker.proto.FaceLandmarksDetectorGraphOptions.ext, - r.object.extend(e, proto.mediapipe.tasks.vision.face_landmarker.proto) -}(face_landmarks_detector_graph_options_pb), -function(e) { - var t = googleProtobuf - , r = t - , o = "undefined" != typeof globalThis && globalThis || "undefined" != typeof window && window || void 0 !== o && o || "undefined" != typeof self && self || function() { - return this - } - .call(null) || Function("return this")() - , i = calculator_pb; - r.object.extend(proto, i); - var a = calculator_options_pb; - r.object.extend(proto, a); - var n = base_options_pb; - r.object.extend(proto, n); - var s = face_detector_graph_options_pb; - r.object.extend(proto, s); - var p = face_geometry_graph_options_pb; - r.object.extend(proto, p); - var d = face_landmarks_detector_graph_options_pb; - r.object.extend(proto, d), - r.exportSymbol("proto.mediapipe.tasks.vision.face_landmarker.proto.FaceLandmarkerGraphOptions", null, o), - proto.mediapipe.tasks.vision.face_landmarker.proto.FaceLandmarkerGraphOptions = function(e) { - t.Message.initialize(this, e, 0, -1, null, null) - } - , - r.inherits(proto.mediapipe.tasks.vision.face_landmarker.proto.FaceLandmarkerGraphOptions, t.Message), - r.DEBUG && !COMPILED && (proto.mediapipe.tasks.vision.face_landmarker.proto.FaceLandmarkerGraphOptions.displayName = "proto.mediapipe.tasks.vision.face_landmarker.proto.FaceLandmarkerGraphOptions"), - t.Message.GENERATE_TO_OBJECT && (proto.mediapipe.tasks.vision.face_landmarker.proto.FaceLandmarkerGraphOptions.prototype.toObject = function(e) { - return proto.mediapipe.tasks.vision.face_landmarker.proto.FaceLandmarkerGraphOptions.toObject(e, this) - } - , - proto.mediapipe.tasks.vision.face_landmarker.proto.FaceLandmarkerGraphOptions.toObject = function(e, r) { - var o, i = { - baseOptions: (o = r.getBaseOptions()) && n.BaseOptions.toObject(e, o), - faceDetectorGraphOptions: (o = r.getFaceDetectorGraphOptions()) && s.FaceDetectorGraphOptions.toObject(e, o), - faceLandmarksDetectorGraphOptions: (o = r.getFaceLandmarksDetectorGraphOptions()) && d.FaceLandmarksDetectorGraphOptions.toObject(e, o), - minTrackingConfidence: t.Message.getFloatingPointFieldWithDefault(r, 4, .5), - faceGeometryGraphOptions: (o = r.getFaceGeometryGraphOptions()) && p.FaceGeometryGraphOptions.toObject(e, o) - }; - return e && (i.$jspbMessageInstance = r), - i - } - ), - proto.mediapipe.tasks.vision.face_landmarker.proto.FaceLandmarkerGraphOptions.deserializeBinary = function(e) { - var r = new t.BinaryReader(e) - , o = new proto.mediapipe.tasks.vision.face_landmarker.proto.FaceLandmarkerGraphOptions; - return proto.mediapipe.tasks.vision.face_landmarker.proto.FaceLandmarkerGraphOptions.deserializeBinaryFromReader(o, r) - } - , - proto.mediapipe.tasks.vision.face_landmarker.proto.FaceLandmarkerGraphOptions.deserializeBinaryFromReader = function(e, t) { - for (; t.nextField() && !t.isEndGroup(); ) { - switch (t.getFieldNumber()) { - case 1: - var r = new n.BaseOptions; - t.readMessage(r, n.BaseOptions.deserializeBinaryFromReader), - e.setBaseOptions(r); - break; - case 2: - r = new s.FaceDetectorGraphOptions; - t.readMessage(r, s.FaceDetectorGraphOptions.deserializeBinaryFromReader), - e.setFaceDetectorGraphOptions(r); - break; - case 3: - r = new d.FaceLandmarksDetectorGraphOptions; - t.readMessage(r, d.FaceLandmarksDetectorGraphOptions.deserializeBinaryFromReader), - e.setFaceLandmarksDetectorGraphOptions(r); - break; - case 4: - r = t.readFloat(); - e.setMinTrackingConfidence(r); - break; - case 5: - r = new p.FaceGeometryGraphOptions; - t.readMessage(r, p.FaceGeometryGraphOptions.deserializeBinaryFromReader), - e.setFaceGeometryGraphOptions(r); - break; - default: - t.skipField() - } - } - return e - } - , - proto.mediapipe.tasks.vision.face_landmarker.proto.FaceLandmarkerGraphOptions.prototype.serializeBinary = function() { - var e = new t.BinaryWriter; - return proto.mediapipe.tasks.vision.face_landmarker.proto.FaceLandmarkerGraphOptions.serializeBinaryToWriter(this, e), - e.getResultBuffer() - } - , - proto.mediapipe.tasks.vision.face_landmarker.proto.FaceLandmarkerGraphOptions.serializeBinaryToWriter = function(e, r) { - var o = void 0; - null != (o = e.getBaseOptions()) && r.writeMessage(1, o, n.BaseOptions.serializeBinaryToWriter), - null != (o = e.getFaceDetectorGraphOptions()) && r.writeMessage(2, o, s.FaceDetectorGraphOptions.serializeBinaryToWriter), - null != (o = e.getFaceLandmarksDetectorGraphOptions()) && r.writeMessage(3, o, d.FaceLandmarksDetectorGraphOptions.serializeBinaryToWriter), - null != (o = t.Message.getField(e, 4)) && r.writeFloat(4, o), - null != (o = e.getFaceGeometryGraphOptions()) && r.writeMessage(5, o, p.FaceGeometryGraphOptions.serializeBinaryToWriter) - } - , - proto.mediapipe.tasks.vision.face_landmarker.proto.FaceLandmarkerGraphOptions.ext = new t.ExtensionFieldInfo(508968150,{ - ext: 0 - },proto.mediapipe.tasks.vision.face_landmarker.proto.FaceLandmarkerGraphOptions,proto.mediapipe.tasks.vision.face_landmarker.proto.FaceLandmarkerGraphOptions.toObject,0), - a.CalculatorOptions.extensionsBinary[508968150] = new t.ExtensionFieldBinaryInfo(proto.mediapipe.tasks.vision.face_landmarker.proto.FaceLandmarkerGraphOptions.ext,t.BinaryReader.prototype.readMessage,t.BinaryWriter.prototype.writeMessage,proto.mediapipe.tasks.vision.face_landmarker.proto.FaceLandmarkerGraphOptions.serializeBinaryToWriter,proto.mediapipe.tasks.vision.face_landmarker.proto.FaceLandmarkerGraphOptions.deserializeBinaryFromReader,!1), - a.CalculatorOptions.extensions[508968150] = proto.mediapipe.tasks.vision.face_landmarker.proto.FaceLandmarkerGraphOptions.ext, - proto.mediapipe.tasks.vision.face_landmarker.proto.FaceLandmarkerGraphOptions.prototype.getBaseOptions = function() { - return t.Message.getWrapperField(this, n.BaseOptions, 1) - } - , - proto.mediapipe.tasks.vision.face_landmarker.proto.FaceLandmarkerGraphOptions.prototype.setBaseOptions = function(e) { - return t.Message.setWrapperField(this, 1, e) - } - , - proto.mediapipe.tasks.vision.face_landmarker.proto.FaceLandmarkerGraphOptions.prototype.clearBaseOptions = function() { - return this.setBaseOptions(void 0) - } - , - proto.mediapipe.tasks.vision.face_landmarker.proto.FaceLandmarkerGraphOptions.prototype.hasBaseOptions = function() { - return null != t.Message.getField(this, 1) - } - , - proto.mediapipe.tasks.vision.face_landmarker.proto.FaceLandmarkerGraphOptions.prototype.getFaceDetectorGraphOptions = function() { - return t.Message.getWrapperField(this, s.FaceDetectorGraphOptions, 2) - } - , - proto.mediapipe.tasks.vision.face_landmarker.proto.FaceLandmarkerGraphOptions.prototype.setFaceDetectorGraphOptions = function(e) { - return t.Message.setWrapperField(this, 2, e) - } - , - proto.mediapipe.tasks.vision.face_landmarker.proto.FaceLandmarkerGraphOptions.prototype.clearFaceDetectorGraphOptions = function() { - return this.setFaceDetectorGraphOptions(void 0) - } - , - proto.mediapipe.tasks.vision.face_landmarker.proto.FaceLandmarkerGraphOptions.prototype.hasFaceDetectorGraphOptions = function() { - return null != t.Message.getField(this, 2) - } - , - proto.mediapipe.tasks.vision.face_landmarker.proto.FaceLandmarkerGraphOptions.prototype.getFaceLandmarksDetectorGraphOptions = function() { - return t.Message.getWrapperField(this, d.FaceLandmarksDetectorGraphOptions, 3) - } - , - proto.mediapipe.tasks.vision.face_landmarker.proto.FaceLandmarkerGraphOptions.prototype.setFaceLandmarksDetectorGraphOptions = function(e) { - return t.Message.setWrapperField(this, 3, e) - } - , - proto.mediapipe.tasks.vision.face_landmarker.proto.FaceLandmarkerGraphOptions.prototype.clearFaceLandmarksDetectorGraphOptions = function() { - return this.setFaceLandmarksDetectorGraphOptions(void 0) - } - , - proto.mediapipe.tasks.vision.face_landmarker.proto.FaceLandmarkerGraphOptions.prototype.hasFaceLandmarksDetectorGraphOptions = function() { - return null != t.Message.getField(this, 3) - } - , - proto.mediapipe.tasks.vision.face_landmarker.proto.FaceLandmarkerGraphOptions.prototype.getMinTrackingConfidence = function() { - return t.Message.getFloatingPointFieldWithDefault(this, 4, .5) - } - , - proto.mediapipe.tasks.vision.face_landmarker.proto.FaceLandmarkerGraphOptions.prototype.setMinTrackingConfidence = function(e) { - return t.Message.setField(this, 4, e) - } - , - proto.mediapipe.tasks.vision.face_landmarker.proto.FaceLandmarkerGraphOptions.prototype.clearMinTrackingConfidence = function() { - return t.Message.setField(this, 4, void 0) - } - , - proto.mediapipe.tasks.vision.face_landmarker.proto.FaceLandmarkerGraphOptions.prototype.hasMinTrackingConfidence = function() { - return null != t.Message.getField(this, 4) - } - , - proto.mediapipe.tasks.vision.face_landmarker.proto.FaceLandmarkerGraphOptions.prototype.getFaceGeometryGraphOptions = function() { - return t.Message.getWrapperField(this, p.FaceGeometryGraphOptions, 5) - } - , - proto.mediapipe.tasks.vision.face_landmarker.proto.FaceLandmarkerGraphOptions.prototype.setFaceGeometryGraphOptions = function(e) { - return t.Message.setWrapperField(this, 5, e) - } - , - proto.mediapipe.tasks.vision.face_landmarker.proto.FaceLandmarkerGraphOptions.prototype.clearFaceGeometryGraphOptions = function() { - return this.setFaceGeometryGraphOptions(void 0) - } - , - proto.mediapipe.tasks.vision.face_landmarker.proto.FaceLandmarkerGraphOptions.prototype.hasFaceGeometryGraphOptions = function() { - return null != t.Message.getField(this, 5) - } - , - proto.mediapipe.tasks.vision.face_landmarker.proto.FaceLandmarkerGraphOptions.ext = new t.ExtensionFieldInfo(508968150,{ - ext: 0 - },proto.mediapipe.tasks.vision.face_landmarker.proto.FaceLandmarkerGraphOptions,proto.mediapipe.tasks.vision.face_landmarker.proto.FaceLandmarkerGraphOptions.toObject,0), - a.CalculatorOptions.extensionsBinary[508968150] = new t.ExtensionFieldBinaryInfo(proto.mediapipe.tasks.vision.face_landmarker.proto.FaceLandmarkerGraphOptions.ext,t.BinaryReader.prototype.readMessage,t.BinaryWriter.prototype.writeMessage,proto.mediapipe.tasks.vision.face_landmarker.proto.FaceLandmarkerGraphOptions.serializeBinaryToWriter,proto.mediapipe.tasks.vision.face_landmarker.proto.FaceLandmarkerGraphOptions.deserializeBinaryFromReader,!1), - a.CalculatorOptions.extensions[508968150] = proto.mediapipe.tasks.vision.face_landmarker.proto.FaceLandmarkerGraphOptions.ext, - r.object.extend(e, proto.mediapipe.tasks.vision.face_landmarker.proto) -}(face_landmarker_graph_options_pb); -var classifier_result = {}; -Object.defineProperty(classifier_result, "__esModule", { - value: !0 -}), -classifier_result.convertFromClassificationResultProto = classifier_result.convertFromClassifications = void 0; -const DEFAULT_INDEX$1 = -1 - , DEFAULT_SCORE = 0; -function convertFromClassifications(e, t=DEFAULT_INDEX$1, r="") { - return { - categories: e.map((e=>{ - var t, r, o, i; - return { - index: null !== (t = e.getIndex()) && void 0 !== t ? t : DEFAULT_INDEX$1, - score: null !== (r = e.getScore()) && void 0 !== r ? r : DEFAULT_SCORE, - categoryName: null !== (o = e.getLabel()) && void 0 !== o ? o : "", - displayName: null !== (i = e.getDisplayName()) && void 0 !== i ? i : "" - } - } - )), - headIndex: t, - headName: r - } -} -function convertFromClassificationsProto(e) { - var t, r; - return convertFromClassifications(null !== (r = null === (t = e.getClassificationList()) || void 0 === t ? void 0 : t.getClassificationList()) && void 0 !== r ? r : [], e.getHeadIndex(), e.getHeadName()) -} -function convertFromClassificationResultProto(e) { - const t = { - classifications: e.getClassificationsList().map((e=>convertFromClassificationsProto(e))) - }; - return e.hasTimestampMs() && (t.timestampMs = e.getTimestampMs()), - t -} -classifier_result.convertFromClassifications = convertFromClassifications, -classifier_result.convertFromClassificationResultProto = convertFromClassificationResultProto; -var landmark_result = {}; -function convertToLandmarks(e) { - var t, r, o; - const i = []; - for (const a of e.getLandmarkList()) - i.push({ - x: null !== (t = a.getX()) && void 0 !== t ? t : 0, - y: null !== (r = a.getY()) && void 0 !== r ? r : 0, - z: null !== (o = a.getZ()) && void 0 !== o ? o : 0 - }); - return i -} -function convertToWorldLandmarks(e) { - var t, r, o; - const i = []; - for (const a of e.getLandmarkList()) - i.push({ - x: null !== (t = a.getX()) && void 0 !== t ? t : 0, - y: null !== (r = a.getY()) && void 0 !== r ? r : 0, - z: null !== (o = a.getZ()) && void 0 !== o ? o : 0 - }); - return i -} -Object.defineProperty(landmark_result, "__esModule", { - value: !0 -}), -landmark_result.convertToWorldLandmarks = landmark_result.convertToLandmarks = void 0, -landmark_result.convertToLandmarks = convertToLandmarks, -landmark_result.convertToWorldLandmarks = convertToWorldLandmarks; -var face_landmarks_connections = {}, exports; -exports = face_landmarks_connections, -Object.defineProperty(exports, "__esModule", { - value: !0 -}), -exports.FACE_LANDMARKS_TESSELATION = exports.FACE_LANDMARKS_CONTOURS = exports.FACE_LANDMARKS_FACE_OVAL = exports.FACE_LANDMARKS_RIGHT_IRIS = exports.FACE_LANDMARKS_RIGHT_EYEBROW = exports.FACE_LANDMARKS_RIGHT_EYE = exports.FACE_LANDMARKS_LEFT_IRIS = exports.FACE_LANDMARKS_LEFT_EYEBROW = exports.FACE_LANDMARKS_LEFT_EYE = exports.FACE_LANDMARKS_LIPS = void 0, -exports.FACE_LANDMARKS_LIPS = [{ - start: 61, - end: 146 -}, { - start: 146, - end: 91 -}, { - start: 91, - end: 181 -}, { - start: 181, - end: 84 -}, { - start: 84, - end: 17 -}, { - start: 17, - end: 314 -}, { - start: 314, - end: 405 -}, { - start: 405, - end: 321 -}, { - start: 321, - end: 375 -}, { - start: 375, - end: 291 -}, { - start: 61, - end: 185 -}, { - start: 185, - end: 40 -}, { - start: 40, - end: 39 -}, { - start: 39, - end: 37 -}, { - start: 37, - end: 0 -}, { - start: 0, - end: 267 -}, { - start: 267, - end: 269 -}, { - start: 269, - end: 270 -}, { - start: 270, - end: 409 -}, { - start: 409, - end: 291 -}, { - start: 78, - end: 95 -}, { - start: 95, - end: 88 -}, { - start: 88, - end: 178 -}, { - start: 178, - end: 87 -}, { - start: 87, - end: 14 -}, { - start: 14, - end: 317 -}, { - start: 317, - end: 402 -}, { - start: 402, - end: 318 -}, { - start: 318, - end: 324 -}, { - start: 324, - end: 308 -}, { - start: 78, - end: 191 -}, { - start: 191, - end: 80 -}, { - start: 80, - end: 81 -}, { - start: 81, - end: 82 -}, { - start: 82, - end: 13 -}, { - start: 13, - end: 312 -}, { - start: 312, - end: 311 -}, { - start: 311, - end: 310 -}, { - start: 310, - end: 415 -}, { - start: 415, - end: 308 -}], -exports.FACE_LANDMARKS_LEFT_EYE = [{ - start: 263, - end: 249 -}, { - start: 249, - end: 390 -}, { - start: 390, - end: 373 -}, { - start: 373, - end: 374 -}, { - start: 374, - end: 380 -}, { - start: 380, - end: 381 -}, { - start: 381, - end: 382 -}, { - start: 382, - end: 362 -}, { - start: 263, - end: 466 -}, { - start: 466, - end: 388 -}, { - start: 388, - end: 387 -}, { - start: 387, - end: 386 -}, { - start: 386, - end: 385 -}, { - start: 385, - end: 384 -}, { - start: 384, - end: 398 -}, { - start: 398, - end: 362 -}], -exports.FACE_LANDMARKS_LEFT_EYEBROW = [{ - start: 276, - end: 283 -}, { - start: 283, - end: 282 -}, { - start: 282, - end: 295 -}, { - start: 295, - end: 285 -}, { - start: 300, - end: 293 -}, { - start: 293, - end: 334 -}, { - start: 334, - end: 296 -}, { - start: 296, - end: 336 -}], -exports.FACE_LANDMARKS_LEFT_IRIS = [{ - start: 474, - end: 475 -}, { - start: 475, - end: 476 -}, { - start: 476, - end: 477 -}, { - start: 477, - end: 474 -}], -exports.FACE_LANDMARKS_RIGHT_EYE = [{ - start: 33, - end: 7 -}, { - start: 7, - end: 163 -}, { - start: 163, - end: 144 -}, { - start: 144, - end: 145 -}, { - start: 145, - end: 153 -}, { - start: 153, - end: 154 -}, { - start: 154, - end: 155 -}, { - start: 155, - end: 133 -}, { - start: 33, - end: 246 -}, { - start: 246, - end: 161 -}, { - start: 161, - end: 160 -}, { - start: 160, - end: 159 -}, { - start: 159, - end: 158 -}, { - start: 158, - end: 157 -}, { - start: 157, - end: 173 -}, { - start: 173, - end: 133 -}], -exports.FACE_LANDMARKS_RIGHT_EYEBROW = [{ - start: 46, - end: 53 -}, { - start: 53, - end: 52 -}, { - start: 52, - end: 65 -}, { - start: 65, - end: 55 -}, { - start: 70, - end: 63 -}, { - start: 63, - end: 105 -}, { - start: 105, - end: 66 -}, { - start: 66, - end: 107 -}], -exports.FACE_LANDMARKS_RIGHT_IRIS = [{ - start: 469, - end: 470 -}, { - start: 470, - end: 471 -}, { - start: 471, - end: 472 -}, { - start: 472, - end: 469 -}], -exports.FACE_LANDMARKS_FACE_OVAL = [{ - start: 10, - end: 338 -}, { - start: 338, - end: 297 -}, { - start: 297, - end: 332 -}, { - start: 332, - end: 284 -}, { - start: 284, - end: 251 -}, { - start: 251, - end: 389 -}, { - start: 389, - end: 356 -}, { - start: 356, - end: 454 -}, { - start: 454, - end: 323 -}, { - start: 323, - end: 361 -}, { - start: 361, - end: 288 -}, { - start: 288, - end: 397 -}, { - start: 397, - end: 365 -}, { - start: 365, - end: 379 -}, { - start: 379, - end: 378 -}, { - start: 378, - end: 400 -}, { - start: 400, - end: 377 -}, { - start: 377, - end: 152 -}, { - start: 152, - end: 148 -}, { - start: 148, - end: 176 -}, { - start: 176, - end: 149 -}, { - start: 149, - end: 150 -}, { - start: 150, - end: 136 -}, { - start: 136, - end: 172 -}, { - start: 172, - end: 58 -}, { - start: 58, - end: 132 -}, { - start: 132, - end: 93 -}, { - start: 93, - end: 234 -}, { - start: 234, - end: 127 -}, { - start: 127, - end: 162 -}, { - start: 162, - end: 21 -}, { - start: 21, - end: 54 -}, { - start: 54, - end: 103 -}, { - start: 103, - end: 67 -}, { - start: 67, - end: 109 -}, { - start: 109, - end: 10 -}], -exports.FACE_LANDMARKS_CONTOURS = [...exports.FACE_LANDMARKS_LIPS, ...exports.FACE_LANDMARKS_LEFT_EYE, ...exports.FACE_LANDMARKS_LEFT_EYEBROW, ...exports.FACE_LANDMARKS_RIGHT_EYE, ...exports.FACE_LANDMARKS_RIGHT_EYEBROW, ...exports.FACE_LANDMARKS_FACE_OVAL], -exports.FACE_LANDMARKS_TESSELATION = [{ - start: 127, - end: 34 -}, { - start: 34, - end: 139 -}, { - start: 139, - end: 127 -}, { - start: 11, - end: 0 -}, { - start: 0, - end: 37 -}, { - start: 37, - end: 11 -}, { - start: 232, - end: 231 -}, { - start: 231, - end: 120 -}, { - start: 120, - end: 232 -}, { - start: 72, - end: 37 -}, { - start: 37, - end: 39 -}, { - start: 39, - end: 72 -}, { - start: 128, - end: 121 -}, { - start: 121, - end: 47 -}, { - start: 47, - end: 128 -}, { - start: 232, - end: 121 -}, { - start: 121, - end: 128 -}, { - start: 128, - end: 232 -}, { - start: 104, - end: 69 -}, { - start: 69, - end: 67 -}, { - start: 67, - end: 104 -}, { - start: 175, - end: 171 -}, { - start: 171, - end: 148 -}, { - start: 148, - end: 175 -}, { - start: 118, - end: 50 -}, { - start: 50, - end: 101 -}, { - start: 101, - end: 118 -}, { - start: 73, - end: 39 -}, { - start: 39, - end: 40 -}, { - start: 40, - end: 73 -}, { - start: 9, - end: 151 -}, { - start: 151, - end: 108 -}, { - start: 108, - end: 9 -}, { - start: 48, - end: 115 -}, { - start: 115, - end: 131 -}, { - start: 131, - end: 48 -}, { - start: 194, - end: 204 -}, { - start: 204, - end: 211 -}, { - start: 211, - end: 194 -}, { - start: 74, - end: 40 -}, { - start: 40, - end: 185 -}, { - start: 185, - end: 74 -}, { - start: 80, - end: 42 -}, { - start: 42, - end: 183 -}, { - start: 183, - end: 80 -}, { - start: 40, - end: 92 -}, { - start: 92, - end: 186 -}, { - start: 186, - end: 40 -}, { - start: 230, - end: 229 -}, { - start: 229, - end: 118 -}, { - start: 118, - end: 230 -}, { - start: 202, - end: 212 -}, { - start: 212, - end: 214 -}, { - start: 214, - end: 202 -}, { - start: 83, - end: 18 -}, { - start: 18, - end: 17 -}, { - start: 17, - end: 83 -}, { - start: 76, - end: 61 -}, { - start: 61, - end: 146 -}, { - start: 146, - end: 76 -}, { - start: 160, - end: 29 -}, { - start: 29, - end: 30 -}, { - start: 30, - end: 160 -}, { - start: 56, - end: 157 -}, { - start: 157, - end: 173 -}, { - start: 173, - end: 56 -}, { - start: 106, - end: 204 -}, { - start: 204, - end: 194 -}, { - start: 194, - end: 106 -}, { - start: 135, - end: 214 -}, { - start: 214, - end: 192 -}, { - start: 192, - end: 135 -}, { - start: 203, - end: 165 -}, { - start: 165, - end: 98 -}, { - start: 98, - end: 203 -}, { - start: 21, - end: 71 -}, { - start: 71, - end: 68 -}, { - start: 68, - end: 21 -}, { - start: 51, - end: 45 -}, { - start: 45, - end: 4 -}, { - start: 4, - end: 51 -}, { - start: 144, - end: 24 -}, { - start: 24, - end: 23 -}, { - start: 23, - end: 144 -}, { - start: 77, - end: 146 -}, { - start: 146, - end: 91 -}, { - start: 91, - end: 77 -}, { - start: 205, - end: 50 -}, { - start: 50, - end: 187 -}, { - start: 187, - end: 205 -}, { - start: 201, - end: 200 -}, { - start: 200, - end: 18 -}, { - start: 18, - end: 201 -}, { - start: 91, - end: 106 -}, { - start: 106, - end: 182 -}, { - start: 182, - end: 91 -}, { - start: 90, - end: 91 -}, { - start: 91, - end: 181 -}, { - start: 181, - end: 90 -}, { - start: 85, - end: 84 -}, { - start: 84, - end: 17 -}, { - start: 17, - end: 85 -}, { - start: 206, - end: 203 -}, { - start: 203, - end: 36 -}, { - start: 36, - end: 206 -}, { - start: 148, - end: 171 -}, { - start: 171, - end: 140 -}, { - start: 140, - end: 148 -}, { - start: 92, - end: 40 -}, { - start: 40, - end: 39 -}, { - start: 39, - end: 92 -}, { - start: 193, - end: 189 -}, { - start: 189, - end: 244 -}, { - start: 244, - end: 193 -}, { - start: 159, - end: 158 -}, { - start: 158, - end: 28 -}, { - start: 28, - end: 159 -}, { - start: 247, - end: 246 -}, { - start: 246, - end: 161 -}, { - start: 161, - end: 247 -}, { - start: 236, - end: 3 -}, { - start: 3, - end: 196 -}, { - start: 196, - end: 236 -}, { - start: 54, - end: 68 -}, { - start: 68, - end: 104 -}, { - start: 104, - end: 54 -}, { - start: 193, - end: 168 -}, { - start: 168, - end: 8 -}, { - start: 8, - end: 193 -}, { - start: 117, - end: 228 -}, { - start: 228, - end: 31 -}, { - start: 31, - end: 117 -}, { - start: 189, - end: 193 -}, { - start: 193, - end: 55 -}, { - start: 55, - end: 189 -}, { - start: 98, - end: 97 -}, { - start: 97, - end: 99 -}, { - start: 99, - end: 98 -}, { - start: 126, - end: 47 -}, { - start: 47, - end: 100 -}, { - start: 100, - end: 126 -}, { - start: 166, - end: 79 -}, { - start: 79, - end: 218 -}, { - start: 218, - end: 166 -}, { - start: 155, - end: 154 -}, { - start: 154, - end: 26 -}, { - start: 26, - end: 155 -}, { - start: 209, - end: 49 -}, { - start: 49, - end: 131 -}, { - start: 131, - end: 209 -}, { - start: 135, - end: 136 -}, { - start: 136, - end: 150 -}, { - start: 150, - end: 135 -}, { - start: 47, - end: 126 -}, { - start: 126, - end: 217 -}, { - start: 217, - end: 47 -}, { - start: 223, - end: 52 -}, { - start: 52, - end: 53 -}, { - start: 53, - end: 223 -}, { - start: 45, - end: 51 -}, { - start: 51, - end: 134 -}, { - start: 134, - end: 45 -}, { - start: 211, - end: 170 -}, { - start: 170, - end: 140 -}, { - start: 140, - end: 211 -}, { - start: 67, - end: 69 -}, { - start: 69, - end: 108 -}, { - start: 108, - end: 67 -}, { - start: 43, - end: 106 -}, { - start: 106, - end: 91 -}, { - start: 91, - end: 43 -}, { - start: 230, - end: 119 -}, { - start: 119, - end: 120 -}, { - start: 120, - end: 230 -}, { - start: 226, - end: 130 -}, { - start: 130, - end: 247 -}, { - start: 247, - end: 226 -}, { - start: 63, - end: 53 -}, { - start: 53, - end: 52 -}, { - start: 52, - end: 63 -}, { - start: 238, - end: 20 -}, { - start: 20, - end: 242 -}, { - start: 242, - end: 238 -}, { - start: 46, - end: 70 -}, { - start: 70, - end: 156 -}, { - start: 156, - end: 46 -}, { - start: 78, - end: 62 -}, { - start: 62, - end: 96 -}, { - start: 96, - end: 78 -}, { - start: 46, - end: 53 -}, { - start: 53, - end: 63 -}, { - start: 63, - end: 46 -}, { - start: 143, - end: 34 -}, { - start: 34, - end: 227 -}, { - start: 227, - end: 143 -}, { - start: 123, - end: 117 -}, { - start: 117, - end: 111 -}, { - start: 111, - end: 123 -}, { - start: 44, - end: 125 -}, { - start: 125, - end: 19 -}, { - start: 19, - end: 44 -}, { - start: 236, - end: 134 -}, { - start: 134, - end: 51 -}, { - start: 51, - end: 236 -}, { - start: 216, - end: 206 -}, { - start: 206, - end: 205 -}, { - start: 205, - end: 216 -}, { - start: 154, - end: 153 -}, { - start: 153, - end: 22 -}, { - start: 22, - end: 154 -}, { - start: 39, - end: 37 -}, { - start: 37, - end: 167 -}, { - start: 167, - end: 39 -}, { - start: 200, - end: 201 -}, { - start: 201, - end: 208 -}, { - start: 208, - end: 200 -}, { - start: 36, - end: 142 -}, { - start: 142, - end: 100 -}, { - start: 100, - end: 36 -}, { - start: 57, - end: 212 -}, { - start: 212, - end: 202 -}, { - start: 202, - end: 57 -}, { - start: 20, - end: 60 -}, { - start: 60, - end: 99 -}, { - start: 99, - end: 20 -}, { - start: 28, - end: 158 -}, { - start: 158, - end: 157 -}, { - start: 157, - end: 28 -}, { - start: 35, - end: 226 -}, { - start: 226, - end: 113 -}, { - start: 113, - end: 35 -}, { - start: 160, - end: 159 -}, { - start: 159, - end: 27 -}, { - start: 27, - end: 160 -}, { - start: 204, - end: 202 -}, { - start: 202, - end: 210 -}, { - start: 210, - end: 204 -}, { - start: 113, - end: 225 -}, { - start: 225, - end: 46 -}, { - start: 46, - end: 113 -}, { - start: 43, - end: 202 -}, { - start: 202, - end: 204 -}, { - start: 204, - end: 43 -}, { - start: 62, - end: 76 -}, { - start: 76, - end: 77 -}, { - start: 77, - end: 62 -}, { - start: 137, - end: 123 -}, { - start: 123, - end: 116 -}, { - start: 116, - end: 137 -}, { - start: 41, - end: 38 -}, { - start: 38, - end: 72 -}, { - start: 72, - end: 41 -}, { - start: 203, - end: 129 -}, { - start: 129, - end: 142 -}, { - start: 142, - end: 203 -}, { - start: 64, - end: 98 -}, { - start: 98, - end: 240 -}, { - start: 240, - end: 64 -}, { - start: 49, - end: 102 -}, { - start: 102, - end: 64 -}, { - start: 64, - end: 49 -}, { - start: 41, - end: 73 -}, { - start: 73, - end: 74 -}, { - start: 74, - end: 41 -}, { - start: 212, - end: 216 -}, { - start: 216, - end: 207 -}, { - start: 207, - end: 212 -}, { - start: 42, - end: 74 -}, { - start: 74, - end: 184 -}, { - start: 184, - end: 42 -}, { - start: 169, - end: 170 -}, { - start: 170, - end: 211 -}, { - start: 211, - end: 169 -}, { - start: 170, - end: 149 -}, { - start: 149, - end: 176 -}, { - start: 176, - end: 170 -}, { - start: 105, - end: 66 -}, { - start: 66, - end: 69 -}, { - start: 69, - end: 105 -}, { - start: 122, - end: 6 -}, { - start: 6, - end: 168 -}, { - start: 168, - end: 122 -}, { - start: 123, - end: 147 -}, { - start: 147, - end: 187 -}, { - start: 187, - end: 123 -}, { - start: 96, - end: 77 -}, { - start: 77, - end: 90 -}, { - start: 90, - end: 96 -}, { - start: 65, - end: 55 -}, { - start: 55, - end: 107 -}, { - start: 107, - end: 65 -}, { - start: 89, - end: 90 -}, { - start: 90, - end: 180 -}, { - start: 180, - end: 89 -}, { - start: 101, - end: 100 -}, { - start: 100, - end: 120 -}, { - start: 120, - end: 101 -}, { - start: 63, - end: 105 -}, { - start: 105, - end: 104 -}, { - start: 104, - end: 63 -}, { - start: 93, - end: 137 -}, { - start: 137, - end: 227 -}, { - start: 227, - end: 93 -}, { - start: 15, - end: 86 -}, { - start: 86, - end: 85 -}, { - start: 85, - end: 15 -}, { - start: 129, - end: 102 -}, { - start: 102, - end: 49 -}, { - start: 49, - end: 129 -}, { - start: 14, - end: 87 -}, { - start: 87, - end: 86 -}, { - start: 86, - end: 14 -}, { - start: 55, - end: 8 -}, { - start: 8, - end: 9 -}, { - start: 9, - end: 55 -}, { - start: 100, - end: 47 -}, { - start: 47, - end: 121 -}, { - start: 121, - end: 100 -}, { - start: 145, - end: 23 -}, { - start: 23, - end: 22 -}, { - start: 22, - end: 145 -}, { - start: 88, - end: 89 -}, { - start: 89, - end: 179 -}, { - start: 179, - end: 88 -}, { - start: 6, - end: 122 -}, { - start: 122, - end: 196 -}, { - start: 196, - end: 6 -}, { - start: 88, - end: 95 -}, { - start: 95, - end: 96 -}, { - start: 96, - end: 88 -}, { - start: 138, - end: 172 -}, { - start: 172, - end: 136 -}, { - start: 136, - end: 138 -}, { - start: 215, - end: 58 -}, { - start: 58, - end: 172 -}, { - start: 172, - end: 215 -}, { - start: 115, - end: 48 -}, { - start: 48, - end: 219 -}, { - start: 219, - end: 115 -}, { - start: 42, - end: 80 -}, { - start: 80, - end: 81 -}, { - start: 81, - end: 42 -}, { - start: 195, - end: 3 -}, { - start: 3, - end: 51 -}, { - start: 51, - end: 195 -}, { - start: 43, - end: 146 -}, { - start: 146, - end: 61 -}, { - start: 61, - end: 43 -}, { - start: 171, - end: 175 -}, { - start: 175, - end: 199 -}, { - start: 199, - end: 171 -}, { - start: 81, - end: 82 -}, { - start: 82, - end: 38 -}, { - start: 38, - end: 81 -}, { - start: 53, - end: 46 -}, { - start: 46, - end: 225 -}, { - start: 225, - end: 53 -}, { - start: 144, - end: 163 -}, { - start: 163, - end: 110 -}, { - start: 110, - end: 144 -}, { - start: 52, - end: 65 -}, { - start: 65, - end: 66 -}, { - start: 66, - end: 52 -}, { - start: 229, - end: 228 -}, { - start: 228, - end: 117 -}, { - start: 117, - end: 229 -}, { - start: 34, - end: 127 -}, { - start: 127, - end: 234 -}, { - start: 234, - end: 34 -}, { - start: 107, - end: 108 -}, { - start: 108, - end: 69 -}, { - start: 69, - end: 107 -}, { - start: 109, - end: 108 -}, { - start: 108, - end: 151 -}, { - start: 151, - end: 109 -}, { - start: 48, - end: 64 -}, { - start: 64, - end: 235 -}, { - start: 235, - end: 48 -}, { - start: 62, - end: 78 -}, { - start: 78, - end: 191 -}, { - start: 191, - end: 62 -}, { - start: 129, - end: 209 -}, { - start: 209, - end: 126 -}, { - start: 126, - end: 129 -}, { - start: 111, - end: 35 -}, { - start: 35, - end: 143 -}, { - start: 143, - end: 111 -}, { - start: 117, - end: 123 -}, { - start: 123, - end: 50 -}, { - start: 50, - end: 117 -}, { - start: 222, - end: 65 -}, { - start: 65, - end: 52 -}, { - start: 52, - end: 222 -}, { - start: 19, - end: 125 -}, { - start: 125, - end: 141 -}, { - start: 141, - end: 19 -}, { - start: 221, - end: 55 -}, { - start: 55, - end: 65 -}, { - start: 65, - end: 221 -}, { - start: 3, - end: 195 -}, { - start: 195, - end: 197 -}, { - start: 197, - end: 3 -}, { - start: 25, - end: 7 -}, { - start: 7, - end: 33 -}, { - start: 33, - end: 25 -}, { - start: 220, - end: 237 -}, { - start: 237, - end: 44 -}, { - start: 44, - end: 220 -}, { - start: 70, - end: 71 -}, { - start: 71, - end: 139 -}, { - start: 139, - end: 70 -}, { - start: 122, - end: 193 -}, { - start: 193, - end: 245 -}, { - start: 245, - end: 122 -}, { - start: 247, - end: 130 -}, { - start: 130, - end: 33 -}, { - start: 33, - end: 247 -}, { - start: 71, - end: 21 -}, { - start: 21, - end: 162 -}, { - start: 162, - end: 71 -}, { - start: 170, - end: 169 -}, { - start: 169, - end: 150 -}, { - start: 150, - end: 170 -}, { - start: 188, - end: 174 -}, { - start: 174, - end: 196 -}, { - start: 196, - end: 188 -}, { - start: 216, - end: 186 -}, { - start: 186, - end: 92 -}, { - start: 92, - end: 216 -}, { - start: 2, - end: 97 -}, { - start: 97, - end: 167 -}, { - start: 167, - end: 2 -}, { - start: 141, - end: 125 -}, { - start: 125, - end: 241 -}, { - start: 241, - end: 141 -}, { - start: 164, - end: 167 -}, { - start: 167, - end: 37 -}, { - start: 37, - end: 164 -}, { - start: 72, - end: 38 -}, { - start: 38, - end: 12 -}, { - start: 12, - end: 72 -}, { - start: 38, - end: 82 -}, { - start: 82, - end: 13 -}, { - start: 13, - end: 38 -}, { - start: 63, - end: 68 -}, { - start: 68, - end: 71 -}, { - start: 71, - end: 63 -}, { - start: 226, - end: 35 -}, { - start: 35, - end: 111 -}, { - start: 111, - end: 226 -}, { - start: 101, - end: 50 -}, { - start: 50, - end: 205 -}, { - start: 205, - end: 101 -}, { - start: 206, - end: 92 -}, { - start: 92, - end: 165 -}, { - start: 165, - end: 206 -}, { - start: 209, - end: 198 -}, { - start: 198, - end: 217 -}, { - start: 217, - end: 209 -}, { - start: 165, - end: 167 -}, { - start: 167, - end: 97 -}, { - start: 97, - end: 165 -}, { - start: 220, - end: 115 -}, { - start: 115, - end: 218 -}, { - start: 218, - end: 220 -}, { - start: 133, - end: 112 -}, { - start: 112, - end: 243 -}, { - start: 243, - end: 133 -}, { - start: 239, - end: 238 -}, { - start: 238, - end: 241 -}, { - start: 241, - end: 239 -}, { - start: 214, - end: 135 -}, { - start: 135, - end: 169 -}, { - start: 169, - end: 214 -}, { - start: 190, - end: 173 -}, { - start: 173, - end: 133 -}, { - start: 133, - end: 190 -}, { - start: 171, - end: 208 -}, { - start: 208, - end: 32 -}, { - start: 32, - end: 171 -}, { - start: 125, - end: 44 -}, { - start: 44, - end: 237 -}, { - start: 237, - end: 125 -}, { - start: 86, - end: 87 -}, { - start: 87, - end: 178 -}, { - start: 178, - end: 86 -}, { - start: 85, - end: 86 -}, { - start: 86, - end: 179 -}, { - start: 179, - end: 85 -}, { - start: 84, - end: 85 -}, { - start: 85, - end: 180 -}, { - start: 180, - end: 84 -}, { - start: 83, - end: 84 -}, { - start: 84, - end: 181 -}, { - start: 181, - end: 83 -}, { - start: 201, - end: 83 -}, { - start: 83, - end: 182 -}, { - start: 182, - end: 201 -}, { - start: 137, - end: 93 -}, { - start: 93, - end: 132 -}, { - start: 132, - end: 137 -}, { - start: 76, - end: 62 -}, { - start: 62, - end: 183 -}, { - start: 183, - end: 76 -}, { - start: 61, - end: 76 -}, { - start: 76, - end: 184 -}, { - start: 184, - end: 61 -}, { - start: 57, - end: 61 -}, { - start: 61, - end: 185 -}, { - start: 185, - end: 57 -}, { - start: 212, - end: 57 -}, { - start: 57, - end: 186 -}, { - start: 186, - end: 212 -}, { - start: 214, - end: 207 -}, { - start: 207, - end: 187 -}, { - start: 187, - end: 214 -}, { - start: 34, - end: 143 -}, { - start: 143, - end: 156 -}, { - start: 156, - end: 34 -}, { - start: 79, - end: 239 -}, { - start: 239, - end: 237 -}, { - start: 237, - end: 79 -}, { - start: 123, - end: 137 -}, { - start: 137, - end: 177 -}, { - start: 177, - end: 123 -}, { - start: 44, - end: 1 -}, { - start: 1, - end: 4 -}, { - start: 4, - end: 44 -}, { - start: 201, - end: 194 -}, { - start: 194, - end: 32 -}, { - start: 32, - end: 201 -}, { - start: 64, - end: 102 -}, { - start: 102, - end: 129 -}, { - start: 129, - end: 64 -}, { - start: 213, - end: 215 -}, { - start: 215, - end: 138 -}, { - start: 138, - end: 213 -}, { - start: 59, - end: 166 -}, { - start: 166, - end: 219 -}, { - start: 219, - end: 59 -}, { - start: 242, - end: 99 -}, { - start: 99, - end: 97 -}, { - start: 97, - end: 242 -}, { - start: 2, - end: 94 -}, { - start: 94, - end: 141 -}, { - start: 141, - end: 2 -}, { - start: 75, - end: 59 -}, { - start: 59, - end: 235 -}, { - start: 235, - end: 75 -}, { - start: 24, - end: 110 -}, { - start: 110, - end: 228 -}, { - start: 228, - end: 24 -}, { - start: 25, - end: 130 -}, { - start: 130, - end: 226 -}, { - start: 226, - end: 25 -}, { - start: 23, - end: 24 -}, { - start: 24, - end: 229 -}, { - start: 229, - end: 23 -}, { - start: 22, - end: 23 -}, { - start: 23, - end: 230 -}, { - start: 230, - end: 22 -}, { - start: 26, - end: 22 -}, { - start: 22, - end: 231 -}, { - start: 231, - end: 26 -}, { - start: 112, - end: 26 -}, { - start: 26, - end: 232 -}, { - start: 232, - end: 112 -}, { - start: 189, - end: 190 -}, { - start: 190, - end: 243 -}, { - start: 243, - end: 189 -}, { - start: 221, - end: 56 -}, { - start: 56, - end: 190 -}, { - start: 190, - end: 221 -}, { - start: 28, - end: 56 -}, { - start: 56, - end: 221 -}, { - start: 221, - end: 28 -}, { - start: 27, - end: 28 -}, { - start: 28, - end: 222 -}, { - start: 222, - end: 27 -}, { - start: 29, - end: 27 -}, { - start: 27, - end: 223 -}, { - start: 223, - end: 29 -}, { - start: 30, - end: 29 -}, { - start: 29, - end: 224 -}, { - start: 224, - end: 30 -}, { - start: 247, - end: 30 -}, { - start: 30, - end: 225 -}, { - start: 225, - end: 247 -}, { - start: 238, - end: 79 -}, { - start: 79, - end: 20 -}, { - start: 20, - end: 238 -}, { - start: 166, - end: 59 -}, { - start: 59, - end: 75 -}, { - start: 75, - end: 166 -}, { - start: 60, - end: 75 -}, { - start: 75, - end: 240 -}, { - start: 240, - end: 60 -}, { - start: 147, - end: 177 -}, { - start: 177, - end: 215 -}, { - start: 215, - end: 147 -}, { - start: 20, - end: 79 -}, { - start: 79, - end: 166 -}, { - start: 166, - end: 20 -}, { - start: 187, - end: 147 -}, { - start: 147, - end: 213 -}, { - start: 213, - end: 187 -}, { - start: 112, - end: 233 -}, { - start: 233, - end: 244 -}, { - start: 244, - end: 112 -}, { - start: 233, - end: 128 -}, { - start: 128, - end: 245 -}, { - start: 245, - end: 233 -}, { - start: 128, - end: 114 -}, { - start: 114, - end: 188 -}, { - start: 188, - end: 128 -}, { - start: 114, - end: 217 -}, { - start: 217, - end: 174 -}, { - start: 174, - end: 114 -}, { - start: 131, - end: 115 -}, { - start: 115, - end: 220 -}, { - start: 220, - end: 131 -}, { - start: 217, - end: 198 -}, { - start: 198, - end: 236 -}, { - start: 236, - end: 217 -}, { - start: 198, - end: 131 -}, { - start: 131, - end: 134 -}, { - start: 134, - end: 198 -}, { - start: 177, - end: 132 -}, { - start: 132, - end: 58 -}, { - start: 58, - end: 177 -}, { - start: 143, - end: 35 -}, { - start: 35, - end: 124 -}, { - start: 124, - end: 143 -}, { - start: 110, - end: 163 -}, { - start: 163, - end: 7 -}, { - start: 7, - end: 110 -}, { - start: 228, - end: 110 -}, { - start: 110, - end: 25 -}, { - start: 25, - end: 228 -}, { - start: 356, - end: 389 -}, { - start: 389, - end: 368 -}, { - start: 368, - end: 356 -}, { - start: 11, - end: 302 -}, { - start: 302, - end: 267 -}, { - start: 267, - end: 11 -}, { - start: 452, - end: 350 -}, { - start: 350, - end: 349 -}, { - start: 349, - end: 452 -}, { - start: 302, - end: 303 -}, { - start: 303, - end: 269 -}, { - start: 269, - end: 302 -}, { - start: 357, - end: 343 -}, { - start: 343, - end: 277 -}, { - start: 277, - end: 357 -}, { - start: 452, - end: 453 -}, { - start: 453, - end: 357 -}, { - start: 357, - end: 452 -}, { - start: 333, - end: 332 -}, { - start: 332, - end: 297 -}, { - start: 297, - end: 333 -}, { - start: 175, - end: 152 -}, { - start: 152, - end: 377 -}, { - start: 377, - end: 175 -}, { - start: 347, - end: 348 -}, { - start: 348, - end: 330 -}, { - start: 330, - end: 347 -}, { - start: 303, - end: 304 -}, { - start: 304, - end: 270 -}, { - start: 270, - end: 303 -}, { - start: 9, - end: 336 -}, { - start: 336, - end: 337 -}, { - start: 337, - end: 9 -}, { - start: 278, - end: 279 -}, { - start: 279, - end: 360 -}, { - start: 360, - end: 278 -}, { - start: 418, - end: 262 -}, { - start: 262, - end: 431 -}, { - start: 431, - end: 418 -}, { - start: 304, - end: 408 -}, { - start: 408, - end: 409 -}, { - start: 409, - end: 304 -}, { - start: 310, - end: 415 -}, { - start: 415, - end: 407 -}, { - start: 407, - end: 310 -}, { - start: 270, - end: 409 -}, { - start: 409, - end: 410 -}, { - start: 410, - end: 270 -}, { - start: 450, - end: 348 -}, { - start: 348, - end: 347 -}, { - start: 347, - end: 450 -}, { - start: 422, - end: 430 -}, { - start: 430, - end: 434 -}, { - start: 434, - end: 422 -}, { - start: 313, - end: 314 -}, { - start: 314, - end: 17 -}, { - start: 17, - end: 313 -}, { - start: 306, - end: 307 -}, { - start: 307, - end: 375 -}, { - start: 375, - end: 306 -}, { - start: 387, - end: 388 -}, { - start: 388, - end: 260 -}, { - start: 260, - end: 387 -}, { - start: 286, - end: 414 -}, { - start: 414, - end: 398 -}, { - start: 398, - end: 286 -}, { - start: 335, - end: 406 -}, { - start: 406, - end: 418 -}, { - start: 418, - end: 335 -}, { - start: 364, - end: 367 -}, { - start: 367, - end: 416 -}, { - start: 416, - end: 364 -}, { - start: 423, - end: 358 -}, { - start: 358, - end: 327 -}, { - start: 327, - end: 423 -}, { - start: 251, - end: 284 -}, { - start: 284, - end: 298 -}, { - start: 298, - end: 251 -}, { - start: 281, - end: 5 -}, { - start: 5, - end: 4 -}, { - start: 4, - end: 281 -}, { - start: 373, - end: 374 -}, { - start: 374, - end: 253 -}, { - start: 253, - end: 373 -}, { - start: 307, - end: 320 -}, { - start: 320, - end: 321 -}, { - start: 321, - end: 307 -}, { - start: 425, - end: 427 -}, { - start: 427, - end: 411 -}, { - start: 411, - end: 425 -}, { - start: 421, - end: 313 -}, { - start: 313, - end: 18 -}, { - start: 18, - end: 421 -}, { - start: 321, - end: 405 -}, { - start: 405, - end: 406 -}, { - start: 406, - end: 321 -}, { - start: 320, - end: 404 -}, { - start: 404, - end: 405 -}, { - start: 405, - end: 320 -}, { - start: 315, - end: 16 -}, { - start: 16, - end: 17 -}, { - start: 17, - end: 315 -}, { - start: 426, - end: 425 -}, { - start: 425, - end: 266 -}, { - start: 266, - end: 426 -}, { - start: 377, - end: 400 -}, { - start: 400, - end: 369 -}, { - start: 369, - end: 377 -}, { - start: 322, - end: 391 -}, { - start: 391, - end: 269 -}, { - start: 269, - end: 322 -}, { - start: 417, - end: 465 -}, { - start: 465, - end: 464 -}, { - start: 464, - end: 417 -}, { - start: 386, - end: 257 -}, { - start: 257, - end: 258 -}, { - start: 258, - end: 386 -}, { - start: 466, - end: 260 -}, { - start: 260, - end: 388 -}, { - start: 388, - end: 466 -}, { - start: 456, - end: 399 -}, { - start: 399, - end: 419 -}, { - start: 419, - end: 456 -}, { - start: 284, - end: 332 -}, { - start: 332, - end: 333 -}, { - start: 333, - end: 284 -}, { - start: 417, - end: 285 -}, { - start: 285, - end: 8 -}, { - start: 8, - end: 417 -}, { - start: 346, - end: 340 -}, { - start: 340, - end: 261 -}, { - start: 261, - end: 346 -}, { - start: 413, - end: 441 -}, { - start: 441, - end: 285 -}, { - start: 285, - end: 413 -}, { - start: 327, - end: 460 -}, { - start: 460, - end: 328 -}, { - start: 328, - end: 327 -}, { - start: 355, - end: 371 -}, { - start: 371, - end: 329 -}, { - start: 329, - end: 355 -}, { - start: 392, - end: 439 -}, { - start: 439, - end: 438 -}, { - start: 438, - end: 392 -}, { - start: 382, - end: 341 -}, { - start: 341, - end: 256 -}, { - start: 256, - end: 382 -}, { - start: 429, - end: 420 -}, { - start: 420, - end: 360 -}, { - start: 360, - end: 429 -}, { - start: 364, - end: 394 -}, { - start: 394, - end: 379 -}, { - start: 379, - end: 364 -}, { - start: 277, - end: 343 -}, { - start: 343, - end: 437 -}, { - start: 437, - end: 277 -}, { - start: 443, - end: 444 -}, { - start: 444, - end: 283 -}, { - start: 283, - end: 443 -}, { - start: 275, - end: 440 -}, { - start: 440, - end: 363 -}, { - start: 363, - end: 275 -}, { - start: 431, - end: 262 -}, { - start: 262, - end: 369 -}, { - start: 369, - end: 431 -}, { - start: 297, - end: 338 -}, { - start: 338, - end: 337 -}, { - start: 337, - end: 297 -}, { - start: 273, - end: 375 -}, { - start: 375, - end: 321 -}, { - start: 321, - end: 273 -}, { - start: 450, - end: 451 -}, { - start: 451, - end: 349 -}, { - start: 349, - end: 450 -}, { - start: 446, - end: 342 -}, { - start: 342, - end: 467 -}, { - start: 467, - end: 446 -}, { - start: 293, - end: 334 -}, { - start: 334, - end: 282 -}, { - start: 282, - end: 293 -}, { - start: 458, - end: 461 -}, { - start: 461, - end: 462 -}, { - start: 462, - end: 458 -}, { - start: 276, - end: 353 -}, { - start: 353, - end: 383 -}, { - start: 383, - end: 276 -}, { - start: 308, - end: 324 -}, { - start: 324, - end: 325 -}, { - start: 325, - end: 308 -}, { - start: 276, - end: 300 -}, { - start: 300, - end: 293 -}, { - start: 293, - end: 276 -}, { - start: 372, - end: 345 -}, { - start: 345, - end: 447 -}, { - start: 447, - end: 372 -}, { - start: 352, - end: 345 -}, { - start: 345, - end: 340 -}, { - start: 340, - end: 352 -}, { - start: 274, - end: 1 -}, { - start: 1, - end: 19 -}, { - start: 19, - end: 274 -}, { - start: 456, - end: 248 -}, { - start: 248, - end: 281 -}, { - start: 281, - end: 456 -}, { - start: 436, - end: 427 -}, { - start: 427, - end: 425 -}, { - start: 425, - end: 436 -}, { - start: 381, - end: 256 -}, { - start: 256, - end: 252 -}, { - start: 252, - end: 381 -}, { - start: 269, - end: 391 -}, { - start: 391, - end: 393 -}, { - start: 393, - end: 269 -}, { - start: 200, - end: 199 -}, { - start: 199, - end: 428 -}, { - start: 428, - end: 200 -}, { - start: 266, - end: 330 -}, { - start: 330, - end: 329 -}, { - start: 329, - end: 266 -}, { - start: 287, - end: 273 -}, { - start: 273, - end: 422 -}, { - start: 422, - end: 287 -}, { - start: 250, - end: 462 -}, { - start: 462, - end: 328 -}, { - start: 328, - end: 250 -}, { - start: 258, - end: 286 -}, { - start: 286, - end: 384 -}, { - start: 384, - end: 258 -}, { - start: 265, - end: 353 -}, { - start: 353, - end: 342 -}, { - start: 342, - end: 265 -}, { - start: 387, - end: 259 -}, { - start: 259, - end: 257 -}, { - start: 257, - end: 387 -}, { - start: 424, - end: 431 -}, { - start: 431, - end: 430 -}, { - start: 430, - end: 424 -}, { - start: 342, - end: 353 -}, { - start: 353, - end: 276 -}, { - start: 276, - end: 342 -}, { - start: 273, - end: 335 -}, { - start: 335, - end: 424 -}, { - start: 424, - end: 273 -}, { - start: 292, - end: 325 -}, { - start: 325, - end: 307 -}, { - start: 307, - end: 292 -}, { - start: 366, - end: 447 -}, { - start: 447, - end: 345 -}, { - start: 345, - end: 366 -}, { - start: 271, - end: 303 -}, { - start: 303, - end: 302 -}, { - start: 302, - end: 271 -}, { - start: 423, - end: 266 -}, { - start: 266, - end: 371 -}, { - start: 371, - end: 423 -}, { - start: 294, - end: 455 -}, { - start: 455, - end: 460 -}, { - start: 460, - end: 294 -}, { - start: 279, - end: 278 -}, { - start: 278, - end: 294 -}, { - start: 294, - end: 279 -}, { - start: 271, - end: 272 -}, { - start: 272, - end: 304 -}, { - start: 304, - end: 271 -}, { - start: 432, - end: 434 -}, { - start: 434, - end: 427 -}, { - start: 427, - end: 432 -}, { - start: 272, - end: 407 -}, { - start: 407, - end: 408 -}, { - start: 408, - end: 272 -}, { - start: 394, - end: 430 -}, { - start: 430, - end: 431 -}, { - start: 431, - end: 394 -}, { - start: 395, - end: 369 -}, { - start: 369, - end: 400 -}, { - start: 400, - end: 395 -}, { - start: 334, - end: 333 -}, { - start: 333, - end: 299 -}, { - start: 299, - end: 334 -}, { - start: 351, - end: 417 -}, { - start: 417, - end: 168 -}, { - start: 168, - end: 351 -}, { - start: 352, - end: 280 -}, { - start: 280, - end: 411 -}, { - start: 411, - end: 352 -}, { - start: 325, - end: 319 -}, { - start: 319, - end: 320 -}, { - start: 320, - end: 325 -}, { - start: 295, - end: 296 -}, { - start: 296, - end: 336 -}, { - start: 336, - end: 295 -}, { - start: 319, - end: 403 -}, { - start: 403, - end: 404 -}, { - start: 404, - end: 319 -}, { - start: 330, - end: 348 -}, { - start: 348, - end: 349 -}, { - start: 349, - end: 330 -}, { - start: 293, - end: 298 -}, { - start: 298, - end: 333 -}, { - start: 333, - end: 293 -}, { - start: 323, - end: 454 -}, { - start: 454, - end: 447 -}, { - start: 447, - end: 323 -}, { - start: 15, - end: 16 -}, { - start: 16, - end: 315 -}, { - start: 315, - end: 15 -}, { - start: 358, - end: 429 -}, { - start: 429, - end: 279 -}, { - start: 279, - end: 358 -}, { - start: 14, - end: 15 -}, { - start: 15, - end: 316 -}, { - start: 316, - end: 14 -}, { - start: 285, - end: 336 -}, { - start: 336, - end: 9 -}, { - start: 9, - end: 285 -}, { - start: 329, - end: 349 -}, { - start: 349, - end: 350 -}, { - start: 350, - end: 329 -}, { - start: 374, - end: 380 -}, { - start: 380, - end: 252 -}, { - start: 252, - end: 374 -}, { - start: 318, - end: 402 -}, { - start: 402, - end: 403 -}, { - start: 403, - end: 318 -}, { - start: 6, - end: 197 -}, { - start: 197, - end: 419 -}, { - start: 419, - end: 6 -}, { - start: 318, - end: 319 -}, { - start: 319, - end: 325 -}, { - start: 325, - end: 318 -}, { - start: 367, - end: 364 -}, { - start: 364, - end: 365 -}, { - start: 365, - end: 367 -}, { - start: 435, - end: 367 -}, { - start: 367, - end: 397 -}, { - start: 397, - end: 435 -}, { - start: 344, - end: 438 -}, { - start: 438, - end: 439 -}, { - start: 439, - end: 344 -}, { - start: 272, - end: 271 -}, { - start: 271, - end: 311 -}, { - start: 311, - end: 272 -}, { - start: 195, - end: 5 -}, { - start: 5, - end: 281 -}, { - start: 281, - end: 195 -}, { - start: 273, - end: 287 -}, { - start: 287, - end: 291 -}, { - start: 291, - end: 273 -}, { - start: 396, - end: 428 -}, { - start: 428, - end: 199 -}, { - start: 199, - end: 396 -}, { - start: 311, - end: 271 -}, { - start: 271, - end: 268 -}, { - start: 268, - end: 311 -}, { - start: 283, - end: 444 -}, { - start: 444, - end: 445 -}, { - start: 445, - end: 283 -}, { - start: 373, - end: 254 -}, { - start: 254, - end: 339 -}, { - start: 339, - end: 373 -}, { - start: 282, - end: 334 -}, { - start: 334, - end: 296 -}, { - start: 296, - end: 282 -}, { - start: 449, - end: 347 -}, { - start: 347, - end: 346 -}, { - start: 346, - end: 449 -}, { - start: 264, - end: 447 -}, { - start: 447, - end: 454 -}, { - start: 454, - end: 264 -}, { - start: 336, - end: 296 -}, { - start: 296, - end: 299 -}, { - start: 299, - end: 336 -}, { - start: 338, - end: 10 -}, { - start: 10, - end: 151 -}, { - start: 151, - end: 338 -}, { - start: 278, - end: 439 -}, { - start: 439, - end: 455 -}, { - start: 455, - end: 278 -}, { - start: 292, - end: 407 -}, { - start: 407, - end: 415 -}, { - start: 415, - end: 292 -}, { - start: 358, - end: 371 -}, { - start: 371, - end: 355 -}, { - start: 355, - end: 358 -}, { - start: 340, - end: 345 -}, { - start: 345, - end: 372 -}, { - start: 372, - end: 340 -}, { - start: 346, - end: 347 -}, { - start: 347, - end: 280 -}, { - start: 280, - end: 346 -}, { - start: 442, - end: 443 -}, { - start: 443, - end: 282 -}, { - start: 282, - end: 442 -}, { - start: 19, - end: 94 -}, { - start: 94, - end: 370 -}, { - start: 370, - end: 19 -}, { - start: 441, - end: 442 -}, { - start: 442, - end: 295 -}, { - start: 295, - end: 441 -}, { - start: 248, - end: 419 -}, { - start: 419, - end: 197 -}, { - start: 197, - end: 248 -}, { - start: 263, - end: 255 -}, { - start: 255, - end: 359 -}, { - start: 359, - end: 263 -}, { - start: 440, - end: 275 -}, { - start: 275, - end: 274 -}, { - start: 274, - end: 440 -}, { - start: 300, - end: 383 -}, { - start: 383, - end: 368 -}, { - start: 368, - end: 300 -}, { - start: 351, - end: 412 -}, { - start: 412, - end: 465 -}, { - start: 465, - end: 351 -}, { - start: 263, - end: 467 -}, { - start: 467, - end: 466 -}, { - start: 466, - end: 263 -}, { - start: 301, - end: 368 -}, { - start: 368, - end: 389 -}, { - start: 389, - end: 301 -}, { - start: 395, - end: 378 -}, { - start: 378, - end: 379 -}, { - start: 379, - end: 395 -}, { - start: 412, - end: 351 -}, { - start: 351, - end: 419 -}, { - start: 419, - end: 412 -}, { - start: 436, - end: 426 -}, { - start: 426, - end: 322 -}, { - start: 322, - end: 436 -}, { - start: 2, - end: 164 -}, { - start: 164, - end: 393 -}, { - start: 393, - end: 2 -}, { - start: 370, - end: 462 -}, { - start: 462, - end: 461 -}, { - start: 461, - end: 370 -}, { - start: 164, - end: 0 -}, { - start: 0, - end: 267 -}, { - start: 267, - end: 164 -}, { - start: 302, - end: 11 -}, { - start: 11, - end: 12 -}, { - start: 12, - end: 302 -}, { - start: 268, - end: 12 -}, { - start: 12, - end: 13 -}, { - start: 13, - end: 268 -}, { - start: 293, - end: 300 -}, { - start: 300, - end: 301 -}, { - start: 301, - end: 293 -}, { - start: 446, - end: 261 -}, { - start: 261, - end: 340 -}, { - start: 340, - end: 446 -}, { - start: 330, - end: 266 -}, { - start: 266, - end: 425 -}, { - start: 425, - end: 330 -}, { - start: 426, - end: 423 -}, { - start: 423, - end: 391 -}, { - start: 391, - end: 426 -}, { - start: 429, - end: 355 -}, { - start: 355, - end: 437 -}, { - start: 437, - end: 429 -}, { - start: 391, - end: 327 -}, { - start: 327, - end: 326 -}, { - start: 326, - end: 391 -}, { - start: 440, - end: 457 -}, { - start: 457, - end: 438 -}, { - start: 438, - end: 440 -}, { - start: 341, - end: 382 -}, { - start: 382, - end: 362 -}, { - start: 362, - end: 341 -}, { - start: 459, - end: 457 -}, { - start: 457, - end: 461 -}, { - start: 461, - end: 459 -}, { - start: 434, - end: 430 -}, { - start: 430, - end: 394 -}, { - start: 394, - end: 434 -}, { - start: 414, - end: 463 -}, { - start: 463, - end: 362 -}, { - start: 362, - end: 414 -}, { - start: 396, - end: 369 -}, { - start: 369, - end: 262 -}, { - start: 262, - end: 396 -}, { - start: 354, - end: 461 -}, { - start: 461, - end: 457 -}, { - start: 457, - end: 354 -}, { - start: 316, - end: 403 -}, { - start: 403, - end: 402 -}, { - start: 402, - end: 316 -}, { - start: 315, - end: 404 -}, { - start: 404, - end: 403 -}, { - start: 403, - end: 315 -}, { - start: 314, - end: 405 -}, { - start: 405, - end: 404 -}, { - start: 404, - end: 314 -}, { - start: 313, - end: 406 -}, { - start: 406, - end: 405 -}, { - start: 405, - end: 313 -}, { - start: 421, - end: 418 -}, { - start: 418, - end: 406 -}, { - start: 406, - end: 421 -}, { - start: 366, - end: 401 -}, { - start: 401, - end: 361 -}, { - start: 361, - end: 366 -}, { - start: 306, - end: 408 -}, { - start: 408, - end: 407 -}, { - start: 407, - end: 306 -}, { - start: 291, - end: 409 -}, { - start: 409, - end: 408 -}, { - start: 408, - end: 291 -}, { - start: 287, - end: 410 -}, { - start: 410, - end: 409 -}, { - start: 409, - end: 287 -}, { - start: 432, - end: 436 -}, { - start: 436, - end: 410 -}, { - start: 410, - end: 432 -}, { - start: 434, - end: 416 -}, { - start: 416, - end: 411 -}, { - start: 411, - end: 434 -}, { - start: 264, - end: 368 -}, { - start: 368, - end: 383 -}, { - start: 383, - end: 264 -}, { - start: 309, - end: 438 -}, { - start: 438, - end: 457 -}, { - start: 457, - end: 309 -}, { - start: 352, - end: 376 -}, { - start: 376, - end: 401 -}, { - start: 401, - end: 352 -}, { - start: 274, - end: 275 -}, { - start: 275, - end: 4 -}, { - start: 4, - end: 274 -}, { - start: 421, - end: 428 -}, { - start: 428, - end: 262 -}, { - start: 262, - end: 421 -}, { - start: 294, - end: 327 -}, { - start: 327, - end: 358 -}, { - start: 358, - end: 294 -}, { - start: 433, - end: 416 -}, { - start: 416, - end: 367 -}, { - start: 367, - end: 433 -}, { - start: 289, - end: 455 -}, { - start: 455, - end: 439 -}, { - start: 439, - end: 289 -}, { - start: 462, - end: 370 -}, { - start: 370, - end: 326 -}, { - start: 326, - end: 462 -}, { - start: 2, - end: 326 -}, { - start: 326, - end: 370 -}, { - start: 370, - end: 2 -}, { - start: 305, - end: 460 -}, { - start: 460, - end: 455 -}, { - start: 455, - end: 305 -}, { - start: 254, - end: 449 -}, { - start: 449, - end: 448 -}, { - start: 448, - end: 254 -}, { - start: 255, - end: 261 -}, { - start: 261, - end: 446 -}, { - start: 446, - end: 255 -}, { - start: 253, - end: 450 -}, { - start: 450, - end: 449 -}, { - start: 449, - end: 253 -}, { - start: 252, - end: 451 -}, { - start: 451, - end: 450 -}, { - start: 450, - end: 252 -}, { - start: 256, - end: 452 -}, { - start: 452, - end: 451 -}, { - start: 451, - end: 256 -}, { - start: 341, - end: 453 -}, { - start: 453, - end: 452 -}, { - start: 452, - end: 341 -}, { - start: 413, - end: 464 -}, { - start: 464, - end: 463 -}, { - start: 463, - end: 413 -}, { - start: 441, - end: 413 -}, { - start: 413, - end: 414 -}, { - start: 414, - end: 441 -}, { - start: 258, - end: 442 -}, { - start: 442, - end: 441 -}, { - start: 441, - end: 258 -}, { - start: 257, - end: 443 -}, { - start: 443, - end: 442 -}, { - start: 442, - end: 257 -}, { - start: 259, - end: 444 -}, { - start: 444, - end: 443 -}, { - start: 443, - end: 259 -}, { - start: 260, - end: 445 -}, { - start: 445, - end: 444 -}, { - start: 444, - end: 260 -}, { - start: 467, - end: 342 -}, { - start: 342, - end: 445 -}, { - start: 445, - end: 467 -}, { - start: 459, - end: 458 -}, { - start: 458, - end: 250 -}, { - start: 250, - end: 459 -}, { - start: 289, - end: 392 -}, { - start: 392, - end: 290 -}, { - start: 290, - end: 289 -}, { - start: 290, - end: 328 -}, { - start: 328, - end: 460 -}, { - start: 460, - end: 290 -}, { - start: 376, - end: 433 -}, { - start: 433, - end: 435 -}, { - start: 435, - end: 376 -}, { - start: 250, - end: 290 -}, { - start: 290, - end: 392 -}, { - start: 392, - end: 250 -}, { - start: 411, - end: 416 -}, { - start: 416, - end: 433 -}, { - start: 433, - end: 411 -}, { - start: 341, - end: 463 -}, { - start: 463, - end: 464 -}, { - start: 464, - end: 341 -}, { - start: 453, - end: 464 -}, { - start: 464, - end: 465 -}, { - start: 465, - end: 453 -}, { - start: 357, - end: 465 -}, { - start: 465, - end: 412 -}, { - start: 412, - end: 357 -}, { - start: 343, - end: 412 -}, { - start: 412, - end: 399 -}, { - start: 399, - end: 343 -}, { - start: 360, - end: 363 -}, { - start: 363, - end: 440 -}, { - start: 440, - end: 360 -}, { - start: 437, - end: 399 -}, { - start: 399, - end: 456 -}, { - start: 456, - end: 437 -}, { - start: 420, - end: 456 -}, { - start: 456, - end: 363 -}, { - start: 363, - end: 420 -}, { - start: 401, - end: 435 -}, { - start: 435, - end: 288 -}, { - start: 288, - end: 401 -}, { - start: 372, - end: 383 -}, { - start: 383, - end: 353 -}, { - start: 353, - end: 372 -}, { - start: 339, - end: 255 -}, { - start: 255, - end: 249 -}, { - start: 249, - end: 339 -}, { - start: 448, - end: 261 -}, { - start: 261, - end: 255 -}, { - start: 255, - end: 448 -}, { - start: 133, - end: 243 -}, { - start: 243, - end: 190 -}, { - start: 190, - end: 133 -}, { - start: 133, - end: 155 -}, { - start: 155, - end: 112 -}, { - start: 112, - end: 133 -}, { - start: 33, - end: 246 -}, { - start: 246, - end: 247 -}, { - start: 247, - end: 33 -}, { - start: 33, - end: 130 -}, { - start: 130, - end: 25 -}, { - start: 25, - end: 33 -}, { - start: 398, - end: 384 -}, { - start: 384, - end: 286 -}, { - start: 286, - end: 398 -}, { - start: 362, - end: 398 -}, { - start: 398, - end: 414 -}, { - start: 414, - end: 362 -}, { - start: 362, - end: 463 -}, { - start: 463, - end: 341 -}, { - start: 341, - end: 362 -}, { - start: 263, - end: 359 -}, { - start: 359, - end: 467 -}, { - start: 467, - end: 263 -}, { - start: 263, - end: 249 -}, { - start: 249, - end: 255 -}, { - start: 255, - end: 263 -}, { - start: 466, - end: 467 -}, { - start: 467, - end: 260 -}, { - start: 260, - end: 466 -}, { - start: 75, - end: 60 -}, { - start: 60, - end: 166 -}, { - start: 166, - end: 75 -}, { - start: 238, - end: 239 -}, { - start: 239, - end: 79 -}, { - start: 79, - end: 238 -}, { - start: 162, - end: 127 -}, { - start: 127, - end: 139 -}, { - start: 139, - end: 162 -}, { - start: 72, - end: 11 -}, { - start: 11, - end: 37 -}, { - start: 37, - end: 72 -}, { - start: 121, - end: 232 -}, { - start: 232, - end: 120 -}, { - start: 120, - end: 121 -}, { - start: 73, - end: 72 -}, { - start: 72, - end: 39 -}, { - start: 39, - end: 73 -}, { - start: 114, - end: 128 -}, { - start: 128, - end: 47 -}, { - start: 47, - end: 114 -}, { - start: 233, - end: 232 -}, { - start: 232, - end: 128 -}, { - start: 128, - end: 233 -}, { - start: 103, - end: 104 -}, { - start: 104, - end: 67 -}, { - start: 67, - end: 103 -}, { - start: 152, - end: 175 -}, { - start: 175, - end: 148 -}, { - start: 148, - end: 152 -}, { - start: 119, - end: 118 -}, { - start: 118, - end: 101 -}, { - start: 101, - end: 119 -}, { - start: 74, - end: 73 -}, { - start: 73, - end: 40 -}, { - start: 40, - end: 74 -}, { - start: 107, - end: 9 -}, { - start: 9, - end: 108 -}, { - start: 108, - end: 107 -}, { - start: 49, - end: 48 -}, { - start: 48, - end: 131 -}, { - start: 131, - end: 49 -}, { - start: 32, - end: 194 -}, { - start: 194, - end: 211 -}, { - start: 211, - end: 32 -}, { - start: 184, - end: 74 -}, { - start: 74, - end: 185 -}, { - start: 185, - end: 184 -}, { - start: 191, - end: 80 -}, { - start: 80, - end: 183 -}, { - start: 183, - end: 191 -}, { - start: 185, - end: 40 -}, { - start: 40, - end: 186 -}, { - start: 186, - end: 185 -}, { - start: 119, - end: 230 -}, { - start: 230, - end: 118 -}, { - start: 118, - end: 119 -}, { - start: 210, - end: 202 -}, { - start: 202, - end: 214 -}, { - start: 214, - end: 210 -}, { - start: 84, - end: 83 -}, { - start: 83, - end: 17 -}, { - start: 17, - end: 84 -}, { - start: 77, - end: 76 -}, { - start: 76, - end: 146 -}, { - start: 146, - end: 77 -}, { - start: 161, - end: 160 -}, { - start: 160, - end: 30 -}, { - start: 30, - end: 161 -}, { - start: 190, - end: 56 -}, { - start: 56, - end: 173 -}, { - start: 173, - end: 190 -}, { - start: 182, - end: 106 -}, { - start: 106, - end: 194 -}, { - start: 194, - end: 182 -}, { - start: 138, - end: 135 -}, { - start: 135, - end: 192 -}, { - start: 192, - end: 138 -}, { - start: 129, - end: 203 -}, { - start: 203, - end: 98 -}, { - start: 98, - end: 129 -}, { - start: 54, - end: 21 -}, { - start: 21, - end: 68 -}, { - start: 68, - end: 54 -}, { - start: 5, - end: 51 -}, { - start: 51, - end: 4 -}, { - start: 4, - end: 5 -}, { - start: 145, - end: 144 -}, { - start: 144, - end: 23 -}, { - start: 23, - end: 145 -}, { - start: 90, - end: 77 -}, { - start: 77, - end: 91 -}, { - start: 91, - end: 90 -}, { - start: 207, - end: 205 -}, { - start: 205, - end: 187 -}, { - start: 187, - end: 207 -}, { - start: 83, - end: 201 -}, { - start: 201, - end: 18 -}, { - start: 18, - end: 83 -}, { - start: 181, - end: 91 -}, { - start: 91, - end: 182 -}, { - start: 182, - end: 181 -}, { - start: 180, - end: 90 -}, { - start: 90, - end: 181 -}, { - start: 181, - end: 180 -}, { - start: 16, - end: 85 -}, { - start: 85, - end: 17 -}, { - start: 17, - end: 16 -}, { - start: 205, - end: 206 -}, { - start: 206, - end: 36 -}, { - start: 36, - end: 205 -}, { - start: 176, - end: 148 -}, { - start: 148, - end: 140 -}, { - start: 140, - end: 176 -}, { - start: 165, - end: 92 -}, { - start: 92, - end: 39 -}, { - start: 39, - end: 165 -}, { - start: 245, - end: 193 -}, { - start: 193, - end: 244 -}, { - start: 244, - end: 245 -}, { - start: 27, - end: 159 -}, { - start: 159, - end: 28 -}, { - start: 28, - end: 27 -}, { - start: 30, - end: 247 -}, { - start: 247, - end: 161 -}, { - start: 161, - end: 30 -}, { - start: 174, - end: 236 -}, { - start: 236, - end: 196 -}, { - start: 196, - end: 174 -}, { - start: 103, - end: 54 -}, { - start: 54, - end: 104 -}, { - start: 104, - end: 103 -}, { - start: 55, - end: 193 -}, { - start: 193, - end: 8 -}, { - start: 8, - end: 55 -}, { - start: 111, - end: 117 -}, { - start: 117, - end: 31 -}, { - start: 31, - end: 111 -}, { - start: 221, - end: 189 -}, { - start: 189, - end: 55 -}, { - start: 55, - end: 221 -}, { - start: 240, - end: 98 -}, { - start: 98, - end: 99 -}, { - start: 99, - end: 240 -}, { - start: 142, - end: 126 -}, { - start: 126, - end: 100 -}, { - start: 100, - end: 142 -}, { - start: 219, - end: 166 -}, { - start: 166, - end: 218 -}, { - start: 218, - end: 219 -}, { - start: 112, - end: 155 -}, { - start: 155, - end: 26 -}, { - start: 26, - end: 112 -}, { - start: 198, - end: 209 -}, { - start: 209, - end: 131 -}, { - start: 131, - end: 198 -}, { - start: 169, - end: 135 -}, { - start: 135, - end: 150 -}, { - start: 150, - end: 169 -}, { - start: 114, - end: 47 -}, { - start: 47, - end: 217 -}, { - start: 217, - end: 114 -}, { - start: 224, - end: 223 -}, { - start: 223, - end: 53 -}, { - start: 53, - end: 224 -}, { - start: 220, - end: 45 -}, { - start: 45, - end: 134 -}, { - start: 134, - end: 220 -}, { - start: 32, - end: 211 -}, { - start: 211, - end: 140 -}, { - start: 140, - end: 32 -}, { - start: 109, - end: 67 -}, { - start: 67, - end: 108 -}, { - start: 108, - end: 109 -}, { - start: 146, - end: 43 -}, { - start: 43, - end: 91 -}, { - start: 91, - end: 146 -}, { - start: 231, - end: 230 -}, { - start: 230, - end: 120 -}, { - start: 120, - end: 231 -}, { - start: 113, - end: 226 -}, { - start: 226, - end: 247 -}, { - start: 247, - end: 113 -}, { - start: 105, - end: 63 -}, { - start: 63, - end: 52 -}, { - start: 52, - end: 105 -}, { - start: 241, - end: 238 -}, { - start: 238, - end: 242 -}, { - start: 242, - end: 241 -}, { - start: 124, - end: 46 -}, { - start: 46, - end: 156 -}, { - start: 156, - end: 124 -}, { - start: 95, - end: 78 -}, { - start: 78, - end: 96 -}, { - start: 96, - end: 95 -}, { - start: 70, - end: 46 -}, { - start: 46, - end: 63 -}, { - start: 63, - end: 70 -}, { - start: 116, - end: 143 -}, { - start: 143, - end: 227 -}, { - start: 227, - end: 116 -}, { - start: 116, - end: 123 -}, { - start: 123, - end: 111 -}, { - start: 111, - end: 116 -}, { - start: 1, - end: 44 -}, { - start: 44, - end: 19 -}, { - start: 19, - end: 1 -}, { - start: 3, - end: 236 -}, { - start: 236, - end: 51 -}, { - start: 51, - end: 3 -}, { - start: 207, - end: 216 -}, { - start: 216, - end: 205 -}, { - start: 205, - end: 207 -}, { - start: 26, - end: 154 -}, { - start: 154, - end: 22 -}, { - start: 22, - end: 26 -}, { - start: 165, - end: 39 -}, { - start: 39, - end: 167 -}, { - start: 167, - end: 165 -}, { - start: 199, - end: 200 -}, { - start: 200, - end: 208 -}, { - start: 208, - end: 199 -}, { - start: 101, - end: 36 -}, { - start: 36, - end: 100 -}, { - start: 100, - end: 101 -}, { - start: 43, - end: 57 -}, { - start: 57, - end: 202 -}, { - start: 202, - end: 43 -}, { - start: 242, - end: 20 -}, { - start: 20, - end: 99 -}, { - start: 99, - end: 242 -}, { - start: 56, - end: 28 -}, { - start: 28, - end: 157 -}, { - start: 157, - end: 56 -}, { - start: 124, - end: 35 -}, { - start: 35, - end: 113 -}, { - start: 113, - end: 124 -}, { - start: 29, - end: 160 -}, { - start: 160, - end: 27 -}, { - start: 27, - end: 29 -}, { - start: 211, - end: 204 -}, { - start: 204, - end: 210 -}, { - start: 210, - end: 211 -}, { - start: 124, - end: 113 -}, { - start: 113, - end: 46 -}, { - start: 46, - end: 124 -}, { - start: 106, - end: 43 -}, { - start: 43, - end: 204 -}, { - start: 204, - end: 106 -}, { - start: 96, - end: 62 -}, { - start: 62, - end: 77 -}, { - start: 77, - end: 96 -}, { - start: 227, - end: 137 -}, { - start: 137, - end: 116 -}, { - start: 116, - end: 227 -}, { - start: 73, - end: 41 -}, { - start: 41, - end: 72 -}, { - start: 72, - end: 73 -}, { - start: 36, - end: 203 -}, { - start: 203, - end: 142 -}, { - start: 142, - end: 36 -}, { - start: 235, - end: 64 -}, { - start: 64, - end: 240 -}, { - start: 240, - end: 235 -}, { - start: 48, - end: 49 -}, { - start: 49, - end: 64 -}, { - start: 64, - end: 48 -}, { - start: 42, - end: 41 -}, { - start: 41, - end: 74 -}, { - start: 74, - end: 42 -}, { - start: 214, - end: 212 -}, { - start: 212, - end: 207 -}, { - start: 207, - end: 214 -}, { - start: 183, - end: 42 -}, { - start: 42, - end: 184 -}, { - start: 184, - end: 183 -}, { - start: 210, - end: 169 -}, { - start: 169, - end: 211 -}, { - start: 211, - end: 210 -}, { - start: 140, - end: 170 -}, { - start: 170, - end: 176 -}, { - start: 176, - end: 140 -}, { - start: 104, - end: 105 -}, { - start: 105, - end: 69 -}, { - start: 69, - end: 104 -}, { - start: 193, - end: 122 -}, { - start: 122, - end: 168 -}, { - start: 168, - end: 193 -}, { - start: 50, - end: 123 -}, { - start: 123, - end: 187 -}, { - start: 187, - end: 50 -}, { - start: 89, - end: 96 -}, { - start: 96, - end: 90 -}, { - start: 90, - end: 89 -}, { - start: 66, - end: 65 -}, { - start: 65, - end: 107 -}, { - start: 107, - end: 66 -}, { - start: 179, - end: 89 -}, { - start: 89, - end: 180 -}, { - start: 180, - end: 179 -}, { - start: 119, - end: 101 -}, { - start: 101, - end: 120 -}, { - start: 120, - end: 119 -}, { - start: 68, - end: 63 -}, { - start: 63, - end: 104 -}, { - start: 104, - end: 68 -}, { - start: 234, - end: 93 -}, { - start: 93, - end: 227 -}, { - start: 227, - end: 234 -}, { - start: 16, - end: 15 -}, { - start: 15, - end: 85 -}, { - start: 85, - end: 16 -}, { - start: 209, - end: 129 -}, { - start: 129, - end: 49 -}, { - start: 49, - end: 209 -}, { - start: 15, - end: 14 -}, { - start: 14, - end: 86 -}, { - start: 86, - end: 15 -}, { - start: 107, - end: 55 -}, { - start: 55, - end: 9 -}, { - start: 9, - end: 107 -}, { - start: 120, - end: 100 -}, { - start: 100, - end: 121 -}, { - start: 121, - end: 120 -}, { - start: 153, - end: 145 -}, { - start: 145, - end: 22 -}, { - start: 22, - end: 153 -}, { - start: 178, - end: 88 -}, { - start: 88, - end: 179 -}, { - start: 179, - end: 178 -}, { - start: 197, - end: 6 -}, { - start: 6, - end: 196 -}, { - start: 196, - end: 197 -}, { - start: 89, - end: 88 -}, { - start: 88, - end: 96 -}, { - start: 96, - end: 89 -}, { - start: 135, - end: 138 -}, { - start: 138, - end: 136 -}, { - start: 136, - end: 135 -}, { - start: 138, - end: 215 -}, { - start: 215, - end: 172 -}, { - start: 172, - end: 138 -}, { - start: 218, - end: 115 -}, { - start: 115, - end: 219 -}, { - start: 219, - end: 218 -}, { - start: 41, - end: 42 -}, { - start: 42, - end: 81 -}, { - start: 81, - end: 41 -}, { - start: 5, - end: 195 -}, { - start: 195, - end: 51 -}, { - start: 51, - end: 5 -}, { - start: 57, - end: 43 -}, { - start: 43, - end: 61 -}, { - start: 61, - end: 57 -}, { - start: 208, - end: 171 -}, { - start: 171, - end: 199 -}, { - start: 199, - end: 208 -}, { - start: 41, - end: 81 -}, { - start: 81, - end: 38 -}, { - start: 38, - end: 41 -}, { - start: 224, - end: 53 -}, { - start: 53, - end: 225 -}, { - start: 225, - end: 224 -}, { - start: 24, - end: 144 -}, { - start: 144, - end: 110 -}, { - start: 110, - end: 24 -}, { - start: 105, - end: 52 -}, { - start: 52, - end: 66 -}, { - start: 66, - end: 105 -}, { - start: 118, - end: 229 -}, { - start: 229, - end: 117 -}, { - start: 117, - end: 118 -}, { - start: 227, - end: 34 -}, { - start: 34, - end: 234 -}, { - start: 234, - end: 227 -}, { - start: 66, - end: 107 -}, { - start: 107, - end: 69 -}, { - start: 69, - end: 66 -}, { - start: 10, - end: 109 -}, { - start: 109, - end: 151 -}, { - start: 151, - end: 10 -}, { - start: 219, - end: 48 -}, { - start: 48, - end: 235 -}, { - start: 235, - end: 219 -}, { - start: 183, - end: 62 -}, { - start: 62, - end: 191 -}, { - start: 191, - end: 183 -}, { - start: 142, - end: 129 -}, { - start: 129, - end: 126 -}, { - start: 126, - end: 142 -}, { - start: 116, - end: 111 -}, { - start: 111, - end: 143 -}, { - start: 143, - end: 116 -}, { - start: 118, - end: 117 -}, { - start: 117, - end: 50 -}, { - start: 50, - end: 118 -}, { - start: 223, - end: 222 -}, { - start: 222, - end: 52 -}, { - start: 52, - end: 223 -}, { - start: 94, - end: 19 -}, { - start: 19, - end: 141 -}, { - start: 141, - end: 94 -}, { - start: 222, - end: 221 -}, { - start: 221, - end: 65 -}, { - start: 65, - end: 222 -}, { - start: 196, - end: 3 -}, { - start: 3, - end: 197 -}, { - start: 197, - end: 196 -}, { - start: 45, - end: 220 -}, { - start: 220, - end: 44 -}, { - start: 44, - end: 45 -}, { - start: 156, - end: 70 -}, { - start: 70, - end: 139 -}, { - start: 139, - end: 156 -}, { - start: 188, - end: 122 -}, { - start: 122, - end: 245 -}, { - start: 245, - end: 188 -}, { - start: 139, - end: 71 -}, { - start: 71, - end: 162 -}, { - start: 162, - end: 139 -}, { - start: 149, - end: 170 -}, { - start: 170, - end: 150 -}, { - start: 150, - end: 149 -}, { - start: 122, - end: 188 -}, { - start: 188, - end: 196 -}, { - start: 196, - end: 122 -}, { - start: 206, - end: 216 -}, { - start: 216, - end: 92 -}, { - start: 92, - end: 206 -}, { - start: 164, - end: 2 -}, { - start: 2, - end: 167 -}, { - start: 167, - end: 164 -}, { - start: 242, - end: 141 -}, { - start: 141, - end: 241 -}, { - start: 241, - end: 242 -}, { - start: 0, - end: 164 -}, { - start: 164, - end: 37 -}, { - start: 37, - end: 0 -}, { - start: 11, - end: 72 -}, { - start: 72, - end: 12 -}, { - start: 12, - end: 11 -}, { - start: 12, - end: 38 -}, { - start: 38, - end: 13 -}, { - start: 13, - end: 12 -}, { - start: 70, - end: 63 -}, { - start: 63, - end: 71 -}, { - start: 71, - end: 70 -}, { - start: 31, - end: 226 -}, { - start: 226, - end: 111 -}, { - start: 111, - end: 31 -}, { - start: 36, - end: 101 -}, { - start: 101, - end: 205 -}, { - start: 205, - end: 36 -}, { - start: 203, - end: 206 -}, { - start: 206, - end: 165 -}, { - start: 165, - end: 203 -}, { - start: 126, - end: 209 -}, { - start: 209, - end: 217 -}, { - start: 217, - end: 126 -}, { - start: 98, - end: 165 -}, { - start: 165, - end: 97 -}, { - start: 97, - end: 98 -}, { - start: 237, - end: 220 -}, { - start: 220, - end: 218 -}, { - start: 218, - end: 237 -}, { - start: 237, - end: 239 -}, { - start: 239, - end: 241 -}, { - start: 241, - end: 237 -}, { - start: 210, - end: 214 -}, { - start: 214, - end: 169 -}, { - start: 169, - end: 210 -}, { - start: 140, - end: 171 -}, { - start: 171, - end: 32 -}, { - start: 32, - end: 140 -}, { - start: 241, - end: 125 -}, { - start: 125, - end: 237 -}, { - start: 237, - end: 241 -}, { - start: 179, - end: 86 -}, { - start: 86, - end: 178 -}, { - start: 178, - end: 179 -}, { - start: 180, - end: 85 -}, { - start: 85, - end: 179 -}, { - start: 179, - end: 180 -}, { - start: 181, - end: 84 -}, { - start: 84, - end: 180 -}, { - start: 180, - end: 181 -}, { - start: 182, - end: 83 -}, { - start: 83, - end: 181 -}, { - start: 181, - end: 182 -}, { - start: 194, - end: 201 -}, { - start: 201, - end: 182 -}, { - start: 182, - end: 194 -}, { - start: 177, - end: 137 -}, { - start: 137, - end: 132 -}, { - start: 132, - end: 177 -}, { - start: 184, - end: 76 -}, { - start: 76, - end: 183 -}, { - start: 183, - end: 184 -}, { - start: 185, - end: 61 -}, { - start: 61, - end: 184 -}, { - start: 184, - end: 185 -}, { - start: 186, - end: 57 -}, { - start: 57, - end: 185 -}, { - start: 185, - end: 186 -}, { - start: 216, - end: 212 -}, { - start: 212, - end: 186 -}, { - start: 186, - end: 216 -}, { - start: 192, - end: 214 -}, { - start: 214, - end: 187 -}, { - start: 187, - end: 192 -}, { - start: 139, - end: 34 -}, { - start: 34, - end: 156 -}, { - start: 156, - end: 139 -}, { - start: 218, - end: 79 -}, { - start: 79, - end: 237 -}, { - start: 237, - end: 218 -}, { - start: 147, - end: 123 -}, { - start: 123, - end: 177 -}, { - start: 177, - end: 147 -}, { - start: 45, - end: 44 -}, { - start: 44, - end: 4 -}, { - start: 4, - end: 45 -}, { - start: 208, - end: 201 -}, { - start: 201, - end: 32 -}, { - start: 32, - end: 208 -}, { - start: 98, - end: 64 -}, { - start: 64, - end: 129 -}, { - start: 129, - end: 98 -}, { - start: 192, - end: 213 -}, { - start: 213, - end: 138 -}, { - start: 138, - end: 192 -}, { - start: 235, - end: 59 -}, { - start: 59, - end: 219 -}, { - start: 219, - end: 235 -}, { - start: 141, - end: 242 -}, { - start: 242, - end: 97 -}, { - start: 97, - end: 141 -}, { - start: 97, - end: 2 -}, { - start: 2, - end: 141 -}, { - start: 141, - end: 97 -}, { - start: 240, - end: 75 -}, { - start: 75, - end: 235 -}, { - start: 235, - end: 240 -}, { - start: 229, - end: 24 -}, { - start: 24, - end: 228 -}, { - start: 228, - end: 229 -}, { - start: 31, - end: 25 -}, { - start: 25, - end: 226 -}, { - start: 226, - end: 31 -}, { - start: 230, - end: 23 -}, { - start: 23, - end: 229 -}, { - start: 229, - end: 230 -}, { - start: 231, - end: 22 -}, { - start: 22, - end: 230 -}, { - start: 230, - end: 231 -}, { - start: 232, - end: 26 -}, { - start: 26, - end: 231 -}, { - start: 231, - end: 232 -}, { - start: 233, - end: 112 -}, { - start: 112, - end: 232 -}, { - start: 232, - end: 233 -}, { - start: 244, - end: 189 -}, { - start: 189, - end: 243 -}, { - start: 243, - end: 244 -}, { - start: 189, - end: 221 -}, { - start: 221, - end: 190 -}, { - start: 190, - end: 189 -}, { - start: 222, - end: 28 -}, { - start: 28, - end: 221 -}, { - start: 221, - end: 222 -}, { - start: 223, - end: 27 -}, { - start: 27, - end: 222 -}, { - start: 222, - end: 223 -}, { - start: 224, - end: 29 -}, { - start: 29, - end: 223 -}, { - start: 223, - end: 224 -}, { - start: 225, - end: 30 -}, { - start: 30, - end: 224 -}, { - start: 224, - end: 225 -}, { - start: 113, - end: 247 -}, { - start: 247, - end: 225 -}, { - start: 225, - end: 113 -}, { - start: 99, - end: 60 -}, { - start: 60, - end: 240 -}, { - start: 240, - end: 99 -}, { - start: 213, - end: 147 -}, { - start: 147, - end: 215 -}, { - start: 215, - end: 213 -}, { - start: 60, - end: 20 -}, { - start: 20, - end: 166 -}, { - start: 166, - end: 60 -}, { - start: 192, - end: 187 -}, { - start: 187, - end: 213 -}, { - start: 213, - end: 192 -}, { - start: 243, - end: 112 -}, { - start: 112, - end: 244 -}, { - start: 244, - end: 243 -}, { - start: 244, - end: 233 -}, { - start: 233, - end: 245 -}, { - start: 245, - end: 244 -}, { - start: 245, - end: 128 -}, { - start: 128, - end: 188 -}, { - start: 188, - end: 245 -}, { - start: 188, - end: 114 -}, { - start: 114, - end: 174 -}, { - start: 174, - end: 188 -}, { - start: 134, - end: 131 -}, { - start: 131, - end: 220 -}, { - start: 220, - end: 134 -}, { - start: 174, - end: 217 -}, { - start: 217, - end: 236 -}, { - start: 236, - end: 174 -}, { - start: 236, - end: 198 -}, { - start: 198, - end: 134 -}, { - start: 134, - end: 236 -}, { - start: 215, - end: 177 -}, { - start: 177, - end: 58 -}, { - start: 58, - end: 215 -}, { - start: 156, - end: 143 -}, { - start: 143, - end: 124 -}, { - start: 124, - end: 156 -}, { - start: 25, - end: 110 -}, { - start: 110, - end: 7 -}, { - start: 7, - end: 25 -}, { - start: 31, - end: 228 -}, { - start: 228, - end: 25 -}, { - start: 25, - end: 31 -}, { - start: 264, - end: 356 -}, { - start: 356, - end: 368 -}, { - start: 368, - end: 264 -}, { - start: 0, - end: 11 -}, { - start: 11, - end: 267 -}, { - start: 267, - end: 0 -}, { - start: 451, - end: 452 -}, { - start: 452, - end: 349 -}, { - start: 349, - end: 451 -}, { - start: 267, - end: 302 -}, { - start: 302, - end: 269 -}, { - start: 269, - end: 267 -}, { - start: 350, - end: 357 -}, { - start: 357, - end: 277 -}, { - start: 277, - end: 350 -}, { - start: 350, - end: 452 -}, { - start: 452, - end: 357 -}, { - start: 357, - end: 350 -}, { - start: 299, - end: 333 -}, { - start: 333, - end: 297 -}, { - start: 297, - end: 299 -}, { - start: 396, - end: 175 -}, { - start: 175, - end: 377 -}, { - start: 377, - end: 396 -}, { - start: 280, - end: 347 -}, { - start: 347, - end: 330 -}, { - start: 330, - end: 280 -}, { - start: 269, - end: 303 -}, { - start: 303, - end: 270 -}, { - start: 270, - end: 269 -}, { - start: 151, - end: 9 -}, { - start: 9, - end: 337 -}, { - start: 337, - end: 151 -}, { - start: 344, - end: 278 -}, { - start: 278, - end: 360 -}, { - start: 360, - end: 344 -}, { - start: 424, - end: 418 -}, { - start: 418, - end: 431 -}, { - start: 431, - end: 424 -}, { - start: 270, - end: 304 -}, { - start: 304, - end: 409 -}, { - start: 409, - end: 270 -}, { - start: 272, - end: 310 -}, { - start: 310, - end: 407 -}, { - start: 407, - end: 272 -}, { - start: 322, - end: 270 -}, { - start: 270, - end: 410 -}, { - start: 410, - end: 322 -}, { - start: 449, - end: 450 -}, { - start: 450, - end: 347 -}, { - start: 347, - end: 449 -}, { - start: 432, - end: 422 -}, { - start: 422, - end: 434 -}, { - start: 434, - end: 432 -}, { - start: 18, - end: 313 -}, { - start: 313, - end: 17 -}, { - start: 17, - end: 18 -}, { - start: 291, - end: 306 -}, { - start: 306, - end: 375 -}, { - start: 375, - end: 291 -}, { - start: 259, - end: 387 -}, { - start: 387, - end: 260 -}, { - start: 260, - end: 259 -}, { - start: 424, - end: 335 -}, { - start: 335, - end: 418 -}, { - start: 418, - end: 424 -}, { - start: 434, - end: 364 -}, { - start: 364, - end: 416 -}, { - start: 416, - end: 434 -}, { - start: 391, - end: 423 -}, { - start: 423, - end: 327 -}, { - start: 327, - end: 391 -}, { - start: 301, - end: 251 -}, { - start: 251, - end: 298 -}, { - start: 298, - end: 301 -}, { - start: 275, - end: 281 -}, { - start: 281, - end: 4 -}, { - start: 4, - end: 275 -}, { - start: 254, - end: 373 -}, { - start: 373, - end: 253 -}, { - start: 253, - end: 254 -}, { - start: 375, - end: 307 -}, { - start: 307, - end: 321 -}, { - start: 321, - end: 375 -}, { - start: 280, - end: 425 -}, { - start: 425, - end: 411 -}, { - start: 411, - end: 280 -}, { - start: 200, - end: 421 -}, { - start: 421, - end: 18 -}, { - start: 18, - end: 200 -}, { - start: 335, - end: 321 -}, { - start: 321, - end: 406 -}, { - start: 406, - end: 335 -}, { - start: 321, - end: 320 -}, { - start: 320, - end: 405 -}, { - start: 405, - end: 321 -}, { - start: 314, - end: 315 -}, { - start: 315, - end: 17 -}, { - start: 17, - end: 314 -}, { - start: 423, - end: 426 -}, { - start: 426, - end: 266 -}, { - start: 266, - end: 423 -}, { - start: 396, - end: 377 -}, { - start: 377, - end: 369 -}, { - start: 369, - end: 396 -}, { - start: 270, - end: 322 -}, { - start: 322, - end: 269 -}, { - start: 269, - end: 270 -}, { - start: 413, - end: 417 -}, { - start: 417, - end: 464 -}, { - start: 464, - end: 413 -}, { - start: 385, - end: 386 -}, { - start: 386, - end: 258 -}, { - start: 258, - end: 385 -}, { - start: 248, - end: 456 -}, { - start: 456, - end: 419 -}, { - start: 419, - end: 248 -}, { - start: 298, - end: 284 -}, { - start: 284, - end: 333 -}, { - start: 333, - end: 298 -}, { - start: 168, - end: 417 -}, { - start: 417, - end: 8 -}, { - start: 8, - end: 168 -}, { - start: 448, - end: 346 -}, { - start: 346, - end: 261 -}, { - start: 261, - end: 448 -}, { - start: 417, - end: 413 -}, { - start: 413, - end: 285 -}, { - start: 285, - end: 417 -}, { - start: 326, - end: 327 -}, { - start: 327, - end: 328 -}, { - start: 328, - end: 326 -}, { - start: 277, - end: 355 -}, { - start: 355, - end: 329 -}, { - start: 329, - end: 277 -}, { - start: 309, - end: 392 -}, { - start: 392, - end: 438 -}, { - start: 438, - end: 309 -}, { - start: 381, - end: 382 -}, { - start: 382, - end: 256 -}, { - start: 256, - end: 381 -}, { - start: 279, - end: 429 -}, { - start: 429, - end: 360 -}, { - start: 360, - end: 279 -}, { - start: 365, - end: 364 -}, { - start: 364, - end: 379 -}, { - start: 379, - end: 365 -}, { - start: 355, - end: 277 -}, { - start: 277, - end: 437 -}, { - start: 437, - end: 355 -}, { - start: 282, - end: 443 -}, { - start: 443, - end: 283 -}, { - start: 283, - end: 282 -}, { - start: 281, - end: 275 -}, { - start: 275, - end: 363 -}, { - start: 363, - end: 281 -}, { - start: 395, - end: 431 -}, { - start: 431, - end: 369 -}, { - start: 369, - end: 395 -}, { - start: 299, - end: 297 -}, { - start: 297, - end: 337 -}, { - start: 337, - end: 299 -}, { - start: 335, - end: 273 -}, { - start: 273, - end: 321 -}, { - start: 321, - end: 335 -}, { - start: 348, - end: 450 -}, { - start: 450, - end: 349 -}, { - start: 349, - end: 348 -}, { - start: 359, - end: 446 -}, { - start: 446, - end: 467 -}, { - start: 467, - end: 359 -}, { - start: 283, - end: 293 -}, { - start: 293, - end: 282 -}, { - start: 282, - end: 283 -}, { - start: 250, - end: 458 -}, { - start: 458, - end: 462 -}, { - start: 462, - end: 250 -}, { - start: 300, - end: 276 -}, { - start: 276, - end: 383 -}, { - start: 383, - end: 300 -}, { - start: 292, - end: 308 -}, { - start: 308, - end: 325 -}, { - start: 325, - end: 292 -}, { - start: 283, - end: 276 -}, { - start: 276, - end: 293 -}, { - start: 293, - end: 283 -}, { - start: 264, - end: 372 -}, { - start: 372, - end: 447 -}, { - start: 447, - end: 264 -}, { - start: 346, - end: 352 -}, { - start: 352, - end: 340 -}, { - start: 340, - end: 346 -}, { - start: 354, - end: 274 -}, { - start: 274, - end: 19 -}, { - start: 19, - end: 354 -}, { - start: 363, - end: 456 -}, { - start: 456, - end: 281 -}, { - start: 281, - end: 363 -}, { - start: 426, - end: 436 -}, { - start: 436, - end: 425 -}, { - start: 425, - end: 426 -}, { - start: 380, - end: 381 -}, { - start: 381, - end: 252 -}, { - start: 252, - end: 380 -}, { - start: 267, - end: 269 -}, { - start: 269, - end: 393 -}, { - start: 393, - end: 267 -}, { - start: 421, - end: 200 -}, { - start: 200, - end: 428 -}, { - start: 428, - end: 421 -}, { - start: 371, - end: 266 -}, { - start: 266, - end: 329 -}, { - start: 329, - end: 371 -}, { - start: 432, - end: 287 -}, { - start: 287, - end: 422 -}, { - start: 422, - end: 432 -}, { - start: 290, - end: 250 -}, { - start: 250, - end: 328 -}, { - start: 328, - end: 290 -}, { - start: 385, - end: 258 -}, { - start: 258, - end: 384 -}, { - start: 384, - end: 385 -}, { - start: 446, - end: 265 -}, { - start: 265, - end: 342 -}, { - start: 342, - end: 446 -}, { - start: 386, - end: 387 -}, { - start: 387, - end: 257 -}, { - start: 257, - end: 386 -}, { - start: 422, - end: 424 -}, { - start: 424, - end: 430 -}, { - start: 430, - end: 422 -}, { - start: 445, - end: 342 -}, { - start: 342, - end: 276 -}, { - start: 276, - end: 445 -}, { - start: 422, - end: 273 -}, { - start: 273, - end: 424 -}, { - start: 424, - end: 422 -}, { - start: 306, - end: 292 -}, { - start: 292, - end: 307 -}, { - start: 307, - end: 306 -}, { - start: 352, - end: 366 -}, { - start: 366, - end: 345 -}, { - start: 345, - end: 352 -}, { - start: 268, - end: 271 -}, { - start: 271, - end: 302 -}, { - start: 302, - end: 268 -}, { - start: 358, - end: 423 -}, { - start: 423, - end: 371 -}, { - start: 371, - end: 358 -}, { - start: 327, - end: 294 -}, { - start: 294, - end: 460 -}, { - start: 460, - end: 327 -}, { - start: 331, - end: 279 -}, { - start: 279, - end: 294 -}, { - start: 294, - end: 331 -}, { - start: 303, - end: 271 -}, { - start: 271, - end: 304 -}, { - start: 304, - end: 303 -}, { - start: 436, - end: 432 -}, { - start: 432, - end: 427 -}, { - start: 427, - end: 436 -}, { - start: 304, - end: 272 -}, { - start: 272, - end: 408 -}, { - start: 408, - end: 304 -}, { - start: 395, - end: 394 -}, { - start: 394, - end: 431 -}, { - start: 431, - end: 395 -}, { - start: 378, - end: 395 -}, { - start: 395, - end: 400 -}, { - start: 400, - end: 378 -}, { - start: 296, - end: 334 -}, { - start: 334, - end: 299 -}, { - start: 299, - end: 296 -}, { - start: 6, - end: 351 -}, { - start: 351, - end: 168 -}, { - start: 168, - end: 6 -}, { - start: 376, - end: 352 -}, { - start: 352, - end: 411 -}, { - start: 411, - end: 376 -}, { - start: 307, - end: 325 -}, { - start: 325, - end: 320 -}, { - start: 320, - end: 307 -}, { - start: 285, - end: 295 -}, { - start: 295, - end: 336 -}, { - start: 336, - end: 285 -}, { - start: 320, - end: 319 -}, { - start: 319, - end: 404 -}, { - start: 404, - end: 320 -}, { - start: 329, - end: 330 -}, { - start: 330, - end: 349 -}, { - start: 349, - end: 329 -}, { - start: 334, - end: 293 -}, { - start: 293, - end: 333 -}, { - start: 333, - end: 334 -}, { - start: 366, - end: 323 -}, { - start: 323, - end: 447 -}, { - start: 447, - end: 366 -}, { - start: 316, - end: 15 -}, { - start: 15, - end: 315 -}, { - start: 315, - end: 316 -}, { - start: 331, - end: 358 -}, { - start: 358, - end: 279 -}, { - start: 279, - end: 331 -}, { - start: 317, - end: 14 -}, { - start: 14, - end: 316 -}, { - start: 316, - end: 317 -}, { - start: 8, - end: 285 -}, { - start: 285, - end: 9 -}, { - start: 9, - end: 8 -}, { - start: 277, - end: 329 -}, { - start: 329, - end: 350 -}, { - start: 350, - end: 277 -}, { - start: 253, - end: 374 -}, { - start: 374, - end: 252 -}, { - start: 252, - end: 253 -}, { - start: 319, - end: 318 -}, { - start: 318, - end: 403 -}, { - start: 403, - end: 319 -}, { - start: 351, - end: 6 -}, { - start: 6, - end: 419 -}, { - start: 419, - end: 351 -}, { - start: 324, - end: 318 -}, { - start: 318, - end: 325 -}, { - start: 325, - end: 324 -}, { - start: 397, - end: 367 -}, { - start: 367, - end: 365 -}, { - start: 365, - end: 397 -}, { - start: 288, - end: 435 -}, { - start: 435, - end: 397 -}, { - start: 397, - end: 288 -}, { - start: 278, - end: 344 -}, { - start: 344, - end: 439 -}, { - start: 439, - end: 278 -}, { - start: 310, - end: 272 -}, { - start: 272, - end: 311 -}, { - start: 311, - end: 310 -}, { - start: 248, - end: 195 -}, { - start: 195, - end: 281 -}, { - start: 281, - end: 248 -}, { - start: 375, - end: 273 -}, { - start: 273, - end: 291 -}, { - start: 291, - end: 375 -}, { - start: 175, - end: 396 -}, { - start: 396, - end: 199 -}, { - start: 199, - end: 175 -}, { - start: 312, - end: 311 -}, { - start: 311, - end: 268 -}, { - start: 268, - end: 312 -}, { - start: 276, - end: 283 -}, { - start: 283, - end: 445 -}, { - start: 445, - end: 276 -}, { - start: 390, - end: 373 -}, { - start: 373, - end: 339 -}, { - start: 339, - end: 390 -}, { - start: 295, - end: 282 -}, { - start: 282, - end: 296 -}, { - start: 296, - end: 295 -}, { - start: 448, - end: 449 -}, { - start: 449, - end: 346 -}, { - start: 346, - end: 448 -}, { - start: 356, - end: 264 -}, { - start: 264, - end: 454 -}, { - start: 454, - end: 356 -}, { - start: 337, - end: 336 -}, { - start: 336, - end: 299 -}, { - start: 299, - end: 337 -}, { - start: 337, - end: 338 -}, { - start: 338, - end: 151 -}, { - start: 151, - end: 337 -}, { - start: 294, - end: 278 -}, { - start: 278, - end: 455 -}, { - start: 455, - end: 294 -}, { - start: 308, - end: 292 -}, { - start: 292, - end: 415 -}, { - start: 415, - end: 308 -}, { - start: 429, - end: 358 -}, { - start: 358, - end: 355 -}, { - start: 355, - end: 429 -}, { - start: 265, - end: 340 -}, { - start: 340, - end: 372 -}, { - start: 372, - end: 265 -}, { - start: 352, - end: 346 -}, { - start: 346, - end: 280 -}, { - start: 280, - end: 352 -}, { - start: 295, - end: 442 -}, { - start: 442, - end: 282 -}, { - start: 282, - end: 295 -}, { - start: 354, - end: 19 -}, { - start: 19, - end: 370 -}, { - start: 370, - end: 354 -}, { - start: 285, - end: 441 -}, { - start: 441, - end: 295 -}, { - start: 295, - end: 285 -}, { - start: 195, - end: 248 -}, { - start: 248, - end: 197 -}, { - start: 197, - end: 195 -}, { - start: 457, - end: 440 -}, { - start: 440, - end: 274 -}, { - start: 274, - end: 457 -}, { - start: 301, - end: 300 -}, { - start: 300, - end: 368 -}, { - start: 368, - end: 301 -}, { - start: 417, - end: 351 -}, { - start: 351, - end: 465 -}, { - start: 465, - end: 417 -}, { - start: 251, - end: 301 -}, { - start: 301, - end: 389 -}, { - start: 389, - end: 251 -}, { - start: 394, - end: 395 -}, { - start: 395, - end: 379 -}, { - start: 379, - end: 394 -}, { - start: 399, - end: 412 -}, { - start: 412, - end: 419 -}, { - start: 419, - end: 399 -}, { - start: 410, - end: 436 -}, { - start: 436, - end: 322 -}, { - start: 322, - end: 410 -}, { - start: 326, - end: 2 -}, { - start: 2, - end: 393 -}, { - start: 393, - end: 326 -}, { - start: 354, - end: 370 -}, { - start: 370, - end: 461 -}, { - start: 461, - end: 354 -}, { - start: 393, - end: 164 -}, { - start: 164, - end: 267 -}, { - start: 267, - end: 393 -}, { - start: 268, - end: 302 -}, { - start: 302, - end: 12 -}, { - start: 12, - end: 268 -}, { - start: 312, - end: 268 -}, { - start: 268, - end: 13 -}, { - start: 13, - end: 312 -}, { - start: 298, - end: 293 -}, { - start: 293, - end: 301 -}, { - start: 301, - end: 298 -}, { - start: 265, - end: 446 -}, { - start: 446, - end: 340 -}, { - start: 340, - end: 265 -}, { - start: 280, - end: 330 -}, { - start: 330, - end: 425 -}, { - start: 425, - end: 280 -}, { - start: 322, - end: 426 -}, { - start: 426, - end: 391 -}, { - start: 391, - end: 322 -}, { - start: 420, - end: 429 -}, { - start: 429, - end: 437 -}, { - start: 437, - end: 420 -}, { - start: 393, - end: 391 -}, { - start: 391, - end: 326 -}, { - start: 326, - end: 393 -}, { - start: 344, - end: 440 -}, { - start: 440, - end: 438 -}, { - start: 438, - end: 344 -}, { - start: 458, - end: 459 -}, { - start: 459, - end: 461 -}, { - start: 461, - end: 458 -}, { - start: 364, - end: 434 -}, { - start: 434, - end: 394 -}, { - start: 394, - end: 364 -}, { - start: 428, - end: 396 -}, { - start: 396, - end: 262 -}, { - start: 262, - end: 428 -}, { - start: 274, - end: 354 -}, { - start: 354, - end: 457 -}, { - start: 457, - end: 274 -}, { - start: 317, - end: 316 -}, { - start: 316, - end: 402 -}, { - start: 402, - end: 317 -}, { - start: 316, - end: 315 -}, { - start: 315, - end: 403 -}, { - start: 403, - end: 316 -}, { - start: 315, - end: 314 -}, { - start: 314, - end: 404 -}, { - start: 404, - end: 315 -}, { - start: 314, - end: 313 -}, { - start: 313, - end: 405 -}, { - start: 405, - end: 314 -}, { - start: 313, - end: 421 -}, { - start: 421, - end: 406 -}, { - start: 406, - end: 313 -}, { - start: 323, - end: 366 -}, { - start: 366, - end: 361 -}, { - start: 361, - end: 323 -}, { - start: 292, - end: 306 -}, { - start: 306, - end: 407 -}, { - start: 407, - end: 292 -}, { - start: 306, - end: 291 -}, { - start: 291, - end: 408 -}, { - start: 408, - end: 306 -}, { - start: 291, - end: 287 -}, { - start: 287, - end: 409 -}, { - start: 409, - end: 291 -}, { - start: 287, - end: 432 -}, { - start: 432, - end: 410 -}, { - start: 410, - end: 287 -}, { - start: 427, - end: 434 -}, { - start: 434, - end: 411 -}, { - start: 411, - end: 427 -}, { - start: 372, - end: 264 -}, { - start: 264, - end: 383 -}, { - start: 383, - end: 372 -}, { - start: 459, - end: 309 -}, { - start: 309, - end: 457 -}, { - start: 457, - end: 459 -}, { - start: 366, - end: 352 -}, { - start: 352, - end: 401 -}, { - start: 401, - end: 366 -}, { - start: 1, - end: 274 -}, { - start: 274, - end: 4 -}, { - start: 4, - end: 1 -}, { - start: 418, - end: 421 -}, { - start: 421, - end: 262 -}, { - start: 262, - end: 418 -}, { - start: 331, - end: 294 -}, { - start: 294, - end: 358 -}, { - start: 358, - end: 331 -}, { - start: 435, - end: 433 -}, { - start: 433, - end: 367 -}, { - start: 367, - end: 435 -}, { - start: 392, - end: 289 -}, { - start: 289, - end: 439 -}, { - start: 439, - end: 392 -}, { - start: 328, - end: 462 -}, { - start: 462, - end: 326 -}, { - start: 326, - end: 328 -}, { - start: 94, - end: 2 -}, { - start: 2, - end: 370 -}, { - start: 370, - end: 94 -}, { - start: 289, - end: 305 -}, { - start: 305, - end: 455 -}, { - start: 455, - end: 289 -}, { - start: 339, - end: 254 -}, { - start: 254, - end: 448 -}, { - start: 448, - end: 339 -}, { - start: 359, - end: 255 -}, { - start: 255, - end: 446 -}, { - start: 446, - end: 359 -}, { - start: 254, - end: 253 -}, { - start: 253, - end: 449 -}, { - start: 449, - end: 254 -}, { - start: 253, - end: 252 -}, { - start: 252, - end: 450 -}, { - start: 450, - end: 253 -}, { - start: 252, - end: 256 -}, { - start: 256, - end: 451 -}, { - start: 451, - end: 252 -}, { - start: 256, - end: 341 -}, { - start: 341, - end: 452 -}, { - start: 452, - end: 256 -}, { - start: 414, - end: 413 -}, { - start: 413, - end: 463 -}, { - start: 463, - end: 414 -}, { - start: 286, - end: 441 -}, { - start: 441, - end: 414 -}, { - start: 414, - end: 286 -}, { - start: 286, - end: 258 -}, { - start: 258, - end: 441 -}, { - start: 441, - end: 286 -}, { - start: 258, - end: 257 -}, { - start: 257, - end: 442 -}, { - start: 442, - end: 258 -}, { - start: 257, - end: 259 -}, { - start: 259, - end: 443 -}, { - start: 443, - end: 257 -}, { - start: 259, - end: 260 -}, { - start: 260, - end: 444 -}, { - start: 444, - end: 259 -}, { - start: 260, - end: 467 -}, { - start: 467, - end: 445 -}, { - start: 445, - end: 260 -}, { - start: 309, - end: 459 -}, { - start: 459, - end: 250 -}, { - start: 250, - end: 309 -}, { - start: 305, - end: 289 -}, { - start: 289, - end: 290 -}, { - start: 290, - end: 305 -}, { - start: 305, - end: 290 -}, { - start: 290, - end: 460 -}, { - start: 460, - end: 305 -}, { - start: 401, - end: 376 -}, { - start: 376, - end: 435 -}, { - start: 435, - end: 401 -}, { - start: 309, - end: 250 -}, { - start: 250, - end: 392 -}, { - start: 392, - end: 309 -}, { - start: 376, - end: 411 -}, { - start: 411, - end: 433 -}, { - start: 433, - end: 376 -}, { - start: 453, - end: 341 -}, { - start: 341, - end: 464 -}, { - start: 464, - end: 453 -}, { - start: 357, - end: 453 -}, { - start: 453, - end: 465 -}, { - start: 465, - end: 357 -}, { - start: 343, - end: 357 -}, { - start: 357, - end: 412 -}, { - start: 412, - end: 343 -}, { - start: 437, - end: 343 -}, { - start: 343, - end: 399 -}, { - start: 399, - end: 437 -}, { - start: 344, - end: 360 -}, { - start: 360, - end: 440 -}, { - start: 440, - end: 344 -}, { - start: 420, - end: 437 -}, { - start: 437, - end: 456 -}, { - start: 456, - end: 420 -}, { - start: 360, - end: 420 -}, { - start: 420, - end: 363 -}, { - start: 363, - end: 360 -}, { - start: 361, - end: 401 -}, { - start: 401, - end: 288 -}, { - start: 288, - end: 361 -}, { - start: 265, - end: 372 -}, { - start: 372, - end: 353 -}, { - start: 353, - end: 265 -}, { - start: 390, - end: 339 -}, { - start: 339, - end: 249 -}, { - start: 249, - end: 390 -}, { - start: 339, - end: 448 -}, { - start: 448, - end: 255 -}, { - start: 255, - end: 339 -}]; -var face_landmarker_options = {}; -Object.defineProperty(face_landmarker_options, "__esModule", { - value: !0 -}); -var face_landmarker_result = {}; -Object.defineProperty(face_landmarker_result, "__esModule", { - value: !0 -}), -function(e) { - var t = commonjsGlobal && commonjsGlobal.__createBinding || (Object.create ? function(e, t, r, o) { - void 0 === o && (o = r); - var i = Object.getOwnPropertyDescriptor(t, r); - i && !("get"in i ? !t.__esModule : i.writable || i.configurable) || (i = { - enumerable: !0, - get: function() { - return t[r] - } - }), - Object.defineProperty(e, o, i) - } - : function(e, t, r, o) { - void 0 === o && (o = r), - e[o] = t[r] - } - ) - , r = commonjsGlobal && commonjsGlobal.__exportStar || function(e, r) { - for (var o in e) - "default" === o || Object.prototype.hasOwnProperty.call(r, o) || t(r, e, o) - } - ; - Object.defineProperty(e, "__esModule", { - value: !0 - }), - e.FaceLandmarker = void 0; - const o = calculator_pb - , i = calculator_options_pb - , a = classification_pb - , n = landmark_pb - , s = base_options_pb - , p = face_detector_graph_options_pb - , d = face_geometry_pb - , l = face_landmarker_graph_options_pb - , g = face_landmarks_detector_graph_options_pb - , c = classifier_result - , u = landmark_result - , m = vision_task_runner - , f = face_landmarks_connections; - r(face_landmarker_options, e), - r(face_landmarker_result, e); - const h = "image_in" - , y = "norm_rect" - , b = "face_landmarks" - , _ = "blendshapes" - , O = "face_geometry" - , F = .5; - class M extends m.VisionTaskRunner { - static createFromOptions(e, t) { - return m.VisionTaskRunner.createVisionInstance(M, e, t) - } - static createFromModelBuffer(e, t) { - return m.VisionTaskRunner.createVisionInstance(M, e, { - baseOptions: { - modelAssetBuffer: t - } - }) - } - static createFromModelPath(e, t) { - return m.VisionTaskRunner.createVisionInstance(M, e, { - baseOptions: { - modelAssetPath: t - } - }) - } - constructor(e, t) { - super(new m.VisionGraphRunner(e,t), h, y, !1), - this.result = { - faceLandmarks: [] - }, - this.outputFaceBlendshapes = !1, - this.outputFacialTransformationMatrixes = !1, - this.options = new l.FaceLandmarkerGraphOptions, - this.options.setBaseOptions(new s.BaseOptions), - this.faceLandmarksDetectorGraphOptions = new g.FaceLandmarksDetectorGraphOptions, - this.options.setFaceLandmarksDetectorGraphOptions(this.faceLandmarksDetectorGraphOptions), - this.faceDetectorGraphOptions = new p.FaceDetectorGraphOptions, - this.options.setFaceDetectorGraphOptions(this.faceDetectorGraphOptions), - this.initDefaults() - } - get baseOptions() { - return this.options.getBaseOptions() - } - set baseOptions(e) { - this.options.setBaseOptions(e) - } - setOptions(e) { - var t, r, o, i; - return "numFaces"in e && this.faceDetectorGraphOptions.setNumFaces(null !== (t = e.numFaces) && void 0 !== t ? t : 1), - "minFaceDetectionConfidence"in e && this.faceDetectorGraphOptions.setMinDetectionConfidence(null !== (r = e.minFaceDetectionConfidence) && void 0 !== r ? r : F), - "minTrackingConfidence"in e && this.options.setMinTrackingConfidence(null !== (o = e.minTrackingConfidence) && void 0 !== o ? o : F), - "minFacePresenceConfidence"in e && this.faceLandmarksDetectorGraphOptions.setMinDetectionConfidence(null !== (i = e.minFacePresenceConfidence) && void 0 !== i ? i : F), - "outputFaceBlendshapes"in e && (this.outputFaceBlendshapes = !!e.outputFaceBlendshapes), - "outputFacialTransformationMatrixes"in e && (this.outputFacialTransformationMatrixes = !!e.outputFacialTransformationMatrixes), - this.applyOptions(e) - } - detect(e, t) { - return this.resetResults(), - this.processImageData(e, t), - this.result - } - detectForVideo(e, t, r) { - return this.resetResults(), - this.processVideoData(e, r, t), - this.result - } - resetResults() { - this.result = { - faceLandmarks: [] - }, - this.outputFaceBlendshapes && (this.result.faceBlendshapes = []), - this.outputFacialTransformationMatrixes && (this.result.facialTransformationMatrixes = []) - } - initDefaults() { - this.faceDetectorGraphOptions.setNumFaces(1), - this.faceDetectorGraphOptions.setMinDetectionConfidence(F), - this.faceLandmarksDetectorGraphOptions.setMinDetectionConfidence(F), - this.options.setMinTrackingConfidence(F) - } - addJsLandmarks(e) { - for (const t of e) { - const e = n.NormalizedLandmarkList.deserializeBinary(t); - this.result.faceLandmarks.push((0, - u.convertToLandmarks)(e)) - } - } - addBlenshape(e) { - var t; - if (this.result.faceBlendshapes) - for (const r of e) { - const e = a.ClassificationList.deserializeBinary(r); - this.result.faceBlendshapes.push((0, - c.convertFromClassifications)(null !== (t = e.getClassificationList()) && void 0 !== t ? t : [])) - } - } - addFacialTransformationMatrixes(e) { - var t, r, o; - if (this.result.facialTransformationMatrixes) - for (const i of e) { - const e = d.FaceGeometry.deserializeBinary(i).getPoseTransformMatrix(); - e && this.result.facialTransformationMatrixes.push({ - rows: null !== (t = e.getRows()) && void 0 !== t ? t : 0, - columns: null !== (r = e.getCols()) && void 0 !== r ? r : 0, - data: null !== (o = e.getPackedDataList()) && void 0 !== o ? o : [] - }) - } - } - refreshGraph() { - const e = new o.CalculatorGraphConfig; - e.addInputStream(h), - e.addInputStream(y), - e.addOutputStream(b); - const t = new i.CalculatorOptions; - t.setExtension(l.FaceLandmarkerGraphOptions.ext, this.options); - const r = new o.CalculatorGraphConfig.Node; - r.setCalculator("mediapipe.tasks.vision.face_landmarker.FaceLandmarkerGraph"), - r.addInputStream("IMAGE:" + h), - r.addInputStream("NORM_RECT:" + y), - r.addOutputStream("NORM_LANDMARKS:" + b), - r.setOptions(t), - e.addNode(r), - this.graphRunner.attachProtoVectorListener(b, ((e,t)=>{ - this.addJsLandmarks(e), - this.setLatestOutputTimestamp(t) - } - )), - this.graphRunner.attachEmptyPacketListener(b, (e=>{ - this.setLatestOutputTimestamp(e) - } - )), - this.outputFaceBlendshapes && (e.addOutputStream(_), - r.addOutputStream("BLENDSHAPES:" + _), - this.graphRunner.attachProtoVectorListener(_, ((e,t)=>{ - this.addBlenshape(e), - this.setLatestOutputTimestamp(t) - } - )), - this.graphRunner.attachEmptyPacketListener(_, (e=>{ - this.setLatestOutputTimestamp(e) - } - ))), - this.outputFacialTransformationMatrixes && (e.addOutputStream(O), - r.addOutputStream("FACE_GEOMETRY:" + O), - this.graphRunner.attachProtoVectorListener(O, ((e,t)=>{ - this.addFacialTransformationMatrixes(e), - this.setLatestOutputTimestamp(t) - } - )), - this.graphRunner.attachEmptyPacketListener(O, (e=>{ - this.setLatestOutputTimestamp(e) - } - ))); - const a = e.serializeBinary(); - this.setGraph(new Uint8Array(a), !0) - } - } - e.FaceLandmarker = M, - M.FACE_LANDMARKS_LIPS = f.FACE_LANDMARKS_LIPS, - M.FACE_LANDMARKS_LEFT_EYE = f.FACE_LANDMARKS_LEFT_EYE, - M.FACE_LANDMARKS_LEFT_EYEBROW = f.FACE_LANDMARKS_LEFT_EYEBROW, - M.FACE_LANDMARKS_LEFT_IRIS = f.FACE_LANDMARKS_LEFT_IRIS, - M.FACE_LANDMARKS_RIGHT_EYE = f.FACE_LANDMARKS_RIGHT_EYE, - M.FACE_LANDMARKS_RIGHT_EYEBROW = f.FACE_LANDMARKS_RIGHT_EYEBROW, - M.FACE_LANDMARKS_RIGHT_IRIS = f.FACE_LANDMARKS_RIGHT_IRIS, - M.FACE_LANDMARKS_FACE_OVAL = f.FACE_LANDMARKS_FACE_OVAL, - M.FACE_LANDMARKS_CONTOURS = f.FACE_LANDMARKS_CONTOURS, - M.FACE_LANDMARKS_TESSELATION = f.FACE_LANDMARKS_TESSELATION -}(face_landmarker); -var face_stylizer = {} - , face_stylizer_graph_options_pb = {}; -!function(e) { - var t = googleProtobuf - , r = t - , o = "undefined" != typeof globalThis && globalThis || "undefined" != typeof window && window || void 0 !== o && o || "undefined" != typeof self && self || function() { - return this - } - .call(null) || Function("return this")() - , i = calculator_pb; - r.object.extend(proto, i); - var a = calculator_options_pb; - r.object.extend(proto, a); - var n = base_options_pb; - r.object.extend(proto, n); - var s = face_landmarker_graph_options_pb; - r.object.extend(proto, s), - r.exportSymbol("proto.mediapipe.tasks.vision.face_stylizer.proto.FaceStylizerGraphOptions", null, o), - proto.mediapipe.tasks.vision.face_stylizer.proto.FaceStylizerGraphOptions = function(e) { - t.Message.initialize(this, e, 0, -1, null, null) - } - , - r.inherits(proto.mediapipe.tasks.vision.face_stylizer.proto.FaceStylizerGraphOptions, t.Message), - r.DEBUG && !COMPILED && (proto.mediapipe.tasks.vision.face_stylizer.proto.FaceStylizerGraphOptions.displayName = "proto.mediapipe.tasks.vision.face_stylizer.proto.FaceStylizerGraphOptions"), - t.Message.GENERATE_TO_OBJECT && (proto.mediapipe.tasks.vision.face_stylizer.proto.FaceStylizerGraphOptions.prototype.toObject = function(e) { - return proto.mediapipe.tasks.vision.face_stylizer.proto.FaceStylizerGraphOptions.toObject(e, this) - } - , - proto.mediapipe.tasks.vision.face_stylizer.proto.FaceStylizerGraphOptions.toObject = function(e, t) { - var r, o = { - baseOptions: (r = t.getBaseOptions()) && n.BaseOptions.toObject(e, r), - faceLandmarkerGraphOptions: (r = t.getFaceLandmarkerGraphOptions()) && s.FaceLandmarkerGraphOptions.toObject(e, r) - }; - return e && (o.$jspbMessageInstance = t), - o - } - ), - proto.mediapipe.tasks.vision.face_stylizer.proto.FaceStylizerGraphOptions.deserializeBinary = function(e) { - var r = new t.BinaryReader(e) - , o = new proto.mediapipe.tasks.vision.face_stylizer.proto.FaceStylizerGraphOptions; - return proto.mediapipe.tasks.vision.face_stylizer.proto.FaceStylizerGraphOptions.deserializeBinaryFromReader(o, r) - } - , - proto.mediapipe.tasks.vision.face_stylizer.proto.FaceStylizerGraphOptions.deserializeBinaryFromReader = function(e, t) { - for (; t.nextField() && !t.isEndGroup(); ) { - switch (t.getFieldNumber()) { - case 1: - var r = new n.BaseOptions; - t.readMessage(r, n.BaseOptions.deserializeBinaryFromReader), - e.setBaseOptions(r); - break; - case 2: - r = new s.FaceLandmarkerGraphOptions; - t.readMessage(r, s.FaceLandmarkerGraphOptions.deserializeBinaryFromReader), - e.setFaceLandmarkerGraphOptions(r); - break; - default: - t.skipField() - } - } - return e - } - , - proto.mediapipe.tasks.vision.face_stylizer.proto.FaceStylizerGraphOptions.prototype.serializeBinary = function() { - var e = new t.BinaryWriter; - return proto.mediapipe.tasks.vision.face_stylizer.proto.FaceStylizerGraphOptions.serializeBinaryToWriter(this, e), - e.getResultBuffer() - } - , - proto.mediapipe.tasks.vision.face_stylizer.proto.FaceStylizerGraphOptions.serializeBinaryToWriter = function(e, t) { - var r = void 0; - null != (r = e.getBaseOptions()) && t.writeMessage(1, r, n.BaseOptions.serializeBinaryToWriter), - null != (r = e.getFaceLandmarkerGraphOptions()) && t.writeMessage(2, r, s.FaceLandmarkerGraphOptions.serializeBinaryToWriter) - } - , - proto.mediapipe.tasks.vision.face_stylizer.proto.FaceStylizerGraphOptions.ext = new t.ExtensionFieldInfo(513916220,{ - ext: 0 - },proto.mediapipe.tasks.vision.face_stylizer.proto.FaceStylizerGraphOptions,proto.mediapipe.tasks.vision.face_stylizer.proto.FaceStylizerGraphOptions.toObject,0), - a.CalculatorOptions.extensionsBinary[513916220] = new t.ExtensionFieldBinaryInfo(proto.mediapipe.tasks.vision.face_stylizer.proto.FaceStylizerGraphOptions.ext,t.BinaryReader.prototype.readMessage,t.BinaryWriter.prototype.writeMessage,proto.mediapipe.tasks.vision.face_stylizer.proto.FaceStylizerGraphOptions.serializeBinaryToWriter,proto.mediapipe.tasks.vision.face_stylizer.proto.FaceStylizerGraphOptions.deserializeBinaryFromReader,!1), - a.CalculatorOptions.extensions[513916220] = proto.mediapipe.tasks.vision.face_stylizer.proto.FaceStylizerGraphOptions.ext, - proto.mediapipe.tasks.vision.face_stylizer.proto.FaceStylizerGraphOptions.prototype.getBaseOptions = function() { - return t.Message.getWrapperField(this, n.BaseOptions, 1) - } - , - proto.mediapipe.tasks.vision.face_stylizer.proto.FaceStylizerGraphOptions.prototype.setBaseOptions = function(e) { - return t.Message.setWrapperField(this, 1, e) - } - , - proto.mediapipe.tasks.vision.face_stylizer.proto.FaceStylizerGraphOptions.prototype.clearBaseOptions = function() { - return this.setBaseOptions(void 0) - } - , - proto.mediapipe.tasks.vision.face_stylizer.proto.FaceStylizerGraphOptions.prototype.hasBaseOptions = function() { - return null != t.Message.getField(this, 1) - } - , - proto.mediapipe.tasks.vision.face_stylizer.proto.FaceStylizerGraphOptions.prototype.getFaceLandmarkerGraphOptions = function() { - return t.Message.getWrapperField(this, s.FaceLandmarkerGraphOptions, 2) - } - , - proto.mediapipe.tasks.vision.face_stylizer.proto.FaceStylizerGraphOptions.prototype.setFaceLandmarkerGraphOptions = function(e) { - return t.Message.setWrapperField(this, 2, e) - } - , - proto.mediapipe.tasks.vision.face_stylizer.proto.FaceStylizerGraphOptions.prototype.clearFaceLandmarkerGraphOptions = function() { - return this.setFaceLandmarkerGraphOptions(void 0) - } - , - proto.mediapipe.tasks.vision.face_stylizer.proto.FaceStylizerGraphOptions.prototype.hasFaceLandmarkerGraphOptions = function() { - return null != t.Message.getField(this, 2) - } - , - proto.mediapipe.tasks.vision.face_stylizer.proto.FaceStylizerGraphOptions.ext = new t.ExtensionFieldInfo(513916220,{ - ext: 0 - },proto.mediapipe.tasks.vision.face_stylizer.proto.FaceStylizerGraphOptions,proto.mediapipe.tasks.vision.face_stylizer.proto.FaceStylizerGraphOptions.toObject,0), - a.CalculatorOptions.extensionsBinary[513916220] = new t.ExtensionFieldBinaryInfo(proto.mediapipe.tasks.vision.face_stylizer.proto.FaceStylizerGraphOptions.ext,t.BinaryReader.prototype.readMessage,t.BinaryWriter.prototype.writeMessage,proto.mediapipe.tasks.vision.face_stylizer.proto.FaceStylizerGraphOptions.serializeBinaryToWriter,proto.mediapipe.tasks.vision.face_stylizer.proto.FaceStylizerGraphOptions.deserializeBinaryFromReader,!1), - a.CalculatorOptions.extensions[513916220] = proto.mediapipe.tasks.vision.face_stylizer.proto.FaceStylizerGraphOptions.ext, - r.object.extend(e, proto.mediapipe.tasks.vision.face_stylizer.proto) -}(face_stylizer_graph_options_pb); -var face_stylizer_options = {}; -Object.defineProperty(face_stylizer_options, "__esModule", { - value: !0 -}), -function(e) { - var t = commonjsGlobal && commonjsGlobal.__createBinding || (Object.create ? function(e, t, r, o) { - void 0 === o && (o = r); - var i = Object.getOwnPropertyDescriptor(t, r); - i && !("get"in i ? !t.__esModule : i.writable || i.configurable) || (i = { - enumerable: !0, - get: function() { - return t[r] - } - }), - Object.defineProperty(e, o, i) - } - : function(e, t, r, o) { - void 0 === o && (o = r), - e[o] = t[r] - } - ) - , r = commonjsGlobal && commonjsGlobal.__exportStar || function(e, r) { - for (var o in e) - "default" === o || Object.prototype.hasOwnProperty.call(r, o) || t(r, e, o) - } - ; - Object.defineProperty(e, "__esModule", { - value: !0 - }), - e.FaceStylizer = void 0; - const o = calculator_pb - , i = calculator_options_pb - , a = base_options_pb - , n = face_stylizer_graph_options_pb - , s = vision_task_runner; - r(face_stylizer_options, e); - const p = "image_in" - , d = "norm_rect" - , l = "stylized_image"; - class g extends s.VisionTaskRunner { - static createFromOptions(e, t) { - return s.VisionTaskRunner.createVisionInstance(g, e, t) - } - static createFromModelBuffer(e, t) { - return s.VisionTaskRunner.createVisionInstance(g, e, { - baseOptions: { - modelAssetBuffer: t - } - }) - } - static createFromModelPath(e, t) { - return s.VisionTaskRunner.createVisionInstance(g, e, { - baseOptions: { - modelAssetPath: t - } - }) - } - constructor(e, t) { - super(new s.VisionGraphRunner(e,t), p, d, !0), - this.options = new n.FaceStylizerGraphOptions, - this.options.setBaseOptions(new a.BaseOptions) - } - get baseOptions() { - return this.options.getBaseOptions() - } - set baseOptions(e) { - this.options.setBaseOptions(e) - } - setOptions(e) { - return super.applyOptions(e) - } - stylize(e, t, r) { - const o = "function" != typeof t ? t : {}; - if (this.userCallback = "function" == typeof t ? t : r, - this.processImageData(e, null != o ? o : {}), - !this.userCallback) - return this.result - } - stylizeForVideo(e, t, r, o) { - const i = "function" != typeof r ? r : {}; - if (this.userCallback = "function" == typeof r ? r : o, - this.processVideoData(e, i, t), - this.userCallback = void 0, - !this.userCallback) - return this.result - } - refreshGraph() { - const e = new o.CalculatorGraphConfig; - e.addInputStream(p), - e.addInputStream(d), - e.addOutputStream(l); - const t = new i.CalculatorOptions; - t.setExtension(n.FaceStylizerGraphOptions.ext, this.options); - const r = new o.CalculatorGraphConfig.Node; - r.setCalculator("mediapipe.tasks.vision.face_stylizer.FaceStylizerGraph"), - r.addInputStream("IMAGE:" + p), - r.addInputStream("NORM_RECT:" + d), - r.addOutputStream("STYLIZED_IMAGE:" + l), - r.setOptions(t), - e.addNode(r), - this.graphRunner.attachImageListener(l, ((e,t)=>{ - const r = this.convertToMPImage(e, !this.userCallback); - this.result = r, - this.userCallback && this.userCallback(r), - this.setLatestOutputTimestamp(t) - } - )), - this.graphRunner.attachEmptyPacketListener(l, (e=>{ - this.result = null, - this.userCallback && this.userCallback(null), - this.setLatestOutputTimestamp(e) - } - )); - const a = e.serializeBinary(); - this.setGraph(new Uint8Array(a), !0) - } - } - e.FaceStylizer = g -}(face_stylizer); -var gesture_recognizer = {} - , gesture_classifier_graph_options_pb = {} - , classifier_options_pb = {}; -!function(e) { - var t = googleProtobuf - , r = t - , o = "undefined" != typeof globalThis && globalThis || "undefined" != typeof window && window || void 0 !== o && o || "undefined" != typeof self && self || function() { - return this - } - .call(null) || Function("return this")(); - r.exportSymbol("proto.mediapipe.tasks.components.processors.proto.ClassifierOptions", null, o), - proto.mediapipe.tasks.components.processors.proto.ClassifierOptions = function(e) { - t.Message.initialize(this, e, 0, -1, proto.mediapipe.tasks.components.processors.proto.ClassifierOptions.repeatedFields_, null) - } - , - r.inherits(proto.mediapipe.tasks.components.processors.proto.ClassifierOptions, t.Message), - r.DEBUG && !COMPILED && (proto.mediapipe.tasks.components.processors.proto.ClassifierOptions.displayName = "proto.mediapipe.tasks.components.processors.proto.ClassifierOptions"), - proto.mediapipe.tasks.components.processors.proto.ClassifierOptions.repeatedFields_ = [4, 5], - t.Message.GENERATE_TO_OBJECT && (proto.mediapipe.tasks.components.processors.proto.ClassifierOptions.prototype.toObject = function(e) { - return proto.mediapipe.tasks.components.processors.proto.ClassifierOptions.toObject(e, this) - } - , - proto.mediapipe.tasks.components.processors.proto.ClassifierOptions.toObject = function(e, r) { - var o, i = { - displayNamesLocale: t.Message.getFieldWithDefault(r, 1, "en"), - maxResults: t.Message.getFieldWithDefault(r, 2, -1), - scoreThreshold: null == (o = t.Message.getOptionalFloatingPointField(r, 3)) ? void 0 : o, - categoryAllowlistList: null == (o = t.Message.getRepeatedField(r, 4)) ? void 0 : o, - categoryDenylistList: null == (o = t.Message.getRepeatedField(r, 5)) ? void 0 : o - }; - return e && (i.$jspbMessageInstance = r), - i - } - ), - proto.mediapipe.tasks.components.processors.proto.ClassifierOptions.deserializeBinary = function(e) { - var r = new t.BinaryReader(e) - , o = new proto.mediapipe.tasks.components.processors.proto.ClassifierOptions; - return proto.mediapipe.tasks.components.processors.proto.ClassifierOptions.deserializeBinaryFromReader(o, r) - } - , - proto.mediapipe.tasks.components.processors.proto.ClassifierOptions.deserializeBinaryFromReader = function(e, t) { - for (; t.nextField() && !t.isEndGroup(); ) { - switch (t.getFieldNumber()) { - case 1: - var r = t.readString(); - e.setDisplayNamesLocale(r); - break; - case 2: - r = t.readInt32(); - e.setMaxResults(r); - break; - case 3: - r = t.readFloat(); - e.setScoreThreshold(r); - break; - case 4: - r = t.readString(); - e.addCategoryAllowlist(r); - break; - case 5: - r = t.readString(); - e.addCategoryDenylist(r); - break; - default: - t.skipField() - } - } - return e - } - , - proto.mediapipe.tasks.components.processors.proto.ClassifierOptions.prototype.serializeBinary = function() { - var e = new t.BinaryWriter; - return proto.mediapipe.tasks.components.processors.proto.ClassifierOptions.serializeBinaryToWriter(this, e), - e.getResultBuffer() - } - , - proto.mediapipe.tasks.components.processors.proto.ClassifierOptions.serializeBinaryToWriter = function(e, r) { - var o = void 0; - null != (o = t.Message.getField(e, 1)) && r.writeString(1, o), - null != (o = t.Message.getField(e, 2)) && r.writeInt32(2, o), - null != (o = t.Message.getField(e, 3)) && r.writeFloat(3, o), - (o = e.getCategoryAllowlistList()).length > 0 && r.writeRepeatedString(4, o), - (o = e.getCategoryDenylistList()).length > 0 && r.writeRepeatedString(5, o) - } - , - proto.mediapipe.tasks.components.processors.proto.ClassifierOptions.prototype.getDisplayNamesLocale = function() { - return t.Message.getFieldWithDefault(this, 1, "en") - } - , - proto.mediapipe.tasks.components.processors.proto.ClassifierOptions.prototype.setDisplayNamesLocale = function(e) { - return t.Message.setField(this, 1, e) - } - , - proto.mediapipe.tasks.components.processors.proto.ClassifierOptions.prototype.clearDisplayNamesLocale = function() { - return t.Message.setField(this, 1, void 0) - } - , - proto.mediapipe.tasks.components.processors.proto.ClassifierOptions.prototype.hasDisplayNamesLocale = function() { - return null != t.Message.getField(this, 1) - } - , - proto.mediapipe.tasks.components.processors.proto.ClassifierOptions.prototype.getMaxResults = function() { - return t.Message.getFieldWithDefault(this, 2, -1) - } - , - proto.mediapipe.tasks.components.processors.proto.ClassifierOptions.prototype.setMaxResults = function(e) { - return t.Message.setField(this, 2, e) - } - , - proto.mediapipe.tasks.components.processors.proto.ClassifierOptions.prototype.clearMaxResults = function() { - return t.Message.setField(this, 2, void 0) - } - , - proto.mediapipe.tasks.components.processors.proto.ClassifierOptions.prototype.hasMaxResults = function() { - return null != t.Message.getField(this, 2) - } - , - proto.mediapipe.tasks.components.processors.proto.ClassifierOptions.prototype.getScoreThreshold = function() { - return t.Message.getFloatingPointFieldWithDefault(this, 3, 0) - } - , - proto.mediapipe.tasks.components.processors.proto.ClassifierOptions.prototype.setScoreThreshold = function(e) { - return t.Message.setField(this, 3, e) - } - , - proto.mediapipe.tasks.components.processors.proto.ClassifierOptions.prototype.clearScoreThreshold = function() { - return t.Message.setField(this, 3, void 0) - } - , - proto.mediapipe.tasks.components.processors.proto.ClassifierOptions.prototype.hasScoreThreshold = function() { - return null != t.Message.getField(this, 3) - } - , - proto.mediapipe.tasks.components.processors.proto.ClassifierOptions.prototype.getCategoryAllowlistList = function() { - return t.Message.getRepeatedField(this, 4) - } - , - proto.mediapipe.tasks.components.processors.proto.ClassifierOptions.prototype.setCategoryAllowlistList = function(e) { - return t.Message.setField(this, 4, e || []) - } - , - proto.mediapipe.tasks.components.processors.proto.ClassifierOptions.prototype.addCategoryAllowlist = function(e, r) { - return t.Message.addToRepeatedField(this, 4, e, r) - } - , - proto.mediapipe.tasks.components.processors.proto.ClassifierOptions.prototype.clearCategoryAllowlistList = function() { - return this.setCategoryAllowlistList([]) - } - , - proto.mediapipe.tasks.components.processors.proto.ClassifierOptions.prototype.getCategoryDenylistList = function() { - return t.Message.getRepeatedField(this, 5) - } - , - proto.mediapipe.tasks.components.processors.proto.ClassifierOptions.prototype.setCategoryDenylistList = function(e) { - return t.Message.setField(this, 5, e || []) - } - , - proto.mediapipe.tasks.components.processors.proto.ClassifierOptions.prototype.addCategoryDenylist = function(e, r) { - return t.Message.addToRepeatedField(this, 5, e, r) - } - , - proto.mediapipe.tasks.components.processors.proto.ClassifierOptions.prototype.clearCategoryDenylistList = function() { - return this.setCategoryDenylistList([]) - } - , - r.object.extend(e, proto.mediapipe.tasks.components.processors.proto) -}(classifier_options_pb), -function(e) { - var t = googleProtobuf - , r = t - , o = "undefined" != typeof globalThis && globalThis || "undefined" != typeof window && window || void 0 !== o && o || "undefined" != typeof self && self || function() { - return this - } - .call(null) || Function("return this")() - , i = calculator_pb; - r.object.extend(proto, i); - var a = calculator_options_pb; - r.object.extend(proto, a); - var n = classifier_options_pb; - r.object.extend(proto, n); - var s = base_options_pb; - r.object.extend(proto, s), - r.exportSymbol("proto.mediapipe.tasks.vision.gesture_recognizer.proto.GestureClassifierGraphOptions", null, o), - proto.mediapipe.tasks.vision.gesture_recognizer.proto.GestureClassifierGraphOptions = function(e) { - t.Message.initialize(this, e, 0, -1, null, null) - } - , - r.inherits(proto.mediapipe.tasks.vision.gesture_recognizer.proto.GestureClassifierGraphOptions, t.Message), - r.DEBUG && !COMPILED && (proto.mediapipe.tasks.vision.gesture_recognizer.proto.GestureClassifierGraphOptions.displayName = "proto.mediapipe.tasks.vision.gesture_recognizer.proto.GestureClassifierGraphOptions"), - t.Message.GENERATE_TO_OBJECT && (proto.mediapipe.tasks.vision.gesture_recognizer.proto.GestureClassifierGraphOptions.prototype.toObject = function(e) { - return proto.mediapipe.tasks.vision.gesture_recognizer.proto.GestureClassifierGraphOptions.toObject(e, this) - } - , - proto.mediapipe.tasks.vision.gesture_recognizer.proto.GestureClassifierGraphOptions.toObject = function(e, t) { - var r, o = { - baseOptions: (r = t.getBaseOptions()) && s.BaseOptions.toObject(e, r), - classifierOptions: (r = t.getClassifierOptions()) && n.ClassifierOptions.toObject(e, r) - }; - return e && (o.$jspbMessageInstance = t), - o - } - ), - proto.mediapipe.tasks.vision.gesture_recognizer.proto.GestureClassifierGraphOptions.deserializeBinary = function(e) { - var r = new t.BinaryReader(e) - , o = new proto.mediapipe.tasks.vision.gesture_recognizer.proto.GestureClassifierGraphOptions; - return proto.mediapipe.tasks.vision.gesture_recognizer.proto.GestureClassifierGraphOptions.deserializeBinaryFromReader(o, r) - } - , - proto.mediapipe.tasks.vision.gesture_recognizer.proto.GestureClassifierGraphOptions.deserializeBinaryFromReader = function(e, t) { - for (; t.nextField() && !t.isEndGroup(); ) { - switch (t.getFieldNumber()) { - case 1: - var r = new s.BaseOptions; - t.readMessage(r, s.BaseOptions.deserializeBinaryFromReader), - e.setBaseOptions(r); - break; - case 2: - r = new n.ClassifierOptions; - t.readMessage(r, n.ClassifierOptions.deserializeBinaryFromReader), - e.setClassifierOptions(r); - break; - default: - t.skipField() - } - } - return e - } - , - proto.mediapipe.tasks.vision.gesture_recognizer.proto.GestureClassifierGraphOptions.prototype.serializeBinary = function() { - var e = new t.BinaryWriter; - return proto.mediapipe.tasks.vision.gesture_recognizer.proto.GestureClassifierGraphOptions.serializeBinaryToWriter(this, e), - e.getResultBuffer() - } - , - proto.mediapipe.tasks.vision.gesture_recognizer.proto.GestureClassifierGraphOptions.serializeBinaryToWriter = function(e, t) { - var r = void 0; - null != (r = e.getBaseOptions()) && t.writeMessage(1, r, s.BaseOptions.serializeBinaryToWriter), - null != (r = e.getClassifierOptions()) && t.writeMessage(2, r, n.ClassifierOptions.serializeBinaryToWriter) - } - , - proto.mediapipe.tasks.vision.gesture_recognizer.proto.GestureClassifierGraphOptions.ext = new t.ExtensionFieldInfo(478825465,{ - ext: 0 - },proto.mediapipe.tasks.vision.gesture_recognizer.proto.GestureClassifierGraphOptions,proto.mediapipe.tasks.vision.gesture_recognizer.proto.GestureClassifierGraphOptions.toObject,0), - a.CalculatorOptions.extensionsBinary[478825465] = new t.ExtensionFieldBinaryInfo(proto.mediapipe.tasks.vision.gesture_recognizer.proto.GestureClassifierGraphOptions.ext,t.BinaryReader.prototype.readMessage,t.BinaryWriter.prototype.writeMessage,proto.mediapipe.tasks.vision.gesture_recognizer.proto.GestureClassifierGraphOptions.serializeBinaryToWriter,proto.mediapipe.tasks.vision.gesture_recognizer.proto.GestureClassifierGraphOptions.deserializeBinaryFromReader,!1), - a.CalculatorOptions.extensions[478825465] = proto.mediapipe.tasks.vision.gesture_recognizer.proto.GestureClassifierGraphOptions.ext, - proto.mediapipe.tasks.vision.gesture_recognizer.proto.GestureClassifierGraphOptions.prototype.getBaseOptions = function() { - return t.Message.getWrapperField(this, s.BaseOptions, 1) - } - , - proto.mediapipe.tasks.vision.gesture_recognizer.proto.GestureClassifierGraphOptions.prototype.setBaseOptions = function(e) { - return t.Message.setWrapperField(this, 1, e) - } - , - proto.mediapipe.tasks.vision.gesture_recognizer.proto.GestureClassifierGraphOptions.prototype.clearBaseOptions = function() { - return this.setBaseOptions(void 0) - } - , - proto.mediapipe.tasks.vision.gesture_recognizer.proto.GestureClassifierGraphOptions.prototype.hasBaseOptions = function() { - return null != t.Message.getField(this, 1) - } - , - proto.mediapipe.tasks.vision.gesture_recognizer.proto.GestureClassifierGraphOptions.prototype.getClassifierOptions = function() { - return t.Message.getWrapperField(this, n.ClassifierOptions, 2) - } - , - proto.mediapipe.tasks.vision.gesture_recognizer.proto.GestureClassifierGraphOptions.prototype.setClassifierOptions = function(e) { - return t.Message.setWrapperField(this, 2, e) - } - , - proto.mediapipe.tasks.vision.gesture_recognizer.proto.GestureClassifierGraphOptions.prototype.clearClassifierOptions = function() { - return this.setClassifierOptions(void 0) - } - , - proto.mediapipe.tasks.vision.gesture_recognizer.proto.GestureClassifierGraphOptions.prototype.hasClassifierOptions = function() { - return null != t.Message.getField(this, 2) - } - , - proto.mediapipe.tasks.vision.gesture_recognizer.proto.GestureClassifierGraphOptions.ext = new t.ExtensionFieldInfo(478825465,{ - ext: 0 - },proto.mediapipe.tasks.vision.gesture_recognizer.proto.GestureClassifierGraphOptions,proto.mediapipe.tasks.vision.gesture_recognizer.proto.GestureClassifierGraphOptions.toObject,0), - a.CalculatorOptions.extensionsBinary[478825465] = new t.ExtensionFieldBinaryInfo(proto.mediapipe.tasks.vision.gesture_recognizer.proto.GestureClassifierGraphOptions.ext,t.BinaryReader.prototype.readMessage,t.BinaryWriter.prototype.writeMessage,proto.mediapipe.tasks.vision.gesture_recognizer.proto.GestureClassifierGraphOptions.serializeBinaryToWriter,proto.mediapipe.tasks.vision.gesture_recognizer.proto.GestureClassifierGraphOptions.deserializeBinaryFromReader,!1), - a.CalculatorOptions.extensions[478825465] = proto.mediapipe.tasks.vision.gesture_recognizer.proto.GestureClassifierGraphOptions.ext, - r.object.extend(e, proto.mediapipe.tasks.vision.gesture_recognizer.proto) -}(gesture_classifier_graph_options_pb); -var gesture_recognizer_graph_options_pb = {} - , hand_gesture_recognizer_graph_options_pb = {} - , gesture_embedder_graph_options_pb = {}; -!function(e) { - var t = googleProtobuf - , r = t - , o = "undefined" != typeof globalThis && globalThis || "undefined" != typeof window && window || void 0 !== o && o || "undefined" != typeof self && self || function() { - return this - } - .call(null) || Function("return this")() - , i = calculator_pb; - r.object.extend(proto, i); - var a = calculator_options_pb; - r.object.extend(proto, a); - var n = base_options_pb; - r.object.extend(proto, n), - r.exportSymbol("proto.mediapipe.tasks.vision.gesture_recognizer.proto.GestureEmbedderGraphOptions", null, o), - proto.mediapipe.tasks.vision.gesture_recognizer.proto.GestureEmbedderGraphOptions = function(e) { - t.Message.initialize(this, e, 0, -1, null, null) - } - , - r.inherits(proto.mediapipe.tasks.vision.gesture_recognizer.proto.GestureEmbedderGraphOptions, t.Message), - r.DEBUG && !COMPILED && (proto.mediapipe.tasks.vision.gesture_recognizer.proto.GestureEmbedderGraphOptions.displayName = "proto.mediapipe.tasks.vision.gesture_recognizer.proto.GestureEmbedderGraphOptions"), - t.Message.GENERATE_TO_OBJECT && (proto.mediapipe.tasks.vision.gesture_recognizer.proto.GestureEmbedderGraphOptions.prototype.toObject = function(e) { - return proto.mediapipe.tasks.vision.gesture_recognizer.proto.GestureEmbedderGraphOptions.toObject(e, this) - } - , - proto.mediapipe.tasks.vision.gesture_recognizer.proto.GestureEmbedderGraphOptions.toObject = function(e, t) { - var r, o = { - baseOptions: (r = t.getBaseOptions()) && n.BaseOptions.toObject(e, r) - }; - return e && (o.$jspbMessageInstance = t), - o - } - ), - proto.mediapipe.tasks.vision.gesture_recognizer.proto.GestureEmbedderGraphOptions.deserializeBinary = function(e) { - var r = new t.BinaryReader(e) - , o = new proto.mediapipe.tasks.vision.gesture_recognizer.proto.GestureEmbedderGraphOptions; - return proto.mediapipe.tasks.vision.gesture_recognizer.proto.GestureEmbedderGraphOptions.deserializeBinaryFromReader(o, r) - } - , - proto.mediapipe.tasks.vision.gesture_recognizer.proto.GestureEmbedderGraphOptions.deserializeBinaryFromReader = function(e, t) { - for (; t.nextField() && !t.isEndGroup(); ) { - if (1 === t.getFieldNumber()) { - var r = new n.BaseOptions; - t.readMessage(r, n.BaseOptions.deserializeBinaryFromReader), - e.setBaseOptions(r) - } else - t.skipField() - } - return e - } - , - proto.mediapipe.tasks.vision.gesture_recognizer.proto.GestureEmbedderGraphOptions.prototype.serializeBinary = function() { - var e = new t.BinaryWriter; - return proto.mediapipe.tasks.vision.gesture_recognizer.proto.GestureEmbedderGraphOptions.serializeBinaryToWriter(this, e), - e.getResultBuffer() - } - , - proto.mediapipe.tasks.vision.gesture_recognizer.proto.GestureEmbedderGraphOptions.serializeBinaryToWriter = function(e, t) { - var r; - null != (r = e.getBaseOptions()) && t.writeMessage(1, r, n.BaseOptions.serializeBinaryToWriter) - } - , - proto.mediapipe.tasks.vision.gesture_recognizer.proto.GestureEmbedderGraphOptions.ext = new t.ExtensionFieldInfo(478825422,{ - ext: 0 - },proto.mediapipe.tasks.vision.gesture_recognizer.proto.GestureEmbedderGraphOptions,proto.mediapipe.tasks.vision.gesture_recognizer.proto.GestureEmbedderGraphOptions.toObject,0), - a.CalculatorOptions.extensionsBinary[478825422] = new t.ExtensionFieldBinaryInfo(proto.mediapipe.tasks.vision.gesture_recognizer.proto.GestureEmbedderGraphOptions.ext,t.BinaryReader.prototype.readMessage,t.BinaryWriter.prototype.writeMessage,proto.mediapipe.tasks.vision.gesture_recognizer.proto.GestureEmbedderGraphOptions.serializeBinaryToWriter,proto.mediapipe.tasks.vision.gesture_recognizer.proto.GestureEmbedderGraphOptions.deserializeBinaryFromReader,!1), - a.CalculatorOptions.extensions[478825422] = proto.mediapipe.tasks.vision.gesture_recognizer.proto.GestureEmbedderGraphOptions.ext, - proto.mediapipe.tasks.vision.gesture_recognizer.proto.GestureEmbedderGraphOptions.prototype.getBaseOptions = function() { - return t.Message.getWrapperField(this, n.BaseOptions, 1) - } - , - proto.mediapipe.tasks.vision.gesture_recognizer.proto.GestureEmbedderGraphOptions.prototype.setBaseOptions = function(e) { - return t.Message.setWrapperField(this, 1, e) - } - , - proto.mediapipe.tasks.vision.gesture_recognizer.proto.GestureEmbedderGraphOptions.prototype.clearBaseOptions = function() { - return this.setBaseOptions(void 0) - } - , - proto.mediapipe.tasks.vision.gesture_recognizer.proto.GestureEmbedderGraphOptions.prototype.hasBaseOptions = function() { - return null != t.Message.getField(this, 1) - } - , - proto.mediapipe.tasks.vision.gesture_recognizer.proto.GestureEmbedderGraphOptions.ext = new t.ExtensionFieldInfo(478825422,{ - ext: 0 - },proto.mediapipe.tasks.vision.gesture_recognizer.proto.GestureEmbedderGraphOptions,proto.mediapipe.tasks.vision.gesture_recognizer.proto.GestureEmbedderGraphOptions.toObject,0), - a.CalculatorOptions.extensionsBinary[478825422] = new t.ExtensionFieldBinaryInfo(proto.mediapipe.tasks.vision.gesture_recognizer.proto.GestureEmbedderGraphOptions.ext,t.BinaryReader.prototype.readMessage,t.BinaryWriter.prototype.writeMessage,proto.mediapipe.tasks.vision.gesture_recognizer.proto.GestureEmbedderGraphOptions.serializeBinaryToWriter,proto.mediapipe.tasks.vision.gesture_recognizer.proto.GestureEmbedderGraphOptions.deserializeBinaryFromReader,!1), - a.CalculatorOptions.extensions[478825422] = proto.mediapipe.tasks.vision.gesture_recognizer.proto.GestureEmbedderGraphOptions.ext, - r.object.extend(e, proto.mediapipe.tasks.vision.gesture_recognizer.proto) -}(gesture_embedder_graph_options_pb), -function(e) { - var t = googleProtobuf - , r = t - , o = "undefined" != typeof globalThis && globalThis || "undefined" != typeof window && window || void 0 !== o && o || "undefined" != typeof self && self || function() { - return this - } - .call(null) || Function("return this")() - , i = calculator_pb; - r.object.extend(proto, i); - var a = calculator_options_pb; - r.object.extend(proto, a); - var n = base_options_pb; - r.object.extend(proto, n); - var s = gesture_classifier_graph_options_pb; - r.object.extend(proto, s); - var p = gesture_embedder_graph_options_pb; - r.object.extend(proto, p), - r.exportSymbol("proto.mediapipe.tasks.vision.gesture_recognizer.proto.HandGestureRecognizerGraphOptions", null, o), - proto.mediapipe.tasks.vision.gesture_recognizer.proto.HandGestureRecognizerGraphOptions = function(e) { - t.Message.initialize(this, e, 0, -1, null, null) - } - , - r.inherits(proto.mediapipe.tasks.vision.gesture_recognizer.proto.HandGestureRecognizerGraphOptions, t.Message), - r.DEBUG && !COMPILED && (proto.mediapipe.tasks.vision.gesture_recognizer.proto.HandGestureRecognizerGraphOptions.displayName = "proto.mediapipe.tasks.vision.gesture_recognizer.proto.HandGestureRecognizerGraphOptions"), - t.Message.GENERATE_TO_OBJECT && (proto.mediapipe.tasks.vision.gesture_recognizer.proto.HandGestureRecognizerGraphOptions.prototype.toObject = function(e) { - return proto.mediapipe.tasks.vision.gesture_recognizer.proto.HandGestureRecognizerGraphOptions.toObject(e, this) - } - , - proto.mediapipe.tasks.vision.gesture_recognizer.proto.HandGestureRecognizerGraphOptions.toObject = function(e, t) { - var r, o = { - baseOptions: (r = t.getBaseOptions()) && n.BaseOptions.toObject(e, r), - gestureEmbedderGraphOptions: (r = t.getGestureEmbedderGraphOptions()) && p.GestureEmbedderGraphOptions.toObject(e, r), - cannedGestureClassifierGraphOptions: (r = t.getCannedGestureClassifierGraphOptions()) && s.GestureClassifierGraphOptions.toObject(e, r), - customGestureClassifierGraphOptions: (r = t.getCustomGestureClassifierGraphOptions()) && s.GestureClassifierGraphOptions.toObject(e, r) - }; - return e && (o.$jspbMessageInstance = t), - o - } - ), - proto.mediapipe.tasks.vision.gesture_recognizer.proto.HandGestureRecognizerGraphOptions.deserializeBinary = function(e) { - var r = new t.BinaryReader(e) - , o = new proto.mediapipe.tasks.vision.gesture_recognizer.proto.HandGestureRecognizerGraphOptions; - return proto.mediapipe.tasks.vision.gesture_recognizer.proto.HandGestureRecognizerGraphOptions.deserializeBinaryFromReader(o, r) - } - , - proto.mediapipe.tasks.vision.gesture_recognizer.proto.HandGestureRecognizerGraphOptions.deserializeBinaryFromReader = function(e, t) { - for (; t.nextField() && !t.isEndGroup(); ) { - switch (t.getFieldNumber()) { - case 1: - var r = new n.BaseOptions; - t.readMessage(r, n.BaseOptions.deserializeBinaryFromReader), - e.setBaseOptions(r); - break; - case 2: - r = new p.GestureEmbedderGraphOptions; - t.readMessage(r, p.GestureEmbedderGraphOptions.deserializeBinaryFromReader), - e.setGestureEmbedderGraphOptions(r); - break; - case 3: - r = new s.GestureClassifierGraphOptions; - t.readMessage(r, s.GestureClassifierGraphOptions.deserializeBinaryFromReader), - e.setCannedGestureClassifierGraphOptions(r); - break; - case 4: - r = new s.GestureClassifierGraphOptions; - t.readMessage(r, s.GestureClassifierGraphOptions.deserializeBinaryFromReader), - e.setCustomGestureClassifierGraphOptions(r); - break; - default: - t.skipField() - } - } - return e - } - , - proto.mediapipe.tasks.vision.gesture_recognizer.proto.HandGestureRecognizerGraphOptions.prototype.serializeBinary = function() { - var e = new t.BinaryWriter; - return proto.mediapipe.tasks.vision.gesture_recognizer.proto.HandGestureRecognizerGraphOptions.serializeBinaryToWriter(this, e), - e.getResultBuffer() - } - , - proto.mediapipe.tasks.vision.gesture_recognizer.proto.HandGestureRecognizerGraphOptions.serializeBinaryToWriter = function(e, t) { - var r = void 0; - null != (r = e.getBaseOptions()) && t.writeMessage(1, r, n.BaseOptions.serializeBinaryToWriter), - null != (r = e.getGestureEmbedderGraphOptions()) && t.writeMessage(2, r, p.GestureEmbedderGraphOptions.serializeBinaryToWriter), - null != (r = e.getCannedGestureClassifierGraphOptions()) && t.writeMessage(3, r, s.GestureClassifierGraphOptions.serializeBinaryToWriter), - null != (r = e.getCustomGestureClassifierGraphOptions()) && t.writeMessage(4, r, s.GestureClassifierGraphOptions.serializeBinaryToWriter) - } - , - proto.mediapipe.tasks.vision.gesture_recognizer.proto.HandGestureRecognizerGraphOptions.ext = new t.ExtensionFieldInfo(463370452,{ - ext: 0 - },proto.mediapipe.tasks.vision.gesture_recognizer.proto.HandGestureRecognizerGraphOptions,proto.mediapipe.tasks.vision.gesture_recognizer.proto.HandGestureRecognizerGraphOptions.toObject,0), - a.CalculatorOptions.extensionsBinary[463370452] = new t.ExtensionFieldBinaryInfo(proto.mediapipe.tasks.vision.gesture_recognizer.proto.HandGestureRecognizerGraphOptions.ext,t.BinaryReader.prototype.readMessage,t.BinaryWriter.prototype.writeMessage,proto.mediapipe.tasks.vision.gesture_recognizer.proto.HandGestureRecognizerGraphOptions.serializeBinaryToWriter,proto.mediapipe.tasks.vision.gesture_recognizer.proto.HandGestureRecognizerGraphOptions.deserializeBinaryFromReader,!1), - a.CalculatorOptions.extensions[463370452] = proto.mediapipe.tasks.vision.gesture_recognizer.proto.HandGestureRecognizerGraphOptions.ext, - proto.mediapipe.tasks.vision.gesture_recognizer.proto.HandGestureRecognizerGraphOptions.prototype.getBaseOptions = function() { - return t.Message.getWrapperField(this, n.BaseOptions, 1) - } - , - proto.mediapipe.tasks.vision.gesture_recognizer.proto.HandGestureRecognizerGraphOptions.prototype.setBaseOptions = function(e) { - return t.Message.setWrapperField(this, 1, e) - } - , - proto.mediapipe.tasks.vision.gesture_recognizer.proto.HandGestureRecognizerGraphOptions.prototype.clearBaseOptions = function() { - return this.setBaseOptions(void 0) - } - , - proto.mediapipe.tasks.vision.gesture_recognizer.proto.HandGestureRecognizerGraphOptions.prototype.hasBaseOptions = function() { - return null != t.Message.getField(this, 1) - } - , - proto.mediapipe.tasks.vision.gesture_recognizer.proto.HandGestureRecognizerGraphOptions.prototype.getGestureEmbedderGraphOptions = function() { - return t.Message.getWrapperField(this, p.GestureEmbedderGraphOptions, 2) - } - , - proto.mediapipe.tasks.vision.gesture_recognizer.proto.HandGestureRecognizerGraphOptions.prototype.setGestureEmbedderGraphOptions = function(e) { - return t.Message.setWrapperField(this, 2, e) - } - , - proto.mediapipe.tasks.vision.gesture_recognizer.proto.HandGestureRecognizerGraphOptions.prototype.clearGestureEmbedderGraphOptions = function() { - return this.setGestureEmbedderGraphOptions(void 0) - } - , - proto.mediapipe.tasks.vision.gesture_recognizer.proto.HandGestureRecognizerGraphOptions.prototype.hasGestureEmbedderGraphOptions = function() { - return null != t.Message.getField(this, 2) - } - , - proto.mediapipe.tasks.vision.gesture_recognizer.proto.HandGestureRecognizerGraphOptions.prototype.getCannedGestureClassifierGraphOptions = function() { - return t.Message.getWrapperField(this, s.GestureClassifierGraphOptions, 3) - } - , - proto.mediapipe.tasks.vision.gesture_recognizer.proto.HandGestureRecognizerGraphOptions.prototype.setCannedGestureClassifierGraphOptions = function(e) { - return t.Message.setWrapperField(this, 3, e) - } - , - proto.mediapipe.tasks.vision.gesture_recognizer.proto.HandGestureRecognizerGraphOptions.prototype.clearCannedGestureClassifierGraphOptions = function() { - return this.setCannedGestureClassifierGraphOptions(void 0) - } - , - proto.mediapipe.tasks.vision.gesture_recognizer.proto.HandGestureRecognizerGraphOptions.prototype.hasCannedGestureClassifierGraphOptions = function() { - return null != t.Message.getField(this, 3) - } - , - proto.mediapipe.tasks.vision.gesture_recognizer.proto.HandGestureRecognizerGraphOptions.prototype.getCustomGestureClassifierGraphOptions = function() { - return t.Message.getWrapperField(this, s.GestureClassifierGraphOptions, 4) - } - , - proto.mediapipe.tasks.vision.gesture_recognizer.proto.HandGestureRecognizerGraphOptions.prototype.setCustomGestureClassifierGraphOptions = function(e) { - return t.Message.setWrapperField(this, 4, e) - } - , - proto.mediapipe.tasks.vision.gesture_recognizer.proto.HandGestureRecognizerGraphOptions.prototype.clearCustomGestureClassifierGraphOptions = function() { - return this.setCustomGestureClassifierGraphOptions(void 0) - } - , - proto.mediapipe.tasks.vision.gesture_recognizer.proto.HandGestureRecognizerGraphOptions.prototype.hasCustomGestureClassifierGraphOptions = function() { - return null != t.Message.getField(this, 4) - } - , - proto.mediapipe.tasks.vision.gesture_recognizer.proto.HandGestureRecognizerGraphOptions.ext = new t.ExtensionFieldInfo(463370452,{ - ext: 0 - },proto.mediapipe.tasks.vision.gesture_recognizer.proto.HandGestureRecognizerGraphOptions,proto.mediapipe.tasks.vision.gesture_recognizer.proto.HandGestureRecognizerGraphOptions.toObject,0), - a.CalculatorOptions.extensionsBinary[463370452] = new t.ExtensionFieldBinaryInfo(proto.mediapipe.tasks.vision.gesture_recognizer.proto.HandGestureRecognizerGraphOptions.ext,t.BinaryReader.prototype.readMessage,t.BinaryWriter.prototype.writeMessage,proto.mediapipe.tasks.vision.gesture_recognizer.proto.HandGestureRecognizerGraphOptions.serializeBinaryToWriter,proto.mediapipe.tasks.vision.gesture_recognizer.proto.HandGestureRecognizerGraphOptions.deserializeBinaryFromReader,!1), - a.CalculatorOptions.extensions[463370452] = proto.mediapipe.tasks.vision.gesture_recognizer.proto.HandGestureRecognizerGraphOptions.ext, - r.object.extend(e, proto.mediapipe.tasks.vision.gesture_recognizer.proto) -}(hand_gesture_recognizer_graph_options_pb); -var hand_landmarker_graph_options_pb = {} - , hand_detector_graph_options_pb = {}; -!function(e) { - var t = googleProtobuf - , r = t - , o = "undefined" != typeof globalThis && globalThis || "undefined" != typeof window && window || void 0 !== o && o || "undefined" != typeof self && self || function() { - return this - } - .call(null) || Function("return this")() - , i = calculator_pb; - r.object.extend(proto, i); - var a = calculator_options_pb; - r.object.extend(proto, a); - var n = base_options_pb; - r.object.extend(proto, n), - r.exportSymbol("proto.mediapipe.tasks.vision.hand_detector.proto.HandDetectorGraphOptions", null, o), - proto.mediapipe.tasks.vision.hand_detector.proto.HandDetectorGraphOptions = function(e) { - t.Message.initialize(this, e, 0, -1, null, null) - } - , - r.inherits(proto.mediapipe.tasks.vision.hand_detector.proto.HandDetectorGraphOptions, t.Message), - r.DEBUG && !COMPILED && (proto.mediapipe.tasks.vision.hand_detector.proto.HandDetectorGraphOptions.displayName = "proto.mediapipe.tasks.vision.hand_detector.proto.HandDetectorGraphOptions"), - t.Message.GENERATE_TO_OBJECT && (proto.mediapipe.tasks.vision.hand_detector.proto.HandDetectorGraphOptions.prototype.toObject = function(e) { - return proto.mediapipe.tasks.vision.hand_detector.proto.HandDetectorGraphOptions.toObject(e, this) - } - , - proto.mediapipe.tasks.vision.hand_detector.proto.HandDetectorGraphOptions.toObject = function(e, r) { - var o, i = { - baseOptions: (o = r.getBaseOptions()) && n.BaseOptions.toObject(e, o), - minDetectionConfidence: t.Message.getFloatingPointFieldWithDefault(r, 2, .5), - numHands: null == (o = t.Message.getField(r, 3)) ? void 0 : o - }; - return e && (i.$jspbMessageInstance = r), - i - } - ), - proto.mediapipe.tasks.vision.hand_detector.proto.HandDetectorGraphOptions.deserializeBinary = function(e) { - var r = new t.BinaryReader(e) - , o = new proto.mediapipe.tasks.vision.hand_detector.proto.HandDetectorGraphOptions; - return proto.mediapipe.tasks.vision.hand_detector.proto.HandDetectorGraphOptions.deserializeBinaryFromReader(o, r) - } - , - proto.mediapipe.tasks.vision.hand_detector.proto.HandDetectorGraphOptions.deserializeBinaryFromReader = function(e, t) { - for (; t.nextField() && !t.isEndGroup(); ) { - switch (t.getFieldNumber()) { - case 1: - var r = new n.BaseOptions; - t.readMessage(r, n.BaseOptions.deserializeBinaryFromReader), - e.setBaseOptions(r); - break; - case 2: - r = t.readFloat(); - e.setMinDetectionConfidence(r); - break; - case 3: - r = t.readInt32(); - e.setNumHands(r); - break; - default: - t.skipField() - } - } - return e - } - , - proto.mediapipe.tasks.vision.hand_detector.proto.HandDetectorGraphOptions.prototype.serializeBinary = function() { - var e = new t.BinaryWriter; - return proto.mediapipe.tasks.vision.hand_detector.proto.HandDetectorGraphOptions.serializeBinaryToWriter(this, e), - e.getResultBuffer() - } - , - proto.mediapipe.tasks.vision.hand_detector.proto.HandDetectorGraphOptions.serializeBinaryToWriter = function(e, r) { - var o = void 0; - null != (o = e.getBaseOptions()) && r.writeMessage(1, o, n.BaseOptions.serializeBinaryToWriter), - null != (o = t.Message.getField(e, 2)) && r.writeFloat(2, o), - null != (o = t.Message.getField(e, 3)) && r.writeInt32(3, o) - } - , - proto.mediapipe.tasks.vision.hand_detector.proto.HandDetectorGraphOptions.ext = new t.ExtensionFieldInfo(464864288,{ - ext: 0 - },proto.mediapipe.tasks.vision.hand_detector.proto.HandDetectorGraphOptions,proto.mediapipe.tasks.vision.hand_detector.proto.HandDetectorGraphOptions.toObject,0), - a.CalculatorOptions.extensionsBinary[464864288] = new t.ExtensionFieldBinaryInfo(proto.mediapipe.tasks.vision.hand_detector.proto.HandDetectorGraphOptions.ext,t.BinaryReader.prototype.readMessage,t.BinaryWriter.prototype.writeMessage,proto.mediapipe.tasks.vision.hand_detector.proto.HandDetectorGraphOptions.serializeBinaryToWriter,proto.mediapipe.tasks.vision.hand_detector.proto.HandDetectorGraphOptions.deserializeBinaryFromReader,!1), - a.CalculatorOptions.extensions[464864288] = proto.mediapipe.tasks.vision.hand_detector.proto.HandDetectorGraphOptions.ext, - proto.mediapipe.tasks.vision.hand_detector.proto.HandDetectorGraphOptions.prototype.getBaseOptions = function() { - return t.Message.getWrapperField(this, n.BaseOptions, 1) - } - , - proto.mediapipe.tasks.vision.hand_detector.proto.HandDetectorGraphOptions.prototype.setBaseOptions = function(e) { - return t.Message.setWrapperField(this, 1, e) - } - , - proto.mediapipe.tasks.vision.hand_detector.proto.HandDetectorGraphOptions.prototype.clearBaseOptions = function() { - return this.setBaseOptions(void 0) - } - , - proto.mediapipe.tasks.vision.hand_detector.proto.HandDetectorGraphOptions.prototype.hasBaseOptions = function() { - return null != t.Message.getField(this, 1) - } - , - proto.mediapipe.tasks.vision.hand_detector.proto.HandDetectorGraphOptions.prototype.getMinDetectionConfidence = function() { - return t.Message.getFloatingPointFieldWithDefault(this, 2, .5) - } - , - proto.mediapipe.tasks.vision.hand_detector.proto.HandDetectorGraphOptions.prototype.setMinDetectionConfidence = function(e) { - return t.Message.setField(this, 2, e) - } - , - proto.mediapipe.tasks.vision.hand_detector.proto.HandDetectorGraphOptions.prototype.clearMinDetectionConfidence = function() { - return t.Message.setField(this, 2, void 0) - } - , - proto.mediapipe.tasks.vision.hand_detector.proto.HandDetectorGraphOptions.prototype.hasMinDetectionConfidence = function() { - return null != t.Message.getField(this, 2) - } - , - proto.mediapipe.tasks.vision.hand_detector.proto.HandDetectorGraphOptions.prototype.getNumHands = function() { - return t.Message.getFieldWithDefault(this, 3, 0) - } - , - proto.mediapipe.tasks.vision.hand_detector.proto.HandDetectorGraphOptions.prototype.setNumHands = function(e) { - return t.Message.setField(this, 3, e) - } - , - proto.mediapipe.tasks.vision.hand_detector.proto.HandDetectorGraphOptions.prototype.clearNumHands = function() { - return t.Message.setField(this, 3, void 0) - } - , - proto.mediapipe.tasks.vision.hand_detector.proto.HandDetectorGraphOptions.prototype.hasNumHands = function() { - return null != t.Message.getField(this, 3) - } - , - proto.mediapipe.tasks.vision.hand_detector.proto.HandDetectorGraphOptions.ext = new t.ExtensionFieldInfo(464864288,{ - ext: 0 - },proto.mediapipe.tasks.vision.hand_detector.proto.HandDetectorGraphOptions,proto.mediapipe.tasks.vision.hand_detector.proto.HandDetectorGraphOptions.toObject,0), - a.CalculatorOptions.extensionsBinary[464864288] = new t.ExtensionFieldBinaryInfo(proto.mediapipe.tasks.vision.hand_detector.proto.HandDetectorGraphOptions.ext,t.BinaryReader.prototype.readMessage,t.BinaryWriter.prototype.writeMessage,proto.mediapipe.tasks.vision.hand_detector.proto.HandDetectorGraphOptions.serializeBinaryToWriter,proto.mediapipe.tasks.vision.hand_detector.proto.HandDetectorGraphOptions.deserializeBinaryFromReader,!1), - a.CalculatorOptions.extensions[464864288] = proto.mediapipe.tasks.vision.hand_detector.proto.HandDetectorGraphOptions.ext, - r.object.extend(e, proto.mediapipe.tasks.vision.hand_detector.proto) -}(hand_detector_graph_options_pb); -var hand_landmarks_detector_graph_options_pb = {}; -!function(e) { - var t = googleProtobuf - , r = t - , o = "undefined" != typeof globalThis && globalThis || "undefined" != typeof window && window || void 0 !== o && o || "undefined" != typeof self && self || function() { - return this - } - .call(null) || Function("return this")() - , i = calculator_pb; - r.object.extend(proto, i); - var a = calculator_options_pb; - r.object.extend(proto, a); - var n = base_options_pb; - r.object.extend(proto, n), - r.exportSymbol("proto.mediapipe.tasks.vision.hand_landmarker.proto.HandLandmarksDetectorGraphOptions", null, o), - proto.mediapipe.tasks.vision.hand_landmarker.proto.HandLandmarksDetectorGraphOptions = function(e) { - t.Message.initialize(this, e, 0, -1, null, null) - } - , - r.inherits(proto.mediapipe.tasks.vision.hand_landmarker.proto.HandLandmarksDetectorGraphOptions, t.Message), - r.DEBUG && !COMPILED && (proto.mediapipe.tasks.vision.hand_landmarker.proto.HandLandmarksDetectorGraphOptions.displayName = "proto.mediapipe.tasks.vision.hand_landmarker.proto.HandLandmarksDetectorGraphOptions"), - t.Message.GENERATE_TO_OBJECT && (proto.mediapipe.tasks.vision.hand_landmarker.proto.HandLandmarksDetectorGraphOptions.prototype.toObject = function(e) { - return proto.mediapipe.tasks.vision.hand_landmarker.proto.HandLandmarksDetectorGraphOptions.toObject(e, this) - } - , - proto.mediapipe.tasks.vision.hand_landmarker.proto.HandLandmarksDetectorGraphOptions.toObject = function(e, r) { - var o, i = { - baseOptions: (o = r.getBaseOptions()) && n.BaseOptions.toObject(e, o), - minDetectionConfidence: t.Message.getFloatingPointFieldWithDefault(r, 2, .5) - }; - return e && (i.$jspbMessageInstance = r), - i - } - ), - proto.mediapipe.tasks.vision.hand_landmarker.proto.HandLandmarksDetectorGraphOptions.deserializeBinary = function(e) { - var r = new t.BinaryReader(e) - , o = new proto.mediapipe.tasks.vision.hand_landmarker.proto.HandLandmarksDetectorGraphOptions; - return proto.mediapipe.tasks.vision.hand_landmarker.proto.HandLandmarksDetectorGraphOptions.deserializeBinaryFromReader(o, r) - } - , - proto.mediapipe.tasks.vision.hand_landmarker.proto.HandLandmarksDetectorGraphOptions.deserializeBinaryFromReader = function(e, t) { - for (; t.nextField() && !t.isEndGroup(); ) { - switch (t.getFieldNumber()) { - case 1: - var r = new n.BaseOptions; - t.readMessage(r, n.BaseOptions.deserializeBinaryFromReader), - e.setBaseOptions(r); - break; - case 2: - r = t.readFloat(); - e.setMinDetectionConfidence(r); - break; - default: - t.skipField() - } - } - return e - } - , - proto.mediapipe.tasks.vision.hand_landmarker.proto.HandLandmarksDetectorGraphOptions.prototype.serializeBinary = function() { - var e = new t.BinaryWriter; - return proto.mediapipe.tasks.vision.hand_landmarker.proto.HandLandmarksDetectorGraphOptions.serializeBinaryToWriter(this, e), - e.getResultBuffer() - } - , - proto.mediapipe.tasks.vision.hand_landmarker.proto.HandLandmarksDetectorGraphOptions.serializeBinaryToWriter = function(e, r) { - var o = void 0; - null != (o = e.getBaseOptions()) && r.writeMessage(1, o, n.BaseOptions.serializeBinaryToWriter), - null != (o = t.Message.getField(e, 2)) && r.writeFloat(2, o) - } - , - proto.mediapipe.tasks.vision.hand_landmarker.proto.HandLandmarksDetectorGraphOptions.ext = new t.ExtensionFieldInfo(474472470,{ - ext: 0 - },proto.mediapipe.tasks.vision.hand_landmarker.proto.HandLandmarksDetectorGraphOptions,proto.mediapipe.tasks.vision.hand_landmarker.proto.HandLandmarksDetectorGraphOptions.toObject,0), - a.CalculatorOptions.extensionsBinary[474472470] = new t.ExtensionFieldBinaryInfo(proto.mediapipe.tasks.vision.hand_landmarker.proto.HandLandmarksDetectorGraphOptions.ext,t.BinaryReader.prototype.readMessage,t.BinaryWriter.prototype.writeMessage,proto.mediapipe.tasks.vision.hand_landmarker.proto.HandLandmarksDetectorGraphOptions.serializeBinaryToWriter,proto.mediapipe.tasks.vision.hand_landmarker.proto.HandLandmarksDetectorGraphOptions.deserializeBinaryFromReader,!1), - a.CalculatorOptions.extensions[474472470] = proto.mediapipe.tasks.vision.hand_landmarker.proto.HandLandmarksDetectorGraphOptions.ext, - proto.mediapipe.tasks.vision.hand_landmarker.proto.HandLandmarksDetectorGraphOptions.prototype.getBaseOptions = function() { - return t.Message.getWrapperField(this, n.BaseOptions, 1) - } - , - proto.mediapipe.tasks.vision.hand_landmarker.proto.HandLandmarksDetectorGraphOptions.prototype.setBaseOptions = function(e) { - return t.Message.setWrapperField(this, 1, e) - } - , - proto.mediapipe.tasks.vision.hand_landmarker.proto.HandLandmarksDetectorGraphOptions.prototype.clearBaseOptions = function() { - return this.setBaseOptions(void 0) - } - , - proto.mediapipe.tasks.vision.hand_landmarker.proto.HandLandmarksDetectorGraphOptions.prototype.hasBaseOptions = function() { - return null != t.Message.getField(this, 1) - } - , - proto.mediapipe.tasks.vision.hand_landmarker.proto.HandLandmarksDetectorGraphOptions.prototype.getMinDetectionConfidence = function() { - return t.Message.getFloatingPointFieldWithDefault(this, 2, .5) - } - , - proto.mediapipe.tasks.vision.hand_landmarker.proto.HandLandmarksDetectorGraphOptions.prototype.setMinDetectionConfidence = function(e) { - return t.Message.setField(this, 2, e) - } - , - proto.mediapipe.tasks.vision.hand_landmarker.proto.HandLandmarksDetectorGraphOptions.prototype.clearMinDetectionConfidence = function() { - return t.Message.setField(this, 2, void 0) - } - , - proto.mediapipe.tasks.vision.hand_landmarker.proto.HandLandmarksDetectorGraphOptions.prototype.hasMinDetectionConfidence = function() { - return null != t.Message.getField(this, 2) - } - , - proto.mediapipe.tasks.vision.hand_landmarker.proto.HandLandmarksDetectorGraphOptions.ext = new t.ExtensionFieldInfo(474472470,{ - ext: 0 - },proto.mediapipe.tasks.vision.hand_landmarker.proto.HandLandmarksDetectorGraphOptions,proto.mediapipe.tasks.vision.hand_landmarker.proto.HandLandmarksDetectorGraphOptions.toObject,0), - a.CalculatorOptions.extensionsBinary[474472470] = new t.ExtensionFieldBinaryInfo(proto.mediapipe.tasks.vision.hand_landmarker.proto.HandLandmarksDetectorGraphOptions.ext,t.BinaryReader.prototype.readMessage,t.BinaryWriter.prototype.writeMessage,proto.mediapipe.tasks.vision.hand_landmarker.proto.HandLandmarksDetectorGraphOptions.serializeBinaryToWriter,proto.mediapipe.tasks.vision.hand_landmarker.proto.HandLandmarksDetectorGraphOptions.deserializeBinaryFromReader,!1), - a.CalculatorOptions.extensions[474472470] = proto.mediapipe.tasks.vision.hand_landmarker.proto.HandLandmarksDetectorGraphOptions.ext, - r.object.extend(e, proto.mediapipe.tasks.vision.hand_landmarker.proto) -}(hand_landmarks_detector_graph_options_pb), -function(e) { - var t = googleProtobuf - , r = t - , o = "undefined" != typeof globalThis && globalThis || "undefined" != typeof window && window || void 0 !== o && o || "undefined" != typeof self && self || function() { - return this - } - .call(null) || Function("return this")() - , i = calculator_pb; - r.object.extend(proto, i); - var a = calculator_options_pb; - r.object.extend(proto, a); - var n = base_options_pb; - r.object.extend(proto, n); - var s = hand_detector_graph_options_pb; - r.object.extend(proto, s); - var p = hand_landmarks_detector_graph_options_pb; - r.object.extend(proto, p), - r.exportSymbol("proto.mediapipe.tasks.vision.hand_landmarker.proto.HandLandmarkerGraphOptions", null, o), - proto.mediapipe.tasks.vision.hand_landmarker.proto.HandLandmarkerGraphOptions = function(e) { - t.Message.initialize(this, e, 0, -1, null, null) - } - , - r.inherits(proto.mediapipe.tasks.vision.hand_landmarker.proto.HandLandmarkerGraphOptions, t.Message), - r.DEBUG && !COMPILED && (proto.mediapipe.tasks.vision.hand_landmarker.proto.HandLandmarkerGraphOptions.displayName = "proto.mediapipe.tasks.vision.hand_landmarker.proto.HandLandmarkerGraphOptions"), - t.Message.GENERATE_TO_OBJECT && (proto.mediapipe.tasks.vision.hand_landmarker.proto.HandLandmarkerGraphOptions.prototype.toObject = function(e) { - return proto.mediapipe.tasks.vision.hand_landmarker.proto.HandLandmarkerGraphOptions.toObject(e, this) - } - , - proto.mediapipe.tasks.vision.hand_landmarker.proto.HandLandmarkerGraphOptions.toObject = function(e, r) { - var o, i = { - baseOptions: (o = r.getBaseOptions()) && n.BaseOptions.toObject(e, o), - handDetectorGraphOptions: (o = r.getHandDetectorGraphOptions()) && s.HandDetectorGraphOptions.toObject(e, o), - handLandmarksDetectorGraphOptions: (o = r.getHandLandmarksDetectorGraphOptions()) && p.HandLandmarksDetectorGraphOptions.toObject(e, o), - minTrackingConfidence: t.Message.getFloatingPointFieldWithDefault(r, 4, .5) - }; - return e && (i.$jspbMessageInstance = r), - i - } - ), - proto.mediapipe.tasks.vision.hand_landmarker.proto.HandLandmarkerGraphOptions.deserializeBinary = function(e) { - var r = new t.BinaryReader(e) - , o = new proto.mediapipe.tasks.vision.hand_landmarker.proto.HandLandmarkerGraphOptions; - return proto.mediapipe.tasks.vision.hand_landmarker.proto.HandLandmarkerGraphOptions.deserializeBinaryFromReader(o, r) - } - , - proto.mediapipe.tasks.vision.hand_landmarker.proto.HandLandmarkerGraphOptions.deserializeBinaryFromReader = function(e, t) { - for (; t.nextField() && !t.isEndGroup(); ) { - switch (t.getFieldNumber()) { - case 1: - var r = new n.BaseOptions; - t.readMessage(r, n.BaseOptions.deserializeBinaryFromReader), - e.setBaseOptions(r); - break; - case 2: - r = new s.HandDetectorGraphOptions; - t.readMessage(r, s.HandDetectorGraphOptions.deserializeBinaryFromReader), - e.setHandDetectorGraphOptions(r); - break; - case 3: - r = new p.HandLandmarksDetectorGraphOptions; - t.readMessage(r, p.HandLandmarksDetectorGraphOptions.deserializeBinaryFromReader), - e.setHandLandmarksDetectorGraphOptions(r); - break; - case 4: - r = t.readFloat(); - e.setMinTrackingConfidence(r); - break; - default: - t.skipField() - } - } - return e - } - , - proto.mediapipe.tasks.vision.hand_landmarker.proto.HandLandmarkerGraphOptions.prototype.serializeBinary = function() { - var e = new t.BinaryWriter; - return proto.mediapipe.tasks.vision.hand_landmarker.proto.HandLandmarkerGraphOptions.serializeBinaryToWriter(this, e), - e.getResultBuffer() - } - , - proto.mediapipe.tasks.vision.hand_landmarker.proto.HandLandmarkerGraphOptions.serializeBinaryToWriter = function(e, r) { - var o = void 0; - null != (o = e.getBaseOptions()) && r.writeMessage(1, o, n.BaseOptions.serializeBinaryToWriter), - null != (o = e.getHandDetectorGraphOptions()) && r.writeMessage(2, o, s.HandDetectorGraphOptions.serializeBinaryToWriter), - null != (o = e.getHandLandmarksDetectorGraphOptions()) && r.writeMessage(3, o, p.HandLandmarksDetectorGraphOptions.serializeBinaryToWriter), - null != (o = t.Message.getField(e, 4)) && r.writeFloat(4, o) - } - , - proto.mediapipe.tasks.vision.hand_landmarker.proto.HandLandmarkerGraphOptions.ext = new t.ExtensionFieldInfo(462713202,{ - ext: 0 - },proto.mediapipe.tasks.vision.hand_landmarker.proto.HandLandmarkerGraphOptions,proto.mediapipe.tasks.vision.hand_landmarker.proto.HandLandmarkerGraphOptions.toObject,0), - a.CalculatorOptions.extensionsBinary[462713202] = new t.ExtensionFieldBinaryInfo(proto.mediapipe.tasks.vision.hand_landmarker.proto.HandLandmarkerGraphOptions.ext,t.BinaryReader.prototype.readMessage,t.BinaryWriter.prototype.writeMessage,proto.mediapipe.tasks.vision.hand_landmarker.proto.HandLandmarkerGraphOptions.serializeBinaryToWriter,proto.mediapipe.tasks.vision.hand_landmarker.proto.HandLandmarkerGraphOptions.deserializeBinaryFromReader,!1), - a.CalculatorOptions.extensions[462713202] = proto.mediapipe.tasks.vision.hand_landmarker.proto.HandLandmarkerGraphOptions.ext, - proto.mediapipe.tasks.vision.hand_landmarker.proto.HandLandmarkerGraphOptions.prototype.getBaseOptions = function() { - return t.Message.getWrapperField(this, n.BaseOptions, 1) - } - , - proto.mediapipe.tasks.vision.hand_landmarker.proto.HandLandmarkerGraphOptions.prototype.setBaseOptions = function(e) { - return t.Message.setWrapperField(this, 1, e) - } - , - proto.mediapipe.tasks.vision.hand_landmarker.proto.HandLandmarkerGraphOptions.prototype.clearBaseOptions = function() { - return this.setBaseOptions(void 0) - } - , - proto.mediapipe.tasks.vision.hand_landmarker.proto.HandLandmarkerGraphOptions.prototype.hasBaseOptions = function() { - return null != t.Message.getField(this, 1) - } - , - proto.mediapipe.tasks.vision.hand_landmarker.proto.HandLandmarkerGraphOptions.prototype.getHandDetectorGraphOptions = function() { - return t.Message.getWrapperField(this, s.HandDetectorGraphOptions, 2) - } - , - proto.mediapipe.tasks.vision.hand_landmarker.proto.HandLandmarkerGraphOptions.prototype.setHandDetectorGraphOptions = function(e) { - return t.Message.setWrapperField(this, 2, e) - } - , - proto.mediapipe.tasks.vision.hand_landmarker.proto.HandLandmarkerGraphOptions.prototype.clearHandDetectorGraphOptions = function() { - return this.setHandDetectorGraphOptions(void 0) - } - , - proto.mediapipe.tasks.vision.hand_landmarker.proto.HandLandmarkerGraphOptions.prototype.hasHandDetectorGraphOptions = function() { - return null != t.Message.getField(this, 2) - } - , - proto.mediapipe.tasks.vision.hand_landmarker.proto.HandLandmarkerGraphOptions.prototype.getHandLandmarksDetectorGraphOptions = function() { - return t.Message.getWrapperField(this, p.HandLandmarksDetectorGraphOptions, 3) - } - , - proto.mediapipe.tasks.vision.hand_landmarker.proto.HandLandmarkerGraphOptions.prototype.setHandLandmarksDetectorGraphOptions = function(e) { - return t.Message.setWrapperField(this, 3, e) - } - , - proto.mediapipe.tasks.vision.hand_landmarker.proto.HandLandmarkerGraphOptions.prototype.clearHandLandmarksDetectorGraphOptions = function() { - return this.setHandLandmarksDetectorGraphOptions(void 0) - } - , - proto.mediapipe.tasks.vision.hand_landmarker.proto.HandLandmarkerGraphOptions.prototype.hasHandLandmarksDetectorGraphOptions = function() { - return null != t.Message.getField(this, 3) - } - , - proto.mediapipe.tasks.vision.hand_landmarker.proto.HandLandmarkerGraphOptions.prototype.getMinTrackingConfidence = function() { - return t.Message.getFloatingPointFieldWithDefault(this, 4, .5) - } - , - proto.mediapipe.tasks.vision.hand_landmarker.proto.HandLandmarkerGraphOptions.prototype.setMinTrackingConfidence = function(e) { - return t.Message.setField(this, 4, e) - } - , - proto.mediapipe.tasks.vision.hand_landmarker.proto.HandLandmarkerGraphOptions.prototype.clearMinTrackingConfidence = function() { - return t.Message.setField(this, 4, void 0) - } - , - proto.mediapipe.tasks.vision.hand_landmarker.proto.HandLandmarkerGraphOptions.prototype.hasMinTrackingConfidence = function() { - return null != t.Message.getField(this, 4) - } - , - proto.mediapipe.tasks.vision.hand_landmarker.proto.HandLandmarkerGraphOptions.ext = new t.ExtensionFieldInfo(462713202,{ - ext: 0 - },proto.mediapipe.tasks.vision.hand_landmarker.proto.HandLandmarkerGraphOptions,proto.mediapipe.tasks.vision.hand_landmarker.proto.HandLandmarkerGraphOptions.toObject,0), - a.CalculatorOptions.extensionsBinary[462713202] = new t.ExtensionFieldBinaryInfo(proto.mediapipe.tasks.vision.hand_landmarker.proto.HandLandmarkerGraphOptions.ext,t.BinaryReader.prototype.readMessage,t.BinaryWriter.prototype.writeMessage,proto.mediapipe.tasks.vision.hand_landmarker.proto.HandLandmarkerGraphOptions.serializeBinaryToWriter,proto.mediapipe.tasks.vision.hand_landmarker.proto.HandLandmarkerGraphOptions.deserializeBinaryFromReader,!1), - a.CalculatorOptions.extensions[462713202] = proto.mediapipe.tasks.vision.hand_landmarker.proto.HandLandmarkerGraphOptions.ext, - r.object.extend(e, proto.mediapipe.tasks.vision.hand_landmarker.proto) -}(hand_landmarker_graph_options_pb), -function(e) { - var t = googleProtobuf - , r = t - , o = "undefined" != typeof globalThis && globalThis || "undefined" != typeof window && window || void 0 !== o && o || "undefined" != typeof self && self || function() { - return this - } - .call(null) || Function("return this")() - , i = calculator_pb; - r.object.extend(proto, i); - var a = calculator_options_pb; - r.object.extend(proto, a); - var n = base_options_pb; - r.object.extend(proto, n); - var s = hand_gesture_recognizer_graph_options_pb; - r.object.extend(proto, s); - var p = hand_landmarker_graph_options_pb; - r.object.extend(proto, p), - r.exportSymbol("proto.mediapipe.tasks.vision.gesture_recognizer.proto.GestureRecognizerGraphOptions", null, o), - proto.mediapipe.tasks.vision.gesture_recognizer.proto.GestureRecognizerGraphOptions = function(e) { - t.Message.initialize(this, e, 0, -1, null, null) - } - , - r.inherits(proto.mediapipe.tasks.vision.gesture_recognizer.proto.GestureRecognizerGraphOptions, t.Message), - r.DEBUG && !COMPILED && (proto.mediapipe.tasks.vision.gesture_recognizer.proto.GestureRecognizerGraphOptions.displayName = "proto.mediapipe.tasks.vision.gesture_recognizer.proto.GestureRecognizerGraphOptions"), - t.Message.GENERATE_TO_OBJECT && (proto.mediapipe.tasks.vision.gesture_recognizer.proto.GestureRecognizerGraphOptions.prototype.toObject = function(e) { - return proto.mediapipe.tasks.vision.gesture_recognizer.proto.GestureRecognizerGraphOptions.toObject(e, this) - } - , - proto.mediapipe.tasks.vision.gesture_recognizer.proto.GestureRecognizerGraphOptions.toObject = function(e, t) { - var r, o = { - baseOptions: (r = t.getBaseOptions()) && n.BaseOptions.toObject(e, r), - handLandmarkerGraphOptions: (r = t.getHandLandmarkerGraphOptions()) && p.HandLandmarkerGraphOptions.toObject(e, r), - handGestureRecognizerGraphOptions: (r = t.getHandGestureRecognizerGraphOptions()) && s.HandGestureRecognizerGraphOptions.toObject(e, r) - }; - return e && (o.$jspbMessageInstance = t), - o - } - ), - proto.mediapipe.tasks.vision.gesture_recognizer.proto.GestureRecognizerGraphOptions.deserializeBinary = function(e) { - var r = new t.BinaryReader(e) - , o = new proto.mediapipe.tasks.vision.gesture_recognizer.proto.GestureRecognizerGraphOptions; - return proto.mediapipe.tasks.vision.gesture_recognizer.proto.GestureRecognizerGraphOptions.deserializeBinaryFromReader(o, r) - } - , - proto.mediapipe.tasks.vision.gesture_recognizer.proto.GestureRecognizerGraphOptions.deserializeBinaryFromReader = function(e, t) { - for (; t.nextField() && !t.isEndGroup(); ) { - switch (t.getFieldNumber()) { - case 1: - var r = new n.BaseOptions; - t.readMessage(r, n.BaseOptions.deserializeBinaryFromReader), - e.setBaseOptions(r); - break; - case 2: - r = new p.HandLandmarkerGraphOptions; - t.readMessage(r, p.HandLandmarkerGraphOptions.deserializeBinaryFromReader), - e.setHandLandmarkerGraphOptions(r); - break; - case 3: - r = new s.HandGestureRecognizerGraphOptions; - t.readMessage(r, s.HandGestureRecognizerGraphOptions.deserializeBinaryFromReader), - e.setHandGestureRecognizerGraphOptions(r); - break; - default: - t.skipField() - } - } - return e - } - , - proto.mediapipe.tasks.vision.gesture_recognizer.proto.GestureRecognizerGraphOptions.prototype.serializeBinary = function() { - var e = new t.BinaryWriter; - return proto.mediapipe.tasks.vision.gesture_recognizer.proto.GestureRecognizerGraphOptions.serializeBinaryToWriter(this, e), - e.getResultBuffer() - } - , - proto.mediapipe.tasks.vision.gesture_recognizer.proto.GestureRecognizerGraphOptions.serializeBinaryToWriter = function(e, t) { - var r = void 0; - null != (r = e.getBaseOptions()) && t.writeMessage(1, r, n.BaseOptions.serializeBinaryToWriter), - null != (r = e.getHandLandmarkerGraphOptions()) && t.writeMessage(2, r, p.HandLandmarkerGraphOptions.serializeBinaryToWriter), - null != (r = e.getHandGestureRecognizerGraphOptions()) && t.writeMessage(3, r, s.HandGestureRecognizerGraphOptions.serializeBinaryToWriter) - } - , - proto.mediapipe.tasks.vision.gesture_recognizer.proto.GestureRecognizerGraphOptions.ext = new t.ExtensionFieldInfo(479097054,{ - ext: 0 - },proto.mediapipe.tasks.vision.gesture_recognizer.proto.GestureRecognizerGraphOptions,proto.mediapipe.tasks.vision.gesture_recognizer.proto.GestureRecognizerGraphOptions.toObject,0), - a.CalculatorOptions.extensionsBinary[479097054] = new t.ExtensionFieldBinaryInfo(proto.mediapipe.tasks.vision.gesture_recognizer.proto.GestureRecognizerGraphOptions.ext,t.BinaryReader.prototype.readMessage,t.BinaryWriter.prototype.writeMessage,proto.mediapipe.tasks.vision.gesture_recognizer.proto.GestureRecognizerGraphOptions.serializeBinaryToWriter,proto.mediapipe.tasks.vision.gesture_recognizer.proto.GestureRecognizerGraphOptions.deserializeBinaryFromReader,!1), - a.CalculatorOptions.extensions[479097054] = proto.mediapipe.tasks.vision.gesture_recognizer.proto.GestureRecognizerGraphOptions.ext, - proto.mediapipe.tasks.vision.gesture_recognizer.proto.GestureRecognizerGraphOptions.prototype.getBaseOptions = function() { - return t.Message.getWrapperField(this, n.BaseOptions, 1) - } - , - proto.mediapipe.tasks.vision.gesture_recognizer.proto.GestureRecognizerGraphOptions.prototype.setBaseOptions = function(e) { - return t.Message.setWrapperField(this, 1, e) - } - , - proto.mediapipe.tasks.vision.gesture_recognizer.proto.GestureRecognizerGraphOptions.prototype.clearBaseOptions = function() { - return this.setBaseOptions(void 0) - } - , - proto.mediapipe.tasks.vision.gesture_recognizer.proto.GestureRecognizerGraphOptions.prototype.hasBaseOptions = function() { - return null != t.Message.getField(this, 1) - } - , - proto.mediapipe.tasks.vision.gesture_recognizer.proto.GestureRecognizerGraphOptions.prototype.getHandLandmarkerGraphOptions = function() { - return t.Message.getWrapperField(this, p.HandLandmarkerGraphOptions, 2) - } - , - proto.mediapipe.tasks.vision.gesture_recognizer.proto.GestureRecognizerGraphOptions.prototype.setHandLandmarkerGraphOptions = function(e) { - return t.Message.setWrapperField(this, 2, e) - } - , - proto.mediapipe.tasks.vision.gesture_recognizer.proto.GestureRecognizerGraphOptions.prototype.clearHandLandmarkerGraphOptions = function() { - return this.setHandLandmarkerGraphOptions(void 0) - } - , - proto.mediapipe.tasks.vision.gesture_recognizer.proto.GestureRecognizerGraphOptions.prototype.hasHandLandmarkerGraphOptions = function() { - return null != t.Message.getField(this, 2) - } - , - proto.mediapipe.tasks.vision.gesture_recognizer.proto.GestureRecognizerGraphOptions.prototype.getHandGestureRecognizerGraphOptions = function() { - return t.Message.getWrapperField(this, s.HandGestureRecognizerGraphOptions, 3) - } - , - proto.mediapipe.tasks.vision.gesture_recognizer.proto.GestureRecognizerGraphOptions.prototype.setHandGestureRecognizerGraphOptions = function(e) { - return t.Message.setWrapperField(this, 3, e) - } - , - proto.mediapipe.tasks.vision.gesture_recognizer.proto.GestureRecognizerGraphOptions.prototype.clearHandGestureRecognizerGraphOptions = function() { - return this.setHandGestureRecognizerGraphOptions(void 0) - } - , - proto.mediapipe.tasks.vision.gesture_recognizer.proto.GestureRecognizerGraphOptions.prototype.hasHandGestureRecognizerGraphOptions = function() { - return null != t.Message.getField(this, 3) - } - , - proto.mediapipe.tasks.vision.gesture_recognizer.proto.GestureRecognizerGraphOptions.ext = new t.ExtensionFieldInfo(479097054,{ - ext: 0 - },proto.mediapipe.tasks.vision.gesture_recognizer.proto.GestureRecognizerGraphOptions,proto.mediapipe.tasks.vision.gesture_recognizer.proto.GestureRecognizerGraphOptions.toObject,0), - a.CalculatorOptions.extensionsBinary[479097054] = new t.ExtensionFieldBinaryInfo(proto.mediapipe.tasks.vision.gesture_recognizer.proto.GestureRecognizerGraphOptions.ext,t.BinaryReader.prototype.readMessage,t.BinaryWriter.prototype.writeMessage,proto.mediapipe.tasks.vision.gesture_recognizer.proto.GestureRecognizerGraphOptions.serializeBinaryToWriter,proto.mediapipe.tasks.vision.gesture_recognizer.proto.GestureRecognizerGraphOptions.deserializeBinaryFromReader,!1), - a.CalculatorOptions.extensions[479097054] = proto.mediapipe.tasks.vision.gesture_recognizer.proto.GestureRecognizerGraphOptions.ext, - r.object.extend(e, proto.mediapipe.tasks.vision.gesture_recognizer.proto) -}(gesture_recognizer_graph_options_pb); -var classifier_options = {}; -Object.defineProperty(classifier_options, "__esModule", { - value: !0 -}), -classifier_options.convertClassifierOptionsToProto = void 0; -const classifier_options_pb_1 = classifier_options_pb; -function convertClassifierOptionsToProto(e, t) { - const r = t ? t.clone() : new classifier_options_pb_1.ClassifierOptions; - return void 0 !== e.displayNamesLocale ? r.setDisplayNamesLocale(e.displayNamesLocale) : void 0 === e.displayNamesLocale && r.clearDisplayNamesLocale(), - void 0 !== e.maxResults ? r.setMaxResults(e.maxResults) : "maxResults"in e && r.clearMaxResults(), - void 0 !== e.scoreThreshold ? r.setScoreThreshold(e.scoreThreshold) : "scoreThreshold"in e && r.clearScoreThreshold(), - void 0 !== e.categoryAllowlist ? r.setCategoryAllowlistList(e.categoryAllowlist) : "categoryAllowlist"in e && r.clearCategoryAllowlistList(), - void 0 !== e.categoryDenylist ? r.setCategoryDenylistList(e.categoryDenylist) : "categoryDenylist"in e && r.clearCategoryDenylistList(), - r -} -classifier_options.convertClassifierOptionsToProto = convertClassifierOptionsToProto; -var hand_landmarks_connections = {}; -Object.defineProperty(hand_landmarks_connections, "__esModule", { - value: !0 -}), -hand_landmarks_connections.HAND_CONNECTIONS = void 0, -hand_landmarks_connections.HAND_CONNECTIONS = [{ - start: 0, - end: 1 -}, { - start: 1, - end: 2 -}, { - start: 2, - end: 3 -}, { - start: 3, - end: 4 -}, { - start: 0, - end: 5 -}, { - start: 5, - end: 6 -}, { - start: 6, - end: 7 -}, { - start: 7, - end: 8 -}, { - start: 5, - end: 9 -}, { - start: 9, - end: 10 -}, { - start: 10, - end: 11 -}, { - start: 11, - end: 12 -}, { - start: 9, - end: 13 -}, { - start: 13, - end: 14 -}, { - start: 14, - end: 15 -}, { - start: 15, - end: 16 -}, { - start: 13, - end: 17 -}, { - start: 0, - end: 17 -}, { - start: 17, - end: 18 -}, { - start: 18, - end: 19 -}, { - start: 19, - end: 20 -}]; -var gesture_recognizer_options = {}; -Object.defineProperty(gesture_recognizer_options, "__esModule", { - value: !0 -}); -var gesture_recognizer_result = {}; -Object.defineProperty(gesture_recognizer_result, "__esModule", { - value: !0 -}), -function(e) { - var t = commonjsGlobal && commonjsGlobal.__createBinding || (Object.create ? function(e, t, r, o) { - void 0 === o && (o = r); - var i = Object.getOwnPropertyDescriptor(t, r); - i && !("get"in i ? !t.__esModule : i.writable || i.configurable) || (i = { - enumerable: !0, - get: function() { - return t[r] - } - }), - Object.defineProperty(e, o, i) - } - : function(e, t, r, o) { - void 0 === o && (o = r), - e[o] = t[r] - } - ) - , r = commonjsGlobal && commonjsGlobal.__exportStar || function(e, r) { - for (var o in e) - "default" === o || Object.prototype.hasOwnProperty.call(r, o) || t(r, e, o) - } - ; - Object.defineProperty(e, "__esModule", { - value: !0 - }), - e.GestureRecognizer = void 0; - const o = calculator_pb - , i = calculator_options_pb - , a = classification_pb - , n = landmark_pb - , s = base_options_pb - , p = gesture_classifier_graph_options_pb - , d = gesture_recognizer_graph_options_pb - , l = hand_gesture_recognizer_graph_options_pb - , g = hand_detector_graph_options_pb - , c = hand_landmarker_graph_options_pb - , u = hand_landmarks_detector_graph_options_pb - , m = classifier_options - , f = vision_task_runner - , h = hand_landmarks_connections; - r(gesture_recognizer_options, e), - r(gesture_recognizer_result, e); - const y = "image_in" - , b = "norm_rect" - , _ = "hand_gestures" - , O = "hand_landmarks" - , F = "world_hand_landmarks" - , M = "handedness" - , R = .5; - class k extends f.VisionTaskRunner { - static createFromOptions(e, t) { - return f.VisionTaskRunner.createVisionInstance(k, e, t) - } - static createFromModelBuffer(e, t) { - return f.VisionTaskRunner.createVisionInstance(k, e, { - baseOptions: { - modelAssetBuffer: t - } - }) - } - static createFromModelPath(e, t) { - return f.VisionTaskRunner.createVisionInstance(k, e, { - baseOptions: { - modelAssetPath: t - } - }) - } - constructor(e, t) { - super(new f.VisionGraphRunner(e,t), y, b, !1), - this.gestures = [], - this.landmarks = [], - this.worldLandmarks = [], - this.handednesses = [], - this.options = new d.GestureRecognizerGraphOptions, - this.options.setBaseOptions(new s.BaseOptions), - this.handLandmarkerGraphOptions = new c.HandLandmarkerGraphOptions, - this.options.setHandLandmarkerGraphOptions(this.handLandmarkerGraphOptions), - this.handLandmarksDetectorGraphOptions = new u.HandLandmarksDetectorGraphOptions, - this.handLandmarkerGraphOptions.setHandLandmarksDetectorGraphOptions(this.handLandmarksDetectorGraphOptions), - this.handDetectorGraphOptions = new g.HandDetectorGraphOptions, - this.handLandmarkerGraphOptions.setHandDetectorGraphOptions(this.handDetectorGraphOptions), - this.handGestureRecognizerGraphOptions = new l.HandGestureRecognizerGraphOptions, - this.options.setHandGestureRecognizerGraphOptions(this.handGestureRecognizerGraphOptions), - this.handDetectorGraphOptions.setMinDetectionConfidence(R), - this.handLandmarkerGraphOptions.setMinTrackingConfidence(R), - this.handLandmarksDetectorGraphOptions.setMinDetectionConfidence(R) - } - get baseOptions() { - return this.options.getBaseOptions() - } - set baseOptions(e) { - this.options.setBaseOptions(e) - } - setOptions(e) { - var t, r, o, i, a, n, s, d; - if (this.handDetectorGraphOptions.setNumHands(null !== (t = e.numHands) && void 0 !== t ? t : 1), - "minHandDetectionConfidence"in e && this.handDetectorGraphOptions.setMinDetectionConfidence(null !== (r = e.minHandDetectionConfidence) && void 0 !== r ? r : R), - "minTrackingConfidence"in e && this.handLandmarkerGraphOptions.setMinTrackingConfidence(null !== (o = e.minTrackingConfidence) && void 0 !== o ? o : R), - "minHandPresenceConfidence"in e && this.handLandmarksDetectorGraphOptions.setMinDetectionConfidence(null !== (i = e.minHandPresenceConfidence) && void 0 !== i ? i : R), - e.cannedGesturesClassifierOptions) { - const t = new p.GestureClassifierGraphOptions; - t.setClassifierOptions((0, - m.convertClassifierOptionsToProto)(e.cannedGesturesClassifierOptions, null === (a = this.handGestureRecognizerGraphOptions.getCannedGestureClassifierGraphOptions()) || void 0 === a ? void 0 : a.getClassifierOptions())), - this.handGestureRecognizerGraphOptions.setCannedGestureClassifierGraphOptions(t) - } else - void 0 === e.cannedGesturesClassifierOptions && (null === (n = this.handGestureRecognizerGraphOptions.getCannedGestureClassifierGraphOptions()) || void 0 === n || n.clearClassifierOptions()); - if (e.customGesturesClassifierOptions) { - const t = new p.GestureClassifierGraphOptions; - t.setClassifierOptions((0, - m.convertClassifierOptionsToProto)(e.customGesturesClassifierOptions, null === (s = this.handGestureRecognizerGraphOptions.getCustomGestureClassifierGraphOptions()) || void 0 === s ? void 0 : s.getClassifierOptions())), - this.handGestureRecognizerGraphOptions.setCustomGestureClassifierGraphOptions(t) - } else - void 0 === e.customGesturesClassifierOptions && (null === (d = this.handGestureRecognizerGraphOptions.getCustomGestureClassifierGraphOptions()) || void 0 === d || d.clearClassifierOptions()); - return this.applyOptions(e) - } - recognize(e, t) { - return this.resetResults(), - this.processImageData(e, t), - this.processResults() - } - recognizeForVideo(e, t, r) { - return this.resetResults(), - this.processVideoData(e, r, t), - this.processResults() - } - resetResults() { - this.gestures = [], - this.landmarks = [], - this.worldLandmarks = [], - this.handednesses = [] - } - processResults() { - return 0 === this.gestures.length ? { - gestures: [], - landmarks: [], - worldLandmarks: [], - handednesses: [] - } : { - gestures: this.gestures, - landmarks: this.landmarks, - worldLandmarks: this.worldLandmarks, - handednesses: this.handednesses - } - } - toJsCategories(e, t=!0) { - var r, o, i; - const n = []; - for (const s of e) { - const e = a.ClassificationList.deserializeBinary(s) - , p = []; - for (const a of e.getClassificationList()) { - const e = t && a.hasIndex() ? a.getIndex() : -1; - p.push({ - score: null !== (r = a.getScore()) && void 0 !== r ? r : 0, - index: e, - categoryName: null !== (o = a.getLabel()) && void 0 !== o ? o : "", - displayName: null !== (i = a.getDisplayName()) && void 0 !== i ? i : "" - }) - } - n.push(p) - } - return n - } - addJsLandmarks(e) { - var t, r, o; - for (const i of e) { - const e = n.NormalizedLandmarkList.deserializeBinary(i) - , a = []; - for (const i of e.getLandmarkList()) - a.push({ - x: null !== (t = i.getX()) && void 0 !== t ? t : 0, - y: null !== (r = i.getY()) && void 0 !== r ? r : 0, - z: null !== (o = i.getZ()) && void 0 !== o ? o : 0 - }); - this.landmarks.push(a) - } - } - adddJsWorldLandmarks(e) { - var t, r, o; - for (const i of e) { - const e = n.LandmarkList.deserializeBinary(i) - , a = []; - for (const i of e.getLandmarkList()) - a.push({ - x: null !== (t = i.getX()) && void 0 !== t ? t : 0, - y: null !== (r = i.getY()) && void 0 !== r ? r : 0, - z: null !== (o = i.getZ()) && void 0 !== o ? o : 0 - }); - this.worldLandmarks.push(a) - } - } - refreshGraph() { - const e = new o.CalculatorGraphConfig; - e.addInputStream(y), - e.addInputStream(b), - e.addOutputStream(_), - e.addOutputStream(O), - e.addOutputStream(F), - e.addOutputStream(M); - const t = new i.CalculatorOptions; - t.setExtension(d.GestureRecognizerGraphOptions.ext, this.options); - const r = new o.CalculatorGraphConfig.Node; - r.setCalculator("mediapipe.tasks.vision.gesture_recognizer.GestureRecognizerGraph"), - r.addInputStream("IMAGE:" + y), - r.addInputStream("NORM_RECT:" + b), - r.addOutputStream("HAND_GESTURES:" + _), - r.addOutputStream("LANDMARKS:" + O), - r.addOutputStream("WORLD_LANDMARKS:" + F), - r.addOutputStream("HANDEDNESS:" + M), - r.setOptions(t), - e.addNode(r), - this.graphRunner.attachProtoVectorListener(O, ((e,t)=>{ - this.addJsLandmarks(e), - this.setLatestOutputTimestamp(t) - } - )), - this.graphRunner.attachEmptyPacketListener(O, (e=>{ - this.setLatestOutputTimestamp(e) - } - )), - this.graphRunner.attachProtoVectorListener(F, ((e,t)=>{ - this.adddJsWorldLandmarks(e), - this.setLatestOutputTimestamp(t) - } - )), - this.graphRunner.attachEmptyPacketListener(F, (e=>{ - this.setLatestOutputTimestamp(e) - } - )), - this.graphRunner.attachProtoVectorListener(_, ((e,t)=>{ - this.gestures.push(...this.toJsCategories(e, !1)), - this.setLatestOutputTimestamp(t) - } - )), - this.graphRunner.attachEmptyPacketListener(_, (e=>{ - this.setLatestOutputTimestamp(e) - } - )), - this.graphRunner.attachProtoVectorListener(M, ((e,t)=>{ - this.handednesses.push(...this.toJsCategories(e)), - this.setLatestOutputTimestamp(t) - } - )), - this.graphRunner.attachEmptyPacketListener(M, (e=>{ - this.setLatestOutputTimestamp(e) - } - )); - const a = e.serializeBinary(); - this.setGraph(new Uint8Array(a), !0) - } - } - e.GestureRecognizer = k, - k.HAND_CONNECTIONS = h.HAND_CONNECTIONS -}(gesture_recognizer); -var hand_landmarker = {} - , hand_landmarker_options = {}; -Object.defineProperty(hand_landmarker_options, "__esModule", { - value: !0 -}); -var hand_landmarker_result = {}; -Object.defineProperty(hand_landmarker_result, "__esModule", { - value: !0 -}), -function(e) { - var t = commonjsGlobal && commonjsGlobal.__createBinding || (Object.create ? function(e, t, r, o) { - void 0 === o && (o = r); - var i = Object.getOwnPropertyDescriptor(t, r); - i && !("get"in i ? !t.__esModule : i.writable || i.configurable) || (i = { - enumerable: !0, - get: function() { - return t[r] - } - }), - Object.defineProperty(e, o, i) - } - : function(e, t, r, o) { - void 0 === o && (o = r), - e[o] = t[r] - } - ) - , r = commonjsGlobal && commonjsGlobal.__exportStar || function(e, r) { - for (var o in e) - "default" === o || Object.prototype.hasOwnProperty.call(r, o) || t(r, e, o) - } - ; - Object.defineProperty(e, "__esModule", { - value: !0 - }), - e.HandLandmarker = void 0; - const o = calculator_pb - , i = calculator_options_pb - , a = classification_pb - , n = landmark_pb - , s = base_options_pb - , p = hand_detector_graph_options_pb - , d = hand_landmarker_graph_options_pb - , l = hand_landmarks_detector_graph_options_pb - , g = landmark_result - , c = vision_task_runner - , u = hand_landmarks_connections; - r(hand_landmarker_options, e), - r(hand_landmarker_result, e); - const m = "image_in" - , f = "norm_rect" - , h = "hand_landmarks" - , y = "world_hand_landmarks" - , b = "handedness" - , _ = .5; - class O extends c.VisionTaskRunner { - static createFromOptions(e, t) { - return c.VisionTaskRunner.createVisionInstance(O, e, t) - } - static createFromModelBuffer(e, t) { - return c.VisionTaskRunner.createVisionInstance(O, e, { - baseOptions: { - modelAssetBuffer: t - } - }) - } - static createFromModelPath(e, t) { - return c.VisionTaskRunner.createVisionInstance(O, e, { - baseOptions: { - modelAssetPath: t - } - }) - } - constructor(e, t) { - super(new c.VisionGraphRunner(e,t), m, f, !1), - this.landmarks = [], - this.worldLandmarks = [], - this.handednesses = [], - this.options = new d.HandLandmarkerGraphOptions, - this.options.setBaseOptions(new s.BaseOptions), - this.handLandmarksDetectorGraphOptions = new l.HandLandmarksDetectorGraphOptions, - this.options.setHandLandmarksDetectorGraphOptions(this.handLandmarksDetectorGraphOptions), - this.handDetectorGraphOptions = new p.HandDetectorGraphOptions, - this.options.setHandDetectorGraphOptions(this.handDetectorGraphOptions), - this.initDefaults() - } - get baseOptions() { - return this.options.getBaseOptions() - } - set baseOptions(e) { - this.options.setBaseOptions(e) - } - setOptions(e) { - var t, r, o, i; - return "numHands"in e && this.handDetectorGraphOptions.setNumHands(null !== (t = e.numHands) && void 0 !== t ? t : 1), - "minHandDetectionConfidence"in e && this.handDetectorGraphOptions.setMinDetectionConfidence(null !== (r = e.minHandDetectionConfidence) && void 0 !== r ? r : _), - "minTrackingConfidence"in e && this.options.setMinTrackingConfidence(null !== (o = e.minTrackingConfidence) && void 0 !== o ? o : _), - "minHandPresenceConfidence"in e && this.handLandmarksDetectorGraphOptions.setMinDetectionConfidence(null !== (i = e.minHandPresenceConfidence) && void 0 !== i ? i : _), - this.applyOptions(e) - } - detect(e, t) { - return this.resetResults(), - this.processImageData(e, t), - this.processResults() - } - detectForVideo(e, t, r) { - return this.resetResults(), - this.processVideoData(e, r, t), - this.processResults() - } - resetResults() { - this.landmarks = [], - this.worldLandmarks = [], - this.handednesses = [] - } - processResults() { - return { - landmarks: this.landmarks, - worldLandmarks: this.worldLandmarks, - handednesses: this.handednesses - } - } - initDefaults() { - this.handDetectorGraphOptions.setNumHands(1), - this.handDetectorGraphOptions.setMinDetectionConfidence(_), - this.handLandmarksDetectorGraphOptions.setMinDetectionConfidence(_), - this.options.setMinTrackingConfidence(_) - } - toJsCategories(e) { - var t, r, o, i; - const n = []; - for (const s of e) { - const e = a.ClassificationList.deserializeBinary(s) - , p = []; - for (const a of e.getClassificationList()) - p.push({ - score: null !== (t = a.getScore()) && void 0 !== t ? t : 0, - index: null !== (r = a.getIndex()) && void 0 !== r ? r : -1, - categoryName: null !== (o = a.getLabel()) && void 0 !== o ? o : "", - displayName: null !== (i = a.getDisplayName()) && void 0 !== i ? i : "" - }); - n.push(p) - } - return n - } - addJsLandmarks(e) { - for (const t of e) { - const e = n.NormalizedLandmarkList.deserializeBinary(t); - this.landmarks.push((0, - g.convertToLandmarks)(e)) - } - } - adddJsWorldLandmarks(e) { - for (const t of e) { - const e = n.LandmarkList.deserializeBinary(t); - this.worldLandmarks.push((0, - g.convertToWorldLandmarks)(e)) - } - } - refreshGraph() { - const e = new o.CalculatorGraphConfig; - e.addInputStream(m), - e.addInputStream(f), - e.addOutputStream(h), - e.addOutputStream(y), - e.addOutputStream(b); - const t = new i.CalculatorOptions; - t.setExtension(d.HandLandmarkerGraphOptions.ext, this.options); - const r = new o.CalculatorGraphConfig.Node; - r.setCalculator("mediapipe.tasks.vision.hand_landmarker.HandLandmarkerGraph"), - r.addInputStream("IMAGE:" + m), - r.addInputStream("NORM_RECT:" + f), - r.addOutputStream("LANDMARKS:" + h), - r.addOutputStream("WORLD_LANDMARKS:" + y), - r.addOutputStream("HANDEDNESS:" + b), - r.setOptions(t), - e.addNode(r), - this.graphRunner.attachProtoVectorListener(h, ((e,t)=>{ - this.addJsLandmarks(e), - this.setLatestOutputTimestamp(t) - } - )), - this.graphRunner.attachEmptyPacketListener(h, (e=>{ - this.setLatestOutputTimestamp(e) - } - )), - this.graphRunner.attachProtoVectorListener(y, ((e,t)=>{ - this.adddJsWorldLandmarks(e), - this.setLatestOutputTimestamp(t) - } - )), - this.graphRunner.attachEmptyPacketListener(y, (e=>{ - this.setLatestOutputTimestamp(e) - } - )), - this.graphRunner.attachProtoVectorListener(b, ((e,t)=>{ - this.handednesses.push(...this.toJsCategories(e)), - this.setLatestOutputTimestamp(t) - } - )), - this.graphRunner.attachEmptyPacketListener(b, (e=>{ - this.setLatestOutputTimestamp(e) - } - )); - const a = e.serializeBinary(); - this.setGraph(new Uint8Array(a), !0) - } - } - e.HandLandmarker = O, - O.HAND_CONNECTIONS = u.HAND_CONNECTIONS -}(hand_landmarker); -var image_classifier = {} - , classifications_pb = {}; -!function(e) { - var t = googleProtobuf - , r = t - , o = "undefined" != typeof globalThis && globalThis || "undefined" != typeof window && window || void 0 !== o && o || "undefined" != typeof self && self || function() { - return this - } - .call(null) || Function("return this")() - , i = classification_pb; - r.object.extend(proto, i), - r.exportSymbol("proto.mediapipe.tasks.components.containers.proto.ClassificationResult", null, o), - r.exportSymbol("proto.mediapipe.tasks.components.containers.proto.Classifications", null, o), - proto.mediapipe.tasks.components.containers.proto.Classifications = function(e) { - t.Message.initialize(this, e, 0, -1, null, null) - } - , - r.inherits(proto.mediapipe.tasks.components.containers.proto.Classifications, t.Message), - r.DEBUG && !COMPILED && (proto.mediapipe.tasks.components.containers.proto.Classifications.displayName = "proto.mediapipe.tasks.components.containers.proto.Classifications"), - proto.mediapipe.tasks.components.containers.proto.ClassificationResult = function(e) { - t.Message.initialize(this, e, 0, -1, proto.mediapipe.tasks.components.containers.proto.ClassificationResult.repeatedFields_, null) - } - , - r.inherits(proto.mediapipe.tasks.components.containers.proto.ClassificationResult, t.Message), - r.DEBUG && !COMPILED && (proto.mediapipe.tasks.components.containers.proto.ClassificationResult.displayName = "proto.mediapipe.tasks.components.containers.proto.ClassificationResult"), - t.Message.GENERATE_TO_OBJECT && (proto.mediapipe.tasks.components.containers.proto.Classifications.prototype.toObject = function(e) { - return proto.mediapipe.tasks.components.containers.proto.Classifications.toObject(e, this) - } - , - proto.mediapipe.tasks.components.containers.proto.Classifications.toObject = function(e, r) { - var o, a = { - classificationList: (o = r.getClassificationList()) && i.ClassificationList.toObject(e, o), - headIndex: null == (o = t.Message.getField(r, 2)) ? void 0 : o, - headName: null == (o = t.Message.getField(r, 3)) ? void 0 : o - }; - return e && (a.$jspbMessageInstance = r), - a - } - ), - proto.mediapipe.tasks.components.containers.proto.Classifications.deserializeBinary = function(e) { - var r = new t.BinaryReader(e) - , o = new proto.mediapipe.tasks.components.containers.proto.Classifications; - return proto.mediapipe.tasks.components.containers.proto.Classifications.deserializeBinaryFromReader(o, r) - } - , - proto.mediapipe.tasks.components.containers.proto.Classifications.deserializeBinaryFromReader = function(e, t) { - for (; t.nextField() && !t.isEndGroup(); ) { - switch (t.getFieldNumber()) { - case 4: - var r = new i.ClassificationList; - t.readMessage(r, i.ClassificationList.deserializeBinaryFromReader), - e.setClassificationList(r); - break; - case 2: - r = t.readInt32(); - e.setHeadIndex(r); - break; - case 3: - r = t.readString(); - e.setHeadName(r); - break; - default: - t.skipField() - } - } - return e - } - , - proto.mediapipe.tasks.components.containers.proto.Classifications.prototype.serializeBinary = function() { - var e = new t.BinaryWriter; - return proto.mediapipe.tasks.components.containers.proto.Classifications.serializeBinaryToWriter(this, e), - e.getResultBuffer() - } - , - proto.mediapipe.tasks.components.containers.proto.Classifications.serializeBinaryToWriter = function(e, r) { - var o = void 0; - null != (o = e.getClassificationList()) && r.writeMessage(4, o, i.ClassificationList.serializeBinaryToWriter), - null != (o = t.Message.getField(e, 2)) && r.writeInt32(2, o), - null != (o = t.Message.getField(e, 3)) && r.writeString(3, o) - } - , - proto.mediapipe.tasks.components.containers.proto.Classifications.prototype.getClassificationList = function() { - return t.Message.getWrapperField(this, i.ClassificationList, 4) - } - , - proto.mediapipe.tasks.components.containers.proto.Classifications.prototype.setClassificationList = function(e) { - return t.Message.setWrapperField(this, 4, e) - } - , - proto.mediapipe.tasks.components.containers.proto.Classifications.prototype.clearClassificationList = function() { - return this.setClassificationList(void 0) - } - , - proto.mediapipe.tasks.components.containers.proto.Classifications.prototype.hasClassificationList = function() { - return null != t.Message.getField(this, 4) - } - , - proto.mediapipe.tasks.components.containers.proto.Classifications.prototype.getHeadIndex = function() { - return t.Message.getFieldWithDefault(this, 2, 0) - } - , - proto.mediapipe.tasks.components.containers.proto.Classifications.prototype.setHeadIndex = function(e) { - return t.Message.setField(this, 2, e) - } - , - proto.mediapipe.tasks.components.containers.proto.Classifications.prototype.clearHeadIndex = function() { - return t.Message.setField(this, 2, void 0) - } - , - proto.mediapipe.tasks.components.containers.proto.Classifications.prototype.hasHeadIndex = function() { - return null != t.Message.getField(this, 2) - } - , - proto.mediapipe.tasks.components.containers.proto.Classifications.prototype.getHeadName = function() { - return t.Message.getFieldWithDefault(this, 3, "") - } - , - proto.mediapipe.tasks.components.containers.proto.Classifications.prototype.setHeadName = function(e) { - return t.Message.setField(this, 3, e) - } - , - proto.mediapipe.tasks.components.containers.proto.Classifications.prototype.clearHeadName = function() { - return t.Message.setField(this, 3, void 0) - } - , - proto.mediapipe.tasks.components.containers.proto.Classifications.prototype.hasHeadName = function() { - return null != t.Message.getField(this, 3) - } - , - proto.mediapipe.tasks.components.containers.proto.ClassificationResult.repeatedFields_ = [1], - t.Message.GENERATE_TO_OBJECT && (proto.mediapipe.tasks.components.containers.proto.ClassificationResult.prototype.toObject = function(e) { - return proto.mediapipe.tasks.components.containers.proto.ClassificationResult.toObject(e, this) - } - , - proto.mediapipe.tasks.components.containers.proto.ClassificationResult.toObject = function(e, r) { - var o, i = { - classificationsList: t.Message.toObjectList(r.getClassificationsList(), proto.mediapipe.tasks.components.containers.proto.Classifications.toObject, e), - timestampMs: null == (o = t.Message.getField(r, 2)) ? void 0 : o - }; - return e && (i.$jspbMessageInstance = r), - i - } - ), - proto.mediapipe.tasks.components.containers.proto.ClassificationResult.deserializeBinary = function(e) { - var r = new t.BinaryReader(e) - , o = new proto.mediapipe.tasks.components.containers.proto.ClassificationResult; - return proto.mediapipe.tasks.components.containers.proto.ClassificationResult.deserializeBinaryFromReader(o, r) - } - , - proto.mediapipe.tasks.components.containers.proto.ClassificationResult.deserializeBinaryFromReader = function(e, t) { - for (; t.nextField() && !t.isEndGroup(); ) { - switch (t.getFieldNumber()) { - case 1: - var r = new proto.mediapipe.tasks.components.containers.proto.Classifications; - t.readMessage(r, proto.mediapipe.tasks.components.containers.proto.Classifications.deserializeBinaryFromReader), - e.addClassifications(r); - break; - case 2: - r = t.readInt64(); - e.setTimestampMs(r); - break; - default: - t.skipField() - } - } - return e - } - , - proto.mediapipe.tasks.components.containers.proto.ClassificationResult.prototype.serializeBinary = function() { - var e = new t.BinaryWriter; - return proto.mediapipe.tasks.components.containers.proto.ClassificationResult.serializeBinaryToWriter(this, e), - e.getResultBuffer() - } - , - proto.mediapipe.tasks.components.containers.proto.ClassificationResult.serializeBinaryToWriter = function(e, r) { - var o = void 0; - (o = e.getClassificationsList()).length > 0 && r.writeRepeatedMessage(1, o, proto.mediapipe.tasks.components.containers.proto.Classifications.serializeBinaryToWriter), - null != (o = t.Message.getField(e, 2)) && r.writeInt64(2, o) - } - , - proto.mediapipe.tasks.components.containers.proto.ClassificationResult.prototype.getClassificationsList = function() { - return t.Message.getRepeatedWrapperField(this, proto.mediapipe.tasks.components.containers.proto.Classifications, 1) - } - , - proto.mediapipe.tasks.components.containers.proto.ClassificationResult.prototype.setClassificationsList = function(e) { - return t.Message.setRepeatedWrapperField(this, 1, e) - } - , - proto.mediapipe.tasks.components.containers.proto.ClassificationResult.prototype.addClassifications = function(e, r) { - return t.Message.addToRepeatedWrapperField(this, 1, e, proto.mediapipe.tasks.components.containers.proto.Classifications, r) - } - , - proto.mediapipe.tasks.components.containers.proto.ClassificationResult.prototype.clearClassificationsList = function() { - return this.setClassificationsList([]) - } - , - proto.mediapipe.tasks.components.containers.proto.ClassificationResult.prototype.getTimestampMs = function() { - return t.Message.getFieldWithDefault(this, 2, 0) - } - , - proto.mediapipe.tasks.components.containers.proto.ClassificationResult.prototype.setTimestampMs = function(e) { - return t.Message.setField(this, 2, e) - } - , - proto.mediapipe.tasks.components.containers.proto.ClassificationResult.prototype.clearTimestampMs = function() { - return t.Message.setField(this, 2, void 0) - } - , - proto.mediapipe.tasks.components.containers.proto.ClassificationResult.prototype.hasTimestampMs = function() { - return null != t.Message.getField(this, 2) - } - , - r.object.extend(e, proto.mediapipe.tasks.components.containers.proto) -}(classifications_pb); -var image_classifier_graph_options_pb = {}; -!function(e) { - var t = googleProtobuf - , r = t - , o = "undefined" != typeof globalThis && globalThis || "undefined" != typeof window && window || void 0 !== o && o || "undefined" != typeof self && self || function() { - return this - } - .call(null) || Function("return this")() - , i = calculator_pb; - r.object.extend(proto, i); - var a = calculator_options_pb; - r.object.extend(proto, a); - var n = classifier_options_pb; - r.object.extend(proto, n); - var s = base_options_pb; - r.object.extend(proto, s), - r.exportSymbol("proto.mediapipe.tasks.vision.image_classifier.proto.ImageClassifierGraphOptions", null, o), - proto.mediapipe.tasks.vision.image_classifier.proto.ImageClassifierGraphOptions = function(e) { - t.Message.initialize(this, e, 0, -1, null, null) - } - , - r.inherits(proto.mediapipe.tasks.vision.image_classifier.proto.ImageClassifierGraphOptions, t.Message), - r.DEBUG && !COMPILED && (proto.mediapipe.tasks.vision.image_classifier.proto.ImageClassifierGraphOptions.displayName = "proto.mediapipe.tasks.vision.image_classifier.proto.ImageClassifierGraphOptions"), - t.Message.GENERATE_TO_OBJECT && (proto.mediapipe.tasks.vision.image_classifier.proto.ImageClassifierGraphOptions.prototype.toObject = function(e) { - return proto.mediapipe.tasks.vision.image_classifier.proto.ImageClassifierGraphOptions.toObject(e, this) - } - , - proto.mediapipe.tasks.vision.image_classifier.proto.ImageClassifierGraphOptions.toObject = function(e, t) { - var r, o = { - baseOptions: (r = t.getBaseOptions()) && s.BaseOptions.toObject(e, r), - classifierOptions: (r = t.getClassifierOptions()) && n.ClassifierOptions.toObject(e, r) - }; - return e && (o.$jspbMessageInstance = t), - o - } - ), - proto.mediapipe.tasks.vision.image_classifier.proto.ImageClassifierGraphOptions.deserializeBinary = function(e) { - var r = new t.BinaryReader(e) - , o = new proto.mediapipe.tasks.vision.image_classifier.proto.ImageClassifierGraphOptions; - return proto.mediapipe.tasks.vision.image_classifier.proto.ImageClassifierGraphOptions.deserializeBinaryFromReader(o, r) - } - , - proto.mediapipe.tasks.vision.image_classifier.proto.ImageClassifierGraphOptions.deserializeBinaryFromReader = function(e, t) { - for (; t.nextField() && !t.isEndGroup(); ) { - switch (t.getFieldNumber()) { - case 1: - var r = new s.BaseOptions; - t.readMessage(r, s.BaseOptions.deserializeBinaryFromReader), - e.setBaseOptions(r); - break; - case 2: - r = new n.ClassifierOptions; - t.readMessage(r, n.ClassifierOptions.deserializeBinaryFromReader), - e.setClassifierOptions(r); - break; - default: - t.skipField() - } - } - return e - } - , - proto.mediapipe.tasks.vision.image_classifier.proto.ImageClassifierGraphOptions.prototype.serializeBinary = function() { - var e = new t.BinaryWriter; - return proto.mediapipe.tasks.vision.image_classifier.proto.ImageClassifierGraphOptions.serializeBinaryToWriter(this, e), - e.getResultBuffer() - } - , - proto.mediapipe.tasks.vision.image_classifier.proto.ImageClassifierGraphOptions.serializeBinaryToWriter = function(e, t) { - var r = void 0; - null != (r = e.getBaseOptions()) && t.writeMessage(1, r, s.BaseOptions.serializeBinaryToWriter), - null != (r = e.getClassifierOptions()) && t.writeMessage(2, r, n.ClassifierOptions.serializeBinaryToWriter) - } - , - proto.mediapipe.tasks.vision.image_classifier.proto.ImageClassifierGraphOptions.ext = new t.ExtensionFieldInfo(456383383,{ - ext: 0 - },proto.mediapipe.tasks.vision.image_classifier.proto.ImageClassifierGraphOptions,proto.mediapipe.tasks.vision.image_classifier.proto.ImageClassifierGraphOptions.toObject,0), - a.CalculatorOptions.extensionsBinary[456383383] = new t.ExtensionFieldBinaryInfo(proto.mediapipe.tasks.vision.image_classifier.proto.ImageClassifierGraphOptions.ext,t.BinaryReader.prototype.readMessage,t.BinaryWriter.prototype.writeMessage,proto.mediapipe.tasks.vision.image_classifier.proto.ImageClassifierGraphOptions.serializeBinaryToWriter,proto.mediapipe.tasks.vision.image_classifier.proto.ImageClassifierGraphOptions.deserializeBinaryFromReader,!1), - a.CalculatorOptions.extensions[456383383] = proto.mediapipe.tasks.vision.image_classifier.proto.ImageClassifierGraphOptions.ext, - proto.mediapipe.tasks.vision.image_classifier.proto.ImageClassifierGraphOptions.prototype.getBaseOptions = function() { - return t.Message.getWrapperField(this, s.BaseOptions, 1) - } - , - proto.mediapipe.tasks.vision.image_classifier.proto.ImageClassifierGraphOptions.prototype.setBaseOptions = function(e) { - return t.Message.setWrapperField(this, 1, e) - } - , - proto.mediapipe.tasks.vision.image_classifier.proto.ImageClassifierGraphOptions.prototype.clearBaseOptions = function() { - return this.setBaseOptions(void 0) - } - , - proto.mediapipe.tasks.vision.image_classifier.proto.ImageClassifierGraphOptions.prototype.hasBaseOptions = function() { - return null != t.Message.getField(this, 1) - } - , - proto.mediapipe.tasks.vision.image_classifier.proto.ImageClassifierGraphOptions.prototype.getClassifierOptions = function() { - return t.Message.getWrapperField(this, n.ClassifierOptions, 2) - } - , - proto.mediapipe.tasks.vision.image_classifier.proto.ImageClassifierGraphOptions.prototype.setClassifierOptions = function(e) { - return t.Message.setWrapperField(this, 2, e) - } - , - proto.mediapipe.tasks.vision.image_classifier.proto.ImageClassifierGraphOptions.prototype.clearClassifierOptions = function() { - return this.setClassifierOptions(void 0) - } - , - proto.mediapipe.tasks.vision.image_classifier.proto.ImageClassifierGraphOptions.prototype.hasClassifierOptions = function() { - return null != t.Message.getField(this, 2) - } - , - proto.mediapipe.tasks.vision.image_classifier.proto.ImageClassifierGraphOptions.ext = new t.ExtensionFieldInfo(456383383,{ - ext: 0 - },proto.mediapipe.tasks.vision.image_classifier.proto.ImageClassifierGraphOptions,proto.mediapipe.tasks.vision.image_classifier.proto.ImageClassifierGraphOptions.toObject,0), - a.CalculatorOptions.extensionsBinary[456383383] = new t.ExtensionFieldBinaryInfo(proto.mediapipe.tasks.vision.image_classifier.proto.ImageClassifierGraphOptions.ext,t.BinaryReader.prototype.readMessage,t.BinaryWriter.prototype.writeMessage,proto.mediapipe.tasks.vision.image_classifier.proto.ImageClassifierGraphOptions.serializeBinaryToWriter,proto.mediapipe.tasks.vision.image_classifier.proto.ImageClassifierGraphOptions.deserializeBinaryFromReader,!1), - a.CalculatorOptions.extensions[456383383] = proto.mediapipe.tasks.vision.image_classifier.proto.ImageClassifierGraphOptions.ext, - r.object.extend(e, proto.mediapipe.tasks.vision.image_classifier.proto) -}(image_classifier_graph_options_pb); -var image_classifier_options = {}; -Object.defineProperty(image_classifier_options, "__esModule", { - value: !0 -}); -var image_classifier_result = {}; -Object.defineProperty(image_classifier_result, "__esModule", { - value: !0 -}), -function(e) { - var t = commonjsGlobal && commonjsGlobal.__createBinding || (Object.create ? function(e, t, r, o) { - void 0 === o && (o = r); - var i = Object.getOwnPropertyDescriptor(t, r); - i && !("get"in i ? !t.__esModule : i.writable || i.configurable) || (i = { - enumerable: !0, - get: function() { - return t[r] - } - }), - Object.defineProperty(e, o, i) - } - : function(e, t, r, o) { - void 0 === o && (o = r), - e[o] = t[r] - } - ) - , r = commonjsGlobal && commonjsGlobal.__exportStar || function(e, r) { - for (var o in e) - "default" === o || Object.prototype.hasOwnProperty.call(r, o) || t(r, e, o) - } - ; - Object.defineProperty(e, "__esModule", { - value: !0 - }), - e.ImageClassifier = void 0; - const o = calculator_pb - , i = calculator_options_pb - , a = classifications_pb - , n = base_options_pb - , s = image_classifier_graph_options_pb - , p = classifier_options - , d = classifier_result - , l = vision_task_runner - , g = "input_image" - , c = "norm_rect" - , u = "classifications"; - r(image_classifier_options, e), - r(image_classifier_result, e); - class m extends l.VisionTaskRunner { - static createFromOptions(e, t) { - return l.VisionTaskRunner.createVisionInstance(m, e, t) - } - static createFromModelBuffer(e, t) { - return l.VisionTaskRunner.createVisionInstance(m, e, { - baseOptions: { - modelAssetBuffer: t - } - }) - } - static createFromModelPath(e, t) { - return l.VisionTaskRunner.createVisionInstance(m, e, { - baseOptions: { - modelAssetPath: t - } - }) - } - constructor(e, t) { - super(new l.VisionGraphRunner(e,t), g, c, !0), - this.classificationResult = { - classifications: [] - }, - this.options = new s.ImageClassifierGraphOptions, - this.options.setBaseOptions(new n.BaseOptions) - } - get baseOptions() { - return this.options.getBaseOptions() - } - set baseOptions(e) { - this.options.setBaseOptions(e) - } - setOptions(e) { - return this.options.setClassifierOptions((0, - p.convertClassifierOptionsToProto)(e, this.options.getClassifierOptions())), - this.applyOptions(e) - } - classify(e, t) { - return this.classificationResult = { - classifications: [] - }, - this.processImageData(e, t), - this.classificationResult - } - classifyForVideo(e, t, r) { - return this.classificationResult = { - classifications: [] - }, - this.processVideoData(e, r, t), - this.classificationResult - } - refreshGraph() { - const e = new o.CalculatorGraphConfig; - e.addInputStream(g), - e.addInputStream(c), - e.addOutputStream(u); - const t = new i.CalculatorOptions; - t.setExtension(s.ImageClassifierGraphOptions.ext, this.options); - const r = new o.CalculatorGraphConfig.Node; - r.setCalculator("mediapipe.tasks.vision.image_classifier.ImageClassifierGraph"), - r.addInputStream("IMAGE:" + g), - r.addInputStream("NORM_RECT:" + c), - r.addOutputStream("CLASSIFICATIONS:" + u), - r.setOptions(t), - e.addNode(r), - this.graphRunner.attachProtoListener(u, ((e,t)=>{ - this.classificationResult = (0, - d.convertFromClassificationResultProto)(a.ClassificationResult.deserializeBinary(e)), - this.setLatestOutputTimestamp(t) - } - )), - this.graphRunner.attachEmptyPacketListener(u, (e=>{ - this.setLatestOutputTimestamp(e) - } - )); - const n = e.serializeBinary(); - this.setGraph(new Uint8Array(n), !0) - } - } - e.ImageClassifier = m -}(image_classifier); -var image_embedder = {} - , embeddings_pb = {}; -!function(e) { - var t = googleProtobuf - , r = t - , o = "undefined" != typeof globalThis && globalThis || "undefined" != typeof window && window || void 0 !== o && o || "undefined" != typeof self && self || function() { - return this - } - .call(null) || Function("return this")(); - r.exportSymbol("proto.mediapipe.tasks.components.containers.proto.Embedding", null, o), - r.exportSymbol("proto.mediapipe.tasks.components.containers.proto.Embedding.EmbeddingCase", null, o), - r.exportSymbol("proto.mediapipe.tasks.components.containers.proto.EmbeddingResult", null, o), - r.exportSymbol("proto.mediapipe.tasks.components.containers.proto.FloatEmbedding", null, o), - r.exportSymbol("proto.mediapipe.tasks.components.containers.proto.QuantizedEmbedding", null, o), - proto.mediapipe.tasks.components.containers.proto.FloatEmbedding = function(e) { - t.Message.initialize(this, e, 0, -1, proto.mediapipe.tasks.components.containers.proto.FloatEmbedding.repeatedFields_, null) - } - , - r.inherits(proto.mediapipe.tasks.components.containers.proto.FloatEmbedding, t.Message), - r.DEBUG && !COMPILED && (proto.mediapipe.tasks.components.containers.proto.FloatEmbedding.displayName = "proto.mediapipe.tasks.components.containers.proto.FloatEmbedding"), - proto.mediapipe.tasks.components.containers.proto.QuantizedEmbedding = function(e) { - t.Message.initialize(this, e, 0, -1, null, null) - } - , - r.inherits(proto.mediapipe.tasks.components.containers.proto.QuantizedEmbedding, t.Message), - r.DEBUG && !COMPILED && (proto.mediapipe.tasks.components.containers.proto.QuantizedEmbedding.displayName = "proto.mediapipe.tasks.components.containers.proto.QuantizedEmbedding"), - proto.mediapipe.tasks.components.containers.proto.Embedding = function(e) { - t.Message.initialize(this, e, 0, -1, null, proto.mediapipe.tasks.components.containers.proto.Embedding.oneofGroups_) - } - , - r.inherits(proto.mediapipe.tasks.components.containers.proto.Embedding, t.Message), - r.DEBUG && !COMPILED && (proto.mediapipe.tasks.components.containers.proto.Embedding.displayName = "proto.mediapipe.tasks.components.containers.proto.Embedding"), - proto.mediapipe.tasks.components.containers.proto.EmbeddingResult = function(e) { - t.Message.initialize(this, e, 0, -1, proto.mediapipe.tasks.components.containers.proto.EmbeddingResult.repeatedFields_, null) - } - , - r.inherits(proto.mediapipe.tasks.components.containers.proto.EmbeddingResult, t.Message), - r.DEBUG && !COMPILED && (proto.mediapipe.tasks.components.containers.proto.EmbeddingResult.displayName = "proto.mediapipe.tasks.components.containers.proto.EmbeddingResult"), - proto.mediapipe.tasks.components.containers.proto.FloatEmbedding.repeatedFields_ = [1], - t.Message.GENERATE_TO_OBJECT && (proto.mediapipe.tasks.components.containers.proto.FloatEmbedding.prototype.toObject = function(e) { - return proto.mediapipe.tasks.components.containers.proto.FloatEmbedding.toObject(e, this) - } - , - proto.mediapipe.tasks.components.containers.proto.FloatEmbedding.toObject = function(e, r) { - var o, i = { - valuesList: null == (o = t.Message.getRepeatedFloatingPointField(r, 1)) ? void 0 : o - }; - return e && (i.$jspbMessageInstance = r), - i - } - ), - proto.mediapipe.tasks.components.containers.proto.FloatEmbedding.deserializeBinary = function(e) { - var r = new t.BinaryReader(e) - , o = new proto.mediapipe.tasks.components.containers.proto.FloatEmbedding; - return proto.mediapipe.tasks.components.containers.proto.FloatEmbedding.deserializeBinaryFromReader(o, r) - } - , - proto.mediapipe.tasks.components.containers.proto.FloatEmbedding.deserializeBinaryFromReader = function(e, t) { - for (; t.nextField() && !t.isEndGroup(); ) { - if (1 === t.getFieldNumber()) - for (var r = t.isDelimited() ? t.readPackedFloat() : [t.readFloat()], o = 0; o < r.length; o++) - e.addValues(r[o]); - else - t.skipField() - } - return e - } - , - proto.mediapipe.tasks.components.containers.proto.FloatEmbedding.prototype.serializeBinary = function() { - var e = new t.BinaryWriter; - return proto.mediapipe.tasks.components.containers.proto.FloatEmbedding.serializeBinaryToWriter(this, e), - e.getResultBuffer() - } - , - proto.mediapipe.tasks.components.containers.proto.FloatEmbedding.serializeBinaryToWriter = function(e, t) { - var r; - (r = e.getValuesList()).length > 0 && t.writePackedFloat(1, r) - } - , - proto.mediapipe.tasks.components.containers.proto.FloatEmbedding.prototype.getValuesList = function() { - return t.Message.getRepeatedFloatingPointField(this, 1) - } - , - proto.mediapipe.tasks.components.containers.proto.FloatEmbedding.prototype.setValuesList = function(e) { - return t.Message.setField(this, 1, e || []) - } - , - proto.mediapipe.tasks.components.containers.proto.FloatEmbedding.prototype.addValues = function(e, r) { - return t.Message.addToRepeatedField(this, 1, e, r) - } - , - proto.mediapipe.tasks.components.containers.proto.FloatEmbedding.prototype.clearValuesList = function() { - return this.setValuesList([]) - } - , - t.Message.GENERATE_TO_OBJECT && (proto.mediapipe.tasks.components.containers.proto.QuantizedEmbedding.prototype.toObject = function(e) { - return proto.mediapipe.tasks.components.containers.proto.QuantizedEmbedding.toObject(e, this) - } - , - proto.mediapipe.tasks.components.containers.proto.QuantizedEmbedding.toObject = function(e, t) { - var r = { - values: t.getValues_asB64() - }; - return e && (r.$jspbMessageInstance = t), - r - } - ), - proto.mediapipe.tasks.components.containers.proto.QuantizedEmbedding.deserializeBinary = function(e) { - var r = new t.BinaryReader(e) - , o = new proto.mediapipe.tasks.components.containers.proto.QuantizedEmbedding; - return proto.mediapipe.tasks.components.containers.proto.QuantizedEmbedding.deserializeBinaryFromReader(o, r) - } - , - proto.mediapipe.tasks.components.containers.proto.QuantizedEmbedding.deserializeBinaryFromReader = function(e, t) { - for (; t.nextField() && !t.isEndGroup(); ) { - if (1 === t.getFieldNumber()) { - var r = t.readBytes(); - e.setValues(r) - } else - t.skipField() - } - return e - } - , - proto.mediapipe.tasks.components.containers.proto.QuantizedEmbedding.prototype.serializeBinary = function() { - var e = new t.BinaryWriter; - return proto.mediapipe.tasks.components.containers.proto.QuantizedEmbedding.serializeBinaryToWriter(this, e), - e.getResultBuffer() - } - , - proto.mediapipe.tasks.components.containers.proto.QuantizedEmbedding.serializeBinaryToWriter = function(e, r) { - var o; - null != (o = t.Message.getField(e, 1)) && r.writeBytes(1, o) - } - , - proto.mediapipe.tasks.components.containers.proto.QuantizedEmbedding.prototype.getValues = function() { - return t.Message.getFieldWithDefault(this, 1, "") - } - , - proto.mediapipe.tasks.components.containers.proto.QuantizedEmbedding.prototype.getValues_asB64 = function() { - return t.Message.bytesAsB64(this.getValues()) - } - , - proto.mediapipe.tasks.components.containers.proto.QuantizedEmbedding.prototype.getValues_asU8 = function() { - return t.Message.bytesAsU8(this.getValues()) - } - , - proto.mediapipe.tasks.components.containers.proto.QuantizedEmbedding.prototype.setValues = function(e) { - return t.Message.setField(this, 1, e) - } - , - proto.mediapipe.tasks.components.containers.proto.QuantizedEmbedding.prototype.clearValues = function() { - return t.Message.setField(this, 1, void 0) - } - , - proto.mediapipe.tasks.components.containers.proto.QuantizedEmbedding.prototype.hasValues = function() { - return null != t.Message.getField(this, 1) - } - , - proto.mediapipe.tasks.components.containers.proto.Embedding.oneofGroups_ = [[1, 2]], - proto.mediapipe.tasks.components.containers.proto.Embedding.EmbeddingCase = { - EMBEDDING_NOT_SET: 0, - FLOAT_EMBEDDING: 1, - QUANTIZED_EMBEDDING: 2 - }, - proto.mediapipe.tasks.components.containers.proto.Embedding.prototype.getEmbeddingCase = function() { - return t.Message.computeOneofCase(this, proto.mediapipe.tasks.components.containers.proto.Embedding.oneofGroups_[0]) - } - , - t.Message.GENERATE_TO_OBJECT && (proto.mediapipe.tasks.components.containers.proto.Embedding.prototype.toObject = function(e) { - return proto.mediapipe.tasks.components.containers.proto.Embedding.toObject(e, this) - } - , - proto.mediapipe.tasks.components.containers.proto.Embedding.toObject = function(e, r) { - var o, i = { - floatEmbedding: (o = r.getFloatEmbedding()) && proto.mediapipe.tasks.components.containers.proto.FloatEmbedding.toObject(e, o), - quantizedEmbedding: (o = r.getQuantizedEmbedding()) && proto.mediapipe.tasks.components.containers.proto.QuantizedEmbedding.toObject(e, o), - headIndex: null == (o = t.Message.getField(r, 3)) ? void 0 : o, - headName: null == (o = t.Message.getField(r, 4)) ? void 0 : o - }; - return e && (i.$jspbMessageInstance = r), - i - } - ), - proto.mediapipe.tasks.components.containers.proto.Embedding.deserializeBinary = function(e) { - var r = new t.BinaryReader(e) - , o = new proto.mediapipe.tasks.components.containers.proto.Embedding; - return proto.mediapipe.tasks.components.containers.proto.Embedding.deserializeBinaryFromReader(o, r) - } - , - proto.mediapipe.tasks.components.containers.proto.Embedding.deserializeBinaryFromReader = function(e, t) { - for (; t.nextField() && !t.isEndGroup(); ) { - switch (t.getFieldNumber()) { - case 1: - var r = new proto.mediapipe.tasks.components.containers.proto.FloatEmbedding; - t.readMessage(r, proto.mediapipe.tasks.components.containers.proto.FloatEmbedding.deserializeBinaryFromReader), - e.setFloatEmbedding(r); - break; - case 2: - r = new proto.mediapipe.tasks.components.containers.proto.QuantizedEmbedding; - t.readMessage(r, proto.mediapipe.tasks.components.containers.proto.QuantizedEmbedding.deserializeBinaryFromReader), - e.setQuantizedEmbedding(r); - break; - case 3: - r = t.readInt32(); - e.setHeadIndex(r); - break; - case 4: - r = t.readString(); - e.setHeadName(r); - break; - default: - t.skipField() - } - } - return e - } - , - proto.mediapipe.tasks.components.containers.proto.Embedding.prototype.serializeBinary = function() { - var e = new t.BinaryWriter; - return proto.mediapipe.tasks.components.containers.proto.Embedding.serializeBinaryToWriter(this, e), - e.getResultBuffer() - } - , - proto.mediapipe.tasks.components.containers.proto.Embedding.serializeBinaryToWriter = function(e, r) { - var o = void 0; - null != (o = e.getFloatEmbedding()) && r.writeMessage(1, o, proto.mediapipe.tasks.components.containers.proto.FloatEmbedding.serializeBinaryToWriter), - null != (o = e.getQuantizedEmbedding()) && r.writeMessage(2, o, proto.mediapipe.tasks.components.containers.proto.QuantizedEmbedding.serializeBinaryToWriter), - null != (o = t.Message.getField(e, 3)) && r.writeInt32(3, o), - null != (o = t.Message.getField(e, 4)) && r.writeString(4, o) - } - , - proto.mediapipe.tasks.components.containers.proto.Embedding.prototype.getFloatEmbedding = function() { - return t.Message.getWrapperField(this, proto.mediapipe.tasks.components.containers.proto.FloatEmbedding, 1) - } - , - proto.mediapipe.tasks.components.containers.proto.Embedding.prototype.setFloatEmbedding = function(e) { - return t.Message.setOneofWrapperField(this, 1, proto.mediapipe.tasks.components.containers.proto.Embedding.oneofGroups_[0], e) - } - , - proto.mediapipe.tasks.components.containers.proto.Embedding.prototype.clearFloatEmbedding = function() { - return this.setFloatEmbedding(void 0) - } - , - proto.mediapipe.tasks.components.containers.proto.Embedding.prototype.hasFloatEmbedding = function() { - return null != t.Message.getField(this, 1) - } - , - proto.mediapipe.tasks.components.containers.proto.Embedding.prototype.getQuantizedEmbedding = function() { - return t.Message.getWrapperField(this, proto.mediapipe.tasks.components.containers.proto.QuantizedEmbedding, 2) - } - , - proto.mediapipe.tasks.components.containers.proto.Embedding.prototype.setQuantizedEmbedding = function(e) { - return t.Message.setOneofWrapperField(this, 2, proto.mediapipe.tasks.components.containers.proto.Embedding.oneofGroups_[0], e) - } - , - proto.mediapipe.tasks.components.containers.proto.Embedding.prototype.clearQuantizedEmbedding = function() { - return this.setQuantizedEmbedding(void 0) - } - , - proto.mediapipe.tasks.components.containers.proto.Embedding.prototype.hasQuantizedEmbedding = function() { - return null != t.Message.getField(this, 2) - } - , - proto.mediapipe.tasks.components.containers.proto.Embedding.prototype.getHeadIndex = function() { - return t.Message.getFieldWithDefault(this, 3, 0) - } - , - proto.mediapipe.tasks.components.containers.proto.Embedding.prototype.setHeadIndex = function(e) { - return t.Message.setField(this, 3, e) - } - , - proto.mediapipe.tasks.components.containers.proto.Embedding.prototype.clearHeadIndex = function() { - return t.Message.setField(this, 3, void 0) - } - , - proto.mediapipe.tasks.components.containers.proto.Embedding.prototype.hasHeadIndex = function() { - return null != t.Message.getField(this, 3) - } - , - proto.mediapipe.tasks.components.containers.proto.Embedding.prototype.getHeadName = function() { - return t.Message.getFieldWithDefault(this, 4, "") - } - , - proto.mediapipe.tasks.components.containers.proto.Embedding.prototype.setHeadName = function(e) { - return t.Message.setField(this, 4, e) - } - , - proto.mediapipe.tasks.components.containers.proto.Embedding.prototype.clearHeadName = function() { - return t.Message.setField(this, 4, void 0) - } - , - proto.mediapipe.tasks.components.containers.proto.Embedding.prototype.hasHeadName = function() { - return null != t.Message.getField(this, 4) - } - , - proto.mediapipe.tasks.components.containers.proto.EmbeddingResult.repeatedFields_ = [1], - t.Message.GENERATE_TO_OBJECT && (proto.mediapipe.tasks.components.containers.proto.EmbeddingResult.prototype.toObject = function(e) { - return proto.mediapipe.tasks.components.containers.proto.EmbeddingResult.toObject(e, this) - } - , - proto.mediapipe.tasks.components.containers.proto.EmbeddingResult.toObject = function(e, r) { - var o, i = { - embeddingsList: t.Message.toObjectList(r.getEmbeddingsList(), proto.mediapipe.tasks.components.containers.proto.Embedding.toObject, e), - timestampMs: null == (o = t.Message.getField(r, 2)) ? void 0 : o - }; - return e && (i.$jspbMessageInstance = r), - i - } - ), - proto.mediapipe.tasks.components.containers.proto.EmbeddingResult.deserializeBinary = function(e) { - var r = new t.BinaryReader(e) - , o = new proto.mediapipe.tasks.components.containers.proto.EmbeddingResult; - return proto.mediapipe.tasks.components.containers.proto.EmbeddingResult.deserializeBinaryFromReader(o, r) - } - , - proto.mediapipe.tasks.components.containers.proto.EmbeddingResult.deserializeBinaryFromReader = function(e, t) { - for (; t.nextField() && !t.isEndGroup(); ) { - switch (t.getFieldNumber()) { - case 1: - var r = new proto.mediapipe.tasks.components.containers.proto.Embedding; - t.readMessage(r, proto.mediapipe.tasks.components.containers.proto.Embedding.deserializeBinaryFromReader), - e.addEmbeddings(r); - break; - case 2: - r = t.readInt64(); - e.setTimestampMs(r); - break; - default: - t.skipField() - } - } - return e - } - , - proto.mediapipe.tasks.components.containers.proto.EmbeddingResult.prototype.serializeBinary = function() { - var e = new t.BinaryWriter; - return proto.mediapipe.tasks.components.containers.proto.EmbeddingResult.serializeBinaryToWriter(this, e), - e.getResultBuffer() - } - , - proto.mediapipe.tasks.components.containers.proto.EmbeddingResult.serializeBinaryToWriter = function(e, r) { - var o = void 0; - (o = e.getEmbeddingsList()).length > 0 && r.writeRepeatedMessage(1, o, proto.mediapipe.tasks.components.containers.proto.Embedding.serializeBinaryToWriter), - null != (o = t.Message.getField(e, 2)) && r.writeInt64(2, o) - } - , - proto.mediapipe.tasks.components.containers.proto.EmbeddingResult.prototype.getEmbeddingsList = function() { - return t.Message.getRepeatedWrapperField(this, proto.mediapipe.tasks.components.containers.proto.Embedding, 1) - } - , - proto.mediapipe.tasks.components.containers.proto.EmbeddingResult.prototype.setEmbeddingsList = function(e) { - return t.Message.setRepeatedWrapperField(this, 1, e) - } - , - proto.mediapipe.tasks.components.containers.proto.EmbeddingResult.prototype.addEmbeddings = function(e, r) { - return t.Message.addToRepeatedWrapperField(this, 1, e, proto.mediapipe.tasks.components.containers.proto.Embedding, r) - } - , - proto.mediapipe.tasks.components.containers.proto.EmbeddingResult.prototype.clearEmbeddingsList = function() { - return this.setEmbeddingsList([]) - } - , - proto.mediapipe.tasks.components.containers.proto.EmbeddingResult.prototype.getTimestampMs = function() { - return t.Message.getFieldWithDefault(this, 2, 0) - } - , - proto.mediapipe.tasks.components.containers.proto.EmbeddingResult.prototype.setTimestampMs = function(e) { - return t.Message.setField(this, 2, e) - } - , - proto.mediapipe.tasks.components.containers.proto.EmbeddingResult.prototype.clearTimestampMs = function() { - return t.Message.setField(this, 2, void 0) - } - , - proto.mediapipe.tasks.components.containers.proto.EmbeddingResult.prototype.hasTimestampMs = function() { - return null != t.Message.getField(this, 2) - } - , - r.object.extend(e, proto.mediapipe.tasks.components.containers.proto) -}(embeddings_pb); -var image_embedder_graph_options_pb = {} - , embedder_options_pb = {}; -!function(e) { - var t = googleProtobuf - , r = t - , o = "undefined" != typeof globalThis && globalThis || "undefined" != typeof window && window || void 0 !== o && o || "undefined" != typeof self && self || function() { - return this - } - .call(null) || Function("return this")(); - r.exportSymbol("proto.mediapipe.tasks.components.processors.proto.EmbedderOptions", null, o), - proto.mediapipe.tasks.components.processors.proto.EmbedderOptions = function(e) { - t.Message.initialize(this, e, 0, -1, null, null) - } - , - r.inherits(proto.mediapipe.tasks.components.processors.proto.EmbedderOptions, t.Message), - r.DEBUG && !COMPILED && (proto.mediapipe.tasks.components.processors.proto.EmbedderOptions.displayName = "proto.mediapipe.tasks.components.processors.proto.EmbedderOptions"), - t.Message.GENERATE_TO_OBJECT && (proto.mediapipe.tasks.components.processors.proto.EmbedderOptions.prototype.toObject = function(e) { - return proto.mediapipe.tasks.components.processors.proto.EmbedderOptions.toObject(e, this) - } - , - proto.mediapipe.tasks.components.processors.proto.EmbedderOptions.toObject = function(e, r) { - var o, i = { - l2Normalize: null == (o = t.Message.getBooleanField(r, 1)) ? void 0 : o, - quantize: null == (o = t.Message.getBooleanField(r, 2)) ? void 0 : o - }; - return e && (i.$jspbMessageInstance = r), - i - } - ), - proto.mediapipe.tasks.components.processors.proto.EmbedderOptions.deserializeBinary = function(e) { - var r = new t.BinaryReader(e) - , o = new proto.mediapipe.tasks.components.processors.proto.EmbedderOptions; - return proto.mediapipe.tasks.components.processors.proto.EmbedderOptions.deserializeBinaryFromReader(o, r) - } - , - proto.mediapipe.tasks.components.processors.proto.EmbedderOptions.deserializeBinaryFromReader = function(e, t) { - for (; t.nextField() && !t.isEndGroup(); ) { - switch (t.getFieldNumber()) { - case 1: - var r = t.readBool(); - e.setL2Normalize(r); - break; - case 2: - r = t.readBool(); - e.setQuantize(r); - break; - default: - t.skipField() - } - } - return e - } - , - proto.mediapipe.tasks.components.processors.proto.EmbedderOptions.prototype.serializeBinary = function() { - var e = new t.BinaryWriter; - return proto.mediapipe.tasks.components.processors.proto.EmbedderOptions.serializeBinaryToWriter(this, e), - e.getResultBuffer() - } - , - proto.mediapipe.tasks.components.processors.proto.EmbedderOptions.serializeBinaryToWriter = function(e, r) { - var o = void 0; - null != (o = t.Message.getField(e, 1)) && r.writeBool(1, o), - null != (o = t.Message.getField(e, 2)) && r.writeBool(2, o) - } - , - proto.mediapipe.tasks.components.processors.proto.EmbedderOptions.prototype.getL2Normalize = function() { - return t.Message.getBooleanFieldWithDefault(this, 1, !1) - } - , - proto.mediapipe.tasks.components.processors.proto.EmbedderOptions.prototype.setL2Normalize = function(e) { - return t.Message.setField(this, 1, e) - } - , - proto.mediapipe.tasks.components.processors.proto.EmbedderOptions.prototype.clearL2Normalize = function() { - return t.Message.setField(this, 1, void 0) - } - , - proto.mediapipe.tasks.components.processors.proto.EmbedderOptions.prototype.hasL2Normalize = function() { - return null != t.Message.getField(this, 1) - } - , - proto.mediapipe.tasks.components.processors.proto.EmbedderOptions.prototype.getQuantize = function() { - return t.Message.getBooleanFieldWithDefault(this, 2, !1) - } - , - proto.mediapipe.tasks.components.processors.proto.EmbedderOptions.prototype.setQuantize = function(e) { - return t.Message.setField(this, 2, e) - } - , - proto.mediapipe.tasks.components.processors.proto.EmbedderOptions.prototype.clearQuantize = function() { - return t.Message.setField(this, 2, void 0) - } - , - proto.mediapipe.tasks.components.processors.proto.EmbedderOptions.prototype.hasQuantize = function() { - return null != t.Message.getField(this, 2) - } - , - r.object.extend(e, proto.mediapipe.tasks.components.processors.proto) -}(embedder_options_pb), -function(e) { - var t = googleProtobuf - , r = t - , o = "undefined" != typeof globalThis && globalThis || "undefined" != typeof window && window || void 0 !== o && o || "undefined" != typeof self && self || function() { - return this - } - .call(null) || Function("return this")() - , i = calculator_pb; - r.object.extend(proto, i); - var a = calculator_options_pb; - r.object.extend(proto, a); - var n = embedder_options_pb; - r.object.extend(proto, n); - var s = base_options_pb; - r.object.extend(proto, s), - r.exportSymbol("proto.mediapipe.tasks.vision.image_embedder.proto.ImageEmbedderGraphOptions", null, o), - proto.mediapipe.tasks.vision.image_embedder.proto.ImageEmbedderGraphOptions = function(e) { - t.Message.initialize(this, e, 0, -1, null, null) - } - , - r.inherits(proto.mediapipe.tasks.vision.image_embedder.proto.ImageEmbedderGraphOptions, t.Message), - r.DEBUG && !COMPILED && (proto.mediapipe.tasks.vision.image_embedder.proto.ImageEmbedderGraphOptions.displayName = "proto.mediapipe.tasks.vision.image_embedder.proto.ImageEmbedderGraphOptions"), - t.Message.GENERATE_TO_OBJECT && (proto.mediapipe.tasks.vision.image_embedder.proto.ImageEmbedderGraphOptions.prototype.toObject = function(e) { - return proto.mediapipe.tasks.vision.image_embedder.proto.ImageEmbedderGraphOptions.toObject(e, this) - } - , - proto.mediapipe.tasks.vision.image_embedder.proto.ImageEmbedderGraphOptions.toObject = function(e, t) { - var r, o = { - baseOptions: (r = t.getBaseOptions()) && s.BaseOptions.toObject(e, r), - embedderOptions: (r = t.getEmbedderOptions()) && n.EmbedderOptions.toObject(e, r) - }; - return e && (o.$jspbMessageInstance = t), - o - } - ), - proto.mediapipe.tasks.vision.image_embedder.proto.ImageEmbedderGraphOptions.deserializeBinary = function(e) { - var r = new t.BinaryReader(e) - , o = new proto.mediapipe.tasks.vision.image_embedder.proto.ImageEmbedderGraphOptions; - return proto.mediapipe.tasks.vision.image_embedder.proto.ImageEmbedderGraphOptions.deserializeBinaryFromReader(o, r) - } - , - proto.mediapipe.tasks.vision.image_embedder.proto.ImageEmbedderGraphOptions.deserializeBinaryFromReader = function(e, t) { - for (; t.nextField() && !t.isEndGroup(); ) { - switch (t.getFieldNumber()) { - case 1: - var r = new s.BaseOptions; - t.readMessage(r, s.BaseOptions.deserializeBinaryFromReader), - e.setBaseOptions(r); - break; - case 2: - r = new n.EmbedderOptions; - t.readMessage(r, n.EmbedderOptions.deserializeBinaryFromReader), - e.setEmbedderOptions(r); - break; - default: - t.skipField() - } - } - return e - } - , - proto.mediapipe.tasks.vision.image_embedder.proto.ImageEmbedderGraphOptions.prototype.serializeBinary = function() { - var e = new t.BinaryWriter; - return proto.mediapipe.tasks.vision.image_embedder.proto.ImageEmbedderGraphOptions.serializeBinaryToWriter(this, e), - e.getResultBuffer() - } - , - proto.mediapipe.tasks.vision.image_embedder.proto.ImageEmbedderGraphOptions.serializeBinaryToWriter = function(e, t) { - var r = void 0; - null != (r = e.getBaseOptions()) && t.writeMessage(1, r, s.BaseOptions.serializeBinaryToWriter), - null != (r = e.getEmbedderOptions()) && t.writeMessage(2, r, n.EmbedderOptions.serializeBinaryToWriter) - } - , - proto.mediapipe.tasks.vision.image_embedder.proto.ImageEmbedderGraphOptions.ext = new t.ExtensionFieldInfo(476348187,{ - ext: 0 - },proto.mediapipe.tasks.vision.image_embedder.proto.ImageEmbedderGraphOptions,proto.mediapipe.tasks.vision.image_embedder.proto.ImageEmbedderGraphOptions.toObject,0), - a.CalculatorOptions.extensionsBinary[476348187] = new t.ExtensionFieldBinaryInfo(proto.mediapipe.tasks.vision.image_embedder.proto.ImageEmbedderGraphOptions.ext,t.BinaryReader.prototype.readMessage,t.BinaryWriter.prototype.writeMessage,proto.mediapipe.tasks.vision.image_embedder.proto.ImageEmbedderGraphOptions.serializeBinaryToWriter,proto.mediapipe.tasks.vision.image_embedder.proto.ImageEmbedderGraphOptions.deserializeBinaryFromReader,!1), - a.CalculatorOptions.extensions[476348187] = proto.mediapipe.tasks.vision.image_embedder.proto.ImageEmbedderGraphOptions.ext, - proto.mediapipe.tasks.vision.image_embedder.proto.ImageEmbedderGraphOptions.prototype.getBaseOptions = function() { - return t.Message.getWrapperField(this, s.BaseOptions, 1) - } - , - proto.mediapipe.tasks.vision.image_embedder.proto.ImageEmbedderGraphOptions.prototype.setBaseOptions = function(e) { - return t.Message.setWrapperField(this, 1, e) - } - , - proto.mediapipe.tasks.vision.image_embedder.proto.ImageEmbedderGraphOptions.prototype.clearBaseOptions = function() { - return this.setBaseOptions(void 0) - } - , - proto.mediapipe.tasks.vision.image_embedder.proto.ImageEmbedderGraphOptions.prototype.hasBaseOptions = function() { - return null != t.Message.getField(this, 1) - } - , - proto.mediapipe.tasks.vision.image_embedder.proto.ImageEmbedderGraphOptions.prototype.getEmbedderOptions = function() { - return t.Message.getWrapperField(this, n.EmbedderOptions, 2) - } - , - proto.mediapipe.tasks.vision.image_embedder.proto.ImageEmbedderGraphOptions.prototype.setEmbedderOptions = function(e) { - return t.Message.setWrapperField(this, 2, e) - } - , - proto.mediapipe.tasks.vision.image_embedder.proto.ImageEmbedderGraphOptions.prototype.clearEmbedderOptions = function() { - return this.setEmbedderOptions(void 0) - } - , - proto.mediapipe.tasks.vision.image_embedder.proto.ImageEmbedderGraphOptions.prototype.hasEmbedderOptions = function() { - return null != t.Message.getField(this, 2) - } - , - proto.mediapipe.tasks.vision.image_embedder.proto.ImageEmbedderGraphOptions.ext = new t.ExtensionFieldInfo(476348187,{ - ext: 0 - },proto.mediapipe.tasks.vision.image_embedder.proto.ImageEmbedderGraphOptions,proto.mediapipe.tasks.vision.image_embedder.proto.ImageEmbedderGraphOptions.toObject,0), - a.CalculatorOptions.extensionsBinary[476348187] = new t.ExtensionFieldBinaryInfo(proto.mediapipe.tasks.vision.image_embedder.proto.ImageEmbedderGraphOptions.ext,t.BinaryReader.prototype.readMessage,t.BinaryWriter.prototype.writeMessage,proto.mediapipe.tasks.vision.image_embedder.proto.ImageEmbedderGraphOptions.serializeBinaryToWriter,proto.mediapipe.tasks.vision.image_embedder.proto.ImageEmbedderGraphOptions.deserializeBinaryFromReader,!1), - a.CalculatorOptions.extensions[476348187] = proto.mediapipe.tasks.vision.image_embedder.proto.ImageEmbedderGraphOptions.ext, - r.object.extend(e, proto.mediapipe.tasks.vision.image_embedder.proto) -}(image_embedder_graph_options_pb); -var embedder_options = {}; -Object.defineProperty(embedder_options, "__esModule", { - value: !0 -}), -embedder_options.convertEmbedderOptionsToProto = void 0; -const embedder_options_pb_1 = embedder_options_pb; -function convertEmbedderOptionsToProto(e, t) { - const r = t ? t.clone() : new embedder_options_pb_1.EmbedderOptions; - return void 0 !== e.l2Normalize ? r.setL2Normalize(e.l2Normalize) : "l2Normalize"in e && r.clearL2Normalize(), - void 0 !== e.quantize ? r.setQuantize(e.quantize) : "quantize"in e && r.clearQuantize(), - r -} -embedder_options.convertEmbedderOptionsToProto = convertEmbedderOptionsToProto; -var embedder_result = {}; -Object.defineProperty(embedder_result, "__esModule", { - value: !0 -}), -embedder_result.convertFromEmbeddingResultProto = void 0; -const DEFAULT_INDEX = -1; -function convertFromEmbeddingsProto(e) { - var t, r, o, i; - const a = { - headIndex: null !== (t = e.getHeadIndex()) && void 0 !== t ? t : DEFAULT_INDEX, - headName: null !== (r = e.getHeadName()) && void 0 !== r ? r : "" - }; - if (e.hasFloatEmbedding()) - a.floatEmbedding = e.getFloatEmbedding().getValuesList(); - else { - const t = null !== (i = null === (o = e.getQuantizedEmbedding()) || void 0 === o ? void 0 : o.getValues()) && void 0 !== i ? i : ""; - a.quantizedEmbedding = "string" == typeof t ? Uint8Array.from(atob(t), (e=>e.charCodeAt(0))) : t - } - return a -} -function convertFromEmbeddingResultProto(e) { - return { - embeddings: e.getEmbeddingsList().map((e=>convertFromEmbeddingsProto(e))), - timestampMs: e.getTimestampMs() - } -} -embedder_result.convertFromEmbeddingResultProto = convertFromEmbeddingResultProto; -var cosine_similarity = {}; -function computeCosineSimilarity(e, t) { - if (e.floatEmbedding && t.floatEmbedding) - return compute(e.floatEmbedding, t.floatEmbedding); - if (e.quantizedEmbedding && t.quantizedEmbedding) - return compute(convertToBytes(e.quantizedEmbedding), convertToBytes(t.quantizedEmbedding)); - throw new Error("Cannot compute cosine similarity between quantized and float embeddings.") -} -function convertToBytes(e) { - return Array.from(e, (e=>e > 127 ? e - 256 : e)) -} -function compute(e, t) { - if (e.length !== t.length) - throw new Error(`Cannot compute cosine similarity between embeddings of different sizes (${e.length} vs. ${t.length}).`); - let r = 0 - , o = 0 - , i = 0; - for (let a = 0; a < e.length; a++) - r += e[a] * t[a], - o += e[a] * e[a], - i += t[a] * t[a]; - if (o <= 0 || i <= 0) - throw new Error("Cannot compute cosine similarity on embedding with 0 norm."); - return r / Math.sqrt(o * i) -} -Object.defineProperty(cosine_similarity, "__esModule", { - value: !0 -}), -cosine_similarity.computeCosineSimilarity = void 0, -cosine_similarity.computeCosineSimilarity = computeCosineSimilarity; -var image_embedder_options = {}; -Object.defineProperty(image_embedder_options, "__esModule", { - value: !0 -}); -var image_embedder_result = {}; -Object.defineProperty(image_embedder_result, "__esModule", { - value: !0 -}), -function(e) { - var t = commonjsGlobal && commonjsGlobal.__createBinding || (Object.create ? function(e, t, r, o) { - void 0 === o && (o = r); - var i = Object.getOwnPropertyDescriptor(t, r); - i && !("get"in i ? !t.__esModule : i.writable || i.configurable) || (i = { - enumerable: !0, - get: function() { - return t[r] - } - }), - Object.defineProperty(e, o, i) - } - : function(e, t, r, o) { - void 0 === o && (o = r), - e[o] = t[r] - } - ) - , r = commonjsGlobal && commonjsGlobal.__exportStar || function(e, r) { - for (var o in e) - "default" === o || Object.prototype.hasOwnProperty.call(r, o) || t(r, e, o) - } - ; - Object.defineProperty(e, "__esModule", { - value: !0 - }), - e.ImageEmbedder = void 0; - const o = calculator_pb - , i = calculator_options_pb - , a = embeddings_pb - , n = base_options_pb - , s = image_embedder_graph_options_pb - , p = embedder_options - , d = embedder_result - , l = cosine_similarity - , g = vision_task_runner - , c = "image_in" - , u = "norm_rect" - , m = "embeddings_out"; - r(image_embedder_options, e), - r(image_embedder_result, e); - class f extends g.VisionTaskRunner { - static createFromOptions(e, t) { - return g.VisionTaskRunner.createVisionInstance(f, e, t) - } - static createFromModelBuffer(e, t) { - return g.VisionTaskRunner.createVisionInstance(f, e, { - baseOptions: { - modelAssetBuffer: t - } - }) - } - static createFromModelPath(e, t) { - return g.VisionTaskRunner.createVisionInstance(f, e, { - baseOptions: { - modelAssetPath: t - } - }) - } - constructor(e, t) { - super(new g.VisionGraphRunner(e,t), c, u, !0), - this.options = new s.ImageEmbedderGraphOptions, - this.embeddings = { - embeddings: [] - }, - this.options.setBaseOptions(new n.BaseOptions) - } - get baseOptions() { - return this.options.getBaseOptions() - } - set baseOptions(e) { - this.options.setBaseOptions(e) - } - setOptions(e) { - return this.options.setEmbedderOptions((0, - p.convertEmbedderOptionsToProto)(e, this.options.getEmbedderOptions())), - this.applyOptions(e) - } - embed(e, t) { - return this.processImageData(e, t), - this.embeddings - } - embedForVideo(e, t, r) { - return this.processVideoData(e, r, t), - this.embeddings - } - static cosineSimilarity(e, t) { - return (0, - l.computeCosineSimilarity)(e, t) - } - addJsImageEmdedding(e) { - const t = a.EmbeddingResult.deserializeBinary(e); - this.embeddings = (0, - d.convertFromEmbeddingResultProto)(t) - } - refreshGraph() { - const e = new o.CalculatorGraphConfig; - e.addInputStream(c), - e.addInputStream(u), - e.addOutputStream(m); - const t = new i.CalculatorOptions; - t.setExtension(s.ImageEmbedderGraphOptions.ext, this.options); - const r = new o.CalculatorGraphConfig.Node; - r.setCalculator("mediapipe.tasks.vision.image_embedder.ImageEmbedderGraph"), - r.addInputStream("IMAGE:" + c), - r.addInputStream("NORM_RECT:" + u), - r.addOutputStream("EMBEDDINGS:" + m), - r.setOptions(t), - e.addNode(r), - this.graphRunner.attachProtoListener(m, ((e,t)=>{ - this.addJsImageEmdedding(e), - this.setLatestOutputTimestamp(t) - } - )), - this.graphRunner.attachEmptyPacketListener(m, (e=>{ - this.setLatestOutputTimestamp(e) - } - )); - const a = e.serializeBinary(); - this.setGraph(new Uint8Array(a), !0) - } - } - e.ImageEmbedder = f -}(image_embedder); -var image_segmenter = {} - , tensors_to_segmentation_calculator_pb = {} - , segmenter_options_pb = {}; -!function(e) { - var t = googleProtobuf - , r = t - , o = "undefined" != typeof globalThis && globalThis || "undefined" != typeof window && window || void 0 !== o && o || "undefined" != typeof self && self || function() { - return this - } - .call(null) || Function("return this")(); - r.exportSymbol("proto.mediapipe.tasks.vision.image_segmenter.proto.SegmenterOptions", null, o), - r.exportSymbol("proto.mediapipe.tasks.vision.image_segmenter.proto.SegmenterOptions.Activation", null, o), - r.exportSymbol("proto.mediapipe.tasks.vision.image_segmenter.proto.SegmenterOptions.OutputType", null, o), - proto.mediapipe.tasks.vision.image_segmenter.proto.SegmenterOptions = function(e) { - t.Message.initialize(this, e, 0, -1, null, null) - } - , - r.inherits(proto.mediapipe.tasks.vision.image_segmenter.proto.SegmenterOptions, t.Message), - r.DEBUG && !COMPILED && (proto.mediapipe.tasks.vision.image_segmenter.proto.SegmenterOptions.displayName = "proto.mediapipe.tasks.vision.image_segmenter.proto.SegmenterOptions"), - t.Message.GENERATE_TO_OBJECT && (proto.mediapipe.tasks.vision.image_segmenter.proto.SegmenterOptions.prototype.toObject = function(e) { - return proto.mediapipe.tasks.vision.image_segmenter.proto.SegmenterOptions.toObject(e, this) - } - , - proto.mediapipe.tasks.vision.image_segmenter.proto.SegmenterOptions.toObject = function(e, r) { - var o, i = { - outputType: null == (o = t.Message.getField(r, 1)) ? void 0 : o, - activation: t.Message.getFieldWithDefault(r, 2, 0) - }; - return e && (i.$jspbMessageInstance = r), - i - } - ), - proto.mediapipe.tasks.vision.image_segmenter.proto.SegmenterOptions.deserializeBinary = function(e) { - var r = new t.BinaryReader(e) - , o = new proto.mediapipe.tasks.vision.image_segmenter.proto.SegmenterOptions; - return proto.mediapipe.tasks.vision.image_segmenter.proto.SegmenterOptions.deserializeBinaryFromReader(o, r) - } - , - proto.mediapipe.tasks.vision.image_segmenter.proto.SegmenterOptions.deserializeBinaryFromReader = function(e, t) { - for (; t.nextField() && !t.isEndGroup(); ) { - switch (t.getFieldNumber()) { - case 1: - var r = t.readEnum(); - e.setOutputType(r); - break; - case 2: - r = t.readEnum(); - e.setActivation(r); - break; - default: - t.skipField() - } - } - return e - } - , - proto.mediapipe.tasks.vision.image_segmenter.proto.SegmenterOptions.prototype.serializeBinary = function() { - var e = new t.BinaryWriter; - return proto.mediapipe.tasks.vision.image_segmenter.proto.SegmenterOptions.serializeBinaryToWriter(this, e), - e.getResultBuffer() - } - , - proto.mediapipe.tasks.vision.image_segmenter.proto.SegmenterOptions.serializeBinaryToWriter = function(e, r) { - var o = void 0; - null != (o = t.Message.getField(e, 1)) && r.writeEnum(1, o), - null != (o = t.Message.getField(e, 2)) && r.writeEnum(2, o) - } - , - proto.mediapipe.tasks.vision.image_segmenter.proto.SegmenterOptions.OutputType = { - UNSPECIFIED: 0, - CATEGORY_MASK: 1, - CONFIDENCE_MASK: 2 - }, - proto.mediapipe.tasks.vision.image_segmenter.proto.SegmenterOptions.Activation = { - NONE: 0, - SIGMOID: 1, - SOFTMAX: 2 - }, - proto.mediapipe.tasks.vision.image_segmenter.proto.SegmenterOptions.prototype.getOutputType = function() { - return t.Message.getFieldWithDefault(this, 1, 0) - } - , - proto.mediapipe.tasks.vision.image_segmenter.proto.SegmenterOptions.prototype.setOutputType = function(e) { - return t.Message.setField(this, 1, e) - } - , - proto.mediapipe.tasks.vision.image_segmenter.proto.SegmenterOptions.prototype.clearOutputType = function() { - return t.Message.setField(this, 1, void 0) - } - , - proto.mediapipe.tasks.vision.image_segmenter.proto.SegmenterOptions.prototype.hasOutputType = function() { - return null != t.Message.getField(this, 1) - } - , - proto.mediapipe.tasks.vision.image_segmenter.proto.SegmenterOptions.prototype.getActivation = function() { - return t.Message.getFieldWithDefault(this, 2, 0) - } - , - proto.mediapipe.tasks.vision.image_segmenter.proto.SegmenterOptions.prototype.setActivation = function(e) { - return t.Message.setField(this, 2, e) - } - , - proto.mediapipe.tasks.vision.image_segmenter.proto.SegmenterOptions.prototype.clearActivation = function() { - return t.Message.setField(this, 2, void 0) - } - , - proto.mediapipe.tasks.vision.image_segmenter.proto.SegmenterOptions.prototype.hasActivation = function() { - return null != t.Message.getField(this, 2) - } - , - r.object.extend(e, proto.mediapipe.tasks.vision.image_segmenter.proto) -}(segmenter_options_pb); -var label_map_pb = {}; -!function(e) { - var t = googleProtobuf - , r = t - , o = "undefined" != typeof globalThis && globalThis || "undefined" != typeof window && window || void 0 !== o && o || "undefined" != typeof self && self || function() { - return this - } - .call(null) || Function("return this")(); - r.exportSymbol("proto.mediapipe.LabelMapItem", null, o), - proto.mediapipe.LabelMapItem = function(e) { - t.Message.initialize(this, e, 0, -1, proto.mediapipe.LabelMapItem.repeatedFields_, null) - } - , - r.inherits(proto.mediapipe.LabelMapItem, t.Message), - r.DEBUG && !COMPILED && (proto.mediapipe.LabelMapItem.displayName = "proto.mediapipe.LabelMapItem"), - proto.mediapipe.LabelMapItem.repeatedFields_ = [3], - t.Message.GENERATE_TO_OBJECT && (proto.mediapipe.LabelMapItem.prototype.toObject = function(e) { - return proto.mediapipe.LabelMapItem.toObject(e, this) - } - , - proto.mediapipe.LabelMapItem.toObject = function(e, r) { - var o, i = { - name: null == (o = t.Message.getField(r, 1)) ? void 0 : o, - displayName: null == (o = t.Message.getField(r, 2)) ? void 0 : o, - childNameList: null == (o = t.Message.getRepeatedField(r, 3)) ? void 0 : o - }; - return e && (i.$jspbMessageInstance = r), - i - } - ), - proto.mediapipe.LabelMapItem.deserializeBinary = function(e) { - var r = new t.BinaryReader(e) - , o = new proto.mediapipe.LabelMapItem; - return proto.mediapipe.LabelMapItem.deserializeBinaryFromReader(o, r) - } - , - proto.mediapipe.LabelMapItem.deserializeBinaryFromReader = function(e, t) { - for (; t.nextField() && !t.isEndGroup(); ) { - switch (t.getFieldNumber()) { - case 1: - var r = t.readString(); - e.setName(r); - break; - case 2: - r = t.readString(); - e.setDisplayName(r); - break; - case 3: - r = t.readString(); - e.addChildName(r); - break; - default: - t.skipField() - } - } - return e - } - , - proto.mediapipe.LabelMapItem.prototype.serializeBinary = function() { - var e = new t.BinaryWriter; - return proto.mediapipe.LabelMapItem.serializeBinaryToWriter(this, e), - e.getResultBuffer() - } - , - proto.mediapipe.LabelMapItem.serializeBinaryToWriter = function(e, r) { - var o = void 0; - null != (o = t.Message.getField(e, 1)) && r.writeString(1, o), - null != (o = t.Message.getField(e, 2)) && r.writeString(2, o), - (o = e.getChildNameList()).length > 0 && r.writeRepeatedString(3, o) - } - , - proto.mediapipe.LabelMapItem.prototype.getName = function() { - return t.Message.getFieldWithDefault(this, 1, "") - } - , - proto.mediapipe.LabelMapItem.prototype.setName = function(e) { - return t.Message.setField(this, 1, e) - } - , - proto.mediapipe.LabelMapItem.prototype.clearName = function() { - return t.Message.setField(this, 1, void 0) - } - , - proto.mediapipe.LabelMapItem.prototype.hasName = function() { - return null != t.Message.getField(this, 1) - } - , - proto.mediapipe.LabelMapItem.prototype.getDisplayName = function() { - return t.Message.getFieldWithDefault(this, 2, "") - } - , - proto.mediapipe.LabelMapItem.prototype.setDisplayName = function(e) { - return t.Message.setField(this, 2, e) - } - , - proto.mediapipe.LabelMapItem.prototype.clearDisplayName = function() { - return t.Message.setField(this, 2, void 0) - } - , - proto.mediapipe.LabelMapItem.prototype.hasDisplayName = function() { - return null != t.Message.getField(this, 2) - } - , - proto.mediapipe.LabelMapItem.prototype.getChildNameList = function() { - return t.Message.getRepeatedField(this, 3) - } - , - proto.mediapipe.LabelMapItem.prototype.setChildNameList = function(e) { - return t.Message.setField(this, 3, e || []) - } - , - proto.mediapipe.LabelMapItem.prototype.addChildName = function(e, r) { - return t.Message.addToRepeatedField(this, 3, e, r) - } - , - proto.mediapipe.LabelMapItem.prototype.clearChildNameList = function() { - return this.setChildNameList([]) - } - , - r.object.extend(e, proto.mediapipe) -}(label_map_pb), -function(e) { - var t = googleProtobuf - , r = t - , o = "undefined" != typeof globalThis && globalThis || "undefined" != typeof window && window || void 0 !== o && o || "undefined" != typeof self && self || function() { - return this - } - .call(null) || Function("return this")() - , i = calculator_options_pb; - r.object.extend(proto, i); - var a = segmenter_options_pb; - r.object.extend(proto, a); - var n = label_map_pb; - r.object.extend(proto, n), - r.exportSymbol("proto.mediapipe.tasks.TensorsToSegmentationCalculatorOptions", null, o), - proto.mediapipe.tasks.TensorsToSegmentationCalculatorOptions = function(e) { - t.Message.initialize(this, e, 0, -1, null, null) - } - , - r.inherits(proto.mediapipe.tasks.TensorsToSegmentationCalculatorOptions, t.Message), - r.DEBUG && !COMPILED && (proto.mediapipe.tasks.TensorsToSegmentationCalculatorOptions.displayName = "proto.mediapipe.tasks.TensorsToSegmentationCalculatorOptions"), - t.Message.GENERATE_TO_OBJECT && (proto.mediapipe.tasks.TensorsToSegmentationCalculatorOptions.prototype.toObject = function(e) { - return proto.mediapipe.tasks.TensorsToSegmentationCalculatorOptions.toObject(e, this) - } - , - proto.mediapipe.tasks.TensorsToSegmentationCalculatorOptions.toObject = function(e, t) { - var r, o = { - segmenterOptions: (r = t.getSegmenterOptions()) && a.SegmenterOptions.toObject(e, r), - labelItemsMap: (r = t.getLabelItemsMap()) ? r.toObject(e, proto.mediapipe.LabelMapItem.toObject) : [] - }; - return e && (o.$jspbMessageInstance = t), - o - } - ), - proto.mediapipe.tasks.TensorsToSegmentationCalculatorOptions.deserializeBinary = function(e) { - var r = new t.BinaryReader(e) - , o = new proto.mediapipe.tasks.TensorsToSegmentationCalculatorOptions; - return proto.mediapipe.tasks.TensorsToSegmentationCalculatorOptions.deserializeBinaryFromReader(o, r) - } - , - proto.mediapipe.tasks.TensorsToSegmentationCalculatorOptions.deserializeBinaryFromReader = function(e, r) { - for (; r.nextField() && !r.isEndGroup(); ) { - switch (r.getFieldNumber()) { - case 1: - var o = new a.SegmenterOptions; - r.readMessage(o, a.SegmenterOptions.deserializeBinaryFromReader), - e.setSegmenterOptions(o); - break; - case 2: - o = e.getLabelItemsMap(); - r.readMessage(o, (function(e, r) { - t.Map.deserializeBinary(e, r, t.BinaryReader.prototype.readInt64, t.BinaryReader.prototype.readMessage, proto.mediapipe.LabelMapItem.deserializeBinaryFromReader, 0, new proto.mediapipe.LabelMapItem) - } - )); - break; - default: - r.skipField() - } - } - return e - } - , - proto.mediapipe.tasks.TensorsToSegmentationCalculatorOptions.prototype.serializeBinary = function() { - var e = new t.BinaryWriter; - return proto.mediapipe.tasks.TensorsToSegmentationCalculatorOptions.serializeBinaryToWriter(this, e), - e.getResultBuffer() - } - , - proto.mediapipe.tasks.TensorsToSegmentationCalculatorOptions.serializeBinaryToWriter = function(e, r) { - var o = void 0; - null != (o = e.getSegmenterOptions()) && r.writeMessage(1, o, a.SegmenterOptions.serializeBinaryToWriter), - (o = e.getLabelItemsMap(!0)) && o.getLength() > 0 && o.serializeBinary(2, r, t.BinaryWriter.prototype.writeInt64, t.BinaryWriter.prototype.writeMessage, proto.mediapipe.LabelMapItem.serializeBinaryToWriter) - } - , - proto.mediapipe.tasks.TensorsToSegmentationCalculatorOptions.ext = new t.ExtensionFieldInfo(458105876,{ - ext: 0 - },proto.mediapipe.tasks.TensorsToSegmentationCalculatorOptions,proto.mediapipe.tasks.TensorsToSegmentationCalculatorOptions.toObject,0), - i.CalculatorOptions.extensionsBinary[458105876] = new t.ExtensionFieldBinaryInfo(proto.mediapipe.tasks.TensorsToSegmentationCalculatorOptions.ext,t.BinaryReader.prototype.readMessage,t.BinaryWriter.prototype.writeMessage,proto.mediapipe.tasks.TensorsToSegmentationCalculatorOptions.serializeBinaryToWriter,proto.mediapipe.tasks.TensorsToSegmentationCalculatorOptions.deserializeBinaryFromReader,!1), - i.CalculatorOptions.extensions[458105876] = proto.mediapipe.tasks.TensorsToSegmentationCalculatorOptions.ext, - proto.mediapipe.tasks.TensorsToSegmentationCalculatorOptions.prototype.getSegmenterOptions = function() { - return t.Message.getWrapperField(this, a.SegmenterOptions, 1) - } - , - proto.mediapipe.tasks.TensorsToSegmentationCalculatorOptions.prototype.setSegmenterOptions = function(e) { - return t.Message.setWrapperField(this, 1, e) - } - , - proto.mediapipe.tasks.TensorsToSegmentationCalculatorOptions.prototype.clearSegmenterOptions = function() { - return this.setSegmenterOptions(void 0) - } - , - proto.mediapipe.tasks.TensorsToSegmentationCalculatorOptions.prototype.hasSegmenterOptions = function() { - return null != t.Message.getField(this, 1) - } - , - proto.mediapipe.tasks.TensorsToSegmentationCalculatorOptions.prototype.getLabelItemsMap = function(e) { - return t.Message.getMapField(this, 2, e, proto.mediapipe.LabelMapItem) - } - , - proto.mediapipe.tasks.TensorsToSegmentationCalculatorOptions.prototype.clearLabelItemsMap = function() { - return this.getLabelItemsMap().clear(), - this - } - , - proto.mediapipe.tasks.TensorsToSegmentationCalculatorOptions.ext = new t.ExtensionFieldInfo(458105876,{ - ext: 0 - },proto.mediapipe.tasks.TensorsToSegmentationCalculatorOptions,proto.mediapipe.tasks.TensorsToSegmentationCalculatorOptions.toObject,0), - i.CalculatorOptions.extensionsBinary[458105876] = new t.ExtensionFieldBinaryInfo(proto.mediapipe.tasks.TensorsToSegmentationCalculatorOptions.ext,t.BinaryReader.prototype.readMessage,t.BinaryWriter.prototype.writeMessage,proto.mediapipe.tasks.TensorsToSegmentationCalculatorOptions.serializeBinaryToWriter,proto.mediapipe.tasks.TensorsToSegmentationCalculatorOptions.deserializeBinaryFromReader,!1), - i.CalculatorOptions.extensions[458105876] = proto.mediapipe.tasks.TensorsToSegmentationCalculatorOptions.ext, - r.object.extend(e, proto.mediapipe.tasks) -}(tensors_to_segmentation_calculator_pb); -var image_segmenter_graph_options_pb = {}; -!function(e) { - var t = googleProtobuf - , r = t - , o = "undefined" != typeof globalThis && globalThis || "undefined" != typeof window && window || void 0 !== o && o || "undefined" != typeof self && self || function() { - return this - } - .call(null) || Function("return this")() - , i = calculator_pb; - r.object.extend(proto, i); - var a = calculator_options_pb; - r.object.extend(proto, a); - var n = base_options_pb; - r.object.extend(proto, n); - var s = segmenter_options_pb; - r.object.extend(proto, s), - r.exportSymbol("proto.mediapipe.tasks.vision.image_segmenter.proto.ImageSegmenterGraphOptions", null, o), - proto.mediapipe.tasks.vision.image_segmenter.proto.ImageSegmenterGraphOptions = function(e) { - t.Message.initialize(this, e, 0, -1, null, null) - } - , - r.inherits(proto.mediapipe.tasks.vision.image_segmenter.proto.ImageSegmenterGraphOptions, t.Message), - r.DEBUG && !COMPILED && (proto.mediapipe.tasks.vision.image_segmenter.proto.ImageSegmenterGraphOptions.displayName = "proto.mediapipe.tasks.vision.image_segmenter.proto.ImageSegmenterGraphOptions"), - t.Message.GENERATE_TO_OBJECT && (proto.mediapipe.tasks.vision.image_segmenter.proto.ImageSegmenterGraphOptions.prototype.toObject = function(e) { - return proto.mediapipe.tasks.vision.image_segmenter.proto.ImageSegmenterGraphOptions.toObject(e, this) - } - , - proto.mediapipe.tasks.vision.image_segmenter.proto.ImageSegmenterGraphOptions.toObject = function(e, r) { - var o, i = { - baseOptions: (o = r.getBaseOptions()) && n.BaseOptions.toObject(e, o), - displayNamesLocale: t.Message.getFieldWithDefault(r, 2, "en"), - segmenterOptions: (o = r.getSegmenterOptions()) && s.SegmenterOptions.toObject(e, o) - }; - return e && (i.$jspbMessageInstance = r), - i - } - ), - proto.mediapipe.tasks.vision.image_segmenter.proto.ImageSegmenterGraphOptions.deserializeBinary = function(e) { - var r = new t.BinaryReader(e) - , o = new proto.mediapipe.tasks.vision.image_segmenter.proto.ImageSegmenterGraphOptions; - return proto.mediapipe.tasks.vision.image_segmenter.proto.ImageSegmenterGraphOptions.deserializeBinaryFromReader(o, r) - } - , - proto.mediapipe.tasks.vision.image_segmenter.proto.ImageSegmenterGraphOptions.deserializeBinaryFromReader = function(e, t) { - for (; t.nextField() && !t.isEndGroup(); ) { - switch (t.getFieldNumber()) { - case 1: - var r = new n.BaseOptions; - t.readMessage(r, n.BaseOptions.deserializeBinaryFromReader), - e.setBaseOptions(r); - break; - case 2: - r = t.readString(); - e.setDisplayNamesLocale(r); - break; - case 3: - r = new s.SegmenterOptions; - t.readMessage(r, s.SegmenterOptions.deserializeBinaryFromReader), - e.setSegmenterOptions(r); - break; - default: - t.skipField() - } - } - return e - } - , - proto.mediapipe.tasks.vision.image_segmenter.proto.ImageSegmenterGraphOptions.prototype.serializeBinary = function() { - var e = new t.BinaryWriter; - return proto.mediapipe.tasks.vision.image_segmenter.proto.ImageSegmenterGraphOptions.serializeBinaryToWriter(this, e), - e.getResultBuffer() - } - , - proto.mediapipe.tasks.vision.image_segmenter.proto.ImageSegmenterGraphOptions.serializeBinaryToWriter = function(e, r) { - var o = void 0; - null != (o = e.getBaseOptions()) && r.writeMessage(1, o, n.BaseOptions.serializeBinaryToWriter), - null != (o = t.Message.getField(e, 2)) && r.writeString(2, o), - null != (o = e.getSegmenterOptions()) && r.writeMessage(3, o, s.SegmenterOptions.serializeBinaryToWriter) - } - , - proto.mediapipe.tasks.vision.image_segmenter.proto.ImageSegmenterGraphOptions.ext = new t.ExtensionFieldInfo(458105758,{ - ext: 0 - },proto.mediapipe.tasks.vision.image_segmenter.proto.ImageSegmenterGraphOptions,proto.mediapipe.tasks.vision.image_segmenter.proto.ImageSegmenterGraphOptions.toObject,0), - a.CalculatorOptions.extensionsBinary[458105758] = new t.ExtensionFieldBinaryInfo(proto.mediapipe.tasks.vision.image_segmenter.proto.ImageSegmenterGraphOptions.ext,t.BinaryReader.prototype.readMessage,t.BinaryWriter.prototype.writeMessage,proto.mediapipe.tasks.vision.image_segmenter.proto.ImageSegmenterGraphOptions.serializeBinaryToWriter,proto.mediapipe.tasks.vision.image_segmenter.proto.ImageSegmenterGraphOptions.deserializeBinaryFromReader,!1), - a.CalculatorOptions.extensions[458105758] = proto.mediapipe.tasks.vision.image_segmenter.proto.ImageSegmenterGraphOptions.ext, - proto.mediapipe.tasks.vision.image_segmenter.proto.ImageSegmenterGraphOptions.prototype.getBaseOptions = function() { - return t.Message.getWrapperField(this, n.BaseOptions, 1) - } - , - proto.mediapipe.tasks.vision.image_segmenter.proto.ImageSegmenterGraphOptions.prototype.setBaseOptions = function(e) { - return t.Message.setWrapperField(this, 1, e) - } - , - proto.mediapipe.tasks.vision.image_segmenter.proto.ImageSegmenterGraphOptions.prototype.clearBaseOptions = function() { - return this.setBaseOptions(void 0) - } - , - proto.mediapipe.tasks.vision.image_segmenter.proto.ImageSegmenterGraphOptions.prototype.hasBaseOptions = function() { - return null != t.Message.getField(this, 1) - } - , - proto.mediapipe.tasks.vision.image_segmenter.proto.ImageSegmenterGraphOptions.prototype.getDisplayNamesLocale = function() { - return t.Message.getFieldWithDefault(this, 2, "en") - } - , - proto.mediapipe.tasks.vision.image_segmenter.proto.ImageSegmenterGraphOptions.prototype.setDisplayNamesLocale = function(e) { - return t.Message.setField(this, 2, e) - } - , - proto.mediapipe.tasks.vision.image_segmenter.proto.ImageSegmenterGraphOptions.prototype.clearDisplayNamesLocale = function() { - return t.Message.setField(this, 2, void 0) - } - , - proto.mediapipe.tasks.vision.image_segmenter.proto.ImageSegmenterGraphOptions.prototype.hasDisplayNamesLocale = function() { - return null != t.Message.getField(this, 2) - } - , - proto.mediapipe.tasks.vision.image_segmenter.proto.ImageSegmenterGraphOptions.prototype.getSegmenterOptions = function() { - return t.Message.getWrapperField(this, s.SegmenterOptions, 3) - } - , - proto.mediapipe.tasks.vision.image_segmenter.proto.ImageSegmenterGraphOptions.prototype.setSegmenterOptions = function(e) { - return t.Message.setWrapperField(this, 3, e) - } - , - proto.mediapipe.tasks.vision.image_segmenter.proto.ImageSegmenterGraphOptions.prototype.clearSegmenterOptions = function() { - return this.setSegmenterOptions(void 0) - } - , - proto.mediapipe.tasks.vision.image_segmenter.proto.ImageSegmenterGraphOptions.prototype.hasSegmenterOptions = function() { - return null != t.Message.getField(this, 3) - } - , - proto.mediapipe.tasks.vision.image_segmenter.proto.ImageSegmenterGraphOptions.ext = new t.ExtensionFieldInfo(458105758,{ - ext: 0 - },proto.mediapipe.tasks.vision.image_segmenter.proto.ImageSegmenterGraphOptions,proto.mediapipe.tasks.vision.image_segmenter.proto.ImageSegmenterGraphOptions.toObject,0), - a.CalculatorOptions.extensionsBinary[458105758] = new t.ExtensionFieldBinaryInfo(proto.mediapipe.tasks.vision.image_segmenter.proto.ImageSegmenterGraphOptions.ext,t.BinaryReader.prototype.readMessage,t.BinaryWriter.prototype.writeMessage,proto.mediapipe.tasks.vision.image_segmenter.proto.ImageSegmenterGraphOptions.serializeBinaryToWriter,proto.mediapipe.tasks.vision.image_segmenter.proto.ImageSegmenterGraphOptions.deserializeBinaryFromReader,!1), - a.CalculatorOptions.extensions[458105758] = proto.mediapipe.tasks.vision.image_segmenter.proto.ImageSegmenterGraphOptions.ext, - r.object.extend(e, proto.mediapipe.tasks.vision.image_segmenter.proto) -}(image_segmenter_graph_options_pb); -var image_segmenter_options = {}; -Object.defineProperty(image_segmenter_options, "__esModule", { - value: !0 -}); -var image_segmenter_result = {}; -Object.defineProperty(image_segmenter_result, "__esModule", { - value: !0 -}), -function(e) { - var t = commonjsGlobal && commonjsGlobal.__createBinding || (Object.create ? function(e, t, r, o) { - void 0 === o && (o = r); - var i = Object.getOwnPropertyDescriptor(t, r); - i && !("get"in i ? !t.__esModule : i.writable || i.configurable) || (i = { - enumerable: !0, - get: function() { - return t[r] - } - }), - Object.defineProperty(e, o, i) - } - : function(e, t, r, o) { - void 0 === o && (o = r), - e[o] = t[r] - } - ) - , r = commonjsGlobal && commonjsGlobal.__exportStar || function(e, r) { - for (var o in e) - "default" === o || Object.prototype.hasOwnProperty.call(r, o) || t(r, e, o) - } - ; - Object.defineProperty(e, "__esModule", { - value: !0 - }), - e.ImageSegmenter = void 0; - const o = calculator_pb - , i = calculator_options_pb - , a = base_options_pb - , n = tensors_to_segmentation_calculator_pb - , s = image_segmenter_graph_options_pb - , p = segmenter_options_pb - , d = vision_task_runner; - r(image_segmenter_options, e), - r(image_segmenter_result, e); - const l = "image_in" - , g = "norm_rect" - , c = "confidence_masks" - , u = "category_mask" - , m = "mediapipe.tasks.TensorsToSegmentationCalculator"; - class f extends d.VisionTaskRunner { - static createFromOptions(e, t) { - return d.VisionTaskRunner.createVisionInstance(f, e, t) - } - static createFromModelBuffer(e, t) { - return d.VisionTaskRunner.createVisionInstance(f, e, { - baseOptions: { - modelAssetBuffer: t - } - }) - } - static createFromModelPath(e, t) { - return d.VisionTaskRunner.createVisionInstance(f, e, { - baseOptions: { - modelAssetPath: t - } - }) - } - constructor(e, t) { - super(new d.VisionGraphRunner(e,t), l, g, !1), - this.result = {}, - this.labels = [], - this.outputCategoryMask = false, - this.outputConfidenceMasks = true, - this.options = new s.ImageSegmenterGraphOptions, - this.segmenterOptions = new p.SegmenterOptions, - this.options.setSegmenterOptions(this.segmenterOptions), - this.options.setBaseOptions(new a.BaseOptions) - } - get baseOptions() { - return this.options.getBaseOptions() - } - set baseOptions(e) { - this.options.setBaseOptions(e) - } - setOptions(e) { - var t, r; - return void 0 !== e.displayNamesLocale ? this.options.setDisplayNamesLocale(e.displayNamesLocale) : "displayNamesLocale"in e && this.options.clearDisplayNamesLocale(), - "outputCategoryMask"in e && (this.outputCategoryMask = null !== (t = e.outputCategoryMask) && void 0 !== t && t), - "outputConfidenceMasks"in e && (this.outputConfidenceMasks = null === (r = e.outputConfidenceMasks) || void 0 === r || r), - super.applyOptions(e) - } - onGraphRefreshed() { - this.populateLabels() - } - populateLabels() { - var e, t, r; - const o = this.getCalculatorGraphConfig().getNodeList().filter((e=>e.getName().includes(m))); - if (this.labels = [], - o.length > 1) - throw new Error(`The graph has more than one ${m}.`); - if (1 === o.length) { - (null !== (r = null === (t = null === (e = o[0].getOptions()) || void 0 === e ? void 0 : e.getExtension(n.TensorsToSegmentationCalculatorOptions.ext)) || void 0 === t ? void 0 : t.getLabelItemsMap()) && void 0 !== r ? r : new Map).forEach(((e,t)=>{ - this.labels[Number(t)] = e.getName() - } - )) - } - } - segment(e, t, r) { - const o = "function" != typeof t ? t : {}; - if (this.userCallback = "function" == typeof t ? t : r, - this.reset(), - this.processImageData(e, o), - !this.userCallback) - return this.result - } - segmentForVideo(e, t, r, o) { - const i = "function" != typeof r ? r : {}; - if (this.userCallback = "function" == typeof r ? r : o, - this.reset(), - this.processVideoData(e, i, t), - !this.userCallback) - return this.result - } - getLabels() { - return this.labels - } - reset() { - this.result = {} - } - maybeInvokeCallback() { - this.outputConfidenceMasks && !("confidenceMasks"in this.result) || this.outputCategoryMask && !("categoryMask"in this.result) || this.userCallback && (this.userCallback(this.result), - this.freeKeepaliveStreams()) - } - refreshGraph() { - const e = new o.CalculatorGraphConfig; - e.addInputStream(l), - e.addInputStream(g); - const t = new i.CalculatorOptions; - t.setExtension(s.ImageSegmenterGraphOptions.ext, this.options); - const r = new o.CalculatorGraphConfig.Node; - r.setCalculator("mediapipe.tasks.vision.image_segmenter.ImageSegmenterGraph"), - r.addInputStream("IMAGE:" + l), - r.addInputStream("NORM_RECT:" + g), - r.setOptions(t), - e.addNode(r), - this.addKeepaliveNode(e), - this.outputConfidenceMasks && (e.addOutputStream(c), - r.addOutputStream("CONFIDENCE_MASKS:" + c), - this.keepStreamAlive(c), - this.graphRunner.attachImageVectorListener(c, ((e,t)=>{ - this.result.confidenceMasks = e.map((e=>this.convertToMPMask(e, !this.userCallback))), - this.setLatestOutputTimestamp(t), - this.maybeInvokeCallback() - } - )), - this.graphRunner.attachEmptyPacketListener(c, (e=>{ - this.result.confidenceMasks = void 0, - this.setLatestOutputTimestamp(e), - this.maybeInvokeCallback() - } - ))), - this.outputCategoryMask && (e.addOutputStream(u), - r.addOutputStream("CATEGORY_MASK:" + u), - this.keepStreamAlive(u), - this.graphRunner.attachImageListener(u, ((e,t)=>{ - this.result.categoryMask = this.convertToMPMask(e, !this.userCallback), - this.setLatestOutputTimestamp(t), - this.maybeInvokeCallback() - } - )), - this.graphRunner.attachEmptyPacketListener(u, (e=>{ - this.result.categoryMask = void 0, - this.setLatestOutputTimestamp(e), - this.maybeInvokeCallback() - } - ))); - const a = e.serializeBinary(); - this.setGraph(new Uint8Array(a), !0) - } - } - e.ImageSegmenter = f -}(image_segmenter); -var interactive_segmenter = {} - , color_pb = {}; -!function(e) { - var t = googleProtobuf - , r = t - , o = "undefined" != typeof globalThis && globalThis || "undefined" != typeof window && window || void 0 !== o && o || "undefined" != typeof self && self || function() { - return this - } - .call(null) || Function("return this")(); - r.exportSymbol("proto.mediapipe.Color", null, o), - r.exportSymbol("proto.mediapipe.ColorMap", null, o), - proto.mediapipe.Color = function(e) { - t.Message.initialize(this, e, 0, -1, null, null) - } - , - r.inherits(proto.mediapipe.Color, t.Message), - r.DEBUG && !COMPILED && (proto.mediapipe.Color.displayName = "proto.mediapipe.Color"), - proto.mediapipe.ColorMap = function(e) { - t.Message.initialize(this, e, 0, -1, null, null) - } - , - r.inherits(proto.mediapipe.ColorMap, t.Message), - r.DEBUG && !COMPILED && (proto.mediapipe.ColorMap.displayName = "proto.mediapipe.ColorMap"), - t.Message.GENERATE_TO_OBJECT && (proto.mediapipe.Color.prototype.toObject = function(e) { - return proto.mediapipe.Color.toObject(e, this) - } - , - proto.mediapipe.Color.toObject = function(e, r) { - var o, i = { - r: null == (o = t.Message.getField(r, 1)) ? void 0 : o, - g: null == (o = t.Message.getField(r, 2)) ? void 0 : o, - b: null == (o = t.Message.getField(r, 3)) ? void 0 : o - }; - return e && (i.$jspbMessageInstance = r), - i - } - ), - proto.mediapipe.Color.deserializeBinary = function(e) { - var r = new t.BinaryReader(e) - , o = new proto.mediapipe.Color; - return proto.mediapipe.Color.deserializeBinaryFromReader(o, r) - } - , - proto.mediapipe.Color.deserializeBinaryFromReader = function(e, t) { - for (; t.nextField() && !t.isEndGroup(); ) { - switch (t.getFieldNumber()) { - case 1: - var r = t.readInt32(); - e.setR(r); - break; - case 2: - r = t.readInt32(); - e.setG(r); - break; - case 3: - r = t.readInt32(); - e.setB(r); - break; - default: - t.skipField() - } - } - return e - } - , - proto.mediapipe.Color.prototype.serializeBinary = function() { - var e = new t.BinaryWriter; - return proto.mediapipe.Color.serializeBinaryToWriter(this, e), - e.getResultBuffer() - } - , - proto.mediapipe.Color.serializeBinaryToWriter = function(e, r) { - var o = void 0; - null != (o = t.Message.getField(e, 1)) && r.writeInt32(1, o), - null != (o = t.Message.getField(e, 2)) && r.writeInt32(2, o), - null != (o = t.Message.getField(e, 3)) && r.writeInt32(3, o) - } - , - proto.mediapipe.Color.prototype.getR = function() { - return t.Message.getFieldWithDefault(this, 1, 0) - } - , - proto.mediapipe.Color.prototype.setR = function(e) { - return t.Message.setField(this, 1, e) - } - , - proto.mediapipe.Color.prototype.clearR = function() { - return t.Message.setField(this, 1, void 0) - } - , - proto.mediapipe.Color.prototype.hasR = function() { - return null != t.Message.getField(this, 1) - } - , - proto.mediapipe.Color.prototype.getG = function() { - return t.Message.getFieldWithDefault(this, 2, 0) - } - , - proto.mediapipe.Color.prototype.setG = function(e) { - return t.Message.setField(this, 2, e) - } - , - proto.mediapipe.Color.prototype.clearG = function() { - return t.Message.setField(this, 2, void 0) - } - , - proto.mediapipe.Color.prototype.hasG = function() { - return null != t.Message.getField(this, 2) - } - , - proto.mediapipe.Color.prototype.getB = function() { - return t.Message.getFieldWithDefault(this, 3, 0) - } - , - proto.mediapipe.Color.prototype.setB = function(e) { - return t.Message.setField(this, 3, e) - } - , - proto.mediapipe.Color.prototype.clearB = function() { - return t.Message.setField(this, 3, void 0) - } - , - proto.mediapipe.Color.prototype.hasB = function() { - return null != t.Message.getField(this, 3) - } - , - t.Message.GENERATE_TO_OBJECT && (proto.mediapipe.ColorMap.prototype.toObject = function(e) { - return proto.mediapipe.ColorMap.toObject(e, this) - } - , - proto.mediapipe.ColorMap.toObject = function(e, t) { - var r, o = { - labelToColorMap: (r = t.getLabelToColorMap()) ? r.toObject(e, proto.mediapipe.Color.toObject) : [] - }; - return e && (o.$jspbMessageInstance = t), - o - } - ), - proto.mediapipe.ColorMap.deserializeBinary = function(e) { - var r = new t.BinaryReader(e) - , o = new proto.mediapipe.ColorMap; - return proto.mediapipe.ColorMap.deserializeBinaryFromReader(o, r) - } - , - proto.mediapipe.ColorMap.deserializeBinaryFromReader = function(e, r) { - for (; r.nextField() && !r.isEndGroup(); ) { - if (1 === r.getFieldNumber()) { - var o = e.getLabelToColorMap(); - r.readMessage(o, (function(e, r) { - t.Map.deserializeBinary(e, r, t.BinaryReader.prototype.readString, t.BinaryReader.prototype.readMessage, proto.mediapipe.Color.deserializeBinaryFromReader, "", new proto.mediapipe.Color) - } - )) - } else - r.skipField() - } - return e - } - , - proto.mediapipe.ColorMap.prototype.serializeBinary = function() { - var e = new t.BinaryWriter; - return proto.mediapipe.ColorMap.serializeBinaryToWriter(this, e), - e.getResultBuffer() - } - , - proto.mediapipe.ColorMap.serializeBinaryToWriter = function(e, r) { - var o = void 0; - (o = e.getLabelToColorMap(!0)) && o.getLength() > 0 && o.serializeBinary(1, r, t.BinaryWriter.prototype.writeString, t.BinaryWriter.prototype.writeMessage, proto.mediapipe.Color.serializeBinaryToWriter) - } - , - proto.mediapipe.ColorMap.prototype.getLabelToColorMap = function(e) { - return t.Message.getMapField(this, 1, e, proto.mediapipe.Color) - } - , - proto.mediapipe.ColorMap.prototype.clearLabelToColorMap = function() { - return this.getLabelToColorMap().clear(), - this - } - , - r.object.extend(e, proto.mediapipe) -}(color_pb); -var render_data_pb = {}; -!function(e) { - var t = googleProtobuf - , r = t - , o = "undefined" != typeof globalThis && globalThis || "undefined" != typeof window && window || void 0 !== o && o || "undefined" != typeof self && self || function() { - return this - } - .call(null) || Function("return this")() - , i = color_pb; - r.object.extend(proto, i), - r.exportSymbol("proto.mediapipe.RenderAnnotation", null, o), - r.exportSymbol("proto.mediapipe.RenderAnnotation.Arrow", null, o), - r.exportSymbol("proto.mediapipe.RenderAnnotation.DataCase", null, o), - r.exportSymbol("proto.mediapipe.RenderAnnotation.FilledOval", null, o), - r.exportSymbol("proto.mediapipe.RenderAnnotation.FilledRectangle", null, o), - r.exportSymbol("proto.mediapipe.RenderAnnotation.FilledRoundedRectangle", null, o), - r.exportSymbol("proto.mediapipe.RenderAnnotation.GradientLine", null, o), - r.exportSymbol("proto.mediapipe.RenderAnnotation.Line", null, o), - r.exportSymbol("proto.mediapipe.RenderAnnotation.Line.LineType", null, o), - r.exportSymbol("proto.mediapipe.RenderAnnotation.Oval", null, o), - r.exportSymbol("proto.mediapipe.RenderAnnotation.Point", null, o), - r.exportSymbol("proto.mediapipe.RenderAnnotation.Rectangle", null, o), - r.exportSymbol("proto.mediapipe.RenderAnnotation.RoundedRectangle", null, o), - r.exportSymbol("proto.mediapipe.RenderAnnotation.Scribble", null, o), - r.exportSymbol("proto.mediapipe.RenderAnnotation.Text", null, o), - r.exportSymbol("proto.mediapipe.RenderData", null, o), - r.exportSymbol("proto.mediapipe.RenderViewport", null, o), - proto.mediapipe.RenderData = function(e) { - t.Message.initialize(this, e, 0, -1, proto.mediapipe.RenderData.repeatedFields_, null) - } - , - r.inherits(proto.mediapipe.RenderData, t.Message), - r.DEBUG && !COMPILED && (proto.mediapipe.RenderData.displayName = "proto.mediapipe.RenderData"), - proto.mediapipe.RenderAnnotation = function(e) { - t.Message.initialize(this, e, 0, -1, null, proto.mediapipe.RenderAnnotation.oneofGroups_) - } - , - r.inherits(proto.mediapipe.RenderAnnotation, t.Message), - r.DEBUG && !COMPILED && (proto.mediapipe.RenderAnnotation.displayName = "proto.mediapipe.RenderAnnotation"), - proto.mediapipe.RenderAnnotation.Rectangle = function(e) { - t.Message.initialize(this, e, 0, -1, null, null) - } - , - r.inherits(proto.mediapipe.RenderAnnotation.Rectangle, t.Message), - r.DEBUG && !COMPILED && (proto.mediapipe.RenderAnnotation.Rectangle.displayName = "proto.mediapipe.RenderAnnotation.Rectangle"), - proto.mediapipe.RenderAnnotation.FilledRectangle = function(e) { - t.Message.initialize(this, e, 0, -1, null, null) - } - , - r.inherits(proto.mediapipe.RenderAnnotation.FilledRectangle, t.Message), - r.DEBUG && !COMPILED && (proto.mediapipe.RenderAnnotation.FilledRectangle.displayName = "proto.mediapipe.RenderAnnotation.FilledRectangle"), - proto.mediapipe.RenderAnnotation.RoundedRectangle = function(e) { - t.Message.initialize(this, e, 0, -1, null, null) - } - , - r.inherits(proto.mediapipe.RenderAnnotation.RoundedRectangle, t.Message), - r.DEBUG && !COMPILED && (proto.mediapipe.RenderAnnotation.RoundedRectangle.displayName = "proto.mediapipe.RenderAnnotation.RoundedRectangle"), - proto.mediapipe.RenderAnnotation.FilledRoundedRectangle = function(e) { - t.Message.initialize(this, e, 0, -1, null, null) - } - , - r.inherits(proto.mediapipe.RenderAnnotation.FilledRoundedRectangle, t.Message), - r.DEBUG && !COMPILED && (proto.mediapipe.RenderAnnotation.FilledRoundedRectangle.displayName = "proto.mediapipe.RenderAnnotation.FilledRoundedRectangle"), - proto.mediapipe.RenderAnnotation.Oval = function(e) { - t.Message.initialize(this, e, 0, -1, null, null) - } - , - r.inherits(proto.mediapipe.RenderAnnotation.Oval, t.Message), - r.DEBUG && !COMPILED && (proto.mediapipe.RenderAnnotation.Oval.displayName = "proto.mediapipe.RenderAnnotation.Oval"), - proto.mediapipe.RenderAnnotation.FilledOval = function(e) { - t.Message.initialize(this, e, 0, -1, null, null) - } - , - r.inherits(proto.mediapipe.RenderAnnotation.FilledOval, t.Message), - r.DEBUG && !COMPILED && (proto.mediapipe.RenderAnnotation.FilledOval.displayName = "proto.mediapipe.RenderAnnotation.FilledOval"), - proto.mediapipe.RenderAnnotation.Point = function(e) { - t.Message.initialize(this, e, 0, -1, null, null) - } - , - r.inherits(proto.mediapipe.RenderAnnotation.Point, t.Message), - r.DEBUG && !COMPILED && (proto.mediapipe.RenderAnnotation.Point.displayName = "proto.mediapipe.RenderAnnotation.Point"), - proto.mediapipe.RenderAnnotation.Line = function(e) { - t.Message.initialize(this, e, 0, -1, null, null) - } - , - r.inherits(proto.mediapipe.RenderAnnotation.Line, t.Message), - r.DEBUG && !COMPILED && (proto.mediapipe.RenderAnnotation.Line.displayName = "proto.mediapipe.RenderAnnotation.Line"), - proto.mediapipe.RenderAnnotation.GradientLine = function(e) { - t.Message.initialize(this, e, 0, -1, null, null) - } - , - r.inherits(proto.mediapipe.RenderAnnotation.GradientLine, t.Message), - r.DEBUG && !COMPILED && (proto.mediapipe.RenderAnnotation.GradientLine.displayName = "proto.mediapipe.RenderAnnotation.GradientLine"), - proto.mediapipe.RenderAnnotation.Scribble = function(e) { - t.Message.initialize(this, e, 0, -1, proto.mediapipe.RenderAnnotation.Scribble.repeatedFields_, null) - } - , - r.inherits(proto.mediapipe.RenderAnnotation.Scribble, t.Message), - r.DEBUG && !COMPILED && (proto.mediapipe.RenderAnnotation.Scribble.displayName = "proto.mediapipe.RenderAnnotation.Scribble"), - proto.mediapipe.RenderAnnotation.Arrow = function(e) { - t.Message.initialize(this, e, 0, -1, null, null) - } - , - r.inherits(proto.mediapipe.RenderAnnotation.Arrow, t.Message), - r.DEBUG && !COMPILED && (proto.mediapipe.RenderAnnotation.Arrow.displayName = "proto.mediapipe.RenderAnnotation.Arrow"), - proto.mediapipe.RenderAnnotation.Text = function(e) { - t.Message.initialize(this, e, 0, -1, null, null) - } - , - r.inherits(proto.mediapipe.RenderAnnotation.Text, t.Message), - r.DEBUG && !COMPILED && (proto.mediapipe.RenderAnnotation.Text.displayName = "proto.mediapipe.RenderAnnotation.Text"), - proto.mediapipe.RenderViewport = function(e) { - t.Message.initialize(this, e, 0, -1, null, null) - } - , - r.inherits(proto.mediapipe.RenderViewport, t.Message), - r.DEBUG && !COMPILED && (proto.mediapipe.RenderViewport.displayName = "proto.mediapipe.RenderViewport"), - proto.mediapipe.RenderData.repeatedFields_ = [1], - t.Message.GENERATE_TO_OBJECT && (proto.mediapipe.RenderData.prototype.toObject = function(e) { - return proto.mediapipe.RenderData.toObject(e, this) - } - , - proto.mediapipe.RenderData.toObject = function(e, r) { - var o, i = { - renderAnnotationsList: t.Message.toObjectList(r.getRenderAnnotationsList(), proto.mediapipe.RenderAnnotation.toObject, e), - sceneClass: null == (o = t.Message.getField(r, 2)) ? void 0 : o, - sceneViewport: (o = r.getSceneViewport()) && proto.mediapipe.RenderViewport.toObject(e, o) - }; - return e && (i.$jspbMessageInstance = r), - i - } - ), - proto.mediapipe.RenderData.deserializeBinary = function(e) { - var r = new t.BinaryReader(e) - , o = new proto.mediapipe.RenderData; - return proto.mediapipe.RenderData.deserializeBinaryFromReader(o, r) - } - , - proto.mediapipe.RenderData.deserializeBinaryFromReader = function(e, t) { - for (; t.nextField() && !t.isEndGroup(); ) { - switch (t.getFieldNumber()) { - case 1: - var r = new proto.mediapipe.RenderAnnotation; - t.readMessage(r, proto.mediapipe.RenderAnnotation.deserializeBinaryFromReader), - e.addRenderAnnotations(r); - break; - case 2: - r = t.readString(); - e.setSceneClass(r); - break; - case 3: - r = new proto.mediapipe.RenderViewport; - t.readMessage(r, proto.mediapipe.RenderViewport.deserializeBinaryFromReader), - e.setSceneViewport(r); - break; - default: - t.skipField() - } - } - return e - } - , - proto.mediapipe.RenderData.prototype.serializeBinary = function() { - var e = new t.BinaryWriter; - return proto.mediapipe.RenderData.serializeBinaryToWriter(this, e), - e.getResultBuffer() - } - , - proto.mediapipe.RenderData.serializeBinaryToWriter = function(e, r) { - var o = void 0; - (o = e.getRenderAnnotationsList()).length > 0 && r.writeRepeatedMessage(1, o, proto.mediapipe.RenderAnnotation.serializeBinaryToWriter), - null != (o = t.Message.getField(e, 2)) && r.writeString(2, o), - null != (o = e.getSceneViewport()) && r.writeMessage(3, o, proto.mediapipe.RenderViewport.serializeBinaryToWriter) - } - , - proto.mediapipe.RenderData.prototype.getRenderAnnotationsList = function() { - return t.Message.getRepeatedWrapperField(this, proto.mediapipe.RenderAnnotation, 1) - } - , - proto.mediapipe.RenderData.prototype.setRenderAnnotationsList = function(e) { - return t.Message.setRepeatedWrapperField(this, 1, e) - } - , - proto.mediapipe.RenderData.prototype.addRenderAnnotations = function(e, r) { - return t.Message.addToRepeatedWrapperField(this, 1, e, proto.mediapipe.RenderAnnotation, r) - } - , - proto.mediapipe.RenderData.prototype.clearRenderAnnotationsList = function() { - return this.setRenderAnnotationsList([]) - } - , - proto.mediapipe.RenderData.prototype.getSceneClass = function() { - return t.Message.getFieldWithDefault(this, 2, "") - } - , - proto.mediapipe.RenderData.prototype.setSceneClass = function(e) { - return t.Message.setField(this, 2, e) - } - , - proto.mediapipe.RenderData.prototype.clearSceneClass = function() { - return t.Message.setField(this, 2, void 0) - } - , - proto.mediapipe.RenderData.prototype.hasSceneClass = function() { - return null != t.Message.getField(this, 2) - } - , - proto.mediapipe.RenderData.prototype.getSceneViewport = function() { - return t.Message.getWrapperField(this, proto.mediapipe.RenderViewport, 3) - } - , - proto.mediapipe.RenderData.prototype.setSceneViewport = function(e) { - return t.Message.setWrapperField(this, 3, e) - } - , - proto.mediapipe.RenderData.prototype.clearSceneViewport = function() { - return this.setSceneViewport(void 0) - } - , - proto.mediapipe.RenderData.prototype.hasSceneViewport = function() { - return null != t.Message.getField(this, 3) - } - , - proto.mediapipe.RenderAnnotation.oneofGroups_ = [[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 14, 15]], - proto.mediapipe.RenderAnnotation.DataCase = { - DATA_NOT_SET: 0, - RECTANGLE: 1, - FILLED_RECTANGLE: 2, - OVAL: 3, - FILLED_OVAL: 4, - POINT: 5, - LINE: 6, - ARROW: 7, - TEXT: 8, - ROUNDED_RECTANGLE: 9, - FILLED_ROUNDED_RECTANGLE: 10, - GRADIENT_LINE: 14, - SCRIBBLE: 15 - }, - proto.mediapipe.RenderAnnotation.prototype.getDataCase = function() { - return t.Message.computeOneofCase(this, proto.mediapipe.RenderAnnotation.oneofGroups_[0]) - } - , - t.Message.GENERATE_TO_OBJECT && (proto.mediapipe.RenderAnnotation.prototype.toObject = function(e) { - return proto.mediapipe.RenderAnnotation.toObject(e, this) - } - , - proto.mediapipe.RenderAnnotation.toObject = function(e, r) { - var o, a = { - rectangle: (o = r.getRectangle()) && proto.mediapipe.RenderAnnotation.Rectangle.toObject(e, o), - filledRectangle: (o = r.getFilledRectangle()) && proto.mediapipe.RenderAnnotation.FilledRectangle.toObject(e, o), - oval: (o = r.getOval()) && proto.mediapipe.RenderAnnotation.Oval.toObject(e, o), - filledOval: (o = r.getFilledOval()) && proto.mediapipe.RenderAnnotation.FilledOval.toObject(e, o), - point: (o = r.getPoint()) && proto.mediapipe.RenderAnnotation.Point.toObject(e, o), - line: (o = r.getLine()) && proto.mediapipe.RenderAnnotation.Line.toObject(e, o), - arrow: (o = r.getArrow()) && proto.mediapipe.RenderAnnotation.Arrow.toObject(e, o), - text: (o = r.getText()) && proto.mediapipe.RenderAnnotation.Text.toObject(e, o), - roundedRectangle: (o = r.getRoundedRectangle()) && proto.mediapipe.RenderAnnotation.RoundedRectangle.toObject(e, o), - filledRoundedRectangle: (o = r.getFilledRoundedRectangle()) && proto.mediapipe.RenderAnnotation.FilledRoundedRectangle.toObject(e, o), - gradientLine: (o = r.getGradientLine()) && proto.mediapipe.RenderAnnotation.GradientLine.toObject(e, o), - scribble: (o = r.getScribble()) && proto.mediapipe.RenderAnnotation.Scribble.toObject(e, o), - thickness: t.Message.getFloatingPointFieldWithDefault(r, 11, 1), - color: (o = r.getColor()) && i.Color.toObject(e, o), - sceneTag: null == (o = t.Message.getField(r, 13)) ? void 0 : o - }; - return e && (a.$jspbMessageInstance = r), - a - } - ), - proto.mediapipe.RenderAnnotation.deserializeBinary = function(e) { - var r = new t.BinaryReader(e) - , o = new proto.mediapipe.RenderAnnotation; - return proto.mediapipe.RenderAnnotation.deserializeBinaryFromReader(o, r) - } - , - proto.mediapipe.RenderAnnotation.deserializeBinaryFromReader = function(e, t) { - for (; t.nextField() && !t.isEndGroup(); ) { - switch (t.getFieldNumber()) { - case 1: - var r = new proto.mediapipe.RenderAnnotation.Rectangle; - t.readMessage(r, proto.mediapipe.RenderAnnotation.Rectangle.deserializeBinaryFromReader), - e.setRectangle(r); - break; - case 2: - r = new proto.mediapipe.RenderAnnotation.FilledRectangle; - t.readMessage(r, proto.mediapipe.RenderAnnotation.FilledRectangle.deserializeBinaryFromReader), - e.setFilledRectangle(r); - break; - case 3: - r = new proto.mediapipe.RenderAnnotation.Oval; - t.readMessage(r, proto.mediapipe.RenderAnnotation.Oval.deserializeBinaryFromReader), - e.setOval(r); - break; - case 4: - r = new proto.mediapipe.RenderAnnotation.FilledOval; - t.readMessage(r, proto.mediapipe.RenderAnnotation.FilledOval.deserializeBinaryFromReader), - e.setFilledOval(r); - break; - case 5: - r = new proto.mediapipe.RenderAnnotation.Point; - t.readMessage(r, proto.mediapipe.RenderAnnotation.Point.deserializeBinaryFromReader), - e.setPoint(r); - break; - case 6: - r = new proto.mediapipe.RenderAnnotation.Line; - t.readMessage(r, proto.mediapipe.RenderAnnotation.Line.deserializeBinaryFromReader), - e.setLine(r); - break; - case 7: - r = new proto.mediapipe.RenderAnnotation.Arrow; - t.readMessage(r, proto.mediapipe.RenderAnnotation.Arrow.deserializeBinaryFromReader), - e.setArrow(r); - break; - case 8: - r = new proto.mediapipe.RenderAnnotation.Text; - t.readMessage(r, proto.mediapipe.RenderAnnotation.Text.deserializeBinaryFromReader), - e.setText(r); - break; - case 9: - r = new proto.mediapipe.RenderAnnotation.RoundedRectangle; - t.readMessage(r, proto.mediapipe.RenderAnnotation.RoundedRectangle.deserializeBinaryFromReader), - e.setRoundedRectangle(r); - break; - case 10: - r = new proto.mediapipe.RenderAnnotation.FilledRoundedRectangle; - t.readMessage(r, proto.mediapipe.RenderAnnotation.FilledRoundedRectangle.deserializeBinaryFromReader), - e.setFilledRoundedRectangle(r); - break; - case 14: - r = new proto.mediapipe.RenderAnnotation.GradientLine; - t.readMessage(r, proto.mediapipe.RenderAnnotation.GradientLine.deserializeBinaryFromReader), - e.setGradientLine(r); - break; - case 15: - r = new proto.mediapipe.RenderAnnotation.Scribble; - t.readMessage(r, proto.mediapipe.RenderAnnotation.Scribble.deserializeBinaryFromReader), - e.setScribble(r); - break; - case 11: - r = t.readDouble(); - e.setThickness(r); - break; - case 12: - r = new i.Color; - t.readMessage(r, i.Color.deserializeBinaryFromReader), - e.setColor(r); - break; - case 13: - r = t.readString(); - e.setSceneTag(r); - break; - default: - t.skipField() - } - } - return e - } - , - proto.mediapipe.RenderAnnotation.prototype.serializeBinary = function() { - var e = new t.BinaryWriter; - return proto.mediapipe.RenderAnnotation.serializeBinaryToWriter(this, e), - e.getResultBuffer() - } - , - proto.mediapipe.RenderAnnotation.serializeBinaryToWriter = function(e, r) { - var o = void 0; - null != (o = e.getRectangle()) && r.writeMessage(1, o, proto.mediapipe.RenderAnnotation.Rectangle.serializeBinaryToWriter), - null != (o = e.getFilledRectangle()) && r.writeMessage(2, o, proto.mediapipe.RenderAnnotation.FilledRectangle.serializeBinaryToWriter), - null != (o = e.getOval()) && r.writeMessage(3, o, proto.mediapipe.RenderAnnotation.Oval.serializeBinaryToWriter), - null != (o = e.getFilledOval()) && r.writeMessage(4, o, proto.mediapipe.RenderAnnotation.FilledOval.serializeBinaryToWriter), - null != (o = e.getPoint()) && r.writeMessage(5, o, proto.mediapipe.RenderAnnotation.Point.serializeBinaryToWriter), - null != (o = e.getLine()) && r.writeMessage(6, o, proto.mediapipe.RenderAnnotation.Line.serializeBinaryToWriter), - null != (o = e.getArrow()) && r.writeMessage(7, o, proto.mediapipe.RenderAnnotation.Arrow.serializeBinaryToWriter), - null != (o = e.getText()) && r.writeMessage(8, o, proto.mediapipe.RenderAnnotation.Text.serializeBinaryToWriter), - null != (o = e.getRoundedRectangle()) && r.writeMessage(9, o, proto.mediapipe.RenderAnnotation.RoundedRectangle.serializeBinaryToWriter), - null != (o = e.getFilledRoundedRectangle()) && r.writeMessage(10, o, proto.mediapipe.RenderAnnotation.FilledRoundedRectangle.serializeBinaryToWriter), - null != (o = e.getGradientLine()) && r.writeMessage(14, o, proto.mediapipe.RenderAnnotation.GradientLine.serializeBinaryToWriter), - null != (o = e.getScribble()) && r.writeMessage(15, o, proto.mediapipe.RenderAnnotation.Scribble.serializeBinaryToWriter), - null != (o = t.Message.getField(e, 11)) && r.writeDouble(11, o), - null != (o = e.getColor()) && r.writeMessage(12, o, i.Color.serializeBinaryToWriter), - null != (o = t.Message.getField(e, 13)) && r.writeString(13, o) - } - , - t.Message.GENERATE_TO_OBJECT && (proto.mediapipe.RenderAnnotation.Rectangle.prototype.toObject = function(e) { - return proto.mediapipe.RenderAnnotation.Rectangle.toObject(e, this) - } - , - proto.mediapipe.RenderAnnotation.Rectangle.toObject = function(e, r) { - var o, i = { - left: null == (o = t.Message.getOptionalFloatingPointField(r, 1)) ? void 0 : o, - top: null == (o = t.Message.getOptionalFloatingPointField(r, 2)) ? void 0 : o, - right: null == (o = t.Message.getOptionalFloatingPointField(r, 3)) ? void 0 : o, - bottom: null == (o = t.Message.getOptionalFloatingPointField(r, 4)) ? void 0 : o, - normalized: t.Message.getBooleanFieldWithDefault(r, 5, !1), - rotation: null == (o = t.Message.getOptionalFloatingPointField(r, 6)) ? void 0 : o, - topLeftThickness: null == (o = t.Message.getOptionalFloatingPointField(r, 7)) ? void 0 : o - }; - return e && (i.$jspbMessageInstance = r), - i - } - ), - proto.mediapipe.RenderAnnotation.Rectangle.deserializeBinary = function(e) { - var r = new t.BinaryReader(e) - , o = new proto.mediapipe.RenderAnnotation.Rectangle; - return proto.mediapipe.RenderAnnotation.Rectangle.deserializeBinaryFromReader(o, r) - } - , - proto.mediapipe.RenderAnnotation.Rectangle.deserializeBinaryFromReader = function(e, t) { - for (; t.nextField() && !t.isEndGroup(); ) { - switch (t.getFieldNumber()) { - case 1: - var r = t.readDouble(); - e.setLeft(r); - break; - case 2: - r = t.readDouble(); - e.setTop(r); - break; - case 3: - r = t.readDouble(); - e.setRight(r); - break; - case 4: - r = t.readDouble(); - e.setBottom(r); - break; - case 5: - r = t.readBool(); - e.setNormalized(r); - break; - case 6: - r = t.readDouble(); - e.setRotation(r); - break; - case 7: - r = t.readDouble(); - e.setTopLeftThickness(r); - break; - default: - t.skipField() - } - } - return e - } - , - proto.mediapipe.RenderAnnotation.Rectangle.prototype.serializeBinary = function() { - var e = new t.BinaryWriter; - return proto.mediapipe.RenderAnnotation.Rectangle.serializeBinaryToWriter(this, e), - e.getResultBuffer() - } - , - proto.mediapipe.RenderAnnotation.Rectangle.serializeBinaryToWriter = function(e, r) { - var o = void 0; - null != (o = t.Message.getField(e, 1)) && r.writeDouble(1, o), - null != (o = t.Message.getField(e, 2)) && r.writeDouble(2, o), - null != (o = t.Message.getField(e, 3)) && r.writeDouble(3, o), - null != (o = t.Message.getField(e, 4)) && r.writeDouble(4, o), - null != (o = t.Message.getField(e, 5)) && r.writeBool(5, o), - null != (o = t.Message.getField(e, 6)) && r.writeDouble(6, o), - null != (o = t.Message.getField(e, 7)) && r.writeDouble(7, o) - } - , - proto.mediapipe.RenderAnnotation.Rectangle.prototype.getLeft = function() { - return t.Message.getFloatingPointFieldWithDefault(this, 1, 0) - } - , - proto.mediapipe.RenderAnnotation.Rectangle.prototype.setLeft = function(e) { - return t.Message.setField(this, 1, e) - } - , - proto.mediapipe.RenderAnnotation.Rectangle.prototype.clearLeft = function() { - return t.Message.setField(this, 1, void 0) - } - , - proto.mediapipe.RenderAnnotation.Rectangle.prototype.hasLeft = function() { - return null != t.Message.getField(this, 1) - } - , - proto.mediapipe.RenderAnnotation.Rectangle.prototype.getTop = function() { - return t.Message.getFloatingPointFieldWithDefault(this, 2, 0) - } - , - proto.mediapipe.RenderAnnotation.Rectangle.prototype.setTop = function(e) { - return t.Message.setField(this, 2, e) - } - , - proto.mediapipe.RenderAnnotation.Rectangle.prototype.clearTop = function() { - return t.Message.setField(this, 2, void 0) - } - , - proto.mediapipe.RenderAnnotation.Rectangle.prototype.hasTop = function() { - return null != t.Message.getField(this, 2) - } - , - proto.mediapipe.RenderAnnotation.Rectangle.prototype.getRight = function() { - return t.Message.getFloatingPointFieldWithDefault(this, 3, 0) - } - , - proto.mediapipe.RenderAnnotation.Rectangle.prototype.setRight = function(e) { - return t.Message.setField(this, 3, e) - } - , - proto.mediapipe.RenderAnnotation.Rectangle.prototype.clearRight = function() { - return t.Message.setField(this, 3, void 0) - } - , - proto.mediapipe.RenderAnnotation.Rectangle.prototype.hasRight = function() { - return null != t.Message.getField(this, 3) - } - , - proto.mediapipe.RenderAnnotation.Rectangle.prototype.getBottom = function() { - return t.Message.getFloatingPointFieldWithDefault(this, 4, 0) - } - , - proto.mediapipe.RenderAnnotation.Rectangle.prototype.setBottom = function(e) { - return t.Message.setField(this, 4, e) - } - , - proto.mediapipe.RenderAnnotation.Rectangle.prototype.clearBottom = function() { - return t.Message.setField(this, 4, void 0) - } - , - proto.mediapipe.RenderAnnotation.Rectangle.prototype.hasBottom = function() { - return null != t.Message.getField(this, 4) - } - , - proto.mediapipe.RenderAnnotation.Rectangle.prototype.getNormalized = function() { - return t.Message.getBooleanFieldWithDefault(this, 5, !1) - } - , - proto.mediapipe.RenderAnnotation.Rectangle.prototype.setNormalized = function(e) { - return t.Message.setField(this, 5, e) - } - , - proto.mediapipe.RenderAnnotation.Rectangle.prototype.clearNormalized = function() { - return t.Message.setField(this, 5, void 0) - } - , - proto.mediapipe.RenderAnnotation.Rectangle.prototype.hasNormalized = function() { - return null != t.Message.getField(this, 5) - } - , - proto.mediapipe.RenderAnnotation.Rectangle.prototype.getRotation = function() { - return t.Message.getFloatingPointFieldWithDefault(this, 6, 0) - } - , - proto.mediapipe.RenderAnnotation.Rectangle.prototype.setRotation = function(e) { - return t.Message.setField(this, 6, e) - } - , - proto.mediapipe.RenderAnnotation.Rectangle.prototype.clearRotation = function() { - return t.Message.setField(this, 6, void 0) - } - , - proto.mediapipe.RenderAnnotation.Rectangle.prototype.hasRotation = function() { - return null != t.Message.getField(this, 6) - } - , - proto.mediapipe.RenderAnnotation.Rectangle.prototype.getTopLeftThickness = function() { - return t.Message.getFloatingPointFieldWithDefault(this, 7, 0) - } - , - proto.mediapipe.RenderAnnotation.Rectangle.prototype.setTopLeftThickness = function(e) { - return t.Message.setField(this, 7, e) - } - , - proto.mediapipe.RenderAnnotation.Rectangle.prototype.clearTopLeftThickness = function() { - return t.Message.setField(this, 7, void 0) - } - , - proto.mediapipe.RenderAnnotation.Rectangle.prototype.hasTopLeftThickness = function() { - return null != t.Message.getField(this, 7) - } - , - t.Message.GENERATE_TO_OBJECT && (proto.mediapipe.RenderAnnotation.FilledRectangle.prototype.toObject = function(e) { - return proto.mediapipe.RenderAnnotation.FilledRectangle.toObject(e, this) - } - , - proto.mediapipe.RenderAnnotation.FilledRectangle.toObject = function(e, t) { - var r, o = { - rectangle: (r = t.getRectangle()) && proto.mediapipe.RenderAnnotation.Rectangle.toObject(e, r), - fillColor: (r = t.getFillColor()) && i.Color.toObject(e, r) - }; - return e && (o.$jspbMessageInstance = t), - o - } - ), - proto.mediapipe.RenderAnnotation.FilledRectangle.deserializeBinary = function(e) { - var r = new t.BinaryReader(e) - , o = new proto.mediapipe.RenderAnnotation.FilledRectangle; - return proto.mediapipe.RenderAnnotation.FilledRectangle.deserializeBinaryFromReader(o, r) - } - , - proto.mediapipe.RenderAnnotation.FilledRectangle.deserializeBinaryFromReader = function(e, t) { - for (; t.nextField() && !t.isEndGroup(); ) { - switch (t.getFieldNumber()) { - case 1: - var r = new proto.mediapipe.RenderAnnotation.Rectangle; - t.readMessage(r, proto.mediapipe.RenderAnnotation.Rectangle.deserializeBinaryFromReader), - e.setRectangle(r); - break; - case 2: - r = new i.Color; - t.readMessage(r, i.Color.deserializeBinaryFromReader), - e.setFillColor(r); - break; - default: - t.skipField() - } - } - return e - } - , - proto.mediapipe.RenderAnnotation.FilledRectangle.prototype.serializeBinary = function() { - var e = new t.BinaryWriter; - return proto.mediapipe.RenderAnnotation.FilledRectangle.serializeBinaryToWriter(this, e), - e.getResultBuffer() - } - , - proto.mediapipe.RenderAnnotation.FilledRectangle.serializeBinaryToWriter = function(e, t) { - var r = void 0; - null != (r = e.getRectangle()) && t.writeMessage(1, r, proto.mediapipe.RenderAnnotation.Rectangle.serializeBinaryToWriter), - null != (r = e.getFillColor()) && t.writeMessage(2, r, i.Color.serializeBinaryToWriter) - } - , - proto.mediapipe.RenderAnnotation.FilledRectangle.prototype.getRectangle = function() { - return t.Message.getWrapperField(this, proto.mediapipe.RenderAnnotation.Rectangle, 1) - } - , - proto.mediapipe.RenderAnnotation.FilledRectangle.prototype.setRectangle = function(e) { - return t.Message.setWrapperField(this, 1, e) - } - , - proto.mediapipe.RenderAnnotation.FilledRectangle.prototype.clearRectangle = function() { - return this.setRectangle(void 0) - } - , - proto.mediapipe.RenderAnnotation.FilledRectangle.prototype.hasRectangle = function() { - return null != t.Message.getField(this, 1) - } - , - proto.mediapipe.RenderAnnotation.FilledRectangle.prototype.getFillColor = function() { - return t.Message.getWrapperField(this, i.Color, 2) - } - , - proto.mediapipe.RenderAnnotation.FilledRectangle.prototype.setFillColor = function(e) { - return t.Message.setWrapperField(this, 2, e) - } - , - proto.mediapipe.RenderAnnotation.FilledRectangle.prototype.clearFillColor = function() { - return this.setFillColor(void 0) - } - , - proto.mediapipe.RenderAnnotation.FilledRectangle.prototype.hasFillColor = function() { - return null != t.Message.getField(this, 2) - } - , - t.Message.GENERATE_TO_OBJECT && (proto.mediapipe.RenderAnnotation.RoundedRectangle.prototype.toObject = function(e) { - return proto.mediapipe.RenderAnnotation.RoundedRectangle.toObject(e, this) - } - , - proto.mediapipe.RenderAnnotation.RoundedRectangle.toObject = function(e, r) { - var o, i = { - rectangle: (o = r.getRectangle()) && proto.mediapipe.RenderAnnotation.Rectangle.toObject(e, o), - cornerRadius: t.Message.getFieldWithDefault(r, 2, 0), - lineType: t.Message.getFieldWithDefault(r, 3, 4) - }; - return e && (i.$jspbMessageInstance = r), - i - } - ), - proto.mediapipe.RenderAnnotation.RoundedRectangle.deserializeBinary = function(e) { - var r = new t.BinaryReader(e) - , o = new proto.mediapipe.RenderAnnotation.RoundedRectangle; - return proto.mediapipe.RenderAnnotation.RoundedRectangle.deserializeBinaryFromReader(o, r) - } - , - proto.mediapipe.RenderAnnotation.RoundedRectangle.deserializeBinaryFromReader = function(e, t) { - for (; t.nextField() && !t.isEndGroup(); ) { - switch (t.getFieldNumber()) { - case 1: - var r = new proto.mediapipe.RenderAnnotation.Rectangle; - t.readMessage(r, proto.mediapipe.RenderAnnotation.Rectangle.deserializeBinaryFromReader), - e.setRectangle(r); - break; - case 2: - r = t.readInt32(); - e.setCornerRadius(r); - break; - case 3: - r = t.readInt32(); - e.setLineType(r); - break; - default: - t.skipField() - } - } - return e - } - , - proto.mediapipe.RenderAnnotation.RoundedRectangle.prototype.serializeBinary = function() { - var e = new t.BinaryWriter; - return proto.mediapipe.RenderAnnotation.RoundedRectangle.serializeBinaryToWriter(this, e), - e.getResultBuffer() - } - , - proto.mediapipe.RenderAnnotation.RoundedRectangle.serializeBinaryToWriter = function(e, r) { - var o = void 0; - null != (o = e.getRectangle()) && r.writeMessage(1, o, proto.mediapipe.RenderAnnotation.Rectangle.serializeBinaryToWriter), - null != (o = t.Message.getField(e, 2)) && r.writeInt32(2, o), - null != (o = t.Message.getField(e, 3)) && r.writeInt32(3, o) - } - , - proto.mediapipe.RenderAnnotation.RoundedRectangle.prototype.getRectangle = function() { - return t.Message.getWrapperField(this, proto.mediapipe.RenderAnnotation.Rectangle, 1) - } - , - proto.mediapipe.RenderAnnotation.RoundedRectangle.prototype.setRectangle = function(e) { - return t.Message.setWrapperField(this, 1, e) - } - , - proto.mediapipe.RenderAnnotation.RoundedRectangle.prototype.clearRectangle = function() { - return this.setRectangle(void 0) - } - , - proto.mediapipe.RenderAnnotation.RoundedRectangle.prototype.hasRectangle = function() { - return null != t.Message.getField(this, 1) - } - , - proto.mediapipe.RenderAnnotation.RoundedRectangle.prototype.getCornerRadius = function() { - return t.Message.getFieldWithDefault(this, 2, 0) - } - , - proto.mediapipe.RenderAnnotation.RoundedRectangle.prototype.setCornerRadius = function(e) { - return t.Message.setField(this, 2, e) - } - , - proto.mediapipe.RenderAnnotation.RoundedRectangle.prototype.clearCornerRadius = function() { - return t.Message.setField(this, 2, void 0) - } - , - proto.mediapipe.RenderAnnotation.RoundedRectangle.prototype.hasCornerRadius = function() { - return null != t.Message.getField(this, 2) - } - , - proto.mediapipe.RenderAnnotation.RoundedRectangle.prototype.getLineType = function() { - return t.Message.getFieldWithDefault(this, 3, 4) - } - , - proto.mediapipe.RenderAnnotation.RoundedRectangle.prototype.setLineType = function(e) { - return t.Message.setField(this, 3, e) - } - , - proto.mediapipe.RenderAnnotation.RoundedRectangle.prototype.clearLineType = function() { - return t.Message.setField(this, 3, void 0) - } - , - proto.mediapipe.RenderAnnotation.RoundedRectangle.prototype.hasLineType = function() { - return null != t.Message.getField(this, 3) - } - , - t.Message.GENERATE_TO_OBJECT && (proto.mediapipe.RenderAnnotation.FilledRoundedRectangle.prototype.toObject = function(e) { - return proto.mediapipe.RenderAnnotation.FilledRoundedRectangle.toObject(e, this) - } - , - proto.mediapipe.RenderAnnotation.FilledRoundedRectangle.toObject = function(e, t) { - var r, o = { - roundedRectangle: (r = t.getRoundedRectangle()) && proto.mediapipe.RenderAnnotation.RoundedRectangle.toObject(e, r), - fillColor: (r = t.getFillColor()) && i.Color.toObject(e, r) - }; - return e && (o.$jspbMessageInstance = t), - o - } - ), - proto.mediapipe.RenderAnnotation.FilledRoundedRectangle.deserializeBinary = function(e) { - var r = new t.BinaryReader(e) - , o = new proto.mediapipe.RenderAnnotation.FilledRoundedRectangle; - return proto.mediapipe.RenderAnnotation.FilledRoundedRectangle.deserializeBinaryFromReader(o, r) - } - , - proto.mediapipe.RenderAnnotation.FilledRoundedRectangle.deserializeBinaryFromReader = function(e, t) { - for (; t.nextField() && !t.isEndGroup(); ) { - switch (t.getFieldNumber()) { - case 1: - var r = new proto.mediapipe.RenderAnnotation.RoundedRectangle; - t.readMessage(r, proto.mediapipe.RenderAnnotation.RoundedRectangle.deserializeBinaryFromReader), - e.setRoundedRectangle(r); - break; - case 2: - r = new i.Color; - t.readMessage(r, i.Color.deserializeBinaryFromReader), - e.setFillColor(r); - break; - default: - t.skipField() - } - } - return e - } - , - proto.mediapipe.RenderAnnotation.FilledRoundedRectangle.prototype.serializeBinary = function() { - var e = new t.BinaryWriter; - return proto.mediapipe.RenderAnnotation.FilledRoundedRectangle.serializeBinaryToWriter(this, e), - e.getResultBuffer() - } - , - proto.mediapipe.RenderAnnotation.FilledRoundedRectangle.serializeBinaryToWriter = function(e, t) { - var r = void 0; - null != (r = e.getRoundedRectangle()) && t.writeMessage(1, r, proto.mediapipe.RenderAnnotation.RoundedRectangle.serializeBinaryToWriter), - null != (r = e.getFillColor()) && t.writeMessage(2, r, i.Color.serializeBinaryToWriter) - } - , - proto.mediapipe.RenderAnnotation.FilledRoundedRectangle.prototype.getRoundedRectangle = function() { - return t.Message.getWrapperField(this, proto.mediapipe.RenderAnnotation.RoundedRectangle, 1) - } - , - proto.mediapipe.RenderAnnotation.FilledRoundedRectangle.prototype.setRoundedRectangle = function(e) { - return t.Message.setWrapperField(this, 1, e) - } - , - proto.mediapipe.RenderAnnotation.FilledRoundedRectangle.prototype.clearRoundedRectangle = function() { - return this.setRoundedRectangle(void 0) - } - , - proto.mediapipe.RenderAnnotation.FilledRoundedRectangle.prototype.hasRoundedRectangle = function() { - return null != t.Message.getField(this, 1) - } - , - proto.mediapipe.RenderAnnotation.FilledRoundedRectangle.prototype.getFillColor = function() { - return t.Message.getWrapperField(this, i.Color, 2) - } - , - proto.mediapipe.RenderAnnotation.FilledRoundedRectangle.prototype.setFillColor = function(e) { - return t.Message.setWrapperField(this, 2, e) - } - , - proto.mediapipe.RenderAnnotation.FilledRoundedRectangle.prototype.clearFillColor = function() { - return this.setFillColor(void 0) - } - , - proto.mediapipe.RenderAnnotation.FilledRoundedRectangle.prototype.hasFillColor = function() { - return null != t.Message.getField(this, 2) - } - , - t.Message.GENERATE_TO_OBJECT && (proto.mediapipe.RenderAnnotation.Oval.prototype.toObject = function(e) { - return proto.mediapipe.RenderAnnotation.Oval.toObject(e, this) - } - , - proto.mediapipe.RenderAnnotation.Oval.toObject = function(e, t) { - var r, o = { - rectangle: (r = t.getRectangle()) && proto.mediapipe.RenderAnnotation.Rectangle.toObject(e, r) - }; - return e && (o.$jspbMessageInstance = t), - o - } - ), - proto.mediapipe.RenderAnnotation.Oval.deserializeBinary = function(e) { - var r = new t.BinaryReader(e) - , o = new proto.mediapipe.RenderAnnotation.Oval; - return proto.mediapipe.RenderAnnotation.Oval.deserializeBinaryFromReader(o, r) - } - , - proto.mediapipe.RenderAnnotation.Oval.deserializeBinaryFromReader = function(e, t) { - for (; t.nextField() && !t.isEndGroup(); ) { - if (1 === t.getFieldNumber()) { - var r = new proto.mediapipe.RenderAnnotation.Rectangle; - t.readMessage(r, proto.mediapipe.RenderAnnotation.Rectangle.deserializeBinaryFromReader), - e.setRectangle(r) - } else - t.skipField() - } - return e - } - , - proto.mediapipe.RenderAnnotation.Oval.prototype.serializeBinary = function() { - var e = new t.BinaryWriter; - return proto.mediapipe.RenderAnnotation.Oval.serializeBinaryToWriter(this, e), - e.getResultBuffer() - } - , - proto.mediapipe.RenderAnnotation.Oval.serializeBinaryToWriter = function(e, t) { - var r; - null != (r = e.getRectangle()) && t.writeMessage(1, r, proto.mediapipe.RenderAnnotation.Rectangle.serializeBinaryToWriter) - } - , - proto.mediapipe.RenderAnnotation.Oval.prototype.getRectangle = function() { - return t.Message.getWrapperField(this, proto.mediapipe.RenderAnnotation.Rectangle, 1) - } - , - proto.mediapipe.RenderAnnotation.Oval.prototype.setRectangle = function(e) { - return t.Message.setWrapperField(this, 1, e) - } - , - proto.mediapipe.RenderAnnotation.Oval.prototype.clearRectangle = function() { - return this.setRectangle(void 0) - } - , - proto.mediapipe.RenderAnnotation.Oval.prototype.hasRectangle = function() { - return null != t.Message.getField(this, 1) - } - , - t.Message.GENERATE_TO_OBJECT && (proto.mediapipe.RenderAnnotation.FilledOval.prototype.toObject = function(e) { - return proto.mediapipe.RenderAnnotation.FilledOval.toObject(e, this) - } - , - proto.mediapipe.RenderAnnotation.FilledOval.toObject = function(e, t) { - var r, o = { - oval: (r = t.getOval()) && proto.mediapipe.RenderAnnotation.Oval.toObject(e, r), - fillColor: (r = t.getFillColor()) && i.Color.toObject(e, r) - }; - return e && (o.$jspbMessageInstance = t), - o - } - ), - proto.mediapipe.RenderAnnotation.FilledOval.deserializeBinary = function(e) { - var r = new t.BinaryReader(e) - , o = new proto.mediapipe.RenderAnnotation.FilledOval; - return proto.mediapipe.RenderAnnotation.FilledOval.deserializeBinaryFromReader(o, r) - } - , - proto.mediapipe.RenderAnnotation.FilledOval.deserializeBinaryFromReader = function(e, t) { - for (; t.nextField() && !t.isEndGroup(); ) { - switch (t.getFieldNumber()) { - case 1: - var r = new proto.mediapipe.RenderAnnotation.Oval; - t.readMessage(r, proto.mediapipe.RenderAnnotation.Oval.deserializeBinaryFromReader), - e.setOval(r); - break; - case 2: - r = new i.Color; - t.readMessage(r, i.Color.deserializeBinaryFromReader), - e.setFillColor(r); - break; - default: - t.skipField() - } - } - return e - } - , - proto.mediapipe.RenderAnnotation.FilledOval.prototype.serializeBinary = function() { - var e = new t.BinaryWriter; - return proto.mediapipe.RenderAnnotation.FilledOval.serializeBinaryToWriter(this, e), - e.getResultBuffer() - } - , - proto.mediapipe.RenderAnnotation.FilledOval.serializeBinaryToWriter = function(e, t) { - var r = void 0; - null != (r = e.getOval()) && t.writeMessage(1, r, proto.mediapipe.RenderAnnotation.Oval.serializeBinaryToWriter), - null != (r = e.getFillColor()) && t.writeMessage(2, r, i.Color.serializeBinaryToWriter) - } - , - proto.mediapipe.RenderAnnotation.FilledOval.prototype.getOval = function() { - return t.Message.getWrapperField(this, proto.mediapipe.RenderAnnotation.Oval, 1) - } - , - proto.mediapipe.RenderAnnotation.FilledOval.prototype.setOval = function(e) { - return t.Message.setWrapperField(this, 1, e) - } - , - proto.mediapipe.RenderAnnotation.FilledOval.prototype.clearOval = function() { - return this.setOval(void 0) - } - , - proto.mediapipe.RenderAnnotation.FilledOval.prototype.hasOval = function() { - return null != t.Message.getField(this, 1) - } - , - proto.mediapipe.RenderAnnotation.FilledOval.prototype.getFillColor = function() { - return t.Message.getWrapperField(this, i.Color, 2) - } - , - proto.mediapipe.RenderAnnotation.FilledOval.prototype.setFillColor = function(e) { - return t.Message.setWrapperField(this, 2, e) - } - , - proto.mediapipe.RenderAnnotation.FilledOval.prototype.clearFillColor = function() { - return this.setFillColor(void 0) - } - , - proto.mediapipe.RenderAnnotation.FilledOval.prototype.hasFillColor = function() { - return null != t.Message.getField(this, 2) - } - , - t.Message.GENERATE_TO_OBJECT && (proto.mediapipe.RenderAnnotation.Point.prototype.toObject = function(e) { - return proto.mediapipe.RenderAnnotation.Point.toObject(e, this) - } - , - proto.mediapipe.RenderAnnotation.Point.toObject = function(e, r) { - var o, i = { - x: null == (o = t.Message.getOptionalFloatingPointField(r, 1)) ? void 0 : o, - y: null == (o = t.Message.getOptionalFloatingPointField(r, 2)) ? void 0 : o, - normalized: t.Message.getBooleanFieldWithDefault(r, 3, !1) - }; - return e && (i.$jspbMessageInstance = r), - i - } - ), - proto.mediapipe.RenderAnnotation.Point.deserializeBinary = function(e) { - var r = new t.BinaryReader(e) - , o = new proto.mediapipe.RenderAnnotation.Point; - return proto.mediapipe.RenderAnnotation.Point.deserializeBinaryFromReader(o, r) - } - , - proto.mediapipe.RenderAnnotation.Point.deserializeBinaryFromReader = function(e, t) { - for (; t.nextField() && !t.isEndGroup(); ) { - switch (t.getFieldNumber()) { - case 1: - var r = t.readDouble(); - e.setX(r); - break; - case 2: - r = t.readDouble(); - e.setY(r); - break; - case 3: - r = t.readBool(); - e.setNormalized(r); - break; - default: - t.skipField() - } - } - return e - } - , - proto.mediapipe.RenderAnnotation.Point.prototype.serializeBinary = function() { - var e = new t.BinaryWriter; - return proto.mediapipe.RenderAnnotation.Point.serializeBinaryToWriter(this, e), - e.getResultBuffer() - } - , - proto.mediapipe.RenderAnnotation.Point.serializeBinaryToWriter = function(e, r) { - var o = void 0; - null != (o = t.Message.getField(e, 1)) && r.writeDouble(1, o), - null != (o = t.Message.getField(e, 2)) && r.writeDouble(2, o), - null != (o = t.Message.getField(e, 3)) && r.writeBool(3, o) - } - , - proto.mediapipe.RenderAnnotation.Point.prototype.getX = function() { - return t.Message.getFloatingPointFieldWithDefault(this, 1, 0) - } - , - proto.mediapipe.RenderAnnotation.Point.prototype.setX = function(e) { - return t.Message.setField(this, 1, e) - } - , - proto.mediapipe.RenderAnnotation.Point.prototype.clearX = function() { - return t.Message.setField(this, 1, void 0) - } - , - proto.mediapipe.RenderAnnotation.Point.prototype.hasX = function() { - return null != t.Message.getField(this, 1) - } - , - proto.mediapipe.RenderAnnotation.Point.prototype.getY = function() { - return t.Message.getFloatingPointFieldWithDefault(this, 2, 0) - } - , - proto.mediapipe.RenderAnnotation.Point.prototype.setY = function(e) { - return t.Message.setField(this, 2, e) - } - , - proto.mediapipe.RenderAnnotation.Point.prototype.clearY = function() { - return t.Message.setField(this, 2, void 0) - } - , - proto.mediapipe.RenderAnnotation.Point.prototype.hasY = function() { - return null != t.Message.getField(this, 2) - } - , - proto.mediapipe.RenderAnnotation.Point.prototype.getNormalized = function() { - return t.Message.getBooleanFieldWithDefault(this, 3, !1) - } - , - proto.mediapipe.RenderAnnotation.Point.prototype.setNormalized = function(e) { - return t.Message.setField(this, 3, e) - } - , - proto.mediapipe.RenderAnnotation.Point.prototype.clearNormalized = function() { - return t.Message.setField(this, 3, void 0) - } - , - proto.mediapipe.RenderAnnotation.Point.prototype.hasNormalized = function() { - return null != t.Message.getField(this, 3) - } - , - t.Message.GENERATE_TO_OBJECT && (proto.mediapipe.RenderAnnotation.Line.prototype.toObject = function(e) { - return proto.mediapipe.RenderAnnotation.Line.toObject(e, this) - } - , - proto.mediapipe.RenderAnnotation.Line.toObject = function(e, r) { - var o, i = { - xStart: null == (o = t.Message.getOptionalFloatingPointField(r, 1)) ? void 0 : o, - yStart: null == (o = t.Message.getOptionalFloatingPointField(r, 2)) ? void 0 : o, - xEnd: null == (o = t.Message.getOptionalFloatingPointField(r, 3)) ? void 0 : o, - yEnd: null == (o = t.Message.getOptionalFloatingPointField(r, 4)) ? void 0 : o, - normalized: t.Message.getBooleanFieldWithDefault(r, 5, !1), - lineType: t.Message.getFieldWithDefault(r, 6, 1) - }; - return e && (i.$jspbMessageInstance = r), - i - } - ), - proto.mediapipe.RenderAnnotation.Line.deserializeBinary = function(e) { - var r = new t.BinaryReader(e) - , o = new proto.mediapipe.RenderAnnotation.Line; - return proto.mediapipe.RenderAnnotation.Line.deserializeBinaryFromReader(o, r) - } - , - proto.mediapipe.RenderAnnotation.Line.deserializeBinaryFromReader = function(e, t) { - for (; t.nextField() && !t.isEndGroup(); ) { - switch (t.getFieldNumber()) { - case 1: - var r = t.readDouble(); - e.setXStart(r); - break; - case 2: - r = t.readDouble(); - e.setYStart(r); - break; - case 3: - r = t.readDouble(); - e.setXEnd(r); - break; - case 4: - r = t.readDouble(); - e.setYEnd(r); - break; - case 5: - r = t.readBool(); - e.setNormalized(r); - break; - case 6: - r = t.readEnum(); - e.setLineType(r); - break; - default: - t.skipField() - } - } - return e - } - , - proto.mediapipe.RenderAnnotation.Line.prototype.serializeBinary = function() { - var e = new t.BinaryWriter; - return proto.mediapipe.RenderAnnotation.Line.serializeBinaryToWriter(this, e), - e.getResultBuffer() - } - , - proto.mediapipe.RenderAnnotation.Line.serializeBinaryToWriter = function(e, r) { - var o = void 0; - null != (o = t.Message.getField(e, 1)) && r.writeDouble(1, o), - null != (o = t.Message.getField(e, 2)) && r.writeDouble(2, o), - null != (o = t.Message.getField(e, 3)) && r.writeDouble(3, o), - null != (o = t.Message.getField(e, 4)) && r.writeDouble(4, o), - null != (o = t.Message.getField(e, 5)) && r.writeBool(5, o), - null != (o = t.Message.getField(e, 6)) && r.writeEnum(6, o) - } - , - proto.mediapipe.RenderAnnotation.Line.LineType = { - UNKNOWN: 0, - SOLID: 1, - DASHED: 2 - }, - proto.mediapipe.RenderAnnotation.Line.prototype.getXStart = function() { - return t.Message.getFloatingPointFieldWithDefault(this, 1, 0) - } - , - proto.mediapipe.RenderAnnotation.Line.prototype.setXStart = function(e) { - return t.Message.setField(this, 1, e) - } - , - proto.mediapipe.RenderAnnotation.Line.prototype.clearXStart = function() { - return t.Message.setField(this, 1, void 0) - } - , - proto.mediapipe.RenderAnnotation.Line.prototype.hasXStart = function() { - return null != t.Message.getField(this, 1) - } - , - proto.mediapipe.RenderAnnotation.Line.prototype.getYStart = function() { - return t.Message.getFloatingPointFieldWithDefault(this, 2, 0) - } - , - proto.mediapipe.RenderAnnotation.Line.prototype.setYStart = function(e) { - return t.Message.setField(this, 2, e) - } - , - proto.mediapipe.RenderAnnotation.Line.prototype.clearYStart = function() { - return t.Message.setField(this, 2, void 0) - } - , - proto.mediapipe.RenderAnnotation.Line.prototype.hasYStart = function() { - return null != t.Message.getField(this, 2) - } - , - proto.mediapipe.RenderAnnotation.Line.prototype.getXEnd = function() { - return t.Message.getFloatingPointFieldWithDefault(this, 3, 0) - } - , - proto.mediapipe.RenderAnnotation.Line.prototype.setXEnd = function(e) { - return t.Message.setField(this, 3, e) - } - , - proto.mediapipe.RenderAnnotation.Line.prototype.clearXEnd = function() { - return t.Message.setField(this, 3, void 0) - } - , - proto.mediapipe.RenderAnnotation.Line.prototype.hasXEnd = function() { - return null != t.Message.getField(this, 3) - } - , - proto.mediapipe.RenderAnnotation.Line.prototype.getYEnd = function() { - return t.Message.getFloatingPointFieldWithDefault(this, 4, 0) - } - , - proto.mediapipe.RenderAnnotation.Line.prototype.setYEnd = function(e) { - return t.Message.setField(this, 4, e) - } - , - proto.mediapipe.RenderAnnotation.Line.prototype.clearYEnd = function() { - return t.Message.setField(this, 4, void 0) - } - , - proto.mediapipe.RenderAnnotation.Line.prototype.hasYEnd = function() { - return null != t.Message.getField(this, 4) - } - , - proto.mediapipe.RenderAnnotation.Line.prototype.getNormalized = function() { - return t.Message.getBooleanFieldWithDefault(this, 5, !1) - } - , - proto.mediapipe.RenderAnnotation.Line.prototype.setNormalized = function(e) { - return t.Message.setField(this, 5, e) - } - , - proto.mediapipe.RenderAnnotation.Line.prototype.clearNormalized = function() { - return t.Message.setField(this, 5, void 0) - } - , - proto.mediapipe.RenderAnnotation.Line.prototype.hasNormalized = function() { - return null != t.Message.getField(this, 5) - } - , - proto.mediapipe.RenderAnnotation.Line.prototype.getLineType = function() { - return t.Message.getFieldWithDefault(this, 6, 1) - } - , - proto.mediapipe.RenderAnnotation.Line.prototype.setLineType = function(e) { - return t.Message.setField(this, 6, e) - } - , - proto.mediapipe.RenderAnnotation.Line.prototype.clearLineType = function() { - return t.Message.setField(this, 6, void 0) - } - , - proto.mediapipe.RenderAnnotation.Line.prototype.hasLineType = function() { - return null != t.Message.getField(this, 6) - } - , - t.Message.GENERATE_TO_OBJECT && (proto.mediapipe.RenderAnnotation.GradientLine.prototype.toObject = function(e) { - return proto.mediapipe.RenderAnnotation.GradientLine.toObject(e, this) - } - , - proto.mediapipe.RenderAnnotation.GradientLine.toObject = function(e, r) { - var o, a = { - xStart: null == (o = t.Message.getOptionalFloatingPointField(r, 1)) ? void 0 : o, - yStart: null == (o = t.Message.getOptionalFloatingPointField(r, 2)) ? void 0 : o, - xEnd: null == (o = t.Message.getOptionalFloatingPointField(r, 3)) ? void 0 : o, - yEnd: null == (o = t.Message.getOptionalFloatingPointField(r, 4)) ? void 0 : o, - normalized: t.Message.getBooleanFieldWithDefault(r, 5, !1), - color1: (o = r.getColor1()) && i.Color.toObject(e, o), - color2: (o = r.getColor2()) && i.Color.toObject(e, o) - }; - return e && (a.$jspbMessageInstance = r), - a - } - ), - proto.mediapipe.RenderAnnotation.GradientLine.deserializeBinary = function(e) { - var r = new t.BinaryReader(e) - , o = new proto.mediapipe.RenderAnnotation.GradientLine; - return proto.mediapipe.RenderAnnotation.GradientLine.deserializeBinaryFromReader(o, r) - } - , - proto.mediapipe.RenderAnnotation.GradientLine.deserializeBinaryFromReader = function(e, t) { - for (; t.nextField() && !t.isEndGroup(); ) { - switch (t.getFieldNumber()) { - case 1: - var r = t.readDouble(); - e.setXStart(r); - break; - case 2: - r = t.readDouble(); - e.setYStart(r); - break; - case 3: - r = t.readDouble(); - e.setXEnd(r); - break; - case 4: - r = t.readDouble(); - e.setYEnd(r); - break; - case 5: - r = t.readBool(); - e.setNormalized(r); - break; - case 6: - r = new i.Color; - t.readMessage(r, i.Color.deserializeBinaryFromReader), - e.setColor1(r); - break; - case 7: - r = new i.Color; - t.readMessage(r, i.Color.deserializeBinaryFromReader), - e.setColor2(r); - break; - default: - t.skipField() - } - } - return e - } - , - proto.mediapipe.RenderAnnotation.GradientLine.prototype.serializeBinary = function() { - var e = new t.BinaryWriter; - return proto.mediapipe.RenderAnnotation.GradientLine.serializeBinaryToWriter(this, e), - e.getResultBuffer() - } - , - proto.mediapipe.RenderAnnotation.GradientLine.serializeBinaryToWriter = function(e, r) { - var o = void 0; - null != (o = t.Message.getField(e, 1)) && r.writeDouble(1, o), - null != (o = t.Message.getField(e, 2)) && r.writeDouble(2, o), - null != (o = t.Message.getField(e, 3)) && r.writeDouble(3, o), - null != (o = t.Message.getField(e, 4)) && r.writeDouble(4, o), - null != (o = t.Message.getField(e, 5)) && r.writeBool(5, o), - null != (o = e.getColor1()) && r.writeMessage(6, o, i.Color.serializeBinaryToWriter), - null != (o = e.getColor2()) && r.writeMessage(7, o, i.Color.serializeBinaryToWriter) - } - , - proto.mediapipe.RenderAnnotation.GradientLine.prototype.getXStart = function() { - return t.Message.getFloatingPointFieldWithDefault(this, 1, 0) - } - , - proto.mediapipe.RenderAnnotation.GradientLine.prototype.setXStart = function(e) { - return t.Message.setField(this, 1, e) - } - , - proto.mediapipe.RenderAnnotation.GradientLine.prototype.clearXStart = function() { - return t.Message.setField(this, 1, void 0) - } - , - proto.mediapipe.RenderAnnotation.GradientLine.prototype.hasXStart = function() { - return null != t.Message.getField(this, 1) - } - , - proto.mediapipe.RenderAnnotation.GradientLine.prototype.getYStart = function() { - return t.Message.getFloatingPointFieldWithDefault(this, 2, 0) - } - , - proto.mediapipe.RenderAnnotation.GradientLine.prototype.setYStart = function(e) { - return t.Message.setField(this, 2, e) - } - , - proto.mediapipe.RenderAnnotation.GradientLine.prototype.clearYStart = function() { - return t.Message.setField(this, 2, void 0) - } - , - proto.mediapipe.RenderAnnotation.GradientLine.prototype.hasYStart = function() { - return null != t.Message.getField(this, 2) - } - , - proto.mediapipe.RenderAnnotation.GradientLine.prototype.getXEnd = function() { - return t.Message.getFloatingPointFieldWithDefault(this, 3, 0) - } - , - proto.mediapipe.RenderAnnotation.GradientLine.prototype.setXEnd = function(e) { - return t.Message.setField(this, 3, e) - } - , - proto.mediapipe.RenderAnnotation.GradientLine.prototype.clearXEnd = function() { - return t.Message.setField(this, 3, void 0) - } - , - proto.mediapipe.RenderAnnotation.GradientLine.prototype.hasXEnd = function() { - return null != t.Message.getField(this, 3) - } - , - proto.mediapipe.RenderAnnotation.GradientLine.prototype.getYEnd = function() { - return t.Message.getFloatingPointFieldWithDefault(this, 4, 0) - } - , - proto.mediapipe.RenderAnnotation.GradientLine.prototype.setYEnd = function(e) { - return t.Message.setField(this, 4, e) - } - , - proto.mediapipe.RenderAnnotation.GradientLine.prototype.clearYEnd = function() { - return t.Message.setField(this, 4, void 0) - } - , - proto.mediapipe.RenderAnnotation.GradientLine.prototype.hasYEnd = function() { - return null != t.Message.getField(this, 4) - } - , - proto.mediapipe.RenderAnnotation.GradientLine.prototype.getNormalized = function() { - return t.Message.getBooleanFieldWithDefault(this, 5, !1) - } - , - proto.mediapipe.RenderAnnotation.GradientLine.prototype.setNormalized = function(e) { - return t.Message.setField(this, 5, e) - } - , - proto.mediapipe.RenderAnnotation.GradientLine.prototype.clearNormalized = function() { - return t.Message.setField(this, 5, void 0) - } - , - proto.mediapipe.RenderAnnotation.GradientLine.prototype.hasNormalized = function() { - return null != t.Message.getField(this, 5) - } - , - proto.mediapipe.RenderAnnotation.GradientLine.prototype.getColor1 = function() { - return t.Message.getWrapperField(this, i.Color, 6) - } - , - proto.mediapipe.RenderAnnotation.GradientLine.prototype.setColor1 = function(e) { - return t.Message.setWrapperField(this, 6, e) - } - , - proto.mediapipe.RenderAnnotation.GradientLine.prototype.clearColor1 = function() { - return this.setColor1(void 0) - } - , - proto.mediapipe.RenderAnnotation.GradientLine.prototype.hasColor1 = function() { - return null != t.Message.getField(this, 6) - } - , - proto.mediapipe.RenderAnnotation.GradientLine.prototype.getColor2 = function() { - return t.Message.getWrapperField(this, i.Color, 7) - } - , - proto.mediapipe.RenderAnnotation.GradientLine.prototype.setColor2 = function(e) { - return t.Message.setWrapperField(this, 7, e) - } - , - proto.mediapipe.RenderAnnotation.GradientLine.prototype.clearColor2 = function() { - return this.setColor2(void 0) - } - , - proto.mediapipe.RenderAnnotation.GradientLine.prototype.hasColor2 = function() { - return null != t.Message.getField(this, 7) - } - , - proto.mediapipe.RenderAnnotation.Scribble.repeatedFields_ = [1], - t.Message.GENERATE_TO_OBJECT && (proto.mediapipe.RenderAnnotation.Scribble.prototype.toObject = function(e) { - return proto.mediapipe.RenderAnnotation.Scribble.toObject(e, this) - } - , - proto.mediapipe.RenderAnnotation.Scribble.toObject = function(e, r) { - var o = { - pointList: t.Message.toObjectList(r.getPointList(), proto.mediapipe.RenderAnnotation.Point.toObject, e) - }; - return e && (o.$jspbMessageInstance = r), - o - } - ), - proto.mediapipe.RenderAnnotation.Scribble.deserializeBinary = function(e) { - var r = new t.BinaryReader(e) - , o = new proto.mediapipe.RenderAnnotation.Scribble; - return proto.mediapipe.RenderAnnotation.Scribble.deserializeBinaryFromReader(o, r) - } - , - proto.mediapipe.RenderAnnotation.Scribble.deserializeBinaryFromReader = function(e, t) { - for (; t.nextField() && !t.isEndGroup(); ) { - if (1 === t.getFieldNumber()) { - var r = new proto.mediapipe.RenderAnnotation.Point; - t.readMessage(r, proto.mediapipe.RenderAnnotation.Point.deserializeBinaryFromReader), - e.addPoint(r) - } else - t.skipField() - } - return e - } - , - proto.mediapipe.RenderAnnotation.Scribble.prototype.serializeBinary = function() { - var e = new t.BinaryWriter; - return proto.mediapipe.RenderAnnotation.Scribble.serializeBinaryToWriter(this, e), - e.getResultBuffer() - } - , - proto.mediapipe.RenderAnnotation.Scribble.serializeBinaryToWriter = function(e, t) { - var r; - (r = e.getPointList()).length > 0 && t.writeRepeatedMessage(1, r, proto.mediapipe.RenderAnnotation.Point.serializeBinaryToWriter) - } - , - proto.mediapipe.RenderAnnotation.Scribble.prototype.getPointList = function() { - return t.Message.getRepeatedWrapperField(this, proto.mediapipe.RenderAnnotation.Point, 1) - } - , - proto.mediapipe.RenderAnnotation.Scribble.prototype.setPointList = function(e) { - return t.Message.setRepeatedWrapperField(this, 1, e) - } - , - proto.mediapipe.RenderAnnotation.Scribble.prototype.addPoint = function(e, r) { - return t.Message.addToRepeatedWrapperField(this, 1, e, proto.mediapipe.RenderAnnotation.Point, r) - } - , - proto.mediapipe.RenderAnnotation.Scribble.prototype.clearPointList = function() { - return this.setPointList([]) - } - , - t.Message.GENERATE_TO_OBJECT && (proto.mediapipe.RenderAnnotation.Arrow.prototype.toObject = function(e) { - return proto.mediapipe.RenderAnnotation.Arrow.toObject(e, this) - } - , - proto.mediapipe.RenderAnnotation.Arrow.toObject = function(e, r) { - var o, i = { - xStart: null == (o = t.Message.getOptionalFloatingPointField(r, 1)) ? void 0 : o, - yStart: null == (o = t.Message.getOptionalFloatingPointField(r, 2)) ? void 0 : o, - xEnd: null == (o = t.Message.getOptionalFloatingPointField(r, 3)) ? void 0 : o, - yEnd: null == (o = t.Message.getOptionalFloatingPointField(r, 4)) ? void 0 : o, - normalized: t.Message.getBooleanFieldWithDefault(r, 5, !1) - }; - return e && (i.$jspbMessageInstance = r), - i - } - ), - proto.mediapipe.RenderAnnotation.Arrow.deserializeBinary = function(e) { - var r = new t.BinaryReader(e) - , o = new proto.mediapipe.RenderAnnotation.Arrow; - return proto.mediapipe.RenderAnnotation.Arrow.deserializeBinaryFromReader(o, r) - } - , - proto.mediapipe.RenderAnnotation.Arrow.deserializeBinaryFromReader = function(e, t) { - for (; t.nextField() && !t.isEndGroup(); ) { - switch (t.getFieldNumber()) { - case 1: - var r = t.readDouble(); - e.setXStart(r); - break; - case 2: - r = t.readDouble(); - e.setYStart(r); - break; - case 3: - r = t.readDouble(); - e.setXEnd(r); - break; - case 4: - r = t.readDouble(); - e.setYEnd(r); - break; - case 5: - r = t.readBool(); - e.setNormalized(r); - break; - default: - t.skipField() - } - } - return e - } - , - proto.mediapipe.RenderAnnotation.Arrow.prototype.serializeBinary = function() { - var e = new t.BinaryWriter; - return proto.mediapipe.RenderAnnotation.Arrow.serializeBinaryToWriter(this, e), - e.getResultBuffer() - } - , - proto.mediapipe.RenderAnnotation.Arrow.serializeBinaryToWriter = function(e, r) { - var o = void 0; - null != (o = t.Message.getField(e, 1)) && r.writeDouble(1, o), - null != (o = t.Message.getField(e, 2)) && r.writeDouble(2, o), - null != (o = t.Message.getField(e, 3)) && r.writeDouble(3, o), - null != (o = t.Message.getField(e, 4)) && r.writeDouble(4, o), - null != (o = t.Message.getField(e, 5)) && r.writeBool(5, o) - } - , - proto.mediapipe.RenderAnnotation.Arrow.prototype.getXStart = function() { - return t.Message.getFloatingPointFieldWithDefault(this, 1, 0) - } - , - proto.mediapipe.RenderAnnotation.Arrow.prototype.setXStart = function(e) { - return t.Message.setField(this, 1, e) - } - , - proto.mediapipe.RenderAnnotation.Arrow.prototype.clearXStart = function() { - return t.Message.setField(this, 1, void 0) - } - , - proto.mediapipe.RenderAnnotation.Arrow.prototype.hasXStart = function() { - return null != t.Message.getField(this, 1) - } - , - proto.mediapipe.RenderAnnotation.Arrow.prototype.getYStart = function() { - return t.Message.getFloatingPointFieldWithDefault(this, 2, 0) - } - , - proto.mediapipe.RenderAnnotation.Arrow.prototype.setYStart = function(e) { - return t.Message.setField(this, 2, e) - } - , - proto.mediapipe.RenderAnnotation.Arrow.prototype.clearYStart = function() { - return t.Message.setField(this, 2, void 0) - } - , - proto.mediapipe.RenderAnnotation.Arrow.prototype.hasYStart = function() { - return null != t.Message.getField(this, 2) - } - , - proto.mediapipe.RenderAnnotation.Arrow.prototype.getXEnd = function() { - return t.Message.getFloatingPointFieldWithDefault(this, 3, 0) - } - , - proto.mediapipe.RenderAnnotation.Arrow.prototype.setXEnd = function(e) { - return t.Message.setField(this, 3, e) - } - , - proto.mediapipe.RenderAnnotation.Arrow.prototype.clearXEnd = function() { - return t.Message.setField(this, 3, void 0) - } - , - proto.mediapipe.RenderAnnotation.Arrow.prototype.hasXEnd = function() { - return null != t.Message.getField(this, 3) - } - , - proto.mediapipe.RenderAnnotation.Arrow.prototype.getYEnd = function() { - return t.Message.getFloatingPointFieldWithDefault(this, 4, 0) - } - , - proto.mediapipe.RenderAnnotation.Arrow.prototype.setYEnd = function(e) { - return t.Message.setField(this, 4, e) - } - , - proto.mediapipe.RenderAnnotation.Arrow.prototype.clearYEnd = function() { - return t.Message.setField(this, 4, void 0) - } - , - proto.mediapipe.RenderAnnotation.Arrow.prototype.hasYEnd = function() { - return null != t.Message.getField(this, 4) - } - , - proto.mediapipe.RenderAnnotation.Arrow.prototype.getNormalized = function() { - return t.Message.getBooleanFieldWithDefault(this, 5, !1) - } - , - proto.mediapipe.RenderAnnotation.Arrow.prototype.setNormalized = function(e) { - return t.Message.setField(this, 5, e) - } - , - proto.mediapipe.RenderAnnotation.Arrow.prototype.clearNormalized = function() { - return t.Message.setField(this, 5, void 0) - } - , - proto.mediapipe.RenderAnnotation.Arrow.prototype.hasNormalized = function() { - return null != t.Message.getField(this, 5) - } - , - t.Message.GENERATE_TO_OBJECT && (proto.mediapipe.RenderAnnotation.Text.prototype.toObject = function(e) { - return proto.mediapipe.RenderAnnotation.Text.toObject(e, this) - } - , - proto.mediapipe.RenderAnnotation.Text.toObject = function(e, r) { - var o, a = { - displayText: null == (o = t.Message.getField(r, 1)) ? void 0 : o, - left: null == (o = t.Message.getOptionalFloatingPointField(r, 2)) ? void 0 : o, - baseline: null == (o = t.Message.getOptionalFloatingPointField(r, 3)) ? void 0 : o, - fontHeight: t.Message.getFloatingPointFieldWithDefault(r, 4, 8), - normalized: t.Message.getBooleanFieldWithDefault(r, 5, !1), - fontFace: t.Message.getFieldWithDefault(r, 6, 0), - centerHorizontally: t.Message.getBooleanFieldWithDefault(r, 7, !1), - centerVertically: t.Message.getBooleanFieldWithDefault(r, 8, !1), - outlineThickness: t.Message.getFloatingPointFieldWithDefault(r, 11, 0), - outlineColor: (o = r.getOutlineColor()) && i.Color.toObject(e, o) - }; - return e && (a.$jspbMessageInstance = r), - a - } - ), - proto.mediapipe.RenderAnnotation.Text.deserializeBinary = function(e) { - var r = new t.BinaryReader(e) - , o = new proto.mediapipe.RenderAnnotation.Text; - return proto.mediapipe.RenderAnnotation.Text.deserializeBinaryFromReader(o, r) - } - , - proto.mediapipe.RenderAnnotation.Text.deserializeBinaryFromReader = function(e, t) { - for (; t.nextField() && !t.isEndGroup(); ) { - switch (t.getFieldNumber()) { - case 1: - var r = t.readString(); - e.setDisplayText(r); - break; - case 2: - r = t.readDouble(); - e.setLeft(r); - break; - case 3: - r = t.readDouble(); - e.setBaseline(r); - break; - case 4: - r = t.readDouble(); - e.setFontHeight(r); - break; - case 5: - r = t.readBool(); - e.setNormalized(r); - break; - case 6: - r = t.readInt32(); - e.setFontFace(r); - break; - case 7: - r = t.readBool(); - e.setCenterHorizontally(r); - break; - case 8: - r = t.readBool(); - e.setCenterVertically(r); - break; - case 11: - r = t.readDouble(); - e.setOutlineThickness(r); - break; - case 12: - r = new i.Color; - t.readMessage(r, i.Color.deserializeBinaryFromReader), - e.setOutlineColor(r); - break; - default: - t.skipField() - } - } - return e - } - , - proto.mediapipe.RenderAnnotation.Text.prototype.serializeBinary = function() { - var e = new t.BinaryWriter; - return proto.mediapipe.RenderAnnotation.Text.serializeBinaryToWriter(this, e), - e.getResultBuffer() - } - , - proto.mediapipe.RenderAnnotation.Text.serializeBinaryToWriter = function(e, r) { - var o = void 0; - null != (o = t.Message.getField(e, 1)) && r.writeString(1, o), - null != (o = t.Message.getField(e, 2)) && r.writeDouble(2, o), - null != (o = t.Message.getField(e, 3)) && r.writeDouble(3, o), - null != (o = t.Message.getField(e, 4)) && r.writeDouble(4, o), - null != (o = t.Message.getField(e, 5)) && r.writeBool(5, o), - null != (o = t.Message.getField(e, 6)) && r.writeInt32(6, o), - null != (o = t.Message.getField(e, 7)) && r.writeBool(7, o), - null != (o = t.Message.getField(e, 8)) && r.writeBool(8, o), - null != (o = t.Message.getField(e, 11)) && r.writeDouble(11, o), - null != (o = e.getOutlineColor()) && r.writeMessage(12, o, i.Color.serializeBinaryToWriter) - } - , - proto.mediapipe.RenderAnnotation.Text.prototype.getDisplayText = function() { - return t.Message.getFieldWithDefault(this, 1, "") - } - , - proto.mediapipe.RenderAnnotation.Text.prototype.setDisplayText = function(e) { - return t.Message.setField(this, 1, e) - } - , - proto.mediapipe.RenderAnnotation.Text.prototype.clearDisplayText = function() { - return t.Message.setField(this, 1, void 0) - } - , - proto.mediapipe.RenderAnnotation.Text.prototype.hasDisplayText = function() { - return null != t.Message.getField(this, 1) - } - , - proto.mediapipe.RenderAnnotation.Text.prototype.getLeft = function() { - return t.Message.getFloatingPointFieldWithDefault(this, 2, 0) - } - , - proto.mediapipe.RenderAnnotation.Text.prototype.setLeft = function(e) { - return t.Message.setField(this, 2, e) - } - , - proto.mediapipe.RenderAnnotation.Text.prototype.clearLeft = function() { - return t.Message.setField(this, 2, void 0) - } - , - proto.mediapipe.RenderAnnotation.Text.prototype.hasLeft = function() { - return null != t.Message.getField(this, 2) - } - , - proto.mediapipe.RenderAnnotation.Text.prototype.getBaseline = function() { - return t.Message.getFloatingPointFieldWithDefault(this, 3, 0) - } - , - proto.mediapipe.RenderAnnotation.Text.prototype.setBaseline = function(e) { - return t.Message.setField(this, 3, e) - } - , - proto.mediapipe.RenderAnnotation.Text.prototype.clearBaseline = function() { - return t.Message.setField(this, 3, void 0) - } - , - proto.mediapipe.RenderAnnotation.Text.prototype.hasBaseline = function() { - return null != t.Message.getField(this, 3) - } - , - proto.mediapipe.RenderAnnotation.Text.prototype.getFontHeight = function() { - return t.Message.getFloatingPointFieldWithDefault(this, 4, 8) - } - , - proto.mediapipe.RenderAnnotation.Text.prototype.setFontHeight = function(e) { - return t.Message.setField(this, 4, e) - } - , - proto.mediapipe.RenderAnnotation.Text.prototype.clearFontHeight = function() { - return t.Message.setField(this, 4, void 0) - } - , - proto.mediapipe.RenderAnnotation.Text.prototype.hasFontHeight = function() { - return null != t.Message.getField(this, 4) - } - , - proto.mediapipe.RenderAnnotation.Text.prototype.getNormalized = function() { - return t.Message.getBooleanFieldWithDefault(this, 5, !1) - } - , - proto.mediapipe.RenderAnnotation.Text.prototype.setNormalized = function(e) { - return t.Message.setField(this, 5, e) - } - , - proto.mediapipe.RenderAnnotation.Text.prototype.clearNormalized = function() { - return t.Message.setField(this, 5, void 0) - } - , - proto.mediapipe.RenderAnnotation.Text.prototype.hasNormalized = function() { - return null != t.Message.getField(this, 5) - } - , - proto.mediapipe.RenderAnnotation.Text.prototype.getFontFace = function() { - return t.Message.getFieldWithDefault(this, 6, 0) - } - , - proto.mediapipe.RenderAnnotation.Text.prototype.setFontFace = function(e) { - return t.Message.setField(this, 6, e) - } - , - proto.mediapipe.RenderAnnotation.Text.prototype.clearFontFace = function() { - return t.Message.setField(this, 6, void 0) - } - , - proto.mediapipe.RenderAnnotation.Text.prototype.hasFontFace = function() { - return null != t.Message.getField(this, 6) - } - , - proto.mediapipe.RenderAnnotation.Text.prototype.getCenterHorizontally = function() { - return t.Message.getBooleanFieldWithDefault(this, 7, !1) - } - , - proto.mediapipe.RenderAnnotation.Text.prototype.setCenterHorizontally = function(e) { - return t.Message.setField(this, 7, e) - } - , - proto.mediapipe.RenderAnnotation.Text.prototype.clearCenterHorizontally = function() { - return t.Message.setField(this, 7, void 0) - } - , - proto.mediapipe.RenderAnnotation.Text.prototype.hasCenterHorizontally = function() { - return null != t.Message.getField(this, 7) - } - , - proto.mediapipe.RenderAnnotation.Text.prototype.getCenterVertically = function() { - return t.Message.getBooleanFieldWithDefault(this, 8, !1) - } - , - proto.mediapipe.RenderAnnotation.Text.prototype.setCenterVertically = function(e) { - return t.Message.setField(this, 8, e) - } - , - proto.mediapipe.RenderAnnotation.Text.prototype.clearCenterVertically = function() { - return t.Message.setField(this, 8, void 0) - } - , - proto.mediapipe.RenderAnnotation.Text.prototype.hasCenterVertically = function() { - return null != t.Message.getField(this, 8) - } - , - proto.mediapipe.RenderAnnotation.Text.prototype.getOutlineThickness = function() { - return t.Message.getFloatingPointFieldWithDefault(this, 11, 0) - } - , - proto.mediapipe.RenderAnnotation.Text.prototype.setOutlineThickness = function(e) { - return t.Message.setField(this, 11, e) - } - , - proto.mediapipe.RenderAnnotation.Text.prototype.clearOutlineThickness = function() { - return t.Message.setField(this, 11, void 0) - } - , - proto.mediapipe.RenderAnnotation.Text.prototype.hasOutlineThickness = function() { - return null != t.Message.getField(this, 11) - } - , - proto.mediapipe.RenderAnnotation.Text.prototype.getOutlineColor = function() { - return t.Message.getWrapperField(this, i.Color, 12) - } - , - proto.mediapipe.RenderAnnotation.Text.prototype.setOutlineColor = function(e) { - return t.Message.setWrapperField(this, 12, e) - } - , - proto.mediapipe.RenderAnnotation.Text.prototype.clearOutlineColor = function() { - return this.setOutlineColor(void 0) - } - , - proto.mediapipe.RenderAnnotation.Text.prototype.hasOutlineColor = function() { - return null != t.Message.getField(this, 12) - } - , - proto.mediapipe.RenderAnnotation.prototype.getRectangle = function() { - return t.Message.getWrapperField(this, proto.mediapipe.RenderAnnotation.Rectangle, 1) - } - , - proto.mediapipe.RenderAnnotation.prototype.setRectangle = function(e) { - return t.Message.setOneofWrapperField(this, 1, proto.mediapipe.RenderAnnotation.oneofGroups_[0], e) - } - , - proto.mediapipe.RenderAnnotation.prototype.clearRectangle = function() { - return this.setRectangle(void 0) - } - , - proto.mediapipe.RenderAnnotation.prototype.hasRectangle = function() { - return null != t.Message.getField(this, 1) - } - , - proto.mediapipe.RenderAnnotation.prototype.getFilledRectangle = function() { - return t.Message.getWrapperField(this, proto.mediapipe.RenderAnnotation.FilledRectangle, 2) - } - , - proto.mediapipe.RenderAnnotation.prototype.setFilledRectangle = function(e) { - return t.Message.setOneofWrapperField(this, 2, proto.mediapipe.RenderAnnotation.oneofGroups_[0], e) - } - , - proto.mediapipe.RenderAnnotation.prototype.clearFilledRectangle = function() { - return this.setFilledRectangle(void 0) - } - , - proto.mediapipe.RenderAnnotation.prototype.hasFilledRectangle = function() { - return null != t.Message.getField(this, 2) - } - , - proto.mediapipe.RenderAnnotation.prototype.getOval = function() { - return t.Message.getWrapperField(this, proto.mediapipe.RenderAnnotation.Oval, 3) - } - , - proto.mediapipe.RenderAnnotation.prototype.setOval = function(e) { - return t.Message.setOneofWrapperField(this, 3, proto.mediapipe.RenderAnnotation.oneofGroups_[0], e) - } - , - proto.mediapipe.RenderAnnotation.prototype.clearOval = function() { - return this.setOval(void 0) - } - , - proto.mediapipe.RenderAnnotation.prototype.hasOval = function() { - return null != t.Message.getField(this, 3) - } - , - proto.mediapipe.RenderAnnotation.prototype.getFilledOval = function() { - return t.Message.getWrapperField(this, proto.mediapipe.RenderAnnotation.FilledOval, 4) - } - , - proto.mediapipe.RenderAnnotation.prototype.setFilledOval = function(e) { - return t.Message.setOneofWrapperField(this, 4, proto.mediapipe.RenderAnnotation.oneofGroups_[0], e) - } - , - proto.mediapipe.RenderAnnotation.prototype.clearFilledOval = function() { - return this.setFilledOval(void 0) - } - , - proto.mediapipe.RenderAnnotation.prototype.hasFilledOval = function() { - return null != t.Message.getField(this, 4) - } - , - proto.mediapipe.RenderAnnotation.prototype.getPoint = function() { - return t.Message.getWrapperField(this, proto.mediapipe.RenderAnnotation.Point, 5) - } - , - proto.mediapipe.RenderAnnotation.prototype.setPoint = function(e) { - return t.Message.setOneofWrapperField(this, 5, proto.mediapipe.RenderAnnotation.oneofGroups_[0], e) - } - , - proto.mediapipe.RenderAnnotation.prototype.clearPoint = function() { - return this.setPoint(void 0) - } - , - proto.mediapipe.RenderAnnotation.prototype.hasPoint = function() { - return null != t.Message.getField(this, 5) - } - , - proto.mediapipe.RenderAnnotation.prototype.getLine = function() { - return t.Message.getWrapperField(this, proto.mediapipe.RenderAnnotation.Line, 6) - } - , - proto.mediapipe.RenderAnnotation.prototype.setLine = function(e) { - return t.Message.setOneofWrapperField(this, 6, proto.mediapipe.RenderAnnotation.oneofGroups_[0], e) - } - , - proto.mediapipe.RenderAnnotation.prototype.clearLine = function() { - return this.setLine(void 0) - } - , - proto.mediapipe.RenderAnnotation.prototype.hasLine = function() { - return null != t.Message.getField(this, 6) - } - , - proto.mediapipe.RenderAnnotation.prototype.getArrow = function() { - return t.Message.getWrapperField(this, proto.mediapipe.RenderAnnotation.Arrow, 7) - } - , - proto.mediapipe.RenderAnnotation.prototype.setArrow = function(e) { - return t.Message.setOneofWrapperField(this, 7, proto.mediapipe.RenderAnnotation.oneofGroups_[0], e) - } - , - proto.mediapipe.RenderAnnotation.prototype.clearArrow = function() { - return this.setArrow(void 0) - } - , - proto.mediapipe.RenderAnnotation.prototype.hasArrow = function() { - return null != t.Message.getField(this, 7) - } - , - proto.mediapipe.RenderAnnotation.prototype.getText = function() { - return t.Message.getWrapperField(this, proto.mediapipe.RenderAnnotation.Text, 8) - } - , - proto.mediapipe.RenderAnnotation.prototype.setText = function(e) { - return t.Message.setOneofWrapperField(this, 8, proto.mediapipe.RenderAnnotation.oneofGroups_[0], e) - } - , - proto.mediapipe.RenderAnnotation.prototype.clearText = function() { - return this.setText(void 0) - } - , - proto.mediapipe.RenderAnnotation.prototype.hasText = function() { - return null != t.Message.getField(this, 8) - } - , - proto.mediapipe.RenderAnnotation.prototype.getRoundedRectangle = function() { - return t.Message.getWrapperField(this, proto.mediapipe.RenderAnnotation.RoundedRectangle, 9) - } - , - proto.mediapipe.RenderAnnotation.prototype.setRoundedRectangle = function(e) { - return t.Message.setOneofWrapperField(this, 9, proto.mediapipe.RenderAnnotation.oneofGroups_[0], e) - } - , - proto.mediapipe.RenderAnnotation.prototype.clearRoundedRectangle = function() { - return this.setRoundedRectangle(void 0) - } - , - proto.mediapipe.RenderAnnotation.prototype.hasRoundedRectangle = function() { - return null != t.Message.getField(this, 9) - } - , - proto.mediapipe.RenderAnnotation.prototype.getFilledRoundedRectangle = function() { - return t.Message.getWrapperField(this, proto.mediapipe.RenderAnnotation.FilledRoundedRectangle, 10) - } - , - proto.mediapipe.RenderAnnotation.prototype.setFilledRoundedRectangle = function(e) { - return t.Message.setOneofWrapperField(this, 10, proto.mediapipe.RenderAnnotation.oneofGroups_[0], e) - } - , - proto.mediapipe.RenderAnnotation.prototype.clearFilledRoundedRectangle = function() { - return this.setFilledRoundedRectangle(void 0) - } - , - proto.mediapipe.RenderAnnotation.prototype.hasFilledRoundedRectangle = function() { - return null != t.Message.getField(this, 10) - } - , - proto.mediapipe.RenderAnnotation.prototype.getGradientLine = function() { - return t.Message.getWrapperField(this, proto.mediapipe.RenderAnnotation.GradientLine, 14) - } - , - proto.mediapipe.RenderAnnotation.prototype.setGradientLine = function(e) { - return t.Message.setOneofWrapperField(this, 14, proto.mediapipe.RenderAnnotation.oneofGroups_[0], e) - } - , - proto.mediapipe.RenderAnnotation.prototype.clearGradientLine = function() { - return this.setGradientLine(void 0) - } - , - proto.mediapipe.RenderAnnotation.prototype.hasGradientLine = function() { - return null != t.Message.getField(this, 14) - } - , - proto.mediapipe.RenderAnnotation.prototype.getScribble = function() { - return t.Message.getWrapperField(this, proto.mediapipe.RenderAnnotation.Scribble, 15) - } - , - proto.mediapipe.RenderAnnotation.prototype.setScribble = function(e) { - return t.Message.setOneofWrapperField(this, 15, proto.mediapipe.RenderAnnotation.oneofGroups_[0], e) - } - , - proto.mediapipe.RenderAnnotation.prototype.clearScribble = function() { - return this.setScribble(void 0) - } - , - proto.mediapipe.RenderAnnotation.prototype.hasScribble = function() { - return null != t.Message.getField(this, 15) - } - , - proto.mediapipe.RenderAnnotation.prototype.getThickness = function() { - return t.Message.getFloatingPointFieldWithDefault(this, 11, 1) - } - , - proto.mediapipe.RenderAnnotation.prototype.setThickness = function(e) { - return t.Message.setField(this, 11, e) - } - , - proto.mediapipe.RenderAnnotation.prototype.clearThickness = function() { - return t.Message.setField(this, 11, void 0) - } - , - proto.mediapipe.RenderAnnotation.prototype.hasThickness = function() { - return null != t.Message.getField(this, 11) - } - , - proto.mediapipe.RenderAnnotation.prototype.getColor = function() { - return t.Message.getWrapperField(this, i.Color, 12) - } - , - proto.mediapipe.RenderAnnotation.prototype.setColor = function(e) { - return t.Message.setWrapperField(this, 12, e) - } - , - proto.mediapipe.RenderAnnotation.prototype.clearColor = function() { - return this.setColor(void 0) - } - , - proto.mediapipe.RenderAnnotation.prototype.hasColor = function() { - return null != t.Message.getField(this, 12) - } - , - proto.mediapipe.RenderAnnotation.prototype.getSceneTag = function() { - return t.Message.getFieldWithDefault(this, 13, "") - } - , - proto.mediapipe.RenderAnnotation.prototype.setSceneTag = function(e) { - return t.Message.setField(this, 13, e) - } - , - proto.mediapipe.RenderAnnotation.prototype.clearSceneTag = function() { - return t.Message.setField(this, 13, void 0) - } - , - proto.mediapipe.RenderAnnotation.prototype.hasSceneTag = function() { - return null != t.Message.getField(this, 13) - } - , - t.Message.GENERATE_TO_OBJECT && (proto.mediapipe.RenderViewport.prototype.toObject = function(e) { - return proto.mediapipe.RenderViewport.toObject(e, this) - } - , - proto.mediapipe.RenderViewport.toObject = function(e, r) { - var o, i = { - id: null == (o = t.Message.getField(r, 1)) ? void 0 : o, - widthPx: null == (o = t.Message.getField(r, 2)) ? void 0 : o, - heightPx: null == (o = t.Message.getField(r, 3)) ? void 0 : o, - composeOnVideo: null == (o = t.Message.getBooleanField(r, 4)) ? void 0 : o - }; - return e && (i.$jspbMessageInstance = r), - i - } - ), - proto.mediapipe.RenderViewport.deserializeBinary = function(e) { - var r = new t.BinaryReader(e) - , o = new proto.mediapipe.RenderViewport; - return proto.mediapipe.RenderViewport.deserializeBinaryFromReader(o, r) - } - , - proto.mediapipe.RenderViewport.deserializeBinaryFromReader = function(e, t) { - for (; t.nextField() && !t.isEndGroup(); ) { - switch (t.getFieldNumber()) { - case 1: - var r = t.readString(); - e.setId(r); - break; - case 2: - r = t.readInt32(); - e.setWidthPx(r); - break; - case 3: - r = t.readInt32(); - e.setHeightPx(r); - break; - case 4: - r = t.readBool(); - e.setComposeOnVideo(r); - break; - default: - t.skipField() - } - } - return e - } - , - proto.mediapipe.RenderViewport.prototype.serializeBinary = function() { - var e = new t.BinaryWriter; - return proto.mediapipe.RenderViewport.serializeBinaryToWriter(this, e), - e.getResultBuffer() - } - , - proto.mediapipe.RenderViewport.serializeBinaryToWriter = function(e, r) { - var o = void 0; - null != (o = t.Message.getField(e, 1)) && r.writeString(1, o), - null != (o = t.Message.getField(e, 2)) && r.writeInt32(2, o), - null != (o = t.Message.getField(e, 3)) && r.writeInt32(3, o), - null != (o = t.Message.getField(e, 4)) && r.writeBool(4, o) - } - , - proto.mediapipe.RenderViewport.prototype.getId = function() { - return t.Message.getFieldWithDefault(this, 1, "") - } - , - proto.mediapipe.RenderViewport.prototype.setId = function(e) { - return t.Message.setField(this, 1, e) - } - , - proto.mediapipe.RenderViewport.prototype.clearId = function() { - return t.Message.setField(this, 1, void 0) - } - , - proto.mediapipe.RenderViewport.prototype.hasId = function() { - return null != t.Message.getField(this, 1) - } - , - proto.mediapipe.RenderViewport.prototype.getWidthPx = function() { - return t.Message.getFieldWithDefault(this, 2, 0) - } - , - proto.mediapipe.RenderViewport.prototype.setWidthPx = function(e) { - return t.Message.setField(this, 2, e) - } - , - proto.mediapipe.RenderViewport.prototype.clearWidthPx = function() { - return t.Message.setField(this, 2, void 0) - } - , - proto.mediapipe.RenderViewport.prototype.hasWidthPx = function() { - return null != t.Message.getField(this, 2) - } - , - proto.mediapipe.RenderViewport.prototype.getHeightPx = function() { - return t.Message.getFieldWithDefault(this, 3, 0) - } - , - proto.mediapipe.RenderViewport.prototype.setHeightPx = function(e) { - return t.Message.setField(this, 3, e) - } - , - proto.mediapipe.RenderViewport.prototype.clearHeightPx = function() { - return t.Message.setField(this, 3, void 0) - } - , - proto.mediapipe.RenderViewport.prototype.hasHeightPx = function() { - return null != t.Message.getField(this, 3) - } - , - proto.mediapipe.RenderViewport.prototype.getComposeOnVideo = function() { - return t.Message.getBooleanFieldWithDefault(this, 4, !1) - } - , - proto.mediapipe.RenderViewport.prototype.setComposeOnVideo = function(e) { - return t.Message.setField(this, 4, e) - } - , - proto.mediapipe.RenderViewport.prototype.clearComposeOnVideo = function() { - return t.Message.setField(this, 4, void 0) - } - , - proto.mediapipe.RenderViewport.prototype.hasComposeOnVideo = function() { - return null != t.Message.getField(this, 4) - } - , - r.object.extend(e, proto.mediapipe) -}(render_data_pb); -var interactive_segmenter_options = {}; -Object.defineProperty(interactive_segmenter_options, "__esModule", { - value: !0 -}); -var interactive_segmenter_result = {}; -Object.defineProperty(interactive_segmenter_result, "__esModule", { - value: !0 -}), -function(e) { - var t = commonjsGlobal && commonjsGlobal.__createBinding || (Object.create ? function(e, t, r, o) { - void 0 === o && (o = r); - var i = Object.getOwnPropertyDescriptor(t, r); - i && !("get"in i ? !t.__esModule : i.writable || i.configurable) || (i = { - enumerable: !0, - get: function() { - return t[r] - } - }), - Object.defineProperty(e, o, i) - } - : function(e, t, r, o) { - void 0 === o && (o = r), - e[o] = t[r] - } - ) - , r = commonjsGlobal && commonjsGlobal.__exportStar || function(e, r) { - for (var o in e) - "default" === o || Object.prototype.hasOwnProperty.call(r, o) || t(r, e, o) - } - ; - Object.defineProperty(e, "__esModule", { - value: !0 - }), - e.InteractiveSegmenter = void 0; - const o = calculator_pb - , i = calculator_options_pb - , a = base_options_pb - , n = image_segmenter_graph_options_pb - , s = segmenter_options_pb - , p = vision_task_runner - , d = color_pb - , l = render_data_pb; - r(interactive_segmenter_options, e), - r(interactive_segmenter_result, e); - const g = "image_in" - , c = "norm_rect_in" - , u = "roi_in" - , m = "confidence_masks" - , f = "category_mask"; - class h extends p.VisionTaskRunner { - static createFromOptions(e, t) { - return p.VisionTaskRunner.createVisionInstance(h, e, t) - } - static createFromModelBuffer(e, t) { - return p.VisionTaskRunner.createVisionInstance(h, e, { - baseOptions: { - modelAssetBuffer: t - } - }) - } - static createFromModelPath(e, t) { - return p.VisionTaskRunner.createVisionInstance(h, e, { - baseOptions: { - modelAssetPath: t - } - }) - } - constructor(e, t) { - super(new p.VisionGraphRunner(e,t), g, c, !1), - this.result = {}, - this.outputCategoryMask = false, - this.outputConfidenceMasks = true, - this.options = new n.ImageSegmenterGraphOptions, - this.segmenterOptions = new s.SegmenterOptions, - this.options.setSegmenterOptions(this.segmenterOptions), - this.options.setBaseOptions(new a.BaseOptions) - } - get baseOptions() { - return this.options.getBaseOptions() - } - set baseOptions(e) { - this.options.setBaseOptions(e) - } - setOptions(e) { - var t, r; - return "outputCategoryMask"in e && (this.outputCategoryMask = null !== (t = e.outputCategoryMask) && void 0 !== t && t), - "outputConfidenceMasks"in e && (this.outputConfidenceMasks = null === (r = e.outputConfidenceMasks) || void 0 === r || r), - super.applyOptions(e) - } - segment(e, t, r, o) { - const i = "function" != typeof r ? r : {}; - if (this.userCallback = "function" == typeof r ? r : o, - this.reset(), - this.processRenderData(t, this.getSynctheticTimestamp()), - this.processImageData(e, i), - !this.userCallback) - return this.result - } - reset() { - this.result = {} - } - maybeInvokeCallback() { - this.outputConfidenceMasks && !("confidenceMasks"in this.result) || this.outputCategoryMask && !("categoryMask"in this.result) || this.userCallback && (this.userCallback(this.result), - this.freeKeepaliveStreams()) - } - refreshGraph() { - const e = new o.CalculatorGraphConfig; - e.addInputStream(g), - e.addInputStream(u), - e.addInputStream(c); - const t = new i.CalculatorOptions; - t.setExtension(n.ImageSegmenterGraphOptions.ext, this.options); - const r = new o.CalculatorGraphConfig.Node; - r.setCalculator("mediapipe.tasks.vision.interactive_segmenter.InteractiveSegmenterGraph"), - r.addInputStream("IMAGE:" + g), - r.addInputStream("ROI:" + u), - r.addInputStream("NORM_RECT:" + c), - r.setOptions(t), - e.addNode(r), - this.addKeepaliveNode(e), - this.outputConfidenceMasks && (e.addOutputStream(m), - r.addOutputStream("CONFIDENCE_MASKS:" + m), - this.keepStreamAlive(m), - this.graphRunner.attachImageVectorListener(m, ((e,t)=>{ - this.result.confidenceMasks = e.map((e=>this.convertToMPMask(e, !this.userCallback))), - this.setLatestOutputTimestamp(t), - this.maybeInvokeCallback() - } - )), - this.graphRunner.attachEmptyPacketListener(m, (e=>{ - this.result.confidenceMasks = void 0, - this.setLatestOutputTimestamp(e), - this.maybeInvokeCallback() - } - ))), - this.outputCategoryMask && (e.addOutputStream(f), - r.addOutputStream("CATEGORY_MASK:" + f), - this.keepStreamAlive(f), - this.graphRunner.attachImageListener(f, ((e,t)=>{ - this.result.categoryMask = this.convertToMPMask(e, !this.userCallback), - this.setLatestOutputTimestamp(t), - this.maybeInvokeCallback() - } - )), - this.graphRunner.attachEmptyPacketListener(f, (e=>{ - this.result.categoryMask = void 0, - this.setLatestOutputTimestamp(e), - this.maybeInvokeCallback() - } - ))); - const a = e.serializeBinary(); - this.setGraph(new Uint8Array(a), !0) - } - processRenderData(e, t) { - const r = new l.RenderData - , o = new l.RenderAnnotation - , i = new d.Color; - if (i.setR(255), - o.setColor(i), - e.keypoint && e.scribble) - throw new Error("Cannot provide both keypoint and scribble."); - if (e.keypoint) { - const t = new l.RenderAnnotation.Point; - t.setNormalized(!0), - t.setX(e.keypoint.x), - t.setY(e.keypoint.y), - o.setPoint(t) - } else { - if (!e.scribble) - throw new Error("Must provide either a keypoint or a scribble."); - { - const t = new l.RenderAnnotation.Scribble; - for (const r of e.scribble) { - const e = new l.RenderAnnotation.Point; - e.setNormalized(!0), - e.setX(r.x), - e.setY(r.y), - t.addPoint(e) - } - o.setScribble(t) - } - } - r.addRenderAnnotations(o), - this.graphRunner.addProtoToStream(r.serializeBinary(), "drishti.RenderData", u, t) - } - } - e.InteractiveSegmenter = h -}(interactive_segmenter); -var object_detector = {} - , object_detector_options_pb = {}; -!function(e) { - var t = googleProtobuf - , r = t - , o = "undefined" != typeof globalThis && globalThis || "undefined" != typeof window && window || void 0 !== o && o || "undefined" != typeof self && self || function() { - return this - } - .call(null) || Function("return this")() - , i = calculator_pb; - r.object.extend(proto, i); - var a = calculator_options_pb; - r.object.extend(proto, a); - var n = base_options_pb; - r.object.extend(proto, n), - r.exportSymbol("proto.mediapipe.tasks.vision.object_detector.proto.ObjectDetectorOptions", null, o), - proto.mediapipe.tasks.vision.object_detector.proto.ObjectDetectorOptions = function(e) { - t.Message.initialize(this, e, 0, -1, proto.mediapipe.tasks.vision.object_detector.proto.ObjectDetectorOptions.repeatedFields_, null) - } - , - r.inherits(proto.mediapipe.tasks.vision.object_detector.proto.ObjectDetectorOptions, t.Message), - r.DEBUG && !COMPILED && (proto.mediapipe.tasks.vision.object_detector.proto.ObjectDetectorOptions.displayName = "proto.mediapipe.tasks.vision.object_detector.proto.ObjectDetectorOptions"), - proto.mediapipe.tasks.vision.object_detector.proto.ObjectDetectorOptions.repeatedFields_ = [5, 6], - t.Message.GENERATE_TO_OBJECT && (proto.mediapipe.tasks.vision.object_detector.proto.ObjectDetectorOptions.prototype.toObject = function(e) { - return proto.mediapipe.tasks.vision.object_detector.proto.ObjectDetectorOptions.toObject(e, this) - } - , - proto.mediapipe.tasks.vision.object_detector.proto.ObjectDetectorOptions.toObject = function(e, r) { - var o, i = { - baseOptions: (o = r.getBaseOptions()) && n.BaseOptions.toObject(e, o), - displayNamesLocale: t.Message.getFieldWithDefault(r, 2, "en"), - maxResults: t.Message.getFieldWithDefault(r, 3, -1), - scoreThreshold: null == (o = t.Message.getOptionalFloatingPointField(r, 4)) ? void 0 : o, - categoryAllowlistList: null == (o = t.Message.getRepeatedField(r, 5)) ? void 0 : o, - categoryDenylistList: null == (o = t.Message.getRepeatedField(r, 6)) ? void 0 : o - }; - return e && (i.$jspbMessageInstance = r), - i - } - ), - proto.mediapipe.tasks.vision.object_detector.proto.ObjectDetectorOptions.deserializeBinary = function(e) { - var r = new t.BinaryReader(e) - , o = new proto.mediapipe.tasks.vision.object_detector.proto.ObjectDetectorOptions; - return proto.mediapipe.tasks.vision.object_detector.proto.ObjectDetectorOptions.deserializeBinaryFromReader(o, r) - } - , - proto.mediapipe.tasks.vision.object_detector.proto.ObjectDetectorOptions.deserializeBinaryFromReader = function(e, t) { - for (; t.nextField() && !t.isEndGroup(); ) { - switch (t.getFieldNumber()) { - case 1: - var r = new n.BaseOptions; - t.readMessage(r, n.BaseOptions.deserializeBinaryFromReader), - e.setBaseOptions(r); - break; - case 2: - r = t.readString(); - e.setDisplayNamesLocale(r); - break; - case 3: - r = t.readInt32(); - e.setMaxResults(r); - break; - case 4: - r = t.readFloat(); - e.setScoreThreshold(r); - break; - case 5: - r = t.readString(); - e.addCategoryAllowlist(r); - break; - case 6: - r = t.readString(); - e.addCategoryDenylist(r); - break; - default: - t.skipField() - } - } - return e - } - , - proto.mediapipe.tasks.vision.object_detector.proto.ObjectDetectorOptions.prototype.serializeBinary = function() { - var e = new t.BinaryWriter; - return proto.mediapipe.tasks.vision.object_detector.proto.ObjectDetectorOptions.serializeBinaryToWriter(this, e), - e.getResultBuffer() - } - , - proto.mediapipe.tasks.vision.object_detector.proto.ObjectDetectorOptions.serializeBinaryToWriter = function(e, r) { - var o = void 0; - null != (o = e.getBaseOptions()) && r.writeMessage(1, o, n.BaseOptions.serializeBinaryToWriter), - null != (o = t.Message.getField(e, 2)) && r.writeString(2, o), - null != (o = t.Message.getField(e, 3)) && r.writeInt32(3, o), - null != (o = t.Message.getField(e, 4)) && r.writeFloat(4, o), - (o = e.getCategoryAllowlistList()).length > 0 && r.writeRepeatedString(5, o), - (o = e.getCategoryDenylistList()).length > 0 && r.writeRepeatedString(6, o) - } - , - proto.mediapipe.tasks.vision.object_detector.proto.ObjectDetectorOptions.ext = new t.ExtensionFieldInfo(443442058,{ - ext: 0 - },proto.mediapipe.tasks.vision.object_detector.proto.ObjectDetectorOptions,proto.mediapipe.tasks.vision.object_detector.proto.ObjectDetectorOptions.toObject,0), - a.CalculatorOptions.extensionsBinary[443442058] = new t.ExtensionFieldBinaryInfo(proto.mediapipe.tasks.vision.object_detector.proto.ObjectDetectorOptions.ext,t.BinaryReader.prototype.readMessage,t.BinaryWriter.prototype.writeMessage,proto.mediapipe.tasks.vision.object_detector.proto.ObjectDetectorOptions.serializeBinaryToWriter,proto.mediapipe.tasks.vision.object_detector.proto.ObjectDetectorOptions.deserializeBinaryFromReader,!1), - a.CalculatorOptions.extensions[443442058] = proto.mediapipe.tasks.vision.object_detector.proto.ObjectDetectorOptions.ext, - proto.mediapipe.tasks.vision.object_detector.proto.ObjectDetectorOptions.prototype.getBaseOptions = function() { - return t.Message.getWrapperField(this, n.BaseOptions, 1) - } - , - proto.mediapipe.tasks.vision.object_detector.proto.ObjectDetectorOptions.prototype.setBaseOptions = function(e) { - return t.Message.setWrapperField(this, 1, e) - } - , - proto.mediapipe.tasks.vision.object_detector.proto.ObjectDetectorOptions.prototype.clearBaseOptions = function() { - return this.setBaseOptions(void 0) - } - , - proto.mediapipe.tasks.vision.object_detector.proto.ObjectDetectorOptions.prototype.hasBaseOptions = function() { - return null != t.Message.getField(this, 1) - } - , - proto.mediapipe.tasks.vision.object_detector.proto.ObjectDetectorOptions.prototype.getDisplayNamesLocale = function() { - return t.Message.getFieldWithDefault(this, 2, "en") - } - , - proto.mediapipe.tasks.vision.object_detector.proto.ObjectDetectorOptions.prototype.setDisplayNamesLocale = function(e) { - return t.Message.setField(this, 2, e) - } - , - proto.mediapipe.tasks.vision.object_detector.proto.ObjectDetectorOptions.prototype.clearDisplayNamesLocale = function() { - return t.Message.setField(this, 2, void 0) - } - , - proto.mediapipe.tasks.vision.object_detector.proto.ObjectDetectorOptions.prototype.hasDisplayNamesLocale = function() { - return null != t.Message.getField(this, 2) - } - , - proto.mediapipe.tasks.vision.object_detector.proto.ObjectDetectorOptions.prototype.getMaxResults = function() { - return t.Message.getFieldWithDefault(this, 3, -1) - } - , - proto.mediapipe.tasks.vision.object_detector.proto.ObjectDetectorOptions.prototype.setMaxResults = function(e) { - return t.Message.setField(this, 3, e) - } - , - proto.mediapipe.tasks.vision.object_detector.proto.ObjectDetectorOptions.prototype.clearMaxResults = function() { - return t.Message.setField(this, 3, void 0) - } - , - proto.mediapipe.tasks.vision.object_detector.proto.ObjectDetectorOptions.prototype.hasMaxResults = function() { - return null != t.Message.getField(this, 3) - } - , - proto.mediapipe.tasks.vision.object_detector.proto.ObjectDetectorOptions.prototype.getScoreThreshold = function() { - return t.Message.getFloatingPointFieldWithDefault(this, 4, 0) - } - , - proto.mediapipe.tasks.vision.object_detector.proto.ObjectDetectorOptions.prototype.setScoreThreshold = function(e) { - return t.Message.setField(this, 4, e) - } - , - proto.mediapipe.tasks.vision.object_detector.proto.ObjectDetectorOptions.prototype.clearScoreThreshold = function() { - return t.Message.setField(this, 4, void 0) - } - , - proto.mediapipe.tasks.vision.object_detector.proto.ObjectDetectorOptions.prototype.hasScoreThreshold = function() { - return null != t.Message.getField(this, 4) - } - , - proto.mediapipe.tasks.vision.object_detector.proto.ObjectDetectorOptions.prototype.getCategoryAllowlistList = function() { - return t.Message.getRepeatedField(this, 5) - } - , - proto.mediapipe.tasks.vision.object_detector.proto.ObjectDetectorOptions.prototype.setCategoryAllowlistList = function(e) { - return t.Message.setField(this, 5, e || []) - } - , - proto.mediapipe.tasks.vision.object_detector.proto.ObjectDetectorOptions.prototype.addCategoryAllowlist = function(e, r) { - return t.Message.addToRepeatedField(this, 5, e, r) - } - , - proto.mediapipe.tasks.vision.object_detector.proto.ObjectDetectorOptions.prototype.clearCategoryAllowlistList = function() { - return this.setCategoryAllowlistList([]) - } - , - proto.mediapipe.tasks.vision.object_detector.proto.ObjectDetectorOptions.prototype.getCategoryDenylistList = function() { - return t.Message.getRepeatedField(this, 6) - } - , - proto.mediapipe.tasks.vision.object_detector.proto.ObjectDetectorOptions.prototype.setCategoryDenylistList = function(e) { - return t.Message.setField(this, 6, e || []) - } - , - proto.mediapipe.tasks.vision.object_detector.proto.ObjectDetectorOptions.prototype.addCategoryDenylist = function(e, r) { - return t.Message.addToRepeatedField(this, 6, e, r) - } - , - proto.mediapipe.tasks.vision.object_detector.proto.ObjectDetectorOptions.prototype.clearCategoryDenylistList = function() { - return this.setCategoryDenylistList([]) - } - , - proto.mediapipe.tasks.vision.object_detector.proto.ObjectDetectorOptions.ext = new t.ExtensionFieldInfo(443442058,{ - ext: 0 - },proto.mediapipe.tasks.vision.object_detector.proto.ObjectDetectorOptions,proto.mediapipe.tasks.vision.object_detector.proto.ObjectDetectorOptions.toObject,0), - a.CalculatorOptions.extensionsBinary[443442058] = new t.ExtensionFieldBinaryInfo(proto.mediapipe.tasks.vision.object_detector.proto.ObjectDetectorOptions.ext,t.BinaryReader.prototype.readMessage,t.BinaryWriter.prototype.writeMessage,proto.mediapipe.tasks.vision.object_detector.proto.ObjectDetectorOptions.serializeBinaryToWriter,proto.mediapipe.tasks.vision.object_detector.proto.ObjectDetectorOptions.deserializeBinaryFromReader,!1), - a.CalculatorOptions.extensions[443442058] = proto.mediapipe.tasks.vision.object_detector.proto.ObjectDetectorOptions.ext, - r.object.extend(e, proto.mediapipe.tasks.vision.object_detector.proto) -}(object_detector_options_pb); -var object_detector_options = {}; -Object.defineProperty(object_detector_options, "__esModule", { - value: !0 -}); -var object_detector_result = {}; -Object.defineProperty(object_detector_result, "__esModule", { - value: !0 -}), -function(e) { - var t = commonjsGlobal && commonjsGlobal.__createBinding || (Object.create ? function(e, t, r, o) { - void 0 === o && (o = r); - var i = Object.getOwnPropertyDescriptor(t, r); - i && !("get"in i ? !t.__esModule : i.writable || i.configurable) || (i = { - enumerable: !0, - get: function() { - return t[r] - } - }), - Object.defineProperty(e, o, i) - } - : function(e, t, r, o) { - void 0 === o && (o = r), - e[o] = t[r] - } - ) - , r = commonjsGlobal && commonjsGlobal.__exportStar || function(e, r) { - for (var o in e) - "default" === o || Object.prototype.hasOwnProperty.call(r, o) || t(r, e, o) - } - ; - Object.defineProperty(e, "__esModule", { - value: !0 - }), - e.ObjectDetector = void 0; - const o = calculator_pb - , i = calculator_options_pb - , a = detection_pb - , n = base_options_pb - , s = object_detector_options_pb - , p = detection_result - , d = vision_task_runner - , l = "input_frame_gpu" - , g = "norm_rect" - , c = "detections"; - r(object_detector_options, e), - r(object_detector_result, e); - class u extends d.VisionTaskRunner { - static createFromOptions(e, t) { - return d.VisionTaskRunner.createVisionInstance(u, e, t) - } - static createFromModelBuffer(e, t) { - return d.VisionTaskRunner.createVisionInstance(u, e, { - baseOptions: { - modelAssetBuffer: t - } - }) - } - static async createFromModelPath(e, t) { - return d.VisionTaskRunner.createVisionInstance(u, e, { - baseOptions: { - modelAssetPath: t - } - }) - } - constructor(e, t) { - super(new d.VisionGraphRunner(e,t), l, g, !1), - this.result = { - detections: [] - }, - this.options = new s.ObjectDetectorOptions, - this.options.setBaseOptions(new n.BaseOptions) - } - get baseOptions() { - return this.options.getBaseOptions() - } - set baseOptions(e) { - this.options.setBaseOptions(e) - } - setOptions(e) { - return void 0 !== e.displayNamesLocale ? this.options.setDisplayNamesLocale(e.displayNamesLocale) : "displayNamesLocale"in e && this.options.clearDisplayNamesLocale(), - void 0 !== e.maxResults ? this.options.setMaxResults(e.maxResults) : "maxResults"in e && this.options.clearMaxResults(), - void 0 !== e.scoreThreshold ? this.options.setScoreThreshold(e.scoreThreshold) : "scoreThreshold"in e && this.options.clearScoreThreshold(), - void 0 !== e.categoryAllowlist ? this.options.setCategoryAllowlistList(e.categoryAllowlist) : "categoryAllowlist"in e && this.options.clearCategoryAllowlistList(), - void 0 !== e.categoryDenylist ? this.options.setCategoryDenylistList(e.categoryDenylist) : "categoryDenylist"in e && this.options.clearCategoryDenylistList(), - this.applyOptions(e) - } - detect(e, t) { - return this.result = { - detections: [] - }, - this.processImageData(e, t), - this.result - } - detectForVideo(e, t, r) { - return this.result = { - detections: [] - }, - this.processVideoData(e, r, t), - this.result - } - addJsObjectDetections(e) { - for (const t of e) { - const e = a.Detection.deserializeBinary(t); - this.result.detections.push((0, - p.convertFromDetectionProto)(e)) - } - } - refreshGraph() { - const e = new o.CalculatorGraphConfig; - e.addInputStream(l), - e.addInputStream(g), - e.addOutputStream(c); - const t = new i.CalculatorOptions; - t.setExtension(s.ObjectDetectorOptions.ext, this.options); - const r = new o.CalculatorGraphConfig.Node; - r.setCalculator("mediapipe.tasks.vision.ObjectDetectorGraph"), - r.addInputStream("IMAGE:" + l), - r.addInputStream("NORM_RECT:" + g), - r.addOutputStream("DETECTIONS:" + c), - r.setOptions(t), - e.addNode(r), - this.graphRunner.attachProtoVectorListener(c, ((e,t)=>{ - this.addJsObjectDetections(e), - this.setLatestOutputTimestamp(t) - } - )), - this.graphRunner.attachEmptyPacketListener(c, (e=>{ - this.setLatestOutputTimestamp(e) - } - )); - const a = e.serializeBinary(); - this.setGraph(new Uint8Array(a), !0) - } - } - e.ObjectDetector = u -}(object_detector); -var pose_landmarker = {} - , pose_detector_graph_options_pb = {}; -!function(e) { - var t = googleProtobuf - , r = t - , o = "undefined" != typeof globalThis && globalThis || "undefined" != typeof window && window || void 0 !== o && o || "undefined" != typeof self && self || function() { - return this - } - .call(null) || Function("return this")() - , i = calculator_pb; - r.object.extend(proto, i); - var a = calculator_options_pb; - r.object.extend(proto, a); - var n = base_options_pb; - r.object.extend(proto, n), - r.exportSymbol("proto.mediapipe.tasks.vision.pose_detector.proto.PoseDetectorGraphOptions", null, o), - proto.mediapipe.tasks.vision.pose_detector.proto.PoseDetectorGraphOptions = function(e) { - t.Message.initialize(this, e, 0, -1, null, null) - } - , - r.inherits(proto.mediapipe.tasks.vision.pose_detector.proto.PoseDetectorGraphOptions, t.Message), - r.DEBUG && !COMPILED && (proto.mediapipe.tasks.vision.pose_detector.proto.PoseDetectorGraphOptions.displayName = "proto.mediapipe.tasks.vision.pose_detector.proto.PoseDetectorGraphOptions"), - t.Message.GENERATE_TO_OBJECT && (proto.mediapipe.tasks.vision.pose_detector.proto.PoseDetectorGraphOptions.prototype.toObject = function(e) { - return proto.mediapipe.tasks.vision.pose_detector.proto.PoseDetectorGraphOptions.toObject(e, this) - } - , - proto.mediapipe.tasks.vision.pose_detector.proto.PoseDetectorGraphOptions.toObject = function(e, r) { - var o, i = { - baseOptions: (o = r.getBaseOptions()) && n.BaseOptions.toObject(e, o), - minDetectionConfidence: t.Message.getFloatingPointFieldWithDefault(r, 2, .5), - minSuppressionThreshold: t.Message.getFloatingPointFieldWithDefault(r, 3, .5), - numPoses: null == (o = t.Message.getField(r, 4)) ? void 0 : o - }; - return e && (i.$jspbMessageInstance = r), - i - } - ), - proto.mediapipe.tasks.vision.pose_detector.proto.PoseDetectorGraphOptions.deserializeBinary = function(e) { - var r = new t.BinaryReader(e) - , o = new proto.mediapipe.tasks.vision.pose_detector.proto.PoseDetectorGraphOptions; - return proto.mediapipe.tasks.vision.pose_detector.proto.PoseDetectorGraphOptions.deserializeBinaryFromReader(o, r) - } - , - proto.mediapipe.tasks.vision.pose_detector.proto.PoseDetectorGraphOptions.deserializeBinaryFromReader = function(e, t) { - for (; t.nextField() && !t.isEndGroup(); ) { - switch (t.getFieldNumber()) { - case 1: - var r = new n.BaseOptions; - t.readMessage(r, n.BaseOptions.deserializeBinaryFromReader), - e.setBaseOptions(r); - break; - case 2: - r = t.readFloat(); - e.setMinDetectionConfidence(r); - break; - case 3: - r = t.readFloat(); - e.setMinSuppressionThreshold(r); - break; - case 4: - r = t.readInt32(); - e.setNumPoses(r); - break; - default: - t.skipField() - } - } - return e - } - , - proto.mediapipe.tasks.vision.pose_detector.proto.PoseDetectorGraphOptions.prototype.serializeBinary = function() { - var e = new t.BinaryWriter; - return proto.mediapipe.tasks.vision.pose_detector.proto.PoseDetectorGraphOptions.serializeBinaryToWriter(this, e), - e.getResultBuffer() - } - , - proto.mediapipe.tasks.vision.pose_detector.proto.PoseDetectorGraphOptions.serializeBinaryToWriter = function(e, r) { - var o = void 0; - null != (o = e.getBaseOptions()) && r.writeMessage(1, o, n.BaseOptions.serializeBinaryToWriter), - null != (o = t.Message.getField(e, 2)) && r.writeFloat(2, o), - null != (o = t.Message.getField(e, 3)) && r.writeFloat(3, o), - null != (o = t.Message.getField(e, 4)) && r.writeInt32(4, o) - } - , - proto.mediapipe.tasks.vision.pose_detector.proto.PoseDetectorGraphOptions.ext = new t.ExtensionFieldInfo(514774813,{ - ext: 0 - },proto.mediapipe.tasks.vision.pose_detector.proto.PoseDetectorGraphOptions,proto.mediapipe.tasks.vision.pose_detector.proto.PoseDetectorGraphOptions.toObject,0), - a.CalculatorOptions.extensionsBinary[514774813] = new t.ExtensionFieldBinaryInfo(proto.mediapipe.tasks.vision.pose_detector.proto.PoseDetectorGraphOptions.ext,t.BinaryReader.prototype.readMessage,t.BinaryWriter.prototype.writeMessage,proto.mediapipe.tasks.vision.pose_detector.proto.PoseDetectorGraphOptions.serializeBinaryToWriter,proto.mediapipe.tasks.vision.pose_detector.proto.PoseDetectorGraphOptions.deserializeBinaryFromReader,!1), - a.CalculatorOptions.extensions[514774813] = proto.mediapipe.tasks.vision.pose_detector.proto.PoseDetectorGraphOptions.ext, - proto.mediapipe.tasks.vision.pose_detector.proto.PoseDetectorGraphOptions.prototype.getBaseOptions = function() { - return t.Message.getWrapperField(this, n.BaseOptions, 1) - } - , - proto.mediapipe.tasks.vision.pose_detector.proto.PoseDetectorGraphOptions.prototype.setBaseOptions = function(e) { - return t.Message.setWrapperField(this, 1, e) - } - , - proto.mediapipe.tasks.vision.pose_detector.proto.PoseDetectorGraphOptions.prototype.clearBaseOptions = function() { - return this.setBaseOptions(void 0) - } - , - proto.mediapipe.tasks.vision.pose_detector.proto.PoseDetectorGraphOptions.prototype.hasBaseOptions = function() { - return null != t.Message.getField(this, 1) - } - , - proto.mediapipe.tasks.vision.pose_detector.proto.PoseDetectorGraphOptions.prototype.getMinDetectionConfidence = function() { - return t.Message.getFloatingPointFieldWithDefault(this, 2, .5) - } - , - proto.mediapipe.tasks.vision.pose_detector.proto.PoseDetectorGraphOptions.prototype.setMinDetectionConfidence = function(e) { - return t.Message.setField(this, 2, e) - } - , - proto.mediapipe.tasks.vision.pose_detector.proto.PoseDetectorGraphOptions.prototype.clearMinDetectionConfidence = function() { - return t.Message.setField(this, 2, void 0) - } - , - proto.mediapipe.tasks.vision.pose_detector.proto.PoseDetectorGraphOptions.prototype.hasMinDetectionConfidence = function() { - return null != t.Message.getField(this, 2) - } - , - proto.mediapipe.tasks.vision.pose_detector.proto.PoseDetectorGraphOptions.prototype.getMinSuppressionThreshold = function() { - return t.Message.getFloatingPointFieldWithDefault(this, 3, .5) - } - , - proto.mediapipe.tasks.vision.pose_detector.proto.PoseDetectorGraphOptions.prototype.setMinSuppressionThreshold = function(e) { - return t.Message.setField(this, 3, e) - } - , - proto.mediapipe.tasks.vision.pose_detector.proto.PoseDetectorGraphOptions.prototype.clearMinSuppressionThreshold = function() { - return t.Message.setField(this, 3, void 0) - } - , - proto.mediapipe.tasks.vision.pose_detector.proto.PoseDetectorGraphOptions.prototype.hasMinSuppressionThreshold = function() { - return null != t.Message.getField(this, 3) - } - , - proto.mediapipe.tasks.vision.pose_detector.proto.PoseDetectorGraphOptions.prototype.getNumPoses = function() { - return t.Message.getFieldWithDefault(this, 4, 0) - } - , - proto.mediapipe.tasks.vision.pose_detector.proto.PoseDetectorGraphOptions.prototype.setNumPoses = function(e) { - return t.Message.setField(this, 4, e) - } - , - proto.mediapipe.tasks.vision.pose_detector.proto.PoseDetectorGraphOptions.prototype.clearNumPoses = function() { - return t.Message.setField(this, 4, void 0) - } - , - proto.mediapipe.tasks.vision.pose_detector.proto.PoseDetectorGraphOptions.prototype.hasNumPoses = function() { - return null != t.Message.getField(this, 4) - } - , - proto.mediapipe.tasks.vision.pose_detector.proto.PoseDetectorGraphOptions.ext = new t.ExtensionFieldInfo(514774813,{ - ext: 0 - },proto.mediapipe.tasks.vision.pose_detector.proto.PoseDetectorGraphOptions,proto.mediapipe.tasks.vision.pose_detector.proto.PoseDetectorGraphOptions.toObject,0), - a.CalculatorOptions.extensionsBinary[514774813] = new t.ExtensionFieldBinaryInfo(proto.mediapipe.tasks.vision.pose_detector.proto.PoseDetectorGraphOptions.ext,t.BinaryReader.prototype.readMessage,t.BinaryWriter.prototype.writeMessage,proto.mediapipe.tasks.vision.pose_detector.proto.PoseDetectorGraphOptions.serializeBinaryToWriter,proto.mediapipe.tasks.vision.pose_detector.proto.PoseDetectorGraphOptions.deserializeBinaryFromReader,!1), - a.CalculatorOptions.extensions[514774813] = proto.mediapipe.tasks.vision.pose_detector.proto.PoseDetectorGraphOptions.ext, - r.object.extend(e, proto.mediapipe.tasks.vision.pose_detector.proto) -}(pose_detector_graph_options_pb); -var pose_landmarker_graph_options_pb = {} - , pose_landmarks_detector_graph_options_pb = {}; -!function(e) { - var t = googleProtobuf - , r = t - , o = "undefined" != typeof globalThis && globalThis || "undefined" != typeof window && window || void 0 !== o && o || "undefined" != typeof self && self || function() { - return this - } - .call(null) || Function("return this")() - , i = calculator_pb; - r.object.extend(proto, i); - var a = calculator_options_pb; - r.object.extend(proto, a); - var n = base_options_pb; - r.object.extend(proto, n), - r.exportSymbol("proto.mediapipe.tasks.vision.pose_landmarker.proto.PoseLandmarksDetectorGraphOptions", null, o), - proto.mediapipe.tasks.vision.pose_landmarker.proto.PoseLandmarksDetectorGraphOptions = function(e) { - t.Message.initialize(this, e, 0, -1, null, null) - } - , - r.inherits(proto.mediapipe.tasks.vision.pose_landmarker.proto.PoseLandmarksDetectorGraphOptions, t.Message), - r.DEBUG && !COMPILED && (proto.mediapipe.tasks.vision.pose_landmarker.proto.PoseLandmarksDetectorGraphOptions.displayName = "proto.mediapipe.tasks.vision.pose_landmarker.proto.PoseLandmarksDetectorGraphOptions"), - t.Message.GENERATE_TO_OBJECT && (proto.mediapipe.tasks.vision.pose_landmarker.proto.PoseLandmarksDetectorGraphOptions.prototype.toObject = function(e) { - return proto.mediapipe.tasks.vision.pose_landmarker.proto.PoseLandmarksDetectorGraphOptions.toObject(e, this) - } - , - proto.mediapipe.tasks.vision.pose_landmarker.proto.PoseLandmarksDetectorGraphOptions.toObject = function(e, r) { - var o, i = { - baseOptions: (o = r.getBaseOptions()) && n.BaseOptions.toObject(e, o), - minDetectionConfidence: t.Message.getFloatingPointFieldWithDefault(r, 2, .5) - }; - return e && (i.$jspbMessageInstance = r), - i - } - ), - proto.mediapipe.tasks.vision.pose_landmarker.proto.PoseLandmarksDetectorGraphOptions.deserializeBinary = function(e) { - var r = new t.BinaryReader(e) - , o = new proto.mediapipe.tasks.vision.pose_landmarker.proto.PoseLandmarksDetectorGraphOptions; - return proto.mediapipe.tasks.vision.pose_landmarker.proto.PoseLandmarksDetectorGraphOptions.deserializeBinaryFromReader(o, r) - } - , - proto.mediapipe.tasks.vision.pose_landmarker.proto.PoseLandmarksDetectorGraphOptions.deserializeBinaryFromReader = function(e, t) { - for (; t.nextField() && !t.isEndGroup(); ) { - switch (t.getFieldNumber()) { - case 1: - var r = new n.BaseOptions; - t.readMessage(r, n.BaseOptions.deserializeBinaryFromReader), - e.setBaseOptions(r); - break; - case 2: - r = t.readFloat(); - e.setMinDetectionConfidence(r); - break; - default: - t.skipField() - } - } - return e - } - , - proto.mediapipe.tasks.vision.pose_landmarker.proto.PoseLandmarksDetectorGraphOptions.prototype.serializeBinary = function() { - var e = new t.BinaryWriter; - return proto.mediapipe.tasks.vision.pose_landmarker.proto.PoseLandmarksDetectorGraphOptions.serializeBinaryToWriter(this, e), - e.getResultBuffer() - } - , - proto.mediapipe.tasks.vision.pose_landmarker.proto.PoseLandmarksDetectorGraphOptions.serializeBinaryToWriter = function(e, r) { - var o = void 0; - null != (o = e.getBaseOptions()) && r.writeMessage(1, o, n.BaseOptions.serializeBinaryToWriter), - null != (o = t.Message.getField(e, 2)) && r.writeFloat(2, o) - } - , - proto.mediapipe.tasks.vision.pose_landmarker.proto.PoseLandmarksDetectorGraphOptions.ext = new t.ExtensionFieldInfo(518928384,{ - ext: 0 - },proto.mediapipe.tasks.vision.pose_landmarker.proto.PoseLandmarksDetectorGraphOptions,proto.mediapipe.tasks.vision.pose_landmarker.proto.PoseLandmarksDetectorGraphOptions.toObject,0), - a.CalculatorOptions.extensionsBinary[518928384] = new t.ExtensionFieldBinaryInfo(proto.mediapipe.tasks.vision.pose_landmarker.proto.PoseLandmarksDetectorGraphOptions.ext,t.BinaryReader.prototype.readMessage,t.BinaryWriter.prototype.writeMessage,proto.mediapipe.tasks.vision.pose_landmarker.proto.PoseLandmarksDetectorGraphOptions.serializeBinaryToWriter,proto.mediapipe.tasks.vision.pose_landmarker.proto.PoseLandmarksDetectorGraphOptions.deserializeBinaryFromReader,!1), - a.CalculatorOptions.extensions[518928384] = proto.mediapipe.tasks.vision.pose_landmarker.proto.PoseLandmarksDetectorGraphOptions.ext, - proto.mediapipe.tasks.vision.pose_landmarker.proto.PoseLandmarksDetectorGraphOptions.prototype.getBaseOptions = function() { - return t.Message.getWrapperField(this, n.BaseOptions, 1) - } - , - proto.mediapipe.tasks.vision.pose_landmarker.proto.PoseLandmarksDetectorGraphOptions.prototype.setBaseOptions = function(e) { - return t.Message.setWrapperField(this, 1, e) - } - , - proto.mediapipe.tasks.vision.pose_landmarker.proto.PoseLandmarksDetectorGraphOptions.prototype.clearBaseOptions = function() { - return this.setBaseOptions(void 0) - } - , - proto.mediapipe.tasks.vision.pose_landmarker.proto.PoseLandmarksDetectorGraphOptions.prototype.hasBaseOptions = function() { - return null != t.Message.getField(this, 1) - } - , - proto.mediapipe.tasks.vision.pose_landmarker.proto.PoseLandmarksDetectorGraphOptions.prototype.getMinDetectionConfidence = function() { - return t.Message.getFloatingPointFieldWithDefault(this, 2, .5) - } - , - proto.mediapipe.tasks.vision.pose_landmarker.proto.PoseLandmarksDetectorGraphOptions.prototype.setMinDetectionConfidence = function(e) { - return t.Message.setField(this, 2, e) - } - , - proto.mediapipe.tasks.vision.pose_landmarker.proto.PoseLandmarksDetectorGraphOptions.prototype.clearMinDetectionConfidence = function() { - return t.Message.setField(this, 2, void 0) - } - , - proto.mediapipe.tasks.vision.pose_landmarker.proto.PoseLandmarksDetectorGraphOptions.prototype.hasMinDetectionConfidence = function() { - return null != t.Message.getField(this, 2) - } - , - proto.mediapipe.tasks.vision.pose_landmarker.proto.PoseLandmarksDetectorGraphOptions.ext = new t.ExtensionFieldInfo(518928384,{ - ext: 0 - },proto.mediapipe.tasks.vision.pose_landmarker.proto.PoseLandmarksDetectorGraphOptions,proto.mediapipe.tasks.vision.pose_landmarker.proto.PoseLandmarksDetectorGraphOptions.toObject,0), - a.CalculatorOptions.extensionsBinary[518928384] = new t.ExtensionFieldBinaryInfo(proto.mediapipe.tasks.vision.pose_landmarker.proto.PoseLandmarksDetectorGraphOptions.ext,t.BinaryReader.prototype.readMessage,t.BinaryWriter.prototype.writeMessage,proto.mediapipe.tasks.vision.pose_landmarker.proto.PoseLandmarksDetectorGraphOptions.serializeBinaryToWriter,proto.mediapipe.tasks.vision.pose_landmarker.proto.PoseLandmarksDetectorGraphOptions.deserializeBinaryFromReader,!1), - a.CalculatorOptions.extensions[518928384] = proto.mediapipe.tasks.vision.pose_landmarker.proto.PoseLandmarksDetectorGraphOptions.ext, - r.object.extend(e, proto.mediapipe.tasks.vision.pose_landmarker.proto) -}(pose_landmarks_detector_graph_options_pb), -function(e) { - var t = googleProtobuf - , r = t - , o = "undefined" != typeof globalThis && globalThis || "undefined" != typeof window && window || void 0 !== o && o || "undefined" != typeof self && self || function() { - return this - } - .call(null) || Function("return this")() - , i = calculator_pb; - r.object.extend(proto, i); - var a = calculator_options_pb; - r.object.extend(proto, a); - var n = base_options_pb; - r.object.extend(proto, n); - var s = pose_detector_graph_options_pb; - r.object.extend(proto, s); - var p = pose_landmarks_detector_graph_options_pb; - r.object.extend(proto, p), - r.exportSymbol("proto.mediapipe.tasks.vision.pose_landmarker.proto.PoseLandmarkerGraphOptions", null, o), - proto.mediapipe.tasks.vision.pose_landmarker.proto.PoseLandmarkerGraphOptions = function(e) { - t.Message.initialize(this, e, 0, -1, null, null) - } - , - r.inherits(proto.mediapipe.tasks.vision.pose_landmarker.proto.PoseLandmarkerGraphOptions, t.Message), - r.DEBUG && !COMPILED && (proto.mediapipe.tasks.vision.pose_landmarker.proto.PoseLandmarkerGraphOptions.displayName = "proto.mediapipe.tasks.vision.pose_landmarker.proto.PoseLandmarkerGraphOptions"), - t.Message.GENERATE_TO_OBJECT && (proto.mediapipe.tasks.vision.pose_landmarker.proto.PoseLandmarkerGraphOptions.prototype.toObject = function(e) { - return proto.mediapipe.tasks.vision.pose_landmarker.proto.PoseLandmarkerGraphOptions.toObject(e, this) - } - , - proto.mediapipe.tasks.vision.pose_landmarker.proto.PoseLandmarkerGraphOptions.toObject = function(e, r) { - var o, i = { - baseOptions: (o = r.getBaseOptions()) && n.BaseOptions.toObject(e, o), - poseDetectorGraphOptions: (o = r.getPoseDetectorGraphOptions()) && s.PoseDetectorGraphOptions.toObject(e, o), - poseLandmarksDetectorGraphOptions: (o = r.getPoseLandmarksDetectorGraphOptions()) && p.PoseLandmarksDetectorGraphOptions.toObject(e, o), - minTrackingConfidence: t.Message.getFloatingPointFieldWithDefault(r, 4, .5) - }; - return e && (i.$jspbMessageInstance = r), - i - } - ), - proto.mediapipe.tasks.vision.pose_landmarker.proto.PoseLandmarkerGraphOptions.deserializeBinary = function(e) { - var r = new t.BinaryReader(e) - , o = new proto.mediapipe.tasks.vision.pose_landmarker.proto.PoseLandmarkerGraphOptions; - return proto.mediapipe.tasks.vision.pose_landmarker.proto.PoseLandmarkerGraphOptions.deserializeBinaryFromReader(o, r) - } - , - proto.mediapipe.tasks.vision.pose_landmarker.proto.PoseLandmarkerGraphOptions.deserializeBinaryFromReader = function(e, t) { - for (; t.nextField() && !t.isEndGroup(); ) { - switch (t.getFieldNumber()) { - case 1: - var r = new n.BaseOptions; - t.readMessage(r, n.BaseOptions.deserializeBinaryFromReader), - e.setBaseOptions(r); - break; - case 2: - r = new s.PoseDetectorGraphOptions; - t.readMessage(r, s.PoseDetectorGraphOptions.deserializeBinaryFromReader), - e.setPoseDetectorGraphOptions(r); - break; - case 3: - r = new p.PoseLandmarksDetectorGraphOptions; - t.readMessage(r, p.PoseLandmarksDetectorGraphOptions.deserializeBinaryFromReader), - e.setPoseLandmarksDetectorGraphOptions(r); - break; - case 4: - r = t.readFloat(); - e.setMinTrackingConfidence(r); - break; - default: - t.skipField() - } - } - return e - } - , - proto.mediapipe.tasks.vision.pose_landmarker.proto.PoseLandmarkerGraphOptions.prototype.serializeBinary = function() { - var e = new t.BinaryWriter; - return proto.mediapipe.tasks.vision.pose_landmarker.proto.PoseLandmarkerGraphOptions.serializeBinaryToWriter(this, e), - e.getResultBuffer() - } - , - proto.mediapipe.tasks.vision.pose_landmarker.proto.PoseLandmarkerGraphOptions.serializeBinaryToWriter = function(e, r) { - var o = void 0; - null != (o = e.getBaseOptions()) && r.writeMessage(1, o, n.BaseOptions.serializeBinaryToWriter), - null != (o = e.getPoseDetectorGraphOptions()) && r.writeMessage(2, o, s.PoseDetectorGraphOptions.serializeBinaryToWriter), - null != (o = e.getPoseLandmarksDetectorGraphOptions()) && r.writeMessage(3, o, p.PoseLandmarksDetectorGraphOptions.serializeBinaryToWriter), - null != (o = t.Message.getField(e, 4)) && r.writeFloat(4, o) - } - , - proto.mediapipe.tasks.vision.pose_landmarker.proto.PoseLandmarkerGraphOptions.ext = new t.ExtensionFieldInfo(516587230,{ - ext: 0 - },proto.mediapipe.tasks.vision.pose_landmarker.proto.PoseLandmarkerGraphOptions,proto.mediapipe.tasks.vision.pose_landmarker.proto.PoseLandmarkerGraphOptions.toObject,0), - a.CalculatorOptions.extensionsBinary[516587230] = new t.ExtensionFieldBinaryInfo(proto.mediapipe.tasks.vision.pose_landmarker.proto.PoseLandmarkerGraphOptions.ext,t.BinaryReader.prototype.readMessage,t.BinaryWriter.prototype.writeMessage,proto.mediapipe.tasks.vision.pose_landmarker.proto.PoseLandmarkerGraphOptions.serializeBinaryToWriter,proto.mediapipe.tasks.vision.pose_landmarker.proto.PoseLandmarkerGraphOptions.deserializeBinaryFromReader,!1), - a.CalculatorOptions.extensions[516587230] = proto.mediapipe.tasks.vision.pose_landmarker.proto.PoseLandmarkerGraphOptions.ext, - proto.mediapipe.tasks.vision.pose_landmarker.proto.PoseLandmarkerGraphOptions.prototype.getBaseOptions = function() { - return t.Message.getWrapperField(this, n.BaseOptions, 1) - } - , - proto.mediapipe.tasks.vision.pose_landmarker.proto.PoseLandmarkerGraphOptions.prototype.setBaseOptions = function(e) { - return t.Message.setWrapperField(this, 1, e) - } - , - proto.mediapipe.tasks.vision.pose_landmarker.proto.PoseLandmarkerGraphOptions.prototype.clearBaseOptions = function() { - return this.setBaseOptions(void 0) - } - , - proto.mediapipe.tasks.vision.pose_landmarker.proto.PoseLandmarkerGraphOptions.prototype.hasBaseOptions = function() { - return null != t.Message.getField(this, 1) - } - , - proto.mediapipe.tasks.vision.pose_landmarker.proto.PoseLandmarkerGraphOptions.prototype.getPoseDetectorGraphOptions = function() { - return t.Message.getWrapperField(this, s.PoseDetectorGraphOptions, 2) - } - , - proto.mediapipe.tasks.vision.pose_landmarker.proto.PoseLandmarkerGraphOptions.prototype.setPoseDetectorGraphOptions = function(e) { - return t.Message.setWrapperField(this, 2, e) - } - , - proto.mediapipe.tasks.vision.pose_landmarker.proto.PoseLandmarkerGraphOptions.prototype.clearPoseDetectorGraphOptions = function() { - return this.setPoseDetectorGraphOptions(void 0) - } - , - proto.mediapipe.tasks.vision.pose_landmarker.proto.PoseLandmarkerGraphOptions.prototype.hasPoseDetectorGraphOptions = function() { - return null != t.Message.getField(this, 2) - } - , - proto.mediapipe.tasks.vision.pose_landmarker.proto.PoseLandmarkerGraphOptions.prototype.getPoseLandmarksDetectorGraphOptions = function() { - return t.Message.getWrapperField(this, p.PoseLandmarksDetectorGraphOptions, 3) - } - , - proto.mediapipe.tasks.vision.pose_landmarker.proto.PoseLandmarkerGraphOptions.prototype.setPoseLandmarksDetectorGraphOptions = function(e) { - return t.Message.setWrapperField(this, 3, e) - } - , - proto.mediapipe.tasks.vision.pose_landmarker.proto.PoseLandmarkerGraphOptions.prototype.clearPoseLandmarksDetectorGraphOptions = function() { - return this.setPoseLandmarksDetectorGraphOptions(void 0) - } - , - proto.mediapipe.tasks.vision.pose_landmarker.proto.PoseLandmarkerGraphOptions.prototype.hasPoseLandmarksDetectorGraphOptions = function() { - return null != t.Message.getField(this, 3) - } - , - proto.mediapipe.tasks.vision.pose_landmarker.proto.PoseLandmarkerGraphOptions.prototype.getMinTrackingConfidence = function() { - return t.Message.getFloatingPointFieldWithDefault(this, 4, .5) - } - , - proto.mediapipe.tasks.vision.pose_landmarker.proto.PoseLandmarkerGraphOptions.prototype.setMinTrackingConfidence = function(e) { - return t.Message.setField(this, 4, e) - } - , - proto.mediapipe.tasks.vision.pose_landmarker.proto.PoseLandmarkerGraphOptions.prototype.clearMinTrackingConfidence = function() { - return t.Message.setField(this, 4, void 0) - } - , - proto.mediapipe.tasks.vision.pose_landmarker.proto.PoseLandmarkerGraphOptions.prototype.hasMinTrackingConfidence = function() { - return null != t.Message.getField(this, 4) - } - , - proto.mediapipe.tasks.vision.pose_landmarker.proto.PoseLandmarkerGraphOptions.ext = new t.ExtensionFieldInfo(516587230,{ - ext: 0 - },proto.mediapipe.tasks.vision.pose_landmarker.proto.PoseLandmarkerGraphOptions,proto.mediapipe.tasks.vision.pose_landmarker.proto.PoseLandmarkerGraphOptions.toObject,0), - a.CalculatorOptions.extensionsBinary[516587230] = new t.ExtensionFieldBinaryInfo(proto.mediapipe.tasks.vision.pose_landmarker.proto.PoseLandmarkerGraphOptions.ext,t.BinaryReader.prototype.readMessage,t.BinaryWriter.prototype.writeMessage,proto.mediapipe.tasks.vision.pose_landmarker.proto.PoseLandmarkerGraphOptions.serializeBinaryToWriter,proto.mediapipe.tasks.vision.pose_landmarker.proto.PoseLandmarkerGraphOptions.deserializeBinaryFromReader,!1), - a.CalculatorOptions.extensions[516587230] = proto.mediapipe.tasks.vision.pose_landmarker.proto.PoseLandmarkerGraphOptions.ext, - r.object.extend(e, proto.mediapipe.tasks.vision.pose_landmarker.proto) -}(pose_landmarker_graph_options_pb); -var pose_landmarker_options = {}; -Object.defineProperty(pose_landmarker_options, "__esModule", { - value: !0 -}); -var pose_landmarker_result = {}; -Object.defineProperty(pose_landmarker_result, "__esModule", { - value: !0 -}), -function(e) { - var t = commonjsGlobal && commonjsGlobal.__createBinding || (Object.create ? function(e, t, r, o) { - void 0 === o && (o = r); - var i = Object.getOwnPropertyDescriptor(t, r); - i && !("get"in i ? !t.__esModule : i.writable || i.configurable) || (i = { - enumerable: !0, - get: function() { - return t[r] - } - }), - Object.defineProperty(e, o, i) - } - : function(e, t, r, o) { - void 0 === o && (o = r), - e[o] = t[r] - } - ) - , r = commonjsGlobal && commonjsGlobal.__exportStar || function(e, r) { - for (var o in e) - "default" === o || Object.prototype.hasOwnProperty.call(r, o) || t(r, e, o) - } - ; - Object.defineProperty(e, "__esModule", { - value: !0 - }), - e.PoseLandmarker = void 0; - const o = calculator_pb - , i = calculator_options_pb - , a = landmark_pb - , n = base_options_pb - , s = pose_detector_graph_options_pb - , p = pose_landmarker_graph_options_pb - , d = pose_landmarks_detector_graph_options_pb - , l = landmark_result - , g = vision_task_runner; - r(pose_landmarker_options, e), - r(pose_landmarker_result, e); - const c = "image_in" - , u = "norm_rect" - , m = "normalized_landmarks" - , f = "world_landmarks" - , h = "segmentation_masks" - , y = .5; - class b extends g.VisionTaskRunner { - static createFromOptions(e, t) { - return g.VisionTaskRunner.createVisionInstance(b, e, t) - } - static createFromModelBuffer(e, t) { - return g.VisionTaskRunner.createVisionInstance(b, e, { - baseOptions: { - modelAssetBuffer: t - } - }) - } - static createFromModelPath(e, t) { - return g.VisionTaskRunner.createVisionInstance(b, e, { - baseOptions: { - modelAssetPath: t - } - }) - } - constructor(e, t) { - super(new g.VisionGraphRunner(e,t), c, u, !1), - this.result = {}, - this.outputSegmentationMasks = !1, - this.options = new p.PoseLandmarkerGraphOptions, - this.options.setBaseOptions(new n.BaseOptions), - this.poseLandmarksDetectorGraphOptions = new d.PoseLandmarksDetectorGraphOptions, - this.options.setPoseLandmarksDetectorGraphOptions(this.poseLandmarksDetectorGraphOptions), - this.poseDetectorGraphOptions = new s.PoseDetectorGraphOptions, - this.options.setPoseDetectorGraphOptions(this.poseDetectorGraphOptions), - this.initDefaults() - } - get baseOptions() { - return this.options.getBaseOptions() - } - set baseOptions(e) { - this.options.setBaseOptions(e) - } - setOptions(e) { - var t, r, o, i, a; - return "numPoses"in e && this.poseDetectorGraphOptions.setNumPoses(null !== (t = e.numPoses) && void 0 !== t ? t : 1), - "minPoseDetectionConfidence"in e && this.poseDetectorGraphOptions.setMinDetectionConfidence(null !== (r = e.minPoseDetectionConfidence) && void 0 !== r ? r : y), - "minTrackingConfidence"in e && this.options.setMinTrackingConfidence(null !== (o = e.minTrackingConfidence) && void 0 !== o ? o : y), - "minPosePresenceConfidence"in e && this.poseLandmarksDetectorGraphOptions.setMinDetectionConfidence(null !== (i = e.minPosePresenceConfidence) && void 0 !== i ? i : y), - "outputSegmentationMasks"in e && (this.outputSegmentationMasks = null !== (a = e.outputSegmentationMasks) && void 0 !== a && a), - this.applyOptions(e) - } - detect(e, t, r) { - const o = "function" != typeof t ? t : {}; - if (this.userCallback = "function" == typeof t ? t : r, - this.resetResults(), - this.processImageData(e, o), - !this.userCallback) - return this.result - } - detectForVideo(e, t, r, o) { - const i = "function" != typeof r ? r : {}; - if (this.userCallback = "function" == typeof r ? r : o, - this.resetResults(), - this.processVideoData(e, i, t), - !this.userCallback) - return this.result - } - resetResults() { - this.result = {} - } - maybeInvokeCallback() { - "landmarks"in this.result && "worldLandmarks"in this.result && (this.outputSegmentationMasks && !("segmentationMasks"in this.result) || this.userCallback && (this.userCallback(this.result), - this.freeKeepaliveStreams())) - } - initDefaults() { - this.poseDetectorGraphOptions.setNumPoses(1), - this.poseDetectorGraphOptions.setMinDetectionConfidence(y), - this.poseLandmarksDetectorGraphOptions.setMinDetectionConfidence(y), - this.options.setMinTrackingConfidence(y) - } - addJsLandmarks(e) { - this.result.landmarks = []; - for (const t of e) { - const e = a.NormalizedLandmarkList.deserializeBinary(t); - this.result.landmarks.push((0, - l.convertToLandmarks)(e)) - } - } - adddJsWorldLandmarks(e) { - this.result.worldLandmarks = []; - for (const t of e) { - const e = a.LandmarkList.deserializeBinary(t); - this.result.worldLandmarks.push((0, - l.convertToWorldLandmarks)(e)) - } - } - refreshGraph() { - const e = new o.CalculatorGraphConfig; - e.addInputStream(c), - e.addInputStream(u), - e.addOutputStream(m), - e.addOutputStream(f), - e.addOutputStream(h); - const t = new i.CalculatorOptions; - t.setExtension(p.PoseLandmarkerGraphOptions.ext, this.options); - const r = new o.CalculatorGraphConfig.Node; - r.setCalculator("mediapipe.tasks.vision.pose_landmarker.PoseLandmarkerGraph"), - r.addInputStream("IMAGE:" + c), - r.addInputStream("NORM_RECT:" + u), - r.addOutputStream("NORM_LANDMARKS:" + m), - r.addOutputStream("WORLD_LANDMARKS:" + f), - r.setOptions(t), - e.addNode(r), - this.addKeepaliveNode(e), - this.graphRunner.attachProtoVectorListener(m, ((e,t)=>{ - this.addJsLandmarks(e), - this.setLatestOutputTimestamp(t), - this.maybeInvokeCallback() - } - )), - this.graphRunner.attachEmptyPacketListener(m, (e=>{ - this.result.landmarks = [], - this.setLatestOutputTimestamp(e), - this.maybeInvokeCallback() - } - )), - this.graphRunner.attachProtoVectorListener(f, ((e,t)=>{ - this.adddJsWorldLandmarks(e), - this.setLatestOutputTimestamp(t), - this.maybeInvokeCallback() - } - )), - this.graphRunner.attachEmptyPacketListener(f, (e=>{ - this.result.worldLandmarks = [], - this.setLatestOutputTimestamp(e), - this.maybeInvokeCallback() - } - )), - this.outputSegmentationMasks && (r.addOutputStream("SEGMENTATION_MASK:" + h), - this.keepStreamAlive(h), - this.graphRunner.attachImageVectorListener(h, ((e,t)=>{ - this.result.segmentationMasks = e.map((e=>this.convertToMPMask(e, !this.userCallback))), - this.setLatestOutputTimestamp(t), - this.maybeInvokeCallback() - } - )), - this.graphRunner.attachEmptyPacketListener(h, (e=>{ - this.result.segmentationMasks = [], - this.setLatestOutputTimestamp(e), - this.maybeInvokeCallback() - } - ))); - const a = e.serializeBinary(); - this.setGraph(new Uint8Array(a), !0) - } - } - e.PoseLandmarker = b, - b.POSE_CONNECTIONS = [{ - start: 0, - end: 1 - }, { - start: 1, - end: 2 - }, { - start: 2, - end: 3 - }, { - start: 3, - end: 7 - }, { - start: 0, - end: 4 - }, { - start: 4, - end: 5 - }, { - start: 5, - end: 6 - }, { - start: 6, - end: 8 - }, { - start: 9, - end: 10 - }, { - start: 11, - end: 12 - }, { - start: 11, - end: 13 - }, { - start: 13, - end: 15 - }, { - start: 15, - end: 17 - }, { - start: 15, - end: 19 - }, { - start: 15, - end: 21 - }, { - start: 17, - end: 19 - }, { - start: 12, - end: 14 - }, { - start: 14, - end: 16 - }, { - start: 16, - end: 18 - }, { - start: 16, - end: 20 - }, { - start: 16, - end: 22 - }, { - start: 18, - end: 20 - }, { - start: 11, - end: 23 - }, { - start: 12, - end: 24 - }, { - start: 23, - end: 24 - }, { - start: 23, - end: 25 - }, { - start: 24, - end: 26 - }, { - start: 25, - end: 27 - }, { - start: 26, - end: 28 - }, { - start: 27, - end: 29 - }, { - start: 28, - end: 30 - }, { - start: 29, - end: 31 - }, { - start: 30, - end: 32 - }, { - start: 27, - end: 31 - }, { - start: 28, - end: 32 - }] -}(pose_landmarker), -Object.defineProperty(vision, "__esModule", { - value: !0 -}); -var PoseLandmarker_1 = vision.PoseLandmarker = ObjectDetector_1 = vision.ObjectDetector = InteractiveSegmenter_1 = vision.InteractiveSegmenter = ImageSegmenter_1 = vision.ImageSegmenter = ImageEmbedder_1 = vision.ImageEmbedder = ImageClassifier_1 = vision.ImageClassifier = HandLandmarker_1 = vision.HandLandmarker = GestureRecognizer_1 = vision.GestureRecognizer = FaceStylizer_1 = vision.FaceStylizer = FaceLandmarker_1 = vision.FaceLandmarker = FaceDetector_1 = vision.FaceDetector = MPMask_1 = vision.MPMask = MPImage_1 = vision.MPImage = FilesetResolver_1 = vision.FilesetResolver = DrawingUtils_1 = vision.DrawingUtils = void 0; -const fileset_resolver_1 = fileset_resolver - , drawing_utils_1 = drawing_utils - , image_1 = image - , mask_1 = mask - , face_detector_1 = face_detector - , face_landmarker_1 = face_landmarker - , face_stylizer_1 = face_stylizer - , gesture_recognizer_1 = gesture_recognizer - , hand_landmarker_1 = hand_landmarker - , image_classifier_1 = image_classifier - , image_embedder_1 = image_embedder - , image_segmenter_1 = image_segmenter - , interactive_segmenter_1 = interactive_segmenter - , object_detector_1 = object_detector - , pose_landmarker_1 = pose_landmarker - , DrawingUtils = drawing_utils_1.DrawingUtils; -var DrawingUtils_1 = vision.DrawingUtils = DrawingUtils; -const FilesetResolver = fileset_resolver_1.FilesetResolver; -var FilesetResolver_1 = vision.FilesetResolver = FilesetResolver; -const MPImage = image_1.MPImage; -var MPImage_1 = vision.MPImage = MPImage; -const MPMask = mask_1.MPMask; -var MPMask_1 = vision.MPMask = MPMask; -const FaceDetector = face_detector_1.FaceDetector; -var FaceDetector_1 = vision.FaceDetector = FaceDetector; -const FaceLandmarker = face_landmarker_1.FaceLandmarker; -var FaceLandmarker_1 = vision.FaceLandmarker = FaceLandmarker; -const FaceStylizer = face_stylizer_1.FaceStylizer; -var FaceStylizer_1 = vision.FaceStylizer = FaceStylizer; -const GestureRecognizer = gesture_recognizer_1.GestureRecognizer; -var GestureRecognizer_1 = vision.GestureRecognizer = GestureRecognizer; -const HandLandmarker = hand_landmarker_1.HandLandmarker; -var HandLandmarker_1 = vision.HandLandmarker = HandLandmarker; -const ImageClassifier = image_classifier_1.ImageClassifier; -var ImageClassifier_1 = vision.ImageClassifier = ImageClassifier; -const ImageEmbedder = image_embedder_1.ImageEmbedder; -var ImageEmbedder_1 = vision.ImageEmbedder = ImageEmbedder; -const ImageSegmenter = image_segmenter_1.ImageSegmenter; -var ImageSegmenter_1 = vision.ImageSegmenter = ImageSegmenter; -const InteractiveSegmenter = interactive_segmenter_1.InteractiveSegmenter; -var InteractiveSegmenter_1 = vision.InteractiveSegmenter = InteractiveSegmenter; -const ObjectDetector = object_detector_1.ObjectDetector; -var ObjectDetector_1 = vision.ObjectDetector = ObjectDetector; -const PoseLandmarker = pose_landmarker_1.PoseLandmarker; -PoseLandmarker_1 = vision.PoseLandmarker = PoseLandmarker; -export {DrawingUtils_1 as DrawingUtils, FaceDetector_1 as FaceDetector, FaceLandmarker_1 as FaceLandmarker, FaceStylizer_1 as FaceStylizer, FilesetResolver_1 as FilesetResolver, GestureRecognizer_1 as GestureRecognizer, HandLandmarker_1 as HandLandmarker, ImageClassifier_1 as ImageClassifier, ImageEmbedder_1 as ImageEmbedder, ImageSegmenter_1 as ImageSegmenter, InteractiveSegmenter_1 as InteractiveSegmenter, MPImage_1 as MPImage, MPMask_1 as MPMask, ObjectDetector_1 as ObjectDetector, PoseLandmarker_1 as PoseLandmarker, vision as default}; diff --git a/applications/emocam/js/wasm/vision_wasm_internal.js b/applications/emocam/js/wasm/vision_wasm_internal.js deleted file mode 100644 index a82396b..0000000 --- a/applications/emocam/js/wasm/vision_wasm_internal.js +++ /dev/null @@ -1,8495 +0,0 @@ -// Build 530328550 - -var ModuleFactory = (() => { - var _scriptDir = typeof document !== 'undefined' && document.currentScript ? document.currentScript.src : undefined; - if (typeof __filename !== 'undefined') _scriptDir = _scriptDir || __filename; - return ( -function(ModuleFactory = {}) { - -var Module = typeof ModuleFactory != "undefined" ? ModuleFactory : {}; - -var readyPromiseResolve, readyPromiseReject; - -Module["ready"] = new Promise(function(resolve, reject) { - readyPromiseResolve = resolve; - readyPromiseReject = reject; -}); - -var moduleOverrides = Object.assign({}, Module); - -var arguments_ = []; - -var thisProgram = "./this.program"; - -var quit_ = (status, toThrow) => { - throw toThrow; -}; - -var ENVIRONMENT_IS_WEB = typeof window == "object"; - -var ENVIRONMENT_IS_WORKER = typeof importScripts == "function"; - -var ENVIRONMENT_IS_NODE = typeof process == "object" && typeof process.versions == "object" && typeof process.versions.node == "string"; - -var scriptDirectory = ""; - -function locateFile(path) { - if (Module["locateFile"]) { - return Module["locateFile"](path, scriptDirectory); - } - return scriptDirectory + path; -} - -var read_, readAsync, readBinary, setWindowTitle; - -if (ENVIRONMENT_IS_NODE) { - var fs = require("fs"); - var nodePath = require("path"); - if (ENVIRONMENT_IS_WORKER) { - scriptDirectory = nodePath.dirname(scriptDirectory) + "/"; - } else { - scriptDirectory = __dirname + "/"; - } - read_ = (filename, binary) => { - filename = isFileURI(filename) ? new URL(filename) : nodePath.normalize(filename); - return fs.readFileSync(filename, binary ? undefined : "utf8"); - }; - readBinary = filename => { - var ret = read_(filename, true); - if (!ret.buffer) { - ret = new Uint8Array(ret); - } - return ret; - }; - readAsync = (filename, onload, onerror) => { - filename = isFileURI(filename) ? new URL(filename) : nodePath.normalize(filename); - fs.readFile(filename, function(err, data) { - if (err) onerror(err); else onload(data.buffer); - }); - }; - if (!Module["thisProgram"] && process.argv.length > 1) { - thisProgram = process.argv[1].replace(/\\/g, "/"); - } - arguments_ = process.argv.slice(2); - quit_ = (status, toThrow) => { - process.exitCode = status; - throw toThrow; - }; - Module["inspect"] = function() { - return "[Emscripten Module object]"; - }; -} else if (ENVIRONMENT_IS_WEB || ENVIRONMENT_IS_WORKER) { - if (ENVIRONMENT_IS_WORKER) { - scriptDirectory = self.location.href; - } else if (typeof document != "undefined" && document.currentScript) { - scriptDirectory = document.currentScript.src; - } - if (_scriptDir) { - scriptDirectory = _scriptDir; - } - if (scriptDirectory.indexOf("blob:") !== 0) { - scriptDirectory = scriptDirectory.substr(0, scriptDirectory.replace(/[?#].*/, "").lastIndexOf("/") + 1); - } else { - scriptDirectory = ""; - } - { - read_ = url => { - var xhr = new XMLHttpRequest(); - xhr.open("GET", url, false); - xhr.send(null); - return xhr.responseText; - }; - if (ENVIRONMENT_IS_WORKER) { - readBinary = url => { - var xhr = new XMLHttpRequest(); - xhr.open("GET", url, false); - xhr.responseType = "arraybuffer"; - xhr.send(null); - return new Uint8Array(xhr.response); - }; - } - readAsync = (url, onload, onerror) => { - var xhr = new XMLHttpRequest(); - xhr.open("GET", url, true); - xhr.responseType = "arraybuffer"; - xhr.onload = () => { - if (xhr.status == 200 || xhr.status == 0 && xhr.response) { - onload(xhr.response); - return; - } - onerror(); - }; - xhr.onerror = onerror; - xhr.send(null); - }; - } - setWindowTitle = title => document.title = title; -} else {} - -var out = Module["print"] || console.log.bind(console); - -var err = Module["printErr"] || console.warn.bind(console); - -Object.assign(Module, moduleOverrides); - -moduleOverrides = null; - -if (Module["arguments"]) arguments_ = Module["arguments"]; - -if (Module["thisProgram"]) thisProgram = Module["thisProgram"]; - -if (Module["quit"]) quit_ = Module["quit"]; - -var wasmBinary; - -if (Module["wasmBinary"]) wasmBinary = Module["wasmBinary"]; - -var noExitRuntime = Module["noExitRuntime"] || true; - -if (typeof WebAssembly != "object") { - abort("no native wasm support detected"); -} - -var wasmMemory; - -var ABORT = false; - -var EXITSTATUS; - -function assert(condition, text) { - if (!condition) { - abort(text); - } -} - -var HEAP8, HEAPU8, HEAP16, HEAPU16, HEAP32, HEAPU32, HEAPF32, HEAPF64; - -function updateMemoryViews() { - var b = wasmMemory.buffer; - Module["HEAP8"] = HEAP8 = new Int8Array(b); - Module["HEAP16"] = HEAP16 = new Int16Array(b); - Module["HEAP32"] = HEAP32 = new Int32Array(b); - Module["HEAPU8"] = HEAPU8 = new Uint8Array(b); - Module["HEAPU16"] = HEAPU16 = new Uint16Array(b); - Module["HEAPU32"] = HEAPU32 = new Uint32Array(b); - Module["HEAPF32"] = HEAPF32 = new Float32Array(b); - Module["HEAPF64"] = HEAPF64 = new Float64Array(b); -} - -var wasmTable; - -var __ATPRERUN__ = []; - -var __ATINIT__ = []; - -var __ATEXIT__ = []; - -var __ATPOSTRUN__ = []; - -var runtimeInitialized = false; - -var runtimeKeepaliveCounter = 0; - -function keepRuntimeAlive() { - return noExitRuntime || runtimeKeepaliveCounter > 0; -} - -function preRun() { - if (Module["preRun"]) { - if (typeof Module["preRun"] == "function") Module["preRun"] = [ Module["preRun"] ]; - while (Module["preRun"].length) { - addOnPreRun(Module["preRun"].shift()); - } - } - callRuntimeCallbacks(__ATPRERUN__); -} - -function initRuntime() { - runtimeInitialized = true; - if (!Module["noFSInit"] && !FS.init.initialized) FS.init(); - FS.ignorePermissions = false; - TTY.init(); - callRuntimeCallbacks(__ATINIT__); -} - -function postRun() { - if (Module["postRun"]) { - if (typeof Module["postRun"] == "function") Module["postRun"] = [ Module["postRun"] ]; - while (Module["postRun"].length) { - addOnPostRun(Module["postRun"].shift()); - } - } - callRuntimeCallbacks(__ATPOSTRUN__); -} - -function addOnPreRun(cb) { - __ATPRERUN__.unshift(cb); -} - -function addOnInit(cb) { - __ATINIT__.unshift(cb); -} - -function addOnPostRun(cb) { - __ATPOSTRUN__.unshift(cb); -} - -var runDependencies = 0; - -var runDependencyWatcher = null; - -var dependenciesFulfilled = null; - -function getUniqueRunDependency(id) { - return id; -} - -function addRunDependency(id) { - runDependencies++; - if (Module["monitorRunDependencies"]) { - Module["monitorRunDependencies"](runDependencies); - } -} - -function removeRunDependency(id) { - runDependencies--; - if (Module["monitorRunDependencies"]) { - Module["monitorRunDependencies"](runDependencies); - } - if (runDependencies == 0) { - if (runDependencyWatcher !== null) { - clearInterval(runDependencyWatcher); - runDependencyWatcher = null; - } - if (dependenciesFulfilled) { - var callback = dependenciesFulfilled; - dependenciesFulfilled = null; - callback(); - } - } -} - -function abort(what) { - if (Module["onAbort"]) { - Module["onAbort"](what); - } - what = "Aborted(" + what + ")"; - err(what); - ABORT = true; - EXITSTATUS = 1; - what += ". Build with -sASSERTIONS for more info."; - var e = new WebAssembly.RuntimeError(what); - readyPromiseReject(e); - throw e; -} - -var dataURIPrefix = "data:application/octet-stream;base64,"; - -function isDataURI(filename) { - return filename.startsWith(dataURIPrefix); -} - -function isFileURI(filename) { - return filename.startsWith("file://"); -} - -var wasmBinaryFile; - -wasmBinaryFile = "./vision_wasm.wasm"; - -if (!isDataURI(wasmBinaryFile)) { - wasmBinaryFile = locateFile(wasmBinaryFile); -} - -function getBinary(file) { - try { - if (file == wasmBinaryFile && wasmBinary) { - return new Uint8Array(wasmBinary); - } - if (readBinary) { - return readBinary(file); - } - throw "both async and sync fetching of the wasm failed"; - } catch (err) { - abort(err); - } -} - -function getBinaryPromise(binaryFile) { - if (!wasmBinary && (ENVIRONMENT_IS_WEB || ENVIRONMENT_IS_WORKER)) { - if (typeof fetch == "function" && !isFileURI(binaryFile)) { - return fetch(binaryFile, { - credentials: "same-origin" - }).then(function(response) { - if (!response["ok"]) { - throw "failed to load wasm binary file at '" + binaryFile + "'"; - } - return response["arrayBuffer"](); - }).catch(function() { - return getBinary(binaryFile); - }); - } else { - if (readAsync) { - return new Promise(function(resolve, reject) { - readAsync(binaryFile, function(response) { - resolve(new Uint8Array(response)); - }, reject); - }); - } - } - } - return Promise.resolve().then(function() { - return getBinary(binaryFile); - }); -} - -function instantiateArrayBuffer(binaryFile, imports, receiver) { - return getBinaryPromise(binaryFile).then(function(binary) { - return WebAssembly.instantiate(binary, imports); - }).then(function(instance) { - return instance; - }).then(receiver, function(reason) { - err("failed to asynchronously prepare wasm: " + reason); - abort(reason); - }); -} - -function instantiateAsync(binary, binaryFile, imports, callback) { - if (!binary && typeof WebAssembly.instantiateStreaming == "function" && !isDataURI(binaryFile) && !isFileURI(binaryFile) && !ENVIRONMENT_IS_NODE && typeof fetch == "function") { - return fetch(binaryFile, { - credentials: "same-origin" - }).then(function(response) { - var result = WebAssembly.instantiateStreaming(response, imports); - return result.then(callback, function(reason) { - err("wasm streaming compile failed: " + reason); - err("falling back to ArrayBuffer instantiation"); - return instantiateArrayBuffer(binaryFile, imports, callback); - }); - }); - } else { - return instantiateArrayBuffer(binaryFile, imports, callback); - } -} - -function createWasm() { - var info = { - "a": wasmImports - }; - function receiveInstance(instance, module) { - var exports = instance.exports; - Module["asm"] = exports; - wasmMemory = Module["asm"]["ld"]; - updateMemoryViews(); - wasmTable = Module["asm"]["nd"]; - addOnInit(Module["asm"]["md"]); - removeRunDependency("wasm-instantiate"); - return exports; - } - addRunDependency("wasm-instantiate"); - function receiveInstantiationResult(result) { - receiveInstance(result["instance"]); - } - if (Module["instantiateWasm"]) { - try { - return Module["instantiateWasm"](info, receiveInstance); - } catch (e) { - err("Module.instantiateWasm callback failed with error: " + e); - readyPromiseReject(e); - } - } - instantiateAsync(wasmBinary, wasmBinaryFile, info, receiveInstantiationResult).catch(readyPromiseReject); - return {}; -} - -var tempDouble; - -var tempI64; - -var ASM_CONSTS = { - 1210616: $0 => { - const canvas = Emval.toValue($0); - const context = canvas.getContext("webgpu"); - return JsValStore.add(context.getCurrentTexture()); - }, - 1210751: () => { - return typeof HTMLCanvasElement !== "undefined"; - }, - 1210806: ($0, $1, $2, $3, $4) => { - const drawable = Emval.toValue($0); - const device = JsValStore.get($1); - const texture = JsValStore.get($2); - const width = $3; - const height = $4; - device.queue.copyExternalImageToTexture({ - source: drawable - }, { - texture: texture - }, [ width, height ]); - }, - 1211057: ($0, $1, $2, $3) => { - const sourceExtTex = Emval.toValue($0); - const device = JsValStore.get($1); - const sampler = JsValStore.get($2); - const bgLayout = JsValStore.get($3); - const bindGroup = device.createBindGroup({ - layout: bgLayout, - entries: [ { - binding: 0, - resource: sampler - }, { - binding: 1, - resource: sourceExtTex - } ] - }); - return JsValStore.add(bindGroup); - }, - 1211405: ($0, $1) => { - const inputArray = Emval.toValue($0); - const output = Emval.toValue($1); - const ctx = output.getContext("2d"); - const image_data = new ImageData(inputArray, output.width, output.height); - ctx.putImageData(image_data, 0, 0); - }, - 1211629: ($0, $1) => { - const input = Emval.toValue($0); - const outputArray = Emval.toValue($1); - const ctx = input.getContext("2d"); - const data = ctx.getImageData(0, 0, input.width, input.height); - outputArray.set(data.data); - }, - 1211833: ($0, $1) => { - const input = Emval.toValue($0); - const output = Emval.toValue($1); - const ctx = output.getContext("2d"); - ctx.drawImage(input, 0, 0); - }, - 1211969: () => { - return !!Module["preinitializedWebGPUDevice"]; - }, - 1212020: () => { - specialHTMLTargets["#canvas"] = Module.canvas; - }, - 1212071: () => { - return typeof wasmOffsetConverter !== "undefined"; - } -}; - -function JsWrapImageConverter() { - if (!Module._imageConverter) { - Module._imageConverter = (binaryPtr, binarySize, width, height, numChannels, makeDeepCopy, outputType) => { - const imageData = new outputType(makeDeepCopy ? Module.HEAPU8.slice(binaryPtr, binaryPtr + binarySize).buffer : Module.HEAPU8.buffer, binaryPtr, width * height * numChannels); - return { - data: imageData, - width: width, - height: height - }; - }; - } -} - -function JsOnUint8ArrayImageListener(output_stream_name, binary_ptr, binary_size, width, height, num_channels, make_deep_copy, timestamp_ms) { - const image = Module._imageConverter(binary_ptr, binary_size, width, height, num_channels, make_deep_copy, Uint8Array); - Module._wrapSimpleListenerOutput(output_stream_name, image, timestamp_ms); -} - -function JsOnFloat32ArrayImageListener(output_stream_name, binary_ptr, binary_size, width, height, num_channels, make_deep_copy, timestamp_ms) { - const image = Module._imageConverter(binary_ptr, binary_size, width, height, num_channels, make_deep_copy, Float32Array); - Module._wrapSimpleListenerOutput(output_stream_name, image, timestamp_ms); -} - -function JsOnWebGLTextureListener(output_stream_name, name, width, height, timestamp_ms) { - Module._wrapSimpleListenerOutput(output_stream_name, { - data: GL.textures[name], - width: width, - height: height - }, timestamp_ms); -} - -function JsOnUint8ArrayImageVectorListener(output_stream_name, binary_ptr, binary_size, width, height, num_channels, make_deep_copy, timestamp_ms) { - const image = Module._imageConverter(binary_ptr, binary_size, width, height, num_channels, make_deep_copy, Uint8Array); - Module._wrapSimpleListenerOutput(output_stream_name, image, false, timestamp_ms); -} - -function JsOnFloat32ArrayImageVectorListener(output_stream_name, binary_ptr, binary_size, width, height, num_channels, make_deep_copy, timestamp_ms) { - const image = Module._imageConverter(binary_ptr, binary_size, width, height, num_channels, make_deep_copy, Float32Array); - Module._wrapSimpleListenerOutput(output_stream_name, image, false, timestamp_ms); -} - -function JsOnWebGLTextureVectorListener(output_stream_name, name, width, height, timestamp_ms) { - Module._wrapSimpleListenerOutput(output_stream_name, { - data: GL.textures[name], - width: width, - height: height - }, false, timestamp_ms); -} - -function JsOnEmptyPacketListener(output_stream_name, timestamp) { - Module._wrapEmptyPacketListenerOutput(output_stream_name, timestamp); -} - -function JsOnVectorFinishedListener(output_stream_name, timestamp) { - Module._wrapSimpleListenerOutput(output_stream_name, undefined, true, timestamp); -} - -function JsOnSimpleListenerBool(output_stream_name, out_data, timestamp) { - Module._wrapSimpleListenerOutput(output_stream_name, out_data, timestamp); -} - -function JsOnVectorListenerBool(output_stream_name, out_data, timestamp) { - Module._wrapSimpleListenerOutput(output_stream_name, out_data, false, timestamp); -} - -function JsOnSimpleListenerInt(output_stream_name, out_data, timestamp) { - Module._wrapSimpleListenerOutput(output_stream_name, out_data, timestamp); -} - -function JsOnVectorListenerInt(output_stream_name, out_data, timestamp) { - Module._wrapSimpleListenerOutput(output_stream_name, out_data, false, timestamp); -} - -function JsOnSimpleListenerDouble(output_stream_name, out_data, timestamp) { - Module._wrapSimpleListenerOutput(output_stream_name, out_data, timestamp); -} - -function JsOnVectorListenerDouble(output_stream_name, out_data, timestamp) { - Module._wrapSimpleListenerOutput(output_stream_name, out_data, false, timestamp); -} - -function JsOnSimpleListenerFloat(output_stream_name, out_data, timestamp) { - Module._wrapSimpleListenerOutput(output_stream_name, out_data, timestamp); -} - -function JsOnVectorListenerFloat(output_stream_name, out_data, timestamp) { - Module._wrapSimpleListenerOutput(output_stream_name, out_data, false, timestamp); -} - -function JsOnSimpleListenerString(output_stream_name, out_data, timestamp) { - Module._wrapSimpleListenerOutput(output_stream_name, UTF8ToString(out_data), timestamp); -} - -function JsOnVectorListenerString(output_stream_name, out_data, timestamp) { - Module._wrapSimpleListenerOutput(output_stream_name, UTF8ToString(out_data), false, timestamp); -} - -function JsOnVectorListenerProto(output_stream_name, proto_ptr, proto_size, make_deep_copy, timestamp) { - const newProtoArray = make_deep_copy ? Module.HEAPU8.slice(proto_ptr, proto_ptr + proto_size) : new Uint8Array(Module.HEAPU8.buffer, proto_ptr, proto_size); - Module._wrapSimpleListenerOutput(output_stream_name, newProtoArray, false, timestamp); -} - -function JsWrapSimpleListeners() { - if (!Module._wrapSimpleListenerOutput) { - Module._wrapSimpleListenerOutput = (outputStreamName, ...args) => { - if (Module.simpleListeners) { - const streamName = UTF8ToString(outputStreamName); - if (Module.simpleListeners[streamName]) { - Module.simpleListeners[streamName](...args); - } - } - }; - } - if (!Module._wrapEmptyPacketListenerOutput) { - Module._wrapEmptyPacketListenerOutput = (outputStreamName, timestamp) => { - if (Module.emptyPacketListeners) { - const streamName = UTF8ToString(outputStreamName); - if (Module.emptyPacketListeners[streamName]) { - Module.emptyPacketListeners[streamName](timestamp); - } - } - }; - } -} - -function JsOnSimpleListenerBinaryArray(output_stream_name, binary_ptr, binary_size, make_deep_copy, timestamp) { - const newProtoArray = make_deep_copy ? Module.HEAPU8.slice(binary_ptr, binary_ptr + binary_size) : new Uint8Array(Module.HEAPU8.buffer, binary_ptr, binary_size); - Module._wrapSimpleListenerOutput(output_stream_name, newProtoArray, timestamp); -} - -function mediapipe_import_external_texture(device_handle, source_handle) { - const device = WebGPU.mgrDevice.get(device_handle); - const source = Emval.toValue(source_handle); - const externalTexture = device.importExternalTexture({ - source: source - }); - return Emval.toHandle(externalTexture); -} - -function mediapipe_create_utility_canvas2d() { - let canvas; - if (typeof OffscreenCanvas !== "undefined") { - canvas = new OffscreenCanvas(0, 0); - } else { - canvas = document.createElement("canvas"); - canvas.style.display = "none"; - canvas.id = "canvas_2d"; - document.body.appendChild(canvas); - } - return Emval.toHandle(canvas); -} - -function JsWrapErrorListener(code, message) { - if (Module.errorListener) { - const stringMessage = UTF8ToString(message); - Module.errorListener(code, stringMessage); - } -} - -function HaveOffsetConverter() { - return typeof wasmOffsetConverter !== "undefined"; -} - -function _emscripten_set_main_loop_timing(mode, value) { - Browser.mainLoop.timingMode = mode; - Browser.mainLoop.timingValue = value; - if (!Browser.mainLoop.func) { - return 1; - } - if (!Browser.mainLoop.running) { - Browser.mainLoop.running = true; - } - if (mode == 0) { - Browser.mainLoop.scheduler = function Browser_mainLoop_scheduler_setTimeout() { - var timeUntilNextTick = Math.max(0, Browser.mainLoop.tickStartTime + value - _emscripten_get_now()) | 0; - setTimeout(Browser.mainLoop.runner, timeUntilNextTick); - }; - Browser.mainLoop.method = "timeout"; - } else if (mode == 1) { - Browser.mainLoop.scheduler = function Browser_mainLoop_scheduler_rAF() { - Browser.requestAnimationFrame(Browser.mainLoop.runner); - }; - Browser.mainLoop.method = "rAF"; - } else if (mode == 2) { - if (typeof setImmediate == "undefined") { - var setImmediates = []; - var emscriptenMainLoopMessageId = "setimmediate"; - var Browser_setImmediate_messageHandler = event => { - if (event.data === emscriptenMainLoopMessageId || event.data.target === emscriptenMainLoopMessageId) { - event.stopPropagation(); - setImmediates.shift()(); - } - }; - addEventListener("message", Browser_setImmediate_messageHandler, true); - setImmediate = function Browser_emulated_setImmediate(func) { - setImmediates.push(func); - if (ENVIRONMENT_IS_WORKER) { - if (Module["setImmediates"] === undefined) Module["setImmediates"] = []; - Module["setImmediates"].push(func); - postMessage({ - target: emscriptenMainLoopMessageId - }); - } else postMessage(emscriptenMainLoopMessageId, "*"); - }; - } - Browser.mainLoop.scheduler = function Browser_mainLoop_scheduler_setImmediate() { - setImmediate(Browser.mainLoop.runner); - }; - Browser.mainLoop.method = "immediate"; - } - return 0; -} - -var _emscripten_get_now; - -if (ENVIRONMENT_IS_NODE) { - _emscripten_get_now = () => { - var t = process.hrtime(); - return t[0] * 1e3 + t[1] / 1e6; - }; -} else _emscripten_get_now = () => performance.now(); - -function setMainLoop(browserIterationFunc, fps, simulateInfiniteLoop, arg, noSetTiming) { - assert(!Browser.mainLoop.func, "emscripten_set_main_loop: there can only be one main loop function at once: call emscripten_cancel_main_loop to cancel the previous one before setting a new one with different parameters."); - Browser.mainLoop.func = browserIterationFunc; - Browser.mainLoop.arg = arg; - var thisMainLoopId = Browser.mainLoop.currentlyRunningMainloop; - function checkIsRunning() { - if (thisMainLoopId < Browser.mainLoop.currentlyRunningMainloop) { - return false; - } - return true; - } - Browser.mainLoop.running = false; - Browser.mainLoop.runner = function Browser_mainLoop_runner() { - if (ABORT) return; - if (Browser.mainLoop.queue.length > 0) { - var start = Date.now(); - var blocker = Browser.mainLoop.queue.shift(); - blocker.func(blocker.arg); - if (Browser.mainLoop.remainingBlockers) { - var remaining = Browser.mainLoop.remainingBlockers; - var next = remaining % 1 == 0 ? remaining - 1 : Math.floor(remaining); - if (blocker.counted) { - Browser.mainLoop.remainingBlockers = next; - } else { - next = next + .5; - Browser.mainLoop.remainingBlockers = (8 * remaining + next) / 9; - } - } - out('main loop blocker "' + blocker.name + '" took ' + (Date.now() - start) + " ms"); - Browser.mainLoop.updateStatus(); - if (!checkIsRunning()) return; - setTimeout(Browser.mainLoop.runner, 0); - return; - } - if (!checkIsRunning()) return; - Browser.mainLoop.currentFrameNumber = Browser.mainLoop.currentFrameNumber + 1 | 0; - if (Browser.mainLoop.timingMode == 1 && Browser.mainLoop.timingValue > 1 && Browser.mainLoop.currentFrameNumber % Browser.mainLoop.timingValue != 0) { - Browser.mainLoop.scheduler(); - return; - } else if (Browser.mainLoop.timingMode == 0) { - Browser.mainLoop.tickStartTime = _emscripten_get_now(); - } - GL.newRenderingFrameStarted(); - Browser.mainLoop.runIter(browserIterationFunc); - if (!checkIsRunning()) return; - if (typeof SDL == "object" && SDL.audio && SDL.audio.queueNewAudioData) SDL.audio.queueNewAudioData(); - Browser.mainLoop.scheduler(); - }; - if (!noSetTiming) { - if (fps && fps > 0) _emscripten_set_main_loop_timing(0, 1e3 / fps); else _emscripten_set_main_loop_timing(1, 1); - Browser.mainLoop.scheduler(); - } - if (simulateInfiniteLoop) { - throw "unwind"; - } -} - -function handleException(e) { - if (e instanceof ExitStatus || e == "unwind") { - return EXITSTATUS; - } - quit_(1, e); -} - -function ExitStatus(status) { - this.name = "ExitStatus"; - this.message = "Program terminated with exit(" + status + ")"; - this.status = status; -} - -var PATH = { - isAbs: path => path.charAt(0) === "/", - splitPath: filename => { - var splitPathRe = /^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/; - return splitPathRe.exec(filename).slice(1); - }, - normalizeArray: (parts, allowAboveRoot) => { - var up = 0; - for (var i = parts.length - 1; i >= 0; i--) { - var last = parts[i]; - if (last === ".") { - parts.splice(i, 1); - } else if (last === "..") { - parts.splice(i, 1); - up++; - } else if (up) { - parts.splice(i, 1); - up--; - } - } - if (allowAboveRoot) { - for (;up; up--) { - parts.unshift(".."); - } - } - return parts; - }, - normalize: path => { - var isAbsolute = PATH.isAbs(path), trailingSlash = path.substr(-1) === "/"; - path = PATH.normalizeArray(path.split("/").filter(p => !!p), !isAbsolute).join("/"); - if (!path && !isAbsolute) { - path = "."; - } - if (path && trailingSlash) { - path += "/"; - } - return (isAbsolute ? "/" : "") + path; - }, - dirname: path => { - var result = PATH.splitPath(path), root = result[0], dir = result[1]; - if (!root && !dir) { - return "."; - } - if (dir) { - dir = dir.substr(0, dir.length - 1); - } - return root + dir; - }, - basename: path => { - if (path === "/") return "/"; - path = PATH.normalize(path); - path = path.replace(/\/$/, ""); - var lastSlash = path.lastIndexOf("/"); - if (lastSlash === -1) return path; - return path.substr(lastSlash + 1); - }, - join: function() { - var paths = Array.prototype.slice.call(arguments); - return PATH.normalize(paths.join("/")); - }, - join2: (l, r) => { - return PATH.normalize(l + "/" + r); - } -}; - -function initRandomFill() { - if (typeof crypto == "object" && typeof crypto["getRandomValues"] == "function") { - return view => crypto.getRandomValues(view); - } else if (ENVIRONMENT_IS_NODE) { - try { - var crypto_module = require("crypto"); - var randomFillSync = crypto_module["randomFillSync"]; - if (randomFillSync) { - return view => crypto_module["randomFillSync"](view); - } - var randomBytes = crypto_module["randomBytes"]; - return view => (view.set(randomBytes(view.byteLength)), view); - } catch (e) {} - } - abort("initRandomDevice"); -} - -function randomFill(view) { - return (randomFill = initRandomFill())(view); -} - -var PATH_FS = { - resolve: function() { - var resolvedPath = "", resolvedAbsolute = false; - for (var i = arguments.length - 1; i >= -1 && !resolvedAbsolute; i--) { - var path = i >= 0 ? arguments[i] : FS.cwd(); - if (typeof path != "string") { - throw new TypeError("Arguments to path.resolve must be strings"); - } else if (!path) { - return ""; - } - resolvedPath = path + "/" + resolvedPath; - resolvedAbsolute = PATH.isAbs(path); - } - resolvedPath = PATH.normalizeArray(resolvedPath.split("/").filter(p => !!p), !resolvedAbsolute).join("/"); - return (resolvedAbsolute ? "/" : "") + resolvedPath || "."; - }, - relative: (from, to) => { - from = PATH_FS.resolve(from).substr(1); - to = PATH_FS.resolve(to).substr(1); - function trim(arr) { - var start = 0; - for (;start < arr.length; start++) { - if (arr[start] !== "") break; - } - var end = arr.length - 1; - for (;end >= 0; end--) { - if (arr[end] !== "") break; - } - if (start > end) return []; - return arr.slice(start, end - start + 1); - } - var fromParts = trim(from.split("/")); - var toParts = trim(to.split("/")); - var length = Math.min(fromParts.length, toParts.length); - var samePartsLength = length; - for (var i = 0; i < length; i++) { - if (fromParts[i] !== toParts[i]) { - samePartsLength = i; - break; - } - } - var outputParts = []; - for (var i = samePartsLength; i < fromParts.length; i++) { - outputParts.push(".."); - } - outputParts = outputParts.concat(toParts.slice(samePartsLength)); - return outputParts.join("/"); - } -}; - -function lengthBytesUTF8(str) { - var len = 0; - for (var i = 0; i < str.length; ++i) { - var c = str.charCodeAt(i); - if (c <= 127) { - len++; - } else if (c <= 2047) { - len += 2; - } else if (c >= 55296 && c <= 57343) { - len += 4; - ++i; - } else { - len += 3; - } - } - return len; -} - -function stringToUTF8Array(str, heap, outIdx, maxBytesToWrite) { - if (!(maxBytesToWrite > 0)) return 0; - var startIdx = outIdx; - var endIdx = outIdx + maxBytesToWrite - 1; - for (var i = 0; i < str.length; ++i) { - var u = str.charCodeAt(i); - if (u >= 55296 && u <= 57343) { - var u1 = str.charCodeAt(++i); - u = 65536 + ((u & 1023) << 10) | u1 & 1023; - } - if (u <= 127) { - if (outIdx >= endIdx) break; - heap[outIdx++] = u; - } else if (u <= 2047) { - if (outIdx + 1 >= endIdx) break; - heap[outIdx++] = 192 | u >> 6; - heap[outIdx++] = 128 | u & 63; - } else if (u <= 65535) { - if (outIdx + 2 >= endIdx) break; - heap[outIdx++] = 224 | u >> 12; - heap[outIdx++] = 128 | u >> 6 & 63; - heap[outIdx++] = 128 | u & 63; - } else { - if (outIdx + 3 >= endIdx) break; - heap[outIdx++] = 240 | u >> 18; - heap[outIdx++] = 128 | u >> 12 & 63; - heap[outIdx++] = 128 | u >> 6 & 63; - heap[outIdx++] = 128 | u & 63; - } - } - heap[outIdx] = 0; - return outIdx - startIdx; -} - -function intArrayFromString(stringy, dontAddNull, length) { - var len = length > 0 ? length : lengthBytesUTF8(stringy) + 1; - var u8array = new Array(len); - var numBytesWritten = stringToUTF8Array(stringy, u8array, 0, u8array.length); - if (dontAddNull) u8array.length = numBytesWritten; - return u8array; -} - -var TTY = { - ttys: [], - init: function() {}, - shutdown: function() {}, - register: function(dev, ops) { - TTY.ttys[dev] = { - input: [], - output: [], - ops: ops - }; - FS.registerDevice(dev, TTY.stream_ops); - }, - stream_ops: { - open: function(stream) { - var tty = TTY.ttys[stream.node.rdev]; - if (!tty) { - throw new FS.ErrnoError(43); - } - stream.tty = tty; - stream.seekable = false; - }, - close: function(stream) { - stream.tty.ops.fsync(stream.tty); - }, - fsync: function(stream) { - stream.tty.ops.fsync(stream.tty); - }, - read: function(stream, buffer, offset, length, pos) { - if (!stream.tty || !stream.tty.ops.get_char) { - throw new FS.ErrnoError(60); - } - var bytesRead = 0; - for (var i = 0; i < length; i++) { - var result; - try { - result = stream.tty.ops.get_char(stream.tty); - } catch (e) { - throw new FS.ErrnoError(29); - } - if (result === undefined && bytesRead === 0) { - throw new FS.ErrnoError(6); - } - if (result === null || result === undefined) break; - bytesRead++; - buffer[offset + i] = result; - } - if (bytesRead) { - stream.node.timestamp = Date.now(); - } - return bytesRead; - }, - write: function(stream, buffer, offset, length, pos) { - if (!stream.tty || !stream.tty.ops.put_char) { - throw new FS.ErrnoError(60); - } - try { - for (var i = 0; i < length; i++) { - stream.tty.ops.put_char(stream.tty, buffer[offset + i]); - } - } catch (e) { - throw new FS.ErrnoError(29); - } - if (length) { - stream.node.timestamp = Date.now(); - } - return i; - } - }, - default_tty_ops: { - get_char: function(tty) { - if (!tty.input.length) { - var result = null; - if (ENVIRONMENT_IS_NODE) { - var BUFSIZE = 256; - var buf = Buffer.alloc(BUFSIZE); - var bytesRead = 0; - try { - bytesRead = fs.readSync(process.stdin.fd, buf, 0, BUFSIZE, -1); - } catch (e) { - if (e.toString().includes("EOF")) bytesRead = 0; else throw e; - } - if (bytesRead > 0) { - result = buf.slice(0, bytesRead).toString("utf-8"); - } else { - result = null; - } - } else if (typeof window != "undefined" && typeof window.prompt == "function") { - result = window.prompt("Input: "); - if (result !== null) { - result += "\n"; - } - } else if (typeof readline == "function") { - result = readline(); - if (result !== null) { - result += "\n"; - } - } - if (!result) { - return null; - } - tty.input = intArrayFromString(result, true); - } - return tty.input.shift(); - }, - put_char: function(tty, val) { - if (val === null || val === 10) { - out(UTF8ArrayToString(tty.output, 0)); - tty.output = []; - } else { - if (val != 0) tty.output.push(val); - } - }, - fsync: function(tty) { - if (tty.output && tty.output.length > 0) { - out(UTF8ArrayToString(tty.output, 0)); - tty.output = []; - } - } - }, - default_tty1_ops: { - put_char: function(tty, val) { - if (val === null || val === 10) { - err(UTF8ArrayToString(tty.output, 0)); - tty.output = []; - } else { - if (val != 0) tty.output.push(val); - } - }, - fsync: function(tty) { - if (tty.output && tty.output.length > 0) { - err(UTF8ArrayToString(tty.output, 0)); - tty.output = []; - } - } - } -}; - -function zeroMemory(address, size) { - HEAPU8.fill(0, address, address + size); - return address; -} - -function alignMemory(size, alignment) { - return Math.ceil(size / alignment) * alignment; -} - -function mmapAlloc(size) { - size = alignMemory(size, 65536); - var ptr = _emscripten_builtin_memalign(65536, size); - if (!ptr) return 0; - return zeroMemory(ptr, size); -} - -var MEMFS = { - ops_table: null, - mount: function(mount) { - return MEMFS.createNode(null, "/", 16384 | 511, 0); - }, - createNode: function(parent, name, mode, dev) { - if (FS.isBlkdev(mode) || FS.isFIFO(mode)) { - throw new FS.ErrnoError(63); - } - if (!MEMFS.ops_table) { - MEMFS.ops_table = { - dir: { - node: { - getattr: MEMFS.node_ops.getattr, - setattr: MEMFS.node_ops.setattr, - lookup: MEMFS.node_ops.lookup, - mknod: MEMFS.node_ops.mknod, - rename: MEMFS.node_ops.rename, - unlink: MEMFS.node_ops.unlink, - rmdir: MEMFS.node_ops.rmdir, - readdir: MEMFS.node_ops.readdir, - symlink: MEMFS.node_ops.symlink - }, - stream: { - llseek: MEMFS.stream_ops.llseek - } - }, - file: { - node: { - getattr: MEMFS.node_ops.getattr, - setattr: MEMFS.node_ops.setattr - }, - stream: { - llseek: MEMFS.stream_ops.llseek, - read: MEMFS.stream_ops.read, - write: MEMFS.stream_ops.write, - allocate: MEMFS.stream_ops.allocate, - mmap: MEMFS.stream_ops.mmap, - msync: MEMFS.stream_ops.msync - } - }, - link: { - node: { - getattr: MEMFS.node_ops.getattr, - setattr: MEMFS.node_ops.setattr, - readlink: MEMFS.node_ops.readlink - }, - stream: {} - }, - chrdev: { - node: { - getattr: MEMFS.node_ops.getattr, - setattr: MEMFS.node_ops.setattr - }, - stream: FS.chrdev_stream_ops - } - }; - } - var node = FS.createNode(parent, name, mode, dev); - if (FS.isDir(node.mode)) { - node.node_ops = MEMFS.ops_table.dir.node; - node.stream_ops = MEMFS.ops_table.dir.stream; - node.contents = {}; - } else if (FS.isFile(node.mode)) { - node.node_ops = MEMFS.ops_table.file.node; - node.stream_ops = MEMFS.ops_table.file.stream; - node.usedBytes = 0; - node.contents = null; - } else if (FS.isLink(node.mode)) { - node.node_ops = MEMFS.ops_table.link.node; - node.stream_ops = MEMFS.ops_table.link.stream; - } else if (FS.isChrdev(node.mode)) { - node.node_ops = MEMFS.ops_table.chrdev.node; - node.stream_ops = MEMFS.ops_table.chrdev.stream; - } - node.timestamp = Date.now(); - if (parent) { - parent.contents[name] = node; - parent.timestamp = node.timestamp; - } - return node; - }, - getFileDataAsTypedArray: function(node) { - if (!node.contents) return new Uint8Array(0); - if (node.contents.subarray) return node.contents.subarray(0, node.usedBytes); - return new Uint8Array(node.contents); - }, - expandFileStorage: function(node, newCapacity) { - var prevCapacity = node.contents ? node.contents.length : 0; - if (prevCapacity >= newCapacity) return; - var CAPACITY_DOUBLING_MAX = 1024 * 1024; - newCapacity = Math.max(newCapacity, prevCapacity * (prevCapacity < CAPACITY_DOUBLING_MAX ? 2 : 1.125) >>> 0); - if (prevCapacity != 0) newCapacity = Math.max(newCapacity, 256); - var oldContents = node.contents; - node.contents = new Uint8Array(newCapacity); - if (node.usedBytes > 0) node.contents.set(oldContents.subarray(0, node.usedBytes), 0); - }, - resizeFileStorage: function(node, newSize) { - if (node.usedBytes == newSize) return; - if (newSize == 0) { - node.contents = null; - node.usedBytes = 0; - } else { - var oldContents = node.contents; - node.contents = new Uint8Array(newSize); - if (oldContents) { - node.contents.set(oldContents.subarray(0, Math.min(newSize, node.usedBytes))); - } - node.usedBytes = newSize; - } - }, - node_ops: { - getattr: function(node) { - var attr = {}; - attr.dev = FS.isChrdev(node.mode) ? node.id : 1; - attr.ino = node.id; - attr.mode = node.mode; - attr.nlink = 1; - attr.uid = 0; - attr.gid = 0; - attr.rdev = node.rdev; - if (FS.isDir(node.mode)) { - attr.size = 4096; - } else if (FS.isFile(node.mode)) { - attr.size = node.usedBytes; - } else if (FS.isLink(node.mode)) { - attr.size = node.link.length; - } else { - attr.size = 0; - } - attr.atime = new Date(node.timestamp); - attr.mtime = new Date(node.timestamp); - attr.ctime = new Date(node.timestamp); - attr.blksize = 4096; - attr.blocks = Math.ceil(attr.size / attr.blksize); - return attr; - }, - setattr: function(node, attr) { - if (attr.mode !== undefined) { - node.mode = attr.mode; - } - if (attr.timestamp !== undefined) { - node.timestamp = attr.timestamp; - } - if (attr.size !== undefined) { - MEMFS.resizeFileStorage(node, attr.size); - } - }, - lookup: function(parent, name) { - throw FS.genericErrors[44]; - }, - mknod: function(parent, name, mode, dev) { - return MEMFS.createNode(parent, name, mode, dev); - }, - rename: function(old_node, new_dir, new_name) { - if (FS.isDir(old_node.mode)) { - var new_node; - try { - new_node = FS.lookupNode(new_dir, new_name); - } catch (e) {} - if (new_node) { - for (var i in new_node.contents) { - throw new FS.ErrnoError(55); - } - } - } - delete old_node.parent.contents[old_node.name]; - old_node.parent.timestamp = Date.now(); - old_node.name = new_name; - new_dir.contents[new_name] = old_node; - new_dir.timestamp = old_node.parent.timestamp; - old_node.parent = new_dir; - }, - unlink: function(parent, name) { - delete parent.contents[name]; - parent.timestamp = Date.now(); - }, - rmdir: function(parent, name) { - var node = FS.lookupNode(parent, name); - for (var i in node.contents) { - throw new FS.ErrnoError(55); - } - delete parent.contents[name]; - parent.timestamp = Date.now(); - }, - readdir: function(node) { - var entries = [ ".", ".." ]; - for (var key in node.contents) { - if (!node.contents.hasOwnProperty(key)) { - continue; - } - entries.push(key); - } - return entries; - }, - symlink: function(parent, newname, oldpath) { - var node = MEMFS.createNode(parent, newname, 511 | 40960, 0); - node.link = oldpath; - return node; - }, - readlink: function(node) { - if (!FS.isLink(node.mode)) { - throw new FS.ErrnoError(28); - } - return node.link; - } - }, - stream_ops: { - read: function(stream, buffer, offset, length, position) { - var contents = stream.node.contents; - if (position >= stream.node.usedBytes) return 0; - var size = Math.min(stream.node.usedBytes - position, length); - if (size > 8 && contents.subarray) { - buffer.set(contents.subarray(position, position + size), offset); - } else { - for (var i = 0; i < size; i++) buffer[offset + i] = contents[position + i]; - } - return size; - }, - write: function(stream, buffer, offset, length, position, canOwn) { - if (buffer.buffer === HEAP8.buffer) { - canOwn = false; - } - if (!length) return 0; - var node = stream.node; - node.timestamp = Date.now(); - if (buffer.subarray && (!node.contents || node.contents.subarray)) { - if (canOwn) { - node.contents = buffer.subarray(offset, offset + length); - node.usedBytes = length; - return length; - } else if (node.usedBytes === 0 && position === 0) { - node.contents = buffer.slice(offset, offset + length); - node.usedBytes = length; - return length; - } else if (position + length <= node.usedBytes) { - node.contents.set(buffer.subarray(offset, offset + length), position); - return length; - } - } - MEMFS.expandFileStorage(node, position + length); - if (node.contents.subarray && buffer.subarray) { - node.contents.set(buffer.subarray(offset, offset + length), position); - } else { - for (var i = 0; i < length; i++) { - node.contents[position + i] = buffer[offset + i]; - } - } - node.usedBytes = Math.max(node.usedBytes, position + length); - return length; - }, - llseek: function(stream, offset, whence) { - var position = offset; - if (whence === 1) { - position += stream.position; - } else if (whence === 2) { - if (FS.isFile(stream.node.mode)) { - position += stream.node.usedBytes; - } - } - if (position < 0) { - throw new FS.ErrnoError(28); - } - return position; - }, - allocate: function(stream, offset, length) { - MEMFS.expandFileStorage(stream.node, offset + length); - stream.node.usedBytes = Math.max(stream.node.usedBytes, offset + length); - }, - mmap: function(stream, length, position, prot, flags) { - if (!FS.isFile(stream.node.mode)) { - throw new FS.ErrnoError(43); - } - var ptr; - var allocated; - var contents = stream.node.contents; - if (!(flags & 2) && contents.buffer === HEAP8.buffer) { - allocated = false; - ptr = contents.byteOffset; - } else { - if (position > 0 || position + length < contents.length) { - if (contents.subarray) { - contents = contents.subarray(position, position + length); - } else { - contents = Array.prototype.slice.call(contents, position, position + length); - } - } - allocated = true; - ptr = mmapAlloc(length); - if (!ptr) { - throw new FS.ErrnoError(48); - } - HEAP8.set(contents, ptr); - } - return { - ptr: ptr, - allocated: allocated - }; - }, - msync: function(stream, buffer, offset, length, mmapFlags) { - MEMFS.stream_ops.write(stream, buffer, 0, length, offset, false); - return 0; - } - } -}; - -function asyncLoad(url, onload, onerror, noRunDep) { - var dep = !noRunDep ? getUniqueRunDependency("al " + url) : ""; - readAsync(url, arrayBuffer => { - assert(arrayBuffer, 'Loading data file "' + url + '" failed (no arrayBuffer).'); - onload(new Uint8Array(arrayBuffer)); - if (dep) removeRunDependency(dep); - }, event => { - if (onerror) { - onerror(); - } else { - throw 'Loading data file "' + url + '" failed.'; - } - }); - if (dep) addRunDependency(dep); -} - -var FS = { - root: null, - mounts: [], - devices: {}, - streams: [], - nextInode: 1, - nameTable: null, - currentPath: "/", - initialized: false, - ignorePermissions: true, - ErrnoError: null, - genericErrors: {}, - filesystems: null, - syncFSRequests: 0, - lookupPath: (path, opts = {}) => { - path = PATH_FS.resolve(path); - if (!path) return { - path: "", - node: null - }; - var defaults = { - follow_mount: true, - recurse_count: 0 - }; - opts = Object.assign(defaults, opts); - if (opts.recurse_count > 8) { - throw new FS.ErrnoError(32); - } - var parts = path.split("/").filter(p => !!p); - var current = FS.root; - var current_path = "/"; - for (var i = 0; i < parts.length; i++) { - var islast = i === parts.length - 1; - if (islast && opts.parent) { - break; - } - current = FS.lookupNode(current, parts[i]); - current_path = PATH.join2(current_path, parts[i]); - if (FS.isMountpoint(current)) { - if (!islast || islast && opts.follow_mount) { - current = current.mounted.root; - } - } - if (!islast || opts.follow) { - var count = 0; - while (FS.isLink(current.mode)) { - var link = FS.readlink(current_path); - current_path = PATH_FS.resolve(PATH.dirname(current_path), link); - var lookup = FS.lookupPath(current_path, { - recurse_count: opts.recurse_count + 1 - }); - current = lookup.node; - if (count++ > 40) { - throw new FS.ErrnoError(32); - } - } - } - } - return { - path: current_path, - node: current - }; - }, - getPath: node => { - var path; - while (true) { - if (FS.isRoot(node)) { - var mount = node.mount.mountpoint; - if (!path) return mount; - return mount[mount.length - 1] !== "/" ? mount + "/" + path : mount + path; - } - path = path ? node.name + "/" + path : node.name; - node = node.parent; - } - }, - hashName: (parentid, name) => { - var hash = 0; - for (var i = 0; i < name.length; i++) { - hash = (hash << 5) - hash + name.charCodeAt(i) | 0; - } - return (parentid + hash >>> 0) % FS.nameTable.length; - }, - hashAddNode: node => { - var hash = FS.hashName(node.parent.id, node.name); - node.name_next = FS.nameTable[hash]; - FS.nameTable[hash] = node; - }, - hashRemoveNode: node => { - var hash = FS.hashName(node.parent.id, node.name); - if (FS.nameTable[hash] === node) { - FS.nameTable[hash] = node.name_next; - } else { - var current = FS.nameTable[hash]; - while (current) { - if (current.name_next === node) { - current.name_next = node.name_next; - break; - } - current = current.name_next; - } - } - }, - lookupNode: (parent, name) => { - var errCode = FS.mayLookup(parent); - if (errCode) { - throw new FS.ErrnoError(errCode, parent); - } - var hash = FS.hashName(parent.id, name); - for (var node = FS.nameTable[hash]; node; node = node.name_next) { - var nodeName = node.name; - if (node.parent.id === parent.id && nodeName === name) { - return node; - } - } - return FS.lookup(parent, name); - }, - createNode: (parent, name, mode, rdev) => { - var node = new FS.FSNode(parent, name, mode, rdev); - FS.hashAddNode(node); - return node; - }, - destroyNode: node => { - FS.hashRemoveNode(node); - }, - isRoot: node => { - return node === node.parent; - }, - isMountpoint: node => { - return !!node.mounted; - }, - isFile: mode => { - return (mode & 61440) === 32768; - }, - isDir: mode => { - return (mode & 61440) === 16384; - }, - isLink: mode => { - return (mode & 61440) === 40960; - }, - isChrdev: mode => { - return (mode & 61440) === 8192; - }, - isBlkdev: mode => { - return (mode & 61440) === 24576; - }, - isFIFO: mode => { - return (mode & 61440) === 4096; - }, - isSocket: mode => { - return (mode & 49152) === 49152; - }, - flagModes: { - "r": 0, - "r+": 2, - "w": 577, - "w+": 578, - "a": 1089, - "a+": 1090 - }, - modeStringToFlags: str => { - var flags = FS.flagModes[str]; - if (typeof flags == "undefined") { - throw new Error("Unknown file open mode: " + str); - } - return flags; - }, - flagsToPermissionString: flag => { - var perms = [ "r", "w", "rw" ][flag & 3]; - if (flag & 512) { - perms += "w"; - } - return perms; - }, - nodePermissions: (node, perms) => { - if (FS.ignorePermissions) { - return 0; - } - if (perms.includes("r") && !(node.mode & 292)) { - return 2; - } else if (perms.includes("w") && !(node.mode & 146)) { - return 2; - } else if (perms.includes("x") && !(node.mode & 73)) { - return 2; - } - return 0; - }, - mayLookup: dir => { - var errCode = FS.nodePermissions(dir, "x"); - if (errCode) return errCode; - if (!dir.node_ops.lookup) return 2; - return 0; - }, - mayCreate: (dir, name) => { - try { - var node = FS.lookupNode(dir, name); - return 20; - } catch (e) {} - return FS.nodePermissions(dir, "wx"); - }, - mayDelete: (dir, name, isdir) => { - var node; - try { - node = FS.lookupNode(dir, name); - } catch (e) { - return e.errno; - } - var errCode = FS.nodePermissions(dir, "wx"); - if (errCode) { - return errCode; - } - if (isdir) { - if (!FS.isDir(node.mode)) { - return 54; - } - if (FS.isRoot(node) || FS.getPath(node) === FS.cwd()) { - return 10; - } - } else { - if (FS.isDir(node.mode)) { - return 31; - } - } - return 0; - }, - mayOpen: (node, flags) => { - if (!node) { - return 44; - } - if (FS.isLink(node.mode)) { - return 32; - } else if (FS.isDir(node.mode)) { - if (FS.flagsToPermissionString(flags) !== "r" || flags & 512) { - return 31; - } - } - return FS.nodePermissions(node, FS.flagsToPermissionString(flags)); - }, - MAX_OPEN_FDS: 4096, - nextfd: (fd_start = 0, fd_end = FS.MAX_OPEN_FDS) => { - for (var fd = fd_start; fd <= fd_end; fd++) { - if (!FS.streams[fd]) { - return fd; - } - } - throw new FS.ErrnoError(33); - }, - getStream: fd => FS.streams[fd], - createStream: (stream, fd_start, fd_end) => { - if (!FS.FSStream) { - FS.FSStream = function() { - this.shared = {}; - }; - FS.FSStream.prototype = {}; - Object.defineProperties(FS.FSStream.prototype, { - object: { - get: function() { - return this.node; - }, - set: function(val) { - this.node = val; - } - }, - isRead: { - get: function() { - return (this.flags & 2097155) !== 1; - } - }, - isWrite: { - get: function() { - return (this.flags & 2097155) !== 0; - } - }, - isAppend: { - get: function() { - return this.flags & 1024; - } - }, - flags: { - get: function() { - return this.shared.flags; - }, - set: function(val) { - this.shared.flags = val; - } - }, - position: { - get: function() { - return this.shared.position; - }, - set: function(val) { - this.shared.position = val; - } - } - }); - } - stream = Object.assign(new FS.FSStream(), stream); - var fd = FS.nextfd(fd_start, fd_end); - stream.fd = fd; - FS.streams[fd] = stream; - return stream; - }, - closeStream: fd => { - FS.streams[fd] = null; - }, - chrdev_stream_ops: { - open: stream => { - var device = FS.getDevice(stream.node.rdev); - stream.stream_ops = device.stream_ops; - if (stream.stream_ops.open) { - stream.stream_ops.open(stream); - } - }, - llseek: () => { - throw new FS.ErrnoError(70); - } - }, - major: dev => dev >> 8, - minor: dev => dev & 255, - makedev: (ma, mi) => ma << 8 | mi, - registerDevice: (dev, ops) => { - FS.devices[dev] = { - stream_ops: ops - }; - }, - getDevice: dev => FS.devices[dev], - getMounts: mount => { - var mounts = []; - var check = [ mount ]; - while (check.length) { - var m = check.pop(); - mounts.push(m); - check.push.apply(check, m.mounts); - } - return mounts; - }, - syncfs: (populate, callback) => { - if (typeof populate == "function") { - callback = populate; - populate = false; - } - FS.syncFSRequests++; - if (FS.syncFSRequests > 1) { - err("warning: " + FS.syncFSRequests + " FS.syncfs operations in flight at once, probably just doing extra work"); - } - var mounts = FS.getMounts(FS.root.mount); - var completed = 0; - function doCallback(errCode) { - FS.syncFSRequests--; - return callback(errCode); - } - function done(errCode) { - if (errCode) { - if (!done.errored) { - done.errored = true; - return doCallback(errCode); - } - return; - } - if (++completed >= mounts.length) { - doCallback(null); - } - } - mounts.forEach(mount => { - if (!mount.type.syncfs) { - return done(null); - } - mount.type.syncfs(mount, populate, done); - }); - }, - mount: (type, opts, mountpoint) => { - var root = mountpoint === "/"; - var pseudo = !mountpoint; - var node; - if (root && FS.root) { - throw new FS.ErrnoError(10); - } else if (!root && !pseudo) { - var lookup = FS.lookupPath(mountpoint, { - follow_mount: false - }); - mountpoint = lookup.path; - node = lookup.node; - if (FS.isMountpoint(node)) { - throw new FS.ErrnoError(10); - } - if (!FS.isDir(node.mode)) { - throw new FS.ErrnoError(54); - } - } - var mount = { - type: type, - opts: opts, - mountpoint: mountpoint, - mounts: [] - }; - var mountRoot = type.mount(mount); - mountRoot.mount = mount; - mount.root = mountRoot; - if (root) { - FS.root = mountRoot; - } else if (node) { - node.mounted = mount; - if (node.mount) { - node.mount.mounts.push(mount); - } - } - return mountRoot; - }, - unmount: mountpoint => { - var lookup = FS.lookupPath(mountpoint, { - follow_mount: false - }); - if (!FS.isMountpoint(lookup.node)) { - throw new FS.ErrnoError(28); - } - var node = lookup.node; - var mount = node.mounted; - var mounts = FS.getMounts(mount); - Object.keys(FS.nameTable).forEach(hash => { - var current = FS.nameTable[hash]; - while (current) { - var next = current.name_next; - if (mounts.includes(current.mount)) { - FS.destroyNode(current); - } - current = next; - } - }); - node.mounted = null; - var idx = node.mount.mounts.indexOf(mount); - node.mount.mounts.splice(idx, 1); - }, - lookup: (parent, name) => { - return parent.node_ops.lookup(parent, name); - }, - mknod: (path, mode, dev) => { - var lookup = FS.lookupPath(path, { - parent: true - }); - var parent = lookup.node; - var name = PATH.basename(path); - if (!name || name === "." || name === "..") { - throw new FS.ErrnoError(28); - } - var errCode = FS.mayCreate(parent, name); - if (errCode) { - throw new FS.ErrnoError(errCode); - } - if (!parent.node_ops.mknod) { - throw new FS.ErrnoError(63); - } - return parent.node_ops.mknod(parent, name, mode, dev); - }, - create: (path, mode) => { - mode = mode !== undefined ? mode : 438; - mode &= 4095; - mode |= 32768; - return FS.mknod(path, mode, 0); - }, - mkdir: (path, mode) => { - mode = mode !== undefined ? mode : 511; - mode &= 511 | 512; - mode |= 16384; - return FS.mknod(path, mode, 0); - }, - mkdirTree: (path, mode) => { - var dirs = path.split("/"); - var d = ""; - for (var i = 0; i < dirs.length; ++i) { - if (!dirs[i]) continue; - d += "/" + dirs[i]; - try { - FS.mkdir(d, mode); - } catch (e) { - if (e.errno != 20) throw e; - } - } - }, - mkdev: (path, mode, dev) => { - if (typeof dev == "undefined") { - dev = mode; - mode = 438; - } - mode |= 8192; - return FS.mknod(path, mode, dev); - }, - symlink: (oldpath, newpath) => { - if (!PATH_FS.resolve(oldpath)) { - throw new FS.ErrnoError(44); - } - var lookup = FS.lookupPath(newpath, { - parent: true - }); - var parent = lookup.node; - if (!parent) { - throw new FS.ErrnoError(44); - } - var newname = PATH.basename(newpath); - var errCode = FS.mayCreate(parent, newname); - if (errCode) { - throw new FS.ErrnoError(errCode); - } - if (!parent.node_ops.symlink) { - throw new FS.ErrnoError(63); - } - return parent.node_ops.symlink(parent, newname, oldpath); - }, - rename: (old_path, new_path) => { - var old_dirname = PATH.dirname(old_path); - var new_dirname = PATH.dirname(new_path); - var old_name = PATH.basename(old_path); - var new_name = PATH.basename(new_path); - var lookup, old_dir, new_dir; - lookup = FS.lookupPath(old_path, { - parent: true - }); - old_dir = lookup.node; - lookup = FS.lookupPath(new_path, { - parent: true - }); - new_dir = lookup.node; - if (!old_dir || !new_dir) throw new FS.ErrnoError(44); - if (old_dir.mount !== new_dir.mount) { - throw new FS.ErrnoError(75); - } - var old_node = FS.lookupNode(old_dir, old_name); - var relative = PATH_FS.relative(old_path, new_dirname); - if (relative.charAt(0) !== ".") { - throw new FS.ErrnoError(28); - } - relative = PATH_FS.relative(new_path, old_dirname); - if (relative.charAt(0) !== ".") { - throw new FS.ErrnoError(55); - } - var new_node; - try { - new_node = FS.lookupNode(new_dir, new_name); - } catch (e) {} - if (old_node === new_node) { - return; - } - var isdir = FS.isDir(old_node.mode); - var errCode = FS.mayDelete(old_dir, old_name, isdir); - if (errCode) { - throw new FS.ErrnoError(errCode); - } - errCode = new_node ? FS.mayDelete(new_dir, new_name, isdir) : FS.mayCreate(new_dir, new_name); - if (errCode) { - throw new FS.ErrnoError(errCode); - } - if (!old_dir.node_ops.rename) { - throw new FS.ErrnoError(63); - } - if (FS.isMountpoint(old_node) || new_node && FS.isMountpoint(new_node)) { - throw new FS.ErrnoError(10); - } - if (new_dir !== old_dir) { - errCode = FS.nodePermissions(old_dir, "w"); - if (errCode) { - throw new FS.ErrnoError(errCode); - } - } - FS.hashRemoveNode(old_node); - try { - old_dir.node_ops.rename(old_node, new_dir, new_name); - } catch (e) { - throw e; - } finally { - FS.hashAddNode(old_node); - } - }, - rmdir: path => { - var lookup = FS.lookupPath(path, { - parent: true - }); - var parent = lookup.node; - var name = PATH.basename(path); - var node = FS.lookupNode(parent, name); - var errCode = FS.mayDelete(parent, name, true); - if (errCode) { - throw new FS.ErrnoError(errCode); - } - if (!parent.node_ops.rmdir) { - throw new FS.ErrnoError(63); - } - if (FS.isMountpoint(node)) { - throw new FS.ErrnoError(10); - } - parent.node_ops.rmdir(parent, name); - FS.destroyNode(node); - }, - readdir: path => { - var lookup = FS.lookupPath(path, { - follow: true - }); - var node = lookup.node; - if (!node.node_ops.readdir) { - throw new FS.ErrnoError(54); - } - return node.node_ops.readdir(node); - }, - unlink: path => { - var lookup = FS.lookupPath(path, { - parent: true - }); - var parent = lookup.node; - if (!parent) { - throw new FS.ErrnoError(44); - } - var name = PATH.basename(path); - var node = FS.lookupNode(parent, name); - var errCode = FS.mayDelete(parent, name, false); - if (errCode) { - throw new FS.ErrnoError(errCode); - } - if (!parent.node_ops.unlink) { - throw new FS.ErrnoError(63); - } - if (FS.isMountpoint(node)) { - throw new FS.ErrnoError(10); - } - parent.node_ops.unlink(parent, name); - FS.destroyNode(node); - }, - readlink: path => { - var lookup = FS.lookupPath(path); - var link = lookup.node; - if (!link) { - throw new FS.ErrnoError(44); - } - if (!link.node_ops.readlink) { - throw new FS.ErrnoError(28); - } - return PATH_FS.resolve(FS.getPath(link.parent), link.node_ops.readlink(link)); - }, - stat: (path, dontFollow) => { - var lookup = FS.lookupPath(path, { - follow: !dontFollow - }); - var node = lookup.node; - if (!node) { - throw new FS.ErrnoError(44); - } - if (!node.node_ops.getattr) { - throw new FS.ErrnoError(63); - } - return node.node_ops.getattr(node); - }, - lstat: path => { - return FS.stat(path, true); - }, - chmod: (path, mode, dontFollow) => { - var node; - if (typeof path == "string") { - var lookup = FS.lookupPath(path, { - follow: !dontFollow - }); - node = lookup.node; - } else { - node = path; - } - if (!node.node_ops.setattr) { - throw new FS.ErrnoError(63); - } - node.node_ops.setattr(node, { - mode: mode & 4095 | node.mode & ~4095, - timestamp: Date.now() - }); - }, - lchmod: (path, mode) => { - FS.chmod(path, mode, true); - }, - fchmod: (fd, mode) => { - var stream = FS.getStream(fd); - if (!stream) { - throw new FS.ErrnoError(8); - } - FS.chmod(stream.node, mode); - }, - chown: (path, uid, gid, dontFollow) => { - var node; - if (typeof path == "string") { - var lookup = FS.lookupPath(path, { - follow: !dontFollow - }); - node = lookup.node; - } else { - node = path; - } - if (!node.node_ops.setattr) { - throw new FS.ErrnoError(63); - } - node.node_ops.setattr(node, { - timestamp: Date.now() - }); - }, - lchown: (path, uid, gid) => { - FS.chown(path, uid, gid, true); - }, - fchown: (fd, uid, gid) => { - var stream = FS.getStream(fd); - if (!stream) { - throw new FS.ErrnoError(8); - } - FS.chown(stream.node, uid, gid); - }, - truncate: (path, len) => { - if (len < 0) { - throw new FS.ErrnoError(28); - } - var node; - if (typeof path == "string") { - var lookup = FS.lookupPath(path, { - follow: true - }); - node = lookup.node; - } else { - node = path; - } - if (!node.node_ops.setattr) { - throw new FS.ErrnoError(63); - } - if (FS.isDir(node.mode)) { - throw new FS.ErrnoError(31); - } - if (!FS.isFile(node.mode)) { - throw new FS.ErrnoError(28); - } - var errCode = FS.nodePermissions(node, "w"); - if (errCode) { - throw new FS.ErrnoError(errCode); - } - node.node_ops.setattr(node, { - size: len, - timestamp: Date.now() - }); - }, - ftruncate: (fd, len) => { - var stream = FS.getStream(fd); - if (!stream) { - throw new FS.ErrnoError(8); - } - if ((stream.flags & 2097155) === 0) { - throw new FS.ErrnoError(28); - } - FS.truncate(stream.node, len); - }, - utime: (path, atime, mtime) => { - var lookup = FS.lookupPath(path, { - follow: true - }); - var node = lookup.node; - node.node_ops.setattr(node, { - timestamp: Math.max(atime, mtime) - }); - }, - open: (path, flags, mode) => { - if (path === "") { - throw new FS.ErrnoError(44); - } - flags = typeof flags == "string" ? FS.modeStringToFlags(flags) : flags; - mode = typeof mode == "undefined" ? 438 : mode; - if (flags & 64) { - mode = mode & 4095 | 32768; - } else { - mode = 0; - } - var node; - if (typeof path == "object") { - node = path; - } else { - path = PATH.normalize(path); - try { - var lookup = FS.lookupPath(path, { - follow: !(flags & 131072) - }); - node = lookup.node; - } catch (e) {} - } - var created = false; - if (flags & 64) { - if (node) { - if (flags & 128) { - throw new FS.ErrnoError(20); - } - } else { - node = FS.mknod(path, mode, 0); - created = true; - } - } - if (!node) { - throw new FS.ErrnoError(44); - } - if (FS.isChrdev(node.mode)) { - flags &= ~512; - } - if (flags & 65536 && !FS.isDir(node.mode)) { - throw new FS.ErrnoError(54); - } - if (!created) { - var errCode = FS.mayOpen(node, flags); - if (errCode) { - throw new FS.ErrnoError(errCode); - } - } - if (flags & 512 && !created) { - FS.truncate(node, 0); - } - flags &= ~(128 | 512 | 131072); - var stream = FS.createStream({ - node: node, - path: FS.getPath(node), - flags: flags, - seekable: true, - position: 0, - stream_ops: node.stream_ops, - ungotten: [], - error: false - }); - if (stream.stream_ops.open) { - stream.stream_ops.open(stream); - } - if (Module["logReadFiles"] && !(flags & 1)) { - if (!FS.readFiles) FS.readFiles = {}; - if (!(path in FS.readFiles)) { - FS.readFiles[path] = 1; - } - } - return stream; - }, - close: stream => { - if (FS.isClosed(stream)) { - throw new FS.ErrnoError(8); - } - if (stream.getdents) stream.getdents = null; - try { - if (stream.stream_ops.close) { - stream.stream_ops.close(stream); - } - } catch (e) { - throw e; - } finally { - FS.closeStream(stream.fd); - } - stream.fd = null; - }, - isClosed: stream => { - return stream.fd === null; - }, - llseek: (stream, offset, whence) => { - if (FS.isClosed(stream)) { - throw new FS.ErrnoError(8); - } - if (!stream.seekable || !stream.stream_ops.llseek) { - throw new FS.ErrnoError(70); - } - if (whence != 0 && whence != 1 && whence != 2) { - throw new FS.ErrnoError(28); - } - stream.position = stream.stream_ops.llseek(stream, offset, whence); - stream.ungotten = []; - return stream.position; - }, - read: (stream, buffer, offset, length, position) => { - if (length < 0 || position < 0) { - throw new FS.ErrnoError(28); - } - if (FS.isClosed(stream)) { - throw new FS.ErrnoError(8); - } - if ((stream.flags & 2097155) === 1) { - throw new FS.ErrnoError(8); - } - if (FS.isDir(stream.node.mode)) { - throw new FS.ErrnoError(31); - } - if (!stream.stream_ops.read) { - throw new FS.ErrnoError(28); - } - var seeking = typeof position != "undefined"; - if (!seeking) { - position = stream.position; - } else if (!stream.seekable) { - throw new FS.ErrnoError(70); - } - var bytesRead = stream.stream_ops.read(stream, buffer, offset, length, position); - if (!seeking) stream.position += bytesRead; - return bytesRead; - }, - write: (stream, buffer, offset, length, position, canOwn) => { - if (length < 0 || position < 0) { - throw new FS.ErrnoError(28); - } - if (FS.isClosed(stream)) { - throw new FS.ErrnoError(8); - } - if ((stream.flags & 2097155) === 0) { - throw new FS.ErrnoError(8); - } - if (FS.isDir(stream.node.mode)) { - throw new FS.ErrnoError(31); - } - if (!stream.stream_ops.write) { - throw new FS.ErrnoError(28); - } - if (stream.seekable && stream.flags & 1024) { - FS.llseek(stream, 0, 2); - } - var seeking = typeof position != "undefined"; - if (!seeking) { - position = stream.position; - } else if (!stream.seekable) { - throw new FS.ErrnoError(70); - } - var bytesWritten = stream.stream_ops.write(stream, buffer, offset, length, position, canOwn); - if (!seeking) stream.position += bytesWritten; - return bytesWritten; - }, - allocate: (stream, offset, length) => { - if (FS.isClosed(stream)) { - throw new FS.ErrnoError(8); - } - if (offset < 0 || length <= 0) { - throw new FS.ErrnoError(28); - } - if ((stream.flags & 2097155) === 0) { - throw new FS.ErrnoError(8); - } - if (!FS.isFile(stream.node.mode) && !FS.isDir(stream.node.mode)) { - throw new FS.ErrnoError(43); - } - if (!stream.stream_ops.allocate) { - throw new FS.ErrnoError(138); - } - stream.stream_ops.allocate(stream, offset, length); - }, - mmap: (stream, length, position, prot, flags) => { - if ((prot & 2) !== 0 && (flags & 2) === 0 && (stream.flags & 2097155) !== 2) { - throw new FS.ErrnoError(2); - } - if ((stream.flags & 2097155) === 1) { - throw new FS.ErrnoError(2); - } - if (!stream.stream_ops.mmap) { - throw new FS.ErrnoError(43); - } - return stream.stream_ops.mmap(stream, length, position, prot, flags); - }, - msync: (stream, buffer, offset, length, mmapFlags) => { - if (!stream.stream_ops.msync) { - return 0; - } - return stream.stream_ops.msync(stream, buffer, offset, length, mmapFlags); - }, - munmap: stream => 0, - ioctl: (stream, cmd, arg) => { - if (!stream.stream_ops.ioctl) { - throw new FS.ErrnoError(59); - } - return stream.stream_ops.ioctl(stream, cmd, arg); - }, - readFile: (path, opts = {}) => { - opts.flags = opts.flags || 0; - opts.encoding = opts.encoding || "binary"; - if (opts.encoding !== "utf8" && opts.encoding !== "binary") { - throw new Error('Invalid encoding type "' + opts.encoding + '"'); - } - var ret; - var stream = FS.open(path, opts.flags); - var stat = FS.stat(path); - var length = stat.size; - var buf = new Uint8Array(length); - FS.read(stream, buf, 0, length, 0); - if (opts.encoding === "utf8") { - ret = UTF8ArrayToString(buf, 0); - } else if (opts.encoding === "binary") { - ret = buf; - } - FS.close(stream); - return ret; - }, - writeFile: (path, data, opts = {}) => { - opts.flags = opts.flags || 577; - var stream = FS.open(path, opts.flags, opts.mode); - if (typeof data == "string") { - var buf = new Uint8Array(lengthBytesUTF8(data) + 1); - var actualNumBytes = stringToUTF8Array(data, buf, 0, buf.length); - FS.write(stream, buf, 0, actualNumBytes, undefined, opts.canOwn); - } else if (ArrayBuffer.isView(data)) { - FS.write(stream, data, 0, data.byteLength, undefined, opts.canOwn); - } else { - throw new Error("Unsupported data type"); - } - FS.close(stream); - }, - cwd: () => FS.currentPath, - chdir: path => { - var lookup = FS.lookupPath(path, { - follow: true - }); - if (lookup.node === null) { - throw new FS.ErrnoError(44); - } - if (!FS.isDir(lookup.node.mode)) { - throw new FS.ErrnoError(54); - } - var errCode = FS.nodePermissions(lookup.node, "x"); - if (errCode) { - throw new FS.ErrnoError(errCode); - } - FS.currentPath = lookup.path; - }, - createDefaultDirectories: () => { - FS.mkdir("/tmp"); - FS.mkdir("/home"); - FS.mkdir("/home/web_user"); - }, - createDefaultDevices: () => { - FS.mkdir("/dev"); - FS.registerDevice(FS.makedev(1, 3), { - read: () => 0, - write: (stream, buffer, offset, length, pos) => length - }); - FS.mkdev("/dev/null", FS.makedev(1, 3)); - TTY.register(FS.makedev(5, 0), TTY.default_tty_ops); - TTY.register(FS.makedev(6, 0), TTY.default_tty1_ops); - FS.mkdev("/dev/tty", FS.makedev(5, 0)); - FS.mkdev("/dev/tty1", FS.makedev(6, 0)); - var randomBuffer = new Uint8Array(1024), randomLeft = 0; - var randomByte = () => { - if (randomLeft === 0) { - randomLeft = randomFill(randomBuffer).byteLength; - } - return randomBuffer[--randomLeft]; - }; - FS.createDevice("/dev", "random", randomByte); - FS.createDevice("/dev", "urandom", randomByte); - FS.mkdir("/dev/shm"); - FS.mkdir("/dev/shm/tmp"); - }, - createSpecialDirectories: () => { - FS.mkdir("/proc"); - var proc_self = FS.mkdir("/proc/self"); - FS.mkdir("/proc/self/fd"); - FS.mount({ - mount: () => { - var node = FS.createNode(proc_self, "fd", 16384 | 511, 73); - node.node_ops = { - lookup: (parent, name) => { - var fd = +name; - var stream = FS.getStream(fd); - if (!stream) throw new FS.ErrnoError(8); - var ret = { - parent: null, - mount: { - mountpoint: "fake" - }, - node_ops: { - readlink: () => stream.path - } - }; - ret.parent = ret; - return ret; - } - }; - return node; - } - }, {}, "/proc/self/fd"); - }, - createStandardStreams: () => { - if (Module["stdin"]) { - FS.createDevice("/dev", "stdin", Module["stdin"]); - } else { - FS.symlink("/dev/tty", "/dev/stdin"); - } - if (Module["stdout"]) { - FS.createDevice("/dev", "stdout", null, Module["stdout"]); - } else { - FS.symlink("/dev/tty", "/dev/stdout"); - } - if (Module["stderr"]) { - FS.createDevice("/dev", "stderr", null, Module["stderr"]); - } else { - FS.symlink("/dev/tty1", "/dev/stderr"); - } - var stdin = FS.open("/dev/stdin", 0); - var stdout = FS.open("/dev/stdout", 1); - var stderr = FS.open("/dev/stderr", 1); - }, - ensureErrnoError: () => { - if (FS.ErrnoError) return; - FS.ErrnoError = function ErrnoError(errno, node) { - this.name = "ErrnoError"; - this.node = node; - this.setErrno = function(errno) { - this.errno = errno; - }; - this.setErrno(errno); - this.message = "FS error"; - }; - FS.ErrnoError.prototype = new Error(); - FS.ErrnoError.prototype.constructor = FS.ErrnoError; - [ 44 ].forEach(code => { - FS.genericErrors[code] = new FS.ErrnoError(code); - FS.genericErrors[code].stack = ""; - }); - }, - staticInit: () => { - FS.ensureErrnoError(); - FS.nameTable = new Array(4096); - FS.mount(MEMFS, {}, "/"); - FS.createDefaultDirectories(); - FS.createDefaultDevices(); - FS.createSpecialDirectories(); - FS.filesystems = { - "MEMFS": MEMFS - }; - }, - init: (input, output, error) => { - FS.init.initialized = true; - FS.ensureErrnoError(); - Module["stdin"] = input || Module["stdin"]; - Module["stdout"] = output || Module["stdout"]; - Module["stderr"] = error || Module["stderr"]; - FS.createStandardStreams(); - }, - quit: () => { - FS.init.initialized = false; - for (var i = 0; i < FS.streams.length; i++) { - var stream = FS.streams[i]; - if (!stream) { - continue; - } - FS.close(stream); - } - }, - getMode: (canRead, canWrite) => { - var mode = 0; - if (canRead) mode |= 292 | 73; - if (canWrite) mode |= 146; - return mode; - }, - findObject: (path, dontResolveLastLink) => { - var ret = FS.analyzePath(path, dontResolveLastLink); - if (!ret.exists) { - return null; - } - return ret.object; - }, - analyzePath: (path, dontResolveLastLink) => { - try { - var lookup = FS.lookupPath(path, { - follow: !dontResolveLastLink - }); - path = lookup.path; - } catch (e) {} - var ret = { - isRoot: false, - exists: false, - error: 0, - name: null, - path: null, - object: null, - parentExists: false, - parentPath: null, - parentObject: null - }; - try { - var lookup = FS.lookupPath(path, { - parent: true - }); - ret.parentExists = true; - ret.parentPath = lookup.path; - ret.parentObject = lookup.node; - ret.name = PATH.basename(path); - lookup = FS.lookupPath(path, { - follow: !dontResolveLastLink - }); - ret.exists = true; - ret.path = lookup.path; - ret.object = lookup.node; - ret.name = lookup.node.name; - ret.isRoot = lookup.path === "/"; - } catch (e) { - ret.error = e.errno; - } - return ret; - }, - createPath: (parent, path, canRead, canWrite) => { - parent = typeof parent == "string" ? parent : FS.getPath(parent); - var parts = path.split("/").reverse(); - while (parts.length) { - var part = parts.pop(); - if (!part) continue; - var current = PATH.join2(parent, part); - try { - FS.mkdir(current); - } catch (e) {} - parent = current; - } - return current; - }, - createFile: (parent, name, properties, canRead, canWrite) => { - var path = PATH.join2(typeof parent == "string" ? parent : FS.getPath(parent), name); - var mode = FS.getMode(canRead, canWrite); - return FS.create(path, mode); - }, - createDataFile: (parent, name, data, canRead, canWrite, canOwn) => { - var path = name; - if (parent) { - parent = typeof parent == "string" ? parent : FS.getPath(parent); - path = name ? PATH.join2(parent, name) : parent; - } - var mode = FS.getMode(canRead, canWrite); - var node = FS.create(path, mode); - if (data) { - if (typeof data == "string") { - var arr = new Array(data.length); - for (var i = 0, len = data.length; i < len; ++i) arr[i] = data.charCodeAt(i); - data = arr; - } - FS.chmod(node, mode | 146); - var stream = FS.open(node, 577); - FS.write(stream, data, 0, data.length, 0, canOwn); - FS.close(stream); - FS.chmod(node, mode); - } - return node; - }, - createDevice: (parent, name, input, output) => { - var path = PATH.join2(typeof parent == "string" ? parent : FS.getPath(parent), name); - var mode = FS.getMode(!!input, !!output); - if (!FS.createDevice.major) FS.createDevice.major = 64; - var dev = FS.makedev(FS.createDevice.major++, 0); - FS.registerDevice(dev, { - open: stream => { - stream.seekable = false; - }, - close: stream => { - if (output && output.buffer && output.buffer.length) { - output(10); - } - }, - read: (stream, buffer, offset, length, pos) => { - var bytesRead = 0; - for (var i = 0; i < length; i++) { - var result; - try { - result = input(); - } catch (e) { - throw new FS.ErrnoError(29); - } - if (result === undefined && bytesRead === 0) { - throw new FS.ErrnoError(6); - } - if (result === null || result === undefined) break; - bytesRead++; - buffer[offset + i] = result; - } - if (bytesRead) { - stream.node.timestamp = Date.now(); - } - return bytesRead; - }, - write: (stream, buffer, offset, length, pos) => { - for (var i = 0; i < length; i++) { - try { - output(buffer[offset + i]); - } catch (e) { - throw new FS.ErrnoError(29); - } - } - if (length) { - stream.node.timestamp = Date.now(); - } - return i; - } - }); - return FS.mkdev(path, mode, dev); - }, - forceLoadFile: obj => { - if (obj.isDevice || obj.isFolder || obj.link || obj.contents) return true; - if (typeof XMLHttpRequest != "undefined") { - throw new Error("Lazy loading should have been performed (contents set) in createLazyFile, but it was not. Lazy loading only works in web workers. Use --embed-file or --preload-file in emcc on the main thread."); - } else if (read_) { - try { - obj.contents = intArrayFromString(read_(obj.url), true); - obj.usedBytes = obj.contents.length; - } catch (e) { - throw new FS.ErrnoError(29); - } - } else { - throw new Error("Cannot load without read() or XMLHttpRequest."); - } - }, - createLazyFile: (parent, name, url, canRead, canWrite) => { - function LazyUint8Array() { - this.lengthKnown = false; - this.chunks = []; - } - LazyUint8Array.prototype.get = function LazyUint8Array_get(idx) { - if (idx > this.length - 1 || idx < 0) { - return undefined; - } - var chunkOffset = idx % this.chunkSize; - var chunkNum = idx / this.chunkSize | 0; - return this.getter(chunkNum)[chunkOffset]; - }; - LazyUint8Array.prototype.setDataGetter = function LazyUint8Array_setDataGetter(getter) { - this.getter = getter; - }; - LazyUint8Array.prototype.cacheLength = function LazyUint8Array_cacheLength() { - var xhr = new XMLHttpRequest(); - xhr.open("HEAD", url, false); - xhr.send(null); - if (!(xhr.status >= 200 && xhr.status < 300 || xhr.status === 304)) throw new Error("Couldn't load " + url + ". Status: " + xhr.status); - var datalength = Number(xhr.getResponseHeader("Content-length")); - var header; - var hasByteServing = (header = xhr.getResponseHeader("Accept-Ranges")) && header === "bytes"; - var usesGzip = (header = xhr.getResponseHeader("Content-Encoding")) && header === "gzip"; - var chunkSize = 1024 * 1024; - if (!hasByteServing) chunkSize = datalength; - var doXHR = (from, to) => { - if (from > to) throw new Error("invalid range (" + from + ", " + to + ") or no bytes requested!"); - if (to > datalength - 1) throw new Error("only " + datalength + " bytes available! programmer error!"); - var xhr = new XMLHttpRequest(); - xhr.open("GET", url, false); - if (datalength !== chunkSize) xhr.setRequestHeader("Range", "bytes=" + from + "-" + to); - xhr.responseType = "arraybuffer"; - if (xhr.overrideMimeType) { - xhr.overrideMimeType("text/plain; charset=x-user-defined"); - } - xhr.send(null); - if (!(xhr.status >= 200 && xhr.status < 300 || xhr.status === 304)) throw new Error("Couldn't load " + url + ". Status: " + xhr.status); - if (xhr.response !== undefined) { - return new Uint8Array(xhr.response || []); - } - return intArrayFromString(xhr.responseText || "", true); - }; - var lazyArray = this; - lazyArray.setDataGetter(chunkNum => { - var start = chunkNum * chunkSize; - var end = (chunkNum + 1) * chunkSize - 1; - end = Math.min(end, datalength - 1); - if (typeof lazyArray.chunks[chunkNum] == "undefined") { - lazyArray.chunks[chunkNum] = doXHR(start, end); - } - if (typeof lazyArray.chunks[chunkNum] == "undefined") throw new Error("doXHR failed!"); - return lazyArray.chunks[chunkNum]; - }); - if (usesGzip || !datalength) { - chunkSize = datalength = 1; - datalength = this.getter(0).length; - chunkSize = datalength; - out("LazyFiles on gzip forces download of the whole file when length is accessed"); - } - this._length = datalength; - this._chunkSize = chunkSize; - this.lengthKnown = true; - }; - if (typeof XMLHttpRequest != "undefined") { - if (!ENVIRONMENT_IS_WORKER) throw "Cannot do synchronous binary XHRs outside webworkers in modern browsers. Use --embed-file or --preload-file in emcc"; - var lazyArray = new LazyUint8Array(); - Object.defineProperties(lazyArray, { - length: { - get: function() { - if (!this.lengthKnown) { - this.cacheLength(); - } - return this._length; - } - }, - chunkSize: { - get: function() { - if (!this.lengthKnown) { - this.cacheLength(); - } - return this._chunkSize; - } - } - }); - var properties = { - isDevice: false, - contents: lazyArray - }; - } else { - var properties = { - isDevice: false, - url: url - }; - } - var node = FS.createFile(parent, name, properties, canRead, canWrite); - if (properties.contents) { - node.contents = properties.contents; - } else if (properties.url) { - node.contents = null; - node.url = properties.url; - } - Object.defineProperties(node, { - usedBytes: { - get: function() { - return this.contents.length; - } - } - }); - var stream_ops = {}; - var keys = Object.keys(node.stream_ops); - keys.forEach(key => { - var fn = node.stream_ops[key]; - stream_ops[key] = function forceLoadLazyFile() { - FS.forceLoadFile(node); - return fn.apply(null, arguments); - }; - }); - function writeChunks(stream, buffer, offset, length, position) { - var contents = stream.node.contents; - if (position >= contents.length) return 0; - var size = Math.min(contents.length - position, length); - if (contents.slice) { - for (var i = 0; i < size; i++) { - buffer[offset + i] = contents[position + i]; - } - } else { - for (var i = 0; i < size; i++) { - buffer[offset + i] = contents.get(position + i); - } - } - return size; - } - stream_ops.read = (stream, buffer, offset, length, position) => { - FS.forceLoadFile(node); - return writeChunks(stream, buffer, offset, length, position); - }; - stream_ops.mmap = (stream, length, position, prot, flags) => { - FS.forceLoadFile(node); - var ptr = mmapAlloc(length); - if (!ptr) { - throw new FS.ErrnoError(48); - } - writeChunks(stream, HEAP8, ptr, length, position); - return { - ptr: ptr, - allocated: true - }; - }; - node.stream_ops = stream_ops; - return node; - }, - createPreloadedFile: (parent, name, url, canRead, canWrite, onload, onerror, dontCreateFile, canOwn, preFinish) => { - var fullname = name ? PATH_FS.resolve(PATH.join2(parent, name)) : parent; - var dep = getUniqueRunDependency("cp " + fullname); - function processData(byteArray) { - function finish(byteArray) { - if (preFinish) preFinish(); - if (!dontCreateFile) { - FS.createDataFile(parent, name, byteArray, canRead, canWrite, canOwn); - } - if (onload) onload(); - removeRunDependency(dep); - } - if (Browser.handledByPreloadPlugin(byteArray, fullname, finish, () => { - if (onerror) onerror(); - removeRunDependency(dep); - })) { - return; - } - finish(byteArray); - } - addRunDependency(dep); - if (typeof url == "string") { - asyncLoad(url, byteArray => processData(byteArray), onerror); - } else { - processData(url); - } - } -}; - -var UTF8Decoder = typeof TextDecoder != "undefined" ? new TextDecoder("utf8") : undefined; - -function UTF8ArrayToString(heapOrArray, idx, maxBytesToRead) { - var endIdx = idx + maxBytesToRead; - var endPtr = idx; - while (heapOrArray[endPtr] && !(endPtr >= endIdx)) ++endPtr; - if (endPtr - idx > 16 && heapOrArray.buffer && UTF8Decoder) { - return UTF8Decoder.decode(heapOrArray.subarray(idx, endPtr)); - } - var str = ""; - while (idx < endPtr) { - var u0 = heapOrArray[idx++]; - if (!(u0 & 128)) { - str += String.fromCharCode(u0); - continue; - } - var u1 = heapOrArray[idx++] & 63; - if ((u0 & 224) == 192) { - str += String.fromCharCode((u0 & 31) << 6 | u1); - continue; - } - var u2 = heapOrArray[idx++] & 63; - if ((u0 & 240) == 224) { - u0 = (u0 & 15) << 12 | u1 << 6 | u2; - } else { - u0 = (u0 & 7) << 18 | u1 << 12 | u2 << 6 | heapOrArray[idx++] & 63; - } - if (u0 < 65536) { - str += String.fromCharCode(u0); - } else { - var ch = u0 - 65536; - str += String.fromCharCode(55296 | ch >> 10, 56320 | ch & 1023); - } - } - return str; -} - -function UTF8ToString(ptr, maxBytesToRead) { - return ptr ? UTF8ArrayToString(HEAPU8, ptr, maxBytesToRead) : ""; -} - -var SYSCALLS = { - DEFAULT_POLLMASK: 5, - calculateAt: function(dirfd, path, allowEmpty) { - if (PATH.isAbs(path)) { - return path; - } - var dir; - if (dirfd === -100) { - dir = FS.cwd(); - } else { - var dirstream = SYSCALLS.getStreamFromFD(dirfd); - dir = dirstream.path; - } - if (path.length == 0) { - if (!allowEmpty) { - throw new FS.ErrnoError(44); - } - return dir; - } - return PATH.join2(dir, path); - }, - doStat: function(func, path, buf) { - try { - var stat = func(path); - } catch (e) { - if (e && e.node && PATH.normalize(path) !== PATH.normalize(FS.getPath(e.node))) { - return -54; - } - throw e; - } - HEAP32[buf >> 2] = stat.dev; - HEAP32[buf + 8 >> 2] = stat.ino; - HEAP32[buf + 12 >> 2] = stat.mode; - HEAPU32[buf + 16 >> 2] = stat.nlink; - HEAP32[buf + 20 >> 2] = stat.uid; - HEAP32[buf + 24 >> 2] = stat.gid; - HEAP32[buf + 28 >> 2] = stat.rdev; - tempI64 = [ stat.size >>> 0, (tempDouble = stat.size, +Math.abs(tempDouble) >= 1 ? tempDouble > 0 ? (Math.min(+Math.floor(tempDouble / 4294967296), 4294967295) | 0) >>> 0 : ~~+Math.ceil((tempDouble - +(~~tempDouble >>> 0)) / 4294967296) >>> 0 : 0) ], - HEAP32[buf + 40 >> 2] = tempI64[0], HEAP32[buf + 44 >> 2] = tempI64[1]; - HEAP32[buf + 48 >> 2] = 4096; - HEAP32[buf + 52 >> 2] = stat.blocks; - var atime = stat.atime.getTime(); - var mtime = stat.mtime.getTime(); - var ctime = stat.ctime.getTime(); - tempI64 = [ Math.floor(atime / 1e3) >>> 0, (tempDouble = Math.floor(atime / 1e3), - +Math.abs(tempDouble) >= 1 ? tempDouble > 0 ? (Math.min(+Math.floor(tempDouble / 4294967296), 4294967295) | 0) >>> 0 : ~~+Math.ceil((tempDouble - +(~~tempDouble >>> 0)) / 4294967296) >>> 0 : 0) ], - HEAP32[buf + 56 >> 2] = tempI64[0], HEAP32[buf + 60 >> 2] = tempI64[1]; - HEAPU32[buf + 64 >> 2] = atime % 1e3 * 1e3; - tempI64 = [ Math.floor(mtime / 1e3) >>> 0, (tempDouble = Math.floor(mtime / 1e3), - +Math.abs(tempDouble) >= 1 ? tempDouble > 0 ? (Math.min(+Math.floor(tempDouble / 4294967296), 4294967295) | 0) >>> 0 : ~~+Math.ceil((tempDouble - +(~~tempDouble >>> 0)) / 4294967296) >>> 0 : 0) ], - HEAP32[buf + 72 >> 2] = tempI64[0], HEAP32[buf + 76 >> 2] = tempI64[1]; - HEAPU32[buf + 80 >> 2] = mtime % 1e3 * 1e3; - tempI64 = [ Math.floor(ctime / 1e3) >>> 0, (tempDouble = Math.floor(ctime / 1e3), - +Math.abs(tempDouble) >= 1 ? tempDouble > 0 ? (Math.min(+Math.floor(tempDouble / 4294967296), 4294967295) | 0) >>> 0 : ~~+Math.ceil((tempDouble - +(~~tempDouble >>> 0)) / 4294967296) >>> 0 : 0) ], - HEAP32[buf + 88 >> 2] = tempI64[0], HEAP32[buf + 92 >> 2] = tempI64[1]; - HEAPU32[buf + 96 >> 2] = ctime % 1e3 * 1e3; - tempI64 = [ stat.ino >>> 0, (tempDouble = stat.ino, +Math.abs(tempDouble) >= 1 ? tempDouble > 0 ? (Math.min(+Math.floor(tempDouble / 4294967296), 4294967295) | 0) >>> 0 : ~~+Math.ceil((tempDouble - +(~~tempDouble >>> 0)) / 4294967296) >>> 0 : 0) ], - HEAP32[buf + 104 >> 2] = tempI64[0], HEAP32[buf + 108 >> 2] = tempI64[1]; - return 0; - }, - doMsync: function(addr, stream, len, flags, offset) { - if (!FS.isFile(stream.node.mode)) { - throw new FS.ErrnoError(43); - } - if (flags & 2) { - return 0; - } - var buffer = HEAPU8.slice(addr, addr + len); - FS.msync(stream, buffer, offset, len, flags); - }, - varargs: undefined, - get: function() { - SYSCALLS.varargs += 4; - var ret = HEAP32[SYSCALLS.varargs - 4 >> 2]; - return ret; - }, - getStr: function(ptr) { - var ret = UTF8ToString(ptr); - return ret; - }, - getStreamFromFD: function(fd) { - var stream = FS.getStream(fd); - if (!stream) throw new FS.ErrnoError(8); - return stream; - } -}; - -function _proc_exit(code) { - EXITSTATUS = code; - if (!keepRuntimeAlive()) { - if (Module["onExit"]) Module["onExit"](code); - ABORT = true; - } - quit_(code, new ExitStatus(code)); -} - -function exitJS(status, implicit) { - EXITSTATUS = status; - _proc_exit(status); -} - -var _exit = exitJS; - -function maybeExit() { - if (!keepRuntimeAlive()) { - try { - _exit(EXITSTATUS); - } catch (e) { - handleException(e); - } - } -} - -function callUserCallback(func) { - if (ABORT) { - return; - } - try { - func(); - maybeExit(); - } catch (e) { - handleException(e); - } -} - -function safeSetTimeout(func, timeout) { - return setTimeout(function() { - callUserCallback(func); - }, timeout); -} - -function warnOnce(text) { - if (!warnOnce.shown) warnOnce.shown = {}; - if (!warnOnce.shown[text]) { - warnOnce.shown[text] = 1; - if (ENVIRONMENT_IS_NODE) text = "warning: " + text; - err(text); - } -} - -var Browser = { - mainLoop: { - running: false, - scheduler: null, - method: "", - currentlyRunningMainloop: 0, - func: null, - arg: 0, - timingMode: 0, - timingValue: 0, - currentFrameNumber: 0, - queue: [], - pause: function() { - Browser.mainLoop.scheduler = null; - Browser.mainLoop.currentlyRunningMainloop++; - }, - resume: function() { - Browser.mainLoop.currentlyRunningMainloop++; - var timingMode = Browser.mainLoop.timingMode; - var timingValue = Browser.mainLoop.timingValue; - var func = Browser.mainLoop.func; - Browser.mainLoop.func = null; - setMainLoop(func, 0, false, Browser.mainLoop.arg, true); - _emscripten_set_main_loop_timing(timingMode, timingValue); - Browser.mainLoop.scheduler(); - }, - updateStatus: function() { - if (Module["setStatus"]) { - var message = Module["statusMessage"] || "Please wait..."; - var remaining = Browser.mainLoop.remainingBlockers; - var expected = Browser.mainLoop.expectedBlockers; - if (remaining) { - if (remaining < expected) { - Module["setStatus"](message + " (" + (expected - remaining) + "/" + expected + ")"); - } else { - Module["setStatus"](message); - } - } else { - Module["setStatus"](""); - } - } - }, - runIter: function(func) { - if (ABORT) return; - if (Module["preMainLoop"]) { - var preRet = Module["preMainLoop"](); - if (preRet === false) { - return; - } - } - callUserCallback(func); - if (Module["postMainLoop"]) Module["postMainLoop"](); - } - }, - isFullscreen: false, - pointerLock: false, - moduleContextCreatedCallbacks: [], - workers: [], - init: function() { - if (!Module["preloadPlugins"]) Module["preloadPlugins"] = []; - if (Browser.initted) return; - Browser.initted = true; - try { - new Blob(); - Browser.hasBlobConstructor = true; - } catch (e) { - Browser.hasBlobConstructor = false; - err("warning: no blob constructor, cannot create blobs with mimetypes"); - } - Browser.BlobBuilder = typeof MozBlobBuilder != "undefined" ? MozBlobBuilder : typeof WebKitBlobBuilder != "undefined" ? WebKitBlobBuilder : !Browser.hasBlobConstructor ? err("warning: no BlobBuilder") : null; - Browser.URLObject = typeof window != "undefined" ? window.URL ? window.URL : window.webkitURL : undefined; - if (!Module.noImageDecoding && typeof Browser.URLObject == "undefined") { - err("warning: Browser does not support creating object URLs. Built-in browser image decoding will not be available."); - Module.noImageDecoding = true; - } - var imagePlugin = {}; - imagePlugin["canHandle"] = function imagePlugin_canHandle(name) { - return !Module.noImageDecoding && /\.(jpg|jpeg|png|bmp)$/i.test(name); - }; - imagePlugin["handle"] = function imagePlugin_handle(byteArray, name, onload, onerror) { - var b = null; - if (Browser.hasBlobConstructor) { - try { - b = new Blob([ byteArray ], { - type: Browser.getMimetype(name) - }); - if (b.size !== byteArray.length) { - b = new Blob([ new Uint8Array(byteArray).buffer ], { - type: Browser.getMimetype(name) - }); - } - } catch (e) { - warnOnce("Blob constructor present but fails: " + e + "; falling back to blob builder"); - } - } - if (!b) { - var bb = new Browser.BlobBuilder(); - bb.append(new Uint8Array(byteArray).buffer); - b = bb.getBlob(); - } - var url = Browser.URLObject.createObjectURL(b); - var img = new Image(); - img.onload = () => { - assert(img.complete, "Image " + name + " could not be decoded"); - var canvas = document.createElement("canvas"); - canvas.width = img.width; - canvas.height = img.height; - var ctx = canvas.getContext("2d"); - ctx.drawImage(img, 0, 0); - preloadedImages[name] = canvas; - Browser.URLObject.revokeObjectURL(url); - if (onload) onload(byteArray); - }; - img.onerror = event => { - out("Image " + url + " could not be decoded"); - if (onerror) onerror(); - }; - img.src = url; - }; - Module["preloadPlugins"].push(imagePlugin); - var audioPlugin = {}; - audioPlugin["canHandle"] = function audioPlugin_canHandle(name) { - return !Module.noAudioDecoding && name.substr(-4) in { - ".ogg": 1, - ".wav": 1, - ".mp3": 1 - }; - }; - audioPlugin["handle"] = function audioPlugin_handle(byteArray, name, onload, onerror) { - var done = false; - function finish(audio) { - if (done) return; - done = true; - preloadedAudios[name] = audio; - if (onload) onload(byteArray); - } - function fail() { - if (done) return; - done = true; - preloadedAudios[name] = new Audio(); - if (onerror) onerror(); - } - if (Browser.hasBlobConstructor) { - try { - var b = new Blob([ byteArray ], { - type: Browser.getMimetype(name) - }); - } catch (e) { - return fail(); - } - var url = Browser.URLObject.createObjectURL(b); - var audio = new Audio(); - audio.addEventListener("canplaythrough", () => finish(audio), false); - audio.onerror = function audio_onerror(event) { - if (done) return; - err("warning: browser could not fully decode audio " + name + ", trying slower base64 approach"); - function encode64(data) { - var BASE = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; - var PAD = "="; - var ret = ""; - var leftchar = 0; - var leftbits = 0; - for (var i = 0; i < data.length; i++) { - leftchar = leftchar << 8 | data[i]; - leftbits += 8; - while (leftbits >= 6) { - var curr = leftchar >> leftbits - 6 & 63; - leftbits -= 6; - ret += BASE[curr]; - } - } - if (leftbits == 2) { - ret += BASE[(leftchar & 3) << 4]; - ret += PAD + PAD; - } else if (leftbits == 4) { - ret += BASE[(leftchar & 15) << 2]; - ret += PAD; - } - return ret; - } - audio.src = "data:audio/x-" + name.substr(-3) + ";base64," + encode64(byteArray); - finish(audio); - }; - audio.src = url; - safeSetTimeout(function() { - finish(audio); - }, 1e4); - } else { - return fail(); - } - }; - Module["preloadPlugins"].push(audioPlugin); - function pointerLockChange() { - Browser.pointerLock = document["pointerLockElement"] === Module["canvas"] || document["mozPointerLockElement"] === Module["canvas"] || document["webkitPointerLockElement"] === Module["canvas"] || document["msPointerLockElement"] === Module["canvas"]; - } - var canvas = Module["canvas"]; - if (canvas) { - canvas.requestPointerLock = canvas["requestPointerLock"] || canvas["mozRequestPointerLock"] || canvas["webkitRequestPointerLock"] || canvas["msRequestPointerLock"] || (() => {}); - canvas.exitPointerLock = document["exitPointerLock"] || document["mozExitPointerLock"] || document["webkitExitPointerLock"] || document["msExitPointerLock"] || (() => {}); - canvas.exitPointerLock = canvas.exitPointerLock.bind(document); - document.addEventListener("pointerlockchange", pointerLockChange, false); - document.addEventListener("mozpointerlockchange", pointerLockChange, false); - document.addEventListener("webkitpointerlockchange", pointerLockChange, false); - document.addEventListener("mspointerlockchange", pointerLockChange, false); - if (Module["elementPointerLock"]) { - canvas.addEventListener("click", ev => { - if (!Browser.pointerLock && Module["canvas"].requestPointerLock) { - Module["canvas"].requestPointerLock(); - ev.preventDefault(); - } - }, false); - } - } - }, - handledByPreloadPlugin: function(byteArray, fullname, finish, onerror) { - Browser.init(); - var handled = false; - Module["preloadPlugins"].forEach(function(plugin) { - if (handled) return; - if (plugin["canHandle"](fullname)) { - plugin["handle"](byteArray, fullname, finish, onerror); - handled = true; - } - }); - return handled; - }, - createContext: function(canvas, useWebGL, setInModule, webGLContextAttributes) { - if (useWebGL && Module.ctx && canvas == Module.canvas) return Module.ctx; - var ctx; - var contextHandle; - if (useWebGL) { - var contextAttributes = { - antialias: false, - alpha: false, - majorVersion: typeof WebGL2RenderingContext != "undefined" ? 2 : 1 - }; - if (webGLContextAttributes) { - for (var attribute in webGLContextAttributes) { - contextAttributes[attribute] = webGLContextAttributes[attribute]; - } - } - if (typeof GL != "undefined") { - contextHandle = GL.createContext(canvas, contextAttributes); - if (contextHandle) { - ctx = GL.getContext(contextHandle).GLctx; - } - } - } else { - ctx = canvas.getContext("2d"); - } - if (!ctx) return null; - if (setInModule) { - if (!useWebGL) assert(typeof GLctx == "undefined", "cannot set in module if GLctx is used, but we are a non-GL context that would replace it"); - Module.ctx = ctx; - if (useWebGL) GL.makeContextCurrent(contextHandle); - Module.useWebGL = useWebGL; - Browser.moduleContextCreatedCallbacks.forEach(function(callback) { - callback(); - }); - Browser.init(); - } - return ctx; - }, - destroyContext: function(canvas, useWebGL, setInModule) {}, - fullscreenHandlersInstalled: false, - lockPointer: undefined, - resizeCanvas: undefined, - requestFullscreen: function(lockPointer, resizeCanvas) { - Browser.lockPointer = lockPointer; - Browser.resizeCanvas = resizeCanvas; - if (typeof Browser.lockPointer == "undefined") Browser.lockPointer = true; - if (typeof Browser.resizeCanvas == "undefined") Browser.resizeCanvas = false; - var canvas = Module["canvas"]; - function fullscreenChange() { - Browser.isFullscreen = false; - var canvasContainer = canvas.parentNode; - if ((document["fullscreenElement"] || document["mozFullScreenElement"] || document["msFullscreenElement"] || document["webkitFullscreenElement"] || document["webkitCurrentFullScreenElement"]) === canvasContainer) { - canvas.exitFullscreen = Browser.exitFullscreen; - if (Browser.lockPointer) canvas.requestPointerLock(); - Browser.isFullscreen = true; - if (Browser.resizeCanvas) { - Browser.setFullscreenCanvasSize(); - } else { - Browser.updateCanvasDimensions(canvas); - } - } else { - canvasContainer.parentNode.insertBefore(canvas, canvasContainer); - canvasContainer.parentNode.removeChild(canvasContainer); - if (Browser.resizeCanvas) { - Browser.setWindowedCanvasSize(); - } else { - Browser.updateCanvasDimensions(canvas); - } - } - if (Module["onFullScreen"]) Module["onFullScreen"](Browser.isFullscreen); - if (Module["onFullscreen"]) Module["onFullscreen"](Browser.isFullscreen); - } - if (!Browser.fullscreenHandlersInstalled) { - Browser.fullscreenHandlersInstalled = true; - document.addEventListener("fullscreenchange", fullscreenChange, false); - document.addEventListener("mozfullscreenchange", fullscreenChange, false); - document.addEventListener("webkitfullscreenchange", fullscreenChange, false); - document.addEventListener("MSFullscreenChange", fullscreenChange, false); - } - var canvasContainer = document.createElement("div"); - canvas.parentNode.insertBefore(canvasContainer, canvas); - canvasContainer.appendChild(canvas); - canvasContainer.requestFullscreen = canvasContainer["requestFullscreen"] || canvasContainer["mozRequestFullScreen"] || canvasContainer["msRequestFullscreen"] || (canvasContainer["webkitRequestFullscreen"] ? () => canvasContainer["webkitRequestFullscreen"](Element["ALLOW_KEYBOARD_INPUT"]) : null) || (canvasContainer["webkitRequestFullScreen"] ? () => canvasContainer["webkitRequestFullScreen"](Element["ALLOW_KEYBOARD_INPUT"]) : null); - canvasContainer.requestFullscreen(); - }, - exitFullscreen: function() { - if (!Browser.isFullscreen) { - return false; - } - var CFS = document["exitFullscreen"] || document["cancelFullScreen"] || document["mozCancelFullScreen"] || document["msExitFullscreen"] || document["webkitCancelFullScreen"] || function() {}; - CFS.apply(document, []); - return true; - }, - nextRAF: 0, - fakeRequestAnimationFrame: function(func) { - var now = Date.now(); - if (Browser.nextRAF === 0) { - Browser.nextRAF = now + 1e3 / 60; - } else { - while (now + 2 >= Browser.nextRAF) { - Browser.nextRAF += 1e3 / 60; - } - } - var delay = Math.max(Browser.nextRAF - now, 0); - setTimeout(func, delay); - }, - requestAnimationFrame: function(func) { - if (typeof requestAnimationFrame == "function") { - requestAnimationFrame(func); - return; - } - var RAF = Browser.fakeRequestAnimationFrame; - RAF(func); - }, - safeSetTimeout: function(func, timeout) { - return safeSetTimeout(func, timeout); - }, - safeRequestAnimationFrame: function(func) { - return Browser.requestAnimationFrame(function() { - callUserCallback(func); - }); - }, - getMimetype: function(name) { - return { - "jpg": "image/jpeg", - "jpeg": "image/jpeg", - "png": "image/png", - "bmp": "image/bmp", - "ogg": "audio/ogg", - "wav": "audio/wav", - "mp3": "audio/mpeg" - }[name.substr(name.lastIndexOf(".") + 1)]; - }, - getUserMedia: function(func) { - if (!window.getUserMedia) { - window.getUserMedia = navigator["getUserMedia"] || navigator["mozGetUserMedia"]; - } - window.getUserMedia(func); - }, - getMovementX: function(event) { - return event["movementX"] || event["mozMovementX"] || event["webkitMovementX"] || 0; - }, - getMovementY: function(event) { - return event["movementY"] || event["mozMovementY"] || event["webkitMovementY"] || 0; - }, - getMouseWheelDelta: function(event) { - var delta = 0; - switch (event.type) { - case "DOMMouseScroll": - delta = event.detail / 3; - break; - - case "mousewheel": - delta = event.wheelDelta / 120; - break; - - case "wheel": - delta = event.deltaY; - switch (event.deltaMode) { - case 0: - delta /= 100; - break; - - case 1: - delta /= 3; - break; - - case 2: - delta *= 80; - break; - - default: - throw "unrecognized mouse wheel delta mode: " + event.deltaMode; - } - break; - - default: - throw "unrecognized mouse wheel event: " + event.type; - } - return delta; - }, - mouseX: 0, - mouseY: 0, - mouseMovementX: 0, - mouseMovementY: 0, - touches: {}, - lastTouches: {}, - calculateMouseEvent: function(event) { - if (Browser.pointerLock) { - if (event.type != "mousemove" && "mozMovementX" in event) { - Browser.mouseMovementX = Browser.mouseMovementY = 0; - } else { - Browser.mouseMovementX = Browser.getMovementX(event); - Browser.mouseMovementY = Browser.getMovementY(event); - } - if (typeof SDL != "undefined") { - Browser.mouseX = SDL.mouseX + Browser.mouseMovementX; - Browser.mouseY = SDL.mouseY + Browser.mouseMovementY; - } else { - Browser.mouseX += Browser.mouseMovementX; - Browser.mouseY += Browser.mouseMovementY; - } - } else { - var rect = Module["canvas"].getBoundingClientRect(); - var cw = Module["canvas"].width; - var ch = Module["canvas"].height; - var scrollX = typeof window.scrollX != "undefined" ? window.scrollX : window.pageXOffset; - var scrollY = typeof window.scrollY != "undefined" ? window.scrollY : window.pageYOffset; - if (event.type === "touchstart" || event.type === "touchend" || event.type === "touchmove") { - var touch = event.touch; - if (touch === undefined) { - return; - } - var adjustedX = touch.pageX - (scrollX + rect.left); - var adjustedY = touch.pageY - (scrollY + rect.top); - adjustedX = adjustedX * (cw / rect.width); - adjustedY = adjustedY * (ch / rect.height); - var coords = { - x: adjustedX, - y: adjustedY - }; - if (event.type === "touchstart") { - Browser.lastTouches[touch.identifier] = coords; - Browser.touches[touch.identifier] = coords; - } else if (event.type === "touchend" || event.type === "touchmove") { - var last = Browser.touches[touch.identifier]; - if (!last) last = coords; - Browser.lastTouches[touch.identifier] = last; - Browser.touches[touch.identifier] = coords; - } - return; - } - var x = event.pageX - (scrollX + rect.left); - var y = event.pageY - (scrollY + rect.top); - x = x * (cw / rect.width); - y = y * (ch / rect.height); - Browser.mouseMovementX = x - Browser.mouseX; - Browser.mouseMovementY = y - Browser.mouseY; - Browser.mouseX = x; - Browser.mouseY = y; - } - }, - resizeListeners: [], - updateResizeListeners: function() { - var canvas = Module["canvas"]; - Browser.resizeListeners.forEach(function(listener) { - listener(canvas.width, canvas.height); - }); - }, - setCanvasSize: function(width, height, noUpdates) { - var canvas = Module["canvas"]; - Browser.updateCanvasDimensions(canvas, width, height); - if (!noUpdates) Browser.updateResizeListeners(); - }, - windowedWidth: 0, - windowedHeight: 0, - setFullscreenCanvasSize: function() { - if (typeof SDL != "undefined") { - var flags = HEAPU32[SDL.screen >> 2]; - flags = flags | 8388608; - HEAP32[SDL.screen >> 2] = flags; - } - Browser.updateCanvasDimensions(Module["canvas"]); - Browser.updateResizeListeners(); - }, - setWindowedCanvasSize: function() { - if (typeof SDL != "undefined") { - var flags = HEAPU32[SDL.screen >> 2]; - flags = flags & ~8388608; - HEAP32[SDL.screen >> 2] = flags; - } - Browser.updateCanvasDimensions(Module["canvas"]); - Browser.updateResizeListeners(); - }, - updateCanvasDimensions: function(canvas, wNative, hNative) { - if (wNative && hNative) { - canvas.widthNative = wNative; - canvas.heightNative = hNative; - } else { - wNative = canvas.widthNative; - hNative = canvas.heightNative; - } - var w = wNative; - var h = hNative; - if (Module["forcedAspectRatio"] && Module["forcedAspectRatio"] > 0) { - if (w / h < Module["forcedAspectRatio"]) { - w = Math.round(h * Module["forcedAspectRatio"]); - } else { - h = Math.round(w / Module["forcedAspectRatio"]); - } - } - if ((document["fullscreenElement"] || document["mozFullScreenElement"] || document["msFullscreenElement"] || document["webkitFullscreenElement"] || document["webkitCurrentFullScreenElement"]) === canvas.parentNode && typeof screen != "undefined") { - var factor = Math.min(screen.width / w, screen.height / h); - w = Math.round(w * factor); - h = Math.round(h * factor); - } - if (Browser.resizeCanvas) { - if (canvas.width != w) canvas.width = w; - if (canvas.height != h) canvas.height = h; - if (typeof canvas.style != "undefined") { - canvas.style.removeProperty("width"); - canvas.style.removeProperty("height"); - } - } else { - if (canvas.width != wNative) canvas.width = wNative; - if (canvas.height != hNative) canvas.height = hNative; - if (typeof canvas.style != "undefined") { - if (w != wNative || h != hNative) { - canvas.style.setProperty("width", w + "px", "important"); - canvas.style.setProperty("height", h + "px", "important"); - } else { - canvas.style.removeProperty("width"); - canvas.style.removeProperty("height"); - } - } - } - } -}; - -function callRuntimeCallbacks(callbacks) { - while (callbacks.length > 0) { - callbacks.shift()(Module); - } -} - -var wasmTableMirror = []; - -function getWasmTableEntry(funcPtr) { - var func = wasmTableMirror[funcPtr]; - if (!func) { - if (funcPtr >= wasmTableMirror.length) wasmTableMirror.length = funcPtr + 1; - wasmTableMirror[funcPtr] = func = wasmTable.get(funcPtr); - } - return func; -} - -function ___call_sighandler(fp, sig) { - getWasmTableEntry(fp)(sig); -} - -function ExceptionInfo(excPtr) { - this.excPtr = excPtr; - this.ptr = excPtr - 24; - this.set_type = function(type) { - HEAPU32[this.ptr + 4 >> 2] = type; - }; - this.get_type = function() { - return HEAPU32[this.ptr + 4 >> 2]; - }; - this.set_destructor = function(destructor) { - HEAPU32[this.ptr + 8 >> 2] = destructor; - }; - this.get_destructor = function() { - return HEAPU32[this.ptr + 8 >> 2]; - }; - this.set_refcount = function(refcount) { - HEAP32[this.ptr >> 2] = refcount; - }; - this.set_caught = function(caught) { - caught = caught ? 1 : 0; - HEAP8[this.ptr + 12 >> 0] = caught; - }; - this.get_caught = function() { - return HEAP8[this.ptr + 12 >> 0] != 0; - }; - this.set_rethrown = function(rethrown) { - rethrown = rethrown ? 1 : 0; - HEAP8[this.ptr + 13 >> 0] = rethrown; - }; - this.get_rethrown = function() { - return HEAP8[this.ptr + 13 >> 0] != 0; - }; - this.init = function(type, destructor) { - this.set_adjusted_ptr(0); - this.set_type(type); - this.set_destructor(destructor); - this.set_refcount(0); - this.set_caught(false); - this.set_rethrown(false); - }; - this.add_ref = function() { - var value = HEAP32[this.ptr >> 2]; - HEAP32[this.ptr >> 2] = value + 1; - }; - this.release_ref = function() { - var prev = HEAP32[this.ptr >> 2]; - HEAP32[this.ptr >> 2] = prev - 1; - return prev === 1; - }; - this.set_adjusted_ptr = function(adjustedPtr) { - HEAPU32[this.ptr + 16 >> 2] = adjustedPtr; - }; - this.get_adjusted_ptr = function() { - return HEAPU32[this.ptr + 16 >> 2]; - }; - this.get_exception_ptr = function() { - var isPointer = ___cxa_is_pointer_type(this.get_type()); - if (isPointer) { - return HEAPU32[this.excPtr >> 2]; - } - var adjusted = this.get_adjusted_ptr(); - if (adjusted !== 0) return adjusted; - return this.excPtr; - }; -} - -var exceptionLast = 0; - -var uncaughtExceptionCount = 0; - -function ___cxa_throw(ptr, type, destructor) { - var info = new ExceptionInfo(ptr); - info.init(type, destructor); - exceptionLast = ptr; - uncaughtExceptionCount++; - throw exceptionLast; -} - -function setErrNo(value) { - HEAP32[___errno_location() >> 2] = value; - return value; -} - -function ___syscall_fcntl64(fd, cmd, varargs) { - SYSCALLS.varargs = varargs; - try { - var stream = SYSCALLS.getStreamFromFD(fd); - switch (cmd) { - case 0: - { - var arg = SYSCALLS.get(); - if (arg < 0) { - return -28; - } - var newStream; - newStream = FS.createStream(stream, arg); - return newStream.fd; - } - - case 1: - case 2: - return 0; - - case 3: - return stream.flags; - - case 4: - { - var arg = SYSCALLS.get(); - stream.flags |= arg; - return 0; - } - - case 5: - { - var arg = SYSCALLS.get(); - var offset = 0; - HEAP16[arg + offset >> 1] = 2; - return 0; - } - - case 6: - case 7: - return 0; - - case 16: - case 8: - return -28; - - case 9: - setErrNo(28); - return -1; - - default: - { - return -28; - } - } - } catch (e) { - if (typeof FS == "undefined" || !(e.name === "ErrnoError")) throw e; - return -e.errno; - } -} - -function ___syscall_fstat64(fd, buf) { - try { - var stream = SYSCALLS.getStreamFromFD(fd); - return SYSCALLS.doStat(FS.stat, stream.path, buf); - } catch (e) { - if (typeof FS == "undefined" || !(e.name === "ErrnoError")) throw e; - return -e.errno; - } -} - -function ___syscall_ioctl(fd, op, varargs) { - SYSCALLS.varargs = varargs; - try { - var stream = SYSCALLS.getStreamFromFD(fd); - switch (op) { - case 21509: - case 21505: - { - if (!stream.tty) return -59; - return 0; - } - - case 21510: - case 21511: - case 21512: - case 21506: - case 21507: - case 21508: - { - if (!stream.tty) return -59; - return 0; - } - - case 21519: - { - if (!stream.tty) return -59; - var argp = SYSCALLS.get(); - HEAP32[argp >> 2] = 0; - return 0; - } - - case 21520: - { - if (!stream.tty) return -59; - return -28; - } - - case 21531: - { - var argp = SYSCALLS.get(); - return FS.ioctl(stream, op, argp); - } - - case 21523: - { - if (!stream.tty) return -59; - return 0; - } - - case 21524: - { - if (!stream.tty) return -59; - return 0; - } - - default: - return -28; - } - } catch (e) { - if (typeof FS == "undefined" || !(e.name === "ErrnoError")) throw e; - return -e.errno; - } -} - -function ___syscall_lstat64(path, buf) { - try { - path = SYSCALLS.getStr(path); - return SYSCALLS.doStat(FS.lstat, path, buf); - } catch (e) { - if (typeof FS == "undefined" || !(e.name === "ErrnoError")) throw e; - return -e.errno; - } -} - -function ___syscall_newfstatat(dirfd, path, buf, flags) { - try { - path = SYSCALLS.getStr(path); - var nofollow = flags & 256; - var allowEmpty = flags & 4096; - flags = flags & ~6400; - path = SYSCALLS.calculateAt(dirfd, path, allowEmpty); - return SYSCALLS.doStat(nofollow ? FS.lstat : FS.stat, path, buf); - } catch (e) { - if (typeof FS == "undefined" || !(e.name === "ErrnoError")) throw e; - return -e.errno; - } -} - -function ___syscall_openat(dirfd, path, flags, varargs) { - SYSCALLS.varargs = varargs; - try { - path = SYSCALLS.getStr(path); - path = SYSCALLS.calculateAt(dirfd, path); - var mode = varargs ? SYSCALLS.get() : 0; - return FS.open(path, flags, mode).fd; - } catch (e) { - if (typeof FS == "undefined" || !(e.name === "ErrnoError")) throw e; - return -e.errno; - } -} - -function ___syscall_stat64(path, buf) { - try { - path = SYSCALLS.getStr(path); - return SYSCALLS.doStat(FS.stat, path, buf); - } catch (e) { - if (typeof FS == "undefined" || !(e.name === "ErrnoError")) throw e; - return -e.errno; - } -} - -var dlopenMissingError = "To use dlopen, you need enable dynamic linking, see https://github.com/emscripten-core/emscripten/wiki/Linking"; - -function __dlopen_js(handle) { - abort(dlopenMissingError); -} - -function __dlsym_js(handle, symbol) { - abort(dlopenMissingError); -} - -function __embind_register_bigint(primitiveType, name, size, minRange, maxRange) {} - -function getShiftFromSize(size) { - switch (size) { - case 1: - return 0; - - case 2: - return 1; - - case 4: - return 2; - - case 8: - return 3; - - default: - throw new TypeError("Unknown type size: " + size); - } -} - -function embind_init_charCodes() { - var codes = new Array(256); - for (var i = 0; i < 256; ++i) { - codes[i] = String.fromCharCode(i); - } - embind_charCodes = codes; -} - -var embind_charCodes = undefined; - -function readLatin1String(ptr) { - var ret = ""; - var c = ptr; - while (HEAPU8[c]) { - ret += embind_charCodes[HEAPU8[c++]]; - } - return ret; -} - -var awaitingDependencies = {}; - -var registeredTypes = {}; - -var typeDependencies = {}; - -var char_0 = 48; - -var char_9 = 57; - -function makeLegalFunctionName(name) { - if (undefined === name) { - return "_unknown"; - } - name = name.replace(/[^a-zA-Z0-9_]/g, "$"); - var f = name.charCodeAt(0); - if (f >= char_0 && f <= char_9) { - return "_" + name; - } - return name; -} - -function createNamedFunction(name, body) { - name = makeLegalFunctionName(name); - return { - [name]: function() { - return body.apply(this, arguments); - } - }[name]; -} - -function extendError(baseErrorType, errorName) { - var errorClass = createNamedFunction(errorName, function(message) { - this.name = errorName; - this.message = message; - var stack = new Error(message).stack; - if (stack !== undefined) { - this.stack = this.toString() + "\n" + stack.replace(/^Error(:[^\n]*)?\n/, ""); - } - }); - errorClass.prototype = Object.create(baseErrorType.prototype); - errorClass.prototype.constructor = errorClass; - errorClass.prototype.toString = function() { - if (this.message === undefined) { - return this.name; - } else { - return this.name + ": " + this.message; - } - }; - return errorClass; -} - -var BindingError = undefined; - -function throwBindingError(message) { - throw new BindingError(message); -} - -var InternalError = undefined; - -function registerType(rawType, registeredInstance, options = {}) { - if (!("argPackAdvance" in registeredInstance)) { - throw new TypeError("registerType registeredInstance requires argPackAdvance"); - } - var name = registeredInstance.name; - if (!rawType) { - throwBindingError('type "' + name + '" must have a positive integer typeid pointer'); - } - if (registeredTypes.hasOwnProperty(rawType)) { - if (options.ignoreDuplicateRegistrations) { - return; - } else { - throwBindingError("Cannot register type '" + name + "' twice"); - } - } - registeredTypes[rawType] = registeredInstance; - delete typeDependencies[rawType]; - if (awaitingDependencies.hasOwnProperty(rawType)) { - var callbacks = awaitingDependencies[rawType]; - delete awaitingDependencies[rawType]; - callbacks.forEach(cb => cb()); - } -} - -function __embind_register_bool(rawType, name, size, trueValue, falseValue) { - var shift = getShiftFromSize(size); - name = readLatin1String(name); - registerType(rawType, { - name: name, - "fromWireType": function(wt) { - return !!wt; - }, - "toWireType": function(destructors, o) { - return o ? trueValue : falseValue; - }, - "argPackAdvance": 8, - "readValueFromPointer": function(pointer) { - var heap; - if (size === 1) { - heap = HEAP8; - } else if (size === 2) { - heap = HEAP16; - } else if (size === 4) { - heap = HEAP32; - } else { - throw new TypeError("Unknown boolean type size: " + name); - } - return this["fromWireType"](heap[pointer >> shift]); - }, - destructorFunction: null - }); -} - -function HandleAllocator() { - this.allocated = [ undefined ]; - this.freelist = []; - this.get = function(id) { - return this.allocated[id]; - }; - this.allocate = function(handle) { - let id = this.freelist.pop() || this.allocated.length; - this.allocated[id] = handle; - return id; - }; - this.free = function(id) { - this.allocated[id] = undefined; - this.freelist.push(id); - }; -} - -var emval_handles = new HandleAllocator(); - -function __emval_decref(handle) { - if (handle >= emval_handles.reserved && 0 === --emval_handles.get(handle).refcount) { - emval_handles.free(handle); - } -} - -function count_emval_handles() { - var count = 0; - for (var i = emval_handles.reserved; i < emval_handles.allocated.length; ++i) { - if (emval_handles.allocated[i] !== undefined) { - ++count; - } - } - return count; -} - -function init_emval() { - emval_handles.allocated.push({ - value: undefined - }, { - value: null - }, { - value: true - }, { - value: false - }); - emval_handles.reserved = emval_handles.allocated.length; - Module["count_emval_handles"] = count_emval_handles; -} - -var Emval = { - toValue: handle => { - if (!handle) { - throwBindingError("Cannot use deleted val. handle = " + handle); - } - return emval_handles.get(handle).value; - }, - toHandle: value => { - switch (value) { - case undefined: - return 1; - - case null: - return 2; - - case true: - return 3; - - case false: - return 4; - - default: - { - return emval_handles.allocate({ - refcount: 1, - value: value - }); - } - } - } -}; - -function simpleReadValueFromPointer(pointer) { - return this["fromWireType"](HEAP32[pointer >> 2]); -} - -function __embind_register_emval(rawType, name) { - name = readLatin1String(name); - registerType(rawType, { - name: name, - "fromWireType": function(handle) { - var rv = Emval.toValue(handle); - __emval_decref(handle); - return rv; - }, - "toWireType": function(destructors, value) { - return Emval.toHandle(value); - }, - "argPackAdvance": 8, - "readValueFromPointer": simpleReadValueFromPointer, - destructorFunction: null - }); -} - -function floatReadValueFromPointer(name, shift) { - switch (shift) { - case 2: - return function(pointer) { - return this["fromWireType"](HEAPF32[pointer >> 2]); - }; - - case 3: - return function(pointer) { - return this["fromWireType"](HEAPF64[pointer >> 3]); - }; - - default: - throw new TypeError("Unknown float type: " + name); - } -} - -function __embind_register_float(rawType, name, size) { - var shift = getShiftFromSize(size); - name = readLatin1String(name); - registerType(rawType, { - name: name, - "fromWireType": function(value) { - return value; - }, - "toWireType": function(destructors, value) { - return value; - }, - "argPackAdvance": 8, - "readValueFromPointer": floatReadValueFromPointer(name, shift), - destructorFunction: null - }); -} - -function integerReadValueFromPointer(name, shift, signed) { - switch (shift) { - case 0: - return signed ? function readS8FromPointer(pointer) { - return HEAP8[pointer]; - } : function readU8FromPointer(pointer) { - return HEAPU8[pointer]; - }; - - case 1: - return signed ? function readS16FromPointer(pointer) { - return HEAP16[pointer >> 1]; - } : function readU16FromPointer(pointer) { - return HEAPU16[pointer >> 1]; - }; - - case 2: - return signed ? function readS32FromPointer(pointer) { - return HEAP32[pointer >> 2]; - } : function readU32FromPointer(pointer) { - return HEAPU32[pointer >> 2]; - }; - - default: - throw new TypeError("Unknown integer type: " + name); - } -} - -function __embind_register_integer(primitiveType, name, size, minRange, maxRange) { - name = readLatin1String(name); - if (maxRange === -1) { - maxRange = 4294967295; - } - var shift = getShiftFromSize(size); - var fromWireType = value => value; - if (minRange === 0) { - var bitshift = 32 - 8 * size; - fromWireType = value => value << bitshift >>> bitshift; - } - var isUnsignedType = name.includes("unsigned"); - var checkAssertions = (value, toTypeName) => {}; - var toWireType; - if (isUnsignedType) { - toWireType = function(destructors, value) { - checkAssertions(value, this.name); - return value >>> 0; - }; - } else { - toWireType = function(destructors, value) { - checkAssertions(value, this.name); - return value; - }; - } - registerType(primitiveType, { - name: name, - "fromWireType": fromWireType, - "toWireType": toWireType, - "argPackAdvance": 8, - "readValueFromPointer": integerReadValueFromPointer(name, shift, minRange !== 0), - destructorFunction: null - }); -} - -function __embind_register_memory_view(rawType, dataTypeIndex, name) { - var typeMapping = [ Int8Array, Uint8Array, Int16Array, Uint16Array, Int32Array, Uint32Array, Float32Array, Float64Array ]; - var TA = typeMapping[dataTypeIndex]; - function decodeMemoryView(handle) { - handle = handle >> 2; - var heap = HEAPU32; - var size = heap[handle]; - var data = heap[handle + 1]; - return new TA(heap.buffer, data, size); - } - name = readLatin1String(name); - registerType(rawType, { - name: name, - "fromWireType": decodeMemoryView, - "argPackAdvance": 8, - "readValueFromPointer": decodeMemoryView - }, { - ignoreDuplicateRegistrations: true - }); -} - -function stringToUTF8(str, outPtr, maxBytesToWrite) { - return stringToUTF8Array(str, HEAPU8, outPtr, maxBytesToWrite); -} - -function __embind_register_std_string(rawType, name) { - name = readLatin1String(name); - var stdStringIsUTF8 = name === "std::string"; - registerType(rawType, { - name: name, - "fromWireType": function(value) { - var length = HEAPU32[value >> 2]; - var payload = value + 4; - var str; - if (stdStringIsUTF8) { - var decodeStartPtr = payload; - for (var i = 0; i <= length; ++i) { - var currentBytePtr = payload + i; - if (i == length || HEAPU8[currentBytePtr] == 0) { - var maxRead = currentBytePtr - decodeStartPtr; - var stringSegment = UTF8ToString(decodeStartPtr, maxRead); - if (str === undefined) { - str = stringSegment; - } else { - str += String.fromCharCode(0); - str += stringSegment; - } - decodeStartPtr = currentBytePtr + 1; - } - } - } else { - var a = new Array(length); - for (var i = 0; i < length; ++i) { - a[i] = String.fromCharCode(HEAPU8[payload + i]); - } - str = a.join(""); - } - _free(value); - return str; - }, - "toWireType": function(destructors, value) { - if (value instanceof ArrayBuffer) { - value = new Uint8Array(value); - } - var length; - var valueIsOfTypeString = typeof value == "string"; - if (!(valueIsOfTypeString || value instanceof Uint8Array || value instanceof Uint8ClampedArray || value instanceof Int8Array)) { - throwBindingError("Cannot pass non-string to std::string"); - } - if (stdStringIsUTF8 && valueIsOfTypeString) { - length = lengthBytesUTF8(value); - } else { - length = value.length; - } - var base = _malloc(4 + length + 1); - var ptr = base + 4; - HEAPU32[base >> 2] = length; - if (stdStringIsUTF8 && valueIsOfTypeString) { - stringToUTF8(value, ptr, length + 1); - } else { - if (valueIsOfTypeString) { - for (var i = 0; i < length; ++i) { - var charCode = value.charCodeAt(i); - if (charCode > 255) { - _free(ptr); - throwBindingError("String has UTF-16 code units that do not fit in 8 bits"); - } - HEAPU8[ptr + i] = charCode; - } - } else { - for (var i = 0; i < length; ++i) { - HEAPU8[ptr + i] = value[i]; - } - } - } - if (destructors !== null) { - destructors.push(_free, base); - } - return base; - }, - "argPackAdvance": 8, - "readValueFromPointer": simpleReadValueFromPointer, - destructorFunction: function(ptr) { - _free(ptr); - } - }); -} - -var UTF16Decoder = typeof TextDecoder != "undefined" ? new TextDecoder("utf-16le") : undefined; - -function UTF16ToString(ptr, maxBytesToRead) { - var endPtr = ptr; - var idx = endPtr >> 1; - var maxIdx = idx + maxBytesToRead / 2; - while (!(idx >= maxIdx) && HEAPU16[idx]) ++idx; - endPtr = idx << 1; - if (endPtr - ptr > 32 && UTF16Decoder) return UTF16Decoder.decode(HEAPU8.subarray(ptr, endPtr)); - var str = ""; - for (var i = 0; !(i >= maxBytesToRead / 2); ++i) { - var codeUnit = HEAP16[ptr + i * 2 >> 1]; - if (codeUnit == 0) break; - str += String.fromCharCode(codeUnit); - } - return str; -} - -function stringToUTF16(str, outPtr, maxBytesToWrite) { - if (maxBytesToWrite === undefined) { - maxBytesToWrite = 2147483647; - } - if (maxBytesToWrite < 2) return 0; - maxBytesToWrite -= 2; - var startPtr = outPtr; - var numCharsToWrite = maxBytesToWrite < str.length * 2 ? maxBytesToWrite / 2 : str.length; - for (var i = 0; i < numCharsToWrite; ++i) { - var codeUnit = str.charCodeAt(i); - HEAP16[outPtr >> 1] = codeUnit; - outPtr += 2; - } - HEAP16[outPtr >> 1] = 0; - return outPtr - startPtr; -} - -function lengthBytesUTF16(str) { - return str.length * 2; -} - -function UTF32ToString(ptr, maxBytesToRead) { - var i = 0; - var str = ""; - while (!(i >= maxBytesToRead / 4)) { - var utf32 = HEAP32[ptr + i * 4 >> 2]; - if (utf32 == 0) break; - ++i; - if (utf32 >= 65536) { - var ch = utf32 - 65536; - str += String.fromCharCode(55296 | ch >> 10, 56320 | ch & 1023); - } else { - str += String.fromCharCode(utf32); - } - } - return str; -} - -function stringToUTF32(str, outPtr, maxBytesToWrite) { - if (maxBytesToWrite === undefined) { - maxBytesToWrite = 2147483647; - } - if (maxBytesToWrite < 4) return 0; - var startPtr = outPtr; - var endPtr = startPtr + maxBytesToWrite - 4; - for (var i = 0; i < str.length; ++i) { - var codeUnit = str.charCodeAt(i); - if (codeUnit >= 55296 && codeUnit <= 57343) { - var trailSurrogate = str.charCodeAt(++i); - codeUnit = 65536 + ((codeUnit & 1023) << 10) | trailSurrogate & 1023; - } - HEAP32[outPtr >> 2] = codeUnit; - outPtr += 4; - if (outPtr + 4 > endPtr) break; - } - HEAP32[outPtr >> 2] = 0; - return outPtr - startPtr; -} - -function lengthBytesUTF32(str) { - var len = 0; - for (var i = 0; i < str.length; ++i) { - var codeUnit = str.charCodeAt(i); - if (codeUnit >= 55296 && codeUnit <= 57343) ++i; - len += 4; - } - return len; -} - -function __embind_register_std_wstring(rawType, charSize, name) { - name = readLatin1String(name); - var decodeString, encodeString, getHeap, lengthBytesUTF, shift; - if (charSize === 2) { - decodeString = UTF16ToString; - encodeString = stringToUTF16; - lengthBytesUTF = lengthBytesUTF16; - getHeap = () => HEAPU16; - shift = 1; - } else if (charSize === 4) { - decodeString = UTF32ToString; - encodeString = stringToUTF32; - lengthBytesUTF = lengthBytesUTF32; - getHeap = () => HEAPU32; - shift = 2; - } - registerType(rawType, { - name: name, - "fromWireType": function(value) { - var length = HEAPU32[value >> 2]; - var HEAP = getHeap(); - var str; - var decodeStartPtr = value + 4; - for (var i = 0; i <= length; ++i) { - var currentBytePtr = value + 4 + i * charSize; - if (i == length || HEAP[currentBytePtr >> shift] == 0) { - var maxReadBytes = currentBytePtr - decodeStartPtr; - var stringSegment = decodeString(decodeStartPtr, maxReadBytes); - if (str === undefined) { - str = stringSegment; - } else { - str += String.fromCharCode(0); - str += stringSegment; - } - decodeStartPtr = currentBytePtr + charSize; - } - } - _free(value); - return str; - }, - "toWireType": function(destructors, value) { - if (!(typeof value == "string")) { - throwBindingError("Cannot pass non-string to C++ string type " + name); - } - var length = lengthBytesUTF(value); - var ptr = _malloc(4 + length + charSize); - HEAPU32[ptr >> 2] = length >> shift; - encodeString(value, ptr + 4, length + charSize); - if (destructors !== null) { - destructors.push(_free, ptr); - } - return ptr; - }, - "argPackAdvance": 8, - "readValueFromPointer": simpleReadValueFromPointer, - destructorFunction: function(ptr) { - _free(ptr); - } - }); -} - -function __embind_register_void(rawType, name) { - name = readLatin1String(name); - registerType(rawType, { - isVoid: true, - name: name, - "argPackAdvance": 0, - "fromWireType": function() { - return undefined; - }, - "toWireType": function(destructors, o) { - return undefined; - } - }); -} - -var nowIsMonotonic = true; - -function __emscripten_get_now_is_monotonic() { - return nowIsMonotonic; -} - -function getTypeName(type) { - var ptr = ___getTypeName(type); - var rv = readLatin1String(ptr); - _free(ptr); - return rv; -} - -function requireRegisteredType(rawType, humanName) { - var impl = registeredTypes[rawType]; - if (undefined === impl) { - throwBindingError(humanName + " has unknown type " + getTypeName(rawType)); - } - return impl; -} - -function __emval_as(handle, returnType, destructorsRef) { - handle = Emval.toValue(handle); - returnType = requireRegisteredType(returnType, "emval::as"); - var destructors = []; - var rd = Emval.toHandle(destructors); - HEAPU32[destructorsRef >> 2] = rd; - return returnType["toWireType"](destructors, handle); -} - -var emval_symbols = {}; - -function getStringOrSymbol(address) { - var symbol = emval_symbols[address]; - if (symbol === undefined) { - return readLatin1String(address); - } - return symbol; -} - -function emval_get_global() { - if (typeof globalThis == "object") { - return globalThis; - } - function testGlobal(obj) { - obj["$$$embind_global$$$"] = obj; - var success = typeof $$$embind_global$$$ == "object" && obj["$$$embind_global$$$"] == obj; - if (!success) { - delete obj["$$$embind_global$$$"]; - } - return success; - } - if (typeof $$$embind_global$$$ == "object") { - return $$$embind_global$$$; - } - if (typeof global == "object" && testGlobal(global)) { - $$$embind_global$$$ = global; - } else if (typeof self == "object" && testGlobal(self)) { - $$$embind_global$$$ = self; - } - if (typeof $$$embind_global$$$ == "object") { - return $$$embind_global$$$; - } - throw Error("unable to get global object."); -} - -function __emval_get_global(name) { - if (name === 0) { - return Emval.toHandle(emval_get_global()); - } else { - name = getStringOrSymbol(name); - return Emval.toHandle(emval_get_global()[name]); - } -} - -function __emval_get_property(handle, key) { - handle = Emval.toValue(handle); - key = Emval.toValue(key); - return Emval.toHandle(handle[key]); -} - -function __emval_incref(handle) { - if (handle > 4) { - emval_handles.get(handle).refcount += 1; - } -} - -function __emval_instanceof(object, constructor) { - object = Emval.toValue(object); - constructor = Emval.toValue(constructor); - return object instanceof constructor; -} - -function __emval_new_cstring(v) { - return Emval.toHandle(getStringOrSymbol(v)); -} - -function runDestructors(destructors) { - while (destructors.length) { - var ptr = destructors.pop(); - var del = destructors.pop(); - del(ptr); - } -} - -function __emval_run_destructors(handle) { - var destructors = Emval.toValue(handle); - runDestructors(destructors); - __emval_decref(handle); -} - -function __emval_set_property(handle, key, value) { - handle = Emval.toValue(handle); - key = Emval.toValue(key); - value = Emval.toValue(value); - handle[key] = value; -} - -function __emval_take_value(type, arg) { - type = requireRegisteredType(type, "_emval_take_value"); - var v = type["readValueFromPointer"](arg); - return Emval.toHandle(v); -} - -function __emval_typeof(handle) { - handle = Emval.toValue(handle); - return Emval.toHandle(typeof handle); -} - -function readI53FromI64(ptr) { - return HEAPU32[ptr >> 2] + HEAP32[ptr + 4 >> 2] * 4294967296; -} - -function __gmtime_js(time, tmPtr) { - var date = new Date(readI53FromI64(time) * 1e3); - HEAP32[tmPtr >> 2] = date.getUTCSeconds(); - HEAP32[tmPtr + 4 >> 2] = date.getUTCMinutes(); - HEAP32[tmPtr + 8 >> 2] = date.getUTCHours(); - HEAP32[tmPtr + 12 >> 2] = date.getUTCDate(); - HEAP32[tmPtr + 16 >> 2] = date.getUTCMonth(); - HEAP32[tmPtr + 20 >> 2] = date.getUTCFullYear() - 1900; - HEAP32[tmPtr + 24 >> 2] = date.getUTCDay(); - var start = Date.UTC(date.getUTCFullYear(), 0, 1, 0, 0, 0, 0); - var yday = (date.getTime() - start) / (1e3 * 60 * 60 * 24) | 0; - HEAP32[tmPtr + 28 >> 2] = yday; -} - -function isLeapYear(year) { - return year % 4 === 0 && (year % 100 !== 0 || year % 400 === 0); -} - -var MONTH_DAYS_LEAP_CUMULATIVE = [ 0, 31, 60, 91, 121, 152, 182, 213, 244, 274, 305, 335 ]; - -var MONTH_DAYS_REGULAR_CUMULATIVE = [ 0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334 ]; - -function ydayFromDate(date) { - var leap = isLeapYear(date.getFullYear()); - var monthDaysCumulative = leap ? MONTH_DAYS_LEAP_CUMULATIVE : MONTH_DAYS_REGULAR_CUMULATIVE; - var yday = monthDaysCumulative[date.getMonth()] + date.getDate() - 1; - return yday; -} - -function __localtime_js(time, tmPtr) { - var date = new Date(readI53FromI64(time) * 1e3); - HEAP32[tmPtr >> 2] = date.getSeconds(); - HEAP32[tmPtr + 4 >> 2] = date.getMinutes(); - HEAP32[tmPtr + 8 >> 2] = date.getHours(); - HEAP32[tmPtr + 12 >> 2] = date.getDate(); - HEAP32[tmPtr + 16 >> 2] = date.getMonth(); - HEAP32[tmPtr + 20 >> 2] = date.getFullYear() - 1900; - HEAP32[tmPtr + 24 >> 2] = date.getDay(); - var yday = ydayFromDate(date) | 0; - HEAP32[tmPtr + 28 >> 2] = yday; - HEAP32[tmPtr + 36 >> 2] = -(date.getTimezoneOffset() * 60); - var start = new Date(date.getFullYear(), 0, 1); - var summerOffset = new Date(date.getFullYear(), 6, 1).getTimezoneOffset(); - var winterOffset = start.getTimezoneOffset(); - var dst = (summerOffset != winterOffset && date.getTimezoneOffset() == Math.min(winterOffset, summerOffset)) | 0; - HEAP32[tmPtr + 32 >> 2] = dst; -} - -function __mktime_js(tmPtr) { - var date = new Date(HEAP32[tmPtr + 20 >> 2] + 1900, HEAP32[tmPtr + 16 >> 2], HEAP32[tmPtr + 12 >> 2], HEAP32[tmPtr + 8 >> 2], HEAP32[tmPtr + 4 >> 2], HEAP32[tmPtr >> 2], 0); - var dst = HEAP32[tmPtr + 32 >> 2]; - var guessedOffset = date.getTimezoneOffset(); - var start = new Date(date.getFullYear(), 0, 1); - var summerOffset = new Date(date.getFullYear(), 6, 1).getTimezoneOffset(); - var winterOffset = start.getTimezoneOffset(); - var dstOffset = Math.min(winterOffset, summerOffset); - if (dst < 0) { - HEAP32[tmPtr + 32 >> 2] = Number(summerOffset != winterOffset && dstOffset == guessedOffset); - } else if (dst > 0 != (dstOffset == guessedOffset)) { - var nonDstOffset = Math.max(winterOffset, summerOffset); - var trueOffset = dst > 0 ? dstOffset : nonDstOffset; - date.setTime(date.getTime() + (trueOffset - guessedOffset) * 6e4); - } - HEAP32[tmPtr + 24 >> 2] = date.getDay(); - var yday = ydayFromDate(date) | 0; - HEAP32[tmPtr + 28 >> 2] = yday; - HEAP32[tmPtr >> 2] = date.getSeconds(); - HEAP32[tmPtr + 4 >> 2] = date.getMinutes(); - HEAP32[tmPtr + 8 >> 2] = date.getHours(); - HEAP32[tmPtr + 12 >> 2] = date.getDate(); - HEAP32[tmPtr + 16 >> 2] = date.getMonth(); - HEAP32[tmPtr + 20 >> 2] = date.getYear(); - return date.getTime() / 1e3 | 0; -} - -function __mmap_js(len, prot, flags, fd, off, allocated, addr) { - try { - var stream = SYSCALLS.getStreamFromFD(fd); - var res = FS.mmap(stream, len, off, prot, flags); - var ptr = res.ptr; - HEAP32[allocated >> 2] = res.allocated; - HEAPU32[addr >> 2] = ptr; - return 0; - } catch (e) { - if (typeof FS == "undefined" || !(e.name === "ErrnoError")) throw e; - return -e.errno; - } -} - -function __munmap_js(addr, len, prot, flags, fd, offset) { - try { - var stream = SYSCALLS.getStreamFromFD(fd); - if (prot & 2) { - SYSCALLS.doMsync(addr, stream, len, flags, offset); - } - FS.munmap(stream); - } catch (e) { - if (typeof FS == "undefined" || !(e.name === "ErrnoError")) throw e; - return -e.errno; - } -} - -var timers = {}; - -function __setitimer_js(which, timeout_ms) { - if (timers[which]) { - clearTimeout(timers[which].id); - delete timers[which]; - } - if (!timeout_ms) return 0; - var id = setTimeout(() => { - delete timers[which]; - callUserCallback(() => __emscripten_timeout(which, _emscripten_get_now())); - }, timeout_ms); - timers[which] = { - id: id, - timeout_ms: timeout_ms - }; - return 0; -} - -function stringToNewUTF8(str) { - var size = lengthBytesUTF8(str) + 1; - var ret = _malloc(size); - if (ret) stringToUTF8(str, ret, size); - return ret; -} - -function __tzset_js(timezone, daylight, tzname) { - var currentYear = new Date().getFullYear(); - var winter = new Date(currentYear, 0, 1); - var summer = new Date(currentYear, 6, 1); - var winterOffset = winter.getTimezoneOffset(); - var summerOffset = summer.getTimezoneOffset(); - var stdTimezoneOffset = Math.max(winterOffset, summerOffset); - HEAPU32[timezone >> 2] = stdTimezoneOffset * 60; - HEAP32[daylight >> 2] = Number(winterOffset != summerOffset); - function extractZone(date) { - var match = date.toTimeString().match(/\(([A-Za-z ]+)\)$/); - return match ? match[1] : "GMT"; - } - var winterName = extractZone(winter); - var summerName = extractZone(summer); - var winterNamePtr = stringToNewUTF8(winterName); - var summerNamePtr = stringToNewUTF8(summerName); - if (summerOffset < winterOffset) { - HEAPU32[tzname >> 2] = winterNamePtr; - HEAPU32[tzname + 4 >> 2] = summerNamePtr; - } else { - HEAPU32[tzname >> 2] = summerNamePtr; - HEAPU32[tzname + 4 >> 2] = winterNamePtr; - } -} - -function _abort() { - abort(""); -} - -var readEmAsmArgsArray = []; - -function readEmAsmArgs(sigPtr, buf) { - readEmAsmArgsArray.length = 0; - var ch; - buf >>= 2; - while (ch = HEAPU8[sigPtr++]) { - buf += ch != 105 & buf; - readEmAsmArgsArray.push(ch == 105 ? HEAP32[buf] : HEAPF64[buf++ >> 1]); - ++buf; - } - return readEmAsmArgsArray; -} - -function runEmAsmFunction(code, sigPtr, argbuf) { - var args = readEmAsmArgs(sigPtr, argbuf); - return ASM_CONSTS[code].apply(null, args); -} - -function _emscripten_asm_const_int(code, sigPtr, argbuf) { - return runEmAsmFunction(code, sigPtr, argbuf); -} - -function _emscripten_date_now() { - return Date.now(); -} - -function getHeapMax() { - return 2147483648; -} - -function _emscripten_get_heap_max() { - return getHeapMax(); -} - -function _emscripten_memcpy_big(dest, src, num) { - HEAPU8.copyWithin(dest, src, src + num); -} - -function _emscripten_pc_get_function(pc) { - abort("Cannot use emscripten_pc_get_function without -sUSE_OFFSET_CONVERTER"); -} - -function emscripten_realloc_buffer(size) { - var b = wasmMemory.buffer; - try { - wasmMemory.grow(size - b.byteLength + 65535 >>> 16); - updateMemoryViews(); - return 1; - } catch (e) {} -} - -function _emscripten_resize_heap(requestedSize) { - var oldSize = HEAPU8.length; - requestedSize = requestedSize >>> 0; - var maxHeapSize = getHeapMax(); - if (requestedSize > maxHeapSize) { - return false; - } - let alignUp = (x, multiple) => x + (multiple - x % multiple) % multiple; - for (var cutDown = 1; cutDown <= 4; cutDown *= 2) { - var overGrownHeapSize = oldSize * (1 + .2 / cutDown); - overGrownHeapSize = Math.min(overGrownHeapSize, requestedSize + 100663296); - var newSize = Math.min(maxHeapSize, alignUp(Math.max(requestedSize, overGrownHeapSize), 65536)); - var replacement = emscripten_realloc_buffer(newSize); - if (replacement) { - return true; - } - } - return false; -} - -function convertFrameToPC(frame) { - abort("Cannot use convertFrameToPC (needed by __builtin_return_address) without -sUSE_OFFSET_CONVERTER"); - return 0; -} - -var UNWIND_CACHE = {}; - -function saveInUnwindCache(callstack) { - callstack.forEach(frame => { - var pc = convertFrameToPC(frame); - if (pc) { - UNWIND_CACHE[pc] = frame; - } - }); -} - -function jsStackTrace() { - var error = new Error(); - if (!error.stack) { - try { - throw new Error(); - } catch (e) { - error = e; - } - if (!error.stack) { - return "(no stack trace available)"; - } - } - return error.stack.toString(); -} - -function _emscripten_stack_snapshot() { - var callstack = jsStackTrace().split("\n"); - if (callstack[0] == "Error") { - callstack.shift(); - } - saveInUnwindCache(callstack); - UNWIND_CACHE.last_addr = convertFrameToPC(callstack[3]); - UNWIND_CACHE.last_stack = callstack; - return UNWIND_CACHE.last_addr; -} - -function _emscripten_stack_unwind_buffer(addr, buffer, count) { - var stack; - if (UNWIND_CACHE.last_addr == addr) { - stack = UNWIND_CACHE.last_stack; - } else { - stack = jsStackTrace().split("\n"); - if (stack[0] == "Error") { - stack.shift(); - } - saveInUnwindCache(stack); - } - var offset = 3; - while (stack[offset] && convertFrameToPC(stack[offset]) != addr) { - ++offset; - } - for (var i = 0; i < count && stack[i + offset]; ++i) { - HEAP32[buffer + i * 4 >> 2] = convertFrameToPC(stack[i + offset]); - } - return i; -} - -function webgl_enable_ANGLE_instanced_arrays(ctx) { - var ext = ctx.getExtension("ANGLE_instanced_arrays"); - if (ext) { - ctx["vertexAttribDivisor"] = function(index, divisor) { - ext["vertexAttribDivisorANGLE"](index, divisor); - }; - ctx["drawArraysInstanced"] = function(mode, first, count, primcount) { - ext["drawArraysInstancedANGLE"](mode, first, count, primcount); - }; - ctx["drawElementsInstanced"] = function(mode, count, type, indices, primcount) { - ext["drawElementsInstancedANGLE"](mode, count, type, indices, primcount); - }; - return 1; - } -} - -function webgl_enable_OES_vertex_array_object(ctx) { - var ext = ctx.getExtension("OES_vertex_array_object"); - if (ext) { - ctx["createVertexArray"] = function() { - return ext["createVertexArrayOES"](); - }; - ctx["deleteVertexArray"] = function(vao) { - ext["deleteVertexArrayOES"](vao); - }; - ctx["bindVertexArray"] = function(vao) { - ext["bindVertexArrayOES"](vao); - }; - ctx["isVertexArray"] = function(vao) { - return ext["isVertexArrayOES"](vao); - }; - return 1; - } -} - -function webgl_enable_WEBGL_draw_buffers(ctx) { - var ext = ctx.getExtension("WEBGL_draw_buffers"); - if (ext) { - ctx["drawBuffers"] = function(n, bufs) { - ext["drawBuffersWEBGL"](n, bufs); - }; - return 1; - } -} - -function webgl_enable_WEBGL_draw_instanced_base_vertex_base_instance(ctx) { - return !!(ctx.dibvbi = ctx.getExtension("WEBGL_draw_instanced_base_vertex_base_instance")); -} - -function webgl_enable_WEBGL_multi_draw_instanced_base_vertex_base_instance(ctx) { - return !!(ctx.mdibvbi = ctx.getExtension("WEBGL_multi_draw_instanced_base_vertex_base_instance")); -} - -function webgl_enable_WEBGL_multi_draw(ctx) { - return !!(ctx.multiDrawWebgl = ctx.getExtension("WEBGL_multi_draw")); -} - -var GL = { - counter: 1, - buffers: [], - mappedBuffers: {}, - programs: [], - framebuffers: [], - renderbuffers: [], - textures: [], - shaders: [], - vaos: [], - contexts: [], - offscreenCanvases: {}, - queries: [], - samplers: [], - transformFeedbacks: [], - syncs: [], - byteSizeByTypeRoot: 5120, - byteSizeByType: [ 1, 1, 2, 2, 4, 4, 4, 2, 3, 4, 8 ], - stringCache: {}, - stringiCache: {}, - unpackAlignment: 4, - recordError: function recordError(errorCode) { - if (!GL.lastError) { - GL.lastError = errorCode; - } - }, - getNewId: function(table) { - var ret = GL.counter++; - for (var i = table.length; i < ret; i++) { - table[i] = null; - } - return ret; - }, - MAX_TEMP_BUFFER_SIZE: 2097152, - numTempVertexBuffersPerSize: 64, - log2ceilLookup: function(i) { - return 32 - Math.clz32(i === 0 ? 0 : i - 1); - }, - generateTempBuffers: function(quads, context) { - var largestIndex = GL.log2ceilLookup(GL.MAX_TEMP_BUFFER_SIZE); - context.tempVertexBufferCounters1 = []; - context.tempVertexBufferCounters2 = []; - context.tempVertexBufferCounters1.length = context.tempVertexBufferCounters2.length = largestIndex + 1; - context.tempVertexBuffers1 = []; - context.tempVertexBuffers2 = []; - context.tempVertexBuffers1.length = context.tempVertexBuffers2.length = largestIndex + 1; - context.tempIndexBuffers = []; - context.tempIndexBuffers.length = largestIndex + 1; - for (var i = 0; i <= largestIndex; ++i) { - context.tempIndexBuffers[i] = null; - context.tempVertexBufferCounters1[i] = context.tempVertexBufferCounters2[i] = 0; - var ringbufferLength = GL.numTempVertexBuffersPerSize; - context.tempVertexBuffers1[i] = []; - context.tempVertexBuffers2[i] = []; - var ringbuffer1 = context.tempVertexBuffers1[i]; - var ringbuffer2 = context.tempVertexBuffers2[i]; - ringbuffer1.length = ringbuffer2.length = ringbufferLength; - for (var j = 0; j < ringbufferLength; ++j) { - ringbuffer1[j] = ringbuffer2[j] = null; - } - } - if (quads) { - context.tempQuadIndexBuffer = GLctx.createBuffer(); - context.GLctx.bindBuffer(34963, context.tempQuadIndexBuffer); - var numIndexes = GL.MAX_TEMP_BUFFER_SIZE >> 1; - var quadIndexes = new Uint16Array(numIndexes); - var i = 0, v = 0; - while (1) { - quadIndexes[i++] = v; - if (i >= numIndexes) break; - quadIndexes[i++] = v + 1; - if (i >= numIndexes) break; - quadIndexes[i++] = v + 2; - if (i >= numIndexes) break; - quadIndexes[i++] = v; - if (i >= numIndexes) break; - quadIndexes[i++] = v + 2; - if (i >= numIndexes) break; - quadIndexes[i++] = v + 3; - if (i >= numIndexes) break; - v += 4; - } - context.GLctx.bufferData(34963, quadIndexes, 35044); - context.GLctx.bindBuffer(34963, null); - } - }, - getTempVertexBuffer: function getTempVertexBuffer(sizeBytes) { - var idx = GL.log2ceilLookup(sizeBytes); - var ringbuffer = GL.currentContext.tempVertexBuffers1[idx]; - var nextFreeBufferIndex = GL.currentContext.tempVertexBufferCounters1[idx]; - GL.currentContext.tempVertexBufferCounters1[idx] = GL.currentContext.tempVertexBufferCounters1[idx] + 1 & GL.numTempVertexBuffersPerSize - 1; - var vbo = ringbuffer[nextFreeBufferIndex]; - if (vbo) { - return vbo; - } - var prevVBO = GLctx.getParameter(34964); - ringbuffer[nextFreeBufferIndex] = GLctx.createBuffer(); - GLctx.bindBuffer(34962, ringbuffer[nextFreeBufferIndex]); - GLctx.bufferData(34962, 1 << idx, 35048); - GLctx.bindBuffer(34962, prevVBO); - return ringbuffer[nextFreeBufferIndex]; - }, - getTempIndexBuffer: function getTempIndexBuffer(sizeBytes) { - var idx = GL.log2ceilLookup(sizeBytes); - var ibo = GL.currentContext.tempIndexBuffers[idx]; - if (ibo) { - return ibo; - } - var prevIBO = GLctx.getParameter(34965); - GL.currentContext.tempIndexBuffers[idx] = GLctx.createBuffer(); - GLctx.bindBuffer(34963, GL.currentContext.tempIndexBuffers[idx]); - GLctx.bufferData(34963, 1 << idx, 35048); - GLctx.bindBuffer(34963, prevIBO); - return GL.currentContext.tempIndexBuffers[idx]; - }, - newRenderingFrameStarted: function newRenderingFrameStarted() { - if (!GL.currentContext) { - return; - } - var vb = GL.currentContext.tempVertexBuffers1; - GL.currentContext.tempVertexBuffers1 = GL.currentContext.tempVertexBuffers2; - GL.currentContext.tempVertexBuffers2 = vb; - vb = GL.currentContext.tempVertexBufferCounters1; - GL.currentContext.tempVertexBufferCounters1 = GL.currentContext.tempVertexBufferCounters2; - GL.currentContext.tempVertexBufferCounters2 = vb; - var largestIndex = GL.log2ceilLookup(GL.MAX_TEMP_BUFFER_SIZE); - for (var i = 0; i <= largestIndex; ++i) { - GL.currentContext.tempVertexBufferCounters1[i] = 0; - } - }, - getSource: function(shader, count, string, length) { - var source = ""; - for (var i = 0; i < count; ++i) { - var len = length ? HEAP32[length + i * 4 >> 2] : -1; - source += UTF8ToString(HEAP32[string + i * 4 >> 2], len < 0 ? undefined : len); - } - return source; - }, - calcBufLength: function calcBufLength(size, type, stride, count) { - if (stride > 0) { - return count * stride; - } - var typeSize = GL.byteSizeByType[type - GL.byteSizeByTypeRoot]; - return size * typeSize * count; - }, - usedTempBuffers: [], - preDrawHandleClientVertexAttribBindings: function preDrawHandleClientVertexAttribBindings(count) { - GL.resetBufferBinding = false; - for (var i = 0; i < GL.currentContext.maxVertexAttribs; ++i) { - var cb = GL.currentContext.clientBuffers[i]; - if (!cb.clientside || !cb.enabled) continue; - GL.resetBufferBinding = true; - var size = GL.calcBufLength(cb.size, cb.type, cb.stride, count); - var buf = GL.getTempVertexBuffer(size); - GLctx.bindBuffer(34962, buf); - GLctx.bufferSubData(34962, 0, HEAPU8.subarray(cb.ptr, cb.ptr + size)); - cb.vertexAttribPointerAdaptor.call(GLctx, i, cb.size, cb.type, cb.normalized, cb.stride, 0); - } - }, - postDrawHandleClientVertexAttribBindings: function postDrawHandleClientVertexAttribBindings() { - if (GL.resetBufferBinding) { - GLctx.bindBuffer(34962, GL.buffers[GLctx.currentArrayBufferBinding]); - } - }, - createContext: function(canvas, webGLContextAttributes) { - if (!canvas.getContextSafariWebGL2Fixed) { - canvas.getContextSafariWebGL2Fixed = canvas.getContext; - function fixedGetContext(ver, attrs) { - var gl = canvas.getContextSafariWebGL2Fixed(ver, attrs); - return ver == "webgl" == gl instanceof WebGLRenderingContext ? gl : null; - } - canvas.getContext = fixedGetContext; - } - var ctx = webGLContextAttributes.majorVersion > 1 ? canvas.getContext("webgl2", webGLContextAttributes) : canvas.getContext("webgl", webGLContextAttributes); - if (!ctx) return 0; - var handle = GL.registerContext(ctx, webGLContextAttributes); - return handle; - }, - registerContext: function(ctx, webGLContextAttributes) { - var handle = GL.getNewId(GL.contexts); - var context = { - handle: handle, - attributes: webGLContextAttributes, - version: webGLContextAttributes.majorVersion, - GLctx: ctx - }; - if (ctx.canvas) ctx.canvas.GLctxObject = context; - GL.contexts[handle] = context; - if (typeof webGLContextAttributes.enableExtensionsByDefault == "undefined" || webGLContextAttributes.enableExtensionsByDefault) { - GL.initExtensions(context); - } - context.maxVertexAttribs = context.GLctx.getParameter(34921); - context.clientBuffers = []; - for (var i = 0; i < context.maxVertexAttribs; i++) { - context.clientBuffers[i] = { - enabled: false, - clientside: false, - size: 0, - type: 0, - normalized: 0, - stride: 0, - ptr: 0, - vertexAttribPointerAdaptor: null - }; - } - GL.generateTempBuffers(false, context); - return handle; - }, - makeContextCurrent: function(contextHandle) { - GL.currentContext = GL.contexts[contextHandle]; - Module.ctx = GLctx = GL.currentContext && GL.currentContext.GLctx; - return !(contextHandle && !GLctx); - }, - getContext: function(contextHandle) { - return GL.contexts[contextHandle]; - }, - deleteContext: function(contextHandle) { - if (GL.currentContext === GL.contexts[contextHandle]) GL.currentContext = null; - if (typeof JSEvents == "object") JSEvents.removeAllHandlersOnTarget(GL.contexts[contextHandle].GLctx.canvas); - if (GL.contexts[contextHandle] && GL.contexts[contextHandle].GLctx.canvas) GL.contexts[contextHandle].GLctx.canvas.GLctxObject = undefined; - GL.contexts[contextHandle] = null; - }, - initExtensions: function(context) { - if (!context) context = GL.currentContext; - if (context.initExtensionsDone) return; - context.initExtensionsDone = true; - var GLctx = context.GLctx; - webgl_enable_ANGLE_instanced_arrays(GLctx); - webgl_enable_OES_vertex_array_object(GLctx); - webgl_enable_WEBGL_draw_buffers(GLctx); - webgl_enable_WEBGL_draw_instanced_base_vertex_base_instance(GLctx); - webgl_enable_WEBGL_multi_draw_instanced_base_vertex_base_instance(GLctx); - if (context.version >= 2) { - GLctx.disjointTimerQueryExt = GLctx.getExtension("EXT_disjoint_timer_query_webgl2"); - } - if (context.version < 2 || !GLctx.disjointTimerQueryExt) { - GLctx.disjointTimerQueryExt = GLctx.getExtension("EXT_disjoint_timer_query"); - } - webgl_enable_WEBGL_multi_draw(GLctx); - var exts = GLctx.getSupportedExtensions() || []; - exts.forEach(function(ext) { - if (!ext.includes("lose_context") && !ext.includes("debug")) { - GLctx.getExtension(ext); - } - }); - } -}; - -var JSEvents = { - inEventHandler: 0, - removeAllEventListeners: function() { - for (var i = JSEvents.eventHandlers.length - 1; i >= 0; --i) { - JSEvents._removeHandler(i); - } - JSEvents.eventHandlers = []; - JSEvents.deferredCalls = []; - }, - registerRemoveEventListeners: function() { - if (!JSEvents.removeEventListenersRegistered) { - __ATEXIT__.push(JSEvents.removeAllEventListeners); - JSEvents.removeEventListenersRegistered = true; - } - }, - deferredCalls: [], - deferCall: function(targetFunction, precedence, argsList) { - function arraysHaveEqualContent(arrA, arrB) { - if (arrA.length != arrB.length) return false; - for (var i in arrA) { - if (arrA[i] != arrB[i]) return false; - } - return true; - } - for (var i in JSEvents.deferredCalls) { - var call = JSEvents.deferredCalls[i]; - if (call.targetFunction == targetFunction && arraysHaveEqualContent(call.argsList, argsList)) { - return; - } - } - JSEvents.deferredCalls.push({ - targetFunction: targetFunction, - precedence: precedence, - argsList: argsList - }); - JSEvents.deferredCalls.sort(function(x, y) { - return x.precedence < y.precedence; - }); - }, - removeDeferredCalls: function(targetFunction) { - for (var i = 0; i < JSEvents.deferredCalls.length; ++i) { - if (JSEvents.deferredCalls[i].targetFunction == targetFunction) { - JSEvents.deferredCalls.splice(i, 1); - --i; - } - } - }, - canPerformEventHandlerRequests: function() { - return JSEvents.inEventHandler && JSEvents.currentEventHandler.allowsDeferredCalls; - }, - runDeferredCalls: function() { - if (!JSEvents.canPerformEventHandlerRequests()) { - return; - } - for (var i = 0; i < JSEvents.deferredCalls.length; ++i) { - var call = JSEvents.deferredCalls[i]; - JSEvents.deferredCalls.splice(i, 1); - --i; - call.targetFunction.apply(null, call.argsList); - } - }, - eventHandlers: [], - removeAllHandlersOnTarget: function(target, eventTypeString) { - for (var i = 0; i < JSEvents.eventHandlers.length; ++i) { - if (JSEvents.eventHandlers[i].target == target && (!eventTypeString || eventTypeString == JSEvents.eventHandlers[i].eventTypeString)) { - JSEvents._removeHandler(i--); - } - } - }, - _removeHandler: function(i) { - var h = JSEvents.eventHandlers[i]; - h.target.removeEventListener(h.eventTypeString, h.eventListenerFunc, h.useCapture); - JSEvents.eventHandlers.splice(i, 1); - }, - registerOrRemoveHandler: function(eventHandler) { - var jsEventHandler = function jsEventHandler(event) { - ++JSEvents.inEventHandler; - JSEvents.currentEventHandler = eventHandler; - JSEvents.runDeferredCalls(); - eventHandler.handlerFunc(event); - JSEvents.runDeferredCalls(); - --JSEvents.inEventHandler; - }; - if (eventHandler.callbackfunc) { - eventHandler.eventListenerFunc = jsEventHandler; - eventHandler.target.addEventListener(eventHandler.eventTypeString, jsEventHandler, eventHandler.useCapture); - JSEvents.eventHandlers.push(eventHandler); - JSEvents.registerRemoveEventListeners(); - } else { - for (var i = 0; i < JSEvents.eventHandlers.length; ++i) { - if (JSEvents.eventHandlers[i].target == eventHandler.target && JSEvents.eventHandlers[i].eventTypeString == eventHandler.eventTypeString) { - JSEvents._removeHandler(i--); - } - } - } - }, - getNodeNameForTarget: function(target) { - if (!target) return ""; - if (target == window) return "#window"; - if (target == screen) return "#screen"; - return target && target.nodeName ? target.nodeName : ""; - }, - fullscreenEnabled: function() { - return document.fullscreenEnabled || document.webkitFullscreenEnabled; - } -}; - -var emscripten_webgl_power_preferences = [ "default", "low-power", "high-performance" ]; - -var specialHTMLTargets = [ 0, typeof document != "undefined" ? document : 0, typeof window != "undefined" ? window : 0 ]; - -function findEventTarget(target) { - try { - if (!target) return window; - if (typeof target == "number") target = specialHTMLTargets[target] || UTF8ToString(target); - if (target === "#window") return window; else if (target === "#document") return document; else if (target === "#screen") return screen; else if (target === "#canvas") return Module["canvas"]; - return typeof target == "string" ? document.getElementById(target) : target; - } catch (e) { - return null; - } -} - -function findCanvasEventTarget(target) { - if (typeof target == "number") target = UTF8ToString(target); - if (!target || target === "#canvas") { - if (typeof GL != "undefined" && GL.offscreenCanvases["canvas"]) return GL.offscreenCanvases["canvas"]; - return Module["canvas"]; - } - if (typeof GL != "undefined" && GL.offscreenCanvases[target]) return GL.offscreenCanvases[target]; - return findEventTarget(target); -} - -function _emscripten_webgl_do_create_context(target, attributes) { - var a = attributes >> 2; - var powerPreference = HEAP32[a + (24 >> 2)]; - var contextAttributes = { - "alpha": !!HEAP32[a + (0 >> 2)], - "depth": !!HEAP32[a + (4 >> 2)], - "stencil": !!HEAP32[a + (8 >> 2)], - "antialias": !!HEAP32[a + (12 >> 2)], - "premultipliedAlpha": !!HEAP32[a + (16 >> 2)], - "preserveDrawingBuffer": !!HEAP32[a + (20 >> 2)], - "powerPreference": emscripten_webgl_power_preferences[powerPreference], - "failIfMajorPerformanceCaveat": !!HEAP32[a + (28 >> 2)], - majorVersion: HEAP32[a + (32 >> 2)], - minorVersion: HEAP32[a + (36 >> 2)], - enableExtensionsByDefault: HEAP32[a + (40 >> 2)], - explicitSwapControl: HEAP32[a + (44 >> 2)], - proxyContextToMainThread: HEAP32[a + (48 >> 2)], - renderViaOffscreenBackBuffer: HEAP32[a + (52 >> 2)] - }; - var canvas = findCanvasEventTarget(target); - if (!canvas) { - return 0; - } - if (contextAttributes.explicitSwapControl) { - return 0; - } - var contextHandle = GL.createContext(canvas, contextAttributes); - return contextHandle; -} - -var _emscripten_webgl_create_context = _emscripten_webgl_do_create_context; - -function _emscripten_webgl_destroy_context(contextHandle) { - if (GL.currentContext == contextHandle) GL.currentContext = 0; - GL.deleteContext(contextHandle); -} - -function _emscripten_webgl_get_context_attributes(c, a) { - if (!a) return -5; - c = GL.contexts[c]; - if (!c) return -3; - var t = c.GLctx; - if (!t) return -3; - t = t.getContextAttributes(); - HEAP32[a >> 2] = t.alpha; - HEAP32[a + 4 >> 2] = t.depth; - HEAP32[a + 8 >> 2] = t.stencil; - HEAP32[a + 12 >> 2] = t.antialias; - HEAP32[a + 16 >> 2] = t.premultipliedAlpha; - HEAP32[a + 20 >> 2] = t.preserveDrawingBuffer; - var power = t["powerPreference"] && emscripten_webgl_power_preferences.indexOf(t["powerPreference"]); - HEAP32[a + 24 >> 2] = power; - HEAP32[a + 28 >> 2] = t.failIfMajorPerformanceCaveat; - HEAP32[a + 32 >> 2] = c.version; - HEAP32[a + 36 >> 2] = 0; - HEAP32[a + 40 >> 2] = c.attributes.enableExtensionsByDefault; - return 0; -} - -function _emscripten_webgl_do_get_current_context() { - return GL.currentContext ? GL.currentContext.handle : 0; -} - -var _emscripten_webgl_get_current_context = _emscripten_webgl_do_get_current_context; - -function _emscripten_webgl_init_context_attributes(attributes) { - var a = attributes >> 2; - for (var i = 0; i < 56 >> 2; ++i) { - HEAP32[a + i] = 0; - } - HEAP32[a + (0 >> 2)] = HEAP32[a + (4 >> 2)] = HEAP32[a + (12 >> 2)] = HEAP32[a + (16 >> 2)] = HEAP32[a + (32 >> 2)] = HEAP32[a + (40 >> 2)] = 1; -} - -function _emscripten_webgl_make_context_current(contextHandle) { - var success = GL.makeContextCurrent(contextHandle); - return success ? 0 : -5; -} - -var WebGPU = { - initManagers: function() { - if (WebGPU.mgrDevice) return; - function Manager() { - this.objects = {}; - this.nextId = 1; - this.create = function(object, wrapper = {}) { - var id = this.nextId++; - wrapper.refcount = 1; - wrapper.object = object; - this.objects[id] = wrapper; - return id; - }; - this.get = function(id) { - if (!id) return undefined; - var o = this.objects[id]; - return o.object; - }; - this.reference = function(id) { - var o = this.objects[id]; - o.refcount++; - }; - this.release = function(id) { - var o = this.objects[id]; - o.refcount--; - if (o.refcount <= 0) { - delete this.objects[id]; - } - }; - } - WebGPU.mgrSurface = WebGPU.mgrSurface || new Manager(); - WebGPU.mgrSwapChain = WebGPU.mgrSwapChain || new Manager(); - WebGPU.mgrAdapter = WebGPU.mgrAdapter || new Manager(); - WebGPU.mgrDevice = WebGPU.mgrDevice || new Manager(); - WebGPU.mgrQueue = WebGPU.mgrQueue || new Manager(); - WebGPU.mgrCommandBuffer = WebGPU.mgrCommandBuffer || new Manager(); - WebGPU.mgrCommandEncoder = WebGPU.mgrCommandEncoder || new Manager(); - WebGPU.mgrRenderPassEncoder = WebGPU.mgrRenderPassEncoder || new Manager(); - WebGPU.mgrComputePassEncoder = WebGPU.mgrComputePassEncoder || new Manager(); - WebGPU.mgrBindGroup = WebGPU.mgrBindGroup || new Manager(); - WebGPU.mgrBuffer = WebGPU.mgrBuffer || new Manager(); - WebGPU.mgrSampler = WebGPU.mgrSampler || new Manager(); - WebGPU.mgrTexture = WebGPU.mgrTexture || new Manager(); - WebGPU.mgrTextureView = WebGPU.mgrTextureView || new Manager(); - WebGPU.mgrQuerySet = WebGPU.mgrQuerySet || new Manager(); - WebGPU.mgrBindGroupLayout = WebGPU.mgrBindGroupLayout || new Manager(); - WebGPU.mgrPipelineLayout = WebGPU.mgrPipelineLayout || new Manager(); - WebGPU.mgrRenderPipeline = WebGPU.mgrRenderPipeline || new Manager(); - WebGPU.mgrComputePipeline = WebGPU.mgrComputePipeline || new Manager(); - WebGPU.mgrShaderModule = WebGPU.mgrShaderModule || new Manager(); - WebGPU.mgrRenderBundleEncoder = WebGPU.mgrRenderBundleEncoder || new Manager(); - WebGPU.mgrRenderBundle = WebGPU.mgrRenderBundle || new Manager(); - }, - makeColor: function(ptr) { - return { - "r": HEAPF64[ptr >> 3], - "g": HEAPF64[ptr + 8 >> 3], - "b": HEAPF64[ptr + 16 >> 3], - "a": HEAPF64[ptr + 24 >> 3] - }; - }, - makeExtent3D: function(ptr) { - return { - "width": HEAPU32[ptr >> 2], - "height": HEAPU32[ptr + 4 >> 2], - "depthOrArrayLayers": HEAPU32[ptr + 8 >> 2] - }; - }, - makeOrigin3D: function(ptr) { - return { - "x": HEAPU32[ptr >> 2], - "y": HEAPU32[ptr + 4 >> 2], - "z": HEAPU32[ptr + 8 >> 2] - }; - }, - makeImageCopyTexture: function(ptr) { - return { - "texture": WebGPU.mgrTexture.get(HEAPU32[ptr + 4 >> 2]), - "mipLevel": HEAPU32[ptr + 8 >> 2], - "origin": WebGPU.makeOrigin3D(ptr + 12), - "aspect": WebGPU.TextureAspect[HEAPU32[ptr + 24 >> 2]] - }; - }, - makeTextureDataLayout: function(ptr) { - var bytesPerRow = HEAPU32[ptr + 16 >> 2]; - var rowsPerImage = HEAPU32[ptr + 20 >> 2]; - return { - "offset": HEAPU32[ptr + 4 + 8 >> 2] * 4294967296 + HEAPU32[ptr + 8 >> 2], - "bytesPerRow": bytesPerRow === 4294967295 ? undefined : bytesPerRow, - "rowsPerImage": rowsPerImage === 4294967295 ? undefined : rowsPerImage - }; - }, - makeImageCopyBuffer: function(ptr) { - var layoutPtr = ptr + 8; - var bufferCopyView = WebGPU.makeTextureDataLayout(layoutPtr); - bufferCopyView["buffer"] = WebGPU.mgrBuffer.get(HEAPU32[ptr + 32 >> 2]); - return bufferCopyView; - }, - makePipelineConstants: function(constantCount, constantsPtr) { - if (!constantCount) return; - var constants = {}; - for (var i = 0; i < constantCount; ++i) { - var entryPtr = constantsPtr + 16 * i; - var key = UTF8ToString(HEAPU32[entryPtr + 4 >> 2]); - constants[key] = HEAPF64[entryPtr + 8 >> 3]; - } - return constants; - }, - makePipelineLayout: function(layoutPtr) { - if (!layoutPtr) return "auto"; - return WebGPU.mgrPipelineLayout.get(layoutPtr); - }, - makeProgrammableStageDescriptor: function(ptr) { - if (!ptr) return undefined; - return { - "module": WebGPU.mgrShaderModule.get(HEAPU32[ptr + 4 >> 2]), - "entryPoint": UTF8ToString(HEAPU32[ptr + 8 >> 2]), - "constants": WebGPU.makePipelineConstants(HEAPU32[ptr + 12 >> 2], HEAPU32[ptr + 16 >> 2]) - }; - }, - DeviceLostReason: { - undefined: 0, - destroyed: 1 - }, - PreferredFormat: { - rgba8unorm: 18, - bgra8unorm: 23 - }, - AddressMode: [ "repeat", "mirror-repeat", "clamp-to-edge" ], - BlendFactor: [ "zero", "one", "src", "one-minus-src", "src-alpha", "one-minus-src-alpha", "dst", "one-minus-dst", "dst-alpha", "one-minus-dst-alpha", "src-alpha-saturated", "constant", "one-minus-constant" ], - BlendOperation: [ "add", "subtract", "reverse-subtract", "min", "max" ], - BufferBindingType: [ , "uniform", "storage", "read-only-storage" ], - CompareFunction: [ , "never", "less", "less-equal", "greater", "greater-equal", "equal", "not-equal", "always" ], - CompilationInfoRequestStatus: [ "success", "error", "device-lost", "unknown" ], - ComputePassTimestampLocation: [ "beginning", "end" ], - CullMode: [ "none", "front", "back" ], - ErrorFilter: [ "validation", "out-of-memory" ], - FeatureName: [ , "depth-clip-control", "depth32float-stencil8", "timestamp-query", "pipeline-statistics-query", "texture-compression-bc", "texture-compression-etc2", "texture-compression-astc", "indirect-first-instance" ], - FilterMode: [ "nearest", "linear" ], - FrontFace: [ "ccw", "cw" ], - IndexFormat: [ , "uint16", "uint32" ], - LoadOp: [ , "clear", "load" ], - PipelineStatisticName: [ "vertex-shader-invocations", "clipper-invocations", "clipper-primitives-out", "fragment-shader-invocations", "compute-shader-invocations" ], - PowerPreference: [ , "low-power", "high-performance" ], - PrimitiveTopology: [ "point-list", "line-list", "line-strip", "triangle-list", "triangle-strip" ], - QueryType: [ "occlusion", "pipeline-statistics", "timestamp" ], - RenderPassTimestampLocation: [ "beginning", "end" ], - SamplerBindingType: [ , "filtering", "non-filtering", "comparison" ], - StencilOperation: [ "keep", "zero", "replace", "invert", "increment-clamp", "decrement-clamp", "increment-wrap", "decrement-wrap" ], - StorageTextureAccess: [ , "write-only" ], - StoreOp: [ , "store", "discard" ], - TextureAspect: [ "all", "stencil-only", "depth-only" ], - TextureComponentType: [ "float", "sint", "uint", "depth-comparison" ], - TextureDimension: [ "1d", "2d", "3d" ], - TextureFormat: [ , "r8unorm", "r8snorm", "r8uint", "r8sint", "r16uint", "r16sint", "r16float", "rg8unorm", "rg8snorm", "rg8uint", "rg8sint", "r32float", "r32uint", "r32sint", "rg16uint", "rg16sint", "rg16float", "rgba8unorm", "rgba8unorm-srgb", "rgba8snorm", "rgba8uint", "rgba8sint", "bgra8unorm", "bgra8unorm-srgb", "rgb10a2unorm", "rg11b10ufloat", "rgb9e5ufloat", "rg32float", "rg32uint", "rg32sint", "rgba16uint", "rgba16sint", "rgba16float", "rgba32float", "rgba32uint", "rgba32sint", "stencil8", "depth16unorm", "depth24plus", "depth24plus-stencil8", "depth32float", "depth32float-stencil8", "bc1-rgba-unorm", "bc1-rgba-unorm-srgb", "bc2-rgba-unorm", "bc2-rgba-unorm-srgb", "bc3-rgba-unorm", "bc3-rgba-unorm-srgb", "bc4-r-unorm", "bc4-r-snorm", "bc5-rg-unorm", "bc5-rg-snorm", "bc6h-rgb-ufloat", "bc6h-rgb-float", "bc7-rgba-unorm", "bc7-rgba-unorm-srgb", "etc2-rgb8unorm", "etc2-rgb8unorm-srgb", "etc2-rgb8a1unorm", "etc2-rgb8a1unorm-srgb", "etc2-rgba8unorm", "etc2-rgba8unorm-srgb", "eac-r11unorm", "eac-r11snorm", "eac-rg11unorm", "eac-rg11snorm", "astc-4x4-unorm", "astc-4x4-unorm-srgb", "astc-5x4-unorm", "astc-5x4-unorm-srgb", "astc-5x5-unorm", "astc-5x5-unorm-srgb", "astc-6x5-unorm", "astc-6x5-unorm-srgb", "astc-6x6-unorm", "astc-6x6-unorm-srgb", "astc-8x5-unorm", "astc-8x5-unorm-srgb", "astc-8x6-unorm", "astc-8x6-unorm-srgb", "astc-8x8-unorm", "astc-8x8-unorm-srgb", "astc-10x5-unorm", "astc-10x5-unorm-srgb", "astc-10x6-unorm", "astc-10x6-unorm-srgb", "astc-10x8-unorm", "astc-10x8-unorm-srgb", "astc-10x10-unorm", "astc-10x10-unorm-srgb", "astc-12x10-unorm", "astc-12x10-unorm-srgb", "astc-12x12-unorm", "astc-12x12-unorm-srgb" ], - TextureSampleType: [ , "float", "unfilterable-float", "depth", "sint", "uint" ], - TextureViewDimension: [ , "1d", "2d", "2d-array", "cube", "cube-array", "3d" ], - VertexFormat: [ , "uint8x2", "uint8x4", "sint8x2", "sint8x4", "unorm8x2", "unorm8x4", "snorm8x2", "snorm8x4", "uint16x2", "uint16x4", "sint16x2", "sint16x4", "unorm16x2", "unorm16x4", "snorm16x2", "snorm16x4", "float16x2", "float16x4", "float32", "float32x2", "float32x3", "float32x4", "uint32", "uint32x2", "uint32x3", "uint32x4", "sint32", "sint32x2", "sint32x3", "sint32x4" ], - VertexStepMode: [ "vertex", "instance" ], - FeatureNameString2Enum: { - undefined: "0", - "depth-clip-control": "1", - "depth32float-stencil8": "2", - "timestamp-query": "3", - "pipeline-statistics-query": "4", - "texture-compression-bc": "5", - "texture-compression-etc2": "6", - "texture-compression-astc": "7", - "indirect-first-instance": "8" - } -}; - -var JsValStore = { - values: {}, - next_id: 1, - add: function(js_val) { - var id; - do { - id = JsValStore.next_id++; - if (JsValStore.next_id > 2147483647) JsValStore.next_id = 1; - } while (id in JsValStore.values); - JsValStore.values[id] = js_val; - return id; - }, - remove: function(id) { - delete JsValStore.values[id]; - }, - get: function(id) { - return JsValStore.values[id]; - } -}; - -function _emscripten_webgpu_export_bind_group_layout(handle) { - return JsValStore.add(WebGPU.mgrBindGroupLayout.get(handle)); -} - -function _emscripten_webgpu_export_device(handle) { - return JsValStore.add(WebGPU.mgrDevice.get(handle)); -} - -function _emscripten_webgpu_export_sampler(handle) { - return JsValStore.add(WebGPU.mgrSampler.get(handle)); -} - -function _emscripten_webgpu_export_texture(handle) { - return JsValStore.add(WebGPU.mgrTexture.get(handle)); -} - -function _emscripten_webgpu_get_device() { - if (WebGPU.preinitializedDeviceId === undefined) { - var device = Module["preinitializedWebGPUDevice"]; - var deviceWrapper = { - queueId: WebGPU.mgrQueue.create(device["queue"]) - }; - WebGPU.preinitializedDeviceId = WebGPU.mgrDevice.create(device, deviceWrapper); - } - WebGPU.mgrDevice.reference(WebGPU.preinitializedDeviceId); - return WebGPU.preinitializedDeviceId; -} - -function _emscripten_webgpu_import_bind_group(handle) { - return WebGPU.mgrBindGroup.create(JsValStore.get(handle)); -} - -function _emscripten_webgpu_import_texture(handle) { - return WebGPU.mgrTexture.create(JsValStore.get(handle)); -} - -function _emscripten_webgpu_release_js_handle(id) { - JsValStore.remove(id); -} - -var ENV = {}; - -function getExecutableName() { - return thisProgram || "./this.program"; -} - -function getEnvStrings() { - if (!getEnvStrings.strings) { - var lang = (typeof navigator == "object" && navigator.languages && navigator.languages[0] || "C").replace("-", "_") + ".UTF-8"; - var env = { - "USER": "web_user", - "LOGNAME": "web_user", - "PATH": "/", - "PWD": "/", - "HOME": "/home/web_user", - "LANG": lang, - "_": getExecutableName() - }; - for (var x in ENV) { - if (ENV[x] === undefined) delete env[x]; else env[x] = ENV[x]; - } - var strings = []; - for (var x in env) { - strings.push(x + "=" + env[x]); - } - getEnvStrings.strings = strings; - } - return getEnvStrings.strings; -} - -function stringToAscii(str, buffer) { - for (var i = 0; i < str.length; ++i) { - HEAP8[buffer++ >> 0] = str.charCodeAt(i); - } - HEAP8[buffer >> 0] = 0; -} - -function _environ_get(__environ, environ_buf) { - var bufSize = 0; - getEnvStrings().forEach(function(string, i) { - var ptr = environ_buf + bufSize; - HEAPU32[__environ + i * 4 >> 2] = ptr; - stringToAscii(string, ptr); - bufSize += string.length + 1; - }); - return 0; -} - -function _environ_sizes_get(penviron_count, penviron_buf_size) { - var strings = getEnvStrings(); - HEAPU32[penviron_count >> 2] = strings.length; - var bufSize = 0; - strings.forEach(function(string) { - bufSize += string.length + 1; - }); - HEAPU32[penviron_buf_size >> 2] = bufSize; - return 0; -} - -function _fd_close(fd) { - try { - var stream = SYSCALLS.getStreamFromFD(fd); - FS.close(stream); - return 0; - } catch (e) { - if (typeof FS == "undefined" || !(e.name === "ErrnoError")) throw e; - return e.errno; - } -} - -function doReadv(stream, iov, iovcnt, offset) { - var ret = 0; - for (var i = 0; i < iovcnt; i++) { - var ptr = HEAPU32[iov >> 2]; - var len = HEAPU32[iov + 4 >> 2]; - iov += 8; - var curr = FS.read(stream, HEAP8, ptr, len, offset); - if (curr < 0) return -1; - ret += curr; - if (curr < len) break; - if (typeof offset !== "undefined") { - offset += curr; - } - } - return ret; -} - -function _fd_read(fd, iov, iovcnt, pnum) { - try { - var stream = SYSCALLS.getStreamFromFD(fd); - var num = doReadv(stream, iov, iovcnt); - HEAPU32[pnum >> 2] = num; - return 0; - } catch (e) { - if (typeof FS == "undefined" || !(e.name === "ErrnoError")) throw e; - return e.errno; - } -} - -function convertI32PairToI53Checked(lo, hi) { - return hi + 2097152 >>> 0 < 4194305 - !!lo ? (lo >>> 0) + hi * 4294967296 : NaN; -} - -function _fd_seek(fd, offset_low, offset_high, whence, newOffset) { - try { - var offset = convertI32PairToI53Checked(offset_low, offset_high); - if (isNaN(offset)) return 61; - var stream = SYSCALLS.getStreamFromFD(fd); - FS.llseek(stream, offset, whence); - tempI64 = [ stream.position >>> 0, (tempDouble = stream.position, +Math.abs(tempDouble) >= 1 ? tempDouble > 0 ? (Math.min(+Math.floor(tempDouble / 4294967296), 4294967295) | 0) >>> 0 : ~~+Math.ceil((tempDouble - +(~~tempDouble >>> 0)) / 4294967296) >>> 0 : 0) ], - HEAP32[newOffset >> 2] = tempI64[0], HEAP32[newOffset + 4 >> 2] = tempI64[1]; - if (stream.getdents && offset === 0 && whence === 0) stream.getdents = null; - return 0; - } catch (e) { - if (typeof FS == "undefined" || !(e.name === "ErrnoError")) throw e; - return e.errno; - } -} - -function doWritev(stream, iov, iovcnt, offset) { - var ret = 0; - for (var i = 0; i < iovcnt; i++) { - var ptr = HEAPU32[iov >> 2]; - var len = HEAPU32[iov + 4 >> 2]; - iov += 8; - var curr = FS.write(stream, HEAP8, ptr, len, offset); - if (curr < 0) return -1; - ret += curr; - if (typeof offset !== "undefined") { - offset += curr; - } - } - return ret; -} - -function _fd_write(fd, iov, iovcnt, pnum) { - try { - var stream = SYSCALLS.getStreamFromFD(fd); - var num = doWritev(stream, iov, iovcnt); - HEAPU32[pnum >> 2] = num; - return 0; - } catch (e) { - if (typeof FS == "undefined" || !(e.name === "ErrnoError")) throw e; - return e.errno; - } -} - -function _getentropy(buffer, size) { - randomFill(HEAPU8.subarray(buffer, buffer + size)); - return 0; -} - -function _glActiveTexture(x0) { - GLctx["activeTexture"](x0); -} - -function _glAttachShader(program, shader) { - GLctx.attachShader(GL.programs[program], GL.shaders[shader]); -} - -function _glBindAttribLocation(program, index, name) { - GLctx.bindAttribLocation(GL.programs[program], index, UTF8ToString(name)); -} - -function _glBindBuffer(target, buffer) { - if (target == 34962) { - GLctx.currentArrayBufferBinding = buffer; - } else if (target == 34963) { - GLctx.currentElementArrayBufferBinding = buffer; - } - if (target == 35051) { - GLctx.currentPixelPackBufferBinding = buffer; - } else if (target == 35052) { - GLctx.currentPixelUnpackBufferBinding = buffer; - } - GLctx.bindBuffer(target, GL.buffers[buffer]); -} - -function _glBindBufferBase(target, index, buffer) { - GLctx["bindBufferBase"](target, index, GL.buffers[buffer]); -} - -function _glBindFramebuffer(target, framebuffer) { - GLctx.bindFramebuffer(target, GL.framebuffers[framebuffer]); -} - -function _glBindTexture(target, texture) { - GLctx.bindTexture(target, GL.textures[texture]); -} - -function _glBindVertexArray(vao) { - GLctx["bindVertexArray"](GL.vaos[vao]); - var ibo = GLctx.getParameter(34965); - GLctx.currentElementArrayBufferBinding = ibo ? ibo.name | 0 : 0; -} - -function _glBlendEquation(x0) { - GLctx["blendEquation"](x0); -} - -function _glBlendFunc(x0, x1) { - GLctx["blendFunc"](x0, x1); -} - -function _glBufferData(target, size, data, usage) { - if (GL.currentContext.version >= 2) { - if (data && size) { - GLctx.bufferData(target, HEAPU8, usage, data, size); - } else { - GLctx.bufferData(target, size, usage); - } - } else { - GLctx.bufferData(target, data ? HEAPU8.subarray(data, data + size) : size, usage); - } -} - -function _glClear(x0) { - GLctx["clear"](x0); -} - -function _glClearColor(x0, x1, x2, x3) { - GLctx["clearColor"](x0, x1, x2, x3); -} - -function convertI32PairToI53(lo, hi) { - return (lo >>> 0) + hi * 4294967296; -} - -function _glClientWaitSync(sync, flags, timeout_low, timeout_high) { - var timeout = convertI32PairToI53(timeout_low, timeout_high); - return GLctx.clientWaitSync(GL.syncs[sync], flags, timeout); -} - -function _glCompileShader(shader) { - GLctx.compileShader(GL.shaders[shader]); -} - -function _glCreateProgram() { - var id = GL.getNewId(GL.programs); - var program = GLctx.createProgram(); - program.name = id; - program.maxUniformLength = program.maxAttributeLength = program.maxUniformBlockNameLength = 0; - program.uniformIdCounter = 1; - GL.programs[id] = program; - return id; -} - -function _glCreateShader(shaderType) { - var id = GL.getNewId(GL.shaders); - GL.shaders[id] = GLctx.createShader(shaderType); - return id; -} - -function _glDeleteBuffers(n, buffers) { - for (var i = 0; i < n; i++) { - var id = HEAP32[buffers + i * 4 >> 2]; - var buffer = GL.buffers[id]; - if (!buffer) continue; - GLctx.deleteBuffer(buffer); - buffer.name = 0; - GL.buffers[id] = null; - if (id == GLctx.currentArrayBufferBinding) GLctx.currentArrayBufferBinding = 0; - if (id == GLctx.currentElementArrayBufferBinding) GLctx.currentElementArrayBufferBinding = 0; - if (id == GLctx.currentPixelPackBufferBinding) GLctx.currentPixelPackBufferBinding = 0; - if (id == GLctx.currentPixelUnpackBufferBinding) GLctx.currentPixelUnpackBufferBinding = 0; - } -} - -function _glDeleteFramebuffers(n, framebuffers) { - for (var i = 0; i < n; ++i) { - var id = HEAP32[framebuffers + i * 4 >> 2]; - var framebuffer = GL.framebuffers[id]; - if (!framebuffer) continue; - GLctx.deleteFramebuffer(framebuffer); - framebuffer.name = 0; - GL.framebuffers[id] = null; - } -} - -function _glDeleteProgram(id) { - if (!id) return; - var program = GL.programs[id]; - if (!program) { - GL.recordError(1281); - return; - } - GLctx.deleteProgram(program); - program.name = 0; - GL.programs[id] = null; -} - -function _glDeleteShader(id) { - if (!id) return; - var shader = GL.shaders[id]; - if (!shader) { - GL.recordError(1281); - return; - } - GLctx.deleteShader(shader); - GL.shaders[id] = null; -} - -function _glDeleteSync(id) { - if (!id) return; - var sync = GL.syncs[id]; - if (!sync) { - GL.recordError(1281); - return; - } - GLctx.deleteSync(sync); - sync.name = 0; - GL.syncs[id] = null; -} - -function _glDeleteTextures(n, textures) { - for (var i = 0; i < n; i++) { - var id = HEAP32[textures + i * 4 >> 2]; - var texture = GL.textures[id]; - if (!texture) continue; - GLctx.deleteTexture(texture); - texture.name = 0; - GL.textures[id] = null; - } -} - -function _glDeleteVertexArrays(n, vaos) { - for (var i = 0; i < n; i++) { - var id = HEAP32[vaos + i * 4 >> 2]; - GLctx["deleteVertexArray"](GL.vaos[id]); - GL.vaos[id] = null; - } -} - -function _glDisable(x0) { - GLctx["disable"](x0); -} - -function _glDisableVertexAttribArray(index) { - var cb = GL.currentContext.clientBuffers[index]; - cb.enabled = false; - GLctx.disableVertexAttribArray(index); -} - -function _glDrawArrays(mode, first, count) { - GL.preDrawHandleClientVertexAttribBindings(first + count); - GLctx.drawArrays(mode, first, count); - GL.postDrawHandleClientVertexAttribBindings(); -} - -var tempFixedLengthArray = []; - -function _glDrawBuffers(n, bufs) { - var bufArray = tempFixedLengthArray[n]; - for (var i = 0; i < n; i++) { - bufArray[i] = HEAP32[bufs + i * 4 >> 2]; - } - GLctx["drawBuffers"](bufArray); -} - -function _glEnable(x0) { - GLctx["enable"](x0); -} - -function _glEnableVertexAttribArray(index) { - var cb = GL.currentContext.clientBuffers[index]; - cb.enabled = true; - GLctx.enableVertexAttribArray(index); -} - -function _glFenceSync(condition, flags) { - var sync = GLctx.fenceSync(condition, flags); - if (sync) { - var id = GL.getNewId(GL.syncs); - sync.name = id; - GL.syncs[id] = sync; - return id; - } - return 0; -} - -function _glFinish() { - GLctx["finish"](); -} - -function _glFlush() { - GLctx["flush"](); -} - -function _glFramebufferTexture2D(target, attachment, textarget, texture, level) { - GLctx.framebufferTexture2D(target, attachment, textarget, GL.textures[texture], level); -} - -function _glFramebufferTextureLayer(target, attachment, texture, level, layer) { - GLctx.framebufferTextureLayer(target, attachment, GL.textures[texture], level, layer); -} - -function __glGenObject(n, buffers, createFunction, objectTable) { - for (var i = 0; i < n; i++) { - var buffer = GLctx[createFunction](); - var id = buffer && GL.getNewId(objectTable); - if (buffer) { - buffer.name = id; - objectTable[id] = buffer; - } else { - GL.recordError(1282); - } - HEAP32[buffers + i * 4 >> 2] = id; - } -} - -function _glGenBuffers(n, buffers) { - __glGenObject(n, buffers, "createBuffer", GL.buffers); -} - -function _glGenFramebuffers(n, ids) { - __glGenObject(n, ids, "createFramebuffer", GL.framebuffers); -} - -function _glGenTextures(n, textures) { - __glGenObject(n, textures, "createTexture", GL.textures); -} - -function _glGenVertexArrays(n, arrays) { - __glGenObject(n, arrays, "createVertexArray", GL.vaos); -} - -function _glGetAttribLocation(program, name) { - return GLctx.getAttribLocation(GL.programs[program], UTF8ToString(name)); -} - -function _glGetError() { - var error = GLctx.getError() || GL.lastError; - GL.lastError = 0; - return error; -} - -function writeI53ToI64(ptr, num) { - HEAPU32[ptr >> 2] = num; - HEAPU32[ptr + 4 >> 2] = (num - HEAPU32[ptr >> 2]) / 4294967296; -} - -function emscriptenWebGLGet(name_, p, type) { - if (!p) { - GL.recordError(1281); - return; - } - var ret = undefined; - switch (name_) { - case 36346: - ret = 1; - break; - - case 36344: - if (type != 0 && type != 1) { - GL.recordError(1280); - } - return; - - case 34814: - case 36345: - ret = 0; - break; - - case 34466: - var formats = GLctx.getParameter(34467); - ret = formats ? formats.length : 0; - break; - - case 33309: - if (GL.currentContext.version < 2) { - GL.recordError(1282); - return; - } - var exts = GLctx.getSupportedExtensions() || []; - ret = 2 * exts.length; - break; - - case 33307: - case 33308: - if (GL.currentContext.version < 2) { - GL.recordError(1280); - return; - } - ret = name_ == 33307 ? 3 : 0; - break; - } - if (ret === undefined) { - var result = GLctx.getParameter(name_); - switch (typeof result) { - case "number": - ret = result; - break; - - case "boolean": - ret = result ? 1 : 0; - break; - - case "string": - GL.recordError(1280); - return; - - case "object": - if (result === null) { - switch (name_) { - case 34964: - case 35725: - case 34965: - case 36006: - case 36007: - case 32873: - case 34229: - case 36662: - case 36663: - case 35053: - case 35055: - case 36010: - case 35097: - case 35869: - case 32874: - case 36389: - case 35983: - case 35368: - case 34068: - { - ret = 0; - break; - } - - default: - { - GL.recordError(1280); - return; - } - } - } else if (result instanceof Float32Array || result instanceof Uint32Array || result instanceof Int32Array || result instanceof Array) { - for (var i = 0; i < result.length; ++i) { - switch (type) { - case 0: - HEAP32[p + i * 4 >> 2] = result[i]; - break; - - case 2: - HEAPF32[p + i * 4 >> 2] = result[i]; - break; - - case 4: - HEAP8[p + i >> 0] = result[i] ? 1 : 0; - break; - } - } - return; - } else { - try { - ret = result.name | 0; - } catch (e) { - GL.recordError(1280); - err("GL_INVALID_ENUM in glGet" + type + "v: Unknown object returned from WebGL getParameter(" + name_ + ")! (error: " + e + ")"); - return; - } - } - break; - - default: - GL.recordError(1280); - err("GL_INVALID_ENUM in glGet" + type + "v: Native code calling glGet" + type + "v(" + name_ + ") and it returns " + result + " of type " + typeof result + "!"); - return; - } - } - switch (type) { - case 1: - writeI53ToI64(p, ret); - break; - - case 0: - HEAP32[p >> 2] = ret; - break; - - case 2: - HEAPF32[p >> 2] = ret; - break; - - case 4: - HEAP8[p >> 0] = ret ? 1 : 0; - break; - } -} - -function _glGetIntegerv(name_, p) { - emscriptenWebGLGet(name_, p, 0); -} - -function _glGetProgramiv(program, pname, p) { - if (!p) { - GL.recordError(1281); - return; - } - if (program >= GL.counter) { - GL.recordError(1281); - return; - } - program = GL.programs[program]; - if (pname == 35716) { - var log = GLctx.getProgramInfoLog(program); - if (log === null) log = "(unknown error)"; - HEAP32[p >> 2] = log.length + 1; - } else if (pname == 35719) { - if (!program.maxUniformLength) { - for (var i = 0; i < GLctx.getProgramParameter(program, 35718); ++i) { - program.maxUniformLength = Math.max(program.maxUniformLength, GLctx.getActiveUniform(program, i).name.length + 1); - } - } - HEAP32[p >> 2] = program.maxUniformLength; - } else if (pname == 35722) { - if (!program.maxAttributeLength) { - for (var i = 0; i < GLctx.getProgramParameter(program, 35721); ++i) { - program.maxAttributeLength = Math.max(program.maxAttributeLength, GLctx.getActiveAttrib(program, i).name.length + 1); - } - } - HEAP32[p >> 2] = program.maxAttributeLength; - } else if (pname == 35381) { - if (!program.maxUniformBlockNameLength) { - for (var i = 0; i < GLctx.getProgramParameter(program, 35382); ++i) { - program.maxUniformBlockNameLength = Math.max(program.maxUniformBlockNameLength, GLctx.getActiveUniformBlockName(program, i).length + 1); - } - } - HEAP32[p >> 2] = program.maxUniformBlockNameLength; - } else { - HEAP32[p >> 2] = GLctx.getProgramParameter(program, pname); - } -} - -function _glGetShaderInfoLog(shader, maxLength, length, infoLog) { - var log = GLctx.getShaderInfoLog(GL.shaders[shader]); - if (log === null) log = "(unknown error)"; - var numBytesWrittenExclNull = maxLength > 0 && infoLog ? stringToUTF8(log, infoLog, maxLength) : 0; - if (length) HEAP32[length >> 2] = numBytesWrittenExclNull; -} - -function _glGetShaderiv(shader, pname, p) { - if (!p) { - GL.recordError(1281); - return; - } - if (pname == 35716) { - var log = GLctx.getShaderInfoLog(GL.shaders[shader]); - if (log === null) log = "(unknown error)"; - var logLength = log ? log.length + 1 : 0; - HEAP32[p >> 2] = logLength; - } else if (pname == 35720) { - var source = GLctx.getShaderSource(GL.shaders[shader]); - var sourceLength = source ? source.length + 1 : 0; - HEAP32[p >> 2] = sourceLength; - } else { - HEAP32[p >> 2] = GLctx.getShaderParameter(GL.shaders[shader], pname); - } -} - -function _glGetString(name_) { - var ret = GL.stringCache[name_]; - if (!ret) { - switch (name_) { - case 7939: - var exts = GLctx.getSupportedExtensions() || []; - exts = exts.concat(exts.map(function(e) { - return "GL_" + e; - })); - ret = stringToNewUTF8(exts.join(" ")); - break; - - case 7936: - case 7937: - case 37445: - case 37446: - var s = GLctx.getParameter(name_); - if (!s) { - GL.recordError(1280); - } - ret = s && stringToNewUTF8(s); - break; - - case 7938: - var glVersion = GLctx.getParameter(7938); - if (GL.currentContext.version >= 2) glVersion = "OpenGL ES 3.0 (" + glVersion + ")"; else { - glVersion = "OpenGL ES 2.0 (" + glVersion + ")"; - } - ret = stringToNewUTF8(glVersion); - break; - - case 35724: - var glslVersion = GLctx.getParameter(35724); - var ver_re = /^WebGL GLSL ES ([0-9]\.[0-9][0-9]?)(?:$| .*)/; - var ver_num = glslVersion.match(ver_re); - if (ver_num !== null) { - if (ver_num[1].length == 3) ver_num[1] = ver_num[1] + "0"; - glslVersion = "OpenGL ES GLSL ES " + ver_num[1] + " (" + glslVersion + ")"; - } - ret = stringToNewUTF8(glslVersion); - break; - - default: - GL.recordError(1280); - } - GL.stringCache[name_] = ret; - } - return ret; -} - -function _glGetUniformBlockIndex(program, uniformBlockName) { - return GLctx["getUniformBlockIndex"](GL.programs[program], UTF8ToString(uniformBlockName)); -} - -function jstoi_q(str) { - return parseInt(str); -} - -function webglGetLeftBracePos(name) { - return name.slice(-1) == "]" && name.lastIndexOf("["); -} - -function webglPrepareUniformLocationsBeforeFirstUse(program) { - var uniformLocsById = program.uniformLocsById, uniformSizeAndIdsByName = program.uniformSizeAndIdsByName, i, j; - if (!uniformLocsById) { - program.uniformLocsById = uniformLocsById = {}; - program.uniformArrayNamesById = {}; - for (i = 0; i < GLctx.getProgramParameter(program, 35718); ++i) { - var u = GLctx.getActiveUniform(program, i); - var nm = u.name; - var sz = u.size; - var lb = webglGetLeftBracePos(nm); - var arrayName = lb > 0 ? nm.slice(0, lb) : nm; - var id = program.uniformIdCounter; - program.uniformIdCounter += sz; - uniformSizeAndIdsByName[arrayName] = [ sz, id ]; - for (j = 0; j < sz; ++j) { - uniformLocsById[id] = j; - program.uniformArrayNamesById[id++] = arrayName; - } - } - } -} - -function _glGetUniformLocation(program, name) { - name = UTF8ToString(name); - if (program = GL.programs[program]) { - webglPrepareUniformLocationsBeforeFirstUse(program); - var uniformLocsById = program.uniformLocsById; - var arrayIndex = 0; - var uniformBaseName = name; - var leftBrace = webglGetLeftBracePos(name); - if (leftBrace > 0) { - arrayIndex = jstoi_q(name.slice(leftBrace + 1)) >>> 0; - uniformBaseName = name.slice(0, leftBrace); - } - var sizeAndId = program.uniformSizeAndIdsByName[uniformBaseName]; - if (sizeAndId && arrayIndex < sizeAndId[0]) { - arrayIndex += sizeAndId[1]; - if (uniformLocsById[arrayIndex] = uniformLocsById[arrayIndex] || GLctx.getUniformLocation(program, name)) { - return arrayIndex; - } - } - } else { - GL.recordError(1281); - } - return -1; -} - -function _glLinkProgram(program) { - program = GL.programs[program]; - GLctx.linkProgram(program); - program.uniformLocsById = 0; - program.uniformSizeAndIdsByName = {}; -} - -function _glPixelStorei(pname, param) { - if (pname == 3317) { - GL.unpackAlignment = param; - } - GLctx.pixelStorei(pname, param); -} - -function computeUnpackAlignedImageSize(width, height, sizePerPixel, alignment) { - function roundedToNextMultipleOf(x, y) { - return x + y - 1 & -y; - } - var plainRowSize = width * sizePerPixel; - var alignedRowSize = roundedToNextMultipleOf(plainRowSize, alignment); - return height * alignedRowSize; -} - -function colorChannelsInGlTextureFormat(format) { - var colorChannels = { - 5: 3, - 6: 4, - 8: 2, - 29502: 3, - 29504: 4, - 26917: 2, - 26918: 2, - 29846: 3, - 29847: 4 - }; - return colorChannels[format - 6402] || 1; -} - -function heapObjectForWebGLType(type) { - type -= 5120; - if (type == 0) return HEAP8; - if (type == 1) return HEAPU8; - if (type == 2) return HEAP16; - if (type == 4) return HEAP32; - if (type == 6) return HEAPF32; - if (type == 5 || type == 28922 || type == 28520 || type == 30779 || type == 30782) return HEAPU32; - return HEAPU16; -} - -function heapAccessShiftForWebGLHeap(heap) { - return 31 - Math.clz32(heap.BYTES_PER_ELEMENT); -} - -function emscriptenWebGLGetTexPixelData(type, format, width, height, pixels, internalFormat) { - var heap = heapObjectForWebGLType(type); - var shift = heapAccessShiftForWebGLHeap(heap); - var byteSize = 1 << shift; - var sizePerPixel = colorChannelsInGlTextureFormat(format) * byteSize; - var bytes = computeUnpackAlignedImageSize(width, height, sizePerPixel, GL.unpackAlignment); - return heap.subarray(pixels >> shift, pixels + bytes >> shift); -} - -function _glReadPixels(x, y, width, height, format, type, pixels) { - if (GL.currentContext.version >= 2) { - if (GLctx.currentPixelPackBufferBinding) { - GLctx.readPixels(x, y, width, height, format, type, pixels); - } else { - var heap = heapObjectForWebGLType(type); - GLctx.readPixels(x, y, width, height, format, type, heap, pixels >> heapAccessShiftForWebGLHeap(heap)); - } - return; - } - var pixelData = emscriptenWebGLGetTexPixelData(type, format, width, height, pixels, format); - if (!pixelData) { - GL.recordError(1280); - return; - } - GLctx.readPixels(x, y, width, height, format, type, pixelData); -} - -function _glShaderSource(shader, count, string, length) { - var source = GL.getSource(shader, count, string, length); - GLctx.shaderSource(GL.shaders[shader], source); -} - -function _glTexImage2D(target, level, internalFormat, width, height, border, format, type, pixels) { - if (GL.currentContext.version >= 2) { - if (GLctx.currentPixelUnpackBufferBinding) { - GLctx.texImage2D(target, level, internalFormat, width, height, border, format, type, pixels); - } else if (pixels) { - var heap = heapObjectForWebGLType(type); - GLctx.texImage2D(target, level, internalFormat, width, height, border, format, type, heap, pixels >> heapAccessShiftForWebGLHeap(heap)); - } else { - GLctx.texImage2D(target, level, internalFormat, width, height, border, format, type, null); - } - return; - } - GLctx.texImage2D(target, level, internalFormat, width, height, border, format, type, pixels ? emscriptenWebGLGetTexPixelData(type, format, width, height, pixels, internalFormat) : null); -} - -function _glTexParameterf(x0, x1, x2) { - GLctx["texParameterf"](x0, x1, x2); -} - -function _glTexParameterfv(target, pname, params) { - var param = HEAPF32[params >> 2]; - GLctx.texParameterf(target, pname, param); -} - -function _glTexParameteri(x0, x1, x2) { - GLctx["texParameteri"](x0, x1, x2); -} - -function _glTexStorage2D(x0, x1, x2, x3, x4) { - GLctx["texStorage2D"](x0, x1, x2, x3, x4); -} - -function _glTexStorage3D(x0, x1, x2, x3, x4, x5) { - GLctx["texStorage3D"](x0, x1, x2, x3, x4, x5); -} - -function _glTexSubImage2D(target, level, xoffset, yoffset, width, height, format, type, pixels) { - if (GL.currentContext.version >= 2) { - if (GLctx.currentPixelUnpackBufferBinding) { - GLctx.texSubImage2D(target, level, xoffset, yoffset, width, height, format, type, pixels); - } else if (pixels) { - var heap = heapObjectForWebGLType(type); - GLctx.texSubImage2D(target, level, xoffset, yoffset, width, height, format, type, heap, pixels >> heapAccessShiftForWebGLHeap(heap)); - } else { - GLctx.texSubImage2D(target, level, xoffset, yoffset, width, height, format, type, null); - } - return; - } - var pixelData = null; - if (pixels) pixelData = emscriptenWebGLGetTexPixelData(type, format, width, height, pixels, 0); - GLctx.texSubImage2D(target, level, xoffset, yoffset, width, height, format, type, pixelData); -} - -function _glTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels) { - if (GLctx.currentPixelUnpackBufferBinding) { - GLctx["texSubImage3D"](target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels); - } else if (pixels) { - var heap = heapObjectForWebGLType(type); - GLctx["texSubImage3D"](target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, heap, pixels >> heapAccessShiftForWebGLHeap(heap)); - } else { - GLctx["texSubImage3D"](target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, null); - } -} - -function webglGetUniformLocation(location) { - var p = GLctx.currentProgram; - if (p) { - var webglLoc = p.uniformLocsById[location]; - if (typeof webglLoc == "number") { - p.uniformLocsById[location] = webglLoc = GLctx.getUniformLocation(p, p.uniformArrayNamesById[location] + (webglLoc > 0 ? "[" + webglLoc + "]" : "")); - } - return webglLoc; - } else { - GL.recordError(1282); - } -} - -function _glUniform1f(location, v0) { - GLctx.uniform1f(webglGetUniformLocation(location), v0); -} - -function _glUniform1i(location, v0) { - GLctx.uniform1i(webglGetUniformLocation(location), v0); -} - -function _glUniform2f(location, v0, v1) { - GLctx.uniform2f(webglGetUniformLocation(location), v0, v1); -} - -var miniTempWebGLFloatBuffers = []; - -function _glUniform2fv(location, count, value) { - if (GL.currentContext.version >= 2) { - count && GLctx.uniform2fv(webglGetUniformLocation(location), HEAPF32, value >> 2, count * 2); - return; - } - if (count <= 144) { - var view = miniTempWebGLFloatBuffers[2 * count - 1]; - for (var i = 0; i < 2 * count; i += 2) { - view[i] = HEAPF32[value + 4 * i >> 2]; - view[i + 1] = HEAPF32[value + (4 * i + 4) >> 2]; - } - } else { - var view = HEAPF32.subarray(value >> 2, value + count * 8 >> 2); - } - GLctx.uniform2fv(webglGetUniformLocation(location), view); -} - -function _glUniform3f(location, v0, v1, v2) { - GLctx.uniform3f(webglGetUniformLocation(location), v0, v1, v2); -} - -function _glUniform4fv(location, count, value) { - if (GL.currentContext.version >= 2) { - count && GLctx.uniform4fv(webglGetUniformLocation(location), HEAPF32, value >> 2, count * 4); - return; - } - if (count <= 72) { - var view = miniTempWebGLFloatBuffers[4 * count - 1]; - var heap = HEAPF32; - value >>= 2; - for (var i = 0; i < 4 * count; i += 4) { - var dst = value + i; - view[i] = heap[dst]; - view[i + 1] = heap[dst + 1]; - view[i + 2] = heap[dst + 2]; - view[i + 3] = heap[dst + 3]; - } - } else { - var view = HEAPF32.subarray(value >> 2, value + count * 16 >> 2); - } - GLctx.uniform4fv(webglGetUniformLocation(location), view); -} - -var miniTempWebGLIntBuffers = []; - -function _glUniform4iv(location, count, value) { - if (GL.currentContext.version >= 2) { - count && GLctx.uniform4iv(webglGetUniformLocation(location), HEAP32, value >> 2, count * 4); - return; - } - if (count <= 72) { - var view = miniTempWebGLIntBuffers[4 * count - 1]; - for (var i = 0; i < 4 * count; i += 4) { - view[i] = HEAP32[value + 4 * i >> 2]; - view[i + 1] = HEAP32[value + (4 * i + 4) >> 2]; - view[i + 2] = HEAP32[value + (4 * i + 8) >> 2]; - view[i + 3] = HEAP32[value + (4 * i + 12) >> 2]; - } - } else { - var view = HEAP32.subarray(value >> 2, value + count * 16 >> 2); - } - GLctx.uniform4iv(webglGetUniformLocation(location), view); -} - -function _glUniformBlockBinding(program, uniformBlockIndex, uniformBlockBinding) { - program = GL.programs[program]; - GLctx["uniformBlockBinding"](program, uniformBlockIndex, uniformBlockBinding); -} - -function _glUniformMatrix4fv(location, count, transpose, value) { - if (GL.currentContext.version >= 2) { - count && GLctx.uniformMatrix4fv(webglGetUniformLocation(location), !!transpose, HEAPF32, value >> 2, count * 16); - return; - } - if (count <= 18) { - var view = miniTempWebGLFloatBuffers[16 * count - 1]; - var heap = HEAPF32; - value >>= 2; - for (var i = 0; i < 16 * count; i += 16) { - var dst = value + i; - view[i] = heap[dst]; - view[i + 1] = heap[dst + 1]; - view[i + 2] = heap[dst + 2]; - view[i + 3] = heap[dst + 3]; - view[i + 4] = heap[dst + 4]; - view[i + 5] = heap[dst + 5]; - view[i + 6] = heap[dst + 6]; - view[i + 7] = heap[dst + 7]; - view[i + 8] = heap[dst + 8]; - view[i + 9] = heap[dst + 9]; - view[i + 10] = heap[dst + 10]; - view[i + 11] = heap[dst + 11]; - view[i + 12] = heap[dst + 12]; - view[i + 13] = heap[dst + 13]; - view[i + 14] = heap[dst + 14]; - view[i + 15] = heap[dst + 15]; - } - } else { - var view = HEAPF32.subarray(value >> 2, value + count * 64 >> 2); - } - GLctx.uniformMatrix4fv(webglGetUniformLocation(location), !!transpose, view); -} - -function _glUseProgram(program) { - program = GL.programs[program]; - GLctx.useProgram(program); - GLctx.currentProgram = program; -} - -function _glVertexAttribPointer(index, size, type, normalized, stride, ptr) { - var cb = GL.currentContext.clientBuffers[index]; - if (!GLctx.currentArrayBufferBinding) { - cb.size = size; - cb.type = type; - cb.normalized = normalized; - cb.stride = stride; - cb.ptr = ptr; - cb.clientside = true; - cb.vertexAttribPointerAdaptor = function(index, size, type, normalized, stride, ptr) { - this.vertexAttribPointer(index, size, type, normalized, stride, ptr); - }; - return; - } - cb.clientside = false; - GLctx.vertexAttribPointer(index, size, type, !!normalized, stride, ptr); -} - -function _glViewport(x0, x1, x2, x3) { - GLctx["viewport"](x0, x1, x2, x3); -} - -function _mediapipe_find_canvas_event_target(canvasSelector) { - let target = findCanvasEventTarget(canvasSelector); - if (Module && !target) { - target = Module.canvasWebGpu; - } - return Emval.toHandle(target); -} - -function _mediapipe_webgl_tex_image_drawable(drawableHandle) { - const drawable = Emval.toValue(drawableHandle); - GLctx.texImage2D(GLctx.TEXTURE_2D, 0, GLctx.RGBA, GLctx.RGBA, GLctx.UNSIGNED_BYTE, drawable); -} - -function arraySum(array, index) { - var sum = 0; - for (var i = 0; i <= index; sum += array[i++]) {} - return sum; -} - -var MONTH_DAYS_LEAP = [ 31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 ]; - -var MONTH_DAYS_REGULAR = [ 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 ]; - -function addDays(date, days) { - var newDate = new Date(date.getTime()); - while (days > 0) { - var leap = isLeapYear(newDate.getFullYear()); - var currentMonth = newDate.getMonth(); - var daysInCurrentMonth = (leap ? MONTH_DAYS_LEAP : MONTH_DAYS_REGULAR)[currentMonth]; - if (days > daysInCurrentMonth - newDate.getDate()) { - days -= daysInCurrentMonth - newDate.getDate() + 1; - newDate.setDate(1); - if (currentMonth < 11) { - newDate.setMonth(currentMonth + 1); - } else { - newDate.setMonth(0); - newDate.setFullYear(newDate.getFullYear() + 1); - } - } else { - newDate.setDate(newDate.getDate() + days); - return newDate; - } - } - return newDate; -} - -function writeArrayToMemory(array, buffer) { - HEAP8.set(array, buffer); -} - -function _strftime(s, maxsize, format, tm) { - var tm_zone = HEAP32[tm + 40 >> 2]; - var date = { - tm_sec: HEAP32[tm >> 2], - tm_min: HEAP32[tm + 4 >> 2], - tm_hour: HEAP32[tm + 8 >> 2], - tm_mday: HEAP32[tm + 12 >> 2], - tm_mon: HEAP32[tm + 16 >> 2], - tm_year: HEAP32[tm + 20 >> 2], - tm_wday: HEAP32[tm + 24 >> 2], - tm_yday: HEAP32[tm + 28 >> 2], - tm_isdst: HEAP32[tm + 32 >> 2], - tm_gmtoff: HEAP32[tm + 36 >> 2], - tm_zone: tm_zone ? UTF8ToString(tm_zone) : "" - }; - var pattern = UTF8ToString(format); - var EXPANSION_RULES_1 = { - "%c": "%a %b %d %H:%M:%S %Y", - "%D": "%m/%d/%y", - "%F": "%Y-%m-%d", - "%h": "%b", - "%r": "%I:%M:%S %p", - "%R": "%H:%M", - "%T": "%H:%M:%S", - "%x": "%m/%d/%y", - "%X": "%H:%M:%S", - "%Ec": "%c", - "%EC": "%C", - "%Ex": "%m/%d/%y", - "%EX": "%H:%M:%S", - "%Ey": "%y", - "%EY": "%Y", - "%Od": "%d", - "%Oe": "%e", - "%OH": "%H", - "%OI": "%I", - "%Om": "%m", - "%OM": "%M", - "%OS": "%S", - "%Ou": "%u", - "%OU": "%U", - "%OV": "%V", - "%Ow": "%w", - "%OW": "%W", - "%Oy": "%y" - }; - for (var rule in EXPANSION_RULES_1) { - pattern = pattern.replace(new RegExp(rule, "g"), EXPANSION_RULES_1[rule]); - } - var WEEKDAYS = [ "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday" ]; - var MONTHS = [ "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December" ]; - function leadingSomething(value, digits, character) { - var str = typeof value == "number" ? value.toString() : value || ""; - while (str.length < digits) { - str = character[0] + str; - } - return str; - } - function leadingNulls(value, digits) { - return leadingSomething(value, digits, "0"); - } - function compareByDay(date1, date2) { - function sgn(value) { - return value < 0 ? -1 : value > 0 ? 1 : 0; - } - var compare; - if ((compare = sgn(date1.getFullYear() - date2.getFullYear())) === 0) { - if ((compare = sgn(date1.getMonth() - date2.getMonth())) === 0) { - compare = sgn(date1.getDate() - date2.getDate()); - } - } - return compare; - } - function getFirstWeekStartDate(janFourth) { - switch (janFourth.getDay()) { - case 0: - return new Date(janFourth.getFullYear() - 1, 11, 29); - - case 1: - return janFourth; - - case 2: - return new Date(janFourth.getFullYear(), 0, 3); - - case 3: - return new Date(janFourth.getFullYear(), 0, 2); - - case 4: - return new Date(janFourth.getFullYear(), 0, 1); - - case 5: - return new Date(janFourth.getFullYear() - 1, 11, 31); - - case 6: - return new Date(janFourth.getFullYear() - 1, 11, 30); - } - } - function getWeekBasedYear(date) { - var thisDate = addDays(new Date(date.tm_year + 1900, 0, 1), date.tm_yday); - var janFourthThisYear = new Date(thisDate.getFullYear(), 0, 4); - var janFourthNextYear = new Date(thisDate.getFullYear() + 1, 0, 4); - var firstWeekStartThisYear = getFirstWeekStartDate(janFourthThisYear); - var firstWeekStartNextYear = getFirstWeekStartDate(janFourthNextYear); - if (compareByDay(firstWeekStartThisYear, thisDate) <= 0) { - if (compareByDay(firstWeekStartNextYear, thisDate) <= 0) { - return thisDate.getFullYear() + 1; - } - return thisDate.getFullYear(); - } - return thisDate.getFullYear() - 1; - } - var EXPANSION_RULES_2 = { - "%a": function(date) { - return WEEKDAYS[date.tm_wday].substring(0, 3); - }, - "%A": function(date) { - return WEEKDAYS[date.tm_wday]; - }, - "%b": function(date) { - return MONTHS[date.tm_mon].substring(0, 3); - }, - "%B": function(date) { - return MONTHS[date.tm_mon]; - }, - "%C": function(date) { - var year = date.tm_year + 1900; - return leadingNulls(year / 100 | 0, 2); - }, - "%d": function(date) { - return leadingNulls(date.tm_mday, 2); - }, - "%e": function(date) { - return leadingSomething(date.tm_mday, 2, " "); - }, - "%g": function(date) { - return getWeekBasedYear(date).toString().substring(2); - }, - "%G": function(date) { - return getWeekBasedYear(date); - }, - "%H": function(date) { - return leadingNulls(date.tm_hour, 2); - }, - "%I": function(date) { - var twelveHour = date.tm_hour; - if (twelveHour == 0) twelveHour = 12; else if (twelveHour > 12) twelveHour -= 12; - return leadingNulls(twelveHour, 2); - }, - "%j": function(date) { - return leadingNulls(date.tm_mday + arraySum(isLeapYear(date.tm_year + 1900) ? MONTH_DAYS_LEAP : MONTH_DAYS_REGULAR, date.tm_mon - 1), 3); - }, - "%m": function(date) { - return leadingNulls(date.tm_mon + 1, 2); - }, - "%M": function(date) { - return leadingNulls(date.tm_min, 2); - }, - "%n": function() { - return "\n"; - }, - "%p": function(date) { - if (date.tm_hour >= 0 && date.tm_hour < 12) { - return "AM"; - } - return "PM"; - }, - "%S": function(date) { - return leadingNulls(date.tm_sec, 2); - }, - "%t": function() { - return "\t"; - }, - "%u": function(date) { - return date.tm_wday || 7; - }, - "%U": function(date) { - var days = date.tm_yday + 7 - date.tm_wday; - return leadingNulls(Math.floor(days / 7), 2); - }, - "%V": function(date) { - var val = Math.floor((date.tm_yday + 7 - (date.tm_wday + 6) % 7) / 7); - if ((date.tm_wday + 371 - date.tm_yday - 2) % 7 <= 2) { - val++; - } - if (!val) { - val = 52; - var dec31 = (date.tm_wday + 7 - date.tm_yday - 1) % 7; - if (dec31 == 4 || dec31 == 5 && isLeapYear(date.tm_year % 400 - 1)) { - val++; - } - } else if (val == 53) { - var jan1 = (date.tm_wday + 371 - date.tm_yday) % 7; - if (jan1 != 4 && (jan1 != 3 || !isLeapYear(date.tm_year))) val = 1; - } - return leadingNulls(val, 2); - }, - "%w": function(date) { - return date.tm_wday; - }, - "%W": function(date) { - var days = date.tm_yday + 7 - (date.tm_wday + 6) % 7; - return leadingNulls(Math.floor(days / 7), 2); - }, - "%y": function(date) { - return (date.tm_year + 1900).toString().substring(2); - }, - "%Y": function(date) { - return date.tm_year + 1900; - }, - "%z": function(date) { - var off = date.tm_gmtoff; - var ahead = off >= 0; - off = Math.abs(off) / 60; - off = off / 60 * 100 + off % 60; - return (ahead ? "+" : "-") + String("0000" + off).slice(-4); - }, - "%Z": function(date) { - return date.tm_zone; - }, - "%%": function() { - return "%"; - } - }; - pattern = pattern.replace(/%%/g, "\0\0"); - for (var rule in EXPANSION_RULES_2) { - if (pattern.includes(rule)) { - pattern = pattern.replace(new RegExp(rule, "g"), EXPANSION_RULES_2[rule](date)); - } - } - pattern = pattern.replace(/\0\0/g, "%"); - var bytes = intArrayFromString(pattern, false); - if (bytes.length > maxsize) { - return 0; - } - writeArrayToMemory(bytes, s); - return bytes.length - 1; -} - -function _strftime_l(s, maxsize, format, tm, loc) { - return _strftime(s, maxsize, format, tm); -} - -function _wgpuBindGroupLayoutRelease(id) { - WebGPU.mgrBindGroupLayout.release(id); -} - -function _wgpuBindGroupRelease(id) { - WebGPU.mgrBindGroup.release(id); -} - -function _wgpuBufferGetMappedRange(bufferId, offset, size) { - var bufferWrapper = WebGPU.mgrBuffer.objects[bufferId]; - if (size === 0) warnOnce("getMappedRange size=0 no longer means WGPU_WHOLE_MAP_SIZE"); - size = size >>> 0; - if (size === 4294967295) size = undefined; - if (bufferWrapper.mapMode !== 2) { - return 0; - } - var mapped; - try { - mapped = bufferWrapper.object["getMappedRange"](offset, size); - } catch (ex) { - return 0; - } - var data = _malloc(mapped.byteLength); - HEAPU8.fill(0, data, mapped.byteLength); - bufferWrapper.onUnmap.push(function() { - new Uint8Array(mapped).set(HEAPU8.subarray(data, data + mapped.byteLength)); - _free(data); - }); - return data; -} - -function _wgpuBufferReference(id) { - WebGPU.mgrBuffer.reference(id); -} - -function _wgpuBufferRelease(id) { - WebGPU.mgrBuffer.release(id); -} - -function _wgpuBufferUnmap(bufferId) { - var bufferWrapper = WebGPU.mgrBuffer.objects[bufferId]; - if (!bufferWrapper.onUnmap) { - return; - } - for (var i = 0; i < bufferWrapper.onUnmap.length; ++i) { - bufferWrapper.onUnmap[i](); - } - bufferWrapper.onUnmap = undefined; - bufferWrapper.object["unmap"](); -} - -function _wgpuCommandBufferRelease(id) { - WebGPU.mgrCommandBuffer.release(id); -} - -function _wgpuCommandEncoderBeginComputePass(encoderId, descriptor) { - var desc; - function makeComputePassTimestampWrite(twPtr) { - return { - "querySet": WebGPU.mgrQuerySet.get(HEAPU32[twPtr >> 2]), - "queryIndex": HEAPU32[twPtr + 4 >> 2], - "location": WebGPU.ComputePassTimestampLocation[HEAPU32[twPtr + 8 >> 2]] - }; - } - function makeComputePassTimestampWrites(count, twPtr) { - var timestampWrites = []; - for (var i = 0; i < count; ++i) { - timestampWrites.push(makeComputePassTimestampWrite(twPtr + 12 * i)); - } - return timestampWrites; - } - if (descriptor) { - desc = {}; - var labelPtr = HEAPU32[descriptor + 4 >> 2]; - if (labelPtr) desc["label"] = UTF8ToString(labelPtr); - var timestampWriteCount = HEAPU32[descriptor + 8 >> 2]; - if (timestampWriteCount) { - desc["timestampWrites"] = makeComputePassTimestampWrites(timestampWriteCount, HEAPU32[descriptor + 12 >> 2]); - } - } - var commandEncoder = WebGPU.mgrCommandEncoder.get(encoderId); - return WebGPU.mgrComputePassEncoder.create(commandEncoder["beginComputePass"](desc)); -} - -function _wgpuCommandEncoderBeginRenderPass(encoderId, descriptor) { - function makeColorAttachment(caPtr) { - var viewPtr = HEAPU32[caPtr >> 2]; - if (viewPtr === 0) { - return undefined; - } - var loadOpInt = HEAPU32[caPtr + 8 >> 2]; - var storeOpInt = HEAPU32[caPtr + 12 >> 2]; - var clearValue = WebGPU.makeColor(caPtr + 16); - return { - "view": WebGPU.mgrTextureView.get(viewPtr), - "resolveTarget": WebGPU.mgrTextureView.get(HEAPU32[caPtr + 4 >> 2]), - "clearValue": clearValue, - "loadOp": WebGPU.LoadOp[loadOpInt], - "storeOp": WebGPU.StoreOp[storeOpInt] - }; - } - function makeColorAttachments(count, caPtr) { - var attachments = []; - for (var i = 0; i < count; ++i) { - attachments.push(makeColorAttachment(caPtr + 48 * i)); - } - return attachments; - } - function makeDepthStencilAttachment(dsaPtr) { - if (dsaPtr === 0) return undefined; - return { - "view": WebGPU.mgrTextureView.get(HEAPU32[dsaPtr >> 2]), - "depthClearValue": HEAPF32[dsaPtr + 12 >> 2], - "depthLoadOp": WebGPU.LoadOp[HEAPU32[dsaPtr + 4 >> 2]], - "depthStoreOp": WebGPU.StoreOp[HEAPU32[dsaPtr + 8 >> 2]], - "depthReadOnly": HEAP8[dsaPtr + 16 >> 0] !== 0, - "stencilClearValue": HEAPU32[dsaPtr + 28 >> 2], - "stencilLoadOp": WebGPU.LoadOp[HEAPU32[dsaPtr + 20 >> 2]], - "stencilStoreOp": WebGPU.StoreOp[HEAPU32[dsaPtr + 24 >> 2]], - "stencilReadOnly": HEAP8[dsaPtr + 32 >> 0] !== 0 - }; - } - function makeRenderPassTimestampWrite(twPtr) { - return { - "querySet": WebGPU.mgrQuerySet.get(HEAPU32[twPtr >> 2]), - "queryIndex": HEAPU32[twPtr + 4 >> 2], - "location": WebGPU.RenderPassTimestampLocation[HEAPU32[twPtr + 8 >> 2]] - }; - } - function makeRenderPassTimestampWrites(count, twPtr) { - var timestampWrites = []; - for (var i = 0; i < count; ++i) { - timestampWrites.push(makeRenderPassTimestampWrite(twPtr + 12 * i)); - } - return timestampWrites; - } - function makeRenderPassDescriptor(descriptor) { - var nextInChainPtr = HEAPU32[descriptor >> 2]; - var maxDrawCount = undefined; - if (nextInChainPtr !== 0) { - var sType = HEAPU32[nextInChainPtr + 4 >> 2]; - var renderPassDescriptorMaxDrawCount = nextInChainPtr; - maxDrawCount = HEAPU32[renderPassDescriptorMaxDrawCount + 4 + 8 >> 2] * 4294967296 + HEAPU32[renderPassDescriptorMaxDrawCount + 8 >> 2]; - } - var desc = { - "label": undefined, - "colorAttachments": makeColorAttachments(HEAPU32[descriptor + 8 >> 2], HEAPU32[descriptor + 12 >> 2]), - "depthStencilAttachment": makeDepthStencilAttachment(HEAPU32[descriptor + 16 >> 2]), - "occlusionQuerySet": WebGPU.mgrQuerySet.get(HEAPU32[descriptor + 20 >> 2]), - "maxDrawCount": maxDrawCount - }; - var labelPtr = HEAPU32[descriptor + 4 >> 2]; - if (labelPtr) desc["label"] = UTF8ToString(labelPtr); - var timestampWriteCount = HEAPU32[descriptor + 24 >> 2]; - if (timestampWriteCount) { - desc["timestampWrites"] = makeRenderPassTimestampWrites(timestampWriteCount, HEAPU32[descriptor + 28 >> 2]); - } - return desc; - } - var desc = makeRenderPassDescriptor(descriptor); - var commandEncoder = WebGPU.mgrCommandEncoder.get(encoderId); - return WebGPU.mgrRenderPassEncoder.create(commandEncoder["beginRenderPass"](desc)); -} - -function _wgpuCommandEncoderCopyBufferToTexture(encoderId, srcPtr, dstPtr, copySizePtr) { - var commandEncoder = WebGPU.mgrCommandEncoder.get(encoderId); - var copySize = WebGPU.makeExtent3D(copySizePtr); - commandEncoder["copyBufferToTexture"](WebGPU.makeImageCopyBuffer(srcPtr), WebGPU.makeImageCopyTexture(dstPtr), copySize); -} - -function _wgpuCommandEncoderCopyTextureToTexture(encoderId, srcPtr, dstPtr, copySizePtr) { - var commandEncoder = WebGPU.mgrCommandEncoder.get(encoderId); - var copySize = WebGPU.makeExtent3D(copySizePtr); - commandEncoder["copyTextureToTexture"](WebGPU.makeImageCopyTexture(srcPtr), WebGPU.makeImageCopyTexture(dstPtr), copySize); -} - -function _wgpuCommandEncoderFinish(encoderId) { - var commandEncoder = WebGPU.mgrCommandEncoder.get(encoderId); - return WebGPU.mgrCommandBuffer.create(commandEncoder["finish"]()); -} - -function _wgpuCommandEncoderRelease(id) { - WebGPU.mgrCommandEncoder.release(id); -} - -function _wgpuComputePassEncoderDispatchWorkgroups(passId, x, y, z) { - var pass = WebGPU.mgrComputePassEncoder.get(passId); - pass["dispatchWorkgroups"](x, y, z); -} - -function _wgpuComputePassEncoderEnd(passId) { - var pass = WebGPU.mgrComputePassEncoder.get(passId); - pass["end"](); -} - -function _wgpuComputePassEncoderRelease(id) { - WebGPU.mgrComputePassEncoder.release(id); -} - -function _wgpuComputePassEncoderSetBindGroup(passId, groupIndex, groupId, dynamicOffsetCount, dynamicOffsetsPtr) { - var pass = WebGPU.mgrComputePassEncoder.get(passId); - var group = WebGPU.mgrBindGroup.get(groupId); - if (dynamicOffsetCount == 0) { - pass["setBindGroup"](groupIndex, group); - } else { - var offsets = []; - for (var i = 0; i < dynamicOffsetCount; i++, dynamicOffsetsPtr += 4) { - offsets.push(HEAPU32[dynamicOffsetsPtr >> 2]); - } - pass["setBindGroup"](groupIndex, group, offsets); - } -} - -function _wgpuComputePassEncoderSetPipeline(passId, pipelineId) { - var pass = WebGPU.mgrComputePassEncoder.get(passId); - var pipeline = WebGPU.mgrComputePipeline.get(pipelineId); - pass["setPipeline"](pipeline); -} - -function _wgpuComputePipelineGetBindGroupLayout(pipelineId, groupIndex) { - var pipeline = WebGPU.mgrComputePipeline.get(pipelineId); - return WebGPU.mgrBindGroupLayout.create(pipeline["getBindGroupLayout"](groupIndex)); -} - -function _wgpuComputePipelineRelease(id) { - WebGPU.mgrComputePipeline.release(id); -} - -function _wgpuDeviceCreateBindGroup(deviceId, descriptor) { - function makeEntry(entryPtr) { - var bufferId = HEAPU32[entryPtr + 8 >> 2]; - var samplerId = HEAPU32[entryPtr + 32 >> 2]; - var textureViewId = HEAPU32[entryPtr + 36 >> 2]; - var binding = HEAPU32[entryPtr + 4 >> 2]; - if (bufferId) { - var size_low = HEAP32[entryPtr + 24 >> 2]; - var size_high = HEAP32[entryPtr + 28 >> 2]; - var size = size_high === -1 && size_low === -1 ? undefined : (size_high >>> 0) * 4294967296 + (size_low >>> 0); - return { - "binding": binding, - "resource": { - "buffer": WebGPU.mgrBuffer.get(bufferId), - "offset": HEAPU32[entryPtr + 4 + 16 >> 2] * 4294967296 + HEAPU32[entryPtr + 16 >> 2], - "size": size - } - }; - } else if (samplerId) { - return { - "binding": binding, - "resource": WebGPU.mgrSampler.get(samplerId) - }; - } else { - return { - "binding": binding, - "resource": WebGPU.mgrTextureView.get(textureViewId) - }; - } - } - function makeEntries(count, entriesPtrs) { - var entries = []; - for (var i = 0; i < count; ++i) { - entries.push(makeEntry(entriesPtrs + 40 * i)); - } - return entries; - } - var desc = { - "label": undefined, - "layout": WebGPU.mgrBindGroupLayout.get(HEAPU32[descriptor + 8 >> 2]), - "entries": makeEntries(HEAPU32[descriptor + 12 >> 2], HEAPU32[descriptor + 16 >> 2]) - }; - var labelPtr = HEAPU32[descriptor + 4 >> 2]; - if (labelPtr) desc["label"] = UTF8ToString(labelPtr); - var device = WebGPU.mgrDevice.get(deviceId); - return WebGPU.mgrBindGroup.create(device["createBindGroup"](desc)); -} - -function _wgpuDeviceCreateBuffer(deviceId, descriptor) { - var mappedAtCreation = HEAP8[descriptor + 24 >> 0] !== 0; - var desc = { - "label": undefined, - "usage": HEAPU32[descriptor + 8 >> 2], - "size": HEAPU32[descriptor + 4 + 16 >> 2] * 4294967296 + HEAPU32[descriptor + 16 >> 2], - "mappedAtCreation": mappedAtCreation - }; - var labelPtr = HEAPU32[descriptor + 4 >> 2]; - if (labelPtr) desc["label"] = UTF8ToString(labelPtr); - var device = WebGPU.mgrDevice.get(deviceId); - var bufferWrapper = {}; - var id = WebGPU.mgrBuffer.create(device["createBuffer"](desc), bufferWrapper); - if (mappedAtCreation) { - bufferWrapper.mapMode = 2; - bufferWrapper.onUnmap = []; - } - return id; -} - -function _wgpuDeviceCreateCommandEncoder(deviceId, descriptor) { - var desc; - if (descriptor) { - desc = { - "label": undefined - }; - var labelPtr = HEAPU32[descriptor + 4 >> 2]; - if (labelPtr) desc["label"] = UTF8ToString(labelPtr); - } - var device = WebGPU.mgrDevice.get(deviceId); - return WebGPU.mgrCommandEncoder.create(device["createCommandEncoder"](desc)); -} - -function _wgpuDeviceCreateComputePipeline(deviceId, descriptor) { - var desc = { - "label": undefined, - "layout": WebGPU.makePipelineLayout(HEAPU32[descriptor + 8 >> 2]), - "compute": WebGPU.makeProgrammableStageDescriptor(descriptor + 12) - }; - var labelPtr = HEAPU32[descriptor + 4 >> 2]; - if (labelPtr) desc["label"] = UTF8ToString(labelPtr); - var device = WebGPU.mgrDevice.get(deviceId); - return WebGPU.mgrComputePipeline.create(device["createComputePipeline"](desc)); -} - -function _wgpuDeviceCreateRenderPipeline(deviceId, descriptor) { - function makePrimitiveState(rsPtr) { - if (!rsPtr) return undefined; - return { - "topology": WebGPU.PrimitiveTopology[HEAPU32[rsPtr + 4 >> 2]], - "stripIndexFormat": WebGPU.IndexFormat[HEAPU32[rsPtr + 8 >> 2]], - "frontFace": WebGPU.FrontFace[HEAPU32[rsPtr + 12 >> 2]], - "cullMode": WebGPU.CullMode[HEAPU32[rsPtr + 16 >> 2]] - }; - } - function makeBlendComponent(bdPtr) { - if (!bdPtr) return undefined; - return { - "operation": WebGPU.BlendOperation[HEAPU32[bdPtr >> 2]], - "srcFactor": WebGPU.BlendFactor[HEAPU32[bdPtr + 4 >> 2]], - "dstFactor": WebGPU.BlendFactor[HEAPU32[bdPtr + 8 >> 2]] - }; - } - function makeBlendState(bsPtr) { - if (!bsPtr) return undefined; - return { - "alpha": makeBlendComponent(bsPtr + 12), - "color": makeBlendComponent(bsPtr + 0) - }; - } - function makeColorState(csPtr) { - var formatInt = HEAPU32[csPtr + 4 >> 2]; - return formatInt === 0 ? undefined : { - "format": WebGPU.TextureFormat[formatInt], - "blend": makeBlendState(HEAPU32[csPtr + 8 >> 2]), - "writeMask": HEAPU32[csPtr + 12 >> 2] - }; - } - function makeColorStates(count, csArrayPtr) { - var states = []; - for (var i = 0; i < count; ++i) { - states.push(makeColorState(csArrayPtr + 16 * i)); - } - return states; - } - function makeStencilStateFace(ssfPtr) { - return { - "compare": WebGPU.CompareFunction[HEAPU32[ssfPtr >> 2]], - "failOp": WebGPU.StencilOperation[HEAPU32[ssfPtr + 4 >> 2]], - "depthFailOp": WebGPU.StencilOperation[HEAPU32[ssfPtr + 8 >> 2]], - "passOp": WebGPU.StencilOperation[HEAPU32[ssfPtr + 12 >> 2]] - }; - } - function makeDepthStencilState(dssPtr) { - if (!dssPtr) return undefined; - return { - "format": WebGPU.TextureFormat[HEAPU32[dssPtr + 4 >> 2]], - "depthWriteEnabled": HEAP8[dssPtr + 8 >> 0] !== 0, - "depthCompare": WebGPU.CompareFunction[HEAPU32[dssPtr + 12 >> 2]], - "stencilFront": makeStencilStateFace(dssPtr + 16), - "stencilBack": makeStencilStateFace(dssPtr + 32), - "stencilReadMask": HEAPU32[dssPtr + 48 >> 2], - "stencilWriteMask": HEAPU32[dssPtr + 52 >> 2], - "depthBias": HEAPU32[dssPtr + 56 >> 2], - "depthBiasSlopeScale": HEAPF32[dssPtr + 60 >> 2], - "depthBiasClamp": HEAPF32[dssPtr + 64 >> 2] - }; - } - function makeVertexAttribute(vaPtr) { - return { - "format": WebGPU.VertexFormat[HEAPU32[vaPtr >> 2]], - "offset": HEAPU32[vaPtr + 4 + 8 >> 2] * 4294967296 + HEAPU32[vaPtr + 8 >> 2], - "shaderLocation": HEAPU32[vaPtr + 16 >> 2] - }; - } - function makeVertexAttributes(count, vaArrayPtr) { - var vas = []; - for (var i = 0; i < count; ++i) { - vas.push(makeVertexAttribute(vaArrayPtr + i * 24)); - } - return vas; - } - function makeVertexBuffer(vbPtr) { - if (!vbPtr) return undefined; - var stepModeInt = HEAPU32[vbPtr + 8 >> 2]; - return stepModeInt === 2 ? null : { - "arrayStride": HEAPU32[vbPtr + 4 >> 2] * 4294967296 + HEAPU32[vbPtr >> 2], - "stepMode": WebGPU.VertexStepMode[stepModeInt], - "attributes": makeVertexAttributes(HEAPU32[vbPtr + 12 >> 2], HEAPU32[vbPtr + 16 >> 2]) - }; - } - function makeVertexBuffers(count, vbArrayPtr) { - if (!count) return undefined; - var vbs = []; - for (var i = 0; i < count; ++i) { - vbs.push(makeVertexBuffer(vbArrayPtr + i * 24)); - } - return vbs; - } - function makeVertexState(viPtr) { - if (!viPtr) return undefined; - return { - "module": WebGPU.mgrShaderModule.get(HEAPU32[viPtr + 4 >> 2]), - "entryPoint": UTF8ToString(HEAPU32[viPtr + 8 >> 2]), - "constants": WebGPU.makePipelineConstants(HEAPU32[viPtr + 12 >> 2], HEAPU32[viPtr + 16 >> 2]), - "buffers": makeVertexBuffers(HEAPU32[viPtr + 20 >> 2], HEAPU32[viPtr + 24 >> 2]) - }; - } - function makeMultisampleState(msPtr) { - if (!msPtr) return undefined; - return { - "count": HEAPU32[msPtr + 4 >> 2], - "mask": HEAPU32[msPtr + 8 >> 2], - "alphaToCoverageEnabled": HEAP8[msPtr + 12 >> 0] !== 0 - }; - } - function makeFragmentState(fsPtr) { - if (!fsPtr) return undefined; - return { - "module": WebGPU.mgrShaderModule.get(HEAPU32[fsPtr + 4 >> 2]), - "entryPoint": UTF8ToString(HEAPU32[fsPtr + 8 >> 2]), - "constants": WebGPU.makePipelineConstants(HEAPU32[fsPtr + 12 >> 2], HEAPU32[fsPtr + 16 >> 2]), - "targets": makeColorStates(HEAPU32[fsPtr + 20 >> 2], HEAPU32[fsPtr + 24 >> 2]) - }; - } - var desc = { - "label": undefined, - "layout": WebGPU.makePipelineLayout(HEAPU32[descriptor + 8 >> 2]), - "vertex": makeVertexState(descriptor + 12), - "primitive": makePrimitiveState(descriptor + 40), - "depthStencil": makeDepthStencilState(HEAPU32[descriptor + 60 >> 2]), - "multisample": makeMultisampleState(descriptor + 64), - "fragment": makeFragmentState(HEAPU32[descriptor + 80 >> 2]) - }; - var labelPtr = HEAPU32[descriptor + 4 >> 2]; - if (labelPtr) desc["label"] = UTF8ToString(labelPtr); - var device = WebGPU.mgrDevice.get(deviceId); - return WebGPU.mgrRenderPipeline.create(device["createRenderPipeline"](desc)); -} - -function _wgpuDeviceCreateSampler(deviceId, descriptor) { - var desc = { - "label": undefined, - "addressModeU": WebGPU.AddressMode[HEAPU32[descriptor + 8 >> 2]], - "addressModeV": WebGPU.AddressMode[HEAPU32[descriptor + 12 >> 2]], - "addressModeW": WebGPU.AddressMode[HEAPU32[descriptor + 16 >> 2]], - "magFilter": WebGPU.FilterMode[HEAPU32[descriptor + 20 >> 2]], - "minFilter": WebGPU.FilterMode[HEAPU32[descriptor + 24 >> 2]], - "mipmapFilter": WebGPU.FilterMode[HEAPU32[descriptor + 28 >> 2]], - "lodMinClamp": HEAPF32[descriptor + 32 >> 2], - "lodMaxClamp": HEAPF32[descriptor + 36 >> 2], - "compare": WebGPU.CompareFunction[HEAPU32[descriptor + 40 >> 2]] - }; - var labelPtr = HEAPU32[descriptor + 4 >> 2]; - if (labelPtr) desc["label"] = UTF8ToString(labelPtr); - var device = WebGPU.mgrDevice.get(deviceId); - return WebGPU.mgrSampler.create(device["createSampler"](desc)); -} - -function _wgpuDeviceCreateShaderModule(deviceId, descriptor) { - var nextInChainPtr = HEAPU32[descriptor >> 2]; - var sType = HEAPU32[nextInChainPtr + 4 >> 2]; - var desc = { - "label": undefined, - "code": "" - }; - var labelPtr = HEAPU32[descriptor + 4 >> 2]; - if (labelPtr) desc["label"] = UTF8ToString(labelPtr); - switch (sType) { - case 5: - { - var count = HEAPU32[nextInChainPtr + 8 >> 2]; - var start = HEAPU32[nextInChainPtr + 12 >> 2]; - desc["code"] = HEAPU32.subarray(start >> 2, (start >> 2) + count); - break; - } - - case 6: - { - var sourcePtr = HEAPU32[nextInChainPtr + 8 >> 2]; - if (sourcePtr) { - desc["code"] = UTF8ToString(sourcePtr); - } - break; - } - } - var device = WebGPU.mgrDevice.get(deviceId); - return WebGPU.mgrShaderModule.create(device["createShaderModule"](desc)); -} - -function _wgpuDeviceCreateTexture(deviceId, descriptor) { - var desc = { - "label": undefined, - "size": WebGPU.makeExtent3D(descriptor + 16), - "mipLevelCount": HEAPU32[descriptor + 32 >> 2], - "sampleCount": HEAPU32[descriptor + 36 >> 2], - "dimension": WebGPU.TextureDimension[HEAPU32[descriptor + 12 >> 2]], - "format": WebGPU.TextureFormat[HEAPU32[descriptor + 28 >> 2]], - "usage": HEAPU32[descriptor + 8 >> 2] - }; - var labelPtr = HEAPU32[descriptor + 4 >> 2]; - if (labelPtr) desc["label"] = UTF8ToString(labelPtr); - var viewFormatCount = HEAPU32[descriptor + 40 >> 2]; - if (viewFormatCount) { - var viewFormatsPtr = HEAPU32[descriptor + 44 >> 2]; - desc["viewFormats"] = Array.from(HEAP32.subarray(viewFormatsPtr >> 2, (viewFormatsPtr >> 2) + viewFormatCount), function(format) { - return WebGPU.TextureFormat[format]; - }); - } - var device = WebGPU.mgrDevice.get(deviceId); - return WebGPU.mgrTexture.create(device["createTexture"](desc)); -} - -function _wgpuDeviceGetQueue(deviceId) { - var queueId = WebGPU.mgrDevice.objects[deviceId].queueId; - WebGPU.mgrQueue.reference(queueId); - return queueId; -} - -function _wgpuDeviceReference(id) { - WebGPU.mgrDevice.reference(id); -} - -function _wgpuDeviceRelease(id) { - WebGPU.mgrDevice.release(id); -} - -function _wgpuPipelineLayoutRelease(id) { - WebGPU.mgrPipelineLayout.release(id); -} - -function _wgpuQuerySetRelease(id) { - WebGPU.mgrQuerySet.release(id); -} - -function _wgpuQueueRelease(id) { - WebGPU.mgrQueue.release(id); -} - -function _wgpuQueueSubmit(queueId, commandCount, commands) { - var queue = WebGPU.mgrQueue.get(queueId); - var cmds = Array.from(HEAP32.subarray(commands >> 2, (commands >> 2) + commandCount), function(id) { - return WebGPU.mgrCommandBuffer.get(id); - }); - queue["submit"](cmds); -} - -function _wgpuQueueWriteBuffer(queueId, bufferId, bufferOffset_low, bufferOffset_high, data, size) { - var queue = WebGPU.mgrQueue.get(queueId); - var buffer = WebGPU.mgrBuffer.get(bufferId); - var bufferOffset = (bufferOffset_high >>> 0) * 4294967296 + (bufferOffset_low >>> 0); - var subarray = HEAPU8.subarray(data, data + size); - queue["writeBuffer"](buffer, bufferOffset, subarray, 0, size); -} - -function _wgpuRenderPassEncoderDraw(passId, vertexCount, instanceCount, firstVertex, firstInstance) { - var pass = WebGPU.mgrRenderPassEncoder.get(passId); - pass["draw"](vertexCount, instanceCount, firstVertex, firstInstance); -} - -function _wgpuRenderPassEncoderEnd(passId) { - var pass = WebGPU.mgrRenderPassEncoder.get(passId); - pass["end"](); -} - -function _wgpuRenderPassEncoderRelease(id) { - WebGPU.mgrRenderPassEncoder.release(id); -} - -function _wgpuRenderPassEncoderSetBindGroup(passId, groupIndex, groupId, dynamicOffsetCount, dynamicOffsetsPtr) { - var pass = WebGPU.mgrRenderPassEncoder.get(passId); - var group = WebGPU.mgrBindGroup.get(groupId); - if (dynamicOffsetCount == 0) { - pass["setBindGroup"](groupIndex, group); - } else { - var offsets = []; - for (var i = 0; i < dynamicOffsetCount; i++, dynamicOffsetsPtr += 4) { - offsets.push(HEAPU32[dynamicOffsetsPtr >> 2]); - } - pass["setBindGroup"](groupIndex, group, offsets); - } -} - -function _wgpuRenderPassEncoderSetPipeline(passId, pipelineId) { - var pass = WebGPU.mgrRenderPassEncoder.get(passId); - var pipeline = WebGPU.mgrRenderPipeline.get(pipelineId); - pass["setPipeline"](pipeline); -} - -function _wgpuRenderPipelineGetBindGroupLayout(pipelineId, groupIndex) { - var pipeline = WebGPU.mgrRenderPipeline.get(pipelineId); - return WebGPU.mgrBindGroupLayout.create(pipeline["getBindGroupLayout"](groupIndex)); -} - -function _wgpuRenderPipelineRelease(id) { - WebGPU.mgrRenderPipeline.release(id); -} - -function _wgpuSamplerReference(id) { - WebGPU.mgrSampler.reference(id); -} - -function _wgpuSamplerRelease(id) { - WebGPU.mgrSampler.release(id); -} - -function _wgpuShaderModuleReference(id) { - WebGPU.mgrShaderModule.reference(id); -} - -function _wgpuShaderModuleRelease(id) { - WebGPU.mgrShaderModule.release(id); -} - -function _wgpuTextureCreateView(textureId, descriptor) { - var desc; - if (descriptor) { - var mipLevelCount = HEAPU32[descriptor + 20 >> 2]; - var arrayLayerCount = HEAPU32[descriptor + 28 >> 2]; - desc = { - "format": WebGPU.TextureFormat[HEAPU32[descriptor + 8 >> 2]], - "dimension": WebGPU.TextureViewDimension[HEAPU32[descriptor + 12 >> 2]], - "baseMipLevel": HEAPU32[descriptor + 16 >> 2], - "mipLevelCount": mipLevelCount === 4294967295 ? undefined : mipLevelCount, - "baseArrayLayer": HEAPU32[descriptor + 24 >> 2], - "arrayLayerCount": arrayLayerCount === 4294967295 ? undefined : arrayLayerCount, - "aspect": WebGPU.TextureAspect[HEAPU32[descriptor + 32 >> 2]] - }; - var labelPtr = HEAPU32[descriptor + 4 >> 2]; - if (labelPtr) desc["label"] = UTF8ToString(labelPtr); - } - var texture = WebGPU.mgrTexture.get(textureId); - return WebGPU.mgrTextureView.create(texture["createView"](desc)); -} - -function _wgpuTextureDestroy(textureId) { - WebGPU.mgrTexture.get(textureId)["destroy"](); -} - -function _wgpuTextureReference(id) { - WebGPU.mgrTexture.reference(id); -} - -function _wgpuTextureRelease(id) { - WebGPU.mgrTexture.release(id); -} - -function _wgpuTextureViewReference(id) { - WebGPU.mgrTextureView.reference(id); -} - -function _wgpuTextureViewRelease(id) { - WebGPU.mgrTextureView.release(id); -} - -function getCFunc(ident) { - var func = Module["_" + ident]; - return func; -} - -function stringToUTF8OnStack(str) { - var size = lengthBytesUTF8(str) + 1; - var ret = stackAlloc(size); - stringToUTF8(str, ret, size); - return ret; -} - -function ccall(ident, returnType, argTypes, args, opts) { - var toC = { - "string": str => { - var ret = 0; - if (str !== null && str !== undefined && str !== 0) { - ret = stringToUTF8OnStack(str); - } - return ret; - }, - "array": arr => { - var ret = stackAlloc(arr.length); - writeArrayToMemory(arr, ret); - return ret; - } - }; - function convertReturnValue(ret) { - if (returnType === "string") { - return UTF8ToString(ret); - } - if (returnType === "boolean") return Boolean(ret); - return ret; - } - var func = getCFunc(ident); - var cArgs = []; - var stack = 0; - if (args) { - for (var i = 0; i < args.length; i++) { - var converter = toC[argTypes[i]]; - if (converter) { - if (stack === 0) stack = stackSave(); - cArgs[i] = converter(args[i]); - } else { - cArgs[i] = args[i]; - } - } - } - var ret = func.apply(null, cArgs); - function onDone(ret) { - if (stack !== 0) stackRestore(stack); - return convertReturnValue(ret); - } - ret = onDone(ret); - return ret; -} - -Module["requestFullscreen"] = function Module_requestFullscreen(lockPointer, resizeCanvas) { - Browser.requestFullscreen(lockPointer, resizeCanvas); -}; - -Module["requestAnimationFrame"] = function Module_requestAnimationFrame(func) { - Browser.requestAnimationFrame(func); -}; - -Module["setCanvasSize"] = function Module_setCanvasSize(width, height, noUpdates) { - Browser.setCanvasSize(width, height, noUpdates); -}; - -Module["pauseMainLoop"] = function Module_pauseMainLoop() { - Browser.mainLoop.pause(); -}; - -Module["resumeMainLoop"] = function Module_resumeMainLoop() { - Browser.mainLoop.resume(); -}; - -Module["getUserMedia"] = function Module_getUserMedia() { - Browser.getUserMedia(); -}; - -Module["createContext"] = function Module_createContext(canvas, useWebGL, setInModule, webGLContextAttributes) { - return Browser.createContext(canvas, useWebGL, setInModule, webGLContextAttributes); -}; - -var preloadedImages = {}; - -var preloadedAudios = {}; - -var FSNode = function(parent, name, mode, rdev) { - if (!parent) { - parent = this; - } - this.parent = parent; - this.mount = parent.mount; - this.mounted = null; - this.id = FS.nextInode++; - this.name = name; - this.mode = mode; - this.node_ops = {}; - this.stream_ops = {}; - this.rdev = rdev; -}; - -var readMode = 292 | 73; - -var writeMode = 146; - -Object.defineProperties(FSNode.prototype, { - read: { - get: function() { - return (this.mode & readMode) === readMode; - }, - set: function(val) { - val ? this.mode |= readMode : this.mode &= ~readMode; - } - }, - write: { - get: function() { - return (this.mode & writeMode) === writeMode; - }, - set: function(val) { - val ? this.mode |= writeMode : this.mode &= ~writeMode; - } - }, - isFolder: { - get: function() { - return FS.isDir(this.mode); - } - }, - isDevice: { - get: function() { - return FS.isChrdev(this.mode); - } - } -}); - -FS.FSNode = FSNode; - -FS.staticInit(); - -Module["FS_createPath"] = FS.createPath; - -Module["FS_createDataFile"] = FS.createDataFile; - -Module["FS_createPreloadedFile"] = FS.createPreloadedFile; - -Module["FS_unlink"] = FS.unlink; - -Module["FS_createLazyFile"] = FS.createLazyFile; - -Module["FS_createDevice"] = FS.createDevice; - -embind_init_charCodes(); - -BindingError = Module["BindingError"] = extendError(Error, "BindingError"); - -InternalError = Module["InternalError"] = extendError(Error, "InternalError"); - -init_emval(); - -var GLctx; - -WebGPU.initManagers(); - -for (var i = 0; i < 32; ++i) tempFixedLengthArray.push(new Array(i)); - -var miniTempWebGLFloatBuffersStorage = new Float32Array(288); - -for (var i = 0; i < 288; ++i) { - miniTempWebGLFloatBuffers[i] = miniTempWebGLFloatBuffersStorage.subarray(0, i + 1); -} - -var miniTempWebGLIntBuffersStorage = new Int32Array(288); - -for (var i = 0; i < 288; ++i) { - miniTempWebGLIntBuffers[i] = miniTempWebGLIntBuffersStorage.subarray(0, i + 1); -} - -var wasmImports = { - "kd": HaveOffsetConverter, - "jd": JsOnEmptyPacketListener, - "id": JsOnFloat32ArrayImageListener, - "hd": JsOnFloat32ArrayImageVectorListener, - "Ma": JsOnSimpleListenerBinaryArray, - "gd": JsOnSimpleListenerBool, - "fd": JsOnSimpleListenerDouble, - "ed": JsOnSimpleListenerFloat, - "dd": JsOnSimpleListenerInt, - "cd": JsOnSimpleListenerString, - "bd": JsOnUint8ArrayImageListener, - "ad": JsOnUint8ArrayImageVectorListener, - "K": JsOnVectorFinishedListener, - "$c": JsOnVectorListenerBool, - "_c": JsOnVectorListenerDouble, - "Zc": JsOnVectorListenerFloat, - "Yc": JsOnVectorListenerInt, - "Xc": JsOnVectorListenerProto, - "Wc": JsOnVectorListenerString, - "Vc": JsOnWebGLTextureListener, - "Uc": JsOnWebGLTextureVectorListener, - "G": JsWrapErrorListener, - "La": JsWrapImageConverter, - "s": JsWrapSimpleListeners, - "Tc": ___call_sighandler, - "i": ___cxa_throw, - "Ka": ___syscall_fcntl64, - "Sc": ___syscall_fstat64, - "Rc": ___syscall_ioctl, - "Qc": ___syscall_lstat64, - "Pc": ___syscall_newfstatat, - "Ja": ___syscall_openat, - "Oc": ___syscall_stat64, - "Kc": __dlopen_js, - "Jc": __dlsym_js, - "Sb": __embind_register_bigint, - "Ic": __embind_register_bool, - "Hc": __embind_register_emval, - "Ha": __embind_register_float, - "E": __embind_register_integer, - "n": __embind_register_memory_view, - "Ga": __embind_register_std_string, - "ja": __embind_register_std_wstring, - "Gc": __embind_register_void, - "Fc": __emscripten_get_now_is_monotonic, - "ia": __emval_as, - "k": __emval_decref, - "ha": __emval_get_global, - "Fa": __emval_get_property, - "Ea": __emval_incref, - "ga": __emval_instanceof, - "ba": __emval_new_cstring, - "fa": __emval_run_destructors, - "Da": __emval_set_property, - "aa": __emval_take_value, - "Ec": __emval_typeof, - "Dc": __gmtime_js, - "Cc": __localtime_js, - "Bc": __mktime_js, - "Ac": __mmap_js, - "zc": __munmap_js, - "Ca": __setitimer_js, - "yc": __tzset_js, - "a": _abort, - "D": _emscripten_asm_const_int, - "xc": _emscripten_date_now, - "wc": _emscripten_get_heap_max, - "r": _emscripten_get_now, - "vc": _emscripten_memcpy_big, - "uc": _emscripten_pc_get_function, - "tc": _emscripten_resize_heap, - "sc": _emscripten_stack_snapshot, - "rc": _emscripten_stack_unwind_buffer, - "qc": _emscripten_webgl_create_context, - "pc": _emscripten_webgl_destroy_context, - "oc": _emscripten_webgl_get_context_attributes, - "Ba": _emscripten_webgl_get_current_context, - "nc": _emscripten_webgl_init_context_attributes, - "mc": _emscripten_webgl_make_context_current, - "lc": _emscripten_webgpu_export_bind_group_layout, - "Aa": _emscripten_webgpu_export_device, - "kc": _emscripten_webgpu_export_sampler, - "jc": _emscripten_webgpu_export_texture, - "J": _emscripten_webgpu_get_device, - "ic": _emscripten_webgpu_import_bind_group, - "hc": _emscripten_webgpu_import_texture, - "U": _emscripten_webgpu_release_js_handle, - "Nc": _environ_get, - "Mc": _environ_sizes_get, - "za": _exit, - "la": _fd_close, - "Ia": _fd_read, - "Tb": _fd_seek, - "ka": _fd_write, - "gc": _getentropy, - "d": _glActiveTexture, - "$": _glAttachShader, - "fc": _glBindAttribLocation, - "e": _glBindBuffer, - "ec": _glBindBufferBase, - "v": _glBindFramebuffer, - "b": _glBindTexture, - "u": _glBindVertexArray, - "ya": _glBlendEquation, - "dc": _glBlendFunc, - "p": _glBufferData, - "z": _glClear, - "ea": _glClearColor, - "Rb": _glClientWaitSync, - "xa": _glCompileShader, - "wa": _glCreateProgram, - "va": _glCreateShader, - "C": _glDeleteBuffers, - "P": _glDeleteFramebuffers, - "j": _glDeleteProgram, - "T": _glDeleteShader, - "S": _glDeleteSync, - "y": _glDeleteTextures, - "O": _glDeleteVertexArrays, - "I": _glDisable, - "t": _glDisableVertexAttribArray, - "o": _glDrawArrays, - "R": _glDrawBuffers, - "cc": _glEnable, - "m": _glEnableVertexAttribArray, - "ua": _glFenceSync, - "_": _glFinish, - "F": _glFlush, - "x": _glFramebufferTexture2D, - "ta": _glFramebufferTextureLayer, - "w": _glGenBuffers, - "N": _glGenFramebuffers, - "B": _glGenTextures, - "M": _glGenVertexArrays, - "sa": _glGetAttribLocation, - "Z": _glGetError, - "q": _glGetIntegerv, - "bc": _glGetProgramiv, - "ac": _glGetShaderInfoLog, - "$b": _glGetShaderiv, - "H": _glGetString, - "_b": _glGetUniformBlockIndex, - "g": _glGetUniformLocation, - "ra": _glLinkProgram, - "Y": _glPixelStorei, - "da": _glReadPixels, - "qa": _glShaderSource, - "A": _glTexImage2D, - "X": _glTexParameterf, - "pa": _glTexParameterfv, - "c": _glTexParameteri, - "ca": _glTexStorage2D, - "Zb": _glTexStorage3D, - "Q": _glTexSubImage2D, - "Yb": _glTexSubImage3D, - "W": _glUniform1f, - "f": _glUniform1i, - "Xb": _glUniform2f, - "Wb": _glUniform2fv, - "oa": _glUniform3f, - "na": _glUniform4fv, - "Vb": _glUniform4iv, - "Ub": _glUniformBlockBinding, - "ma": _glUniformMatrix4fv, - "h": _glUseProgram, - "l": _glVertexAttribPointer, - "L": _glViewport, - "Pb": mediapipe_create_utility_canvas2d, - "Ob": _mediapipe_find_canvas_event_target, - "Nb": mediapipe_import_external_texture, - "Mb": _mediapipe_webgl_tex_image_drawable, - "Lc": _proc_exit, - "V": _strftime, - "Lb": _strftime_l, - "Kb": _wgpuBindGroupLayoutRelease, - "Jb": _wgpuBindGroupRelease, - "Ib": _wgpuBufferGetMappedRange, - "Hb": _wgpuBufferReference, - "Gb": _wgpuBufferRelease, - "Fb": _wgpuBufferUnmap, - "Eb": _wgpuCommandBufferRelease, - "Db": _wgpuCommandEncoderBeginComputePass, - "Cb": _wgpuCommandEncoderBeginRenderPass, - "Bb": _wgpuCommandEncoderCopyBufferToTexture, - "Ab": _wgpuCommandEncoderCopyTextureToTexture, - "zb": _wgpuCommandEncoderFinish, - "yb": _wgpuCommandEncoderRelease, - "xb": _wgpuComputePassEncoderDispatchWorkgroups, - "wb": _wgpuComputePassEncoderEnd, - "vb": _wgpuComputePassEncoderRelease, - "ub": _wgpuComputePassEncoderSetBindGroup, - "tb": _wgpuComputePassEncoderSetPipeline, - "sb": _wgpuComputePipelineGetBindGroupLayout, - "rb": _wgpuComputePipelineRelease, - "qb": _wgpuDeviceCreateBindGroup, - "pb": _wgpuDeviceCreateBuffer, - "ob": _wgpuDeviceCreateCommandEncoder, - "nb": _wgpuDeviceCreateComputePipeline, - "mb": _wgpuDeviceCreateRenderPipeline, - "lb": _wgpuDeviceCreateSampler, - "kb": _wgpuDeviceCreateShaderModule, - "jb": _wgpuDeviceCreateTexture, - "ib": _wgpuDeviceGetQueue, - "hb": _wgpuDeviceReference, - "gb": _wgpuDeviceRelease, - "fb": _wgpuPipelineLayoutRelease, - "eb": _wgpuQuerySetRelease, - "db": _wgpuQueueRelease, - "cb": _wgpuQueueSubmit, - "Qb": _wgpuQueueWriteBuffer, - "bb": _wgpuRenderPassEncoderDraw, - "ab": _wgpuRenderPassEncoderEnd, - "$a": _wgpuRenderPassEncoderRelease, - "_a": _wgpuRenderPassEncoderSetBindGroup, - "Za": _wgpuRenderPassEncoderSetPipeline, - "Ya": _wgpuRenderPipelineGetBindGroupLayout, - "Xa": _wgpuRenderPipelineRelease, - "Wa": _wgpuSamplerReference, - "Va": _wgpuSamplerRelease, - "Ua": _wgpuShaderModuleReference, - "Ta": _wgpuShaderModuleRelease, - "Sa": _wgpuTextureCreateView, - "Ra": _wgpuTextureDestroy, - "Qa": _wgpuTextureReference, - "Pa": _wgpuTextureRelease, - "Oa": _wgpuTextureViewReference, - "Na": _wgpuTextureViewRelease -}; - -var asm = createWasm(); - -var ___wasm_call_ctors = function() { - return (___wasm_call_ctors = Module["asm"]["md"]).apply(null, arguments); -}; - -var _free = Module["_free"] = function() { - return (_free = Module["_free"] = Module["asm"]["od"]).apply(null, arguments); -}; - -var _malloc = Module["_malloc"] = function() { - return (_malloc = Module["_malloc"] = Module["asm"]["pd"]).apply(null, arguments); -}; - -var _addBoundTextureAsImageToStream = Module["_addBoundTextureAsImageToStream"] = function() { - return (_addBoundTextureAsImageToStream = Module["_addBoundTextureAsImageToStream"] = Module["asm"]["qd"]).apply(null, arguments); -}; - -var _attachImageListener = Module["_attachImageListener"] = function() { - return (_attachImageListener = Module["_attachImageListener"] = Module["asm"]["rd"]).apply(null, arguments); -}; - -var _attachImageVectorListener = Module["_attachImageVectorListener"] = function() { - return (_attachImageVectorListener = Module["_attachImageVectorListener"] = Module["asm"]["sd"]).apply(null, arguments); -}; - -var _registerModelResourcesGraphService = Module["_registerModelResourcesGraphService"] = function() { - return (_registerModelResourcesGraphService = Module["_registerModelResourcesGraphService"] = Module["asm"]["td"]).apply(null, arguments); -}; - -var ___errno_location = function() { - return (___errno_location = Module["asm"]["ud"]).apply(null, arguments); -}; - -var _bindTextureToStream = Module["_bindTextureToStream"] = function() { - return (_bindTextureToStream = Module["_bindTextureToStream"] = Module["asm"]["vd"]).apply(null, arguments); -}; - -var _addBoundTextureToStream = Module["_addBoundTextureToStream"] = function() { - return (_addBoundTextureToStream = Module["_addBoundTextureToStream"] = Module["asm"]["wd"]).apply(null, arguments); -}; - -var _addDoubleToInputStream = Module["_addDoubleToInputStream"] = function() { - return (_addDoubleToInputStream = Module["_addDoubleToInputStream"] = Module["asm"]["xd"]).apply(null, arguments); -}; - -var _addFloatToInputStream = Module["_addFloatToInputStream"] = function() { - return (_addFloatToInputStream = Module["_addFloatToInputStream"] = Module["asm"]["yd"]).apply(null, arguments); -}; - -var _addBoolToInputStream = Module["_addBoolToInputStream"] = function() { - return (_addBoolToInputStream = Module["_addBoolToInputStream"] = Module["asm"]["zd"]).apply(null, arguments); -}; - -var _addIntToInputStream = Module["_addIntToInputStream"] = function() { - return (_addIntToInputStream = Module["_addIntToInputStream"] = Module["asm"]["Ad"]).apply(null, arguments); -}; - -var _addStringToInputStream = Module["_addStringToInputStream"] = function() { - return (_addStringToInputStream = Module["_addStringToInputStream"] = Module["asm"]["Bd"]).apply(null, arguments); -}; - -var _addFlatHashMapToInputStream = Module["_addFlatHashMapToInputStream"] = function() { - return (_addFlatHashMapToInputStream = Module["_addFlatHashMapToInputStream"] = Module["asm"]["Cd"]).apply(null, arguments); -}; - -var _addProtoToInputStream = Module["_addProtoToInputStream"] = function() { - return (_addProtoToInputStream = Module["_addProtoToInputStream"] = Module["asm"]["Dd"]).apply(null, arguments); -}; - -var _addEmptyPacketToInputStream = Module["_addEmptyPacketToInputStream"] = function() { - return (_addEmptyPacketToInputStream = Module["_addEmptyPacketToInputStream"] = Module["asm"]["Ed"]).apply(null, arguments); -}; - -var _addBoolToInputSidePacket = Module["_addBoolToInputSidePacket"] = function() { - return (_addBoolToInputSidePacket = Module["_addBoolToInputSidePacket"] = Module["asm"]["Fd"]).apply(null, arguments); -}; - -var _addDoubleToInputSidePacket = Module["_addDoubleToInputSidePacket"] = function() { - return (_addDoubleToInputSidePacket = Module["_addDoubleToInputSidePacket"] = Module["asm"]["Gd"]).apply(null, arguments); -}; - -var _addFloatToInputSidePacket = Module["_addFloatToInputSidePacket"] = function() { - return (_addFloatToInputSidePacket = Module["_addFloatToInputSidePacket"] = Module["asm"]["Hd"]).apply(null, arguments); -}; - -var _addIntToInputSidePacket = Module["_addIntToInputSidePacket"] = function() { - return (_addIntToInputSidePacket = Module["_addIntToInputSidePacket"] = Module["asm"]["Id"]).apply(null, arguments); -}; - -var _addStringToInputSidePacket = Module["_addStringToInputSidePacket"] = function() { - return (_addStringToInputSidePacket = Module["_addStringToInputSidePacket"] = Module["asm"]["Jd"]).apply(null, arguments); -}; - -var _addProtoToInputSidePacket = Module["_addProtoToInputSidePacket"] = function() { - return (_addProtoToInputSidePacket = Module["_addProtoToInputSidePacket"] = Module["asm"]["Kd"]).apply(null, arguments); -}; - -var _attachBoolListener = Module["_attachBoolListener"] = function() { - return (_attachBoolListener = Module["_attachBoolListener"] = Module["asm"]["Ld"]).apply(null, arguments); -}; - -var _attachBoolVectorListener = Module["_attachBoolVectorListener"] = function() { - return (_attachBoolVectorListener = Module["_attachBoolVectorListener"] = Module["asm"]["Md"]).apply(null, arguments); -}; - -var _attachDoubleListener = Module["_attachDoubleListener"] = function() { - return (_attachDoubleListener = Module["_attachDoubleListener"] = Module["asm"]["Nd"]).apply(null, arguments); -}; - -var _attachDoubleVectorListener = Module["_attachDoubleVectorListener"] = function() { - return (_attachDoubleVectorListener = Module["_attachDoubleVectorListener"] = Module["asm"]["Od"]).apply(null, arguments); -}; - -var _attachFloatListener = Module["_attachFloatListener"] = function() { - return (_attachFloatListener = Module["_attachFloatListener"] = Module["asm"]["Pd"]).apply(null, arguments); -}; - -var _attachFloatVectorListener = Module["_attachFloatVectorListener"] = function() { - return (_attachFloatVectorListener = Module["_attachFloatVectorListener"] = Module["asm"]["Qd"]).apply(null, arguments); -}; - -var _attachIntListener = Module["_attachIntListener"] = function() { - return (_attachIntListener = Module["_attachIntListener"] = Module["asm"]["Rd"]).apply(null, arguments); -}; - -var _attachIntVectorListener = Module["_attachIntVectorListener"] = function() { - return (_attachIntVectorListener = Module["_attachIntVectorListener"] = Module["asm"]["Sd"]).apply(null, arguments); -}; - -var _attachStringListener = Module["_attachStringListener"] = function() { - return (_attachStringListener = Module["_attachStringListener"] = Module["asm"]["Td"]).apply(null, arguments); -}; - -var _attachStringVectorListener = Module["_attachStringVectorListener"] = function() { - return (_attachStringVectorListener = Module["_attachStringVectorListener"] = Module["asm"]["Ud"]).apply(null, arguments); -}; - -var _attachProtoListener = Module["_attachProtoListener"] = function() { - return (_attachProtoListener = Module["_attachProtoListener"] = Module["asm"]["Vd"]).apply(null, arguments); -}; - -var _attachProtoVectorListener = Module["_attachProtoVectorListener"] = function() { - return (_attachProtoVectorListener = Module["_attachProtoVectorListener"] = Module["asm"]["Wd"]).apply(null, arguments); -}; - -var _getGraphConfig = Module["_getGraphConfig"] = function() { - return (_getGraphConfig = Module["_getGraphConfig"] = Module["asm"]["Xd"]).apply(null, arguments); -}; - -var _clearSubgraphs = Module["_clearSubgraphs"] = function() { - return (_clearSubgraphs = Module["_clearSubgraphs"] = Module["asm"]["Yd"]).apply(null, arguments); -}; - -var _pushBinarySubgraph = Module["_pushBinarySubgraph"] = function() { - return (_pushBinarySubgraph = Module["_pushBinarySubgraph"] = Module["asm"]["Zd"]).apply(null, arguments); -}; - -var _pushTextSubgraph = Module["_pushTextSubgraph"] = function() { - return (_pushTextSubgraph = Module["_pushTextSubgraph"] = Module["asm"]["_d"]).apply(null, arguments); -}; - -var _changeBinaryGraph = Module["_changeBinaryGraph"] = function() { - return (_changeBinaryGraph = Module["_changeBinaryGraph"] = Module["asm"]["$d"]).apply(null, arguments); -}; - -var _changeTextGraph = Module["_changeTextGraph"] = function() { - return (_changeTextGraph = Module["_changeTextGraph"] = Module["asm"]["ae"]).apply(null, arguments); -}; - -var _processGl = Module["_processGl"] = function() { - return (_processGl = Module["_processGl"] = Module["asm"]["be"]).apply(null, arguments); -}; - -var _process = Module["_process"] = function() { - return (_process = Module["_process"] = Module["asm"]["ce"]).apply(null, arguments); -}; - -var _bindTextureToCanvas = Module["_bindTextureToCanvas"] = function() { - return (_bindTextureToCanvas = Module["_bindTextureToCanvas"] = Module["asm"]["de"]).apply(null, arguments); -}; - -var _requestShaderRefreshOnGraphChange = Module["_requestShaderRefreshOnGraphChange"] = function() { - return (_requestShaderRefreshOnGraphChange = Module["_requestShaderRefreshOnGraphChange"] = Module["asm"]["ee"]).apply(null, arguments); -}; - -var _waitUntilIdle = Module["_waitUntilIdle"] = function() { - return (_waitUntilIdle = Module["_waitUntilIdle"] = Module["asm"]["fe"]).apply(null, arguments); -}; - -var _closeGraph = Module["_closeGraph"] = function() { - return (_closeGraph = Module["_closeGraph"] = Module["asm"]["ge"]).apply(null, arguments); -}; - -var _setAutoRenderToScreen = Module["_setAutoRenderToScreen"] = function() { - return (_setAutoRenderToScreen = Module["_setAutoRenderToScreen"] = Module["asm"]["he"]).apply(null, arguments); -}; - -var ___getTypeName = Module["___getTypeName"] = function() { - return (___getTypeName = Module["___getTypeName"] = Module["asm"]["ie"]).apply(null, arguments); -}; - -var __embind_initialize_bindings = Module["__embind_initialize_bindings"] = function() { - return (__embind_initialize_bindings = Module["__embind_initialize_bindings"] = Module["asm"]["je"]).apply(null, arguments); -}; - -var ___dl_seterr = function() { - return (___dl_seterr = Module["asm"]["__dl_seterr"]).apply(null, arguments); -}; - -var __emscripten_timeout = function() { - return (__emscripten_timeout = Module["asm"]["ke"]).apply(null, arguments); -}; - -var _emscripten_builtin_memalign = function() { - return (_emscripten_builtin_memalign = Module["asm"]["le"]).apply(null, arguments); -}; - -var stackSave = function() { - return (stackSave = Module["asm"]["me"]).apply(null, arguments); -}; - -var stackRestore = function() { - return (stackRestore = Module["asm"]["ne"]).apply(null, arguments); -}; - -var stackAlloc = function() { - return (stackAlloc = Module["asm"]["oe"]).apply(null, arguments); -}; - -var ___cxa_is_pointer_type = function() { - return (___cxa_is_pointer_type = Module["asm"]["pe"]).apply(null, arguments); -}; - -var ___start_em_js = Module["___start_em_js"] = 1204068; - -var ___stop_em_js = Module["___stop_em_js"] = 1210616; - -Module["addRunDependency"] = addRunDependency; - -Module["removeRunDependency"] = removeRunDependency; - -Module["FS_createPath"] = FS.createPath; - -Module["FS_createDataFile"] = FS.createDataFile; - -Module["FS_createPreloadedFile"] = FS.createPreloadedFile; - -Module["FS_createLazyFile"] = FS.createLazyFile; - -Module["FS_createDevice"] = FS.createDevice; - -Module["FS_unlink"] = FS.unlink; - -Module["ccall"] = ccall; - -Module["stringToNewUTF8"] = stringToNewUTF8; - -var calledRun; - -dependenciesFulfilled = function runCaller() { - if (!calledRun) run(); - if (!calledRun) dependenciesFulfilled = runCaller; -}; - -function run() { - if (runDependencies > 0) { - return; - } - preRun(); - if (runDependencies > 0) { - return; - } - function doRun() { - if (calledRun) return; - calledRun = true; - Module["calledRun"] = true; - if (ABORT) return; - initRuntime(); - readyPromiseResolve(Module); - if (Module["onRuntimeInitialized"]) Module["onRuntimeInitialized"](); - postRun(); - } - if (Module["setStatus"]) { - Module["setStatus"]("Running..."); - setTimeout(function() { - setTimeout(function() { - Module["setStatus"](""); - }, 1); - doRun(); - }, 1); - } else { - doRun(); - } -} - -if (Module["preInit"]) { - if (typeof Module["preInit"] == "function") Module["preInit"] = [ Module["preInit"] ]; - while (Module["preInit"].length > 0) { - Module["preInit"].pop()(); - } -} - -run(); - - - return ModuleFactory.ready -} - -); -})(); -if (typeof exports === 'object' && typeof module === 'object') - module.exports = ModuleFactory; -else if (typeof define === 'function' && define['amd']) - define([], function() { return ModuleFactory; }); -else if (typeof exports === 'object') - exports["ModuleFactory"] = ModuleFactory; diff --git a/applications/emocam/js/wasm/vision_wasm_internal.wasm b/applications/emocam/js/wasm/vision_wasm_internal.wasm deleted file mode 100644 index f572bef..0000000 Binary files a/applications/emocam/js/wasm/vision_wasm_internal.wasm and /dev/null differ