@covet-pics/covet-pics-widget 0.175.2 → 0.175.3

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.
@@ -14476,6 +14476,7 @@ const SVGStar = () => {
14476
14476
  const covetGalleryUploadCss = "@charset \"UTF-8\";.uppy-Root{position:relative;box-sizing:border-box;color:#333;font-family:-apple-system, system-ui, BlinkMacSystemFont, \"Segoe UI\", \"Segoe UI Symbol\", \"Segoe UI Emoji\", \"Apple Color Emoji\", Roboto, Helvetica, Arial, sans-serif;line-height:1;text-align:left;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}[dir=rtl] .uppy-Root,.uppy-Root[dir=rtl]{text-align:right}.uppy-Root *,.uppy-Root *::before,.uppy-Root *::after{box-sizing:inherit}.uppy-Root [hidden]{display:none}.uppy-u-reset{all:initial;box-sizing:border-box;-webkit-appearance:none;appearance:none;font-family:-apple-system, system-ui, BlinkMacSystemFont, \"Segoe UI\", \"Segoe UI Symbol\", \"Segoe UI Emoji\", \"Apple Color Emoji\", Roboto, Helvetica, Arial, sans-serif;line-height:1}[dir=rtl] .uppy-u-reset{text-align:right}.uppy-c-textInput{font-family:inherit;font-size:14px;line-height:1.5;padding:6px 8px;background-color:#fff;border:1px solid #ddd;border-radius:4px}.uppy-size--md .uppy-c-textInput{padding:8px 10px}.uppy-c-textInput:focus{border-color:rgba(18, 105, 207, 0.6);outline:none;box-shadow:0 0 0 3px rgba(18, 105, 207, 0.15)}[data-uppy-theme=dark] .uppy-c-textInput{color:#eaeaea;background-color:#333;border-color:#333}[data-uppy-theme=dark] .uppy-c-textInput:focus{border-color:#525252;box-shadow:none}.uppy-c-icon{display:inline-block;max-width:100%;max-height:100%;overflow:hidden;fill:currentColor}.uppy-c-btn{display:inline-flex;justify-content:center;align-items:center;font-weight:500;font-size:inherit;font-family:inherit;color:inherit;line-height:1;white-space:nowrap;text-align:center;transition-duration:0.3s;transition-property:background-color, color;-webkit-user-select:none;user-select:none}[dir=rtl] .uppy-c-btn{text-align:center}.uppy-c-btn:not(:disabled):not(.disabled){cursor:pointer}.uppy-c-btn::-moz-focus-inner{border:0}.uppy-c-btn-primary{padding:10px 18px;color:#fff;font-size:14px;background-color:#1269cf;border-radius:4px}.uppy-c-btn-primary:hover{background-color:#0e51a0}.uppy-c-btn-primary:focus{outline:none;box-shadow:0 0 0 3px rgba(18, 105, 207, 0.4)}.uppy-size--md .uppy-c-btn-primary{padding:13px 22px}[data-uppy-theme=dark] .uppy-c-btn-primary{color:#eaeaea}[data-uppy-theme=dark] .uppy-c-btn-primary:focus{outline:none}[data-uppy-theme=dark] .uppy-c-btn-primary::-moz-focus-inner{border:0}[data-uppy-theme=dark] .uppy-c-btn-primary:focus{box-shadow:0 0 0 2px rgba(170, 225, 255, 0.85)}.uppy-c-btn-link{padding:10px 15px;color:#525252;font-size:14px;line-height:1;background-color:transparent;border-radius:4px}.uppy-c-btn-link:hover{color:#333}.uppy-c-btn-link:focus{outline:none;box-shadow:0 0 0 3px rgba(18, 105, 207, 0.25)}.uppy-size--md .uppy-c-btn-link{padding:13px 18px}[data-uppy-theme=dark] .uppy-c-btn-link{color:#eaeaea}[data-uppy-theme=dark] .uppy-c-btn-link:focus{outline:none}[data-uppy-theme=dark] .uppy-c-btn-link::-moz-focus-inner{border:0}[data-uppy-theme=dark] .uppy-c-btn-link:focus{box-shadow:0 0 0 2px rgba(170, 225, 255, 0.85)}[data-uppy-theme=dark] .uppy-c-btn-link:hover{color:#939393}.uppy-ProgressBar{position:absolute;top:0;left:0;z-index:10000;width:100%;height:3px;transition:height 0.2s}.uppy-ProgressBar[aria-hidden=true]{height:0}.uppy-ProgressBar-inner{width:0;height:100%;background-color:#1269cf;box-shadow:0 0 10px rgba(18, 105, 207, 0.7);transition:width 0.4s ease}.uppy-ProgressBar-percentage{position:absolute;top:50%;left:50%;display:none;color:#fff;text-align:center;transform:translate(-50%, -50%)}:host{--covet-font-family:var(--covet-custom-font-family, var(--covet-internal-font-family)), sans-serif;--covet-upload-bg-color:var(--covet-custom-upload-bg-color, #FFFFFF);--covet-upload-scrollbar-width:var(--covet-internal-scrollbar-width);--covet-upload-scrollbar-padding:var(--covet-internal-scrollbar-padding);--covet-upload-img-ratio:var(--covet-internal-upload-img-ratio);--covet-upload-title-color:var(--covet-custom-upload-title-color, #212B36);--covet-upload-btn-close-color:var(--covet-custom-upload-close-color, #919EAB);--covet-upload-btn-close-active-color:var(--covet-custom-upload-btn-close-active-color, #000000);--covet-upload-btn-submit-color:var(--covet-custom-upload-btn-submit-color, #FFFFFF);--covet-upload-btn-submit-bg-color:var(--covet-custom-upload-btn-submit-bg-color, #000000);--covet-upload-btn-submit-reset-bg-color:var(--covet-custom-upload-btn-submit-reset-bg-color, #212B36);--covet-upload-btn-submit-border-color:var(--covet-custom-upload-btn-submit-border-color, #000000);--covet-upload-btn-submit-disabled-border-color:var(--covet-custom-upload-btn-submit-disabled-border-color, #919EAB);--covet-upload-btn-submit-disabled-bg-color:var(--covet-custom-upload-btn-submit-disabled-bg-color, #919EAB);--covet-upload-btn-submit-active-bg-color:var(--covet-custom-upload-btn-submit-active-bg-color, #333333);--covet-upload-btn-skip-color:var(--covet-custom-upload-btn-skip-color, #919EAB);--covet-upload-btn-skip-active-color:var(--covet-custom-upload-btn-skip-active-color, #000000);--covet-upload-star-border-color:var(--covet-custom-upload-star-border-color, #000000);--covet-upload-star-warning-border-color:var(--covet-custom-upload-star-warning-border-color, #FF0000);--covet-upload-star-active-bg-color:var(--covet-custom-upload-star-active-bg-color, #000000);--covet-upload-notification-color:var(--covet-custom-upload-notification-color, #FFFFFF);--covet-upload-notification-bg-color:var(--covet-custom-upload-notification-bg-color, #000000);--covet-upload-dropzone-bg-color:var(--covet-custom-upload-dropzone-bg-color, #F9FAFB);--covet-upload-dropzone-active-bg-color:var(--covet-custom-upload-dropzone-active-bg-color, #212B36);--covet-upload-gallery-bg-color:var(--covet-custom-upload-gallery-bg-color, #F9FAFB);--covet-upload-progressbar-color:var(--covet-custom-upload-progressbar-color, #000000);--covet-upload-progressbar-shadow-color:var(--covet-custom-upload-progressbar-shadow-color, #212B36);--covet-upload-text-color:var(--covet-custom-upload-text-color, #919EAB);--covet-upload-icon-down-color:var(--covet-custom-upload-icon-down-color, #919EAB);--covet-upload-icon-cross-color:var(--covet-custom-upload-icon-cross-color, #FFFFFF);--covet-upload-icon-plus-color:var(--covet-custom-upload-icon-plus-color, #212B36);--covet-upload-icon-dropfiles-color:var(--covet-custom-upload-icon-dropfiles-color, #919EAB);--covet-upload-img-active-bg-color:var(--covet-custom-upload-img-active-bg-color, rgba(#212B36, 0.4));--covet-upload-input-color:var(--covet-custom-upload-input-color, #212B36);--covet-upload-input-border-color:var(--covet-custom-upload-input-border-color, #919EAB);--covet-upload-input-active-border-color:var(--covet-custom-upload-input-active-border-color, #212B36);--covet-upload-input-warning-border-color:var(--covet-custom-upload-input-warning-border-color, #FF0000);--covet-upload-input-placeholded-color:var(--covet-custom-upload-input-placeholded-color, #919EAB);--covet-upload-brand-color:#919EAB;--covet-upload-brand-active-s-color:#ABA0EB;--covet-upload-brand-active-c-color:#23FFFFFF;--covet-upload-brand-active-i-color:#F7786B;--covet-upload-brand-active-p-color:#EBCC78}:host{--covet-font-family:var(--covet-custom-font-family, var(--covet-internal-font-family)), sans-serif;--covet-popup-bg-color:var(--covet-custom-popup-bg-color, var(--covet-internal-popup-bg-color));--covet-badge-color:var(--covet-custom-badge-color, #157F3F);--covet-badge-bg-color:var(--covet-custom-badge-bg-color, #E8F2EC);--covet-badge-border-color:var(--covet-custom-badge-border-color, #157F3F);--covet-popup-link-border-color:var(--covet-custom-popup-link-border-color, #F0F0F0);--covet-popup-review-color:var(--covet-custom-popup-review-color, #000000);--covet-popup-review-date-color:var(--covet-custom-popup-review-date-color, #777777);--covet-popup-title-color:var(--covet-custom-popup-title-color, #A1A1A1);--covet-popup-title-font-size:var(--covet-custom-popup-title-font-size, 14px);--covet-popup-title-font-weight:var(--covet-custom-popup-title-font-weight, 400);--covet-popup-title-letter-spacing:var(--covet-custom-popup-title-letter-spacing, normal);--covet-popup-caption-color:var(--covet-custom-popup-caption-color, #000000);--covet-popup-caption-font-size:var(--covet-custom-popup-caption-font-size, 13px);--covet-popup-caption-font-weight:var(--covet-custom-popup-caption-font-weight, 300);--covet-popup-caption-letter-spacing:var(--covet-custom-popup-caption-letter-spacing, normal);--covet-popup-source-font-size:var(--covet-custom-popup-source-font-size, 12px);--covet-popup-source-font-weight:var(--covet-custom-popup-source-font-weight, 400);--covet-popup-source-color:var(--covet-custom-popup-source-color, #666666);--covet-popup-source-letter-spacing:var(--covet-custom-popup-source-letter-spacing, normal);--covet-popup-skeleton-speed:var(--covet-internal-popup-skeleton-speed, 0)}@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\") format(\"woff\");font-weight:400;font-style:normal}:root{--swiper-theme-color:#007aff;}:host{position:relative;display:block;margin-left:auto;margin-right:auto;z-index:1}.swiper{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-ios .swiper-slide,.swiper-wrapper{transform:translate3d(0px, 0, 0)}.swiper-horizontal{touch-action:pan-y}.swiper-vertical{touch-action:pan-x}.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);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-slide,.swiper-3d .swiper-cube-shadow{transform-style:preserve-3d}.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-css-mode.swiper-horizontal>.swiper-wrapper{scroll-snap-type:x mandatory}.swiper-css-mode.swiper-vertical>.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-css-mode.swiper-centered>.swiper-wrapper::before{content:\"\";flex-shrink:0;order:9999}.swiper-css-mode.swiper-centered>.swiper-wrapper>.swiper-slide{scroll-snap-align:center center;scroll-snap-stop:always}.swiper-css-mode.swiper-centered.swiper-horizontal>.swiper-wrapper>.swiper-slide:first-child{margin-inline-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-horizontal>.swiper-wrapper::before{height:100%;min-height:1px;width:var(--swiper-centered-offset-after)}.swiper-css-mode.swiper-centered.swiper-vertical>.swiper-wrapper>.swiper-slide:first-child{margin-block-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-vertical>.swiper-wrapper::before{width:100%;min-width:1px;height:var(--swiper-centered-offset-after)}.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top,.swiper-3d .swiper-slide-shadow-bottom{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}.swiper-3d .swiper-slide-shadow{background:rgba(0, 0, 0, 0.15)}.swiper-3d .swiper-slide-shadow-left{background-image:linear-gradient(to left, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0))}.swiper-3d .swiper-slide-shadow-right{background-image:linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0))}.swiper-3d .swiper-slide-shadow-top{background-image:linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0))}.swiper-3d .swiper-slide-shadow-bottom{background-image:linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0))}.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:not(.swiper-watch-progress) .swiper-lazy-preloader,.swiper-watch-progress .swiper-slide-visible .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(0deg)}100%{transform:rotate(360deg)}}:root{--swiper-navigation-size:44px;}.swiper-button-prev,.swiper-button-next{position:absolute;top:var(--swiper-navigation-top-offset, 50%);width:calc(var(--swiper-navigation-size) / 44 * 27);height:var(--swiper-navigation-size);margin-top:calc(0px - var(--swiper-navigation-size) / 2);z-index:10;cursor:pointer;display:flex;align-items:center;justify-content:center;color:var(--swiper-navigation-color, var(--swiper-theme-color))}.swiper-button-prev.swiper-button-disabled,.swiper-button-next.swiper-button-disabled{opacity:0.35;cursor:auto;pointer-events:none}.swiper-button-prev.swiper-button-hidden,.swiper-button-next.swiper-button-hidden{opacity:0;cursor:auto;pointer-events:none}.swiper-navigation-disabled .swiper-button-prev,.swiper-navigation-disabled .swiper-button-next{display:none !important}.swiper-button-prev svg,.swiper-button-next svg{width:100%;height:100%;-o-object-fit:contain;object-fit:contain;transform-origin:center}.swiper-rtl .swiper-button-prev svg,.swiper-rtl .swiper-button-next svg{transform:rotate(180deg)}.swiper-button-prev,.swiper-rtl .swiper-button-next{left:var(--swiper-navigation-sides-offset, 10px);right:auto}.swiper-button-next,.swiper-rtl .swiper-button-prev{right:var(--swiper-navigation-sides-offset, 10px);left:auto}.swiper-button-lock{display:none}.swiper-button-prev:after,.swiper-button-next:after{font-family:swiper-icons;font-size:var(--swiper-navigation-size);text-transform:none !important;letter-spacing:0;font-variant:initial;line-height:1}.swiper-button-prev:after,.swiper-rtl .swiper-button-next:after{content:\"prev\"}.swiper-button-next,.swiper-rtl .swiper-button-prev{right:var(--swiper-navigation-sides-offset, 10px);left:auto}.swiper-button-next:after,.swiper-rtl .swiper-button-prev:after{content:\"next\"}:root{}.swiper-pagination{position:absolute;text-align:center;transition:300ms opacity;transform:translate3d(0, 0, 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-pagination-fraction,.swiper-pagination-custom,.swiper-horizontal>.swiper-pagination-bullets,.swiper-pagination-bullets.swiper-pagination-horizontal{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(0.33);position:relative}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active{transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main{transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev{transform:scale(0.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev{transform:scale(0.33)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next{transform:scale(0.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next{transform:scale(0.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, 0.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-vertical>.swiper-pagination-bullets,.swiper-pagination-vertical.swiper-pagination-bullets{right:var(--swiper-pagination-right, 8px);left:var(--swiper-pagination-left, auto);top:50%;transform:translate3d(0px, -50%, 0)}.swiper-vertical>.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-pagination-vertical.swiper-pagination-bullets .swiper-pagination-bullet{margin:var(--swiper-pagination-bullet-vertical-gap, 6px) 0;display:block}.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{top:50%;transform:translateY(-50%);width:8px}.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{display:inline-block;transition:200ms transform, 200ms 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:translateX(-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:200ms transform, 200ms left}.swiper-horizontal.swiper-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:200ms transform, 200ms 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, 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-vertical>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-vertical.swiper-pagination-progressbar-opposite{width:100%;height:var(--swiper-pagination-progressbar-size, 4px);left:0;top:0}.swiper-vertical>.swiper-pagination-progressbar,.swiper-pagination-progressbar.swiper-pagination-vertical,.swiper-horizontal>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-horizontal.swiper-pagination-progressbar-opposite{width:var(--swiper-pagination-progressbar-size, 4px);height:100%;left:0;top:0}.swiper-pagination-lock{display:none}.btn-popup-close{position:absolute;display:none;margin:0;z-index:200;cursor:pointer;top:0;right:0;border:none;padding:0;background-color:transparent;outline:none !important;transition:opacity 0.25s ease}.btn-popup-close:hover,.btn-popup-close:active,.btn-popup-close:focus{opacity:0.7}.popup .btn-popup-close.corner{top:16px;right:18px}.btn-close{padding:0;border:none;background-color:transparent;outline:none !important;transition:opacity 0.25s ease}.btn-close:hover,.btn-close:focus,.btn-close:active{opacity:0.7}.btn-close svg .symbol{transform-origin:center center;transition:transform 0.25s ease;width:100%;height:100%}.btn-type-1.standard{width:40px;height:40px;right:-40px}.btn-type-1.large{width:48px;height:48px;right:-48px}.btn-type-1 svg .symbol{fill:var(--covet-pics-close-button-symbol-color)}.btn-type-1 svg .background{fill:var(--covet-pics-close-button-background-color)}.btn-type-2.standard{width:32px;height:32px;right:-40px}.btn-type-2.large{width:44px;height:44px;right:-52px}.btn-type-2 svg .symbol{fill:var(--covet-pics-close-button-symbol-color)}.btn-type-2 svg .background{fill:var(--covet-pics-close-button-background-color);stroke:var(--covet-pics-close-button-background-color)}.btn-type-3.standard{width:24px;height:24px;right:-32px}.btn-type-3.large{width:40px;height:40px;right:-48px}.btn-type-3 svg .symbol{stroke:var(--covet-pics-close-button-symbol-color)}.btn-type-4.standard{width:40px;height:24px;right:-48px}.btn-type-4.large{width:48px;height:29px;right:-56px}.btn-type-4 svg .symbol{fill:var(--covet-pics-close-button-symbol-color)}.btn-type-5.standard{width:28px;height:32px;right:-36px}.btn-type-5.large{width:35px;height:40px;right:-43px}.btn-type-5 svg .symbol{fill:var(--covet-pics-close-button-symbol-color)}@media only screen and (min-width: 800px){.btn-popup-close{display:block}}.btn-checkout svg .symbol{stroke:var(--covet-pics-close-button-symbol-color)}.close-button-color-theme-dark{--covet-pics-close-button-symbol-color:#101010;--covet-pics-close-button-background-color:#FFFFFF}.close-button-color-theme-dark.btn-type-1,.close-button-color-theme-dark.btn-type-2{--covet-pics-close-button-symbol-color:#FFFFFF;--covet-pics-close-button-background-color:#101010}.close-button-color-theme-light{--covet-pics-close-button-symbol-color:#FFFFFF;--covet-pics-close-button-background-color:#101010}.close-button-color-theme-light.btn-type-1,.close-button-color-theme-light.btn-type-2{--covet-pics-close-button-symbol-color:#101010;--covet-pics-close-button-background-color:#FFFFFF}.close-button-color-theme-light.btn-type-1{--covet-pics-close-button-symbol-color:#C0C0C0}.mobile-navigation{--covet-pics-close-button-symbol-color:var(--covet-pics-arrows-mobile-symbol-color)}.ctrl-arrow{cursor:pointer;position:relative}.ctrl-arrow svg{width:100%;height:100%}.ctrl-arrow.disabled{display:none}.mobile-navigation{width:100%;z-index:2;background-color:var(--covet-pics-arrows-mobile-background-color);height:55px;display:flex;justify-content:space-between;align-items:center}.mobile-navigation.arrows-mobile-position-top{position:fixed}.mobile-arrows{display:flex}.mobile-arrows .ctrl-arrow{padding:0;border:none;background-color:transparent;width:var(--covet-pics-arrows-mobile-size);height:var(--covet-pics-arrows-mobile-size);outline:none !important;transition:opacity 0.25s ease}.mobile-arrows .ctrl-arrow:hover,.mobile-arrows .ctrl-arrow:focus,.mobile-arrows .ctrl-arrow:active{opacity:0.7}.mobile-buttons{display:flex}.mobile-buttons .btn{cursor:pointer;display:block;width:35px;height:35px;position:relative;margin-right:15px}.mobile-buttons .btn svg{width:100%;height:100%}.desktop-arrows{display:none;position:absolute;z-index:999;top:50%;right:0;width:100%}.desktop-arrows .ctrl-arrow{position:absolute;top:50%;transform:translateY(-50%);width:var(--covet-pics-arrows-desktop-size);height:var(--covet-pics-arrows-desktop-size);padding:0;background-color:transparent;border:none;outline:none !important;transition:opacity 0.25s ease}.desktop-arrows .ctrl-arrow:hover,.desktop-arrows .ctrl-arrow:focus,.desktop-arrows .ctrl-arrow:active{opacity:0.7}.desktop-arrows .ctrl-arrow.arrows-type-4 svg .symbol{transition:opacity 0.25s ease}.desktop-arrows .ctrl-arrow.arrows-type-4:hover,.desktop-arrows .ctrl-arrow.arrows-type-4:focus,.desktop-arrows .ctrl-arrow.arrows-type-4:active{opacity:1}.desktop-arrows .ctrl-arrow.arrows-type-4:hover svg .symbol,.desktop-arrows .ctrl-arrow.arrows-type-4:focus svg .symbol,.desktop-arrows .ctrl-arrow.arrows-type-4:active svg .symbol{opacity:0.5}.desktop-arrows .ctrl-next{right:calc(-1 * var(--covet-pics-arrows-desktop-size))}.desktop-arrows .ctrl-prev{left:calc(-1 * var(--covet-pics-arrows-desktop-size))}.post-image .desktop-arrows{position:absolute;top:0;justify-content:flex-end}.post-image .desktop-arrows .ctrl-arrow{position:relative;transform:none;top:auto;left:auto;right:auto}.post-image .desktop-arrows.bottom{top:unset;bottom:0}.post-image .desktop-arrows.bottom-margin{bottom:var(--swiper-pagination-height)}.popup-body .desktop-arrows{position:unset;justify-content:space-between;align-items:center;padding:0 16px;width:calc(100% - 32px);background:var(--covet-pics-arrows-desktop-background-color)}.popup-body .desktop-arrows .ctrl-arrow{position:relative;transform:none;top:auto;left:auto;right:auto;height:calc(0.5 * var(--covet-pics-arrows-desktop-size))}@media only screen and (min-width: 800px){.desktop-arrows{display:flex}.mobile-navigation{display:none}}.arrows-size-standard{--covet-pics-arrows-desktop-size:48px}.arrows-size-large{--covet-pics-arrows-desktop-size:64px}.arrows-size-standard .arrows-type-4{--covet-pics-arrows-desktop-size:40px}.arrows-size-large .arrows-type-4{--covet-pics-arrows-desktop-size:56px}.arrows-size-standard .arrows-type-5{--covet-pics-arrows-desktop-size:80px}.arrows-size-large .arrows-type-5{--covet-pics-arrows-desktop-size:96px}.desktop-arrows svg .symbol{fill:var(--covet-pics-arrows-desktop-symbol-color)}.desktop-arrows svg .background{fill:var(--covet-pics-arrows-desktop-background-color)}.mobile-arrows svg .symbol{fill:var(--covet-pics-arrows-mobile-symbol-color)}.mobile-arrows svg .background{fill:var(--covet-pics-arrows-mobile-background-color)}.arrows-color-theme-light{--covet-pics-arrows-desktop-symbol-color:#ffffff;--covet-pics-arrows-desktop-background-color:#000000;--covet-pics-arrows-mobile-symbol-color:#ffffff;--covet-pics-arrows-mobile-background-color:#000000}.arrows-color-theme-light.mobile-navigation,.arrows-color-theme-light .arrows-type-4{--covet-pics-arrows-desktop-symbol-color:#000000;--covet-pics-arrows-desktop-background-color:#ffffff;--covet-pics-arrows-mobile-symbol-color:#000000;--covet-pics-arrows-mobile-background-color:#ffffff}.arrows-color-theme-dark{--covet-pics-arrows-desktop-symbol-color:#000000;--covet-pics-arrows-desktop-background-color:#ffffff;--covet-pics-arrows-mobile-symbol-color:#000000;--covet-pics-arrows-mobile-background-color:#ffffff}.arrows-color-theme-dark.mobile-navigation,.arrows-color-theme-dark .arrows-type-4{--covet-pics-arrows-desktop-symbol-color:#ffffff;--covet-pics-arrows-desktop-background-color:#000000;--covet-pics-arrows-mobile-symbol-color:#ffffff;--covet-pics-arrows-mobile-background-color:#000000}.share{order:2;background-color:#fff;bottom:0;padding-bottom:env(safe-area-inset-bottom)}.share hr{margin:0 16px !important;border:0;border-top:1px solid #F0F0F0 !important}.share ul{list-style:none;width:100%;text-align:center;margin:0;padding:0}.share ul li{display:inline-block;padding:12px 5px}.share ul li a{display:block;width:22px;height:22px}.share ul li a svg{width:22px;height:22px}.share ul li.lnk button{width:23px;height:23px;padding:0;display:flex;justify-content:center;align-items:center;border:none;background-color:transparent;cursor:pointer}.share ul li a,.share ul li button{outline:none !important}.share ul li a path,.share ul li button path{transition:all 0.3;fill:#666666}.share ul li a:hover path,.share ul li a:active path,.share ul li a:focus path,.share ul li button:hover path,.share ul li button:active path,.share ul li button:focus path{fill:#000000;transform:translateY(-1.5px)}.direct-link-wrapper{display:flex;align-items:center;justify-content:space-between;margin:5px auto;width:85%}.direct-link-wrapper .direct-link-input{width:75%;display:flex;width:100%;padding:9px;border:1px solid #DFE3E8;transition:border 0.25s ease;outline:none !important}.direct-link-wrapper .direct-link-input:hover,.direct-link-wrapper .direct-link-input:active,.direct-link-wrapper .direct-link-input:focus{border:1px solid #000000}.direct-link-wrapper .btn-light{width:25%;color:#212b36;background-color:#f9fafb;border:none;display:flex;justify-content:center;align-items:center;-webkit-user-select:none;-moz-user-select:none;user-select:none;padding:7px 16px;font-size:14px;line-height:1.4285;border-radius:3px;text-transform:none;overflow:hidden;margin:0 0 0 5px;outline:none !important}.direct-link-wrapper .btn-light:hover,.direct-link-wrapper .btn-light:active,.direct-link-wrapper .btn-light:focus{color:#212b36;background-color:#e2e7ec;cursor:pointer}.direct-link-wrapper .btn-light:disabled{background-color:rgba(226, 231, 236, 0.5);cursor:auto}.popup-body{display:flex;flex-direction:column;font-size:13px;position:relative;z-index:1}.popup-body-content-scroll{padding-top:32px}.caption{font-size:var(--covet-popup-caption-font-size);font-weight:var(--covet-popup-caption-font-weight);letter-spacing:var(--covet-popup-caption-letter-spacing);color:var(--covet-popup-caption-color);text-align:center;line-height:1.4em;word-wrap:break-word;overflow-wrap:break-word;margin-bottom:16px;margin-top:32px;padding:0 40px;order:1;white-space:pre-line}.source{color:var(--covet-popup-source-color);font-size:var(--covet-popup-source-font-size);letter-spacing:var(--covet-popup-source-letter-spacing);font-weight:var(--covet-popup-source-font-weight);margin-top:0;padding-top:0;margin-bottom:30px;display:flex;align-items:center;justify-content:center}.source-link{color:#666666;text-decoration:none;transition:color 0.3s ease;flex:none;display:flex;align-items:center}.source-link:hover,.source-link:active,.source-link:focus{color:#000000}.source-link:hover .icon-external-link path,.source-link:active .icon-external-link path,.source-link:focus .icon-external-link path{fill:#000000}.icon-external-link{margin-left:10px}.icon-external-link path{transition:fill 0.3s ease;fill:#666666}.shop-this-look{text-align:center;margin-top:0px;color:var(--covet-popup-title-color);font-size:var(--covet-popup-title-font-size);margin-bottom:25px;font-weight:var(--covet-popup-title-font-weight);letter-spacing:var(--covet-popup-title-letter-spacing)}@media only screen and (min-width: 800px){.popup-body{width:360px;min-width:320px;font-size:13px}.popup-body-content{position:absolute;left:0;top:0;right:0;bottom:0;display:flex;flex-direction:column;flex-shrink:0}.popup-body-content-scroll{overflow-y:auto;height:100%}.share{position:initial}}@media only screen and (max-width: 799.98px){.popup-body{max-width:100vw}.share ul li{padding:16.5px 12px}.share ul li a{display:block;width:22px;height:22px}.share ul li a svg{width:22px;height:22px}}:host{--swiper-pagination-height:40px;--popup-fixed-size:720px}.carousel-media{max-width:100%;padding-bottom:var(--swiper-pagination-height)}.carousel-media .carousel-cell{display:flex;justify-content:space-around;width:100%}.carousel-media .carousel-cell img,.carousel-media .carousel-cell video{align-self:center;max-height:calc(var(--popup-fixed-size) - var(--swiper-pagination-height));max-width:100%}.swiper-button-next,.swiper-button-prev{top:unset;bottom:0;transform:translateY(0);border-radius:0;background:transparent;padding:0;z-index:11;transition:opacity 0.25s ease;opacity:1;border:none}.swiper-button-next:hover,.swiper-button-next:active,.swiper-button-next:focus,.swiper-button-prev:hover,.swiper-button-prev:active,.swiper-button-prev:focus{opacity:0.5}.swiper-button-next svg,.swiper-button-prev svg{width:var(--swiper-pagination-height);height:var(--swiper-pagination-height)}.swiper-button-next:after,.swiper-button-prev:after{display:none}.swiper-button-next{right:0}.swiper-button-prev{left:0}.swiper-button-prev svg{transform:rotateY(180deg)}.swiper-horizontal>.swiper-pagination-bullets{display:flex;justify-content:center;align-items:center;height:var(--swiper-pagination-height);top:unset;bottom:0;background:white}.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet{width:6px;height:6px;margin:0 3px}.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet:hover,.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet:active,.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet:focus{opacity:0.4}.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet.swiper-pagination-bullet-active{background:#000000}.carousel-media~.covet-branding{bottom:calc(var(--swiper-pagination-height) - 16px)}@media only screen and (min-width: 800px){.carousel-media{width:calc(var(--popup-fixed-size) - var(--swiper-pagination-height));height:var(--popup-fixed-size);padding-bottom:0}.carousel-media .carousel-cell{height:100%;max-height:calc(var(--popup-fixed-size) - var(--swiper-pagination-height))}}.popup-content.show-hotspot-number .post-image-wrap .imgtag{width:24px;height:24px}.popup-content.show-hotspot-number .post-image-wrap .imgtag:after{font-size:13px;line-height:26px}.popup-content.show-hotspot-number .post-image-wrap .imgtag .imgtag-pulse{left:-11px;top:-10px}.post-image-wrap .imgtag{width:15px;height:15px;line-height:15px;counter-increment:imgtag}.post-image-wrap .imgtag:hover{text-decoration:none}.post-image-wrap .imgtag:after{display:block;text-align:center;content:counter(imgtag);font-size:0;color:white}.post-image-wrap .imgtag.active{display:inline-block;visibility:visible}.post-image-wrap .imgtag-pulse{width:35px;height:35px;left:-15px;top:-15px;border-width:5px}.star-rating{display:flex;justify-content:center;align-items:center;padding-top:10px}.icon-star{display:inline-block;line-height:1;position:relative;color:rgba(0, 0, 0, 0.1);width:16px;height:16px;margin-right:4px}.icon-star:after{content:\"★\";line-height:1;position:absolute;top:50%;left:50%;font-size:16px;transform:translate(-50%, -50%)}.icon-star:last-child{margin-right:0}.icon-star.active{color:#000000}:host{position:fixed;left:0;top:0;right:0;bottom:0;width:0;height:0;visibility:hidden;background-color:var(--covet-popup-bg-color);z-index:9999999999999;font-family:var(--covet-font-family);color:#000;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.covet-pics-popup-show){width:100%;height:100%;visibility:visible}.popup{position:absolute;visibility:hidden;display:flex;justify-content:center;align-items:flex-start;height:100%;overflow-x:hidden;overflow-y:auto;-webkit-overflow-scrolling:touch}.popup.open{position:relative;visibility:visible}.popup .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border:0}.animated{opacity:0;transition:opacity 0.3s;transition-timing-function:ease-in-out}.animated .popup-dialog,.animated .upload{will-change:top;top:40px;transition:top 0.3s;transition-timing-function:ease-in-out}:host(.covet-pics-popup-open) .popup.open{opacity:1}:host(.covet-pics-popup-open) .popup.open .popup-dialog,:host(.covet-pics-popup-open) .popup.open .upload{top:0}.hide{display:none !important}.backdrop{position:absolute;top:0;left:0;right:0;bottom:0;z-index:0}.popup-dialog{position:relative;max-width:100%;background:#fff;margin:0;width:100%;z-index:1}.post-image{display:flex;justify-content:center;align-items:center;position:relative;width:100%;max-width:100vw !important;max-height:100vh !important;transition:max-width var(--covet-popup-skeleton-speed) ease, max-height 0.5s ease}.post-image.post-image-carousel{display:block}.post-image.show-skeleton{max-width:580px !important;max-height:580px !important;height:580px;width:580px;overflow:hidden}.post-image.show-skeleton:after{content:\"\";display:block;width:100%;height:100%;position:absolute;background-image:linear-gradient(120deg, #D3D6DB, #FDFEFF);animation:pulsate 2s ease-in-out infinite;z-index:1}.post-image.show-skeleton:before{content:\"\";display:block;width:100%;height:100%;position:absolute;background-color:white;z-index:1}@keyframes pulsate{0%{opacity:1}50%{opacity:0.3}100%{opacity:1}}.post-image-element{max-width:100%}.post-video-element{max-width:100%;z-index:1;display:flex;justify-content:center;align-items:stretch;overflow:hidden;max-height:calc(100vh - 20px)}.post-video-element video{-o-object-fit:contain;object-fit:contain;width:100%}.post-video-element:after{content:\"\";position:absolute;opacity:1;border:none;outline:none !important;top:50%;width:100px;height:100px;left:50%;transform:translate(-50%, -50%);cursor:pointer;background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='1585.982 6.353 864 864'%3E%3Cpath opacity='.6' fill='%23231F20' d='M2017.982 6.353c-238.592 0-432 193.409-432 432 0 238.592 193.408 432 432 432 238.591 0 432-193.408 432-432 0-238.591-193.409-432-432-432z'/%3E%3Cpath fill='%23FFF' d='M1910.997 656.622l293.971-219.27-293.971-219.269z'/%3E%3C/svg%3E\");background-repeat:no-repeat;background-size:contain;background-color:transparent;transition:all 0.25s ease}.post-video-element:hover:after,.post-video-element:focus:after{transform:translate(-50%, -50%) scale(1.1)}.post-video-element.playing:after{opacity:0}.popup-content{display:flex;flex-direction:column}.badge{align-items:center;display:inline-flex;box-sizing:border-box;border:0.5px solid var(--covet-badge-border-color);border-radius:12px;padding:3px 6px;background-color:var(--covet-badge-bg-color);margin-left:auto;opacity:0.8}.badge-text{margin-bottom:0;color:var(--covet-badge-color);font-size:10px;margin-top:0;margin-left:5px}.icon-verified{margin-right:10px}.icon-verified.badge-icon{margin-right:0}.caption{margin-top:20px}.covet-branding{position:absolute;bottom:-17px;left:-14px;width:76px;height:76px;background-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 38 38' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cfilter x='-61.5%25' y='-61.5%25' width='223.1%25' height='223.1%25' filterUnits='objectBoundingBox' id='a'%3E%3CfeOffset dx='1' dy='2' in='SourceAlpha' result='shadowOffsetOuter1'/%3E%3CfeGaussianBlur stdDeviation='3' in='shadowOffsetOuter1' result='shadowBlurOuter1'/%3E%3CfeColorMatrix values='0 0 0 0 0.516785553 0 0 0 0 0.516785553 0 0 0 0 0.516785553 0 0 0 0.4 0' in='shadowBlurOuter1' result='shadowMatrixOuter1'/%3E%3CfeMerge%3E%3CfeMergeNode in='shadowMatrixOuter1'/%3E%3CfeMergeNode in='SourceGraphic'/%3E%3C/feMerge%3E%3C/filter%3E%3C/defs%3E%3Cg filter='url(%23a)' transform='translate(5 4)' fill='none' fill-rule='evenodd'%3E%3Cpath fill='%23212B36' d='M2 2h22v22H2z'/%3E%3Cpath d='M0 1a1 1 0 011-1h24a1 1 0 011 1v24a1 1 0 01-1 1H1a1 1 0 01-1-1V1zm19.668 15.25c-.588 0-1.084.092-1.49.275-.405.183-.708.43-.91.742a1.87 1.87 0 00-.3 1.036c0 .452.113.81.34 1.076.226.265.497.46.813.585.316.124.73.248 1.24.373.364.092.651.173.862.246.21.072.385.171.522.3.137.127.206.289.206.485 0 .269-.123.485-.369.649-.246.164-.618.245-1.116.245a3.59 3.59 0 01-1.201-.21 3.367 3.367 0 01-1.01-.546l-.431.992c.28.25.662.449 1.144.6.482.15.981.226 1.498.226.588 0 1.086-.092 1.494-.276.409-.183.714-.429.915-.736.2-.308.301-.652.301-1.032 0-.445-.113-.799-.34-1.061a2.1 2.1 0 00-.818-.585 8.9 8.9 0 00-1.226-.368 11.399 11.399 0 01-.862-.246 1.477 1.477 0 01-.522-.294.62.62 0 01-.206-.482c0-.281.12-.507.36-.678.239-.17.604-.255 1.096-.255.3 0 .61.046.929.138.32.091.625.226.92.402l.392-.992a3.292 3.292 0 00-1.025-.452 4.695 4.695 0 00-1.206-.157zm-12.79-.191c-.683 0-1.3.152-1.852.457a3.374 3.374 0 00-1.302 1.262 3.516 3.516 0 00-.474 1.818c0 .674.156 1.28.47 1.817a3.34 3.34 0 001.296 1.263c.551.304 1.17.456 1.853.456a3.85 3.85 0 001.524-.294c.461-.197.85-.482 1.166-.855l-.813-.786c-.49.544-1.093.815-1.81.815-.464 0-.88-.103-1.248-.31a2.212 2.212 0 01-.86-.859 2.5 2.5 0 01-.31-1.247c0-.465.103-.881.31-1.248.206-.367.493-.653.86-.86.368-.206.784-.31 1.249-.31.716 0 1.319.27 1.809.806l.813-.776a3.101 3.101 0 00-1.161-.854 3.814 3.814 0 00-1.52-.295zM20.18 3.25h-1.358v6.882h1.358V3.25zm-13.728 0H3.632v6.882h1.273V8.146H6.45c.594 0 1.11-.098 1.551-.295.44-.196.778-.48 1.013-.85.235-.37.353-.805.353-1.303 0-.505-.118-.94-.353-1.307a2.258 2.258 0 00-1.013-.846c-.44-.197-.957-.295-1.55-.295zM6.3 4.397c.567 0 .997.116 1.29.347.294.23.44.561.44.991 0 .43-.146.76-.44.992-.293.231-.723.347-1.29.347H4.78V4.397H6.3z' fill='%23FFF'/%3E%3C/g%3E%3C/svg%3E\");background-repeat:no-repeat;background-size:contain;transform:scale(0.5);z-index:1;outline:none !important}.covet-branding.post-image-carousel{margin-bottom:40px}.covet-branding:hover,.covet-branding:active,.covet-branding:focus{background-image:url(\"data:image/svg+xml,%0A%3Csvg viewBox='0 0 38 38' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cfilter x='-61.5%25' y='-61.5%25' width='223.1%25' height='223.1%25' filterUnits='objectBoundingBox' id='a'%3E%3CfeOffset dx='1' dy='2' in='SourceAlpha' result='shadowOffsetOuter1'/%3E%3CfeGaussianBlur stdDeviation='3' in='shadowOffsetOuter1' result='shadowBlurOuter1'/%3E%3CfeColorMatrix values='0 0 0 0 0.516785553 0 0 0 0 0.516785553 0 0 0 0 0.516785553 0 0 0 0.4 0' in='shadowBlurOuter1' result='shadowMatrixOuter1'/%3E%3CfeMerge%3E%3CfeMergeNode in='shadowMatrixOuter1'/%3E%3CfeMergeNode in='SourceGraphic'/%3E%3C/feMerge%3E%3C/filter%3E%3C/defs%3E%3Cg filter='url(%23a)' transform='translate(5 4)' fill='none' fill-rule='evenodd'%3E%3Cpath fill='%23EBCC78' d='M2 2h9v9H2z'/%3E%3Cpath fill='%23F7786B' d='M15 2h9v9h-9z'/%3E%3Cpath fill='%2300C5E3' d='M2 15h9v9H2z'/%3E%3Cpath fill='%23ABA0EB' d='M15 15h9v9h-9z'/%3E%3Cpath d='M0 1a1 1 0 011-1h24a1 1 0 011 1v24a1 1 0 01-1 1H1a1 1 0 01-1-1V1zm19.668 15.25c-.588 0-1.084.092-1.49.275-.405.183-.708.43-.91.742a1.87 1.87 0 00-.3 1.036c0 .452.113.81.34 1.076.226.265.497.46.813.585.316.124.73.248 1.24.373.364.092.651.173.862.246.21.072.385.171.522.3.137.127.206.289.206.485 0 .269-.123.485-.369.649-.246.164-.618.245-1.116.245a3.59 3.59 0 01-1.201-.21 3.367 3.367 0 01-1.01-.546l-.431.992c.28.25.662.449 1.144.6.482.15.981.226 1.498.226.588 0 1.086-.092 1.494-.276.409-.183.714-.429.915-.736.2-.308.301-.652.301-1.032 0-.445-.113-.799-.34-1.061a2.1 2.1 0 00-.818-.585 8.9 8.9 0 00-1.226-.368 11.399 11.399 0 01-.862-.246 1.477 1.477 0 01-.522-.294.62.62 0 01-.206-.482c0-.281.12-.507.36-.678.239-.17.604-.255 1.096-.255.3 0 .61.046.929.138.32.091.625.226.92.402l.392-.992a3.292 3.292 0 00-1.025-.452 4.695 4.695 0 00-1.206-.157zm-12.79-.191c-.683 0-1.3.152-1.852.457a3.374 3.374 0 00-1.302 1.262 3.516 3.516 0 00-.474 1.818c0 .674.156 1.28.47 1.817a3.34 3.34 0 001.296 1.263c.551.304 1.17.456 1.853.456a3.85 3.85 0 001.524-.294c.461-.197.85-.482 1.166-.855l-.813-.786c-.49.544-1.093.815-1.81.815-.464 0-.88-.103-1.248-.31a2.212 2.212 0 01-.86-.859 2.5 2.5 0 01-.31-1.247c0-.465.103-.881.31-1.248.206-.367.493-.653.86-.86.368-.206.784-.31 1.249-.31.716 0 1.319.27 1.809.806l.813-.776a3.101 3.101 0 00-1.161-.854 3.814 3.814 0 00-1.52-.295zM20.18 3.25h-1.358v6.882h1.358V3.25zm-13.728 0H3.632v6.882h1.273V8.146H6.45c.594 0 1.11-.098 1.551-.295.44-.196.778-.48 1.013-.85.235-.37.353-.805.353-1.303 0-.505-.118-.94-.353-1.307a2.258 2.258 0 00-1.013-.846c-.44-.197-.957-.295-1.55-.295zM6.3 4.397c.567 0 .997.116 1.29.347.294.23.44.561.44.991 0 .43-.146.76-.44.992-.293.231-.723.347-1.29.347H4.78V4.397H6.3z' fill='%23FFF'/%3E%3C/g%3E%3C/svg%3E \")}.mobile-buttons .btn-checkout{display:none}.btn-checkout{display:none;transition:opacity 0.25s ease;outline:none !important;position:relative;background-color:transparent;border:none;padding:0;cursor:pointer}.btn-checkout:hover,.btn-checkout:focus,.btn-checkout:active{opacity:0.7}.btn-checkout.desktop{top:0;position:absolute;right:-40px}.btn-checkout.desktop.side{top:48px}.btn-checkout.desktop.side.large{right:-46px}.btn-checkout.show{display:flex;justify-content:center;align-items:center}.btn-checkout .counter{visibility:hidden;position:absolute;width:20px;padding-top:6px;padding-right:1px;margin:auto;color:var(--covet-pics-close-button-symbol-color);font-size:11px;text-align:center}.btn-checkout .counter.bounce{visibility:visible;transition:visibility 0.3s;animation:bouncing 1000ms linear both}.mobile-buttons .btn-checkout .counter{width:22px}@media only screen and (max-width: 799.98px){.post-image.arrows-mobile-position-top{padding-top:55px;max-width:100% !important;max-height:100% !important}.btn-checkout.desktop{display:none}.direct-buy-open .popup-content{overflow:hidden}.post-video-element{margin-bottom:10px;max-height:calc(100vh - 65px)}}@media only screen and (min-width: 800px){.post-image{width:auto;overflow:hidden}.popup{align-items:center}.popup .popup-dialog{width:auto;max-width:calc(100vw - 100px)}.popup .popup-dialog .popup-content{flex-direction:row}.popup .popup-dialog .post-image-element,.popup .popup-dialog .post-video-element{max-height:680px}.popup.responsive .popup-dialog .post-image{max-width:unset}.popup.responsive .popup-dialog .post-image-element,.popup.responsive .popup-dialog .post-video-element{max-width:calc(100vw - 360px - 100px);max-height:calc(100vh - 20px);width:auto;height:auto}.popup.animated-browse .popup-content{min-height:0;max-height:100vh;min-width:0;max-width:100vw;transition:all 0.3s linear}}@keyframes bouncing{0%{transform:matrix3d(0.5, 0, 0, 0, 0, 0.5, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}4.7%{transform:matrix3d(0.725, 0, 0, 0, 0, 0.725, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}9.41%{transform:matrix3d(0.942, 0, 0, 0, 0, 0.942, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}14.11%{transform:matrix3d(1.07, 0, 0, 0, 0, 1.07, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}18.72%{transform:matrix3d(1.106, 0, 0, 0, 0, 1.106, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}24.32%{transform:matrix3d(1.075, 0, 0, 0, 0, 1.075, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}29.93%{transform:matrix3d(1.024, 0, 0, 0, 0, 1.024, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}35.54%{transform:matrix3d(0.99, 0, 0, 0, 0, 0.99, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}41.04%{transform:matrix3d(0.98, 0, 0, 0, 0, 0.98, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}52.15%{transform:matrix3d(0.996, 0, 0, 0, 0, 0.996, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}63.26%{transform:matrix3d(1.004, 0, 0, 0, 0, 1.004, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}85.49%{transform:matrix3d(0.999, 0, 0, 0, 0, 0.999, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}100%{transform:matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}}*,*::before,*::after{box-sizing:border-box}:host{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.upload{font-family:var(--covet-font-family);max-width:480px;width:100%;max-height:510px;height:100%;border-radius:8px;background-color:var(--covet-upload-bg-color);padding:46px 64px;box-sizing:border-box;position:relative;display:block;margin:auto;z-index:1}@media only screen and (max-width: 479px){.upload{max-width:calc(100% - 16px);padding:48px 16px 40px 16px}}.upload h1,.upload h2,.upload h3,.upload h4,.upload h5,.upload h6,.upload p{margin-top:0}.upload-close{display:flex;justify-content:center;align-items:center;width:32px;height:32px;overflow:hidden;cursor:pointer;position:absolute;top:0%;right:0%;transform:translate(-16px, 16px);border:none;background-color:transparent}.upload-close:after,.upload-close:before{content:\"\";position:absolute;width:23px;height:2px;left:50%;top:50%;background-color:var(--covet-upload-btn-close-color);transform-origin:center center;transition:background-color 0.3s ease}.upload-close:after{transform:translate(-50%, -50%) rotate(45deg)}.upload-close:before{transform:translate(-50%, -50%) rotate(-45deg)}.upload-close:disabled{cursor:auto}.upload-close:hover:after,.upload-close:hover:before,.upload-close:focus:after,.upload-close:focus:before,.upload-close:active:after,.upload-close:active:before,.upload-close.active:after,.upload-close.active:before{background-color:var(--covet-upload-btn-close-active-color)}.upload-form{width:100%;height:100%;overflow:hidden}.upload-scroll{width:calc(100% + var(--covet-upload-scrollbar-width));display:block;height:100%;overflow-y:scroll;overflow-x:hidden;position:relative;margin-right:calc(var(--covet-upload-scrollbar-width) * -1);padding-right:var(--covet-upload-scrollbar-padding)}.upload-step{width:100%;height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center}.upload-step.step1{transition:opacity 0.5s ease, height 0.5s ease;opacity:1;height:416px}.upload-step.step1.leave{transition:opacity 0.5s ease;opacity:0}.upload-step.step1.enter{transition:opacity 0.25s ease;opacity:1}.upload-step.step1.leave-to{overflow:hidden;height:0;opacity:0}.upload-step.step1.no-skip-btn{height:352px;overflow:hidden}.upload-step.step2{margin-top:20px;height:auto}.upload-step.step2.no-margin{margin-top:0}.upload-step.step3{opacity:0;transition:opacity 0.15s ease-in;transition-delay:0.25s}.upload-step.step3.enter{opacity:1}.upload-step.step4{opacity:0;transition:opacity 0.25s ease-in;transition-delay:0.25s}.upload-step.step4.enter{opacity:1}.upload-step.step4.leave{transition:opacity 0.25s ease-out;opacity:0}.upload-h2{color:var(--covet-upload-title-color);font-size:20px;line-height:24px;text-align:center;font-weight:400;margin-bottom:8px}.upload-h2.top{line-height:1.4;text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.upload-h2.progress{margin-bottom:20px}.upload-h2.step2{opacity:0;transition:opacity 0.2s ease}.upload-h2.step2.enter{opacity:1;transition:opacity 0.1s ease-out}.upload-h2.step4{opacity:0;transition:opacity 0.2s ease}.upload-h2.step4.enter{opacity:1;transition:opacity 0.1s ease-out}.upload-h3{height:16px;color:var(--covet-upload-title-color);font-size:14px;line-height:1.4;text-align:center;font-weight:400;margin-bottom:24px}.upload-text{font-size:11px;line-height:16px;color:var(--covet-upload-text-color);text-align:center;display:block}.upload-text.privacy{font-size:12px;text-align:left;width:100%;margin-bottom:14px}.upload-text.completed{font-size:14px;line-height:20px;margin-bottom:auto}.upload-text-drop{opacity:1;transition:opacity 0.05s ease}.upload-text-drop.no-active{opacity:0}.upload-text-drop.enter{transition:opacity 0.15s ease;opacity:1}.upload-drop{position:relative}.upload-drop-progress{display:block;position:relative;height:5px;margin-left:auto;margin-right:auto;margin-bottom:11px;overflow:hidden;position:absolute;top:5px;left:0;background-color:var(--covet-upload-drop-progress-bg-color);width:0%;transition:width 0.4s ease}.upload-drop-progress.active{width:100%}.upload-drop-progress.no-active{width:0%;transition:none}.upload-drop-progress.leave{transition:opacity 0.1s ease-out;opacity:0}.dropzone{display:flex;justify-content:center;align-items:center;flex-grow:1;width:100%;position:relative}.dropzone-graphics{width:100%;height:280px;border-radius:4px;cursor:pointer;padding:16px;display:flex;flex-direction:column;justify-content:center;align-items:center;background-color:var(--covet-upload-dropzone-bg-color)}.dropzone-graphics .svg-drop-files .path-main{position:relative;top:50%;left:50%;transform-origin:center center;transform:translateX(12.5%);transition:all 0.3s ease}.dropzone-graphics .svg-drop-files .path-main .path-main-paint{fill:var(--covet-upload-icon-dropfiles-color);transition:fill 0.3s ease}.dropzone-graphics .svg-drop-files .path-background{position:relative;transform-origin:center center;transform:rotate(10deg) translate(-2%, 0.5%);opacity:0;transition:all 0.2s ease;transition-delay:0.1s}.dropzone-graphics .svg-drop-files.leave{opacity:0}.dropzone-graphics .svg-drop-files.enter{opacity:1;transition:opacity 0.25s ease-in}.dropzone-graphics:hover .svg-drop-files .path-main,.dropzone-graphics:active .svg-drop-files .path-main,.dropzone-graphics:focus .svg-drop-files .path-main{transform:translateX(3%)}.dropzone-graphics:hover .svg-drop-files .path-main .path-main-paint,.dropzone-graphics:active .svg-drop-files .path-main .path-main-paint,.dropzone-graphics:focus .svg-drop-files .path-main .path-main-paint{fill:var(--covet-upload-dropzone-active-bg-color)}.dropzone-graphics:hover .svg-drop-files .path-background,.dropzone-graphics:active .svg-drop-files .path-background,.dropzone-graphics:focus .svg-drop-files .path-background{transform:rotate(10deg) translate(1%, 0.5%);opacity:1;transition:all 0.3s ease}.form-control{font-family:var(--covet-font-family);font-size:14px;line-height:16px;padding:12px 16px;display:block;width:100%;border:1px solid var(--covet-upload-input-border-color);border-radius:4px;background-color:transparent;margin-bottom:14px;color:var(--covet-upload-input-color);transition:border-color 0.25s ease;outline:none !important;box-shadow:none !important;-webkit-appearance:none;-moz-appearance:none;appearance:none}.form-control::-moz-placeholder{color:var(--covet-upload-input-placeholded-color)}.form-control::placeholder{color:var(--covet-upload-input-placeholded-color)}.form-control:hover,.form-control:active,.form-control:focus,.form-control.active{border:1px solid var(--covet-upload-input-active-border-color);box-shadow:none !important;-webkit-appearance:none;-moz-appearance:none;appearance:none}.form-control.warning{border:1px solid var(--covet-upload-input-warning-border-color)}.upload-gallery{position:absolute;height:232px;width:100%;background-color:var(--covet-upload-gallery-bg-color);border-radius:4px;opacity:0;left:50%;transform-origin:center center;top:50%;transform:translate(-50%, -50%) scale(0.9);transition:transform 0.3s ease-in, opacity 0.3s ease-in;z-index:1;overflow:hidden}.upload-gallery.no-active{z-index:-1}.upload-gallery.active{z-index:1;opacity:1;transform:translate(-50%, -50%) scale(1)}.upload-img-wrap{height:calc(180px * var(--covet-upload-img-ratio));width:calc(180px * var(--covet-upload-img-ratio));border-radius:8px;display:flex;position:absolute;transform-origin:center center;z-index:5;transition:all 0.2s ease;cursor:pointer;left:50%;top:50%;transform:translate(-50%, -50%);will-change:transform;overflow:hidden;cursor:pointer}.upload-img-wrap:after{content:\"\";position:absolute;top:0;left:0;width:100%;height:100%;background-color:transparent;transition:background-color 0.2 ease}.upload-img-wrap:hover:after,.upload-img-wrap:active:after,.upload-img-wrap:focus:after{background-color:var(--covet-upload-img-active-bg-color)}.upload-img-wrap:hover .icon-cross,.upload-img-wrap:active .icon-cross,.upload-img-wrap:focus .icon-cross{opacity:1;z-index:1}@media (any-hover: none){.upload-img-wrap:after{background-color:var(--covet-upload-img-active-bg-color)}.upload-img-wrap .icon-cross{opacity:1;z-index:1}}.upload-img-wrap.before-enter,.upload-img-wrap .leave{pointer-events:none}.upload-img-wrap.wrap-pos-1{transition:transform 0.3s ease;z-index:5}.upload-img-wrap.wrap-pos-1.img-count-1.enter{transform:translate(calc(-50% - 38px * var(--covet-upload-img-ratio)), -50%)}.upload-img-wrap.wrap-pos-1.img-count-2.enter{transform:translate(calc(-50% - 60px * var(--covet-upload-img-ratio)), -50%)}.upload-img-wrap.wrap-pos-1.img-count-3.enter{transform:translate(calc(-50% - 72px * var(--covet-upload-img-ratio)), -50%)}.upload-img-wrap.wrap-pos-1.img-count-4.enter{transform:translate(calc(-50% - 72px * var(--covet-upload-img-ratio)), -50%)}.upload-img-wrap.wrap-pos-1.img-count-1.leave{pointer-events:none;transition:transform 0.2s ease;transform:translate(-50%, -50%)}.upload-img-wrap.wrap-pos-1.img-count-1.leave-to2{pointer-events:none;transition:transform 0.2s ease;transform:translate(-50%, -50%) scale(0.9);opacity:0;pointer-events:none;transition:transform 0.2s ease, opacity 0.2s ease}.upload-img-wrap.wrap-pos-1.img-count-2.leave{pointer-events:none;transition:transform 0.2s ease;transform:translate(-50%, -50%)}.upload-img-wrap.wrap-pos-1.img-count-3.leave{pointer-events:none;transition:transform 0.2s ease;transform:translate(-50%, -50%)}.upload-img-wrap.wrap-pos-1.img-count-4.leave{pointer-events:none;transition:transform 0.2s ease;transform:translate(-50%, -50%)}.upload-img-wrap.wrap-pos-2{z-index:4;transition:transform 0.3s ease-out, opacity 0.3s ease-in;height:calc(140px * var(--covet-upload-img-ratio));width:calc(140px * var(--covet-upload-img-ratio));opacity:0;transform:translate(-50%, -50%) rotate(12deg)}.upload-img-wrap.wrap-pos-2.img-count-1.before-enter{transition-delay:0.1s;transform:translate(calc(-50% - 18px * var(--covet-upload-img-ratio)), -50%) rotate(0deg)}.upload-img-wrap.wrap-pos-2.img-count-1.enter{transform:translate(calc(-50% + 42px * var(--covet-upload-img-ratio)), -50%) rotate(15deg);opacity:1}.upload-img-wrap.wrap-pos-2.img-count-2.before-enter{transition-delay:0.1s;transform:translate(calc(-50% - 40px * var(--covet-upload-img-ratio)), -50%) rotate(0deg)}.upload-img-wrap.wrap-pos-2.img-count-2.enter{transform:translate(calc(-50% + 22px * var(--covet-upload-img-ratio)), -50%) rotate(15deg);opacity:1}.upload-img-wrap.wrap-pos-2.img-count-3.before-enter{transition-delay:0.1s;transform:translate(calc(-50% - 51px * var(--covet-upload-img-ratio)), -50%)}.upload-img-wrap.wrap-pos-2.img-count-3.enter{transform:translate(calc(-50% + 8px * var(--covet-upload-img-ratio)), -50%) rotate(15deg);opacity:1}.upload-img-wrap.wrap-pos-2.img-count-4.before-enter{transition-delay:0.1s;transform:translate(calc(-50% - 51px * var(--covet-upload-img-ratio)), -50%)}.upload-img-wrap.wrap-pos-2.img-count-4.enter{transform:translate(calc(-50% + 8px * var(--covet-upload-img-ratio)), -50%) rotate(15deg);opacity:1}.upload-img-wrap.wrap-pos-2.img-count-1.leave{pointer-events:none;transition:transform 0.2s ease;transform:translate(-50%, -50%)}.upload-img-wrap.wrap-pos-2.img-count-1.leave-to2{pointer-events:none;opacity:0;transition:opacity 0.05s ease}.upload-img-wrap.wrap-pos-2.img-count-2.leave{pointer-events:none;transition:transform 0.2s ease;transform:translate(-50%, -50%)}.upload-img-wrap.wrap-pos-2.img-count-3.leave{pointer-events:none;transition:transform 0.2s ease;transform:translate(-50%, -50%)}.upload-img-wrap.wrap-pos-2.img-count-4.leave{pointer-events:none;transition:transform 0.2s ease;transform:translate(-50%, -50%)}.upload-img-wrap.wrap-pos-3{z-index:3;height:calc(108px * var(--covet-upload-img-ratio));width:calc(108px * var(--covet-upload-img-ratio));transition:transform 0.3s ease-out, opacity 0.3s ease-in;transform:translate(-50%, -26%) rotate(25deg);opacity:0}.upload-img-wrap.wrap-pos-3.img-count-2.before-enter{transition-delay:0.2s;transform:translate(calc(-50% + 35px * var(--covet-upload-img-ratio)), -40%) rotate(15deg)}.upload-img-wrap.wrap-pos-3.img-count-2.enter{transform:translate(calc(-50% + 78px * var(--covet-upload-img-ratio)), -26%) rotate(30deg);opacity:1}.upload-img-wrap.wrap-pos-3.img-count-3.before-enter{transition-delay:0.2s;transform:translate(calc(-50% + 21px * var(--covet-upload-img-ratio)), -38%) rotate(15deg)}.upload-img-wrap.wrap-pos-3.img-count-3.enter{transform:translate(calc(-50% + 76px * var(--covet-upload-img-ratio)), -26%) rotate(30deg);opacity:1}.upload-img-wrap.wrap-pos-3.img-count-4.before-enter{transition-delay:0.2s;transform:translate(calc(-50% + 21px * var(--covet-upload-img-ratio)), -38%) rotate(15deg)}.upload-img-wrap.wrap-pos-3.img-count-4.enter{transform:translate(calc(-50% + 76px * var(--covet-upload-img-ratio)), -26%) rotate(30deg);opacity:1}.upload-img-wrap.wrap-pos-3.img-count-2.leave{pointer-events:none;transition:transform 0.2s ease;transform:translate(-50%, -50%)}.upload-img-wrap.wrap-pos-3.img-count-3.leave{pointer-events:none;transition:transform 0.2s ease;transform:translate(-50%, -50%)}.upload-img-wrap.wrap-pos-3.img-count-4.leave{pointer-events:none;transition:transform 0.2s ease;transform:translate(-50%, -50%)}.upload-img-wrap.wrap-pos-4{z-index:2;height:calc(64px * var(--covet-upload-img-ratio));width:calc(64px * var(--covet-upload-img-ratio));transition:transform 0.3s ease-out, opacity 0.3s ease-in;opacity:0;transform:translate(-50%, 47%) rotate(40deg)}.upload-img-wrap.wrap-pos-4.img-count-3.before-enter{transition-delay:0.3s;transform:translate(calc(-50% + 90px * var(--covet-upload-img-ratio)), 20%) rotate(30deg)}.upload-img-wrap.wrap-pos-4.img-count-3.enter{transform:translate(calc(-50% + 120px * var(--covet-upload-img-ratio)), 47%) rotate(45deg);opacity:1}.upload-img-wrap.wrap-pos-4.img-count-4.before-enter{transition-delay:0.3s;transform:translate(calc(-50% + 90px * var(--covet-upload-img-ratio)), 20%) rotate(30deg)}.upload-img-wrap.wrap-pos-4.img-count-4.enter{transform:translate(calc(-50% + 120px * var(--covet-upload-img-ratio)), 47%) rotate(45deg);opacity:1}.upload-img-wrap.wrap-pos-4.img-count-3.leave{pointer-events:none;transition:transform 0.2s ease;transform:translate(-50%, -50%)}.upload-img-wrap.wrap-pos-4.img-count-4.leave{pointer-events:none;transition:transform 0.2s ease;transform:translate(-50%, -50%)}.upload-img-wrap.upload-img-upload{background-image:url(\"data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' rx='8' ry='8' stroke='%23333' stroke-width='1' stroke-dasharray='6%2c 10' stroke-dashoffset='0' stroke-linecap='square'/%3e%3c/svg%3e\");display:block;background-color:var(--covet-upload-bg-color)}.upload-img-wrap.upload-img-upload:after{display:none}.upload-img-wrap.upload-img-upload:hover:after,.upload-img-wrap.upload-img-upload:active:after,.upload-img-wrap.upload-img-upload:focus:after{display:none}.upload-img{-o-object-fit:cover;object-fit:cover;width:100%;border-radius:8px}.icon-cross{display:flex;justify-content:center;align-items:center;width:12px;height:12px;overflow:hidden;position:absolute;top:calc(16px * var(--covet-upload-img-ratio));right:calc(16px * var(--covet-upload-img-ratio));background-color:transparent;opacity:0;transition:opacity 0.2s ease;transform-origin:center center;will-change:transform}.icon-cross:after,.icon-cross:before{content:\"\";position:absolute;width:13px;height:1px;left:50%;top:50%;background-color:var(--covet-upload-icon-cross-color);transform-origin:center center;transition:background-color 0.3s ease}.icon-cross:after{transform:translate(-50%, -50%) rotate(45deg)}.icon-cross:before{transform:translate(-50%, -50%) rotate(-45deg)}.icon-cross.plus:after{width:12px;transform:translate(-50%, -50%);background-color:var(--covet-upload-icon-plus-color)}.icon-cross.plus:before{transform:translate(-50%, -50%) rotate(90deg);background-color:var(--covet-upload-icon-plus-color);width:12px}.upload-img-count{position:absolute;bottom:9px;right:12px;color:var(--covet-upload-text-color);opacity:0;font-size:12px;transition:opacity 0.2s ease;z-index:1}.upload-img-count.enter{opacity:1}.upload-submit{font-family:var(--covet-font-family);color:var(--covet-upload-btn-submit-color);background-color:var(--covet-upload-btn-submit-bg-color);border-color:var(--covet-upload-btn-submit-border-color);padding:8.5px;font-size:14px;line-height:unset;border-radius:2px;text-align:center;-webkit-user-select:none;-moz-user-select:none;user-select:none;border:1px solid transparent;transition:background-color 0.25s ease;display:block;width:100%;cursor:pointer}.upload-submit:hover,.upload-submit:active,.upload-submit:focus,.upload-submit.active{background-color:var(--covet-upload-btn-submit-active-bg-color)}.upload-submit:disabled{cursor:default;border:1px solid var(--covet-upload-btn-submit-disabled-border-color);background-color:var(--covet-upload-btn-submit-disabled-bg-color)}.upload-submit.reset{background-color:var(--covet-upload-btn-submit-reset-bg-color);padding:12.5px 8.5px;border-bottom-left-radius:4px;border-bottom-right-radius:4px;opacity:0;position:absolute;left:0;bottom:0;transition:background-color 0.25s ease, opacity 0.2s ease}.upload-submit.reset.enter{opacity:1}.icon-down-skip path{fill:var(--covet-upload-icon-down-color)}.btn-skip{color:var(--covet-upload-btn-skip-color);font-family:var(--covet-font-family);font-size:14px;line-height:unset;border:1px solid transparent;border:none;background-color:transparent;cursor:pointer;margin-top:24px;text-transform:uppercase;display:flex;flex-direction:column;align-items:center}.btn-skip:hover,.btn-skip:active,.btn-skip:focus,.btn-skip.active{color:var(--covet-upload-btn-skip-active-color)}.btn-skip:hover .icon-down-skip path,.btn-skip:active .icon-down-skip path,.btn-skip:focus .icon-down-skip path,.btn-skip.active .icon-down-skip path{fill:var(--covet-upload-btn-skip-active-color)}.star-rating{display:flex;justify-content:center;margin-bottom:24px}.star-rating.no-active{visibility:hidden;opacity:0;position:relative;z-index:-1}.icon-star{display:flex;justify-content:center;align-items:center;width:24px;height:24px;margin-right:16px;cursor:pointer}.icon-star:last-child{margin-right:0}.icon-star:after{display:none}.icon-star:hover .svg-star path,.icon-star:active .svg-star path,.icon-star:focus .svg-star path,.icon-star.active .svg-star path{fill:var(--covet-upload-star-active-bg-color)}.icon-star.warning .svg-star path{stroke:var(--covet-upload-star-warning-border-color);stroke-width:0.6}.svg-star{width:100%;height:100%}.svg-star path{stroke-width:0.6;stroke:var(--covet-upload-star-border-color);transition:fill 0.3s ease}.svg-completed{width:96px;height:96px;margin-bottom:6px;margin-top:auto}.progress-bar{width:60%;display:block;margin-left:auto;margin-right:auto}.progress-bar .uppy-ProgressBar{height:5px}.progress-bar .uppy-ProgressBar-inner{background-color:var(--covet-upload-progressbar-color);box-shadow:0 0 10px var(--covet-upload-progressbar-shadow-color)}.notification{display:flex;justify-content:center;align-items:center;position:fixed;bottom:0;left:0;right:0;width:100%;height:60px;z-index:-1}.notification.active{z-index:5}.notification.active .notification-message{opacity:1;transform:translateY(0)}.notification-message{position:relative;width:480px;border-radius:4px;background-color:var(--covet-upload-notification-bg-color);height:50px;top:0;transform:translateY(10px);transition:transform 0.25s ease, opacity 0.25s ease;opacity:0;color:var(--covet-upload-notification-color);padding:10px;font-size:16px;letter-spacing:0.3px}@media only screen and (max-width: 479px){.notification-message{max-width:calc(100% - 32px);font-size:12px;padding:8px 8px}}.hidden{display:none}.invisible{visibility:hidden}";
14477
14477
 
14478
14478
  const UPLOAD_FAILED_TEXT = "Something went wrong. Try again later.";
14479
+ const UPLOAD_FAILED_MESSAGE = "File upload failed because of a server error.";
14479
14480
  const CovetPicsUpload = class {
14480
14481
  constructor(hostRef) {
14481
14482
  index.registerInstance(this, hostRef);
@@ -14728,6 +14729,9 @@ const CovetPicsUpload = class {
14728
14729
  clearAllErrorFile(dropedfiles);
14729
14730
  this.showNotification(error.message);
14730
14731
  });
14732
+ this.uppy.on("upload-error", (_file, error) => {
14733
+ this.showNotification((error === null || error === void 0 ? void 0 : error.message) || UPLOAD_FAILED_MESSAGE);
14734
+ });
14731
14735
  this.uppy.on("complete", (result) => {
14732
14736
  const request = new XMLHttpRequest();
14733
14737
  const payload = {
@@ -14755,6 +14759,11 @@ const CovetPicsUpload = class {
14755
14759
  }
14756
14760
  this.showStep4();
14757
14761
  };
14762
+ // check if any files failed to upload to S3
14763
+ if (result.failed && result.failed.length > 0) {
14764
+ completeCallback(false);
14765
+ return;
14766
+ }
14758
14767
  result.successful.forEach(uploadedImage => {
14759
14768
  // temp. fix - Cloduflare doesn't support POST for R2 (only PUT)
14760
14769
  // https://github.com/transloadit/uppy/issues/724
@@ -14784,8 +14793,16 @@ const CovetPicsUpload = class {
14784
14793
  return;
14785
14794
  }
14786
14795
  request.onload = () => {
14787
- const response = JSON.parse(request.responseText);
14788
- completeCallback(response.success);
14796
+ try {
14797
+ const response = JSON.parse(request.responseText);
14798
+ completeCallback(response.success);
14799
+ }
14800
+ catch (_a) {
14801
+ completeCallback(false);
14802
+ }
14803
+ };
14804
+ request.onerror = () => {
14805
+ completeCallback(false);
14789
14806
  };
14790
14807
  request.open("POST", `${this.appState.url.baseUrl}/api/v1/posts`);
14791
14808
  request.setRequestHeader("Accept", "application/json");
@@ -14821,8 +14838,16 @@ const CovetPicsUpload = class {
14821
14838
  this.showStep4();
14822
14839
  };
14823
14840
  request.onload = () => {
14824
- const response = JSON.parse(request.responseText);
14825
- completeCallback(response.success);
14841
+ try {
14842
+ const response = JSON.parse(request.responseText);
14843
+ completeCallback(response.success);
14844
+ }
14845
+ catch (_a) {
14846
+ completeCallback(false);
14847
+ }
14848
+ };
14849
+ request.onerror = () => {
14850
+ completeCallback(false);
14826
14851
  };
14827
14852
  request.open("POST", `${this.appState.url.baseUrl}/api/v1/posts`);
14828
14853
  request.setRequestHeader("Accept", "application/json");
@@ -15084,10 +15109,10 @@ const CovetPicsUpload = class {
15084
15109
  }
15085
15110
  render() {
15086
15111
  const starsArray = [1, 2, 3, 4, 5];
15087
- return (index.h(index.Host, { key: 'b4cc58ef993fa17d9aad510178c75fd5ff95ff6b', style: this.setPopupCSSVariables(), class: { "needsclick": true, "covet-pics-popup-show": this.uploadIsOpen || this.uploadIsClosing, "covet-pics-popup-open": this.uploadIsOpen } }, index.h("div", { key: '2e3571fc9c541e7e9daef0eba78e4fc66381a0e3', class: { "popup": true, "animated": this.appState.settings.popup_animation, "upload_widget": true, "open": this.uploadIsOpen || this.uploadIsClosing }, tabindex: this.appState.upload.uploadOpen ? 1 : -1, role: "dialog", "aria-label": "Upload" }, index.h("div", { key: 'fdaaa11bf0e62ba0c73e59aafd0ebbb541b76eab', class: "upload" }, !this.standalone &&
15088
- index.h("button", { key: '246e65f57ff8387941d68144106587d4c0adab50', class: "upload-close", type: "button", "data-dismiss": "popup", onClick: this.hidePopupClickHandler, "aria-label": "popup close" }), index.h("form", { key: '58e3c26c191bf07ed4284446db125515b4bc26eb', class: "upload-form" }, index.h("div", { key: 'a670f8dd82639103bdfb9b810b1eb34475421abc', class: "upload-scroll" }, index.h("div", { key: 'a4ff0da04404f05b8814b0bc1fd652c123327957', class: "upload-step step1" }, index.h("h2", { key: 'fece13b3774e8e4b2f0c1d1a46dd5d21db1d1e08', class: "upload-h2" }, this.appState.settings.customer_photo_upload_title), index.h("h3", { key: 'be75359b656f908c1cd78d6b55d9b421e99410f3', class: "upload-h3" }, this.appState.settings.customer_photo_upload_body), index.h("div", { key: '0197c3a72dbd99d36aa530237919e3059ed7a33a', class: "dropzone" }, index.h("div", { key: '4d0d7c7bc468c28931fe10c2a31f448f7c3acf96', class: "dropzone-graphics", onDragOver: this.onDragOverHandler, onDrop: this.onDropHandler, onClick: this.openDialog }, SVGDropdown(), index.h("div", { key: '71b5f589a4583dba0ba8e8305655cf8af65819bc', class: "upload-drop" }, index.h("div", { key: '61fddd0a543635699890805f6e859cc15b74a2b2', class: "upload-text upload-text-drop" }, this.appState.settings.customer_photo_upload_drop_files_label), index.h("span", { key: '18c84be913c41e4c627f67b2c3ad67a5b847b71c', class: "upload-drop-progress" })), index.h("input", { key: '7b0ce2619ef25ba52cee63d4c7be4eee42313ec6', type: "file", hidden: true, name: "files[]", multiple: true, accept: "image/png,image/gif,image/jpg,image/jpeg", onChange: this.onChangeHandler, "aria-label": this.appState.settings.customer_photo_upload_drop_files_label })), index.h("div", { key: 'ae1d0de921bbcc59b69874689dda0c65d26777a8', class: "upload-gallery no-active", onDragOver: this.onDragOverHandler, onDrop: this.onDropHandler }, this.thumbnailLinks.map((link, index$1) => index.h("div", { class: `upload-img-wrap wrap-pos-${index$1 + 1} img-count-${this.thumbnailLinks.length} before-enter`, onClick: (e) => this.onRemoveImageHandler(e, link) }, index.h("img", { src: link, alt: `uploaded img preview ${index$1 + 1}/${this.thumbnailLinks.length}`, class: "upload-img" }), index.h("span", { class: "icon-cross" }))), this.thumbnailLinks.length < 4 &&
15089
- index.h("span", { key: '172a40d78d7494efd375487b1c395cfddb1035bc', class: `upload-img-wrap wrap-pos-${this.thumbnailLinks.length + 1} upload-img-upload img-count-${this.thumbnailLinks.length} before-enter`, onClick: this.onUploadClickHandler }, index.h("span", { key: 'f7cf0bd819268bfb92557248b4d612c4f0f36467', class: "icon-cross plus" }))), index.h("span", { key: 'ffb46ffaa3d110d969665ad5eccb9d51e820e7f9', class: "upload-img-count" }, "(", this.thumbnailLinks.length, "/4)")), index.h("button", { key: '2f43dc947a39f789295111911c99d47ea47cb6e5', type: "button", class: "btn-skip", onClick: () => this.showSkipToStep2(), "aria-label": "skip upload image for text review" }, "Skip", index.h(funcComponents.IconDown, { key: '2684b029a97e26af1f3bdccbd529bd4b71e511e3' }))), index.h("div", { key: 'd7c4d474c005adf46b234b0ea78d3445295f3526', class: "upload-step step2 hidden" }, index.h("div", { key: '88d08c5d1dbe1ee043fc5002e9d4b89eb87629c6', class: { "star-rating": true, "no-active": !this.appState.settings.upload_show_star_rating } }, starsArray.map((el, index$1) => index.h("span", { class: { "icon-star": true, "active": el <= this.starRating, "warning": this.showFormWarning && this.postData["rating"] === null }, onClick: (e) => this.starClickHandler(e, index$1), onMouseEnter: () => { this.starRating = index$1 + 1; this.showFormWarning = false; }, onMouseLeave: () => this.starRating = this.postData["rating"] }, SVGStar()))), index.h("input", { key: '312a087fd91167199f7d7eba0363367842827cde', type: "text", class: { "form-control": true, "warning": this.showFormWarning && !this.isInputValid("source_user_id") }, placeholder: this.appState.settings.customer_photo_upload_form_name_placeholder, name: "source_user_id", onInput: this.postDataChangeHandler, value: this.postData["source_user_id"], required: true, "aria-label": this.appState.settings.customer_photo_upload_form_name_placeholder }), index.h("input", { key: 'da5f32d9a4b1dca50be31ba6b8bef4cb1e443ef2', type: "email", class: { "form-control": true, "warning": this.showFormWarning && !this.isInputValid("source_user_email") }, placeholder: this.appState.settings.customer_photo_upload_form_email_placeholder, name: "source_user_email", onInput: this.postDataChangeHandler, value: this.postData["source_user_email"], required: true, "aria-label": this.appState.settings.customer_photo_upload_form_email_placeholder }), index.h("textarea", { key: '39055d6459c252b9d03ad533614ed4a84f070851', class: { "form-control form-textarea": true, "warning": this.showFormWarning && !this.isInputValid("caption") }, rows: 6, placeholder: this.appState.settings.customer_photo_upload_form_body_placeholder, name: "caption", onInput: this.postDataChangeHandler, value: this.postData["caption"], required: true, "aria-label": this.appState.settings.customer_photo_upload_form_body_placeholder }), this.appState.settings.customer_photo_upload_form_legal_message !== "" &&
15090
- index.h("p", { key: 'ed7c74d002da1f9ceb47a0d81952eab59bbf0c11', class: "upload-text privacy", innerHTML: this.appState.settings.customer_photo_upload_form_legal_message }), index.h("button", { key: '3d9e90c467839eacccd24a23a43cfbf88b2be920', type: "submit", class: { "upload-submit": true }, onClick: this.handleSendClick, "aria-label": this.appState.settings.customer_photo_upload_form_send_label }, this.appState.settings.customer_photo_upload_form_send_label)), index.h("div", { key: 'c8fb4bde1e7d8c38532066c0466b36b7d96fdef4', class: "upload-step step3 hidden" }, index.h("h2", { key: '9be258d1fc473111f3b4f69ccd9b0dd24cf88f1d', class: "upload-h2 progress" }, this.appState.settings.customer_photo_upload_form_uploading), index.h("div", { key: 'df81e5e19551cbc773e68d865fffb66ee0693425', class: "progress-bar" })), index.h("div", { key: '8dd934f002b216e82342d16babd30b6db61bbf64', class: "upload-step step4 hidden" }, SVGCompleted(), index.h("p", { key: 'ceef4b6158e22fd7ff45a16f894dcfb9870e17f0', class: "upload-text completed", innerHTML: this.appState.settings.customer_photo_upload_complete_body }), index.h("button", { key: '49033f773eb5e1b699b48d7c85e438eca4566482', class: "upload-submit close", onClick: this.handleCloseClick, "aria-label": "form submit", type: "button" }, this.appState.settings.customer_photo_upload_complete_close_label))))), index.h("div", { key: 'fbbf586ab96fb9acab9ccce567e4bfdca51e8927', class: "backdrop", onClick: this.hidePopupClickHandler }), index.h("div", { key: '8ecd3e2744ddd11dc368e8a9f5833a9db3a9a342', class: { "notification": true, "active": this.isNotificationActive } }, index.h("p", { key: '00dacefc68700ff10473bec6cf1f8229c55391a7', class: "notification-message" }, "error: ", this.notificationMessage)))));
15112
+ return (index.h(index.Host, { key: '9143f257b7d758e8f1b5bbe0546665bc389e2bdb', style: this.setPopupCSSVariables(), class: { "needsclick": true, "covet-pics-popup-show": this.uploadIsOpen || this.uploadIsClosing, "covet-pics-popup-open": this.uploadIsOpen } }, index.h("div", { key: 'a8f5acf2640a2577da026c26d63ad8b67f885347', class: { "popup": true, "animated": this.appState.settings.popup_animation, "upload_widget": true, "open": this.uploadIsOpen || this.uploadIsClosing }, tabindex: this.appState.upload.uploadOpen ? 1 : -1, role: "dialog", "aria-label": "Upload" }, index.h("div", { key: 'f04a6153756122dd4d49f25479e4244e7a003203', class: "upload" }, !this.standalone &&
15113
+ index.h("button", { key: '182dc4694afd014fc38ab83ddb8b0b56812cafc6', class: "upload-close", type: "button", "data-dismiss": "popup", onClick: this.hidePopupClickHandler, "aria-label": "popup close" }), index.h("form", { key: '5996f8bf6310c55e2c583bd90c7c383f3eb1f507', class: "upload-form" }, index.h("div", { key: '2191b8652a74282e9d60656614e1e1a77e9a1399', class: "upload-scroll" }, index.h("div", { key: '348935730d6af4f842f4ff7a0dba4360644b4c23', class: "upload-step step1" }, index.h("h2", { key: '1c73167488b762c4ea7ddcd0ad501fc20bbaf3c0', class: "upload-h2" }, this.appState.settings.customer_photo_upload_title), index.h("h3", { key: '4fb29973c9532ad2173e7147311726e2c8d3b67a', class: "upload-h3" }, this.appState.settings.customer_photo_upload_body), index.h("div", { key: '3e27ad2e076068f08fb1558df3f627d13e0693e3', class: "dropzone" }, index.h("div", { key: '568f5adb9df71fdc31090bc8e800674c0d7ea6c4', class: "dropzone-graphics", onDragOver: this.onDragOverHandler, onDrop: this.onDropHandler, onClick: this.openDialog }, SVGDropdown(), index.h("div", { key: '18005d2014455898ac7ceedbad67cf9ca122d31f', class: "upload-drop" }, index.h("div", { key: '64fd68d890028d38079047a0332203cf8a55538c', class: "upload-text upload-text-drop" }, this.appState.settings.customer_photo_upload_drop_files_label), index.h("span", { key: '73a28587d90a75e46dbbb28b96f20a361965d84e', class: "upload-drop-progress" })), index.h("input", { key: 'e9e487dadf42c35cf034b9bfc09c00710293980e', type: "file", hidden: true, name: "files[]", multiple: true, accept: "image/png,image/gif,image/jpg,image/jpeg", onChange: this.onChangeHandler, "aria-label": this.appState.settings.customer_photo_upload_drop_files_label })), index.h("div", { key: 'acedd1074be1ee7d4ada2f499ef185ae3c6213a6', class: "upload-gallery no-active", onDragOver: this.onDragOverHandler, onDrop: this.onDropHandler }, this.thumbnailLinks.map((link, index$1) => index.h("div", { class: `upload-img-wrap wrap-pos-${index$1 + 1} img-count-${this.thumbnailLinks.length} before-enter`, onClick: (e) => this.onRemoveImageHandler(e, link) }, index.h("img", { src: link, alt: `uploaded img preview ${index$1 + 1}/${this.thumbnailLinks.length}`, class: "upload-img" }), index.h("span", { class: "icon-cross" }))), this.thumbnailLinks.length < 4 &&
15114
+ index.h("span", { key: 'ae0db4872313a47bb3fdd9fbeb8ca890d8f4587f', class: `upload-img-wrap wrap-pos-${this.thumbnailLinks.length + 1} upload-img-upload img-count-${this.thumbnailLinks.length} before-enter`, onClick: this.onUploadClickHandler }, index.h("span", { key: '6088bf765ea3e0ddc6a94d9c95bfc45d6ef4ae34', class: "icon-cross plus" }))), index.h("span", { key: 'c03082a249317fab2130c1d29493e86118697703', class: "upload-img-count" }, "(", this.thumbnailLinks.length, "/4)")), index.h("button", { key: 'e6b9331b962242531e9f01901adddc5391345062', type: "button", class: "btn-skip", onClick: () => this.showSkipToStep2(), "aria-label": "skip upload image for text review" }, "Skip", index.h(funcComponents.IconDown, { key: '1e48b5d689ebd74416ca2fa361d8bd19e318201d' }))), index.h("div", { key: 'f72a1042ff8ab0de2ed3e338280fb7e74f753c94', class: "upload-step step2 hidden" }, index.h("div", { key: '2439035c8f0afb0c53111cf68f591344959c6681', class: { "star-rating": true, "no-active": !this.appState.settings.upload_show_star_rating } }, starsArray.map((el, index$1) => index.h("span", { class: { "icon-star": true, "active": el <= this.starRating, "warning": this.showFormWarning && this.postData["rating"] === null }, onClick: (e) => this.starClickHandler(e, index$1), onMouseEnter: () => { this.starRating = index$1 + 1; this.showFormWarning = false; }, onMouseLeave: () => this.starRating = this.postData["rating"] }, SVGStar()))), index.h("input", { key: 'e3392f57d5d87e7f9229ce595ccaca9f6f830698', type: "text", class: { "form-control": true, "warning": this.showFormWarning && !this.isInputValid("source_user_id") }, placeholder: this.appState.settings.customer_photo_upload_form_name_placeholder, name: "source_user_id", onInput: this.postDataChangeHandler, value: this.postData["source_user_id"], required: true, "aria-label": this.appState.settings.customer_photo_upload_form_name_placeholder }), index.h("input", { key: '550800038ce600760b7d2f9a1b802bc3a95d3f32', type: "email", class: { "form-control": true, "warning": this.showFormWarning && !this.isInputValid("source_user_email") }, placeholder: this.appState.settings.customer_photo_upload_form_email_placeholder, name: "source_user_email", onInput: this.postDataChangeHandler, value: this.postData["source_user_email"], required: true, "aria-label": this.appState.settings.customer_photo_upload_form_email_placeholder }), index.h("textarea", { key: '6361310303bdec67d6b3eeb6f7a21ea92025a311', class: { "form-control form-textarea": true, "warning": this.showFormWarning && !this.isInputValid("caption") }, rows: 6, placeholder: this.appState.settings.customer_photo_upload_form_body_placeholder, name: "caption", onInput: this.postDataChangeHandler, value: this.postData["caption"], required: true, "aria-label": this.appState.settings.customer_photo_upload_form_body_placeholder }), this.appState.settings.customer_photo_upload_form_legal_message !== "" &&
15115
+ index.h("p", { key: '789a4b22a02d4706ab22b7c7e839f7f8ce243da2', class: "upload-text privacy", innerHTML: this.appState.settings.customer_photo_upload_form_legal_message }), index.h("button", { key: 'a105efeb8f071c9ba579bc84f94988cb2dee4f31', type: "submit", class: { "upload-submit": true }, onClick: this.handleSendClick, "aria-label": this.appState.settings.customer_photo_upload_form_send_label }, this.appState.settings.customer_photo_upload_form_send_label)), index.h("div", { key: '0ce76735427b05d32dcef8efb57c94db86bf7c3d', class: "upload-step step3 hidden" }, index.h("h2", { key: '176274ad5d8f5462863a61e47f7d077b6ee95039', class: "upload-h2 progress" }, this.appState.settings.customer_photo_upload_form_uploading), index.h("div", { key: '18273ae02b7b5a82a031c30f0cf42dfc25c576ab', class: "progress-bar" })), index.h("div", { key: 'fbc484faa9d98f5a973ee940955a3778f93b4b51', class: "upload-step step4 hidden" }, SVGCompleted(), index.h("p", { key: '7702c738a2e802f9519b8cd01c0e07dc7ad1dc5e', class: "upload-text completed", innerHTML: this.appState.settings.customer_photo_upload_complete_body }), index.h("button", { key: '1e7cf0c2b5af4630480b6e0415fb5ff29eca0000', class: "upload-submit close", onClick: this.handleCloseClick, "aria-label": "form submit", type: "button" }, this.appState.settings.customer_photo_upload_complete_close_label))))), index.h("div", { key: '724cc9ff76567c5caceb22f58e2e9418cb59d44d', class: "backdrop", onClick: this.hidePopupClickHandler }), index.h("div", { key: 'b4c99b094f0fb2afe2758c3b85626eb6d7472910', class: { "notification": true, "active": this.isNotificationActive } }, index.h("p", { key: 'b789b2be0332bf5d6560df2d146eb608735bad97', class: "notification-message" }, "error: ", this.notificationMessage)))));
15091
15116
  }
15092
15117
  get el() { return index.getElement(this); }
15093
15118
  static get watchers() { return {
@@ -12,6 +12,7 @@ import { SVGDropdown, SVGCompleted, SVGStar } from "./covet-pics-upload-svg";
12
12
  import { setUploadClose, setUploadOpen } from "../../store/upload";
13
13
  import { IconDown } from "../../utils/funcComponents";
14
14
  const UPLOAD_FAILED_TEXT = "Something went wrong. Try again later.";
15
+ const UPLOAD_FAILED_MESSAGE = "File upload failed because of a server error.";
15
16
  export class CovetPicsUpload {
16
17
  constructor() {
17
18
  /**
@@ -261,6 +262,9 @@ export class CovetPicsUpload {
261
262
  clearAllErrorFile(dropedfiles);
262
263
  this.showNotification(error.message);
263
264
  });
265
+ this.uppy.on("upload-error", (_file, error) => {
266
+ this.showNotification((error === null || error === void 0 ? void 0 : error.message) || UPLOAD_FAILED_MESSAGE);
267
+ });
264
268
  this.uppy.on("complete", (result) => {
265
269
  const request = new XMLHttpRequest();
266
270
  const payload = {
@@ -288,6 +292,11 @@ export class CovetPicsUpload {
288
292
  }
289
293
  this.showStep4();
290
294
  };
295
+ // check if any files failed to upload to S3
296
+ if (result.failed && result.failed.length > 0) {
297
+ completeCallback(false);
298
+ return;
299
+ }
291
300
  result.successful.forEach(uploadedImage => {
292
301
  // temp. fix - Cloduflare doesn't support POST for R2 (only PUT)
293
302
  // https://github.com/transloadit/uppy/issues/724
@@ -317,8 +326,16 @@ export class CovetPicsUpload {
317
326
  return;
318
327
  }
319
328
  request.onload = () => {
320
- const response = JSON.parse(request.responseText);
321
- completeCallback(response.success);
329
+ try {
330
+ const response = JSON.parse(request.responseText);
331
+ completeCallback(response.success);
332
+ }
333
+ catch (_a) {
334
+ completeCallback(false);
335
+ }
336
+ };
337
+ request.onerror = () => {
338
+ completeCallback(false);
322
339
  };
323
340
  request.open("POST", `${this.appState.url.baseUrl}/api/v1/posts`);
324
341
  request.setRequestHeader("Accept", "application/json");
@@ -354,8 +371,16 @@ export class CovetPicsUpload {
354
371
  this.showStep4();
355
372
  };
356
373
  request.onload = () => {
357
- const response = JSON.parse(request.responseText);
358
- completeCallback(response.success);
374
+ try {
375
+ const response = JSON.parse(request.responseText);
376
+ completeCallback(response.success);
377
+ }
378
+ catch (_a) {
379
+ completeCallback(false);
380
+ }
381
+ };
382
+ request.onerror = () => {
383
+ completeCallback(false);
359
384
  };
360
385
  request.open("POST", `${this.appState.url.baseUrl}/api/v1/posts`);
361
386
  request.setRequestHeader("Accept", "application/json");
@@ -617,10 +642,10 @@ export class CovetPicsUpload {
617
642
  }
618
643
  render() {
619
644
  const starsArray = [1, 2, 3, 4, 5];
620
- return (h(Host, { key: 'b4cc58ef993fa17d9aad510178c75fd5ff95ff6b', style: this.setPopupCSSVariables(), class: { "needsclick": true, "covet-pics-popup-show": this.uploadIsOpen || this.uploadIsClosing, "covet-pics-popup-open": this.uploadIsOpen } }, h("div", { key: '2e3571fc9c541e7e9daef0eba78e4fc66381a0e3', class: { "popup": true, "animated": this.appState.settings.popup_animation, "upload_widget": true, "open": this.uploadIsOpen || this.uploadIsClosing }, tabindex: this.appState.upload.uploadOpen ? 1 : -1, role: "dialog", "aria-label": "Upload" }, h("div", { key: 'fdaaa11bf0e62ba0c73e59aafd0ebbb541b76eab', class: "upload" }, !this.standalone &&
621
- h("button", { key: '246e65f57ff8387941d68144106587d4c0adab50', class: "upload-close", type: "button", "data-dismiss": "popup", onClick: this.hidePopupClickHandler, "aria-label": "popup close" }), h("form", { key: '58e3c26c191bf07ed4284446db125515b4bc26eb', class: "upload-form" }, h("div", { key: 'a670f8dd82639103bdfb9b810b1eb34475421abc', class: "upload-scroll" }, h("div", { key: 'a4ff0da04404f05b8814b0bc1fd652c123327957', class: "upload-step step1" }, h("h2", { key: 'fece13b3774e8e4b2f0c1d1a46dd5d21db1d1e08', class: "upload-h2" }, this.appState.settings.customer_photo_upload_title), h("h3", { key: 'be75359b656f908c1cd78d6b55d9b421e99410f3', class: "upload-h3" }, this.appState.settings.customer_photo_upload_body), h("div", { key: '0197c3a72dbd99d36aa530237919e3059ed7a33a', class: "dropzone" }, h("div", { key: '4d0d7c7bc468c28931fe10c2a31f448f7c3acf96', class: "dropzone-graphics", onDragOver: this.onDragOverHandler, onDrop: this.onDropHandler, onClick: this.openDialog }, SVGDropdown(), h("div", { key: '71b5f589a4583dba0ba8e8305655cf8af65819bc', class: "upload-drop" }, h("div", { key: '61fddd0a543635699890805f6e859cc15b74a2b2', class: "upload-text upload-text-drop" }, this.appState.settings.customer_photo_upload_drop_files_label), h("span", { key: '18c84be913c41e4c627f67b2c3ad67a5b847b71c', class: "upload-drop-progress" })), h("input", { key: '7b0ce2619ef25ba52cee63d4c7be4eee42313ec6', type: "file", hidden: true, name: "files[]", multiple: true, accept: "image/png,image/gif,image/jpg,image/jpeg", onChange: this.onChangeHandler, "aria-label": this.appState.settings.customer_photo_upload_drop_files_label })), h("div", { key: 'ae1d0de921bbcc59b69874689dda0c65d26777a8', class: "upload-gallery no-active", onDragOver: this.onDragOverHandler, onDrop: this.onDropHandler }, this.thumbnailLinks.map((link, index) => h("div", { class: `upload-img-wrap wrap-pos-${index + 1} img-count-${this.thumbnailLinks.length} before-enter`, onClick: (e) => this.onRemoveImageHandler(e, link) }, h("img", { src: link, alt: `uploaded img preview ${index + 1}/${this.thumbnailLinks.length}`, class: "upload-img" }), h("span", { class: "icon-cross" }))), this.thumbnailLinks.length < 4 &&
622
- h("span", { key: '172a40d78d7494efd375487b1c395cfddb1035bc', class: `upload-img-wrap wrap-pos-${this.thumbnailLinks.length + 1} upload-img-upload img-count-${this.thumbnailLinks.length} before-enter`, onClick: this.onUploadClickHandler }, h("span", { key: 'f7cf0bd819268bfb92557248b4d612c4f0f36467', class: "icon-cross plus" }))), h("span", { key: 'ffb46ffaa3d110d969665ad5eccb9d51e820e7f9', class: "upload-img-count" }, "(", this.thumbnailLinks.length, "/4)")), h("button", { key: '2f43dc947a39f789295111911c99d47ea47cb6e5', type: "button", class: "btn-skip", onClick: () => this.showSkipToStep2(), "aria-label": "skip upload image for text review" }, "Skip", h(IconDown, { key: '2684b029a97e26af1f3bdccbd529bd4b71e511e3' }))), h("div", { key: 'd7c4d474c005adf46b234b0ea78d3445295f3526', class: "upload-step step2 hidden" }, h("div", { key: '88d08c5d1dbe1ee043fc5002e9d4b89eb87629c6', class: { "star-rating": true, "no-active": !this.appState.settings.upload_show_star_rating } }, starsArray.map((el, index) => h("span", { class: { "icon-star": true, "active": el <= this.starRating, "warning": this.showFormWarning && this.postData["rating"] === null }, onClick: (e) => this.starClickHandler(e, index), onMouseEnter: () => { this.starRating = index + 1; this.showFormWarning = false; }, onMouseLeave: () => this.starRating = this.postData["rating"] }, SVGStar()))), h("input", { key: '312a087fd91167199f7d7eba0363367842827cde', type: "text", class: { "form-control": true, "warning": this.showFormWarning && !this.isInputValid("source_user_id") }, placeholder: this.appState.settings.customer_photo_upload_form_name_placeholder, name: "source_user_id", onInput: this.postDataChangeHandler, value: this.postData["source_user_id"], required: true, "aria-label": this.appState.settings.customer_photo_upload_form_name_placeholder }), h("input", { key: 'da5f32d9a4b1dca50be31ba6b8bef4cb1e443ef2', type: "email", class: { "form-control": true, "warning": this.showFormWarning && !this.isInputValid("source_user_email") }, placeholder: this.appState.settings.customer_photo_upload_form_email_placeholder, name: "source_user_email", onInput: this.postDataChangeHandler, value: this.postData["source_user_email"], required: true, "aria-label": this.appState.settings.customer_photo_upload_form_email_placeholder }), h("textarea", { key: '39055d6459c252b9d03ad533614ed4a84f070851', class: { "form-control form-textarea": true, "warning": this.showFormWarning && !this.isInputValid("caption") }, rows: 6, placeholder: this.appState.settings.customer_photo_upload_form_body_placeholder, name: "caption", onInput: this.postDataChangeHandler, value: this.postData["caption"], required: true, "aria-label": this.appState.settings.customer_photo_upload_form_body_placeholder }), this.appState.settings.customer_photo_upload_form_legal_message !== "" &&
623
- h("p", { key: 'ed7c74d002da1f9ceb47a0d81952eab59bbf0c11', class: "upload-text privacy", innerHTML: this.appState.settings.customer_photo_upload_form_legal_message }), h("button", { key: '3d9e90c467839eacccd24a23a43cfbf88b2be920', type: "submit", class: { "upload-submit": true }, onClick: this.handleSendClick, "aria-label": this.appState.settings.customer_photo_upload_form_send_label }, this.appState.settings.customer_photo_upload_form_send_label)), h("div", { key: 'c8fb4bde1e7d8c38532066c0466b36b7d96fdef4', class: "upload-step step3 hidden" }, h("h2", { key: '9be258d1fc473111f3b4f69ccd9b0dd24cf88f1d', class: "upload-h2 progress" }, this.appState.settings.customer_photo_upload_form_uploading), h("div", { key: 'df81e5e19551cbc773e68d865fffb66ee0693425', class: "progress-bar" })), h("div", { key: '8dd934f002b216e82342d16babd30b6db61bbf64', class: "upload-step step4 hidden" }, SVGCompleted(), h("p", { key: 'ceef4b6158e22fd7ff45a16f894dcfb9870e17f0', class: "upload-text completed", innerHTML: this.appState.settings.customer_photo_upload_complete_body }), h("button", { key: '49033f773eb5e1b699b48d7c85e438eca4566482', class: "upload-submit close", onClick: this.handleCloseClick, "aria-label": "form submit", type: "button" }, this.appState.settings.customer_photo_upload_complete_close_label))))), h("div", { key: 'fbbf586ab96fb9acab9ccce567e4bfdca51e8927', class: "backdrop", onClick: this.hidePopupClickHandler }), h("div", { key: '8ecd3e2744ddd11dc368e8a9f5833a9db3a9a342', class: { "notification": true, "active": this.isNotificationActive } }, h("p", { key: '00dacefc68700ff10473bec6cf1f8229c55391a7', class: "notification-message" }, "error: ", this.notificationMessage)))));
645
+ return (h(Host, { key: '9143f257b7d758e8f1b5bbe0546665bc389e2bdb', style: this.setPopupCSSVariables(), class: { "needsclick": true, "covet-pics-popup-show": this.uploadIsOpen || this.uploadIsClosing, "covet-pics-popup-open": this.uploadIsOpen } }, h("div", { key: 'a8f5acf2640a2577da026c26d63ad8b67f885347', class: { "popup": true, "animated": this.appState.settings.popup_animation, "upload_widget": true, "open": this.uploadIsOpen || this.uploadIsClosing }, tabindex: this.appState.upload.uploadOpen ? 1 : -1, role: "dialog", "aria-label": "Upload" }, h("div", { key: 'f04a6153756122dd4d49f25479e4244e7a003203', class: "upload" }, !this.standalone &&
646
+ h("button", { key: '182dc4694afd014fc38ab83ddb8b0b56812cafc6', class: "upload-close", type: "button", "data-dismiss": "popup", onClick: this.hidePopupClickHandler, "aria-label": "popup close" }), h("form", { key: '5996f8bf6310c55e2c583bd90c7c383f3eb1f507', class: "upload-form" }, h("div", { key: '2191b8652a74282e9d60656614e1e1a77e9a1399', class: "upload-scroll" }, h("div", { key: '348935730d6af4f842f4ff7a0dba4360644b4c23', class: "upload-step step1" }, h("h2", { key: '1c73167488b762c4ea7ddcd0ad501fc20bbaf3c0', class: "upload-h2" }, this.appState.settings.customer_photo_upload_title), h("h3", { key: '4fb29973c9532ad2173e7147311726e2c8d3b67a', class: "upload-h3" }, this.appState.settings.customer_photo_upload_body), h("div", { key: '3e27ad2e076068f08fb1558df3f627d13e0693e3', class: "dropzone" }, h("div", { key: '568f5adb9df71fdc31090bc8e800674c0d7ea6c4', class: "dropzone-graphics", onDragOver: this.onDragOverHandler, onDrop: this.onDropHandler, onClick: this.openDialog }, SVGDropdown(), h("div", { key: '18005d2014455898ac7ceedbad67cf9ca122d31f', class: "upload-drop" }, h("div", { key: '64fd68d890028d38079047a0332203cf8a55538c', class: "upload-text upload-text-drop" }, this.appState.settings.customer_photo_upload_drop_files_label), h("span", { key: '73a28587d90a75e46dbbb28b96f20a361965d84e', class: "upload-drop-progress" })), h("input", { key: 'e9e487dadf42c35cf034b9bfc09c00710293980e', type: "file", hidden: true, name: "files[]", multiple: true, accept: "image/png,image/gif,image/jpg,image/jpeg", onChange: this.onChangeHandler, "aria-label": this.appState.settings.customer_photo_upload_drop_files_label })), h("div", { key: 'acedd1074be1ee7d4ada2f499ef185ae3c6213a6', class: "upload-gallery no-active", onDragOver: this.onDragOverHandler, onDrop: this.onDropHandler }, this.thumbnailLinks.map((link, index) => h("div", { class: `upload-img-wrap wrap-pos-${index + 1} img-count-${this.thumbnailLinks.length} before-enter`, onClick: (e) => this.onRemoveImageHandler(e, link) }, h("img", { src: link, alt: `uploaded img preview ${index + 1}/${this.thumbnailLinks.length}`, class: "upload-img" }), h("span", { class: "icon-cross" }))), this.thumbnailLinks.length < 4 &&
647
+ h("span", { key: 'ae0db4872313a47bb3fdd9fbeb8ca890d8f4587f', class: `upload-img-wrap wrap-pos-${this.thumbnailLinks.length + 1} upload-img-upload img-count-${this.thumbnailLinks.length} before-enter`, onClick: this.onUploadClickHandler }, h("span", { key: '6088bf765ea3e0ddc6a94d9c95bfc45d6ef4ae34', class: "icon-cross plus" }))), h("span", { key: 'c03082a249317fab2130c1d29493e86118697703', class: "upload-img-count" }, "(", this.thumbnailLinks.length, "/4)")), h("button", { key: 'e6b9331b962242531e9f01901adddc5391345062', type: "button", class: "btn-skip", onClick: () => this.showSkipToStep2(), "aria-label": "skip upload image for text review" }, "Skip", h(IconDown, { key: '1e48b5d689ebd74416ca2fa361d8bd19e318201d' }))), h("div", { key: 'f72a1042ff8ab0de2ed3e338280fb7e74f753c94', class: "upload-step step2 hidden" }, h("div", { key: '2439035c8f0afb0c53111cf68f591344959c6681', class: { "star-rating": true, "no-active": !this.appState.settings.upload_show_star_rating } }, starsArray.map((el, index) => h("span", { class: { "icon-star": true, "active": el <= this.starRating, "warning": this.showFormWarning && this.postData["rating"] === null }, onClick: (e) => this.starClickHandler(e, index), onMouseEnter: () => { this.starRating = index + 1; this.showFormWarning = false; }, onMouseLeave: () => this.starRating = this.postData["rating"] }, SVGStar()))), h("input", { key: 'e3392f57d5d87e7f9229ce595ccaca9f6f830698', type: "text", class: { "form-control": true, "warning": this.showFormWarning && !this.isInputValid("source_user_id") }, placeholder: this.appState.settings.customer_photo_upload_form_name_placeholder, name: "source_user_id", onInput: this.postDataChangeHandler, value: this.postData["source_user_id"], required: true, "aria-label": this.appState.settings.customer_photo_upload_form_name_placeholder }), h("input", { key: '550800038ce600760b7d2f9a1b802bc3a95d3f32', type: "email", class: { "form-control": true, "warning": this.showFormWarning && !this.isInputValid("source_user_email") }, placeholder: this.appState.settings.customer_photo_upload_form_email_placeholder, name: "source_user_email", onInput: this.postDataChangeHandler, value: this.postData["source_user_email"], required: true, "aria-label": this.appState.settings.customer_photo_upload_form_email_placeholder }), h("textarea", { key: '6361310303bdec67d6b3eeb6f7a21ea92025a311', class: { "form-control form-textarea": true, "warning": this.showFormWarning && !this.isInputValid("caption") }, rows: 6, placeholder: this.appState.settings.customer_photo_upload_form_body_placeholder, name: "caption", onInput: this.postDataChangeHandler, value: this.postData["caption"], required: true, "aria-label": this.appState.settings.customer_photo_upload_form_body_placeholder }), this.appState.settings.customer_photo_upload_form_legal_message !== "" &&
648
+ h("p", { key: '789a4b22a02d4706ab22b7c7e839f7f8ce243da2', class: "upload-text privacy", innerHTML: this.appState.settings.customer_photo_upload_form_legal_message }), h("button", { key: 'a105efeb8f071c9ba579bc84f94988cb2dee4f31', type: "submit", class: { "upload-submit": true }, onClick: this.handleSendClick, "aria-label": this.appState.settings.customer_photo_upload_form_send_label }, this.appState.settings.customer_photo_upload_form_send_label)), h("div", { key: '0ce76735427b05d32dcef8efb57c94db86bf7c3d', class: "upload-step step3 hidden" }, h("h2", { key: '176274ad5d8f5462863a61e47f7d077b6ee95039', class: "upload-h2 progress" }, this.appState.settings.customer_photo_upload_form_uploading), h("div", { key: '18273ae02b7b5a82a031c30f0cf42dfc25c576ab', class: "progress-bar" })), h("div", { key: 'fbc484faa9d98f5a973ee940955a3778f93b4b51', class: "upload-step step4 hidden" }, SVGCompleted(), h("p", { key: '7702c738a2e802f9519b8cd01c0e07dc7ad1dc5e', class: "upload-text completed", innerHTML: this.appState.settings.customer_photo_upload_complete_body }), h("button", { key: '1e7cf0c2b5af4630480b6e0415fb5ff29eca0000', class: "upload-submit close", onClick: this.handleCloseClick, "aria-label": "form submit", type: "button" }, this.appState.settings.customer_photo_upload_complete_close_label))))), h("div", { key: '724cc9ff76567c5caceb22f58e2e9418cb59d44d', class: "backdrop", onClick: this.hidePopupClickHandler }), h("div", { key: 'b4c99b094f0fb2afe2758c3b85626eb6d7472910', class: { "notification": true, "active": this.isNotificationActive } }, h("p", { key: 'b789b2be0332bf5d6560df2d146eb608735bad97', class: "notification-message" }, "error: ", this.notificationMessage)))));
624
649
  }
625
650
  static get is() { return "covet-pics-upload"; }
626
651
  static get encapsulation() { return "shadow"; }
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Copyright by Space Squirrel Ltd.
3
3
  */
4
- import{p as e,b as t}from"./p-DuzFSMH7.js";export{s as setNonce}from"./p-DuzFSMH7.js";import{g as i}from"./p-CWiAxP5O.js";(()=>{const t=import.meta.url,i={};return""!==t&&(i.resourcesUrl=new URL(".",t).href),e(i)})().then((async e=>(await i(),t([["p-97e62926",[[1,"covet-pics-post",{postId:[2,"post-id"],environment:[1],item:[32],fetchingError:[32]}]]],["p-61c2e607",[[0,"covet-pics-crop-text",{text:[1],textClass:[1,"text-class"],textColor:[1,"text-color"],ratio:[16],cropCSS:[32]}]]],["p-bba2df15",[[1,"covet-pics-star-rating",{rating:[2],ratingCount:[2,"rating-count"],starColor:[1,"star-color"],emptyStarColor:[1,"empty-star-color"],starBorderColor:[1,"star-border-color"],starBorderWidth:[2,"star-border-width"],starSize:[2,"star-size"],spaceStars:[2,"space-stars"],spaceStarsText:[2,"space-stars-text"],showLabel:[4,"show-label"],label:[1]}]]],["p-12c8756e",[[0,"covet-pics-highlighted-page",{thumbnailUrl:[1,"thumbnail-url"],thumbnailAlt:[1,"thumbnail-alt"],ariaLabel:[1,"aria-label"],thumbnailLayout:[1,"thumbnail-layout"],videoUrl:[1,"video-url"],videoPoster:[1,"video-poster"],thumbnailCarouselImages:[16,"thumbnail-carousel-images"],productLinks:[16,"product-links"],productBaseImgAlt:[1,"product-base-img-alt"],reverseClass:[1,"reverse-class"],isMobile:[4,"is-mobile"],pageIndex:[2,"page-index"],caption:[1],rating:[2],createdTime:[1,"created-time"],userName:[1,"user-name"],mainSliderIndex:[2,"main-slider-index"],pageId:[2,"page-id"],appStore:[16,"app-store"],hideHotspots:[32],activeProductIndex:[32],hoverHotspot:[32]},[[0,"changeActiveHotspot","onChangeActiveHotspot"]]],[0,"covet-pics-highlighted-hotspots",{links:[16],activeHotspot:[2,"active-hotspot"],thumbnailUrl:[1,"thumbnail-url"],hoverHotspot:[2,"hover-hotspot"],isMobile:[4,"is-mobile"],productBaseImgAlt:[1,"product-base-img-alt"],pageId:[2,"page-id"],appStore:[16,"app-store"]},null,{thumbnailUrl:["refreshHotspot"],activeHotspot:["activeHotspotHandler"]}]]],["p-408dfc96",[[0,"covet-pics-gallery-header",{rating:[2],productTitle:[1,"product-title"],breakdown:[16],appStore:[16,"app-store"],showBreakdownDropdown:[32],showSortDropdown:[32],isDesktopScreen:[32]}],[0,"covet-pics-gallery-item",{altTag:[1,"alt-tag"],highlighted:[4],imageUrl:[1,"image-url"],rating:[2],itemWidth:[2,"item-width"],userName:[1,"user-name"],createdTime:[1,"created-time"],caption:[1],itemType:[1,"item-type"],imageHighResolutionUrl:[1,"image-high-resolution-url"],imageResponsiveSizes:[1,"image-responsive-sizes"],itemId:[1,"item-id"],itemSource:[1,"item-source"],links:[16],url:[1],videoUrl:[1,"video-url"],itemIndex:[2,"item-index"],itemSize:[1,"item-size"],appStore:[16,"app-store"],tabIndex:[32],sliderIndex:[32],showImageAsVideoPoster:[32]},[[10,"updateUploadWidgetCover","updateUploadWidgetCoverHandler"]],{sliderIndex:["autoPlayVideos"]}],[0,"covet-pics-gallery-item-detail",{altTag:[1,"alt-tag"],highlighted:[4],verified:[4],imageUrl:[1,"image-url"],imageHighResolutionUrl:[1,"image-high-resolution-url"],imageResponsiveSizes:[1,"image-responsive-sizes"],videoUrl:[1,"video-url"],itemId:[1,"item-id"],itemSource:[1,"item-source"],itemType:[1,"item-type"],links:[16],url:[1],rating:[2],userName:[1,"user-name"],caption:[1],createdTime:[1,"created-time"],itemIndex:[2,"item-index"],itemSize:[1,"item-size"],appStore:[16,"app-store"],tabIndex:[32],captionCSS:[32],reviewClass:[32],starOnlyClass:[32],highlightedClass:[32],sliderIndex:[32],showImageAsVideoPoster:[32]},[[10,"updateUploadWidgetCover","updateUploadWidgetCoverHandler"],[8,"elementResize","elementResizeHandler"]],{sliderIndex:["autoPlayVideos"]}]]],["p-2cb934cb",[[0,"covet-pics-popup-slide",{item:[16],showCaption:[4,"show-caption"],showStarRating:[4,"show-star-rating"],sharedLinkEnable:[4,"shared-link-enable"],dataLoaded:[32],isPlaying:[32],isMuted:[32],carouselIndex:[32],videoProgress:[32],showCarouselVideoControls:[32],loadMedia:[64],videoPlay:[64],videoPause:[64],videoSoundOff:[64],videoSoundOn:[64]}],[0,"covet-pics-popup-freeflow-carousel",{item:[16],isEnabled:[4,"is-enabled"],dataLoaded:[1,"data-loaded"],sliderIndex:[32],videoPlay:[64],videoPause:[64],videoSoundOn:[64],videoSoundOff:[64],pauseAllVideos:[64]},null,{isEnabled:["enableSlider"],dataLoaded:["lazyLoadMedia"],sliderIndex:["updateSliderIndex"]}],[1,"covet-pics-popup-freeflow-links",{links:[16],itemCreatedTime:[1,"item-created-time"],isSliderEnabled:[4,"is-slider-enabled"]},null,{isSliderEnabled:["enableSlider"]}]]],["p-a71aa5d9",[[0,"covet-pics-direct-buy",{covetProduct:[16,"covet-product"],itemId:[1,"item-id"],appStore:[16,"app-store"],settings:[32],selectedVariant:[32],product:[32],options:[32],selectedOptions:[32],shopCartState:[32],isAvailableForSale:[32]}],[0,"covet-pics-hotspots",{links:[16],backgroundColor:[1,"background-color"],textColor:[1,"text-color"],showNumbers:[4,"show-numbers"]},[[0,"linkInactivate","linkInactivateHandler"],[0,"linkActivate","linkActivateHandler"]]],[0,"covet-pics-popup-links",{links:[16],greyBorderClass:[1,"grey-border-class"],itemCreatedTime:[1,"item-created-time"],appStore:[16,"app-store"],settings:[32]}],[0,"covet-pics-popup-review",{rating:[2],caption:[1],username:[1],itemType:[1,"item-type"],verified:[4],createdTime:[1,"created-time"],reviewCSS:[32]},null,{caption:["watchPropHandler"]}],[0,"covet-pics-popup-shared-links",{item:[16],galleryEmbedId:[2,"gallery-embed-id"],showShareLink:[32],copyLinkCopied:[32]}],[1,"covet-pics-checkbox",{checked:[1540],label:[1],value:[1],disabled:[516],inputId:[1,"input-id"]}],[0,"covet-pics-popup-slider",{item:[16],getSwiperState:[64]}],[1,"covet-pics-select",{selectId:[1,"select-id"],optionData:[16,"option-data"],label:[1],selectedValue:[1,"selected-value"]},[[9,"mousedown","handleClickOutside"]]],[1,"covet-pics-shop-cart",{appStore:[16,"app-store"],isCartVisible:[32],products:[32],totalAmount:[32],discount:[32],totalQuantity:[32],notAvaliableForSaleKeys:[32]}]]],["p-e1f76732",[[1,"covet-pics-popup",{appStore:[16,"app-store"],item:[32],product:[32],directBuyIsOpen:[32],settings:[32],isPreviousEnable:[32],isNextEnable:[32],popupIsOpen:[32],popupIsClosing:[32],totalQuantity:[32],openPopup:[64],closePopup:[64]},[[16,"productLinkClicked","productLinkClickedHandler"]],{item:["itemChangedHandler"],popupIsOpen:["popupOpenHandler"]}],[0,"covet-pics-gallery-grid",{breakdown:[16],productTitle:[1,"product-title"],rating:[2],filtersEnabled:[4,"filters-enabled"],filters:[16],showLoadMore:[4,"show-load-more"],appStore:[16,"app-store"],showSort:[32],isGridDisabled:[32],isDesktopScreen:[32],itemSize:[32],isFilterModalShow:[32],items:[32]},[[0,"imageLoaded","imagesLoadedHandler"],[8,"elementResize","elementResizeHandler"],[9,"mousedown","handleClickOutside"],[0,"itemLoaded","handleItemLoaded"]]],[0,"covet-pics-gallery-slider",{sliderStyle:[1,"slider-style"],appStore:[16,"app-store"],itemSize:[32],items:[32],galleryIndex:[32]},[[0,"imageLoaded","imagesLoadedHandler"],[8,"elementResize","elementResizeHandler"],[0,"itemLoaded","handleItemLoaded"]],{galleryIndex:["changeSlide"]}],[1,"covet-pics-popup-freeflow",{appStore:[16,"app-store"],settings:[32],items:[32],sliderIndex:[32],popupIsOpen:[32],openPopupFreeflow:[64],closePopupFreeflow:[64]},null,{popupIsOpen:["popupOpenHandler"],sliderIndex:["updateSliderIndex"],items:["updateItems"]}],[0,"covet-pics-highlighted",{numberOfPages:[2,"number-of-pages"],items:[16],appStore:[16,"app-store"],productLinks:[32],mainSliderIndex:[32],mainSliderAnimatingSlides:[32],windowHeight:[32],isDesktopScreen:[32]},[[0,"pageLoaded","handleItemLoaded"]]],[1,"covet-pics-notifications",{appStore:[16,"app-store"],notifications:[32],showAll:[32]}],[1,"covet-pics-upload",{standalone:[4],appStore:[16,"app-store"],starRating:[32],isFormValid:[32],showFormWarning:[32],thumbnailLinks:[32],toShowLinks:[32],dropedImagesNumber:[32],isAnimating:[32],notificationMessage:[32],isNotificationActive:[32],widgetWidth:[32],uploadIsOpen:[32],uploadIsClosing:[32],openUpload:[64],closeUpload:[64]},null,{uploadIsOpen:["uploadOpenHandler"]}]]],["p-0db43ad2",[[1,"covet-pics-widget",{shop:[1],galleryEmbedId:[2,"gallery-embed-id"],shopifyProductId:[2,"shopify-product-id"],environment:[1],baseUrl:[1,"base-url"],customSettings:[1,"custom-settings"],hideElements:[1,"hide-elements"],previewMode:[4,"preview-mode"],photoRequestId:[2,"photo-request-id"],lazyLoad:[4,"lazy-load"],isLoading:[32],minNumberOfPhotos:[32],appStore:[32],fetchingError:[32],preloadNextPage:[32],updateUploadWidgetCoverPreview:[64],updatePreviewSettings:[64]},[[0,"sortUpdated","sortUpdatedHandler"],[0,"filtersUpdated","filtersUpdatedHandler"],[0,"nextPage","nextPageHandler"],[4,"popupFreeflowNextPage","nextPageHandlerFreeflow"]],{preloadNextPage:["preloadNextPageHandler"]}]]]],e))));
4
+ import{p as e,b as t}from"./p-DuzFSMH7.js";export{s as setNonce}from"./p-DuzFSMH7.js";import{g as i}from"./p-CWiAxP5O.js";(()=>{const t=import.meta.url,i={};return""!==t&&(i.resourcesUrl=new URL(".",t).href),e(i)})().then((async e=>(await i(),t([["p-97e62926",[[1,"covet-pics-post",{postId:[2,"post-id"],environment:[1],item:[32],fetchingError:[32]}]]],["p-61c2e607",[[0,"covet-pics-crop-text",{text:[1],textClass:[1,"text-class"],textColor:[1,"text-color"],ratio:[16],cropCSS:[32]}]]],["p-bba2df15",[[1,"covet-pics-star-rating",{rating:[2],ratingCount:[2,"rating-count"],starColor:[1,"star-color"],emptyStarColor:[1,"empty-star-color"],starBorderColor:[1,"star-border-color"],starBorderWidth:[2,"star-border-width"],starSize:[2,"star-size"],spaceStars:[2,"space-stars"],spaceStarsText:[2,"space-stars-text"],showLabel:[4,"show-label"],label:[1]}]]],["p-12c8756e",[[0,"covet-pics-highlighted-page",{thumbnailUrl:[1,"thumbnail-url"],thumbnailAlt:[1,"thumbnail-alt"],ariaLabel:[1,"aria-label"],thumbnailLayout:[1,"thumbnail-layout"],videoUrl:[1,"video-url"],videoPoster:[1,"video-poster"],thumbnailCarouselImages:[16,"thumbnail-carousel-images"],productLinks:[16,"product-links"],productBaseImgAlt:[1,"product-base-img-alt"],reverseClass:[1,"reverse-class"],isMobile:[4,"is-mobile"],pageIndex:[2,"page-index"],caption:[1],rating:[2],createdTime:[1,"created-time"],userName:[1,"user-name"],mainSliderIndex:[2,"main-slider-index"],pageId:[2,"page-id"],appStore:[16,"app-store"],hideHotspots:[32],activeProductIndex:[32],hoverHotspot:[32]},[[0,"changeActiveHotspot","onChangeActiveHotspot"]]],[0,"covet-pics-highlighted-hotspots",{links:[16],activeHotspot:[2,"active-hotspot"],thumbnailUrl:[1,"thumbnail-url"],hoverHotspot:[2,"hover-hotspot"],isMobile:[4,"is-mobile"],productBaseImgAlt:[1,"product-base-img-alt"],pageId:[2,"page-id"],appStore:[16,"app-store"]},null,{thumbnailUrl:["refreshHotspot"],activeHotspot:["activeHotspotHandler"]}]]],["p-408dfc96",[[0,"covet-pics-gallery-header",{rating:[2],productTitle:[1,"product-title"],breakdown:[16],appStore:[16,"app-store"],showBreakdownDropdown:[32],showSortDropdown:[32],isDesktopScreen:[32]}],[0,"covet-pics-gallery-item",{altTag:[1,"alt-tag"],highlighted:[4],imageUrl:[1,"image-url"],rating:[2],itemWidth:[2,"item-width"],userName:[1,"user-name"],createdTime:[1,"created-time"],caption:[1],itemType:[1,"item-type"],imageHighResolutionUrl:[1,"image-high-resolution-url"],imageResponsiveSizes:[1,"image-responsive-sizes"],itemId:[1,"item-id"],itemSource:[1,"item-source"],links:[16],url:[1],videoUrl:[1,"video-url"],itemIndex:[2,"item-index"],itemSize:[1,"item-size"],appStore:[16,"app-store"],tabIndex:[32],sliderIndex:[32],showImageAsVideoPoster:[32]},[[10,"updateUploadWidgetCover","updateUploadWidgetCoverHandler"]],{sliderIndex:["autoPlayVideos"]}],[0,"covet-pics-gallery-item-detail",{altTag:[1,"alt-tag"],highlighted:[4],verified:[4],imageUrl:[1,"image-url"],imageHighResolutionUrl:[1,"image-high-resolution-url"],imageResponsiveSizes:[1,"image-responsive-sizes"],videoUrl:[1,"video-url"],itemId:[1,"item-id"],itemSource:[1,"item-source"],itemType:[1,"item-type"],links:[16],url:[1],rating:[2],userName:[1,"user-name"],caption:[1],createdTime:[1,"created-time"],itemIndex:[2,"item-index"],itemSize:[1,"item-size"],appStore:[16,"app-store"],tabIndex:[32],captionCSS:[32],reviewClass:[32],starOnlyClass:[32],highlightedClass:[32],sliderIndex:[32],showImageAsVideoPoster:[32]},[[10,"updateUploadWidgetCover","updateUploadWidgetCoverHandler"],[8,"elementResize","elementResizeHandler"]],{sliderIndex:["autoPlayVideos"]}]]],["p-2cb934cb",[[0,"covet-pics-popup-slide",{item:[16],showCaption:[4,"show-caption"],showStarRating:[4,"show-star-rating"],sharedLinkEnable:[4,"shared-link-enable"],dataLoaded:[32],isPlaying:[32],isMuted:[32],carouselIndex:[32],videoProgress:[32],showCarouselVideoControls:[32],loadMedia:[64],videoPlay:[64],videoPause:[64],videoSoundOff:[64],videoSoundOn:[64]}],[0,"covet-pics-popup-freeflow-carousel",{item:[16],isEnabled:[4,"is-enabled"],dataLoaded:[1,"data-loaded"],sliderIndex:[32],videoPlay:[64],videoPause:[64],videoSoundOn:[64],videoSoundOff:[64],pauseAllVideos:[64]},null,{isEnabled:["enableSlider"],dataLoaded:["lazyLoadMedia"],sliderIndex:["updateSliderIndex"]}],[1,"covet-pics-popup-freeflow-links",{links:[16],itemCreatedTime:[1,"item-created-time"],isSliderEnabled:[4,"is-slider-enabled"]},null,{isSliderEnabled:["enableSlider"]}]]],["p-a71aa5d9",[[0,"covet-pics-direct-buy",{covetProduct:[16,"covet-product"],itemId:[1,"item-id"],appStore:[16,"app-store"],settings:[32],selectedVariant:[32],product:[32],options:[32],selectedOptions:[32],shopCartState:[32],isAvailableForSale:[32]}],[0,"covet-pics-hotspots",{links:[16],backgroundColor:[1,"background-color"],textColor:[1,"text-color"],showNumbers:[4,"show-numbers"]},[[0,"linkInactivate","linkInactivateHandler"],[0,"linkActivate","linkActivateHandler"]]],[0,"covet-pics-popup-links",{links:[16],greyBorderClass:[1,"grey-border-class"],itemCreatedTime:[1,"item-created-time"],appStore:[16,"app-store"],settings:[32]}],[0,"covet-pics-popup-review",{rating:[2],caption:[1],username:[1],itemType:[1,"item-type"],verified:[4],createdTime:[1,"created-time"],reviewCSS:[32]},null,{caption:["watchPropHandler"]}],[0,"covet-pics-popup-shared-links",{item:[16],galleryEmbedId:[2,"gallery-embed-id"],showShareLink:[32],copyLinkCopied:[32]}],[1,"covet-pics-checkbox",{checked:[1540],label:[1],value:[1],disabled:[516],inputId:[1,"input-id"]}],[0,"covet-pics-popup-slider",{item:[16],getSwiperState:[64]}],[1,"covet-pics-select",{selectId:[1,"select-id"],optionData:[16,"option-data"],label:[1],selectedValue:[1,"selected-value"]},[[9,"mousedown","handleClickOutside"]]],[1,"covet-pics-shop-cart",{appStore:[16,"app-store"],isCartVisible:[32],products:[32],totalAmount:[32],discount:[32],totalQuantity:[32],notAvaliableForSaleKeys:[32]}]]],["p-8d039b40",[[1,"covet-pics-popup",{appStore:[16,"app-store"],item:[32],product:[32],directBuyIsOpen:[32],settings:[32],isPreviousEnable:[32],isNextEnable:[32],popupIsOpen:[32],popupIsClosing:[32],totalQuantity:[32],openPopup:[64],closePopup:[64]},[[16,"productLinkClicked","productLinkClickedHandler"]],{item:["itemChangedHandler"],popupIsOpen:["popupOpenHandler"]}],[0,"covet-pics-gallery-grid",{breakdown:[16],productTitle:[1,"product-title"],rating:[2],filtersEnabled:[4,"filters-enabled"],filters:[16],showLoadMore:[4,"show-load-more"],appStore:[16,"app-store"],showSort:[32],isGridDisabled:[32],isDesktopScreen:[32],itemSize:[32],isFilterModalShow:[32],items:[32]},[[0,"imageLoaded","imagesLoadedHandler"],[8,"elementResize","elementResizeHandler"],[9,"mousedown","handleClickOutside"],[0,"itemLoaded","handleItemLoaded"]]],[0,"covet-pics-gallery-slider",{sliderStyle:[1,"slider-style"],appStore:[16,"app-store"],itemSize:[32],items:[32],galleryIndex:[32]},[[0,"imageLoaded","imagesLoadedHandler"],[8,"elementResize","elementResizeHandler"],[0,"itemLoaded","handleItemLoaded"]],{galleryIndex:["changeSlide"]}],[1,"covet-pics-popup-freeflow",{appStore:[16,"app-store"],settings:[32],items:[32],sliderIndex:[32],popupIsOpen:[32],openPopupFreeflow:[64],closePopupFreeflow:[64]},null,{popupIsOpen:["popupOpenHandler"],sliderIndex:["updateSliderIndex"],items:["updateItems"]}],[0,"covet-pics-highlighted",{numberOfPages:[2,"number-of-pages"],items:[16],appStore:[16,"app-store"],productLinks:[32],mainSliderIndex:[32],mainSliderAnimatingSlides:[32],windowHeight:[32],isDesktopScreen:[32]},[[0,"pageLoaded","handleItemLoaded"]]],[1,"covet-pics-notifications",{appStore:[16,"app-store"],notifications:[32],showAll:[32]}],[1,"covet-pics-upload",{standalone:[4],appStore:[16,"app-store"],starRating:[32],isFormValid:[32],showFormWarning:[32],thumbnailLinks:[32],toShowLinks:[32],dropedImagesNumber:[32],isAnimating:[32],notificationMessage:[32],isNotificationActive:[32],widgetWidth:[32],uploadIsOpen:[32],uploadIsClosing:[32],openUpload:[64],closeUpload:[64]},null,{uploadIsOpen:["uploadOpenHandler"]}]]],["p-0db43ad2",[[1,"covet-pics-widget",{shop:[1],galleryEmbedId:[2,"gallery-embed-id"],shopifyProductId:[2,"shopify-product-id"],environment:[1],baseUrl:[1,"base-url"],customSettings:[1,"custom-settings"],hideElements:[1,"hide-elements"],previewMode:[4,"preview-mode"],photoRequestId:[2,"photo-request-id"],lazyLoad:[4,"lazy-load"],isLoading:[32],minNumberOfPhotos:[32],appStore:[32],fetchingError:[32],preloadNextPage:[32],updateUploadWidgetCoverPreview:[64],updatePreviewSettings:[64]},[[0,"sortUpdated","sortUpdatedHandler"],[0,"filtersUpdated","filtersUpdatedHandler"],[0,"nextPage","nextPageHandler"],[4,"popupFreeflowNextPage","nextPageHandlerFreeflow"]],{preloadNextPage:["preloadNextPageHandler"]}]]]],e))));