@incodetech/welcome 1.85.0-20251104182555.0 → 1.85.0-20251105121333.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  (function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode(`.IncodeCaptureSelfieContainer .OT_publisher{display:block}@font-face{font-family:swiper-icons;src:url(data:application/font-woff;charset=utf-8;base64,\\ d09GRgABAAAAAAZgABAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAGRAAAABoAAAAci6qHkUdERUYAAAWgAAAAIwAAACQAYABXR1BPUwAABhQAAAAuAAAANuAY7+xHU1VCAAAFxAAAAFAAAABm2fPczU9TLzIAAAHcAAAASgAAAGBP9V5RY21hcAAAAkQAAACIAAABYt6F0cBjdnQgAAACzAAAAAQAAAAEABEBRGdhc3AAAAWYAAAACAAAAAj//wADZ2x5ZgAAAywAAADMAAAD2MHtryVoZWFkAAABbAAAADAAAAA2E2+eoWhoZWEAAAGcAAAAHwAAACQC9gDzaG10eAAAAigAAAAZAAAArgJkABFsb2NhAAAC0AAAAFoAAABaFQAUGG1heHAAAAG8AAAAHwAAACAAcABAbmFtZQAAA/gAAAE5AAACXvFdBwlwb3N0AAAFNAAAAGIAAACE5s74hXjaY2BkYGAAYpf5Hu/j+W2+MnAzMYDAzaX6QjD6/4//Bxj5GA8AuRwMYGkAPywL13jaY2BkYGA88P8Agx4j+/8fQDYfA1AEBWgDAIB2BOoAeNpjYGRgYNBh4GdgYgABEMnIABJzYNADCQAACWgAsQB42mNgYfzCOIGBlYGB0YcxjYGBwR1Kf2WQZGhhYGBiYGVmgAFGBiQQkOaawtDAoMBQxXjg/wEGPcYDDA4wNUA2CCgwsAAAO4EL6gAAeNpj2M0gyAACqxgGNWBkZ2D4/wMA+xkDdgAAAHjaY2BgYGaAYBkGRgYQiAHyGMF8FgYHIM3DwMHABGQrMOgyWDLEM1T9/w8UBfEMgLzE////P/5//f/V/xv+r4eaAAeMbAxwIUYmIMHEgKYAYjUcsDAwsLKxc3BycfPw8jEQA/gZBASFhEVExcQlJKWkZWTl5BUUlZRVVNXUNTQZBgMAAMR+E+gAEQFEAAAAKgAqACoANAA+AEgAUgBcAGYAcAB6AIQAjgCYAKIArAC2AMAAygDUAN4A6ADyAPwBBgEQARoBJAEuATgBQgFMAVYBYAFqAXQBfgGIAZIBnAGmAbIBzgHsAAB42u2NMQ6CUAyGW568x9AneYYgm4MJbhKFaExIOAVX8ApewSt4Bic4AfeAid3VOBixDxfPYEza5O+Xfi04YADggiUIULCuEJK8VhO4bSvpdnktHI5QCYtdi2sl8ZnXaHlqUrNKzdKcT8cjlq+rwZSvIVczNiezsfnP/uznmfPFBNODM2K7MTQ45YEAZqGP81AmGGcF3iPqOop0r1SPTaTbVkfUe4HXj97wYE+yNwWYxwWu4v1ugWHgo3S1XdZEVqWM7ET0cfnLGxWfkgR42o2PvWrDMBSFj/IHLaF0zKjRgdiVMwScNRAoWUoH78Y2icB/yIY09An6AH2Bdu/UB+yxopYshQiEvnvu0dURgDt8QeC8PDw7Fpji3fEA4z/PEJ6YOB5hKh4dj3EvXhxPqH/SKUY3rJ7srZ4FZnh1PMAtPhwP6fl2PMJMPDgeQ4rY8YT6Gzao0eAEA409DuggmTnFnOcSCiEiLMgxCiTI6Cq5DZUd3Qmp10vO0LaLTd2cjN4fOumlc7lUYbSQcZFkutRG7g6JKZKy0RmdLY680CDnEJ+UMkpFFe1RN7nxdVpXrC4aTtnaurOnYercZg2YVmLN/d/gczfEimrE/fs/bOuq29Zmn8tloORaXgZgGa78yO9/cnXm2BpaGvq25Dv9S4E9+5SIc9PqupJKhYFSSl47+Qcr1mYNAAAAeNptw0cKwkAAAMDZJA8Q7OUJvkLsPfZ6zFVERPy8qHh2YER+3i/BP83vIBLLySsoKimrqKqpa2hp6+jq6RsYGhmbmJqZSy0sraxtbO3sHRydnEMU4uR6yx7JJXveP7WrDycAAAAAAAH//wACeNpjYGRgYOABYhkgZgJCZgZNBkYGLQZtIJsFLMYAAAw3ALgAeNolizEKgDAQBCchRbC2sFER0YD6qVQiBCv/H9ezGI6Z5XBAw8CBK/m5iQQVauVbXLnOrMZv2oLdKFa8Pjuru2hJzGabmOSLzNMzvutpB3N42mNgZGBg4GKQYzBhYMxJLMlj4GBgAYow/P/PAJJhLM6sSoWKfWCAAwDAjgbRAAB42mNgYGBkAIIbCZo5IPrmUn0hGA0AO8EFTQAA);font-weight:400;font-style:normal}:root{--swiper-theme-color:#007aff}.swiper,swiper-container{margin-left:auto;margin-right:auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1;display:block}.swiper-vertical>.swiper-wrapper{flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:flex;transition-property:transform;transition-timing-function:var(--swiper-wrapper-transition-timing-function,initial);box-sizing:content-box}.swiper-android .swiper-slide,.swiper-wrapper{transform:translateZ(0)}.swiper-horizontal{touch-action:pan-y}.swiper-vertical{touch-action:pan-x}.swiper-slide,swiper-slide{flex-shrink:0;width:100%;height:100%;position:relative;transition-property:transform;display:block}.swiper-slide-invisible-blank{visibility:hidden}.swiper-autoheight,.swiper-autoheight .swiper-slide{height:auto}.swiper-autoheight .swiper-wrapper{align-items:flex-start;transition-property:transform,height}.swiper-backface-hidden .swiper-slide{transform:translateZ(0);-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-3d.swiper-css-mode .swiper-wrapper{perspective:1200px}.swiper-3d .swiper-wrapper{transform-style:preserve-3d}.swiper-3d{perspective:1200px}.swiper-3d .swiper-cube-shadow,.swiper-3d .swiper-slide,.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-bottom,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top{transform-style:preserve-3d}.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-bottom,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}.swiper-3d .swiper-slide-shadow{background:#00000026}.swiper-3d .swiper-slide-shadow-left{background-image:linear-gradient(to left,#00000080,#0000)}.swiper-3d .swiper-slide-shadow-right{background-image:linear-gradient(to right,#00000080,#0000)}.swiper-3d .swiper-slide-shadow-top{background-image:linear-gradient(to top,#00000080,#0000)}.swiper-3d .swiper-slide-shadow-bottom{background-image:linear-gradient(to bottom,#00000080,#0000)}.swiper-css-mode>.swiper-wrapper{overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.swiper-css-mode>.swiper-wrapper::-webkit-scrollbar{display:none}.swiper-css-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:start start}.swiper-horizontal.swiper-css-mode>.swiper-wrapper{scroll-snap-type:x mandatory}.swiper-vertical.swiper-css-mode>.swiper-wrapper{scroll-snap-type:y mandatory}.swiper-css-mode.swiper-free-mode>.swiper-wrapper{scroll-snap-type:none}.swiper-css-mode.swiper-free-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:none}.swiper-centered>.swiper-wrapper:before{content:"";flex-shrink:0;order:9999}.swiper-centered>.swiper-wrapper>.swiper-slide{scroll-snap-align:center center;scroll-snap-stop:always}.swiper-centered.swiper-horizontal>.swiper-wrapper>.swiper-slide:first-child{margin-inline-start:var(--swiper-centered-offset-before)}.swiper-centered.swiper-horizontal>.swiper-wrapper:before{height:100%;min-height:1px;width:var(--swiper-centered-offset-after)}.swiper-centered.swiper-vertical>.swiper-wrapper>.swiper-slide:first-child{margin-block-start:var(--swiper-centered-offset-before)}.swiper-centered.swiper-vertical>.swiper-wrapper:before{width:100%;min-width:1px;height:var(--swiper-centered-offset-after)}.swiper-lazy-preloader{width:42px;height:42px;position:absolute;left:50%;top:50%;margin-left:-21px;margin-top:-21px;z-index:10;transform-origin:50%;box-sizing:border-box;border:4px solid var(--swiper-preloader-color,var(--swiper-theme-color));border-radius:50%;border-top-color:transparent}.swiper-watch-progress .swiper-slide-visible .swiper-lazy-preloader,.swiper:not(.swiper-watch-progress) .swiper-lazy-preloader,swiper-container:not(.swiper-watch-progress) .swiper-lazy-preloader{animation:swiper-preloader-spin 1s infinite linear}.swiper-lazy-preloader-white{--swiper-preloader-color:#fff}.swiper-lazy-preloader-black{--swiper-preloader-color:#000}@keyframes swiper-preloader-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.swiper-pagination{position:absolute;text-align:center;transition:.3s opacity;transform:translateZ(0);z-index:10}.swiper-pagination.swiper-pagination-hidden{opacity:0}.swiper-pagination-disabled>.swiper-pagination,.swiper-pagination.swiper-pagination-disabled{display:none!important}.swiper-horizontal>.swiper-pagination-bullets,.swiper-pagination-bullets.swiper-pagination-horizontal,.swiper-pagination-custom,.swiper-pagination-fraction{bottom:var(--swiper-pagination-bottom,8px);top:var(--swiper-pagination-top,auto);left:0;width:100%}.swiper-pagination-bullets-dynamic{overflow:hidden;font-size:0}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transform:scale(.33);position:relative}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active,.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main{transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev{transform:scale(.33)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next{transform:scale(.33)}.swiper-pagination-bullet{width:var(--swiper-pagination-bullet-width,var(--swiper-pagination-bullet-size,8px));height:var(--swiper-pagination-bullet-height,var(--swiper-pagination-bullet-size,8px));display:inline-block;border-radius:var(--swiper-pagination-bullet-border-radius,50%);background:var(--swiper-pagination-bullet-inactive-color,#000);opacity:var(--swiper-pagination-bullet-inactive-opacity, .2)}button.swiper-pagination-bullet{border:none;margin:0;padding:0;box-shadow:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.swiper-pagination-clickable .swiper-pagination-bullet{cursor:pointer}.swiper-pagination-bullet:only-child{display:none!important}.swiper-pagination-bullet-active{opacity:var(--swiper-pagination-bullet-opacity, 1);background:var(--swiper-pagination-color,var(--swiper-theme-color))}.swiper-pagination-vertical.swiper-pagination-bullets,.swiper-vertical>.swiper-pagination-bullets{right:var(--swiper-pagination-right,8px);left:var(--swiper-pagination-left,auto);top:50%;transform:translate3d(0,-50%,0)}.swiper-pagination-vertical.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-vertical>.swiper-pagination-bullets .swiper-pagination-bullet{margin:var(--swiper-pagination-bullet-vertical-gap,6px) 0;display:block}.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{top:50%;transform:translateY(-50%);width:8px}.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{display:inline-block;transition:.2s transform,.2s top}.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet{margin:0 var(--swiper-pagination-bullet-horizontal-gap,4px)}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{left:50%;transform:translate(-50%);white-space:nowrap}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:.2s transform,.2s left}.swiper-horizontal.swiper-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,:host(.swiper-horizontal.swiper-rtl) .swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:.2s transform,.2s right}.swiper-pagination-fraction{color:var(--swiper-pagination-fraction-color,inherit)}.swiper-pagination-progressbar{background:var(--swiper-pagination-progressbar-bg-color,rgba(0,0,0,.25));position:absolute}.swiper-pagination-progressbar .swiper-pagination-progressbar-fill{background:var(--swiper-pagination-color,var(--swiper-theme-color));position:absolute;left:0;top:0;width:100%;height:100%;transform:scale(0);transform-origin:left top}.swiper-rtl .swiper-pagination-progressbar .swiper-pagination-progressbar-fill{transform-origin:right top}.swiper-horizontal>.swiper-pagination-progressbar,.swiper-pagination-progressbar.swiper-pagination-horizontal,.swiper-pagination-progressbar.swiper-pagination-vertical.swiper-pagination-progressbar-opposite,.swiper-vertical>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite{width:100%;height:var(--swiper-pagination-progressbar-size,4px);left:0;top:0}.swiper-horizontal>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-horizontal.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-vertical,.swiper-vertical>.swiper-pagination-progressbar{width:var(--swiper-pagination-progressbar-size,4px);height:100%;left:0;top:0}.swiper-pagination-lock{display:none}:root{--react-pdf-annotation-layer: 1;--annotation-unfocused-field-background: url("data:image/svg+xml;charset=UTF-8,<svg width='1px' height='1px' xmlns='http://www.w3.org/2000/svg'><rect width='100%' height='100%' style='fill:rgba(0, 54, 255, 0.13);'/></svg>");--input-focus-border-color: Highlight;--input-focus-outline: 1px solid Canvas;--input-unfocused-border-color: transparent;--input-disabled-border-color: transparent;--input-hover-border-color: black;--link-outline: none}@media screen and (forced-colors: active){:root{--input-focus-border-color: CanvasText;--input-unfocused-border-color: ActiveText;--input-disabled-border-color: GrayText;--input-hover-border-color: Highlight;--link-outline: 1.5px solid LinkText}.annotationLayer .textWidgetAnnotation :is(input,textarea):required,.annotationLayer .choiceWidgetAnnotation select:required,.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input:required{outline:1.5px solid selectedItem}.annotationLayer .linkAnnotation:hover{-webkit-backdrop-filter:invert(100%);backdrop-filter:invert(100%)}}.annotationLayer{position:absolute;top:0;left:0;pointer-events:none;transform-origin:0 0;z-index:3}.annotationLayer[data-main-rotation="90"] .norotate{transform:rotate(270deg) translate(-100%)}.annotationLayer[data-main-rotation="180"] .norotate{transform:rotate(180deg) translate(-100%,-100%)}.annotationLayer[data-main-rotation="270"] .norotate{transform:rotate(90deg) translateY(-100%)}.annotationLayer canvas{position:absolute;width:100%;height:100%}.annotationLayer section{position:absolute;text-align:initial;pointer-events:auto;box-sizing:border-box;margin:0;transform-origin:0 0}.annotationLayer .linkAnnotation{outline:var(--link-outline)}.textLayer.selecting~.annotationLayer section{pointer-events:none}.annotationLayer :is(.linkAnnotation,.buttonWidgetAnnotation.pushButton)>a{position:absolute;font-size:1em;top:0;left:0;width:100%;height:100%}.annotationLayer :is(.linkAnnotation,.buttonWidgetAnnotation.pushButton)>a:hover{opacity:.2;background:#ff0;box-shadow:0 2px 10px #ff0}.annotationLayer .textAnnotation img{position:absolute;cursor:pointer;width:100%;height:100%;top:0;left:0}.annotationLayer .textWidgetAnnotation :is(input,textarea),.annotationLayer .choiceWidgetAnnotation select,.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input{background-image:var(--annotation-unfocused-field-background);border:2px solid var(--input-unfocused-border-color);box-sizing:border-box;font:calc(9px * var(--scale-factor)) sans-serif;height:100%;margin:0;vertical-align:top;width:100%}.annotationLayer .textWidgetAnnotation :is(input,textarea):required,.annotationLayer .choiceWidgetAnnotation select:required,.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input:required{outline:1.5px solid red}.annotationLayer .choiceWidgetAnnotation select option{padding:0}.annotationLayer .buttonWidgetAnnotation.radioButton input{border-radius:50%}.annotationLayer .textWidgetAnnotation textarea{resize:none}.annotationLayer .textWidgetAnnotation :is(input,textarea)[disabled],.annotationLayer .choiceWidgetAnnotation select[disabled],.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input[disabled]{background:none;border:2px solid var(--input-disabled-border-color);cursor:not-allowed}.annotationLayer .textWidgetAnnotation :is(input,textarea):hover,.annotationLayer .choiceWidgetAnnotation select:hover,.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input:hover{border:2px solid var(--input-hover-border-color)}.annotationLayer .textWidgetAnnotation :is(input,textarea):hover,.annotationLayer .choiceWidgetAnnotation select:hover,.annotationLayer .buttonWidgetAnnotation.checkBox input:hover{border-radius:2px}.annotationLayer .textWidgetAnnotation :is(input,textarea):focus,.annotationLayer .choiceWidgetAnnotation select:focus{background:none;border:2px solid var(--input-focus-border-color);border-radius:2px;outline:var(--input-focus-outline)}.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) :focus{background-image:none;background-color:transparent}.annotationLayer .buttonWidgetAnnotation.checkBox :focus{border:2px solid var(--input-focus-border-color);border-radius:2px;outline:var(--input-focus-outline)}.annotationLayer .buttonWidgetAnnotation.radioButton :focus{border:2px solid var(--input-focus-border-color);outline:var(--input-focus-outline)}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before,.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after,.annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before{background-color:CanvasText;content:"";display:block;position:absolute}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before,.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after{height:80%;left:45%;width:1px}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before{transform:rotate(45deg)}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after{transform:rotate(-45deg)}.annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before{border-radius:50%;height:50%;left:30%;top:20%;width:50%}.annotationLayer .textWidgetAnnotation input.comb{font-family:monospace;padding-left:2px;padding-right:0}.annotationLayer .textWidgetAnnotation input.comb:focus{width:103%}.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input{-webkit-appearance:none;-moz-appearance:none;appearance:none}.annotationLayer .popupTriggerArea{height:100%;width:100%}.annotationLayer .fileAttachmentAnnotation .popupTriggerArea{position:absolute}.annotationLayer .popupWrapper{position:absolute;font-size:calc(9px * var(--scale-factor));width:100%;min-width:calc(180px * var(--scale-factor));pointer-events:none}.annotationLayer .popup{position:absolute;max-width:calc(180px * var(--scale-factor));background-color:#ff9;box-shadow:0 calc(2px * var(--scale-factor)) calc(5px * var(--scale-factor)) #888;border-radius:calc(2px * var(--scale-factor));padding:calc(6px * var(--scale-factor));margin-left:calc(5px * var(--scale-factor));cursor:pointer;font:message-box;white-space:normal;word-wrap:break-word;pointer-events:auto}.annotationLayer .popup>*{font-size:calc(9px * var(--scale-factor))}.annotationLayer .popup h1{display:inline-block}.annotationLayer .popupDate{display:inline-block;margin-left:calc(5px * var(--scale-factor))}.annotationLayer .popupContent{border-top:1px solid rgba(51,51,51,1);margin-top:calc(2px * var(--scale-factor));padding-top:calc(2px * var(--scale-factor))}.annotationLayer .richText>*{white-space:pre-wrap;font-size:calc(9px * var(--scale-factor))}.annotationLayer .highlightAnnotation,.annotationLayer .underlineAnnotation,.annotationLayer .squigglyAnnotation,.annotationLayer .strikeoutAnnotation,.annotationLayer .freeTextAnnotation,.annotationLayer .lineAnnotation svg line,.annotationLayer .squareAnnotation svg rect,.annotationLayer .circleAnnotation svg ellipse,.annotationLayer .polylineAnnotation svg polyline,.annotationLayer .polygonAnnotation svg polygon,.annotationLayer .caretAnnotation,.annotationLayer .inkAnnotation svg polyline,.annotationLayer .stampAnnotation,.annotationLayer .fileAttachmentAnnotation{cursor:pointer}.annotationLayer section svg{position:absolute;width:100%;height:100%;top:0;left:0}.annotationLayer .annotationTextContent{position:absolute;width:100%;height:100%;opacity:0;color:transparent;-webkit-user-select:none;user-select:none;pointer-events:none}.annotationLayer .annotationTextContent span{width:100%;display:inline-block}:root{--react-pdf-text-layer: 1;--highlight-bg-color: rgba(180, 0, 170, 1);--highlight-selected-bg-color: rgba(0, 100, 0, 1)}@media screen and (forced-colors: active){:root{--highlight-bg-color: Highlight;--highlight-selected-bg-color: ButtonText}}[data-main-rotation="90"]{transform:rotate(90deg) translateY(-100%)}[data-main-rotation="180"]{transform:rotate(180deg) translate(-100%,-100%)}[data-main-rotation="270"]{transform:rotate(270deg) translate(-100%)}.textLayer{position:absolute;text-align:initial;top:0;right:0;bottom:0;left:0;overflow:hidden;line-height:1;text-size-adjust:none;forced-color-adjust:none;transform-origin:0 0;z-index:2}.textLayer :is(span,br){color:transparent;position:absolute;white-space:pre;cursor:text;margin:0;transform-origin:0 0}.textLayer span.markedContent{top:0;height:0}.textLayer .highlight{margin:-1px;padding:1px;background-color:var(--highlight-bg-color);border-radius:4px}.textLayer .highlight.appended{position:initial}.textLayer .highlight.begin{border-radius:4px 0 0 4px}.textLayer .highlight.end{border-radius:0 4px 4px 0}.textLayer .highlight.middle{border-radius:0}.textLayer .highlight.selected{background-color:var(--highlight-selected-bg-color)}.textLayer br::selection{background:transparent}.textLayer .endOfContent{display:block;position:absolute;top:100%;right:0;bottom:0;left:0;z-index:-1;cursor:default;-webkit-user-select:none;user-select:none}.textLayer.selecting .endOfContent{top:0}.hiddenCanvasElement{position:absolute;top:0;left:0;width:0;height:0;display:none}.list{counter-reset:countLi}.list .step{display:flex;align-items:center;font-size:14px;margin-top:12px}.list .step:first-of-type{margin-top:.25rem}.list .step-information{margin-right:8px;line-height:normal}.list img{width:35px;height:35px;margin-right:.5rem}.list .instruction-set h2{margin-top:24px!important;font-size:1rem;line-height:1.5rem;margin:0;color:#636670}.IncodeDefaultComponentContainer:has(.scroll-wrapper){position:relative;height:100%;overflow-y:auto}.finish{display:flex;height:100%;width:100%;align-items:center;justify-content:center;padding:20px;flex-direction:column}.finish-title{font-size:2rem;margin:20px 0;font-weight:700;color:#20263d;text-align:left;width:100%}.finish-subtitle{font-size:1rem;margin:20px 0;font-weight:700;color:#20263d;text-align:left;width:100%}@media only screen and (min-width: 992px){.finish-subtitle,.finish-title{text-align:center}}.IncodeDefaultComponentContainer:has(.IncodeDefaultComponentContainer.disable-full-screen){position:relative;height:100%;overflow-y:auto}html,body{height:100%}`)),document.head.appendChild(t)}}catch(i){console.error("vite-plugin-css-injected-by-js",i)}})();
2
- (function(an,q0){typeof exports=="object"&&typeof module<"u"?q0(exports,require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react","react-dom"],q0):(an=typeof globalThis<"u"?globalThis:an||self,q0(an.OnBoarding={},an.React,an.ReactDOM))})(this,function(exports,React,ReactDOM){"use strict";var ix=Object.defineProperty;var Wh=an=>{throw TypeError(an)};var sx=(an,q0,wn)=>q0 in an?ix(an,q0,{enumerable:!0,configurable:!0,writable:!0,value:wn}):an[q0]=wn;var P0=(an,q0,wn)=>sx(an,typeof q0!="symbol"?q0+"":q0,wn),jp=(an,q0,wn)=>q0.has(an)||Wh("Cannot "+wn);var Kt=(an,q0,wn)=>(jp(an,q0,"read from private field"),wn?wn.call(an):q0.get(an)),kr=(an,q0,wn)=>q0.has(an)?Wh("Cannot add the same private member more than once"):q0 instanceof WeakSet?q0.add(an):q0.set(an,wn),Cr=(an,q0,wn,Ua)=>(jp(an,q0,"write to private field"),Ua?Ua.call(an,wn):q0.set(an,wn),wn),vr=(an,q0,wn)=>(jp(an,q0,"access private method"),wn);var Qa=(an,q0,wn,Ua)=>({set _(Ds){Cr(an,q0,Ds,wn)},get _(){return Kt(an,q0,Ua)}});var q0,wn,Ua,Ds,h2,Ku,Da,Ns,Zd,Fp,ec,vo,g2,_i,A2,tc,rc,$u,Kh,Na,$h,qh,Jd,Yh,Qp,nc,x2,y2,ko,Zh,Jh,e5,qu,N1,ac,Ia,L1,e3,da,bo,ic,pa,Yu,t5,_1,ri,ra,Aa,M1,_s,j1,Mi,Io,F1,E2,ss,ji,C2,sc,oc,Q1,lc,os,So,V1,wo,ls,Ju,Ro,uc,To,v2,dc,pc,fa,kn,Ms,k2,fc,hc,Bo,cs,js,mc,gi,C0,t3,Vp,r5,n5,r3,a5,i5,s5,Up,o5,Hp,Gp,l5,Va,p2,c5,u5,zp,d5,Nu,Wp,ha,us,Fi,H1,ds,ni,G1,ps,Ha,Fs,b2,fs,Po,Qi,Lu,n3,I2,Vi,Vn,z1,S2,xa,w2,Oo,gc,R2,Do,Ac,T2,Qs,hs,W1,X1,Ai,xc,ed,sn,Xp,yc,Kp,$p,p5,f5,qp,Yp,Zp,h5,Jp,m5,g5,A5,e9,_u,B2,P2,ma,td,x5,Ec,K1,Cc,O2,D2,ms,Vs,Sa,rd,N2,I0,Oa,Xl,Kl,a3,$l,y5,t9,ql,Mu,ju,r9,Fu,No,n9,a9,vc,kc,$1,xi,E5,C5,k5,i3,L2,bc,Ic,Sc,wc,q1,Lo,bn,Y1,Z1,Rc,i9,_9,_o,Ga,Tc,Bc,_2,Us,Pc,Oc,M2,J1,el,Mo,tl,Dc,rl,j2,Nc,Lc,Xn,F2,Q2,_c,jo,nl,Hs,b5,I5,s9,ai,s3,o9,S5,w5,ad,Fo,Gs,yi,Yl,o3,zs,od,ld,V2,U2,al,l3,il,c3,Ws,gs,sl,ol,As,H2,Qu,Ui,Mc,l9,Qo,Vo,G2,W2,ll,cl,jc,c9,ii,B1,R5,T5,ul,cd,ud,dl,X2,Kn,Xs,pl,Fc,Qc,fl,Ks,Hi,$s,Vc,qs,Uc,K2,$2,Rn,u3,u9,B5,P5,O5,D5,d3,p3,d9,Hc,Gc,zc,Wc,Xc,Kc,$c,p9,qc,q2,Y2,Yc,Z2,N5,f9,M9,Gi,si,Zc,J2,oi,ea,L5,_5,M5,f3,Ys,h3,m3,j5,h9,F5,li,zi,hl,ml,xs,un,e1,t1,Jc,eu,gl,Al,Uo,tu,dd,pd,na,Vu,Q5,V5,U5,H5,G5,z5,xl,r1,Js,ru,ci,nu,Yn,za,Uu,Hu,W5,au,Ho,Wi,_a,X5,g3,K5,$5,m9,iu,yl,Xi,n1,El,aa,su,Cl,ou,lu,Go,Ki,vl,cu,Tn,g9,A9,x9,P1,q5,f2,kl,uu,eo,a1,bl,Ei,du,pu,i1,$i,wa,Xa,Il,to,ia,Sl,Ci,fu,Z0,y9,A3,Y5,Z5,J5,E9,O1,vi,Zl,e4,x3,Gu,t4,r4,n4,a4,i4,s1,o1,ys,ro,ki,l1,c1,u1,no,wl,d1,p1,zo,y0,s4,o4,l4,c4,C9,u4,v9,d4,p4,f4,h4,m4,D1,k9,b9,I9,y3,E3,Jl,S9,C3,ao,g4,w9,A4,x4,R9,k3,zu,Hn,ya,Wo,io,Xo,Rl,Es,so,Cs,ui,Tl,hn,Wu,Xu,b3,T9,y4,I3,B9,S3,E4,C4,f1,Bl,vs,Ko,oo,di,$o,Pl,Ol,Ra,lo,j0,qo,Ea,k4,P9,O9,D9,w3,ks,mu,ta,co,gu,N9,h1,L9,b4;function _interopNamespaceDefault(Be){const Le=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(Be){for(const Ye in Be)if(Ye!=="default"){const tt=Object.getOwnPropertyDescriptor(Be,Ye);Object.defineProperty(Le,Ye,tt.get?tt:{enumerable:!0,get:()=>Be[Ye]})}}return Le.default=Be,Object.freeze(Le)}function _mergeNamespaces(Be,Le){for(var Ye=0;Ye<Le.length;Ye++){const tt=Le[Ye];if(typeof tt!="string"&&!Array.isArray(tt)){for(const nt in tt)if(nt!=="default"&&!(nt in Be)){const ft=Object.getOwnPropertyDescriptor(tt,nt);ft&&Object.defineProperty(Be,nt,ft.get?ft:{enumerable:!0,get:()=>tt[nt]})}}}return Object.freeze(Object.defineProperty(Be,Symbol.toStringTag,{value:"Module"}))}const React__namespace=_interopNamespaceDefault(React),ReactDOM__namespace=_interopNamespaceDefault(ReactDOM);var commonjsGlobal=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function getDefaultExportFromCjs(Be){return Be&&Be.__esModule&&Object.prototype.hasOwnProperty.call(Be,"default")?Be.default:Be}function getAugmentedNamespace(Be){if(Be.__esModule)return Be;var Le=Be.default;if(typeof Le=="function"){var Ye=function tt(){return this instanceof tt?Reflect.construct(Le,arguments,this.constructor):Le.apply(this,arguments)};Ye.prototype=Le.prototype}else Ye={};return Object.defineProperty(Ye,"__esModule",{value:!0}),Object.keys(Be).forEach(function(tt){var nt=Object.getOwnPropertyDescriptor(Be,tt);Object.defineProperty(Ye,tt,nt.get?nt:{enumerable:!0,get:function(){return Be[tt]}})}),Ye}var dayjs_min={exports:{}};(function(Be,Le){(function(Ye,tt){Be.exports=tt()})(commonjsGlobal,function(){var Ye=1e3,tt=6e4,nt=36e5,ft="millisecond",ht="second",gt="minute",At="hour",xt="day",yt="week",Ct="month",Et="quarter",vt="year",kt="date",bt="Invalid Date",wt=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,It=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,Rt={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(Ft){var Xt=["th","st","nd","rd"],_t=Ft%100;return"["+Ft+(Xt[(_t-20)%10]||Xt[_t]||Xt[0])+"]"}},Tt=function(Ft,Xt,_t){var Mt=String(Ft);return!Mt||Mt.length>=Xt?Ft:""+Array(Xt+1-Mt.length).join(_t)+Ft},Bt={s:Tt,z:function(Ft){var Xt=-Ft.utcOffset(),_t=Math.abs(Xt),Mt=Math.floor(_t/60),jt=_t%60;return(Xt<=0?"+":"-")+Tt(Mt,2,"0")+":"+Tt(jt,2,"0")},m:function Ft(Xt,_t){if(Xt.date()<_t.date())return-Ft(_t,Xt);var Mt=12*(_t.year()-Xt.year())+(_t.month()-Xt.month()),jt=Xt.clone().add(Mt,Ct),zt=_t-jt<0,Gt=Xt.clone().add(Mt+(zt?-1:1),Ct);return+(-(Mt+(_t-jt)/(zt?jt-Gt:Gt-jt))||0)},a:function(Ft){return Ft<0?Math.ceil(Ft)||0:Math.floor(Ft)},p:function(Ft){return{M:Ct,y:vt,w:yt,d:xt,D:kt,h:At,m:gt,s:ht,ms:ft,Q:Et}[Ft]||String(Ft||"").toLowerCase().replace(/s$/,"")},u:function(Ft){return Ft===void 0}},Pt="en",Dt={};Dt[Pt]=Rt;var Ot="$isDayjsObject",Lt=function(Ft){return Ft instanceof Ht||!(!Ft||!Ft[Ot])},Wt=function Ft(Xt,_t,Mt){var jt;if(!Xt)return Pt;if(typeof Xt=="string"){var zt=Xt.toLowerCase();Dt[zt]&&(jt=zt),_t&&(Dt[zt]=_t,jt=zt);var Gt=Xt.split("-");if(!jt&&Gt.length>1)return Ft(Gt[0])}else{var Yt=Xt.name;Dt[Yt]=Xt,jt=Yt}return!Mt&&jt&&(Pt=jt),jt||!Mt&&Pt},$t=function(Ft,Xt){if(Lt(Ft))return Ft.clone();var _t=typeof Xt=="object"?Xt:{};return _t.date=Ft,_t.args=arguments,new Ht(_t)},qt=Bt;qt.l=Wt,qt.i=Lt,qt.w=function(Ft,Xt){return $t(Ft,{locale:Xt.$L,utc:Xt.$u,x:Xt.$x,$offset:Xt.$offset})};var Ht=function(){function Ft(_t){this.$L=Wt(_t.locale,null,!0),this.parse(_t),this.$x=this.$x||_t.x||{},this[Ot]=!0}var Xt=Ft.prototype;return Xt.parse=function(_t){this.$d=function(Mt){var jt=Mt.date,zt=Mt.utc;if(jt===null)return new Date(NaN);if(qt.u(jt))return new Date;if(jt instanceof Date)return new Date(jt);if(typeof jt=="string"&&!/Z$/i.test(jt)){var Gt=jt.match(wt);if(Gt){var Yt=Gt[2]-1||0,ar=(Gt[7]||"0").substring(0,3);return zt?new Date(Date.UTC(Gt[1],Yt,Gt[3]||1,Gt[4]||0,Gt[5]||0,Gt[6]||0,ar)):new Date(Gt[1],Yt,Gt[3]||1,Gt[4]||0,Gt[5]||0,Gt[6]||0,ar)}}return new Date(jt)}(_t),this.init()},Xt.init=function(){var _t=this.$d;this.$y=_t.getFullYear(),this.$M=_t.getMonth(),this.$D=_t.getDate(),this.$W=_t.getDay(),this.$H=_t.getHours(),this.$m=_t.getMinutes(),this.$s=_t.getSeconds(),this.$ms=_t.getMilliseconds()},Xt.$utils=function(){return qt},Xt.isValid=function(){return this.$d.toString()!==bt},Xt.isSame=function(_t,Mt){var jt=$t(_t);return this.startOf(Mt)<=jt&&jt<=this.endOf(Mt)},Xt.isAfter=function(_t,Mt){return $t(_t)<this.startOf(Mt)},Xt.isBefore=function(_t,Mt){return this.endOf(Mt)<$t(_t)},Xt.$g=function(_t,Mt,jt){return qt.u(_t)?this[Mt]:this.set(jt,_t)},Xt.unix=function(){return Math.floor(this.valueOf()/1e3)},Xt.valueOf=function(){return this.$d.getTime()},Xt.startOf=function(_t,Mt){var jt=this,zt=!!qt.u(Mt)||Mt,Gt=qt.p(_t),Yt=function(or,ir){var Zt=qt.w(jt.$u?Date.UTC(jt.$y,ir,or):new Date(jt.$y,ir,or),jt);return zt?Zt:Zt.endOf(xt)},ar=function(or,ir){return qt.w(jt.toDate()[or].apply(jt.toDate("s"),(zt?[0,0,0,0]:[23,59,59,999]).slice(ir)),jt)},tr=this.$W,sr=this.$M,dr=this.$D,rr="set"+(this.$u?"UTC":"");switch(Gt){case vt:return zt?Yt(1,0):Yt(31,11);case Ct:return zt?Yt(1,sr):Yt(0,sr+1);case yt:var gr=this.$locale().weekStart||0,yr=(tr<gr?tr+7:tr)-gr;return Yt(zt?dr-yr:dr+(6-yr),sr);case xt:case kt:return ar(rr+"Hours",0);case At:return ar(rr+"Minutes",1);case gt:return ar(rr+"Seconds",2);case ht:return ar(rr+"Milliseconds",3);default:return this.clone()}},Xt.endOf=function(_t){return this.startOf(_t,!1)},Xt.$set=function(_t,Mt){var jt,zt=qt.p(_t),Gt="set"+(this.$u?"UTC":""),Yt=(jt={},jt[xt]=Gt+"Date",jt[kt]=Gt+"Date",jt[Ct]=Gt+"Month",jt[vt]=Gt+"FullYear",jt[At]=Gt+"Hours",jt[gt]=Gt+"Minutes",jt[ht]=Gt+"Seconds",jt[ft]=Gt+"Milliseconds",jt)[zt],ar=zt===xt?this.$D+(Mt-this.$W):Mt;if(zt===Ct||zt===vt){var tr=this.clone().set(kt,1);tr.$d[Yt](ar),tr.init(),this.$d=tr.set(kt,Math.min(this.$D,tr.daysInMonth())).$d}else Yt&&this.$d[Yt](ar);return this.init(),this},Xt.set=function(_t,Mt){return this.clone().$set(_t,Mt)},Xt.get=function(_t){return this[qt.p(_t)]()},Xt.add=function(_t,Mt){var jt,zt=this;_t=Number(_t);var Gt=qt.p(Mt),Yt=function(sr){var dr=$t(zt);return qt.w(dr.date(dr.date()+Math.round(sr*_t)),zt)};if(Gt===Ct)return this.set(Ct,this.$M+_t);if(Gt===vt)return this.set(vt,this.$y+_t);if(Gt===xt)return Yt(1);if(Gt===yt)return Yt(7);var ar=(jt={},jt[gt]=tt,jt[At]=nt,jt[ht]=Ye,jt)[Gt]||1,tr=this.$d.getTime()+_t*ar;return qt.w(tr,this)},Xt.subtract=function(_t,Mt){return this.add(-1*_t,Mt)},Xt.format=function(_t){var Mt=this,jt=this.$locale();if(!this.isValid())return jt.invalidDate||bt;var zt=_t||"YYYY-MM-DDTHH:mm:ssZ",Gt=qt.z(this),Yt=this.$H,ar=this.$m,tr=this.$M,sr=jt.weekdays,dr=jt.months,rr=jt.meridiem,gr=function(ir,Zt,Qt,er){return ir&&(ir[Zt]||ir(Mt,zt))||Qt[Zt].slice(0,er)},yr=function(ir){return qt.s(Yt%12||12,ir,"0")},or=rr||function(ir,Zt,Qt){var er=ir<12?"AM":"PM";return Qt?er.toLowerCase():er};return zt.replace(It,function(ir,Zt){return Zt||function(Qt){switch(Qt){case"YY":return String(Mt.$y).slice(-2);case"YYYY":return qt.s(Mt.$y,4,"0");case"M":return tr+1;case"MM":return qt.s(tr+1,2,"0");case"MMM":return gr(jt.monthsShort,tr,dr,3);case"MMMM":return gr(dr,tr);case"D":return Mt.$D;case"DD":return qt.s(Mt.$D,2,"0");case"d":return String(Mt.$W);case"dd":return gr(jt.weekdaysMin,Mt.$W,sr,2);case"ddd":return gr(jt.weekdaysShort,Mt.$W,sr,3);case"dddd":return sr[Mt.$W];case"H":return String(Yt);case"HH":return qt.s(Yt,2,"0");case"h":return yr(1);case"hh":return yr(2);case"a":return or(Yt,ar,!0);case"A":return or(Yt,ar,!1);case"m":return String(ar);case"mm":return qt.s(ar,2,"0");case"s":return String(Mt.$s);case"ss":return qt.s(Mt.$s,2,"0");case"SSS":return qt.s(Mt.$ms,3,"0");case"Z":return Gt}return null}(ir)||Gt.replace(":","")})},Xt.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},Xt.diff=function(_t,Mt,jt){var zt,Gt=this,Yt=qt.p(Mt),ar=$t(_t),tr=(ar.utcOffset()-this.utcOffset())*tt,sr=this-ar,dr=function(){return qt.m(Gt,ar)};switch(Yt){case vt:zt=dr()/12;break;case Ct:zt=dr();break;case Et:zt=dr()/3;break;case yt:zt=(sr-tr)/6048e5;break;case xt:zt=(sr-tr)/864e5;break;case At:zt=sr/nt;break;case gt:zt=sr/tt;break;case ht:zt=sr/Ye;break;default:zt=sr}return jt?zt:qt.a(zt)},Xt.daysInMonth=function(){return this.endOf(Ct).$D},Xt.$locale=function(){return Dt[this.$L]},Xt.locale=function(_t,Mt){if(!_t)return this.$L;var jt=this.clone(),zt=Wt(_t,Mt,!0);return zt&&(jt.$L=zt),jt},Xt.clone=function(){return qt.w(this.$d,this)},Xt.toDate=function(){return new Date(this.valueOf())},Xt.toJSON=function(){return this.isValid()?this.toISOString():null},Xt.toISOString=function(){return this.$d.toISOString()},Xt.toString=function(){return this.$d.toUTCString()},Ft}(),Ut=Ht.prototype;return $t.prototype=Ut,[["$ms",ft],["$s",ht],["$m",gt],["$H",At],["$W",xt],["$M",Ct],["$y",vt],["$D",kt]].forEach(function(Ft){Ut[Ft[1]]=function(Xt){return this.$g(Xt,Ft[0],Ft[1])}}),$t.extend=function(Ft,Xt){return Ft.$i||(Ft(Xt,Ht,$t),Ft.$i=!0),$t},$t.locale=Wt,$t.isDayjs=Lt,$t.unix=function(Ft){return $t(1e3*Ft)},$t.en=Dt[Pt],$t.Ls=Dt,$t.p={},$t})})(dayjs_min);var dayjs_minExports=dayjs_min.exports;const dayjs=getDefaultExportFromCjs(dayjs_minExports);var utc$1={exports:{}};(function(Be,Le){(function(Ye,tt){Be.exports=tt()})(commonjsGlobal,function(){var Ye="minute",tt=/[+-]\d\d(?::?\d\d)?/g,nt=/([+-]|\d\d)/g;return function(ft,ht,gt){var At=ht.prototype;gt.utc=function(bt){var wt={date:bt,utc:!0,args:arguments};return new ht(wt)},At.utc=function(bt){var wt=gt(this.toDate(),{locale:this.$L,utc:!0});return bt?wt.add(this.utcOffset(),Ye):wt},At.local=function(){return gt(this.toDate(),{locale:this.$L,utc:!1})};var xt=At.parse;At.parse=function(bt){bt.utc&&(this.$u=!0),this.$utils().u(bt.$offset)||(this.$offset=bt.$offset),xt.call(this,bt)};var yt=At.init;At.init=function(){if(this.$u){var bt=this.$d;this.$y=bt.getUTCFullYear(),this.$M=bt.getUTCMonth(),this.$D=bt.getUTCDate(),this.$W=bt.getUTCDay(),this.$H=bt.getUTCHours(),this.$m=bt.getUTCMinutes(),this.$s=bt.getUTCSeconds(),this.$ms=bt.getUTCMilliseconds()}else yt.call(this)};var Ct=At.utcOffset;At.utcOffset=function(bt,wt){var It=this.$utils().u;if(It(bt))return this.$u?0:It(this.$offset)?Ct.call(this):this.$offset;if(typeof bt=="string"&&(bt=function(Pt){Pt===void 0&&(Pt="");var Dt=Pt.match(tt);if(!Dt)return null;var Ot=(""+Dt[0]).match(nt)||["-",0,0],Lt=Ot[0],Wt=60*+Ot[1]+ +Ot[2];return Wt===0?0:Lt==="+"?Wt:-Wt}(bt),bt===null))return this;var Rt=Math.abs(bt)<=16?60*bt:bt;if(Rt===0)return this.utc(wt);var Tt=this.clone();if(wt)return Tt.$offset=Rt,Tt.$u=!1,Tt;var Bt=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();return(Tt=this.local().add(Rt+Bt,Ye)).$offset=Rt,Tt.$x.$localOffset=Bt,Tt};var Et=At.format;At.format=function(bt){var wt=bt||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return Et.call(this,wt)},At.valueOf=function(){var bt=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*bt},At.isUTC=function(){return!!this.$u},At.toISOString=function(){return this.toDate().toISOString()},At.toString=function(){return this.toDate().toUTCString()};var vt=At.toDate;At.toDate=function(bt){return bt==="s"&&this.$offset?gt(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():vt.call(this)};var kt=At.diff;At.diff=function(bt,wt,It){if(bt&&this.$u===bt.$u)return kt.call(this,bt,wt,It);var Rt=this.local(),Tt=gt(bt).local();return kt.call(Rt,Tt,wt,It)}}})})(utc$1);var utcExports=utc$1.exports;const utc=getDefaultExportFromCjs(utcExports);var uaParser={exports:{}};(function(Be,Le){(function(Ye,tt){var nt="1.0.41",ft="",ht="?",gt="function",At="undefined",xt="object",yt="string",Ct="major",Et="model",vt="name",kt="type",bt="vendor",wt="version",It="architecture",Rt="console",Tt="mobile",Bt="tablet",Pt="smarttv",Dt="wearable",Ot="embedded",Lt=500,Wt="Amazon",$t="Apple",qt="ASUS",Ht="BlackBerry",Ut="Browser",Ft="Chrome",Xt="Edge",_t="Firefox",Mt="Google",jt="Honor",zt="Huawei",Gt="Lenovo",Yt="LG",ar="Microsoft",tr="Motorola",sr="Nvidia",dr="OnePlus",rr="Opera",gr="OPPO",yr="Samsung",or="Sharp",ir="Sony",Zt="Xiaomi",Qt="Zebra",er="Facebook",nr="Chromium OS",lr="Mac OS",hr=" Browser",ur=function(e0,Rr){var wr={};for(var Tr in e0)Rr[Tr]&&Rr[Tr].length%2===0?wr[Tr]=Rr[Tr].concat(e0[Tr]):wr[Tr]=e0[Tr];return wr},xr=function(e0){for(var Rr={},wr=0;wr<e0.length;wr++)Rr[e0[wr].toUpperCase()]=e0[wr];return Rr},pr=function(e0,Rr){return typeof e0===yt?Mr(Rr).indexOf(Mr(e0))!==-1:!1},Mr=function(e0){return e0.toLowerCase()},_r=function(e0){return typeof e0===yt?e0.replace(/[^\d\.]/g,ft).split(".")[0]:tt},Zr=function(e0,Rr){if(typeof e0===yt)return e0=e0.replace(/^\s\s*/,ft),typeof Rr===At?e0:e0.substring(0,Lt)},qr=function(e0,Rr){for(var wr=0,Tr,n0,Wr,Jr,t0,h0;wr<Rr.length&&!t0;){var zr=Rr[wr],m0=Rr[wr+1];for(Tr=n0=0;Tr<zr.length&&!t0&&zr[Tr];)if(t0=zr[Tr++].exec(e0),t0)for(Wr=0;Wr<m0.length;Wr++)h0=t0[++n0],Jr=m0[Wr],typeof Jr===xt&&Jr.length>0?Jr.length===2?typeof Jr[1]==gt?this[Jr[0]]=Jr[1].call(this,h0):this[Jr[0]]=Jr[1]:Jr.length===3?typeof Jr[1]===gt&&!(Jr[1].exec&&Jr[1].test)?this[Jr[0]]=h0?Jr[1].call(this,h0,Jr[2]):tt:this[Jr[0]]=h0?h0.replace(Jr[1],Jr[2]):tt:Jr.length===4&&(this[Jr[0]]=h0?Jr[3].call(this,h0.replace(Jr[1],Jr[2])):tt):this[Jr]=h0||tt;wr+=2}},$r=function(e0,Rr){for(var wr in Rr)if(typeof Rr[wr]===xt&&Rr[wr].length>0){for(var Tr=0;Tr<Rr[wr].length;Tr++)if(pr(Rr[wr][Tr],e0))return wr===ht?tt:wr}else if(pr(Rr[wr],e0))return wr===ht?tt:wr;return Rr.hasOwnProperty("*")?Rr["*"]:e0},Pr={"1.0":"/8","1.2":"/1","1.3":"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"},Ir={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2","8.1":"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},Nr={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[wt,[vt,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[wt,[vt,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[vt,wt],[/opios[\/ ]+([\w\.]+)/i],[wt,[vt,rr+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[wt,[vt,rr+" GX"]],[/\bopr\/([\w\.]+)/i],[wt,[vt,rr]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[wt,[vt,"Baidu"]],[/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i],[wt,[vt,"Maxthon"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim(?:browser|boat|jet))[\/ ]?([\d\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio|(?=comodo_)?dragon)\/([-\w\.]+)/i,/(heytap|ovi|115)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[vt,wt],[/quark(?:pc)?\/([-\w\.]+)/i],[wt,[vt,"Quark"]],[/\bddg\/([\w\.]+)/i],[wt,[vt,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[wt,[vt,"UC"+Ut]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[wt,[vt,"WeChat"]],[/konqueror\/([\w\.]+)/i],[wt,[vt,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[wt,[vt,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[wt,[vt,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[wt,[vt,"Smart Lenovo "+Ut]],[/(avast|avg)\/([\w\.]+)/i],[[vt,/(.+)/,"$1 Secure "+Ut],wt],[/\bfocus\/([\w\.]+)/i],[wt,[vt,_t+" Focus"]],[/\bopt\/([\w\.]+)/i],[wt,[vt,rr+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[wt,[vt,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[wt,[vt,"Dolphin"]],[/coast\/([\w\.]+)/i],[wt,[vt,rr+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[wt,[vt,"MIUI"+hr]],[/fxios\/([\w\.-]+)/i],[wt,[vt,_t]],[/\bqihoobrowser\/?([\w\.]*)/i],[wt,[vt,"360"]],[/\b(qq)\/([\w\.]+)/i],[[vt,/(.+)/,"$1Browser"],wt],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[vt,/(.+)/,"$1"+hr],wt],[/samsungbrowser\/([\w\.]+)/i],[wt,[vt,yr+" Internet"]],[/metasr[\/ ]?([\d\.]+)/i],[wt,[vt,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[vt,"Sogou Mobile"],wt],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i],[vt,wt],[/(lbbrowser|rekonq)/i,/\[(linkedin)app\]/i],[vt],[/ome\/([\w\.]+) \w* ?(iron) saf/i,/ome\/([\w\.]+).+qihu (360)[es]e/i],[wt,vt],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[vt,er],wt],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/(daum)apps[\/ ]([\w\.]+)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[vt,wt],[/\bgsa\/([\w\.]+) .*safari\//i],[wt,[vt,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[wt,[vt,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[wt,[vt,Ft+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[vt,Ft+" WebView"],wt],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[wt,[vt,"Android "+Ut]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[vt,wt],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[wt,[vt,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[wt,vt],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[vt,[wt,$r,Pr]],[/(webkit|khtml)\/([\w\.]+)/i],[vt,wt],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[vt,"Netscape"],wt],[/(wolvic|librewolf)\/([\w\.]+)/i],[vt,wt],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[wt,[vt,_t+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(amaya|dillo|doris|icab|ladybird|lynx|mosaic|netsurf|obigo|polaris|w3m|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/\b(links) \(([\w\.]+)/i],[vt,[wt,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[vt,[wt,/master.|lts./,""]]],cpu:[[/\b((amd|x|x86[-_]?|wow|win)64)\b/i],[[It,"amd64"]],[/(ia32(?=;))/i,/\b((i[346]|x)86)(pc)?\b/i],[[It,"ia32"]],[/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i],[[It,"arm64"]],[/\b(arm(v[67])?ht?n?[fl]p?)\b/i],[[It,"armhf"]],[/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i],[[It,"arm"]],[/((ppc|powerpc)(64)?)( mac|;|\))/i],[[It,/ower/,ft,Mr]],[/ sun4\w[;\)]/i],[[It,"sparc"]],[/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i],[[It,Mr]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[Et,[bt,yr],[kt,Bt]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr])[-\w]+)/i,/sec-(sgh\w+)/i],[Et,[bt,yr],[kt,Tt]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[Et,[bt,$t],[kt,Tt]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[Et,[bt,$t],[kt,Bt]],[/(macintosh);/i],[Et,[bt,$t]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[Et,[bt,or],[kt,Tt]],[/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i],[Et,[bt,jt],[kt,Bt]],[/honor([-\w ]+)[;\)]/i],[Et,[bt,jt],[kt,Tt]],[/\b((?:ag[rs][2356]?k?|bah[234]?|bg[2o]|bt[kv]|cmr|cpn|db[ry]2?|jdn2|got|kob2?k?|mon|pce|scm|sht?|[tw]gr|vrd)-[ad]?[lw][0125][09]b?|605hw|bg2-u03|(?:gem|fdr|m2|ple|t1)-[7a]0[1-4][lu]|t1-a2[13][lw]|mediapad[\w\. ]*(?= bui|\)))\b(?!.+d\/s)/i],[Et,[bt,zt],[kt,Bt]],[/(?:huawei)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[Et,[bt,zt],[kt,Tt]],[/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i,/\b((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i],[[Et,/_/g," "],[bt,Zt],[kt,Bt]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i,/ ([\w ]+) miui\/v?\d/i],[[Et,/_/g," "],[bt,Zt],[kt,Tt]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[Et,[bt,gr],[kt,Tt]],[/\b(opd2(\d{3}a?))(?: bui|\))/i],[Et,[bt,$r,{OnePlus:["304","403","203"],"*":gr}],[kt,Bt]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[Et,[bt,"Vivo"],[kt,Tt]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[Et,[bt,"Realme"],[kt,Tt]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto(?! 360)[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[Et,[bt,tr],[kt,Tt]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[Et,[bt,tr],[kt,Bt]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[Et,[bt,Yt],[kt,Bt]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv|watch)\w+)/i,/\blg-?([\d\w]+) bui/i],[Et,[bt,Yt],[kt,Tt]],[/(ideatab[-\w ]+|602lv|d-42a|a101lv|a2109a|a3500-hv|s[56]000|pb-6505[my]|tb-?x?\d{3,4}(?:f[cu]|xu|[av])|yt\d?-[jx]?\d+[lfmx])( bui|;|\)|\/)/i,/lenovo ?(b[68]0[08]0-?[hf]?|tab(?:[\w- ]+?)|tb[\w-]{6,7})( bui|;|\)|\/)/i],[Et,[bt,Gt],[kt,Bt]],[/(nokia) (t[12][01])/i],[bt,Et,[kt,Bt]],[/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i,/nokia[-_ ]?(([-\w\. ]*))/i],[[Et,/_/g," "],[kt,Tt],[bt,"Nokia"]],[/(pixel (c|tablet))\b/i],[Et,[bt,Mt],[kt,Bt]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[Et,[bt,Mt],[kt,Tt]],[/droid.+; (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[Et,[bt,ir],[kt,Tt]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[Et,"Xperia Tablet"],[bt,ir],[kt,Bt]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[Et,[bt,dr],[kt,Tt]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[Et,[bt,Wt],[kt,Bt]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[Et,/(.+)/g,"Fire Phone $1"],[bt,Wt],[kt,Tt]],[/(playbook);[-\w\),; ]+(rim)/i],[Et,bt,[kt,Bt]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[Et,[bt,Ht],[kt,Tt]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[Et,[bt,qt],[kt,Bt]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[Et,[bt,qt],[kt,Tt]],[/(nexus 9)/i],[Et,[bt,"HTC"],[kt,Bt]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[bt,[Et,/_/g," "],[kt,Tt]],[/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])\w*(\)| bui)/i],[Et,[bt,"TCL"],[kt,Bt]],[/(itel) ((\w+))/i],[[bt,Mr],Et,[kt,$r,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[Et,[bt,"Acer"],[kt,Bt]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[Et,[bt,"Meizu"],[kt,Tt]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[Et,[bt,"Ulefone"],[kt,Tt]],[/; (energy ?\w+)(?: bui|\))/i,/; energizer ([\w ]+)(?: bui|\))/i],[Et,[bt,"Energizer"],[kt,Tt]],[/; cat (b35);/i,/; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i],[Et,[bt,"Cat"],[kt,Tt]],[/((?:new )?andromax[\w- ]+)(?: bui|\))/i],[Et,[bt,"Smartfren"],[kt,Tt]],[/droid.+; (a(?:015|06[35]|142p?))/i],[Et,[bt,"Nothing"],[kt,Tt]],[/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i,/archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i],[Et,[bt,"Archos"],[kt,Bt]],[/archos ([\w ]+)( b|\))/i,/; (ac[3-6]\d\w{2,8})( b|\))/i],[Et,[bt,"Archos"],[kt,Tt]],[/(imo) (tab \w+)/i,/(infinix) (x1101b?)/i],[bt,Et,[kt,Bt]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus(?! zenw)|dell|jolla|meizu|motorola|polytron|infinix|tecno|micromax|advan)[-_ ]?([-\w]*)/i,/; (hmd|imo) ([\w ]+?)(?: bui|\))/i,/(hp) ([\w ]+\w)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w ]+?)(?: bui|\)|\/)/i,/(oppo) ?([\w ]+) bui/i],[bt,Et,[kt,Tt]],[/(kobo)\s(ereader|touch)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[bt,Et,[kt,Bt]],[/(surface duo)/i],[Et,[bt,ar],[kt,Bt]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[Et,[bt,"Fairphone"],[kt,Tt]],[/(u304aa)/i],[Et,[bt,"AT&T"],[kt,Tt]],[/\bsie-(\w*)/i],[Et,[bt,"Siemens"],[kt,Tt]],[/\b(rct\w+) b/i],[Et,[bt,"RCA"],[kt,Bt]],[/\b(venue[\d ]{2,7}) b/i],[Et,[bt,"Dell"],[kt,Bt]],[/\b(q(?:mv|ta)\w+) b/i],[Et,[bt,"Verizon"],[kt,Bt]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[Et,[bt,"Barnes & Noble"],[kt,Bt]],[/\b(tm\d{3}\w+) b/i],[Et,[bt,"NuVision"],[kt,Bt]],[/\b(k88) b/i],[Et,[bt,"ZTE"],[kt,Bt]],[/\b(nx\d{3}j) b/i],[Et,[bt,"ZTE"],[kt,Tt]],[/\b(gen\d{3}) b.+49h/i],[Et,[bt,"Swiss"],[kt,Tt]],[/\b(zur\d{3}) b/i],[Et,[bt,"Swiss"],[kt,Bt]],[/\b((zeki)?tb.*\b) b/i],[Et,[bt,"Zeki"],[kt,Bt]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[bt,"Dragon Touch"],Et,[kt,Bt]],[/\b(ns-?\w{0,9}) b/i],[Et,[bt,"Insignia"],[kt,Bt]],[/\b((nxa|next)-?\w{0,9}) b/i],[Et,[bt,"NextBook"],[kt,Bt]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[bt,"Voice"],Et,[kt,Tt]],[/\b(lvtel\-)?(v1[12]) b/i],[[bt,"LvTel"],Et,[kt,Tt]],[/\b(ph-1) /i],[Et,[bt,"Essential"],[kt,Tt]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[Et,[bt,"Envizen"],[kt,Bt]],[/\b(trio[-\w\. ]+) b/i],[Et,[bt,"MachSpeed"],[kt,Bt]],[/\btu_(1491) b/i],[Et,[bt,"Rotor"],[kt,Bt]],[/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i],[Et,[bt,sr],[kt,Bt]],[/(sprint) (\w+)/i],[bt,Et,[kt,Tt]],[/(kin\.[onetw]{3})/i],[[Et,/\./g," "],[bt,ar],[kt,Tt]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[Et,[bt,Qt],[kt,Bt]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[Et,[bt,Qt],[kt,Tt]],[/smart-tv.+(samsung)/i],[bt,[kt,Pt]],[/hbbtv.+maple;(\d+)/i],[[Et,/^/,"SmartTV"],[bt,yr],[kt,Pt]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[bt,Yt],[kt,Pt]],[/(apple) ?tv/i],[bt,[Et,$t+" TV"],[kt,Pt]],[/crkey/i],[[Et,Ft+"cast"],[bt,Mt],[kt,Pt]],[/droid.+aft(\w+)( bui|\))/i],[Et,[bt,Wt],[kt,Pt]],[/(shield \w+ tv)/i],[Et,[bt,sr],[kt,Pt]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[Et,[bt,or],[kt,Pt]],[/(bravia[\w ]+)( bui|\))/i],[Et,[bt,ir],[kt,Pt]],[/(mi(tv|box)-?\w+) bui/i],[Et,[bt,Zt],[kt,Pt]],[/Hbbtv.*(technisat) (.*);/i],[bt,Et,[kt,Pt]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[bt,Zr],[Et,Zr],[kt,Pt]],[/droid.+; ([\w- ]+) (?:android tv|smart[- ]?tv)/i],[Et,[kt,Pt]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[kt,Pt]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[bt,Et,[kt,Rt]],[/droid.+; (shield)( bui|\))/i],[Et,[bt,sr],[kt,Rt]],[/(playstation \w+)/i],[Et,[bt,ir],[kt,Rt]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[Et,[bt,ar],[kt,Rt]],[/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i],[Et,[bt,yr],[kt,Dt]],[/((pebble))app/i,/(asus|google|lg|oppo) ((pixel |zen)?watch[\w ]*)( bui|\))/i],[bt,Et,[kt,Dt]],[/(ow(?:19|20)?we?[1-3]{1,3})/i],[Et,[bt,gr],[kt,Dt]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[Et,[bt,$t],[kt,Dt]],[/(opwwe\d{3})/i],[Et,[bt,dr],[kt,Dt]],[/(moto 360)/i],[Et,[bt,tr],[kt,Dt]],[/(smartwatch 3)/i],[Et,[bt,ir],[kt,Dt]],[/(g watch r)/i],[Et,[bt,Yt],[kt,Dt]],[/droid.+; (wt63?0{2,3})\)/i],[Et,[bt,Qt],[kt,Dt]],[/droid.+; (glass) \d/i],[Et,[bt,Mt],[kt,Dt]],[/(pico) (4|neo3(?: link|pro)?)/i],[bt,Et,[kt,Dt]],[/; (quest( \d| pro)?)/i],[Et,[bt,er],[kt,Dt]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[bt,[kt,Ot]],[/(aeobc)\b/i],[Et,[bt,Wt],[kt,Ot]],[/(homepod).+mac os/i],[Et,[bt,$t],[kt,Ot]],[/windows iot/i],[[kt,Ot]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[Et,[kt,Tt]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[Et,[kt,Bt]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[kt,Bt]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[kt,Tt]],[/droid .+?; ([\w\. -]+)( bui|\))/i],[Et,[bt,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[wt,[vt,Xt+"HTML"]],[/(arkweb)\/([\w\.]+)/i],[vt,wt],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[wt,[vt,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna|servo)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[vt,wt],[/ladybird\//i],[[vt,"LibWeb"]],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[wt,vt]],os:[[/microsoft (windows) (vista|xp)/i],[vt,wt],[/(windows (?:phone(?: os)?|mobile|iot))[\/ ]?([\d\.\w ]*)/i],[vt,[wt,$r,Ir]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[wt,$r,Ir],[vt,"Windows"]],[/[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[wt,/_/g,"."],[vt,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[vt,lr],[wt,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[wt,vt],[/(ubuntu) ([\w\.]+) like android/i],[[vt,/(.+)/,"$1 Touch"],wt],[/(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen|webos)\w*[-\/; ]?([\d\.]*)/i],[vt,wt],[/\(bb(10);/i],[wt,[vt,Ht]],[/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i],[wt,[vt,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[wt,[vt,_t+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[wt,[vt,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[wt,[vt,"watchOS"]],[/crkey\/([\d\.]+)/i],[wt,[vt,Ft+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[vt,nr],wt],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux)(?: arm\w*| x86\w*| ?)([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[vt,wt],[/(sunos) ?([\w\.\d]*)/i],[[vt,"Solaris"],wt],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[vt,wt]]},Or=function(e0,Rr){if(typeof e0===xt&&(Rr=e0,e0=tt),!(this instanceof Or))return new Or(e0,Rr).getResult();var wr=typeof Ye!==At&&Ye.navigator?Ye.navigator:tt,Tr=e0||(wr&&wr.userAgent?wr.userAgent:ft),n0=wr&&wr.userAgentData?wr.userAgentData:tt,Wr=Rr?ur(Nr,Rr):Nr,Jr=wr&&wr.userAgent==Tr;return this.getBrowser=function(){var t0={};return t0[vt]=tt,t0[wt]=tt,qr.call(t0,Tr,Wr.browser),t0[Ct]=_r(t0[wt]),Jr&&wr&&wr.brave&&typeof wr.brave.isBrave==gt&&(t0[vt]="Brave"),t0},this.getCPU=function(){var t0={};return t0[It]=tt,qr.call(t0,Tr,Wr.cpu),t0},this.getDevice=function(){var t0={};return t0[bt]=tt,t0[Et]=tt,t0[kt]=tt,qr.call(t0,Tr,Wr.device),Jr&&!t0[kt]&&n0&&n0.mobile&&(t0[kt]=Tt),Jr&&t0[Et]=="Macintosh"&&wr&&typeof wr.standalone!==At&&wr.maxTouchPoints&&wr.maxTouchPoints>2&&(t0[Et]="iPad",t0[kt]=Bt),t0},this.getEngine=function(){var t0={};return t0[vt]=tt,t0[wt]=tt,qr.call(t0,Tr,Wr.engine),t0},this.getOS=function(){var t0={};return t0[vt]=tt,t0[wt]=tt,qr.call(t0,Tr,Wr.os),Jr&&!t0[vt]&&n0&&n0.platform&&n0.platform!="Unknown"&&(t0[vt]=n0.platform.replace(/chrome os/i,nr).replace(/macos/i,lr)),t0},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return Tr},this.setUA=function(t0){return Tr=typeof t0===yt&&t0.length>Lt?Zr(t0,Lt):t0,this},this.setUA(Tr),this};Or.VERSION=nt,Or.BROWSER=xr([vt,wt,Ct]),Or.CPU=xr([It]),Or.DEVICE=xr([Et,bt,kt,Rt,Tt,Pt,Bt,Dt,Ot]),Or.ENGINE=Or.OS=xr([vt,wt]),Be.exports&&(Le=Be.exports=Or),Le.UAParser=Or;var Vr=typeof Ye!==At&&(Ye.jQuery||Ye.Zepto);if(Vr&&!Vr.ua){var Yr=new Or;Vr.ua=Yr.getResult(),Vr.ua.get=function(){return Yr.getUA()},Vr.ua.set=function(e0){Yr.setUA(e0);var Rr=Yr.getResult();for(var wr in Rr)Vr.ua[wr]=Rr[wr]}}})(typeof window=="object"?window:commonjsGlobal)})(uaParser,uaParser.exports);var uaParserExports=uaParser.exports;const UAParser=getDefaultExportFromCjs(uaParserExports);let uxType=null;const setUxType=Be=>{if(Be==="desktop"||Be==="mobile"||Be===null)uxType=Be;else throw new Error("Invalid value for uxType. Accepted values are 'desktop', 'mobile', or null.")},isIOS16=()=>{const Le=new UAParser().getResult();return Le.os.name==="iOS"&&Le.os.version.startsWith("16.")},getUxType=()=>uxType,parser$1=new UAParser,uaResult=parser$1.getResult(),isTouchDevice=()=>navigator.maxTouchPoints>0||"ontouchstart"in document.documentElement,isTabletWithoutAndroid=()=>!uaResult.device.type&&uaResult.os.name==="Linux"&&uaResult.browser.name==="Chrome"&&isTouchDevice(),mobile={isWebview:()=>["Chrome WebView","WebKit"].includes(uaResult.browser.name),Android:()=>uaResult.os.name==="Android",iOS:()=>{var Be,Le;return["iOS","iPadOS"].includes(uaResult.os.name||"")||uaResult.os.name!=="Mac OS"&&((Le=(Be=uaResult.device)==null?void 0:Be.vendor)==null?void 0:Le.toLowerCase())==="apple"},isIpad:()=>uaResult.device.model==="iPad",isFBInAppBrowser:()=>/\[FB/.test(uaResult.ua),isInstagramAppBrowser:()=>/Instagram/.test(uaResult.ua),any:()=>uxType?uxType==="mobile":!!(uaResult.device.type==="mobile"||uaResult.device.type==="tablet"||isTabletWithoutAndroid()),isChrome:()=>{const{browser:Be}=uaResult;return["Chrome"].includes(Be.name||"")},isDesktop:()=>uxType?uxType==="desktop":!mobile.any(),isAppleDevice:()=>["iOS","Mac OS","iPadOS"].includes(uaResult.os.name||""),isBrowserSupported:()=>{if(mobile.isWebview())return!0;const{browser:Be,os:Le}=uaResult;return Be.name==="Firefox"||Be.name==="Brave"||Be.name==="MiuiBrowser"?!1:Le.name==="iOS"||Le.name==="iPadOS"?["Mobile Safari","Chrome"].includes(Be.name||""):Le.name==="Mac OS"?["Safari","Chrome"].includes(Be.name||""):Be.name==="Chrome"}},browserName=uaResult.browser.name,desktop={isEdge:()=>browserName==="Edge",isChrome:()=>["Chrome","Chrome WebView","Chrome Headless"].includes(browserName),isFirefox:()=>["Firefox","Firefox Focus","Firefox Reality"].includes(browserName),isOpera:()=>["Opera","Opera Mini","Opera Touch"].includes(browserName),isSafari:()=>["Safari","Mobile Safari"].includes(browserName),isBrave:()=>browserName==="Brave",isXiaomiBrowser:()=>browserName==="MiuiBrowser"},getHasLiedBrowser=()=>{const Be=navigator.userAgent.toLowerCase(),Le=navigator.productSub;let Ye;if(Be.indexOf("edge/")>=0||Be.indexOf("iemobile/")>=0)return!1;if(Be.indexOf("opera mini")>=0)return!1;if(Be.indexOf("firefox/")>=0?Ye="Firefox":Be.indexOf("opera/")>=0||Be.indexOf(" opr/")>=0?Ye="Opera":Be.indexOf("chrome/")>=0?Ye="Chrome":Be.indexOf("safari/")>=0?Be.indexOf("android 1.")>=0||Be.indexOf("android 2.")>=0||Be.indexOf("android 3.")>=0||Be.indexOf("android 4.")>=0?Ye="AOSP":Ye="Safari":Be.indexOf("trident/")>=0?Ye="Internet Explorer":Ye="Other",(Ye==="Chrome"||Ye==="Safari"||Ye==="Opera")&&Le!=="20030107")return!0;const tt=eval.toString().length;if(tt===37&&Ye!=="Safari"&&Ye!=="Firefox"&&Ye!=="Other")return!0;if(tt===39&&Ye!=="Internet Explorer"&&Ye!=="Other")return!0;if(tt===33&&Ye!=="Chrome"&&Ye!=="AOSP"&&Ye!=="Opera"&&Ye!=="Other")return!0;let nt;try{throw"a"}catch(ft){try{ft.toSource(),nt=!0}catch{nt=!1}}return nt&&Ye!=="Firefox"&&Ye!=="Other"},getUAParserResults=()=>uaResult,isBrowserSimulation=()=>getUAParserResults().browser.name?isTouchDevice()&&navigator.maxTouchPoints!==1?!1:isTouchDevice()&&(getHasLiedBrowser()||window.navigator.userAgent.indexOf("Mobile")!==-1)||mobile.iOS()&&typeof window.ontouchstart>"u":!0,isMobile$1=mobile.any()&&!isBrowserSimulation(),isWebRtcSupported=()=>!!(window.navigator.mediaDevices&&window.navigator.mediaDevices.getUserMedia),isSurfaceTablet=()=>{const Be=navigator.userAgent.indexOf("Windows")>-1,Le=navigator.maxTouchPoints,Ye="ontouchstart"in window||Le>0||(matchMedia==null?void 0:matchMedia("(any-pointer: coarse)").matches);return Be&&Ye},deviceClass={MOBILE:"MOBILE",DESKTOP:"DESKTOP"},getDeviceClass=()=>isMobile$1?deviceClass.MOBILE:deviceClass.DESKTOP;function detectMobileOS(){return mobile.iOS()?"ios":mobile.Android()?"android":"other"}dayjs.extend(utc);function isChrome(){const Be=window.hasOwnProperty("chrome"),Le=window.navigator,Ye=Le.vendor,tt=!!(window.hasOwnProperty("opera")||window.hasOwnProperty("opr")||navigator.userAgent.includes("Opera")||navigator.userAgent.includes("OPR")),nt=Le.userAgent.indexOf("Edge")>-1;return Le.userAgent.match("CriOS")?!0:Be!==null&&typeof Be<"u"&&Ye==="Google Inc."&&tt===!1&&nt===!1}function isSafari(){return window.navigator.vendor&&window.navigator.vendor.indexOf("Apple")>-1&&window.navigator.userAgent&&window.navigator.userAgent.indexOf("CriOS")===-1&&window.navigator.userAgent.indexOf("FxiOS")===-1&&window.navigator.userAgent.indexOf("OPT")===-1&&window.navigator.userAgent.indexOf("OPR")===-1}const sleep=Be=>new Promise(Le=>setTimeout(Le,Be)),throttle$2=(Be,Le)=>{let Ye;return(...tt)=>{Ye||(Be.apply(void 0,tt),Ye=!0,setTimeout(()=>Ye=!1,Le))}},getLogObject=(Be,Le)=>({type:Be,payload:Le}),toImage$1=Be=>Be?`data:image/png;base64,${Be}`:"",getValidUrl=(Be="")=>{let Le=window.decodeURIComponent(Be);return Le=Le.trim().replace(/\s/g,""),/^(:\/\/)/.test(Le)?`http${Le}`:/^(f|ht)tps?:\/\//i.test(Le)?Le:`http://${Le}`},resizeImg=(Be,Le)=>{const Ye=document.createElement("canvas");Ye.width=Be.width<=Le?Be.width:Le,Ye.height=Be.width<=Le?Be.height:Be.height/(Be.width/Le);const tt=Ye.getContext("2d");return tt==null||tt.drawImage(Be,0,0,Ye.width,Ye.height),Ye.toDataURL()},rotateImg=Be=>{const Le=document.createElement("canvas");Le.width=Be.width,Le.height=Be.height;const Ye=Le.getContext("2d");Ye==null||Ye.drawImage(Be,0,0);const tt=Le.width;return Le.width=Le.height,Le.height=tt,Ye==null||Ye.clearRect(0,0,Le.width,Le.height),Ye==null||Ye.save(),Ye==null||Ye.translate(Le.width/2,Le.height/2),Ye==null||Ye.rotate(-90*Math.PI/180),Ye==null||Ye.drawImage(Be,-Be.width/2,-Be.height/2),Ye==null||Ye.restore(),Le},rotateCanvasVertically=Be=>{const Le=Be.getContext("2d");Le.scale(1,-1),Le.translate(0,-Be.height)},getBase64=Be=>new Promise((Le,Ye)=>{const tt=new FileReader;tt.onload=nt=>{var ht;const ft=(ht=nt==null?void 0:nt.target)==null?void 0:ht.result;Le(ft)},tt.readAsDataURL(Be),tt.onerror=nt=>Ye(nt)}),getScaledBase64=(Be,Le=1280,Ye=!1)=>new Promise((tt,nt)=>{const ft=new Image;ft.onload=()=>{const ht=Ye&&ft.width>ft.height?rotateImg(ft):ft,gt=resizeImg(ht,Le);URL.revokeObjectURL(ft.src),tt(gt)},ft.onerror=ht=>nt(ht),ft.src=URL.createObjectURL(Be)}),getScaledImageFromFile=async(Be,Le=1280,Ye=!1)=>({imageBase64:Be.type==="application/pdf"?await getBase64(Be):await getScaledBase64(Be,Le,Ye),fullImage:Be});function emptyFunc(...Be){}const reload=()=>{window.location.reload()},states$2=[{min:35e3,max:36999,code:"AL",long:"Alabama"},{min:99500,max:99999,code:"AK",long:"Alaska"},{min:85e3,max:86999,code:"AZ",long:"Arizona"},{min:71600,max:72999,code:"AR",long:"Arkansas"},{min:9e4,max:96699,code:"CA",long:"California"},{min:8e4,max:81999,code:"CO",long:"Colorado"},{min:6e3,max:6999,code:"CT",long:"Connecticut"},{min:19700,max:19999,code:"DE",long:"Delaware"},{min:32e3,max:34999,code:"FL",long:"Florida"},{min:3e4,max:31999,code:"GA",long:"Georgia"},{min:96700,max:96999,code:"HI",long:"Hawaii"},{min:83200,max:83999,code:"ID",long:"Idaho"},{min:6e4,max:62999,code:"IL",long:"Illinois"},{min:46e3,max:47999,code:"IN",long:"Indiana"},{min:5e4,max:52999,code:"IA",long:"Iowa"},{min:66e3,max:67999,code:"KS",long:"Kansas"},{min:4e4,max:42999,code:"KY",long:"Kentucky"},{min:7e4,max:71599,code:"LA",long:"Louisiana"},{min:3900,max:4999,code:"ME",long:"Maine"},{min:20600,max:21999,code:"MD",long:"Maryland"},{min:1e3,max:2799,code:"MA",long:"Massachusetts"},{min:48e3,max:49999,code:"MI",long:"Michigan"},{min:55e3,max:56999,code:"MN",long:"Minnesota"},{min:38600,max:39999,code:"MS",long:"Mississippi"},{min:63e3,max:65999,code:"MO",long:"Missouri"},{min:59e3,max:59999,code:"MT",long:"Montana"},{min:27e3,max:28999,code:"NC",long:"North Carolina"},{min:58e3,max:58999,code:"ND",long:"North Dakota"},{min:68e3,max:69999,code:"NE",long:"Nebraska"},{min:88900,max:89999,code:"NV",long:"Nevada"},{min:3e3,max:3899,code:"NH",long:"New Hampshire"},{min:7e3,max:8999,code:"NJ",long:"New Jersey"},{min:87e3,max:88499,code:"NM",long:"New Mexico"},{min:1e4,max:14999,code:"NY",long:"New York"},{min:43e3,max:45999,code:"OH",long:"Ohio"},{min:73e3,max:74999,code:"OK",long:"Oklahoma"},{min:97e3,max:97999,code:"OR",long:"Oregon"},{min:15e3,max:19699,code:"PA",long:"Pennsylvania"},{min:300,max:999,code:"PR",long:"Puerto Rico"},{min:2800,max:2999,code:"RI",long:"Rhode Island"},{min:29e3,max:29999,code:"SC",long:"South Carolina"},{min:57e3,max:57999,code:"SD",long:"South Dakota"},{min:37e3,max:38599,code:"TN",long:"Tennessee"},{min:75e3,max:79999,code:"TX",long:"Texas"},{min:88500,max:88599,code:"TX",long:"Texas"},{min:84e3,max:84999,code:"UT",long:"Utah"},{min:5e3,max:5999,code:"VT",long:"Vermont"},{min:22e3,max:24699,code:"VA",long:"Virgina"},{min:2e4,max:20599,code:"DC",long:"Washington DC"},{min:98e3,max:99499,code:"WA",long:"Washington"},{min:24700,max:26999,code:"WV",long:"West Virginia"},{min:53e3,max:54999,code:"WI",long:"Wisconsin"},{min:82e3,max:83199,code:"WY",long:"Wyoming"}],getUSState=Be=>{const Le=Number.parseInt(Be,10),Ye=states$2.filter(tt=>tt.min<=Le&&tt.max>=Le);return Ye.length===0||Ye.length>1?"":Ye[0].code},INCODE_DOMAINS={SAAS:"saas-api.incodesmile.com",STAGE:"incode-stageus-api.stage.incodetest.com",DEMO:"demo-api.incodesmile.com",STAGEK8S:"user-service-k8s.stage.incodetest.com",DEMOK8S:"user-service-k8s.demok8s.incodesmile.com"},allowedDomains=Object.values(INCODE_DOMAINS),isValidUrl=Be=>{try{return new URL(Be),!0}catch{return!1}},allowedDomain=Be=>{const Le=new URL(Be).hostname;return{isAllowed:allowedDomains.includes(Le),domain:Le}},isSaasEnv=Be=>{if(!isValidUrl(Be))return!1;const{isAllowed:Le,domain:Ye}=allowedDomain(Be);return isValidUrl(Be)&&Le&&Ye===INCODE_DOMAINS.SAAS},isStageEnv=Be=>{if(!isValidUrl(Be))return!1;const{isAllowed:Le,domain:Ye}=allowedDomain(Be);return isValidUrl(Be)&&Le&&Ye===INCODE_DOMAINS.STAGE},isDemoEnv=Be=>{if(!isValidUrl(Be))return!1;const{isAllowed:Le,domain:Ye}=allowedDomain(Be);return isValidUrl(Be)&&Le&&Ye===INCODE_DOMAINS.DEMO},isStageK8sEnv=Be=>{if(!isValidUrl(Be))return!1;const{isAllowed:Le,domain:Ye}=allowedDomain(Be);return isValidUrl(Be)&&Le&&Ye===INCODE_DOMAINS.STAGEK8S},formatDate=(Be,Le=!1)=>{if(!Be)return"";const Ye=Number(Be);return dayjs(Ye).isValid()?Le?dayjs.utc(Ye).format("YYYY-MM-DD"):dayjs.utc(Ye).format("MMM D YYYY"):""},camelToStartCase=Be=>{const Le=Be.replace(/([A-Z])/g," $1");return Le.charAt(0).toUpperCase()+Le.slice(1)},formatInputDate=Be=>{let Le=new Date(Be),Ye=""+(Le.getMonth()+1),tt=""+Le.getDate(),nt=Le.getFullYear();return Ye.length<2&&(Ye="0"+Ye),tt.length<2&&(tt="0"+tt),[nt,Ye,tt].join("-")},getKioskMaskPosition=()=>{var yt;const Be=(yt=document.querySelector("video"))==null?void 0:yt.getBoundingClientRect(),Le=Be.width,Ye=Be.height,tt=5.4/8.6,nt=.96,ht=+Le*.6,gt=+Ye*nt,At=gt*tt,xt=At>ht?ht:At;return{width:xt,height:gt,left:(+Le-xt)/2,top:(Ye-gt)/2}},getMaskPosition=(Be=!1)=>{const Le=window.innerWidth,Ye=window.innerHeight,tt=8.6/5.4,nt=localStorage.getItem("isIPhone14OrHigher")==="true"?Be?.8:.6:.86,ht=Ye*.9,gt=Le*nt,At=gt*tt,xt=At>ht?ht:At;return{width:gt,height:xt,left:(Le-gt)/2,top:(Ye-xt)/2}},capitalize$2=Be=>Be.charAt(0).toUpperCase()+Be.slice(1),getLanguageCodeWithCountry=Be=>Be!=null&&Be.startsWith("en")?"en-US":Be!=null&&Be.startsWith("es")?"es-ES":"en-US",b64toBlob=(Be,Le="",Ye=512)=>{const tt=atob(Be),nt=[];for(let ht=0;ht<tt.length;ht+=Ye){const gt=tt.slice(ht,ht+Ye),At=new Array(gt.length);for(let yt=0;yt<gt.length;yt++)At[yt]=gt.charCodeAt(yt);const xt=new Uint8Array(At);nt.push(xt)}return new Blob(nt,{type:Le})},isValidHttpUrl=Be=>{let Le;try{Le=new URL(Be)}catch{return!1}return Le.protocol==="http:"||Le.protocol==="https:"},triggerRedirect=Be=>{const Le=getValidUrl(Be);isValidHttpUrl(Le)?window.location.replace(Le):window.location.replace(Be)},getScreenRecordingEventCode=Be=>({frontId:"frontIdScanScreenRecordVideoUploaded",backId:"backIdScanScreenRecordVideoUploaded",selfie:"selfieScanScreenRecordVideoUploaded"})[Be]||"",detectBrowser=()=>isSafari()?"Safari":isChrome()?"Chrome":isOpera()?"Opera":isFirefox$1()?"Firefox":desktop.isBrave()?"Brave":desktop.isXiaomiBrowser()?"Xiaomi":"unknown",isOpera=()=>!!(window.hasOwnProperty("opera")||window.hasOwnProperty("opr")||navigator.userAgent.includes("Opera")||navigator.userAgent.includes("OPR")||navigator.userAgent.includes("OPT")),isFirefox$1=()=>navigator.userAgent.indexOf("Firefox")>-1||navigator.userAgent.indexOf("FxiOS")>-1;async function pollUntil(Be,Le,Ye){const tt=async()=>{try{const nt=await Be();return Le(nt)?nt:(await sleep(Ye),tt())}catch(nt){throw nt}};return tt()}const validateCPF=Be=>{if(!Be||(Be=Be.replace(/[^\d]+/g,""),Be.length!==11||Be.match(/(\d)\1{10}/)))return!1;let Le=0,Ye;for(let tt=1;tt<=9;tt++)Le=Le+Number.parseInt(Be.substring(tt-1,tt))*(11-tt);if(Ye=Le*10%11,(Ye===10||Ye===11)&&(Ye=0),Ye!==Number.parseInt(Be.substring(9,10)))return!1;Le=0;for(let tt=1;tt<=10;tt++)Le=Le+Number.parseInt(Be.substring(tt-1,tt))*(12-tt);return Ye=Le*10%11,(Ye===10||Ye===11)&&(Ye=0),Ye===Number.parseInt(Be.substring(10,11))},getVideoSelfieModules=(Be,{checkIdScan:Le,checkDocumentScan:Ye,checkVoiceConsent:tt,questionsCount:nt,showPassport:ft})=>[...Le??Be.checkIdScan?["front"]:[],...!Be.onlyFront&&!ft&&(Le??Be.checkIdScan)?["back"]:[],...Ye??Be.checkDocumentScan?["poa"]:[],"selfie",...(nt??Be.questionsCount)>0&&(tt??Be.checkVoiceConsent)?["questions"]:[],...tt??Be.checkVoiceConsent?["speech"]:[]],countryCodeToInfo={ABW:{name:"Aruba",flag:"🇦🇼"},AFG:{name:"Afghanistan",flag:"🇦🇫"},AGO:{name:"Angola",flag:"🇦🇴"},AIA:{name:"Anguilla",flag:"🇦🇮"},ALA:{name:"Åland Islands",flag:"🇦🇽"},ALB:{name:"Albania",flag:"🇦🇱"},AND:{name:"Andorra",flag:"🇦🇩"},ARE:{name:"United Arab Emirates",flag:"🇦🇪"},ARG:{name:"Argentina",flag:"🇦🇷"},ARM:{name:"Armenia",flag:"🇦🇲"},ASM:{name:"American Samoa",flag:"🇦🇸"},ATA:{name:"Antarctica",flag:"🇦🇶"},ATF:{name:"French Southern Territories",flag:"🇹🇫"},ATG:{name:"Antigua and Barbuda",flag:"🇦🇬"},AUS:{name:"Australia",flag:"🇦🇺"},AUT:{name:"Austria",flag:"🇦🇹"},AZE:{name:"Azerbaijan",flag:"🇦🇿"},BDI:{name:"Burundi",flag:"🇧🇮"},BEL:{name:"Belgium",flag:"🇧🇪"},BEN:{name:"Benin",flag:"🇧🇯"},BES:{name:"Bonaire, Sint Eustatius and Saba",flag:"🇧🇶"},BFA:{name:"Burkina Faso",flag:"🇧🇫"},BGD:{name:"Bangladesh",flag:"🇧🇩"},BGR:{name:"Bulgaria",flag:"🇧🇬"},BHR:{name:"Bahrain",flag:"🇧🇭"},BHS:{name:"Bahamas",flag:"🇧🇸"},BIH:{name:"Bosnia and Herzegovina",flag:"🇧🇦"},BLM:{name:"Saint Barthélemy",flag:"🇧🇱"},BLR:{name:"Belarus",flag:"🇧🇾"},BLZ:{name:"Belize",flag:"🇧🇿"},BMU:{name:"Bermuda",flag:"🇧🇲"},BOL:{name:"Bolivia, Plurinational State of",flag:"🇧🇴"},BRA:{name:"Brasil",flag:"🇧🇷"},BRB:{name:"Barbados",flag:"🇧🇧"},BRN:{name:"Brunei Darussalam",flag:"🇧🇳"},BTN:{name:"Bhutan",flag:"🇧🇹"},BVT:{name:"Bouvet Island",flag:"🇧🇻"},BWA:{name:"Botswana",flag:"🇧🇼"},CAF:{name:"Central African Republic",flag:"🇨🇫"},CAN:{name:"Canada",flag:"🇨🇦"},CCK:{name:"Cocos (Keeling) Islands",flag:"🇨🇨"},CHE:{name:"Switzerland",flag:"🇨🇭"},CHL:{name:"Chile",flag:"🇨🇱"},CHN:{name:"China",flag:"🇨🇳"},CIV:{name:"Côte d'Ivoire",flag:"🇨🇮"},CMR:{name:"Cameroon",flag:"🇨🇲"},COD:{name:"Congo, Democratic Republic of the",flag:"🇨🇩"},COG:{name:"Congo",flag:"🇨🇬"},COK:{name:"Cook Islands",flag:"🇨🇰"},COL:{name:"Colombia",flag:"🇨🇴"},COM:{name:"Comoros",flag:"🇰🇲"},CPV:{name:"Cabo Verde",flag:"🇨🇻"},CRI:{name:"Costa Rica",flag:"🇨🇷"},CUB:{name:"Cuba",flag:"🇨🇺"},CUW:{name:"Curaçao",flag:"🇨🇼"},CXR:{name:"Christmas Island",flag:"🇨🇽"},CYM:{name:"Cayman Islands",flag:"🇰🇾"},CYP:{name:"Cyprus",flag:"🇨🇾"},CZE:{name:"Czechia",flag:"🇨🇿"},DEU:{name:"Germany",flag:"🇩🇪"},DJI:{name:"Djibouti",flag:"🇩🇯"},DMA:{name:"Dominica",flag:"🇩🇲"},DNK:{name:"Denmark",flag:"🇩🇰"},DOM:{name:"Dominican Republic",flag:"🇩🇴"},DZA:{name:"Algeria",flag:"🇩🇿"},ECU:{name:"Ecuador",flag:"🇪🇨"},EGY:{name:"Egypt",flag:"🇪🇬"},ERI:{name:"Eritrea",flag:"🇪🇷"},ESH:{name:"Western Sahara",flag:"🇪🇭"},ESP:{name:"Spain",flag:"🇪🇸"},EST:{name:"Estonia",flag:"🇪🇪"},ETH:{name:"Ethiopia",flag:"🇪🇹"},FIN:{name:"Finland",flag:"🇫🇮"},FJI:{name:"Fiji",flag:"🇫🇯"},FLK:{name:"Falkland Islands (Malvinas)",flag:"🇫🇰"},FRA:{name:"France",flag:"🇫🇷"},FRO:{name:"Faroe Islands",flag:"🇫🇴"},FSM:{name:"Micronesia, Federated States of",flag:"🇫🇲"},GAB:{name:"Gabon",flag:"🇬🇦"},GBR:{name:"United Kingdom",flag:"🇬🇧"},GEO:{name:"Georgia",flag:"🇬🇪"},GGY:{name:"Guernsey",flag:"🇬🇬"},GHA:{name:"Ghana",flag:"🇬🇭"},GIB:{name:"Gibraltar",flag:"🇬🇮"},GIN:{name:"Guinea",flag:"🇬🇳"},GLP:{name:"Guadeloupe",flag:"🇬🇵"},GMB:{name:"Gambia",flag:"🇬🇲"},GNB:{name:"Guinea-Bissau",flag:"🇬🇼"},GNQ:{name:"Equatorial Guinea",flag:"🇬🇶"},GRC:{name:"Greece",flag:"🇬🇷"},GRD:{name:"Grenada",flag:"🇬🇩"},GRL:{name:"Greenland",flag:"🇬🇱"},GTM:{name:"Guatemala",flag:"🇬🇹"},GUF:{name:"French Guiana",flag:"🇬🇫"},GUM:{name:"Guam",flag:"🇬🇺"},GUY:{name:"Guyana",flag:"🇬🇾"},HKG:{name:"Hong Kong",flag:"🇭🇰"},HMD:{name:"Heard Island and McDonald Islands",flag:"🇭🇲"},HND:{name:"Honduras",flag:"🇭🇳"},HRV:{name:"Croatia",flag:"🇭🇷"},HTI:{name:"Haiti",flag:"🇭🇹"},HUN:{name:"Hungary",flag:"🇭🇺"},IDN:{name:"Indonesia",flag:"🇮🇩"},IMN:{name:"Isle of Man",flag:"🇮🇲"},IND:{name:"India",flag:"🇮🇳"},IOT:{name:"British Indian Ocean Territory",flag:"🇮🇴"},IRL:{name:"Ireland",flag:"🇮🇪"},IRN:{name:"Iran",flag:"🇮🇷"},IRQ:{name:"Iraq",flag:"🇮🇶"},ISL:{name:"Iceland",flag:"🇮🇸"},ISR:{name:"Israel",flag:"🇮🇱"},ITA:{name:"Italy",flag:"🇮🇹"},JAM:{name:"Jamaica",flag:"🇯🇲"},JEY:{name:"Jersey",flag:"🇯🇪"},JOR:{name:"Jordan",flag:"🇯🇴"},JPN:{name:"Japan",flag:"🇯🇵"},KAZ:{name:"Kazakhstan",flag:"🇰🇿"},KEN:{name:"Kenya",flag:"🇰🇪"},KGZ:{name:"Kyrgyzstan",flag:"🇰🇬"},KHM:{name:"Cambodia",flag:"🇰🇭"},KIR:{name:"Kiribati",flag:"🇰🇮"},KNA:{name:"Saint Kitts and Nevis",flag:"🇰🇳"},KOR:{name:"Korea, Republic of",flag:"🇰🇷"},KWT:{name:"Kuwait",flag:"🇰🇼"},LAO:{name:"Lao People's Democratic Republic",flag:"🇱🇦"},LBN:{name:"Lebanon",flag:"🇱🇧"},LBR:{name:"Liberia",flag:"🇱🇷"},LBY:{name:"Libya",flag:"🇱🇾"},LCA:{name:"Saint Lucia",flag:"🇱🇨"},LIE:{name:"Liechtenstein",flag:"🇱🇮"},LKA:{name:"Sri Lanka",flag:"🇱🇰"},LSO:{name:"Lesotho",flag:"🇱🇸"},LTU:{name:"Lithuania",flag:"🇱🇹"},LUX:{name:"Luxembourg",flag:"🇱🇺"},LVA:{name:"Latvia",flag:"🇱🇻"},MAC:{name:"Macao",flag:"🇲🇴"},MAF:{name:"Saint Martin (French part)",flag:"🇲🇫"},MAR:{name:"Morocco",flag:"🇲🇦"},MCO:{name:"Monaco",flag:"🇲🇨"},MDA:{name:"Moldova",flag:"🇲🇩"},MDG:{name:"Madagascar",flag:"🇲🇬"},MDV:{name:"Maldives",flag:"🇲🇻"},MEX:{name:"Mexico",flag:"🇲🇽"},MHL:{name:"Marshall Islands",flag:"🇲🇭"},MKD:{name:"North Macedonia",flag:"🇲🇰"},MLI:{name:"Mali",flag:"🇲🇱"},MLT:{name:"Malta",flag:"🇲🇹"},MMR:{name:"Myanmar",flag:"🇲🇲"},MNE:{name:"Montenegro",flag:"🇲🇪"},MNG:{name:"Mongolia",flag:"🇲🇳"},MNP:{name:"Northern Mariana Islands",flag:"🇲🇵"},MOZ:{name:"Mozambique",flag:"🇲🇿"},MRT:{name:"Mauritania",flag:"🇲🇷"},MSR:{name:"Montserrat",flag:"🇲🇸"},MTQ:{name:"Martinique",flag:"🇲🇶"},MUS:{name:"Mauritius",flag:"🇲🇺"},MWI:{name:"Malawi",flag:"🇲🇼"},MYS:{name:"Malaysia",flag:"🇲🇾"},MYT:{name:"Mayotte",flag:"🇾🇹"},NAM:{name:"Namibia",flag:"🇳🇦"},NCL:{name:"New Caledonia",flag:"🇳🇨"},NER:{name:"Niger",flag:"🇳🇪"},NFK:{name:"Norfolk Island",flag:"🇳🇫"},NGA:{name:"Nigeria",flag:"🇳🇬"},NIC:{name:"Nicaragua",flag:"🇳🇮"},NIU:{name:"Niue",flag:"🇳🇺"},NLD:{name:"Netherlands",flag:"🇳🇱"},NOR:{name:"Norway",flag:"🇳🇴"},NPL:{name:"Nepal",flag:"🇳🇵"},NRU:{name:"Nauru",flag:"🇳🇷"},NZL:{name:"New Zealand",flag:"🇳🇿"},OMN:{name:"Oman",flag:"🇴🇲"},PAK:{name:"Pakistan",flag:"🇵🇰"},PAN:{name:"Panama",flag:"🇵🇦"},PCN:{name:"Pitcairn",flag:"🇵🇳"},PER:{name:"Peru",flag:"🇵🇪"},PHL:{name:"Philippines",flag:"🇵🇭"},PLW:{name:"Palau",flag:"🇵🇼"},PNG:{name:"Papua New Guinea",flag:"🇵🇬"},POL:{name:"Poland",flag:"🇵🇱"},PRI:{name:"Puerto Rico",flag:"🇵🇷"},PRK:{name:"Korea (Democratic People's Republic of)",flag:"🇰🇵"},PRT:{name:"Portugal",flag:"🇵🇹"},PRY:{name:"Paraguay",flag:"🇵🇾"},PSE:{name:"Palestine, State of",flag:"🇵🇸"},PYF:{name:"French Polynesia",flag:"🇵🇫"},QAT:{name:"Qatar",flag:"🇶🇦"},REU:{name:"Réunion",flag:"🇷🇪"},ROU:{name:"Romania",flag:"🇷🇴"},RUS:{name:"Russian Federation",flag:"🇷🇺"},RWA:{name:"Rwanda",flag:"🇷🇼"},SAU:{name:"Saudi Arabia",flag:"🇸🇦"},SDN:{name:"Sudan",flag:"🇸🇩"},SEN:{name:"Senegal",flag:"🇸🇳"},SGP:{name:"Singapore",flag:"🇸🇬"},SGS:{name:"South Georgia and the South Sandwich Islands",flag:"🇬🇸"},SHN:{name:"Saint Helena, Ascension and Tristan da Cunha",flag:"🇸🇭"},SJM:{name:"Svalbard and Jan Mayen",flag:"🇸🇯"},SLB:{name:"Solomon Islands",flag:"🇸🇧"},SLE:{name:"Sierra Leone",flag:"🇸🇱"},SLV:{name:"El Salvador",flag:"🇸🇻"},SMR:{name:"San Marino",flag:"🇸🇲"},SOM:{name:"Somalia",flag:"🇸🇴"},SPM:{name:"Saint Pierre and Miquelon",flag:"🇵🇲"},SRB:{name:"Serbia",flag:"🇷🇸"},SSD:{name:"South Sudan",flag:"🇸🇸"},STP:{name:"Sao Tome and Principe",flag:"🇸🇹"},SUR:{name:"Suriname",flag:"🇸🇷"},SVK:{name:"Slovakia",flag:"🇸🇰"},SVN:{name:"Slovenia",flag:"🇸🇮"},SWE:{name:"Sweden",flag:"🇸🇪"},SWZ:{name:"Eswatini",flag:"🇸🇿"},SXM:{name:"Sint Maarten (Dutch part)",flag:"🇸🇽"},SYC:{name:"Seychelles",flag:"🇸🇨"},SYR:{name:"Syrian Arab Republic",flag:"🇸🇾"},TCA:{name:"Turks and Caicos Islands",flag:"🇹🇨"},TCD:{name:"Chad",flag:"🇹🇩"},TGO:{name:"Togo",flag:"🇹🇬"},THA:{name:"Thailand",flag:"🇹🇭"},TJK:{name:"Tajikistan",flag:"🇹🇯"},TKL:{name:"Tokelau",flag:"🇹🇰"},TKM:{name:"Turkmenistan",flag:"🇹🇲"},TLS:{name:"Timor-Leste",flag:"🇹🇱"},TON:{name:"Tonga",flag:"🇹🇴"},TTO:{name:"Trinidad and Tobago",flag:"🇹🇹"},TUN:{name:"Tunisia",flag:"🇹🇳"},TUR:{name:"Türkiye",flag:"🇹🇷"},TUV:{name:"Tuvalu",flag:"🇹🇻"},TWN:{name:"Taiwan",flag:"🇹🇼"},TZA:{name:"Tanzania",flag:"🇹🇿"},UGA:{name:"Uganda",flag:"🇺🇬"},UKR:{name:"Ukraine",flag:"🇺🇦"},UMI:{name:"United States Minor Outlying Islands",flag:"🇺🇲"},URY:{name:"Uruguay",flag:"🇺🇾"},USA:{name:"United States of America",flag:"🇺🇸"},UZB:{name:"Uzbekistan",flag:"🇺🇿"},VAT:{name:"Holy See",flag:"🇻🇦"},VCT:{name:"Saint Vincent and the Grenadines",flag:"🇻🇨"},VEN:{name:"Venezuela",flag:"🇻🇪"},VGB:{name:"Virgin Islands (British)",flag:"🇻🇬"},VIR:{name:"Virgin Islands (U.S.)",flag:"🇻🇮"},VNM:{name:"Vietnam",flag:"🇻🇳"},VUT:{name:"Vanuatu",flag:"🇻🇺"},WLF:{name:"Wallis and Futuna",flag:"🇼🇫"},WSM:{name:"Samoa",flag:"🇼🇸"},YEM:{name:"Yemen",flag:"🇾🇪"},ZAF:{name:"South Africa",flag:"🇿🇦"},ZMB:{name:"Zambia",flag:"🇿🇲"},ZWE:{name:"Zimbabwe",flag:"🇿🇼"}},getFormattedCountryName=Be=>{const Le=countryCodeToInfo[Be];return Le?`${Le.flag} ${Le.name}`:void 0},blobToBase64=Be=>new Promise((Le,Ye)=>{const tt=new FileReader;tt.onloadend=()=>{const nt=tt.result;Le(nt.split(",")[1])},tt.onerror=Ye,tt.readAsDataURL(Be)}),useEventListener=(Be,Le,Ye=window)=>{const tt=React.useRef(()=>{});React.useEffect(()=>{tt.current=Le},[Le]),React.useEffect(()=>{if(!(Ye&&Ye.addEventListener))return;const ft=ht=>{var gt;return(gt=tt==null?void 0:tt.current)==null?void 0:gt.call(tt,ht)};return Ye.addEventListener(Be,ft),()=>{Ye.removeEventListener(Be,ft)}},[Be,Ye])},globalState={},createGlobalState=(Be,Le,Ye)=>(globalState[Be]||(globalState[Be]={callbacks:[],value:Ye}),globalState[Be].callbacks.push(Le),{deregister(){const tt=globalState[Be].callbacks,nt=tt.indexOf(Le);nt>-1&&tt.splice(nt,1)},emit(tt){globalState[Be].value!==tt&&(globalState[Be].value=tt,globalState[Be].callbacks.forEach(nt=>{Le!==nt&&nt(tt)}))}}),usePersistedState=(Be,Le,{get:Ye,set:tt})=>{const nt=React.useRef(null),[ft,ht]=React.useState(()=>Ye(Le,Be));return useEventListener("storage",({key:gt,newValue:At})=>{if(gt===Le){const xt=JSON.parse(At);ft!==xt&&ht(xt)}}),React.useEffect(()=>(nt.current=createGlobalState(Le,ht,Be),()=>{var gt,At;(At=(gt=nt==null?void 0:nt.current)==null?void 0:gt.deregister)==null||At.call(gt)}),[]),React.useEffect(()=>{var gt,At;tt(Le,ft),(At=(gt=nt==null?void 0:nt.current)==null?void 0:gt.emit)==null||At.call(gt,ft)},[Le,tt,ft]),[ft,ht]},createStorage=Be=>({get(Le,Ye){const tt=Be.getItem(Le);return tt===null?typeof Ye=="function"?Ye():Ye:JSON.parse(tt)},set(Le,Ye){Be.setItem(Le,JSON.stringify(Ye))}}),createPersistedState=(Be,Le)=>{if(!Le&&typeof window<"u")try{Le=localStorage}catch{Le=null}if(Le){const Ye=createStorage(Le);return tt=>usePersistedState(tt,Be,Ye)}return React.useState},useSessionState=createPersistedState("sessionData");function usePermissions(){const[Be,Le]=React.useState(!1),[Ye,tt]=React.useState(!1);return React.useEffect(()=>{var nt;if(!navigator.permissions){tt(!0);return}(nt=navigator.permissions)==null||nt.query({name:"camera"}).then(ft=>{ft.state==="granted"&&(Le(!0),tt(!1)),ft.state==="prompt"&&tt(!0)}).catch(()=>{Le(!1),tt(!1)})},[]),[Be,Le,Ye]}function useInterval(Be,Le){const Ye=React.useRef(Be),tt=React.useRef(null);return Ye.current=Be,React.useEffect(()=>{function nt(){Ye.current()}if(Le!==null)return tt.current=setInterval(nt,Le),()=>clearInterval(tt.current)},[Le]),tt.current}const resize=async()=>{await sleep(100);const Be=window.innerWidth*.01,Le=window.innerHeight*.01;document.documentElement.style.setProperty("--vw",`${Be}px`),document.documentElement.style.setProperty("--vh",`${Le}px`)},useResize=Be=>{const{isRotated:Le}=useOrientation();useEventListener("resize",()=>{resize()},window),React.useLayoutEffect(()=>{mobile.any()&&Le&&!Be||resize()},[Le,Be])},isPortrait=()=>{var Be;return((Be=screen.orientation)==null?void 0:Be.type.includes("portrait"))||Math.abs(window.orientation)===0};function useOrientation(){const Be=getUxType(),Le=Be==="mobile"?!1:!isPortrait(),[Ye,tt]=React.useState(Le),nt=mobile.isDesktop();return React.useEffect(()=>{if(Be==="mobile")return;function ft(){tt(!isPortrait()),document.activeElement instanceof HTMLElement&&document.activeElement.blur(),window.focus()}return screen.orientation?screen.orientation.addEventListener("change",ft):window.addEventListener("orientationchange",ft),()=>{screen.orientation?screen.orientation.removeEventListener("change",ft):window.removeEventListener("orientationchange",ft)}},[Be]),useEventListener("resize",()=>{isMobile$1&&tt(!isPortrait())},window),{isRotated:nt?!1:Ye}}const handleUnmountRoot=(Be,Le,Ye)=>(...tt)=>{setTimeout(()=>{if("createRoot"in ReactDOM__namespace)Le.unmount();else if(typeof ReactDOM__namespace.unmountComponentAtNode=="function")ReactDOM__namespace.unmountComponentAtNode(Ye);else throw new Error("Unsupported React version");Be(...tt)},0)},createRoot$1=Be=>{if("createRoot"in ReactDOM__namespace)return ReactDOM__namespace.createRoot(Be);if(typeof ReactDOM__namespace.render=="function")return ReactDOM__namespace.render;throw new Error("Unsupported React version")},customRender=(Be,Le,Ye)=>{if("createRoot"in ReactDOM__namespace)Ye.render(Be);else if(typeof Ye=="function")Ye(Be,Le);else throw new Error("Unsupported React version")};function useQuery(){return React.useMemo(()=>new URLSearchParams(window.location.search),[])}function useSteps(Be=0){const[Le,Ye]=React.useState(Be),tt=React.useCallback(()=>{Ye(nt=>nt+1)},[]);return{currentStep:Le,setStep:Ye,nextStep:tt}}function useOffline(Be=emptyFunc){useEventListener("offline",()=>{navigator.onLine||Be()})}function useToggle(Be=!1){const[Le,Ye]=React.useState(Be);return{state:Le,actions:{on:()=>{Ye(!0)},off:()=>{Ye(!1)},toggle:()=>{Ye(nt=>!nt)},reset:()=>{Ye(Be)}}}}function useClickOutside(Be,Le){const Ye=React.useRef();React.useEffect(()=>{Ye.current=Le;const tt=nt=>{var ft;!(Be!=null&&Be.current)||(ft=Be==null?void 0:Be.current)!=null&&ft.contains(nt.target)||Le()};return document.addEventListener("mousedown",tt,!0),document.addEventListener("touchstart",tt,!0),()=>{document.removeEventListener("mousedown",tt),document.removeEventListener("touchstart",tt)}},[Le,Be])}function useScript(Be,Le){React.useEffect(()=>{const Ye=document.createElement("script");return Ye.src=Be,Ye.type="text/javascript",Ye.async=!0,Ye.onload=Le,document.body.appendChild(Ye),()=>{document.body.removeChild(Ye)}},[Be])}const useUpdateQueryParamsAndReload=()=>{const Be=window.location;return Ye=>{const tt=new URLSearchParams(Be.search);Object.keys(Ye).forEach(ft=>{const ht=Ye[ft];ht==null?tt.delete(ft):tt.set(ft,ht)});const nt=`${Be.pathname}?${tt.toString()}`;window.location.href=nt}},useDocumentTitle=Be=>{React.useEffect(()=>{document.title=Be},[Be])},useAutoFocus=(Be,Le=!1)=>{React.useEffect(()=>(Be.current&&(Be.current.focus(),Be.current.blur()),()=>{Le&&Be.current&&Be.current.blur()}),[Be,Le])};function useDeviceId(){const[Be,Le]=React.useState();return[Be,tt=>{Le(tt)}]}function useDebouncedValue(Be,Le=250){const[Ye,tt]=React.useState(Be);return React.useEffect(()=>{const nt=setTimeout(()=>{tt(Be)},Le);return()=>{clearTimeout(nt)}},[Be,Le]),Ye}function useViewportSize(){const[Be,Le]=React.useState({width:window.innerWidth,height:window.innerHeight});return React.useEffect(()=>{let Ye=null,tt=null;const nt=()=>{tt&&window.clearTimeout(tt),tt=window.setTimeout(()=>{Le({width:document.documentElement.clientWidth,height:document.documentElement.clientHeight})},100)};return"ResizeObserver"in window?(Ye=new ResizeObserver(nt),Ye.observe(document.documentElement)):window.addEventListener("resize",nt),nt(),()=>{Ye?Ye.disconnect():window.removeEventListener("resize",nt),tt&&window.clearTimeout(tt)}},[]),Be}const backCameraKeywords=["rear","back","rück","arrière","trasera","trás","traseira","posteriore","后面","後面","背面","后置","後置","背置","задней","الخلفية","후","arka","achterzijde","หลัง","baksidan","bagside","sau","bak","tylny","takakamera","belakang","אחורית","πίσω","spate","hátsó","zadní","darrere","zadná","задня","stražnja","belakang","बैक"],cameraObjects=new Map;let getCamerasPromise;function isBackCameraLabel(Be){const Le=Be.toLowerCase();return backCameraKeywords.some(Ye=>Le.includes(Ye))}function createCamera(Be,Le,Ye){var yt,Ct;if(cameraObjects.has(Be.deviceId))return cameraObjects.get(Be.deviceId);const tt=Be.label,nt=Be.getCapabilities(),ft=(yt=nt==null?void 0:nt.width)==null?void 0:yt.max,ht=(Ct=nt==null?void 0:nt.height)==null?void 0:Ct.max,gt=nt==null?void 0:nt.aspectRatio;let At;Ye.every(Et=>Et.label==="")?At=Ye.length===1||Le+1<=Ye.length/2?"front":"back":At=isBackCameraLabel(tt)?"back":"front";const xt={deviceId:Be.deviceId,label:tt,cameraType:At,width:ft,height:ht,aspectRatio:gt};return cameraObjects.set(Be.deviceId,xt),xt}function extractCamerasFromDevices(Be){const Le=Be.filter(Ye=>Ye.kind==="videoinput").map(createCamera);if(Le.length>1&&!Le.some(Ye=>Ye.cameraType==="back")){let Ye=Le.length-1;const tt=Le.map(nt=>{const ft=nt.label.match(/\b([0-9]+)MP?\b/i);return ft!=null?parseInt(ft[1],10):NaN});tt.some(nt=>isNaN(nt))||(Ye=tt.lastIndexOf(Math.max(...tt))),Le[Ye].cameraType="back"}return Le}function adjustCamerasFromCameraStream(Be,Le){const Ye=Be.getSettings(),tt=Le.find(nt=>nt.deviceId===Ye.deviceId||nt.label!==""&&nt.label===Be.label);if(tt!==void 0){if((Ye!=null&&Ye.facingMode==="environment"||isBackCameraLabel(Be.label))&&Le.length>1)return Le.forEach(ft=>{ft.deviceId===tt.deviceId?ft.cameraType="back":isBackCameraLabel(ft.label)||(ft.cameraType="front")}),Le.filter(ft=>ft.cameraType==="back").sort((ft,ht)=>ft.label.localeCompare(ht.label))[0];if(Le.length===1)return tt}}function getCameras(){return getCamerasPromise!=null||(getCamerasPromise=new Promise(async Be=>{const Le=await navigator.mediaDevices.enumerateDevices(),Ye=extractCamerasFromDevices(Le);return Be(Ye)})),getCamerasPromise}function getUserMediaVideoParams(Be){const Le={resizeMode:"none",facingMode:"environment"};switch(Be){case 0:return{...Le,height:{ideal:720},aspectRatio:{ideal:19.5/9}};case 1:return{...Le,width:{min:3200,ideal:3840,max:4096},height:{min:1800,ideal:2160,max:2400}};case 2:return{...Le,width:{min:1400,ideal:1920,max:2160},height:{min:900,ideal:1080,max:1440}};case 3:return{...Le,width:{min:640,ideal:640,max:800},height:{min:480,ideal:480,max:600}};case 4:return{...Le,width:{min:640,ideal:800,max:960},height:{min:480,ideal:480,max:480}};default:return{}}}const selfieConstraints={video:{facingMode:"user",height:{ideal:480},width:{ideal:640}}},killStream=(Be,Le=!1)=>{if(Le){Be.getVideoTracks().forEach(Ye=>Ye.stop());return}Be.getTracks().forEach(Ye=>Ye.stop())},selfieChecks=({confidence:Be,isBright:Le,hasLenses:Ye,hasFaceMask:tt,hasClosedEyes:nt,hasHeadCover:ft},{hatCheckEnabled:ht=!1,lensesCheckEnabled:gt=!1,maskCheckEnabled:At=!1,eyesClosedCheckEnabled:xt=!1})=>{const yt=Be===0,Ct=Le,Et=gt?!Ye:!0,vt=At?!tt:!0,kt=xt?!nt:!0,bt=ht?!ft:!0;return{livenessPassed:yt,brightnessPassed:Ct,lensesPassed:Et,maskPassed:vt,closedEyesPassed:kt,headCoverPassed:bt,hasErrors:!yt||!Ct||!Et||!vt||!kt||!bt}},logSelfieChecks=(Be,Le,Ye,tt,nt,ft,ht)=>{const gt=[{passed:Le.headCoverPassed,log:"headCoverDected",notification:"notifications.removeHeadwear",description:getSelfieTranslation("removeHeadwear",ht),message:"Hat detected"},{passed:Le.lensesPassed,log:"lensesDetected",notification:"notifications.lenses",description:getSelfieTranslation("lenses",ht),message:"Lenses detected"},{passed:Le.brightnessPassed,log:"badBrightness",notification:"notifications.brightness",description:"notifications.brightnessDescription",message:"Bad brightness"},{passed:Le.maskPassed,log:"badMask",notification:"notifications.mask",description:getSelfieTranslation("mask",ht),message:"Mask detected"},{passed:Le.livenessPassed,log:"spoofAttempt",notification:"notifications.spoof",description:"notifications.spoofDescription",message:"Spoof attempt detected"},{passed:Le.closedEyesPassed,log:"closedEyes",notification:"notifications.closedEyes",description:getSelfieTranslation("closedEyes",ht),message:"Closed eyes detected"}];for(const{passed:At,log:xt,message:yt,notification:Ct,description:Et}of gt)if(!At){Ye(getLogObject(xt,{response:Be,message:yt})),tt(nt(Ct)),ft==null||ft(nt(Et));break}},getIdealContraintsDefault=(Be=720)=>({audio:!1,video:{resizeMode:"none",facingMode:"environment",height:{ideal:Be},aspectRatio:{ideal:19.5/9}}}),getStream=async(Be,Le=0)=>{if(Be==="user")return navigator.mediaDevices.getUserMedia(selfieConstraints);if(mobile.iOS()){const tt=await navigator.mediaDevices.getUserMedia(getIOSConstraints());return await tt.getVideoTracks()[0].applyConstraints({advanced:[{focusDistance:1}]}),tt}try{const tt=await getCameras(),nt=await navigator.mediaDevices.getUserMedia({video:getUserMediaVideoParams(Le)}),ft=nt.getVideoTracks()[0],ht=adjustCamerasFromCameraStream(ft,tt);killStream(nt);let gt=1280,At=720;if(Le>1){const{width:Ct,height:Et}=getUserMediaVideoParams(Le);gt=Ct.ideal,At=Et.ideal}const xt={video:{deviceId:{exact:ht.deviceId},width:{ideal:gt},height:{ideal:At}}};return await navigator.mediaDevices.getUserMedia(xt)}catch(tt){if(Le===5)throw tt;return getStream(Be,Le+1)}},getIOSConstraints=()=>getIdealContraintsDefault(localStorage.getItem("isHighPerformance")==="true"?1080:720);async function chooseNonUltraFrontCameraMultilingual(){const Be=["front","frontal","vorderseite","avant","前面","正面","앞"],Le=["ultra","ウルトラ","울트라"];try{const tt=(await navigator.mediaDevices.enumerateDevices()).find(nt=>{const ft=nt.label.toLowerCase();return nt.kind==="videoinput"&&Be.some(ht=>ft.includes(ht.toLowerCase()))&&!Le.some(ht=>ft.includes(ht.toLowerCase()))});return tt?tt.deviceId:null}catch{return null}}async function getNonUltraWideFrontCameraStream(){const Be=await navigator.mediaDevices.getUserMedia({video:{facingMode:"user"},audio:!1});killStream(Be);const Le=await chooseNonUltraFrontCameraMultilingual();return navigator.mediaDevices.getUserMedia({video:{deviceId:Le}})}const zoomCamera=async(Be,Le)=>{if(!Be)return!1;const Ye=Be.getSettings(),tt=Be.getCapabilities();return"zoom"in Ye||tt.zoom?(await Be.applyConstraints({advanced:[{zoom:tt.zoom.min&&Le<tt.zoom.min||tt.zoom.max&&Le>tt.zoom.max||Le}]}),!0):!1};async function base64ToImageData(Be){const Ye=await(await fetch(`data:image/jpeg;base64,${Be}`)).blob(),tt=new Image,nt=new Promise((gt,At)=>{tt.onload=gt,tt.onerror=At});tt.src=URL.createObjectURL(Ye),await nt;const ft=document.createElement("canvas");ft.width=tt.width,ft.height=tt.height;const ht=ft.getContext("2d");return ht.drawImage(tt,0,0),ht.getImageData(0,0,tt.width,tt.height)}function getChosenCameraInfo(Be,Le=null,Ye=null){const tt=Be.getCapabilities(),nt=Be.getSettings(),{focusMode:ft=!1}=navigator.mediaDevices.getSupportedConstraints();return{label:Be.label,deviceId:nt.deviceId,fallbackOption:Le,videoSource:Ye,resolution:`${nt.width}x${nt.height}`,autofocus:ft,facingMode:nt.facingMode,currentFrameRate:nt.frameRate,zoom:tt.zoom?{current:nt.zoom,min:tt.zoom.min,max:tt.zoom.max,step:tt.zoom.step}:void 0,focusDistance:tt.focusDistance?{current:nt.focusDistance,min:tt.focusDistance.min,max:tt.focusDistance.max,step:tt.focusDistance.step}:void 0}}async function getDeviceCapabilities(){const Be={};try{(await navigator.mediaDevices.enumerateDevices()).filter(tt=>tt.kind==="videoinput").forEach((tt,nt)=>{const ft=tt.getCapabilities();Be[`camera${nt+1}`]={label:tt.label,width:{min:ft.width.min,max:ft.width.max},height:{min:ft.height.min,max:ft.height.max},frameRate:{min:ft.frameRate.min,max:ft.frameRate.max},facingMode:ft.facingMode,focusMode:ft.focusMode||void 0,focusDistance:ft.focusDistance?{min:ft.focusDistance.min,max:ft.focusDistance.max}:void 0}})}catch(Le){console.log("Unable to get device capabilities: ",Le)}return Be}const translations={removeLenses:{default:"notifications.removeLenses",assisted:"notifications.removeLensesAssisted"},openEyes:{default:"notifications.openEyes",assisted:"notifications.openEyesAssisted"},removeMask:{default:"notifications.removeMask",assisted:"notifications.removeMaskAssisted"},ageAssurance:{default:"notifications.selfie.ageAssurance",assisted:"notifications.selfie.ageAssuranceAssisted"},removeHeadwear:{default:"notifications.removeHeadwearDescription",assisted:"notifications.removeHeadwearDescriptionAssisted"},lenses:{default:"notifications.lensesDescription",assisted:"notifications.lensesDescriptionAssisted"},mask:{assisted:"notifications.maskDescriptionAssisted",default:"notifications.maskDescription"},closedEyes:{assisted:"notifications.closedEyesDescriptionAssisted",default:"notifications.closedEyesDescription"}},getSelfieTranslation=(Be,Le)=>{const Ye=translations[Be];return Le?Ye.assisted:Ye.default},getSupportedMediaRecorderMimeType=()=>{const Be=mobile.iOS()?["video/mp4","video/webm","video/webm;codecs=vp9","video/webm;codecs=vp8"]:["video/webm","video/webm;codecs=vp9","video/webm;codecs=vp8","video/mp4"];for(const Le of Be)if(MediaRecorder.isTypeSupported(Le))return Le;return""};class Semaphore{constructor(Le=1){this.maxConcurrent=Le,this.current=0,this.queue=[]}async acquire(){return this.current<this.maxConcurrent?(this.current++,Promise.resolve()):new Promise(Le=>{this.queue.push(Le)})}release(){if(this.current=Math.max(0,this.current-1),this.queue.length>0&&this.current<this.maxConcurrent){this.current++;const Le=this.queue.shift();Le&&Le()}}}class Mutex{constructor(){this.semaphore=new Semaphore(1)}async lock(){return this.semaphore.acquire()}unlock(){this.semaphore.release()}async withLock(Le,...Ye){await this.lock();try{return await Le(...Ye)}finally{this.unlock()}}}var __assign$3=function(){return __assign$3=Object.assign||function(Le){for(var Ye,tt=1,nt=arguments.length;tt<nt;tt++){Ye=arguments[tt];for(var ft in Ye)Object.prototype.hasOwnProperty.call(Ye,ft)&&(Le[ft]=Ye[ft])}return Le},__assign$3.apply(this,arguments)};function __spreadArray$2(Be,Le,Ye){if(Ye||arguments.length===2)for(var tt=0,nt=Le.length,ft;tt<nt;tt++)(ft||!(tt in Le))&&(ft||(ft=Array.prototype.slice.call(Le,0,tt)),ft[tt]=Le[tt]);return Be.concat(ft||Array.prototype.slice.call(Le))}typeof SuppressedError=="function"&&SuppressedError;function memoize$1(Be){var Le=Object.create(null);return function(Ye){return Le[Ye]===void 0&&(Le[Ye]=Be(Ye)),Le[Ye]}}var reactPropsRegex$1=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,isPropValid$1=memoize$1(function(Be){return reactPropsRegex$1.test(Be)||Be.charCodeAt(0)===111&&Be.charCodeAt(1)===110&&Be.charCodeAt(2)<91}),MS$1="-ms-",MOZ$1="-moz-",WEBKIT$1="-webkit-",COMMENT$1="comm",RULESET$1="rule",DECLARATION$1="decl",IMPORT$1="@import",KEYFRAMES$1="@keyframes",LAYER$1="@layer",abs$1=Math.abs,from$1=String.fromCharCode,assign$1=Object.assign;function hash$1(Be,Le){return charat$1(Be,0)^45?(((Le<<2^charat$1(Be,0))<<2^charat$1(Be,1))<<2^charat$1(Be,2))<<2^charat$1(Be,3):0}function trim$3(Be){return Be.trim()}function match$1(Be,Le){return(Be=Le.exec(Be))?Be[0]:Be}function replace$1(Be,Le,Ye){return Be.replace(Le,Ye)}function indexof$1(Be,Le,Ye){return Be.indexOf(Le,Ye)}function charat$1(Be,Le){return Be.charCodeAt(Le)|0}function substr$1(Be,Le,Ye){return Be.slice(Le,Ye)}function strlen$1(Be){return Be.length}function sizeof$1(Be){return Be.length}function append$1(Be,Le){return Le.push(Be),Be}function combine$1(Be,Le){return Be.map(Le).join("")}function filter$1(Be,Le){return Be.filter(function(Ye){return!match$1(Ye,Le)})}var line$1=1,column$1=1,length$1=0,position$4=0,character$1=0,characters$1="";function node$2(Be,Le,Ye,tt,nt,ft,ht,gt){return{value:Be,root:Le,parent:Ye,type:tt,props:nt,children:ft,line:line$1,column:column$1,length:ht,return:"",siblings:gt}}function copy$2(Be,Le){return assign$1(node$2("",null,null,"",null,null,0,Be.siblings),Be,{length:-Be.length},Le)}function lift(Be){for(;Be.root;)Be=copy$2(Be.root,{children:[Be]});append$1(Be,Be.siblings)}function char$1(){return character$1}function prev$1(){return character$1=position$4>0?charat$1(characters$1,--position$4):0,column$1--,character$1===10&&(column$1=1,line$1--),character$1}function next$2(){return character$1=position$4<length$1?charat$1(characters$1,position$4++):0,column$1++,character$1===10&&(column$1=1,line$1++),character$1}function peek$1(){return charat$1(characters$1,position$4)}function caret$1(){return position$4}function slice$3(Be,Le){return substr$1(characters$1,Be,Le)}function token$1(Be){switch(Be){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function alloc$1(Be){return line$1=column$1=1,length$1=strlen$1(characters$1=Be),position$4=0,[]}function dealloc$1(Be){return characters$1="",Be}function delimit$1(Be){return trim$3(slice$3(position$4-1,delimiter$1(Be===91?Be+2:Be===40?Be+1:Be)))}function whitespace$2(Be){for(;(character$1=peek$1())&&character$1<33;)next$2();return token$1(Be)>2||token$1(character$1)>3?"":" "}function escaping$1(Be,Le){for(;--Le&&next$2()&&!(character$1<48||character$1>102||character$1>57&&character$1<65||character$1>70&&character$1<97););return slice$3(Be,caret$1()+(Le<6&&peek$1()==32&&next$2()==32))}function delimiter$1(Be){for(;next$2();)switch(character$1){case Be:return position$4;case 34:case 39:Be!==34&&Be!==39&&delimiter$1(character$1);break;case 40:Be===41&&delimiter$1(Be);break;case 92:next$2();break}return position$4}function commenter$1(Be,Le){for(;next$2()&&Be+character$1!==57;)if(Be+character$1===84&&peek$1()===47)break;return"/*"+slice$3(Le,position$4-1)+"*"+from$1(Be===47?Be:next$2())}function identifier$1(Be){for(;!token$1(peek$1());)next$2();return slice$3(Be,position$4)}function compile$1(Be){return dealloc$1(parse$9("",null,null,null,[""],Be=alloc$1(Be),0,[0],Be))}function parse$9(Be,Le,Ye,tt,nt,ft,ht,gt,At){for(var xt=0,yt=0,Ct=ht,Et=0,vt=0,kt=0,bt=1,wt=1,It=1,Rt=0,Tt="",Bt=nt,Pt=ft,Dt=tt,Ot=Tt;wt;)switch(kt=Rt,Rt=next$2()){case 40:if(kt!=108&&charat$1(Ot,Ct-1)==58){indexof$1(Ot+=replace$1(delimit$1(Rt),"&","&\f"),"&\f",abs$1(xt?gt[xt-1]:0))!=-1&&(It=-1);break}case 34:case 39:case 91:Ot+=delimit$1(Rt);break;case 9:case 10:case 13:case 32:Ot+=whitespace$2(kt);break;case 92:Ot+=escaping$1(caret$1()-1,7);continue;case 47:switch(peek$1()){case 42:case 47:append$1(comment$3(commenter$1(next$2(),caret$1()),Le,Ye,At),At);break;default:Ot+="/"}break;case 123*bt:gt[xt++]=strlen$1(Ot)*It;case 125*bt:case 59:case 0:switch(Rt){case 0:case 125:wt=0;case 59+yt:It==-1&&(Ot=replace$1(Ot,/\f/g,"")),vt>0&&strlen$1(Ot)-Ct&&append$1(vt>32?declaration$1(Ot+";",tt,Ye,Ct-1,At):declaration$1(replace$1(Ot," ","")+";",tt,Ye,Ct-2,At),At);break;case 59:Ot+=";";default:if(append$1(Dt=ruleset$1(Ot,Le,Ye,xt,yt,nt,gt,Tt,Bt=[],Pt=[],Ct,ft),ft),Rt===123)if(yt===0)parse$9(Ot,Le,Dt,Dt,Bt,ft,Ct,gt,Pt);else switch(Et===99&&charat$1(Ot,3)===110?100:Et){case 100:case 108:case 109:case 115:parse$9(Be,Dt,Dt,tt&&append$1(ruleset$1(Be,Dt,Dt,0,0,nt,gt,Tt,nt,Bt=[],Ct,Pt),Pt),nt,Pt,Ct,gt,tt?Bt:Pt);break;default:parse$9(Ot,Dt,Dt,Dt,[""],Pt,0,gt,Pt)}}xt=yt=vt=0,bt=It=1,Tt=Ot="",Ct=ht;break;case 58:Ct=1+strlen$1(Ot),vt=kt;default:if(bt<1){if(Rt==123)--bt;else if(Rt==125&&bt++==0&&prev$1()==125)continue}switch(Ot+=from$1(Rt),Rt*bt){case 38:It=yt>0?1:(Ot+="\f",-1);break;case 44:gt[xt++]=(strlen$1(Ot)-1)*It,It=1;break;case 64:peek$1()===45&&(Ot+=delimit$1(next$2())),Et=peek$1(),yt=Ct=strlen$1(Tt=Ot+=identifier$1(caret$1())),Rt++;break;case 45:kt===45&&strlen$1(Ot)==2&&(bt=0)}}return ft}function ruleset$1(Be,Le,Ye,tt,nt,ft,ht,gt,At,xt,yt,Ct){for(var Et=nt-1,vt=nt===0?ft:[""],kt=sizeof$1(vt),bt=0,wt=0,It=0;bt<tt;++bt)for(var Rt=0,Tt=substr$1(Be,Et+1,Et=abs$1(wt=ht[bt])),Bt=Be;Rt<kt;++Rt)(Bt=trim$3(wt>0?vt[Rt]+" "+Tt:replace$1(Tt,/&\f/g,vt[Rt])))&&(At[It++]=Bt);return node$2(Be,Le,Ye,nt===0?RULESET$1:gt,At,xt,yt,Ct)}function comment$3(Be,Le,Ye,tt){return node$2(Be,Le,Ye,COMMENT$1,from$1(char$1()),substr$1(Be,2,-2),0,tt)}function declaration$1(Be,Le,Ye,tt,nt){return node$2(Be,Le,Ye,DECLARATION$1,substr$1(Be,0,tt),substr$1(Be,tt+1,-1),tt,nt)}function prefix$2(Be,Le,Ye){switch(hash$1(Be,Le)){case 5103:return WEBKIT$1+"print-"+Be+Be;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return WEBKIT$1+Be+Be;case 4789:return MOZ$1+Be+Be;case 5349:case 4246:case 4810:case 6968:case 2756:return WEBKIT$1+Be+MOZ$1+Be+MS$1+Be+Be;case 5936:switch(charat$1(Be,Le+11)){case 114:return WEBKIT$1+Be+MS$1+replace$1(Be,/[svh]\w+-[tblr]{2}/,"tb")+Be;case 108:return WEBKIT$1+Be+MS$1+replace$1(Be,/[svh]\w+-[tblr]{2}/,"tb-rl")+Be;case 45:return WEBKIT$1+Be+MS$1+replace$1(Be,/[svh]\w+-[tblr]{2}/,"lr")+Be}case 6828:case 4268:case 2903:return WEBKIT$1+Be+MS$1+Be+Be;case 6165:return WEBKIT$1+Be+MS$1+"flex-"+Be+Be;case 5187:return WEBKIT$1+Be+replace$1(Be,/(\w+).+(:[^]+)/,WEBKIT$1+"box-$1$2"+MS$1+"flex-$1$2")+Be;case 5443:return WEBKIT$1+Be+MS$1+"flex-item-"+replace$1(Be,/flex-|-self/g,"")+(match$1(Be,/flex-|baseline/)?"":MS$1+"grid-row-"+replace$1(Be,/flex-|-self/g,""))+Be;case 4675:return WEBKIT$1+Be+MS$1+"flex-line-pack"+replace$1(Be,/align-content|flex-|-self/g,"")+Be;case 5548:return WEBKIT$1+Be+MS$1+replace$1(Be,"shrink","negative")+Be;case 5292:return WEBKIT$1+Be+MS$1+replace$1(Be,"basis","preferred-size")+Be;case 6060:return WEBKIT$1+"box-"+replace$1(Be,"-grow","")+WEBKIT$1+Be+MS$1+replace$1(Be,"grow","positive")+Be;case 4554:return WEBKIT$1+replace$1(Be,/([^-])(transform)/g,"$1"+WEBKIT$1+"$2")+Be;case 6187:return replace$1(replace$1(replace$1(Be,/(zoom-|grab)/,WEBKIT$1+"$1"),/(image-set)/,WEBKIT$1+"$1"),Be,"")+Be;case 5495:case 3959:return replace$1(Be,/(image-set\([^]*)/,WEBKIT$1+"$1$`$1");case 4968:return replace$1(replace$1(Be,/(.+:)(flex-)?(.*)/,WEBKIT$1+"box-pack:$3"+MS$1+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+WEBKIT$1+Be+Be;case 4200:if(!match$1(Be,/flex-|baseline/))return MS$1+"grid-column-align"+substr$1(Be,Le)+Be;break;case 2592:case 3360:return MS$1+replace$1(Be,"template-","")+Be;case 4384:case 3616:return Ye&&Ye.some(function(tt,nt){return Le=nt,match$1(tt.props,/grid-\w+-end/)})?~indexof$1(Be+(Ye=Ye[Le].value),"span",0)?Be:MS$1+replace$1(Be,"-start","")+Be+MS$1+"grid-row-span:"+(~indexof$1(Ye,"span",0)?match$1(Ye,/\d+/):+match$1(Ye,/\d+/)-+match$1(Be,/\d+/))+";":MS$1+replace$1(Be,"-start","")+Be;case 4896:case 4128:return Ye&&Ye.some(function(tt){return match$1(tt.props,/grid-\w+-start/)})?Be:MS$1+replace$1(replace$1(Be,"-end","-span"),"span ","")+Be;case 4095:case 3583:case 4068:case 2532:return replace$1(Be,/(.+)-inline(.+)/,WEBKIT$1+"$1$2")+Be;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(strlen$1(Be)-1-Le>6)switch(charat$1(Be,Le+1)){case 109:if(charat$1(Be,Le+4)!==45)break;case 102:return replace$1(Be,/(.+:)(.+)-([^]+)/,"$1"+WEBKIT$1+"$2-$3$1"+MOZ$1+(charat$1(Be,Le+3)==108?"$3":"$2-$3"))+Be;case 115:return~indexof$1(Be,"stretch",0)?prefix$2(replace$1(Be,"stretch","fill-available"),Le,Ye)+Be:Be}break;case 5152:case 5920:return replace$1(Be,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(tt,nt,ft,ht,gt,At,xt){return MS$1+nt+":"+ft+xt+(ht?MS$1+nt+"-span:"+(gt?At:+At-+ft)+xt:"")+Be});case 4949:if(charat$1(Be,Le+6)===121)return replace$1(Be,":",":"+WEBKIT$1)+Be;break;case 6444:switch(charat$1(Be,charat$1(Be,14)===45?18:11)){case 120:return replace$1(Be,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+WEBKIT$1+(charat$1(Be,14)===45?"inline-":"")+"box$3$1"+WEBKIT$1+"$2$3$1"+MS$1+"$2box$3")+Be;case 100:return replace$1(Be,":",":"+MS$1)+Be}break;case 5719:case 2647:case 2135:case 3927:case 2391:return replace$1(Be,"scroll-","scroll-snap-")+Be}return Be}function serialize$2(Be,Le){for(var Ye="",tt=0;tt<Be.length;tt++)Ye+=Le(Be[tt],tt,Be,Le)||"";return Ye}function stringify$5(Be,Le,Ye,tt){switch(Be.type){case LAYER$1:if(Be.children.length)break;case IMPORT$1:case DECLARATION$1:return Be.return=Be.return||Be.value;case COMMENT$1:return"";case KEYFRAMES$1:return Be.return=Be.value+"{"+serialize$2(Be.children,tt)+"}";case RULESET$1:if(!strlen$1(Be.value=Be.props.join(",")))return""}return strlen$1(Ye=serialize$2(Be.children,tt))?Be.return=Be.value+"{"+Ye+"}":""}function middleware$1(Be){var Le=sizeof$1(Be);return function(Ye,tt,nt,ft){for(var ht="",gt=0;gt<Le;gt++)ht+=Be[gt](Ye,tt,nt,ft)||"";return ht}}function rulesheet$1(Be){return function(Le){Le.root||(Le=Le.return)&&Be(Le)}}function prefixer$1(Be,Le,Ye,tt){if(Be.length>-1&&!Be.return)switch(Be.type){case DECLARATION$1:Be.return=prefix$2(Be.value,Be.length,Ye);return;case KEYFRAMES$1:return serialize$2([copy$2(Be,{value:replace$1(Be.value,"@","@"+WEBKIT$1)})],tt);case RULESET$1:if(Be.length)return combine$1(Ye=Be.props,function(nt){switch(match$1(nt,tt=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":lift(copy$2(Be,{props:[replace$1(nt,/:(read-\w+)/,":"+MOZ$1+"$1")]})),lift(copy$2(Be,{props:[nt]})),assign$1(Be,{props:filter$1(Ye,tt)});break;case"::placeholder":lift(copy$2(Be,{props:[replace$1(nt,/:(plac\w+)/,":"+WEBKIT$1+"input-$1")]})),lift(copy$2(Be,{props:[replace$1(nt,/:(plac\w+)/,":"+MOZ$1+"$1")]})),lift(copy$2(Be,{props:[replace$1(nt,/:(plac\w+)/,MS$1+"input-$1")]})),lift(copy$2(Be,{props:[nt]})),assign$1(Be,{props:filter$1(Ye,tt)});break}return""})}}var unitlessKeys$1={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},f$3=typeof process<"u"&&process.env!==void 0&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",m$3="active",y$1="data-styled-version",v$e="6.1.19",g$2=`/*!sc*/
2
+ (function(an,q0){typeof exports=="object"&&typeof module<"u"?q0(exports,require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react","react-dom"],q0):(an=typeof globalThis<"u"?globalThis:an||self,q0(an.OnBoarding={},an.React,an.ReactDOM))})(this,function(exports,React,ReactDOM){"use strict";var ix=Object.defineProperty;var Wh=an=>{throw TypeError(an)};var sx=(an,q0,wn)=>q0 in an?ix(an,q0,{enumerable:!0,configurable:!0,writable:!0,value:wn}):an[q0]=wn;var P0=(an,q0,wn)=>sx(an,typeof q0!="symbol"?q0+"":q0,wn),jp=(an,q0,wn)=>q0.has(an)||Wh("Cannot "+wn);var Kt=(an,q0,wn)=>(jp(an,q0,"read from private field"),wn?wn.call(an):q0.get(an)),kr=(an,q0,wn)=>q0.has(an)?Wh("Cannot add the same private member more than once"):q0 instanceof WeakSet?q0.add(an):q0.set(an,wn),Cr=(an,q0,wn,Ua)=>(jp(an,q0,"write to private field"),Ua?Ua.call(an,wn):q0.set(an,wn),wn),vr=(an,q0,wn)=>(jp(an,q0,"access private method"),wn);var Qa=(an,q0,wn,Ua)=>({set _(Ds){Cr(an,q0,Ds,wn)},get _(){return Kt(an,q0,Ua)}});var q0,wn,Ua,Ds,h2,Ku,Da,Ns,Zd,Fp,ec,vo,g2,_i,A2,tc,rc,$u,Kh,Na,$h,qh,Jd,Yh,Qp,nc,x2,y2,ko,Zh,Jh,e5,qu,N1,ac,Ia,L1,e3,da,bo,ic,pa,Yu,t5,_1,ri,ra,Aa,M1,_s,j1,Mi,Io,F1,E2,ss,ji,C2,sc,oc,Q1,lc,os,So,V1,wo,ls,Ju,Ro,uc,To,v2,dc,pc,fa,kn,Ms,k2,fc,hc,Bo,cs,js,mc,gi,C0,t3,Vp,r5,n5,r3,a5,i5,s5,Up,o5,Hp,Gp,l5,Va,p2,c5,u5,zp,d5,Nu,Wp,ha,us,Fi,H1,ds,ni,G1,ps,Ha,Fs,b2,fs,Po,Qi,Lu,n3,I2,Vi,Vn,z1,S2,xa,w2,Oo,gc,R2,Do,Ac,T2,Qs,hs,W1,X1,Ai,xc,ed,sn,Xp,yc,Kp,$p,p5,f5,qp,Yp,Zp,h5,Jp,m5,g5,A5,e9,_u,B2,P2,ma,td,x5,Ec,K1,Cc,O2,D2,ms,Vs,Sa,rd,N2,I0,Oa,Xl,Kl,a3,$l,y5,t9,ql,Mu,ju,r9,Fu,No,n9,a9,vc,kc,$1,xi,E5,C5,k5,i3,L2,bc,Ic,Sc,wc,q1,Lo,bn,Y1,Z1,Rc,i9,_9,_o,Ga,Tc,Bc,_2,Us,Pc,Oc,M2,J1,el,Mo,tl,Dc,rl,j2,Nc,Lc,Xn,F2,Q2,_c,jo,nl,Hs,b5,I5,s9,ai,s3,o9,S5,w5,ad,Fo,Gs,yi,Yl,o3,zs,od,ld,V2,U2,al,l3,il,c3,Ws,gs,sl,ol,As,H2,Qu,Ui,Mc,l9,Qo,Vo,G2,W2,ll,cl,jc,c9,ii,B1,R5,T5,ul,cd,ud,dl,X2,Kn,Xs,pl,Fc,Qc,fl,Ks,Hi,$s,Vc,qs,Uc,K2,$2,Rn,u3,u9,B5,P5,O5,D5,d3,p3,d9,Hc,Gc,zc,Wc,Xc,Kc,$c,p9,qc,q2,Y2,Yc,Z2,N5,f9,M9,Gi,si,Zc,J2,oi,ea,L5,_5,M5,f3,Ys,h3,m3,j5,h9,F5,li,zi,hl,ml,xs,un,e1,t1,Jc,eu,gl,Al,Uo,tu,dd,pd,na,Vu,Q5,V5,U5,H5,G5,z5,xl,r1,Js,ru,ci,nu,Yn,za,Uu,Hu,W5,au,Ho,Wi,_a,X5,g3,K5,$5,m9,iu,yl,Xi,n1,El,aa,su,Cl,ou,lu,Go,Ki,vl,cu,Tn,g9,A9,x9,P1,q5,f2,kl,uu,eo,a1,bl,Ei,du,pu,i1,$i,wa,Xa,Il,to,ia,Sl,Ci,fu,Z0,y9,A3,Y5,Z5,J5,E9,O1,vi,Zl,e4,x3,Gu,t4,r4,n4,a4,i4,s1,o1,ys,ro,ki,l1,c1,u1,no,wl,d1,p1,zo,y0,s4,o4,l4,c4,C9,u4,v9,d4,p4,f4,h4,m4,D1,k9,b9,I9,y3,E3,Jl,S9,C3,ao,g4,w9,A4,x4,R9,k3,zu,Hn,ya,Wo,io,Xo,Rl,Es,so,Cs,ui,Tl,hn,Wu,Xu,b3,T9,y4,I3,B9,S3,E4,C4,f1,Bl,vs,Ko,oo,di,$o,Pl,Ol,Ra,lo,j0,qo,Ea,k4,P9,O9,D9,w3,ks,mu,ta,co,gu,N9,h1,L9,b4;function _interopNamespaceDefault(Be){const Le=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(Be){for(const Ye in Be)if(Ye!=="default"){const tt=Object.getOwnPropertyDescriptor(Be,Ye);Object.defineProperty(Le,Ye,tt.get?tt:{enumerable:!0,get:()=>Be[Ye]})}}return Le.default=Be,Object.freeze(Le)}function _mergeNamespaces(Be,Le){for(var Ye=0;Ye<Le.length;Ye++){const tt=Le[Ye];if(typeof tt!="string"&&!Array.isArray(tt)){for(const nt in tt)if(nt!=="default"&&!(nt in Be)){const ft=Object.getOwnPropertyDescriptor(tt,nt);ft&&Object.defineProperty(Be,nt,ft.get?ft:{enumerable:!0,get:()=>tt[nt]})}}}return Object.freeze(Object.defineProperty(Be,Symbol.toStringTag,{value:"Module"}))}const React__namespace=_interopNamespaceDefault(React),ReactDOM__namespace=_interopNamespaceDefault(ReactDOM);var commonjsGlobal=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function getDefaultExportFromCjs(Be){return Be&&Be.__esModule&&Object.prototype.hasOwnProperty.call(Be,"default")?Be.default:Be}function getAugmentedNamespace(Be){if(Be.__esModule)return Be;var Le=Be.default;if(typeof Le=="function"){var Ye=function tt(){return this instanceof tt?Reflect.construct(Le,arguments,this.constructor):Le.apply(this,arguments)};Ye.prototype=Le.prototype}else Ye={};return Object.defineProperty(Ye,"__esModule",{value:!0}),Object.keys(Be).forEach(function(tt){var nt=Object.getOwnPropertyDescriptor(Be,tt);Object.defineProperty(Ye,tt,nt.get?nt:{enumerable:!0,get:function(){return Be[tt]}})}),Ye}var dayjs_min={exports:{}};(function(Be,Le){(function(Ye,tt){Be.exports=tt()})(commonjsGlobal,function(){var Ye=1e3,tt=6e4,nt=36e5,ft="millisecond",ht="second",gt="minute",At="hour",xt="day",yt="week",Ct="month",Et="quarter",vt="year",kt="date",bt="Invalid Date",wt=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,It=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,Rt={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(Ft){var Xt=["th","st","nd","rd"],_t=Ft%100;return"["+Ft+(Xt[(_t-20)%10]||Xt[_t]||Xt[0])+"]"}},Tt=function(Ft,Xt,_t){var Mt=String(Ft);return!Mt||Mt.length>=Xt?Ft:""+Array(Xt+1-Mt.length).join(_t)+Ft},Bt={s:Tt,z:function(Ft){var Xt=-Ft.utcOffset(),_t=Math.abs(Xt),Mt=Math.floor(_t/60),jt=_t%60;return(Xt<=0?"+":"-")+Tt(Mt,2,"0")+":"+Tt(jt,2,"0")},m:function Ft(Xt,_t){if(Xt.date()<_t.date())return-Ft(_t,Xt);var Mt=12*(_t.year()-Xt.year())+(_t.month()-Xt.month()),jt=Xt.clone().add(Mt,Ct),zt=_t-jt<0,Gt=Xt.clone().add(Mt+(zt?-1:1),Ct);return+(-(Mt+(_t-jt)/(zt?jt-Gt:Gt-jt))||0)},a:function(Ft){return Ft<0?Math.ceil(Ft)||0:Math.floor(Ft)},p:function(Ft){return{M:Ct,y:vt,w:yt,d:xt,D:kt,h:At,m:gt,s:ht,ms:ft,Q:Et}[Ft]||String(Ft||"").toLowerCase().replace(/s$/,"")},u:function(Ft){return Ft===void 0}},Pt="en",Dt={};Dt[Pt]=Rt;var Ot="$isDayjsObject",Lt=function(Ft){return Ft instanceof Ht||!(!Ft||!Ft[Ot])},Wt=function Ft(Xt,_t,Mt){var jt;if(!Xt)return Pt;if(typeof Xt=="string"){var zt=Xt.toLowerCase();Dt[zt]&&(jt=zt),_t&&(Dt[zt]=_t,jt=zt);var Gt=Xt.split("-");if(!jt&&Gt.length>1)return Ft(Gt[0])}else{var Yt=Xt.name;Dt[Yt]=Xt,jt=Yt}return!Mt&&jt&&(Pt=jt),jt||!Mt&&Pt},$t=function(Ft,Xt){if(Lt(Ft))return Ft.clone();var _t=typeof Xt=="object"?Xt:{};return _t.date=Ft,_t.args=arguments,new Ht(_t)},qt=Bt;qt.l=Wt,qt.i=Lt,qt.w=function(Ft,Xt){return $t(Ft,{locale:Xt.$L,utc:Xt.$u,x:Xt.$x,$offset:Xt.$offset})};var Ht=function(){function Ft(_t){this.$L=Wt(_t.locale,null,!0),this.parse(_t),this.$x=this.$x||_t.x||{},this[Ot]=!0}var Xt=Ft.prototype;return Xt.parse=function(_t){this.$d=function(Mt){var jt=Mt.date,zt=Mt.utc;if(jt===null)return new Date(NaN);if(qt.u(jt))return new Date;if(jt instanceof Date)return new Date(jt);if(typeof jt=="string"&&!/Z$/i.test(jt)){var Gt=jt.match(wt);if(Gt){var Yt=Gt[2]-1||0,ar=(Gt[7]||"0").substring(0,3);return zt?new Date(Date.UTC(Gt[1],Yt,Gt[3]||1,Gt[4]||0,Gt[5]||0,Gt[6]||0,ar)):new Date(Gt[1],Yt,Gt[3]||1,Gt[4]||0,Gt[5]||0,Gt[6]||0,ar)}}return new Date(jt)}(_t),this.init()},Xt.init=function(){var _t=this.$d;this.$y=_t.getFullYear(),this.$M=_t.getMonth(),this.$D=_t.getDate(),this.$W=_t.getDay(),this.$H=_t.getHours(),this.$m=_t.getMinutes(),this.$s=_t.getSeconds(),this.$ms=_t.getMilliseconds()},Xt.$utils=function(){return qt},Xt.isValid=function(){return this.$d.toString()!==bt},Xt.isSame=function(_t,Mt){var jt=$t(_t);return this.startOf(Mt)<=jt&&jt<=this.endOf(Mt)},Xt.isAfter=function(_t,Mt){return $t(_t)<this.startOf(Mt)},Xt.isBefore=function(_t,Mt){return this.endOf(Mt)<$t(_t)},Xt.$g=function(_t,Mt,jt){return qt.u(_t)?this[Mt]:this.set(jt,_t)},Xt.unix=function(){return Math.floor(this.valueOf()/1e3)},Xt.valueOf=function(){return this.$d.getTime()},Xt.startOf=function(_t,Mt){var jt=this,zt=!!qt.u(Mt)||Mt,Gt=qt.p(_t),Yt=function(or,ir){var Zt=qt.w(jt.$u?Date.UTC(jt.$y,ir,or):new Date(jt.$y,ir,or),jt);return zt?Zt:Zt.endOf(xt)},ar=function(or,ir){return qt.w(jt.toDate()[or].apply(jt.toDate("s"),(zt?[0,0,0,0]:[23,59,59,999]).slice(ir)),jt)},tr=this.$W,sr=this.$M,dr=this.$D,rr="set"+(this.$u?"UTC":"");switch(Gt){case vt:return zt?Yt(1,0):Yt(31,11);case Ct:return zt?Yt(1,sr):Yt(0,sr+1);case yt:var gr=this.$locale().weekStart||0,yr=(tr<gr?tr+7:tr)-gr;return Yt(zt?dr-yr:dr+(6-yr),sr);case xt:case kt:return ar(rr+"Hours",0);case At:return ar(rr+"Minutes",1);case gt:return ar(rr+"Seconds",2);case ht:return ar(rr+"Milliseconds",3);default:return this.clone()}},Xt.endOf=function(_t){return this.startOf(_t,!1)},Xt.$set=function(_t,Mt){var jt,zt=qt.p(_t),Gt="set"+(this.$u?"UTC":""),Yt=(jt={},jt[xt]=Gt+"Date",jt[kt]=Gt+"Date",jt[Ct]=Gt+"Month",jt[vt]=Gt+"FullYear",jt[At]=Gt+"Hours",jt[gt]=Gt+"Minutes",jt[ht]=Gt+"Seconds",jt[ft]=Gt+"Milliseconds",jt)[zt],ar=zt===xt?this.$D+(Mt-this.$W):Mt;if(zt===Ct||zt===vt){var tr=this.clone().set(kt,1);tr.$d[Yt](ar),tr.init(),this.$d=tr.set(kt,Math.min(this.$D,tr.daysInMonth())).$d}else Yt&&this.$d[Yt](ar);return this.init(),this},Xt.set=function(_t,Mt){return this.clone().$set(_t,Mt)},Xt.get=function(_t){return this[qt.p(_t)]()},Xt.add=function(_t,Mt){var jt,zt=this;_t=Number(_t);var Gt=qt.p(Mt),Yt=function(sr){var dr=$t(zt);return qt.w(dr.date(dr.date()+Math.round(sr*_t)),zt)};if(Gt===Ct)return this.set(Ct,this.$M+_t);if(Gt===vt)return this.set(vt,this.$y+_t);if(Gt===xt)return Yt(1);if(Gt===yt)return Yt(7);var ar=(jt={},jt[gt]=tt,jt[At]=nt,jt[ht]=Ye,jt)[Gt]||1,tr=this.$d.getTime()+_t*ar;return qt.w(tr,this)},Xt.subtract=function(_t,Mt){return this.add(-1*_t,Mt)},Xt.format=function(_t){var Mt=this,jt=this.$locale();if(!this.isValid())return jt.invalidDate||bt;var zt=_t||"YYYY-MM-DDTHH:mm:ssZ",Gt=qt.z(this),Yt=this.$H,ar=this.$m,tr=this.$M,sr=jt.weekdays,dr=jt.months,rr=jt.meridiem,gr=function(ir,Zt,Qt,er){return ir&&(ir[Zt]||ir(Mt,zt))||Qt[Zt].slice(0,er)},yr=function(ir){return qt.s(Yt%12||12,ir,"0")},or=rr||function(ir,Zt,Qt){var er=ir<12?"AM":"PM";return Qt?er.toLowerCase():er};return zt.replace(It,function(ir,Zt){return Zt||function(Qt){switch(Qt){case"YY":return String(Mt.$y).slice(-2);case"YYYY":return qt.s(Mt.$y,4,"0");case"M":return tr+1;case"MM":return qt.s(tr+1,2,"0");case"MMM":return gr(jt.monthsShort,tr,dr,3);case"MMMM":return gr(dr,tr);case"D":return Mt.$D;case"DD":return qt.s(Mt.$D,2,"0");case"d":return String(Mt.$W);case"dd":return gr(jt.weekdaysMin,Mt.$W,sr,2);case"ddd":return gr(jt.weekdaysShort,Mt.$W,sr,3);case"dddd":return sr[Mt.$W];case"H":return String(Yt);case"HH":return qt.s(Yt,2,"0");case"h":return yr(1);case"hh":return yr(2);case"a":return or(Yt,ar,!0);case"A":return or(Yt,ar,!1);case"m":return String(ar);case"mm":return qt.s(ar,2,"0");case"s":return String(Mt.$s);case"ss":return qt.s(Mt.$s,2,"0");case"SSS":return qt.s(Mt.$ms,3,"0");case"Z":return Gt}return null}(ir)||Gt.replace(":","")})},Xt.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},Xt.diff=function(_t,Mt,jt){var zt,Gt=this,Yt=qt.p(Mt),ar=$t(_t),tr=(ar.utcOffset()-this.utcOffset())*tt,sr=this-ar,dr=function(){return qt.m(Gt,ar)};switch(Yt){case vt:zt=dr()/12;break;case Ct:zt=dr();break;case Et:zt=dr()/3;break;case yt:zt=(sr-tr)/6048e5;break;case xt:zt=(sr-tr)/864e5;break;case At:zt=sr/nt;break;case gt:zt=sr/tt;break;case ht:zt=sr/Ye;break;default:zt=sr}return jt?zt:qt.a(zt)},Xt.daysInMonth=function(){return this.endOf(Ct).$D},Xt.$locale=function(){return Dt[this.$L]},Xt.locale=function(_t,Mt){if(!_t)return this.$L;var jt=this.clone(),zt=Wt(_t,Mt,!0);return zt&&(jt.$L=zt),jt},Xt.clone=function(){return qt.w(this.$d,this)},Xt.toDate=function(){return new Date(this.valueOf())},Xt.toJSON=function(){return this.isValid()?this.toISOString():null},Xt.toISOString=function(){return this.$d.toISOString()},Xt.toString=function(){return this.$d.toUTCString()},Ft}(),Ut=Ht.prototype;return $t.prototype=Ut,[["$ms",ft],["$s",ht],["$m",gt],["$H",At],["$W",xt],["$M",Ct],["$y",vt],["$D",kt]].forEach(function(Ft){Ut[Ft[1]]=function(Xt){return this.$g(Xt,Ft[0],Ft[1])}}),$t.extend=function(Ft,Xt){return Ft.$i||(Ft(Xt,Ht,$t),Ft.$i=!0),$t},$t.locale=Wt,$t.isDayjs=Lt,$t.unix=function(Ft){return $t(1e3*Ft)},$t.en=Dt[Pt],$t.Ls=Dt,$t.p={},$t})})(dayjs_min);var dayjs_minExports=dayjs_min.exports;const dayjs=getDefaultExportFromCjs(dayjs_minExports);var utc$1={exports:{}};(function(Be,Le){(function(Ye,tt){Be.exports=tt()})(commonjsGlobal,function(){var Ye="minute",tt=/[+-]\d\d(?::?\d\d)?/g,nt=/([+-]|\d\d)/g;return function(ft,ht,gt){var At=ht.prototype;gt.utc=function(bt){var wt={date:bt,utc:!0,args:arguments};return new ht(wt)},At.utc=function(bt){var wt=gt(this.toDate(),{locale:this.$L,utc:!0});return bt?wt.add(this.utcOffset(),Ye):wt},At.local=function(){return gt(this.toDate(),{locale:this.$L,utc:!1})};var xt=At.parse;At.parse=function(bt){bt.utc&&(this.$u=!0),this.$utils().u(bt.$offset)||(this.$offset=bt.$offset),xt.call(this,bt)};var yt=At.init;At.init=function(){if(this.$u){var bt=this.$d;this.$y=bt.getUTCFullYear(),this.$M=bt.getUTCMonth(),this.$D=bt.getUTCDate(),this.$W=bt.getUTCDay(),this.$H=bt.getUTCHours(),this.$m=bt.getUTCMinutes(),this.$s=bt.getUTCSeconds(),this.$ms=bt.getUTCMilliseconds()}else yt.call(this)};var Ct=At.utcOffset;At.utcOffset=function(bt,wt){var It=this.$utils().u;if(It(bt))return this.$u?0:It(this.$offset)?Ct.call(this):this.$offset;if(typeof bt=="string"&&(bt=function(Pt){Pt===void 0&&(Pt="");var Dt=Pt.match(tt);if(!Dt)return null;var Ot=(""+Dt[0]).match(nt)||["-",0,0],Lt=Ot[0],Wt=60*+Ot[1]+ +Ot[2];return Wt===0?0:Lt==="+"?Wt:-Wt}(bt),bt===null))return this;var Rt=Math.abs(bt)<=16?60*bt:bt;if(Rt===0)return this.utc(wt);var Tt=this.clone();if(wt)return Tt.$offset=Rt,Tt.$u=!1,Tt;var Bt=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();return(Tt=this.local().add(Rt+Bt,Ye)).$offset=Rt,Tt.$x.$localOffset=Bt,Tt};var Et=At.format;At.format=function(bt){var wt=bt||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return Et.call(this,wt)},At.valueOf=function(){var bt=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*bt},At.isUTC=function(){return!!this.$u},At.toISOString=function(){return this.toDate().toISOString()},At.toString=function(){return this.toDate().toUTCString()};var vt=At.toDate;At.toDate=function(bt){return bt==="s"&&this.$offset?gt(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():vt.call(this)};var kt=At.diff;At.diff=function(bt,wt,It){if(bt&&this.$u===bt.$u)return kt.call(this,bt,wt,It);var Rt=this.local(),Tt=gt(bt).local();return kt.call(Rt,Tt,wt,It)}}})})(utc$1);var utcExports=utc$1.exports;const utc=getDefaultExportFromCjs(utcExports);var uaParser={exports:{}};(function(Be,Le){(function(Ye,tt){var nt="1.0.41",ft="",ht="?",gt="function",At="undefined",xt="object",yt="string",Ct="major",Et="model",vt="name",kt="type",bt="vendor",wt="version",It="architecture",Rt="console",Tt="mobile",Bt="tablet",Pt="smarttv",Dt="wearable",Ot="embedded",Lt=500,Wt="Amazon",$t="Apple",qt="ASUS",Ht="BlackBerry",Ut="Browser",Ft="Chrome",Xt="Edge",_t="Firefox",Mt="Google",jt="Honor",zt="Huawei",Gt="Lenovo",Yt="LG",ar="Microsoft",tr="Motorola",sr="Nvidia",dr="OnePlus",rr="Opera",gr="OPPO",yr="Samsung",or="Sharp",ir="Sony",Zt="Xiaomi",Qt="Zebra",er="Facebook",nr="Chromium OS",lr="Mac OS",hr=" Browser",ur=function(e0,Rr){var wr={};for(var Tr in e0)Rr[Tr]&&Rr[Tr].length%2===0?wr[Tr]=Rr[Tr].concat(e0[Tr]):wr[Tr]=e0[Tr];return wr},xr=function(e0){for(var Rr={},wr=0;wr<e0.length;wr++)Rr[e0[wr].toUpperCase()]=e0[wr];return Rr},pr=function(e0,Rr){return typeof e0===yt?Mr(Rr).indexOf(Mr(e0))!==-1:!1},Mr=function(e0){return e0.toLowerCase()},_r=function(e0){return typeof e0===yt?e0.replace(/[^\d\.]/g,ft).split(".")[0]:tt},Zr=function(e0,Rr){if(typeof e0===yt)return e0=e0.replace(/^\s\s*/,ft),typeof Rr===At?e0:e0.substring(0,Lt)},qr=function(e0,Rr){for(var wr=0,Tr,n0,Wr,Jr,t0,h0;wr<Rr.length&&!t0;){var zr=Rr[wr],m0=Rr[wr+1];for(Tr=n0=0;Tr<zr.length&&!t0&&zr[Tr];)if(t0=zr[Tr++].exec(e0),t0)for(Wr=0;Wr<m0.length;Wr++)h0=t0[++n0],Jr=m0[Wr],typeof Jr===xt&&Jr.length>0?Jr.length===2?typeof Jr[1]==gt?this[Jr[0]]=Jr[1].call(this,h0):this[Jr[0]]=Jr[1]:Jr.length===3?typeof Jr[1]===gt&&!(Jr[1].exec&&Jr[1].test)?this[Jr[0]]=h0?Jr[1].call(this,h0,Jr[2]):tt:this[Jr[0]]=h0?h0.replace(Jr[1],Jr[2]):tt:Jr.length===4&&(this[Jr[0]]=h0?Jr[3].call(this,h0.replace(Jr[1],Jr[2])):tt):this[Jr]=h0||tt;wr+=2}},$r=function(e0,Rr){for(var wr in Rr)if(typeof Rr[wr]===xt&&Rr[wr].length>0){for(var Tr=0;Tr<Rr[wr].length;Tr++)if(pr(Rr[wr][Tr],e0))return wr===ht?tt:wr}else if(pr(Rr[wr],e0))return wr===ht?tt:wr;return Rr.hasOwnProperty("*")?Rr["*"]:e0},Pr={"1.0":"/8","1.2":"/1","1.3":"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"},Ir={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2","8.1":"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},Nr={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[wt,[vt,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[wt,[vt,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[vt,wt],[/opios[\/ ]+([\w\.]+)/i],[wt,[vt,rr+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[wt,[vt,rr+" GX"]],[/\bopr\/([\w\.]+)/i],[wt,[vt,rr]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[wt,[vt,"Baidu"]],[/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i],[wt,[vt,"Maxthon"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim(?:browser|boat|jet))[\/ ]?([\d\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio|(?=comodo_)?dragon)\/([-\w\.]+)/i,/(heytap|ovi|115)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[vt,wt],[/quark(?:pc)?\/([-\w\.]+)/i],[wt,[vt,"Quark"]],[/\bddg\/([\w\.]+)/i],[wt,[vt,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[wt,[vt,"UC"+Ut]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[wt,[vt,"WeChat"]],[/konqueror\/([\w\.]+)/i],[wt,[vt,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[wt,[vt,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[wt,[vt,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[wt,[vt,"Smart Lenovo "+Ut]],[/(avast|avg)\/([\w\.]+)/i],[[vt,/(.+)/,"$1 Secure "+Ut],wt],[/\bfocus\/([\w\.]+)/i],[wt,[vt,_t+" Focus"]],[/\bopt\/([\w\.]+)/i],[wt,[vt,rr+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[wt,[vt,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[wt,[vt,"Dolphin"]],[/coast\/([\w\.]+)/i],[wt,[vt,rr+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[wt,[vt,"MIUI"+hr]],[/fxios\/([\w\.-]+)/i],[wt,[vt,_t]],[/\bqihoobrowser\/?([\w\.]*)/i],[wt,[vt,"360"]],[/\b(qq)\/([\w\.]+)/i],[[vt,/(.+)/,"$1Browser"],wt],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[vt,/(.+)/,"$1"+hr],wt],[/samsungbrowser\/([\w\.]+)/i],[wt,[vt,yr+" Internet"]],[/metasr[\/ ]?([\d\.]+)/i],[wt,[vt,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[vt,"Sogou Mobile"],wt],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i],[vt,wt],[/(lbbrowser|rekonq)/i,/\[(linkedin)app\]/i],[vt],[/ome\/([\w\.]+) \w* ?(iron) saf/i,/ome\/([\w\.]+).+qihu (360)[es]e/i],[wt,vt],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[vt,er],wt],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/(daum)apps[\/ ]([\w\.]+)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[vt,wt],[/\bgsa\/([\w\.]+) .*safari\//i],[wt,[vt,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[wt,[vt,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[wt,[vt,Ft+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[vt,Ft+" WebView"],wt],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[wt,[vt,"Android "+Ut]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[vt,wt],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[wt,[vt,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[wt,vt],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[vt,[wt,$r,Pr]],[/(webkit|khtml)\/([\w\.]+)/i],[vt,wt],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[vt,"Netscape"],wt],[/(wolvic|librewolf)\/([\w\.]+)/i],[vt,wt],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[wt,[vt,_t+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(amaya|dillo|doris|icab|ladybird|lynx|mosaic|netsurf|obigo|polaris|w3m|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/\b(links) \(([\w\.]+)/i],[vt,[wt,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[vt,[wt,/master.|lts./,""]]],cpu:[[/\b((amd|x|x86[-_]?|wow|win)64)\b/i],[[It,"amd64"]],[/(ia32(?=;))/i,/\b((i[346]|x)86)(pc)?\b/i],[[It,"ia32"]],[/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i],[[It,"arm64"]],[/\b(arm(v[67])?ht?n?[fl]p?)\b/i],[[It,"armhf"]],[/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i],[[It,"arm"]],[/((ppc|powerpc)(64)?)( mac|;|\))/i],[[It,/ower/,ft,Mr]],[/ sun4\w[;\)]/i],[[It,"sparc"]],[/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i],[[It,Mr]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[Et,[bt,yr],[kt,Bt]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr])[-\w]+)/i,/sec-(sgh\w+)/i],[Et,[bt,yr],[kt,Tt]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[Et,[bt,$t],[kt,Tt]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[Et,[bt,$t],[kt,Bt]],[/(macintosh);/i],[Et,[bt,$t]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[Et,[bt,or],[kt,Tt]],[/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i],[Et,[bt,jt],[kt,Bt]],[/honor([-\w ]+)[;\)]/i],[Et,[bt,jt],[kt,Tt]],[/\b((?:ag[rs][2356]?k?|bah[234]?|bg[2o]|bt[kv]|cmr|cpn|db[ry]2?|jdn2|got|kob2?k?|mon|pce|scm|sht?|[tw]gr|vrd)-[ad]?[lw][0125][09]b?|605hw|bg2-u03|(?:gem|fdr|m2|ple|t1)-[7a]0[1-4][lu]|t1-a2[13][lw]|mediapad[\w\. ]*(?= bui|\)))\b(?!.+d\/s)/i],[Et,[bt,zt],[kt,Bt]],[/(?:huawei)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[Et,[bt,zt],[kt,Tt]],[/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i,/\b((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i],[[Et,/_/g," "],[bt,Zt],[kt,Bt]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i,/ ([\w ]+) miui\/v?\d/i],[[Et,/_/g," "],[bt,Zt],[kt,Tt]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[Et,[bt,gr],[kt,Tt]],[/\b(opd2(\d{3}a?))(?: bui|\))/i],[Et,[bt,$r,{OnePlus:["304","403","203"],"*":gr}],[kt,Bt]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[Et,[bt,"Vivo"],[kt,Tt]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[Et,[bt,"Realme"],[kt,Tt]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto(?! 360)[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[Et,[bt,tr],[kt,Tt]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[Et,[bt,tr],[kt,Bt]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[Et,[bt,Yt],[kt,Bt]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv|watch)\w+)/i,/\blg-?([\d\w]+) bui/i],[Et,[bt,Yt],[kt,Tt]],[/(ideatab[-\w ]+|602lv|d-42a|a101lv|a2109a|a3500-hv|s[56]000|pb-6505[my]|tb-?x?\d{3,4}(?:f[cu]|xu|[av])|yt\d?-[jx]?\d+[lfmx])( bui|;|\)|\/)/i,/lenovo ?(b[68]0[08]0-?[hf]?|tab(?:[\w- ]+?)|tb[\w-]{6,7})( bui|;|\)|\/)/i],[Et,[bt,Gt],[kt,Bt]],[/(nokia) (t[12][01])/i],[bt,Et,[kt,Bt]],[/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i,/nokia[-_ ]?(([-\w\. ]*))/i],[[Et,/_/g," "],[kt,Tt],[bt,"Nokia"]],[/(pixel (c|tablet))\b/i],[Et,[bt,Mt],[kt,Bt]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[Et,[bt,Mt],[kt,Tt]],[/droid.+; (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[Et,[bt,ir],[kt,Tt]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[Et,"Xperia Tablet"],[bt,ir],[kt,Bt]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[Et,[bt,dr],[kt,Tt]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[Et,[bt,Wt],[kt,Bt]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[Et,/(.+)/g,"Fire Phone $1"],[bt,Wt],[kt,Tt]],[/(playbook);[-\w\),; ]+(rim)/i],[Et,bt,[kt,Bt]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[Et,[bt,Ht],[kt,Tt]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[Et,[bt,qt],[kt,Bt]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[Et,[bt,qt],[kt,Tt]],[/(nexus 9)/i],[Et,[bt,"HTC"],[kt,Bt]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[bt,[Et,/_/g," "],[kt,Tt]],[/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])\w*(\)| bui)/i],[Et,[bt,"TCL"],[kt,Bt]],[/(itel) ((\w+))/i],[[bt,Mr],Et,[kt,$r,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[Et,[bt,"Acer"],[kt,Bt]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[Et,[bt,"Meizu"],[kt,Tt]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[Et,[bt,"Ulefone"],[kt,Tt]],[/; (energy ?\w+)(?: bui|\))/i,/; energizer ([\w ]+)(?: bui|\))/i],[Et,[bt,"Energizer"],[kt,Tt]],[/; cat (b35);/i,/; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i],[Et,[bt,"Cat"],[kt,Tt]],[/((?:new )?andromax[\w- ]+)(?: bui|\))/i],[Et,[bt,"Smartfren"],[kt,Tt]],[/droid.+; (a(?:015|06[35]|142p?))/i],[Et,[bt,"Nothing"],[kt,Tt]],[/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i,/archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i],[Et,[bt,"Archos"],[kt,Bt]],[/archos ([\w ]+)( b|\))/i,/; (ac[3-6]\d\w{2,8})( b|\))/i],[Et,[bt,"Archos"],[kt,Tt]],[/(imo) (tab \w+)/i,/(infinix) (x1101b?)/i],[bt,Et,[kt,Bt]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus(?! zenw)|dell|jolla|meizu|motorola|polytron|infinix|tecno|micromax|advan)[-_ ]?([-\w]*)/i,/; (hmd|imo) ([\w ]+?)(?: bui|\))/i,/(hp) ([\w ]+\w)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w ]+?)(?: bui|\)|\/)/i,/(oppo) ?([\w ]+) bui/i],[bt,Et,[kt,Tt]],[/(kobo)\s(ereader|touch)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[bt,Et,[kt,Bt]],[/(surface duo)/i],[Et,[bt,ar],[kt,Bt]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[Et,[bt,"Fairphone"],[kt,Tt]],[/(u304aa)/i],[Et,[bt,"AT&T"],[kt,Tt]],[/\bsie-(\w*)/i],[Et,[bt,"Siemens"],[kt,Tt]],[/\b(rct\w+) b/i],[Et,[bt,"RCA"],[kt,Bt]],[/\b(venue[\d ]{2,7}) b/i],[Et,[bt,"Dell"],[kt,Bt]],[/\b(q(?:mv|ta)\w+) b/i],[Et,[bt,"Verizon"],[kt,Bt]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[Et,[bt,"Barnes & Noble"],[kt,Bt]],[/\b(tm\d{3}\w+) b/i],[Et,[bt,"NuVision"],[kt,Bt]],[/\b(k88) b/i],[Et,[bt,"ZTE"],[kt,Bt]],[/\b(nx\d{3}j) b/i],[Et,[bt,"ZTE"],[kt,Tt]],[/\b(gen\d{3}) b.+49h/i],[Et,[bt,"Swiss"],[kt,Tt]],[/\b(zur\d{3}) b/i],[Et,[bt,"Swiss"],[kt,Bt]],[/\b((zeki)?tb.*\b) b/i],[Et,[bt,"Zeki"],[kt,Bt]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[bt,"Dragon Touch"],Et,[kt,Bt]],[/\b(ns-?\w{0,9}) b/i],[Et,[bt,"Insignia"],[kt,Bt]],[/\b((nxa|next)-?\w{0,9}) b/i],[Et,[bt,"NextBook"],[kt,Bt]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[bt,"Voice"],Et,[kt,Tt]],[/\b(lvtel\-)?(v1[12]) b/i],[[bt,"LvTel"],Et,[kt,Tt]],[/\b(ph-1) /i],[Et,[bt,"Essential"],[kt,Tt]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[Et,[bt,"Envizen"],[kt,Bt]],[/\b(trio[-\w\. ]+) b/i],[Et,[bt,"MachSpeed"],[kt,Bt]],[/\btu_(1491) b/i],[Et,[bt,"Rotor"],[kt,Bt]],[/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i],[Et,[bt,sr],[kt,Bt]],[/(sprint) (\w+)/i],[bt,Et,[kt,Tt]],[/(kin\.[onetw]{3})/i],[[Et,/\./g," "],[bt,ar],[kt,Tt]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[Et,[bt,Qt],[kt,Bt]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[Et,[bt,Qt],[kt,Tt]],[/smart-tv.+(samsung)/i],[bt,[kt,Pt]],[/hbbtv.+maple;(\d+)/i],[[Et,/^/,"SmartTV"],[bt,yr],[kt,Pt]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[bt,Yt],[kt,Pt]],[/(apple) ?tv/i],[bt,[Et,$t+" TV"],[kt,Pt]],[/crkey/i],[[Et,Ft+"cast"],[bt,Mt],[kt,Pt]],[/droid.+aft(\w+)( bui|\))/i],[Et,[bt,Wt],[kt,Pt]],[/(shield \w+ tv)/i],[Et,[bt,sr],[kt,Pt]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[Et,[bt,or],[kt,Pt]],[/(bravia[\w ]+)( bui|\))/i],[Et,[bt,ir],[kt,Pt]],[/(mi(tv|box)-?\w+) bui/i],[Et,[bt,Zt],[kt,Pt]],[/Hbbtv.*(technisat) (.*);/i],[bt,Et,[kt,Pt]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[bt,Zr],[Et,Zr],[kt,Pt]],[/droid.+; ([\w- ]+) (?:android tv|smart[- ]?tv)/i],[Et,[kt,Pt]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[kt,Pt]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[bt,Et,[kt,Rt]],[/droid.+; (shield)( bui|\))/i],[Et,[bt,sr],[kt,Rt]],[/(playstation \w+)/i],[Et,[bt,ir],[kt,Rt]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[Et,[bt,ar],[kt,Rt]],[/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i],[Et,[bt,yr],[kt,Dt]],[/((pebble))app/i,/(asus|google|lg|oppo) ((pixel |zen)?watch[\w ]*)( bui|\))/i],[bt,Et,[kt,Dt]],[/(ow(?:19|20)?we?[1-3]{1,3})/i],[Et,[bt,gr],[kt,Dt]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[Et,[bt,$t],[kt,Dt]],[/(opwwe\d{3})/i],[Et,[bt,dr],[kt,Dt]],[/(moto 360)/i],[Et,[bt,tr],[kt,Dt]],[/(smartwatch 3)/i],[Et,[bt,ir],[kt,Dt]],[/(g watch r)/i],[Et,[bt,Yt],[kt,Dt]],[/droid.+; (wt63?0{2,3})\)/i],[Et,[bt,Qt],[kt,Dt]],[/droid.+; (glass) \d/i],[Et,[bt,Mt],[kt,Dt]],[/(pico) (4|neo3(?: link|pro)?)/i],[bt,Et,[kt,Dt]],[/; (quest( \d| pro)?)/i],[Et,[bt,er],[kt,Dt]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[bt,[kt,Ot]],[/(aeobc)\b/i],[Et,[bt,Wt],[kt,Ot]],[/(homepod).+mac os/i],[Et,[bt,$t],[kt,Ot]],[/windows iot/i],[[kt,Ot]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[Et,[kt,Tt]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[Et,[kt,Bt]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[kt,Bt]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[kt,Tt]],[/droid .+?; ([\w\. -]+)( bui|\))/i],[Et,[bt,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[wt,[vt,Xt+"HTML"]],[/(arkweb)\/([\w\.]+)/i],[vt,wt],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[wt,[vt,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna|servo)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[vt,wt],[/ladybird\//i],[[vt,"LibWeb"]],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[wt,vt]],os:[[/microsoft (windows) (vista|xp)/i],[vt,wt],[/(windows (?:phone(?: os)?|mobile|iot))[\/ ]?([\d\.\w ]*)/i],[vt,[wt,$r,Ir]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[wt,$r,Ir],[vt,"Windows"]],[/[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[wt,/_/g,"."],[vt,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[vt,lr],[wt,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[wt,vt],[/(ubuntu) ([\w\.]+) like android/i],[[vt,/(.+)/,"$1 Touch"],wt],[/(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen|webos)\w*[-\/; ]?([\d\.]*)/i],[vt,wt],[/\(bb(10);/i],[wt,[vt,Ht]],[/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i],[wt,[vt,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[wt,[vt,_t+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[wt,[vt,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[wt,[vt,"watchOS"]],[/crkey\/([\d\.]+)/i],[wt,[vt,Ft+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[vt,nr],wt],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux)(?: arm\w*| x86\w*| ?)([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[vt,wt],[/(sunos) ?([\w\.\d]*)/i],[[vt,"Solaris"],wt],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[vt,wt]]},Or=function(e0,Rr){if(typeof e0===xt&&(Rr=e0,e0=tt),!(this instanceof Or))return new Or(e0,Rr).getResult();var wr=typeof Ye!==At&&Ye.navigator?Ye.navigator:tt,Tr=e0||(wr&&wr.userAgent?wr.userAgent:ft),n0=wr&&wr.userAgentData?wr.userAgentData:tt,Wr=Rr?ur(Nr,Rr):Nr,Jr=wr&&wr.userAgent==Tr;return this.getBrowser=function(){var t0={};return t0[vt]=tt,t0[wt]=tt,qr.call(t0,Tr,Wr.browser),t0[Ct]=_r(t0[wt]),Jr&&wr&&wr.brave&&typeof wr.brave.isBrave==gt&&(t0[vt]="Brave"),t0},this.getCPU=function(){var t0={};return t0[It]=tt,qr.call(t0,Tr,Wr.cpu),t0},this.getDevice=function(){var t0={};return t0[bt]=tt,t0[Et]=tt,t0[kt]=tt,qr.call(t0,Tr,Wr.device),Jr&&!t0[kt]&&n0&&n0.mobile&&(t0[kt]=Tt),Jr&&t0[Et]=="Macintosh"&&wr&&typeof wr.standalone!==At&&wr.maxTouchPoints&&wr.maxTouchPoints>2&&(t0[Et]="iPad",t0[kt]=Bt),t0},this.getEngine=function(){var t0={};return t0[vt]=tt,t0[wt]=tt,qr.call(t0,Tr,Wr.engine),t0},this.getOS=function(){var t0={};return t0[vt]=tt,t0[wt]=tt,qr.call(t0,Tr,Wr.os),Jr&&!t0[vt]&&n0&&n0.platform&&n0.platform!="Unknown"&&(t0[vt]=n0.platform.replace(/chrome os/i,nr).replace(/macos/i,lr)),t0},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return Tr},this.setUA=function(t0){return Tr=typeof t0===yt&&t0.length>Lt?Zr(t0,Lt):t0,this},this.setUA(Tr),this};Or.VERSION=nt,Or.BROWSER=xr([vt,wt,Ct]),Or.CPU=xr([It]),Or.DEVICE=xr([Et,bt,kt,Rt,Tt,Pt,Bt,Dt,Ot]),Or.ENGINE=Or.OS=xr([vt,wt]),Be.exports&&(Le=Be.exports=Or),Le.UAParser=Or;var Vr=typeof Ye!==At&&(Ye.jQuery||Ye.Zepto);if(Vr&&!Vr.ua){var Yr=new Or;Vr.ua=Yr.getResult(),Vr.ua.get=function(){return Yr.getUA()},Vr.ua.set=function(e0){Yr.setUA(e0);var Rr=Yr.getResult();for(var wr in Rr)Vr.ua[wr]=Rr[wr]}}})(typeof window=="object"?window:commonjsGlobal)})(uaParser,uaParser.exports);var uaParserExports=uaParser.exports;const UAParser=getDefaultExportFromCjs(uaParserExports);let uxType=null;const setUxType=Be=>{if(Be==="desktop"||Be==="mobile"||Be===null)uxType=Be;else throw new Error("Invalid value for uxType. Accepted values are 'desktop', 'mobile', or null.")},isIOS16=()=>{const Le=new UAParser().getResult();return Le.os.name==="iOS"&&Le.os.version.startsWith("16.")},getUxType=()=>uxType,parser$1=new UAParser,uaResult=parser$1.getResult(),isTouchDevice=()=>navigator.maxTouchPoints>0||"ontouchstart"in document.documentElement,isTabletWithoutAndroid=()=>!uaResult.device.type&&uaResult.os.name==="Linux"&&uaResult.browser.name==="Chrome"&&isTouchDevice(),mobile={isWebview:()=>["Chrome WebView","WebKit"].includes(uaResult.browser.name),Android:()=>uaResult.os.name==="Android",iOS:()=>{var Be,Le;return["iOS","iPadOS"].includes(uaResult.os.name||"")||uaResult.os.name!=="Mac OS"&&((Le=(Be=uaResult.device)==null?void 0:Be.vendor)==null?void 0:Le.toLowerCase())==="apple"},isIpad:()=>uaResult.device.model==="iPad",isFBInAppBrowser:()=>/\[FB/.test(uaResult.ua),isInstagramAppBrowser:()=>/Instagram/.test(uaResult.ua),any:()=>uxType?uxType==="mobile":!!(uaResult.device.type==="mobile"||uaResult.device.type==="tablet"||isTabletWithoutAndroid()),isChrome:()=>{const{browser:Be}=uaResult;return["Chrome"].includes(Be.name||"")},isDesktop:()=>uxType?uxType==="desktop":!mobile.any(),isAppleDevice:()=>["iOS","Mac OS","iPadOS"].includes(uaResult.os.name||""),isBrowserSupported:()=>{if(mobile.isWebview())return!0;const{browser:Be,os:Le}=uaResult;return Be.name==="Firefox"||Be.name==="Brave"||Be.name==="MiuiBrowser"?!1:Le.name==="iOS"||Le.name==="iPadOS"?["Mobile Safari","Chrome"].includes(Be.name||""):Le.name==="Mac OS"?["Safari","Chrome"].includes(Be.name||""):Be.name==="Chrome"}},browserName=uaResult.browser.name,desktop={isEdge:()=>browserName==="Edge",isChrome:()=>["Chrome","Chrome WebView","Chrome Headless"].includes(browserName),isFirefox:()=>["Firefox","Firefox Focus","Firefox Reality"].includes(browserName),isOpera:()=>["Opera","Opera Mini","Opera Touch"].includes(browserName),isSafari:()=>["Safari","Mobile Safari"].includes(browserName),isBrave:()=>browserName==="Brave",isXiaomiBrowser:()=>browserName==="MiuiBrowser"},getHasLiedBrowser=()=>{const Be=navigator.userAgent.toLowerCase(),Le=navigator.productSub;let Ye;if(Be.indexOf("edge/")>=0||Be.indexOf("iemobile/")>=0)return!1;if(Be.indexOf("opera mini")>=0)return!1;if(Be.indexOf("firefox/")>=0?Ye="Firefox":Be.indexOf("opera/")>=0||Be.indexOf(" opr/")>=0?Ye="Opera":Be.indexOf("chrome/")>=0?Ye="Chrome":Be.indexOf("safari/")>=0?Be.indexOf("android 1.")>=0||Be.indexOf("android 2.")>=0||Be.indexOf("android 3.")>=0||Be.indexOf("android 4.")>=0?Ye="AOSP":Ye="Safari":Be.indexOf("trident/")>=0?Ye="Internet Explorer":Ye="Other",(Ye==="Chrome"||Ye==="Safari"||Ye==="Opera")&&Le!=="20030107")return!0;const tt=eval.toString().length;if(tt===37&&Ye!=="Safari"&&Ye!=="Firefox"&&Ye!=="Other")return!0;if(tt===39&&Ye!=="Internet Explorer"&&Ye!=="Other")return!0;if(tt===33&&Ye!=="Chrome"&&Ye!=="AOSP"&&Ye!=="Opera"&&Ye!=="Other")return!0;let nt;try{throw"a"}catch(ft){try{ft.toSource(),nt=!0}catch{nt=!1}}return nt&&Ye!=="Firefox"&&Ye!=="Other"},getUAParserResults=()=>uaResult,isBrowserSimulation=()=>getUAParserResults().browser.name?isTouchDevice()&&navigator.maxTouchPoints!==1?!1:isTouchDevice()&&(getHasLiedBrowser()||window.navigator.userAgent.indexOf("Mobile")!==-1)||mobile.iOS()&&typeof window.ontouchstart>"u":!0,isMobile$1=mobile.any()&&!isBrowserSimulation(),isWebRtcSupported=()=>!!(window.navigator.mediaDevices&&window.navigator.mediaDevices.getUserMedia),isSurfaceTablet=()=>{const Be=navigator.userAgent.indexOf("Windows")>-1,Le=navigator.maxTouchPoints,Ye="ontouchstart"in window||Le>0||(matchMedia==null?void 0:matchMedia("(any-pointer: coarse)").matches);return Be&&Ye},deviceClass={MOBILE:"MOBILE",DESKTOP:"DESKTOP"},getDeviceClass=()=>isMobile$1?deviceClass.MOBILE:deviceClass.DESKTOP;function detectMobileOS(){return mobile.iOS()?"ios":mobile.Android()?"android":"other"}dayjs.extend(utc);function isChrome(){const Be=window.hasOwnProperty("chrome"),Le=window.navigator,Ye=Le.vendor,tt=!!(window.hasOwnProperty("opera")||window.hasOwnProperty("opr")||navigator.userAgent.includes("Opera")||navigator.userAgent.includes("OPR")),nt=Le.userAgent.indexOf("Edge")>-1;return Le.userAgent.match("CriOS")?!0:Be!==null&&typeof Be<"u"&&Ye==="Google Inc."&&tt===!1&&nt===!1}function isSafari(){return window.navigator.vendor&&window.navigator.vendor.indexOf("Apple")>-1&&window.navigator.userAgent&&window.navigator.userAgent.indexOf("CriOS")===-1&&window.navigator.userAgent.indexOf("FxiOS")===-1&&window.navigator.userAgent.indexOf("OPT")===-1&&window.navigator.userAgent.indexOf("OPR")===-1}const sleep=Be=>new Promise(Le=>setTimeout(Le,Be)),throttle$2=(Be,Le)=>{let Ye;return(...tt)=>{Ye||(Be.apply(void 0,tt),Ye=!0,setTimeout(()=>Ye=!1,Le))}},getLogObject=(Be,Le)=>({type:Be,payload:Le}),toImage$1=Be=>Be?`data:image/png;base64,${Be}`:"",getValidUrl=(Be="")=>{let Le=window.decodeURIComponent(Be);return Le=Le.trim().replace(/\s/g,""),/^(:\/\/)/.test(Le)?`http${Le}`:/^(f|ht)tps?:\/\//i.test(Le)?Le:`http://${Le}`},resizeImg=(Be,Le)=>{const Ye=document.createElement("canvas");Ye.width=Be.width<=Le?Be.width:Le,Ye.height=Be.width<=Le?Be.height:Be.height/(Be.width/Le);const tt=Ye.getContext("2d");return tt==null||tt.drawImage(Be,0,0,Ye.width,Ye.height),Ye.toDataURL()},rotateImg=Be=>{const Le=document.createElement("canvas");Le.width=Be.width,Le.height=Be.height;const Ye=Le.getContext("2d");Ye==null||Ye.drawImage(Be,0,0);const tt=Le.width;return Le.width=Le.height,Le.height=tt,Ye==null||Ye.clearRect(0,0,Le.width,Le.height),Ye==null||Ye.save(),Ye==null||Ye.translate(Le.width/2,Le.height/2),Ye==null||Ye.rotate(-90*Math.PI/180),Ye==null||Ye.drawImage(Be,-Be.width/2,-Be.height/2),Ye==null||Ye.restore(),Le},rotateCanvasVertically=Be=>{const Le=Be.getContext("2d");Le.scale(1,-1),Le.translate(0,-Be.height)},getBase64=Be=>new Promise((Le,Ye)=>{const tt=new FileReader;tt.onload=nt=>{var ht;const ft=(ht=nt==null?void 0:nt.target)==null?void 0:ht.result;Le(ft)},tt.readAsDataURL(Be),tt.onerror=nt=>Ye(nt)}),getScaledBase64=(Be,Le=1280,Ye=!1)=>new Promise((tt,nt)=>{const ft=new Image;ft.onload=()=>{const ht=Ye&&ft.width>ft.height?rotateImg(ft):ft,gt=resizeImg(ht,Le);URL.revokeObjectURL(ft.src),tt(gt)},ft.onerror=ht=>nt(ht),ft.src=URL.createObjectURL(Be)}),getScaledImageFromFile=async(Be,Le=1280,Ye=!1)=>({imageBase64:Be.type==="application/pdf"?await getBase64(Be):await getScaledBase64(Be,Le,Ye),fullImage:Be});function emptyFunc(...Be){}const reload=()=>{window.location.reload()},states$2=[{min:35e3,max:36999,code:"AL",long:"Alabama"},{min:99500,max:99999,code:"AK",long:"Alaska"},{min:85e3,max:86999,code:"AZ",long:"Arizona"},{min:71600,max:72999,code:"AR",long:"Arkansas"},{min:9e4,max:96699,code:"CA",long:"California"},{min:8e4,max:81999,code:"CO",long:"Colorado"},{min:6e3,max:6999,code:"CT",long:"Connecticut"},{min:19700,max:19999,code:"DE",long:"Delaware"},{min:32e3,max:34999,code:"FL",long:"Florida"},{min:3e4,max:31999,code:"GA",long:"Georgia"},{min:96700,max:96999,code:"HI",long:"Hawaii"},{min:83200,max:83999,code:"ID",long:"Idaho"},{min:6e4,max:62999,code:"IL",long:"Illinois"},{min:46e3,max:47999,code:"IN",long:"Indiana"},{min:5e4,max:52999,code:"IA",long:"Iowa"},{min:66e3,max:67999,code:"KS",long:"Kansas"},{min:4e4,max:42999,code:"KY",long:"Kentucky"},{min:7e4,max:71599,code:"LA",long:"Louisiana"},{min:3900,max:4999,code:"ME",long:"Maine"},{min:20600,max:21999,code:"MD",long:"Maryland"},{min:1e3,max:2799,code:"MA",long:"Massachusetts"},{min:48e3,max:49999,code:"MI",long:"Michigan"},{min:55e3,max:56999,code:"MN",long:"Minnesota"},{min:38600,max:39999,code:"MS",long:"Mississippi"},{min:63e3,max:65999,code:"MO",long:"Missouri"},{min:59e3,max:59999,code:"MT",long:"Montana"},{min:27e3,max:28999,code:"NC",long:"North Carolina"},{min:58e3,max:58999,code:"ND",long:"North Dakota"},{min:68e3,max:69999,code:"NE",long:"Nebraska"},{min:88900,max:89999,code:"NV",long:"Nevada"},{min:3e3,max:3899,code:"NH",long:"New Hampshire"},{min:7e3,max:8999,code:"NJ",long:"New Jersey"},{min:87e3,max:88499,code:"NM",long:"New Mexico"},{min:1e4,max:14999,code:"NY",long:"New York"},{min:43e3,max:45999,code:"OH",long:"Ohio"},{min:73e3,max:74999,code:"OK",long:"Oklahoma"},{min:97e3,max:97999,code:"OR",long:"Oregon"},{min:15e3,max:19699,code:"PA",long:"Pennsylvania"},{min:300,max:999,code:"PR",long:"Puerto Rico"},{min:2800,max:2999,code:"RI",long:"Rhode Island"},{min:29e3,max:29999,code:"SC",long:"South Carolina"},{min:57e3,max:57999,code:"SD",long:"South Dakota"},{min:37e3,max:38599,code:"TN",long:"Tennessee"},{min:75e3,max:79999,code:"TX",long:"Texas"},{min:88500,max:88599,code:"TX",long:"Texas"},{min:84e3,max:84999,code:"UT",long:"Utah"},{min:5e3,max:5999,code:"VT",long:"Vermont"},{min:22e3,max:24699,code:"VA",long:"Virgina"},{min:2e4,max:20599,code:"DC",long:"Washington DC"},{min:98e3,max:99499,code:"WA",long:"Washington"},{min:24700,max:26999,code:"WV",long:"West Virginia"},{min:53e3,max:54999,code:"WI",long:"Wisconsin"},{min:82e3,max:83199,code:"WY",long:"Wyoming"}],getUSState=Be=>{const Le=Number.parseInt(Be,10),Ye=states$2.filter(tt=>tt.min<=Le&&tt.max>=Le);return Ye.length===0||Ye.length>1?"":Ye[0].code},INCODE_DOMAINS={SAAS:"saas-api.incodesmile.com",STAGE:"incode-stageus-api.stage.incodetest.com",DEMO:"demo-api.incodesmile.com",STAGEK8S:"user-service-k8s.stage.incodetest.com",DEMOK8S:"user-service-k8s.demok8s.incodesmile.com"},allowedDomains=Object.values(INCODE_DOMAINS),isValidUrl=Be=>{try{return new URL(Be),!0}catch{return!1}},allowedDomain=Be=>{const Le=new URL(Be).hostname;return{isAllowed:allowedDomains.includes(Le),domain:Le}},isSaasEnv=Be=>{if(!isValidUrl(Be))return!1;const{isAllowed:Le,domain:Ye}=allowedDomain(Be);return isValidUrl(Be)&&Le&&Ye===INCODE_DOMAINS.SAAS},isStageEnv=Be=>{if(!isValidUrl(Be))return!1;const{isAllowed:Le,domain:Ye}=allowedDomain(Be);return isValidUrl(Be)&&Le&&Ye===INCODE_DOMAINS.STAGE},isDemoEnv=Be=>{if(!isValidUrl(Be))return!1;const{isAllowed:Le,domain:Ye}=allowedDomain(Be);return isValidUrl(Be)&&Le&&Ye===INCODE_DOMAINS.DEMO},isStageK8sEnv=Be=>{if(!isValidUrl(Be))return!1;const{isAllowed:Le,domain:Ye}=allowedDomain(Be);return isValidUrl(Be)&&Le&&Ye===INCODE_DOMAINS.STAGEK8S},formatDate=(Be,Le=!1)=>{if(!Be)return"";const Ye=Number(Be);return dayjs(Ye).isValid()?Le?dayjs.utc(Ye).format("YYYY-MM-DD"):dayjs.utc(Ye).format("MMM D YYYY"):""},camelToStartCase=Be=>{const Le=Be.replace(/([A-Z])/g," $1");return Le.charAt(0).toUpperCase()+Le.slice(1)},formatInputDate=Be=>{let Le=new Date(Be),Ye=""+(Le.getMonth()+1),tt=""+Le.getDate(),nt=Le.getFullYear();return Ye.length<2&&(Ye="0"+Ye),tt.length<2&&(tt="0"+tt),[nt,Ye,tt].join("-")},getKioskMaskPosition=()=>{var yt;const Be=(yt=document.querySelector("video"))==null?void 0:yt.getBoundingClientRect(),Le=Be.width,Ye=Be.height,tt=5.4/8.6,nt=.96,ht=+Le*.6,gt=+Ye*nt,At=gt*tt,xt=At>ht?ht:At;return{width:xt,height:gt,left:(+Le-xt)/2,top:(Ye-gt)/2}},getMaskPosition=(Be=!1)=>{const Le=window.innerWidth,Ye=window.innerHeight,tt=8.6/5.4,nt=localStorage.getItem("isIPhone14OrHigher")==="true"?Be?.8:.6:.86,ht=Ye*.9,gt=Le*nt,At=gt*tt,xt=At>ht?ht:At;return{width:gt,height:xt,left:(Le-gt)/2,top:(Ye-xt)/2}},capitalize$2=Be=>Be.charAt(0).toUpperCase()+Be.slice(1),getLanguageCodeWithCountry=Be=>Be!=null&&Be.startsWith("en")?"en-US":Be!=null&&Be.startsWith("es")?"es-ES":"en-US",b64toBlob=(Be,Le="",Ye=512)=>{const tt=atob(Be),nt=[];for(let ht=0;ht<tt.length;ht+=Ye){const gt=tt.slice(ht,ht+Ye),At=new Array(gt.length);for(let yt=0;yt<gt.length;yt++)At[yt]=gt.charCodeAt(yt);const xt=new Uint8Array(At);nt.push(xt)}return new Blob(nt,{type:Le})},isValidHttpUrl=Be=>{let Le;try{Le=new URL(Be)}catch{return!1}return Le.protocol==="http:"||Le.protocol==="https:"},triggerRedirect=Be=>{const Le=getValidUrl(Be);isValidHttpUrl(Le)?window.location.replace(Le):window.location.replace(Be)},getScreenRecordingEventCode=Be=>({frontId:"frontIdScanScreenRecordVideoUploaded",backId:"backIdScanScreenRecordVideoUploaded",selfie:"selfieScanScreenRecordVideoUploaded"})[Be]||"",detectBrowser=()=>isSafari()?"Safari":isChrome()?"Chrome":isOpera()?"Opera":isFirefox$1()?"Firefox":desktop.isBrave()?"Brave":desktop.isXiaomiBrowser()?"Xiaomi":"unknown",isOpera=()=>!!(window.hasOwnProperty("opera")||window.hasOwnProperty("opr")||navigator.userAgent.includes("Opera")||navigator.userAgent.includes("OPR")||navigator.userAgent.includes("OPT")),isFirefox$1=()=>navigator.userAgent.indexOf("Firefox")>-1||navigator.userAgent.indexOf("FxiOS")>-1;async function pollUntil(Be,Le,Ye){const tt=async()=>{try{const nt=await Be();return Le(nt)?nt:(await sleep(Ye),tt())}catch(nt){throw nt}};return tt()}const validateCPF=Be=>{if(!Be||(Be=Be.replace(/[^\d]+/g,""),Be.length!==11||Be.match(/(\d)\1{10}/)))return!1;let Le=0,Ye;for(let tt=1;tt<=9;tt++)Le=Le+Number.parseInt(Be.substring(tt-1,tt))*(11-tt);if(Ye=Le*10%11,(Ye===10||Ye===11)&&(Ye=0),Ye!==Number.parseInt(Be.substring(9,10)))return!1;Le=0;for(let tt=1;tt<=10;tt++)Le=Le+Number.parseInt(Be.substring(tt-1,tt))*(12-tt);return Ye=Le*10%11,(Ye===10||Ye===11)&&(Ye=0),Ye===Number.parseInt(Be.substring(10,11))},getVideoSelfieModules=(Be,{checkIdScan:Le,checkDocumentScan:Ye,checkVoiceConsent:tt,questionsCount:nt,showPassport:ft})=>[...Le??Be.checkIdScan?["front"]:[],...!Be.onlyFront&&!ft&&(Le??Be.checkIdScan)?["back"]:[],...Ye??Be.checkDocumentScan?["poa"]:[],"selfie",...(nt??Be.questionsCount)>0&&(tt??Be.checkVoiceConsent)?["questions"]:[],...tt??Be.checkVoiceConsent?["speech"]:[]],countryCodeToInfo={ABW:{name:"Aruba",flag:"🇦🇼"},AFG:{name:"Afghanistan",flag:"🇦🇫"},AGO:{name:"Angola",flag:"🇦🇴"},AIA:{name:"Anguilla",flag:"🇦🇮"},ALA:{name:"Åland Islands",flag:"🇦🇽"},ALB:{name:"Albania",flag:"🇦🇱"},AND:{name:"Andorra",flag:"🇦🇩"},ARE:{name:"United Arab Emirates",flag:"🇦🇪"},ARG:{name:"Argentina",flag:"🇦🇷"},ARM:{name:"Armenia",flag:"🇦🇲"},ASM:{name:"American Samoa",flag:"🇦🇸"},ATA:{name:"Antarctica",flag:"🇦🇶"},ATF:{name:"French Southern Territories",flag:"🇹🇫"},ATG:{name:"Antigua and Barbuda",flag:"🇦🇬"},AUS:{name:"Australia",flag:"🇦🇺"},AUT:{name:"Austria",flag:"🇦🇹"},AZE:{name:"Azerbaijan",flag:"🇦🇿"},BDI:{name:"Burundi",flag:"🇧🇮"},BEL:{name:"Belgium",flag:"🇧🇪"},BEN:{name:"Benin",flag:"🇧🇯"},BES:{name:"Bonaire, Sint Eustatius and Saba",flag:"🇧🇶"},BFA:{name:"Burkina Faso",flag:"🇧🇫"},BGD:{name:"Bangladesh",flag:"🇧🇩"},BGR:{name:"Bulgaria",flag:"🇧🇬"},BHR:{name:"Bahrain",flag:"🇧🇭"},BHS:{name:"Bahamas",flag:"🇧🇸"},BIH:{name:"Bosnia and Herzegovina",flag:"🇧🇦"},BLM:{name:"Saint Barthélemy",flag:"🇧🇱"},BLR:{name:"Belarus",flag:"🇧🇾"},BLZ:{name:"Belize",flag:"🇧🇿"},BMU:{name:"Bermuda",flag:"🇧🇲"},BOL:{name:"Bolivia, Plurinational State of",flag:"🇧🇴"},BRA:{name:"Brasil",flag:"🇧🇷"},BRB:{name:"Barbados",flag:"🇧🇧"},BRN:{name:"Brunei Darussalam",flag:"🇧🇳"},BTN:{name:"Bhutan",flag:"🇧🇹"},BVT:{name:"Bouvet Island",flag:"🇧🇻"},BWA:{name:"Botswana",flag:"🇧🇼"},CAF:{name:"Central African Republic",flag:"🇨🇫"},CAN:{name:"Canada",flag:"🇨🇦"},CCK:{name:"Cocos (Keeling) Islands",flag:"🇨🇨"},CHE:{name:"Switzerland",flag:"🇨🇭"},CHL:{name:"Chile",flag:"🇨🇱"},CHN:{name:"China",flag:"🇨🇳"},CIV:{name:"Côte d'Ivoire",flag:"🇨🇮"},CMR:{name:"Cameroon",flag:"🇨🇲"},COD:{name:"Congo, Democratic Republic of the",flag:"🇨🇩"},COG:{name:"Congo",flag:"🇨🇬"},COK:{name:"Cook Islands",flag:"🇨🇰"},COL:{name:"Colombia",flag:"🇨🇴"},COM:{name:"Comoros",flag:"🇰🇲"},CPV:{name:"Cabo Verde",flag:"🇨🇻"},CRI:{name:"Costa Rica",flag:"🇨🇷"},CUB:{name:"Cuba",flag:"🇨🇺"},CUW:{name:"Curaçao",flag:"🇨🇼"},CXR:{name:"Christmas Island",flag:"🇨🇽"},CYM:{name:"Cayman Islands",flag:"🇰🇾"},CYP:{name:"Cyprus",flag:"🇨🇾"},CZE:{name:"Czechia",flag:"🇨🇿"},DEU:{name:"Germany",flag:"🇩🇪"},DJI:{name:"Djibouti",flag:"🇩🇯"},DMA:{name:"Dominica",flag:"🇩🇲"},DNK:{name:"Denmark",flag:"🇩🇰"},DOM:{name:"Dominican Republic",flag:"🇩🇴"},DZA:{name:"Algeria",flag:"🇩🇿"},ECU:{name:"Ecuador",flag:"🇪🇨"},EGY:{name:"Egypt",flag:"🇪🇬"},ERI:{name:"Eritrea",flag:"🇪🇷"},ESH:{name:"Western Sahara",flag:"🇪🇭"},ESP:{name:"Spain",flag:"🇪🇸"},EST:{name:"Estonia",flag:"🇪🇪"},ETH:{name:"Ethiopia",flag:"🇪🇹"},FIN:{name:"Finland",flag:"🇫🇮"},FJI:{name:"Fiji",flag:"🇫🇯"},FLK:{name:"Falkland Islands (Malvinas)",flag:"🇫🇰"},FRA:{name:"France",flag:"🇫🇷"},FRO:{name:"Faroe Islands",flag:"🇫🇴"},FSM:{name:"Micronesia, Federated States of",flag:"🇫🇲"},GAB:{name:"Gabon",flag:"🇬🇦"},GBR:{name:"United Kingdom",flag:"🇬🇧"},GEO:{name:"Georgia",flag:"🇬🇪"},GGY:{name:"Guernsey",flag:"🇬🇬"},GHA:{name:"Ghana",flag:"🇬🇭"},GIB:{name:"Gibraltar",flag:"🇬🇮"},GIN:{name:"Guinea",flag:"🇬🇳"},GLP:{name:"Guadeloupe",flag:"🇬🇵"},GMB:{name:"Gambia",flag:"🇬🇲"},GNB:{name:"Guinea-Bissau",flag:"🇬🇼"},GNQ:{name:"Equatorial Guinea",flag:"🇬🇶"},GRC:{name:"Greece",flag:"🇬🇷"},GRD:{name:"Grenada",flag:"🇬🇩"},GRL:{name:"Greenland",flag:"🇬🇱"},GTM:{name:"Guatemala",flag:"🇬🇹"},GUF:{name:"French Guiana",flag:"🇬🇫"},GUM:{name:"Guam",flag:"🇬🇺"},GUY:{name:"Guyana",flag:"🇬🇾"},HKG:{name:"Hong Kong",flag:"🇭🇰"},HMD:{name:"Heard Island and McDonald Islands",flag:"🇭🇲"},HND:{name:"Honduras",flag:"🇭🇳"},HRV:{name:"Croatia",flag:"🇭🇷"},HTI:{name:"Haiti",flag:"🇭🇹"},HUN:{name:"Hungary",flag:"🇭🇺"},IDN:{name:"Indonesia",flag:"🇮🇩"},IMN:{name:"Isle of Man",flag:"🇮🇲"},IND:{name:"India",flag:"🇮🇳"},IOT:{name:"British Indian Ocean Territory",flag:"🇮🇴"},IRL:{name:"Ireland",flag:"🇮🇪"},IRN:{name:"Iran",flag:"🇮🇷"},IRQ:{name:"Iraq",flag:"🇮🇶"},ISL:{name:"Iceland",flag:"🇮🇸"},ISR:{name:"Israel",flag:"🇮🇱"},ITA:{name:"Italy",flag:"🇮🇹"},JAM:{name:"Jamaica",flag:"🇯🇲"},JEY:{name:"Jersey",flag:"🇯🇪"},JOR:{name:"Jordan",flag:"🇯🇴"},JPN:{name:"Japan",flag:"🇯🇵"},KAZ:{name:"Kazakhstan",flag:"🇰🇿"},KEN:{name:"Kenya",flag:"🇰🇪"},KGZ:{name:"Kyrgyzstan",flag:"🇰🇬"},KHM:{name:"Cambodia",flag:"🇰🇭"},KIR:{name:"Kiribati",flag:"🇰🇮"},KNA:{name:"Saint Kitts and Nevis",flag:"🇰🇳"},KOR:{name:"Korea, Republic of",flag:"🇰🇷"},KWT:{name:"Kuwait",flag:"🇰🇼"},LAO:{name:"Lao People's Democratic Republic",flag:"🇱🇦"},LBN:{name:"Lebanon",flag:"🇱🇧"},LBR:{name:"Liberia",flag:"🇱🇷"},LBY:{name:"Libya",flag:"🇱🇾"},LCA:{name:"Saint Lucia",flag:"🇱🇨"},LIE:{name:"Liechtenstein",flag:"🇱🇮"},LKA:{name:"Sri Lanka",flag:"🇱🇰"},LSO:{name:"Lesotho",flag:"🇱🇸"},LTU:{name:"Lithuania",flag:"🇱🇹"},LUX:{name:"Luxembourg",flag:"🇱🇺"},LVA:{name:"Latvia",flag:"🇱🇻"},MAC:{name:"Macao",flag:"🇲🇴"},MAF:{name:"Saint Martin (French part)",flag:"🇲🇫"},MAR:{name:"Morocco",flag:"🇲🇦"},MCO:{name:"Monaco",flag:"🇲🇨"},MDA:{name:"Moldova",flag:"🇲🇩"},MDG:{name:"Madagascar",flag:"🇲🇬"},MDV:{name:"Maldives",flag:"🇲🇻"},MEX:{name:"Mexico",flag:"🇲🇽"},MHL:{name:"Marshall Islands",flag:"🇲🇭"},MKD:{name:"North Macedonia",flag:"🇲🇰"},MLI:{name:"Mali",flag:"🇲🇱"},MLT:{name:"Malta",flag:"🇲🇹"},MMR:{name:"Myanmar",flag:"🇲🇲"},MNE:{name:"Montenegro",flag:"🇲🇪"},MNG:{name:"Mongolia",flag:"🇲🇳"},MNP:{name:"Northern Mariana Islands",flag:"🇲🇵"},MOZ:{name:"Mozambique",flag:"🇲🇿"},MRT:{name:"Mauritania",flag:"🇲🇷"},MSR:{name:"Montserrat",flag:"🇲🇸"},MTQ:{name:"Martinique",flag:"🇲🇶"},MUS:{name:"Mauritius",flag:"🇲🇺"},MWI:{name:"Malawi",flag:"🇲🇼"},MYS:{name:"Malaysia",flag:"🇲🇾"},MYT:{name:"Mayotte",flag:"🇾🇹"},NAM:{name:"Namibia",flag:"🇳🇦"},NCL:{name:"New Caledonia",flag:"🇳🇨"},NER:{name:"Niger",flag:"🇳🇪"},NFK:{name:"Norfolk Island",flag:"🇳🇫"},NGA:{name:"Nigeria",flag:"🇳🇬"},NIC:{name:"Nicaragua",flag:"🇳🇮"},NIU:{name:"Niue",flag:"🇳🇺"},NLD:{name:"Netherlands",flag:"🇳🇱"},NOR:{name:"Norway",flag:"🇳🇴"},NPL:{name:"Nepal",flag:"🇳🇵"},NRU:{name:"Nauru",flag:"🇳🇷"},NZL:{name:"New Zealand",flag:"🇳🇿"},OMN:{name:"Oman",flag:"🇴🇲"},PAK:{name:"Pakistan",flag:"🇵🇰"},PAN:{name:"Panama",flag:"🇵🇦"},PCN:{name:"Pitcairn",flag:"🇵🇳"},PER:{name:"Peru",flag:"🇵🇪"},PHL:{name:"Philippines",flag:"🇵🇭"},PLW:{name:"Palau",flag:"🇵🇼"},PNG:{name:"Papua New Guinea",flag:"🇵🇬"},POL:{name:"Poland",flag:"🇵🇱"},PRI:{name:"Puerto Rico",flag:"🇵🇷"},PRK:{name:"Korea (Democratic People's Republic of)",flag:"🇰🇵"},PRT:{name:"Portugal",flag:"🇵🇹"},PRY:{name:"Paraguay",flag:"🇵🇾"},PSE:{name:"Palestine, State of",flag:"🇵🇸"},PYF:{name:"French Polynesia",flag:"🇵🇫"},QAT:{name:"Qatar",flag:"🇶🇦"},REU:{name:"Réunion",flag:"🇷🇪"},ROU:{name:"Romania",flag:"🇷🇴"},RUS:{name:"Russian Federation",flag:"🇷🇺"},RWA:{name:"Rwanda",flag:"🇷🇼"},SAU:{name:"Saudi Arabia",flag:"🇸🇦"},SDN:{name:"Sudan",flag:"🇸🇩"},SEN:{name:"Senegal",flag:"🇸🇳"},SGP:{name:"Singapore",flag:"🇸🇬"},SGS:{name:"South Georgia and the South Sandwich Islands",flag:"🇬🇸"},SHN:{name:"Saint Helena, Ascension and Tristan da Cunha",flag:"🇸🇭"},SJM:{name:"Svalbard and Jan Mayen",flag:"🇸🇯"},SLB:{name:"Solomon Islands",flag:"🇸🇧"},SLE:{name:"Sierra Leone",flag:"🇸🇱"},SLV:{name:"El Salvador",flag:"🇸🇻"},SMR:{name:"San Marino",flag:"🇸🇲"},SOM:{name:"Somalia",flag:"🇸🇴"},SPM:{name:"Saint Pierre and Miquelon",flag:"🇵🇲"},SRB:{name:"Serbia",flag:"🇷🇸"},SSD:{name:"South Sudan",flag:"🇸🇸"},STP:{name:"Sao Tome and Principe",flag:"🇸🇹"},SUR:{name:"Suriname",flag:"🇸🇷"},SVK:{name:"Slovakia",flag:"🇸🇰"},SVN:{name:"Slovenia",flag:"🇸🇮"},SWE:{name:"Sweden",flag:"🇸🇪"},SWZ:{name:"Eswatini",flag:"🇸🇿"},SXM:{name:"Sint Maarten (Dutch part)",flag:"🇸🇽"},SYC:{name:"Seychelles",flag:"🇸🇨"},SYR:{name:"Syrian Arab Republic",flag:"🇸🇾"},TCA:{name:"Turks and Caicos Islands",flag:"🇹🇨"},TCD:{name:"Chad",flag:"🇹🇩"},TGO:{name:"Togo",flag:"🇹🇬"},THA:{name:"Thailand",flag:"🇹🇭"},TJK:{name:"Tajikistan",flag:"🇹🇯"},TKL:{name:"Tokelau",flag:"🇹🇰"},TKM:{name:"Turkmenistan",flag:"🇹🇲"},TLS:{name:"Timor-Leste",flag:"🇹🇱"},TON:{name:"Tonga",flag:"🇹🇴"},TTO:{name:"Trinidad and Tobago",flag:"🇹🇹"},TUN:{name:"Tunisia",flag:"🇹🇳"},TUR:{name:"Türkiye",flag:"🇹🇷"},TUV:{name:"Tuvalu",flag:"🇹🇻"},TWN:{name:"Taiwan",flag:"🇹🇼"},TZA:{name:"Tanzania",flag:"🇹🇿"},UGA:{name:"Uganda",flag:"🇺🇬"},UKR:{name:"Ukraine",flag:"🇺🇦"},UMI:{name:"United States Minor Outlying Islands",flag:"🇺🇲"},URY:{name:"Uruguay",flag:"🇺🇾"},USA:{name:"United States of America",flag:"🇺🇸"},UZB:{name:"Uzbekistan",flag:"🇺🇿"},VAT:{name:"Holy See",flag:"🇻🇦"},VCT:{name:"Saint Vincent and the Grenadines",flag:"🇻🇨"},VEN:{name:"Venezuela",flag:"🇻🇪"},VGB:{name:"Virgin Islands (British)",flag:"🇻🇬"},VIR:{name:"Virgin Islands (U.S.)",flag:"🇻🇮"},VNM:{name:"Vietnam",flag:"🇻🇳"},VUT:{name:"Vanuatu",flag:"🇻🇺"},WLF:{name:"Wallis and Futuna",flag:"🇼🇫"},WSM:{name:"Samoa",flag:"🇼🇸"},YEM:{name:"Yemen",flag:"🇾🇪"},ZAF:{name:"South Africa",flag:"🇿🇦"},ZMB:{name:"Zambia",flag:"🇿🇲"},ZWE:{name:"Zimbabwe",flag:"🇿🇼"}},getFormattedCountryName=Be=>{const Le=countryCodeToInfo[Be];return Le?`${Le.flag} ${Le.name}`:void 0},blobToBase64=Be=>new Promise((Le,Ye)=>{const tt=new FileReader;tt.onloadend=()=>{const nt=tt.result;Le(nt.split(",")[1])},tt.onerror=Ye,tt.readAsDataURL(Be)}),useEventListener=(Be,Le,Ye=window)=>{const tt=React.useRef(()=>{});React.useEffect(()=>{tt.current=Le},[Le]),React.useEffect(()=>{if(!(Ye&&Ye.addEventListener))return;const ft=ht=>{var gt;return(gt=tt==null?void 0:tt.current)==null?void 0:gt.call(tt,ht)};return Ye.addEventListener(Be,ft),()=>{Ye.removeEventListener(Be,ft)}},[Be,Ye])},globalState={},createGlobalState=(Be,Le,Ye)=>(globalState[Be]||(globalState[Be]={callbacks:[],value:Ye}),globalState[Be].callbacks.push(Le),{deregister(){const tt=globalState[Be].callbacks,nt=tt.indexOf(Le);nt>-1&&tt.splice(nt,1)},emit(tt){globalState[Be].value!==tt&&(globalState[Be].value=tt,globalState[Be].callbacks.forEach(nt=>{Le!==nt&&nt(tt)}))}}),usePersistedState=(Be,Le,{get:Ye,set:tt})=>{const nt=React.useRef(null),[ft,ht]=React.useState(()=>Ye(Le,Be));return useEventListener("storage",({key:gt,newValue:At})=>{if(gt===Le){const xt=JSON.parse(At);ft!==xt&&ht(xt)}}),React.useEffect(()=>(nt.current=createGlobalState(Le,ht,Be),()=>{var gt,At;(At=(gt=nt==null?void 0:nt.current)==null?void 0:gt.deregister)==null||At.call(gt)}),[]),React.useEffect(()=>{var gt,At;tt(Le,ft),(At=(gt=nt==null?void 0:nt.current)==null?void 0:gt.emit)==null||At.call(gt,ft)},[Le,tt,ft]),[ft,ht]},createStorage=Be=>({get(Le,Ye){const tt=Be.getItem(Le);return tt===null?typeof Ye=="function"?Ye():Ye:JSON.parse(tt)},set(Le,Ye){Be.setItem(Le,JSON.stringify(Ye))}}),createPersistedState=(Be,Le)=>{if(!Le&&typeof window<"u")try{Le=localStorage}catch{Le=null}if(Le){const Ye=createStorage(Le);return tt=>usePersistedState(tt,Be,Ye)}return React.useState},useSessionState=createPersistedState("sessionData");function usePermissions(){const[Be,Le]=React.useState(!1),[Ye,tt]=React.useState(!1);return React.useEffect(()=>{var nt;if(!navigator.permissions){tt(!0);return}(nt=navigator.permissions)==null||nt.query({name:"camera"}).then(ft=>{ft.state==="granted"&&(Le(!0),tt(!1)),ft.state==="prompt"&&tt(!0)}).catch(()=>{Le(!1),tt(!1)})},[]),[Be,Le,Ye]}function useInterval(Be,Le){const Ye=React.useRef(Be),tt=React.useRef(null);return Ye.current=Be,React.useEffect(()=>{function nt(){Ye.current()}if(Le!==null)return tt.current=setInterval(nt,Le),()=>clearInterval(tt.current)},[Le]),tt.current}const resize=async()=>{await sleep(100);const Be=window.innerWidth*.01,Le=window.innerHeight*.01;document.documentElement.style.setProperty("--vw",`${Be}px`),document.documentElement.style.setProperty("--vh",`${Le}px`)},useResize=Be=>{const{isRotated:Le}=useOrientation();useEventListener("resize",()=>{resize()},window),React.useLayoutEffect(()=>{mobile.any()&&Le&&!Be||resize()},[Le,Be])},isPortrait=()=>{var Be;return((Be=screen.orientation)==null?void 0:Be.type.includes("portrait"))||Math.abs(window.orientation)===0};function useOrientation(){const Be=getUxType(),Le=Be==="mobile"?!1:!isPortrait(),[Ye,tt]=React.useState(Le),nt=mobile.isDesktop();return React.useEffect(()=>{if(Be==="mobile")return;function ft(){tt(!isPortrait()),document.activeElement instanceof HTMLElement&&document.activeElement.blur(),window.focus()}return screen.orientation?screen.orientation.addEventListener("change",ft):window.addEventListener("orientationchange",ft),()=>{screen.orientation?screen.orientation.removeEventListener("change",ft):window.removeEventListener("orientationchange",ft)}},[Be]),useEventListener("resize",()=>{isMobile$1&&tt(!isPortrait())},window),{isRotated:nt?!1:Ye}}const handleUnmountRoot=(Be,Le,Ye)=>(...tt)=>{setTimeout(()=>{if("createRoot"in ReactDOM__namespace)Le.unmount();else if(typeof ReactDOM__namespace.unmountComponentAtNode=="function")ReactDOM__namespace.unmountComponentAtNode(Ye);else throw new Error("Unsupported React version");Be(...tt)},0)},createRoot$1=Be=>{if("createRoot"in ReactDOM__namespace)return ReactDOM__namespace.createRoot(Be);if(typeof ReactDOM__namespace.render=="function")return ReactDOM__namespace.render;throw new Error("Unsupported React version")},customRender=(Be,Le,Ye)=>{if("createRoot"in ReactDOM__namespace)Ye.render(Be);else if(typeof Ye=="function")Ye(Be,Le);else throw new Error("Unsupported React version")};function useQuery(){return React.useMemo(()=>new URLSearchParams(window.location.search),[])}function useSteps(Be=0){const[Le,Ye]=React.useState(Be),tt=React.useCallback(()=>{Ye(nt=>nt+1)},[]);return{currentStep:Le,setStep:Ye,nextStep:tt}}function useOffline(Be=emptyFunc){useEventListener("offline",()=>{navigator.onLine||Be()})}function useToggle(Be=!1){const[Le,Ye]=React.useState(Be);return{state:Le,actions:{on:()=>{Ye(!0)},off:()=>{Ye(!1)},toggle:()=>{Ye(nt=>!nt)},reset:()=>{Ye(Be)}}}}function useClickOutside(Be,Le){const Ye=React.useRef();React.useEffect(()=>{Ye.current=Le;const tt=nt=>{var ft;!(Be!=null&&Be.current)||(ft=Be==null?void 0:Be.current)!=null&&ft.contains(nt.target)||Le()};return document.addEventListener("mousedown",tt,!0),document.addEventListener("touchstart",tt,!0),()=>{document.removeEventListener("mousedown",tt),document.removeEventListener("touchstart",tt)}},[Le,Be])}function useScript(Be,Le){React.useEffect(()=>{const Ye=document.createElement("script");return Ye.src=Be,Ye.type="text/javascript",Ye.async=!0,Ye.onload=Le,document.body.appendChild(Ye),()=>{document.body.removeChild(Ye)}},[Be])}const useUpdateQueryParamsAndReload=()=>{const Be=window.location;return Ye=>{const tt=new URLSearchParams(Be.search);Object.keys(Ye).forEach(ft=>{const ht=Ye[ft];ht==null?tt.delete(ft):tt.set(ft,ht)});const nt=`${Be.pathname}?${tt.toString()}`;window.location.href=nt}},useDocumentTitle=Be=>{React.useEffect(()=>{document.title=Be},[Be])},useAutoFocus=(Be,Le=!1)=>{React.useEffect(()=>(Be.current&&(Be.current.focus(),Be.current.blur()),()=>{Le&&Be.current&&Be.current.blur()}),[Be,Le])};function useDeviceId(){const[Be,Le]=React.useState();return[Be,tt=>{Le(tt)}]}function useDebouncedValue(Be,Le=250){const[Ye,tt]=React.useState(Be);return React.useEffect(()=>{const nt=setTimeout(()=>{tt(Be)},Le);return()=>{clearTimeout(nt)}},[Be,Le]),Ye}function useViewportSize(){const[Be,Le]=React.useState({width:window.innerWidth,height:window.innerHeight});return React.useEffect(()=>{let Ye=null,tt=null;const nt=()=>{tt&&window.clearTimeout(tt),tt=window.setTimeout(()=>{Le({width:document.documentElement.clientWidth,height:document.documentElement.clientHeight})},100)};return"ResizeObserver"in window?(Ye=new ResizeObserver(nt),Ye.observe(document.documentElement)):window.addEventListener("resize",nt),nt(),()=>{Ye?Ye.disconnect():window.removeEventListener("resize",nt),tt&&window.clearTimeout(tt)}},[]),Be}const backCameraKeywords=["rear","back","rück","arrière","trasera","trás","traseira","posteriore","后面","後面","背面","后置","後置","背置","задней","الخلفية","후","arka","achterzijde","หลัง","baksidan","bagside","sau","bak","tylny","takakamera","belakang","אחורית","πίσω","spate","hátsó","zadní","darrere","zadná","задня","stražnja","belakang","बैक"],cameraObjects=new Map;let getCamerasPromise;function isBackCameraLabel(Be){const Le=Be.toLowerCase();return backCameraKeywords.some(Ye=>Le.includes(Ye))}function createCamera(Be,Le,Ye){var yt,Ct;if(cameraObjects.has(Be.deviceId))return cameraObjects.get(Be.deviceId);const tt=Be.label,nt=Be.getCapabilities(),ft=(yt=nt==null?void 0:nt.width)==null?void 0:yt.max,ht=(Ct=nt==null?void 0:nt.height)==null?void 0:Ct.max,gt=nt==null?void 0:nt.aspectRatio;let At;Ye.every(Et=>Et.label==="")?At=Ye.length===1||Le+1<=Ye.length/2?"front":"back":At=isBackCameraLabel(tt)?"back":"front";const xt={deviceId:Be.deviceId,label:tt,cameraType:At,width:ft,height:ht,aspectRatio:gt};return cameraObjects.set(Be.deviceId,xt),xt}function extractCamerasFromDevices(Be){const Le=Be.filter(Ye=>Ye.kind==="videoinput").map(createCamera);if(Le.length>1&&!Le.some(Ye=>Ye.cameraType==="back")){let Ye=Le.length-1;const tt=Le.map(nt=>{const ft=nt.label.match(/\b([0-9]+)MP?\b/i);return ft!=null?parseInt(ft[1],10):NaN});tt.some(nt=>isNaN(nt))||(Ye=tt.lastIndexOf(Math.max(...tt))),Le[Ye].cameraType="back"}return Le}function adjustCamerasFromCameraStream(Be,Le){const Ye=Be.getSettings(),tt=Le.find(nt=>nt.deviceId===Ye.deviceId||nt.label!==""&&nt.label===Be.label);if(tt!==void 0){if((Ye!=null&&Ye.facingMode==="environment"||isBackCameraLabel(Be.label))&&Le.length>1)return Le.forEach(ft=>{ft.deviceId===tt.deviceId?ft.cameraType="back":isBackCameraLabel(ft.label)||(ft.cameraType="front")}),Le.filter(ft=>ft.cameraType==="back").sort((ft,ht)=>ft.label.localeCompare(ht.label))[0];if(Le.length===1)return tt}}function getCameras(){return getCamerasPromise!=null||(getCamerasPromise=new Promise(async Be=>{const Le=await navigator.mediaDevices.enumerateDevices(),Ye=extractCamerasFromDevices(Le);return Be(Ye)})),getCamerasPromise}function getUserMediaVideoParams(Be){const Le={resizeMode:"none",facingMode:"environment"};switch(Be){case 0:return{...Le,height:{ideal:720},aspectRatio:{ideal:19.5/9}};case 1:return{...Le,width:{min:3200,ideal:3840,max:4096},height:{min:1800,ideal:2160,max:2400}};case 2:return{...Le,width:{min:1400,ideal:1920,max:2160},height:{min:900,ideal:1080,max:1440}};case 3:return{...Le,width:{min:640,ideal:640,max:800},height:{min:480,ideal:480,max:600}};case 4:return{...Le,width:{min:640,ideal:800,max:960},height:{min:480,ideal:480,max:480}};default:return{}}}const selfieConstraints={video:{facingMode:"user",height:{ideal:480},width:{ideal:640}}},killStream=(Be,Le=!1)=>{if(Le){Be.getVideoTracks().forEach(Ye=>Ye.stop());return}Be.getTracks().forEach(Ye=>Ye.stop())},selfieChecks=({confidence:Be,isBright:Le,hasLenses:Ye,hasFaceMask:tt,hasClosedEyes:nt,hasHeadCover:ft},{hatCheckEnabled:ht=!1,lensesCheckEnabled:gt=!1,maskCheckEnabled:At=!1,eyesClosedCheckEnabled:xt=!1})=>{const yt=Be===0,Ct=Le,Et=gt?!Ye:!0,vt=At?!tt:!0,kt=xt?!nt:!0,bt=ht?!ft:!0;return{livenessPassed:yt,brightnessPassed:Ct,lensesPassed:Et,maskPassed:vt,closedEyesPassed:kt,headCoverPassed:bt,hasErrors:!yt||!Ct||!Et||!vt||!kt||!bt}},logSelfieChecks=(Be,Le,Ye,tt,nt,ft,ht)=>{const gt=[{passed:Le.headCoverPassed,log:"headCoverDected",notification:"notifications.removeHeadwear",description:getSelfieTranslation("removeHeadwear",ht),message:"Hat detected"},{passed:Le.lensesPassed,log:"lensesDetected",notification:"notifications.lenses",description:getSelfieTranslation("lenses",ht),message:"Lenses detected"},{passed:Le.brightnessPassed,log:"badBrightness",notification:"notifications.brightness",description:"notifications.brightnessDescription",message:"Bad brightness"},{passed:Le.maskPassed,log:"badMask",notification:"notifications.mask",description:getSelfieTranslation("mask",ht),message:"Mask detected"},{passed:Le.livenessPassed,log:"spoofAttempt",notification:"notifications.spoof",description:"notifications.spoofDescription",message:"Spoof attempt detected"},{passed:Le.closedEyesPassed,log:"closedEyes",notification:"notifications.closedEyes",description:getSelfieTranslation("closedEyes",ht),message:"Closed eyes detected"}];for(const{passed:At,log:xt,message:yt,notification:Ct,description:Et}of gt)if(!At){Ye(getLogObject(xt,{response:Be,message:yt})),tt(nt(Ct)),ft==null||ft(nt(Et));break}},getIdealContraintsDefault=(Be=720)=>({audio:!1,video:{resizeMode:"none",facingMode:"environment",height:{ideal:Be},aspectRatio:{ideal:19.5/9}}}),getStream=async(Be,Le=0)=>{if(Be==="user")return navigator.mediaDevices.getUserMedia(selfieConstraints);if(mobile.iOS()){const tt=await navigator.mediaDevices.getUserMedia(getIOSConstraints());return await tt.getVideoTracks()[0].applyConstraints({advanced:[{focusDistance:1}]}),tt}try{const tt=await getCameras(),nt=await navigator.mediaDevices.getUserMedia({video:getUserMediaVideoParams(Le)}),ft=nt.getVideoTracks()[0],ht=adjustCamerasFromCameraStream(ft,tt);killStream(nt);let gt=1280,At=720;if(Le>1){const{width:Ct,height:Et}=getUserMediaVideoParams(Le);gt=Ct.ideal,At=Et.ideal}const xt={video:{deviceId:{exact:ht.deviceId},width:{ideal:gt},height:{ideal:At}}};return await navigator.mediaDevices.getUserMedia(xt)}catch(tt){if(Le===5)throw tt;return getStream(Be,Le+1)}},getIOSConstraints=()=>getIdealContraintsDefault(localStorage.getItem("isHighPerformance")==="true"?1080:720);async function chooseNonUltraFrontCameraMultilingual(){const Be=["front","frontal","vorderseite","avant","前面","正面","앞"],Le=["ultra","ウルトラ","울트라"];try{const tt=(await navigator.mediaDevices.enumerateDevices()).find(nt=>{const ft=nt.label.toLowerCase();return nt.kind==="videoinput"&&Be.some(ht=>ft.includes(ht.toLowerCase()))&&!Le.some(ht=>ft.includes(ht.toLowerCase()))});return tt?tt.deviceId:null}catch{return null}}async function getNonUltraWideFrontCameraStream(){const Be=await navigator.mediaDevices.getUserMedia({video:{facingMode:"user"},audio:!1});killStream(Be);const Le=await chooseNonUltraFrontCameraMultilingual();return navigator.mediaDevices.getUserMedia({video:{deviceId:Le}})}const zoomCamera=async(Be,Le)=>{if(!Be)return!1;const Ye=Be.getSettings(),tt=Be.getCapabilities();return"zoom"in Ye||tt.zoom?(await Be.applyConstraints({advanced:[{zoom:tt.zoom.min&&Le<tt.zoom.min||tt.zoom.max&&Le>tt.zoom.max||Le}]}),!0):!1};async function base64ToImageData(Be){const Ye=await(await fetch(`data:image/jpeg;base64,${Be}`)).blob(),tt=new Image,nt=new Promise((gt,At)=>{tt.onload=gt,tt.onerror=At});tt.src=URL.createObjectURL(Ye),await nt;const ft=document.createElement("canvas");ft.width=tt.width,ft.height=tt.height;const ht=ft.getContext("2d");return ht.drawImage(tt,0,0),ht.getImageData(0,0,tt.width,tt.height)}function getChosenCameraInfo(Be,Le=null,Ye=null){const tt=Be.getCapabilities(),nt=Be.getSettings(),{focusMode:ft=!1}=navigator.mediaDevices.getSupportedConstraints();return{label:Be.label,deviceId:nt.deviceId,fallbackOption:Le,videoSource:Ye,resolution:`${nt.width}x${nt.height}`,autofocus:ft,facingMode:nt.facingMode,currentFrameRate:nt.frameRate,zoom:tt.zoom?{current:nt.zoom,min:tt.zoom.min,max:tt.zoom.max,step:tt.zoom.step}:void 0,focusDistance:tt.focusDistance?{current:nt.focusDistance,min:tt.focusDistance.min,max:tt.focusDistance.max,step:tt.focusDistance.step}:void 0}}async function getDeviceCapabilities(){const Be={};try{(await navigator.mediaDevices.enumerateDevices()).filter(tt=>tt.kind==="videoinput").forEach((tt,nt)=>{const ft=tt.getCapabilities();Be[`camera${nt+1}`]={label:tt.label,width:{min:ft.width.min,max:ft.width.max},height:{min:ft.height.min,max:ft.height.max},frameRate:{min:ft.frameRate.min,max:ft.frameRate.max},facingMode:ft.facingMode,focusMode:ft.focusMode||void 0,focusDistance:ft.focusDistance?{min:ft.focusDistance.min,max:ft.focusDistance.max}:void 0}})}catch(Le){console.log("Unable to get device capabilities: ",Le)}return Be}const translations={removeLenses:{default:"notifications.removeLenses",assisted:"notifications.removeLensesAssisted"},openEyes:{default:"notifications.openEyes",assisted:"notifications.openEyesAssisted"},removeMask:{default:"notifications.removeMask",assisted:"notifications.removeMaskAssisted"},ageAssurance:{default:"notifications.selfie.ageAssurance",assisted:"notifications.selfie.ageAssuranceAssisted"},removeHeadwear:{default:"notifications.removeHeadwearDescription",assisted:"notifications.removeHeadwearDescriptionAssisted"},lenses:{default:"notifications.lensesDescription",assisted:"notifications.lensesDescriptionAssisted"},mask:{assisted:"notifications.maskDescriptionAssisted",default:"notifications.maskDescription"},closedEyes:{assisted:"notifications.closedEyesDescriptionAssisted",default:"notifications.closedEyesDescription"}},getSelfieTranslation=(Be,Le)=>{const Ye=translations[Be];return Le?Ye.assisted:Ye.default},getSupportedMediaRecorderMimeType=()=>{const Be=mobile.iOS()?["video/mp4","video/webm","video/webm;codecs=vp9","video/webm;codecs=vp8"]:["video/webm","video/webm;codecs=vp9","video/webm;codecs=vp8","video/mp4"];for(const Le of Be)if(MediaRecorder.isTypeSupported(Le))return Le;return""},getMediaStreamTrackSettings=Be=>{const Le=Be.getSettings(),{width:Ye,height:tt,...nt}=Le;return mobile.isIpad()||!Ye||!tt?Le:mobile.any()&&tt<Ye?{...nt,width:tt,height:Ye}:Le};class Semaphore{constructor(Le=1){this.maxConcurrent=Le,this.current=0,this.queue=[]}async acquire(){return this.current<this.maxConcurrent?(this.current++,Promise.resolve()):new Promise(Le=>{this.queue.push(Le)})}release(){if(this.current=Math.max(0,this.current-1),this.queue.length>0&&this.current<this.maxConcurrent){this.current++;const Le=this.queue.shift();Le&&Le()}}}class Mutex{constructor(){this.semaphore=new Semaphore(1)}async lock(){return this.semaphore.acquire()}unlock(){this.semaphore.release()}async withLock(Le,...Ye){await this.lock();try{return await Le(...Ye)}finally{this.unlock()}}}var __assign$3=function(){return __assign$3=Object.assign||function(Le){for(var Ye,tt=1,nt=arguments.length;tt<nt;tt++){Ye=arguments[tt];for(var ft in Ye)Object.prototype.hasOwnProperty.call(Ye,ft)&&(Le[ft]=Ye[ft])}return Le},__assign$3.apply(this,arguments)};function __spreadArray$2(Be,Le,Ye){if(Ye||arguments.length===2)for(var tt=0,nt=Le.length,ft;tt<nt;tt++)(ft||!(tt in Le))&&(ft||(ft=Array.prototype.slice.call(Le,0,tt)),ft[tt]=Le[tt]);return Be.concat(ft||Array.prototype.slice.call(Le))}typeof SuppressedError=="function"&&SuppressedError;function memoize$1(Be){var Le=Object.create(null);return function(Ye){return Le[Ye]===void 0&&(Le[Ye]=Be(Ye)),Le[Ye]}}var reactPropsRegex$1=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,isPropValid$1=memoize$1(function(Be){return reactPropsRegex$1.test(Be)||Be.charCodeAt(0)===111&&Be.charCodeAt(1)===110&&Be.charCodeAt(2)<91}),MS$1="-ms-",MOZ$1="-moz-",WEBKIT$1="-webkit-",COMMENT$1="comm",RULESET$1="rule",DECLARATION$1="decl",IMPORT$1="@import",KEYFRAMES$1="@keyframes",LAYER$1="@layer",abs$1=Math.abs,from$1=String.fromCharCode,assign$1=Object.assign;function hash$1(Be,Le){return charat$1(Be,0)^45?(((Le<<2^charat$1(Be,0))<<2^charat$1(Be,1))<<2^charat$1(Be,2))<<2^charat$1(Be,3):0}function trim$3(Be){return Be.trim()}function match$1(Be,Le){return(Be=Le.exec(Be))?Be[0]:Be}function replace$1(Be,Le,Ye){return Be.replace(Le,Ye)}function indexof$1(Be,Le,Ye){return Be.indexOf(Le,Ye)}function charat$1(Be,Le){return Be.charCodeAt(Le)|0}function substr$1(Be,Le,Ye){return Be.slice(Le,Ye)}function strlen$1(Be){return Be.length}function sizeof$1(Be){return Be.length}function append$1(Be,Le){return Le.push(Be),Be}function combine$1(Be,Le){return Be.map(Le).join("")}function filter$1(Be,Le){return Be.filter(function(Ye){return!match$1(Ye,Le)})}var line$1=1,column$1=1,length$1=0,position$4=0,character$1=0,characters$1="";function node$2(Be,Le,Ye,tt,nt,ft,ht,gt){return{value:Be,root:Le,parent:Ye,type:tt,props:nt,children:ft,line:line$1,column:column$1,length:ht,return:"",siblings:gt}}function copy$2(Be,Le){return assign$1(node$2("",null,null,"",null,null,0,Be.siblings),Be,{length:-Be.length},Le)}function lift(Be){for(;Be.root;)Be=copy$2(Be.root,{children:[Be]});append$1(Be,Be.siblings)}function char$1(){return character$1}function prev$1(){return character$1=position$4>0?charat$1(characters$1,--position$4):0,column$1--,character$1===10&&(column$1=1,line$1--),character$1}function next$2(){return character$1=position$4<length$1?charat$1(characters$1,position$4++):0,column$1++,character$1===10&&(column$1=1,line$1++),character$1}function peek$1(){return charat$1(characters$1,position$4)}function caret$1(){return position$4}function slice$3(Be,Le){return substr$1(characters$1,Be,Le)}function token$1(Be){switch(Be){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function alloc$1(Be){return line$1=column$1=1,length$1=strlen$1(characters$1=Be),position$4=0,[]}function dealloc$1(Be){return characters$1="",Be}function delimit$1(Be){return trim$3(slice$3(position$4-1,delimiter$1(Be===91?Be+2:Be===40?Be+1:Be)))}function whitespace$2(Be){for(;(character$1=peek$1())&&character$1<33;)next$2();return token$1(Be)>2||token$1(character$1)>3?"":" "}function escaping$1(Be,Le){for(;--Le&&next$2()&&!(character$1<48||character$1>102||character$1>57&&character$1<65||character$1>70&&character$1<97););return slice$3(Be,caret$1()+(Le<6&&peek$1()==32&&next$2()==32))}function delimiter$1(Be){for(;next$2();)switch(character$1){case Be:return position$4;case 34:case 39:Be!==34&&Be!==39&&delimiter$1(character$1);break;case 40:Be===41&&delimiter$1(Be);break;case 92:next$2();break}return position$4}function commenter$1(Be,Le){for(;next$2()&&Be+character$1!==57;)if(Be+character$1===84&&peek$1()===47)break;return"/*"+slice$3(Le,position$4-1)+"*"+from$1(Be===47?Be:next$2())}function identifier$1(Be){for(;!token$1(peek$1());)next$2();return slice$3(Be,position$4)}function compile$1(Be){return dealloc$1(parse$9("",null,null,null,[""],Be=alloc$1(Be),0,[0],Be))}function parse$9(Be,Le,Ye,tt,nt,ft,ht,gt,At){for(var xt=0,yt=0,Ct=ht,Et=0,vt=0,kt=0,bt=1,wt=1,It=1,Rt=0,Tt="",Bt=nt,Pt=ft,Dt=tt,Ot=Tt;wt;)switch(kt=Rt,Rt=next$2()){case 40:if(kt!=108&&charat$1(Ot,Ct-1)==58){indexof$1(Ot+=replace$1(delimit$1(Rt),"&","&\f"),"&\f",abs$1(xt?gt[xt-1]:0))!=-1&&(It=-1);break}case 34:case 39:case 91:Ot+=delimit$1(Rt);break;case 9:case 10:case 13:case 32:Ot+=whitespace$2(kt);break;case 92:Ot+=escaping$1(caret$1()-1,7);continue;case 47:switch(peek$1()){case 42:case 47:append$1(comment$3(commenter$1(next$2(),caret$1()),Le,Ye,At),At);break;default:Ot+="/"}break;case 123*bt:gt[xt++]=strlen$1(Ot)*It;case 125*bt:case 59:case 0:switch(Rt){case 0:case 125:wt=0;case 59+yt:It==-1&&(Ot=replace$1(Ot,/\f/g,"")),vt>0&&strlen$1(Ot)-Ct&&append$1(vt>32?declaration$1(Ot+";",tt,Ye,Ct-1,At):declaration$1(replace$1(Ot," ","")+";",tt,Ye,Ct-2,At),At);break;case 59:Ot+=";";default:if(append$1(Dt=ruleset$1(Ot,Le,Ye,xt,yt,nt,gt,Tt,Bt=[],Pt=[],Ct,ft),ft),Rt===123)if(yt===0)parse$9(Ot,Le,Dt,Dt,Bt,ft,Ct,gt,Pt);else switch(Et===99&&charat$1(Ot,3)===110?100:Et){case 100:case 108:case 109:case 115:parse$9(Be,Dt,Dt,tt&&append$1(ruleset$1(Be,Dt,Dt,0,0,nt,gt,Tt,nt,Bt=[],Ct,Pt),Pt),nt,Pt,Ct,gt,tt?Bt:Pt);break;default:parse$9(Ot,Dt,Dt,Dt,[""],Pt,0,gt,Pt)}}xt=yt=vt=0,bt=It=1,Tt=Ot="",Ct=ht;break;case 58:Ct=1+strlen$1(Ot),vt=kt;default:if(bt<1){if(Rt==123)--bt;else if(Rt==125&&bt++==0&&prev$1()==125)continue}switch(Ot+=from$1(Rt),Rt*bt){case 38:It=yt>0?1:(Ot+="\f",-1);break;case 44:gt[xt++]=(strlen$1(Ot)-1)*It,It=1;break;case 64:peek$1()===45&&(Ot+=delimit$1(next$2())),Et=peek$1(),yt=Ct=strlen$1(Tt=Ot+=identifier$1(caret$1())),Rt++;break;case 45:kt===45&&strlen$1(Ot)==2&&(bt=0)}}return ft}function ruleset$1(Be,Le,Ye,tt,nt,ft,ht,gt,At,xt,yt,Ct){for(var Et=nt-1,vt=nt===0?ft:[""],kt=sizeof$1(vt),bt=0,wt=0,It=0;bt<tt;++bt)for(var Rt=0,Tt=substr$1(Be,Et+1,Et=abs$1(wt=ht[bt])),Bt=Be;Rt<kt;++Rt)(Bt=trim$3(wt>0?vt[Rt]+" "+Tt:replace$1(Tt,/&\f/g,vt[Rt])))&&(At[It++]=Bt);return node$2(Be,Le,Ye,nt===0?RULESET$1:gt,At,xt,yt,Ct)}function comment$3(Be,Le,Ye,tt){return node$2(Be,Le,Ye,COMMENT$1,from$1(char$1()),substr$1(Be,2,-2),0,tt)}function declaration$1(Be,Le,Ye,tt,nt){return node$2(Be,Le,Ye,DECLARATION$1,substr$1(Be,0,tt),substr$1(Be,tt+1,-1),tt,nt)}function prefix$2(Be,Le,Ye){switch(hash$1(Be,Le)){case 5103:return WEBKIT$1+"print-"+Be+Be;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return WEBKIT$1+Be+Be;case 4789:return MOZ$1+Be+Be;case 5349:case 4246:case 4810:case 6968:case 2756:return WEBKIT$1+Be+MOZ$1+Be+MS$1+Be+Be;case 5936:switch(charat$1(Be,Le+11)){case 114:return WEBKIT$1+Be+MS$1+replace$1(Be,/[svh]\w+-[tblr]{2}/,"tb")+Be;case 108:return WEBKIT$1+Be+MS$1+replace$1(Be,/[svh]\w+-[tblr]{2}/,"tb-rl")+Be;case 45:return WEBKIT$1+Be+MS$1+replace$1(Be,/[svh]\w+-[tblr]{2}/,"lr")+Be}case 6828:case 4268:case 2903:return WEBKIT$1+Be+MS$1+Be+Be;case 6165:return WEBKIT$1+Be+MS$1+"flex-"+Be+Be;case 5187:return WEBKIT$1+Be+replace$1(Be,/(\w+).+(:[^]+)/,WEBKIT$1+"box-$1$2"+MS$1+"flex-$1$2")+Be;case 5443:return WEBKIT$1+Be+MS$1+"flex-item-"+replace$1(Be,/flex-|-self/g,"")+(match$1(Be,/flex-|baseline/)?"":MS$1+"grid-row-"+replace$1(Be,/flex-|-self/g,""))+Be;case 4675:return WEBKIT$1+Be+MS$1+"flex-line-pack"+replace$1(Be,/align-content|flex-|-self/g,"")+Be;case 5548:return WEBKIT$1+Be+MS$1+replace$1(Be,"shrink","negative")+Be;case 5292:return WEBKIT$1+Be+MS$1+replace$1(Be,"basis","preferred-size")+Be;case 6060:return WEBKIT$1+"box-"+replace$1(Be,"-grow","")+WEBKIT$1+Be+MS$1+replace$1(Be,"grow","positive")+Be;case 4554:return WEBKIT$1+replace$1(Be,/([^-])(transform)/g,"$1"+WEBKIT$1+"$2")+Be;case 6187:return replace$1(replace$1(replace$1(Be,/(zoom-|grab)/,WEBKIT$1+"$1"),/(image-set)/,WEBKIT$1+"$1"),Be,"")+Be;case 5495:case 3959:return replace$1(Be,/(image-set\([^]*)/,WEBKIT$1+"$1$`$1");case 4968:return replace$1(replace$1(Be,/(.+:)(flex-)?(.*)/,WEBKIT$1+"box-pack:$3"+MS$1+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+WEBKIT$1+Be+Be;case 4200:if(!match$1(Be,/flex-|baseline/))return MS$1+"grid-column-align"+substr$1(Be,Le)+Be;break;case 2592:case 3360:return MS$1+replace$1(Be,"template-","")+Be;case 4384:case 3616:return Ye&&Ye.some(function(tt,nt){return Le=nt,match$1(tt.props,/grid-\w+-end/)})?~indexof$1(Be+(Ye=Ye[Le].value),"span",0)?Be:MS$1+replace$1(Be,"-start","")+Be+MS$1+"grid-row-span:"+(~indexof$1(Ye,"span",0)?match$1(Ye,/\d+/):+match$1(Ye,/\d+/)-+match$1(Be,/\d+/))+";":MS$1+replace$1(Be,"-start","")+Be;case 4896:case 4128:return Ye&&Ye.some(function(tt){return match$1(tt.props,/grid-\w+-start/)})?Be:MS$1+replace$1(replace$1(Be,"-end","-span"),"span ","")+Be;case 4095:case 3583:case 4068:case 2532:return replace$1(Be,/(.+)-inline(.+)/,WEBKIT$1+"$1$2")+Be;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(strlen$1(Be)-1-Le>6)switch(charat$1(Be,Le+1)){case 109:if(charat$1(Be,Le+4)!==45)break;case 102:return replace$1(Be,/(.+:)(.+)-([^]+)/,"$1"+WEBKIT$1+"$2-$3$1"+MOZ$1+(charat$1(Be,Le+3)==108?"$3":"$2-$3"))+Be;case 115:return~indexof$1(Be,"stretch",0)?prefix$2(replace$1(Be,"stretch","fill-available"),Le,Ye)+Be:Be}break;case 5152:case 5920:return replace$1(Be,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(tt,nt,ft,ht,gt,At,xt){return MS$1+nt+":"+ft+xt+(ht?MS$1+nt+"-span:"+(gt?At:+At-+ft)+xt:"")+Be});case 4949:if(charat$1(Be,Le+6)===121)return replace$1(Be,":",":"+WEBKIT$1)+Be;break;case 6444:switch(charat$1(Be,charat$1(Be,14)===45?18:11)){case 120:return replace$1(Be,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+WEBKIT$1+(charat$1(Be,14)===45?"inline-":"")+"box$3$1"+WEBKIT$1+"$2$3$1"+MS$1+"$2box$3")+Be;case 100:return replace$1(Be,":",":"+MS$1)+Be}break;case 5719:case 2647:case 2135:case 3927:case 2391:return replace$1(Be,"scroll-","scroll-snap-")+Be}return Be}function serialize$2(Be,Le){for(var Ye="",tt=0;tt<Be.length;tt++)Ye+=Le(Be[tt],tt,Be,Le)||"";return Ye}function stringify$5(Be,Le,Ye,tt){switch(Be.type){case LAYER$1:if(Be.children.length)break;case IMPORT$1:case DECLARATION$1:return Be.return=Be.return||Be.value;case COMMENT$1:return"";case KEYFRAMES$1:return Be.return=Be.value+"{"+serialize$2(Be.children,tt)+"}";case RULESET$1:if(!strlen$1(Be.value=Be.props.join(",")))return""}return strlen$1(Ye=serialize$2(Be.children,tt))?Be.return=Be.value+"{"+Ye+"}":""}function middleware$1(Be){var Le=sizeof$1(Be);return function(Ye,tt,nt,ft){for(var ht="",gt=0;gt<Le;gt++)ht+=Be[gt](Ye,tt,nt,ft)||"";return ht}}function rulesheet$1(Be){return function(Le){Le.root||(Le=Le.return)&&Be(Le)}}function prefixer$1(Be,Le,Ye,tt){if(Be.length>-1&&!Be.return)switch(Be.type){case DECLARATION$1:Be.return=prefix$2(Be.value,Be.length,Ye);return;case KEYFRAMES$1:return serialize$2([copy$2(Be,{value:replace$1(Be.value,"@","@"+WEBKIT$1)})],tt);case RULESET$1:if(Be.length)return combine$1(Ye=Be.props,function(nt){switch(match$1(nt,tt=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":lift(copy$2(Be,{props:[replace$1(nt,/:(read-\w+)/,":"+MOZ$1+"$1")]})),lift(copy$2(Be,{props:[nt]})),assign$1(Be,{props:filter$1(Ye,tt)});break;case"::placeholder":lift(copy$2(Be,{props:[replace$1(nt,/:(plac\w+)/,":"+WEBKIT$1+"input-$1")]})),lift(copy$2(Be,{props:[replace$1(nt,/:(plac\w+)/,":"+MOZ$1+"$1")]})),lift(copy$2(Be,{props:[replace$1(nt,/:(plac\w+)/,MS$1+"input-$1")]})),lift(copy$2(Be,{props:[nt]})),assign$1(Be,{props:filter$1(Ye,tt)});break}return""})}}var unitlessKeys$1={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},f$3=typeof process<"u"&&process.env!==void 0&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",m$3="active",y$1="data-styled-version",v$e="6.1.19",g$2=`/*!sc*/
3
3
  `,S$2=typeof window<"u"&&typeof document<"u",w$f=!!(typeof SC_DISABLE_SPEEDY=="boolean"?SC_DISABLE_SPEEDY:typeof process<"u"&&process.env!==void 0&&process.env.REACT_APP_SC_DISABLE_SPEEDY!==void 0&&process.env.REACT_APP_SC_DISABLE_SPEEDY!==""?process.env.REACT_APP_SC_DISABLE_SPEEDY!=="false"&&process.env.REACT_APP_SC_DISABLE_SPEEDY:typeof process<"u"&&process.env!==void 0&&process.env.SC_DISABLE_SPEEDY!==void 0&&process.env.SC_DISABLE_SPEEDY!==""?process.env.SC_DISABLE_SPEEDY!=="false"&&process.env.SC_DISABLE_SPEEDY:process.env.NODE_ENV!=="production"),E$2=/invalid hook call/i,N$2=new Set,P$2=function(Be,Le){if(process.env.NODE_ENV!=="production"){var Ye=Le?' with the id of "'.concat(Le,'"'):"",tt="The component ".concat(Be).concat(Ye,` has been created dynamically.
4
4
  `)+`You may see this warning because you've called styled inside another component.
5
5
  To resolve this only create new StyledComponents outside of any render method and function component.
@@ -63,7 +63,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[St]+=1);const breakpoints$3={
63
63
  justify-content: center;
64
64
  align-items: center;
65
65
  flex-direction: column;
66
- `;typeof Promise.withResolvers!="function"&&(Promise.withResolvers=()=>{let Be,Le;return{promise:new Promise((tt,nt)=>{Be=tt,Le=nt}),resolve:Be,reject:Le}});class InterruptionHandler{constructor(){this.boundVisibilityChange=this.handleVisibilityChange.bind(this),this.boundOnline=this.handleOnline.bind(this),this.boundOffline=this.handleOffline.bind(this),this.boundUnhandledRejection=this.handleUnhandledRejection.bind(this),this.boundError=this.handleError.bind(this),this.initialized=!1}registerEventListeners(){this.initialized||(document.addEventListener("visibilitychange",this.boundVisibilityChange),window.addEventListener("online",this.boundOnline),window.addEventListener("offline",this.boundOffline),window.addEventListener("unhandledrejection",this.boundUnhandledRejection),window.addEventListener("error",this.boundError),this.initialized=!0)}removeEventListeners(){this.initialized&&(this.initialized=!1,document.removeEventListener("visibilitychange",this.boundVisibilityChange),window.removeEventListener("online",this.boundOnline),window.removeEventListener("offline",this.boundOffline),window.removeEventListener("unhandledrejection",this.boundUnhandledRejection),window.removeEventListener("error",this.boundError))}handleVisibilityChange(){document.hidden?this.onAppHidden():this.onAppVisible()}onAppHidden(){}onAppVisible(){}handleOnline(){}handleOffline(){}handleUnhandledRejection(Le){}handleError(Le){}}const regex$1={CURP_PATTERN:/^([A-Z][AEIOUX][A-Z]{2}\d{2}(?:0[1-9]|1[0-2])(?:0[1-9]|[12]\d|3[01])[HMX](?:AS|B[CS]|C[CLMSH]|D[FG]|G[TR]|HG|JC|M[CNS]|N[ETL]|OC|PL|Q[TR]|S[PLR]|T[CSL]|VZ|YN|ZS)[B-DF-HJ-NP-TV-Z]{3}[A-Z\d])(\d)$/,EMAIL_PATTERN:/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,}$/i,SSN_PATTERN:/^\d{3}-?\d{2}-?\d{4}$/};function webgl(){let Be,Le,Ye=256,tt=128;Be=document.body.appendChild(document.createElement("canvas")),Be.width=Ye,Be.height=tt;try{Le=Be.getContext("webgl2")||Be.getContext("experimental-webgl2")||Be.getContext("webgl")||Be.getContext("experimental-webgl")||Be.getContext("moz-webgl");const nt="attribute vec2 attrVertex;varying vec2 varyinTexCoordinate;uniform vec2 uniformOffset;void main(){varyinTexCoordinate=attrVertex+uniformOffset;gl_Position=vec4(attrVertex,0,1);}",ft="precision mediump float;varying vec2 varyinTexCoordinate;void main() {gl_FragColor=vec4(varyinTexCoordinate,0,1);}",ht=Le.createBuffer();Le.bindBuffer(Le.ARRAY_BUFFER,ht);const gt=new Float32Array([-.2,-.9,0,.4,-.26,0,0,.7321,0]);Le.bufferData(Le.ARRAY_BUFFER,gt,Le.STATIC_DRAW),ht.itemSize=3,ht.numItems=3;const At=Le.createProgram(),xt=Le.createShader(Le.VERTEX_SHADER);Le.shaderSource(xt,nt),Le.compileShader(xt);const yt=Le.createShader(Le.FRAGMENT_SHADER);Le.shaderSource(yt,ft),Le.compileShader(yt),Le.attachShader(At,xt),Le.attachShader(At,yt),Le.linkProgram(At),Le.useProgram(At),At.vertexPosAttrib=Le.getAttribLocation(At,"attrVertex"),At.offsetUniform=Le.getUniformLocation(At,"uniformOffset"),Le.enableVertexAttribArray(At.vertexPosAttrib),Le.vertexAttribPointer(At.vertexPosAttrib,ht.itemSize,Le.FLOAT,!1,0,0),Le.uniform2f(At.offsetUniform,1,1),Le.drawArrays(Le.TRIANGLE_STRIP,0,ht.numItems);let Ct="";const Et=new Uint8Array(Ye*tt*4);return Le.readPixels(0,0,Ye,tt,Le.RGBA,Le.UNSIGNED_BYTE,Et),Ct=JSON.stringify(Et).replace(/,?"[0-9]+":/g,""),document.body.removeChild(Be),sha256(Ct)}catch{return""}}const sha256=(()=>{let Be=1,Le,Ye=[],tt=[];for(;++Be<18;)for(Le=Be*Be;Le<312;Le+=Be)Ye[Le]=1;function nt(gt,At){return Math.pow(gt,1/At)%1*4294967296|0}for(Be=1,Le=0;Be<313;)Ye[++Be]||(tt[Le]=nt(Be,2),Ye[Le++]=nt(Be,3));function ft(gt,At){return gt>>>At|gt<<32-At}function ht(gt){let At=tt.slice(Be=0),xt=unescape(encodeURI(gt)),yt=[],Ct=xt.length,Et=[],vt,kt,bt;for(;Be<Ct;)Et[Be>>2]|=(xt.charCodeAt(Be)&255)<<8*(3-Be++%4);for(Ct*=8,Et[Ct>>5]|=128<<24-Ct%32,Et[bt=Ct+64>>5|15]=Ct,Be=0;Be<bt;Be+=16){for(vt=At.slice(Le=0,8);Le<64;vt[4]+=kt)Le<16?yt[Le]=Et[Le+Be]:yt[Le]=(ft(kt=yt[Le-2],17)^ft(kt,19)^kt>>>10)+(yt[Le-7]|0)+(ft(kt=yt[Le-15],7)^ft(kt,18)^kt>>>3)+(yt[Le-16]|0),vt.unshift((kt=(vt.pop()+(ft(gt=vt[4],6)^ft(gt,11)^ft(gt,25))+((gt&vt[5]^~gt&vt[6])+Ye[Le])|0)+(yt[Le++]|0))+(ft(Ct=vt[0],2)^ft(Ct,13)^ft(Ct,22))+(Ct&vt[1]^vt[1]&vt[2]^vt[2]&Ct));for(Le=8;Le--;)At[Le]=vt[Le]+At[Le]}for(xt="";Le<63;)xt+=(At[++Le>>3]>>4*(7-Le%8)&15).toString(16);return xt}return ht})();var store;function getGlobalConfig(Be){return{lang:store==null?void 0:store.lang,message:Be==null?void 0:Be.message,abortEarly:store==null?void 0:store.abortEarly,abortPipeEarly:store==null?void 0:store.abortPipeEarly}}var store2;function getGlobalMessage(Be){return store2==null?void 0:store2.get(Be)}var store3;function getSchemaMessage(Be){return store3==null?void 0:store3.get(Be)}var store4;function getSpecificMessage(Be,Le){var Ye;return(Ye=store4==null?void 0:store4.get(Be))==null?void 0:Ye.get(Le)}function _stringify$3(Be){var Ye,tt;const Le=typeof Be;return Le==="string"?`"${Be}"`:Le==="number"||Le==="bigint"||Le==="boolean"?`${Be}`:Le==="object"||Le==="function"?(Be&&((tt=(Ye=Object.getPrototypeOf(Be))==null?void 0:Ye.constructor)==null?void 0:tt.name))??"null":Le}function _addIssue(Be,Le,Ye,tt,nt){const ft=nt&&"input"in nt?nt.input:Ye.value,ht=(nt==null?void 0:nt.expected)??Be.expects??null,gt=(nt==null?void 0:nt.received)??_stringify$3(ft),At={kind:Be.kind,type:Be.type,input:ft,expected:ht,received:gt,message:`Invalid ${Le}: ${ht?`Expected ${ht} but r`:"R"}eceived ${gt}`,requirement:Be.requirement,path:nt==null?void 0:nt.path,issues:nt==null?void 0:nt.issues,lang:tt.lang,abortEarly:tt.abortEarly,abortPipeEarly:tt.abortPipeEarly},xt=Be.kind==="schema",yt=(nt==null?void 0:nt.message)??Be.message??getSpecificMessage(Be.reference,At.lang)??(xt?getSchemaMessage(At.lang):null)??tt.message??getGlobalMessage(At.lang);yt!==void 0&&(At.message=typeof yt=="function"?yt(At):yt),xt&&(Ye.typed=!1),Ye.issues?Ye.issues.push(At):Ye.issues=[At]}function _getStandardProps(Be){return{version:1,vendor:"valibot",validate(Le){return Be["~run"]({value:Le},getGlobalConfig())}}}function _isValidObjectKey(Be,Le){return Object.hasOwn(Be,Le)&&Le!=="__proto__"&&Le!=="prototype"&&Le!=="constructor"}function _joinExpects(Be,Le){const Ye=[...new Set(Be)];return Ye.length>1?`(${Ye.join(` ${Le} `)})`:Ye[0]??"never"}function isValiError(Be){return Be instanceof ValiError}var ValiError=class extends Error{constructor(Be){super(Be[0].message),this.name="ValiError",this.issues=Be}};function getFallback(Be,Le,Ye){return typeof Be.fallback=="function"?Be.fallback(Le,Ye):Be.fallback}function getDefault(Be,Le,Ye){return typeof Be.default=="function"?Be.default(Le,Ye):Be.default}function boolean$2(Be){return{kind:"schema",type:"boolean",reference:boolean$2,expects:"boolean",async:!1,message:Be,get"~standard"(){return _getStandardProps(this)},"~run"(Le,Ye){return typeof Le.value=="boolean"?Le.typed=!0:_addIssue(this,"type",Le,Ye),Le}}}function custom(Be,Le){return{kind:"schema",type:"custom",reference:custom,expects:"unknown",async:!1,check:Be,message:Le,get"~standard"(){return _getStandardProps(this)},"~run"(Ye,tt){return this.check(Ye.value)?Ye.typed=!0:_addIssue(this,"type",Ye,tt),Ye}}}function function_(Be){return{kind:"schema",type:"function",reference:function_,expects:"Function",async:!1,message:Be,get"~standard"(){return _getStandardProps(this)},"~run"(Le,Ye){return typeof Le.value=="function"?Le.typed=!0:_addIssue(this,"type",Le,Ye),Le}}}function literal(Be,Le){return{kind:"schema",type:"literal",reference:literal,expects:_stringify$3(Be),async:!1,literal:Be,message:Le,get"~standard"(){return _getStandardProps(this)},"~run"(Ye,tt){return Ye.value===this.literal?Ye.typed=!0:_addIssue(this,"type",Ye,tt),Ye}}}function null_(Be){return{kind:"schema",type:"null",reference:null_,expects:"null",async:!1,message:Be,get"~standard"(){return _getStandardProps(this)},"~run"(Le,Ye){return Le.value===null?Le.typed=!0:_addIssue(this,"type",Le,Ye),Le}}}function number$3(Be){return{kind:"schema",type:"number",reference:number$3,expects:"number",async:!1,message:Be,get"~standard"(){return _getStandardProps(this)},"~run"(Le,Ye){return typeof Le.value=="number"&&!isNaN(Le.value)?Le.typed=!0:_addIssue(this,"type",Le,Ye),Le}}}function object(Be,Le){return{kind:"schema",type:"object",reference:object,expects:"Object",async:!1,entries:Be,message:Le,get"~standard"(){return _getStandardProps(this)},"~run"(Ye,tt){var ft;const nt=Ye.value;if(nt&&typeof nt=="object"){Ye.typed=!0,Ye.value={};for(const ht in this.entries){const gt=this.entries[ht];if(ht in nt||(gt.type==="exact_optional"||gt.type==="optional"||gt.type==="nullish")&&gt.default!==void 0){const At=ht in nt?nt[ht]:getDefault(gt),xt=gt["~run"]({value:At},tt);if(xt.issues){const yt={type:"object",origin:"value",input:nt,key:ht,value:At};for(const Ct of xt.issues)Ct.path?Ct.path.unshift(yt):Ct.path=[yt],(ft=Ye.issues)==null||ft.push(Ct);if(Ye.issues||(Ye.issues=xt.issues),tt.abortEarly){Ye.typed=!1;break}}xt.typed||(Ye.typed=!1),Ye.value[ht]=xt.value}else if(gt.fallback!==void 0)Ye.value[ht]=getFallback(gt);else if(gt.type!=="exact_optional"&&gt.type!=="optional"&&gt.type!=="nullish"&&(_addIssue(this,"key",Ye,tt,{input:void 0,expected:`"${ht}"`,path:[{type:"object",origin:"key",input:nt,key:ht,value:nt[ht]}]}),tt.abortEarly))break}}else _addIssue(this,"type",Ye,tt);return Ye}}}function optional(Be,Le){return{kind:"schema",type:"optional",reference:optional,expects:`(${Be.expects} | undefined)`,async:!1,wrapped:Be,default:Le,get"~standard"(){return _getStandardProps(this)},"~run"(Ye,tt){return Ye.value===void 0&&(this.default!==void 0&&(Ye.value=getDefault(this,Ye,tt)),Ye.value===void 0)?(Ye.typed=!0,Ye):this.wrapped["~run"](Ye,tt)}}}function record(Be,Le,Ye){return{kind:"schema",type:"record",reference:record,expects:"Object",async:!1,key:Be,value:Le,message:Ye,get"~standard"(){return _getStandardProps(this)},"~run"(tt,nt){var ht,gt;const ft=tt.value;if(ft&&typeof ft=="object"){tt.typed=!0,tt.value={};for(const At in ft)if(_isValidObjectKey(ft,At)){const xt=ft[At],yt=this.key["~run"]({value:At},nt);if(yt.issues){const Et={type:"object",origin:"key",input:ft,key:At,value:xt};for(const vt of yt.issues)vt.path=[Et],(ht=tt.issues)==null||ht.push(vt);if(tt.issues||(tt.issues=yt.issues),nt.abortEarly){tt.typed=!1;break}}const Ct=this.value["~run"]({value:xt},nt);if(Ct.issues){const Et={type:"object",origin:"value",input:ft,key:At,value:xt};for(const vt of Ct.issues)vt.path?vt.path.unshift(Et):vt.path=[Et],(gt=tt.issues)==null||gt.push(vt);if(tt.issues||(tt.issues=Ct.issues),nt.abortEarly){tt.typed=!1;break}}(!yt.typed||!Ct.typed)&&(tt.typed=!1),yt.typed&&(tt.value[yt.value]=Ct.value)}}else _addIssue(this,"type",tt,nt);return tt}}}function string$2(Be){return{kind:"schema",type:"string",reference:string$2,expects:"string",async:!1,message:Be,get"~standard"(){return _getStandardProps(this)},"~run"(Le,Ye){return typeof Le.value=="string"?Le.typed=!0:_addIssue(this,"type",Le,Ye),Le}}}function _subIssues(Be){let Le;if(Be)for(const Ye of Be)Le?Le.push(...Ye.issues):Le=Ye.issues;return Le}function union(Be,Le){return{kind:"schema",type:"union",reference:union,expects:_joinExpects(Be.map(Ye=>Ye.expects),"|"),async:!1,options:Be,message:Le,get"~standard"(){return _getStandardProps(this)},"~run"(Ye,tt){let nt,ft,ht;for(const gt of this.options){const At=gt["~run"]({value:Ye.value},tt);if(At.typed)if(At.issues)ft?ft.push(At):ft=[At];else{nt=At;break}else ht?ht.push(At):ht=[At]}if(nt)return nt;if(ft){if(ft.length===1)return ft[0];_addIssue(this,"type",Ye,tt,{issues:_subIssues(ft)}),Ye.typed=!0}else{if((ht==null?void 0:ht.length)===1)return ht[0];_addIssue(this,"type",Ye,tt,{issues:_subIssues(ht)})}return Ye}}}function parse$8(Be,Le,Ye){const tt=Be["~run"]({value:Le},getGlobalConfig(Ye));if(tt.issues)throw new ValiError(tt.issues);return tt.value}function validate$2(...Be){try{Be.forEach(({schema:Le,value:Ye})=>parse$8(Le,Ye))}catch(Le){if(isValiError(Le)){const Ye=Le.issues.map(tt=>{var ft;return`${((ft=tt.path)==null?void 0:ft.map(ht=>ht.key).join("."))||"root"}: ${tt.message}`}).join(", ");throw new Error(`Validation failed: ${Ye}`)}throw Le}}exports.api=void 0;function setApi(Be){exports.api=Be}function setToken(Be){exports.api.defaults.headers["X-Incode-Hardware-Id"]=Be}const eventsQueue=[];function addEvent(Be){const{token:Le,code:Ye,module:tt,screen:nt,clientTimestamp:ft,payload:ht={}}=Be;if(!Le){eventsQueue.push(Be);return}return exports.api.post("/omni/interview-events",[{code:Ye,module:tt,screen:nt,clientTimestamp:ft??new Date().getTime(),payload:ht}],{headers:{"X-Incode-Hardware-Id":Le}}).catch(()=>{})}function emptyQueue(Be){eventsQueue.forEach(Le=>{addEvent({...Le,token:Be})})}const state={token:null};var PipelineProfileName=(Be=>(Be[Be.IdCapture_2_01=0]="IdCapture_2_01",Be[Be.IdCapture_2_02=1]="IdCapture_2_02",Be[Be.IdCapture_3_02=2]="IdCapture_3_02",Be[Be.IdVideoSelfie_2_01=3]="IdVideoSelfie_2_01",Be[Be.SelfieWithAggregationMetrics=4]="SelfieWithAggregationMetrics",Be[Be.SelfieWithQualityMetrics=5]="SelfieWithQualityMetrics",Be[Be.SelfieVideoSelfie=6]="SelfieVideoSelfie",Be))(PipelineProfileName||{});class PipelineProfile{constructor(Le,Ye,tt,nt,ft,ht=null,gt=""){this.pipelineType=Le,this.name=Ye,this.detectionType=tt,this.modelNames=nt,this.parameters=ft,this.paramsConfigurator=ht,this.description=gt}reconfigureParams(Le,Ye){if(this.paramsConfigurator==null)throw new Error("PipelineProfile does not have a paramsConfigurator");this.paramsConfigurator(this.parameters,this.pipelineType,Le,Ye)}}var DetectionType=(Be=>(Be[Be.IDCapture=0]="IDCapture",Be[Be.Selfie=1]="Selfie",Be[Be.SelfieVideoSelfie=2]="SelfieVideoSelfie",Be[Be.IdVideoSelfie=3]="IdVideoSelfie",Be))(DetectionType||{}),WasmPipelineType=(Be=>(Be[Be.IdBlurGlarePipeline=0]="IdBlurGlarePipeline",Be[Be.IdBarcodeAndTextQualityPipeline=1]="IdBarcodeAndTextQualityPipeline",Be[Be.IdVideoSelfiePipeline=2]="IdVideoSelfiePipeline",Be[Be.SelfieWithAggregationMetrics=3]="SelfieWithAggregationMetrics",Be[Be.SelfieWithQualityMetrics=4]="SelfieWithQualityMetrics",Be[Be.IdFaceDetectionPipeline=5]="IdFaceDetectionPipeline",Be))(WasmPipelineType||{}),IdCaptureModelType=(Be=>(Be[Be.IdCaptureV1x=0]="IdCaptureV1x",Be[Be.IdCaptureV2x=1]="IdCaptureV2x",Be[Be.IdCaptureV3x=2]="IdCaptureV3x",Be))(IdCaptureModelType||{}),src$2={},src$1={},$_StatsigGlobal={},Log={};(function(Be){Object.defineProperty(Be,"__esModule",{value:!0}),Be.Log=Be.LogLevel=void 0;const Le=" DEBUG ",Ye=" INFO ",tt=" WARN ",nt=" ERROR ";function ft(gt){return gt.unshift("[Statsig]"),gt}Be.LogLevel={None:0,Error:1,Warn:2,Info:3,Debug:4};class ht{static info(...At){ht.level>=Be.LogLevel.Info&&console.info(Ye,...ft(At))}static debug(...At){ht.level>=Be.LogLevel.Debug&&console.debug(Le,...ft(At))}static warn(...At){ht.level>=Be.LogLevel.Warn&&console.warn(tt,...ft(At))}static error(...At){ht.level>=Be.LogLevel.Error&&console.error(nt,...ft(At))}}Be.Log=ht,ht.level=Be.LogLevel.Warn})(Log),function(Be){var Le,Ye,tt;Object.defineProperty(Be,"__esModule",{value:!0}),Be._getInstance=Be._getStatsigGlobalFlag=Be._getStatsigGlobal=void 0;const nt=Log,ft=()=>{try{return typeof __STATSIG__<"u"?__STATSIG__:Et}catch{return Et}};Be._getStatsigGlobal=ft;const ht=vt=>(0,Be._getStatsigGlobal)()[vt];Be._getStatsigGlobalFlag=ht;const gt=vt=>{const kt=(0,Be._getStatsigGlobal)();return vt?kt.instances&&kt.instances[vt]:(kt.instances&&Object.keys(kt.instances).length>1&&nt.Log.warn("Call made to Statsig global instance without an SDK key but there is more than one client instance. If you are using mulitple clients, please specify the SDK key."),kt.firstInstance)};Be._getInstance=gt;const At="__STATSIG__",xt=typeof window<"u"?window:{},yt=typeof commonjsGlobal<"u"?commonjsGlobal:{},Ct=typeof globalThis<"u"?globalThis:{},Et=(tt=(Ye=(Le=xt[At])!==null&&Le!==void 0?Le:yt[At])!==null&&Ye!==void 0?Ye:Ct[At])!==null&&tt!==void 0?tt:{instance:Be._getInstance};xt[At]=Et,yt[At]=Et,Ct[At]=Et}($_StatsigGlobal);var Diagnostics={};(function(Be){Object.defineProperty(Be,"__esModule",{value:!0}),Be.Diagnostics=void 0;const Le=new Map,Ye="start",tt="end",nt="statsig::diagnostics";Be.Diagnostics={_getMarkers:xt=>Le.get(xt),_markInitOverallStart:xt=>{gt(xt,ft({},Ye,"overall"))},_markInitOverallEnd:(xt,yt,Ct)=>{gt(xt,ft({success:yt,error:yt?void 0:{name:"InitializeError",message:"Failed to initialize"},evaluationDetails:Ct},tt,"overall"))},_markInitNetworkReqStart:(xt,yt)=>{gt(xt,ft(yt,Ye,"initialize","network_request"))},_markInitNetworkReqEnd:(xt,yt)=>{gt(xt,ft(yt,tt,"initialize","network_request"))},_markInitProcessStart:xt=>{gt(xt,ft({},Ye,"initialize","process"))},_markInitProcessEnd:(xt,yt)=>{gt(xt,ft(yt,tt,"initialize","process"))},_clearMarkers:xt=>{Le.delete(xt)},_formatError(xt){if(xt&&typeof xt=="object")return{code:At(xt,"code"),name:At(xt,"name"),message:At(xt,"message")}},_getDiagnosticsData(xt,yt,Ct,Et){var vt;return{success:(xt==null?void 0:xt.ok)===!0,statusCode:xt==null?void 0:xt.status,sdkRegion:(vt=xt==null?void 0:xt.headers)===null||vt===void 0?void 0:vt.get("x-statsig-region"),isDelta:Ct.includes('"is_delta":true')===!0?!0:void 0,attempt:yt,error:Be.Diagnostics._formatError(Et)}},_enqueueDiagnosticsEvent(xt,yt,Ct,Et){const vt=Be.Diagnostics._getMarkers(Ct);if(vt==null||vt.length<=0)return-1;const kt=vt[vt.length-1].timestamp-vt[0].timestamp;Be.Diagnostics._clearMarkers(Ct);const bt=ht(xt,{context:"initialize",markers:vt.slice(),statsigOptions:Et});return yt.enqueue(bt),kt}};function ft(xt,yt,Ct,Et){return Object.assign({key:Ct,action:yt,step:Et,timestamp:Date.now()},xt)}function ht(xt,yt){return{eventName:nt,user:xt,value:null,metadata:yt,time:Date.now()}}function gt(xt,yt){var Ct;const Et=(Ct=Le.get(xt))!==null&&Ct!==void 0?Ct:[];Et.push(yt),Le.set(xt,Et)}function At(xt,yt){if(yt in xt)return xt[yt]}})(Diagnostics);var EventLogger$1={},CacheKey={},Hashing={},TypingUtils={};Object.defineProperty(TypingUtils,"__esModule",{value:!0}),TypingUtils._isTypeMatch=TypingUtils._typeOf=void 0;function _typeOf(Be){return Array.isArray(Be)?"array":typeof Be}TypingUtils._typeOf=_typeOf;function _isTypeMatch(Be,Le){const Ye=tt=>Array.isArray(tt)?"array":tt===null?"null":typeof tt;return Ye(Be)===Ye(Le)}TypingUtils._isTypeMatch=_isTypeMatch,function(Be){Object.defineProperty(Be,"__esModule",{value:!0}),Be._getSortedObject=Be._DJB2Object=Be._DJB2=void 0;const Le=TypingUtils,Ye=ft=>{let ht=0;for(let gt=0;gt<ft.length;gt++){const At=ft.charCodeAt(gt);ht=(ht<<5)-ht+At,ht=ht&ht}return String(ht>>>0)};Be._DJB2=Ye;const tt=(ft,ht)=>(0,Be._DJB2)(JSON.stringify((0,Be._getSortedObject)(ft,ht)));Be._DJB2Object=tt;const nt=(ft,ht)=>{if(ft==null)return null;const gt=Object.keys(ft).sort(),At={};return gt.forEach(xt=>{const yt=ft[xt];if(ht===0||(0,Le._typeOf)(yt)!=="object"){At[xt]=yt;return}At[xt]=(0,Be._getSortedObject)(yt,ht!=null?ht-1:ht)}),At};Be._getSortedObject=nt}(Hashing),Object.defineProperty(CacheKey,"__esModule",{value:!0}),CacheKey._getStorageKey=CacheKey._getUserStorageKey=void 0;const Hashing_1$4=Hashing;function _getUserStorageKey(Be,Le,Ye){var tt;if(Ye)return Ye(Be,Le);const nt=Le&&Le.customIDs?Le.customIDs:{},ft=[`uid:${(tt=Le==null?void 0:Le.userID)!==null&&tt!==void 0?tt:""}`,`cids:${Object.keys(nt).sort((ht,gt)=>ht.localeCompare(gt)).map(ht=>`${ht}-${nt[ht]}`).join(",")}`,`k:${Be}`];return(0,Hashing_1$4._DJB2)(ft.join("|"))}CacheKey._getUserStorageKey=_getUserStorageKey;function _getStorageKey(Be,Le,Ye){return Le?_getUserStorageKey(Be,Le,Ye):(0,Hashing_1$4._DJB2)(`k:${Be}`)}CacheKey._getStorageKey=_getStorageKey;var NetworkConfig={};(function(Be){Object.defineProperty(Be,"__esModule",{value:!0}),Be.NetworkParam=Be.NetworkDefault=Be.Endpoint=void 0,Be.Endpoint={_initialize:"initialize",_rgstr:"rgstr",_download_config_specs:"download_config_specs"},Be.NetworkDefault={[Be.Endpoint._rgstr]:"https://prodregistryv2.org/v1",[Be.Endpoint._initialize]:"https://featureassets.org/v1",[Be.Endpoint._download_config_specs]:"https://api.statsigcdn.com/v1"},Be.NetworkParam={EventCount:"ec",SdkKey:"k",SdkType:"st",SdkVersion:"sv",Time:"t",SessionID:"sid",StatsigEncoded:"se",IsGzipped:"gz"}})(NetworkConfig);var SafeJs={};(function(Be){Object.defineProperty(Be,"__esModule",{value:!0}),Be._getUnloadEvent=Be._getCurrentPageUrlSafe=Be._addDocumentEventListenerSafe=Be._addWindowEventListenerSafe=Be._isServerEnv=Be._getDocumentSafe=Be._getWindowSafe=void 0;const Le=()=>typeof window<"u"?window:null;Be._getWindowSafe=Le;const Ye=()=>{var At;const xt=(0,Be._getWindowSafe)();return(At=xt==null?void 0:xt.document)!==null&&At!==void 0?At:null};Be._getDocumentSafe=Ye;const tt=()=>{if((0,Be._getDocumentSafe)()!==null)return!1;const At=typeof process<"u"&&process.versions!=null&&process.versions.node!=null;return typeof EdgeRuntime=="string"||At};Be._isServerEnv=tt;const nt=(At,xt)=>{const yt=(0,Be._getWindowSafe)();typeof(yt==null?void 0:yt.addEventListener)=="function"&&yt.addEventListener(At,xt)};Be._addWindowEventListenerSafe=nt;const ft=(At,xt)=>{const yt=(0,Be._getDocumentSafe)();typeof(yt==null?void 0:yt.addEventListener)=="function"&&yt.addEventListener(At,xt)};Be._addDocumentEventListenerSafe=ft;const ht=()=>{var At;try{return(At=(0,Be._getWindowSafe)())===null||At===void 0?void 0:At.location.href.split(/[?#]/)[0]}catch{return}};Be._getCurrentPageUrlSafe=ht;const gt=()=>{const At=(0,Be._getWindowSafe)();return At&&"onpagehide"in At?"pagehide":"beforeunload"};Be._getUnloadEvent=gt})(SafeJs);var StatsigEvent={};Object.defineProperty(StatsigEvent,"__esModule",{value:!0}),StatsigEvent._createLayerParameterExposure=StatsigEvent._createConfigExposure=StatsigEvent._mapExposures=StatsigEvent._createGateExposure=StatsigEvent._isExposureEvent=void 0;const CONFIG_EXPOSURE_NAME="statsig::config_exposure",GATE_EXPOSURE_NAME="statsig::gate_exposure",LAYER_EXPOSURE_NAME="statsig::layer_exposure",_createExposure=(Be,Le,Ye,tt,nt)=>(Ye.bootstrapMetadata&&(tt.bootstrapMetadata=Ye.bootstrapMetadata),{eventName:Be,user:Le,value:null,metadata:_addEvaluationDetailsToMetadata(Ye,tt),secondaryExposures:nt,time:Date.now()}),_isExposureEvent=({eventName:Be})=>Be===GATE_EXPOSURE_NAME||Be===CONFIG_EXPOSURE_NAME||Be===LAYER_EXPOSURE_NAME;StatsigEvent._isExposureEvent=_isExposureEvent;const _createGateExposure=(Be,Le,Ye)=>{var tt,nt,ft;const ht={gate:Le.name,gateValue:String(Le.value),ruleID:Le.ruleID};return((tt=Le.__evaluation)===null||tt===void 0?void 0:tt.version)!=null&&(ht.configVersion=Le.__evaluation.version),_createExposure(GATE_EXPOSURE_NAME,Be,Le.details,ht,_mapExposures((ft=(nt=Le.__evaluation)===null||nt===void 0?void 0:nt.secondary_exposures)!==null&&ft!==void 0?ft:[],Ye))};StatsigEvent._createGateExposure=_createGateExposure;function _mapExposures(Be,Le){return Be.map(Ye=>typeof Ye=="string"?(Le??{})[Ye]:Ye).filter(Ye=>Ye!=null)}StatsigEvent._mapExposures=_mapExposures;const _createConfigExposure=(Be,Le,Ye)=>{var tt,nt,ft,ht;const gt={config:Le.name,ruleID:Le.ruleID};return((tt=Le.__evaluation)===null||tt===void 0?void 0:tt.version)!=null&&(gt.configVersion=Le.__evaluation.version),((nt=Le.__evaluation)===null||nt===void 0?void 0:nt.passed)!=null&&(gt.rulePassed=String(Le.__evaluation.passed)),_createExposure(CONFIG_EXPOSURE_NAME,Be,Le.details,gt,_mapExposures((ht=(ft=Le.__evaluation)===null||ft===void 0?void 0:ft.secondary_exposures)!==null&&ht!==void 0?ht:[],Ye))};StatsigEvent._createConfigExposure=_createConfigExposure;const _createLayerParameterExposure=(Be,Le,Ye,tt)=>{var nt,ft,ht,gt,At,xt,yt;const Ct=Le.__evaluation,Et=((nt=Ct==null?void 0:Ct.explicit_parameters)===null||nt===void 0?void 0:nt.includes(Ye))===!0;let vt="",kt=(ft=Ct==null?void 0:Ct.undelegated_secondary_exposures)!==null&&ft!==void 0?ft:[];Et&&(vt=(ht=Ct.allocated_experiment_name)!==null&&ht!==void 0?ht:"",kt=(gt=Ct.secondary_exposures)!==null&&gt!==void 0?gt:[]);const bt=(At=Le.__evaluation)===null||At===void 0?void 0:At.parameter_rule_ids,wt={config:Le.name,parameterName:Ye,ruleID:(xt=bt==null?void 0:bt[Ye])!==null&&xt!==void 0?xt:Le.ruleID,allocatedExperiment:vt,isExplicitParameter:String(Et)};return((yt=Le.__evaluation)===null||yt===void 0?void 0:yt.version)!=null&&(wt.configVersion=Le.__evaluation.version),_createExposure(LAYER_EXPOSURE_NAME,Be,Le.details,wt,_mapExposures(kt,tt))};StatsigEvent._createLayerParameterExposure=_createLayerParameterExposure;const _addEvaluationDetailsToMetadata=(Be,Le)=>(Le.reason=Be.reason,Be.lcut&&(Le.lcut=String(Be.lcut)),Be.receivedAt&&(Le.receivedAt=String(Be.receivedAt)),Le);var StatsigOptionsCommon={};Object.defineProperty(StatsigOptionsCommon,"__esModule",{value:!0}),StatsigOptionsCommon.LoggingEnabledOption=StatsigOptionsCommon.LogEventCompressionMode=void 0,StatsigOptionsCommon.LogEventCompressionMode={Disabled:"d",Enabled:"e",Forced:"f"},StatsigOptionsCommon.LoggingEnabledOption={disabled:"disabled",browserOnly:"browser-only",always:"always"};var StorageProvider={};(function(Be){Object.defineProperty(Be,"__esModule",{value:!0}),Be._setObjectInStorage=Be._getObjectFromStorage=Be.Storage=void 0;const Le=Log,Ye=SafeJs,tt={},nt={isReady:()=>!0,isReadyResolver:()=>null,getProviderName:()=>"InMemory",getItem:Ct=>tt[Ct]?tt[Ct]:null,setItem:(Ct,Et)=>{tt[Ct]=Et},removeItem:Ct=>{delete tt[Ct]},getAllKeys:()=>Object.keys(tt)};let ft=null;try{const Ct=(0,Ye._getWindowSafe)();Ct&&Ct.localStorage&&typeof Ct.localStorage.getItem=="function"&&(ft={isReady:()=>!0,isReadyResolver:()=>null,getProviderName:()=>"LocalStorage",getItem:Et=>Ct.localStorage.getItem(Et),setItem:(Et,vt)=>Ct.localStorage.setItem(Et,vt),removeItem:Et=>Ct.localStorage.removeItem(Et),getAllKeys:()=>Object.keys(Ct.localStorage)})}catch{Le.Log.warn("Failed to setup localStorageProvider.")}let ht=ft??nt,gt=ht;function At(Ct){try{return Ct()}catch(Et){if(Et instanceof Error&&Et.name==="SecurityError")return Be.Storage._setProvider(nt),null;throw Et}}Be.Storage={isReady:()=>gt.isReady(),isReadyResolver:()=>gt.isReadyResolver(),getProviderName:()=>gt.getProviderName(),getItem:Ct=>At(()=>gt.getItem(Ct)),setItem:(Ct,Et)=>At(()=>gt.setItem(Ct,Et)),removeItem:Ct=>gt.removeItem(Ct),getAllKeys:()=>gt.getAllKeys(),_setProvider:Ct=>{ht=Ct,gt=Ct},_setDisabled:Ct=>{Ct?gt=nt:gt=ht}};function xt(Ct){const Et=Be.Storage.getItem(Ct);return JSON.parse(Et??"null")}Be._getObjectFromStorage=xt;function yt(Ct,Et){Be.Storage.setItem(Ct,JSON.stringify(Et))}Be._setObjectInStorage=yt})(StorageProvider);var UrlConfiguration$1={};Object.defineProperty(UrlConfiguration$1,"__esModule",{value:!0}),UrlConfiguration$1.UrlConfiguration=void 0;const Hashing_1$3=Hashing,NetworkConfig_1$2=NetworkConfig,ENDPOINT_DNS_KEY_MAP={[NetworkConfig_1$2.Endpoint._initialize]:"i",[NetworkConfig_1$2.Endpoint._rgstr]:"e",[NetworkConfig_1$2.Endpoint._download_config_specs]:"d"};class UrlConfiguration{constructor(Le,Ye,tt,nt){this.customUrl=null,this.fallbackUrls=null,this.endpoint=Le,this.endpointDnsKey=ENDPOINT_DNS_KEY_MAP[Le],Ye&&(this.customUrl=Ye),!Ye&&tt&&(this.customUrl=tt.endsWith("/")?`${tt}${Le}`:`${tt}/${Le}`),nt&&(this.fallbackUrls=nt);const ft=NetworkConfig_1$2.NetworkDefault[Le];this.defaultUrl=`${ft}/${Le}`}getUrl(){var Le;return(Le=this.customUrl)!==null&&Le!==void 0?Le:this.defaultUrl}getChecksum(){var Le;const Ye=((Le=this.fallbackUrls)!==null&&Le!==void 0?Le:[]).sort().join(",");return(0,Hashing_1$3._DJB2)(this.customUrl+Ye)}}UrlConfiguration$1.UrlConfiguration=UrlConfiguration;var VisibilityObserving={};(function(Be){Object.defineProperty(Be,"__esModule",{value:!0}),Be._notifyVisibilityChanged=Be._subscribeToVisiblityChanged=Be._isUnloading=Be._isCurrentlyVisible=void 0;const Le=SafeJs,Ye="foreground",tt="background",nt=[];let ft=Ye,ht=!1;const gt=()=>ft===Ye;Be._isCurrentlyVisible=gt;const At=()=>ht;Be._isUnloading=At;const xt=Ct=>{nt.unshift(Ct)};Be._subscribeToVisiblityChanged=xt;const yt=Ct=>{Ct!==ft&&(ft=Ct,nt.forEach(Et=>Et(Ct)))};Be._notifyVisibilityChanged=yt,(0,Le._addWindowEventListenerSafe)("focus",()=>{ht=!1,(0,Be._notifyVisibilityChanged)(Ye)}),(0,Le._addWindowEventListenerSafe)("blur",()=>(0,Be._notifyVisibilityChanged)(tt)),(0,Le._addDocumentEventListenerSafe)("visibilitychange",()=>{(0,Be._notifyVisibilityChanged)(document.visibilityState==="visible"?Ye:tt)}),(0,Le._addWindowEventListenerSafe)((0,Le._getUnloadEvent)(),()=>{ht=!0,(0,Be._notifyVisibilityChanged)(tt)})})(VisibilityObserving);var __awaiter$f=commonjsGlobal&&commonjsGlobal.__awaiter||function(Be,Le,Ye,tt){function nt(ft){return ft instanceof Ye?ft:new Ye(function(ht){ht(ft)})}return new(Ye||(Ye=Promise))(function(ft,ht){function gt(yt){try{xt(tt.next(yt))}catch(Ct){ht(Ct)}}function At(yt){try{xt(tt.throw(yt))}catch(Ct){ht(Ct)}}function xt(yt){yt.done?ft(yt.value):nt(yt.value).then(gt,At)}xt((tt=tt.apply(Be,Le||[])).next())})};Object.defineProperty(EventLogger$1,"__esModule",{value:!0}),EventLogger$1.EventLogger=void 0;const CacheKey_1$1=CacheKey,Hashing_1$2=Hashing,Log_1$8=Log,NetworkConfig_1$1=NetworkConfig,SafeJs_1$3=SafeJs,StatsigEvent_1=StatsigEvent,StatsigOptionsCommon_1$2=StatsigOptionsCommon,StorageProvider_1$4=StorageProvider,UrlConfiguration_1=UrlConfiguration$1,VisibilityObserving_1$1=VisibilityObserving,DEFAULT_QUEUE_SIZE=100,DEFAULT_FLUSH_INTERVAL_MS=1e4,MAX_DEDUPER_KEYS=1e3,DEDUPER_WINDOW_DURATION_MS=6e5,MAX_FAILED_LOGS=500,QUICK_FLUSH_WINDOW_MS=200,EVENT_LOGGER_MAP={},RetryFailedLogsTrigger={Startup:"startup",GainedFocus:"gained_focus"};class EventLogger{static _safeFlushAndForget(Le){var Ye;(Ye=EVENT_LOGGER_MAP[Le])===null||Ye===void 0||Ye.flush().catch(()=>{})}static _safeRetryFailedLogs(Le){var Ye;(Ye=EVENT_LOGGER_MAP[Le])===null||Ye===void 0||Ye._retryFailedLogs(RetryFailedLogsTrigger.GainedFocus)}constructor(Le,Ye,tt,nt){var ft,ht;this._sdkKey=Le,this._emitter=Ye,this._network=tt,this._options=nt,this._queue=[],this._lastExposureTimeMap={},this._nonExposedChecks={},this._hasRunQuickFlush=!1,this._creationTime=Date.now(),this._loggingEnabled=(ft=nt==null?void 0:nt.loggingEnabled)!==null&&ft!==void 0?ft:(nt==null?void 0:nt.disableLogging)===!0?StatsigOptionsCommon_1$2.LoggingEnabledOption.disabled:StatsigOptionsCommon_1$2.LoggingEnabledOption.browserOnly,nt!=null&&nt.loggingEnabled&&nt.disableLogging!==void 0&&Log_1$8.Log.warn("Detected both loggingEnabled and disableLogging options. loggingEnabled takes precedence - please remove disableLogging."),this._maxQueueSize=(ht=nt==null?void 0:nt.loggingBufferMaxSize)!==null&&ht!==void 0?ht:DEFAULT_QUEUE_SIZE;const gt=nt==null?void 0:nt.networkConfig;this._logEventUrlConfig=new UrlConfiguration_1.UrlConfiguration(NetworkConfig_1$1.Endpoint._rgstr,gt==null?void 0:gt.logEventUrl,gt==null?void 0:gt.api,gt==null?void 0:gt.logEventFallbackUrls)}setLogEventCompressionMode(Le){this._network.setLogEventCompressionMode(Le)}setLoggingEnabled(Le){if(this._loggingEnabled==="disabled"&&Le!=="disabled"){const Ye=this._getStorageKey(),tt=(0,StorageProvider_1$4._getObjectFromStorage)(Ye);tt&&this._queue.push(...tt),StorageProvider_1$4.Storage.removeItem(Ye)}this._loggingEnabled=Le}enqueue(Le){this._shouldLogEvent(Le)&&(this._normalizeAndAppendEvent(Le),this._quickFlushIfNeeded(),this._queue.length>this._maxQueueSize&&EventLogger._safeFlushAndForget(this._sdkKey))}incrementNonExposureCount(Le){var Ye;const tt=(Ye=this._nonExposedChecks[Le])!==null&&Ye!==void 0?Ye:0;this._nonExposedChecks[Le]=tt+1}reset(){this.flush().catch(()=>{}),this._lastExposureTimeMap={}}start(){var Le;const Ye=(0,SafeJs_1$3._isServerEnv)();Ye&&((Le=this._options)===null||Le===void 0?void 0:Le.loggingEnabled)!=="always"||(EVENT_LOGGER_MAP[this._sdkKey]=this,Ye||(0,VisibilityObserving_1$1._subscribeToVisiblityChanged)(tt=>{tt==="background"?EventLogger._safeFlushAndForget(this._sdkKey):tt==="foreground"&&EventLogger._safeRetryFailedLogs(this._sdkKey)}),this._retryFailedLogs(RetryFailedLogsTrigger.Startup),this._startBackgroundFlushInterval())}stop(){return __awaiter$f(this,void 0,void 0,function*(){this._flushIntervalId&&(clearInterval(this._flushIntervalId),this._flushIntervalId=null),delete EVENT_LOGGER_MAP[this._sdkKey],yield this.flush()})}flush(){return __awaiter$f(this,void 0,void 0,function*(){if(this._appendAndResetNonExposedChecks(),this._queue.length===0)return;const Le=this._queue;this._queue=[],yield this._sendEvents(Le)})}_quickFlushIfNeeded(){this._hasRunQuickFlush||(this._hasRunQuickFlush=!0,!(Date.now()-this._creationTime>QUICK_FLUSH_WINDOW_MS)&&setTimeout(()=>EventLogger._safeFlushAndForget(this._sdkKey),QUICK_FLUSH_WINDOW_MS))}_shouldLogEvent(Le){var Ye;if(((Ye=this._options)===null||Ye===void 0?void 0:Ye.loggingEnabled)!=="always"&&(0,SafeJs_1$3._isServerEnv)())return!1;if(!(0,StatsigEvent_1._isExposureEvent)(Le))return!0;const tt=Le.user?Le.user:{statsigEnvironment:void 0},nt=(0,CacheKey_1$1._getUserStorageKey)(this._sdkKey,tt),ft=Le.metadata?Le.metadata:{},ht=[Le.eventName,nt,ft.gate,ft.config,ft.ruleID,ft.allocatedExperiment,ft.parameterName,String(ft.isExplicitParameter),ft.reason].join("|"),gt=this._lastExposureTimeMap[ht],At=Date.now();return gt&&At-gt<DEDUPER_WINDOW_DURATION_MS?!1:(Object.keys(this._lastExposureTimeMap).length>MAX_DEDUPER_KEYS&&(this._lastExposureTimeMap={}),this._lastExposureTimeMap[ht]=At,!0)}_sendEvents(Le){return __awaiter$f(this,void 0,void 0,function*(){var Ye,tt;if(this._loggingEnabled==="disabled")return this._saveFailedLogsToStorage(Le),!1;try{const ft=(0,VisibilityObserving_1$1._isUnloading)()&&this._network.isBeaconSupported()&&((tt=(Ye=this._options)===null||Ye===void 0?void 0:Ye.networkConfig)===null||tt===void 0?void 0:tt.networkOverrideFunc)==null;return this._emitter({name:"pre_logs_flushed",events:Le}),(ft?this._sendEventsViaBeacon(Le):yield this._sendEventsViaPost(Le)).success?(this._emitter({name:"logs_flushed",events:Le}),!0):(Log_1$8.Log.warn("Failed to flush events."),this._saveFailedLogsToStorage(Le),!1)}catch{return Log_1$8.Log.warn("Failed to flush events."),!1}})}_sendEventsViaPost(Le){return __awaiter$f(this,void 0,void 0,function*(){var Ye;const tt=yield this._network.post(this._getRequestData(Le)),nt=(Ye=tt==null?void 0:tt.code)!==null&&Ye!==void 0?Ye:-1;return{success:nt>=200&&nt<300}})}_sendEventsViaBeacon(Le){return{success:this._network.beacon(this._getRequestData(Le))}}_getRequestData(Le){return{sdkKey:this._sdkKey,data:{events:Le},urlConfig:this._logEventUrlConfig,retries:3,isCompressable:!0,params:{[NetworkConfig_1$1.NetworkParam.EventCount]:String(Le.length)},credentials:"same-origin"}}_saveFailedLogsToStorage(Le){for(;Le.length>MAX_FAILED_LOGS;)Le.shift();const Ye=this._getStorageKey();try{const tt=this._getFailedLogsFromStorage(Ye);(0,StorageProvider_1$4._setObjectInStorage)(Ye,[...tt,...Le])}catch{Log_1$8.Log.warn("Unable to save failed logs to storage")}}_getFailedLogsFromStorage(Le){let Ye=[];try{const tt=(0,StorageProvider_1$4._getObjectFromStorage)(Le);return Array.isArray(tt)&&(Ye=tt),Ye}catch{return[]}}_retryFailedLogs(Le){const Ye=this._getStorageKey();__awaiter$f(this,void 0,void 0,function*(){StorageProvider_1$4.Storage.isReady()||(yield StorageProvider_1$4.Storage.isReadyResolver());const tt=(0,StorageProvider_1$4._getObjectFromStorage)(Ye);if(!tt)return;Le===RetryFailedLogsTrigger.Startup&&StorageProvider_1$4.Storage.removeItem(Ye),(yield this._sendEvents(tt))&&Le===RetryFailedLogsTrigger.GainedFocus&&StorageProvider_1$4.Storage.removeItem(Ye)}).catch(()=>{Log_1$8.Log.warn("Failed to flush stored logs")})}_getStorageKey(){return`statsig.failed_logs.${(0,Hashing_1$2._DJB2)(this._sdkKey)}`}_normalizeAndAppendEvent(Le){Le.user&&(Le.user=Object.assign({},Le.user),delete Le.user.privateAttributes);const Ye={},tt=this._getCurrentPageUrl();tt&&(Ye.statsigMetadata={currentPage:tt});const nt=Object.assign(Object.assign({},Le),Ye);Log_1$8.Log.debug("Enqueued Event:",nt),this._queue.push(nt)}_appendAndResetNonExposedChecks(){Object.keys(this._nonExposedChecks).length!==0&&(this._normalizeAndAppendEvent({eventName:"statsig::non_exposed_checks",user:null,time:Date.now(),metadata:{checks:Object.assign({},this._nonExposedChecks)}}),this._nonExposedChecks={})}_getCurrentPageUrl(){var Le;if(((Le=this._options)===null||Le===void 0?void 0:Le.includeCurrentPageUrlWithEvents)!==!1)return(0,SafeJs_1$3._getCurrentPageUrlSafe)()}_startBackgroundFlushInterval(){var Le,Ye;const tt=(Ye=(Le=this._options)===null||Le===void 0?void 0:Le.loggingIntervalMs)!==null&&Ye!==void 0?Ye:DEFAULT_FLUSH_INTERVAL_MS,nt=setInterval(()=>{const ft=EVENT_LOGGER_MAP[this._sdkKey];!ft||ft._flushIntervalId!==nt?clearInterval(nt):EventLogger._safeFlushAndForget(this._sdkKey)},tt);this._flushIntervalId=nt}}EventLogger$1.EventLogger=EventLogger;var StatsigMetadata={};(function(Be){Object.defineProperty(Be,"__esModule",{value:!0}),Be.StatsigMetadataProvider=Be.SDK_VERSION=void 0,Be.SDK_VERSION="3.28.1";let Le={sdkVersion:Be.SDK_VERSION,sdkType:"js-mono"};Be.StatsigMetadataProvider={get:()=>Le,add:Ye=>{Le=Object.assign(Object.assign({},Le),Ye)}}})(StatsigMetadata);var ClientInterfaces={};Object.defineProperty(ClientInterfaces,"__esModule",{value:!0});var DataAdapterCore$1={},StableID={},UUID={};Object.defineProperty(UUID,"__esModule",{value:!0}),UUID.getUUID=void 0;function getUUID(){if(typeof crypto<"u"&&typeof crypto.randomUUID=="function")return crypto.randomUUID();let Be=new Date().getTime(),Le=typeof performance<"u"&&performance.now&&performance.now()*1e3||0;return`xxxxxxxx-xxxx-4xxx-${"89ab"[Math.floor(Math.random()*4)]}xxx-xxxxxxxxxxxx`.replace(/[xy]/g,tt=>{let nt=Math.random()*16;return Be>0?(nt=(Be+nt)%16|0,Be=Math.floor(Be/16)):(nt=(Le+nt)%16|0,Le=Math.floor(Le/16)),(tt==="x"?nt:nt&7|8).toString(16)})}UUID.getUUID=getUUID,Object.defineProperty(StableID,"__esModule",{value:!0}),StableID.getCookieName=StableID.StableID=void 0;const CacheKey_1=CacheKey,Log_1$7=Log,SafeJs_1$2=SafeJs,StorageProvider_1$3=StorageProvider,UUID_1=UUID,PROMISE_MAP={},COOKIE_ENABLED_MAP={},DISABLED_MAP={};StableID.StableID={cookiesEnabled:!1,randomID:Math.random().toString(36),get:Be=>{if(DISABLED_MAP[Be])return null;if(PROMISE_MAP[Be]!=null)return PROMISE_MAP[Be];let Le=null;return Le=_loadFromCookie(Be),Le!=null?(PROMISE_MAP[Be]=Le,_persistToStorage(Le,Be),Le):(Le=_loadFromStorage(Be),Le==null&&(Le=(0,UUID_1.getUUID)()),_persistToStorage(Le,Be),_persistToCookie(Le,Be),PROMISE_MAP[Be]=Le,Le)},setOverride:(Be,Le)=>{PROMISE_MAP[Le]=Be,_persistToStorage(Be,Le),_persistToCookie(Be,Le)},_setCookiesEnabled:(Be,Le)=>{COOKIE_ENABLED_MAP[Be]=Le},_setDisabled:(Be,Le)=>{DISABLED_MAP[Be]=Le}};function _getStableIDStorageKey(Be){return`statsig.stable_id.${(0,CacheKey_1._getStorageKey)(Be)}`}function _persistToStorage(Be,Le){const Ye=_getStableIDStorageKey(Le);try{(0,StorageProvider_1$3._setObjectInStorage)(Ye,Be)}catch{Log_1$7.Log.warn("Failed to save StableID to storage")}}function _loadFromStorage(Be){const Le=_getStableIDStorageKey(Be);return(0,StorageProvider_1$3._getObjectFromStorage)(Le)}function _loadFromCookie(Be){if(!COOKIE_ENABLED_MAP[Be]||(0,SafeJs_1$2._getDocumentSafe)()==null)return null;const Le=document.cookie.split(";");for(const Ye of Le){const[tt,nt]=Ye.trim().split("=");if(tt===getCookieName(Be))return decodeURIComponent(nt)}return null}function _persistToCookie(Be,Le){if(!COOKIE_ENABLED_MAP[Le]||(0,SafeJs_1$2._getDocumentSafe)()==null)return;const Ye=new Date;Ye.setFullYear(Ye.getFullYear()+1),document.cookie=`${getCookieName(Le)}=${encodeURIComponent(Be)}; expires=${Ye.toUTCString()}; path=/`}function getCookieName(Be){return`statsig.stable_id.${(0,CacheKey_1._getStorageKey)(Be)}`}StableID.getCookieName=getCookieName;var StatsigUser={};Object.defineProperty(StatsigUser,"__esModule",{value:!0}),StatsigUser._getFullUserHash=StatsigUser._normalizeUser=void 0;const Hashing_1$1=Hashing,Log_1$6=Log;function _normalizeUser(Be,Le,Ye){try{const tt=JSON.parse(JSON.stringify(Be));return Le!=null&&Le.environment!=null?tt.statsigEnvironment=Le.environment:Ye!=null&&(tt.statsigEnvironment={tier:Ye}),tt}catch{return Log_1$6.Log.error("Failed to JSON.stringify user"),{statsigEnvironment:void 0}}}StatsigUser._normalizeUser=_normalizeUser;function _getFullUserHash(Be){return Be?(0,Hashing_1$1._DJB2Object)(Be):null}StatsigUser._getFullUserHash=_getFullUserHash;var TypedJsonParse={};Object.defineProperty(TypedJsonParse,"__esModule",{value:!0}),TypedJsonParse._typedJsonParse=void 0;const Log_1$5=Log;function _typedJsonParse(Be,Le,Ye){try{const tt=JSON.parse(Be);if(tt&&typeof tt=="object"&&Le in tt)return tt}catch{}return Log_1$5.Log.error(`Failed to parse ${Ye}`),null}TypedJsonParse._typedJsonParse=_typedJsonParse;var __awaiter$e=commonjsGlobal&&commonjsGlobal.__awaiter||function(Be,Le,Ye,tt){function nt(ft){return ft instanceof Ye?ft:new Ye(function(ht){ht(ft)})}return new(Ye||(Ye=Promise))(function(ft,ht){function gt(yt){try{xt(tt.next(yt))}catch(Ct){ht(Ct)}}function At(yt){try{xt(tt.throw(yt))}catch(Ct){ht(Ct)}}function xt(yt){yt.done?ft(yt.value):nt(yt.value).then(gt,At)}xt((tt=tt.apply(Be,Le||[])).next())})};Object.defineProperty(DataAdapterCore$1,"__esModule",{value:!0}),DataAdapterCore$1._makeDataAdapterResult=DataAdapterCore$1.DataAdapterCore=void 0;const Log_1$4=Log,StableID_1$2=StableID,StatsigUser_1=StatsigUser,StorageProvider_1$2=StorageProvider,TypedJsonParse_1=TypedJsonParse,CACHE_LIMIT=10,MAX_CACHE_WRITE_ATTEMPTS=8;class DataAdapterCore{constructor(Le,Ye){this._adapterName=Le,this._cacheSuffix=Ye,this._options=null,this._sdkKey=null,this._cacheLimit=CACHE_LIMIT,this._lastModifiedStoreKey=`statsig.last_modified_time.${Ye}`,this._inMemoryCache=new InMemoryCache}attach(Le,Ye,tt){this._sdkKey=Le,this._options=Ye}getDataSync(Le){const Ye=Le&&(0,StatsigUser_1._normalizeUser)(Le,this._options),tt=this._getCacheKey(Ye),nt=this._inMemoryCache.get(tt,Ye);if(nt&&this._getIsCacheValueValid(nt))return nt;const ft=this._loadFromCache(tt);return ft&&this._getIsCacheValueValid(ft)?(this._inMemoryCache.add(tt,ft,this._cacheLimit),this._inMemoryCache.get(tt,Ye)):null}setData(Le,Ye){const tt=Ye&&(0,StatsigUser_1._normalizeUser)(Ye,this._options),nt=this._getCacheKey(tt);this._inMemoryCache.add(nt,_makeDataAdapterResult("Bootstrap",Le,null,tt),this._cacheLimit)}_getIsCacheValueValid(Le){return Le.stableID==null||Le.stableID===StableID_1$2.StableID.get(this._getSdkKey())}_getDataAsyncImpl(Le,Ye,tt){return __awaiter$e(this,void 0,void 0,function*(){StorageProvider_1$2.Storage.isReady()||(yield StorageProvider_1$2.Storage.isReadyResolver());const nt=Le??this.getDataSync(Ye),ft=[this._fetchAndPrepFromNetwork(nt,Ye,tt)];return tt!=null&&tt.timeoutMs&&ft.push(new Promise(ht=>setTimeout(ht,tt.timeoutMs)).then(()=>(Log_1$4.Log.debug("Fetching latest value timed out"),null))),yield Promise.race(ft)})}_prefetchDataImpl(Le,Ye){return __awaiter$e(this,void 0,void 0,function*(){const tt=Le&&(0,StatsigUser_1._normalizeUser)(Le,this._options),nt=this._getCacheKey(tt),ft=yield this._getDataAsyncImpl(null,tt,Ye);ft&&this._inMemoryCache.add(nt,Object.assign(Object.assign({},ft),{source:"Prefetch"}),this._cacheLimit)})}_fetchAndPrepFromNetwork(Le,Ye,tt){return __awaiter$e(this,void 0,void 0,function*(){var nt;const ft=(nt=Le==null?void 0:Le.data)!==null&&nt!==void 0?nt:null,ht=Le!=null&&this._isCachedResultValidFor204(Le,Ye),gt=yield this._fetchFromNetwork(ft,Ye,tt,ht);if(!gt)return Log_1$4.Log.debug("No response returned for latest value"),null;const At=(0,TypedJsonParse_1._typedJsonParse)(gt,"has_updates","Response"),xt=this._getSdkKey(),yt=StableID_1$2.StableID.get(xt);let Ct=null;if((At==null?void 0:At.has_updates)===!0)Ct=_makeDataAdapterResult("Network",gt,yt,Ye);else if(ft&&(At==null?void 0:At.has_updates)===!1)Ct=_makeDataAdapterResult("NetworkNotModified",ft,yt,Ye);else return null;const Et=this._getCacheKey(Ye);return this._inMemoryCache.add(Et,Ct,this._cacheLimit),this._writeToCache(Et,Ct),Ct})}_getSdkKey(){return this._sdkKey!=null?this._sdkKey:(Log_1$4.Log.error(`${this._adapterName} is not attached to a Client`),"")}_loadFromCache(Le){var Ye;const tt=(Ye=StorageProvider_1$2.Storage.getItem)===null||Ye===void 0?void 0:Ye.call(StorageProvider_1$2.Storage,Le);if(tt==null)return null;const nt=(0,TypedJsonParse_1._typedJsonParse)(tt,"source","Cached Result");return nt?Object.assign(Object.assign({},nt),{source:"Cache"}):null}_writeToCache(Le,Ye){const tt=JSON.stringify(Ye);for(let nt=0;nt<MAX_CACHE_WRITE_ATTEMPTS;nt++)try{StorageProvider_1$2.Storage.setItem(Le,tt);break}catch(ft){if(!(ft instanceof Error)||!(ft.toString().includes("QuotaExceededError")||ft.toString().includes("QUOTA_EXCEEDED_ERR"))||this._cacheLimit<=1)throw ft;this._cacheLimit=Math.ceil(this._cacheLimit/2),this._runLocalStorageCacheEviction(Le,this._cacheLimit-1)}this._runLocalStorageCacheEviction(Le)}_runLocalStorageCacheEviction(Le,Ye=this._cacheLimit){var tt;const nt=(tt=(0,StorageProvider_1$2._getObjectFromStorage)(this._lastModifiedStoreKey))!==null&&tt!==void 0?tt:{};nt[Le]=Date.now();const ft=_getEvictableKeys(nt,Ye);for(const ht of ft)delete nt[ht],StorageProvider_1$2.Storage.removeItem(ht);(0,StorageProvider_1$2._setObjectInStorage)(this._lastModifiedStoreKey,nt)}}DataAdapterCore$1.DataAdapterCore=DataAdapterCore;function _makeDataAdapterResult(Be,Le,Ye,tt){return{source:Be,data:Le,receivedAt:Date.now(),stableID:Ye,fullUserHash:(0,StatsigUser_1._getFullUserHash)(tt)}}DataAdapterCore$1._makeDataAdapterResult=_makeDataAdapterResult;class InMemoryCache{constructor(){this._data={}}get(Le,Ye){var tt;const nt=this._data[Le],ft=nt==null?void 0:nt.stableID,ht=(tt=Ye==null?void 0:Ye.customIDs)===null||tt===void 0?void 0:tt.stableID;return ht&&ft&&ht!==ft?(Log_1$4.Log.warn("'StatsigUser.customIDs.stableID' mismatch"),null):nt}add(Le,Ye,tt){const nt=_getEvictableKeys(this._data,tt-1);for(const ft of nt)delete this._data[ft];this._data[Le]=Ye}merge(Le){this._data=Object.assign(Object.assign({},this._data),Le)}}function _getEvictableKeys(Be,Le){const Ye=Object.keys(Be);return Ye.length<=Le?[]:Le===0?Ye:Ye.sort((tt,nt)=>{const ft=Be[tt],ht=Be[nt];return typeof ft=="object"&&typeof ht=="object"?ft.receivedAt-ht.receivedAt:ft-ht}).slice(0,Ye.length-Le)}var DownloadConfigSpecsResponse={};Object.defineProperty(DownloadConfigSpecsResponse,"__esModule",{value:!0});var ErrorBoundary={},SDKType={};Object.defineProperty(SDKType,"__esModule",{value:!0}),SDKType.SDKType=void 0;const SDK_CLIENT={};let suffix;SDKType.SDKType={_get:Be=>{var Le;return((Le=SDK_CLIENT[Be])!==null&&Le!==void 0?Le:"js-mono")+(suffix??"")},_setClientType(Be,Le){SDK_CLIENT[Be]=Le},_setBindingType(Be){(!suffix||suffix==="-react")&&(suffix="-"+Be)}},function(Be){var Le=commonjsGlobal&&commonjsGlobal.__awaiter||function(Ct,Et,vt,kt){function bt(wt){return wt instanceof vt?wt:new vt(function(It){It(wt)})}return new(vt||(vt=Promise))(function(wt,It){function Rt(Pt){try{Bt(kt.next(Pt))}catch(Dt){It(Dt)}}function Tt(Pt){try{Bt(kt.throw(Pt))}catch(Dt){It(Dt)}}function Bt(Pt){Pt.done?wt(Pt.value):bt(Pt.value).then(Rt,Tt)}Bt((kt=kt.apply(Ct,Et||[])).next())})};Object.defineProperty(Be,"__esModule",{value:!0}),Be.ErrorBoundary=Be.EXCEPTION_ENDPOINT=void 0;const Ye=Log,tt=SDKType,nt=StatsigMetadata;Be.EXCEPTION_ENDPOINT="https://statsigapi.net/v1/sdk_exception";const ft="[Statsig] UnknownError";class ht{constructor(Et,vt,kt,bt){this._sdkKey=Et,this._options=vt,this._emitter=kt,this._lastSeenError=bt,this._seen=new Set}wrap(Et,vt){try{const kt=Et;xt(kt).forEach(bt=>{const wt=kt[bt];"$EB"in wt||(kt[bt]=(...It)=>this._capture(vt?`${vt}:${bt}`:bt,()=>wt.apply(Et,It)),kt[bt].$EB=!0)})}catch(kt){this._onError("eb:wrap",kt)}}logError(Et,vt){this._onError(Et,vt)}getLastSeenErrorAndReset(){const Et=this._lastSeenError;return this._lastSeenError=void 0,Et??null}attachErrorIfNoneExists(Et){this._lastSeenError||(this._lastSeenError=gt(Et))}_capture(Et,vt){try{const kt=vt();return kt&&kt instanceof Promise?kt.catch(bt=>this._onError(Et,bt)):kt}catch(kt){return this._onError(Et,kt),null}}_onError(Et,vt){try{Ye.Log.warn(`Caught error in ${Et}`,{error:vt}),Le(this,void 0,void 0,function*(){var bt,wt,It,Rt,Tt,Bt,Pt;const Dt=vt||Error(ft),Ot=Dt instanceof Error,Lt=Ot?Dt.name:"No Name",Wt=gt(Dt);if(this._lastSeenError=Wt,this._seen.has(Lt))return;if(this._seen.add(Lt),!((wt=(bt=this._options)===null||bt===void 0?void 0:bt.networkConfig)===null||wt===void 0)&&wt.preventAllNetworkTraffic){(It=this._emitter)===null||It===void 0||It.call(this,{name:"error",error:vt,tag:Et});return}const $t=tt.SDKType._get(this._sdkKey),qt=nt.StatsigMetadataProvider.get(),Ht=Ot?Dt.stack:At(Dt),Ut=Object.assign({tag:Et,exception:Lt,info:Ht,statsigOptions:yt(this._options)},Object.assign(Object.assign({},qt),{sdkType:$t}));yield((Bt=(Tt=(Rt=this._options)===null||Rt===void 0?void 0:Rt.networkConfig)===null||Tt===void 0?void 0:Tt.networkOverrideFunc)!==null&&Bt!==void 0?Bt:fetch)(Be.EXCEPTION_ENDPOINT,{method:"POST",headers:{"STATSIG-API-KEY":this._sdkKey,"STATSIG-SDK-TYPE":String($t),"STATSIG-SDK-VERSION":String(qt.sdkVersion),"Content-Type":"application/json"},body:JSON.stringify(Ut)}),(Pt=this._emitter)===null||Pt===void 0||Pt.call(this,{name:"error",error:vt,tag:Et})}).then(()=>{}).catch(()=>{})}catch{}}}Be.ErrorBoundary=ht;function gt(Ct){return Ct instanceof Error?Ct:typeof Ct=="string"?new Error(Ct):new Error("An unknown error occurred.")}function At(Ct){try{return JSON.stringify(Ct)}catch{return ft}}function xt(Ct){const Et=new Set;let vt=Object.getPrototypeOf(Ct);for(;vt&&vt!==Object.prototype;)Object.getOwnPropertyNames(vt).filter(kt=>typeof(vt==null?void 0:vt[kt])=="function").forEach(kt=>Et.add(kt)),vt=Object.getPrototypeOf(vt);return Array.from(Et)}function yt(Ct){if(!Ct)return{};const Et={};return Object.keys(Ct).forEach(vt=>{const kt=vt,bt=Ct[kt];switch(typeof bt){case"number":case"bigint":case"boolean":Et[String(kt)]=bt;break;case"string":bt.length<50?Et[String(kt)]=bt:Et[String(kt)]="set";break;case"object":kt==="environment"?Et.environment=bt:kt==="networkConfig"?Et.networkConfig=bt:Et[String(kt)]=bt!=null?"set":"unset";break}}),Et}}(ErrorBoundary);var EvaluationOptions={};Object.defineProperty(EvaluationOptions,"__esModule",{value:!0});var EvaluationTypes={};Object.defineProperty(EvaluationTypes,"__esModule",{value:!0});var InitializeResponse={};Object.defineProperty(InitializeResponse,"__esModule",{value:!0});var MemoKey={};Object.defineProperty(MemoKey,"__esModule",{value:!0}),MemoKey.createMemoKey=MemoKey.MemoPrefix=void 0,MemoKey.MemoPrefix={_gate:"g",_dynamicConfig:"c",_experiment:"e",_configList:"cl",_layer:"l",_paramStore:"p"};const EXIST_KEYS=new Set([]),DO_NOT_MEMO_KEYS=new Set(["userPersistedValues"]);function createMemoKey(Be,Le,Ye){let tt=`${Be}|${Le}`;if(!Ye)return tt;for(const nt of Object.keys(Ye)){if(DO_NOT_MEMO_KEYS.has(nt))return;EXIST_KEYS.has(nt)?tt+=`|${nt}=true`:tt+=`|${nt}=${Ye[nt]}`}return tt}MemoKey.createMemoKey=createMemoKey;var NetworkCore$1={},NetworkFallbackResolver$1={},DnsTxtQuery={},__awaiter$d=commonjsGlobal&&commonjsGlobal.__awaiter||function(Be,Le,Ye,tt){function nt(ft){return ft instanceof Ye?ft:new Ye(function(ht){ht(ft)})}return new(Ye||(Ye=Promise))(function(ft,ht){function gt(yt){try{xt(tt.next(yt))}catch(Ct){ht(Ct)}}function At(yt){try{xt(tt.throw(yt))}catch(Ct){ht(Ct)}}function xt(yt){yt.done?ft(yt.value):nt(yt.value).then(gt,At)}xt((tt=tt.apply(Be,Le||[])).next())})};Object.defineProperty(DnsTxtQuery,"__esModule",{value:!0}),DnsTxtQuery._fetchTxtRecords=void 0;const FEATURE_ASSETS_DNS_QUERY=new Uint8Array([0,0,1,0,0,1,0,0,0,0,0,0,13,102,101,97,116,117,114,101,97,115,115,101,116,115,3,111,114,103,0,0,16,0,1]),DNS_QUERY_ENDPOINT="https://cloudflare-dns.com/dns-query",DOMAIN_CHARS=["i","e","d"],MAX_START_LOOKUP=200;function _fetchTxtRecords(Be){return __awaiter$d(this,void 0,void 0,function*(){const Le=yield Be(DNS_QUERY_ENDPOINT,{method:"POST",headers:{"Content-Type":"application/dns-message",Accept:"application/dns-message"},body:FEATURE_ASSETS_DNS_QUERY});if(!Le.ok){const nt=new Error("Failed to fetch TXT records from DNS");throw nt.name="DnsTxtFetchError",nt}const Ye=yield Le.arrayBuffer(),tt=new Uint8Array(Ye);return _parseDnsResponse(tt)})}DnsTxtQuery._fetchTxtRecords=_fetchTxtRecords;function _parseDnsResponse(Be){const Le=Be.findIndex((tt,nt)=>nt<MAX_START_LOOKUP&&String.fromCharCode(tt)==="="&&DOMAIN_CHARS.includes(String.fromCharCode(Be[nt-1])));if(Le===-1){const tt=new Error("Failed to parse TXT records from DNS");throw tt.name="DnsTxtParseError",tt}let Ye="";for(let tt=Le-1;tt<Be.length;tt++)Ye+=String.fromCharCode(Be[tt]);return Ye.split(",")}var __awaiter$c=commonjsGlobal&&commonjsGlobal.__awaiter||function(Be,Le,Ye,tt){function nt(ft){return ft instanceof Ye?ft:new Ye(function(ht){ht(ft)})}return new(Ye||(Ye=Promise))(function(ft,ht){function gt(yt){try{xt(tt.next(yt))}catch(Ct){ht(Ct)}}function At(yt){try{xt(tt.throw(yt))}catch(Ct){ht(Ct)}}function xt(yt){yt.done?ft(yt.value):nt(yt.value).then(gt,At)}xt((tt=tt.apply(Be,Le||[])).next())})};Object.defineProperty(NetworkFallbackResolver$1,"__esModule",{value:!0}),NetworkFallbackResolver$1._isDomainFailure=NetworkFallbackResolver$1.NetworkFallbackResolver=void 0;const DnsTxtQuery_1=DnsTxtQuery,Hashing_1=Hashing,Log_1$3=Log,StorageProvider_1$1=StorageProvider,DEFAULT_TTL_MS=7*24*60*60*1e3,COOLDOWN_TIME_MS=4*60*60*1e3;class NetworkFallbackResolver{constructor(Le){var Ye;this._fallbackInfo=null,this._errorBoundary=null,this._dnsQueryCooldowns={},this._networkOverrideFunc=(Ye=Le.networkConfig)===null||Ye===void 0?void 0:Ye.networkOverrideFunc}setErrorBoundary(Le){this._errorBoundary=Le}tryBumpExpiryTime(Le,Ye){var tt;const nt=(tt=this._fallbackInfo)===null||tt===void 0?void 0:tt[Ye.endpoint];nt&&(nt.expiryTime=Date.now()+DEFAULT_TTL_MS,_tryWriteFallbackInfoToCache(Le,Object.assign(Object.assign({},this._fallbackInfo),{[Ye.endpoint]:nt})))}getActiveFallbackUrl(Le,Ye){var tt,nt;if(Ye.customUrl!=null&&Ye.fallbackUrls!=null)return null;let ft=this._fallbackInfo;ft==null&&(ft=(tt=_readFallbackInfoFromCache(Le))!==null&&tt!==void 0?tt:{},this._fallbackInfo=ft);const ht=ft[Ye.endpoint];return!ht||Date.now()>((nt=ht.expiryTime)!==null&&nt!==void 0?nt:0)||Ye.getChecksum()!==ht.urlConfigChecksum?(delete ft[Ye.endpoint],this._fallbackInfo=ft,_tryWriteFallbackInfoToCache(Le,this._fallbackInfo),null):ht.url?ht.url:null}tryFetchUpdatedFallbackInfo(Le,Ye,tt,nt){return __awaiter$c(this,void 0,void 0,function*(){var ft,ht;try{if(!_isDomainFailure(tt,nt))return!1;const At=Ye.customUrl==null&&Ye.fallbackUrls==null?yield this._tryFetchFallbackUrlsFromNetwork(Ye):Ye.fallbackUrls,xt=this._pickNewFallbackUrl((ft=this._fallbackInfo)===null||ft===void 0?void 0:ft[Ye.endpoint],At);return xt?(this._updateFallbackInfoWithNewUrl(Le,Ye,xt),!0):!1}catch(gt){return(ht=this._errorBoundary)===null||ht===void 0||ht.logError("tryFetchUpdatedFallbackInfo",gt),!1}})}_updateFallbackInfoWithNewUrl(Le,Ye,tt){var nt,ft,ht;const gt={urlConfigChecksum:Ye.getChecksum(),url:tt,expiryTime:Date.now()+DEFAULT_TTL_MS,previous:[]},At=Ye.endpoint,xt=(nt=this._fallbackInfo)===null||nt===void 0?void 0:nt[At];xt&&gt.previous.push(...xt.previous),gt.previous.length>10&&(gt.previous=[]);const yt=(ht=(ft=this._fallbackInfo)===null||ft===void 0?void 0:ft[At])===null||ht===void 0?void 0:ht.url;yt!=null&&gt.previous.push(yt),this._fallbackInfo=Object.assign(Object.assign({},this._fallbackInfo),{[At]:gt}),_tryWriteFallbackInfoToCache(Le,this._fallbackInfo)}_tryFetchFallbackUrlsFromNetwork(Le){return __awaiter$c(this,void 0,void 0,function*(){var Ye;const tt=this._dnsQueryCooldowns[Le.endpoint];if(tt&&Date.now()<tt)return null;this._dnsQueryCooldowns[Le.endpoint]=Date.now()+COOLDOWN_TIME_MS;const nt=[],ft=yield(0,DnsTxtQuery_1._fetchTxtRecords)((Ye=this._networkOverrideFunc)!==null&&Ye!==void 0?Ye:fetch),ht=_extractPathFromUrl(Le.defaultUrl);for(const gt of ft){if(!gt.startsWith(Le.endpointDnsKey+"="))continue;const At=gt.split("=");if(At.length>1){let xt=At[1];xt.endsWith("/")&&(xt=xt.slice(0,-1)),nt.push(`https://${xt}${ht}`)}}return nt})}_pickNewFallbackUrl(Le,Ye){var tt;if(Ye==null)return null;const nt=new Set((tt=Le==null?void 0:Le.previous)!==null&&tt!==void 0?tt:[]),ft=Le==null?void 0:Le.url;let ht=null;for(const gt of Ye){const At=gt.endsWith("/")?gt.slice(0,-1):gt;if(!nt.has(gt)&&At!==ft){ht=At;break}}return ht}}NetworkFallbackResolver$1.NetworkFallbackResolver=NetworkFallbackResolver;function _isDomainFailure(Be,Le){var Ye;const tt=(Ye=Be==null?void 0:Be.toLowerCase())!==null&&Ye!==void 0?Ye:"";return Le||tt.includes("uncaught exception")||tt.includes("failed to fetch")||tt.includes("networkerror when attempting to fetch resource")}NetworkFallbackResolver$1._isDomainFailure=_isDomainFailure;function _getFallbackInfoStorageKey(Be){return`statsig.network_fallback.${(0,Hashing_1._DJB2)(Be)}`}function _tryWriteFallbackInfoToCache(Be,Le){const Ye=_getFallbackInfoStorageKey(Be);if(!Le||Object.keys(Le).length===0){StorageProvider_1$1.Storage.removeItem(Ye);return}StorageProvider_1$1.Storage.setItem(Ye,JSON.stringify(Le))}function _readFallbackInfoFromCache(Be){const Le=_getFallbackInfoStorageKey(Be),Ye=StorageProvider_1$1.Storage.getItem(Le);if(!Ye)return null;try{return JSON.parse(Ye)}catch{return Log_1$3.Log.error("Failed to parse FallbackInfo"),null}}function _extractPathFromUrl(Be){try{return new URL(Be).pathname}catch{return null}}var SDKFlags={};Object.defineProperty(SDKFlags,"__esModule",{value:!0}),SDKFlags.SDKFlags=void 0;const FLAGMAP={};SDKFlags.SDKFlags={setFlags:(Be,Le)=>{FLAGMAP[Be]=Le},get:(Be,Le)=>{var Ye,tt;return(tt=(Ye=FLAGMAP[Be])===null||Ye===void 0?void 0:Ye[Le])!==null&&tt!==void 0?tt:!1}};var SessionID={};(function(Be){Object.defineProperty(Be,"__esModule",{value:!0}),Be.StatsigSession=Be.SessionID=void 0;const Le=$_StatsigGlobal,Ye=CacheKey,tt=Log,nt=StorageProvider,ft=UUID,ht=30*60*1e3,gt=4*60*60*1e3,At={};Be.SessionID={get:Rt=>Be.StatsigSession.get(Rt).data.sessionID},Be.StatsigSession={get:Rt=>{At[Rt]==null&&(At[Rt]=xt(Rt));const Tt=At[Rt];return Ct(Tt)},overrideInitialSessionID:(Rt,Tt)=>{At[Tt]=yt(Rt,Tt)}};function xt(Rt){let Tt=It(Rt);const Bt=Date.now();return Tt||(Tt={sessionID:(0,ft.getUUID)(),startTime:Bt,lastUpdate:Bt}),{data:Tt,sdkKey:Rt}}function yt(Rt,Tt){const Bt=Date.now();return{data:{sessionID:Rt,startTime:Bt,lastUpdate:Bt},sdkKey:Tt}}function Ct(Rt){const Tt=Date.now(),Bt=Rt.data,Pt=Rt.sdkKey;if(vt(Bt)||kt(Bt)){Bt.sessionID=(0,ft.getUUID)(),Bt.startTime=Tt;const Ot=__STATSIG__==null?void 0:__STATSIG__.instance(Pt);Ot&&Ot.$emt({name:"session_expired"})}Bt.lastUpdate=Tt,wt(Bt,Rt.sdkKey),clearTimeout(Rt.idleTimeoutID),clearTimeout(Rt.ageTimeoutID);const Dt=Tt-Bt.startTime;return Rt.idleTimeoutID=Et(Pt,ht),Rt.ageTimeoutID=Et(Pt,gt-Dt),Rt}function Et(Rt,Tt){return setTimeout(()=>{var Bt;const Pt=(Bt=(0,Le._getStatsigGlobal)())===null||Bt===void 0?void 0:Bt.instance(Rt);Pt&&Pt.$emt({name:"session_expired"})},Tt)}function vt({lastUpdate:Rt}){return Date.now()-Rt>ht}function kt({startTime:Rt}){return Date.now()-Rt>gt}function bt(Rt){return`statsig.session_id.${(0,Ye._getStorageKey)(Rt)}`}function wt(Rt,Tt){const Bt=bt(Tt);try{(0,nt._setObjectInStorage)(Bt,Rt)}catch{tt.Log.warn("Failed to save SessionID")}}function It(Rt){const Tt=bt(Rt);return(0,nt._getObjectFromStorage)(Tt)}})(SessionID);var StatsigClientEventEmitter={};Object.defineProperty(StatsigClientEventEmitter,"__esModule",{value:!0}),StatsigClientEventEmitter.ErrorTag=void 0,StatsigClientEventEmitter.ErrorTag={NetworkError:"NetworkError"};var __awaiter$b=commonjsGlobal&&commonjsGlobal.__awaiter||function(Be,Le,Ye,tt){function nt(ft){return ft instanceof Ye?ft:new Ye(function(ht){ht(ft)})}return new(Ye||(Ye=Promise))(function(ft,ht){function gt(yt){try{xt(tt.next(yt))}catch(Ct){ht(Ct)}}function At(yt){try{xt(tt.throw(yt))}catch(Ct){ht(Ct)}}function xt(yt){yt.done?ft(yt.value):nt(yt.value).then(gt,At)}xt((tt=tt.apply(Be,Le||[])).next())})};Object.defineProperty(NetworkCore$1,"__esModule",{value:!0}),NetworkCore$1.NetworkCore=void 0;const __StatsigGlobal_1$1=$_StatsigGlobal,Diagnostics_1=Diagnostics,Log_1$2=Log,NetworkConfig_1=NetworkConfig,NetworkFallbackResolver_1=NetworkFallbackResolver$1,SDKFlags_1=SDKFlags,SDKType_1=SDKType,SafeJs_1$1=SafeJs,SessionID_1$1=SessionID,StableID_1$1=StableID,StatsigClientEventEmitter_1=StatsigClientEventEmitter,StatsigMetadata_1=StatsigMetadata,StatsigOptionsCommon_1$1=StatsigOptionsCommon,VisibilityObserving_1=VisibilityObserving,DEFAULT_TIMEOUT_MS=1e4,BACKOFF_BASE_MS=500,BACKOFF_MAX_MS=3e4,RATE_LIMIT_WINDOW_MS=1e3,RATE_LIMIT_MAX_REQ_COUNT=50,LEAK_RATE=RATE_LIMIT_MAX_REQ_COUNT/RATE_LIMIT_WINDOW_MS,RETRYABLE_CODES=new Set([408,500,502,503,504,522,524,599]);class NetworkCore{constructor(Le,Ye){this._emitter=Ye,this._errorBoundary=null,this._timeout=DEFAULT_TIMEOUT_MS,this._netConfig={},this._options={},this._leakyBucket={},this._lastUsedInitUrl=null,Le&&(this._options=Le),this._options.networkConfig&&(this._netConfig=this._options.networkConfig),this._netConfig.networkTimeoutMs&&(this._timeout=this._netConfig.networkTimeoutMs),this._fallbackResolver=new NetworkFallbackResolver_1.NetworkFallbackResolver(this._options),this.setLogEventCompressionMode(this._getLogEventCompressionMode(Le))}setLogEventCompressionMode(Le){this._options.logEventCompressionMode=Le}setErrorBoundary(Le){this._errorBoundary=Le,this._errorBoundary.wrap(this),this._errorBoundary.wrap(this._fallbackResolver),this._fallbackResolver.setErrorBoundary(Le)}isBeaconSupported(){return typeof navigator<"u"&&typeof navigator.sendBeacon=="function"}getLastUsedInitUrlAndReset(){const Le=this._lastUsedInitUrl;return this._lastUsedInitUrl=null,Le}beacon(Le){if(!_ensureValidSdkKey(Le))return!1;const Ye=this._getInternalRequestArgs("POST",Le),tt=this._getPopulatedURL(Ye),nt=navigator;return nt.sendBeacon.bind(nt)(tt,Ye.body)}post(Le){return __awaiter$b(this,void 0,void 0,function*(){const Ye=this._getInternalRequestArgs("POST",Le);return this._tryEncodeBody(Ye),yield this._tryToCompressBody(Ye),this._sendRequest(Ye)})}get(Le){const Ye=this._getInternalRequestArgs("GET",Le);return this._sendRequest(Ye)}_sendRequest(Le){return __awaiter$b(this,void 0,void 0,function*(){var Ye,tt,nt,ft;if(!_ensureValidSdkKey(Le)||this._netConfig.preventAllNetworkTraffic)return null;const{method:ht,body:gt,retries:At,attempt:xt}=Le,yt=Le.urlConfig.endpoint;if(this._isRateLimited(yt))return Log_1$2.Log.warn(`Request to ${yt} was blocked because you are making requests too frequently.`),null;const Ct=xt??1;let Et=!1;const vt=this._getPopulatedURL(Le);let kt=null;const bt=(0,VisibilityObserving_1._isUnloading)();try{const wt={method:ht,body:gt,headers:Object.assign({},Le.headers),priority:Le.priority,keepalive:bt};_tryMarkInitStart(Le,Ct);const It=this._leakyBucket[yt];It&&(It.lastRequestTime=Date.now(),this._leakyBucket[yt]=It);const Rt=(Ye=this._netConfig.networkOverrideFunc)!==null&&Ye!==void 0?Ye:fetch;let Tt;if(kt=yield Promise.race([Rt(vt,wt).finally(()=>clearTimeout(Tt)),new Promise((Pt,Dt)=>{Tt=setTimeout(()=>{Et=!0,Dt(new Error(`Timeout of ${this._timeout}ms expired.`))},this._timeout)})]),!kt.ok){const Pt=yield kt.text().catch(()=>"No Text"),Dt=new Error(`NetworkError: ${vt} ${Pt}`);throw Dt.name="NetworkError",Dt}const Bt=yield kt.text();return _tryMarkInitEnd(Le,kt,Ct,Bt),this._fallbackResolver.tryBumpExpiryTime(Le.sdkKey,Le.urlConfig),{body:Bt,code:kt.status}}catch(wt){const It=_getErrorMessage(wt),Rt=_didTimeout(It??"",Et);if(_tryMarkInitEnd(Le,kt,Ct,"",wt),(yield this._fallbackResolver.tryFetchUpdatedFallbackInfo(Le.sdkKey,Le.urlConfig,It,Rt))&&(Le.fallbackUrl=this._fallbackResolver.getActiveFallbackUrl(Le.sdkKey,Le.urlConfig)),!At||Ct>At||!RETRYABLE_CODES.has((tt=kt==null?void 0:kt.status)!==null&&tt!==void 0?tt:500)){(nt=this._emitter)===null||nt===void 0||nt.call(this,{name:"error",error:wt,tag:StatsigClientEventEmitter_1.ErrorTag.NetworkError,requestArgs:Le});const Bt=`A networking error occurred during ${ht} request to ${vt}.`;return Log_1$2.Log.error(Bt,It,wt),(ft=this._errorBoundary)===null||ft===void 0||ft.attachErrorIfNoneExists(Bt),null}return yield _exponentialBackoff(Ct),this._sendRequest(Object.assign(Object.assign({},Le),{retries:At,attempt:Ct+1}))}})}_getLogEventCompressionMode(Le){let Ye=Le==null?void 0:Le.logEventCompressionMode;return!Ye&&(Le==null?void 0:Le.disableCompression)===!0&&(Ye=StatsigOptionsCommon_1$1.LogEventCompressionMode.Disabled),Ye||(Ye=StatsigOptionsCommon_1$1.LogEventCompressionMode.Enabled),Ye}_isRateLimited(Le){var Ye;const tt=Date.now(),nt=(Ye=this._leakyBucket[Le])!==null&&Ye!==void 0?Ye:{count:0,lastRequestTime:tt},ft=tt-nt.lastRequestTime,ht=Math.floor(ft*LEAK_RATE);return nt.count=Math.max(0,nt.count-ht),nt.count>=RATE_LIMIT_MAX_REQ_COUNT?!0:(nt.count+=1,nt.lastRequestTime=tt,this._leakyBucket[Le]=nt,!1)}_getPopulatedURL(Le){var Ye;const tt=(Ye=Le.fallbackUrl)!==null&&Ye!==void 0?Ye:Le.urlConfig.getUrl();(Le.urlConfig.endpoint===NetworkConfig_1.Endpoint._initialize||Le.urlConfig.endpoint===NetworkConfig_1.Endpoint._download_config_specs)&&(this._lastUsedInitUrl=tt);const nt=Object.assign({[NetworkConfig_1.NetworkParam.SdkKey]:Le.sdkKey,[NetworkConfig_1.NetworkParam.SdkType]:SDKType_1.SDKType._get(Le.sdkKey),[NetworkConfig_1.NetworkParam.SdkVersion]:StatsigMetadata_1.SDK_VERSION,[NetworkConfig_1.NetworkParam.Time]:String(Date.now()),[NetworkConfig_1.NetworkParam.SessionID]:SessionID_1$1.SessionID.get(Le.sdkKey)},Le.params),ft=Object.keys(nt).map(ht=>`${encodeURIComponent(ht)}=${encodeURIComponent(nt[ht])}`).join("&");return`${tt}${ft?`?${ft}`:""}`}_tryEncodeBody(Le){var Ye;const tt=(0,SafeJs_1$1._getWindowSafe)(),nt=Le.body;if(!(!Le.isStatsigEncodable||this._options.disableStatsigEncoding||typeof nt!="string"||(0,__StatsigGlobal_1$1._getStatsigGlobalFlag)("no-encode")!=null||!(tt!=null&&tt.btoa)))try{Le.body=tt.btoa(nt).split("").reverse().join(""),Le.params=Object.assign(Object.assign({},(Ye=Le.params)!==null&&Ye!==void 0?Ye:{}),{[NetworkConfig_1.NetworkParam.StatsigEncoded]:"1"})}catch(ft){Log_1$2.Log.warn(`Request encoding failed for ${Le.urlConfig.getUrl()}`,ft)}}_tryToCompressBody(Le){return __awaiter$b(this,void 0,void 0,function*(){var Ye;const tt=Le.body;if(!(typeof tt!="string"||!_allowCompression(Le,this._options)))try{const nt=new TextEncoder().encode(tt),ft=new CompressionStream("gzip"),ht=ft.writable.getWriter();ht.write(nt).catch(Log_1$2.Log.error),ht.close().catch(Log_1$2.Log.error);const gt=ft.readable.getReader(),At=[];let xt;for(;!(xt=yield gt.read()).done;)At.push(xt.value);const yt=At.reduce((vt,kt)=>vt+kt.length,0),Ct=new Uint8Array(yt);let Et=0;for(const vt of At)Ct.set(vt,Et),Et+=vt.length;Le.body=Ct,Le.params=Object.assign(Object.assign({},(Ye=Le.params)!==null&&Ye!==void 0?Ye:{}),{[NetworkConfig_1.NetworkParam.IsGzipped]:"1"})}catch(nt){Log_1$2.Log.warn(`Request compression failed for ${Le.urlConfig.getUrl()}`,nt)}})}_getInternalRequestArgs(Le,Ye){const tt=this._fallbackResolver.getActiveFallbackUrl(Ye.sdkKey,Ye.urlConfig),nt=Object.assign(Object.assign({},Ye),{method:Le,fallbackUrl:tt});return"data"in Ye&&_populateRequestBody(nt,Ye.data),nt}}NetworkCore$1.NetworkCore=NetworkCore;const _ensureValidSdkKey=Be=>Be.sdkKey?!0:(Log_1$2.Log.warn("Unable to make request without an SDK key"),!1),_populateRequestBody=(Be,Le)=>{const{sdkKey:Ye,fallbackUrl:tt}=Be,nt=StableID_1$1.StableID.get(Ye),ft=SessionID_1$1.SessionID.get(Ye),ht=SDKType_1.SDKType._get(Ye);Be.body=JSON.stringify(Object.assign(Object.assign({},Le),{statsigMetadata:Object.assign(Object.assign({},StatsigMetadata_1.StatsigMetadataProvider.get()),{stableID:nt,sessionID:ft,sdkType:ht,fallbackUrl:tt})}))};function _allowCompression(Be,Le){if(!Be.isCompressable||(0,__StatsigGlobal_1$1._getStatsigGlobalFlag)("no-compress")!=null||typeof CompressionStream>"u"||typeof TextEncoder>"u")return!1;const Ye=Be.urlConfig.customUrl!=null||Be.urlConfig.fallbackUrls!=null,tt=SDKFlags_1.SDKFlags.get(Be.sdkKey,"enable_log_event_compression")===!0;switch(Le.logEventCompressionMode){case StatsigOptionsCommon_1$1.LogEventCompressionMode.Disabled:return!1;case StatsigOptionsCommon_1$1.LogEventCompressionMode.Enabled:return!(Ye&&!tt);case StatsigOptionsCommon_1$1.LogEventCompressionMode.Forced:return!0;default:return!1}}function _getErrorMessage(Be){return typeof Be=="string"?Be:Be instanceof Error?`${Be.name}: ${Be.message}`:"Unknown Error"}function _didTimeout(Be,Le){return Be.includes("Timeout")||Le}function _tryMarkInitStart(Be,Le){Be.urlConfig.endpoint===NetworkConfig_1.Endpoint._initialize&&Diagnostics_1.Diagnostics._markInitNetworkReqStart(Be.sdkKey,{attempt:Le})}function _tryMarkInitEnd(Be,Le,Ye,tt,nt){Be.urlConfig.endpoint===NetworkConfig_1.Endpoint._initialize&&Diagnostics_1.Diagnostics._markInitNetworkReqEnd(Be.sdkKey,Diagnostics_1.Diagnostics._getDiagnosticsData(Le,Ye,tt,nt))}function _exponentialBackoff(Be){return __awaiter$b(this,void 0,void 0,function*(){yield new Promise(Le=>setTimeout(Le,Math.min(BACKOFF_BASE_MS*(Be*Be),BACKOFF_MAX_MS)))})}var OverrideAdapter={};Object.defineProperty(OverrideAdapter,"__esModule",{value:!0});var ParamStoreTypes={};Object.defineProperty(ParamStoreTypes,"__esModule",{value:!0});var SizeOf={};(function(Be){Object.defineProperty(Be,"__esModule",{value:!0}),Be._fastApproxSizeOf=void 0;const Le=2,Ye=1,tt=(nt,ft)=>{let ht=0;const gt=Object.keys(nt);for(let At=0;At<gt.length;At++){const xt=gt[At],yt=nt[xt];if(ht+=xt.length,typeof yt=="object"&&yt!==null?ht+=(0,Be._fastApproxSizeOf)(yt,ft)+Le:ht+=String(yt).length+Ye,ht>=ft)return ht}return ht};Be._fastApproxSizeOf=tt})(SizeOf);var StatsigClientBase$1={},__awaiter$a=commonjsGlobal&&commonjsGlobal.__awaiter||function(Be,Le,Ye,tt){function nt(ft){return ft instanceof Ye?ft:new Ye(function(ht){ht(ft)})}return new(Ye||(Ye=Promise))(function(ft,ht){function gt(yt){try{xt(tt.next(yt))}catch(Ct){ht(Ct)}}function At(yt){try{xt(tt.throw(yt))}catch(Ct){ht(Ct)}}function xt(yt){yt.done?ft(yt.value):nt(yt.value).then(gt,At)}xt((tt=tt.apply(Be,Le||[])).next())})};Object.defineProperty(StatsigClientBase$1,"__esModule",{value:!0}),StatsigClientBase$1.StatsigClientBase=void 0;const __StatsigGlobal_1=$_StatsigGlobal,ErrorBoundary_1=ErrorBoundary,EventLogger_1=EventLogger$1,Log_1$1=Log,MemoKey_1=MemoKey,SafeJs_1=SafeJs,SessionID_1=SessionID,StableID_1=StableID,StatsigOptionsCommon_1=StatsigOptionsCommon,StorageProvider_1=StorageProvider,MAX_MEMO_CACHE_SIZE=3e3;class StatsigClientBase{constructor(Le,Ye,tt,nt){var ft,ht,gt,At;this.loadingStatus="Uninitialized",this._initializePromise=null,this._listeners={};const xt=this.$emt.bind(this);(nt==null?void 0:nt.logLevel)!=null&&(Log_1$1.Log.level=nt.logLevel),nt!=null&&nt.disableStorage&&StorageProvider_1.Storage._setDisabled(!0),nt!=null&&nt.initialSessionID&&SessionID_1.StatsigSession.overrideInitialSessionID(nt.initialSessionID,Le),nt!=null&&nt.storageProvider&&StorageProvider_1.Storage._setProvider(nt.storageProvider),nt!=null&&nt.enableCookies&&StableID_1.StableID._setCookiesEnabled(Le,nt.enableCookies),nt!=null&&nt.disableStableID&&StableID_1.StableID._setDisabled(Le,!0),this._sdkKey=Le,this._options=nt??{},this._memoCache={},this.overrideAdapter=(ft=nt==null?void 0:nt.overrideAdapter)!==null&&ft!==void 0?ft:null,this._logger=new EventLogger_1.EventLogger(Le,xt,tt,nt),this._errorBoundary=new ErrorBoundary_1.ErrorBoundary(Le,nt,xt),this._errorBoundary.wrap(this),this._errorBoundary.wrap(Ye),this._errorBoundary.wrap(this._logger),tt.setErrorBoundary(this._errorBoundary),this.dataAdapter=Ye,this.dataAdapter.attach(Le,nt,tt),this.storageProvider=StorageProvider_1.Storage,(At=(gt=(ht=this.overrideAdapter)===null||ht===void 0?void 0:ht.loadFromStorage)===null||gt===void 0?void 0:gt.call(ht))===null||At===void 0||At.catch(yt=>this._errorBoundary.logError("OA::loadFromStorage",yt)),this._primeReadyRipcord(),_assignGlobalInstance(Le,this)}updateRuntimeOptions(Le){Le.loggingEnabled?(this._options.loggingEnabled=Le.loggingEnabled,this._logger.setLoggingEnabled(Le.loggingEnabled)):Le.disableLogging!=null&&(this._options.disableLogging=Le.disableLogging,this._logger.setLoggingEnabled(Le.disableLogging?"disabled":"browser-only")),Le.disableStorage!=null&&(this._options.disableStorage=Le.disableStorage,StorageProvider_1.Storage._setDisabled(Le.disableStorage)),Le.enableCookies!=null&&(this._options.enableCookies=Le.enableCookies,StableID_1.StableID._setCookiesEnabled(this._sdkKey,Le.enableCookies)),Le.logEventCompressionMode?this._logger.setLogEventCompressionMode(Le.logEventCompressionMode):Le.disableCompression&&this._logger.setLogEventCompressionMode(StatsigOptionsCommon_1.LogEventCompressionMode.Disabled)}flush(){return this._logger.flush()}shutdown(){return __awaiter$a(this,void 0,void 0,function*(){this.$emt({name:"pre_shutdown"}),this._setStatus("Uninitialized",null),this._initializePromise=null,yield this._logger.stop()})}on(Le,Ye){this._listeners[Le]||(this._listeners[Le]=[]),this._listeners[Le].push(Ye)}off(Le,Ye){if(this._listeners[Le]){const tt=this._listeners[Le].indexOf(Ye);tt!==-1&&this._listeners[Le].splice(tt,1)}}$on(Le,Ye){Ye.__isInternal=!0,this.on(Le,Ye)}$emt(Le){var Ye;const tt=nt=>{try{nt(Le)}catch(ft){if(nt.__isInternal===!0){this._errorBoundary.logError(`__emit:${Le.name}`,ft);return}Log_1$1.Log.error("An error occurred in a StatsigClientEvent listener. This is not an issue with Statsig.",Le)}};this._listeners[Le.name]&&this._listeners[Le.name].forEach(nt=>tt(nt)),(Ye=this._listeners["*"])===null||Ye===void 0||Ye.forEach(tt)}_setStatus(Le,Ye){this.loadingStatus=Le,this._memoCache={},this.$emt({name:"values_updated",status:Le,values:Ye})}_enqueueExposure(Le,Ye,tt){if((tt==null?void 0:tt.disableExposureLog)===!0){this._logger.incrementNonExposureCount(Le);return}this._logger.enqueue(Ye)}_memoize(Le,Ye){return(tt,nt)=>{if(this._options.disableEvaluationMemoization)return Ye(tt,nt);const ft=(0,MemoKey_1.createMemoKey)(Le,tt,nt);return ft?(ft in this._memoCache||(Object.keys(this._memoCache).length>=MAX_MEMO_CACHE_SIZE&&(this._memoCache={}),this._memoCache[ft]=Ye(tt,nt)),this._memoCache[ft]):Ye(tt,nt)}}}StatsigClientBase$1.StatsigClientBase=StatsigClientBase;function _assignGlobalInstance(Be,Le){var Ye;if((0,SafeJs_1._isServerEnv)())return;const tt=(0,__StatsigGlobal_1._getStatsigGlobal)(),nt=(Ye=tt.instances)!==null&&Ye!==void 0?Ye:{},ft=Le;nt[Be]!=null&&Log_1$1.Log.warn("Creating multiple Statsig clients with the same SDK key can lead to unexpected behavior. Multi-instance support requires different SDK keys."),nt[Be]=ft,tt.firstInstance||(tt.firstInstance=ft),tt.instances=nt,__STATSIG__=tt}var StatsigDataAdapter={};Object.defineProperty(StatsigDataAdapter,"__esModule",{value:!0}),StatsigDataAdapter.DataAdapterCachePrefix=void 0,StatsigDataAdapter.DataAdapterCachePrefix="statsig.cached";var StatsigPlugin={};Object.defineProperty(StatsigPlugin,"__esModule",{value:!0});var StatsigTypeFactories={};Object.defineProperty(StatsigTypeFactories,"__esModule",{value:!0}),StatsigTypeFactories._makeTypedGet=StatsigTypeFactories._mergeOverride=StatsigTypeFactories._makeLayer=StatsigTypeFactories._makeExperiment=StatsigTypeFactories._makeDynamicConfig=StatsigTypeFactories._makeFeatureGate=void 0;const Log_1=Log,TypingUtils_1=TypingUtils;function _makeEvaluation(Be,Le,Ye,tt){var nt;return{name:Be,details:Le,ruleID:(nt=Ye==null?void 0:Ye.rule_id)!==null&&nt!==void 0?nt:"",__evaluation:Ye,value:tt}}function _makeFeatureGate(Be,Le,Ye){var tt;return Object.assign(Object.assign({},_makeEvaluation(Be,Le,Ye,(Ye==null?void 0:Ye.value)===!0)),{idType:(tt=Ye==null?void 0:Ye.id_type)!==null&&tt!==void 0?tt:null})}StatsigTypeFactories._makeFeatureGate=_makeFeatureGate;function _makeDynamicConfig(Be,Le,Ye){var tt,nt;const ft=(tt=Ye==null?void 0:Ye.value)!==null&&tt!==void 0?tt:{};return Object.assign(Object.assign({},_makeEvaluation(Be,Le,Ye,ft)),{idType:(nt=Ye==null?void 0:Ye.id_type)!==null&&nt!==void 0?nt:null,get:_makeTypedGet(Be,Ye==null?void 0:Ye.value)})}StatsigTypeFactories._makeDynamicConfig=_makeDynamicConfig;function _makeExperiment(Be,Le,Ye){var tt;const nt=_makeDynamicConfig(Be,Le,Ye);return Object.assign(Object.assign({},nt),{groupName:(tt=Ye==null?void 0:Ye.group_name)!==null&&tt!==void 0?tt:null})}StatsigTypeFactories._makeExperiment=_makeExperiment;function _makeLayer(Be,Le,Ye,tt){var nt,ft;return Object.assign(Object.assign({},_makeEvaluation(Be,Le,Ye,void 0)),{get:_makeTypedGet(Be,Ye==null?void 0:Ye.value,tt),groupName:(nt=Ye==null?void 0:Ye.group_name)!==null&&nt!==void 0?nt:null,__value:(ft=Ye==null?void 0:Ye.value)!==null&&ft!==void 0?ft:{}})}StatsigTypeFactories._makeLayer=_makeLayer;function _mergeOverride(Be,Le,Ye,tt){return Object.assign(Object.assign(Object.assign({},Be),Le),{get:_makeTypedGet(Be.name,Ye,tt)})}StatsigTypeFactories._mergeOverride=_mergeOverride;function _makeTypedGet(Be,Le,Ye){return(tt,nt)=>{var ft;const ht=(ft=Le==null?void 0:Le[tt])!==null&&ft!==void 0?ft:null;return ht==null?nt??null:nt!=null&&!(0,TypingUtils_1._isTypeMatch)(ht,nt)?(Log_1.Log.warn(`Parameter type mismatch. '${Be}.${tt}' was found to be type '${typeof ht}' but fallback/return type is '${typeof nt}'. See https://docs.statsig.com/client/javascript-sdk/#typed-getters`),nt??null):(Ye==null||Ye(tt),ht)}}StatsigTypeFactories._makeTypedGet=_makeTypedGet;var StatsigTypes={};Object.defineProperty(StatsigTypes,"__esModule",{value:!0});var StatsigUpdateDetails={};Object.defineProperty(StatsigUpdateDetails,"__esModule",{value:!0}),StatsigUpdateDetails.UPDATE_DETAIL_ERROR_MESSAGES=StatsigUpdateDetails.createUpdateDetails=void 0;const createUpdateDetails=(Be,Le,Ye,tt,nt,ft)=>({duration:Ye,source:Le,success:Be,error:tt,sourceUrl:nt,warnings:ft});StatsigUpdateDetails.createUpdateDetails=createUpdateDetails,StatsigUpdateDetails.UPDATE_DETAIL_ERROR_MESSAGES={NO_NETWORK_DATA:"No data was returned from the network. This may be due to a network timeout if a timeout value was specified in the options or ad blocker error."},function(Be){var Le=commonjsGlobal&&commonjsGlobal.__createBinding||(Object.create?function(xt,yt,Ct,Et){Et===void 0&&(Et=Ct);var vt=Object.getOwnPropertyDescriptor(yt,Ct);(!vt||("get"in vt?!yt.__esModule:vt.writable||vt.configurable))&&(vt={enumerable:!0,get:function(){return yt[Ct]}}),Object.defineProperty(xt,Et,vt)}:function(xt,yt,Ct,Et){Et===void 0&&(Et=Ct),xt[Et]=yt[Ct]}),Ye=commonjsGlobal&&commonjsGlobal.__exportStar||function(xt,yt){for(var Ct in xt)Ct!=="default"&&!Object.prototype.hasOwnProperty.call(yt,Ct)&&Le(yt,xt,Ct)};Object.defineProperty(Be,"__esModule",{value:!0}),Be.Storage=Be.Log=Be.EventLogger=Be.Diagnostics=void 0;const tt=$_StatsigGlobal,nt=Diagnostics;Object.defineProperty(Be,"Diagnostics",{enumerable:!0,get:function(){return nt.Diagnostics}});const ft=EventLogger$1;Object.defineProperty(Be,"EventLogger",{enumerable:!0,get:function(){return ft.EventLogger}});const ht=Log;Object.defineProperty(Be,"Log",{enumerable:!0,get:function(){return ht.Log}});const gt=StatsigMetadata,At=StorageProvider;Object.defineProperty(Be,"Storage",{enumerable:!0,get:function(){return At.Storage}}),Ye($_StatsigGlobal,Be),Ye(CacheKey,Be),Ye(ClientInterfaces,Be),Ye(DataAdapterCore$1,Be),Ye(Diagnostics,Be),Ye(DownloadConfigSpecsResponse,Be),Ye(ErrorBoundary,Be),Ye(EvaluationOptions,Be),Ye(EvaluationTypes,Be),Ye(Hashing,Be),Ye(InitializeResponse,Be),Ye(Log,Be),Ye(MemoKey,Be),Ye(NetworkConfig,Be),Ye(NetworkCore$1,Be),Ye(OverrideAdapter,Be),Ye(ParamStoreTypes,Be),Ye(SafeJs,Be),Ye(SDKType,Be),Ye(SessionID,Be),Ye(SizeOf,Be),Ye(StableID,Be),Ye(StatsigClientBase$1,Be),Ye(StatsigClientEventEmitter,Be),Ye(StatsigDataAdapter,Be),Ye(StatsigEvent,Be),Ye(StatsigMetadata,Be),Ye(StatsigOptionsCommon,Be),Ye(StatsigPlugin,Be),Ye(StatsigTypeFactories,Be),Ye(StatsigTypes,Be),Ye(StatsigUser,Be),Ye(StorageProvider,Be),Ye(TypedJsonParse,Be),Ye(TypingUtils,Be),Ye(UrlConfiguration$1,Be),Ye(UUID,Be),Ye(VisibilityObserving,Be),Ye(StatsigUpdateDetails,Be),Ye(SDKFlags,Be),Object.assign((0,tt._getStatsigGlobal)(),{Log:ht.Log,SDK_VERSION:gt.SDK_VERSION})}(src$1);var StatsigClient$1={},EvaluationStore$1={},V1InitializeContainer$1={};Object.defineProperty(V1InitializeContainer$1,"__esModule",{value:!0}),V1InitializeContainer$1.V1InitializeContainer=void 0;const client_core_1$7=src$1;class V1InitializeContainer{constructor(Le){this._values=Le}getGate(Le){return this._getResultFromLookup(this._values.feature_gates,Le)}getConfig(Le){return this._getResultFromLookup(this._values.dynamic_configs,Le)}getLayer(Le){return this._getResultFromLookup(this._values.layer_configs,Le)}getParamStore(Le){return this._getResultFromLookup(this._values.param_stores,Le)}getConfigList(){return Object.keys(this._values.dynamic_configs)}getExposureMapping(){return this._values.exposures}_getResultFromLookup(Le,Ye){var tt,nt;return Le&&(nt=(tt=Le[Ye])!==null&&tt!==void 0?tt:Le[(0,client_core_1$7._DJB2)(Ye)])!==null&&nt!==void 0?nt:null}}V1InitializeContainer$1.V1InitializeContainer=V1InitializeContainer;var V2InitializeContainer$1={};Object.defineProperty(V2InitializeContainer$1,"__esModule",{value:!0}),V2InitializeContainer$1.V2InitializeContainer=void 0;const client_core_1$6=src$1;class V2InitializeContainer{constructor(Le){this._values=Le}getGate(Le){var Ye,tt,nt;const ft=this._getResultFromLookup(this._values.feature_gates,Le);return ft?{name:Le,value:ft.v===!0,rule_id:(Ye=ft.r)!==null&&Ye!==void 0?Ye:"default",secondary_exposures:(tt=ft.s)!==null&&tt!==void 0?tt:[],id_type:(nt=ft.i)!==null&&nt!==void 0?nt:""}:null}getConfig(Le){var Ye,tt,nt,ft;const ht=this._getResultFromLookup(this._values.dynamic_configs,Le);return ht?{name:Le,value:(Ye=this._values.values[ht.v])!==null&&Ye!==void 0?Ye:{},rule_id:ht.r,secondary_exposures:(tt=ht.s)!==null&&tt!==void 0?tt:[],id_type:(nt=ht.i)!==null&&nt!==void 0?nt:"",is_user_in_experiment:ht.ue===!0,passed:ht.p===!0,group_name:(ft=ht.gn)!==null&&ft!==void 0?ft:void 0,is_experiment_active:ht.ea===!0,group:ht.r,is_device_based:ht.i==="stableID"}:null}getLayer(Le){var Ye,tt,nt,ft,ht,gt;const At=this._getResultFromLookup(this._values.layer_configs,Le);return At?{name:Le,value:(Ye=this._values.values[At.v])!==null&&Ye!==void 0?Ye:{},rule_id:At.r,secondary_exposures:(tt=At.s)!==null&&tt!==void 0?tt:[],is_user_in_experiment:At.ue===!0,group_name:(nt=At.gn)!==null&&nt!==void 0?nt:void 0,is_experiment_active:At.ea===!0,group:At.r,is_device_based:At.i==="stableID",allocated_experiment_name:(ft=At.ae)!==null&&ft!==void 0?ft:"",explicit_parameters:(ht=At.ep)!==null&&ht!==void 0?ht:[],undelegated_secondary_exposures:(gt=At.us)!==null&&gt!==void 0?gt:[],parameter_rule_ids:At.pr}:null}getParamStore(Le){return this._getResultFromLookup(this._values.param_stores,Le)}getConfigList(){return Object.keys(this._values.dynamic_configs)}getExposureMapping(){return this._values.exposures}_getResultFromLookup(Le,Ye){var tt,nt;return Le&&(nt=(tt=Le[Ye])!==null&&tt!==void 0?tt:Le[(0,client_core_1$6._DJB2)(Ye)])!==null&&nt!==void 0?nt:null}}V2InitializeContainer$1.V2InitializeContainer=V2InitializeContainer,Object.defineProperty(EvaluationStore$1,"__esModule",{value:!0});const client_core_1$5=src$1,V1InitializeContainer_1=V1InitializeContainer$1,V2InitializeContainer_1=V2InitializeContainer$1;class EvaluationStore{constructor(Le){this._sdkKey=Le,this._rawValues=null,this._values=null,this._source="Uninitialized",this._lcut=0,this._receivedAt=0,this._bootstrapMetadata=null,this._warnings=new Set}reset(){this._values=null,this._rawValues=null,this._source="Loading",this._lcut=0,this._receivedAt=0,this._bootstrapMetadata=null,this._warnings.clear()}finalize(){this._values||(this._source="NoValues")}getValues(){return this._rawValues?(0,client_core_1$5._typedJsonParse)(this._rawValues,"has_updates","EvaluationStoreValues"):null}setValues(Le,Ye){var tt,nt;if(!Le)return!1;const ft=(0,client_core_1$5._typedJsonParse)(Le.data,"has_updates","EvaluationResponse");return ft==null?!1:(this._source=Le.source,(ft==null?void 0:ft.has_updates)!==!0||((tt=ft.time)!==null&&tt!==void 0?tt:0)<this._lcut||(this._rawValues=Le.data,this._lcut=ft.time,this._receivedAt=Le.receivedAt,ft.response_format==="init-v2"?this._values=new V2InitializeContainer_1.V2InitializeContainer(ft):this._values=new V1InitializeContainer_1.V1InitializeContainer(ft),this._bootstrapMetadata=this._extractBootstrapMetadata(Le.source,ft),Le.source&&ft.user&&this._setWarningState(Ye,ft),client_core_1$5.SDKFlags.setFlags(this._sdkKey,(nt=ft.sdk_flags)!==null&&nt!==void 0?nt:{})),!0)}getWarnings(){if(this._warnings.size!==0)return Array.from(this._warnings)}getGate(Le){const Ye=this._values?this._values.getGate(Le):null;return this._getDetailedStoreResult(Ye)}getConfig(Le){const Ye=this._values?this._values.getConfig(Le):null;return this._getDetailedStoreResult(Ye)}getConfigList(){return this._values?this._values.getConfigList():[]}getLayer(Le){const Ye=this._values?this._values.getLayer(Le):null;return this._getDetailedStoreResult(Ye)}getParamStore(Le){const Ye=this._values?this._values.getParamStore(Le):null;return this._getDetailedStoreResult(Ye)}getSource(){return this._source}getExposureMapping(){var Le;return(Le=this._values)===null||Le===void 0?void 0:Le.getExposureMapping()}_extractBootstrapMetadata(Le,Ye){if(Le!=="Bootstrap")return null;const tt={};return Ye.user&&(tt.user=Ye.user),Ye.sdkInfo&&(tt.generatorSDKInfo=Ye.sdkInfo),tt.lcut=Ye.time,tt}_getDetailedStoreResult(Le){return{result:Le,details:this._getDetails(Le==null)}}_setWarningState(Le,Ye){var tt,nt;const ft=client_core_1$5.StableID.get(this._sdkKey);if(((tt=Le.customIDs)===null||tt===void 0?void 0:tt.stableID)!==ft&&(!((nt=Le.customIDs)===null||nt===void 0)&&nt.stableID||ft)){this._warnings.add("StableIDMismatch");return}if("user"in Ye){const ht=Ye.user,gt=Object.assign(Object.assign({},Le),{analyticsOnlyMetadata:void 0,privateAttributes:void 0});(0,client_core_1$5._getFullUserHash)(gt)!==(0,client_core_1$5._getFullUserHash)(ht)&&this._warnings.add("PartialUserMatch")}}getCurrentSourceDetails(){if(this._source==="Uninitialized"||this._source==="NoValues")return{reason:this._source};const Le={reason:this._source,lcut:this._lcut,receivedAt:this._receivedAt};return this._warnings.size>0&&(Le.warnings=Array.from(this._warnings)),Le}_getDetails(Le){var Ye,tt;const nt=this.getCurrentSourceDetails();let ft=nt.reason;const ht=(Ye=nt.warnings)!==null&&Ye!==void 0?Ye:[];this._source==="Bootstrap"&&ht.length>0&&(ft=ft+ht[0]),ft!=="Uninitialized"&&ft!=="NoValues"&&(ft=`${ft}:${Le?"Unrecognized":"Recognized"}`);const gt=this._source==="Bootstrap"&&(tt=this._bootstrapMetadata)!==null&&tt!==void 0?tt:void 0;return gt&&(nt.bootstrapMetadata=gt),Object.assign(Object.assign({},nt),{reason:ft})}}EvaluationStore$1.default=EvaluationStore;var Network={},EvaluationResponseDeltas={};Object.defineProperty(EvaluationResponseDeltas,"__esModule",{value:!0}),EvaluationResponseDeltas._resolveDeltasResponse=void 0;const client_core_1$4=src$1,MAX_DELTAS_SORT_DEPTH=2;function _resolveDeltasResponse(Be,Le){const Ye=(0,client_core_1$4._typedJsonParse)(Le,"checksum","DeltasEvaluationResponse");if(!Ye)return{hadBadDeltaChecksum:!0};const tt=_mergeDeltasIntoCache(Be,Ye),nt=_handleDeletedEntries(tt),ft=(0,client_core_1$4._DJB2Object)({feature_gates:nt.feature_gates,dynamic_configs:nt.dynamic_configs,layer_configs:nt.layer_configs},MAX_DELTAS_SORT_DEPTH);return ft===Ye.checksumV2?JSON.stringify(nt):{hadBadDeltaChecksum:!0,badChecksum:ft,badMergedConfigs:nt,badFullResponse:Ye.deltas_full_response}}EvaluationResponseDeltas._resolveDeltasResponse=_resolveDeltasResponse;function _mergeDeltasIntoCache(Be,Le){return Object.assign(Object.assign(Object.assign({},Be),Le),{feature_gates:Object.assign(Object.assign({},Be.feature_gates),Le.feature_gates),layer_configs:Object.assign(Object.assign({},Be.layer_configs),Le.layer_configs),dynamic_configs:Object.assign(Object.assign({},Be.dynamic_configs),Le.dynamic_configs)})}function _handleDeletedEntries(Be){const Le=Be;return _deleteEntriesInRecord(Be.deleted_gates,Le.feature_gates),delete Le.deleted_gates,_deleteEntriesInRecord(Be.deleted_configs,Le.dynamic_configs),delete Le.deleted_configs,_deleteEntriesInRecord(Be.deleted_layers,Le.layer_configs),delete Le.deleted_layers,Le}function _deleteEntriesInRecord(Be,Le){Be==null||Be.forEach(Ye=>{delete Le[Ye]})}var __awaiter$9=commonjsGlobal&&commonjsGlobal.__awaiter||function(Be,Le,Ye,tt){function nt(ft){return ft instanceof Ye?ft:new Ye(function(ht){ht(ft)})}return new(Ye||(Ye=Promise))(function(ft,ht){function gt(yt){try{xt(tt.next(yt))}catch(Ct){ht(Ct)}}function At(yt){try{xt(tt.throw(yt))}catch(Ct){ht(Ct)}}function xt(yt){yt.done?ft(yt.value):nt(yt.value).then(gt,At)}xt((tt=tt.apply(Be,Le||[])).next())})};Object.defineProperty(Network,"__esModule",{value:!0});const client_core_1$3=src$1,EvaluationResponseDeltas_1=EvaluationResponseDeltas;class StatsigNetwork extends client_core_1$3.NetworkCore{constructor(Le,Ye){super(Le,Ye);const tt=Le==null?void 0:Le.networkConfig;this._option=Le,this._initializeUrlConfig=new client_core_1$3.UrlConfiguration(client_core_1$3.Endpoint._initialize,tt==null?void 0:tt.initializeUrl,tt==null?void 0:tt.api,tt==null?void 0:tt.initializeFallbackUrls)}fetchEvaluations(Le,Ye,tt,nt,ft){return __awaiter$9(this,void 0,void 0,function*(){var ht,gt,At,xt,yt,Ct;const Et=Ye?(0,client_core_1$3._typedJsonParse)(Ye,"has_updates","InitializeResponse"):null;let vt={user:nt,hash:(At=(gt=(ht=this._option)===null||ht===void 0?void 0:ht.networkConfig)===null||gt===void 0?void 0:gt.initializeHashAlgorithm)!==null&&At!==void 0?At:"djb2",deltasResponseRequested:!1,full_checksum:null};if(Et!=null&&Et.has_updates){const kt=(Et==null?void 0:Et.hash_used)!==((Ct=(yt=(xt=this._option)===null||xt===void 0?void 0:xt.networkConfig)===null||yt===void 0?void 0:yt.initializeHashAlgorithm)!==null&&Ct!==void 0?Ct:"djb2");vt=Object.assign(Object.assign({},vt),{sinceTime:ft&&!kt?Et.time:0,previousDerivedFields:"derived_fields"in Et&&ft?Et.derived_fields:{},deltasResponseRequested:!0,full_checksum:Et.full_checksum,partialUserMatchSinceTime:kt?0:Et.time})}return this._fetchEvaluations(Le,Et,vt,tt)})}_fetchEvaluations(Le,Ye,tt,nt){return __awaiter$9(this,void 0,void 0,function*(){var ft,ht;const gt=yield this.post({sdkKey:Le,urlConfig:this._initializeUrlConfig,data:tt,retries:2,isStatsigEncodable:!0,priority:nt});if((gt==null?void 0:gt.code)===204)return'{"has_updates": false}';if((gt==null?void 0:gt.code)!==200)return(ft=gt==null?void 0:gt.body)!==null&&ft!==void 0?ft:null;if((Ye==null?void 0:Ye.has_updates)!==!0||((ht=gt.body)===null||ht===void 0?void 0:ht.includes('"is_delta":true'))!==!0||tt.deltasResponseRequested!==!0)return gt.body;const At=(0,EvaluationResponseDeltas_1._resolveDeltasResponse)(Ye,gt.body);return typeof At=="string"?At:this._fetchEvaluations(Le,Ye,Object.assign(Object.assign(Object.assign({},tt),At),{deltasResponseRequested:!1}),nt)})}}Network.default=StatsigNetwork;var ParamStoreGetterFactory={};Object.defineProperty(ParamStoreGetterFactory,"__esModule",{value:!0}),ParamStoreGetterFactory._makeParamStoreGetter=void 0;const client_core_1$2=src$1,NO_EXPOSURE_OPT={disableExposureLog:!0};function _shouldLogExposure(Be){return Be==null||Be.disableExposureLog===!1}function _shouldReturnFallback(Be,Le){return Le!=null&&!(0,client_core_1$2._isTypeMatch)(Be,Le)}function _getMappedStaticValue(Be,Le){return Be.value}function _getMappedGateValue(Be,Le,Ye){return Be.getFeatureGate(Le.gate_name,_shouldLogExposure(Ye)?void 0:NO_EXPOSURE_OPT).value?Le.pass_value:Le.fail_value}function _getMappedDynamicConfigValue(Be,Le,Ye,tt){const ft=Be.getDynamicConfig(Le.config_name,_shouldLogExposure(tt)?void 0:NO_EXPOSURE_OPT).get(Le.param_name);return _shouldReturnFallback(ft,Ye)?Ye:ft}function _getMappedExperimentValue(Be,Le,Ye,tt){const ft=Be.getExperiment(Le.experiment_name,_shouldLogExposure(tt)?void 0:NO_EXPOSURE_OPT).get(Le.param_name);return _shouldReturnFallback(ft,Ye)?Ye:ft}function _getMappedLayerValue(Be,Le,Ye,tt){const ft=Be.getLayer(Le.layer_name,_shouldLogExposure(tt)?void 0:NO_EXPOSURE_OPT).get(Le.param_name);return _shouldReturnFallback(ft,Ye)?Ye:ft}function _makeParamStoreGetter(Be,Le,Ye){return(tt,nt)=>{if(Le==null)return nt;const ft=Le[tt];if(ft==null||nt!=null&&(0,client_core_1$2._typeOf)(nt)!==ft.param_type)return nt;switch(ft.ref_type){case"static":return _getMappedStaticValue(ft);case"gate":return _getMappedGateValue(Be,ft,Ye);case"dynamic_config":return _getMappedDynamicConfigValue(Be,ft,nt,Ye);case"experiment":return _getMappedExperimentValue(Be,ft,nt,Ye);case"layer":return _getMappedLayerValue(Be,ft,nt,Ye);default:return nt}}}ParamStoreGetterFactory._makeParamStoreGetter=_makeParamStoreGetter;var StatsigEvaluationsDataAdapter$1={},__awaiter$8=commonjsGlobal&&commonjsGlobal.__awaiter||function(Be,Le,Ye,tt){function nt(ft){return ft instanceof Ye?ft:new Ye(function(ht){ht(ft)})}return new(Ye||(Ye=Promise))(function(ft,ht){function gt(yt){try{xt(tt.next(yt))}catch(Ct){ht(Ct)}}function At(yt){try{xt(tt.throw(yt))}catch(Ct){ht(Ct)}}function xt(yt){yt.done?ft(yt.value):nt(yt.value).then(gt,At)}xt((tt=tt.apply(Be,Le||[])).next())})};Object.defineProperty(StatsigEvaluationsDataAdapter$1,"__esModule",{value:!0}),StatsigEvaluationsDataAdapter$1.StatsigEvaluationsDataAdapter=void 0;const client_core_1$1=src$1,Network_1$1=Network;class StatsigEvaluationsDataAdapter extends client_core_1$1.DataAdapterCore{constructor(){super("EvaluationsDataAdapter","evaluations"),this._network=null,this._options=null}attach(Le,Ye,tt){super.attach(Le,Ye,tt),tt!==null&&tt instanceof Network_1$1.default?this._network=tt:this._network=new Network_1$1.default(Ye??{})}getDataAsync(Le,Ye,tt){return this._getDataAsyncImpl(Le,(0,client_core_1$1._normalizeUser)(Ye,this._options),tt)}prefetchData(Le,Ye){return this._prefetchDataImpl(Le,Ye)}setData(Le){const Ye=(0,client_core_1$1._typedJsonParse)(Le,"has_updates","data");Ye&&"user"in Ye?super.setData(Le,Ye.user):client_core_1$1.Log.error("StatsigUser not found. You may be using an older server SDK version. Please upgrade your SDK or use setDataLegacy.")}setDataLegacy(Le,Ye){super.setData(Le,Ye)}_fetchFromNetwork(Le,Ye,tt,nt){return __awaiter$8(this,void 0,void 0,function*(){var ft;const ht=yield(ft=this._network)===null||ft===void 0?void 0:ft.fetchEvaluations(this._getSdkKey(),Le,tt==null?void 0:tt.priority,Ye,nt);return ht??null})}_getCacheKey(Le){var Ye;const tt=(0,client_core_1$1._getStorageKey)(this._getSdkKey(),Le,(Ye=this._options)===null||Ye===void 0?void 0:Ye.customUserCacheKeyFunc);return`${client_core_1$1.DataAdapterCachePrefix}.${this._cacheSuffix}.${tt}`}_isCachedResultValidFor204(Le,Ye){return Le.fullUserHash!=null&&Le.fullUserHash===(0,client_core_1$1._getFullUserHash)(Ye)}}StatsigEvaluationsDataAdapter$1.StatsigEvaluationsDataAdapter=StatsigEvaluationsDataAdapter;var __awaiter$7=commonjsGlobal&&commonjsGlobal.__awaiter||function(Be,Le,Ye,tt){function nt(ft){return ft instanceof Ye?ft:new Ye(function(ht){ht(ft)})}return new(Ye||(Ye=Promise))(function(ft,ht){function gt(yt){try{xt(tt.next(yt))}catch(Ct){ht(Ct)}}function At(yt){try{xt(tt.throw(yt))}catch(Ct){ht(Ct)}}function xt(yt){yt.done?ft(yt.value):nt(yt.value).then(gt,At)}xt((tt=tt.apply(Be,Le||[])).next())})};Object.defineProperty(StatsigClient$1,"__esModule",{value:!0});const client_core_1=src$1,EvaluationStore_1=EvaluationStore$1,Network_1=Network,ParamStoreGetterFactory_1=ParamStoreGetterFactory,StatsigEvaluationsDataAdapter_1=StatsigEvaluationsDataAdapter$1;class StatsigClient extends client_core_1.StatsigClientBase{static instance(Le){const Ye=(0,client_core_1._getStatsigGlobal)().instance(Le);return Ye instanceof StatsigClient?Ye:(client_core_1.Log.warn((0,client_core_1._isServerEnv)()?"StatsigClient.instance is not supported in server environments":"Unable to find StatsigClient instance"),new StatsigClient(Le??"",{}))}constructor(Le,Ye,tt=null){var nt,ft;client_core_1.SDKType._setClientType(Le,"javascript-client");const ht=new Network_1.default(tt,At=>{this.$emt(At)});super(Le,(nt=tt==null?void 0:tt.dataAdapter)!==null&&nt!==void 0?nt:new StatsigEvaluationsDataAdapter_1.StatsigEvaluationsDataAdapter,ht,tt),this._possibleFirstTouchMetadata={},this.getFeatureGate=this._memoize(client_core_1.MemoPrefix._gate,this._getFeatureGateImpl.bind(this)),this.getDynamicConfig=this._memoize(client_core_1.MemoPrefix._dynamicConfig,this._getDynamicConfigImpl.bind(this)),this.getExperiment=this._memoize(client_core_1.MemoPrefix._experiment,this._getExperimentImpl.bind(this)),this.getConfigList=this._memoize(client_core_1.MemoPrefix._configList,this._getConfigListImpl.bind(this)),this.getLayer=this._memoize(client_core_1.MemoPrefix._layer,this._getLayerImpl.bind(this)),this.getParameterStore=this._memoize(client_core_1.MemoPrefix._paramStore,this._getParameterStoreImpl.bind(this)),this._store=new EvaluationStore_1.default(Le),this._network=ht,this._user=this._configureUser(Ye,tt),this._sdkInstanceID=(0,client_core_1.getUUID)();const gt=(ft=tt==null?void 0:tt.plugins)!==null&&ft!==void 0?ft:[];for(const At of gt)At.bind(this)}initializeSync(Le){var Ye;return this.loadingStatus!=="Uninitialized"?(0,client_core_1.createUpdateDetails)(!0,this._store.getSource(),-1,null,null,["MultipleInitializations",...(Ye=this._store.getWarnings())!==null&&Ye!==void 0?Ye:[]]):(this._logger.start(),this.updateUserSync(this._user,Le))}initializeAsync(Le){return __awaiter$7(this,void 0,void 0,function*(){return this._initializePromise?this._initializePromise:(this._initializePromise=this._initializeAsyncImpl(Le),this._initializePromise)})}updateUserSync(Le,Ye){const tt=performance.now();try{return this._updateUserSyncImpl(Le,Ye,tt)}catch(nt){const ft=nt instanceof Error?nt:new Error(String(nt));return this._createErrorUpdateDetails(ft,tt)}}_updateUserSyncImpl(Le,Ye,tt){var nt;const ft=[...(nt=this._store.getWarnings())!==null&&nt!==void 0?nt:[]];this._resetForUser(Le);const ht=this.dataAdapter.getDataSync(this._user);ht==null&&ft.push("NoCachedValues"),this._store.setValues(ht,this._user),this._finalizeUpdate(ht);const gt=Ye==null?void 0:Ye.disableBackgroundCacheRefresh;return gt===!0||gt==null&&(ht==null?void 0:ht.source)==="Bootstrap"?(0,client_core_1.createUpdateDetails)(!0,this._store.getSource(),performance.now()-tt,this._errorBoundary.getLastSeenErrorAndReset(),this._network.getLastUsedInitUrlAndReset(),ft):(this._runPostUpdate(ht??null,this._user),(0,client_core_1.createUpdateDetails)(!0,this._store.getSource(),performance.now()-tt,this._errorBoundary.getLastSeenErrorAndReset(),this._network.getLastUsedInitUrlAndReset(),ft))}updateUserAsync(Le,Ye){return __awaiter$7(this,void 0,void 0,function*(){const tt=performance.now();try{return yield this._updateUserAsyncImpl(Le,Ye)}catch(nt){const ft=nt instanceof Error?nt:new Error(String(nt));return this._createErrorUpdateDetails(ft,tt)}})}_updateUserAsyncImpl(Le,Ye){return __awaiter$7(this,void 0,void 0,function*(){this._resetForUser(Le);const tt=this._user;client_core_1.Diagnostics._markInitOverallStart(this._sdkKey);let nt=this.dataAdapter.getDataSync(tt);if(this._store.setValues(nt,this._user),this._setStatus("Loading",nt),nt=yield this.dataAdapter.getDataAsync(nt,tt,Ye),tt!==this._user)return(0,client_core_1.createUpdateDetails)(!1,this._store.getSource(),-1,new Error("User changed during update"),this._network.getLastUsedInitUrlAndReset());let ft=!1;nt!=null&&(client_core_1.Diagnostics._markInitProcessStart(this._sdkKey),ft=this._store.setValues(nt,this._user),client_core_1.Diagnostics._markInitProcessEnd(this._sdkKey,{success:ft})),this._finalizeUpdate(nt),ft||(this._errorBoundary.attachErrorIfNoneExists(client_core_1.UPDATE_DETAIL_ERROR_MESSAGES.NO_NETWORK_DATA),this.$emt({name:"initialization_failure"})),client_core_1.Diagnostics._markInitOverallEnd(this._sdkKey,ft,this._store.getCurrentSourceDetails());const ht=client_core_1.Diagnostics._enqueueDiagnosticsEvent(this._user,this._logger,this._sdkKey,this._options);return(0,client_core_1.createUpdateDetails)(ft,this._store.getSource(),ht,this._errorBoundary.getLastSeenErrorAndReset(),this._network.getLastUsedInitUrlAndReset(),this._store.getWarnings())})}getContext(){return{sdkKey:this._sdkKey,options:this._options,values:this._store.getValues(),user:JSON.parse(JSON.stringify(this._user)),errorBoundary:this._errorBoundary,session:client_core_1.StatsigSession.get(this._sdkKey),stableID:client_core_1.StableID.get(this._sdkKey),sdkInstanceID:this._sdkInstanceID}}checkGate(Le,Ye){return this.getFeatureGate(Le,Ye).value}logEvent(Le,Ye,tt){const nt=typeof Le=="string"?{eventName:Le,value:Ye,metadata:tt}:Le;this.$emt({name:"log_event_called",event:nt}),this._logger.enqueue(Object.assign(Object.assign({},nt),{user:this._user,time:Date.now()}))}updateUserWithAnalyticsOnlyMetadata(Le){this._user=this._configureUser(Object.assign(Object.assign({},this._user),{analyticsOnlyMetadata:Le}),this._options)}_primeReadyRipcord(){this.$on("error",()=>{this.loadingStatus==="Loading"&&this._finalizeUpdate(null)})}_initializeAsyncImpl(Le){return __awaiter$7(this,void 0,void 0,function*(){return client_core_1.Storage.isReady()||(yield client_core_1.Storage.isReadyResolver()),this._logger.start(),this.updateUserAsync(this._user,Le)})}_createErrorUpdateDetails(Le,Ye){var tt;return(0,client_core_1.createUpdateDetails)(!1,this._store.getSource(),performance.now()-Ye,Le,null,[...(tt=this._store.getWarnings())!==null&&tt!==void 0?tt:[]])}_finalizeUpdate(Le){this._store.finalize(),this._setStatus("Ready",Le)}_runPostUpdate(Le,Ye){this.dataAdapter.getDataAsync(Le,Ye,{priority:"low"}).catch(tt=>{client_core_1.Log.error("An error occurred after update.",tt)})}_resetForUser(Le){this._logger.reset(),this._store.reset(),this._user=this._configureUser(Le,this._options)}_configureUser(Le,Ye){var tt,nt,ft;const ht=(0,client_core_1._normalizeUser)(Le,Ye),gt=(tt=ht.customIDs)===null||tt===void 0?void 0:tt.stableID;if(gt){const At=(ft=(nt=this.storageProvider).isReadyResolver)===null||ft===void 0?void 0:ft.call(nt);At?At.then(()=>client_core_1.StableID.setOverride(gt,this._sdkKey),()=>client_core_1.StableID.setOverride(gt,this._sdkKey)):client_core_1.StableID.setOverride(gt,this._sdkKey)}return Object.keys(this._possibleFirstTouchMetadata).length>0&&(ht.analyticsOnlyMetadata=Object.assign(Object.assign({},ht.analyticsOnlyMetadata),this._possibleFirstTouchMetadata)),ht}_getFeatureGateImpl(Le,Ye){var tt,nt;const{result:ft,details:ht}=this._store.getGate(Le),gt=(0,client_core_1._makeFeatureGate)(Le,ht,ft),At=(nt=(tt=this.overrideAdapter)===null||tt===void 0?void 0:tt.getGateOverride)===null||nt===void 0?void 0:nt.call(tt,gt,this._user,Ye),xt=At??gt;return this._enqueueExposure(Le,(0,client_core_1._createGateExposure)(this._user,xt,this._store.getExposureMapping()),Ye),this.$emt({name:"gate_evaluation",gate:xt}),xt}_getDynamicConfigImpl(Le,Ye){var tt,nt;const{result:ft,details:ht}=this._store.getConfig(Le),gt=(0,client_core_1._makeDynamicConfig)(Le,ht,ft),At=(nt=(tt=this.overrideAdapter)===null||tt===void 0?void 0:tt.getDynamicConfigOverride)===null||nt===void 0?void 0:nt.call(tt,gt,this._user,Ye),xt=At??gt;return this._enqueueExposure(Le,(0,client_core_1._createConfigExposure)(this._user,xt,this._store.getExposureMapping()),Ye),this.$emt({name:"dynamic_config_evaluation",dynamicConfig:xt}),xt}_getExperimentImpl(Le,Ye){var tt,nt,ft,ht;const{result:gt,details:At}=this._store.getConfig(Le),xt=(0,client_core_1._makeExperiment)(Le,At,gt);xt.__evaluation!=null&&(xt.__evaluation.secondary_exposures=(0,client_core_1._mapExposures)((nt=(tt=xt.__evaluation)===null||tt===void 0?void 0:tt.secondary_exposures)!==null&&nt!==void 0?nt:[],this._store.getExposureMapping()));const yt=(ht=(ft=this.overrideAdapter)===null||ft===void 0?void 0:ft.getExperimentOverride)===null||ht===void 0?void 0:ht.call(ft,xt,this._user,Ye),Ct=yt??xt;return this._enqueueExposure(Le,(0,client_core_1._createConfigExposure)(this._user,Ct,this._store.getExposureMapping()),Ye),this.$emt({name:"experiment_evaluation",experiment:Ct}),Ct}_getConfigListImpl(){return this._store.getConfigList()}_getLayerImpl(Le,Ye){var tt,nt,ft;const{result:ht,details:gt}=this._store.getLayer(Le),At=(0,client_core_1._makeLayer)(Le,gt,ht),xt=(nt=(tt=this.overrideAdapter)===null||tt===void 0?void 0:tt.getLayerOverride)===null||nt===void 0?void 0:nt.call(tt,At,this._user,Ye);Ye!=null&&Ye.disableExposureLog&&this._logger.incrementNonExposureCount(Le);const yt=(0,client_core_1._mergeOverride)(At,xt,(ft=xt==null?void 0:xt.__value)!==null&&ft!==void 0?ft:At.__value,Ct=>{Ye!=null&&Ye.disableExposureLog||this._enqueueExposure(Le,(0,client_core_1._createLayerParameterExposure)(this._user,yt,Ct,this._store.getExposureMapping()),Ye)});return this.$emt({name:"layer_evaluation",layer:yt}),yt}_getParameterStoreImpl(Le,Ye){var tt,nt;const{result:ft,details:ht}=this._store.getParamStore(Le);this._logger.incrementNonExposureCount(Le);const gt={name:Le,details:ht,__configuration:ft,get:(0,ParamStoreGetterFactory_1._makeParamStoreGetter)(this,ft,Ye)},At=(nt=(tt=this.overrideAdapter)===null||tt===void 0?void 0:tt.getParamStoreOverride)===null||nt===void 0?void 0:nt.call(tt,gt,Ye);return At!=null&&(gt.__configuration=At.config,gt.details=At.details,gt.get=(0,ParamStoreGetterFactory_1._makeParamStoreGetter)(this,At.config,Ye)),gt}}StatsigClient$1.default=StatsigClient,function(Be){var Le=commonjsGlobal&&commonjsGlobal.__createBinding||(Object.create?function(ht,gt,At,xt){xt===void 0&&(xt=At);var yt=Object.getOwnPropertyDescriptor(gt,At);(!yt||("get"in yt?!gt.__esModule:yt.writable||yt.configurable))&&(yt={enumerable:!0,get:function(){return gt[At]}}),Object.defineProperty(ht,xt,yt)}:function(ht,gt,At,xt){xt===void 0&&(xt=At),ht[xt]=gt[At]}),Ye=commonjsGlobal&&commonjsGlobal.__exportStar||function(ht,gt){for(var At in ht)At!=="default"&&!Object.prototype.hasOwnProperty.call(gt,At)&&Le(gt,ht,At)};Object.defineProperty(Be,"__esModule",{value:!0}),Be.StatsigClient=void 0;const tt=src$1,nt=StatsigClient$1;Be.StatsigClient=nt.default,Ye(src$1,Be);const ft=Object.assign((0,tt._getStatsigGlobal)(),{StatsigClient:nt.default});Be.default=ft}(src$2);const FEATURE_FLAGS=["id_text_barcode_readability","selfie_local_lenses_check_web","id_model_hebrew_back_id","id_face_readability","new_id_capture_ux_least_risky_clients","id_test_aa","id_iou_check","iad_checks","iad_c_checks","new_fingerprint","mp_test_hashed_id","face_occlusion"],GLOBAL_FLAGS=["new_fingerprint"],ID_MODULE_FLAGS=["id_face_readability","id_test_aa","iad_c_checks","mp_test_hashed_id","id_model_hebrew_back_id","id_iou_check","iad_checks","new_id_capture_ux_least_risky_clients","id_text_barcode_readability"],SELFIE_MODULE_FLAGS=["selfie_local_lenses_check_web","face_occlusion"];function getStatsigEnvironment(Be){return isStageK8sEnv(Be)?{tier:"development"}:isStageEnv(Be)||isDemoEnv(Be)?{tier:"staging"}:isSaasEnv(Be)?{tier:"production"}:{tier:"development"}}const clientApiKey="client-GBTzsiJ99rvyZQdNXDFkftx3ZoMF1TED2rsB3m3IUqc",featureFlagsValues={id_text_barcode_readability:!1,selfie_local_lenses_check_web:!1,id_model_hebrew_back_id:!1,id_face_readability:!1,new_id_capture_ux_least_risky_clients:!1,id_test_aa:!1,iad_checks:!1,iad_c_checks:!1,id_iou_check:!0,new_fingerprint:!1,mp_test_hashed_id:!1,face_occlusion:!1},clientExperimentIds={new_id_capture_ux_least_risky_clients:"experimentV2"};let initPromise=null;const initialize=async({flowId:Be,apiKey:Le,sessionIdentifier:Ye,apiURL:tt,clientExperimentId:nt})=>{if(initPromise)return initPromise;initPromise=(async()=>{var gt;const ft={customIDs:{client_api_key:Le,hashed_onboarding_id:Ye,flow_id:Be},custom:{landing_page:(gt=window==null?void 0:window.location)==null?void 0:gt.href}},ht=new src$2.StatsigClient(clientApiKey,ft,{environment:getStatsigEnvironment(tt)});await ht.initializeAsync(),FEATURE_FLAGS.forEach(At=>{if(nt&&clientExperimentIds[At]===nt){featureFlagsValues[At]=!0;return}featureFlagsValues[At]=ht.checkGate(At)})})(),await initPromise},getFeatureFlag=Be=>featureFlagsValues[Be]??!1,getModuleFeatureFlags=async Be=>{const Le={};GLOBAL_FLAGS.forEach(tt=>{Le[tt]=featureFlagsValues[tt]});const Ye=Be.toLowerCase();return Ye.includes("id")||Ye==="government-validation"?ID_MODULE_FLAGS.forEach(tt=>{Le[tt]=featureFlagsValues[tt]}):(Ye.includes("selfie")||Ye==="face")&&SELFIE_MODULE_FLAGS.forEach(tt=>{Le[tt]=featureFlagsValues[tt]}),Le};function IdCaptureParamsConfigurator(Be,Le,Ye,tt){Object.assign(Be,{areaDown:25e3,areaUp:55e3,areaIOSPassportUp:3e4,areaIOSPassportDown:2e4,widthIOSUp:160,widthIOSDown:85,widthDown:tt?110:135,widthUp:205,framesAggregationInterval:tt?3e3:2e3,minFaceIdQualityScore:.62})}function getSelfieFaceDetectionPipelineParams(){return{frameMinX:0,frameMinY:0,frameMaxX:1,frameMaxY:1,brightnessThreshold:50,blurrinessThreshold:50,tiltRotationAngleThreshold:15,minMagicCropSize:200,headwearThreshold:.86,lensesThreshold:.95,closedEyesThreshold:.9,maskThreshold:.85,minFaceQualityScore:.63,isOcclusionCheckEnabled:getFeatureFlag("face_occlusion"),faceOcclusionThreshold:.3}}const getProfiles=()=>[new PipelineProfile(WasmPipelineType.IdBlurGlarePipeline,PipelineProfileName.IdCapture_2_01,DetectionType.IDCapture,["id_capture_2_01_fp16.ortmodelv2","id_fiqa_19a81a0b9bf6492eb03b4667f6db4c85_fp16.ortmodelv2"],{glareThreshold:.3,classificationThreshold:.98,sideThreshold:.8,iouThreshold:.8,sharpnessThreshold:.2,sharpnessChangeThreshold:.2,modelType:IdCaptureModelType.IdCaptureV2x,isIdFaceQualityCheckEnabled:getFeatureFlag("id_face_readability"),isIouCheckEnabled:getFeatureFlag("id_iou_check")},IdCaptureParamsConfigurator,"Current Prod - Id Capture Profile with model https://www.notion.so/ID-cropping-web-2-01-d011d878c6f4406394609cbfbf03c259?pvs=4"),new PipelineProfile(WasmPipelineType.IdBlurGlarePipeline,PipelineProfileName.IdCapture_2_02,DetectionType.IDCapture,["id_capture_2_02_fp16.ortmodelv2","id_fiqa_19a81a0b9bf6492eb03b4667f6db4c85_fp16.ortmodelv2"],{glareThreshold:.3,classificationThreshold:.98,sideThreshold:.8,iouThreshold:.8,sharpnessThreshold:.2,sharpnessChangeThreshold:.2,modelType:IdCaptureModelType.IdCaptureV2x,isIdFaceQualityCheckEnabled:getFeatureFlag("id_face_readability"),isIouCheckEnabled:getFeatureFlag("id_iou_check")},IdCaptureParamsConfigurator,"https://www.notion.so/ML-Update-ID-processing-model-to-accept-more-back-ID-types-18c4c3caef49801e95b4fd6bf9b92883?pvs=4"),new PipelineProfile(WasmPipelineType.IdBarcodeAndTextQualityPipeline,PipelineProfileName.IdCapture_3_02,DetectionType.IDCapture,["id_capture_3_02_fp16.ortmodelv2","id_fiqa_19a81a0b9bf6492eb03b4667f6db4c85_fp16.ortmodelv2"],{glareThreshold:.3,classificationThreshold:.98,sideThreshold:.8,iouThreshold:.8,sharpnessThreshold:.2,sharpnessChangeThreshold:.2,modelType:IdCaptureModelType.IdCaptureV3x,isIdFaceQualityCheckEnabled:!1,isIouCheckEnabled:getFeatureFlag("id_iou_check")},IdCaptureParamsConfigurator,"Pipeline with text and barcode quality: https://www.notion.so/Web-Use-Text-Barcode-model-2nd-iteration-1bc4c3caef49805aa9e6d308db9fc6dd?pvs=4"),new PipelineProfile(WasmPipelineType.IdVideoSelfiePipeline,PipelineProfileName.IdVideoSelfie_2_01,DetectionType.IdVideoSelfie,["id_capture_2_01_fp16.ortmodelv2","id_fiqa_19a81a0b9bf6492eb03b4667f6db4c85_fp16.ortmodelv2"],{glareThreshold:.3,classificationThreshold:.98,sideThreshold:.8,iouThreshold:.8,sharpnessThreshold:.2,sharpnessChangeThreshold:.2,modelType:IdCaptureModelType.IdCaptureV2x,isIdFaceQualityCheckEnabled:!1,isIouCheckEnabled:!0},IdCaptureParamsConfigurator,"Current Prod - Id Videoselfie profile with model https://www.notion.so/ID-cropping-web-2-01-d011d878c6f4406394609cbfbf03c259?pvs=4"),new PipelineProfile(WasmPipelineType.SelfieWithAggregationMetrics,PipelineProfileName.SelfieWithAggregationMetrics,DetectionType.Selfie,["selfie_bf_angles_192x192_opset9_fp16.ortmodelv2","face_attributes_v1_3_fp16.ortmodelv2","mls_regressor_4773007c657b4f05a460321456740d0f_fp16.ortmodelv2","face_occlusion_v0_1_fp16.ortmodelv2"],getSelfieFaceDetectionPipelineParams(),null,"Selfie face detection profile with aggregation metrics"),new PipelineProfile(WasmPipelineType.SelfieWithQualityMetrics,PipelineProfileName.SelfieWithQualityMetrics,DetectionType.Selfie,["selfie_bf_angles_192x192_opset9_fp16.ortmodelv2","face_attributes_v1_3_fp16.ortmodelv2","mls_regressor_4773007c657b4f05a460321456740d0f_fp16.ortmodelv2","face_occlusion_v0_1_fp16.ortmodelv2"],getSelfieFaceDetectionPipelineParams(),null,"Current Prod - Selfie face detection profile with quality metrics"),new PipelineProfile(WasmPipelineType.SelfieWithAggregationMetrics,PipelineProfileName.SelfieVideoSelfie,DetectionType.SelfieVideoSelfie,["selfie_bf_angles_192x192_opset9_fp16.ortmodelv2","face_attributes_v1_3_fp16.ortmodelv2","mls_regressor_4773007c657b4f05a460321456740d0f_fp16.ortmodelv2","face_occlusion_v0_1_fp16.ortmodelv2"],getSelfieFaceDetectionPipelineParams(),null,"VideoSelfie face detection profile")];function getProfile(Be){const Le=getProfiles().find(Ye=>Ye.name===Be);if(!Le)throw new Error(`Profile not found for type: ${Be}`);return Le}const wasmVersion="v2.12.26";function generateBundle(){const Be=getFeatureFlag("id_text_barcode_readability")?PipelineProfileName.IdCapture_3_02:getFeatureFlag("id_model_hebrew_back_id")?PipelineProfileName.IdCapture_2_02:PipelineProfileName.IdCapture_2_01,Le=PipelineProfileName.SelfieWithQualityMetrics,Ye=PipelineProfileName.SelfieVideoSelfie,tt=PipelineProfileName.IdVideoSelfie_2_01;return[Be,tt,Le,Ye]}function getInitializationParams(){const Le=generateBundle(),Ye="https://d3vv997wtl2myz.cloudfront.net/webcamera/onnx-backend-wasm",tt=`${Ye}/${wasmVersion}/webLib.wasm`,nt=`${Ye}/${wasmVersion}/webLibSimd.wasm`,ft=`${Ye}/${wasmVersion}/webLib.js`,ht=`${Ye}/${wasmVersion}/versions.json`;let gt=new Map,At=new Map;for(const xt of Le){const yt=getProfile(xt);if(!yt)throw new Error(`Profile not found: ${xt}`);const Ct=yt.modelNames;let Et=[];for(const vt of Ct)Et.push(`${Ye}/${wasmVersion}/models/${vt}`);gt.set(yt.pipelineType,Et),At.set(yt.detectionType,yt)}return{wasmModulePath:tt,wasmSimdModulePath:nt,glueCodePath:ft,versionsFilePath:ht,pipelineModels:gt,enableSIMD:!0,profiles:At,wasmVersion}}window.wasmArrayBuffer=null;class MlWasmJSApi{constructor(){this.versionsFile=null,this.modelsBuffers=null,this.inputImageBuffer=null,this.wasmModule=null,this.pipelineApiUtilities=null,this.utilityApi=null,this.idCaptureWasmApi=null,this.faceDetectionWasmApi=null,this.imageWidth_=null,this.imageHeight_=null,this.pipelines_=null,this.isInitialized_=!1,this.inspectorOpened_=!1,this.wasmCallMutex=new Mutex,this.Module=null,this.loadModule=async Le=>{this.Module=(await import(Le)).Module}}async initialize(Le,Ye,tt,nt,ft,ht){await this.freeResources(),this.pipelines_=ht,this.versionsFile=ft,await this.loadModule(tt);const gt=await this.loadWasm(nt,Le,Ye);return this.pipelineApiUtilities=new this.wasmModule.PipelineApiUtilities,this.utilityApi=new this.wasmModule.UtilityApi,this.idCaptureWasmApi=new this.wasmModule.IdCaptureApi,this.faceDetectionWasmApi=new this.wasmModule.FaceDetectionApi,this.isInitialized_=!0,gt}static getInstance(){return MlWasmJSApi.instance||(MlWasmJSApi.instance=new MlWasmJSApi),MlWasmJSApi.instance}isInitialized(){return this.pipelineApiUtilities!=null&&this.utilityApi!=null&&this.idCaptureWasmApi!=null&&this.faceDetectionWasmApi!=null&&this.isInitialized_}async allocateImageBuffers(Le,Ye){this.checkWasmInitialization("Unable to allocate image buffers, cpp API hasn't been initialized"),!(Le&&Ye&&Le==this.imageWidth_&&Ye==this.imageHeight_&&this.inputImageBuffer&&Le*Ye*4===this.inputImageBuffer.length)&&(this.imageWidth_=Le,this.imageHeight_=Ye,this.inputImageBuffer=this.pipelineApiUtilities.allocateInputImageBuffer(Le,Ye,4))}async handleDetectionCallAndUpdateState(Le){this.checkWasmInitialization("Unable to update pipeline state, cpp API hasn't been initialized"),this.pipelineApiUtilities.handleDetectionCallAndUpdateState(this.pipelineTypeToWasmEnum(Le))}encryptImage(Le){return this.checkWasmInitialization("Unable to encrypt the image, cpp API hasn't been initialized"),this.utilityApi.encryptImage(Le)}isVirtualCamera(Le){if(this.checkWasmInitialization("Unable to check if the camera is virtual, cpp API hasn't been initialized"),Le)return this.utilityApi.isVirtualCamera(Le)}estimatePerformance(){return this.checkWasmInitialization("Unable to estimate performance, cpp API hasn't been initialized"),this.utilityApi.estimatePerformance()}async analyzeFrame(Le){this.checkWasmInitialization("Unable to analyze the frame, cpp API hasn't been initialized"),await this.allocateImageBuffers(Le.width,Le.height),this.inputImageBuffer.set(Le.data),this.utilityApi.analyzeFrame()}async freeResources(){this.versionsFile=null,this.modelsBuffers=null,this.inputImageBuffer=null,this.imageWidth_=null,this.imageHeight_=null,this.pipelines_=null,window.wasmArrayBuffer=null,this.pipelineApiUtilities&&typeof this.pipelineApiUtilities.delete=="function"&&(this.pipelineApiUtilities.delete(),this.pipelineApiUtilities=null),this.utilityApi&&typeof this.utilityApi.delete=="function"&&(this.utilityApi.delete(),this.utilityApi=null),this.idCaptureWasmApi&&typeof this.idCaptureWasmApi.delete=="function"&&(this.idCaptureWasmApi.delete(),this.idCaptureWasmApi=null),this.faceDetectionWasmApi&&typeof this.faceDetectionWasmApi.delete=="function"&&(this.faceDetectionWasmApi.delete(),this.faceDetectionWasmApi=null),this.wasmModule=null,this.isInitialized_=!1}resetPipeline(Le){this.checkWasmInitialization("Unable to reset pipeline, cpp API hasn't been initialized"),this.pipelineApiUtilities.resetPipeline(this.pipelineTypeToWasmEnum(Le))}resetAllPipelines(){this.checkWasmInitialization("Unable to reset pipelines, cpp API hasn't been initialized");for(const[Le,Ye]of this.pipelines_)this.resetPipeline(Le)}resetOther(){this.checkWasmInitialization("Unable to reset other states, cpp API hasn't been initialized"),this.utilityApi.resetOther()}reset(){this.resetAllPipelines(),this.resetOther()}async process(Le,Ye){if(this.checkWasmInitialization("Unable to process the image, cpp API hasn't been initialized"),this.inputImageBuffer===null)throw new Error("Unable to process the image, buffers haven't been allocated!");switch(this.inputImageBuffer.set(Le.data),Ye){case WasmPipelineType.IdBlurGlarePipeline:case WasmPipelineType.IdBarcodeAndTextQualityPipeline:return this.idCaptureWasmApi.runIdCapturePipeline(this.pipelineTypeToWasmEnum(Ye));case WasmPipelineType.IdFaceDetectionPipeline:return this.faceDetectionWasmApi.runIdFaceDetectionPipeline();case WasmPipelineType.IdVideoSelfiePipeline:return this.idCaptureWasmApi.runIdVideoSelfiePipeline();case WasmPipelineType.SelfieWithAggregationMetrics:case WasmPipelineType.SelfieWithQualityMetrics:return this.faceDetectionWasmApi.runSelfieFaceDetectionPipeline(this.pipelineTypeToWasmEnum(Ye));default:throw new Error("Unknown pipeline type")}}async runIdCapture(Le){if(this.checkWasmInitialization("Unable to run Id Capture, cpp API hasn't been initialized"),this.inputImageBuffer===null)throw new Error("Unable to process the image, buffers haven't been allocated!");return this.inputImageBuffer.set(Le.data),this.idCaptureWasmApi.runIdCapture()}async runSelfieCapture(Le){if(this.checkWasmInitialization("Unable to run Selfie Capture, cpp API hasn't been initialized"),this.inputImageBuffer===null)throw new Error("Unable to process the image, buffers haven't been allocated!");return this.inputImageBuffer.set(Le.data),this.faceDetectionWasmApi.runSelfieCapture()}async setFacePositionConstraints(Le,Ye,tt,nt,ft){this.checkWasmInitialization("Unable to set face position constraints, cpp API hasn't been initialized"),this.faceDetectionWasmApi.setFacePositionConstraints(this.pipelineTypeToWasmEnum(Le),Ye,tt,nt,ft)}async setFaceDetectionThresholds(Le,Ye,tt,nt,ft,ht,gt,At){this.checkWasmInitialization("Unable to set face detection thresholds, cpp API hasn't been initialized"),this.faceDetectionWasmApi.setFaceDetectionThresholds(this.pipelineTypeToWasmEnum(Le),Ye,tt,nt,ft,ht,gt,At)}async setFaceAttributesThresholds(Le,Ye,tt,nt,ft){this.checkWasmInitialization("Unable to set face attributes thresholds, cpp API hasn't been initialized"),this.faceDetectionWasmApi.setFaceAttributesThresholds(this.pipelineTypeToWasmEnum(Le),Ye,tt,nt,ft)}async setFaceChecksEnabled(Le,Ye,tt,nt,ft,ht){this.checkWasmInitialization("Unable to set face checks enabled flags, cpp API hasn't been initialized"),this.faceDetectionWasmApi.setFaceChecksEnabled(this.pipelineTypeToWasmEnum(Le),Ye,tt,nt,ft,ht)}async setFaceDetectionMode(Le,Ye){this.checkWasmInitialization("Unable to set face detection mode, cpp API hasn't been initialized"),this.faceDetectionWasmApi.setFaceDetectionMode(this.pipelineTypeToWasmEnum(Le),Ye)}async setFaceDetectionCallbacks(Le,Ye,tt,nt,ft,ht,gt,At,xt,yt,Ct,Et,vt,kt,bt,wt,It,Rt,Tt){this.checkWasmInitialization("Unable to set face detection callbacks, cpp API hasn't been initialized"),this.faceDetectionWasmApi.setFaceDetectionCallbacks(this.pipelineTypeToWasmEnum(Le),Ye,tt,nt,ft,ht,gt,At,xt,yt,Ct,Et,vt,kt,bt,wt,It,Rt,Tt)}async setIdCaptureThresholds(Le,Ye,tt,nt,ft,ht,gt,At,xt,yt,Ct){this.checkWasmInitialization("Unable to set thresholds, cpp API hasn't been initialized"),this.idCaptureWasmApi.setIdCaptureThresholds(this.pipelineTypeToWasmEnum(Le),Ye,tt,nt,ft,ht,gt,At,xt,yt,Ct)}async setIdCaptureCallbacks(Le,Ye,tt,nt,ft,ht,gt,At,xt,yt,Ct,Et,vt,kt){this.checkWasmInitialization("Unable to set callbacks, cpp API hasn't been initialized"),this.idCaptureWasmApi.setIdCaptureCallbacks(this.pipelineTypeToWasmEnum(Le),Ye,tt,nt,ft,ht,gt,At,xt,yt,Ct,Et,vt,kt)}async setIdCaptureGeometryParams(Le,Ye,tt,nt,ft,ht,gt,At,xt,yt,Ct,Et,vt){this.checkWasmInitialization("Unable to set geometry params, cpp API hasn't been initialized"),this.idCaptureWasmApi.setIdCaptureGeometryParams(this.pipelineTypeToWasmEnum(Le),Ye,tt,nt,ft,ht,gt,At,xt,yt,Ct,Et,vt)}async setIdCaptureConfigParams(Le,Ye,tt,nt,ft,ht,gt,At){this.checkWasmInitialization("Unable to set config params, cpp API hasn't been initialized"),this.idCaptureWasmApi.setIdCaptureConfigParams(this.pipelineTypeToWasmEnum(Le),Ye,tt,nt,ft,ht,gt,At)}setIdCaptureModelType(Le,Ye){this.checkWasmInitialization("Unable to set model type, cpp API hasn't been initialized"),this.idCaptureWasmApi.setIdCaptureModelType(this.pipelineTypeToWasmEnum(Le),this.IdCaptureModelTypeToWasmEnum(Ye))}IdPerspectiveTransform(Le,Ye){return this.checkWasmInitialization("Unable to perform perspective transform, cpp API hasn't been initialized"),this.idCaptureWasmApi.IdPerspectiveTransform(Le,Ye)}async getVersions(){const Ye=await(await fetch(this.versionsFile)).text();return JSON.parse(Ye)}async loadWasm(Le,Ye,tt){const nt=Le?tt:Ye;try{window.wasmArrayBuffer=await fetch(nt).then(ft=>ft.arrayBuffer()).then(ft=>new Uint8Array(ft)),this.wasmModule=await this.Module()}catch(ft){if(console.log(ft,Le,"useSmd"),Le)return await this.loadWasm(!1,Ye,tt);throw ft}return Le}async loadModels(){var nt;this.checkWasmInitialization("Unable load the models, cpp API hasn't been initialized");let Le=new this.wasmModule.PipelineTypeToIntMap,Ye=new Map,tt=new Map;for(let[ft,ht]of this.pipelines_){let gt=this.pipelineTypeToWasmEnum(ft),At=[],xt=new this.wasmModule.VectorInt;for(let yt of ht){if(!tt.has(yt)){let Et=await fetch(yt).then(vt=>vt.arrayBuffer()).then(vt=>new Uint8Array(vt));tt.set(yt,Et)}let Ct=tt.get(yt);xt.push_back(Ct.byteLength),At.push(Ct)}Le.set(gt,xt),Ye.set(gt,At)}this.modelsBuffers=this.pipelineApiUtilities.allocateModelsBuffers(Le);for(let[ft,ht]of Ye){let gt=(nt=this.modelsBuffers)==null?void 0:nt.get(ft);for(let At=0;At<gt.size();At++){let xt=gt==null?void 0:gt.get(At);if(xt)xt.set(ht[At]);else throw new Error("Unable to get model buffer from shared memory!")}}}async initializePipelines(){this.checkWasmInitialization("Unable to initialize pipelines, cpp API hasn't been initialized"),this.modelsBuffers||await this.loadModels(),this.pipelineApiUtilities.initializePipelines()}async setProductionMode(Le){this.checkWasmInitialization("Unable to set production mode, cpp API hasn't been initialized"),this.utilityApi.setProductionMode(Le)}getPipelineState(){return this.checkWasmInitialization("Unable to get pipeline state, cpp API hasn't been initialized"),this.pipelineApiUtilities.getPipelineState()}getCurrentPipeline(){return this.checkWasmInitialization("Unable to get current pipeline, cpp API hasn't been initialized"),this.pipelineTypeFromWasmEnum(this.pipelineApiUtilities.getCurrentPipeline())}setSdkVersion(Le){this.checkWasmInitialization("Unable to set sdk version, cpp API hasn't been initialized"),this.utilityApi.setSdkVersion(Le)}setSdkPlatform(Le){this.checkWasmInitialization("Unable to set device type, cpp API hasn't been initialized"),this.utilityApi.setSdkPlatform(Le)}setDeviceInfo(Le,Ye=!0){this.checkWasmInitialization("Unable to set device info, cpp API hasn't been initialized"),this.utilityApi.setDeviceInfo(Le,Ye)}setBrowserInfo(Le,Ye=!0){this.checkWasmInitialization("Unable to set browser info, cpp API hasn't been initialized"),this.utilityApi.setBrowserInfo(Le,Ye)}setCameraInfo(Le,Ye=!0){this.checkWasmInitialization("Unable to set camera info, cpp API hasn't been initialized"),this.utilityApi.setCameraInfo(Le,Ye)}setZc(Le){this.checkWasmInitialization("Unable to set zc, cpp API hasn't been initialized"),this.utilityApi.setZc(Le)}setMotionStatus(Le){this.checkWasmInitialization("Unable to set motion status, cpp API hasn't been initialized"),this.utilityApi.setMotionStatus(Le)}setMetadataField(Le,Ye){this.checkWasmInitialization("Unable to set metadata field, cpp API hasn't been initialized"),this.utilityApi.setMetadataField(Le,Ye)}setInspectorOpened(Le){this.inspectorOpened_=Le}setBackgroundMode(Le){this.checkWasmInitialization("Unable to set background mode, cpp API hasn't been initialized"),this.utilityApi.setBackgroundMode(Le)}getCheck(){return this.checkWasmInitialization("Unable to get check, cpp API hasn't been initialized"),this.utilityApi.getCheck()}getMetadata(){return this.checkWasmInitialization("Unable to get metadata, cpp API hasn't been initialized"),this.utilityApi.setInspectorOpened(this.inspectorOpened_),this.utilityApi.getMetadata()}async prc(Le){return this.checkWasmInitialization("Unable to prc, cpp API hasn't been initialized"),await this.wasmCallWrapper(this.utilityApi.prc.bind(this.utilityApi),[Le])}async poc(Le){this.checkWasmInitialization("Unable to poc, cpp API hasn't been initialized"),await this.wasmCallWrapper(this.utilityApi.poc.bind(this.utilityApi),[Le])}async pc(Le){this.checkWasmInitialization("Unable to pc, cpp API hasn't been initialized"),await this.wasmCallWrapper(this.utilityApi.pc.bind(this.utilityApi),[Le])}pipelineTypeToWasmEnum(Le){switch(Le){case WasmPipelineType.IdBlurGlarePipeline:return this.wasmModule.PipelineType.IdBlurGlarePipeline;case WasmPipelineType.IdBarcodeAndTextQualityPipeline:return this.wasmModule.PipelineType.IdBarcodeAndTextQualityPipeline;case WasmPipelineType.IdFaceDetectionPipeline:return this.wasmModule.PipelineType.IdFaceDetectionPipeline;case WasmPipelineType.IdVideoSelfiePipeline:return this.wasmModule.PipelineType.IdVideoSelfiePipeline;case WasmPipelineType.SelfieWithAggregationMetrics:return this.wasmModule.PipelineType.SelfieWithAggregationMetrics;case WasmPipelineType.SelfieWithQualityMetrics:return this.wasmModule.PipelineType.SelfieWithQualityMetrics;default:throw new Error("Unknown pipeline type")}}pipelineTypeFromWasmEnum(Le){switch(Le){case this.wasmModule.PipelineType.IdBlurGlarePipeline:return WasmPipelineType.IdBlurGlarePipeline;case this.wasmModule.IdBarcodeAndTextQualityPipeline:return WasmPipelineType.IdBarcodeAndTextQualityPipeline;case this.wasmModule.PipelineType.IdFaceDetectionPipeline:return WasmPipelineType.IdFaceDetectionPipeline;case this.wasmModule.PipelineType.IdVideoSelfiePipeline:return WasmPipelineType.IdVideoSelfiePipeline;case this.wasmModule.PipelineType.SelfieWithAggregationMetrics:return WasmPipelineType.SelfieWithAggregationMetrics;case this.wasmModule.PipelineType.SelfieWithQualityMetrics:return WasmPipelineType.SelfieWithQualityMetrics;default:throw new Error("Unknown pipeline type")}}IdCaptureModelTypeToWasmEnum(Le){switch(Le){case IdCaptureModelType.IdCaptureV1x:return this.wasmModule.IdCaptureModelType.IdCaptureV1x;case IdCaptureModelType.IdCaptureV2x:return this.wasmModule.IdCaptureModelType.IdCaptureV2x;case IdCaptureModelType.IdCaptureV3x:return this.wasmModule.IdCaptureModelType.IdCaptureV3x;default:throw new Error("Unknown Id Capture model type")}}IdCaptureModelTypeFromWasmEnum(Le){switch(Le){case this.wasmModule.IdCaptureModelType.IdCaptureV1x:return IdCaptureModelType.IdCaptureV1x;case this.wasmModule.IdCaptureModelType.IdCaptureV2x:return IdCaptureModelType.IdCaptureV2x;case this.wasmModule.IdCaptureModelType.IdCaptureV3x:return IdCaptureModelType.IdCaptureV3x;default:throw new Error("Unknown Id Capture model type")}}checkWasmInitialization(Le){if(!this.isInitialized())throw new Error(Le)}async wasmCallWrapper(Le,Ye=[]){return await this.wasmCallMutex.withLock(async(...tt)=>{let nt=!1;try{for(;;){if(nt=Le(...tt),nt)return;await new Promise(ft=>setTimeout(ft,0))}}catch(ft){console.log("Error in wasmCallWrapper:",ft)}},...Ye)}}const MlWasmJSApi$1=MlWasmJSApi.getInstance(),version$4="1.85.0-20251104182555.0";function e$2(Be,Le){return function(Ye,tt){return Object.prototype.hasOwnProperty.call(Ye,tt)}(Be,Le)?Be[Le]:void 0}function t$2(Be,Le,Ye,tt){const nt=document,ft="securitypolicyviolation";let ht;const gt=xt=>{const yt=new URL(Be,location.href),{blockedURI:Ct}=xt;Ct!==yt.href&&Ct!==yt.protocol.slice(0,-1)&&Ct!==yt.origin||(ht=xt,At())};nt.addEventListener(ft,gt);const At=()=>nt.removeEventListener(ft,gt);return Promise.resolve().then(Le).then(xt=>(At(),xt),xt=>new Promise(yt=>{const Ct=new MessageChannel;Ct.port1.onmessage=()=>yt(),Ct.port2.postMessage(null)}).then(()=>{if(At(),ht)return Ye(ht);throw xt}))}function n$2(Be){let Le="";for(let Ye=0;Ye<Be.length;++Ye)if(Ye>0){const tt=Be[Ye].toLowerCase();tt!==Be[Ye]?Le+=` ${tt}`:Le+=Be[Ye]}else Le+=Be[Ye].toUpperCase();return Le}const r$4={default:"endpoint"},o$1={default:"tlsEndpoint"},i$5="Client timeout",R$2="Network connection error",s$3="Network request aborted",a$3="Response cannot be parsed",c$3="Blocked by CSP",E$1="The endpoint parameter is not a valid URL",l$1="Handle on demand agent data error",u$1=n$2("WrongRegion"),d$1=n$2("SubscriptionNotActive"),_$2=n$2("UnsupportedVersion"),O$1=n$2("InstallationMethodRestricted"),p$1=n$2("HostnameRestricted"),I$1=n$2("IntegrationFailed"),f$2=n$2("NetworkRestricted"),N$1=n$2("InvalidProxyIntegrationSecret"),T$1=n$2("InvalidProxyIntegrationHeaders"),h$e=n$2("ProxyIntegrationSecretEnvironmentMismatch"),v$d="API key required",m$2="API key not found",A$1="API key expired",w$e="Request cannot be parsed",P$1="Request failed",D$1="Request failed to process",S$1="Too many requests, rate limit exceeded",y="Not available for this origin",g$1="Not available with restricted header",L$1=v$d,C$1=m$2,U$1=A$1;var b$2="3.12.3";const M$1="Failed to load the JS script of the agent",K="9319";function V(Be,Le){const Ye=[],[tt,nt]=function(gt){const At=function(Ct){const Et=[...Ct];return{current:()=>Et[0],postpone(){const vt=Et.shift();vt!==void 0&&Et.push(vt)},exclude(){Et.shift()}}}(gt),xt=function(Ct,Et){let vt=0;return()=>Math.random()*Math.min(Et,Ct*Math.pow(2,vt++))}(100,3e3),yt=new Set;return[At.current(),(Ct,Et)=>{let vt;const kt=Et instanceof Error?Et.message:"";if(kt===c$3||kt===E$1)At.exclude(),vt=0;else if(kt===K)At.exclude();else if(kt===M$1){const wt=Date.now()-Ct.getTime()<50,It=At.current();It&&wt&&!yt.has(It)&&(yt.add(It),vt=0),At.postpone()}else At.postpone();const bt=At.current();return bt===void 0?void 0:[bt,vt??Ct.getTime()+xt()-Date.now()]}]}(Be);let ft;if(tt===void 0)return Promise.reject(new TypeError("The list of script URL patterns is empty"));const ht=gt=>{const At=new Date,xt=Ct=>Ye.push({url:gt,startedAt:At,finishedAt:new Date,error:Ct}),yt=Le(gt);return yt.then(()=>xt(),xt),yt.catch(Ct=>{if(ft!=null||(ft=Ct),Ye.length>=5)throw ft;const Et=nt(At,Ct);if(!Et)throw ft;const[vt,kt]=Et;return(bt=kt,new Promise(wt=>setTimeout(wt,bt))).then(()=>ht(vt));var bt})};return ht(tt).then(gt=>[gt,Ye])}const k$1="https://fpnpmcdn.net/v<version>/<apiKey>/loader_v<loaderVersion>.js",G=k$1;function B$1(Be){var Le,Ye;const{picked:tt,rest:nt}=function(yt,Ct){const Et={},vt={};for(const[kt,bt]of Object.entries(yt))Ct.includes(kt)?Et[kt]=bt:vt[kt]=bt;return{picked:Et,rest:vt}}(Be,["scriptUrlPattern","token","apiKey"]),ft=tt.token,ht=(Le=tt.apiKey)!==null&&Le!==void 0?Le:ft,gt=(Ye=e$2(Be,"scriptUrlPattern"))!==null&&Ye!==void 0?Ye:k$1,[At,xt]=function(){const yt=[],Ct=()=>{yt.push({time:new Date,state:document.visibilityState})},Et=function(vt,kt,bt,wt){return vt.addEventListener(kt,bt,wt),()=>vt.removeEventListener(kt,bt,wt)}(document,"visibilitychange",Ct);return Ct(),[yt,Et]}();return Promise.resolve().then(()=>{if(!ht||typeof ht!="string")throw new Error(v$d);const yt=function(Ct,Et){return(Array.isArray(Ct)?Ct:[Ct]).map(vt=>function(kt,bt){const wt=encodeURIComponent;return kt.replace(/<[^<>]+>/g,It=>It==="<version>"?"3":It==="<apiKey>"?wt(bt):It==="<loaderVersion>"?wt(b$2):It)}(String(vt),Et))}(gt,ht);return V(yt,F$1)}).catch(yt=>{throw xt(),function(Ct){return Ct instanceof Error&&Ct.message===K?new Error(M$1):Ct}(yt)}).then(([yt,Ct])=>(xt(),yt.load({...nt,ldi:{attempts:Ct,visibilityStates:At}})))}function F$1(Be){return t$2(Be,()=>function(Le){return new Promise((Ye,tt)=>{if(function(gt){if(URL.prototype)try{return new URL(gt,location.href),!1}catch(At){if(At instanceof Error&&At.name==="TypeError")return!0;throw At}}(Le))throw new Error(E$1);const nt=document.createElement("script"),ft=()=>{var gt;return(gt=nt.parentNode)===null||gt===void 0?void 0:gt.removeChild(nt)},ht=document.head||document.getElementsByTagName("head")[0];nt.onload=()=>{ft(),Ye()},nt.onerror=()=>{ft(),tt(new Error(M$1))},nt.async=!0,nt.src=Le,ht.appendChild(nt)})}(Be),()=>{throw new Error(c$3)}).then(x$1)}function x$1(){const Be=window,Le="__fpjs_p_l_b",Ye=Be[Le];if(function(tt,nt){var ft;const ht=(ft=Object.getOwnPropertyDescriptor)===null||ft===void 0?void 0:ft.call(Object,tt,nt);ht!=null&&ht.configurable?delete tt[nt]:ht&&!ht.writable||(tt[nt]=void 0)}(Be,Le),typeof(Ye==null?void 0:Ye.load)!="function")throw new Error(K);return Ye}var H={load:B$1,defaultScriptUrlPattern:G,ERROR_SCRIPT_LOAD_FAIL:M$1,ERROR_API_KEY_EXPIRED:A$1,ERROR_API_KEY_INVALID:m$2,ERROR_API_KEY_MISSING:v$d,ERROR_BAD_REQUEST_FORMAT:w$e,ERROR_BAD_RESPONSE_FORMAT:a$3,ERROR_CLIENT_TIMEOUT:i$5,ERROR_CSP_BLOCK:c$3,ERROR_FORBIDDEN_ENDPOINT:p$1,ERROR_FORBIDDEN_HEADER:g$1,ERROR_FORBIDDEN_ORIGIN:y,ERROR_GENERAL_SERVER_FAILURE:P$1,ERROR_HANDLE_AGENT_DATA:l$1,ERROR_INSTALLATION_METHOD_RESTRICTED:O$1,ERROR_INTEGRATION_FAILURE:I$1,ERROR_INVALID_ENDPOINT:E$1,ERROR_INVALID_PROXY_INTEGRATION_HEADERS:T$1,ERROR_INVALID_PROXY_INTEGRATION_SECRET:N$1,ERROR_NETWORK_ABORT:s$3,ERROR_NETWORK_CONNECTION:R$2,ERROR_NETWORK_RESTRICTED:f$2,ERROR_PROXY_INTEGRATION_SECRET_ENVIRONMENT_MISMATCH:h$e,ERROR_RATE_LIMIT:S$1,ERROR_SERVER_TIMEOUT:D$1,ERROR_SUBSCRIPTION_NOT_ACTIVE:d$1,ERROR_TOKEN_EXPIRED:U$1,ERROR_TOKEN_INVALID:C$1,ERROR_TOKEN_MISSING:L$1,ERROR_UNSUPPORTED_VERSION:_$2,ERROR_WRONG_REGION:u$1,defaultEndpoint:r$4,defaultTlsEndpoint:o$1};function e$1(Be,Le,Ye,tt){return new(Ye||(Ye=Promise))(function(nt,ft){function ht(xt){try{At(tt.next(xt))}catch(yt){ft(yt)}}function gt(xt){try{At(tt.throw(xt))}catch(yt){ft(yt)}}function At(xt){var yt;xt.done?nt(xt.value):(yt=xt.value,yt instanceof Ye?yt:new Ye(function(Ct){Ct(yt)})).then(ht,gt)}At((tt=tt.apply(Be,[])).next())})}function n$1(Be,Le){var Ye,tt,nt,ft,ht={label:0,sent:function(){if(1&nt[0])throw nt[1];return nt[1]},trys:[],ops:[]};return ft={next:gt(0),throw:gt(1),return:gt(2)},typeof Symbol=="function"&&(ft[Symbol.iterator]=function(){return this}),ft;function gt(At){return function(xt){return function(yt){if(Ye)throw new TypeError("Generator is already executing.");for(;ft&&(ft=0,yt[0]&&(ht=0)),ht;)try{if(Ye=1,tt&&(nt=2&yt[0]?tt.return:yt[0]?tt.throw||((nt=tt.return)&&nt.call(tt),0):tt.next)&&!(nt=nt.call(tt,yt[1])).done)return nt;switch(tt=0,nt&&(yt=[2&yt[0],nt.value]),yt[0]){case 0:case 1:nt=yt;break;case 4:return ht.label++,{value:yt[1],done:!1};case 5:ht.label++,tt=yt[1],yt=[0];continue;case 7:yt=ht.ops.pop(),ht.trys.pop();continue;default:if(nt=ht.trys,!((nt=nt.length>0&&nt[nt.length-1])||yt[0]!==6&&yt[0]!==2)){ht=0;continue}if(yt[0]===3&&(!nt||yt[1]>nt[0]&&yt[1]<nt[3])){ht.label=yt[1];break}if(yt[0]===6&&ht.label<nt[1]){ht.label=nt[1],nt=yt;break}if(nt&&ht.label<nt[2]){ht.label=nt[2],ht.ops.push(yt);break}nt[2]&&ht.ops.pop(),ht.trys.pop();continue}yt=Le.call(Be,ht)}catch(Ct){yt=[6,Ct],tt=0}finally{Ye=nt=0}if(5&yt[0])throw yt[1];return{value:yt[0]?yt[1]:void 0,done:!0}}([At,xt])}}}typeof SuppressedError=="function"&&SuppressedError;var r$3={exclude:[],include:[],logging:!0,timeout:1e3},o={},a$2={timeout:"true"},i$4=function(Be,Le){typeof window<"u"&&(o[Be]=Le)},u=function(){return Object.fromEntries(Object.entries(o).filter(function(Be){var Le,Ye=Be[0];return!(!((Le=r$3==null?void 0:r$3.exclude)===null||Le===void 0)&&Le.includes(Ye))}).filter(function(Be){var Le,Ye,tt,nt,ft=Be[0];return!((Le=r$3==null?void 0:r$3.include)===null||Le===void 0)&&Le.some(function(ht){return ht.includes(".")})?(Ye=r$3==null?void 0:r$3.include)===null||Ye===void 0?void 0:Ye.some(function(ht){return ht.startsWith(ft)}):((tt=r$3==null?void 0:r$3.include)===null||tt===void 0?void 0:tt.length)===0||((nt=r$3==null?void 0:r$3.include)===null||nt===void 0?void 0:nt.includes(ft))}).map(function(Be){return[Be[0],(0,Be[1])()]}))};function c$2(Be){return Be^=Be>>>16,Be=Math.imul(Be,2246822507),Be^=Be>>>13,Be=Math.imul(Be,3266489909),(Be^=Be>>>16)>>>0}var s$2=new Uint32Array([597399067,2869860233,951274213,2716044179]);function l(Be,Le){return Be<<Le|Be>>>32-Le}function d(Be,Le){var Ye;if(Le===void 0&&(Le=0),Le=Le?0|Le:0,typeof Be=="string"&&(Ye=Be,Be=new TextEncoder().encode(Ye).buffer),!(Be instanceof ArrayBuffer))throw new TypeError("Expected key to be ArrayBuffer or string");var tt=new Uint32Array([Le,Le,Le,Le]);(function(ft,ht){for(var gt=ft.byteLength/16|0,At=new Uint32Array(ft,0,4*gt),xt=0;xt<gt;xt++){var yt=At.subarray(4*xt,4*(xt+1));yt[0]=Math.imul(yt[0],s$2[0]),yt[0]=l(yt[0],15),yt[0]=Math.imul(yt[0],s$2[1]),ht[0]=ht[0]^yt[0],ht[0]=l(ht[0],19),ht[0]=ht[0]+ht[1],ht[0]=Math.imul(ht[0],5)+1444728091,yt[1]=Math.imul(yt[1],s$2[1]),yt[1]=l(yt[1],16),yt[1]=Math.imul(yt[1],s$2[2]),ht[1]=ht[1]^yt[1],ht[1]=l(ht[1],17),ht[1]=ht[1]+ht[2],ht[1]=Math.imul(ht[1],5)+197830471,yt[2]=Math.imul(yt[2],s$2[2]),yt[2]=l(yt[2],17),yt[2]=Math.imul(yt[2],s$2[3]),ht[2]=ht[2]^yt[2],ht[2]=l(ht[2],15),ht[2]=ht[2]+ht[3],ht[2]=Math.imul(ht[2],5)+2530024501,yt[3]=Math.imul(yt[3],s$2[3]),yt[3]=l(yt[3],18),yt[3]=Math.imul(yt[3],s$2[0]),ht[3]=ht[3]^yt[3],ht[3]=l(ht[3],13),ht[3]=ht[3]+ht[0],ht[3]=Math.imul(ht[3],5)+850148119}})(Be,tt),function(ft,ht){var gt=ft.byteLength/16|0,At=ft.byteLength%16,xt=new Uint32Array(4),yt=new Uint8Array(ft,16*gt,At);switch(At){case 15:xt[3]=xt[3]^yt[14]<<16;case 14:xt[3]=xt[3]^yt[13]<<8;case 13:xt[3]=xt[3]^yt[12],xt[3]=Math.imul(xt[3],s$2[3]),xt[3]=l(xt[3],18),xt[3]=Math.imul(xt[3],s$2[0]),ht[3]=ht[3]^xt[3];case 12:xt[2]=xt[2]^yt[11]<<24;case 11:xt[2]=xt[2]^yt[10]<<16;case 10:xt[2]=xt[2]^yt[9]<<8;case 9:xt[2]=xt[2]^yt[8],xt[2]=Math.imul(xt[2],s$2[2]),xt[2]=l(xt[2],17),xt[2]=Math.imul(xt[2],s$2[3]),ht[2]=ht[2]^xt[2];case 8:xt[1]=xt[1]^yt[7]<<24;case 7:xt[1]=xt[1]^yt[6]<<16;case 6:xt[1]=xt[1]^yt[5]<<8;case 5:xt[1]=xt[1]^yt[4],xt[1]=Math.imul(xt[1],s$2[1]),xt[1]=l(xt[1],16),xt[1]=Math.imul(xt[1],s$2[2]),ht[1]=ht[1]^xt[1];case 4:xt[0]=xt[0]^yt[3]<<24;case 3:xt[0]=xt[0]^yt[2]<<16;case 2:xt[0]=xt[0]^yt[1]<<8;case 1:xt[0]=xt[0]^yt[0],xt[0]=Math.imul(xt[0],s$2[0]),xt[0]=l(xt[0],15),xt[0]=Math.imul(xt[0],s$2[1]),ht[0]=ht[0]^xt[0]}}(Be,tt),function(ft,ht){ht[0]=ht[0]^ft.byteLength,ht[1]=ht[1]^ft.byteLength,ht[2]=ht[2]^ft.byteLength,ht[3]=ht[3]^ft.byteLength,ht[0]=ht[0]+ht[1]|0,ht[0]=ht[0]+ht[2]|0,ht[0]=ht[0]+ht[3]|0,ht[1]=ht[1]+ht[0]|0,ht[2]=ht[2]+ht[0]|0,ht[3]=ht[3]+ht[0]|0,ht[0]=c$2(ht[0]),ht[1]=c$2(ht[1]),ht[2]=c$2(ht[2]),ht[3]=c$2(ht[3]),ht[0]=ht[0]+ht[1]|0,ht[0]=ht[0]+ht[2]|0,ht[0]=ht[0]+ht[3]|0,ht[1]=ht[1]+ht[0]|0,ht[2]=ht[2]+ht[0]|0,ht[3]=ht[3]+ht[0]|0}(Be,tt);var nt=new Uint8Array(tt.buffer);return Array.from(nt).map(function(ft){return ft.toString(16).padStart(2,"0")}).join("")}function f$1(Be,Le){return new Promise(function(Ye){setTimeout(function(){return Ye(Le)},Be)})}function m$1(Be,Le,Ye){return Promise.all(Be.map(function(tt){return Promise.race([tt,f$1(Le,Ye)])}))}function g(){return e$1(this,void 0,void 0,function(){var Be,Le,Ye,tt,nt;return n$1(this,function(ft){switch(ft.label){case 0:return ft.trys.push([0,2,,3]),Be=u(),Le=Object.keys(Be),[4,m$1(Object.values(Be),(r$3==null?void 0:r$3.timeout)||1e3,a$2)];case 1:return Ye=ft.sent(),tt=Ye.filter(function(ht){return ht!==void 0}),nt={},tt.forEach(function(ht,gt){nt[Le[gt]]=ht}),[2,p(nt,r$3.exclude||[],r$3.include||[],"")];case 2:throw ft.sent();case 3:return[2]}})})}function p(Be,Le,Ye,tt){tt===void 0&&(tt="");for(var nt={},ft=function(xt,yt){var Ct=tt+xt+".";if(typeof yt!="object"||Array.isArray(yt)){var Et=Le.some(function(bt){return Ct.startsWith(bt)}),vt=Ye.some(function(bt){return Ct.startsWith(bt)});Et&&!vt||(nt[xt]=yt)}else{var kt=p(yt,Le,Ye,Ct);Object.keys(kt).length>0&&(nt[xt]=kt)}},ht=0,gt=Object.entries(Be);ht<gt.length;ht++){var At=gt[ht];ft(At[0],At[1])}return nt}function w$d(Be){return e$1(this,void 0,void 0,function(){var Le,Ye;return n$1(this,function(tt){switch(tt.label){case 0:return tt.trys.push([0,2,,3]),[4,g()];case 1:return Le=tt.sent(),Ye=d(JSON.stringify(Le)),Math.random()<1e-5&&r$3.logging&&function(nt,ft){e$1(this,void 0,void 0,function(){var ht,gt;return n$1(this,function(At){switch(At.label){case 0:if(ht="https://logging.thumbmarkjs.com/v1/log",gt={thumbmark:nt,components:ft,version:"0.20.6"},sessionStorage.getItem("_tmjs_l"))return[3,4];sessionStorage.setItem("_tmjs_l","1"),At.label=1;case 1:return At.trys.push([1,3,,4]),[4,fetch(ht,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(gt)})];case 2:case 3:return At.sent(),[3,4];case 4:return[2]}})})}(Ye,Le),[2,Ye.toString()];case 2:throw tt.sent();case 3:return[2]}})})}function b$1(){if(typeof navigator>"u")return{name:"unknown",version:"unknown"};for(var Be=navigator.userAgent,Le={edg:"Edge",opr:"Opera",samsung:"SamsungBrowser"},Ye=0,tt=[/(?<name>SamsungBrowser)\/(?<version>\d+(?:\.\d+)?)/,/(?<name>Edge|Edg)\/(?<version>\d+(?:\.\d+)?)/,/(?<name>(?:Chrome|Chromium|OPR|Opera|Vivaldi|Brave))\/(?<version>\d+(?:\.\d+)?)/,/(?<name>(?:Firefox|Waterfox|Iceweasel|IceCat))\/(?<version>\d+(?:\.\d+)?)/,/(?<name>Safari)\/(?<version>\d+(?:\.\d+)?)/,/(?<name>MSIE|Trident|IEMobile).+?(?<version>\d+(?:\.\d+)?)/,/(?<name>samsung).*Version\/(?<version>\d+(?:\.\d+)?)/i,/(?<name>[A-Za-z]+)\/(?<version>\d+(?:\.\d+)?)/];Ye<tt.length;Ye++){var nt=tt[Ye],ft=Be.match(nt);if(ft&&ft.groups)return{name:Le[ft.groups.name.toLowerCase()]||ft.groups.name,version:ft.groups.version}}return{name:"unknown",version:"unknown"}}function S(Be){for(var Le=0,Ye=0;Ye<Be.length;++Ye)Le+=Math.abs(Be[Ye]);return Le}var M=b$1();function E(Be,Le,Ye){for(var tt=[],nt=0;nt<Be[0].data.length;nt++){for(var ft=[],ht=0;ht<Be.length;ht++)ft.push(Be[ht].data[nt]);tt.push(P(ft))}var gt=new Uint8ClampedArray(tt);return new ImageData(gt,Le,Ye)}function P(Be){if(Be.length===0)return 0;for(var Le={},Ye=0,tt=Be;Ye<tt.length;Ye++)Le[ft=tt[Ye]]=(Le[ft]||0)+1;var nt=Be[0];for(var ft in Le)Le[ft]>Le[nt]&&(nt=parseInt(ft,10));return nt}["SamsungBrowser","Safari"].includes(M.name)||i$4("audio",function(){return e$1(this,void 0,void 0,function(){return n$1(this,function(Be){return[2,new Promise(function(Le,Ye){try{var tt=new(window.OfflineAudioContext||window.webkitOfflineAudioContext)(1,5e3,44100),nt=tt.createBufferSource(),ft=tt.createOscillator();ft.frequency.value=1e3;var ht,gt=tt.createDynamicsCompressor();gt.threshold.value=-50,gt.knee.value=40,gt.ratio.value=12,gt.attack.value=0,gt.release.value=.2,ft.connect(gt),gt.connect(tt.destination),ft.start(),tt.oncomplete=function(At){ht=At.renderedBuffer.getChannelData(0),Le({sampleHash:S(ht),oscillator:ft.type,maxChannels:tt.destination.maxChannelCount,channelCountMode:nt.channelCountMode})},tt.startRendering()}catch(At){console.error("Error creating audio fingerprint:",At),Ye(At)}})]})})});var A=b$1(),C=A.name.toLowerCase(),x=A.version.split(".")[0]||"0",T=parseInt(x,10);C==="firefox"||C==="safari"&&T===17||i$4("canvas",function(){return document.createElement("canvas").getContext("2d"),new Promise(function(Be){var Le=Array.from({length:3},function(){return function(){var Ye=document.createElement("canvas"),tt=Ye.getContext("2d");if(!tt)return new ImageData(1,1);Ye.width=280,Ye.height=20;var nt=tt.createLinearGradient(0,0,Ye.width,Ye.height);nt.addColorStop(0,"red"),nt.addColorStop(.16666666666666666,"orange"),nt.addColorStop(.3333333333333333,"yellow"),nt.addColorStop(.5,"green"),nt.addColorStop(.6666666666666666,"blue"),nt.addColorStop(.8333333333333334,"indigo"),nt.addColorStop(1,"violet"),tt.fillStyle=nt,tt.fillRect(0,0,Ye.width,Ye.height);var ft="Random Text WMwmil10Oo";return tt.font="23.123px Arial",tt.fillStyle="black",tt.fillText(ft,-5,15),tt.fillStyle="rgba(0, 0, 255, 0.5)",tt.fillText(ft,-3.3,17.7),tt.beginPath(),tt.moveTo(0,0),tt.lineTo(2*Ye.width/7,Ye.height),tt.strokeStyle="white",tt.lineWidth=2,tt.stroke(),tt.getImageData(0,0,Ye.width,Ye.height)}()});Be({commonImageDataHash:d(E(Le,280,20).data.toString()).toString()})})});var k,I=["Arial","Arial Black","Arial Narrow","Arial Rounded MT","Arimo","Archivo","Barlow","Bebas Neue","Bitter","Bookman","Calibri","Cabin","Candara","Century","Century Gothic","Comic Sans MS","Constantia","Courier","Courier New","Crimson Text","DM Mono","DM Sans","DM Serif Display","DM Serif Text","Dosis","Droid Sans","Exo","Fira Code","Fira Sans","Franklin Gothic Medium","Garamond","Geneva","Georgia","Gill Sans","Helvetica","Impact","Inconsolata","Indie Flower","Inter","Josefin Sans","Karla","Lato","Lexend","Lucida Bright","Lucida Console","Lucida Sans Unicode","Manrope","Merriweather","Merriweather Sans","Montserrat","Myriad","Noto Sans","Nunito","Nunito Sans","Open Sans","Optima","Orbitron","Oswald","Pacifico","Palatino","Perpetua","PT Sans","PT Serif","Poppins","Prompt","Public Sans","Quicksand","Rajdhani","Recursive","Roboto","Roboto Condensed","Rockwell","Rubik","Segoe Print","Segoe Script","Segoe UI","Sora","Source Sans Pro","Space Mono","Tahoma","Taviraj","Times","Times New Roman","Titillium Web","Trebuchet MS","Ubuntu","Varela Round","Verdana","Work Sans"],R$1=["monospace","sans-serif","serif"];function L(Be,Le){if(!Be)throw new Error("Canvas context not supported");return Be.font,Be.font="72px ".concat(Le),Be.measureText("WwMmLli0Oo").width}function _$1(){var Be,Le=document.createElement("canvas"),Ye=(Be=Le.getContext("webgl"))!==null&&Be!==void 0?Be:Le.getContext("experimental-webgl");if(Ye&&"getParameter"in Ye)try{var tt=(Ye.getParameter(Ye.VENDOR)||"").toString(),nt=(Ye.getParameter(Ye.RENDERER)||"").toString(),ft={vendor:tt,renderer:nt,version:(Ye.getParameter(Ye.VERSION)||"").toString(),shadingLanguageVersion:(Ye.getParameter(Ye.SHADING_LANGUAGE_VERSION)||"").toString()};if(!nt.length||!tt.length){var ht=Ye.getExtension("WEBGL_debug_renderer_info");if(ht){var gt=(Ye.getParameter(ht.UNMASKED_VENDOR_WEBGL)||"").toString(),At=(Ye.getParameter(ht.UNMASKED_RENDERER_WEBGL)||"").toString();gt&&(ft.vendorUnmasked=gt),At&&(ft.rendererUnmasked=At)}}return ft}catch{}return"undefined"}function O(){var Be=new Float32Array(1),Le=new Uint8Array(Be.buffer);return Be[0]=1/0,Be[0]=Be[0]-Be[0],Le[3]}function B(Be,Le){var Ye={};return Le.forEach(function(tt){var nt=function(ft){if(ft.length===0)return null;var ht={};ft.forEach(function(xt){var yt=String(xt);ht[yt]=(ht[yt]||0)+1});var gt=ft[0],At=1;return Object.keys(ht).forEach(function(xt){ht[xt]>At&&(gt=xt,At=ht[xt])}),gt}(Be.map(function(ft){return tt in ft?ft[tt]:void 0}).filter(function(ft){return ft!==void 0}));nt&&(Ye[tt]=nt)}),Ye}function D(){var Be=[],Le={"prefers-contrast":["high","more","low","less","forced","no-preference"],"any-hover":["hover","none"],"any-pointer":["none","coarse","fine"],pointer:["none","coarse","fine"],hover:["hover","none"],update:["fast","slow"],"inverted-colors":["inverted","none"],"prefers-reduced-motion":["reduce","no-preference"],"prefers-reduced-transparency":["reduce","no-preference"],scripting:["none","initial-only","enabled"],"forced-colors":["active","none"]};return Object.keys(Le).forEach(function(Ye){Le[Ye].forEach(function(tt){matchMedia("(".concat(Ye,": ").concat(tt,")")).matches&&Be.push("".concat(Ye,": ").concat(tt))})}),Be}b$1().name!="Firefox"&&i$4("fonts",function(){var Be=this;return new Promise(function(Le,Ye){try{(function(tt){var nt;e$1(this,void 0,void 0,function(){var ft,ht,gt;return n$1(this,function(At){switch(At.label){case 0:return document.body?[3,2]:[4,(xt=50,new Promise(function(Ct){return setTimeout(Ct,xt,yt)}))];case 1:return At.sent(),[3,0];case 2:if((ft=document.createElement("iframe")).setAttribute("frameBorder","0"),(ht=ft.style).setProperty("position","fixed"),ht.setProperty("display","block","important"),ht.setProperty("visibility","visible"),ht.setProperty("border","0"),ht.setProperty("opacity","0"),ft.src="about:blank",document.body.appendChild(ft),!(gt=ft.contentDocument||((nt=ft.contentWindow)===null||nt===void 0?void 0:nt.document)))throw new Error("Iframe document is not accessible");return tt({iframe:gt}),setTimeout(function(){document.body.removeChild(ft)},0),[2]}var xt,yt})})})(function(tt){var nt=tt.iframe;return e$1(Be,void 0,void 0,function(){var ft,ht,gt,At;return n$1(this,function(xt){return ft=nt.createElement("canvas"),ht=ft.getContext("2d"),gt=R$1.map(function(yt){return L(ht,yt)}),At={},I.forEach(function(yt){var Ct=L(ht,yt);gt.includes(Ct)||(At[yt]=Ct)}),Le(At),[2]})})})}catch{Ye({error:"unsupported"})}})}),i$4("hardware",function(){return new Promise(function(Be,Le){var Ye=navigator.deviceMemory!==void 0?navigator.deviceMemory:0,tt=window.performance&&window.performance.memory?window.performance.memory:0;Be({videocard:_$1(),architecture:O(),deviceMemory:Ye.toString()||"undefined",jsHeapSizeLimit:tt.jsHeapSizeLimit||0})})}),i$4("locales",function(){return new Promise(function(Be){Be({languages:navigator.language,timezone:Intl.DateTimeFormat().resolvedOptions().timeZone})})}),i$4("permissions",function(){return e$1(this,void 0,void 0,function(){var Be;return n$1(this,function(Le){return k=(r$3==null?void 0:r$3.permissions_to_check)||["accelerometer","accessibility","accessibility-events","ambient-light-sensor","background-fetch","background-sync","bluetooth","camera","clipboard-read","clipboard-write","device-info","display-capture","gyroscope","geolocation","local-fonts","magnetometer","microphone","midi","nfc","notifications","payment-handler","persistent-storage","push","speaker","storage-access","top-level-storage-access","window-management","query"],b$1().name.toLowerCase()==="safari"&&(k=k.filter(function(Ye){return!["camera","geolocation","microphone"].includes(Ye)})),Be=Array.from({length:(r$3==null?void 0:r$3.retries)||3},function(){return function(){return e$1(this,void 0,void 0,function(){var Ye,tt,nt,ft,ht;return n$1(this,function(gt){switch(gt.label){case 0:Ye={},tt=0,nt=k,gt.label=1;case 1:if(!(tt<nt.length))return[3,6];ft=nt[tt],gt.label=2;case 2:return gt.trys.push([2,4,,5]),[4,navigator.permissions.query({name:ft})];case 3:return ht=gt.sent(),Ye[ft]=ht.state.toString(),[3,5];case 4:return gt.sent(),[3,5];case 5:return tt++,[3,1];case 6:return[2,Ye]}})})}()}),[2,Promise.all(Be).then(function(Ye){return B(Ye,k)})]})})}),i$4("plugins",function(){var Be=[];if(navigator.plugins)for(var Le=0;Le<navigator.plugins.length;Le++){var Ye=navigator.plugins[Le];Be.push([Ye.name,Ye.filename,Ye.description].join("|"))}return new Promise(function(tt){tt({plugins:Be})})}),i$4("screen",function(){return new Promise(function(Be){Be({is_touchscreen:navigator.maxTouchPoints>0,maxTouchPoints:navigator.maxTouchPoints,colorDepth:screen.colorDepth,mediaMatches:D()})})}),i$4("system",function(){return new Promise(function(Be){var Le=b$1(),Ye={platform:window.navigator.platform,productSub:navigator.productSub,product:navigator.product,useragent:navigator.userAgent,hardwareConcurrency:navigator.hardwareConcurrency,browser:{name:Le.name,version:Le.version}};Le.name.toLowerCase()!=="safari"&&(Ye.applePayVersion=function(){if(window.location.protocol==="https:"&&typeof window.ApplePaySession=="function")try{for(var tt=window.ApplePaySession.supportsVersion,nt=15;nt>0;nt--)if(tt(nt))return nt}catch{return 0}return 0}(),Ye.cookieEnabled=window.navigator.cookieEnabled),Be(Ye)})});var U,N=b$1().name!=="SamsungBrowser"?1:3,F=null;i$4("webgl",function(){return e$1(this,void 0,void 0,function(){var Be;return n$1(this,function(Le){typeof document<"u"&&((U=document.createElement("canvas")).width=200,U.height=100,F=U.getContext("webgl"));try{if(!F)throw new Error("WebGL not supported");return Be=Array.from({length:N},function(){return function(){try{if(!F)throw new Error("WebGL not supported");var Ye=`
66
+ `;typeof Promise.withResolvers!="function"&&(Promise.withResolvers=()=>{let Be,Le;return{promise:new Promise((tt,nt)=>{Be=tt,Le=nt}),resolve:Be,reject:Le}});class InterruptionHandler{constructor(){this.boundVisibilityChange=this.handleVisibilityChange.bind(this),this.boundOnline=this.handleOnline.bind(this),this.boundOffline=this.handleOffline.bind(this),this.boundUnhandledRejection=this.handleUnhandledRejection.bind(this),this.boundError=this.handleError.bind(this),this.initialized=!1}registerEventListeners(){this.initialized||(document.addEventListener("visibilitychange",this.boundVisibilityChange),window.addEventListener("online",this.boundOnline),window.addEventListener("offline",this.boundOffline),window.addEventListener("unhandledrejection",this.boundUnhandledRejection),window.addEventListener("error",this.boundError),this.initialized=!0)}removeEventListeners(){this.initialized&&(this.initialized=!1,document.removeEventListener("visibilitychange",this.boundVisibilityChange),window.removeEventListener("online",this.boundOnline),window.removeEventListener("offline",this.boundOffline),window.removeEventListener("unhandledrejection",this.boundUnhandledRejection),window.removeEventListener("error",this.boundError))}handleVisibilityChange(){document.hidden?this.onAppHidden():this.onAppVisible()}onAppHidden(){}onAppVisible(){}handleOnline(){}handleOffline(){}handleUnhandledRejection(Le){}handleError(Le){}}const regex$1={CURP_PATTERN:/^([A-Z][AEIOUX][A-Z]{2}\d{2}(?:0[1-9]|1[0-2])(?:0[1-9]|[12]\d|3[01])[HMX](?:AS|B[CS]|C[CLMSH]|D[FG]|G[TR]|HG|JC|M[CNS]|N[ETL]|OC|PL|Q[TR]|S[PLR]|T[CSL]|VZ|YN|ZS)[B-DF-HJ-NP-TV-Z]{3}[A-Z\d])(\d)$/,EMAIL_PATTERN:/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,}$/i,SSN_PATTERN:/^\d{3}-?\d{2}-?\d{4}$/};function webgl(){let Be,Le,Ye=256,tt=128;Be=document.body.appendChild(document.createElement("canvas")),Be.width=Ye,Be.height=tt;try{Le=Be.getContext("webgl2")||Be.getContext("experimental-webgl2")||Be.getContext("webgl")||Be.getContext("experimental-webgl")||Be.getContext("moz-webgl");const nt="attribute vec2 attrVertex;varying vec2 varyinTexCoordinate;uniform vec2 uniformOffset;void main(){varyinTexCoordinate=attrVertex+uniformOffset;gl_Position=vec4(attrVertex,0,1);}",ft="precision mediump float;varying vec2 varyinTexCoordinate;void main() {gl_FragColor=vec4(varyinTexCoordinate,0,1);}",ht=Le.createBuffer();Le.bindBuffer(Le.ARRAY_BUFFER,ht);const gt=new Float32Array([-.2,-.9,0,.4,-.26,0,0,.7321,0]);Le.bufferData(Le.ARRAY_BUFFER,gt,Le.STATIC_DRAW),ht.itemSize=3,ht.numItems=3;const At=Le.createProgram(),xt=Le.createShader(Le.VERTEX_SHADER);Le.shaderSource(xt,nt),Le.compileShader(xt);const yt=Le.createShader(Le.FRAGMENT_SHADER);Le.shaderSource(yt,ft),Le.compileShader(yt),Le.attachShader(At,xt),Le.attachShader(At,yt),Le.linkProgram(At),Le.useProgram(At),At.vertexPosAttrib=Le.getAttribLocation(At,"attrVertex"),At.offsetUniform=Le.getUniformLocation(At,"uniformOffset"),Le.enableVertexAttribArray(At.vertexPosAttrib),Le.vertexAttribPointer(At.vertexPosAttrib,ht.itemSize,Le.FLOAT,!1,0,0),Le.uniform2f(At.offsetUniform,1,1),Le.drawArrays(Le.TRIANGLE_STRIP,0,ht.numItems);let Ct="";const Et=new Uint8Array(Ye*tt*4);return Le.readPixels(0,0,Ye,tt,Le.RGBA,Le.UNSIGNED_BYTE,Et),Ct=JSON.stringify(Et).replace(/,?"[0-9]+":/g,""),document.body.removeChild(Be),sha256(Ct)}catch{return""}}const sha256=(()=>{let Be=1,Le,Ye=[],tt=[];for(;++Be<18;)for(Le=Be*Be;Le<312;Le+=Be)Ye[Le]=1;function nt(gt,At){return Math.pow(gt,1/At)%1*4294967296|0}for(Be=1,Le=0;Be<313;)Ye[++Be]||(tt[Le]=nt(Be,2),Ye[Le++]=nt(Be,3));function ft(gt,At){return gt>>>At|gt<<32-At}function ht(gt){let At=tt.slice(Be=0),xt=unescape(encodeURI(gt)),yt=[],Ct=xt.length,Et=[],vt,kt,bt;for(;Be<Ct;)Et[Be>>2]|=(xt.charCodeAt(Be)&255)<<8*(3-Be++%4);for(Ct*=8,Et[Ct>>5]|=128<<24-Ct%32,Et[bt=Ct+64>>5|15]=Ct,Be=0;Be<bt;Be+=16){for(vt=At.slice(Le=0,8);Le<64;vt[4]+=kt)Le<16?yt[Le]=Et[Le+Be]:yt[Le]=(ft(kt=yt[Le-2],17)^ft(kt,19)^kt>>>10)+(yt[Le-7]|0)+(ft(kt=yt[Le-15],7)^ft(kt,18)^kt>>>3)+(yt[Le-16]|0),vt.unshift((kt=(vt.pop()+(ft(gt=vt[4],6)^ft(gt,11)^ft(gt,25))+((gt&vt[5]^~gt&vt[6])+Ye[Le])|0)+(yt[Le++]|0))+(ft(Ct=vt[0],2)^ft(Ct,13)^ft(Ct,22))+(Ct&vt[1]^vt[1]&vt[2]^vt[2]&Ct));for(Le=8;Le--;)At[Le]=vt[Le]+At[Le]}for(xt="";Le<63;)xt+=(At[++Le>>3]>>4*(7-Le%8)&15).toString(16);return xt}return ht})();var store;function getGlobalConfig(Be){return{lang:store==null?void 0:store.lang,message:Be==null?void 0:Be.message,abortEarly:store==null?void 0:store.abortEarly,abortPipeEarly:store==null?void 0:store.abortPipeEarly}}var store2;function getGlobalMessage(Be){return store2==null?void 0:store2.get(Be)}var store3;function getSchemaMessage(Be){return store3==null?void 0:store3.get(Be)}var store4;function getSpecificMessage(Be,Le){var Ye;return(Ye=store4==null?void 0:store4.get(Be))==null?void 0:Ye.get(Le)}function _stringify$3(Be){var Ye,tt;const Le=typeof Be;return Le==="string"?`"${Be}"`:Le==="number"||Le==="bigint"||Le==="boolean"?`${Be}`:Le==="object"||Le==="function"?(Be&&((tt=(Ye=Object.getPrototypeOf(Be))==null?void 0:Ye.constructor)==null?void 0:tt.name))??"null":Le}function _addIssue(Be,Le,Ye,tt,nt){const ft=nt&&"input"in nt?nt.input:Ye.value,ht=(nt==null?void 0:nt.expected)??Be.expects??null,gt=(nt==null?void 0:nt.received)??_stringify$3(ft),At={kind:Be.kind,type:Be.type,input:ft,expected:ht,received:gt,message:`Invalid ${Le}: ${ht?`Expected ${ht} but r`:"R"}eceived ${gt}`,requirement:Be.requirement,path:nt==null?void 0:nt.path,issues:nt==null?void 0:nt.issues,lang:tt.lang,abortEarly:tt.abortEarly,abortPipeEarly:tt.abortPipeEarly},xt=Be.kind==="schema",yt=(nt==null?void 0:nt.message)??Be.message??getSpecificMessage(Be.reference,At.lang)??(xt?getSchemaMessage(At.lang):null)??tt.message??getGlobalMessage(At.lang);yt!==void 0&&(At.message=typeof yt=="function"?yt(At):yt),xt&&(Ye.typed=!1),Ye.issues?Ye.issues.push(At):Ye.issues=[At]}function _getStandardProps(Be){return{version:1,vendor:"valibot",validate(Le){return Be["~run"]({value:Le},getGlobalConfig())}}}function _isValidObjectKey(Be,Le){return Object.hasOwn(Be,Le)&&Le!=="__proto__"&&Le!=="prototype"&&Le!=="constructor"}function _joinExpects(Be,Le){const Ye=[...new Set(Be)];return Ye.length>1?`(${Ye.join(` ${Le} `)})`:Ye[0]??"never"}function isValiError(Be){return Be instanceof ValiError}var ValiError=class extends Error{constructor(Be){super(Be[0].message),this.name="ValiError",this.issues=Be}};function getFallback(Be,Le,Ye){return typeof Be.fallback=="function"?Be.fallback(Le,Ye):Be.fallback}function getDefault(Be,Le,Ye){return typeof Be.default=="function"?Be.default(Le,Ye):Be.default}function boolean$2(Be){return{kind:"schema",type:"boolean",reference:boolean$2,expects:"boolean",async:!1,message:Be,get"~standard"(){return _getStandardProps(this)},"~run"(Le,Ye){return typeof Le.value=="boolean"?Le.typed=!0:_addIssue(this,"type",Le,Ye),Le}}}function custom(Be,Le){return{kind:"schema",type:"custom",reference:custom,expects:"unknown",async:!1,check:Be,message:Le,get"~standard"(){return _getStandardProps(this)},"~run"(Ye,tt){return this.check(Ye.value)?Ye.typed=!0:_addIssue(this,"type",Ye,tt),Ye}}}function function_(Be){return{kind:"schema",type:"function",reference:function_,expects:"Function",async:!1,message:Be,get"~standard"(){return _getStandardProps(this)},"~run"(Le,Ye){return typeof Le.value=="function"?Le.typed=!0:_addIssue(this,"type",Le,Ye),Le}}}function literal(Be,Le){return{kind:"schema",type:"literal",reference:literal,expects:_stringify$3(Be),async:!1,literal:Be,message:Le,get"~standard"(){return _getStandardProps(this)},"~run"(Ye,tt){return Ye.value===this.literal?Ye.typed=!0:_addIssue(this,"type",Ye,tt),Ye}}}function null_(Be){return{kind:"schema",type:"null",reference:null_,expects:"null",async:!1,message:Be,get"~standard"(){return _getStandardProps(this)},"~run"(Le,Ye){return Le.value===null?Le.typed=!0:_addIssue(this,"type",Le,Ye),Le}}}function number$3(Be){return{kind:"schema",type:"number",reference:number$3,expects:"number",async:!1,message:Be,get"~standard"(){return _getStandardProps(this)},"~run"(Le,Ye){return typeof Le.value=="number"&&!isNaN(Le.value)?Le.typed=!0:_addIssue(this,"type",Le,Ye),Le}}}function object(Be,Le){return{kind:"schema",type:"object",reference:object,expects:"Object",async:!1,entries:Be,message:Le,get"~standard"(){return _getStandardProps(this)},"~run"(Ye,tt){var ft;const nt=Ye.value;if(nt&&typeof nt=="object"){Ye.typed=!0,Ye.value={};for(const ht in this.entries){const gt=this.entries[ht];if(ht in nt||(gt.type==="exact_optional"||gt.type==="optional"||gt.type==="nullish")&&gt.default!==void 0){const At=ht in nt?nt[ht]:getDefault(gt),xt=gt["~run"]({value:At},tt);if(xt.issues){const yt={type:"object",origin:"value",input:nt,key:ht,value:At};for(const Ct of xt.issues)Ct.path?Ct.path.unshift(yt):Ct.path=[yt],(ft=Ye.issues)==null||ft.push(Ct);if(Ye.issues||(Ye.issues=xt.issues),tt.abortEarly){Ye.typed=!1;break}}xt.typed||(Ye.typed=!1),Ye.value[ht]=xt.value}else if(gt.fallback!==void 0)Ye.value[ht]=getFallback(gt);else if(gt.type!=="exact_optional"&&gt.type!=="optional"&&gt.type!=="nullish"&&(_addIssue(this,"key",Ye,tt,{input:void 0,expected:`"${ht}"`,path:[{type:"object",origin:"key",input:nt,key:ht,value:nt[ht]}]}),tt.abortEarly))break}}else _addIssue(this,"type",Ye,tt);return Ye}}}function optional(Be,Le){return{kind:"schema",type:"optional",reference:optional,expects:`(${Be.expects} | undefined)`,async:!1,wrapped:Be,default:Le,get"~standard"(){return _getStandardProps(this)},"~run"(Ye,tt){return Ye.value===void 0&&(this.default!==void 0&&(Ye.value=getDefault(this,Ye,tt)),Ye.value===void 0)?(Ye.typed=!0,Ye):this.wrapped["~run"](Ye,tt)}}}function record(Be,Le,Ye){return{kind:"schema",type:"record",reference:record,expects:"Object",async:!1,key:Be,value:Le,message:Ye,get"~standard"(){return _getStandardProps(this)},"~run"(tt,nt){var ht,gt;const ft=tt.value;if(ft&&typeof ft=="object"){tt.typed=!0,tt.value={};for(const At in ft)if(_isValidObjectKey(ft,At)){const xt=ft[At],yt=this.key["~run"]({value:At},nt);if(yt.issues){const Et={type:"object",origin:"key",input:ft,key:At,value:xt};for(const vt of yt.issues)vt.path=[Et],(ht=tt.issues)==null||ht.push(vt);if(tt.issues||(tt.issues=yt.issues),nt.abortEarly){tt.typed=!1;break}}const Ct=this.value["~run"]({value:xt},nt);if(Ct.issues){const Et={type:"object",origin:"value",input:ft,key:At,value:xt};for(const vt of Ct.issues)vt.path?vt.path.unshift(Et):vt.path=[Et],(gt=tt.issues)==null||gt.push(vt);if(tt.issues||(tt.issues=Ct.issues),nt.abortEarly){tt.typed=!1;break}}(!yt.typed||!Ct.typed)&&(tt.typed=!1),yt.typed&&(tt.value[yt.value]=Ct.value)}}else _addIssue(this,"type",tt,nt);return tt}}}function string$2(Be){return{kind:"schema",type:"string",reference:string$2,expects:"string",async:!1,message:Be,get"~standard"(){return _getStandardProps(this)},"~run"(Le,Ye){return typeof Le.value=="string"?Le.typed=!0:_addIssue(this,"type",Le,Ye),Le}}}function _subIssues(Be){let Le;if(Be)for(const Ye of Be)Le?Le.push(...Ye.issues):Le=Ye.issues;return Le}function union(Be,Le){return{kind:"schema",type:"union",reference:union,expects:_joinExpects(Be.map(Ye=>Ye.expects),"|"),async:!1,options:Be,message:Le,get"~standard"(){return _getStandardProps(this)},"~run"(Ye,tt){let nt,ft,ht;for(const gt of this.options){const At=gt["~run"]({value:Ye.value},tt);if(At.typed)if(At.issues)ft?ft.push(At):ft=[At];else{nt=At;break}else ht?ht.push(At):ht=[At]}if(nt)return nt;if(ft){if(ft.length===1)return ft[0];_addIssue(this,"type",Ye,tt,{issues:_subIssues(ft)}),Ye.typed=!0}else{if((ht==null?void 0:ht.length)===1)return ht[0];_addIssue(this,"type",Ye,tt,{issues:_subIssues(ht)})}return Ye}}}function parse$8(Be,Le,Ye){const tt=Be["~run"]({value:Le},getGlobalConfig(Ye));if(tt.issues)throw new ValiError(tt.issues);return tt.value}function validate$2(...Be){try{Be.forEach(({schema:Le,value:Ye})=>parse$8(Le,Ye))}catch(Le){if(isValiError(Le)){const Ye=Le.issues.map(tt=>{var ft;return`${((ft=tt.path)==null?void 0:ft.map(ht=>ht.key).join("."))||"root"}: ${tt.message}`}).join(", ");throw new Error(`Validation failed: ${Ye}`)}throw Le}}exports.api=void 0;function setApi(Be){exports.api=Be}function setToken(Be){exports.api.defaults.headers["X-Incode-Hardware-Id"]=Be}const eventsQueue=[];function addEvent(Be){const{token:Le,code:Ye,module:tt,screen:nt,clientTimestamp:ft,payload:ht={}}=Be;if(!Le){eventsQueue.push(Be);return}return exports.api.post("/omni/interview-events",[{code:Ye,module:tt,screen:nt,clientTimestamp:ft??new Date().getTime(),payload:ht}],{headers:{"X-Incode-Hardware-Id":Le}}).catch(()=>{})}function emptyQueue(Be){eventsQueue.forEach(Le=>{addEvent({...Le,token:Be})})}const state={token:null};var PipelineProfileName=(Be=>(Be[Be.IdCapture_2_01=0]="IdCapture_2_01",Be[Be.IdCapture_2_02=1]="IdCapture_2_02",Be[Be.IdCapture_3_02=2]="IdCapture_3_02",Be[Be.IdVideoSelfie_2_01=3]="IdVideoSelfie_2_01",Be[Be.SelfieWithAggregationMetrics=4]="SelfieWithAggregationMetrics",Be[Be.SelfieWithQualityMetrics=5]="SelfieWithQualityMetrics",Be[Be.SelfieVideoSelfie=6]="SelfieVideoSelfie",Be))(PipelineProfileName||{});class PipelineProfile{constructor(Le,Ye,tt,nt,ft,ht=null,gt=""){this.pipelineType=Le,this.name=Ye,this.detectionType=tt,this.modelNames=nt,this.parameters=ft,this.paramsConfigurator=ht,this.description=gt}reconfigureParams(Le,Ye){if(this.paramsConfigurator==null)throw new Error("PipelineProfile does not have a paramsConfigurator");this.paramsConfigurator(this.parameters,this.pipelineType,Le,Ye)}}var DetectionType=(Be=>(Be[Be.IDCapture=0]="IDCapture",Be[Be.Selfie=1]="Selfie",Be[Be.SelfieVideoSelfie=2]="SelfieVideoSelfie",Be[Be.IdVideoSelfie=3]="IdVideoSelfie",Be))(DetectionType||{}),WasmPipelineType=(Be=>(Be[Be.IdBlurGlarePipeline=0]="IdBlurGlarePipeline",Be[Be.IdBarcodeAndTextQualityPipeline=1]="IdBarcodeAndTextQualityPipeline",Be[Be.IdVideoSelfiePipeline=2]="IdVideoSelfiePipeline",Be[Be.SelfieWithAggregationMetrics=3]="SelfieWithAggregationMetrics",Be[Be.SelfieWithQualityMetrics=4]="SelfieWithQualityMetrics",Be[Be.IdFaceDetectionPipeline=5]="IdFaceDetectionPipeline",Be))(WasmPipelineType||{}),IdCaptureModelType=(Be=>(Be[Be.IdCaptureV1x=0]="IdCaptureV1x",Be[Be.IdCaptureV2x=1]="IdCaptureV2x",Be[Be.IdCaptureV3x=2]="IdCaptureV3x",Be))(IdCaptureModelType||{}),src$2={},src$1={},$_StatsigGlobal={},Log={};(function(Be){Object.defineProperty(Be,"__esModule",{value:!0}),Be.Log=Be.LogLevel=void 0;const Le=" DEBUG ",Ye=" INFO ",tt=" WARN ",nt=" ERROR ";function ft(gt){return gt.unshift("[Statsig]"),gt}Be.LogLevel={None:0,Error:1,Warn:2,Info:3,Debug:4};class ht{static info(...At){ht.level>=Be.LogLevel.Info&&console.info(Ye,...ft(At))}static debug(...At){ht.level>=Be.LogLevel.Debug&&console.debug(Le,...ft(At))}static warn(...At){ht.level>=Be.LogLevel.Warn&&console.warn(tt,...ft(At))}static error(...At){ht.level>=Be.LogLevel.Error&&console.error(nt,...ft(At))}}Be.Log=ht,ht.level=Be.LogLevel.Warn})(Log),function(Be){var Le,Ye,tt;Object.defineProperty(Be,"__esModule",{value:!0}),Be._getInstance=Be._getStatsigGlobalFlag=Be._getStatsigGlobal=void 0;const nt=Log,ft=()=>{try{return typeof __STATSIG__<"u"?__STATSIG__:Et}catch{return Et}};Be._getStatsigGlobal=ft;const ht=vt=>(0,Be._getStatsigGlobal)()[vt];Be._getStatsigGlobalFlag=ht;const gt=vt=>{const kt=(0,Be._getStatsigGlobal)();return vt?kt.instances&&kt.instances[vt]:(kt.instances&&Object.keys(kt.instances).length>1&&nt.Log.warn("Call made to Statsig global instance without an SDK key but there is more than one client instance. If you are using mulitple clients, please specify the SDK key."),kt.firstInstance)};Be._getInstance=gt;const At="__STATSIG__",xt=typeof window<"u"?window:{},yt=typeof commonjsGlobal<"u"?commonjsGlobal:{},Ct=typeof globalThis<"u"?globalThis:{},Et=(tt=(Ye=(Le=xt[At])!==null&&Le!==void 0?Le:yt[At])!==null&&Ye!==void 0?Ye:Ct[At])!==null&&tt!==void 0?tt:{instance:Be._getInstance};xt[At]=Et,yt[At]=Et,Ct[At]=Et}($_StatsigGlobal);var Diagnostics={};(function(Be){Object.defineProperty(Be,"__esModule",{value:!0}),Be.Diagnostics=void 0;const Le=new Map,Ye="start",tt="end",nt="statsig::diagnostics";Be.Diagnostics={_getMarkers:xt=>Le.get(xt),_markInitOverallStart:xt=>{gt(xt,ft({},Ye,"overall"))},_markInitOverallEnd:(xt,yt,Ct)=>{gt(xt,ft({success:yt,error:yt?void 0:{name:"InitializeError",message:"Failed to initialize"},evaluationDetails:Ct},tt,"overall"))},_markInitNetworkReqStart:(xt,yt)=>{gt(xt,ft(yt,Ye,"initialize","network_request"))},_markInitNetworkReqEnd:(xt,yt)=>{gt(xt,ft(yt,tt,"initialize","network_request"))},_markInitProcessStart:xt=>{gt(xt,ft({},Ye,"initialize","process"))},_markInitProcessEnd:(xt,yt)=>{gt(xt,ft(yt,tt,"initialize","process"))},_clearMarkers:xt=>{Le.delete(xt)},_formatError(xt){if(xt&&typeof xt=="object")return{code:At(xt,"code"),name:At(xt,"name"),message:At(xt,"message")}},_getDiagnosticsData(xt,yt,Ct,Et){var vt;return{success:(xt==null?void 0:xt.ok)===!0,statusCode:xt==null?void 0:xt.status,sdkRegion:(vt=xt==null?void 0:xt.headers)===null||vt===void 0?void 0:vt.get("x-statsig-region"),isDelta:Ct.includes('"is_delta":true')===!0?!0:void 0,attempt:yt,error:Be.Diagnostics._formatError(Et)}},_enqueueDiagnosticsEvent(xt,yt,Ct,Et){const vt=Be.Diagnostics._getMarkers(Ct);if(vt==null||vt.length<=0)return-1;const kt=vt[vt.length-1].timestamp-vt[0].timestamp;Be.Diagnostics._clearMarkers(Ct);const bt=ht(xt,{context:"initialize",markers:vt.slice(),statsigOptions:Et});return yt.enqueue(bt),kt}};function ft(xt,yt,Ct,Et){return Object.assign({key:Ct,action:yt,step:Et,timestamp:Date.now()},xt)}function ht(xt,yt){return{eventName:nt,user:xt,value:null,metadata:yt,time:Date.now()}}function gt(xt,yt){var Ct;const Et=(Ct=Le.get(xt))!==null&&Ct!==void 0?Ct:[];Et.push(yt),Le.set(xt,Et)}function At(xt,yt){if(yt in xt)return xt[yt]}})(Diagnostics);var EventLogger$1={},CacheKey={},Hashing={},TypingUtils={};Object.defineProperty(TypingUtils,"__esModule",{value:!0}),TypingUtils._isTypeMatch=TypingUtils._typeOf=void 0;function _typeOf(Be){return Array.isArray(Be)?"array":typeof Be}TypingUtils._typeOf=_typeOf;function _isTypeMatch(Be,Le){const Ye=tt=>Array.isArray(tt)?"array":tt===null?"null":typeof tt;return Ye(Be)===Ye(Le)}TypingUtils._isTypeMatch=_isTypeMatch,function(Be){Object.defineProperty(Be,"__esModule",{value:!0}),Be._getSortedObject=Be._DJB2Object=Be._DJB2=void 0;const Le=TypingUtils,Ye=ft=>{let ht=0;for(let gt=0;gt<ft.length;gt++){const At=ft.charCodeAt(gt);ht=(ht<<5)-ht+At,ht=ht&ht}return String(ht>>>0)};Be._DJB2=Ye;const tt=(ft,ht)=>(0,Be._DJB2)(JSON.stringify((0,Be._getSortedObject)(ft,ht)));Be._DJB2Object=tt;const nt=(ft,ht)=>{if(ft==null)return null;const gt=Object.keys(ft).sort(),At={};return gt.forEach(xt=>{const yt=ft[xt];if(ht===0||(0,Le._typeOf)(yt)!=="object"){At[xt]=yt;return}At[xt]=(0,Be._getSortedObject)(yt,ht!=null?ht-1:ht)}),At};Be._getSortedObject=nt}(Hashing),Object.defineProperty(CacheKey,"__esModule",{value:!0}),CacheKey._getStorageKey=CacheKey._getUserStorageKey=void 0;const Hashing_1$4=Hashing;function _getUserStorageKey(Be,Le,Ye){var tt;if(Ye)return Ye(Be,Le);const nt=Le&&Le.customIDs?Le.customIDs:{},ft=[`uid:${(tt=Le==null?void 0:Le.userID)!==null&&tt!==void 0?tt:""}`,`cids:${Object.keys(nt).sort((ht,gt)=>ht.localeCompare(gt)).map(ht=>`${ht}-${nt[ht]}`).join(",")}`,`k:${Be}`];return(0,Hashing_1$4._DJB2)(ft.join("|"))}CacheKey._getUserStorageKey=_getUserStorageKey;function _getStorageKey(Be,Le,Ye){return Le?_getUserStorageKey(Be,Le,Ye):(0,Hashing_1$4._DJB2)(`k:${Be}`)}CacheKey._getStorageKey=_getStorageKey;var NetworkConfig={};(function(Be){Object.defineProperty(Be,"__esModule",{value:!0}),Be.NetworkParam=Be.NetworkDefault=Be.Endpoint=void 0,Be.Endpoint={_initialize:"initialize",_rgstr:"rgstr",_download_config_specs:"download_config_specs"},Be.NetworkDefault={[Be.Endpoint._rgstr]:"https://prodregistryv2.org/v1",[Be.Endpoint._initialize]:"https://featureassets.org/v1",[Be.Endpoint._download_config_specs]:"https://api.statsigcdn.com/v1"},Be.NetworkParam={EventCount:"ec",SdkKey:"k",SdkType:"st",SdkVersion:"sv",Time:"t",SessionID:"sid",StatsigEncoded:"se",IsGzipped:"gz"}})(NetworkConfig);var SafeJs={};(function(Be){Object.defineProperty(Be,"__esModule",{value:!0}),Be._getUnloadEvent=Be._getCurrentPageUrlSafe=Be._addDocumentEventListenerSafe=Be._addWindowEventListenerSafe=Be._isServerEnv=Be._getDocumentSafe=Be._getWindowSafe=void 0;const Le=()=>typeof window<"u"?window:null;Be._getWindowSafe=Le;const Ye=()=>{var At;const xt=(0,Be._getWindowSafe)();return(At=xt==null?void 0:xt.document)!==null&&At!==void 0?At:null};Be._getDocumentSafe=Ye;const tt=()=>{if((0,Be._getDocumentSafe)()!==null)return!1;const At=typeof process<"u"&&process.versions!=null&&process.versions.node!=null;return typeof EdgeRuntime=="string"||At};Be._isServerEnv=tt;const nt=(At,xt)=>{const yt=(0,Be._getWindowSafe)();typeof(yt==null?void 0:yt.addEventListener)=="function"&&yt.addEventListener(At,xt)};Be._addWindowEventListenerSafe=nt;const ft=(At,xt)=>{const yt=(0,Be._getDocumentSafe)();typeof(yt==null?void 0:yt.addEventListener)=="function"&&yt.addEventListener(At,xt)};Be._addDocumentEventListenerSafe=ft;const ht=()=>{var At;try{return(At=(0,Be._getWindowSafe)())===null||At===void 0?void 0:At.location.href.split(/[?#]/)[0]}catch{return}};Be._getCurrentPageUrlSafe=ht;const gt=()=>{const At=(0,Be._getWindowSafe)();return At&&"onpagehide"in At?"pagehide":"beforeunload"};Be._getUnloadEvent=gt})(SafeJs);var StatsigEvent={};Object.defineProperty(StatsigEvent,"__esModule",{value:!0}),StatsigEvent._createLayerParameterExposure=StatsigEvent._createConfigExposure=StatsigEvent._mapExposures=StatsigEvent._createGateExposure=StatsigEvent._isExposureEvent=void 0;const CONFIG_EXPOSURE_NAME="statsig::config_exposure",GATE_EXPOSURE_NAME="statsig::gate_exposure",LAYER_EXPOSURE_NAME="statsig::layer_exposure",_createExposure=(Be,Le,Ye,tt,nt)=>(Ye.bootstrapMetadata&&(tt.bootstrapMetadata=Ye.bootstrapMetadata),{eventName:Be,user:Le,value:null,metadata:_addEvaluationDetailsToMetadata(Ye,tt),secondaryExposures:nt,time:Date.now()}),_isExposureEvent=({eventName:Be})=>Be===GATE_EXPOSURE_NAME||Be===CONFIG_EXPOSURE_NAME||Be===LAYER_EXPOSURE_NAME;StatsigEvent._isExposureEvent=_isExposureEvent;const _createGateExposure=(Be,Le,Ye)=>{var tt,nt,ft;const ht={gate:Le.name,gateValue:String(Le.value),ruleID:Le.ruleID};return((tt=Le.__evaluation)===null||tt===void 0?void 0:tt.version)!=null&&(ht.configVersion=Le.__evaluation.version),_createExposure(GATE_EXPOSURE_NAME,Be,Le.details,ht,_mapExposures((ft=(nt=Le.__evaluation)===null||nt===void 0?void 0:nt.secondary_exposures)!==null&&ft!==void 0?ft:[],Ye))};StatsigEvent._createGateExposure=_createGateExposure;function _mapExposures(Be,Le){return Be.map(Ye=>typeof Ye=="string"?(Le??{})[Ye]:Ye).filter(Ye=>Ye!=null)}StatsigEvent._mapExposures=_mapExposures;const _createConfigExposure=(Be,Le,Ye)=>{var tt,nt,ft,ht;const gt={config:Le.name,ruleID:Le.ruleID};return((tt=Le.__evaluation)===null||tt===void 0?void 0:tt.version)!=null&&(gt.configVersion=Le.__evaluation.version),((nt=Le.__evaluation)===null||nt===void 0?void 0:nt.passed)!=null&&(gt.rulePassed=String(Le.__evaluation.passed)),_createExposure(CONFIG_EXPOSURE_NAME,Be,Le.details,gt,_mapExposures((ht=(ft=Le.__evaluation)===null||ft===void 0?void 0:ft.secondary_exposures)!==null&&ht!==void 0?ht:[],Ye))};StatsigEvent._createConfigExposure=_createConfigExposure;const _createLayerParameterExposure=(Be,Le,Ye,tt)=>{var nt,ft,ht,gt,At,xt,yt;const Ct=Le.__evaluation,Et=((nt=Ct==null?void 0:Ct.explicit_parameters)===null||nt===void 0?void 0:nt.includes(Ye))===!0;let vt="",kt=(ft=Ct==null?void 0:Ct.undelegated_secondary_exposures)!==null&&ft!==void 0?ft:[];Et&&(vt=(ht=Ct.allocated_experiment_name)!==null&&ht!==void 0?ht:"",kt=(gt=Ct.secondary_exposures)!==null&&gt!==void 0?gt:[]);const bt=(At=Le.__evaluation)===null||At===void 0?void 0:At.parameter_rule_ids,wt={config:Le.name,parameterName:Ye,ruleID:(xt=bt==null?void 0:bt[Ye])!==null&&xt!==void 0?xt:Le.ruleID,allocatedExperiment:vt,isExplicitParameter:String(Et)};return((yt=Le.__evaluation)===null||yt===void 0?void 0:yt.version)!=null&&(wt.configVersion=Le.__evaluation.version),_createExposure(LAYER_EXPOSURE_NAME,Be,Le.details,wt,_mapExposures(kt,tt))};StatsigEvent._createLayerParameterExposure=_createLayerParameterExposure;const _addEvaluationDetailsToMetadata=(Be,Le)=>(Le.reason=Be.reason,Be.lcut&&(Le.lcut=String(Be.lcut)),Be.receivedAt&&(Le.receivedAt=String(Be.receivedAt)),Le);var StatsigOptionsCommon={};Object.defineProperty(StatsigOptionsCommon,"__esModule",{value:!0}),StatsigOptionsCommon.LoggingEnabledOption=StatsigOptionsCommon.LogEventCompressionMode=void 0,StatsigOptionsCommon.LogEventCompressionMode={Disabled:"d",Enabled:"e",Forced:"f"},StatsigOptionsCommon.LoggingEnabledOption={disabled:"disabled",browserOnly:"browser-only",always:"always"};var StorageProvider={};(function(Be){Object.defineProperty(Be,"__esModule",{value:!0}),Be._setObjectInStorage=Be._getObjectFromStorage=Be.Storage=void 0;const Le=Log,Ye=SafeJs,tt={},nt={isReady:()=>!0,isReadyResolver:()=>null,getProviderName:()=>"InMemory",getItem:Ct=>tt[Ct]?tt[Ct]:null,setItem:(Ct,Et)=>{tt[Ct]=Et},removeItem:Ct=>{delete tt[Ct]},getAllKeys:()=>Object.keys(tt)};let ft=null;try{const Ct=(0,Ye._getWindowSafe)();Ct&&Ct.localStorage&&typeof Ct.localStorage.getItem=="function"&&(ft={isReady:()=>!0,isReadyResolver:()=>null,getProviderName:()=>"LocalStorage",getItem:Et=>Ct.localStorage.getItem(Et),setItem:(Et,vt)=>Ct.localStorage.setItem(Et,vt),removeItem:Et=>Ct.localStorage.removeItem(Et),getAllKeys:()=>Object.keys(Ct.localStorage)})}catch{Le.Log.warn("Failed to setup localStorageProvider.")}let ht=ft??nt,gt=ht;function At(Ct){try{return Ct()}catch(Et){if(Et instanceof Error&&Et.name==="SecurityError")return Be.Storage._setProvider(nt),null;throw Et}}Be.Storage={isReady:()=>gt.isReady(),isReadyResolver:()=>gt.isReadyResolver(),getProviderName:()=>gt.getProviderName(),getItem:Ct=>At(()=>gt.getItem(Ct)),setItem:(Ct,Et)=>At(()=>gt.setItem(Ct,Et)),removeItem:Ct=>gt.removeItem(Ct),getAllKeys:()=>gt.getAllKeys(),_setProvider:Ct=>{ht=Ct,gt=Ct},_setDisabled:Ct=>{Ct?gt=nt:gt=ht}};function xt(Ct){const Et=Be.Storage.getItem(Ct);return JSON.parse(Et??"null")}Be._getObjectFromStorage=xt;function yt(Ct,Et){Be.Storage.setItem(Ct,JSON.stringify(Et))}Be._setObjectInStorage=yt})(StorageProvider);var UrlConfiguration$1={};Object.defineProperty(UrlConfiguration$1,"__esModule",{value:!0}),UrlConfiguration$1.UrlConfiguration=void 0;const Hashing_1$3=Hashing,NetworkConfig_1$2=NetworkConfig,ENDPOINT_DNS_KEY_MAP={[NetworkConfig_1$2.Endpoint._initialize]:"i",[NetworkConfig_1$2.Endpoint._rgstr]:"e",[NetworkConfig_1$2.Endpoint._download_config_specs]:"d"};class UrlConfiguration{constructor(Le,Ye,tt,nt){this.customUrl=null,this.fallbackUrls=null,this.endpoint=Le,this.endpointDnsKey=ENDPOINT_DNS_KEY_MAP[Le],Ye&&(this.customUrl=Ye),!Ye&&tt&&(this.customUrl=tt.endsWith("/")?`${tt}${Le}`:`${tt}/${Le}`),nt&&(this.fallbackUrls=nt);const ft=NetworkConfig_1$2.NetworkDefault[Le];this.defaultUrl=`${ft}/${Le}`}getUrl(){var Le;return(Le=this.customUrl)!==null&&Le!==void 0?Le:this.defaultUrl}getChecksum(){var Le;const Ye=((Le=this.fallbackUrls)!==null&&Le!==void 0?Le:[]).sort().join(",");return(0,Hashing_1$3._DJB2)(this.customUrl+Ye)}}UrlConfiguration$1.UrlConfiguration=UrlConfiguration;var VisibilityObserving={};(function(Be){Object.defineProperty(Be,"__esModule",{value:!0}),Be._notifyVisibilityChanged=Be._subscribeToVisiblityChanged=Be._isUnloading=Be._isCurrentlyVisible=void 0;const Le=SafeJs,Ye="foreground",tt="background",nt=[];let ft=Ye,ht=!1;const gt=()=>ft===Ye;Be._isCurrentlyVisible=gt;const At=()=>ht;Be._isUnloading=At;const xt=Ct=>{nt.unshift(Ct)};Be._subscribeToVisiblityChanged=xt;const yt=Ct=>{Ct!==ft&&(ft=Ct,nt.forEach(Et=>Et(Ct)))};Be._notifyVisibilityChanged=yt,(0,Le._addWindowEventListenerSafe)("focus",()=>{ht=!1,(0,Be._notifyVisibilityChanged)(Ye)}),(0,Le._addWindowEventListenerSafe)("blur",()=>(0,Be._notifyVisibilityChanged)(tt)),(0,Le._addDocumentEventListenerSafe)("visibilitychange",()=>{(0,Be._notifyVisibilityChanged)(document.visibilityState==="visible"?Ye:tt)}),(0,Le._addWindowEventListenerSafe)((0,Le._getUnloadEvent)(),()=>{ht=!0,(0,Be._notifyVisibilityChanged)(tt)})})(VisibilityObserving);var __awaiter$f=commonjsGlobal&&commonjsGlobal.__awaiter||function(Be,Le,Ye,tt){function nt(ft){return ft instanceof Ye?ft:new Ye(function(ht){ht(ft)})}return new(Ye||(Ye=Promise))(function(ft,ht){function gt(yt){try{xt(tt.next(yt))}catch(Ct){ht(Ct)}}function At(yt){try{xt(tt.throw(yt))}catch(Ct){ht(Ct)}}function xt(yt){yt.done?ft(yt.value):nt(yt.value).then(gt,At)}xt((tt=tt.apply(Be,Le||[])).next())})};Object.defineProperty(EventLogger$1,"__esModule",{value:!0}),EventLogger$1.EventLogger=void 0;const CacheKey_1$1=CacheKey,Hashing_1$2=Hashing,Log_1$8=Log,NetworkConfig_1$1=NetworkConfig,SafeJs_1$3=SafeJs,StatsigEvent_1=StatsigEvent,StatsigOptionsCommon_1$2=StatsigOptionsCommon,StorageProvider_1$4=StorageProvider,UrlConfiguration_1=UrlConfiguration$1,VisibilityObserving_1$1=VisibilityObserving,DEFAULT_QUEUE_SIZE=100,DEFAULT_FLUSH_INTERVAL_MS=1e4,MAX_DEDUPER_KEYS=1e3,DEDUPER_WINDOW_DURATION_MS=6e5,MAX_FAILED_LOGS=500,QUICK_FLUSH_WINDOW_MS=200,EVENT_LOGGER_MAP={},RetryFailedLogsTrigger={Startup:"startup",GainedFocus:"gained_focus"};class EventLogger{static _safeFlushAndForget(Le){var Ye;(Ye=EVENT_LOGGER_MAP[Le])===null||Ye===void 0||Ye.flush().catch(()=>{})}static _safeRetryFailedLogs(Le){var Ye;(Ye=EVENT_LOGGER_MAP[Le])===null||Ye===void 0||Ye._retryFailedLogs(RetryFailedLogsTrigger.GainedFocus)}constructor(Le,Ye,tt,nt){var ft,ht;this._sdkKey=Le,this._emitter=Ye,this._network=tt,this._options=nt,this._queue=[],this._lastExposureTimeMap={},this._nonExposedChecks={},this._hasRunQuickFlush=!1,this._creationTime=Date.now(),this._loggingEnabled=(ft=nt==null?void 0:nt.loggingEnabled)!==null&&ft!==void 0?ft:(nt==null?void 0:nt.disableLogging)===!0?StatsigOptionsCommon_1$2.LoggingEnabledOption.disabled:StatsigOptionsCommon_1$2.LoggingEnabledOption.browserOnly,nt!=null&&nt.loggingEnabled&&nt.disableLogging!==void 0&&Log_1$8.Log.warn("Detected both loggingEnabled and disableLogging options. loggingEnabled takes precedence - please remove disableLogging."),this._maxQueueSize=(ht=nt==null?void 0:nt.loggingBufferMaxSize)!==null&&ht!==void 0?ht:DEFAULT_QUEUE_SIZE;const gt=nt==null?void 0:nt.networkConfig;this._logEventUrlConfig=new UrlConfiguration_1.UrlConfiguration(NetworkConfig_1$1.Endpoint._rgstr,gt==null?void 0:gt.logEventUrl,gt==null?void 0:gt.api,gt==null?void 0:gt.logEventFallbackUrls)}setLogEventCompressionMode(Le){this._network.setLogEventCompressionMode(Le)}setLoggingEnabled(Le){if(this._loggingEnabled==="disabled"&&Le!=="disabled"){const Ye=this._getStorageKey(),tt=(0,StorageProvider_1$4._getObjectFromStorage)(Ye);tt&&this._queue.push(...tt),StorageProvider_1$4.Storage.removeItem(Ye)}this._loggingEnabled=Le}enqueue(Le){this._shouldLogEvent(Le)&&(this._normalizeAndAppendEvent(Le),this._quickFlushIfNeeded(),this._queue.length>this._maxQueueSize&&EventLogger._safeFlushAndForget(this._sdkKey))}incrementNonExposureCount(Le){var Ye;const tt=(Ye=this._nonExposedChecks[Le])!==null&&Ye!==void 0?Ye:0;this._nonExposedChecks[Le]=tt+1}reset(){this.flush().catch(()=>{}),this._lastExposureTimeMap={}}start(){var Le;const Ye=(0,SafeJs_1$3._isServerEnv)();Ye&&((Le=this._options)===null||Le===void 0?void 0:Le.loggingEnabled)!=="always"||(EVENT_LOGGER_MAP[this._sdkKey]=this,Ye||(0,VisibilityObserving_1$1._subscribeToVisiblityChanged)(tt=>{tt==="background"?EventLogger._safeFlushAndForget(this._sdkKey):tt==="foreground"&&EventLogger._safeRetryFailedLogs(this._sdkKey)}),this._retryFailedLogs(RetryFailedLogsTrigger.Startup),this._startBackgroundFlushInterval())}stop(){return __awaiter$f(this,void 0,void 0,function*(){this._flushIntervalId&&(clearInterval(this._flushIntervalId),this._flushIntervalId=null),delete EVENT_LOGGER_MAP[this._sdkKey],yield this.flush()})}flush(){return __awaiter$f(this,void 0,void 0,function*(){if(this._appendAndResetNonExposedChecks(),this._queue.length===0)return;const Le=this._queue;this._queue=[],yield this._sendEvents(Le)})}_quickFlushIfNeeded(){this._hasRunQuickFlush||(this._hasRunQuickFlush=!0,!(Date.now()-this._creationTime>QUICK_FLUSH_WINDOW_MS)&&setTimeout(()=>EventLogger._safeFlushAndForget(this._sdkKey),QUICK_FLUSH_WINDOW_MS))}_shouldLogEvent(Le){var Ye;if(((Ye=this._options)===null||Ye===void 0?void 0:Ye.loggingEnabled)!=="always"&&(0,SafeJs_1$3._isServerEnv)())return!1;if(!(0,StatsigEvent_1._isExposureEvent)(Le))return!0;const tt=Le.user?Le.user:{statsigEnvironment:void 0},nt=(0,CacheKey_1$1._getUserStorageKey)(this._sdkKey,tt),ft=Le.metadata?Le.metadata:{},ht=[Le.eventName,nt,ft.gate,ft.config,ft.ruleID,ft.allocatedExperiment,ft.parameterName,String(ft.isExplicitParameter),ft.reason].join("|"),gt=this._lastExposureTimeMap[ht],At=Date.now();return gt&&At-gt<DEDUPER_WINDOW_DURATION_MS?!1:(Object.keys(this._lastExposureTimeMap).length>MAX_DEDUPER_KEYS&&(this._lastExposureTimeMap={}),this._lastExposureTimeMap[ht]=At,!0)}_sendEvents(Le){return __awaiter$f(this,void 0,void 0,function*(){var Ye,tt;if(this._loggingEnabled==="disabled")return this._saveFailedLogsToStorage(Le),!1;try{const ft=(0,VisibilityObserving_1$1._isUnloading)()&&this._network.isBeaconSupported()&&((tt=(Ye=this._options)===null||Ye===void 0?void 0:Ye.networkConfig)===null||tt===void 0?void 0:tt.networkOverrideFunc)==null;return this._emitter({name:"pre_logs_flushed",events:Le}),(ft?this._sendEventsViaBeacon(Le):yield this._sendEventsViaPost(Le)).success?(this._emitter({name:"logs_flushed",events:Le}),!0):(Log_1$8.Log.warn("Failed to flush events."),this._saveFailedLogsToStorage(Le),!1)}catch{return Log_1$8.Log.warn("Failed to flush events."),!1}})}_sendEventsViaPost(Le){return __awaiter$f(this,void 0,void 0,function*(){var Ye;const tt=yield this._network.post(this._getRequestData(Le)),nt=(Ye=tt==null?void 0:tt.code)!==null&&Ye!==void 0?Ye:-1;return{success:nt>=200&&nt<300}})}_sendEventsViaBeacon(Le){return{success:this._network.beacon(this._getRequestData(Le))}}_getRequestData(Le){return{sdkKey:this._sdkKey,data:{events:Le},urlConfig:this._logEventUrlConfig,retries:3,isCompressable:!0,params:{[NetworkConfig_1$1.NetworkParam.EventCount]:String(Le.length)},credentials:"same-origin"}}_saveFailedLogsToStorage(Le){for(;Le.length>MAX_FAILED_LOGS;)Le.shift();const Ye=this._getStorageKey();try{const tt=this._getFailedLogsFromStorage(Ye);(0,StorageProvider_1$4._setObjectInStorage)(Ye,[...tt,...Le])}catch{Log_1$8.Log.warn("Unable to save failed logs to storage")}}_getFailedLogsFromStorage(Le){let Ye=[];try{const tt=(0,StorageProvider_1$4._getObjectFromStorage)(Le);return Array.isArray(tt)&&(Ye=tt),Ye}catch{return[]}}_retryFailedLogs(Le){const Ye=this._getStorageKey();__awaiter$f(this,void 0,void 0,function*(){StorageProvider_1$4.Storage.isReady()||(yield StorageProvider_1$4.Storage.isReadyResolver());const tt=(0,StorageProvider_1$4._getObjectFromStorage)(Ye);if(!tt)return;Le===RetryFailedLogsTrigger.Startup&&StorageProvider_1$4.Storage.removeItem(Ye),(yield this._sendEvents(tt))&&Le===RetryFailedLogsTrigger.GainedFocus&&StorageProvider_1$4.Storage.removeItem(Ye)}).catch(()=>{Log_1$8.Log.warn("Failed to flush stored logs")})}_getStorageKey(){return`statsig.failed_logs.${(0,Hashing_1$2._DJB2)(this._sdkKey)}`}_normalizeAndAppendEvent(Le){Le.user&&(Le.user=Object.assign({},Le.user),delete Le.user.privateAttributes);const Ye={},tt=this._getCurrentPageUrl();tt&&(Ye.statsigMetadata={currentPage:tt});const nt=Object.assign(Object.assign({},Le),Ye);Log_1$8.Log.debug("Enqueued Event:",nt),this._queue.push(nt)}_appendAndResetNonExposedChecks(){Object.keys(this._nonExposedChecks).length!==0&&(this._normalizeAndAppendEvent({eventName:"statsig::non_exposed_checks",user:null,time:Date.now(),metadata:{checks:Object.assign({},this._nonExposedChecks)}}),this._nonExposedChecks={})}_getCurrentPageUrl(){var Le;if(((Le=this._options)===null||Le===void 0?void 0:Le.includeCurrentPageUrlWithEvents)!==!1)return(0,SafeJs_1$3._getCurrentPageUrlSafe)()}_startBackgroundFlushInterval(){var Le,Ye;const tt=(Ye=(Le=this._options)===null||Le===void 0?void 0:Le.loggingIntervalMs)!==null&&Ye!==void 0?Ye:DEFAULT_FLUSH_INTERVAL_MS,nt=setInterval(()=>{const ft=EVENT_LOGGER_MAP[this._sdkKey];!ft||ft._flushIntervalId!==nt?clearInterval(nt):EventLogger._safeFlushAndForget(this._sdkKey)},tt);this._flushIntervalId=nt}}EventLogger$1.EventLogger=EventLogger;var StatsigMetadata={};(function(Be){Object.defineProperty(Be,"__esModule",{value:!0}),Be.StatsigMetadataProvider=Be.SDK_VERSION=void 0,Be.SDK_VERSION="3.28.1";let Le={sdkVersion:Be.SDK_VERSION,sdkType:"js-mono"};Be.StatsigMetadataProvider={get:()=>Le,add:Ye=>{Le=Object.assign(Object.assign({},Le),Ye)}}})(StatsigMetadata);var ClientInterfaces={};Object.defineProperty(ClientInterfaces,"__esModule",{value:!0});var DataAdapterCore$1={},StableID={},UUID={};Object.defineProperty(UUID,"__esModule",{value:!0}),UUID.getUUID=void 0;function getUUID(){if(typeof crypto<"u"&&typeof crypto.randomUUID=="function")return crypto.randomUUID();let Be=new Date().getTime(),Le=typeof performance<"u"&&performance.now&&performance.now()*1e3||0;return`xxxxxxxx-xxxx-4xxx-${"89ab"[Math.floor(Math.random()*4)]}xxx-xxxxxxxxxxxx`.replace(/[xy]/g,tt=>{let nt=Math.random()*16;return Be>0?(nt=(Be+nt)%16|0,Be=Math.floor(Be/16)):(nt=(Le+nt)%16|0,Le=Math.floor(Le/16)),(tt==="x"?nt:nt&7|8).toString(16)})}UUID.getUUID=getUUID,Object.defineProperty(StableID,"__esModule",{value:!0}),StableID.getCookieName=StableID.StableID=void 0;const CacheKey_1=CacheKey,Log_1$7=Log,SafeJs_1$2=SafeJs,StorageProvider_1$3=StorageProvider,UUID_1=UUID,PROMISE_MAP={},COOKIE_ENABLED_MAP={},DISABLED_MAP={};StableID.StableID={cookiesEnabled:!1,randomID:Math.random().toString(36),get:Be=>{if(DISABLED_MAP[Be])return null;if(PROMISE_MAP[Be]!=null)return PROMISE_MAP[Be];let Le=null;return Le=_loadFromCookie(Be),Le!=null?(PROMISE_MAP[Be]=Le,_persistToStorage(Le,Be),Le):(Le=_loadFromStorage(Be),Le==null&&(Le=(0,UUID_1.getUUID)()),_persistToStorage(Le,Be),_persistToCookie(Le,Be),PROMISE_MAP[Be]=Le,Le)},setOverride:(Be,Le)=>{PROMISE_MAP[Le]=Be,_persistToStorage(Be,Le),_persistToCookie(Be,Le)},_setCookiesEnabled:(Be,Le)=>{COOKIE_ENABLED_MAP[Be]=Le},_setDisabled:(Be,Le)=>{DISABLED_MAP[Be]=Le}};function _getStableIDStorageKey(Be){return`statsig.stable_id.${(0,CacheKey_1._getStorageKey)(Be)}`}function _persistToStorage(Be,Le){const Ye=_getStableIDStorageKey(Le);try{(0,StorageProvider_1$3._setObjectInStorage)(Ye,Be)}catch{Log_1$7.Log.warn("Failed to save StableID to storage")}}function _loadFromStorage(Be){const Le=_getStableIDStorageKey(Be);return(0,StorageProvider_1$3._getObjectFromStorage)(Le)}function _loadFromCookie(Be){if(!COOKIE_ENABLED_MAP[Be]||(0,SafeJs_1$2._getDocumentSafe)()==null)return null;const Le=document.cookie.split(";");for(const Ye of Le){const[tt,nt]=Ye.trim().split("=");if(tt===getCookieName(Be))return decodeURIComponent(nt)}return null}function _persistToCookie(Be,Le){if(!COOKIE_ENABLED_MAP[Le]||(0,SafeJs_1$2._getDocumentSafe)()==null)return;const Ye=new Date;Ye.setFullYear(Ye.getFullYear()+1),document.cookie=`${getCookieName(Le)}=${encodeURIComponent(Be)}; expires=${Ye.toUTCString()}; path=/`}function getCookieName(Be){return`statsig.stable_id.${(0,CacheKey_1._getStorageKey)(Be)}`}StableID.getCookieName=getCookieName;var StatsigUser={};Object.defineProperty(StatsigUser,"__esModule",{value:!0}),StatsigUser._getFullUserHash=StatsigUser._normalizeUser=void 0;const Hashing_1$1=Hashing,Log_1$6=Log;function _normalizeUser(Be,Le,Ye){try{const tt=JSON.parse(JSON.stringify(Be));return Le!=null&&Le.environment!=null?tt.statsigEnvironment=Le.environment:Ye!=null&&(tt.statsigEnvironment={tier:Ye}),tt}catch{return Log_1$6.Log.error("Failed to JSON.stringify user"),{statsigEnvironment:void 0}}}StatsigUser._normalizeUser=_normalizeUser;function _getFullUserHash(Be){return Be?(0,Hashing_1$1._DJB2Object)(Be):null}StatsigUser._getFullUserHash=_getFullUserHash;var TypedJsonParse={};Object.defineProperty(TypedJsonParse,"__esModule",{value:!0}),TypedJsonParse._typedJsonParse=void 0;const Log_1$5=Log;function _typedJsonParse(Be,Le,Ye){try{const tt=JSON.parse(Be);if(tt&&typeof tt=="object"&&Le in tt)return tt}catch{}return Log_1$5.Log.error(`Failed to parse ${Ye}`),null}TypedJsonParse._typedJsonParse=_typedJsonParse;var __awaiter$e=commonjsGlobal&&commonjsGlobal.__awaiter||function(Be,Le,Ye,tt){function nt(ft){return ft instanceof Ye?ft:new Ye(function(ht){ht(ft)})}return new(Ye||(Ye=Promise))(function(ft,ht){function gt(yt){try{xt(tt.next(yt))}catch(Ct){ht(Ct)}}function At(yt){try{xt(tt.throw(yt))}catch(Ct){ht(Ct)}}function xt(yt){yt.done?ft(yt.value):nt(yt.value).then(gt,At)}xt((tt=tt.apply(Be,Le||[])).next())})};Object.defineProperty(DataAdapterCore$1,"__esModule",{value:!0}),DataAdapterCore$1._makeDataAdapterResult=DataAdapterCore$1.DataAdapterCore=void 0;const Log_1$4=Log,StableID_1$2=StableID,StatsigUser_1=StatsigUser,StorageProvider_1$2=StorageProvider,TypedJsonParse_1=TypedJsonParse,CACHE_LIMIT=10,MAX_CACHE_WRITE_ATTEMPTS=8;class DataAdapterCore{constructor(Le,Ye){this._adapterName=Le,this._cacheSuffix=Ye,this._options=null,this._sdkKey=null,this._cacheLimit=CACHE_LIMIT,this._lastModifiedStoreKey=`statsig.last_modified_time.${Ye}`,this._inMemoryCache=new InMemoryCache}attach(Le,Ye,tt){this._sdkKey=Le,this._options=Ye}getDataSync(Le){const Ye=Le&&(0,StatsigUser_1._normalizeUser)(Le,this._options),tt=this._getCacheKey(Ye),nt=this._inMemoryCache.get(tt,Ye);if(nt&&this._getIsCacheValueValid(nt))return nt;const ft=this._loadFromCache(tt);return ft&&this._getIsCacheValueValid(ft)?(this._inMemoryCache.add(tt,ft,this._cacheLimit),this._inMemoryCache.get(tt,Ye)):null}setData(Le,Ye){const tt=Ye&&(0,StatsigUser_1._normalizeUser)(Ye,this._options),nt=this._getCacheKey(tt);this._inMemoryCache.add(nt,_makeDataAdapterResult("Bootstrap",Le,null,tt),this._cacheLimit)}_getIsCacheValueValid(Le){return Le.stableID==null||Le.stableID===StableID_1$2.StableID.get(this._getSdkKey())}_getDataAsyncImpl(Le,Ye,tt){return __awaiter$e(this,void 0,void 0,function*(){StorageProvider_1$2.Storage.isReady()||(yield StorageProvider_1$2.Storage.isReadyResolver());const nt=Le??this.getDataSync(Ye),ft=[this._fetchAndPrepFromNetwork(nt,Ye,tt)];return tt!=null&&tt.timeoutMs&&ft.push(new Promise(ht=>setTimeout(ht,tt.timeoutMs)).then(()=>(Log_1$4.Log.debug("Fetching latest value timed out"),null))),yield Promise.race(ft)})}_prefetchDataImpl(Le,Ye){return __awaiter$e(this,void 0,void 0,function*(){const tt=Le&&(0,StatsigUser_1._normalizeUser)(Le,this._options),nt=this._getCacheKey(tt),ft=yield this._getDataAsyncImpl(null,tt,Ye);ft&&this._inMemoryCache.add(nt,Object.assign(Object.assign({},ft),{source:"Prefetch"}),this._cacheLimit)})}_fetchAndPrepFromNetwork(Le,Ye,tt){return __awaiter$e(this,void 0,void 0,function*(){var nt;const ft=(nt=Le==null?void 0:Le.data)!==null&&nt!==void 0?nt:null,ht=Le!=null&&this._isCachedResultValidFor204(Le,Ye),gt=yield this._fetchFromNetwork(ft,Ye,tt,ht);if(!gt)return Log_1$4.Log.debug("No response returned for latest value"),null;const At=(0,TypedJsonParse_1._typedJsonParse)(gt,"has_updates","Response"),xt=this._getSdkKey(),yt=StableID_1$2.StableID.get(xt);let Ct=null;if((At==null?void 0:At.has_updates)===!0)Ct=_makeDataAdapterResult("Network",gt,yt,Ye);else if(ft&&(At==null?void 0:At.has_updates)===!1)Ct=_makeDataAdapterResult("NetworkNotModified",ft,yt,Ye);else return null;const Et=this._getCacheKey(Ye);return this._inMemoryCache.add(Et,Ct,this._cacheLimit),this._writeToCache(Et,Ct),Ct})}_getSdkKey(){return this._sdkKey!=null?this._sdkKey:(Log_1$4.Log.error(`${this._adapterName} is not attached to a Client`),"")}_loadFromCache(Le){var Ye;const tt=(Ye=StorageProvider_1$2.Storage.getItem)===null||Ye===void 0?void 0:Ye.call(StorageProvider_1$2.Storage,Le);if(tt==null)return null;const nt=(0,TypedJsonParse_1._typedJsonParse)(tt,"source","Cached Result");return nt?Object.assign(Object.assign({},nt),{source:"Cache"}):null}_writeToCache(Le,Ye){const tt=JSON.stringify(Ye);for(let nt=0;nt<MAX_CACHE_WRITE_ATTEMPTS;nt++)try{StorageProvider_1$2.Storage.setItem(Le,tt);break}catch(ft){if(!(ft instanceof Error)||!(ft.toString().includes("QuotaExceededError")||ft.toString().includes("QUOTA_EXCEEDED_ERR"))||this._cacheLimit<=1)throw ft;this._cacheLimit=Math.ceil(this._cacheLimit/2),this._runLocalStorageCacheEviction(Le,this._cacheLimit-1)}this._runLocalStorageCacheEviction(Le)}_runLocalStorageCacheEviction(Le,Ye=this._cacheLimit){var tt;const nt=(tt=(0,StorageProvider_1$2._getObjectFromStorage)(this._lastModifiedStoreKey))!==null&&tt!==void 0?tt:{};nt[Le]=Date.now();const ft=_getEvictableKeys(nt,Ye);for(const ht of ft)delete nt[ht],StorageProvider_1$2.Storage.removeItem(ht);(0,StorageProvider_1$2._setObjectInStorage)(this._lastModifiedStoreKey,nt)}}DataAdapterCore$1.DataAdapterCore=DataAdapterCore;function _makeDataAdapterResult(Be,Le,Ye,tt){return{source:Be,data:Le,receivedAt:Date.now(),stableID:Ye,fullUserHash:(0,StatsigUser_1._getFullUserHash)(tt)}}DataAdapterCore$1._makeDataAdapterResult=_makeDataAdapterResult;class InMemoryCache{constructor(){this._data={}}get(Le,Ye){var tt;const nt=this._data[Le],ft=nt==null?void 0:nt.stableID,ht=(tt=Ye==null?void 0:Ye.customIDs)===null||tt===void 0?void 0:tt.stableID;return ht&&ft&&ht!==ft?(Log_1$4.Log.warn("'StatsigUser.customIDs.stableID' mismatch"),null):nt}add(Le,Ye,tt){const nt=_getEvictableKeys(this._data,tt-1);for(const ft of nt)delete this._data[ft];this._data[Le]=Ye}merge(Le){this._data=Object.assign(Object.assign({},this._data),Le)}}function _getEvictableKeys(Be,Le){const Ye=Object.keys(Be);return Ye.length<=Le?[]:Le===0?Ye:Ye.sort((tt,nt)=>{const ft=Be[tt],ht=Be[nt];return typeof ft=="object"&&typeof ht=="object"?ft.receivedAt-ht.receivedAt:ft-ht}).slice(0,Ye.length-Le)}var DownloadConfigSpecsResponse={};Object.defineProperty(DownloadConfigSpecsResponse,"__esModule",{value:!0});var ErrorBoundary={},SDKType={};Object.defineProperty(SDKType,"__esModule",{value:!0}),SDKType.SDKType=void 0;const SDK_CLIENT={};let suffix;SDKType.SDKType={_get:Be=>{var Le;return((Le=SDK_CLIENT[Be])!==null&&Le!==void 0?Le:"js-mono")+(suffix??"")},_setClientType(Be,Le){SDK_CLIENT[Be]=Le},_setBindingType(Be){(!suffix||suffix==="-react")&&(suffix="-"+Be)}},function(Be){var Le=commonjsGlobal&&commonjsGlobal.__awaiter||function(Ct,Et,vt,kt){function bt(wt){return wt instanceof vt?wt:new vt(function(It){It(wt)})}return new(vt||(vt=Promise))(function(wt,It){function Rt(Pt){try{Bt(kt.next(Pt))}catch(Dt){It(Dt)}}function Tt(Pt){try{Bt(kt.throw(Pt))}catch(Dt){It(Dt)}}function Bt(Pt){Pt.done?wt(Pt.value):bt(Pt.value).then(Rt,Tt)}Bt((kt=kt.apply(Ct,Et||[])).next())})};Object.defineProperty(Be,"__esModule",{value:!0}),Be.ErrorBoundary=Be.EXCEPTION_ENDPOINT=void 0;const Ye=Log,tt=SDKType,nt=StatsigMetadata;Be.EXCEPTION_ENDPOINT="https://statsigapi.net/v1/sdk_exception";const ft="[Statsig] UnknownError";class ht{constructor(Et,vt,kt,bt){this._sdkKey=Et,this._options=vt,this._emitter=kt,this._lastSeenError=bt,this._seen=new Set}wrap(Et,vt){try{const kt=Et;xt(kt).forEach(bt=>{const wt=kt[bt];"$EB"in wt||(kt[bt]=(...It)=>this._capture(vt?`${vt}:${bt}`:bt,()=>wt.apply(Et,It)),kt[bt].$EB=!0)})}catch(kt){this._onError("eb:wrap",kt)}}logError(Et,vt){this._onError(Et,vt)}getLastSeenErrorAndReset(){const Et=this._lastSeenError;return this._lastSeenError=void 0,Et??null}attachErrorIfNoneExists(Et){this._lastSeenError||(this._lastSeenError=gt(Et))}_capture(Et,vt){try{const kt=vt();return kt&&kt instanceof Promise?kt.catch(bt=>this._onError(Et,bt)):kt}catch(kt){return this._onError(Et,kt),null}}_onError(Et,vt){try{Ye.Log.warn(`Caught error in ${Et}`,{error:vt}),Le(this,void 0,void 0,function*(){var bt,wt,It,Rt,Tt,Bt,Pt;const Dt=vt||Error(ft),Ot=Dt instanceof Error,Lt=Ot?Dt.name:"No Name",Wt=gt(Dt);if(this._lastSeenError=Wt,this._seen.has(Lt))return;if(this._seen.add(Lt),!((wt=(bt=this._options)===null||bt===void 0?void 0:bt.networkConfig)===null||wt===void 0)&&wt.preventAllNetworkTraffic){(It=this._emitter)===null||It===void 0||It.call(this,{name:"error",error:vt,tag:Et});return}const $t=tt.SDKType._get(this._sdkKey),qt=nt.StatsigMetadataProvider.get(),Ht=Ot?Dt.stack:At(Dt),Ut=Object.assign({tag:Et,exception:Lt,info:Ht,statsigOptions:yt(this._options)},Object.assign(Object.assign({},qt),{sdkType:$t}));yield((Bt=(Tt=(Rt=this._options)===null||Rt===void 0?void 0:Rt.networkConfig)===null||Tt===void 0?void 0:Tt.networkOverrideFunc)!==null&&Bt!==void 0?Bt:fetch)(Be.EXCEPTION_ENDPOINT,{method:"POST",headers:{"STATSIG-API-KEY":this._sdkKey,"STATSIG-SDK-TYPE":String($t),"STATSIG-SDK-VERSION":String(qt.sdkVersion),"Content-Type":"application/json"},body:JSON.stringify(Ut)}),(Pt=this._emitter)===null||Pt===void 0||Pt.call(this,{name:"error",error:vt,tag:Et})}).then(()=>{}).catch(()=>{})}catch{}}}Be.ErrorBoundary=ht;function gt(Ct){return Ct instanceof Error?Ct:typeof Ct=="string"?new Error(Ct):new Error("An unknown error occurred.")}function At(Ct){try{return JSON.stringify(Ct)}catch{return ft}}function xt(Ct){const Et=new Set;let vt=Object.getPrototypeOf(Ct);for(;vt&&vt!==Object.prototype;)Object.getOwnPropertyNames(vt).filter(kt=>typeof(vt==null?void 0:vt[kt])=="function").forEach(kt=>Et.add(kt)),vt=Object.getPrototypeOf(vt);return Array.from(Et)}function yt(Ct){if(!Ct)return{};const Et={};return Object.keys(Ct).forEach(vt=>{const kt=vt,bt=Ct[kt];switch(typeof bt){case"number":case"bigint":case"boolean":Et[String(kt)]=bt;break;case"string":bt.length<50?Et[String(kt)]=bt:Et[String(kt)]="set";break;case"object":kt==="environment"?Et.environment=bt:kt==="networkConfig"?Et.networkConfig=bt:Et[String(kt)]=bt!=null?"set":"unset";break}}),Et}}(ErrorBoundary);var EvaluationOptions={};Object.defineProperty(EvaluationOptions,"__esModule",{value:!0});var EvaluationTypes={};Object.defineProperty(EvaluationTypes,"__esModule",{value:!0});var InitializeResponse={};Object.defineProperty(InitializeResponse,"__esModule",{value:!0});var MemoKey={};Object.defineProperty(MemoKey,"__esModule",{value:!0}),MemoKey.createMemoKey=MemoKey.MemoPrefix=void 0,MemoKey.MemoPrefix={_gate:"g",_dynamicConfig:"c",_experiment:"e",_configList:"cl",_layer:"l",_paramStore:"p"};const EXIST_KEYS=new Set([]),DO_NOT_MEMO_KEYS=new Set(["userPersistedValues"]);function createMemoKey(Be,Le,Ye){let tt=`${Be}|${Le}`;if(!Ye)return tt;for(const nt of Object.keys(Ye)){if(DO_NOT_MEMO_KEYS.has(nt))return;EXIST_KEYS.has(nt)?tt+=`|${nt}=true`:tt+=`|${nt}=${Ye[nt]}`}return tt}MemoKey.createMemoKey=createMemoKey;var NetworkCore$1={},NetworkFallbackResolver$1={},DnsTxtQuery={},__awaiter$d=commonjsGlobal&&commonjsGlobal.__awaiter||function(Be,Le,Ye,tt){function nt(ft){return ft instanceof Ye?ft:new Ye(function(ht){ht(ft)})}return new(Ye||(Ye=Promise))(function(ft,ht){function gt(yt){try{xt(tt.next(yt))}catch(Ct){ht(Ct)}}function At(yt){try{xt(tt.throw(yt))}catch(Ct){ht(Ct)}}function xt(yt){yt.done?ft(yt.value):nt(yt.value).then(gt,At)}xt((tt=tt.apply(Be,Le||[])).next())})};Object.defineProperty(DnsTxtQuery,"__esModule",{value:!0}),DnsTxtQuery._fetchTxtRecords=void 0;const FEATURE_ASSETS_DNS_QUERY=new Uint8Array([0,0,1,0,0,1,0,0,0,0,0,0,13,102,101,97,116,117,114,101,97,115,115,101,116,115,3,111,114,103,0,0,16,0,1]),DNS_QUERY_ENDPOINT="https://cloudflare-dns.com/dns-query",DOMAIN_CHARS=["i","e","d"],MAX_START_LOOKUP=200;function _fetchTxtRecords(Be){return __awaiter$d(this,void 0,void 0,function*(){const Le=yield Be(DNS_QUERY_ENDPOINT,{method:"POST",headers:{"Content-Type":"application/dns-message",Accept:"application/dns-message"},body:FEATURE_ASSETS_DNS_QUERY});if(!Le.ok){const nt=new Error("Failed to fetch TXT records from DNS");throw nt.name="DnsTxtFetchError",nt}const Ye=yield Le.arrayBuffer(),tt=new Uint8Array(Ye);return _parseDnsResponse(tt)})}DnsTxtQuery._fetchTxtRecords=_fetchTxtRecords;function _parseDnsResponse(Be){const Le=Be.findIndex((tt,nt)=>nt<MAX_START_LOOKUP&&String.fromCharCode(tt)==="="&&DOMAIN_CHARS.includes(String.fromCharCode(Be[nt-1])));if(Le===-1){const tt=new Error("Failed to parse TXT records from DNS");throw tt.name="DnsTxtParseError",tt}let Ye="";for(let tt=Le-1;tt<Be.length;tt++)Ye+=String.fromCharCode(Be[tt]);return Ye.split(",")}var __awaiter$c=commonjsGlobal&&commonjsGlobal.__awaiter||function(Be,Le,Ye,tt){function nt(ft){return ft instanceof Ye?ft:new Ye(function(ht){ht(ft)})}return new(Ye||(Ye=Promise))(function(ft,ht){function gt(yt){try{xt(tt.next(yt))}catch(Ct){ht(Ct)}}function At(yt){try{xt(tt.throw(yt))}catch(Ct){ht(Ct)}}function xt(yt){yt.done?ft(yt.value):nt(yt.value).then(gt,At)}xt((tt=tt.apply(Be,Le||[])).next())})};Object.defineProperty(NetworkFallbackResolver$1,"__esModule",{value:!0}),NetworkFallbackResolver$1._isDomainFailure=NetworkFallbackResolver$1.NetworkFallbackResolver=void 0;const DnsTxtQuery_1=DnsTxtQuery,Hashing_1=Hashing,Log_1$3=Log,StorageProvider_1$1=StorageProvider,DEFAULT_TTL_MS=7*24*60*60*1e3,COOLDOWN_TIME_MS=4*60*60*1e3;class NetworkFallbackResolver{constructor(Le){var Ye;this._fallbackInfo=null,this._errorBoundary=null,this._dnsQueryCooldowns={},this._networkOverrideFunc=(Ye=Le.networkConfig)===null||Ye===void 0?void 0:Ye.networkOverrideFunc}setErrorBoundary(Le){this._errorBoundary=Le}tryBumpExpiryTime(Le,Ye){var tt;const nt=(tt=this._fallbackInfo)===null||tt===void 0?void 0:tt[Ye.endpoint];nt&&(nt.expiryTime=Date.now()+DEFAULT_TTL_MS,_tryWriteFallbackInfoToCache(Le,Object.assign(Object.assign({},this._fallbackInfo),{[Ye.endpoint]:nt})))}getActiveFallbackUrl(Le,Ye){var tt,nt;if(Ye.customUrl!=null&&Ye.fallbackUrls!=null)return null;let ft=this._fallbackInfo;ft==null&&(ft=(tt=_readFallbackInfoFromCache(Le))!==null&&tt!==void 0?tt:{},this._fallbackInfo=ft);const ht=ft[Ye.endpoint];return!ht||Date.now()>((nt=ht.expiryTime)!==null&&nt!==void 0?nt:0)||Ye.getChecksum()!==ht.urlConfigChecksum?(delete ft[Ye.endpoint],this._fallbackInfo=ft,_tryWriteFallbackInfoToCache(Le,this._fallbackInfo),null):ht.url?ht.url:null}tryFetchUpdatedFallbackInfo(Le,Ye,tt,nt){return __awaiter$c(this,void 0,void 0,function*(){var ft,ht;try{if(!_isDomainFailure(tt,nt))return!1;const At=Ye.customUrl==null&&Ye.fallbackUrls==null?yield this._tryFetchFallbackUrlsFromNetwork(Ye):Ye.fallbackUrls,xt=this._pickNewFallbackUrl((ft=this._fallbackInfo)===null||ft===void 0?void 0:ft[Ye.endpoint],At);return xt?(this._updateFallbackInfoWithNewUrl(Le,Ye,xt),!0):!1}catch(gt){return(ht=this._errorBoundary)===null||ht===void 0||ht.logError("tryFetchUpdatedFallbackInfo",gt),!1}})}_updateFallbackInfoWithNewUrl(Le,Ye,tt){var nt,ft,ht;const gt={urlConfigChecksum:Ye.getChecksum(),url:tt,expiryTime:Date.now()+DEFAULT_TTL_MS,previous:[]},At=Ye.endpoint,xt=(nt=this._fallbackInfo)===null||nt===void 0?void 0:nt[At];xt&&gt.previous.push(...xt.previous),gt.previous.length>10&&(gt.previous=[]);const yt=(ht=(ft=this._fallbackInfo)===null||ft===void 0?void 0:ft[At])===null||ht===void 0?void 0:ht.url;yt!=null&&gt.previous.push(yt),this._fallbackInfo=Object.assign(Object.assign({},this._fallbackInfo),{[At]:gt}),_tryWriteFallbackInfoToCache(Le,this._fallbackInfo)}_tryFetchFallbackUrlsFromNetwork(Le){return __awaiter$c(this,void 0,void 0,function*(){var Ye;const tt=this._dnsQueryCooldowns[Le.endpoint];if(tt&&Date.now()<tt)return null;this._dnsQueryCooldowns[Le.endpoint]=Date.now()+COOLDOWN_TIME_MS;const nt=[],ft=yield(0,DnsTxtQuery_1._fetchTxtRecords)((Ye=this._networkOverrideFunc)!==null&&Ye!==void 0?Ye:fetch),ht=_extractPathFromUrl(Le.defaultUrl);for(const gt of ft){if(!gt.startsWith(Le.endpointDnsKey+"="))continue;const At=gt.split("=");if(At.length>1){let xt=At[1];xt.endsWith("/")&&(xt=xt.slice(0,-1)),nt.push(`https://${xt}${ht}`)}}return nt})}_pickNewFallbackUrl(Le,Ye){var tt;if(Ye==null)return null;const nt=new Set((tt=Le==null?void 0:Le.previous)!==null&&tt!==void 0?tt:[]),ft=Le==null?void 0:Le.url;let ht=null;for(const gt of Ye){const At=gt.endsWith("/")?gt.slice(0,-1):gt;if(!nt.has(gt)&&At!==ft){ht=At;break}}return ht}}NetworkFallbackResolver$1.NetworkFallbackResolver=NetworkFallbackResolver;function _isDomainFailure(Be,Le){var Ye;const tt=(Ye=Be==null?void 0:Be.toLowerCase())!==null&&Ye!==void 0?Ye:"";return Le||tt.includes("uncaught exception")||tt.includes("failed to fetch")||tt.includes("networkerror when attempting to fetch resource")}NetworkFallbackResolver$1._isDomainFailure=_isDomainFailure;function _getFallbackInfoStorageKey(Be){return`statsig.network_fallback.${(0,Hashing_1._DJB2)(Be)}`}function _tryWriteFallbackInfoToCache(Be,Le){const Ye=_getFallbackInfoStorageKey(Be);if(!Le||Object.keys(Le).length===0){StorageProvider_1$1.Storage.removeItem(Ye);return}StorageProvider_1$1.Storage.setItem(Ye,JSON.stringify(Le))}function _readFallbackInfoFromCache(Be){const Le=_getFallbackInfoStorageKey(Be),Ye=StorageProvider_1$1.Storage.getItem(Le);if(!Ye)return null;try{return JSON.parse(Ye)}catch{return Log_1$3.Log.error("Failed to parse FallbackInfo"),null}}function _extractPathFromUrl(Be){try{return new URL(Be).pathname}catch{return null}}var SDKFlags={};Object.defineProperty(SDKFlags,"__esModule",{value:!0}),SDKFlags.SDKFlags=void 0;const FLAGMAP={};SDKFlags.SDKFlags={setFlags:(Be,Le)=>{FLAGMAP[Be]=Le},get:(Be,Le)=>{var Ye,tt;return(tt=(Ye=FLAGMAP[Be])===null||Ye===void 0?void 0:Ye[Le])!==null&&tt!==void 0?tt:!1}};var SessionID={};(function(Be){Object.defineProperty(Be,"__esModule",{value:!0}),Be.StatsigSession=Be.SessionID=void 0;const Le=$_StatsigGlobal,Ye=CacheKey,tt=Log,nt=StorageProvider,ft=UUID,ht=30*60*1e3,gt=4*60*60*1e3,At={};Be.SessionID={get:Rt=>Be.StatsigSession.get(Rt).data.sessionID},Be.StatsigSession={get:Rt=>{At[Rt]==null&&(At[Rt]=xt(Rt));const Tt=At[Rt];return Ct(Tt)},overrideInitialSessionID:(Rt,Tt)=>{At[Tt]=yt(Rt,Tt)}};function xt(Rt){let Tt=It(Rt);const Bt=Date.now();return Tt||(Tt={sessionID:(0,ft.getUUID)(),startTime:Bt,lastUpdate:Bt}),{data:Tt,sdkKey:Rt}}function yt(Rt,Tt){const Bt=Date.now();return{data:{sessionID:Rt,startTime:Bt,lastUpdate:Bt},sdkKey:Tt}}function Ct(Rt){const Tt=Date.now(),Bt=Rt.data,Pt=Rt.sdkKey;if(vt(Bt)||kt(Bt)){Bt.sessionID=(0,ft.getUUID)(),Bt.startTime=Tt;const Ot=__STATSIG__==null?void 0:__STATSIG__.instance(Pt);Ot&&Ot.$emt({name:"session_expired"})}Bt.lastUpdate=Tt,wt(Bt,Rt.sdkKey),clearTimeout(Rt.idleTimeoutID),clearTimeout(Rt.ageTimeoutID);const Dt=Tt-Bt.startTime;return Rt.idleTimeoutID=Et(Pt,ht),Rt.ageTimeoutID=Et(Pt,gt-Dt),Rt}function Et(Rt,Tt){return setTimeout(()=>{var Bt;const Pt=(Bt=(0,Le._getStatsigGlobal)())===null||Bt===void 0?void 0:Bt.instance(Rt);Pt&&Pt.$emt({name:"session_expired"})},Tt)}function vt({lastUpdate:Rt}){return Date.now()-Rt>ht}function kt({startTime:Rt}){return Date.now()-Rt>gt}function bt(Rt){return`statsig.session_id.${(0,Ye._getStorageKey)(Rt)}`}function wt(Rt,Tt){const Bt=bt(Tt);try{(0,nt._setObjectInStorage)(Bt,Rt)}catch{tt.Log.warn("Failed to save SessionID")}}function It(Rt){const Tt=bt(Rt);return(0,nt._getObjectFromStorage)(Tt)}})(SessionID);var StatsigClientEventEmitter={};Object.defineProperty(StatsigClientEventEmitter,"__esModule",{value:!0}),StatsigClientEventEmitter.ErrorTag=void 0,StatsigClientEventEmitter.ErrorTag={NetworkError:"NetworkError"};var __awaiter$b=commonjsGlobal&&commonjsGlobal.__awaiter||function(Be,Le,Ye,tt){function nt(ft){return ft instanceof Ye?ft:new Ye(function(ht){ht(ft)})}return new(Ye||(Ye=Promise))(function(ft,ht){function gt(yt){try{xt(tt.next(yt))}catch(Ct){ht(Ct)}}function At(yt){try{xt(tt.throw(yt))}catch(Ct){ht(Ct)}}function xt(yt){yt.done?ft(yt.value):nt(yt.value).then(gt,At)}xt((tt=tt.apply(Be,Le||[])).next())})};Object.defineProperty(NetworkCore$1,"__esModule",{value:!0}),NetworkCore$1.NetworkCore=void 0;const __StatsigGlobal_1$1=$_StatsigGlobal,Diagnostics_1=Diagnostics,Log_1$2=Log,NetworkConfig_1=NetworkConfig,NetworkFallbackResolver_1=NetworkFallbackResolver$1,SDKFlags_1=SDKFlags,SDKType_1=SDKType,SafeJs_1$1=SafeJs,SessionID_1$1=SessionID,StableID_1$1=StableID,StatsigClientEventEmitter_1=StatsigClientEventEmitter,StatsigMetadata_1=StatsigMetadata,StatsigOptionsCommon_1$1=StatsigOptionsCommon,VisibilityObserving_1=VisibilityObserving,DEFAULT_TIMEOUT_MS=1e4,BACKOFF_BASE_MS=500,BACKOFF_MAX_MS=3e4,RATE_LIMIT_WINDOW_MS=1e3,RATE_LIMIT_MAX_REQ_COUNT=50,LEAK_RATE=RATE_LIMIT_MAX_REQ_COUNT/RATE_LIMIT_WINDOW_MS,RETRYABLE_CODES=new Set([408,500,502,503,504,522,524,599]);class NetworkCore{constructor(Le,Ye){this._emitter=Ye,this._errorBoundary=null,this._timeout=DEFAULT_TIMEOUT_MS,this._netConfig={},this._options={},this._leakyBucket={},this._lastUsedInitUrl=null,Le&&(this._options=Le),this._options.networkConfig&&(this._netConfig=this._options.networkConfig),this._netConfig.networkTimeoutMs&&(this._timeout=this._netConfig.networkTimeoutMs),this._fallbackResolver=new NetworkFallbackResolver_1.NetworkFallbackResolver(this._options),this.setLogEventCompressionMode(this._getLogEventCompressionMode(Le))}setLogEventCompressionMode(Le){this._options.logEventCompressionMode=Le}setErrorBoundary(Le){this._errorBoundary=Le,this._errorBoundary.wrap(this),this._errorBoundary.wrap(this._fallbackResolver),this._fallbackResolver.setErrorBoundary(Le)}isBeaconSupported(){return typeof navigator<"u"&&typeof navigator.sendBeacon=="function"}getLastUsedInitUrlAndReset(){const Le=this._lastUsedInitUrl;return this._lastUsedInitUrl=null,Le}beacon(Le){if(!_ensureValidSdkKey(Le))return!1;const Ye=this._getInternalRequestArgs("POST",Le),tt=this._getPopulatedURL(Ye),nt=navigator;return nt.sendBeacon.bind(nt)(tt,Ye.body)}post(Le){return __awaiter$b(this,void 0,void 0,function*(){const Ye=this._getInternalRequestArgs("POST",Le);return this._tryEncodeBody(Ye),yield this._tryToCompressBody(Ye),this._sendRequest(Ye)})}get(Le){const Ye=this._getInternalRequestArgs("GET",Le);return this._sendRequest(Ye)}_sendRequest(Le){return __awaiter$b(this,void 0,void 0,function*(){var Ye,tt,nt,ft;if(!_ensureValidSdkKey(Le)||this._netConfig.preventAllNetworkTraffic)return null;const{method:ht,body:gt,retries:At,attempt:xt}=Le,yt=Le.urlConfig.endpoint;if(this._isRateLimited(yt))return Log_1$2.Log.warn(`Request to ${yt} was blocked because you are making requests too frequently.`),null;const Ct=xt??1;let Et=!1;const vt=this._getPopulatedURL(Le);let kt=null;const bt=(0,VisibilityObserving_1._isUnloading)();try{const wt={method:ht,body:gt,headers:Object.assign({},Le.headers),priority:Le.priority,keepalive:bt};_tryMarkInitStart(Le,Ct);const It=this._leakyBucket[yt];It&&(It.lastRequestTime=Date.now(),this._leakyBucket[yt]=It);const Rt=(Ye=this._netConfig.networkOverrideFunc)!==null&&Ye!==void 0?Ye:fetch;let Tt;if(kt=yield Promise.race([Rt(vt,wt).finally(()=>clearTimeout(Tt)),new Promise((Pt,Dt)=>{Tt=setTimeout(()=>{Et=!0,Dt(new Error(`Timeout of ${this._timeout}ms expired.`))},this._timeout)})]),!kt.ok){const Pt=yield kt.text().catch(()=>"No Text"),Dt=new Error(`NetworkError: ${vt} ${Pt}`);throw Dt.name="NetworkError",Dt}const Bt=yield kt.text();return _tryMarkInitEnd(Le,kt,Ct,Bt),this._fallbackResolver.tryBumpExpiryTime(Le.sdkKey,Le.urlConfig),{body:Bt,code:kt.status}}catch(wt){const It=_getErrorMessage(wt),Rt=_didTimeout(It??"",Et);if(_tryMarkInitEnd(Le,kt,Ct,"",wt),(yield this._fallbackResolver.tryFetchUpdatedFallbackInfo(Le.sdkKey,Le.urlConfig,It,Rt))&&(Le.fallbackUrl=this._fallbackResolver.getActiveFallbackUrl(Le.sdkKey,Le.urlConfig)),!At||Ct>At||!RETRYABLE_CODES.has((tt=kt==null?void 0:kt.status)!==null&&tt!==void 0?tt:500)){(nt=this._emitter)===null||nt===void 0||nt.call(this,{name:"error",error:wt,tag:StatsigClientEventEmitter_1.ErrorTag.NetworkError,requestArgs:Le});const Bt=`A networking error occurred during ${ht} request to ${vt}.`;return Log_1$2.Log.error(Bt,It,wt),(ft=this._errorBoundary)===null||ft===void 0||ft.attachErrorIfNoneExists(Bt),null}return yield _exponentialBackoff(Ct),this._sendRequest(Object.assign(Object.assign({},Le),{retries:At,attempt:Ct+1}))}})}_getLogEventCompressionMode(Le){let Ye=Le==null?void 0:Le.logEventCompressionMode;return!Ye&&(Le==null?void 0:Le.disableCompression)===!0&&(Ye=StatsigOptionsCommon_1$1.LogEventCompressionMode.Disabled),Ye||(Ye=StatsigOptionsCommon_1$1.LogEventCompressionMode.Enabled),Ye}_isRateLimited(Le){var Ye;const tt=Date.now(),nt=(Ye=this._leakyBucket[Le])!==null&&Ye!==void 0?Ye:{count:0,lastRequestTime:tt},ft=tt-nt.lastRequestTime,ht=Math.floor(ft*LEAK_RATE);return nt.count=Math.max(0,nt.count-ht),nt.count>=RATE_LIMIT_MAX_REQ_COUNT?!0:(nt.count+=1,nt.lastRequestTime=tt,this._leakyBucket[Le]=nt,!1)}_getPopulatedURL(Le){var Ye;const tt=(Ye=Le.fallbackUrl)!==null&&Ye!==void 0?Ye:Le.urlConfig.getUrl();(Le.urlConfig.endpoint===NetworkConfig_1.Endpoint._initialize||Le.urlConfig.endpoint===NetworkConfig_1.Endpoint._download_config_specs)&&(this._lastUsedInitUrl=tt);const nt=Object.assign({[NetworkConfig_1.NetworkParam.SdkKey]:Le.sdkKey,[NetworkConfig_1.NetworkParam.SdkType]:SDKType_1.SDKType._get(Le.sdkKey),[NetworkConfig_1.NetworkParam.SdkVersion]:StatsigMetadata_1.SDK_VERSION,[NetworkConfig_1.NetworkParam.Time]:String(Date.now()),[NetworkConfig_1.NetworkParam.SessionID]:SessionID_1$1.SessionID.get(Le.sdkKey)},Le.params),ft=Object.keys(nt).map(ht=>`${encodeURIComponent(ht)}=${encodeURIComponent(nt[ht])}`).join("&");return`${tt}${ft?`?${ft}`:""}`}_tryEncodeBody(Le){var Ye;const tt=(0,SafeJs_1$1._getWindowSafe)(),nt=Le.body;if(!(!Le.isStatsigEncodable||this._options.disableStatsigEncoding||typeof nt!="string"||(0,__StatsigGlobal_1$1._getStatsigGlobalFlag)("no-encode")!=null||!(tt!=null&&tt.btoa)))try{Le.body=tt.btoa(nt).split("").reverse().join(""),Le.params=Object.assign(Object.assign({},(Ye=Le.params)!==null&&Ye!==void 0?Ye:{}),{[NetworkConfig_1.NetworkParam.StatsigEncoded]:"1"})}catch(ft){Log_1$2.Log.warn(`Request encoding failed for ${Le.urlConfig.getUrl()}`,ft)}}_tryToCompressBody(Le){return __awaiter$b(this,void 0,void 0,function*(){var Ye;const tt=Le.body;if(!(typeof tt!="string"||!_allowCompression(Le,this._options)))try{const nt=new TextEncoder().encode(tt),ft=new CompressionStream("gzip"),ht=ft.writable.getWriter();ht.write(nt).catch(Log_1$2.Log.error),ht.close().catch(Log_1$2.Log.error);const gt=ft.readable.getReader(),At=[];let xt;for(;!(xt=yield gt.read()).done;)At.push(xt.value);const yt=At.reduce((vt,kt)=>vt+kt.length,0),Ct=new Uint8Array(yt);let Et=0;for(const vt of At)Ct.set(vt,Et),Et+=vt.length;Le.body=Ct,Le.params=Object.assign(Object.assign({},(Ye=Le.params)!==null&&Ye!==void 0?Ye:{}),{[NetworkConfig_1.NetworkParam.IsGzipped]:"1"})}catch(nt){Log_1$2.Log.warn(`Request compression failed for ${Le.urlConfig.getUrl()}`,nt)}})}_getInternalRequestArgs(Le,Ye){const tt=this._fallbackResolver.getActiveFallbackUrl(Ye.sdkKey,Ye.urlConfig),nt=Object.assign(Object.assign({},Ye),{method:Le,fallbackUrl:tt});return"data"in Ye&&_populateRequestBody(nt,Ye.data),nt}}NetworkCore$1.NetworkCore=NetworkCore;const _ensureValidSdkKey=Be=>Be.sdkKey?!0:(Log_1$2.Log.warn("Unable to make request without an SDK key"),!1),_populateRequestBody=(Be,Le)=>{const{sdkKey:Ye,fallbackUrl:tt}=Be,nt=StableID_1$1.StableID.get(Ye),ft=SessionID_1$1.SessionID.get(Ye),ht=SDKType_1.SDKType._get(Ye);Be.body=JSON.stringify(Object.assign(Object.assign({},Le),{statsigMetadata:Object.assign(Object.assign({},StatsigMetadata_1.StatsigMetadataProvider.get()),{stableID:nt,sessionID:ft,sdkType:ht,fallbackUrl:tt})}))};function _allowCompression(Be,Le){if(!Be.isCompressable||(0,__StatsigGlobal_1$1._getStatsigGlobalFlag)("no-compress")!=null||typeof CompressionStream>"u"||typeof TextEncoder>"u")return!1;const Ye=Be.urlConfig.customUrl!=null||Be.urlConfig.fallbackUrls!=null,tt=SDKFlags_1.SDKFlags.get(Be.sdkKey,"enable_log_event_compression")===!0;switch(Le.logEventCompressionMode){case StatsigOptionsCommon_1$1.LogEventCompressionMode.Disabled:return!1;case StatsigOptionsCommon_1$1.LogEventCompressionMode.Enabled:return!(Ye&&!tt);case StatsigOptionsCommon_1$1.LogEventCompressionMode.Forced:return!0;default:return!1}}function _getErrorMessage(Be){return typeof Be=="string"?Be:Be instanceof Error?`${Be.name}: ${Be.message}`:"Unknown Error"}function _didTimeout(Be,Le){return Be.includes("Timeout")||Le}function _tryMarkInitStart(Be,Le){Be.urlConfig.endpoint===NetworkConfig_1.Endpoint._initialize&&Diagnostics_1.Diagnostics._markInitNetworkReqStart(Be.sdkKey,{attempt:Le})}function _tryMarkInitEnd(Be,Le,Ye,tt,nt){Be.urlConfig.endpoint===NetworkConfig_1.Endpoint._initialize&&Diagnostics_1.Diagnostics._markInitNetworkReqEnd(Be.sdkKey,Diagnostics_1.Diagnostics._getDiagnosticsData(Le,Ye,tt,nt))}function _exponentialBackoff(Be){return __awaiter$b(this,void 0,void 0,function*(){yield new Promise(Le=>setTimeout(Le,Math.min(BACKOFF_BASE_MS*(Be*Be),BACKOFF_MAX_MS)))})}var OverrideAdapter={};Object.defineProperty(OverrideAdapter,"__esModule",{value:!0});var ParamStoreTypes={};Object.defineProperty(ParamStoreTypes,"__esModule",{value:!0});var SizeOf={};(function(Be){Object.defineProperty(Be,"__esModule",{value:!0}),Be._fastApproxSizeOf=void 0;const Le=2,Ye=1,tt=(nt,ft)=>{let ht=0;const gt=Object.keys(nt);for(let At=0;At<gt.length;At++){const xt=gt[At],yt=nt[xt];if(ht+=xt.length,typeof yt=="object"&&yt!==null?ht+=(0,Be._fastApproxSizeOf)(yt,ft)+Le:ht+=String(yt).length+Ye,ht>=ft)return ht}return ht};Be._fastApproxSizeOf=tt})(SizeOf);var StatsigClientBase$1={},__awaiter$a=commonjsGlobal&&commonjsGlobal.__awaiter||function(Be,Le,Ye,tt){function nt(ft){return ft instanceof Ye?ft:new Ye(function(ht){ht(ft)})}return new(Ye||(Ye=Promise))(function(ft,ht){function gt(yt){try{xt(tt.next(yt))}catch(Ct){ht(Ct)}}function At(yt){try{xt(tt.throw(yt))}catch(Ct){ht(Ct)}}function xt(yt){yt.done?ft(yt.value):nt(yt.value).then(gt,At)}xt((tt=tt.apply(Be,Le||[])).next())})};Object.defineProperty(StatsigClientBase$1,"__esModule",{value:!0}),StatsigClientBase$1.StatsigClientBase=void 0;const __StatsigGlobal_1=$_StatsigGlobal,ErrorBoundary_1=ErrorBoundary,EventLogger_1=EventLogger$1,Log_1$1=Log,MemoKey_1=MemoKey,SafeJs_1=SafeJs,SessionID_1=SessionID,StableID_1=StableID,StatsigOptionsCommon_1=StatsigOptionsCommon,StorageProvider_1=StorageProvider,MAX_MEMO_CACHE_SIZE=3e3;class StatsigClientBase{constructor(Le,Ye,tt,nt){var ft,ht,gt,At;this.loadingStatus="Uninitialized",this._initializePromise=null,this._listeners={};const xt=this.$emt.bind(this);(nt==null?void 0:nt.logLevel)!=null&&(Log_1$1.Log.level=nt.logLevel),nt!=null&&nt.disableStorage&&StorageProvider_1.Storage._setDisabled(!0),nt!=null&&nt.initialSessionID&&SessionID_1.StatsigSession.overrideInitialSessionID(nt.initialSessionID,Le),nt!=null&&nt.storageProvider&&StorageProvider_1.Storage._setProvider(nt.storageProvider),nt!=null&&nt.enableCookies&&StableID_1.StableID._setCookiesEnabled(Le,nt.enableCookies),nt!=null&&nt.disableStableID&&StableID_1.StableID._setDisabled(Le,!0),this._sdkKey=Le,this._options=nt??{},this._memoCache={},this.overrideAdapter=(ft=nt==null?void 0:nt.overrideAdapter)!==null&&ft!==void 0?ft:null,this._logger=new EventLogger_1.EventLogger(Le,xt,tt,nt),this._errorBoundary=new ErrorBoundary_1.ErrorBoundary(Le,nt,xt),this._errorBoundary.wrap(this),this._errorBoundary.wrap(Ye),this._errorBoundary.wrap(this._logger),tt.setErrorBoundary(this._errorBoundary),this.dataAdapter=Ye,this.dataAdapter.attach(Le,nt,tt),this.storageProvider=StorageProvider_1.Storage,(At=(gt=(ht=this.overrideAdapter)===null||ht===void 0?void 0:ht.loadFromStorage)===null||gt===void 0?void 0:gt.call(ht))===null||At===void 0||At.catch(yt=>this._errorBoundary.logError("OA::loadFromStorage",yt)),this._primeReadyRipcord(),_assignGlobalInstance(Le,this)}updateRuntimeOptions(Le){Le.loggingEnabled?(this._options.loggingEnabled=Le.loggingEnabled,this._logger.setLoggingEnabled(Le.loggingEnabled)):Le.disableLogging!=null&&(this._options.disableLogging=Le.disableLogging,this._logger.setLoggingEnabled(Le.disableLogging?"disabled":"browser-only")),Le.disableStorage!=null&&(this._options.disableStorage=Le.disableStorage,StorageProvider_1.Storage._setDisabled(Le.disableStorage)),Le.enableCookies!=null&&(this._options.enableCookies=Le.enableCookies,StableID_1.StableID._setCookiesEnabled(this._sdkKey,Le.enableCookies)),Le.logEventCompressionMode?this._logger.setLogEventCompressionMode(Le.logEventCompressionMode):Le.disableCompression&&this._logger.setLogEventCompressionMode(StatsigOptionsCommon_1.LogEventCompressionMode.Disabled)}flush(){return this._logger.flush()}shutdown(){return __awaiter$a(this,void 0,void 0,function*(){this.$emt({name:"pre_shutdown"}),this._setStatus("Uninitialized",null),this._initializePromise=null,yield this._logger.stop()})}on(Le,Ye){this._listeners[Le]||(this._listeners[Le]=[]),this._listeners[Le].push(Ye)}off(Le,Ye){if(this._listeners[Le]){const tt=this._listeners[Le].indexOf(Ye);tt!==-1&&this._listeners[Le].splice(tt,1)}}$on(Le,Ye){Ye.__isInternal=!0,this.on(Le,Ye)}$emt(Le){var Ye;const tt=nt=>{try{nt(Le)}catch(ft){if(nt.__isInternal===!0){this._errorBoundary.logError(`__emit:${Le.name}`,ft);return}Log_1$1.Log.error("An error occurred in a StatsigClientEvent listener. This is not an issue with Statsig.",Le)}};this._listeners[Le.name]&&this._listeners[Le.name].forEach(nt=>tt(nt)),(Ye=this._listeners["*"])===null||Ye===void 0||Ye.forEach(tt)}_setStatus(Le,Ye){this.loadingStatus=Le,this._memoCache={},this.$emt({name:"values_updated",status:Le,values:Ye})}_enqueueExposure(Le,Ye,tt){if((tt==null?void 0:tt.disableExposureLog)===!0){this._logger.incrementNonExposureCount(Le);return}this._logger.enqueue(Ye)}_memoize(Le,Ye){return(tt,nt)=>{if(this._options.disableEvaluationMemoization)return Ye(tt,nt);const ft=(0,MemoKey_1.createMemoKey)(Le,tt,nt);return ft?(ft in this._memoCache||(Object.keys(this._memoCache).length>=MAX_MEMO_CACHE_SIZE&&(this._memoCache={}),this._memoCache[ft]=Ye(tt,nt)),this._memoCache[ft]):Ye(tt,nt)}}}StatsigClientBase$1.StatsigClientBase=StatsigClientBase;function _assignGlobalInstance(Be,Le){var Ye;if((0,SafeJs_1._isServerEnv)())return;const tt=(0,__StatsigGlobal_1._getStatsigGlobal)(),nt=(Ye=tt.instances)!==null&&Ye!==void 0?Ye:{},ft=Le;nt[Be]!=null&&Log_1$1.Log.warn("Creating multiple Statsig clients with the same SDK key can lead to unexpected behavior. Multi-instance support requires different SDK keys."),nt[Be]=ft,tt.firstInstance||(tt.firstInstance=ft),tt.instances=nt,__STATSIG__=tt}var StatsigDataAdapter={};Object.defineProperty(StatsigDataAdapter,"__esModule",{value:!0}),StatsigDataAdapter.DataAdapterCachePrefix=void 0,StatsigDataAdapter.DataAdapterCachePrefix="statsig.cached";var StatsigPlugin={};Object.defineProperty(StatsigPlugin,"__esModule",{value:!0});var StatsigTypeFactories={};Object.defineProperty(StatsigTypeFactories,"__esModule",{value:!0}),StatsigTypeFactories._makeTypedGet=StatsigTypeFactories._mergeOverride=StatsigTypeFactories._makeLayer=StatsigTypeFactories._makeExperiment=StatsigTypeFactories._makeDynamicConfig=StatsigTypeFactories._makeFeatureGate=void 0;const Log_1=Log,TypingUtils_1=TypingUtils;function _makeEvaluation(Be,Le,Ye,tt){var nt;return{name:Be,details:Le,ruleID:(nt=Ye==null?void 0:Ye.rule_id)!==null&&nt!==void 0?nt:"",__evaluation:Ye,value:tt}}function _makeFeatureGate(Be,Le,Ye){var tt;return Object.assign(Object.assign({},_makeEvaluation(Be,Le,Ye,(Ye==null?void 0:Ye.value)===!0)),{idType:(tt=Ye==null?void 0:Ye.id_type)!==null&&tt!==void 0?tt:null})}StatsigTypeFactories._makeFeatureGate=_makeFeatureGate;function _makeDynamicConfig(Be,Le,Ye){var tt,nt;const ft=(tt=Ye==null?void 0:Ye.value)!==null&&tt!==void 0?tt:{};return Object.assign(Object.assign({},_makeEvaluation(Be,Le,Ye,ft)),{idType:(nt=Ye==null?void 0:Ye.id_type)!==null&&nt!==void 0?nt:null,get:_makeTypedGet(Be,Ye==null?void 0:Ye.value)})}StatsigTypeFactories._makeDynamicConfig=_makeDynamicConfig;function _makeExperiment(Be,Le,Ye){var tt;const nt=_makeDynamicConfig(Be,Le,Ye);return Object.assign(Object.assign({},nt),{groupName:(tt=Ye==null?void 0:Ye.group_name)!==null&&tt!==void 0?tt:null})}StatsigTypeFactories._makeExperiment=_makeExperiment;function _makeLayer(Be,Le,Ye,tt){var nt,ft;return Object.assign(Object.assign({},_makeEvaluation(Be,Le,Ye,void 0)),{get:_makeTypedGet(Be,Ye==null?void 0:Ye.value,tt),groupName:(nt=Ye==null?void 0:Ye.group_name)!==null&&nt!==void 0?nt:null,__value:(ft=Ye==null?void 0:Ye.value)!==null&&ft!==void 0?ft:{}})}StatsigTypeFactories._makeLayer=_makeLayer;function _mergeOverride(Be,Le,Ye,tt){return Object.assign(Object.assign(Object.assign({},Be),Le),{get:_makeTypedGet(Be.name,Ye,tt)})}StatsigTypeFactories._mergeOverride=_mergeOverride;function _makeTypedGet(Be,Le,Ye){return(tt,nt)=>{var ft;const ht=(ft=Le==null?void 0:Le[tt])!==null&&ft!==void 0?ft:null;return ht==null?nt??null:nt!=null&&!(0,TypingUtils_1._isTypeMatch)(ht,nt)?(Log_1.Log.warn(`Parameter type mismatch. '${Be}.${tt}' was found to be type '${typeof ht}' but fallback/return type is '${typeof nt}'. See https://docs.statsig.com/client/javascript-sdk/#typed-getters`),nt??null):(Ye==null||Ye(tt),ht)}}StatsigTypeFactories._makeTypedGet=_makeTypedGet;var StatsigTypes={};Object.defineProperty(StatsigTypes,"__esModule",{value:!0});var StatsigUpdateDetails={};Object.defineProperty(StatsigUpdateDetails,"__esModule",{value:!0}),StatsigUpdateDetails.UPDATE_DETAIL_ERROR_MESSAGES=StatsigUpdateDetails.createUpdateDetails=void 0;const createUpdateDetails=(Be,Le,Ye,tt,nt,ft)=>({duration:Ye,source:Le,success:Be,error:tt,sourceUrl:nt,warnings:ft});StatsigUpdateDetails.createUpdateDetails=createUpdateDetails,StatsigUpdateDetails.UPDATE_DETAIL_ERROR_MESSAGES={NO_NETWORK_DATA:"No data was returned from the network. This may be due to a network timeout if a timeout value was specified in the options or ad blocker error."},function(Be){var Le=commonjsGlobal&&commonjsGlobal.__createBinding||(Object.create?function(xt,yt,Ct,Et){Et===void 0&&(Et=Ct);var vt=Object.getOwnPropertyDescriptor(yt,Ct);(!vt||("get"in vt?!yt.__esModule:vt.writable||vt.configurable))&&(vt={enumerable:!0,get:function(){return yt[Ct]}}),Object.defineProperty(xt,Et,vt)}:function(xt,yt,Ct,Et){Et===void 0&&(Et=Ct),xt[Et]=yt[Ct]}),Ye=commonjsGlobal&&commonjsGlobal.__exportStar||function(xt,yt){for(var Ct in xt)Ct!=="default"&&!Object.prototype.hasOwnProperty.call(yt,Ct)&&Le(yt,xt,Ct)};Object.defineProperty(Be,"__esModule",{value:!0}),Be.Storage=Be.Log=Be.EventLogger=Be.Diagnostics=void 0;const tt=$_StatsigGlobal,nt=Diagnostics;Object.defineProperty(Be,"Diagnostics",{enumerable:!0,get:function(){return nt.Diagnostics}});const ft=EventLogger$1;Object.defineProperty(Be,"EventLogger",{enumerable:!0,get:function(){return ft.EventLogger}});const ht=Log;Object.defineProperty(Be,"Log",{enumerable:!0,get:function(){return ht.Log}});const gt=StatsigMetadata,At=StorageProvider;Object.defineProperty(Be,"Storage",{enumerable:!0,get:function(){return At.Storage}}),Ye($_StatsigGlobal,Be),Ye(CacheKey,Be),Ye(ClientInterfaces,Be),Ye(DataAdapterCore$1,Be),Ye(Diagnostics,Be),Ye(DownloadConfigSpecsResponse,Be),Ye(ErrorBoundary,Be),Ye(EvaluationOptions,Be),Ye(EvaluationTypes,Be),Ye(Hashing,Be),Ye(InitializeResponse,Be),Ye(Log,Be),Ye(MemoKey,Be),Ye(NetworkConfig,Be),Ye(NetworkCore$1,Be),Ye(OverrideAdapter,Be),Ye(ParamStoreTypes,Be),Ye(SafeJs,Be),Ye(SDKType,Be),Ye(SessionID,Be),Ye(SizeOf,Be),Ye(StableID,Be),Ye(StatsigClientBase$1,Be),Ye(StatsigClientEventEmitter,Be),Ye(StatsigDataAdapter,Be),Ye(StatsigEvent,Be),Ye(StatsigMetadata,Be),Ye(StatsigOptionsCommon,Be),Ye(StatsigPlugin,Be),Ye(StatsigTypeFactories,Be),Ye(StatsigTypes,Be),Ye(StatsigUser,Be),Ye(StorageProvider,Be),Ye(TypedJsonParse,Be),Ye(TypingUtils,Be),Ye(UrlConfiguration$1,Be),Ye(UUID,Be),Ye(VisibilityObserving,Be),Ye(StatsigUpdateDetails,Be),Ye(SDKFlags,Be),Object.assign((0,tt._getStatsigGlobal)(),{Log:ht.Log,SDK_VERSION:gt.SDK_VERSION})}(src$1);var StatsigClient$1={},EvaluationStore$1={},V1InitializeContainer$1={};Object.defineProperty(V1InitializeContainer$1,"__esModule",{value:!0}),V1InitializeContainer$1.V1InitializeContainer=void 0;const client_core_1$7=src$1;class V1InitializeContainer{constructor(Le){this._values=Le}getGate(Le){return this._getResultFromLookup(this._values.feature_gates,Le)}getConfig(Le){return this._getResultFromLookup(this._values.dynamic_configs,Le)}getLayer(Le){return this._getResultFromLookup(this._values.layer_configs,Le)}getParamStore(Le){return this._getResultFromLookup(this._values.param_stores,Le)}getConfigList(){return Object.keys(this._values.dynamic_configs)}getExposureMapping(){return this._values.exposures}_getResultFromLookup(Le,Ye){var tt,nt;return Le&&(nt=(tt=Le[Ye])!==null&&tt!==void 0?tt:Le[(0,client_core_1$7._DJB2)(Ye)])!==null&&nt!==void 0?nt:null}}V1InitializeContainer$1.V1InitializeContainer=V1InitializeContainer;var V2InitializeContainer$1={};Object.defineProperty(V2InitializeContainer$1,"__esModule",{value:!0}),V2InitializeContainer$1.V2InitializeContainer=void 0;const client_core_1$6=src$1;class V2InitializeContainer{constructor(Le){this._values=Le}getGate(Le){var Ye,tt,nt;const ft=this._getResultFromLookup(this._values.feature_gates,Le);return ft?{name:Le,value:ft.v===!0,rule_id:(Ye=ft.r)!==null&&Ye!==void 0?Ye:"default",secondary_exposures:(tt=ft.s)!==null&&tt!==void 0?tt:[],id_type:(nt=ft.i)!==null&&nt!==void 0?nt:""}:null}getConfig(Le){var Ye,tt,nt,ft;const ht=this._getResultFromLookup(this._values.dynamic_configs,Le);return ht?{name:Le,value:(Ye=this._values.values[ht.v])!==null&&Ye!==void 0?Ye:{},rule_id:ht.r,secondary_exposures:(tt=ht.s)!==null&&tt!==void 0?tt:[],id_type:(nt=ht.i)!==null&&nt!==void 0?nt:"",is_user_in_experiment:ht.ue===!0,passed:ht.p===!0,group_name:(ft=ht.gn)!==null&&ft!==void 0?ft:void 0,is_experiment_active:ht.ea===!0,group:ht.r,is_device_based:ht.i==="stableID"}:null}getLayer(Le){var Ye,tt,nt,ft,ht,gt;const At=this._getResultFromLookup(this._values.layer_configs,Le);return At?{name:Le,value:(Ye=this._values.values[At.v])!==null&&Ye!==void 0?Ye:{},rule_id:At.r,secondary_exposures:(tt=At.s)!==null&&tt!==void 0?tt:[],is_user_in_experiment:At.ue===!0,group_name:(nt=At.gn)!==null&&nt!==void 0?nt:void 0,is_experiment_active:At.ea===!0,group:At.r,is_device_based:At.i==="stableID",allocated_experiment_name:(ft=At.ae)!==null&&ft!==void 0?ft:"",explicit_parameters:(ht=At.ep)!==null&&ht!==void 0?ht:[],undelegated_secondary_exposures:(gt=At.us)!==null&&gt!==void 0?gt:[],parameter_rule_ids:At.pr}:null}getParamStore(Le){return this._getResultFromLookup(this._values.param_stores,Le)}getConfigList(){return Object.keys(this._values.dynamic_configs)}getExposureMapping(){return this._values.exposures}_getResultFromLookup(Le,Ye){var tt,nt;return Le&&(nt=(tt=Le[Ye])!==null&&tt!==void 0?tt:Le[(0,client_core_1$6._DJB2)(Ye)])!==null&&nt!==void 0?nt:null}}V2InitializeContainer$1.V2InitializeContainer=V2InitializeContainer,Object.defineProperty(EvaluationStore$1,"__esModule",{value:!0});const client_core_1$5=src$1,V1InitializeContainer_1=V1InitializeContainer$1,V2InitializeContainer_1=V2InitializeContainer$1;class EvaluationStore{constructor(Le){this._sdkKey=Le,this._rawValues=null,this._values=null,this._source="Uninitialized",this._lcut=0,this._receivedAt=0,this._bootstrapMetadata=null,this._warnings=new Set}reset(){this._values=null,this._rawValues=null,this._source="Loading",this._lcut=0,this._receivedAt=0,this._bootstrapMetadata=null,this._warnings.clear()}finalize(){this._values||(this._source="NoValues")}getValues(){return this._rawValues?(0,client_core_1$5._typedJsonParse)(this._rawValues,"has_updates","EvaluationStoreValues"):null}setValues(Le,Ye){var tt,nt;if(!Le)return!1;const ft=(0,client_core_1$5._typedJsonParse)(Le.data,"has_updates","EvaluationResponse");return ft==null?!1:(this._source=Le.source,(ft==null?void 0:ft.has_updates)!==!0||((tt=ft.time)!==null&&tt!==void 0?tt:0)<this._lcut||(this._rawValues=Le.data,this._lcut=ft.time,this._receivedAt=Le.receivedAt,ft.response_format==="init-v2"?this._values=new V2InitializeContainer_1.V2InitializeContainer(ft):this._values=new V1InitializeContainer_1.V1InitializeContainer(ft),this._bootstrapMetadata=this._extractBootstrapMetadata(Le.source,ft),Le.source&&ft.user&&this._setWarningState(Ye,ft),client_core_1$5.SDKFlags.setFlags(this._sdkKey,(nt=ft.sdk_flags)!==null&&nt!==void 0?nt:{})),!0)}getWarnings(){if(this._warnings.size!==0)return Array.from(this._warnings)}getGate(Le){const Ye=this._values?this._values.getGate(Le):null;return this._getDetailedStoreResult(Ye)}getConfig(Le){const Ye=this._values?this._values.getConfig(Le):null;return this._getDetailedStoreResult(Ye)}getConfigList(){return this._values?this._values.getConfigList():[]}getLayer(Le){const Ye=this._values?this._values.getLayer(Le):null;return this._getDetailedStoreResult(Ye)}getParamStore(Le){const Ye=this._values?this._values.getParamStore(Le):null;return this._getDetailedStoreResult(Ye)}getSource(){return this._source}getExposureMapping(){var Le;return(Le=this._values)===null||Le===void 0?void 0:Le.getExposureMapping()}_extractBootstrapMetadata(Le,Ye){if(Le!=="Bootstrap")return null;const tt={};return Ye.user&&(tt.user=Ye.user),Ye.sdkInfo&&(tt.generatorSDKInfo=Ye.sdkInfo),tt.lcut=Ye.time,tt}_getDetailedStoreResult(Le){return{result:Le,details:this._getDetails(Le==null)}}_setWarningState(Le,Ye){var tt,nt;const ft=client_core_1$5.StableID.get(this._sdkKey);if(((tt=Le.customIDs)===null||tt===void 0?void 0:tt.stableID)!==ft&&(!((nt=Le.customIDs)===null||nt===void 0)&&nt.stableID||ft)){this._warnings.add("StableIDMismatch");return}if("user"in Ye){const ht=Ye.user,gt=Object.assign(Object.assign({},Le),{analyticsOnlyMetadata:void 0,privateAttributes:void 0});(0,client_core_1$5._getFullUserHash)(gt)!==(0,client_core_1$5._getFullUserHash)(ht)&&this._warnings.add("PartialUserMatch")}}getCurrentSourceDetails(){if(this._source==="Uninitialized"||this._source==="NoValues")return{reason:this._source};const Le={reason:this._source,lcut:this._lcut,receivedAt:this._receivedAt};return this._warnings.size>0&&(Le.warnings=Array.from(this._warnings)),Le}_getDetails(Le){var Ye,tt;const nt=this.getCurrentSourceDetails();let ft=nt.reason;const ht=(Ye=nt.warnings)!==null&&Ye!==void 0?Ye:[];this._source==="Bootstrap"&&ht.length>0&&(ft=ft+ht[0]),ft!=="Uninitialized"&&ft!=="NoValues"&&(ft=`${ft}:${Le?"Unrecognized":"Recognized"}`);const gt=this._source==="Bootstrap"&&(tt=this._bootstrapMetadata)!==null&&tt!==void 0?tt:void 0;return gt&&(nt.bootstrapMetadata=gt),Object.assign(Object.assign({},nt),{reason:ft})}}EvaluationStore$1.default=EvaluationStore;var Network={},EvaluationResponseDeltas={};Object.defineProperty(EvaluationResponseDeltas,"__esModule",{value:!0}),EvaluationResponseDeltas._resolveDeltasResponse=void 0;const client_core_1$4=src$1,MAX_DELTAS_SORT_DEPTH=2;function _resolveDeltasResponse(Be,Le){const Ye=(0,client_core_1$4._typedJsonParse)(Le,"checksum","DeltasEvaluationResponse");if(!Ye)return{hadBadDeltaChecksum:!0};const tt=_mergeDeltasIntoCache(Be,Ye),nt=_handleDeletedEntries(tt),ft=(0,client_core_1$4._DJB2Object)({feature_gates:nt.feature_gates,dynamic_configs:nt.dynamic_configs,layer_configs:nt.layer_configs},MAX_DELTAS_SORT_DEPTH);return ft===Ye.checksumV2?JSON.stringify(nt):{hadBadDeltaChecksum:!0,badChecksum:ft,badMergedConfigs:nt,badFullResponse:Ye.deltas_full_response}}EvaluationResponseDeltas._resolveDeltasResponse=_resolveDeltasResponse;function _mergeDeltasIntoCache(Be,Le){return Object.assign(Object.assign(Object.assign({},Be),Le),{feature_gates:Object.assign(Object.assign({},Be.feature_gates),Le.feature_gates),layer_configs:Object.assign(Object.assign({},Be.layer_configs),Le.layer_configs),dynamic_configs:Object.assign(Object.assign({},Be.dynamic_configs),Le.dynamic_configs)})}function _handleDeletedEntries(Be){const Le=Be;return _deleteEntriesInRecord(Be.deleted_gates,Le.feature_gates),delete Le.deleted_gates,_deleteEntriesInRecord(Be.deleted_configs,Le.dynamic_configs),delete Le.deleted_configs,_deleteEntriesInRecord(Be.deleted_layers,Le.layer_configs),delete Le.deleted_layers,Le}function _deleteEntriesInRecord(Be,Le){Be==null||Be.forEach(Ye=>{delete Le[Ye]})}var __awaiter$9=commonjsGlobal&&commonjsGlobal.__awaiter||function(Be,Le,Ye,tt){function nt(ft){return ft instanceof Ye?ft:new Ye(function(ht){ht(ft)})}return new(Ye||(Ye=Promise))(function(ft,ht){function gt(yt){try{xt(tt.next(yt))}catch(Ct){ht(Ct)}}function At(yt){try{xt(tt.throw(yt))}catch(Ct){ht(Ct)}}function xt(yt){yt.done?ft(yt.value):nt(yt.value).then(gt,At)}xt((tt=tt.apply(Be,Le||[])).next())})};Object.defineProperty(Network,"__esModule",{value:!0});const client_core_1$3=src$1,EvaluationResponseDeltas_1=EvaluationResponseDeltas;class StatsigNetwork extends client_core_1$3.NetworkCore{constructor(Le,Ye){super(Le,Ye);const tt=Le==null?void 0:Le.networkConfig;this._option=Le,this._initializeUrlConfig=new client_core_1$3.UrlConfiguration(client_core_1$3.Endpoint._initialize,tt==null?void 0:tt.initializeUrl,tt==null?void 0:tt.api,tt==null?void 0:tt.initializeFallbackUrls)}fetchEvaluations(Le,Ye,tt,nt,ft){return __awaiter$9(this,void 0,void 0,function*(){var ht,gt,At,xt,yt,Ct;const Et=Ye?(0,client_core_1$3._typedJsonParse)(Ye,"has_updates","InitializeResponse"):null;let vt={user:nt,hash:(At=(gt=(ht=this._option)===null||ht===void 0?void 0:ht.networkConfig)===null||gt===void 0?void 0:gt.initializeHashAlgorithm)!==null&&At!==void 0?At:"djb2",deltasResponseRequested:!1,full_checksum:null};if(Et!=null&&Et.has_updates){const kt=(Et==null?void 0:Et.hash_used)!==((Ct=(yt=(xt=this._option)===null||xt===void 0?void 0:xt.networkConfig)===null||yt===void 0?void 0:yt.initializeHashAlgorithm)!==null&&Ct!==void 0?Ct:"djb2");vt=Object.assign(Object.assign({},vt),{sinceTime:ft&&!kt?Et.time:0,previousDerivedFields:"derived_fields"in Et&&ft?Et.derived_fields:{},deltasResponseRequested:!0,full_checksum:Et.full_checksum,partialUserMatchSinceTime:kt?0:Et.time})}return this._fetchEvaluations(Le,Et,vt,tt)})}_fetchEvaluations(Le,Ye,tt,nt){return __awaiter$9(this,void 0,void 0,function*(){var ft,ht;const gt=yield this.post({sdkKey:Le,urlConfig:this._initializeUrlConfig,data:tt,retries:2,isStatsigEncodable:!0,priority:nt});if((gt==null?void 0:gt.code)===204)return'{"has_updates": false}';if((gt==null?void 0:gt.code)!==200)return(ft=gt==null?void 0:gt.body)!==null&&ft!==void 0?ft:null;if((Ye==null?void 0:Ye.has_updates)!==!0||((ht=gt.body)===null||ht===void 0?void 0:ht.includes('"is_delta":true'))!==!0||tt.deltasResponseRequested!==!0)return gt.body;const At=(0,EvaluationResponseDeltas_1._resolveDeltasResponse)(Ye,gt.body);return typeof At=="string"?At:this._fetchEvaluations(Le,Ye,Object.assign(Object.assign(Object.assign({},tt),At),{deltasResponseRequested:!1}),nt)})}}Network.default=StatsigNetwork;var ParamStoreGetterFactory={};Object.defineProperty(ParamStoreGetterFactory,"__esModule",{value:!0}),ParamStoreGetterFactory._makeParamStoreGetter=void 0;const client_core_1$2=src$1,NO_EXPOSURE_OPT={disableExposureLog:!0};function _shouldLogExposure(Be){return Be==null||Be.disableExposureLog===!1}function _shouldReturnFallback(Be,Le){return Le!=null&&!(0,client_core_1$2._isTypeMatch)(Be,Le)}function _getMappedStaticValue(Be,Le){return Be.value}function _getMappedGateValue(Be,Le,Ye){return Be.getFeatureGate(Le.gate_name,_shouldLogExposure(Ye)?void 0:NO_EXPOSURE_OPT).value?Le.pass_value:Le.fail_value}function _getMappedDynamicConfigValue(Be,Le,Ye,tt){const ft=Be.getDynamicConfig(Le.config_name,_shouldLogExposure(tt)?void 0:NO_EXPOSURE_OPT).get(Le.param_name);return _shouldReturnFallback(ft,Ye)?Ye:ft}function _getMappedExperimentValue(Be,Le,Ye,tt){const ft=Be.getExperiment(Le.experiment_name,_shouldLogExposure(tt)?void 0:NO_EXPOSURE_OPT).get(Le.param_name);return _shouldReturnFallback(ft,Ye)?Ye:ft}function _getMappedLayerValue(Be,Le,Ye,tt){const ft=Be.getLayer(Le.layer_name,_shouldLogExposure(tt)?void 0:NO_EXPOSURE_OPT).get(Le.param_name);return _shouldReturnFallback(ft,Ye)?Ye:ft}function _makeParamStoreGetter(Be,Le,Ye){return(tt,nt)=>{if(Le==null)return nt;const ft=Le[tt];if(ft==null||nt!=null&&(0,client_core_1$2._typeOf)(nt)!==ft.param_type)return nt;switch(ft.ref_type){case"static":return _getMappedStaticValue(ft);case"gate":return _getMappedGateValue(Be,ft,Ye);case"dynamic_config":return _getMappedDynamicConfigValue(Be,ft,nt,Ye);case"experiment":return _getMappedExperimentValue(Be,ft,nt,Ye);case"layer":return _getMappedLayerValue(Be,ft,nt,Ye);default:return nt}}}ParamStoreGetterFactory._makeParamStoreGetter=_makeParamStoreGetter;var StatsigEvaluationsDataAdapter$1={},__awaiter$8=commonjsGlobal&&commonjsGlobal.__awaiter||function(Be,Le,Ye,tt){function nt(ft){return ft instanceof Ye?ft:new Ye(function(ht){ht(ft)})}return new(Ye||(Ye=Promise))(function(ft,ht){function gt(yt){try{xt(tt.next(yt))}catch(Ct){ht(Ct)}}function At(yt){try{xt(tt.throw(yt))}catch(Ct){ht(Ct)}}function xt(yt){yt.done?ft(yt.value):nt(yt.value).then(gt,At)}xt((tt=tt.apply(Be,Le||[])).next())})};Object.defineProperty(StatsigEvaluationsDataAdapter$1,"__esModule",{value:!0}),StatsigEvaluationsDataAdapter$1.StatsigEvaluationsDataAdapter=void 0;const client_core_1$1=src$1,Network_1$1=Network;class StatsigEvaluationsDataAdapter extends client_core_1$1.DataAdapterCore{constructor(){super("EvaluationsDataAdapter","evaluations"),this._network=null,this._options=null}attach(Le,Ye,tt){super.attach(Le,Ye,tt),tt!==null&&tt instanceof Network_1$1.default?this._network=tt:this._network=new Network_1$1.default(Ye??{})}getDataAsync(Le,Ye,tt){return this._getDataAsyncImpl(Le,(0,client_core_1$1._normalizeUser)(Ye,this._options),tt)}prefetchData(Le,Ye){return this._prefetchDataImpl(Le,Ye)}setData(Le){const Ye=(0,client_core_1$1._typedJsonParse)(Le,"has_updates","data");Ye&&"user"in Ye?super.setData(Le,Ye.user):client_core_1$1.Log.error("StatsigUser not found. You may be using an older server SDK version. Please upgrade your SDK or use setDataLegacy.")}setDataLegacy(Le,Ye){super.setData(Le,Ye)}_fetchFromNetwork(Le,Ye,tt,nt){return __awaiter$8(this,void 0,void 0,function*(){var ft;const ht=yield(ft=this._network)===null||ft===void 0?void 0:ft.fetchEvaluations(this._getSdkKey(),Le,tt==null?void 0:tt.priority,Ye,nt);return ht??null})}_getCacheKey(Le){var Ye;const tt=(0,client_core_1$1._getStorageKey)(this._getSdkKey(),Le,(Ye=this._options)===null||Ye===void 0?void 0:Ye.customUserCacheKeyFunc);return`${client_core_1$1.DataAdapterCachePrefix}.${this._cacheSuffix}.${tt}`}_isCachedResultValidFor204(Le,Ye){return Le.fullUserHash!=null&&Le.fullUserHash===(0,client_core_1$1._getFullUserHash)(Ye)}}StatsigEvaluationsDataAdapter$1.StatsigEvaluationsDataAdapter=StatsigEvaluationsDataAdapter;var __awaiter$7=commonjsGlobal&&commonjsGlobal.__awaiter||function(Be,Le,Ye,tt){function nt(ft){return ft instanceof Ye?ft:new Ye(function(ht){ht(ft)})}return new(Ye||(Ye=Promise))(function(ft,ht){function gt(yt){try{xt(tt.next(yt))}catch(Ct){ht(Ct)}}function At(yt){try{xt(tt.throw(yt))}catch(Ct){ht(Ct)}}function xt(yt){yt.done?ft(yt.value):nt(yt.value).then(gt,At)}xt((tt=tt.apply(Be,Le||[])).next())})};Object.defineProperty(StatsigClient$1,"__esModule",{value:!0});const client_core_1=src$1,EvaluationStore_1=EvaluationStore$1,Network_1=Network,ParamStoreGetterFactory_1=ParamStoreGetterFactory,StatsigEvaluationsDataAdapter_1=StatsigEvaluationsDataAdapter$1;class StatsigClient extends client_core_1.StatsigClientBase{static instance(Le){const Ye=(0,client_core_1._getStatsigGlobal)().instance(Le);return Ye instanceof StatsigClient?Ye:(client_core_1.Log.warn((0,client_core_1._isServerEnv)()?"StatsigClient.instance is not supported in server environments":"Unable to find StatsigClient instance"),new StatsigClient(Le??"",{}))}constructor(Le,Ye,tt=null){var nt,ft;client_core_1.SDKType._setClientType(Le,"javascript-client");const ht=new Network_1.default(tt,At=>{this.$emt(At)});super(Le,(nt=tt==null?void 0:tt.dataAdapter)!==null&&nt!==void 0?nt:new StatsigEvaluationsDataAdapter_1.StatsigEvaluationsDataAdapter,ht,tt),this._possibleFirstTouchMetadata={},this.getFeatureGate=this._memoize(client_core_1.MemoPrefix._gate,this._getFeatureGateImpl.bind(this)),this.getDynamicConfig=this._memoize(client_core_1.MemoPrefix._dynamicConfig,this._getDynamicConfigImpl.bind(this)),this.getExperiment=this._memoize(client_core_1.MemoPrefix._experiment,this._getExperimentImpl.bind(this)),this.getConfigList=this._memoize(client_core_1.MemoPrefix._configList,this._getConfigListImpl.bind(this)),this.getLayer=this._memoize(client_core_1.MemoPrefix._layer,this._getLayerImpl.bind(this)),this.getParameterStore=this._memoize(client_core_1.MemoPrefix._paramStore,this._getParameterStoreImpl.bind(this)),this._store=new EvaluationStore_1.default(Le),this._network=ht,this._user=this._configureUser(Ye,tt),this._sdkInstanceID=(0,client_core_1.getUUID)();const gt=(ft=tt==null?void 0:tt.plugins)!==null&&ft!==void 0?ft:[];for(const At of gt)At.bind(this)}initializeSync(Le){var Ye;return this.loadingStatus!=="Uninitialized"?(0,client_core_1.createUpdateDetails)(!0,this._store.getSource(),-1,null,null,["MultipleInitializations",...(Ye=this._store.getWarnings())!==null&&Ye!==void 0?Ye:[]]):(this._logger.start(),this.updateUserSync(this._user,Le))}initializeAsync(Le){return __awaiter$7(this,void 0,void 0,function*(){return this._initializePromise?this._initializePromise:(this._initializePromise=this._initializeAsyncImpl(Le),this._initializePromise)})}updateUserSync(Le,Ye){const tt=performance.now();try{return this._updateUserSyncImpl(Le,Ye,tt)}catch(nt){const ft=nt instanceof Error?nt:new Error(String(nt));return this._createErrorUpdateDetails(ft,tt)}}_updateUserSyncImpl(Le,Ye,tt){var nt;const ft=[...(nt=this._store.getWarnings())!==null&&nt!==void 0?nt:[]];this._resetForUser(Le);const ht=this.dataAdapter.getDataSync(this._user);ht==null&&ft.push("NoCachedValues"),this._store.setValues(ht,this._user),this._finalizeUpdate(ht);const gt=Ye==null?void 0:Ye.disableBackgroundCacheRefresh;return gt===!0||gt==null&&(ht==null?void 0:ht.source)==="Bootstrap"?(0,client_core_1.createUpdateDetails)(!0,this._store.getSource(),performance.now()-tt,this._errorBoundary.getLastSeenErrorAndReset(),this._network.getLastUsedInitUrlAndReset(),ft):(this._runPostUpdate(ht??null,this._user),(0,client_core_1.createUpdateDetails)(!0,this._store.getSource(),performance.now()-tt,this._errorBoundary.getLastSeenErrorAndReset(),this._network.getLastUsedInitUrlAndReset(),ft))}updateUserAsync(Le,Ye){return __awaiter$7(this,void 0,void 0,function*(){const tt=performance.now();try{return yield this._updateUserAsyncImpl(Le,Ye)}catch(nt){const ft=nt instanceof Error?nt:new Error(String(nt));return this._createErrorUpdateDetails(ft,tt)}})}_updateUserAsyncImpl(Le,Ye){return __awaiter$7(this,void 0,void 0,function*(){this._resetForUser(Le);const tt=this._user;client_core_1.Diagnostics._markInitOverallStart(this._sdkKey);let nt=this.dataAdapter.getDataSync(tt);if(this._store.setValues(nt,this._user),this._setStatus("Loading",nt),nt=yield this.dataAdapter.getDataAsync(nt,tt,Ye),tt!==this._user)return(0,client_core_1.createUpdateDetails)(!1,this._store.getSource(),-1,new Error("User changed during update"),this._network.getLastUsedInitUrlAndReset());let ft=!1;nt!=null&&(client_core_1.Diagnostics._markInitProcessStart(this._sdkKey),ft=this._store.setValues(nt,this._user),client_core_1.Diagnostics._markInitProcessEnd(this._sdkKey,{success:ft})),this._finalizeUpdate(nt),ft||(this._errorBoundary.attachErrorIfNoneExists(client_core_1.UPDATE_DETAIL_ERROR_MESSAGES.NO_NETWORK_DATA),this.$emt({name:"initialization_failure"})),client_core_1.Diagnostics._markInitOverallEnd(this._sdkKey,ft,this._store.getCurrentSourceDetails());const ht=client_core_1.Diagnostics._enqueueDiagnosticsEvent(this._user,this._logger,this._sdkKey,this._options);return(0,client_core_1.createUpdateDetails)(ft,this._store.getSource(),ht,this._errorBoundary.getLastSeenErrorAndReset(),this._network.getLastUsedInitUrlAndReset(),this._store.getWarnings())})}getContext(){return{sdkKey:this._sdkKey,options:this._options,values:this._store.getValues(),user:JSON.parse(JSON.stringify(this._user)),errorBoundary:this._errorBoundary,session:client_core_1.StatsigSession.get(this._sdkKey),stableID:client_core_1.StableID.get(this._sdkKey),sdkInstanceID:this._sdkInstanceID}}checkGate(Le,Ye){return this.getFeatureGate(Le,Ye).value}logEvent(Le,Ye,tt){const nt=typeof Le=="string"?{eventName:Le,value:Ye,metadata:tt}:Le;this.$emt({name:"log_event_called",event:nt}),this._logger.enqueue(Object.assign(Object.assign({},nt),{user:this._user,time:Date.now()}))}updateUserWithAnalyticsOnlyMetadata(Le){this._user=this._configureUser(Object.assign(Object.assign({},this._user),{analyticsOnlyMetadata:Le}),this._options)}_primeReadyRipcord(){this.$on("error",()=>{this.loadingStatus==="Loading"&&this._finalizeUpdate(null)})}_initializeAsyncImpl(Le){return __awaiter$7(this,void 0,void 0,function*(){return client_core_1.Storage.isReady()||(yield client_core_1.Storage.isReadyResolver()),this._logger.start(),this.updateUserAsync(this._user,Le)})}_createErrorUpdateDetails(Le,Ye){var tt;return(0,client_core_1.createUpdateDetails)(!1,this._store.getSource(),performance.now()-Ye,Le,null,[...(tt=this._store.getWarnings())!==null&&tt!==void 0?tt:[]])}_finalizeUpdate(Le){this._store.finalize(),this._setStatus("Ready",Le)}_runPostUpdate(Le,Ye){this.dataAdapter.getDataAsync(Le,Ye,{priority:"low"}).catch(tt=>{client_core_1.Log.error("An error occurred after update.",tt)})}_resetForUser(Le){this._logger.reset(),this._store.reset(),this._user=this._configureUser(Le,this._options)}_configureUser(Le,Ye){var tt,nt,ft;const ht=(0,client_core_1._normalizeUser)(Le,Ye),gt=(tt=ht.customIDs)===null||tt===void 0?void 0:tt.stableID;if(gt){const At=(ft=(nt=this.storageProvider).isReadyResolver)===null||ft===void 0?void 0:ft.call(nt);At?At.then(()=>client_core_1.StableID.setOverride(gt,this._sdkKey),()=>client_core_1.StableID.setOverride(gt,this._sdkKey)):client_core_1.StableID.setOverride(gt,this._sdkKey)}return Object.keys(this._possibleFirstTouchMetadata).length>0&&(ht.analyticsOnlyMetadata=Object.assign(Object.assign({},ht.analyticsOnlyMetadata),this._possibleFirstTouchMetadata)),ht}_getFeatureGateImpl(Le,Ye){var tt,nt;const{result:ft,details:ht}=this._store.getGate(Le),gt=(0,client_core_1._makeFeatureGate)(Le,ht,ft),At=(nt=(tt=this.overrideAdapter)===null||tt===void 0?void 0:tt.getGateOverride)===null||nt===void 0?void 0:nt.call(tt,gt,this._user,Ye),xt=At??gt;return this._enqueueExposure(Le,(0,client_core_1._createGateExposure)(this._user,xt,this._store.getExposureMapping()),Ye),this.$emt({name:"gate_evaluation",gate:xt}),xt}_getDynamicConfigImpl(Le,Ye){var tt,nt;const{result:ft,details:ht}=this._store.getConfig(Le),gt=(0,client_core_1._makeDynamicConfig)(Le,ht,ft),At=(nt=(tt=this.overrideAdapter)===null||tt===void 0?void 0:tt.getDynamicConfigOverride)===null||nt===void 0?void 0:nt.call(tt,gt,this._user,Ye),xt=At??gt;return this._enqueueExposure(Le,(0,client_core_1._createConfigExposure)(this._user,xt,this._store.getExposureMapping()),Ye),this.$emt({name:"dynamic_config_evaluation",dynamicConfig:xt}),xt}_getExperimentImpl(Le,Ye){var tt,nt,ft,ht;const{result:gt,details:At}=this._store.getConfig(Le),xt=(0,client_core_1._makeExperiment)(Le,At,gt);xt.__evaluation!=null&&(xt.__evaluation.secondary_exposures=(0,client_core_1._mapExposures)((nt=(tt=xt.__evaluation)===null||tt===void 0?void 0:tt.secondary_exposures)!==null&&nt!==void 0?nt:[],this._store.getExposureMapping()));const yt=(ht=(ft=this.overrideAdapter)===null||ft===void 0?void 0:ft.getExperimentOverride)===null||ht===void 0?void 0:ht.call(ft,xt,this._user,Ye),Ct=yt??xt;return this._enqueueExposure(Le,(0,client_core_1._createConfigExposure)(this._user,Ct,this._store.getExposureMapping()),Ye),this.$emt({name:"experiment_evaluation",experiment:Ct}),Ct}_getConfigListImpl(){return this._store.getConfigList()}_getLayerImpl(Le,Ye){var tt,nt,ft;const{result:ht,details:gt}=this._store.getLayer(Le),At=(0,client_core_1._makeLayer)(Le,gt,ht),xt=(nt=(tt=this.overrideAdapter)===null||tt===void 0?void 0:tt.getLayerOverride)===null||nt===void 0?void 0:nt.call(tt,At,this._user,Ye);Ye!=null&&Ye.disableExposureLog&&this._logger.incrementNonExposureCount(Le);const yt=(0,client_core_1._mergeOverride)(At,xt,(ft=xt==null?void 0:xt.__value)!==null&&ft!==void 0?ft:At.__value,Ct=>{Ye!=null&&Ye.disableExposureLog||this._enqueueExposure(Le,(0,client_core_1._createLayerParameterExposure)(this._user,yt,Ct,this._store.getExposureMapping()),Ye)});return this.$emt({name:"layer_evaluation",layer:yt}),yt}_getParameterStoreImpl(Le,Ye){var tt,nt;const{result:ft,details:ht}=this._store.getParamStore(Le);this._logger.incrementNonExposureCount(Le);const gt={name:Le,details:ht,__configuration:ft,get:(0,ParamStoreGetterFactory_1._makeParamStoreGetter)(this,ft,Ye)},At=(nt=(tt=this.overrideAdapter)===null||tt===void 0?void 0:tt.getParamStoreOverride)===null||nt===void 0?void 0:nt.call(tt,gt,Ye);return At!=null&&(gt.__configuration=At.config,gt.details=At.details,gt.get=(0,ParamStoreGetterFactory_1._makeParamStoreGetter)(this,At.config,Ye)),gt}}StatsigClient$1.default=StatsigClient,function(Be){var Le=commonjsGlobal&&commonjsGlobal.__createBinding||(Object.create?function(ht,gt,At,xt){xt===void 0&&(xt=At);var yt=Object.getOwnPropertyDescriptor(gt,At);(!yt||("get"in yt?!gt.__esModule:yt.writable||yt.configurable))&&(yt={enumerable:!0,get:function(){return gt[At]}}),Object.defineProperty(ht,xt,yt)}:function(ht,gt,At,xt){xt===void 0&&(xt=At),ht[xt]=gt[At]}),Ye=commonjsGlobal&&commonjsGlobal.__exportStar||function(ht,gt){for(var At in ht)At!=="default"&&!Object.prototype.hasOwnProperty.call(gt,At)&&Le(gt,ht,At)};Object.defineProperty(Be,"__esModule",{value:!0}),Be.StatsigClient=void 0;const tt=src$1,nt=StatsigClient$1;Be.StatsigClient=nt.default,Ye(src$1,Be);const ft=Object.assign((0,tt._getStatsigGlobal)(),{StatsigClient:nt.default});Be.default=ft}(src$2);const FEATURE_FLAGS=["id_text_barcode_readability","selfie_local_lenses_check_web","id_model_hebrew_back_id","id_face_readability","new_id_capture_ux_least_risky_clients","id_test_aa","id_iou_check","iad_checks","iad_c_checks","new_fingerprint","mp_test_hashed_id","face_occlusion"],GLOBAL_FLAGS=["new_fingerprint"],ID_MODULE_FLAGS=["id_face_readability","id_test_aa","iad_c_checks","mp_test_hashed_id","id_model_hebrew_back_id","id_iou_check","iad_checks","new_id_capture_ux_least_risky_clients","id_text_barcode_readability"],SELFIE_MODULE_FLAGS=["selfie_local_lenses_check_web","face_occlusion"];function getStatsigEnvironment(Be){return isStageK8sEnv(Be)?{tier:"development"}:isStageEnv(Be)||isDemoEnv(Be)?{tier:"staging"}:isSaasEnv(Be)?{tier:"production"}:{tier:"development"}}const clientApiKey="client-GBTzsiJ99rvyZQdNXDFkftx3ZoMF1TED2rsB3m3IUqc",featureFlagsValues={id_text_barcode_readability:!1,selfie_local_lenses_check_web:!1,id_model_hebrew_back_id:!1,id_face_readability:!1,new_id_capture_ux_least_risky_clients:!1,id_test_aa:!1,iad_checks:!1,iad_c_checks:!1,id_iou_check:!0,new_fingerprint:!1,mp_test_hashed_id:!1,face_occlusion:!1},clientExperimentIds={new_id_capture_ux_least_risky_clients:"experimentV2"};let initPromise=null;const initialize=async({flowId:Be,apiKey:Le,sessionIdentifier:Ye,apiURL:tt,clientExperimentId:nt})=>{if(initPromise)return initPromise;initPromise=(async()=>{var gt;const ft={customIDs:{client_api_key:Le,hashed_onboarding_id:Ye,flow_id:Be},custom:{landing_page:(gt=window==null?void 0:window.location)==null?void 0:gt.href}},ht=new src$2.StatsigClient(clientApiKey,ft,{environment:getStatsigEnvironment(tt)});await ht.initializeAsync(),FEATURE_FLAGS.forEach(At=>{if(nt&&clientExperimentIds[At]===nt){featureFlagsValues[At]=!0;return}featureFlagsValues[At]=ht.checkGate(At)})})(),await initPromise},getFeatureFlag=Be=>featureFlagsValues[Be]??!1,getModuleFeatureFlags=async Be=>{const Le={};GLOBAL_FLAGS.forEach(tt=>{Le[tt]=featureFlagsValues[tt]});const Ye=Be.toLowerCase();return Ye.includes("id")||Ye==="government-validation"?ID_MODULE_FLAGS.forEach(tt=>{Le[tt]=featureFlagsValues[tt]}):(Ye.includes("selfie")||Ye==="face")&&SELFIE_MODULE_FLAGS.forEach(tt=>{Le[tt]=featureFlagsValues[tt]}),Le};function IdCaptureParamsConfigurator(Be,Le,Ye,tt){Object.assign(Be,{areaDown:25e3,areaUp:55e3,areaIOSPassportUp:3e4,areaIOSPassportDown:2e4,widthIOSUp:160,widthIOSDown:85,widthDown:tt?110:135,widthUp:205,framesAggregationInterval:tt?3e3:2e3,minFaceIdQualityScore:.62})}function getSelfieFaceDetectionPipelineParams(){return{frameMinX:0,frameMinY:0,frameMaxX:1,frameMaxY:1,brightnessThreshold:50,blurrinessThreshold:50,tiltRotationAngleThreshold:15,minMagicCropSize:200,headwearThreshold:.86,lensesThreshold:.95,closedEyesThreshold:.9,maskThreshold:.85,minFaceQualityScore:.63,isOcclusionCheckEnabled:getFeatureFlag("face_occlusion"),faceOcclusionThreshold:.3}}const getProfiles=()=>[new PipelineProfile(WasmPipelineType.IdBlurGlarePipeline,PipelineProfileName.IdCapture_2_01,DetectionType.IDCapture,["id_capture_2_01_fp16.ortmodelv2","id_fiqa_19a81a0b9bf6492eb03b4667f6db4c85_fp16.ortmodelv2"],{glareThreshold:.3,classificationThreshold:.98,sideThreshold:.8,iouThreshold:.8,sharpnessThreshold:.2,sharpnessChangeThreshold:.2,modelType:IdCaptureModelType.IdCaptureV2x,isIdFaceQualityCheckEnabled:getFeatureFlag("id_face_readability"),isIouCheckEnabled:getFeatureFlag("id_iou_check")},IdCaptureParamsConfigurator,"Current Prod - Id Capture Profile with model https://www.notion.so/ID-cropping-web-2-01-d011d878c6f4406394609cbfbf03c259?pvs=4"),new PipelineProfile(WasmPipelineType.IdBlurGlarePipeline,PipelineProfileName.IdCapture_2_02,DetectionType.IDCapture,["id_capture_2_02_fp16.ortmodelv2","id_fiqa_19a81a0b9bf6492eb03b4667f6db4c85_fp16.ortmodelv2"],{glareThreshold:.3,classificationThreshold:.98,sideThreshold:.8,iouThreshold:.8,sharpnessThreshold:.2,sharpnessChangeThreshold:.2,modelType:IdCaptureModelType.IdCaptureV2x,isIdFaceQualityCheckEnabled:getFeatureFlag("id_face_readability"),isIouCheckEnabled:getFeatureFlag("id_iou_check")},IdCaptureParamsConfigurator,"https://www.notion.so/ML-Update-ID-processing-model-to-accept-more-back-ID-types-18c4c3caef49801e95b4fd6bf9b92883?pvs=4"),new PipelineProfile(WasmPipelineType.IdBarcodeAndTextQualityPipeline,PipelineProfileName.IdCapture_3_02,DetectionType.IDCapture,["id_capture_3_02_fp16.ortmodelv2","id_fiqa_19a81a0b9bf6492eb03b4667f6db4c85_fp16.ortmodelv2"],{glareThreshold:.3,classificationThreshold:.98,sideThreshold:.8,iouThreshold:.8,sharpnessThreshold:.2,sharpnessChangeThreshold:.2,modelType:IdCaptureModelType.IdCaptureV3x,isIdFaceQualityCheckEnabled:!1,isIouCheckEnabled:getFeatureFlag("id_iou_check")},IdCaptureParamsConfigurator,"Pipeline with text and barcode quality: https://www.notion.so/Web-Use-Text-Barcode-model-2nd-iteration-1bc4c3caef49805aa9e6d308db9fc6dd?pvs=4"),new PipelineProfile(WasmPipelineType.IdVideoSelfiePipeline,PipelineProfileName.IdVideoSelfie_2_01,DetectionType.IdVideoSelfie,["id_capture_2_01_fp16.ortmodelv2","id_fiqa_19a81a0b9bf6492eb03b4667f6db4c85_fp16.ortmodelv2"],{glareThreshold:.3,classificationThreshold:.98,sideThreshold:.8,iouThreshold:.8,sharpnessThreshold:.2,sharpnessChangeThreshold:.2,modelType:IdCaptureModelType.IdCaptureV2x,isIdFaceQualityCheckEnabled:!1,isIouCheckEnabled:!0},IdCaptureParamsConfigurator,"Current Prod - Id Videoselfie profile with model https://www.notion.so/ID-cropping-web-2-01-d011d878c6f4406394609cbfbf03c259?pvs=4"),new PipelineProfile(WasmPipelineType.SelfieWithAggregationMetrics,PipelineProfileName.SelfieWithAggregationMetrics,DetectionType.Selfie,["selfie_bf_angles_192x192_opset9_fp16.ortmodelv2","face_attributes_v1_3_fp16.ortmodelv2","mls_regressor_4773007c657b4f05a460321456740d0f_fp16.ortmodelv2","face_occlusion_v0_1_fp16.ortmodelv2"],getSelfieFaceDetectionPipelineParams(),null,"Selfie face detection profile with aggregation metrics"),new PipelineProfile(WasmPipelineType.SelfieWithQualityMetrics,PipelineProfileName.SelfieWithQualityMetrics,DetectionType.Selfie,["selfie_bf_angles_192x192_opset9_fp16.ortmodelv2","face_attributes_v1_3_fp16.ortmodelv2","mls_regressor_4773007c657b4f05a460321456740d0f_fp16.ortmodelv2","face_occlusion_v0_1_fp16.ortmodelv2"],getSelfieFaceDetectionPipelineParams(),null,"Current Prod - Selfie face detection profile with quality metrics"),new PipelineProfile(WasmPipelineType.SelfieWithAggregationMetrics,PipelineProfileName.SelfieVideoSelfie,DetectionType.SelfieVideoSelfie,["selfie_bf_angles_192x192_opset9_fp16.ortmodelv2","face_attributes_v1_3_fp16.ortmodelv2","mls_regressor_4773007c657b4f05a460321456740d0f_fp16.ortmodelv2","face_occlusion_v0_1_fp16.ortmodelv2"],getSelfieFaceDetectionPipelineParams(),null,"VideoSelfie face detection profile")];function getProfile(Be){const Le=getProfiles().find(Ye=>Ye.name===Be);if(!Le)throw new Error(`Profile not found for type: ${Be}`);return Le}const wasmVersion="v2.12.26";function generateBundle(){const Be=getFeatureFlag("id_text_barcode_readability")?PipelineProfileName.IdCapture_3_02:getFeatureFlag("id_model_hebrew_back_id")?PipelineProfileName.IdCapture_2_02:PipelineProfileName.IdCapture_2_01,Le=PipelineProfileName.SelfieWithQualityMetrics,Ye=PipelineProfileName.SelfieVideoSelfie,tt=PipelineProfileName.IdVideoSelfie_2_01;return[Be,tt,Le,Ye]}function getInitializationParams(){const Le=generateBundle(),Ye="https://d3vv997wtl2myz.cloudfront.net/webcamera/onnx-backend-wasm",tt=`${Ye}/${wasmVersion}/webLib.wasm`,nt=`${Ye}/${wasmVersion}/webLibSimd.wasm`,ft=`${Ye}/${wasmVersion}/webLib.js`,ht=`${Ye}/${wasmVersion}/versions.json`;let gt=new Map,At=new Map;for(const xt of Le){const yt=getProfile(xt);if(!yt)throw new Error(`Profile not found: ${xt}`);const Ct=yt.modelNames;let Et=[];for(const vt of Ct)Et.push(`${Ye}/${wasmVersion}/models/${vt}`);gt.set(yt.pipelineType,Et),At.set(yt.detectionType,yt)}return{wasmModulePath:tt,wasmSimdModulePath:nt,glueCodePath:ft,versionsFilePath:ht,pipelineModels:gt,enableSIMD:!0,profiles:At,wasmVersion}}window.wasmArrayBuffer=null;class MlWasmJSApi{constructor(){this.versionsFile=null,this.modelsBuffers=null,this.inputImageBuffer=null,this.wasmModule=null,this.pipelineApiUtilities=null,this.utilityApi=null,this.idCaptureWasmApi=null,this.faceDetectionWasmApi=null,this.imageWidth_=null,this.imageHeight_=null,this.pipelines_=null,this.isInitialized_=!1,this.inspectorOpened_=!1,this.wasmCallMutex=new Mutex,this.Module=null,this.loadModule=async Le=>{this.Module=(await import(Le)).Module}}async initialize(Le,Ye,tt,nt,ft,ht){await this.freeResources(),this.pipelines_=ht,this.versionsFile=ft,await this.loadModule(tt);const gt=await this.loadWasm(nt,Le,Ye);return this.pipelineApiUtilities=new this.wasmModule.PipelineApiUtilities,this.utilityApi=new this.wasmModule.UtilityApi,this.idCaptureWasmApi=new this.wasmModule.IdCaptureApi,this.faceDetectionWasmApi=new this.wasmModule.FaceDetectionApi,this.isInitialized_=!0,gt}static getInstance(){return MlWasmJSApi.instance||(MlWasmJSApi.instance=new MlWasmJSApi),MlWasmJSApi.instance}isInitialized(){return this.pipelineApiUtilities!=null&&this.utilityApi!=null&&this.idCaptureWasmApi!=null&&this.faceDetectionWasmApi!=null&&this.isInitialized_}async allocateImageBuffers(Le,Ye){this.checkWasmInitialization("Unable to allocate image buffers, cpp API hasn't been initialized"),!(Le&&Ye&&Le==this.imageWidth_&&Ye==this.imageHeight_&&this.inputImageBuffer&&Le*Ye*4===this.inputImageBuffer.length)&&(this.imageWidth_=Le,this.imageHeight_=Ye,this.inputImageBuffer=this.pipelineApiUtilities.allocateInputImageBuffer(Le,Ye,4))}async handleDetectionCallAndUpdateState(Le){this.checkWasmInitialization("Unable to update pipeline state, cpp API hasn't been initialized"),this.pipelineApiUtilities.handleDetectionCallAndUpdateState(this.pipelineTypeToWasmEnum(Le))}encryptImage(Le){return this.checkWasmInitialization("Unable to encrypt the image, cpp API hasn't been initialized"),this.utilityApi.encryptImage(Le)}isVirtualCamera(Le){if(this.checkWasmInitialization("Unable to check if the camera is virtual, cpp API hasn't been initialized"),Le)return this.utilityApi.isVirtualCamera(Le)}estimatePerformance(){return this.checkWasmInitialization("Unable to estimate performance, cpp API hasn't been initialized"),this.utilityApi.estimatePerformance()}async analyzeFrame(Le){this.checkWasmInitialization("Unable to analyze the frame, cpp API hasn't been initialized"),await this.allocateImageBuffers(Le.width,Le.height),this.inputImageBuffer.set(Le.data),this.utilityApi.analyzeFrame()}async freeResources(){this.versionsFile=null,this.modelsBuffers=null,this.inputImageBuffer=null,this.imageWidth_=null,this.imageHeight_=null,this.pipelines_=null,window.wasmArrayBuffer=null,this.pipelineApiUtilities&&typeof this.pipelineApiUtilities.delete=="function"&&(this.pipelineApiUtilities.delete(),this.pipelineApiUtilities=null),this.utilityApi&&typeof this.utilityApi.delete=="function"&&(this.utilityApi.delete(),this.utilityApi=null),this.idCaptureWasmApi&&typeof this.idCaptureWasmApi.delete=="function"&&(this.idCaptureWasmApi.delete(),this.idCaptureWasmApi=null),this.faceDetectionWasmApi&&typeof this.faceDetectionWasmApi.delete=="function"&&(this.faceDetectionWasmApi.delete(),this.faceDetectionWasmApi=null),this.wasmModule=null,this.isInitialized_=!1}resetPipeline(Le){this.checkWasmInitialization("Unable to reset pipeline, cpp API hasn't been initialized"),this.pipelineApiUtilities.resetPipeline(this.pipelineTypeToWasmEnum(Le))}resetAllPipelines(){this.checkWasmInitialization("Unable to reset pipelines, cpp API hasn't been initialized");for(const[Le,Ye]of this.pipelines_)this.resetPipeline(Le)}resetOther(){this.checkWasmInitialization("Unable to reset other states, cpp API hasn't been initialized"),this.utilityApi.resetOther()}reset(){this.resetAllPipelines(),this.resetOther()}async process(Le,Ye){if(this.checkWasmInitialization("Unable to process the image, cpp API hasn't been initialized"),this.inputImageBuffer===null)throw new Error("Unable to process the image, buffers haven't been allocated!");switch(this.inputImageBuffer.set(Le.data),Ye){case WasmPipelineType.IdBlurGlarePipeline:case WasmPipelineType.IdBarcodeAndTextQualityPipeline:return this.idCaptureWasmApi.runIdCapturePipeline(this.pipelineTypeToWasmEnum(Ye));case WasmPipelineType.IdFaceDetectionPipeline:return this.faceDetectionWasmApi.runIdFaceDetectionPipeline();case WasmPipelineType.IdVideoSelfiePipeline:return this.idCaptureWasmApi.runIdVideoSelfiePipeline();case WasmPipelineType.SelfieWithAggregationMetrics:case WasmPipelineType.SelfieWithQualityMetrics:return this.faceDetectionWasmApi.runSelfieFaceDetectionPipeline(this.pipelineTypeToWasmEnum(Ye));default:throw new Error("Unknown pipeline type")}}async runIdCapture(Le){if(this.checkWasmInitialization("Unable to run Id Capture, cpp API hasn't been initialized"),this.inputImageBuffer===null)throw new Error("Unable to process the image, buffers haven't been allocated!");return this.inputImageBuffer.set(Le.data),this.idCaptureWasmApi.runIdCapture()}async runSelfieCapture(Le){if(this.checkWasmInitialization("Unable to run Selfie Capture, cpp API hasn't been initialized"),this.inputImageBuffer===null)throw new Error("Unable to process the image, buffers haven't been allocated!");return this.inputImageBuffer.set(Le.data),this.faceDetectionWasmApi.runSelfieCapture()}async setFacePositionConstraints(Le,Ye,tt,nt,ft){this.checkWasmInitialization("Unable to set face position constraints, cpp API hasn't been initialized"),this.faceDetectionWasmApi.setFacePositionConstraints(this.pipelineTypeToWasmEnum(Le),Ye,tt,nt,ft)}async setFaceDetectionThresholds(Le,Ye,tt,nt,ft,ht,gt,At){this.checkWasmInitialization("Unable to set face detection thresholds, cpp API hasn't been initialized"),this.faceDetectionWasmApi.setFaceDetectionThresholds(this.pipelineTypeToWasmEnum(Le),Ye,tt,nt,ft,ht,gt,At)}async setFaceAttributesThresholds(Le,Ye,tt,nt,ft){this.checkWasmInitialization("Unable to set face attributes thresholds, cpp API hasn't been initialized"),this.faceDetectionWasmApi.setFaceAttributesThresholds(this.pipelineTypeToWasmEnum(Le),Ye,tt,nt,ft)}async setFaceChecksEnabled(Le,Ye,tt,nt,ft,ht){this.checkWasmInitialization("Unable to set face checks enabled flags, cpp API hasn't been initialized"),this.faceDetectionWasmApi.setFaceChecksEnabled(this.pipelineTypeToWasmEnum(Le),Ye,tt,nt,ft,ht)}async setFaceDetectionMode(Le,Ye){this.checkWasmInitialization("Unable to set face detection mode, cpp API hasn't been initialized"),this.faceDetectionWasmApi.setFaceDetectionMode(this.pipelineTypeToWasmEnum(Le),Ye)}async setFaceDetectionCallbacks(Le,Ye,tt,nt,ft,ht,gt,At,xt,yt,Ct,Et,vt,kt,bt,wt,It,Rt,Tt){this.checkWasmInitialization("Unable to set face detection callbacks, cpp API hasn't been initialized"),this.faceDetectionWasmApi.setFaceDetectionCallbacks(this.pipelineTypeToWasmEnum(Le),Ye,tt,nt,ft,ht,gt,At,xt,yt,Ct,Et,vt,kt,bt,wt,It,Rt,Tt)}async setIdCaptureThresholds(Le,Ye,tt,nt,ft,ht,gt,At,xt,yt,Ct){this.checkWasmInitialization("Unable to set thresholds, cpp API hasn't been initialized"),this.idCaptureWasmApi.setIdCaptureThresholds(this.pipelineTypeToWasmEnum(Le),Ye,tt,nt,ft,ht,gt,At,xt,yt,Ct)}async setIdCaptureCallbacks(Le,Ye,tt,nt,ft,ht,gt,At,xt,yt,Ct,Et,vt,kt){this.checkWasmInitialization("Unable to set callbacks, cpp API hasn't been initialized"),this.idCaptureWasmApi.setIdCaptureCallbacks(this.pipelineTypeToWasmEnum(Le),Ye,tt,nt,ft,ht,gt,At,xt,yt,Ct,Et,vt,kt)}async setIdCaptureGeometryParams(Le,Ye,tt,nt,ft,ht,gt,At,xt,yt,Ct,Et,vt){this.checkWasmInitialization("Unable to set geometry params, cpp API hasn't been initialized"),this.idCaptureWasmApi.setIdCaptureGeometryParams(this.pipelineTypeToWasmEnum(Le),Ye,tt,nt,ft,ht,gt,At,xt,yt,Ct,Et,vt)}async setIdCaptureConfigParams(Le,Ye,tt,nt,ft,ht,gt,At){this.checkWasmInitialization("Unable to set config params, cpp API hasn't been initialized"),this.idCaptureWasmApi.setIdCaptureConfigParams(this.pipelineTypeToWasmEnum(Le),Ye,tt,nt,ft,ht,gt,At)}setIdCaptureModelType(Le,Ye){this.checkWasmInitialization("Unable to set model type, cpp API hasn't been initialized"),this.idCaptureWasmApi.setIdCaptureModelType(this.pipelineTypeToWasmEnum(Le),this.IdCaptureModelTypeToWasmEnum(Ye))}IdPerspectiveTransform(Le,Ye){return this.checkWasmInitialization("Unable to perform perspective transform, cpp API hasn't been initialized"),this.idCaptureWasmApi.IdPerspectiveTransform(Le,Ye)}async getVersions(){const Ye=await(await fetch(this.versionsFile)).text();return JSON.parse(Ye)}async loadWasm(Le,Ye,tt){const nt=Le?tt:Ye;try{window.wasmArrayBuffer=await fetch(nt).then(ft=>ft.arrayBuffer()).then(ft=>new Uint8Array(ft)),this.wasmModule=await this.Module()}catch(ft){if(console.log(ft,Le,"useSmd"),Le)return await this.loadWasm(!1,Ye,tt);throw ft}return Le}async loadModels(){var nt;this.checkWasmInitialization("Unable load the models, cpp API hasn't been initialized");let Le=new this.wasmModule.PipelineTypeToIntMap,Ye=new Map,tt=new Map;for(let[ft,ht]of this.pipelines_){let gt=this.pipelineTypeToWasmEnum(ft),At=[],xt=new this.wasmModule.VectorInt;for(let yt of ht){if(!tt.has(yt)){let Et=await fetch(yt).then(vt=>vt.arrayBuffer()).then(vt=>new Uint8Array(vt));tt.set(yt,Et)}let Ct=tt.get(yt);xt.push_back(Ct.byteLength),At.push(Ct)}Le.set(gt,xt),Ye.set(gt,At)}this.modelsBuffers=this.pipelineApiUtilities.allocateModelsBuffers(Le);for(let[ft,ht]of Ye){let gt=(nt=this.modelsBuffers)==null?void 0:nt.get(ft);for(let At=0;At<gt.size();At++){let xt=gt==null?void 0:gt.get(At);if(xt)xt.set(ht[At]);else throw new Error("Unable to get model buffer from shared memory!")}}}async initializePipelines(){this.checkWasmInitialization("Unable to initialize pipelines, cpp API hasn't been initialized"),this.modelsBuffers||await this.loadModels(),this.pipelineApiUtilities.initializePipelines()}async setProductionMode(Le){this.checkWasmInitialization("Unable to set production mode, cpp API hasn't been initialized"),this.utilityApi.setProductionMode(Le)}getPipelineState(){return this.checkWasmInitialization("Unable to get pipeline state, cpp API hasn't been initialized"),this.pipelineApiUtilities.getPipelineState()}getCurrentPipeline(){return this.checkWasmInitialization("Unable to get current pipeline, cpp API hasn't been initialized"),this.pipelineTypeFromWasmEnum(this.pipelineApiUtilities.getCurrentPipeline())}setSdkVersion(Le){this.checkWasmInitialization("Unable to set sdk version, cpp API hasn't been initialized"),this.utilityApi.setSdkVersion(Le)}setSdkPlatform(Le){this.checkWasmInitialization("Unable to set device type, cpp API hasn't been initialized"),this.utilityApi.setSdkPlatform(Le)}setDeviceInfo(Le,Ye=!0){this.checkWasmInitialization("Unable to set device info, cpp API hasn't been initialized"),this.utilityApi.setDeviceInfo(Le,Ye)}setBrowserInfo(Le,Ye=!0){this.checkWasmInitialization("Unable to set browser info, cpp API hasn't been initialized"),this.utilityApi.setBrowserInfo(Le,Ye)}setCameraInfo(Le,Ye=!0){this.checkWasmInitialization("Unable to set camera info, cpp API hasn't been initialized"),this.utilityApi.setCameraInfo(Le,Ye)}setZc(Le){this.checkWasmInitialization("Unable to set zc, cpp API hasn't been initialized"),this.utilityApi.setZc(Le)}setMotionStatus(Le){this.checkWasmInitialization("Unable to set motion status, cpp API hasn't been initialized"),this.utilityApi.setMotionStatus(Le)}setMetadataField(Le,Ye){this.checkWasmInitialization("Unable to set metadata field, cpp API hasn't been initialized"),this.utilityApi.setMetadataField(Le,Ye)}setInspectorOpened(Le){this.inspectorOpened_=Le}setBackgroundMode(Le){this.checkWasmInitialization("Unable to set background mode, cpp API hasn't been initialized"),this.utilityApi.setBackgroundMode(Le)}getCheck(){return this.checkWasmInitialization("Unable to get check, cpp API hasn't been initialized"),this.utilityApi.getCheck()}getMetadata(){return this.checkWasmInitialization("Unable to get metadata, cpp API hasn't been initialized"),this.utilityApi.setInspectorOpened(this.inspectorOpened_),this.utilityApi.getMetadata()}async prc(Le){return this.checkWasmInitialization("Unable to prc, cpp API hasn't been initialized"),await this.wasmCallWrapper(this.utilityApi.prc.bind(this.utilityApi),[Le])}async poc(Le){this.checkWasmInitialization("Unable to poc, cpp API hasn't been initialized"),await this.wasmCallWrapper(this.utilityApi.poc.bind(this.utilityApi),[Le])}async pc(Le){this.checkWasmInitialization("Unable to pc, cpp API hasn't been initialized"),await this.wasmCallWrapper(this.utilityApi.pc.bind(this.utilityApi),[Le])}pipelineTypeToWasmEnum(Le){switch(Le){case WasmPipelineType.IdBlurGlarePipeline:return this.wasmModule.PipelineType.IdBlurGlarePipeline;case WasmPipelineType.IdBarcodeAndTextQualityPipeline:return this.wasmModule.PipelineType.IdBarcodeAndTextQualityPipeline;case WasmPipelineType.IdFaceDetectionPipeline:return this.wasmModule.PipelineType.IdFaceDetectionPipeline;case WasmPipelineType.IdVideoSelfiePipeline:return this.wasmModule.PipelineType.IdVideoSelfiePipeline;case WasmPipelineType.SelfieWithAggregationMetrics:return this.wasmModule.PipelineType.SelfieWithAggregationMetrics;case WasmPipelineType.SelfieWithQualityMetrics:return this.wasmModule.PipelineType.SelfieWithQualityMetrics;default:throw new Error("Unknown pipeline type")}}pipelineTypeFromWasmEnum(Le){switch(Le){case this.wasmModule.PipelineType.IdBlurGlarePipeline:return WasmPipelineType.IdBlurGlarePipeline;case this.wasmModule.IdBarcodeAndTextQualityPipeline:return WasmPipelineType.IdBarcodeAndTextQualityPipeline;case this.wasmModule.PipelineType.IdFaceDetectionPipeline:return WasmPipelineType.IdFaceDetectionPipeline;case this.wasmModule.PipelineType.IdVideoSelfiePipeline:return WasmPipelineType.IdVideoSelfiePipeline;case this.wasmModule.PipelineType.SelfieWithAggregationMetrics:return WasmPipelineType.SelfieWithAggregationMetrics;case this.wasmModule.PipelineType.SelfieWithQualityMetrics:return WasmPipelineType.SelfieWithQualityMetrics;default:throw new Error("Unknown pipeline type")}}IdCaptureModelTypeToWasmEnum(Le){switch(Le){case IdCaptureModelType.IdCaptureV1x:return this.wasmModule.IdCaptureModelType.IdCaptureV1x;case IdCaptureModelType.IdCaptureV2x:return this.wasmModule.IdCaptureModelType.IdCaptureV2x;case IdCaptureModelType.IdCaptureV3x:return this.wasmModule.IdCaptureModelType.IdCaptureV3x;default:throw new Error("Unknown Id Capture model type")}}IdCaptureModelTypeFromWasmEnum(Le){switch(Le){case this.wasmModule.IdCaptureModelType.IdCaptureV1x:return IdCaptureModelType.IdCaptureV1x;case this.wasmModule.IdCaptureModelType.IdCaptureV2x:return IdCaptureModelType.IdCaptureV2x;case this.wasmModule.IdCaptureModelType.IdCaptureV3x:return IdCaptureModelType.IdCaptureV3x;default:throw new Error("Unknown Id Capture model type")}}checkWasmInitialization(Le){if(!this.isInitialized())throw new Error(Le)}async wasmCallWrapper(Le,Ye=[]){return await this.wasmCallMutex.withLock(async(...tt)=>{let nt=!1;try{for(;;){if(nt=Le(...tt),nt)return;await new Promise(ft=>setTimeout(ft,0))}}catch(ft){console.log("Error in wasmCallWrapper:",ft)}},...Ye)}}const MlWasmJSApi$1=MlWasmJSApi.getInstance(),version$4="1.85.0-20251105121333.0";function e$2(Be,Le){return function(Ye,tt){return Object.prototype.hasOwnProperty.call(Ye,tt)}(Be,Le)?Be[Le]:void 0}function t$2(Be,Le,Ye,tt){const nt=document,ft="securitypolicyviolation";let ht;const gt=xt=>{const yt=new URL(Be,location.href),{blockedURI:Ct}=xt;Ct!==yt.href&&Ct!==yt.protocol.slice(0,-1)&&Ct!==yt.origin||(ht=xt,At())};nt.addEventListener(ft,gt);const At=()=>nt.removeEventListener(ft,gt);return Promise.resolve().then(Le).then(xt=>(At(),xt),xt=>new Promise(yt=>{const Ct=new MessageChannel;Ct.port1.onmessage=()=>yt(),Ct.port2.postMessage(null)}).then(()=>{if(At(),ht)return Ye(ht);throw xt}))}function n$2(Be){let Le="";for(let Ye=0;Ye<Be.length;++Ye)if(Ye>0){const tt=Be[Ye].toLowerCase();tt!==Be[Ye]?Le+=` ${tt}`:Le+=Be[Ye]}else Le+=Be[Ye].toUpperCase();return Le}const r$4={default:"endpoint"},o$1={default:"tlsEndpoint"},i$5="Client timeout",R$2="Network connection error",s$3="Network request aborted",a$3="Response cannot be parsed",c$3="Blocked by CSP",E$1="The endpoint parameter is not a valid URL",l$1="Handle on demand agent data error",u$1=n$2("WrongRegion"),d$1=n$2("SubscriptionNotActive"),_$2=n$2("UnsupportedVersion"),O$1=n$2("InstallationMethodRestricted"),p$1=n$2("HostnameRestricted"),I$1=n$2("IntegrationFailed"),f$2=n$2("NetworkRestricted"),N$1=n$2("InvalidProxyIntegrationSecret"),T$1=n$2("InvalidProxyIntegrationHeaders"),h$e=n$2("ProxyIntegrationSecretEnvironmentMismatch"),v$d="API key required",m$2="API key not found",A$1="API key expired",w$e="Request cannot be parsed",P$1="Request failed",D$1="Request failed to process",S$1="Too many requests, rate limit exceeded",y="Not available for this origin",g$1="Not available with restricted header",L$1=v$d,C$1=m$2,U$1=A$1;var b$2="3.12.3";const M$1="Failed to load the JS script of the agent",K="9319";function V(Be,Le){const Ye=[],[tt,nt]=function(gt){const At=function(Ct){const Et=[...Ct];return{current:()=>Et[0],postpone(){const vt=Et.shift();vt!==void 0&&Et.push(vt)},exclude(){Et.shift()}}}(gt),xt=function(Ct,Et){let vt=0;return()=>Math.random()*Math.min(Et,Ct*Math.pow(2,vt++))}(100,3e3),yt=new Set;return[At.current(),(Ct,Et)=>{let vt;const kt=Et instanceof Error?Et.message:"";if(kt===c$3||kt===E$1)At.exclude(),vt=0;else if(kt===K)At.exclude();else if(kt===M$1){const wt=Date.now()-Ct.getTime()<50,It=At.current();It&&wt&&!yt.has(It)&&(yt.add(It),vt=0),At.postpone()}else At.postpone();const bt=At.current();return bt===void 0?void 0:[bt,vt??Ct.getTime()+xt()-Date.now()]}]}(Be);let ft;if(tt===void 0)return Promise.reject(new TypeError("The list of script URL patterns is empty"));const ht=gt=>{const At=new Date,xt=Ct=>Ye.push({url:gt,startedAt:At,finishedAt:new Date,error:Ct}),yt=Le(gt);return yt.then(()=>xt(),xt),yt.catch(Ct=>{if(ft!=null||(ft=Ct),Ye.length>=5)throw ft;const Et=nt(At,Ct);if(!Et)throw ft;const[vt,kt]=Et;return(bt=kt,new Promise(wt=>setTimeout(wt,bt))).then(()=>ht(vt));var bt})};return ht(tt).then(gt=>[gt,Ye])}const k$1="https://fpnpmcdn.net/v<version>/<apiKey>/loader_v<loaderVersion>.js",G=k$1;function B$1(Be){var Le,Ye;const{picked:tt,rest:nt}=function(yt,Ct){const Et={},vt={};for(const[kt,bt]of Object.entries(yt))Ct.includes(kt)?Et[kt]=bt:vt[kt]=bt;return{picked:Et,rest:vt}}(Be,["scriptUrlPattern","token","apiKey"]),ft=tt.token,ht=(Le=tt.apiKey)!==null&&Le!==void 0?Le:ft,gt=(Ye=e$2(Be,"scriptUrlPattern"))!==null&&Ye!==void 0?Ye:k$1,[At,xt]=function(){const yt=[],Ct=()=>{yt.push({time:new Date,state:document.visibilityState})},Et=function(vt,kt,bt,wt){return vt.addEventListener(kt,bt,wt),()=>vt.removeEventListener(kt,bt,wt)}(document,"visibilitychange",Ct);return Ct(),[yt,Et]}();return Promise.resolve().then(()=>{if(!ht||typeof ht!="string")throw new Error(v$d);const yt=function(Ct,Et){return(Array.isArray(Ct)?Ct:[Ct]).map(vt=>function(kt,bt){const wt=encodeURIComponent;return kt.replace(/<[^<>]+>/g,It=>It==="<version>"?"3":It==="<apiKey>"?wt(bt):It==="<loaderVersion>"?wt(b$2):It)}(String(vt),Et))}(gt,ht);return V(yt,F$1)}).catch(yt=>{throw xt(),function(Ct){return Ct instanceof Error&&Ct.message===K?new Error(M$1):Ct}(yt)}).then(([yt,Ct])=>(xt(),yt.load({...nt,ldi:{attempts:Ct,visibilityStates:At}})))}function F$1(Be){return t$2(Be,()=>function(Le){return new Promise((Ye,tt)=>{if(function(gt){if(URL.prototype)try{return new URL(gt,location.href),!1}catch(At){if(At instanceof Error&&At.name==="TypeError")return!0;throw At}}(Le))throw new Error(E$1);const nt=document.createElement("script"),ft=()=>{var gt;return(gt=nt.parentNode)===null||gt===void 0?void 0:gt.removeChild(nt)},ht=document.head||document.getElementsByTagName("head")[0];nt.onload=()=>{ft(),Ye()},nt.onerror=()=>{ft(),tt(new Error(M$1))},nt.async=!0,nt.src=Le,ht.appendChild(nt)})}(Be),()=>{throw new Error(c$3)}).then(x$1)}function x$1(){const Be=window,Le="__fpjs_p_l_b",Ye=Be[Le];if(function(tt,nt){var ft;const ht=(ft=Object.getOwnPropertyDescriptor)===null||ft===void 0?void 0:ft.call(Object,tt,nt);ht!=null&&ht.configurable?delete tt[nt]:ht&&!ht.writable||(tt[nt]=void 0)}(Be,Le),typeof(Ye==null?void 0:Ye.load)!="function")throw new Error(K);return Ye}var H={load:B$1,defaultScriptUrlPattern:G,ERROR_SCRIPT_LOAD_FAIL:M$1,ERROR_API_KEY_EXPIRED:A$1,ERROR_API_KEY_INVALID:m$2,ERROR_API_KEY_MISSING:v$d,ERROR_BAD_REQUEST_FORMAT:w$e,ERROR_BAD_RESPONSE_FORMAT:a$3,ERROR_CLIENT_TIMEOUT:i$5,ERROR_CSP_BLOCK:c$3,ERROR_FORBIDDEN_ENDPOINT:p$1,ERROR_FORBIDDEN_HEADER:g$1,ERROR_FORBIDDEN_ORIGIN:y,ERROR_GENERAL_SERVER_FAILURE:P$1,ERROR_HANDLE_AGENT_DATA:l$1,ERROR_INSTALLATION_METHOD_RESTRICTED:O$1,ERROR_INTEGRATION_FAILURE:I$1,ERROR_INVALID_ENDPOINT:E$1,ERROR_INVALID_PROXY_INTEGRATION_HEADERS:T$1,ERROR_INVALID_PROXY_INTEGRATION_SECRET:N$1,ERROR_NETWORK_ABORT:s$3,ERROR_NETWORK_CONNECTION:R$2,ERROR_NETWORK_RESTRICTED:f$2,ERROR_PROXY_INTEGRATION_SECRET_ENVIRONMENT_MISMATCH:h$e,ERROR_RATE_LIMIT:S$1,ERROR_SERVER_TIMEOUT:D$1,ERROR_SUBSCRIPTION_NOT_ACTIVE:d$1,ERROR_TOKEN_EXPIRED:U$1,ERROR_TOKEN_INVALID:C$1,ERROR_TOKEN_MISSING:L$1,ERROR_UNSUPPORTED_VERSION:_$2,ERROR_WRONG_REGION:u$1,defaultEndpoint:r$4,defaultTlsEndpoint:o$1};function e$1(Be,Le,Ye,tt){return new(Ye||(Ye=Promise))(function(nt,ft){function ht(xt){try{At(tt.next(xt))}catch(yt){ft(yt)}}function gt(xt){try{At(tt.throw(xt))}catch(yt){ft(yt)}}function At(xt){var yt;xt.done?nt(xt.value):(yt=xt.value,yt instanceof Ye?yt:new Ye(function(Ct){Ct(yt)})).then(ht,gt)}At((tt=tt.apply(Be,[])).next())})}function n$1(Be,Le){var Ye,tt,nt,ft,ht={label:0,sent:function(){if(1&nt[0])throw nt[1];return nt[1]},trys:[],ops:[]};return ft={next:gt(0),throw:gt(1),return:gt(2)},typeof Symbol=="function"&&(ft[Symbol.iterator]=function(){return this}),ft;function gt(At){return function(xt){return function(yt){if(Ye)throw new TypeError("Generator is already executing.");for(;ft&&(ft=0,yt[0]&&(ht=0)),ht;)try{if(Ye=1,tt&&(nt=2&yt[0]?tt.return:yt[0]?tt.throw||((nt=tt.return)&&nt.call(tt),0):tt.next)&&!(nt=nt.call(tt,yt[1])).done)return nt;switch(tt=0,nt&&(yt=[2&yt[0],nt.value]),yt[0]){case 0:case 1:nt=yt;break;case 4:return ht.label++,{value:yt[1],done:!1};case 5:ht.label++,tt=yt[1],yt=[0];continue;case 7:yt=ht.ops.pop(),ht.trys.pop();continue;default:if(nt=ht.trys,!((nt=nt.length>0&&nt[nt.length-1])||yt[0]!==6&&yt[0]!==2)){ht=0;continue}if(yt[0]===3&&(!nt||yt[1]>nt[0]&&yt[1]<nt[3])){ht.label=yt[1];break}if(yt[0]===6&&ht.label<nt[1]){ht.label=nt[1],nt=yt;break}if(nt&&ht.label<nt[2]){ht.label=nt[2],ht.ops.push(yt);break}nt[2]&&ht.ops.pop(),ht.trys.pop();continue}yt=Le.call(Be,ht)}catch(Ct){yt=[6,Ct],tt=0}finally{Ye=nt=0}if(5&yt[0])throw yt[1];return{value:yt[0]?yt[1]:void 0,done:!0}}([At,xt])}}}typeof SuppressedError=="function"&&SuppressedError;var r$3={exclude:[],include:[],logging:!0,timeout:1e3},o={},a$2={timeout:"true"},i$4=function(Be,Le){typeof window<"u"&&(o[Be]=Le)},u=function(){return Object.fromEntries(Object.entries(o).filter(function(Be){var Le,Ye=Be[0];return!(!((Le=r$3==null?void 0:r$3.exclude)===null||Le===void 0)&&Le.includes(Ye))}).filter(function(Be){var Le,Ye,tt,nt,ft=Be[0];return!((Le=r$3==null?void 0:r$3.include)===null||Le===void 0)&&Le.some(function(ht){return ht.includes(".")})?(Ye=r$3==null?void 0:r$3.include)===null||Ye===void 0?void 0:Ye.some(function(ht){return ht.startsWith(ft)}):((tt=r$3==null?void 0:r$3.include)===null||tt===void 0?void 0:tt.length)===0||((nt=r$3==null?void 0:r$3.include)===null||nt===void 0?void 0:nt.includes(ft))}).map(function(Be){return[Be[0],(0,Be[1])()]}))};function c$2(Be){return Be^=Be>>>16,Be=Math.imul(Be,2246822507),Be^=Be>>>13,Be=Math.imul(Be,3266489909),(Be^=Be>>>16)>>>0}var s$2=new Uint32Array([597399067,2869860233,951274213,2716044179]);function l(Be,Le){return Be<<Le|Be>>>32-Le}function d(Be,Le){var Ye;if(Le===void 0&&(Le=0),Le=Le?0|Le:0,typeof Be=="string"&&(Ye=Be,Be=new TextEncoder().encode(Ye).buffer),!(Be instanceof ArrayBuffer))throw new TypeError("Expected key to be ArrayBuffer or string");var tt=new Uint32Array([Le,Le,Le,Le]);(function(ft,ht){for(var gt=ft.byteLength/16|0,At=new Uint32Array(ft,0,4*gt),xt=0;xt<gt;xt++){var yt=At.subarray(4*xt,4*(xt+1));yt[0]=Math.imul(yt[0],s$2[0]),yt[0]=l(yt[0],15),yt[0]=Math.imul(yt[0],s$2[1]),ht[0]=ht[0]^yt[0],ht[0]=l(ht[0],19),ht[0]=ht[0]+ht[1],ht[0]=Math.imul(ht[0],5)+1444728091,yt[1]=Math.imul(yt[1],s$2[1]),yt[1]=l(yt[1],16),yt[1]=Math.imul(yt[1],s$2[2]),ht[1]=ht[1]^yt[1],ht[1]=l(ht[1],17),ht[1]=ht[1]+ht[2],ht[1]=Math.imul(ht[1],5)+197830471,yt[2]=Math.imul(yt[2],s$2[2]),yt[2]=l(yt[2],17),yt[2]=Math.imul(yt[2],s$2[3]),ht[2]=ht[2]^yt[2],ht[2]=l(ht[2],15),ht[2]=ht[2]+ht[3],ht[2]=Math.imul(ht[2],5)+2530024501,yt[3]=Math.imul(yt[3],s$2[3]),yt[3]=l(yt[3],18),yt[3]=Math.imul(yt[3],s$2[0]),ht[3]=ht[3]^yt[3],ht[3]=l(ht[3],13),ht[3]=ht[3]+ht[0],ht[3]=Math.imul(ht[3],5)+850148119}})(Be,tt),function(ft,ht){var gt=ft.byteLength/16|0,At=ft.byteLength%16,xt=new Uint32Array(4),yt=new Uint8Array(ft,16*gt,At);switch(At){case 15:xt[3]=xt[3]^yt[14]<<16;case 14:xt[3]=xt[3]^yt[13]<<8;case 13:xt[3]=xt[3]^yt[12],xt[3]=Math.imul(xt[3],s$2[3]),xt[3]=l(xt[3],18),xt[3]=Math.imul(xt[3],s$2[0]),ht[3]=ht[3]^xt[3];case 12:xt[2]=xt[2]^yt[11]<<24;case 11:xt[2]=xt[2]^yt[10]<<16;case 10:xt[2]=xt[2]^yt[9]<<8;case 9:xt[2]=xt[2]^yt[8],xt[2]=Math.imul(xt[2],s$2[2]),xt[2]=l(xt[2],17),xt[2]=Math.imul(xt[2],s$2[3]),ht[2]=ht[2]^xt[2];case 8:xt[1]=xt[1]^yt[7]<<24;case 7:xt[1]=xt[1]^yt[6]<<16;case 6:xt[1]=xt[1]^yt[5]<<8;case 5:xt[1]=xt[1]^yt[4],xt[1]=Math.imul(xt[1],s$2[1]),xt[1]=l(xt[1],16),xt[1]=Math.imul(xt[1],s$2[2]),ht[1]=ht[1]^xt[1];case 4:xt[0]=xt[0]^yt[3]<<24;case 3:xt[0]=xt[0]^yt[2]<<16;case 2:xt[0]=xt[0]^yt[1]<<8;case 1:xt[0]=xt[0]^yt[0],xt[0]=Math.imul(xt[0],s$2[0]),xt[0]=l(xt[0],15),xt[0]=Math.imul(xt[0],s$2[1]),ht[0]=ht[0]^xt[0]}}(Be,tt),function(ft,ht){ht[0]=ht[0]^ft.byteLength,ht[1]=ht[1]^ft.byteLength,ht[2]=ht[2]^ft.byteLength,ht[3]=ht[3]^ft.byteLength,ht[0]=ht[0]+ht[1]|0,ht[0]=ht[0]+ht[2]|0,ht[0]=ht[0]+ht[3]|0,ht[1]=ht[1]+ht[0]|0,ht[2]=ht[2]+ht[0]|0,ht[3]=ht[3]+ht[0]|0,ht[0]=c$2(ht[0]),ht[1]=c$2(ht[1]),ht[2]=c$2(ht[2]),ht[3]=c$2(ht[3]),ht[0]=ht[0]+ht[1]|0,ht[0]=ht[0]+ht[2]|0,ht[0]=ht[0]+ht[3]|0,ht[1]=ht[1]+ht[0]|0,ht[2]=ht[2]+ht[0]|0,ht[3]=ht[3]+ht[0]|0}(Be,tt);var nt=new Uint8Array(tt.buffer);return Array.from(nt).map(function(ft){return ft.toString(16).padStart(2,"0")}).join("")}function f$1(Be,Le){return new Promise(function(Ye){setTimeout(function(){return Ye(Le)},Be)})}function m$1(Be,Le,Ye){return Promise.all(Be.map(function(tt){return Promise.race([tt,f$1(Le,Ye)])}))}function g(){return e$1(this,void 0,void 0,function(){var Be,Le,Ye,tt,nt;return n$1(this,function(ft){switch(ft.label){case 0:return ft.trys.push([0,2,,3]),Be=u(),Le=Object.keys(Be),[4,m$1(Object.values(Be),(r$3==null?void 0:r$3.timeout)||1e3,a$2)];case 1:return Ye=ft.sent(),tt=Ye.filter(function(ht){return ht!==void 0}),nt={},tt.forEach(function(ht,gt){nt[Le[gt]]=ht}),[2,p(nt,r$3.exclude||[],r$3.include||[],"")];case 2:throw ft.sent();case 3:return[2]}})})}function p(Be,Le,Ye,tt){tt===void 0&&(tt="");for(var nt={},ft=function(xt,yt){var Ct=tt+xt+".";if(typeof yt!="object"||Array.isArray(yt)){var Et=Le.some(function(bt){return Ct.startsWith(bt)}),vt=Ye.some(function(bt){return Ct.startsWith(bt)});Et&&!vt||(nt[xt]=yt)}else{var kt=p(yt,Le,Ye,Ct);Object.keys(kt).length>0&&(nt[xt]=kt)}},ht=0,gt=Object.entries(Be);ht<gt.length;ht++){var At=gt[ht];ft(At[0],At[1])}return nt}function w$d(Be){return e$1(this,void 0,void 0,function(){var Le,Ye;return n$1(this,function(tt){switch(tt.label){case 0:return tt.trys.push([0,2,,3]),[4,g()];case 1:return Le=tt.sent(),Ye=d(JSON.stringify(Le)),Math.random()<1e-5&&r$3.logging&&function(nt,ft){e$1(this,void 0,void 0,function(){var ht,gt;return n$1(this,function(At){switch(At.label){case 0:if(ht="https://logging.thumbmarkjs.com/v1/log",gt={thumbmark:nt,components:ft,version:"0.20.6"},sessionStorage.getItem("_tmjs_l"))return[3,4];sessionStorage.setItem("_tmjs_l","1"),At.label=1;case 1:return At.trys.push([1,3,,4]),[4,fetch(ht,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(gt)})];case 2:case 3:return At.sent(),[3,4];case 4:return[2]}})})}(Ye,Le),[2,Ye.toString()];case 2:throw tt.sent();case 3:return[2]}})})}function b$1(){if(typeof navigator>"u")return{name:"unknown",version:"unknown"};for(var Be=navigator.userAgent,Le={edg:"Edge",opr:"Opera",samsung:"SamsungBrowser"},Ye=0,tt=[/(?<name>SamsungBrowser)\/(?<version>\d+(?:\.\d+)?)/,/(?<name>Edge|Edg)\/(?<version>\d+(?:\.\d+)?)/,/(?<name>(?:Chrome|Chromium|OPR|Opera|Vivaldi|Brave))\/(?<version>\d+(?:\.\d+)?)/,/(?<name>(?:Firefox|Waterfox|Iceweasel|IceCat))\/(?<version>\d+(?:\.\d+)?)/,/(?<name>Safari)\/(?<version>\d+(?:\.\d+)?)/,/(?<name>MSIE|Trident|IEMobile).+?(?<version>\d+(?:\.\d+)?)/,/(?<name>samsung).*Version\/(?<version>\d+(?:\.\d+)?)/i,/(?<name>[A-Za-z]+)\/(?<version>\d+(?:\.\d+)?)/];Ye<tt.length;Ye++){var nt=tt[Ye],ft=Be.match(nt);if(ft&&ft.groups)return{name:Le[ft.groups.name.toLowerCase()]||ft.groups.name,version:ft.groups.version}}return{name:"unknown",version:"unknown"}}function S(Be){for(var Le=0,Ye=0;Ye<Be.length;++Ye)Le+=Math.abs(Be[Ye]);return Le}var M=b$1();function E(Be,Le,Ye){for(var tt=[],nt=0;nt<Be[0].data.length;nt++){for(var ft=[],ht=0;ht<Be.length;ht++)ft.push(Be[ht].data[nt]);tt.push(P(ft))}var gt=new Uint8ClampedArray(tt);return new ImageData(gt,Le,Ye)}function P(Be){if(Be.length===0)return 0;for(var Le={},Ye=0,tt=Be;Ye<tt.length;Ye++)Le[ft=tt[Ye]]=(Le[ft]||0)+1;var nt=Be[0];for(var ft in Le)Le[ft]>Le[nt]&&(nt=parseInt(ft,10));return nt}["SamsungBrowser","Safari"].includes(M.name)||i$4("audio",function(){return e$1(this,void 0,void 0,function(){return n$1(this,function(Be){return[2,new Promise(function(Le,Ye){try{var tt=new(window.OfflineAudioContext||window.webkitOfflineAudioContext)(1,5e3,44100),nt=tt.createBufferSource(),ft=tt.createOscillator();ft.frequency.value=1e3;var ht,gt=tt.createDynamicsCompressor();gt.threshold.value=-50,gt.knee.value=40,gt.ratio.value=12,gt.attack.value=0,gt.release.value=.2,ft.connect(gt),gt.connect(tt.destination),ft.start(),tt.oncomplete=function(At){ht=At.renderedBuffer.getChannelData(0),Le({sampleHash:S(ht),oscillator:ft.type,maxChannels:tt.destination.maxChannelCount,channelCountMode:nt.channelCountMode})},tt.startRendering()}catch(At){console.error("Error creating audio fingerprint:",At),Ye(At)}})]})})});var A=b$1(),C=A.name.toLowerCase(),x=A.version.split(".")[0]||"0",T=parseInt(x,10);C==="firefox"||C==="safari"&&T===17||i$4("canvas",function(){return document.createElement("canvas").getContext("2d"),new Promise(function(Be){var Le=Array.from({length:3},function(){return function(){var Ye=document.createElement("canvas"),tt=Ye.getContext("2d");if(!tt)return new ImageData(1,1);Ye.width=280,Ye.height=20;var nt=tt.createLinearGradient(0,0,Ye.width,Ye.height);nt.addColorStop(0,"red"),nt.addColorStop(.16666666666666666,"orange"),nt.addColorStop(.3333333333333333,"yellow"),nt.addColorStop(.5,"green"),nt.addColorStop(.6666666666666666,"blue"),nt.addColorStop(.8333333333333334,"indigo"),nt.addColorStop(1,"violet"),tt.fillStyle=nt,tt.fillRect(0,0,Ye.width,Ye.height);var ft="Random Text WMwmil10Oo";return tt.font="23.123px Arial",tt.fillStyle="black",tt.fillText(ft,-5,15),tt.fillStyle="rgba(0, 0, 255, 0.5)",tt.fillText(ft,-3.3,17.7),tt.beginPath(),tt.moveTo(0,0),tt.lineTo(2*Ye.width/7,Ye.height),tt.strokeStyle="white",tt.lineWidth=2,tt.stroke(),tt.getImageData(0,0,Ye.width,Ye.height)}()});Be({commonImageDataHash:d(E(Le,280,20).data.toString()).toString()})})});var k,I=["Arial","Arial Black","Arial Narrow","Arial Rounded MT","Arimo","Archivo","Barlow","Bebas Neue","Bitter","Bookman","Calibri","Cabin","Candara","Century","Century Gothic","Comic Sans MS","Constantia","Courier","Courier New","Crimson Text","DM Mono","DM Sans","DM Serif Display","DM Serif Text","Dosis","Droid Sans","Exo","Fira Code","Fira Sans","Franklin Gothic Medium","Garamond","Geneva","Georgia","Gill Sans","Helvetica","Impact","Inconsolata","Indie Flower","Inter","Josefin Sans","Karla","Lato","Lexend","Lucida Bright","Lucida Console","Lucida Sans Unicode","Manrope","Merriweather","Merriweather Sans","Montserrat","Myriad","Noto Sans","Nunito","Nunito Sans","Open Sans","Optima","Orbitron","Oswald","Pacifico","Palatino","Perpetua","PT Sans","PT Serif","Poppins","Prompt","Public Sans","Quicksand","Rajdhani","Recursive","Roboto","Roboto Condensed","Rockwell","Rubik","Segoe Print","Segoe Script","Segoe UI","Sora","Source Sans Pro","Space Mono","Tahoma","Taviraj","Times","Times New Roman","Titillium Web","Trebuchet MS","Ubuntu","Varela Round","Verdana","Work Sans"],R$1=["monospace","sans-serif","serif"];function L(Be,Le){if(!Be)throw new Error("Canvas context not supported");return Be.font,Be.font="72px ".concat(Le),Be.measureText("WwMmLli0Oo").width}function _$1(){var Be,Le=document.createElement("canvas"),Ye=(Be=Le.getContext("webgl"))!==null&&Be!==void 0?Be:Le.getContext("experimental-webgl");if(Ye&&"getParameter"in Ye)try{var tt=(Ye.getParameter(Ye.VENDOR)||"").toString(),nt=(Ye.getParameter(Ye.RENDERER)||"").toString(),ft={vendor:tt,renderer:nt,version:(Ye.getParameter(Ye.VERSION)||"").toString(),shadingLanguageVersion:(Ye.getParameter(Ye.SHADING_LANGUAGE_VERSION)||"").toString()};if(!nt.length||!tt.length){var ht=Ye.getExtension("WEBGL_debug_renderer_info");if(ht){var gt=(Ye.getParameter(ht.UNMASKED_VENDOR_WEBGL)||"").toString(),At=(Ye.getParameter(ht.UNMASKED_RENDERER_WEBGL)||"").toString();gt&&(ft.vendorUnmasked=gt),At&&(ft.rendererUnmasked=At)}}return ft}catch{}return"undefined"}function O(){var Be=new Float32Array(1),Le=new Uint8Array(Be.buffer);return Be[0]=1/0,Be[0]=Be[0]-Be[0],Le[3]}function B(Be,Le){var Ye={};return Le.forEach(function(tt){var nt=function(ft){if(ft.length===0)return null;var ht={};ft.forEach(function(xt){var yt=String(xt);ht[yt]=(ht[yt]||0)+1});var gt=ft[0],At=1;return Object.keys(ht).forEach(function(xt){ht[xt]>At&&(gt=xt,At=ht[xt])}),gt}(Be.map(function(ft){return tt in ft?ft[tt]:void 0}).filter(function(ft){return ft!==void 0}));nt&&(Ye[tt]=nt)}),Ye}function D(){var Be=[],Le={"prefers-contrast":["high","more","low","less","forced","no-preference"],"any-hover":["hover","none"],"any-pointer":["none","coarse","fine"],pointer:["none","coarse","fine"],hover:["hover","none"],update:["fast","slow"],"inverted-colors":["inverted","none"],"prefers-reduced-motion":["reduce","no-preference"],"prefers-reduced-transparency":["reduce","no-preference"],scripting:["none","initial-only","enabled"],"forced-colors":["active","none"]};return Object.keys(Le).forEach(function(Ye){Le[Ye].forEach(function(tt){matchMedia("(".concat(Ye,": ").concat(tt,")")).matches&&Be.push("".concat(Ye,": ").concat(tt))})}),Be}b$1().name!="Firefox"&&i$4("fonts",function(){var Be=this;return new Promise(function(Le,Ye){try{(function(tt){var nt;e$1(this,void 0,void 0,function(){var ft,ht,gt;return n$1(this,function(At){switch(At.label){case 0:return document.body?[3,2]:[4,(xt=50,new Promise(function(Ct){return setTimeout(Ct,xt,yt)}))];case 1:return At.sent(),[3,0];case 2:if((ft=document.createElement("iframe")).setAttribute("frameBorder","0"),(ht=ft.style).setProperty("position","fixed"),ht.setProperty("display","block","important"),ht.setProperty("visibility","visible"),ht.setProperty("border","0"),ht.setProperty("opacity","0"),ft.src="about:blank",document.body.appendChild(ft),!(gt=ft.contentDocument||((nt=ft.contentWindow)===null||nt===void 0?void 0:nt.document)))throw new Error("Iframe document is not accessible");return tt({iframe:gt}),setTimeout(function(){document.body.removeChild(ft)},0),[2]}var xt,yt})})})(function(tt){var nt=tt.iframe;return e$1(Be,void 0,void 0,function(){var ft,ht,gt,At;return n$1(this,function(xt){return ft=nt.createElement("canvas"),ht=ft.getContext("2d"),gt=R$1.map(function(yt){return L(ht,yt)}),At={},I.forEach(function(yt){var Ct=L(ht,yt);gt.includes(Ct)||(At[yt]=Ct)}),Le(At),[2]})})})}catch{Ye({error:"unsupported"})}})}),i$4("hardware",function(){return new Promise(function(Be,Le){var Ye=navigator.deviceMemory!==void 0?navigator.deviceMemory:0,tt=window.performance&&window.performance.memory?window.performance.memory:0;Be({videocard:_$1(),architecture:O(),deviceMemory:Ye.toString()||"undefined",jsHeapSizeLimit:tt.jsHeapSizeLimit||0})})}),i$4("locales",function(){return new Promise(function(Be){Be({languages:navigator.language,timezone:Intl.DateTimeFormat().resolvedOptions().timeZone})})}),i$4("permissions",function(){return e$1(this,void 0,void 0,function(){var Be;return n$1(this,function(Le){return k=(r$3==null?void 0:r$3.permissions_to_check)||["accelerometer","accessibility","accessibility-events","ambient-light-sensor","background-fetch","background-sync","bluetooth","camera","clipboard-read","clipboard-write","device-info","display-capture","gyroscope","geolocation","local-fonts","magnetometer","microphone","midi","nfc","notifications","payment-handler","persistent-storage","push","speaker","storage-access","top-level-storage-access","window-management","query"],b$1().name.toLowerCase()==="safari"&&(k=k.filter(function(Ye){return!["camera","geolocation","microphone"].includes(Ye)})),Be=Array.from({length:(r$3==null?void 0:r$3.retries)||3},function(){return function(){return e$1(this,void 0,void 0,function(){var Ye,tt,nt,ft,ht;return n$1(this,function(gt){switch(gt.label){case 0:Ye={},tt=0,nt=k,gt.label=1;case 1:if(!(tt<nt.length))return[3,6];ft=nt[tt],gt.label=2;case 2:return gt.trys.push([2,4,,5]),[4,navigator.permissions.query({name:ft})];case 3:return ht=gt.sent(),Ye[ft]=ht.state.toString(),[3,5];case 4:return gt.sent(),[3,5];case 5:return tt++,[3,1];case 6:return[2,Ye]}})})}()}),[2,Promise.all(Be).then(function(Ye){return B(Ye,k)})]})})}),i$4("plugins",function(){var Be=[];if(navigator.plugins)for(var Le=0;Le<navigator.plugins.length;Le++){var Ye=navigator.plugins[Le];Be.push([Ye.name,Ye.filename,Ye.description].join("|"))}return new Promise(function(tt){tt({plugins:Be})})}),i$4("screen",function(){return new Promise(function(Be){Be({is_touchscreen:navigator.maxTouchPoints>0,maxTouchPoints:navigator.maxTouchPoints,colorDepth:screen.colorDepth,mediaMatches:D()})})}),i$4("system",function(){return new Promise(function(Be){var Le=b$1(),Ye={platform:window.navigator.platform,productSub:navigator.productSub,product:navigator.product,useragent:navigator.userAgent,hardwareConcurrency:navigator.hardwareConcurrency,browser:{name:Le.name,version:Le.version}};Le.name.toLowerCase()!=="safari"&&(Ye.applePayVersion=function(){if(window.location.protocol==="https:"&&typeof window.ApplePaySession=="function")try{for(var tt=window.ApplePaySession.supportsVersion,nt=15;nt>0;nt--)if(tt(nt))return nt}catch{return 0}return 0}(),Ye.cookieEnabled=window.navigator.cookieEnabled),Be(Ye)})});var U,N=b$1().name!=="SamsungBrowser"?1:3,F=null;i$4("webgl",function(){return e$1(this,void 0,void 0,function(){var Be;return n$1(this,function(Le){typeof document<"u"&&((U=document.createElement("canvas")).width=200,U.height=100,F=U.getContext("webgl"));try{if(!F)throw new Error("WebGL not supported");return Be=Array.from({length:N},function(){return function(){try{if(!F)throw new Error("WebGL not supported");var Ye=`
67
67
  attribute vec2 position;
68
68
  void main() {
69
69
  gl_Position = vec4(position, 0.0, 1.0);
@@ -2777,7 +2777,7 @@ https://fb.me/react-async-component-lifecycle-hooks`)}if(typeof Be.getDerivedSta
2777
2777
  * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
2778
2778
  */lodash_min.exports,function(Be,Le){(function(){function Ye(Ur,a0,mr){switch(mr.length){case 0:return Ur.call(a0);case 1:return Ur.call(a0,mr[0]);case 2:return Ur.call(a0,mr[0],mr[1]);case 3:return Ur.call(a0,mr[0],mr[1],mr[2])}return Ur.apply(a0,mr)}function tt(Ur,a0,mr,S0){for(var Q0=-1,R0=Ur==null?0:Ur.length;++Q0<R0;){var qa=Ur[Q0];a0(S0,qa,mr(qa),Ur)}return S0}function nt(Ur,a0){for(var mr=-1,S0=Ur==null?0:Ur.length;++mr<S0&&a0(Ur[mr],mr,Ur)!==!1;);return Ur}function ft(Ur,a0){for(var mr=Ur==null?0:Ur.length;mr--&&a0(Ur[mr],mr,Ur)!==!1;);return Ur}function ht(Ur,a0){for(var mr=-1,S0=Ur==null?0:Ur.length;++mr<S0;)if(!a0(Ur[mr],mr,Ur))return!1;return!0}function gt(Ur,a0){for(var mr=-1,S0=Ur==null?0:Ur.length,Q0=0,R0=[];++mr<S0;){var qa=Ur[mr];a0(qa,mr,Ur)&&(R0[Q0++]=qa)}return R0}function At(Ur,a0){return!!(Ur!=null&&Ur.length)&&Tt(Ur,a0,0)>-1}function xt(Ur,a0,mr){for(var S0=-1,Q0=Ur==null?0:Ur.length;++S0<Q0;)if(mr(a0,Ur[S0]))return!0;return!1}function yt(Ur,a0){for(var mr=-1,S0=Ur==null?0:Ur.length,Q0=Array(S0);++mr<S0;)Q0[mr]=a0(Ur[mr],mr,Ur);return Q0}function Ct(Ur,a0){for(var mr=-1,S0=a0.length,Q0=Ur.length;++mr<S0;)Ur[Q0+mr]=a0[mr];return Ur}function Et(Ur,a0,mr,S0){var Q0=-1,R0=Ur==null?0:Ur.length;for(S0&&R0&&(mr=Ur[++Q0]);++Q0<R0;)mr=a0(mr,Ur[Q0],Q0,Ur);return mr}function vt(Ur,a0,mr,S0){var Q0=Ur==null?0:Ur.length;for(S0&&Q0&&(mr=Ur[--Q0]);Q0--;)mr=a0(mr,Ur[Q0],Q0,Ur);return mr}function kt(Ur,a0){for(var mr=-1,S0=Ur==null?0:Ur.length;++mr<S0;)if(a0(Ur[mr],mr,Ur))return!0;return!1}function bt(Ur){return Ur.split("")}function wt(Ur){return Ur.match(gn)||[]}function It(Ur,a0,mr){var S0;return mr(Ur,function(Q0,R0,qa){if(a0(Q0,R0,qa))return S0=R0,!1}),S0}function Rt(Ur,a0,mr,S0){for(var Q0=Ur.length,R0=mr+(S0?1:-1);S0?R0--:++R0<Q0;)if(a0(Ur[R0],R0,Ur))return R0;return-1}function Tt(Ur,a0,mr){return a0===a0?Zt(Ur,a0,mr):Rt(Ur,Pt,mr)}function Bt(Ur,a0,mr,S0){for(var Q0=mr-1,R0=Ur.length;++Q0<R0;)if(S0(Ur[Q0],a0))return Q0;return-1}function Pt(Ur){return Ur!==Ur}function Dt(Ur,a0){var mr=Ur==null?0:Ur.length;return mr?qt(Ur,a0)/mr:V0}function Ot(Ur){return function(a0){return a0==null?pr:a0[Ur]}}function Lt(Ur){return function(a0){return Ur==null?pr:Ur[a0]}}function Wt(Ur,a0,mr,S0,Q0){return Q0(Ur,function(R0,qa,j3){mr=S0?(S0=!1,R0):a0(mr,R0,qa,j3)}),mr}function $t(Ur,a0){var mr=Ur.length;for(Ur.sort(a0);mr--;)Ur[mr]=Ur[mr].value;return Ur}function qt(Ur,a0){for(var mr,S0=-1,Q0=Ur.length;++S0<Q0;){var R0=a0(Ur[S0]);R0!==pr&&(mr=mr===pr?R0:mr+R0)}return mr}function Ht(Ur,a0){for(var mr=-1,S0=Array(Ur);++mr<Ur;)S0[mr]=a0(mr);return S0}function Ut(Ur,a0){return yt(a0,function(mr){return[mr,Ur[mr]]})}function Ft(Ur){return Ur&&Ur.slice(0,lr(Ur)+1).replace(E0,"")}function Xt(Ur){return function(a0){return Ur(a0)}}function _t(Ur,a0){return yt(a0,function(mr){return Ur[mr]})}function Mt(Ur,a0){return Ur.has(a0)}function jt(Ur,a0){for(var mr=-1,S0=Ur.length;++mr<S0&&Tt(a0,Ur[mr],0)>-1;);return mr}function zt(Ur,a0){for(var mr=Ur.length;mr--&&Tt(a0,Ur[mr],0)>-1;);return mr}function Gt(Ur,a0){for(var mr=Ur.length,S0=0;mr--;)Ur[mr]===a0&&++S0;return S0}function Yt(Ur){return"\\"+G4[Ur]}function ar(Ur,a0){return Ur==null?pr:Ur[a0]}function tr(Ur){return _4.test(Ur)}function sr(Ur){return M4.test(Ur)}function dr(Ur){for(var a0,mr=[];!(a0=Ur.next()).done;)mr.push(a0.value);return mr}function rr(Ur){var a0=-1,mr=Array(Ur.size);return Ur.forEach(function(S0,Q0){mr[++a0]=[Q0,S0]}),mr}function gr(Ur,a0){return function(mr){return Ur(a0(mr))}}function yr(Ur,a0){for(var mr=-1,S0=Ur.length,Q0=0,R0=[];++mr<S0;){var qa=Ur[mr];qa!==a0&&qa!==Nr||(Ur[mr]=Nr,R0[Q0++]=mr)}return R0}function or(Ur){var a0=-1,mr=Array(Ur.size);return Ur.forEach(function(S0){mr[++a0]=S0}),mr}function ir(Ur){var a0=-1,mr=Array(Ur.size);return Ur.forEach(function(S0){mr[++a0]=[S0,S0]}),mr}function Zt(Ur,a0,mr){for(var S0=mr-1,Q0=Ur.length;++S0<Q0;)if(Ur[S0]===a0)return S0;return-1}function Qt(Ur,a0,mr){for(var S0=mr+1;S0--;)if(Ur[S0]===a0)return S0;return S0}function er(Ur){return tr(Ur)?hr(Ur):K4(Ur)}function nr(Ur){return tr(Ur)?ur(Ur):bt(Ur)}function lr(Ur){for(var a0=Ur.length;a0--&&K0.test(Ur.charAt(a0)););return a0}function hr(Ur){for(var a0=L3.lastIndex=0;L3.test(Ur);)++a0;return a0}function ur(Ur){return Ur.match(L3)||[]}function xr(Ur){return Ur.match(L4)||[]}var pr,Mr="4.17.21",_r=200,Zr="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",qr="Expected a function",$r="Invalid `variable` option passed into `_.template`",Pr="__lodash_hash_undefined__",Ir=500,Nr="__lodash_placeholder__",Or=1,Vr=2,Yr=4,e0=1,Rr=2,wr=1,Tr=2,n0=4,Wr=8,Jr=16,t0=32,h0=64,zr=128,m0=256,x0=512,N0=30,J0="...",X0=800,D0=16,rn=1,mn=2,$0=3,H0=1/0,u0=9007199254740991,w0=17976931348623157e292,V0=NaN,U0=4294967295,ln=U0-1,Cn=U0>>>1,Dr=[["ary",zr],["bind",wr],["bindKey",Tr],["curry",Wr],["curryRight",Jr],["flip",x0],["partial",t0],["partialRight",h0],["rearg",m0]],r0="[object Arguments]",c0="[object Array]",g0="[object AsyncFunction]",O0="[object Boolean]",W0="[object Date]",en="[object DOMException]",G0="[object Error]",Bn="[object Function]",In="[object GeneratorFunction]",fn="[object Map]",Nn="[object Number]",bi="[object Null]",Gn="[object Object]",zn="[object Promise]",Yi="[object Proxy]",pi="[object RegExp]",sa="[object Set]",bs="[object String]",L0="[object Symbol]",Dl="[object Undefined]",Ma="[object WeakMap]",Ii="[object WeakSet]",Zi="[object ArrayBuffer]",Ji="[object DataView]",Yo="[object Float32Array]",Is="[object Float64Array]",Zo="[object Int8Array]",Si="[object Int16Array]",va="[object Int32Array]",es="[object Uint8Array]",yn="[object Uint8ClampedArray]",Jo="[object Uint16Array]",uo="[object Uint32Array]",on=/\b__p \+= '';/g,g1=/\b(__p \+=) '' \+/g,Ln=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Ar=/&(?:amp|lt|gt|quot|#39);/g,br=/[&<>"']/g,Br=RegExp(Ar.source),Lr=RegExp(br.source),Gr=/<%-([\s\S]+?)%>/g,Xr=/<%([\s\S]+?)%>/g,Hr=/<%=([\s\S]+?)%>/g,s0=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,f0=/^\w*$/,o0=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,d0=/[\\^$.*+?()[\]{}|]/g,T0=RegExp(d0.source),E0=/^\s+/,K0=/\s/,b0=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,v0=/\{\n\/\* \[wrapped with (.+)\] \*/,An=/,? & /,gn=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Qn=/[()=,{}\[\]\/\s]/,Zn=/\\(\\)?/g,Au=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,e2=/\w*$/,Ss=/^[-+]0x[0-9a-f]+$/i,wi=/^0b[01]+$/i,t2=/^\[object .+?Constructor\]$/,ws=/^0o[0-7]+$/i,po=/^(?:0|[1-9]\d*)$/,r2=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Ka=/($^)/,fi=/['\n\r\u2028\u2029\\]/g,oa="\\ud800-\\udfff",n2="\\u0300-\\u036f",$a="\\ufe20-\\ufe2f",A0="\\u20d0-\\u20ff",_0=n2+$a+A0,_n="\\u2700-\\u27bf",ts="a-z\\xdf-\\xf6\\xf8-\\xff",Ri="\\xac\\xb1\\xd7\\xf7",On="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",rs="\\u2000-\\u206f",ns=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",a2="A-Z\\xc0-\\xd6\\xd8-\\xde",Rs="\\ufe0e\\ufe0f",xu=Ri+On+rs+ns,A1="['’]",P3="["+oa+"]",fd="["+xu+"]",Nl="["+_0+"]",hd="\\d+",md="["+_n+"]",x1="["+ts+"]",y1="[^"+oa+xu+hd+_n+ts+a2+"]",O3="\\ud83c[\\udffb-\\udfff]",S4="(?:"+Nl+"|"+O3+")",j9="[^"+oa+"]",D3="(?:\\ud83c[\\udde6-\\uddff]){2}",N3="[\\ud800-\\udbff][\\udc00-\\udfff]",Ll="["+a2+"]",F9="\\u200d",Q9="(?:"+x1+"|"+y1+")",w4="(?:"+Ll+"|"+y1+")",V9="(?:"+A1+"(?:d|ll|m|re|s|t|ve))?",U9="(?:"+A1+"(?:D|LL|M|RE|S|T|VE))?",H9=S4+"?",G9="["+Rs+"]?",R4="(?:"+F9+"(?:"+[j9,D3,N3].join("|")+")"+G9+H9+")*",T4="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",B4="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",z9=G9+H9+R4,P4="(?:"+[md,D3,N3].join("|")+")"+z9,O4="(?:"+[j9+Nl+"?",Nl,D3,N3,P3].join("|")+")",D4=RegExp(A1,"g"),N4=RegExp(Nl,"g"),L3=RegExp(O3+"(?="+O3+")|"+O4+z9,"g"),L4=RegExp([Ll+"?"+x1+"+"+V9+"(?="+[fd,Ll,"$"].join("|")+")",w4+"+"+U9+"(?="+[fd,Ll+Q9,"$"].join("|")+")",Ll+"?"+Q9+"+"+V9,Ll+"+"+U9,B4,T4,hd,P4].join("|"),"g"),_4=RegExp("["+F9+oa+_0+Rs+"]"),M4=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,j4=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],F4=-1,Mn={};Mn[Yo]=Mn[Is]=Mn[Zo]=Mn[Si]=Mn[va]=Mn[es]=Mn[yn]=Mn[Jo]=Mn[uo]=!0,Mn[r0]=Mn[c0]=Mn[Zi]=Mn[O0]=Mn[Ji]=Mn[W0]=Mn[G0]=Mn[Bn]=Mn[fn]=Mn[Nn]=Mn[Gn]=Mn[pi]=Mn[sa]=Mn[bs]=Mn[Ma]=!1;var Dn={};Dn[r0]=Dn[c0]=Dn[Zi]=Dn[Ji]=Dn[O0]=Dn[W0]=Dn[Yo]=Dn[Is]=Dn[Zo]=Dn[Si]=Dn[va]=Dn[fn]=Dn[Nn]=Dn[Gn]=Dn[pi]=Dn[sa]=Dn[bs]=Dn[L0]=Dn[es]=Dn[yn]=Dn[Jo]=Dn[uo]=!0,Dn[G0]=Dn[Bn]=Dn[Ma]=!1;var Q4={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},U4={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},H4={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},G4={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},z4=parseFloat,W4=parseInt,W9=typeof commonjsGlobal=="object"&&commonjsGlobal&&commonjsGlobal.Object===Object&&commonjsGlobal,X4=typeof self=="object"&&self&&self.Object===Object&&self,ka=W9||X4||Function("return this")(),_3=Le&&!Le.nodeType&&Le,E1=_3&&!0&&Be&&!Be.nodeType&&Be,X9=E1&&E1.exports===_3,M3=X9&&W9.process,Ti=function(){try{var Ur=E1&&E1.require&&E1.require("util").types;return Ur||M3&&M3.binding&&M3.binding("util")}catch{}}(),K9=Ti&&Ti.isArrayBuffer,$9=Ti&&Ti.isDate,q9=Ti&&Ti.isMap,Y9=Ti&&Ti.isRegExp,Z9=Ti&&Ti.isSet,J9=Ti&&Ti.isTypedArray,K4=Ot("length"),$4=Lt(Q4),q4=Lt(U4),Y4=Lt(H4),Z4=function Ur(a0){function mr(Nt){if($n(Nt)&&!Y0(Nt)&&!(Nt instanceof R0)){if(Nt instanceof Q0)return Nt;if(Sn.call(Nt,"__wrapped__"))return Kf(Nt)}return new Q0(Nt)}function S0(){}function Q0(Nt,Vt){this.__wrapped__=Nt,this.__actions__=[],this.__chain__=!!Vt,this.__index__=0,this.__values__=pr}function R0(Nt){this.__wrapped__=Nt,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=U0,this.__views__=[]}function qa(){var Nt=new R0(this.__wrapped__);return Nt.__actions__=Ya(this.__actions__),Nt.__dir__=this.__dir__,Nt.__filtered__=this.__filtered__,Nt.__iteratees__=Ya(this.__iteratees__),Nt.__takeCount__=this.__takeCount__,Nt.__views__=Ya(this.__views__),Nt}function j3(){if(this.__filtered__){var Nt=new R0(this);Nt.__dir__=-1,Nt.__filtered__=!0}else Nt=this.clone(),Nt.__dir__*=-1;return Nt}function J4(){var Nt=this.__wrapped__.value(),Vt=this.__dir__,Jt=Y0(Nt),cr=Vt<0,Er=Jt?Nt.length:0,Sr=cm(0,Er,this.__views__),jr=Sr.start,Fr=Sr.end,Kr=Fr-jr,l0=cr?Fr:jr-1,i0=this.__iteratees__,p0=i0.length,k0=0,B0=Ta(Kr,this.__takeCount__);if(!Jt||!cr&&Er==Kr&&B0==Kr)return Cf(Nt,this.__actions__);var M0=[];e:for(;Kr--&&k0<B0;){l0+=Vt;for(var tn=-1,F0=Nt[l0];++tn<p0;){var dn=i0[tn],pn=dn.iteratee,Pa=dn.type,ti=pn(F0);if(Pa==mn)F0=ti;else if(!ti){if(Pa==rn)continue e;break e}}M0[k0++]=F0}return M0}function C1(Nt){var Vt=-1,Jt=Nt==null?0:Nt.length;for(this.clear();++Vt<Jt;){var cr=Nt[Vt];this.set(cr[0],cr[1])}}function e6(){this.__data__=Bu?Bu(null):{},this.size=0}function t6(Nt){var Vt=this.has(Nt)&&delete this.__data__[Nt];return this.size-=Vt?1:0,Vt}function r6(Nt){var Vt=this.__data__;if(Bu){var Jt=Vt[Nt];return Jt===Pr?pr:Jt}return Sn.call(Vt,Nt)?Vt[Nt]:pr}function n6(Nt){var Vt=this.__data__;return Bu?Vt[Nt]!==pr:Sn.call(Vt,Nt)}function a6(Nt,Vt){var Jt=this.__data__;return this.size+=this.has(Nt)?0:1,Jt[Nt]=Bu&&Vt===pr?Pr:Vt,this}function fo(Nt){var Vt=-1,Jt=Nt==null?0:Nt.length;for(this.clear();++Vt<Jt;){var cr=Nt[Vt];this.set(cr[0],cr[1])}}function i6(){this.__data__=[],this.size=0}function s6(Nt){var Vt=this.__data__,Jt=gd(Vt,Nt);return!(Jt<0)&&(Jt==Vt.length-1?Vt.pop():Gd.call(Vt,Jt,1),--this.size,!0)}function o6(Nt){var Vt=this.__data__,Jt=gd(Vt,Nt);return Jt<0?pr:Vt[Jt][1]}function l6(Nt){return gd(this.__data__,Nt)>-1}function c6(Nt,Vt){var Jt=this.__data__,cr=gd(Jt,Nt);return cr<0?(++this.size,Jt.push([Nt,Vt])):Jt[cr][1]=Vt,this}function ho(Nt){var Vt=-1,Jt=Nt==null?0:Nt.length;for(this.clear();++Vt<Jt;){var cr=Nt[Vt];this.set(cr[0],cr[1])}}function u6(){this.size=0,this.__data__={hash:new C1,map:new(Ru||fo),string:new C1}}function d6(Nt){var Vt=Rd(this,Nt).delete(Nt);return this.size-=Vt?1:0,Vt}function p6(Nt){return Rd(this,Nt).get(Nt)}function f6(Nt){return Rd(this,Nt).has(Nt)}function h6(Nt,Vt){var Jt=Rd(this,Nt),cr=Jt.size;return Jt.set(Nt,Vt),this.size+=Jt.size==cr?0:1,this}function k1(Nt){var Vt=-1,Jt=Nt==null?0:Nt.length;for(this.__data__=new ho;++Vt<Jt;)this.add(Nt[Vt])}function m6(Nt){return this.__data__.set(Nt,Pr),this}function g6(Nt){return this.__data__.has(Nt)}function as(Nt){this.size=(this.__data__=new fo(Nt)).size}function A6(){this.__data__=new fo,this.size=0}function x6(Nt){var Vt=this.__data__,Jt=Vt.delete(Nt);return this.size=Vt.size,Jt}function y6(Nt){return this.__data__.get(Nt)}function E6(Nt){return this.__data__.has(Nt)}function C6(Nt,Vt){var Jt=this.__data__;if(Jt instanceof fo){var cr=Jt.__data__;if(!Ru||cr.length<_r-1)return cr.push([Nt,Vt]),this.size=++Jt.size,this;Jt=this.__data__=new ho(cr)}return Jt.set(Nt,Vt),this.size=Jt.size,this}function ef(Nt,Vt){var Jt=Y0(Nt),cr=!Jt&&T1(Nt),Er=!Jt&&!cr&&u2(Nt),Sr=!Jt&&!cr&&!Er&&Wl(Nt),jr=Jt||cr||Er||Sr,Fr=jr?Ht(Nt.length,x7):[],Kr=Fr.length;for(var l0 in Nt)!Vt&&!Sn.call(Nt,l0)||jr&&(l0=="length"||Er&&(l0=="offset"||l0=="parent")||Sr&&(l0=="buffer"||l0=="byteLength"||l0=="byteOffset")||xo(l0,Kr))||Fr.push(l0);return Fr}function tf(Nt){var Vt=Nt.length;return Vt?Nt[$3(0,Vt-1)]:pr}function v6(Nt,Vt){return Td(Ya(Nt),b1(Vt,0,Nt.length))}function k6(Nt){return Td(Ya(Nt))}function F3(Nt,Vt,Jt){(Jt===pr||is(Nt[Vt],Jt))&&(Jt!==pr||Vt in Nt)||mo(Nt,Vt,Jt)}function yu(Nt,Vt,Jt){var cr=Nt[Vt];Sn.call(Nt,Vt)&&is(cr,Jt)&&(Jt!==pr||Vt in Nt)||mo(Nt,Vt,Jt)}function gd(Nt,Vt){for(var Jt=Nt.length;Jt--;)if(is(Nt[Jt][0],Vt))return Jt;return-1}function b6(Nt,Vt,Jt,cr){return c2(Nt,function(Er,Sr,jr){Vt(cr,Er,Jt(Er),jr)}),cr}function rf(Nt,Vt){return Nt&&Bs(Vt,ga(Vt),Nt)}function I6(Nt,Vt){return Nt&&Bs(Vt,Ja(Vt),Nt)}function mo(Nt,Vt,Jt){Vt=="__proto__"&&zd?zd(Nt,Vt,{configurable:!0,enumerable:!0,value:Jt,writable:!0}):Nt[Vt]=Jt}function Q3(Nt,Vt){for(var Jt=-1,cr=Vt.length,Er=la(cr),Sr=Nt==null;++Jt<cr;)Er[Jt]=Sr?pr:Ap(Nt,Vt[Jt]);return Er}function b1(Nt,Vt,Jt){return Nt===Nt&&(Jt!==pr&&(Nt=Nt<=Jt?Nt:Jt),Vt!==pr&&(Nt=Nt>=Vt?Nt:Vt)),Nt}function Bi(Nt,Vt,Jt,cr,Er,Sr){var jr,Fr=Vt&Or,Kr=Vt&Vr,l0=Vt&Yr;if(Jt&&(jr=Er?Jt(Nt,cr,Er,Sr):Jt(Nt)),jr!==pr)return jr;if(!Wn(Nt))return Nt;var i0=Y0(Nt);if(i0){if(jr=dm(Nt),!Fr)return Ya(Nt,jr)}else{var p0=Ba(Nt),k0=p0==Bn||p0==In;if(u2(Nt))return kf(Nt,Fr);if(p0==Gn||p0==r0||k0&&!Er){if(jr=Kr||k0?{}:Vf(Nt),!Fr)return Kr?em(Nt,I6(jr,Nt)):J6(Nt,rf(jr,Nt))}else{if(!Dn[p0])return Er?Nt:{};jr=pm(Nt,p0,Fr)}}Sr||(Sr=new as);var B0=Sr.get(Nt);if(B0)return B0;Sr.set(Nt,jr),Fh(Nt)?Nt.forEach(function(F0){jr.add(Bi(F0,Vt,Jt,F0,Nt,Sr))}):jh(Nt)&&Nt.forEach(function(F0,dn){jr.set(dn,Bi(F0,Vt,Jt,dn,Nt,Sr))});var M0=l0?Kr?lp:sp:Kr?Ja:ga,tn=i0?pr:M0(Nt);return nt(tn||Nt,function(F0,dn){tn&&(dn=F0,F0=Nt[dn]),yu(jr,dn,Bi(F0,Vt,Jt,dn,Nt,Sr))}),jr}function S6(Nt){var Vt=ga(Nt);return function(Jt){return nf(Jt,Nt,Vt)}}function nf(Nt,Vt,Jt){var cr=Jt.length;if(Nt==null)return!cr;for(Nt=jn(Nt);cr--;){var Er=Jt[cr],Sr=Vt[Er],jr=Nt[Er];if(jr===pr&&!(Er in Nt)||!Sr(jr))return!1}return!0}function af(Nt,Vt,Jt){if(typeof Nt!="function")throw new Ni(qr);return Ou(function(){Nt.apply(pr,Jt)},Vt)}function Eu(Nt,Vt,Jt,cr){var Er=-1,Sr=At,jr=!0,Fr=Nt.length,Kr=[],l0=Vt.length;if(!Fr)return Kr;Jt&&(Vt=yt(Vt,Xt(Jt))),cr?(Sr=xt,jr=!1):Vt.length>=_r&&(Sr=Mt,jr=!1,Vt=new k1(Vt));e:for(;++Er<Fr;){var i0=Nt[Er],p0=Jt==null?i0:Jt(i0);if(i0=cr||i0!==0?i0:0,jr&&p0===p0){for(var k0=l0;k0--;)if(Vt[k0]===p0)continue e;Kr.push(i0)}else Sr(Vt,p0,cr)||Kr.push(i0)}return Kr}function w6(Nt,Vt){var Jt=!0;return c2(Nt,function(cr,Er,Sr){return Jt=!!Vt(cr,Er,Sr)}),Jt}function Ad(Nt,Vt,Jt){for(var cr=-1,Er=Nt.length;++cr<Er;){var Sr=Nt[cr],jr=Vt(Sr);if(jr!=null&&(Fr===pr?jr===jr&&!mi(jr):Jt(jr,Fr)))var Fr=jr,Kr=Sr}return Kr}function R6(Nt,Vt,Jt,cr){var Er=Nt.length;for(Jt=nn(Jt),Jt<0&&(Jt=-Jt>Er?0:Er+Jt),cr=cr===pr||cr>Er?Er:nn(cr),cr<0&&(cr+=Er),cr=Jt>cr?0:ph(cr);Jt<cr;)Nt[Jt++]=Vt;return Nt}function sf(Nt,Vt){var Jt=[];return c2(Nt,function(cr,Er,Sr){Vt(cr,Er,Sr)&&Jt.push(cr)}),Jt}function ba(Nt,Vt,Jt,cr,Er){var Sr=-1,jr=Nt.length;for(Jt||(Jt=hm),Er||(Er=[]);++Sr<jr;){var Fr=Nt[Sr];Vt>0&&Jt(Fr)?Vt>1?ba(Fr,Vt-1,Jt,cr,Er):Ct(Er,Fr):cr||(Er[Er.length]=Fr)}return Er}function Ts(Nt,Vt){return Nt&&Bp(Nt,Vt,ga)}function U3(Nt,Vt){return Nt&&Bh(Nt,Vt,ga)}function xd(Nt,Vt){return gt(Vt,function(Jt){return yo(Nt[Jt])})}function I1(Nt,Vt){Vt=s2(Vt,Nt);for(var Jt=0,cr=Vt.length;Nt!=null&&Jt<cr;)Nt=Nt[Ps(Vt[Jt++])];return Jt&&Jt==cr?Nt:pr}function of(Nt,Vt,Jt){var cr=Vt(Nt);return Y0(Nt)?cr:Ct(cr,Jt(Nt))}function ja(Nt){return Nt==null?Nt===pr?Dl:bi:R1&&R1 in jn(Nt)?lm(Nt):Em(Nt)}function H3(Nt,Vt){return Nt>Vt}function T6(Nt,Vt){return Nt!=null&&Sn.call(Nt,Vt)}function B6(Nt,Vt){return Nt!=null&&Vt in jn(Nt)}function P6(Nt,Vt,Jt){return Nt>=Ta(Vt,Jt)&&Nt<ua(Vt,Jt)}function G3(Nt,Vt,Jt){for(var cr=Jt?xt:At,Er=Nt[0].length,Sr=Nt.length,jr=Sr,Fr=la(Sr),Kr=1/0,l0=[];jr--;){var i0=Nt[jr];jr&&Vt&&(i0=yt(i0,Xt(Vt))),Kr=Ta(i0.length,Kr),Fr[jr]=!Jt&&(Vt||Er>=120&&i0.length>=120)?new k1(jr&&i0):pr}i0=Nt[0];var p0=-1,k0=Fr[0];e:for(;++p0<Er&&l0.length<Kr;){var B0=i0[p0],M0=Vt?Vt(B0):B0;if(B0=Jt||B0!==0?B0:0,!(k0?Mt(k0,M0):cr(l0,M0,Jt))){for(jr=Sr;--jr;){var tn=Fr[jr];if(!(tn?Mt(tn,M0):cr(Nt[jr],M0,Jt)))continue e}k0&&k0.push(M0),l0.push(B0)}}return l0}function O6(Nt,Vt,Jt,cr){return Ts(Nt,function(Er,Sr,jr){Vt(cr,Jt(Er),Sr,jr)}),cr}function Cu(Nt,Vt,Jt){Vt=s2(Vt,Nt),Nt=zf(Nt,Vt);var cr=Nt==null?Nt:Nt[Ps(Oi(Vt))];return cr==null?pr:Ye(cr,Nt,Jt)}function lf(Nt){return $n(Nt)&&ja(Nt)==r0}function D6(Nt){return $n(Nt)&&ja(Nt)==Zi}function N6(Nt){return $n(Nt)&&ja(Nt)==W0}function vu(Nt,Vt,Jt,cr,Er){return Nt===Vt||(Nt==null||Vt==null||!$n(Nt)&&!$n(Vt)?Nt!==Nt&&Vt!==Vt:L6(Nt,Vt,Jt,cr,vu,Er))}function L6(Nt,Vt,Jt,cr,Er,Sr){var jr=Y0(Nt),Fr=Y0(Vt),Kr=jr?c0:Ba(Nt),l0=Fr?c0:Ba(Vt);Kr=Kr==r0?Gn:Kr,l0=l0==r0?Gn:l0;var i0=Kr==Gn,p0=l0==Gn,k0=Kr==l0;if(k0&&u2(Nt)){if(!u2(Vt))return!1;jr=!0,i0=!1}if(k0&&!i0)return Sr||(Sr=new as),jr||Wl(Nt)?Ff(Nt,Vt,Jt,cr,Er,Sr):sm(Nt,Vt,Kr,Jt,cr,Er,Sr);if(!(Jt&e0)){var B0=i0&&Sn.call(Nt,"__wrapped__"),M0=p0&&Sn.call(Vt,"__wrapped__");if(B0||M0){var tn=B0?Nt.value():Nt,F0=M0?Vt.value():Vt;return Sr||(Sr=new as),Er(tn,F0,Jt,cr,Sr)}}return!!k0&&(Sr||(Sr=new as),om(Nt,Vt,Jt,cr,Er,Sr))}function _6(Nt){return $n(Nt)&&Ba(Nt)==fn}function z3(Nt,Vt,Jt,cr){var Er=Jt.length,Sr=Er,jr=!cr;if(Nt==null)return!Sr;for(Nt=jn(Nt);Er--;){var Fr=Jt[Er];if(jr&&Fr[2]?Fr[1]!==Nt[Fr[0]]:!(Fr[0]in Nt))return!1}for(;++Er<Sr;){Fr=Jt[Er];var Kr=Fr[0],l0=Nt[Kr],i0=Fr[1];if(jr&&Fr[2]){if(l0===pr&&!(Kr in Nt))return!1}else{var p0=new as;if(cr)var k0=cr(l0,i0,Kr,Nt,Vt,p0);if(!(k0===pr?vu(i0,l0,e0|Rr,cr,p0):k0))return!1}}return!0}function cf(Nt){return!(!Wn(Nt)||gm(Nt))&&(yo(Nt)?k7:t2).test(w1(Nt))}function M6(Nt){return $n(Nt)&&ja(Nt)==pi}function j6(Nt){return $n(Nt)&&Ba(Nt)==sa}function F6(Nt){return $n(Nt)&&Nd(Nt.length)&&!!Mn[ja(Nt)]}function uf(Nt){return typeof Nt=="function"?Nt:Nt==null?ei:typeof Nt=="object"?Y0(Nt)?ff(Nt[0],Nt[1]):pf(Nt):xh(Nt)}function W3(Nt){if(!Iu(Nt))return T7(Nt);var Vt=[];for(var Jt in jn(Nt))Sn.call(Nt,Jt)&&Jt!="constructor"&&Vt.push(Jt);return Vt}function Q6(Nt){if(!Wn(Nt))return ym(Nt);var Vt=Iu(Nt),Jt=[];for(var cr in Nt)(cr!="constructor"||!Vt&&Sn.call(Nt,cr))&&Jt.push(cr);return Jt}function X3(Nt,Vt){return Nt<Vt}function df(Nt,Vt){var Jt=-1,cr=Za(Nt)?la(Nt.length):[];return c2(Nt,function(Er,Sr,jr){cr[++Jt]=Vt(Er,Sr,jr)}),cr}function pf(Nt){var Vt=cp(Nt);return Vt.length==1&&Vt[0][2]?Hf(Vt[0][0],Vt[0][1]):function(Jt){return Jt===Nt||z3(Jt,Nt,Vt)}}function ff(Nt,Vt){return up(Nt)&&Uf(Vt)?Hf(Ps(Nt),Vt):function(Jt){var cr=Ap(Jt,Nt);return cr===pr&&cr===Vt?xp(Jt,Nt):vu(Vt,cr,e0|Rr)}}function yd(Nt,Vt,Jt,cr,Er){Nt!==Vt&&Bp(Vt,function(Sr,jr){if(Er||(Er=new as),Wn(Sr))V6(Nt,Vt,jr,Jt,yd,cr,Er);else{var Fr=cr?cr(pp(Nt,jr),Sr,jr+"",Nt,Vt,Er):pr;Fr===pr&&(Fr=Sr),F3(Nt,jr,Fr)}},Ja)}function V6(Nt,Vt,Jt,cr,Er,Sr,jr){var Fr=pp(Nt,Jt),Kr=pp(Vt,Jt),l0=jr.get(Kr);if(l0)return F3(Nt,Jt,l0),pr;var i0=Sr?Sr(Fr,Kr,Jt+"",Nt,Vt,jr):pr,p0=i0===pr;if(p0){var k0=Y0(Kr),B0=!k0&&u2(Kr),M0=!k0&&!B0&&Wl(Kr);i0=Kr,k0||B0||M0?Y0(Fr)?i0=Fr:Jn(Fr)?i0=Ya(Fr):B0?(p0=!1,i0=kf(Kr,!0)):M0?(p0=!1,i0=bf(Kr,!0)):i0=[]:Su(Kr)||T1(Kr)?(i0=Fr,T1(Fr)?i0=fh(Fr):Wn(Fr)&&!yo(Fr)||(i0=Vf(Kr))):p0=!1}p0&&(jr.set(Kr,i0),Er(i0,Kr,cr,Sr,jr),jr.delete(Kr)),F3(Nt,Jt,i0)}function hf(Nt,Vt){var Jt=Nt.length;if(Jt)return Vt+=Vt<0?Jt:0,xo(Vt,Jt)?Nt[Vt]:pr}function mf(Nt,Vt,Jt){Vt=Vt.length?yt(Vt,function(Er){return Y0(Er)?function(Sr){return I1(Sr,Er.length===1?Er[0]:Er)}:Er}):[ei];var cr=-1;return Vt=yt(Vt,Xt(z0())),$t(df(Nt,function(Er,Sr,jr){return{criteria:yt(Vt,function(Fr){return Fr(Er)}),index:++cr,value:Er}}),function(Er,Sr){return Z6(Er,Sr,Jt)})}function U6(Nt,Vt){return gf(Nt,Vt,function(Jt,cr){return xp(Nt,cr)})}function gf(Nt,Vt,Jt){for(var cr=-1,Er=Vt.length,Sr={};++cr<Er;){var jr=Vt[cr],Fr=I1(Nt,jr);Jt(Fr,jr)&&ku(Sr,s2(jr,Nt),Fr)}return Sr}function H6(Nt){return function(Vt){return I1(Vt,Nt)}}function K3(Nt,Vt,Jt,cr){var Er=cr?Bt:Tt,Sr=-1,jr=Vt.length,Fr=Nt;for(Nt===Vt&&(Vt=Ya(Vt)),Jt&&(Fr=yt(Nt,Xt(Jt)));++Sr<jr;)for(var Kr=0,l0=Vt[Sr],i0=Jt?Jt(l0):l0;(Kr=Er(Fr,i0,Kr,cr))>-1;)Fr!==Nt&&Gd.call(Fr,Kr,1),Gd.call(Nt,Kr,1);return Nt}function Af(Nt,Vt){for(var Jt=Nt?Vt.length:0,cr=Jt-1;Jt--;){var Er=Vt[Jt];if(Jt==cr||Er!==Sr){var Sr=Er;xo(Er)?Gd.call(Nt,Er,1):Z3(Nt,Er)}}return Nt}function $3(Nt,Vt){return Nt+Xd(wh()*(Vt-Nt+1))}function G6(Nt,Vt,Jt,cr){for(var Er=-1,Sr=ua(Wd((Vt-Nt)/(Jt||1)),0),jr=la(Sr);Sr--;)jr[cr?Sr:++Er]=Nt,Nt+=Jt;return jr}function q3(Nt,Vt){var Jt="";if(!Nt||Vt<1||Vt>u0)return Jt;do Vt%2&&(Jt+=Nt),Vt=Xd(Vt/2),Vt&&(Nt+=Nt);while(Vt);return Jt}function cn(Nt,Vt){return Dp(Gf(Nt,Vt,ei),Nt+"")}function z6(Nt){return tf(Ql(Nt))}function W6(Nt,Vt){var Jt=Ql(Nt);return Td(Jt,b1(Vt,0,Jt.length))}function ku(Nt,Vt,Jt,cr){if(!Wn(Nt))return Nt;Vt=s2(Vt,Nt);for(var Er=-1,Sr=Vt.length,jr=Sr-1,Fr=Nt;Fr!=null&&++Er<Sr;){var Kr=Ps(Vt[Er]),l0=Jt;if(Kr==="__proto__"||Kr==="constructor"||Kr==="prototype")return Nt;if(Er!=jr){var i0=Fr[Kr];l0=cr?cr(i0,Kr,Fr):pr,l0===pr&&(l0=Wn(i0)?i0:xo(Vt[Er+1])?[]:{})}yu(Fr,Kr,l0),Fr=Fr[Kr]}return Nt}function X6(Nt){return Td(Ql(Nt))}function Pi(Nt,Vt,Jt){var cr=-1,Er=Nt.length;Vt<0&&(Vt=-Vt>Er?0:Er+Vt),Jt=Jt>Er?Er:Jt,Jt<0&&(Jt+=Er),Er=Vt>Jt?0:Jt-Vt>>>0,Vt>>>=0;for(var Sr=la(Er);++cr<Er;)Sr[cr]=Nt[cr+Vt];return Sr}function K6(Nt,Vt){var Jt;return c2(Nt,function(cr,Er,Sr){return Jt=Vt(cr,Er,Sr),!Jt}),!!Jt}function Ed(Nt,Vt,Jt){var cr=0,Er=Nt==null?cr:Nt.length;if(typeof Vt=="number"&&Vt===Vt&&Er<=Cn){for(;cr<Er;){var Sr=cr+Er>>>1,jr=Nt[Sr];jr!==null&&!mi(jr)&&(Jt?jr<=Vt:jr<Vt)?cr=Sr+1:Er=Sr}return Er}return Y3(Nt,Vt,ei,Jt)}function Y3(Nt,Vt,Jt,cr){var Er=0,Sr=Nt==null?0:Nt.length;if(Sr===0)return 0;Vt=Jt(Vt);for(var jr=Vt!==Vt,Fr=Vt===null,Kr=mi(Vt),l0=Vt===pr;Er<Sr;){var i0=Xd((Er+Sr)/2),p0=Jt(Nt[i0]),k0=p0!==pr,B0=p0===null,M0=p0===p0,tn=mi(p0);if(jr)var F0=cr||M0;else F0=l0?M0&&(cr||k0):Fr?M0&&k0&&(cr||!B0):Kr?M0&&k0&&!B0&&(cr||!tn):!B0&&!tn&&(cr?p0<=Vt:p0<Vt);F0?Er=i0+1:Sr=i0}return Ta(Sr,ln)}function xf(Nt,Vt){for(var Jt=-1,cr=Nt.length,Er=0,Sr=[];++Jt<cr;){var jr=Nt[Jt],Fr=Vt?Vt(jr):jr;if(!Jt||!is(Fr,Kr)){var Kr=Fr;Sr[Er++]=jr===0?0:jr}}return Sr}function yf(Nt){return typeof Nt=="number"?Nt:mi(Nt)?V0:+Nt}function hi(Nt){if(typeof Nt=="string")return Nt;if(Y0(Nt))return yt(Nt,hi)+"";if(mi(Nt))return Rh?Rh.call(Nt):"";var Vt=Nt+"";return Vt=="0"&&1/Nt==-H0?"-0":Vt}function i2(Nt,Vt,Jt){var cr=-1,Er=At,Sr=Nt.length,jr=!0,Fr=[],Kr=Fr;if(Jt)jr=!1,Er=xt;else if(Sr>=_r){var l0=Vt?null:Q7(Nt);if(l0)return or(l0);jr=!1,Er=Mt,Kr=new k1}else Kr=Vt?[]:Fr;e:for(;++cr<Sr;){var i0=Nt[cr],p0=Vt?Vt(i0):i0;if(i0=Jt||i0!==0?i0:0,jr&&p0===p0){for(var k0=Kr.length;k0--;)if(Kr[k0]===p0)continue e;Vt&&Kr.push(p0),Fr.push(i0)}else Er(Kr,p0,Jt)||(Kr!==Fr&&Kr.push(p0),Fr.push(i0))}return Fr}function Z3(Nt,Vt){return Vt=s2(Vt,Nt),Nt=zf(Nt,Vt),Nt==null||delete Nt[Ps(Oi(Vt))]}function Ef(Nt,Vt,Jt,cr){return ku(Nt,Vt,Jt(I1(Nt,Vt)),cr)}function Cd(Nt,Vt,Jt,cr){for(var Er=Nt.length,Sr=cr?Er:-1;(cr?Sr--:++Sr<Er)&&Vt(Nt[Sr],Sr,Nt););return Jt?Pi(Nt,cr?0:Sr,cr?Sr+1:Er):Pi(Nt,cr?Sr+1:0,cr?Er:Sr)}function Cf(Nt,Vt){var Jt=Nt;return Jt instanceof R0&&(Jt=Jt.value()),Et(Vt,function(cr,Er){return Er.func.apply(Er.thisArg,Ct([cr],Er.args))},Jt)}function J3(Nt,Vt,Jt){var cr=Nt.length;if(cr<2)return cr?i2(Nt[0]):[];for(var Er=-1,Sr=la(cr);++Er<cr;)for(var jr=Nt[Er],Fr=-1;++Fr<cr;)Fr!=Er&&(Sr[Er]=Eu(Sr[Er]||jr,Nt[Fr],Vt,Jt));return i2(ba(Sr,1),Vt,Jt)}function vf(Nt,Vt,Jt){for(var cr=-1,Er=Nt.length,Sr=Vt.length,jr={};++cr<Er;)Jt(jr,Nt[cr],cr<Sr?Vt[cr]:pr);return jr}function ep(Nt){return Jn(Nt)?Nt:[]}function tp(Nt){return typeof Nt=="function"?Nt:ei}function s2(Nt,Vt){return Y0(Nt)?Nt:up(Nt,Vt)?[Nt]:Lh(vn(Nt))}function o2(Nt,Vt,Jt){var cr=Nt.length;return Jt=Jt===pr?cr:Jt,!Vt&&Jt>=cr?Nt:Pi(Nt,Vt,Jt)}function kf(Nt,Vt){if(Vt)return Nt.slice();var Jt=Nt.length,cr=Ch?Ch(Jt):new Nt.constructor(Jt);return Nt.copy(cr),cr}function rp(Nt){var Vt=new Nt.constructor(Nt.byteLength);return new Ud(Vt).set(new Ud(Nt)),Vt}function $6(Nt,Vt){return new Nt.constructor(Vt?rp(Nt.buffer):Nt.buffer,Nt.byteOffset,Nt.byteLength)}function q6(Nt){var Vt=new Nt.constructor(Nt.source,e2.exec(Nt));return Vt.lastIndex=Nt.lastIndex,Vt}function Y6(Nt){return Pu?jn(Pu.call(Nt)):{}}function bf(Nt,Vt){return new Nt.constructor(Vt?rp(Nt.buffer):Nt.buffer,Nt.byteOffset,Nt.length)}function If(Nt,Vt){if(Nt!==Vt){var Jt=Nt!==pr,cr=Nt===null,Er=Nt===Nt,Sr=mi(Nt),jr=Vt!==pr,Fr=Vt===null,Kr=Vt===Vt,l0=mi(Vt);if(!Fr&&!l0&&!Sr&&Nt>Vt||Sr&&jr&&Kr&&!Fr&&!l0||cr&&jr&&Kr||!Jt&&Kr||!Er)return 1;if(!cr&&!Sr&&!l0&&Nt<Vt||l0&&Jt&&Er&&!cr&&!Sr||Fr&&Jt&&Er||!jr&&Er||!Kr)return-1}return 0}function Z6(Nt,Vt,Jt){for(var cr=-1,Er=Nt.criteria,Sr=Vt.criteria,jr=Er.length,Fr=Jt.length;++cr<jr;){var Kr=If(Er[cr],Sr[cr]);if(Kr)return cr>=Fr?Kr:Kr*(Jt[cr]=="desc"?-1:1)}return Nt.index-Vt.index}function Sf(Nt,Vt,Jt,cr){for(var Er=-1,Sr=Nt.length,jr=Jt.length,Fr=-1,Kr=Vt.length,l0=ua(Sr-jr,0),i0=la(Kr+l0),p0=!cr;++Fr<Kr;)i0[Fr]=Vt[Fr];for(;++Er<jr;)(p0||Er<Sr)&&(i0[Jt[Er]]=Nt[Er]);for(;l0--;)i0[Fr++]=Nt[Er++];return i0}function wf(Nt,Vt,Jt,cr){for(var Er=-1,Sr=Nt.length,jr=-1,Fr=Jt.length,Kr=-1,l0=Vt.length,i0=ua(Sr-Fr,0),p0=la(i0+l0),k0=!cr;++Er<i0;)p0[Er]=Nt[Er];for(var B0=Er;++Kr<l0;)p0[B0+Kr]=Vt[Kr];for(;++jr<Fr;)(k0||Er<Sr)&&(p0[B0+Jt[jr]]=Nt[Er++]);return p0}function Ya(Nt,Vt){var Jt=-1,cr=Nt.length;for(Vt||(Vt=la(cr));++Jt<cr;)Vt[Jt]=Nt[Jt];return Vt}function Bs(Nt,Vt,Jt,cr){var Er=!Jt;Jt||(Jt={});for(var Sr=-1,jr=Vt.length;++Sr<jr;){var Fr=Vt[Sr],Kr=cr?cr(Jt[Fr],Nt[Fr],Fr,Jt,Nt):pr;Kr===pr&&(Kr=Nt[Fr]),Er?mo(Jt,Fr,Kr):yu(Jt,Fr,Kr)}return Jt}function J6(Nt,Vt){return Bs(Nt,Op(Nt),Vt)}function em(Nt,Vt){return Bs(Nt,Dh(Nt),Vt)}function vd(Nt,Vt){return function(Jt,cr){var Er=Y0(Jt)?tt:b6,Sr=Vt?Vt():{};return Er(Jt,Nt,z0(cr,2),Sr)}}function Ml(Nt){return cn(function(Vt,Jt){var cr=-1,Er=Jt.length,Sr=Er>1?Jt[Er-1]:pr,jr=Er>2?Jt[2]:pr;for(Sr=Nt.length>3&&typeof Sr=="function"?(Er--,Sr):pr,jr&&Fa(Jt[0],Jt[1],jr)&&(Sr=Er<3?pr:Sr,Er=1),Vt=jn(Vt);++cr<Er;){var Fr=Jt[cr];Fr&&Nt(Vt,Fr,cr,Sr)}return Vt})}function Rf(Nt,Vt){return function(Jt,cr){if(Jt==null)return Jt;if(!Za(Jt))return Nt(Jt,cr);for(var Er=Jt.length,Sr=Vt?Er:-1,jr=jn(Jt);(Vt?Sr--:++Sr<Er)&&cr(jr[Sr],Sr,jr)!==!1;);return Jt}}function Tf(Nt){return function(Vt,Jt,cr){for(var Er=-1,Sr=jn(Vt),jr=cr(Vt),Fr=jr.length;Fr--;){var Kr=jr[Nt?Fr:++Er];if(Jt(Sr[Kr],Kr,Sr)===!1)break}return Vt}}function tm(Nt,Vt,Jt){function cr(){return(this&&this!==ka&&this instanceof cr?Sr:Nt).apply(Er?Jt:this,arguments)}var Er=Vt&wr,Sr=bu(Nt);return cr}function Bf(Nt){return function(Vt){Vt=vn(Vt);var Jt=tr(Vt)?nr(Vt):pr,cr=Jt?Jt[0]:Vt.charAt(0),Er=Jt?o2(Jt,1).join(""):Vt.slice(1);return cr[Nt]()+Er}}function jl(Nt){return function(Vt){return Et(Ah(gh(Vt).replace(D4,"")),Nt,"")}}function bu(Nt){return function(){var Vt=arguments;switch(Vt.length){case 0:return new Nt;case 1:return new Nt(Vt[0]);case 2:return new Nt(Vt[0],Vt[1]);case 3:return new Nt(Vt[0],Vt[1],Vt[2]);case 4:return new Nt(Vt[0],Vt[1],Vt[2],Vt[3]);case 5:return new Nt(Vt[0],Vt[1],Vt[2],Vt[3],Vt[4]);case 6:return new Nt(Vt[0],Vt[1],Vt[2],Vt[3],Vt[4],Vt[5]);case 7:return new Nt(Vt[0],Vt[1],Vt[2],Vt[3],Vt[4],Vt[5],Vt[6])}var Jt=zl(Nt.prototype),cr=Nt.apply(Jt,Vt);return Wn(cr)?cr:Jt}}function rm(Nt,Vt,Jt){function cr(){for(var Sr=arguments.length,jr=la(Sr),Fr=Sr,Kr=Fl(cr);Fr--;)jr[Fr]=arguments[Fr];var l0=Sr<3&&jr[0]!==Kr&&jr[Sr-1]!==Kr?[]:yr(jr,Kr);return Sr-=l0.length,Sr<Jt?Lf(Nt,Vt,kd,cr.placeholder,pr,jr,l0,pr,pr,Jt-Sr):Ye(this&&this!==ka&&this instanceof cr?Er:Nt,this,jr)}var Er=bu(Nt);return cr}function Pf(Nt){return function(Vt,Jt,cr){var Er=jn(Vt);if(!Za(Vt)){var Sr=z0(Jt,3);Vt=ga(Vt),Jt=function(Fr){return Sr(Er[Fr],Fr,Er)}}var jr=Nt(Vt,Jt,cr);return jr>-1?Er[Sr?Vt[jr]:jr]:pr}}function Of(Nt){return Ao(function(Vt){var Jt=Vt.length,cr=Jt,Er=Q0.prototype.thru;for(Nt&&Vt.reverse();cr--;){var Sr=Vt[cr];if(typeof Sr!="function")throw new Ni(qr);if(Er&&!jr&&wd(Sr)=="wrapper")var jr=new Q0([],!0)}for(cr=jr?cr:Jt;++cr<Jt;){Sr=Vt[cr];var Fr=wd(Sr),Kr=Fr=="wrapper"?Pp(Sr):pr;jr=Kr&&dp(Kr[0])&&Kr[1]==(zr|Wr|t0|m0)&&!Kr[4].length&&Kr[9]==1?jr[wd(Kr[0])].apply(jr,Kr[3]):Sr.length==1&&dp(Sr)?jr[Fr]():jr.thru(Sr)}return function(){var l0=arguments,i0=l0[0];if(jr&&l0.length==1&&Y0(i0))return jr.plant(i0).value();for(var p0=0,k0=Jt?Vt[p0].apply(this,l0):i0;++p0<Jt;)k0=Vt[p0].call(this,k0);return k0}})}function kd(Nt,Vt,Jt,cr,Er,Sr,jr,Fr,Kr,l0){function i0(){for(var dn=arguments.length,pn=la(dn),Pa=dn;Pa--;)pn[Pa]=arguments[Pa];if(M0)var ti=Fl(i0),d2=Gt(pn,ti);if(cr&&(pn=Sf(pn,cr,Er,M0)),Sr&&(pn=wf(pn,Sr,jr,M0)),dn-=d2,M0&&dn<l0)return Lf(Nt,Vt,kd,i0.placeholder,Jt,pn,yr(pn,ti),Fr,Kr,l0-dn);var qn=k0?Jt:this,Li=B0?qn[Nt]:Nt;return dn=pn.length,Fr?pn=Cm(pn,Fr):tn&&dn>1&&pn.reverse(),p0&&Kr<dn&&(pn.length=Kr),this&&this!==ka&&this instanceof i0&&(Li=F0||bu(Li)),Li.apply(qn,pn)}var p0=Vt&zr,k0=Vt&wr,B0=Vt&Tr,M0=Vt&(Wr|Jr),tn=Vt&x0,F0=B0?pr:bu(Nt);return i0}function Df(Nt,Vt){return function(Jt,cr){return O6(Jt,Nt,Vt(cr),{})}}function bd(Nt,Vt){return function(Jt,cr){var Er;if(Jt===pr&&cr===pr)return Vt;if(Jt!==pr&&(Er=Jt),cr!==pr){if(Er===pr)return cr;typeof Jt=="string"||typeof cr=="string"?(Jt=hi(Jt),cr=hi(cr)):(Jt=yf(Jt),cr=yf(cr)),Er=Nt(Jt,cr)}return Er}}function np(Nt){return Ao(function(Vt){return Vt=yt(Vt,Xt(z0())),cn(function(Jt){var cr=this;return Nt(Vt,function(Er){return Ye(Er,cr,Jt)})})})}function Id(Nt,Vt){Vt=Vt===pr?" ":hi(Vt);var Jt=Vt.length;if(Jt<2)return Jt?q3(Vt,Nt):Vt;var cr=q3(Vt,Wd(Nt/er(Vt)));return tr(Vt)?o2(nr(cr),0,Nt).join(""):cr.slice(0,Nt)}function am(Nt,Vt,Jt,cr){function Er(){for(var Fr=-1,Kr=arguments.length,l0=-1,i0=cr.length,p0=la(i0+Kr),k0=this&&this!==ka&&this instanceof Er?jr:Nt;++l0<i0;)p0[l0]=cr[l0];for(;Kr--;)p0[l0++]=arguments[++Fr];return Ye(k0,Sr?Jt:this,p0)}var Sr=Vt&wr,jr=bu(Nt);return Er}function Nf(Nt){return function(Vt,Jt,cr){return cr&&typeof cr!="number"&&Fa(Vt,Jt,cr)&&(Jt=cr=pr),Vt=Eo(Vt),Jt===pr?(Jt=Vt,Vt=0):Jt=Eo(Jt),cr=cr===pr?Vt<Jt?1:-1:Eo(cr),G6(Vt,Jt,cr,Nt)}}function Sd(Nt){return function(Vt,Jt){return typeof Vt=="string"&&typeof Jt=="string"||(Vt=Di(Vt),Jt=Di(Jt)),Nt(Vt,Jt)}}function Lf(Nt,Vt,Jt,cr,Er,Sr,jr,Fr,Kr,l0){var i0=Vt&Wr,p0=i0?jr:pr,k0=i0?pr:jr,B0=i0?Sr:pr,M0=i0?pr:Sr;Vt|=i0?t0:h0,Vt&=~(i0?h0:t0),Vt&n0||(Vt&=-4);var tn=[Nt,Vt,Er,B0,p0,M0,k0,Fr,Kr,l0],F0=Jt.apply(pr,tn);return dp(Nt)&&Nh(F0,tn),F0.placeholder=cr,Wf(F0,Nt,Vt)}function ap(Nt){var Vt=Vl[Nt];return function(Jt,cr){if(Jt=Di(Jt),cr=cr==null?0:Ta(nn(cr),292),cr&&Sh(Jt)){var Er=(vn(Jt)+"e").split("e");return Er=(vn(Vt(Er[0]+"e"+(+Er[1]+cr)))+"e").split("e"),+(Er[0]+"e"+(+Er[1]-cr))}return Vt(Jt)}}function _f(Nt){return function(Vt){var Jt=Ba(Vt);return Jt==fn?rr(Vt):Jt==sa?ir(Vt):Ut(Vt,Nt(Vt))}}function go(Nt,Vt,Jt,cr,Er,Sr,jr,Fr){var Kr=Vt&Tr;if(!Kr&&typeof Nt!="function")throw new Ni(qr);var l0=cr?cr.length:0;if(l0||(Vt&=-97,cr=Er=pr),jr=jr===pr?jr:ua(nn(jr),0),Fr=Fr===pr?Fr:nn(Fr),l0-=Er?Er.length:0,Vt&h0){var i0=cr,p0=Er;cr=Er=pr}var k0=Kr?pr:Pp(Nt),B0=[Nt,Vt,Jt,cr,Er,i0,p0,Sr,jr,Fr];if(k0&&xm(B0,k0),Nt=B0[0],Vt=B0[1],Jt=B0[2],cr=B0[3],Er=B0[4],Fr=B0[9]=B0[9]===pr?Kr?0:Nt.length:ua(B0[9]-l0,0),!Fr&&Vt&(Wr|Jr)&&(Vt&=-25),Vt&&Vt!=wr)M0=Vt==Wr||Vt==Jr?rm(Nt,Vt,Fr):Vt!=t0&&Vt!=(wr|t0)||Er.length?kd.apply(pr,B0):am(Nt,Vt,Jt,cr);else var M0=tm(Nt,Vt,Jt);return Wf((k0?Ph:Nh)(M0,B0),Nt,Vt)}function Mf(Nt,Vt,Jt,cr){return Nt===pr||is(Nt,Ul[Jt])&&!Sn.call(cr,Jt)?Vt:Nt}function jf(Nt,Vt,Jt,cr,Er,Sr){return Wn(Nt)&&Wn(Vt)&&(Sr.set(Vt,Nt),yd(Nt,Vt,pr,jf,Sr),Sr.delete(Vt)),Nt}function im(Nt){return Su(Nt)?pr:Nt}function Ff(Nt,Vt,Jt,cr,Er,Sr){var jr=Jt&e0,Fr=Nt.length,Kr=Vt.length;if(Fr!=Kr&&!(jr&&Kr>Fr))return!1;var l0=Sr.get(Nt),i0=Sr.get(Vt);if(l0&&i0)return l0==Vt&&i0==Nt;var p0=-1,k0=!0,B0=Jt&Rr?new k1:pr;for(Sr.set(Nt,Vt),Sr.set(Vt,Nt);++p0<Fr;){var M0=Nt[p0],tn=Vt[p0];if(cr)var F0=jr?cr(tn,M0,p0,Vt,Nt,Sr):cr(M0,tn,p0,Nt,Vt,Sr);if(F0!==pr){if(F0)continue;k0=!1;break}if(B0){if(!kt(Vt,function(dn,pn){if(!Mt(B0,pn)&&(M0===dn||Er(M0,dn,Jt,cr,Sr)))return B0.push(pn)})){k0=!1;break}}else if(M0!==tn&&!Er(M0,tn,Jt,cr,Sr)){k0=!1;break}}return Sr.delete(Nt),Sr.delete(Vt),k0}function sm(Nt,Vt,Jt,cr,Er,Sr,jr){switch(Jt){case Ji:if(Nt.byteLength!=Vt.byteLength||Nt.byteOffset!=Vt.byteOffset)return!1;Nt=Nt.buffer,Vt=Vt.buffer;case Zi:return!(Nt.byteLength!=Vt.byteLength||!Sr(new Ud(Nt),new Ud(Vt)));case O0:case W0:case Nn:return is(+Nt,+Vt);case G0:return Nt.name==Vt.name&&Nt.message==Vt.message;case pi:case bs:return Nt==Vt+"";case fn:var Fr=rr;case sa:var Kr=cr&e0;if(Fr||(Fr=or),Nt.size!=Vt.size&&!Kr)return!1;var l0=jr.get(Nt);if(l0)return l0==Vt;cr|=Rr,jr.set(Nt,Vt);var i0=Ff(Fr(Nt),Fr(Vt),cr,Er,Sr,jr);return jr.delete(Nt),i0;case L0:if(Pu)return Pu.call(Nt)==Pu.call(Vt)}return!1}function om(Nt,Vt,Jt,cr,Er,Sr){var jr=Jt&e0,Fr=sp(Nt),Kr=Fr.length;if(Kr!=sp(Vt).length&&!jr)return!1;for(var l0=Kr;l0--;){var i0=Fr[l0];if(!(jr?i0 in Vt:Sn.call(Vt,i0)))return!1}var p0=Sr.get(Nt),k0=Sr.get(Vt);if(p0&&k0)return p0==Vt&&k0==Nt;var B0=!0;Sr.set(Nt,Vt),Sr.set(Vt,Nt);for(var M0=jr;++l0<Kr;){i0=Fr[l0];var tn=Nt[i0],F0=Vt[i0];if(cr)var dn=jr?cr(F0,tn,i0,Vt,Nt,Sr):cr(tn,F0,i0,Nt,Vt,Sr);if(!(dn===pr?tn===F0||Er(tn,F0,Jt,cr,Sr):dn)){B0=!1;break}M0||(M0=i0=="constructor")}if(B0&&!M0){var pn=Nt.constructor,Pa=Vt.constructor;pn!=Pa&&"constructor"in Nt&&"constructor"in Vt&&!(typeof pn=="function"&&pn instanceof pn&&typeof Pa=="function"&&Pa instanceof Pa)&&(B0=!1)}return Sr.delete(Nt),Sr.delete(Vt),B0}function Ao(Nt){return Dp(Gf(Nt,pr,Yf),Nt+"")}function sp(Nt){return of(Nt,ga,Op)}function lp(Nt){return of(Nt,Ja,Dh)}function wd(Nt){for(var Vt=Nt.name+"",Jt=Gl[Vt],cr=Sn.call(Gl,Vt)?Jt.length:0;cr--;){var Er=Jt[cr],Sr=Er.func;if(Sr==null||Sr==Nt)return Er.name}return Vt}function Fl(Nt){return(Sn.call(mr,"placeholder")?mr:Nt).placeholder}function z0(){var Nt=mr.iteratee||Ep;return Nt=Nt===Ep?uf:Nt,arguments.length?Nt(arguments[0],arguments[1]):Nt}function Rd(Nt,Vt){var Jt=Nt.__data__;return mm(Vt)?Jt[typeof Vt=="string"?"string":"hash"]:Jt.map}function cp(Nt){for(var Vt=ga(Nt),Jt=Vt.length;Jt--;){var cr=Vt[Jt],Er=Nt[cr];Vt[Jt]=[cr,Er,Uf(Er)]}return Vt}function S1(Nt,Vt){var Jt=ar(Nt,Vt);return cf(Jt)?Jt:pr}function lm(Nt){var Vt=Sn.call(Nt,R1),Jt=Nt[R1];try{Nt[R1]=pr;var cr=!0}catch{}var Er=Qd.call(Nt);return cr&&(Vt?Nt[R1]=Jt:delete Nt[R1]),Er}function cm(Nt,Vt,Jt){for(var cr=-1,Er=Jt.length;++cr<Er;){var Sr=Jt[cr],jr=Sr.size;switch(Sr.type){case"drop":Nt+=jr;break;case"dropRight":Vt-=jr;break;case"take":Vt=Ta(Vt,Nt+jr);break;case"takeRight":Nt=ua(Nt,Vt-jr)}}return{start:Nt,end:Vt}}function um(Nt){var Vt=Nt.match(v0);return Vt?Vt[1].split(An):[]}function Qf(Nt,Vt,Jt){Vt=s2(Vt,Nt);for(var cr=-1,Er=Vt.length,Sr=!1;++cr<Er;){var jr=Ps(Vt[cr]);if(!(Sr=Nt!=null&&Jt(Nt,jr)))break;Nt=Nt[jr]}return Sr||++cr!=Er?Sr:(Er=Nt==null?0:Nt.length,!!Er&&Nd(Er)&&xo(jr,Er)&&(Y0(Nt)||T1(Nt)))}function dm(Nt){var Vt=Nt.length,Jt=new Nt.constructor(Vt);return Vt&&typeof Nt[0]=="string"&&Sn.call(Nt,"index")&&(Jt.index=Nt.index,Jt.input=Nt.input),Jt}function Vf(Nt){return typeof Nt.constructor!="function"||Iu(Nt)?{}:zl(Hd(Nt))}function pm(Nt,Vt,Jt){var cr=Nt.constructor;switch(Vt){case Zi:return rp(Nt);case O0:case W0:return new cr(+Nt);case Ji:return $6(Nt,Jt);case Yo:case Is:case Zo:case Si:case va:case es:case yn:case Jo:case uo:return bf(Nt,Jt);case fn:return new cr;case Nn:case bs:return new cr(Nt);case pi:return q6(Nt);case sa:return new cr;case L0:return Y6(Nt)}}function fm(Nt,Vt){var Jt=Vt.length;if(!Jt)return Nt;var cr=Jt-1;return Vt[cr]=(Jt>1?"& ":"")+Vt[cr],Vt=Vt.join(Jt>2?", ":" "),Nt.replace(b0,`{
2779
2779
  /* [wrapped with `+Vt+`] */
2780
- `)}function hm(Nt){return Y0(Nt)||T1(Nt)||!!(Ih&&Nt&&Nt[Ih])}function xo(Nt,Vt){var Jt=typeof Nt;return Vt=Vt??u0,!!Vt&&(Jt=="number"||Jt!="symbol"&&po.test(Nt))&&Nt>-1&&Nt%1==0&&Nt<Vt}function Fa(Nt,Vt,Jt){if(!Wn(Jt))return!1;var cr=typeof Vt;return!!(cr=="number"?Za(Jt)&&xo(Vt,Jt.length):cr=="string"&&Vt in Jt)&&is(Jt[Vt],Nt)}function up(Nt,Vt){if(Y0(Nt))return!1;var Jt=typeof Nt;return!(Jt!="number"&&Jt!="symbol"&&Jt!="boolean"&&Nt!=null&&!mi(Nt))||f0.test(Nt)||!s0.test(Nt)||Vt!=null&&Nt in jn(Vt)}function mm(Nt){var Vt=typeof Nt;return Vt=="string"||Vt=="number"||Vt=="symbol"||Vt=="boolean"?Nt!=="__proto__":Nt===null}function dp(Nt){var Vt=wd(Nt),Jt=mr[Vt];if(typeof Jt!="function"||!(Vt in R0.prototype))return!1;if(Nt===Jt)return!0;var cr=Pp(Jt);return!!cr&&Nt===cr[0]}function gm(Nt){return!!Eh&&Eh in Nt}function Iu(Nt){var Vt=Nt&&Nt.constructor;return Nt===(typeof Vt=="function"&&Vt.prototype||Ul)}function Uf(Nt){return Nt===Nt&&!Wn(Nt)}function Hf(Nt,Vt){return function(Jt){return Jt!=null&&Jt[Nt]===Vt&&(Vt!==pr||Nt in jn(Jt))}}function Am(Nt){var Vt=Od(Nt,function(cr){return Jt.size===Ir&&Jt.clear(),cr}),Jt=Vt.cache;return Vt}function xm(Nt,Vt){var Jt=Nt[1],cr=Vt[1],Er=Jt|cr,Sr=Er<(wr|Tr|zr),jr=cr==zr&&Jt==Wr||cr==zr&&Jt==m0&&Nt[7].length<=Vt[8]||cr==(zr|m0)&&Vt[7].length<=Vt[8]&&Jt==Wr;if(!Sr&&!jr)return Nt;cr&wr&&(Nt[2]=Vt[2],Er|=Jt&wr?0:n0);var Fr=Vt[3];if(Fr){var Kr=Nt[3];Nt[3]=Kr?Sf(Kr,Fr,Vt[4]):Fr,Nt[4]=Kr?yr(Nt[3],Nr):Vt[4]}return Fr=Vt[5],Fr&&(Kr=Nt[5],Nt[5]=Kr?wf(Kr,Fr,Vt[6]):Fr,Nt[6]=Kr?yr(Nt[5],Nr):Vt[6]),Fr=Vt[7],Fr&&(Nt[7]=Fr),cr&zr&&(Nt[8]=Nt[8]==null?Vt[8]:Ta(Nt[8],Vt[8])),Nt[9]==null&&(Nt[9]=Vt[9]),Nt[0]=Vt[0],Nt[1]=Er,Nt}function ym(Nt){var Vt=[];if(Nt!=null)for(var Jt in jn(Nt))Vt.push(Jt);return Vt}function Em(Nt){return Qd.call(Nt)}function Gf(Nt,Vt,Jt){return Vt=ua(Vt===pr?Nt.length-1:Vt,0),function(){for(var cr=arguments,Er=-1,Sr=ua(cr.length-Vt,0),jr=la(Sr);++Er<Sr;)jr[Er]=cr[Vt+Er];Er=-1;for(var Fr=la(Vt+1);++Er<Vt;)Fr[Er]=cr[Er];return Fr[Vt]=Jt(jr),Ye(Nt,this,Fr)}}function zf(Nt,Vt){return Vt.length<2?Nt:I1(Nt,Pi(Vt,0,-1))}function Cm(Nt,Vt){for(var Jt=Nt.length,cr=Ta(Vt.length,Jt),Er=Ya(Nt);cr--;){var Sr=Vt[cr];Nt[cr]=xo(Sr,Jt)?Er[Sr]:pr}return Nt}function pp(Nt,Vt){if((Vt!=="constructor"||typeof Nt[Vt]!="function")&&Vt!="__proto__")return Nt[Vt]}function Wf(Nt,Vt,Jt){var cr=Vt+"";return Dp(Nt,fm(cr,vm(um(cr),Jt)))}function Xf(Nt){var Vt=0,Jt=0;return function(){var cr=B7(),Er=D0-(cr-Jt);if(Jt=cr,Er>0){if(++Vt>=X0)return arguments[0]}else Vt=0;return Nt.apply(pr,arguments)}}function Td(Nt,Vt){var Jt=-1,cr=Nt.length,Er=cr-1;for(Vt=Vt===pr?cr:Vt;++Jt<Vt;){var Sr=$3(Jt,Er),jr=Nt[Sr];Nt[Sr]=Nt[Jt],Nt[Jt]=jr}return Nt.length=Vt,Nt}function Ps(Nt){if(typeof Nt=="string"||mi(Nt))return Nt;var Vt=Nt+"";return Vt=="0"&&1/Nt==-H0?"-0":Vt}function w1(Nt){if(Nt!=null){try{return Fd.call(Nt)}catch{}try{return Nt+""}catch{}}return""}function vm(Nt,Vt){return nt(Dr,function(Jt){var cr="_."+Jt[0];Vt&Jt[1]&&!At(Nt,cr)&&Nt.push(cr)}),Nt.sort()}function Kf(Nt){if(Nt instanceof R0)return Nt.clone();var Vt=new Q0(Nt.__wrapped__,Nt.__chain__);return Vt.__actions__=Ya(Nt.__actions__),Vt.__index__=Nt.__index__,Vt.__values__=Nt.__values__,Vt}function km(Nt,Vt,Jt){Vt=(Jt?Fa(Nt,Vt,Jt):Vt===pr)?1:ua(nn(Vt),0);var cr=Nt==null?0:Nt.length;if(!cr||Vt<1)return[];for(var Er=0,Sr=0,jr=la(Wd(cr/Vt));Er<cr;)jr[Sr++]=Pi(Nt,Er,Er+=Vt);return jr}function bm(Nt){for(var Vt=-1,Jt=Nt==null?0:Nt.length,cr=0,Er=[];++Vt<Jt;){var Sr=Nt[Vt];Sr&&(Er[cr++]=Sr)}return Er}function Im(){var Nt=arguments.length;if(!Nt)return[];for(var Vt=la(Nt-1),Jt=arguments[0],cr=Nt;cr--;)Vt[cr-1]=arguments[cr];return Ct(Y0(Jt)?Ya(Jt):[Jt],ba(Vt,1))}function Sm(Nt,Vt,Jt){var cr=Nt==null?0:Nt.length;return cr?(Vt=Jt||Vt===pr?1:nn(Vt),Pi(Nt,Vt<0?0:Vt,cr)):[]}function wm(Nt,Vt,Jt){var cr=Nt==null?0:Nt.length;return cr?(Vt=Jt||Vt===pr?1:nn(Vt),Vt=cr-Vt,Pi(Nt,0,Vt<0?0:Vt)):[]}function Rm(Nt,Vt){return Nt&&Nt.length?Cd(Nt,z0(Vt,3),!0,!0):[]}function Tm(Nt,Vt){return Nt&&Nt.length?Cd(Nt,z0(Vt,3),!0):[]}function Bm(Nt,Vt,Jt,cr){var Er=Nt==null?0:Nt.length;return Er?(Jt&&typeof Jt!="number"&&Fa(Nt,Vt,Jt)&&(Jt=0,cr=Er),R6(Nt,Vt,Jt,cr)):[]}function $f(Nt,Vt,Jt){var cr=Nt==null?0:Nt.length;if(!cr)return-1;var Er=Jt==null?0:nn(Jt);return Er<0&&(Er=ua(cr+Er,0)),Rt(Nt,z0(Vt,3),Er)}function qf(Nt,Vt,Jt){var cr=Nt==null?0:Nt.length;if(!cr)return-1;var Er=cr-1;return Jt!==pr&&(Er=nn(Jt),Er=Jt<0?ua(cr+Er,0):Ta(Er,cr-1)),Rt(Nt,z0(Vt,3),Er,!0)}function Yf(Nt){return Nt!=null&&Nt.length?ba(Nt,1):[]}function Pm(Nt){return Nt!=null&&Nt.length?ba(Nt,H0):[]}function Om(Nt,Vt){return Nt!=null&&Nt.length?(Vt=Vt===pr?1:nn(Vt),ba(Nt,Vt)):[]}function Dm(Nt){for(var Vt=-1,Jt=Nt==null?0:Nt.length,cr={};++Vt<Jt;){var Er=Nt[Vt];cr[Er[0]]=Er[1]}return cr}function Zf(Nt){return Nt&&Nt.length?Nt[0]:pr}function Nm(Nt,Vt,Jt){var cr=Nt==null?0:Nt.length;if(!cr)return-1;var Er=Jt==null?0:nn(Jt);return Er<0&&(Er=ua(cr+Er,0)),Tt(Nt,Vt,Er)}function Lm(Nt){return Nt!=null&&Nt.length?Pi(Nt,0,-1):[]}function _m(Nt,Vt){return Nt==null?"":R7.call(Nt,Vt)}function Oi(Nt){var Vt=Nt==null?0:Nt.length;return Vt?Nt[Vt-1]:pr}function Mm(Nt,Vt,Jt){var cr=Nt==null?0:Nt.length;if(!cr)return-1;var Er=cr;return Jt!==pr&&(Er=nn(Jt),Er=Er<0?ua(cr+Er,0):Ta(Er,cr-1)),Vt===Vt?Qt(Nt,Vt,Er):Rt(Nt,Pt,Er,!0)}function jm(Nt,Vt){return Nt&&Nt.length?hf(Nt,nn(Vt)):pr}function Jf(Nt,Vt){return Nt&&Nt.length&&Vt&&Vt.length?K3(Nt,Vt):Nt}function Fm(Nt,Vt,Jt){return Nt&&Nt.length&&Vt&&Vt.length?K3(Nt,Vt,z0(Jt,2)):Nt}function Qm(Nt,Vt,Jt){return Nt&&Nt.length&&Vt&&Vt.length?K3(Nt,Vt,pr,Jt):Nt}function Vm(Nt,Vt){var Jt=[];if(!Nt||!Nt.length)return Jt;var cr=-1,Er=[],Sr=Nt.length;for(Vt=z0(Vt,3);++cr<Sr;){var jr=Nt[cr];Vt(jr,cr,Nt)&&(Jt.push(jr),Er.push(cr))}return Af(Nt,Er),Jt}function hp(Nt){return Nt==null?Nt:O7.call(Nt)}function Um(Nt,Vt,Jt){var cr=Nt==null?0:Nt.length;return cr?(Jt&&typeof Jt!="number"&&Fa(Nt,Vt,Jt)?(Vt=0,Jt=cr):(Vt=Vt==null?0:nn(Vt),Jt=Jt===pr?cr:nn(Jt)),Pi(Nt,Vt,Jt)):[]}function Hm(Nt,Vt){return Ed(Nt,Vt)}function Gm(Nt,Vt,Jt){return Y3(Nt,Vt,z0(Jt,2))}function zm(Nt,Vt){var Jt=Nt==null?0:Nt.length;if(Jt){var cr=Ed(Nt,Vt);if(cr<Jt&&is(Nt[cr],Vt))return cr}return-1}function Wm(Nt,Vt){return Ed(Nt,Vt,!0)}function Xm(Nt,Vt,Jt){return Y3(Nt,Vt,z0(Jt,2),!0)}function Km(Nt,Vt){if(Nt!=null&&Nt.length){var Jt=Ed(Nt,Vt,!0)-1;if(is(Nt[Jt],Vt))return Jt}return-1}function $m(Nt){return Nt&&Nt.length?xf(Nt):[]}function qm(Nt,Vt){return Nt&&Nt.length?xf(Nt,z0(Vt,2)):[]}function Ym(Nt){var Vt=Nt==null?0:Nt.length;return Vt?Pi(Nt,1,Vt):[]}function Zm(Nt,Vt,Jt){return Nt&&Nt.length?(Vt=Jt||Vt===pr?1:nn(Vt),Pi(Nt,0,Vt<0?0:Vt)):[]}function Jm(Nt,Vt,Jt){var cr=Nt==null?0:Nt.length;return cr?(Vt=Jt||Vt===pr?1:nn(Vt),Vt=cr-Vt,Pi(Nt,Vt<0?0:Vt,cr)):[]}function e8(Nt,Vt){return Nt&&Nt.length?Cd(Nt,z0(Vt,3),!1,!0):[]}function t8(Nt,Vt){return Nt&&Nt.length?Cd(Nt,z0(Vt,3)):[]}function r8(Nt){return Nt&&Nt.length?i2(Nt):[]}function n8(Nt,Vt){return Nt&&Nt.length?i2(Nt,z0(Vt,2)):[]}function a8(Nt,Vt){return Vt=typeof Vt=="function"?Vt:pr,Nt&&Nt.length?i2(Nt,pr,Vt):[]}function mp(Nt){if(!Nt||!Nt.length)return[];var Vt=0;return Nt=gt(Nt,function(Jt){if(Jn(Jt))return Vt=ua(Jt.length,Vt),!0}),Ht(Vt,function(Jt){return yt(Nt,Ot(Jt))})}function eh(Nt,Vt){if(!Nt||!Nt.length)return[];var Jt=mp(Nt);return Vt==null?Jt:yt(Jt,function(cr){return Ye(Vt,pr,cr)})}function i8(Nt,Vt){return vf(Nt||[],Vt||[],yu)}function s8(Nt,Vt){return vf(Nt||[],Vt||[],ku)}function th(Nt){var Vt=mr(Nt);return Vt.__chain__=!0,Vt}function o8(Nt,Vt){return Vt(Nt),Nt}function Bd(Nt,Vt){return Vt(Nt)}function l8(){return th(this)}function c8(){return new Q0(this.value(),this.__chain__)}function u8(){this.__values__===pr&&(this.__values__=dh(this.value()));var Nt=this.__index__>=this.__values__.length;return{done:Nt,value:Nt?pr:this.__values__[this.__index__++]}}function d8(){return this}function p8(Nt){for(var Vt,Jt=this;Jt instanceof S0;){var cr=Kf(Jt);cr.__index__=0,cr.__values__=pr,Vt?Er.__wrapped__=cr:Vt=cr;var Er=cr;Jt=Jt.__wrapped__}return Er.__wrapped__=Nt,Vt}function f8(){var Nt=this.__wrapped__;if(Nt instanceof R0){var Vt=Nt;return this.__actions__.length&&(Vt=new R0(this)),Vt=Vt.reverse(),Vt.__actions__.push({func:Bd,args:[hp],thisArg:pr}),new Q0(Vt,this.__chain__)}return this.thru(hp)}function h8(){return Cf(this.__wrapped__,this.__actions__)}function m8(Nt,Vt,Jt){var cr=Y0(Nt)?ht:w6;return Jt&&Fa(Nt,Vt,Jt)&&(Vt=pr),cr(Nt,z0(Vt,3))}function g8(Nt,Vt){return(Y0(Nt)?gt:sf)(Nt,z0(Vt,3))}function A8(Nt,Vt){return ba(Pd(Nt,Vt),1)}function x8(Nt,Vt){return ba(Pd(Nt,Vt),H0)}function y8(Nt,Vt,Jt){return Jt=Jt===pr?1:nn(Jt),ba(Pd(Nt,Vt),Jt)}function rh(Nt,Vt){return(Y0(Nt)?nt:c2)(Nt,z0(Vt,3))}function nh(Nt,Vt){return(Y0(Nt)?ft:Th)(Nt,z0(Vt,3))}function E8(Nt,Vt,Jt,cr){Nt=Za(Nt)?Nt:Ql(Nt),Jt=Jt&&!cr?nn(Jt):0;var Er=Nt.length;return Jt<0&&(Jt=ua(Er+Jt,0)),Ld(Nt)?Jt<=Er&&Nt.indexOf(Vt,Jt)>-1:!!Er&&Tt(Nt,Vt,Jt)>-1}function Pd(Nt,Vt){return(Y0(Nt)?yt:df)(Nt,z0(Vt,3))}function C8(Nt,Vt,Jt,cr){return Nt==null?[]:(Y0(Vt)||(Vt=Vt==null?[]:[Vt]),Jt=cr?pr:Jt,Y0(Jt)||(Jt=Jt==null?[]:[Jt]),mf(Nt,Vt,Jt))}function v8(Nt,Vt,Jt){var cr=Y0(Nt)?Et:Wt,Er=arguments.length<3;return cr(Nt,z0(Vt,4),Jt,Er,c2)}function k8(Nt,Vt,Jt){var cr=Y0(Nt)?vt:Wt,Er=arguments.length<3;return cr(Nt,z0(Vt,4),Jt,Er,Th)}function b8(Nt,Vt){return(Y0(Nt)?gt:sf)(Nt,Dd(z0(Vt,3)))}function I8(Nt){return(Y0(Nt)?tf:z6)(Nt)}function S8(Nt,Vt,Jt){return Vt=(Jt?Fa(Nt,Vt,Jt):Vt===pr)?1:nn(Vt),(Y0(Nt)?v6:W6)(Nt,Vt)}function w8(Nt){return(Y0(Nt)?k6:X6)(Nt)}function R8(Nt){if(Nt==null)return 0;if(Za(Nt))return Ld(Nt)?er(Nt):Nt.length;var Vt=Ba(Nt);return Vt==fn||Vt==sa?Nt.size:W3(Nt).length}function T8(Nt,Vt,Jt){var cr=Y0(Nt)?kt:K6;return Jt&&Fa(Nt,Vt,Jt)&&(Vt=pr),cr(Nt,z0(Vt,3))}function B8(Nt,Vt){if(typeof Vt!="function")throw new Ni(qr);return Nt=nn(Nt),function(){if(--Nt<1)return Vt.apply(this,arguments)}}function ah(Nt,Vt,Jt){return Vt=Jt?pr:Vt,Vt=Nt&&Vt==null?Nt.length:Vt,go(Nt,zr,pr,pr,pr,pr,Vt)}function ih(Nt,Vt){var Jt;if(typeof Vt!="function")throw new Ni(qr);return Nt=nn(Nt),function(){return--Nt>0&&(Jt=Vt.apply(this,arguments)),Nt<=1&&(Vt=pr),Jt}}function sh(Nt,Vt,Jt){Vt=Jt?pr:Vt;var cr=go(Nt,Wr,pr,pr,pr,pr,pr,Vt);return cr.placeholder=sh.placeholder,cr}function oh(Nt,Vt,Jt){Vt=Jt?pr:Vt;var cr=go(Nt,Jr,pr,pr,pr,pr,pr,Vt);return cr.placeholder=oh.placeholder,cr}function lh(Nt,Vt,Jt){function cr(qn){var Li=k0,Du=B0;return k0=B0=pr,pn=qn,tn=Nt.apply(Du,Li)}function Er(qn){return pn=qn,F0=Ou(Fr,Vt),Pa?cr(qn):tn}function Sr(qn){var Li=qn-dn,Du=qn-pn,zh=Vt-Li;return ti?Ta(zh,M0-Du):zh}function jr(qn){var Li=qn-dn,Du=qn-pn;return dn===pr||Li>=Vt||Li<0||ti&&Du>=M0}function Fr(){var qn=qd();return jr(qn)?Kr(qn):(F0=Ou(Fr,Sr(qn)),pr)}function Kr(qn){return F0=pr,d2&&k0?cr(qn):(k0=B0=pr,tn)}function l0(){F0!==pr&&Oh(F0),pn=0,k0=dn=B0=F0=pr}function i0(){return F0===pr?tn:Kr(qd())}function p0(){var qn=qd(),Li=jr(qn);if(k0=arguments,B0=this,dn=qn,Li){if(F0===pr)return Er(dn);if(ti)return Oh(F0),F0=Ou(Fr,Vt),cr(dn)}return F0===pr&&(F0=Ou(Fr,Vt)),tn}var k0,B0,M0,tn,F0,dn,pn=0,Pa=!1,ti=!1,d2=!0;if(typeof Nt!="function")throw new Ni(qr);return Vt=Di(Vt)||0,Wn(Jt)&&(Pa=!!Jt.leading,ti="maxWait"in Jt,M0=ti?ua(Di(Jt.maxWait)||0,Vt):M0,d2="trailing"in Jt?!!Jt.trailing:d2),p0.cancel=l0,p0.flush=i0,p0}function P8(Nt){return go(Nt,x0)}function Od(Nt,Vt){if(typeof Nt!="function"||Vt!=null&&typeof Vt!="function")throw new Ni(qr);var Jt=function(){var cr=arguments,Er=Vt?Vt.apply(this,cr):cr[0],Sr=Jt.cache;if(Sr.has(Er))return Sr.get(Er);var jr=Nt.apply(this,cr);return Jt.cache=Sr.set(Er,jr)||Sr,jr};return Jt.cache=new(Od.Cache||ho),Jt}function Dd(Nt){if(typeof Nt!="function")throw new Ni(qr);return function(){var Vt=arguments;switch(Vt.length){case 0:return!Nt.call(this);case 1:return!Nt.call(this,Vt[0]);case 2:return!Nt.call(this,Vt[0],Vt[1]);case 3:return!Nt.call(this,Vt[0],Vt[1],Vt[2])}return!Nt.apply(this,Vt)}}function O8(Nt){return ih(2,Nt)}function D8(Nt,Vt){if(typeof Nt!="function")throw new Ni(qr);return Vt=Vt===pr?Vt:nn(Vt),cn(Nt,Vt)}function N8(Nt,Vt){if(typeof Nt!="function")throw new Ni(qr);return Vt=Vt==null?0:ua(nn(Vt),0),cn(function(Jt){var cr=Jt[Vt],Er=o2(Jt,0,Vt);return cr&&Ct(Er,cr),Ye(Nt,this,Er)})}function L8(Nt,Vt,Jt){var cr=!0,Er=!0;if(typeof Nt!="function")throw new Ni(qr);return Wn(Jt)&&(cr="leading"in Jt?!!Jt.leading:cr,Er="trailing"in Jt?!!Jt.trailing:Er),lh(Nt,Vt,{leading:cr,maxWait:Vt,trailing:Er})}function _8(Nt){return ah(Nt,1)}function M8(Nt,Vt){return Lp(tp(Vt),Nt)}function j8(){if(!arguments.length)return[];var Nt=arguments[0];return Y0(Nt)?Nt:[Nt]}function F8(Nt){return Bi(Nt,Yr)}function Q8(Nt,Vt){return Vt=typeof Vt=="function"?Vt:pr,Bi(Nt,Yr,Vt)}function V8(Nt){return Bi(Nt,Or|Yr)}function U8(Nt,Vt){return Vt=typeof Vt=="function"?Vt:pr,Bi(Nt,Or|Yr,Vt)}function H8(Nt,Vt){return Vt==null||nf(Nt,Vt,ga(Vt))}function is(Nt,Vt){return Nt===Vt||Nt!==Nt&&Vt!==Vt}function Za(Nt){return Nt!=null&&Nd(Nt.length)&&!yo(Nt)}function Jn(Nt){return $n(Nt)&&Za(Nt)}function G8(Nt){return Nt===!0||Nt===!1||$n(Nt)&&ja(Nt)==O0}function z8(Nt){return $n(Nt)&&Nt.nodeType===1&&!Su(Nt)}function W8(Nt){if(Nt==null)return!0;if(Za(Nt)&&(Y0(Nt)||typeof Nt=="string"||typeof Nt.splice=="function"||u2(Nt)||Wl(Nt)||T1(Nt)))return!Nt.length;var Vt=Ba(Nt);if(Vt==fn||Vt==sa)return!Nt.size;if(Iu(Nt))return!W3(Nt).length;for(var Jt in Nt)if(Sn.call(Nt,Jt))return!1;return!0}function X8(Nt,Vt){return vu(Nt,Vt)}function K8(Nt,Vt,Jt){Jt=typeof Jt=="function"?Jt:pr;var cr=Jt?Jt(Nt,Vt):pr;return cr===pr?vu(Nt,Vt,pr,Jt):!!cr}function gp(Nt){if(!$n(Nt))return!1;var Vt=ja(Nt);return Vt==G0||Vt==en||typeof Nt.message=="string"&&typeof Nt.name=="string"&&!Su(Nt)}function $8(Nt){return typeof Nt=="number"&&Sh(Nt)}function yo(Nt){if(!Wn(Nt))return!1;var Vt=ja(Nt);return Vt==Bn||Vt==In||Vt==g0||Vt==Yi}function ch(Nt){return typeof Nt=="number"&&Nt==nn(Nt)}function Nd(Nt){return typeof Nt=="number"&&Nt>-1&&Nt%1==0&&Nt<=u0}function Wn(Nt){var Vt=typeof Nt;return Nt!=null&&(Vt=="object"||Vt=="function")}function $n(Nt){return Nt!=null&&typeof Nt=="object"}function q8(Nt,Vt){return Nt===Vt||z3(Nt,Vt,cp(Vt))}function Y8(Nt,Vt,Jt){return Jt=typeof Jt=="function"?Jt:pr,z3(Nt,Vt,cp(Vt),Jt)}function Z8(Nt){return uh(Nt)&&Nt!=+Nt}function J8(Nt){if(V7(Nt))throw new Ip(Zr);return cf(Nt)}function eg(Nt){return Nt===null}function tg(Nt){return Nt==null}function uh(Nt){return typeof Nt=="number"||$n(Nt)&&ja(Nt)==Nn}function Su(Nt){if(!$n(Nt)||ja(Nt)!=Gn)return!1;var Vt=Hd(Nt);if(Vt===null)return!0;var Jt=Sn.call(Vt,"constructor")&&Vt.constructor;return typeof Jt=="function"&&Jt instanceof Jt&&Fd.call(Jt)==C7}function rg(Nt){return ch(Nt)&&Nt>=-u0&&Nt<=u0}function Ld(Nt){return typeof Nt=="string"||!Y0(Nt)&&$n(Nt)&&ja(Nt)==bs}function mi(Nt){return typeof Nt=="symbol"||$n(Nt)&&ja(Nt)==L0}function ng(Nt){return Nt===pr}function ag(Nt){return $n(Nt)&&Ba(Nt)==Ma}function ig(Nt){return $n(Nt)&&ja(Nt)==Ii}function dh(Nt){if(!Nt)return[];if(Za(Nt))return Ld(Nt)?nr(Nt):Ya(Nt);if(wu&&Nt[wu])return dr(Nt[wu]());var Vt=Ba(Nt);return(Vt==fn?rr:Vt==sa?or:Ql)(Nt)}function Eo(Nt){return Nt?(Nt=Di(Nt),Nt===H0||Nt===-H0?(Nt<0?-1:1)*w0:Nt===Nt?Nt:0):Nt===0?Nt:0}function nn(Nt){var Vt=Eo(Nt),Jt=Vt%1;return Vt===Vt?Jt?Vt-Jt:Vt:0}function ph(Nt){return Nt?b1(nn(Nt),0,U0):0}function Di(Nt){if(typeof Nt=="number")return Nt;if(mi(Nt))return V0;if(Wn(Nt)){var Vt=typeof Nt.valueOf=="function"?Nt.valueOf():Nt;Nt=Wn(Vt)?Vt+"":Vt}if(typeof Nt!="string")return Nt===0?Nt:+Nt;Nt=Ft(Nt);var Jt=wi.test(Nt);return Jt||ws.test(Nt)?W4(Nt.slice(2),Jt?2:8):Ss.test(Nt)?V0:+Nt}function fh(Nt){return Bs(Nt,Ja(Nt))}function sg(Nt){return Nt?b1(nn(Nt),-u0,u0):Nt===0?Nt:0}function vn(Nt){return Nt==null?"":hi(Nt)}function og(Nt,Vt){var Jt=zl(Nt);return Vt==null?Jt:rf(Jt,Vt)}function lg(Nt,Vt){return It(Nt,z0(Vt,3),Ts)}function cg(Nt,Vt){return It(Nt,z0(Vt,3),U3)}function ug(Nt,Vt){return Nt==null?Nt:Bp(Nt,z0(Vt,3),Ja)}function dg(Nt,Vt){return Nt==null?Nt:Bh(Nt,z0(Vt,3),Ja)}function pg(Nt,Vt){return Nt&&Ts(Nt,z0(Vt,3))}function fg(Nt,Vt){return Nt&&U3(Nt,z0(Vt,3))}function hg(Nt){return Nt==null?[]:xd(Nt,ga(Nt))}function mg(Nt){return Nt==null?[]:xd(Nt,Ja(Nt))}function Ap(Nt,Vt,Jt){var cr=Nt==null?pr:I1(Nt,Vt);return cr===pr?Jt:cr}function gg(Nt,Vt){return Nt!=null&&Qf(Nt,Vt,T6)}function xp(Nt,Vt){return Nt!=null&&Qf(Nt,Vt,B6)}function ga(Nt){return Za(Nt)?ef(Nt):W3(Nt)}function Ja(Nt){return Za(Nt)?ef(Nt,!0):Q6(Nt)}function Ag(Nt,Vt){var Jt={};return Vt=z0(Vt,3),Ts(Nt,function(cr,Er,Sr){mo(Jt,Vt(cr,Er,Sr),cr)}),Jt}function xg(Nt,Vt){var Jt={};return Vt=z0(Vt,3),Ts(Nt,function(cr,Er,Sr){mo(Jt,Er,Vt(cr,Er,Sr))}),Jt}function yg(Nt,Vt){return hh(Nt,Dd(z0(Vt)))}function hh(Nt,Vt){if(Nt==null)return{};var Jt=yt(lp(Nt),function(cr){return[cr]});return Vt=z0(Vt),gf(Nt,Jt,function(cr,Er){return Vt(cr,Er[0])})}function Eg(Nt,Vt,Jt){Vt=s2(Vt,Nt);var cr=-1,Er=Vt.length;for(Er||(Er=1,Nt=pr);++cr<Er;){var Sr=Nt==null?pr:Nt[Ps(Vt[cr])];Sr===pr&&(cr=Er,Sr=Jt),Nt=yo(Sr)?Sr.call(Nt):Sr}return Nt}function Cg(Nt,Vt,Jt){return Nt==null?Nt:ku(Nt,Vt,Jt)}function vg(Nt,Vt,Jt,cr){return cr=typeof cr=="function"?cr:pr,Nt==null?Nt:ku(Nt,Vt,Jt,cr)}function kg(Nt,Vt,Jt){var cr=Y0(Nt),Er=cr||u2(Nt)||Wl(Nt);if(Vt=z0(Vt,4),Jt==null){var Sr=Nt&&Nt.constructor;Jt=Er?cr?new Sr:[]:Wn(Nt)&&yo(Sr)?zl(Hd(Nt)):{}}return(Er?nt:Ts)(Nt,function(jr,Fr,Kr){return Vt(Jt,jr,Fr,Kr)}),Jt}function bg(Nt,Vt){return Nt==null||Z3(Nt,Vt)}function Ig(Nt,Vt,Jt){return Nt==null?Nt:Ef(Nt,Vt,tp(Jt))}function Sg(Nt,Vt,Jt,cr){return cr=typeof cr=="function"?cr:pr,Nt==null?Nt:Ef(Nt,Vt,tp(Jt),cr)}function Ql(Nt){return Nt==null?[]:_t(Nt,ga(Nt))}function wg(Nt){return Nt==null?[]:_t(Nt,Ja(Nt))}function Rg(Nt,Vt,Jt){return Jt===pr&&(Jt=Vt,Vt=pr),Jt!==pr&&(Jt=Di(Jt),Jt=Jt===Jt?Jt:0),Vt!==pr&&(Vt=Di(Vt),Vt=Vt===Vt?Vt:0),b1(Di(Nt),Vt,Jt)}function Tg(Nt,Vt,Jt){return Vt=Eo(Vt),Jt===pr?(Jt=Vt,Vt=0):Jt=Eo(Jt),Nt=Di(Nt),P6(Nt,Vt,Jt)}function Bg(Nt,Vt,Jt){if(Jt&&typeof Jt!="boolean"&&Fa(Nt,Vt,Jt)&&(Vt=Jt=pr),Jt===pr&&(typeof Vt=="boolean"?(Jt=Vt,Vt=pr):typeof Nt=="boolean"&&(Jt=Nt,Nt=pr)),Nt===pr&&Vt===pr?(Nt=0,Vt=1):(Nt=Eo(Nt),Vt===pr?(Vt=Nt,Nt=0):Vt=Eo(Vt)),Nt>Vt){var cr=Nt;Nt=Vt,Vt=cr}if(Jt||Nt%1||Vt%1){var Er=wh();return Ta(Nt+Er*(Vt-Nt+z4("1e-"+((Er+"").length-1))),Vt)}return $3(Nt,Vt)}function mh(Nt){return Mp(vn(Nt).toLowerCase())}function gh(Nt){return Nt=vn(Nt),Nt&&Nt.replace(r2,$4).replace(N4,"")}function Pg(Nt,Vt,Jt){Nt=vn(Nt),Vt=hi(Vt);var cr=Nt.length;Jt=Jt===pr?cr:b1(nn(Jt),0,cr);var Er=Jt;return Jt-=Vt.length,Jt>=0&&Nt.slice(Jt,Er)==Vt}function Og(Nt){return Nt=vn(Nt),Nt&&Lr.test(Nt)?Nt.replace(br,q4):Nt}function Dg(Nt){return Nt=vn(Nt),Nt&&T0.test(Nt)?Nt.replace(d0,"\\$&"):Nt}function Ng(Nt,Vt,Jt){Nt=vn(Nt),Vt=nn(Vt);var cr=Vt?er(Nt):0;if(!Vt||cr>=Vt)return Nt;var Er=(Vt-cr)/2;return Id(Xd(Er),Jt)+Nt+Id(Wd(Er),Jt)}function Lg(Nt,Vt,Jt){Nt=vn(Nt),Vt=nn(Vt);var cr=Vt?er(Nt):0;return Vt&&cr<Vt?Nt+Id(Vt-cr,Jt):Nt}function _g(Nt,Vt,Jt){Nt=vn(Nt),Vt=nn(Vt);var cr=Vt?er(Nt):0;return Vt&&cr<Vt?Id(Vt-cr,Jt)+Nt:Nt}function Mg(Nt,Vt,Jt){return Jt||Vt==null?Vt=0:Vt&&(Vt=+Vt),P7(vn(Nt).replace(E0,""),Vt||0)}function jg(Nt,Vt,Jt){return Vt=(Jt?Fa(Nt,Vt,Jt):Vt===pr)?1:nn(Vt),q3(vn(Nt),Vt)}function Fg(){var Nt=arguments,Vt=vn(Nt[0]);return Nt.length<3?Vt:Vt.replace(Nt[1],Nt[2])}function Qg(Nt,Vt,Jt){return Jt&&typeof Jt!="number"&&Fa(Nt,Vt,Jt)&&(Vt=Jt=pr),(Jt=Jt===pr?U0:Jt>>>0)?(Nt=vn(Nt),Nt&&(typeof Vt=="string"||Vt!=null&&!_p(Vt))&&(Vt=hi(Vt),!Vt&&tr(Nt))?o2(nr(Nt),0,Jt):Nt.split(Vt,Jt)):[]}function Vg(Nt,Vt,Jt){return Nt=vn(Nt),Jt=Jt==null?0:b1(nn(Jt),0,Nt.length),Vt=hi(Vt),Nt.slice(Jt,Jt+Vt.length)==Vt}function Ug(Nt,Vt,Jt){var cr=mr.templateSettings;Jt&&Fa(Nt,Vt,Jt)&&(Vt=pr),Nt=vn(Nt),Vt=Yd({},Vt,cr,Mf);var Er,Sr,jr=Yd({},Vt.imports,cr.imports,Mf),Fr=ga(jr),Kr=_t(jr,Fr),l0=0,i0=Vt.interpolate||Ka,p0="__p += '",k0=Sp((Vt.escape||Ka).source+"|"+i0.source+"|"+(i0===Hr?Au:Ka).source+"|"+(Vt.evaluate||Ka).source+"|$","g"),B0="//# sourceURL="+(Sn.call(Vt,"sourceURL")?(Vt.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++F4+"]")+`
2780
+ `)}function hm(Nt){return Y0(Nt)||T1(Nt)||!!(Ih&&Nt&&Nt[Ih])}function xo(Nt,Vt){var Jt=typeof Nt;return Vt=Vt??u0,!!Vt&&(Jt=="number"||Jt!="symbol"&&po.test(Nt))&&Nt>-1&&Nt%1==0&&Nt<Vt}function Fa(Nt,Vt,Jt){if(!Wn(Jt))return!1;var cr=typeof Vt;return!!(cr=="number"?Za(Jt)&&xo(Vt,Jt.length):cr=="string"&&Vt in Jt)&&is(Jt[Vt],Nt)}function up(Nt,Vt){if(Y0(Nt))return!1;var Jt=typeof Nt;return!(Jt!="number"&&Jt!="symbol"&&Jt!="boolean"&&Nt!=null&&!mi(Nt))||f0.test(Nt)||!s0.test(Nt)||Vt!=null&&Nt in jn(Vt)}function mm(Nt){var Vt=typeof Nt;return Vt=="string"||Vt=="number"||Vt=="symbol"||Vt=="boolean"?Nt!=="__proto__":Nt===null}function dp(Nt){var Vt=wd(Nt),Jt=mr[Vt];if(typeof Jt!="function"||!(Vt in R0.prototype))return!1;if(Nt===Jt)return!0;var cr=Pp(Jt);return!!cr&&Nt===cr[0]}function gm(Nt){return!!Eh&&Eh in Nt}function Iu(Nt){var Vt=Nt&&Nt.constructor;return Nt===(typeof Vt=="function"&&Vt.prototype||Ul)}function Uf(Nt){return Nt===Nt&&!Wn(Nt)}function Hf(Nt,Vt){return function(Jt){return Jt!=null&&Jt[Nt]===Vt&&(Vt!==pr||Nt in jn(Jt))}}function Am(Nt){var Vt=Od(Nt,function(cr){return Jt.size===Ir&&Jt.clear(),cr}),Jt=Vt.cache;return Vt}function xm(Nt,Vt){var Jt=Nt[1],cr=Vt[1],Er=Jt|cr,Sr=Er<(wr|Tr|zr),jr=cr==zr&&Jt==Wr||cr==zr&&Jt==m0&&Nt[7].length<=Vt[8]||cr==(zr|m0)&&Vt[7].length<=Vt[8]&&Jt==Wr;if(!Sr&&!jr)return Nt;cr&wr&&(Nt[2]=Vt[2],Er|=Jt&wr?0:n0);var Fr=Vt[3];if(Fr){var Kr=Nt[3];Nt[3]=Kr?Sf(Kr,Fr,Vt[4]):Fr,Nt[4]=Kr?yr(Nt[3],Nr):Vt[4]}return Fr=Vt[5],Fr&&(Kr=Nt[5],Nt[5]=Kr?wf(Kr,Fr,Vt[6]):Fr,Nt[6]=Kr?yr(Nt[5],Nr):Vt[6]),Fr=Vt[7],Fr&&(Nt[7]=Fr),cr&zr&&(Nt[8]=Nt[8]==null?Vt[8]:Ta(Nt[8],Vt[8])),Nt[9]==null&&(Nt[9]=Vt[9]),Nt[0]=Vt[0],Nt[1]=Er,Nt}function ym(Nt){var Vt=[];if(Nt!=null)for(var Jt in jn(Nt))Vt.push(Jt);return Vt}function Em(Nt){return Qd.call(Nt)}function Gf(Nt,Vt,Jt){return Vt=ua(Vt===pr?Nt.length-1:Vt,0),function(){for(var cr=arguments,Er=-1,Sr=ua(cr.length-Vt,0),jr=la(Sr);++Er<Sr;)jr[Er]=cr[Vt+Er];Er=-1;for(var Fr=la(Vt+1);++Er<Vt;)Fr[Er]=cr[Er];return Fr[Vt]=Jt(jr),Ye(Nt,this,Fr)}}function zf(Nt,Vt){return Vt.length<2?Nt:I1(Nt,Pi(Vt,0,-1))}function Cm(Nt,Vt){for(var Jt=Nt.length,cr=Ta(Vt.length,Jt),Er=Ya(Nt);cr--;){var Sr=Vt[cr];Nt[cr]=xo(Sr,Jt)?Er[Sr]:pr}return Nt}function pp(Nt,Vt){if((Vt!=="constructor"||typeof Nt[Vt]!="function")&&Vt!="__proto__")return Nt[Vt]}function Wf(Nt,Vt,Jt){var cr=Vt+"";return Dp(Nt,fm(cr,vm(um(cr),Jt)))}function Xf(Nt){var Vt=0,Jt=0;return function(){var cr=B7(),Er=D0-(cr-Jt);if(Jt=cr,Er>0){if(++Vt>=X0)return arguments[0]}else Vt=0;return Nt.apply(pr,arguments)}}function Td(Nt,Vt){var Jt=-1,cr=Nt.length,Er=cr-1;for(Vt=Vt===pr?cr:Vt;++Jt<Vt;){var Sr=$3(Jt,Er),jr=Nt[Sr];Nt[Sr]=Nt[Jt],Nt[Jt]=jr}return Nt.length=Vt,Nt}function Ps(Nt){if(typeof Nt=="string"||mi(Nt))return Nt;var Vt=Nt+"";return Vt=="0"&&1/Nt==-H0?"-0":Vt}function w1(Nt){if(Nt!=null){try{return Fd.call(Nt)}catch{}try{return Nt+""}catch{}}return""}function vm(Nt,Vt){return nt(Dr,function(Jt){var cr="_."+Jt[0];Vt&Jt[1]&&!At(Nt,cr)&&Nt.push(cr)}),Nt.sort()}function Kf(Nt){if(Nt instanceof R0)return Nt.clone();var Vt=new Q0(Nt.__wrapped__,Nt.__chain__);return Vt.__actions__=Ya(Nt.__actions__),Vt.__index__=Nt.__index__,Vt.__values__=Nt.__values__,Vt}function km(Nt,Vt,Jt){Vt=(Jt?Fa(Nt,Vt,Jt):Vt===pr)?1:ua(nn(Vt),0);var cr=Nt==null?0:Nt.length;if(!cr||Vt<1)return[];for(var Er=0,Sr=0,jr=la(Wd(cr/Vt));Er<cr;)jr[Sr++]=Pi(Nt,Er,Er+=Vt);return jr}function bm(Nt){for(var Vt=-1,Jt=Nt==null?0:Nt.length,cr=0,Er=[];++Vt<Jt;){var Sr=Nt[Vt];Sr&&(Er[cr++]=Sr)}return Er}function Im(){var Nt=arguments.length;if(!Nt)return[];for(var Vt=la(Nt-1),Jt=arguments[0],cr=Nt;cr--;)Vt[cr-1]=arguments[cr];return Ct(Y0(Jt)?Ya(Jt):[Jt],ba(Vt,1))}function Sm(Nt,Vt,Jt){var cr=Nt==null?0:Nt.length;return cr?(Vt=Jt||Vt===pr?1:nn(Vt),Pi(Nt,Vt<0?0:Vt,cr)):[]}function wm(Nt,Vt,Jt){var cr=Nt==null?0:Nt.length;return cr?(Vt=Jt||Vt===pr?1:nn(Vt),Vt=cr-Vt,Pi(Nt,0,Vt<0?0:Vt)):[]}function Rm(Nt,Vt){return Nt&&Nt.length?Cd(Nt,z0(Vt,3),!0,!0):[]}function Tm(Nt,Vt){return Nt&&Nt.length?Cd(Nt,z0(Vt,3),!0):[]}function Bm(Nt,Vt,Jt,cr){var Er=Nt==null?0:Nt.length;return Er?(Jt&&typeof Jt!="number"&&Fa(Nt,Vt,Jt)&&(Jt=0,cr=Er),R6(Nt,Vt,Jt,cr)):[]}function $f(Nt,Vt,Jt){var cr=Nt==null?0:Nt.length;if(!cr)return-1;var Er=Jt==null?0:nn(Jt);return Er<0&&(Er=ua(cr+Er,0)),Rt(Nt,z0(Vt,3),Er)}function qf(Nt,Vt,Jt){var cr=Nt==null?0:Nt.length;if(!cr)return-1;var Er=cr-1;return Jt!==pr&&(Er=nn(Jt),Er=Jt<0?ua(cr+Er,0):Ta(Er,cr-1)),Rt(Nt,z0(Vt,3),Er,!0)}function Yf(Nt){return Nt!=null&&Nt.length?ba(Nt,1):[]}function Pm(Nt){return Nt!=null&&Nt.length?ba(Nt,H0):[]}function Om(Nt,Vt){return Nt!=null&&Nt.length?(Vt=Vt===pr?1:nn(Vt),ba(Nt,Vt)):[]}function Dm(Nt){for(var Vt=-1,Jt=Nt==null?0:Nt.length,cr={};++Vt<Jt;){var Er=Nt[Vt];cr[Er[0]]=Er[1]}return cr}function Zf(Nt){return Nt&&Nt.length?Nt[0]:pr}function Nm(Nt,Vt,Jt){var cr=Nt==null?0:Nt.length;if(!cr)return-1;var Er=Jt==null?0:nn(Jt);return Er<0&&(Er=ua(cr+Er,0)),Tt(Nt,Vt,Er)}function Lm(Nt){return Nt!=null&&Nt.length?Pi(Nt,0,-1):[]}function _m(Nt,Vt){return Nt==null?"":R7.call(Nt,Vt)}function Oi(Nt){var Vt=Nt==null?0:Nt.length;return Vt?Nt[Vt-1]:pr}function Mm(Nt,Vt,Jt){var cr=Nt==null?0:Nt.length;if(!cr)return-1;var Er=cr;return Jt!==pr&&(Er=nn(Jt),Er=Er<0?ua(cr+Er,0):Ta(Er,cr-1)),Vt===Vt?Qt(Nt,Vt,Er):Rt(Nt,Pt,Er,!0)}function jm(Nt,Vt){return Nt&&Nt.length?hf(Nt,nn(Vt)):pr}function Jf(Nt,Vt){return Nt&&Nt.length&&Vt&&Vt.length?K3(Nt,Vt):Nt}function Fm(Nt,Vt,Jt){return Nt&&Nt.length&&Vt&&Vt.length?K3(Nt,Vt,z0(Jt,2)):Nt}function Qm(Nt,Vt,Jt){return Nt&&Nt.length&&Vt&&Vt.length?K3(Nt,Vt,pr,Jt):Nt}function Vm(Nt,Vt){var Jt=[];if(!Nt||!Nt.length)return Jt;var cr=-1,Er=[],Sr=Nt.length;for(Vt=z0(Vt,3);++cr<Sr;){var jr=Nt[cr];Vt(jr,cr,Nt)&&(Jt.push(jr),Er.push(cr))}return Af(Nt,Er),Jt}function hp(Nt){return Nt==null?Nt:O7.call(Nt)}function Um(Nt,Vt,Jt){var cr=Nt==null?0:Nt.length;return cr?(Jt&&typeof Jt!="number"&&Fa(Nt,Vt,Jt)?(Vt=0,Jt=cr):(Vt=Vt==null?0:nn(Vt),Jt=Jt===pr?cr:nn(Jt)),Pi(Nt,Vt,Jt)):[]}function Hm(Nt,Vt){return Ed(Nt,Vt)}function Gm(Nt,Vt,Jt){return Y3(Nt,Vt,z0(Jt,2))}function zm(Nt,Vt){var Jt=Nt==null?0:Nt.length;if(Jt){var cr=Ed(Nt,Vt);if(cr<Jt&&is(Nt[cr],Vt))return cr}return-1}function Wm(Nt,Vt){return Ed(Nt,Vt,!0)}function Xm(Nt,Vt,Jt){return Y3(Nt,Vt,z0(Jt,2),!0)}function Km(Nt,Vt){if(Nt!=null&&Nt.length){var Jt=Ed(Nt,Vt,!0)-1;if(is(Nt[Jt],Vt))return Jt}return-1}function $m(Nt){return Nt&&Nt.length?xf(Nt):[]}function qm(Nt,Vt){return Nt&&Nt.length?xf(Nt,z0(Vt,2)):[]}function Ym(Nt){var Vt=Nt==null?0:Nt.length;return Vt?Pi(Nt,1,Vt):[]}function Zm(Nt,Vt,Jt){return Nt&&Nt.length?(Vt=Jt||Vt===pr?1:nn(Vt),Pi(Nt,0,Vt<0?0:Vt)):[]}function Jm(Nt,Vt,Jt){var cr=Nt==null?0:Nt.length;return cr?(Vt=Jt||Vt===pr?1:nn(Vt),Vt=cr-Vt,Pi(Nt,Vt<0?0:Vt,cr)):[]}function eg(Nt,Vt){return Nt&&Nt.length?Cd(Nt,z0(Vt,3),!1,!0):[]}function tg(Nt,Vt){return Nt&&Nt.length?Cd(Nt,z0(Vt,3)):[]}function rg(Nt){return Nt&&Nt.length?i2(Nt):[]}function ng(Nt,Vt){return Nt&&Nt.length?i2(Nt,z0(Vt,2)):[]}function ag(Nt,Vt){return Vt=typeof Vt=="function"?Vt:pr,Nt&&Nt.length?i2(Nt,pr,Vt):[]}function mp(Nt){if(!Nt||!Nt.length)return[];var Vt=0;return Nt=gt(Nt,function(Jt){if(Jn(Jt))return Vt=ua(Jt.length,Vt),!0}),Ht(Vt,function(Jt){return yt(Nt,Ot(Jt))})}function eh(Nt,Vt){if(!Nt||!Nt.length)return[];var Jt=mp(Nt);return Vt==null?Jt:yt(Jt,function(cr){return Ye(Vt,pr,cr)})}function ig(Nt,Vt){return vf(Nt||[],Vt||[],yu)}function sg(Nt,Vt){return vf(Nt||[],Vt||[],ku)}function th(Nt){var Vt=mr(Nt);return Vt.__chain__=!0,Vt}function og(Nt,Vt){return Vt(Nt),Nt}function Bd(Nt,Vt){return Vt(Nt)}function lg(){return th(this)}function cg(){return new Q0(this.value(),this.__chain__)}function ug(){this.__values__===pr&&(this.__values__=dh(this.value()));var Nt=this.__index__>=this.__values__.length;return{done:Nt,value:Nt?pr:this.__values__[this.__index__++]}}function dg(){return this}function pg(Nt){for(var Vt,Jt=this;Jt instanceof S0;){var cr=Kf(Jt);cr.__index__=0,cr.__values__=pr,Vt?Er.__wrapped__=cr:Vt=cr;var Er=cr;Jt=Jt.__wrapped__}return Er.__wrapped__=Nt,Vt}function fg(){var Nt=this.__wrapped__;if(Nt instanceof R0){var Vt=Nt;return this.__actions__.length&&(Vt=new R0(this)),Vt=Vt.reverse(),Vt.__actions__.push({func:Bd,args:[hp],thisArg:pr}),new Q0(Vt,this.__chain__)}return this.thru(hp)}function hg(){return Cf(this.__wrapped__,this.__actions__)}function mg(Nt,Vt,Jt){var cr=Y0(Nt)?ht:w6;return Jt&&Fa(Nt,Vt,Jt)&&(Vt=pr),cr(Nt,z0(Vt,3))}function gg(Nt,Vt){return(Y0(Nt)?gt:sf)(Nt,z0(Vt,3))}function Ag(Nt,Vt){return ba(Pd(Nt,Vt),1)}function xg(Nt,Vt){return ba(Pd(Nt,Vt),H0)}function yg(Nt,Vt,Jt){return Jt=Jt===pr?1:nn(Jt),ba(Pd(Nt,Vt),Jt)}function rh(Nt,Vt){return(Y0(Nt)?nt:c2)(Nt,z0(Vt,3))}function nh(Nt,Vt){return(Y0(Nt)?ft:Th)(Nt,z0(Vt,3))}function Eg(Nt,Vt,Jt,cr){Nt=Za(Nt)?Nt:Ql(Nt),Jt=Jt&&!cr?nn(Jt):0;var Er=Nt.length;return Jt<0&&(Jt=ua(Er+Jt,0)),Ld(Nt)?Jt<=Er&&Nt.indexOf(Vt,Jt)>-1:!!Er&&Tt(Nt,Vt,Jt)>-1}function Pd(Nt,Vt){return(Y0(Nt)?yt:df)(Nt,z0(Vt,3))}function Cg(Nt,Vt,Jt,cr){return Nt==null?[]:(Y0(Vt)||(Vt=Vt==null?[]:[Vt]),Jt=cr?pr:Jt,Y0(Jt)||(Jt=Jt==null?[]:[Jt]),mf(Nt,Vt,Jt))}function vg(Nt,Vt,Jt){var cr=Y0(Nt)?Et:Wt,Er=arguments.length<3;return cr(Nt,z0(Vt,4),Jt,Er,c2)}function kg(Nt,Vt,Jt){var cr=Y0(Nt)?vt:Wt,Er=arguments.length<3;return cr(Nt,z0(Vt,4),Jt,Er,Th)}function bg(Nt,Vt){return(Y0(Nt)?gt:sf)(Nt,Dd(z0(Vt,3)))}function Ig(Nt){return(Y0(Nt)?tf:z6)(Nt)}function Sg(Nt,Vt,Jt){return Vt=(Jt?Fa(Nt,Vt,Jt):Vt===pr)?1:nn(Vt),(Y0(Nt)?v6:W6)(Nt,Vt)}function wg(Nt){return(Y0(Nt)?k6:X6)(Nt)}function Rg(Nt){if(Nt==null)return 0;if(Za(Nt))return Ld(Nt)?er(Nt):Nt.length;var Vt=Ba(Nt);return Vt==fn||Vt==sa?Nt.size:W3(Nt).length}function Tg(Nt,Vt,Jt){var cr=Y0(Nt)?kt:K6;return Jt&&Fa(Nt,Vt,Jt)&&(Vt=pr),cr(Nt,z0(Vt,3))}function Bg(Nt,Vt){if(typeof Vt!="function")throw new Ni(qr);return Nt=nn(Nt),function(){if(--Nt<1)return Vt.apply(this,arguments)}}function ah(Nt,Vt,Jt){return Vt=Jt?pr:Vt,Vt=Nt&&Vt==null?Nt.length:Vt,go(Nt,zr,pr,pr,pr,pr,Vt)}function ih(Nt,Vt){var Jt;if(typeof Vt!="function")throw new Ni(qr);return Nt=nn(Nt),function(){return--Nt>0&&(Jt=Vt.apply(this,arguments)),Nt<=1&&(Vt=pr),Jt}}function sh(Nt,Vt,Jt){Vt=Jt?pr:Vt;var cr=go(Nt,Wr,pr,pr,pr,pr,pr,Vt);return cr.placeholder=sh.placeholder,cr}function oh(Nt,Vt,Jt){Vt=Jt?pr:Vt;var cr=go(Nt,Jr,pr,pr,pr,pr,pr,Vt);return cr.placeholder=oh.placeholder,cr}function lh(Nt,Vt,Jt){function cr(qn){var Li=k0,Du=B0;return k0=B0=pr,pn=qn,tn=Nt.apply(Du,Li)}function Er(qn){return pn=qn,F0=Ou(Fr,Vt),Pa?cr(qn):tn}function Sr(qn){var Li=qn-dn,Du=qn-pn,zh=Vt-Li;return ti?Ta(zh,M0-Du):zh}function jr(qn){var Li=qn-dn,Du=qn-pn;return dn===pr||Li>=Vt||Li<0||ti&&Du>=M0}function Fr(){var qn=qd();return jr(qn)?Kr(qn):(F0=Ou(Fr,Sr(qn)),pr)}function Kr(qn){return F0=pr,d2&&k0?cr(qn):(k0=B0=pr,tn)}function l0(){F0!==pr&&Oh(F0),pn=0,k0=dn=B0=F0=pr}function i0(){return F0===pr?tn:Kr(qd())}function p0(){var qn=qd(),Li=jr(qn);if(k0=arguments,B0=this,dn=qn,Li){if(F0===pr)return Er(dn);if(ti)return Oh(F0),F0=Ou(Fr,Vt),cr(dn)}return F0===pr&&(F0=Ou(Fr,Vt)),tn}var k0,B0,M0,tn,F0,dn,pn=0,Pa=!1,ti=!1,d2=!0;if(typeof Nt!="function")throw new Ni(qr);return Vt=Di(Vt)||0,Wn(Jt)&&(Pa=!!Jt.leading,ti="maxWait"in Jt,M0=ti?ua(Di(Jt.maxWait)||0,Vt):M0,d2="trailing"in Jt?!!Jt.trailing:d2),p0.cancel=l0,p0.flush=i0,p0}function Pg(Nt){return go(Nt,x0)}function Od(Nt,Vt){if(typeof Nt!="function"||Vt!=null&&typeof Vt!="function")throw new Ni(qr);var Jt=function(){var cr=arguments,Er=Vt?Vt.apply(this,cr):cr[0],Sr=Jt.cache;if(Sr.has(Er))return Sr.get(Er);var jr=Nt.apply(this,cr);return Jt.cache=Sr.set(Er,jr)||Sr,jr};return Jt.cache=new(Od.Cache||ho),Jt}function Dd(Nt){if(typeof Nt!="function")throw new Ni(qr);return function(){var Vt=arguments;switch(Vt.length){case 0:return!Nt.call(this);case 1:return!Nt.call(this,Vt[0]);case 2:return!Nt.call(this,Vt[0],Vt[1]);case 3:return!Nt.call(this,Vt[0],Vt[1],Vt[2])}return!Nt.apply(this,Vt)}}function Og(Nt){return ih(2,Nt)}function Dg(Nt,Vt){if(typeof Nt!="function")throw new Ni(qr);return Vt=Vt===pr?Vt:nn(Vt),cn(Nt,Vt)}function Ng(Nt,Vt){if(typeof Nt!="function")throw new Ni(qr);return Vt=Vt==null?0:ua(nn(Vt),0),cn(function(Jt){var cr=Jt[Vt],Er=o2(Jt,0,Vt);return cr&&Ct(Er,cr),Ye(Nt,this,Er)})}function Lg(Nt,Vt,Jt){var cr=!0,Er=!0;if(typeof Nt!="function")throw new Ni(qr);return Wn(Jt)&&(cr="leading"in Jt?!!Jt.leading:cr,Er="trailing"in Jt?!!Jt.trailing:Er),lh(Nt,Vt,{leading:cr,maxWait:Vt,trailing:Er})}function _g(Nt){return ah(Nt,1)}function Mg(Nt,Vt){return Lp(tp(Vt),Nt)}function jg(){if(!arguments.length)return[];var Nt=arguments[0];return Y0(Nt)?Nt:[Nt]}function Fg(Nt){return Bi(Nt,Yr)}function Qg(Nt,Vt){return Vt=typeof Vt=="function"?Vt:pr,Bi(Nt,Yr,Vt)}function Vg(Nt){return Bi(Nt,Or|Yr)}function Ug(Nt,Vt){return Vt=typeof Vt=="function"?Vt:pr,Bi(Nt,Or|Yr,Vt)}function Hg(Nt,Vt){return Vt==null||nf(Nt,Vt,ga(Vt))}function is(Nt,Vt){return Nt===Vt||Nt!==Nt&&Vt!==Vt}function Za(Nt){return Nt!=null&&Nd(Nt.length)&&!yo(Nt)}function Jn(Nt){return $n(Nt)&&Za(Nt)}function Gg(Nt){return Nt===!0||Nt===!1||$n(Nt)&&ja(Nt)==O0}function zg(Nt){return $n(Nt)&&Nt.nodeType===1&&!Su(Nt)}function Wg(Nt){if(Nt==null)return!0;if(Za(Nt)&&(Y0(Nt)||typeof Nt=="string"||typeof Nt.splice=="function"||u2(Nt)||Wl(Nt)||T1(Nt)))return!Nt.length;var Vt=Ba(Nt);if(Vt==fn||Vt==sa)return!Nt.size;if(Iu(Nt))return!W3(Nt).length;for(var Jt in Nt)if(Sn.call(Nt,Jt))return!1;return!0}function Xg(Nt,Vt){return vu(Nt,Vt)}function Kg(Nt,Vt,Jt){Jt=typeof Jt=="function"?Jt:pr;var cr=Jt?Jt(Nt,Vt):pr;return cr===pr?vu(Nt,Vt,pr,Jt):!!cr}function gp(Nt){if(!$n(Nt))return!1;var Vt=ja(Nt);return Vt==G0||Vt==en||typeof Nt.message=="string"&&typeof Nt.name=="string"&&!Su(Nt)}function $g(Nt){return typeof Nt=="number"&&Sh(Nt)}function yo(Nt){if(!Wn(Nt))return!1;var Vt=ja(Nt);return Vt==Bn||Vt==In||Vt==g0||Vt==Yi}function ch(Nt){return typeof Nt=="number"&&Nt==nn(Nt)}function Nd(Nt){return typeof Nt=="number"&&Nt>-1&&Nt%1==0&&Nt<=u0}function Wn(Nt){var Vt=typeof Nt;return Nt!=null&&(Vt=="object"||Vt=="function")}function $n(Nt){return Nt!=null&&typeof Nt=="object"}function qg(Nt,Vt){return Nt===Vt||z3(Nt,Vt,cp(Vt))}function Yg(Nt,Vt,Jt){return Jt=typeof Jt=="function"?Jt:pr,z3(Nt,Vt,cp(Vt),Jt)}function Zg(Nt){return uh(Nt)&&Nt!=+Nt}function Jg(Nt){if(V7(Nt))throw new Ip(Zr);return cf(Nt)}function e8(Nt){return Nt===null}function t8(Nt){return Nt==null}function uh(Nt){return typeof Nt=="number"||$n(Nt)&&ja(Nt)==Nn}function Su(Nt){if(!$n(Nt)||ja(Nt)!=Gn)return!1;var Vt=Hd(Nt);if(Vt===null)return!0;var Jt=Sn.call(Vt,"constructor")&&Vt.constructor;return typeof Jt=="function"&&Jt instanceof Jt&&Fd.call(Jt)==C7}function r8(Nt){return ch(Nt)&&Nt>=-u0&&Nt<=u0}function Ld(Nt){return typeof Nt=="string"||!Y0(Nt)&&$n(Nt)&&ja(Nt)==bs}function mi(Nt){return typeof Nt=="symbol"||$n(Nt)&&ja(Nt)==L0}function n8(Nt){return Nt===pr}function a8(Nt){return $n(Nt)&&Ba(Nt)==Ma}function i8(Nt){return $n(Nt)&&ja(Nt)==Ii}function dh(Nt){if(!Nt)return[];if(Za(Nt))return Ld(Nt)?nr(Nt):Ya(Nt);if(wu&&Nt[wu])return dr(Nt[wu]());var Vt=Ba(Nt);return(Vt==fn?rr:Vt==sa?or:Ql)(Nt)}function Eo(Nt){return Nt?(Nt=Di(Nt),Nt===H0||Nt===-H0?(Nt<0?-1:1)*w0:Nt===Nt?Nt:0):Nt===0?Nt:0}function nn(Nt){var Vt=Eo(Nt),Jt=Vt%1;return Vt===Vt?Jt?Vt-Jt:Vt:0}function ph(Nt){return Nt?b1(nn(Nt),0,U0):0}function Di(Nt){if(typeof Nt=="number")return Nt;if(mi(Nt))return V0;if(Wn(Nt)){var Vt=typeof Nt.valueOf=="function"?Nt.valueOf():Nt;Nt=Wn(Vt)?Vt+"":Vt}if(typeof Nt!="string")return Nt===0?Nt:+Nt;Nt=Ft(Nt);var Jt=wi.test(Nt);return Jt||ws.test(Nt)?W4(Nt.slice(2),Jt?2:8):Ss.test(Nt)?V0:+Nt}function fh(Nt){return Bs(Nt,Ja(Nt))}function s8(Nt){return Nt?b1(nn(Nt),-u0,u0):Nt===0?Nt:0}function vn(Nt){return Nt==null?"":hi(Nt)}function o8(Nt,Vt){var Jt=zl(Nt);return Vt==null?Jt:rf(Jt,Vt)}function l8(Nt,Vt){return It(Nt,z0(Vt,3),Ts)}function c8(Nt,Vt){return It(Nt,z0(Vt,3),U3)}function u8(Nt,Vt){return Nt==null?Nt:Bp(Nt,z0(Vt,3),Ja)}function d8(Nt,Vt){return Nt==null?Nt:Bh(Nt,z0(Vt,3),Ja)}function p8(Nt,Vt){return Nt&&Ts(Nt,z0(Vt,3))}function f8(Nt,Vt){return Nt&&U3(Nt,z0(Vt,3))}function h8(Nt){return Nt==null?[]:xd(Nt,ga(Nt))}function m8(Nt){return Nt==null?[]:xd(Nt,Ja(Nt))}function Ap(Nt,Vt,Jt){var cr=Nt==null?pr:I1(Nt,Vt);return cr===pr?Jt:cr}function g8(Nt,Vt){return Nt!=null&&Qf(Nt,Vt,T6)}function xp(Nt,Vt){return Nt!=null&&Qf(Nt,Vt,B6)}function ga(Nt){return Za(Nt)?ef(Nt):W3(Nt)}function Ja(Nt){return Za(Nt)?ef(Nt,!0):Q6(Nt)}function A8(Nt,Vt){var Jt={};return Vt=z0(Vt,3),Ts(Nt,function(cr,Er,Sr){mo(Jt,Vt(cr,Er,Sr),cr)}),Jt}function x8(Nt,Vt){var Jt={};return Vt=z0(Vt,3),Ts(Nt,function(cr,Er,Sr){mo(Jt,Er,Vt(cr,Er,Sr))}),Jt}function y8(Nt,Vt){return hh(Nt,Dd(z0(Vt)))}function hh(Nt,Vt){if(Nt==null)return{};var Jt=yt(lp(Nt),function(cr){return[cr]});return Vt=z0(Vt),gf(Nt,Jt,function(cr,Er){return Vt(cr,Er[0])})}function E8(Nt,Vt,Jt){Vt=s2(Vt,Nt);var cr=-1,Er=Vt.length;for(Er||(Er=1,Nt=pr);++cr<Er;){var Sr=Nt==null?pr:Nt[Ps(Vt[cr])];Sr===pr&&(cr=Er,Sr=Jt),Nt=yo(Sr)?Sr.call(Nt):Sr}return Nt}function C8(Nt,Vt,Jt){return Nt==null?Nt:ku(Nt,Vt,Jt)}function v8(Nt,Vt,Jt,cr){return cr=typeof cr=="function"?cr:pr,Nt==null?Nt:ku(Nt,Vt,Jt,cr)}function k8(Nt,Vt,Jt){var cr=Y0(Nt),Er=cr||u2(Nt)||Wl(Nt);if(Vt=z0(Vt,4),Jt==null){var Sr=Nt&&Nt.constructor;Jt=Er?cr?new Sr:[]:Wn(Nt)&&yo(Sr)?zl(Hd(Nt)):{}}return(Er?nt:Ts)(Nt,function(jr,Fr,Kr){return Vt(Jt,jr,Fr,Kr)}),Jt}function b8(Nt,Vt){return Nt==null||Z3(Nt,Vt)}function I8(Nt,Vt,Jt){return Nt==null?Nt:Ef(Nt,Vt,tp(Jt))}function S8(Nt,Vt,Jt,cr){return cr=typeof cr=="function"?cr:pr,Nt==null?Nt:Ef(Nt,Vt,tp(Jt),cr)}function Ql(Nt){return Nt==null?[]:_t(Nt,ga(Nt))}function w8(Nt){return Nt==null?[]:_t(Nt,Ja(Nt))}function R8(Nt,Vt,Jt){return Jt===pr&&(Jt=Vt,Vt=pr),Jt!==pr&&(Jt=Di(Jt),Jt=Jt===Jt?Jt:0),Vt!==pr&&(Vt=Di(Vt),Vt=Vt===Vt?Vt:0),b1(Di(Nt),Vt,Jt)}function T8(Nt,Vt,Jt){return Vt=Eo(Vt),Jt===pr?(Jt=Vt,Vt=0):Jt=Eo(Jt),Nt=Di(Nt),P6(Nt,Vt,Jt)}function B8(Nt,Vt,Jt){if(Jt&&typeof Jt!="boolean"&&Fa(Nt,Vt,Jt)&&(Vt=Jt=pr),Jt===pr&&(typeof Vt=="boolean"?(Jt=Vt,Vt=pr):typeof Nt=="boolean"&&(Jt=Nt,Nt=pr)),Nt===pr&&Vt===pr?(Nt=0,Vt=1):(Nt=Eo(Nt),Vt===pr?(Vt=Nt,Nt=0):Vt=Eo(Vt)),Nt>Vt){var cr=Nt;Nt=Vt,Vt=cr}if(Jt||Nt%1||Vt%1){var Er=wh();return Ta(Nt+Er*(Vt-Nt+z4("1e-"+((Er+"").length-1))),Vt)}return $3(Nt,Vt)}function mh(Nt){return Mp(vn(Nt).toLowerCase())}function gh(Nt){return Nt=vn(Nt),Nt&&Nt.replace(r2,$4).replace(N4,"")}function P8(Nt,Vt,Jt){Nt=vn(Nt),Vt=hi(Vt);var cr=Nt.length;Jt=Jt===pr?cr:b1(nn(Jt),0,cr);var Er=Jt;return Jt-=Vt.length,Jt>=0&&Nt.slice(Jt,Er)==Vt}function O8(Nt){return Nt=vn(Nt),Nt&&Lr.test(Nt)?Nt.replace(br,q4):Nt}function D8(Nt){return Nt=vn(Nt),Nt&&T0.test(Nt)?Nt.replace(d0,"\\$&"):Nt}function N8(Nt,Vt,Jt){Nt=vn(Nt),Vt=nn(Vt);var cr=Vt?er(Nt):0;if(!Vt||cr>=Vt)return Nt;var Er=(Vt-cr)/2;return Id(Xd(Er),Jt)+Nt+Id(Wd(Er),Jt)}function L8(Nt,Vt,Jt){Nt=vn(Nt),Vt=nn(Vt);var cr=Vt?er(Nt):0;return Vt&&cr<Vt?Nt+Id(Vt-cr,Jt):Nt}function _8(Nt,Vt,Jt){Nt=vn(Nt),Vt=nn(Vt);var cr=Vt?er(Nt):0;return Vt&&cr<Vt?Id(Vt-cr,Jt)+Nt:Nt}function M8(Nt,Vt,Jt){return Jt||Vt==null?Vt=0:Vt&&(Vt=+Vt),P7(vn(Nt).replace(E0,""),Vt||0)}function j8(Nt,Vt,Jt){return Vt=(Jt?Fa(Nt,Vt,Jt):Vt===pr)?1:nn(Vt),q3(vn(Nt),Vt)}function F8(){var Nt=arguments,Vt=vn(Nt[0]);return Nt.length<3?Vt:Vt.replace(Nt[1],Nt[2])}function Q8(Nt,Vt,Jt){return Jt&&typeof Jt!="number"&&Fa(Nt,Vt,Jt)&&(Vt=Jt=pr),(Jt=Jt===pr?U0:Jt>>>0)?(Nt=vn(Nt),Nt&&(typeof Vt=="string"||Vt!=null&&!_p(Vt))&&(Vt=hi(Vt),!Vt&&tr(Nt))?o2(nr(Nt),0,Jt):Nt.split(Vt,Jt)):[]}function V8(Nt,Vt,Jt){return Nt=vn(Nt),Jt=Jt==null?0:b1(nn(Jt),0,Nt.length),Vt=hi(Vt),Nt.slice(Jt,Jt+Vt.length)==Vt}function U8(Nt,Vt,Jt){var cr=mr.templateSettings;Jt&&Fa(Nt,Vt,Jt)&&(Vt=pr),Nt=vn(Nt),Vt=Yd({},Vt,cr,Mf);var Er,Sr,jr=Yd({},Vt.imports,cr.imports,Mf),Fr=ga(jr),Kr=_t(jr,Fr),l0=0,i0=Vt.interpolate||Ka,p0="__p += '",k0=Sp((Vt.escape||Ka).source+"|"+i0.source+"|"+(i0===Hr?Au:Ka).source+"|"+(Vt.evaluate||Ka).source+"|$","g"),B0="//# sourceURL="+(Sn.call(Vt,"sourceURL")?(Vt.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++F4+"]")+`
2781
2781
  `;Nt.replace(k0,function(F0,dn,pn,Pa,ti,d2){return pn||(pn=Pa),p0+=Nt.slice(l0,d2).replace(fi,Yt),dn&&(Er=!0,p0+=`' +
2782
2782
  __e(`+dn+`) +
2783
2783
  '`),ti&&(Sr=!0,p0+=`';
@@ -2794,7 +2794,7 @@ __p += '`),pn&&(p0+=`' +
2794
2794
  function print() { __p += __j.call(arguments, '') }
2795
2795
  `:`;
2796
2796
  `)+p0+`return __p
2797
- }`;var tn=Gh(function(){return yh(Fr,B0+"return "+p0).apply(pr,Kr)});if(tn.source=p0,gp(tn))throw tn;return tn}function Hg(Nt){return vn(Nt).toLowerCase()}function Gg(Nt){return vn(Nt).toUpperCase()}function zg(Nt,Vt,Jt){if(Nt=vn(Nt),Nt&&(Jt||Vt===pr))return Ft(Nt);if(!Nt||!(Vt=hi(Vt)))return Nt;var cr=nr(Nt),Er=nr(Vt);return o2(cr,jt(cr,Er),zt(cr,Er)+1).join("")}function Wg(Nt,Vt,Jt){if(Nt=vn(Nt),Nt&&(Jt||Vt===pr))return Nt.slice(0,lr(Nt)+1);if(!Nt||!(Vt=hi(Vt)))return Nt;var cr=nr(Nt);return o2(cr,0,zt(cr,nr(Vt))+1).join("")}function Xg(Nt,Vt,Jt){if(Nt=vn(Nt),Nt&&(Jt||Vt===pr))return Nt.replace(E0,"");if(!Nt||!(Vt=hi(Vt)))return Nt;var cr=nr(Nt);return o2(cr,jt(cr,nr(Vt))).join("")}function Kg(Nt,Vt){var Jt=N0,cr=J0;if(Wn(Vt)){var Er="separator"in Vt?Vt.separator:Er;Jt="length"in Vt?nn(Vt.length):Jt,cr="omission"in Vt?hi(Vt.omission):cr}Nt=vn(Nt);var Sr=Nt.length;if(tr(Nt)){var jr=nr(Nt);Sr=jr.length}if(Jt>=Sr)return Nt;var Fr=Jt-er(cr);if(Fr<1)return cr;var Kr=jr?o2(jr,0,Fr).join(""):Nt.slice(0,Fr);if(Er===pr)return Kr+cr;if(jr&&(Fr+=Kr.length-Fr),_p(Er)){if(Nt.slice(Fr).search(Er)){var l0,i0=Kr;for(Er.global||(Er=Sp(Er.source,vn(e2.exec(Er))+"g")),Er.lastIndex=0;l0=Er.exec(i0);)var p0=l0.index;Kr=Kr.slice(0,p0===pr?Fr:p0)}}else if(Nt.indexOf(hi(Er),Fr)!=Fr){var k0=Kr.lastIndexOf(Er);k0>-1&&(Kr=Kr.slice(0,k0))}return Kr+cr}function $g(Nt){return Nt=vn(Nt),Nt&&Br.test(Nt)?Nt.replace(Ar,Y4):Nt}function Ah(Nt,Vt,Jt){return Nt=vn(Nt),Vt=Jt?pr:Vt,Vt===pr?sr(Nt)?xr(Nt):wt(Nt):Nt.match(Vt)||[]}function qg(Nt){var Vt=Nt==null?0:Nt.length,Jt=z0();return Nt=Vt?yt(Nt,function(cr){if(typeof cr[1]!="function")throw new Ni(qr);return[Jt(cr[0]),cr[1]]}):[],cn(function(cr){for(var Er=-1;++Er<Vt;){var Sr=Nt[Er];if(Ye(Sr[0],this,cr))return Ye(Sr[1],this,cr)}})}function Yg(Nt){return S6(Bi(Nt,Or))}function yp(Nt){return function(){return Nt}}function Zg(Nt,Vt){return Nt==null||Nt!==Nt?Vt:Nt}function ei(Nt){return Nt}function Ep(Nt){return uf(typeof Nt=="function"?Nt:Bi(Nt,Or))}function Jg(Nt){return pf(Bi(Nt,Or))}function e7(Nt,Vt){return ff(Nt,Bi(Vt,Or))}function Cp(Nt,Vt,Jt){var cr=ga(Vt),Er=xd(Vt,cr);Jt!=null||Wn(Vt)&&(Er.length||!cr.length)||(Jt=Vt,Vt=Nt,Nt=this,Er=xd(Vt,ga(Vt)));var Sr=!(Wn(Jt)&&"chain"in Jt&&!Jt.chain),jr=yo(Nt);return nt(Er,function(Fr){var Kr=Vt[Fr];Nt[Fr]=Kr,jr&&(Nt.prototype[Fr]=function(){var l0=this.__chain__;if(Sr||l0){var i0=Nt(this.__wrapped__);return(i0.__actions__=Ya(this.__actions__)).push({func:Kr,args:arguments,thisArg:Nt}),i0.__chain__=l0,i0}return Kr.apply(Nt,Ct([this.value()],arguments))})}),Nt}function t7(){return ka._===this&&(ka._=v7),this}function vp(){}function r7(Nt){return Nt=nn(Nt),cn(function(Vt){return hf(Vt,Nt)})}function xh(Nt){return up(Nt)?Ot(Ps(Nt)):H6(Nt)}function n7(Nt){return function(Vt){return Nt==null?pr:I1(Nt,Vt)}}function kp(){return[]}function bp(){return!1}function a7(){return{}}function i7(){return""}function s7(){return!0}function o7(Nt,Vt){if(Nt=nn(Nt),Nt<1||Nt>u0)return[];var Jt=U0,cr=Ta(Nt,U0);Vt=z0(Vt),Nt-=U0;for(var Er=Ht(cr,Vt);++Jt<Nt;)Vt(Jt);return Er}function l7(Nt){return Y0(Nt)?yt(Nt,Ps):mi(Nt)?[Nt]:Ya(Lh(vn(Nt)))}function c7(Nt){var Vt=++E7;return vn(Nt)+Vt}function u7(Nt){return Nt&&Nt.length?Ad(Nt,ei,H3):pr}function d7(Nt,Vt){return Nt&&Nt.length?Ad(Nt,z0(Vt,2),H3):pr}function p7(Nt){return Dt(Nt,ei)}function f7(Nt,Vt){return Dt(Nt,z0(Vt,2))}function h7(Nt){return Nt&&Nt.length?Ad(Nt,ei,X3):pr}function m7(Nt,Vt){return Nt&&Nt.length?Ad(Nt,z0(Vt,2),X3):pr}function g7(Nt){return Nt&&Nt.length?qt(Nt,ei):0}function A7(Nt,Vt){return Nt&&Nt.length?qt(Nt,z0(Vt,2)):0}a0=a0==null?ka:_l.defaults(ka.Object(),a0,_l.pick(ka,j4));var la=a0.Array,_d=a0.Date,Ip=a0.Error,yh=a0.Function,Vl=a0.Math,jn=a0.Object,Sp=a0.RegExp,x7=a0.String,Ni=a0.TypeError,Md=la.prototype,y7=yh.prototype,Ul=jn.prototype,jd=a0["__core-js_shared__"],Fd=y7.toString,Sn=Ul.hasOwnProperty,E7=0,Eh=function(){var Nt=/[^.]+$/.exec(jd&&jd.keys&&jd.keys.IE_PROTO||"");return Nt?"Symbol(src)_1."+Nt:""}(),Qd=Ul.toString,C7=Fd.call(jn),v7=ka._,k7=Sp("^"+Fd.call(Sn).replace(d0,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Vd=X9?a0.Buffer:pr,l2=a0.Symbol,Ud=a0.Uint8Array,Ch=Vd?Vd.allocUnsafe:pr,Hd=gr(jn.getPrototypeOf,jn),kh=jn.create,bh=Ul.propertyIsEnumerable,Gd=Md.splice,Ih=l2?l2.isConcatSpreadable:pr,wu=l2?l2.iterator:pr,R1=l2?l2.toStringTag:pr,zd=function(){try{var Nt=S1(jn,"defineProperty");return Nt({},"",{}),Nt}catch{}}(),b7=a0.clearTimeout!==ka.clearTimeout&&a0.clearTimeout,I7=_d&&_d.now!==ka.Date.now&&_d.now,S7=a0.setTimeout!==ka.setTimeout&&a0.setTimeout,Wd=Vl.ceil,Xd=Vl.floor,wp=jn.getOwnPropertySymbols,w7=Vd?Vd.isBuffer:pr,Sh=a0.isFinite,R7=Md.join,T7=gr(jn.keys,jn),ua=Vl.max,Ta=Vl.min,B7=_d.now,P7=a0.parseInt,wh=Vl.random,O7=Md.reverse,Rp=S1(a0,"DataView"),Ru=S1(a0,"Map"),Tp=S1(a0,"Promise"),Hl=S1(a0,"Set"),Tu=S1(a0,"WeakMap"),Bu=S1(jn,"create"),Kd=Tu&&new Tu,Gl={},D7=w1(Rp),N7=w1(Ru),L7=w1(Tp),_7=w1(Hl),M7=w1(Tu),$d=l2?l2.prototype:pr,Pu=$d?$d.valueOf:pr,Rh=$d?$d.toString:pr,zl=function(){function Nt(){}return function(Vt){if(!Wn(Vt))return{};if(kh)return kh(Vt);Nt.prototype=Vt;var Jt=new Nt;return Nt.prototype=pr,Jt}}();mr.templateSettings={escape:Gr,evaluate:Xr,interpolate:Hr,variable:"",imports:{_:mr}},mr.prototype=S0.prototype,mr.prototype.constructor=mr,Q0.prototype=zl(S0.prototype),Q0.prototype.constructor=Q0,R0.prototype=zl(S0.prototype),R0.prototype.constructor=R0,C1.prototype.clear=e6,C1.prototype.delete=t6,C1.prototype.get=r6,C1.prototype.has=n6,C1.prototype.set=a6,fo.prototype.clear=i6,fo.prototype.delete=s6,fo.prototype.get=o6,fo.prototype.has=l6,fo.prototype.set=c6,ho.prototype.clear=u6,ho.prototype.delete=d6,ho.prototype.get=p6,ho.prototype.has=f6,ho.prototype.set=h6,k1.prototype.add=k1.prototype.push=m6,k1.prototype.has=g6,as.prototype.clear=A6,as.prototype.delete=x6,as.prototype.get=y6,as.prototype.has=E6,as.prototype.set=C6;var c2=Rf(Ts),Th=Rf(U3,!0),Bp=Tf(),Bh=Tf(!0),Ph=Kd?function(Nt,Vt){return Kd.set(Nt,Vt),Nt}:ei,j7=zd?function(Nt,Vt){return zd(Nt,"toString",{configurable:!0,enumerable:!1,value:yp(Vt),writable:!0})}:ei,F7=cn,Oh=b7||function(Nt){return ka.clearTimeout(Nt)},Q7=Hl&&1/or(new Hl([,-0]))[1]==H0?function(Nt){return new Hl(Nt)}:vp,Pp=Kd?function(Nt){return Kd.get(Nt)}:vp,Op=wp?function(Nt){return Nt==null?[]:(Nt=jn(Nt),gt(wp(Nt),function(Vt){return bh.call(Nt,Vt)}))}:kp,Dh=wp?function(Nt){for(var Vt=[];Nt;)Ct(Vt,Op(Nt)),Nt=Hd(Nt);return Vt}:kp,Ba=ja;(Rp&&Ba(new Rp(new ArrayBuffer(1)))!=Ji||Ru&&Ba(new Ru)!=fn||Tp&&Ba(Tp.resolve())!=zn||Hl&&Ba(new Hl)!=sa||Tu&&Ba(new Tu)!=Ma)&&(Ba=function(Nt){var Vt=ja(Nt),Jt=Vt==Gn?Nt.constructor:pr,cr=Jt?w1(Jt):"";if(cr)switch(cr){case D7:return Ji;case N7:return fn;case L7:return zn;case _7:return sa;case M7:return Ma}return Vt});var V7=jd?yo:bp,Nh=Xf(Ph),Ou=S7||function(Nt,Vt){return ka.setTimeout(Nt,Vt)},Dp=Xf(j7),Lh=Am(function(Nt){var Vt=[];return Nt.charCodeAt(0)===46&&Vt.push(""),Nt.replace(o0,function(Jt,cr,Er,Sr){Vt.push(Er?Sr.replace(Zn,"$1"):cr||Jt)}),Vt}),U7=cn(function(Nt,Vt){return Jn(Nt)?Eu(Nt,ba(Vt,1,Jn,!0)):[]}),H7=cn(function(Nt,Vt){var Jt=Oi(Vt);return Jn(Jt)&&(Jt=pr),Jn(Nt)?Eu(Nt,ba(Vt,1,Jn,!0),z0(Jt,2)):[]}),G7=cn(function(Nt,Vt){var Jt=Oi(Vt);return Jn(Jt)&&(Jt=pr),Jn(Nt)?Eu(Nt,ba(Vt,1,Jn,!0),pr,Jt):[]}),z7=cn(function(Nt){var Vt=yt(Nt,ep);return Vt.length&&Vt[0]===Nt[0]?G3(Vt):[]}),W7=cn(function(Nt){var Vt=Oi(Nt),Jt=yt(Nt,ep);return Vt===Oi(Jt)?Vt=pr:Jt.pop(),Jt.length&&Jt[0]===Nt[0]?G3(Jt,z0(Vt,2)):[]}),X7=cn(function(Nt){var Vt=Oi(Nt),Jt=yt(Nt,ep);return Vt=typeof Vt=="function"?Vt:pr,Vt&&Jt.pop(),Jt.length&&Jt[0]===Nt[0]?G3(Jt,pr,Vt):[]}),K7=cn(Jf),$7=Ao(function(Nt,Vt){var Jt=Nt==null?0:Nt.length,cr=Q3(Nt,Vt);return Af(Nt,yt(Vt,function(Er){return xo(Er,Jt)?+Er:Er}).sort(If)),cr}),q7=cn(function(Nt){return i2(ba(Nt,1,Jn,!0))}),Y7=cn(function(Nt){var Vt=Oi(Nt);return Jn(Vt)&&(Vt=pr),i2(ba(Nt,1,Jn,!0),z0(Vt,2))}),Z7=cn(function(Nt){var Vt=Oi(Nt);return Vt=typeof Vt=="function"?Vt:pr,i2(ba(Nt,1,Jn,!0),pr,Vt)}),J7=cn(function(Nt,Vt){return Jn(Nt)?Eu(Nt,Vt):[]}),eA=cn(function(Nt){return J3(gt(Nt,Jn))}),tA=cn(function(Nt){var Vt=Oi(Nt);return Jn(Vt)&&(Vt=pr),J3(gt(Nt,Jn),z0(Vt,2))}),rA=cn(function(Nt){var Vt=Oi(Nt);return Vt=typeof Vt=="function"?Vt:pr,J3(gt(Nt,Jn),pr,Vt)}),nA=cn(mp),aA=cn(function(Nt){var Vt=Nt.length,Jt=Vt>1?Nt[Vt-1]:pr;return Jt=typeof Jt=="function"?(Nt.pop(),Jt):pr,eh(Nt,Jt)}),iA=Ao(function(Nt){var Vt=Nt.length,Jt=Vt?Nt[0]:0,cr=this.__wrapped__,Er=function(Sr){return Q3(Sr,Nt)};return!(Vt>1||this.__actions__.length)&&cr instanceof R0&&xo(Jt)?(cr=cr.slice(Jt,+Jt+(Vt?1:0)),cr.__actions__.push({func:Bd,args:[Er],thisArg:pr}),new Q0(cr,this.__chain__).thru(function(Sr){return Vt&&!Sr.length&&Sr.push(pr),Sr})):this.thru(Er)}),sA=vd(function(Nt,Vt,Jt){Sn.call(Nt,Jt)?++Nt[Jt]:mo(Nt,Jt,1)}),oA=Pf($f),lA=Pf(qf),cA=vd(function(Nt,Vt,Jt){Sn.call(Nt,Jt)?Nt[Jt].push(Vt):mo(Nt,Jt,[Vt])}),uA=cn(function(Nt,Vt,Jt){var cr=-1,Er=typeof Vt=="function",Sr=Za(Nt)?la(Nt.length):[];return c2(Nt,function(jr){Sr[++cr]=Er?Ye(Vt,jr,Jt):Cu(jr,Vt,Jt)}),Sr}),dA=vd(function(Nt,Vt,Jt){mo(Nt,Jt,Vt)}),pA=vd(function(Nt,Vt,Jt){Nt[Jt?0:1].push(Vt)},function(){return[[],[]]}),fA=cn(function(Nt,Vt){if(Nt==null)return[];var Jt=Vt.length;return Jt>1&&Fa(Nt,Vt[0],Vt[1])?Vt=[]:Jt>2&&Fa(Vt[0],Vt[1],Vt[2])&&(Vt=[Vt[0]]),mf(Nt,ba(Vt,1),[])}),qd=I7||function(){return ka.Date.now()},Np=cn(function(Nt,Vt,Jt){var cr=wr;if(Jt.length){var Er=yr(Jt,Fl(Np));cr|=t0}return go(Nt,cr,Vt,Jt,Er)}),_h=cn(function(Nt,Vt,Jt){var cr=wr|Tr;if(Jt.length){var Er=yr(Jt,Fl(_h));cr|=t0}return go(Vt,cr,Nt,Jt,Er)}),hA=cn(function(Nt,Vt){return af(Nt,1,Vt)}),mA=cn(function(Nt,Vt,Jt){return af(Nt,Di(Vt)||0,Jt)});Od.Cache=ho;var gA=F7(function(Nt,Vt){Vt=Vt.length==1&&Y0(Vt[0])?yt(Vt[0],Xt(z0())):yt(ba(Vt,1),Xt(z0()));var Jt=Vt.length;return cn(function(cr){for(var Er=-1,Sr=Ta(cr.length,Jt);++Er<Sr;)cr[Er]=Vt[Er].call(this,cr[Er]);return Ye(Nt,this,cr)})}),Lp=cn(function(Nt,Vt){return go(Nt,t0,pr,Vt,yr(Vt,Fl(Lp)))}),Mh=cn(function(Nt,Vt){return go(Nt,h0,pr,Vt,yr(Vt,Fl(Mh)))}),AA=Ao(function(Nt,Vt){return go(Nt,m0,pr,pr,pr,Vt)}),xA=Sd(H3),yA=Sd(function(Nt,Vt){return Nt>=Vt}),T1=lf(function(){return arguments}())?lf:function(Nt){return $n(Nt)&&Sn.call(Nt,"callee")&&!bh.call(Nt,"callee")},Y0=la.isArray,EA=K9?Xt(K9):D6,u2=w7||bp,CA=$9?Xt($9):N6,jh=q9?Xt(q9):_6,_p=Y9?Xt(Y9):M6,Fh=Z9?Xt(Z9):j6,Wl=J9?Xt(J9):F6,vA=Sd(X3),kA=Sd(function(Nt,Vt){return Nt<=Vt}),bA=Ml(function(Nt,Vt){if(Iu(Vt)||Za(Vt))return Bs(Vt,ga(Vt),Nt),pr;for(var Jt in Vt)Sn.call(Vt,Jt)&&yu(Nt,Jt,Vt[Jt])}),Qh=Ml(function(Nt,Vt){Bs(Vt,Ja(Vt),Nt)}),Yd=Ml(function(Nt,Vt,Jt,cr){Bs(Vt,Ja(Vt),Nt,cr)}),IA=Ml(function(Nt,Vt,Jt,cr){Bs(Vt,ga(Vt),Nt,cr)}),SA=Ao(Q3),wA=cn(function(Nt,Vt){Nt=jn(Nt);var Jt=-1,cr=Vt.length,Er=cr>2?Vt[2]:pr;for(Er&&Fa(Vt[0],Vt[1],Er)&&(cr=1);++Jt<cr;)for(var Sr=Vt[Jt],jr=Ja(Sr),Fr=-1,Kr=jr.length;++Fr<Kr;){var l0=jr[Fr],i0=Nt[l0];(i0===pr||is(i0,Ul[l0])&&!Sn.call(Nt,l0))&&(Nt[l0]=Sr[l0])}return Nt}),RA=cn(function(Nt){return Nt.push(pr,jf),Ye(Vh,pr,Nt)}),TA=Df(function(Nt,Vt,Jt){Vt!=null&&typeof Vt.toString!="function"&&(Vt=Qd.call(Vt)),Nt[Vt]=Jt},yp(ei)),BA=Df(function(Nt,Vt,Jt){Vt!=null&&typeof Vt.toString!="function"&&(Vt=Qd.call(Vt)),Sn.call(Nt,Vt)?Nt[Vt].push(Jt):Nt[Vt]=[Jt]},z0),PA=cn(Cu),OA=Ml(function(Nt,Vt,Jt){yd(Nt,Vt,Jt)}),Vh=Ml(function(Nt,Vt,Jt,cr){yd(Nt,Vt,Jt,cr)}),DA=Ao(function(Nt,Vt){var Jt={};if(Nt==null)return Jt;var cr=!1;Vt=yt(Vt,function(Sr){return Sr=s2(Sr,Nt),cr||(cr=Sr.length>1),Sr}),Bs(Nt,lp(Nt),Jt),cr&&(Jt=Bi(Jt,Or|Vr|Yr,im));for(var Er=Vt.length;Er--;)Z3(Jt,Vt[Er]);return Jt}),NA=Ao(function(Nt,Vt){return Nt==null?{}:U6(Nt,Vt)}),Uh=_f(ga),Hh=_f(Ja),LA=jl(function(Nt,Vt,Jt){return Vt=Vt.toLowerCase(),Nt+(Jt?mh(Vt):Vt)}),_A=jl(function(Nt,Vt,Jt){return Nt+(Jt?"-":"")+Vt.toLowerCase()}),MA=jl(function(Nt,Vt,Jt){return Nt+(Jt?" ":"")+Vt.toLowerCase()}),jA=Bf("toLowerCase"),FA=jl(function(Nt,Vt,Jt){return Nt+(Jt?"_":"")+Vt.toLowerCase()}),QA=jl(function(Nt,Vt,Jt){return Nt+(Jt?" ":"")+Mp(Vt)}),VA=jl(function(Nt,Vt,Jt){return Nt+(Jt?" ":"")+Vt.toUpperCase()}),Mp=Bf("toUpperCase"),Gh=cn(function(Nt,Vt){try{return Ye(Nt,pr,Vt)}catch(Jt){return gp(Jt)?Jt:new Ip(Jt)}}),UA=Ao(function(Nt,Vt){return nt(Vt,function(Jt){Jt=Ps(Jt),mo(Nt,Jt,Np(Nt[Jt],Nt))}),Nt}),HA=Of(),GA=Of(!0),zA=cn(function(Nt,Vt){return function(Jt){return Cu(Jt,Nt,Vt)}}),WA=cn(function(Nt,Vt){return function(Jt){return Cu(Nt,Jt,Vt)}}),XA=np(yt),KA=np(ht),$A=np(kt),qA=Nf(),YA=Nf(!0),ZA=bd(function(Nt,Vt){return Nt+Vt},0),JA=ap("ceil"),ex=bd(function(Nt,Vt){return Nt/Vt},1),tx=ap("floor"),rx=bd(function(Nt,Vt){return Nt*Vt},1),nx=ap("round"),ax=bd(function(Nt,Vt){return Nt-Vt},0);return mr.after=B8,mr.ary=ah,mr.assign=bA,mr.assignIn=Qh,mr.assignInWith=Yd,mr.assignWith=IA,mr.at=SA,mr.before=ih,mr.bind=Np,mr.bindAll=UA,mr.bindKey=_h,mr.castArray=j8,mr.chain=th,mr.chunk=km,mr.compact=bm,mr.concat=Im,mr.cond=qg,mr.conforms=Yg,mr.constant=yp,mr.countBy=sA,mr.create=og,mr.curry=sh,mr.curryRight=oh,mr.debounce=lh,mr.defaults=wA,mr.defaultsDeep=RA,mr.defer=hA,mr.delay=mA,mr.difference=U7,mr.differenceBy=H7,mr.differenceWith=G7,mr.drop=Sm,mr.dropRight=wm,mr.dropRightWhile=Rm,mr.dropWhile=Tm,mr.fill=Bm,mr.filter=g8,mr.flatMap=A8,mr.flatMapDeep=x8,mr.flatMapDepth=y8,mr.flatten=Yf,mr.flattenDeep=Pm,mr.flattenDepth=Om,mr.flip=P8,mr.flow=HA,mr.flowRight=GA,mr.fromPairs=Dm,mr.functions=hg,mr.functionsIn=mg,mr.groupBy=cA,mr.initial=Lm,mr.intersection=z7,mr.intersectionBy=W7,mr.intersectionWith=X7,mr.invert=TA,mr.invertBy=BA,mr.invokeMap=uA,mr.iteratee=Ep,mr.keyBy=dA,mr.keys=ga,mr.keysIn=Ja,mr.map=Pd,mr.mapKeys=Ag,mr.mapValues=xg,mr.matches=Jg,mr.matchesProperty=e7,mr.memoize=Od,mr.merge=OA,mr.mergeWith=Vh,mr.method=zA,mr.methodOf=WA,mr.mixin=Cp,mr.negate=Dd,mr.nthArg=r7,mr.omit=DA,mr.omitBy=yg,mr.once=O8,mr.orderBy=C8,mr.over=XA,mr.overArgs=gA,mr.overEvery=KA,mr.overSome=$A,mr.partial=Lp,mr.partialRight=Mh,mr.partition=pA,mr.pick=NA,mr.pickBy=hh,mr.property=xh,mr.propertyOf=n7,mr.pull=K7,mr.pullAll=Jf,mr.pullAllBy=Fm,mr.pullAllWith=Qm,mr.pullAt=$7,mr.range=qA,mr.rangeRight=YA,mr.rearg=AA,mr.reject=b8,mr.remove=Vm,mr.rest=D8,mr.reverse=hp,mr.sampleSize=S8,mr.set=Cg,mr.setWith=vg,mr.shuffle=w8,mr.slice=Um,mr.sortBy=fA,mr.sortedUniq=$m,mr.sortedUniqBy=qm,mr.split=Qg,mr.spread=N8,mr.tail=Ym,mr.take=Zm,mr.takeRight=Jm,mr.takeRightWhile=e8,mr.takeWhile=t8,mr.tap=o8,mr.throttle=L8,mr.thru=Bd,mr.toArray=dh,mr.toPairs=Uh,mr.toPairsIn=Hh,mr.toPath=l7,mr.toPlainObject=fh,mr.transform=kg,mr.unary=_8,mr.union=q7,mr.unionBy=Y7,mr.unionWith=Z7,mr.uniq=r8,mr.uniqBy=n8,mr.uniqWith=a8,mr.unset=bg,mr.unzip=mp,mr.unzipWith=eh,mr.update=Ig,mr.updateWith=Sg,mr.values=Ql,mr.valuesIn=wg,mr.without=J7,mr.words=Ah,mr.wrap=M8,mr.xor=eA,mr.xorBy=tA,mr.xorWith=rA,mr.zip=nA,mr.zipObject=i8,mr.zipObjectDeep=s8,mr.zipWith=aA,mr.entries=Uh,mr.entriesIn=Hh,mr.extend=Qh,mr.extendWith=Yd,Cp(mr,mr),mr.add=ZA,mr.attempt=Gh,mr.camelCase=LA,mr.capitalize=mh,mr.ceil=JA,mr.clamp=Rg,mr.clone=F8,mr.cloneDeep=V8,mr.cloneDeepWith=U8,mr.cloneWith=Q8,mr.conformsTo=H8,mr.deburr=gh,mr.defaultTo=Zg,mr.divide=ex,mr.endsWith=Pg,mr.eq=is,mr.escape=Og,mr.escapeRegExp=Dg,mr.every=m8,mr.find=oA,mr.findIndex=$f,mr.findKey=lg,mr.findLast=lA,mr.findLastIndex=qf,mr.findLastKey=cg,mr.floor=tx,mr.forEach=rh,mr.forEachRight=nh,mr.forIn=ug,mr.forInRight=dg,mr.forOwn=pg,mr.forOwnRight=fg,mr.get=Ap,mr.gt=xA,mr.gte=yA,mr.has=gg,mr.hasIn=xp,mr.head=Zf,mr.identity=ei,mr.includes=E8,mr.indexOf=Nm,mr.inRange=Tg,mr.invoke=PA,mr.isArguments=T1,mr.isArray=Y0,mr.isArrayBuffer=EA,mr.isArrayLike=Za,mr.isArrayLikeObject=Jn,mr.isBoolean=G8,mr.isBuffer=u2,mr.isDate=CA,mr.isElement=z8,mr.isEmpty=W8,mr.isEqual=X8,mr.isEqualWith=K8,mr.isError=gp,mr.isFinite=$8,mr.isFunction=yo,mr.isInteger=ch,mr.isLength=Nd,mr.isMap=jh,mr.isMatch=q8,mr.isMatchWith=Y8,mr.isNaN=Z8,mr.isNative=J8,mr.isNil=tg,mr.isNull=eg,mr.isNumber=uh,mr.isObject=Wn,mr.isObjectLike=$n,mr.isPlainObject=Su,mr.isRegExp=_p,mr.isSafeInteger=rg,mr.isSet=Fh,mr.isString=Ld,mr.isSymbol=mi,mr.isTypedArray=Wl,mr.isUndefined=ng,mr.isWeakMap=ag,mr.isWeakSet=ig,mr.join=_m,mr.kebabCase=_A,mr.last=Oi,mr.lastIndexOf=Mm,mr.lowerCase=MA,mr.lowerFirst=jA,mr.lt=vA,mr.lte=kA,mr.max=u7,mr.maxBy=d7,mr.mean=p7,mr.meanBy=f7,mr.min=h7,mr.minBy=m7,mr.stubArray=kp,mr.stubFalse=bp,mr.stubObject=a7,mr.stubString=i7,mr.stubTrue=s7,mr.multiply=rx,mr.nth=jm,mr.noConflict=t7,mr.noop=vp,mr.now=qd,mr.pad=Ng,mr.padEnd=Lg,mr.padStart=_g,mr.parseInt=Mg,mr.random=Bg,mr.reduce=v8,mr.reduceRight=k8,mr.repeat=jg,mr.replace=Fg,mr.result=Eg,mr.round=nx,mr.runInContext=Ur,mr.sample=I8,mr.size=R8,mr.snakeCase=FA,mr.some=T8,mr.sortedIndex=Hm,mr.sortedIndexBy=Gm,mr.sortedIndexOf=zm,mr.sortedLastIndex=Wm,mr.sortedLastIndexBy=Xm,mr.sortedLastIndexOf=Km,mr.startCase=QA,mr.startsWith=Vg,mr.subtract=ax,mr.sum=g7,mr.sumBy=A7,mr.template=Ug,mr.times=o7,mr.toFinite=Eo,mr.toInteger=nn,mr.toLength=ph,mr.toLower=Hg,mr.toNumber=Di,mr.toSafeInteger=sg,mr.toString=vn,mr.toUpper=Gg,mr.trim=zg,mr.trimEnd=Wg,mr.trimStart=Xg,mr.truncate=Kg,mr.unescape=$g,mr.uniqueId=c7,mr.upperCase=VA,mr.upperFirst=Mp,mr.each=rh,mr.eachRight=nh,mr.first=Zf,Cp(mr,function(){var Nt={};return Ts(mr,function(Vt,Jt){Sn.call(mr.prototype,Jt)||(Nt[Jt]=Vt)}),Nt}(),{chain:!1}),mr.VERSION=Mr,nt(["bind","bindKey","curry","curryRight","partial","partialRight"],function(Nt){mr[Nt].placeholder=mr}),nt(["drop","take"],function(Nt,Vt){R0.prototype[Nt]=function(Jt){Jt=Jt===pr?1:ua(nn(Jt),0);var cr=this.__filtered__&&!Vt?new R0(this):this.clone();return cr.__filtered__?cr.__takeCount__=Ta(Jt,cr.__takeCount__):cr.__views__.push({size:Ta(Jt,U0),type:Nt+(cr.__dir__<0?"Right":"")}),cr},R0.prototype[Nt+"Right"]=function(Jt){return this.reverse()[Nt](Jt).reverse()}}),nt(["filter","map","takeWhile"],function(Nt,Vt){var Jt=Vt+1,cr=Jt==rn||Jt==$0;R0.prototype[Nt]=function(Er){var Sr=this.clone();return Sr.__iteratees__.push({iteratee:z0(Er,3),type:Jt}),Sr.__filtered__=Sr.__filtered__||cr,Sr}}),nt(["head","last"],function(Nt,Vt){var Jt="take"+(Vt?"Right":"");R0.prototype[Nt]=function(){return this[Jt](1).value()[0]}}),nt(["initial","tail"],function(Nt,Vt){var Jt="drop"+(Vt?"":"Right");R0.prototype[Nt]=function(){return this.__filtered__?new R0(this):this[Jt](1)}}),R0.prototype.compact=function(){return this.filter(ei)},R0.prototype.find=function(Nt){return this.filter(Nt).head()},R0.prototype.findLast=function(Nt){return this.reverse().find(Nt)},R0.prototype.invokeMap=cn(function(Nt,Vt){return typeof Nt=="function"?new R0(this):this.map(function(Jt){return Cu(Jt,Nt,Vt)})}),R0.prototype.reject=function(Nt){return this.filter(Dd(z0(Nt)))},R0.prototype.slice=function(Nt,Vt){Nt=nn(Nt);var Jt=this;return Jt.__filtered__&&(Nt>0||Vt<0)?new R0(Jt):(Nt<0?Jt=Jt.takeRight(-Nt):Nt&&(Jt=Jt.drop(Nt)),Vt!==pr&&(Vt=nn(Vt),Jt=Vt<0?Jt.dropRight(-Vt):Jt.take(Vt-Nt)),Jt)},R0.prototype.takeRightWhile=function(Nt){return this.reverse().takeWhile(Nt).reverse()},R0.prototype.toArray=function(){return this.take(U0)},Ts(R0.prototype,function(Nt,Vt){var Jt=/^(?:filter|find|map|reject)|While$/.test(Vt),cr=/^(?:head|last)$/.test(Vt),Er=mr[cr?"take"+(Vt=="last"?"Right":""):Vt],Sr=cr||/^find/.test(Vt);Er&&(mr.prototype[Vt]=function(){var jr=this.__wrapped__,Fr=cr?[1]:arguments,Kr=jr instanceof R0,l0=Fr[0],i0=Kr||Y0(jr),p0=function(dn){var pn=Er.apply(mr,Ct([dn],Fr));return cr&&k0?pn[0]:pn};i0&&Jt&&typeof l0=="function"&&l0.length!=1&&(Kr=i0=!1);var k0=this.__chain__,B0=!!this.__actions__.length,M0=Sr&&!k0,tn=Kr&&!B0;if(!Sr&&i0){jr=tn?jr:new R0(this);var F0=Nt.apply(jr,Fr);return F0.__actions__.push({func:Bd,args:[p0],thisArg:pr}),new Q0(F0,k0)}return M0&&tn?Nt.apply(this,Fr):(F0=this.thru(p0),M0?cr?F0.value()[0]:F0.value():F0)})}),nt(["pop","push","shift","sort","splice","unshift"],function(Nt){var Vt=Md[Nt],Jt=/^(?:push|sort|unshift)$/.test(Nt)?"tap":"thru",cr=/^(?:pop|shift)$/.test(Nt);mr.prototype[Nt]=function(){var Er=arguments;if(cr&&!this.__chain__){var Sr=this.value();return Vt.apply(Y0(Sr)?Sr:[],Er)}return this[Jt](function(jr){return Vt.apply(Y0(jr)?jr:[],Er)})}}),Ts(R0.prototype,function(Nt,Vt){var Jt=mr[Vt];if(Jt){var cr=Jt.name+"";Sn.call(Gl,cr)||(Gl[cr]=[]),Gl[cr].push({name:Vt,func:Jt})}}),Gl[kd(pr,Tr).name]=[{name:"wrapper",func:pr}],R0.prototype.clone=qa,R0.prototype.reverse=j3,R0.prototype.value=J4,mr.prototype.at=iA,mr.prototype.chain=l8,mr.prototype.commit=c8,mr.prototype.next=u8,mr.prototype.plant=p8,mr.prototype.reverse=f8,mr.prototype.toJSON=mr.prototype.valueOf=mr.prototype.value=h8,mr.prototype.first=mr.prototype.head,wu&&(mr.prototype[wu]=d8),mr},_l=Z4();E1?((E1.exports=_l)._=_l,_3._=_l):ka._=_l}).call(commonjsGlobal)}(lodash_min,lodash_min.exports);var lodash_minExports=lodash_min.exports,_mapping={};(function(Be){Be.aliasToReal={each:"forEach",eachRight:"forEachRight",entries:"toPairs",entriesIn:"toPairsIn",extend:"assignIn",extendAll:"assignInAll",extendAllWith:"assignInAllWith",extendWith:"assignInWith",first:"head",conforms:"conformsTo",matches:"isMatch",property:"get",__:"placeholder",F:"stubFalse",T:"stubTrue",all:"every",allPass:"overEvery",always:"constant",any:"some",anyPass:"overSome",apply:"spread",assoc:"set",assocPath:"set",complement:"negate",compose:"flowRight",contains:"includes",dissoc:"unset",dissocPath:"unset",dropLast:"dropRight",dropLastWhile:"dropRightWhile",equals:"isEqual",identical:"eq",indexBy:"keyBy",init:"initial",invertObj:"invert",juxt:"over",omitAll:"omit",nAry:"ary",path:"get",pathEq:"matchesProperty",pathOr:"getOr",paths:"at",pickAll:"pick",pipe:"flow",pluck:"map",prop:"get",propEq:"matchesProperty",propOr:"getOr",props:"at",symmetricDifference:"xor",symmetricDifferenceBy:"xorBy",symmetricDifferenceWith:"xorWith",takeLast:"takeRight",takeLastWhile:"takeRightWhile",unapply:"rest",unnest:"flatten",useWith:"overArgs",where:"conformsTo",whereEq:"isMatch",zipObj:"zipObject"},Be.aryMethod={1:["assignAll","assignInAll","attempt","castArray","ceil","create","curry","curryRight","defaultsAll","defaultsDeepAll","floor","flow","flowRight","fromPairs","invert","iteratee","memoize","method","mergeAll","methodOf","mixin","nthArg","over","overEvery","overSome","rest","reverse","round","runInContext","spread","template","trim","trimEnd","trimStart","uniqueId","words","zipAll"],2:["add","after","ary","assign","assignAllWith","assignIn","assignInAllWith","at","before","bind","bindAll","bindKey","chunk","cloneDeepWith","cloneWith","concat","conformsTo","countBy","curryN","curryRightN","debounce","defaults","defaultsDeep","defaultTo","delay","difference","divide","drop","dropRight","dropRightWhile","dropWhile","endsWith","eq","every","filter","find","findIndex","findKey","findLast","findLastIndex","findLastKey","flatMap","flatMapDeep","flattenDepth","forEach","forEachRight","forIn","forInRight","forOwn","forOwnRight","get","groupBy","gt","gte","has","hasIn","includes","indexOf","intersection","invertBy","invoke","invokeMap","isEqual","isMatch","join","keyBy","lastIndexOf","lt","lte","map","mapKeys","mapValues","matchesProperty","maxBy","meanBy","merge","mergeAllWith","minBy","multiply","nth","omit","omitBy","overArgs","pad","padEnd","padStart","parseInt","partial","partialRight","partition","pick","pickBy","propertyOf","pull","pullAll","pullAt","random","range","rangeRight","rearg","reject","remove","repeat","restFrom","result","sampleSize","some","sortBy","sortedIndex","sortedIndexOf","sortedLastIndex","sortedLastIndexOf","sortedUniqBy","split","spreadFrom","startsWith","subtract","sumBy","take","takeRight","takeRightWhile","takeWhile","tap","throttle","thru","times","trimChars","trimCharsEnd","trimCharsStart","truncate","union","uniqBy","uniqWith","unset","unzipWith","without","wrap","xor","zip","zipObject","zipObjectDeep"],3:["assignInWith","assignWith","clamp","differenceBy","differenceWith","findFrom","findIndexFrom","findLastFrom","findLastIndexFrom","getOr","includesFrom","indexOfFrom","inRange","intersectionBy","intersectionWith","invokeArgs","invokeArgsMap","isEqualWith","isMatchWith","flatMapDepth","lastIndexOfFrom","mergeWith","orderBy","padChars","padCharsEnd","padCharsStart","pullAllBy","pullAllWith","rangeStep","rangeStepRight","reduce","reduceRight","replace","set","slice","sortedIndexBy","sortedLastIndexBy","transform","unionBy","unionWith","update","xorBy","xorWith","zipWith"],4:["fill","setWith","updateWith"]},Be.aryRearg={2:[1,0],3:[2,0,1],4:[3,2,0,1]},Be.iterateeAry={dropRightWhile:1,dropWhile:1,every:1,filter:1,find:1,findFrom:1,findIndex:1,findIndexFrom:1,findKey:1,findLast:1,findLastFrom:1,findLastIndex:1,findLastIndexFrom:1,findLastKey:1,flatMap:1,flatMapDeep:1,flatMapDepth:1,forEach:1,forEachRight:1,forIn:1,forInRight:1,forOwn:1,forOwnRight:1,map:1,mapKeys:1,mapValues:1,partition:1,reduce:2,reduceRight:2,reject:1,remove:1,some:1,takeRightWhile:1,takeWhile:1,times:1,transform:2},Be.iterateeRearg={mapKeys:[1],reduceRight:[1,0]},Be.methodRearg={assignInAllWith:[1,0],assignInWith:[1,2,0],assignAllWith:[1,0],assignWith:[1,2,0],differenceBy:[1,2,0],differenceWith:[1,2,0],getOr:[2,1,0],intersectionBy:[1,2,0],intersectionWith:[1,2,0],isEqualWith:[1,2,0],isMatchWith:[2,1,0],mergeAllWith:[1,0],mergeWith:[1,2,0],padChars:[2,1,0],padCharsEnd:[2,1,0],padCharsStart:[2,1,0],pullAllBy:[2,1,0],pullAllWith:[2,1,0],rangeStep:[1,2,0],rangeStepRight:[1,2,0],setWith:[3,1,2,0],sortedIndexBy:[2,1,0],sortedLastIndexBy:[2,1,0],unionBy:[1,2,0],unionWith:[1,2,0],updateWith:[3,1,2,0],xorBy:[1,2,0],xorWith:[1,2,0],zipWith:[1,2,0]},Be.methodSpread={assignAll:{start:0},assignAllWith:{start:0},assignInAll:{start:0},assignInAllWith:{start:0},defaultsAll:{start:0},defaultsDeepAll:{start:0},invokeArgs:{start:2},invokeArgsMap:{start:2},mergeAll:{start:0},mergeAllWith:{start:0},partial:{start:1},partialRight:{start:1},without:{start:1},zipAll:{start:0}},Be.mutate={array:{fill:!0,pull:!0,pullAll:!0,pullAllBy:!0,pullAllWith:!0,pullAt:!0,remove:!0,reverse:!0},object:{assign:!0,assignAll:!0,assignAllWith:!0,assignIn:!0,assignInAll:!0,assignInAllWith:!0,assignInWith:!0,assignWith:!0,defaults:!0,defaultsAll:!0,defaultsDeep:!0,defaultsDeepAll:!0,merge:!0,mergeAll:!0,mergeAllWith:!0,mergeWith:!0},set:{set:!0,setWith:!0,unset:!0,update:!0,updateWith:!0}},Be.realToAlias=function(){var Le=Object.prototype.hasOwnProperty,Ye=Be.aliasToReal,tt={};for(var nt in Ye){var ft=Ye[nt];Le.call(tt,ft)?tt[ft].push(nt):tt[ft]=[nt]}return tt}(),Be.remap={assignAll:"assign",assignAllWith:"assignWith",assignInAll:"assignIn",assignInAllWith:"assignInWith",curryN:"curry",curryRightN:"curryRight",defaultsAll:"defaults",defaultsDeepAll:"defaultsDeep",findFrom:"find",findIndexFrom:"findIndex",findLastFrom:"findLast",findLastIndexFrom:"findLastIndex",getOr:"get",includesFrom:"includes",indexOfFrom:"indexOf",invokeArgs:"invoke",invokeArgsMap:"invokeMap",lastIndexOfFrom:"lastIndexOf",mergeAll:"merge",mergeAllWith:"mergeWith",padChars:"pad",padCharsEnd:"padEnd",padCharsStart:"padStart",propertyOf:"get",rangeStep:"range",rangeStepRight:"rangeRight",restFrom:"rest",spreadFrom:"spread",trimChars:"trim",trimCharsEnd:"trimEnd",trimCharsStart:"trimStart",zipAll:"zip"},Be.skipFixed={castArray:!0,flow:!0,flowRight:!0,iteratee:!0,mixin:!0,rearg:!0,runInContext:!0},Be.skipRearg={add:!0,assign:!0,assignIn:!0,bind:!0,bindKey:!0,concat:!0,difference:!0,divide:!0,eq:!0,gt:!0,gte:!0,isEqual:!0,lt:!0,lte:!0,matchesProperty:!0,merge:!0,multiply:!0,overArgs:!0,partial:!0,partialRight:!0,propertyOf:!0,random:!0,range:!0,rangeRight:!0,subtract:!0,zip:!0,zipObject:!0,zipObjectDeep:!0}})(_mapping);var placeholder$1={},mapping=_mapping,fallbackHolder=placeholder$1,push$1=Array.prototype.push;function baseArity(Be,Le){return Le==2?function(Ye,tt){return Be.apply(void 0,arguments)}:function(Ye){return Be.apply(void 0,arguments)}}function baseAry(Be,Le){return Le==2?function(Ye,tt){return Be(Ye,tt)}:function(Ye){return Be(Ye)}}function cloneArray(Be){for(var Le=Be?Be.length:0,Ye=Array(Le);Le--;)Ye[Le]=Be[Le];return Ye}function createCloner(Be){return function(Le){return Be({},Le)}}function flatSpread(Be,Le){return function(){for(var Ye=arguments.length,tt=Ye-1,nt=Array(Ye);Ye--;)nt[Ye]=arguments[Ye];var ft=nt[Le],ht=nt.slice(0,Le);return ft&&push$1.apply(ht,ft),Le!=tt&&push$1.apply(ht,nt.slice(Le+1)),Be.apply(this,ht)}}function wrapImmutable(Be,Le){return function(){var Ye=arguments.length;if(Ye){for(var tt=Array(Ye);Ye--;)tt[Ye]=arguments[Ye];var nt=tt[0]=Le.apply(void 0,tt);return Be.apply(void 0,tt),nt}}}function baseConvert(Be,Le,Ye,tt){var nt=typeof Le=="function",ft=Le===Object(Le);if(ft&&(tt=Ye,Ye=Le,Le=void 0),Ye==null)throw new TypeError;tt||(tt={});var ht={cap:"cap"in tt?tt.cap:!0,curry:"curry"in tt?tt.curry:!0,fixed:"fixed"in tt?tt.fixed:!0,immutable:"immutable"in tt?tt.immutable:!0,rearg:"rearg"in tt?tt.rearg:!0},gt=nt?Ye:fallbackHolder,At="curry"in tt&&tt.curry,xt="fixed"in tt&&tt.fixed,yt="rearg"in tt&&tt.rearg,Ct=nt?Ye.runInContext():void 0,Et=nt?Ye:{ary:Be.ary,assign:Be.assign,clone:Be.clone,curry:Be.curry,forEach:Be.forEach,isArray:Be.isArray,isError:Be.isError,isFunction:Be.isFunction,isWeakMap:Be.isWeakMap,iteratee:Be.iteratee,keys:Be.keys,rearg:Be.rearg,toInteger:Be.toInteger,toPath:Be.toPath},vt=Et.ary,kt=Et.assign,bt=Et.clone,wt=Et.curry,It=Et.forEach,Rt=Et.isArray,Tt=Et.isError,Bt=Et.isFunction,Pt=Et.isWeakMap,Dt=Et.keys,Ot=Et.rearg,Lt=Et.toInteger,Wt=Et.toPath,$t=Dt(mapping.aryMethod),qt={castArray:function(dr){return function(){var rr=arguments[0];return Rt(rr)?dr(cloneArray(rr)):dr.apply(void 0,arguments)}},iteratee:function(dr){return function(){var rr=arguments[0],gr=arguments[1],yr=dr(rr,gr),or=yr.length;return ht.cap&&typeof gr=="number"?(gr=gr>2?gr-2:1,or&&or<=gr?yr:baseAry(yr,gr)):yr}},mixin:function(dr){return function(rr){var gr=this;if(!Bt(gr))return dr(gr,Object(rr));var yr=[];return It(Dt(rr),function(or){Bt(rr[or])&&yr.push([or,gr.prototype[or]])}),dr(gr,Object(rr)),It(yr,function(or){var ir=or[1];Bt(ir)?gr.prototype[or[0]]=ir:delete gr.prototype[or[0]]}),gr}},nthArg:function(dr){return function(rr){var gr=rr<0?1:Lt(rr)+1;return wt(dr(rr),gr)}},rearg:function(dr){return function(rr,gr){var yr=gr?gr.length:0;return wt(dr(rr,gr),yr)}},runInContext:function(dr){return function(rr){return baseConvert(Be,dr(rr),tt)}}};function Ht(dr,rr){if(ht.cap){var gr=mapping.iterateeRearg[dr];if(gr)return Gt(rr,gr);var yr=!nt&&mapping.iterateeAry[dr];if(yr)return zt(rr,yr)}return rr}function Ut(dr,rr,gr){return At||ht.curry&&gr>1?wt(rr,gr):rr}function Ft(dr,rr,gr){if(ht.fixed&&(xt||!mapping.skipFixed[dr])){var yr=mapping.methodSpread[dr],or=yr&&yr.start;return or===void 0?vt(rr,gr):flatSpread(rr,or)}return rr}function Xt(dr,rr,gr){return ht.rearg&&gr>1&&(yt||!mapping.skipRearg[dr])?Ot(rr,mapping.methodRearg[dr]||mapping.aryRearg[gr]):rr}function _t(dr,rr){rr=Wt(rr);for(var gr=-1,yr=rr.length,or=yr-1,ir=bt(Object(dr)),Zt=ir;Zt!=null&&++gr<yr;){var Qt=rr[gr],er=Zt[Qt];er!=null&&!(Bt(er)||Tt(er)||Pt(er))&&(Zt[Qt]=bt(gr==or?er:Object(er))),Zt=Zt[Qt]}return ir}function Mt(dr){return tr.runInContext.convert(dr)(void 0)}function jt(dr,rr){var gr=mapping.aliasToReal[dr]||dr,yr=mapping.remap[gr]||gr,or=tt;return function(ir){var Zt=nt?Ct:Et,Qt=nt?Ct[yr]:rr,er=kt(kt({},or),ir);return baseConvert(Zt,gr,Qt,er)}}function zt(dr,rr){return Yt(dr,function(gr){return typeof gr=="function"?baseAry(gr,rr):gr})}function Gt(dr,rr){return Yt(dr,function(gr){var yr=rr.length;return baseArity(Ot(baseAry(gr,yr),rr),yr)})}function Yt(dr,rr){return function(){var gr=arguments.length;if(!gr)return dr();for(var yr=Array(gr);gr--;)yr[gr]=arguments[gr];var or=ht.rearg?0:gr-1;return yr[or]=rr(yr[or]),dr.apply(void 0,yr)}}function ar(dr,rr,gr){var yr,or=mapping.aliasToReal[dr]||dr,ir=rr,Zt=qt[or];return Zt?ir=Zt(rr):ht.immutable&&(mapping.mutate.array[or]?ir=wrapImmutable(rr,cloneArray):mapping.mutate.object[or]?ir=wrapImmutable(rr,createCloner(rr)):mapping.mutate.set[or]&&(ir=wrapImmutable(rr,_t))),It($t,function(Qt){return It(mapping.aryMethod[Qt],function(er){if(or==er){var nr=mapping.methodSpread[or],lr=nr&&nr.afterRearg;return yr=lr?Ft(or,Xt(or,ir,Qt),Qt):Xt(or,Ft(or,ir,Qt),Qt),yr=Ht(or,yr),yr=Ut(or,yr,Qt),!1}}),!yr}),yr||(yr=ir),yr==rr&&(yr=At?wt(yr,1):function(){return rr.apply(this,arguments)}),yr.convert=jt(or,rr),yr.placeholder=rr.placeholder=gr,yr}if(!ft)return ar(Le,Ye,gt);var tr=Ye,sr=[];return It($t,function(dr){It(mapping.aryMethod[dr],function(rr){var gr=tr[mapping.remap[rr]||rr];gr&&sr.push([rr,ar(rr,gr,tr)])})}),It(Dt(tr),function(dr){var rr=tr[dr];if(typeof rr=="function"){for(var gr=sr.length;gr--;)if(sr[gr][0]==dr)return;rr.convert=jt(dr,rr),sr.push([dr,rr])}}),It(sr,function(dr){tr[dr[0]]=dr[1]}),tr.convert=Mt,tr.placeholder=tr,It(Dt(tr),function(dr){It(mapping.realToAlias[dr]||[],function(rr){tr[rr]=tr[dr]})}),tr}var _baseConvert=baseConvert,_=lodash_minExports.runInContext(),fp=_baseConvert(_,_),rngBrowser={exports:{}},getRandomValues$1=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto<"u"&&typeof window.msCrypto.getRandomValues=="function"&&msCrypto.getRandomValues.bind(msCrypto);if(getRandomValues$1){var rnds8$1=new Uint8Array(16);rngBrowser.exports=function(){return getRandomValues$1(rnds8$1),rnds8$1}}else{var rnds=new Array(16);rngBrowser.exports=function(){for(var Le=0,Ye;Le<16;Le++)Le&3||(Ye=Math.random()*4294967296),rnds[Le]=Ye>>>((Le&3)<<3)&255;return rnds}}for(var rngBrowserExports=rngBrowser.exports,byteToHex$1=[],i$2=0;i$2<256;++i$2)byteToHex$1[i$2]=(i$2+256).toString(16).substr(1);function bytesToUuid$2(Be,Le){var Ye=Le||0,tt=byteToHex$1;return[tt[Be[Ye++]],tt[Be[Ye++]],tt[Be[Ye++]],tt[Be[Ye++]],"-",tt[Be[Ye++]],tt[Be[Ye++]],"-",tt[Be[Ye++]],tt[Be[Ye++]],"-",tt[Be[Ye++]],tt[Be[Ye++]],"-",tt[Be[Ye++]],tt[Be[Ye++]],tt[Be[Ye++]],tt[Be[Ye++]],tt[Be[Ye++]],tt[Be[Ye++]]].join("")}var bytesToUuid_1=bytesToUuid$2,rng$3=rngBrowserExports,bytesToUuid$1=bytesToUuid_1,_nodeId$1,_clockseq$1,_lastMSecs$1=0,_lastNSecs$1=0;function v1$3(Be,Le,Ye){var tt=Le&&Ye||0,nt=Le||[];Be=Be||{};var ft=Be.node||_nodeId$1,ht=Be.clockseq!==void 0?Be.clockseq:_clockseq$1;if(ft==null||ht==null){var gt=rng$3();ft==null&&(ft=_nodeId$1=[gt[0]|1,gt[1],gt[2],gt[3],gt[4],gt[5]]),ht==null&&(ht=_clockseq$1=(gt[6]<<8|gt[7])&16383)}var At=Be.msecs!==void 0?Be.msecs:new Date().getTime(),xt=Be.nsecs!==void 0?Be.nsecs:_lastNSecs$1+1,yt=At-_lastMSecs$1+(xt-_lastNSecs$1)/1e4;if(yt<0&&Be.clockseq===void 0&&(ht=ht+1&16383),(yt<0||At>_lastMSecs$1)&&Be.nsecs===void 0&&(xt=0),xt>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");_lastMSecs$1=At,_lastNSecs$1=xt,_clockseq$1=ht,At+=122192928e5;var Ct=((At&268435455)*1e4+xt)%4294967296;nt[tt++]=Ct>>>24&255,nt[tt++]=Ct>>>16&255,nt[tt++]=Ct>>>8&255,nt[tt++]=Ct&255;var Et=At/4294967296*1e4&268435455;nt[tt++]=Et>>>8&255,nt[tt++]=Et&255,nt[tt++]=Et>>>24&15|16,nt[tt++]=Et>>>16&255,nt[tt++]=ht>>>8|128,nt[tt++]=ht&255;for(var vt=0;vt<6;++vt)nt[tt+vt]=ft[vt];return Le||bytesToUuid$1(nt)}var v1_1=v1$3,rng$2=rngBrowserExports,bytesToUuid=bytesToUuid_1;function v4$3(Be,Le,Ye){var tt=Le&&Ye||0;typeof Be=="string"&&(Le=Be==="binary"?new Array(16):null,Be=null),Be=Be||{};var nt=Be.random||(Be.rng||rng$2)();if(nt[6]=nt[6]&15|64,nt[8]=nt[8]&63|128,Le)for(var ft=0;ft<16;++ft)Le[tt+ft]=nt[ft];return Le||bytesToUuid(nt)}var v4_1=v4$3,v1$2=v1_1,v4$2=v4_1,uuid=v4$2;uuid.v1=v1$2,uuid.v4=v4$2;var uuid_1$2=uuid;const uuid$1=getDefaultExportFromCjs(uuid_1$2);let OTPublisher$5=class extends React.Component{constructor(Ye,tt){super(Ye);P0(this,"sessionConnectedHandler",()=>{this.publishToSession(this.state.publisher)});P0(this,"streamCreatedHandler",Ye=>{this.setState({lastStreamId:Ye.stream.id})});this.state={publisher:null,lastStreamId:"",session:Ye.session||tt.session||null}}componentDidMount(){this.createPublisher()}componentDidUpdate(Ye,tt){const nt=(gt,At)=>gt===void 0?At:gt,ft=(gt,At)=>{const xt=nt(Ye.properties[gt],At),yt=nt(this.props.properties[gt],At);return xt!==yt},ht=(gt,At)=>{if(ft(gt,At)){const xt=nt(this.props.properties[gt],At);this.state.publisher[gt](xt)}};if(ft("videoSource",void 0)){this.destroyPublisher(),this.createPublisher();return}ht("publishAudio",!0),ht("publishVideo",!0),this.state.session!==tt.session&&(this.destroyPublisher(tt.session),this.createPublisher())}componentWillUnmount(){this.state.session&&this.state.session.off("sessionConnected",this.sessionConnectedHandler),this.destroyPublisher()}getPublisher(){return this.state.publisher}destroyPublisher(Ye=this.state.session){delete this.publisherId,this.state.publisher&&(this.state.publisher.off("streamCreated",this.streamCreatedHandler),this.props.eventHandlers&&typeof this.props.eventHandlers=="object"&&this.state.publisher.once("destroyed",()=>{this.state.publisher.off(this.props.eventHandlers)}),Ye&&Ye.unpublish(this.state.publisher),this.state.publisher.destroy())}publishToSession(Ye){const{publisherId:tt}=this;this.state.session.publish(Ye,nt=>{tt===this.publisherId&&(nt?this.errorHandler(nt):typeof this.props.onPublish=="function"&&this.props.onPublish())})}createPublisher(){if(!this.state.session){this.setState({publisher:null,lastStreamId:""});return}const Ye=this.props.properties||{};let tt;Ye.insertDefaultUI!==!1&&(tt=document.createElement("div"),tt.setAttribute("class","OTPublisherContainer"),this.node.appendChild(tt)),this.publisherId=uuid$1();const{publisherId:nt}=this;this.errorHandler=once$2(ht=>{nt===this.publisherId&&typeof this.props.onError=="function"&&this.props.onError(ht)});const ft=OT.initPublisher(tt,Ye,ht=>{nt===this.publisherId&&(ht?this.errorHandler(ht):typeof this.props.onInit=="function"&&this.props.onInit())});if(ft.on("streamCreated",this.streamCreatedHandler),ft.setStyle({buttonDisplayMode:"off"}),this.props.eventHandlers&&typeof this.props.eventHandlers=="object"){const ht=fp.omitBy(fp.isNil)(this.props.eventHandlers);ft.on(ht)}this.state.session.connection?this.publishToSession(ft):this.state.session.once("sessionConnected",this.sessionConnectedHandler),this.setState({publisher:ft,lastStreamId:""})}render(){const{className:Ye,style:tt}=this.props;return jsxRuntimeExports.jsx("div",{className:Ye,style:tt,ref:nt=>{this.node=nt}})}};OTPublisher$5.propTypes={session:PropTypes.shape({connection:PropTypes.shape({connectionId:PropTypes.string}),once:PropTypes.func,off:PropTypes.func,publish:PropTypes.func,unpublish:PropTypes.func}),className:PropTypes.string,style:PropTypes.object,properties:PropTypes.object,eventHandlers:PropTypes.objectOf(PropTypes.func),onInit:PropTypes.func,onPublish:PropTypes.func,onError:PropTypes.func},OTPublisher$5.defaultProps={session:null,className:"",style:{},properties:{},eventHandlers:null,onInit:null,onPublish:null,onError:null},OTPublisher$5.contextTypes={session:PropTypes.shape({connection:PropTypes.shape({connectionId:PropTypes.string}),once:PropTypes.func,off:PropTypes.func,publish:PropTypes.func,unpublish:PropTypes.func})};let OTSubscriberContext$4=class extends React.Component{getChildContext(){return{stream:this.props.stream}}render(){return jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment,{children:this.props.children})}};OTSubscriberContext$4.propTypes={children:PropTypes.element.isRequired,stream:PropTypes.shape({streamId:PropTypes.string}).isRequired},OTSubscriberContext$4.childContextTypes={stream:PropTypes.shape({streamId:PropTypes.string})};function OTStreams$4(Be,Le){const Ye=Be.session||Le.session||null,tt=Be.streams||Le.streams||null;if(!Ye)return jsxRuntimeExports.jsx("div",{});const nt=React.Children.only(Be.children);return Array.isArray(tt)?tt.map(ht=>nt&&jsxRuntimeExports.jsx(OTSubscriberContext$4,{stream:ht,children:React.cloneElement(nt)},ht.id)):null}OTStreams$4.propTypes={children:PropTypes.element.isRequired,session:PropTypes.shape({publish:PropTypes.func,subscribe:PropTypes.func}),streams:PropTypes.arrayOf(PropTypes.object)},OTStreams$4.defaultProps={session:null,streams:null},OTStreams$4.contextTypes={session:PropTypes.shape({publish:PropTypes.func,subscribe:PropTypes.func}),streams:PropTypes.arrayOf(PropTypes.object)};let OTSubscriber$4=class extends React.Component{constructor(Le,Ye){super(Le),this.state={subscriber:null,stream:Le.stream||Ye.stream||null,session:Le.session||Ye.session||null,currentRetryAttempt:0},this.maxRetryAttempts=Le.maxRetryAttempts||5,this.retryAttemptTimeout=Le.retryAttemptTimeout||1e3}componentDidMount(){this.createSubscriber()}componentDidUpdate(Le,Ye){const tt=(ft,ht,gt)=>ft===void 0?gt:ht(ft),nt=ft=>{const ht=tt(Le.properties[ft],Boolean,!0),gt=tt(this.props.properties[ft],Boolean,!0);ht!==gt&&this.state.subscriber[ft](gt)};nt("subscribeToAudio"),nt("subscribeToVideo"),(Ye.session!==this.state.session||Ye.stream!==this.state.stream)&&(this.destroySubscriber(Ye.session),this.createSubscriber())}componentWillUnmount(){this.destroySubscriber()}getSubscriber(){return this.state.subscriber}createSubscriber(){if(!this.state.session||!this.state.stream){this.setState({subscriber:null});return}const Le=this.props.properties||{};let Ye;Le.insertDefaultUI!==!1&&(Ye=document.createElement("div"),Ye.setAttribute("class","OTSubscriberContainer"),this.node.appendChild(Ye)),this.subscriberId=uuid$1();const{subscriberId:tt}=this,nt=this.state.session.subscribe(this.state.stream,Ye,this.props.properties,ft=>{tt===this.subscriberId&&(ft&&this.props.retry&&this.state.currentRetryAttempt<this.maxRetryAttempts-1&&this.handleRetrySubscriber(),ft&&typeof this.props.onError=="function"?this.props.onError(ft):!ft&&typeof this.props.onSubscribe=="function"&&this.props.onSubscribe())});this.props.eventHandlers&&typeof this.props.eventHandlers=="object"&&nt.on(this.props.eventHandlers),this.setState({subscriber:nt})}handleRetrySubscriber(){setTimeout(()=>{this.setState(Le=>({currentRetryAttempt:Le.currentRetryAttempt+1,subscriber:null})),this.createSubscriber()},this.retryAttemptTimeout)}destroySubscriber(Le=this.props.session){delete this.subscriberId,this.state.subscriber&&(this.props.eventHandlers&&typeof this.props.eventHandlers=="object"&&this.state.subscriber.once("destroyed",()=>{this.state.subscriber.off(this.props.eventHandlers)}),Le&&Le.unsubscribe(this.state.subscriber))}render(){const{className:Le,style:Ye}=this.props;return jsxRuntimeExports.jsx("div",{className:Le,style:Ye,ref:tt=>{this.node=tt}})}};OTSubscriber$4.propTypes={stream:PropTypes.shape({streamId:PropTypes.string}),session:PropTypes.shape({subscribe:PropTypes.func,unsubscribe:PropTypes.func}),className:PropTypes.string,style:PropTypes.object,properties:PropTypes.object,retry:PropTypes.bool,maxRetryAttempts:PropTypes.number,retryAttemptTimeout:PropTypes.number,eventHandlers:PropTypes.objectOf(PropTypes.func),onSubscribe:PropTypes.func,onError:PropTypes.func},OTSubscriber$4.defaultProps={stream:null,session:null,className:"",style:{},properties:{},retry:!1,maxRetryAttempts:5,retryAttemptTimeout:1e3,eventHandlers:null,onSubscribe:null,onError:null},OTSubscriber$4.contextTypes={stream:PropTypes.shape({streamId:PropTypes.string}),session:PropTypes.shape({subscribe:PropTypes.func,unsubscribe:PropTypes.func})};var getDisplayName$1={};Object.defineProperty(getDisplayName$1,"__esModule",{value:!0});var _default$e=getDisplayName$1.default=getDisplayName;function getDisplayName(Be){return Be.displayName||Be.name||(typeof Be=="string"&&Be.length>0?Be:"Unknown")}var script={exports:{}};/*!
2797
+ }`;var tn=Gh(function(){return yh(Fr,B0+"return "+p0).apply(pr,Kr)});if(tn.source=p0,gp(tn))throw tn;return tn}function H8(Nt){return vn(Nt).toLowerCase()}function G8(Nt){return vn(Nt).toUpperCase()}function z8(Nt,Vt,Jt){if(Nt=vn(Nt),Nt&&(Jt||Vt===pr))return Ft(Nt);if(!Nt||!(Vt=hi(Vt)))return Nt;var cr=nr(Nt),Er=nr(Vt);return o2(cr,jt(cr,Er),zt(cr,Er)+1).join("")}function W8(Nt,Vt,Jt){if(Nt=vn(Nt),Nt&&(Jt||Vt===pr))return Nt.slice(0,lr(Nt)+1);if(!Nt||!(Vt=hi(Vt)))return Nt;var cr=nr(Nt);return o2(cr,0,zt(cr,nr(Vt))+1).join("")}function X8(Nt,Vt,Jt){if(Nt=vn(Nt),Nt&&(Jt||Vt===pr))return Nt.replace(E0,"");if(!Nt||!(Vt=hi(Vt)))return Nt;var cr=nr(Nt);return o2(cr,jt(cr,nr(Vt))).join("")}function K8(Nt,Vt){var Jt=N0,cr=J0;if(Wn(Vt)){var Er="separator"in Vt?Vt.separator:Er;Jt="length"in Vt?nn(Vt.length):Jt,cr="omission"in Vt?hi(Vt.omission):cr}Nt=vn(Nt);var Sr=Nt.length;if(tr(Nt)){var jr=nr(Nt);Sr=jr.length}if(Jt>=Sr)return Nt;var Fr=Jt-er(cr);if(Fr<1)return cr;var Kr=jr?o2(jr,0,Fr).join(""):Nt.slice(0,Fr);if(Er===pr)return Kr+cr;if(jr&&(Fr+=Kr.length-Fr),_p(Er)){if(Nt.slice(Fr).search(Er)){var l0,i0=Kr;for(Er.global||(Er=Sp(Er.source,vn(e2.exec(Er))+"g")),Er.lastIndex=0;l0=Er.exec(i0);)var p0=l0.index;Kr=Kr.slice(0,p0===pr?Fr:p0)}}else if(Nt.indexOf(hi(Er),Fr)!=Fr){var k0=Kr.lastIndexOf(Er);k0>-1&&(Kr=Kr.slice(0,k0))}return Kr+cr}function $8(Nt){return Nt=vn(Nt),Nt&&Br.test(Nt)?Nt.replace(Ar,Y4):Nt}function Ah(Nt,Vt,Jt){return Nt=vn(Nt),Vt=Jt?pr:Vt,Vt===pr?sr(Nt)?xr(Nt):wt(Nt):Nt.match(Vt)||[]}function q8(Nt){var Vt=Nt==null?0:Nt.length,Jt=z0();return Nt=Vt?yt(Nt,function(cr){if(typeof cr[1]!="function")throw new Ni(qr);return[Jt(cr[0]),cr[1]]}):[],cn(function(cr){for(var Er=-1;++Er<Vt;){var Sr=Nt[Er];if(Ye(Sr[0],this,cr))return Ye(Sr[1],this,cr)}})}function Y8(Nt){return S6(Bi(Nt,Or))}function yp(Nt){return function(){return Nt}}function Z8(Nt,Vt){return Nt==null||Nt!==Nt?Vt:Nt}function ei(Nt){return Nt}function Ep(Nt){return uf(typeof Nt=="function"?Nt:Bi(Nt,Or))}function J8(Nt){return pf(Bi(Nt,Or))}function e7(Nt,Vt){return ff(Nt,Bi(Vt,Or))}function Cp(Nt,Vt,Jt){var cr=ga(Vt),Er=xd(Vt,cr);Jt!=null||Wn(Vt)&&(Er.length||!cr.length)||(Jt=Vt,Vt=Nt,Nt=this,Er=xd(Vt,ga(Vt)));var Sr=!(Wn(Jt)&&"chain"in Jt&&!Jt.chain),jr=yo(Nt);return nt(Er,function(Fr){var Kr=Vt[Fr];Nt[Fr]=Kr,jr&&(Nt.prototype[Fr]=function(){var l0=this.__chain__;if(Sr||l0){var i0=Nt(this.__wrapped__);return(i0.__actions__=Ya(this.__actions__)).push({func:Kr,args:arguments,thisArg:Nt}),i0.__chain__=l0,i0}return Kr.apply(Nt,Ct([this.value()],arguments))})}),Nt}function t7(){return ka._===this&&(ka._=v7),this}function vp(){}function r7(Nt){return Nt=nn(Nt),cn(function(Vt){return hf(Vt,Nt)})}function xh(Nt){return up(Nt)?Ot(Ps(Nt)):H6(Nt)}function n7(Nt){return function(Vt){return Nt==null?pr:I1(Nt,Vt)}}function kp(){return[]}function bp(){return!1}function a7(){return{}}function i7(){return""}function s7(){return!0}function o7(Nt,Vt){if(Nt=nn(Nt),Nt<1||Nt>u0)return[];var Jt=U0,cr=Ta(Nt,U0);Vt=z0(Vt),Nt-=U0;for(var Er=Ht(cr,Vt);++Jt<Nt;)Vt(Jt);return Er}function l7(Nt){return Y0(Nt)?yt(Nt,Ps):mi(Nt)?[Nt]:Ya(Lh(vn(Nt)))}function c7(Nt){var Vt=++E7;return vn(Nt)+Vt}function u7(Nt){return Nt&&Nt.length?Ad(Nt,ei,H3):pr}function d7(Nt,Vt){return Nt&&Nt.length?Ad(Nt,z0(Vt,2),H3):pr}function p7(Nt){return Dt(Nt,ei)}function f7(Nt,Vt){return Dt(Nt,z0(Vt,2))}function h7(Nt){return Nt&&Nt.length?Ad(Nt,ei,X3):pr}function m7(Nt,Vt){return Nt&&Nt.length?Ad(Nt,z0(Vt,2),X3):pr}function g7(Nt){return Nt&&Nt.length?qt(Nt,ei):0}function A7(Nt,Vt){return Nt&&Nt.length?qt(Nt,z0(Vt,2)):0}a0=a0==null?ka:_l.defaults(ka.Object(),a0,_l.pick(ka,j4));var la=a0.Array,_d=a0.Date,Ip=a0.Error,yh=a0.Function,Vl=a0.Math,jn=a0.Object,Sp=a0.RegExp,x7=a0.String,Ni=a0.TypeError,Md=la.prototype,y7=yh.prototype,Ul=jn.prototype,jd=a0["__core-js_shared__"],Fd=y7.toString,Sn=Ul.hasOwnProperty,E7=0,Eh=function(){var Nt=/[^.]+$/.exec(jd&&jd.keys&&jd.keys.IE_PROTO||"");return Nt?"Symbol(src)_1."+Nt:""}(),Qd=Ul.toString,C7=Fd.call(jn),v7=ka._,k7=Sp("^"+Fd.call(Sn).replace(d0,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Vd=X9?a0.Buffer:pr,l2=a0.Symbol,Ud=a0.Uint8Array,Ch=Vd?Vd.allocUnsafe:pr,Hd=gr(jn.getPrototypeOf,jn),kh=jn.create,bh=Ul.propertyIsEnumerable,Gd=Md.splice,Ih=l2?l2.isConcatSpreadable:pr,wu=l2?l2.iterator:pr,R1=l2?l2.toStringTag:pr,zd=function(){try{var Nt=S1(jn,"defineProperty");return Nt({},"",{}),Nt}catch{}}(),b7=a0.clearTimeout!==ka.clearTimeout&&a0.clearTimeout,I7=_d&&_d.now!==ka.Date.now&&_d.now,S7=a0.setTimeout!==ka.setTimeout&&a0.setTimeout,Wd=Vl.ceil,Xd=Vl.floor,wp=jn.getOwnPropertySymbols,w7=Vd?Vd.isBuffer:pr,Sh=a0.isFinite,R7=Md.join,T7=gr(jn.keys,jn),ua=Vl.max,Ta=Vl.min,B7=_d.now,P7=a0.parseInt,wh=Vl.random,O7=Md.reverse,Rp=S1(a0,"DataView"),Ru=S1(a0,"Map"),Tp=S1(a0,"Promise"),Hl=S1(a0,"Set"),Tu=S1(a0,"WeakMap"),Bu=S1(jn,"create"),Kd=Tu&&new Tu,Gl={},D7=w1(Rp),N7=w1(Ru),L7=w1(Tp),_7=w1(Hl),M7=w1(Tu),$d=l2?l2.prototype:pr,Pu=$d?$d.valueOf:pr,Rh=$d?$d.toString:pr,zl=function(){function Nt(){}return function(Vt){if(!Wn(Vt))return{};if(kh)return kh(Vt);Nt.prototype=Vt;var Jt=new Nt;return Nt.prototype=pr,Jt}}();mr.templateSettings={escape:Gr,evaluate:Xr,interpolate:Hr,variable:"",imports:{_:mr}},mr.prototype=S0.prototype,mr.prototype.constructor=mr,Q0.prototype=zl(S0.prototype),Q0.prototype.constructor=Q0,R0.prototype=zl(S0.prototype),R0.prototype.constructor=R0,C1.prototype.clear=e6,C1.prototype.delete=t6,C1.prototype.get=r6,C1.prototype.has=n6,C1.prototype.set=a6,fo.prototype.clear=i6,fo.prototype.delete=s6,fo.prototype.get=o6,fo.prototype.has=l6,fo.prototype.set=c6,ho.prototype.clear=u6,ho.prototype.delete=d6,ho.prototype.get=p6,ho.prototype.has=f6,ho.prototype.set=h6,k1.prototype.add=k1.prototype.push=m6,k1.prototype.has=g6,as.prototype.clear=A6,as.prototype.delete=x6,as.prototype.get=y6,as.prototype.has=E6,as.prototype.set=C6;var c2=Rf(Ts),Th=Rf(U3,!0),Bp=Tf(),Bh=Tf(!0),Ph=Kd?function(Nt,Vt){return Kd.set(Nt,Vt),Nt}:ei,j7=zd?function(Nt,Vt){return zd(Nt,"toString",{configurable:!0,enumerable:!1,value:yp(Vt),writable:!0})}:ei,F7=cn,Oh=b7||function(Nt){return ka.clearTimeout(Nt)},Q7=Hl&&1/or(new Hl([,-0]))[1]==H0?function(Nt){return new Hl(Nt)}:vp,Pp=Kd?function(Nt){return Kd.get(Nt)}:vp,Op=wp?function(Nt){return Nt==null?[]:(Nt=jn(Nt),gt(wp(Nt),function(Vt){return bh.call(Nt,Vt)}))}:kp,Dh=wp?function(Nt){for(var Vt=[];Nt;)Ct(Vt,Op(Nt)),Nt=Hd(Nt);return Vt}:kp,Ba=ja;(Rp&&Ba(new Rp(new ArrayBuffer(1)))!=Ji||Ru&&Ba(new Ru)!=fn||Tp&&Ba(Tp.resolve())!=zn||Hl&&Ba(new Hl)!=sa||Tu&&Ba(new Tu)!=Ma)&&(Ba=function(Nt){var Vt=ja(Nt),Jt=Vt==Gn?Nt.constructor:pr,cr=Jt?w1(Jt):"";if(cr)switch(cr){case D7:return Ji;case N7:return fn;case L7:return zn;case _7:return sa;case M7:return Ma}return Vt});var V7=jd?yo:bp,Nh=Xf(Ph),Ou=S7||function(Nt,Vt){return ka.setTimeout(Nt,Vt)},Dp=Xf(j7),Lh=Am(function(Nt){var Vt=[];return Nt.charCodeAt(0)===46&&Vt.push(""),Nt.replace(o0,function(Jt,cr,Er,Sr){Vt.push(Er?Sr.replace(Zn,"$1"):cr||Jt)}),Vt}),U7=cn(function(Nt,Vt){return Jn(Nt)?Eu(Nt,ba(Vt,1,Jn,!0)):[]}),H7=cn(function(Nt,Vt){var Jt=Oi(Vt);return Jn(Jt)&&(Jt=pr),Jn(Nt)?Eu(Nt,ba(Vt,1,Jn,!0),z0(Jt,2)):[]}),G7=cn(function(Nt,Vt){var Jt=Oi(Vt);return Jn(Jt)&&(Jt=pr),Jn(Nt)?Eu(Nt,ba(Vt,1,Jn,!0),pr,Jt):[]}),z7=cn(function(Nt){var Vt=yt(Nt,ep);return Vt.length&&Vt[0]===Nt[0]?G3(Vt):[]}),W7=cn(function(Nt){var Vt=Oi(Nt),Jt=yt(Nt,ep);return Vt===Oi(Jt)?Vt=pr:Jt.pop(),Jt.length&&Jt[0]===Nt[0]?G3(Jt,z0(Vt,2)):[]}),X7=cn(function(Nt){var Vt=Oi(Nt),Jt=yt(Nt,ep);return Vt=typeof Vt=="function"?Vt:pr,Vt&&Jt.pop(),Jt.length&&Jt[0]===Nt[0]?G3(Jt,pr,Vt):[]}),K7=cn(Jf),$7=Ao(function(Nt,Vt){var Jt=Nt==null?0:Nt.length,cr=Q3(Nt,Vt);return Af(Nt,yt(Vt,function(Er){return xo(Er,Jt)?+Er:Er}).sort(If)),cr}),q7=cn(function(Nt){return i2(ba(Nt,1,Jn,!0))}),Y7=cn(function(Nt){var Vt=Oi(Nt);return Jn(Vt)&&(Vt=pr),i2(ba(Nt,1,Jn,!0),z0(Vt,2))}),Z7=cn(function(Nt){var Vt=Oi(Nt);return Vt=typeof Vt=="function"?Vt:pr,i2(ba(Nt,1,Jn,!0),pr,Vt)}),J7=cn(function(Nt,Vt){return Jn(Nt)?Eu(Nt,Vt):[]}),eA=cn(function(Nt){return J3(gt(Nt,Jn))}),tA=cn(function(Nt){var Vt=Oi(Nt);return Jn(Vt)&&(Vt=pr),J3(gt(Nt,Jn),z0(Vt,2))}),rA=cn(function(Nt){var Vt=Oi(Nt);return Vt=typeof Vt=="function"?Vt:pr,J3(gt(Nt,Jn),pr,Vt)}),nA=cn(mp),aA=cn(function(Nt){var Vt=Nt.length,Jt=Vt>1?Nt[Vt-1]:pr;return Jt=typeof Jt=="function"?(Nt.pop(),Jt):pr,eh(Nt,Jt)}),iA=Ao(function(Nt){var Vt=Nt.length,Jt=Vt?Nt[0]:0,cr=this.__wrapped__,Er=function(Sr){return Q3(Sr,Nt)};return!(Vt>1||this.__actions__.length)&&cr instanceof R0&&xo(Jt)?(cr=cr.slice(Jt,+Jt+(Vt?1:0)),cr.__actions__.push({func:Bd,args:[Er],thisArg:pr}),new Q0(cr,this.__chain__).thru(function(Sr){return Vt&&!Sr.length&&Sr.push(pr),Sr})):this.thru(Er)}),sA=vd(function(Nt,Vt,Jt){Sn.call(Nt,Jt)?++Nt[Jt]:mo(Nt,Jt,1)}),oA=Pf($f),lA=Pf(qf),cA=vd(function(Nt,Vt,Jt){Sn.call(Nt,Jt)?Nt[Jt].push(Vt):mo(Nt,Jt,[Vt])}),uA=cn(function(Nt,Vt,Jt){var cr=-1,Er=typeof Vt=="function",Sr=Za(Nt)?la(Nt.length):[];return c2(Nt,function(jr){Sr[++cr]=Er?Ye(Vt,jr,Jt):Cu(jr,Vt,Jt)}),Sr}),dA=vd(function(Nt,Vt,Jt){mo(Nt,Jt,Vt)}),pA=vd(function(Nt,Vt,Jt){Nt[Jt?0:1].push(Vt)},function(){return[[],[]]}),fA=cn(function(Nt,Vt){if(Nt==null)return[];var Jt=Vt.length;return Jt>1&&Fa(Nt,Vt[0],Vt[1])?Vt=[]:Jt>2&&Fa(Vt[0],Vt[1],Vt[2])&&(Vt=[Vt[0]]),mf(Nt,ba(Vt,1),[])}),qd=I7||function(){return ka.Date.now()},Np=cn(function(Nt,Vt,Jt){var cr=wr;if(Jt.length){var Er=yr(Jt,Fl(Np));cr|=t0}return go(Nt,cr,Vt,Jt,Er)}),_h=cn(function(Nt,Vt,Jt){var cr=wr|Tr;if(Jt.length){var Er=yr(Jt,Fl(_h));cr|=t0}return go(Vt,cr,Nt,Jt,Er)}),hA=cn(function(Nt,Vt){return af(Nt,1,Vt)}),mA=cn(function(Nt,Vt,Jt){return af(Nt,Di(Vt)||0,Jt)});Od.Cache=ho;var gA=F7(function(Nt,Vt){Vt=Vt.length==1&&Y0(Vt[0])?yt(Vt[0],Xt(z0())):yt(ba(Vt,1),Xt(z0()));var Jt=Vt.length;return cn(function(cr){for(var Er=-1,Sr=Ta(cr.length,Jt);++Er<Sr;)cr[Er]=Vt[Er].call(this,cr[Er]);return Ye(Nt,this,cr)})}),Lp=cn(function(Nt,Vt){return go(Nt,t0,pr,Vt,yr(Vt,Fl(Lp)))}),Mh=cn(function(Nt,Vt){return go(Nt,h0,pr,Vt,yr(Vt,Fl(Mh)))}),AA=Ao(function(Nt,Vt){return go(Nt,m0,pr,pr,pr,Vt)}),xA=Sd(H3),yA=Sd(function(Nt,Vt){return Nt>=Vt}),T1=lf(function(){return arguments}())?lf:function(Nt){return $n(Nt)&&Sn.call(Nt,"callee")&&!bh.call(Nt,"callee")},Y0=la.isArray,EA=K9?Xt(K9):D6,u2=w7||bp,CA=$9?Xt($9):N6,jh=q9?Xt(q9):_6,_p=Y9?Xt(Y9):M6,Fh=Z9?Xt(Z9):j6,Wl=J9?Xt(J9):F6,vA=Sd(X3),kA=Sd(function(Nt,Vt){return Nt<=Vt}),bA=Ml(function(Nt,Vt){if(Iu(Vt)||Za(Vt))return Bs(Vt,ga(Vt),Nt),pr;for(var Jt in Vt)Sn.call(Vt,Jt)&&yu(Nt,Jt,Vt[Jt])}),Qh=Ml(function(Nt,Vt){Bs(Vt,Ja(Vt),Nt)}),Yd=Ml(function(Nt,Vt,Jt,cr){Bs(Vt,Ja(Vt),Nt,cr)}),IA=Ml(function(Nt,Vt,Jt,cr){Bs(Vt,ga(Vt),Nt,cr)}),SA=Ao(Q3),wA=cn(function(Nt,Vt){Nt=jn(Nt);var Jt=-1,cr=Vt.length,Er=cr>2?Vt[2]:pr;for(Er&&Fa(Vt[0],Vt[1],Er)&&(cr=1);++Jt<cr;)for(var Sr=Vt[Jt],jr=Ja(Sr),Fr=-1,Kr=jr.length;++Fr<Kr;){var l0=jr[Fr],i0=Nt[l0];(i0===pr||is(i0,Ul[l0])&&!Sn.call(Nt,l0))&&(Nt[l0]=Sr[l0])}return Nt}),RA=cn(function(Nt){return Nt.push(pr,jf),Ye(Vh,pr,Nt)}),TA=Df(function(Nt,Vt,Jt){Vt!=null&&typeof Vt.toString!="function"&&(Vt=Qd.call(Vt)),Nt[Vt]=Jt},yp(ei)),BA=Df(function(Nt,Vt,Jt){Vt!=null&&typeof Vt.toString!="function"&&(Vt=Qd.call(Vt)),Sn.call(Nt,Vt)?Nt[Vt].push(Jt):Nt[Vt]=[Jt]},z0),PA=cn(Cu),OA=Ml(function(Nt,Vt,Jt){yd(Nt,Vt,Jt)}),Vh=Ml(function(Nt,Vt,Jt,cr){yd(Nt,Vt,Jt,cr)}),DA=Ao(function(Nt,Vt){var Jt={};if(Nt==null)return Jt;var cr=!1;Vt=yt(Vt,function(Sr){return Sr=s2(Sr,Nt),cr||(cr=Sr.length>1),Sr}),Bs(Nt,lp(Nt),Jt),cr&&(Jt=Bi(Jt,Or|Vr|Yr,im));for(var Er=Vt.length;Er--;)Z3(Jt,Vt[Er]);return Jt}),NA=Ao(function(Nt,Vt){return Nt==null?{}:U6(Nt,Vt)}),Uh=_f(ga),Hh=_f(Ja),LA=jl(function(Nt,Vt,Jt){return Vt=Vt.toLowerCase(),Nt+(Jt?mh(Vt):Vt)}),_A=jl(function(Nt,Vt,Jt){return Nt+(Jt?"-":"")+Vt.toLowerCase()}),MA=jl(function(Nt,Vt,Jt){return Nt+(Jt?" ":"")+Vt.toLowerCase()}),jA=Bf("toLowerCase"),FA=jl(function(Nt,Vt,Jt){return Nt+(Jt?"_":"")+Vt.toLowerCase()}),QA=jl(function(Nt,Vt,Jt){return Nt+(Jt?" ":"")+Mp(Vt)}),VA=jl(function(Nt,Vt,Jt){return Nt+(Jt?" ":"")+Vt.toUpperCase()}),Mp=Bf("toUpperCase"),Gh=cn(function(Nt,Vt){try{return Ye(Nt,pr,Vt)}catch(Jt){return gp(Jt)?Jt:new Ip(Jt)}}),UA=Ao(function(Nt,Vt){return nt(Vt,function(Jt){Jt=Ps(Jt),mo(Nt,Jt,Np(Nt[Jt],Nt))}),Nt}),HA=Of(),GA=Of(!0),zA=cn(function(Nt,Vt){return function(Jt){return Cu(Jt,Nt,Vt)}}),WA=cn(function(Nt,Vt){return function(Jt){return Cu(Nt,Jt,Vt)}}),XA=np(yt),KA=np(ht),$A=np(kt),qA=Nf(),YA=Nf(!0),ZA=bd(function(Nt,Vt){return Nt+Vt},0),JA=ap("ceil"),ex=bd(function(Nt,Vt){return Nt/Vt},1),tx=ap("floor"),rx=bd(function(Nt,Vt){return Nt*Vt},1),nx=ap("round"),ax=bd(function(Nt,Vt){return Nt-Vt},0);return mr.after=Bg,mr.ary=ah,mr.assign=bA,mr.assignIn=Qh,mr.assignInWith=Yd,mr.assignWith=IA,mr.at=SA,mr.before=ih,mr.bind=Np,mr.bindAll=UA,mr.bindKey=_h,mr.castArray=jg,mr.chain=th,mr.chunk=km,mr.compact=bm,mr.concat=Im,mr.cond=q8,mr.conforms=Y8,mr.constant=yp,mr.countBy=sA,mr.create=o8,mr.curry=sh,mr.curryRight=oh,mr.debounce=lh,mr.defaults=wA,mr.defaultsDeep=RA,mr.defer=hA,mr.delay=mA,mr.difference=U7,mr.differenceBy=H7,mr.differenceWith=G7,mr.drop=Sm,mr.dropRight=wm,mr.dropRightWhile=Rm,mr.dropWhile=Tm,mr.fill=Bm,mr.filter=gg,mr.flatMap=Ag,mr.flatMapDeep=xg,mr.flatMapDepth=yg,mr.flatten=Yf,mr.flattenDeep=Pm,mr.flattenDepth=Om,mr.flip=Pg,mr.flow=HA,mr.flowRight=GA,mr.fromPairs=Dm,mr.functions=h8,mr.functionsIn=m8,mr.groupBy=cA,mr.initial=Lm,mr.intersection=z7,mr.intersectionBy=W7,mr.intersectionWith=X7,mr.invert=TA,mr.invertBy=BA,mr.invokeMap=uA,mr.iteratee=Ep,mr.keyBy=dA,mr.keys=ga,mr.keysIn=Ja,mr.map=Pd,mr.mapKeys=A8,mr.mapValues=x8,mr.matches=J8,mr.matchesProperty=e7,mr.memoize=Od,mr.merge=OA,mr.mergeWith=Vh,mr.method=zA,mr.methodOf=WA,mr.mixin=Cp,mr.negate=Dd,mr.nthArg=r7,mr.omit=DA,mr.omitBy=y8,mr.once=Og,mr.orderBy=Cg,mr.over=XA,mr.overArgs=gA,mr.overEvery=KA,mr.overSome=$A,mr.partial=Lp,mr.partialRight=Mh,mr.partition=pA,mr.pick=NA,mr.pickBy=hh,mr.property=xh,mr.propertyOf=n7,mr.pull=K7,mr.pullAll=Jf,mr.pullAllBy=Fm,mr.pullAllWith=Qm,mr.pullAt=$7,mr.range=qA,mr.rangeRight=YA,mr.rearg=AA,mr.reject=bg,mr.remove=Vm,mr.rest=Dg,mr.reverse=hp,mr.sampleSize=Sg,mr.set=C8,mr.setWith=v8,mr.shuffle=wg,mr.slice=Um,mr.sortBy=fA,mr.sortedUniq=$m,mr.sortedUniqBy=qm,mr.split=Q8,mr.spread=Ng,mr.tail=Ym,mr.take=Zm,mr.takeRight=Jm,mr.takeRightWhile=eg,mr.takeWhile=tg,mr.tap=og,mr.throttle=Lg,mr.thru=Bd,mr.toArray=dh,mr.toPairs=Uh,mr.toPairsIn=Hh,mr.toPath=l7,mr.toPlainObject=fh,mr.transform=k8,mr.unary=_g,mr.union=q7,mr.unionBy=Y7,mr.unionWith=Z7,mr.uniq=rg,mr.uniqBy=ng,mr.uniqWith=ag,mr.unset=b8,mr.unzip=mp,mr.unzipWith=eh,mr.update=I8,mr.updateWith=S8,mr.values=Ql,mr.valuesIn=w8,mr.without=J7,mr.words=Ah,mr.wrap=Mg,mr.xor=eA,mr.xorBy=tA,mr.xorWith=rA,mr.zip=nA,mr.zipObject=ig,mr.zipObjectDeep=sg,mr.zipWith=aA,mr.entries=Uh,mr.entriesIn=Hh,mr.extend=Qh,mr.extendWith=Yd,Cp(mr,mr),mr.add=ZA,mr.attempt=Gh,mr.camelCase=LA,mr.capitalize=mh,mr.ceil=JA,mr.clamp=R8,mr.clone=Fg,mr.cloneDeep=Vg,mr.cloneDeepWith=Ug,mr.cloneWith=Qg,mr.conformsTo=Hg,mr.deburr=gh,mr.defaultTo=Z8,mr.divide=ex,mr.endsWith=P8,mr.eq=is,mr.escape=O8,mr.escapeRegExp=D8,mr.every=mg,mr.find=oA,mr.findIndex=$f,mr.findKey=l8,mr.findLast=lA,mr.findLastIndex=qf,mr.findLastKey=c8,mr.floor=tx,mr.forEach=rh,mr.forEachRight=nh,mr.forIn=u8,mr.forInRight=d8,mr.forOwn=p8,mr.forOwnRight=f8,mr.get=Ap,mr.gt=xA,mr.gte=yA,mr.has=g8,mr.hasIn=xp,mr.head=Zf,mr.identity=ei,mr.includes=Eg,mr.indexOf=Nm,mr.inRange=T8,mr.invoke=PA,mr.isArguments=T1,mr.isArray=Y0,mr.isArrayBuffer=EA,mr.isArrayLike=Za,mr.isArrayLikeObject=Jn,mr.isBoolean=Gg,mr.isBuffer=u2,mr.isDate=CA,mr.isElement=zg,mr.isEmpty=Wg,mr.isEqual=Xg,mr.isEqualWith=Kg,mr.isError=gp,mr.isFinite=$g,mr.isFunction=yo,mr.isInteger=ch,mr.isLength=Nd,mr.isMap=jh,mr.isMatch=qg,mr.isMatchWith=Yg,mr.isNaN=Zg,mr.isNative=Jg,mr.isNil=t8,mr.isNull=e8,mr.isNumber=uh,mr.isObject=Wn,mr.isObjectLike=$n,mr.isPlainObject=Su,mr.isRegExp=_p,mr.isSafeInteger=r8,mr.isSet=Fh,mr.isString=Ld,mr.isSymbol=mi,mr.isTypedArray=Wl,mr.isUndefined=n8,mr.isWeakMap=a8,mr.isWeakSet=i8,mr.join=_m,mr.kebabCase=_A,mr.last=Oi,mr.lastIndexOf=Mm,mr.lowerCase=MA,mr.lowerFirst=jA,mr.lt=vA,mr.lte=kA,mr.max=u7,mr.maxBy=d7,mr.mean=p7,mr.meanBy=f7,mr.min=h7,mr.minBy=m7,mr.stubArray=kp,mr.stubFalse=bp,mr.stubObject=a7,mr.stubString=i7,mr.stubTrue=s7,mr.multiply=rx,mr.nth=jm,mr.noConflict=t7,mr.noop=vp,mr.now=qd,mr.pad=N8,mr.padEnd=L8,mr.padStart=_8,mr.parseInt=M8,mr.random=B8,mr.reduce=vg,mr.reduceRight=kg,mr.repeat=j8,mr.replace=F8,mr.result=E8,mr.round=nx,mr.runInContext=Ur,mr.sample=Ig,mr.size=Rg,mr.snakeCase=FA,mr.some=Tg,mr.sortedIndex=Hm,mr.sortedIndexBy=Gm,mr.sortedIndexOf=zm,mr.sortedLastIndex=Wm,mr.sortedLastIndexBy=Xm,mr.sortedLastIndexOf=Km,mr.startCase=QA,mr.startsWith=V8,mr.subtract=ax,mr.sum=g7,mr.sumBy=A7,mr.template=U8,mr.times=o7,mr.toFinite=Eo,mr.toInteger=nn,mr.toLength=ph,mr.toLower=H8,mr.toNumber=Di,mr.toSafeInteger=s8,mr.toString=vn,mr.toUpper=G8,mr.trim=z8,mr.trimEnd=W8,mr.trimStart=X8,mr.truncate=K8,mr.unescape=$8,mr.uniqueId=c7,mr.upperCase=VA,mr.upperFirst=Mp,mr.each=rh,mr.eachRight=nh,mr.first=Zf,Cp(mr,function(){var Nt={};return Ts(mr,function(Vt,Jt){Sn.call(mr.prototype,Jt)||(Nt[Jt]=Vt)}),Nt}(),{chain:!1}),mr.VERSION=Mr,nt(["bind","bindKey","curry","curryRight","partial","partialRight"],function(Nt){mr[Nt].placeholder=mr}),nt(["drop","take"],function(Nt,Vt){R0.prototype[Nt]=function(Jt){Jt=Jt===pr?1:ua(nn(Jt),0);var cr=this.__filtered__&&!Vt?new R0(this):this.clone();return cr.__filtered__?cr.__takeCount__=Ta(Jt,cr.__takeCount__):cr.__views__.push({size:Ta(Jt,U0),type:Nt+(cr.__dir__<0?"Right":"")}),cr},R0.prototype[Nt+"Right"]=function(Jt){return this.reverse()[Nt](Jt).reverse()}}),nt(["filter","map","takeWhile"],function(Nt,Vt){var Jt=Vt+1,cr=Jt==rn||Jt==$0;R0.prototype[Nt]=function(Er){var Sr=this.clone();return Sr.__iteratees__.push({iteratee:z0(Er,3),type:Jt}),Sr.__filtered__=Sr.__filtered__||cr,Sr}}),nt(["head","last"],function(Nt,Vt){var Jt="take"+(Vt?"Right":"");R0.prototype[Nt]=function(){return this[Jt](1).value()[0]}}),nt(["initial","tail"],function(Nt,Vt){var Jt="drop"+(Vt?"":"Right");R0.prototype[Nt]=function(){return this.__filtered__?new R0(this):this[Jt](1)}}),R0.prototype.compact=function(){return this.filter(ei)},R0.prototype.find=function(Nt){return this.filter(Nt).head()},R0.prototype.findLast=function(Nt){return this.reverse().find(Nt)},R0.prototype.invokeMap=cn(function(Nt,Vt){return typeof Nt=="function"?new R0(this):this.map(function(Jt){return Cu(Jt,Nt,Vt)})}),R0.prototype.reject=function(Nt){return this.filter(Dd(z0(Nt)))},R0.prototype.slice=function(Nt,Vt){Nt=nn(Nt);var Jt=this;return Jt.__filtered__&&(Nt>0||Vt<0)?new R0(Jt):(Nt<0?Jt=Jt.takeRight(-Nt):Nt&&(Jt=Jt.drop(Nt)),Vt!==pr&&(Vt=nn(Vt),Jt=Vt<0?Jt.dropRight(-Vt):Jt.take(Vt-Nt)),Jt)},R0.prototype.takeRightWhile=function(Nt){return this.reverse().takeWhile(Nt).reverse()},R0.prototype.toArray=function(){return this.take(U0)},Ts(R0.prototype,function(Nt,Vt){var Jt=/^(?:filter|find|map|reject)|While$/.test(Vt),cr=/^(?:head|last)$/.test(Vt),Er=mr[cr?"take"+(Vt=="last"?"Right":""):Vt],Sr=cr||/^find/.test(Vt);Er&&(mr.prototype[Vt]=function(){var jr=this.__wrapped__,Fr=cr?[1]:arguments,Kr=jr instanceof R0,l0=Fr[0],i0=Kr||Y0(jr),p0=function(dn){var pn=Er.apply(mr,Ct([dn],Fr));return cr&&k0?pn[0]:pn};i0&&Jt&&typeof l0=="function"&&l0.length!=1&&(Kr=i0=!1);var k0=this.__chain__,B0=!!this.__actions__.length,M0=Sr&&!k0,tn=Kr&&!B0;if(!Sr&&i0){jr=tn?jr:new R0(this);var F0=Nt.apply(jr,Fr);return F0.__actions__.push({func:Bd,args:[p0],thisArg:pr}),new Q0(F0,k0)}return M0&&tn?Nt.apply(this,Fr):(F0=this.thru(p0),M0?cr?F0.value()[0]:F0.value():F0)})}),nt(["pop","push","shift","sort","splice","unshift"],function(Nt){var Vt=Md[Nt],Jt=/^(?:push|sort|unshift)$/.test(Nt)?"tap":"thru",cr=/^(?:pop|shift)$/.test(Nt);mr.prototype[Nt]=function(){var Er=arguments;if(cr&&!this.__chain__){var Sr=this.value();return Vt.apply(Y0(Sr)?Sr:[],Er)}return this[Jt](function(jr){return Vt.apply(Y0(jr)?jr:[],Er)})}}),Ts(R0.prototype,function(Nt,Vt){var Jt=mr[Vt];if(Jt){var cr=Jt.name+"";Sn.call(Gl,cr)||(Gl[cr]=[]),Gl[cr].push({name:Vt,func:Jt})}}),Gl[kd(pr,Tr).name]=[{name:"wrapper",func:pr}],R0.prototype.clone=qa,R0.prototype.reverse=j3,R0.prototype.value=J4,mr.prototype.at=iA,mr.prototype.chain=lg,mr.prototype.commit=cg,mr.prototype.next=ug,mr.prototype.plant=pg,mr.prototype.reverse=fg,mr.prototype.toJSON=mr.prototype.valueOf=mr.prototype.value=hg,mr.prototype.first=mr.prototype.head,wu&&(mr.prototype[wu]=dg),mr},_l=Z4();E1?((E1.exports=_l)._=_l,_3._=_l):ka._=_l}).call(commonjsGlobal)}(lodash_min,lodash_min.exports);var lodash_minExports=lodash_min.exports,_mapping={};(function(Be){Be.aliasToReal={each:"forEach",eachRight:"forEachRight",entries:"toPairs",entriesIn:"toPairsIn",extend:"assignIn",extendAll:"assignInAll",extendAllWith:"assignInAllWith",extendWith:"assignInWith",first:"head",conforms:"conformsTo",matches:"isMatch",property:"get",__:"placeholder",F:"stubFalse",T:"stubTrue",all:"every",allPass:"overEvery",always:"constant",any:"some",anyPass:"overSome",apply:"spread",assoc:"set",assocPath:"set",complement:"negate",compose:"flowRight",contains:"includes",dissoc:"unset",dissocPath:"unset",dropLast:"dropRight",dropLastWhile:"dropRightWhile",equals:"isEqual",identical:"eq",indexBy:"keyBy",init:"initial",invertObj:"invert",juxt:"over",omitAll:"omit",nAry:"ary",path:"get",pathEq:"matchesProperty",pathOr:"getOr",paths:"at",pickAll:"pick",pipe:"flow",pluck:"map",prop:"get",propEq:"matchesProperty",propOr:"getOr",props:"at",symmetricDifference:"xor",symmetricDifferenceBy:"xorBy",symmetricDifferenceWith:"xorWith",takeLast:"takeRight",takeLastWhile:"takeRightWhile",unapply:"rest",unnest:"flatten",useWith:"overArgs",where:"conformsTo",whereEq:"isMatch",zipObj:"zipObject"},Be.aryMethod={1:["assignAll","assignInAll","attempt","castArray","ceil","create","curry","curryRight","defaultsAll","defaultsDeepAll","floor","flow","flowRight","fromPairs","invert","iteratee","memoize","method","mergeAll","methodOf","mixin","nthArg","over","overEvery","overSome","rest","reverse","round","runInContext","spread","template","trim","trimEnd","trimStart","uniqueId","words","zipAll"],2:["add","after","ary","assign","assignAllWith","assignIn","assignInAllWith","at","before","bind","bindAll","bindKey","chunk","cloneDeepWith","cloneWith","concat","conformsTo","countBy","curryN","curryRightN","debounce","defaults","defaultsDeep","defaultTo","delay","difference","divide","drop","dropRight","dropRightWhile","dropWhile","endsWith","eq","every","filter","find","findIndex","findKey","findLast","findLastIndex","findLastKey","flatMap","flatMapDeep","flattenDepth","forEach","forEachRight","forIn","forInRight","forOwn","forOwnRight","get","groupBy","gt","gte","has","hasIn","includes","indexOf","intersection","invertBy","invoke","invokeMap","isEqual","isMatch","join","keyBy","lastIndexOf","lt","lte","map","mapKeys","mapValues","matchesProperty","maxBy","meanBy","merge","mergeAllWith","minBy","multiply","nth","omit","omitBy","overArgs","pad","padEnd","padStart","parseInt","partial","partialRight","partition","pick","pickBy","propertyOf","pull","pullAll","pullAt","random","range","rangeRight","rearg","reject","remove","repeat","restFrom","result","sampleSize","some","sortBy","sortedIndex","sortedIndexOf","sortedLastIndex","sortedLastIndexOf","sortedUniqBy","split","spreadFrom","startsWith","subtract","sumBy","take","takeRight","takeRightWhile","takeWhile","tap","throttle","thru","times","trimChars","trimCharsEnd","trimCharsStart","truncate","union","uniqBy","uniqWith","unset","unzipWith","without","wrap","xor","zip","zipObject","zipObjectDeep"],3:["assignInWith","assignWith","clamp","differenceBy","differenceWith","findFrom","findIndexFrom","findLastFrom","findLastIndexFrom","getOr","includesFrom","indexOfFrom","inRange","intersectionBy","intersectionWith","invokeArgs","invokeArgsMap","isEqualWith","isMatchWith","flatMapDepth","lastIndexOfFrom","mergeWith","orderBy","padChars","padCharsEnd","padCharsStart","pullAllBy","pullAllWith","rangeStep","rangeStepRight","reduce","reduceRight","replace","set","slice","sortedIndexBy","sortedLastIndexBy","transform","unionBy","unionWith","update","xorBy","xorWith","zipWith"],4:["fill","setWith","updateWith"]},Be.aryRearg={2:[1,0],3:[2,0,1],4:[3,2,0,1]},Be.iterateeAry={dropRightWhile:1,dropWhile:1,every:1,filter:1,find:1,findFrom:1,findIndex:1,findIndexFrom:1,findKey:1,findLast:1,findLastFrom:1,findLastIndex:1,findLastIndexFrom:1,findLastKey:1,flatMap:1,flatMapDeep:1,flatMapDepth:1,forEach:1,forEachRight:1,forIn:1,forInRight:1,forOwn:1,forOwnRight:1,map:1,mapKeys:1,mapValues:1,partition:1,reduce:2,reduceRight:2,reject:1,remove:1,some:1,takeRightWhile:1,takeWhile:1,times:1,transform:2},Be.iterateeRearg={mapKeys:[1],reduceRight:[1,0]},Be.methodRearg={assignInAllWith:[1,0],assignInWith:[1,2,0],assignAllWith:[1,0],assignWith:[1,2,0],differenceBy:[1,2,0],differenceWith:[1,2,0],getOr:[2,1,0],intersectionBy:[1,2,0],intersectionWith:[1,2,0],isEqualWith:[1,2,0],isMatchWith:[2,1,0],mergeAllWith:[1,0],mergeWith:[1,2,0],padChars:[2,1,0],padCharsEnd:[2,1,0],padCharsStart:[2,1,0],pullAllBy:[2,1,0],pullAllWith:[2,1,0],rangeStep:[1,2,0],rangeStepRight:[1,2,0],setWith:[3,1,2,0],sortedIndexBy:[2,1,0],sortedLastIndexBy:[2,1,0],unionBy:[1,2,0],unionWith:[1,2,0],updateWith:[3,1,2,0],xorBy:[1,2,0],xorWith:[1,2,0],zipWith:[1,2,0]},Be.methodSpread={assignAll:{start:0},assignAllWith:{start:0},assignInAll:{start:0},assignInAllWith:{start:0},defaultsAll:{start:0},defaultsDeepAll:{start:0},invokeArgs:{start:2},invokeArgsMap:{start:2},mergeAll:{start:0},mergeAllWith:{start:0},partial:{start:1},partialRight:{start:1},without:{start:1},zipAll:{start:0}},Be.mutate={array:{fill:!0,pull:!0,pullAll:!0,pullAllBy:!0,pullAllWith:!0,pullAt:!0,remove:!0,reverse:!0},object:{assign:!0,assignAll:!0,assignAllWith:!0,assignIn:!0,assignInAll:!0,assignInAllWith:!0,assignInWith:!0,assignWith:!0,defaults:!0,defaultsAll:!0,defaultsDeep:!0,defaultsDeepAll:!0,merge:!0,mergeAll:!0,mergeAllWith:!0,mergeWith:!0},set:{set:!0,setWith:!0,unset:!0,update:!0,updateWith:!0}},Be.realToAlias=function(){var Le=Object.prototype.hasOwnProperty,Ye=Be.aliasToReal,tt={};for(var nt in Ye){var ft=Ye[nt];Le.call(tt,ft)?tt[ft].push(nt):tt[ft]=[nt]}return tt}(),Be.remap={assignAll:"assign",assignAllWith:"assignWith",assignInAll:"assignIn",assignInAllWith:"assignInWith",curryN:"curry",curryRightN:"curryRight",defaultsAll:"defaults",defaultsDeepAll:"defaultsDeep",findFrom:"find",findIndexFrom:"findIndex",findLastFrom:"findLast",findLastIndexFrom:"findLastIndex",getOr:"get",includesFrom:"includes",indexOfFrom:"indexOf",invokeArgs:"invoke",invokeArgsMap:"invokeMap",lastIndexOfFrom:"lastIndexOf",mergeAll:"merge",mergeAllWith:"mergeWith",padChars:"pad",padCharsEnd:"padEnd",padCharsStart:"padStart",propertyOf:"get",rangeStep:"range",rangeStepRight:"rangeRight",restFrom:"rest",spreadFrom:"spread",trimChars:"trim",trimCharsEnd:"trimEnd",trimCharsStart:"trimStart",zipAll:"zip"},Be.skipFixed={castArray:!0,flow:!0,flowRight:!0,iteratee:!0,mixin:!0,rearg:!0,runInContext:!0},Be.skipRearg={add:!0,assign:!0,assignIn:!0,bind:!0,bindKey:!0,concat:!0,difference:!0,divide:!0,eq:!0,gt:!0,gte:!0,isEqual:!0,lt:!0,lte:!0,matchesProperty:!0,merge:!0,multiply:!0,overArgs:!0,partial:!0,partialRight:!0,propertyOf:!0,random:!0,range:!0,rangeRight:!0,subtract:!0,zip:!0,zipObject:!0,zipObjectDeep:!0}})(_mapping);var placeholder$1={},mapping=_mapping,fallbackHolder=placeholder$1,push$1=Array.prototype.push;function baseArity(Be,Le){return Le==2?function(Ye,tt){return Be.apply(void 0,arguments)}:function(Ye){return Be.apply(void 0,arguments)}}function baseAry(Be,Le){return Le==2?function(Ye,tt){return Be(Ye,tt)}:function(Ye){return Be(Ye)}}function cloneArray(Be){for(var Le=Be?Be.length:0,Ye=Array(Le);Le--;)Ye[Le]=Be[Le];return Ye}function createCloner(Be){return function(Le){return Be({},Le)}}function flatSpread(Be,Le){return function(){for(var Ye=arguments.length,tt=Ye-1,nt=Array(Ye);Ye--;)nt[Ye]=arguments[Ye];var ft=nt[Le],ht=nt.slice(0,Le);return ft&&push$1.apply(ht,ft),Le!=tt&&push$1.apply(ht,nt.slice(Le+1)),Be.apply(this,ht)}}function wrapImmutable(Be,Le){return function(){var Ye=arguments.length;if(Ye){for(var tt=Array(Ye);Ye--;)tt[Ye]=arguments[Ye];var nt=tt[0]=Le.apply(void 0,tt);return Be.apply(void 0,tt),nt}}}function baseConvert(Be,Le,Ye,tt){var nt=typeof Le=="function",ft=Le===Object(Le);if(ft&&(tt=Ye,Ye=Le,Le=void 0),Ye==null)throw new TypeError;tt||(tt={});var ht={cap:"cap"in tt?tt.cap:!0,curry:"curry"in tt?tt.curry:!0,fixed:"fixed"in tt?tt.fixed:!0,immutable:"immutable"in tt?tt.immutable:!0,rearg:"rearg"in tt?tt.rearg:!0},gt=nt?Ye:fallbackHolder,At="curry"in tt&&tt.curry,xt="fixed"in tt&&tt.fixed,yt="rearg"in tt&&tt.rearg,Ct=nt?Ye.runInContext():void 0,Et=nt?Ye:{ary:Be.ary,assign:Be.assign,clone:Be.clone,curry:Be.curry,forEach:Be.forEach,isArray:Be.isArray,isError:Be.isError,isFunction:Be.isFunction,isWeakMap:Be.isWeakMap,iteratee:Be.iteratee,keys:Be.keys,rearg:Be.rearg,toInteger:Be.toInteger,toPath:Be.toPath},vt=Et.ary,kt=Et.assign,bt=Et.clone,wt=Et.curry,It=Et.forEach,Rt=Et.isArray,Tt=Et.isError,Bt=Et.isFunction,Pt=Et.isWeakMap,Dt=Et.keys,Ot=Et.rearg,Lt=Et.toInteger,Wt=Et.toPath,$t=Dt(mapping.aryMethod),qt={castArray:function(dr){return function(){var rr=arguments[0];return Rt(rr)?dr(cloneArray(rr)):dr.apply(void 0,arguments)}},iteratee:function(dr){return function(){var rr=arguments[0],gr=arguments[1],yr=dr(rr,gr),or=yr.length;return ht.cap&&typeof gr=="number"?(gr=gr>2?gr-2:1,or&&or<=gr?yr:baseAry(yr,gr)):yr}},mixin:function(dr){return function(rr){var gr=this;if(!Bt(gr))return dr(gr,Object(rr));var yr=[];return It(Dt(rr),function(or){Bt(rr[or])&&yr.push([or,gr.prototype[or]])}),dr(gr,Object(rr)),It(yr,function(or){var ir=or[1];Bt(ir)?gr.prototype[or[0]]=ir:delete gr.prototype[or[0]]}),gr}},nthArg:function(dr){return function(rr){var gr=rr<0?1:Lt(rr)+1;return wt(dr(rr),gr)}},rearg:function(dr){return function(rr,gr){var yr=gr?gr.length:0;return wt(dr(rr,gr),yr)}},runInContext:function(dr){return function(rr){return baseConvert(Be,dr(rr),tt)}}};function Ht(dr,rr){if(ht.cap){var gr=mapping.iterateeRearg[dr];if(gr)return Gt(rr,gr);var yr=!nt&&mapping.iterateeAry[dr];if(yr)return zt(rr,yr)}return rr}function Ut(dr,rr,gr){return At||ht.curry&&gr>1?wt(rr,gr):rr}function Ft(dr,rr,gr){if(ht.fixed&&(xt||!mapping.skipFixed[dr])){var yr=mapping.methodSpread[dr],or=yr&&yr.start;return or===void 0?vt(rr,gr):flatSpread(rr,or)}return rr}function Xt(dr,rr,gr){return ht.rearg&&gr>1&&(yt||!mapping.skipRearg[dr])?Ot(rr,mapping.methodRearg[dr]||mapping.aryRearg[gr]):rr}function _t(dr,rr){rr=Wt(rr);for(var gr=-1,yr=rr.length,or=yr-1,ir=bt(Object(dr)),Zt=ir;Zt!=null&&++gr<yr;){var Qt=rr[gr],er=Zt[Qt];er!=null&&!(Bt(er)||Tt(er)||Pt(er))&&(Zt[Qt]=bt(gr==or?er:Object(er))),Zt=Zt[Qt]}return ir}function Mt(dr){return tr.runInContext.convert(dr)(void 0)}function jt(dr,rr){var gr=mapping.aliasToReal[dr]||dr,yr=mapping.remap[gr]||gr,or=tt;return function(ir){var Zt=nt?Ct:Et,Qt=nt?Ct[yr]:rr,er=kt(kt({},or),ir);return baseConvert(Zt,gr,Qt,er)}}function zt(dr,rr){return Yt(dr,function(gr){return typeof gr=="function"?baseAry(gr,rr):gr})}function Gt(dr,rr){return Yt(dr,function(gr){var yr=rr.length;return baseArity(Ot(baseAry(gr,yr),rr),yr)})}function Yt(dr,rr){return function(){var gr=arguments.length;if(!gr)return dr();for(var yr=Array(gr);gr--;)yr[gr]=arguments[gr];var or=ht.rearg?0:gr-1;return yr[or]=rr(yr[or]),dr.apply(void 0,yr)}}function ar(dr,rr,gr){var yr,or=mapping.aliasToReal[dr]||dr,ir=rr,Zt=qt[or];return Zt?ir=Zt(rr):ht.immutable&&(mapping.mutate.array[or]?ir=wrapImmutable(rr,cloneArray):mapping.mutate.object[or]?ir=wrapImmutable(rr,createCloner(rr)):mapping.mutate.set[or]&&(ir=wrapImmutable(rr,_t))),It($t,function(Qt){return It(mapping.aryMethod[Qt],function(er){if(or==er){var nr=mapping.methodSpread[or],lr=nr&&nr.afterRearg;return yr=lr?Ft(or,Xt(or,ir,Qt),Qt):Xt(or,Ft(or,ir,Qt),Qt),yr=Ht(or,yr),yr=Ut(or,yr,Qt),!1}}),!yr}),yr||(yr=ir),yr==rr&&(yr=At?wt(yr,1):function(){return rr.apply(this,arguments)}),yr.convert=jt(or,rr),yr.placeholder=rr.placeholder=gr,yr}if(!ft)return ar(Le,Ye,gt);var tr=Ye,sr=[];return It($t,function(dr){It(mapping.aryMethod[dr],function(rr){var gr=tr[mapping.remap[rr]||rr];gr&&sr.push([rr,ar(rr,gr,tr)])})}),It(Dt(tr),function(dr){var rr=tr[dr];if(typeof rr=="function"){for(var gr=sr.length;gr--;)if(sr[gr][0]==dr)return;rr.convert=jt(dr,rr),sr.push([dr,rr])}}),It(sr,function(dr){tr[dr[0]]=dr[1]}),tr.convert=Mt,tr.placeholder=tr,It(Dt(tr),function(dr){It(mapping.realToAlias[dr]||[],function(rr){tr[rr]=tr[dr]})}),tr}var _baseConvert=baseConvert,_=lodash_minExports.runInContext(),fp=_baseConvert(_,_),rngBrowser={exports:{}},getRandomValues$1=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto<"u"&&typeof window.msCrypto.getRandomValues=="function"&&msCrypto.getRandomValues.bind(msCrypto);if(getRandomValues$1){var rnds8$1=new Uint8Array(16);rngBrowser.exports=function(){return getRandomValues$1(rnds8$1),rnds8$1}}else{var rnds=new Array(16);rngBrowser.exports=function(){for(var Le=0,Ye;Le<16;Le++)Le&3||(Ye=Math.random()*4294967296),rnds[Le]=Ye>>>((Le&3)<<3)&255;return rnds}}for(var rngBrowserExports=rngBrowser.exports,byteToHex$1=[],i$2=0;i$2<256;++i$2)byteToHex$1[i$2]=(i$2+256).toString(16).substr(1);function bytesToUuid$2(Be,Le){var Ye=Le||0,tt=byteToHex$1;return[tt[Be[Ye++]],tt[Be[Ye++]],tt[Be[Ye++]],tt[Be[Ye++]],"-",tt[Be[Ye++]],tt[Be[Ye++]],"-",tt[Be[Ye++]],tt[Be[Ye++]],"-",tt[Be[Ye++]],tt[Be[Ye++]],"-",tt[Be[Ye++]],tt[Be[Ye++]],tt[Be[Ye++]],tt[Be[Ye++]],tt[Be[Ye++]],tt[Be[Ye++]]].join("")}var bytesToUuid_1=bytesToUuid$2,rng$3=rngBrowserExports,bytesToUuid$1=bytesToUuid_1,_nodeId$1,_clockseq$1,_lastMSecs$1=0,_lastNSecs$1=0;function v1$3(Be,Le,Ye){var tt=Le&&Ye||0,nt=Le||[];Be=Be||{};var ft=Be.node||_nodeId$1,ht=Be.clockseq!==void 0?Be.clockseq:_clockseq$1;if(ft==null||ht==null){var gt=rng$3();ft==null&&(ft=_nodeId$1=[gt[0]|1,gt[1],gt[2],gt[3],gt[4],gt[5]]),ht==null&&(ht=_clockseq$1=(gt[6]<<8|gt[7])&16383)}var At=Be.msecs!==void 0?Be.msecs:new Date().getTime(),xt=Be.nsecs!==void 0?Be.nsecs:_lastNSecs$1+1,yt=At-_lastMSecs$1+(xt-_lastNSecs$1)/1e4;if(yt<0&&Be.clockseq===void 0&&(ht=ht+1&16383),(yt<0||At>_lastMSecs$1)&&Be.nsecs===void 0&&(xt=0),xt>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");_lastMSecs$1=At,_lastNSecs$1=xt,_clockseq$1=ht,At+=122192928e5;var Ct=((At&268435455)*1e4+xt)%4294967296;nt[tt++]=Ct>>>24&255,nt[tt++]=Ct>>>16&255,nt[tt++]=Ct>>>8&255,nt[tt++]=Ct&255;var Et=At/4294967296*1e4&268435455;nt[tt++]=Et>>>8&255,nt[tt++]=Et&255,nt[tt++]=Et>>>24&15|16,nt[tt++]=Et>>>16&255,nt[tt++]=ht>>>8|128,nt[tt++]=ht&255;for(var vt=0;vt<6;++vt)nt[tt+vt]=ft[vt];return Le||bytesToUuid$1(nt)}var v1_1=v1$3,rng$2=rngBrowserExports,bytesToUuid=bytesToUuid_1;function v4$3(Be,Le,Ye){var tt=Le&&Ye||0;typeof Be=="string"&&(Le=Be==="binary"?new Array(16):null,Be=null),Be=Be||{};var nt=Be.random||(Be.rng||rng$2)();if(nt[6]=nt[6]&15|64,nt[8]=nt[8]&63|128,Le)for(var ft=0;ft<16;++ft)Le[tt+ft]=nt[ft];return Le||bytesToUuid(nt)}var v4_1=v4$3,v1$2=v1_1,v4$2=v4_1,uuid=v4$2;uuid.v1=v1$2,uuid.v4=v4$2;var uuid_1$2=uuid;const uuid$1=getDefaultExportFromCjs(uuid_1$2);let OTPublisher$5=class extends React.Component{constructor(Ye,tt){super(Ye);P0(this,"sessionConnectedHandler",()=>{this.publishToSession(this.state.publisher)});P0(this,"streamCreatedHandler",Ye=>{this.setState({lastStreamId:Ye.stream.id})});this.state={publisher:null,lastStreamId:"",session:Ye.session||tt.session||null}}componentDidMount(){this.createPublisher()}componentDidUpdate(Ye,tt){const nt=(gt,At)=>gt===void 0?At:gt,ft=(gt,At)=>{const xt=nt(Ye.properties[gt],At),yt=nt(this.props.properties[gt],At);return xt!==yt},ht=(gt,At)=>{if(ft(gt,At)){const xt=nt(this.props.properties[gt],At);this.state.publisher[gt](xt)}};if(ft("videoSource",void 0)){this.destroyPublisher(),this.createPublisher();return}ht("publishAudio",!0),ht("publishVideo",!0),this.state.session!==tt.session&&(this.destroyPublisher(tt.session),this.createPublisher())}componentWillUnmount(){this.state.session&&this.state.session.off("sessionConnected",this.sessionConnectedHandler),this.destroyPublisher()}getPublisher(){return this.state.publisher}destroyPublisher(Ye=this.state.session){delete this.publisherId,this.state.publisher&&(this.state.publisher.off("streamCreated",this.streamCreatedHandler),this.props.eventHandlers&&typeof this.props.eventHandlers=="object"&&this.state.publisher.once("destroyed",()=>{this.state.publisher.off(this.props.eventHandlers)}),Ye&&Ye.unpublish(this.state.publisher),this.state.publisher.destroy())}publishToSession(Ye){const{publisherId:tt}=this;this.state.session.publish(Ye,nt=>{tt===this.publisherId&&(nt?this.errorHandler(nt):typeof this.props.onPublish=="function"&&this.props.onPublish())})}createPublisher(){if(!this.state.session){this.setState({publisher:null,lastStreamId:""});return}const Ye=this.props.properties||{};let tt;Ye.insertDefaultUI!==!1&&(tt=document.createElement("div"),tt.setAttribute("class","OTPublisherContainer"),this.node.appendChild(tt)),this.publisherId=uuid$1();const{publisherId:nt}=this;this.errorHandler=once$2(ht=>{nt===this.publisherId&&typeof this.props.onError=="function"&&this.props.onError(ht)});const ft=OT.initPublisher(tt,Ye,ht=>{nt===this.publisherId&&(ht?this.errorHandler(ht):typeof this.props.onInit=="function"&&this.props.onInit())});if(ft.on("streamCreated",this.streamCreatedHandler),ft.setStyle({buttonDisplayMode:"off"}),this.props.eventHandlers&&typeof this.props.eventHandlers=="object"){const ht=fp.omitBy(fp.isNil)(this.props.eventHandlers);ft.on(ht)}this.state.session.connection?this.publishToSession(ft):this.state.session.once("sessionConnected",this.sessionConnectedHandler),this.setState({publisher:ft,lastStreamId:""})}render(){const{className:Ye,style:tt}=this.props;return jsxRuntimeExports.jsx("div",{className:Ye,style:tt,ref:nt=>{this.node=nt}})}};OTPublisher$5.propTypes={session:PropTypes.shape({connection:PropTypes.shape({connectionId:PropTypes.string}),once:PropTypes.func,off:PropTypes.func,publish:PropTypes.func,unpublish:PropTypes.func}),className:PropTypes.string,style:PropTypes.object,properties:PropTypes.object,eventHandlers:PropTypes.objectOf(PropTypes.func),onInit:PropTypes.func,onPublish:PropTypes.func,onError:PropTypes.func},OTPublisher$5.defaultProps={session:null,className:"",style:{},properties:{},eventHandlers:null,onInit:null,onPublish:null,onError:null},OTPublisher$5.contextTypes={session:PropTypes.shape({connection:PropTypes.shape({connectionId:PropTypes.string}),once:PropTypes.func,off:PropTypes.func,publish:PropTypes.func,unpublish:PropTypes.func})};let OTSubscriberContext$4=class extends React.Component{getChildContext(){return{stream:this.props.stream}}render(){return jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment,{children:this.props.children})}};OTSubscriberContext$4.propTypes={children:PropTypes.element.isRequired,stream:PropTypes.shape({streamId:PropTypes.string}).isRequired},OTSubscriberContext$4.childContextTypes={stream:PropTypes.shape({streamId:PropTypes.string})};function OTStreams$4(Be,Le){const Ye=Be.session||Le.session||null,tt=Be.streams||Le.streams||null;if(!Ye)return jsxRuntimeExports.jsx("div",{});const nt=React.Children.only(Be.children);return Array.isArray(tt)?tt.map(ht=>nt&&jsxRuntimeExports.jsx(OTSubscriberContext$4,{stream:ht,children:React.cloneElement(nt)},ht.id)):null}OTStreams$4.propTypes={children:PropTypes.element.isRequired,session:PropTypes.shape({publish:PropTypes.func,subscribe:PropTypes.func}),streams:PropTypes.arrayOf(PropTypes.object)},OTStreams$4.defaultProps={session:null,streams:null},OTStreams$4.contextTypes={session:PropTypes.shape({publish:PropTypes.func,subscribe:PropTypes.func}),streams:PropTypes.arrayOf(PropTypes.object)};let OTSubscriber$4=class extends React.Component{constructor(Le,Ye){super(Le),this.state={subscriber:null,stream:Le.stream||Ye.stream||null,session:Le.session||Ye.session||null,currentRetryAttempt:0},this.maxRetryAttempts=Le.maxRetryAttempts||5,this.retryAttemptTimeout=Le.retryAttemptTimeout||1e3}componentDidMount(){this.createSubscriber()}componentDidUpdate(Le,Ye){const tt=(ft,ht,gt)=>ft===void 0?gt:ht(ft),nt=ft=>{const ht=tt(Le.properties[ft],Boolean,!0),gt=tt(this.props.properties[ft],Boolean,!0);ht!==gt&&this.state.subscriber[ft](gt)};nt("subscribeToAudio"),nt("subscribeToVideo"),(Ye.session!==this.state.session||Ye.stream!==this.state.stream)&&(this.destroySubscriber(Ye.session),this.createSubscriber())}componentWillUnmount(){this.destroySubscriber()}getSubscriber(){return this.state.subscriber}createSubscriber(){if(!this.state.session||!this.state.stream){this.setState({subscriber:null});return}const Le=this.props.properties||{};let Ye;Le.insertDefaultUI!==!1&&(Ye=document.createElement("div"),Ye.setAttribute("class","OTSubscriberContainer"),this.node.appendChild(Ye)),this.subscriberId=uuid$1();const{subscriberId:tt}=this,nt=this.state.session.subscribe(this.state.stream,Ye,this.props.properties,ft=>{tt===this.subscriberId&&(ft&&this.props.retry&&this.state.currentRetryAttempt<this.maxRetryAttempts-1&&this.handleRetrySubscriber(),ft&&typeof this.props.onError=="function"?this.props.onError(ft):!ft&&typeof this.props.onSubscribe=="function"&&this.props.onSubscribe())});this.props.eventHandlers&&typeof this.props.eventHandlers=="object"&&nt.on(this.props.eventHandlers),this.setState({subscriber:nt})}handleRetrySubscriber(){setTimeout(()=>{this.setState(Le=>({currentRetryAttempt:Le.currentRetryAttempt+1,subscriber:null})),this.createSubscriber()},this.retryAttemptTimeout)}destroySubscriber(Le=this.props.session){delete this.subscriberId,this.state.subscriber&&(this.props.eventHandlers&&typeof this.props.eventHandlers=="object"&&this.state.subscriber.once("destroyed",()=>{this.state.subscriber.off(this.props.eventHandlers)}),Le&&Le.unsubscribe(this.state.subscriber))}render(){const{className:Le,style:Ye}=this.props;return jsxRuntimeExports.jsx("div",{className:Le,style:Ye,ref:tt=>{this.node=tt}})}};OTSubscriber$4.propTypes={stream:PropTypes.shape({streamId:PropTypes.string}),session:PropTypes.shape({subscribe:PropTypes.func,unsubscribe:PropTypes.func}),className:PropTypes.string,style:PropTypes.object,properties:PropTypes.object,retry:PropTypes.bool,maxRetryAttempts:PropTypes.number,retryAttemptTimeout:PropTypes.number,eventHandlers:PropTypes.objectOf(PropTypes.func),onSubscribe:PropTypes.func,onError:PropTypes.func},OTSubscriber$4.defaultProps={stream:null,session:null,className:"",style:{},properties:{},retry:!1,maxRetryAttempts:5,retryAttemptTimeout:1e3,eventHandlers:null,onSubscribe:null,onError:null},OTSubscriber$4.contextTypes={stream:PropTypes.shape({streamId:PropTypes.string}),session:PropTypes.shape({subscribe:PropTypes.func,unsubscribe:PropTypes.func})};var getDisplayName$1={};Object.defineProperty(getDisplayName$1,"__esModule",{value:!0});var _default$e=getDisplayName$1.default=getDisplayName;function getDisplayName(Be){return Be.displayName||Be.name||(typeof Be=="string"&&Be.length>0?Be:"Unknown")}var script={exports:{}};/*!
2798
2798
  * $script.js JS loader & dependency manager
2799
2799
  * https://github.com/ded/script.js
2800
2800
  * (c) Dustin Diaz 2014 | License MIT
@@ -2809,7 +2809,7 @@ function print() { __p += __j.call(arguments, '') }
2809
2809
  * Oliver Caldwell - https://oli.me.uk/
2810
2810
  * @preserve
2811
2811
  */(function(Be){(function(Le){function Ye(){}var tt=Ye.prototype,nt=Le.EventEmitter;function ft(At,xt){for(var yt=At.length;yt--;)if(At[yt].listener===xt)return yt;return-1}function ht(At){return function(){return this[At].apply(this,arguments)}}tt.getListeners=function(xt){var yt=this._getEvents(),Ct,Et;if(xt instanceof RegExp){Ct={};for(Et in yt)yt.hasOwnProperty(Et)&&xt.test(Et)&&(Ct[Et]=yt[Et])}else Ct=yt[xt]||(yt[xt]=[]);return Ct},tt.flattenListeners=function(xt){var yt=[],Ct;for(Ct=0;Ct<xt.length;Ct+=1)yt.push(xt[Ct].listener);return yt},tt.getListenersAsObject=function(xt){var yt=this.getListeners(xt),Ct;return yt instanceof Array&&(Ct={},Ct[xt]=yt),Ct||yt};function gt(At){return typeof At=="function"||At instanceof RegExp?!0:At&&typeof At=="object"?gt(At.listener):!1}tt.addListener=function(xt,yt){if(!gt(yt))throw new TypeError("listener must be a function");var Ct=this.getListenersAsObject(xt),Et=typeof yt=="object",vt;for(vt in Ct)Ct.hasOwnProperty(vt)&&ft(Ct[vt],yt)===-1&&Ct[vt].push(Et?yt:{listener:yt,once:!1});return this},tt.on=ht("addListener"),tt.addOnceListener=function(xt,yt){return this.addListener(xt,{listener:yt,once:!0})},tt.once=ht("addOnceListener"),tt.defineEvent=function(xt){return this.getListeners(xt),this},tt.defineEvents=function(xt){for(var yt=0;yt<xt.length;yt+=1)this.defineEvent(xt[yt]);return this},tt.removeListener=function(xt,yt){var Ct=this.getListenersAsObject(xt),Et,vt;for(vt in Ct)Ct.hasOwnProperty(vt)&&(Et=ft(Ct[vt],yt),Et!==-1&&Ct[vt].splice(Et,1));return this},tt.off=ht("removeListener"),tt.addListeners=function(xt,yt){return this.manipulateListeners(!1,xt,yt)},tt.removeListeners=function(xt,yt){return this.manipulateListeners(!0,xt,yt)},tt.manipulateListeners=function(xt,yt,Ct){var Et,vt,kt=xt?this.removeListener:this.addListener,bt=xt?this.removeListeners:this.addListeners;if(typeof yt=="object"&&!(yt instanceof RegExp))for(Et in yt)yt.hasOwnProperty(Et)&&(vt=yt[Et])&&(typeof vt=="function"?kt.call(this,Et,vt):bt.call(this,Et,vt));else for(Et=Ct.length;Et--;)kt.call(this,yt,Ct[Et]);return this},tt.removeEvent=function(xt){var yt=typeof xt,Ct=this._getEvents(),Et;if(yt==="string")delete Ct[xt];else if(xt instanceof RegExp)for(Et in Ct)Ct.hasOwnProperty(Et)&&xt.test(Et)&&delete Ct[Et];else delete this._events;return this},tt.removeAllListeners=ht("removeEvent"),tt.emitEvent=function(xt,yt){var Ct=this.getListenersAsObject(xt),Et,vt,kt,bt,wt;for(bt in Ct)if(Ct.hasOwnProperty(bt))for(Et=Ct[bt].slice(0),kt=0;kt<Et.length;kt++)vt=Et[kt],vt.once===!0&&this.removeListener(xt,vt.listener),wt=vt.listener.apply(this,yt||[]),wt===this._getOnceReturnValue()&&this.removeListener(xt,vt.listener);return this},tt.trigger=ht("emitEvent"),tt.emit=function(xt){var yt=Array.prototype.slice.call(arguments,1);return this.emitEvent(xt,yt)},tt.setOnceReturnValue=function(xt){return this._onceReturnValue=xt,this},tt._getOnceReturnValue=function(){return this.hasOwnProperty("_onceReturnValue")?this._onceReturnValue:!0},tt._getEvents=function(){return this._events||(this._events={})},Ye.noConflict=function(){return Le.EventEmitter=nt,Ye},Be.exports?Be.exports=Ye:Le.EventEmitter=Ye})(typeof window<"u"?window:commonjsGlobal||{})})(EventEmitter$4);var EventEmitterExports=EventEmitter$4.exports;Object.defineProperty(EventDispatcher$1,"__esModule",{value:!0}),EventDispatcher$1.EventDispatcher=void 0;var OpenViduLogger_1$8=OpenViduLogger$1,EventEmitter$3=EventEmitterExports,logger$8=OpenViduLogger_1$8.OpenViduLogger.getInstance(),EventDispatcher=function(){function Be(){this.userHandlerArrowHandler=new WeakMap,this.ee=new EventEmitter$3}return Be.prototype.onAux=function(Le,Ye,tt){var nt=function(ft){ft?logger$8.debug(Ye,ft):logger$8.debug(Ye),tt(ft)};return this.userHandlerArrowHandler.set(tt,nt),this.ee.on(Le,nt),this},Be.prototype.onceAux=function(Le,Ye,tt){var nt=this,ft=function(ht){ht?logger$8.debug(Ye,ht):logger$8.debug(Ye),tt(ht),nt.userHandlerArrowHandler.delete(tt)};return this.userHandlerArrowHandler.set(tt,ft),this.ee.once(Le,ft),this},Be.prototype.offAux=function(Le,Ye){if(!Ye)this.ee.removeAllListeners(Le);else{var tt=this.userHandlerArrowHandler.get(Ye);tt&&this.ee.off(Le,tt),this.userHandlerArrowHandler.delete(Ye)}return this},Be}();EventDispatcher$1.EventDispatcher=EventDispatcher;var StreamManagerEvent$1={},__extends$1o=commonjsGlobal&&commonjsGlobal.__extends||function(){var Be=function(Le,Ye){return Be=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(tt,nt){tt.__proto__=nt}||function(tt,nt){for(var ft in nt)Object.prototype.hasOwnProperty.call(nt,ft)&&(tt[ft]=nt[ft])},Be(Le,Ye)};return function(Le,Ye){if(typeof Ye!="function"&&Ye!==null)throw new TypeError("Class extends value "+String(Ye)+" is not a constructor or null");Be(Le,Ye);function tt(){this.constructor=Le}Le.prototype=Ye===null?Object.create(Ye):(tt.prototype=Ye.prototype,new tt)}}();Object.defineProperty(StreamManagerEvent$1,"__esModule",{value:!0}),StreamManagerEvent$1.StreamManagerEvent=void 0;var Event_1$a=Event$2,StreamManagerEvent=function(Be){__extends$1o(Le,Be);function Le(Ye,tt,nt){var ft=Be.call(this,!1,Ye,tt)||this;return ft.value=nt,ft}return Le.prototype.callDefaultBehavior=function(){},Le}(Event_1$a.Event);StreamManagerEvent$1.StreamManagerEvent=StreamManagerEvent;var VideoElementEvent$1={},__extends$1n=commonjsGlobal&&commonjsGlobal.__extends||function(){var Be=function(Le,Ye){return Be=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(tt,nt){tt.__proto__=nt}||function(tt,nt){for(var ft in nt)Object.prototype.hasOwnProperty.call(nt,ft)&&(tt[ft]=nt[ft])},Be(Le,Ye)};return function(Le,Ye){if(typeof Ye!="function"&&Ye!==null)throw new TypeError("Class extends value "+String(Ye)+" is not a constructor or null");Be(Le,Ye);function tt(){this.constructor=Le}Le.prototype=Ye===null?Object.create(Ye):(tt.prototype=Ye.prototype,new tt)}}();Object.defineProperty(VideoElementEvent$1,"__esModule",{value:!0}),VideoElementEvent$1.VideoElementEvent=void 0;var Event_1$9=Event$2,VideoElementEvent=function(Be){__extends$1n(Le,Be);function Le(Ye,tt,nt){var ft=Be.call(this,!1,tt,nt)||this;return ft.element=Ye,ft}return Le.prototype.callDefaultBehavior=function(){},Le}(Event_1$9.Event);VideoElementEvent$1.VideoElementEvent=VideoElementEvent;var ExceptionEvent={};(function(Be){var Le=commonjsGlobal&&commonjsGlobal.__extends||function(){var nt=function(ft,ht){return nt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(gt,At){gt.__proto__=At}||function(gt,At){for(var xt in At)Object.prototype.hasOwnProperty.call(At,xt)&&(gt[xt]=At[xt])},nt(ft,ht)};return function(ft,ht){if(typeof ht!="function"&&ht!==null)throw new TypeError("Class extends value "+String(ht)+" is not a constructor or null");nt(ft,ht);function gt(){this.constructor=ft}ft.prototype=ht===null?Object.create(ht):(gt.prototype=ht.prototype,new gt)}}();Object.defineProperty(Be,"__esModule",{value:!0}),Be.ExceptionEvent=Be.ExceptionEventName=void 0;var Ye=Event$2;(function(nt){nt.ICE_CANDIDATE_ERROR="ICE_CANDIDATE_ERROR",nt.ICE_CONNECTION_FAILED="ICE_CONNECTION_FAILED",nt.ICE_CONNECTION_DISCONNECTED="ICE_CONNECTION_DISCONNECTED",nt.NO_STREAM_PLAYING_EVENT="NO_STREAM_PLAYING_EVENT",nt.SPEECH_TO_TEXT_DISCONNECTED="SPEECH_TO_TEXT_DISCONNECTED"})(Be.ExceptionEventName||(Be.ExceptionEventName={}));var tt=function(nt){Le(ft,nt);function ft(ht,gt,At,xt,yt){var Ct=nt.call(this,!1,ht,"exception")||this;return Ct.name=gt,Ct.origin=At,Ct.message=xt,Ct.data=yt,Ct}return ft.prototype.callDefaultBehavior=function(){},ft}(Ye.Event);Be.ExceptionEvent=tt})(ExceptionEvent);var VideoInsertMode={};(function(Be){Object.defineProperty(Be,"__esModule",{value:!0}),Be.VideoInsertMode=void 0,function(Le){Le.AFTER="AFTER",Le.APPEND="APPEND",Le.BEFORE="BEFORE",Le.PREPEND="PREPEND",Le.REPLACE="REPLACE"}(Be.VideoInsertMode||(Be.VideoInsertMode={}))})(VideoInsertMode);var __extends$1m=commonjsGlobal&&commonjsGlobal.__extends||function(){var Be=function(Le,Ye){return Be=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(tt,nt){tt.__proto__=nt}||function(tt,nt){for(var ft in nt)Object.prototype.hasOwnProperty.call(nt,ft)&&(tt[ft]=nt[ft])},Be(Le,Ye)};return function(Le,Ye){if(typeof Ye!="function"&&Ye!==null)throw new TypeError("Class extends value "+String(Ye)+" is not a constructor or null");Be(Le,Ye);function tt(){this.constructor=Le}Le.prototype=Ye===null?Object.create(Ye):(tt.prototype=Ye.prototype,new tt)}}();Object.defineProperty(StreamManager$1,"__esModule",{value:!0}),StreamManager$1.StreamManager=void 0;var EventDispatcher_1=EventDispatcher$1,StreamManagerEvent_1$1=StreamManagerEvent$1,VideoElementEvent_1=VideoElementEvent$1,ExceptionEvent_1$3=ExceptionEvent,VideoInsertMode_1$1=VideoInsertMode,OpenViduLogger_1$7=OpenViduLogger$1,Platform_1$4=Platform,logger$7=OpenViduLogger_1$7.OpenViduLogger.getInstance(),platform$5,StreamManager=function(Be){__extends$1m(Le,Be);function Le(Ye,tt){var nt=Be.call(this)||this;if(nt.videos=[],nt.lazyLaunchVideoElementCreatedEvent=!1,platform$5=Platform_1$4.PlatformUtils.getInstance(),nt.stream=Ye,nt.stream.streamManager=nt,nt.remote=!nt.stream.isLocal(),tt){var ft=void 0;typeof tt=="string"?ft=document.getElementById(tt):tt instanceof HTMLElement&&(ft=tt),ft&&(nt.firstVideoElement={targetElement:ft,video:document.createElement("video"),id:"",canplayListenerAdded:!1},(platform$5.isSafariBrowser()||platform$5.isIPhoneOrIPad()&&(platform$5.isChromeMobileBrowser()||platform$5.isEdgeMobileBrowser()||platform$5.isOperaMobileBrowser()||platform$5.isFirefoxMobileBrowser()))&&(nt.firstVideoElement.video.playsInline=!0),nt.targetElement=ft,nt.element=ft)}return nt.canPlayListener=function(){nt.deactivateStreamPlayingEventExceptionTimeout(),nt.ee.emitEvent("streamPlaying",[new StreamManagerEvent_1$1.StreamManagerEvent(nt,"streamPlaying",void 0)])},nt}return Le.prototype.on=function(Ye,tt){return Be.prototype.onAux.call(this,Ye,"Event '"+Ye+"' triggered by '"+(this.remote?"Subscriber":"Publisher")+"'",tt),Ye==="videoElementCreated"&&this.stream&&this.lazyLaunchVideoElementCreatedEvent&&(this.ee.emitEvent("videoElementCreated",[new VideoElementEvent_1.VideoElementEvent(this.videos[0].video,this,"videoElementCreated")]),this.lazyLaunchVideoElementCreatedEvent=!1),Ye==="streamPlaying"&&this.videos[0]&&this.videos[0].video&&this.videos[0].video.currentTime>0&&this.videos[0].video.paused===!1&&this.videos[0].video.ended===!1&&this.videos[0].video.readyState===4&&this.ee.emitEvent("streamPlaying",[new StreamManagerEvent_1$1.StreamManagerEvent(this,"streamPlaying",void 0)]),this.stream.hasAudio&&(Ye==="publisherStartSpeaking"&&this.stream.enableHarkSpeakingEvent(),Ye==="publisherStopSpeaking"&&this.stream.enableHarkStoppedSpeakingEvent(),Ye==="streamAudioVolumeChange"&&this.stream.enableHarkVolumeChangeEvent(!1)),this},Le.prototype.once=function(Ye,tt){return Be.prototype.onceAux.call(this,Ye,"Event '"+Ye+"' triggered once by '"+(this.remote?"Subscriber":"Publisher")+"'",tt),Ye==="videoElementCreated"&&this.stream&&this.lazyLaunchVideoElementCreatedEvent&&this.ee.emitEvent("videoElementCreated",[new VideoElementEvent_1.VideoElementEvent(this.videos[0].video,this,"videoElementCreated")]),Ye==="streamPlaying"&&this.videos[0]&&this.videos[0].video&&this.videos[0].video.currentTime>0&&this.videos[0].video.paused===!1&&this.videos[0].video.ended===!1&&this.videos[0].video.readyState===4&&this.ee.emitEvent("streamPlaying",[new StreamManagerEvent_1$1.StreamManagerEvent(this,"streamPlaying",void 0)]),this.stream.hasAudio&&(Ye==="publisherStartSpeaking"&&this.stream.enableOnceHarkSpeakingEvent(),Ye==="publisherStopSpeaking"&&this.stream.enableOnceHarkStoppedSpeakingEvent(),Ye==="streamAudioVolumeChange"&&this.stream.enableOnceHarkVolumeChangeEvent(!1)),this},Le.prototype.off=function(Ye,tt){if(Be.prototype.offAux.call(this,Ye,tt),Ye==="publisherStartSpeaking"){var nt=this.ee.getListeners(Ye).length+this.stream.session.ee.getListeners(Ye).length;nt===0&&this.stream.disableHarkSpeakingEvent(!1)}if(Ye==="publisherStopSpeaking"){var ft=this.ee.getListeners(Ye).length+this.stream.session.ee.getListeners(Ye).length;ft===0&&this.stream.disableHarkStoppedSpeakingEvent(!1)}if(Ye==="streamAudioVolumeChange"){var ht=this.ee.getListeners(Ye).length;ht===0&&this.stream.disableHarkVolumeChangeEvent(!1)}return this},Le.prototype.addVideoElement=function(Ye){this.initializeVideoProperties(Ye),!this.remote&&this.stream.displayMyRemote()&&Ye.srcObject!==this.stream.getMediaStream()&&(Ye.srcObject=this.stream.getMediaStream());for(var tt=0,nt=this.videos;tt<nt.length;tt++){var ft=nt[tt];if(ft.video===Ye)return 0}for(var ht=1,gt=0,At=this.stream.session.streamManagers;gt<At.length;gt++){var xt=At[gt];if(xt.disassociateVideo(Ye)){ht=-1;break}}return this.stream.session.streamManagers.forEach(function(yt){yt.disassociateVideo(Ye)}),this.pushNewStreamManagerVideo({video:Ye,id:Ye.id,canplayListenerAdded:!1}),logger$7.info("New video element associated to ",this),ht},Le.prototype.createVideoElement=function(Ye,tt){var nt;if(typeof Ye=="string"){if(nt=document.getElementById(Ye),!nt)throw new Error("The provided 'targetElement' couldn't be resolved to any HTML element: "+Ye)}else if(Ye instanceof HTMLElement)nt=Ye;else throw new Error("The provided 'targetElement' couldn't be resolved to any HTML element: "+Ye);var ft=this.createVideo();this.initializeVideoProperties(ft);var ht=tt||VideoInsertMode_1$1.VideoInsertMode.APPEND;switch(ht){case VideoInsertMode_1$1.VideoInsertMode.AFTER:nt.parentNode.insertBefore(ft,nt.nextSibling);break;case VideoInsertMode_1$1.VideoInsertMode.APPEND:nt.appendChild(ft);break;case VideoInsertMode_1$1.VideoInsertMode.BEFORE:nt.parentNode.insertBefore(ft,nt);break;case VideoInsertMode_1$1.VideoInsertMode.PREPEND:nt.insertBefore(ft,nt.childNodes[0]);break;case VideoInsertMode_1$1.VideoInsertMode.REPLACE:nt.parentNode.replaceChild(ft,nt);break;default:ht=VideoInsertMode_1$1.VideoInsertMode.APPEND,nt.appendChild(ft);break}var gt={targetElement:nt,video:ft,insertMode:ht,id:ft.id,canplayListenerAdded:!1};return this.pushNewStreamManagerVideo(gt),this.ee.emitEvent("videoElementCreated",[new VideoElementEvent_1.VideoElementEvent(gt.video,this,"videoElementCreated")]),this.lazyLaunchVideoElementCreatedEvent=!!this.firstVideoElement,ft},Le.prototype.updatePublisherSpeakingEventsOptions=function(Ye){var tt=this.stream.harkOptions?this.stream.harkOptions:this.stream.session.openvidu.advancedConfiguration.publisherSpeakingEventsOptions||{},nt=typeof Ye.interval=="number"?Ye.interval:typeof tt.interval=="number"?tt.interval:100,ft=typeof Ye.threshold=="number"?Ye.threshold:typeof tt.threshold=="number"?tt.threshold:-50;this.stream.harkOptions={interval:nt,threshold:ft},this.stream.speechEvent&&(this.stream.speechEvent.setInterval(nt),this.stream.speechEvent.setThreshold(ft))},Le.prototype.initializeVideoProperties=function(Ye){!this.remote&&this.stream.displayMyRemote()||Ye.srcObject!==this.stream.getMediaStream()&&(Ye.srcObject=this.stream.getMediaStream()),Ye.autoplay=!0,Ye.controls=!1,(platform$5.isSafariBrowser()||platform$5.isIPhoneOrIPad()&&(platform$5.isChromeMobileBrowser()||platform$5.isEdgeMobileBrowser()||platform$5.isOperaMobileBrowser()||platform$5.isFirefoxMobileBrowser()))&&(Ye.playsInline=!0),Ye.id||(Ye.id=(this.remote?"remote-":"local-")+"video-"+this.stream.streamId,!this.id&&this.targetElement&&(this.id=Ye.id)),this.remote&&this.isMirroredVideo(Ye)?this.removeMirrorVideo(Ye):!this.remote&&!this.stream.displayMyRemote()&&(Ye.muted=!0,this.isMirroredVideo(Ye)&&!this.stream.outboundStreamOpts.publisherProperties.mirror?this.removeMirrorVideo(Ye):this.stream.outboundStreamOpts.publisherProperties.mirror&&!this.stream.isSendScreen()&&this.mirrorVideo(Ye))},Le.prototype.removeAllVideos=function(){for(var Ye=this,tt=this.stream.session.streamManagers.length-1;tt>=0;--tt)this.stream.session.streamManagers[tt]===this&&this.stream.session.streamManagers.splice(tt,1);this.videos.forEach(function(nt){nt.video&&nt.video.removeEventListener&&nt.video.removeEventListener("canplay",Ye.canPlayListener),nt.canplayListenerAdded=!1,nt.targetElement&&(nt.video.parentNode.removeChild(nt.video),Ye.ee.emitEvent("videoElementDestroyed",[new VideoElementEvent_1.VideoElementEvent(nt.video,Ye,"videoElementDestroyed")])),Ye.removeSrcObject(nt),Ye.videos=Ye.videos.filter(function(ft){return!ft.targetElement})})},Le.prototype.disassociateVideo=function(Ye){for(var tt=!1,nt=0;nt<this.videos.length;nt++)if(this.videos[nt].video===Ye){this.videos[nt].video.removeEventListener("canplay",this.canPlayListener),this.videos.splice(nt,1),tt=!0,logger$7.info("Video element disassociated from ",this);break}return tt},Le.prototype.addPlayEventToFirstVideo=function(){this.videos[0]&&this.videos[0].video&&!this.videos[0].canplayListenerAdded&&(this.activateStreamPlayingEventExceptionTimeout(),this.videos[0].video.addEventListener("canplay",this.canPlayListener),this.videos[0].canplayListenerAdded=!0)},Le.prototype.updateMediaStream=function(Ye){this.videos.forEach(function(tt){if(tt.video.srcObject=Ye,platform$5.isIonicIos()){var nt=tt.video.parentElement,ft=tt.video;nt.replaceChild(ft,tt.video),tt.video=ft}})},Le.prototype.emitEvent=function(Ye,tt){this.ee.emitEvent(Ye,tt)},Le.prototype.createVideo=function(){return document.createElement("video")},Le.prototype.removeSrcObject=function(Ye){Ye.video.srcObject=null,this.deactivateStreamPlayingEventExceptionTimeout()},Le.prototype.pushNewStreamManagerVideo=function(Ye){this.videos.push(Ye),this.addPlayEventToFirstVideo(),this.stream.session.streamManagers.indexOf(this)===-1&&this.stream.session.streamManagers.push(this)},Le.prototype.mirrorVideo=function(Ye){platform$5.isIonicIos()||(Ye.style.transform="rotateY(180deg)",Ye.style.webkitTransform="rotateY(180deg)")},Le.prototype.removeMirrorVideo=function(Ye){Ye.style.transform="unset",Ye.style.webkitTransform="unset"},Le.prototype.isMirroredVideo=function(Ye){return Ye.style.transform==="rotateY(180deg)"||Ye.style.webkitTransform==="rotateY(180deg)"},Le.prototype.activateStreamPlayingEventExceptionTimeout=function(){var Ye=this;if(this.remote&&this.streamPlayingEventExceptionTimeout==null){var tt=this.stream.session.openvidu.advancedConfiguration.noStreamPlayingEventExceptionTimeout||4e3;this.streamPlayingEventExceptionTimeout=setTimeout(function(){var nt="StreamManager of Stream "+Ye.stream.streamId+" ("+(Ye.remote?"Subscriber":"Publisher")+') did not trigger "streamPlaying" event in '+tt+" ms";logger$7.warn(nt),Ye.stream.session.emitEvent("exception",[new ExceptionEvent_1$3.ExceptionEvent(Ye.stream.session,ExceptionEvent_1$3.ExceptionEventName.NO_STREAM_PLAYING_EVENT,Ye,nt)]),delete Ye.streamPlayingEventExceptionTimeout},tt)}},Le.prototype.deactivateStreamPlayingEventExceptionTimeout=function(){clearTimeout(this.streamPlayingEventExceptionTimeout),delete this.streamPlayingEventExceptionTimeout},Le}(EventDispatcher_1.EventDispatcher);StreamManager$1.StreamManager=StreamManager;var __extends$1l=commonjsGlobal&&commonjsGlobal.__extends||function(){var Be=function(Le,Ye){return Be=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(tt,nt){tt.__proto__=nt}||function(tt,nt){for(var ft in nt)Object.prototype.hasOwnProperty.call(nt,ft)&&(tt[ft]=nt[ft])},Be(Le,Ye)};return function(Le,Ye){if(typeof Ye!="function"&&Ye!==null)throw new TypeError("Class extends value "+String(Ye)+" is not a constructor or null");Be(Le,Ye);function tt(){this.constructor=Le}Le.prototype=Ye===null?Object.create(Ye):(tt.prototype=Ye.prototype,new tt)}}();Object.defineProperty(Subscriber$1,"__esModule",{value:!0}),Subscriber$1.Subscriber=void 0;var StreamManager_1=StreamManager$1,OpenViduLogger_1$6=OpenViduLogger$1,logger$6=OpenViduLogger_1$6.OpenViduLogger.getInstance(),Subscriber=function(Be){__extends$1l(Le,Be);function Le(Ye,tt,nt){var ft=Be.call(this,Ye,tt)||this;return ft.element=ft.targetElement,ft.stream=Ye,ft.properties=nt,ft}return Le.prototype.subscribeToAudio=function(Ye){return this.stream.getMediaStream().getAudioTracks().forEach(function(tt){tt.enabled=Ye}),this.stream.audioActive=Ye,logger$6.info("'Subscriber' has "+(Ye?"subscribed to":"unsubscribed from")+" its audio stream"),this},Le.prototype.subscribeToVideo=function(Ye){return this.stream.getMediaStream().getVideoTracks().forEach(function(tt){tt.enabled=Ye}),this.stream.videoActive=Ye,logger$6.info("'Subscriber' has "+(Ye?"subscribed to":"unsubscribed from")+" its video stream"),this},Le.prototype.replaceTrackInMediaStream=function(Ye,tt){var nt=this.stream.getMediaStream(),ft;Ye.kind==="video"?(ft=nt.getVideoTracks()[0],tt&&(this.stream.lastVideoTrackConstraints=Ye.getConstraints())):ft=nt.getAudioTracks()[0],nt.removeTrack(ft),ft.stop(),nt.addTrack(Ye)},Le}(StreamManager_1.StreamManager);Subscriber$1.Subscriber=Subscriber;var WebRtcPeer$1={},protocols=["stun:","turn:"],normalice$1=function(Be){var Le=(Be||{}).url||Be,Ye,tt,nt={};return typeof Le!="string"&&!(Le instanceof String)||(Le=Le.trim(),Ye=protocols[protocols.indexOf(Le.slice(0,5))],!Ye)?Be:(Le=Le.slice(5),tt=Le.split("@"),nt.username=Be.username,nt.credential=Be.credential,tt.length>1&&(Le=tt[1],tt=tt[0].split(":"),nt.username=tt[0],nt.credential=(Be||{}).credential||tt[1]||""),nt.url=Ye+Le,nt.urls=[nt.url],nt)};const require$$1=["stun.l.google.com:19302","stun1.l.google.com:19302","stun2.l.google.com:19302","stun3.l.google.com:19302","stun4.l.google.com:19302","stun.ekiga.net","stun.ideasip.com","stun.schlund.de","stun.stunprotocol.org:3478","stun.voiparound.com","stun.voipbuster.com","stun.voipstunt.com","stun.voxgratia.org"],require$$2=[];var normalice=normalice$1,freeice$1=function(Be){var Le={stun:(Be||{}).stun||require$$1,turn:(Be||{}).turn||require$$2},Ye=(Be||{}).stunCount||2,tt=(Be||{}).turnCount||0,nt;function ft(ht,gt){for(var At=[],xt=[].concat(Le[ht]),yt;xt.length&&At.length<gt;)yt=Math.random()*xt.length|0,At=At.concat(xt.splice(yt,1));return At.map(function(Ct){return typeof Ct!="string"&&!(Ct instanceof String)?Ct:normalice(ht+":"+Ct)})}return nt=[].concat(ft("stun",Ye)),tt&&(nt=nt.concat(ft("turn",tt))),nt},freeice_1=freeice$1,commonjsBrowser={},v1$1={},rng$1={};Object.defineProperty(rng$1,"__esModule",{value:!0}),rng$1.default=rng;let getRandomValues;const rnds8=new Uint8Array(16);function rng(){if(!getRandomValues&&(getRandomValues=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!getRandomValues))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return getRandomValues(rnds8)}var stringify$3={},validate$1={},regex={};Object.defineProperty(regex,"__esModule",{value:!0}),regex.default=void 0;var _default$d=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;regex.default=_default$d,Object.defineProperty(validate$1,"__esModule",{value:!0}),validate$1.default=void 0;var _regex=_interopRequireDefault$o(regex);function _interopRequireDefault$o(Be){return Be&&Be.__esModule?Be:{default:Be}}function validate(Be){return typeof Be=="string"&&_regex.default.test(Be)}var _default$c=validate;validate$1.default=_default$c,Object.defineProperty(stringify$3,"__esModule",{value:!0}),stringify$3.default=void 0,stringify$3.unsafeStringify=unsafeStringify;var _validate$2=_interopRequireDefault$n(validate$1);function _interopRequireDefault$n(Be){return Be&&Be.__esModule?Be:{default:Be}}const byteToHex=[];for(let Be=0;Be<256;++Be)byteToHex.push((Be+256).toString(16).slice(1));function unsafeStringify(Be,Le=0){return byteToHex[Be[Le+0]]+byteToHex[Be[Le+1]]+byteToHex[Be[Le+2]]+byteToHex[Be[Le+3]]+"-"+byteToHex[Be[Le+4]]+byteToHex[Be[Le+5]]+"-"+byteToHex[Be[Le+6]]+byteToHex[Be[Le+7]]+"-"+byteToHex[Be[Le+8]]+byteToHex[Be[Le+9]]+"-"+byteToHex[Be[Le+10]]+byteToHex[Be[Le+11]]+byteToHex[Be[Le+12]]+byteToHex[Be[Le+13]]+byteToHex[Be[Le+14]]+byteToHex[Be[Le+15]]}function stringify$2(Be,Le=0){const Ye=unsafeStringify(Be,Le);if(!(0,_validate$2.default)(Ye))throw TypeError("Stringified UUID is invalid");return Ye}var _default$b=stringify$2;stringify$3.default=_default$b,Object.defineProperty(v1$1,"__esModule",{value:!0}),v1$1.default=void 0;var _rng$1=_interopRequireDefault$m(rng$1),_stringify$2=stringify$3;function _interopRequireDefault$m(Be){return Be&&Be.__esModule?Be:{default:Be}}let _nodeId,_clockseq,_lastMSecs=0,_lastNSecs=0;function v1(Be,Le,Ye){let tt=Le&&Ye||0;const nt=Le||new Array(16);Be=Be||{};let ft=Be.node||_nodeId,ht=Be.clockseq!==void 0?Be.clockseq:_clockseq;if(ft==null||ht==null){const Et=Be.random||(Be.rng||_rng$1.default)();ft==null&&(ft=_nodeId=[Et[0]|1,Et[1],Et[2],Et[3],Et[4],Et[5]]),ht==null&&(ht=_clockseq=(Et[6]<<8|Et[7])&16383)}let gt=Be.msecs!==void 0?Be.msecs:Date.now(),At=Be.nsecs!==void 0?Be.nsecs:_lastNSecs+1;const xt=gt-_lastMSecs+(At-_lastNSecs)/1e4;if(xt<0&&Be.clockseq===void 0&&(ht=ht+1&16383),(xt<0||gt>_lastMSecs)&&Be.nsecs===void 0&&(At=0),At>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");_lastMSecs=gt,_lastNSecs=At,_clockseq=ht,gt+=122192928e5;const yt=((gt&268435455)*1e4+At)%4294967296;nt[tt++]=yt>>>24&255,nt[tt++]=yt>>>16&255,nt[tt++]=yt>>>8&255,nt[tt++]=yt&255;const Ct=gt/4294967296*1e4&268435455;nt[tt++]=Ct>>>8&255,nt[tt++]=Ct&255,nt[tt++]=Ct>>>24&15|16,nt[tt++]=Ct>>>16&255,nt[tt++]=ht>>>8|128,nt[tt++]=ht&255;for(let Et=0;Et<6;++Et)nt[tt+Et]=ft[Et];return Le||(0,_stringify$2.unsafeStringify)(nt)}var _default$a=v1;v1$1.default=_default$a;var v3$1={},v35$1={},parse$4={};Object.defineProperty(parse$4,"__esModule",{value:!0}),parse$4.default=void 0;var _validate$1=_interopRequireDefault$l(validate$1);function _interopRequireDefault$l(Be){return Be&&Be.__esModule?Be:{default:Be}}function parse$3(Be){if(!(0,_validate$1.default)(Be))throw TypeError("Invalid UUID");let Le;const Ye=new Uint8Array(16);return Ye[0]=(Le=parseInt(Be.slice(0,8),16))>>>24,Ye[1]=Le>>>16&255,Ye[2]=Le>>>8&255,Ye[3]=Le&255,Ye[4]=(Le=parseInt(Be.slice(9,13),16))>>>8,Ye[5]=Le&255,Ye[6]=(Le=parseInt(Be.slice(14,18),16))>>>8,Ye[7]=Le&255,Ye[8]=(Le=parseInt(Be.slice(19,23),16))>>>8,Ye[9]=Le&255,Ye[10]=(Le=parseInt(Be.slice(24,36),16))/1099511627776&255,Ye[11]=Le/4294967296&255,Ye[12]=Le>>>24&255,Ye[13]=Le>>>16&255,Ye[14]=Le>>>8&255,Ye[15]=Le&255,Ye}var _default$9=parse$3;parse$4.default=_default$9,Object.defineProperty(v35$1,"__esModule",{value:!0}),v35$1.URL=v35$1.DNS=void 0,v35$1.default=v35;var _stringify$1=stringify$3,_parse=_interopRequireDefault$k(parse$4);function _interopRequireDefault$k(Be){return Be&&Be.__esModule?Be:{default:Be}}function stringToBytes$1(Be){Be=unescape(encodeURIComponent(Be));const Le=[];for(let Ye=0;Ye<Be.length;++Ye)Le.push(Be.charCodeAt(Ye));return Le}const DNS="6ba7b810-9dad-11d1-80b4-00c04fd430c8";v35$1.DNS=DNS;const URL$1="6ba7b811-9dad-11d1-80b4-00c04fd430c8";v35$1.URL=URL$1;function v35(Be,Le,Ye){function tt(nt,ft,ht,gt){var At;if(typeof nt=="string"&&(nt=stringToBytes$1(nt)),typeof ft=="string"&&(ft=(0,_parse.default)(ft)),((At=ft)===null||At===void 0?void 0:At.length)!==16)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");let xt=new Uint8Array(16+nt.length);if(xt.set(ft),xt.set(nt,ft.length),xt=Ye(xt),xt[6]=xt[6]&15|Le,xt[8]=xt[8]&63|128,ht){gt=gt||0;for(let yt=0;yt<16;++yt)ht[gt+yt]=xt[yt];return ht}return(0,_stringify$1.unsafeStringify)(xt)}try{tt.name=Be}catch{}return tt.DNS=DNS,tt.URL=URL$1,tt}var md5$1={};Object.defineProperty(md5$1,"__esModule",{value:!0}),md5$1.default=void 0;function md5(Be){if(typeof Be=="string"){const Le=unescape(encodeURIComponent(Be));Be=new Uint8Array(Le.length);for(let Ye=0;Ye<Le.length;++Ye)Be[Ye]=Le.charCodeAt(Ye)}return md5ToHexEncodedArray(wordsToMd5(bytesToWords(Be),Be.length*8))}function md5ToHexEncodedArray(Be){const Le=[],Ye=Be.length*32,tt="0123456789abcdef";for(let nt=0;nt<Ye;nt+=8){const ft=Be[nt>>5]>>>nt%32&255,ht=parseInt(tt.charAt(ft>>>4&15)+tt.charAt(ft&15),16);Le.push(ht)}return Le}function getOutputLength(Be){return(Be+64>>>9<<4)+14+1}function wordsToMd5(Be,Le){Be[Le>>5]|=128<<Le%32,Be[getOutputLength(Le)-1]=Le;let Ye=1732584193,tt=-271733879,nt=-1732584194,ft=271733878;for(let ht=0;ht<Be.length;ht+=16){const gt=Ye,At=tt,xt=nt,yt=ft;Ye=md5ff(Ye,tt,nt,ft,Be[ht],7,-680876936),ft=md5ff(ft,Ye,tt,nt,Be[ht+1],12,-389564586),nt=md5ff(nt,ft,Ye,tt,Be[ht+2],17,606105819),tt=md5ff(tt,nt,ft,Ye,Be[ht+3],22,-1044525330),Ye=md5ff(Ye,tt,nt,ft,Be[ht+4],7,-176418897),ft=md5ff(ft,Ye,tt,nt,Be[ht+5],12,1200080426),nt=md5ff(nt,ft,Ye,tt,Be[ht+6],17,-1473231341),tt=md5ff(tt,nt,ft,Ye,Be[ht+7],22,-45705983),Ye=md5ff(Ye,tt,nt,ft,Be[ht+8],7,1770035416),ft=md5ff(ft,Ye,tt,nt,Be[ht+9],12,-1958414417),nt=md5ff(nt,ft,Ye,tt,Be[ht+10],17,-42063),tt=md5ff(tt,nt,ft,Ye,Be[ht+11],22,-1990404162),Ye=md5ff(Ye,tt,nt,ft,Be[ht+12],7,1804603682),ft=md5ff(ft,Ye,tt,nt,Be[ht+13],12,-40341101),nt=md5ff(nt,ft,Ye,tt,Be[ht+14],17,-1502002290),tt=md5ff(tt,nt,ft,Ye,Be[ht+15],22,1236535329),Ye=md5gg(Ye,tt,nt,ft,Be[ht+1],5,-165796510),ft=md5gg(ft,Ye,tt,nt,Be[ht+6],9,-1069501632),nt=md5gg(nt,ft,Ye,tt,Be[ht+11],14,643717713),tt=md5gg(tt,nt,ft,Ye,Be[ht],20,-373897302),Ye=md5gg(Ye,tt,nt,ft,Be[ht+5],5,-701558691),ft=md5gg(ft,Ye,tt,nt,Be[ht+10],9,38016083),nt=md5gg(nt,ft,Ye,tt,Be[ht+15],14,-660478335),tt=md5gg(tt,nt,ft,Ye,Be[ht+4],20,-405537848),Ye=md5gg(Ye,tt,nt,ft,Be[ht+9],5,568446438),ft=md5gg(ft,Ye,tt,nt,Be[ht+14],9,-1019803690),nt=md5gg(nt,ft,Ye,tt,Be[ht+3],14,-187363961),tt=md5gg(tt,nt,ft,Ye,Be[ht+8],20,1163531501),Ye=md5gg(Ye,tt,nt,ft,Be[ht+13],5,-1444681467),ft=md5gg(ft,Ye,tt,nt,Be[ht+2],9,-51403784),nt=md5gg(nt,ft,Ye,tt,Be[ht+7],14,1735328473),tt=md5gg(tt,nt,ft,Ye,Be[ht+12],20,-1926607734),Ye=md5hh(Ye,tt,nt,ft,Be[ht+5],4,-378558),ft=md5hh(ft,Ye,tt,nt,Be[ht+8],11,-2022574463),nt=md5hh(nt,ft,Ye,tt,Be[ht+11],16,1839030562),tt=md5hh(tt,nt,ft,Ye,Be[ht+14],23,-35309556),Ye=md5hh(Ye,tt,nt,ft,Be[ht+1],4,-1530992060),ft=md5hh(ft,Ye,tt,nt,Be[ht+4],11,1272893353),nt=md5hh(nt,ft,Ye,tt,Be[ht+7],16,-155497632),tt=md5hh(tt,nt,ft,Ye,Be[ht+10],23,-1094730640),Ye=md5hh(Ye,tt,nt,ft,Be[ht+13],4,681279174),ft=md5hh(ft,Ye,tt,nt,Be[ht],11,-358537222),nt=md5hh(nt,ft,Ye,tt,Be[ht+3],16,-722521979),tt=md5hh(tt,nt,ft,Ye,Be[ht+6],23,76029189),Ye=md5hh(Ye,tt,nt,ft,Be[ht+9],4,-640364487),ft=md5hh(ft,Ye,tt,nt,Be[ht+12],11,-421815835),nt=md5hh(nt,ft,Ye,tt,Be[ht+15],16,530742520),tt=md5hh(tt,nt,ft,Ye,Be[ht+2],23,-995338651),Ye=md5ii(Ye,tt,nt,ft,Be[ht],6,-198630844),ft=md5ii(ft,Ye,tt,nt,Be[ht+7],10,1126891415),nt=md5ii(nt,ft,Ye,tt,Be[ht+14],15,-1416354905),tt=md5ii(tt,nt,ft,Ye,Be[ht+5],21,-57434055),Ye=md5ii(Ye,tt,nt,ft,Be[ht+12],6,1700485571),ft=md5ii(ft,Ye,tt,nt,Be[ht+3],10,-1894986606),nt=md5ii(nt,ft,Ye,tt,Be[ht+10],15,-1051523),tt=md5ii(tt,nt,ft,Ye,Be[ht+1],21,-2054922799),Ye=md5ii(Ye,tt,nt,ft,Be[ht+8],6,1873313359),ft=md5ii(ft,Ye,tt,nt,Be[ht+15],10,-30611744),nt=md5ii(nt,ft,Ye,tt,Be[ht+6],15,-1560198380),tt=md5ii(tt,nt,ft,Ye,Be[ht+13],21,1309151649),Ye=md5ii(Ye,tt,nt,ft,Be[ht+4],6,-145523070),ft=md5ii(ft,Ye,tt,nt,Be[ht+11],10,-1120210379),nt=md5ii(nt,ft,Ye,tt,Be[ht+2],15,718787259),tt=md5ii(tt,nt,ft,Ye,Be[ht+9],21,-343485551),Ye=safeAdd(Ye,gt),tt=safeAdd(tt,At),nt=safeAdd(nt,xt),ft=safeAdd(ft,yt)}return[Ye,tt,nt,ft]}function bytesToWords(Be){if(Be.length===0)return[];const Le=Be.length*8,Ye=new Uint32Array(getOutputLength(Le));for(let tt=0;tt<Le;tt+=8)Ye[tt>>5]|=(Be[tt/8]&255)<<tt%32;return Ye}function safeAdd(Be,Le){const Ye=(Be&65535)+(Le&65535);return(Be>>16)+(Le>>16)+(Ye>>16)<<16|Ye&65535}function bitRotateLeft(Be,Le){return Be<<Le|Be>>>32-Le}function md5cmn(Be,Le,Ye,tt,nt,ft){return safeAdd(bitRotateLeft(safeAdd(safeAdd(Le,Be),safeAdd(tt,ft)),nt),Ye)}function md5ff(Be,Le,Ye,tt,nt,ft,ht){return md5cmn(Le&Ye|~Le&tt,Be,Le,nt,ft,ht)}function md5gg(Be,Le,Ye,tt,nt,ft,ht){return md5cmn(Le&tt|Ye&~tt,Be,Le,nt,ft,ht)}function md5hh(Be,Le,Ye,tt,nt,ft,ht){return md5cmn(Le^Ye^tt,Be,Le,nt,ft,ht)}function md5ii(Be,Le,Ye,tt,nt,ft,ht){return md5cmn(Ye^(Le|~tt),Be,Le,nt,ft,ht)}var _default$8=md5;md5$1.default=_default$8,Object.defineProperty(v3$1,"__esModule",{value:!0}),v3$1.default=void 0;var _v$1=_interopRequireDefault$j(v35$1),_md=_interopRequireDefault$j(md5$1);function _interopRequireDefault$j(Be){return Be&&Be.__esModule?Be:{default:Be}}const v3=(0,_v$1.default)("v3",48,_md.default);var _default$7=v3;v3$1.default=_default$7;var v4$1={},native={};Object.defineProperty(native,"__esModule",{value:!0}),native.default=void 0;const randomUUID=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto);var _default$6={randomUUID};native.default=_default$6,Object.defineProperty(v4$1,"__esModule",{value:!0}),v4$1.default=void 0;var _native=_interopRequireDefault$i(native),_rng=_interopRequireDefault$i(rng$1),_stringify=stringify$3;function _interopRequireDefault$i(Be){return Be&&Be.__esModule?Be:{default:Be}}function v4(Be,Le,Ye){if(_native.default.randomUUID&&!Le&&!Be)return _native.default.randomUUID();Be=Be||{};const tt=Be.random||(Be.rng||_rng.default)();if(tt[6]=tt[6]&15|64,tt[8]=tt[8]&63|128,Le){Ye=Ye||0;for(let nt=0;nt<16;++nt)Le[Ye+nt]=tt[nt];return Le}return(0,_stringify.unsafeStringify)(tt)}var _default$5=v4;v4$1.default=_default$5;var v5$1={},sha1$3={};Object.defineProperty(sha1$3,"__esModule",{value:!0}),sha1$3.default=void 0;function f(Be,Le,Ye,tt){switch(Be){case 0:return Le&Ye^~Le&tt;case 1:return Le^Ye^tt;case 2:return Le&Ye^Le&tt^Ye&tt;case 3:return Le^Ye^tt}}function ROTL(Be,Le){return Be<<Le|Be>>>32-Le}function sha1$2(Be){const Le=[1518500249,1859775393,2400959708,3395469782],Ye=[1732584193,4023233417,2562383102,271733878,3285377520];if(typeof Be=="string"){const ht=unescape(encodeURIComponent(Be));Be=[];for(let gt=0;gt<ht.length;++gt)Be.push(ht.charCodeAt(gt))}else Array.isArray(Be)||(Be=Array.prototype.slice.call(Be));Be.push(128);const tt=Be.length/4+2,nt=Math.ceil(tt/16),ft=new Array(nt);for(let ht=0;ht<nt;++ht){const gt=new Uint32Array(16);for(let At=0;At<16;++At)gt[At]=Be[ht*64+At*4]<<24|Be[ht*64+At*4+1]<<16|Be[ht*64+At*4+2]<<8|Be[ht*64+At*4+3];ft[ht]=gt}ft[nt-1][14]=(Be.length-1)*8/Math.pow(2,32),ft[nt-1][14]=Math.floor(ft[nt-1][14]),ft[nt-1][15]=(Be.length-1)*8&4294967295;for(let ht=0;ht<nt;++ht){const gt=new Uint32Array(80);for(let vt=0;vt<16;++vt)gt[vt]=ft[ht][vt];for(let vt=16;vt<80;++vt)gt[vt]=ROTL(gt[vt-3]^gt[vt-8]^gt[vt-14]^gt[vt-16],1);let At=Ye[0],xt=Ye[1],yt=Ye[2],Ct=Ye[3],Et=Ye[4];for(let vt=0;vt<80;++vt){const kt=Math.floor(vt/20),bt=ROTL(At,5)+f(kt,xt,yt,Ct)+Et+Le[kt]+gt[vt]>>>0;Et=Ct,Ct=yt,yt=ROTL(xt,30)>>>0,xt=At,At=bt}Ye[0]=Ye[0]+At>>>0,Ye[1]=Ye[1]+xt>>>0,Ye[2]=Ye[2]+yt>>>0,Ye[3]=Ye[3]+Ct>>>0,Ye[4]=Ye[4]+Et>>>0}return[Ye[0]>>24&255,Ye[0]>>16&255,Ye[0]>>8&255,Ye[0]&255,Ye[1]>>24&255,Ye[1]>>16&255,Ye[1]>>8&255,Ye[1]&255,Ye[2]>>24&255,Ye[2]>>16&255,Ye[2]>>8&255,Ye[2]&255,Ye[3]>>24&255,Ye[3]>>16&255,Ye[3]>>8&255,Ye[3]&255,Ye[4]>>24&255,Ye[4]>>16&255,Ye[4]>>8&255,Ye[4]&255]}var _default$4=sha1$2;sha1$3.default=_default$4,Object.defineProperty(v5$1,"__esModule",{value:!0}),v5$1.default=void 0;var _v=_interopRequireDefault$h(v35$1),_sha=_interopRequireDefault$h(sha1$3);function _interopRequireDefault$h(Be){return Be&&Be.__esModule?Be:{default:Be}}const v5=(0,_v.default)("v5",80,_sha.default);var _default$3=v5;v5$1.default=_default$3;var nil={};Object.defineProperty(nil,"__esModule",{value:!0}),nil.default=void 0;var _default$2="00000000-0000-0000-0000-000000000000";nil.default=_default$2;var version$3={};Object.defineProperty(version$3,"__esModule",{value:!0}),version$3.default=void 0;var _validate=_interopRequireDefault$g(validate$1);function _interopRequireDefault$g(Be){return Be&&Be.__esModule?Be:{default:Be}}function version$2(Be){if(!(0,_validate.default)(Be))throw TypeError("Invalid UUID");return parseInt(Be.slice(14,15),16)}var _default$1=version$2;version$3.default=_default$1,function(Be){Object.defineProperty(Be,"__esModule",{value:!0}),Object.defineProperty(Be,"NIL",{enumerable:!0,get:function(){return ft.default}}),Object.defineProperty(Be,"parse",{enumerable:!0,get:function(){return xt.default}}),Object.defineProperty(Be,"stringify",{enumerable:!0,get:function(){return At.default}}),Object.defineProperty(Be,"v1",{enumerable:!0,get:function(){return Le.default}}),Object.defineProperty(Be,"v3",{enumerable:!0,get:function(){return Ye.default}}),Object.defineProperty(Be,"v4",{enumerable:!0,get:function(){return tt.default}}),Object.defineProperty(Be,"v5",{enumerable:!0,get:function(){return nt.default}}),Object.defineProperty(Be,"validate",{enumerable:!0,get:function(){return gt.default}}),Object.defineProperty(Be,"version",{enumerable:!0,get:function(){return ht.default}});var Le=yt(v1$1),Ye=yt(v3$1),tt=yt(v4$1),nt=yt(v5$1),ft=yt(nil),ht=yt(version$3),gt=yt(validate$1),At=yt(stringify$3),xt=yt(parse$4);function yt(Ct){return Ct&&Ct.__esModule?Ct:{default:Ct}}}(commonjsBrowser);var __extends$1k=commonjsGlobal&&commonjsGlobal.__extends||function(){var Be=function(Le,Ye){return Be=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(tt,nt){tt.__proto__=nt}||function(tt,nt){for(var ft in nt)Object.prototype.hasOwnProperty.call(nt,ft)&&(tt[ft]=nt[ft])},Be(Le,Ye)};return function(Le,Ye){if(typeof Ye!="function"&&Ye!==null)throw new TypeError("Class extends value "+String(Ye)+" is not a constructor or null");Be(Le,Ye);function tt(){this.constructor=Le}Le.prototype=Ye===null?Object.create(Ye):(tt.prototype=Ye.prototype,new tt)}}(),__assign$1=commonjsGlobal&&commonjsGlobal.__assign||function(){return __assign$1=Object.assign||function(Be){for(var Le,Ye=1,tt=arguments.length;Ye<tt;Ye++){Le=arguments[Ye];for(var nt in Le)Object.prototype.hasOwnProperty.call(Le,nt)&&(Be[nt]=Le[nt])}return Be},__assign$1.apply(this,arguments)},__awaiter$6=commonjsGlobal&&commonjsGlobal.__awaiter||function(Be,Le,Ye,tt){function nt(ft){return ft instanceof Ye?ft:new Ye(function(ht){ht(ft)})}return new(Ye||(Ye=Promise))(function(ft,ht){function gt(yt){try{xt(tt.next(yt))}catch(Ct){ht(Ct)}}function At(yt){try{xt(tt.throw(yt))}catch(Ct){ht(Ct)}}function xt(yt){yt.done?ft(yt.value):nt(yt.value).then(gt,At)}xt((tt=tt.apply(Be,Le||[])).next())})},__generator$5=commonjsGlobal&&commonjsGlobal.__generator||function(Be,Le){var Ye={label:0,sent:function(){if(ft[0]&1)throw ft[1];return ft[1]},trys:[],ops:[]},tt,nt,ft,ht;return ht={next:gt(0),throw:gt(1),return:gt(2)},typeof Symbol=="function"&&(ht[Symbol.iterator]=function(){return this}),ht;function gt(xt){return function(yt){return At([xt,yt])}}function At(xt){if(tt)throw new TypeError("Generator is already executing.");for(;ht&&(ht=0,xt[0]&&(Ye=0)),Ye;)try{if(tt=1,nt&&(ft=xt[0]&2?nt.return:xt[0]?nt.throw||((ft=nt.return)&&ft.call(nt),0):nt.next)&&!(ft=ft.call(nt,xt[1])).done)return ft;switch(nt=0,ft&&(xt=[xt[0]&2,ft.value]),xt[0]){case 0:case 1:ft=xt;break;case 4:return Ye.label++,{value:xt[1],done:!1};case 5:Ye.label++,nt=xt[1],xt=[0];continue;case 7:xt=Ye.ops.pop(),Ye.trys.pop();continue;default:if(ft=Ye.trys,!(ft=ft.length>0&&ft[ft.length-1])&&(xt[0]===6||xt[0]===2)){Ye=0;continue}if(xt[0]===3&&(!ft||xt[1]>ft[0]&&xt[1]<ft[3])){Ye.label=xt[1];break}if(xt[0]===6&&Ye.label<ft[1]){Ye.label=ft[1],ft=xt;break}if(ft&&Ye.label<ft[2]){Ye.label=ft[2],Ye.ops.push(xt);break}ft[2]&&Ye.ops.pop(),Ye.trys.pop();continue}xt=Le.call(Be,Ye)}catch(yt){xt=[6,yt],nt=0}finally{tt=ft=0}if(xt[0]&5)throw xt[1];return{value:xt[0]?xt[1]:void 0,done:!0}}};Object.defineProperty(WebRtcPeer$1,"__esModule",{value:!0}),WebRtcPeer$1.WebRtcPeerSendrecv=WebRtcPeer$1.WebRtcPeerSendonly=WebRtcPeer$1.WebRtcPeerRecvonly=WebRtcPeer$1.WebRtcPeer=void 0;var freeice=freeice_1,uuid_1$1=commonjsBrowser,ExceptionEvent_1$2=ExceptionEvent,OpenViduLogger_1$5=OpenViduLogger$1,Platform_1$3=Platform,logger$5=OpenViduLogger_1$5.OpenViduLogger.getInstance(),WebRtcPeer=function(){function Be(Le){var Ye=this;this.remoteCandidatesQueue=[],this.localCandidatesQueue=[],this.iceCandidateList=[],Platform_1$3.PlatformUtils.getInstance(),this.configuration=__assign$1(__assign$1({},Le),{iceServers:Le.iceServers&&Le.iceServers.length>0?Le.iceServers:freeice(),rtcConfiguration:Le.rtcConfiguration!==void 0?Le.rtcConfiguration:{},mediaStream:Le.mediaStream!==void 0?Le.mediaStream:null,mode:Le.mode?Le.mode:"sendrecv",id:Le.id?Le.id:this.generateUniqueId()}),logger$5.debug(`[WebRtcPeer] configuration:
2812
- `.concat(JSON.stringify(this.configuration,null,2)));var tt=this.configuration.rtcConfiguration?this.configuration.rtcConfiguration:{iceServers:this.configuration.iceServers};!tt.iceServers&&this.configuration.iceServers&&(tt.iceServers=this.configuration.iceServers),this.pc=new RTCPeerConnection(tt),this.pc.addEventListener("icecandidate",function(nt){if(nt.candidate!==null){var ft=nt.candidate,ht=new RTCIceCandidate(ft);Ye.configuration.onIceCandidate(ht),ht.candidate!==""&&Ye.localCandidatesQueue.push(ht)}}),this.pc.addEventListener("signalingstatechange",function(){return __awaiter$6(Ye,void 0,void 0,function(){var nt,ft;return __generator$5(this,function(ht){switch(ht.label){case 0:if(this.pc.signalingState!=="stable")return[3,6];ht.label=1;case 1:if(!(this.iceCandidateList.length>0))return[3,6];nt=this.iceCandidateList.shift(),ht.label=2;case 2:return ht.trys.push([2,4,,5]),[4,this.pc.addIceCandidate(nt)];case 3:return ht.sent(),[3,5];case 4:return ft=ht.sent(),logger$5.error("Error when calling RTCPeerConnection#addIceCandidate for RTCPeerConnection "+this.getId(),ft),[3,5];case 5:return[3,1];case 6:return[2]}})})})}return Be.prototype.getId=function(){return this.configuration.id},Be.prototype.dispose=function(){if(logger$5.debug("Disposing WebRtcPeer"),this.pc){if(this.pc.signalingState==="closed")return;this.pc.close(),this.remoteCandidatesQueue=[],this.localCandidatesQueue=[]}},Be.prototype.createOfferLegacy=function(){this.configuration.mediaStream&&this.deprecatedPeerConnectionTrackApi();var Le=this.configuration.mediaConstraints.audio,Ye=this.configuration.mediaConstraints.video,tt={offerToReceiveAudio:this.configuration.mode!=="sendonly"&&Le,offerToReceiveVideo:this.configuration.mode!=="sendonly"&&Ye};return logger$5.debug("[createOfferLegacy] RTCPeerConnection.createOffer() options:",JSON.stringify(tt)),this.pc.createOffer(tt)},Be.prototype.createOffer=function(){var Le,Ye,tt,nt,ft,ht,gt,At;return __awaiter$6(this,void 0,void 0,function(){var xt,yt,Ct,Et,vt,kt,bt,wt,It,Rt,Tt,Bt,Pt,Dt,Ot,Lt,Wt,Xt,$t,qt,Ht,Ut,Ft,Xt;return __generator$5(this,function(_t){switch(_t.label){case 0:if("addTransceiver"in this.pc)logger$5.debug("[createOffer] Method RTCPeerConnection.addTransceiver() is available; using it");else return logger$5.warn("[createOffer] Method RTCPeerConnection.addTransceiver() is NOT available; using LEGACY offerToReceive{Audio,Video}"),[2,this.createOfferLegacy()];if(this.configuration.mode==="recvonly")return[3,7];if(!this.configuration.mediaStream)throw new Error("[WebRtcPeer.createOffer] Direction is '".concat(this.configuration.mode,"', but no stream was configured to be sent"));xt=0,yt=this.configuration.mediaStream.getTracks(),_t.label=1;case 1:if(!(xt<yt.length))return[3,6];if(Ct=yt[xt],Et={direction:this.configuration.mode,streams:[this.configuration.mediaStream]},Ct.kind==="video"&&this.configuration.simulcast)for(vt=Ct.getSettings(),kt=Ct.getConstraints(),bt=(tt=(Ye=(Le=vt.width)!==null&&Le!==void 0?Le:kt.width.ideal)!==null&&Ye!==void 0?Ye:kt.width)!==null&&tt!==void 0?tt:0,wt=(ht=(ft=(nt=vt.height)!==null&&nt!==void 0?nt:kt.height.ideal)!==null&&ft!==void 0?ft:kt.height)!==null&&ht!==void 0?ht:0,logger$5.info("[createOffer] Video track dimensions: ".concat(bt,"x").concat(wt)),It=bt*wt,Rt=0,It>=960*540?Rt=3:It>=480*270?Rt=2:Rt=1,Et.sendEncodings=[],Tt=0;Tt<Rt;Tt++)Bt=Math.pow(2,Rt-Tt-1),Pt={rid:"rdiv"+Bt.toString(),scalabilityMode:"L1T1"},["detail","text"].includes(Ct.contentHint)?(Pt.scaleResolutionDownBy=1,Pt.maxFramerate=Math.floor(30/Bt)):Pt.scaleResolutionDownBy=Bt,Et.sendEncodings.push(Pt);if(Dt=this.pc.addTransceiver(Ct,Et),Ct.kind!=="video")return[3,5];if(Ot=Dt.sender.getParameters(),Lt=!1,!((gt=Ot.degradationPreference)===null||gt===void 0)&&gt.length||(["detail","text"].includes(Ct.contentHint)?Ot.degradationPreference="maintain-resolution":Ot.degradationPreference="balanced",logger$5.info("[createOffer] Video sender Degradation Preference set: ".concat(Ot.degradationPreference)),Lt=!0),this.configuration.simulcast&&((At=Ot.encodings)===null||At===void 0?void 0:At.length)!==Et.sendEncodings.length&&(Ot.encodings=Et.sendEncodings,Lt=!0),!Lt)return[3,5];logger$5.debug("[createOffer] Setting new RTCRtpSendParameters to video sender"),_t.label=2;case 2:return _t.trys.push([2,4,,5]),[4,Dt.sender.setParameters(Ot)];case 3:return _t.sent(),[3,5];case 4:throw Wt=_t.sent(),Xt="[WebRtcPeer.createOffer] Cannot set RTCRtpSendParameters to video sender",Wt instanceof Error&&(Xt+=": ".concat(Wt.message)),new Error(Xt);case 5:return xt++,[3,1];case 6:return[3,8];case 7:for($t=0,qt=["audio","video"];$t<qt.length;$t++)Ht=qt[$t],this.configuration.mediaConstraints[Ht]&&(this.configuration.mediaStream=new MediaStream,this.pc.addTransceiver(Ht,{direction:this.configuration.mode,streams:[this.configuration.mediaStream]}));_t.label=8;case 8:return _t.trys.push([8,10,,11]),[4,this.pc.createOffer()];case 9:return Ut=_t.sent(),[3,11];case 10:throw Ft=_t.sent(),Xt="[WebRtcPeer.createOffer] Browser failed creating an SDP Offer",Ft instanceof Error&&(Xt+=": ".concat(Ft.message)),new Error(Xt);case 11:return[2,Ut]}})})},Be.prototype.deprecatedPeerConnectionTrackApi=function(){for(var Le=0,Ye=this.configuration.mediaStream.getTracks();Le<Ye.length;Le++){var tt=Ye[Le];this.pc.addTrack(tt,this.configuration.mediaStream)}},Be.prototype.createAnswer=function(){var Le=this;return new Promise(function(Ye,tt){if("getTransceivers"in Le.pc){logger$5.debug("[createAnswer] Method RTCPeerConnection.getTransceivers() is available; using it");for(var nt=function(Et){if(!Le.configuration.mediaConstraints[Et])return"continue";var vt=Le.pc.getTransceivers().find(function(kt){return kt.receiver.track.kind===Et});if(vt)vt.direction=Le.configuration.mode;else return{value:tt(new Error("".concat(Et," requested, but no transceiver was created from remote description")))}},ft=0,ht=["audio","video"];ft<ht.length;ft++){var gt=ht[ft],At=nt(gt);if(typeof At=="object")return At.value}Le.pc.createAnswer().then(function(Et){return Ye(Et)}).catch(function(Et){return tt(Et)})}else{var xt=void 0,yt=!0;if(Le.configuration.mediaConstraints){xt=typeof Le.configuration.mediaConstraints.audio=="boolean"?Le.configuration.mediaConstraints.audio:!0,yt=typeof Le.configuration.mediaConstraints.video=="boolean"?Le.configuration.mediaConstraints.video:!0;var Ct={offerToReceiveAudio:xt,offerToReceiveVideo:yt};Le.pc.createAnswer(Ct).then(function(Et){return Ye(Et)}).catch(function(Et){return tt(Et)})}}})},Be.prototype.processLocalOffer=function(Le){var Ye=this;return new Promise(function(tt,nt){Ye.pc.setLocalDescription(Le).then(function(){var ft=Ye.pc.localDescription;return ft?(logger$5.debug("Local description set",ft.sdp),tt()):nt("Local description is not defined")}).catch(function(ft){return nt(ft)})})},Be.prototype.processRemoteOffer=function(Le){var Ye=this;return new Promise(function(tt,nt){var ft={type:"offer",sdp:Le};if(logger$5.debug("SDP offer received, setting remote description",ft),Ye.pc.signalingState==="closed")return nt("RTCPeerConnection is closed when trying to set remote description");Ye.setRemoteDescription(ft).then(function(){return tt()}).catch(function(ht){return nt(ht)})})},Be.prototype.processLocalAnswer=function(Le){var Ye=this;return new Promise(function(tt,nt){if(logger$5.debug("SDP answer created, setting local description"),Ye.pc.signalingState==="closed")return nt("RTCPeerConnection is closed when trying to set local description");Ye.pc.setLocalDescription(Le).then(function(){return tt()}).catch(function(ft){return nt(ft)})})},Be.prototype.processRemoteAnswer=function(Le){var Ye=this;return new Promise(function(tt,nt){var ft={type:"answer",sdp:Le};if(logger$5.debug("SDP answer received, setting remote description"),Ye.pc.signalingState==="closed")return nt("RTCPeerConnection is closed when trying to set remote description");Ye.setRemoteDescription(ft).then(function(){tt()}).catch(function(ht){return nt(ht)})})},Be.prototype.setRemoteDescription=function(Le){return __awaiter$6(this,void 0,void 0,function(){return __generator$5(this,function(Ye){return[2,this.pc.setRemoteDescription(Le)]})})},Be.prototype.addIceCandidate=function(Le){var Ye=this;return new Promise(function(tt,nt){switch(logger$5.debug("Remote ICE candidate received",Le),Ye.remoteCandidatesQueue.push(Le),Ye.pc.signalingState){case"closed":nt(new Error("PeerConnection object is closed"));break;case"stable":Ye.pc.remoteDescription?Ye.pc.addIceCandidate(Le).then(function(){return tt()}).catch(function(ft){return nt(ft)}):(Ye.iceCandidateList.push(Le),tt());break;default:Ye.iceCandidateList.push(Le),tt()}})},Be.prototype.addIceConnectionStateChangeListener=function(Le){var Ye=this;this.pc.addEventListener("iceconnectionstatechange",function(){var tt=Ye.pc.iceConnectionState;switch(tt){case"disconnected":var nt="IceConnectionState of RTCPeerConnection "+Ye.configuration.id+" ("+Le+') change to "disconnected". Possible network disconnection';logger$5.warn(nt),Ye.configuration.onIceConnectionStateException(ExceptionEvent_1$2.ExceptionEventName.ICE_CONNECTION_DISCONNECTED,nt);break;case"failed":var ft="IceConnectionState of RTCPeerConnection "+Ye.configuration.id+" ("+Le+') to "failed"';logger$5.error(ft),Ye.configuration.onIceConnectionStateException(ExceptionEvent_1$2.ExceptionEventName.ICE_CONNECTION_FAILED,ft);break;case"closed":logger$5.log("IceConnectionState of RTCPeerConnection "+Ye.configuration.id+" ("+Le+') change to "closed"');break;case"new":logger$5.log("IceConnectionState of RTCPeerConnection "+Ye.configuration.id+" ("+Le+') change to "new"');break;case"checking":logger$5.log("IceConnectionState of RTCPeerConnection "+Ye.configuration.id+" ("+Le+') change to "checking"');break;case"connected":logger$5.log("IceConnectionState of RTCPeerConnection "+Ye.configuration.id+" ("+Le+') change to "connected"');break;case"completed":logger$5.log("IceConnectionState of RTCPeerConnection "+Ye.configuration.id+" ("+Le+') change to "completed"');break}})},Be.prototype.generateUniqueId=function(){return(0,uuid_1$1.v4)()},Be}();WebRtcPeer$1.WebRtcPeer=WebRtcPeer;var WebRtcPeerRecvonly=function(Be){__extends$1k(Le,Be);function Le(Ye){return Ye.mode="recvonly",Be.call(this,Ye)||this}return Le}(WebRtcPeer);WebRtcPeer$1.WebRtcPeerRecvonly=WebRtcPeerRecvonly;var WebRtcPeerSendonly=function(Be){__extends$1k(Le,Be);function Le(Ye){return Ye.mode="sendonly",Be.call(this,Ye)||this}return Le}(WebRtcPeer);WebRtcPeer$1.WebRtcPeerSendonly=WebRtcPeerSendonly;var WebRtcPeerSendrecv=function(Be){__extends$1k(Le,Be);function Le(Ye){return Ye.mode="sendrecv",Be.call(this,Ye)||this}return Le}(WebRtcPeer);WebRtcPeer$1.WebRtcPeerSendrecv=WebRtcPeerSendrecv;var WebRtcStats$1={},__awaiter$5=commonjsGlobal&&commonjsGlobal.__awaiter||function(Be,Le,Ye,tt){function nt(ft){return ft instanceof Ye?ft:new Ye(function(ht){ht(ft)})}return new(Ye||(Ye=Promise))(function(ft,ht){function gt(yt){try{xt(tt.next(yt))}catch(Ct){ht(Ct)}}function At(yt){try{xt(tt.throw(yt))}catch(Ct){ht(Ct)}}function xt(yt){yt.done?ft(yt.value):nt(yt.value).then(gt,At)}xt((tt=tt.apply(Be,Le||[])).next())})},__generator$4=commonjsGlobal&&commonjsGlobal.__generator||function(Be,Le){var Ye={label:0,sent:function(){if(ft[0]&1)throw ft[1];return ft[1]},trys:[],ops:[]},tt,nt,ft,ht;return ht={next:gt(0),throw:gt(1),return:gt(2)},typeof Symbol=="function"&&(ht[Symbol.iterator]=function(){return this}),ht;function gt(xt){return function(yt){return At([xt,yt])}}function At(xt){if(tt)throw new TypeError("Generator is already executing.");for(;ht&&(ht=0,xt[0]&&(Ye=0)),Ye;)try{if(tt=1,nt&&(ft=xt[0]&2?nt.return:xt[0]?nt.throw||((ft=nt.return)&&ft.call(nt),0):nt.next)&&!(ft=ft.call(nt,xt[1])).done)return ft;switch(nt=0,ft&&(xt=[xt[0]&2,ft.value]),xt[0]){case 0:case 1:ft=xt;break;case 4:return Ye.label++,{value:xt[1],done:!1};case 5:Ye.label++,nt=xt[1],xt=[0];continue;case 7:xt=Ye.ops.pop(),Ye.trys.pop();continue;default:if(ft=Ye.trys,!(ft=ft.length>0&&ft[ft.length-1])&&(xt[0]===6||xt[0]===2)){Ye=0;continue}if(xt[0]===3&&(!ft||xt[1]>ft[0]&&xt[1]<ft[3])){Ye.label=xt[1];break}if(xt[0]===6&&Ye.label<ft[1]){Ye.label=ft[1],ft=xt;break}if(ft&&Ye.label<ft[2]){Ye.label=ft[2],Ye.ops.push(xt);break}ft[2]&&Ye.ops.pop(),Ye.trys.pop();continue}xt=Le.call(Be,Ye)}catch(yt){xt=[6,yt],nt=0}finally{tt=ft=0}if(xt[0]&5)throw xt[1];return{value:xt[0]?xt[1]:void 0,done:!0}}};Object.defineProperty(WebRtcStats$1,"__esModule",{value:!0}),WebRtcStats$1.WebRtcStats=void 0;var OpenViduLogger_1$4=OpenViduLogger$1,Platform_1$2=Platform,logger$4=OpenViduLogger_1$4.OpenViduLogger.getInstance(),platform$4,WebRtcStats=function(){function Be(Le){this.stream=Le,this.STATS_ITEM_NAME="webrtc-stats-config",this.webRtcStatsEnabled=!1,this.statsInterval=1,platform$4=Platform_1$2.PlatformUtils.getInstance()}return Be.prototype.isEnabled=function(){return this.webRtcStatsEnabled},Be.prototype.initWebRtcStats=function(){var Le=this,Ye;try{Ye=localStorage.getItem(this.STATS_ITEM_NAME)}catch{}if(Ye){this.webRtcStatsEnabled=!0;var tt=JSON.parse(Ye);logger$4.warn("WebRtc stats enabled for stream "+this.stream.streamId+" of connection "+this.stream.connection.connectionId),logger$4.warn("localStorage item: "+JSON.stringify(tt)),this.POST_URL=tt.httpEndpoint,this.statsInterval=tt.interval,this.webRtcStatsIntervalId=setInterval(function(){return __awaiter$5(Le,void 0,void 0,function(){return __generator$4(this,function(nt){switch(nt.label){case 0:return[4,this.sendStatsToHttpEndpoint()];case 1:return nt.sent(),[2]}})})},this.statsInterval*1e3)}else logger$4.debug("WebRtc stats not enabled")},Be.prototype.getSelectedIceCandidateInfo=function(){var Le=this;return new Promise(function(Ye,tt){return __awaiter$5(Le,void 0,void 0,function(){var nt,ft,ht,gt,At,xt,yt,Ct,Et,vt,kt,bt,wt,It,Pt,Dt,Rt,Tt,Wt,Bt,Pt,Dt,Ot,Lt,Wt;return __generator$4(this,function($t){switch($t.label){case 0:return[4,this.stream.getRTCPeerConnection().getStats()];case 1:if(nt=$t.sent(),ht=new Map,gt=new Map,At=new Map,nt.forEach(function(qt){switch(qt.type==="transport"&&(platform$4.isChromium()||platform$4.isSafariBrowser()||platform$4.isReactNative())&&(ft=qt),qt.type){case"candidate-pair":ht.set(qt.id,qt);break;case"local-candidate":gt.set(qt.id,qt);break;case"remote-candidate":At.set(qt.id,qt);break}}),ft!=null)yt=ft.selectedCandidatePairId,xt=ht.get(yt);else for(Ct=ht.size,Et=ht.values(),vt=0;vt<Ct;vt++)if(kt=Et.next().value,kt.selected){xt=kt;break}if(bt=xt.localCandidateId,wt=xt.remoteCandidateId,It=gt.get(bt),It)for(Pt=this.stream.getLocalIceCandidateList(),Dt=Pt.filter(function(qt){return!!qt.candidate&&(qt.candidate.indexOf(It.ip)>=0||qt.candidate.indexOf(It.address)>=0)&&qt.candidate.indexOf(It.port)>=0}),It.raw=[],Rt=0,Tt=Dt;Rt<Tt.length;Rt++)Wt=Tt[Rt],It.raw.push(Wt.candidate);else It="ERROR: No active local ICE candidate. Probably ICE-TCP is being used";if(Bt=At.get(wt),Bt)for(Pt=this.stream.getRemoteIceCandidateList(),Dt=Pt.filter(function(qt){return!!qt.candidate&&(qt.candidate.indexOf(Bt.ip)>=0||qt.candidate.indexOf(Bt.address)>=0)&&qt.candidate.indexOf(Bt.port)>=0}),Bt.raw=[],Ot=0,Lt=Dt;Ot<Lt.length;Ot++)Wt=Lt[Ot],Bt.raw.push(Wt.candidate);else Bt="ERROR: No active remote ICE candidate. Probably ICE-TCP is being used";return[2,Ye({localCandidate:It,remoteCandidate:Bt})]}})})})},Be.prototype.stopWebRtcStats=function(){this.webRtcStatsEnabled&&(clearInterval(this.webRtcStatsIntervalId),logger$4.warn("WebRtc stats stopped for disposed stream "+this.stream.streamId+" of connection "+this.stream.connection.connectionId))},Be.prototype.sendStats=function(Le,Ye){return __awaiter$5(this,void 0,void 0,function(){var tt,nt;return __generator$4(this,function(ft){switch(ft.label){case 0:return ft.trys.push([0,2,,3]),tt={headers:{"Content-type":"application/json"},body:JSON.stringify(Ye),method:"POST"},[4,fetch(Le,tt)];case 1:return ft.sent(),[3,3];case 2:return nt=ft.sent(),logger$4.error("sendStats error: ".concat(JSON.stringify(nt))),[3,3];case 3:return[2]}})})},Be.prototype.sendStatsToHttpEndpoint=function(){return __awaiter$5(this,void 0,void 0,function(){var Le,Ye,tt;return __generator$4(this,function(nt){switch(nt.label){case 0:return nt.trys.push([0,3,,4]),[4,this.getCommonStats()];case 1:return Le=nt.sent(),Ye=this.generateJSONStatsResponse(Le),[4,this.sendStats(this.POST_URL,Ye)];case 2:return nt.sent(),[3,4];case 3:return tt=nt.sent(),logger$4.log(tt),[3,4];case 4:return[2]}})})},Be.prototype.getCommonStats=function(){return __awaiter$5(this,void 0,void 0,function(){var Le=this;return __generator$4(this,function(Ye){return[2,new Promise(function(tt,nt){return __awaiter$5(Le,void 0,void 0,function(){var ft,ht,gt,At,xt,yt=this;return __generator$4(this,function(Ct){switch(Ct.label){case 0:return Ct.trys.push([0,2,,3]),[4,this.stream.getRTCPeerConnection().getStats()];case 1:return ft=Ct.sent(),ht=this.getWebRtcStatsResponseOutline(),gt=["framesReceived","framesDropped","framesSent","frameHeight","frameWidth"],At=["availableOutgoingBitrate","currentRoundTripTime"],ft.forEach(function(Et){var vt=Et.mediaType!=null?Et.mediaType:Et.kind,kt=function(bt,wt){Et[wt]!=null&&ht[bt]!=null&&(!vt&&gt.indexOf(wt)>-1&&(vt="video"),bt!=null&&vt!=null&&wt!=null&&ht[bt][vt]!=null?ht[bt][vt][wt]=Number(Et[wt]):bt!=null&&wt!=null&&At.includes(wt)&&(ht[bt][wt]=Number(Et[wt])))};switch(Et.type){case"outbound-rtp":kt("outbound","bytesSent"),kt("outbound","packetsSent"),kt("outbound","framesEncoded"),kt("outbound","nackCount"),kt("outbound","firCount"),kt("outbound","pliCount"),kt("outbound","qpSum");break;case"inbound-rtp":kt("inbound","bytesReceived"),kt("inbound","packetsReceived"),kt("inbound","packetsLost"),kt("inbound","jitter"),kt("inbound","framesDecoded"),kt("inbound","nackCount"),kt("inbound","firCount"),kt("inbound","pliCount");break;case"track":kt("inbound","jitterBufferDelay"),kt("inbound","framesReceived"),kt("outbound","framesDropped"),kt("outbound","framesSent"),kt(yt.stream.isLocal()?"outbound":"inbound","frameHeight"),kt(yt.stream.isLocal()?"outbound":"inbound","frameWidth");break;case"candidate-pair":kt("candidatepair","currentRoundTripTime"),kt("candidatepair","availableOutgoingBitrate");break}}),(!(ht!=null&&ht.candidatepair)||Object.keys(ht.candidatepair).length===0)&&delete ht.candidatepair,[2,tt(ht)];case 2:return xt=Ct.sent(),logger$4.error("Error getting common stats: ",xt),[2,nt(xt)];case 3:return[2]}})})})]})})},Be.prototype.generateJSONStatsResponse=function(Le){return{"@timestamp":new Date().toISOString(),participant_id:this.stream.connection.data,session_id:this.stream.session.sessionId,platform:platform$4.getName(),platform_description:platform$4.getDescription(),stream:"webRTC",webrtc_stats:Le}},Be.prototype.getWebRtcStatsResponseOutline=function(){return this.stream.isLocal()?{outbound:{audio:{},video:{}},candidatepair:{}}:{inbound:{audio:{},video:{}}}},Be}();WebRtcStats$1.WebRtcStats=WebRtcStats;var PublisherSpeakingEvent$1={},__extends$1j=commonjsGlobal&&commonjsGlobal.__extends||function(){var Be=function(Le,Ye){return Be=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(tt,nt){tt.__proto__=nt}||function(tt,nt){for(var ft in nt)Object.prototype.hasOwnProperty.call(nt,ft)&&(tt[ft]=nt[ft])},Be(Le,Ye)};return function(Le,Ye){if(typeof Ye!="function"&&Ye!==null)throw new TypeError("Class extends value "+String(Ye)+" is not a constructor or null");Be(Le,Ye);function tt(){this.constructor=Le}Le.prototype=Ye===null?Object.create(Ye):(tt.prototype=Ye.prototype,new tt)}}();Object.defineProperty(PublisherSpeakingEvent$1,"__esModule",{value:!0}),PublisherSpeakingEvent$1.PublisherSpeakingEvent=void 0;var Event_1$8=Event$2,PublisherSpeakingEvent=function(Be){__extends$1j(Le,Be);function Le(Ye,tt,nt,ft){var ht=Be.call(this,!1,Ye,tt)||this;return ht.type=tt,ht.connection=nt,ht.streamId=ft,ht}return Le.prototype.callDefaultBehavior=function(){},Le}(Event_1$8.Event);PublisherSpeakingEvent$1.PublisherSpeakingEvent=PublisherSpeakingEvent;var TypeOfVideo={};(function(Be){Object.defineProperty(Be,"__esModule",{value:!0}),Be.TypeOfVideo=void 0,function(Le){Le.CAMERA="CAMERA",Le.SCREEN="SCREEN",Le.CUSTOM="CUSTOM",Le.IPCAM="IPCAM"}(Be.TypeOfVideo||(Be.TypeOfVideo={}))})(TypeOfVideo);var wildemitter=WildEmitter$1;function WildEmitter$1(){}WildEmitter$1.mixin=function(Be){var Le=Be.prototype||Be;Le.isWildEmitter=!0,Le.on=function(Ye,tt,nt){this.callbacks=this.callbacks||{};var ft=arguments.length===3,ht=ft?arguments[1]:void 0,gt=ft?arguments[2]:arguments[1];return gt._groupName=ht,(this.callbacks[Ye]=this.callbacks[Ye]||[]).push(gt),this},Le.once=function(Ye,tt,nt){var ft=this,ht=arguments.length===3,gt=ht?arguments[1]:void 0,At=ht?arguments[2]:arguments[1];function xt(){ft.off(Ye,xt),At.apply(this,arguments)}return this.on(Ye,gt,xt),this},Le.releaseGroup=function(Ye){this.callbacks=this.callbacks||{};var tt,nt,ft,ht;for(tt in this.callbacks)for(ht=this.callbacks[tt],nt=0,ft=ht.length;nt<ft;nt++)ht[nt]._groupName===Ye&&(ht.splice(nt,1),nt--,ft--);return this},Le.off=function(Ye,tt){this.callbacks=this.callbacks||{};var nt=this.callbacks[Ye],ft;return nt?arguments.length===1?(delete this.callbacks[Ye],this):(ft=nt.indexOf(tt),ft!==-1&&(nt.splice(ft,1),nt.length===0&&delete this.callbacks[Ye]),this):this},Le.emit=function(Ye){this.callbacks=this.callbacks||{};var tt=[].slice.call(arguments,1),nt=this.callbacks[Ye],ft=this.getWildcardCallbacks(Ye),ht,gt,At;if(nt)for(At=nt.slice(),ht=0,gt=At.length;ht<gt&&At[ht];++ht)At[ht].apply(this,tt);if(ft)for(gt=ft.length,At=ft.slice(),ht=0,gt=At.length;ht<gt&&At[ht];++ht)At[ht].apply(this,[Ye].concat(tt));return this},Le.getWildcardCallbacks=function(Ye){this.callbacks=this.callbacks||{};var tt,nt,ft=[];for(tt in this.callbacks)nt=tt.split("*"),(tt==="*"||nt.length===2&&Ye.slice(0,nt[0].length)===nt[0])&&(ft=ft.concat(this.callbacks[tt]));return ft}},WildEmitter$1.mixin(WildEmitter$1);var WildEmitter=wildemitter;function getMaxVolume(Be,Le){var Ye=-1/0;Be.getFloatFrequencyData(Le);for(var tt=4,nt=Le.length;tt<nt;tt++)Le[tt]>Ye&&Le[tt]<0&&(Ye=Le[tt]);return Ye}var audioContextType;typeof window<"u"&&(audioContextType=window.AudioContext||window.webkitAudioContext);var audioContext=null,hark$1=function(Be,tt){var Ye=new WildEmitter;if(!audioContextType)return Ye;var tt=tt||{},nt=tt.smoothing||.1,ft=tt.interval||50,ht=tt.threshold,gt=tt.play,At=tt.history||10,xt=!0;audioContext=tt.audioContext||audioContext||new audioContextType;var yt,Ct,Et;Et=audioContext.createAnalyser(),Et.fftSize=512,Et.smoothingTimeConstant=nt,Ct=new Float32Array(Et.frequencyBinCount),Be.jquery&&(Be=Be[0]),Be instanceof HTMLAudioElement||Be instanceof HTMLVideoElement?(yt=audioContext.createMediaElementSource(Be),typeof gt>"u"&&(gt=!0),ht=ht||-50):(yt=audioContext.createMediaStreamSource(Be),ht=ht||-50),yt.connect(Et),gt&&Et.connect(audioContext.destination),Ye.speaking=!1,Ye.suspend=function(){return audioContext.suspend()},Ye.resume=function(){return audioContext.resume()},Object.defineProperty(Ye,"state",{get:function(){return audioContext.state}}),audioContext.onstatechange=function(){Ye.emit("state_change",audioContext.state)},Ye.setThreshold=function(bt){ht=bt},Ye.setInterval=function(bt){ft=bt},Ye.stop=function(){xt=!1,Ye.emit("volume_change",-100,ht),Ye.speaking&&(Ye.speaking=!1,Ye.emit("stopped_speaking")),Et.disconnect(),yt.disconnect()},Ye.speakingHistory=[];for(var vt=0;vt<At;vt++)Ye.speakingHistory.push(0);var kt=function(){setTimeout(function(){if(xt){var bt=getMaxVolume(Et,Ct);Ye.emit("volume_change",bt,ht);var wt=0;if(bt>ht&&!Ye.speaking){for(var It=Ye.speakingHistory.length-3;It<Ye.speakingHistory.length;It++)wt+=Ye.speakingHistory[It];wt>=2&&(Ye.speaking=!0,Ye.emit("speaking"))}else if(bt<ht&&Ye.speaking){for(var It=0;It<Ye.speakingHistory.length;It++)wt+=Ye.speakingHistory[It];wt==0&&(Ye.speaking=!1,Ye.emit("stopped_speaking"))}Ye.speakingHistory.shift(),Ye.speakingHistory.push(0+(bt>ht)),kt()}},ft)};return kt(),Ye},__awaiter$4=commonjsGlobal&&commonjsGlobal.__awaiter||function(Be,Le,Ye,tt){function nt(ft){return ft instanceof Ye?ft:new Ye(function(ht){ht(ft)})}return new(Ye||(Ye=Promise))(function(ft,ht){function gt(yt){try{xt(tt.next(yt))}catch(Ct){ht(Ct)}}function At(yt){try{xt(tt.throw(yt))}catch(Ct){ht(Ct)}}function xt(yt){yt.done?ft(yt.value):nt(yt.value).then(gt,At)}xt((tt=tt.apply(Be,Le||[])).next())})},__generator$3=commonjsGlobal&&commonjsGlobal.__generator||function(Be,Le){var Ye={label:0,sent:function(){if(ft[0]&1)throw ft[1];return ft[1]},trys:[],ops:[]},tt,nt,ft,ht;return ht={next:gt(0),throw:gt(1),return:gt(2)},typeof Symbol=="function"&&(ht[Symbol.iterator]=function(){return this}),ht;function gt(xt){return function(yt){return At([xt,yt])}}function At(xt){if(tt)throw new TypeError("Generator is already executing.");for(;ht&&(ht=0,xt[0]&&(Ye=0)),Ye;)try{if(tt=1,nt&&(ft=xt[0]&2?nt.return:xt[0]?nt.throw||((ft=nt.return)&&ft.call(nt),0):nt.next)&&!(ft=ft.call(nt,xt[1])).done)return ft;switch(nt=0,ft&&(xt=[xt[0]&2,ft.value]),xt[0]){case 0:case 1:ft=xt;break;case 4:return Ye.label++,{value:xt[1],done:!1};case 5:Ye.label++,nt=xt[1],xt=[0];continue;case 7:xt=Ye.ops.pop(),Ye.trys.pop();continue;default:if(ft=Ye.trys,!(ft=ft.length>0&&ft[ft.length-1])&&(xt[0]===6||xt[0]===2)){Ye=0;continue}if(xt[0]===3&&(!ft||xt[1]>ft[0]&&xt[1]<ft[3])){Ye.label=xt[1];break}if(xt[0]===6&&Ye.label<ft[1]){Ye.label=ft[1],ft=xt;break}if(ft&&Ye.label<ft[2]){Ye.label=ft[2],Ye.ops.push(xt);break}ft[2]&&Ye.ops.pop(),Ye.trys.pop();continue}xt=Le.call(Be,Ye)}catch(yt){xt=[6,yt],nt=0}finally{tt=ft=0}if(xt[0]&5)throw xt[1];return{value:xt[0]?xt[1]:void 0,done:!0}}};Object.defineProperty(Stream$2,"__esModule",{value:!0}),Stream$2.Stream=void 0;var Filter_1=Filter$1,Subscriber_1=Subscriber$1,WebRtcPeer_1=WebRtcPeer$1,WebRtcStats_1=WebRtcStats$1,ExceptionEvent_1$1=ExceptionEvent,PublisherSpeakingEvent_1=PublisherSpeakingEvent$1,StreamManagerEvent_1=StreamManagerEvent$1,StreamPropertyChangedEvent_1$1=StreamPropertyChangedEvent$1,OpenViduError_1$1=OpenViduError,TypeOfVideo_1=TypeOfVideo,OpenViduLogger_1$3=OpenViduLogger$1,Platform_1$1=Platform,uuid_1=commonjsBrowser,hark=hark$1,EventEmitter$2=EventEmitterExports,logger$3=OpenViduLogger_1$3.OpenViduLogger.getInstance(),platform$3,Stream$1=function(){function Be(Le,Ye){var tt=this;this.isSubscribeToRemote=!1,this.isLocalStreamReadyToPublish=!1,this.isLocalStreamPublished=!1,this.publishedOnce=!1,this.harkSpeakingEnabled=!1,this.harkSpeakingEnabledOnce=!1,this.harkStoppedSpeakingEnabled=!1,this.harkStoppedSpeakingEnabledOnce=!1,this.harkVolumeChangeEnabled=!1,this.harkVolumeChangeEnabledOnce=!1,this.ee=new EventEmitter$2,platform$3=Platform_1$1.PlatformUtils.getInstance(),this.session=Le,Ye.hasOwnProperty("id")?(this.inboundStreamOpts=Ye,this.streamId=this.inboundStreamOpts.id,this.creationTime=this.inboundStreamOpts.createdAt,this.hasAudio=this.inboundStreamOpts.hasAudio,this.hasVideo=this.inboundStreamOpts.hasVideo,this.hasAudio&&(this.audioActive=this.inboundStreamOpts.audioActive),this.hasVideo&&(this.videoActive=this.inboundStreamOpts.videoActive,this.typeOfVideo=this.inboundStreamOpts.typeOfVideo?this.inboundStreamOpts.typeOfVideo:void 0,this.frameRate=this.inboundStreamOpts.frameRate===-1?void 0:this.inboundStreamOpts.frameRate,this.videoDimensions=this.inboundStreamOpts.videoDimensions),this.inboundStreamOpts.filter&&Object.keys(this.inboundStreamOpts.filter).length>0&&(this.inboundStreamOpts.filter.lastExecMethod&&Object.keys(this.inboundStreamOpts.filter.lastExecMethod).length===0&&delete this.inboundStreamOpts.filter.lastExecMethod,this.filter=this.inboundStreamOpts.filter)):(this.outboundStreamOpts=Ye,this.hasAudio=this.isSendAudio(),this.hasVideo=this.isSendVideo(),this.hasAudio&&(this.audioActive=!!this.outboundStreamOpts.publisherProperties.publishAudio),this.hasVideo&&(this.videoActive=!!this.outboundStreamOpts.publisherProperties.publishVideo,this.frameRate=this.outboundStreamOpts.publisherProperties.frameRate,typeof MediaStreamTrack<"u"&&this.outboundStreamOpts.publisherProperties.videoSource instanceof MediaStreamTrack?this.typeOfVideo=TypeOfVideo_1.TypeOfVideo.CUSTOM:this.typeOfVideo=this.isSendScreen()?TypeOfVideo_1.TypeOfVideo.SCREEN:TypeOfVideo_1.TypeOfVideo.CAMERA),this.outboundStreamOpts.publisherProperties.filter&&(this.filter=this.outboundStreamOpts.publisherProperties.filter)),this.ee.on("mediastream-updated",function(){var nt;tt.streamManager.updateMediaStream(tt.mediaStream),logger$3.debug("Video srcObject ["+((nt=tt.mediaStream)===null||nt===void 0?void 0:nt.id)+"] updated in stream ["+tt.streamId+"]")})}return Be.prototype.reconnect=function(){return this.reconnectStream("API")},Be.prototype.applyFilter=function(Le,Ye){var tt=this;return new Promise(function(nt,ft){return __awaiter$4(tt,void 0,void 0,function(){var ht,gt,At,xt,yt,Ct,Et=this;return __generator$3(this,function(vt){if(this.filter)return[2,ft(new OpenViduError_1$1.OpenViduError(OpenViduError_1$1.OpenViduErrorName.GENERIC_ERROR,"There is already a filter applied to Stream "+this.streamId))];if(ht=function(kt,bt){if(kt)return logger$3.error("Error applying filter for Stream "+Et.streamId,kt),kt.code===401?ft(new OpenViduError_1$1.OpenViduError(OpenViduError_1$1.OpenViduErrorName.OPENVIDU_PERMISSION_DENIED,"You don't have permissions to apply a filter")):ft(kt);logger$3.info("Filter successfully applied on Stream "+Et.streamId);var wt=Et.filter;return Et.filter=new Filter_1.Filter(Le,Ye),Et.filter.stream=Et,bt&&(Et.session.emitEvent("streamPropertyChanged",[new StreamPropertyChangedEvent_1$1.StreamPropertyChangedEvent(Et.session,Et,"filter",Et.filter,wt,"applyFilter")]),Et.streamManager.emitEvent("streamPropertyChanged",[new StreamPropertyChangedEvent_1$1.StreamPropertyChangedEvent(Et.streamManager,Et,"filter",Et.filter,wt,"applyFilter")])),nt(Et.filter)},Le.startsWith("VB:")){if(!this.hasVideo)return[2,ft(new OpenViduError_1$1.OpenViduError(OpenViduError_1$1.OpenViduErrorName.VIRTUAL_BACKGROUND_ERROR,"The Virtual Background filter requires a video track to be applied"))];if(!this.mediaStream||this.streamManager.videos.length===0)return[2,ft(new OpenViduError_1$1.OpenViduError(OpenViduError_1$1.OpenViduErrorName.VIRTUAL_BACKGROUND_ERROR,"The StreamManager requires some video element to be attached to it in order to apply a Virtual Background filter"))];if(this.session.token?gt=this.session.token:gt=Ye.token,!gt)return[2,ft(new OpenViduError_1$1.OpenViduError(OpenViduError_1$1.OpenViduErrorName.VIRTUAL_BACKGROUND_ERROR,'Virtual Background requires the client to be connected to a Session or to have a "token" property available in "options" parameter with a valid OpenVidu token'))];if(At=this.session.getTokenParams(gt),At.edition!=="pro"&&At.edition!=="enterprise")return[2,ft(new OpenViduError_1$1.OpenViduError(OpenViduError_1$1.OpenViduErrorName.VIRTUAL_BACKGROUND_ERROR,"OpenVidu Virtual Background API is available from OpenVidu Pro edition onwards"))];gt=encodeURIComponent(btoa(gt)),logger$3.info("Applying Virtual Background to stream "+this.streamId),xt=function(){return __awaiter$4(Et,void 0,void 0,function(){var kt,bt,wt,It,Rt,Tt,Bt;return __generator$3(this,function(Pt){switch(Pt.label){case 0:return Pt.trys.push([0,8,,9]),kt=this.streamId+"_"+(0,uuid_1.v4)(),bt=this.mediaStream.clone(),wt=this.streamManager.videos[0].video.cloneNode(!1),wt.id=VirtualBackground.VirtualBackground.SOURCE_VIDEO_PREFIX+kt,wt.srcObject=bt,wt.muted=!0,this.virtualBackgroundSourceElements={videoClone:wt,mediaStreamClone:bt},VirtualBackground.VirtualBackground.hideHtmlElement(wt,!1),VirtualBackground.VirtualBackground.appendHtmlElementToHiddenContainer(wt,kt),[4,wt.play()];case 1:switch(Pt.sent(),It=new VirtualBackground.VirtualBackground({id:kt,openviduServerUrl:new URL(At.httpUri),openviduToken:gt,inputVideo:wt,inputResolution:"160x96",outputFramerate:24}),Rt=void 0,Tt=Le,Tt){case"VB:blur":return[3,2];case"VB:image":return[3,4]}return[3,6];case 2:return[4,It.backgroundBlur(Ye)];case 3:return Rt=Pt.sent(),[3,7];case 4:return[4,It.backgroundImage(Ye)];case 5:return Rt=Pt.sent(),[3,7];case 6:throw new Error("Unknown Virtual Background filter: "+Le);case 7:return this.virtualBackgroundSinkElements={VB:It,video:Rt},wt.style.display="none",this.streamManager.remote?this.streamManager.replaceTrackInMediaStream(this.virtualBackgroundSinkElements.video.srcObject.getVideoTracks()[0],!1):this.streamManager.replaceTrackAux(this.virtualBackgroundSinkElements.video.srcObject.getVideoTracks()[0],!1),ht(void 0,!1),[3,9];case 8:return Bt=Pt.sent(),Bt.name===OpenViduError_1$1.OpenViduErrorName.VIRTUAL_BACKGROUND_ERROR?ht(new OpenViduError_1$1.OpenViduError(OpenViduError_1$1.OpenViduErrorName.VIRTUAL_BACKGROUND_ERROR,Bt.message),!1):ht(Bt,!1),[3,9];case 9:return[2]}})})},typeof VirtualBackground>"u"?(yt=document.createElement("script"),yt.type="text/javascript",yt.src=At.httpUri+"/openvidu/virtual-background/openvidu-virtual-background.js?token="+gt,yt.onload=function(){return __awaiter$4(Et,void 0,void 0,function(){var kt;return __generator$3(this,function(bt){switch(bt.label){case 0:return bt.trys.push([0,2,,3]),[4,xt()];case 1:return bt.sent(),nt(new Filter_1.Filter(Le,Ye)),[3,3];case 2:return kt=bt.sent(),ft(kt),[3,3];case 3:return[2]}})})},document.body.appendChild(yt)):xt().then(function(){return nt(new Filter_1.Filter(Le,Ye))}).catch(function(kt){return ft(kt)})}else{if(!this.session.sessionConnected())return[2,ft(this.session.notConnectedError())];logger$3.info("Applying server filter to stream "+this.streamId),Ye=Ye??{},Ct=Ye,typeof Ct!="string"&&(Ct=JSON.stringify(Ct)),this.session.openvidu.sendRequest("applyFilter",{streamId:this.streamId,type:Le,options:Ct},function(kt,bt){ht(kt,!0)})}return[2]})})})},Be.prototype.removeFilter=function(){return __awaiter$4(this,void 0,void 0,function(){return __generator$3(this,function(Le){switch(Le.label){case 0:return[4,this.removeFilterAux(!1)];case 1:return[2,Le.sent()]}})})},Be.prototype.getRTCPeerConnection=function(){return this.webRtcPeer.pc},Be.prototype.getMediaStream=function(){return this.mediaStream},Be.prototype.removeFilterAux=function(Le){var Ye=this;return new Promise(function(tt,nt){return __awaiter$4(Ye,void 0,void 0,function(){var ft,ht,gt,At=this,xt;return __generator$3(this,function(yt){switch(yt.label){case 0:if(ft=function(Ct,Et){if(Ct)return delete At.filter,logger$3.error("Error removing filter for Stream "+At.streamId,Ct),Ct.code===401?nt(new OpenViduError_1$1.OpenViduError(OpenViduError_1$1.OpenViduErrorName.OPENVIDU_PERMISSION_DENIED,"You don't have permissions to remove a filter")):nt(Ct);logger$3.info("Filter successfully removed from Stream "+At.streamId);var vt=At.filter;return delete At.filter,Et&&(At.session.emitEvent("streamPropertyChanged",[new StreamPropertyChangedEvent_1$1.StreamPropertyChangedEvent(At.session,At,"filter",At.filter,vt,"applyFilter")]),At.streamManager.emitEvent("streamPropertyChanged",[new StreamPropertyChangedEvent_1$1.StreamPropertyChangedEvent(At.streamManager,At,"filter",At.filter,vt,"applyFilter")])),tt()},!this.filter)return[3,11];if(!(!((xt=this.filter)===null||xt===void 0)&&xt.type.startsWith("VB:")))return[3,9];yt.label=1;case 1:return yt.trys.push([1,7,,8]),ht=this.virtualBackgroundSourceElements.mediaStreamClone,Le?[3,5]:this.streamManager.remote?(this.streamManager.replaceTrackInMediaStream(ht.getVideoTracks()[0],!1),[3,4]):[3,2];case 2:return[4,this.streamManager.replaceTrackAux(ht.getVideoTracks()[0],!1)];case 3:yt.sent(),yt.label=4;case 4:return[3,6];case 5:ht.getTracks().forEach(function(Ct){return Ct.stop()}),yt.label=6;case 6:return this.virtualBackgroundSinkElements.VB.cleanUp(),delete this.virtualBackgroundSinkElements,delete this.virtualBackgroundSourceElements,[2,ft(void 0,!1)];case 7:return gt=yt.sent(),[2,ft(gt,!1)];case 8:return[3,10];case 9:if(!this.session.sessionConnected())return[2,nt(this.session.notConnectedError())];logger$3.info("Removing filter of stream "+this.streamId),this.session.openvidu.sendRequest("removeFilter",{streamId:this.streamId},function(Ct,Et){return ft(Ct,!0)}),yt.label=10;case 10:return[3,12];case 11:return[2,nt(new OpenViduError_1$1.OpenViduError(OpenViduError_1$1.OpenViduErrorName.GENERIC_ERROR,"Stream "+this.streamId+" has no filter applied"))];case 12:return[2]}})})})},Be.prototype.setMediaStream=function(Le){this.mediaStream=Le},Be.prototype.updateMediaStreamInVideos=function(){this.ee.emitEvent("mediastream-updated",[])},Be.prototype.getWebRtcPeer=function(){return this.webRtcPeer},Be.prototype.subscribeToMyRemote=function(Le){this.isSubscribeToRemote=Le},Be.prototype.setOutboundStreamOptions=function(Le){this.outboundStreamOpts=Le},Be.prototype.subscribe=function(){var Le=this;return new Promise(function(Ye,tt){Le.initWebRtcPeerReceive(!1).then(function(){return Ye()}).catch(function(nt){return tt(nt)})})},Be.prototype.publish=function(){var Le=this;return new Promise(function(Ye,tt){Le.isLocalStreamReadyToPublish?Le.initWebRtcPeerSend(!1).then(function(){return Ye()}).catch(function(nt){return tt(nt)}):Le.ee.once("stream-ready-to-publish",function(){Le.publish().then(function(){return Ye()}).catch(function(nt){return tt(nt)})})})},Be.prototype.disposeWebRtcPeer=function(){var Le;this.webRtcPeer&&(this.webRtcPeer.dispose(),Le=this.webRtcPeer.getId()),this.stopWebRtcStats(),logger$3.info((this.outboundStreamOpts?"Outbound ":"Inbound ")+"RTCPeerConnection with id ["+Le+"] from 'Stream' with id ["+this.streamId+"] is now closed")},Be.prototype.disposeMediaStream=function(){return __awaiter$4(this,void 0,void 0,function(){var Le;return __generator$3(this,function(Ye){switch(Ye.label){case 0:if(!(this.filter&&this.filter.type.startsWith("VB:")))return[3,4];Ye.label=1;case 1:return Ye.trys.push([1,3,,4]),[4,this.removeFilterAux(!0)];case 2:return Ye.sent(),console.debug("Success removing Virtual Background filter for stream ".concat(this.streamId)),[3,4];case 3:return Le=Ye.sent(),console.error("Error removing Virtual Background filter for stream ".concat(this.streamId),Le),[3,4];case 4:return this.mediaStream&&(this.mediaStream.getAudioTracks().forEach(function(tt){tt.stop()}),this.mediaStream.getVideoTracks().forEach(function(tt){tt.stop()}),delete this.mediaStream),this.localMediaStreamWhenSubscribedToRemote&&(this.localMediaStreamWhenSubscribedToRemote.getAudioTracks().forEach(function(tt){tt.stop()}),this.localMediaStreamWhenSubscribedToRemote.getVideoTracks().forEach(function(tt){tt.stop()}),delete this.localMediaStreamWhenSubscribedToRemote),this.speechEvent&&(this.speechEvent.stop&&this.speechEvent.stop(),delete this.speechEvent),logger$3.info((this.outboundStreamOpts?"Local ":"Remote ")+"MediaStream from 'Stream' with id ["+this.streamId+"] is now disposed"),[2]}})})},Be.prototype.displayMyRemote=function(){return this.isSubscribeToRemote},Be.prototype.isSendAudio=function(){return!!this.outboundStreamOpts&&this.outboundStreamOpts.publisherProperties.audioSource!==null&&this.outboundStreamOpts.publisherProperties.audioSource!==!1},Be.prototype.isSendVideo=function(){return!!this.outboundStreamOpts&&this.outboundStreamOpts.publisherProperties.videoSource!==null&&this.outboundStreamOpts.publisherProperties.videoSource!==!1},Be.prototype.isSendScreen=function(){var Le=!1;if(typeof MediaStreamTrack<"u"&&this.outboundStreamOpts.publisherProperties.videoSource instanceof MediaStreamTrack){var Ye=this.outboundStreamOpts.publisherProperties.videoSource.getSettings();Ye.displaySurface&&(Le=["monitor","window","browser"].includes(Ye.displaySurface))}return!Le&&platform$3.isElectron()&&(Le=typeof this.outboundStreamOpts.publisherProperties.videoSource=="string"&&this.outboundStreamOpts.publisherProperties.videoSource.startsWith("screen:")),Le||(Le=this.outboundStreamOpts.publisherProperties.videoSource==="screen"),!!this.outboundStreamOpts&&Le},Be.prototype.enableHarkSpeakingEvent=function(){var Le=this;this.setHarkListenerIfNotExists(),!this.harkSpeakingEnabled&&this.speechEvent&&(this.harkSpeakingEnabled=!0,this.speechEvent.on("speaking",function(){Le.session.emitEvent("publisherStartSpeaking",[new PublisherSpeakingEvent_1.PublisherSpeakingEvent(Le.session,"publisherStartSpeaking",Le.connection,Le.streamId)]),Le.streamManager.emitEvent("publisherStartSpeaking",[new PublisherSpeakingEvent_1.PublisherSpeakingEvent(Le.streamManager,"publisherStartSpeaking",Le.connection,Le.streamId)]),Le.harkSpeakingEnabledOnce=!1}))},Be.prototype.enableOnceHarkSpeakingEvent=function(){var Le=this;this.setHarkListenerIfNotExists(),!this.harkSpeakingEnabledOnce&&this.speechEvent&&(this.harkSpeakingEnabledOnce=!0,this.speechEvent.once("speaking",function(){Le.harkSpeakingEnabledOnce&&(Le.session.emitEvent("publisherStartSpeaking",[new PublisherSpeakingEvent_1.PublisherSpeakingEvent(Le.session,"publisherStartSpeaking",Le.connection,Le.streamId)]),Le.streamManager.emitEvent("publisherStartSpeaking",[new PublisherSpeakingEvent_1.PublisherSpeakingEvent(Le.streamManager,"publisherStartSpeaking",Le.connection,Le.streamId)])),Le.disableHarkSpeakingEvent(!0)}))},Be.prototype.disableHarkSpeakingEvent=function(Le){if(this.speechEvent){if(this.harkSpeakingEnabledOnce=!1,Le){if(this.harkSpeakingEnabled)return}else this.harkSpeakingEnabled=!1;this.harkVolumeChangeEnabled||this.harkVolumeChangeEnabledOnce||this.harkStoppedSpeakingEnabled||this.harkStoppedSpeakingEnabledOnce?this.speechEvent.off("speaking"):(this.speechEvent.stop(),delete this.speechEvent)}},Be.prototype.enableHarkStoppedSpeakingEvent=function(){var Le=this;this.setHarkListenerIfNotExists(),!this.harkStoppedSpeakingEnabled&&this.speechEvent&&(this.harkStoppedSpeakingEnabled=!0,this.speechEvent.on("stopped_speaking",function(){Le.session.emitEvent("publisherStopSpeaking",[new PublisherSpeakingEvent_1.PublisherSpeakingEvent(Le.session,"publisherStopSpeaking",Le.connection,Le.streamId)]),Le.streamManager.emitEvent("publisherStopSpeaking",[new PublisherSpeakingEvent_1.PublisherSpeakingEvent(Le.streamManager,"publisherStopSpeaking",Le.connection,Le.streamId)]),Le.harkStoppedSpeakingEnabledOnce=!1}))},Be.prototype.enableOnceHarkStoppedSpeakingEvent=function(){var Le=this;this.setHarkListenerIfNotExists(),!this.harkStoppedSpeakingEnabledOnce&&this.speechEvent&&(this.harkStoppedSpeakingEnabledOnce=!0,this.speechEvent.once("stopped_speaking",function(){Le.harkStoppedSpeakingEnabledOnce&&(Le.session.emitEvent("publisherStopSpeaking",[new PublisherSpeakingEvent_1.PublisherSpeakingEvent(Le.session,"publisherStopSpeaking",Le.connection,Le.streamId)]),Le.streamManager.emitEvent("publisherStopSpeaking",[new PublisherSpeakingEvent_1.PublisherSpeakingEvent(Le.streamManager,"publisherStopSpeaking",Le.connection,Le.streamId)])),Le.disableHarkStoppedSpeakingEvent(!0)}))},Be.prototype.disableHarkStoppedSpeakingEvent=function(Le){if(this.speechEvent){if(this.harkStoppedSpeakingEnabledOnce=!1,Le){if(this.harkStoppedSpeakingEnabled)return}else this.harkStoppedSpeakingEnabled=!1;this.harkVolumeChangeEnabled||this.harkVolumeChangeEnabledOnce||this.harkSpeakingEnabled||this.harkSpeakingEnabledOnce?this.speechEvent.off("stopped_speaking"):(this.speechEvent.stop(),delete this.speechEvent)}},Be.prototype.enableHarkVolumeChangeEvent=function(Le){var Ye=this;this.setHarkListenerIfNotExists()?(!this.harkVolumeChangeEnabled||Le)&&(this.harkVolumeChangeEnabled=!0,this.speechEvent.on("volume_change",function(tt){var nt=Ye.speechEvent.oldVolumeValue,ft={newValue:tt,oldValue:nt};Ye.speechEvent.oldVolumeValue=tt,Ye.streamManager.emitEvent("streamAudioVolumeChange",[new StreamManagerEvent_1.StreamManagerEvent(Ye.streamManager,"streamAudioVolumeChange",ft)])})):this.harkVolumeChangeEnabled=!0},Be.prototype.enableOnceHarkVolumeChangeEvent=function(Le){var Ye=this;this.setHarkListenerIfNotExists()?(!this.harkVolumeChangeEnabledOnce||Le)&&(this.harkVolumeChangeEnabledOnce=!0,this.speechEvent.once("volume_change",function(tt){var nt=Ye.speechEvent.oldVolumeValue,ft={newValue:tt,oldValue:nt};Ye.speechEvent.oldVolumeValue=tt,Ye.disableHarkVolumeChangeEvent(!0),Ye.streamManager.emitEvent("streamAudioVolumeChange",[new StreamManagerEvent_1.StreamManagerEvent(Ye.streamManager,"streamAudioVolumeChange",ft)])})):this.harkVolumeChangeEnabledOnce=!0},Be.prototype.disableHarkVolumeChangeEvent=function(Le){if(this.speechEvent){if(this.harkVolumeChangeEnabledOnce=!1,Le){if(this.harkVolumeChangeEnabled)return}else this.harkVolumeChangeEnabled=!1;this.harkSpeakingEnabled||this.harkSpeakingEnabledOnce||this.harkStoppedSpeakingEnabled||this.harkStoppedSpeakingEnabledOnce?this.speechEvent.off("volume_change"):(this.speechEvent.stop(),delete this.speechEvent)}},Be.prototype.isLocal=function(){return!this.inboundStreamOpts&&!!this.outboundStreamOpts},Be.prototype.getSelectedIceCandidate=function(){var Le=this;return new Promise(function(Ye,tt){Le.webRtcStats.getSelectedIceCandidateInfo().then(function(nt){return Ye(nt)}).catch(function(nt){return tt(nt)})})},Be.prototype.getRemoteIceCandidateList=function(){return this.webRtcPeer.remoteCandidatesQueue},Be.prototype.getLocalIceCandidateList=function(){return this.webRtcPeer.localCandidatesQueue},Be.prototype.streamIceConnectionStateBroken=function(){if(!this.getWebRtcPeer()||!this.getRTCPeerConnection())return!1;if(this.session.openvidu.advancedConfiguration.forceMediaReconnectionAfterNetworkDrop)return logger$3.warn('OpenVidu Browser advanced configuration option "forceMediaReconnectionAfterNetworkDrop" is enabled. Stream '.concat(this.streamId," (").concat(this.isLocal()?"Publisher":"Subscriber",") will force a reconnection")),!0;var Le=this.getRTCPeerConnection().iceConnectionState;return Le!=="connected"&&Le!=="completed"},Be.prototype.setHarkListenerIfNotExists=function(){if(this.mediaStream){if(!this.speechEvent){var Le=this.harkOptions?this.harkOptions:this.session.openvidu.advancedConfiguration.publisherSpeakingEventsOptions||{};Le.interval=typeof Le.interval=="number"?Le.interval:100,Le.threshold=typeof Le.threshold=="number"?Le.threshold:-50,this.speechEvent=hark(this.mediaStream,Le)}return!0}return!1},Be.prototype.setupReconnectionEventEmitter=function(Le,Ye){return this.reconnectionEventEmitter==null?(this.reconnectionEventEmitter=new EventEmitter$2,!1):(console.warn("Trying to reconnect stream ".concat(this.streamId," (").concat(this.isLocal()?"Publisher":"Subscriber",") but an ongoing reconnection process is active. Waiting for response...")),this.reconnectionEventEmitter.once("success",function(){return Le()}),this.reconnectionEventEmitter.once("error",function(tt){return Ye(tt)}),!0)},Be.prototype.initWebRtcPeerSend=function(Le){var Ye=this;return new Promise(function(tt,nt){var ft;if(Le){if(Ye.setupReconnectionEventEmitter(tt,nt))return}else Ye.initHarkEvents();var ht=function(){var yt;return Le&&((yt=Ye.reconnectionEventEmitter)===null||yt===void 0||yt.emitEvent("success"),delete Ye.reconnectionEventEmitter),tt()},gt=function(yt){var Ct;return Le&&((Ct=Ye.reconnectionEventEmitter)===null||Ct===void 0||Ct.emitEvent("error",[yt]),delete Ye.reconnectionEventEmitter),nt(yt)},At=function(yt){logger$3.debug("Sending SDP offer to publish as "+Ye.streamId,yt);var Ct=Le?"reconnectStream":"publishVideo",Et;if(Le)Et={stream:Ye.streamId,sdpString:yt};else{var vt=void 0;Ye.isSendVideo()&&(vt=typeof MediaStreamTrack<"u"&&Ye.outboundStreamOpts.publisherProperties.videoSource instanceof MediaStreamTrack?TypeOfVideo_1.TypeOfVideo.CUSTOM:Ye.isSendScreen()?TypeOfVideo_1.TypeOfVideo.SCREEN:TypeOfVideo_1.TypeOfVideo.CAMERA),Et={doLoopback:Ye.displayMyRemote()||!1,hasAudio:Ye.isSendAudio(),hasVideo:Ye.isSendVideo(),audioActive:Ye.audioActive,videoActive:Ye.videoActive,typeOfVideo:vt,frameRate:Ye.frameRate?Ye.frameRate:-1,videoDimensions:JSON.stringify(Ye.videoDimensions),filter:Ye.outboundStreamOpts.publisherProperties.filter,sdpOffer:yt}}Ye.session.openvidu.sendRequest(Ct,Et,function(kt,bt){kt?kt.code===401?gt(new OpenViduError_1$1.OpenViduError(OpenViduError_1$1.OpenViduErrorName.OPENVIDU_PERMISSION_DENIED,"You don't have permissions to publish")):gt("Error on publishVideo: "+JSON.stringify(kt)):Ye.webRtcPeer.processRemoteAnswer(bt.sdpAnswer).then(function(){Ye.streamId=bt.id,Ye.creationTime=bt.createdAt,Ye.isLocalStreamPublished=!0,Ye.publishedOnce=!0,Ye.displayMyRemote()&&(Ye.localMediaStreamWhenSubscribedToRemote=Ye.mediaStream,Ye.remotePeerSuccessfullyEstablished(Le)),Le?Ye.ee.emitEvent("stream-reconnected-by-publisher",[]):Ye.ee.emitEvent("stream-created-by-publisher",[]),Ye.initWebRtcStats(),logger$3.info("'Publisher' ("+Ye.streamId+") successfully "+(Le?"reconnected":"published")+" to session"),ht()}).catch(function(wt){gt(wt)})})},xt={mediaConstraints:{audio:Ye.hasAudio,video:Ye.hasVideo},simulcast:(ft=Ye.outboundStreamOpts.publisherProperties.videoSimulcast)!==null&&ft!==void 0?ft:Ye.session.openvidu.videoSimulcast,onIceCandidate:Ye.connection.sendIceCandidate.bind(Ye.connection),onIceConnectionStateException:Ye.onIceConnectionStateExceptionHandler.bind(Ye),iceServers:Ye.getIceServersConf(),rtcConfiguration:Ye.session.openvidu.advancedConfiguration.rtcConfiguration,mediaStream:Ye.mediaStream,mediaServer:Ye.session.openvidu.mediaServer,typeOfVideo:Ye.typeOfVideo?TypeOfVideo_1.TypeOfVideo[Ye.typeOfVideo]:void 0};Ye.session.openvidu.mediaServer!=="mediasoup"&&(xt.simulcast=!1),Le&&Ye.disposeWebRtcPeer(),Ye.displayMyRemote()?Ye.webRtcPeer=new WebRtcPeer_1.WebRtcPeerSendrecv(xt):Ye.webRtcPeer=new WebRtcPeer_1.WebRtcPeerSendonly(xt),Ye.webRtcPeer.addIceConnectionStateChangeListener("publisher of "+Ye.connection.connectionId),Ye.webRtcPeer.createOffer().then(function(yt){Ye.webRtcPeer.processLocalOffer(yt).then(function(){At(yt.sdp)}).catch(function(Ct){gt(new Error("(publish) SDP process local offer error: "+JSON.stringify(Ct)))})}).catch(function(yt){gt(new Error("(publish) SDP create offer error: "+JSON.stringify(yt)))})})},Be.prototype.finalResolveForSubscription=function(Le,Ye){var tt;return logger$3.info("'Subscriber' ("+this.streamId+") successfully "+(Le?"reconnected":"subscribed")),this.remotePeerSuccessfullyEstablished(Le),this.initWebRtcStats(),Le&&((tt=this.reconnectionEventEmitter)===null||tt===void 0||tt.emitEvent("success"),delete this.reconnectionEventEmitter),Ye()},Be.prototype.finalRejectForSubscription=function(Le,Ye,tt){var nt;return logger$3.error("Error for 'Subscriber' ("+this.streamId+") while trying to "+(Le?"reconnect":"subscribe")+": "+Ye.toString()),Le&&((nt=this.reconnectionEventEmitter)===null||nt===void 0||nt.emitEvent("error",[Ye]),delete this.reconnectionEventEmitter),tt(Ye)},Be.prototype.initWebRtcPeerReceive=function(Le){var Ye=this;return new Promise(function(tt,nt){Le&&Ye.setupReconnectionEventEmitter(tt,nt)||(Ye.session.openvidu.mediaServer==="mediasoup"?Ye.initWebRtcPeerReceiveFromServer(Le).then(function(){return Ye.finalResolveForSubscription(Le,tt)}).catch(function(ft){return Ye.finalRejectForSubscription(Le,ft,nt)}):Ye.initWebRtcPeerReceiveFromClient(Le).then(function(){return Ye.finalResolveForSubscription(Le,tt)}).catch(function(ft){return Ye.finalRejectForSubscription(Le,ft,nt)}))})},Be.prototype.initWebRtcPeerReceiveFromClient=function(Le){var Ye=this;return new Promise(function(tt,nt){Ye.completeWebRtcPeerReceive(Le,!1).then(function(ft){Ye.webRtcPeer.processRemoteAnswer(ft.sdpAnswer).then(function(){return tt()}).catch(function(ht){return nt(ht)})}).catch(function(ft){return nt(ft)})})},Be.prototype.initWebRtcPeerReceiveFromServer=function(Le){var Ye=this;return new Promise(function(tt,nt){Ye.session.openvidu.sendRequest("prepareReceiveVideoFrom",{sender:Ye.streamId,reconnect:Le},function(ft,ht){if(ft)return nt(new Error("Error on prepareReceiveVideoFrom: "+JSON.stringify(ft)));Ye.completeWebRtcPeerReceive(Le,!1,ht.sdpOffer).then(function(){return tt()}).catch(function(gt){return nt(gt)})})})},Be.prototype.completeWebRtcPeerReceive=function(Le,Ye,tt){var nt=this;return new Promise(function(ft,ht){logger$3.debug("'Session.subscribe(Stream)' called");var gt=function(xt){logger$3.debug("Sending local SDP ".concat(tt?"answer":"offer"," to subscribe to ").concat(nt.streamId),xt);var yt=Le?"reconnectStream":"receiveVideoFrom",Ct={};Ct[Le?"stream":"sender"]=nt.streamId,tt?Ct[Le?"sdpString":"sdpAnswer"]=xt:Ct.sdpOffer=xt,Le&&(Ct.forciblyReconnect=Ye),nt.session.openvidu.sendRequest(yt,Ct,function(Et,vt){return Et?ht(new Error("Error on "+yt+" : "+JSON.stringify(Et))):ft(vt)})},At={mediaConstraints:{audio:nt.hasAudio,video:nt.hasVideo},simulcast:!1,onIceCandidate:nt.connection.sendIceCandidate.bind(nt.connection),onIceConnectionStateException:nt.onIceConnectionStateExceptionHandler.bind(nt),iceServers:nt.getIceServersConf(),rtcConfiguration:nt.session.openvidu.advancedConfiguration.rtcConfiguration,mediaServer:nt.session.openvidu.mediaServer,typeOfVideo:nt.typeOfVideo?TypeOfVideo_1.TypeOfVideo[nt.typeOfVideo]:void 0};Le&&nt.disposeWebRtcPeer(),nt.webRtcPeer=new WebRtcPeer_1.WebRtcPeerRecvonly(At),nt.webRtcPeer.addIceConnectionStateChangeListener(nt.streamId),tt?nt.webRtcPeer.processRemoteOffer(tt).then(function(){nt.webRtcPeer.createAnswer().then(function(xt){nt.webRtcPeer.processLocalAnswer(xt).then(function(){gt(xt.sdp)}).catch(function(yt){return ht(new Error("(subscribe) SDP process local answer error: "+JSON.stringify(yt)))})}).catch(function(xt){return ht(new Error("(subscribe) SDP create answer error: "+JSON.stringify(xt)))})}).catch(function(xt){return ht(new Error("(subscribe) SDP process remote offer error: "+JSON.stringify(xt)))}):nt.webRtcPeer.createOffer().then(function(xt){nt.webRtcPeer.processLocalOffer(xt).then(function(){gt(xt.sdp)}).catch(function(yt){return ht(new Error("(subscribe) SDP process local offer error: "+JSON.stringify(yt)))})}).catch(function(xt){return ht(new Error("(subscribe) SDP create offer error: "+JSON.stringify(xt)))})})},Be.prototype.remotePeerSuccessfullyEstablished=function(Le){Le&&this.mediaStream!=null&&this.disposeMediaStream(),this.mediaStream=new MediaStream;for(var Ye,tt=0,nt=this.webRtcPeer.pc.getReceivers();tt<nt.length;tt++)Ye=nt[tt],Ye.track&&this.mediaStream.addTrack(Ye.track);if(logger$3.debug("Peer remote stream",this.mediaStream),this.mediaStream){if(this.streamManager instanceof Subscriber_1.Subscriber){if(this.mediaStream.getAudioTracks()[0]){var ft=Le?this.audioActive:!!this.streamManager.properties.subscribeToAudio;this.mediaStream.getAudioTracks()[0].enabled=ft}if(this.mediaStream.getVideoTracks()[0]){var ft=Le?this.videoActive:!!this.videoActive&&!!this.streamManager.properties.subscribeToVideo;this.mediaStream.getVideoTracks()[0].enabled=ft}}this.updateMediaStreamInVideos(),this.initHarkEvents()}},Be.prototype.initHarkEvents=function(){this.mediaStream.getAudioTracks()[0]&&(this.session.anySpeechEventListenerEnabled("publisherStartSpeaking",!0,this.streamManager)&&this.enableOnceHarkSpeakingEvent(),this.session.anySpeechEventListenerEnabled("publisherStartSpeaking",!1,this.streamManager)&&this.enableHarkSpeakingEvent(),this.session.anySpeechEventListenerEnabled("publisherStopSpeaking",!0,this.streamManager)&&this.enableOnceHarkStoppedSpeakingEvent(),this.session.anySpeechEventListenerEnabled("publisherStopSpeaking",!1,this.streamManager)&&this.enableHarkStoppedSpeakingEvent(),this.harkVolumeChangeEnabledOnce&&this.enableOnceHarkVolumeChangeEvent(!0),this.harkVolumeChangeEnabled&&this.enableHarkVolumeChangeEvent(!0))},Be.prototype.onIceConnectionStateExceptionHandler=function(Le,Ye,tt){switch(Le){case ExceptionEvent_1$1.ExceptionEventName.ICE_CONNECTION_FAILED:this.onIceConnectionFailed();break;case ExceptionEvent_1$1.ExceptionEventName.ICE_CONNECTION_DISCONNECTED:this.onIceConnectionDisconnected();break}this.session.emitEvent("exception",[new ExceptionEvent_1$1.ExceptionEvent(this.session,Le,this,Ye,tt)])},Be.prototype.onIceConnectionFailed=function(){logger$3.log("[ICE_CONNECTION_FAILED] Handling ICE_CONNECTION_FAILED event. Reconnecting stream ".concat(this.streamId," (").concat(this.isLocal()?"Publisher":"Subscriber",")")),this.reconnectStreamAndLogResultingIceConnectionState(ExceptionEvent_1$1.ExceptionEventName.ICE_CONNECTION_FAILED)},Be.prototype.onIceConnectionDisconnected=function(){var Le=this;logger$3.log("[ICE_CONNECTION_DISCONNECTED] Handling ICE_CONNECTION_DISCONNECTED event. Waiting for ICE to be restored and reconnect stream ".concat(this.streamId," (").concat(this.isLocal()?"Publisher":"Subscriber",") if not possible"));var Ye=this.session.openvidu.advancedConfiguration.iceConnectionDisconnectedExceptionTimeout||4e3;this.awaitWebRtcPeerConnectionState(Ye).then(function(tt){switch(tt){case"failed":logger$3.warn("[ICE_CONNECTION_DISCONNECTED] ICE connection of stream ".concat(Le.streamId," (").concat(Le.isLocal()?"Publisher":"Subscriber",") is now failed after ICE_CONNECTION_DISCONNECTED"));break;case"connected":case"completed":logger$3.log("[ICE_CONNECTION_DISCONNECTED] ICE connection of stream ".concat(Le.streamId," (").concat(Le.isLocal()?"Publisher":"Subscriber",") automatically restored after ICE_CONNECTION_DISCONNECTED. Current ICE connection state: ").concat(tt));break;case"closed":case"checking":case"new":case"disconnected":logger$3.warn("[ICE_CONNECTION_DISCONNECTED] ICE connection of stream ".concat(Le.streamId," (").concat(Le.isLocal()?"Publisher":"Subscriber",") couldn't be restored after ICE_CONNECTION_DISCONNECTED event. Current ICE connection state after ").concat(Ye," ms: ").concat(tt)),Le.reconnectStreamAndLogResultingIceConnectionState(ExceptionEvent_1$1.ExceptionEventName.ICE_CONNECTION_DISCONNECTED);break}})},Be.prototype.reconnectStreamAndLogResultingIceConnectionState=function(Le){return __awaiter$4(this,void 0,void 0,function(){var Ye,tt;return __generator$3(this,function(nt){switch(nt.label){case 0:return nt.trys.push([0,2,,3]),[4,this.reconnectStreamAndReturnIceConnectionState(Le)];case 1:switch(Ye=nt.sent(),Ye){case"connected":case"completed":logger$3.log("[".concat(Le,"] Stream ").concat(this.streamId," (").concat(this.isLocal()?"Publisher":"Subscriber",") successfully reconnected after ").concat(Le,". Current ICE connection state: ").concat(Ye));break;default:logger$3.error("[".concat(Le,"] Stream ").concat(this.streamId," (").concat(this.isLocal()?"Publisher":"Subscriber",") failed to reconnect after ").concat(Le,". Current ICE connection state: ").concat(Ye));break}return[3,3];case 2:return tt=nt.sent(),logger$3.error("[".concat(Le,"] Error reconnecting stream ").concat(this.streamId," (").concat(this.isLocal()?"Publisher":"Subscriber",") after ").concat(Le,": ").concat(tt)),[3,3];case 3:return[2]}})})},Be.prototype.reconnectStreamAndReturnIceConnectionState=function(Le){return __awaiter$4(this,void 0,void 0,function(){var Ye,tt;return __generator$3(this,function(nt){switch(nt.label){case 0:logger$3.log("[".concat(Le,"] Reconnecting stream ").concat(this.streamId," (").concat(this.isLocal()?"Publisher":"Subscriber",") after event ").concat(Le)),nt.label=1;case 1:return nt.trys.push([1,3,,4]),[4,this.reconnectStream(Le)];case 2:return nt.sent(),Ye=this.session.openvidu.advancedConfiguration.iceConnectionDisconnectedExceptionTimeout||4e3,[2,this.awaitWebRtcPeerConnectionState(Ye)];case 3:return tt=nt.sent(),logger$3.warn("[".concat(Le,"] Error reconnecting stream ").concat(this.streamId," (").concat(this.isLocal()?"Publisher":"Subscriber","). Reason: ").concat(tt)),[2,this.awaitWebRtcPeerConnectionState(1)];case 4:return[2]}})})},Be.prototype.awaitWebRtcPeerConnectionState=function(Le){return __awaiter$4(this,void 0,void 0,function(){var Ye,tt,nt,ft;return __generator$3(this,function(ht){switch(ht.label){case 0:Ye=this.getRTCPeerConnection().iceConnectionState,tt=150,nt=Math.ceil(Le/tt),ft=0,ht.label=1;case 1:return ft<nt?(Ye=this.getRTCPeerConnection().iceConnectionState,Ye==="connected"||Ye==="completed"?[3,4]:[4,new Promise(function(gt){return setTimeout(gt,tt)})]):[3,4];case 2:ht.sent(),ht.label=3;case 3:return ft++,[3,1];case 4:return[2,Ye]}})})},Be.prototype.reconnectStream=function(Le){return __awaiter$4(this,void 0,void 0,function(){var Ye,tt;return __generator$3(this,function(nt){switch(nt.label){case 0:return[4,this.isWebsocketConnected(Le,3e3)];case 1:if(Ye=nt.sent(),Ye)return logger$3.log("[".concat(Le,"] Trying to reconnect stream ").concat(this.streamId," (").concat(this.isLocal()?"Publisher":"Subscriber",") and the websocket is opened")),this.isLocal()?[2,this.initWebRtcPeerSend(!0)]:[2,this.initWebRtcPeerReceive(!0)];throw tt="[".concat(Le,"] Trying to reconnect stream ").concat(this.streamId," (").concat(this.isLocal()?"Publisher":"Subscriber",") but the websocket wasn't opened"),logger$3.error(tt),Error(tt)}})})},Be.prototype.isWebsocketConnected=function(Le,Ye){var tt=this;return new Promise(function(nt,ft){var ht=tt.session.openvidu.getWsReadyState();if(ht===1){var gt=setTimeout(function(){return console.warn("[".concat(Le,"] Websocket timeout of ").concat(Ye,"ms")),nt(!1)},Ye);tt.session.openvidu.sendRequest("echo",{},function(At,xt){return clearTimeout(gt),At?(console.warn("[".concat(Le,"] Websocket 'echo' returned error: ").concat(At)),nt(!1)):nt(!0)})}else return console.warn("[".concat(Le,"] Websocket readyState is ").concat(ht)),nt(!1)})},Be.prototype.initWebRtcStats=function(){this.webRtcStats=new WebRtcStats_1.WebRtcStats(this),this.webRtcStats.initWebRtcStats()},Be.prototype.stopWebRtcStats=function(){this.webRtcStats&&this.webRtcStats.isEnabled()&&this.webRtcStats.stopWebRtcStats()},Be.prototype.getIceServersConf=function(){var Le,Ye;return this.session.openvidu.advancedConfiguration.iceServers?Ye=this.session.openvidu.advancedConfiguration.iceServers==="freeice"?void 0:this.session.openvidu.advancedConfiguration.iceServers:!((Le=this.session.openvidu.advancedConfiguration.rtcConfiguration)===null||Le===void 0)&&Le.iceServers?Ye=this.session.openvidu.advancedConfiguration.rtcConfiguration.iceServers:this.session.openvidu.iceServers?Ye=this.session.openvidu.iceServers:Ye=void 0,Ye},Be.prototype.gatherStatsForPeer=function(){var Le=this;return new Promise(function(Ye,tt){Le.isLocal()?Le.getRTCPeerConnection().getSenders().forEach(function(nt){return nt.getStats().then(function(ft){ft.forEach(function(ht){if(Le.isReportWanted(ht)){var gt={};gt.type=ht.type,gt.timestamp=ht.timestamp,gt.id=ht.id,ht.type==="outbound-rtp"&&(gt.ssrc=ht.ssrc,gt.firCount=ht.firCount,gt.pliCount=ht.pliCount,gt.nackCount=ht.nackCount,gt.qpSum=ht.qpSum,ht.kind?gt.mediaType=ht.kind:ht.mediaType?gt.mediaType=ht.mediaType:gt.mediaType=ht.id.indexOf("VideoStream")!==-1?"video":"audio",gt.mediaType==="video"&&(gt.framesEncoded=ht.framesEncoded),gt.packetsSent=ht.packetsSent,gt.bytesSent=ht.bytesSent),ht.type==="candidate-pair"&&ht.totalRoundTripTime!==void 0&&(gt.availableOutgoingBitrate=ht.availableOutgoingBitrate,gt.rtt=ht.currentRoundTripTime,gt.averageRtt=ht.totalRoundTripTime/ht.responsesReceived),ht.type==="remote-inbound-rtp"||ht.type,logger$3.log(gt)}})})}):Le.getRTCPeerConnection().getReceivers().forEach(function(nt){return nt.getStats().then(function(ft){ft.forEach(function(ht){if(Le.isReportWanted(ht)){var gt={};gt.type=ht.type,gt.timestamp=ht.timestamp,gt.id=ht.id,ht.type==="inbound-rtp"&&(gt.ssrc=ht.ssrc,gt.firCount=ht.firCount,gt.pliCount=ht.pliCount,gt.nackCount=ht.nackCount,gt.qpSum=ht.qpSum,ht.kind?gt.mediaType=ht.kind:ht.mediaType?gt.mediaType=ht.mediaType:gt.mediaType=ht.id.indexOf("VideoStream")!==-1?"video":"audio",gt.mediaType==="video"&&(gt.framesDecoded=ht.framesDecoded),gt.packetsReceived=ht.packetsReceived,gt.packetsLost=ht.packetsLost,gt.jitter=ht.jitter,gt.bytesReceived=ht.bytesReceived),ht.type==="candidate-pair"&&ht.totalRoundTripTime!==void 0&&(gt.availableIncomingBitrate=ht.availableIncomingBitrate,gt.rtt=ht.currentRoundTripTime,gt.averageRtt=ht.totalRoundTripTime/ht.responsesReceived),ht.type==="remote-inbound-rtp"||ht.type,logger$3.log(gt)}})})})})},Be.prototype.isReportWanted=function(Le){return Le.type==="inbound-rtp"&&!this.isLocal()||Le.type==="outbound-rtp"&&this.isLocal()||Le.type==="candidate-pair"&&Le.nominated&&Le.bytesSent>0},Be}();Stream$2.Stream=Stream$1,Object.defineProperty(Connection$1,"__esModule",{value:!0}),Connection$1.Connection=void 0;var Stream_1=Stream$2,OpenViduLogger_1$2=OpenViduLogger$1,ExceptionEvent_1=ExceptionEvent,logger$2=OpenViduLogger_1$2.OpenViduLogger.getInstance(),Connection=function(){function Be(Le,Ye){this.session=Le,this.disposed=!1;var tt="'Connection' created ";Ye.role?(this.localOptions=Ye,this.connectionId=this.localOptions.id,this.creationTime=this.localOptions.createdAt,this.data=this.localOptions.metadata,this.rpcSessionId=this.localOptions.sessionId,this.role=this.localOptions.role,this.record=this.localOptions.record,tt+="(local)"):(this.remoteOptions=Ye,this.connectionId=this.remoteOptions.id,this.creationTime=this.remoteOptions.createdAt,this.remoteOptions.metadata&&(this.data=this.remoteOptions.metadata),this.remoteOptions.streams&&this.initRemoteStreams(this.remoteOptions.streams),tt+="(remote) with 'connectionId' ["+this.remoteOptions.id+"]"),logger$2.info(tt)}return Be.prototype.sendIceCandidate=function(Le){var Ye=this;this.disposed?logger$2.warn("Connection ".concat(this.connectionId," disposed when trying to send an ICE candidate. ICE candidate not sent")):(logger$2.debug((this.stream.outboundStreamOpts?"Local":"Remote")+"candidate for"+this.connectionId,Le),this.session.openvidu.sendRequest("onIceCandidate",{endpointName:this.connectionId,candidate:Le.candidate,sdpMid:Le.sdpMid,sdpMLineIndex:Le.sdpMLineIndex},function(tt,nt){tt&&(logger$2.error("Error sending ICE candidate: "+JSON.stringify(tt)),Ye.session.emitEvent("exception",[new ExceptionEvent_1.ExceptionEvent(Ye.session,ExceptionEvent_1.ExceptionEventName.ICE_CANDIDATE_ERROR,Ye.session,"There was an unexpected error on the server-side processing an ICE candidate generated and sent by the client-side",tt)]))}))},Be.prototype.initRemoteStreams=function(Le){var Ye=this;Le.forEach(function(tt){var nt={id:tt.id,createdAt:tt.createdAt,connection:Ye,hasAudio:tt.hasAudio,hasVideo:tt.hasVideo,audioActive:tt.audioActive,videoActive:tt.videoActive,typeOfVideo:tt.typeOfVideo,frameRate:tt.frameRate,videoDimensions:tt.videoDimensions?JSON.parse(tt.videoDimensions):void 0,filter:tt.filter?tt.filter:void 0},ft=new Stream_1.Stream(Ye.session,nt);Ye.addStream(ft)}),logger$2.info("Remote 'Connection' with 'connectionId' ["+this.connectionId+"] is now configured for receiving Streams with options: ",this.stream.inboundStreamOpts)},Be.prototype.addStream=function(Le){Le.connection=this,this.stream=Le},Be.prototype.removeStream=function(){delete this.stream},Be.prototype.dispose=function(){this.disposed=!0,this.removeStream()},Be}();Connection$1.Connection=Connection;var ConnectionEvent$1={},__extends$1i=commonjsGlobal&&commonjsGlobal.__extends||function(){var Be=function(Le,Ye){return Be=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(tt,nt){tt.__proto__=nt}||function(tt,nt){for(var ft in nt)Object.prototype.hasOwnProperty.call(nt,ft)&&(tt[ft]=nt[ft])},Be(Le,Ye)};return function(Le,Ye){if(typeof Ye!="function"&&Ye!==null)throw new TypeError("Class extends value "+String(Ye)+" is not a constructor or null");Be(Le,Ye);function tt(){this.constructor=Le}Le.prototype=Ye===null?Object.create(Ye):(tt.prototype=Ye.prototype,new tt)}}();Object.defineProperty(ConnectionEvent$1,"__esModule",{value:!0}),ConnectionEvent$1.ConnectionEvent=void 0;var Event_1$7=Event$2,ConnectionEvent=function(Be){__extends$1i(Le,Be);function Le(Ye,tt,nt,ft,ht){var gt=Be.call(this,Ye,tt,nt)||this;return gt.connection=ft,gt.reason=ht,gt}return Le.prototype.callDefaultBehavior=function(){},Le}(Event_1$7.Event);ConnectionEvent$1.ConnectionEvent=ConnectionEvent;var FilterEvent$1={},__extends$1h=commonjsGlobal&&commonjsGlobal.__extends||function(){var Be=function(Le,Ye){return Be=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(tt,nt){tt.__proto__=nt}||function(tt,nt){for(var ft in nt)Object.prototype.hasOwnProperty.call(nt,ft)&&(tt[ft]=nt[ft])},Be(Le,Ye)};return function(Le,Ye){if(typeof Ye!="function"&&Ye!==null)throw new TypeError("Class extends value "+String(Ye)+" is not a constructor or null");Be(Le,Ye);function tt(){this.constructor=Le}Le.prototype=Ye===null?Object.create(Ye):(tt.prototype=Ye.prototype,new tt)}}();Object.defineProperty(FilterEvent$1,"__esModule",{value:!0}),FilterEvent$1.FilterEvent=void 0;var Event_1$6=Event$2,FilterEvent=function(Be){__extends$1h(Le,Be);function Le(Ye,tt,nt){var ft=Be.call(this,!1,Ye,tt)||this;return ft.data=nt,ft}return Le.prototype.callDefaultBehavior=function(){},Le}(Event_1$6.Event);FilterEvent$1.FilterEvent=FilterEvent;var RecordingEvent$1={},__extends$1g=commonjsGlobal&&commonjsGlobal.__extends||function(){var Be=function(Le,Ye){return Be=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(tt,nt){tt.__proto__=nt}||function(tt,nt){for(var ft in nt)Object.prototype.hasOwnProperty.call(nt,ft)&&(tt[ft]=nt[ft])},Be(Le,Ye)};return function(Le,Ye){if(typeof Ye!="function"&&Ye!==null)throw new TypeError("Class extends value "+String(Ye)+" is not a constructor or null");Be(Le,Ye);function tt(){this.constructor=Le}Le.prototype=Ye===null?Object.create(Ye):(tt.prototype=Ye.prototype,new tt)}}();Object.defineProperty(RecordingEvent$1,"__esModule",{value:!0}),RecordingEvent$1.RecordingEvent=void 0;var Event_1$5=Event$2,RecordingEvent=function(Be){__extends$1g(Le,Be);function Le(Ye,tt,nt,ft,ht){var gt=Be.call(this,!1,Ye,tt)||this;return gt.id=nt,ft!==nt&&(gt.name=ft),gt.reason=ht,gt}return Le.prototype.callDefaultBehavior=function(){},Le}(Event_1$5.Event);RecordingEvent$1.RecordingEvent=RecordingEvent;var SessionDisconnectedEvent$1={},__extends$1f=commonjsGlobal&&commonjsGlobal.__extends||function(){var Be=function(Le,Ye){return Be=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(tt,nt){tt.__proto__=nt}||function(tt,nt){for(var ft in nt)Object.prototype.hasOwnProperty.call(nt,ft)&&(tt[ft]=nt[ft])},Be(Le,Ye)};return function(Le,Ye){if(typeof Ye!="function"&&Ye!==null)throw new TypeError("Class extends value "+String(Ye)+" is not a constructor or null");Be(Le,Ye);function tt(){this.constructor=Le}Le.prototype=Ye===null?Object.create(Ye):(tt.prototype=Ye.prototype,new tt)}}();Object.defineProperty(SessionDisconnectedEvent$1,"__esModule",{value:!0}),SessionDisconnectedEvent$1.SessionDisconnectedEvent=void 0;var Event_1$4=Event$2,OpenViduLogger_1$1=OpenViduLogger$1,logger$1=OpenViduLogger_1$1.OpenViduLogger.getInstance(),SessionDisconnectedEvent=function(Be){__extends$1f(Le,Be);function Le(Ye,tt){var nt=Be.call(this,!0,Ye,"sessionDisconnected")||this;return nt.reason=tt,nt}return Le.prototype.callDefaultBehavior=function(){logger$1.info("Calling default behavior upon '"+this.type+"' event dispatched by 'Session'");var Ye=this.target;Ye.remoteConnections.forEach(function(tt){var nt,ft,ht,gt,At,xt,yt,Ct,Et=tt.connectionId;if(!((nt=Ye.remoteConnections.get(Et))===null||nt===void 0)&&nt.stream){(ft=Ye.remoteConnections.get(Et))===null||ft===void 0||ft.stream.disposeWebRtcPeer(),(ht=Ye.remoteConnections.get(Et))===null||ht===void 0||ht.stream.disposeMediaStream(),!((gt=Ye.remoteConnections.get(Et))===null||gt===void 0)&&gt.stream.streamManager&&((At=Ye.remoteConnections.get(Et))===null||At===void 0||At.stream.streamManager.removeAllVideos());var vt=(yt=(xt=Ye.remoteConnections.get(Et))===null||xt===void 0?void 0:xt.stream)===null||yt===void 0?void 0:yt.streamId;vt&&Ye.remoteStreamsCreated.delete(vt),(Ct=Ye.remoteConnections.get(Et))===null||Ct===void 0||Ct.dispose()}Ye.remoteConnections.delete(Et)})},Le}(Event_1$4.Event);SessionDisconnectedEvent$1.SessionDisconnectedEvent=SessionDisconnectedEvent;var SignalEvent$1={},__extends$1e=commonjsGlobal&&commonjsGlobal.__extends||function(){var Be=function(Le,Ye){return Be=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(tt,nt){tt.__proto__=nt}||function(tt,nt){for(var ft in nt)Object.prototype.hasOwnProperty.call(nt,ft)&&(tt[ft]=nt[ft])},Be(Le,Ye)};return function(Le,Ye){if(typeof Ye!="function"&&Ye!==null)throw new TypeError("Class extends value "+String(Ye)+" is not a constructor or null");Be(Le,Ye);function tt(){this.constructor=Le}Le.prototype=Ye===null?Object.create(Ye):(tt.prototype=Ye.prototype,new tt)}}();Object.defineProperty(SignalEvent$1,"__esModule",{value:!0}),SignalEvent$1.SignalEvent=void 0;var Event_1$3=Event$2,SignalEvent=function(Be){__extends$1e(Le,Be);function Le(Ye,tt,nt,ft){var ht=Be.call(this,!1,Ye,"signal")||this;return tt&&(ht.type="signal:"+tt),ht.data=nt,ht.from=ft,ht}return Le.prototype.callDefaultBehavior=function(){},Le}(Event_1$3.Event);SignalEvent$1.SignalEvent=SignalEvent;var SpeechToTextEvent$1={},__extends$1d=commonjsGlobal&&commonjsGlobal.__extends||function(){var Be=function(Le,Ye){return Be=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(tt,nt){tt.__proto__=nt}||function(tt,nt){for(var ft in nt)Object.prototype.hasOwnProperty.call(nt,ft)&&(tt[ft]=nt[ft])},Be(Le,Ye)};return function(Le,Ye){if(typeof Ye!="function"&&Ye!==null)throw new TypeError("Class extends value "+String(Ye)+" is not a constructor or null");Be(Le,Ye);function tt(){this.constructor=Le}Le.prototype=Ye===null?Object.create(Ye):(tt.prototype=Ye.prototype,new tt)}}();Object.defineProperty(SpeechToTextEvent$1,"__esModule",{value:!0}),SpeechToTextEvent$1.SpeechToTextEvent=void 0;var Event_1$2=Event$2,SpeechToTextEvent=function(Be){__extends$1d(Le,Be);function Le(Ye,tt,nt,ft,ht,gt){var At=Be.call(this,!1,Ye,"speechToTextMessage")||this;return At.connection=tt,At.text=nt,At.reason=ft,At.raw=ht,At.lang=gt,At}return Le.prototype.callDefaultBehavior=function(){},Le}(Event_1$2.Event);SpeechToTextEvent$1.SpeechToTextEvent=SpeechToTextEvent;var StreamEvent={},hasRequiredStreamEvent;function requireStreamEvent(){if(hasRequiredStreamEvent)return StreamEvent;hasRequiredStreamEvent=1;var Be=commonjsGlobal&&commonjsGlobal.__extends||function(){var gt=function(At,xt){return gt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(yt,Ct){yt.__proto__=Ct}||function(yt,Ct){for(var Et in Ct)Object.prototype.hasOwnProperty.call(Ct,Et)&&(yt[Et]=Ct[Et])},gt(At,xt)};return function(At,xt){if(typeof xt!="function"&&xt!==null)throw new TypeError("Class extends value "+String(xt)+" is not a constructor or null");gt(At,xt);function yt(){this.constructor=At}At.prototype=xt===null?Object.create(xt):(yt.prototype=xt.prototype,new yt)}}();Object.defineProperty(StreamEvent,"__esModule",{value:!0}),StreamEvent.StreamEvent=void 0;var Le=Event$2,Ye=requirePublisher(),tt=requireSession(),nt=OpenViduLogger$1,ft=nt.OpenViduLogger.getInstance(),ht=function(gt){Be(At,gt);function At(xt,yt,Ct,Et,vt){var kt=gt.call(this,xt,yt,Ct)||this;return kt.stream=Et,kt.reason=vt,kt}return At.prototype.callDefaultBehavior=function(){if(this.type==="streamDestroyed"){if(this.target instanceof tt.Session)ft.info("Calling default behavior upon '"+this.type+"' event dispatched by 'Session'"),this.stream.disposeWebRtcPeer();else if(this.target instanceof Ye.Publisher){ft.info("Calling default behavior upon '"+this.type+"' event dispatched by 'Publisher'"),clearInterval(this.target.screenShareResizeInterval),this.stream.isLocalStreamReadyToPublish=!1;for(var xt=this.target.openvidu.publishers,yt=0;yt<xt.length;yt++)if(xt[yt]===this.target){xt.splice(yt,1);break}}this.stream.disposeMediaStream(),this.stream.streamManager&&this.stream.streamManager.removeAllVideos(),this.stream.session.remoteStreamsCreated.delete(this.stream.streamId);var Ct=this.stream.session.remoteConnections.get(this.stream.connection.connectionId);if(Ct&&Ct.remoteOptions)for(var Et=Ct.remoteOptions.streams,yt=Et.length-1;yt>=0;--yt)Et[yt].id===this.stream.streamId&&Et.splice(yt,1)}},At}(Le.Event);return StreamEvent.StreamEvent=ht,StreamEvent}var ConnectionPropertyChangedEvent$1={},__extends$1c=commonjsGlobal&&commonjsGlobal.__extends||function(){var Be=function(Le,Ye){return Be=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(tt,nt){tt.__proto__=nt}||function(tt,nt){for(var ft in nt)Object.prototype.hasOwnProperty.call(nt,ft)&&(tt[ft]=nt[ft])},Be(Le,Ye)};return function(Le,Ye){if(typeof Ye!="function"&&Ye!==null)throw new TypeError("Class extends value "+String(Ye)+" is not a constructor or null");Be(Le,Ye);function tt(){this.constructor=Le}Le.prototype=Ye===null?Object.create(Ye):(tt.prototype=Ye.prototype,new tt)}}();Object.defineProperty(ConnectionPropertyChangedEvent$1,"__esModule",{value:!0}),ConnectionPropertyChangedEvent$1.ConnectionPropertyChangedEvent=void 0;var Event_1$1=Event$2,ConnectionPropertyChangedEvent=function(Be){__extends$1c(Le,Be);function Le(Ye,tt,nt,ft,ht){var gt=Be.call(this,!1,Ye,"connectionPropertyChanged")||this;return gt.connection=tt,gt.changedProperty=nt,gt.newValue=ft,gt.oldValue=ht,gt}return Le.prototype.callDefaultBehavior=function(){},Le}(Event_1$1.Event);ConnectionPropertyChangedEvent$1.ConnectionPropertyChangedEvent=ConnectionPropertyChangedEvent;var NetworkQualityLevelChangedEvent$1={},__extends$1b=commonjsGlobal&&commonjsGlobal.__extends||function(){var Be=function(Le,Ye){return Be=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(tt,nt){tt.__proto__=nt}||function(tt,nt){for(var ft in nt)Object.prototype.hasOwnProperty.call(nt,ft)&&(tt[ft]=nt[ft])},Be(Le,Ye)};return function(Le,Ye){if(typeof Ye!="function"&&Ye!==null)throw new TypeError("Class extends value "+String(Ye)+" is not a constructor or null");Be(Le,Ye);function tt(){this.constructor=Le}Le.prototype=Ye===null?Object.create(Ye):(tt.prototype=Ye.prototype,new tt)}}();Object.defineProperty(NetworkQualityLevelChangedEvent$1,"__esModule",{value:!0}),NetworkQualityLevelChangedEvent$1.NetworkQualityLevelChangedEvent=void 0;var Event_1=Event$2,NetworkQualityLevelChangedEvent=function(Be){__extends$1b(Le,Be);function Le(Ye,tt,nt,ft){var ht=Be.call(this,!1,Ye,"networkQualityLevelChanged")||this;return ht.newValue=tt,ht.oldValue=nt,ht.connection=ft,ht}return Le.prototype.callDefaultBehavior=function(){},Le}(Event_1.Event);NetworkQualityLevelChangedEvent$1.NetworkQualityLevelChangedEvent=NetworkQualityLevelChangedEvent;const debug$1=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...Be)=>console.error("SEMVER",...Be):()=>{};var debug_1=debug$1;const MAX_LENGTH$1=256,MAX_SAFE_INTEGER$1=Number.MAX_SAFE_INTEGER||9007199254740991,MAX_SAFE_COMPONENT_LENGTH=16,MAX_SAFE_BUILD_LENGTH=MAX_LENGTH$1-6;var constants={MAX_LENGTH:MAX_LENGTH$1,MAX_SAFE_COMPONENT_LENGTH,MAX_SAFE_BUILD_LENGTH,MAX_SAFE_INTEGER:MAX_SAFE_INTEGER$1},re$2={exports:{}};(function(Be,Le){const{MAX_SAFE_COMPONENT_LENGTH:Ye,MAX_SAFE_BUILD_LENGTH:tt,MAX_LENGTH:nt}=constants,ft=debug_1;Le=Be.exports={};const ht=Le.re=[],gt=Le.safeRe=[],At=Le.src=[],xt=Le.t={};let yt=0;const Ct="[a-zA-Z0-9-]",Et=[["\\s",1],["\\d",nt],[Ct,tt]],vt=bt=>{for(const[wt,It]of Et)bt=bt.split(`${wt}*`).join(`${wt}{0,${It}}`).split(`${wt}+`).join(`${wt}{1,${It}}`);return bt},kt=(bt,wt,It)=>{const Rt=vt(wt),Tt=yt++;ft(bt,Tt,wt),xt[bt]=Tt,At[Tt]=wt,ht[Tt]=new RegExp(wt,It?"g":void 0),gt[Tt]=new RegExp(Rt,It?"g":void 0)};kt("NUMERICIDENTIFIER","0|[1-9]\\d*"),kt("NUMERICIDENTIFIERLOOSE","\\d+"),kt("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${Ct}*`),kt("MAINVERSION",`(${At[xt.NUMERICIDENTIFIER]})\\.(${At[xt.NUMERICIDENTIFIER]})\\.(${At[xt.NUMERICIDENTIFIER]})`),kt("MAINVERSIONLOOSE",`(${At[xt.NUMERICIDENTIFIERLOOSE]})\\.(${At[xt.NUMERICIDENTIFIERLOOSE]})\\.(${At[xt.NUMERICIDENTIFIERLOOSE]})`),kt("PRERELEASEIDENTIFIER",`(?:${At[xt.NUMERICIDENTIFIER]}|${At[xt.NONNUMERICIDENTIFIER]})`),kt("PRERELEASEIDENTIFIERLOOSE",`(?:${At[xt.NUMERICIDENTIFIERLOOSE]}|${At[xt.NONNUMERICIDENTIFIER]})`),kt("PRERELEASE",`(?:-(${At[xt.PRERELEASEIDENTIFIER]}(?:\\.${At[xt.PRERELEASEIDENTIFIER]})*))`),kt("PRERELEASELOOSE",`(?:-?(${At[xt.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${At[xt.PRERELEASEIDENTIFIERLOOSE]})*))`),kt("BUILDIDENTIFIER",`${Ct}+`),kt("BUILD",`(?:\\+(${At[xt.BUILDIDENTIFIER]}(?:\\.${At[xt.BUILDIDENTIFIER]})*))`),kt("FULLPLAIN",`v?${At[xt.MAINVERSION]}${At[xt.PRERELEASE]}?${At[xt.BUILD]}?`),kt("FULL",`^${At[xt.FULLPLAIN]}$`),kt("LOOSEPLAIN",`[v=\\s]*${At[xt.MAINVERSIONLOOSE]}${At[xt.PRERELEASELOOSE]}?${At[xt.BUILD]}?`),kt("LOOSE",`^${At[xt.LOOSEPLAIN]}$`),kt("GTLT","((?:<|>)?=?)"),kt("XRANGEIDENTIFIERLOOSE",`${At[xt.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),kt("XRANGEIDENTIFIER",`${At[xt.NUMERICIDENTIFIER]}|x|X|\\*`),kt("XRANGEPLAIN",`[v=\\s]*(${At[xt.XRANGEIDENTIFIER]})(?:\\.(${At[xt.XRANGEIDENTIFIER]})(?:\\.(${At[xt.XRANGEIDENTIFIER]})(?:${At[xt.PRERELEASE]})?${At[xt.BUILD]}?)?)?`),kt("XRANGEPLAINLOOSE",`[v=\\s]*(${At[xt.XRANGEIDENTIFIERLOOSE]})(?:\\.(${At[xt.XRANGEIDENTIFIERLOOSE]})(?:\\.(${At[xt.XRANGEIDENTIFIERLOOSE]})(?:${At[xt.PRERELEASELOOSE]})?${At[xt.BUILD]}?)?)?`),kt("XRANGE",`^${At[xt.GTLT]}\\s*${At[xt.XRANGEPLAIN]}$`),kt("XRANGELOOSE",`^${At[xt.GTLT]}\\s*${At[xt.XRANGEPLAINLOOSE]}$`),kt("COERCEPLAIN",`(^|[^\\d])(\\d{1,${Ye}})(?:\\.(\\d{1,${Ye}}))?(?:\\.(\\d{1,${Ye}}))?`),kt("COERCE",`${At[xt.COERCEPLAIN]}(?:$|[^\\d])`),kt("COERCEFULL",At[xt.COERCEPLAIN]+`(?:${At[xt.PRERELEASE]})?(?:${At[xt.BUILD]})?(?:$|[^\\d])`),kt("COERCERTL",At[xt.COERCE],!0),kt("COERCERTLFULL",At[xt.COERCEFULL],!0),kt("LONETILDE","(?:~>?)"),kt("TILDETRIM",`(\\s*)${At[xt.LONETILDE]}\\s+`,!0),Le.tildeTrimReplace="$1~",kt("TILDE",`^${At[xt.LONETILDE]}${At[xt.XRANGEPLAIN]}$`),kt("TILDELOOSE",`^${At[xt.LONETILDE]}${At[xt.XRANGEPLAINLOOSE]}$`),kt("LONECARET","(?:\\^)"),kt("CARETTRIM",`(\\s*)${At[xt.LONECARET]}\\s+`,!0),Le.caretTrimReplace="$1^",kt("CARET",`^${At[xt.LONECARET]}${At[xt.XRANGEPLAIN]}$`),kt("CARETLOOSE",`^${At[xt.LONECARET]}${At[xt.XRANGEPLAINLOOSE]}$`),kt("COMPARATORLOOSE",`^${At[xt.GTLT]}\\s*(${At[xt.LOOSEPLAIN]})$|^$`),kt("COMPARATOR",`^${At[xt.GTLT]}\\s*(${At[xt.FULLPLAIN]})$|^$`),kt("COMPARATORTRIM",`(\\s*)${At[xt.GTLT]}\\s*(${At[xt.LOOSEPLAIN]}|${At[xt.XRANGEPLAIN]})`,!0),Le.comparatorTrimReplace="$1$2$3",kt("HYPHENRANGE",`^\\s*(${At[xt.XRANGEPLAIN]})\\s+-\\s+(${At[xt.XRANGEPLAIN]})\\s*$`),kt("HYPHENRANGELOOSE",`^\\s*(${At[xt.XRANGEPLAINLOOSE]})\\s+-\\s+(${At[xt.XRANGEPLAINLOOSE]})\\s*$`),kt("STAR","(<|>)?=?\\s*\\*"),kt("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),kt("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")})(re$2,re$2.exports);var reExports=re$2.exports;const looseOption=Object.freeze({loose:!0}),emptyOpts=Object.freeze({}),parseOptions$2=Be=>Be?typeof Be!="object"?looseOption:Be:emptyOpts;var parseOptions_1=parseOptions$2;const numeric=/^[0-9]+$/,compareIdentifiers$1=(Be,Le)=>{const Ye=numeric.test(Be),tt=numeric.test(Le);return Ye&&tt&&(Be=+Be,Le=+Le),Be===Le?0:Ye&&!tt?-1:tt&&!Ye?1:Be<Le?-1:1};var identifiers={compareIdentifiers:compareIdentifiers$1};const debug=debug_1,{MAX_LENGTH,MAX_SAFE_INTEGER}=constants,{safeRe:re$1,t}=reExports,parseOptions$1=parseOptions_1,{compareIdentifiers}=identifiers;let SemVer$2=class Os{constructor(Le,Ye){if(Ye=parseOptions$1(Ye),Le instanceof Os){if(Le.loose===!!Ye.loose&&Le.includePrerelease===!!Ye.includePrerelease)return Le;Le=Le.version}else if(typeof Le!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof Le}".`);if(Le.length>MAX_LENGTH)throw new TypeError(`version is longer than ${MAX_LENGTH} characters`);debug("SemVer",Le,Ye),this.options=Ye,this.loose=!!Ye.loose,this.includePrerelease=!!Ye.includePrerelease;const tt=Le.trim().match(Ye.loose?re$1[t.LOOSE]:re$1[t.FULL]);if(!tt)throw new TypeError(`Invalid Version: ${Le}`);if(this.raw=Le,this.major=+tt[1],this.minor=+tt[2],this.patch=+tt[3],this.major>MAX_SAFE_INTEGER||this.major<0)throw new TypeError("Invalid major version");if(this.minor>MAX_SAFE_INTEGER||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>MAX_SAFE_INTEGER||this.patch<0)throw new TypeError("Invalid patch version");tt[4]?this.prerelease=tt[4].split(".").map(nt=>{if(/^[0-9]+$/.test(nt)){const ft=+nt;if(ft>=0&&ft<MAX_SAFE_INTEGER)return ft}return nt}):this.prerelease=[],this.build=tt[5]?tt[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(Le){if(debug("SemVer.compare",this.version,this.options,Le),!(Le instanceof Os)){if(typeof Le=="string"&&Le===this.version)return 0;Le=new Os(Le,this.options)}return Le.version===this.version?0:this.compareMain(Le)||this.comparePre(Le)}compareMain(Le){return Le instanceof Os||(Le=new Os(Le,this.options)),compareIdentifiers(this.major,Le.major)||compareIdentifiers(this.minor,Le.minor)||compareIdentifiers(this.patch,Le.patch)}comparePre(Le){if(Le instanceof Os||(Le=new Os(Le,this.options)),this.prerelease.length&&!Le.prerelease.length)return-1;if(!this.prerelease.length&&Le.prerelease.length)return 1;if(!this.prerelease.length&&!Le.prerelease.length)return 0;let Ye=0;do{const tt=this.prerelease[Ye],nt=Le.prerelease[Ye];if(debug("prerelease compare",Ye,tt,nt),tt===void 0&&nt===void 0)return 0;if(nt===void 0)return 1;if(tt===void 0)return-1;if(tt===nt)continue;return compareIdentifiers(tt,nt)}while(++Ye)}compareBuild(Le){Le instanceof Os||(Le=new Os(Le,this.options));let Ye=0;do{const tt=this.build[Ye],nt=Le.build[Ye];if(debug("build compare",Ye,tt,nt),tt===void 0&&nt===void 0)return 0;if(nt===void 0)return 1;if(tt===void 0)return-1;if(tt===nt)continue;return compareIdentifiers(tt,nt)}while(++Ye)}inc(Le,Ye,tt){switch(Le){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",Ye,tt);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",Ye,tt);break;case"prepatch":this.prerelease.length=0,this.inc("patch",Ye,tt),this.inc("pre",Ye,tt);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",Ye,tt),this.inc("pre",Ye,tt);break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":{const nt=Number(tt)?1:0;if(!Ye&&tt===!1)throw new Error("invalid increment argument: identifier is empty");if(this.prerelease.length===0)this.prerelease=[nt];else{let ft=this.prerelease.length;for(;--ft>=0;)typeof this.prerelease[ft]=="number"&&(this.prerelease[ft]++,ft=-2);if(ft===-1){if(Ye===this.prerelease.join(".")&&tt===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(nt)}}if(Ye){let ft=[Ye,nt];tt===!1&&(ft=[Ye]),compareIdentifiers(this.prerelease[0],Ye)===0?isNaN(this.prerelease[1])&&(this.prerelease=ft):this.prerelease=ft}break}default:throw new Error(`invalid increment argument: ${Le}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};var semver=SemVer$2;const SemVer$1=semver,major=(Be,Le)=>new SemVer$1(Be,Le).major;var major_1=major;const SemVer=semver,minor=(Be,Le)=>new SemVer(Be,Le).minor;var minor_1=minor,hasRequiredSession;function requireSession(){if(hasRequiredSession)return Session;hasRequiredSession=1;var Be=commonjsGlobal&&commonjsGlobal.__extends||function(){var qt=function(Ht,Ut){return qt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Ft,Xt){Ft.__proto__=Xt}||function(Ft,Xt){for(var _t in Xt)Object.prototype.hasOwnProperty.call(Xt,_t)&&(Ft[_t]=Xt[_t])},qt(Ht,Ut)};return function(Ht,Ut){if(typeof Ut!="function"&&Ut!==null)throw new TypeError("Class extends value "+String(Ut)+" is not a constructor or null");qt(Ht,Ut);function Ft(){this.constructor=Ht}Ht.prototype=Ut===null?Object.create(Ut):(Ft.prototype=Ut.prototype,new Ft)}}(),Le=commonjsGlobal&&commonjsGlobal.__awaiter||function(qt,Ht,Ut,Ft){function Xt(_t){return _t instanceof Ut?_t:new Ut(function(Mt){Mt(_t)})}return new(Ut||(Ut=Promise))(function(_t,Mt){function jt(Yt){try{Gt(Ft.next(Yt))}catch(ar){Mt(ar)}}function zt(Yt){try{Gt(Ft.throw(Yt))}catch(ar){Mt(ar)}}function Gt(Yt){Yt.done?_t(Yt.value):Xt(Yt.value).then(jt,zt)}Gt((Ft=Ft.apply(qt,Ht||[])).next())})},Ye=commonjsGlobal&&commonjsGlobal.__generator||function(qt,Ht){var Ut={label:0,sent:function(){if(_t[0]&1)throw _t[1];return _t[1]},trys:[],ops:[]},Ft,Xt,_t,Mt;return Mt={next:jt(0),throw:jt(1),return:jt(2)},typeof Symbol=="function"&&(Mt[Symbol.iterator]=function(){return this}),Mt;function jt(Gt){return function(Yt){return zt([Gt,Yt])}}function zt(Gt){if(Ft)throw new TypeError("Generator is already executing.");for(;Mt&&(Mt=0,Gt[0]&&(Ut=0)),Ut;)try{if(Ft=1,Xt&&(_t=Gt[0]&2?Xt.return:Gt[0]?Xt.throw||((_t=Xt.return)&&_t.call(Xt),0):Xt.next)&&!(_t=_t.call(Xt,Gt[1])).done)return _t;switch(Xt=0,_t&&(Gt=[Gt[0]&2,_t.value]),Gt[0]){case 0:case 1:_t=Gt;break;case 4:return Ut.label++,{value:Gt[1],done:!1};case 5:Ut.label++,Xt=Gt[1],Gt=[0];continue;case 7:Gt=Ut.ops.pop(),Ut.trys.pop();continue;default:if(_t=Ut.trys,!(_t=_t.length>0&&_t[_t.length-1])&&(Gt[0]===6||Gt[0]===2)){Ut=0;continue}if(Gt[0]===3&&(!_t||Gt[1]>_t[0]&&Gt[1]<_t[3])){Ut.label=Gt[1];break}if(Gt[0]===6&&Ut.label<_t[1]){Ut.label=_t[1],_t=Gt;break}if(_t&&Ut.label<_t[2]){Ut.label=_t[2],Ut.ops.push(Gt);break}_t[2]&&Ut.ops.pop(),Ut.trys.pop();continue}Gt=Ht.call(qt,Ut)}catch(Yt){Gt=[6,Yt],Xt=0}finally{Ft=_t=0}if(Gt[0]&5)throw Gt[1];return{value:Gt[0]?Gt[1]:void 0,done:!0}}};Object.defineProperty(Session,"__esModule",{value:!0}),Session.Session=void 0;var tt=Connection$1,nt=Filter$1,ft=Subscriber$1,ht=EventDispatcher$1,gt=ConnectionEvent$1,At=FilterEvent$1,xt=RecordingEvent$1,yt=SessionDisconnectedEvent$1,Ct=SignalEvent$1,Et=SpeechToTextEvent$1,vt=requireStreamEvent(),kt=StreamPropertyChangedEvent$1,bt=ConnectionPropertyChangedEvent$1,wt=NetworkQualityLevelChangedEvent$1,It=OpenViduError,Rt=VideoInsertMode,Tt=OpenViduLogger$1,Bt=Platform,Pt=major_1,Dt=minor_1,Ot=ExceptionEvent,Lt=Tt.OpenViduLogger.getInstance(),Wt,$t=function(qt){Be(Ht,qt);function Ht(Ut){var Ft=qt.call(this)||this;return Ft.streamManagers=[],Ft.remoteStreamsCreated=new Map,Ft.remoteConnections=new Map,Wt=Bt.PlatformUtils.getInstance(),Ft.openvidu=Ut,Ft}return Ht.prototype.connect=function(Ut,Ft){var Xt=this;return new Promise(function(_t,Mt){if(Xt.processToken(Ut),Xt.openvidu.checkSystemRequirements())Xt.options={sessionId:Xt.sessionId,participantId:Ut,metadata:Ft?Xt.stringClientMetadata(Ft):""},Xt.connectAux(Ut).then(function(){return _t()}).catch(function(jt){return Mt(jt)});else return Mt(new It.OpenViduError(It.OpenViduErrorName.BROWSER_NOT_SUPPORTED,"Browser "+Wt.getName()+" (version "+Wt.getVersion()+") for "+Wt.getFamily()+" is not supported in OpenVidu"))})},Ht.prototype.disconnect=function(){this.leave(!1,"disconnect")},Ht.prototype.subscribe=function(Ut,Ft,Xt,_t){var Mt={};Xt&&typeof Xt!="function"?Mt={insertMode:typeof Xt.insertMode<"u"?typeof Xt.insertMode=="string"?Rt.VideoInsertMode[Xt.insertMode]:Mt.insertMode:Rt.VideoInsertMode.APPEND,subscribeToAudio:typeof Xt.subscribeToAudio<"u"?Xt.subscribeToAudio:!0,subscribeToVideo:typeof Xt.subscribeToVideo<"u"?Xt.subscribeToVideo:!0}:Mt={insertMode:Rt.VideoInsertMode.APPEND,subscribeToAudio:!0,subscribeToVideo:!0};var jt=void 0;if(Xt&&typeof Xt=="function"?jt=Xt:_t&&(jt=_t),!this.sessionConnected())throw jt!==void 0&&jt(this.notConnectedError()),this.notConnectedError();Lt.info("Subscribing to "+Ut.connection.connectionId),Ut.subscribe().then(function(){Lt.info("Subscribed correctly to "+Ut.connection.connectionId),jt!==void 0&&jt(void 0)}).catch(function(Gt){jt!==void 0&&jt(Gt)});var zt=new ft.Subscriber(Ut,Ft,Mt);return zt.targetElement&&Ut.streamManager.createVideoElement(zt.targetElement,Mt.insertMode),zt},Ht.prototype.subscribeAsync=function(Ut,Ft,Xt){var _t=this;return new Promise(function(Mt,jt){if(!_t.sessionConnected())return jt(_t.notConnectedError());var zt,Gt=function(Yt){return Yt?jt(Yt):Mt(zt)};Xt?zt=_t.subscribe(Ut,Ft,Xt,Gt):zt=_t.subscribe(Ut,Ft,Gt)})},Ht.prototype.unsubscribe=function(Ut){var Ft=this;return new Promise(function(Xt,_t){if(Ft.sessionConnected()){var Mt=Ut.stream.connection.connectionId;Lt.info("Unsubscribing from "+Mt),Ft.openvidu.sendRequest("unsubscribeFromVideo",{sender:Ut.stream.connection.connectionId},function(jt,zt){return jt?(Lt.error("Error unsubscribing from "+Mt),_t(jt)):(Lt.info("Unsubscribed correctly from "+Mt),Ut.stream.streamManager.removeAllVideos(),Ut.stream.disposeWebRtcPeer(),Ut.stream.disposeMediaStream(),Xt())})}else return _t(Ft.notConnectedError())})},Ht.prototype.publish=function(Ut){var Ft=this;return new Promise(function(Xt,_t){if(!Ft.sessionConnected())return _t(Ft.notConnectedError());Ut.session=Ft,Ut.stream.session=Ft,Ut.stream.publishedOnce?Ut.initialize().then(function(){Ft.connection.addStream(Ut.stream),Ut.reestablishStreamPlayingEvent(),Ut.stream.publish().then(function(){return Ft.sendVideoData(Ut,8,!0,5),Xt()}).catch(function(Mt){return _t(Mt)})}).catch(function(Mt){return _t(Mt)}):(Ft.connection.addStream(Ut.stream),Ut.stream.publish().then(function(){return Ft.sendVideoData(Ut,8,!0,5),Xt()}).catch(function(Mt){return _t(Mt)}))})},Ht.prototype.unpublish=function(Ut){var Ft=this;return new Promise(function(Xt,_t){if(!Ft.sessionConnected())throw Ft.notConnectedError();var Mt=Ut.stream;if(Mt.connection){if(Mt.connection!==Ft.connection)return _t(new Error("The associated Connection object of this Publisher is not your local Connection. Only moderators can force unpublish on remote Streams via 'forceUnpublish' method"));Lt.info("Unpublishing local media ("+Mt.connection.connectionId+")"),Ft.openvidu.sendRequest("unpublishVideo",function(jt,zt){if(jt)return _t(jt);Lt.info("Media unpublished correctly"),Mt.disposeWebRtcPeer(),Mt.connection.stream==Mt&&delete Mt.connection.stream;var Gt=new vt.StreamEvent(!0,Ut,"streamDestroyed",Ut.stream,"unpublish");return Ut.emitEvent("streamDestroyed",[Gt]),Gt.callDefaultBehavior(),Xt()})}else return _t(new Error("The associated Connection object of this Publisher is null"))})},Ht.prototype.forceDisconnect=function(Ut){var Ft=this;return new Promise(function(Xt,_t){if(!Ft.sessionConnected())return _t(Ft.notConnectedError());Lt.info("Forcing disconnect for connection "+Ut.connectionId),Ft.openvidu.sendRequest("forceDisconnect",{connectionId:Ut.connectionId},function(Mt,jt){return Mt?(Lt.error("Error forcing disconnect for Connection "+Ut.connectionId,Mt),Mt.code===401?_t(new It.OpenViduError(It.OpenViduErrorName.OPENVIDU_PERMISSION_DENIED,"You don't have permissions to force a disconnection")):_t(Mt)):(Lt.info("Forcing disconnect correctly for Connection "+Ut.connectionId),Xt())})})},Ht.prototype.forceUnpublish=function(Ut){var Ft=this;return new Promise(function(Xt,_t){if(!Ft.sessionConnected())return _t(Ft.notConnectedError());Lt.info("Forcing unpublish for stream "+Ut.streamId),Ft.openvidu.sendRequest("forceUnpublish",{streamId:Ut.streamId},function(Mt,jt){return Mt?(Lt.error("Error forcing unpublish for Stream "+Ut.streamId,Mt),Mt.code===401?_t(new It.OpenViduError(It.OpenViduErrorName.OPENVIDU_PERMISSION_DENIED,"You don't have permissions to force an unpublishing")):_t(Mt)):(Lt.info("Forcing unpublish correctly for Stream "+Ut.streamId),Xt())})})},Ht.prototype.signal=function(Ut){var Ft=this;return new Promise(function(Xt,_t){if(!Ft.sessionConnected())return _t(Ft.notConnectedError());var Mt={};if(Ut.to&&Ut.to.length>0){var jt=[];Ut.to.forEach(function(Gt){Gt.connectionId&&jt.push(Gt.connectionId)}),Mt.to=jt}else Mt.to=[];Mt.data=Ut.data?Ut.data:"";var zt=Ut.type?Ut.type:"signal";zt&&zt.substring(0,7)!=="signal:"&&(zt="signal:"+zt),Mt.type=zt,Ft.openvidu.sendRequest("sendMessage",{message:JSON.stringify(Mt)},function(Gt,Yt){return Gt?_t(Gt):Xt()})})},Ht.prototype.subscribeToSpeechToText=function(Ut,Ft){var Xt=this;return new Promise(function(_t,Mt){Xt.openvidu.sendRequest("subscribeToSpeechToText",{connectionId:Ut.connection.connectionId,lang:Ft},function(jt,zt){return jt?Mt(jt):_t()})})},Ht.prototype.unsubscribeFromSpeechToText=function(Ut){var Ft=this;return new Promise(function(Xt,_t){Ft.openvidu.sendRequest("unsubscribeFromSpeechToText",{connectionId:Ut.connection.connectionId},function(Mt,jt){return Mt?_t(Mt):Xt()})})},Ht.prototype.on=function(Ut,Ft){var Xt,_t,Mt,jt;return qt.prototype.onAux.call(this,Ut,"Event '"+Ut+"' triggered by 'Session'",Ft),Ut==="publisherStartSpeaking"&&(this.remoteConnections.forEach(function(zt){var Gt;!((Gt=zt.stream)===null||Gt===void 0)&&Gt.hasAudio&&zt.stream.enableHarkSpeakingEvent()}),!((_t=(Xt=this.connection)===null||Xt===void 0?void 0:Xt.stream)===null||_t===void 0)&&_t.hasAudio&&this.connection.stream.enableHarkSpeakingEvent()),Ut==="publisherStopSpeaking"&&(this.remoteConnections.forEach(function(zt){var Gt;!((Gt=zt.stream)===null||Gt===void 0)&&Gt.hasAudio&&zt.stream.enableHarkStoppedSpeakingEvent()}),!((jt=(Mt=this.connection)===null||Mt===void 0?void 0:Mt.stream)===null||jt===void 0)&&jt.hasAudio&&this.connection.stream.enableHarkStoppedSpeakingEvent()),this},Ht.prototype.once=function(Ut,Ft){var Xt,_t,Mt,jt;return qt.prototype.onceAux.call(this,Ut,"Event '"+Ut+"' triggered once by 'Session'",Ft),Ut==="publisherStartSpeaking"&&(this.remoteConnections.forEach(function(zt){var Gt;!((Gt=zt.stream)===null||Gt===void 0)&&Gt.hasAudio&&zt.stream.enableOnceHarkSpeakingEvent()}),!((_t=(Xt=this.connection)===null||Xt===void 0?void 0:Xt.stream)===null||_t===void 0)&&_t.hasAudio&&this.connection.stream.enableOnceHarkSpeakingEvent()),Ut==="publisherStopSpeaking"&&(this.remoteConnections.forEach(function(zt){var Gt;!((Gt=zt.stream)===null||Gt===void 0)&&Gt.hasAudio&&zt.stream.enableOnceHarkStoppedSpeakingEvent()}),!((jt=(Mt=this.connection)===null||Mt===void 0?void 0:Mt.stream)===null||jt===void 0)&&jt.hasAudio&&this.connection.stream.enableOnceHarkStoppedSpeakingEvent()),this},Ht.prototype.off=function(Ut,Ft){var Xt=this,_t,Mt,jt,zt;return qt.prototype.offAux.call(this,Ut,Ft),Ut==="publisherStartSpeaking"&&(this.anySpeechEventListenerEnabled("publisherStartSpeaking",!1)||(this.remoteConnections.forEach(function(Gt){var Yt;!((Yt=Gt.stream)===null||Yt===void 0)&&Yt.streamManager&&(Xt.anySpeechEventListenerEnabled("publisherStartSpeaking",!1,Gt.stream.streamManager)||Gt.stream.disableHarkSpeakingEvent(!1))}),!((Mt=(_t=this.connection)===null||_t===void 0?void 0:_t.stream)===null||Mt===void 0)&&Mt.streamManager&&(this.anySpeechEventListenerEnabled("publisherStartSpeaking",!1,this.connection.stream.streamManager)||this.connection.stream.disableHarkSpeakingEvent(!1)))),Ut==="publisherStopSpeaking"&&(this.anySpeechEventListenerEnabled("publisherStopSpeaking",!1)||(this.remoteConnections.forEach(function(Gt){var Yt;!((Yt=Gt.stream)===null||Yt===void 0)&&Yt.streamManager&&(Xt.anySpeechEventListenerEnabled("publisherStopSpeaking",!1,Gt.stream.streamManager)||Gt.stream.disableHarkStoppedSpeakingEvent(!1))}),!((zt=(jt=this.connection)===null||jt===void 0?void 0:jt.stream)===null||zt===void 0)&&zt.streamManager&&(this.anySpeechEventListenerEnabled("publisherStopSpeaking",!1,this.connection.stream.streamManager)||this.connection.stream.disableHarkStoppedSpeakingEvent(!1)))),this},Ht.prototype.onParticipantJoined=function(Ut){var Ft=this;this.getConnection(Ut.id,"").then(function(Xt){Lt.warn("Connection "+Xt.connectionId+" already exists in connections list")}).catch(function(Xt){var _t=new tt.Connection(Ft,Ut);Ft.remoteConnections.set(Ut.id,_t),Ft.ee.emitEvent("connectionCreated",[new gt.ConnectionEvent(!1,Ft,"connectionCreated",_t,"")])})},Ht.prototype.onParticipantLeft=function(Ut){var Ft=this;this.getRemoteConnection(Ut.connectionId,"onParticipantLeft").then(function(Xt){if(Xt.stream){var _t=Xt.stream,Mt=new vt.StreamEvent(!0,Ft,"streamDestroyed",_t,Ut.reason);Ft.ee.emitEvent("streamDestroyed",[Mt]),Mt.callDefaultBehavior(),Ft.remoteStreamsCreated.delete(_t.streamId)}Xt.dispose(),Ft.remoteConnections.delete(Xt.connectionId),Ft.ee.emitEvent("connectionDestroyed",[new gt.ConnectionEvent(!1,Ft,"connectionDestroyed",Xt,Ut.reason)])}).catch(function(Xt){Lt.error(Xt)})},Ht.prototype.onParticipantPublished=function(Ut){var Ft=this,Xt=function(Mt){Ft.remoteConnections.set(Mt.connectionId,Mt),Ft.remoteStreamsCreated.get(Mt.stream.streamId)||Ft.ee.emitEvent("streamCreated",[new vt.StreamEvent(!1,Ft,"streamCreated",Mt.stream,"")]),Ft.remoteStreamsCreated.set(Mt.stream.streamId,!0)},_t;this.getRemoteConnection(Ut.id,"onParticipantPublished").then(function(Mt){_t=Mt,Ut.metadata=Mt.data,_t.remoteOptions=Ut,_t.initRemoteStreams(Ut.streams),Xt(_t)}).catch(function(Mt){_t=new tt.Connection(Ft,Ut),Xt(_t)})},Ht.prototype.onParticipantUnpublished=function(Ut){var Ft=this;Ut.connectionId===this.connection.connectionId?this.stopPublisherStream(Ut.reason):this.getRemoteConnection(Ut.connectionId,"onParticipantUnpublished").then(function(Xt){var _t=new vt.StreamEvent(!0,Ft,"streamDestroyed",Xt.stream,Ut.reason);if(Ft.ee.emitEvent("streamDestroyed",[_t]),_t.callDefaultBehavior(),Xt.stream!=null){var Mt=Xt.stream.streamId;Ft.remoteStreamsCreated.delete(Mt),Xt.removeStream()}}).catch(function(Xt){Lt.error(Xt)})},Ht.prototype.onParticipantEvicted=function(Ut){Ut.connectionId===this.connection.connectionId&&this.sessionId&&!this.connection.disposed&&this.leave(!0,Ut.reason)},Ht.prototype.onNewMessage=function(Ut){var Ft=this;Lt.info("New signal: "+JSON.stringify(Ut));var Xt=Ut.type?Ut.type.replace(/^(signal:)/,""):void 0;Ut.from?this.getConnection(Ut.from,"Connection '"+Ut.from+"' unknown when 'onNewMessage'. Existing remote connections: "+JSON.stringify(this.remoteConnections.keys())+". Existing local connection: "+this.connection.connectionId).then(function(_t){Ft.ee.emitEvent("signal",[new Ct.SignalEvent(Ft,Xt,Ut.data,_t)]),Ut.type&&Ut.type!=="signal"&&Ft.ee.emitEvent(Ut.type,[new Ct.SignalEvent(Ft,Xt,Ut.data,_t)])}).catch(function(_t){Lt.error(_t)}):(this.ee.emitEvent("signal",[new Ct.SignalEvent(this,Xt,Ut.data,void 0)]),Ut.type&&Ut.type!=="signal"&&this.ee.emitEvent(Ut.type,[new Ct.SignalEvent(this,Xt,Ut.data,void 0)]))},Ht.prototype.onStreamPropertyChanged=function(Ut){var Ft=this,Xt=function(_t){var Mt,jt;if(_t.stream&&_t.stream.streamId===Ut.streamId){var zt=_t.stream,Gt=void 0;switch(Ut.property){case"audioActive":Gt=zt.audioActive,Ut.newValue=Ut.newValue==="true",zt.audioActive=Ut.newValue;break;case"videoActive":Gt=zt.videoActive,Ut.newValue=Ut.newValue==="true",zt.videoActive=Ut.newValue;var Yt=(jt=(Mt=zt==null?void 0:zt.getMediaStream())===null||Mt===void 0?void 0:Mt.getVideoTracks())===null||jt===void 0?void 0:jt[0];Yt&&!Yt.enabled&&zt.videoActive&&(Yt.enabled=!0);break;case"videoTrack":Ut.newValue=JSON.parse(Ut.newValue);break;case"audioTrack":Ut.newValue=JSON.parse(Ut.newValue);break;case"videoDimensions":Gt=zt.videoDimensions,Ut.newValue=JSON.parse(JSON.parse(Ut.newValue)),zt.videoDimensions=Ut.newValue;break;case"filter":Gt=zt.filter,Ut.newValue=Object.keys(Ut.newValue).length>0?Ut.newValue:void 0,Ut.newValue!==void 0?(zt.filter=new nt.Filter(Ut.newValue.type,Ut.newValue.options),zt.filter.stream=zt,Ut.newValue.lastExecMethod&&(zt.filter.lastExecMethod=Ut.newValue.lastExecMethod)):delete zt.filter,Ut.newValue=zt.filter;break}Ft.ee.emitEvent("streamPropertyChanged",[new kt.StreamPropertyChangedEvent(Ft,zt,Ut.property,Ut.newValue,Gt,Ut.reason)]),zt.streamManager&&zt.streamManager.emitEvent("streamPropertyChanged",[new kt.StreamPropertyChangedEvent(zt.streamManager,zt,Ut.property,Ut.newValue,Gt,Ut.reason)])}else Lt.error("No stream with streamId '"+Ut.streamId+"' found for connection '"+Ut.connectionId+"' on 'streamPropertyChanged' event")};Ut.connectionId===this.connection.connectionId?Xt(this.connection):this.getRemoteConnection(Ut.connectionId,"onStreamPropertyChanged").then(function(_t){Xt(_t)}).catch(function(_t){Lt.error(_t)})},Ht.prototype.onConnectionPropertyChanged=function(Ut){var Ft;switch(Ut.property){case"role":Ft=this.connection.role.slice(),this.connection.role=Ut.newValue,this.connection.localOptions.role=Ut.newValue;break;case"record":Ft=this.connection.record,Ut.newValue=Ut.newValue==="true",this.connection.record=Ut.newValue,this.connection.localOptions.record=Ut.newValue;break}this.ee.emitEvent("connectionPropertyChanged",[new bt.ConnectionPropertyChangedEvent(this,this.connection,Ut.property,Ut.newValue,Ft)])},Ht.prototype.onNetworkQualityLevelChangedChanged=function(Ut){var Ft=this;Ut.connectionId===this.connection.connectionId?this.ee.emitEvent("networkQualityLevelChanged",[new wt.NetworkQualityLevelChangedEvent(this,Ut.newValue,Ut.oldValue,this.connection)]):this.getConnection(Ut.connectionId,"Connection not found for connectionId "+Ut.connectionId).then(function(Xt){Ft.ee.emitEvent("networkQualityLevelChanged",[new wt.NetworkQualityLevelChangedEvent(Ft,Ut.newValue,Ut.oldValue,Xt)])}).catch(function(Xt){Lt.error(Xt)})},Ht.prototype.recvIceCandidate=function(Ut){var Ft={candidate:Ut.candidate,sdpMLineIndex:Ut.sdpMLineIndex,sdpMid:Ut.sdpMid},Xt=new RTCIceCandidate(Ft);this.getConnection(Ut.senderConnectionId,"Connection not found for connectionId "+Ut.senderConnectionId+" owning endpoint "+Ut.endpointName+". Ice candidate will be ignored: "+Xt).then(function(_t){var Mt=_t.stream;Mt.getWebRtcPeer().addIceCandidate(Xt).catch(function(jt){Lt.error("Error adding candidate for "+Mt.streamId+" stream of endpoint "+Ut.endpointName+": "+jt)})}).catch(function(_t){Lt.error(_t)})},Ht.prototype.onSessionClosed=function(Ut){Lt.info("Session closed: "+JSON.stringify(Ut));var Ft=Ut.sessionId;Ft!==void 0?this.ee.emitEvent("session-closed",[{session:Ft}]):Lt.warn("Session undefined on session closed",Ut)},Ht.prototype.onLostConnection=function(Ut){Lt.warn("Lost connection in Session "+this.sessionId),this.sessionId&&this.connection&&!this.connection.disposed&&this.leave(!0,Ut)},Ht.prototype.onRecoveredConnection=function(){Lt.info("Recovered connection in Session "+this.sessionId),this.reconnectBrokenStreams(),this.ee.emitEvent("reconnected",[])},Ht.prototype.onMediaError=function(Ut){Lt.error("Media error: "+JSON.stringify(Ut));var Ft=Ut.error;Ft?this.ee.emitEvent("error-media",[{error:Ft}]):Lt.warn("Received undefined media error:",Ut)},Ht.prototype.onRecordingStarted=function(Ut){this.ee.emitEvent("recordingStarted",[new xt.RecordingEvent(this,"recordingStarted",Ut.id,Ut.name)])},Ht.prototype.onRecordingStopped=function(Ut){this.ee.emitEvent("recordingStopped",[new xt.RecordingEvent(this,"recordingStopped",Ut.id,Ut.name,Ut.reason)])},Ht.prototype.onBroadcastStarted=function(){this.ee.emitEvent("broadcastStarted",[])},Ht.prototype.onBroadcastStopped=function(){this.ee.emitEvent("broadcastStopped",[])},Ht.prototype.onFilterEventDispatched=function(Ut){var Ft=this,Xt=Ut.connectionId;this.getConnection(Xt,"No connection found for connectionId "+Xt).then(function(_t){Lt.info('Filter event of type "'.concat(Ut.eventType,'" dispatched'));var Mt=_t.stream;if(!Mt||!Mt.filter)return Lt.error('Filter event of type "'.concat(Ut.eventType,'" dispatched for stream ').concat(Mt.streamId," but there is no ").concat(Mt?"filter":"stream"," defined"));var jt=Mt.filter.handlers.get(Ut.eventType);if(!jt||typeof jt!="function"){var zt=Array.from(Mt.filter.handlers.keys());return Lt.error('Filter event of type "'.concat(Ut.eventType,'" not handled or not a function! Active filter events: ').concat(zt.join(",")))}else jt.call(Ft,new At.FilterEvent(Mt.filter,Ut.eventType,Ut.data))})},Ht.prototype.onForciblyReconnectSubscriber=function(Ut){var Ft=this;return new Promise(function(Xt,_t){Ft.getRemoteConnection(Ut.connectionId,"onForciblyReconnectSubscriber").then(function(Mt){if(Mt.stream&&Mt.stream.streamId===Ut.streamId){var jt=Mt.stream;if(jt.setupReconnectionEventEmitter(Xt,_t)){if(jt.reconnectionEventEmitter.onForciblyReconnectSubscriberLastEvent!=null)return jt.reconnectionEventEmitter.onForciblyReconnectSubscriberLastEvent=Ut,_t("Ongoing forced subscriber reconnection");jt.reconnectionEventEmitter.onForciblyReconnectSubscriberLastEvent=Ut;var zt=function(){var Yt=jt.reconnectionEventEmitter.onForciblyReconnectSubscriberLastEvent;delete jt.reconnectionEventEmitter.onForciblyReconnectSubscriberLastEvent,Ft.onForciblyReconnectSubscriber(Yt)};jt.reconnectionEventEmitter.once("success",function(){zt()}),jt.reconnectionEventEmitter.once("error",function(){zt()});return}jt.completeWebRtcPeerReceive(!0,!0,Ut.sdpOffer).then(function(){return jt.finalResolveForSubscription(!0,Xt)}).catch(function(Yt){return jt.finalRejectForSubscription(!0,"Error while forcibly reconnecting remote stream ".concat(Ut.streamId,": ").concat(Yt.toString()),_t)})}else{var Gt="No stream with streamId '"+Ut.streamId+"' found for connection '"+Ut.connectionId+"' on 'streamPropertyChanged' event";return Lt.error(Gt),_t(Gt)}}).catch(function(Mt){return Lt.error(Mt),_t(Mt)})})},Ht.prototype.reconnectBrokenStreams=function(){Lt.info("Re-establishing media connections...");var Ut=!1;this.connection.stream&&this.connection.stream.streamIceConnectionStateBroken()&&(Lt.warn("Re-establishing Publisher "+this.connection.stream.streamId),this.connection.stream.initWebRtcPeerSend(!0),Ut=!0),this.remoteConnections.forEach(function(Ft){Ft.stream&&Ft.stream.streamIceConnectionStateBroken()&&(Lt.warn("Re-establishing Subscriber "+Ft.stream.streamId),Ft.stream.initWebRtcPeerReceive(!0),Ut=!0)}),Ut||Lt.info("There were no media streams in need of a reconnection")},Ht.prototype.onSpeechToTextMessage=function(Ut){return Le(this,void 0,void 0,function(){var Ft,Xt;return Ye(this,function(_t){switch(_t.label){case 0:return[4,this.getConnection(Ut.connectionId,"No connection found for connectionId "+Ut.connectionId)];case 1:return Ft=_t.sent(),Xt=new Et.SpeechToTextEvent(this,Ft,Ut.text,Ut.reason.toLowerCase(),Ut.raw,Ut.lang),this.ee.emitEvent("speechToTextMessage",[Xt]),[2]}})})},Ht.prototype.onSpeechToTextDisconnected=function(Ut){return Le(this,void 0,void 0,function(){return Ye(this,function(Ft){return this.emitEvent("exception",[new Ot.ExceptionEvent(this,Ot.ExceptionEventName.SPEECH_TO_TEXT_DISCONNECTED,this,Ut.message)]),[2]})})},Ht.prototype.emitEvent=function(Ut,Ft){this.ee.emitEvent(Ut,Ft)},Ht.prototype.leave=function(Ut,Ft){var Xt=this;if(Ut=!!Ut,Lt.info("Leaving Session (forced="+Ut+")"),this.stopVideoDataIntervals(),this.connection){if(!this.connection.disposed&&!Ut?this.openvidu.sendRequest("leaveRoom",function(Mt,jt){Mt&&Lt.error("leaveRoom error: ".concat(JSON.stringify(Mt))),Xt.openvidu.closeWs()}):this.openvidu.closeWs(),this.stopPublisherStream(Ft),!this.connection.disposed){var _t=new yt.SessionDisconnectedEvent(this,Ft);this.ee.emitEvent("sessionDisconnected",[_t]),_t.callDefaultBehavior()}}else Lt.warn("You were not connected to the session "+this.sessionId);Lt.flush()},Ht.prototype.initializeParams=function(Ut){var Ft={token:Ut||"",session:this.sessionId,platform:Wt.getDescription()?Wt.getDescription():"unknown",sdkVersion:this.openvidu.libraryVersion,metadata:this.options.metadata?this.options.metadata:"",secret:this.openvidu.getSecret(),recorder:this.openvidu.getRecorder(),stt:this.openvidu.getStt()};return Ft},Ht.prototype.sendVideoData=function(Ut,Ft,Xt,_t){var Mt=this,jt,zt;if(Ft===void 0&&(Ft=1),Xt===void 0&&(Xt=!1),_t===void 0&&(_t=1),Wt.isChromeBrowser()||Wt.isChromeMobileBrowser()||Wt.isOperaBrowser()||Wt.isOperaMobileBrowser()||Wt.isEdgeBrowser()||Wt.isEdgeMobileBrowser()||Wt.isElectron()||Wt.isSafariBrowser()&&!Wt.isIonicIos()||Wt.isAndroidBrowser()||Wt.isSamsungBrowser()||Wt.isIonicAndroid()||Wt.isIOSWithSafari()){var Gt=function(){return Le(Mt,void 0,void 0,function(){var ar,tr,sr;return Ye(this,function(dr){switch(dr.label){case 0:return ar=Ut.stream.getRTCPeerConnection(),ar.connectionState!=="connected"?[3,2]:[4,ar.getStats()];case 1:tr=dr.sent(),sr=[],tr.forEach(function(rr){"frameWidth"in rr&&"frameHeight"in rr&&sr.length===0&&sr.push(rr)}),sr.length>0&&this.openvidu.sendRequest("videoData",{height:sr[0].frameHeight,width:sr[0].frameWidth,videoActive:Ut.stream.videoActive!=null?Ut.stream.videoActive:!1,audioActive:Ut.stream.audioActive!=null?Ut.stream.audioActive:!1},function(rr,gr){rr&&Lt.error("Error sending 'videoData' event",rr)}),dr.label=2;case 2:return[2]}})})};if(Xt){var Yt=1;this.videoDataInterval=setInterval(function(){Yt<_t?(Yt++,Gt()):clearInterval(Mt.videoDataInterval)},Ft*1e3)}else this.videoDataTimeout=setTimeout(Gt,Ft*1e3)}else Wt.isFirefoxBrowser()||Wt.isFirefoxMobileBrowser()||Wt.isIonicIos()||Wt.isReactNative()?this.openvidu.sendRequest("videoData",{height:((jt=Ut.stream.videoDimensions)===null||jt===void 0?void 0:jt.height)||0,width:((zt=Ut.stream.videoDimensions)===null||zt===void 0?void 0:zt.width)||0,videoActive:Ut.stream.videoActive!=null?Ut.stream.videoActive:!1,audioActive:Ut.stream.audioActive!=null?Ut.stream.audioActive:!1},function(ar,tr){ar&&Lt.error("Error sending 'videoData' event",ar)}):Lt.error("Browser "+Wt.getName()+" (version "+Wt.getVersion()+") for "+Wt.getFamily()+" is not supported in OpenVidu for Network Quality")},Ht.prototype.sessionConnected=function(){return this.connection!=null},Ht.prototype.notConnectedError=function(){return new It.OpenViduError(It.OpenViduErrorName.OPENVIDU_NOT_CONNECTED,"There is no connection to the session. Method 'Session.connect' must be successfully completed first")},Ht.prototype.anySpeechEventListenerEnabled=function(Ut,Ft,Xt){var _t=this.ee.getListeners(Ut);Ft&&(_t=_t.filter(function(Gt){return Gt.once}));var Mt=_t.length;if(Mt>0)return!0;var jt=0;if(Xt){var zt=Xt.ee.getListeners(Ut);Ft&&(zt=zt.filter(function(Gt){return Gt.once})),jt=zt.length}return jt>0},Ht.prototype.getTokenParams=function(Ut){var Ft=Ut.match(/^(wss?)\:\/\/(([^:\/?#]*)(?:\:([0-9]+))?)([\/]{0,1}[^?#]*)(\?[^#]*|)(#.*|)$/);if(Ft){var Xt={protocol:Ft[1],host:Ft[2],hostname:Ft[3],port:Ft[4],pathname:Ft[5],search:Ft[6],hash:Ft[7]},_t=Ut.split("?"),Mt=decodeURI(_t[1]).split("&").map(function(jt){return jt.split("=")}).reduce(function(jt,zt){var Gt=zt[0],Yt=zt[1];return jt[Gt]=Yt,jt},{});return{sessionId:Mt.sessionId,secret:Mt.secret,recorder:Mt.recorder,stt:Mt.stt,webrtcStatsInterval:Mt.webrtcStatsInterval,sendBrowserLogs:Mt.sendBrowserLogs,edition:Mt.edition,wsUri:Xt.protocol+"://"+Xt.host+"/openvidu",httpUri:"https://"+Xt.host}}else throw new Error('Token not valid: "'.concat(Ut,'"'))},Ht.prototype.connectAux=function(Ut){var Ft=this;return new Promise(function(Xt,_t){Ft.openvidu.startWs(function(Mt){if(Mt)return _t(Mt);var jt=Ft.initializeParams(Ut);Ft.openvidu.sendRequest("joinRoom",jt,function(zt,Gt){if(zt)return _t(zt);Ft.processJoinRoomResponse(Gt,Ut),Ft.connection=new tt.Connection(Ft,Gt);var Yt={connections:new Array,streams:new Array},ar=Gt.value;return ar.forEach(function(tr){var sr=new tt.Connection(Ft,tr);Ft.remoteConnections.set(sr.connectionId,sr),Yt.connections.push(sr),sr.stream&&(Ft.remoteStreamsCreated.set(sr.stream.streamId,!0),Yt.streams.push(sr.stream))}),Ft.ee.emitEvent("connectionCreated",[new gt.ConnectionEvent(!1,Ft,"connectionCreated",Ft.connection,"")]),Yt.connections.forEach(function(tr){Ft.ee.emitEvent("connectionCreated",[new gt.ConnectionEvent(!1,Ft,"connectionCreated",tr,"")])}),Yt.streams.forEach(function(tr){Ft.ee.emitEvent("streamCreated",[new vt.StreamEvent(!1,Ft,"streamCreated",tr,"")])}),Gt.recordingId&&Gt.recordingName&&Ft.ee.emitEvent("recordingStarted",[new xt.RecordingEvent(Ft,"recordingStarted",Gt.recordingId,Gt.recordingName)]),Xt()})})})},Ht.prototype.stopPublisherStream=function(Ut){this.connection.stream&&(this.connection.stream.disposeWebRtcPeer(),this.connection.stream.isLocalStreamPublished&&this.connection.stream.ee.emitEvent("local-stream-destroyed",[Ut]))},Ht.prototype.stopVideoDataIntervals=function(){clearInterval(this.videoDataInterval),clearTimeout(this.videoDataTimeout)},Ht.prototype.stringClientMetadata=function(Ut){return typeof Ut!="string"?JSON.stringify(Ut):Ut},Ht.prototype.getConnection=function(Ut,Ft){var Xt=this;return new Promise(function(_t,Mt){var jt=Xt.remoteConnections.get(Ut);return jt?_t(jt):Xt.connection.connectionId===Ut?_t(Xt.connection):Mt(new It.OpenViduError(It.OpenViduErrorName.GENERIC_ERROR,Ft))})},Ht.prototype.getRemoteConnection=function(Ut,Ft){var Xt=this;return new Promise(function(_t,Mt){var jt=Xt.remoteConnections.get(Ut);if(jt)return _t(jt);var zt="Remote connection "+Ut+" unknown when '"+Ft+"'. Existing remote connections: "+JSON.stringify(Xt.remoteConnections.keys());return Mt(new It.OpenViduError(It.OpenViduErrorName.GENERIC_ERROR,zt))})},Ht.prototype.processToken=function(Ut){var Ft=this.getTokenParams(Ut);this.sessionId=Ft.sessionId,Ft.secret&&(this.openvidu.secret=Ft.secret),Ft.recorder&&(this.openvidu.recorder=!0),Ft.stt&&(this.openvidu.stt=!0),Ft.webrtcStatsInterval&&(this.openvidu.webrtcStatsInterval=Ft.webrtcStatsInterval),Ft.sendBrowserLogs&&(this.openvidu.sendBrowserLogs=Ft.sendBrowserLogs),this.openvidu.isAtLeastPro=Ft.edition==="pro"||Ft.edition==="enterprise",this.openvidu.isEnterprise=Ft.edition==="enterprise",this.openvidu.wsUri=Ft.wsUri,this.openvidu.httpUri=Ft.httpUri},Ht.prototype.processJoinRoomResponse=function(Ut,Ft){if(this.sessionId=Ut.session,Ut.customIceServers!=null&&Ut.customIceServers.length>0){this.openvidu.iceServers=[];for(var Xt=0,_t=Ut.customIceServers;Xt<_t.length;Xt++){var Mt=_t[Xt],jt={urls:[Mt.url]};Lt.log("STUN/TURN server IP: "+Mt.url),Mt.username!=null&&Mt.credential!=null&&(jt.username=Mt.username,jt.credential=Mt.credential,Lt.log("TURN credentials ["+Mt.username+":"+Mt.credential+"]")),this.openvidu.iceServers.push(jt)}}this.openvidu.role=Ut.role,this.openvidu.finalUserId=Ut.finalUserId,this.openvidu.mediaServer=Ut.mediaServer,this.openvidu.videoSimulcast=Ut.videoSimulcast,this.capabilities={subscribe:!0,publish:this.openvidu.role!=="SUBSCRIBER",forceUnpublish:this.openvidu.role==="MODERATOR",forceDisconnect:this.openvidu.role==="MODERATOR"},Lt.info("openvidu-server version: "+Ut.version),Ut.life!=null&&(this.openvidu.life=Ut.life);var zt=Dt(Ut.version)-Dt(this.openvidu.libraryVersion);Pt(Ut.version)!==Pt(this.openvidu.libraryVersion)||!(zt==0||zt==1)?Lt.error("openvidu-browser (".concat(this.openvidu.libraryVersion,") and openvidu-server (").concat(Ut.version,") versions are incompatible. ")+"Errors are likely to occur. openvidu-browser SDK is only compatible with the same version or the immediately following minor version of an OpenVidu deployment"):zt==1&&Lt.warn("openvidu-browser version ".concat(this.openvidu.libraryVersion," does not match openvidu-server version ").concat(Ut.version,". ")+"These versions are still compatible with each other, but openvidu-browser version must be updated as soon as possible to ".concat(Pt(Ut.version),".").concat(Dt(Ut.version),".x. ")+"This client using openvidu-browser ".concat(this.openvidu.libraryVersion," will become incompatible with the next release of openvidu-server")),Tt.OpenViduLogger.configureJSNLog(this.openvidu,Ft),this.token=Ft},Ht}(ht.EventDispatcher);return Session.Session=$t,Session}var hasRequiredPublisher;function requirePublisher(){if(hasRequiredPublisher)return Publisher;hasRequiredPublisher=1;var Be=commonjsGlobal&&commonjsGlobal.__extends||function(){var bt=function(wt,It){return bt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Rt,Tt){Rt.__proto__=Tt}||function(Rt,Tt){for(var Bt in Tt)Object.prototype.hasOwnProperty.call(Tt,Bt)&&(Rt[Bt]=Tt[Bt])},bt(wt,It)};return function(wt,It){if(typeof It!="function"&&It!==null)throw new TypeError("Class extends value "+String(It)+" is not a constructor or null");bt(wt,It);function Rt(){this.constructor=wt}wt.prototype=It===null?Object.create(It):(Rt.prototype=It.prototype,new Rt)}}(),Le=commonjsGlobal&&commonjsGlobal.__awaiter||function(bt,wt,It,Rt){function Tt(Bt){return Bt instanceof It?Bt:new It(function(Pt){Pt(Bt)})}return new(It||(It=Promise))(function(Bt,Pt){function Dt(Wt){try{Lt(Rt.next(Wt))}catch($t){Pt($t)}}function Ot(Wt){try{Lt(Rt.throw(Wt))}catch($t){Pt($t)}}function Lt(Wt){Wt.done?Bt(Wt.value):Tt(Wt.value).then(Dt,Ot)}Lt((Rt=Rt.apply(bt,wt||[])).next())})},Ye=commonjsGlobal&&commonjsGlobal.__generator||function(bt,wt){var It={label:0,sent:function(){if(Bt[0]&1)throw Bt[1];return Bt[1]},trys:[],ops:[]},Rt,Tt,Bt,Pt;return Pt={next:Dt(0),throw:Dt(1),return:Dt(2)},typeof Symbol=="function"&&(Pt[Symbol.iterator]=function(){return this}),Pt;function Dt(Lt){return function(Wt){return Ot([Lt,Wt])}}function Ot(Lt){if(Rt)throw new TypeError("Generator is already executing.");for(;Pt&&(Pt=0,Lt[0]&&(It=0)),It;)try{if(Rt=1,Tt&&(Bt=Lt[0]&2?Tt.return:Lt[0]?Tt.throw||((Bt=Tt.return)&&Bt.call(Tt),0):Tt.next)&&!(Bt=Bt.call(Tt,Lt[1])).done)return Bt;switch(Tt=0,Bt&&(Lt=[Lt[0]&2,Bt.value]),Lt[0]){case 0:case 1:Bt=Lt;break;case 4:return It.label++,{value:Lt[1],done:!1};case 5:It.label++,Tt=Lt[1],Lt=[0];continue;case 7:Lt=It.ops.pop(),It.trys.pop();continue;default:if(Bt=It.trys,!(Bt=Bt.length>0&&Bt[Bt.length-1])&&(Lt[0]===6||Lt[0]===2)){It=0;continue}if(Lt[0]===3&&(!Bt||Lt[1]>Bt[0]&&Lt[1]<Bt[3])){It.label=Lt[1];break}if(Lt[0]===6&&It.label<Bt[1]){It.label=Bt[1],Bt=Lt;break}if(Bt&&It.label<Bt[2]){It.label=Bt[2],It.ops.push(Lt);break}Bt[2]&&It.ops.pop(),It.trys.pop();continue}Lt=wt.call(bt,It)}catch(Wt){Lt=[6,Wt],Tt=0}finally{Rt=Bt=0}if(Lt[0]&5)throw Lt[1];return{value:Lt[0]?Lt[1]:void 0,done:!0}}};Object.defineProperty(Publisher,"__esModule",{value:!0}),Publisher.Publisher=void 0;var tt=requireSession(),nt=Stream$2,ft=StreamManager$1,ht=requireStreamEvent(),gt=StreamPropertyChangedEvent$1,At=OpenViduError,xt=OpenViduLogger$1,yt=Platform,Ct=TypeOfVideo,Et=xt.OpenViduLogger.getInstance(),vt,kt=function(bt){Be(wt,bt);function wt(It,Rt,Tt){var Bt=bt.call(this,new nt.Stream(Tt.session?Tt.session:new tt.Session(Tt),{publisherProperties:Rt,mediaConstraints:{}}),It)||this;return Bt.accessAllowed=!1,Bt.isSubscribedToRemote=!1,Bt.accessDenied=!1,vt=yt.PlatformUtils.getInstance(),Bt.properties=Rt,Bt.openvidu=Tt,Bt.stream.ee.on("local-stream-destroyed",function(Pt){Bt.stream.isLocalStreamPublished=!1;var Dt=new ht.StreamEvent(!0,Bt,"streamDestroyed",Bt.stream,Pt);Bt.emitEvent("streamDestroyed",[Dt]),Dt.callDefaultBehavior()}),Bt}return wt.prototype.publishAudio=function(It){var Rt=this;if(this.stream.audioActive!==It){var Tt=this.stream.displayMyRemote()?this.stream.localMediaStreamWhenSubscribedToRemote:this.stream.getMediaStream();Tt.getAudioTracks().forEach(function(Bt){Bt.enabled=It}),this.session&&this.stream.streamId&&this.session.openvidu.sendRequest("streamPropertyChanged",{streamId:this.stream.streamId,property:"audioActive",newValue:It,reason:"publishAudio"},function(Bt,Pt){Bt?Et.error("Error sending 'streamPropertyChanged' event",Bt):(Rt.session.emitEvent("streamPropertyChanged",[new gt.StreamPropertyChangedEvent(Rt.session,Rt.stream,"audioActive",It,!It,"publishAudio")]),Rt.emitEvent("streamPropertyChanged",[new gt.StreamPropertyChangedEvent(Rt,Rt.stream,"audioActive",It,!It,"publishAudio")]),Rt.session.sendVideoData(Rt.stream.streamManager))}),this.stream.audioActive=It,Et.info("'Publisher' has "+(It?"published":"unpublished")+" its audio stream")}},wt.prototype.publishVideo=function(It,Rt){var Tt=this;return new Promise(function(Bt,Pt){return Le(Tt,void 0,void 0,function(){var Dt,Ot,Lt,Wt,$t,qt,Ht=this;return Ye(this,function(Ut){switch(Ut.label){case 0:return this.stream.videoActive===It?[3,9]:(Dt=this.stream.displayMyRemote()?this.stream.localMediaStreamWhenSubscribedToRemote:this.stream.getMediaStream(),Ot=!1,Dt.getVideoTracks().forEach(function(Ft){Ft.enabled=It,!It&&Rt===!0?Ft.stop():It&&Ft.readyState==="ended"&&(Ot=!0)}),!It&&Rt===!0&&this.stream.filter&&this.stream.filter.type.startsWith("VB:")?(this.stream.lastVBFilter=this.stream.filter,[4,this.stream.removeFilterAux(!0)]):[3,2]);case 1:Ut.sent(),Ut.label=2;case 2:return Ot?(Lt=Dt.getVideoTracks()[0],Dt.removeTrack(Lt),Wt=function(Ft){return Le(Ht,void 0,void 0,function(){var Xt=this;return Ye(this,function(_t){switch(_t.label){case 0:return Dt.addTrack(Ft),this.stream.isLocalStreamPublished?[4,this.replaceTrackInRtcRtpSender(Ft)]:[3,2];case 1:_t.sent(),_t.label=2;case 2:return this.stream.lastVBFilter&&setTimeout(function(){return Le(Xt,void 0,void 0,function(){var Mt,jt;return Ye(this,function(zt){switch(zt.label){case 0:return Mt=this.stream.lastVBFilter.options,jt=this.stream.lastVBFilter.lastExecMethod,jt&&jt.method==="update"&&(Mt=Object.assign({},Mt,jt.params)),[4,this.stream.applyFilter(this.stream.lastVBFilter.type,Mt)];case 1:return zt.sent(),delete this.stream.lastVBFilter,[2]}})})},1),[2]}})})},Rt&&Rt instanceof MediaStreamTrack?[4,Wt(Rt)]:[3,4]):[3,8];case 3:return Ut.sent(),[3,8];case 4:return Ut.trys.push([4,7,,8]),[4,navigator.mediaDevices.getUserMedia({audio:!1,video:this.stream.lastVideoTrackConstraints})];case 5:return $t=Ut.sent(),[4,Wt($t.getVideoTracks()[0])];case 6:return Ut.sent(),[3,8];case 7:return qt=Ut.sent(),[2,Pt(qt)];case 8:return this.session&&this.stream.streamId&&this.session.openvidu.sendRequest("streamPropertyChanged",{streamId:this.stream.streamId,property:"videoActive",newValue:It,reason:"publishVideo"},function(Ft,Xt){Ft?Et.error("Error sending 'streamPropertyChanged' event",Ft):(Ht.session.emitEvent("streamPropertyChanged",[new gt.StreamPropertyChangedEvent(Ht.session,Ht.stream,"videoActive",It,!It,"publishVideo")]),Ht.emitEvent("streamPropertyChanged",[new gt.StreamPropertyChangedEvent(Ht,Ht.stream,"videoActive",It,!It,"publishVideo")]),Ht.session.sendVideoData(Ht.stream.streamManager))}),this.stream.videoActive=It,Et.info("'Publisher' has "+(It?"published":"unpublished")+" its video stream"),[2,Bt()];case 9:return[2]}})})})},wt.prototype.subscribeToRemote=function(It){It=It!==void 0?It:!0,this.isSubscribedToRemote=It,this.stream.subscribeToMyRemote(It)},wt.prototype.on=function(It,Rt){var Tt=this;return bt.prototype.on.call(this,It,Rt),It==="streamCreated"&&(this.stream&&this.stream.isLocalStreamPublished?this.emitEvent("streamCreated",[new ht.StreamEvent(!1,this,"streamCreated",this.stream,"")]):this.stream.ee.on("stream-created-by-publisher",function(){Tt.emitEvent("streamCreated",[new ht.StreamEvent(!1,Tt,"streamCreated",Tt.stream,"")])})),It==="accessAllowed"&&this.accessAllowed&&this.emitEvent("accessAllowed",[]),It==="accessDenied"&&this.accessDenied&&this.emitEvent("accessDenied",[]),this},wt.prototype.once=function(It,Rt){var Tt=this;return bt.prototype.once.call(this,It,Rt),It==="streamCreated"&&(this.stream&&this.stream.isLocalStreamPublished?this.emitEvent("streamCreated",[new ht.StreamEvent(!1,this,"streamCreated",this.stream,"")]):this.stream.ee.once("stream-created-by-publisher",function(){Tt.emitEvent("streamCreated",[new ht.StreamEvent(!1,Tt,"streamCreated",Tt.stream,"")])})),It==="accessAllowed"&&this.accessAllowed&&this.emitEvent("accessAllowed",[]),It==="accessDenied"&&this.accessDenied&&this.emitEvent("accessDenied",[]),this},wt.prototype.off=function(It,Rt){return bt.prototype.off.call(this,It,Rt),this},wt.prototype.replaceTrack=function(It){return Le(this,void 0,void 0,function(){return Ye(this,function(Rt){return[2,this.replaceTrackAux(It,!0)]})})},wt.prototype.initialize=function(){var It=this;return new Promise(function(Rt,Tt){return Le(It,void 0,void 0,function(){var Bt,Pt,Dt,Ot,Lt,Wt,$t,qt,Ht,Ut,Ft,Xt,Xt,_t,Mt,jt=this,zt,Gt;return Ye(this,function(Yt){switch(Yt.label){case 0:Bt={},Pt={},Dt=2e3,Lt=function(ar){return jt.accessDenied=!0,jt.accessAllowed=!1,Et.error("Publisher initialization failed. ".concat(ar.name,": ").concat(ar.message)),Tt(ar)},Wt=function(ar){var tr,sr;if(jt.accessAllowed=!0,jt.accessDenied=!1,typeof MediaStreamTrack<"u"&&jt.properties.audioSource instanceof MediaStreamTrack&&(ar.removeTrack(ar.getAudioTracks()[0]),ar.addTrack(jt.properties.audioSource)),typeof MediaStreamTrack<"u"&&jt.properties.videoSource instanceof MediaStreamTrack&&(ar.removeTrack(ar.getVideoTracks()[0]),ar.addTrack(jt.properties.videoSource)),ar.getAudioTracks()[0]){var dr=jt.stream.audioActive!==void 0&&jt.stream.audioActive!==null?jt.stream.audioActive:!!jt.stream.outboundStreamOpts.publisherProperties.publishAudio;ar.getAudioTracks()[0].enabled=dr}if(ar.getVideoTracks()[0]){var dr=jt.stream.videoActive!==void 0&&jt.stream.videoActive!==null?jt.stream.videoActive:!!jt.stream.outboundStreamOpts.publisherProperties.publishVideo;ar.getVideoTracks()[0].enabled=dr}for(var rr=0,gr=ar.getAudioTracks();rr<gr.length;rr++){var yr=gr[rr];!((tr=yr.contentHint)===null||tr===void 0)&&tr.length||(yr.contentHint="",Et.info("Audio track Content Hint set: '".concat(yr.contentHint,"'")))}for(var or=0,ir=ar.getVideoTracks();or<ir.length;or++){var yr=ir[or];if(!(!((sr=yr.contentHint)===null||sr===void 0)&&sr.length)){switch(jt.stream.typeOfVideo){case Ct.TypeOfVideo.SCREEN:yr.contentHint="detail";break;case Ct.TypeOfVideo.CUSTOM:Et.warn("CUSTOM type video track was provided without Content Hint!"),yr.contentHint="motion";break;case Ct.TypeOfVideo.CAMERA:case Ct.TypeOfVideo.IPCAM:default:yr.contentHint="motion";break}Et.info("Video track Content Hint set: '".concat(yr.contentHint,"'"))}}return jt.initializeVideoReference(ar),jt.stream.displayMyRemote()||jt.stream.updateMediaStreamInVideos(),delete jt.firstVideoElement,jt.stream.isSendVideo()?jt.getVideoDimensions().then(function(Zt){jt.stream.videoDimensions={width:Zt.width,height:Zt.height},jt.stream.isSendScreen()&&(jt.stream.isSendAudio()&&ar.getAudioTracks().length===0&&(jt.stream.audioActive=!1,jt.stream.hasAudio=!1,jt.stream.outboundStreamOpts.publisherProperties.publishAudio=!1,jt.stream.outboundStreamOpts.publisherProperties.audioSource=!1),jt.screenShareResizeInterval=setInterval(function(){var Qt=ar.getVideoTracks()[0].getSettings(),er=Qt.width,nr=Qt.height,lr=er!=null&&er!==jt.stream.videoDimensions.width,hr=nr!=null&&nr!==jt.stream.videoDimensions.height;jt.stream.isLocalStreamPublished&&(lr||hr)&&jt.openvidu.sendVideoDimensionsChangedEvent(jt,"screenResized",jt.stream.videoDimensions.width,jt.stream.videoDimensions.height,er||0,nr||0)},650)),jt.stream.isLocalStreamReadyToPublish=!0,jt.stream.ee.emitEvent("stream-ready-to-publish",[])}):(jt.stream.isLocalStreamReadyToPublish=!0,jt.stream.ee.emitEvent("stream-ready-to-publish",[])),Rt()},$t=function(ar,tr){return Le(jt,void 0,void 0,function(){var sr,dr;return Ye(this,function(rr){switch(rr.label){case 0:if(this.clearPermissionDialogTimer(Ot,Dt),!(this.stream.isSendScreen()&&this.properties.audioSource!=="screen"&&this.stream.isSendAudio()))return[3,5];Pt.audio=tr,Pt.video=!1,Ot=Date.now(),this.setPermissionDialogTimer(Dt),rr.label=1;case 1:return rr.trys.push([1,3,,4]),[4,navigator.mediaDevices.getUserMedia(Pt)];case 2:return sr=rr.sent(),this.clearPermissionDialogTimer(Ot,Dt),ar.addTrack(sr.getAudioTracks()[0]),Wt(ar),[3,4];case 3:return dr=rr.sent(),this.clearPermissionDialogTimer(Ot,Dt),ar.getAudioTracks().forEach(function(gr){gr.stop()}),ar.getVideoTracks().forEach(function(gr){gr.stop()}),Lt(this.openvidu.generateAudioDeviceError(dr,Bt)),[2];case 4:return[3,6];case 5:Wt(ar),rr.label=6;case 6:return[2]}})})},qt=function(ar){return Le(jt,void 0,void 0,function(){var tr,sr,dr,gr,rr,gr,yr;return Ye(this,function(or){switch(or.label){case 0:switch(Et.error("getMediaError: ".concat(ar.toString())),this.clearPermissionDialogTimer(Ot,Dt),ar.name==="Error"&&(ar.name=ar.constructor.name),dr=ar.name.toLowerCase(),dr){case"notfounderror":return[3,1];case"notallowederror":return[3,5];case"overconstrainederror":return[3,6];case"aborterror":return[3,10];case"notreadableerror":return[3,10]}return[3,11];case 1:return or.trys.push([1,3,,4]),[4,navigator.mediaDevices.getUserMedia({audio:!1,video:Bt.video})];case 2:return gr=or.sent(),gr.getVideoTracks().forEach(function(ir){ir.stop()}),tr=At.OpenViduErrorName.INPUT_AUDIO_DEVICE_NOT_FOUND,sr=ar.toString(),Lt(new At.OpenViduError(tr,sr)),[3,4];case 3:return rr=or.sent(),tr=At.OpenViduErrorName.INPUT_VIDEO_DEVICE_NOT_FOUND,sr=rr.toString(),Lt(new At.OpenViduError(tr,sr)),[3,4];case 4:return[3,12];case 5:return tr=this.stream.isSendScreen()?At.OpenViduErrorName.SCREEN_CAPTURE_DENIED:At.OpenViduErrorName.DEVICE_ACCESS_DENIED,sr=ar.toString(),Lt(new At.OpenViduError(tr,sr)),[3,12];case 6:return or.trys.push([6,8,,9]),[4,navigator.mediaDevices.getUserMedia({audio:!1,video:Bt.video})];case 7:return gr=or.sent(),gr.getVideoTracks().forEach(function(ir){ir.stop()}),ar.constraint.toLowerCase()==="deviceid"?(tr=At.OpenViduErrorName.INPUT_AUDIO_DEVICE_NOT_FOUND,sr="Audio input device with deviceId '"+Bt.audio.deviceId.exact+"' not found"):(tr=At.OpenViduErrorName.PUBLISHER_PROPERTIES_ERROR,sr="Audio input device doesn't support the value passed for constraint '"+ar.constraint+"'"),Lt(new At.OpenViduError(tr,sr)),[3,9];case 8:return yr=or.sent(),yr.constraint.toLowerCase()==="deviceid"?(tr=At.OpenViduErrorName.INPUT_VIDEO_DEVICE_NOT_FOUND,sr="Video input device with deviceId '"+Bt.video.deviceId.exact+"' not found"):(tr=At.OpenViduErrorName.PUBLISHER_PROPERTIES_ERROR,sr="Video input device doesn't support the value passed for constraint '"+yr.constraint+"'"),Lt(new At.OpenViduError(tr,sr)),[3,9];case 9:return[3,12];case 10:return tr=At.OpenViduErrorName.DEVICE_ALREADY_IN_USE,sr=ar.toString(),Lt(new At.OpenViduError(tr,sr)),[3,12];case 11:return tr=At.OpenViduErrorName.GENERIC_ERROR,sr=ar.toString(),Lt(new At.OpenViduError(tr,sr)),[3,12];case 12:return[2]}})})},Yt.label=1;case 1:return Yt.trys.push([1,14,,15]),[4,this.openvidu.generateMediaConstraints(this.properties)];case 2:return Ht=Yt.sent(),Ht.videoTrack&&Ht.audioTrack||Ht.audioTrack&&((zt=Ht.constraints)===null||zt===void 0?void 0:zt.video)===!1||Ht.videoTrack&&((Gt=Ht.constraints)===null||Gt===void 0?void 0:Gt.audio)===!1?(Wt(this.openvidu.addAlreadyProvidedTracks(Ht,new MediaStream,this.stream)),[3,13]):[3,3];case 3:Bt=Ht.constraints,Ut={mediaConstraints:Bt,publisherProperties:this.properties},this.stream.setOutboundStreamOptions(Ut),Ft=Bt.audio===void 0?!0:Bt.audio,Pt.audio=this.stream.isSendScreen()?!1:Ft,Pt.video=Bt.video,Ot=Date.now(),this.setPermissionDialogTimer(Dt),Yt.label=4;case 4:return Yt.trys.push([4,11,,13]),this.stream.isSendScreen()&&navigator.mediaDevices.getDisplayMedia&&!vt.isElectron()?[4,navigator.mediaDevices.getDisplayMedia({video:!0,audio:this.properties.audioSource==="screen"})]:[3,7];case 5:return Xt=Yt.sent(),this.openvidu.addAlreadyProvidedTracks(Ht,Xt),[4,$t(Xt,Ft)];case 6:return Yt.sent(),[3,10];case 7:return this.stream.lastVideoTrackConstraints=Pt.video,[4,navigator.mediaDevices.getUserMedia(Pt)];case 8:return Xt=Yt.sent(),this.openvidu.addAlreadyProvidedTracks(Ht,Xt,this.stream),[4,$t(Xt,Ft)];case 9:Yt.sent(),Yt.label=10;case 10:return[3,13];case 11:return _t=Yt.sent(),[4,qt(_t)];case 12:return Yt.sent(),[3,13];case 13:return[3,15];case 14:return Mt=Yt.sent(),Lt(Mt),[3,15];case 15:return[2]}})})})},wt.prototype.replaceTrackAux=function(It,Rt){return Le(this,void 0,void 0,function(){var Tt,Bt;return Ye(this,function(Pt){switch(Pt.label){case 0:Tt=It.enabled,It.kind==="video"?It.enabled=this.stream.videoActive:It.kind==="audio"&&(It.enabled=this.stream.audioActive),Pt.label=1;case 1:return Pt.trys.push([1,5,,6]),this.stream.isLocalStreamPublished?(this.replaceTrackInMediaStream(It,Rt),[4,this.replaceTrackInRtcRtpSender(It)]):[3,3];case 2:return[2,Pt.sent()];case 3:return[2,this.replaceTrackInMediaStream(It,Rt)];case 4:return[3,6];case 5:throw Bt=Pt.sent(),It.enabled=Tt,Bt;case 6:return[2]}})})},wt.prototype.getVideoDimensions=function(){var It=this;return new Promise(function(Rt,Tt){var Bt=(vt.isIonicIos()||vt.isIOSWithSafari())&&It.videoReference.readyState<1,Pt,Dt=function(){var Ot,Lt;if(typeof It.stream.getMediaStream().getVideoTracks()[0].getSettings=="function"){var Wt=It.stream.getMediaStream().getVideoTracks()[0].getSettings();Ot=Wt.width||It.videoReference.videoWidth,Lt=Wt.height||It.videoReference.videoHeight}else Et.warn("MediaStreamTrack does not have getSettings method on "+vt.getDescription()),Ot=It.videoReference.videoWidth,Lt=It.videoReference.videoHeight;return Pt!=null&&It.videoReference.removeEventListener("loadedmetadata",Pt),Bt&&document.body.removeChild(It.videoReference),Rt({width:Ot,height:Lt})};It.videoReference.readyState>=1?Dt():(Pt=function(){if(It.videoReference.videoWidth)Dt();else var Ot=setInterval(function(){It.videoReference.videoWidth&&(clearInterval(Ot),Dt())},40)},It.videoReference.addEventListener("loadedmetadata",Pt),Bt&&document.body.appendChild(It.videoReference))})},wt.prototype.reestablishStreamPlayingEvent=function(){this.ee.getListeners("streamPlaying").length>0&&this.addPlayEventToFirstVideo()},wt.prototype.initializeVideoReference=function(It){this.videoReference=document.createElement("video"),this.videoReference.style.display="none",this.videoReference.muted=!0,this.videoReference.autoplay=!0,this.videoReference.controls=!1,(vt.isSafariBrowser()||vt.isIPhoneOrIPad()&&(vt.isChromeMobileBrowser()||vt.isEdgeMobileBrowser()||vt.isOperaMobileBrowser()||vt.isFirefoxMobileBrowser()))&&(this.videoReference.playsInline=!0),this.stream.setMediaStream(It),this.firstVideoElement&&this.createVideoElement(this.firstVideoElement.targetElement,this.properties.insertMode),this.videoReference.srcObject=this.stream.getMediaStream()},wt.prototype.replaceTrackInMediaStream=function(It,Rt){var Tt=this.stream.displayMyRemote()?this.stream.localMediaStreamWhenSubscribedToRemote:this.stream.getMediaStream(),Bt;It.kind==="video"?(Bt=Tt.getVideoTracks()[0],Rt&&(this.stream.lastVideoTrackConstraints=It.getConstraints())):Bt=Tt.getAudioTracks()[0],Bt.enabled=!1,Bt.stop(),Tt.removeTrack(Bt),Tt.addTrack(It);var Pt={oldLabel:(Bt==null?void 0:Bt.label)||"",newLabel:(It==null?void 0:It.label)||""};It.kind==="video"&&Rt?(this.openvidu.sendNewVideoDimensionsIfRequired(this,"trackReplaced",50,30),this.openvidu.sendTrackChangedEvent(this,Pt.oldLabel,Pt.newLabel,"videoTrack"),this.stream.isLocalStreamPublished&&this.session.sendVideoData(this.stream.streamManager,5,!0,5)):It.kind==="audio"&&Rt&&this.openvidu.sendTrackChangedEvent(this,Pt.oldLabel,Pt.newLabel,"audioTrack"),It.kind==="audio"&&(this.stream.disableHarkSpeakingEvent(!1),this.stream.disableHarkStoppedSpeakingEvent(!1),this.stream.disableHarkVolumeChangeEvent(!1),this.stream.initHarkEvents())},wt.prototype.setPermissionDialogTimer=function(It){var Rt=this;this.permissionDialogTimeout=setTimeout(function(){Rt.emitEvent("accessDialogOpened",[])},It)},wt.prototype.clearPermissionDialogTimer=function(It,Rt){clearTimeout(this.permissionDialogTimeout),Date.now()-It>Rt&&this.emitEvent("accessDialogClosed",[])},wt.prototype.replaceTrackInRtcRtpSender=function(It){return Le(this,void 0,void 0,function(){var Rt,Tt;return Ye(this,function(Bt){switch(Bt.label){case 0:if(Rt=this.stream.getRTCPeerConnection().getSenders(),It.kind==="video"){if(Tt=Rt.find(function(Pt){return!!Pt.track&&Pt.track.kind==="video"}),!Tt)throw new Error("There's no replaceable track for that kind of MediaStreamTrack in this Publisher object")}else if(It.kind==="audio"){if(Tt=Rt.find(function(Pt){return!!Pt.track&&Pt.track.kind==="audio"}),!Tt)throw new Error("There's no replaceable track for that kind of MediaStreamTrack in this Publisher object")}else throw new Error("Unknown track kind "+It.kind);return[4,Tt.replaceTrack(It)];case 1:return Bt.sent(),[2]}})})},wt}(ft.StreamManager);return Publisher.Publisher=kt,Publisher}var ScreenCapturingAuto={};globalThis.getScreenId=function(Be,Le,Ye){if(navigator.userAgent.indexOf("Edge")!==-1&&(navigator.msSaveOrOpenBlob||navigator.msSaveBlob)){Le({video:!0});return}if(navigator.mozGetUserMedia){Le(null,"firefox",{video:{mozMediaSource:Be,mediaSource:Be}});return}globalThis.addEventListener("message",tt);function tt(nt){nt.data&&(nt.data.chromeMediaSourceId&&(nt.data.chromeMediaSourceId==="PermissionDeniedError"?Le("permission-denied"):Le(null,nt.data.chromeMediaSourceId,getScreenConstraints$1(null,nt.data.chromeMediaSourceId,nt.data.canRequestAudioTrack)),globalThis.removeEventListener("message",tt)),nt.data.chromeExtensionStatus&&(Le(nt.data.chromeExtensionStatus,null,getScreenConstraints$1(nt.data.chromeExtensionStatus)),globalThis.removeEventListener("message",tt)))}setTimeout(Ye?function(){postGetSourceIdMessage(Ye)}:postGetSourceIdMessage,100)};function getScreenConstraints$1(Be,Le,Ye){var tt={audio:!1,video:{mandatory:{chromeMediaSource:Be?"screen":"desktop",maxWidth:globalThis.screen.width>1920?globalThis.screen.width:1920,maxHeight:globalThis.screen.height>1080?globalThis.screen.height:1080},optional:[]}};return Ye&&(tt.audio={mandatory:{chromeMediaSource:Be?"screen":"desktop"},optional:[]}),Le&&(tt.video.mandatory.chromeMediaSourceId=Le,tt.audio&&tt.audio.mandatory&&(tt.audio.mandatory.chromeMediaSourceId=Le)),tt}function postGetSourceIdMessage(Be){if(!iframe){loadIFrame(function(){postGetSourceIdMessage(Be)});return}if(!iframe.isLoaded){setTimeout(function(){postGetSourceIdMessage(Be)},100);return}Be?Be.forEach?iframe.contentWindow.postMessage({captureCustomSourceId:Be},"*"):iframe.contentWindow.postMessage({captureSourceIdWithAudio:!0},"*"):iframe.contentWindow.postMessage({captureSourceId:!0},"*")}var iframe;globalThis.getScreenConstraints=function(Be){loadIFrame(function(){getScreenId(function(Le,Ye,tt){tt||(tt={video:!0}),Be(Le,tt.video)})})};function loadIFrame(Be){if(iframe){Be();return}iframe=document.createElement("iframe"),iframe.onload=function(){iframe.isLoaded=!0,Be()},iframe.src="https://openvidu.github.io/openvidu-screen-sharing-chrome-extension/",iframe.style.display="none",(document.body||document.documentElement).appendChild(iframe)}globalThis.getChromeExtensionStatus=function(Be){if(navigator.mozGetUserMedia){Be("installed-enabled");return}globalThis.addEventListener("message",Le);function Le(Ye){Ye.data&&Ye.data.chromeExtensionStatus&&(Be(Ye.data.chromeExtensionStatus),globalThis.removeEventListener("message",Le))}setTimeout(postGetChromeExtensionStatusMessage,100)};function postGetChromeExtensionStatusMessage(){if(!iframe){loadIFrame(postGetChromeExtensionStatusMessage);return}if(!iframe.isLoaded){setTimeout(postGetChromeExtensionStatusMessage,100);return}iframe.contentWindow.postMessage({getChromeExtensionStatus:!0},"*")}ScreenCapturingAuto.getScreenId=globalThis.getScreenId;var ScreenCapturing={},chromeMediaSource="screen",sourceId,screenCallback;if(typeof window<"u"&&typeof navigator<"u"&&typeof navigator.userAgent<"u"){var isFirefox=typeof window.InstallTrigger<"u";window.opera||navigator.userAgent.indexOf(" OPR/")>=0,window.addEventListener("message",function(Be){Be.origin==window.location.origin&&onMessageCallback(Be.data)})}function onMessageCallback(Be){if(Be=="PermissionDeniedError"){if(screenCallback)return screenCallback("PermissionDeniedError");throw new Error("PermissionDeniedError")}Be=="rtcmulticonnection-extension-loaded"&&(chromeMediaSource="desktop"),Be.sourceId&&screenCallback&&screenCallback(sourceId=Be.sourceId,Be.canRequestAudioTrack===!0)}function isChromeExtensionAvailable(Be){if(Be){if(chromeMediaSource=="desktop")return Be(!0);window.postMessage("are-you-there","*"),setTimeout(function(){chromeMediaSource=="screen"?Be(!1):Be(!0)},2e3)}}function getSourceId(Be){if(!Be)throw'"callback" parameter is mandatory.';if(sourceId)return Be(sourceId);screenCallback=Be,window.postMessage("get-sourceId","*")}function getSourceIdWithAudio(Be){if(!Be)throw'"callback" parameter is mandatory.';if(sourceId)return Be(sourceId);screenCallback=Be,window.postMessage("audio-plus-tab","*")}function getChromeExtensionStatus(Be,Le){if(isFirefox)return Le("not-chrome");arguments.length!=2&&(Le=Be,Be="lfcgfepafnobdloecchnfaclibenjold");var Ye=document.createElement("img");Ye.src="chrome-extension://"+Be+"/icon.png",Ye.onload=function(){chromeMediaSource="screen",window.postMessage("are-you-there","*"),setTimeout(function(){chromeMediaSource=="screen"?Le("installed-disabled"):Le("installed-enabled")},2e3)},Ye.onerror=function(){Le("not-installed")}}function getScreenConstraintsWithAudio(Be){getScreenConstraints(Be,!0)}function getScreenConstraints(Be,Le){sourceId="";var Ye={mozMediaSource:"window",mediaSource:"window"};if(isFirefox)return Be(null,Ye);var tt={mandatory:{chromeMediaSource,maxWidth:screen.width>1920?screen.width:1920,maxHeight:screen.height>1080?screen.height:1080},optional:[]};if(chromeMediaSource=="desktop"&&!sourceId){Le?getSourceIdWithAudio(function(nt,ft){tt.mandatory.chromeMediaSourceId=nt,ft&&(tt.canRequestAudioTrack=!0),Be(nt=="PermissionDeniedError"?nt:null,tt)}):getSourceId(function(nt){tt.mandatory.chromeMediaSourceId=nt,Be(nt=="PermissionDeniedError"?nt:null,tt)});return}chromeMediaSource=="desktop"&&(tt.mandatory.chromeMediaSourceId=sourceId),Be(null,tt)}ScreenCapturing.getScreenConstraints=getScreenConstraints,ScreenCapturing.getScreenConstraintsWithAudio=getScreenConstraintsWithAudio,ScreenCapturing.isChromeExtensionAvailable=isChromeExtensionAvailable,ScreenCapturing.getChromeExtensionStatus=getChromeExtensionStatus,ScreenCapturing.getSourceId=getSourceId;var events$2={exports:{}},R=typeof Reflect=="object"?Reflect:null,ReflectApply=R&&typeof R.apply=="function"?R.apply:function Be(Le,Ye,tt){return Function.prototype.apply.call(Le,Ye,tt)},ReflectOwnKeys;R&&typeof R.ownKeys=="function"?ReflectOwnKeys=R.ownKeys:Object.getOwnPropertySymbols?ReflectOwnKeys=function(Le){return Object.getOwnPropertyNames(Le).concat(Object.getOwnPropertySymbols(Le))}:ReflectOwnKeys=function(Le){return Object.getOwnPropertyNames(Le)};function ProcessEmitWarning(Be){console&&console.warn&&console.warn(Be)}var NumberIsNaN=Number.isNaN||function Be(Le){return Le!==Le};function EventEmitter$1(){EventEmitter$1.init.call(this)}events$2.exports=EventEmitter$1,events$2.exports.once=once,EventEmitter$1.EventEmitter=EventEmitter$1,EventEmitter$1.prototype._events=void 0,EventEmitter$1.prototype._eventsCount=0,EventEmitter$1.prototype._maxListeners=void 0;var defaultMaxListeners=10;function checkListener(Be){if(typeof Be!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof Be)}Object.defineProperty(EventEmitter$1,"defaultMaxListeners",{enumerable:!0,get:function(){return defaultMaxListeners},set:function(Be){if(typeof Be!="number"||Be<0||NumberIsNaN(Be))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+Be+".");defaultMaxListeners=Be}}),EventEmitter$1.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},EventEmitter$1.prototype.setMaxListeners=function Be(Le){if(typeof Le!="number"||Le<0||NumberIsNaN(Le))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+Le+".");return this._maxListeners=Le,this};function _getMaxListeners(Be){return Be._maxListeners===void 0?EventEmitter$1.defaultMaxListeners:Be._maxListeners}EventEmitter$1.prototype.getMaxListeners=function Be(){return _getMaxListeners(this)},EventEmitter$1.prototype.emit=function Be(Le){for(var Ye=[],tt=1;tt<arguments.length;tt++)Ye.push(arguments[tt]);var nt=Le==="error",ft=this._events;if(ft!==void 0)nt=nt&&ft.error===void 0;else if(!nt)return!1;if(nt){var ht;if(Ye.length>0&&(ht=Ye[0]),ht instanceof Error)throw ht;var gt=new Error("Unhandled error."+(ht?" ("+ht.message+")":""));throw gt.context=ht,gt}var At=ft[Le];if(At===void 0)return!1;if(typeof At=="function")ReflectApply(At,this,Ye);else for(var xt=At.length,yt=arrayClone(At,xt),tt=0;tt<xt;++tt)ReflectApply(yt[tt],this,Ye);return!0};function _addListener(Be,Le,Ye,tt){var nt,ft,ht;if(checkListener(Ye),ft=Be._events,ft===void 0?(ft=Be._events=Object.create(null),Be._eventsCount=0):(ft.newListener!==void 0&&(Be.emit("newListener",Le,Ye.listener?Ye.listener:Ye),ft=Be._events),ht=ft[Le]),ht===void 0)ht=ft[Le]=Ye,++Be._eventsCount;else if(typeof ht=="function"?ht=ft[Le]=tt?[Ye,ht]:[ht,Ye]:tt?ht.unshift(Ye):ht.push(Ye),nt=_getMaxListeners(Be),nt>0&&ht.length>nt&&!ht.warned){ht.warned=!0;var gt=new Error("Possible EventEmitter memory leak detected. "+ht.length+" "+String(Le)+" listeners added. Use emitter.setMaxListeners() to increase limit");gt.name="MaxListenersExceededWarning",gt.emitter=Be,gt.type=Le,gt.count=ht.length,ProcessEmitWarning(gt)}return Be}EventEmitter$1.prototype.addListener=function Be(Le,Ye){return _addListener(this,Le,Ye,!1)},EventEmitter$1.prototype.on=EventEmitter$1.prototype.addListener,EventEmitter$1.prototype.prependListener=function Be(Le,Ye){return _addListener(this,Le,Ye,!0)};function onceWrapper(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function _onceWrap(Be,Le,Ye){var tt={fired:!1,wrapFn:void 0,target:Be,type:Le,listener:Ye},nt=onceWrapper.bind(tt);return nt.listener=Ye,tt.wrapFn=nt,nt}EventEmitter$1.prototype.once=function Be(Le,Ye){return checkListener(Ye),this.on(Le,_onceWrap(this,Le,Ye)),this},EventEmitter$1.prototype.prependOnceListener=function Be(Le,Ye){return checkListener(Ye),this.prependListener(Le,_onceWrap(this,Le,Ye)),this},EventEmitter$1.prototype.removeListener=function Be(Le,Ye){var tt,nt,ft,ht,gt;if(checkListener(Ye),nt=this._events,nt===void 0)return this;if(tt=nt[Le],tt===void 0)return this;if(tt===Ye||tt.listener===Ye)--this._eventsCount===0?this._events=Object.create(null):(delete nt[Le],nt.removeListener&&this.emit("removeListener",Le,tt.listener||Ye));else if(typeof tt!="function"){for(ft=-1,ht=tt.length-1;ht>=0;ht--)if(tt[ht]===Ye||tt[ht].listener===Ye){gt=tt[ht].listener,ft=ht;break}if(ft<0)return this;ft===0?tt.shift():spliceOne(tt,ft),tt.length===1&&(nt[Le]=tt[0]),nt.removeListener!==void 0&&this.emit("removeListener",Le,gt||Ye)}return this},EventEmitter$1.prototype.off=EventEmitter$1.prototype.removeListener,EventEmitter$1.prototype.removeAllListeners=function Be(Le){var Ye,tt,nt;if(tt=this._events,tt===void 0)return this;if(tt.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):tt[Le]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete tt[Le]),this;if(arguments.length===0){var ft=Object.keys(tt),ht;for(nt=0;nt<ft.length;++nt)ht=ft[nt],ht!=="removeListener"&&this.removeAllListeners(ht);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(Ye=tt[Le],typeof Ye=="function")this.removeListener(Le,Ye);else if(Ye!==void 0)for(nt=Ye.length-1;nt>=0;nt--)this.removeListener(Le,Ye[nt]);return this};function _listeners(Be,Le,Ye){var tt=Be._events;if(tt===void 0)return[];var nt=tt[Le];return nt===void 0?[]:typeof nt=="function"?Ye?[nt.listener||nt]:[nt]:Ye?unwrapListeners(nt):arrayClone(nt,nt.length)}EventEmitter$1.prototype.listeners=function Be(Le){return _listeners(this,Le,!0)},EventEmitter$1.prototype.rawListeners=function Be(Le){return _listeners(this,Le,!1)},EventEmitter$1.listenerCount=function(Be,Le){return typeof Be.listenerCount=="function"?Be.listenerCount(Le):listenerCount.call(Be,Le)},EventEmitter$1.prototype.listenerCount=listenerCount;function listenerCount(Be){var Le=this._events;if(Le!==void 0){var Ye=Le[Be];if(typeof Ye=="function")return 1;if(Ye!==void 0)return Ye.length}return 0}EventEmitter$1.prototype.eventNames=function Be(){return this._eventsCount>0?ReflectOwnKeys(this._events):[]};function arrayClone(Be,Le){for(var Ye=new Array(Le),tt=0;tt<Le;++tt)Ye[tt]=Be[tt];return Ye}function spliceOne(Be,Le){for(;Le+1<Be.length;Le++)Be[Le]=Be[Le+1];Be.pop()}function unwrapListeners(Be){for(var Le=new Array(Be.length),Ye=0;Ye<Le.length;++Ye)Le[Ye]=Be[Ye].listener||Be[Ye];return Le}function once(Be,Le){return new Promise(function(Ye,tt){function nt(ht){Be.removeListener(Le,ft),tt(ht)}function ft(){typeof Be.removeListener=="function"&&Be.removeListener("error",nt),Ye([].slice.call(arguments))}eventTargetAgnosticAddListener(Be,Le,ft,{once:!0}),Le!=="error"&&addErrorHandlerIfEventEmitter(Be,nt,{once:!0})})}function addErrorHandlerIfEventEmitter(Be,Le,Ye){typeof Be.on=="function"&&eventTargetAgnosticAddListener(Be,"error",Le,Ye)}function eventTargetAgnosticAddListener(Be,Le,Ye,tt){if(typeof Be.on=="function")tt.once?Be.once(Le,Ye):Be.on(Le,Ye);else if(typeof Be.addEventListener=="function")Be.addEventListener(Le,function nt(ft){tt.once&&Be.removeEventListener(Le,nt),Ye(ft)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof Be)}var eventsExports=events$2.exports,inherits_browser={exports:{}};typeof Object.create=="function"?inherits_browser.exports=function(Le,Ye){Ye&&(Le.super_=Ye,Le.prototype=Object.create(Ye.prototype,{constructor:{value:Le,enumerable:!1,writable:!0,configurable:!0}}))}:inherits_browser.exports=function(Le,Ye){if(Ye){Le.super_=Ye;var tt=function(){};tt.prototype=Ye.prototype,Le.prototype=new tt,Le.prototype.constructor=Le}};var inherits_browserExports=inherits_browser.exports,packers={},JsonRPC$1={};function pack$1(Be,Le){var Ye={jsonrpc:"2.0"};if(Be.method)Ye.method=Be.method,Be.params&&(Ye.params=Be.params),Le!=null&&(Ye.id=Le);else if(Le!=null){if(Be.error){if(Be.result!==void 0)throw new TypeError("Both result and error are defined");Ye.error=Be.error}else if(Be.result!==void 0)Ye.result=Be.result;else throw new TypeError("No result or error is defined");Ye.id=Le}return JSON.stringify(Ye)}function unpack$1(Be){var Le=Be;(typeof Be=="string"||Be instanceof String)&&(Le=JSON.parse(Be));var Ye=Le.jsonrpc;if(Ye!=="2.0")throw new TypeError("Invalid JsonRPC version '"+Ye+"': "+Be);if(Le.method==null){if(Le.id==null)throw new TypeError("Invalid message: "+Be);var tt=Le.result!==void 0,nt=Le.error!==void 0;if(tt&&nt)throw new TypeError("Both result and error are defined: "+Be);if(!tt&&!nt)throw new TypeError("No result or error is defined: "+Be);Le.ack=Le.id,delete Le.id}return Le}JsonRPC$1.pack=pack$1,JsonRPC$1.unpack=unpack$1;var XmlRPC$1={};function pack(Be){throw new TypeError("Not yet implemented")}function unpack(Be){throw new TypeError("Not yet implemented")}XmlRPC$1.pack=pack,XmlRPC$1.unpack=unpack;var JsonRPC=JsonRPC$1,XmlRPC=XmlRPC$1;packers.JsonRPC=JsonRPC,packers.XmlRPC=XmlRPC;function Mapper(){var Be={};this.forEach=function(Le){for(var Ye in Be){var tt=Be[Ye];for(var nt in tt)Le(tt[nt])}},this.get=function(Le,Ye){var tt=Be[Ye];if(tt!=null)return tt[Le]},this.remove=function(Le,Ye){var tt=Be[Ye];if(tt!=null){delete tt[Le];for(var nt in tt)return!1;delete Be[Ye]}},this.set=function(Le,Ye,tt){if(Le==null)return this.remove(Ye,tt);var nt=Be[tt];nt==null&&(Be[tt]=nt={}),nt[Ye]=Le}}Mapper.prototype.pop=function(Be,Le){var Ye=this.get(Be,Le);if(Ye!=null)return this.remove(Be,Le),Ye};var Mapper_1=Mapper,clients={},webSocketWithReconnection,hasRequiredWebSocketWithReconnection;function requireWebSocketWithReconnection(){if(hasRequiredWebSocketWithReconnection)return webSocketWithReconnection;hasRequiredWebSocketWithReconnection=1;var Be=OpenViduLogger$1.OpenViduLogger,Le=Be.getInstance(),Ye=2e3,tt=3e3,nt=3;function ft(ht){var gt=!1,At,xt=ht.uri,yt=!1,Ct=new WebSocket(xt);Ct.onopen=function(){Le.debug("WebSocket connected to "+xt),ht.onconnected&&ht.onconnected()},Ct.onerror=function(wt){Le.error("Could not connect to "+xt+" (invoking onerror if defined)",wt),ht.onerror&&ht.onerror(wt)};var Et=function(){Ct.readyState===nt?gt?Le.debug("Connection closed by user"):ht.ismasternodecrashed()?Le.error("Master Node has crashed. Stopping reconnection process"):(Le.debug("Connection closed unexpectedly. Reconnecting..."),vt(Ye,1)):Le.debug("Close callback from previous websocket. Ignoring it")};Ct.onclose=Et;function vt(wt,It){if(Le.debug("reconnect (attempt #"+It+", max="+wt+")"),It===1){if(yt){Le.warn("Trying to reconnect when already reconnecting... Ignoring this reconnection.");return}else yt=!0;ht.onreconnecting&&ht.onreconnecting()}bt(wt,It)}function kt(wt){var It=new URLSearchParams(new URL(wt).search);return It.has("reconnect")||(wt=Array.from(It).length>0?wt+"&reconnect=true":wt+"?reconnect=true"),wt}function bt(wt,It){Le.debug("Reconnection attempt #"+It),Ct.close(4104,"Connection closed for reconnection"),xt=kt(xt),Ct=new WebSocket(xt),Ct.onopen=function(){Le.debug("Reconnected to "+xt+" after "+It+" attempts..."),yt=!1,At(),ht.onreconnected&&ht.onreconnected(),Ct.onclose=Et},Ct.onerror=function(Rt){Le.warn("Reconnection error: ",Rt),It===wt?ht.ondisconnect&&ht.ondisconnect():setTimeout(function(){vt(wt,It+1)},tt)}}this.close=function(wt,It){gt=!0,Ct.close(wt,It)},this.reconnectWs=function(){Le.debug("reconnectWs"),vt(Ye,1)},this.send=function(wt){Ct.send(wt)},this.addEventListener=function(wt,It){At=function(){Ct.addEventListener(wt,It)},At()},this.getReadyState=function(){return Ct.readyState}}return webSocketWithReconnection=ft,webSocketWithReconnection}var jsonrpcclient,hasRequiredJsonrpcclient;function requireJsonrpcclient(){if(hasRequiredJsonrpcclient)return jsonrpcclient;hasRequiredJsonrpcclient=1;var Be=requireKurentoJsonrpc(),Le=requireWebSocketWithReconnection(),Ye=OpenViduLogger$1.OpenViduLogger;Date.now=Date.now||function(){return+new Date};var tt=5e3,nt="RECONNECTING",ft="CONNECTED",ht="DISCONNECTED",gt=Ye.getInstance();function At(xt){var yt=this,Ct=xt.ws,Et=-1,vt=0,kt=!0,bt=!1,wt,It=ht,Rt=Ct.onreconnecting,Tt=Ct.onreconnected,Bt=Ct.onconnected,Pt=Ct.onerror;xt.rpc.pull=function(Ut,Ft){Ft.reply(null,"push")},Ct.onreconnecting=function(){if(gt.debug("--------- ONRECONNECTING -----------"),It===nt){gt.error("Websocket already in RECONNECTING state when receiving a new ONRECONNECTING message. Ignoring it");return}Ht(),It=nt,Rt&&Rt()},Ct.onreconnected=function(){if(gt.debug("--------- ONRECONNECTED -----------"),It===ft){gt.error("Websocket already in CONNECTED state when receiving a new ONRECONNECTED message. Ignoring it");return}It=ft,Wt(),Tt&&Tt()},Ct.onconnected=function(){if(gt.debug("--------- ONCONNECTED -----------"),It===ft){gt.error("Websocket already in CONNECTED state when receiving a new ONCONNECTED message. Ignoring it");return}It=ft,kt=!0,qt(),Bt&&Bt()},Ct.onerror=function(Ut){gt.debug("--------- ONERROR -----------"),It=ht,Ht(),Pt&&Pt(Ut)};var Dt=new Le(Ct);gt.debug("Connecting websocket to URI: "+Ct.uri);var Ot={request_timeout:xt.rpc.requestTimeout,ping_request_timeout:xt.rpc.heartbeatRequestTimeout},Lt=new Be(Be.packers.JsonRPC,Ot,Dt,function(Ut){gt.debug("Received request: "+JSON.stringify(Ut));try{var Ft=xt.rpc[Ut.method];Ft===void 0?gt.error("Method "+Ut.method+" not registered in client"):Ft(Ut.params,Ut)}catch(Xt){gt.error("Exception processing request: "+JSON.stringify(Ut)),gt.error(Xt)}});this.send=function(Ut,Ft,Xt){var _t=Date.now();Lt.encode(Ut,Ft,function(Mt,jt){if(Mt){try{gt.error("ERROR:"+Mt.message+" in Request: method:"+Ut+" params:"+JSON.stringify(Ft)+" request:"+Mt.request),Mt.data&&gt.error("ERROR DATA:"+JSON.stringify(Mt.data))}catch{}Mt.requestTime=_t}Xt&&(jt!=null&&jt.value!=="pong"&&gt.debug("Response: "+JSON.stringify(jt)),Xt(Mt,jt))})};function Wt(){gt.debug("notReconnectIfNumLessThan = "+vt+" (old="+Et+")"),Et=vt}function $t(){if(kt){var Ut=null;(vt==0||vt==Et)&&(Ut={interval:xt.heartbeat||tt}),vt++,yt.send("ping",Ut,function(Ft){return function(Xt,_t){Xt&&(gt.debug("Error in ping request #"+Ft+" ("+Xt.message+")"),Ft>Et&&(kt=!1,Wt(),gt.debug("Server did not respond to ping message #"+Ft+". Reconnecting... "),Dt.reconnectWs()))}}(vt))}else gt.debug("Trying to send ping, but ping is not enabled")}function qt(){bt||(gt.debug("Starting ping (if configured)"),bt=!0,xt.heartbeat!=null&&(wt=setInterval($t,xt.heartbeat),$t()))}function Ht(){clearInterval(wt),bt=!1,kt=!1,vt=-1,Lt.cancel()}this.close=function(Ut,Ft){gt.debug("Closing with code: "+Ut+" because: "+Ft),wt!=null&&(gt.debug("Clearing ping interval"),clearInterval(wt)),bt=!1,kt=!1,Dt.close(Ut,Ft)},this.reconnect=function(){Dt.reconnectWs()},this.resetPing=function(){kt=!0,vt=0,qt()},this.getReadyState=function(){return Dt.getReadyState()}}return jsonrpcclient=At,jsonrpcclient}var hasRequiredClients;function requireClients(){if(hasRequiredClients)return clients;hasRequiredClients=1;var Be=requireJsonrpcclient();return clients.JsonRpcClient=Be,clients}var transports={},hasRequiredTransports;function requireTransports(){if(hasRequiredTransports)return transports;hasRequiredTransports=1;var Be=requireWebSocketWithReconnection();return transports.WebSocketWithReconnection=Be,transports}var kurentoJsonrpc,hasRequiredKurentoJsonrpc;function requireKurentoJsonrpc(){if(hasRequiredKurentoJsonrpc)return kurentoJsonrpc;hasRequiredKurentoJsonrpc=1;var Be=!1;if(Object.defineProperty)try{Object.defineProperty({},"x",{})}catch{Be=!0}Function.prototype.bind||(Function.prototype.bind=function(Et){if(typeof this!="function")throw new TypeError("Function.prototype.bind - what is trying to be bound is not callable");var vt=Array.prototype.slice.call(arguments,1),kt=this,bt=function(){},wt=function(){return kt.apply(this instanceof bt&&Et?this:Et,vt.concat(Array.prototype.slice.call(arguments)))};return bt.prototype=this.prototype,wt.prototype=new bt,wt});var Le=eventsExports.EventEmitter,Ye=inherits_browserExports,tt=packers,nt=Mapper_1,ft=5e3;function ht(Et){if(!Et)return{};for(var vt in Et){var kt=Et[vt];typeof kt=="string"&&(Et[vt]={response:kt})}return Et}function gt(Et){if(Et){if(Et instanceof Function)return{send:Et};if(Et.send instanceof Function)return Et;if(Et.postMessage instanceof Function)return Et.send=Et.postMessage,Et;if(Et.write instanceof Function)return Et.send=Et.write,Et;if(Et.onmessage===void 0&&!(Et.pause instanceof Function))throw new SyntaxError("Transport is not a function nor a valid object")}}function At(Et,vt){Be?(this.method=Et,this.params=vt):(Object.defineProperty(this,"method",{value:Et,enumerable:!0}),Object.defineProperty(this,"params",{value:vt,enumerable:!0}))}function xt(Et,vt,kt,bt){var wt=this;if(!Et)throw new SyntaxError("Packer is not defined");if(!Et.pack||!Et.unpack)throw new SyntaxError("Packer is invalid");var It=ht(Et.responseMethods);if(vt instanceof Function){if(kt!=null)throw new SyntaxError("There can't be parameters after onRequest");bt=vt,kt=void 0,vt=void 0}if(vt&&vt.send instanceof Function){if(kt&&!(kt instanceof Function))throw new SyntaxError("Only a function can be after transport");bt=kt,kt=vt,vt=void 0}if(kt instanceof Function){if(bt!=null)throw new SyntaxError("There can't be parameters after onRequest");bt=kt,kt=void 0}if(kt&&kt.send instanceof Function&&bt&&!(bt instanceof Function))throw new SyntaxError("Only a function can be after transport");vt=vt||{},Le.call(this),bt&&this.on("request",bt),Be?this.peerID=vt.peerID:Object.defineProperty(this,"peerID",{value:vt.peerID});var Rt=vt.max_retries||0;function Tt(Mt){wt.decode(Mt.data||Mt)}this.getTransport=function(){return kt},this.setTransport=function(Mt){kt&&(kt.removeEventListener?kt.removeEventListener("message",Tt):kt.removeListener&&kt.removeListener("data",Tt)),Mt&&(Mt.addEventListener?Mt.addEventListener("message",Tt):Mt.addListener&&Mt.addListener("data",Tt)),kt=gt(Mt)},Be||Object.defineProperty(this,"transport",{get:this.getTransport.bind(this),set:this.setTransport.bind(this)}),this.setTransport(kt);var Bt=vt.request_timeout||ft,Pt=vt.ping_request_timeout||Bt,Dt=vt.response_timeout||ft,Ot=vt.duplicates_timeout||ft,Lt=0,Wt=new nt,$t=new nt,qt=new nt,Ht={};function Ut(Mt,jt,zt){var Gt={message:Mt,timeout:setTimeout(function(){$t.remove(jt,zt)},Dt)};$t.set(Gt,jt,zt)}function Ft(Mt,jt){var zt=setTimeout(function(){qt.remove(Mt,jt)},Ot);qt.set(zt,Mt,jt)}function Xt(Mt,jt,zt,Gt,Yt){At.call(this,Mt,jt),this.getTransport=function(){return Yt},this.setTransport=function(sr){Yt=gt(sr)},Be||Object.defineProperty(this,"transport",{get:this.getTransport.bind(this),set:this.setTransport.bind(this)});var ar=$t.get(zt,Gt);Yt||wt.getTransport()||(Be?this.duplicated=!!ar:Object.defineProperty(this,"duplicated",{value:!!ar}));var tr=It[Mt];this.pack=Et.pack.bind(Et,this,zt),this.reply=function(sr,dr,rr){if(sr instanceof Function||sr&&sr.send instanceof Function){if(dr!=null)throw new SyntaxError("There can't be parameters after callback");rr=sr,dr=null,sr=void 0}else if(dr instanceof Function||dr&&dr.send instanceof Function){if(rr!=null)throw new SyntaxError("There can't be parameters after callback");rr=dr,dr=null}rr=gt(rr),ar&&clearTimeout(ar.timeout),Gt!=null&&(sr&&(sr.dest=Gt),dr&&(dr.dest=Gt));var gr;if(sr||dr!=null){if(wt.peerID!=null&&(sr?sr.from=wt.peerID:dr.from=wt.peerID),tr)if(tr.error==null&&sr)gr={error:sr};else{var yr=sr?tr.error:tr.response;gr={method:yr,params:sr||dr}}else gr={error:sr,result:dr};gr=Et.pack(gr,zt)}else ar?gr=ar.message:gr=Et.pack({result:null},zt);return Ut(gr,zt,Gt),rr=rr||this.getTransport()||wt.getTransport(),rr?rr.send(gr):gr}}Ye(Xt,At);function _t(Mt){var jt=Ht[Mt];if(jt){delete Ht[Mt];var zt=Wt.pop(jt.id,jt.dest);zt&&(clearTimeout(zt.timeout),Ft(jt.id,jt.dest))}}this.cancel=function(Mt){if(Mt)return _t(Mt);for(var Mt in Ht)_t(Mt)},this.close=function(){var Mt=this.getTransport();Mt&&Mt.close&&Mt.close(4003,"Cancel request"),this.cancel(),qt.forEach(clearTimeout),$t.forEach(function(jt){clearTimeout(jt.timeout)})},this.encode=function(Mt,jt,zt,Gt,Yt){if(jt instanceof Function){if(zt!=null)throw new SyntaxError("There can't be parameters after callback");Yt=jt,Gt=void 0,zt=void 0,jt=void 0}else if(zt instanceof Function){if(Gt!=null)throw new SyntaxError("There can't be parameters after callback");Yt=zt,Gt=void 0,zt=void 0}else if(Gt instanceof Function){if(Yt!=null)throw new SyntaxError("There can't be parameters after callback");Yt=Gt,Gt=void 0}wt.peerID!=null&&(jt=jt||{},jt.from=wt.peerID),zt!=null&&(jt=jt||{},jt.dest=zt);var ar={method:Mt,params:jt};if(Yt){let gr=function(Zt,Qt){wt.cancel(ar),Yt(Zt,Qt)},yr=function(Zt){var Qt=Mt==="ping"?Pt:Bt;return dr.timeout=setTimeout(ir,Qt*Math.pow(2,sr++)),Ht[ar]={id:tr,dest:zt},Wt.set(dr,tr,zt),Zt=Zt||rr||wt.getTransport(),Zt?Zt.send(ar):ar},or=function(Zt){Zt=gt(Zt),console.warn(sr+" retry for request message:",ar);var Qt=qt.pop(tr,zt);return clearTimeout(Qt),yr(Zt)},ir=function(){if(sr<Rt)return or(Gt);var Zt=new Error("Request has timed out");Zt.request=ar,Zt.retry=or,gr(Zt)};var tr=Lt++,sr=0;ar=Et.pack(ar,tr);var dr={message:ar,callback:gr,responseMethods:It[Mt]||{}},rr=gt(Gt);return yr(Gt)}return ar=Et.pack(ar),Gt=Gt||this.getTransport(),Gt?Gt.send(ar):ar},this.decode=function(Mt,jt){if(!Mt)throw new TypeError("Message is not defined");try{Mt=Et.unpack(Mt)}catch(nr){return console.debug(nr,Mt)}var zt=Mt.id,Gt=Mt.ack,Yt=Mt.method,ar=Mt.params||{},tr=ar.from,sr=ar.dest;if(wt.peerID!=null&&tr==wt.peerID)return;if(zt==null&&Gt==null){var dr=new At(Yt,ar);return wt.emit("request",dr)?void 0:dr}function rr(){if(jt=gt(jt)||wt.getTransport(),jt){var nr=$t.get(zt,tr);if(nr)return jt.send(nr.message)}var lr=zt??Gt,hr=new Xt(Yt,ar,lr,tr,jt);if(!wt.emit("request",hr))return hr}function gr(nr,lr,hr){nr.callback(lr,hr)}function yr(nr){console.warn("Response already processed",Mt),clearTimeout(nr),Ft(Gt,tr)}if(Yt){if(sr==null||sr==wt.peerID){var er=Wt.get(Gt,tr);if(er){var or=er.responseMethods;return Yt==or.error?gr(er,ar):Yt==or.response?gr(er,null,ar):rr()}var ir=qt.get(Gt,tr);if(ir)return yr(ir)}return rr()}var Zt=Mt.error,Qt=Mt.result;if(!(Zt&&Zt.dest&&Zt.dest!=wt.peerID)&&!(Qt&&Qt.dest&&Qt.dest!=wt.peerID)){var er=Wt.get(Gt,tr);if(!er){var ir=qt.get(Gt,tr);return ir?yr(ir):console.warn("No callback was defined for this message",Mt)}gr(er,Zt,Qt)}}}Ye(xt,Le),xt.RpcNotification=At,kurentoJsonrpc=xt;var yt=requireClients(),Ct=requireTransports();return xt.clients=yt,xt.clients.transports=Ct,xt.packers=tt,kurentoJsonrpc}const version$1="2.31.0",require$$14={version:version$1};var __awaiter$3=commonjsGlobal&&commonjsGlobal.__awaiter||function(Be,Le,Ye,tt){function nt(ft){return ft instanceof Ye?ft:new Ye(function(ht){ht(ft)})}return new(Ye||(Ye=Promise))(function(ft,ht){function gt(yt){try{xt(tt.next(yt))}catch(Ct){ht(Ct)}}function At(yt){try{xt(tt.throw(yt))}catch(Ct){ht(Ct)}}function xt(yt){yt.done?ft(yt.value):nt(yt.value).then(gt,At)}xt((tt=tt.apply(Be,Le||[])).next())})},__generator$2=commonjsGlobal&&commonjsGlobal.__generator||function(Be,Le){var Ye={label:0,sent:function(){if(ft[0]&1)throw ft[1];return ft[1]},trys:[],ops:[]},tt,nt,ft,ht;return ht={next:gt(0),throw:gt(1),return:gt(2)},typeof Symbol=="function"&&(ht[Symbol.iterator]=function(){return this}),ht;function gt(xt){return function(yt){return At([xt,yt])}}function At(xt){if(tt)throw new TypeError("Generator is already executing.");for(;ht&&(ht=0,xt[0]&&(Ye=0)),Ye;)try{if(tt=1,nt&&(ft=xt[0]&2?nt.return:xt[0]?nt.throw||((ft=nt.return)&&ft.call(nt),0):nt.next)&&!(ft=ft.call(nt,xt[1])).done)return ft;switch(nt=0,ft&&(xt=[xt[0]&2,ft.value]),xt[0]){case 0:case 1:ft=xt;break;case 4:return Ye.label++,{value:xt[1],done:!1};case 5:Ye.label++,nt=xt[1],xt=[0];continue;case 7:xt=Ye.ops.pop(),Ye.trys.pop();continue;default:if(ft=Ye.trys,!(ft=ft.length>0&&ft[ft.length-1])&&(xt[0]===6||xt[0]===2)){Ye=0;continue}if(xt[0]===3&&(!ft||xt[1]>ft[0]&&xt[1]<ft[3])){Ye.label=xt[1];break}if(xt[0]===6&&Ye.label<ft[1]){Ye.label=ft[1],ft=xt;break}if(ft&&Ye.label<ft[2]){Ye.label=ft[2],Ye.ops.push(xt);break}ft[2]&&Ye.ops.pop(),Ye.trys.pop();continue}xt=Le.call(Be,Ye)}catch(yt){xt=[6,yt],nt=0}finally{tt=ft=0}if(xt[0]&5)throw xt[1];return{value:xt[0]?xt[1]:void 0,done:!0}}};Object.defineProperty(OpenVidu$1,"__esModule",{value:!0}),OpenVidu$1.OpenVidu=void 0;var LocalRecorder_1=LocalRecorder$1,Publisher_1=requirePublisher(),Session_1=requireSession(),SessionDisconnectedEvent_1=SessionDisconnectedEvent$1,StreamPropertyChangedEvent_1=StreamPropertyChangedEvent$1,OpenViduError_1=OpenViduError,VideoInsertMode_1=VideoInsertMode,OpenViduLogger_1=OpenViduLogger$1,Platform_1=Platform,screenSharingAuto=ScreenCapturingAuto,screenSharing=ScreenCapturing,OpenViduLoggerConfiguration_1=OpenViduLoggerConfiguration,EventEmitter=EventEmitterExports,RpcBuilder=requireKurentoJsonrpc(),packageJson=require$$14,logger=OpenViduLogger_1.OpenViduLogger.getInstance(),platform$2,OpenVidu=function(){function Be(){var Le=this;this.masterNodeHasCrashed=!1,this.publishers=[],this.secret="",this.recorder=!1,this.stt=!1,this.life=-1,this.advancedConfiguration={},this.webrtcStatsInterval=-1,this.sendBrowserLogs=OpenViduLoggerConfiguration_1.OpenViduLoggerConfiguration.disabled,this.isAtLeastPro=!1,this.isEnterprise=!1,this.ee=new EventEmitter,platform$2=Platform_1.PlatformUtils.getInstance(),this.libraryVersion=packageJson.version,logger.info("OpenVidu initialized"),logger.info("Platform detected: "+platform$2.getDescription()),logger.info("openvidu-browser version: "+this.libraryVersion),(platform$2.isMobileDevice()||platform$2.isReactNative())&&this.onOrientationChanged(function(){Le.publishers.forEach(function(Ye){Ye.stream.isLocalStreamPublished&&Ye.stream&&Ye.stream.hasVideo&&Le.sendNewVideoDimensionsIfRequired(Ye,"deviceRotated",75,10)})})}return Be.prototype.initSession=function(){return this.session=new Session_1.Session(this),this.session},Be.prototype.initPublisher=function(Le,Ye,tt){var nt;Ye&&typeof Ye!="function"?(nt=Ye,nt={audioSource:typeof nt.audioSource<"u"?nt.audioSource:void 0,frameRate:typeof MediaStreamTrack<"u"&&nt.videoSource instanceof MediaStreamTrack?void 0:typeof nt.frameRate<"u"?nt.frameRate:void 0,insertMode:typeof nt.insertMode<"u"?typeof nt.insertMode=="string"?VideoInsertMode_1.VideoInsertMode[nt.insertMode]:nt.insertMode:VideoInsertMode_1.VideoInsertMode.APPEND,mirror:typeof nt.mirror<"u"?nt.mirror:!0,publishAudio:typeof nt.publishAudio<"u"?nt.publishAudio:!0,publishVideo:typeof nt.publishVideo<"u"?nt.publishVideo:!0,resolution:typeof MediaStreamTrack<"u"&&nt.videoSource instanceof MediaStreamTrack?void 0:typeof nt.resolution<"u"?nt.resolution:"640x480",videoSource:typeof nt.videoSource<"u"?nt.videoSource:void 0,videoSimulcast:nt.videoSimulcast,filter:nt.filter}):nt={insertMode:VideoInsertMode_1.VideoInsertMode.APPEND,mirror:!0,publishAudio:!0,publishVideo:!0,resolution:"640x480"};var ft=new Publisher_1.Publisher(Le,nt,this),ht;return Ye&&typeof Ye=="function"?ht=Ye:tt&&(ht=tt),ft.initialize().then(function(){ht!==void 0&&ht(void 0),ft.emitEvent("accessAllowed",[])}).catch(function(gt){ht!==void 0&&ht(gt),ft.emitEvent("accessDenied",[gt])}),this.publishers.push(ft),ft},Be.prototype.initPublisherAsync=function(Le,Ye){var tt=this;return new Promise(function(nt,ft){var ht,gt=function(At){return At?ft(At):nt(ht)};Ye?ht=tt.initPublisher(Le,Ye,gt):ht=tt.initPublisher(Le,gt)})},Be.prototype.initLocalRecorder=function(Le){return new LocalRecorder_1.LocalRecorder(Le)},Be.prototype.checkSystemRequirements=function(){return platform$2.isIPhoneOrIPad()?platform$2.isIOSWithSafari()||platform$2.isChromeMobileBrowser()||platform$2.isFirefoxMobileBrowser()||platform$2.isOperaMobileBrowser()||platform$2.isEdgeMobileBrowser()||platform$2.isIonicIos():platform$2.isChromeBrowser()||platform$2.isChromeMobileBrowser()||platform$2.isFirefoxBrowser()||platform$2.isFirefoxMobileBrowser()||platform$2.isOperaBrowser()||platform$2.isOperaMobileBrowser()||platform$2.isEdgeBrowser()||platform$2.isEdgeMobileBrowser()||platform$2.isSamsungBrowser()||platform$2.isSafariBrowser()||platform$2.isAndroidBrowser()||platform$2.isElectron()||platform$2.isNodeJs()||platform$2.isMotorolaEdgeDevice()},Be.prototype.checkScreenSharingCapabilities=function(){return platform$2.canScreenShare()},Be.prototype.getDevices=function(){return new Promise(function(Le,Ye){navigator.mediaDevices.enumerateDevices().then(function(tt){var nt,ft=[];if(platform$2.isIonicAndroid()&&typeof cordova<"u"&&(!((nt=cordova==null?void 0:cordova.plugins)===null||nt===void 0)&&nt.EnumerateDevicesPlugin))cordova.plugins.EnumerateDevicesPlugin.getEnumerateDevices().then(function(ht){var gt=[],At=[],xt=[];return gt=ht.filter(function(yt){return yt.kind==="audioinput"}),At=tt.filter(function(yt){return yt.kind==="videoinput"}),xt=tt.filter(function(yt){return yt.kind==="audioinput"}),At.forEach(function(yt,Ct){if(yt.label)ft.push({kind:yt.kind,deviceId:yt.deviceId,label:yt.label});else{var Et="";Ct===0?Et="Front Camera":Ct===1?Et="Back Camera":Et="Unknown Camera",ft.push({kind:yt.kind,deviceId:yt.deviceId,label:Et})}}),xt.forEach(function(yt,Ct){if(yt.label)ft.push({kind:yt.kind,deviceId:yt.deviceId,label:yt.label});else{var Et="";switch(Ct){case 0:Et="Default";break;case 1:var vt=gt.filter(function(wt){return wt.label.includes("Built")})[0];Et=vt?vt.label:"Built-in Microphone";break;case 2:var kt=gt.filter(function(wt){return wt.label.includes("Wired")})[0];kt?Et=kt.label:Et="Headset earpiece";break;case 3:var bt=gt.filter(function(wt){return wt.label.includes("Bluetooth")})[0];Et=bt?bt.label:"Wireless";break;default:Et="Unknown Microphone";break}ft.push({kind:yt.kind,deviceId:yt.deviceId,label:Et})}}),Le(ft)});else return tt.forEach(function(ht){(ht.kind==="audioinput"||ht.kind==="videoinput")&&ft.push({kind:ht.kind,deviceId:ht.deviceId,label:ht.label})}),Le(ft)}).catch(function(tt){return logger.error("Error getting devices",tt),Ye(tt)})})},Be.prototype.getUserMedia=function(Le){var Ye,tt;return __awaiter$3(this,void 0,void 0,function(){var nt,ft,ht,xt,gt,Ct,Et,At,xt,yt,Ct,Et,vt,kt=this;return __generator$2(this,function(bt){switch(bt.label){case 0:nt=function(wt,It){return __awaiter$3(kt,void 0,void 0,function(){var Rt,Tt,Bt,Pt;return __generator$2(this,function(Dt){switch(Dt.label){case 0:Rt=It.audio===void 0?!0:It.audio,Tt={audio:Rt,video:!1},Dt.label=1;case 1:return Dt.trys.push([1,3,,4]),[4,navigator.mediaDevices.getUserMedia(Tt)];case 2:return Bt=Dt.sent(),wt.addTrack(Bt.getAudioTracks()[0]),[2,wt];case 3:throw Pt=Dt.sent(),wt.getAudioTracks().forEach(function(Ot){Ot.stop()}),wt.getVideoTracks().forEach(function(Ot){Ot.stop()}),this.generateAudioDeviceError(Pt,Tt);case 4:return[2]}})})},bt.label=1;case 1:return bt.trys.push([1,20,,21]),[4,this.generateMediaConstraints(Le)];case 2:return ft=bt.sent(),ft.videoTrack&&ft.audioTrack||ft.audioTrack&&((Ye=ft.constraints)===null||Ye===void 0?void 0:Ye.video)===!1||ft.videoTrack&&((tt=ft.constraints)===null||tt===void 0?void 0:tt.audio)===!1?[2,this.addAlreadyProvidedTracks(ft,new MediaStream)]:[3,3];case 3:if(ft.videoTrack&&delete ft.constraints.video,ft.audioTrack&&delete ft.constraints.audio,ht=!1,typeof Le.videoSource!="string")return[3,12];if(!(Le.videoSource==="screen"||Le.videoSource==="window"||platform$2.isElectron()&&Le.videoSource.startsWith("screen:")))return[3,12];if(ht=!ft.audioTrack&&Le.audioSource!==null&&Le.audioSource!==!1,!(navigator.mediaDevices.getDisplayMedia&&!platform$2.isElectron()))return[3,11];bt.label=4;case 4:return bt.trys.push([4,9,,10]),[4,navigator.mediaDevices.getDisplayMedia({video:!0,audio:Le.audioSource==="screen"})];case 5:return xt=bt.sent(),this.addAlreadyProvidedTracks(ft,xt),ht?[4,nt(xt,ft.constraints)]:[3,7];case 6:return[2,bt.sent()];case 7:return[2,xt];case 8:return[3,10];case 9:throw gt=bt.sent(),Ct=OpenViduError_1.OpenViduErrorName.SCREEN_CAPTURE_DENIED,Et=gt.toString(),new OpenViduError_1.OpenViduError(Ct,Et);case 10:return[3,11];case 11:return[3,12];case 12:At=ht?{video:ft.constraints.video}:ft.constraints,bt.label=13;case 13:return bt.trys.push([13,18,,19]),[4,navigator.mediaDevices.getUserMedia(At)];case 14:return xt=bt.sent(),this.addAlreadyProvidedTracks(ft,xt),ht?[4,nt(xt,ft.constraints)]:[3,16];case 15:return[2,bt.sent()];case 16:return[2,xt];case 17:return[3,19];case 18:throw yt=bt.sent(),Ct=void 0,Et=yt.toString(),Le.videoSource!=="screen"?Ct=OpenViduError_1.OpenViduErrorName.DEVICE_ACCESS_DENIED:Ct=OpenViduError_1.OpenViduErrorName.SCREEN_CAPTURE_DENIED,new OpenViduError_1.OpenViduError(Ct,Et);case 19:return[3,21];case 20:throw vt=bt.sent(),vt;case 21:return[2]}})})},Be.prototype.enableProdMode=function(){logger.enableProdMode()},Be.prototype.setAdvancedConfiguration=function(Le){this.advancedConfiguration=Le},Be.prototype.onOrientationChanged=function(Le){globalThis.addEventListener("orientationchange",Le)},Be.prototype.sendNewVideoDimensionsIfRequired=function(Le,Ye,tt,nt){var ft=this,ht,gt,At,xt,yt=0,Ct=((gt=(ht=Le==null?void 0:Le.stream)===null||ht===void 0?void 0:ht.videoDimensions)===null||gt===void 0?void 0:gt.width)||0,Et=((xt=(At=Le==null?void 0:Le.stream)===null||At===void 0?void 0:At.videoDimensions)===null||xt===void 0?void 0:xt.height)||0,vt=setInterval(function(){yt++,yt>nt&&clearTimeout(vt),Le.getVideoDimensions().then(function(kt){(kt.width!==Ct||kt.height!==Et)&&(clearTimeout(vt),ft.sendVideoDimensionsChangedEvent(Le,Ye,Ct,Et,kt.width,kt.height))})},tt)},Be.prototype.sendVideoDimensionsChangedEvent=function(Le,Ye,tt,nt,ft,ht){var gt=this;Le.stream.videoDimensions={width:ft||0,height:ht||0},this.sendRequest("streamPropertyChanged",{streamId:Le.stream.streamId,property:"videoDimensions",newValue:JSON.stringify(Le.stream.videoDimensions),reason:Ye},function(At,xt){At?logger.error("Error sending 'streamPropertyChanged' event",At):(gt.session.emitEvent("streamPropertyChanged",[new StreamPropertyChangedEvent_1.StreamPropertyChangedEvent(gt.session,Le.stream,"videoDimensions",Le.stream.videoDimensions,{width:tt,height:nt},Ye)]),Le.emitEvent("streamPropertyChanged",[new StreamPropertyChangedEvent_1.StreamPropertyChangedEvent(Le,Le.stream,"videoDimensions",Le.stream.videoDimensions,{width:tt,height:nt},Ye)]),gt.session.sendVideoData(Le))})},Be.prototype.sendTrackChangedEvent=function(Le,Ye,tt,nt){var ft=this,ht={label:Ye},gt={label:tt},At="trackReplaced";Le.stream.isLocalStreamPublished?this.sendRequest("streamPropertyChanged",{streamId:Le.stream.streamId,property:nt,newValue:gt,reason:At},function(xt,yt){xt?logger.error("Error sending 'streamPropertyChanged' event",xt):(ft.session.emitEvent("streamPropertyChanged",[new StreamPropertyChangedEvent_1.StreamPropertyChangedEvent(ft.session,Le.stream,nt,gt,ht,At)]),Le.emitEvent("streamPropertyChanged",[new StreamPropertyChangedEvent_1.StreamPropertyChangedEvent(Le,Le.stream,nt,gt,ht,At)]))}):(this.session.emitEvent("streamPropertyChanged",[new StreamPropertyChangedEvent_1.StreamPropertyChangedEvent(this.session,Le.stream,nt,gt,ht,At)]),Le.emitEvent("streamPropertyChanged",[new StreamPropertyChangedEvent_1.StreamPropertyChangedEvent(Le,Le.stream,nt,gt,ht,At)]))},Be.prototype.generateMediaConstraints=function(Le){var Ye=this;return new Promise(function(tt,nt){var ft={audioTrack:void 0,videoTrack:void 0,constraints:{audio:void 0,video:void 0}},ht=Le.audioSource,gt=Le.videoSource;if((ht===null||ht===!1)&&(ft.constraints.audio=!1),(gt===null||gt===!1)&&(ft.constraints.video=!1),ft.constraints.audio===!1&&ft.constraints.video===!1)return nt(new OpenViduError_1.OpenViduError(OpenViduError_1.OpenViduErrorName.NO_INPUT_SOURCE_SET,"Properties 'audioSource' and 'videoSource' cannot be set to false or null at the same time"));if(typeof MediaStreamTrack<"u"&&ht instanceof MediaStreamTrack&&(ft.audioTrack=ht),typeof MediaStreamTrack<"u"&&gt instanceof MediaStreamTrack&&(ft.videoTrack=gt),ht===void 0&&(ft.constraints.audio=!0),gt===void 0&&(ft.constraints.video={width:{ideal:640},height:{ideal:480}}),gt!==null&&gt!==!1){if(Le.resolution){var At=Le.resolution.toLowerCase().split("x"),xt=Number(At[0]),yt=Number(At[1]);ft.constraints.video={width:{ideal:xt},height:{ideal:yt}}}Le.frameRate&&(ft.constraints.video.frameRate={ideal:Le.frameRate})}return Ye.configureDeviceIdOrScreensharing(ft,Le,tt,nt),tt(ft)})},Be.prototype.startWs=function(Le){var Ye={heartbeat:5e3,ws:{uri:this.wsUri+"?sessionId="+this.session.sessionId,onconnected:Le,ondisconnect:this.disconnectCallback.bind(this),onreconnecting:this.reconnectingCallback.bind(this),onreconnected:this.reconnectedCallback.bind(this),ismasternodecrashed:this.isMasterNodeCrashed.bind(this)},rpc:{requestTimeout:1e4,heartbeatRequestTimeout:5e3,participantJoined:this.session.onParticipantJoined.bind(this.session),participantPublished:this.session.onParticipantPublished.bind(this.session),participantUnpublished:this.session.onParticipantUnpublished.bind(this.session),participantLeft:this.session.onParticipantLeft.bind(this.session),participantEvicted:this.session.onParticipantEvicted.bind(this.session),recordingStarted:this.session.onRecordingStarted.bind(this.session),recordingStopped:this.session.onRecordingStopped.bind(this.session),broadcastStarted:this.session.onBroadcastStarted.bind(this.session),broadcastStopped:this.session.onBroadcastStopped.bind(this.session),sendMessage:this.session.onNewMessage.bind(this.session),streamPropertyChanged:this.session.onStreamPropertyChanged.bind(this.session),connectionPropertyChanged:this.session.onConnectionPropertyChanged.bind(this.session),networkQualityLevelChanged:this.session.onNetworkQualityLevelChangedChanged.bind(this.session),filterEventDispatched:this.session.onFilterEventDispatched.bind(this.session),iceCandidate:this.session.recvIceCandidate.bind(this.session),mediaError:this.session.onMediaError.bind(this.session),masterNodeCrashedNotification:this.onMasterNodeCrashedNotification.bind(this),forciblyReconnectSubscriber:this.session.onForciblyReconnectSubscriber.bind(this.session),speechToTextMessage:this.session.onSpeechToTextMessage.bind(this.session),speechToTextDisconnected:this.session.onSpeechToTextDisconnected.bind(this.session)}};this.jsonRpcClient=new RpcBuilder.clients.JsonRpcClient(Ye)},Be.prototype.onMasterNodeCrashedNotification=function(Le){console.error("Master Node has crashed"),this.masterNodeHasCrashed=!0,this.session.onLostConnection("nodeCrashed"),this.jsonRpcClient.close(4103,"Master Node has crashed")},Be.prototype.getWsReadyState=function(){return this.jsonRpcClient.getReadyState()},Be.prototype.closeWs=function(){this.jsonRpcClient.close(4102,"Connection closed by client")},Be.prototype.sendRequest=function(Le,Ye,tt){var nt;Ye&&Ye instanceof Function&&(tt=Ye,Ye={}),logger.debug('Sending request: {method:"'+Le+'", params: '+JSON.stringify(Ye)+"}"),(nt=this.jsonRpcClient)===null||nt===void 0||nt.send(Le,Ye,tt)},Be.prototype.getWsUri=function(){return this.wsUri},Be.prototype.getSecret=function(){return this.secret},Be.prototype.getRecorder=function(){return this.recorder},Be.prototype.getStt=function(){return this.stt},Be.prototype.generateAudioDeviceError=function(Le,Ye){Le.name==="Error"&&(Le.name=Le.constructor.name);var tt,nt;switch(Le.name.toLowerCase()){case"notfounderror":return tt=OpenViduError_1.OpenViduErrorName.INPUT_AUDIO_DEVICE_NOT_FOUND,nt=Le.toString(),new OpenViduError_1.OpenViduError(tt,nt);case"notallowederror":return tt=OpenViduError_1.OpenViduErrorName.DEVICE_ACCESS_DENIED,nt=Le.toString(),new OpenViduError_1.OpenViduError(tt,nt);case"overconstrainederror":return Le.constraint.toLowerCase()==="deviceid"?(tt=OpenViduError_1.OpenViduErrorName.INPUT_AUDIO_DEVICE_NOT_FOUND,nt="Audio input device with deviceId '"+Ye.audio.deviceId.exact+"' not found"):(tt=OpenViduError_1.OpenViduErrorName.PUBLISHER_PROPERTIES_ERROR,nt="Audio input device doesn't support the value passed for constraint '"+Le.constraint+"'"),new OpenViduError_1.OpenViduError(tt,nt);case"notreadableerror":return tt=OpenViduError_1.OpenViduErrorName.DEVICE_ALREADY_IN_USE,nt=Le.toString(),new OpenViduError_1.OpenViduError(tt,nt);default:return new OpenViduError_1.OpenViduError(OpenViduError_1.OpenViduErrorName.INPUT_AUDIO_DEVICE_GENERIC_ERROR,Le.toString())}},Be.prototype.addAlreadyProvidedTracks=function(Le,Ye,tt){return Le.videoTrack&&(Ye.addTrack(Le.videoTrack),tt&&(Le.constraints.video?tt.lastVideoTrackConstraints=Le.constraints.video:tt.lastVideoTrackConstraints=Le.videoTrack.getConstraints())),Le.audioTrack&&Ye.addTrack(Le.audioTrack),Ye},Be.prototype.configureDeviceIdOrScreensharing=function(Le,Ye,tt,nt){var ft=this,ht=Ye.audioSource,gt=Ye.videoSource;if(typeof ht=="string"&&ht!=="screen"&&(Le.constraints.audio={deviceId:{exact:ht}}),typeof gt=="string")if(!this.isScreenShare(gt))this.setVideoSource(Le,gt),ht==="screen"&&(logger.warn('Parameter "audioSource" is set to "screen", which means rquesting audio from screen sharing source. But "videoSource" is not set to "screen". No audio source will be requested'),Le.constraints.audio=!1);else if(this.checkScreenSharingCapabilities())if(platform$2.isElectron()){var xt="screen:",yt=gt,Ct=yt.substr(yt.indexOf(xt)+xt.length);return Le.constraints.video={mandatory:{chromeMediaSource:"desktop",chromeMediaSourceId:Ct}},tt(Le)}else if(this.advancedConfiguration.screenShareChromeExtension&&!(platform$2.isFirefoxBrowser()||platform$2.isFirefoxMobileBrowser())&&!navigator.mediaDevices.getDisplayMedia){screenSharing.getScreenConstraints(function(vt,kt){if(vt||kt.mandatory&&kt.mandatory.chromeMediaSource==="screen")if(vt==="permission-denied"||vt==="PermissionDeniedError"){var bt=new OpenViduError_1.OpenViduError(OpenViduError_1.OpenViduErrorName.SCREEN_CAPTURE_DENIED,"You must allow access to one window of your desktop");return logger.error(bt),nt(bt)}else{var wt=ft.advancedConfiguration.screenShareChromeExtension.split("/").pop().trim();screenSharing.getChromeExtensionStatus(wt,function(It){if(It==="installed-disabled"){var Rt=new OpenViduError_1.OpenViduError(OpenViduError_1.OpenViduErrorName.SCREEN_EXTENSION_DISABLED,"You must enable the screen extension");return logger.error(Rt),nt(Rt)}if(It==="not-installed"){var Tt=new OpenViduError_1.OpenViduError(OpenViduError_1.OpenViduErrorName.SCREEN_EXTENSION_NOT_INSTALLED,ft.advancedConfiguration.screenShareChromeExtension);return logger.error(Tt),nt(Tt)}});return}else return Le.constraints.video=kt,tt(Le)});return}else{if(navigator.mediaDevices.getDisplayMedia)return tt(Le);var Et=platform$2.isFirefoxBrowser()||platform$2.isFirefoxMobileBrowser()?Ye.videoSource:void 0;screenSharingAuto.getScreenId(Et,function(vt,kt,bt){if(vt)if(vt==="not-installed"){var wt=ft.advancedConfiguration.screenShareChromeExtension?ft.advancedConfiguration.screenShareChromeExtension:"https://chrome.google.com/webstore/detail/openvidu-screensharing/lfcgfepafnobdloecchnfaclibenjold",It=new OpenViduError_1.OpenViduError(OpenViduError_1.OpenViduErrorName.SCREEN_EXTENSION_NOT_INSTALLED,wt);return logger.error(It),nt(It)}else if(vt==="installed-disabled"){var It=new OpenViduError_1.OpenViduError(OpenViduError_1.OpenViduErrorName.SCREEN_EXTENSION_DISABLED,"You must enable the screen extension");return logger.error(It),nt(It)}else if(vt==="permission-denied"){var It=new OpenViduError_1.OpenViduError(OpenViduError_1.OpenViduErrorName.SCREEN_CAPTURE_DENIED,"You must allow access to one window of your desktop");return logger.error(It),nt(It)}else{var It=new OpenViduError_1.OpenViduError(OpenViduError_1.OpenViduErrorName.GENERIC_ERROR,"Unknown error when accessing screen share");return logger.error(It),logger.error(vt),nt(It)}else return Le.constraints.video=bt.video,tt(Le)});return}else{var At=new OpenViduError_1.OpenViduError(OpenViduError_1.OpenViduErrorName.SCREEN_SHARING_NOT_SUPPORTED,"You can only screen share in desktop Chrome, Firefox, Opera, Safari (>=13.0), Edge (>= 80) or Electron. Detected client: "+platform$2.getName()+" "+platform$2.getVersion());return logger.error(At),nt(At)}},Be.prototype.setVideoSource=function(Le,Ye){Le.constraints.video||(Le.constraints.video={}),Le.constraints.video.deviceId={exact:Ye}},Be.prototype.disconnectCallback=function(){logger.warn("Websocket connection lost"),this.isRoomAvailable()?this.session.onLostConnection("networkDisconnect"):alert("Connection error. Please reload page.")},Be.prototype.reconnectingCallback=function(){logger.warn("Websocket connection lost (reconnecting)"),this.isRoomAvailable()?this.session.emitEvent("reconnecting",[]):alert("Connection error. Please reload page.")},Be.prototype.reconnectWebsocketThroughRpcConnectMethod=function(Le){var Ye=this;this.sendRequest("connect",{sessionId:Le,reconnect:!0},function(tt,nt){if(tt)if(Ye.isMasterNodeCrashed())logger.warn("Master Node has crashed!");else{logger.error(tt);var ft=function(gt,At){logger.warn(At),Ye.session.onLostConnection(gt),Ye.jsonRpcClient.close(4101,"Reconnection fault: "+At)},ht=function(){Ye.life===-1?ft("networkDisconnect","WS successfully reconnected but the user was already evicted due to timeout"):Ye.sendRequest("sessionStatus",{sessionId:Ye.session.sessionId},function(gt,At){gt!=null?console.error("Error checking session status",gt):Ye.life===At.life?ft("networkDisconnect","WS successfully reconnected but the user was already evicted due to timeout"):ft("nodeCrashed","WS successfully reconnected to OpenVidu Server but your Master Node crashed")})};tt.code===40007&&tt.message==="reconnection error"&&console.error("Invalid RPC sessionId. Client network disconnection or Master Node crash"),ht()}else Ye.jsonRpcClient.resetPing(),Ye.session.onRecoveredConnection()})},Be.prototype.reconnectedCallback=function(){if(logger.warn("Websocket reconnected"),this.isRoomAvailable())if(this.session.connection)this.reconnectWebsocketThroughRpcConnectMethod(this.session.connection.rpcSessionId);else{logger.warn("There was no previous connection when running reconnection callback");var Le=new SessionDisconnectedEvent_1.SessionDisconnectedEvent(this.session,"networkDisconnect");this.session.ee.emitEvent("sessionDisconnected",[Le]),Le.callDefaultBehavior()}else alert("Connection error. Please reload page.")},Be.prototype.isMasterNodeCrashed=function(){return this.masterNodeHasCrashed},Be.prototype.isRoomAvailable=function(){return this.session!==void 0&&this.session instanceof Session_1.Session?!0:(logger.warn("Session instance not found"),!1)},Be.prototype.isScreenShare=function(Le){return Le==="screen"||Le==="window"||platform$2.isElectron()&&Le.startsWith("screen:")},Be}();OpenVidu$1.OpenVidu=OpenVidu;var Types={};Object.defineProperty(Types,"__esModule",{value:!0}),function(Be){var Le=commonjsGlobal&&commonjsGlobal.__createBinding||(Object.create?function(Mt,jt,zt,Gt){Gt===void 0&&(Gt=zt);var Yt=Object.getOwnPropertyDescriptor(jt,zt);(!Yt||("get"in Yt?!jt.__esModule:Yt.writable||Yt.configurable))&&(Yt={enumerable:!0,get:function(){return jt[zt]}}),Object.defineProperty(Mt,Gt,Yt)}:function(Mt,jt,zt,Gt){Gt===void 0&&(Gt=zt),Mt[Gt]=jt[zt]}),Ye=commonjsGlobal&&commonjsGlobal.__exportStar||function(Mt,jt){for(var zt in Mt)zt!=="default"&&!Object.prototype.hasOwnProperty.call(jt,zt)&&Le(jt,Mt,zt)};Object.defineProperty(Be,"__esModule",{value:!0}),Be.EventDispatcher=Be.ExceptionEventName=Be.ExceptionEvent=Be.SpeechToTextEvent=Be.NetworkQualityLevelChangedEvent=Be.FilterEvent=Be.ConnectionPropertyChangedEvent=Be.StreamPropertyChangedEvent=Be.VideoElementEvent=Be.StreamManagerEvent=Be.StreamEvent=Be.SignalEvent=Be.SessionDisconnectedEvent=Be.RecordingEvent=Be.PublisherSpeakingEvent=Be.ConnectionEvent=Be.Event=Be.VideoInsertMode=Be.TypeOfVideo=Be.OpenViduErrorName=Be.OpenViduError=Be.LocalRecorderState=Be.Filter=Be.LocalRecorder=Be.Connection=Be.Stream=Be.StreamManager=Be.Subscriber=Be.Publisher=Be.Session=Be.OpenVidu=void 0;var tt=jsnlog,nt=OpenVidu$1;Object.defineProperty(Be,"OpenVidu",{enumerable:!0,get:function(){return nt.OpenVidu}});var ft=requireSession();Object.defineProperty(Be,"Session",{enumerable:!0,get:function(){return ft.Session}});var ht=requirePublisher();Object.defineProperty(Be,"Publisher",{enumerable:!0,get:function(){return ht.Publisher}});var gt=Subscriber$1;Object.defineProperty(Be,"Subscriber",{enumerable:!0,get:function(){return gt.Subscriber}});var At=StreamManager$1;Object.defineProperty(Be,"StreamManager",{enumerable:!0,get:function(){return At.StreamManager}});var xt=Stream$2;Object.defineProperty(Be,"Stream",{enumerable:!0,get:function(){return xt.Stream}});var yt=Connection$1;Object.defineProperty(Be,"Connection",{enumerable:!0,get:function(){return yt.Connection}});var Ct=LocalRecorder$1;Object.defineProperty(Be,"LocalRecorder",{enumerable:!0,get:function(){return Ct.LocalRecorder}});var Et=Filter$1;Object.defineProperty(Be,"Filter",{enumerable:!0,get:function(){return Et.Filter}});var vt=LocalRecorderState;Object.defineProperty(Be,"LocalRecorderState",{enumerable:!0,get:function(){return vt.LocalRecorderState}});var kt=OpenViduError;Object.defineProperty(Be,"OpenViduError",{enumerable:!0,get:function(){return kt.OpenViduError}}),Object.defineProperty(Be,"OpenViduErrorName",{enumerable:!0,get:function(){return kt.OpenViduErrorName}});var bt=TypeOfVideo;Object.defineProperty(Be,"TypeOfVideo",{enumerable:!0,get:function(){return bt.TypeOfVideo}});var wt=VideoInsertMode;Object.defineProperty(Be,"VideoInsertMode",{enumerable:!0,get:function(){return wt.VideoInsertMode}});var It=Event$2;Object.defineProperty(Be,"Event",{enumerable:!0,get:function(){return It.Event}});var Rt=ConnectionEvent$1;Object.defineProperty(Be,"ConnectionEvent",{enumerable:!0,get:function(){return Rt.ConnectionEvent}});var Tt=PublisherSpeakingEvent$1;Object.defineProperty(Be,"PublisherSpeakingEvent",{enumerable:!0,get:function(){return Tt.PublisherSpeakingEvent}});var Bt=RecordingEvent$1;Object.defineProperty(Be,"RecordingEvent",{enumerable:!0,get:function(){return Bt.RecordingEvent}});var Pt=SessionDisconnectedEvent$1;Object.defineProperty(Be,"SessionDisconnectedEvent",{enumerable:!0,get:function(){return Pt.SessionDisconnectedEvent}});var Dt=SignalEvent$1;Object.defineProperty(Be,"SignalEvent",{enumerable:!0,get:function(){return Dt.SignalEvent}});var Ot=requireStreamEvent();Object.defineProperty(Be,"StreamEvent",{enumerable:!0,get:function(){return Ot.StreamEvent}});var Lt=StreamManagerEvent$1;Object.defineProperty(Be,"StreamManagerEvent",{enumerable:!0,get:function(){return Lt.StreamManagerEvent}});var Wt=VideoElementEvent$1;Object.defineProperty(Be,"VideoElementEvent",{enumerable:!0,get:function(){return Wt.VideoElementEvent}});var $t=StreamPropertyChangedEvent$1;Object.defineProperty(Be,"StreamPropertyChangedEvent",{enumerable:!0,get:function(){return $t.StreamPropertyChangedEvent}});var qt=ConnectionPropertyChangedEvent$1;Object.defineProperty(Be,"ConnectionPropertyChangedEvent",{enumerable:!0,get:function(){return qt.ConnectionPropertyChangedEvent}});var Ht=FilterEvent$1;Object.defineProperty(Be,"FilterEvent",{enumerable:!0,get:function(){return Ht.FilterEvent}});var Ut=NetworkQualityLevelChangedEvent$1;Object.defineProperty(Be,"NetworkQualityLevelChangedEvent",{enumerable:!0,get:function(){return Ut.NetworkQualityLevelChangedEvent}});var Ft=SpeechToTextEvent$1;Object.defineProperty(Be,"SpeechToTextEvent",{enumerable:!0,get:function(){return Ft.SpeechToTextEvent}});var Xt=ExceptionEvent;Object.defineProperty(Be,"ExceptionEvent",{enumerable:!0,get:function(){return Xt.ExceptionEvent}}),Object.defineProperty(Be,"ExceptionEventName",{enumerable:!0,get:function(){return Xt.ExceptionEventName}});var _t=EventDispatcher$1;Object.defineProperty(Be,"EventDispatcher",{enumerable:!0,get:function(){return _t.EventDispatcher}}),Ye(Types,Be),tt.JL.setOptions({enabled:!1})}(lib$1);let openViduInstance;const getOpenViduInstance=()=>openViduInstance||(openViduInstance=new lib$1.OpenVidu,openViduInstance),createRecordingSession=async(Be,Le,Ye="openVidu")=>{const tt=Ye==="openVidu"?"/omni/recordings/create-session/v2":"/omni/recordings/create-session";return(await exports.api.post(tt,{type:Be},{headers:{"X-Incode-Hardware-Id":Le}})).data},startRecording=async(Be,Le,Ye="openVidu",tt,nt,ft=!1)=>{const ht=Ye==="openVidu"?"/omni/recordings/record-start/v2":"/omni/recordings/record-start";return(await exports.api.post(ht,{videoRecordingId:Be,frameRate:30,outputMode:"COMPOSED",resolution:nt,type:tt,hasAudio:ft},{headers:{"X-Incode-Hardware-Id":Le}})).data},stopRecording=async(Be,Le,Ye="openVidu")=>{const tt=Ye==="openVidu"?"/omni/recordings/record-stop/v2":"/omni/recordings/record-stop";return(await exports.api.post(tt,{videoRecordingId:Be},{headers:{"X-Incode-Hardware-Id":Le}})).data},createAuthRecordingSession=async Be=>{const Le="/omni/authentication/recording/create-session/v2";return setToken(Be),(await exports.api.post(Le)).data},startAuthRecording=async(Be,Le,Ye,tt,nt=!1)=>{const ft="/omni/authentication/recording/record-start/v2";return setToken(Le),(await exports.api.post(ft,{videoRecordingId:Be,frameRate:30,outputMode:"COMPOSED",resolution:tt,type:Ye,hasAudio:nt},{headers:{"X-Incode-Hardware-Id":Le}})).data},stopAuthRecording=async(Be,Le)=>(await exports.api.post("/omni/authentication/recording/record-stop/v2",{videoRecordingId:Be},{headers:{"X-Incode-Hardware-Id":Le}})).data,randomId=Math.random().toString(36).substring(7);function createElement$1(){if(document.getElementById(randomId))return;const Be=document.createElement("div");Be.style.display="none",Be.id=randomId,document.body.appendChild(Be)}let OTPublisher$4=null,OVPublisher=null;const openViduInitPublisher=async({stream:Be,type:Le,token:Ye,isAuthRecordings:tt=!1})=>{const nt=getOpenViduInstance(),ft=nt.initSession(),ht=Be.getVideoTracks()[0].getSettings(),gt=tt?await createAuthRecordingSession(Ye):await createRecordingSession(Le,Ye,"openVidu");createElement$1(),await ft.connect(gt.token),addEvent({code:streamingEvents.strSessionDidConnect,token:Ye,payload:{message:"Recording session connected",sessionId:ft==null?void 0:ft.sessionId}});const At=Be.getAudioTracks().length>0;return OVPublisher=nt.initPublisher(randomId,{publishAudio:At,audioSource:At?Be.getAudioTracks()[0]:null,videoSource:Be.getVideoTracks()[0],frameRate:30}),ft.on("exception",xt=>{addEvent({code:streamingEvents.strSessionDidFailWithError,token:Ye,payload:{message:"Recording session failed due to an error",eventName:xt.name,type:"OpenViduException",errorMessage:xt.message,sessionId:ft==null?void 0:ft.sessionId}})}),OVPublisher.on("streamCreated",xt=>{addEvent({code:streamingEvents.strStreamPublisherCreated,token:Ye,payload:{message:"Recording publisher created",sessionId:ft==null?void 0:ft.sessionId,streamId:xt.stream.streamId}})}),ft.on("recordingStarted",xt=>{setTimeout(()=>{addEvent({code:streamingEvents.strStreamVideoCaptureStart,token:Ye,payload:{message:"Recording capture started",resolution:`${ht.width}x${ht.height}`,videoRecordingId:gt.videoRecordingId,sessionId:ft==null?void 0:ft.sessionId,streamId:xt.target.streamManagers[0].stream.streamId||xt.target.connection.stream.streamId||xt.target.stream.streamId}})},100)}),ft.publish(OVPublisher),tt?await startAuthRecording(gt.videoRecordingId,Ye,Le,`${ht.width}x${ht.height}`,At):await startRecording(gt.videoRecordingId,Ye,"openVidu",Le,`${ht.width}x${ht.height}`,At),gt},createOpenTokSessionAsync=({recordingSession:Be,stream:Le,token:Ye})=>new Promise((tt,nt)=>{var ft;try{createElement$1();const{session:ht}=createSession$6({apiKey:(ft=Be.apiKey)==null?void 0:ft.toString(),sessionId:Be.sessionId,token:Be.token,async onConnect(){addEvent({code:streamingEvents.strSessionDidConnect,token:Ye,payload:{message:"Recording session connected",sessionId:Be.sessionId}}),OTPublisher$4=OT.initPublisher(randomId,{publishAudio:!1,audioSource:null,videoSource:Le.getVideoTracks()[0],frameRate:30}),OTPublisher$4.on("streamCreated",()=>{var gt;addEvent({code:streamingEvents.strStreamPublisherCreated,token:Ye,payload:{message:"Recording publisher created",sessionId:Be.sessionId,streamId:(gt=OTPublisher$4==null?void 0:OTPublisher$4.stream)==null?void 0:gt.streamId}})}),ht.publish(OTPublisher$4,gt=>{var At;gt&&(console.error("Error publishing:",gt),addEvent({code:streamingEvents.strStreamPublisherDidFailWithError,token:Ye,payload:{message:"Recording publisher failed due to an error",sessionId:Be.sessionId,streamId:(At=OTPublisher$4==null?void 0:OTPublisher$4.stream)==null?void 0:At.streamId,error:{message:(gt==null?void 0:gt.message)||"Unknown error",stack:(gt==null?void 0:gt.stack)||"No stack trace available"}}}),nt(gt)),tt()})}});ht.on("exception",gt=>{addEvent({code:streamingEvents.strSessionDidFailWithError,token:Ye,payload:{message:"Recording session failed due to an error",eventName:(gt==null?void 0:gt.name)||"Unknown",errorMessage:(gt==null?void 0:gt.message)||"Unknown error",sessionId:Be.sessionId}})})}catch(ht){addEvent({code:streamingEvents.strSessionDidFailWithError,token:Ye,payload:{message:"OpenTok library not available",errorMessage:(ht==null?void 0:ht.message)||"OT global variable not found",errorStack:(ht==null?void 0:ht.stack)||"No stack trace available"}}),nt(ht)}}),openTokInitPublisher=async({stream:Be,type:Le,token:Ye})=>{var ft;const tt=await createRecordingSession(Le,Ye,"openTok");await createOpenTokSessionAsync({recordingSession:tt,stream:Be,token:Ye}),await startRecording(tt.videoRecordingId,Ye,"openTok");const nt=Be.getVideoTracks()[0].getSettings();return addEvent({code:streamingEvents.strStreamVideoCaptureStart,token:Ye,payload:{message:"Recording capture started",resolution:`${nt.width}x${nt.height}`,videoRecordingId:tt.videoRecordingId,sessionId:tt.sessionId,streamId:(ft=OTPublisher$4==null?void 0:OTPublisher$4.stream)==null?void 0:ft.streamId}}),tt};let MediaRecorder$3=class{constructor(Le){this.recordingSession=null,this.recordingStarted=!1,this.stream=null,this.config=Le,this.recorderProvider=this.config.isAuthRecording?"openVidu":options.recorderProvider}async startRecording(Le){var Ye,tt;if(this.config.token&&Le){this.stream=Le.clone();try{if(this.config.isAuthRecording||this.recorderProvider==="openVidu"){const nt=await openViduInitPublisher({stream:this.stream,type:this.config.type,token:this.config.token,isAuthRecordings:this.config.isAuthRecording});this.recordingSession=nt,(tt=(Ye=this.config).setVideoRecordingId)==null||tt.call(Ye,nt.videoRecordingId)}else{const nt=await openTokInitPublisher({stream:this.stream,type:this.config.type,token:this.config.token});this.recordingSession=nt}this.recordingStarted=!0}catch(nt){console.error(nt)}}}async stopRecording(){var Le,Ye,tt,nt,ft,ht;if(this.config.token&&this.recordingSession)try{addEvent({code:streamingEvents.strStreamVideoCaptureStop,token:this.config.token,payload:{message:"Recording capture stopped",videoRecordingId:this.recordingSession.videoRecordingId,sessionId:this.recordingSession.sessionId,streamId:((Le=OVPublisher==null?void 0:OVPublisher.stream)==null?void 0:Le.streamId)||((Ye=OTPublisher$4==null?void 0:OTPublisher$4.stream)==null?void 0:Ye.streamId)}}),this.config.isAuthRecording?(await stopAuthRecording(this.recordingSession.videoRecordingId,this.config.token),(nt=(tt=this.config).setVideoRecordingId)==null||nt.call(tt,null)):(await stopRecording(this.recordingSession.videoRecordingId,this.config.token,this.recorderProvider),addEvent({code:getScreenRecordingEventCode(this.config.type),token:this.config.token})),addEvent({code:streamingEvents.strStreamPublisherDestroyed,token:this.config.token,payload:{message:"Recording publisher destroyed",sessionId:this.recordingSession.sessionId,streamId:((ft=OVPublisher==null?void 0:OVPublisher.stream)==null?void 0:ft.streamId)||((ht=OTPublisher$4==null?void 0:OTPublisher$4.stream)==null?void 0:ht.streamId)}}),addEvent({code:streamingEvents.strSessionDidDisconnect,token:this.config.token,payload:{message:"Recording session disconnected",sessionId:this.recordingSession.sessionId}})}catch(gt){console.error("Error stopping recording:",gt)}finally{this.recordingSession=null,this.recordingStarted=!1,this.stream&&(this.stream.getTracks().forEach(gt=>{gt.stop(),gt.enabled=!1}),this.stream=null)}}async updateMediaStream(Le){if(!(!this.config.token||!this.recordingSession)){this.stream&&this.stream.getTracks().forEach(Ye=>Ye.stop()),this.stream=Le.clone();try{this.config.isAuthRecording||this.recorderProvider==="openVidu"?OVPublisher&&OVPublisher.replaceTrack(this.stream.getVideoTracks()[0]):OTPublisher$4&&OTPublisher$4.setVideoSource(this.stream.getVideoTracks()[0])}catch(Ye){console.error("Error updating media stream:",Ye)}}}};function useMediaRecorder({token:Be,type:Le}){const[Ye,tt]=React.useState(!1),nt=React.useRef(null),ft=async At=>{try{nt.current=new MediaRecorder$3({token:Be,type:Le,isAuthRecording:!1}),await nt.current.startRecording(At),tt(nt.current.recordingStarted)}catch(xt){console.error(xt)}},ht=React.useCallback(async()=>{nt.current&&(await nt.current.stopRecording(),tt(nt.current.recordingStarted),nt.current=null)},[]),gt=React.useCallback(async At=>{nt.current&&await nt.current.updateMediaStream(At)},[]);return{startRecording:ft,stopRecording:ht,recordingStarted:Ye,updateMediaStream:gt}}const useAuthenticationRecorder=({token:Be,type:Le,setVideoRecordingId:Ye})=>{if(!Be)return{startRecording:null,stopRecording:null};const tt=React.useRef(null),nt=async ht=>{if(Be)try{tt.current=new MediaRecorder$3({token:Be,type:Le,isAuthRecording:!0,setVideoRecordingId:Ye}),await tt.current.startRecording(ht)}catch(gt){console.error(gt)}},ft=React.useCallback(async()=>{Be&&tt.current&&(await tt.current.stopRecording(),tt.current=null)},[Be]);return{startRecording:nt,stopRecording:ft}};async function sendMfa({verificationCode:Be,transactionId:Le}){return exports.api.post("/omni/oneToN/mfa",{verificationCode:Be,transactionId:Le}).then(Ye=>Ye.data).catch(Ye=>{var tt;return Promise.reject((tt=Ye==null?void 0:Ye.response)==null?void 0:tt.data)})}const ErrorContainer$2=dt.div`
2812
+ `.concat(JSON.stringify(this.configuration,null,2)));var tt=this.configuration.rtcConfiguration?this.configuration.rtcConfiguration:{iceServers:this.configuration.iceServers};!tt.iceServers&&this.configuration.iceServers&&(tt.iceServers=this.configuration.iceServers),this.pc=new RTCPeerConnection(tt),this.pc.addEventListener("icecandidate",function(nt){if(nt.candidate!==null){var ft=nt.candidate,ht=new RTCIceCandidate(ft);Ye.configuration.onIceCandidate(ht),ht.candidate!==""&&Ye.localCandidatesQueue.push(ht)}}),this.pc.addEventListener("signalingstatechange",function(){return __awaiter$6(Ye,void 0,void 0,function(){var nt,ft;return __generator$5(this,function(ht){switch(ht.label){case 0:if(this.pc.signalingState!=="stable")return[3,6];ht.label=1;case 1:if(!(this.iceCandidateList.length>0))return[3,6];nt=this.iceCandidateList.shift(),ht.label=2;case 2:return ht.trys.push([2,4,,5]),[4,this.pc.addIceCandidate(nt)];case 3:return ht.sent(),[3,5];case 4:return ft=ht.sent(),logger$5.error("Error when calling RTCPeerConnection#addIceCandidate for RTCPeerConnection "+this.getId(),ft),[3,5];case 5:return[3,1];case 6:return[2]}})})})}return Be.prototype.getId=function(){return this.configuration.id},Be.prototype.dispose=function(){if(logger$5.debug("Disposing WebRtcPeer"),this.pc){if(this.pc.signalingState==="closed")return;this.pc.close(),this.remoteCandidatesQueue=[],this.localCandidatesQueue=[]}},Be.prototype.createOfferLegacy=function(){this.configuration.mediaStream&&this.deprecatedPeerConnectionTrackApi();var Le=this.configuration.mediaConstraints.audio,Ye=this.configuration.mediaConstraints.video,tt={offerToReceiveAudio:this.configuration.mode!=="sendonly"&&Le,offerToReceiveVideo:this.configuration.mode!=="sendonly"&&Ye};return logger$5.debug("[createOfferLegacy] RTCPeerConnection.createOffer() options:",JSON.stringify(tt)),this.pc.createOffer(tt)},Be.prototype.createOffer=function(){var Le,Ye,tt,nt,ft,ht,gt,At;return __awaiter$6(this,void 0,void 0,function(){var xt,yt,Ct,Et,vt,kt,bt,wt,It,Rt,Tt,Bt,Pt,Dt,Ot,Lt,Wt,Xt,$t,qt,Ht,Ut,Ft,Xt;return __generator$5(this,function(_t){switch(_t.label){case 0:if("addTransceiver"in this.pc)logger$5.debug("[createOffer] Method RTCPeerConnection.addTransceiver() is available; using it");else return logger$5.warn("[createOffer] Method RTCPeerConnection.addTransceiver() is NOT available; using LEGACY offerToReceive{Audio,Video}"),[2,this.createOfferLegacy()];if(this.configuration.mode==="recvonly")return[3,7];if(!this.configuration.mediaStream)throw new Error("[WebRtcPeer.createOffer] Direction is '".concat(this.configuration.mode,"', but no stream was configured to be sent"));xt=0,yt=this.configuration.mediaStream.getTracks(),_t.label=1;case 1:if(!(xt<yt.length))return[3,6];if(Ct=yt[xt],Et={direction:this.configuration.mode,streams:[this.configuration.mediaStream]},Ct.kind==="video"&&this.configuration.simulcast)for(vt=Ct.getSettings(),kt=Ct.getConstraints(),bt=(tt=(Ye=(Le=vt.width)!==null&&Le!==void 0?Le:kt.width.ideal)!==null&&Ye!==void 0?Ye:kt.width)!==null&&tt!==void 0?tt:0,wt=(ht=(ft=(nt=vt.height)!==null&&nt!==void 0?nt:kt.height.ideal)!==null&&ft!==void 0?ft:kt.height)!==null&&ht!==void 0?ht:0,logger$5.info("[createOffer] Video track dimensions: ".concat(bt,"x").concat(wt)),It=bt*wt,Rt=0,It>=960*540?Rt=3:It>=480*270?Rt=2:Rt=1,Et.sendEncodings=[],Tt=0;Tt<Rt;Tt++)Bt=Math.pow(2,Rt-Tt-1),Pt={rid:"rdiv"+Bt.toString(),scalabilityMode:"L1T1"},["detail","text"].includes(Ct.contentHint)?(Pt.scaleResolutionDownBy=1,Pt.maxFramerate=Math.floor(30/Bt)):Pt.scaleResolutionDownBy=Bt,Et.sendEncodings.push(Pt);if(Dt=this.pc.addTransceiver(Ct,Et),Ct.kind!=="video")return[3,5];if(Ot=Dt.sender.getParameters(),Lt=!1,!((gt=Ot.degradationPreference)===null||gt===void 0)&&gt.length||(["detail","text"].includes(Ct.contentHint)?Ot.degradationPreference="maintain-resolution":Ot.degradationPreference="balanced",logger$5.info("[createOffer] Video sender Degradation Preference set: ".concat(Ot.degradationPreference)),Lt=!0),this.configuration.simulcast&&((At=Ot.encodings)===null||At===void 0?void 0:At.length)!==Et.sendEncodings.length&&(Ot.encodings=Et.sendEncodings,Lt=!0),!Lt)return[3,5];logger$5.debug("[createOffer] Setting new RTCRtpSendParameters to video sender"),_t.label=2;case 2:return _t.trys.push([2,4,,5]),[4,Dt.sender.setParameters(Ot)];case 3:return _t.sent(),[3,5];case 4:throw Wt=_t.sent(),Xt="[WebRtcPeer.createOffer] Cannot set RTCRtpSendParameters to video sender",Wt instanceof Error&&(Xt+=": ".concat(Wt.message)),new Error(Xt);case 5:return xt++,[3,1];case 6:return[3,8];case 7:for($t=0,qt=["audio","video"];$t<qt.length;$t++)Ht=qt[$t],this.configuration.mediaConstraints[Ht]&&(this.configuration.mediaStream=new MediaStream,this.pc.addTransceiver(Ht,{direction:this.configuration.mode,streams:[this.configuration.mediaStream]}));_t.label=8;case 8:return _t.trys.push([8,10,,11]),[4,this.pc.createOffer()];case 9:return Ut=_t.sent(),[3,11];case 10:throw Ft=_t.sent(),Xt="[WebRtcPeer.createOffer] Browser failed creating an SDP Offer",Ft instanceof Error&&(Xt+=": ".concat(Ft.message)),new Error(Xt);case 11:return[2,Ut]}})})},Be.prototype.deprecatedPeerConnectionTrackApi=function(){for(var Le=0,Ye=this.configuration.mediaStream.getTracks();Le<Ye.length;Le++){var tt=Ye[Le];this.pc.addTrack(tt,this.configuration.mediaStream)}},Be.prototype.createAnswer=function(){var Le=this;return new Promise(function(Ye,tt){if("getTransceivers"in Le.pc){logger$5.debug("[createAnswer] Method RTCPeerConnection.getTransceivers() is available; using it");for(var nt=function(Et){if(!Le.configuration.mediaConstraints[Et])return"continue";var vt=Le.pc.getTransceivers().find(function(kt){return kt.receiver.track.kind===Et});if(vt)vt.direction=Le.configuration.mode;else return{value:tt(new Error("".concat(Et," requested, but no transceiver was created from remote description")))}},ft=0,ht=["audio","video"];ft<ht.length;ft++){var gt=ht[ft],At=nt(gt);if(typeof At=="object")return At.value}Le.pc.createAnswer().then(function(Et){return Ye(Et)}).catch(function(Et){return tt(Et)})}else{var xt=void 0,yt=!0;if(Le.configuration.mediaConstraints){xt=typeof Le.configuration.mediaConstraints.audio=="boolean"?Le.configuration.mediaConstraints.audio:!0,yt=typeof Le.configuration.mediaConstraints.video=="boolean"?Le.configuration.mediaConstraints.video:!0;var Ct={offerToReceiveAudio:xt,offerToReceiveVideo:yt};Le.pc.createAnswer(Ct).then(function(Et){return Ye(Et)}).catch(function(Et){return tt(Et)})}}})},Be.prototype.processLocalOffer=function(Le){var Ye=this;return new Promise(function(tt,nt){Ye.pc.setLocalDescription(Le).then(function(){var ft=Ye.pc.localDescription;return ft?(logger$5.debug("Local description set",ft.sdp),tt()):nt("Local description is not defined")}).catch(function(ft){return nt(ft)})})},Be.prototype.processRemoteOffer=function(Le){var Ye=this;return new Promise(function(tt,nt){var ft={type:"offer",sdp:Le};if(logger$5.debug("SDP offer received, setting remote description",ft),Ye.pc.signalingState==="closed")return nt("RTCPeerConnection is closed when trying to set remote description");Ye.setRemoteDescription(ft).then(function(){return tt()}).catch(function(ht){return nt(ht)})})},Be.prototype.processLocalAnswer=function(Le){var Ye=this;return new Promise(function(tt,nt){if(logger$5.debug("SDP answer created, setting local description"),Ye.pc.signalingState==="closed")return nt("RTCPeerConnection is closed when trying to set local description");Ye.pc.setLocalDescription(Le).then(function(){return tt()}).catch(function(ft){return nt(ft)})})},Be.prototype.processRemoteAnswer=function(Le){var Ye=this;return new Promise(function(tt,nt){var ft={type:"answer",sdp:Le};if(logger$5.debug("SDP answer received, setting remote description"),Ye.pc.signalingState==="closed")return nt("RTCPeerConnection is closed when trying to set remote description");Ye.setRemoteDescription(ft).then(function(){tt()}).catch(function(ht){return nt(ht)})})},Be.prototype.setRemoteDescription=function(Le){return __awaiter$6(this,void 0,void 0,function(){return __generator$5(this,function(Ye){return[2,this.pc.setRemoteDescription(Le)]})})},Be.prototype.addIceCandidate=function(Le){var Ye=this;return new Promise(function(tt,nt){switch(logger$5.debug("Remote ICE candidate received",Le),Ye.remoteCandidatesQueue.push(Le),Ye.pc.signalingState){case"closed":nt(new Error("PeerConnection object is closed"));break;case"stable":Ye.pc.remoteDescription?Ye.pc.addIceCandidate(Le).then(function(){return tt()}).catch(function(ft){return nt(ft)}):(Ye.iceCandidateList.push(Le),tt());break;default:Ye.iceCandidateList.push(Le),tt()}})},Be.prototype.addIceConnectionStateChangeListener=function(Le){var Ye=this;this.pc.addEventListener("iceconnectionstatechange",function(){var tt=Ye.pc.iceConnectionState;switch(tt){case"disconnected":var nt="IceConnectionState of RTCPeerConnection "+Ye.configuration.id+" ("+Le+') change to "disconnected". Possible network disconnection';logger$5.warn(nt),Ye.configuration.onIceConnectionStateException(ExceptionEvent_1$2.ExceptionEventName.ICE_CONNECTION_DISCONNECTED,nt);break;case"failed":var ft="IceConnectionState of RTCPeerConnection "+Ye.configuration.id+" ("+Le+') to "failed"';logger$5.error(ft),Ye.configuration.onIceConnectionStateException(ExceptionEvent_1$2.ExceptionEventName.ICE_CONNECTION_FAILED,ft);break;case"closed":logger$5.log("IceConnectionState of RTCPeerConnection "+Ye.configuration.id+" ("+Le+') change to "closed"');break;case"new":logger$5.log("IceConnectionState of RTCPeerConnection "+Ye.configuration.id+" ("+Le+') change to "new"');break;case"checking":logger$5.log("IceConnectionState of RTCPeerConnection "+Ye.configuration.id+" ("+Le+') change to "checking"');break;case"connected":logger$5.log("IceConnectionState of RTCPeerConnection "+Ye.configuration.id+" ("+Le+') change to "connected"');break;case"completed":logger$5.log("IceConnectionState of RTCPeerConnection "+Ye.configuration.id+" ("+Le+') change to "completed"');break}})},Be.prototype.generateUniqueId=function(){return(0,uuid_1$1.v4)()},Be}();WebRtcPeer$1.WebRtcPeer=WebRtcPeer;var WebRtcPeerRecvonly=function(Be){__extends$1k(Le,Be);function Le(Ye){return Ye.mode="recvonly",Be.call(this,Ye)||this}return Le}(WebRtcPeer);WebRtcPeer$1.WebRtcPeerRecvonly=WebRtcPeerRecvonly;var WebRtcPeerSendonly=function(Be){__extends$1k(Le,Be);function Le(Ye){return Ye.mode="sendonly",Be.call(this,Ye)||this}return Le}(WebRtcPeer);WebRtcPeer$1.WebRtcPeerSendonly=WebRtcPeerSendonly;var WebRtcPeerSendrecv=function(Be){__extends$1k(Le,Be);function Le(Ye){return Ye.mode="sendrecv",Be.call(this,Ye)||this}return Le}(WebRtcPeer);WebRtcPeer$1.WebRtcPeerSendrecv=WebRtcPeerSendrecv;var WebRtcStats$1={},__awaiter$5=commonjsGlobal&&commonjsGlobal.__awaiter||function(Be,Le,Ye,tt){function nt(ft){return ft instanceof Ye?ft:new Ye(function(ht){ht(ft)})}return new(Ye||(Ye=Promise))(function(ft,ht){function gt(yt){try{xt(tt.next(yt))}catch(Ct){ht(Ct)}}function At(yt){try{xt(tt.throw(yt))}catch(Ct){ht(Ct)}}function xt(yt){yt.done?ft(yt.value):nt(yt.value).then(gt,At)}xt((tt=tt.apply(Be,Le||[])).next())})},__generator$4=commonjsGlobal&&commonjsGlobal.__generator||function(Be,Le){var Ye={label:0,sent:function(){if(ft[0]&1)throw ft[1];return ft[1]},trys:[],ops:[]},tt,nt,ft,ht;return ht={next:gt(0),throw:gt(1),return:gt(2)},typeof Symbol=="function"&&(ht[Symbol.iterator]=function(){return this}),ht;function gt(xt){return function(yt){return At([xt,yt])}}function At(xt){if(tt)throw new TypeError("Generator is already executing.");for(;ht&&(ht=0,xt[0]&&(Ye=0)),Ye;)try{if(tt=1,nt&&(ft=xt[0]&2?nt.return:xt[0]?nt.throw||((ft=nt.return)&&ft.call(nt),0):nt.next)&&!(ft=ft.call(nt,xt[1])).done)return ft;switch(nt=0,ft&&(xt=[xt[0]&2,ft.value]),xt[0]){case 0:case 1:ft=xt;break;case 4:return Ye.label++,{value:xt[1],done:!1};case 5:Ye.label++,nt=xt[1],xt=[0];continue;case 7:xt=Ye.ops.pop(),Ye.trys.pop();continue;default:if(ft=Ye.trys,!(ft=ft.length>0&&ft[ft.length-1])&&(xt[0]===6||xt[0]===2)){Ye=0;continue}if(xt[0]===3&&(!ft||xt[1]>ft[0]&&xt[1]<ft[3])){Ye.label=xt[1];break}if(xt[0]===6&&Ye.label<ft[1]){Ye.label=ft[1],ft=xt;break}if(ft&&Ye.label<ft[2]){Ye.label=ft[2],Ye.ops.push(xt);break}ft[2]&&Ye.ops.pop(),Ye.trys.pop();continue}xt=Le.call(Be,Ye)}catch(yt){xt=[6,yt],nt=0}finally{tt=ft=0}if(xt[0]&5)throw xt[1];return{value:xt[0]?xt[1]:void 0,done:!0}}};Object.defineProperty(WebRtcStats$1,"__esModule",{value:!0}),WebRtcStats$1.WebRtcStats=void 0;var OpenViduLogger_1$4=OpenViduLogger$1,Platform_1$2=Platform,logger$4=OpenViduLogger_1$4.OpenViduLogger.getInstance(),platform$4,WebRtcStats=function(){function Be(Le){this.stream=Le,this.STATS_ITEM_NAME="webrtc-stats-config",this.webRtcStatsEnabled=!1,this.statsInterval=1,platform$4=Platform_1$2.PlatformUtils.getInstance()}return Be.prototype.isEnabled=function(){return this.webRtcStatsEnabled},Be.prototype.initWebRtcStats=function(){var Le=this,Ye;try{Ye=localStorage.getItem(this.STATS_ITEM_NAME)}catch{}if(Ye){this.webRtcStatsEnabled=!0;var tt=JSON.parse(Ye);logger$4.warn("WebRtc stats enabled for stream "+this.stream.streamId+" of connection "+this.stream.connection.connectionId),logger$4.warn("localStorage item: "+JSON.stringify(tt)),this.POST_URL=tt.httpEndpoint,this.statsInterval=tt.interval,this.webRtcStatsIntervalId=setInterval(function(){return __awaiter$5(Le,void 0,void 0,function(){return __generator$4(this,function(nt){switch(nt.label){case 0:return[4,this.sendStatsToHttpEndpoint()];case 1:return nt.sent(),[2]}})})},this.statsInterval*1e3)}else logger$4.debug("WebRtc stats not enabled")},Be.prototype.getSelectedIceCandidateInfo=function(){var Le=this;return new Promise(function(Ye,tt){return __awaiter$5(Le,void 0,void 0,function(){var nt,ft,ht,gt,At,xt,yt,Ct,Et,vt,kt,bt,wt,It,Pt,Dt,Rt,Tt,Wt,Bt,Pt,Dt,Ot,Lt,Wt;return __generator$4(this,function($t){switch($t.label){case 0:return[4,this.stream.getRTCPeerConnection().getStats()];case 1:if(nt=$t.sent(),ht=new Map,gt=new Map,At=new Map,nt.forEach(function(qt){switch(qt.type==="transport"&&(platform$4.isChromium()||platform$4.isSafariBrowser()||platform$4.isReactNative())&&(ft=qt),qt.type){case"candidate-pair":ht.set(qt.id,qt);break;case"local-candidate":gt.set(qt.id,qt);break;case"remote-candidate":At.set(qt.id,qt);break}}),ft!=null)yt=ft.selectedCandidatePairId,xt=ht.get(yt);else for(Ct=ht.size,Et=ht.values(),vt=0;vt<Ct;vt++)if(kt=Et.next().value,kt.selected){xt=kt;break}if(bt=xt.localCandidateId,wt=xt.remoteCandidateId,It=gt.get(bt),It)for(Pt=this.stream.getLocalIceCandidateList(),Dt=Pt.filter(function(qt){return!!qt.candidate&&(qt.candidate.indexOf(It.ip)>=0||qt.candidate.indexOf(It.address)>=0)&&qt.candidate.indexOf(It.port)>=0}),It.raw=[],Rt=0,Tt=Dt;Rt<Tt.length;Rt++)Wt=Tt[Rt],It.raw.push(Wt.candidate);else It="ERROR: No active local ICE candidate. Probably ICE-TCP is being used";if(Bt=At.get(wt),Bt)for(Pt=this.stream.getRemoteIceCandidateList(),Dt=Pt.filter(function(qt){return!!qt.candidate&&(qt.candidate.indexOf(Bt.ip)>=0||qt.candidate.indexOf(Bt.address)>=0)&&qt.candidate.indexOf(Bt.port)>=0}),Bt.raw=[],Ot=0,Lt=Dt;Ot<Lt.length;Ot++)Wt=Lt[Ot],Bt.raw.push(Wt.candidate);else Bt="ERROR: No active remote ICE candidate. Probably ICE-TCP is being used";return[2,Ye({localCandidate:It,remoteCandidate:Bt})]}})})})},Be.prototype.stopWebRtcStats=function(){this.webRtcStatsEnabled&&(clearInterval(this.webRtcStatsIntervalId),logger$4.warn("WebRtc stats stopped for disposed stream "+this.stream.streamId+" of connection "+this.stream.connection.connectionId))},Be.prototype.sendStats=function(Le,Ye){return __awaiter$5(this,void 0,void 0,function(){var tt,nt;return __generator$4(this,function(ft){switch(ft.label){case 0:return ft.trys.push([0,2,,3]),tt={headers:{"Content-type":"application/json"},body:JSON.stringify(Ye),method:"POST"},[4,fetch(Le,tt)];case 1:return ft.sent(),[3,3];case 2:return nt=ft.sent(),logger$4.error("sendStats error: ".concat(JSON.stringify(nt))),[3,3];case 3:return[2]}})})},Be.prototype.sendStatsToHttpEndpoint=function(){return __awaiter$5(this,void 0,void 0,function(){var Le,Ye,tt;return __generator$4(this,function(nt){switch(nt.label){case 0:return nt.trys.push([0,3,,4]),[4,this.getCommonStats()];case 1:return Le=nt.sent(),Ye=this.generateJSONStatsResponse(Le),[4,this.sendStats(this.POST_URL,Ye)];case 2:return nt.sent(),[3,4];case 3:return tt=nt.sent(),logger$4.log(tt),[3,4];case 4:return[2]}})})},Be.prototype.getCommonStats=function(){return __awaiter$5(this,void 0,void 0,function(){var Le=this;return __generator$4(this,function(Ye){return[2,new Promise(function(tt,nt){return __awaiter$5(Le,void 0,void 0,function(){var ft,ht,gt,At,xt,yt=this;return __generator$4(this,function(Ct){switch(Ct.label){case 0:return Ct.trys.push([0,2,,3]),[4,this.stream.getRTCPeerConnection().getStats()];case 1:return ft=Ct.sent(),ht=this.getWebRtcStatsResponseOutline(),gt=["framesReceived","framesDropped","framesSent","frameHeight","frameWidth"],At=["availableOutgoingBitrate","currentRoundTripTime"],ft.forEach(function(Et){var vt=Et.mediaType!=null?Et.mediaType:Et.kind,kt=function(bt,wt){Et[wt]!=null&&ht[bt]!=null&&(!vt&&gt.indexOf(wt)>-1&&(vt="video"),bt!=null&&vt!=null&&wt!=null&&ht[bt][vt]!=null?ht[bt][vt][wt]=Number(Et[wt]):bt!=null&&wt!=null&&At.includes(wt)&&(ht[bt][wt]=Number(Et[wt])))};switch(Et.type){case"outbound-rtp":kt("outbound","bytesSent"),kt("outbound","packetsSent"),kt("outbound","framesEncoded"),kt("outbound","nackCount"),kt("outbound","firCount"),kt("outbound","pliCount"),kt("outbound","qpSum");break;case"inbound-rtp":kt("inbound","bytesReceived"),kt("inbound","packetsReceived"),kt("inbound","packetsLost"),kt("inbound","jitter"),kt("inbound","framesDecoded"),kt("inbound","nackCount"),kt("inbound","firCount"),kt("inbound","pliCount");break;case"track":kt("inbound","jitterBufferDelay"),kt("inbound","framesReceived"),kt("outbound","framesDropped"),kt("outbound","framesSent"),kt(yt.stream.isLocal()?"outbound":"inbound","frameHeight"),kt(yt.stream.isLocal()?"outbound":"inbound","frameWidth");break;case"candidate-pair":kt("candidatepair","currentRoundTripTime"),kt("candidatepair","availableOutgoingBitrate");break}}),(!(ht!=null&&ht.candidatepair)||Object.keys(ht.candidatepair).length===0)&&delete ht.candidatepair,[2,tt(ht)];case 2:return xt=Ct.sent(),logger$4.error("Error getting common stats: ",xt),[2,nt(xt)];case 3:return[2]}})})})]})})},Be.prototype.generateJSONStatsResponse=function(Le){return{"@timestamp":new Date().toISOString(),participant_id:this.stream.connection.data,session_id:this.stream.session.sessionId,platform:platform$4.getName(),platform_description:platform$4.getDescription(),stream:"webRTC",webrtc_stats:Le}},Be.prototype.getWebRtcStatsResponseOutline=function(){return this.stream.isLocal()?{outbound:{audio:{},video:{}},candidatepair:{}}:{inbound:{audio:{},video:{}}}},Be}();WebRtcStats$1.WebRtcStats=WebRtcStats;var PublisherSpeakingEvent$1={},__extends$1j=commonjsGlobal&&commonjsGlobal.__extends||function(){var Be=function(Le,Ye){return Be=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(tt,nt){tt.__proto__=nt}||function(tt,nt){for(var ft in nt)Object.prototype.hasOwnProperty.call(nt,ft)&&(tt[ft]=nt[ft])},Be(Le,Ye)};return function(Le,Ye){if(typeof Ye!="function"&&Ye!==null)throw new TypeError("Class extends value "+String(Ye)+" is not a constructor or null");Be(Le,Ye);function tt(){this.constructor=Le}Le.prototype=Ye===null?Object.create(Ye):(tt.prototype=Ye.prototype,new tt)}}();Object.defineProperty(PublisherSpeakingEvent$1,"__esModule",{value:!0}),PublisherSpeakingEvent$1.PublisherSpeakingEvent=void 0;var Event_1$8=Event$2,PublisherSpeakingEvent=function(Be){__extends$1j(Le,Be);function Le(Ye,tt,nt,ft){var ht=Be.call(this,!1,Ye,tt)||this;return ht.type=tt,ht.connection=nt,ht.streamId=ft,ht}return Le.prototype.callDefaultBehavior=function(){},Le}(Event_1$8.Event);PublisherSpeakingEvent$1.PublisherSpeakingEvent=PublisherSpeakingEvent;var TypeOfVideo={};(function(Be){Object.defineProperty(Be,"__esModule",{value:!0}),Be.TypeOfVideo=void 0,function(Le){Le.CAMERA="CAMERA",Le.SCREEN="SCREEN",Le.CUSTOM="CUSTOM",Le.IPCAM="IPCAM"}(Be.TypeOfVideo||(Be.TypeOfVideo={}))})(TypeOfVideo);var wildemitter=WildEmitter$1;function WildEmitter$1(){}WildEmitter$1.mixin=function(Be){var Le=Be.prototype||Be;Le.isWildEmitter=!0,Le.on=function(Ye,tt,nt){this.callbacks=this.callbacks||{};var ft=arguments.length===3,ht=ft?arguments[1]:void 0,gt=ft?arguments[2]:arguments[1];return gt._groupName=ht,(this.callbacks[Ye]=this.callbacks[Ye]||[]).push(gt),this},Le.once=function(Ye,tt,nt){var ft=this,ht=arguments.length===3,gt=ht?arguments[1]:void 0,At=ht?arguments[2]:arguments[1];function xt(){ft.off(Ye,xt),At.apply(this,arguments)}return this.on(Ye,gt,xt),this},Le.releaseGroup=function(Ye){this.callbacks=this.callbacks||{};var tt,nt,ft,ht;for(tt in this.callbacks)for(ht=this.callbacks[tt],nt=0,ft=ht.length;nt<ft;nt++)ht[nt]._groupName===Ye&&(ht.splice(nt,1),nt--,ft--);return this},Le.off=function(Ye,tt){this.callbacks=this.callbacks||{};var nt=this.callbacks[Ye],ft;return nt?arguments.length===1?(delete this.callbacks[Ye],this):(ft=nt.indexOf(tt),ft!==-1&&(nt.splice(ft,1),nt.length===0&&delete this.callbacks[Ye]),this):this},Le.emit=function(Ye){this.callbacks=this.callbacks||{};var tt=[].slice.call(arguments,1),nt=this.callbacks[Ye],ft=this.getWildcardCallbacks(Ye),ht,gt,At;if(nt)for(At=nt.slice(),ht=0,gt=At.length;ht<gt&&At[ht];++ht)At[ht].apply(this,tt);if(ft)for(gt=ft.length,At=ft.slice(),ht=0,gt=At.length;ht<gt&&At[ht];++ht)At[ht].apply(this,[Ye].concat(tt));return this},Le.getWildcardCallbacks=function(Ye){this.callbacks=this.callbacks||{};var tt,nt,ft=[];for(tt in this.callbacks)nt=tt.split("*"),(tt==="*"||nt.length===2&&Ye.slice(0,nt[0].length)===nt[0])&&(ft=ft.concat(this.callbacks[tt]));return ft}},WildEmitter$1.mixin(WildEmitter$1);var WildEmitter=wildemitter;function getMaxVolume(Be,Le){var Ye=-1/0;Be.getFloatFrequencyData(Le);for(var tt=4,nt=Le.length;tt<nt;tt++)Le[tt]>Ye&&Le[tt]<0&&(Ye=Le[tt]);return Ye}var audioContextType;typeof window<"u"&&(audioContextType=window.AudioContext||window.webkitAudioContext);var audioContext=null,hark$1=function(Be,tt){var Ye=new WildEmitter;if(!audioContextType)return Ye;var tt=tt||{},nt=tt.smoothing||.1,ft=tt.interval||50,ht=tt.threshold,gt=tt.play,At=tt.history||10,xt=!0;audioContext=tt.audioContext||audioContext||new audioContextType;var yt,Ct,Et;Et=audioContext.createAnalyser(),Et.fftSize=512,Et.smoothingTimeConstant=nt,Ct=new Float32Array(Et.frequencyBinCount),Be.jquery&&(Be=Be[0]),Be instanceof HTMLAudioElement||Be instanceof HTMLVideoElement?(yt=audioContext.createMediaElementSource(Be),typeof gt>"u"&&(gt=!0),ht=ht||-50):(yt=audioContext.createMediaStreamSource(Be),ht=ht||-50),yt.connect(Et),gt&&Et.connect(audioContext.destination),Ye.speaking=!1,Ye.suspend=function(){return audioContext.suspend()},Ye.resume=function(){return audioContext.resume()},Object.defineProperty(Ye,"state",{get:function(){return audioContext.state}}),audioContext.onstatechange=function(){Ye.emit("state_change",audioContext.state)},Ye.setThreshold=function(bt){ht=bt},Ye.setInterval=function(bt){ft=bt},Ye.stop=function(){xt=!1,Ye.emit("volume_change",-100,ht),Ye.speaking&&(Ye.speaking=!1,Ye.emit("stopped_speaking")),Et.disconnect(),yt.disconnect()},Ye.speakingHistory=[];for(var vt=0;vt<At;vt++)Ye.speakingHistory.push(0);var kt=function(){setTimeout(function(){if(xt){var bt=getMaxVolume(Et,Ct);Ye.emit("volume_change",bt,ht);var wt=0;if(bt>ht&&!Ye.speaking){for(var It=Ye.speakingHistory.length-3;It<Ye.speakingHistory.length;It++)wt+=Ye.speakingHistory[It];wt>=2&&(Ye.speaking=!0,Ye.emit("speaking"))}else if(bt<ht&&Ye.speaking){for(var It=0;It<Ye.speakingHistory.length;It++)wt+=Ye.speakingHistory[It];wt==0&&(Ye.speaking=!1,Ye.emit("stopped_speaking"))}Ye.speakingHistory.shift(),Ye.speakingHistory.push(0+(bt>ht)),kt()}},ft)};return kt(),Ye},__awaiter$4=commonjsGlobal&&commonjsGlobal.__awaiter||function(Be,Le,Ye,tt){function nt(ft){return ft instanceof Ye?ft:new Ye(function(ht){ht(ft)})}return new(Ye||(Ye=Promise))(function(ft,ht){function gt(yt){try{xt(tt.next(yt))}catch(Ct){ht(Ct)}}function At(yt){try{xt(tt.throw(yt))}catch(Ct){ht(Ct)}}function xt(yt){yt.done?ft(yt.value):nt(yt.value).then(gt,At)}xt((tt=tt.apply(Be,Le||[])).next())})},__generator$3=commonjsGlobal&&commonjsGlobal.__generator||function(Be,Le){var Ye={label:0,sent:function(){if(ft[0]&1)throw ft[1];return ft[1]},trys:[],ops:[]},tt,nt,ft,ht;return ht={next:gt(0),throw:gt(1),return:gt(2)},typeof Symbol=="function"&&(ht[Symbol.iterator]=function(){return this}),ht;function gt(xt){return function(yt){return At([xt,yt])}}function At(xt){if(tt)throw new TypeError("Generator is already executing.");for(;ht&&(ht=0,xt[0]&&(Ye=0)),Ye;)try{if(tt=1,nt&&(ft=xt[0]&2?nt.return:xt[0]?nt.throw||((ft=nt.return)&&ft.call(nt),0):nt.next)&&!(ft=ft.call(nt,xt[1])).done)return ft;switch(nt=0,ft&&(xt=[xt[0]&2,ft.value]),xt[0]){case 0:case 1:ft=xt;break;case 4:return Ye.label++,{value:xt[1],done:!1};case 5:Ye.label++,nt=xt[1],xt=[0];continue;case 7:xt=Ye.ops.pop(),Ye.trys.pop();continue;default:if(ft=Ye.trys,!(ft=ft.length>0&&ft[ft.length-1])&&(xt[0]===6||xt[0]===2)){Ye=0;continue}if(xt[0]===3&&(!ft||xt[1]>ft[0]&&xt[1]<ft[3])){Ye.label=xt[1];break}if(xt[0]===6&&Ye.label<ft[1]){Ye.label=ft[1],ft=xt;break}if(ft&&Ye.label<ft[2]){Ye.label=ft[2],Ye.ops.push(xt);break}ft[2]&&Ye.ops.pop(),Ye.trys.pop();continue}xt=Le.call(Be,Ye)}catch(yt){xt=[6,yt],nt=0}finally{tt=ft=0}if(xt[0]&5)throw xt[1];return{value:xt[0]?xt[1]:void 0,done:!0}}};Object.defineProperty(Stream$2,"__esModule",{value:!0}),Stream$2.Stream=void 0;var Filter_1=Filter$1,Subscriber_1=Subscriber$1,WebRtcPeer_1=WebRtcPeer$1,WebRtcStats_1=WebRtcStats$1,ExceptionEvent_1$1=ExceptionEvent,PublisherSpeakingEvent_1=PublisherSpeakingEvent$1,StreamManagerEvent_1=StreamManagerEvent$1,StreamPropertyChangedEvent_1$1=StreamPropertyChangedEvent$1,OpenViduError_1$1=OpenViduError,TypeOfVideo_1=TypeOfVideo,OpenViduLogger_1$3=OpenViduLogger$1,Platform_1$1=Platform,uuid_1=commonjsBrowser,hark=hark$1,EventEmitter$2=EventEmitterExports,logger$3=OpenViduLogger_1$3.OpenViduLogger.getInstance(),platform$3,Stream$1=function(){function Be(Le,Ye){var tt=this;this.isSubscribeToRemote=!1,this.isLocalStreamReadyToPublish=!1,this.isLocalStreamPublished=!1,this.publishedOnce=!1,this.harkSpeakingEnabled=!1,this.harkSpeakingEnabledOnce=!1,this.harkStoppedSpeakingEnabled=!1,this.harkStoppedSpeakingEnabledOnce=!1,this.harkVolumeChangeEnabled=!1,this.harkVolumeChangeEnabledOnce=!1,this.ee=new EventEmitter$2,platform$3=Platform_1$1.PlatformUtils.getInstance(),this.session=Le,Ye.hasOwnProperty("id")?(this.inboundStreamOpts=Ye,this.streamId=this.inboundStreamOpts.id,this.creationTime=this.inboundStreamOpts.createdAt,this.hasAudio=this.inboundStreamOpts.hasAudio,this.hasVideo=this.inboundStreamOpts.hasVideo,this.hasAudio&&(this.audioActive=this.inboundStreamOpts.audioActive),this.hasVideo&&(this.videoActive=this.inboundStreamOpts.videoActive,this.typeOfVideo=this.inboundStreamOpts.typeOfVideo?this.inboundStreamOpts.typeOfVideo:void 0,this.frameRate=this.inboundStreamOpts.frameRate===-1?void 0:this.inboundStreamOpts.frameRate,this.videoDimensions=this.inboundStreamOpts.videoDimensions),this.inboundStreamOpts.filter&&Object.keys(this.inboundStreamOpts.filter).length>0&&(this.inboundStreamOpts.filter.lastExecMethod&&Object.keys(this.inboundStreamOpts.filter.lastExecMethod).length===0&&delete this.inboundStreamOpts.filter.lastExecMethod,this.filter=this.inboundStreamOpts.filter)):(this.outboundStreamOpts=Ye,this.hasAudio=this.isSendAudio(),this.hasVideo=this.isSendVideo(),this.hasAudio&&(this.audioActive=!!this.outboundStreamOpts.publisherProperties.publishAudio),this.hasVideo&&(this.videoActive=!!this.outboundStreamOpts.publisherProperties.publishVideo,this.frameRate=this.outboundStreamOpts.publisherProperties.frameRate,typeof MediaStreamTrack<"u"&&this.outboundStreamOpts.publisherProperties.videoSource instanceof MediaStreamTrack?this.typeOfVideo=TypeOfVideo_1.TypeOfVideo.CUSTOM:this.typeOfVideo=this.isSendScreen()?TypeOfVideo_1.TypeOfVideo.SCREEN:TypeOfVideo_1.TypeOfVideo.CAMERA),this.outboundStreamOpts.publisherProperties.filter&&(this.filter=this.outboundStreamOpts.publisherProperties.filter)),this.ee.on("mediastream-updated",function(){var nt;tt.streamManager.updateMediaStream(tt.mediaStream),logger$3.debug("Video srcObject ["+((nt=tt.mediaStream)===null||nt===void 0?void 0:nt.id)+"] updated in stream ["+tt.streamId+"]")})}return Be.prototype.reconnect=function(){return this.reconnectStream("API")},Be.prototype.applyFilter=function(Le,Ye){var tt=this;return new Promise(function(nt,ft){return __awaiter$4(tt,void 0,void 0,function(){var ht,gt,At,xt,yt,Ct,Et=this;return __generator$3(this,function(vt){if(this.filter)return[2,ft(new OpenViduError_1$1.OpenViduError(OpenViduError_1$1.OpenViduErrorName.GENERIC_ERROR,"There is already a filter applied to Stream "+this.streamId))];if(ht=function(kt,bt){if(kt)return logger$3.error("Error applying filter for Stream "+Et.streamId,kt),kt.code===401?ft(new OpenViduError_1$1.OpenViduError(OpenViduError_1$1.OpenViduErrorName.OPENVIDU_PERMISSION_DENIED,"You don't have permissions to apply a filter")):ft(kt);logger$3.info("Filter successfully applied on Stream "+Et.streamId);var wt=Et.filter;return Et.filter=new Filter_1.Filter(Le,Ye),Et.filter.stream=Et,bt&&(Et.session.emitEvent("streamPropertyChanged",[new StreamPropertyChangedEvent_1$1.StreamPropertyChangedEvent(Et.session,Et,"filter",Et.filter,wt,"applyFilter")]),Et.streamManager.emitEvent("streamPropertyChanged",[new StreamPropertyChangedEvent_1$1.StreamPropertyChangedEvent(Et.streamManager,Et,"filter",Et.filter,wt,"applyFilter")])),nt(Et.filter)},Le.startsWith("VB:")){if(!this.hasVideo)return[2,ft(new OpenViduError_1$1.OpenViduError(OpenViduError_1$1.OpenViduErrorName.VIRTUAL_BACKGROUND_ERROR,"The Virtual Background filter requires a video track to be applied"))];if(!this.mediaStream||this.streamManager.videos.length===0)return[2,ft(new OpenViduError_1$1.OpenViduError(OpenViduError_1$1.OpenViduErrorName.VIRTUAL_BACKGROUND_ERROR,"The StreamManager requires some video element to be attached to it in order to apply a Virtual Background filter"))];if(this.session.token?gt=this.session.token:gt=Ye.token,!gt)return[2,ft(new OpenViduError_1$1.OpenViduError(OpenViduError_1$1.OpenViduErrorName.VIRTUAL_BACKGROUND_ERROR,'Virtual Background requires the client to be connected to a Session or to have a "token" property available in "options" parameter with a valid OpenVidu token'))];if(At=this.session.getTokenParams(gt),At.edition!=="pro"&&At.edition!=="enterprise")return[2,ft(new OpenViduError_1$1.OpenViduError(OpenViduError_1$1.OpenViduErrorName.VIRTUAL_BACKGROUND_ERROR,"OpenVidu Virtual Background API is available from OpenVidu Pro edition onwards"))];gt=encodeURIComponent(btoa(gt)),logger$3.info("Applying Virtual Background to stream "+this.streamId),xt=function(){return __awaiter$4(Et,void 0,void 0,function(){var kt,bt,wt,It,Rt,Tt,Bt;return __generator$3(this,function(Pt){switch(Pt.label){case 0:return Pt.trys.push([0,8,,9]),kt=this.streamId+"_"+(0,uuid_1.v4)(),bt=this.mediaStream.clone(),wt=this.streamManager.videos[0].video.cloneNode(!1),wt.id=VirtualBackground.VirtualBackground.SOURCE_VIDEO_PREFIX+kt,wt.srcObject=bt,wt.muted=!0,this.virtualBackgroundSourceElements={videoClone:wt,mediaStreamClone:bt},VirtualBackground.VirtualBackground.hideHtmlElement(wt,!1),VirtualBackground.VirtualBackground.appendHtmlElementToHiddenContainer(wt,kt),[4,wt.play()];case 1:switch(Pt.sent(),It=new VirtualBackground.VirtualBackground({id:kt,openviduServerUrl:new URL(At.httpUri),openviduToken:gt,inputVideo:wt,inputResolution:"160x96",outputFramerate:24}),Rt=void 0,Tt=Le,Tt){case"VB:blur":return[3,2];case"VB:image":return[3,4]}return[3,6];case 2:return[4,It.backgroundBlur(Ye)];case 3:return Rt=Pt.sent(),[3,7];case 4:return[4,It.backgroundImage(Ye)];case 5:return Rt=Pt.sent(),[3,7];case 6:throw new Error("Unknown Virtual Background filter: "+Le);case 7:return this.virtualBackgroundSinkElements={VB:It,video:Rt},wt.style.display="none",this.streamManager.remote?this.streamManager.replaceTrackInMediaStream(this.virtualBackgroundSinkElements.video.srcObject.getVideoTracks()[0],!1):this.streamManager.replaceTrackAux(this.virtualBackgroundSinkElements.video.srcObject.getVideoTracks()[0],!1),ht(void 0,!1),[3,9];case 8:return Bt=Pt.sent(),Bt.name===OpenViduError_1$1.OpenViduErrorName.VIRTUAL_BACKGROUND_ERROR?ht(new OpenViduError_1$1.OpenViduError(OpenViduError_1$1.OpenViduErrorName.VIRTUAL_BACKGROUND_ERROR,Bt.message),!1):ht(Bt,!1),[3,9];case 9:return[2]}})})},typeof VirtualBackground>"u"?(yt=document.createElement("script"),yt.type="text/javascript",yt.src=At.httpUri+"/openvidu/virtual-background/openvidu-virtual-background.js?token="+gt,yt.onload=function(){return __awaiter$4(Et,void 0,void 0,function(){var kt;return __generator$3(this,function(bt){switch(bt.label){case 0:return bt.trys.push([0,2,,3]),[4,xt()];case 1:return bt.sent(),nt(new Filter_1.Filter(Le,Ye)),[3,3];case 2:return kt=bt.sent(),ft(kt),[3,3];case 3:return[2]}})})},document.body.appendChild(yt)):xt().then(function(){return nt(new Filter_1.Filter(Le,Ye))}).catch(function(kt){return ft(kt)})}else{if(!this.session.sessionConnected())return[2,ft(this.session.notConnectedError())];logger$3.info("Applying server filter to stream "+this.streamId),Ye=Ye??{},Ct=Ye,typeof Ct!="string"&&(Ct=JSON.stringify(Ct)),this.session.openvidu.sendRequest("applyFilter",{streamId:this.streamId,type:Le,options:Ct},function(kt,bt){ht(kt,!0)})}return[2]})})})},Be.prototype.removeFilter=function(){return __awaiter$4(this,void 0,void 0,function(){return __generator$3(this,function(Le){switch(Le.label){case 0:return[4,this.removeFilterAux(!1)];case 1:return[2,Le.sent()]}})})},Be.prototype.getRTCPeerConnection=function(){return this.webRtcPeer.pc},Be.prototype.getMediaStream=function(){return this.mediaStream},Be.prototype.removeFilterAux=function(Le){var Ye=this;return new Promise(function(tt,nt){return __awaiter$4(Ye,void 0,void 0,function(){var ft,ht,gt,At=this,xt;return __generator$3(this,function(yt){switch(yt.label){case 0:if(ft=function(Ct,Et){if(Ct)return delete At.filter,logger$3.error("Error removing filter for Stream "+At.streamId,Ct),Ct.code===401?nt(new OpenViduError_1$1.OpenViduError(OpenViduError_1$1.OpenViduErrorName.OPENVIDU_PERMISSION_DENIED,"You don't have permissions to remove a filter")):nt(Ct);logger$3.info("Filter successfully removed from Stream "+At.streamId);var vt=At.filter;return delete At.filter,Et&&(At.session.emitEvent("streamPropertyChanged",[new StreamPropertyChangedEvent_1$1.StreamPropertyChangedEvent(At.session,At,"filter",At.filter,vt,"applyFilter")]),At.streamManager.emitEvent("streamPropertyChanged",[new StreamPropertyChangedEvent_1$1.StreamPropertyChangedEvent(At.streamManager,At,"filter",At.filter,vt,"applyFilter")])),tt()},!this.filter)return[3,11];if(!(!((xt=this.filter)===null||xt===void 0)&&xt.type.startsWith("VB:")))return[3,9];yt.label=1;case 1:return yt.trys.push([1,7,,8]),ht=this.virtualBackgroundSourceElements.mediaStreamClone,Le?[3,5]:this.streamManager.remote?(this.streamManager.replaceTrackInMediaStream(ht.getVideoTracks()[0],!1),[3,4]):[3,2];case 2:return[4,this.streamManager.replaceTrackAux(ht.getVideoTracks()[0],!1)];case 3:yt.sent(),yt.label=4;case 4:return[3,6];case 5:ht.getTracks().forEach(function(Ct){return Ct.stop()}),yt.label=6;case 6:return this.virtualBackgroundSinkElements.VB.cleanUp(),delete this.virtualBackgroundSinkElements,delete this.virtualBackgroundSourceElements,[2,ft(void 0,!1)];case 7:return gt=yt.sent(),[2,ft(gt,!1)];case 8:return[3,10];case 9:if(!this.session.sessionConnected())return[2,nt(this.session.notConnectedError())];logger$3.info("Removing filter of stream "+this.streamId),this.session.openvidu.sendRequest("removeFilter",{streamId:this.streamId},function(Ct,Et){return ft(Ct,!0)}),yt.label=10;case 10:return[3,12];case 11:return[2,nt(new OpenViduError_1$1.OpenViduError(OpenViduError_1$1.OpenViduErrorName.GENERIC_ERROR,"Stream "+this.streamId+" has no filter applied"))];case 12:return[2]}})})})},Be.prototype.setMediaStream=function(Le){this.mediaStream=Le},Be.prototype.updateMediaStreamInVideos=function(){this.ee.emitEvent("mediastream-updated",[])},Be.prototype.getWebRtcPeer=function(){return this.webRtcPeer},Be.prototype.subscribeToMyRemote=function(Le){this.isSubscribeToRemote=Le},Be.prototype.setOutboundStreamOptions=function(Le){this.outboundStreamOpts=Le},Be.prototype.subscribe=function(){var Le=this;return new Promise(function(Ye,tt){Le.initWebRtcPeerReceive(!1).then(function(){return Ye()}).catch(function(nt){return tt(nt)})})},Be.prototype.publish=function(){var Le=this;return new Promise(function(Ye,tt){Le.isLocalStreamReadyToPublish?Le.initWebRtcPeerSend(!1).then(function(){return Ye()}).catch(function(nt){return tt(nt)}):Le.ee.once("stream-ready-to-publish",function(){Le.publish().then(function(){return Ye()}).catch(function(nt){return tt(nt)})})})},Be.prototype.disposeWebRtcPeer=function(){var Le;this.webRtcPeer&&(this.webRtcPeer.dispose(),Le=this.webRtcPeer.getId()),this.stopWebRtcStats(),logger$3.info((this.outboundStreamOpts?"Outbound ":"Inbound ")+"RTCPeerConnection with id ["+Le+"] from 'Stream' with id ["+this.streamId+"] is now closed")},Be.prototype.disposeMediaStream=function(){return __awaiter$4(this,void 0,void 0,function(){var Le;return __generator$3(this,function(Ye){switch(Ye.label){case 0:if(!(this.filter&&this.filter.type.startsWith("VB:")))return[3,4];Ye.label=1;case 1:return Ye.trys.push([1,3,,4]),[4,this.removeFilterAux(!0)];case 2:return Ye.sent(),console.debug("Success removing Virtual Background filter for stream ".concat(this.streamId)),[3,4];case 3:return Le=Ye.sent(),console.error("Error removing Virtual Background filter for stream ".concat(this.streamId),Le),[3,4];case 4:return this.mediaStream&&(this.mediaStream.getAudioTracks().forEach(function(tt){tt.stop()}),this.mediaStream.getVideoTracks().forEach(function(tt){tt.stop()}),delete this.mediaStream),this.localMediaStreamWhenSubscribedToRemote&&(this.localMediaStreamWhenSubscribedToRemote.getAudioTracks().forEach(function(tt){tt.stop()}),this.localMediaStreamWhenSubscribedToRemote.getVideoTracks().forEach(function(tt){tt.stop()}),delete this.localMediaStreamWhenSubscribedToRemote),this.speechEvent&&(this.speechEvent.stop&&this.speechEvent.stop(),delete this.speechEvent),logger$3.info((this.outboundStreamOpts?"Local ":"Remote ")+"MediaStream from 'Stream' with id ["+this.streamId+"] is now disposed"),[2]}})})},Be.prototype.displayMyRemote=function(){return this.isSubscribeToRemote},Be.prototype.isSendAudio=function(){return!!this.outboundStreamOpts&&this.outboundStreamOpts.publisherProperties.audioSource!==null&&this.outboundStreamOpts.publisherProperties.audioSource!==!1},Be.prototype.isSendVideo=function(){return!!this.outboundStreamOpts&&this.outboundStreamOpts.publisherProperties.videoSource!==null&&this.outboundStreamOpts.publisherProperties.videoSource!==!1},Be.prototype.isSendScreen=function(){var Le=!1;if(typeof MediaStreamTrack<"u"&&this.outboundStreamOpts.publisherProperties.videoSource instanceof MediaStreamTrack){var Ye=this.outboundStreamOpts.publisherProperties.videoSource.getSettings();Ye.displaySurface&&(Le=["monitor","window","browser"].includes(Ye.displaySurface))}return!Le&&platform$3.isElectron()&&(Le=typeof this.outboundStreamOpts.publisherProperties.videoSource=="string"&&this.outboundStreamOpts.publisherProperties.videoSource.startsWith("screen:")),Le||(Le=this.outboundStreamOpts.publisherProperties.videoSource==="screen"),!!this.outboundStreamOpts&&Le},Be.prototype.enableHarkSpeakingEvent=function(){var Le=this;this.setHarkListenerIfNotExists(),!this.harkSpeakingEnabled&&this.speechEvent&&(this.harkSpeakingEnabled=!0,this.speechEvent.on("speaking",function(){Le.session.emitEvent("publisherStartSpeaking",[new PublisherSpeakingEvent_1.PublisherSpeakingEvent(Le.session,"publisherStartSpeaking",Le.connection,Le.streamId)]),Le.streamManager.emitEvent("publisherStartSpeaking",[new PublisherSpeakingEvent_1.PublisherSpeakingEvent(Le.streamManager,"publisherStartSpeaking",Le.connection,Le.streamId)]),Le.harkSpeakingEnabledOnce=!1}))},Be.prototype.enableOnceHarkSpeakingEvent=function(){var Le=this;this.setHarkListenerIfNotExists(),!this.harkSpeakingEnabledOnce&&this.speechEvent&&(this.harkSpeakingEnabledOnce=!0,this.speechEvent.once("speaking",function(){Le.harkSpeakingEnabledOnce&&(Le.session.emitEvent("publisherStartSpeaking",[new PublisherSpeakingEvent_1.PublisherSpeakingEvent(Le.session,"publisherStartSpeaking",Le.connection,Le.streamId)]),Le.streamManager.emitEvent("publisherStartSpeaking",[new PublisherSpeakingEvent_1.PublisherSpeakingEvent(Le.streamManager,"publisherStartSpeaking",Le.connection,Le.streamId)])),Le.disableHarkSpeakingEvent(!0)}))},Be.prototype.disableHarkSpeakingEvent=function(Le){if(this.speechEvent){if(this.harkSpeakingEnabledOnce=!1,Le){if(this.harkSpeakingEnabled)return}else this.harkSpeakingEnabled=!1;this.harkVolumeChangeEnabled||this.harkVolumeChangeEnabledOnce||this.harkStoppedSpeakingEnabled||this.harkStoppedSpeakingEnabledOnce?this.speechEvent.off("speaking"):(this.speechEvent.stop(),delete this.speechEvent)}},Be.prototype.enableHarkStoppedSpeakingEvent=function(){var Le=this;this.setHarkListenerIfNotExists(),!this.harkStoppedSpeakingEnabled&&this.speechEvent&&(this.harkStoppedSpeakingEnabled=!0,this.speechEvent.on("stopped_speaking",function(){Le.session.emitEvent("publisherStopSpeaking",[new PublisherSpeakingEvent_1.PublisherSpeakingEvent(Le.session,"publisherStopSpeaking",Le.connection,Le.streamId)]),Le.streamManager.emitEvent("publisherStopSpeaking",[new PublisherSpeakingEvent_1.PublisherSpeakingEvent(Le.streamManager,"publisherStopSpeaking",Le.connection,Le.streamId)]),Le.harkStoppedSpeakingEnabledOnce=!1}))},Be.prototype.enableOnceHarkStoppedSpeakingEvent=function(){var Le=this;this.setHarkListenerIfNotExists(),!this.harkStoppedSpeakingEnabledOnce&&this.speechEvent&&(this.harkStoppedSpeakingEnabledOnce=!0,this.speechEvent.once("stopped_speaking",function(){Le.harkStoppedSpeakingEnabledOnce&&(Le.session.emitEvent("publisherStopSpeaking",[new PublisherSpeakingEvent_1.PublisherSpeakingEvent(Le.session,"publisherStopSpeaking",Le.connection,Le.streamId)]),Le.streamManager.emitEvent("publisherStopSpeaking",[new PublisherSpeakingEvent_1.PublisherSpeakingEvent(Le.streamManager,"publisherStopSpeaking",Le.connection,Le.streamId)])),Le.disableHarkStoppedSpeakingEvent(!0)}))},Be.prototype.disableHarkStoppedSpeakingEvent=function(Le){if(this.speechEvent){if(this.harkStoppedSpeakingEnabledOnce=!1,Le){if(this.harkStoppedSpeakingEnabled)return}else this.harkStoppedSpeakingEnabled=!1;this.harkVolumeChangeEnabled||this.harkVolumeChangeEnabledOnce||this.harkSpeakingEnabled||this.harkSpeakingEnabledOnce?this.speechEvent.off("stopped_speaking"):(this.speechEvent.stop(),delete this.speechEvent)}},Be.prototype.enableHarkVolumeChangeEvent=function(Le){var Ye=this;this.setHarkListenerIfNotExists()?(!this.harkVolumeChangeEnabled||Le)&&(this.harkVolumeChangeEnabled=!0,this.speechEvent.on("volume_change",function(tt){var nt=Ye.speechEvent.oldVolumeValue,ft={newValue:tt,oldValue:nt};Ye.speechEvent.oldVolumeValue=tt,Ye.streamManager.emitEvent("streamAudioVolumeChange",[new StreamManagerEvent_1.StreamManagerEvent(Ye.streamManager,"streamAudioVolumeChange",ft)])})):this.harkVolumeChangeEnabled=!0},Be.prototype.enableOnceHarkVolumeChangeEvent=function(Le){var Ye=this;this.setHarkListenerIfNotExists()?(!this.harkVolumeChangeEnabledOnce||Le)&&(this.harkVolumeChangeEnabledOnce=!0,this.speechEvent.once("volume_change",function(tt){var nt=Ye.speechEvent.oldVolumeValue,ft={newValue:tt,oldValue:nt};Ye.speechEvent.oldVolumeValue=tt,Ye.disableHarkVolumeChangeEvent(!0),Ye.streamManager.emitEvent("streamAudioVolumeChange",[new StreamManagerEvent_1.StreamManagerEvent(Ye.streamManager,"streamAudioVolumeChange",ft)])})):this.harkVolumeChangeEnabledOnce=!0},Be.prototype.disableHarkVolumeChangeEvent=function(Le){if(this.speechEvent){if(this.harkVolumeChangeEnabledOnce=!1,Le){if(this.harkVolumeChangeEnabled)return}else this.harkVolumeChangeEnabled=!1;this.harkSpeakingEnabled||this.harkSpeakingEnabledOnce||this.harkStoppedSpeakingEnabled||this.harkStoppedSpeakingEnabledOnce?this.speechEvent.off("volume_change"):(this.speechEvent.stop(),delete this.speechEvent)}},Be.prototype.isLocal=function(){return!this.inboundStreamOpts&&!!this.outboundStreamOpts},Be.prototype.getSelectedIceCandidate=function(){var Le=this;return new Promise(function(Ye,tt){Le.webRtcStats.getSelectedIceCandidateInfo().then(function(nt){return Ye(nt)}).catch(function(nt){return tt(nt)})})},Be.prototype.getRemoteIceCandidateList=function(){return this.webRtcPeer.remoteCandidatesQueue},Be.prototype.getLocalIceCandidateList=function(){return this.webRtcPeer.localCandidatesQueue},Be.prototype.streamIceConnectionStateBroken=function(){if(!this.getWebRtcPeer()||!this.getRTCPeerConnection())return!1;if(this.session.openvidu.advancedConfiguration.forceMediaReconnectionAfterNetworkDrop)return logger$3.warn('OpenVidu Browser advanced configuration option "forceMediaReconnectionAfterNetworkDrop" is enabled. Stream '.concat(this.streamId," (").concat(this.isLocal()?"Publisher":"Subscriber",") will force a reconnection")),!0;var Le=this.getRTCPeerConnection().iceConnectionState;return Le!=="connected"&&Le!=="completed"},Be.prototype.setHarkListenerIfNotExists=function(){if(this.mediaStream){if(!this.speechEvent){var Le=this.harkOptions?this.harkOptions:this.session.openvidu.advancedConfiguration.publisherSpeakingEventsOptions||{};Le.interval=typeof Le.interval=="number"?Le.interval:100,Le.threshold=typeof Le.threshold=="number"?Le.threshold:-50,this.speechEvent=hark(this.mediaStream,Le)}return!0}return!1},Be.prototype.setupReconnectionEventEmitter=function(Le,Ye){return this.reconnectionEventEmitter==null?(this.reconnectionEventEmitter=new EventEmitter$2,!1):(console.warn("Trying to reconnect stream ".concat(this.streamId," (").concat(this.isLocal()?"Publisher":"Subscriber",") but an ongoing reconnection process is active. Waiting for response...")),this.reconnectionEventEmitter.once("success",function(){return Le()}),this.reconnectionEventEmitter.once("error",function(tt){return Ye(tt)}),!0)},Be.prototype.initWebRtcPeerSend=function(Le){var Ye=this;return new Promise(function(tt,nt){var ft;if(Le){if(Ye.setupReconnectionEventEmitter(tt,nt))return}else Ye.initHarkEvents();var ht=function(){var yt;return Le&&((yt=Ye.reconnectionEventEmitter)===null||yt===void 0||yt.emitEvent("success"),delete Ye.reconnectionEventEmitter),tt()},gt=function(yt){var Ct;return Le&&((Ct=Ye.reconnectionEventEmitter)===null||Ct===void 0||Ct.emitEvent("error",[yt]),delete Ye.reconnectionEventEmitter),nt(yt)},At=function(yt){logger$3.debug("Sending SDP offer to publish as "+Ye.streamId,yt);var Ct=Le?"reconnectStream":"publishVideo",Et;if(Le)Et={stream:Ye.streamId,sdpString:yt};else{var vt=void 0;Ye.isSendVideo()&&(vt=typeof MediaStreamTrack<"u"&&Ye.outboundStreamOpts.publisherProperties.videoSource instanceof MediaStreamTrack?TypeOfVideo_1.TypeOfVideo.CUSTOM:Ye.isSendScreen()?TypeOfVideo_1.TypeOfVideo.SCREEN:TypeOfVideo_1.TypeOfVideo.CAMERA),Et={doLoopback:Ye.displayMyRemote()||!1,hasAudio:Ye.isSendAudio(),hasVideo:Ye.isSendVideo(),audioActive:Ye.audioActive,videoActive:Ye.videoActive,typeOfVideo:vt,frameRate:Ye.frameRate?Ye.frameRate:-1,videoDimensions:JSON.stringify(Ye.videoDimensions),filter:Ye.outboundStreamOpts.publisherProperties.filter,sdpOffer:yt}}Ye.session.openvidu.sendRequest(Ct,Et,function(kt,bt){kt?kt.code===401?gt(new OpenViduError_1$1.OpenViduError(OpenViduError_1$1.OpenViduErrorName.OPENVIDU_PERMISSION_DENIED,"You don't have permissions to publish")):gt("Error on publishVideo: "+JSON.stringify(kt)):Ye.webRtcPeer.processRemoteAnswer(bt.sdpAnswer).then(function(){Ye.streamId=bt.id,Ye.creationTime=bt.createdAt,Ye.isLocalStreamPublished=!0,Ye.publishedOnce=!0,Ye.displayMyRemote()&&(Ye.localMediaStreamWhenSubscribedToRemote=Ye.mediaStream,Ye.remotePeerSuccessfullyEstablished(Le)),Le?Ye.ee.emitEvent("stream-reconnected-by-publisher",[]):Ye.ee.emitEvent("stream-created-by-publisher",[]),Ye.initWebRtcStats(),logger$3.info("'Publisher' ("+Ye.streamId+") successfully "+(Le?"reconnected":"published")+" to session"),ht()}).catch(function(wt){gt(wt)})})},xt={mediaConstraints:{audio:Ye.hasAudio,video:Ye.hasVideo},simulcast:(ft=Ye.outboundStreamOpts.publisherProperties.videoSimulcast)!==null&&ft!==void 0?ft:Ye.session.openvidu.videoSimulcast,onIceCandidate:Ye.connection.sendIceCandidate.bind(Ye.connection),onIceConnectionStateException:Ye.onIceConnectionStateExceptionHandler.bind(Ye),iceServers:Ye.getIceServersConf(),rtcConfiguration:Ye.session.openvidu.advancedConfiguration.rtcConfiguration,mediaStream:Ye.mediaStream,mediaServer:Ye.session.openvidu.mediaServer,typeOfVideo:Ye.typeOfVideo?TypeOfVideo_1.TypeOfVideo[Ye.typeOfVideo]:void 0};Ye.session.openvidu.mediaServer!=="mediasoup"&&(xt.simulcast=!1),Le&&Ye.disposeWebRtcPeer(),Ye.displayMyRemote()?Ye.webRtcPeer=new WebRtcPeer_1.WebRtcPeerSendrecv(xt):Ye.webRtcPeer=new WebRtcPeer_1.WebRtcPeerSendonly(xt),Ye.webRtcPeer.addIceConnectionStateChangeListener("publisher of "+Ye.connection.connectionId),Ye.webRtcPeer.createOffer().then(function(yt){Ye.webRtcPeer.processLocalOffer(yt).then(function(){At(yt.sdp)}).catch(function(Ct){gt(new Error("(publish) SDP process local offer error: "+JSON.stringify(Ct)))})}).catch(function(yt){gt(new Error("(publish) SDP create offer error: "+JSON.stringify(yt)))})})},Be.prototype.finalResolveForSubscription=function(Le,Ye){var tt;return logger$3.info("'Subscriber' ("+this.streamId+") successfully "+(Le?"reconnected":"subscribed")),this.remotePeerSuccessfullyEstablished(Le),this.initWebRtcStats(),Le&&((tt=this.reconnectionEventEmitter)===null||tt===void 0||tt.emitEvent("success"),delete this.reconnectionEventEmitter),Ye()},Be.prototype.finalRejectForSubscription=function(Le,Ye,tt){var nt;return logger$3.error("Error for 'Subscriber' ("+this.streamId+") while trying to "+(Le?"reconnect":"subscribe")+": "+Ye.toString()),Le&&((nt=this.reconnectionEventEmitter)===null||nt===void 0||nt.emitEvent("error",[Ye]),delete this.reconnectionEventEmitter),tt(Ye)},Be.prototype.initWebRtcPeerReceive=function(Le){var Ye=this;return new Promise(function(tt,nt){Le&&Ye.setupReconnectionEventEmitter(tt,nt)||(Ye.session.openvidu.mediaServer==="mediasoup"?Ye.initWebRtcPeerReceiveFromServer(Le).then(function(){return Ye.finalResolveForSubscription(Le,tt)}).catch(function(ft){return Ye.finalRejectForSubscription(Le,ft,nt)}):Ye.initWebRtcPeerReceiveFromClient(Le).then(function(){return Ye.finalResolveForSubscription(Le,tt)}).catch(function(ft){return Ye.finalRejectForSubscription(Le,ft,nt)}))})},Be.prototype.initWebRtcPeerReceiveFromClient=function(Le){var Ye=this;return new Promise(function(tt,nt){Ye.completeWebRtcPeerReceive(Le,!1).then(function(ft){Ye.webRtcPeer.processRemoteAnswer(ft.sdpAnswer).then(function(){return tt()}).catch(function(ht){return nt(ht)})}).catch(function(ft){return nt(ft)})})},Be.prototype.initWebRtcPeerReceiveFromServer=function(Le){var Ye=this;return new Promise(function(tt,nt){Ye.session.openvidu.sendRequest("prepareReceiveVideoFrom",{sender:Ye.streamId,reconnect:Le},function(ft,ht){if(ft)return nt(new Error("Error on prepareReceiveVideoFrom: "+JSON.stringify(ft)));Ye.completeWebRtcPeerReceive(Le,!1,ht.sdpOffer).then(function(){return tt()}).catch(function(gt){return nt(gt)})})})},Be.prototype.completeWebRtcPeerReceive=function(Le,Ye,tt){var nt=this;return new Promise(function(ft,ht){logger$3.debug("'Session.subscribe(Stream)' called");var gt=function(xt){logger$3.debug("Sending local SDP ".concat(tt?"answer":"offer"," to subscribe to ").concat(nt.streamId),xt);var yt=Le?"reconnectStream":"receiveVideoFrom",Ct={};Ct[Le?"stream":"sender"]=nt.streamId,tt?Ct[Le?"sdpString":"sdpAnswer"]=xt:Ct.sdpOffer=xt,Le&&(Ct.forciblyReconnect=Ye),nt.session.openvidu.sendRequest(yt,Ct,function(Et,vt){return Et?ht(new Error("Error on "+yt+" : "+JSON.stringify(Et))):ft(vt)})},At={mediaConstraints:{audio:nt.hasAudio,video:nt.hasVideo},simulcast:!1,onIceCandidate:nt.connection.sendIceCandidate.bind(nt.connection),onIceConnectionStateException:nt.onIceConnectionStateExceptionHandler.bind(nt),iceServers:nt.getIceServersConf(),rtcConfiguration:nt.session.openvidu.advancedConfiguration.rtcConfiguration,mediaServer:nt.session.openvidu.mediaServer,typeOfVideo:nt.typeOfVideo?TypeOfVideo_1.TypeOfVideo[nt.typeOfVideo]:void 0};Le&&nt.disposeWebRtcPeer(),nt.webRtcPeer=new WebRtcPeer_1.WebRtcPeerRecvonly(At),nt.webRtcPeer.addIceConnectionStateChangeListener(nt.streamId),tt?nt.webRtcPeer.processRemoteOffer(tt).then(function(){nt.webRtcPeer.createAnswer().then(function(xt){nt.webRtcPeer.processLocalAnswer(xt).then(function(){gt(xt.sdp)}).catch(function(yt){return ht(new Error("(subscribe) SDP process local answer error: "+JSON.stringify(yt)))})}).catch(function(xt){return ht(new Error("(subscribe) SDP create answer error: "+JSON.stringify(xt)))})}).catch(function(xt){return ht(new Error("(subscribe) SDP process remote offer error: "+JSON.stringify(xt)))}):nt.webRtcPeer.createOffer().then(function(xt){nt.webRtcPeer.processLocalOffer(xt).then(function(){gt(xt.sdp)}).catch(function(yt){return ht(new Error("(subscribe) SDP process local offer error: "+JSON.stringify(yt)))})}).catch(function(xt){return ht(new Error("(subscribe) SDP create offer error: "+JSON.stringify(xt)))})})},Be.prototype.remotePeerSuccessfullyEstablished=function(Le){Le&&this.mediaStream!=null&&this.disposeMediaStream(),this.mediaStream=new MediaStream;for(var Ye,tt=0,nt=this.webRtcPeer.pc.getReceivers();tt<nt.length;tt++)Ye=nt[tt],Ye.track&&this.mediaStream.addTrack(Ye.track);if(logger$3.debug("Peer remote stream",this.mediaStream),this.mediaStream){if(this.streamManager instanceof Subscriber_1.Subscriber){if(this.mediaStream.getAudioTracks()[0]){var ft=Le?this.audioActive:!!this.streamManager.properties.subscribeToAudio;this.mediaStream.getAudioTracks()[0].enabled=ft}if(this.mediaStream.getVideoTracks()[0]){var ft=Le?this.videoActive:!!this.videoActive&&!!this.streamManager.properties.subscribeToVideo;this.mediaStream.getVideoTracks()[0].enabled=ft}}this.updateMediaStreamInVideos(),this.initHarkEvents()}},Be.prototype.initHarkEvents=function(){this.mediaStream.getAudioTracks()[0]&&(this.session.anySpeechEventListenerEnabled("publisherStartSpeaking",!0,this.streamManager)&&this.enableOnceHarkSpeakingEvent(),this.session.anySpeechEventListenerEnabled("publisherStartSpeaking",!1,this.streamManager)&&this.enableHarkSpeakingEvent(),this.session.anySpeechEventListenerEnabled("publisherStopSpeaking",!0,this.streamManager)&&this.enableOnceHarkStoppedSpeakingEvent(),this.session.anySpeechEventListenerEnabled("publisherStopSpeaking",!1,this.streamManager)&&this.enableHarkStoppedSpeakingEvent(),this.harkVolumeChangeEnabledOnce&&this.enableOnceHarkVolumeChangeEvent(!0),this.harkVolumeChangeEnabled&&this.enableHarkVolumeChangeEvent(!0))},Be.prototype.onIceConnectionStateExceptionHandler=function(Le,Ye,tt){switch(Le){case ExceptionEvent_1$1.ExceptionEventName.ICE_CONNECTION_FAILED:this.onIceConnectionFailed();break;case ExceptionEvent_1$1.ExceptionEventName.ICE_CONNECTION_DISCONNECTED:this.onIceConnectionDisconnected();break}this.session.emitEvent("exception",[new ExceptionEvent_1$1.ExceptionEvent(this.session,Le,this,Ye,tt)])},Be.prototype.onIceConnectionFailed=function(){logger$3.log("[ICE_CONNECTION_FAILED] Handling ICE_CONNECTION_FAILED event. Reconnecting stream ".concat(this.streamId," (").concat(this.isLocal()?"Publisher":"Subscriber",")")),this.reconnectStreamAndLogResultingIceConnectionState(ExceptionEvent_1$1.ExceptionEventName.ICE_CONNECTION_FAILED)},Be.prototype.onIceConnectionDisconnected=function(){var Le=this;logger$3.log("[ICE_CONNECTION_DISCONNECTED] Handling ICE_CONNECTION_DISCONNECTED event. Waiting for ICE to be restored and reconnect stream ".concat(this.streamId," (").concat(this.isLocal()?"Publisher":"Subscriber",") if not possible"));var Ye=this.session.openvidu.advancedConfiguration.iceConnectionDisconnectedExceptionTimeout||4e3;this.awaitWebRtcPeerConnectionState(Ye).then(function(tt){switch(tt){case"failed":logger$3.warn("[ICE_CONNECTION_DISCONNECTED] ICE connection of stream ".concat(Le.streamId," (").concat(Le.isLocal()?"Publisher":"Subscriber",") is now failed after ICE_CONNECTION_DISCONNECTED"));break;case"connected":case"completed":logger$3.log("[ICE_CONNECTION_DISCONNECTED] ICE connection of stream ".concat(Le.streamId," (").concat(Le.isLocal()?"Publisher":"Subscriber",") automatically restored after ICE_CONNECTION_DISCONNECTED. Current ICE connection state: ").concat(tt));break;case"closed":case"checking":case"new":case"disconnected":logger$3.warn("[ICE_CONNECTION_DISCONNECTED] ICE connection of stream ".concat(Le.streamId," (").concat(Le.isLocal()?"Publisher":"Subscriber",") couldn't be restored after ICE_CONNECTION_DISCONNECTED event. Current ICE connection state after ").concat(Ye," ms: ").concat(tt)),Le.reconnectStreamAndLogResultingIceConnectionState(ExceptionEvent_1$1.ExceptionEventName.ICE_CONNECTION_DISCONNECTED);break}})},Be.prototype.reconnectStreamAndLogResultingIceConnectionState=function(Le){return __awaiter$4(this,void 0,void 0,function(){var Ye,tt;return __generator$3(this,function(nt){switch(nt.label){case 0:return nt.trys.push([0,2,,3]),[4,this.reconnectStreamAndReturnIceConnectionState(Le)];case 1:switch(Ye=nt.sent(),Ye){case"connected":case"completed":logger$3.log("[".concat(Le,"] Stream ").concat(this.streamId," (").concat(this.isLocal()?"Publisher":"Subscriber",") successfully reconnected after ").concat(Le,". Current ICE connection state: ").concat(Ye));break;default:logger$3.error("[".concat(Le,"] Stream ").concat(this.streamId," (").concat(this.isLocal()?"Publisher":"Subscriber",") failed to reconnect after ").concat(Le,". Current ICE connection state: ").concat(Ye));break}return[3,3];case 2:return tt=nt.sent(),logger$3.error("[".concat(Le,"] Error reconnecting stream ").concat(this.streamId," (").concat(this.isLocal()?"Publisher":"Subscriber",") after ").concat(Le,": ").concat(tt)),[3,3];case 3:return[2]}})})},Be.prototype.reconnectStreamAndReturnIceConnectionState=function(Le){return __awaiter$4(this,void 0,void 0,function(){var Ye,tt;return __generator$3(this,function(nt){switch(nt.label){case 0:logger$3.log("[".concat(Le,"] Reconnecting stream ").concat(this.streamId," (").concat(this.isLocal()?"Publisher":"Subscriber",") after event ").concat(Le)),nt.label=1;case 1:return nt.trys.push([1,3,,4]),[4,this.reconnectStream(Le)];case 2:return nt.sent(),Ye=this.session.openvidu.advancedConfiguration.iceConnectionDisconnectedExceptionTimeout||4e3,[2,this.awaitWebRtcPeerConnectionState(Ye)];case 3:return tt=nt.sent(),logger$3.warn("[".concat(Le,"] Error reconnecting stream ").concat(this.streamId," (").concat(this.isLocal()?"Publisher":"Subscriber","). Reason: ").concat(tt)),[2,this.awaitWebRtcPeerConnectionState(1)];case 4:return[2]}})})},Be.prototype.awaitWebRtcPeerConnectionState=function(Le){return __awaiter$4(this,void 0,void 0,function(){var Ye,tt,nt,ft;return __generator$3(this,function(ht){switch(ht.label){case 0:Ye=this.getRTCPeerConnection().iceConnectionState,tt=150,nt=Math.ceil(Le/tt),ft=0,ht.label=1;case 1:return ft<nt?(Ye=this.getRTCPeerConnection().iceConnectionState,Ye==="connected"||Ye==="completed"?[3,4]:[4,new Promise(function(gt){return setTimeout(gt,tt)})]):[3,4];case 2:ht.sent(),ht.label=3;case 3:return ft++,[3,1];case 4:return[2,Ye]}})})},Be.prototype.reconnectStream=function(Le){return __awaiter$4(this,void 0,void 0,function(){var Ye,tt;return __generator$3(this,function(nt){switch(nt.label){case 0:return[4,this.isWebsocketConnected(Le,3e3)];case 1:if(Ye=nt.sent(),Ye)return logger$3.log("[".concat(Le,"] Trying to reconnect stream ").concat(this.streamId," (").concat(this.isLocal()?"Publisher":"Subscriber",") and the websocket is opened")),this.isLocal()?[2,this.initWebRtcPeerSend(!0)]:[2,this.initWebRtcPeerReceive(!0)];throw tt="[".concat(Le,"] Trying to reconnect stream ").concat(this.streamId," (").concat(this.isLocal()?"Publisher":"Subscriber",") but the websocket wasn't opened"),logger$3.error(tt),Error(tt)}})})},Be.prototype.isWebsocketConnected=function(Le,Ye){var tt=this;return new Promise(function(nt,ft){var ht=tt.session.openvidu.getWsReadyState();if(ht===1){var gt=setTimeout(function(){return console.warn("[".concat(Le,"] Websocket timeout of ").concat(Ye,"ms")),nt(!1)},Ye);tt.session.openvidu.sendRequest("echo",{},function(At,xt){return clearTimeout(gt),At?(console.warn("[".concat(Le,"] Websocket 'echo' returned error: ").concat(At)),nt(!1)):nt(!0)})}else return console.warn("[".concat(Le,"] Websocket readyState is ").concat(ht)),nt(!1)})},Be.prototype.initWebRtcStats=function(){this.webRtcStats=new WebRtcStats_1.WebRtcStats(this),this.webRtcStats.initWebRtcStats()},Be.prototype.stopWebRtcStats=function(){this.webRtcStats&&this.webRtcStats.isEnabled()&&this.webRtcStats.stopWebRtcStats()},Be.prototype.getIceServersConf=function(){var Le,Ye;return this.session.openvidu.advancedConfiguration.iceServers?Ye=this.session.openvidu.advancedConfiguration.iceServers==="freeice"?void 0:this.session.openvidu.advancedConfiguration.iceServers:!((Le=this.session.openvidu.advancedConfiguration.rtcConfiguration)===null||Le===void 0)&&Le.iceServers?Ye=this.session.openvidu.advancedConfiguration.rtcConfiguration.iceServers:this.session.openvidu.iceServers?Ye=this.session.openvidu.iceServers:Ye=void 0,Ye},Be.prototype.gatherStatsForPeer=function(){var Le=this;return new Promise(function(Ye,tt){Le.isLocal()?Le.getRTCPeerConnection().getSenders().forEach(function(nt){return nt.getStats().then(function(ft){ft.forEach(function(ht){if(Le.isReportWanted(ht)){var gt={};gt.type=ht.type,gt.timestamp=ht.timestamp,gt.id=ht.id,ht.type==="outbound-rtp"&&(gt.ssrc=ht.ssrc,gt.firCount=ht.firCount,gt.pliCount=ht.pliCount,gt.nackCount=ht.nackCount,gt.qpSum=ht.qpSum,ht.kind?gt.mediaType=ht.kind:ht.mediaType?gt.mediaType=ht.mediaType:gt.mediaType=ht.id.indexOf("VideoStream")!==-1?"video":"audio",gt.mediaType==="video"&&(gt.framesEncoded=ht.framesEncoded),gt.packetsSent=ht.packetsSent,gt.bytesSent=ht.bytesSent),ht.type==="candidate-pair"&&ht.totalRoundTripTime!==void 0&&(gt.availableOutgoingBitrate=ht.availableOutgoingBitrate,gt.rtt=ht.currentRoundTripTime,gt.averageRtt=ht.totalRoundTripTime/ht.responsesReceived),ht.type==="remote-inbound-rtp"||ht.type,logger$3.log(gt)}})})}):Le.getRTCPeerConnection().getReceivers().forEach(function(nt){return nt.getStats().then(function(ft){ft.forEach(function(ht){if(Le.isReportWanted(ht)){var gt={};gt.type=ht.type,gt.timestamp=ht.timestamp,gt.id=ht.id,ht.type==="inbound-rtp"&&(gt.ssrc=ht.ssrc,gt.firCount=ht.firCount,gt.pliCount=ht.pliCount,gt.nackCount=ht.nackCount,gt.qpSum=ht.qpSum,ht.kind?gt.mediaType=ht.kind:ht.mediaType?gt.mediaType=ht.mediaType:gt.mediaType=ht.id.indexOf("VideoStream")!==-1?"video":"audio",gt.mediaType==="video"&&(gt.framesDecoded=ht.framesDecoded),gt.packetsReceived=ht.packetsReceived,gt.packetsLost=ht.packetsLost,gt.jitter=ht.jitter,gt.bytesReceived=ht.bytesReceived),ht.type==="candidate-pair"&&ht.totalRoundTripTime!==void 0&&(gt.availableIncomingBitrate=ht.availableIncomingBitrate,gt.rtt=ht.currentRoundTripTime,gt.averageRtt=ht.totalRoundTripTime/ht.responsesReceived),ht.type==="remote-inbound-rtp"||ht.type,logger$3.log(gt)}})})})})},Be.prototype.isReportWanted=function(Le){return Le.type==="inbound-rtp"&&!this.isLocal()||Le.type==="outbound-rtp"&&this.isLocal()||Le.type==="candidate-pair"&&Le.nominated&&Le.bytesSent>0},Be}();Stream$2.Stream=Stream$1,Object.defineProperty(Connection$1,"__esModule",{value:!0}),Connection$1.Connection=void 0;var Stream_1=Stream$2,OpenViduLogger_1$2=OpenViduLogger$1,ExceptionEvent_1=ExceptionEvent,logger$2=OpenViduLogger_1$2.OpenViduLogger.getInstance(),Connection=function(){function Be(Le,Ye){this.session=Le,this.disposed=!1;var tt="'Connection' created ";Ye.role?(this.localOptions=Ye,this.connectionId=this.localOptions.id,this.creationTime=this.localOptions.createdAt,this.data=this.localOptions.metadata,this.rpcSessionId=this.localOptions.sessionId,this.role=this.localOptions.role,this.record=this.localOptions.record,tt+="(local)"):(this.remoteOptions=Ye,this.connectionId=this.remoteOptions.id,this.creationTime=this.remoteOptions.createdAt,this.remoteOptions.metadata&&(this.data=this.remoteOptions.metadata),this.remoteOptions.streams&&this.initRemoteStreams(this.remoteOptions.streams),tt+="(remote) with 'connectionId' ["+this.remoteOptions.id+"]"),logger$2.info(tt)}return Be.prototype.sendIceCandidate=function(Le){var Ye=this;this.disposed?logger$2.warn("Connection ".concat(this.connectionId," disposed when trying to send an ICE candidate. ICE candidate not sent")):(logger$2.debug((this.stream.outboundStreamOpts?"Local":"Remote")+"candidate for"+this.connectionId,Le),this.session.openvidu.sendRequest("onIceCandidate",{endpointName:this.connectionId,candidate:Le.candidate,sdpMid:Le.sdpMid,sdpMLineIndex:Le.sdpMLineIndex},function(tt,nt){tt&&(logger$2.error("Error sending ICE candidate: "+JSON.stringify(tt)),Ye.session.emitEvent("exception",[new ExceptionEvent_1.ExceptionEvent(Ye.session,ExceptionEvent_1.ExceptionEventName.ICE_CANDIDATE_ERROR,Ye.session,"There was an unexpected error on the server-side processing an ICE candidate generated and sent by the client-side",tt)]))}))},Be.prototype.initRemoteStreams=function(Le){var Ye=this;Le.forEach(function(tt){var nt={id:tt.id,createdAt:tt.createdAt,connection:Ye,hasAudio:tt.hasAudio,hasVideo:tt.hasVideo,audioActive:tt.audioActive,videoActive:tt.videoActive,typeOfVideo:tt.typeOfVideo,frameRate:tt.frameRate,videoDimensions:tt.videoDimensions?JSON.parse(tt.videoDimensions):void 0,filter:tt.filter?tt.filter:void 0},ft=new Stream_1.Stream(Ye.session,nt);Ye.addStream(ft)}),logger$2.info("Remote 'Connection' with 'connectionId' ["+this.connectionId+"] is now configured for receiving Streams with options: ",this.stream.inboundStreamOpts)},Be.prototype.addStream=function(Le){Le.connection=this,this.stream=Le},Be.prototype.removeStream=function(){delete this.stream},Be.prototype.dispose=function(){this.disposed=!0,this.removeStream()},Be}();Connection$1.Connection=Connection;var ConnectionEvent$1={},__extends$1i=commonjsGlobal&&commonjsGlobal.__extends||function(){var Be=function(Le,Ye){return Be=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(tt,nt){tt.__proto__=nt}||function(tt,nt){for(var ft in nt)Object.prototype.hasOwnProperty.call(nt,ft)&&(tt[ft]=nt[ft])},Be(Le,Ye)};return function(Le,Ye){if(typeof Ye!="function"&&Ye!==null)throw new TypeError("Class extends value "+String(Ye)+" is not a constructor or null");Be(Le,Ye);function tt(){this.constructor=Le}Le.prototype=Ye===null?Object.create(Ye):(tt.prototype=Ye.prototype,new tt)}}();Object.defineProperty(ConnectionEvent$1,"__esModule",{value:!0}),ConnectionEvent$1.ConnectionEvent=void 0;var Event_1$7=Event$2,ConnectionEvent=function(Be){__extends$1i(Le,Be);function Le(Ye,tt,nt,ft,ht){var gt=Be.call(this,Ye,tt,nt)||this;return gt.connection=ft,gt.reason=ht,gt}return Le.prototype.callDefaultBehavior=function(){},Le}(Event_1$7.Event);ConnectionEvent$1.ConnectionEvent=ConnectionEvent;var FilterEvent$1={},__extends$1h=commonjsGlobal&&commonjsGlobal.__extends||function(){var Be=function(Le,Ye){return Be=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(tt,nt){tt.__proto__=nt}||function(tt,nt){for(var ft in nt)Object.prototype.hasOwnProperty.call(nt,ft)&&(tt[ft]=nt[ft])},Be(Le,Ye)};return function(Le,Ye){if(typeof Ye!="function"&&Ye!==null)throw new TypeError("Class extends value "+String(Ye)+" is not a constructor or null");Be(Le,Ye);function tt(){this.constructor=Le}Le.prototype=Ye===null?Object.create(Ye):(tt.prototype=Ye.prototype,new tt)}}();Object.defineProperty(FilterEvent$1,"__esModule",{value:!0}),FilterEvent$1.FilterEvent=void 0;var Event_1$6=Event$2,FilterEvent=function(Be){__extends$1h(Le,Be);function Le(Ye,tt,nt){var ft=Be.call(this,!1,Ye,tt)||this;return ft.data=nt,ft}return Le.prototype.callDefaultBehavior=function(){},Le}(Event_1$6.Event);FilterEvent$1.FilterEvent=FilterEvent;var RecordingEvent$1={},__extends$1g=commonjsGlobal&&commonjsGlobal.__extends||function(){var Be=function(Le,Ye){return Be=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(tt,nt){tt.__proto__=nt}||function(tt,nt){for(var ft in nt)Object.prototype.hasOwnProperty.call(nt,ft)&&(tt[ft]=nt[ft])},Be(Le,Ye)};return function(Le,Ye){if(typeof Ye!="function"&&Ye!==null)throw new TypeError("Class extends value "+String(Ye)+" is not a constructor or null");Be(Le,Ye);function tt(){this.constructor=Le}Le.prototype=Ye===null?Object.create(Ye):(tt.prototype=Ye.prototype,new tt)}}();Object.defineProperty(RecordingEvent$1,"__esModule",{value:!0}),RecordingEvent$1.RecordingEvent=void 0;var Event_1$5=Event$2,RecordingEvent=function(Be){__extends$1g(Le,Be);function Le(Ye,tt,nt,ft,ht){var gt=Be.call(this,!1,Ye,tt)||this;return gt.id=nt,ft!==nt&&(gt.name=ft),gt.reason=ht,gt}return Le.prototype.callDefaultBehavior=function(){},Le}(Event_1$5.Event);RecordingEvent$1.RecordingEvent=RecordingEvent;var SessionDisconnectedEvent$1={},__extends$1f=commonjsGlobal&&commonjsGlobal.__extends||function(){var Be=function(Le,Ye){return Be=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(tt,nt){tt.__proto__=nt}||function(tt,nt){for(var ft in nt)Object.prototype.hasOwnProperty.call(nt,ft)&&(tt[ft]=nt[ft])},Be(Le,Ye)};return function(Le,Ye){if(typeof Ye!="function"&&Ye!==null)throw new TypeError("Class extends value "+String(Ye)+" is not a constructor or null");Be(Le,Ye);function tt(){this.constructor=Le}Le.prototype=Ye===null?Object.create(Ye):(tt.prototype=Ye.prototype,new tt)}}();Object.defineProperty(SessionDisconnectedEvent$1,"__esModule",{value:!0}),SessionDisconnectedEvent$1.SessionDisconnectedEvent=void 0;var Event_1$4=Event$2,OpenViduLogger_1$1=OpenViduLogger$1,logger$1=OpenViduLogger_1$1.OpenViduLogger.getInstance(),SessionDisconnectedEvent=function(Be){__extends$1f(Le,Be);function Le(Ye,tt){var nt=Be.call(this,!0,Ye,"sessionDisconnected")||this;return nt.reason=tt,nt}return Le.prototype.callDefaultBehavior=function(){logger$1.info("Calling default behavior upon '"+this.type+"' event dispatched by 'Session'");var Ye=this.target;Ye.remoteConnections.forEach(function(tt){var nt,ft,ht,gt,At,xt,yt,Ct,Et=tt.connectionId;if(!((nt=Ye.remoteConnections.get(Et))===null||nt===void 0)&&nt.stream){(ft=Ye.remoteConnections.get(Et))===null||ft===void 0||ft.stream.disposeWebRtcPeer(),(ht=Ye.remoteConnections.get(Et))===null||ht===void 0||ht.stream.disposeMediaStream(),!((gt=Ye.remoteConnections.get(Et))===null||gt===void 0)&&gt.stream.streamManager&&((At=Ye.remoteConnections.get(Et))===null||At===void 0||At.stream.streamManager.removeAllVideos());var vt=(yt=(xt=Ye.remoteConnections.get(Et))===null||xt===void 0?void 0:xt.stream)===null||yt===void 0?void 0:yt.streamId;vt&&Ye.remoteStreamsCreated.delete(vt),(Ct=Ye.remoteConnections.get(Et))===null||Ct===void 0||Ct.dispose()}Ye.remoteConnections.delete(Et)})},Le}(Event_1$4.Event);SessionDisconnectedEvent$1.SessionDisconnectedEvent=SessionDisconnectedEvent;var SignalEvent$1={},__extends$1e=commonjsGlobal&&commonjsGlobal.__extends||function(){var Be=function(Le,Ye){return Be=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(tt,nt){tt.__proto__=nt}||function(tt,nt){for(var ft in nt)Object.prototype.hasOwnProperty.call(nt,ft)&&(tt[ft]=nt[ft])},Be(Le,Ye)};return function(Le,Ye){if(typeof Ye!="function"&&Ye!==null)throw new TypeError("Class extends value "+String(Ye)+" is not a constructor or null");Be(Le,Ye);function tt(){this.constructor=Le}Le.prototype=Ye===null?Object.create(Ye):(tt.prototype=Ye.prototype,new tt)}}();Object.defineProperty(SignalEvent$1,"__esModule",{value:!0}),SignalEvent$1.SignalEvent=void 0;var Event_1$3=Event$2,SignalEvent=function(Be){__extends$1e(Le,Be);function Le(Ye,tt,nt,ft){var ht=Be.call(this,!1,Ye,"signal")||this;return tt&&(ht.type="signal:"+tt),ht.data=nt,ht.from=ft,ht}return Le.prototype.callDefaultBehavior=function(){},Le}(Event_1$3.Event);SignalEvent$1.SignalEvent=SignalEvent;var SpeechToTextEvent$1={},__extends$1d=commonjsGlobal&&commonjsGlobal.__extends||function(){var Be=function(Le,Ye){return Be=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(tt,nt){tt.__proto__=nt}||function(tt,nt){for(var ft in nt)Object.prototype.hasOwnProperty.call(nt,ft)&&(tt[ft]=nt[ft])},Be(Le,Ye)};return function(Le,Ye){if(typeof Ye!="function"&&Ye!==null)throw new TypeError("Class extends value "+String(Ye)+" is not a constructor or null");Be(Le,Ye);function tt(){this.constructor=Le}Le.prototype=Ye===null?Object.create(Ye):(tt.prototype=Ye.prototype,new tt)}}();Object.defineProperty(SpeechToTextEvent$1,"__esModule",{value:!0}),SpeechToTextEvent$1.SpeechToTextEvent=void 0;var Event_1$2=Event$2,SpeechToTextEvent=function(Be){__extends$1d(Le,Be);function Le(Ye,tt,nt,ft,ht,gt){var At=Be.call(this,!1,Ye,"speechToTextMessage")||this;return At.connection=tt,At.text=nt,At.reason=ft,At.raw=ht,At.lang=gt,At}return Le.prototype.callDefaultBehavior=function(){},Le}(Event_1$2.Event);SpeechToTextEvent$1.SpeechToTextEvent=SpeechToTextEvent;var StreamEvent={},hasRequiredStreamEvent;function requireStreamEvent(){if(hasRequiredStreamEvent)return StreamEvent;hasRequiredStreamEvent=1;var Be=commonjsGlobal&&commonjsGlobal.__extends||function(){var gt=function(At,xt){return gt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(yt,Ct){yt.__proto__=Ct}||function(yt,Ct){for(var Et in Ct)Object.prototype.hasOwnProperty.call(Ct,Et)&&(yt[Et]=Ct[Et])},gt(At,xt)};return function(At,xt){if(typeof xt!="function"&&xt!==null)throw new TypeError("Class extends value "+String(xt)+" is not a constructor or null");gt(At,xt);function yt(){this.constructor=At}At.prototype=xt===null?Object.create(xt):(yt.prototype=xt.prototype,new yt)}}();Object.defineProperty(StreamEvent,"__esModule",{value:!0}),StreamEvent.StreamEvent=void 0;var Le=Event$2,Ye=requirePublisher(),tt=requireSession(),nt=OpenViduLogger$1,ft=nt.OpenViduLogger.getInstance(),ht=function(gt){Be(At,gt);function At(xt,yt,Ct,Et,vt){var kt=gt.call(this,xt,yt,Ct)||this;return kt.stream=Et,kt.reason=vt,kt}return At.prototype.callDefaultBehavior=function(){if(this.type==="streamDestroyed"){if(this.target instanceof tt.Session)ft.info("Calling default behavior upon '"+this.type+"' event dispatched by 'Session'"),this.stream.disposeWebRtcPeer();else if(this.target instanceof Ye.Publisher){ft.info("Calling default behavior upon '"+this.type+"' event dispatched by 'Publisher'"),clearInterval(this.target.screenShareResizeInterval),this.stream.isLocalStreamReadyToPublish=!1;for(var xt=this.target.openvidu.publishers,yt=0;yt<xt.length;yt++)if(xt[yt]===this.target){xt.splice(yt,1);break}}this.stream.disposeMediaStream(),this.stream.streamManager&&this.stream.streamManager.removeAllVideos(),this.stream.session.remoteStreamsCreated.delete(this.stream.streamId);var Ct=this.stream.session.remoteConnections.get(this.stream.connection.connectionId);if(Ct&&Ct.remoteOptions)for(var Et=Ct.remoteOptions.streams,yt=Et.length-1;yt>=0;--yt)Et[yt].id===this.stream.streamId&&Et.splice(yt,1)}},At}(Le.Event);return StreamEvent.StreamEvent=ht,StreamEvent}var ConnectionPropertyChangedEvent$1={},__extends$1c=commonjsGlobal&&commonjsGlobal.__extends||function(){var Be=function(Le,Ye){return Be=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(tt,nt){tt.__proto__=nt}||function(tt,nt){for(var ft in nt)Object.prototype.hasOwnProperty.call(nt,ft)&&(tt[ft]=nt[ft])},Be(Le,Ye)};return function(Le,Ye){if(typeof Ye!="function"&&Ye!==null)throw new TypeError("Class extends value "+String(Ye)+" is not a constructor or null");Be(Le,Ye);function tt(){this.constructor=Le}Le.prototype=Ye===null?Object.create(Ye):(tt.prototype=Ye.prototype,new tt)}}();Object.defineProperty(ConnectionPropertyChangedEvent$1,"__esModule",{value:!0}),ConnectionPropertyChangedEvent$1.ConnectionPropertyChangedEvent=void 0;var Event_1$1=Event$2,ConnectionPropertyChangedEvent=function(Be){__extends$1c(Le,Be);function Le(Ye,tt,nt,ft,ht){var gt=Be.call(this,!1,Ye,"connectionPropertyChanged")||this;return gt.connection=tt,gt.changedProperty=nt,gt.newValue=ft,gt.oldValue=ht,gt}return Le.prototype.callDefaultBehavior=function(){},Le}(Event_1$1.Event);ConnectionPropertyChangedEvent$1.ConnectionPropertyChangedEvent=ConnectionPropertyChangedEvent;var NetworkQualityLevelChangedEvent$1={},__extends$1b=commonjsGlobal&&commonjsGlobal.__extends||function(){var Be=function(Le,Ye){return Be=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(tt,nt){tt.__proto__=nt}||function(tt,nt){for(var ft in nt)Object.prototype.hasOwnProperty.call(nt,ft)&&(tt[ft]=nt[ft])},Be(Le,Ye)};return function(Le,Ye){if(typeof Ye!="function"&&Ye!==null)throw new TypeError("Class extends value "+String(Ye)+" is not a constructor or null");Be(Le,Ye);function tt(){this.constructor=Le}Le.prototype=Ye===null?Object.create(Ye):(tt.prototype=Ye.prototype,new tt)}}();Object.defineProperty(NetworkQualityLevelChangedEvent$1,"__esModule",{value:!0}),NetworkQualityLevelChangedEvent$1.NetworkQualityLevelChangedEvent=void 0;var Event_1=Event$2,NetworkQualityLevelChangedEvent=function(Be){__extends$1b(Le,Be);function Le(Ye,tt,nt,ft){var ht=Be.call(this,!1,Ye,"networkQualityLevelChanged")||this;return ht.newValue=tt,ht.oldValue=nt,ht.connection=ft,ht}return Le.prototype.callDefaultBehavior=function(){},Le}(Event_1.Event);NetworkQualityLevelChangedEvent$1.NetworkQualityLevelChangedEvent=NetworkQualityLevelChangedEvent;const debug$1=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...Be)=>console.error("SEMVER",...Be):()=>{};var debug_1=debug$1;const MAX_LENGTH$1=256,MAX_SAFE_INTEGER$1=Number.MAX_SAFE_INTEGER||9007199254740991,MAX_SAFE_COMPONENT_LENGTH=16,MAX_SAFE_BUILD_LENGTH=MAX_LENGTH$1-6;var constants={MAX_LENGTH:MAX_LENGTH$1,MAX_SAFE_COMPONENT_LENGTH,MAX_SAFE_BUILD_LENGTH,MAX_SAFE_INTEGER:MAX_SAFE_INTEGER$1},re$2={exports:{}};(function(Be,Le){const{MAX_SAFE_COMPONENT_LENGTH:Ye,MAX_SAFE_BUILD_LENGTH:tt,MAX_LENGTH:nt}=constants,ft=debug_1;Le=Be.exports={};const ht=Le.re=[],gt=Le.safeRe=[],At=Le.src=[],xt=Le.t={};let yt=0;const Ct="[a-zA-Z0-9-]",Et=[["\\s",1],["\\d",nt],[Ct,tt]],vt=bt=>{for(const[wt,It]of Et)bt=bt.split(`${wt}*`).join(`${wt}{0,${It}}`).split(`${wt}+`).join(`${wt}{1,${It}}`);return bt},kt=(bt,wt,It)=>{const Rt=vt(wt),Tt=yt++;ft(bt,Tt,wt),xt[bt]=Tt,At[Tt]=wt,ht[Tt]=new RegExp(wt,It?"g":void 0),gt[Tt]=new RegExp(Rt,It?"g":void 0)};kt("NUMERICIDENTIFIER","0|[1-9]\\d*"),kt("NUMERICIDENTIFIERLOOSE","\\d+"),kt("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${Ct}*`),kt("MAINVERSION",`(${At[xt.NUMERICIDENTIFIER]})\\.(${At[xt.NUMERICIDENTIFIER]})\\.(${At[xt.NUMERICIDENTIFIER]})`),kt("MAINVERSIONLOOSE",`(${At[xt.NUMERICIDENTIFIERLOOSE]})\\.(${At[xt.NUMERICIDENTIFIERLOOSE]})\\.(${At[xt.NUMERICIDENTIFIERLOOSE]})`),kt("PRERELEASEIDENTIFIER",`(?:${At[xt.NUMERICIDENTIFIER]}|${At[xt.NONNUMERICIDENTIFIER]})`),kt("PRERELEASEIDENTIFIERLOOSE",`(?:${At[xt.NUMERICIDENTIFIERLOOSE]}|${At[xt.NONNUMERICIDENTIFIER]})`),kt("PRERELEASE",`(?:-(${At[xt.PRERELEASEIDENTIFIER]}(?:\\.${At[xt.PRERELEASEIDENTIFIER]})*))`),kt("PRERELEASELOOSE",`(?:-?(${At[xt.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${At[xt.PRERELEASEIDENTIFIERLOOSE]})*))`),kt("BUILDIDENTIFIER",`${Ct}+`),kt("BUILD",`(?:\\+(${At[xt.BUILDIDENTIFIER]}(?:\\.${At[xt.BUILDIDENTIFIER]})*))`),kt("FULLPLAIN",`v?${At[xt.MAINVERSION]}${At[xt.PRERELEASE]}?${At[xt.BUILD]}?`),kt("FULL",`^${At[xt.FULLPLAIN]}$`),kt("LOOSEPLAIN",`[v=\\s]*${At[xt.MAINVERSIONLOOSE]}${At[xt.PRERELEASELOOSE]}?${At[xt.BUILD]}?`),kt("LOOSE",`^${At[xt.LOOSEPLAIN]}$`),kt("GTLT","((?:<|>)?=?)"),kt("XRANGEIDENTIFIERLOOSE",`${At[xt.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),kt("XRANGEIDENTIFIER",`${At[xt.NUMERICIDENTIFIER]}|x|X|\\*`),kt("XRANGEPLAIN",`[v=\\s]*(${At[xt.XRANGEIDENTIFIER]})(?:\\.(${At[xt.XRANGEIDENTIFIER]})(?:\\.(${At[xt.XRANGEIDENTIFIER]})(?:${At[xt.PRERELEASE]})?${At[xt.BUILD]}?)?)?`),kt("XRANGEPLAINLOOSE",`[v=\\s]*(${At[xt.XRANGEIDENTIFIERLOOSE]})(?:\\.(${At[xt.XRANGEIDENTIFIERLOOSE]})(?:\\.(${At[xt.XRANGEIDENTIFIERLOOSE]})(?:${At[xt.PRERELEASELOOSE]})?${At[xt.BUILD]}?)?)?`),kt("XRANGE",`^${At[xt.GTLT]}\\s*${At[xt.XRANGEPLAIN]}$`),kt("XRANGELOOSE",`^${At[xt.GTLT]}\\s*${At[xt.XRANGEPLAINLOOSE]}$`),kt("COERCEPLAIN",`(^|[^\\d])(\\d{1,${Ye}})(?:\\.(\\d{1,${Ye}}))?(?:\\.(\\d{1,${Ye}}))?`),kt("COERCE",`${At[xt.COERCEPLAIN]}(?:$|[^\\d])`),kt("COERCEFULL",At[xt.COERCEPLAIN]+`(?:${At[xt.PRERELEASE]})?(?:${At[xt.BUILD]})?(?:$|[^\\d])`),kt("COERCERTL",At[xt.COERCE],!0),kt("COERCERTLFULL",At[xt.COERCEFULL],!0),kt("LONETILDE","(?:~>?)"),kt("TILDETRIM",`(\\s*)${At[xt.LONETILDE]}\\s+`,!0),Le.tildeTrimReplace="$1~",kt("TILDE",`^${At[xt.LONETILDE]}${At[xt.XRANGEPLAIN]}$`),kt("TILDELOOSE",`^${At[xt.LONETILDE]}${At[xt.XRANGEPLAINLOOSE]}$`),kt("LONECARET","(?:\\^)"),kt("CARETTRIM",`(\\s*)${At[xt.LONECARET]}\\s+`,!0),Le.caretTrimReplace="$1^",kt("CARET",`^${At[xt.LONECARET]}${At[xt.XRANGEPLAIN]}$`),kt("CARETLOOSE",`^${At[xt.LONECARET]}${At[xt.XRANGEPLAINLOOSE]}$`),kt("COMPARATORLOOSE",`^${At[xt.GTLT]}\\s*(${At[xt.LOOSEPLAIN]})$|^$`),kt("COMPARATOR",`^${At[xt.GTLT]}\\s*(${At[xt.FULLPLAIN]})$|^$`),kt("COMPARATORTRIM",`(\\s*)${At[xt.GTLT]}\\s*(${At[xt.LOOSEPLAIN]}|${At[xt.XRANGEPLAIN]})`,!0),Le.comparatorTrimReplace="$1$2$3",kt("HYPHENRANGE",`^\\s*(${At[xt.XRANGEPLAIN]})\\s+-\\s+(${At[xt.XRANGEPLAIN]})\\s*$`),kt("HYPHENRANGELOOSE",`^\\s*(${At[xt.XRANGEPLAINLOOSE]})\\s+-\\s+(${At[xt.XRANGEPLAINLOOSE]})\\s*$`),kt("STAR","(<|>)?=?\\s*\\*"),kt("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),kt("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")})(re$2,re$2.exports);var reExports=re$2.exports;const looseOption=Object.freeze({loose:!0}),emptyOpts=Object.freeze({}),parseOptions$2=Be=>Be?typeof Be!="object"?looseOption:Be:emptyOpts;var parseOptions_1=parseOptions$2;const numeric=/^[0-9]+$/,compareIdentifiers$1=(Be,Le)=>{const Ye=numeric.test(Be),tt=numeric.test(Le);return Ye&&tt&&(Be=+Be,Le=+Le),Be===Le?0:Ye&&!tt?-1:tt&&!Ye?1:Be<Le?-1:1};var identifiers={compareIdentifiers:compareIdentifiers$1};const debug=debug_1,{MAX_LENGTH,MAX_SAFE_INTEGER}=constants,{safeRe:re$1,t}=reExports,parseOptions$1=parseOptions_1,{compareIdentifiers}=identifiers;let SemVer$2=class Os{constructor(Le,Ye){if(Ye=parseOptions$1(Ye),Le instanceof Os){if(Le.loose===!!Ye.loose&&Le.includePrerelease===!!Ye.includePrerelease)return Le;Le=Le.version}else if(typeof Le!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof Le}".`);if(Le.length>MAX_LENGTH)throw new TypeError(`version is longer than ${MAX_LENGTH} characters`);debug("SemVer",Le,Ye),this.options=Ye,this.loose=!!Ye.loose,this.includePrerelease=!!Ye.includePrerelease;const tt=Le.trim().match(Ye.loose?re$1[t.LOOSE]:re$1[t.FULL]);if(!tt)throw new TypeError(`Invalid Version: ${Le}`);if(this.raw=Le,this.major=+tt[1],this.minor=+tt[2],this.patch=+tt[3],this.major>MAX_SAFE_INTEGER||this.major<0)throw new TypeError("Invalid major version");if(this.minor>MAX_SAFE_INTEGER||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>MAX_SAFE_INTEGER||this.patch<0)throw new TypeError("Invalid patch version");tt[4]?this.prerelease=tt[4].split(".").map(nt=>{if(/^[0-9]+$/.test(nt)){const ft=+nt;if(ft>=0&&ft<MAX_SAFE_INTEGER)return ft}return nt}):this.prerelease=[],this.build=tt[5]?tt[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(Le){if(debug("SemVer.compare",this.version,this.options,Le),!(Le instanceof Os)){if(typeof Le=="string"&&Le===this.version)return 0;Le=new Os(Le,this.options)}return Le.version===this.version?0:this.compareMain(Le)||this.comparePre(Le)}compareMain(Le){return Le instanceof Os||(Le=new Os(Le,this.options)),compareIdentifiers(this.major,Le.major)||compareIdentifiers(this.minor,Le.minor)||compareIdentifiers(this.patch,Le.patch)}comparePre(Le){if(Le instanceof Os||(Le=new Os(Le,this.options)),this.prerelease.length&&!Le.prerelease.length)return-1;if(!this.prerelease.length&&Le.prerelease.length)return 1;if(!this.prerelease.length&&!Le.prerelease.length)return 0;let Ye=0;do{const tt=this.prerelease[Ye],nt=Le.prerelease[Ye];if(debug("prerelease compare",Ye,tt,nt),tt===void 0&&nt===void 0)return 0;if(nt===void 0)return 1;if(tt===void 0)return-1;if(tt===nt)continue;return compareIdentifiers(tt,nt)}while(++Ye)}compareBuild(Le){Le instanceof Os||(Le=new Os(Le,this.options));let Ye=0;do{const tt=this.build[Ye],nt=Le.build[Ye];if(debug("build compare",Ye,tt,nt),tt===void 0&&nt===void 0)return 0;if(nt===void 0)return 1;if(tt===void 0)return-1;if(tt===nt)continue;return compareIdentifiers(tt,nt)}while(++Ye)}inc(Le,Ye,tt){switch(Le){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",Ye,tt);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",Ye,tt);break;case"prepatch":this.prerelease.length=0,this.inc("patch",Ye,tt),this.inc("pre",Ye,tt);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",Ye,tt),this.inc("pre",Ye,tt);break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":{const nt=Number(tt)?1:0;if(!Ye&&tt===!1)throw new Error("invalid increment argument: identifier is empty");if(this.prerelease.length===0)this.prerelease=[nt];else{let ft=this.prerelease.length;for(;--ft>=0;)typeof this.prerelease[ft]=="number"&&(this.prerelease[ft]++,ft=-2);if(ft===-1){if(Ye===this.prerelease.join(".")&&tt===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(nt)}}if(Ye){let ft=[Ye,nt];tt===!1&&(ft=[Ye]),compareIdentifiers(this.prerelease[0],Ye)===0?isNaN(this.prerelease[1])&&(this.prerelease=ft):this.prerelease=ft}break}default:throw new Error(`invalid increment argument: ${Le}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};var semver=SemVer$2;const SemVer$1=semver,major=(Be,Le)=>new SemVer$1(Be,Le).major;var major_1=major;const SemVer=semver,minor=(Be,Le)=>new SemVer(Be,Le).minor;var minor_1=minor,hasRequiredSession;function requireSession(){if(hasRequiredSession)return Session;hasRequiredSession=1;var Be=commonjsGlobal&&commonjsGlobal.__extends||function(){var qt=function(Ht,Ut){return qt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Ft,Xt){Ft.__proto__=Xt}||function(Ft,Xt){for(var _t in Xt)Object.prototype.hasOwnProperty.call(Xt,_t)&&(Ft[_t]=Xt[_t])},qt(Ht,Ut)};return function(Ht,Ut){if(typeof Ut!="function"&&Ut!==null)throw new TypeError("Class extends value "+String(Ut)+" is not a constructor or null");qt(Ht,Ut);function Ft(){this.constructor=Ht}Ht.prototype=Ut===null?Object.create(Ut):(Ft.prototype=Ut.prototype,new Ft)}}(),Le=commonjsGlobal&&commonjsGlobal.__awaiter||function(qt,Ht,Ut,Ft){function Xt(_t){return _t instanceof Ut?_t:new Ut(function(Mt){Mt(_t)})}return new(Ut||(Ut=Promise))(function(_t,Mt){function jt(Yt){try{Gt(Ft.next(Yt))}catch(ar){Mt(ar)}}function zt(Yt){try{Gt(Ft.throw(Yt))}catch(ar){Mt(ar)}}function Gt(Yt){Yt.done?_t(Yt.value):Xt(Yt.value).then(jt,zt)}Gt((Ft=Ft.apply(qt,Ht||[])).next())})},Ye=commonjsGlobal&&commonjsGlobal.__generator||function(qt,Ht){var Ut={label:0,sent:function(){if(_t[0]&1)throw _t[1];return _t[1]},trys:[],ops:[]},Ft,Xt,_t,Mt;return Mt={next:jt(0),throw:jt(1),return:jt(2)},typeof Symbol=="function"&&(Mt[Symbol.iterator]=function(){return this}),Mt;function jt(Gt){return function(Yt){return zt([Gt,Yt])}}function zt(Gt){if(Ft)throw new TypeError("Generator is already executing.");for(;Mt&&(Mt=0,Gt[0]&&(Ut=0)),Ut;)try{if(Ft=1,Xt&&(_t=Gt[0]&2?Xt.return:Gt[0]?Xt.throw||((_t=Xt.return)&&_t.call(Xt),0):Xt.next)&&!(_t=_t.call(Xt,Gt[1])).done)return _t;switch(Xt=0,_t&&(Gt=[Gt[0]&2,_t.value]),Gt[0]){case 0:case 1:_t=Gt;break;case 4:return Ut.label++,{value:Gt[1],done:!1};case 5:Ut.label++,Xt=Gt[1],Gt=[0];continue;case 7:Gt=Ut.ops.pop(),Ut.trys.pop();continue;default:if(_t=Ut.trys,!(_t=_t.length>0&&_t[_t.length-1])&&(Gt[0]===6||Gt[0]===2)){Ut=0;continue}if(Gt[0]===3&&(!_t||Gt[1]>_t[0]&&Gt[1]<_t[3])){Ut.label=Gt[1];break}if(Gt[0]===6&&Ut.label<_t[1]){Ut.label=_t[1],_t=Gt;break}if(_t&&Ut.label<_t[2]){Ut.label=_t[2],Ut.ops.push(Gt);break}_t[2]&&Ut.ops.pop(),Ut.trys.pop();continue}Gt=Ht.call(qt,Ut)}catch(Yt){Gt=[6,Yt],Xt=0}finally{Ft=_t=0}if(Gt[0]&5)throw Gt[1];return{value:Gt[0]?Gt[1]:void 0,done:!0}}};Object.defineProperty(Session,"__esModule",{value:!0}),Session.Session=void 0;var tt=Connection$1,nt=Filter$1,ft=Subscriber$1,ht=EventDispatcher$1,gt=ConnectionEvent$1,At=FilterEvent$1,xt=RecordingEvent$1,yt=SessionDisconnectedEvent$1,Ct=SignalEvent$1,Et=SpeechToTextEvent$1,vt=requireStreamEvent(),kt=StreamPropertyChangedEvent$1,bt=ConnectionPropertyChangedEvent$1,wt=NetworkQualityLevelChangedEvent$1,It=OpenViduError,Rt=VideoInsertMode,Tt=OpenViduLogger$1,Bt=Platform,Pt=major_1,Dt=minor_1,Ot=ExceptionEvent,Lt=Tt.OpenViduLogger.getInstance(),Wt,$t=function(qt){Be(Ht,qt);function Ht(Ut){var Ft=qt.call(this)||this;return Ft.streamManagers=[],Ft.remoteStreamsCreated=new Map,Ft.remoteConnections=new Map,Wt=Bt.PlatformUtils.getInstance(),Ft.openvidu=Ut,Ft}return Ht.prototype.connect=function(Ut,Ft){var Xt=this;return new Promise(function(_t,Mt){if(Xt.processToken(Ut),Xt.openvidu.checkSystemRequirements())Xt.options={sessionId:Xt.sessionId,participantId:Ut,metadata:Ft?Xt.stringClientMetadata(Ft):""},Xt.connectAux(Ut).then(function(){return _t()}).catch(function(jt){return Mt(jt)});else return Mt(new It.OpenViduError(It.OpenViduErrorName.BROWSER_NOT_SUPPORTED,"Browser "+Wt.getName()+" (version "+Wt.getVersion()+") for "+Wt.getFamily()+" is not supported in OpenVidu"))})},Ht.prototype.disconnect=function(){this.leave(!1,"disconnect")},Ht.prototype.subscribe=function(Ut,Ft,Xt,_t){var Mt={};Xt&&typeof Xt!="function"?Mt={insertMode:typeof Xt.insertMode<"u"?typeof Xt.insertMode=="string"?Rt.VideoInsertMode[Xt.insertMode]:Mt.insertMode:Rt.VideoInsertMode.APPEND,subscribeToAudio:typeof Xt.subscribeToAudio<"u"?Xt.subscribeToAudio:!0,subscribeToVideo:typeof Xt.subscribeToVideo<"u"?Xt.subscribeToVideo:!0}:Mt={insertMode:Rt.VideoInsertMode.APPEND,subscribeToAudio:!0,subscribeToVideo:!0};var jt=void 0;if(Xt&&typeof Xt=="function"?jt=Xt:_t&&(jt=_t),!this.sessionConnected())throw jt!==void 0&&jt(this.notConnectedError()),this.notConnectedError();Lt.info("Subscribing to "+Ut.connection.connectionId),Ut.subscribe().then(function(){Lt.info("Subscribed correctly to "+Ut.connection.connectionId),jt!==void 0&&jt(void 0)}).catch(function(Gt){jt!==void 0&&jt(Gt)});var zt=new ft.Subscriber(Ut,Ft,Mt);return zt.targetElement&&Ut.streamManager.createVideoElement(zt.targetElement,Mt.insertMode),zt},Ht.prototype.subscribeAsync=function(Ut,Ft,Xt){var _t=this;return new Promise(function(Mt,jt){if(!_t.sessionConnected())return jt(_t.notConnectedError());var zt,Gt=function(Yt){return Yt?jt(Yt):Mt(zt)};Xt?zt=_t.subscribe(Ut,Ft,Xt,Gt):zt=_t.subscribe(Ut,Ft,Gt)})},Ht.prototype.unsubscribe=function(Ut){var Ft=this;return new Promise(function(Xt,_t){if(Ft.sessionConnected()){var Mt=Ut.stream.connection.connectionId;Lt.info("Unsubscribing from "+Mt),Ft.openvidu.sendRequest("unsubscribeFromVideo",{sender:Ut.stream.connection.connectionId},function(jt,zt){return jt?(Lt.error("Error unsubscribing from "+Mt),_t(jt)):(Lt.info("Unsubscribed correctly from "+Mt),Ut.stream.streamManager.removeAllVideos(),Ut.stream.disposeWebRtcPeer(),Ut.stream.disposeMediaStream(),Xt())})}else return _t(Ft.notConnectedError())})},Ht.prototype.publish=function(Ut){var Ft=this;return new Promise(function(Xt,_t){if(!Ft.sessionConnected())return _t(Ft.notConnectedError());Ut.session=Ft,Ut.stream.session=Ft,Ut.stream.publishedOnce?Ut.initialize().then(function(){Ft.connection.addStream(Ut.stream),Ut.reestablishStreamPlayingEvent(),Ut.stream.publish().then(function(){return Ft.sendVideoData(Ut,8,!0,5),Xt()}).catch(function(Mt){return _t(Mt)})}).catch(function(Mt){return _t(Mt)}):(Ft.connection.addStream(Ut.stream),Ut.stream.publish().then(function(){return Ft.sendVideoData(Ut,8,!0,5),Xt()}).catch(function(Mt){return _t(Mt)}))})},Ht.prototype.unpublish=function(Ut){var Ft=this;return new Promise(function(Xt,_t){if(!Ft.sessionConnected())throw Ft.notConnectedError();var Mt=Ut.stream;if(Mt.connection){if(Mt.connection!==Ft.connection)return _t(new Error("The associated Connection object of this Publisher is not your local Connection. Only moderators can force unpublish on remote Streams via 'forceUnpublish' method"));Lt.info("Unpublishing local media ("+Mt.connection.connectionId+")"),Ft.openvidu.sendRequest("unpublishVideo",function(jt,zt){if(jt)return _t(jt);Lt.info("Media unpublished correctly"),Mt.disposeWebRtcPeer(),Mt.connection.stream==Mt&&delete Mt.connection.stream;var Gt=new vt.StreamEvent(!0,Ut,"streamDestroyed",Ut.stream,"unpublish");return Ut.emitEvent("streamDestroyed",[Gt]),Gt.callDefaultBehavior(),Xt()})}else return _t(new Error("The associated Connection object of this Publisher is null"))})},Ht.prototype.forceDisconnect=function(Ut){var Ft=this;return new Promise(function(Xt,_t){if(!Ft.sessionConnected())return _t(Ft.notConnectedError());Lt.info("Forcing disconnect for connection "+Ut.connectionId),Ft.openvidu.sendRequest("forceDisconnect",{connectionId:Ut.connectionId},function(Mt,jt){return Mt?(Lt.error("Error forcing disconnect for Connection "+Ut.connectionId,Mt),Mt.code===401?_t(new It.OpenViduError(It.OpenViduErrorName.OPENVIDU_PERMISSION_DENIED,"You don't have permissions to force a disconnection")):_t(Mt)):(Lt.info("Forcing disconnect correctly for Connection "+Ut.connectionId),Xt())})})},Ht.prototype.forceUnpublish=function(Ut){var Ft=this;return new Promise(function(Xt,_t){if(!Ft.sessionConnected())return _t(Ft.notConnectedError());Lt.info("Forcing unpublish for stream "+Ut.streamId),Ft.openvidu.sendRequest("forceUnpublish",{streamId:Ut.streamId},function(Mt,jt){return Mt?(Lt.error("Error forcing unpublish for Stream "+Ut.streamId,Mt),Mt.code===401?_t(new It.OpenViduError(It.OpenViduErrorName.OPENVIDU_PERMISSION_DENIED,"You don't have permissions to force an unpublishing")):_t(Mt)):(Lt.info("Forcing unpublish correctly for Stream "+Ut.streamId),Xt())})})},Ht.prototype.signal=function(Ut){var Ft=this;return new Promise(function(Xt,_t){if(!Ft.sessionConnected())return _t(Ft.notConnectedError());var Mt={};if(Ut.to&&Ut.to.length>0){var jt=[];Ut.to.forEach(function(Gt){Gt.connectionId&&jt.push(Gt.connectionId)}),Mt.to=jt}else Mt.to=[];Mt.data=Ut.data?Ut.data:"";var zt=Ut.type?Ut.type:"signal";zt&&zt.substring(0,7)!=="signal:"&&(zt="signal:"+zt),Mt.type=zt,Ft.openvidu.sendRequest("sendMessage",{message:JSON.stringify(Mt)},function(Gt,Yt){return Gt?_t(Gt):Xt()})})},Ht.prototype.subscribeToSpeechToText=function(Ut,Ft){var Xt=this;return new Promise(function(_t,Mt){Xt.openvidu.sendRequest("subscribeToSpeechToText",{connectionId:Ut.connection.connectionId,lang:Ft},function(jt,zt){return jt?Mt(jt):_t()})})},Ht.prototype.unsubscribeFromSpeechToText=function(Ut){var Ft=this;return new Promise(function(Xt,_t){Ft.openvidu.sendRequest("unsubscribeFromSpeechToText",{connectionId:Ut.connection.connectionId},function(Mt,jt){return Mt?_t(Mt):Xt()})})},Ht.prototype.on=function(Ut,Ft){var Xt,_t,Mt,jt;return qt.prototype.onAux.call(this,Ut,"Event '"+Ut+"' triggered by 'Session'",Ft),Ut==="publisherStartSpeaking"&&(this.remoteConnections.forEach(function(zt){var Gt;!((Gt=zt.stream)===null||Gt===void 0)&&Gt.hasAudio&&zt.stream.enableHarkSpeakingEvent()}),!((_t=(Xt=this.connection)===null||Xt===void 0?void 0:Xt.stream)===null||_t===void 0)&&_t.hasAudio&&this.connection.stream.enableHarkSpeakingEvent()),Ut==="publisherStopSpeaking"&&(this.remoteConnections.forEach(function(zt){var Gt;!((Gt=zt.stream)===null||Gt===void 0)&&Gt.hasAudio&&zt.stream.enableHarkStoppedSpeakingEvent()}),!((jt=(Mt=this.connection)===null||Mt===void 0?void 0:Mt.stream)===null||jt===void 0)&&jt.hasAudio&&this.connection.stream.enableHarkStoppedSpeakingEvent()),this},Ht.prototype.once=function(Ut,Ft){var Xt,_t,Mt,jt;return qt.prototype.onceAux.call(this,Ut,"Event '"+Ut+"' triggered once by 'Session'",Ft),Ut==="publisherStartSpeaking"&&(this.remoteConnections.forEach(function(zt){var Gt;!((Gt=zt.stream)===null||Gt===void 0)&&Gt.hasAudio&&zt.stream.enableOnceHarkSpeakingEvent()}),!((_t=(Xt=this.connection)===null||Xt===void 0?void 0:Xt.stream)===null||_t===void 0)&&_t.hasAudio&&this.connection.stream.enableOnceHarkSpeakingEvent()),Ut==="publisherStopSpeaking"&&(this.remoteConnections.forEach(function(zt){var Gt;!((Gt=zt.stream)===null||Gt===void 0)&&Gt.hasAudio&&zt.stream.enableOnceHarkStoppedSpeakingEvent()}),!((jt=(Mt=this.connection)===null||Mt===void 0?void 0:Mt.stream)===null||jt===void 0)&&jt.hasAudio&&this.connection.stream.enableOnceHarkStoppedSpeakingEvent()),this},Ht.prototype.off=function(Ut,Ft){var Xt=this,_t,Mt,jt,zt;return qt.prototype.offAux.call(this,Ut,Ft),Ut==="publisherStartSpeaking"&&(this.anySpeechEventListenerEnabled("publisherStartSpeaking",!1)||(this.remoteConnections.forEach(function(Gt){var Yt;!((Yt=Gt.stream)===null||Yt===void 0)&&Yt.streamManager&&(Xt.anySpeechEventListenerEnabled("publisherStartSpeaking",!1,Gt.stream.streamManager)||Gt.stream.disableHarkSpeakingEvent(!1))}),!((Mt=(_t=this.connection)===null||_t===void 0?void 0:_t.stream)===null||Mt===void 0)&&Mt.streamManager&&(this.anySpeechEventListenerEnabled("publisherStartSpeaking",!1,this.connection.stream.streamManager)||this.connection.stream.disableHarkSpeakingEvent(!1)))),Ut==="publisherStopSpeaking"&&(this.anySpeechEventListenerEnabled("publisherStopSpeaking",!1)||(this.remoteConnections.forEach(function(Gt){var Yt;!((Yt=Gt.stream)===null||Yt===void 0)&&Yt.streamManager&&(Xt.anySpeechEventListenerEnabled("publisherStopSpeaking",!1,Gt.stream.streamManager)||Gt.stream.disableHarkStoppedSpeakingEvent(!1))}),!((zt=(jt=this.connection)===null||jt===void 0?void 0:jt.stream)===null||zt===void 0)&&zt.streamManager&&(this.anySpeechEventListenerEnabled("publisherStopSpeaking",!1,this.connection.stream.streamManager)||this.connection.stream.disableHarkStoppedSpeakingEvent(!1)))),this},Ht.prototype.onParticipantJoined=function(Ut){var Ft=this;this.getConnection(Ut.id,"").then(function(Xt){Lt.warn("Connection "+Xt.connectionId+" already exists in connections list")}).catch(function(Xt){var _t=new tt.Connection(Ft,Ut);Ft.remoteConnections.set(Ut.id,_t),Ft.ee.emitEvent("connectionCreated",[new gt.ConnectionEvent(!1,Ft,"connectionCreated",_t,"")])})},Ht.prototype.onParticipantLeft=function(Ut){var Ft=this;this.getRemoteConnection(Ut.connectionId,"onParticipantLeft").then(function(Xt){if(Xt.stream){var _t=Xt.stream,Mt=new vt.StreamEvent(!0,Ft,"streamDestroyed",_t,Ut.reason);Ft.ee.emitEvent("streamDestroyed",[Mt]),Mt.callDefaultBehavior(),Ft.remoteStreamsCreated.delete(_t.streamId)}Xt.dispose(),Ft.remoteConnections.delete(Xt.connectionId),Ft.ee.emitEvent("connectionDestroyed",[new gt.ConnectionEvent(!1,Ft,"connectionDestroyed",Xt,Ut.reason)])}).catch(function(Xt){Lt.error(Xt)})},Ht.prototype.onParticipantPublished=function(Ut){var Ft=this,Xt=function(Mt){Ft.remoteConnections.set(Mt.connectionId,Mt),Ft.remoteStreamsCreated.get(Mt.stream.streamId)||Ft.ee.emitEvent("streamCreated",[new vt.StreamEvent(!1,Ft,"streamCreated",Mt.stream,"")]),Ft.remoteStreamsCreated.set(Mt.stream.streamId,!0)},_t;this.getRemoteConnection(Ut.id,"onParticipantPublished").then(function(Mt){_t=Mt,Ut.metadata=Mt.data,_t.remoteOptions=Ut,_t.initRemoteStreams(Ut.streams),Xt(_t)}).catch(function(Mt){_t=new tt.Connection(Ft,Ut),Xt(_t)})},Ht.prototype.onParticipantUnpublished=function(Ut){var Ft=this;Ut.connectionId===this.connection.connectionId?this.stopPublisherStream(Ut.reason):this.getRemoteConnection(Ut.connectionId,"onParticipantUnpublished").then(function(Xt){var _t=new vt.StreamEvent(!0,Ft,"streamDestroyed",Xt.stream,Ut.reason);if(Ft.ee.emitEvent("streamDestroyed",[_t]),_t.callDefaultBehavior(),Xt.stream!=null){var Mt=Xt.stream.streamId;Ft.remoteStreamsCreated.delete(Mt),Xt.removeStream()}}).catch(function(Xt){Lt.error(Xt)})},Ht.prototype.onParticipantEvicted=function(Ut){Ut.connectionId===this.connection.connectionId&&this.sessionId&&!this.connection.disposed&&this.leave(!0,Ut.reason)},Ht.prototype.onNewMessage=function(Ut){var Ft=this;Lt.info("New signal: "+JSON.stringify(Ut));var Xt=Ut.type?Ut.type.replace(/^(signal:)/,""):void 0;Ut.from?this.getConnection(Ut.from,"Connection '"+Ut.from+"' unknown when 'onNewMessage'. Existing remote connections: "+JSON.stringify(this.remoteConnections.keys())+". Existing local connection: "+this.connection.connectionId).then(function(_t){Ft.ee.emitEvent("signal",[new Ct.SignalEvent(Ft,Xt,Ut.data,_t)]),Ut.type&&Ut.type!=="signal"&&Ft.ee.emitEvent(Ut.type,[new Ct.SignalEvent(Ft,Xt,Ut.data,_t)])}).catch(function(_t){Lt.error(_t)}):(this.ee.emitEvent("signal",[new Ct.SignalEvent(this,Xt,Ut.data,void 0)]),Ut.type&&Ut.type!=="signal"&&this.ee.emitEvent(Ut.type,[new Ct.SignalEvent(this,Xt,Ut.data,void 0)]))},Ht.prototype.onStreamPropertyChanged=function(Ut){var Ft=this,Xt=function(_t){var Mt,jt;if(_t.stream&&_t.stream.streamId===Ut.streamId){var zt=_t.stream,Gt=void 0;switch(Ut.property){case"audioActive":Gt=zt.audioActive,Ut.newValue=Ut.newValue==="true",zt.audioActive=Ut.newValue;break;case"videoActive":Gt=zt.videoActive,Ut.newValue=Ut.newValue==="true",zt.videoActive=Ut.newValue;var Yt=(jt=(Mt=zt==null?void 0:zt.getMediaStream())===null||Mt===void 0?void 0:Mt.getVideoTracks())===null||jt===void 0?void 0:jt[0];Yt&&!Yt.enabled&&zt.videoActive&&(Yt.enabled=!0);break;case"videoTrack":Ut.newValue=JSON.parse(Ut.newValue);break;case"audioTrack":Ut.newValue=JSON.parse(Ut.newValue);break;case"videoDimensions":Gt=zt.videoDimensions,Ut.newValue=JSON.parse(JSON.parse(Ut.newValue)),zt.videoDimensions=Ut.newValue;break;case"filter":Gt=zt.filter,Ut.newValue=Object.keys(Ut.newValue).length>0?Ut.newValue:void 0,Ut.newValue!==void 0?(zt.filter=new nt.Filter(Ut.newValue.type,Ut.newValue.options),zt.filter.stream=zt,Ut.newValue.lastExecMethod&&(zt.filter.lastExecMethod=Ut.newValue.lastExecMethod)):delete zt.filter,Ut.newValue=zt.filter;break}Ft.ee.emitEvent("streamPropertyChanged",[new kt.StreamPropertyChangedEvent(Ft,zt,Ut.property,Ut.newValue,Gt,Ut.reason)]),zt.streamManager&&zt.streamManager.emitEvent("streamPropertyChanged",[new kt.StreamPropertyChangedEvent(zt.streamManager,zt,Ut.property,Ut.newValue,Gt,Ut.reason)])}else Lt.error("No stream with streamId '"+Ut.streamId+"' found for connection '"+Ut.connectionId+"' on 'streamPropertyChanged' event")};Ut.connectionId===this.connection.connectionId?Xt(this.connection):this.getRemoteConnection(Ut.connectionId,"onStreamPropertyChanged").then(function(_t){Xt(_t)}).catch(function(_t){Lt.error(_t)})},Ht.prototype.onConnectionPropertyChanged=function(Ut){var Ft;switch(Ut.property){case"role":Ft=this.connection.role.slice(),this.connection.role=Ut.newValue,this.connection.localOptions.role=Ut.newValue;break;case"record":Ft=this.connection.record,Ut.newValue=Ut.newValue==="true",this.connection.record=Ut.newValue,this.connection.localOptions.record=Ut.newValue;break}this.ee.emitEvent("connectionPropertyChanged",[new bt.ConnectionPropertyChangedEvent(this,this.connection,Ut.property,Ut.newValue,Ft)])},Ht.prototype.onNetworkQualityLevelChangedChanged=function(Ut){var Ft=this;Ut.connectionId===this.connection.connectionId?this.ee.emitEvent("networkQualityLevelChanged",[new wt.NetworkQualityLevelChangedEvent(this,Ut.newValue,Ut.oldValue,this.connection)]):this.getConnection(Ut.connectionId,"Connection not found for connectionId "+Ut.connectionId).then(function(Xt){Ft.ee.emitEvent("networkQualityLevelChanged",[new wt.NetworkQualityLevelChangedEvent(Ft,Ut.newValue,Ut.oldValue,Xt)])}).catch(function(Xt){Lt.error(Xt)})},Ht.prototype.recvIceCandidate=function(Ut){var Ft={candidate:Ut.candidate,sdpMLineIndex:Ut.sdpMLineIndex,sdpMid:Ut.sdpMid},Xt=new RTCIceCandidate(Ft);this.getConnection(Ut.senderConnectionId,"Connection not found for connectionId "+Ut.senderConnectionId+" owning endpoint "+Ut.endpointName+". Ice candidate will be ignored: "+Xt).then(function(_t){var Mt=_t.stream;Mt.getWebRtcPeer().addIceCandidate(Xt).catch(function(jt){Lt.error("Error adding candidate for "+Mt.streamId+" stream of endpoint "+Ut.endpointName+": "+jt)})}).catch(function(_t){Lt.error(_t)})},Ht.prototype.onSessionClosed=function(Ut){Lt.info("Session closed: "+JSON.stringify(Ut));var Ft=Ut.sessionId;Ft!==void 0?this.ee.emitEvent("session-closed",[{session:Ft}]):Lt.warn("Session undefined on session closed",Ut)},Ht.prototype.onLostConnection=function(Ut){Lt.warn("Lost connection in Session "+this.sessionId),this.sessionId&&this.connection&&!this.connection.disposed&&this.leave(!0,Ut)},Ht.prototype.onRecoveredConnection=function(){Lt.info("Recovered connection in Session "+this.sessionId),this.reconnectBrokenStreams(),this.ee.emitEvent("reconnected",[])},Ht.prototype.onMediaError=function(Ut){Lt.error("Media error: "+JSON.stringify(Ut));var Ft=Ut.error;Ft?this.ee.emitEvent("error-media",[{error:Ft}]):Lt.warn("Received undefined media error:",Ut)},Ht.prototype.onRecordingStarted=function(Ut){this.ee.emitEvent("recordingStarted",[new xt.RecordingEvent(this,"recordingStarted",Ut.id,Ut.name)])},Ht.prototype.onRecordingStopped=function(Ut){this.ee.emitEvent("recordingStopped",[new xt.RecordingEvent(this,"recordingStopped",Ut.id,Ut.name,Ut.reason)])},Ht.prototype.onBroadcastStarted=function(){this.ee.emitEvent("broadcastStarted",[])},Ht.prototype.onBroadcastStopped=function(){this.ee.emitEvent("broadcastStopped",[])},Ht.prototype.onFilterEventDispatched=function(Ut){var Ft=this,Xt=Ut.connectionId;this.getConnection(Xt,"No connection found for connectionId "+Xt).then(function(_t){Lt.info('Filter event of type "'.concat(Ut.eventType,'" dispatched'));var Mt=_t.stream;if(!Mt||!Mt.filter)return Lt.error('Filter event of type "'.concat(Ut.eventType,'" dispatched for stream ').concat(Mt.streamId," but there is no ").concat(Mt?"filter":"stream"," defined"));var jt=Mt.filter.handlers.get(Ut.eventType);if(!jt||typeof jt!="function"){var zt=Array.from(Mt.filter.handlers.keys());return Lt.error('Filter event of type "'.concat(Ut.eventType,'" not handled or not a function! Active filter events: ').concat(zt.join(",")))}else jt.call(Ft,new At.FilterEvent(Mt.filter,Ut.eventType,Ut.data))})},Ht.prototype.onForciblyReconnectSubscriber=function(Ut){var Ft=this;return new Promise(function(Xt,_t){Ft.getRemoteConnection(Ut.connectionId,"onForciblyReconnectSubscriber").then(function(Mt){if(Mt.stream&&Mt.stream.streamId===Ut.streamId){var jt=Mt.stream;if(jt.setupReconnectionEventEmitter(Xt,_t)){if(jt.reconnectionEventEmitter.onForciblyReconnectSubscriberLastEvent!=null)return jt.reconnectionEventEmitter.onForciblyReconnectSubscriberLastEvent=Ut,_t("Ongoing forced subscriber reconnection");jt.reconnectionEventEmitter.onForciblyReconnectSubscriberLastEvent=Ut;var zt=function(){var Yt=jt.reconnectionEventEmitter.onForciblyReconnectSubscriberLastEvent;delete jt.reconnectionEventEmitter.onForciblyReconnectSubscriberLastEvent,Ft.onForciblyReconnectSubscriber(Yt)};jt.reconnectionEventEmitter.once("success",function(){zt()}),jt.reconnectionEventEmitter.once("error",function(){zt()});return}jt.completeWebRtcPeerReceive(!0,!0,Ut.sdpOffer).then(function(){return jt.finalResolveForSubscription(!0,Xt)}).catch(function(Yt){return jt.finalRejectForSubscription(!0,"Error while forcibly reconnecting remote stream ".concat(Ut.streamId,": ").concat(Yt.toString()),_t)})}else{var Gt="No stream with streamId '"+Ut.streamId+"' found for connection '"+Ut.connectionId+"' on 'streamPropertyChanged' event";return Lt.error(Gt),_t(Gt)}}).catch(function(Mt){return Lt.error(Mt),_t(Mt)})})},Ht.prototype.reconnectBrokenStreams=function(){Lt.info("Re-establishing media connections...");var Ut=!1;this.connection.stream&&this.connection.stream.streamIceConnectionStateBroken()&&(Lt.warn("Re-establishing Publisher "+this.connection.stream.streamId),this.connection.stream.initWebRtcPeerSend(!0),Ut=!0),this.remoteConnections.forEach(function(Ft){Ft.stream&&Ft.stream.streamIceConnectionStateBroken()&&(Lt.warn("Re-establishing Subscriber "+Ft.stream.streamId),Ft.stream.initWebRtcPeerReceive(!0),Ut=!0)}),Ut||Lt.info("There were no media streams in need of a reconnection")},Ht.prototype.onSpeechToTextMessage=function(Ut){return Le(this,void 0,void 0,function(){var Ft,Xt;return Ye(this,function(_t){switch(_t.label){case 0:return[4,this.getConnection(Ut.connectionId,"No connection found for connectionId "+Ut.connectionId)];case 1:return Ft=_t.sent(),Xt=new Et.SpeechToTextEvent(this,Ft,Ut.text,Ut.reason.toLowerCase(),Ut.raw,Ut.lang),this.ee.emitEvent("speechToTextMessage",[Xt]),[2]}})})},Ht.prototype.onSpeechToTextDisconnected=function(Ut){return Le(this,void 0,void 0,function(){return Ye(this,function(Ft){return this.emitEvent("exception",[new Ot.ExceptionEvent(this,Ot.ExceptionEventName.SPEECH_TO_TEXT_DISCONNECTED,this,Ut.message)]),[2]})})},Ht.prototype.emitEvent=function(Ut,Ft){this.ee.emitEvent(Ut,Ft)},Ht.prototype.leave=function(Ut,Ft){var Xt=this;if(Ut=!!Ut,Lt.info("Leaving Session (forced="+Ut+")"),this.stopVideoDataIntervals(),this.connection){if(!this.connection.disposed&&!Ut?this.openvidu.sendRequest("leaveRoom",function(Mt,jt){Mt&&Lt.error("leaveRoom error: ".concat(JSON.stringify(Mt))),Xt.openvidu.closeWs()}):this.openvidu.closeWs(),this.stopPublisherStream(Ft),!this.connection.disposed){var _t=new yt.SessionDisconnectedEvent(this,Ft);this.ee.emitEvent("sessionDisconnected",[_t]),_t.callDefaultBehavior()}}else Lt.warn("You were not connected to the session "+this.sessionId);Lt.flush()},Ht.prototype.initializeParams=function(Ut){var Ft={token:Ut||"",session:this.sessionId,platform:Wt.getDescription()?Wt.getDescription():"unknown",sdkVersion:this.openvidu.libraryVersion,metadata:this.options.metadata?this.options.metadata:"",secret:this.openvidu.getSecret(),recorder:this.openvidu.getRecorder(),stt:this.openvidu.getStt()};return Ft},Ht.prototype.sendVideoData=function(Ut,Ft,Xt,_t){var Mt=this,jt,zt;if(Ft===void 0&&(Ft=1),Xt===void 0&&(Xt=!1),_t===void 0&&(_t=1),Wt.isChromeBrowser()||Wt.isChromeMobileBrowser()||Wt.isOperaBrowser()||Wt.isOperaMobileBrowser()||Wt.isEdgeBrowser()||Wt.isEdgeMobileBrowser()||Wt.isElectron()||Wt.isSafariBrowser()&&!Wt.isIonicIos()||Wt.isAndroidBrowser()||Wt.isSamsungBrowser()||Wt.isIonicAndroid()||Wt.isIOSWithSafari()){var Gt=function(){return Le(Mt,void 0,void 0,function(){var ar,tr,sr;return Ye(this,function(dr){switch(dr.label){case 0:return ar=Ut.stream.getRTCPeerConnection(),ar.connectionState!=="connected"?[3,2]:[4,ar.getStats()];case 1:tr=dr.sent(),sr=[],tr.forEach(function(rr){"frameWidth"in rr&&"frameHeight"in rr&&sr.length===0&&sr.push(rr)}),sr.length>0&&this.openvidu.sendRequest("videoData",{height:sr[0].frameHeight,width:sr[0].frameWidth,videoActive:Ut.stream.videoActive!=null?Ut.stream.videoActive:!1,audioActive:Ut.stream.audioActive!=null?Ut.stream.audioActive:!1},function(rr,gr){rr&&Lt.error("Error sending 'videoData' event",rr)}),dr.label=2;case 2:return[2]}})})};if(Xt){var Yt=1;this.videoDataInterval=setInterval(function(){Yt<_t?(Yt++,Gt()):clearInterval(Mt.videoDataInterval)},Ft*1e3)}else this.videoDataTimeout=setTimeout(Gt,Ft*1e3)}else Wt.isFirefoxBrowser()||Wt.isFirefoxMobileBrowser()||Wt.isIonicIos()||Wt.isReactNative()?this.openvidu.sendRequest("videoData",{height:((jt=Ut.stream.videoDimensions)===null||jt===void 0?void 0:jt.height)||0,width:((zt=Ut.stream.videoDimensions)===null||zt===void 0?void 0:zt.width)||0,videoActive:Ut.stream.videoActive!=null?Ut.stream.videoActive:!1,audioActive:Ut.stream.audioActive!=null?Ut.stream.audioActive:!1},function(ar,tr){ar&&Lt.error("Error sending 'videoData' event",ar)}):Lt.error("Browser "+Wt.getName()+" (version "+Wt.getVersion()+") for "+Wt.getFamily()+" is not supported in OpenVidu for Network Quality")},Ht.prototype.sessionConnected=function(){return this.connection!=null},Ht.prototype.notConnectedError=function(){return new It.OpenViduError(It.OpenViduErrorName.OPENVIDU_NOT_CONNECTED,"There is no connection to the session. Method 'Session.connect' must be successfully completed first")},Ht.prototype.anySpeechEventListenerEnabled=function(Ut,Ft,Xt){var _t=this.ee.getListeners(Ut);Ft&&(_t=_t.filter(function(Gt){return Gt.once}));var Mt=_t.length;if(Mt>0)return!0;var jt=0;if(Xt){var zt=Xt.ee.getListeners(Ut);Ft&&(zt=zt.filter(function(Gt){return Gt.once})),jt=zt.length}return jt>0},Ht.prototype.getTokenParams=function(Ut){var Ft=Ut.match(/^(wss?)\:\/\/(([^:\/?#]*)(?:\:([0-9]+))?)([\/]{0,1}[^?#]*)(\?[^#]*|)(#.*|)$/);if(Ft){var Xt={protocol:Ft[1],host:Ft[2],hostname:Ft[3],port:Ft[4],pathname:Ft[5],search:Ft[6],hash:Ft[7]},_t=Ut.split("?"),Mt=decodeURI(_t[1]).split("&").map(function(jt){return jt.split("=")}).reduce(function(jt,zt){var Gt=zt[0],Yt=zt[1];return jt[Gt]=Yt,jt},{});return{sessionId:Mt.sessionId,secret:Mt.secret,recorder:Mt.recorder,stt:Mt.stt,webrtcStatsInterval:Mt.webrtcStatsInterval,sendBrowserLogs:Mt.sendBrowserLogs,edition:Mt.edition,wsUri:Xt.protocol+"://"+Xt.host+"/openvidu",httpUri:"https://"+Xt.host}}else throw new Error('Token not valid: "'.concat(Ut,'"'))},Ht.prototype.connectAux=function(Ut){var Ft=this;return new Promise(function(Xt,_t){Ft.openvidu.startWs(function(Mt){if(Mt)return _t(Mt);var jt=Ft.initializeParams(Ut);Ft.openvidu.sendRequest("joinRoom",jt,function(zt,Gt){if(zt)return _t(zt);Ft.processJoinRoomResponse(Gt,Ut),Ft.connection=new tt.Connection(Ft,Gt);var Yt={connections:new Array,streams:new Array},ar=Gt.value;return ar.forEach(function(tr){var sr=new tt.Connection(Ft,tr);Ft.remoteConnections.set(sr.connectionId,sr),Yt.connections.push(sr),sr.stream&&(Ft.remoteStreamsCreated.set(sr.stream.streamId,!0),Yt.streams.push(sr.stream))}),Ft.ee.emitEvent("connectionCreated",[new gt.ConnectionEvent(!1,Ft,"connectionCreated",Ft.connection,"")]),Yt.connections.forEach(function(tr){Ft.ee.emitEvent("connectionCreated",[new gt.ConnectionEvent(!1,Ft,"connectionCreated",tr,"")])}),Yt.streams.forEach(function(tr){Ft.ee.emitEvent("streamCreated",[new vt.StreamEvent(!1,Ft,"streamCreated",tr,"")])}),Gt.recordingId&&Gt.recordingName&&Ft.ee.emitEvent("recordingStarted",[new xt.RecordingEvent(Ft,"recordingStarted",Gt.recordingId,Gt.recordingName)]),Xt()})})})},Ht.prototype.stopPublisherStream=function(Ut){this.connection.stream&&(this.connection.stream.disposeWebRtcPeer(),this.connection.stream.isLocalStreamPublished&&this.connection.stream.ee.emitEvent("local-stream-destroyed",[Ut]))},Ht.prototype.stopVideoDataIntervals=function(){clearInterval(this.videoDataInterval),clearTimeout(this.videoDataTimeout)},Ht.prototype.stringClientMetadata=function(Ut){return typeof Ut!="string"?JSON.stringify(Ut):Ut},Ht.prototype.getConnection=function(Ut,Ft){var Xt=this;return new Promise(function(_t,Mt){var jt=Xt.remoteConnections.get(Ut);return jt?_t(jt):Xt.connection.connectionId===Ut?_t(Xt.connection):Mt(new It.OpenViduError(It.OpenViduErrorName.GENERIC_ERROR,Ft))})},Ht.prototype.getRemoteConnection=function(Ut,Ft){var Xt=this;return new Promise(function(_t,Mt){var jt=Xt.remoteConnections.get(Ut);if(jt)return _t(jt);var zt="Remote connection "+Ut+" unknown when '"+Ft+"'. Existing remote connections: "+JSON.stringify(Xt.remoteConnections.keys());return Mt(new It.OpenViduError(It.OpenViduErrorName.GENERIC_ERROR,zt))})},Ht.prototype.processToken=function(Ut){var Ft=this.getTokenParams(Ut);this.sessionId=Ft.sessionId,Ft.secret&&(this.openvidu.secret=Ft.secret),Ft.recorder&&(this.openvidu.recorder=!0),Ft.stt&&(this.openvidu.stt=!0),Ft.webrtcStatsInterval&&(this.openvidu.webrtcStatsInterval=Ft.webrtcStatsInterval),Ft.sendBrowserLogs&&(this.openvidu.sendBrowserLogs=Ft.sendBrowserLogs),this.openvidu.isAtLeastPro=Ft.edition==="pro"||Ft.edition==="enterprise",this.openvidu.isEnterprise=Ft.edition==="enterprise",this.openvidu.wsUri=Ft.wsUri,this.openvidu.httpUri=Ft.httpUri},Ht.prototype.processJoinRoomResponse=function(Ut,Ft){if(this.sessionId=Ut.session,Ut.customIceServers!=null&&Ut.customIceServers.length>0){this.openvidu.iceServers=[];for(var Xt=0,_t=Ut.customIceServers;Xt<_t.length;Xt++){var Mt=_t[Xt],jt={urls:[Mt.url]};Lt.log("STUN/TURN server IP: "+Mt.url),Mt.username!=null&&Mt.credential!=null&&(jt.username=Mt.username,jt.credential=Mt.credential,Lt.log("TURN credentials ["+Mt.username+":"+Mt.credential+"]")),this.openvidu.iceServers.push(jt)}}this.openvidu.role=Ut.role,this.openvidu.finalUserId=Ut.finalUserId,this.openvidu.mediaServer=Ut.mediaServer,this.openvidu.videoSimulcast=Ut.videoSimulcast,this.capabilities={subscribe:!0,publish:this.openvidu.role!=="SUBSCRIBER",forceUnpublish:this.openvidu.role==="MODERATOR",forceDisconnect:this.openvidu.role==="MODERATOR"},Lt.info("openvidu-server version: "+Ut.version),Ut.life!=null&&(this.openvidu.life=Ut.life);var zt=Dt(Ut.version)-Dt(this.openvidu.libraryVersion);Pt(Ut.version)!==Pt(this.openvidu.libraryVersion)||!(zt==0||zt==1)?Lt.error("openvidu-browser (".concat(this.openvidu.libraryVersion,") and openvidu-server (").concat(Ut.version,") versions are incompatible. ")+"Errors are likely to occur. openvidu-browser SDK is only compatible with the same version or the immediately following minor version of an OpenVidu deployment"):zt==1&&Lt.warn("openvidu-browser version ".concat(this.openvidu.libraryVersion," does not match openvidu-server version ").concat(Ut.version,". ")+"These versions are still compatible with each other, but openvidu-browser version must be updated as soon as possible to ".concat(Pt(Ut.version),".").concat(Dt(Ut.version),".x. ")+"This client using openvidu-browser ".concat(this.openvidu.libraryVersion," will become incompatible with the next release of openvidu-server")),Tt.OpenViduLogger.configureJSNLog(this.openvidu,Ft),this.token=Ft},Ht}(ht.EventDispatcher);return Session.Session=$t,Session}var hasRequiredPublisher;function requirePublisher(){if(hasRequiredPublisher)return Publisher;hasRequiredPublisher=1;var Be=commonjsGlobal&&commonjsGlobal.__extends||function(){var bt=function(wt,It){return bt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Rt,Tt){Rt.__proto__=Tt}||function(Rt,Tt){for(var Bt in Tt)Object.prototype.hasOwnProperty.call(Tt,Bt)&&(Rt[Bt]=Tt[Bt])},bt(wt,It)};return function(wt,It){if(typeof It!="function"&&It!==null)throw new TypeError("Class extends value "+String(It)+" is not a constructor or null");bt(wt,It);function Rt(){this.constructor=wt}wt.prototype=It===null?Object.create(It):(Rt.prototype=It.prototype,new Rt)}}(),Le=commonjsGlobal&&commonjsGlobal.__awaiter||function(bt,wt,It,Rt){function Tt(Bt){return Bt instanceof It?Bt:new It(function(Pt){Pt(Bt)})}return new(It||(It=Promise))(function(Bt,Pt){function Dt(Wt){try{Lt(Rt.next(Wt))}catch($t){Pt($t)}}function Ot(Wt){try{Lt(Rt.throw(Wt))}catch($t){Pt($t)}}function Lt(Wt){Wt.done?Bt(Wt.value):Tt(Wt.value).then(Dt,Ot)}Lt((Rt=Rt.apply(bt,wt||[])).next())})},Ye=commonjsGlobal&&commonjsGlobal.__generator||function(bt,wt){var It={label:0,sent:function(){if(Bt[0]&1)throw Bt[1];return Bt[1]},trys:[],ops:[]},Rt,Tt,Bt,Pt;return Pt={next:Dt(0),throw:Dt(1),return:Dt(2)},typeof Symbol=="function"&&(Pt[Symbol.iterator]=function(){return this}),Pt;function Dt(Lt){return function(Wt){return Ot([Lt,Wt])}}function Ot(Lt){if(Rt)throw new TypeError("Generator is already executing.");for(;Pt&&(Pt=0,Lt[0]&&(It=0)),It;)try{if(Rt=1,Tt&&(Bt=Lt[0]&2?Tt.return:Lt[0]?Tt.throw||((Bt=Tt.return)&&Bt.call(Tt),0):Tt.next)&&!(Bt=Bt.call(Tt,Lt[1])).done)return Bt;switch(Tt=0,Bt&&(Lt=[Lt[0]&2,Bt.value]),Lt[0]){case 0:case 1:Bt=Lt;break;case 4:return It.label++,{value:Lt[1],done:!1};case 5:It.label++,Tt=Lt[1],Lt=[0];continue;case 7:Lt=It.ops.pop(),It.trys.pop();continue;default:if(Bt=It.trys,!(Bt=Bt.length>0&&Bt[Bt.length-1])&&(Lt[0]===6||Lt[0]===2)){It=0;continue}if(Lt[0]===3&&(!Bt||Lt[1]>Bt[0]&&Lt[1]<Bt[3])){It.label=Lt[1];break}if(Lt[0]===6&&It.label<Bt[1]){It.label=Bt[1],Bt=Lt;break}if(Bt&&It.label<Bt[2]){It.label=Bt[2],It.ops.push(Lt);break}Bt[2]&&It.ops.pop(),It.trys.pop();continue}Lt=wt.call(bt,It)}catch(Wt){Lt=[6,Wt],Tt=0}finally{Rt=Bt=0}if(Lt[0]&5)throw Lt[1];return{value:Lt[0]?Lt[1]:void 0,done:!0}}};Object.defineProperty(Publisher,"__esModule",{value:!0}),Publisher.Publisher=void 0;var tt=requireSession(),nt=Stream$2,ft=StreamManager$1,ht=requireStreamEvent(),gt=StreamPropertyChangedEvent$1,At=OpenViduError,xt=OpenViduLogger$1,yt=Platform,Ct=TypeOfVideo,Et=xt.OpenViduLogger.getInstance(),vt,kt=function(bt){Be(wt,bt);function wt(It,Rt,Tt){var Bt=bt.call(this,new nt.Stream(Tt.session?Tt.session:new tt.Session(Tt),{publisherProperties:Rt,mediaConstraints:{}}),It)||this;return Bt.accessAllowed=!1,Bt.isSubscribedToRemote=!1,Bt.accessDenied=!1,vt=yt.PlatformUtils.getInstance(),Bt.properties=Rt,Bt.openvidu=Tt,Bt.stream.ee.on("local-stream-destroyed",function(Pt){Bt.stream.isLocalStreamPublished=!1;var Dt=new ht.StreamEvent(!0,Bt,"streamDestroyed",Bt.stream,Pt);Bt.emitEvent("streamDestroyed",[Dt]),Dt.callDefaultBehavior()}),Bt}return wt.prototype.publishAudio=function(It){var Rt=this;if(this.stream.audioActive!==It){var Tt=this.stream.displayMyRemote()?this.stream.localMediaStreamWhenSubscribedToRemote:this.stream.getMediaStream();Tt.getAudioTracks().forEach(function(Bt){Bt.enabled=It}),this.session&&this.stream.streamId&&this.session.openvidu.sendRequest("streamPropertyChanged",{streamId:this.stream.streamId,property:"audioActive",newValue:It,reason:"publishAudio"},function(Bt,Pt){Bt?Et.error("Error sending 'streamPropertyChanged' event",Bt):(Rt.session.emitEvent("streamPropertyChanged",[new gt.StreamPropertyChangedEvent(Rt.session,Rt.stream,"audioActive",It,!It,"publishAudio")]),Rt.emitEvent("streamPropertyChanged",[new gt.StreamPropertyChangedEvent(Rt,Rt.stream,"audioActive",It,!It,"publishAudio")]),Rt.session.sendVideoData(Rt.stream.streamManager))}),this.stream.audioActive=It,Et.info("'Publisher' has "+(It?"published":"unpublished")+" its audio stream")}},wt.prototype.publishVideo=function(It,Rt){var Tt=this;return new Promise(function(Bt,Pt){return Le(Tt,void 0,void 0,function(){var Dt,Ot,Lt,Wt,$t,qt,Ht=this;return Ye(this,function(Ut){switch(Ut.label){case 0:return this.stream.videoActive===It?[3,9]:(Dt=this.stream.displayMyRemote()?this.stream.localMediaStreamWhenSubscribedToRemote:this.stream.getMediaStream(),Ot=!1,Dt.getVideoTracks().forEach(function(Ft){Ft.enabled=It,!It&&Rt===!0?Ft.stop():It&&Ft.readyState==="ended"&&(Ot=!0)}),!It&&Rt===!0&&this.stream.filter&&this.stream.filter.type.startsWith("VB:")?(this.stream.lastVBFilter=this.stream.filter,[4,this.stream.removeFilterAux(!0)]):[3,2]);case 1:Ut.sent(),Ut.label=2;case 2:return Ot?(Lt=Dt.getVideoTracks()[0],Dt.removeTrack(Lt),Wt=function(Ft){return Le(Ht,void 0,void 0,function(){var Xt=this;return Ye(this,function(_t){switch(_t.label){case 0:return Dt.addTrack(Ft),this.stream.isLocalStreamPublished?[4,this.replaceTrackInRtcRtpSender(Ft)]:[3,2];case 1:_t.sent(),_t.label=2;case 2:return this.stream.lastVBFilter&&setTimeout(function(){return Le(Xt,void 0,void 0,function(){var Mt,jt;return Ye(this,function(zt){switch(zt.label){case 0:return Mt=this.stream.lastVBFilter.options,jt=this.stream.lastVBFilter.lastExecMethod,jt&&jt.method==="update"&&(Mt=Object.assign({},Mt,jt.params)),[4,this.stream.applyFilter(this.stream.lastVBFilter.type,Mt)];case 1:return zt.sent(),delete this.stream.lastVBFilter,[2]}})})},1),[2]}})})},Rt&&Rt instanceof MediaStreamTrack?[4,Wt(Rt)]:[3,4]):[3,8];case 3:return Ut.sent(),[3,8];case 4:return Ut.trys.push([4,7,,8]),[4,navigator.mediaDevices.getUserMedia({audio:!1,video:this.stream.lastVideoTrackConstraints})];case 5:return $t=Ut.sent(),[4,Wt($t.getVideoTracks()[0])];case 6:return Ut.sent(),[3,8];case 7:return qt=Ut.sent(),[2,Pt(qt)];case 8:return this.session&&this.stream.streamId&&this.session.openvidu.sendRequest("streamPropertyChanged",{streamId:this.stream.streamId,property:"videoActive",newValue:It,reason:"publishVideo"},function(Ft,Xt){Ft?Et.error("Error sending 'streamPropertyChanged' event",Ft):(Ht.session.emitEvent("streamPropertyChanged",[new gt.StreamPropertyChangedEvent(Ht.session,Ht.stream,"videoActive",It,!It,"publishVideo")]),Ht.emitEvent("streamPropertyChanged",[new gt.StreamPropertyChangedEvent(Ht,Ht.stream,"videoActive",It,!It,"publishVideo")]),Ht.session.sendVideoData(Ht.stream.streamManager))}),this.stream.videoActive=It,Et.info("'Publisher' has "+(It?"published":"unpublished")+" its video stream"),[2,Bt()];case 9:return[2]}})})})},wt.prototype.subscribeToRemote=function(It){It=It!==void 0?It:!0,this.isSubscribedToRemote=It,this.stream.subscribeToMyRemote(It)},wt.prototype.on=function(It,Rt){var Tt=this;return bt.prototype.on.call(this,It,Rt),It==="streamCreated"&&(this.stream&&this.stream.isLocalStreamPublished?this.emitEvent("streamCreated",[new ht.StreamEvent(!1,this,"streamCreated",this.stream,"")]):this.stream.ee.on("stream-created-by-publisher",function(){Tt.emitEvent("streamCreated",[new ht.StreamEvent(!1,Tt,"streamCreated",Tt.stream,"")])})),It==="accessAllowed"&&this.accessAllowed&&this.emitEvent("accessAllowed",[]),It==="accessDenied"&&this.accessDenied&&this.emitEvent("accessDenied",[]),this},wt.prototype.once=function(It,Rt){var Tt=this;return bt.prototype.once.call(this,It,Rt),It==="streamCreated"&&(this.stream&&this.stream.isLocalStreamPublished?this.emitEvent("streamCreated",[new ht.StreamEvent(!1,this,"streamCreated",this.stream,"")]):this.stream.ee.once("stream-created-by-publisher",function(){Tt.emitEvent("streamCreated",[new ht.StreamEvent(!1,Tt,"streamCreated",Tt.stream,"")])})),It==="accessAllowed"&&this.accessAllowed&&this.emitEvent("accessAllowed",[]),It==="accessDenied"&&this.accessDenied&&this.emitEvent("accessDenied",[]),this},wt.prototype.off=function(It,Rt){return bt.prototype.off.call(this,It,Rt),this},wt.prototype.replaceTrack=function(It){return Le(this,void 0,void 0,function(){return Ye(this,function(Rt){return[2,this.replaceTrackAux(It,!0)]})})},wt.prototype.initialize=function(){var It=this;return new Promise(function(Rt,Tt){return Le(It,void 0,void 0,function(){var Bt,Pt,Dt,Ot,Lt,Wt,$t,qt,Ht,Ut,Ft,Xt,Xt,_t,Mt,jt=this,zt,Gt;return Ye(this,function(Yt){switch(Yt.label){case 0:Bt={},Pt={},Dt=2e3,Lt=function(ar){return jt.accessDenied=!0,jt.accessAllowed=!1,Et.error("Publisher initialization failed. ".concat(ar.name,": ").concat(ar.message)),Tt(ar)},Wt=function(ar){var tr,sr;if(jt.accessAllowed=!0,jt.accessDenied=!1,typeof MediaStreamTrack<"u"&&jt.properties.audioSource instanceof MediaStreamTrack&&(ar.removeTrack(ar.getAudioTracks()[0]),ar.addTrack(jt.properties.audioSource)),typeof MediaStreamTrack<"u"&&jt.properties.videoSource instanceof MediaStreamTrack&&(ar.removeTrack(ar.getVideoTracks()[0]),ar.addTrack(jt.properties.videoSource)),ar.getAudioTracks()[0]){var dr=jt.stream.audioActive!==void 0&&jt.stream.audioActive!==null?jt.stream.audioActive:!!jt.stream.outboundStreamOpts.publisherProperties.publishAudio;ar.getAudioTracks()[0].enabled=dr}if(ar.getVideoTracks()[0]){var dr=jt.stream.videoActive!==void 0&&jt.stream.videoActive!==null?jt.stream.videoActive:!!jt.stream.outboundStreamOpts.publisherProperties.publishVideo;ar.getVideoTracks()[0].enabled=dr}for(var rr=0,gr=ar.getAudioTracks();rr<gr.length;rr++){var yr=gr[rr];!((tr=yr.contentHint)===null||tr===void 0)&&tr.length||(yr.contentHint="",Et.info("Audio track Content Hint set: '".concat(yr.contentHint,"'")))}for(var or=0,ir=ar.getVideoTracks();or<ir.length;or++){var yr=ir[or];if(!(!((sr=yr.contentHint)===null||sr===void 0)&&sr.length)){switch(jt.stream.typeOfVideo){case Ct.TypeOfVideo.SCREEN:yr.contentHint="detail";break;case Ct.TypeOfVideo.CUSTOM:Et.warn("CUSTOM type video track was provided without Content Hint!"),yr.contentHint="motion";break;case Ct.TypeOfVideo.CAMERA:case Ct.TypeOfVideo.IPCAM:default:yr.contentHint="motion";break}Et.info("Video track Content Hint set: '".concat(yr.contentHint,"'"))}}return jt.initializeVideoReference(ar),jt.stream.displayMyRemote()||jt.stream.updateMediaStreamInVideos(),delete jt.firstVideoElement,jt.stream.isSendVideo()?jt.getVideoDimensions().then(function(Zt){jt.stream.videoDimensions={width:Zt.width,height:Zt.height},jt.stream.isSendScreen()&&(jt.stream.isSendAudio()&&ar.getAudioTracks().length===0&&(jt.stream.audioActive=!1,jt.stream.hasAudio=!1,jt.stream.outboundStreamOpts.publisherProperties.publishAudio=!1,jt.stream.outboundStreamOpts.publisherProperties.audioSource=!1),jt.screenShareResizeInterval=setInterval(function(){var Qt=ar.getVideoTracks()[0].getSettings(),er=Qt.width,nr=Qt.height,lr=er!=null&&er!==jt.stream.videoDimensions.width,hr=nr!=null&&nr!==jt.stream.videoDimensions.height;jt.stream.isLocalStreamPublished&&(lr||hr)&&jt.openvidu.sendVideoDimensionsChangedEvent(jt,"screenResized",jt.stream.videoDimensions.width,jt.stream.videoDimensions.height,er||0,nr||0)},650)),jt.stream.isLocalStreamReadyToPublish=!0,jt.stream.ee.emitEvent("stream-ready-to-publish",[])}):(jt.stream.isLocalStreamReadyToPublish=!0,jt.stream.ee.emitEvent("stream-ready-to-publish",[])),Rt()},$t=function(ar,tr){return Le(jt,void 0,void 0,function(){var sr,dr;return Ye(this,function(rr){switch(rr.label){case 0:if(this.clearPermissionDialogTimer(Ot,Dt),!(this.stream.isSendScreen()&&this.properties.audioSource!=="screen"&&this.stream.isSendAudio()))return[3,5];Pt.audio=tr,Pt.video=!1,Ot=Date.now(),this.setPermissionDialogTimer(Dt),rr.label=1;case 1:return rr.trys.push([1,3,,4]),[4,navigator.mediaDevices.getUserMedia(Pt)];case 2:return sr=rr.sent(),this.clearPermissionDialogTimer(Ot,Dt),ar.addTrack(sr.getAudioTracks()[0]),Wt(ar),[3,4];case 3:return dr=rr.sent(),this.clearPermissionDialogTimer(Ot,Dt),ar.getAudioTracks().forEach(function(gr){gr.stop()}),ar.getVideoTracks().forEach(function(gr){gr.stop()}),Lt(this.openvidu.generateAudioDeviceError(dr,Bt)),[2];case 4:return[3,6];case 5:Wt(ar),rr.label=6;case 6:return[2]}})})},qt=function(ar){return Le(jt,void 0,void 0,function(){var tr,sr,dr,gr,rr,gr,yr;return Ye(this,function(or){switch(or.label){case 0:switch(Et.error("getMediaError: ".concat(ar.toString())),this.clearPermissionDialogTimer(Ot,Dt),ar.name==="Error"&&(ar.name=ar.constructor.name),dr=ar.name.toLowerCase(),dr){case"notfounderror":return[3,1];case"notallowederror":return[3,5];case"overconstrainederror":return[3,6];case"aborterror":return[3,10];case"notreadableerror":return[3,10]}return[3,11];case 1:return or.trys.push([1,3,,4]),[4,navigator.mediaDevices.getUserMedia({audio:!1,video:Bt.video})];case 2:return gr=or.sent(),gr.getVideoTracks().forEach(function(ir){ir.stop()}),tr=At.OpenViduErrorName.INPUT_AUDIO_DEVICE_NOT_FOUND,sr=ar.toString(),Lt(new At.OpenViduError(tr,sr)),[3,4];case 3:return rr=or.sent(),tr=At.OpenViduErrorName.INPUT_VIDEO_DEVICE_NOT_FOUND,sr=rr.toString(),Lt(new At.OpenViduError(tr,sr)),[3,4];case 4:return[3,12];case 5:return tr=this.stream.isSendScreen()?At.OpenViduErrorName.SCREEN_CAPTURE_DENIED:At.OpenViduErrorName.DEVICE_ACCESS_DENIED,sr=ar.toString(),Lt(new At.OpenViduError(tr,sr)),[3,12];case 6:return or.trys.push([6,8,,9]),[4,navigator.mediaDevices.getUserMedia({audio:!1,video:Bt.video})];case 7:return gr=or.sent(),gr.getVideoTracks().forEach(function(ir){ir.stop()}),ar.constraint.toLowerCase()==="deviceid"?(tr=At.OpenViduErrorName.INPUT_AUDIO_DEVICE_NOT_FOUND,sr="Audio input device with deviceId '"+Bt.audio.deviceId.exact+"' not found"):(tr=At.OpenViduErrorName.PUBLISHER_PROPERTIES_ERROR,sr="Audio input device doesn't support the value passed for constraint '"+ar.constraint+"'"),Lt(new At.OpenViduError(tr,sr)),[3,9];case 8:return yr=or.sent(),yr.constraint.toLowerCase()==="deviceid"?(tr=At.OpenViduErrorName.INPUT_VIDEO_DEVICE_NOT_FOUND,sr="Video input device with deviceId '"+Bt.video.deviceId.exact+"' not found"):(tr=At.OpenViduErrorName.PUBLISHER_PROPERTIES_ERROR,sr="Video input device doesn't support the value passed for constraint '"+yr.constraint+"'"),Lt(new At.OpenViduError(tr,sr)),[3,9];case 9:return[3,12];case 10:return tr=At.OpenViduErrorName.DEVICE_ALREADY_IN_USE,sr=ar.toString(),Lt(new At.OpenViduError(tr,sr)),[3,12];case 11:return tr=At.OpenViduErrorName.GENERIC_ERROR,sr=ar.toString(),Lt(new At.OpenViduError(tr,sr)),[3,12];case 12:return[2]}})})},Yt.label=1;case 1:return Yt.trys.push([1,14,,15]),[4,this.openvidu.generateMediaConstraints(this.properties)];case 2:return Ht=Yt.sent(),Ht.videoTrack&&Ht.audioTrack||Ht.audioTrack&&((zt=Ht.constraints)===null||zt===void 0?void 0:zt.video)===!1||Ht.videoTrack&&((Gt=Ht.constraints)===null||Gt===void 0?void 0:Gt.audio)===!1?(Wt(this.openvidu.addAlreadyProvidedTracks(Ht,new MediaStream,this.stream)),[3,13]):[3,3];case 3:Bt=Ht.constraints,Ut={mediaConstraints:Bt,publisherProperties:this.properties},this.stream.setOutboundStreamOptions(Ut),Ft=Bt.audio===void 0?!0:Bt.audio,Pt.audio=this.stream.isSendScreen()?!1:Ft,Pt.video=Bt.video,Ot=Date.now(),this.setPermissionDialogTimer(Dt),Yt.label=4;case 4:return Yt.trys.push([4,11,,13]),this.stream.isSendScreen()&&navigator.mediaDevices.getDisplayMedia&&!vt.isElectron()?[4,navigator.mediaDevices.getDisplayMedia({video:!0,audio:this.properties.audioSource==="screen"})]:[3,7];case 5:return Xt=Yt.sent(),this.openvidu.addAlreadyProvidedTracks(Ht,Xt),[4,$t(Xt,Ft)];case 6:return Yt.sent(),[3,10];case 7:return this.stream.lastVideoTrackConstraints=Pt.video,[4,navigator.mediaDevices.getUserMedia(Pt)];case 8:return Xt=Yt.sent(),this.openvidu.addAlreadyProvidedTracks(Ht,Xt,this.stream),[4,$t(Xt,Ft)];case 9:Yt.sent(),Yt.label=10;case 10:return[3,13];case 11:return _t=Yt.sent(),[4,qt(_t)];case 12:return Yt.sent(),[3,13];case 13:return[3,15];case 14:return Mt=Yt.sent(),Lt(Mt),[3,15];case 15:return[2]}})})})},wt.prototype.replaceTrackAux=function(It,Rt){return Le(this,void 0,void 0,function(){var Tt,Bt;return Ye(this,function(Pt){switch(Pt.label){case 0:Tt=It.enabled,It.kind==="video"?It.enabled=this.stream.videoActive:It.kind==="audio"&&(It.enabled=this.stream.audioActive),Pt.label=1;case 1:return Pt.trys.push([1,5,,6]),this.stream.isLocalStreamPublished?(this.replaceTrackInMediaStream(It,Rt),[4,this.replaceTrackInRtcRtpSender(It)]):[3,3];case 2:return[2,Pt.sent()];case 3:return[2,this.replaceTrackInMediaStream(It,Rt)];case 4:return[3,6];case 5:throw Bt=Pt.sent(),It.enabled=Tt,Bt;case 6:return[2]}})})},wt.prototype.getVideoDimensions=function(){var It=this;return new Promise(function(Rt,Tt){var Bt=(vt.isIonicIos()||vt.isIOSWithSafari())&&It.videoReference.readyState<1,Pt,Dt=function(){var Ot,Lt;if(typeof It.stream.getMediaStream().getVideoTracks()[0].getSettings=="function"){var Wt=It.stream.getMediaStream().getVideoTracks()[0].getSettings();Ot=Wt.width||It.videoReference.videoWidth,Lt=Wt.height||It.videoReference.videoHeight}else Et.warn("MediaStreamTrack does not have getSettings method on "+vt.getDescription()),Ot=It.videoReference.videoWidth,Lt=It.videoReference.videoHeight;return Pt!=null&&It.videoReference.removeEventListener("loadedmetadata",Pt),Bt&&document.body.removeChild(It.videoReference),Rt({width:Ot,height:Lt})};It.videoReference.readyState>=1?Dt():(Pt=function(){if(It.videoReference.videoWidth)Dt();else var Ot=setInterval(function(){It.videoReference.videoWidth&&(clearInterval(Ot),Dt())},40)},It.videoReference.addEventListener("loadedmetadata",Pt),Bt&&document.body.appendChild(It.videoReference))})},wt.prototype.reestablishStreamPlayingEvent=function(){this.ee.getListeners("streamPlaying").length>0&&this.addPlayEventToFirstVideo()},wt.prototype.initializeVideoReference=function(It){this.videoReference=document.createElement("video"),this.videoReference.style.display="none",this.videoReference.muted=!0,this.videoReference.autoplay=!0,this.videoReference.controls=!1,(vt.isSafariBrowser()||vt.isIPhoneOrIPad()&&(vt.isChromeMobileBrowser()||vt.isEdgeMobileBrowser()||vt.isOperaMobileBrowser()||vt.isFirefoxMobileBrowser()))&&(this.videoReference.playsInline=!0),this.stream.setMediaStream(It),this.firstVideoElement&&this.createVideoElement(this.firstVideoElement.targetElement,this.properties.insertMode),this.videoReference.srcObject=this.stream.getMediaStream()},wt.prototype.replaceTrackInMediaStream=function(It,Rt){var Tt=this.stream.displayMyRemote()?this.stream.localMediaStreamWhenSubscribedToRemote:this.stream.getMediaStream(),Bt;It.kind==="video"?(Bt=Tt.getVideoTracks()[0],Rt&&(this.stream.lastVideoTrackConstraints=It.getConstraints())):Bt=Tt.getAudioTracks()[0],Bt.enabled=!1,Bt.stop(),Tt.removeTrack(Bt),Tt.addTrack(It);var Pt={oldLabel:(Bt==null?void 0:Bt.label)||"",newLabel:(It==null?void 0:It.label)||""};It.kind==="video"&&Rt?(this.openvidu.sendNewVideoDimensionsIfRequired(this,"trackReplaced",50,30),this.openvidu.sendTrackChangedEvent(this,Pt.oldLabel,Pt.newLabel,"videoTrack"),this.stream.isLocalStreamPublished&&this.session.sendVideoData(this.stream.streamManager,5,!0,5)):It.kind==="audio"&&Rt&&this.openvidu.sendTrackChangedEvent(this,Pt.oldLabel,Pt.newLabel,"audioTrack"),It.kind==="audio"&&(this.stream.disableHarkSpeakingEvent(!1),this.stream.disableHarkStoppedSpeakingEvent(!1),this.stream.disableHarkVolumeChangeEvent(!1),this.stream.initHarkEvents())},wt.prototype.setPermissionDialogTimer=function(It){var Rt=this;this.permissionDialogTimeout=setTimeout(function(){Rt.emitEvent("accessDialogOpened",[])},It)},wt.prototype.clearPermissionDialogTimer=function(It,Rt){clearTimeout(this.permissionDialogTimeout),Date.now()-It>Rt&&this.emitEvent("accessDialogClosed",[])},wt.prototype.replaceTrackInRtcRtpSender=function(It){return Le(this,void 0,void 0,function(){var Rt,Tt;return Ye(this,function(Bt){switch(Bt.label){case 0:if(Rt=this.stream.getRTCPeerConnection().getSenders(),It.kind==="video"){if(Tt=Rt.find(function(Pt){return!!Pt.track&&Pt.track.kind==="video"}),!Tt)throw new Error("There's no replaceable track for that kind of MediaStreamTrack in this Publisher object")}else if(It.kind==="audio"){if(Tt=Rt.find(function(Pt){return!!Pt.track&&Pt.track.kind==="audio"}),!Tt)throw new Error("There's no replaceable track for that kind of MediaStreamTrack in this Publisher object")}else throw new Error("Unknown track kind "+It.kind);return[4,Tt.replaceTrack(It)];case 1:return Bt.sent(),[2]}})})},wt}(ft.StreamManager);return Publisher.Publisher=kt,Publisher}var ScreenCapturingAuto={};globalThis.getScreenId=function(Be,Le,Ye){if(navigator.userAgent.indexOf("Edge")!==-1&&(navigator.msSaveOrOpenBlob||navigator.msSaveBlob)){Le({video:!0});return}if(navigator.mozGetUserMedia){Le(null,"firefox",{video:{mozMediaSource:Be,mediaSource:Be}});return}globalThis.addEventListener("message",tt);function tt(nt){nt.data&&(nt.data.chromeMediaSourceId&&(nt.data.chromeMediaSourceId==="PermissionDeniedError"?Le("permission-denied"):Le(null,nt.data.chromeMediaSourceId,getScreenConstraints$1(null,nt.data.chromeMediaSourceId,nt.data.canRequestAudioTrack)),globalThis.removeEventListener("message",tt)),nt.data.chromeExtensionStatus&&(Le(nt.data.chromeExtensionStatus,null,getScreenConstraints$1(nt.data.chromeExtensionStatus)),globalThis.removeEventListener("message",tt)))}setTimeout(Ye?function(){postGetSourceIdMessage(Ye)}:postGetSourceIdMessage,100)};function getScreenConstraints$1(Be,Le,Ye){var tt={audio:!1,video:{mandatory:{chromeMediaSource:Be?"screen":"desktop",maxWidth:globalThis.screen.width>1920?globalThis.screen.width:1920,maxHeight:globalThis.screen.height>1080?globalThis.screen.height:1080},optional:[]}};return Ye&&(tt.audio={mandatory:{chromeMediaSource:Be?"screen":"desktop"},optional:[]}),Le&&(tt.video.mandatory.chromeMediaSourceId=Le,tt.audio&&tt.audio.mandatory&&(tt.audio.mandatory.chromeMediaSourceId=Le)),tt}function postGetSourceIdMessage(Be){if(!iframe){loadIFrame(function(){postGetSourceIdMessage(Be)});return}if(!iframe.isLoaded){setTimeout(function(){postGetSourceIdMessage(Be)},100);return}Be?Be.forEach?iframe.contentWindow.postMessage({captureCustomSourceId:Be},"*"):iframe.contentWindow.postMessage({captureSourceIdWithAudio:!0},"*"):iframe.contentWindow.postMessage({captureSourceId:!0},"*")}var iframe;globalThis.getScreenConstraints=function(Be){loadIFrame(function(){getScreenId(function(Le,Ye,tt){tt||(tt={video:!0}),Be(Le,tt.video)})})};function loadIFrame(Be){if(iframe){Be();return}iframe=document.createElement("iframe"),iframe.onload=function(){iframe.isLoaded=!0,Be()},iframe.src="https://openvidu.github.io/openvidu-screen-sharing-chrome-extension/",iframe.style.display="none",(document.body||document.documentElement).appendChild(iframe)}globalThis.getChromeExtensionStatus=function(Be){if(navigator.mozGetUserMedia){Be("installed-enabled");return}globalThis.addEventListener("message",Le);function Le(Ye){Ye.data&&Ye.data.chromeExtensionStatus&&(Be(Ye.data.chromeExtensionStatus),globalThis.removeEventListener("message",Le))}setTimeout(postGetChromeExtensionStatusMessage,100)};function postGetChromeExtensionStatusMessage(){if(!iframe){loadIFrame(postGetChromeExtensionStatusMessage);return}if(!iframe.isLoaded){setTimeout(postGetChromeExtensionStatusMessage,100);return}iframe.contentWindow.postMessage({getChromeExtensionStatus:!0},"*")}ScreenCapturingAuto.getScreenId=globalThis.getScreenId;var ScreenCapturing={},chromeMediaSource="screen",sourceId,screenCallback;if(typeof window<"u"&&typeof navigator<"u"&&typeof navigator.userAgent<"u"){var isFirefox=typeof window.InstallTrigger<"u";window.opera||navigator.userAgent.indexOf(" OPR/")>=0,window.addEventListener("message",function(Be){Be.origin==window.location.origin&&onMessageCallback(Be.data)})}function onMessageCallback(Be){if(Be=="PermissionDeniedError"){if(screenCallback)return screenCallback("PermissionDeniedError");throw new Error("PermissionDeniedError")}Be=="rtcmulticonnection-extension-loaded"&&(chromeMediaSource="desktop"),Be.sourceId&&screenCallback&&screenCallback(sourceId=Be.sourceId,Be.canRequestAudioTrack===!0)}function isChromeExtensionAvailable(Be){if(Be){if(chromeMediaSource=="desktop")return Be(!0);window.postMessage("are-you-there","*"),setTimeout(function(){chromeMediaSource=="screen"?Be(!1):Be(!0)},2e3)}}function getSourceId(Be){if(!Be)throw'"callback" parameter is mandatory.';if(sourceId)return Be(sourceId);screenCallback=Be,window.postMessage("get-sourceId","*")}function getSourceIdWithAudio(Be){if(!Be)throw'"callback" parameter is mandatory.';if(sourceId)return Be(sourceId);screenCallback=Be,window.postMessage("audio-plus-tab","*")}function getChromeExtensionStatus(Be,Le){if(isFirefox)return Le("not-chrome");arguments.length!=2&&(Le=Be,Be="lfcgfepafnobdloecchnfaclibenjold");var Ye=document.createElement("img");Ye.src="chrome-extension://"+Be+"/icon.png",Ye.onload=function(){chromeMediaSource="screen",window.postMessage("are-you-there","*"),setTimeout(function(){chromeMediaSource=="screen"?Le("installed-disabled"):Le("installed-enabled")},2e3)},Ye.onerror=function(){Le("not-installed")}}function getScreenConstraintsWithAudio(Be){getScreenConstraints(Be,!0)}function getScreenConstraints(Be,Le){sourceId="";var Ye={mozMediaSource:"window",mediaSource:"window"};if(isFirefox)return Be(null,Ye);var tt={mandatory:{chromeMediaSource,maxWidth:screen.width>1920?screen.width:1920,maxHeight:screen.height>1080?screen.height:1080},optional:[]};if(chromeMediaSource=="desktop"&&!sourceId){Le?getSourceIdWithAudio(function(nt,ft){tt.mandatory.chromeMediaSourceId=nt,ft&&(tt.canRequestAudioTrack=!0),Be(nt=="PermissionDeniedError"?nt:null,tt)}):getSourceId(function(nt){tt.mandatory.chromeMediaSourceId=nt,Be(nt=="PermissionDeniedError"?nt:null,tt)});return}chromeMediaSource=="desktop"&&(tt.mandatory.chromeMediaSourceId=sourceId),Be(null,tt)}ScreenCapturing.getScreenConstraints=getScreenConstraints,ScreenCapturing.getScreenConstraintsWithAudio=getScreenConstraintsWithAudio,ScreenCapturing.isChromeExtensionAvailable=isChromeExtensionAvailable,ScreenCapturing.getChromeExtensionStatus=getChromeExtensionStatus,ScreenCapturing.getSourceId=getSourceId;var events$2={exports:{}},R=typeof Reflect=="object"?Reflect:null,ReflectApply=R&&typeof R.apply=="function"?R.apply:function Be(Le,Ye,tt){return Function.prototype.apply.call(Le,Ye,tt)},ReflectOwnKeys;R&&typeof R.ownKeys=="function"?ReflectOwnKeys=R.ownKeys:Object.getOwnPropertySymbols?ReflectOwnKeys=function(Le){return Object.getOwnPropertyNames(Le).concat(Object.getOwnPropertySymbols(Le))}:ReflectOwnKeys=function(Le){return Object.getOwnPropertyNames(Le)};function ProcessEmitWarning(Be){console&&console.warn&&console.warn(Be)}var NumberIsNaN=Number.isNaN||function Be(Le){return Le!==Le};function EventEmitter$1(){EventEmitter$1.init.call(this)}events$2.exports=EventEmitter$1,events$2.exports.once=once,EventEmitter$1.EventEmitter=EventEmitter$1,EventEmitter$1.prototype._events=void 0,EventEmitter$1.prototype._eventsCount=0,EventEmitter$1.prototype._maxListeners=void 0;var defaultMaxListeners=10;function checkListener(Be){if(typeof Be!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof Be)}Object.defineProperty(EventEmitter$1,"defaultMaxListeners",{enumerable:!0,get:function(){return defaultMaxListeners},set:function(Be){if(typeof Be!="number"||Be<0||NumberIsNaN(Be))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+Be+".");defaultMaxListeners=Be}}),EventEmitter$1.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},EventEmitter$1.prototype.setMaxListeners=function Be(Le){if(typeof Le!="number"||Le<0||NumberIsNaN(Le))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+Le+".");return this._maxListeners=Le,this};function _getMaxListeners(Be){return Be._maxListeners===void 0?EventEmitter$1.defaultMaxListeners:Be._maxListeners}EventEmitter$1.prototype.getMaxListeners=function Be(){return _getMaxListeners(this)},EventEmitter$1.prototype.emit=function Be(Le){for(var Ye=[],tt=1;tt<arguments.length;tt++)Ye.push(arguments[tt]);var nt=Le==="error",ft=this._events;if(ft!==void 0)nt=nt&&ft.error===void 0;else if(!nt)return!1;if(nt){var ht;if(Ye.length>0&&(ht=Ye[0]),ht instanceof Error)throw ht;var gt=new Error("Unhandled error."+(ht?" ("+ht.message+")":""));throw gt.context=ht,gt}var At=ft[Le];if(At===void 0)return!1;if(typeof At=="function")ReflectApply(At,this,Ye);else for(var xt=At.length,yt=arrayClone(At,xt),tt=0;tt<xt;++tt)ReflectApply(yt[tt],this,Ye);return!0};function _addListener(Be,Le,Ye,tt){var nt,ft,ht;if(checkListener(Ye),ft=Be._events,ft===void 0?(ft=Be._events=Object.create(null),Be._eventsCount=0):(ft.newListener!==void 0&&(Be.emit("newListener",Le,Ye.listener?Ye.listener:Ye),ft=Be._events),ht=ft[Le]),ht===void 0)ht=ft[Le]=Ye,++Be._eventsCount;else if(typeof ht=="function"?ht=ft[Le]=tt?[Ye,ht]:[ht,Ye]:tt?ht.unshift(Ye):ht.push(Ye),nt=_getMaxListeners(Be),nt>0&&ht.length>nt&&!ht.warned){ht.warned=!0;var gt=new Error("Possible EventEmitter memory leak detected. "+ht.length+" "+String(Le)+" listeners added. Use emitter.setMaxListeners() to increase limit");gt.name="MaxListenersExceededWarning",gt.emitter=Be,gt.type=Le,gt.count=ht.length,ProcessEmitWarning(gt)}return Be}EventEmitter$1.prototype.addListener=function Be(Le,Ye){return _addListener(this,Le,Ye,!1)},EventEmitter$1.prototype.on=EventEmitter$1.prototype.addListener,EventEmitter$1.prototype.prependListener=function Be(Le,Ye){return _addListener(this,Le,Ye,!0)};function onceWrapper(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function _onceWrap(Be,Le,Ye){var tt={fired:!1,wrapFn:void 0,target:Be,type:Le,listener:Ye},nt=onceWrapper.bind(tt);return nt.listener=Ye,tt.wrapFn=nt,nt}EventEmitter$1.prototype.once=function Be(Le,Ye){return checkListener(Ye),this.on(Le,_onceWrap(this,Le,Ye)),this},EventEmitter$1.prototype.prependOnceListener=function Be(Le,Ye){return checkListener(Ye),this.prependListener(Le,_onceWrap(this,Le,Ye)),this},EventEmitter$1.prototype.removeListener=function Be(Le,Ye){var tt,nt,ft,ht,gt;if(checkListener(Ye),nt=this._events,nt===void 0)return this;if(tt=nt[Le],tt===void 0)return this;if(tt===Ye||tt.listener===Ye)--this._eventsCount===0?this._events=Object.create(null):(delete nt[Le],nt.removeListener&&this.emit("removeListener",Le,tt.listener||Ye));else if(typeof tt!="function"){for(ft=-1,ht=tt.length-1;ht>=0;ht--)if(tt[ht]===Ye||tt[ht].listener===Ye){gt=tt[ht].listener,ft=ht;break}if(ft<0)return this;ft===0?tt.shift():spliceOne(tt,ft),tt.length===1&&(nt[Le]=tt[0]),nt.removeListener!==void 0&&this.emit("removeListener",Le,gt||Ye)}return this},EventEmitter$1.prototype.off=EventEmitter$1.prototype.removeListener,EventEmitter$1.prototype.removeAllListeners=function Be(Le){var Ye,tt,nt;if(tt=this._events,tt===void 0)return this;if(tt.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):tt[Le]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete tt[Le]),this;if(arguments.length===0){var ft=Object.keys(tt),ht;for(nt=0;nt<ft.length;++nt)ht=ft[nt],ht!=="removeListener"&&this.removeAllListeners(ht);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(Ye=tt[Le],typeof Ye=="function")this.removeListener(Le,Ye);else if(Ye!==void 0)for(nt=Ye.length-1;nt>=0;nt--)this.removeListener(Le,Ye[nt]);return this};function _listeners(Be,Le,Ye){var tt=Be._events;if(tt===void 0)return[];var nt=tt[Le];return nt===void 0?[]:typeof nt=="function"?Ye?[nt.listener||nt]:[nt]:Ye?unwrapListeners(nt):arrayClone(nt,nt.length)}EventEmitter$1.prototype.listeners=function Be(Le){return _listeners(this,Le,!0)},EventEmitter$1.prototype.rawListeners=function Be(Le){return _listeners(this,Le,!1)},EventEmitter$1.listenerCount=function(Be,Le){return typeof Be.listenerCount=="function"?Be.listenerCount(Le):listenerCount.call(Be,Le)},EventEmitter$1.prototype.listenerCount=listenerCount;function listenerCount(Be){var Le=this._events;if(Le!==void 0){var Ye=Le[Be];if(typeof Ye=="function")return 1;if(Ye!==void 0)return Ye.length}return 0}EventEmitter$1.prototype.eventNames=function Be(){return this._eventsCount>0?ReflectOwnKeys(this._events):[]};function arrayClone(Be,Le){for(var Ye=new Array(Le),tt=0;tt<Le;++tt)Ye[tt]=Be[tt];return Ye}function spliceOne(Be,Le){for(;Le+1<Be.length;Le++)Be[Le]=Be[Le+1];Be.pop()}function unwrapListeners(Be){for(var Le=new Array(Be.length),Ye=0;Ye<Le.length;++Ye)Le[Ye]=Be[Ye].listener||Be[Ye];return Le}function once(Be,Le){return new Promise(function(Ye,tt){function nt(ht){Be.removeListener(Le,ft),tt(ht)}function ft(){typeof Be.removeListener=="function"&&Be.removeListener("error",nt),Ye([].slice.call(arguments))}eventTargetAgnosticAddListener(Be,Le,ft,{once:!0}),Le!=="error"&&addErrorHandlerIfEventEmitter(Be,nt,{once:!0})})}function addErrorHandlerIfEventEmitter(Be,Le,Ye){typeof Be.on=="function"&&eventTargetAgnosticAddListener(Be,"error",Le,Ye)}function eventTargetAgnosticAddListener(Be,Le,Ye,tt){if(typeof Be.on=="function")tt.once?Be.once(Le,Ye):Be.on(Le,Ye);else if(typeof Be.addEventListener=="function")Be.addEventListener(Le,function nt(ft){tt.once&&Be.removeEventListener(Le,nt),Ye(ft)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof Be)}var eventsExports=events$2.exports,inherits_browser={exports:{}};typeof Object.create=="function"?inherits_browser.exports=function(Le,Ye){Ye&&(Le.super_=Ye,Le.prototype=Object.create(Ye.prototype,{constructor:{value:Le,enumerable:!1,writable:!0,configurable:!0}}))}:inherits_browser.exports=function(Le,Ye){if(Ye){Le.super_=Ye;var tt=function(){};tt.prototype=Ye.prototype,Le.prototype=new tt,Le.prototype.constructor=Le}};var inherits_browserExports=inherits_browser.exports,packers={},JsonRPC$1={};function pack$1(Be,Le){var Ye={jsonrpc:"2.0"};if(Be.method)Ye.method=Be.method,Be.params&&(Ye.params=Be.params),Le!=null&&(Ye.id=Le);else if(Le!=null){if(Be.error){if(Be.result!==void 0)throw new TypeError("Both result and error are defined");Ye.error=Be.error}else if(Be.result!==void 0)Ye.result=Be.result;else throw new TypeError("No result or error is defined");Ye.id=Le}return JSON.stringify(Ye)}function unpack$1(Be){var Le=Be;(typeof Be=="string"||Be instanceof String)&&(Le=JSON.parse(Be));var Ye=Le.jsonrpc;if(Ye!=="2.0")throw new TypeError("Invalid JsonRPC version '"+Ye+"': "+Be);if(Le.method==null){if(Le.id==null)throw new TypeError("Invalid message: "+Be);var tt=Le.result!==void 0,nt=Le.error!==void 0;if(tt&&nt)throw new TypeError("Both result and error are defined: "+Be);if(!tt&&!nt)throw new TypeError("No result or error is defined: "+Be);Le.ack=Le.id,delete Le.id}return Le}JsonRPC$1.pack=pack$1,JsonRPC$1.unpack=unpack$1;var XmlRPC$1={};function pack(Be){throw new TypeError("Not yet implemented")}function unpack(Be){throw new TypeError("Not yet implemented")}XmlRPC$1.pack=pack,XmlRPC$1.unpack=unpack;var JsonRPC=JsonRPC$1,XmlRPC=XmlRPC$1;packers.JsonRPC=JsonRPC,packers.XmlRPC=XmlRPC;function Mapper(){var Be={};this.forEach=function(Le){for(var Ye in Be){var tt=Be[Ye];for(var nt in tt)Le(tt[nt])}},this.get=function(Le,Ye){var tt=Be[Ye];if(tt!=null)return tt[Le]},this.remove=function(Le,Ye){var tt=Be[Ye];if(tt!=null){delete tt[Le];for(var nt in tt)return!1;delete Be[Ye]}},this.set=function(Le,Ye,tt){if(Le==null)return this.remove(Ye,tt);var nt=Be[tt];nt==null&&(Be[tt]=nt={}),nt[Ye]=Le}}Mapper.prototype.pop=function(Be,Le){var Ye=this.get(Be,Le);if(Ye!=null)return this.remove(Be,Le),Ye};var Mapper_1=Mapper,clients={},webSocketWithReconnection,hasRequiredWebSocketWithReconnection;function requireWebSocketWithReconnection(){if(hasRequiredWebSocketWithReconnection)return webSocketWithReconnection;hasRequiredWebSocketWithReconnection=1;var Be=OpenViduLogger$1.OpenViduLogger,Le=Be.getInstance(),Ye=2e3,tt=3e3,nt=3;function ft(ht){var gt=!1,At,xt=ht.uri,yt=!1,Ct=new WebSocket(xt);Ct.onopen=function(){Le.debug("WebSocket connected to "+xt),ht.onconnected&&ht.onconnected()},Ct.onerror=function(wt){Le.error("Could not connect to "+xt+" (invoking onerror if defined)",wt),ht.onerror&&ht.onerror(wt)};var Et=function(){Ct.readyState===nt?gt?Le.debug("Connection closed by user"):ht.ismasternodecrashed()?Le.error("Master Node has crashed. Stopping reconnection process"):(Le.debug("Connection closed unexpectedly. Reconnecting..."),vt(Ye,1)):Le.debug("Close callback from previous websocket. Ignoring it")};Ct.onclose=Et;function vt(wt,It){if(Le.debug("reconnect (attempt #"+It+", max="+wt+")"),It===1){if(yt){Le.warn("Trying to reconnect when already reconnecting... Ignoring this reconnection.");return}else yt=!0;ht.onreconnecting&&ht.onreconnecting()}bt(wt,It)}function kt(wt){var It=new URLSearchParams(new URL(wt).search);return It.has("reconnect")||(wt=Array.from(It).length>0?wt+"&reconnect=true":wt+"?reconnect=true"),wt}function bt(wt,It){Le.debug("Reconnection attempt #"+It),Ct.close(4104,"Connection closed for reconnection"),xt=kt(xt),Ct=new WebSocket(xt),Ct.onopen=function(){Le.debug("Reconnected to "+xt+" after "+It+" attempts..."),yt=!1,At(),ht.onreconnected&&ht.onreconnected(),Ct.onclose=Et},Ct.onerror=function(Rt){Le.warn("Reconnection error: ",Rt),It===wt?ht.ondisconnect&&ht.ondisconnect():setTimeout(function(){vt(wt,It+1)},tt)}}this.close=function(wt,It){gt=!0,Ct.close(wt,It)},this.reconnectWs=function(){Le.debug("reconnectWs"),vt(Ye,1)},this.send=function(wt){Ct.send(wt)},this.addEventListener=function(wt,It){At=function(){Ct.addEventListener(wt,It)},At()},this.getReadyState=function(){return Ct.readyState}}return webSocketWithReconnection=ft,webSocketWithReconnection}var jsonrpcclient,hasRequiredJsonrpcclient;function requireJsonrpcclient(){if(hasRequiredJsonrpcclient)return jsonrpcclient;hasRequiredJsonrpcclient=1;var Be=requireKurentoJsonrpc(),Le=requireWebSocketWithReconnection(),Ye=OpenViduLogger$1.OpenViduLogger;Date.now=Date.now||function(){return+new Date};var tt=5e3,nt="RECONNECTING",ft="CONNECTED",ht="DISCONNECTED",gt=Ye.getInstance();function At(xt){var yt=this,Ct=xt.ws,Et=-1,vt=0,kt=!0,bt=!1,wt,It=ht,Rt=Ct.onreconnecting,Tt=Ct.onreconnected,Bt=Ct.onconnected,Pt=Ct.onerror;xt.rpc.pull=function(Ut,Ft){Ft.reply(null,"push")},Ct.onreconnecting=function(){if(gt.debug("--------- ONRECONNECTING -----------"),It===nt){gt.error("Websocket already in RECONNECTING state when receiving a new ONRECONNECTING message. Ignoring it");return}Ht(),It=nt,Rt&&Rt()},Ct.onreconnected=function(){if(gt.debug("--------- ONRECONNECTED -----------"),It===ft){gt.error("Websocket already in CONNECTED state when receiving a new ONRECONNECTED message. Ignoring it");return}It=ft,Wt(),Tt&&Tt()},Ct.onconnected=function(){if(gt.debug("--------- ONCONNECTED -----------"),It===ft){gt.error("Websocket already in CONNECTED state when receiving a new ONCONNECTED message. Ignoring it");return}It=ft,kt=!0,qt(),Bt&&Bt()},Ct.onerror=function(Ut){gt.debug("--------- ONERROR -----------"),It=ht,Ht(),Pt&&Pt(Ut)};var Dt=new Le(Ct);gt.debug("Connecting websocket to URI: "+Ct.uri);var Ot={request_timeout:xt.rpc.requestTimeout,ping_request_timeout:xt.rpc.heartbeatRequestTimeout},Lt=new Be(Be.packers.JsonRPC,Ot,Dt,function(Ut){gt.debug("Received request: "+JSON.stringify(Ut));try{var Ft=xt.rpc[Ut.method];Ft===void 0?gt.error("Method "+Ut.method+" not registered in client"):Ft(Ut.params,Ut)}catch(Xt){gt.error("Exception processing request: "+JSON.stringify(Ut)),gt.error(Xt)}});this.send=function(Ut,Ft,Xt){var _t=Date.now();Lt.encode(Ut,Ft,function(Mt,jt){if(Mt){try{gt.error("ERROR:"+Mt.message+" in Request: method:"+Ut+" params:"+JSON.stringify(Ft)+" request:"+Mt.request),Mt.data&&gt.error("ERROR DATA:"+JSON.stringify(Mt.data))}catch{}Mt.requestTime=_t}Xt&&(jt!=null&&jt.value!=="pong"&&gt.debug("Response: "+JSON.stringify(jt)),Xt(Mt,jt))})};function Wt(){gt.debug("notReconnectIfNumLessThan = "+vt+" (old="+Et+")"),Et=vt}function $t(){if(kt){var Ut=null;(vt==0||vt==Et)&&(Ut={interval:xt.heartbeat||tt}),vt++,yt.send("ping",Ut,function(Ft){return function(Xt,_t){Xt&&(gt.debug("Error in ping request #"+Ft+" ("+Xt.message+")"),Ft>Et&&(kt=!1,Wt(),gt.debug("Server did not respond to ping message #"+Ft+". Reconnecting... "),Dt.reconnectWs()))}}(vt))}else gt.debug("Trying to send ping, but ping is not enabled")}function qt(){bt||(gt.debug("Starting ping (if configured)"),bt=!0,xt.heartbeat!=null&&(wt=setInterval($t,xt.heartbeat),$t()))}function Ht(){clearInterval(wt),bt=!1,kt=!1,vt=-1,Lt.cancel()}this.close=function(Ut,Ft){gt.debug("Closing with code: "+Ut+" because: "+Ft),wt!=null&&(gt.debug("Clearing ping interval"),clearInterval(wt)),bt=!1,kt=!1,Dt.close(Ut,Ft)},this.reconnect=function(){Dt.reconnectWs()},this.resetPing=function(){kt=!0,vt=0,qt()},this.getReadyState=function(){return Dt.getReadyState()}}return jsonrpcclient=At,jsonrpcclient}var hasRequiredClients;function requireClients(){if(hasRequiredClients)return clients;hasRequiredClients=1;var Be=requireJsonrpcclient();return clients.JsonRpcClient=Be,clients}var transports={},hasRequiredTransports;function requireTransports(){if(hasRequiredTransports)return transports;hasRequiredTransports=1;var Be=requireWebSocketWithReconnection();return transports.WebSocketWithReconnection=Be,transports}var kurentoJsonrpc,hasRequiredKurentoJsonrpc;function requireKurentoJsonrpc(){if(hasRequiredKurentoJsonrpc)return kurentoJsonrpc;hasRequiredKurentoJsonrpc=1;var Be=!1;if(Object.defineProperty)try{Object.defineProperty({},"x",{})}catch{Be=!0}Function.prototype.bind||(Function.prototype.bind=function(Et){if(typeof this!="function")throw new TypeError("Function.prototype.bind - what is trying to be bound is not callable");var vt=Array.prototype.slice.call(arguments,1),kt=this,bt=function(){},wt=function(){return kt.apply(this instanceof bt&&Et?this:Et,vt.concat(Array.prototype.slice.call(arguments)))};return bt.prototype=this.prototype,wt.prototype=new bt,wt});var Le=eventsExports.EventEmitter,Ye=inherits_browserExports,tt=packers,nt=Mapper_1,ft=5e3;function ht(Et){if(!Et)return{};for(var vt in Et){var kt=Et[vt];typeof kt=="string"&&(Et[vt]={response:kt})}return Et}function gt(Et){if(Et){if(Et instanceof Function)return{send:Et};if(Et.send instanceof Function)return Et;if(Et.postMessage instanceof Function)return Et.send=Et.postMessage,Et;if(Et.write instanceof Function)return Et.send=Et.write,Et;if(Et.onmessage===void 0&&!(Et.pause instanceof Function))throw new SyntaxError("Transport is not a function nor a valid object")}}function At(Et,vt){Be?(this.method=Et,this.params=vt):(Object.defineProperty(this,"method",{value:Et,enumerable:!0}),Object.defineProperty(this,"params",{value:vt,enumerable:!0}))}function xt(Et,vt,kt,bt){var wt=this;if(!Et)throw new SyntaxError("Packer is not defined");if(!Et.pack||!Et.unpack)throw new SyntaxError("Packer is invalid");var It=ht(Et.responseMethods);if(vt instanceof Function){if(kt!=null)throw new SyntaxError("There can't be parameters after onRequest");bt=vt,kt=void 0,vt=void 0}if(vt&&vt.send instanceof Function){if(kt&&!(kt instanceof Function))throw new SyntaxError("Only a function can be after transport");bt=kt,kt=vt,vt=void 0}if(kt instanceof Function){if(bt!=null)throw new SyntaxError("There can't be parameters after onRequest");bt=kt,kt=void 0}if(kt&&kt.send instanceof Function&&bt&&!(bt instanceof Function))throw new SyntaxError("Only a function can be after transport");vt=vt||{},Le.call(this),bt&&this.on("request",bt),Be?this.peerID=vt.peerID:Object.defineProperty(this,"peerID",{value:vt.peerID});var Rt=vt.max_retries||0;function Tt(Mt){wt.decode(Mt.data||Mt)}this.getTransport=function(){return kt},this.setTransport=function(Mt){kt&&(kt.removeEventListener?kt.removeEventListener("message",Tt):kt.removeListener&&kt.removeListener("data",Tt)),Mt&&(Mt.addEventListener?Mt.addEventListener("message",Tt):Mt.addListener&&Mt.addListener("data",Tt)),kt=gt(Mt)},Be||Object.defineProperty(this,"transport",{get:this.getTransport.bind(this),set:this.setTransport.bind(this)}),this.setTransport(kt);var Bt=vt.request_timeout||ft,Pt=vt.ping_request_timeout||Bt,Dt=vt.response_timeout||ft,Ot=vt.duplicates_timeout||ft,Lt=0,Wt=new nt,$t=new nt,qt=new nt,Ht={};function Ut(Mt,jt,zt){var Gt={message:Mt,timeout:setTimeout(function(){$t.remove(jt,zt)},Dt)};$t.set(Gt,jt,zt)}function Ft(Mt,jt){var zt=setTimeout(function(){qt.remove(Mt,jt)},Ot);qt.set(zt,Mt,jt)}function Xt(Mt,jt,zt,Gt,Yt){At.call(this,Mt,jt),this.getTransport=function(){return Yt},this.setTransport=function(sr){Yt=gt(sr)},Be||Object.defineProperty(this,"transport",{get:this.getTransport.bind(this),set:this.setTransport.bind(this)});var ar=$t.get(zt,Gt);Yt||wt.getTransport()||(Be?this.duplicated=!!ar:Object.defineProperty(this,"duplicated",{value:!!ar}));var tr=It[Mt];this.pack=Et.pack.bind(Et,this,zt),this.reply=function(sr,dr,rr){if(sr instanceof Function||sr&&sr.send instanceof Function){if(dr!=null)throw new SyntaxError("There can't be parameters after callback");rr=sr,dr=null,sr=void 0}else if(dr instanceof Function||dr&&dr.send instanceof Function){if(rr!=null)throw new SyntaxError("There can't be parameters after callback");rr=dr,dr=null}rr=gt(rr),ar&&clearTimeout(ar.timeout),Gt!=null&&(sr&&(sr.dest=Gt),dr&&(dr.dest=Gt));var gr;if(sr||dr!=null){if(wt.peerID!=null&&(sr?sr.from=wt.peerID:dr.from=wt.peerID),tr)if(tr.error==null&&sr)gr={error:sr};else{var yr=sr?tr.error:tr.response;gr={method:yr,params:sr||dr}}else gr={error:sr,result:dr};gr=Et.pack(gr,zt)}else ar?gr=ar.message:gr=Et.pack({result:null},zt);return Ut(gr,zt,Gt),rr=rr||this.getTransport()||wt.getTransport(),rr?rr.send(gr):gr}}Ye(Xt,At);function _t(Mt){var jt=Ht[Mt];if(jt){delete Ht[Mt];var zt=Wt.pop(jt.id,jt.dest);zt&&(clearTimeout(zt.timeout),Ft(jt.id,jt.dest))}}this.cancel=function(Mt){if(Mt)return _t(Mt);for(var Mt in Ht)_t(Mt)},this.close=function(){var Mt=this.getTransport();Mt&&Mt.close&&Mt.close(4003,"Cancel request"),this.cancel(),qt.forEach(clearTimeout),$t.forEach(function(jt){clearTimeout(jt.timeout)})},this.encode=function(Mt,jt,zt,Gt,Yt){if(jt instanceof Function){if(zt!=null)throw new SyntaxError("There can't be parameters after callback");Yt=jt,Gt=void 0,zt=void 0,jt=void 0}else if(zt instanceof Function){if(Gt!=null)throw new SyntaxError("There can't be parameters after callback");Yt=zt,Gt=void 0,zt=void 0}else if(Gt instanceof Function){if(Yt!=null)throw new SyntaxError("There can't be parameters after callback");Yt=Gt,Gt=void 0}wt.peerID!=null&&(jt=jt||{},jt.from=wt.peerID),zt!=null&&(jt=jt||{},jt.dest=zt);var ar={method:Mt,params:jt};if(Yt){let gr=function(Zt,Qt){wt.cancel(ar),Yt(Zt,Qt)},yr=function(Zt){var Qt=Mt==="ping"?Pt:Bt;return dr.timeout=setTimeout(ir,Qt*Math.pow(2,sr++)),Ht[ar]={id:tr,dest:zt},Wt.set(dr,tr,zt),Zt=Zt||rr||wt.getTransport(),Zt?Zt.send(ar):ar},or=function(Zt){Zt=gt(Zt),console.warn(sr+" retry for request message:",ar);var Qt=qt.pop(tr,zt);return clearTimeout(Qt),yr(Zt)},ir=function(){if(sr<Rt)return or(Gt);var Zt=new Error("Request has timed out");Zt.request=ar,Zt.retry=or,gr(Zt)};var tr=Lt++,sr=0;ar=Et.pack(ar,tr);var dr={message:ar,callback:gr,responseMethods:It[Mt]||{}},rr=gt(Gt);return yr(Gt)}return ar=Et.pack(ar),Gt=Gt||this.getTransport(),Gt?Gt.send(ar):ar},this.decode=function(Mt,jt){if(!Mt)throw new TypeError("Message is not defined");try{Mt=Et.unpack(Mt)}catch(nr){return console.debug(nr,Mt)}var zt=Mt.id,Gt=Mt.ack,Yt=Mt.method,ar=Mt.params||{},tr=ar.from,sr=ar.dest;if(wt.peerID!=null&&tr==wt.peerID)return;if(zt==null&&Gt==null){var dr=new At(Yt,ar);return wt.emit("request",dr)?void 0:dr}function rr(){if(jt=gt(jt)||wt.getTransport(),jt){var nr=$t.get(zt,tr);if(nr)return jt.send(nr.message)}var lr=zt??Gt,hr=new Xt(Yt,ar,lr,tr,jt);if(!wt.emit("request",hr))return hr}function gr(nr,lr,hr){nr.callback(lr,hr)}function yr(nr){console.warn("Response already processed",Mt),clearTimeout(nr),Ft(Gt,tr)}if(Yt){if(sr==null||sr==wt.peerID){var er=Wt.get(Gt,tr);if(er){var or=er.responseMethods;return Yt==or.error?gr(er,ar):Yt==or.response?gr(er,null,ar):rr()}var ir=qt.get(Gt,tr);if(ir)return yr(ir)}return rr()}var Zt=Mt.error,Qt=Mt.result;if(!(Zt&&Zt.dest&&Zt.dest!=wt.peerID)&&!(Qt&&Qt.dest&&Qt.dest!=wt.peerID)){var er=Wt.get(Gt,tr);if(!er){var ir=qt.get(Gt,tr);return ir?yr(ir):console.warn("No callback was defined for this message",Mt)}gr(er,Zt,Qt)}}}Ye(xt,Le),xt.RpcNotification=At,kurentoJsonrpc=xt;var yt=requireClients(),Ct=requireTransports();return xt.clients=yt,xt.clients.transports=Ct,xt.packers=tt,kurentoJsonrpc}const version$1="2.31.0",require$$14={version:version$1};var __awaiter$3=commonjsGlobal&&commonjsGlobal.__awaiter||function(Be,Le,Ye,tt){function nt(ft){return ft instanceof Ye?ft:new Ye(function(ht){ht(ft)})}return new(Ye||(Ye=Promise))(function(ft,ht){function gt(yt){try{xt(tt.next(yt))}catch(Ct){ht(Ct)}}function At(yt){try{xt(tt.throw(yt))}catch(Ct){ht(Ct)}}function xt(yt){yt.done?ft(yt.value):nt(yt.value).then(gt,At)}xt((tt=tt.apply(Be,Le||[])).next())})},__generator$2=commonjsGlobal&&commonjsGlobal.__generator||function(Be,Le){var Ye={label:0,sent:function(){if(ft[0]&1)throw ft[1];return ft[1]},trys:[],ops:[]},tt,nt,ft,ht;return ht={next:gt(0),throw:gt(1),return:gt(2)},typeof Symbol=="function"&&(ht[Symbol.iterator]=function(){return this}),ht;function gt(xt){return function(yt){return At([xt,yt])}}function At(xt){if(tt)throw new TypeError("Generator is already executing.");for(;ht&&(ht=0,xt[0]&&(Ye=0)),Ye;)try{if(tt=1,nt&&(ft=xt[0]&2?nt.return:xt[0]?nt.throw||((ft=nt.return)&&ft.call(nt),0):nt.next)&&!(ft=ft.call(nt,xt[1])).done)return ft;switch(nt=0,ft&&(xt=[xt[0]&2,ft.value]),xt[0]){case 0:case 1:ft=xt;break;case 4:return Ye.label++,{value:xt[1],done:!1};case 5:Ye.label++,nt=xt[1],xt=[0];continue;case 7:xt=Ye.ops.pop(),Ye.trys.pop();continue;default:if(ft=Ye.trys,!(ft=ft.length>0&&ft[ft.length-1])&&(xt[0]===6||xt[0]===2)){Ye=0;continue}if(xt[0]===3&&(!ft||xt[1]>ft[0]&&xt[1]<ft[3])){Ye.label=xt[1];break}if(xt[0]===6&&Ye.label<ft[1]){Ye.label=ft[1],ft=xt;break}if(ft&&Ye.label<ft[2]){Ye.label=ft[2],Ye.ops.push(xt);break}ft[2]&&Ye.ops.pop(),Ye.trys.pop();continue}xt=Le.call(Be,Ye)}catch(yt){xt=[6,yt],nt=0}finally{tt=ft=0}if(xt[0]&5)throw xt[1];return{value:xt[0]?xt[1]:void 0,done:!0}}};Object.defineProperty(OpenVidu$1,"__esModule",{value:!0}),OpenVidu$1.OpenVidu=void 0;var LocalRecorder_1=LocalRecorder$1,Publisher_1=requirePublisher(),Session_1=requireSession(),SessionDisconnectedEvent_1=SessionDisconnectedEvent$1,StreamPropertyChangedEvent_1=StreamPropertyChangedEvent$1,OpenViduError_1=OpenViduError,VideoInsertMode_1=VideoInsertMode,OpenViduLogger_1=OpenViduLogger$1,Platform_1=Platform,screenSharingAuto=ScreenCapturingAuto,screenSharing=ScreenCapturing,OpenViduLoggerConfiguration_1=OpenViduLoggerConfiguration,EventEmitter=EventEmitterExports,RpcBuilder=requireKurentoJsonrpc(),packageJson=require$$14,logger=OpenViduLogger_1.OpenViduLogger.getInstance(),platform$2,OpenVidu=function(){function Be(){var Le=this;this.masterNodeHasCrashed=!1,this.publishers=[],this.secret="",this.recorder=!1,this.stt=!1,this.life=-1,this.advancedConfiguration={},this.webrtcStatsInterval=-1,this.sendBrowserLogs=OpenViduLoggerConfiguration_1.OpenViduLoggerConfiguration.disabled,this.isAtLeastPro=!1,this.isEnterprise=!1,this.ee=new EventEmitter,platform$2=Platform_1.PlatformUtils.getInstance(),this.libraryVersion=packageJson.version,logger.info("OpenVidu initialized"),logger.info("Platform detected: "+platform$2.getDescription()),logger.info("openvidu-browser version: "+this.libraryVersion),(platform$2.isMobileDevice()||platform$2.isReactNative())&&this.onOrientationChanged(function(){Le.publishers.forEach(function(Ye){Ye.stream.isLocalStreamPublished&&Ye.stream&&Ye.stream.hasVideo&&Le.sendNewVideoDimensionsIfRequired(Ye,"deviceRotated",75,10)})})}return Be.prototype.initSession=function(){return this.session=new Session_1.Session(this),this.session},Be.prototype.initPublisher=function(Le,Ye,tt){var nt;Ye&&typeof Ye!="function"?(nt=Ye,nt={audioSource:typeof nt.audioSource<"u"?nt.audioSource:void 0,frameRate:typeof MediaStreamTrack<"u"&&nt.videoSource instanceof MediaStreamTrack?void 0:typeof nt.frameRate<"u"?nt.frameRate:void 0,insertMode:typeof nt.insertMode<"u"?typeof nt.insertMode=="string"?VideoInsertMode_1.VideoInsertMode[nt.insertMode]:nt.insertMode:VideoInsertMode_1.VideoInsertMode.APPEND,mirror:typeof nt.mirror<"u"?nt.mirror:!0,publishAudio:typeof nt.publishAudio<"u"?nt.publishAudio:!0,publishVideo:typeof nt.publishVideo<"u"?nt.publishVideo:!0,resolution:typeof MediaStreamTrack<"u"&&nt.videoSource instanceof MediaStreamTrack?void 0:typeof nt.resolution<"u"?nt.resolution:"640x480",videoSource:typeof nt.videoSource<"u"?nt.videoSource:void 0,videoSimulcast:nt.videoSimulcast,filter:nt.filter}):nt={insertMode:VideoInsertMode_1.VideoInsertMode.APPEND,mirror:!0,publishAudio:!0,publishVideo:!0,resolution:"640x480"};var ft=new Publisher_1.Publisher(Le,nt,this),ht;return Ye&&typeof Ye=="function"?ht=Ye:tt&&(ht=tt),ft.initialize().then(function(){ht!==void 0&&ht(void 0),ft.emitEvent("accessAllowed",[])}).catch(function(gt){ht!==void 0&&ht(gt),ft.emitEvent("accessDenied",[gt])}),this.publishers.push(ft),ft},Be.prototype.initPublisherAsync=function(Le,Ye){var tt=this;return new Promise(function(nt,ft){var ht,gt=function(At){return At?ft(At):nt(ht)};Ye?ht=tt.initPublisher(Le,Ye,gt):ht=tt.initPublisher(Le,gt)})},Be.prototype.initLocalRecorder=function(Le){return new LocalRecorder_1.LocalRecorder(Le)},Be.prototype.checkSystemRequirements=function(){return platform$2.isIPhoneOrIPad()?platform$2.isIOSWithSafari()||platform$2.isChromeMobileBrowser()||platform$2.isFirefoxMobileBrowser()||platform$2.isOperaMobileBrowser()||platform$2.isEdgeMobileBrowser()||platform$2.isIonicIos():platform$2.isChromeBrowser()||platform$2.isChromeMobileBrowser()||platform$2.isFirefoxBrowser()||platform$2.isFirefoxMobileBrowser()||platform$2.isOperaBrowser()||platform$2.isOperaMobileBrowser()||platform$2.isEdgeBrowser()||platform$2.isEdgeMobileBrowser()||platform$2.isSamsungBrowser()||platform$2.isSafariBrowser()||platform$2.isAndroidBrowser()||platform$2.isElectron()||platform$2.isNodeJs()||platform$2.isMotorolaEdgeDevice()},Be.prototype.checkScreenSharingCapabilities=function(){return platform$2.canScreenShare()},Be.prototype.getDevices=function(){return new Promise(function(Le,Ye){navigator.mediaDevices.enumerateDevices().then(function(tt){var nt,ft=[];if(platform$2.isIonicAndroid()&&typeof cordova<"u"&&(!((nt=cordova==null?void 0:cordova.plugins)===null||nt===void 0)&&nt.EnumerateDevicesPlugin))cordova.plugins.EnumerateDevicesPlugin.getEnumerateDevices().then(function(ht){var gt=[],At=[],xt=[];return gt=ht.filter(function(yt){return yt.kind==="audioinput"}),At=tt.filter(function(yt){return yt.kind==="videoinput"}),xt=tt.filter(function(yt){return yt.kind==="audioinput"}),At.forEach(function(yt,Ct){if(yt.label)ft.push({kind:yt.kind,deviceId:yt.deviceId,label:yt.label});else{var Et="";Ct===0?Et="Front Camera":Ct===1?Et="Back Camera":Et="Unknown Camera",ft.push({kind:yt.kind,deviceId:yt.deviceId,label:Et})}}),xt.forEach(function(yt,Ct){if(yt.label)ft.push({kind:yt.kind,deviceId:yt.deviceId,label:yt.label});else{var Et="";switch(Ct){case 0:Et="Default";break;case 1:var vt=gt.filter(function(wt){return wt.label.includes("Built")})[0];Et=vt?vt.label:"Built-in Microphone";break;case 2:var kt=gt.filter(function(wt){return wt.label.includes("Wired")})[0];kt?Et=kt.label:Et="Headset earpiece";break;case 3:var bt=gt.filter(function(wt){return wt.label.includes("Bluetooth")})[0];Et=bt?bt.label:"Wireless";break;default:Et="Unknown Microphone";break}ft.push({kind:yt.kind,deviceId:yt.deviceId,label:Et})}}),Le(ft)});else return tt.forEach(function(ht){(ht.kind==="audioinput"||ht.kind==="videoinput")&&ft.push({kind:ht.kind,deviceId:ht.deviceId,label:ht.label})}),Le(ft)}).catch(function(tt){return logger.error("Error getting devices",tt),Ye(tt)})})},Be.prototype.getUserMedia=function(Le){var Ye,tt;return __awaiter$3(this,void 0,void 0,function(){var nt,ft,ht,xt,gt,Ct,Et,At,xt,yt,Ct,Et,vt,kt=this;return __generator$2(this,function(bt){switch(bt.label){case 0:nt=function(wt,It){return __awaiter$3(kt,void 0,void 0,function(){var Rt,Tt,Bt,Pt;return __generator$2(this,function(Dt){switch(Dt.label){case 0:Rt=It.audio===void 0?!0:It.audio,Tt={audio:Rt,video:!1},Dt.label=1;case 1:return Dt.trys.push([1,3,,4]),[4,navigator.mediaDevices.getUserMedia(Tt)];case 2:return Bt=Dt.sent(),wt.addTrack(Bt.getAudioTracks()[0]),[2,wt];case 3:throw Pt=Dt.sent(),wt.getAudioTracks().forEach(function(Ot){Ot.stop()}),wt.getVideoTracks().forEach(function(Ot){Ot.stop()}),this.generateAudioDeviceError(Pt,Tt);case 4:return[2]}})})},bt.label=1;case 1:return bt.trys.push([1,20,,21]),[4,this.generateMediaConstraints(Le)];case 2:return ft=bt.sent(),ft.videoTrack&&ft.audioTrack||ft.audioTrack&&((Ye=ft.constraints)===null||Ye===void 0?void 0:Ye.video)===!1||ft.videoTrack&&((tt=ft.constraints)===null||tt===void 0?void 0:tt.audio)===!1?[2,this.addAlreadyProvidedTracks(ft,new MediaStream)]:[3,3];case 3:if(ft.videoTrack&&delete ft.constraints.video,ft.audioTrack&&delete ft.constraints.audio,ht=!1,typeof Le.videoSource!="string")return[3,12];if(!(Le.videoSource==="screen"||Le.videoSource==="window"||platform$2.isElectron()&&Le.videoSource.startsWith("screen:")))return[3,12];if(ht=!ft.audioTrack&&Le.audioSource!==null&&Le.audioSource!==!1,!(navigator.mediaDevices.getDisplayMedia&&!platform$2.isElectron()))return[3,11];bt.label=4;case 4:return bt.trys.push([4,9,,10]),[4,navigator.mediaDevices.getDisplayMedia({video:!0,audio:Le.audioSource==="screen"})];case 5:return xt=bt.sent(),this.addAlreadyProvidedTracks(ft,xt),ht?[4,nt(xt,ft.constraints)]:[3,7];case 6:return[2,bt.sent()];case 7:return[2,xt];case 8:return[3,10];case 9:throw gt=bt.sent(),Ct=OpenViduError_1.OpenViduErrorName.SCREEN_CAPTURE_DENIED,Et=gt.toString(),new OpenViduError_1.OpenViduError(Ct,Et);case 10:return[3,11];case 11:return[3,12];case 12:At=ht?{video:ft.constraints.video}:ft.constraints,bt.label=13;case 13:return bt.trys.push([13,18,,19]),[4,navigator.mediaDevices.getUserMedia(At)];case 14:return xt=bt.sent(),this.addAlreadyProvidedTracks(ft,xt),ht?[4,nt(xt,ft.constraints)]:[3,16];case 15:return[2,bt.sent()];case 16:return[2,xt];case 17:return[3,19];case 18:throw yt=bt.sent(),Ct=void 0,Et=yt.toString(),Le.videoSource!=="screen"?Ct=OpenViduError_1.OpenViduErrorName.DEVICE_ACCESS_DENIED:Ct=OpenViduError_1.OpenViduErrorName.SCREEN_CAPTURE_DENIED,new OpenViduError_1.OpenViduError(Ct,Et);case 19:return[3,21];case 20:throw vt=bt.sent(),vt;case 21:return[2]}})})},Be.prototype.enableProdMode=function(){logger.enableProdMode()},Be.prototype.setAdvancedConfiguration=function(Le){this.advancedConfiguration=Le},Be.prototype.onOrientationChanged=function(Le){globalThis.addEventListener("orientationchange",Le)},Be.prototype.sendNewVideoDimensionsIfRequired=function(Le,Ye,tt,nt){var ft=this,ht,gt,At,xt,yt=0,Ct=((gt=(ht=Le==null?void 0:Le.stream)===null||ht===void 0?void 0:ht.videoDimensions)===null||gt===void 0?void 0:gt.width)||0,Et=((xt=(At=Le==null?void 0:Le.stream)===null||At===void 0?void 0:At.videoDimensions)===null||xt===void 0?void 0:xt.height)||0,vt=setInterval(function(){yt++,yt>nt&&clearTimeout(vt),Le.getVideoDimensions().then(function(kt){(kt.width!==Ct||kt.height!==Et)&&(clearTimeout(vt),ft.sendVideoDimensionsChangedEvent(Le,Ye,Ct,Et,kt.width,kt.height))})},tt)},Be.prototype.sendVideoDimensionsChangedEvent=function(Le,Ye,tt,nt,ft,ht){var gt=this;Le.stream.videoDimensions={width:ft||0,height:ht||0},this.sendRequest("streamPropertyChanged",{streamId:Le.stream.streamId,property:"videoDimensions",newValue:JSON.stringify(Le.stream.videoDimensions),reason:Ye},function(At,xt){At?logger.error("Error sending 'streamPropertyChanged' event",At):(gt.session.emitEvent("streamPropertyChanged",[new StreamPropertyChangedEvent_1.StreamPropertyChangedEvent(gt.session,Le.stream,"videoDimensions",Le.stream.videoDimensions,{width:tt,height:nt},Ye)]),Le.emitEvent("streamPropertyChanged",[new StreamPropertyChangedEvent_1.StreamPropertyChangedEvent(Le,Le.stream,"videoDimensions",Le.stream.videoDimensions,{width:tt,height:nt},Ye)]),gt.session.sendVideoData(Le))})},Be.prototype.sendTrackChangedEvent=function(Le,Ye,tt,nt){var ft=this,ht={label:Ye},gt={label:tt},At="trackReplaced";Le.stream.isLocalStreamPublished?this.sendRequest("streamPropertyChanged",{streamId:Le.stream.streamId,property:nt,newValue:gt,reason:At},function(xt,yt){xt?logger.error("Error sending 'streamPropertyChanged' event",xt):(ft.session.emitEvent("streamPropertyChanged",[new StreamPropertyChangedEvent_1.StreamPropertyChangedEvent(ft.session,Le.stream,nt,gt,ht,At)]),Le.emitEvent("streamPropertyChanged",[new StreamPropertyChangedEvent_1.StreamPropertyChangedEvent(Le,Le.stream,nt,gt,ht,At)]))}):(this.session.emitEvent("streamPropertyChanged",[new StreamPropertyChangedEvent_1.StreamPropertyChangedEvent(this.session,Le.stream,nt,gt,ht,At)]),Le.emitEvent("streamPropertyChanged",[new StreamPropertyChangedEvent_1.StreamPropertyChangedEvent(Le,Le.stream,nt,gt,ht,At)]))},Be.prototype.generateMediaConstraints=function(Le){var Ye=this;return new Promise(function(tt,nt){var ft={audioTrack:void 0,videoTrack:void 0,constraints:{audio:void 0,video:void 0}},ht=Le.audioSource,gt=Le.videoSource;if((ht===null||ht===!1)&&(ft.constraints.audio=!1),(gt===null||gt===!1)&&(ft.constraints.video=!1),ft.constraints.audio===!1&&ft.constraints.video===!1)return nt(new OpenViduError_1.OpenViduError(OpenViduError_1.OpenViduErrorName.NO_INPUT_SOURCE_SET,"Properties 'audioSource' and 'videoSource' cannot be set to false or null at the same time"));if(typeof MediaStreamTrack<"u"&&ht instanceof MediaStreamTrack&&(ft.audioTrack=ht),typeof MediaStreamTrack<"u"&&gt instanceof MediaStreamTrack&&(ft.videoTrack=gt),ht===void 0&&(ft.constraints.audio=!0),gt===void 0&&(ft.constraints.video={width:{ideal:640},height:{ideal:480}}),gt!==null&&gt!==!1){if(Le.resolution){var At=Le.resolution.toLowerCase().split("x"),xt=Number(At[0]),yt=Number(At[1]);ft.constraints.video={width:{ideal:xt},height:{ideal:yt}}}Le.frameRate&&(ft.constraints.video.frameRate={ideal:Le.frameRate})}return Ye.configureDeviceIdOrScreensharing(ft,Le,tt,nt),tt(ft)})},Be.prototype.startWs=function(Le){var Ye={heartbeat:5e3,ws:{uri:this.wsUri+"?sessionId="+this.session.sessionId,onconnected:Le,ondisconnect:this.disconnectCallback.bind(this),onreconnecting:this.reconnectingCallback.bind(this),onreconnected:this.reconnectedCallback.bind(this),ismasternodecrashed:this.isMasterNodeCrashed.bind(this)},rpc:{requestTimeout:1e4,heartbeatRequestTimeout:5e3,participantJoined:this.session.onParticipantJoined.bind(this.session),participantPublished:this.session.onParticipantPublished.bind(this.session),participantUnpublished:this.session.onParticipantUnpublished.bind(this.session),participantLeft:this.session.onParticipantLeft.bind(this.session),participantEvicted:this.session.onParticipantEvicted.bind(this.session),recordingStarted:this.session.onRecordingStarted.bind(this.session),recordingStopped:this.session.onRecordingStopped.bind(this.session),broadcastStarted:this.session.onBroadcastStarted.bind(this.session),broadcastStopped:this.session.onBroadcastStopped.bind(this.session),sendMessage:this.session.onNewMessage.bind(this.session),streamPropertyChanged:this.session.onStreamPropertyChanged.bind(this.session),connectionPropertyChanged:this.session.onConnectionPropertyChanged.bind(this.session),networkQualityLevelChanged:this.session.onNetworkQualityLevelChangedChanged.bind(this.session),filterEventDispatched:this.session.onFilterEventDispatched.bind(this.session),iceCandidate:this.session.recvIceCandidate.bind(this.session),mediaError:this.session.onMediaError.bind(this.session),masterNodeCrashedNotification:this.onMasterNodeCrashedNotification.bind(this),forciblyReconnectSubscriber:this.session.onForciblyReconnectSubscriber.bind(this.session),speechToTextMessage:this.session.onSpeechToTextMessage.bind(this.session),speechToTextDisconnected:this.session.onSpeechToTextDisconnected.bind(this.session)}};this.jsonRpcClient=new RpcBuilder.clients.JsonRpcClient(Ye)},Be.prototype.onMasterNodeCrashedNotification=function(Le){console.error("Master Node has crashed"),this.masterNodeHasCrashed=!0,this.session.onLostConnection("nodeCrashed"),this.jsonRpcClient.close(4103,"Master Node has crashed")},Be.prototype.getWsReadyState=function(){return this.jsonRpcClient.getReadyState()},Be.prototype.closeWs=function(){this.jsonRpcClient.close(4102,"Connection closed by client")},Be.prototype.sendRequest=function(Le,Ye,tt){var nt;Ye&&Ye instanceof Function&&(tt=Ye,Ye={}),logger.debug('Sending request: {method:"'+Le+'", params: '+JSON.stringify(Ye)+"}"),(nt=this.jsonRpcClient)===null||nt===void 0||nt.send(Le,Ye,tt)},Be.prototype.getWsUri=function(){return this.wsUri},Be.prototype.getSecret=function(){return this.secret},Be.prototype.getRecorder=function(){return this.recorder},Be.prototype.getStt=function(){return this.stt},Be.prototype.generateAudioDeviceError=function(Le,Ye){Le.name==="Error"&&(Le.name=Le.constructor.name);var tt,nt;switch(Le.name.toLowerCase()){case"notfounderror":return tt=OpenViduError_1.OpenViduErrorName.INPUT_AUDIO_DEVICE_NOT_FOUND,nt=Le.toString(),new OpenViduError_1.OpenViduError(tt,nt);case"notallowederror":return tt=OpenViduError_1.OpenViduErrorName.DEVICE_ACCESS_DENIED,nt=Le.toString(),new OpenViduError_1.OpenViduError(tt,nt);case"overconstrainederror":return Le.constraint.toLowerCase()==="deviceid"?(tt=OpenViduError_1.OpenViduErrorName.INPUT_AUDIO_DEVICE_NOT_FOUND,nt="Audio input device with deviceId '"+Ye.audio.deviceId.exact+"' not found"):(tt=OpenViduError_1.OpenViduErrorName.PUBLISHER_PROPERTIES_ERROR,nt="Audio input device doesn't support the value passed for constraint '"+Le.constraint+"'"),new OpenViduError_1.OpenViduError(tt,nt);case"notreadableerror":return tt=OpenViduError_1.OpenViduErrorName.DEVICE_ALREADY_IN_USE,nt=Le.toString(),new OpenViduError_1.OpenViduError(tt,nt);default:return new OpenViduError_1.OpenViduError(OpenViduError_1.OpenViduErrorName.INPUT_AUDIO_DEVICE_GENERIC_ERROR,Le.toString())}},Be.prototype.addAlreadyProvidedTracks=function(Le,Ye,tt){return Le.videoTrack&&(Ye.addTrack(Le.videoTrack),tt&&(Le.constraints.video?tt.lastVideoTrackConstraints=Le.constraints.video:tt.lastVideoTrackConstraints=Le.videoTrack.getConstraints())),Le.audioTrack&&Ye.addTrack(Le.audioTrack),Ye},Be.prototype.configureDeviceIdOrScreensharing=function(Le,Ye,tt,nt){var ft=this,ht=Ye.audioSource,gt=Ye.videoSource;if(typeof ht=="string"&&ht!=="screen"&&(Le.constraints.audio={deviceId:{exact:ht}}),typeof gt=="string")if(!this.isScreenShare(gt))this.setVideoSource(Le,gt),ht==="screen"&&(logger.warn('Parameter "audioSource" is set to "screen", which means rquesting audio from screen sharing source. But "videoSource" is not set to "screen". No audio source will be requested'),Le.constraints.audio=!1);else if(this.checkScreenSharingCapabilities())if(platform$2.isElectron()){var xt="screen:",yt=gt,Ct=yt.substr(yt.indexOf(xt)+xt.length);return Le.constraints.video={mandatory:{chromeMediaSource:"desktop",chromeMediaSourceId:Ct}},tt(Le)}else if(this.advancedConfiguration.screenShareChromeExtension&&!(platform$2.isFirefoxBrowser()||platform$2.isFirefoxMobileBrowser())&&!navigator.mediaDevices.getDisplayMedia){screenSharing.getScreenConstraints(function(vt,kt){if(vt||kt.mandatory&&kt.mandatory.chromeMediaSource==="screen")if(vt==="permission-denied"||vt==="PermissionDeniedError"){var bt=new OpenViduError_1.OpenViduError(OpenViduError_1.OpenViduErrorName.SCREEN_CAPTURE_DENIED,"You must allow access to one window of your desktop");return logger.error(bt),nt(bt)}else{var wt=ft.advancedConfiguration.screenShareChromeExtension.split("/").pop().trim();screenSharing.getChromeExtensionStatus(wt,function(It){if(It==="installed-disabled"){var Rt=new OpenViduError_1.OpenViduError(OpenViduError_1.OpenViduErrorName.SCREEN_EXTENSION_DISABLED,"You must enable the screen extension");return logger.error(Rt),nt(Rt)}if(It==="not-installed"){var Tt=new OpenViduError_1.OpenViduError(OpenViduError_1.OpenViduErrorName.SCREEN_EXTENSION_NOT_INSTALLED,ft.advancedConfiguration.screenShareChromeExtension);return logger.error(Tt),nt(Tt)}});return}else return Le.constraints.video=kt,tt(Le)});return}else{if(navigator.mediaDevices.getDisplayMedia)return tt(Le);var Et=platform$2.isFirefoxBrowser()||platform$2.isFirefoxMobileBrowser()?Ye.videoSource:void 0;screenSharingAuto.getScreenId(Et,function(vt,kt,bt){if(vt)if(vt==="not-installed"){var wt=ft.advancedConfiguration.screenShareChromeExtension?ft.advancedConfiguration.screenShareChromeExtension:"https://chrome.google.com/webstore/detail/openvidu-screensharing/lfcgfepafnobdloecchnfaclibenjold",It=new OpenViduError_1.OpenViduError(OpenViduError_1.OpenViduErrorName.SCREEN_EXTENSION_NOT_INSTALLED,wt);return logger.error(It),nt(It)}else if(vt==="installed-disabled"){var It=new OpenViduError_1.OpenViduError(OpenViduError_1.OpenViduErrorName.SCREEN_EXTENSION_DISABLED,"You must enable the screen extension");return logger.error(It),nt(It)}else if(vt==="permission-denied"){var It=new OpenViduError_1.OpenViduError(OpenViduError_1.OpenViduErrorName.SCREEN_CAPTURE_DENIED,"You must allow access to one window of your desktop");return logger.error(It),nt(It)}else{var It=new OpenViduError_1.OpenViduError(OpenViduError_1.OpenViduErrorName.GENERIC_ERROR,"Unknown error when accessing screen share");return logger.error(It),logger.error(vt),nt(It)}else return Le.constraints.video=bt.video,tt(Le)});return}else{var At=new OpenViduError_1.OpenViduError(OpenViduError_1.OpenViduErrorName.SCREEN_SHARING_NOT_SUPPORTED,"You can only screen share in desktop Chrome, Firefox, Opera, Safari (>=13.0), Edge (>= 80) or Electron. Detected client: "+platform$2.getName()+" "+platform$2.getVersion());return logger.error(At),nt(At)}},Be.prototype.setVideoSource=function(Le,Ye){Le.constraints.video||(Le.constraints.video={}),Le.constraints.video.deviceId={exact:Ye}},Be.prototype.disconnectCallback=function(){logger.warn("Websocket connection lost"),this.isRoomAvailable()?this.session.onLostConnection("networkDisconnect"):alert("Connection error. Please reload page.")},Be.prototype.reconnectingCallback=function(){logger.warn("Websocket connection lost (reconnecting)"),this.isRoomAvailable()?this.session.emitEvent("reconnecting",[]):alert("Connection error. Please reload page.")},Be.prototype.reconnectWebsocketThroughRpcConnectMethod=function(Le){var Ye=this;this.sendRequest("connect",{sessionId:Le,reconnect:!0},function(tt,nt){if(tt)if(Ye.isMasterNodeCrashed())logger.warn("Master Node has crashed!");else{logger.error(tt);var ft=function(gt,At){logger.warn(At),Ye.session.onLostConnection(gt),Ye.jsonRpcClient.close(4101,"Reconnection fault: "+At)},ht=function(){Ye.life===-1?ft("networkDisconnect","WS successfully reconnected but the user was already evicted due to timeout"):Ye.sendRequest("sessionStatus",{sessionId:Ye.session.sessionId},function(gt,At){gt!=null?console.error("Error checking session status",gt):Ye.life===At.life?ft("networkDisconnect","WS successfully reconnected but the user was already evicted due to timeout"):ft("nodeCrashed","WS successfully reconnected to OpenVidu Server but your Master Node crashed")})};tt.code===40007&&tt.message==="reconnection error"&&console.error("Invalid RPC sessionId. Client network disconnection or Master Node crash"),ht()}else Ye.jsonRpcClient.resetPing(),Ye.session.onRecoveredConnection()})},Be.prototype.reconnectedCallback=function(){if(logger.warn("Websocket reconnected"),this.isRoomAvailable())if(this.session.connection)this.reconnectWebsocketThroughRpcConnectMethod(this.session.connection.rpcSessionId);else{logger.warn("There was no previous connection when running reconnection callback");var Le=new SessionDisconnectedEvent_1.SessionDisconnectedEvent(this.session,"networkDisconnect");this.session.ee.emitEvent("sessionDisconnected",[Le]),Le.callDefaultBehavior()}else alert("Connection error. Please reload page.")},Be.prototype.isMasterNodeCrashed=function(){return this.masterNodeHasCrashed},Be.prototype.isRoomAvailable=function(){return this.session!==void 0&&this.session instanceof Session_1.Session?!0:(logger.warn("Session instance not found"),!1)},Be.prototype.isScreenShare=function(Le){return Le==="screen"||Le==="window"||platform$2.isElectron()&&Le.startsWith("screen:")},Be}();OpenVidu$1.OpenVidu=OpenVidu;var Types={};Object.defineProperty(Types,"__esModule",{value:!0}),function(Be){var Le=commonjsGlobal&&commonjsGlobal.__createBinding||(Object.create?function(Mt,jt,zt,Gt){Gt===void 0&&(Gt=zt);var Yt=Object.getOwnPropertyDescriptor(jt,zt);(!Yt||("get"in Yt?!jt.__esModule:Yt.writable||Yt.configurable))&&(Yt={enumerable:!0,get:function(){return jt[zt]}}),Object.defineProperty(Mt,Gt,Yt)}:function(Mt,jt,zt,Gt){Gt===void 0&&(Gt=zt),Mt[Gt]=jt[zt]}),Ye=commonjsGlobal&&commonjsGlobal.__exportStar||function(Mt,jt){for(var zt in Mt)zt!=="default"&&!Object.prototype.hasOwnProperty.call(jt,zt)&&Le(jt,Mt,zt)};Object.defineProperty(Be,"__esModule",{value:!0}),Be.EventDispatcher=Be.ExceptionEventName=Be.ExceptionEvent=Be.SpeechToTextEvent=Be.NetworkQualityLevelChangedEvent=Be.FilterEvent=Be.ConnectionPropertyChangedEvent=Be.StreamPropertyChangedEvent=Be.VideoElementEvent=Be.StreamManagerEvent=Be.StreamEvent=Be.SignalEvent=Be.SessionDisconnectedEvent=Be.RecordingEvent=Be.PublisherSpeakingEvent=Be.ConnectionEvent=Be.Event=Be.VideoInsertMode=Be.TypeOfVideo=Be.OpenViduErrorName=Be.OpenViduError=Be.LocalRecorderState=Be.Filter=Be.LocalRecorder=Be.Connection=Be.Stream=Be.StreamManager=Be.Subscriber=Be.Publisher=Be.Session=Be.OpenVidu=void 0;var tt=jsnlog,nt=OpenVidu$1;Object.defineProperty(Be,"OpenVidu",{enumerable:!0,get:function(){return nt.OpenVidu}});var ft=requireSession();Object.defineProperty(Be,"Session",{enumerable:!0,get:function(){return ft.Session}});var ht=requirePublisher();Object.defineProperty(Be,"Publisher",{enumerable:!0,get:function(){return ht.Publisher}});var gt=Subscriber$1;Object.defineProperty(Be,"Subscriber",{enumerable:!0,get:function(){return gt.Subscriber}});var At=StreamManager$1;Object.defineProperty(Be,"StreamManager",{enumerable:!0,get:function(){return At.StreamManager}});var xt=Stream$2;Object.defineProperty(Be,"Stream",{enumerable:!0,get:function(){return xt.Stream}});var yt=Connection$1;Object.defineProperty(Be,"Connection",{enumerable:!0,get:function(){return yt.Connection}});var Ct=LocalRecorder$1;Object.defineProperty(Be,"LocalRecorder",{enumerable:!0,get:function(){return Ct.LocalRecorder}});var Et=Filter$1;Object.defineProperty(Be,"Filter",{enumerable:!0,get:function(){return Et.Filter}});var vt=LocalRecorderState;Object.defineProperty(Be,"LocalRecorderState",{enumerable:!0,get:function(){return vt.LocalRecorderState}});var kt=OpenViduError;Object.defineProperty(Be,"OpenViduError",{enumerable:!0,get:function(){return kt.OpenViduError}}),Object.defineProperty(Be,"OpenViduErrorName",{enumerable:!0,get:function(){return kt.OpenViduErrorName}});var bt=TypeOfVideo;Object.defineProperty(Be,"TypeOfVideo",{enumerable:!0,get:function(){return bt.TypeOfVideo}});var wt=VideoInsertMode;Object.defineProperty(Be,"VideoInsertMode",{enumerable:!0,get:function(){return wt.VideoInsertMode}});var It=Event$2;Object.defineProperty(Be,"Event",{enumerable:!0,get:function(){return It.Event}});var Rt=ConnectionEvent$1;Object.defineProperty(Be,"ConnectionEvent",{enumerable:!0,get:function(){return Rt.ConnectionEvent}});var Tt=PublisherSpeakingEvent$1;Object.defineProperty(Be,"PublisherSpeakingEvent",{enumerable:!0,get:function(){return Tt.PublisherSpeakingEvent}});var Bt=RecordingEvent$1;Object.defineProperty(Be,"RecordingEvent",{enumerable:!0,get:function(){return Bt.RecordingEvent}});var Pt=SessionDisconnectedEvent$1;Object.defineProperty(Be,"SessionDisconnectedEvent",{enumerable:!0,get:function(){return Pt.SessionDisconnectedEvent}});var Dt=SignalEvent$1;Object.defineProperty(Be,"SignalEvent",{enumerable:!0,get:function(){return Dt.SignalEvent}});var Ot=requireStreamEvent();Object.defineProperty(Be,"StreamEvent",{enumerable:!0,get:function(){return Ot.StreamEvent}});var Lt=StreamManagerEvent$1;Object.defineProperty(Be,"StreamManagerEvent",{enumerable:!0,get:function(){return Lt.StreamManagerEvent}});var Wt=VideoElementEvent$1;Object.defineProperty(Be,"VideoElementEvent",{enumerable:!0,get:function(){return Wt.VideoElementEvent}});var $t=StreamPropertyChangedEvent$1;Object.defineProperty(Be,"StreamPropertyChangedEvent",{enumerable:!0,get:function(){return $t.StreamPropertyChangedEvent}});var qt=ConnectionPropertyChangedEvent$1;Object.defineProperty(Be,"ConnectionPropertyChangedEvent",{enumerable:!0,get:function(){return qt.ConnectionPropertyChangedEvent}});var Ht=FilterEvent$1;Object.defineProperty(Be,"FilterEvent",{enumerable:!0,get:function(){return Ht.FilterEvent}});var Ut=NetworkQualityLevelChangedEvent$1;Object.defineProperty(Be,"NetworkQualityLevelChangedEvent",{enumerable:!0,get:function(){return Ut.NetworkQualityLevelChangedEvent}});var Ft=SpeechToTextEvent$1;Object.defineProperty(Be,"SpeechToTextEvent",{enumerable:!0,get:function(){return Ft.SpeechToTextEvent}});var Xt=ExceptionEvent;Object.defineProperty(Be,"ExceptionEvent",{enumerable:!0,get:function(){return Xt.ExceptionEvent}}),Object.defineProperty(Be,"ExceptionEventName",{enumerable:!0,get:function(){return Xt.ExceptionEventName}});var _t=EventDispatcher$1;Object.defineProperty(Be,"EventDispatcher",{enumerable:!0,get:function(){return _t.EventDispatcher}}),Ye(Types,Be),tt.JL.setOptions({enabled:!1})}(lib$1);let openViduInstance;const getOpenViduInstance=()=>openViduInstance||(openViduInstance=new lib$1.OpenVidu,openViduInstance),createRecordingSession=async(Be,Le,Ye="openVidu")=>{const tt=Ye==="openVidu"?"/omni/recordings/create-session/v2":"/omni/recordings/create-session";return(await exports.api.post(tt,{type:Be},{headers:{"X-Incode-Hardware-Id":Le}})).data},startRecording=async(Be,Le,Ye="openVidu",tt,nt,ft=!1)=>{const ht=Ye==="openVidu"?"/omni/recordings/record-start/v2":"/omni/recordings/record-start";return(await exports.api.post(ht,{videoRecordingId:Be,frameRate:30,outputMode:"COMPOSED",resolution:nt,type:tt,hasAudio:ft},{headers:{"X-Incode-Hardware-Id":Le}})).data},stopRecording=async(Be,Le,Ye="openVidu")=>{const tt=Ye==="openVidu"?"/omni/recordings/record-stop/v2":"/omni/recordings/record-stop";return(await exports.api.post(tt,{videoRecordingId:Be},{headers:{"X-Incode-Hardware-Id":Le}})).data},createAuthRecordingSession=async Be=>{const Le="/omni/authentication/recording/create-session/v2";return setToken(Be),(await exports.api.post(Le)).data},startAuthRecording=async(Be,Le,Ye,tt,nt=!1)=>{const ft="/omni/authentication/recording/record-start/v2";return setToken(Le),(await exports.api.post(ft,{videoRecordingId:Be,frameRate:30,outputMode:"COMPOSED",resolution:tt,type:Ye,hasAudio:nt},{headers:{"X-Incode-Hardware-Id":Le}})).data},stopAuthRecording=async(Be,Le)=>(await exports.api.post("/omni/authentication/recording/record-stop/v2",{videoRecordingId:Be},{headers:{"X-Incode-Hardware-Id":Le}})).data,randomId=Math.random().toString(36).substring(7);function createElement$1(){if(document.getElementById(randomId))return;const Be=document.createElement("div");Be.style.display="none",Be.id=randomId,document.body.appendChild(Be)}let OTPublisher$4=null,OVPublisher=null;const openViduInitPublisher=async({stream:Be,type:Le,token:Ye,isAuthRecordings:tt=!1})=>{const nt=getOpenViduInstance(),ft=nt.initSession(),ht=getMediaStreamTrackSettings(Be.getVideoTracks()[0]),gt=tt?await createAuthRecordingSession(Ye):await createRecordingSession(Le,Ye,"openVidu");createElement$1(),await ft.connect(gt.token),addEvent({code:streamingEvents.strSessionDidConnect,token:Ye,payload:{message:"Recording session connected",sessionId:ft==null?void 0:ft.sessionId}});const At=Be.getAudioTracks().length>0;return OVPublisher=nt.initPublisher(randomId,{publishAudio:At,audioSource:At?Be.getAudioTracks()[0]:null,videoSource:Be.getVideoTracks()[0],frameRate:30}),ft.on("exception",xt=>{addEvent({code:streamingEvents.strSessionDidFailWithError,token:Ye,payload:{message:"Recording session failed due to an error",eventName:xt.name,type:"OpenViduException",errorMessage:xt.message,sessionId:ft==null?void 0:ft.sessionId}})}),OVPublisher.on("streamCreated",xt=>{addEvent({code:streamingEvents.strStreamPublisherCreated,token:Ye,payload:{message:"Recording publisher created",sessionId:ft==null?void 0:ft.sessionId,streamId:xt.stream.streamId}})}),ft.on("recordingStarted",xt=>{setTimeout(()=>{addEvent({code:streamingEvents.strStreamVideoCaptureStart,token:Ye,payload:{message:"Recording capture started",resolution:`${ht.width}x${ht.height}`,videoRecordingId:gt.videoRecordingId,sessionId:ft==null?void 0:ft.sessionId,streamId:xt.target.streamManagers[0].stream.streamId||xt.target.connection.stream.streamId||xt.target.stream.streamId}})},100)}),ft.publish(OVPublisher),tt?await startAuthRecording(gt.videoRecordingId,Ye,Le,`${ht.width}x${ht.height}`,At):await startRecording(gt.videoRecordingId,Ye,"openVidu",Le,`${ht.width}x${ht.height}`,At),gt},createOpenTokSessionAsync=({recordingSession:Be,stream:Le,token:Ye})=>new Promise((tt,nt)=>{var ft;try{createElement$1();const{session:ht}=createSession$6({apiKey:(ft=Be.apiKey)==null?void 0:ft.toString(),sessionId:Be.sessionId,token:Be.token,async onConnect(){addEvent({code:streamingEvents.strSessionDidConnect,token:Ye,payload:{message:"Recording session connected",sessionId:Be.sessionId}}),OTPublisher$4=OT.initPublisher(randomId,{publishAudio:!1,audioSource:null,videoSource:Le.getVideoTracks()[0],frameRate:30}),OTPublisher$4.on("streamCreated",()=>{var gt;addEvent({code:streamingEvents.strStreamPublisherCreated,token:Ye,payload:{message:"Recording publisher created",sessionId:Be.sessionId,streamId:(gt=OTPublisher$4==null?void 0:OTPublisher$4.stream)==null?void 0:gt.streamId}})}),ht.publish(OTPublisher$4,gt=>{var At;gt&&(console.error("Error publishing:",gt),addEvent({code:streamingEvents.strStreamPublisherDidFailWithError,token:Ye,payload:{message:"Recording publisher failed due to an error",sessionId:Be.sessionId,streamId:(At=OTPublisher$4==null?void 0:OTPublisher$4.stream)==null?void 0:At.streamId,error:{message:(gt==null?void 0:gt.message)||"Unknown error",stack:(gt==null?void 0:gt.stack)||"No stack trace available"}}}),nt(gt)),tt()})}});ht.on("exception",gt=>{addEvent({code:streamingEvents.strSessionDidFailWithError,token:Ye,payload:{message:"Recording session failed due to an error",eventName:(gt==null?void 0:gt.name)||"Unknown",errorMessage:(gt==null?void 0:gt.message)||"Unknown error",sessionId:Be.sessionId}})})}catch(ht){addEvent({code:streamingEvents.strSessionDidFailWithError,token:Ye,payload:{message:"OpenTok library not available",errorMessage:(ht==null?void 0:ht.message)||"OT global variable not found",errorStack:(ht==null?void 0:ht.stack)||"No stack trace available"}}),nt(ht)}}),openTokInitPublisher=async({stream:Be,type:Le,token:Ye})=>{var ft;const tt=await createRecordingSession(Le,Ye,"openTok");await createOpenTokSessionAsync({recordingSession:tt,stream:Be,token:Ye}),await startRecording(tt.videoRecordingId,Ye,"openTok");const nt=getMediaStreamTrackSettings(Be.getVideoTracks()[0]);return addEvent({code:streamingEvents.strStreamVideoCaptureStart,token:Ye,payload:{message:"Recording capture started",resolution:`${nt.width}x${nt.height}`,videoRecordingId:tt.videoRecordingId,sessionId:tt.sessionId,streamId:(ft=OTPublisher$4==null?void 0:OTPublisher$4.stream)==null?void 0:ft.streamId}}),tt};let MediaRecorder$3=class{constructor(Le){this.recordingSession=null,this.recordingStarted=!1,this.stream=null,this.config=Le,this.recorderProvider=this.config.isAuthRecording?"openVidu":options.recorderProvider}async startRecording(Le){var Ye,tt;if(this.config.token&&Le){this.stream=Le.clone();try{if(this.config.isAuthRecording||this.recorderProvider==="openVidu"){const nt=await openViduInitPublisher({stream:this.stream,type:this.config.type,token:this.config.token,isAuthRecordings:this.config.isAuthRecording});this.recordingSession=nt,(tt=(Ye=this.config).setVideoRecordingId)==null||tt.call(Ye,nt.videoRecordingId)}else{const nt=await openTokInitPublisher({stream:this.stream,type:this.config.type,token:this.config.token});this.recordingSession=nt}this.recordingStarted=!0}catch(nt){console.error(nt)}}}async stopRecording(){var Le,Ye,tt,nt,ft,ht;if(this.config.token&&this.recordingSession)try{addEvent({code:streamingEvents.strStreamVideoCaptureStop,token:this.config.token,payload:{message:"Recording capture stopped",videoRecordingId:this.recordingSession.videoRecordingId,sessionId:this.recordingSession.sessionId,streamId:((Le=OVPublisher==null?void 0:OVPublisher.stream)==null?void 0:Le.streamId)||((Ye=OTPublisher$4==null?void 0:OTPublisher$4.stream)==null?void 0:Ye.streamId)}}),this.config.isAuthRecording?(await stopAuthRecording(this.recordingSession.videoRecordingId,this.config.token),(nt=(tt=this.config).setVideoRecordingId)==null||nt.call(tt,null)):(await stopRecording(this.recordingSession.videoRecordingId,this.config.token,this.recorderProvider),addEvent({code:getScreenRecordingEventCode(this.config.type),token:this.config.token})),addEvent({code:streamingEvents.strStreamPublisherDestroyed,token:this.config.token,payload:{message:"Recording publisher destroyed",sessionId:this.recordingSession.sessionId,streamId:((ft=OVPublisher==null?void 0:OVPublisher.stream)==null?void 0:ft.streamId)||((ht=OTPublisher$4==null?void 0:OTPublisher$4.stream)==null?void 0:ht.streamId)}}),addEvent({code:streamingEvents.strSessionDidDisconnect,token:this.config.token,payload:{message:"Recording session disconnected",sessionId:this.recordingSession.sessionId}})}catch(gt){console.error("Error stopping recording:",gt)}finally{this.recordingSession=null,this.recordingStarted=!1,this.stream&&(this.stream.getTracks().forEach(gt=>{gt.stop(),gt.enabled=!1}),this.stream=null)}}async updateMediaStream(Le){if(!(!this.config.token||!this.recordingSession)){this.stream&&this.stream.getTracks().forEach(Ye=>Ye.stop()),this.stream=Le.clone();try{this.config.isAuthRecording||this.recorderProvider==="openVidu"?OVPublisher&&OVPublisher.replaceTrack(this.stream.getVideoTracks()[0]):OTPublisher$4&&OTPublisher$4.setVideoSource(this.stream.getVideoTracks()[0])}catch(Ye){console.error("Error updating media stream:",Ye)}}}};function useMediaRecorder({token:Be,type:Le}){const[Ye,tt]=React.useState(!1),nt=React.useRef(null),ft=async At=>{try{nt.current=new MediaRecorder$3({token:Be,type:Le,isAuthRecording:!1}),await nt.current.startRecording(At),tt(nt.current.recordingStarted)}catch(xt){console.error(xt)}},ht=React.useCallback(async()=>{nt.current&&(await nt.current.stopRecording(),tt(nt.current.recordingStarted),nt.current=null)},[]),gt=React.useCallback(async At=>{nt.current&&await nt.current.updateMediaStream(At)},[]);return{startRecording:ft,stopRecording:ht,recordingStarted:Ye,updateMediaStream:gt}}const useAuthenticationRecorder=({token:Be,type:Le,setVideoRecordingId:Ye})=>{if(!Be)return{startRecording:null,stopRecording:null};const tt=React.useRef(null),nt=async ht=>{if(Be)try{tt.current=new MediaRecorder$3({token:Be,type:Le,isAuthRecording:!0,setVideoRecordingId:Ye}),await tt.current.startRecording(ht)}catch(gt){console.error(gt)}},ft=React.useCallback(async()=>{Be&&tt.current&&(await tt.current.stopRecording(),tt.current=null)},[Be]);return{startRecording:nt,stopRecording:ft}};async function sendMfa({verificationCode:Be,transactionId:Le}){return exports.api.post("/omni/oneToN/mfa",{verificationCode:Be,transactionId:Le}).then(Ye=>Ye.data).catch(Ye=>{var tt;return Promise.reject((tt=Ye==null?void 0:Ye.response)==null?void 0:tt.data)})}const ErrorContainer$2=dt.div`
2813
2813
  text-align: center;
2814
2814
  margin-top: 10px;
2815
2815
  `,ErrorSpan=dt.span`
@@ -5524,7 +5524,7 @@ linearGradient:first-of-type {
5524
5524
  path {
5525
5525
  fill: ${({$fillColor:Be})=>Be};
5526
5526
  }
5527
- `,StatusMessage=({orientation:Be,icon:Le,iconColor:Ye,title:tt,subtitle:nt,buttonText:ft,onButtonClick:ht,additionalContent:gt})=>{const At=useTokens(),{contentMarginTop:xt,shouldShowAtBottom:yt}=useProcessingLayout(Be),Ct=getStatusMessageMargin(yt,xt);return jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsxs(Flex,{content:"center",mb:4,mt:Ct,children:[jsxRuntimeExports.jsx(IconContainer$1,{$fillColor:Ye,children:Le}),jsxRuntimeExports.jsx(Spacer,{size:4})]}),jsxRuntimeExports.jsx(Title$p,{textAlign:"center",color:At.color.text.body.invert,children:tt}),jsxRuntimeExports.jsx(Spacer,{size:3}),jsxRuntimeExports.jsx(Text$8,{color:At.color.text.body.tertiary,fontWeight:400,textAlign:"center",children:nt}),(ft||gt)&&jsxRuntimeExports.jsxs(Flex,{position:"absolute",bottom:"34px",left:0,wFull:!0,justify:"center",direction:"column",py:0,px:7,zIndex:5,children:[gt,ft&&ht&&jsxRuntimeExports.jsx(Button$b,{onClick:ht,children:ft})]})]})},IdError=({image:Be,orientation:Le,initialMode:Ye,errorType:tt,mode:nt,onButtonClick:ft})=>{var bt,wt,It;const{t:ht}=useTranslation$1(),gt=useTokens(),{attempts:At,captureConfiguration:xt,canRetry:yt}=useCaptureIdState(),{title:Ct,subtitle:Et}=getErrorConfig(tt,nt,ht),vt=yt()?ht("idv2.capture.processing.tryAgain"):ht("idv2.capture.processing.continue"),kt=yt()?jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(Text$8,{textAlign:"center",color:gt.color.text.body.invert,children:ht("idv2.capture.processing.attemptsRemaining",{attempts:At,maxAttempts:xt==null?void 0:xt.captureAttempts})}),jsxRuntimeExports.jsx(Spacer,{size:4})]}):null;return jsxRuntimeExports.jsx(IdProcessingLayout,{image:Be,orientation:Le,initialMode:Ye,borderColor:gt.color.surface.status.negative,children:jsxRuntimeExports.jsx(StatusMessage,{orientation:Le,icon:jsxRuntimeExports.jsx(SvgRedStrike,{title:ht("idv2.capture.processing.error")}),iconColor:(It=(wt=(bt=gt==null?void 0:gt.primitives)==null?void 0:bt.color)==null?void 0:wt.negative)==null?void 0:It["500"],title:Ct,subtitle:Et,buttonText:vt,onButtonClick:ft,additionalContent:kt})})},SvgGreenCheck=Be=>React__namespace.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:32,height:32,viewBox:"0 0 32 32",fill:"none",...Be},React__namespace.createElement("path",{d:"M16 0C24.8363 0.00012782 32 7.1636 32 16C31.9999 24.8363 24.8363 31.9999 16 32C7.16362 32 7.37067e-05 24.8364 0 16C0 7.16352 7.16357 0 16 0ZM22.3486 11.2314C21.8838 10.7668 21.1503 10.736 20.6494 11.1387L20.6406 11.1455L20.5537 11.2236L13.7139 18.0635L11.4521 15.8008C10.9543 15.3032 10.1473 15.3033 9.64941 15.8008C9.18435 16.2658 9.15345 17.0008 9.55664 17.502L9.56348 17.5098L9.6416 17.5977L12.8125 20.7686C13.2775 21.2335 14.0117 21.2644 14.5127 20.8613L14.5205 20.8545L14.6084 20.7764L22.3486 13.0352C22.8467 12.5371 22.8467 11.7295 22.3486 11.2314Z",fill:"#189F60"})),IdSuccess=({image:Be,orientation:Le,initialMode:Ye,title:tt,subtitle:nt,buttonText:ft,onButtonClick:ht})=>{var xt,yt,Ct;const{t:gt}=useTranslation$1(),At=useTokens();return jsxRuntimeExports.jsx(IdProcessingLayout,{image:Be,orientation:Le,initialMode:Ye,borderColor:At.color.surface.status.positive,children:jsxRuntimeExports.jsx(StatusMessage,{orientation:Le,icon:jsxRuntimeExports.jsx(SvgGreenCheck,{title:gt("idv2.capture.processing.success")}),iconColor:(Ct=(yt=(xt=At==null?void 0:At.primitives)==null?void 0:xt.color)==null?void 0:yt.positive)==null?void 0:Ct["600"],title:tt,subtitle:nt,buttonText:ft,onButtonClick:ht})})},useIdSuccessState=(Be,Le)=>{const{t:Ye}=useTranslation$1(),{successData:tt,captureConfiguration:nt}=useCaptureIdState(),{goToFront:ft,goToBack:ht,finish:gt}=Le,At=Ye("idv2.capture.processing.successTitle");if(Be==="front")return nt.usSmartCapture||tt!=null&&tt.skipBackIdCapture?{title:At,subtitle:Ye("idv2.capture.processing.successBackSubtitle"),buttonText:Ye("idv2.capture.processing.continue"),onButtonClick:gt}:{title:At,subtitle:Ye("idv2.capture.processing.successFrontSubtitle"),buttonText:Ye("idv2.capture.processing.scanBack"),onButtonClick:ht};if(Be==="back")return nt.usSmartCapture?(tt==null?void 0:tt.forceFrontIdCapture)===!0?{title:At,subtitle:Ye("idv2.capture.processing.successBackSubtitleScanFront"),buttonText:Ye("idv2.capture.processing.scanFront"),onButtonClick:ft}:{title:At,subtitle:Ye("idv2.capture.processing.successBackSubtitle"),buttonText:Ye("idv2.capture.processing.continue"),onButtonClick:gt}:{title:At,subtitle:Ye("idv2.capture.processing.successBackSubtitle"),buttonText:Ye("idv2.capture.processing.continue"),onButtonClick:gt}},getIdErrorAction=(Be,Le)=>{const{onTryAgain:Ye,onContinue:tt,finishWithError:nt}=Le;return Be==="RETRY_EXHAUSTED_CONTINUE_TO_BACK"?tt:Be==="RETRY_EXHAUSTED_SKIP_BACK"||Be==="NO_MORE_TRIES"?nt:Ye},getFrameColor=({isCapturing:Be,isBadState:Le,hasError:Ye,isSuccess:tt,tokens:nt})=>tt?nt.color.surface.status.positive:Be?nt.color.surface.primary[500]:Le||Ye?nt.color.surface.status.negative:nt.color.surface.neutral.light,getTypeFromMode=Be=>Be==="passport"||Be==="front"?"front":"back",getRecordingType=Be=>Be==="passport"||Be==="front"?"frontId":"backId",CaptureId$1=({initialMode:Be="front",switchToBack:Le,switchToFront:Ye,isDeepsightEnabled:tt})=>{var Ir,Nr;const nt=React.useRef(null),ft=React.useRef(null),[ht,gt]=React.useState(null),[At,xt]=React.useState(0),[yt,Ct]=React.useState(null),[Et,vt]=React.useState(!1),{uploadId:kt,token:bt,completeWithError:wt,captureConfiguration:It,kioskOptions:Rt,resetAttempts:Tt,completeFlow:Bt,captureOnly:Pt,onCapture:Dt,storeCapturedImage:Ot,completeCaptureOnlyFlow:Lt}=useCaptureIdState(),Wt=getTypeFromMode(Be),$t=useTokens();useScreenEvents({module:eventModuleNames.front,screen:eventScreenNames[`${Wt}CameraCapture`],token:bt});const qt=React.useRef(!1);React.useEffect(()=>{qt.current=!1},[]);const Ht=async Or=>{const{blob:Vr,url:Yr}=Or.getBlobData(),e0=Or.getBase64Image();if(await onboardingAnalytics.analyzeFrame(e0),onboardingAnalytics.update(),MlWasmJSApi$1.reset(),Ot(Wt,{imageBase64:e0,blob:Vr,url:Yr,metadata:onboardingAnalytics.getMetadata()}),vt(!0),ur==="id"&&Wt==="front"&&!It.onlyFront){Tt(),Le==null||Le();return}onboardingAnalytics.stopMotionSensors(),Lt()},{startRecording:Ut,stopRecording:Ft}=useMediaRecorder({token:bt,type:getRecordingType(Be)}),Xt=()=>{Ct(null),gt(null),vt(!1),xt(0),qt.current=!1,Yt&&Yt()},_t=()=>{Tt(),Ye(),Ft()},Mt=()=>{Tt(),Le(),Ft()},jt=()=>{Ft(),Bt()},zt=async Or=>{const Vr={canvas:null,itr:null,skipped:null};if(await MlWasmJSApi$1.poc(Vr),(Vr==null?void 0:Vr.skipped)===!1){if(Vr!=null&&Vr.canvas){const e0=new IncodeCanvas(Vr.canvas).getBase64Image();logFrame({base64Image:e0,token:bt,source:Or==="front"?sources.front:sources.back})}(Vr==null?void 0:Vr.itr)===!0?(addDeviceStats(bt,{virtualCameraDetected:!0}),MlWasmJSApi$1.setZc("FAIL")):(Vr==null?void 0:Vr.itr)===!1&&MlWasmJSApi$1.setZc("PASS")}},Gt=async()=>{await Ft(),wt({code:"NO_MORE_TRIES",message:yt.message,error:yt})},{startDetection:Yt,shouldShowIdHint:ar,isWrongSide:tr,isIdle:sr,isFarAway:dr,isGlare:rr,isBlur:gr,isManualCapture:yr,isCapturing:or,isBadState:ir,stopDetection:Zt,orientation:Qt,counterValue:er,switchToManualCapture:nr,onManualCapture:lr,detectionState:hr,idType:ur}=useIdDetection({mode:Be,getCanvas:()=>nt.current.getCanvas(),onCapture:async(Or,{qualityElements:Vr})=>{var Yr;Zt(),await sleep(300);try{if(Pt&&Dt){await Ht(Or);return}const e0=(Yr=ft.current)==null?void 0:Yr.getBoundingClientRect(),Rr=MlWasmJSApi$1.IdPerspectiveTransform(Or.getImageData(),{x:Or.width()*e0.left/document.documentElement.clientWidth,y:Or.height()*e0.top/document.documentElement.clientHeight,w:Or.width()*e0.width/document.documentElement.clientWidth,h:Or.height()*e0.height/document.documentElement.clientHeight}),Tr=(Rr?new IncodeCanvas(Rr):Or).getBase64Image();gt({canvas:Or,qualityElements:Vr,image:Tr}),await zt(Wt);const n0=Or.getBase64Image();await kt({image:n0,type:Wt,sendBase64:!0,glare:Vr==null?void 0:Vr.glare,sharpness:Vr==null?void 0:Vr.sharpness,onProgress:xt}),vt(!0),onboardingAnalytics.stopMotionSensors()}catch(e0){console.error("Failed to upload ID:",e0),qt.current=!1,e0 instanceof CaptureIdError?Ct(e0):Ct(new CaptureIdError("UPLOAD_ERROR","Upload error"))}}}),xr=getFrameColor({isBadState:ir,isCapturing:or,hasError:!!yt,isSuccess:Et,tokens:$t}),Mr=yt?"error":Et?"success":ht?"uploading":null,_r=()=>{Xt()},Zr=useIdSuccessState(Wt,{goToFront:_t,goToBack:Mt,finish:jt}),qr=getIdErrorAction(yt==null?void 0:yt.errorKey,{onTryAgain:_r,onContinue:Mt,finishWithError:Gt}),$r=async Or=>{!Pt&&It.isRecordingEnabled&&await Ut(Or)};if(hr==="offline")return jsxRuntimeExports.jsx(NoInternetError,{isV2:!0});const Pr=()=>{var Vr;const Or=(Vr=nt.current)==null?void 0:Vr.video;setTimeout(()=>{Or==null||Or.play()},1)};return jsxRuntimeExports.jsxs(IdFlowPage,{position:"relative",hideHeaderBranding:!0,hideFooterBranding:!0,p:0,closeButtonColor:Mr===null?$t.primitives.color.neutral.light:void 0,closeButtonOnCancel:()=>{Pr()},"data-testid":`${Be}-capture-page`,children:[Mr==="uploading"&&jsxRuntimeExports.jsx(IdAnalyzing,{image:ht==null?void 0:ht.image,progress:At,orientation:Qt,initialMode:Be==="passport"?"passport":"id"}),Mr==="success"&&jsxRuntimeExports.jsx(IdSuccess,{image:ht==null?void 0:ht.image,orientation:Qt,initialMode:Be==="passport"?"passport":"id",title:Zr.title,subtitle:Zr.subtitle,buttonText:Zr.buttonText,onButtonClick:Zr.onButtonClick}),Mr==="error"&&jsxRuntimeExports.jsx(IdError,{image:ht==null?void 0:ht.image,orientation:Qt,initialMode:Be==="passport"?"passport":"id",errorType:yt==null?void 0:yt.errorKey,mode:Wt,onButtonClick:qr}),jsxRuntimeExports.jsx(CaptureOverlay,{ref:ft,isWrongSide:tr,isIdle:sr,isFarAway:dr,isGlare:rr,isBlur:gr,isManualCapture:yr,isCapturing:or,mode:Be,frameColor:xr,orientation:Qt,counterValue:er,isCameraReady:!!((Nr=(Ir=nt.current)==null?void 0:Ir.video)!=null&&Nr.readyState)}),ar&&!Et&&jsxRuntimeExports.jsx(IDHint,{mode:Be,orientation:Qt}),yr&&jsxRuntimeExports.jsx(ManualCaptureButton,{onClick:lr}),!Et&&jsxRuntimeExports.jsx(Webcam,{ref:nt,onPlay:()=>{},videoSource:"environment",onError:Or=>wt({code:"WEBCAM_ERROR",message:typeof Or=="string"?Or:Or.message,error:typeof Or=="string"?new Error(Or):Or}),showCustomCameraPermissionScreen:!1,isIdv2:!0,onStreamReady:async Or=>{yr||Yt(),await $r(Or)},isKiosk:Rt==null?void 0:Rt.enableKiosk,flipVerticallyImage:Rt==null?void 0:Rt.flipVerticallyImage,zoomLevel:Rt==null?void 0:Rt.zoomLevel,isDeepsightEnabled:tt,isV2:!0}),jsxRuntimeExports.jsx(NeedHelp,{switchToManualCapture:nr,onCloseCancel:Pr})]})},v$4="5.7.5",fr$4=100,ip$4=0,op$4=300,w$4=256,h$5=180,nm$4="Comp 1",ddd$4=0,metadata$4={},assets$4=[{id:"0",layers:[{ddd:0,ind:1,ty:3,nm:"",sr:1,ks:{p:{a:0,k:[0,-.17592620849609375],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:301,st:0,bm:0},{ddd:0,ind:2,ty:4,nm:"stroke: 0-stroke-mask",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},td:1,ao:0,parent:1,shapes:[{ty:"gr",nm:"stroke",it:[{ty:"rc",d:1,s:{a:0,k:[190,114.35185241699219],ix:2},p:{a:0,k:[0,0],ix:2},r:{a:0,k:7.037036895751953,ix:2}},{ty:"tr",p:{a:0,k:[95,57.175926208496094],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"fl",c:{a:0,k:[0,0,0],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0}],ip:0,op:301,st:0,bm:0},{ddd:0,ind:3,ty:4,nm:"stroke: 0",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},tt:1,ao:0,parent:1,shapes:[{ty:"gr",nm:"stroke",it:[{ty:"rc",d:1,s:{a:0,k:[190,114.35185241699219],ix:2},p:{a:0,k:[0,0],ix:2},r:{a:0,k:7.037036895751953,ix:2}},{ty:"st",c:{a:0,k:[0,0,0],ix:2},o:{a:0,k:9.55125762195122,ix:2},w:{a:0,k:4,ix:2},lc:1,lj:1,ml:4},{ty:"tr",p:{a:0,k:[95,57.175926208496094],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:301,st:0,bm:0},{ddd:0,ind:4,ty:4,nm:"Vector",sr:1,ks:{p:{a:0,k:[0,-.17592620849609375],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"gr",nm:"Vector",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[20.336174011230472,14.481519017662096],[10.168088100466582,28.708600997924805],[0,14.481519017662096],[10.168088100466582,0],[20.336174011230472,14.481519017662096]],i:[[0,0],[4.4573026921291765,0],[0,7.857114888978418],[-9.607272395074013,0],[0,-7.162999348553282]],o:[[0,7.857114888978418],[-4.875072510790041,0],[0,-7.001191495684256],[9.607272395074013,0],[0,0]]}}},{ty:"fl",c:{a:0,k:[1,1,1],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[35.283714294433594,61.520416259765625],ix:2},a:{a:0,k:[10.168087005615234,14.354300498962402],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:301,st:0,bm:0},{ddd:0,ind:5,ty:4,nm:"Vector",sr:1,ks:{p:{a:0,k:[0,-.17592620849609375],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"gr",nm:"Vector",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[2.585263544356252,.6357249709719486],[.5639184743819521,.8078302943604694],[0,6.236114513763313],[1.0358738215133365,7.112615422140214],[2.8208361229521515,3.7918382671934827],[2.585263544356252,.6357249709719486]],i:[[0,0],[.3721928757905259,-.5694721956843303],[0,0],[-.7408842119359059,-.10062962521393391],[-.2225465342933705,.9371134231442041],[.9047087918405513,1.5357453734634474]],o:[[-.7238359406742284,-1.2287105605392608],[0,0],[.013489408026712932,.4728449017620729],[.9260622235793419,.12521527112144595],[.2225465342933705,-.9371134231442041],[0,0]]}}},{ty:"fl",c:{a:0,k:[.8784313725490196,.8784313725490196,.8784313725490196],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[45.16261291503906,63.616188049316406],ix:2},a:{a:0,k:[1.5646631717681885,3.5585689544677734],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:301,st:0,bm:0},{ddd:0,ind:6,ty:4,nm:"Vector",sr:1,ks:{p:{a:0,k:[0,-.17592620849609375],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"gr",nm:"Vector",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[.560088135193917,.6274032447373796],[2.579653127299776,.8189464316241892],[3.0919647216796875,6.252377919741615],[2.0478269027668765,7.118592831899695],[.2944903401112677,3.781230889173264],[.560088135193917,.6274032447373796]],i:[[0,0],[-.366739716408646,-.572902752046297],[0,0],[.7418026979326517,-.09319675889969155],[.21364928905151195,.9394004487279647],[-.9193463218773792,1.5277406721234588]],o:[[.7354311421741407,-1.2218495615414229],[0,0],[-.01796674559060037,.4728449108622851],[-.9272103652869044,.11721064487339525],[-.2135918777847566,-.9388286627613592],[0,0]]}}},{ty:"fl",c:{a:0,k:[.8784313725490196,.8784313725490196,.8784313725490196],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[24.965709686279297,63.315589904785156],ix:2},a:{a:0,k:[1.5459823608398438,3.561277389526367],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:301,st:0,bm:0},{ddd:0,ind:7,ty:4,nm:"shadow",sr:1,ks:{p:{a:0,k:[0,-.17592620849609375],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"gr",nm:"shadow",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[0,.08838224632831858],[10.709214210510254,1.8968533454508854],[0,5.717919198661852],[0,.08838224632831858]],i:[[0,0],[0,0],[9.679713425400355,1.5654766513144098],[0,0]],o:[[5.515848055988135,-.5706156998573915],[0,0],[0,0],[0,0]]}}},{ty:"fl",c:{a:0,k:[.803921568627451,.803921568627451,.803921568627451],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[33.857391357421875,74.56604766845703],ix:2},a:{a:0,k:[5.354607105255127,3.001626491546631],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:301,st:0,bm:0},{ddd:0,ind:8,ty:4,nm:"torso",sr:1,ks:{p:{a:0,k:[0,-.17592620849609375],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"gr",nm:"torso",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[33.43202915831513,0],[48.30771255493164,6.550104996070588],[48.30771255493164,12.64682279098106],[44.897802538666866,16.04387664794922],[3.409910016264771,16.04387664794922],[0,12.64682279098106],[0,8.050972972324764],[.2253466754131905,7.623828626404212],[15.96654068605449,.0016750758663551073],[24.278581738359936,5.917484677210475],[33.43202915831513,0]],i:[[0,0],[-3.7053493460653084,-3.5209113221018913],[0,0],[1.883183936410095,-9193423421578779e-20],[0,0],[0,1.8758406884205434],[0,0],[-.07645700792792086,.1362592443505846],[0,0],[-3.647742649695884,-.06184641352074094],[0,2.398530064010412]],o:[[0,0],[0,0],[0,1.8757970666531905],[0,0],[-1.8832455217961142,-21215800676135137e-21],[0,0],[.07420884196482003,-.1479490686129265],[2.2190882862355052,-3.9542243311982492],[0,2.3967802858674654],[5.086195795497552,0],[0,0]]}}},{ty:"fl",c:{a:0,k:[.4588235294117647,.4588235294117647,.4588235294117647],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[34.48603439331055,87.09834289550781],ix:2},a:{a:0,k:[24.15385627746582,8.02193832397461],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:301,st:0,bm:0},{ddd:0,ind:9,ty:4,nm:"Vector",sr:1,ks:{p:{a:0,k:[0,-.17592620849609375],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"gr",nm:"Vector",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[4.726576700766991,13.878827877237368],[4.726576700766991,13.966874051657504],[0,18.172160700039402],[11.302692554507228,23.079574584960938],[22.60538291931152,18.172160700039402],[17.878808408247465,13.960583792862725],[17.884549809342467,5.63863193257077],[17.884549809342467,5.593457230713114],[17.914741433407254,3.1240290034420926],[4.706024149021118,5.839885316590158],[4.726576700766991,13.878827877237368]],i:[[0,0],[0,0],[3.1266732623093443,-.9394004085542251],[-3.767506248945593,0],[-3.767506248945593,2.726148051152753],[.04563438853972893,1.867365643537479],[-.0032718997261440177,.7084096570481684],[.2054982659214247,.056604162851528354],[-.013948624740317448,3.190416425297435],[-.1970028001743088,-8.76106656043069],[-.012513581324351524,-1.0120138152571008]],o:[[0,0],[-.024395743417375135,1.8639350642025834],[3.767506248945593,2.726148051152753],[3.767506248945593,0],[-3.1054345124062834,-.9405439122795201],[0,-.7089814429903213],[.22461303819185421,.03144675713973798],[.006199389011072396,-2.335064733335078],[.014006026391420814,-3.190416425297435],[.002697882145919471,.8930879283281875],[0,0]]}}},{ty:"fl",c:{a:0,k:[.9333333333333333,.9333333333333333,.9333333333333333],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[35.25586700439453,73.59458923339844],ix:2},a:{a:0,k:[11.302691459655762,11.539787292480469],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:301,st:0,bm:0},{ddd:0,ind:10,ty:4,nm:"bg",sr:1,ks:{p:{a:0,k:[0,-.17592620849609375],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"gr",nm:"bg",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[3.409949818946022,0],[44.89763685097586,0],[48.30758666992188,3.396534661063843],[48.30758666992188,54.34485120503103],[44.89763685097586,57.741390228271484],[3.409949818946022,57.741390228271484],[0,54.34485120503103],[0,3.396534661063843],[3.409949818946022,0]],i:[[0,0],[0,0],[0,-1.8758548119935405],[0,0],[1.8832638011481093,0],[0,0],[0,1.8758548119935405],[0,0],[-1.8832638011481093,0]],o:[[0,0],[1.8832638011481093,0],[0,0],[0,1.8758548119935405],[0,0],[-1.8832638011481093,0],[0,0],[0,-1.8758548119935405],[0,0]]}}},{ty:"fl",c:{a:0,k:[.6745098039215687,.6745098039215687,.6745098039215687],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[34.48596954345703,66.24932861328125],ix:2},a:{a:0,k:[24.153793334960938,28.870695114135742],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:301,st:0,bm:0},{ddd:0,ind:11,ty:4,nm:"Union",sr:1,ks:{p:{a:0,k:[0,-.17592620849609375],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"gr",it:[{ty:"gr",nm:"Filled region",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[79.58521351920115,0],[80.71898247180546,1.1332049383285108],[80.71898247180546,7.4496490324436415],[79.58521351920115,8.582853970772153],[1.1337689526043155,8.582853970772153],[0,7.4496490324436415],[0,1.1332049383285108],[1.1337689526043155,0],[79.58521351920115,0]],i:[[0,0],[0,-.6257573884970806],[0,0],[.6260659717247896,0],[0,0],[0,.6257572520762907],[0,0],[-.6260688379872524,0],[0,0]],o:[[.6260659717247896,0],[0,0],[0,.6257572520762907],[0,0],[-.6260688379872524,0],[0,0],[0,-.6257573884970806],[0,0],[0,0]]}}},{ty:"fl",c:{a:0,k:[.8705882352941177,.8705882352941177,.8705882352941177],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[40.35948944091797,4.291427135467529],ix:2},a:{a:0,k:[40.35949123590273,4.291426985386076],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"Filled region",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[164.23716669197867,.18383847372291914],[165.37037658691406,1.316484632496041],[165.37037658691406,7.663102822602168],[164.23716669197867,8.796307760930679],[150.72306566076364,8.796307760930679],[149.5892967081593,7.663102822602168],[149.5892967081593,1.316484632496041],[150.72306566076364,.18383847372291914],[164.23716669197867,.18383847372291914]],i:[[0,0],[-5900751566369648e-20,-.6256315403184072],[0,0],[.6259649018508033,-.00012265582061534052],[0,0],[0,.6257572520762907],[0,0],[-.6260324637517124,0],[0,0]],o:[[.625928459370919,.00012268701987679787],[0,0],[0,.6256816067482968],[0,0],[-.6260688379872524,0],[0,0],[59006649280418564e-21,-.625707253856796],[0,0],[0,0]]}}},{ty:"fl",c:{a:0,k:[.8705882352941177,.8705882352941177,.8705882352941177],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[157.47984313964844,4.490073204040527],ix:2},a:{a:0,k:[157.47983664753667,4.4900731173268],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"Filled region",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[99.47480820697419,36.15694869054386],[100.6085771595785,37.29015362887237],[100.6085771595785,41.210550989480275],[99.47480820697419,42.343755927808786],[59.74313873328776,42.343755927808786],[58.60936978068344,41.210550989480275],[58.60936978068344,37.29015362887237],[59.74313873328776,36.15694869054386],[99.47480820697419,36.15694869054386]],i:[[0,0],[-212378657220384e-19,-.625707322067191],[0,0],[.626026185272032,-51902665045482415e-21],[0,0],[0,.6257572520762907],[0,0],[-.6260557350731367,0],[0,0]],o:[[.6260130823579163,5189029608287369e-20],[0,0],[0,.6257252614010615],[0,0],[-.6260688379872524,0],[0,0],[21243336849132344e-21,-.6257393127424202],[0,0],[0,0]]}}},{ty:"fl",c:{a:0,k:[.8705882352941177,.8705882352941177,.8705882352941177],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[79.60897064208984,39.25035095214844],ix:2},a:{a:0,k:[79.60897347013096,39.25035230917632],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"Filled region",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[99.47424914930525,50.19125600368926],[100.60801810190956,51.32446094201777],[100.60801810190956,55.24485830262568],[99.47424914930525,56.378063240954184],[59.74257967561882,56.378063240954184],[58.6088107230145,55.24485830262568],[58.6088107230145,51.32446094201777],[59.74257967561882,50.19125600368926],[99.47424914930525,50.19125600368926]],i:[[0,0],[0,-.6257282626584391],[0,0],[.6260302116883488,-4717541073512617e-20],[0,0],[0,.6257572520762907],[0,0],[-.6260688379872524,0],[0,0]],o:[[.6260302116883488,4718237582245178e-20],[0,0],[0,.6257281262376492],[0,0],[-.6260688379872524,0],[0,0],[0,-.6257573884970806],[0,0],[0,0]]}}},{ty:"fl",c:{a:0,k:[.8705882352941177,.8705882352941177,.8705882352941177],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[79.60841369628906,53.28466033935547],ix:2},a:{a:0,k:[79.60841441246203,53.284659622321726],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"Filled region",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[115.7595990454412,64.22276941905771],[116.89280894037658,65.35541557783084],[116.89280894037658,69.27637171799414],[115.7595990454412,70.40901787676725],[59.74257967561882,70.40901787676725],[58.6088107230145,69.27637171799414],[58.6088107230145,65.35541557783084],[59.74257967561882,64.22276941905771],[115.7595990454412,64.22276941905771]],i:[[0,0],[-56655572470149287e-21,-.6256684421420724],[0,0],[.6259209524930403,-6605008131161611e-20],[0,0],[.00015104334463170795,.6256288801130043],[0,0],[-.6260338968829439,0],[0,0]],o:[[.625979164918773,6606611391848458e-20],[0,0],[-.00015106457102201688,.6255880902968273],[0,0],[-.6259756844572111,0],[0,0],[5664751677178637e-20,-.6257092319582495],[0,0],[0,0]]}}},{ty:"fl",c:{a:0,k:[.8705882352941177,.8705882352941177,.8705882352941177],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[87.75080871582031,67.3158950805664],ix:2},a:{a:0,k:[87.75080983169553,67.31589364791247],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"Filled region",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[76.33205694365653,78.25763551175851],[77.4652668385919,79.39084045008703],[77.4652668385919,83.31123781069492],[76.33205694365653,84.44444274902344],[59.74257967561882,84.44444274902344],[58.6088107230145,83.31123781069492],[58.6088107230145,79.39084045008703],[59.74257967561882,78.25763551175851],[76.33205694365653,78.25763551175851]],i:[[0,0],[0,-.6256904740996396],[0,0],[.6259758209458998,-.00010851158922177351],[0,0],[0,.6257572520762907],[0,0],[-.6260688379872524,0],[0,0]],o:[[.6259758209458998,.00010850078979767151],[0,0],[0,.6256903376788497],[0,0],[-.6260688379872524,0],[0,0],[0,-.6257573884970806],[0,0],[0,0]]}}},{ty:"fl",c:{a:0,k:[.8705882352941177,.8705882352941177,.8705882352941177],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[68.03704071044922,81.35103607177734],ix:2},a:{a:0,k:[68.0370387808032,81.35103913039097],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"tr",p:{a:0,k:[93.24095153808594,49.84562683105469],ix:2},a:{a:0,k:[82.68518829345703,42.22222137451172],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:301,st:0,bm:0},{ddd:0,ind:12,ty:4,nm:"Vector",sr:1,ks:{p:{a:0,k:[0,-.17592620849609375],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"gr",nm:"Vector",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[.0008038586831410768,1.1314527457683046],[1.1374172298530045,0],[165.32753521855625,0],[166.46409606933594,1.1321943158582144],[166.46409606933594,2.298413612312288],[165.32753521855625,3.430555582046509],[1.1366705412035618,3.430555582046509],[23774199052550321e-23,2.297667680045379],[.0008038586831410768,1.1314527457683046]],i:[[0,0],[-.627458443271298,0],[0,0],[0,-.6252759506022489],[0,0],[.6279750762719661,0],[0,0],[-.0004018121983521284,.6255618095137454],[0,0]],o:[[.0004018121983521284,-.6249900235317369],[0,0],[.6279750762719661,0],[0,0],[0,.6252759506022489],[0,0],[-.6280898988117173,0],[0,0],[0,0]]}}},{ty:"fl",c:{a:0,k:[.8431372549019608,.8431372549019608,.8431372549019608],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[94.03180694580078,26.10493278503418],ix:2},a:{a:0,k:[83.23204803466797,1.7152777910232544],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:301,st:0,bm:0},{ddd:0,ind:13,ty:4,nm:"bg",sr:1,ks:{p:{a:0,k:[0,-.17592620849609375],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"gr",nm:"bg",it:[{ty:"rc",d:1,s:{a:0,k:[190,114.35185241699219],ix:2},p:{a:0,k:[0,0],ix:2},r:{a:0,k:7.037036895751953,ix:2}},{ty:"fl",c:{a:0,k:[1,1,1],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[95,57.175926208496094],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:301,st:0,bm:0}]},{id:"1",layers:[{ddd:0,ind:14,ty:3,nm:"",sr:1,ks:{p:{a:0,k:[0,-.17592620849609375],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:301,st:0,bm:0},{ddd:0,ind:15,ty:4,nm:"stroke: 0-stroke-mask",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},td:1,ao:0,parent:14,shapes:[{ty:"gr",nm:"stroke",it:[{ty:"rc",d:1,s:{a:0,k:[190,114.35185241699219],ix:2},p:{a:0,k:[0,0],ix:2},r:{a:0,k:7.037036895751953,ix:2}},{ty:"tr",p:{a:0,k:[95,57.175926208496094],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"fl",c:{a:0,k:[0,0,0],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0}],ip:0,op:301,st:0,bm:0},{ddd:0,ind:16,ty:4,nm:"stroke: 0",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},tt:1,ao:0,parent:14,shapes:[{ty:"gr",nm:"stroke",it:[{ty:"rc",d:1,s:{a:0,k:[190,114.35185241699219],ix:2},p:{a:0,k:[0,0],ix:2},r:{a:0,k:7.037036895751953,ix:2}},{ty:"st",c:{a:0,k:[0,0,0],ix:2},o:{a:0,k:10,ix:2},w:{a:0,k:4.672131147540984,ix:2},lc:1,lj:1,ml:4},{ty:"tr",p:{a:0,k:[95,57.175926208496094],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:301,st:0,bm:0},{ddd:0,ind:17,ty:4,nm:"top",sr:1,ks:{p:{a:0,k:[0,-.17592620849609375],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"gr",it:[{ty:"gr",nm:"top",it:[{ty:"gr",nm:"Path",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[185.22441285113027,29.2432],[0,29.2432],[.0028560532109780414,14.126],[185.22441285113027,14.126],[185.22441285113027,29.2432]],i:[[0,0],[61.74147095037677,0],[-.0009520177369926804,5.039066666666669],[-61.740518932639766,0],[0,-5.03906666666667]],o:[[-61.74147095037676,0],[.0009520177369926804,-5.039066666666667],[61.74051893263976,0],[0,5.039066666666669],[0,0]]}}},{ty:"tr",p:{a:0,k:[95,21.684600830078125],ix:2},a:{a:0,k:[92.61220642556513,21.6846],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"Path",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[93.8428,39.29],[95,40.3857],[95,43.4727],[93.8428,44.5684],[11.7139,44.5684],[10.5557,43.4727],[10.5557,40.3857],[11.7139,39.29],[93.8428,39.29]],i:[[0,0],[0,-.6047000000000011],[0,-1.0290000000000035],[.6392000000000024,-.00019999999999953388],[27.376299999999993,0],[0,.6047999999999973],[0,1.0290000000000035],[-.6395,0],[-27.3763,0]],o:[[.6392000000000024,.00019999999999953388],[0,1.0290000000000035],[0,.604699999999994],[-27.3763,0],[-.6395,0],[0,-1.0290000000000035],[0,-.6047999999999973],[27.3763,0],[0,0]]}}},{ty:"tr",p:{a:0,k:[52.77785110473633,41.92919921875],ix:2},a:{a:0,k:[52.77785,41.929199999999994],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"Path",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[64.0068,48.6729],[65.1582,49.7686],[65.1582,52.8555],[64.0068,53.9502],[11.7734,53.9502],[10.6221,52.8555],[10.6221,49.7686],[11.7734,48.6729],[64.0068,48.6729]],i:[[0,0],[0,-.6047999999999973],[0,-1.028966666666669],[.6362000000000023,-.00019999999999953388],[17.411133333333332,0],[0,.6047000000000011],[0,1.028966666666669],[-.6361000000000008,.00019999999999953388],[-17.411133333333332,0]],o:[[.6362000000000023,.00019999999999953388],[0,1.028966666666669],[0,.6047000000000011],[-17.411133333333332,0],[-.6361000000000008,-.00019999999999953388],[0,-1.028966666666669],[0,-.6047999999999973],[17.411133333333332,0],[0,0]]}}},{ty:"tr",p:{a:0,k:[37.8901481628418,51.31155014038086],ix:2},a:{a:0,k:[37.89014999999999,51.31155],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"Path",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[53.3135,58.0557],[54.4707,59.1504],[54.4707,62.2383],[53.3135,63.333],[11.6455,63.333],[10.4893,62.2383],[10.4893,59.1504],[11.6455,58.0557],[53.3135,58.0557]],i:[[0,0],[-.00019999999999953388,-.6047000000000011],[0,-1.0292999999999992],[.6388000000000034,0],[13.889333333333331,0],[0,.6047000000000011],[0,1.0292999999999992],[-.6386000000000003,9999999999621423e-20],[-13.889333333333333,0]],o:[[.6387,0],[0,1.0292999999999992],[-.00010000000000331966,.6047999999999973],[-13.889333333333333,0],[-.6387,-9999999999621423e-20],[0,-1.0292999999999992],[.00019999999999953388,-.6045999999999978],[13.889333333333331,0],[0,0]]}}},{ty:"tr",p:{a:0,k:[32.47999954223633,60.69435119628906],ix:2},a:{a:0,k:[32.480000000000004,60.69435],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"Path",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[52.875,0],[54.5371,1.56055],[54.5371,3.67188],[52.875,5.23242],[12.2188,5.23242],[10.5557,3.67188],[10.5557,1.56055],[12.2188,0],[52.875,0]],i:[[0,0],[0,-.8617900000000001],[0,-.7037766666666667],[.9181000000000026,-.000140000000000029],[13.55206666666667,0],[0,.8619000000000003],[0,.7037766666666667],[-.9182000000000006,0],[-13.552066666666668,0]],o:[[.9179999999999993,144155e-9],[0,.7037766666666663],[0,.8618100000000002],[-13.552066666666661,0],[-.9182000000000006,0],[0,-.7037766666666663],[0,-.8618790000000001],[13.552066666666663,0],[0,0]]}}},{ty:"tr",p:{a:0,k:[32.5463981628418,2.6162099838256836],ix:2},a:{a:0,k:[32.5464,2.61621],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"fl",c:{a:0,k:[.8627450980392157,.8627450980392157,.8627450980392157],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"tr",p:{a:0,k:[95,39.28990936279297],ix:2},a:{a:0,k:[95,31.66650390625],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:301,st:0,bm:0},{ddd:0,ind:18,ty:3,nm:"",sr:1,ks:{p:{a:0,k:[51.980628967285156,92.89378356933594],ix:2},a:{a:0,k:[41.22633361816406,10.395112037658691],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:301,st:0,bm:0},{ddd:0,refId:"2",w:83,h:22,ind:19,ty:0,nm:"bar",sr:1,ks:{p:{a:0,k:[0,-1],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:80.0000011920929,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:301,st:0,bm:0,parent:18},{ddd:0,ind:20,ty:4,nm:"bg",sr:1,ks:{p:{a:0,k:[0,-.17592620849609375],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"gr",nm:"bg",it:[{ty:"rc",d:1,s:{a:0,k:[190,114.35185241699219],ix:2},p:{a:0,k:[0,0],ix:2},r:{a:0,k:7.037036895751953,ix:2}},{ty:"fl",c:{a:0,k:[1,1,1],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[95,57.175926208496094],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:301,st:0,bm:0}]},{id:"2",layers:[{ddd:0,ind:21,ty:4,nm:"bar: group style",sr:1,ks:{p:{a:0,k:[0,1],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"gr",nm:"bar",it:[{ty:"gr",nm:"Path",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[80.52744845893126,0],[80.79250774467432,0],[82.45266723632812,1.6687079727373262],[82.45266723632812,19.121516102580056],[80.79250774467432,20.79022407531738],[80.52744845893126,20.79022407531738],[78.86787953890864,19.121516102580056],[78.86787953890864,1.6687079727373262],[80.52744845893126,0]],i:[[0,0],[0,0],[0,-.9212986043807614],[0,0],[.9165740224579598,0],[0,0],[0,.9212986043807614],[0,0],[-.9165740224579598,0]],o:[[0,0],[.9165740224579598,0],[0,0],[0,.9212986043807614],[0,0],[-.9165740224579598,0],[0,0],[0,-.9212986043807614],[0,0]]}}},{ty:"tr",p:{a:0,k:[80.66027069091797,10.395112037658691],ix:2},a:{a:0,k:[80.66027338761839,10.39511203765869],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"Path 10",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[51.84741990495696,0],[52.112483664727534,0],[53.772048110722636,1.6687079727373262],[53.772048110722636,19.121516102580056],[52.112483664727534,20.79022407531738],[51.84741990495696,20.79022407531738],[50.18726488733067,19.121516102580056],[50.18726488733067,1.6687079727373262],[51.84741990495696,0]],i:[[0,0],[0,0],[0,-.9212986043807614],[0,0],[.9165740224579598,0],[0,0],[0,.9212986043807614],[0,0],[-.9165740224579598,0]],o:[[0,0],[.9165740224579598,0],[0,0],[0,.9212986043807614],[0,0],[-.9165740224579598,0],[0,0],[0,-.9212986043807614],[0,0]]}}},{ty:"tr",p:{a:0,k:[73.48894500732422,10.395111083984375],ix:2},a:{a:0,k:[51.97965649902665,10.39511203765869],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"Path 9",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[51.84741990495696,0],[52.112483664727534,0],[53.772048110722636,1.6687079727373262],[53.772048110722636,19.121516102580056],[52.112483664727534,20.79022407531738],[51.84741990495696,20.79022407531738],[50.18726488733067,19.121516102580056],[50.18726488733067,1.6687079727373262],[51.84741990495696,0]],i:[[0,0],[0,0],[0,-.9212986043807614],[0,0],[.9165740224579598,0],[0,0],[0,.9212986043807614],[0,0],[-.9165740224579598,0]],o:[[0,0],[.9165740224579598,0],[0,0],[0,.9212986043807614],[0,0],[-.9165740224579598,0],[0,0],[0,-.9212986043807614],[0,0]]}}},{ty:"tr",p:{a:0,k:[66.31819915771484,10.395111083984375],ix:2},a:{a:0,k:[51.97965649902665,10.39511203765869],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"Path 8",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[51.84741990495696,0],[52.112483664727534,0],[53.772048110722636,1.6687079727373262],[53.772048110722636,19.121516102580056],[52.112483664727534,20.79022407531738],[51.84741990495696,20.79022407531738],[50.18726488733067,19.121516102580056],[50.18726488733067,1.6687079727373262],[51.84741990495696,0]],i:[[0,0],[0,0],[0,-.9212986043807614],[0,0],[.9165740224579598,0],[0,0],[0,.9212986043807614],[0,0],[-.9165740224579598,0]],o:[[0,0],[.9165740224579598,0],[0,0],[0,.9212986043807614],[0,0],[-.9165740224579598,0],[0,0],[0,-.9212986043807614],[0,0]]}}},{ty:"tr",p:{a:0,k:[59.150978088378906,10.395111083984375],ix:2},a:{a:0,k:[51.97965649902665,10.39511203765869],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"Path",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[51.84741990495696,0],[52.112483664727534,0],[53.772048110722636,1.6687079727373262],[53.772048110722636,19.121516102580056],[52.112483664727534,20.79022407531738],[51.84741990495696,20.79022407531738],[50.18726488733067,19.121516102580056],[50.18726488733067,1.6687079727373262],[51.84741990495696,0]],i:[[0,0],[0,0],[0,-.9212986043807614],[0,0],[.9165740224579598,0],[0,0],[0,.9212986043807614],[0,0],[-.9165740224579598,0]],o:[[0,0],[.9165740224579598,0],[0,0],[0,.9212986043807614],[0,0],[-.9165740224579598,0],[0,0],[0,-.9212986043807614],[0,0]]}}},{ty:"tr",p:{a:0,k:[51.97965621948242,10.395112037658691],ix:2},a:{a:0,k:[51.97965649902665,10.39511203765869],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"Path 7",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[0,1.6687079727373262],[1.6600364558973009,0],[1.924921254567519,0],[3.584899548107203,1.6687079727373262],[3.584899548107203,19.121516102580056],[1.924921254567519,20.79022407531738],[1.6600364558973009,20.79022407531738],[0,19.121516102580056],[0,1.6687079727373262]],i:[[0,0],[-.9168086292754629,0],[0,0],[0,-.9212986043807614],[0,0],[.9167499775710872,0],[0,0],[0,.9212986043807614],[0,0]],o:[[0,-.9212986043807614],[0,0],[.9167499775710872,0],[0,0],[0,.9212986043807614],[0,0],[-.9168086292754629,0],[0,0],[0,0]]}}},{ty:"tr",p:{a:0,k:[44.808387756347656,10.395111083984375],ix:2},a:{a:0,k:[1.7924497740536014,10.39511203765869],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"Path 6",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[0,1.6687079727373262],[1.6600364558973009,0],[1.924921254567519,0],[3.584899548107203,1.6687079727373262],[3.584899548107203,19.121516102580056],[1.924921254567519,20.79022407531738],[1.6600364558973009,20.79022407531738],[0,19.121516102580056],[0,1.6687079727373262]],i:[[0,0],[-.9168086292754629,0],[0,0],[0,-.9212986043807614],[0,0],[.9167499775710872,0],[0,0],[0,.9212986043807614],[0,0]],o:[[0,-.9212986043807614],[0,0],[.9167499775710872,0],[0,0],[0,.9212986043807614],[0,0],[-.9168086292754629,0],[0,0],[0,0]]}}},{ty:"tr",p:{a:0,k:[37.640464782714844,10.395111083984375],ix:2},a:{a:0,k:[1.7924497740536014,10.39511203765869],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"Path 5",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[0,1.6687079727373262],[1.6600364558973009,0],[1.924921254567519,0],[3.584899548107203,1.6687079727373262],[3.584899548107203,19.121516102580056],[1.924921254567519,20.79022407531738],[1.6600364558973009,20.79022407531738],[0,19.121516102580056],[0,1.6687079727373262]],i:[[0,0],[-.9168086292754629,0],[0,0],[0,-.9212986043807614],[0,0],[.9167499775710872,0],[0,0],[0,.9212986043807614],[0,0]],o:[[0,-.9212986043807614],[0,0],[.9167499775710872,0],[0,0],[0,.9212986043807614],[0,0],[-.9168086292754629,0],[0,0],[0,0]]}}},{ty:"tr",p:{a:0,k:[30.5225830078125,10.395111083984375],ix:2},a:{a:0,k:[1.7924497740536014,10.39511203765869],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"Path 4",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[0,1.6687079727373262],[1.6600364558973009,0],[1.924921254567519,0],[3.584899548107203,1.6687079727373262],[3.584899548107203,19.121516102580056],[1.924921254567519,20.79022407531738],[1.6600364558973009,20.79022407531738],[0,19.121516102580056],[0,1.6687079727373262]],i:[[0,0],[-.9168086292754629,0],[0,0],[0,-.9212986043807614],[0,0],[.9167499775710872,0],[0,0],[0,.9212986043807614],[0,0]],o:[[0,-.9212986043807614],[0,0],[.9167499775710872,0],[0,0],[0,.9212986043807614],[0,0],[-.9168086292754629,0],[0,0],[0,0]]}}},{ty:"tr",p:{a:0,k:[23.518157958984375,10.395111083984375],ix:2},a:{a:0,k:[1.7924497740536014,10.39511203765869],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"Path 3",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[0,1.6687079727373262],[1.6600364558973009,0],[1.924921254567519,0],[3.584899548107203,1.6687079727373262],[3.584899548107203,19.121516102580056],[1.924921254567519,20.79022407531738],[1.6600364558973009,20.79022407531738],[0,19.121516102580056],[0,1.6687079727373262]],i:[[0,0],[-.9168086292754629,0],[0,0],[0,-.9212986043807614],[0,0],[.9167499775710872,0],[0,0],[0,.9212986043807614],[0,0]],o:[[0,-.9212986043807614],[0,0],[.9167499775710872,0],[0,0],[0,.9212986043807614],[0,0],[-.9168086292754629,0],[0,0],[0,0]]}}},{ty:"tr",p:{a:0,k:[23.518157958984375,10.395111083984375],ix:2},a:{a:0,k:[1.7924497740536014,10.39511203765869],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"Path 2",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[0,1.6687079727373262],[1.6600364558973009,0],[1.924921254567519,0],[3.584899548107203,1.6687079727373262],[3.584899548107203,19.121516102580056],[1.924921254567519,20.79022407531738],[1.6600364558973009,20.79022407531738],[0,19.121516102580056],[0,1.6687079727373262]],i:[[0,0],[-.9168086292754629,0],[0,0],[0,-.9212986043807614],[0,0],[.9167499775710872,0],[0,0],[0,.9212986043807614],[0,0]],o:[[0,-.9212986043807614],[0,0],[.9167499775710872,0],[0,0],[0,.9212986043807614],[0,0],[-.9168086292754629,0],[0,0],[0,0]]}}},{ty:"tr",p:{a:0,k:[16.130706787109375,10.395111083984375],ix:2},a:{a:0,k:[1.7924497740536014,10.39511203765869],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"Path 1",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[0,1.6687079727373262],[1.6600364558973009,0],[1.924921254567519,0],[3.584899548107203,1.6687079727373262],[3.584899548107203,19.121516102580056],[1.924921254567519,20.79022407531738],[1.6600364558973009,20.79022407531738],[0,19.121516102580056],[0,1.6687079727373262]],i:[[0,0],[-.9168086292754629,0],[0,0],[0,-.9212986043807614],[0,0],[.9167499775710872,0],[0,0],[0,.9212986043807614],[0,0]],o:[[0,-.9212986043807614],[0,0],[.9167499775710872,0],[0,0],[0,.9212986043807614],[0,0],[-.9168086292754629,0],[0,0],[0,0]]}}},{ty:"tr",p:{a:0,k:[8.792449951171875,10.395111083984375],ix:2},a:{a:0,k:[1.7924497740536014,10.39511203765869],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"Path",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[0,1.6687079727373262],[1.6600364558973009,0],[1.924921254567519,0],[3.584899548107203,1.6687079727373262],[3.584899548107203,19.121516102580056],[1.924921254567519,20.79022407531738],[1.6600364558973009,20.79022407531738],[0,19.121516102580056],[0,1.6687079727373262]],i:[[0,0],[-.9168086292754629,0],[0,0],[0,-.9212986043807614],[0,0],[.9167499775710872,0],[0,0],[0,.9212986043807614],[0,0]],o:[[0,-.9212986043807614],[0,0],[.9167499775710872,0],[0,0],[0,.9212986043807614],[0,0],[-.9168086292754629,0],[0,0],[0,0]]}}},{ty:"tr",p:{a:0,k:[1.7924498319625854,10.395112037658691],ix:2},a:{a:0,k:[1.7924497740536014,10.39511203765869],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"fl",c:{a:0,k:[.8627450980392157,.8627450980392157,.8627450980392157],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:301,st:0,bm:0}]}],layers$4=[{ddd:0,ind:22,ty:3,nm:"",sr:1,ks:{p:{a:1,k:[{t:0,s:[180,100],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}},{t:50,s:[127.33390808105469,67.60033416748047],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}}],ix:2},a:{a:1,k:[{t:0,s:[147.66608905792236,89.57558917999268],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}},{t:50,s:[95,57.175926208496094],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}}],ix:2},s:{a:1,k:[{t:80,s:[100,100],o:{x:[.4],y:[0]},i:{x:[.8],y:[1]}},{t:140,s:[0,100],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}}],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:301,st:0,bm:0},{ddd:0,refId:"0",w:190,h:114,ind:23,ty:0,nm:"front",sr:1,ks:{p:{a:0,k:[0,.17592620849609375],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:301,st:0,bm:0,parent:22},{ddd:0,ind:24,ty:3,nm:"",sr:1,ks:{p:{a:1,k:[{t:0,s:[174.8339080810547,99.8240737915039],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}},{t:100,s:[127.33390808105469,67.42440795898438],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}}],ix:2},a:{a:1,k:[{t:0,s:[142.5,89.57558917999268],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}},{t:100,s:[95,57.175926208496094],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}}],ix:2},s:{a:1,k:[{t:135,s:[0,100],o:{x:[.4],y:[0]},i:{x:[.8],y:[1]}},{t:200,s:[100,100],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}}],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:301,st:0,bm:0},{ddd:0,refId:"1",w:190,h:114,ind:25,ty:0,nm:"back",sr:1,ks:{p:{a:0,k:[0,.17592620849609375],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:301,st:0,bm:0,parent:24},{ddd:0,ind:26,ty:3,nm:"arrows",sr:1,ks:{p:{a:0,k:[127.89808654785156,130],ix:2},a:{a:0,k:[166.22965455055237,62.22903275489807],ix:2},s:{a:0,k:[75.87807022208588,75.87807022208588],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:301,st:0,bm:0},{ddd:0,ind:27,ty:3,nm:"",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:301,st:0,bm:0,parent:26},{ddd:0,ind:28,ty:4,nm:"Vector: 0-stroke-mask",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},td:1,ao:0,parent:27,shapes:[{ty:"gr",nm:"Vector",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[57.94180961732188,2.373326237721925],[55.1251736923659,.07578483906370402],[24.116983327922632,11.9684234887812],[24.094295677780643,11.980777622153656],[8.08276017115082,23.894336425661155],[8.07601784239764,23.901582626627174],[2.412847629825195,32.03458975829119],[2.4098746255428316,32.040781229367816],[.012638372619498753,41.56472538434043],[.01231326110181512,41.57462067813452],[1.803175280638908,51.27899546778929],[1.8064526533906444,51.28709025513427],[7.02710151048836,59.85795304591962],[7.033291410957271,59.865454860672706],[22.601462063555417,72.89171753548655],[22.623262183076278,72.90520031745484],[60.5228997482955,88.8745509707063],[60.5366688067595,88.87857317406097],[101.2446473733834,97.37766617973595],[101.24645064649407,97.37791672637337],[137.54987536742067,100.55059290300217],[141.5956834118092,104.92190886886182],[141.5956834118092,107.63925883426974],[148.3584940143185,111.0368960745543],[148.3584941203784,111.03689598573766],[167.17059988065807,95.28327753383557],[167.17059999684082,95.28327743654194],[167.1705999861808,88.48800936095341],[167.17059989131772,88.48800928151313],[148.35849412037837,72.73437213729204],[148.3584940143185,72.73437204847538],[141.5956834118092,76.13200306096246],[141.5956834118092,79.50478511707648],[137.52571137104115,83.83440597877456],[103.70354184793123,82.64420266818267],[103.701410225066,82.64402069248318],[65.2544941270734,76.73676028838777],[65.24522518350402,76.73459330020846],[30.08688180051069,64.23549750896676],[30.074050220438934,64.2285713407087],[16.47493991346353,54.28955921340707],[16.468815942794066,54.28309069403895],[10.345697185290982,41.5903616566775],[10.343810248483486,41.55159553207438],[15.41689177928066,28.24213788458192],[15.426929960052364,28.229811568836805],[28.579701942022197,17.180387474643144],[28.592942688182,17.17213777906473],[56.338929176581516,4.657239607498017],[56.33892923527232,4.657239587932828],[57.94180961732188,2.373326237721925]],i:[[0,0],[1.4312887945464046,-.386004313111193],[9.731341992064266,-5.258296854877438],[.0075492045959616935,-.004142505408370974],[4.547037648640419,-4.874083266001335],[.0022442797351298013,-.002418341606722638],[1.430492405605964,-2.9844347616181537],[.0009924367893835576,-.002063134154613978],[.10503518213569428,-3.2934760732816315],[.00011154255685014695,-.003298326268816251],[-1.254624265999921,-3.0909400667041282],[-.001090060946663257,-.0026992321562243045],[-2.143145294847419,-2.604190877106987],[-.0020665050586153675,-.0024979587622458417],[-5.784228534149499,-3.6031129343018904],[-.007281103643583262,-.004470940364985189],[-13.236360257728577,-3.891812661813276],[-.00459203738281485,-.0013326724161781957],[-13.781631916675536,-1.9179355780270413],[-.0006011095620518704,-8338215929688572e-20],[-12.138252388251885,-.4745753344742667],[0,-2.35691813215453],[0,0],[-2.7246240126844157,2.281652209536503],[-35353236177348875e-24,29605478560471907e-24],[-.001207000976364725,.0010107657853524188],[-3872753034722677e-23,32431176181992775e-24],[2.0806972469495975,1.7424180401733906],[3162088022508823e-23,26479963451413978e-24],[.0011532259610476103,.0009657347006850614],[3535321829392645e-23,2960549991585947e-23],[0,-3.6505044334733583],[0,0],[2.2623660335691227,-.027992474395063027],[11.23443547800349,.9561263006175267],[.0007105251175896846,6084394064857502e-20],[12.505806529390199,2.9083456428775776],[.0030888041537227417,.000725933455685421],[10.514002004099702,5.6502852450348655],[.004272942170308755,.002316589920694762],[3.610990470943456,3.821339857061723],[.002043336207552759,.002154266784966436],[.20574693577361636,4.539537605769894],[.0006719617787792724,.012919911771795627],[-3.385163685263807,4.1427679022172335],[-.003339198903381714,.004114354756986557],[-5.129242164455583,3.20983520436285],[-.0044189839443102095,.002741219010809487],[-9.920065008974,3.3069567537681035],[-19563593893247655e-24,6521727273466892e-24],[0,1.0448268692815401]],o:[[0,-1.5459092378588253],[-10.75288293033239,2.8999452735322637],[-.007575845194260555,.004093581644803379],[-5.868023377207972,3.2199840748169173],[-.0022505932491620273,.0024124671361795643],[-2.2601466408070348,2.4354391180393264],[-.000989559048568166,.0020645159748119033],[-1.4320662213848074,2.9770608713963185],[-.00010519651345740679,.003298534767303265],[-.11134903686592912,3.2926038605667785],[.001094842712220992,.0026972961528412645],[1.2509777571154,3.0976977930119105],[.002060081999680828,.0025032585343417327],[4.315106651258472,5.216032946349863],[.007252258959759556,.004517578775897837],[11.663900336824568,7.162183836653824],[.004587330053479622,.0013487868899325526],[13.278076083100792,3.853480331429026],[.0006010725012745643,8364889892127368e-20],[12.005668094844566,1.665351198428425],[2.251974636375861,.0880465755913377],[0,0],[0,3.65050326576133],[3535323768668693e-23,-29605476758103222e-24],[.001153222828889966,-.0009657309323785057],[3872752981305093e-23,-3243117681987622e-23],[2.0806983563409744,-1.7424166831983143],[-3162087901912912e-23,-2647996489150231e-23],[-.001090657876915202,-.0009133389239366352],[-3535321889380353e-23,-2960549919952008e-23],[-2.724623640518388,-2.281654934197988],[0,0],[-58771092881215736e-24,2.366306679000914],[-11.313840282575683,.13998724043770494],[-.0007105567694374356,-6047317790654947e-20],[-13.015686425415637,-1.1145639088100125],[-.003090489849950442,-.000718723152188332],[-12.457142744037377,-2.927688590824573],[-.004281430035003734,-.0023008651648532925],[-5.215175131884003,-2.827424679212889],[-.002039296789438741,-.0021580910181200797],[-3.6098579111080813,-3.805833307119954],[-.000585763481186164,-.01292410669900369],[-.2358584219869897,-4.534885910092548],[.003352857608852104,-.004103231682155676],[3.3779056882382203,-4.162046867882001],[.004408161390452709,-.0027585891178312145],[8.318996587605781,-5.160505646590188],[19563593880253105e-24,-65217273124473844e-25],[.9518216920298812,-.31729964965850144],[0,0]]}}},{ty:"tr",p:{a:0,k:[90.59505462646484,62.229034423828125],ix:2},a:{a:0,k:[84.36556243896484,56],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"fl",c:{a:0,k:[0,0,0],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0}],ip:0,op:301,st:0,bm:0},{ddd:0,ind:29,ty:4,nm:"Vector: 0",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},tt:2,ao:0,parent:27,shapes:[{ty:"gr",nm:"Vector",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[57.94180961732188,2.373326237721925],[55.1251736923659,.07578483906370402],[24.116983327922632,11.9684234887812],[24.094295677780643,11.980777622153656],[8.08276017115082,23.894336425661155],[8.07601784239764,23.901582626627174],[2.412847629825195,32.03458975829119],[2.4098746255428316,32.040781229367816],[.012638372619498753,41.56472538434043],[.01231326110181512,41.57462067813452],[1.803175280638908,51.27899546778929],[1.8064526533906444,51.28709025513427],[7.02710151048836,59.85795304591962],[7.033291410957271,59.865454860672706],[22.601462063555417,72.89171753548655],[22.623262183076278,72.90520031745484],[60.5228997482955,88.8745509707063],[60.5366688067595,88.87857317406097],[101.2446473733834,97.37766617973595],[101.24645064649407,97.37791672637337],[137.54987536742067,100.55059290300217],[141.5956834118092,104.92190886886182],[141.5956834118092,107.63925883426974],[148.3584940143185,111.0368960745543],[148.3584941203784,111.03689598573766],[167.17059988065807,95.28327753383557],[167.17059999684082,95.28327743654194],[167.1705999861808,88.48800936095341],[167.17059989131772,88.48800928151313],[148.35849412037837,72.73437213729204],[148.3584940143185,72.73437204847538],[141.5956834118092,76.13200306096246],[141.5956834118092,79.50478511707648],[137.52571137104115,83.83440597877456],[103.70354184793123,82.64420266818267],[103.701410225066,82.64402069248318],[65.2544941270734,76.73676028838777],[65.24522518350402,76.73459330020846],[30.08688180051069,64.23549750896676],[30.074050220438934,64.2285713407087],[16.47493991346353,54.28955921340707],[16.468815942794066,54.28309069403895],[10.345697185290982,41.5903616566775],[10.343810248483486,41.55159553207438],[15.41689177928066,28.24213788458192],[15.426929960052364,28.229811568836805],[28.579701942022197,17.180387474643144],[28.592942688182,17.17213777906473],[56.338929176581516,4.657239607498017],[56.33892923527232,4.657239587932828],[57.94180961732188,2.373326237721925]],i:[[0,0],[1.4312887945464046,-.386004313111193],[9.731341992064266,-5.258296854877438],[.0075492045959616935,-.004142505408370974],[4.547037648640419,-4.874083266001335],[.0022442797351298013,-.002418341606722638],[1.430492405605964,-2.9844347616181537],[.0009924367893835576,-.002063134154613978],[.10503518213569428,-3.2934760732816315],[.00011154255685014695,-.003298326268816251],[-1.254624265999921,-3.0909400667041282],[-.001090060946663257,-.0026992321562243045],[-2.143145294847419,-2.604190877106987],[-.0020665050586153675,-.0024979587622458417],[-5.784228534149499,-3.6031129343018904],[-.007281103643583262,-.004470940364985189],[-13.236360257728577,-3.891812661813276],[-.00459203738281485,-.0013326724161781957],[-13.781631916675536,-1.9179355780270413],[-.0006011095620518704,-8338215929688572e-20],[-12.138252388251885,-.4745753344742667],[0,-2.35691813215453],[0,0],[-2.7246240126844157,2.281652209536503],[-35353236177348875e-24,29605478560471907e-24],[-.001207000976364725,.0010107657853524188],[-3872753034722677e-23,32431176181992775e-24],[2.0806972469495975,1.7424180401733906],[3162088022508823e-23,26479963451413978e-24],[.0011532259610476103,.0009657347006850614],[3535321829392645e-23,2960549991585947e-23],[0,-3.6505044334733583],[0,0],[2.2623660335691227,-.027992474395063027],[11.23443547800349,.9561263006175267],[.0007105251175896846,6084394064857502e-20],[12.505806529390199,2.9083456428775776],[.0030888041537227417,.000725933455685421],[10.514002004099702,5.6502852450348655],[.004272942170308755,.002316589920694762],[3.610990470943456,3.821339857061723],[.002043336207552759,.002154266784966436],[.20574693577361636,4.539537605769894],[.0006719617787792724,.012919911771795627],[-3.385163685263807,4.1427679022172335],[-.003339198903381714,.004114354756986557],[-5.129242164455583,3.20983520436285],[-.0044189839443102095,.002741219010809487],[-9.920065008974,3.3069567537681035],[-19563593893247655e-24,6521727273466892e-24],[0,1.0448268692815401]],o:[[0,-1.5459092378588253],[-10.75288293033239,2.8999452735322637],[-.007575845194260555,.004093581644803379],[-5.868023377207972,3.2199840748169173],[-.0022505932491620273,.0024124671361795643],[-2.2601466408070348,2.4354391180393264],[-.000989559048568166,.0020645159748119033],[-1.4320662213848074,2.9770608713963185],[-.00010519651345740679,.003298534767303265],[-.11134903686592912,3.2926038605667785],[.001094842712220992,.0026972961528412645],[1.2509777571154,3.0976977930119105],[.002060081999680828,.0025032585343417327],[4.315106651258472,5.216032946349863],[.007252258959759556,.004517578775897837],[11.663900336824568,7.162183836653824],[.004587330053479622,.0013487868899325526],[13.278076083100792,3.853480331429026],[.0006010725012745643,8364889892127368e-20],[12.005668094844566,1.665351198428425],[2.251974636375861,.0880465755913377],[0,0],[0,3.65050326576133],[3535323768668693e-23,-29605476758103222e-24],[.001153222828889966,-.0009657309323785057],[3872752981305093e-23,-3243117681987622e-23],[2.0806983563409744,-1.7424166831983143],[-3162087901912912e-23,-2647996489150231e-23],[-.001090657876915202,-.0009133389239366352],[-3535321889380353e-23,-2960549919952008e-23],[-2.724623640518388,-2.281654934197988],[0,0],[-58771092881215736e-24,2.366306679000914],[-11.313840282575683,.13998724043770494],[-.0007105567694374356,-6047317790654947e-20],[-13.015686425415637,-1.1145639088100125],[-.003090489849950442,-.000718723152188332],[-12.457142744037377,-2.927688590824573],[-.004281430035003734,-.0023008651648532925],[-5.215175131884003,-2.827424679212889],[-.002039296789438741,-.0021580910181200797],[-3.6098579111080813,-3.805833307119954],[-.000585763481186164,-.01292410669900369],[-.2358584219869897,-4.534885910092548],[.003352857608852104,-.004103231682155676],[3.3779056882382203,-4.162046867882001],[.004408161390452709,-.0027585891178312145],[8.318996587605781,-5.160505646590188],[19563593880253105e-24,-65217273124473844e-25],[.9518216920298812,-.31729964965850144],[0,0]]}}},{ty:"st",c:{a:0,k:[.5333333333333333,.5333333333333333,.5333333333333333],ix:2},o:{a:0,k:23.999999463558197,ix:2},w:{a:0,k:3.114522695541382,ix:2},lc:1,lj:1,ml:4},{ty:"tr",p:{a:0,k:[90.59505462646484,62.229034423828125],ix:2},a:{a:0,k:[84.36556243896484,56],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",it:[{ty:"rc",d:1,s:{a:0,k:[183,127],ix:2},p:{a:0,k:[90.5,62.5],ix:2},r:{a:0,k:0,ix:2}},{ty:"fl",c:{a:0,k:[0,0,0],ix:2},o:{a:0,k:0,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:301,st:0,bm:0},{ddd:0,ind:30,ty:4,nm:"Vector: 1",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,parent:27,shapes:[{ty:"gr",nm:"Vector",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[57.94180961732188,2.373326237721925],[55.1251736923659,.07578483906370402],[24.116983327922632,11.9684234887812],[24.094295677780643,11.980777622153656],[8.08276017115082,23.894336425661155],[8.07601784239764,23.901582626627174],[2.412847629825195,32.03458975829119],[2.4098746255428316,32.040781229367816],[.012638372619498753,41.56472538434043],[.01231326110181512,41.57462067813452],[1.803175280638908,51.27899546778929],[1.8064526533906444,51.28709025513427],[7.02710151048836,59.85795304591962],[7.033291410957271,59.865454860672706],[22.601462063555417,72.89171753548655],[22.623262183076278,72.90520031745484],[60.5228997482955,88.8745509707063],[60.5366688067595,88.87857317406097],[101.2446473733834,97.37766617973595],[101.24645064649407,97.37791672637337],[137.54987536742067,100.55059290300217],[141.5956834118092,104.92190886886182],[141.5956834118092,107.63925883426974],[148.3584940143185,111.0368960745543],[148.3584941203784,111.03689598573766],[167.17059988065807,95.28327753383557],[167.17059999684082,95.28327743654194],[167.1705999861808,88.48800936095341],[167.17059989131772,88.48800928151313],[148.35849412037837,72.73437213729204],[148.3584940143185,72.73437204847538],[141.5956834118092,76.13200306096246],[141.5956834118092,79.50478511707648],[137.52571137104115,83.83440597877456],[103.70354184793123,82.64420266818267],[103.701410225066,82.64402069248318],[65.2544941270734,76.73676028838777],[65.24522518350402,76.73459330020846],[30.08688180051069,64.23549750896676],[30.074050220438934,64.2285713407087],[16.47493991346353,54.28955921340707],[16.468815942794066,54.28309069403895],[10.345697185290982,41.5903616566775],[10.343810248483486,41.55159553207438],[15.41689177928066,28.24213788458192],[15.426929960052364,28.229811568836805],[28.579701942022197,17.180387474643144],[28.592942688182,17.17213777906473],[56.338929176581516,4.657239607498017],[56.33892923527232,4.657239587932828],[57.94180961732188,2.373326237721925]],i:[[0,0],[1.4312887945464046,-.386004313111193],[9.731341992064266,-5.258296854877438],[.0075492045959616935,-.004142505408370974],[4.547037648640419,-4.874083266001335],[.0022442797351298013,-.002418341606722638],[1.430492405605964,-2.9844347616181537],[.0009924367893835576,-.002063134154613978],[.10503518213569428,-3.2934760732816315],[.00011154255685014695,-.003298326268816251],[-1.254624265999921,-3.0909400667041282],[-.001090060946663257,-.0026992321562243045],[-2.143145294847419,-2.604190877106987],[-.0020665050586153675,-.0024979587622458417],[-5.784228534149499,-3.6031129343018904],[-.007281103643583262,-.004470940364985189],[-13.236360257728577,-3.891812661813276],[-.00459203738281485,-.0013326724161781957],[-13.781631916675536,-1.9179355780270413],[-.0006011095620518704,-8338215929688572e-20],[-12.138252388251885,-.4745753344742667],[0,-2.35691813215453],[0,0],[-2.7246240126844157,2.281652209536503],[-35353236177348875e-24,29605478560471907e-24],[-.001207000976364725,.0010107657853524188],[-3872753034722677e-23,32431176181992775e-24],[2.0806972469495975,1.7424180401733906],[3162088022508823e-23,26479963451413978e-24],[.0011532259610476103,.0009657347006850614],[3535321829392645e-23,2960549991585947e-23],[0,-3.6505044334733583],[0,0],[2.2623660335691227,-.027992474395063027],[11.23443547800349,.9561263006175267],[.0007105251175896846,6084394064857502e-20],[12.505806529390199,2.9083456428775776],[.0030888041537227417,.000725933455685421],[10.514002004099702,5.6502852450348655],[.004272942170308755,.002316589920694762],[3.610990470943456,3.821339857061723],[.002043336207552759,.002154266784966436],[.20574693577361636,4.539537605769894],[.0006719617787792724,.012919911771795627],[-3.385163685263807,4.1427679022172335],[-.003339198903381714,.004114354756986557],[-5.129242164455583,3.20983520436285],[-.0044189839443102095,.002741219010809487],[-9.920065008974,3.3069567537681035],[-19563593893247655e-24,6521727273466892e-24],[0,1.0448268692815401]],o:[[0,-1.5459092378588253],[-10.75288293033239,2.8999452735322637],[-.007575845194260555,.004093581644803379],[-5.868023377207972,3.2199840748169173],[-.0022505932491620273,.0024124671361795643],[-2.2601466408070348,2.4354391180393264],[-.000989559048568166,.0020645159748119033],[-1.4320662213848074,2.9770608713963185],[-.00010519651345740679,.003298534767303265],[-.11134903686592912,3.2926038605667785],[.001094842712220992,.0026972961528412645],[1.2509777571154,3.0976977930119105],[.002060081999680828,.0025032585343417327],[4.315106651258472,5.216032946349863],[.007252258959759556,.004517578775897837],[11.663900336824568,7.162183836653824],[.004587330053479622,.0013487868899325526],[13.278076083100792,3.853480331429026],[.0006010725012745643,8364889892127368e-20],[12.005668094844566,1.665351198428425],[2.251974636375861,.0880465755913377],[0,0],[0,3.65050326576133],[3535323768668693e-23,-29605476758103222e-24],[.001153222828889966,-.0009657309323785057],[3872752981305093e-23,-3243117681987622e-23],[2.0806983563409744,-1.7424166831983143],[-3162087901912912e-23,-2647996489150231e-23],[-.001090657876915202,-.0009133389239366352],[-3535321889380353e-23,-2960549919952008e-23],[-2.724623640518388,-2.281654934197988],[0,0],[-58771092881215736e-24,2.366306679000914],[-11.313840282575683,.13998724043770494],[-.0007105567694374356,-6047317790654947e-20],[-13.015686425415637,-1.1145639088100125],[-.003090489849950442,-.000718723152188332],[-12.457142744037377,-2.927688590824573],[-.004281430035003734,-.0023008651648532925],[-5.215175131884003,-2.827424679212889],[-.002039296789438741,-.0021580910181200797],[-3.6098579111080813,-3.805833307119954],[-.000585763481186164,-.01292410669900369],[-.2358584219869897,-4.534885910092548],[.003352857608852104,-.004103231682155676],[3.3779056882382203,-4.162046867882001],[.004408161390452709,-.0027585891178312145],[8.318996587605781,-5.160505646590188],[19563593880253105e-24,-65217273124473844e-25],[.9518216920298812,-.31729964965850144],[0,0]]}}},{ty:"fl",c:{a:0,k:[1,1,1],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[90.59505462646484,62.229034423828125],ix:2},a:{a:0,k:[84.36556243896484,56],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:301,st:0,bm:0},{ddd:0,ind:31,ty:3,nm:"",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:301,st:0,bm:0,parent:26},{ddd:0,ind:32,ty:4,nm:"Vector: 0-stroke-mask",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},td:1,ao:0,parent:31,shapes:[{ty:"gr",nm:"Vector",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[76.66257470006542,2.403401365747908],[79.52064921594652,.07843238649019971],[110.56461085434229,12.118919991364345],[110.58737476673319,12.131451102238545],[126.63547754289385,24.202716434206838],[126.64217474371026,24.209992786871183],[132.31833855266746,32.45072948388586],[132.32126532347044,32.456891276232604],[134.72400520130523,42.10706910451022],[134.72432333324937,42.11685777177116],[132.92933705832866,51.94987458179446],[132.92611554768342,51.95791834200726],[127.69348692654337,60.6423338060651],[127.68735003452792,60.649852650200295],[112.08358979648165,73.84856150744527],[112.06175099336824,73.8622158064254],[74.07562267109365,90.04292488216652],[74.06173910343931,90.04702485345958],[33.26088200397594,98.65859385874137],[33.25906011260041,98.65884975987571],[4.281077101262595,101.85446014275746],[0,97.53684037928531],[0,89.31383121081528],[4.25770767825915,84.94155007049504],[30.796360399506113,83.7301368920098],[30.798514811713854,83.72995095950905],[69.33315633104621,77.74450584074562],[69.3425104164373,77.74229505015846],[104.58108909244983,65.07778027166151],[104.59396520334353,65.07075411890494],[118.22413608247612,55.00017608751369],[118.23022089019848,54.993678702598785],[124.36736584710121,42.13246259449331],[124.36921236193066,42.094112551897666],[119.28451576512056,28.607961094288317],[119.2745659288313,28.59560975379304],[106.09170541796219,17.399869275871943],[106.07844256245492,17.391515506683835],[78.2790556532085,4.714326957834373],[78.27905559458318,4.714326938073947],[76.66257470006542,2.403401365747908]],i:[[0,0],[-1.4508275803785888,-.3958143226996739],[-9.742992490216338,-5.322118807293952],[-.007574354140823343,-.004201725224600727],[-4.557420807828052,-4.938606324305262],[-.0022292292233230364,-.00242836761668818],[-1.433766632082552,-3.0239707680357135],[-.0009770138116962155,-.0020532543131163614],[-.10525891522377151,-3.3371280902406326],[-.00010916563825365518,-.003262786872567668],[1.2575243648597052,-3.1319097072245228],[.0010714655565788852,-.0026822024976962114],[2.148070650450407,-2.638691473195891],[.0020488331095963935,-.0025036658401955325],[5.797450756297877,-3.65081190570028],[.007294251388660173,-.004527959057654681],[13.266566977415849,-3.9433212299360036],[.004630274836915856,-.0013584524994325288],[13.81307843797213,-1.9433183316578067],[.0006073160329718156,-8516571003331383e-20],[10.741886125105449,-.4891403929431277],[0,2.451575713239792],[0,0],[-2.3347100483550567,-.02984672765350692],[-11.10751906219199,.9556854825699901],[-.0007181210876404699,6216639673367526e-20],[-12.534344290995634,2.9468340252098812],[-.0031171592029665624,.0007406032969320924],[-10.53799537286362,5.725062141099414],[-.004287698520539227,.002349992778461412],[-3.619235803769783,3.8719270557493672],[-.0020302921549236875,.0021638996230474],[-.20608218850705384,4.599799807310646],[-.0006579719712727597,.012781265829142699],[3.393040844485185,4.197758237865774],[.0033097413374393644,.004122643558503465],[5.140982185560361,3.2523371702260455],[.004426447703222531,.002775854668870724],[9.93912344965888,3.3501095066350857],[1954177798763189e-23,6586808463247186e-24],[0,1.0554130222221532]],o:[[0,-1.5681525469371338],[10.765257363630866,2.9369741240162104],[.007601536359859753,.004152346382876058],[5.881428751462835,3.2626078847466076],[.0022355585651794127,.002422542076734731],[2.265333279101867,2.4676968695829196],[.0009741599065855668,.002054609875128928],[1.435368481853942,3.016514701221297],[.00010292046381476517,.003262989839166433],[.11162355731156026,3.3362501542766267],[-.001076197068539244,.0026803075471389906],[-1.2538412035464148,3.1387439262206627],[-.0020424151406520383,.002508904171859846],[-4.324964933738755,5.285089797664561],[-.007264899683381427,.004574904276503759],[-11.690517197502245,7.256972705299262],[-.004625431945562265,.0013748518376766],[-13.308375292884314,3.9044757205053457],[-.0006072780637611192,8543603071683522e-20],[-11.876199160118631,1.6654342698959965],[-2.3418353535341767,.1066373445321996],[0,0],[0,-2.4419858785005966],[9.857807793532254,.1260213402382675],[.0007181536080516991,-6178958358094643e-20],[13.045388103052257,-1.129314799853276],[.003118895968586793,-.0007332548514663017],[12.485569563047846,-2.9664362261857207],[.00429636063922666,-.00233411866012826],[5.2270910746857595,-2.864853071882216],[.002026232271056385,-.002167701685356875],[3.6182363104445727,-3.8563416448613097],[.0005728153772460179,-.012785365299974103],[.2365520107765775,-4.595080435273303],[-.003323419515741649,-.004111625025900657],[-3.385623247049537,-4.217162747155033],[-.004415436943585394,-.0027933358210706937],[-8.335209380997966,-5.227065002804366],[-1954177817773599e-23,-658680789924531e-23],[-.9604767379616987,-.32374107977084954],[0,0]]}}},{ty:"tr",p:{a:0,k:[258.86151123046875,57.174991607666016],ix:2},a:{a:0,k:[67.36833190917969,50.92929458618164],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"fl",c:{a:0,k:[0,0,0],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0}],ip:0,op:301,st:0,bm:0},{ddd:0,ind:33,ty:4,nm:"Vector: 0",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},tt:2,ao:0,parent:31,shapes:[{ty:"gr",nm:"Vector",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[76.66257470006542,2.403401365747908],[79.52064921594652,.07843238649019971],[110.56461085434229,12.118919991364345],[110.58737476673319,12.131451102238545],[126.63547754289385,24.202716434206838],[126.64217474371026,24.209992786871183],[132.31833855266746,32.45072948388586],[132.32126532347044,32.456891276232604],[134.72400520130523,42.10706910451022],[134.72432333324937,42.11685777177116],[132.92933705832866,51.94987458179446],[132.92611554768342,51.95791834200726],[127.69348692654337,60.6423338060651],[127.68735003452792,60.649852650200295],[112.08358979648165,73.84856150744527],[112.06175099336824,73.8622158064254],[74.07562267109365,90.04292488216652],[74.06173910343931,90.04702485345958],[33.26088200397594,98.65859385874137],[33.25906011260041,98.65884975987571],[4.281077101262595,101.85446014275746],[0,97.53684037928531],[0,89.31383121081528],[4.25770767825915,84.94155007049504],[30.796360399506113,83.7301368920098],[30.798514811713854,83.72995095950905],[69.33315633104621,77.74450584074562],[69.3425104164373,77.74229505015846],[104.58108909244983,65.07778027166151],[104.59396520334353,65.07075411890494],[118.22413608247612,55.00017608751369],[118.23022089019848,54.993678702598785],[124.36736584710121,42.13246259449331],[124.36921236193066,42.094112551897666],[119.28451576512056,28.607961094288317],[119.2745659288313,28.59560975379304],[106.09170541796219,17.399869275871943],[106.07844256245492,17.391515506683835],[78.2790556532085,4.714326957834373],[78.27905559458318,4.714326938073947],[76.66257470006542,2.403401365747908]],i:[[0,0],[-1.4508275803785888,-.3958143226996739],[-9.742992490216338,-5.322118807293952],[-.007574354140823343,-.004201725224600727],[-4.557420807828052,-4.938606324305262],[-.0022292292233230364,-.00242836761668818],[-1.433766632082552,-3.0239707680357135],[-.0009770138116962155,-.0020532543131163614],[-.10525891522377151,-3.3371280902406326],[-.00010916563825365518,-.003262786872567668],[1.2575243648597052,-3.1319097072245228],[.0010714655565788852,-.0026822024976962114],[2.148070650450407,-2.638691473195891],[.0020488331095963935,-.0025036658401955325],[5.797450756297877,-3.65081190570028],[.007294251388660173,-.004527959057654681],[13.266566977415849,-3.9433212299360036],[.004630274836915856,-.0013584524994325288],[13.81307843797213,-1.9433183316578067],[.0006073160329718156,-8516571003331383e-20],[10.741886125105449,-.4891403929431277],[0,2.451575713239792],[0,0],[-2.3347100483550567,-.02984672765350692],[-11.10751906219199,.9556854825699901],[-.0007181210876404699,6216639673367526e-20],[-12.534344290995634,2.9468340252098812],[-.0031171592029665624,.0007406032969320924],[-10.53799537286362,5.725062141099414],[-.004287698520539227,.002349992778461412],[-3.619235803769783,3.8719270557493672],[-.0020302921549236875,.0021638996230474],[-.20608218850705384,4.599799807310646],[-.0006579719712727597,.012781265829142699],[3.393040844485185,4.197758237865774],[.0033097413374393644,.004122643558503465],[5.140982185560361,3.2523371702260455],[.004426447703222531,.002775854668870724],[9.93912344965888,3.3501095066350857],[1954177798763189e-23,6586808463247186e-24],[0,1.0554130222221532]],o:[[0,-1.5681525469371338],[10.765257363630866,2.9369741240162104],[.007601536359859753,.004152346382876058],[5.881428751462835,3.2626078847466076],[.0022355585651794127,.002422542076734731],[2.265333279101867,2.4676968695829196],[.0009741599065855668,.002054609875128928],[1.435368481853942,3.016514701221297],[.00010292046381476517,.003262989839166433],[.11162355731156026,3.3362501542766267],[-.001076197068539244,.0026803075471389906],[-1.2538412035464148,3.1387439262206627],[-.0020424151406520383,.002508904171859846],[-4.324964933738755,5.285089797664561],[-.007264899683381427,.004574904276503759],[-11.690517197502245,7.256972705299262],[-.004625431945562265,.0013748518376766],[-13.308375292884314,3.9044757205053457],[-.0006072780637611192,8543603071683522e-20],[-11.876199160118631,1.6654342698959965],[-2.3418353535341767,.1066373445321996],[0,0],[0,-2.4419858785005966],[9.857807793532254,.1260213402382675],[.0007181536080516991,-6178958358094643e-20],[13.045388103052257,-1.129314799853276],[.003118895968586793,-.0007332548514663017],[12.485569563047846,-2.9664362261857207],[.00429636063922666,-.00233411866012826],[5.2270910746857595,-2.864853071882216],[.002026232271056385,-.002167701685356875],[3.6182363104445727,-3.8563416448613097],[.0005728153772460179,-.012785365299974103],[.2365520107765775,-4.595080435273303],[-.003323419515741649,-.004111625025900657],[-3.385623247049537,-4.217162747155033],[-.004415436943585394,-.0027933358210706937],[-8.335209380997966,-5.227065002804366],[-1954177817773599e-23,-658680789924531e-23],[-.9604767379616987,-.32374107977084954],[0,0]]}}},{ty:"st",c:{a:0,k:[.5333333333333333,.5333333333333333,.5333333333333333],ix:2},o:{a:0,k:23.999999463558197,ix:2},w:{a:0,k:3.114522695541382,ix:2},lc:1,lj:1,ml:4},{ty:"tr",p:{a:0,k:[258.86151123046875,57.174991607666016],ix:2},a:{a:0,k:[67.36833190917969,50.92929458618164],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",it:[{ty:"rc",d:1,s:{a:0,k:[148,116],ix:2},p:{a:0,k:[259,57],ix:2},r:{a:0,k:0,ix:2}},{ty:"fl",c:{a:0,k:[0,0,0],ix:2},o:{a:0,k:0,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:301,st:0,bm:0},{ddd:0,ind:34,ty:4,nm:"Vector: 1",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,parent:31,shapes:[{ty:"gr",nm:"Vector",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[76.66257470006542,2.403401365747908],[79.52064921594652,.07843238649019971],[110.56461085434229,12.118919991364345],[110.58737476673319,12.131451102238545],[126.63547754289385,24.202716434206838],[126.64217474371026,24.209992786871183],[132.31833855266746,32.45072948388586],[132.32126532347044,32.456891276232604],[134.72400520130523,42.10706910451022],[134.72432333324937,42.11685777177116],[132.92933705832866,51.94987458179446],[132.92611554768342,51.95791834200726],[127.69348692654337,60.6423338060651],[127.68735003452792,60.649852650200295],[112.08358979648165,73.84856150744527],[112.06175099336824,73.8622158064254],[74.07562267109365,90.04292488216652],[74.06173910343931,90.04702485345958],[33.26088200397594,98.65859385874137],[33.25906011260041,98.65884975987571],[4.281077101262595,101.85446014275746],[0,97.53684037928531],[0,89.31383121081528],[4.25770767825915,84.94155007049504],[30.796360399506113,83.7301368920098],[30.798514811713854,83.72995095950905],[69.33315633104621,77.74450584074562],[69.3425104164373,77.74229505015846],[104.58108909244983,65.07778027166151],[104.59396520334353,65.07075411890494],[118.22413608247612,55.00017608751369],[118.23022089019848,54.993678702598785],[124.36736584710121,42.13246259449331],[124.36921236193066,42.094112551897666],[119.28451576512056,28.607961094288317],[119.2745659288313,28.59560975379304],[106.09170541796219,17.399869275871943],[106.07844256245492,17.391515506683835],[78.2790556532085,4.714326957834373],[78.27905559458318,4.714326938073947],[76.66257470006542,2.403401365747908]],i:[[0,0],[-1.4508275803785888,-.3958143226996739],[-9.742992490216338,-5.322118807293952],[-.007574354140823343,-.004201725224600727],[-4.557420807828052,-4.938606324305262],[-.0022292292233230364,-.00242836761668818],[-1.433766632082552,-3.0239707680357135],[-.0009770138116962155,-.0020532543131163614],[-.10525891522377151,-3.3371280902406326],[-.00010916563825365518,-.003262786872567668],[1.2575243648597052,-3.1319097072245228],[.0010714655565788852,-.0026822024976962114],[2.148070650450407,-2.638691473195891],[.0020488331095963935,-.0025036658401955325],[5.797450756297877,-3.65081190570028],[.007294251388660173,-.004527959057654681],[13.266566977415849,-3.9433212299360036],[.004630274836915856,-.0013584524994325288],[13.81307843797213,-1.9433183316578067],[.0006073160329718156,-8516571003331383e-20],[10.741886125105449,-.4891403929431277],[0,2.451575713239792],[0,0],[-2.3347100483550567,-.02984672765350692],[-11.10751906219199,.9556854825699901],[-.0007181210876404699,6216639673367526e-20],[-12.534344290995634,2.9468340252098812],[-.0031171592029665624,.0007406032969320924],[-10.53799537286362,5.725062141099414],[-.004287698520539227,.002349992778461412],[-3.619235803769783,3.8719270557493672],[-.0020302921549236875,.0021638996230474],[-.20608218850705384,4.599799807310646],[-.0006579719712727597,.012781265829142699],[3.393040844485185,4.197758237865774],[.0033097413374393644,.004122643558503465],[5.140982185560361,3.2523371702260455],[.004426447703222531,.002775854668870724],[9.93912344965888,3.3501095066350857],[1954177798763189e-23,6586808463247186e-24],[0,1.0554130222221532]],o:[[0,-1.5681525469371338],[10.765257363630866,2.9369741240162104],[.007601536359859753,.004152346382876058],[5.881428751462835,3.2626078847466076],[.0022355585651794127,.002422542076734731],[2.265333279101867,2.4676968695829196],[.0009741599065855668,.002054609875128928],[1.435368481853942,3.016514701221297],[.00010292046381476517,.003262989839166433],[.11162355731156026,3.3362501542766267],[-.001076197068539244,.0026803075471389906],[-1.2538412035464148,3.1387439262206627],[-.0020424151406520383,.002508904171859846],[-4.324964933738755,5.285089797664561],[-.007264899683381427,.004574904276503759],[-11.690517197502245,7.256972705299262],[-.004625431945562265,.0013748518376766],[-13.308375292884314,3.9044757205053457],[-.0006072780637611192,8543603071683522e-20],[-11.876199160118631,1.6654342698959965],[-2.3418353535341767,.1066373445321996],[0,0],[0,-2.4419858785005966],[9.857807793532254,.1260213402382675],[.0007181536080516991,-6178958358094643e-20],[13.045388103052257,-1.129314799853276],[.003118895968586793,-.0007332548514663017],[12.485569563047846,-2.9664362261857207],[.00429636063922666,-.00233411866012826],[5.2270910746857595,-2.864853071882216],[.002026232271056385,-.002167701685356875],[3.6182363104445727,-3.8563416448613097],[.0005728153772460179,-.012785365299974103],[.2365520107765775,-4.595080435273303],[-.003323419515741649,-.004111625025900657],[-3.385623247049537,-4.217162747155033],[-.004415436943585394,-.0027933358210706937],[-8.335209380997966,-5.227065002804366],[-1954177817773599e-23,-658680789924531e-23],[-.9604767379616987,-.32374107977084954],[0,0]]}}},{ty:"fl",c:{a:0,k:[1,1,1],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[258.86151123046875,57.174991607666016],ix:2},a:{a:0,k:[67.36833190917969,50.92929458618164],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:301,st:0,bm:0}],markers$4=[],flipAnimation={v:v$4,fr:fr$4,ip:ip$4,op:op$4,w:w$4,h:h$5,nm:nm$4,ddd:ddd$4,metadata:metadata$4,assets:assets$4,layers:layers$4,markers:markers$4},FlipAnimation=({onComplete:Be})=>{const{t:Le}=useTranslation$1(),Ye=useTokens();return jsxRuntimeExports.jsxs(Flex,{position:"absolute",top:0,left:0,right:0,bottom:0,p:12,as:"div",direction:"column",align:"center",justify:"center",style:{height:"100%",width:"100%",backgroundColor:Ye.color.surface.neutral.dark},children:[jsxRuntimeExports.jsx(Text$8,{color:Ye.color.text.body.invert,fontSize:Ye.typography.fontSize["2xl"],fontWeight:700,textAlign:"center",children:Le("idv2.flipAnimation.title")}),jsxRuntimeExports.jsx(Spacer,{size:8,direction:"vertical"}),jsxRuntimeExports.jsx(Lottie,{animationData:flipAnimation,loop:!1,style:{width:"80%",maxWidth:"400px"},onComplete:Be})]})},IdCaptureManager=({initialMode:Be="front",isDeepsightEnabled:Le})=>{const[Ye,tt]=React.useState(Be),nt=()=>{tt("front")},ft=()=>{tt("flipAnimation")},ht=async()=>{await sleep(1e3),tt("back")};return Ye==="passport"?jsxRuntimeExports.jsx(CaptureId$1,{initialMode:"passport",switchToBack:ft,isDeepsightEnabled:Le}):Ye==="front"?jsxRuntimeExports.jsx(CaptureId$1,{initialMode:"front",switchToBack:ft,isDeepsightEnabled:Le},"front"):Ye==="flipAnimation"?jsxRuntimeExports.jsx(FlipAnimation,{onComplete:ht}):jsxRuntimeExports.jsx(CaptureId$1,{initialMode:"back",switchToFront:nt},"back")},v$3="5.7.5",fr$3=100,ip$3=0,op$3=400,w$3=400,h$4=400,nm$3="Comp 1",ddd$3=0,metadata$3={},assets$3=[{id:"0",layers:[{ddd:0,ind:1,ty:3,nm:"",sr:1,ks:{p:{a:0,k:[.13091373443603516,.5249290466308594],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0},{ddd:0,refId:"1",w:402,h:402,ind:2,ty:0,nm:"border",sr:1,ks:{p:{a:0,k:[10,15],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0,parent:1},{ddd:0,refId:"2",w:421,h:433,ind:3,ty:0,nm:"hand1",sr:1,ks:{p:{a:0,k:[.13091373443603516,.5249290466308594],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:1,k:[{t:89,s:[0],i:{x:[.15],y:[1]},o:{x:[.5],y:[.35]}},{t:182,s:[95],i:{x:[.15],y:[1]},o:{x:[.5],y:[.35]}},{t:330,s:[95],i:{x:[.15],y:[1]},o:{x:[.5],y:[.35]}},{t:399,s:[0],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}}],ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0},{ddd:0,ind:4,ty:4,nm:"bg",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"gr",nm:"bg",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[297,148.5],[148.5,297],[0,148.5],[148.5,0],[297,148.5],[297,148.5],[297,148.5]],i:[[0,0],[82.0165,0],[0,82.0166],[-82.0165,0],[0,-82.0165],[0,0],[0,0]],o:[[0,82.01659999999998],[-82.0165,0],[0,-82.0165],[82.01650000000001,0],[0,0],[0,0],[0,0]]}}},{ty:"fl",c:{a:0,k:[0,.47843137254901963,1],ix:2},o:{a:0,k:7.000000000000001,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[210.49996948242188,216.5],ix:2},a:{a:0,k:[148.5,148.5],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:401,st:0,bm:0}]},{id:"3",layers:[{ddd:0,refId:"4",w:421,h:433,ind:5,ty:0,nm:"id frame",sr:1,ks:{p:{a:0,k:[-10,-15],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0},{ddd:0,ind:6,ty:4,nm:"id frame - box",sr:1,ks:{p:{a:0,k:[-10,-15],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"rc",d:1,s:{a:0,k:[402,402],ix:2},p:{a:0,k:[211,216],ix:2},r:{a:0,k:0,ix:2}},{ty:"fl",c:{a:0,k:[0,0,0],ix:2},o:{a:0,k:0,ix:2},r:1,bm:0}],ip:0,op:401,st:0,bm:0}]},{id:"1",layers:[{ddd:0,refId:"5",w:421,h:433,ind:7,ty:0,nm:"id frame",sr:1,ks:{p:{a:0,k:[-10,-15],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0,td:1},{ddd:0,refId:"3",w:402,h:402,ind:2,ty:0,nm:"border",sr:1,ks:{p:{a:0,k:[211,216],ix:2},a:{a:0,k:[211,216],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0,tt:1}]},{id:"4",layers:[{ddd:0,refId:"6",w:421,h:433,ind:8,ty:0,nm:"frameshine",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0}]},{id:"6",layers:[{ddd:0,refId:"7",w:162,h:274,ind:9,ty:0,nm:"frame-border - Null",sr:1,ks:{p:{a:0,k:[210.99996948242188,215.5],ix:2},a:{a:0,k:[80.5,137],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:-90,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0},{ddd:0,ind:10,ty:3,nm:"",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0},{ddd:0,refId:"8",w:407,h:404,ind:11,ty:0,nm:"frame-border (Stroke) (Masked)",sr:1,ks:{p:{a:0,k:[7,14],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0,parent:10}]},{id:"9",layers:[{ddd:0,ind:12,ty:4,nm:"Group",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"gr",nm:"Group",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[8,0],[153,0],[161,8],[161,266],[153,274],[8,274],[0,266],[0,8],[8,0],[8,0],[8,0]],i:[[0,0],[0,0],[0,-4.4183],[0,0],[4.4183,0],[0,0],[0,4.4183],[0,0],[-4.4183,0],[0,0],[0,0]],o:[[0,0],[4.41828000000001,0],[0,0],[0,4.4182799999999816],[0,0],[-4.41828,0],[0,0],[0,-4.41828],[0,0],[0,0],[0,0]]}}},{ty:"st",c:{a:0,k:[1,1,1],ix:2},o:{a:0,k:45,ix:2},w:{a:0,k:6,ix:2},lc:1,lj:1,ml:4},{ty:"tr",p:{a:0,k:[80.5,137],ix:2},a:{a:0,k:[80.5,137],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:401,st:0,bm:0},{ddd:0,ind:13,ty:4,nm:"Rectangle",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"gr",nm:"Rectangle",it:[{ty:"rc",d:1,s:{a:0,k:[328,554],ix:2},p:{a:0,k:[0,0],ix:2},r:{a:0,k:0,ix:2}},{ty:"fl",c:{a:0,k:[0,1,0],ix:2},o:{a:0,k:0,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[82,138.5],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:401,st:0,bm:0},{ddd:0,ind:14,ty:4,nm:"Mask - box",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"rc",d:1,s:{a:0,k:[162,274],ix:2},p:{a:0,k:[81,137],ix:2},r:{a:0,k:0,ix:2}},{ty:"fl",c:{a:0,k:[0,0,0],ix:2},o:{a:0,k:0,ix:2},r:1,bm:0}],ip:0,op:401,st:0,bm:0}]},{id:"7",layers:[{ddd:0,ind:15,ty:4,nm:"Mask",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},td:1,ao:0,shapes:[{ty:"gr",nm:"Mask",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[8,0],[153,0],[161,8],[161,266],[153,274],[8,274],[0,266],[0,8],[8,0],[8,0],[8,0]],i:[[0,0],[0,0],[0,-4.4183],[0,0],[4.4183,0],[0,0],[0,4.4183],[0,0],[-4.4183,0],[0,0],[0,0]],o:[[0,0],[4.41828000000001,0],[0,0],[0,4.4182799999999816],[0,0],[-4.41828,0],[0,0],[0,-4.41828],[0,0],[0,0],[0,0]]}}},{ty:"fl",c:{a:0,k:[0,0,0],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:401,st:0,bm:0},{ddd:0,refId:"9",w:162,h:274,ind:9,ty:0,nm:"frame-border - Null",sr:1,ks:{p:{a:0,k:[81,137],ix:2},a:{a:0,k:[81,137],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0,tt:1}]},{id:"10",layers:[{ddd:0,refId:"11",w:421,h:433,ind:16,ty:0,nm:"frame-border (Stroke)",sr:1,ks:{p:{a:0,k:[-7,-14],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0},{ddd:0,ind:17,ty:4,nm:"frame-border (Stroke) - box",sr:1,ks:{p:{a:0,k:[-7,-14],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"rc",d:1,s:{a:0,k:[407,404],ix:2},p:{a:0,k:[210.5,216],ix:2},r:{a:0,k:0,ix:2}},{ty:"fl",c:{a:0,k:[0,0,0],ix:2},o:{a:0,k:0,ix:2},r:1,bm:0}],ip:0,op:401,st:0,bm:0}]},{id:"8",layers:[{ddd:0,refId:"12",w:421,h:433,ind:18,ty:0,nm:"frame-border (Stroke)",sr:1,ks:{p:{a:0,k:[-7,-14],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0,td:1},{ddd:0,refId:"10",w:407,h:404,ind:11,ty:0,nm:"frame-border (Stroke) (Masked)",sr:1,ks:{p:{a:0,k:[210.5,216],ix:2},a:{a:0,k:[210.5,216],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0,tt:1}]},{id:"11",layers:[{ddd:0,refId:"13",w:421,h:433,ind:19,ty:0,nm:"Group 2301",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:1,k:[{t:0,s:[0],i:{x:[.15],y:[1]},o:{x:[.5],y:[.35]}},{t:76,s:[100],i:{x:[.15],y:[1]},o:{x:[.5],y:[.35]}},{t:365,s:[100],i:{x:[.15],y:[1]},o:{x:[.5],y:[.35]}},{t:399,s:[0],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}}],ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0}]},{id:"13",layers:[{ddd:0,ind:20,ty:3,nm:"frameshine - Null",sr:1,ks:{p:{a:0,k:[96.99999237060547,367.5],ix:2},a:{a:0,k:[23,232.5],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0},{ddd:0,ind:21,ty:3,nm:"",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0,parent:20},{ddd:0,ind:22,ty:4,nm:"Mask group - Null: 0:0: rg-shape-mask",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},td:1,ao:0,parent:21,shapes:[{ty:"gr",nm:"Mask group - Null",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[138,64.5],[69,129],[0,64.5],[69,0],[138,64.5],[138,64.5],[138,64.5]],i:[[0,0],[38.1087,0],[0,35.6234],[-38.1087,0],[0,-35.6233],[0,0],[0,0]],o:[[0,35.623400000000004],[-38.1087,0],[0,-35.6233],[38.1087,0],[0,0],[0,0],[0,0]]}}},{ty:"fl",c:{a:0,k:[0,0,0],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:1,k:[{t:0,s:[3,217],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}},{t:76,s:[3,3],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}},{t:187,s:[346,3],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}},{t:262,s:[346,216],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}},{t:365,s:[3,217],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}},{t:399,s:[3,3],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}},{t:735,s:[3,3],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}},{t:837,s:[346,3],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}},{t:905,s:[346,216],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}},{t:1e3,s:[3,217],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}}],ix:2},a:{a:0,k:[49,49],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:401,st:0,bm:0},{ddd:0,refId:"14",w:388,h:330,ind:23,ty:0,nm:"Mask group - Null: 0:0: rg-precomp",sr:1,ks:{p:{a:0,k:[-47,-47],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0,parent:21,tt:1}]},{id:"14",layers:[{ddd:0,ind:24,ty:3,nm:"",sr:1,ks:{p:{a:0,k:[47,47],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0},{ddd:0,ind:25,ty:4,nm:"Mask group - Null: 0:0: rg-foreground",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,parent:24,shapes:[{ty:"gr",it:[{ty:"gr",it:[{ty:"gr",it:[{ty:"rc",d:1,s:{a:0,k:[1226.4167368855199,1226.4167368855199],ix:2},p:{a:0,k:[68.9999986046127,64.4999988329198],ix:2},r:{a:0,k:0,ix:2}},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gf",o:{a:0,k:100,ix:2},r:1,bm:0,g:{p:3,k:{a:0,k:[0,1,1,1,.2031,1,1,1,1,1,1,1,0,1,.2031,1,1,0],ix:2}},s:{a:0,k:[68.9999986046127,64.4999988329198],ix:2},e:{a:0,k:[137.9999973036501,73.71428423336882],ix:2},t:2},{ty:"tr",p:{a:0,k:[68.9999986046127,64.4999988329198],ix:2},a:{a:0,k:[68.9999986046127,64.4999988329198],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"tr",p:{a:1,k:[{t:0,s:[3,217],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}},{t:76,s:[3,3],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}},{t:187,s:[346,3],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}},{t:262,s:[346,216],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}},{t:365,s:[3,217],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}},{t:399,s:[3,3],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}},{t:735,s:[3,3],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}},{t:837,s:[346,3],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}},{t:905,s:[346,216],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}},{t:1e3,s:[3,217],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}}],ix:2},a:{a:0,k:[49,49],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:401,st:0,bm:0},{ddd:0,ind:26,ty:4,nm:"Mask group - Null: 0:0: rg-background",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,parent:24,shapes:[{ty:"gr",it:[{ty:"rc",d:1,s:{a:0,k:[388,330],ix:2},p:{a:0,k:[147,118],ix:2},r:{a:0,k:0,ix:2}},{ty:"gf",o:{a:0,k:100,ix:2},r:1,bm:0,g:{p:1,k:{a:0,k:[0,1,1,1,0,0],ix:2}},s:{a:0,k:[0,0],ix:2},e:{a:0,k:[0,0],ix:2},t:2},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:0,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:401,st:0,bm:0}]},{id:"12",layers:[{ddd:0,ind:27,ty:3,nm:"",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0},{ddd:0,refId:"15",w:409,h:407,ind:28,ty:0,nm:"frame-border (Stroke) - Layer Mask (Masked)",sr:1,ks:{p:{a:0,k:[6,12],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0,parent:27}]},{id:"16",layers:[{ddd:0,ind:29,ty:4,nm:"frame-border (Stroke) - Null",sr:1,ks:{p:{a:0,k:[-6,-12],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"gr",it:[{ty:"gr",nm:"frame-border (Stroke) - Null",it:[{ty:"gr",nm:"Path",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[153.6818,3.1314],[153.6818,3.1314],[153.6818,3.1314],[158.0727,7.8285],[158.0727,265.8628],[153.6818,270.8685],[7.6066,270.8685],[2.9273,266.1714],[2.9273,8.1371],[7.6066,3.1314],[153.6818,3.1314]],i:[[0,0],[0,0],[0,0],[0,-2.3485700000000005],[0,0],[2.5613600000000076,0],[0,0],[0,2.348569999999995],[0,0],[-2.5843100000000003,0],[0,0]],o:[[0,0],[0,0],[2.5614,0],[0,0],[0,2.6571],[0,0],[-3.2157,0],[0,0],[0,-2.7645],[0,0],[0,0]]}}},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"Path",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[7.3182,0],[0,7.8286],[0,266.1715],[7.3182,274.0001],[153.6818,274.0001],[161,265.863],[161,7.8287],[153.6818,1e-4],[7.3182,0],[7.3182,0]],i:[[0,0],[0,-4.494],[0,0],[-4.025,0],[0,0],[0,4.6142],[0,0],[4.025,0],[0,0],[0,0]],o:[[-4.201,0],[0,0],[0,4.49396999999999],[0,0],[4.200999999999993,0],[0,0],[0,-4.30571],[0,0],[0,0],[0,0]]}}},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"fl",c:{a:0,k:[1,1,1],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"tr",p:{a:0,k:[210.98634338378906,215.5],ix:2},a:{a:0,k:[80.5,137.0000457763672],ix:2},s:{a:0,k:[100,99.98999834060669],ix:2},r:{a:0,k:-90,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:401,st:0,bm:0},{ddd:0,ind:30,ty:4,nm:"Mask group - box",sr:1,ks:{p:{a:0,k:[-6,-12],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"rc",d:1,s:{a:0,k:[409,407],ix:2},p:{a:0,k:[210.5,215.5],ix:2},r:{a:0,k:0,ix:2}},{ty:"fl",c:{a:0,k:[0,0,0],ix:2},o:{a:0,k:0,ix:2},r:1,bm:0}],ip:0,op:401,st:0,bm:0}]},{id:"15",layers:[{ddd:0,refId:"17",w:421,h:433,ind:31,ty:0,nm:"Mask group",sr:1,ks:{p:{a:0,k:[-6,-12],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0,td:1},{ddd:0,refId:"16",w:409,h:407,ind:28,ty:0,nm:"frame-border (Stroke) - Layer Mask (Masked)",sr:1,ks:{p:{a:0,k:[210.5,215.5],ix:2},a:{a:0,k:[210.5,215.5],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0,tt:1}]},{id:"17",layers:[{ddd:0,ind:32,ty:3,nm:"",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0},{ddd:0,refId:"18",w:411,h:409,ind:33,ty:0,nm:"id-scan-tuto - Shape Mask (Masked)",sr:1,ks:{p:{a:0,k:[4,12],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0,parent:32}]},{id:"19",layers:[{ddd:0,ind:34,ty:4,nm:"id-scan-tuto - Shape Mask",sr:1,ks:{p:{a:0,k:[-4,-12],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"gr",nm:"id-scan-tuto - Shape Mask",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[.01,0],[420.99,0],[421,.01],[421,432.99],[420.99,433],[.01,433],[0,432.99],[0,.01],[.01,0],[.01,0],[.01,0]],i:[[0,0],[0,0],[0,-.0055],[0,0],[.0055,0],[0,0],[0,.0055],[0,0],[-.0055,0],[0,0],[0,0]],o:[[0,0],[.005519999999989977,0],[0,0],[0,.005519999999989977],[0,0],[-.00552,0],[0,0],[0,-.00552],[0,0],[0,0],[0,0]]}}},{ty:"fl",c:{a:0,k:[0,1,0],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[210.5,216.5],ix:2},a:{a:0,k:[210.5,216.5],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:401,st:0,bm:0},{ddd:0,ind:35,ty:4,nm:"frameshine - box",sr:1,ks:{p:{a:0,k:[-4,-12],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"rc",d:1,s:{a:0,k:[411,409],ix:2},p:{a:0,k:[209.5,216.5],ix:2},r:{a:0,k:0,ix:2}},{ty:"fl",c:{a:0,k:[0,0,0],ix:2},o:{a:0,k:0,ix:2},r:1,bm:0}],ip:0,op:401,st:0,bm:0}]},{id:"18",layers:[{ddd:0,refId:"20",w:421,h:433,ind:36,ty:0,nm:"frameshine",sr:1,ks:{p:{a:0,k:[-4,-12],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0,td:1},{ddd:0,refId:"19",w:411,h:409,ind:33,ty:0,nm:"id-scan-tuto - Shape Mask (Masked)",sr:1,ks:{p:{a:0,k:[209.5,216.5],ix:2},a:{a:0,k:[209.5,216.5],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0,tt:1}]},{id:"20",layers:[{ddd:0,ind:37,ty:3,nm:"",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0},{ddd:0,refId:"21",w:412,h:411,ind:38,ty:0,nm:"id-scan-tuto - Shape Mask (Masked)",sr:1,ks:{p:{a:0,k:[3,12],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0,parent:37}]},{id:"22",layers:[{ddd:0,ind:39,ty:4,nm:"id-scan-tuto - Shape Mask",sr:1,ks:{p:{a:0,k:[-3,-12],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"gr",nm:"id-scan-tuto - Shape Mask",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[.01,0],[420.99,0],[421,.01],[421,432.99],[420.99,433],[.01,433],[0,432.99],[0,.01],[.01,0],[.01,0],[.01,0]],i:[[0,0],[0,0],[0,-.0055],[0,0],[.0055,0],[0,0],[0,.0055],[0,0],[-.0055,0],[0,0],[0,0]],o:[[0,0],[.005519999999989977,0],[0,0],[0,.005519999999989977],[0,0],[-.00552,0],[0,0],[0,-.00552],[0,0],[0,0],[0,0]]}}},{ty:"fl",c:{a:0,k:[0,1,0],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[210.5,216.5],ix:2},a:{a:0,k:[210.5,216.5],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:401,st:0,bm:0},{ddd:0,ind:40,ty:4,nm:"id frame - box",sr:1,ks:{p:{a:0,k:[-3,-12],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"rc",d:1,s:{a:0,k:[412,411],ix:2},p:{a:0,k:[209,217.5],ix:2},r:{a:0,k:0,ix:2}},{ty:"fl",c:{a:0,k:[0,0,0],ix:2},o:{a:0,k:0,ix:2},r:1,bm:0}],ip:0,op:401,st:0,bm:0}]},{id:"21",layers:[{ddd:0,refId:"23",w:421,h:433,ind:41,ty:0,nm:"id frame",sr:1,ks:{p:{a:0,k:[-3,-12],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0,td:1},{ddd:0,refId:"22",w:412,h:411,ind:38,ty:0,nm:"id-scan-tuto - Shape Mask (Masked)",sr:1,ks:{p:{a:0,k:[209,217.5],ix:2},a:{a:0,k:[209,217.5],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0,tt:1}]},{id:"23",layers:[{ddd:0,ind:42,ty:3,nm:"",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0},{ddd:0,refId:"24",w:414,h:412,ind:43,ty:0,nm:"id frame - Shape Mask (Masked)",sr:1,ks:{p:{a:0,k:[2,11],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0,parent:42}]},{id:"25",layers:[{ddd:0,ind:44,ty:4,nm:"id frame - Null",sr:1,ks:{p:{a:0,k:[-2,-11],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"gr",nm:"id frame - Null",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[.01,0],[273.99,0],[274,.01],[274,171.99],[273.99,172],[.01,172],[0,171.99],[0,.01],[.01,0],[.01,0],[.01,0]],i:[[0,0],[0,0],[0,-.0055],[0,0],[.0055,0],[0,0],[0,.0055],[0,0],[-.0055,0],[0,0],[0,0]],o:[[0,0],[.005519999999989977,0],[0,0],[0,.005519999999989977],[0,0],[-.00552,0],[0,0],[0,-.00552],[0,0],[0,0],[0,0]]}}},{ty:"fl",c:{a:0,k:[0,1,0],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[210.99996948242188,215],ix:2},a:{a:0,k:[137,86],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:401,st:0,bm:0},{ddd:0,ind:45,ty:4,nm:"Illustration - box",sr:1,ks:{p:{a:0,k:[-2,-11],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"rc",d:1,s:{a:0,k:[414,412],ix:2},p:{a:0,k:[209,217],ix:2},r:{a:0,k:0,ix:2}},{ty:"fl",c:{a:0,k:[0,0,0],ix:2},o:{a:0,k:0,ix:2},r:1,bm:0}],ip:0,op:401,st:0,bm:0}]},{id:"24",layers:[{ddd:0,refId:"26",w:421,h:433,ind:46,ty:0,nm:"Illustration",sr:1,ks:{p:{a:0,k:[-2,-11],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0,td:1},{ddd:0,refId:"25",w:414,h:412,ind:43,ty:0,nm:"id frame - Shape Mask (Masked)",sr:1,ks:{p:{a:0,k:[209,217],ix:2},a:{a:0,k:[209,217],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0,tt:1}]},{id:"26",layers:[{ddd:0,ind:47,ty:4,nm:"id-scan-tuto - Shape Mask",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"gr",nm:"id-scan-tuto - Shape Mask",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[.01,0],[420.99,0],[421,.01],[421,432.99],[420.99,433],[.01,433],[0,432.99],[0,.01],[.01,0],[.01,0],[.01,0]],i:[[0,0],[0,0],[0,-.0055],[0,0],[.0055,0],[0,0],[0,.0055],[0,0],[-.0055,0],[0,0],[0,0]],o:[[0,0],[.005519999999989977,0],[0,0],[0,.005519999999989977],[0,0],[-.00552,0],[0,0],[0,-.00552],[0,0],[0,0],[0,0]]}}},{ty:"fl",c:{a:0,k:[0,1,0],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[210.5,216.5],ix:2},a:{a:0,k:[210.5,216.5],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:401,st:0,bm:0}]},{id:"5",layers:[{ddd:0,ind:48,ty:3,nm:"",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0},{ddd:0,refId:"27",w:406,h:402,ind:49,ty:0,nm:"id frame - Shape Mask (Masked)",sr:1,ks:{p:{a:0,k:[8,15],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0,parent:48}]},{id:"28",layers:[{ddd:0,ind:50,ty:4,nm:"id frame - Null",sr:1,ks:{p:{a:0,k:[-8,-15],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"gr",nm:"id frame - Null",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[.01,0],[273.99,0],[274,.01],[274,171.99],[273.99,172],[.01,172],[0,171.99],[0,.01],[.01,0],[.01,0],[.01,0]],i:[[0,0],[0,0],[0,-.0055],[0,0],[.0055,0],[0,0],[0,.0055],[0,0],[-.0055,0],[0,0],[0,0]],o:[[0,0],[.005519999999989977,0],[0,0],[0,.005519999999989977],[0,0],[-.00552,0],[0,0],[0,-.00552],[0,0],[0,0],[0,0]]}}},{ty:"fl",c:{a:0,k:[0,1,0],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[210.99996948242188,215],ix:2},a:{a:0,k:[137,86],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:401,st:0,bm:0},{ddd:0,ind:51,ty:4,nm:"Illustration - box",sr:1,ks:{p:{a:0,k:[-8,-15],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"rc",d:1,s:{a:0,k:[406,402],ix:2},p:{a:0,k:[211,216],ix:2},r:{a:0,k:0,ix:2}},{ty:"fl",c:{a:0,k:[0,0,0],ix:2},o:{a:0,k:0,ix:2},r:1,bm:0}],ip:0,op:401,st:0,bm:0}]},{id:"27",layers:[{ddd:0,refId:"29",w:421,h:433,ind:52,ty:0,nm:"Illustration",sr:1,ks:{p:{a:0,k:[-8,-15],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0,td:1},{ddd:0,refId:"28",w:406,h:402,ind:49,ty:0,nm:"id frame - Shape Mask (Masked)",sr:1,ks:{p:{a:0,k:[211,216],ix:2},a:{a:0,k:[211,216],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0,tt:1}]},{id:"29",layers:[{ddd:0,ind:53,ty:4,nm:"id-scan-tuto - Shape Mask",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"gr",nm:"id-scan-tuto - Shape Mask",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[.01,0],[420.99,0],[421,.01],[421,432.99],[420.99,433],[.01,433],[0,432.99],[0,.01],[.01,0],[.01,0],[.01,0]],i:[[0,0],[0,0],[0,-.0055],[0,0],[.0055,0],[0,0],[0,.0055],[0,0],[-.0055,0],[0,0],[0,0]],o:[[0,0],[.005519999999989977,0],[0,0],[0,.005519999999989977],[0,0],[-.00552,0],[0,0],[0,-.00552],[0,0],[0,0],[0,0]]}}},{ty:"fl",c:{a:0,k:[0,1,0],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[210.5,216.5],ix:2},a:{a:0,k:[210.5,216.5],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:401,st:0,bm:0}]},{id:"2",layers:[{ddd:0,ind:54,ty:3,nm:"",sr:1,ks:{p:{a:1,k:[{t:89,s:[148.13092041015625,352.5249328613281],i:{x:[.15],y:[1]},o:{x:[.5],y:[.35]}},{t:182,s:[148.13092041015625,228.52493286132812],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}},{t:330,s:[148.13092041015625,228.52493286132812],i:{x:[.15],y:[1]},o:{x:[.5],y:[.35]}},{t:399,s:[148.13092041015625,352.5249328613281],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}}],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:-35084222913516843e-31,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0},{ddd:0,ind:55,ty:3,nm:"",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:45,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0,parent:54},{ddd:0,ind:56,ty:3,nm:"",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0,parent:55},{ddd:0,ind:57,ty:3,nm:"avatar",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[34.5,41.99999999999999],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:-45,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0,parent:56},{ddd:0,ind:58,ty:3,nm:"",sr:1,ks:{p:{a:0,k:[13.630821228027344,41.274932861328125],ix:2},a:{a:0,k:[34.5,42],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0,parent:57},{ddd:0,refId:"30",w:70,h:84,ind:59,ty:0,nm:"Frame clipped content",sr:1,ks:{p:{a:0,k:[-1,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0,parent:58},{ddd:0,ind:60,ty:4,nm:"bg",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,parent:57,shapes:[{ty:"gr",nm:"bg",it:[{ty:"rc",d:1,s:{a:0,k:[69,84],ix:2},p:{a:0,k:[0,0],ix:2},r:{a:0,k:5,ix:2}},{ty:"fl",c:{a:0,k:[.9490196078431372,.9490196078431372,.9490196078431372],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[13.630821228027344,41.274932861328125],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:35084222913516843e-31,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:-13497799236786507e-35,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:401,st:0,bm:0},{ddd:0,refId:"31",w:421,h:433,ind:61,ty:0,nm:"hand_front",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0},{ddd:0,refId:"32",w:421,h:433,ind:62,ty:0,nm:"id2",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0},{ddd:0,refId:"33",w:421,h:433,ind:63,ty:0,nm:"hand_back",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0}]},{id:"34",layers:[{ddd:0,ind:64,ty:4,nm:"Ellipse 148",sr:1,ks:{p:{a:0,k:[1,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"gr",nm:"Ellipse 148",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[29.40778923034668,21.02375372204266],[14.703896173913106,41.67866897583008],[0,21.02375372204266],[14.703896173913106,0],[29.40778923034668,21.02375372204266]],i:[[0,0],[6.445570528652801,6709120249186247e-28],[0,11.407394951810977],[-13.89285269848294,0],[0,-10.3986211332242]],o:[[0,11.407394951810977],[-7.049784824434234,-7338040298630747e-28],[0,-10.163616881427123],[13.89285269848294,0],[0,0]]}}},{ty:"fl",c:{a:0,k:[.9803921568627451,.9803921568627451,.9803921568627451],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[34.549598693847656,35.140846252441406],ix:2},a:{a:0,k:[14.70389461517334,20.83933448791504],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:35084222913516843e-31,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:-13497799236786507e-35,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:401,st:0,bm:0},{ddd:0,ind:65,ty:4,nm:"Vector 14",sr:1,ks:{p:{a:0,k:[1,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"gr",nm:"Vector 14",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[3.9348058700561523,1.3974225869325927],[3.9348058700561523,9.320050553038458],[2.3130527164307835,10.379291534423828],[.24067927197749917,5.251672965050543],[1.0515850938809188,.7550471171330079],[3.9348058700561523,1.3974225869325927]],i:[[0,0],[0,0],[1.081207827744338,0],[.18020130462405634,1.3918134404172093],[-1.531711138209313,2.034188793993958],[-.45050326156014087,-.8921880879311809]],o:[[0,0],[-.09008117596188552,.6780629700722647],[-1.3515097357755885,0],[-.18020130462405634,-1.3918134404172093],[1.2253689105674503,-1.627351104928868],[0,0]]}}},{ty:"gf",o:{a:0,k:100,ix:2},r:1,bm:0,g:{p:3,k:{a:0,k:[.0416666679084301,.7098039215686275,.7098039215686275,.7098039215686275,.3624882996082306,.8862745098039215,.8862745098039215,.8862745098039215,1,1,1,1,.0416666679084301,1,.3624882996082306,1,1,1],ix:2}},s:{a:0,k:[3.535644338029215,5.073959327992043],ix:2},e:{a:0,k:[.9527466096603376,5.337060494702882],ix:2},t:1},{ty:"tr",p:{a:0,k:[48.94611358642578,38.227134704589844],ix:2},a:{a:0,k:[1.9674029350280762,5.189645767211914],ix:2},s:{a:0,k:[100.0000001429167,-99.9481639006186],ix:2},r:{a:0,k:-172.2474372501015,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:178.15518187858171,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:401,st:0,bm:0},{ddd:0,ind:66,ty:4,nm:"Vector 13",sr:1,ks:{p:{a:0,k:[1,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"gr",nm:"Vector 13",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[3.9348061084747314,1.3974225869325927],[3.9348061084747314,9.320050553038458],[2.3130528565837567,10.379291534423828],[.24067928656078788,5.251672965050543],[1.0515851575987825,.7550471171330079],[3.9348061084747314,1.3974225869325927]],i:[[0,0],[0,0],[1.0812078932571085,0],[.18020131554285143,1.3918134404172093],[-1.5317112310190741,2.034188793993958],[-.4505032888571286,-.8921880879311809]],o:[[0,0],[-.09008118142010295,.6780629700722647],[-1.3515098176665488,0],[-.18020131554285143,-1.3918134404172093],[1.2253689848152594,-1.627351104928868],[0,0]]}}},{ty:"gf",o:{a:0,k:100,ix:2},r:1,bm:0,g:{p:3,k:{a:0,k:[.171875,.7411764705882353,.7411764705882353,.7411764705882353,.640625,.8823529411764706,.8823529411764706,.8823529411764706,1,.8666666666666667,.8666666666666667,.8666666666666667,.171875,1,.640625,1,1,1],ix:2}},s:{a:0,k:[3.535644552261715,5.073959327992043],ix:2},e:{a:0,k:[.9527466673893592,5.337060494702882],ix:2},t:1},{ty:"tr",p:{a:0,k:[19.525991439819336,37.78838348388672],ix:2},a:{a:0,k:[1.9674030542373657,5.189645767211914],ix:2},s:{a:0,k:[100.00000406647163,99.94816570930602],ix:2},r:{a:0,k:-7.210328320717026,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:1.8448164690909499,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:401,st:0,bm:0},{ddd:0,ind:67,ty:4,nm:"Path 48",sr:1,ks:{p:{a:0,k:[1,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"gr",nm:"Path 48",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[0,.12849007540458368],[15.486435890197754,2.753420328909102],[0,8.300728221449454],[0,.12849007540458368]],i:[[0,0],[0,0],[13.997622810023397,2.272839475302365],[0,0]],o:[[7.976375788455248,-.8286119902769422],[0,0],[0,0],[0,0]]}}},{ty:"fl",c:{a:0,k:[.803921568627451,.803921568627451,.803921568627451],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[32.48638153076172,54.08028030395508],ix:2},a:{a:0,k:[7.743217945098877,4.357501983642578],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:35084222913516843e-31,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:-13497799236786507e-35,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:401,st:0,bm:0},{ddd:0,ind:68,ty:4,nm:"Combined Shape",sr:1,ks:{p:{a:0,k:[1,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"gr",nm:"Combined Shape",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[68.99954223632812,10.8717041015625],[68.99954223632812,18.371704101562496],[63.99954223632811,23.3717041015625],[5.000024025314547,23.3717041015625],[13087377776455673e-21,18.371680076267403],[0,11.067558288574219],[21.875686645507812,.0020765764638781548],[33.896018981933594,6.112762928009033],[47.13252639770508,0],[68.99954223632812,10.8717041015625]],i:[[0,0],[0,-2.295651123987742],[2.7614237491539666,0],[12.732030280155596,0],[-28159404744806925e-22,2.761433131603602],[1343608016919655e-20,2.496890573581224],[0,0],[-5.204238414764404,-.1275200992822647],[-1.8004869222640991,3.39642071723938],[-3.2092509269714355,-5.7423272132873535]],o:[[0,2.452988800294472],[0,2.7614237491539666],[-12.732004109396655,0],[-2.761433131605038,0],[22246243573398796e-22,-2.181562949005027],[3.2085766792297363,-5.740843772888184],[1.7319860458374023,3.1289663314819336],[5.647283554077148,.13837610185146332],[0,0],[0,0]]}}},{ty:"fl",c:{a:0,k:"replaceColorWithYours",ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[34.4997673034668,72.31414794921875],ix:2},a:{a:0,k:[34.49977111816406,11.68585205078125],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:35084222913516843e-31,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:-13497799236786507e-35,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:401,st:0,bm:0},{ddd:0,ind:69,ty:4,nm:"Combined Shape",sr:1,ks:{p:{a:0,k:[1,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"gr",nm:"Combined Shape",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[6.834998839187427,20.148897094698956],[6.834998839187427,20.276831175115184],[0,26.382373100174387],[16.344566345214844,33.506351470947266],[32.68913269042969,26.382373100174387],[25.8541346319782,20.26762907974962],[25.86245727708525,8.185946186435809],[25.86245727708525,8.120052944909647],[25.906137891386308,4.535509267814491],[6.805281687150871,8.478276480396433],[6.834998839187427,20.148897094698956]],i:[[0,0],[0,0],[4.521402652891512,-1.3638461608837398],[-5.4480901487646864,0],[-5.4480901487646864,3.9576671986075476],[.06597261988864958,2.711069867255544],[-.004751279871115604,1.028893788770157],[.2971739601653587,.08251942464135713],[-.020207830999104257,4.63207044174287],[-.2848749293302733,-12.719011440108291],[-.018127613460931735,-1.4687269453329332]],o:[[0,0],[-.03526464380157919,2.706518339323246],[5.4480901487646864,3.9576671986075476],[5.4480901487646864,0],[-4.4906947469486855,-1.365429233222053],[0,-1.028902561954298],[.3248111584670955,.045712197705763596],[.008915218347498297,-3.3895298307376183],[.020207830999104257,-4.63212035141265],[.003863261741378393,1.2968610478513316],[0,0]]}}},{ty:"gf",o:{a:0,k:100,ix:2},r:1,bm:0,g:{p:2,k:{a:0,k:[0,.6941176470588235,.6941176470588235,.6941176470588235,1,1,1,1,0,1,1,1],ix:2}},s:{a:0,k:[14.894934886697229,9.251654175928934],ix:2},e:{a:0,k:[14.894934886697229,24.992764192926643],ix:2},t:1},{ty:"tr",p:{a:0,k:[34.507652282714844,52.670166015625],ix:2},a:{a:0,k:[16.344566345214844,16.753175735473633],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:35084222913516843e-31,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:-13497799236786507e-35,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:401,st:0,bm:0},{ddd:0,ind:70,ty:4,nm:"Frame region - box",sr:1,ks:{p:{a:0,k:[1,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"rc",d:1,s:{a:0,k:[70,84],ix:2},p:{a:0,k:[34,42],ix:2},r:{a:0,k:0,ix:2}},{ty:"fl",c:{a:0,k:[0,0,0],ix:2},o:{a:0,k:0,ix:2},r:1,bm:0}],ip:0,op:401,st:0,bm:0}]},{id:"30",layers:[{ddd:0,ind:71,ty:4,nm:"Frame region",sr:1,ks:{p:{a:0,k:[1,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},td:1,ao:0,shapes:[{ty:"gr",nm:"Frame region",it:[{ty:"rc",d:1,s:{a:0,k:[69,84],ix:2},p:{a:0,k:[0,0],ix:2},r:{a:0,k:3.728449583053589,ix:2}},{ty:"fl",c:{a:0,k:[0,0,0],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[34.5,42],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:401,st:0,bm:0},{ddd:0,refId:"34",w:70,h:84,ind:59,ty:0,nm:"Frame clipped content",sr:1,ks:{p:{a:0,k:[34,42],ix:2},a:{a:0,k:[34,42],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0,tt:1}]},{id:"31",layers:[{ddd:0,ind:72,ty:3,nm:"Illustration - Null",sr:1,ks:{p:{a:0,k:[90.40459442138672,272.698974609375],ix:2},a:{a:0,k:[191.40449905395508,204.69896697998047],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0},{ddd:0,ind:73,ty:3,nm:"hand1 - Null",sr:1,ks:{p:{a:1,k:[{t:89,s:[229,284.5],i:{x:[.15],y:[1]},o:{x:[.5],y:[.35]}},{t:182,s:[229,174.5],i:{x:[.15],y:[1]},o:{x:[.5],y:[.35]}},{t:330,s:[229,174.5],i:{x:[.15],y:[1]},o:{x:[.5],y:[.35]}},{t:399,s:[228.13082885742188,284.52490234375],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}}],ix:2},a:{a:0,k:[228.5,146.5],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0,parent:72},{ddd:0,ind:74,ty:3,nm:"",sr:1,ks:{p:{a:0,k:[190.9044952392578,66.69896697998047],ix:2},a:{a:0,k:[91.06314135482535,59.241802628523146],ix:2},s:{a:0,k:[99.99999925241977,99.99999925241977],ix:2},r:{a:0,k:-1.5587000278369698,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0,parent:73},{ddd:0,refId:"35",w:178,h:121,ind:75,ty:0,nm:"Vector - Stroke (Masked Group)",sr:1,ks:{p:{a:0,k:[6,-2],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0,parent:74},{ddd:0,ind:76,ty:4,nm:"Vector",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,parent:73,shapes:[{ty:"gr",nm:"Vector",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[15.2642,118.4453],[37.6124,109.0988],[57.9243,85.8643],[69.5416,66.1531],[88.3299,33.1984],[128.6094,31.1182],[156.041,38.1135],[173.5914,35.0297],[181.9271,20.1163],[153.7923,9.2828],[125.6868,2.0679],[89.2041,1.0751],[67.4541,2.0679],[4.0134,66.4022],[.644,95.1084],[15.2718,118.4454],[15.2642,118.4453],[15.2642,118.4453]],i:[[0,0],[-6.3873,5.2593],[-5.4424,8.7825],[-4.3656,6.2628],[-6.3873,11.1558],[-14.6424,3.9115],[-9.4784,-.5567],[-5.23,2.9886],[1.1866,5.9112],[9.6175,2.6735],[10.3207,.4981],[10.0277,0],[5.6768,-3.9774],[28.9992,-16.2026],[-1.8092,-9.4857],[-7.6179,-5.9478],[0,0],[0,0]],o:[[8.25513,.5054200000000009],[7.976779999999998,-6.570409999999995],[4.021349999999998,-6.482510000000005],[7.34684,-10.547809999999998],[11.719790000000003,0],[8.584749999999985,4.050649999999997],[6.013720000000006,.3515900000000016],[5.2299600000000055,-2.9885499999999965],[-1.3038500000000113,-3.3987900000000018],[-8.108630000000005,-6.40926],[-10.32074,-.4980899999999999],[-10.027749999999997,-9999999999998899e-20],[-27.19724,19.07396],[-2.89332,9.214680000000001],[1.80924,9.485709999999997],[0,0],[0,0],[0,0]]}}},{ty:"gf",o:{a:0,k:70,ix:2},r:1,bm:0,g:{p:4,k:{a:0,k:[0,1,1,1,.3446,1,1,1,.6854,1,1,1,1,1,1,1,0,1,.3446,.87,.6854,.34,1,0],ix:2}},s:{a:0,k:[59.678981816837144,39.682002548534626],ix:2},e:{a:0,k:[23.063250400302156,80.20096724697872],ix:2},t:1},{ty:"tr",p:{a:0,k:[190.9044952392578,66.69896697998047],ix:2},a:{a:0,k:[91.06313975060566,59.24180359327073],ix:2},s:{a:0,k:[99.99999925241977,99.99999925241977],ix:2},r:{a:0,k:-1.5587000278369698,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:401,st:0,bm:0}]},{id:"36",layers:[{ddd:0,ind:77,ty:4,nm:"Group",sr:1,ks:{p:{a:0,k:[-6,2],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"gr",nm:"Group",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[15.2642,118.4453],[37.6124,109.0988],[57.9243,85.8643],[69.5416,66.1531],[88.3299,33.1984],[128.6094,31.1182],[156.041,38.1135],[173.5914,35.0297],[181.9271,20.1163],[153.7923,9.2828],[125.6868,2.0679],[89.2041,1.0751],[67.4541,2.0679],[4.0134,66.4022],[.644,95.1084],[15.2718,118.4454],[15.2642,118.4453],[15.2642,118.4453]],i:[[0,0],[-6.3873,5.2593],[-5.4424,8.7825],[-4.3656,6.2628],[-6.3873,11.1558],[-14.6424,3.9115],[-9.4784,-.5567],[-5.23,2.9886],[1.1866,5.9112],[9.6175,2.6735],[10.3207,.4981],[10.0277,0],[5.6768,-3.9774],[28.9992,-16.2026],[-1.8092,-9.4857],[-7.6179,-5.9478],[0,0],[0,0]],o:[[8.25513,.5054200000000009],[7.976779999999998,-6.570409999999995],[4.021349999999998,-6.482510000000005],[7.34684,-10.547809999999998],[11.719790000000003,0],[8.584749999999985,4.050649999999997],[6.013720000000006,.3515900000000016],[5.2299600000000055,-2.9885499999999965],[-1.3038500000000113,-3.3987900000000018],[-8.108630000000005,-6.40926],[-10.32074,-.4980899999999999],[-10.027749999999997,-9999999999998899e-20],[-27.19724,19.07396],[-2.89332,9.214680000000001],[1.80924,9.485709999999997],[0,0],[0,0],[0,0]]}}},{ty:"gs",o:{a:0,k:70,ix:2},bm:0,g:{p:2,k:{a:0,k:[0,1,1,1,1,1,1,1,0,1,1,0],ix:2}},s:{a:0,k:[75.3892138210032,37.366472475224384],ix:2},e:{a:0,k:[34.90184026331833,90.11536732083192],ix:2},t:1,w:{a:0,k:3.2874,ix:2},lc:1,lj:1,ml:4},{ty:"tr",p:{a:0,k:[91.06314086914062,59.24180221557617],ix:2},a:{a:0,k:[91.06313975060566,59.24180359327073],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:401,st:0,bm:0},{ddd:0,ind:78,ty:4,nm:"Rectangle",sr:1,ks:{p:{a:0,k:[-6,2],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"gr",nm:"Rectangle",it:[{ty:"rc",d:1,s:{a:0,k:[367.5392,240.2542],ix:2},p:{a:0,k:[0,0],ix:2},r:{a:0,k:0,ix:2}},{ty:"fl",c:{a:0,k:[0,1,0],ix:2},o:{a:0,k:0,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[91.88480377197266,60.06354904174805],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:401,st:0,bm:0},{ddd:0,ind:79,ty:4,nm:"Mask - box",sr:1,ks:{p:{a:0,k:[-6,2],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"rc",d:1,s:{a:0,k:[178,121],ix:2},p:{a:0,k:[95,58.5],ix:2},r:{a:0,k:0,ix:2}},{ty:"fl",c:{a:0,k:[0,0,0],ix:2},o:{a:0,k:0,ix:2},r:1,bm:0}],ip:0,op:401,st:0,bm:0}]},{id:"35",layers:[{ddd:0,ind:80,ty:4,nm:"Mask",sr:1,ks:{p:{a:0,k:[-6,2],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},td:1,ao:0,shapes:[{ty:"gr",nm:"Mask",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[15.2642,118.4453],[37.6124,109.0988],[57.9243,85.8643],[69.5416,66.1531],[88.3299,33.1984],[128.6094,31.1182],[156.041,38.1135],[173.5914,35.0297],[181.9271,20.1163],[153.7923,9.2828],[125.6868,2.0679],[89.2041,1.0751],[67.4541,2.0679],[4.0134,66.4022],[.644,95.1084],[15.2718,118.4454],[15.2642,118.4453],[15.2642,118.4453]],i:[[0,0],[-6.3873,5.2593],[-5.4424,8.7825],[-4.3656,6.2628],[-6.3873,11.1558],[-14.6424,3.9115],[-9.4784,-.5567],[-5.23,2.9886],[1.1866,5.9112],[9.6175,2.6735],[10.3207,.4981],[10.0277,0],[5.6768,-3.9774],[28.9992,-16.2026],[-1.8092,-9.4857],[-7.6179,-5.9478],[0,0],[0,0]],o:[[8.25513,.5054200000000009],[7.976779999999998,-6.570409999999995],[4.021349999999998,-6.482510000000005],[7.34684,-10.547809999999998],[11.719790000000003,0],[8.584749999999985,4.050649999999997],[6.013720000000006,.3515900000000016],[5.2299600000000055,-2.9885499999999965],[-1.3038500000000113,-3.3987900000000018],[-8.108630000000005,-6.40926],[-10.32074,-.4980899999999999],[-10.027749999999997,-9999999999998899e-20],[-27.19724,19.07396],[-2.89332,9.214680000000001],[1.80924,9.485709999999997],[0,0],[0,0],[0,0]]}}},{ty:"fl",c:{a:0,k:[0,0,0],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:401,st:0,bm:0},{ddd:0,refId:"36",w:178,h:121,ind:75,ty:0,nm:"Vector - Stroke (Masked Group)",sr:1,ks:{p:{a:0,k:[95,58.5],ix:2},a:{a:0,k:[95,58.5],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0,tt:1}]},{id:"32",layers:[{ddd:0,refId:"37",w:421,h:433,ind:81,ty:0,nm:"documents",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0}]},{id:"37",layers:[{ddd:0,ind:82,ty:3,nm:"Illustration - Null",sr:1,ks:{p:{a:0,k:[213.00009155273438,326.5],ix:2},a:{a:0,k:[314,258.5],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0},{ddd:0,ind:83,ty:3,nm:"hand1 - Null",sr:1,ks:{p:{a:1,k:[{t:89,s:[229,284.5],i:{x:[.15],y:[1]},o:{x:[.5],y:[.35]}},{t:182,s:[229,174.5],i:{x:[.15],y:[1]},o:{x:[.5],y:[.35]}},{t:330,s:[229,174.5],i:{x:[.15],y:[1]},o:{x:[.5],y:[.35]}},{t:399,s:[229,284.5],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}}],ix:2},a:{a:0,k:[228.5,146.5],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0,parent:82},{ddd:0,ind:84,ty:3,nm:"documents - Null",sr:1,ks:{p:{a:0,k:[313.5,120.5],ix:2},a:{a:0,k:[133.5,77.5],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0,parent:83},{ddd:0,ind:85,ty:3,nm:"shapes - Null",sr:1,ks:{p:{a:0,k:[226,10],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0,parent:84},{ddd:0,ind:86,ty:3,nm:"",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0,parent:85},{ddd:0,refId:"38",w:47,h:23,ind:87,ty:0,nm:"shapes - Stroke",sr:1,ks:{p:{a:0,k:[-12,-6],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:50,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0,parent:86},{ddd:0,ind:88,ty:4,nm:"shapes",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,parent:85,shapes:[{ty:"gr",nm:"shapes",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[1,0],[22,0],[23,1],[23,10],[22,11],[1,11],[0,10],[0,1],[1,0],[1,0],[1,0]],i:[[0,0],[0,0],[0,-.5523],[0,0],[.5523,0],[0,0],[0,.5523],[0,0],[-.5523,0],[0,0],[0,0]],o:[[0,0],[.5522799999999997,0],[0,0],[0,.5522799999999997],[0,0],[-.55228,0],[0,0],[0,-.55228],[0,0],[0,0],[0,0]]}}},{ty:"fl",c:{a:0,k:[.788235294117647,.788235294117647,.788235294117647],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[11.5,5.5],ix:2},a:{a:0,k:[11.5,5.5],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:50,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:401,st:0,bm:0},{ddd:0,ind:89,ty:3,nm:"shapes - Null",sr:1,ks:{p:{a:0,k:[15,11],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0,parent:84},{ddd:0,ind:90,ty:3,nm:"",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0,parent:89},{ddd:0,refId:"39",w:224,h:23,ind:91,ty:0,nm:"shapes - Stroke",sr:1,ks:{p:{a:0,k:[-56,-6],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:50,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0,parent:90},{ddd:0,ind:92,ty:4,nm:"shapes",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,parent:89,shapes:[{ty:"gr",nm:"shapes",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[1,0],[111,0],[112,1],[112,10],[111,11],[1,11],[0,10],[0,1],[1,0],[1,0],[1,0]],i:[[0,0],[0,0],[0,-.5523],[0,0],[.5523,0],[0,0],[0,.5523],[0,0],[-.5523,0],[0,0],[0,0]],o:[[0,0],[.5522799999999961,0],[0,0],[0,.5522799999999997],[0,0],[-.55228,0],[0,0],[0,-.55228],[0,0],[0,0],[0,0]]}}},{ty:"fl",c:{a:0,k:[.788235294117647,.788235294117647,.788235294117647],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[56,5.5],ix:2},a:{a:0,k:[56,5.5],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:50,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:401,st:0,bm:0},{ddd:0,ind:93,ty:4,nm:"shapes",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,parent:84,shapes:[{ty:"gr",nm:"shapes",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[1,0],[26,0],[27,1],[27,8],[26,9],[1,9],[0,8],[0,1],[1,0],[1,0],[1,0]],i:[[0,0],[0,0],[0,-.5523],[0,0],[.5523,0],[0,0],[0,.5523],[0,0],[-.5523,0],[0,0],[0,0]],o:[[0,0],[.5522799999999997,0],[0,0],[0,.5522799999999997],[0,0],[-.55228,0],[0,0],[0,-.55228],[0,0],[0,0],[0,0]]}}},{ty:"fl",c:{a:0,k:[.788235294117647,.788235294117647,.788235294117647],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[108.5,119.5],ix:2},a:{a:0,k:[13.5,4.5],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:50,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:401,st:0,bm:0},{ddd:0,ind:94,ty:4,nm:"shapes",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,parent:84,shapes:[{ty:"gr",nm:"shapes",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[1,0],[84,0],[85,1],[85,9],[84,10],[1,10],[0,9],[0,1],[1,0],[1,0],[1,0]],i:[[0,0],[0,0],[0,-.5523],[0,0],[.5523,0],[0,0],[0,.5523],[0,0],[-.5523,0],[0,0],[0,0]],o:[[0,0],[.5522799999999961,0],[0,0],[0,.5522799999999997],[0,0],[-.55228,0],[0,0],[0,-.55228],[0,0],[0,0],[0,0]]}}},{ty:"fl",c:{a:0,k:[.788235294117647,.788235294117647,.788235294117647],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[137.5,101],ix:2},a:{a:0,k:[42.5,5],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:50,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:401,st:0,bm:0},{ddd:0,ind:95,ty:4,nm:"shapes",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,parent:84,shapes:[{ty:"gr",nm:"shapes",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[1,0],[60,0],[61,1],[61,9],[60,10],[1,10],[0,9],[0,1],[1,0],[1,0],[1,0]],i:[[0,0],[0,0],[0,-.5523],[0,0],[.5523,0],[0,0],[0,.5523],[0,0],[-.5523,0],[0,0],[0,0]],o:[[0,0],[.5522800000000032,0],[0,0],[0,.5522799999999997],[0,0],[-.55228,0],[0,0],[0,-.55228],[0,0],[0,0],[0,0]]}}},{ty:"fl",c:{a:0,k:[.788235294117647,.788235294117647,.788235294117647],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[125.5,82],ix:2},a:{a:0,k:[30.5,5],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:50,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:401,st:0,bm:0},{ddd:0,ind:96,ty:4,nm:"shapes",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,parent:84,shapes:[{ty:"gr",nm:"shapes",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[1,0],[60,0],[61,1],[61,9],[60,10],[1,10],[0,9],[0,1],[1,0],[1,0],[1,0]],i:[[0,0],[0,0],[0,-.5523],[0,0],[.5523,0],[0,0],[0,.5523],[0,0],[-.5523,0],[0,0],[0,0]],o:[[0,0],[.5522800000000032,0],[0,0],[0,.5522799999999997],[0,0],[-.55228,0],[0,0],[0,-.55228],[0,0],[0,0],[0,0]]}}},{ty:"fl",c:{a:0,k:[.788235294117647,.788235294117647,.788235294117647],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[125.5,63],ix:2},a:{a:0,k:[30.5,5],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:50,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:401,st:0,bm:0},{ddd:0,ind:97,ty:4,nm:"Line 2 (Stroke)",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,parent:84,shapes:[{ty:"gr",nm:"Line 2 (Stroke)",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[233,0],[233.3827,.0761],[233.7071,.2929],[233.9239,.6173],[234,1],[234,4],[233.9239,4.3827],[233.7071,4.7071],[233.3827,4.9239],[233,5],[1.0006,5],[.6178,4.9238],[.2933,4.7069],[.0765,4.3822],[6e-4,3.9994],[.0026,.9994],[.0789,.6169],[.2958,.2926],[.6201,.0761],[1.0026,0],[233,0],[233,0],[233,0]],i:[[0,0],[-.1276,-.0528],[-.0977,-.0977],[-.0528,-.1276],[0,-.1381],[0,-.1381],[.0528,-.1276],[.0977,-.0977],[.1276,-.0528],[.1381,0],[.1381,0],[.1276,.0529],[.0976,.0977],[.0528,.1276],[-1e-4,.1381],[-1e-4,.138],[-.0529,.1275],[-.0976,.0975],[-.1275,.0528],[-.138,0],[-.1381,0],[0,0],[0,0]],o:[[.13810000000000855,0],[.12760000000000105,.052800000000000014],[.09770000000000323,.09770000000000001],[.05279999999999063,.12759999999999994],[0,.1381000000000001],[0,.13809999999999967],[-.05279999999999063,.12760000000000016],[-.09770000000000323,.09769999999999968],[-.12760000000000105,.0528000000000004],[-.13810000000000855,0],[-.1381,0],[-.1276,-.05290000000000017],[-.09760000000000002,-.09769999999999968],[-.0528,-.12760000000000016],[.00010000000000000005,-.1381000000000001],[9999999999999983e-20,-.138],[.0529,-.1275],[.09760000000000002,-.0975],[.12750000000000006,-.0528],[.13800000000000012,0],[0,0],[0,0],[0,0]]}}},{ty:"fl",c:{a:0,k:[.788235294117647,.788235294117647,.788235294117647],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[132.0002899169922,34.5],ix:2},a:{a:0,k:[117.0002998390869,2.5],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:50,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:401,st:0,bm:0},{ddd:0,ind:98,ty:3,nm:"bg - Null",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0,parent:84},{ddd:0,ind:99,ty:4,nm:"bg",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,parent:98,shapes:[{ty:"gr",nm:"bg",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[259.6876,0],[261.338,.3282],[262.7369,1.2631],[263.6718,2.662],[264,4.3124],[264,147.6876],[263.6718,149.338],[262.7369,150.7369],[261.338,151.6718],[259.6876,152],[4.3124,152],[2.662,151.6718],[1.2631,150.7369],[.3282,149.338],[0,147.6876],[0,4.3124],[.3282,2.662],[1.2631,1.2631],[2.662,.3282],[4.3124,0],[259.6876,0],[259.6876,0],[259.6876,0]],i:[[0,0],[-.5503,-.2277],[-.4213,-.4213],[-.2277,-.5503],[0,-.5955],[0,-.5955],[.2277,-.5503],[.4213,-.4213],[.5503,-.2277],[.5955,0],[.5955,0],[.5503,.2277],[.4213,.4213],[.2277,.5503],[0,.5955],[0,.5955],[-.2277,.5503],[-.4213,.4213],[-.5503,.2277],[-.5955,0],[-.5955,0],[0,0],[0,0]],o:[[.5955000000000155,0],[.5502999999999929,.22770000000000007],[.4212999999999738,.4213],[.2277000000000271,.5503],[0,.5955000000000004],[0,.595499999999987],[-.2277000000000271,.5502999999999929],[-.4212999999999738,.42130000000000223],[-.5502999999999929,.22769999999999868],[-.5955000000000155,0],[-.5954999999999999,0],[-.5503,-.22769999999999868],[-.4213,-.42130000000000223],[-.2277,-.5502999999999929],[0,-.595499999999987],[0,-.5954999999999999],[.22770000000000007,-.5503],[.4213,-.4213],[.5503,-.2277],[.5955000000000004,0],[0,0],[0,0],[0,0]]}}},{ty:"fl",c:{a:0,k:[0,0,0],ix:2},o:{a:0,k:1,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[132,76],ix:2},a:{a:0,k:[132,76],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:401,st:0,bm:0},{ddd:0,ind:100,ty:4,nm:"bg",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,parent:98,shapes:[{ty:"gr",nm:"bg",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[259.6876,0],[261.338,.3282],[262.7369,1.2631],[263.6718,2.662],[264,4.3124],[264,147.6876],[263.6718,149.338],[262.7369,150.7369],[261.338,151.6718],[259.6876,152],[4.3124,152],[2.662,151.6718],[1.2631,150.7369],[.3282,149.338],[0,147.6876],[0,4.3124],[.3282,2.662],[1.2631,1.2631],[2.662,.3282],[4.3124,0],[259.6876,0],[259.6876,0],[259.6876,0]],i:[[0,0],[-.5503,-.2277],[-.4213,-.4213],[-.2277,-.5503],[0,-.5955],[0,-.5955],[.2277,-.5503],[.4213,-.4213],[.5503,-.2277],[.5955,0],[.5955,0],[.5503,.2277],[.4213,.4213],[.2277,.5503],[0,.5955],[0,.5955],[-.2277,.5503],[-.4213,.4213],[-.5503,.2277],[-.5955,0],[-.5955,0],[0,0],[0,0]],o:[[.5955000000000155,0],[.5502999999999929,.22770000000000007],[.4212999999999738,.4213],[.2277000000000271,.5503],[0,.5955000000000004],[0,.595499999999987],[-.2277000000000271,.5502999999999929],[-.4212999999999738,.42130000000000223],[-.5502999999999929,.22769999999999868],[-.5955000000000155,0],[-.5954999999999999,0],[-.5503,-.22769999999999868],[-.4213,-.42130000000000223],[-.2277,-.5502999999999929],[0,-.595499999999987],[0,-.5954999999999999],[.22770000000000007,-.5503],[.4213,-.4213],[.5503,-.2277],[.5955000000000004,0],[0,0],[0,0],[0,0]]}}},{ty:"fl",c:{a:0,k:[1,1,1],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[132,76],ix:2},a:{a:0,k:[132,76],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:401,st:0,bm:0},{ddd:0,refId:"40",w:445,h:349,ind:101,ty:0,nm:"bg",sr:1,ks:{p:{a:0,k:[-92,-97],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0,parent:98,ef:[{ty:25,nm:"Drop Shadow",mn:"ADBE Drop Shadow",ef:[{ty:2,nm:"Shadow Color",mn:"ADBE Drop Shadow-0001",v:{a:0,k:[0,0,0],ix:2}},{ty:0,nm:"Opacity",mn:"ADBE Drop Shadow-0002",v:{a:0,k:14.999999999999998,ix:2}},{ty:1,nm:"Direction",mn:"ADBE Drop Shadow-0003",v:{a:0,k:90,ix:2}},{ty:0,nm:"Distance",mn:"ADBE Drop Shadow-0004",v:{a:0,k:3.2528,ix:2}},{ty:0,nm:"Softness",mn:"ADBE Drop Shadow-0005",v:{a:0,k:24.396,ix:2}}],np:5,ix:0,en:1}]}]},{id:"38",layers:[{ddd:0,ind:102,ty:4,nm:"Group",sr:1,ks:{p:{a:0,k:[12,6],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"gr",nm:"Group",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[1,0],[22,0],[23,1],[23,10],[22,11],[1,11],[0,10],[0,1],[1,0],[1,0],[1,0]],i:[[0,0],[0,0],[0,-.5523],[0,0],[.5523,0],[0,0],[0,.5523],[0,0],[-.5523,0],[0,0],[0,0]],o:[[0,0],[.5522799999999997,0],[0,0],[0,.5522799999999997],[0,0],[-.55228,0],[0,0],[0,-.55228],[0,0],[0,0],[0,0]]}}},{ty:"st",c:{a:0,k:[.788235294117647,.788235294117647,.788235294117647],ix:2},o:{a:0,k:100,ix:2},w:{a:0,k:0,ix:2},lc:1,lj:1,ml:4},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:401,st:0,bm:0},{ddd:0,ind:103,ty:4,nm:"Rectangle",sr:1,ks:{p:{a:0,k:[12,6],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"gr",nm:"Rectangle",it:[{ty:"rc",d:1,s:{a:0,k:[46,22],ix:2},p:{a:0,k:[0,0],ix:2},r:{a:0,k:0,ix:2}},{ty:"fl",c:{a:0,k:[0,1,0],ix:2},o:{a:0,k:0,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[11.5,5.5],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:401,st:0,bm:0}]},{id:"39",layers:[{ddd:0,ind:104,ty:4,nm:"Group",sr:1,ks:{p:{a:0,k:[56,6],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"gr",nm:"Group",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[1,0],[111,0],[112,1],[112,10],[111,11],[1,11],[0,10],[0,1],[1,0],[1,0],[1,0]],i:[[0,0],[0,0],[0,-.5523],[0,0],[.5523,0],[0,0],[0,.5523],[0,0],[-.5523,0],[0,0],[0,0]],o:[[0,0],[.5522799999999961,0],[0,0],[0,.5522799999999997],[0,0],[-.55228,0],[0,0],[0,-.55228],[0,0],[0,0],[0,0]]}}},{ty:"st",c:{a:0,k:[.788235294117647,.788235294117647,.788235294117647],ix:2},o:{a:0,k:100,ix:2},w:{a:0,k:0,ix:2},lc:1,lj:1,ml:4},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:401,st:0,bm:0},{ddd:0,ind:105,ty:4,nm:"Rectangle",sr:1,ks:{p:{a:0,k:[56,6],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"gr",nm:"Rectangle",it:[{ty:"rc",d:1,s:{a:0,k:[224,22],ix:2},p:{a:0,k:[0,0],ix:2},r:{a:0,k:0,ix:2}},{ty:"fl",c:{a:0,k:[0,1,0],ix:2},o:{a:0,k:0,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[56,5.5],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:401,st:0,bm:0}]},{id:"40",layers:[{ddd:0,ind:101,ty:4,nm:"bg",sr:1,ks:{p:{a:0,k:[92,97],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"gr",it:[{ty:"gr",nm:"Group",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[259.6876,0],[261.338,.3282],[262.7369,1.2631],[263.6718,2.662],[264,4.3124],[264,147.6876],[263.6718,149.338],[262.7369,150.7369],[261.338,151.6718],[259.6876,152],[4.3124,152],[2.662,151.6718],[1.2631,150.7369],[.3282,149.338],[0,147.6876],[0,4.3124],[.3282,2.662],[1.2631,1.2631],[2.662,.3282],[4.3124,0],[259.6876,0],[259.6876,0],[259.6876,0]],i:[[0,0],[-.5503,-.2277],[-.4213,-.4213],[-.2277,-.5503],[0,-.5955],[0,-.5955],[.2277,-.5503],[.4213,-.4213],[.5503,-.2277],[.5955,0],[.5955,0],[.5503,.2277],[.4213,.4213],[.2277,.5503],[0,.5955],[0,.5955],[-.2277,.5503],[-.4213,.4213],[-.5503,.2277],[-.5955,0],[-.5955,0],[0,0],[0,0]],o:[[.5955000000000155,0],[.5502999999999929,.22770000000000007],[.4212999999999738,.4213],[.2277000000000271,.5503],[0,.5955000000000004],[0,.595499999999987],[-.2277000000000271,.5502999999999929],[-.4212999999999738,.42130000000000223],[-.5502999999999929,.22769999999999868],[-.5955000000000155,0],[-.5954999999999999,0],[-.5503,-.22769999999999868],[-.4213,-.42130000000000223],[-.2277,-.5502999999999929],[0,-.595499999999987],[0,-.5954999999999999],[.22770000000000007,-.5503],[.4213,-.4213],[.5503,-.2277],[.5955000000000004,0],[0,0],[0,0],[0,0]]}}},{ty:"fl",c:{a:0,k:[0,0,0],ix:2},o:{a:0,k:1,ix:2},r:1,bm:0},{ty:"fl",c:{a:0,k:[1,1,1],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"Rectangle",it:[{ty:"rc",d:1,s:{a:0,k:[534,310],ix:2},p:{a:0,k:[0,0],ix:2},r:{a:0,k:0,ix:2}},{ty:"fl",c:{a:0,k:[0,1,0],ix:2},o:{a:0,k:0,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[133.5,77.5],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:401,st:0,bm:0},{ddd:0,ind:106,ty:4,nm:"bg Overscan",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"rc",d:1,s:{a:0,k:[445,349],ix:2},p:{a:0,k:[222.5,174.5],ix:2},r:{a:0,k:0,ix:2}},{ty:"fl",c:{a:0,k:[0,0,0],ix:2},o:{a:0,k:0,ix:2},r:1,bm:0}],ip:0,op:401,st:0,bm:0}]},{id:"33",layers:[{ddd:0,ind:107,ty:3,nm:"Illustration - Null",sr:1,ks:{p:{a:0,k:[61.50012969970703,353.9998779296875],ix:2},a:{a:0,k:[162.5000286102295,285.99987030029297],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0},{ddd:0,ind:108,ty:3,nm:"hand1 - Null",sr:1,ks:{p:{a:1,k:[{t:89,s:[229,284.5],i:{x:[.15],y:[1]},o:{x:[.5],y:[.35]}},{t:182,s:[229,174.5],i:{x:[.15],y:[1]},o:{x:[.5],y:[.35]}},{t:330,s:[229,174.5],i:{x:[.15],y:[1]},o:{x:[.5],y:[.35]}},{t:399,s:[229,284.5],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}}],ix:2},a:{a:0,k:[228.5,146.5],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0,parent:107},{ddd:0,ind:109,ty:3,nm:"",sr:1,ks:{p:{a:0,k:[162.00003051757812,147.9998779296875],ix:2},a:{a:0,k:[151.00002992549526,129.99987370605595],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0,parent:108},{ddd:0,refId:"41",w:207,h:283,ind:110,ty:0,nm:"Vector - Stroke (Masked Group)",sr:1,ks:{p:{a:0,k:[96,-1],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0,parent:109},{ddd:0,ind:111,ty:4,nm:"Vector",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,parent:108,shapes:[{ty:"gr",nm:"Vector",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[301.9984,11.4149],[279.2311,5.3789],[239.738,-1e-4],[107.6056,43.4686],[86.0897,61.5696],[24.0815,149.9868],[4.7391,248.6081],[96.8824,231.3967],[130.8372,228.3294],[214.3247,211.8692],[245.7935,204.5438],[278.7772,198.2001],[186.7785,177.9015],[149.2469,134.391],[153.9453,82.6959],[182.7429,42.3551],[301.9983,11.4001],[301.9984,11.4149],[301.9984,11.4149]],i:[[0,0],[6.506,.564],[13.8244,2.1096],[81.775,-29.4187],[4.8081,-8.3875],[25.358,-27.0672],[-4.7568,-16.3941],[-16.3931,1.238],[-8.6576,3.3184],[-35.3329,0],[0,0],[0,4.7249],[20.0742,2.139],[8.5258,19.9909],[-10.0554,15.3833],[-11.7825,14.6361],[-1.6027,51.4754],[0,0],[0,0]],o:[[.19027999999997292,-6.05808],[-24.33563000000001,-2.10984],[-92.72325999999998,2.04378],[-9.096689999999995,3.2744399999999985],[-17.783550000000005,31.052240000000005],[-32.88128,30.129130000000004],[13.53895,32.96416000000002],[9.286960000000008,-.336970000000008],[41.04118,-21.46332000000001],[6.784089999999992,0],[16.217420000000004,.01464999999998895],[0,-31.975240000000014],[-21.91109,.17581000000001268],[-7.215869999999995,-16.906949999999995],[8.416079999999994,-12.870670000000004],[28.38781,-26.45923],[0,0],[0,0],[0,0]]}}},{ty:"gf",o:{a:0,k:50,ix:2},r:1,bm:0,g:{p:2,k:{a:0,k:[0,1,1,1,1,1,1,1,0,1,1,0],ix:2}},s:{a:0,k:[143.4999968425325,126.49999495333381],ix:2},e:{a:0,k:[102.49999970785025,144.49999793397183],ix:2},t:1},{ty:"tr",p:{a:0,k:[162.00003051757812,147.9998779296875],ix:2},a:{a:0,k:[151.00003302784668,129.9998812313436],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:401,st:0,bm:0}]},{id:"42",layers:[{ddd:0,ind:112,ty:4,nm:"Group",sr:1,ks:{p:{a:0,k:[-96,1],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"gr",nm:"Group",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[301.9984,11.4149],[279.2311,5.3789],[239.738,-1e-4],[107.6056,43.4686],[86.0897,61.5696],[24.0815,149.9868],[4.7391,248.6081],[96.8824,231.3967],[130.8372,228.3294],[214.3247,211.8692],[245.7935,204.5438],[278.7772,198.2001],[186.7785,177.9015],[149.2469,134.391],[153.9453,82.6959],[182.7429,42.3551],[301.9983,11.4001],[301.9984,11.4149],[301.9984,11.4149]],i:[[0,0],[6.506,.564],[13.8244,2.1096],[81.775,-29.4187],[4.8081,-8.3875],[25.358,-27.0672],[-4.7568,-16.3941],[-16.3931,1.238],[-8.6576,3.3184],[-35.3329,0],[0,0],[0,4.7249],[20.0742,2.139],[8.5258,19.9909],[-10.0554,15.3833],[-11.7825,14.6361],[-1.6027,51.4754],[0,0],[0,0]],o:[[.19027999999997292,-6.05808],[-24.33563000000001,-2.10984],[-92.72325999999998,2.04378],[-9.096689999999995,3.2744399999999985],[-17.783550000000005,31.052240000000005],[-32.88128,30.129130000000004],[13.53895,32.96416000000002],[9.286960000000008,-.336970000000008],[41.04118,-21.46332000000001],[6.784089999999992,0],[16.217420000000004,.01464999999998895],[0,-31.975240000000014],[-21.91109,.17581000000001268],[-7.215869999999995,-16.906949999999995],[8.416079999999994,-12.870670000000004],[28.38781,-26.45923],[0,0],[0,0],[0,0]]}}},{ty:"gs",o:{a:0,k:50,ix:2},bm:0,g:{p:2,k:{a:0,k:[0,1,1,1,1,1,1,1,0,1,1,0],ix:2}},s:{a:0,k:[155.46853221189815,118.79517117942156],ix:2},e:{a:0,k:[112.00000254909276,146.50000578546127],ix:2},t:1,w:{a:0,k:4,ix:2},lc:1,lj:1,ml:4},{ty:"tr",p:{a:0,k:[151.00003051757812,129.9998779296875],ix:2},a:{a:0,k:[151.00003302784668,129.9998812313436],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:401,st:0,bm:0},{ddd:0,ind:113,ty:4,nm:"Rectangle",sr:1,ks:{p:{a:0,k:[-96,1],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"gr",nm:"Rectangle",it:[{ty:"rc",d:1,s:{a:0,k:[608,524],ix:2},p:{a:0,k:[0,0],ix:2},r:{a:0,k:0,ix:2}},{ty:"fl",c:{a:0,k:[0,1,0],ix:2},o:{a:0,k:0,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[152,131],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:401,st:0,bm:0},{ddd:0,ind:114,ty:4,nm:"Mask - box",sr:1,ks:{p:{a:0,k:[-96,1],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"rc",d:1,s:{a:0,k:[207,283],ix:2},p:{a:0,k:[199.5,140.5],ix:2},r:{a:0,k:0,ix:2}},{ty:"fl",c:{a:0,k:[0,0,0],ix:2},o:{a:0,k:0,ix:2},r:1,bm:0}],ip:0,op:401,st:0,bm:0}]},{id:"41",layers:[{ddd:0,ind:115,ty:4,nm:"Mask",sr:1,ks:{p:{a:0,k:[-96,1],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},td:1,ao:0,shapes:[{ty:"gr",nm:"Mask",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[301.9984,11.4149],[279.2311,5.3789],[239.738,-1e-4],[107.6056,43.4686],[86.0897,61.5696],[24.0815,149.9868],[4.7391,248.6081],[96.8824,231.3967],[130.8372,228.3294],[214.3247,211.8692],[245.7935,204.5438],[278.7772,198.2001],[186.7785,177.9015],[149.2469,134.391],[153.9453,82.6959],[182.7429,42.3551],[301.9983,11.4001],[301.9984,11.4149],[301.9984,11.4149]],i:[[0,0],[6.506,.564],[13.8244,2.1096],[81.775,-29.4187],[4.8081,-8.3875],[25.358,-27.0672],[-4.7568,-16.3941],[-16.3931,1.238],[-8.6576,3.3184],[-35.3329,0],[0,0],[0,4.7249],[20.0742,2.139],[8.5258,19.9909],[-10.0554,15.3833],[-11.7825,14.6361],[-1.6027,51.4754],[0,0],[0,0]],o:[[.19027999999997292,-6.05808],[-24.33563000000001,-2.10984],[-92.72325999999998,2.04378],[-9.096689999999995,3.2744399999999985],[-17.783550000000005,31.052240000000005],[-32.88128,30.129130000000004],[13.53895,32.96416000000002],[9.286960000000008,-.336970000000008],[41.04118,-21.46332000000001],[6.784089999999992,0],[16.217420000000004,.01464999999998895],[0,-31.975240000000014],[-21.91109,.17581000000001268],[-7.215869999999995,-16.906949999999995],[8.416079999999994,-12.870670000000004],[28.38781,-26.45923],[0,0],[0,0],[0,0]]}}},{ty:"fl",c:{a:0,k:[0,0,0],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:401,st:0,bm:0},{ddd:0,refId:"42",w:207,h:283,ind:110,ty:0,nm:"Vector - Stroke (Masked Group)",sr:1,ks:{p:{a:0,k:[199.5,140.5],ix:2},a:{a:0,k:[199.5,140.5],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0,tt:1}]}],layers$3=[{ddd:0,refId:"0",w:421,h:433,ind:116,ty:0,nm:"id-scan-tuto",sr:1,ks:{p:{a:0,k:[-11.130913734436035,-16.52492904663086],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0}],markers$3=[],tutorialAnimationJson$1={v:v$3,fr:fr$3,ip:ip$3,op:op$3,w:w$3,h:h$4,nm:nm$3,ddd:ddd$3,metadata:metadata$3,assets:assets$3,layers:layers$3,markers:markers$3},IdTutorial=({onContinue:Be})=>{const{t:Le}=useTranslation$1(),{uiConfig:Ye}=useCaptureIdState();return jsxRuntimeExports.jsx(BaseTutorial,{title:Le("idv2.tutorial.title"),subtitle:Le("idv2.tutorial.subtitle"),animationData:tutorialAnimationJson$1,onContinue:Be,uiConfig:Ye,onClose:()=>idFlowManager.onClose()})},v$2="5.7.5",fr$2=100,ip$2=0,op$2=300,w$2=400,h$3=400,nm$2="Comp 1",ddd$2=0,metadata$2={},assets$2=[{id:"0",layers:[{ddd:0,refId:"1",w:421,h:433,ind:1,ty:0,nm:"mask",sr:1,ks:{p:{a:0,k:[-8,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:301,st:0,bm:0},{ddd:0,ind:2,ty:4,nm:"mask - box",sr:1,ks:{p:{a:0,k:[-8,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"rc",d:1,s:{a:0,k:[401,396],ix:2},p:{a:0,k:[208.5,198],ix:2},r:{a:0,k:0,ix:2}},{ty:"fl",c:{a:0,k:[0,0,0],ix:2},o:{a:0,k:0,ix:2},r:1,bm:0}],ip:0,op:301,st:0,bm:0}]},{id:"2",layers:[{ddd:0,refId:"3",w:421,h:433,ind:3,ty:0,nm:"mask",sr:1,ks:{p:{a:0,k:[-8,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:301,st:0,bm:0,td:1},{ddd:0,refId:"0",w:401,h:396,ind:4,ty:0,nm:"mask (Masked)",sr:1,ks:{p:{a:0,k:[208.5,198],ix:2},a:{a:0,k:[208.5,198],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:301,st:0,bm:0,tt:1}]},{id:"1",layers:[{ddd:0,ind:5,ty:3,nm:"",sr:1,ks:{p:{a:0,k:[213.5,226.00009155273438],ix:2},a:{a:0,k:[124.5,94],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:301,st:0,bm:0},{ddd:0,refId:"4",w:405,h:359,ind:6,ty:0,nm:"base - Null",sr:1,ks:{p:{a:0,k:[-83,-95],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:301,st:0,bm:0,parent:5}]},{id:"5",layers:[{ddd:0,ind:7,ty:4,nm:"Group",sr:1,ks:{p:{a:0,k:[83,95],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"gr",nm:"Group",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[13,0],[233,0],[246,13],[246,172],[233,185],[13,185],[0,172],[0,13],[13,0],[13,0],[13,0]],i:[[0,0],[0,0],[0,-7.1797],[0,0],[7.1797,0],[0,0],[0,7.1797],[0,0],[-7.1797,0],[0,0],[0,0]],o:[[0,0],[7.179699999999997,0],[0,0],[0,7.179699999999997],[0,0],[-7.1797,0],[0,0],[0,-7.1797],[0,0],[0,0],[0,0]]}}},{ty:"st",c:{a:0,k:[1,1,1],ix:2},o:{a:0,k:100,ix:2},w:{a:0,k:6,ix:2},lc:1,lj:1,ml:4},{ty:"tr",p:{a:0,k:[123,92.5],ix:2},a:{a:0,k:[123,92.5],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:301,st:0,bm:0},{ddd:0,ind:8,ty:4,nm:"Rectangle",sr:1,ks:{p:{a:0,k:[83,95],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"gr",nm:"Rectangle",it:[{ty:"rc",d:1,s:{a:0,k:[498,376],ix:2},p:{a:0,k:[0,0],ix:2},r:{a:0,k:0,ix:2}},{ty:"fl",c:{a:0,k:[0,1,0],ix:2},o:{a:0,k:0,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[124.5,94],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:301,st:0,bm:0},{ddd:0,ind:9,ty:4,nm:"Mask - box",sr:1,ks:{p:{a:0,k:[83,95],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"rc",d:1,s:{a:0,k:[247,185],ix:2},p:{a:0,k:[123.5,92.5],ix:2},r:{a:0,k:0,ix:2}},{ty:"fl",c:{a:0,k:[0,0,0],ix:2},o:{a:0,k:0,ix:2},r:1,bm:0}],ip:0,op:301,st:0,bm:0}]},{id:"4",layers:[{ddd:0,ind:10,ty:4,nm:"Mask",sr:1,ks:{p:{a:0,k:[83,95],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},td:1,ao:0,shapes:[{ty:"gr",nm:"Mask",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[13,0],[233,0],[246,13],[246,172],[233,185],[13,185],[0,172],[0,13],[13,0],[13,0],[13,0]],i:[[0,0],[0,0],[0,-7.1797],[0,0],[7.1797,0],[0,0],[0,7.1797],[0,0],[-7.1797,0],[0,0],[0,0]],o:[[0,0],[7.179699999999997,0],[0,0],[0,7.179699999999997],[0,0],[-7.1797,0],[0,0],[0,-7.1797],[0,0],[0,0],[0,0]]}}},{ty:"fl",c:{a:0,k:[0,0,0],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:301,st:0,bm:0},{ddd:0,refId:"5",w:405,h:359,ind:6,ty:0,nm:"base - Null",sr:1,ks:{p:{a:0,k:[119.5,84.5],ix:2},a:{a:0,k:[119.5,84.5],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:301,st:0,bm:0,tt:2}]},{id:"3",layers:[{ddd:0,ind:11,ty:3,nm:"",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:301,st:0,bm:0},{ddd:0,refId:"6",w:404,h:396,ind:12,ty:0,nm:"mask - Layer Mask (Masked)",sr:1,ks:{p:{a:0,k:[7,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:301,st:0,bm:0,parent:11}]},{id:"7",layers:[{ddd:0,ind:13,ty:3,nm:"shine - Null",sr:1,ks:{p:{a:0,k:[84,312],ix:2},a:{a:0,k:[53,53],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:301,st:0,bm:0},{ddd:0,refId:"8",w:348,h:283,ind:14,ty:0,nm:"mask - Null",sr:1,ks:{p:{a:0,k:[0,-175],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:0,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:301,st:0,bm:0,hd:!0,parent:13},{ddd:0,ind:15,ty:4,nm:"shine - box",sr:1,ks:{p:{a:0,k:[-7,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"rc",d:1,s:{a:0,k:[404,396],ix:2},p:{a:0,k:[209,198],ix:2},r:{a:0,k:0,ix:2}},{ty:"fl",c:{a:0,k:[0,0,0],ix:2},o:{a:0,k:0,ix:2},r:1,bm:0}],ip:0,op:301,st:0,bm:0}]},{id:"6",layers:[{ddd:0,refId:"9",w:421,h:433,ind:16,ty:0,nm:"shine",sr:1,ks:{p:{a:0,k:[-7,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:301,st:0,bm:0,td:1},{ddd:0,refId:"7",w:404,h:396,ind:12,ty:0,nm:"mask - Layer Mask (Masked)",sr:1,ks:{p:{a:0,k:[209,198],ix:2},a:{a:0,k:[209,198],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:301,st:0,bm:0,tt:1}]},{id:"8",layers:[{ddd:0,ind:17,ty:3,nm:"",sr:1,ks:{p:{a:0,k:[0,175],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:301,st:0,bm:0,hd:!0},{ddd:0,ind:18,ty:4,nm:"mask - Null: 0:0: rg-shape-mask",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},td:1,ao:0,hd:!0,parent:17,shapes:[{ty:"gr",nm:"mask - Null",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[106,53],[53,106],[0,53],[53,0],[106,53],[106,53],[106,53]],i:[[0,0],[29.2719,0],[0,29.2719],[-29.2719,0],[0,-29.2719],[0,0],[0,0]],o:[[0,29.271900000000002],[-29.2719,0],[0,-29.2719],[29.271900000000002,0],[0,0],[0,0],[0,0]]}}},{ty:"fl",c:{a:0,k:[0,0,0],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:1,k:[{t:0,s:[0,0],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}},{t:74,s:[0,-175],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}},{t:179,s:[242,-175],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}},{t:254,s:[242,2],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}},{t:300,s:[0,2],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}}],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:301,st:0,bm:0},{ddd:0,refId:"10",w:348,h:283,ind:19,ty:0,nm:"mask - Null: 0:0: rg-precomp",sr:1,ks:{p:{a:0,k:[0,-175],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:301,st:0,bm:0,parent:17,tt:1}]},{id:"10",layers:[{ddd:0,ind:20,ty:3,nm:"",sr:1,ks:{p:{a:0,k:[0,175],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:301,st:0,bm:0},{ddd:0,ind:21,ty:4,nm:"mask - Null: 0:0: rg-foreground",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,hd:!0,parent:20,shapes:[{ty:"gr",it:[{ty:"gr",it:[{ty:"gr",it:[{ty:"rc",d:1,s:{a:0,k:[1054.5482445104144,1054.5482445104144],ix:2},p:{a:0,k:[53.00000000000057,52.99999999999975],ix:2},r:{a:0,k:0,ix:2}},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gf",o:{a:0,k:100,ix:2},r:1,bm:0,g:{p:2,k:{a:0,k:[0,1,1,1,1,1,1,1,0,1,1,0],ix:2}},s:{a:0,k:[53.00000000000057,52.99999999999975],ix:2},e:{a:0,k:[100.27027011797203,52.99999999999953],ix:2},t:2},{ty:"tr",p:{a:0,k:[53.00000000000057,52.99999999999975],ix:2},a:{a:0,k:[53.00000000000057,52.99999999999975],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"tr",p:{a:1,k:[{t:0,s:[0,0],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}},{t:74,s:[0,-175],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}},{t:179,s:[242,-175],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}},{t:254,s:[242,2],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}},{t:300,s:[0,2],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}}],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:301,st:0,bm:0},{ddd:0,ind:22,ty:4,nm:"mask - Null: 0:0: rg-background",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,hd:!0,parent:20,shapes:[{ty:"gr",it:[{ty:"rc",d:1,s:{a:0,k:[348,283],ix:2},p:{a:0,k:[174,-33.5],ix:2},r:{a:0,k:0,ix:2}},{ty:"gf",o:{a:0,k:100,ix:2},r:1,bm:0,g:{p:1,k:{a:0,k:[0,1,1,1,0,0],ix:2}},s:{a:0,k:[0,0],ix:2},e:{a:0,k:[0,0],ix:2},t:2},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:0,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:301,st:0,bm:0}]},{id:"9",layers:[{ddd:0,ind:23,ty:4,nm:"pass_tuto - Shape Mask",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"gr",nm:"pass_tuto - Shape Mask",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[.01,0],[420.99,0],[421,.01],[421,432.99],[420.99,433],[.01,433],[0,432.99],[0,.01],[.01,0],[.01,0],[.01,0]],i:[[0,0],[0,0],[0,-.0055],[0,0],[.0055,0],[0,0],[0,.0055],[0,0],[-.0055,0],[0,0],[0,0]],o:[[0,0],[.005519999999989977,0],[0,0],[0,.005519999999989977],[0,0],[-.00552,0],[0,0],[0,-.00552],[0,0],[0,0],[0,0]]}}},{ty:"fl",c:{a:0,k:[0,1,0],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[210.5,216.5],ix:2},a:{a:0,k:[210.5,216.5],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:301,st:0,bm:0}]},{id:"11",layers:[{ddd:0,refId:"12",w:421,h:433,ind:24,ty:0,nm:"hand_front",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:301,st:0,bm:0},{ddd:0,refId:"13",w:421,h:433,ind:25,ty:0,nm:"passport",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:301,st:0,bm:0},{ddd:0,refId:"14",w:421,h:433,ind:26,ty:0,nm:"hand_back",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:301,st:0,bm:0}]},{id:"12",layers:[{ddd:0,ind:27,ty:4,nm:"hand1 - Null",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"gr",it:[{ty:"gr",it:[{ty:"gr",it:[{ty:"gr",nm:"outfin",it:[{ty:"gr",nm:"Path",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[112.9048,258.9752],[112.9048,258.9752],[112.8615,259.0551],[88.5097,280.5016],[57.1551,281.1262],[1.7543,250.6661],[24.9888,212.3538],[26.3332,210.9741],[53.1815,170.8262],[53.1985,170.7677],[53.2111,170.7081],[54.507,166.9917],[57.425,159.8505],[66.0075,140.0671],[78.1645,112.8514],[80.3285,108.0316],[86.5365,77.6795],[92.8107,51.4565],[106.4115,18.9401],[121.374,3.2387],[136.2625,3.1617],[145.2515,11.8597],[146.576,23.1304],[146.7201,28.1156],[144.1729,61.6318],[140.8152,73.239],[140.6301,73.7831],[137.1194,85.4287],[130.8647,141.835],[130.8613,141.9036],[130.8637,141.9723],[125.3596,222.9787],[112.9566,258.9008],[112.9048,258.9752]],i:[[0,0],[0,0],[0,0],[9.570239999999998,-3.234039999999993],[10.921889999999998,2.4408000000000243],[12.3739,12.154360000000025],[-10.74051,11.038420000000002],[-.4495199999999997,.4609800000000064],[-5.217190000000002,17.964979999999997],[0,0],[0,0],[-.7577500000000015,1.9498299999999915],[-1.1818999999999988,2.8076599999999985],[-3.141120000000001,7.11126999999999],[-2.7938199999999966,6.211259999999996],[-.4039599999999979,.9068900000000042],[-.3845699999999965,9.451319999999996],[-3.6988099999999946,11.519930000000002],[-5.0313699999999955,8.63111],[-4.901740000000004,2.2442299999999995],[-5.107439999999997,-1.93114],[-1.2673800000000028,-3.5141299999999998],[0,-3.62951],[-.07631000000000654,-1.8675299999999986],[3.302120000000002,-15.039279999999998],[1.198520000000002,-3.527060000000006],[.06183999999998946,-.18179000000000656],[1.1650999999999954,-4.750780000000006],[1.5187099999999987,-31.04388],[0,0],[0,0],[3.940249999999992,-19.325410000000005],[3.352009999999993,-4.809339999999992],[0,0]],o:[[0,0],[0,0],[-6.2795,11.5357],[-9.6121,3.2482],[-21.5329,-4.8121],[2.7559,-16.6951],[.4466,-.459],[10.4876,-10.7552],[0,0],[0,0],[.1091,-.5159],[.7371,-1.8967],[2.363,-5.6133],[4.6209,-10.4613],[1.0064,-2.2375],[3.1443,-7.059],[.1795,-4.4117],[3.6828,-11.47],[5.0279,-8.6253],[4.8445,-2.2181],[5.2159,1.9722],[1.3089,3.6294],[0,1.4594],[.3079,7.5349],[-1.0224,4.6563],[-.0615,.181],[-1.1457,3.3678],[-2.4543,10.0076],[0,0],[0,0],[1.2095,34.869],[-3.9508,19.3773],[0,0],[0,0]]}}},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"Path",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[0,251.2406],[114.3051,259.8406],[132.5065,141.9153],[142.1888,74.3049],[145.7783,61.9841],[148.3617,27.9906],[148.2197,23.1302],[136.8438,1.6241],[104.9914,18.1121],[84.8941,77.6124],[78.827,107.3625],[76.6729,112.1603],[51.603,170.3674],[25.0992,209.8847],[1e-4,251.2405],[0,251.2406],[0,251.2406]],i:[[0,0],[-25.8688,47.522],[2.4268,69.9666],[-3.5593,10.4629],[-1.0955,4.9893],[.3095,7.5276],[0,1.4059],[11.3759,4.3013],[10.2383,-17.5633],[.3792,-9.3193],[3.0336,-6.8103],[1.003,-2.23],[.9873,-4.6662],[10.5212,-10.7923],[2.7586,-18.4396],[0,0],[0,0]],o:[[24.9196,24.983059999999995],[7.078310000000002,-10.155669999999986],[2.236850000000004,-45.723510000000005],[1.2677500000000066,-3.7266800000000018],[3.35311999999999,-15.271500000000003],[-.07550000000000523,-1.8364000000000011],[0,-7.168710000000001],[-10.845920000000007,-4.10089],[-10.23827,17.56334],[-.3791999999999973,9.319329999999994],[-.400810000000007,.899799999999999],[-6.588570000000004,14.647829999999999],[-5.100189999999998,17.562090000000012],[-11.38163,11.674939999999992],[0,0],[0,0],[0,0]]}}},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gf",o:{a:0,k:100,ix:2},r:1,bm:0,g:{p:2,k:{a:0,k:[0,1,1,1,1,1,1,1,0,1,1,0],ix:2}},s:{a:0,k:[125.61789013864056,31.91316933424655],ix:2},e:{a:0,k:[82.59085949175984,163.02350852887437],ix:2},t:1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"tr",p:{a:0,k:[168.50730895996094,135.846923828125],ix:2},a:{a:0,k:[74.28761291503906,142.2969135528915],ix:2},s:{a:0,k:[99.99000036493139,99.99999992123514],ix:2},r:{a:0,k:64.9597997500858,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"vecfin",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[132.5065,141.9153],[114.3051,259.8406],[0,251.2406],[51.603,170.3675],[78.827,107.3626],[84.8941,77.6125],[104.9914,18.1122],[136.8438,1.6242],[148.2197,23.1303],[145.7783,61.9843],[132.5065,141.9154],[132.5065,141.9153],[132.5065,141.9153]],i:[[0,0],[7.0783,-10.1557],[24.9196,24.9831],[-10.6175,36.5604],[-3.0336,6.8103],[-.3792,9.3193],[-10.2383,17.5633],[-10.8459,-4.1009],[0,-7.1687],[4.1712,-18.9971],[3.0336,-62.0094],[0,0],[0,0]],o:[[2.4268500000000017,69.96663000000001],[-25.86883999999999,47.52197000000001],[5.30873,-35.485119999999995],[1.1375799999999998,-5.376540000000006],[3.0335599999999943,-6.810280000000006],[.3791999999999973,-9.319320000000005],[10.23827,-17.56334],[11.375869999999992,4.30127],[0,7.168710000000001],[-4.171159999999986,18.997090000000007],[0,0],[0,0],[0,0]]}}},{ty:"gf",o:{a:0,k:80,ix:2},r:1,bm:0,g:{p:2,k:{a:0,k:[0,.984313725490196,.984313725490196,.984313725490196,1,1,1,1,0,1,1,0],ix:2}},s:{a:0,k:[118.3534812071005,78.18658571021054],ix:2},e:{a:0,k:[85.72714601784728,179.94006400739482],ix:2},t:1},{ty:"tr",p:{a:0,k:[168.50729370117188,135.84693908691406],ix:2},a:{a:0,k:[74.28762780180672,142.29695254625472],ix:2},s:{a:0,k:[99.99000036493139,99.99999992123514],ix:2},r:{a:0,k:64.9597997500858,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",it:[{ty:"gr",nm:"shadow1",it:[{ty:"gr",nm:"Path",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[3.1904,254.2407],[3.1904,254.2407],[3.1905,254.2407],[28.2896,212.8849],[54.7934,173.3676],[79.8633,115.1605],[82.0174,110.3627],[88.0845,80.6126],[108.1818,21.1123],[140.0342,4.6243],[151.4101,26.1304],[151.5521,30.9908],[148.9687,64.9843],[145.3792,77.3051],[135.6969,144.9155],[117.4955,262.8408],[3.1904,254.2407]],i:[[0,0],[0,0],[0,0],[-11.381630000000001,11.674939999999992],[-5.100189999999998,17.562090000000012],[-6.588570000000004,14.647830000000013],[-.400810000000007,.899799999999999],[-.3791999999999973,9.319329999999994],[-10.23827,17.56334],[-10.845920000000007,-4.10089],[0,-7.168710000000001],[-.07550000000000523,-1.8364000000000011],[3.35311999999999,-15.271500000000003],[1.2677500000000066,-3.7266800000000018],[2.236850000000004,-45.723510000000005],[7.078310000000002,-10.155669999999986],[24.9196,24.983060000000023]],o:[[0,0],[0,0],[2.7586,-18.4396],[10.5212,-10.7923],[.9873,-4.6662],[1.003,-2.23],[3.0336,-6.8103],[.3792,-9.3193],[10.2383,-17.5633],[11.3759,4.3013],[0,1.4059],[.3095,7.5276],[-1.0955,4.9893],[-3.5593,10.4629],[2.4268,69.9666],[-25.8688,47.522],[0,0]]}}},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"Path",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[51.8864,172.6201],[26.0262,210.9085],[24.8509,212.1152],[.2233,253.7967],[-1e-4,255.2901],[1.0663,256.3592],[59.3326,288.6577],[93.1866,287.9005],[120.0527,264.4171],[133.1001,226.9063],[138.6994,144.9368],[144.8199,89.5346],[148.2246,78.2559],[148.4024,77.7329],[151.8989,65.6275],[154.5484,30.764],[154.4101,26.1302],[154.4101,25.9531],[152.8102,13.284],[141.0953,1.8179],[122.6314,2.0162],[105.5901,19.6012],[91.5797,53.0366],[85.0871,80.4904],[79.2771,109.1418],[77.1402,113.9011],[64.9503,141.1904],[56.3356,161.0484],[53.3692,168.3091],[51.8866,172.6199],[51.8864,172.6201],[51.8864,172.6201]],i:[[0,0],[10.5734,-10.8506],[.3918,-.4027],[2.8108,-18.7881],[0,0],[0,0],[-22.8631,-5.1093],[-10.6568,3.6012],[-6.8035,12.4244],[-3.969,19.4665],[1.2097,35.131],[-2.3468,9.5692],[-1.1462,3.3696],[-.0593,.1745],[-1.08,4.919],[.3123,7.5058],[0,1.3105],[0,0],[1.6011,4.4393],[6.5494,2.4764],[6.2092,-2.8429],[5.2856,-9.0672],[3.7234,-11.5964],[.208,-5.1123],[2.8314,-6.3563],[.9972,-2.217],[4.6291,-10.48],[2.3789,-5.6511],[.7598,-1.9551],[.2248,-.9699],[0,0],[0,0]],o:[[-4.897840000000002,16.776600000000002],[-.3916000000000004,.4018599999999992],[-10.901,11.20335],[0,0],[0,0],[12.80197,12.83456000000001],[11.464250000000007,2.5620099999999866],[10.692409999999995,-3.6132499999999936],[3.871139999999997,-5.634479999999996],[4.016449999999992,-19.699250000000006],[1.5132800000000088,-30.848569999999995],[1.1157399999999882,-4.549490000000006],[.05928000000000111,-.17426000000000386],[1.2105099999999993,-3.562349999999995],[3.446840000000009,-15.69827],[-.0739900000000091,-1.7782699999999991],[0,0],[.00046000000000390173,-3.4865600000000008],[-1.7041499999999985,-4.725150000000001],[-5.998860000000008,-2.26819],[-6.104799999999997,2.7950499999999994],[-5.279330000000002,9.056469999999997],[-3.694100000000006,11.505270000000003],[-.36938999999999567,9.078419999999994],[-.3951600000000042,.8871299999999991],[-2.790859999999995,6.204719999999995],[-3.1444600000000023,7.1188199999999995],[-1.1886500000000026,2.8237200000000087],[-.6912499999999966,1.778729999999996],[0,0],[0,0],[0,0]]}}},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gf",o:{a:0,k:5,ix:2},r:1,bm:0,g:{p:2,k:{a:0,k:[0,0,0,0,1,0,0,0,0,1,1,0],ix:2}},s:{a:0,k:[120.75980178161183,76.95763435115455],ix:2},e:{a:0,k:[87.9815360838282,181.3994301047462],ix:2},t:1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"tr",p:{a:0,k:[168.4676513671875,135.76080322265625],ix:2},a:{a:0,k:[77.38334233398564,145.2967801217892],ix:2},s:{a:0,k:[99.99000036493139,99.99999992123514],ix:2},r:{a:0,k:64.9597997500858,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",it:[{ty:"gr",nm:"shadow2",it:[{ty:"gr",nm:"Path",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!1,v:[[3.1904,258.2902],[3.4138,256.7968],[3.4201,256.7551],[14.5645,230.4342],[28.0414,215.1153],[28.7108,214.4278],[29.2167,213.9086]],i:[[0,0],[0,0],[-.0021,.0139],[-5.3344,7.2982],[-4.7075,4.8381],[-.2231,.229],[-.1686,.173]],o:[[0,0],[.0020799999999998597,-.013919999999984611],[1.60087,-10.649169999999998],[4.059109999999999,-5.552030000000002],[.22314000000000078,-.2293200000000013],[.16865999999999914,-.17312999999998624],[0,0]]}}},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"Path",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!1,v:[[28.0414,215.1153],[25.8913,213.0232],[27.0681,211.8149],[52.1757,174.8524],[53.7632,170.2227],[56.7608,162.8847],[65.3963,142.9785],[77.5942,115.6714],[79.7269,110.9213],[85.2798,83.3686],[91.9136,55.1197],[106.1886,21.0906],[124.5728,2.2888],[145.3466,2.012],[158.8226,15.2664],[160.6005,28.8111],[160.6004,29.1304],[160.7361,33.6395],[160.7366,33.6503],[158.0195,69.2711],[154.4333,81.6982],[154.2551,82.2222],[150.9239,93.2494],[144.8923,147.9592],[139.23,230.5059],[125.8026,268.989],[97.3374,293.7429],[61.8687,294.5858],[2.1326,261.4781],[4.2566,259.3595],[62.5229,291.6581],[96.3769,290.9009],[122.0138,269.5623],[123.243,267.4175],[136.2904,229.9067],[142.0678,154.3163],[141.8896,147.9371],[142.7862,132.605],[144.5283,113.1838],[146.1651,101.5357],[148.0101,92.5349],[151.4148,81.2562],[151.4196,81.2422],[151.5927,80.7332],[154.8755,69.5778],[155.0893,68.6278],[157.9471,43.9071],[157.7387,33.7644],[157.6004,29.1306],[157.6004,28.9535],[156.0005,16.2844],[144.2856,4.8183],[125.8217,5.0166],[108.7804,22.6016],[94.77,56.037],[88.2774,83.4908],[82.4674,112.1422],[80.3305,116.9015],[80.3165,116.9327],[68.7179,142.8849],[68.1406,144.1909],[65.6706,149.803],[60.1461,162.5807],[59.5258,164.0488],[58.6203,166.2136],[56.7582,170.801],[56.5595,171.3095]],i:[[0,0],[0,0],[-.3915,.4017],[-4.6707,15.9269],[-.6599,1.6982],[-1.193,2.8341],[-3.1466,7.1237],[-2.7906,6.2042],[-.3923,.8807],[-.3596,8.8375],[-3.6913,11.4965],[-5.4395,9.3312],[-6.8822,3.151],[-6.5734,-2.4854],[-1.9861,-5.507],[8e-4,-3.4287],[0,0],[-.0748,-1.7981],[0,0],[3.5302,-16.078],[1.2183,-3.5853],[0,0],[1.0819,-4.4113],[1.5097,-30.692],[4.0639,-19.932],[4.188,-6.166],[11.4022,-3.8531],[11.8145,2.6403],[13.1441,13.1775],[0,0],[-22.8631,-5.1094],[-10.6568,3.6012],[-6.6832,11.1438],[-.4009,.7321],[-3.969,19.4665],[.6841,32.0556],[.0743,2.1565],[-.321,4.6287],[-.6262,5.4077],[-.5666,3.3175],[-.6253,2.5499],[-1.1462,3.3696],[0,0],[-.0577,.1697],[-1.0243,4.4435],[-.0707,.3221],[-.0822,6.6362],[.1166,2.8035],[0,1.3105],[0,0],[1.6011,4.4393],[6.5494,2.4764],[6.2092,-2.8428],[5.2856,-9.0672],[3.7234,-11.5964],[.208,-5.1123],[2.8314,-6.3563],[.9972,-2.217],[.0046,-.0101],[4.4428,-10.0431],[.1923,-.4353],[.8111,-1.8504],[1.625,-3.8328],[.2018,-.4794],[.2884,-.6944],[.5237,-1.3327],[.0644,-.1658]],o:[[0,0],[.3927200000000006,-.4036299999999926],[10.596809999999998,-10.874570000000006],[.2922500000000028,-1.2114100000000008],[.7744700000000009,-1.9928600000000074],[2.3891199999999984,-5.675479999999993],[4.633560000000003,-10.490039999999993],[.9986300000000057,-2.220179999999999],[2.629159999999999,-5.902370000000005],[.2264200000000045,-5.564610000000002],[3.749600000000001,-11.678109999999997],[5.451830000000001,-9.35239],[7.09187,-3.24697],[7.411300000000011,2.8022499999999995],[1.779910000000001,4.935169999999999],[0,0],[0,1.2346499999999985],[0,0],[.31514000000001374,7.57405],[-1.117289999999997,5.088579999999993],[0,0],[-1.1442299999999932,3.363900000000001],[-2.2763999999999953,9.282120000000006],[1.205900000000014,35.278760000000005],[-3.97505000000001,19.49609000000001],[-7.141620000000003,12.973880000000008],[-11.331789999999998,3.8293199999999956],[-23.498510000000003,-5.2513700000000085],[0,0],[12.801960000000001,12.834589999999992],[11.46425,2.5620099999999866],[10.06232,-3.4003299999999967],[.4184900000000056,-.697810000000004],[3.871139999999997,-5.634490000000028],[3.76991000000001,-18.490049999999997],[-.04473999999999023,-2.096360000000004],[.2753800000000126,-5.613630000000001],[.5294800000000066,-7.633709999999994],[.5213200000000029,-4.5021699999999925],[.6005700000000047,-3.5165700000000015],[1.1157399999999882,-4.549490000000006],[0,0],[.05768000000000484,-.16955000000000098],[1.1303299999999865,-3.3260599999999982],[.07177999999998974,-.3113599999999934],[2.1594200000000114,-9.834899999999998],[.049029999999987695,-3.9563699999999997],[-.0739900000000091,-1.7782699999999991],[0,0],[.00046000000000390173,-3.4865600000000008],[-1.7041499999999985,-4.725149999999999],[-5.998860000000008,-2.26819],[-6.104799999999997,2.79505],[-5.279330000000002,9.056470000000001],[-3.694100000000006,11.50526],[-.36938999999999567,9.078419999999994],[-.3951600000000042,.8871299999999991],[-.004549999999994725,.010109999999997399],[-2.676249999999996,5.949870000000004],[-.1925499999999971,.4352700000000027],[-.8314500000000038,1.8823500000000024],[-1.9971000000000032,4.555949999999996],[-.2116100000000003,.49909999999999854],[-.3147599999999997,.74772999999999],[-.7093599999999967,1.7080699999999922],[-.06804000000000343,.1731399999999894],[0,0]]}}},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"Path",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!1,v:[[55.0768,175.6202],[55.6808,173.6605],[55.9094,173.0252],[56.5587,171.3113]],i:[[0,0],[-.2706,.7681],[-.0798,.2177],[-.2335,.6008]],o:[[.11981000000000108,-.5174599999999998],[.07236000000000331,-.20544000000001006],[.19664999999999822,-.536910000000006],[0,0]]}}},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"Path",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!1,v:[[3.1904,258.2902],[4.2568,259.3593],[2.1328,261.478],[0,259.3398],[.4468,256.353],[25.8912,213.0232],[28.0413,215.1153]],i:[[0,0],[0,0],[0,0],[0,0],[0,0],[-10.8931,11.1952],[0,0]],o:[[0,0],[0,0],[0,0],[0,0],[2.9671,-19.83295000000001],[0,0],[0,0]]}}},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"Path",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!1,v:[[29.2167,213.9086],[3.1904,258.2902],[28.0414,215.1153],[56.5595,171.3094]],i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]]}}},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"Path",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!1,v:[[55.0768,175.6202],[56.5587,171.3113]],i:[[0,0],[0,0]],o:[[0,0],[0,0]]}}},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gf",o:{a:0,k:2,ix:2},r:1,bm:0,g:{p:2,k:{a:0,k:[0,0,0,0,1,0,0,0,0,1,1,0],ix:2}},s:{a:0,k:[126.89648259882857,31.115384654223394],ix:2},e:{a:0,k:[92.87022334742868,164.22232798959968],ix:2},t:1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"tr",p:{a:0,k:[168.42723083496094,135.67459106445312],ix:2},a:{a:0,k:[80.47865295410156,148.2970551777471],ix:2},s:{a:0,k:[99.99000036493139,99.99999992123514],ix:2},r:{a:0,k:64.9597997500858,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"tr",p:{a:0,k:[-14.2357,-133.6409],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"tr",p:{a:1,k:[{t:50,s:[127.5001,434.5],i:{x:[.15],y:[1]},o:{x:[.5],y:[.35]}},{t:146,s:[127.5,244.5],i:{x:[.15],y:[1]},o:{x:[.5],y:[.35]}},{t:229,s:[127.5,244.5],i:{x:[.15],y:[1]},o:{x:[.5],y:[.35]}},{t:300,s:[127.5001,434.5],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}}],ix:2},a:{a:0,k:[228.5,146.5],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:301,st:0,bm:0}]},{id:"13",layers:[{ddd:0,refId:"15",w:421,h:433,ind:28,ty:0,nm:"documents",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:301,st:0,bm:0},{ddd:0,ind:29,ty:4,nm:"hand1 - Null",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"gr",it:[{ty:"gr",it:[{ty:"gr",nm:"Rectangle 590 - Null",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[.01,0],[241.99,0],[242,.01],[242,3.99],[241.99,4],[.01,4],[0,3.99],[0,.01],[.01,0],[.01,0],[.01,0]],i:[[0,0],[0,0],[0,-.0055],[0,0],[.0055,0],[0,0],[0,.0055],[0,0],[-.0055,0],[0,0],[0,0]],o:[[0,0],[.005519999999989977,0],[0,0],[0,.005520000000000191],[0,0],[-.00552,0],[0,0],[0,-.00552],[0,0],[0,0],[0,0]]}}},{ty:"fl",c:{a:0,k:[.8941176470588236,.8941176470588236,.8941176470588236],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[121.28050231933594,172.39990234375],ix:2},a:{a:0,k:[121,2],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"Rectangle 502 - Null",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[7.1017,0],[173.99,0],[174,.01],[174,241.99],[173.99,242],[7.1017,242],[0,234.8983],[0,7.1017],[7.1017,0],[7.1017,0],[7.1017,0]],i:[[0,0],[0,0],[0,-.0055],[0,0],[.0055,0],[0,0],[0,3.9222],[0,0],[-3.9222,0],[0,0],[0,0]],o:[[0,0],[.005519999999989977,0],[0,0],[0,.005519999999989977],[0,0],[-3.92216,0],[0,0],[0,-3.92216],[0,0],[0,0],[0,0]]}}},{ty:"gf",o:{a:0,k:100,ix:2},r:1,bm:0,g:{p:2,k:{a:0,k:[0,.9882352941176471,.9882352941176471,.9882352941176471,1,1,1,1,0,0,1,1],ix:2}},s:{a:0,k:[69.63285939784592,121.00000395163823],ix:2},e:{a:0,k:[158.15770221297439,121.00000431059694],ix:2},t:1},{ty:"tr",p:{a:0,k:[121.28065490722656,87.40010833740234],ix:2},a:{a:0,k:[87,121],ix:2},s:{a:0,k:[100.0000000001523,100.00000000015233],ix:2},r:{a:0,k:89.99990000000297,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"tr",p:{a:0,k:[189.7195,-137.3998],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"tr",p:{a:1,k:[{t:50,s:[127.5001,434.5],i:{x:[.15],y:[1]},o:{x:[.5],y:[.35]}},{t:146,s:[127.5,244.5],i:{x:[.15],y:[1]},o:{x:[.5],y:[.35]}},{t:229,s:[127.5,244.5],i:{x:[.15],y:[1]},o:{x:[.5],y:[.35]}},{t:300,s:[127.5001,434.5],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}}],ix:2},a:{a:0,k:[228.5,146.5],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:301,st:0,bm:0}]},{id:"15",layers:[{ddd:0,ind:30,ty:3,nm:"",sr:1,ks:{p:{a:1,k:[{t:50,s:[127.5001,434.5],i:{x:[.15],y:[1]},o:{x:[.5],y:[.35]}},{t:146,s:[129,231],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}},{t:229,s:[129,231],i:{x:[.15],y:[1]},o:{x:[.5],y:[.35]}},{t:300,s:[127.5001,434.5],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}}],ix:2},a:{a:0,k:[26.5,34],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:301,st:0,bm:0},{ddd:0,refId:"16",w:54,h:69,ind:31,ty:0,nm:"avatar 1",sr:1,ks:{p:{a:0,k:[-1,-1],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:1,k:[{t:50,s:[0],i:{x:[.15],y:[1]},o:{x:[.5],y:[.35]}},{t:146,s:[100],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}},{t:229,s:[100],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}},{t:300,s:[0],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}}],ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:301,st:0,bm:0,parent:30},{ddd:0,ind:32,ty:4,nm:"hand1 - Null",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"gr",it:[{ty:"gr",it:[{ty:"gr",it:[{ty:"gr",nm:"Union",it:[{ty:"gr",nm:"Path",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[3.8396,.8147],[3.8396,.8147],[3.8396,13.6839],[4.6543,14.4986],[102.8451,14.4986],[103.6598,13.6839],[103.6598,.8147],[102.8451,0],[4.6543,0],[3.8396,.8147]],i:[[0,0],[0,0],[0,0],[-.4499500000000003,0],[0,0],[0,.4499499999999994],[0,0],[.44996000000000436,0],[0,0],[0,-.44995]],o:[[0,0],[0,0],[0,.4499],[0,0],[.45,0],[0,0],[0,-.45],[0,0],[-.45,0],[0,0]]}}},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"Path",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[.8147,128.5552],[0,129.3699],[0,137.4062],[.8147,138.2209],[214.1827,138.2209],[214.9974,137.4062],[214.9974,129.3699],[214.1827,128.5552],[.8147,128.5552],[.8147,128.5552]],i:[[0,0],[0,-.45],[0,0],[-.45,0],[0,0],[0,.45],[0,0],[.45,0],[0,0],[0,0]],o:[[-.44995,0],[0,0],[0,.4499500000000012],[0,0],[.4499500000000012,0],[0,0],[0,-.4499500000000012],[0,0],[0,0],[0,0]]}}},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"Path",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[.8155,143.0527],[8e-4,143.8674],[8e-4,151.9037],[.8155,152.7184],[214.1835,152.7184],[214.9982,151.9037],[214.9982,143.8674],[214.1835,143.0527],[.8155,143.0527],[.8155,143.0527]],i:[[0,0],[0,-.45],[0,0],[-.45,0],[0,0],[0,.45],[0,0],[.45,0],[0,0],[0,0]],o:[[-.44995,0],[0,0],[0,.4499500000000012],[0,0],[.4499500000000012,0],[0,0],[0,-.4499500000000012],[0,0],[0,0],[0,0]]}}},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"Path",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[62.2432,38.6621],[61.4285,39.4768],[61.4285,47.5131],[62.2432,48.3278],[133.5593,48.3278],[134.374,47.5131],[134.374,39.4768],[133.5593,38.6621],[62.2432,38.6621],[62.2432,38.6621]],i:[[0,0],[0,-.45],[0,0],[-.45,0],[0,0],[0,.45],[0,0],[.45,0],[0,0],[0,0]],o:[[-.4499500000000012,0],[0,0],[0,.4499500000000012],[0,0],[.4499500000000012,0],[0,0],[0,-.4499500000000012],[0,0],[0,0],[0,0]]}}},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"Path",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[62.2432,57.9937],[61.4285,58.8084],[61.4285,66.8447],[62.2432,67.6594],[133.5593,67.6594],[134.374,66.8447],[134.374,58.8084],[133.5593,57.9937],[62.2432,57.9937],[62.2432,57.9937]],i:[[0,0],[0,-.45],[0,0],[-.45,0],[0,0],[0,.45],[0,0],[.45,0],[0,0],[0,0]],o:[[-.4499500000000012,0],[0,0],[0,.44996000000000436],[0,0],[.4499500000000012,0],[0,0],[0,-.4499500000000012],[0,0],[0,0],[0,0]]}}},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"Path",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[61.4285,78.1394],[61.4285,78.1394],[61.4285,86.1757],[62.2432,86.9904],[160.434,86.9904],[161.2487,86.1757],[161.2487,78.1394],[160.434,77.3247],[62.2432,77.3247],[61.4285,78.1394]],i:[[0,0],[0,0],[0,0],[-.4499500000000012,0],[0,0],[0,.44996000000000436],[0,0],[.4499500000000012,0],[0,0],[0,-.4499500000000012]],o:[[0,0],[0,0],[0,.45],[0,0],[.45,0],[0,0],[0,-.45],[0,0],[-.45,0],[0,0]]}}},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"Path",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[62.2433,96.6562],[61.4286,97.4709],[61.4286,105.5072],[62.2433,106.3219],[95.167,106.3219],[95.9817,105.5072],[95.9817,97.4709],[95.167,96.6562],[62.2433,96.6562],[62.2433,96.6562]],i:[[0,0],[0,-.45],[0,0],[-.45,0],[0,0],[0,.45],[0,0],[.45,0],[0,0],[0,0]],o:[[-.4499500000000012,0],[0,0],[0,.4499500000000012],[0,0],[.44996000000000436,0],[0,0],[0,-.44996000000000436],[0,0],[0,0],[0,0]]}}},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"Path",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[191.2415,57.9951],[190.4268,58.8098],[190.4268,66.8461],[191.2415,67.6608],[214.1832,67.6608],[214.9979,66.8461],[214.9979,58.8098],[214.1832,57.9951],[191.2415,57.9951],[191.2415,57.9951]],i:[[0,0],[0,-.45],[0,0],[-.45,0],[0,0],[0,.45],[0,0],[.45,0],[0,0],[0,0]],o:[[-.4499500000000012,0],[0,0],[0,.4499500000000012],[0,0],[.4499500000000012,0],[0,0],[0,-.4499500000000012],[0,0],[0,0],[0,0]]}}},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"Path",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[190.4268,79.1077],[190.4268,79.1077],[190.4268,87.144],[191.2415,87.9587],[214.1832,87.9587],[214.9979,87.144],[214.9979,79.1077],[214.1832,78.293],[191.2415,78.293],[190.4268,79.1077]],i:[[0,0],[0,0],[0,0],[-.4499500000000012,0],[0,0],[0,.44996000000000436],[0,0],[.4499500000000012,0],[0,0],[0,-.44996000000000436]],o:[[0,0],[0,0],[0,.45],[0,0],[.45,0],[0,0],[0,-.45],[0,0],[-.45,0],[0,0]]}}},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"Path",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[190.4268,99.4051],[190.4268,99.4051],[190.4268,107.4414],[191.2415,108.2561],[214.1832,108.2561],[214.9979,107.4414],[214.9979,99.4051],[214.1832,98.5904],[191.2415,98.5904],[190.4268,99.4051]],i:[[0,0],[0,0],[0,0],[-.4499500000000012,0],[0,0],[0,.44996000000000436],[0,0],[.4499500000000012,0],[0,0],[0,-.44996000000000436]],o:[[0,0],[0,0],[0,.45],[0,0],[.45,0],[0,0],[0,-.45],[0,0],[-.45,0],[0,0]]}}},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"fl",c:{a:0,k:[.788235294117647,.788235294117647,.788235294117647],ix:2},o:{a:0,k:50,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"tr",p:{a:0,k:[120.55180358886719,96.65750122070312],ix:2},a:{a:0,k:[107.49909973144531,76.35919952392578],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"shapes",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[.8147,0],[18.3815,0],[19.1962,.8147],[19.1962,18.5168],[18.3815,19.3315],[.8147,19.3315],[0,18.5168],[0,.8147],[.8147,0],[.8147,0],[.8147,0]],i:[[0,0],[0,0],[0,-.4499],[0,0],[.4499,0],[0,0],[0,.4499],[0,0],[-.4499,0],[0,0],[0,0]],o:[[0,0],[.4499500000000012,0],[0,0],[0,.4499500000000012],[0,0],[-.44995,0],[0,0],[0,-.44995],[0,0],[0,0],[0,0]]}}},{ty:"fl",c:{a:0,k:[.9176470588235294,.9411764705882353,.9647058823529412],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[218.45260620117188,29.963951110839844],ix:2},a:{a:0,k:[9.5981,9.66575],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"shapes",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[0,0],[242.64,0],[242.64,29.6497],[235.5598,36.7299],[7.0802,36.7299],[0,29.6497],[0,0],[0,0]],i:[[0,0],[0,0],[0,0],[3.9103,0],[0,0],[0,3.9103],[0,0],[0,0]],o:[[0,0],[0,0],[0,3.9102700000000006],[0,0],[-3.91027,0],[0,0],[0,0],[0,0]]}}},{ty:"fl",c:{a:0,k:[.9568627450980393,.9568627450980393,.9607843137254902],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[121.31990051269531,160.4513397216797],ix:2},a:{a:0,k:[121.32,18.36495],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"documents",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[.01,0],[242.63,0],[242.64,.01],[242.64,171.484],[235.3076,178.8164],[7.3324,178.8164],[0,171.484],[0,.01],[.01,0],[.01,0],[.01,0]],i:[[0,0],[0,0],[0,-.0055],[0,0],[4.0496,0],[0,0],[0,4.0496],[0,0],[-.0055,0],[0,0],[0,0]],o:[[0,0],[.005519999999989977,0],[0,0],[0,4.049569999999989],[0,0],[-4.04957,0],[0,0],[0,-.00552],[0,0],[0,0],[0,0]]}}},{ty:"fl",c:{a:0,k:[1,1,1],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[121.31999969482422,89.408203125],ix:2},a:{a:0,k:[121.32,89.4082],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"tr",p:{a:0,k:[311.0394287109375,125.99191284179688],ix:2},a:{a:0,k:[121.31994995117202,89.40820468749996],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"tr",p:{a:1,k:[{t:50,s:[127.5001,434.5],i:{x:[.15],y:[1]},o:{x:[.5],y:[.35]}},{t:146,s:[127.5,244.5],i:{x:[.15],y:[1]},o:{x:[.5],y:[.35]}},{t:229,s:[127.5,244.5],i:{x:[.15],y:[1]},o:{x:[.5],y:[.35]}},{t:300,s:[127.5001,434.5],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}}],ix:2},a:{a:0,k:[228.5,146.5],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:301,st:0,bm:0}]},{id:"16",layers:[{ddd:0,ind:33,ty:3,nm:"",sr:1,ks:{p:{a:0,k:[27.5,35],ix:2},a:{a:0,k:[26.5,34],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:301,st:0,bm:0},{ddd:0,refId:"17",w:53,h:69,ind:34,ty:0,nm:"Frame clipped content",sr:1,ks:{p:{a:0,k:[0,-1],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:301,st:0,bm:0,parent:33}]},{id:"18",layers:[{ddd:0,ind:35,ty:4,nm:"Ellipse 148",sr:1,ks:{p:{a:0,k:[0,1],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"gr",nm:"Ellipse 148",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[22.756027221679688,16.268380558545367],[11.378014817007513,32.25135040283203],[0,16.268380558545367],[11.378014817007513,0],[22.756027221679688,16.268380558545367]],i:[[0,0],[4.987643826619957,5191581050170329e-28],[0,8.827150693984603],[-10.750421655879672,0],[0,-8.04655192008153]],o:[[0,8.827150693984603],[-5.455190599851786,-5678245365236715e-28],[0,-7.864703395234007],[10.750421655879672,0],[0,0]]}}},{ty:"fl",c:{a:0,k:[.9803921568627451,.9803921568627451,.9803921568627451],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[25.735435485839844,30.125675201416016],ix:2},a:{a:0,k:[11.378013610839844,16.125675201416016],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:35084222913516843e-31,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:-13497799236786507e-35,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:301,st:0,bm:0},{ddd:0,ind:36,ty:4,nm:"Vector 14",sr:1,ks:{p:{a:0,k:[0,1],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"gr",nm:"Vector 14",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[3.0447902679443364,1.0813388576412473],[3.0447902679443364,7.211943554099301],[1.7898622277215814,8.031594276428223],[.18623991353417385,4.063794372465733],[.8137265637753712,.5842626237336662],[3.0447902679443364,1.0813388576412473]],i:[[0,0],[0,0],[.8366489174456317,0],[.13944148624093863,1.0769984468435367],[-1.1852526708910047,1.5740745908167844],[-.34860371560234654,-.6903836082414552]],o:[[0,0],[-.06970567213518368,.5246915602503727],[-1.0458111089640132,0],[-.13944148624093863,-1.0769984468435367],[.9482021367128037,-1.2592597266140275],[0,0]]}}},{ty:"gf",o:{a:0,k:100,ix:2},r:1,bm:0,g:{p:3,k:{a:0,k:[.0416666679084301,.7098039215686275,.7098039215686275,.7098039215686275,.3624882996082306,.8862745098039215,.8862745098039215,.8862745098039215,1,1,1,1,.0416666679084301,1,.3624882996082306,1,1,1],ix:2}},s:{a:0,k:[2.7359152717717734,3.926277873819515],ix:2},e:{a:0,k:[.7372444030814052,4.129868053136477],ix:2},t:1},{ty:"tr",p:{a:0,k:[36.87506103515625,32.51383590698242],ix:2},a:{a:0,k:[1.522395133972168,4.015797138214111],ix:2},s:{a:0,k:[100.0000001429167,-99.9481639006186],ix:2},r:{a:0,k:-172.2474372501015,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:178.15518187858171,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:301,st:0,bm:0},{ddd:0,ind:37,ty:4,nm:"Vector 13",sr:1,ks:{p:{a:0,k:[0,1],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"gr",nm:"Vector 13",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[3.0447905063629146,1.0813388576412473],[3.0447905063629146,7.211943554099301],[1.7898623678745544,8.031594276428223],[.1862399281174625,4.063794372465733],[.8137266274932347,.5842626237336662],[3.0447905063629146,1.0813388576412473]],i:[[0,0],[0,0],[.8366489829584021,0],[.1394414971597337,1.0769984468435367],[-1.1852527637007657,1.5740745908167844],[-.3486037428993342,-.6903836082414552]],o:[[0,0],[-.0697056775934011,.5246915602503727],[-1.0458111908549732,0],[-.1394414971597337,-1.0769984468435367],[.9482022109606126,-1.2592597266140275],[0,0]]}}},{ty:"gf",o:{a:0,k:100,ix:2},r:1,bm:0,g:{p:3,k:{a:0,k:[.171875,.7411764705882353,.7411764705882353,.7411764705882353,.640625,.8823529411764706,.8823529411764706,.8823529411764706,1,.8666666666666667,.8666666666666667,.8666666666666667,.171875,1,.640625,1,1,1],ix:2}},s:{a:0,k:[2.7359154860042736,3.926277873819515],ix:2},e:{a:0,k:[.7372444608104267,4.129868053136477],ix:2},t:1},{ty:"tr",p:{a:0,k:[14.108526229858398,32.17430877685547],ix:2},a:{a:0,k:[1.5223952531814575,4.015797138214111],ix:2},s:{a:0,k:[100.00000406647163,99.94816570930602],ix:2},r:{a:0,k:-7.210328320717026,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:1.8448164690909499,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:301,st:0,bm:0},{ddd:0,ind:38,ty:4,nm:"Path 48",sr:1,ks:{p:{a:0,k:[0,1],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"gr",nm:"Path 48",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[0,.09942684238919658],[11.983551979064941,2.130622837691081],[0,6.4231824441763],[0,.09942684238919658]],i:[[0,0],[0,0],[10.831494200252585,1.7587448024703312],[0,0]],o:[[6.172195755255085,-.6411878388245154],[0,0],[0,0],[0,0]]}}},{ty:"fl",c:{a:0,k:[.803921568627451,.803921568627451,.803921568627451],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[24.138259887695312,44.78117752075195],ix:2},a:{a:0,k:[5.991775989532471,3.3718764781951904],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:35084222913516843e-31,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:-13497799236786507e-35,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:301,st:0,bm:0},{ddd:0,ind:39,ty:4,nm:"Combined Shape",sr:1,ks:{p:{a:0,k:[0,1],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"gr",nm:"Combined Shape",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[53,8.872973442077637],[53,14.630952358245853],[49.13095235824584,18.5],[3.869066183500868,18.5],[10071100518878319e-21,14.630933816514041],[0,9.023813247680664],[16.5,0],[25.5,5],[35,0],[53,8.872973442077637]],i:[[0,0],[0,-1.7643454546250599],[2.1368160089096118,0],[9.79165228537824,0],[-21410215021107586e-22,2.1368232498972852],[10283222208835936e-21,1.9160577703045778],[0,0],[-3.9974851608276367,-.0982111394405365],[-1.382991909980774,2.6157944202423096],[-2.4650931358337402,-4.42252254486084]],o:[[0,1.882707738167424],[0,2.1368160089096118],[-9.791632229363827,0],[-2.1368232498983577,0],[16798350196592344e-22,-1.6765410914653316],[2.4645752906799316,-4.421380043029785],[1.3303749561309814,2.409811019897461],[4.33779764175415,.10657202452421188],[0,0],[0,0]]}}},{ty:"fl",c:{a:0,k:"replaceColorWithYours",ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[26.5,58.75],ix:2},a:{a:0,k:[26.5,9.25],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:35084222913516843e-31,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:-13497799236786507e-35,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:301,st:0,bm:0},{ddd:0,ind:40,ty:4,nm:"Combined Shape",sr:1,ks:{p:{a:0,k:[0,1],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"gr",nm:"Combined Shape",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[5.288987196990271,15.591408602680824],[5.288987196990271,15.6904052133937],[0,20.414931744398782],[12.647581100463867,25.927534103393555],[25.295162200927734,20.414931744398782],[20.00617560807837,15.683284544298461],[20.01261575012549,6.334363175930671],[20.01261575012549,6.283374357636501],[20.0464162254775,3.509620297497381],[5.265991781723889,6.5605711434764995],[5.288987196990271,15.591408602680824]],i:[[0,0],[0,0],[3.4987044337850985,-1.055357157545385],[-4.21578404368696,0],[-4.21578404368696,3.062480597171335],[.05105024158050265,2.0978517013676967],[-.0036765856145537412,.7961678197114032],[.22995604060414662,.06385431724598079],[-.0156370120826402,3.5843402541677634],[-.22043893341033055,-9.84209227199208],[-.014027319940006699,-1.1365149081275392]],o:[[0,0],[-.02728811722741247,2.094329685674955],[4.21578404368696,3.062480597171335],[4.21578404368696,0],[-3.4749423637102925,-1.0565821540083793],[0,-.796174608484905],[.25134196786144297,.035372534248765436],[.006898680864135587,-2.6228504872313643],[.0156370120826402,-3.584378874745907],[.002989428728447566,1.0035234386735064],[0,0]]}}},{ty:"gf",o:{a:0,k:100,ix:2},r:1,bm:0,g:{p:2,k:{a:0,k:[0,.6941176470588235,.6941176470588235,.6941176470588235,1,1,1,1,0,1,1,1],ix:2}},s:{a:0,k:[11.525842471849046,7.159018175022425],ix:2},e:{a:0,k:[11.525842471849046,19.339639128182853],ix:2},t:1},{ty:"tr",p:{a:0,k:[25.702268600463867,43.690086364746094],ix:2},a:{a:0,k:[12.647581100463867,12.963767051696777],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:35084222913516843e-31,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:-13497799236786507e-35,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:301,st:0,bm:0},{ddd:0,ind:41,ty:4,nm:"Rectangle 532",sr:1,ks:{p:{a:0,k:[0,1],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"gr",nm:"Rectangle 532",it:[{ty:"rc",d:1,s:{a:0,k:[53,68],ix:2},p:{a:0,k:[0,0],ix:2},r:{a:0,k:3.8690476417541504,ix:2}},{ty:"fl",c:{a:0,k:[.9490196078431372,.9490196078431372,.9490196078431372],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[26.5,34],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:35084222913516843e-31,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:-13497799236786507e-35,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:301,st:0,bm:0},{ddd:0,ind:42,ty:4,nm:"Frame region - box",sr:1,ks:{p:{a:0,k:[0,1],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"rc",d:1,s:{a:0,k:[53,69],ix:2},p:{a:0,k:[26.5,33.5],ix:2},r:{a:0,k:0,ix:2}},{ty:"fl",c:{a:0,k:[0,0,0],ix:2},o:{a:0,k:0,ix:2},r:1,bm:0}],ip:0,op:301,st:0,bm:0}]},{id:"17",layers:[{ddd:0,ind:43,ty:4,nm:"Frame region",sr:1,ks:{p:{a:0,k:[0,1],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},td:1,ao:0,shapes:[{ty:"gr",nm:"Frame region",it:[{ty:"rc",d:1,s:{a:0,k:[53,68],ix:2},p:{a:0,k:[0,0],ix:2},r:{a:0,k:2.8851099014282227,ix:2}},{ty:"fl",c:{a:0,k:[0,0,0],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[26.5,34],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:301,st:0,bm:0},{ddd:0,refId:"18",w:53,h:69,ind:34,ty:0,nm:"Frame clipped content",sr:1,ks:{p:{a:0,k:[26.5,33.5],ix:2},a:{a:0,k:[26.5,33.5],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:301,st:0,bm:0,tt:1}]},{id:"14",layers:[{ddd:0,ind:44,ty:4,nm:"hand1 - Null",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"gr",it:[{ty:"gr",it:[{ty:"gr",it:[{ty:"gr",nm:"out",it:[{ty:"gr",nm:"Path",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!1,v:[[188.3793,168.4372],[189.5807,167.7225],[196.3394,175.4446],[204.0781,177.0441],[210.7781,173.2582],[215.5448,167.3006],[216.9737,131.3681],[216.9771,130.6952],[217.4284,130.1961],[219.5053,125.473],[219.5061,125.4696],[220.4944,117.3119],[220.4946,117.3081],[219.9986,101.9602],[219.8426,100.3791],[221.3994,100.0621],[230.0122,94.3582]],i:[[0,0],[0,0],[-2.2185,-1.4794],[-2.431,.5285],[-1.9705,1.8097],[-1.1731,1.9978],[-.0427,8.3501],[0,0],[0,0],[-.4823,2.0532],[0,0],[-.1268,2.986],[0,0],[.4113,4.1696],[0,0],[0,0],[-1.6652,2.4778]],o:[[0,0],[2.2501499999999908,3.782459999999986],[2.6925500000000113,1.7767200000000116],[2.4424300000000017,-.5436200000000042],[1.9590100000000064,-1.8002799999999866],[.4620700000000113,-8.689009999999996],[0,0],[0,0],[.9171399999999892,-1.014250000000004],[0,0],[.5533399999999915,-2.3348299999999966],[0,0],[.23929999999998586,-5.363249999999994],[0,0],[0,0],[4.20338000000001,-.8559999999999945],[0,0]]}}},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"Path",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[217.2981,167.8327],[217.097,168.1343],[211.9691,174.555],[204.4567,178.7636],[195.3643,176.9107],[189.4781,170.8254],[188.0675,168.6227],[188.0675,168.5509],[188.0562,168.6227],[188.055,168.6302],[187.6224,171.2249],[183.1838,189.7809],[178.1852,201.4588],[171.649,206.8407],[162.1208,205.4713],[160.1579,204.6861],[160.5794,206.7845],[162.6435,226.926],[164.3769,239.5972],[166.6217,254.2416],[170.7304,288.715],[162.3518,357.6546],[159.8138,364.1256],[120.6003,388.4483],[70.542,381.5967],[25.7553,359.9072],[12.4934,319.0746],[12.9427,310.0931],[12.3681,279.2394],[6.1773,222.1715],[6.1773,222.0997],[6.1629,222.0135],[.4173,135.9305],[1.9973,118.7082],[10.6156,106.4701],[18.0254,99.6377],[18.1545,99.5232],[38.0508,78.877],[91.1255,8.5943],[103.5359,.3207],[130.3534,8.0916],[163.8644,18.3618],[164.9911,18.6396],[173.6031,20.8324],[203.3795,37.9829],[234.3194,84.0337],[234.4487,84.2348],[234.5062,84.4646],[234.7073,86.7628],[234.1902,88.2136],[233.9029,88.544],[233.5294,90.8853],[231.4753,95.3381],[221.751,101.7875],[222.2537,117.3867],[221.2195,125.8758],[218.7345,131.3772],[217.2981,167.4881],[217.2981,167.8327],[217.2981,167.8327]],i:[[0,0],[0,0],[2.1259,-1.9535],[2.8441,-.632],[3.0883,2.0397],[1.9098,2.7616],[.4658,.7831],[0,0],[.0038,-.024],[4e-4,-.0025],[.1556,-.8898],[1.9453,-6.0711],[1.9391,-3.1888],[2.8871,-.7182],[3.21,1.0751],[.6308,.2992],[-.1354,-.7365],[-.3046,-6.9426],[-.8197,-4.2579],[-.6211,-6.2109],[-.9911,-5.0992],[5.5417,-13.7658],[.8466,-2.2695],[14.9528,-1.4795],[17.0643,5.3721],[11.4337,8.4604],[-1.0021,17.4555],[-.1156,3.1691],[.6464,10.7729],[2.1402,13.6026],[0,0],[0,0],[2.8728,30.983],[-1.8673,4.7257],[-3.7059,3.7059],[-2.6478,2.3505],[0,0],[-6.9134,9.1365],[-11.0459,14.6512],[-6.5356,1.106],[-11.3475,-7.2538],[-10.0548,-2.4706],[-.3739,-.0922],[-2.7687,-.7528],[-7.1245,-9.7675],[-5.7456,-9.1067],[0,0],[0,0],[.0862,-.8331],[.3447,-.4884],[.1006,-.1005],[.2298,-.8187],[1.0198,-1.5226],[4.7257,-.9624],[.2442,-5.4727],[.5889,-2.485],[1.2209,-1.3502],[.4596,-8.6327],[0,0],[0,0]],o:[[0,0],[-1.2496600000000058,2.1402300000000025],[-2.1115000000000066,1.9391300000000058],[-2.9014999999999986,.632000000000005],[-2.0020100000000127,-1.3346899999999948],[-.4744000000000028,-.6859599999999944],[0,0],[-.0037700000000029377,.023910000000000764],[-.0004000000000132786,.002489999999994552],[-.13274999999998727,.8379999999999939],[-1.0076899999999966,5.761719999999997],[-1.407669999999996,4.381],[-1.8960399999999993,3.1313299999999913],[-2.7421600000000126,0],[-.6741600000000005,-.2257799999999861],[.14545000000001096,.6603900000000067],[1.0282100000000014,5.591170000000005],[.20055999999999585,4.7096699999999885],[.7653500000000122,3.9752300000000105],[.718199999999996,7.181960000000004],[2.045649999999995,43.045169999999985],[-.838150000000013,2.0819999999999936],[-4.768810000000002,12.783869999999979],[-14.967209999999994,1.4794600000000173],[-17.078699999999998,-5.372130000000027],[-14.92241,-11.907260000000008],[.16233000000000075,-2.827670000000012],[.3447300000000002,-9.437099999999987],[-1.2927499999999998,-21.53152],[0,0],[0,0],[-.7182000000000004,-15.785949999999985],[-.91929,-6.9952399999999955],[1.8673099999999998,-4.711370000000002],[2.2689500000000002,-2.268950000000004],[0,0],[6.069580000000002,-5.38082],[16.05887,-21.215519999999998],[1.7811200000000014,-3.3467900000000004],[6.593040000000002,-1.12039],[12.252430000000004,5.041740000000001],[.37718000000000984,.09309000000000012],[2.9726699999999937,.7325799999999987],[12.35297,3.3324299999999987],[10.945310000000006,14.981580000000001],[0,0],[0,0],[.14365000000000805,.5601999999999947],[-.04309000000000651,.41655000000000086],[-.08618000000001302,.11490999999999474],[0,.718190000000007],[-.3591000000000122,1.3645700000000005],[-1.881670000000014,2.8009600000000034],[.41655000000000086,4.222999999999999],[-.12926999999999111,3.0451500000000067],[-.5027499999999918,2.1402300000000025],[-.04309000000000651,8.431630000000013],[0,0],[0,0],[0,0]]}}},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"Path",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!1,v:[[230.0124,94.3581],[231.8266,90.4371],[231.8303,90.4232],[231.8342,90.4093],[232.1422,88.5438],[232.1422,87.8145],[232.6579,87.2988],[232.7655,87.178],[232.9559,86.5815],[232.8107,84.942],[201.9578,39.0215],[201.957,39.0204],[173.1445,22.5322],[173.1411,22.5313],[164.5692,20.3489],[163.4424,20.0711],[129.6833,9.7197],[129.5377,9.6598],[129.405,9.575],[103.8309,2.0564],[103.8297,2.0566],[92.6798,9.4214],[92.6148,9.5436],[92.5315,9.6542],[39.4548,79.9396],[19.3474,100.8187],[19.297,100.8634],[19.2961,100.8642],[19.2162,100.9351],[11.8608,107.7151],[3.6343,119.3569],[2.1631,135.7011],[2.1675,135.7345],[2.1706,135.768],[7.9171,221.8281],[7.9381,221.954],[7.9381,222.034],[14.1258,279.1339],[14.7024,310.1574],[14.302,318.2933],[14.2514,319.1759],[13.9159,325.5939],[14.2785,338.0845],[26.8289,358.5112],[71.0706,379.9172],[120.4272,386.6962],[143.1365,379.0068],[158.1644,363.5103],[160.7572,356.8972],[166.8494,338.1616],[168.9779,288.9235],[164.87,254.4169],[162.6469,239.9229],[162.567,239.5077],[160.8848,227.001],[162.638,226.9263],[160.8849,227.0032],[160.8848,227.0009],[158.4388,205.0648],[157.6658,201.5551],[160.9129,203.0952],[171.4278,205.0792],[174.1615,203.7025],[176.6796,200.5467],[176.6813,200.5438],[181.5076,189.2435],[186.3289,168.2763],[188.3799,168.4372]],i:[[0,0],[-.3081,1.1706],[0,0],[0,0],[0,.5013],[0,0],[0,0],[-.031,.0393],[-.0234,.2266],[.1091,.4427],[10.897,14.9155],[0,0],[12.2878,3.3149],[0,0],[2.9757,.7333],[.3776,.0932],[12.3878,5.0974],[0,0],[0,0],[6.0297,-1.0247],[0,0],[1.5342,-2.8827],[0,0],[0,0],[16.0599,-21.2169],[6.0673,-5.3788],[0,0],[0,0],[0,0],[2.2317,-2.2317],[1.7421,-4.3955],[-.8887,-6.7628],[0,0],[0,0],[-.7235,-15.8665],[0,0],[0,0],[-1.2925,-21.5268],[.3475,-9.5123],[.1467,-2.5661],[.0168,-.2922],[.0845,-2.0439],[-.546,-3.7771],[-8.3218,-6.648],[-16.9278,-5.3247],[-14.6448,1.4476],[-7.1426,4.1832],[-2.1806,5.8456],[-.847,2.1041],[-1.601,7.5781],[1.1644,24.629],[.708,7.0803],[.7644,3.9704],[0,0],[.2,4.695],[0,0],[0,0],[0,8e-4],[1.2181,5.5305],[0,0],[0,0],[-3.1955,-.0194],[-.7606,.6344],[-.8953,1.4787],[0,0],[-1.3896,4.3245],[-.9823,6.2214],[0,0]],o:[[.9134500000000116,-1.3637800000000055],[0,0],[0,0],[.20464999999998668,-.729060000000004],[0,0],[0,0],[.03821999999999548,-.03821999999999548],[.10399000000001024,-.15722999999999843],[.05563000000000784,-.5377900000000011],[-5.75209000000001,-9.115650000000002],[0,0],[-6.746829999999989,-9.249690000000001],[0,0],[-2.7470399999999984,-.7468900000000005],[-.37360000000001037,-.09206999999999965],[-10.050260000000009,-2.4694900000000004],[0,0],[0,0],[-11.109729999999999,-7.1018],[0,0],[-5.977450000000005,1.0115700000000003],[0,0],[0,0],[-11.046059999999997,14.65148],[-7.018749999999997,9.275769999999994],[0,0],[0,0],[0,0],[-2.6642399999999995,2.365009999999998],[-3.6242,3.624210000000005],[-1.73503,4.391899999999993],[0,0],[0,0],[2.87009,30.953959999999995],[0,0],[0,0],[2.1441,13.656540000000007],[.6484299999999994,10.80716000000001],[-.10435000000000016,2.8609599999999773],[-.016930000000000334,.2961999999999989],[-.12886999999999915,2.2450600000000236],[-.1911000000000005,4.624450000000024],[1.0705799999999996,7.406799999999976],[11.238989999999998,8.309910000000002],[16.937669999999997,5.332240000000013],[7.197680000000005,-.712159999999983],[7.180880000000002,-4.205600000000004],[.8755199999999945,-2.3470500000000243],[2.3342600000000004,-5.79892000000001],[2.1705200000000104,-10.274020000000007],[-1.024579999999986,-5.427149999999983],[-.6130699999999933,-6.130689999999987],[0,0],[-.786059999999992,-4.086669999999998],[0,0],[0,0],[-3000000000952241e-20,-.0007500000000106866],[-.34288000000000807,-7.812299999999993],[0,0],[0,0],[3.208110000000005,1.5216200000000129],[1.1191900000000032,-.3026000000000124],[.8287799999999947,-.6913000000000125],[0,0],[1.8349800000000016,-3.0175000000000125],[2.21896000000001,-6.925430000000006],[0,0],[0,0]]}}},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"Path",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!1,v:[[188.3793,168.4372],[230.0124,94.3581]],i:[[0,0],[0,0]],o:[[0,0],[0,0]]}}},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"Path",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!1,v:[[14.1255,279.1338],[12.7176,279.2183]],i:[[0,0],[0,0]],o:[[0,0],[0,0]]}}},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gf",o:{a:0,k:100,ix:2},r:1,bm:0,g:{p:2,k:{a:0,k:[0,1,1,1,1,1,1,1,0,1,1,0],ix:2}},s:{a:0,k:[100.26192891171229,86.25710320304567],ix:2},e:{a:0,k:[86.62645296250791,239.5935630823299],ix:2},t:1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"tr",p:{a:0,k:[222.04934692382812,161.77700805664062],ix:2},a:{a:0,k:[117.36671369304167,194.41413566819392],ix:2},s:{a:0,k:[99.99000123251479,99.99999834779308],ix:2},r:{a:0,k:78.5786998151348,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"vec",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[188.0675,168.5509],[183.1838,189.7808],[178.1852,201.4587],[171.649,206.8406],[160.1579,204.686],[162.6435,226.9259],[166.6217,254.2415],[170.7304,288.7149],[159.8138,364.1255],[120.6003,388.4482],[70.542,381.5966],[25.7553,359.9071],[12.9427,310.093],[12.3681,279.2393],[6.1773,222.1714],[6.1773,222.0996],[6.1629,222.0134],[.4173,135.9304],[1.9973,118.708],[10.6157,106.4699],[18.128,99.5465],[38.0508,78.8768],[91.1255,8.5941],[103.5359,.3205],[130.3534,8.0914],[163.8644,18.3616],[173.6031,20.8322],[203.3795,37.9827],[234.3194,84.0335],[234.4487,84.2346],[234.5062,84.4644],[234.7073,86.7626],[234.1902,88.2134],[233.9029,88.5438],[233.5294,90.8851],[231.4753,95.3379],[221.751,101.7873],[222.2537,117.3865],[221.2195,125.8756],[218.7345,131.377],[217.2981,167.4879],[217.2981,167.8326],[217.097,168.1342],[211.9691,174.5549],[204.4567,178.7635],[195.3643,176.9106],[188.0674,168.6226],[188.0675,168.5509],[188.0675,168.5509]],i:[[0,0],[2.2551,-7.0383],[1.9391,-3.1888],[2.8871,-.7182],[3.6341,1.7237],[-.3447,-7.8571],[-1.2863,-12.8634],[-.9911,-5.0992],[6.4443,-17.2752],[14.9528,-1.4795],[17.0643,5.3721],[11.4337,8.4604],[-.8291,22.7325],[.6464,10.7729],[2.1402,13.6026],[0,0],[0,0],[2.8728,30.983],[-1.8673,4.7257],[-3.7059,3.7059],[-2.6861,2.3844],[-6.9234,9.1498],[-11.0459,14.6512],[-6.5356,1.106],[-11.3475,-7.2538],[-10.0547,-2.4706],[-3.117,-.8475],[-7.1245,-9.7675],[-5.7456,-9.1067],[0,0],[0,0],[.0862,-.8331],[.3447,-.4884],[.1005,-.1005],[.2298,-.8187],[1.0198,-1.5226],[4.7257,-.9624],[.2442,-5.4727],[.5889,-2.485],[1.2209,-1.3502],[.4596,-8.6327],[0,0],[0,0],[2.1259,-1.9535],[2.8441,-.632],[3.0882,2.0397],[2.3413,3.9357],[0,0],[0,0]],o:[[-.9911099999999919,6.2770399999999995],[-1.4076599999999928,4.381],[-1.8960399999999993,3.1313399999999945],[-3.318070000000006,0],[1.2496600000000058,5.6737500000000125],[.3878300000000081,9.106729999999999],[.718199999999996,7.181959999999975],[2.3550500000000056,49.55554999999998],[-4.768820000000005,12.783889999999985],[-14.967209999999994,1.4794800000000237],[-17.07871,-5.372110000000021],[-17.33973,-13.836149999999975],[.3447300000000002,-9.437099999999987],[-1.2927499999999998,-21.53152],[0,0],[0,0],[-.7182000000000004,-15.785950000000014],[-.91929,-6.995229999999992],[1.8673099999999998,-4.711370000000002],[2.29823,-2.2982300000000038],[6.075939999999999,-5.386470000000003],[16.05887,-21.215519999999998],[1.7811300000000045,-3.3467900000000004],[6.593040000000002,-1.12039],[12.252430000000004,5.041740000000001],[3.3755199999999945,.8331100000000013],[12.35297,3.3324299999999987],[10.945310000000006,14.981580000000001],[0,0],[0,0],[.14364000000000487,.5601900000000057],[-.04309000000000651,.41655000000000086],[-.08618000000001302,.11490999999999474],[0,.718199999999996],[-.3591000000000122,1.3645700000000005],[-1.881670000000014,2.8009700000000066],[.41655000000000086,4.222989999999996],[-.1292799999999943,3.0451500000000067],[-.5027399999999886,2.1402200000000136],[-.04309000000000651,8.43162000000001],[0,0],[0,0],[-1.2496600000000058,2.1402199999999993],[-2.1115000000000066,1.9391300000000058],[-2.901510000000002,.6320100000000082],[-2.4993200000000115,-1.6662200000000098],[0,0],[0,0],[0,0]]}}},{ty:"gf",o:{a:0,k:70,ix:2},r:1,bm:0,g:{p:2,k:{a:0,k:[0,1,1,1,1,1,1,1,0,1,1,0],ix:2}},s:{a:0,k:[110.61813155076297,105.69286889380979],ix:2},e:{a:0,k:[87.89373432569602,243.42031415232572],ix:2},t:1},{ty:"tr",p:{a:0,k:[222.04949951171875,161.7769775390625],ix:2},a:{a:0,k:[117.36671492709874,194.41398531023546],ix:2},s:{a:0,k:[99.99000123251479,99.99999834779308],ix:2},r:{a:0,k:78.5786998151348,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",it:[{ty:"gr",nm:"shadow1",it:[{ty:"gr",nm:"Path",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[216.8521,199.0897],[216.8521,199.0897],[216.8525,199.09],[231.4113,199.09],[228.4113,209.4738],[230.8863,219.4302],[237.463,224.9302],[245.463,228.4302],[280.1462,221.9302],[287.8826,222.9011],[297.6232,221.2327],[308.9629,219.4302],[320.6714,227.1602],[325.5675,228.3508],[328.3874,228.4823],[329.9512,228.7151],[372.4993,186.8739],[382.594,156.0335],[383.0697,145.6026],[387.4836,109.3508],[390.7656,80.431],[379.898,68.4566],[298.3635,28.6061],[273.4961,12.488],[264.9628,6.4303],[250.4628,.4304],[232.449,2.4304],[148.0087,25.1431],[147.9251,25.1752],[147.853,25.1898],[91.8014,44.0838],[60.926,50.9314],[13.5251,74.1047],[.9628,124.1705],[4.3916,176.5998],[36.9022,211.6451],[114.9038,207.471],[148.6873,196.2854],[175.3074,186.6856],[193.3389,180.9735],[194.3389,190.7912],[202.0916,196.3632],[216.8521,199.0897]],i:[[0,0],[0,0],[0,0],[0,0],[0,-3.0435500000000104],[-1.2325600000000065,-2.8300800000000095],[-2.38288,-1.7593099999999993],[-2.4073600000000113,-.8397799999999904],[-8.466020000000015,1.664749999999998],[-2.253499999999974,-.0782299999999907],[-3.0855999999999995,.48619999999999663],[-4.156349999999975,1.2817699999999945],[-3.201279999999997,-1.3500799999999913],[-1.4447400000000243,-.0891900000000021],[-.8239100000000121,-.3993199999999888],[-.4273200000000088,.04060000000001196],[-9.000839999999982,9.989390000000014],[-.8029700000000162,13.271260000000012],[-.14157000000000153,3.6107199999999864],[-2.5407500000000027,13.515640000000005],[2.483569999999986,6.494799999999998],[3.7288800000000037,1.1367800000000017],[24.619770000000017,12.067739999999997],[6.662500000000023,5.101770000000002],[2.782069999999976,1.8768199999999995],[5.1174000000000035,.94772],[6.837619999999987,-2.35698],[15.709660000000014,-3.9360099999999996],[0,0],[0,0],[21.362949999999998,-5.687890000000003],[9.550939999999997,-1.563769999999998],[10.327140000000002,-20.487409999999997],[1.87845,-18.503500000000003],[-4.56929,-14.96011999999999],[-13.82424,-2.2677500000000066],[-49.295339999999996,12.45845],[-7.06662,2.189840000000004],[-9.06817000000001,2.243629999999996],[-5.442080000000004,2.425620000000009],[-.6834900000000061,-3.3830600000000004],[-3.536110000000008,-1.2976700000000108],[-4.690850000000012,-.5461200000000019]],o:[[0,0],[0,0],[6.7941,.7853],[-3.4713,3.1859],[-.9483,3.4564],[1.2207,2.7715],[2.4003,1.771],[7.8855,3.2926],[1.6078,.9708],[2.6175,.0961],[5.5478,-.8617],[1.9402,4.623],[1.7396,.7308],[.9364,.0734],[.5616,.2524],[14.7732,-1.4037],[8.3442,-9.2464],[.2093,-3.35],[.4106,-10.7531],[4.9492,-13.0419],[-2.4573,-6.4391],[-16.993,-8.2888],[-10.6175,-5.2021],[-2.9485,-2.2547],[-4.4861,-3.0264],[-5.1318,-.9448],[-30.5318,9.217],[0,0],[0,0],[-13.2235,4.9428],[-10.6887,2.8454],[-23.0065,3.7682],[-6.1435,13.3747],[-1.8814,18.4889],[4.5663,14.9455],[18.6811,3.0645],[4.9182,-2.0454],[12.6568,-3.9222],[7.8217,-1.9461],[-.9829,4.0551],[1.3162,2.7979],[3.6027,1.3299],[0,0]]}}},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"Path",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[237.6351,196.3368],[215.8585,195.754],[203.422,193.1669],[196.8523,187.8259],[196.6886,176.1357],[175.3814,182.9763],[149.3945,192.285],[116.4175,203.1392],[40.3385,207.3725],[8.732,173.7522],[5.5348,123.3285],[17.9256,75.1336],[64.2159,52.71],[94.3448,46.0368],[149.0565,28.6673],[149.1269,28.6531],[149.2085,28.622],[232.4489,5.9431],[249.6431,4.0813],[263.3455,10.1055],[271.6195,16.098],[295.8252,31.533],[375.2265,69.6384],[385.7939,80.1646],[383.4876,107.9898],[380.057,142.871],[379.5639,152.9061],[368.6497,185.4892],[327.0398,225.8564],[325.5154,225.6369],[322.7658,225.5183],[317.9944,224.3867],[309.747,216.1321],[294.5563,219.714],[286.0305,220.3814],[280.146,219.0351],[243.7924,224.7091],[236.4834,220.9543],[230.8704,214.4242],[230.8861,205.145],[237.565,196.3514],[237.6351,196.3368],[237.6351,196.3368]],i:[[0,0],[7.3455,.8167],[3.5096,1.2692],[1.2757,2.6877],[-.9699,3.9034],[7.6332,-1.8939],[12.3539,-3.8082],[4.8019,-1.9813],[18.2093,2.8956],[4.4113,14.3637],[-1.8864,17.7902],[-6.0286,12.8827],[-22.4465,3.689],[-10.4316,2.767],[-12.9094,4.7916],[0,0],[0,0],[-29.8005,8.9515],[-5.0019,-.8945],[-4.3664,-2.8986],[-2.8691,-2.1607],[-10.3397,-4.9743],[-16.5485,-7.9257],[-2.3784,-6.1871],[4.863,-12.5593],[.4305,-10.3449],[.2134,-3.2231],[8.1632,-8.9177],[14.4107,-1.3916],[.547,.2412],[.913,.068],[1.6944,.6981],[1.8792,4.4416],[5.4126,-.8444],[2.5524,.0852],[1.5652,.9294],[7.6808,3.1452],[2.3358,1.6969],[1.1827,2.6626],[-1.3877,3.431],[-3.3941,3.0743],[0,0],[0,0]],o:[[-6.348989999999986,.271569999999997],[-4.5730000000000075,-.5122100000000103],[-3.4447999999999865,-1.2383900000000096],[-.6570800000000077,-3.252350000000007],[-5.313909999999993,2.348489999999998],[-8.84957,2.18356],[-6.897500000000008,2.1262299999999925],[-48.10776,12.121960000000001],[-13.475090000000002,-2.142770000000013],[-4.41416,-14.37781000000001],[1.8836000000000004,-17.804320000000004],[10.128330000000002,-19.73632],[9.318470000000005,-1.530929999999998],[20.849100000000007,-5.53107],[0,0],[0,0],[15.331099999999992,-3.8300899999999984],[6.674650000000014,-2.28636],[4.987850000000009,.8973300000000002],[2.7078300000000013,1.7975899999999996],[6.48302000000001,4.888919999999999],[23.975520000000017,11.53949],[3.633230000000026,1.0830799999999954],[2.4038300000000277,6.240600000000001],[-2.5155300000000125,13.008200000000002],[-.1481499999999869,3.473649999999992],[-.8201599999999871,12.768259999999998],[-8.805560000000014,9.634250000000009],[-.4168399999999792,.04024999999998613],[-.8023600000000215,-.38181000000000154],[-1.4086599999999976,-.08176000000000272],[-3.1181199999999762,-1.2897299999999916],[-4.0568700000000035,1.244589999999988],[-3.0104499999999916,.476319999999987],[-2.197400000000016,-.06895000000000095],[-8.260730000000024,1.6250400000000127],[-2.345310000000012,-.8010800000000131],[-2.318870000000004,-1.6856699999999876],[-1.1940899999999885,-2.7188899999999876],[1.1382700000000057,-2.7797899999999913],[0,0],[0,0],[0,0]]}}},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gf",o:{a:0,k:5,ix:2},r:1,bm:0,g:{p:2,k:{a:0,k:[0,0,0,0,1,0,0,0,0,1,1,0],ix:2}},s:{a:0,k:[251.96262303919957,111.93019483910871],ix:2},e:{a:0,k:[140.46263049511865,119.93019291060038],ix:2},t:1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"tr",p:{a:0,k:[218.78138732910156,144.27943420410156],ix:2},a:{a:0,k:[196.06307449529413,114.60393890310661],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",it:[{ty:"gr",nm:"shadow2 (Stroke)",it:[{ty:"gr",nm:"Path",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[170.864,25.3633],[171.9907,25.6411],[180.6028,27.8339],[210.3792,44.9844],[241.3191,91.0352],[241.4484,91.2363],[241.5059,91.4661],[241.707,93.7643],[241.1899,95.2151],[240.9026,95.5455],[240.5291,97.8868],[238.475,102.3396],[228.7507,108.789],[229.2534,124.3882],[228.2192,132.8773],[225.7342,138.3787],[224.2978,174.4896],[224.2978,174.8343],[224.0967,175.1359],[218.9688,181.5566],[211.4564,185.7652],[202.364,183.9123],[200.8931,182.8076],[195.0671,175.6243],[195.0671,175.5525],[195.0558,175.6243],[195.0546,175.6318],[193.2727,185.0979],[190.1835,196.7824],[185.1849,208.4603],[178.6487,213.8422],[174.66,213.6313],[167.1575,211.6877],[168.4577,219.5823],[169.6431,233.9276],[171.3765,246.5988],[173.6213,261.2432],[177.73,295.7167],[169.3514,364.6563],[166.8134,371.1273],[127.5999,395.45],[77.5416,388.5984],[32.7549,366.9089],[19.493,326.0763],[19.9423,317.0948],[19.3677,286.2411],[13.1768,229.1732],[13.1768,229.1014],[13.1624,229.0152],[7.4168,142.9322],[8.9968,125.7099],[17.6152,113.4718],[25.025,106.6394],[25.154,106.5249],[45.0503,85.8787],[98.125,15.596],[110.5354,7.3224],[137.3528,15.0933],[170.8638,25.3635],[170.864,25.3633],[170.864,25.3633]],i:[[0,0],[-.3739,-.0922],[-2.7687,-.7528],[-7.1245,-9.7675],[-5.7456,-9.1067],[0,0],[0,0],[.0862,-.8331],[.3447,-.4884],[.1006,-.1005],[.2298,-.8187],[1.0198,-1.5226],[4.7257,-.9624],[.2442,-5.4727],[.5889,-2.485],[1.2209,-1.3502],[.4596,-8.6327],[0,0],[0,0],[2.1259,-1.9535],[2.8441,-.632],[3.0883,2.0397],[.4883,.4089],[1.8803,3.1608],[0,0],[.0038,-.024],[4e-4,-.0025],[.7288,-3.3364],[1.2086,-3.7722],[1.9391,-3.1888],[2.8871,-.7182],[1.4225,.1543],[2.3166,1.0988],[-.3699,-2.9449],[-.2087,-4.757],[-.8197,-4.2579],[-.6211,-6.2109],[-.9911,-5.0992],[5.5417,-13.7658],[.8466,-2.2695],[14.9528,-1.4795],[17.0643,5.3721],[11.4337,8.4604],[-1.0021,17.4555],[-.1156,3.1691],[.6464,10.7729],[2.1402,13.6026],[0,0],[0,0],[2.8728,30.983],[-1.8673,4.7257],[-3.7059,3.7059],[-2.6478,2.3505],[0,0],[-6.9134,9.1365],[-11.0459,14.6512],[-6.5356,1.106],[-11.3475,-7.2538],[-10.0548,-2.4706],[0,0],[0,0]],o:[[.37718000000000984,.09309000000000012],[2.9726699999999937,.7325799999999987],[12.35297,3.3324299999999987],[10.945310000000006,14.981580000000001],[0,0],[0,0],[.14365000000000805,.5601999999999947],[-.04309000000000651,.41655000000000086],[-.08618000000001302,.11490999999999474],[0,.718190000000007],[-.3591000000000122,1.3645700000000005],[-1.881670000000014,2.8009600000000034],[.41655000000000086,4.222999999999999],[-.12926999999999111,3.0451500000000067],[-.5027499999999918,2.1402300000000025],[-.04309000000000651,8.431630000000013],[0,0],[0,0],[-1.2496600000000058,2.1402300000000025],[-2.1115000000000066,1.9391300000000058],[-2.9014999999999986,.632000000000005],[-.49214000000000624,-.3280900000000031],[-1.9913200000000018,-1.667820000000006],[0,0],[-.0037700000000029377,.023910000000000764],[-.0004000000000132786,.002489999999994552],[-.45826999999999884,2.892809999999997],[-.8493799999999965,3.8885500000000093],[-1.407669999999996,4.381],[-1.8960399999999993,3.1313299999999913],[-1.2028500000000122,0],[-2.501419999999996,-.2713799999999935],[.49306000000001404,2.238599999999991],[.5676300000000083,4.5189200000000085],[.20055999999999585,4.7096699999999885],[.7653500000000122,3.9752300000000105],[.718199999999996,7.181960000000004],[2.045649999999995,43.045169999999985],[-.838150000000013,2.0819999999999936],[-4.768810000000002,12.783869999999979],[-14.967209999999994,1.4794600000000173],[-17.078699999999998,-5.372130000000027],[-14.92241,-11.907260000000008],[.16233000000000075,-2.827670000000012],[.3447299999999984,-9.437099999999987],[-1.2927500000000016,-21.53152],[0,0],[0,0],[-.7181999999999995,-15.785950000000014],[-.9192900000000002,-6.9952399999999955],[1.8673099999999998,-4.711370000000002],[2.2689500000000002,-2.268950000000004],[0,0],[6.069579999999998,-5.38082],[16.05887,-21.215519999999998],[1.7811200000000014,-3.3467900000000004],[6.593040000000002,-1.1203900000000004],[12.252430000000004,5.041740000000001],[0,0],[0,0],[0,0]]}}},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"Path",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!1,v:[[140.5771,8.849],[172.5343,18.5655],[172.5413,18.5672],[173.6662,18.8445],[182.432,21.0771],[216.033,40.8571]],i:[[0,0],[-9.91,-2.435],[0,0],[-.3749,-.0924],[-2.8528,-.7755],[-8.6246,-11.8225]],o:[[11.493740000000003,4.674530000000001],[0,0],[.37490999999999985,.09253],[2.9589400000000126,.7291300000000014],[12.60918000000001,3.40193],[0,0]]}}},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"Path",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!1,v:[[140.5771,8.849],[109.3675,.4204],[92.2424,11.7708],[39.469,81.6539],[39.4683,81.6549],[20.484,101.3104],[20.3031,101.471],[12.6656,108.5221],[2.4895,123.1307],[2.4868,123.1375],[.4588,143.7075],[6.1698,229.3335],[6.1769,229.4902],[6.1769,229.7206],[6.262,230.2613],[12.3804,286.6607],[12.947,316.8394],[12.555,324.7951],[12.5046,325.6747],[12.1621,332.2339],[12.6073,346.3395],[28.3889,372.3806],[28.4886,372.4602],[28.5912,372.5361],[75.4396,395.2755],[128.2885,402.4162],[154.5633,393.5683],[173.372,373.5741],[175.6948,367.6614],[182.4203,346.9742],[184.7221,295.3846],[184.6981,294.8786],[184.6015,294.3814],[180.5866,260.547],[178.2556,245.3032],[178.1693,244.8548],[176.6368,233.6301],[176.6364,233.6211],[175.6445,220.7433],[178.6486,220.8426],[179.5062,220.8426],[180.3384,220.6356],[186.7722,217.4321],[191.1707,212.0898],[196.848,198.9242],[196.8498,198.9187],[199.2713,190.2366],[212.9464,192.6053],[212.9608,192.6022],[212.9751,192.599],[223.7038,186.7128],[223.7053,186.7114],[230.0302,178.8559],[231.298,176.9543],[231.298,174.676],[232.7082,140.6174],[235.0322,134.4856],[236.2469,124.6942]],i:[[0,0],[8.7007,-1.4771],[2.8764,-5.01],[15.9144,-21.0246],[0,0],[6.0636,-5.3756],[0,0],[2.4179,-2.4179],[2.365,-5.9671],[0,0],[-1.0148,-7.8566],[-.7151,-15.7181],[0,0],[0,0],[0,0],[-1.2768,-21.2653],[.3338,-9.1382],[.1463,-2.5596],[.0168,-.2927],[.0876,-2.1194],[-.664,-4.5937],[-9.98,-7.9635],[0,0],[0,0],[-17.6259,-5.5444],[-16.2485,1.6061],[-8.1157,4.7531],[-3.1946,8.5639],[-.8001,1.9862],[-1.773,8.3923],[1.1912,25.0657],[0,0],[0,0],[.736,7.3598],[.7695,3.9959],[0,0],[.1699,3.9901],[0,0],[.4731,4.2186],[-.8925,0],[0,0],[0,0],[-1.9513,1.6276],[-1.157,1.9103],[-1.4781,4.6002],[0,0],[-.7089,2.9153],[-4.5021,.9807],[0,0],[0,0],[-2.6684,2.4506],[0,0],[-1.5374,2.5945],[0,0],[0,0],[-.1612,9.2938],[-.4164,1.7711],[-.1394,3.2754]],o:[[-12.059699999999992,-7.58133],[-8.452920000000006,1.4304900000000003],[-11.205290000000005,14.862139999999998],[0,0],[-6.465539999999997,8.544719999999998],[0,0],[-2.5918400000000013,2.3006400000000014],[-4.030659999999999,4.0306599999999975],[0,0],[-2.37737,6.016560000000013],[2.85216,30.805109999999985],[0,0],[0,0],[0,0],[2.1126499999999995,13.427400000000006],[.6382100000000008,10.636869999999988],[-.10082000000000058,2.764070000000004],[-.016790000000000305,.29363999999998214],[-.1283600000000007,2.2354399999999828],[-.1973199999999995,4.7749299999999835],[1.408430000000001,9.744169999999997],[0,0],[0,0],[12.202570000000001,9.029299999999978],[17.56792,5.530640000000005],[8.584589999999992,-.8494000000000028],[7.9635000000000105,-4.663970000000006],[.7374399999999923,-1.9768700000000194],[2.4093499999999892,-5.981290000000001],[2.392239999999987,-11.323550000000012],[0,0],[0,0],[-.9130399999999952,-4.697479999999985],[-.6529500000000041,-6.529680000000013],[0,0],[-.7821999999999889,-4.06665000000001],[0,0],[-.18325999999999,-4.176559999999995],[1.0968799999999987,.07327000000000794],[0,0],[0,0],[2.3316800000000057,-.5800199999999904],[1.8595699999999908,-1.5511199999999974],[2.3501599999999883,-3.866970000000009],[0,0],[.9055600000000084,-2.826279999999997],[4.432690000000008,2.6715499999999963],[0,0],[0,0],[4.435750000000013,-.9857199999999864],[0,0],[2.653349999999989,-2.438199999999995],[0,0],[0,0],[.42427000000000703,-7.987850000000009],[1.2318699999999865,-2.1152800000000127],[.7286799999999971,-3.0774700000000053],[0,0]]}}},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"Path",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!1,v:[[236.1353,113.5486],[244.2856,106.2431],[244.2909,106.2351],[247.2837,99.7245],[247.6887,97.9365],[248.6698,94.4845],[248.2928,89.7519],[248.2865,89.7274],[247.9598,88.4205],[247.2232,87.2745],[216.0346,40.8593]],i:[[0,0],[-1.8438,2.7446],[0,0],[-.5647,2.1191],[-.1111,.6456],[-.0885,.8558],[.2626,1.0326],[.0021,.0081],[0,0],[0,0],[11.0771,15.1625]],o:[[3.62478999999999,-1.8818899999999985],[0,0],[1.4298900000000003,-2.134749999999997],[.15003999999998996,-.5400900000000064],[.6570900000000108,-1.338949999999997],[.19926000000000954,-1.9261400000000037],[-.002090000000009695,-.008219999999994343],[0,0],[0,0],[-5.780270000000002,-9.160610000000005],[0,0]]}}},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"Path",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!1,v:[[216.033,40.8571],[140.5771,8.8489],[236.2467,124.6937]],i:[[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0]]}}},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"Path",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!1,v:[[236.1353,113.5486],[216.0346,40.8593]],i:[[0,0],[0,0]],o:[[0,0],[0,0]]}}},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gf",o:{a:0,k:3,ix:2},r:1,bm:0,g:{p:2,k:{a:0,k:[0,0,0,0,1,0,0,0,0,1,1,0],ix:2}},s:{a:0,k:[112.62712797672008,157.5954380989796],ix:2},e:{a:0,k:[100.7894760305023,243.96163310610265],ix:2},t:1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"tr",p:{a:0,k:[222.04995727539062,161.77601623535156],ix:2},a:{a:0,k:[124.366420477264,201.41493263691518],ix:2},s:{a:0,k:[99.99000123251479,99.99999834779308],ix:2},r:{a:0,k:78.5786998151348,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"tr",p:{a:0,k:[-54.6809,-123.6055],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"tr",p:{a:1,k:[{t:50,s:[127.5001,434.5],i:{x:[.15],y:[1]},o:{x:[.5],y:[.35]}},{t:146,s:[127.5,244.5],i:{x:[.15],y:[1]},o:{x:[.5],y:[.35]}},{t:229,s:[127.5,244.5],i:{x:[.15],y:[1]},o:{x:[.5],y:[.35]}},{t:300,s:[127.5001,434.5],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}}],ix:2},a:{a:0,k:[228.5,146.5],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:301,st:0,bm:0}]}],layers$2=[{ddd:0,ind:45,ty:3,nm:"",sr:1,ks:{p:{a:0,k:[-8.401504516601562,4.652092933654785],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:301,st:0,bm:0},{ddd:0,refId:"2",w:401,h:396,ind:4,ty:0,nm:"mask (Masked)",sr:1,ks:{p:{a:0,k:[8,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:301,st:0,bm:0,parent:45},{ddd:0,ind:46,ty:4,nm:"fra ",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"gr",it:[{ty:"gr",nm:"fra ",it:[{ty:"gr",nm:"Path",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[16,0],[16,0],[16,0],[0,16],[0,175],[16,191],[236,191],[252,175],[252,16],[236,0],[16,0]],i:[[0,0],[0,0],[0,0],[0,-8.83655],[0,0],[-8.83655,0],[0,0],[0,8.836549999999988],[0,0],[8.836549999999988,0],[0,0]],o:[[0,0],[0,0],[-8.8366,0],[0,0],[0,8.8366],[0,0],[8.8366,0],[0,0],[0,-8.8366],[0,0],[0,0]]}}},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"Path",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[16,3],[16,3],[236,3],[249,16],[249,175],[236,188],[16,188],[3,175],[3,16],[16,3]],i:[[0,0],[0,0],[0,0],[0,-7.1797],[0,0],[7.179699999999997,0],[0,0],[0,7.179699999999997],[0,0],[-7.1797,0]],o:[[0,0],[0,0],[7.1797,0],[0,0],[0,7.1797],[0,0],[-7.1797,0],[0,0],[0,-7.1797],[0,0]]}}},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"fl",c:{a:0,k:[1,1,1],ix:2},o:{a:0,k:50,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"tr",p:{a:0,k:[201.59849548339844,221.152099609375],ix:2},a:{a:0,k:[126,95.5],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:301,st:0,bm:0},{ddd:0,ind:47,ty:4,nm:"frashadow",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"gr",it:[{ty:"gr",nm:"frashadow",it:[{ty:"gr",nm:"Path",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[19,0],[19,0],[19,0],[0,19],[0,178],[19,197],[239,197],[258,178],[258,19],[239,0],[19,0]],i:[[0,0],[0,0],[0,0],[0,-10.49341],[0,0],[-10.49341,0],[0,0],[0,10.493390000000005],[0,0],[10.493410000000011,0],[0,0]],o:[[0,0],[0,0],[-10.4934,0],[0,0],[0,10.4934],[0,0],[10.4934,0],[0,0],[0,-10.4934],[0,0],[0,0]]}}},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"Path",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[239,3],[239,3],[239,3],[255,19],[255,178],[239,194],[19,194],[3,178],[3,19],[19,3],[239,3]],i:[[0,0],[0,0],[0,0],[0,-8.83656],[0,0],[8.836559999999992,0],[0,0],[0,8.836559999999992],[0,0],[-8.83656,0],[0,0]],o:[[0,0],[0,0],[8.8365,0],[0,0],[0,8.8365],[0,0],[-8.8365,0],[0,0],[0,-8.8366],[0,0],[0,0]]}}},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"fl",c:{a:0,k:[0,0,0],ix:2},o:{a:0,k:2,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"tr",p:{a:0,k:[201.59849548339844,221.152099609375],ix:2},a:{a:0,k:[129,98.5],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:301,st:0,bm:0},{ddd:0,refId:"11",w:421,h:433,ind:48,ty:0,nm:"hand1",sr:1,ks:{p:{a:0,k:[-8.401504516601562,4.652092933654785],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:1,k:[{t:50,s:[0],i:{x:[.15],y:[1]},o:{x:[.5],y:[.35]}},{t:146,s:[100],i:{x:[.15],y:[1]},o:{x:[.5],y:[.35]}},{t:229,s:[100],i:{x:[.15],y:[1]},o:{x:[.5],y:[.35]}},{t:300,s:[0],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}}],ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:301,st:0,bm:0},{ddd:0,ind:49,ty:4,nm:"bg",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"gr",nm:"bg",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[297,148.5],[148.5,297],[0,148.5],[148.5,0],[297,148.5],[297,148.5],[297,148.5]],i:[[0,0],[82.0165,0],[0,82.0166],[-82.0165,0],[0,-82.0165],[0,0],[0,0]],o:[[0,82.01659999999998],[-82.0165,0],[0,-82.0165],[82.01650000000001,0],[0,0],[0,0],[0,0]]}}},{ty:"fl",c:{a:0,k:[0,.47843137254901963,1],ix:2},o:{a:0,k:7.000000000000001,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[202.09849548339844,221.152099609375],ix:2},a:{a:0,k:[148.5,148.5],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:301,st:0,bm:0}],markers$2=[],tutorialAnimationJson={v:v$2,fr:fr$2,ip:ip$2,op:op$2,w:w$2,h:h$3,nm:nm$2,ddd:ddd$2,metadata:metadata$2,assets:assets$2,layers:layers$2,markers:markers$2},PassportTutorial=({onContinue:Be})=>{const{t:Le}=useTranslation$1(),{uiConfig:Ye}=useCaptureIdState();return jsxRuntimeExports.jsx(BaseTutorial,{title:Le("idv2.capture.passport.title"),subtitle:Le("idv2.capture.passport.subtitle"),animationData:tutorialAnimationJson,onContinue:Be,uiConfig:Ye,onClose:()=>idFlowManager.onClose()})},IdFlow=({initialMode:Be})=>{const{completeWithError:Le,captureConfiguration:Ye,uiConfig:tt,isDeepsightEnabled:nt}=useCaptureIdState(),ft=()=>Ye.usSmartCapture&&Be==="front"||Ye.onlyBack?"back":Be,[ht,gt]=React.useState(Ye.showTutorial?"tutorial":idFlowManager.getPermissionsGranted()?"capture":"permissions"),At=()=>{idFlowManager.getPermissionsGranted()?gt("capture"):gt("permissions")},xt=()=>{gt("capture")};if(ht==="tutorial")return Be==="passport"?jsxRuntimeExports.jsx(PassportTutorial,{onContinue:At}):jsxRuntimeExports.jsx(IdTutorial,{onContinue:At});if(ht==="permissions")if(idFlowManager.getPermissionsGranted())xt();else return jsxRuntimeExports.jsx(Permissions,{onContinue:xt,uiConfig:tt,onClose:()=>idFlowManager.onClose(),emitError:yt=>Le({code:yt,message:"Error in permissions",error:new Error(yt)}),isDeepsightEnabled:nt});return ht==="capture"?jsxRuntimeExports.jsx(IdCaptureManager,{initialMode:ft(),isDeepsightEnabled:nt}):null},ManualIdUploadWrapper=()=>{const{token:Be,completeFlow:Le}=useCaptureIdState();return Be?jsxRuntimeExports.jsx(CaptureManualId,{token:{token:Be},onSuccess:()=>{Le()}}):null},EndComponent=()=>null,IdFrontScanner=()=>jsxRuntimeExports.jsx(IdFlow,{initialMode:"front"}),IdPassportScanner=()=>jsxRuntimeExports.jsx(IdFlow,{initialMode:"passport"}),steps$2={chooser:{component:Chooser},id:{component:IdFrontScanner},passport:{component:IdPassportScanner},manualIdUpload:{component:ManualIdUploadWrapper},digitalIdUpload:{component:DigitalIdFlow},permissions:{component:Permissions},end:{component:EndComponent}},IdCaptureV2Manager=({session:Be,onSuccess:Le,onError:Ye,kioskOptions:tt,captureConfig:nt,uiConfig:ft,parentSize:ht,onCapture:gt,captureOnly:At,captureMode:xt})=>{var wt;const[yt,Ct]=React.useState(idFlowManager.getState().currentStep),Et=React.useRef(Le),vt=React.useRef(Ye);React.useEffect(()=>{Et.current=Le},[Le]),React.useEffect(()=>{vt.current=Ye},[Ye]),useModuleEvents({module:eventModuleNames.front,token:Be==null?void 0:Be.token,payload:{moduleVersion:"2"}});const kt=React.useRef({sessionToken:Be==null?void 0:Be.token,captureConfig:nt,kioskOptions:tt,parentSize:ht,uiConfig:ft,onCapture:gt,captureOnly:At,captureMode:xt});React.useEffect(()=>{kt.current={sessionToken:Be==null?void 0:Be.token,captureConfig:nt,kioskOptions:tt,parentSize:ht,uiConfig:ft,onCapture:gt,captureOnly:At,captureMode:xt}},[Be==null?void 0:Be.token,nt,tt,ht,ft,gt,At,xt]),React.useEffect(()=>{const It=idFlowManager.subscribe(Rt=>{Ct(Rt.currentStep),Rt.flowOutcome==="success"?Et.current(Rt.successData):Rt.flowOutcome==="error"&&Rt.errorDetails&&vt.current(Rt.errorDetails)});return idFlowManager.initialize(kt.current),()=>{It(),idFlowManager.reset()}},[]);const bt=yt&&((wt=steps$2[yt])!=null&&wt.component)?steps$2[yt].component:null;return bt?jsxRuntimeExports.jsx(IncodeProvider,{token:Be==null?void 0:Be.token,uiConfig:ft,children:jsxRuntimeExports.jsx(bt,{})}):null},defaultUiConfig={closeButton:{show:!1}},CaptureIdInside=({onSuccess:Be,onError:Le,session:Ye,forceIdV2:tt,kioskOptions:nt,captureConfig:ft,uiConfig:ht=defaultUiConfig,parentSize:gt,onCapture:At,captureOnly:xt=!1,captureMode:yt="both"})=>{const{width:Ct,height:Et}=gt||useViewportSize(),vt=getFeatureFlag("new_id_capture_ux_least_risky_clients");return tt||vt?jsxRuntimeExports.jsx(ContentWrapper$2,{height:Et,width:Ct,children:jsxRuntimeExports.jsx(IdCaptureV2Manager,{session:Ye,onSuccess:Be,onError:Le,kioskOptions:nt,captureConfig:ft,uiConfig:ht,parentSize:{width:Ct,height:Et},onCapture:At,captureOnly:xt,captureMode:yt})}):jsxRuntimeExports.jsx(CaptureId$2,{session:Ye,onSuccess:Be,onError:Le,kioskOptions:nt,captureConfig:ft,uiConfig:ht,onCapture:At,captureOnly:xt})},CaptureId=Be=>{var Le;return jsxRuntimeExports.jsx(IncodeProvider,{token:(Le=Be.session)==null?void 0:Le.token,uiConfig:Be.uiConfig,children:jsxRuntimeExports.jsx(CaptureIdInside,{...Be})})};function renderCaptureId(Be,{onSuccess:Le,onError:Ye,onCapture:tt,...nt}){const ft=createRoot$1(Be);return customRender(jsxRuntimeExports.jsx(CaptureId,{onSuccess:handleUnmountRoot(Le,ft,Be),onError:handleUnmountRoot(Ye,ft,Be),onCapture:tt?handleUnmountRoot(tt,ft,Be):void 0,...nt}),Be,ft),{close:handleUnmountRoot(emptyFunc,ft,Be)}}function addPhone({token:Be,phone:Le,text:Ye,optInGranted:tt}){return exports.api.post("/omni/add/phone",{phone:Le,text:Ye,optInGranted:tt},{headers:{"X-Incode-Hardware-Id":Be}}).catch(nt=>Promise.reject(nt.response.data))}async function addPhoneInstantVerify({token:Be,phone:Le,text:Ye,optInGranted:tt}){return exports.api.post("/omni/instant/add/phone",{phone:Le,text:Ye,optInGranted:tt},{headers:{"X-Incode-Hardware-Id":Be}}).catch(nt=>Promise.reject(nt.response.data))}const getPhoneUrl="/omni/get/phone";function getPhone(Be){return exports.api.get(getPhoneUrl,{headers:{"X-Incode-Hardware-Id":Be.token}}).then(Le=>Le.data).catch(Le=>Promise.reject(Le.response.data))}const getStartInfoUrl=()=>"/omni/start-info",getStartInfo=({token:Be})=>exports.api.get(getStartInfoUrl(),{headers:{"X-Incode-Hardware-Id":Be}}).then(Le=>Le.data).catch(Le=>Promise.reject(Le.response.data));function compareGovValidationOTP({token:Be,code:Le}){return exports.api.post(`/omni/submit-otp?code=${Le}`,{},{headers:{"X-Incode-Hardware-Id":Be}}).then(Ye=>Ye.data).catch(Ye=>Promise.reject(Ye.response.data))}function compareOTP({token:Be,code:Le,channel:Ye="SMS"}){return exports.api.get(`/omni/compare/otp?code=${Le}&channel=${Ye}`,{headers:{"X-Incode-Hardware-Id":Be}}).then(tt=>tt.data).catch(tt=>Promise.reject(tt.response.data))}function sendOTPSMS({token:Be,communicationChannel:Le="SMS"}){return exports.api.get(`/omni/send/sms-otp?communicationchannel=${Le}`,{headers:{"X-Incode-Hardware-Id":Be}}).then(Ye=>Ye.data).catch(Ye=>Promise.reject(Ye.response.data))}const TIMER_VALUE$1=30;function SMSOTP$1({token:{token:Be},onError:Le,onLog:Ye=()=>{},onSuccess:tt,goBack:nt,numberOfTries:ft,isIndianGovernmentValidation:ht=!1,isEmail:gt=!1}){const[At,xt]=React.useState(""),[yt,Ct]=React.useState(0),[Et,vt]=React.useState(!1),{state:kt,actions:{off:bt,on:wt}}=useToggle(!1),{t:It}=useTranslation$1(),Rt=gt?"EMAIL":"PHONE",[Tt,Bt]=React.useState(TIMER_VALUE$1),[Pt,Dt]=React.useState(!0);React.useEffect(()=>{let Ft;return Pt&&(Ft=setInterval(()=>{Tt>0?Bt(Xt=>Xt-1):(Dt(!1),clearInterval(Ft))},1e3)),()=>{clearInterval(Ft)}},[Tt,Pt]),useScreenEvents({module:eventModuleNames.otp,screen:eventScreenNames.smsOtp,token:Be});const Ot=React.useCallback(()=>{Bt(TIMER_VALUE$1),Dt(!0),sendOTPSMS({token:Be,communicationChannel:gt?"EMAIL":"SMS"}),vt(!1),xt("")},[Be,gt]);React.useEffect(()=>{ht||Ot()},[Ot,ht]);function Lt(Ft){Ft!==At&&(xt(Ft),vt(!1))}async function Wt(){vt(!0);const Ft=yt+1;Ct(Xt=>Xt+1),addEvent({code:"wrongOTPEntered",module:Rt,token:Be}),Ye(getLogObject("otpAttemptFailed",{message:"Incorrect OTP"})),ft!==-1&&Ft>=ft&&(Le("OTPError"),Ye(getLogObject("otpNoAttemptsLeft",{message:"No attempts left"})))}async function $t(){try{if(kt)return;wt();const{success:Ft}=ht?await compareGovValidationOTP({token:Be,code:At}):await compareOTP({token:Be,code:At,channel:gt?"EMAIL":"SMS"});Ft?(addEvent({token:Be,code:"otpSubmitted",module:Rt}),addEvent({code:"correctOTPEntered",module:Rt,token:Be}),Ye==null||Ye(getLogObject("otpPassed",{message:"Correct OTP"})),tt()):Wt()}catch{Wt()}finally{bt()}}const qt=()=>{addEvent({code:gt?"changeEmailClicked":"changePhoneClicked",module:Rt,token:Be}),nt()},Ht=()=>{addEvent({code:"tryAgainOTPClicked",module:Rt,token:Be}),Ot()},Ut=useTokens();return jsxRuntimeExports.jsxs(Page$1,{children:[jsxRuntimeExports.jsxs(Flex,{direction:"column",align:"center",hFull:!0,wFull:!0,pt:Ut.spacing[10],children:[jsxRuntimeExports.jsx(Title$p,{children:It(gt?"otp.enterCodeEmail":"otp.enterCodeSMS")}),jsxRuntimeExports.jsx(IndividualCharacterInputBoxes,{amount:6,hasError:Et,onChange:Lt,autoFocus:!0,value:At,disabled:kt})]}),jsxRuntimeExports.jsx(Button$b,{onClick:$t,disabled:!At||At.length<6,isLoading:kt,children:It("common.continue")}),!ht&&jsxRuntimeExports.jsx(Flex,{py:Ut.spacing[4],wFull:!0,align:"center",direction:"column",justify:"center",color:Ut.color.text.body.primary,children:Tt>0?jsxRuntimeExports.jsx(Text$8,{fontSize:Ut.typography.fontSize.lg,textAlign:"center",color:Ut.button.tertiary.disabled,pt:Ut.spacing[4],children:jsxRuntimeExports.jsx(Trans,{t:It,children:It("otp.resendCountdown",{time:Tt})})}):jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment,{children:jsxRuntimeExports.jsxs(Text$8,{textAlign:"center",fontSize:Ut.typography.fontSize.lg,fontWeight:"500",color:kt?Ut.button.tertiary.disabled:Ut.button.tertiary.text.default,children:[It("otp.didYouNotGetIt"),jsxRuntimeExports.jsx(Text$8,{as:"a",color:kt?Ut.button.tertiary.disabled:Ut.button.tertiary.text.default,fontSize:Ut.typography.fontSize.lg,onClick:Ht,children:It("otp.resendCode")}),nt&&jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx("br",{}),` ${It("otp.or")} `,jsxRuntimeExports.jsx(Text$8,{as:"a",color:kt?Ut.button.tertiary.disabled:Ut.button.tertiary.text.default,fontSize:Ut.typography.fontSize.lg,onClick:qt,children:It(gt?"otp.changeEmail":"otp.changePhoneNumber")})]})]})})})]})}const getErrorTranslationKey$2=Be=>Be==="Bad Request"?"phone.invalid":"phone.genericError",usePrefilledPhone=({token:Be,prefill:Le})=>{const[Ye,tt]=React.useState(null);return React.useEffect(()=>{Le&&getPhone({token:Be}).then(nt=>{tt(nt.phone)})},[Le,Be]),Ye},Phone$1=({token:Be,optinEnabled:Le,isInstantVerify:Ye=!1,onSuccess:tt,prefill:nt,otpVerification:ft=!1})=>{const ht=usePrefilledPhone({token:Be,prefill:nt}),{t:gt}=useTranslation$1(),[,At]=React.useState(null),[xt,yt]=React.useState(!1),[Ct,Et]=React.useState(""),[vt,kt]=React.useState(""),[bt,wt]=React.useState(!0),[It,Rt]=React.useState(""),[Tt,Bt]=React.useState(!1),[Pt,Dt]=React.useState(Le),Ot=useTokens(),[Lt,Wt]=React.useState({phoneNumber:"",countryCode:""});useModuleEvents({module:eventModuleNames.phone,token:Be}),useScreenEvents({module:eventModuleNames.phone,screen:Ye?eventScreenNames.instantVerify:eventScreenNames.phoneInput,token:Be}),React.useEffect(()=>{if(ht){const qt=ht.startsWith("+")?ht:`+${ht}`,Ht=parsePhoneNumber(qt);if(Ht!=null&&Ht.isValid()){Wt({phoneNumber:Ht.nationalNumber,countryCode:Ht.country||""}),kt(qt),wt(!1);const Ft=new AsYouType(Ht.country).input(Ht.nationalNumber);Et(Ft)}}},[ht]),React.useEffect(()=>{getStartInfo({token:Be}).then(qt=>{Lt.countryCode?Rt(Lt.countryCode):Rt(qt.ipIsoCode),ht||Et(qt.phonePrefix),Bt(!0)})},[Be,Lt,ht]);const $t=async()=>{if(!xt)try{yt(!0);const qt=Ye?await addPhoneInstantVerify({phone:vt,token:Be,...Le?{optInGranted:Pt}:null}):await addPhone({phone:vt,token:Be,...Le?{optInGranted:Pt}:null});if(addEvent({code:"continue",token:Be,module:eventModuleNames.phone,screen:Ye?eventScreenNames.instantVerify:eventScreenNames.phoneInput}),At(null),tt)return tt(qt.data)}catch(qt){At(gt(getErrorTranslationKey$2(qt.error))),yt(!1)}};return Tt?jsxRuntimeExports.jsxs(Page$1,{children:[jsxRuntimeExports.jsxs(Flex,{hFull:!0,wFull:!0,align:"center",direction:"column",mt:Ot.spacing[4],children:[jsxRuntimeExports.jsx(Title$p,{children:gt("phone.verify")}),ft?jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(Spacer,{size:Ot.spacing[3]}),jsxRuntimeExports.jsx(Subtitle$6,{children:gt("email.willSendCode")})]}):null,jsxRuntimeExports.jsx(Spacer,{size:Ot.spacing[8]}),jsxRuntimeExports.jsx(PhoneInput,{countryISOCode:It,onChange:(qt,Ht)=>{kt(qt),wt(!Ht)},disabled:xt})]}),jsxRuntimeExports.jsx(Button$b,{disabled:bt,isLoading:xt,onClick:$t,mb:Ot.spacing[4],children:gt("common.continue")})]}):null},phoneNumberSteps={PhoneNumber:0,OTP:1};function PhoneNumberOrchestrator({token:Be,prefill:Le,otpVerification:Ye,onSuccess:tt,onError:nt}){const{setStep:ft,currentStep:ht}=useSteps(()=>phoneNumberSteps.PhoneNumber);return jsxRuntimeExports.jsx(IncodeProvider,{token:Be,children:jsxRuntimeExports.jsxs(Steps,{currentStep:ht,children:[jsxRuntimeExports.jsx(Phone$1,{onSuccess:()=>Ye?ft(phoneNumberSteps.OTP):tt(),otpVerification:Ye,token:Be,prefill:Le}),jsxRuntimeExports.jsx(SMSOTP$1,{numberOfTries:3,goBack:()=>ft(phoneNumberSteps.PhoneNumber),onError:nt,onSuccess:tt,isEmail:!1,isIndianGovernmentValidation:!1,token:{token:Be}})]})})}function renderPhone(Be,{onSuccess:Le,onError:Ye,session:tt,optinEnabled:nt,optinCompanyName:ft,otpVerification:ht,onLog:gt=emptyFunc,prefill:At}){const xt=createRoot(Be),yt={onLog:gt,token:tt.token,onSuccess:handleUnmountRoot(Le,xt,Be),onError:handleUnmountRoot(Ye,xt,Be),optinEnabled:nt,optinCompanyName:ft,otpVerification:ht,prefill:At};xt.render(jsxRuntimeExports.jsx(App$1,{token:tt.token,children:jsxRuntimeExports.jsx(PhoneNumberOrchestrator,{...yt})}))}const warrningIcon="data:image/svg+xml,%3csvg%20width='33'%20height='32'%20viewBox='0%200%2033%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_18_21793)'%3e%3cpath%20d='M16.5%2028C23.1274%2028%2028.5%2022.6274%2028.5%2016C28.5%209.37258%2023.1274%204%2016.5%204C9.87258%204%204.5%209.37258%204.5%2016C4.5%2022.6274%209.87258%2028%2016.5%2028Z'%20stroke='%23FF5C6F'%20stroke-width='2'%20stroke-miterlimit='10'/%3e%3cpath%20d='M16.5%2017V10'%20stroke='%23FF5C6F'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M16.5%2023C17.3284%2023%2018%2022.3284%2018%2021.5C18%2020.6716%2017.3284%2020%2016.5%2020C15.6716%2020%2015%2020.6716%2015%2021.5C15%2022.3284%2015.6716%2023%2016.5%2023Z'%20fill='%23FF5C6F'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_18_21793'%3e%3crect%20width='32'%20height='32'%20fill='white'%20transform='translate(0.5)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",ModalIcon=dt.img``,ModalHeader=dt.div`
5527
+ `,StatusMessage=({orientation:Be,icon:Le,iconColor:Ye,title:tt,subtitle:nt,buttonText:ft,onButtonClick:ht,additionalContent:gt})=>{const At=useTokens(),{contentMarginTop:xt,shouldShowAtBottom:yt}=useProcessingLayout(Be),Ct=getStatusMessageMargin(yt,xt);return jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsxs(Flex,{content:"center",mb:4,mt:Ct,children:[jsxRuntimeExports.jsx(IconContainer$1,{$fillColor:Ye,children:Le}),jsxRuntimeExports.jsx(Spacer,{size:4})]}),jsxRuntimeExports.jsx(Title$p,{textAlign:"center",color:At.color.text.body.invert,children:tt}),jsxRuntimeExports.jsx(Spacer,{size:3}),jsxRuntimeExports.jsx(Text$8,{color:At.color.text.body.tertiary,fontWeight:400,textAlign:"center",children:nt}),(ft||gt)&&jsxRuntimeExports.jsxs(Flex,{position:"absolute",bottom:"34px",left:0,wFull:!0,justify:"center",direction:"column",py:0,px:7,zIndex:5,children:[gt,ft&&ht&&jsxRuntimeExports.jsx(Button$b,{onClick:ht,children:ft})]})]})},IdError=({image:Be,orientation:Le,initialMode:Ye,errorType:tt,mode:nt,onButtonClick:ft})=>{var bt,wt,It;const{t:ht}=useTranslation$1(),gt=useTokens(),{attempts:At,captureConfiguration:xt,canRetry:yt}=useCaptureIdState(),{title:Ct,subtitle:Et}=getErrorConfig(tt,nt,ht),vt=yt()?ht("idv2.capture.processing.tryAgain"):ht("idv2.capture.processing.continue"),kt=yt()?jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(Text$8,{textAlign:"center",color:gt.color.text.body.invert,children:ht("idv2.capture.processing.attemptsRemaining",{attempts:At,maxAttempts:xt==null?void 0:xt.captureAttempts})}),jsxRuntimeExports.jsx(Spacer,{size:4})]}):null;return jsxRuntimeExports.jsx(IdProcessingLayout,{image:Be,orientation:Le,initialMode:Ye,borderColor:gt.color.surface.status.negative,children:jsxRuntimeExports.jsx(StatusMessage,{orientation:Le,icon:jsxRuntimeExports.jsx(SvgRedStrike,{title:ht("idv2.capture.processing.error")}),iconColor:(It=(wt=(bt=gt==null?void 0:gt.primitives)==null?void 0:bt.color)==null?void 0:wt.negative)==null?void 0:It["500"],title:Ct,subtitle:Et,buttonText:vt,onButtonClick:ft,additionalContent:kt})})},SvgGreenCheck=Be=>React__namespace.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:32,height:32,viewBox:"0 0 32 32",fill:"none",...Be},React__namespace.createElement("path",{d:"M16 0C24.8363 0.00012782 32 7.1636 32 16C31.9999 24.8363 24.8363 31.9999 16 32C7.16362 32 7.37067e-05 24.8364 0 16C0 7.16352 7.16357 0 16 0ZM22.3486 11.2314C21.8838 10.7668 21.1503 10.736 20.6494 11.1387L20.6406 11.1455L20.5537 11.2236L13.7139 18.0635L11.4521 15.8008C10.9543 15.3032 10.1473 15.3033 9.64941 15.8008C9.18435 16.2658 9.15345 17.0008 9.55664 17.502L9.56348 17.5098L9.6416 17.5977L12.8125 20.7686C13.2775 21.2335 14.0117 21.2644 14.5127 20.8613L14.5205 20.8545L14.6084 20.7764L22.3486 13.0352C22.8467 12.5371 22.8467 11.7295 22.3486 11.2314Z",fill:"#189F60"})),IdSuccess=({image:Be,orientation:Le,initialMode:Ye,title:tt,subtitle:nt,buttonText:ft,onButtonClick:ht})=>{var xt,yt,Ct;const{t:gt}=useTranslation$1(),At=useTokens();return jsxRuntimeExports.jsx(IdProcessingLayout,{image:Be,orientation:Le,initialMode:Ye,borderColor:At.color.surface.status.positive,children:jsxRuntimeExports.jsx(StatusMessage,{orientation:Le,icon:jsxRuntimeExports.jsx(SvgGreenCheck,{title:gt("idv2.capture.processing.success")}),iconColor:(Ct=(yt=(xt=At==null?void 0:At.primitives)==null?void 0:xt.color)==null?void 0:yt.positive)==null?void 0:Ct["600"],title:tt,subtitle:nt,buttonText:ft,onButtonClick:ht})})},useIdSuccessState=(Be,Le)=>{const{t:Ye}=useTranslation$1(),{successData:tt,captureConfiguration:nt}=useCaptureIdState(),{goToFront:ft,goToBack:ht,finish:gt}=Le,At=Ye("idv2.capture.processing.successTitle");if(Be==="front")return nt.usSmartCapture||tt!=null&&tt.skipBackIdCapture?{title:At,subtitle:Ye("idv2.capture.processing.successBackSubtitle"),buttonText:Ye("idv2.capture.processing.continue"),onButtonClick:gt}:{title:At,subtitle:Ye("idv2.capture.processing.successFrontSubtitle"),buttonText:Ye("idv2.capture.processing.scanBack"),onButtonClick:ht};if(Be==="back")return nt.usSmartCapture?(tt==null?void 0:tt.forceFrontIdCapture)===!0?{title:At,subtitle:Ye("idv2.capture.processing.successBackSubtitleScanFront"),buttonText:Ye("idv2.capture.processing.scanFront"),onButtonClick:ft}:{title:At,subtitle:Ye("idv2.capture.processing.successBackSubtitle"),buttonText:Ye("idv2.capture.processing.continue"),onButtonClick:gt}:{title:At,subtitle:Ye("idv2.capture.processing.successBackSubtitle"),buttonText:Ye("idv2.capture.processing.continue"),onButtonClick:gt}},getIdErrorAction=(Be,Le)=>{const{onTryAgain:Ye,onContinue:tt,finishWithError:nt}=Le;return Be==="RETRY_EXHAUSTED_CONTINUE_TO_BACK"?tt:Be==="RETRY_EXHAUSTED_SKIP_BACK"||Be==="NO_MORE_TRIES"?nt:Ye},getFrameColor=({isCapturing:Be,isBadState:Le,hasError:Ye,isSuccess:tt,tokens:nt})=>tt?nt.color.surface.status.positive:Be?nt.color.surface.primary[500]:Le||Ye?nt.color.surface.status.negative:nt.color.surface.neutral.light,getTypeFromMode=Be=>Be==="passport"||Be==="front"?"front":"back",getRecordingType=Be=>Be==="passport"||Be==="front"?"frontId":"backId",CaptureId$1=({initialMode:Be="front",switchToBack:Le,switchToFront:Ye,isDeepsightEnabled:tt})=>{var Ir,Nr;const nt=React.useRef(null),ft=React.useRef(null),[ht,gt]=React.useState(null),[At,xt]=React.useState(0),[yt,Ct]=React.useState(null),[Et,vt]=React.useState(!1),{uploadId:kt,token:bt,completeWithError:wt,captureConfiguration:It,kioskOptions:Rt,resetAttempts:Tt,completeFlow:Bt,captureOnly:Pt,onCapture:Dt,storeCapturedImage:Ot,completeCaptureOnlyFlow:Lt}=useCaptureIdState(),Wt=getTypeFromMode(Be),$t=useTokens();useScreenEvents({module:eventModuleNames.front,screen:eventScreenNames[`${Wt}CameraCapture`],token:bt});const qt=React.useRef(!1);React.useEffect(()=>{qt.current=!1},[]);const Ht=async Or=>{const{blob:Vr,url:Yr}=Or.getBlobData(),e0=Or.getBase64Image();if(await onboardingAnalytics.analyzeFrame(e0),onboardingAnalytics.update(),MlWasmJSApi$1.reset(),Ot(Wt,{imageBase64:e0,blob:Vr,url:Yr,metadata:onboardingAnalytics.getMetadata()}),vt(!0),ur==="id"&&Wt==="front"&&!It.onlyFront){Tt(),Le==null||Le();return}onboardingAnalytics.stopMotionSensors(),Lt()},{startRecording:Ut,stopRecording:Ft}=useMediaRecorder({token:bt,type:getRecordingType(Be)}),Xt=()=>{Ct(null),gt(null),vt(!1),xt(0),qt.current=!1,Yt&&Yt()},_t=()=>{Tt(),Ye(),Ft()},Mt=()=>{Tt(),Le(),Ft()},jt=()=>{Ft(),Bt()},zt=async Or=>{const Vr={canvas:null,itr:null,skipped:null};if(await MlWasmJSApi$1.poc(Vr),(Vr==null?void 0:Vr.skipped)===!1){if(Vr!=null&&Vr.canvas){const e0=new IncodeCanvas(Vr.canvas).getBase64Image();logFrame({base64Image:e0,token:bt,source:Or==="front"?sources.front:sources.back})}(Vr==null?void 0:Vr.itr)===!0?(addDeviceStats(bt,{virtualCameraDetected:!0}),MlWasmJSApi$1.setZc("FAIL")):(Vr==null?void 0:Vr.itr)===!1&&MlWasmJSApi$1.setZc("PASS")}},Gt=async()=>{await Ft(),wt({code:"NO_MORE_TRIES",message:yt.message,error:yt})},{startDetection:Yt,shouldShowIdHint:ar,isWrongSide:tr,isIdle:sr,isFarAway:dr,isGlare:rr,isBlur:gr,isManualCapture:yr,isCapturing:or,isBadState:ir,stopDetection:Zt,orientation:Qt,counterValue:er,switchToManualCapture:nr,onManualCapture:lr,detectionState:hr,idType:ur}=useIdDetection({mode:Be,getCanvas:()=>nt.current.getCanvas(),onCapture:async(Or,{qualityElements:Vr})=>{var Yr;Zt(),await sleep(300);try{if(Pt&&Dt){await Ht(Or);return}const e0=(Yr=ft.current)==null?void 0:Yr.getBoundingClientRect(),Rr=MlWasmJSApi$1.IdPerspectiveTransform(Or.getImageData(),{x:Or.width()*e0.left/document.documentElement.clientWidth,y:Or.height()*e0.top/document.documentElement.clientHeight,w:Or.width()*e0.width/document.documentElement.clientWidth,h:Or.height()*e0.height/document.documentElement.clientHeight}),Tr=(Rr?new IncodeCanvas(Rr):Or).getBase64Image();gt({canvas:Or,qualityElements:Vr,image:Tr}),await zt(Wt);const n0=Or.getBase64Image();await kt({image:n0,type:Wt,sendBase64:!0,glare:Vr==null?void 0:Vr.glare,sharpness:Vr==null?void 0:Vr.sharpness,onProgress:xt}),vt(!0),onboardingAnalytics.stopMotionSensors()}catch(e0){console.error("Failed to upload ID:",e0),qt.current=!1,e0 instanceof CaptureIdError?Ct(e0):Ct(new CaptureIdError("UPLOAD_ERROR","Upload error"))}}}),xr=getFrameColor({isBadState:ir,isCapturing:or,hasError:!!yt,isSuccess:Et,tokens:$t}),Mr=yt?"error":Et?"success":ht?"uploading":null,_r=()=>{Xt()},Zr=useIdSuccessState(Wt,{goToFront:_t,goToBack:Mt,finish:jt}),qr=getIdErrorAction(yt==null?void 0:yt.errorKey,{onTryAgain:_r,onContinue:Mt,finishWithError:Gt}),$r=async Or=>{!Pt&&It.isRecordingEnabled&&await Ut(Or)};if(hr==="offline")return jsxRuntimeExports.jsx(NoInternetError,{isV2:!0});const Pr=()=>{var Vr;const Or=(Vr=nt.current)==null?void 0:Vr.video;setTimeout(()=>{Or==null||Or.play()},1)};return jsxRuntimeExports.jsxs(IdFlowPage,{position:"relative",hideHeaderBranding:!0,hideFooterBranding:!0,p:0,closeButtonColor:Mr===null?$t.primitives.color.neutral.light:void 0,closeButtonOnCancel:()=>{Pr()},"data-testid":`${Be}-capture-page`,children:[Mr==="uploading"&&jsxRuntimeExports.jsx(IdAnalyzing,{image:ht==null?void 0:ht.image,progress:At,orientation:Qt,initialMode:Be==="passport"?"passport":"id"}),Mr==="success"&&jsxRuntimeExports.jsx(IdSuccess,{image:ht==null?void 0:ht.image,orientation:Qt,initialMode:Be==="passport"?"passport":"id",title:Zr.title,subtitle:Zr.subtitle,buttonText:Zr.buttonText,onButtonClick:Zr.onButtonClick}),Mr==="error"&&jsxRuntimeExports.jsx(IdError,{image:ht==null?void 0:ht.image,orientation:Qt,initialMode:Be==="passport"?"passport":"id",errorType:yt==null?void 0:yt.errorKey,mode:Wt,onButtonClick:qr}),jsxRuntimeExports.jsx(CaptureOverlay,{ref:ft,isWrongSide:tr,isIdle:sr,isFarAway:dr,isGlare:rr,isBlur:gr,isManualCapture:yr,isCapturing:or,mode:Be,frameColor:xr,orientation:Qt,counterValue:er,isCameraReady:!!((Nr=(Ir=nt.current)==null?void 0:Ir.video)!=null&&Nr.readyState)}),ar&&!Et&&jsxRuntimeExports.jsx(IDHint,{mode:Be,orientation:Qt}),yr&&jsxRuntimeExports.jsx(ManualCaptureButton,{onClick:lr}),!Et&&jsxRuntimeExports.jsx(Webcam,{ref:nt,onPlay:()=>{},videoSource:"environment",onError:Or=>wt({code:"WEBCAM_ERROR",message:typeof Or=="string"?Or:Or.message,error:typeof Or=="string"?new Error(Or):Or}),showCustomCameraPermissionScreen:!1,isIdv2:!0,onStreamReady:async Or=>{await $r(Or),yr||Yt()},isKiosk:Rt==null?void 0:Rt.enableKiosk,flipVerticallyImage:Rt==null?void 0:Rt.flipVerticallyImage,zoomLevel:Rt==null?void 0:Rt.zoomLevel,isDeepsightEnabled:tt,isV2:!0}),jsxRuntimeExports.jsx(NeedHelp,{switchToManualCapture:nr,onCloseCancel:Pr})]})},v$4="5.7.5",fr$4=100,ip$4=0,op$4=300,w$4=256,h$5=180,nm$4="Comp 1",ddd$4=0,metadata$4={},assets$4=[{id:"0",layers:[{ddd:0,ind:1,ty:3,nm:"",sr:1,ks:{p:{a:0,k:[0,-.17592620849609375],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:301,st:0,bm:0},{ddd:0,ind:2,ty:4,nm:"stroke: 0-stroke-mask",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},td:1,ao:0,parent:1,shapes:[{ty:"gr",nm:"stroke",it:[{ty:"rc",d:1,s:{a:0,k:[190,114.35185241699219],ix:2},p:{a:0,k:[0,0],ix:2},r:{a:0,k:7.037036895751953,ix:2}},{ty:"tr",p:{a:0,k:[95,57.175926208496094],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"fl",c:{a:0,k:[0,0,0],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0}],ip:0,op:301,st:0,bm:0},{ddd:0,ind:3,ty:4,nm:"stroke: 0",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},tt:1,ao:0,parent:1,shapes:[{ty:"gr",nm:"stroke",it:[{ty:"rc",d:1,s:{a:0,k:[190,114.35185241699219],ix:2},p:{a:0,k:[0,0],ix:2},r:{a:0,k:7.037036895751953,ix:2}},{ty:"st",c:{a:0,k:[0,0,0],ix:2},o:{a:0,k:9.55125762195122,ix:2},w:{a:0,k:4,ix:2},lc:1,lj:1,ml:4},{ty:"tr",p:{a:0,k:[95,57.175926208496094],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:301,st:0,bm:0},{ddd:0,ind:4,ty:4,nm:"Vector",sr:1,ks:{p:{a:0,k:[0,-.17592620849609375],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"gr",nm:"Vector",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[20.336174011230472,14.481519017662096],[10.168088100466582,28.708600997924805],[0,14.481519017662096],[10.168088100466582,0],[20.336174011230472,14.481519017662096]],i:[[0,0],[4.4573026921291765,0],[0,7.857114888978418],[-9.607272395074013,0],[0,-7.162999348553282]],o:[[0,7.857114888978418],[-4.875072510790041,0],[0,-7.001191495684256],[9.607272395074013,0],[0,0]]}}},{ty:"fl",c:{a:0,k:[1,1,1],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[35.283714294433594,61.520416259765625],ix:2},a:{a:0,k:[10.168087005615234,14.354300498962402],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:301,st:0,bm:0},{ddd:0,ind:5,ty:4,nm:"Vector",sr:1,ks:{p:{a:0,k:[0,-.17592620849609375],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"gr",nm:"Vector",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[2.585263544356252,.6357249709719486],[.5639184743819521,.8078302943604694],[0,6.236114513763313],[1.0358738215133365,7.112615422140214],[2.8208361229521515,3.7918382671934827],[2.585263544356252,.6357249709719486]],i:[[0,0],[.3721928757905259,-.5694721956843303],[0,0],[-.7408842119359059,-.10062962521393391],[-.2225465342933705,.9371134231442041],[.9047087918405513,1.5357453734634474]],o:[[-.7238359406742284,-1.2287105605392608],[0,0],[.013489408026712932,.4728449017620729],[.9260622235793419,.12521527112144595],[.2225465342933705,-.9371134231442041],[0,0]]}}},{ty:"fl",c:{a:0,k:[.8784313725490196,.8784313725490196,.8784313725490196],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[45.16261291503906,63.616188049316406],ix:2},a:{a:0,k:[1.5646631717681885,3.5585689544677734],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:301,st:0,bm:0},{ddd:0,ind:6,ty:4,nm:"Vector",sr:1,ks:{p:{a:0,k:[0,-.17592620849609375],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"gr",nm:"Vector",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[.560088135193917,.6274032447373796],[2.579653127299776,.8189464316241892],[3.0919647216796875,6.252377919741615],[2.0478269027668765,7.118592831899695],[.2944903401112677,3.781230889173264],[.560088135193917,.6274032447373796]],i:[[0,0],[-.366739716408646,-.572902752046297],[0,0],[.7418026979326517,-.09319675889969155],[.21364928905151195,.9394004487279647],[-.9193463218773792,1.5277406721234588]],o:[[.7354311421741407,-1.2218495615414229],[0,0],[-.01796674559060037,.4728449108622851],[-.9272103652869044,.11721064487339525],[-.2135918777847566,-.9388286627613592],[0,0]]}}},{ty:"fl",c:{a:0,k:[.8784313725490196,.8784313725490196,.8784313725490196],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[24.965709686279297,63.315589904785156],ix:2},a:{a:0,k:[1.5459823608398438,3.561277389526367],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:301,st:0,bm:0},{ddd:0,ind:7,ty:4,nm:"shadow",sr:1,ks:{p:{a:0,k:[0,-.17592620849609375],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"gr",nm:"shadow",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[0,.08838224632831858],[10.709214210510254,1.8968533454508854],[0,5.717919198661852],[0,.08838224632831858]],i:[[0,0],[0,0],[9.679713425400355,1.5654766513144098],[0,0]],o:[[5.515848055988135,-.5706156998573915],[0,0],[0,0],[0,0]]}}},{ty:"fl",c:{a:0,k:[.803921568627451,.803921568627451,.803921568627451],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[33.857391357421875,74.56604766845703],ix:2},a:{a:0,k:[5.354607105255127,3.001626491546631],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:301,st:0,bm:0},{ddd:0,ind:8,ty:4,nm:"torso",sr:1,ks:{p:{a:0,k:[0,-.17592620849609375],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"gr",nm:"torso",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[33.43202915831513,0],[48.30771255493164,6.550104996070588],[48.30771255493164,12.64682279098106],[44.897802538666866,16.04387664794922],[3.409910016264771,16.04387664794922],[0,12.64682279098106],[0,8.050972972324764],[.2253466754131905,7.623828626404212],[15.96654068605449,.0016750758663551073],[24.278581738359936,5.917484677210475],[33.43202915831513,0]],i:[[0,0],[-3.7053493460653084,-3.5209113221018913],[0,0],[1.883183936410095,-9193423421578779e-20],[0,0],[0,1.8758406884205434],[0,0],[-.07645700792792086,.1362592443505846],[0,0],[-3.647742649695884,-.06184641352074094],[0,2.398530064010412]],o:[[0,0],[0,0],[0,1.8757970666531905],[0,0],[-1.8832455217961142,-21215800676135137e-21],[0,0],[.07420884196482003,-.1479490686129265],[2.2190882862355052,-3.9542243311982492],[0,2.3967802858674654],[5.086195795497552,0],[0,0]]}}},{ty:"fl",c:{a:0,k:[.4588235294117647,.4588235294117647,.4588235294117647],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[34.48603439331055,87.09834289550781],ix:2},a:{a:0,k:[24.15385627746582,8.02193832397461],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:301,st:0,bm:0},{ddd:0,ind:9,ty:4,nm:"Vector",sr:1,ks:{p:{a:0,k:[0,-.17592620849609375],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"gr",nm:"Vector",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[4.726576700766991,13.878827877237368],[4.726576700766991,13.966874051657504],[0,18.172160700039402],[11.302692554507228,23.079574584960938],[22.60538291931152,18.172160700039402],[17.878808408247465,13.960583792862725],[17.884549809342467,5.63863193257077],[17.884549809342467,5.593457230713114],[17.914741433407254,3.1240290034420926],[4.706024149021118,5.839885316590158],[4.726576700766991,13.878827877237368]],i:[[0,0],[0,0],[3.1266732623093443,-.9394004085542251],[-3.767506248945593,0],[-3.767506248945593,2.726148051152753],[.04563438853972893,1.867365643537479],[-.0032718997261440177,.7084096570481684],[.2054982659214247,.056604162851528354],[-.013948624740317448,3.190416425297435],[-.1970028001743088,-8.76106656043069],[-.012513581324351524,-1.0120138152571008]],o:[[0,0],[-.024395743417375135,1.8639350642025834],[3.767506248945593,2.726148051152753],[3.767506248945593,0],[-3.1054345124062834,-.9405439122795201],[0,-.7089814429903213],[.22461303819185421,.03144675713973798],[.006199389011072396,-2.335064733335078],[.014006026391420814,-3.190416425297435],[.002697882145919471,.8930879283281875],[0,0]]}}},{ty:"fl",c:{a:0,k:[.9333333333333333,.9333333333333333,.9333333333333333],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[35.25586700439453,73.59458923339844],ix:2},a:{a:0,k:[11.302691459655762,11.539787292480469],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:301,st:0,bm:0},{ddd:0,ind:10,ty:4,nm:"bg",sr:1,ks:{p:{a:0,k:[0,-.17592620849609375],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"gr",nm:"bg",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[3.409949818946022,0],[44.89763685097586,0],[48.30758666992188,3.396534661063843],[48.30758666992188,54.34485120503103],[44.89763685097586,57.741390228271484],[3.409949818946022,57.741390228271484],[0,54.34485120503103],[0,3.396534661063843],[3.409949818946022,0]],i:[[0,0],[0,0],[0,-1.8758548119935405],[0,0],[1.8832638011481093,0],[0,0],[0,1.8758548119935405],[0,0],[-1.8832638011481093,0]],o:[[0,0],[1.8832638011481093,0],[0,0],[0,1.8758548119935405],[0,0],[-1.8832638011481093,0],[0,0],[0,-1.8758548119935405],[0,0]]}}},{ty:"fl",c:{a:0,k:[.6745098039215687,.6745098039215687,.6745098039215687],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[34.48596954345703,66.24932861328125],ix:2},a:{a:0,k:[24.153793334960938,28.870695114135742],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:301,st:0,bm:0},{ddd:0,ind:11,ty:4,nm:"Union",sr:1,ks:{p:{a:0,k:[0,-.17592620849609375],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"gr",it:[{ty:"gr",nm:"Filled region",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[79.58521351920115,0],[80.71898247180546,1.1332049383285108],[80.71898247180546,7.4496490324436415],[79.58521351920115,8.582853970772153],[1.1337689526043155,8.582853970772153],[0,7.4496490324436415],[0,1.1332049383285108],[1.1337689526043155,0],[79.58521351920115,0]],i:[[0,0],[0,-.6257573884970806],[0,0],[.6260659717247896,0],[0,0],[0,.6257572520762907],[0,0],[-.6260688379872524,0],[0,0]],o:[[.6260659717247896,0],[0,0],[0,.6257572520762907],[0,0],[-.6260688379872524,0],[0,0],[0,-.6257573884970806],[0,0],[0,0]]}}},{ty:"fl",c:{a:0,k:[.8705882352941177,.8705882352941177,.8705882352941177],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[40.35948944091797,4.291427135467529],ix:2},a:{a:0,k:[40.35949123590273,4.291426985386076],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"Filled region",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[164.23716669197867,.18383847372291914],[165.37037658691406,1.316484632496041],[165.37037658691406,7.663102822602168],[164.23716669197867,8.796307760930679],[150.72306566076364,8.796307760930679],[149.5892967081593,7.663102822602168],[149.5892967081593,1.316484632496041],[150.72306566076364,.18383847372291914],[164.23716669197867,.18383847372291914]],i:[[0,0],[-5900751566369648e-20,-.6256315403184072],[0,0],[.6259649018508033,-.00012265582061534052],[0,0],[0,.6257572520762907],[0,0],[-.6260324637517124,0],[0,0]],o:[[.625928459370919,.00012268701987679787],[0,0],[0,.6256816067482968],[0,0],[-.6260688379872524,0],[0,0],[59006649280418564e-21,-.625707253856796],[0,0],[0,0]]}}},{ty:"fl",c:{a:0,k:[.8705882352941177,.8705882352941177,.8705882352941177],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[157.47984313964844,4.490073204040527],ix:2},a:{a:0,k:[157.47983664753667,4.4900731173268],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"Filled region",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[99.47480820697419,36.15694869054386],[100.6085771595785,37.29015362887237],[100.6085771595785,41.210550989480275],[99.47480820697419,42.343755927808786],[59.74313873328776,42.343755927808786],[58.60936978068344,41.210550989480275],[58.60936978068344,37.29015362887237],[59.74313873328776,36.15694869054386],[99.47480820697419,36.15694869054386]],i:[[0,0],[-212378657220384e-19,-.625707322067191],[0,0],[.626026185272032,-51902665045482415e-21],[0,0],[0,.6257572520762907],[0,0],[-.6260557350731367,0],[0,0]],o:[[.6260130823579163,5189029608287369e-20],[0,0],[0,.6257252614010615],[0,0],[-.6260688379872524,0],[0,0],[21243336849132344e-21,-.6257393127424202],[0,0],[0,0]]}}},{ty:"fl",c:{a:0,k:[.8705882352941177,.8705882352941177,.8705882352941177],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[79.60897064208984,39.25035095214844],ix:2},a:{a:0,k:[79.60897347013096,39.25035230917632],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"Filled region",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[99.47424914930525,50.19125600368926],[100.60801810190956,51.32446094201777],[100.60801810190956,55.24485830262568],[99.47424914930525,56.378063240954184],[59.74257967561882,56.378063240954184],[58.6088107230145,55.24485830262568],[58.6088107230145,51.32446094201777],[59.74257967561882,50.19125600368926],[99.47424914930525,50.19125600368926]],i:[[0,0],[0,-.6257282626584391],[0,0],[.6260302116883488,-4717541073512617e-20],[0,0],[0,.6257572520762907],[0,0],[-.6260688379872524,0],[0,0]],o:[[.6260302116883488,4718237582245178e-20],[0,0],[0,.6257281262376492],[0,0],[-.6260688379872524,0],[0,0],[0,-.6257573884970806],[0,0],[0,0]]}}},{ty:"fl",c:{a:0,k:[.8705882352941177,.8705882352941177,.8705882352941177],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[79.60841369628906,53.28466033935547],ix:2},a:{a:0,k:[79.60841441246203,53.284659622321726],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"Filled region",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[115.7595990454412,64.22276941905771],[116.89280894037658,65.35541557783084],[116.89280894037658,69.27637171799414],[115.7595990454412,70.40901787676725],[59.74257967561882,70.40901787676725],[58.6088107230145,69.27637171799414],[58.6088107230145,65.35541557783084],[59.74257967561882,64.22276941905771],[115.7595990454412,64.22276941905771]],i:[[0,0],[-56655572470149287e-21,-.6256684421420724],[0,0],[.6259209524930403,-6605008131161611e-20],[0,0],[.00015104334463170795,.6256288801130043],[0,0],[-.6260338968829439,0],[0,0]],o:[[.625979164918773,6606611391848458e-20],[0,0],[-.00015106457102201688,.6255880902968273],[0,0],[-.6259756844572111,0],[0,0],[5664751677178637e-20,-.6257092319582495],[0,0],[0,0]]}}},{ty:"fl",c:{a:0,k:[.8705882352941177,.8705882352941177,.8705882352941177],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[87.75080871582031,67.3158950805664],ix:2},a:{a:0,k:[87.75080983169553,67.31589364791247],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"Filled region",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[76.33205694365653,78.25763551175851],[77.4652668385919,79.39084045008703],[77.4652668385919,83.31123781069492],[76.33205694365653,84.44444274902344],[59.74257967561882,84.44444274902344],[58.6088107230145,83.31123781069492],[58.6088107230145,79.39084045008703],[59.74257967561882,78.25763551175851],[76.33205694365653,78.25763551175851]],i:[[0,0],[0,-.6256904740996396],[0,0],[.6259758209458998,-.00010851158922177351],[0,0],[0,.6257572520762907],[0,0],[-.6260688379872524,0],[0,0]],o:[[.6259758209458998,.00010850078979767151],[0,0],[0,.6256903376788497],[0,0],[-.6260688379872524,0],[0,0],[0,-.6257573884970806],[0,0],[0,0]]}}},{ty:"fl",c:{a:0,k:[.8705882352941177,.8705882352941177,.8705882352941177],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[68.03704071044922,81.35103607177734],ix:2},a:{a:0,k:[68.0370387808032,81.35103913039097],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"tr",p:{a:0,k:[93.24095153808594,49.84562683105469],ix:2},a:{a:0,k:[82.68518829345703,42.22222137451172],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:301,st:0,bm:0},{ddd:0,ind:12,ty:4,nm:"Vector",sr:1,ks:{p:{a:0,k:[0,-.17592620849609375],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"gr",nm:"Vector",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[.0008038586831410768,1.1314527457683046],[1.1374172298530045,0],[165.32753521855625,0],[166.46409606933594,1.1321943158582144],[166.46409606933594,2.298413612312288],[165.32753521855625,3.430555582046509],[1.1366705412035618,3.430555582046509],[23774199052550321e-23,2.297667680045379],[.0008038586831410768,1.1314527457683046]],i:[[0,0],[-.627458443271298,0],[0,0],[0,-.6252759506022489],[0,0],[.6279750762719661,0],[0,0],[-.0004018121983521284,.6255618095137454],[0,0]],o:[[.0004018121983521284,-.6249900235317369],[0,0],[.6279750762719661,0],[0,0],[0,.6252759506022489],[0,0],[-.6280898988117173,0],[0,0],[0,0]]}}},{ty:"fl",c:{a:0,k:[.8431372549019608,.8431372549019608,.8431372549019608],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[94.03180694580078,26.10493278503418],ix:2},a:{a:0,k:[83.23204803466797,1.7152777910232544],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:301,st:0,bm:0},{ddd:0,ind:13,ty:4,nm:"bg",sr:1,ks:{p:{a:0,k:[0,-.17592620849609375],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"gr",nm:"bg",it:[{ty:"rc",d:1,s:{a:0,k:[190,114.35185241699219],ix:2},p:{a:0,k:[0,0],ix:2},r:{a:0,k:7.037036895751953,ix:2}},{ty:"fl",c:{a:0,k:[1,1,1],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[95,57.175926208496094],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:301,st:0,bm:0}]},{id:"1",layers:[{ddd:0,ind:14,ty:3,nm:"",sr:1,ks:{p:{a:0,k:[0,-.17592620849609375],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:301,st:0,bm:0},{ddd:0,ind:15,ty:4,nm:"stroke: 0-stroke-mask",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},td:1,ao:0,parent:14,shapes:[{ty:"gr",nm:"stroke",it:[{ty:"rc",d:1,s:{a:0,k:[190,114.35185241699219],ix:2},p:{a:0,k:[0,0],ix:2},r:{a:0,k:7.037036895751953,ix:2}},{ty:"tr",p:{a:0,k:[95,57.175926208496094],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"fl",c:{a:0,k:[0,0,0],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0}],ip:0,op:301,st:0,bm:0},{ddd:0,ind:16,ty:4,nm:"stroke: 0",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},tt:1,ao:0,parent:14,shapes:[{ty:"gr",nm:"stroke",it:[{ty:"rc",d:1,s:{a:0,k:[190,114.35185241699219],ix:2},p:{a:0,k:[0,0],ix:2},r:{a:0,k:7.037036895751953,ix:2}},{ty:"st",c:{a:0,k:[0,0,0],ix:2},o:{a:0,k:10,ix:2},w:{a:0,k:4.672131147540984,ix:2},lc:1,lj:1,ml:4},{ty:"tr",p:{a:0,k:[95,57.175926208496094],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:301,st:0,bm:0},{ddd:0,ind:17,ty:4,nm:"top",sr:1,ks:{p:{a:0,k:[0,-.17592620849609375],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"gr",it:[{ty:"gr",nm:"top",it:[{ty:"gr",nm:"Path",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[185.22441285113027,29.2432],[0,29.2432],[.0028560532109780414,14.126],[185.22441285113027,14.126],[185.22441285113027,29.2432]],i:[[0,0],[61.74147095037677,0],[-.0009520177369926804,5.039066666666669],[-61.740518932639766,0],[0,-5.03906666666667]],o:[[-61.74147095037676,0],[.0009520177369926804,-5.039066666666667],[61.74051893263976,0],[0,5.039066666666669],[0,0]]}}},{ty:"tr",p:{a:0,k:[95,21.684600830078125],ix:2},a:{a:0,k:[92.61220642556513,21.6846],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"Path",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[93.8428,39.29],[95,40.3857],[95,43.4727],[93.8428,44.5684],[11.7139,44.5684],[10.5557,43.4727],[10.5557,40.3857],[11.7139,39.29],[93.8428,39.29]],i:[[0,0],[0,-.6047000000000011],[0,-1.0290000000000035],[.6392000000000024,-.00019999999999953388],[27.376299999999993,0],[0,.6047999999999973],[0,1.0290000000000035],[-.6395,0],[-27.3763,0]],o:[[.6392000000000024,.00019999999999953388],[0,1.0290000000000035],[0,.604699999999994],[-27.3763,0],[-.6395,0],[0,-1.0290000000000035],[0,-.6047999999999973],[27.3763,0],[0,0]]}}},{ty:"tr",p:{a:0,k:[52.77785110473633,41.92919921875],ix:2},a:{a:0,k:[52.77785,41.929199999999994],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"Path",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[64.0068,48.6729],[65.1582,49.7686],[65.1582,52.8555],[64.0068,53.9502],[11.7734,53.9502],[10.6221,52.8555],[10.6221,49.7686],[11.7734,48.6729],[64.0068,48.6729]],i:[[0,0],[0,-.6047999999999973],[0,-1.028966666666669],[.6362000000000023,-.00019999999999953388],[17.411133333333332,0],[0,.6047000000000011],[0,1.028966666666669],[-.6361000000000008,.00019999999999953388],[-17.411133333333332,0]],o:[[.6362000000000023,.00019999999999953388],[0,1.028966666666669],[0,.6047000000000011],[-17.411133333333332,0],[-.6361000000000008,-.00019999999999953388],[0,-1.028966666666669],[0,-.6047999999999973],[17.411133333333332,0],[0,0]]}}},{ty:"tr",p:{a:0,k:[37.8901481628418,51.31155014038086],ix:2},a:{a:0,k:[37.89014999999999,51.31155],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"Path",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[53.3135,58.0557],[54.4707,59.1504],[54.4707,62.2383],[53.3135,63.333],[11.6455,63.333],[10.4893,62.2383],[10.4893,59.1504],[11.6455,58.0557],[53.3135,58.0557]],i:[[0,0],[-.00019999999999953388,-.6047000000000011],[0,-1.0292999999999992],[.6388000000000034,0],[13.889333333333331,0],[0,.6047000000000011],[0,1.0292999999999992],[-.6386000000000003,9999999999621423e-20],[-13.889333333333333,0]],o:[[.6387,0],[0,1.0292999999999992],[-.00010000000000331966,.6047999999999973],[-13.889333333333333,0],[-.6387,-9999999999621423e-20],[0,-1.0292999999999992],[.00019999999999953388,-.6045999999999978],[13.889333333333331,0],[0,0]]}}},{ty:"tr",p:{a:0,k:[32.47999954223633,60.69435119628906],ix:2},a:{a:0,k:[32.480000000000004,60.69435],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"Path",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[52.875,0],[54.5371,1.56055],[54.5371,3.67188],[52.875,5.23242],[12.2188,5.23242],[10.5557,3.67188],[10.5557,1.56055],[12.2188,0],[52.875,0]],i:[[0,0],[0,-.8617900000000001],[0,-.7037766666666667],[.9181000000000026,-.000140000000000029],[13.55206666666667,0],[0,.8619000000000003],[0,.7037766666666667],[-.9182000000000006,0],[-13.552066666666668,0]],o:[[.9179999999999993,144155e-9],[0,.7037766666666663],[0,.8618100000000002],[-13.552066666666661,0],[-.9182000000000006,0],[0,-.7037766666666663],[0,-.8618790000000001],[13.552066666666663,0],[0,0]]}}},{ty:"tr",p:{a:0,k:[32.5463981628418,2.6162099838256836],ix:2},a:{a:0,k:[32.5464,2.61621],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"fl",c:{a:0,k:[.8627450980392157,.8627450980392157,.8627450980392157],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"tr",p:{a:0,k:[95,39.28990936279297],ix:2},a:{a:0,k:[95,31.66650390625],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:301,st:0,bm:0},{ddd:0,ind:18,ty:3,nm:"",sr:1,ks:{p:{a:0,k:[51.980628967285156,92.89378356933594],ix:2},a:{a:0,k:[41.22633361816406,10.395112037658691],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:301,st:0,bm:0},{ddd:0,refId:"2",w:83,h:22,ind:19,ty:0,nm:"bar",sr:1,ks:{p:{a:0,k:[0,-1],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:80.0000011920929,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:301,st:0,bm:0,parent:18},{ddd:0,ind:20,ty:4,nm:"bg",sr:1,ks:{p:{a:0,k:[0,-.17592620849609375],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"gr",nm:"bg",it:[{ty:"rc",d:1,s:{a:0,k:[190,114.35185241699219],ix:2},p:{a:0,k:[0,0],ix:2},r:{a:0,k:7.037036895751953,ix:2}},{ty:"fl",c:{a:0,k:[1,1,1],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[95,57.175926208496094],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:301,st:0,bm:0}]},{id:"2",layers:[{ddd:0,ind:21,ty:4,nm:"bar: group style",sr:1,ks:{p:{a:0,k:[0,1],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"gr",nm:"bar",it:[{ty:"gr",nm:"Path",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[80.52744845893126,0],[80.79250774467432,0],[82.45266723632812,1.6687079727373262],[82.45266723632812,19.121516102580056],[80.79250774467432,20.79022407531738],[80.52744845893126,20.79022407531738],[78.86787953890864,19.121516102580056],[78.86787953890864,1.6687079727373262],[80.52744845893126,0]],i:[[0,0],[0,0],[0,-.9212986043807614],[0,0],[.9165740224579598,0],[0,0],[0,.9212986043807614],[0,0],[-.9165740224579598,0]],o:[[0,0],[.9165740224579598,0],[0,0],[0,.9212986043807614],[0,0],[-.9165740224579598,0],[0,0],[0,-.9212986043807614],[0,0]]}}},{ty:"tr",p:{a:0,k:[80.66027069091797,10.395112037658691],ix:2},a:{a:0,k:[80.66027338761839,10.39511203765869],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"Path 10",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[51.84741990495696,0],[52.112483664727534,0],[53.772048110722636,1.6687079727373262],[53.772048110722636,19.121516102580056],[52.112483664727534,20.79022407531738],[51.84741990495696,20.79022407531738],[50.18726488733067,19.121516102580056],[50.18726488733067,1.6687079727373262],[51.84741990495696,0]],i:[[0,0],[0,0],[0,-.9212986043807614],[0,0],[.9165740224579598,0],[0,0],[0,.9212986043807614],[0,0],[-.9165740224579598,0]],o:[[0,0],[.9165740224579598,0],[0,0],[0,.9212986043807614],[0,0],[-.9165740224579598,0],[0,0],[0,-.9212986043807614],[0,0]]}}},{ty:"tr",p:{a:0,k:[73.48894500732422,10.395111083984375],ix:2},a:{a:0,k:[51.97965649902665,10.39511203765869],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"Path 9",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[51.84741990495696,0],[52.112483664727534,0],[53.772048110722636,1.6687079727373262],[53.772048110722636,19.121516102580056],[52.112483664727534,20.79022407531738],[51.84741990495696,20.79022407531738],[50.18726488733067,19.121516102580056],[50.18726488733067,1.6687079727373262],[51.84741990495696,0]],i:[[0,0],[0,0],[0,-.9212986043807614],[0,0],[.9165740224579598,0],[0,0],[0,.9212986043807614],[0,0],[-.9165740224579598,0]],o:[[0,0],[.9165740224579598,0],[0,0],[0,.9212986043807614],[0,0],[-.9165740224579598,0],[0,0],[0,-.9212986043807614],[0,0]]}}},{ty:"tr",p:{a:0,k:[66.31819915771484,10.395111083984375],ix:2},a:{a:0,k:[51.97965649902665,10.39511203765869],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"Path 8",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[51.84741990495696,0],[52.112483664727534,0],[53.772048110722636,1.6687079727373262],[53.772048110722636,19.121516102580056],[52.112483664727534,20.79022407531738],[51.84741990495696,20.79022407531738],[50.18726488733067,19.121516102580056],[50.18726488733067,1.6687079727373262],[51.84741990495696,0]],i:[[0,0],[0,0],[0,-.9212986043807614],[0,0],[.9165740224579598,0],[0,0],[0,.9212986043807614],[0,0],[-.9165740224579598,0]],o:[[0,0],[.9165740224579598,0],[0,0],[0,.9212986043807614],[0,0],[-.9165740224579598,0],[0,0],[0,-.9212986043807614],[0,0]]}}},{ty:"tr",p:{a:0,k:[59.150978088378906,10.395111083984375],ix:2},a:{a:0,k:[51.97965649902665,10.39511203765869],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"Path",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[51.84741990495696,0],[52.112483664727534,0],[53.772048110722636,1.6687079727373262],[53.772048110722636,19.121516102580056],[52.112483664727534,20.79022407531738],[51.84741990495696,20.79022407531738],[50.18726488733067,19.121516102580056],[50.18726488733067,1.6687079727373262],[51.84741990495696,0]],i:[[0,0],[0,0],[0,-.9212986043807614],[0,0],[.9165740224579598,0],[0,0],[0,.9212986043807614],[0,0],[-.9165740224579598,0]],o:[[0,0],[.9165740224579598,0],[0,0],[0,.9212986043807614],[0,0],[-.9165740224579598,0],[0,0],[0,-.9212986043807614],[0,0]]}}},{ty:"tr",p:{a:0,k:[51.97965621948242,10.395112037658691],ix:2},a:{a:0,k:[51.97965649902665,10.39511203765869],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"Path 7",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[0,1.6687079727373262],[1.6600364558973009,0],[1.924921254567519,0],[3.584899548107203,1.6687079727373262],[3.584899548107203,19.121516102580056],[1.924921254567519,20.79022407531738],[1.6600364558973009,20.79022407531738],[0,19.121516102580056],[0,1.6687079727373262]],i:[[0,0],[-.9168086292754629,0],[0,0],[0,-.9212986043807614],[0,0],[.9167499775710872,0],[0,0],[0,.9212986043807614],[0,0]],o:[[0,-.9212986043807614],[0,0],[.9167499775710872,0],[0,0],[0,.9212986043807614],[0,0],[-.9168086292754629,0],[0,0],[0,0]]}}},{ty:"tr",p:{a:0,k:[44.808387756347656,10.395111083984375],ix:2},a:{a:0,k:[1.7924497740536014,10.39511203765869],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"Path 6",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[0,1.6687079727373262],[1.6600364558973009,0],[1.924921254567519,0],[3.584899548107203,1.6687079727373262],[3.584899548107203,19.121516102580056],[1.924921254567519,20.79022407531738],[1.6600364558973009,20.79022407531738],[0,19.121516102580056],[0,1.6687079727373262]],i:[[0,0],[-.9168086292754629,0],[0,0],[0,-.9212986043807614],[0,0],[.9167499775710872,0],[0,0],[0,.9212986043807614],[0,0]],o:[[0,-.9212986043807614],[0,0],[.9167499775710872,0],[0,0],[0,.9212986043807614],[0,0],[-.9168086292754629,0],[0,0],[0,0]]}}},{ty:"tr",p:{a:0,k:[37.640464782714844,10.395111083984375],ix:2},a:{a:0,k:[1.7924497740536014,10.39511203765869],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"Path 5",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[0,1.6687079727373262],[1.6600364558973009,0],[1.924921254567519,0],[3.584899548107203,1.6687079727373262],[3.584899548107203,19.121516102580056],[1.924921254567519,20.79022407531738],[1.6600364558973009,20.79022407531738],[0,19.121516102580056],[0,1.6687079727373262]],i:[[0,0],[-.9168086292754629,0],[0,0],[0,-.9212986043807614],[0,0],[.9167499775710872,0],[0,0],[0,.9212986043807614],[0,0]],o:[[0,-.9212986043807614],[0,0],[.9167499775710872,0],[0,0],[0,.9212986043807614],[0,0],[-.9168086292754629,0],[0,0],[0,0]]}}},{ty:"tr",p:{a:0,k:[30.5225830078125,10.395111083984375],ix:2},a:{a:0,k:[1.7924497740536014,10.39511203765869],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"Path 4",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[0,1.6687079727373262],[1.6600364558973009,0],[1.924921254567519,0],[3.584899548107203,1.6687079727373262],[3.584899548107203,19.121516102580056],[1.924921254567519,20.79022407531738],[1.6600364558973009,20.79022407531738],[0,19.121516102580056],[0,1.6687079727373262]],i:[[0,0],[-.9168086292754629,0],[0,0],[0,-.9212986043807614],[0,0],[.9167499775710872,0],[0,0],[0,.9212986043807614],[0,0]],o:[[0,-.9212986043807614],[0,0],[.9167499775710872,0],[0,0],[0,.9212986043807614],[0,0],[-.9168086292754629,0],[0,0],[0,0]]}}},{ty:"tr",p:{a:0,k:[23.518157958984375,10.395111083984375],ix:2},a:{a:0,k:[1.7924497740536014,10.39511203765869],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"Path 3",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[0,1.6687079727373262],[1.6600364558973009,0],[1.924921254567519,0],[3.584899548107203,1.6687079727373262],[3.584899548107203,19.121516102580056],[1.924921254567519,20.79022407531738],[1.6600364558973009,20.79022407531738],[0,19.121516102580056],[0,1.6687079727373262]],i:[[0,0],[-.9168086292754629,0],[0,0],[0,-.9212986043807614],[0,0],[.9167499775710872,0],[0,0],[0,.9212986043807614],[0,0]],o:[[0,-.9212986043807614],[0,0],[.9167499775710872,0],[0,0],[0,.9212986043807614],[0,0],[-.9168086292754629,0],[0,0],[0,0]]}}},{ty:"tr",p:{a:0,k:[23.518157958984375,10.395111083984375],ix:2},a:{a:0,k:[1.7924497740536014,10.39511203765869],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"Path 2",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[0,1.6687079727373262],[1.6600364558973009,0],[1.924921254567519,0],[3.584899548107203,1.6687079727373262],[3.584899548107203,19.121516102580056],[1.924921254567519,20.79022407531738],[1.6600364558973009,20.79022407531738],[0,19.121516102580056],[0,1.6687079727373262]],i:[[0,0],[-.9168086292754629,0],[0,0],[0,-.9212986043807614],[0,0],[.9167499775710872,0],[0,0],[0,.9212986043807614],[0,0]],o:[[0,-.9212986043807614],[0,0],[.9167499775710872,0],[0,0],[0,.9212986043807614],[0,0],[-.9168086292754629,0],[0,0],[0,0]]}}},{ty:"tr",p:{a:0,k:[16.130706787109375,10.395111083984375],ix:2},a:{a:0,k:[1.7924497740536014,10.39511203765869],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"Path 1",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[0,1.6687079727373262],[1.6600364558973009,0],[1.924921254567519,0],[3.584899548107203,1.6687079727373262],[3.584899548107203,19.121516102580056],[1.924921254567519,20.79022407531738],[1.6600364558973009,20.79022407531738],[0,19.121516102580056],[0,1.6687079727373262]],i:[[0,0],[-.9168086292754629,0],[0,0],[0,-.9212986043807614],[0,0],[.9167499775710872,0],[0,0],[0,.9212986043807614],[0,0]],o:[[0,-.9212986043807614],[0,0],[.9167499775710872,0],[0,0],[0,.9212986043807614],[0,0],[-.9168086292754629,0],[0,0],[0,0]]}}},{ty:"tr",p:{a:0,k:[8.792449951171875,10.395111083984375],ix:2},a:{a:0,k:[1.7924497740536014,10.39511203765869],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"Path",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[0,1.6687079727373262],[1.6600364558973009,0],[1.924921254567519,0],[3.584899548107203,1.6687079727373262],[3.584899548107203,19.121516102580056],[1.924921254567519,20.79022407531738],[1.6600364558973009,20.79022407531738],[0,19.121516102580056],[0,1.6687079727373262]],i:[[0,0],[-.9168086292754629,0],[0,0],[0,-.9212986043807614],[0,0],[.9167499775710872,0],[0,0],[0,.9212986043807614],[0,0]],o:[[0,-.9212986043807614],[0,0],[.9167499775710872,0],[0,0],[0,.9212986043807614],[0,0],[-.9168086292754629,0],[0,0],[0,0]]}}},{ty:"tr",p:{a:0,k:[1.7924498319625854,10.395112037658691],ix:2},a:{a:0,k:[1.7924497740536014,10.39511203765869],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"fl",c:{a:0,k:[.8627450980392157,.8627450980392157,.8627450980392157],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:301,st:0,bm:0}]}],layers$4=[{ddd:0,ind:22,ty:3,nm:"",sr:1,ks:{p:{a:1,k:[{t:0,s:[180,100],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}},{t:50,s:[127.33390808105469,67.60033416748047],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}}],ix:2},a:{a:1,k:[{t:0,s:[147.66608905792236,89.57558917999268],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}},{t:50,s:[95,57.175926208496094],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}}],ix:2},s:{a:1,k:[{t:80,s:[100,100],o:{x:[.4],y:[0]},i:{x:[.8],y:[1]}},{t:140,s:[0,100],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}}],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:301,st:0,bm:0},{ddd:0,refId:"0",w:190,h:114,ind:23,ty:0,nm:"front",sr:1,ks:{p:{a:0,k:[0,.17592620849609375],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:301,st:0,bm:0,parent:22},{ddd:0,ind:24,ty:3,nm:"",sr:1,ks:{p:{a:1,k:[{t:0,s:[174.8339080810547,99.8240737915039],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}},{t:100,s:[127.33390808105469,67.42440795898438],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}}],ix:2},a:{a:1,k:[{t:0,s:[142.5,89.57558917999268],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}},{t:100,s:[95,57.175926208496094],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}}],ix:2},s:{a:1,k:[{t:135,s:[0,100],o:{x:[.4],y:[0]},i:{x:[.8],y:[1]}},{t:200,s:[100,100],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}}],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:301,st:0,bm:0},{ddd:0,refId:"1",w:190,h:114,ind:25,ty:0,nm:"back",sr:1,ks:{p:{a:0,k:[0,.17592620849609375],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:301,st:0,bm:0,parent:24},{ddd:0,ind:26,ty:3,nm:"arrows",sr:1,ks:{p:{a:0,k:[127.89808654785156,130],ix:2},a:{a:0,k:[166.22965455055237,62.22903275489807],ix:2},s:{a:0,k:[75.87807022208588,75.87807022208588],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:301,st:0,bm:0},{ddd:0,ind:27,ty:3,nm:"",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:301,st:0,bm:0,parent:26},{ddd:0,ind:28,ty:4,nm:"Vector: 0-stroke-mask",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},td:1,ao:0,parent:27,shapes:[{ty:"gr",nm:"Vector",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[57.94180961732188,2.373326237721925],[55.1251736923659,.07578483906370402],[24.116983327922632,11.9684234887812],[24.094295677780643,11.980777622153656],[8.08276017115082,23.894336425661155],[8.07601784239764,23.901582626627174],[2.412847629825195,32.03458975829119],[2.4098746255428316,32.040781229367816],[.012638372619498753,41.56472538434043],[.01231326110181512,41.57462067813452],[1.803175280638908,51.27899546778929],[1.8064526533906444,51.28709025513427],[7.02710151048836,59.85795304591962],[7.033291410957271,59.865454860672706],[22.601462063555417,72.89171753548655],[22.623262183076278,72.90520031745484],[60.5228997482955,88.8745509707063],[60.5366688067595,88.87857317406097],[101.2446473733834,97.37766617973595],[101.24645064649407,97.37791672637337],[137.54987536742067,100.55059290300217],[141.5956834118092,104.92190886886182],[141.5956834118092,107.63925883426974],[148.3584940143185,111.0368960745543],[148.3584941203784,111.03689598573766],[167.17059988065807,95.28327753383557],[167.17059999684082,95.28327743654194],[167.1705999861808,88.48800936095341],[167.17059989131772,88.48800928151313],[148.35849412037837,72.73437213729204],[148.3584940143185,72.73437204847538],[141.5956834118092,76.13200306096246],[141.5956834118092,79.50478511707648],[137.52571137104115,83.83440597877456],[103.70354184793123,82.64420266818267],[103.701410225066,82.64402069248318],[65.2544941270734,76.73676028838777],[65.24522518350402,76.73459330020846],[30.08688180051069,64.23549750896676],[30.074050220438934,64.2285713407087],[16.47493991346353,54.28955921340707],[16.468815942794066,54.28309069403895],[10.345697185290982,41.5903616566775],[10.343810248483486,41.55159553207438],[15.41689177928066,28.24213788458192],[15.426929960052364,28.229811568836805],[28.579701942022197,17.180387474643144],[28.592942688182,17.17213777906473],[56.338929176581516,4.657239607498017],[56.33892923527232,4.657239587932828],[57.94180961732188,2.373326237721925]],i:[[0,0],[1.4312887945464046,-.386004313111193],[9.731341992064266,-5.258296854877438],[.0075492045959616935,-.004142505408370974],[4.547037648640419,-4.874083266001335],[.0022442797351298013,-.002418341606722638],[1.430492405605964,-2.9844347616181537],[.0009924367893835576,-.002063134154613978],[.10503518213569428,-3.2934760732816315],[.00011154255685014695,-.003298326268816251],[-1.254624265999921,-3.0909400667041282],[-.001090060946663257,-.0026992321562243045],[-2.143145294847419,-2.604190877106987],[-.0020665050586153675,-.0024979587622458417],[-5.784228534149499,-3.6031129343018904],[-.007281103643583262,-.004470940364985189],[-13.236360257728577,-3.891812661813276],[-.00459203738281485,-.0013326724161781957],[-13.781631916675536,-1.9179355780270413],[-.0006011095620518704,-8338215929688572e-20],[-12.138252388251885,-.4745753344742667],[0,-2.35691813215453],[0,0],[-2.7246240126844157,2.281652209536503],[-35353236177348875e-24,29605478560471907e-24],[-.001207000976364725,.0010107657853524188],[-3872753034722677e-23,32431176181992775e-24],[2.0806972469495975,1.7424180401733906],[3162088022508823e-23,26479963451413978e-24],[.0011532259610476103,.0009657347006850614],[3535321829392645e-23,2960549991585947e-23],[0,-3.6505044334733583],[0,0],[2.2623660335691227,-.027992474395063027],[11.23443547800349,.9561263006175267],[.0007105251175896846,6084394064857502e-20],[12.505806529390199,2.9083456428775776],[.0030888041537227417,.000725933455685421],[10.514002004099702,5.6502852450348655],[.004272942170308755,.002316589920694762],[3.610990470943456,3.821339857061723],[.002043336207552759,.002154266784966436],[.20574693577361636,4.539537605769894],[.0006719617787792724,.012919911771795627],[-3.385163685263807,4.1427679022172335],[-.003339198903381714,.004114354756986557],[-5.129242164455583,3.20983520436285],[-.0044189839443102095,.002741219010809487],[-9.920065008974,3.3069567537681035],[-19563593893247655e-24,6521727273466892e-24],[0,1.0448268692815401]],o:[[0,-1.5459092378588253],[-10.75288293033239,2.8999452735322637],[-.007575845194260555,.004093581644803379],[-5.868023377207972,3.2199840748169173],[-.0022505932491620273,.0024124671361795643],[-2.2601466408070348,2.4354391180393264],[-.000989559048568166,.0020645159748119033],[-1.4320662213848074,2.9770608713963185],[-.00010519651345740679,.003298534767303265],[-.11134903686592912,3.2926038605667785],[.001094842712220992,.0026972961528412645],[1.2509777571154,3.0976977930119105],[.002060081999680828,.0025032585343417327],[4.315106651258472,5.216032946349863],[.007252258959759556,.004517578775897837],[11.663900336824568,7.162183836653824],[.004587330053479622,.0013487868899325526],[13.278076083100792,3.853480331429026],[.0006010725012745643,8364889892127368e-20],[12.005668094844566,1.665351198428425],[2.251974636375861,.0880465755913377],[0,0],[0,3.65050326576133],[3535323768668693e-23,-29605476758103222e-24],[.001153222828889966,-.0009657309323785057],[3872752981305093e-23,-3243117681987622e-23],[2.0806983563409744,-1.7424166831983143],[-3162087901912912e-23,-2647996489150231e-23],[-.001090657876915202,-.0009133389239366352],[-3535321889380353e-23,-2960549919952008e-23],[-2.724623640518388,-2.281654934197988],[0,0],[-58771092881215736e-24,2.366306679000914],[-11.313840282575683,.13998724043770494],[-.0007105567694374356,-6047317790654947e-20],[-13.015686425415637,-1.1145639088100125],[-.003090489849950442,-.000718723152188332],[-12.457142744037377,-2.927688590824573],[-.004281430035003734,-.0023008651648532925],[-5.215175131884003,-2.827424679212889],[-.002039296789438741,-.0021580910181200797],[-3.6098579111080813,-3.805833307119954],[-.000585763481186164,-.01292410669900369],[-.2358584219869897,-4.534885910092548],[.003352857608852104,-.004103231682155676],[3.3779056882382203,-4.162046867882001],[.004408161390452709,-.0027585891178312145],[8.318996587605781,-5.160505646590188],[19563593880253105e-24,-65217273124473844e-25],[.9518216920298812,-.31729964965850144],[0,0]]}}},{ty:"tr",p:{a:0,k:[90.59505462646484,62.229034423828125],ix:2},a:{a:0,k:[84.36556243896484,56],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"fl",c:{a:0,k:[0,0,0],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0}],ip:0,op:301,st:0,bm:0},{ddd:0,ind:29,ty:4,nm:"Vector: 0",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},tt:2,ao:0,parent:27,shapes:[{ty:"gr",nm:"Vector",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[57.94180961732188,2.373326237721925],[55.1251736923659,.07578483906370402],[24.116983327922632,11.9684234887812],[24.094295677780643,11.980777622153656],[8.08276017115082,23.894336425661155],[8.07601784239764,23.901582626627174],[2.412847629825195,32.03458975829119],[2.4098746255428316,32.040781229367816],[.012638372619498753,41.56472538434043],[.01231326110181512,41.57462067813452],[1.803175280638908,51.27899546778929],[1.8064526533906444,51.28709025513427],[7.02710151048836,59.85795304591962],[7.033291410957271,59.865454860672706],[22.601462063555417,72.89171753548655],[22.623262183076278,72.90520031745484],[60.5228997482955,88.8745509707063],[60.5366688067595,88.87857317406097],[101.2446473733834,97.37766617973595],[101.24645064649407,97.37791672637337],[137.54987536742067,100.55059290300217],[141.5956834118092,104.92190886886182],[141.5956834118092,107.63925883426974],[148.3584940143185,111.0368960745543],[148.3584941203784,111.03689598573766],[167.17059988065807,95.28327753383557],[167.17059999684082,95.28327743654194],[167.1705999861808,88.48800936095341],[167.17059989131772,88.48800928151313],[148.35849412037837,72.73437213729204],[148.3584940143185,72.73437204847538],[141.5956834118092,76.13200306096246],[141.5956834118092,79.50478511707648],[137.52571137104115,83.83440597877456],[103.70354184793123,82.64420266818267],[103.701410225066,82.64402069248318],[65.2544941270734,76.73676028838777],[65.24522518350402,76.73459330020846],[30.08688180051069,64.23549750896676],[30.074050220438934,64.2285713407087],[16.47493991346353,54.28955921340707],[16.468815942794066,54.28309069403895],[10.345697185290982,41.5903616566775],[10.343810248483486,41.55159553207438],[15.41689177928066,28.24213788458192],[15.426929960052364,28.229811568836805],[28.579701942022197,17.180387474643144],[28.592942688182,17.17213777906473],[56.338929176581516,4.657239607498017],[56.33892923527232,4.657239587932828],[57.94180961732188,2.373326237721925]],i:[[0,0],[1.4312887945464046,-.386004313111193],[9.731341992064266,-5.258296854877438],[.0075492045959616935,-.004142505408370974],[4.547037648640419,-4.874083266001335],[.0022442797351298013,-.002418341606722638],[1.430492405605964,-2.9844347616181537],[.0009924367893835576,-.002063134154613978],[.10503518213569428,-3.2934760732816315],[.00011154255685014695,-.003298326268816251],[-1.254624265999921,-3.0909400667041282],[-.001090060946663257,-.0026992321562243045],[-2.143145294847419,-2.604190877106987],[-.0020665050586153675,-.0024979587622458417],[-5.784228534149499,-3.6031129343018904],[-.007281103643583262,-.004470940364985189],[-13.236360257728577,-3.891812661813276],[-.00459203738281485,-.0013326724161781957],[-13.781631916675536,-1.9179355780270413],[-.0006011095620518704,-8338215929688572e-20],[-12.138252388251885,-.4745753344742667],[0,-2.35691813215453],[0,0],[-2.7246240126844157,2.281652209536503],[-35353236177348875e-24,29605478560471907e-24],[-.001207000976364725,.0010107657853524188],[-3872753034722677e-23,32431176181992775e-24],[2.0806972469495975,1.7424180401733906],[3162088022508823e-23,26479963451413978e-24],[.0011532259610476103,.0009657347006850614],[3535321829392645e-23,2960549991585947e-23],[0,-3.6505044334733583],[0,0],[2.2623660335691227,-.027992474395063027],[11.23443547800349,.9561263006175267],[.0007105251175896846,6084394064857502e-20],[12.505806529390199,2.9083456428775776],[.0030888041537227417,.000725933455685421],[10.514002004099702,5.6502852450348655],[.004272942170308755,.002316589920694762],[3.610990470943456,3.821339857061723],[.002043336207552759,.002154266784966436],[.20574693577361636,4.539537605769894],[.0006719617787792724,.012919911771795627],[-3.385163685263807,4.1427679022172335],[-.003339198903381714,.004114354756986557],[-5.129242164455583,3.20983520436285],[-.0044189839443102095,.002741219010809487],[-9.920065008974,3.3069567537681035],[-19563593893247655e-24,6521727273466892e-24],[0,1.0448268692815401]],o:[[0,-1.5459092378588253],[-10.75288293033239,2.8999452735322637],[-.007575845194260555,.004093581644803379],[-5.868023377207972,3.2199840748169173],[-.0022505932491620273,.0024124671361795643],[-2.2601466408070348,2.4354391180393264],[-.000989559048568166,.0020645159748119033],[-1.4320662213848074,2.9770608713963185],[-.00010519651345740679,.003298534767303265],[-.11134903686592912,3.2926038605667785],[.001094842712220992,.0026972961528412645],[1.2509777571154,3.0976977930119105],[.002060081999680828,.0025032585343417327],[4.315106651258472,5.216032946349863],[.007252258959759556,.004517578775897837],[11.663900336824568,7.162183836653824],[.004587330053479622,.0013487868899325526],[13.278076083100792,3.853480331429026],[.0006010725012745643,8364889892127368e-20],[12.005668094844566,1.665351198428425],[2.251974636375861,.0880465755913377],[0,0],[0,3.65050326576133],[3535323768668693e-23,-29605476758103222e-24],[.001153222828889966,-.0009657309323785057],[3872752981305093e-23,-3243117681987622e-23],[2.0806983563409744,-1.7424166831983143],[-3162087901912912e-23,-2647996489150231e-23],[-.001090657876915202,-.0009133389239366352],[-3535321889380353e-23,-2960549919952008e-23],[-2.724623640518388,-2.281654934197988],[0,0],[-58771092881215736e-24,2.366306679000914],[-11.313840282575683,.13998724043770494],[-.0007105567694374356,-6047317790654947e-20],[-13.015686425415637,-1.1145639088100125],[-.003090489849950442,-.000718723152188332],[-12.457142744037377,-2.927688590824573],[-.004281430035003734,-.0023008651648532925],[-5.215175131884003,-2.827424679212889],[-.002039296789438741,-.0021580910181200797],[-3.6098579111080813,-3.805833307119954],[-.000585763481186164,-.01292410669900369],[-.2358584219869897,-4.534885910092548],[.003352857608852104,-.004103231682155676],[3.3779056882382203,-4.162046867882001],[.004408161390452709,-.0027585891178312145],[8.318996587605781,-5.160505646590188],[19563593880253105e-24,-65217273124473844e-25],[.9518216920298812,-.31729964965850144],[0,0]]}}},{ty:"st",c:{a:0,k:[.5333333333333333,.5333333333333333,.5333333333333333],ix:2},o:{a:0,k:23.999999463558197,ix:2},w:{a:0,k:3.114522695541382,ix:2},lc:1,lj:1,ml:4},{ty:"tr",p:{a:0,k:[90.59505462646484,62.229034423828125],ix:2},a:{a:0,k:[84.36556243896484,56],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",it:[{ty:"rc",d:1,s:{a:0,k:[183,127],ix:2},p:{a:0,k:[90.5,62.5],ix:2},r:{a:0,k:0,ix:2}},{ty:"fl",c:{a:0,k:[0,0,0],ix:2},o:{a:0,k:0,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:301,st:0,bm:0},{ddd:0,ind:30,ty:4,nm:"Vector: 1",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,parent:27,shapes:[{ty:"gr",nm:"Vector",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[57.94180961732188,2.373326237721925],[55.1251736923659,.07578483906370402],[24.116983327922632,11.9684234887812],[24.094295677780643,11.980777622153656],[8.08276017115082,23.894336425661155],[8.07601784239764,23.901582626627174],[2.412847629825195,32.03458975829119],[2.4098746255428316,32.040781229367816],[.012638372619498753,41.56472538434043],[.01231326110181512,41.57462067813452],[1.803175280638908,51.27899546778929],[1.8064526533906444,51.28709025513427],[7.02710151048836,59.85795304591962],[7.033291410957271,59.865454860672706],[22.601462063555417,72.89171753548655],[22.623262183076278,72.90520031745484],[60.5228997482955,88.8745509707063],[60.5366688067595,88.87857317406097],[101.2446473733834,97.37766617973595],[101.24645064649407,97.37791672637337],[137.54987536742067,100.55059290300217],[141.5956834118092,104.92190886886182],[141.5956834118092,107.63925883426974],[148.3584940143185,111.0368960745543],[148.3584941203784,111.03689598573766],[167.17059988065807,95.28327753383557],[167.17059999684082,95.28327743654194],[167.1705999861808,88.48800936095341],[167.17059989131772,88.48800928151313],[148.35849412037837,72.73437213729204],[148.3584940143185,72.73437204847538],[141.5956834118092,76.13200306096246],[141.5956834118092,79.50478511707648],[137.52571137104115,83.83440597877456],[103.70354184793123,82.64420266818267],[103.701410225066,82.64402069248318],[65.2544941270734,76.73676028838777],[65.24522518350402,76.73459330020846],[30.08688180051069,64.23549750896676],[30.074050220438934,64.2285713407087],[16.47493991346353,54.28955921340707],[16.468815942794066,54.28309069403895],[10.345697185290982,41.5903616566775],[10.343810248483486,41.55159553207438],[15.41689177928066,28.24213788458192],[15.426929960052364,28.229811568836805],[28.579701942022197,17.180387474643144],[28.592942688182,17.17213777906473],[56.338929176581516,4.657239607498017],[56.33892923527232,4.657239587932828],[57.94180961732188,2.373326237721925]],i:[[0,0],[1.4312887945464046,-.386004313111193],[9.731341992064266,-5.258296854877438],[.0075492045959616935,-.004142505408370974],[4.547037648640419,-4.874083266001335],[.0022442797351298013,-.002418341606722638],[1.430492405605964,-2.9844347616181537],[.0009924367893835576,-.002063134154613978],[.10503518213569428,-3.2934760732816315],[.00011154255685014695,-.003298326268816251],[-1.254624265999921,-3.0909400667041282],[-.001090060946663257,-.0026992321562243045],[-2.143145294847419,-2.604190877106987],[-.0020665050586153675,-.0024979587622458417],[-5.784228534149499,-3.6031129343018904],[-.007281103643583262,-.004470940364985189],[-13.236360257728577,-3.891812661813276],[-.00459203738281485,-.0013326724161781957],[-13.781631916675536,-1.9179355780270413],[-.0006011095620518704,-8338215929688572e-20],[-12.138252388251885,-.4745753344742667],[0,-2.35691813215453],[0,0],[-2.7246240126844157,2.281652209536503],[-35353236177348875e-24,29605478560471907e-24],[-.001207000976364725,.0010107657853524188],[-3872753034722677e-23,32431176181992775e-24],[2.0806972469495975,1.7424180401733906],[3162088022508823e-23,26479963451413978e-24],[.0011532259610476103,.0009657347006850614],[3535321829392645e-23,2960549991585947e-23],[0,-3.6505044334733583],[0,0],[2.2623660335691227,-.027992474395063027],[11.23443547800349,.9561263006175267],[.0007105251175896846,6084394064857502e-20],[12.505806529390199,2.9083456428775776],[.0030888041537227417,.000725933455685421],[10.514002004099702,5.6502852450348655],[.004272942170308755,.002316589920694762],[3.610990470943456,3.821339857061723],[.002043336207552759,.002154266784966436],[.20574693577361636,4.539537605769894],[.0006719617787792724,.012919911771795627],[-3.385163685263807,4.1427679022172335],[-.003339198903381714,.004114354756986557],[-5.129242164455583,3.20983520436285],[-.0044189839443102095,.002741219010809487],[-9.920065008974,3.3069567537681035],[-19563593893247655e-24,6521727273466892e-24],[0,1.0448268692815401]],o:[[0,-1.5459092378588253],[-10.75288293033239,2.8999452735322637],[-.007575845194260555,.004093581644803379],[-5.868023377207972,3.2199840748169173],[-.0022505932491620273,.0024124671361795643],[-2.2601466408070348,2.4354391180393264],[-.000989559048568166,.0020645159748119033],[-1.4320662213848074,2.9770608713963185],[-.00010519651345740679,.003298534767303265],[-.11134903686592912,3.2926038605667785],[.001094842712220992,.0026972961528412645],[1.2509777571154,3.0976977930119105],[.002060081999680828,.0025032585343417327],[4.315106651258472,5.216032946349863],[.007252258959759556,.004517578775897837],[11.663900336824568,7.162183836653824],[.004587330053479622,.0013487868899325526],[13.278076083100792,3.853480331429026],[.0006010725012745643,8364889892127368e-20],[12.005668094844566,1.665351198428425],[2.251974636375861,.0880465755913377],[0,0],[0,3.65050326576133],[3535323768668693e-23,-29605476758103222e-24],[.001153222828889966,-.0009657309323785057],[3872752981305093e-23,-3243117681987622e-23],[2.0806983563409744,-1.7424166831983143],[-3162087901912912e-23,-2647996489150231e-23],[-.001090657876915202,-.0009133389239366352],[-3535321889380353e-23,-2960549919952008e-23],[-2.724623640518388,-2.281654934197988],[0,0],[-58771092881215736e-24,2.366306679000914],[-11.313840282575683,.13998724043770494],[-.0007105567694374356,-6047317790654947e-20],[-13.015686425415637,-1.1145639088100125],[-.003090489849950442,-.000718723152188332],[-12.457142744037377,-2.927688590824573],[-.004281430035003734,-.0023008651648532925],[-5.215175131884003,-2.827424679212889],[-.002039296789438741,-.0021580910181200797],[-3.6098579111080813,-3.805833307119954],[-.000585763481186164,-.01292410669900369],[-.2358584219869897,-4.534885910092548],[.003352857608852104,-.004103231682155676],[3.3779056882382203,-4.162046867882001],[.004408161390452709,-.0027585891178312145],[8.318996587605781,-5.160505646590188],[19563593880253105e-24,-65217273124473844e-25],[.9518216920298812,-.31729964965850144],[0,0]]}}},{ty:"fl",c:{a:0,k:[1,1,1],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[90.59505462646484,62.229034423828125],ix:2},a:{a:0,k:[84.36556243896484,56],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:301,st:0,bm:0},{ddd:0,ind:31,ty:3,nm:"",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:301,st:0,bm:0,parent:26},{ddd:0,ind:32,ty:4,nm:"Vector: 0-stroke-mask",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},td:1,ao:0,parent:31,shapes:[{ty:"gr",nm:"Vector",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[76.66257470006542,2.403401365747908],[79.52064921594652,.07843238649019971],[110.56461085434229,12.118919991364345],[110.58737476673319,12.131451102238545],[126.63547754289385,24.202716434206838],[126.64217474371026,24.209992786871183],[132.31833855266746,32.45072948388586],[132.32126532347044,32.456891276232604],[134.72400520130523,42.10706910451022],[134.72432333324937,42.11685777177116],[132.92933705832866,51.94987458179446],[132.92611554768342,51.95791834200726],[127.69348692654337,60.6423338060651],[127.68735003452792,60.649852650200295],[112.08358979648165,73.84856150744527],[112.06175099336824,73.8622158064254],[74.07562267109365,90.04292488216652],[74.06173910343931,90.04702485345958],[33.26088200397594,98.65859385874137],[33.25906011260041,98.65884975987571],[4.281077101262595,101.85446014275746],[0,97.53684037928531],[0,89.31383121081528],[4.25770767825915,84.94155007049504],[30.796360399506113,83.7301368920098],[30.798514811713854,83.72995095950905],[69.33315633104621,77.74450584074562],[69.3425104164373,77.74229505015846],[104.58108909244983,65.07778027166151],[104.59396520334353,65.07075411890494],[118.22413608247612,55.00017608751369],[118.23022089019848,54.993678702598785],[124.36736584710121,42.13246259449331],[124.36921236193066,42.094112551897666],[119.28451576512056,28.607961094288317],[119.2745659288313,28.59560975379304],[106.09170541796219,17.399869275871943],[106.07844256245492,17.391515506683835],[78.2790556532085,4.714326957834373],[78.27905559458318,4.714326938073947],[76.66257470006542,2.403401365747908]],i:[[0,0],[-1.4508275803785888,-.3958143226996739],[-9.742992490216338,-5.322118807293952],[-.007574354140823343,-.004201725224600727],[-4.557420807828052,-4.938606324305262],[-.0022292292233230364,-.00242836761668818],[-1.433766632082552,-3.0239707680357135],[-.0009770138116962155,-.0020532543131163614],[-.10525891522377151,-3.3371280902406326],[-.00010916563825365518,-.003262786872567668],[1.2575243648597052,-3.1319097072245228],[.0010714655565788852,-.0026822024976962114],[2.148070650450407,-2.638691473195891],[.0020488331095963935,-.0025036658401955325],[5.797450756297877,-3.65081190570028],[.007294251388660173,-.004527959057654681],[13.266566977415849,-3.9433212299360036],[.004630274836915856,-.0013584524994325288],[13.81307843797213,-1.9433183316578067],[.0006073160329718156,-8516571003331383e-20],[10.741886125105449,-.4891403929431277],[0,2.451575713239792],[0,0],[-2.3347100483550567,-.02984672765350692],[-11.10751906219199,.9556854825699901],[-.0007181210876404699,6216639673367526e-20],[-12.534344290995634,2.9468340252098812],[-.0031171592029665624,.0007406032969320924],[-10.53799537286362,5.725062141099414],[-.004287698520539227,.002349992778461412],[-3.619235803769783,3.8719270557493672],[-.0020302921549236875,.0021638996230474],[-.20608218850705384,4.599799807310646],[-.0006579719712727597,.012781265829142699],[3.393040844485185,4.197758237865774],[.0033097413374393644,.004122643558503465],[5.140982185560361,3.2523371702260455],[.004426447703222531,.002775854668870724],[9.93912344965888,3.3501095066350857],[1954177798763189e-23,6586808463247186e-24],[0,1.0554130222221532]],o:[[0,-1.5681525469371338],[10.765257363630866,2.9369741240162104],[.007601536359859753,.004152346382876058],[5.881428751462835,3.2626078847466076],[.0022355585651794127,.002422542076734731],[2.265333279101867,2.4676968695829196],[.0009741599065855668,.002054609875128928],[1.435368481853942,3.016514701221297],[.00010292046381476517,.003262989839166433],[.11162355731156026,3.3362501542766267],[-.001076197068539244,.0026803075471389906],[-1.2538412035464148,3.1387439262206627],[-.0020424151406520383,.002508904171859846],[-4.324964933738755,5.285089797664561],[-.007264899683381427,.004574904276503759],[-11.690517197502245,7.256972705299262],[-.004625431945562265,.0013748518376766],[-13.308375292884314,3.9044757205053457],[-.0006072780637611192,8543603071683522e-20],[-11.876199160118631,1.6654342698959965],[-2.3418353535341767,.1066373445321996],[0,0],[0,-2.4419858785005966],[9.857807793532254,.1260213402382675],[.0007181536080516991,-6178958358094643e-20],[13.045388103052257,-1.129314799853276],[.003118895968586793,-.0007332548514663017],[12.485569563047846,-2.9664362261857207],[.00429636063922666,-.00233411866012826],[5.2270910746857595,-2.864853071882216],[.002026232271056385,-.002167701685356875],[3.6182363104445727,-3.8563416448613097],[.0005728153772460179,-.012785365299974103],[.2365520107765775,-4.595080435273303],[-.003323419515741649,-.004111625025900657],[-3.385623247049537,-4.217162747155033],[-.004415436943585394,-.0027933358210706937],[-8.335209380997966,-5.227065002804366],[-1954177817773599e-23,-658680789924531e-23],[-.9604767379616987,-.32374107977084954],[0,0]]}}},{ty:"tr",p:{a:0,k:[258.86151123046875,57.174991607666016],ix:2},a:{a:0,k:[67.36833190917969,50.92929458618164],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"fl",c:{a:0,k:[0,0,0],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0}],ip:0,op:301,st:0,bm:0},{ddd:0,ind:33,ty:4,nm:"Vector: 0",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},tt:2,ao:0,parent:31,shapes:[{ty:"gr",nm:"Vector",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[76.66257470006542,2.403401365747908],[79.52064921594652,.07843238649019971],[110.56461085434229,12.118919991364345],[110.58737476673319,12.131451102238545],[126.63547754289385,24.202716434206838],[126.64217474371026,24.209992786871183],[132.31833855266746,32.45072948388586],[132.32126532347044,32.456891276232604],[134.72400520130523,42.10706910451022],[134.72432333324937,42.11685777177116],[132.92933705832866,51.94987458179446],[132.92611554768342,51.95791834200726],[127.69348692654337,60.6423338060651],[127.68735003452792,60.649852650200295],[112.08358979648165,73.84856150744527],[112.06175099336824,73.8622158064254],[74.07562267109365,90.04292488216652],[74.06173910343931,90.04702485345958],[33.26088200397594,98.65859385874137],[33.25906011260041,98.65884975987571],[4.281077101262595,101.85446014275746],[0,97.53684037928531],[0,89.31383121081528],[4.25770767825915,84.94155007049504],[30.796360399506113,83.7301368920098],[30.798514811713854,83.72995095950905],[69.33315633104621,77.74450584074562],[69.3425104164373,77.74229505015846],[104.58108909244983,65.07778027166151],[104.59396520334353,65.07075411890494],[118.22413608247612,55.00017608751369],[118.23022089019848,54.993678702598785],[124.36736584710121,42.13246259449331],[124.36921236193066,42.094112551897666],[119.28451576512056,28.607961094288317],[119.2745659288313,28.59560975379304],[106.09170541796219,17.399869275871943],[106.07844256245492,17.391515506683835],[78.2790556532085,4.714326957834373],[78.27905559458318,4.714326938073947],[76.66257470006542,2.403401365747908]],i:[[0,0],[-1.4508275803785888,-.3958143226996739],[-9.742992490216338,-5.322118807293952],[-.007574354140823343,-.004201725224600727],[-4.557420807828052,-4.938606324305262],[-.0022292292233230364,-.00242836761668818],[-1.433766632082552,-3.0239707680357135],[-.0009770138116962155,-.0020532543131163614],[-.10525891522377151,-3.3371280902406326],[-.00010916563825365518,-.003262786872567668],[1.2575243648597052,-3.1319097072245228],[.0010714655565788852,-.0026822024976962114],[2.148070650450407,-2.638691473195891],[.0020488331095963935,-.0025036658401955325],[5.797450756297877,-3.65081190570028],[.007294251388660173,-.004527959057654681],[13.266566977415849,-3.9433212299360036],[.004630274836915856,-.0013584524994325288],[13.81307843797213,-1.9433183316578067],[.0006073160329718156,-8516571003331383e-20],[10.741886125105449,-.4891403929431277],[0,2.451575713239792],[0,0],[-2.3347100483550567,-.02984672765350692],[-11.10751906219199,.9556854825699901],[-.0007181210876404699,6216639673367526e-20],[-12.534344290995634,2.9468340252098812],[-.0031171592029665624,.0007406032969320924],[-10.53799537286362,5.725062141099414],[-.004287698520539227,.002349992778461412],[-3.619235803769783,3.8719270557493672],[-.0020302921549236875,.0021638996230474],[-.20608218850705384,4.599799807310646],[-.0006579719712727597,.012781265829142699],[3.393040844485185,4.197758237865774],[.0033097413374393644,.004122643558503465],[5.140982185560361,3.2523371702260455],[.004426447703222531,.002775854668870724],[9.93912344965888,3.3501095066350857],[1954177798763189e-23,6586808463247186e-24],[0,1.0554130222221532]],o:[[0,-1.5681525469371338],[10.765257363630866,2.9369741240162104],[.007601536359859753,.004152346382876058],[5.881428751462835,3.2626078847466076],[.0022355585651794127,.002422542076734731],[2.265333279101867,2.4676968695829196],[.0009741599065855668,.002054609875128928],[1.435368481853942,3.016514701221297],[.00010292046381476517,.003262989839166433],[.11162355731156026,3.3362501542766267],[-.001076197068539244,.0026803075471389906],[-1.2538412035464148,3.1387439262206627],[-.0020424151406520383,.002508904171859846],[-4.324964933738755,5.285089797664561],[-.007264899683381427,.004574904276503759],[-11.690517197502245,7.256972705299262],[-.004625431945562265,.0013748518376766],[-13.308375292884314,3.9044757205053457],[-.0006072780637611192,8543603071683522e-20],[-11.876199160118631,1.6654342698959965],[-2.3418353535341767,.1066373445321996],[0,0],[0,-2.4419858785005966],[9.857807793532254,.1260213402382675],[.0007181536080516991,-6178958358094643e-20],[13.045388103052257,-1.129314799853276],[.003118895968586793,-.0007332548514663017],[12.485569563047846,-2.9664362261857207],[.00429636063922666,-.00233411866012826],[5.2270910746857595,-2.864853071882216],[.002026232271056385,-.002167701685356875],[3.6182363104445727,-3.8563416448613097],[.0005728153772460179,-.012785365299974103],[.2365520107765775,-4.595080435273303],[-.003323419515741649,-.004111625025900657],[-3.385623247049537,-4.217162747155033],[-.004415436943585394,-.0027933358210706937],[-8.335209380997966,-5.227065002804366],[-1954177817773599e-23,-658680789924531e-23],[-.9604767379616987,-.32374107977084954],[0,0]]}}},{ty:"st",c:{a:0,k:[.5333333333333333,.5333333333333333,.5333333333333333],ix:2},o:{a:0,k:23.999999463558197,ix:2},w:{a:0,k:3.114522695541382,ix:2},lc:1,lj:1,ml:4},{ty:"tr",p:{a:0,k:[258.86151123046875,57.174991607666016],ix:2},a:{a:0,k:[67.36833190917969,50.92929458618164],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",it:[{ty:"rc",d:1,s:{a:0,k:[148,116],ix:2},p:{a:0,k:[259,57],ix:2},r:{a:0,k:0,ix:2}},{ty:"fl",c:{a:0,k:[0,0,0],ix:2},o:{a:0,k:0,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:301,st:0,bm:0},{ddd:0,ind:34,ty:4,nm:"Vector: 1",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,parent:31,shapes:[{ty:"gr",nm:"Vector",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[76.66257470006542,2.403401365747908],[79.52064921594652,.07843238649019971],[110.56461085434229,12.118919991364345],[110.58737476673319,12.131451102238545],[126.63547754289385,24.202716434206838],[126.64217474371026,24.209992786871183],[132.31833855266746,32.45072948388586],[132.32126532347044,32.456891276232604],[134.72400520130523,42.10706910451022],[134.72432333324937,42.11685777177116],[132.92933705832866,51.94987458179446],[132.92611554768342,51.95791834200726],[127.69348692654337,60.6423338060651],[127.68735003452792,60.649852650200295],[112.08358979648165,73.84856150744527],[112.06175099336824,73.8622158064254],[74.07562267109365,90.04292488216652],[74.06173910343931,90.04702485345958],[33.26088200397594,98.65859385874137],[33.25906011260041,98.65884975987571],[4.281077101262595,101.85446014275746],[0,97.53684037928531],[0,89.31383121081528],[4.25770767825915,84.94155007049504],[30.796360399506113,83.7301368920098],[30.798514811713854,83.72995095950905],[69.33315633104621,77.74450584074562],[69.3425104164373,77.74229505015846],[104.58108909244983,65.07778027166151],[104.59396520334353,65.07075411890494],[118.22413608247612,55.00017608751369],[118.23022089019848,54.993678702598785],[124.36736584710121,42.13246259449331],[124.36921236193066,42.094112551897666],[119.28451576512056,28.607961094288317],[119.2745659288313,28.59560975379304],[106.09170541796219,17.399869275871943],[106.07844256245492,17.391515506683835],[78.2790556532085,4.714326957834373],[78.27905559458318,4.714326938073947],[76.66257470006542,2.403401365747908]],i:[[0,0],[-1.4508275803785888,-.3958143226996739],[-9.742992490216338,-5.322118807293952],[-.007574354140823343,-.004201725224600727],[-4.557420807828052,-4.938606324305262],[-.0022292292233230364,-.00242836761668818],[-1.433766632082552,-3.0239707680357135],[-.0009770138116962155,-.0020532543131163614],[-.10525891522377151,-3.3371280902406326],[-.00010916563825365518,-.003262786872567668],[1.2575243648597052,-3.1319097072245228],[.0010714655565788852,-.0026822024976962114],[2.148070650450407,-2.638691473195891],[.0020488331095963935,-.0025036658401955325],[5.797450756297877,-3.65081190570028],[.007294251388660173,-.004527959057654681],[13.266566977415849,-3.9433212299360036],[.004630274836915856,-.0013584524994325288],[13.81307843797213,-1.9433183316578067],[.0006073160329718156,-8516571003331383e-20],[10.741886125105449,-.4891403929431277],[0,2.451575713239792],[0,0],[-2.3347100483550567,-.02984672765350692],[-11.10751906219199,.9556854825699901],[-.0007181210876404699,6216639673367526e-20],[-12.534344290995634,2.9468340252098812],[-.0031171592029665624,.0007406032969320924],[-10.53799537286362,5.725062141099414],[-.004287698520539227,.002349992778461412],[-3.619235803769783,3.8719270557493672],[-.0020302921549236875,.0021638996230474],[-.20608218850705384,4.599799807310646],[-.0006579719712727597,.012781265829142699],[3.393040844485185,4.197758237865774],[.0033097413374393644,.004122643558503465],[5.140982185560361,3.2523371702260455],[.004426447703222531,.002775854668870724],[9.93912344965888,3.3501095066350857],[1954177798763189e-23,6586808463247186e-24],[0,1.0554130222221532]],o:[[0,-1.5681525469371338],[10.765257363630866,2.9369741240162104],[.007601536359859753,.004152346382876058],[5.881428751462835,3.2626078847466076],[.0022355585651794127,.002422542076734731],[2.265333279101867,2.4676968695829196],[.0009741599065855668,.002054609875128928],[1.435368481853942,3.016514701221297],[.00010292046381476517,.003262989839166433],[.11162355731156026,3.3362501542766267],[-.001076197068539244,.0026803075471389906],[-1.2538412035464148,3.1387439262206627],[-.0020424151406520383,.002508904171859846],[-4.324964933738755,5.285089797664561],[-.007264899683381427,.004574904276503759],[-11.690517197502245,7.256972705299262],[-.004625431945562265,.0013748518376766],[-13.308375292884314,3.9044757205053457],[-.0006072780637611192,8543603071683522e-20],[-11.876199160118631,1.6654342698959965],[-2.3418353535341767,.1066373445321996],[0,0],[0,-2.4419858785005966],[9.857807793532254,.1260213402382675],[.0007181536080516991,-6178958358094643e-20],[13.045388103052257,-1.129314799853276],[.003118895968586793,-.0007332548514663017],[12.485569563047846,-2.9664362261857207],[.00429636063922666,-.00233411866012826],[5.2270910746857595,-2.864853071882216],[.002026232271056385,-.002167701685356875],[3.6182363104445727,-3.8563416448613097],[.0005728153772460179,-.012785365299974103],[.2365520107765775,-4.595080435273303],[-.003323419515741649,-.004111625025900657],[-3.385623247049537,-4.217162747155033],[-.004415436943585394,-.0027933358210706937],[-8.335209380997966,-5.227065002804366],[-1954177817773599e-23,-658680789924531e-23],[-.9604767379616987,-.32374107977084954],[0,0]]}}},{ty:"fl",c:{a:0,k:[1,1,1],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[258.86151123046875,57.174991607666016],ix:2},a:{a:0,k:[67.36833190917969,50.92929458618164],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:301,st:0,bm:0}],markers$4=[],flipAnimation={v:v$4,fr:fr$4,ip:ip$4,op:op$4,w:w$4,h:h$5,nm:nm$4,ddd:ddd$4,metadata:metadata$4,assets:assets$4,layers:layers$4,markers:markers$4},FlipAnimation=({onComplete:Be})=>{const{t:Le}=useTranslation$1(),Ye=useTokens();return jsxRuntimeExports.jsxs(Flex,{position:"absolute",top:0,left:0,right:0,bottom:0,p:12,as:"div",direction:"column",align:"center",justify:"center",style:{height:"100%",width:"100%",backgroundColor:Ye.color.surface.neutral.dark},children:[jsxRuntimeExports.jsx(Text$8,{color:Ye.color.text.body.invert,fontSize:Ye.typography.fontSize["2xl"],fontWeight:700,textAlign:"center",children:Le("idv2.flipAnimation.title")}),jsxRuntimeExports.jsx(Spacer,{size:8,direction:"vertical"}),jsxRuntimeExports.jsx(Lottie,{animationData:flipAnimation,loop:!1,style:{width:"80%",maxWidth:"400px"},onComplete:Be})]})},IdCaptureManager=({initialMode:Be="front",isDeepsightEnabled:Le})=>{const[Ye,tt]=React.useState(Be),nt=()=>{tt("front")},ft=()=>{tt("flipAnimation")},ht=async()=>{await sleep(1e3),tt("back")};return Ye==="passport"?jsxRuntimeExports.jsx(CaptureId$1,{initialMode:"passport",switchToBack:ft,isDeepsightEnabled:Le}):Ye==="front"?jsxRuntimeExports.jsx(CaptureId$1,{initialMode:"front",switchToBack:ft,isDeepsightEnabled:Le},"front"):Ye==="flipAnimation"?jsxRuntimeExports.jsx(FlipAnimation,{onComplete:ht}):jsxRuntimeExports.jsx(CaptureId$1,{initialMode:"back",switchToFront:nt},"back")},v$3="5.7.5",fr$3=100,ip$3=0,op$3=400,w$3=400,h$4=400,nm$3="Comp 1",ddd$3=0,metadata$3={},assets$3=[{id:"0",layers:[{ddd:0,ind:1,ty:3,nm:"",sr:1,ks:{p:{a:0,k:[.13091373443603516,.5249290466308594],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0},{ddd:0,refId:"1",w:402,h:402,ind:2,ty:0,nm:"border",sr:1,ks:{p:{a:0,k:[10,15],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0,parent:1},{ddd:0,refId:"2",w:421,h:433,ind:3,ty:0,nm:"hand1",sr:1,ks:{p:{a:0,k:[.13091373443603516,.5249290466308594],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:1,k:[{t:89,s:[0],i:{x:[.15],y:[1]},o:{x:[.5],y:[.35]}},{t:182,s:[95],i:{x:[.15],y:[1]},o:{x:[.5],y:[.35]}},{t:330,s:[95],i:{x:[.15],y:[1]},o:{x:[.5],y:[.35]}},{t:399,s:[0],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}}],ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0},{ddd:0,ind:4,ty:4,nm:"bg",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"gr",nm:"bg",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[297,148.5],[148.5,297],[0,148.5],[148.5,0],[297,148.5],[297,148.5],[297,148.5]],i:[[0,0],[82.0165,0],[0,82.0166],[-82.0165,0],[0,-82.0165],[0,0],[0,0]],o:[[0,82.01659999999998],[-82.0165,0],[0,-82.0165],[82.01650000000001,0],[0,0],[0,0],[0,0]]}}},{ty:"fl",c:{a:0,k:[0,.47843137254901963,1],ix:2},o:{a:0,k:7.000000000000001,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[210.49996948242188,216.5],ix:2},a:{a:0,k:[148.5,148.5],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:401,st:0,bm:0}]},{id:"3",layers:[{ddd:0,refId:"4",w:421,h:433,ind:5,ty:0,nm:"id frame",sr:1,ks:{p:{a:0,k:[-10,-15],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0},{ddd:0,ind:6,ty:4,nm:"id frame - box",sr:1,ks:{p:{a:0,k:[-10,-15],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"rc",d:1,s:{a:0,k:[402,402],ix:2},p:{a:0,k:[211,216],ix:2},r:{a:0,k:0,ix:2}},{ty:"fl",c:{a:0,k:[0,0,0],ix:2},o:{a:0,k:0,ix:2},r:1,bm:0}],ip:0,op:401,st:0,bm:0}]},{id:"1",layers:[{ddd:0,refId:"5",w:421,h:433,ind:7,ty:0,nm:"id frame",sr:1,ks:{p:{a:0,k:[-10,-15],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0,td:1},{ddd:0,refId:"3",w:402,h:402,ind:2,ty:0,nm:"border",sr:1,ks:{p:{a:0,k:[211,216],ix:2},a:{a:0,k:[211,216],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0,tt:1}]},{id:"4",layers:[{ddd:0,refId:"6",w:421,h:433,ind:8,ty:0,nm:"frameshine",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0}]},{id:"6",layers:[{ddd:0,refId:"7",w:162,h:274,ind:9,ty:0,nm:"frame-border - Null",sr:1,ks:{p:{a:0,k:[210.99996948242188,215.5],ix:2},a:{a:0,k:[80.5,137],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:-90,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0},{ddd:0,ind:10,ty:3,nm:"",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0},{ddd:0,refId:"8",w:407,h:404,ind:11,ty:0,nm:"frame-border (Stroke) (Masked)",sr:1,ks:{p:{a:0,k:[7,14],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0,parent:10}]},{id:"9",layers:[{ddd:0,ind:12,ty:4,nm:"Group",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"gr",nm:"Group",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[8,0],[153,0],[161,8],[161,266],[153,274],[8,274],[0,266],[0,8],[8,0],[8,0],[8,0]],i:[[0,0],[0,0],[0,-4.4183],[0,0],[4.4183,0],[0,0],[0,4.4183],[0,0],[-4.4183,0],[0,0],[0,0]],o:[[0,0],[4.41828000000001,0],[0,0],[0,4.4182799999999816],[0,0],[-4.41828,0],[0,0],[0,-4.41828],[0,0],[0,0],[0,0]]}}},{ty:"st",c:{a:0,k:[1,1,1],ix:2},o:{a:0,k:45,ix:2},w:{a:0,k:6,ix:2},lc:1,lj:1,ml:4},{ty:"tr",p:{a:0,k:[80.5,137],ix:2},a:{a:0,k:[80.5,137],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:401,st:0,bm:0},{ddd:0,ind:13,ty:4,nm:"Rectangle",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"gr",nm:"Rectangle",it:[{ty:"rc",d:1,s:{a:0,k:[328,554],ix:2},p:{a:0,k:[0,0],ix:2},r:{a:0,k:0,ix:2}},{ty:"fl",c:{a:0,k:[0,1,0],ix:2},o:{a:0,k:0,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[82,138.5],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:401,st:0,bm:0},{ddd:0,ind:14,ty:4,nm:"Mask - box",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"rc",d:1,s:{a:0,k:[162,274],ix:2},p:{a:0,k:[81,137],ix:2},r:{a:0,k:0,ix:2}},{ty:"fl",c:{a:0,k:[0,0,0],ix:2},o:{a:0,k:0,ix:2},r:1,bm:0}],ip:0,op:401,st:0,bm:0}]},{id:"7",layers:[{ddd:0,ind:15,ty:4,nm:"Mask",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},td:1,ao:0,shapes:[{ty:"gr",nm:"Mask",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[8,0],[153,0],[161,8],[161,266],[153,274],[8,274],[0,266],[0,8],[8,0],[8,0],[8,0]],i:[[0,0],[0,0],[0,-4.4183],[0,0],[4.4183,0],[0,0],[0,4.4183],[0,0],[-4.4183,0],[0,0],[0,0]],o:[[0,0],[4.41828000000001,0],[0,0],[0,4.4182799999999816],[0,0],[-4.41828,0],[0,0],[0,-4.41828],[0,0],[0,0],[0,0]]}}},{ty:"fl",c:{a:0,k:[0,0,0],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:401,st:0,bm:0},{ddd:0,refId:"9",w:162,h:274,ind:9,ty:0,nm:"frame-border - Null",sr:1,ks:{p:{a:0,k:[81,137],ix:2},a:{a:0,k:[81,137],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0,tt:1}]},{id:"10",layers:[{ddd:0,refId:"11",w:421,h:433,ind:16,ty:0,nm:"frame-border (Stroke)",sr:1,ks:{p:{a:0,k:[-7,-14],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0},{ddd:0,ind:17,ty:4,nm:"frame-border (Stroke) - box",sr:1,ks:{p:{a:0,k:[-7,-14],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"rc",d:1,s:{a:0,k:[407,404],ix:2},p:{a:0,k:[210.5,216],ix:2},r:{a:0,k:0,ix:2}},{ty:"fl",c:{a:0,k:[0,0,0],ix:2},o:{a:0,k:0,ix:2},r:1,bm:0}],ip:0,op:401,st:0,bm:0}]},{id:"8",layers:[{ddd:0,refId:"12",w:421,h:433,ind:18,ty:0,nm:"frame-border (Stroke)",sr:1,ks:{p:{a:0,k:[-7,-14],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0,td:1},{ddd:0,refId:"10",w:407,h:404,ind:11,ty:0,nm:"frame-border (Stroke) (Masked)",sr:1,ks:{p:{a:0,k:[210.5,216],ix:2},a:{a:0,k:[210.5,216],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0,tt:1}]},{id:"11",layers:[{ddd:0,refId:"13",w:421,h:433,ind:19,ty:0,nm:"Group 2301",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:1,k:[{t:0,s:[0],i:{x:[.15],y:[1]},o:{x:[.5],y:[.35]}},{t:76,s:[100],i:{x:[.15],y:[1]},o:{x:[.5],y:[.35]}},{t:365,s:[100],i:{x:[.15],y:[1]},o:{x:[.5],y:[.35]}},{t:399,s:[0],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}}],ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0}]},{id:"13",layers:[{ddd:0,ind:20,ty:3,nm:"frameshine - Null",sr:1,ks:{p:{a:0,k:[96.99999237060547,367.5],ix:2},a:{a:0,k:[23,232.5],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0},{ddd:0,ind:21,ty:3,nm:"",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0,parent:20},{ddd:0,ind:22,ty:4,nm:"Mask group - Null: 0:0: rg-shape-mask",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},td:1,ao:0,parent:21,shapes:[{ty:"gr",nm:"Mask group - Null",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[138,64.5],[69,129],[0,64.5],[69,0],[138,64.5],[138,64.5],[138,64.5]],i:[[0,0],[38.1087,0],[0,35.6234],[-38.1087,0],[0,-35.6233],[0,0],[0,0]],o:[[0,35.623400000000004],[-38.1087,0],[0,-35.6233],[38.1087,0],[0,0],[0,0],[0,0]]}}},{ty:"fl",c:{a:0,k:[0,0,0],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:1,k:[{t:0,s:[3,217],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}},{t:76,s:[3,3],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}},{t:187,s:[346,3],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}},{t:262,s:[346,216],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}},{t:365,s:[3,217],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}},{t:399,s:[3,3],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}},{t:735,s:[3,3],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}},{t:837,s:[346,3],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}},{t:905,s:[346,216],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}},{t:1e3,s:[3,217],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}}],ix:2},a:{a:0,k:[49,49],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:401,st:0,bm:0},{ddd:0,refId:"14",w:388,h:330,ind:23,ty:0,nm:"Mask group - Null: 0:0: rg-precomp",sr:1,ks:{p:{a:0,k:[-47,-47],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0,parent:21,tt:1}]},{id:"14",layers:[{ddd:0,ind:24,ty:3,nm:"",sr:1,ks:{p:{a:0,k:[47,47],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0},{ddd:0,ind:25,ty:4,nm:"Mask group - Null: 0:0: rg-foreground",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,parent:24,shapes:[{ty:"gr",it:[{ty:"gr",it:[{ty:"gr",it:[{ty:"rc",d:1,s:{a:0,k:[1226.4167368855199,1226.4167368855199],ix:2},p:{a:0,k:[68.9999986046127,64.4999988329198],ix:2},r:{a:0,k:0,ix:2}},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gf",o:{a:0,k:100,ix:2},r:1,bm:0,g:{p:3,k:{a:0,k:[0,1,1,1,.2031,1,1,1,1,1,1,1,0,1,.2031,1,1,0],ix:2}},s:{a:0,k:[68.9999986046127,64.4999988329198],ix:2},e:{a:0,k:[137.9999973036501,73.71428423336882],ix:2},t:2},{ty:"tr",p:{a:0,k:[68.9999986046127,64.4999988329198],ix:2},a:{a:0,k:[68.9999986046127,64.4999988329198],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"tr",p:{a:1,k:[{t:0,s:[3,217],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}},{t:76,s:[3,3],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}},{t:187,s:[346,3],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}},{t:262,s:[346,216],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}},{t:365,s:[3,217],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}},{t:399,s:[3,3],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}},{t:735,s:[3,3],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}},{t:837,s:[346,3],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}},{t:905,s:[346,216],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}},{t:1e3,s:[3,217],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}}],ix:2},a:{a:0,k:[49,49],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:401,st:0,bm:0},{ddd:0,ind:26,ty:4,nm:"Mask group - Null: 0:0: rg-background",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,parent:24,shapes:[{ty:"gr",it:[{ty:"rc",d:1,s:{a:0,k:[388,330],ix:2},p:{a:0,k:[147,118],ix:2},r:{a:0,k:0,ix:2}},{ty:"gf",o:{a:0,k:100,ix:2},r:1,bm:0,g:{p:1,k:{a:0,k:[0,1,1,1,0,0],ix:2}},s:{a:0,k:[0,0],ix:2},e:{a:0,k:[0,0],ix:2},t:2},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:0,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:401,st:0,bm:0}]},{id:"12",layers:[{ddd:0,ind:27,ty:3,nm:"",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0},{ddd:0,refId:"15",w:409,h:407,ind:28,ty:0,nm:"frame-border (Stroke) - Layer Mask (Masked)",sr:1,ks:{p:{a:0,k:[6,12],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0,parent:27}]},{id:"16",layers:[{ddd:0,ind:29,ty:4,nm:"frame-border (Stroke) - Null",sr:1,ks:{p:{a:0,k:[-6,-12],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"gr",it:[{ty:"gr",nm:"frame-border (Stroke) - Null",it:[{ty:"gr",nm:"Path",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[153.6818,3.1314],[153.6818,3.1314],[153.6818,3.1314],[158.0727,7.8285],[158.0727,265.8628],[153.6818,270.8685],[7.6066,270.8685],[2.9273,266.1714],[2.9273,8.1371],[7.6066,3.1314],[153.6818,3.1314]],i:[[0,0],[0,0],[0,0],[0,-2.3485700000000005],[0,0],[2.5613600000000076,0],[0,0],[0,2.348569999999995],[0,0],[-2.5843100000000003,0],[0,0]],o:[[0,0],[0,0],[2.5614,0],[0,0],[0,2.6571],[0,0],[-3.2157,0],[0,0],[0,-2.7645],[0,0],[0,0]]}}},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"Path",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[7.3182,0],[0,7.8286],[0,266.1715],[7.3182,274.0001],[153.6818,274.0001],[161,265.863],[161,7.8287],[153.6818,1e-4],[7.3182,0],[7.3182,0]],i:[[0,0],[0,-4.494],[0,0],[-4.025,0],[0,0],[0,4.6142],[0,0],[4.025,0],[0,0],[0,0]],o:[[-4.201,0],[0,0],[0,4.49396999999999],[0,0],[4.200999999999993,0],[0,0],[0,-4.30571],[0,0],[0,0],[0,0]]}}},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"fl",c:{a:0,k:[1,1,1],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"tr",p:{a:0,k:[210.98634338378906,215.5],ix:2},a:{a:0,k:[80.5,137.0000457763672],ix:2},s:{a:0,k:[100,99.98999834060669],ix:2},r:{a:0,k:-90,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:401,st:0,bm:0},{ddd:0,ind:30,ty:4,nm:"Mask group - box",sr:1,ks:{p:{a:0,k:[-6,-12],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"rc",d:1,s:{a:0,k:[409,407],ix:2},p:{a:0,k:[210.5,215.5],ix:2},r:{a:0,k:0,ix:2}},{ty:"fl",c:{a:0,k:[0,0,0],ix:2},o:{a:0,k:0,ix:2},r:1,bm:0}],ip:0,op:401,st:0,bm:0}]},{id:"15",layers:[{ddd:0,refId:"17",w:421,h:433,ind:31,ty:0,nm:"Mask group",sr:1,ks:{p:{a:0,k:[-6,-12],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0,td:1},{ddd:0,refId:"16",w:409,h:407,ind:28,ty:0,nm:"frame-border (Stroke) - Layer Mask (Masked)",sr:1,ks:{p:{a:0,k:[210.5,215.5],ix:2},a:{a:0,k:[210.5,215.5],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0,tt:1}]},{id:"17",layers:[{ddd:0,ind:32,ty:3,nm:"",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0},{ddd:0,refId:"18",w:411,h:409,ind:33,ty:0,nm:"id-scan-tuto - Shape Mask (Masked)",sr:1,ks:{p:{a:0,k:[4,12],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0,parent:32}]},{id:"19",layers:[{ddd:0,ind:34,ty:4,nm:"id-scan-tuto - Shape Mask",sr:1,ks:{p:{a:0,k:[-4,-12],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"gr",nm:"id-scan-tuto - Shape Mask",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[.01,0],[420.99,0],[421,.01],[421,432.99],[420.99,433],[.01,433],[0,432.99],[0,.01],[.01,0],[.01,0],[.01,0]],i:[[0,0],[0,0],[0,-.0055],[0,0],[.0055,0],[0,0],[0,.0055],[0,0],[-.0055,0],[0,0],[0,0]],o:[[0,0],[.005519999999989977,0],[0,0],[0,.005519999999989977],[0,0],[-.00552,0],[0,0],[0,-.00552],[0,0],[0,0],[0,0]]}}},{ty:"fl",c:{a:0,k:[0,1,0],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[210.5,216.5],ix:2},a:{a:0,k:[210.5,216.5],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:401,st:0,bm:0},{ddd:0,ind:35,ty:4,nm:"frameshine - box",sr:1,ks:{p:{a:0,k:[-4,-12],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"rc",d:1,s:{a:0,k:[411,409],ix:2},p:{a:0,k:[209.5,216.5],ix:2},r:{a:0,k:0,ix:2}},{ty:"fl",c:{a:0,k:[0,0,0],ix:2},o:{a:0,k:0,ix:2},r:1,bm:0}],ip:0,op:401,st:0,bm:0}]},{id:"18",layers:[{ddd:0,refId:"20",w:421,h:433,ind:36,ty:0,nm:"frameshine",sr:1,ks:{p:{a:0,k:[-4,-12],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0,td:1},{ddd:0,refId:"19",w:411,h:409,ind:33,ty:0,nm:"id-scan-tuto - Shape Mask (Masked)",sr:1,ks:{p:{a:0,k:[209.5,216.5],ix:2},a:{a:0,k:[209.5,216.5],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0,tt:1}]},{id:"20",layers:[{ddd:0,ind:37,ty:3,nm:"",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0},{ddd:0,refId:"21",w:412,h:411,ind:38,ty:0,nm:"id-scan-tuto - Shape Mask (Masked)",sr:1,ks:{p:{a:0,k:[3,12],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0,parent:37}]},{id:"22",layers:[{ddd:0,ind:39,ty:4,nm:"id-scan-tuto - Shape Mask",sr:1,ks:{p:{a:0,k:[-3,-12],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"gr",nm:"id-scan-tuto - Shape Mask",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[.01,0],[420.99,0],[421,.01],[421,432.99],[420.99,433],[.01,433],[0,432.99],[0,.01],[.01,0],[.01,0],[.01,0]],i:[[0,0],[0,0],[0,-.0055],[0,0],[.0055,0],[0,0],[0,.0055],[0,0],[-.0055,0],[0,0],[0,0]],o:[[0,0],[.005519999999989977,0],[0,0],[0,.005519999999989977],[0,0],[-.00552,0],[0,0],[0,-.00552],[0,0],[0,0],[0,0]]}}},{ty:"fl",c:{a:0,k:[0,1,0],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[210.5,216.5],ix:2},a:{a:0,k:[210.5,216.5],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:401,st:0,bm:0},{ddd:0,ind:40,ty:4,nm:"id frame - box",sr:1,ks:{p:{a:0,k:[-3,-12],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"rc",d:1,s:{a:0,k:[412,411],ix:2},p:{a:0,k:[209,217.5],ix:2},r:{a:0,k:0,ix:2}},{ty:"fl",c:{a:0,k:[0,0,0],ix:2},o:{a:0,k:0,ix:2},r:1,bm:0}],ip:0,op:401,st:0,bm:0}]},{id:"21",layers:[{ddd:0,refId:"23",w:421,h:433,ind:41,ty:0,nm:"id frame",sr:1,ks:{p:{a:0,k:[-3,-12],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0,td:1},{ddd:0,refId:"22",w:412,h:411,ind:38,ty:0,nm:"id-scan-tuto - Shape Mask (Masked)",sr:1,ks:{p:{a:0,k:[209,217.5],ix:2},a:{a:0,k:[209,217.5],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0,tt:1}]},{id:"23",layers:[{ddd:0,ind:42,ty:3,nm:"",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0},{ddd:0,refId:"24",w:414,h:412,ind:43,ty:0,nm:"id frame - Shape Mask (Masked)",sr:1,ks:{p:{a:0,k:[2,11],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0,parent:42}]},{id:"25",layers:[{ddd:0,ind:44,ty:4,nm:"id frame - Null",sr:1,ks:{p:{a:0,k:[-2,-11],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"gr",nm:"id frame - Null",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[.01,0],[273.99,0],[274,.01],[274,171.99],[273.99,172],[.01,172],[0,171.99],[0,.01],[.01,0],[.01,0],[.01,0]],i:[[0,0],[0,0],[0,-.0055],[0,0],[.0055,0],[0,0],[0,.0055],[0,0],[-.0055,0],[0,0],[0,0]],o:[[0,0],[.005519999999989977,0],[0,0],[0,.005519999999989977],[0,0],[-.00552,0],[0,0],[0,-.00552],[0,0],[0,0],[0,0]]}}},{ty:"fl",c:{a:0,k:[0,1,0],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[210.99996948242188,215],ix:2},a:{a:0,k:[137,86],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:401,st:0,bm:0},{ddd:0,ind:45,ty:4,nm:"Illustration - box",sr:1,ks:{p:{a:0,k:[-2,-11],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"rc",d:1,s:{a:0,k:[414,412],ix:2},p:{a:0,k:[209,217],ix:2},r:{a:0,k:0,ix:2}},{ty:"fl",c:{a:0,k:[0,0,0],ix:2},o:{a:0,k:0,ix:2},r:1,bm:0}],ip:0,op:401,st:0,bm:0}]},{id:"24",layers:[{ddd:0,refId:"26",w:421,h:433,ind:46,ty:0,nm:"Illustration",sr:1,ks:{p:{a:0,k:[-2,-11],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0,td:1},{ddd:0,refId:"25",w:414,h:412,ind:43,ty:0,nm:"id frame - Shape Mask (Masked)",sr:1,ks:{p:{a:0,k:[209,217],ix:2},a:{a:0,k:[209,217],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0,tt:1}]},{id:"26",layers:[{ddd:0,ind:47,ty:4,nm:"id-scan-tuto - Shape Mask",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"gr",nm:"id-scan-tuto - Shape Mask",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[.01,0],[420.99,0],[421,.01],[421,432.99],[420.99,433],[.01,433],[0,432.99],[0,.01],[.01,0],[.01,0],[.01,0]],i:[[0,0],[0,0],[0,-.0055],[0,0],[.0055,0],[0,0],[0,.0055],[0,0],[-.0055,0],[0,0],[0,0]],o:[[0,0],[.005519999999989977,0],[0,0],[0,.005519999999989977],[0,0],[-.00552,0],[0,0],[0,-.00552],[0,0],[0,0],[0,0]]}}},{ty:"fl",c:{a:0,k:[0,1,0],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[210.5,216.5],ix:2},a:{a:0,k:[210.5,216.5],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:401,st:0,bm:0}]},{id:"5",layers:[{ddd:0,ind:48,ty:3,nm:"",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0},{ddd:0,refId:"27",w:406,h:402,ind:49,ty:0,nm:"id frame - Shape Mask (Masked)",sr:1,ks:{p:{a:0,k:[8,15],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0,parent:48}]},{id:"28",layers:[{ddd:0,ind:50,ty:4,nm:"id frame - Null",sr:1,ks:{p:{a:0,k:[-8,-15],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"gr",nm:"id frame - Null",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[.01,0],[273.99,0],[274,.01],[274,171.99],[273.99,172],[.01,172],[0,171.99],[0,.01],[.01,0],[.01,0],[.01,0]],i:[[0,0],[0,0],[0,-.0055],[0,0],[.0055,0],[0,0],[0,.0055],[0,0],[-.0055,0],[0,0],[0,0]],o:[[0,0],[.005519999999989977,0],[0,0],[0,.005519999999989977],[0,0],[-.00552,0],[0,0],[0,-.00552],[0,0],[0,0],[0,0]]}}},{ty:"fl",c:{a:0,k:[0,1,0],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[210.99996948242188,215],ix:2},a:{a:0,k:[137,86],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:401,st:0,bm:0},{ddd:0,ind:51,ty:4,nm:"Illustration - box",sr:1,ks:{p:{a:0,k:[-8,-15],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"rc",d:1,s:{a:0,k:[406,402],ix:2},p:{a:0,k:[211,216],ix:2},r:{a:0,k:0,ix:2}},{ty:"fl",c:{a:0,k:[0,0,0],ix:2},o:{a:0,k:0,ix:2},r:1,bm:0}],ip:0,op:401,st:0,bm:0}]},{id:"27",layers:[{ddd:0,refId:"29",w:421,h:433,ind:52,ty:0,nm:"Illustration",sr:1,ks:{p:{a:0,k:[-8,-15],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0,td:1},{ddd:0,refId:"28",w:406,h:402,ind:49,ty:0,nm:"id frame - Shape Mask (Masked)",sr:1,ks:{p:{a:0,k:[211,216],ix:2},a:{a:0,k:[211,216],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0,tt:1}]},{id:"29",layers:[{ddd:0,ind:53,ty:4,nm:"id-scan-tuto - Shape Mask",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"gr",nm:"id-scan-tuto - Shape Mask",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[.01,0],[420.99,0],[421,.01],[421,432.99],[420.99,433],[.01,433],[0,432.99],[0,.01],[.01,0],[.01,0],[.01,0]],i:[[0,0],[0,0],[0,-.0055],[0,0],[.0055,0],[0,0],[0,.0055],[0,0],[-.0055,0],[0,0],[0,0]],o:[[0,0],[.005519999999989977,0],[0,0],[0,.005519999999989977],[0,0],[-.00552,0],[0,0],[0,-.00552],[0,0],[0,0],[0,0]]}}},{ty:"fl",c:{a:0,k:[0,1,0],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[210.5,216.5],ix:2},a:{a:0,k:[210.5,216.5],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:401,st:0,bm:0}]},{id:"2",layers:[{ddd:0,ind:54,ty:3,nm:"",sr:1,ks:{p:{a:1,k:[{t:89,s:[148.13092041015625,352.5249328613281],i:{x:[.15],y:[1]},o:{x:[.5],y:[.35]}},{t:182,s:[148.13092041015625,228.52493286132812],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}},{t:330,s:[148.13092041015625,228.52493286132812],i:{x:[.15],y:[1]},o:{x:[.5],y:[.35]}},{t:399,s:[148.13092041015625,352.5249328613281],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}}],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:-35084222913516843e-31,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0},{ddd:0,ind:55,ty:3,nm:"",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:45,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0,parent:54},{ddd:0,ind:56,ty:3,nm:"",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0,parent:55},{ddd:0,ind:57,ty:3,nm:"avatar",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[34.5,41.99999999999999],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:-45,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0,parent:56},{ddd:0,ind:58,ty:3,nm:"",sr:1,ks:{p:{a:0,k:[13.630821228027344,41.274932861328125],ix:2},a:{a:0,k:[34.5,42],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0,parent:57},{ddd:0,refId:"30",w:70,h:84,ind:59,ty:0,nm:"Frame clipped content",sr:1,ks:{p:{a:0,k:[-1,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0,parent:58},{ddd:0,ind:60,ty:4,nm:"bg",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,parent:57,shapes:[{ty:"gr",nm:"bg",it:[{ty:"rc",d:1,s:{a:0,k:[69,84],ix:2},p:{a:0,k:[0,0],ix:2},r:{a:0,k:5,ix:2}},{ty:"fl",c:{a:0,k:[.9490196078431372,.9490196078431372,.9490196078431372],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[13.630821228027344,41.274932861328125],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:35084222913516843e-31,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:-13497799236786507e-35,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:401,st:0,bm:0},{ddd:0,refId:"31",w:421,h:433,ind:61,ty:0,nm:"hand_front",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0},{ddd:0,refId:"32",w:421,h:433,ind:62,ty:0,nm:"id2",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0},{ddd:0,refId:"33",w:421,h:433,ind:63,ty:0,nm:"hand_back",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0}]},{id:"34",layers:[{ddd:0,ind:64,ty:4,nm:"Ellipse 148",sr:1,ks:{p:{a:0,k:[1,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"gr",nm:"Ellipse 148",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[29.40778923034668,21.02375372204266],[14.703896173913106,41.67866897583008],[0,21.02375372204266],[14.703896173913106,0],[29.40778923034668,21.02375372204266]],i:[[0,0],[6.445570528652801,6709120249186247e-28],[0,11.407394951810977],[-13.89285269848294,0],[0,-10.3986211332242]],o:[[0,11.407394951810977],[-7.049784824434234,-7338040298630747e-28],[0,-10.163616881427123],[13.89285269848294,0],[0,0]]}}},{ty:"fl",c:{a:0,k:[.9803921568627451,.9803921568627451,.9803921568627451],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[34.549598693847656,35.140846252441406],ix:2},a:{a:0,k:[14.70389461517334,20.83933448791504],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:35084222913516843e-31,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:-13497799236786507e-35,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:401,st:0,bm:0},{ddd:0,ind:65,ty:4,nm:"Vector 14",sr:1,ks:{p:{a:0,k:[1,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"gr",nm:"Vector 14",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[3.9348058700561523,1.3974225869325927],[3.9348058700561523,9.320050553038458],[2.3130527164307835,10.379291534423828],[.24067927197749917,5.251672965050543],[1.0515850938809188,.7550471171330079],[3.9348058700561523,1.3974225869325927]],i:[[0,0],[0,0],[1.081207827744338,0],[.18020130462405634,1.3918134404172093],[-1.531711138209313,2.034188793993958],[-.45050326156014087,-.8921880879311809]],o:[[0,0],[-.09008117596188552,.6780629700722647],[-1.3515097357755885,0],[-.18020130462405634,-1.3918134404172093],[1.2253689105674503,-1.627351104928868],[0,0]]}}},{ty:"gf",o:{a:0,k:100,ix:2},r:1,bm:0,g:{p:3,k:{a:0,k:[.0416666679084301,.7098039215686275,.7098039215686275,.7098039215686275,.3624882996082306,.8862745098039215,.8862745098039215,.8862745098039215,1,1,1,1,.0416666679084301,1,.3624882996082306,1,1,1],ix:2}},s:{a:0,k:[3.535644338029215,5.073959327992043],ix:2},e:{a:0,k:[.9527466096603376,5.337060494702882],ix:2},t:1},{ty:"tr",p:{a:0,k:[48.94611358642578,38.227134704589844],ix:2},a:{a:0,k:[1.9674029350280762,5.189645767211914],ix:2},s:{a:0,k:[100.0000001429167,-99.9481639006186],ix:2},r:{a:0,k:-172.2474372501015,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:178.15518187858171,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:401,st:0,bm:0},{ddd:0,ind:66,ty:4,nm:"Vector 13",sr:1,ks:{p:{a:0,k:[1,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"gr",nm:"Vector 13",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[3.9348061084747314,1.3974225869325927],[3.9348061084747314,9.320050553038458],[2.3130528565837567,10.379291534423828],[.24067928656078788,5.251672965050543],[1.0515851575987825,.7550471171330079],[3.9348061084747314,1.3974225869325927]],i:[[0,0],[0,0],[1.0812078932571085,0],[.18020131554285143,1.3918134404172093],[-1.5317112310190741,2.034188793993958],[-.4505032888571286,-.8921880879311809]],o:[[0,0],[-.09008118142010295,.6780629700722647],[-1.3515098176665488,0],[-.18020131554285143,-1.3918134404172093],[1.2253689848152594,-1.627351104928868],[0,0]]}}},{ty:"gf",o:{a:0,k:100,ix:2},r:1,bm:0,g:{p:3,k:{a:0,k:[.171875,.7411764705882353,.7411764705882353,.7411764705882353,.640625,.8823529411764706,.8823529411764706,.8823529411764706,1,.8666666666666667,.8666666666666667,.8666666666666667,.171875,1,.640625,1,1,1],ix:2}},s:{a:0,k:[3.535644552261715,5.073959327992043],ix:2},e:{a:0,k:[.9527466673893592,5.337060494702882],ix:2},t:1},{ty:"tr",p:{a:0,k:[19.525991439819336,37.78838348388672],ix:2},a:{a:0,k:[1.9674030542373657,5.189645767211914],ix:2},s:{a:0,k:[100.00000406647163,99.94816570930602],ix:2},r:{a:0,k:-7.210328320717026,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:1.8448164690909499,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:401,st:0,bm:0},{ddd:0,ind:67,ty:4,nm:"Path 48",sr:1,ks:{p:{a:0,k:[1,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"gr",nm:"Path 48",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[0,.12849007540458368],[15.486435890197754,2.753420328909102],[0,8.300728221449454],[0,.12849007540458368]],i:[[0,0],[0,0],[13.997622810023397,2.272839475302365],[0,0]],o:[[7.976375788455248,-.8286119902769422],[0,0],[0,0],[0,0]]}}},{ty:"fl",c:{a:0,k:[.803921568627451,.803921568627451,.803921568627451],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[32.48638153076172,54.08028030395508],ix:2},a:{a:0,k:[7.743217945098877,4.357501983642578],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:35084222913516843e-31,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:-13497799236786507e-35,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:401,st:0,bm:0},{ddd:0,ind:68,ty:4,nm:"Combined Shape",sr:1,ks:{p:{a:0,k:[1,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"gr",nm:"Combined Shape",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[68.99954223632812,10.8717041015625],[68.99954223632812,18.371704101562496],[63.99954223632811,23.3717041015625],[5.000024025314547,23.3717041015625],[13087377776455673e-21,18.371680076267403],[0,11.067558288574219],[21.875686645507812,.0020765764638781548],[33.896018981933594,6.112762928009033],[47.13252639770508,0],[68.99954223632812,10.8717041015625]],i:[[0,0],[0,-2.295651123987742],[2.7614237491539666,0],[12.732030280155596,0],[-28159404744806925e-22,2.761433131603602],[1343608016919655e-20,2.496890573581224],[0,0],[-5.204238414764404,-.1275200992822647],[-1.8004869222640991,3.39642071723938],[-3.2092509269714355,-5.7423272132873535]],o:[[0,2.452988800294472],[0,2.7614237491539666],[-12.732004109396655,0],[-2.761433131605038,0],[22246243573398796e-22,-2.181562949005027],[3.2085766792297363,-5.740843772888184],[1.7319860458374023,3.1289663314819336],[5.647283554077148,.13837610185146332],[0,0],[0,0]]}}},{ty:"fl",c:{a:0,k:"replaceColorWithYours",ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[34.4997673034668,72.31414794921875],ix:2},a:{a:0,k:[34.49977111816406,11.68585205078125],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:35084222913516843e-31,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:-13497799236786507e-35,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:401,st:0,bm:0},{ddd:0,ind:69,ty:4,nm:"Combined Shape",sr:1,ks:{p:{a:0,k:[1,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"gr",nm:"Combined Shape",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[6.834998839187427,20.148897094698956],[6.834998839187427,20.276831175115184],[0,26.382373100174387],[16.344566345214844,33.506351470947266],[32.68913269042969,26.382373100174387],[25.8541346319782,20.26762907974962],[25.86245727708525,8.185946186435809],[25.86245727708525,8.120052944909647],[25.906137891386308,4.535509267814491],[6.805281687150871,8.478276480396433],[6.834998839187427,20.148897094698956]],i:[[0,0],[0,0],[4.521402652891512,-1.3638461608837398],[-5.4480901487646864,0],[-5.4480901487646864,3.9576671986075476],[.06597261988864958,2.711069867255544],[-.004751279871115604,1.028893788770157],[.2971739601653587,.08251942464135713],[-.020207830999104257,4.63207044174287],[-.2848749293302733,-12.719011440108291],[-.018127613460931735,-1.4687269453329332]],o:[[0,0],[-.03526464380157919,2.706518339323246],[5.4480901487646864,3.9576671986075476],[5.4480901487646864,0],[-4.4906947469486855,-1.365429233222053],[0,-1.028902561954298],[.3248111584670955,.045712197705763596],[.008915218347498297,-3.3895298307376183],[.020207830999104257,-4.63212035141265],[.003863261741378393,1.2968610478513316],[0,0]]}}},{ty:"gf",o:{a:0,k:100,ix:2},r:1,bm:0,g:{p:2,k:{a:0,k:[0,.6941176470588235,.6941176470588235,.6941176470588235,1,1,1,1,0,1,1,1],ix:2}},s:{a:0,k:[14.894934886697229,9.251654175928934],ix:2},e:{a:0,k:[14.894934886697229,24.992764192926643],ix:2},t:1},{ty:"tr",p:{a:0,k:[34.507652282714844,52.670166015625],ix:2},a:{a:0,k:[16.344566345214844,16.753175735473633],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:35084222913516843e-31,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:-13497799236786507e-35,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:401,st:0,bm:0},{ddd:0,ind:70,ty:4,nm:"Frame region - box",sr:1,ks:{p:{a:0,k:[1,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"rc",d:1,s:{a:0,k:[70,84],ix:2},p:{a:0,k:[34,42],ix:2},r:{a:0,k:0,ix:2}},{ty:"fl",c:{a:0,k:[0,0,0],ix:2},o:{a:0,k:0,ix:2},r:1,bm:0}],ip:0,op:401,st:0,bm:0}]},{id:"30",layers:[{ddd:0,ind:71,ty:4,nm:"Frame region",sr:1,ks:{p:{a:0,k:[1,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},td:1,ao:0,shapes:[{ty:"gr",nm:"Frame region",it:[{ty:"rc",d:1,s:{a:0,k:[69,84],ix:2},p:{a:0,k:[0,0],ix:2},r:{a:0,k:3.728449583053589,ix:2}},{ty:"fl",c:{a:0,k:[0,0,0],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[34.5,42],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:401,st:0,bm:0},{ddd:0,refId:"34",w:70,h:84,ind:59,ty:0,nm:"Frame clipped content",sr:1,ks:{p:{a:0,k:[34,42],ix:2},a:{a:0,k:[34,42],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0,tt:1}]},{id:"31",layers:[{ddd:0,ind:72,ty:3,nm:"Illustration - Null",sr:1,ks:{p:{a:0,k:[90.40459442138672,272.698974609375],ix:2},a:{a:0,k:[191.40449905395508,204.69896697998047],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0},{ddd:0,ind:73,ty:3,nm:"hand1 - Null",sr:1,ks:{p:{a:1,k:[{t:89,s:[229,284.5],i:{x:[.15],y:[1]},o:{x:[.5],y:[.35]}},{t:182,s:[229,174.5],i:{x:[.15],y:[1]},o:{x:[.5],y:[.35]}},{t:330,s:[229,174.5],i:{x:[.15],y:[1]},o:{x:[.5],y:[.35]}},{t:399,s:[228.13082885742188,284.52490234375],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}}],ix:2},a:{a:0,k:[228.5,146.5],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0,parent:72},{ddd:0,ind:74,ty:3,nm:"",sr:1,ks:{p:{a:0,k:[190.9044952392578,66.69896697998047],ix:2},a:{a:0,k:[91.06314135482535,59.241802628523146],ix:2},s:{a:0,k:[99.99999925241977,99.99999925241977],ix:2},r:{a:0,k:-1.5587000278369698,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0,parent:73},{ddd:0,refId:"35",w:178,h:121,ind:75,ty:0,nm:"Vector - Stroke (Masked Group)",sr:1,ks:{p:{a:0,k:[6,-2],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0,parent:74},{ddd:0,ind:76,ty:4,nm:"Vector",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,parent:73,shapes:[{ty:"gr",nm:"Vector",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[15.2642,118.4453],[37.6124,109.0988],[57.9243,85.8643],[69.5416,66.1531],[88.3299,33.1984],[128.6094,31.1182],[156.041,38.1135],[173.5914,35.0297],[181.9271,20.1163],[153.7923,9.2828],[125.6868,2.0679],[89.2041,1.0751],[67.4541,2.0679],[4.0134,66.4022],[.644,95.1084],[15.2718,118.4454],[15.2642,118.4453],[15.2642,118.4453]],i:[[0,0],[-6.3873,5.2593],[-5.4424,8.7825],[-4.3656,6.2628],[-6.3873,11.1558],[-14.6424,3.9115],[-9.4784,-.5567],[-5.23,2.9886],[1.1866,5.9112],[9.6175,2.6735],[10.3207,.4981],[10.0277,0],[5.6768,-3.9774],[28.9992,-16.2026],[-1.8092,-9.4857],[-7.6179,-5.9478],[0,0],[0,0]],o:[[8.25513,.5054200000000009],[7.976779999999998,-6.570409999999995],[4.021349999999998,-6.482510000000005],[7.34684,-10.547809999999998],[11.719790000000003,0],[8.584749999999985,4.050649999999997],[6.013720000000006,.3515900000000016],[5.2299600000000055,-2.9885499999999965],[-1.3038500000000113,-3.3987900000000018],[-8.108630000000005,-6.40926],[-10.32074,-.4980899999999999],[-10.027749999999997,-9999999999998899e-20],[-27.19724,19.07396],[-2.89332,9.214680000000001],[1.80924,9.485709999999997],[0,0],[0,0],[0,0]]}}},{ty:"gf",o:{a:0,k:70,ix:2},r:1,bm:0,g:{p:4,k:{a:0,k:[0,1,1,1,.3446,1,1,1,.6854,1,1,1,1,1,1,1,0,1,.3446,.87,.6854,.34,1,0],ix:2}},s:{a:0,k:[59.678981816837144,39.682002548534626],ix:2},e:{a:0,k:[23.063250400302156,80.20096724697872],ix:2},t:1},{ty:"tr",p:{a:0,k:[190.9044952392578,66.69896697998047],ix:2},a:{a:0,k:[91.06313975060566,59.24180359327073],ix:2},s:{a:0,k:[99.99999925241977,99.99999925241977],ix:2},r:{a:0,k:-1.5587000278369698,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:401,st:0,bm:0}]},{id:"36",layers:[{ddd:0,ind:77,ty:4,nm:"Group",sr:1,ks:{p:{a:0,k:[-6,2],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"gr",nm:"Group",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[15.2642,118.4453],[37.6124,109.0988],[57.9243,85.8643],[69.5416,66.1531],[88.3299,33.1984],[128.6094,31.1182],[156.041,38.1135],[173.5914,35.0297],[181.9271,20.1163],[153.7923,9.2828],[125.6868,2.0679],[89.2041,1.0751],[67.4541,2.0679],[4.0134,66.4022],[.644,95.1084],[15.2718,118.4454],[15.2642,118.4453],[15.2642,118.4453]],i:[[0,0],[-6.3873,5.2593],[-5.4424,8.7825],[-4.3656,6.2628],[-6.3873,11.1558],[-14.6424,3.9115],[-9.4784,-.5567],[-5.23,2.9886],[1.1866,5.9112],[9.6175,2.6735],[10.3207,.4981],[10.0277,0],[5.6768,-3.9774],[28.9992,-16.2026],[-1.8092,-9.4857],[-7.6179,-5.9478],[0,0],[0,0]],o:[[8.25513,.5054200000000009],[7.976779999999998,-6.570409999999995],[4.021349999999998,-6.482510000000005],[7.34684,-10.547809999999998],[11.719790000000003,0],[8.584749999999985,4.050649999999997],[6.013720000000006,.3515900000000016],[5.2299600000000055,-2.9885499999999965],[-1.3038500000000113,-3.3987900000000018],[-8.108630000000005,-6.40926],[-10.32074,-.4980899999999999],[-10.027749999999997,-9999999999998899e-20],[-27.19724,19.07396],[-2.89332,9.214680000000001],[1.80924,9.485709999999997],[0,0],[0,0],[0,0]]}}},{ty:"gs",o:{a:0,k:70,ix:2},bm:0,g:{p:2,k:{a:0,k:[0,1,1,1,1,1,1,1,0,1,1,0],ix:2}},s:{a:0,k:[75.3892138210032,37.366472475224384],ix:2},e:{a:0,k:[34.90184026331833,90.11536732083192],ix:2},t:1,w:{a:0,k:3.2874,ix:2},lc:1,lj:1,ml:4},{ty:"tr",p:{a:0,k:[91.06314086914062,59.24180221557617],ix:2},a:{a:0,k:[91.06313975060566,59.24180359327073],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:401,st:0,bm:0},{ddd:0,ind:78,ty:4,nm:"Rectangle",sr:1,ks:{p:{a:0,k:[-6,2],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"gr",nm:"Rectangle",it:[{ty:"rc",d:1,s:{a:0,k:[367.5392,240.2542],ix:2},p:{a:0,k:[0,0],ix:2},r:{a:0,k:0,ix:2}},{ty:"fl",c:{a:0,k:[0,1,0],ix:2},o:{a:0,k:0,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[91.88480377197266,60.06354904174805],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:401,st:0,bm:0},{ddd:0,ind:79,ty:4,nm:"Mask - box",sr:1,ks:{p:{a:0,k:[-6,2],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"rc",d:1,s:{a:0,k:[178,121],ix:2},p:{a:0,k:[95,58.5],ix:2},r:{a:0,k:0,ix:2}},{ty:"fl",c:{a:0,k:[0,0,0],ix:2},o:{a:0,k:0,ix:2},r:1,bm:0}],ip:0,op:401,st:0,bm:0}]},{id:"35",layers:[{ddd:0,ind:80,ty:4,nm:"Mask",sr:1,ks:{p:{a:0,k:[-6,2],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},td:1,ao:0,shapes:[{ty:"gr",nm:"Mask",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[15.2642,118.4453],[37.6124,109.0988],[57.9243,85.8643],[69.5416,66.1531],[88.3299,33.1984],[128.6094,31.1182],[156.041,38.1135],[173.5914,35.0297],[181.9271,20.1163],[153.7923,9.2828],[125.6868,2.0679],[89.2041,1.0751],[67.4541,2.0679],[4.0134,66.4022],[.644,95.1084],[15.2718,118.4454],[15.2642,118.4453],[15.2642,118.4453]],i:[[0,0],[-6.3873,5.2593],[-5.4424,8.7825],[-4.3656,6.2628],[-6.3873,11.1558],[-14.6424,3.9115],[-9.4784,-.5567],[-5.23,2.9886],[1.1866,5.9112],[9.6175,2.6735],[10.3207,.4981],[10.0277,0],[5.6768,-3.9774],[28.9992,-16.2026],[-1.8092,-9.4857],[-7.6179,-5.9478],[0,0],[0,0]],o:[[8.25513,.5054200000000009],[7.976779999999998,-6.570409999999995],[4.021349999999998,-6.482510000000005],[7.34684,-10.547809999999998],[11.719790000000003,0],[8.584749999999985,4.050649999999997],[6.013720000000006,.3515900000000016],[5.2299600000000055,-2.9885499999999965],[-1.3038500000000113,-3.3987900000000018],[-8.108630000000005,-6.40926],[-10.32074,-.4980899999999999],[-10.027749999999997,-9999999999998899e-20],[-27.19724,19.07396],[-2.89332,9.214680000000001],[1.80924,9.485709999999997],[0,0],[0,0],[0,0]]}}},{ty:"fl",c:{a:0,k:[0,0,0],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:401,st:0,bm:0},{ddd:0,refId:"36",w:178,h:121,ind:75,ty:0,nm:"Vector - Stroke (Masked Group)",sr:1,ks:{p:{a:0,k:[95,58.5],ix:2},a:{a:0,k:[95,58.5],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0,tt:1}]},{id:"32",layers:[{ddd:0,refId:"37",w:421,h:433,ind:81,ty:0,nm:"documents",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0}]},{id:"37",layers:[{ddd:0,ind:82,ty:3,nm:"Illustration - Null",sr:1,ks:{p:{a:0,k:[213.00009155273438,326.5],ix:2},a:{a:0,k:[314,258.5],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0},{ddd:0,ind:83,ty:3,nm:"hand1 - Null",sr:1,ks:{p:{a:1,k:[{t:89,s:[229,284.5],i:{x:[.15],y:[1]},o:{x:[.5],y:[.35]}},{t:182,s:[229,174.5],i:{x:[.15],y:[1]},o:{x:[.5],y:[.35]}},{t:330,s:[229,174.5],i:{x:[.15],y:[1]},o:{x:[.5],y:[.35]}},{t:399,s:[229,284.5],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}}],ix:2},a:{a:0,k:[228.5,146.5],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0,parent:82},{ddd:0,ind:84,ty:3,nm:"documents - Null",sr:1,ks:{p:{a:0,k:[313.5,120.5],ix:2},a:{a:0,k:[133.5,77.5],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0,parent:83},{ddd:0,ind:85,ty:3,nm:"shapes - Null",sr:1,ks:{p:{a:0,k:[226,10],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0,parent:84},{ddd:0,ind:86,ty:3,nm:"",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0,parent:85},{ddd:0,refId:"38",w:47,h:23,ind:87,ty:0,nm:"shapes - Stroke",sr:1,ks:{p:{a:0,k:[-12,-6],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:50,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0,parent:86},{ddd:0,ind:88,ty:4,nm:"shapes",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,parent:85,shapes:[{ty:"gr",nm:"shapes",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[1,0],[22,0],[23,1],[23,10],[22,11],[1,11],[0,10],[0,1],[1,0],[1,0],[1,0]],i:[[0,0],[0,0],[0,-.5523],[0,0],[.5523,0],[0,0],[0,.5523],[0,0],[-.5523,0],[0,0],[0,0]],o:[[0,0],[.5522799999999997,0],[0,0],[0,.5522799999999997],[0,0],[-.55228,0],[0,0],[0,-.55228],[0,0],[0,0],[0,0]]}}},{ty:"fl",c:{a:0,k:[.788235294117647,.788235294117647,.788235294117647],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[11.5,5.5],ix:2},a:{a:0,k:[11.5,5.5],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:50,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:401,st:0,bm:0},{ddd:0,ind:89,ty:3,nm:"shapes - Null",sr:1,ks:{p:{a:0,k:[15,11],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0,parent:84},{ddd:0,ind:90,ty:3,nm:"",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0,parent:89},{ddd:0,refId:"39",w:224,h:23,ind:91,ty:0,nm:"shapes - Stroke",sr:1,ks:{p:{a:0,k:[-56,-6],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:50,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0,parent:90},{ddd:0,ind:92,ty:4,nm:"shapes",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,parent:89,shapes:[{ty:"gr",nm:"shapes",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[1,0],[111,0],[112,1],[112,10],[111,11],[1,11],[0,10],[0,1],[1,0],[1,0],[1,0]],i:[[0,0],[0,0],[0,-.5523],[0,0],[.5523,0],[0,0],[0,.5523],[0,0],[-.5523,0],[0,0],[0,0]],o:[[0,0],[.5522799999999961,0],[0,0],[0,.5522799999999997],[0,0],[-.55228,0],[0,0],[0,-.55228],[0,0],[0,0],[0,0]]}}},{ty:"fl",c:{a:0,k:[.788235294117647,.788235294117647,.788235294117647],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[56,5.5],ix:2},a:{a:0,k:[56,5.5],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:50,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:401,st:0,bm:0},{ddd:0,ind:93,ty:4,nm:"shapes",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,parent:84,shapes:[{ty:"gr",nm:"shapes",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[1,0],[26,0],[27,1],[27,8],[26,9],[1,9],[0,8],[0,1],[1,0],[1,0],[1,0]],i:[[0,0],[0,0],[0,-.5523],[0,0],[.5523,0],[0,0],[0,.5523],[0,0],[-.5523,0],[0,0],[0,0]],o:[[0,0],[.5522799999999997,0],[0,0],[0,.5522799999999997],[0,0],[-.55228,0],[0,0],[0,-.55228],[0,0],[0,0],[0,0]]}}},{ty:"fl",c:{a:0,k:[.788235294117647,.788235294117647,.788235294117647],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[108.5,119.5],ix:2},a:{a:0,k:[13.5,4.5],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:50,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:401,st:0,bm:0},{ddd:0,ind:94,ty:4,nm:"shapes",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,parent:84,shapes:[{ty:"gr",nm:"shapes",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[1,0],[84,0],[85,1],[85,9],[84,10],[1,10],[0,9],[0,1],[1,0],[1,0],[1,0]],i:[[0,0],[0,0],[0,-.5523],[0,0],[.5523,0],[0,0],[0,.5523],[0,0],[-.5523,0],[0,0],[0,0]],o:[[0,0],[.5522799999999961,0],[0,0],[0,.5522799999999997],[0,0],[-.55228,0],[0,0],[0,-.55228],[0,0],[0,0],[0,0]]}}},{ty:"fl",c:{a:0,k:[.788235294117647,.788235294117647,.788235294117647],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[137.5,101],ix:2},a:{a:0,k:[42.5,5],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:50,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:401,st:0,bm:0},{ddd:0,ind:95,ty:4,nm:"shapes",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,parent:84,shapes:[{ty:"gr",nm:"shapes",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[1,0],[60,0],[61,1],[61,9],[60,10],[1,10],[0,9],[0,1],[1,0],[1,0],[1,0]],i:[[0,0],[0,0],[0,-.5523],[0,0],[.5523,0],[0,0],[0,.5523],[0,0],[-.5523,0],[0,0],[0,0]],o:[[0,0],[.5522800000000032,0],[0,0],[0,.5522799999999997],[0,0],[-.55228,0],[0,0],[0,-.55228],[0,0],[0,0],[0,0]]}}},{ty:"fl",c:{a:0,k:[.788235294117647,.788235294117647,.788235294117647],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[125.5,82],ix:2},a:{a:0,k:[30.5,5],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:50,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:401,st:0,bm:0},{ddd:0,ind:96,ty:4,nm:"shapes",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,parent:84,shapes:[{ty:"gr",nm:"shapes",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[1,0],[60,0],[61,1],[61,9],[60,10],[1,10],[0,9],[0,1],[1,0],[1,0],[1,0]],i:[[0,0],[0,0],[0,-.5523],[0,0],[.5523,0],[0,0],[0,.5523],[0,0],[-.5523,0],[0,0],[0,0]],o:[[0,0],[.5522800000000032,0],[0,0],[0,.5522799999999997],[0,0],[-.55228,0],[0,0],[0,-.55228],[0,0],[0,0],[0,0]]}}},{ty:"fl",c:{a:0,k:[.788235294117647,.788235294117647,.788235294117647],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[125.5,63],ix:2},a:{a:0,k:[30.5,5],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:50,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:401,st:0,bm:0},{ddd:0,ind:97,ty:4,nm:"Line 2 (Stroke)",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,parent:84,shapes:[{ty:"gr",nm:"Line 2 (Stroke)",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[233,0],[233.3827,.0761],[233.7071,.2929],[233.9239,.6173],[234,1],[234,4],[233.9239,4.3827],[233.7071,4.7071],[233.3827,4.9239],[233,5],[1.0006,5],[.6178,4.9238],[.2933,4.7069],[.0765,4.3822],[6e-4,3.9994],[.0026,.9994],[.0789,.6169],[.2958,.2926],[.6201,.0761],[1.0026,0],[233,0],[233,0],[233,0]],i:[[0,0],[-.1276,-.0528],[-.0977,-.0977],[-.0528,-.1276],[0,-.1381],[0,-.1381],[.0528,-.1276],[.0977,-.0977],[.1276,-.0528],[.1381,0],[.1381,0],[.1276,.0529],[.0976,.0977],[.0528,.1276],[-1e-4,.1381],[-1e-4,.138],[-.0529,.1275],[-.0976,.0975],[-.1275,.0528],[-.138,0],[-.1381,0],[0,0],[0,0]],o:[[.13810000000000855,0],[.12760000000000105,.052800000000000014],[.09770000000000323,.09770000000000001],[.05279999999999063,.12759999999999994],[0,.1381000000000001],[0,.13809999999999967],[-.05279999999999063,.12760000000000016],[-.09770000000000323,.09769999999999968],[-.12760000000000105,.0528000000000004],[-.13810000000000855,0],[-.1381,0],[-.1276,-.05290000000000017],[-.09760000000000002,-.09769999999999968],[-.0528,-.12760000000000016],[.00010000000000000005,-.1381000000000001],[9999999999999983e-20,-.138],[.0529,-.1275],[.09760000000000002,-.0975],[.12750000000000006,-.0528],[.13800000000000012,0],[0,0],[0,0],[0,0]]}}},{ty:"fl",c:{a:0,k:[.788235294117647,.788235294117647,.788235294117647],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[132.0002899169922,34.5],ix:2},a:{a:0,k:[117.0002998390869,2.5],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:50,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:401,st:0,bm:0},{ddd:0,ind:98,ty:3,nm:"bg - Null",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0,parent:84},{ddd:0,ind:99,ty:4,nm:"bg",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,parent:98,shapes:[{ty:"gr",nm:"bg",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[259.6876,0],[261.338,.3282],[262.7369,1.2631],[263.6718,2.662],[264,4.3124],[264,147.6876],[263.6718,149.338],[262.7369,150.7369],[261.338,151.6718],[259.6876,152],[4.3124,152],[2.662,151.6718],[1.2631,150.7369],[.3282,149.338],[0,147.6876],[0,4.3124],[.3282,2.662],[1.2631,1.2631],[2.662,.3282],[4.3124,0],[259.6876,0],[259.6876,0],[259.6876,0]],i:[[0,0],[-.5503,-.2277],[-.4213,-.4213],[-.2277,-.5503],[0,-.5955],[0,-.5955],[.2277,-.5503],[.4213,-.4213],[.5503,-.2277],[.5955,0],[.5955,0],[.5503,.2277],[.4213,.4213],[.2277,.5503],[0,.5955],[0,.5955],[-.2277,.5503],[-.4213,.4213],[-.5503,.2277],[-.5955,0],[-.5955,0],[0,0],[0,0]],o:[[.5955000000000155,0],[.5502999999999929,.22770000000000007],[.4212999999999738,.4213],[.2277000000000271,.5503],[0,.5955000000000004],[0,.595499999999987],[-.2277000000000271,.5502999999999929],[-.4212999999999738,.42130000000000223],[-.5502999999999929,.22769999999999868],[-.5955000000000155,0],[-.5954999999999999,0],[-.5503,-.22769999999999868],[-.4213,-.42130000000000223],[-.2277,-.5502999999999929],[0,-.595499999999987],[0,-.5954999999999999],[.22770000000000007,-.5503],[.4213,-.4213],[.5503,-.2277],[.5955000000000004,0],[0,0],[0,0],[0,0]]}}},{ty:"fl",c:{a:0,k:[0,0,0],ix:2},o:{a:0,k:1,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[132,76],ix:2},a:{a:0,k:[132,76],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:401,st:0,bm:0},{ddd:0,ind:100,ty:4,nm:"bg",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,parent:98,shapes:[{ty:"gr",nm:"bg",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[259.6876,0],[261.338,.3282],[262.7369,1.2631],[263.6718,2.662],[264,4.3124],[264,147.6876],[263.6718,149.338],[262.7369,150.7369],[261.338,151.6718],[259.6876,152],[4.3124,152],[2.662,151.6718],[1.2631,150.7369],[.3282,149.338],[0,147.6876],[0,4.3124],[.3282,2.662],[1.2631,1.2631],[2.662,.3282],[4.3124,0],[259.6876,0],[259.6876,0],[259.6876,0]],i:[[0,0],[-.5503,-.2277],[-.4213,-.4213],[-.2277,-.5503],[0,-.5955],[0,-.5955],[.2277,-.5503],[.4213,-.4213],[.5503,-.2277],[.5955,0],[.5955,0],[.5503,.2277],[.4213,.4213],[.2277,.5503],[0,.5955],[0,.5955],[-.2277,.5503],[-.4213,.4213],[-.5503,.2277],[-.5955,0],[-.5955,0],[0,0],[0,0]],o:[[.5955000000000155,0],[.5502999999999929,.22770000000000007],[.4212999999999738,.4213],[.2277000000000271,.5503],[0,.5955000000000004],[0,.595499999999987],[-.2277000000000271,.5502999999999929],[-.4212999999999738,.42130000000000223],[-.5502999999999929,.22769999999999868],[-.5955000000000155,0],[-.5954999999999999,0],[-.5503,-.22769999999999868],[-.4213,-.42130000000000223],[-.2277,-.5502999999999929],[0,-.595499999999987],[0,-.5954999999999999],[.22770000000000007,-.5503],[.4213,-.4213],[.5503,-.2277],[.5955000000000004,0],[0,0],[0,0],[0,0]]}}},{ty:"fl",c:{a:0,k:[1,1,1],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[132,76],ix:2},a:{a:0,k:[132,76],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:401,st:0,bm:0},{ddd:0,refId:"40",w:445,h:349,ind:101,ty:0,nm:"bg",sr:1,ks:{p:{a:0,k:[-92,-97],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0,parent:98,ef:[{ty:25,nm:"Drop Shadow",mn:"ADBE Drop Shadow",ef:[{ty:2,nm:"Shadow Color",mn:"ADBE Drop Shadow-0001",v:{a:0,k:[0,0,0],ix:2}},{ty:0,nm:"Opacity",mn:"ADBE Drop Shadow-0002",v:{a:0,k:14.999999999999998,ix:2}},{ty:1,nm:"Direction",mn:"ADBE Drop Shadow-0003",v:{a:0,k:90,ix:2}},{ty:0,nm:"Distance",mn:"ADBE Drop Shadow-0004",v:{a:0,k:3.2528,ix:2}},{ty:0,nm:"Softness",mn:"ADBE Drop Shadow-0005",v:{a:0,k:24.396,ix:2}}],np:5,ix:0,en:1}]}]},{id:"38",layers:[{ddd:0,ind:102,ty:4,nm:"Group",sr:1,ks:{p:{a:0,k:[12,6],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"gr",nm:"Group",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[1,0],[22,0],[23,1],[23,10],[22,11],[1,11],[0,10],[0,1],[1,0],[1,0],[1,0]],i:[[0,0],[0,0],[0,-.5523],[0,0],[.5523,0],[0,0],[0,.5523],[0,0],[-.5523,0],[0,0],[0,0]],o:[[0,0],[.5522799999999997,0],[0,0],[0,.5522799999999997],[0,0],[-.55228,0],[0,0],[0,-.55228],[0,0],[0,0],[0,0]]}}},{ty:"st",c:{a:0,k:[.788235294117647,.788235294117647,.788235294117647],ix:2},o:{a:0,k:100,ix:2},w:{a:0,k:0,ix:2},lc:1,lj:1,ml:4},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:401,st:0,bm:0},{ddd:0,ind:103,ty:4,nm:"Rectangle",sr:1,ks:{p:{a:0,k:[12,6],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"gr",nm:"Rectangle",it:[{ty:"rc",d:1,s:{a:0,k:[46,22],ix:2},p:{a:0,k:[0,0],ix:2},r:{a:0,k:0,ix:2}},{ty:"fl",c:{a:0,k:[0,1,0],ix:2},o:{a:0,k:0,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[11.5,5.5],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:401,st:0,bm:0}]},{id:"39",layers:[{ddd:0,ind:104,ty:4,nm:"Group",sr:1,ks:{p:{a:0,k:[56,6],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"gr",nm:"Group",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[1,0],[111,0],[112,1],[112,10],[111,11],[1,11],[0,10],[0,1],[1,0],[1,0],[1,0]],i:[[0,0],[0,0],[0,-.5523],[0,0],[.5523,0],[0,0],[0,.5523],[0,0],[-.5523,0],[0,0],[0,0]],o:[[0,0],[.5522799999999961,0],[0,0],[0,.5522799999999997],[0,0],[-.55228,0],[0,0],[0,-.55228],[0,0],[0,0],[0,0]]}}},{ty:"st",c:{a:0,k:[.788235294117647,.788235294117647,.788235294117647],ix:2},o:{a:0,k:100,ix:2},w:{a:0,k:0,ix:2},lc:1,lj:1,ml:4},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:401,st:0,bm:0},{ddd:0,ind:105,ty:4,nm:"Rectangle",sr:1,ks:{p:{a:0,k:[56,6],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"gr",nm:"Rectangle",it:[{ty:"rc",d:1,s:{a:0,k:[224,22],ix:2},p:{a:0,k:[0,0],ix:2},r:{a:0,k:0,ix:2}},{ty:"fl",c:{a:0,k:[0,1,0],ix:2},o:{a:0,k:0,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[56,5.5],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:401,st:0,bm:0}]},{id:"40",layers:[{ddd:0,ind:101,ty:4,nm:"bg",sr:1,ks:{p:{a:0,k:[92,97],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"gr",it:[{ty:"gr",nm:"Group",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[259.6876,0],[261.338,.3282],[262.7369,1.2631],[263.6718,2.662],[264,4.3124],[264,147.6876],[263.6718,149.338],[262.7369,150.7369],[261.338,151.6718],[259.6876,152],[4.3124,152],[2.662,151.6718],[1.2631,150.7369],[.3282,149.338],[0,147.6876],[0,4.3124],[.3282,2.662],[1.2631,1.2631],[2.662,.3282],[4.3124,0],[259.6876,0],[259.6876,0],[259.6876,0]],i:[[0,0],[-.5503,-.2277],[-.4213,-.4213],[-.2277,-.5503],[0,-.5955],[0,-.5955],[.2277,-.5503],[.4213,-.4213],[.5503,-.2277],[.5955,0],[.5955,0],[.5503,.2277],[.4213,.4213],[.2277,.5503],[0,.5955],[0,.5955],[-.2277,.5503],[-.4213,.4213],[-.5503,.2277],[-.5955,0],[-.5955,0],[0,0],[0,0]],o:[[.5955000000000155,0],[.5502999999999929,.22770000000000007],[.4212999999999738,.4213],[.2277000000000271,.5503],[0,.5955000000000004],[0,.595499999999987],[-.2277000000000271,.5502999999999929],[-.4212999999999738,.42130000000000223],[-.5502999999999929,.22769999999999868],[-.5955000000000155,0],[-.5954999999999999,0],[-.5503,-.22769999999999868],[-.4213,-.42130000000000223],[-.2277,-.5502999999999929],[0,-.595499999999987],[0,-.5954999999999999],[.22770000000000007,-.5503],[.4213,-.4213],[.5503,-.2277],[.5955000000000004,0],[0,0],[0,0],[0,0]]}}},{ty:"fl",c:{a:0,k:[0,0,0],ix:2},o:{a:0,k:1,ix:2},r:1,bm:0},{ty:"fl",c:{a:0,k:[1,1,1],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"Rectangle",it:[{ty:"rc",d:1,s:{a:0,k:[534,310],ix:2},p:{a:0,k:[0,0],ix:2},r:{a:0,k:0,ix:2}},{ty:"fl",c:{a:0,k:[0,1,0],ix:2},o:{a:0,k:0,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[133.5,77.5],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:401,st:0,bm:0},{ddd:0,ind:106,ty:4,nm:"bg Overscan",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"rc",d:1,s:{a:0,k:[445,349],ix:2},p:{a:0,k:[222.5,174.5],ix:2},r:{a:0,k:0,ix:2}},{ty:"fl",c:{a:0,k:[0,0,0],ix:2},o:{a:0,k:0,ix:2},r:1,bm:0}],ip:0,op:401,st:0,bm:0}]},{id:"33",layers:[{ddd:0,ind:107,ty:3,nm:"Illustration - Null",sr:1,ks:{p:{a:0,k:[61.50012969970703,353.9998779296875],ix:2},a:{a:0,k:[162.5000286102295,285.99987030029297],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0},{ddd:0,ind:108,ty:3,nm:"hand1 - Null",sr:1,ks:{p:{a:1,k:[{t:89,s:[229,284.5],i:{x:[.15],y:[1]},o:{x:[.5],y:[.35]}},{t:182,s:[229,174.5],i:{x:[.15],y:[1]},o:{x:[.5],y:[.35]}},{t:330,s:[229,174.5],i:{x:[.15],y:[1]},o:{x:[.5],y:[.35]}},{t:399,s:[229,284.5],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}}],ix:2},a:{a:0,k:[228.5,146.5],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0,parent:107},{ddd:0,ind:109,ty:3,nm:"",sr:1,ks:{p:{a:0,k:[162.00003051757812,147.9998779296875],ix:2},a:{a:0,k:[151.00002992549526,129.99987370605595],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0,parent:108},{ddd:0,refId:"41",w:207,h:283,ind:110,ty:0,nm:"Vector - Stroke (Masked Group)",sr:1,ks:{p:{a:0,k:[96,-1],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0,parent:109},{ddd:0,ind:111,ty:4,nm:"Vector",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,parent:108,shapes:[{ty:"gr",nm:"Vector",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[301.9984,11.4149],[279.2311,5.3789],[239.738,-1e-4],[107.6056,43.4686],[86.0897,61.5696],[24.0815,149.9868],[4.7391,248.6081],[96.8824,231.3967],[130.8372,228.3294],[214.3247,211.8692],[245.7935,204.5438],[278.7772,198.2001],[186.7785,177.9015],[149.2469,134.391],[153.9453,82.6959],[182.7429,42.3551],[301.9983,11.4001],[301.9984,11.4149],[301.9984,11.4149]],i:[[0,0],[6.506,.564],[13.8244,2.1096],[81.775,-29.4187],[4.8081,-8.3875],[25.358,-27.0672],[-4.7568,-16.3941],[-16.3931,1.238],[-8.6576,3.3184],[-35.3329,0],[0,0],[0,4.7249],[20.0742,2.139],[8.5258,19.9909],[-10.0554,15.3833],[-11.7825,14.6361],[-1.6027,51.4754],[0,0],[0,0]],o:[[.19027999999997292,-6.05808],[-24.33563000000001,-2.10984],[-92.72325999999998,2.04378],[-9.096689999999995,3.2744399999999985],[-17.783550000000005,31.052240000000005],[-32.88128,30.129130000000004],[13.53895,32.96416000000002],[9.286960000000008,-.336970000000008],[41.04118,-21.46332000000001],[6.784089999999992,0],[16.217420000000004,.01464999999998895],[0,-31.975240000000014],[-21.91109,.17581000000001268],[-7.215869999999995,-16.906949999999995],[8.416079999999994,-12.870670000000004],[28.38781,-26.45923],[0,0],[0,0],[0,0]]}}},{ty:"gf",o:{a:0,k:50,ix:2},r:1,bm:0,g:{p:2,k:{a:0,k:[0,1,1,1,1,1,1,1,0,1,1,0],ix:2}},s:{a:0,k:[143.4999968425325,126.49999495333381],ix:2},e:{a:0,k:[102.49999970785025,144.49999793397183],ix:2},t:1},{ty:"tr",p:{a:0,k:[162.00003051757812,147.9998779296875],ix:2},a:{a:0,k:[151.00003302784668,129.9998812313436],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:401,st:0,bm:0}]},{id:"42",layers:[{ddd:0,ind:112,ty:4,nm:"Group",sr:1,ks:{p:{a:0,k:[-96,1],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"gr",nm:"Group",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[301.9984,11.4149],[279.2311,5.3789],[239.738,-1e-4],[107.6056,43.4686],[86.0897,61.5696],[24.0815,149.9868],[4.7391,248.6081],[96.8824,231.3967],[130.8372,228.3294],[214.3247,211.8692],[245.7935,204.5438],[278.7772,198.2001],[186.7785,177.9015],[149.2469,134.391],[153.9453,82.6959],[182.7429,42.3551],[301.9983,11.4001],[301.9984,11.4149],[301.9984,11.4149]],i:[[0,0],[6.506,.564],[13.8244,2.1096],[81.775,-29.4187],[4.8081,-8.3875],[25.358,-27.0672],[-4.7568,-16.3941],[-16.3931,1.238],[-8.6576,3.3184],[-35.3329,0],[0,0],[0,4.7249],[20.0742,2.139],[8.5258,19.9909],[-10.0554,15.3833],[-11.7825,14.6361],[-1.6027,51.4754],[0,0],[0,0]],o:[[.19027999999997292,-6.05808],[-24.33563000000001,-2.10984],[-92.72325999999998,2.04378],[-9.096689999999995,3.2744399999999985],[-17.783550000000005,31.052240000000005],[-32.88128,30.129130000000004],[13.53895,32.96416000000002],[9.286960000000008,-.336970000000008],[41.04118,-21.46332000000001],[6.784089999999992,0],[16.217420000000004,.01464999999998895],[0,-31.975240000000014],[-21.91109,.17581000000001268],[-7.215869999999995,-16.906949999999995],[8.416079999999994,-12.870670000000004],[28.38781,-26.45923],[0,0],[0,0],[0,0]]}}},{ty:"gs",o:{a:0,k:50,ix:2},bm:0,g:{p:2,k:{a:0,k:[0,1,1,1,1,1,1,1,0,1,1,0],ix:2}},s:{a:0,k:[155.46853221189815,118.79517117942156],ix:2},e:{a:0,k:[112.00000254909276,146.50000578546127],ix:2},t:1,w:{a:0,k:4,ix:2},lc:1,lj:1,ml:4},{ty:"tr",p:{a:0,k:[151.00003051757812,129.9998779296875],ix:2},a:{a:0,k:[151.00003302784668,129.9998812313436],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:401,st:0,bm:0},{ddd:0,ind:113,ty:4,nm:"Rectangle",sr:1,ks:{p:{a:0,k:[-96,1],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"gr",nm:"Rectangle",it:[{ty:"rc",d:1,s:{a:0,k:[608,524],ix:2},p:{a:0,k:[0,0],ix:2},r:{a:0,k:0,ix:2}},{ty:"fl",c:{a:0,k:[0,1,0],ix:2},o:{a:0,k:0,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[152,131],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:401,st:0,bm:0},{ddd:0,ind:114,ty:4,nm:"Mask - box",sr:1,ks:{p:{a:0,k:[-96,1],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"rc",d:1,s:{a:0,k:[207,283],ix:2},p:{a:0,k:[199.5,140.5],ix:2},r:{a:0,k:0,ix:2}},{ty:"fl",c:{a:0,k:[0,0,0],ix:2},o:{a:0,k:0,ix:2},r:1,bm:0}],ip:0,op:401,st:0,bm:0}]},{id:"41",layers:[{ddd:0,ind:115,ty:4,nm:"Mask",sr:1,ks:{p:{a:0,k:[-96,1],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},td:1,ao:0,shapes:[{ty:"gr",nm:"Mask",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[301.9984,11.4149],[279.2311,5.3789],[239.738,-1e-4],[107.6056,43.4686],[86.0897,61.5696],[24.0815,149.9868],[4.7391,248.6081],[96.8824,231.3967],[130.8372,228.3294],[214.3247,211.8692],[245.7935,204.5438],[278.7772,198.2001],[186.7785,177.9015],[149.2469,134.391],[153.9453,82.6959],[182.7429,42.3551],[301.9983,11.4001],[301.9984,11.4149],[301.9984,11.4149]],i:[[0,0],[6.506,.564],[13.8244,2.1096],[81.775,-29.4187],[4.8081,-8.3875],[25.358,-27.0672],[-4.7568,-16.3941],[-16.3931,1.238],[-8.6576,3.3184],[-35.3329,0],[0,0],[0,4.7249],[20.0742,2.139],[8.5258,19.9909],[-10.0554,15.3833],[-11.7825,14.6361],[-1.6027,51.4754],[0,0],[0,0]],o:[[.19027999999997292,-6.05808],[-24.33563000000001,-2.10984],[-92.72325999999998,2.04378],[-9.096689999999995,3.2744399999999985],[-17.783550000000005,31.052240000000005],[-32.88128,30.129130000000004],[13.53895,32.96416000000002],[9.286960000000008,-.336970000000008],[41.04118,-21.46332000000001],[6.784089999999992,0],[16.217420000000004,.01464999999998895],[0,-31.975240000000014],[-21.91109,.17581000000001268],[-7.215869999999995,-16.906949999999995],[8.416079999999994,-12.870670000000004],[28.38781,-26.45923],[0,0],[0,0],[0,0]]}}},{ty:"fl",c:{a:0,k:[0,0,0],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:401,st:0,bm:0},{ddd:0,refId:"42",w:207,h:283,ind:110,ty:0,nm:"Vector - Stroke (Masked Group)",sr:1,ks:{p:{a:0,k:[199.5,140.5],ix:2},a:{a:0,k:[199.5,140.5],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0,tt:1}]}],layers$3=[{ddd:0,refId:"0",w:421,h:433,ind:116,ty:0,nm:"id-scan-tuto",sr:1,ks:{p:{a:0,k:[-11.130913734436035,-16.52492904663086],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:401,st:0,bm:0}],markers$3=[],tutorialAnimationJson$1={v:v$3,fr:fr$3,ip:ip$3,op:op$3,w:w$3,h:h$4,nm:nm$3,ddd:ddd$3,metadata:metadata$3,assets:assets$3,layers:layers$3,markers:markers$3},IdTutorial=({onContinue:Be})=>{const{t:Le}=useTranslation$1(),{uiConfig:Ye}=useCaptureIdState();return jsxRuntimeExports.jsx(BaseTutorial,{title:Le("idv2.tutorial.title"),subtitle:Le("idv2.tutorial.subtitle"),animationData:tutorialAnimationJson$1,onContinue:Be,uiConfig:Ye,onClose:()=>idFlowManager.onClose()})},v$2="5.7.5",fr$2=100,ip$2=0,op$2=300,w$2=400,h$3=400,nm$2="Comp 1",ddd$2=0,metadata$2={},assets$2=[{id:"0",layers:[{ddd:0,refId:"1",w:421,h:433,ind:1,ty:0,nm:"mask",sr:1,ks:{p:{a:0,k:[-8,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:301,st:0,bm:0},{ddd:0,ind:2,ty:4,nm:"mask - box",sr:1,ks:{p:{a:0,k:[-8,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"rc",d:1,s:{a:0,k:[401,396],ix:2},p:{a:0,k:[208.5,198],ix:2},r:{a:0,k:0,ix:2}},{ty:"fl",c:{a:0,k:[0,0,0],ix:2},o:{a:0,k:0,ix:2},r:1,bm:0}],ip:0,op:301,st:0,bm:0}]},{id:"2",layers:[{ddd:0,refId:"3",w:421,h:433,ind:3,ty:0,nm:"mask",sr:1,ks:{p:{a:0,k:[-8,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:301,st:0,bm:0,td:1},{ddd:0,refId:"0",w:401,h:396,ind:4,ty:0,nm:"mask (Masked)",sr:1,ks:{p:{a:0,k:[208.5,198],ix:2},a:{a:0,k:[208.5,198],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:301,st:0,bm:0,tt:1}]},{id:"1",layers:[{ddd:0,ind:5,ty:3,nm:"",sr:1,ks:{p:{a:0,k:[213.5,226.00009155273438],ix:2},a:{a:0,k:[124.5,94],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:301,st:0,bm:0},{ddd:0,refId:"4",w:405,h:359,ind:6,ty:0,nm:"base - Null",sr:1,ks:{p:{a:0,k:[-83,-95],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:301,st:0,bm:0,parent:5}]},{id:"5",layers:[{ddd:0,ind:7,ty:4,nm:"Group",sr:1,ks:{p:{a:0,k:[83,95],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"gr",nm:"Group",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[13,0],[233,0],[246,13],[246,172],[233,185],[13,185],[0,172],[0,13],[13,0],[13,0],[13,0]],i:[[0,0],[0,0],[0,-7.1797],[0,0],[7.1797,0],[0,0],[0,7.1797],[0,0],[-7.1797,0],[0,0],[0,0]],o:[[0,0],[7.179699999999997,0],[0,0],[0,7.179699999999997],[0,0],[-7.1797,0],[0,0],[0,-7.1797],[0,0],[0,0],[0,0]]}}},{ty:"st",c:{a:0,k:[1,1,1],ix:2},o:{a:0,k:100,ix:2},w:{a:0,k:6,ix:2},lc:1,lj:1,ml:4},{ty:"tr",p:{a:0,k:[123,92.5],ix:2},a:{a:0,k:[123,92.5],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:301,st:0,bm:0},{ddd:0,ind:8,ty:4,nm:"Rectangle",sr:1,ks:{p:{a:0,k:[83,95],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"gr",nm:"Rectangle",it:[{ty:"rc",d:1,s:{a:0,k:[498,376],ix:2},p:{a:0,k:[0,0],ix:2},r:{a:0,k:0,ix:2}},{ty:"fl",c:{a:0,k:[0,1,0],ix:2},o:{a:0,k:0,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[124.5,94],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:301,st:0,bm:0},{ddd:0,ind:9,ty:4,nm:"Mask - box",sr:1,ks:{p:{a:0,k:[83,95],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"rc",d:1,s:{a:0,k:[247,185],ix:2},p:{a:0,k:[123.5,92.5],ix:2},r:{a:0,k:0,ix:2}},{ty:"fl",c:{a:0,k:[0,0,0],ix:2},o:{a:0,k:0,ix:2},r:1,bm:0}],ip:0,op:301,st:0,bm:0}]},{id:"4",layers:[{ddd:0,ind:10,ty:4,nm:"Mask",sr:1,ks:{p:{a:0,k:[83,95],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},td:1,ao:0,shapes:[{ty:"gr",nm:"Mask",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[13,0],[233,0],[246,13],[246,172],[233,185],[13,185],[0,172],[0,13],[13,0],[13,0],[13,0]],i:[[0,0],[0,0],[0,-7.1797],[0,0],[7.1797,0],[0,0],[0,7.1797],[0,0],[-7.1797,0],[0,0],[0,0]],o:[[0,0],[7.179699999999997,0],[0,0],[0,7.179699999999997],[0,0],[-7.1797,0],[0,0],[0,-7.1797],[0,0],[0,0],[0,0]]}}},{ty:"fl",c:{a:0,k:[0,0,0],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:301,st:0,bm:0},{ddd:0,refId:"5",w:405,h:359,ind:6,ty:0,nm:"base - Null",sr:1,ks:{p:{a:0,k:[119.5,84.5],ix:2},a:{a:0,k:[119.5,84.5],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:301,st:0,bm:0,tt:2}]},{id:"3",layers:[{ddd:0,ind:11,ty:3,nm:"",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:301,st:0,bm:0},{ddd:0,refId:"6",w:404,h:396,ind:12,ty:0,nm:"mask - Layer Mask (Masked)",sr:1,ks:{p:{a:0,k:[7,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:301,st:0,bm:0,parent:11}]},{id:"7",layers:[{ddd:0,ind:13,ty:3,nm:"shine - Null",sr:1,ks:{p:{a:0,k:[84,312],ix:2},a:{a:0,k:[53,53],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:301,st:0,bm:0},{ddd:0,refId:"8",w:348,h:283,ind:14,ty:0,nm:"mask - Null",sr:1,ks:{p:{a:0,k:[0,-175],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:0,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:301,st:0,bm:0,hd:!0,parent:13},{ddd:0,ind:15,ty:4,nm:"shine - box",sr:1,ks:{p:{a:0,k:[-7,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"rc",d:1,s:{a:0,k:[404,396],ix:2},p:{a:0,k:[209,198],ix:2},r:{a:0,k:0,ix:2}},{ty:"fl",c:{a:0,k:[0,0,0],ix:2},o:{a:0,k:0,ix:2},r:1,bm:0}],ip:0,op:301,st:0,bm:0}]},{id:"6",layers:[{ddd:0,refId:"9",w:421,h:433,ind:16,ty:0,nm:"shine",sr:1,ks:{p:{a:0,k:[-7,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:301,st:0,bm:0,td:1},{ddd:0,refId:"7",w:404,h:396,ind:12,ty:0,nm:"mask - Layer Mask (Masked)",sr:1,ks:{p:{a:0,k:[209,198],ix:2},a:{a:0,k:[209,198],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:301,st:0,bm:0,tt:1}]},{id:"8",layers:[{ddd:0,ind:17,ty:3,nm:"",sr:1,ks:{p:{a:0,k:[0,175],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:301,st:0,bm:0,hd:!0},{ddd:0,ind:18,ty:4,nm:"mask - Null: 0:0: rg-shape-mask",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},td:1,ao:0,hd:!0,parent:17,shapes:[{ty:"gr",nm:"mask - Null",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[106,53],[53,106],[0,53],[53,0],[106,53],[106,53],[106,53]],i:[[0,0],[29.2719,0],[0,29.2719],[-29.2719,0],[0,-29.2719],[0,0],[0,0]],o:[[0,29.271900000000002],[-29.2719,0],[0,-29.2719],[29.271900000000002,0],[0,0],[0,0],[0,0]]}}},{ty:"fl",c:{a:0,k:[0,0,0],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:1,k:[{t:0,s:[0,0],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}},{t:74,s:[0,-175],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}},{t:179,s:[242,-175],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}},{t:254,s:[242,2],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}},{t:300,s:[0,2],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}}],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:301,st:0,bm:0},{ddd:0,refId:"10",w:348,h:283,ind:19,ty:0,nm:"mask - Null: 0:0: rg-precomp",sr:1,ks:{p:{a:0,k:[0,-175],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:301,st:0,bm:0,parent:17,tt:1}]},{id:"10",layers:[{ddd:0,ind:20,ty:3,nm:"",sr:1,ks:{p:{a:0,k:[0,175],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:301,st:0,bm:0},{ddd:0,ind:21,ty:4,nm:"mask - Null: 0:0: rg-foreground",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,hd:!0,parent:20,shapes:[{ty:"gr",it:[{ty:"gr",it:[{ty:"gr",it:[{ty:"rc",d:1,s:{a:0,k:[1054.5482445104144,1054.5482445104144],ix:2},p:{a:0,k:[53.00000000000057,52.99999999999975],ix:2},r:{a:0,k:0,ix:2}},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gf",o:{a:0,k:100,ix:2},r:1,bm:0,g:{p:2,k:{a:0,k:[0,1,1,1,1,1,1,1,0,1,1,0],ix:2}},s:{a:0,k:[53.00000000000057,52.99999999999975],ix:2},e:{a:0,k:[100.27027011797203,52.99999999999953],ix:2},t:2},{ty:"tr",p:{a:0,k:[53.00000000000057,52.99999999999975],ix:2},a:{a:0,k:[53.00000000000057,52.99999999999975],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"tr",p:{a:1,k:[{t:0,s:[0,0],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}},{t:74,s:[0,-175],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}},{t:179,s:[242,-175],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}},{t:254,s:[242,2],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}},{t:300,s:[0,2],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}}],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:301,st:0,bm:0},{ddd:0,ind:22,ty:4,nm:"mask - Null: 0:0: rg-background",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,hd:!0,parent:20,shapes:[{ty:"gr",it:[{ty:"rc",d:1,s:{a:0,k:[348,283],ix:2},p:{a:0,k:[174,-33.5],ix:2},r:{a:0,k:0,ix:2}},{ty:"gf",o:{a:0,k:100,ix:2},r:1,bm:0,g:{p:1,k:{a:0,k:[0,1,1,1,0,0],ix:2}},s:{a:0,k:[0,0],ix:2},e:{a:0,k:[0,0],ix:2},t:2},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:0,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:301,st:0,bm:0}]},{id:"9",layers:[{ddd:0,ind:23,ty:4,nm:"pass_tuto - Shape Mask",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"gr",nm:"pass_tuto - Shape Mask",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[.01,0],[420.99,0],[421,.01],[421,432.99],[420.99,433],[.01,433],[0,432.99],[0,.01],[.01,0],[.01,0],[.01,0]],i:[[0,0],[0,0],[0,-.0055],[0,0],[.0055,0],[0,0],[0,.0055],[0,0],[-.0055,0],[0,0],[0,0]],o:[[0,0],[.005519999999989977,0],[0,0],[0,.005519999999989977],[0,0],[-.00552,0],[0,0],[0,-.00552],[0,0],[0,0],[0,0]]}}},{ty:"fl",c:{a:0,k:[0,1,0],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[210.5,216.5],ix:2},a:{a:0,k:[210.5,216.5],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:301,st:0,bm:0}]},{id:"11",layers:[{ddd:0,refId:"12",w:421,h:433,ind:24,ty:0,nm:"hand_front",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:301,st:0,bm:0},{ddd:0,refId:"13",w:421,h:433,ind:25,ty:0,nm:"passport",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:301,st:0,bm:0},{ddd:0,refId:"14",w:421,h:433,ind:26,ty:0,nm:"hand_back",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:301,st:0,bm:0}]},{id:"12",layers:[{ddd:0,ind:27,ty:4,nm:"hand1 - Null",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"gr",it:[{ty:"gr",it:[{ty:"gr",it:[{ty:"gr",nm:"outfin",it:[{ty:"gr",nm:"Path",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[112.9048,258.9752],[112.9048,258.9752],[112.8615,259.0551],[88.5097,280.5016],[57.1551,281.1262],[1.7543,250.6661],[24.9888,212.3538],[26.3332,210.9741],[53.1815,170.8262],[53.1985,170.7677],[53.2111,170.7081],[54.507,166.9917],[57.425,159.8505],[66.0075,140.0671],[78.1645,112.8514],[80.3285,108.0316],[86.5365,77.6795],[92.8107,51.4565],[106.4115,18.9401],[121.374,3.2387],[136.2625,3.1617],[145.2515,11.8597],[146.576,23.1304],[146.7201,28.1156],[144.1729,61.6318],[140.8152,73.239],[140.6301,73.7831],[137.1194,85.4287],[130.8647,141.835],[130.8613,141.9036],[130.8637,141.9723],[125.3596,222.9787],[112.9566,258.9008],[112.9048,258.9752]],i:[[0,0],[0,0],[0,0],[9.570239999999998,-3.234039999999993],[10.921889999999998,2.4408000000000243],[12.3739,12.154360000000025],[-10.74051,11.038420000000002],[-.4495199999999997,.4609800000000064],[-5.217190000000002,17.964979999999997],[0,0],[0,0],[-.7577500000000015,1.9498299999999915],[-1.1818999999999988,2.8076599999999985],[-3.141120000000001,7.11126999999999],[-2.7938199999999966,6.211259999999996],[-.4039599999999979,.9068900000000042],[-.3845699999999965,9.451319999999996],[-3.6988099999999946,11.519930000000002],[-5.0313699999999955,8.63111],[-4.901740000000004,2.2442299999999995],[-5.107439999999997,-1.93114],[-1.2673800000000028,-3.5141299999999998],[0,-3.62951],[-.07631000000000654,-1.8675299999999986],[3.302120000000002,-15.039279999999998],[1.198520000000002,-3.527060000000006],[.06183999999998946,-.18179000000000656],[1.1650999999999954,-4.750780000000006],[1.5187099999999987,-31.04388],[0,0],[0,0],[3.940249999999992,-19.325410000000005],[3.352009999999993,-4.809339999999992],[0,0]],o:[[0,0],[0,0],[-6.2795,11.5357],[-9.6121,3.2482],[-21.5329,-4.8121],[2.7559,-16.6951],[.4466,-.459],[10.4876,-10.7552],[0,0],[0,0],[.1091,-.5159],[.7371,-1.8967],[2.363,-5.6133],[4.6209,-10.4613],[1.0064,-2.2375],[3.1443,-7.059],[.1795,-4.4117],[3.6828,-11.47],[5.0279,-8.6253],[4.8445,-2.2181],[5.2159,1.9722],[1.3089,3.6294],[0,1.4594],[.3079,7.5349],[-1.0224,4.6563],[-.0615,.181],[-1.1457,3.3678],[-2.4543,10.0076],[0,0],[0,0],[1.2095,34.869],[-3.9508,19.3773],[0,0],[0,0]]}}},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"Path",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[0,251.2406],[114.3051,259.8406],[132.5065,141.9153],[142.1888,74.3049],[145.7783,61.9841],[148.3617,27.9906],[148.2197,23.1302],[136.8438,1.6241],[104.9914,18.1121],[84.8941,77.6124],[78.827,107.3625],[76.6729,112.1603],[51.603,170.3674],[25.0992,209.8847],[1e-4,251.2405],[0,251.2406],[0,251.2406]],i:[[0,0],[-25.8688,47.522],[2.4268,69.9666],[-3.5593,10.4629],[-1.0955,4.9893],[.3095,7.5276],[0,1.4059],[11.3759,4.3013],[10.2383,-17.5633],[.3792,-9.3193],[3.0336,-6.8103],[1.003,-2.23],[.9873,-4.6662],[10.5212,-10.7923],[2.7586,-18.4396],[0,0],[0,0]],o:[[24.9196,24.983059999999995],[7.078310000000002,-10.155669999999986],[2.236850000000004,-45.723510000000005],[1.2677500000000066,-3.7266800000000018],[3.35311999999999,-15.271500000000003],[-.07550000000000523,-1.8364000000000011],[0,-7.168710000000001],[-10.845920000000007,-4.10089],[-10.23827,17.56334],[-.3791999999999973,9.319329999999994],[-.400810000000007,.899799999999999],[-6.588570000000004,14.647829999999999],[-5.100189999999998,17.562090000000012],[-11.38163,11.674939999999992],[0,0],[0,0],[0,0]]}}},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gf",o:{a:0,k:100,ix:2},r:1,bm:0,g:{p:2,k:{a:0,k:[0,1,1,1,1,1,1,1,0,1,1,0],ix:2}},s:{a:0,k:[125.61789013864056,31.91316933424655],ix:2},e:{a:0,k:[82.59085949175984,163.02350852887437],ix:2},t:1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"tr",p:{a:0,k:[168.50730895996094,135.846923828125],ix:2},a:{a:0,k:[74.28761291503906,142.2969135528915],ix:2},s:{a:0,k:[99.99000036493139,99.99999992123514],ix:2},r:{a:0,k:64.9597997500858,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"vecfin",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[132.5065,141.9153],[114.3051,259.8406],[0,251.2406],[51.603,170.3675],[78.827,107.3626],[84.8941,77.6125],[104.9914,18.1122],[136.8438,1.6242],[148.2197,23.1303],[145.7783,61.9843],[132.5065,141.9154],[132.5065,141.9153],[132.5065,141.9153]],i:[[0,0],[7.0783,-10.1557],[24.9196,24.9831],[-10.6175,36.5604],[-3.0336,6.8103],[-.3792,9.3193],[-10.2383,17.5633],[-10.8459,-4.1009],[0,-7.1687],[4.1712,-18.9971],[3.0336,-62.0094],[0,0],[0,0]],o:[[2.4268500000000017,69.96663000000001],[-25.86883999999999,47.52197000000001],[5.30873,-35.485119999999995],[1.1375799999999998,-5.376540000000006],[3.0335599999999943,-6.810280000000006],[.3791999999999973,-9.319320000000005],[10.23827,-17.56334],[11.375869999999992,4.30127],[0,7.168710000000001],[-4.171159999999986,18.997090000000007],[0,0],[0,0],[0,0]]}}},{ty:"gf",o:{a:0,k:80,ix:2},r:1,bm:0,g:{p:2,k:{a:0,k:[0,.984313725490196,.984313725490196,.984313725490196,1,1,1,1,0,1,1,0],ix:2}},s:{a:0,k:[118.3534812071005,78.18658571021054],ix:2},e:{a:0,k:[85.72714601784728,179.94006400739482],ix:2},t:1},{ty:"tr",p:{a:0,k:[168.50729370117188,135.84693908691406],ix:2},a:{a:0,k:[74.28762780180672,142.29695254625472],ix:2},s:{a:0,k:[99.99000036493139,99.99999992123514],ix:2},r:{a:0,k:64.9597997500858,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",it:[{ty:"gr",nm:"shadow1",it:[{ty:"gr",nm:"Path",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[3.1904,254.2407],[3.1904,254.2407],[3.1905,254.2407],[28.2896,212.8849],[54.7934,173.3676],[79.8633,115.1605],[82.0174,110.3627],[88.0845,80.6126],[108.1818,21.1123],[140.0342,4.6243],[151.4101,26.1304],[151.5521,30.9908],[148.9687,64.9843],[145.3792,77.3051],[135.6969,144.9155],[117.4955,262.8408],[3.1904,254.2407]],i:[[0,0],[0,0],[0,0],[-11.381630000000001,11.674939999999992],[-5.100189999999998,17.562090000000012],[-6.588570000000004,14.647830000000013],[-.400810000000007,.899799999999999],[-.3791999999999973,9.319329999999994],[-10.23827,17.56334],[-10.845920000000007,-4.10089],[0,-7.168710000000001],[-.07550000000000523,-1.8364000000000011],[3.35311999999999,-15.271500000000003],[1.2677500000000066,-3.7266800000000018],[2.236850000000004,-45.723510000000005],[7.078310000000002,-10.155669999999986],[24.9196,24.983060000000023]],o:[[0,0],[0,0],[2.7586,-18.4396],[10.5212,-10.7923],[.9873,-4.6662],[1.003,-2.23],[3.0336,-6.8103],[.3792,-9.3193],[10.2383,-17.5633],[11.3759,4.3013],[0,1.4059],[.3095,7.5276],[-1.0955,4.9893],[-3.5593,10.4629],[2.4268,69.9666],[-25.8688,47.522],[0,0]]}}},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"Path",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[51.8864,172.6201],[26.0262,210.9085],[24.8509,212.1152],[.2233,253.7967],[-1e-4,255.2901],[1.0663,256.3592],[59.3326,288.6577],[93.1866,287.9005],[120.0527,264.4171],[133.1001,226.9063],[138.6994,144.9368],[144.8199,89.5346],[148.2246,78.2559],[148.4024,77.7329],[151.8989,65.6275],[154.5484,30.764],[154.4101,26.1302],[154.4101,25.9531],[152.8102,13.284],[141.0953,1.8179],[122.6314,2.0162],[105.5901,19.6012],[91.5797,53.0366],[85.0871,80.4904],[79.2771,109.1418],[77.1402,113.9011],[64.9503,141.1904],[56.3356,161.0484],[53.3692,168.3091],[51.8866,172.6199],[51.8864,172.6201],[51.8864,172.6201]],i:[[0,0],[10.5734,-10.8506],[.3918,-.4027],[2.8108,-18.7881],[0,0],[0,0],[-22.8631,-5.1093],[-10.6568,3.6012],[-6.8035,12.4244],[-3.969,19.4665],[1.2097,35.131],[-2.3468,9.5692],[-1.1462,3.3696],[-.0593,.1745],[-1.08,4.919],[.3123,7.5058],[0,1.3105],[0,0],[1.6011,4.4393],[6.5494,2.4764],[6.2092,-2.8429],[5.2856,-9.0672],[3.7234,-11.5964],[.208,-5.1123],[2.8314,-6.3563],[.9972,-2.217],[4.6291,-10.48],[2.3789,-5.6511],[.7598,-1.9551],[.2248,-.9699],[0,0],[0,0]],o:[[-4.897840000000002,16.776600000000002],[-.3916000000000004,.4018599999999992],[-10.901,11.20335],[0,0],[0,0],[12.80197,12.83456000000001],[11.464250000000007,2.5620099999999866],[10.692409999999995,-3.6132499999999936],[3.871139999999997,-5.634479999999996],[4.016449999999992,-19.699250000000006],[1.5132800000000088,-30.848569999999995],[1.1157399999999882,-4.549490000000006],[.05928000000000111,-.17426000000000386],[1.2105099999999993,-3.562349999999995],[3.446840000000009,-15.69827],[-.0739900000000091,-1.7782699999999991],[0,0],[.00046000000000390173,-3.4865600000000008],[-1.7041499999999985,-4.725150000000001],[-5.998860000000008,-2.26819],[-6.104799999999997,2.7950499999999994],[-5.279330000000002,9.056469999999997],[-3.694100000000006,11.505270000000003],[-.36938999999999567,9.078419999999994],[-.3951600000000042,.8871299999999991],[-2.790859999999995,6.204719999999995],[-3.1444600000000023,7.1188199999999995],[-1.1886500000000026,2.8237200000000087],[-.6912499999999966,1.778729999999996],[0,0],[0,0],[0,0]]}}},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gf",o:{a:0,k:5,ix:2},r:1,bm:0,g:{p:2,k:{a:0,k:[0,0,0,0,1,0,0,0,0,1,1,0],ix:2}},s:{a:0,k:[120.75980178161183,76.95763435115455],ix:2},e:{a:0,k:[87.9815360838282,181.3994301047462],ix:2},t:1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"tr",p:{a:0,k:[168.4676513671875,135.76080322265625],ix:2},a:{a:0,k:[77.38334233398564,145.2967801217892],ix:2},s:{a:0,k:[99.99000036493139,99.99999992123514],ix:2},r:{a:0,k:64.9597997500858,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",it:[{ty:"gr",nm:"shadow2",it:[{ty:"gr",nm:"Path",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!1,v:[[3.1904,258.2902],[3.4138,256.7968],[3.4201,256.7551],[14.5645,230.4342],[28.0414,215.1153],[28.7108,214.4278],[29.2167,213.9086]],i:[[0,0],[0,0],[-.0021,.0139],[-5.3344,7.2982],[-4.7075,4.8381],[-.2231,.229],[-.1686,.173]],o:[[0,0],[.0020799999999998597,-.013919999999984611],[1.60087,-10.649169999999998],[4.059109999999999,-5.552030000000002],[.22314000000000078,-.2293200000000013],[.16865999999999914,-.17312999999998624],[0,0]]}}},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"Path",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!1,v:[[28.0414,215.1153],[25.8913,213.0232],[27.0681,211.8149],[52.1757,174.8524],[53.7632,170.2227],[56.7608,162.8847],[65.3963,142.9785],[77.5942,115.6714],[79.7269,110.9213],[85.2798,83.3686],[91.9136,55.1197],[106.1886,21.0906],[124.5728,2.2888],[145.3466,2.012],[158.8226,15.2664],[160.6005,28.8111],[160.6004,29.1304],[160.7361,33.6395],[160.7366,33.6503],[158.0195,69.2711],[154.4333,81.6982],[154.2551,82.2222],[150.9239,93.2494],[144.8923,147.9592],[139.23,230.5059],[125.8026,268.989],[97.3374,293.7429],[61.8687,294.5858],[2.1326,261.4781],[4.2566,259.3595],[62.5229,291.6581],[96.3769,290.9009],[122.0138,269.5623],[123.243,267.4175],[136.2904,229.9067],[142.0678,154.3163],[141.8896,147.9371],[142.7862,132.605],[144.5283,113.1838],[146.1651,101.5357],[148.0101,92.5349],[151.4148,81.2562],[151.4196,81.2422],[151.5927,80.7332],[154.8755,69.5778],[155.0893,68.6278],[157.9471,43.9071],[157.7387,33.7644],[157.6004,29.1306],[157.6004,28.9535],[156.0005,16.2844],[144.2856,4.8183],[125.8217,5.0166],[108.7804,22.6016],[94.77,56.037],[88.2774,83.4908],[82.4674,112.1422],[80.3305,116.9015],[80.3165,116.9327],[68.7179,142.8849],[68.1406,144.1909],[65.6706,149.803],[60.1461,162.5807],[59.5258,164.0488],[58.6203,166.2136],[56.7582,170.801],[56.5595,171.3095]],i:[[0,0],[0,0],[-.3915,.4017],[-4.6707,15.9269],[-.6599,1.6982],[-1.193,2.8341],[-3.1466,7.1237],[-2.7906,6.2042],[-.3923,.8807],[-.3596,8.8375],[-3.6913,11.4965],[-5.4395,9.3312],[-6.8822,3.151],[-6.5734,-2.4854],[-1.9861,-5.507],[8e-4,-3.4287],[0,0],[-.0748,-1.7981],[0,0],[3.5302,-16.078],[1.2183,-3.5853],[0,0],[1.0819,-4.4113],[1.5097,-30.692],[4.0639,-19.932],[4.188,-6.166],[11.4022,-3.8531],[11.8145,2.6403],[13.1441,13.1775],[0,0],[-22.8631,-5.1094],[-10.6568,3.6012],[-6.6832,11.1438],[-.4009,.7321],[-3.969,19.4665],[.6841,32.0556],[.0743,2.1565],[-.321,4.6287],[-.6262,5.4077],[-.5666,3.3175],[-.6253,2.5499],[-1.1462,3.3696],[0,0],[-.0577,.1697],[-1.0243,4.4435],[-.0707,.3221],[-.0822,6.6362],[.1166,2.8035],[0,1.3105],[0,0],[1.6011,4.4393],[6.5494,2.4764],[6.2092,-2.8428],[5.2856,-9.0672],[3.7234,-11.5964],[.208,-5.1123],[2.8314,-6.3563],[.9972,-2.217],[.0046,-.0101],[4.4428,-10.0431],[.1923,-.4353],[.8111,-1.8504],[1.625,-3.8328],[.2018,-.4794],[.2884,-.6944],[.5237,-1.3327],[.0644,-.1658]],o:[[0,0],[.3927200000000006,-.4036299999999926],[10.596809999999998,-10.874570000000006],[.2922500000000028,-1.2114100000000008],[.7744700000000009,-1.9928600000000074],[2.3891199999999984,-5.675479999999993],[4.633560000000003,-10.490039999999993],[.9986300000000057,-2.220179999999999],[2.629159999999999,-5.902370000000005],[.2264200000000045,-5.564610000000002],[3.749600000000001,-11.678109999999997],[5.451830000000001,-9.35239],[7.09187,-3.24697],[7.411300000000011,2.8022499999999995],[1.779910000000001,4.935169999999999],[0,0],[0,1.2346499999999985],[0,0],[.31514000000001374,7.57405],[-1.117289999999997,5.088579999999993],[0,0],[-1.1442299999999932,3.363900000000001],[-2.2763999999999953,9.282120000000006],[1.205900000000014,35.278760000000005],[-3.97505000000001,19.49609000000001],[-7.141620000000003,12.973880000000008],[-11.331789999999998,3.8293199999999956],[-23.498510000000003,-5.2513700000000085],[0,0],[12.801960000000001,12.834589999999992],[11.46425,2.5620099999999866],[10.06232,-3.4003299999999967],[.4184900000000056,-.697810000000004],[3.871139999999997,-5.634490000000028],[3.76991000000001,-18.490049999999997],[-.04473999999999023,-2.096360000000004],[.2753800000000126,-5.613630000000001],[.5294800000000066,-7.633709999999994],[.5213200000000029,-4.5021699999999925],[.6005700000000047,-3.5165700000000015],[1.1157399999999882,-4.549490000000006],[0,0],[.05768000000000484,-.16955000000000098],[1.1303299999999865,-3.3260599999999982],[.07177999999998974,-.3113599999999934],[2.1594200000000114,-9.834899999999998],[.049029999999987695,-3.9563699999999997],[-.0739900000000091,-1.7782699999999991],[0,0],[.00046000000000390173,-3.4865600000000008],[-1.7041499999999985,-4.725149999999999],[-5.998860000000008,-2.26819],[-6.104799999999997,2.79505],[-5.279330000000002,9.056470000000001],[-3.694100000000006,11.50526],[-.36938999999999567,9.078419999999994],[-.3951600000000042,.8871299999999991],[-.004549999999994725,.010109999999997399],[-2.676249999999996,5.949870000000004],[-.1925499999999971,.4352700000000027],[-.8314500000000038,1.8823500000000024],[-1.9971000000000032,4.555949999999996],[-.2116100000000003,.49909999999999854],[-.3147599999999997,.74772999999999],[-.7093599999999967,1.7080699999999922],[-.06804000000000343,.1731399999999894],[0,0]]}}},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"Path",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!1,v:[[55.0768,175.6202],[55.6808,173.6605],[55.9094,173.0252],[56.5587,171.3113]],i:[[0,0],[-.2706,.7681],[-.0798,.2177],[-.2335,.6008]],o:[[.11981000000000108,-.5174599999999998],[.07236000000000331,-.20544000000001006],[.19664999999999822,-.536910000000006],[0,0]]}}},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"Path",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!1,v:[[3.1904,258.2902],[4.2568,259.3593],[2.1328,261.478],[0,259.3398],[.4468,256.353],[25.8912,213.0232],[28.0413,215.1153]],i:[[0,0],[0,0],[0,0],[0,0],[0,0],[-10.8931,11.1952],[0,0]],o:[[0,0],[0,0],[0,0],[0,0],[2.9671,-19.83295000000001],[0,0],[0,0]]}}},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"Path",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!1,v:[[29.2167,213.9086],[3.1904,258.2902],[28.0414,215.1153],[56.5595,171.3094]],i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]]}}},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"Path",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!1,v:[[55.0768,175.6202],[56.5587,171.3113]],i:[[0,0],[0,0]],o:[[0,0],[0,0]]}}},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gf",o:{a:0,k:2,ix:2},r:1,bm:0,g:{p:2,k:{a:0,k:[0,0,0,0,1,0,0,0,0,1,1,0],ix:2}},s:{a:0,k:[126.89648259882857,31.115384654223394],ix:2},e:{a:0,k:[92.87022334742868,164.22232798959968],ix:2},t:1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"tr",p:{a:0,k:[168.42723083496094,135.67459106445312],ix:2},a:{a:0,k:[80.47865295410156,148.2970551777471],ix:2},s:{a:0,k:[99.99000036493139,99.99999992123514],ix:2},r:{a:0,k:64.9597997500858,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"tr",p:{a:0,k:[-14.2357,-133.6409],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"tr",p:{a:1,k:[{t:50,s:[127.5001,434.5],i:{x:[.15],y:[1]},o:{x:[.5],y:[.35]}},{t:146,s:[127.5,244.5],i:{x:[.15],y:[1]},o:{x:[.5],y:[.35]}},{t:229,s:[127.5,244.5],i:{x:[.15],y:[1]},o:{x:[.5],y:[.35]}},{t:300,s:[127.5001,434.5],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}}],ix:2},a:{a:0,k:[228.5,146.5],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:301,st:0,bm:0}]},{id:"13",layers:[{ddd:0,refId:"15",w:421,h:433,ind:28,ty:0,nm:"documents",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:301,st:0,bm:0},{ddd:0,ind:29,ty:4,nm:"hand1 - Null",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"gr",it:[{ty:"gr",it:[{ty:"gr",nm:"Rectangle 590 - Null",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[.01,0],[241.99,0],[242,.01],[242,3.99],[241.99,4],[.01,4],[0,3.99],[0,.01],[.01,0],[.01,0],[.01,0]],i:[[0,0],[0,0],[0,-.0055],[0,0],[.0055,0],[0,0],[0,.0055],[0,0],[-.0055,0],[0,0],[0,0]],o:[[0,0],[.005519999999989977,0],[0,0],[0,.005520000000000191],[0,0],[-.00552,0],[0,0],[0,-.00552],[0,0],[0,0],[0,0]]}}},{ty:"fl",c:{a:0,k:[.8941176470588236,.8941176470588236,.8941176470588236],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[121.28050231933594,172.39990234375],ix:2},a:{a:0,k:[121,2],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"Rectangle 502 - Null",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[7.1017,0],[173.99,0],[174,.01],[174,241.99],[173.99,242],[7.1017,242],[0,234.8983],[0,7.1017],[7.1017,0],[7.1017,0],[7.1017,0]],i:[[0,0],[0,0],[0,-.0055],[0,0],[.0055,0],[0,0],[0,3.9222],[0,0],[-3.9222,0],[0,0],[0,0]],o:[[0,0],[.005519999999989977,0],[0,0],[0,.005519999999989977],[0,0],[-3.92216,0],[0,0],[0,-3.92216],[0,0],[0,0],[0,0]]}}},{ty:"gf",o:{a:0,k:100,ix:2},r:1,bm:0,g:{p:2,k:{a:0,k:[0,.9882352941176471,.9882352941176471,.9882352941176471,1,1,1,1,0,0,1,1],ix:2}},s:{a:0,k:[69.63285939784592,121.00000395163823],ix:2},e:{a:0,k:[158.15770221297439,121.00000431059694],ix:2},t:1},{ty:"tr",p:{a:0,k:[121.28065490722656,87.40010833740234],ix:2},a:{a:0,k:[87,121],ix:2},s:{a:0,k:[100.0000000001523,100.00000000015233],ix:2},r:{a:0,k:89.99990000000297,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"tr",p:{a:0,k:[189.7195,-137.3998],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"tr",p:{a:1,k:[{t:50,s:[127.5001,434.5],i:{x:[.15],y:[1]},o:{x:[.5],y:[.35]}},{t:146,s:[127.5,244.5],i:{x:[.15],y:[1]},o:{x:[.5],y:[.35]}},{t:229,s:[127.5,244.5],i:{x:[.15],y:[1]},o:{x:[.5],y:[.35]}},{t:300,s:[127.5001,434.5],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}}],ix:2},a:{a:0,k:[228.5,146.5],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:301,st:0,bm:0}]},{id:"15",layers:[{ddd:0,ind:30,ty:3,nm:"",sr:1,ks:{p:{a:1,k:[{t:50,s:[127.5001,434.5],i:{x:[.15],y:[1]},o:{x:[.5],y:[.35]}},{t:146,s:[129,231],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}},{t:229,s:[129,231],i:{x:[.15],y:[1]},o:{x:[.5],y:[.35]}},{t:300,s:[127.5001,434.5],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}}],ix:2},a:{a:0,k:[26.5,34],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:301,st:0,bm:0},{ddd:0,refId:"16",w:54,h:69,ind:31,ty:0,nm:"avatar 1",sr:1,ks:{p:{a:0,k:[-1,-1],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:1,k:[{t:50,s:[0],i:{x:[.15],y:[1]},o:{x:[.5],y:[.35]}},{t:146,s:[100],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}},{t:229,s:[100],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}},{t:300,s:[0],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}}],ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:301,st:0,bm:0,parent:30},{ddd:0,ind:32,ty:4,nm:"hand1 - Null",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"gr",it:[{ty:"gr",it:[{ty:"gr",it:[{ty:"gr",nm:"Union",it:[{ty:"gr",nm:"Path",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[3.8396,.8147],[3.8396,.8147],[3.8396,13.6839],[4.6543,14.4986],[102.8451,14.4986],[103.6598,13.6839],[103.6598,.8147],[102.8451,0],[4.6543,0],[3.8396,.8147]],i:[[0,0],[0,0],[0,0],[-.4499500000000003,0],[0,0],[0,.4499499999999994],[0,0],[.44996000000000436,0],[0,0],[0,-.44995]],o:[[0,0],[0,0],[0,.4499],[0,0],[.45,0],[0,0],[0,-.45],[0,0],[-.45,0],[0,0]]}}},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"Path",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[.8147,128.5552],[0,129.3699],[0,137.4062],[.8147,138.2209],[214.1827,138.2209],[214.9974,137.4062],[214.9974,129.3699],[214.1827,128.5552],[.8147,128.5552],[.8147,128.5552]],i:[[0,0],[0,-.45],[0,0],[-.45,0],[0,0],[0,.45],[0,0],[.45,0],[0,0],[0,0]],o:[[-.44995,0],[0,0],[0,.4499500000000012],[0,0],[.4499500000000012,0],[0,0],[0,-.4499500000000012],[0,0],[0,0],[0,0]]}}},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"Path",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[.8155,143.0527],[8e-4,143.8674],[8e-4,151.9037],[.8155,152.7184],[214.1835,152.7184],[214.9982,151.9037],[214.9982,143.8674],[214.1835,143.0527],[.8155,143.0527],[.8155,143.0527]],i:[[0,0],[0,-.45],[0,0],[-.45,0],[0,0],[0,.45],[0,0],[.45,0],[0,0],[0,0]],o:[[-.44995,0],[0,0],[0,.4499500000000012],[0,0],[.4499500000000012,0],[0,0],[0,-.4499500000000012],[0,0],[0,0],[0,0]]}}},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"Path",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[62.2432,38.6621],[61.4285,39.4768],[61.4285,47.5131],[62.2432,48.3278],[133.5593,48.3278],[134.374,47.5131],[134.374,39.4768],[133.5593,38.6621],[62.2432,38.6621],[62.2432,38.6621]],i:[[0,0],[0,-.45],[0,0],[-.45,0],[0,0],[0,.45],[0,0],[.45,0],[0,0],[0,0]],o:[[-.4499500000000012,0],[0,0],[0,.4499500000000012],[0,0],[.4499500000000012,0],[0,0],[0,-.4499500000000012],[0,0],[0,0],[0,0]]}}},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"Path",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[62.2432,57.9937],[61.4285,58.8084],[61.4285,66.8447],[62.2432,67.6594],[133.5593,67.6594],[134.374,66.8447],[134.374,58.8084],[133.5593,57.9937],[62.2432,57.9937],[62.2432,57.9937]],i:[[0,0],[0,-.45],[0,0],[-.45,0],[0,0],[0,.45],[0,0],[.45,0],[0,0],[0,0]],o:[[-.4499500000000012,0],[0,0],[0,.44996000000000436],[0,0],[.4499500000000012,0],[0,0],[0,-.4499500000000012],[0,0],[0,0],[0,0]]}}},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"Path",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[61.4285,78.1394],[61.4285,78.1394],[61.4285,86.1757],[62.2432,86.9904],[160.434,86.9904],[161.2487,86.1757],[161.2487,78.1394],[160.434,77.3247],[62.2432,77.3247],[61.4285,78.1394]],i:[[0,0],[0,0],[0,0],[-.4499500000000012,0],[0,0],[0,.44996000000000436],[0,0],[.4499500000000012,0],[0,0],[0,-.4499500000000012]],o:[[0,0],[0,0],[0,.45],[0,0],[.45,0],[0,0],[0,-.45],[0,0],[-.45,0],[0,0]]}}},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"Path",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[62.2433,96.6562],[61.4286,97.4709],[61.4286,105.5072],[62.2433,106.3219],[95.167,106.3219],[95.9817,105.5072],[95.9817,97.4709],[95.167,96.6562],[62.2433,96.6562],[62.2433,96.6562]],i:[[0,0],[0,-.45],[0,0],[-.45,0],[0,0],[0,.45],[0,0],[.45,0],[0,0],[0,0]],o:[[-.4499500000000012,0],[0,0],[0,.4499500000000012],[0,0],[.44996000000000436,0],[0,0],[0,-.44996000000000436],[0,0],[0,0],[0,0]]}}},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"Path",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[191.2415,57.9951],[190.4268,58.8098],[190.4268,66.8461],[191.2415,67.6608],[214.1832,67.6608],[214.9979,66.8461],[214.9979,58.8098],[214.1832,57.9951],[191.2415,57.9951],[191.2415,57.9951]],i:[[0,0],[0,-.45],[0,0],[-.45,0],[0,0],[0,.45],[0,0],[.45,0],[0,0],[0,0]],o:[[-.4499500000000012,0],[0,0],[0,.4499500000000012],[0,0],[.4499500000000012,0],[0,0],[0,-.4499500000000012],[0,0],[0,0],[0,0]]}}},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"Path",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[190.4268,79.1077],[190.4268,79.1077],[190.4268,87.144],[191.2415,87.9587],[214.1832,87.9587],[214.9979,87.144],[214.9979,79.1077],[214.1832,78.293],[191.2415,78.293],[190.4268,79.1077]],i:[[0,0],[0,0],[0,0],[-.4499500000000012,0],[0,0],[0,.44996000000000436],[0,0],[.4499500000000012,0],[0,0],[0,-.44996000000000436]],o:[[0,0],[0,0],[0,.45],[0,0],[.45,0],[0,0],[0,-.45],[0,0],[-.45,0],[0,0]]}}},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"Path",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[190.4268,99.4051],[190.4268,99.4051],[190.4268,107.4414],[191.2415,108.2561],[214.1832,108.2561],[214.9979,107.4414],[214.9979,99.4051],[214.1832,98.5904],[191.2415,98.5904],[190.4268,99.4051]],i:[[0,0],[0,0],[0,0],[-.4499500000000012,0],[0,0],[0,.44996000000000436],[0,0],[.4499500000000012,0],[0,0],[0,-.44996000000000436]],o:[[0,0],[0,0],[0,.45],[0,0],[.45,0],[0,0],[0,-.45],[0,0],[-.45,0],[0,0]]}}},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"fl",c:{a:0,k:[.788235294117647,.788235294117647,.788235294117647],ix:2},o:{a:0,k:50,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"tr",p:{a:0,k:[120.55180358886719,96.65750122070312],ix:2},a:{a:0,k:[107.49909973144531,76.35919952392578],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"shapes",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[.8147,0],[18.3815,0],[19.1962,.8147],[19.1962,18.5168],[18.3815,19.3315],[.8147,19.3315],[0,18.5168],[0,.8147],[.8147,0],[.8147,0],[.8147,0]],i:[[0,0],[0,0],[0,-.4499],[0,0],[.4499,0],[0,0],[0,.4499],[0,0],[-.4499,0],[0,0],[0,0]],o:[[0,0],[.4499500000000012,0],[0,0],[0,.4499500000000012],[0,0],[-.44995,0],[0,0],[0,-.44995],[0,0],[0,0],[0,0]]}}},{ty:"fl",c:{a:0,k:[.9176470588235294,.9411764705882353,.9647058823529412],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[218.45260620117188,29.963951110839844],ix:2},a:{a:0,k:[9.5981,9.66575],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"shapes",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[0,0],[242.64,0],[242.64,29.6497],[235.5598,36.7299],[7.0802,36.7299],[0,29.6497],[0,0],[0,0]],i:[[0,0],[0,0],[0,0],[3.9103,0],[0,0],[0,3.9103],[0,0],[0,0]],o:[[0,0],[0,0],[0,3.9102700000000006],[0,0],[-3.91027,0],[0,0],[0,0],[0,0]]}}},{ty:"fl",c:{a:0,k:[.9568627450980393,.9568627450980393,.9607843137254902],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[121.31990051269531,160.4513397216797],ix:2},a:{a:0,k:[121.32,18.36495],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"documents",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[.01,0],[242.63,0],[242.64,.01],[242.64,171.484],[235.3076,178.8164],[7.3324,178.8164],[0,171.484],[0,.01],[.01,0],[.01,0],[.01,0]],i:[[0,0],[0,0],[0,-.0055],[0,0],[4.0496,0],[0,0],[0,4.0496],[0,0],[-.0055,0],[0,0],[0,0]],o:[[0,0],[.005519999999989977,0],[0,0],[0,4.049569999999989],[0,0],[-4.04957,0],[0,0],[0,-.00552],[0,0],[0,0],[0,0]]}}},{ty:"fl",c:{a:0,k:[1,1,1],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[121.31999969482422,89.408203125],ix:2},a:{a:0,k:[121.32,89.4082],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"tr",p:{a:0,k:[311.0394287109375,125.99191284179688],ix:2},a:{a:0,k:[121.31994995117202,89.40820468749996],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"tr",p:{a:1,k:[{t:50,s:[127.5001,434.5],i:{x:[.15],y:[1]},o:{x:[.5],y:[.35]}},{t:146,s:[127.5,244.5],i:{x:[.15],y:[1]},o:{x:[.5],y:[.35]}},{t:229,s:[127.5,244.5],i:{x:[.15],y:[1]},o:{x:[.5],y:[.35]}},{t:300,s:[127.5001,434.5],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}}],ix:2},a:{a:0,k:[228.5,146.5],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:301,st:0,bm:0}]},{id:"16",layers:[{ddd:0,ind:33,ty:3,nm:"",sr:1,ks:{p:{a:0,k:[27.5,35],ix:2},a:{a:0,k:[26.5,34],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:301,st:0,bm:0},{ddd:0,refId:"17",w:53,h:69,ind:34,ty:0,nm:"Frame clipped content",sr:1,ks:{p:{a:0,k:[0,-1],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:301,st:0,bm:0,parent:33}]},{id:"18",layers:[{ddd:0,ind:35,ty:4,nm:"Ellipse 148",sr:1,ks:{p:{a:0,k:[0,1],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"gr",nm:"Ellipse 148",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[22.756027221679688,16.268380558545367],[11.378014817007513,32.25135040283203],[0,16.268380558545367],[11.378014817007513,0],[22.756027221679688,16.268380558545367]],i:[[0,0],[4.987643826619957,5191581050170329e-28],[0,8.827150693984603],[-10.750421655879672,0],[0,-8.04655192008153]],o:[[0,8.827150693984603],[-5.455190599851786,-5678245365236715e-28],[0,-7.864703395234007],[10.750421655879672,0],[0,0]]}}},{ty:"fl",c:{a:0,k:[.9803921568627451,.9803921568627451,.9803921568627451],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[25.735435485839844,30.125675201416016],ix:2},a:{a:0,k:[11.378013610839844,16.125675201416016],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:35084222913516843e-31,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:-13497799236786507e-35,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:301,st:0,bm:0},{ddd:0,ind:36,ty:4,nm:"Vector 14",sr:1,ks:{p:{a:0,k:[0,1],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"gr",nm:"Vector 14",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[3.0447902679443364,1.0813388576412473],[3.0447902679443364,7.211943554099301],[1.7898622277215814,8.031594276428223],[.18623991353417385,4.063794372465733],[.8137265637753712,.5842626237336662],[3.0447902679443364,1.0813388576412473]],i:[[0,0],[0,0],[.8366489174456317,0],[.13944148624093863,1.0769984468435367],[-1.1852526708910047,1.5740745908167844],[-.34860371560234654,-.6903836082414552]],o:[[0,0],[-.06970567213518368,.5246915602503727],[-1.0458111089640132,0],[-.13944148624093863,-1.0769984468435367],[.9482021367128037,-1.2592597266140275],[0,0]]}}},{ty:"gf",o:{a:0,k:100,ix:2},r:1,bm:0,g:{p:3,k:{a:0,k:[.0416666679084301,.7098039215686275,.7098039215686275,.7098039215686275,.3624882996082306,.8862745098039215,.8862745098039215,.8862745098039215,1,1,1,1,.0416666679084301,1,.3624882996082306,1,1,1],ix:2}},s:{a:0,k:[2.7359152717717734,3.926277873819515],ix:2},e:{a:0,k:[.7372444030814052,4.129868053136477],ix:2},t:1},{ty:"tr",p:{a:0,k:[36.87506103515625,32.51383590698242],ix:2},a:{a:0,k:[1.522395133972168,4.015797138214111],ix:2},s:{a:0,k:[100.0000001429167,-99.9481639006186],ix:2},r:{a:0,k:-172.2474372501015,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:178.15518187858171,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:301,st:0,bm:0},{ddd:0,ind:37,ty:4,nm:"Vector 13",sr:1,ks:{p:{a:0,k:[0,1],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"gr",nm:"Vector 13",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[3.0447905063629146,1.0813388576412473],[3.0447905063629146,7.211943554099301],[1.7898623678745544,8.031594276428223],[.1862399281174625,4.063794372465733],[.8137266274932347,.5842626237336662],[3.0447905063629146,1.0813388576412473]],i:[[0,0],[0,0],[.8366489829584021,0],[.1394414971597337,1.0769984468435367],[-1.1852527637007657,1.5740745908167844],[-.3486037428993342,-.6903836082414552]],o:[[0,0],[-.0697056775934011,.5246915602503727],[-1.0458111908549732,0],[-.1394414971597337,-1.0769984468435367],[.9482022109606126,-1.2592597266140275],[0,0]]}}},{ty:"gf",o:{a:0,k:100,ix:2},r:1,bm:0,g:{p:3,k:{a:0,k:[.171875,.7411764705882353,.7411764705882353,.7411764705882353,.640625,.8823529411764706,.8823529411764706,.8823529411764706,1,.8666666666666667,.8666666666666667,.8666666666666667,.171875,1,.640625,1,1,1],ix:2}},s:{a:0,k:[2.7359154860042736,3.926277873819515],ix:2},e:{a:0,k:[.7372444608104267,4.129868053136477],ix:2},t:1},{ty:"tr",p:{a:0,k:[14.108526229858398,32.17430877685547],ix:2},a:{a:0,k:[1.5223952531814575,4.015797138214111],ix:2},s:{a:0,k:[100.00000406647163,99.94816570930602],ix:2},r:{a:0,k:-7.210328320717026,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:1.8448164690909499,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:301,st:0,bm:0},{ddd:0,ind:38,ty:4,nm:"Path 48",sr:1,ks:{p:{a:0,k:[0,1],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"gr",nm:"Path 48",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[0,.09942684238919658],[11.983551979064941,2.130622837691081],[0,6.4231824441763],[0,.09942684238919658]],i:[[0,0],[0,0],[10.831494200252585,1.7587448024703312],[0,0]],o:[[6.172195755255085,-.6411878388245154],[0,0],[0,0],[0,0]]}}},{ty:"fl",c:{a:0,k:[.803921568627451,.803921568627451,.803921568627451],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[24.138259887695312,44.78117752075195],ix:2},a:{a:0,k:[5.991775989532471,3.3718764781951904],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:35084222913516843e-31,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:-13497799236786507e-35,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:301,st:0,bm:0},{ddd:0,ind:39,ty:4,nm:"Combined Shape",sr:1,ks:{p:{a:0,k:[0,1],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"gr",nm:"Combined Shape",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[53,8.872973442077637],[53,14.630952358245853],[49.13095235824584,18.5],[3.869066183500868,18.5],[10071100518878319e-21,14.630933816514041],[0,9.023813247680664],[16.5,0],[25.5,5],[35,0],[53,8.872973442077637]],i:[[0,0],[0,-1.7643454546250599],[2.1368160089096118,0],[9.79165228537824,0],[-21410215021107586e-22,2.1368232498972852],[10283222208835936e-21,1.9160577703045778],[0,0],[-3.9974851608276367,-.0982111394405365],[-1.382991909980774,2.6157944202423096],[-2.4650931358337402,-4.42252254486084]],o:[[0,1.882707738167424],[0,2.1368160089096118],[-9.791632229363827,0],[-2.1368232498983577,0],[16798350196592344e-22,-1.6765410914653316],[2.4645752906799316,-4.421380043029785],[1.3303749561309814,2.409811019897461],[4.33779764175415,.10657202452421188],[0,0],[0,0]]}}},{ty:"fl",c:{a:0,k:"replaceColorWithYours",ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[26.5,58.75],ix:2},a:{a:0,k:[26.5,9.25],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:35084222913516843e-31,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:-13497799236786507e-35,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:301,st:0,bm:0},{ddd:0,ind:40,ty:4,nm:"Combined Shape",sr:1,ks:{p:{a:0,k:[0,1],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"gr",nm:"Combined Shape",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[5.288987196990271,15.591408602680824],[5.288987196990271,15.6904052133937],[0,20.414931744398782],[12.647581100463867,25.927534103393555],[25.295162200927734,20.414931744398782],[20.00617560807837,15.683284544298461],[20.01261575012549,6.334363175930671],[20.01261575012549,6.283374357636501],[20.0464162254775,3.509620297497381],[5.265991781723889,6.5605711434764995],[5.288987196990271,15.591408602680824]],i:[[0,0],[0,0],[3.4987044337850985,-1.055357157545385],[-4.21578404368696,0],[-4.21578404368696,3.062480597171335],[.05105024158050265,2.0978517013676967],[-.0036765856145537412,.7961678197114032],[.22995604060414662,.06385431724598079],[-.0156370120826402,3.5843402541677634],[-.22043893341033055,-9.84209227199208],[-.014027319940006699,-1.1365149081275392]],o:[[0,0],[-.02728811722741247,2.094329685674955],[4.21578404368696,3.062480597171335],[4.21578404368696,0],[-3.4749423637102925,-1.0565821540083793],[0,-.796174608484905],[.25134196786144297,.035372534248765436],[.006898680864135587,-2.6228504872313643],[.0156370120826402,-3.584378874745907],[.002989428728447566,1.0035234386735064],[0,0]]}}},{ty:"gf",o:{a:0,k:100,ix:2},r:1,bm:0,g:{p:2,k:{a:0,k:[0,.6941176470588235,.6941176470588235,.6941176470588235,1,1,1,1,0,1,1,1],ix:2}},s:{a:0,k:[11.525842471849046,7.159018175022425],ix:2},e:{a:0,k:[11.525842471849046,19.339639128182853],ix:2},t:1},{ty:"tr",p:{a:0,k:[25.702268600463867,43.690086364746094],ix:2},a:{a:0,k:[12.647581100463867,12.963767051696777],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:35084222913516843e-31,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:-13497799236786507e-35,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:301,st:0,bm:0},{ddd:0,ind:41,ty:4,nm:"Rectangle 532",sr:1,ks:{p:{a:0,k:[0,1],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"gr",nm:"Rectangle 532",it:[{ty:"rc",d:1,s:{a:0,k:[53,68],ix:2},p:{a:0,k:[0,0],ix:2},r:{a:0,k:3.8690476417541504,ix:2}},{ty:"fl",c:{a:0,k:[.9490196078431372,.9490196078431372,.9490196078431372],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[26.5,34],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:35084222913516843e-31,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:-13497799236786507e-35,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:301,st:0,bm:0},{ddd:0,ind:42,ty:4,nm:"Frame region - box",sr:1,ks:{p:{a:0,k:[0,1],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"rc",d:1,s:{a:0,k:[53,69],ix:2},p:{a:0,k:[26.5,33.5],ix:2},r:{a:0,k:0,ix:2}},{ty:"fl",c:{a:0,k:[0,0,0],ix:2},o:{a:0,k:0,ix:2},r:1,bm:0}],ip:0,op:301,st:0,bm:0}]},{id:"17",layers:[{ddd:0,ind:43,ty:4,nm:"Frame region",sr:1,ks:{p:{a:0,k:[0,1],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},td:1,ao:0,shapes:[{ty:"gr",nm:"Frame region",it:[{ty:"rc",d:1,s:{a:0,k:[53,68],ix:2},p:{a:0,k:[0,0],ix:2},r:{a:0,k:2.8851099014282227,ix:2}},{ty:"fl",c:{a:0,k:[0,0,0],ix:2},o:{a:0,k:100,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[26.5,34],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:301,st:0,bm:0},{ddd:0,refId:"18",w:53,h:69,ind:34,ty:0,nm:"Frame clipped content",sr:1,ks:{p:{a:0,k:[26.5,33.5],ix:2},a:{a:0,k:[26.5,33.5],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:301,st:0,bm:0,tt:1}]},{id:"14",layers:[{ddd:0,ind:44,ty:4,nm:"hand1 - Null",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"gr",it:[{ty:"gr",it:[{ty:"gr",it:[{ty:"gr",nm:"out",it:[{ty:"gr",nm:"Path",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!1,v:[[188.3793,168.4372],[189.5807,167.7225],[196.3394,175.4446],[204.0781,177.0441],[210.7781,173.2582],[215.5448,167.3006],[216.9737,131.3681],[216.9771,130.6952],[217.4284,130.1961],[219.5053,125.473],[219.5061,125.4696],[220.4944,117.3119],[220.4946,117.3081],[219.9986,101.9602],[219.8426,100.3791],[221.3994,100.0621],[230.0122,94.3582]],i:[[0,0],[0,0],[-2.2185,-1.4794],[-2.431,.5285],[-1.9705,1.8097],[-1.1731,1.9978],[-.0427,8.3501],[0,0],[0,0],[-.4823,2.0532],[0,0],[-.1268,2.986],[0,0],[.4113,4.1696],[0,0],[0,0],[-1.6652,2.4778]],o:[[0,0],[2.2501499999999908,3.782459999999986],[2.6925500000000113,1.7767200000000116],[2.4424300000000017,-.5436200000000042],[1.9590100000000064,-1.8002799999999866],[.4620700000000113,-8.689009999999996],[0,0],[0,0],[.9171399999999892,-1.014250000000004],[0,0],[.5533399999999915,-2.3348299999999966],[0,0],[.23929999999998586,-5.363249999999994],[0,0],[0,0],[4.20338000000001,-.8559999999999945],[0,0]]}}},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"Path",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[217.2981,167.8327],[217.097,168.1343],[211.9691,174.555],[204.4567,178.7636],[195.3643,176.9107],[189.4781,170.8254],[188.0675,168.6227],[188.0675,168.5509],[188.0562,168.6227],[188.055,168.6302],[187.6224,171.2249],[183.1838,189.7809],[178.1852,201.4588],[171.649,206.8407],[162.1208,205.4713],[160.1579,204.6861],[160.5794,206.7845],[162.6435,226.926],[164.3769,239.5972],[166.6217,254.2416],[170.7304,288.715],[162.3518,357.6546],[159.8138,364.1256],[120.6003,388.4483],[70.542,381.5967],[25.7553,359.9072],[12.4934,319.0746],[12.9427,310.0931],[12.3681,279.2394],[6.1773,222.1715],[6.1773,222.0997],[6.1629,222.0135],[.4173,135.9305],[1.9973,118.7082],[10.6156,106.4701],[18.0254,99.6377],[18.1545,99.5232],[38.0508,78.877],[91.1255,8.5943],[103.5359,.3207],[130.3534,8.0916],[163.8644,18.3618],[164.9911,18.6396],[173.6031,20.8324],[203.3795,37.9829],[234.3194,84.0337],[234.4487,84.2348],[234.5062,84.4646],[234.7073,86.7628],[234.1902,88.2136],[233.9029,88.544],[233.5294,90.8853],[231.4753,95.3381],[221.751,101.7875],[222.2537,117.3867],[221.2195,125.8758],[218.7345,131.3772],[217.2981,167.4881],[217.2981,167.8327],[217.2981,167.8327]],i:[[0,0],[0,0],[2.1259,-1.9535],[2.8441,-.632],[3.0883,2.0397],[1.9098,2.7616],[.4658,.7831],[0,0],[.0038,-.024],[4e-4,-.0025],[.1556,-.8898],[1.9453,-6.0711],[1.9391,-3.1888],[2.8871,-.7182],[3.21,1.0751],[.6308,.2992],[-.1354,-.7365],[-.3046,-6.9426],[-.8197,-4.2579],[-.6211,-6.2109],[-.9911,-5.0992],[5.5417,-13.7658],[.8466,-2.2695],[14.9528,-1.4795],[17.0643,5.3721],[11.4337,8.4604],[-1.0021,17.4555],[-.1156,3.1691],[.6464,10.7729],[2.1402,13.6026],[0,0],[0,0],[2.8728,30.983],[-1.8673,4.7257],[-3.7059,3.7059],[-2.6478,2.3505],[0,0],[-6.9134,9.1365],[-11.0459,14.6512],[-6.5356,1.106],[-11.3475,-7.2538],[-10.0548,-2.4706],[-.3739,-.0922],[-2.7687,-.7528],[-7.1245,-9.7675],[-5.7456,-9.1067],[0,0],[0,0],[.0862,-.8331],[.3447,-.4884],[.1006,-.1005],[.2298,-.8187],[1.0198,-1.5226],[4.7257,-.9624],[.2442,-5.4727],[.5889,-2.485],[1.2209,-1.3502],[.4596,-8.6327],[0,0],[0,0]],o:[[0,0],[-1.2496600000000058,2.1402300000000025],[-2.1115000000000066,1.9391300000000058],[-2.9014999999999986,.632000000000005],[-2.0020100000000127,-1.3346899999999948],[-.4744000000000028,-.6859599999999944],[0,0],[-.0037700000000029377,.023910000000000764],[-.0004000000000132786,.002489999999994552],[-.13274999999998727,.8379999999999939],[-1.0076899999999966,5.761719999999997],[-1.407669999999996,4.381],[-1.8960399999999993,3.1313299999999913],[-2.7421600000000126,0],[-.6741600000000005,-.2257799999999861],[.14545000000001096,.6603900000000067],[1.0282100000000014,5.591170000000005],[.20055999999999585,4.7096699999999885],[.7653500000000122,3.9752300000000105],[.718199999999996,7.181960000000004],[2.045649999999995,43.045169999999985],[-.838150000000013,2.0819999999999936],[-4.768810000000002,12.783869999999979],[-14.967209999999994,1.4794600000000173],[-17.078699999999998,-5.372130000000027],[-14.92241,-11.907260000000008],[.16233000000000075,-2.827670000000012],[.3447300000000002,-9.437099999999987],[-1.2927499999999998,-21.53152],[0,0],[0,0],[-.7182000000000004,-15.785949999999985],[-.91929,-6.9952399999999955],[1.8673099999999998,-4.711370000000002],[2.2689500000000002,-2.268950000000004],[0,0],[6.069580000000002,-5.38082],[16.05887,-21.215519999999998],[1.7811200000000014,-3.3467900000000004],[6.593040000000002,-1.12039],[12.252430000000004,5.041740000000001],[.37718000000000984,.09309000000000012],[2.9726699999999937,.7325799999999987],[12.35297,3.3324299999999987],[10.945310000000006,14.981580000000001],[0,0],[0,0],[.14365000000000805,.5601999999999947],[-.04309000000000651,.41655000000000086],[-.08618000000001302,.11490999999999474],[0,.718190000000007],[-.3591000000000122,1.3645700000000005],[-1.881670000000014,2.8009600000000034],[.41655000000000086,4.222999999999999],[-.12926999999999111,3.0451500000000067],[-.5027499999999918,2.1402300000000025],[-.04309000000000651,8.431630000000013],[0,0],[0,0],[0,0]]}}},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"Path",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!1,v:[[230.0124,94.3581],[231.8266,90.4371],[231.8303,90.4232],[231.8342,90.4093],[232.1422,88.5438],[232.1422,87.8145],[232.6579,87.2988],[232.7655,87.178],[232.9559,86.5815],[232.8107,84.942],[201.9578,39.0215],[201.957,39.0204],[173.1445,22.5322],[173.1411,22.5313],[164.5692,20.3489],[163.4424,20.0711],[129.6833,9.7197],[129.5377,9.6598],[129.405,9.575],[103.8309,2.0564],[103.8297,2.0566],[92.6798,9.4214],[92.6148,9.5436],[92.5315,9.6542],[39.4548,79.9396],[19.3474,100.8187],[19.297,100.8634],[19.2961,100.8642],[19.2162,100.9351],[11.8608,107.7151],[3.6343,119.3569],[2.1631,135.7011],[2.1675,135.7345],[2.1706,135.768],[7.9171,221.8281],[7.9381,221.954],[7.9381,222.034],[14.1258,279.1339],[14.7024,310.1574],[14.302,318.2933],[14.2514,319.1759],[13.9159,325.5939],[14.2785,338.0845],[26.8289,358.5112],[71.0706,379.9172],[120.4272,386.6962],[143.1365,379.0068],[158.1644,363.5103],[160.7572,356.8972],[166.8494,338.1616],[168.9779,288.9235],[164.87,254.4169],[162.6469,239.9229],[162.567,239.5077],[160.8848,227.001],[162.638,226.9263],[160.8849,227.0032],[160.8848,227.0009],[158.4388,205.0648],[157.6658,201.5551],[160.9129,203.0952],[171.4278,205.0792],[174.1615,203.7025],[176.6796,200.5467],[176.6813,200.5438],[181.5076,189.2435],[186.3289,168.2763],[188.3799,168.4372]],i:[[0,0],[-.3081,1.1706],[0,0],[0,0],[0,.5013],[0,0],[0,0],[-.031,.0393],[-.0234,.2266],[.1091,.4427],[10.897,14.9155],[0,0],[12.2878,3.3149],[0,0],[2.9757,.7333],[.3776,.0932],[12.3878,5.0974],[0,0],[0,0],[6.0297,-1.0247],[0,0],[1.5342,-2.8827],[0,0],[0,0],[16.0599,-21.2169],[6.0673,-5.3788],[0,0],[0,0],[0,0],[2.2317,-2.2317],[1.7421,-4.3955],[-.8887,-6.7628],[0,0],[0,0],[-.7235,-15.8665],[0,0],[0,0],[-1.2925,-21.5268],[.3475,-9.5123],[.1467,-2.5661],[.0168,-.2922],[.0845,-2.0439],[-.546,-3.7771],[-8.3218,-6.648],[-16.9278,-5.3247],[-14.6448,1.4476],[-7.1426,4.1832],[-2.1806,5.8456],[-.847,2.1041],[-1.601,7.5781],[1.1644,24.629],[.708,7.0803],[.7644,3.9704],[0,0],[.2,4.695],[0,0],[0,0],[0,8e-4],[1.2181,5.5305],[0,0],[0,0],[-3.1955,-.0194],[-.7606,.6344],[-.8953,1.4787],[0,0],[-1.3896,4.3245],[-.9823,6.2214],[0,0]],o:[[.9134500000000116,-1.3637800000000055],[0,0],[0,0],[.20464999999998668,-.729060000000004],[0,0],[0,0],[.03821999999999548,-.03821999999999548],[.10399000000001024,-.15722999999999843],[.05563000000000784,-.5377900000000011],[-5.75209000000001,-9.115650000000002],[0,0],[-6.746829999999989,-9.249690000000001],[0,0],[-2.7470399999999984,-.7468900000000005],[-.37360000000001037,-.09206999999999965],[-10.050260000000009,-2.4694900000000004],[0,0],[0,0],[-11.109729999999999,-7.1018],[0,0],[-5.977450000000005,1.0115700000000003],[0,0],[0,0],[-11.046059999999997,14.65148],[-7.018749999999997,9.275769999999994],[0,0],[0,0],[0,0],[-2.6642399999999995,2.365009999999998],[-3.6242,3.624210000000005],[-1.73503,4.391899999999993],[0,0],[0,0],[2.87009,30.953959999999995],[0,0],[0,0],[2.1441,13.656540000000007],[.6484299999999994,10.80716000000001],[-.10435000000000016,2.8609599999999773],[-.016930000000000334,.2961999999999989],[-.12886999999999915,2.2450600000000236],[-.1911000000000005,4.624450000000024],[1.0705799999999996,7.406799999999976],[11.238989999999998,8.309910000000002],[16.937669999999997,5.332240000000013],[7.197680000000005,-.712159999999983],[7.180880000000002,-4.205600000000004],[.8755199999999945,-2.3470500000000243],[2.3342600000000004,-5.79892000000001],[2.1705200000000104,-10.274020000000007],[-1.024579999999986,-5.427149999999983],[-.6130699999999933,-6.130689999999987],[0,0],[-.786059999999992,-4.086669999999998],[0,0],[0,0],[-3000000000952241e-20,-.0007500000000106866],[-.34288000000000807,-7.812299999999993],[0,0],[0,0],[3.208110000000005,1.5216200000000129],[1.1191900000000032,-.3026000000000124],[.8287799999999947,-.6913000000000125],[0,0],[1.8349800000000016,-3.0175000000000125],[2.21896000000001,-6.925430000000006],[0,0],[0,0]]}}},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"Path",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!1,v:[[188.3793,168.4372],[230.0124,94.3581]],i:[[0,0],[0,0]],o:[[0,0],[0,0]]}}},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"Path",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!1,v:[[14.1255,279.1338],[12.7176,279.2183]],i:[[0,0],[0,0]],o:[[0,0],[0,0]]}}},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gf",o:{a:0,k:100,ix:2},r:1,bm:0,g:{p:2,k:{a:0,k:[0,1,1,1,1,1,1,1,0,1,1,0],ix:2}},s:{a:0,k:[100.26192891171229,86.25710320304567],ix:2},e:{a:0,k:[86.62645296250791,239.5935630823299],ix:2},t:1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"tr",p:{a:0,k:[222.04934692382812,161.77700805664062],ix:2},a:{a:0,k:[117.36671369304167,194.41413566819392],ix:2},s:{a:0,k:[99.99000123251479,99.99999834779308],ix:2},r:{a:0,k:78.5786998151348,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"vec",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[188.0675,168.5509],[183.1838,189.7808],[178.1852,201.4587],[171.649,206.8406],[160.1579,204.686],[162.6435,226.9259],[166.6217,254.2415],[170.7304,288.7149],[159.8138,364.1255],[120.6003,388.4482],[70.542,381.5966],[25.7553,359.9071],[12.9427,310.093],[12.3681,279.2393],[6.1773,222.1714],[6.1773,222.0996],[6.1629,222.0134],[.4173,135.9304],[1.9973,118.708],[10.6157,106.4699],[18.128,99.5465],[38.0508,78.8768],[91.1255,8.5941],[103.5359,.3205],[130.3534,8.0914],[163.8644,18.3616],[173.6031,20.8322],[203.3795,37.9827],[234.3194,84.0335],[234.4487,84.2346],[234.5062,84.4644],[234.7073,86.7626],[234.1902,88.2134],[233.9029,88.5438],[233.5294,90.8851],[231.4753,95.3379],[221.751,101.7873],[222.2537,117.3865],[221.2195,125.8756],[218.7345,131.377],[217.2981,167.4879],[217.2981,167.8326],[217.097,168.1342],[211.9691,174.5549],[204.4567,178.7635],[195.3643,176.9106],[188.0674,168.6226],[188.0675,168.5509],[188.0675,168.5509]],i:[[0,0],[2.2551,-7.0383],[1.9391,-3.1888],[2.8871,-.7182],[3.6341,1.7237],[-.3447,-7.8571],[-1.2863,-12.8634],[-.9911,-5.0992],[6.4443,-17.2752],[14.9528,-1.4795],[17.0643,5.3721],[11.4337,8.4604],[-.8291,22.7325],[.6464,10.7729],[2.1402,13.6026],[0,0],[0,0],[2.8728,30.983],[-1.8673,4.7257],[-3.7059,3.7059],[-2.6861,2.3844],[-6.9234,9.1498],[-11.0459,14.6512],[-6.5356,1.106],[-11.3475,-7.2538],[-10.0547,-2.4706],[-3.117,-.8475],[-7.1245,-9.7675],[-5.7456,-9.1067],[0,0],[0,0],[.0862,-.8331],[.3447,-.4884],[.1005,-.1005],[.2298,-.8187],[1.0198,-1.5226],[4.7257,-.9624],[.2442,-5.4727],[.5889,-2.485],[1.2209,-1.3502],[.4596,-8.6327],[0,0],[0,0],[2.1259,-1.9535],[2.8441,-.632],[3.0882,2.0397],[2.3413,3.9357],[0,0],[0,0]],o:[[-.9911099999999919,6.2770399999999995],[-1.4076599999999928,4.381],[-1.8960399999999993,3.1313399999999945],[-3.318070000000006,0],[1.2496600000000058,5.6737500000000125],[.3878300000000081,9.106729999999999],[.718199999999996,7.181959999999975],[2.3550500000000056,49.55554999999998],[-4.768820000000005,12.783889999999985],[-14.967209999999994,1.4794800000000237],[-17.07871,-5.372110000000021],[-17.33973,-13.836149999999975],[.3447300000000002,-9.437099999999987],[-1.2927499999999998,-21.53152],[0,0],[0,0],[-.7182000000000004,-15.785950000000014],[-.91929,-6.995229999999992],[1.8673099999999998,-4.711370000000002],[2.29823,-2.2982300000000038],[6.075939999999999,-5.386470000000003],[16.05887,-21.215519999999998],[1.7811300000000045,-3.3467900000000004],[6.593040000000002,-1.12039],[12.252430000000004,5.041740000000001],[3.3755199999999945,.8331100000000013],[12.35297,3.3324299999999987],[10.945310000000006,14.981580000000001],[0,0],[0,0],[.14364000000000487,.5601900000000057],[-.04309000000000651,.41655000000000086],[-.08618000000001302,.11490999999999474],[0,.718199999999996],[-.3591000000000122,1.3645700000000005],[-1.881670000000014,2.8009700000000066],[.41655000000000086,4.222989999999996],[-.1292799999999943,3.0451500000000067],[-.5027399999999886,2.1402200000000136],[-.04309000000000651,8.43162000000001],[0,0],[0,0],[-1.2496600000000058,2.1402199999999993],[-2.1115000000000066,1.9391300000000058],[-2.901510000000002,.6320100000000082],[-2.4993200000000115,-1.6662200000000098],[0,0],[0,0],[0,0]]}}},{ty:"gf",o:{a:0,k:70,ix:2},r:1,bm:0,g:{p:2,k:{a:0,k:[0,1,1,1,1,1,1,1,0,1,1,0],ix:2}},s:{a:0,k:[110.61813155076297,105.69286889380979],ix:2},e:{a:0,k:[87.89373432569602,243.42031415232572],ix:2},t:1},{ty:"tr",p:{a:0,k:[222.04949951171875,161.7769775390625],ix:2},a:{a:0,k:[117.36671492709874,194.41398531023546],ix:2},s:{a:0,k:[99.99000123251479,99.99999834779308],ix:2},r:{a:0,k:78.5786998151348,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",it:[{ty:"gr",nm:"shadow1",it:[{ty:"gr",nm:"Path",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[216.8521,199.0897],[216.8521,199.0897],[216.8525,199.09],[231.4113,199.09],[228.4113,209.4738],[230.8863,219.4302],[237.463,224.9302],[245.463,228.4302],[280.1462,221.9302],[287.8826,222.9011],[297.6232,221.2327],[308.9629,219.4302],[320.6714,227.1602],[325.5675,228.3508],[328.3874,228.4823],[329.9512,228.7151],[372.4993,186.8739],[382.594,156.0335],[383.0697,145.6026],[387.4836,109.3508],[390.7656,80.431],[379.898,68.4566],[298.3635,28.6061],[273.4961,12.488],[264.9628,6.4303],[250.4628,.4304],[232.449,2.4304],[148.0087,25.1431],[147.9251,25.1752],[147.853,25.1898],[91.8014,44.0838],[60.926,50.9314],[13.5251,74.1047],[.9628,124.1705],[4.3916,176.5998],[36.9022,211.6451],[114.9038,207.471],[148.6873,196.2854],[175.3074,186.6856],[193.3389,180.9735],[194.3389,190.7912],[202.0916,196.3632],[216.8521,199.0897]],i:[[0,0],[0,0],[0,0],[0,0],[0,-3.0435500000000104],[-1.2325600000000065,-2.8300800000000095],[-2.38288,-1.7593099999999993],[-2.4073600000000113,-.8397799999999904],[-8.466020000000015,1.664749999999998],[-2.253499999999974,-.0782299999999907],[-3.0855999999999995,.48619999999999663],[-4.156349999999975,1.2817699999999945],[-3.201279999999997,-1.3500799999999913],[-1.4447400000000243,-.0891900000000021],[-.8239100000000121,-.3993199999999888],[-.4273200000000088,.04060000000001196],[-9.000839999999982,9.989390000000014],[-.8029700000000162,13.271260000000012],[-.14157000000000153,3.6107199999999864],[-2.5407500000000027,13.515640000000005],[2.483569999999986,6.494799999999998],[3.7288800000000037,1.1367800000000017],[24.619770000000017,12.067739999999997],[6.662500000000023,5.101770000000002],[2.782069999999976,1.8768199999999995],[5.1174000000000035,.94772],[6.837619999999987,-2.35698],[15.709660000000014,-3.9360099999999996],[0,0],[0,0],[21.362949999999998,-5.687890000000003],[9.550939999999997,-1.563769999999998],[10.327140000000002,-20.487409999999997],[1.87845,-18.503500000000003],[-4.56929,-14.96011999999999],[-13.82424,-2.2677500000000066],[-49.295339999999996,12.45845],[-7.06662,2.189840000000004],[-9.06817000000001,2.243629999999996],[-5.442080000000004,2.425620000000009],[-.6834900000000061,-3.3830600000000004],[-3.536110000000008,-1.2976700000000108],[-4.690850000000012,-.5461200000000019]],o:[[0,0],[0,0],[6.7941,.7853],[-3.4713,3.1859],[-.9483,3.4564],[1.2207,2.7715],[2.4003,1.771],[7.8855,3.2926],[1.6078,.9708],[2.6175,.0961],[5.5478,-.8617],[1.9402,4.623],[1.7396,.7308],[.9364,.0734],[.5616,.2524],[14.7732,-1.4037],[8.3442,-9.2464],[.2093,-3.35],[.4106,-10.7531],[4.9492,-13.0419],[-2.4573,-6.4391],[-16.993,-8.2888],[-10.6175,-5.2021],[-2.9485,-2.2547],[-4.4861,-3.0264],[-5.1318,-.9448],[-30.5318,9.217],[0,0],[0,0],[-13.2235,4.9428],[-10.6887,2.8454],[-23.0065,3.7682],[-6.1435,13.3747],[-1.8814,18.4889],[4.5663,14.9455],[18.6811,3.0645],[4.9182,-2.0454],[12.6568,-3.9222],[7.8217,-1.9461],[-.9829,4.0551],[1.3162,2.7979],[3.6027,1.3299],[0,0]]}}},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"Path",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[237.6351,196.3368],[215.8585,195.754],[203.422,193.1669],[196.8523,187.8259],[196.6886,176.1357],[175.3814,182.9763],[149.3945,192.285],[116.4175,203.1392],[40.3385,207.3725],[8.732,173.7522],[5.5348,123.3285],[17.9256,75.1336],[64.2159,52.71],[94.3448,46.0368],[149.0565,28.6673],[149.1269,28.6531],[149.2085,28.622],[232.4489,5.9431],[249.6431,4.0813],[263.3455,10.1055],[271.6195,16.098],[295.8252,31.533],[375.2265,69.6384],[385.7939,80.1646],[383.4876,107.9898],[380.057,142.871],[379.5639,152.9061],[368.6497,185.4892],[327.0398,225.8564],[325.5154,225.6369],[322.7658,225.5183],[317.9944,224.3867],[309.747,216.1321],[294.5563,219.714],[286.0305,220.3814],[280.146,219.0351],[243.7924,224.7091],[236.4834,220.9543],[230.8704,214.4242],[230.8861,205.145],[237.565,196.3514],[237.6351,196.3368],[237.6351,196.3368]],i:[[0,0],[7.3455,.8167],[3.5096,1.2692],[1.2757,2.6877],[-.9699,3.9034],[7.6332,-1.8939],[12.3539,-3.8082],[4.8019,-1.9813],[18.2093,2.8956],[4.4113,14.3637],[-1.8864,17.7902],[-6.0286,12.8827],[-22.4465,3.689],[-10.4316,2.767],[-12.9094,4.7916],[0,0],[0,0],[-29.8005,8.9515],[-5.0019,-.8945],[-4.3664,-2.8986],[-2.8691,-2.1607],[-10.3397,-4.9743],[-16.5485,-7.9257],[-2.3784,-6.1871],[4.863,-12.5593],[.4305,-10.3449],[.2134,-3.2231],[8.1632,-8.9177],[14.4107,-1.3916],[.547,.2412],[.913,.068],[1.6944,.6981],[1.8792,4.4416],[5.4126,-.8444],[2.5524,.0852],[1.5652,.9294],[7.6808,3.1452],[2.3358,1.6969],[1.1827,2.6626],[-1.3877,3.431],[-3.3941,3.0743],[0,0],[0,0]],o:[[-6.348989999999986,.271569999999997],[-4.5730000000000075,-.5122100000000103],[-3.4447999999999865,-1.2383900000000096],[-.6570800000000077,-3.252350000000007],[-5.313909999999993,2.348489999999998],[-8.84957,2.18356],[-6.897500000000008,2.1262299999999925],[-48.10776,12.121960000000001],[-13.475090000000002,-2.142770000000013],[-4.41416,-14.37781000000001],[1.8836000000000004,-17.804320000000004],[10.128330000000002,-19.73632],[9.318470000000005,-1.530929999999998],[20.849100000000007,-5.53107],[0,0],[0,0],[15.331099999999992,-3.8300899999999984],[6.674650000000014,-2.28636],[4.987850000000009,.8973300000000002],[2.7078300000000013,1.7975899999999996],[6.48302000000001,4.888919999999999],[23.975520000000017,11.53949],[3.633230000000026,1.0830799999999954],[2.4038300000000277,6.240600000000001],[-2.5155300000000125,13.008200000000002],[-.1481499999999869,3.473649999999992],[-.8201599999999871,12.768259999999998],[-8.805560000000014,9.634250000000009],[-.4168399999999792,.04024999999998613],[-.8023600000000215,-.38181000000000154],[-1.4086599999999976,-.08176000000000272],[-3.1181199999999762,-1.2897299999999916],[-4.0568700000000035,1.244589999999988],[-3.0104499999999916,.476319999999987],[-2.197400000000016,-.06895000000000095],[-8.260730000000024,1.6250400000000127],[-2.345310000000012,-.8010800000000131],[-2.318870000000004,-1.6856699999999876],[-1.1940899999999885,-2.7188899999999876],[1.1382700000000057,-2.7797899999999913],[0,0],[0,0],[0,0]]}}},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gf",o:{a:0,k:5,ix:2},r:1,bm:0,g:{p:2,k:{a:0,k:[0,0,0,0,1,0,0,0,0,1,1,0],ix:2}},s:{a:0,k:[251.96262303919957,111.93019483910871],ix:2},e:{a:0,k:[140.46263049511865,119.93019291060038],ix:2},t:1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"tr",p:{a:0,k:[218.78138732910156,144.27943420410156],ix:2},a:{a:0,k:[196.06307449529413,114.60393890310661],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",it:[{ty:"gr",nm:"shadow2 (Stroke)",it:[{ty:"gr",nm:"Path",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[170.864,25.3633],[171.9907,25.6411],[180.6028,27.8339],[210.3792,44.9844],[241.3191,91.0352],[241.4484,91.2363],[241.5059,91.4661],[241.707,93.7643],[241.1899,95.2151],[240.9026,95.5455],[240.5291,97.8868],[238.475,102.3396],[228.7507,108.789],[229.2534,124.3882],[228.2192,132.8773],[225.7342,138.3787],[224.2978,174.4896],[224.2978,174.8343],[224.0967,175.1359],[218.9688,181.5566],[211.4564,185.7652],[202.364,183.9123],[200.8931,182.8076],[195.0671,175.6243],[195.0671,175.5525],[195.0558,175.6243],[195.0546,175.6318],[193.2727,185.0979],[190.1835,196.7824],[185.1849,208.4603],[178.6487,213.8422],[174.66,213.6313],[167.1575,211.6877],[168.4577,219.5823],[169.6431,233.9276],[171.3765,246.5988],[173.6213,261.2432],[177.73,295.7167],[169.3514,364.6563],[166.8134,371.1273],[127.5999,395.45],[77.5416,388.5984],[32.7549,366.9089],[19.493,326.0763],[19.9423,317.0948],[19.3677,286.2411],[13.1768,229.1732],[13.1768,229.1014],[13.1624,229.0152],[7.4168,142.9322],[8.9968,125.7099],[17.6152,113.4718],[25.025,106.6394],[25.154,106.5249],[45.0503,85.8787],[98.125,15.596],[110.5354,7.3224],[137.3528,15.0933],[170.8638,25.3635],[170.864,25.3633],[170.864,25.3633]],i:[[0,0],[-.3739,-.0922],[-2.7687,-.7528],[-7.1245,-9.7675],[-5.7456,-9.1067],[0,0],[0,0],[.0862,-.8331],[.3447,-.4884],[.1006,-.1005],[.2298,-.8187],[1.0198,-1.5226],[4.7257,-.9624],[.2442,-5.4727],[.5889,-2.485],[1.2209,-1.3502],[.4596,-8.6327],[0,0],[0,0],[2.1259,-1.9535],[2.8441,-.632],[3.0883,2.0397],[.4883,.4089],[1.8803,3.1608],[0,0],[.0038,-.024],[4e-4,-.0025],[.7288,-3.3364],[1.2086,-3.7722],[1.9391,-3.1888],[2.8871,-.7182],[1.4225,.1543],[2.3166,1.0988],[-.3699,-2.9449],[-.2087,-4.757],[-.8197,-4.2579],[-.6211,-6.2109],[-.9911,-5.0992],[5.5417,-13.7658],[.8466,-2.2695],[14.9528,-1.4795],[17.0643,5.3721],[11.4337,8.4604],[-1.0021,17.4555],[-.1156,3.1691],[.6464,10.7729],[2.1402,13.6026],[0,0],[0,0],[2.8728,30.983],[-1.8673,4.7257],[-3.7059,3.7059],[-2.6478,2.3505],[0,0],[-6.9134,9.1365],[-11.0459,14.6512],[-6.5356,1.106],[-11.3475,-7.2538],[-10.0548,-2.4706],[0,0],[0,0]],o:[[.37718000000000984,.09309000000000012],[2.9726699999999937,.7325799999999987],[12.35297,3.3324299999999987],[10.945310000000006,14.981580000000001],[0,0],[0,0],[.14365000000000805,.5601999999999947],[-.04309000000000651,.41655000000000086],[-.08618000000001302,.11490999999999474],[0,.718190000000007],[-.3591000000000122,1.3645700000000005],[-1.881670000000014,2.8009600000000034],[.41655000000000086,4.222999999999999],[-.12926999999999111,3.0451500000000067],[-.5027499999999918,2.1402300000000025],[-.04309000000000651,8.431630000000013],[0,0],[0,0],[-1.2496600000000058,2.1402300000000025],[-2.1115000000000066,1.9391300000000058],[-2.9014999999999986,.632000000000005],[-.49214000000000624,-.3280900000000031],[-1.9913200000000018,-1.667820000000006],[0,0],[-.0037700000000029377,.023910000000000764],[-.0004000000000132786,.002489999999994552],[-.45826999999999884,2.892809999999997],[-.8493799999999965,3.8885500000000093],[-1.407669999999996,4.381],[-1.8960399999999993,3.1313299999999913],[-1.2028500000000122,0],[-2.501419999999996,-.2713799999999935],[.49306000000001404,2.238599999999991],[.5676300000000083,4.5189200000000085],[.20055999999999585,4.7096699999999885],[.7653500000000122,3.9752300000000105],[.718199999999996,7.181960000000004],[2.045649999999995,43.045169999999985],[-.838150000000013,2.0819999999999936],[-4.768810000000002,12.783869999999979],[-14.967209999999994,1.4794600000000173],[-17.078699999999998,-5.372130000000027],[-14.92241,-11.907260000000008],[.16233000000000075,-2.827670000000012],[.3447299999999984,-9.437099999999987],[-1.2927500000000016,-21.53152],[0,0],[0,0],[-.7181999999999995,-15.785950000000014],[-.9192900000000002,-6.9952399999999955],[1.8673099999999998,-4.711370000000002],[2.2689500000000002,-2.268950000000004],[0,0],[6.069579999999998,-5.38082],[16.05887,-21.215519999999998],[1.7811200000000014,-3.3467900000000004],[6.593040000000002,-1.1203900000000004],[12.252430000000004,5.041740000000001],[0,0],[0,0],[0,0]]}}},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"Path",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!1,v:[[140.5771,8.849],[172.5343,18.5655],[172.5413,18.5672],[173.6662,18.8445],[182.432,21.0771],[216.033,40.8571]],i:[[0,0],[-9.91,-2.435],[0,0],[-.3749,-.0924],[-2.8528,-.7755],[-8.6246,-11.8225]],o:[[11.493740000000003,4.674530000000001],[0,0],[.37490999999999985,.09253],[2.9589400000000126,.7291300000000014],[12.60918000000001,3.40193],[0,0]]}}},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"Path",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!1,v:[[140.5771,8.849],[109.3675,.4204],[92.2424,11.7708],[39.469,81.6539],[39.4683,81.6549],[20.484,101.3104],[20.3031,101.471],[12.6656,108.5221],[2.4895,123.1307],[2.4868,123.1375],[.4588,143.7075],[6.1698,229.3335],[6.1769,229.4902],[6.1769,229.7206],[6.262,230.2613],[12.3804,286.6607],[12.947,316.8394],[12.555,324.7951],[12.5046,325.6747],[12.1621,332.2339],[12.6073,346.3395],[28.3889,372.3806],[28.4886,372.4602],[28.5912,372.5361],[75.4396,395.2755],[128.2885,402.4162],[154.5633,393.5683],[173.372,373.5741],[175.6948,367.6614],[182.4203,346.9742],[184.7221,295.3846],[184.6981,294.8786],[184.6015,294.3814],[180.5866,260.547],[178.2556,245.3032],[178.1693,244.8548],[176.6368,233.6301],[176.6364,233.6211],[175.6445,220.7433],[178.6486,220.8426],[179.5062,220.8426],[180.3384,220.6356],[186.7722,217.4321],[191.1707,212.0898],[196.848,198.9242],[196.8498,198.9187],[199.2713,190.2366],[212.9464,192.6053],[212.9608,192.6022],[212.9751,192.599],[223.7038,186.7128],[223.7053,186.7114],[230.0302,178.8559],[231.298,176.9543],[231.298,174.676],[232.7082,140.6174],[235.0322,134.4856],[236.2469,124.6942]],i:[[0,0],[8.7007,-1.4771],[2.8764,-5.01],[15.9144,-21.0246],[0,0],[6.0636,-5.3756],[0,0],[2.4179,-2.4179],[2.365,-5.9671],[0,0],[-1.0148,-7.8566],[-.7151,-15.7181],[0,0],[0,0],[0,0],[-1.2768,-21.2653],[.3338,-9.1382],[.1463,-2.5596],[.0168,-.2927],[.0876,-2.1194],[-.664,-4.5937],[-9.98,-7.9635],[0,0],[0,0],[-17.6259,-5.5444],[-16.2485,1.6061],[-8.1157,4.7531],[-3.1946,8.5639],[-.8001,1.9862],[-1.773,8.3923],[1.1912,25.0657],[0,0],[0,0],[.736,7.3598],[.7695,3.9959],[0,0],[.1699,3.9901],[0,0],[.4731,4.2186],[-.8925,0],[0,0],[0,0],[-1.9513,1.6276],[-1.157,1.9103],[-1.4781,4.6002],[0,0],[-.7089,2.9153],[-4.5021,.9807],[0,0],[0,0],[-2.6684,2.4506],[0,0],[-1.5374,2.5945],[0,0],[0,0],[-.1612,9.2938],[-.4164,1.7711],[-.1394,3.2754]],o:[[-12.059699999999992,-7.58133],[-8.452920000000006,1.4304900000000003],[-11.205290000000005,14.862139999999998],[0,0],[-6.465539999999997,8.544719999999998],[0,0],[-2.5918400000000013,2.3006400000000014],[-4.030659999999999,4.0306599999999975],[0,0],[-2.37737,6.016560000000013],[2.85216,30.805109999999985],[0,0],[0,0],[0,0],[2.1126499999999995,13.427400000000006],[.6382100000000008,10.636869999999988],[-.10082000000000058,2.764070000000004],[-.016790000000000305,.29363999999998214],[-.1283600000000007,2.2354399999999828],[-.1973199999999995,4.7749299999999835],[1.408430000000001,9.744169999999997],[0,0],[0,0],[12.202570000000001,9.029299999999978],[17.56792,5.530640000000005],[8.584589999999992,-.8494000000000028],[7.9635000000000105,-4.663970000000006],[.7374399999999923,-1.9768700000000194],[2.4093499999999892,-5.981290000000001],[2.392239999999987,-11.323550000000012],[0,0],[0,0],[-.9130399999999952,-4.697479999999985],[-.6529500000000041,-6.529680000000013],[0,0],[-.7821999999999889,-4.06665000000001],[0,0],[-.18325999999999,-4.176559999999995],[1.0968799999999987,.07327000000000794],[0,0],[0,0],[2.3316800000000057,-.5800199999999904],[1.8595699999999908,-1.5511199999999974],[2.3501599999999883,-3.866970000000009],[0,0],[.9055600000000084,-2.826279999999997],[4.432690000000008,2.6715499999999963],[0,0],[0,0],[4.435750000000013,-.9857199999999864],[0,0],[2.653349999999989,-2.438199999999995],[0,0],[0,0],[.42427000000000703,-7.987850000000009],[1.2318699999999865,-2.1152800000000127],[.7286799999999971,-3.0774700000000053],[0,0]]}}},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"Path",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!1,v:[[236.1353,113.5486],[244.2856,106.2431],[244.2909,106.2351],[247.2837,99.7245],[247.6887,97.9365],[248.6698,94.4845],[248.2928,89.7519],[248.2865,89.7274],[247.9598,88.4205],[247.2232,87.2745],[216.0346,40.8593]],i:[[0,0],[-1.8438,2.7446],[0,0],[-.5647,2.1191],[-.1111,.6456],[-.0885,.8558],[.2626,1.0326],[.0021,.0081],[0,0],[0,0],[11.0771,15.1625]],o:[[3.62478999999999,-1.8818899999999985],[0,0],[1.4298900000000003,-2.134749999999997],[.15003999999998996,-.5400900000000064],[.6570900000000108,-1.338949999999997],[.19926000000000954,-1.9261400000000037],[-.002090000000009695,-.008219999999994343],[0,0],[0,0],[-5.780270000000002,-9.160610000000005],[0,0]]}}},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"Path",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!1,v:[[216.033,40.8571],[140.5771,8.8489],[236.2467,124.6937]],i:[[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0]]}}},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"Path",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!1,v:[[236.1353,113.5486],[216.0346,40.8593]],i:[[0,0],[0,0]],o:[[0,0],[0,0]]}}},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gf",o:{a:0,k:3,ix:2},r:1,bm:0,g:{p:2,k:{a:0,k:[0,0,0,0,1,0,0,0,0,1,1,0],ix:2}},s:{a:0,k:[112.62712797672008,157.5954380989796],ix:2},e:{a:0,k:[100.7894760305023,243.96163310610265],ix:2},t:1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"tr",p:{a:0,k:[222.04995727539062,161.77601623535156],ix:2},a:{a:0,k:[124.366420477264,201.41493263691518],ix:2},s:{a:0,k:[99.99000123251479,99.99999834779308],ix:2},r:{a:0,k:78.5786998151348,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"tr",p:{a:0,k:[-54.6809,-123.6055],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"tr",p:{a:1,k:[{t:50,s:[127.5001,434.5],i:{x:[.15],y:[1]},o:{x:[.5],y:[.35]}},{t:146,s:[127.5,244.5],i:{x:[.15],y:[1]},o:{x:[.5],y:[.35]}},{t:229,s:[127.5,244.5],i:{x:[.15],y:[1]},o:{x:[.5],y:[.35]}},{t:300,s:[127.5001,434.5],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}}],ix:2},a:{a:0,k:[228.5,146.5],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:301,st:0,bm:0}]}],layers$2=[{ddd:0,ind:45,ty:3,nm:"",sr:1,ks:{p:{a:0,k:[-8.401504516601562,4.652092933654785],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:301,st:0,bm:0},{ddd:0,refId:"2",w:401,h:396,ind:4,ty:0,nm:"mask (Masked)",sr:1,ks:{p:{a:0,k:[8,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:301,st:0,bm:0,parent:45},{ddd:0,ind:46,ty:4,nm:"fra ",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"gr",it:[{ty:"gr",nm:"fra ",it:[{ty:"gr",nm:"Path",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[16,0],[16,0],[16,0],[0,16],[0,175],[16,191],[236,191],[252,175],[252,16],[236,0],[16,0]],i:[[0,0],[0,0],[0,0],[0,-8.83655],[0,0],[-8.83655,0],[0,0],[0,8.836549999999988],[0,0],[8.836549999999988,0],[0,0]],o:[[0,0],[0,0],[-8.8366,0],[0,0],[0,8.8366],[0,0],[8.8366,0],[0,0],[0,-8.8366],[0,0],[0,0]]}}},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"Path",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[16,3],[16,3],[236,3],[249,16],[249,175],[236,188],[16,188],[3,175],[3,16],[16,3]],i:[[0,0],[0,0],[0,0],[0,-7.1797],[0,0],[7.179699999999997,0],[0,0],[0,7.179699999999997],[0,0],[-7.1797,0]],o:[[0,0],[0,0],[7.1797,0],[0,0],[0,7.1797],[0,0],[-7.1797,0],[0,0],[0,-7.1797],[0,0]]}}},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"fl",c:{a:0,k:[1,1,1],ix:2},o:{a:0,k:50,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"tr",p:{a:0,k:[201.59849548339844,221.152099609375],ix:2},a:{a:0,k:[126,95.5],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:301,st:0,bm:0},{ddd:0,ind:47,ty:4,nm:"frashadow",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"gr",it:[{ty:"gr",nm:"frashadow",it:[{ty:"gr",nm:"Path",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[19,0],[19,0],[19,0],[0,19],[0,178],[19,197],[239,197],[258,178],[258,19],[239,0],[19,0]],i:[[0,0],[0,0],[0,0],[0,-10.49341],[0,0],[-10.49341,0],[0,0],[0,10.493390000000005],[0,0],[10.493410000000011,0],[0,0]],o:[[0,0],[0,0],[-10.4934,0],[0,0],[0,10.4934],[0,0],[10.4934,0],[0,0],[0,-10.4934],[0,0],[0,0]]}}},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"gr",nm:"Path",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[239,3],[239,3],[239,3],[255,19],[255,178],[239,194],[19,194],[3,178],[3,19],[19,3],[239,3]],i:[[0,0],[0,0],[0,0],[0,-8.83656],[0,0],[8.836559999999992,0],[0,0],[0,8.836559999999992],[0,0],[-8.83656,0],[0,0]],o:[[0,0],[0,0],[8.8365,0],[0,0],[0,8.8365],[0,0],[-8.8365,0],[0,0],[0,-8.8366],[0,0],[0,0]]}}},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"fl",c:{a:0,k:[0,0,0],ix:2},o:{a:0,k:2,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]},{ty:"tr",p:{a:0,k:[201.59849548339844,221.152099609375],ix:2},a:{a:0,k:[129,98.5],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:301,st:0,bm:0},{ddd:0,refId:"11",w:421,h:433,ind:48,ty:0,nm:"hand1",sr:1,ks:{p:{a:0,k:[-8.401504516601562,4.652092933654785],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:1,k:[{t:50,s:[0],i:{x:[.15],y:[1]},o:{x:[.5],y:[.35]}},{t:146,s:[100],i:{x:[.15],y:[1]},o:{x:[.5],y:[.35]}},{t:229,s:[100],i:{x:[.15],y:[1]},o:{x:[.5],y:[.35]}},{t:300,s:[0],i:{x:[.75],y:[.75]},o:{x:[.25],y:[.25]}}],ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,ip:0,op:301,st:0,bm:0},{ddd:0,ind:49,ty:4,nm:"bg",sr:1,ks:{p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}},ao:0,shapes:[{ty:"gr",nm:"bg",it:[{ty:"sh",d:1,ks:{a:0,k:{c:!0,v:[[297,148.5],[148.5,297],[0,148.5],[148.5,0],[297,148.5],[297,148.5],[297,148.5]],i:[[0,0],[82.0165,0],[0,82.0166],[-82.0165,0],[0,-82.0165],[0,0],[0,0]],o:[[0,82.01659999999998],[-82.0165,0],[0,-82.0165],[82.01650000000001,0],[0,0],[0,0],[0,0]]}}},{ty:"fl",c:{a:0,k:[0,.47843137254901963,1],ix:2},o:{a:0,k:7.000000000000001,ix:2},r:1,bm:0},{ty:"tr",p:{a:0,k:[202.09849548339844,221.152099609375],ix:2},a:{a:0,k:[148.5,148.5],ix:2},s:{a:0,k:[100,100],ix:2},r:{a:0,k:0,ix:2},o:{a:0,k:100,ix:2},sk:{a:0,k:0,ix:2},sa:{a:0,k:0,ix:2}}]}],ip:0,op:301,st:0,bm:0}],markers$2=[],tutorialAnimationJson={v:v$2,fr:fr$2,ip:ip$2,op:op$2,w:w$2,h:h$3,nm:nm$2,ddd:ddd$2,metadata:metadata$2,assets:assets$2,layers:layers$2,markers:markers$2},PassportTutorial=({onContinue:Be})=>{const{t:Le}=useTranslation$1(),{uiConfig:Ye}=useCaptureIdState();return jsxRuntimeExports.jsx(BaseTutorial,{title:Le("idv2.capture.passport.title"),subtitle:Le("idv2.capture.passport.subtitle"),animationData:tutorialAnimationJson,onContinue:Be,uiConfig:Ye,onClose:()=>idFlowManager.onClose()})},IdFlow=({initialMode:Be})=>{const{completeWithError:Le,captureConfiguration:Ye,uiConfig:tt,isDeepsightEnabled:nt}=useCaptureIdState(),ft=()=>Ye.usSmartCapture&&Be==="front"||Ye.onlyBack?"back":Be,[ht,gt]=React.useState(Ye.showTutorial?"tutorial":idFlowManager.getPermissionsGranted()?"capture":"permissions"),At=()=>{idFlowManager.getPermissionsGranted()?gt("capture"):gt("permissions")},xt=()=>{gt("capture")};if(ht==="tutorial")return Be==="passport"?jsxRuntimeExports.jsx(PassportTutorial,{onContinue:At}):jsxRuntimeExports.jsx(IdTutorial,{onContinue:At});if(ht==="permissions")if(idFlowManager.getPermissionsGranted())xt();else return jsxRuntimeExports.jsx(Permissions,{onContinue:xt,uiConfig:tt,onClose:()=>idFlowManager.onClose(),emitError:yt=>Le({code:yt,message:"Error in permissions",error:new Error(yt)}),isDeepsightEnabled:nt});return ht==="capture"?jsxRuntimeExports.jsx(IdCaptureManager,{initialMode:ft(),isDeepsightEnabled:nt}):null},ManualIdUploadWrapper=()=>{const{token:Be,completeFlow:Le}=useCaptureIdState();return Be?jsxRuntimeExports.jsx(CaptureManualId,{token:{token:Be},onSuccess:()=>{Le()}}):null},EndComponent=()=>null,IdFrontScanner=()=>jsxRuntimeExports.jsx(IdFlow,{initialMode:"front"}),IdPassportScanner=()=>jsxRuntimeExports.jsx(IdFlow,{initialMode:"passport"}),steps$2={chooser:{component:Chooser},id:{component:IdFrontScanner},passport:{component:IdPassportScanner},manualIdUpload:{component:ManualIdUploadWrapper},digitalIdUpload:{component:DigitalIdFlow},permissions:{component:Permissions},end:{component:EndComponent}},IdCaptureV2Manager=({session:Be,onSuccess:Le,onError:Ye,kioskOptions:tt,captureConfig:nt,uiConfig:ft,parentSize:ht,onCapture:gt,captureOnly:At,captureMode:xt})=>{var wt;const[yt,Ct]=React.useState(idFlowManager.getState().currentStep),Et=React.useRef(Le),vt=React.useRef(Ye);React.useEffect(()=>{Et.current=Le},[Le]),React.useEffect(()=>{vt.current=Ye},[Ye]),useModuleEvents({module:eventModuleNames.front,token:Be==null?void 0:Be.token,payload:{moduleVersion:"2"}});const kt=React.useRef({sessionToken:Be==null?void 0:Be.token,captureConfig:nt,kioskOptions:tt,parentSize:ht,uiConfig:ft,onCapture:gt,captureOnly:At,captureMode:xt});React.useEffect(()=>{kt.current={sessionToken:Be==null?void 0:Be.token,captureConfig:nt,kioskOptions:tt,parentSize:ht,uiConfig:ft,onCapture:gt,captureOnly:At,captureMode:xt}},[Be==null?void 0:Be.token,nt,tt,ht,ft,gt,At,xt]),React.useEffect(()=>{const It=idFlowManager.subscribe(Rt=>{Ct(Rt.currentStep),Rt.flowOutcome==="success"?Et.current(Rt.successData):Rt.flowOutcome==="error"&&Rt.errorDetails&&vt.current(Rt.errorDetails)});return idFlowManager.initialize(kt.current),()=>{It(),idFlowManager.reset()}},[]);const bt=yt&&((wt=steps$2[yt])!=null&&wt.component)?steps$2[yt].component:null;return bt?jsxRuntimeExports.jsx(IncodeProvider,{token:Be==null?void 0:Be.token,uiConfig:ft,children:jsxRuntimeExports.jsx(bt,{})}):null},defaultUiConfig={closeButton:{show:!1}},CaptureIdInside=({onSuccess:Be,onError:Le,session:Ye,forceIdV2:tt,kioskOptions:nt,captureConfig:ft,uiConfig:ht=defaultUiConfig,parentSize:gt,onCapture:At,captureOnly:xt=!1,captureMode:yt="both"})=>{const{width:Ct,height:Et}=gt||useViewportSize(),vt=getFeatureFlag("new_id_capture_ux_least_risky_clients");return tt||vt?jsxRuntimeExports.jsx(ContentWrapper$2,{height:Et,width:Ct,children:jsxRuntimeExports.jsx(IdCaptureV2Manager,{session:Ye,onSuccess:Be,onError:Le,kioskOptions:nt,captureConfig:ft,uiConfig:ht,parentSize:{width:Ct,height:Et},onCapture:At,captureOnly:xt,captureMode:yt})}):jsxRuntimeExports.jsx(CaptureId$2,{session:Ye,onSuccess:Be,onError:Le,kioskOptions:nt,captureConfig:ft,uiConfig:ht,onCapture:At,captureOnly:xt})},CaptureId=Be=>{var Le;return jsxRuntimeExports.jsx(IncodeProvider,{token:(Le=Be.session)==null?void 0:Le.token,uiConfig:Be.uiConfig,children:jsxRuntimeExports.jsx(CaptureIdInside,{...Be})})};function renderCaptureId(Be,{onSuccess:Le,onError:Ye,onCapture:tt,...nt}){const ft=createRoot$1(Be);return customRender(jsxRuntimeExports.jsx(CaptureId,{onSuccess:handleUnmountRoot(Le,ft,Be),onError:handleUnmountRoot(Ye,ft,Be),onCapture:tt?handleUnmountRoot(tt,ft,Be):void 0,...nt}),Be,ft),{close:handleUnmountRoot(emptyFunc,ft,Be)}}function addPhone({token:Be,phone:Le,text:Ye,optInGranted:tt}){return exports.api.post("/omni/add/phone",{phone:Le,text:Ye,optInGranted:tt},{headers:{"X-Incode-Hardware-Id":Be}}).catch(nt=>Promise.reject(nt.response.data))}async function addPhoneInstantVerify({token:Be,phone:Le,text:Ye,optInGranted:tt}){return exports.api.post("/omni/instant/add/phone",{phone:Le,text:Ye,optInGranted:tt},{headers:{"X-Incode-Hardware-Id":Be}}).catch(nt=>Promise.reject(nt.response.data))}const getPhoneUrl="/omni/get/phone";function getPhone(Be){return exports.api.get(getPhoneUrl,{headers:{"X-Incode-Hardware-Id":Be.token}}).then(Le=>Le.data).catch(Le=>Promise.reject(Le.response.data))}const getStartInfoUrl=()=>"/omni/start-info",getStartInfo=({token:Be})=>exports.api.get(getStartInfoUrl(),{headers:{"X-Incode-Hardware-Id":Be}}).then(Le=>Le.data).catch(Le=>Promise.reject(Le.response.data));function compareGovValidationOTP({token:Be,code:Le}){return exports.api.post(`/omni/submit-otp?code=${Le}`,{},{headers:{"X-Incode-Hardware-Id":Be}}).then(Ye=>Ye.data).catch(Ye=>Promise.reject(Ye.response.data))}function compareOTP({token:Be,code:Le,channel:Ye="SMS"}){return exports.api.get(`/omni/compare/otp?code=${Le}&channel=${Ye}`,{headers:{"X-Incode-Hardware-Id":Be}}).then(tt=>tt.data).catch(tt=>Promise.reject(tt.response.data))}function sendOTPSMS({token:Be,communicationChannel:Le="SMS"}){return exports.api.get(`/omni/send/sms-otp?communicationchannel=${Le}`,{headers:{"X-Incode-Hardware-Id":Be}}).then(Ye=>Ye.data).catch(Ye=>Promise.reject(Ye.response.data))}const TIMER_VALUE$1=30;function SMSOTP$1({token:{token:Be},onError:Le,onLog:Ye=()=>{},onSuccess:tt,goBack:nt,numberOfTries:ft,isIndianGovernmentValidation:ht=!1,isEmail:gt=!1}){const[At,xt]=React.useState(""),[yt,Ct]=React.useState(0),[Et,vt]=React.useState(!1),{state:kt,actions:{off:bt,on:wt}}=useToggle(!1),{t:It}=useTranslation$1(),Rt=gt?"EMAIL":"PHONE",[Tt,Bt]=React.useState(TIMER_VALUE$1),[Pt,Dt]=React.useState(!0);React.useEffect(()=>{let Ft;return Pt&&(Ft=setInterval(()=>{Tt>0?Bt(Xt=>Xt-1):(Dt(!1),clearInterval(Ft))},1e3)),()=>{clearInterval(Ft)}},[Tt,Pt]),useScreenEvents({module:eventModuleNames.otp,screen:eventScreenNames.smsOtp,token:Be});const Ot=React.useCallback(()=>{Bt(TIMER_VALUE$1),Dt(!0),sendOTPSMS({token:Be,communicationChannel:gt?"EMAIL":"SMS"}),vt(!1),xt("")},[Be,gt]);React.useEffect(()=>{ht||Ot()},[Ot,ht]);function Lt(Ft){Ft!==At&&(xt(Ft),vt(!1))}async function Wt(){vt(!0);const Ft=yt+1;Ct(Xt=>Xt+1),addEvent({code:"wrongOTPEntered",module:Rt,token:Be}),Ye(getLogObject("otpAttemptFailed",{message:"Incorrect OTP"})),ft!==-1&&Ft>=ft&&(Le("OTPError"),Ye(getLogObject("otpNoAttemptsLeft",{message:"No attempts left"})))}async function $t(){try{if(kt)return;wt();const{success:Ft}=ht?await compareGovValidationOTP({token:Be,code:At}):await compareOTP({token:Be,code:At,channel:gt?"EMAIL":"SMS"});Ft?(addEvent({token:Be,code:"otpSubmitted",module:Rt}),addEvent({code:"correctOTPEntered",module:Rt,token:Be}),Ye==null||Ye(getLogObject("otpPassed",{message:"Correct OTP"})),tt()):Wt()}catch{Wt()}finally{bt()}}const qt=()=>{addEvent({code:gt?"changeEmailClicked":"changePhoneClicked",module:Rt,token:Be}),nt()},Ht=()=>{addEvent({code:"tryAgainOTPClicked",module:Rt,token:Be}),Ot()},Ut=useTokens();return jsxRuntimeExports.jsxs(Page$1,{children:[jsxRuntimeExports.jsxs(Flex,{direction:"column",align:"center",hFull:!0,wFull:!0,pt:Ut.spacing[10],children:[jsxRuntimeExports.jsx(Title$p,{children:It(gt?"otp.enterCodeEmail":"otp.enterCodeSMS")}),jsxRuntimeExports.jsx(IndividualCharacterInputBoxes,{amount:6,hasError:Et,onChange:Lt,autoFocus:!0,value:At,disabled:kt})]}),jsxRuntimeExports.jsx(Button$b,{onClick:$t,disabled:!At||At.length<6,isLoading:kt,children:It("common.continue")}),!ht&&jsxRuntimeExports.jsx(Flex,{py:Ut.spacing[4],wFull:!0,align:"center",direction:"column",justify:"center",color:Ut.color.text.body.primary,children:Tt>0?jsxRuntimeExports.jsx(Text$8,{fontSize:Ut.typography.fontSize.lg,textAlign:"center",color:Ut.button.tertiary.disabled,pt:Ut.spacing[4],children:jsxRuntimeExports.jsx(Trans,{t:It,children:It("otp.resendCountdown",{time:Tt})})}):jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment,{children:jsxRuntimeExports.jsxs(Text$8,{textAlign:"center",fontSize:Ut.typography.fontSize.lg,fontWeight:"500",color:kt?Ut.button.tertiary.disabled:Ut.button.tertiary.text.default,children:[It("otp.didYouNotGetIt"),jsxRuntimeExports.jsx(Text$8,{as:"a",color:kt?Ut.button.tertiary.disabled:Ut.button.tertiary.text.default,fontSize:Ut.typography.fontSize.lg,onClick:Ht,children:It("otp.resendCode")}),nt&&jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx("br",{}),` ${It("otp.or")} `,jsxRuntimeExports.jsx(Text$8,{as:"a",color:kt?Ut.button.tertiary.disabled:Ut.button.tertiary.text.default,fontSize:Ut.typography.fontSize.lg,onClick:qt,children:It(gt?"otp.changeEmail":"otp.changePhoneNumber")})]})]})})})]})}const getErrorTranslationKey$2=Be=>Be==="Bad Request"?"phone.invalid":"phone.genericError",usePrefilledPhone=({token:Be,prefill:Le})=>{const[Ye,tt]=React.useState(null);return React.useEffect(()=>{Le&&getPhone({token:Be}).then(nt=>{tt(nt.phone)})},[Le,Be]),Ye},Phone$1=({token:Be,optinEnabled:Le,isInstantVerify:Ye=!1,onSuccess:tt,prefill:nt,otpVerification:ft=!1})=>{const ht=usePrefilledPhone({token:Be,prefill:nt}),{t:gt}=useTranslation$1(),[,At]=React.useState(null),[xt,yt]=React.useState(!1),[Ct,Et]=React.useState(""),[vt,kt]=React.useState(""),[bt,wt]=React.useState(!0),[It,Rt]=React.useState(""),[Tt,Bt]=React.useState(!1),[Pt,Dt]=React.useState(Le),Ot=useTokens(),[Lt,Wt]=React.useState({phoneNumber:"",countryCode:""});useModuleEvents({module:eventModuleNames.phone,token:Be}),useScreenEvents({module:eventModuleNames.phone,screen:Ye?eventScreenNames.instantVerify:eventScreenNames.phoneInput,token:Be}),React.useEffect(()=>{if(ht){const qt=ht.startsWith("+")?ht:`+${ht}`,Ht=parsePhoneNumber(qt);if(Ht!=null&&Ht.isValid()){Wt({phoneNumber:Ht.nationalNumber,countryCode:Ht.country||""}),kt(qt),wt(!1);const Ft=new AsYouType(Ht.country).input(Ht.nationalNumber);Et(Ft)}}},[ht]),React.useEffect(()=>{getStartInfo({token:Be}).then(qt=>{Lt.countryCode?Rt(Lt.countryCode):Rt(qt.ipIsoCode),ht||Et(qt.phonePrefix),Bt(!0)})},[Be,Lt,ht]);const $t=async()=>{if(!xt)try{yt(!0);const qt=Ye?await addPhoneInstantVerify({phone:vt,token:Be,...Le?{optInGranted:Pt}:null}):await addPhone({phone:vt,token:Be,...Le?{optInGranted:Pt}:null});if(addEvent({code:"continue",token:Be,module:eventModuleNames.phone,screen:Ye?eventScreenNames.instantVerify:eventScreenNames.phoneInput}),At(null),tt)return tt(qt.data)}catch(qt){At(gt(getErrorTranslationKey$2(qt.error))),yt(!1)}};return Tt?jsxRuntimeExports.jsxs(Page$1,{children:[jsxRuntimeExports.jsxs(Flex,{hFull:!0,wFull:!0,align:"center",direction:"column",mt:Ot.spacing[4],children:[jsxRuntimeExports.jsx(Title$p,{children:gt("phone.verify")}),ft?jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(Spacer,{size:Ot.spacing[3]}),jsxRuntimeExports.jsx(Subtitle$6,{children:gt("email.willSendCode")})]}):null,jsxRuntimeExports.jsx(Spacer,{size:Ot.spacing[8]}),jsxRuntimeExports.jsx(PhoneInput,{countryISOCode:It,onChange:(qt,Ht)=>{kt(qt),wt(!Ht)},disabled:xt})]}),jsxRuntimeExports.jsx(Button$b,{disabled:bt,isLoading:xt,onClick:$t,mb:Ot.spacing[4],children:gt("common.continue")})]}):null},phoneNumberSteps={PhoneNumber:0,OTP:1};function PhoneNumberOrchestrator({token:Be,prefill:Le,otpVerification:Ye,onSuccess:tt,onError:nt}){const{setStep:ft,currentStep:ht}=useSteps(()=>phoneNumberSteps.PhoneNumber);return jsxRuntimeExports.jsx(IncodeProvider,{token:Be,children:jsxRuntimeExports.jsxs(Steps,{currentStep:ht,children:[jsxRuntimeExports.jsx(Phone$1,{onSuccess:()=>Ye?ft(phoneNumberSteps.OTP):tt(),otpVerification:Ye,token:Be,prefill:Le}),jsxRuntimeExports.jsx(SMSOTP$1,{numberOfTries:3,goBack:()=>ft(phoneNumberSteps.PhoneNumber),onError:nt,onSuccess:tt,isEmail:!1,isIndianGovernmentValidation:!1,token:{token:Be}})]})})}function renderPhone(Be,{onSuccess:Le,onError:Ye,session:tt,optinEnabled:nt,optinCompanyName:ft,otpVerification:ht,onLog:gt=emptyFunc,prefill:At}){const xt=createRoot(Be),yt={onLog:gt,token:tt.token,onSuccess:handleUnmountRoot(Le,xt,Be),onError:handleUnmountRoot(Ye,xt,Be),optinEnabled:nt,optinCompanyName:ft,otpVerification:ht,prefill:At};xt.render(jsxRuntimeExports.jsx(App$1,{token:tt.token,children:jsxRuntimeExports.jsx(PhoneNumberOrchestrator,{...yt})}))}const warrningIcon="data:image/svg+xml,%3csvg%20width='33'%20height='32'%20viewBox='0%200%2033%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_18_21793)'%3e%3cpath%20d='M16.5%2028C23.1274%2028%2028.5%2022.6274%2028.5%2016C28.5%209.37258%2023.1274%204%2016.5%204C9.87258%204%204.5%209.37258%204.5%2016C4.5%2022.6274%209.87258%2028%2016.5%2028Z'%20stroke='%23FF5C6F'%20stroke-width='2'%20stroke-miterlimit='10'/%3e%3cpath%20d='M16.5%2017V10'%20stroke='%23FF5C6F'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M16.5%2023C17.3284%2023%2018%2022.3284%2018%2021.5C18%2020.6716%2017.3284%2020%2016.5%2020C15.6716%2020%2015%2020.6716%2015%2021.5C15%2022.3284%2015.6716%2023%2016.5%2023Z'%20fill='%23FF5C6F'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_18_21793'%3e%3crect%20width='32'%20height='32'%20fill='white'%20transform='translate(0.5)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",ModalIcon=dt.img``,ModalHeader=dt.div`
5528
5528
  display: flex;
5529
5529
  flex-direction: column;
5530
5530
  align-items: center;