(()=>{"use strict";var __webpack_modules__={7856:(t,e,r)=>{r.d(e,{CT:()=>n,Nk:()=>m,jW:()=>o.jW,LR:()=>v,X_:()=>s,Iu:()=>p,a_:()=>w,cl:()=>d,I$:()=>_,X8:()=>u,Fy:()=>a,q:()=>g,Zy:()=>y,wy:()=>h,Cv:()=>f,I0:()=>c,l9:()=>l});var n="https://api.videowise.com",o=r(8292),i="reeview",a=("".concat(i,"_hide_widget"),"".concat(i,"_uid")),c=("".concat(i,"_widget_context"),{Inline:"Inline",Floating:"Floating",Story:"Story"}),l={Product:"Product",Independent:"Independent"},u={Interest:"interest",Cart:"cart",View:"view",Video:"video",Click:"click",Close:"close",Order:"order",EngagementTime:"engagementtime",VideoWatch:"videowatch",Swipe:"swipe"},s={xsSmall:375,smSmall:576,ExtraSmall:767,Small:991,Medium:1024,Large:1280,ExtraLarge:1440},d={YOUTUBE:"youtube_video",INSTAGRAM:"instagram_video",CUSTOM:"custom"},p={SINGLE:"single",GALLERY:"gallery",CAROUSEL:"carousel"},f={DESKTOP:"DESKTOP",MOBILE:"MOBILE"},h={icon:"ICON_BUTTON",text:"TEXT_BUTTON"},v={PRODUCT:"PRODUCT",LINK:"LINK"},y={STORE_LOGO:"STORE_LOGO",NO_LOGO:"NO_LOGO",VIDEOWISE_LOGO:"VIDEOWISE_LOGO"},m={DIRECT_TO_CHECKOUT:"DIRECT_TO_CHECKOUT",DIRECT_TO_CART:"DIRECT_TO_CART",ADD_TO_CART:"ADD_TO_CART",DIRECT_TO_CART_CUSTOM:"DIRECT_TO_CART_CUSTOM",DIRECT_TO_CART_REDIRECT:"DIRECT_TO_CART_REDIRECT",CUSTOM_URL:"CUSTOM_URL"},w={USE_INVENTORY:"USE_INVENTORY",IGNORE_INVENTORY:"IGNORE_INVENTORY"},g={PREVIEW:"PREVIEW",BG:"BG"},_={ONE_TIME:"onetime",SUBSCRIBE:"subscribe"}},8292:(t,e,r)=>{r.d(e,{jW:()=>n});"@media (max-width: ".concat(375,"px)"),"@media (min-width: ".concat(375,"px)"),"@media (min-width: ".concat(567,"px)"),"@media (max-width: ".concat(415,"px)"),"@media (min-width: ".concat(415,"px)"),"@media (max-width: ".concat(567,"px)"),"@media (max-width: ".concat(767,"px)"),"@media (max-width: ".concat(768,"px)"),"@media (min-width: ".concat(768,"px)"),"@media (min-width: ".concat(1024,"px)"),"@media (max-width: ".concat(1023,"px)"),"@media (max-width: ".concat(1198,"px)"),"@media (min-width: ".concat(1199,"px)"),"@media (min-width: ".concat(416,"px)"),"@media (min-width: ".concat(1281,"px)"),"@media (min-width: ".concat(1441,"px)");var n="vw"},6675:(t,e,r)=>{r(5666);var n=r(8576),o=r(8582),i=r(7835);r(9669);function a(t){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a(t)}function c(){c=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",i=n.asyncIterator||"@@asyncIterator",l=n.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(k){u=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var o=e&&e.prototype instanceof f?e:f,i=Object.create(o.prototype),a=new L(n||[]);return i._invoke=function(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return S()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=C(a,r);if(c){if(c===p)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var l=d(t,e,r);if("normal"===l.type){if(n=r.done?"completed":"suspendedYield",l.arg===p)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(n="completed",r.method="throw",r.arg=l.arg)}}}(t,r,a),i}function d(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(k){return{type:"throw",arg:k}}}t.wrap=s;var p={};function f(){}function h(){}function v(){}var y={};u(y,o,(function(){return this}));var m=Object.getPrototypeOf,w=m&&m(m(E([])));w&&w!==e&&r.call(w,o)&&(y=w);var g=v.prototype=f.prototype=Object.create(y);function _(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function b(t,e){function n(o,i,c,l){var u=d(t[o],t,i);if("throw"!==u.type){var s=u.arg,p=s.value;return p&&"object"==a(p)&&r.call(p,"__await")?e.resolve(p.__await).then((function(t){n("next",t,c,l)}),(function(t){n("throw",t,c,l)})):e.resolve(p).then((function(t){s.value=t,c(s)}),(function(t){return n("throw",t,c,l)}))}l(u.arg)}var o;this._invoke=function(t,r){function i(){return new e((function(e,o){n(t,r,e,o)}))}return o=o?o.then(i,i):i()}}function C(t,e){var r=t.iterator[e.method];if(void 0===r){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,C(t,e),"throw"===e.method))return p;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return p}var n=d(r,t.iterator,e.arg);if("throw"===n.type)return e.method="throw",e.arg=n.arg,e.delegate=null,p;var o=n.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,p):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,p)}function x(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function O(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function L(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,this),this.reset(!0)}function E(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:S}}function S(){return{value:void 0,done:!0}}return h.prototype=v,u(g,"constructor",v),u(v,"constructor",h),h.displayName=u(v,l,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,v):(t.__proto__=v,u(t,l,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},_(b.prototype),u(b.prototype,i,(function(){return this})),t.AsyncIterator=b,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new b(s(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},_(g),u(g,l,"Generator"),u(g,o,(function(){return this})),u(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},t.values=E,L.prototype={constructor:L,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(O),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),l=r.call(i,"finallyLoc");if(c&&l){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,p):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),p},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),O(r),p}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;O(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:E(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),p}},t}function l(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function u(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?l(Object(r),!0).forEach((function(e){s(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function s(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function d(t,e,r,n,o,i,a){try{var c=t[i](a),l=c.value}catch(u){return void r(u)}c.done?e(l):Promise.resolve(l).then(n,o)}const p=function(){var t,e=(t=c().mark((function t(e,r){var n,a,l,s;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,o.rr)("tlabsicdemo.myshopify.com",encodeURI("https://tlabsicdemo.myshopify.com"));case 2:return n=t.sent,t.next=5,(0,i.a)(n);case 5:if(!n){t.next=14;break}a=n.widgets,l=n.page,s=0;case 8:if(!(s<a.length)){t.next=14;break}return t.next=11,(0,i.y)(u(u({},a[s]),{},{page:l}),!1);case 11:s+=1,t.next=8;break;case 14:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){d(i,n,o,a,c,"next",t)}function c(t){d(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t,r){return e.apply(this,arguments)}}();var f=r(9782);function h(t){return h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},h(t)}function v(){v=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",i=n.asyncIterator||"@@asyncIterator",a=n.toStringTag||"@@toStringTag";function c(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(k){c=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var o=e&&e.prototype instanceof d?e:d,i=Object.create(o.prototype),a=new L(n||[]);return i._invoke=function(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return S()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=C(a,r);if(c){if(c===s)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var l=u(t,e,r);if("normal"===l.type){if(n=r.done?"completed":"suspendedYield",l.arg===s)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(n="completed",r.method="throw",r.arg=l.arg)}}}(t,r,a),i}function u(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(k){return{type:"throw",arg:k}}}t.wrap=l;var s={};function d(){}function p(){}function f(){}var y={};c(y,o,(function(){return this}));var m=Object.getPrototypeOf,w=m&&m(m(E([])));w&&w!==e&&r.call(w,o)&&(y=w);var g=f.prototype=d.prototype=Object.create(y);function _(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function b(t,e){function n(o,i,a,c){var l=u(t[o],t,i);if("throw"!==l.type){var s=l.arg,d=s.value;return d&&"object"==h(d)&&r.call(d,"__await")?e.resolve(d.__await).then((function(t){n("next",t,a,c)}),(function(t){n("throw",t,a,c)})):e.resolve(d).then((function(t){s.value=t,a(s)}),(function(t){return n("throw",t,a,c)}))}c(l.arg)}var o;this._invoke=function(t,r){function i(){return new e((function(e,o){n(t,r,e,o)}))}return o=o?o.then(i,i):i()}}function C(t,e){var r=t.iterator[e.method];if(void 0===r){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,C(t,e),"throw"===e.method))return s;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return s}var n=u(r,t.iterator,e.arg);if("throw"===n.type)return e.method="throw",e.arg=n.arg,e.delegate=null,s;var o=n.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,s):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,s)}function x(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function O(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function L(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,this),this.reset(!0)}function E(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:S}}function S(){return{value:void 0,done:!0}}return p.prototype=f,c(g,"constructor",f),c(f,"constructor",p),p.displayName=c(f,a,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===p||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,f):(t.__proto__=f,c(t,a,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},_(b.prototype),c(b.prototype,i,(function(){return this})),t.AsyncIterator=b,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new b(l(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},_(g),c(g,a,"Generator"),c(g,o,(function(){return this})),c(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},t.values=E,L.prototype={constructor:L,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(O),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),l=r.call(i,"finallyLoc");if(c&&l){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,s):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),s},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),O(r),s}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;O(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:E(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),s}},t}function y(t,e,r,n,o,i,a){try{var c=t[i](a),l=c.value}catch(u){return void r(u)}c.done?e(l):Promise.resolve(l).then(n,o)}function m(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){y(i,n,o,a,c,"next",t)}function c(t){y(i,n,o,a,c,"throw",t)}a(void 0)}))}}const w=m(v().mark((function t(){var e,r,n,o,a,c;return v().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e=window,r=e.REEVIEW_CONFIG){t.next=3;break}return t.abrupt("return");case 3:if(n=r,o=(0,f.Eq)("".concat(window.location.protocol,"//").concat(window.location.hostname).concat(window.location.pathname),"/"),a=n.filter((function(t){var e;return(0,f.Eq)(null===(e=t.page)||void 0===e?void 0:e.url)===o}))){t.next=8;break}return t.abrupt("return");case 8:c=0;case 9:if(!(c<a.length)){t.next=15;break}return t.next=12,(0,i.y)(a[c]);case 12:c+=1,t.next=9;break;case 15:case"end":return t.stop()}}),t)})));window.initReeview=p,window.initVideowise=n.ZP,(0,n.ZP)(),window.addEventListener("DOMContentLoaded",w)},8582:(t,e,r)=>{r.d(e,{fh:()=>h,rr:()=>f});var n=r(9669),o=r.n(n),i=r(7856),a=r(2750);function c(t){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},c(t)}function l(){l=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",i=n.asyncIterator||"@@asyncIterator",a=n.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(k){u=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var o=e&&e.prototype instanceof f?e:f,i=Object.create(o.prototype),a=new L(n||[]);return i._invoke=function(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return S()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=C(a,r);if(c){if(c===p)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var l=d(t,e,r);if("normal"===l.type){if(n=r.done?"completed":"suspendedYield",l.arg===p)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(n="completed",r.method="throw",r.arg=l.arg)}}}(t,r,a),i}function d(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(k){return{type:"throw",arg:k}}}t.wrap=s;var p={};function f(){}function h(){}function v(){}var y={};u(y,o,(function(){return this}));var m=Object.getPrototypeOf,w=m&&m(m(E([])));w&&w!==e&&r.call(w,o)&&(y=w);var g=v.prototype=f.prototype=Object.create(y);function _(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function b(t,e){function n(o,i,a,l){var u=d(t[o],t,i);if("throw"!==u.type){var s=u.arg,p=s.value;return p&&"object"==c(p)&&r.call(p,"__await")?e.resolve(p.__await).then((function(t){n("next",t,a,l)}),(function(t){n("throw",t,a,l)})):e.resolve(p).then((function(t){s.value=t,a(s)}),(function(t){return n("throw",t,a,l)}))}l(u.arg)}var o;this._invoke=function(t,r){function i(){return new e((function(e,o){n(t,r,e,o)}))}return o=o?o.then(i,i):i()}}function C(t,e){var r=t.iterator[e.method];if(void 0===r){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,C(t,e),"throw"===e.method))return p;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return p}var n=d(r,t.iterator,e.arg);if("throw"===n.type)return e.method="throw",e.arg=n.arg,e.delegate=null,p;var o=n.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,p):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,p)}function x(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function O(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function L(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,this),this.reset(!0)}function E(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:S}}function S(){return{value:void 0,done:!0}}return h.prototype=v,u(g,"constructor",v),u(v,"constructor",h),h.displayName=u(v,a,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,v):(t.__proto__=v,u(t,a,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},_(b.prototype),u(b.prototype,i,(function(){return this})),t.AsyncIterator=b,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new b(s(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},_(g),u(g,a,"Generator"),u(g,o,(function(){return this})),u(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},t.values=E,L.prototype={constructor:L,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(O),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),l=r.call(i,"finallyLoc");if(c&&l){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,p):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),p},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),O(r),p}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;O(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:E(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),p}},t}function u(t,e,r,n,o,i,a){try{var c=t[i](a),l=c.value}catch(u){return void r(u)}c.done?e(l):Promise.resolve(l).then(n,o)}function s(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){u(i,n,o,a,c,"next",t)}function c(t){u(i,n,o,a,c,"throw",t)}a(void 0)}))}}var d=o().create({baseURL:i.CT}),p="roposo-store.myshopify.com",f=function(){var t=s(l().mark((function t(e,r){var n;return l().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e!==p){t.next=3;break}return console.log("What are you trying to do?"),t.abrupt("return");case 3:return t.next=5,d.get("/widget/independent",{params:{shop:e,url:r,uid:a.U()}});case 5:return n=t.sent,t.abrupt("return",v(n));case 7:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}(),h=function(){var t=s(l().mark((function t(e,r){var n;return l().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e!==p){t.next=3;break}return console.log("What are you trying to do?"),t.abrupt("return");case 3:return t.next=5,d.get("/widget/product",{params:{shop:e,productId:r,uid:a.U()}});case 5:return n=t.sent,t.abrupt("return",v(n));case 7:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}(),v=function(t){var e,r;if(null===t||void 0===t||null===(e=t.data)||void 0===e||!e.errorMessage)return null===t||void 0===t?void 0:t.data;console.log("Errors during loading product widgets! ",null===t||void 0===t||null===(r=t.data)||void 0===r?void 0:r.errorMessage)}},7835:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{a:()=>renderAllWidgets,y:()=>renderWidgets});var _renderWidget__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(4943);function _typeof(t){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof(t)}function _regeneratorRuntime(){_regeneratorRuntime=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",i=n.asyncIterator||"@@asyncIterator",a=n.toStringTag||"@@toStringTag";function c(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(E){c=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var o=e&&e.prototype instanceof d?e:d,i=Object.create(o.prototype),a=new x(n||[]);return i._invoke=function(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return L()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=_(a,r);if(c){if(c===s)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var l=u(t,e,r);if("normal"===l.type){if(n=r.done?"completed":"suspendedYield",l.arg===s)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(n="completed",r.method="throw",r.arg=l.arg)}}}(t,r,a),i}function u(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(E){return{type:"throw",arg:E}}}t.wrap=l;var s={};function d(){}function p(){}function f(){}var h={};c(h,o,(function(){return this}));var v=Object.getPrototypeOf,y=v&&v(v(O([])));y&&y!==e&&r.call(y,o)&&(h=y);var m=f.prototype=d.prototype=Object.create(h);function w(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function g(t,e){function n(o,i,a,c){var l=u(t[o],t,i);if("throw"!==l.type){var s=l.arg,d=s.value;return d&&"object"==_typeof(d)&&r.call(d,"__await")?e.resolve(d.__await).then((function(t){n("next",t,a,c)}),(function(t){n("throw",t,a,c)})):e.resolve(d).then((function(t){s.value=t,a(s)}),(function(t){return n("throw",t,a,c)}))}c(l.arg)}var o;this._invoke=function(t,r){function i(){return new e((function(e,o){n(t,r,e,o)}))}return o=o?o.then(i,i):i()}}function _(t,e){var r=t.iterator[e.method];if(void 0===r){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,_(t,e),"throw"===e.method))return s;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return s}var n=u(r,t.iterator,e.arg);if("throw"===n.type)return e.method="throw",e.arg=n.arg,e.delegate=null,s;var o=n.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,s):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,s)}function b(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function C(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function x(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(b,this),this.reset(!0)}function O(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:L}}function L(){return{value:void 0,done:!0}}return p.prototype=f,c(m,"constructor",f),c(f,"constructor",p),p.displayName=c(f,a,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===p||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,f):(t.__proto__=f,c(t,a,"GeneratorFunction")),t.prototype=Object.create(m),t},t.awrap=function(t){return{__await:t}},w(g.prototype),c(g.prototype,i,(function(){return this})),t.AsyncIterator=g,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new g(l(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},w(m),c(m,a,"Generator"),c(m,o,(function(){return this})),c(m,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},t.values=O,x.prototype={constructor:x,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(C),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),l=r.call(i,"finallyLoc");if(c&&l){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,s):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),s},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),C(r),s}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;C(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:O(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),s}},t}function asyncGeneratorStep(t,e,r,n,o,i,a){try{var c=t[i](a),l=c.value}catch(u){return void r(u)}c.done?e(l):Promise.resolve(l).then(n,o)}function _asyncToGenerator(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){asyncGeneratorStep(i,n,o,a,c,"next",t)}function c(t){asyncGeneratorStep(i,n,o,a,c,"throw",t)}a(void 0)}))}}function renderAllWidgets(t){return _renderAllWidgets.apply(this,arguments)}function _renderAllWidgets(){return(_renderAllWidgets=_asyncToGenerator(_regeneratorRuntime().mark((function t(e){var r,n,o;return _regeneratorRuntime().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e&&e.widgets){t.next=2;break}return t.abrupt("return");case 2:if((null===(r=e.widgets)||void 0===r?void 0:r.length)>0)for(n=0;n<e.widgets.length;n++)o={showBadge:e.showBadge,logoUrl:e.storeLogoUrl,inventorySetting:e.inventorySetting},renderWidgets(e.widgets[n],e.page,!0,o).then((function(){console.log("Widget is loaded"),checkCart()})).catch((function(t){return console.log("An error occur during widget rendering. ",t)}));case 3:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function renderWidgets(t,e,r,n){return _renderWidgets.apply(this,arguments)}function _renderWidgets(){return(_renderWidgets=_asyncToGenerator(_regeneratorRuntime().mark((function t(e,r,n,o){var i,a;return _regeneratorRuntime().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if((i=e.videos)&&0!==i.length&&e){t.next=3;break}return t.abrupt("return");case 3:if(a={trackingId:null===r||void 0===r?void 0:r.id,widgetId:e.id,videoType:e.videoType,widgetType:e.type},!i.length){t.next=7;break}return t.next=7,(0,_renderWidget__WEBPACK_IMPORTED_MODULE_0__.ZP)({widget:e,page:r,trackingContext:a,settings:o});case 7:case"end":return t.stop()}}),t)})))).apply(this,arguments)}var checkCart=function checkCart(){if(sessionStorage.getItem("openCart")){var jsData=window.atob(sessionStorage.getItem("openCart"));eval(jsData),sessionStorage.removeItem("openCart")}}},9782:(t,e,r)=>{r.d(e,{Eq:()=>h,FB:()=>f,Fn:()=>s,Xy:()=>v,c$:()=>p,c6:()=>u,mj:()=>d,xb:()=>y});var n=r(8576),o=r(4627),i=r(7856);function a(t){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a(t)}function c(){c=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",i=n.asyncIterator||"@@asyncIterator",l=n.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(k){u=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var o=e&&e.prototype instanceof f?e:f,i=Object.create(o.prototype),a=new L(n||[]);return i._invoke=function(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return S()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=C(a,r);if(c){if(c===p)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var l=d(t,e,r);if("normal"===l.type){if(n=r.done?"completed":"suspendedYield",l.arg===p)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(n="completed",r.method="throw",r.arg=l.arg)}}}(t,r,a),i}function d(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(k){return{type:"throw",arg:k}}}t.wrap=s;var p={};function f(){}function h(){}function v(){}var y={};u(y,o,(function(){return this}));var m=Object.getPrototypeOf,w=m&&m(m(E([])));w&&w!==e&&r.call(w,o)&&(y=w);var g=v.prototype=f.prototype=Object.create(y);function _(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function b(t,e){function n(o,i,c,l){var u=d(t[o],t,i);if("throw"!==u.type){var s=u.arg,p=s.value;return p&&"object"==a(p)&&r.call(p,"__await")?e.resolve(p.__await).then((function(t){n("next",t,c,l)}),(function(t){n("throw",t,c,l)})):e.resolve(p).then((function(t){s.value=t,c(s)}),(function(t){return n("throw",t,c,l)}))}l(u.arg)}var o;this._invoke=function(t,r){function i(){return new e((function(e,o){n(t,r,e,o)}))}return o=o?o.then(i,i):i()}}function C(t,e){var r=t.iterator[e.method];if(void 0===r){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,C(t,e),"throw"===e.method))return p;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return p}var n=d(r,t.iterator,e.arg);if("throw"===n.type)return e.method="throw",e.arg=n.arg,e.delegate=null,p;var o=n.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,p):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,p)}function x(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function O(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function L(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,this),this.reset(!0)}function E(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:S}}function S(){return{value:void 0,done:!0}}return h.prototype=v,u(g,"constructor",v),u(v,"constructor",h),h.displayName=u(v,l,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,v):(t.__proto__=v,u(t,l,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},_(b.prototype),u(b.prototype,i,(function(){return this})),t.AsyncIterator=b,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new b(s(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},_(g),u(g,l,"Generator"),u(g,o,(function(){return this})),u(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},t.values=E,L.prototype={constructor:L,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(O),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),l=r.call(i,"finallyLoc");if(c&&l){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,p):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),p},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),O(r),p}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;O(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:E(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),p}},t}function l(t,e,r,n,o,i,a){try{var c=t[i](a),l=c.value}catch(u){return void r(u)}c.done?e(l):Promise.resolve(l).then(n,o)}var u=function(t,e,r){var n=e||{},i=n.title,a=n.featured_image,c=n.options,l=n.variants,u=n.id,s=n.images,d=n.description,p=n.tag,f=n.productReviews,h=n.selling_plan_groups,v=n.variantId,y=n.excludedVariants,m=v?l.find((function(t){return t.id===Number(v)})):l[0],w=isNaN(parseInt(m.compare_at_price))?void 0:m.compare_at_price;t({type:o.a.ADD_PRODUCT,payload:{product:{id:u,available:m.available,title:i,image:a,options:c,variants:l,price:m.price,oldPrice:w,selectedId:m.id,handle:r,images:s,description:d,tag:p,productReviews:f,selling_plan_groups:h,variantId:v,excludedVariants:y}}})},s=function(){var t,e=(t=c().mark((function t(e){var r,i,a,l,s,d,p,f,h,v;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(i=(r=e||{}).handle,a=r.dispatch,l=r.tag,s=r.variantId,d=r.shoppableCtx,p=r.productReviews,f=r.excludedVariants,!d.viewedProducts.filter((function(t){return t.handle===i})).length){t.next=9;break}a({type:o.a.HIDE_SHOPPABLE_LIST}),a({type:o.a.TOGGLE_PANEL,payload:{visible:!0}}),a({type:o.a.TOGGLE_PANEL_HEADER,payload:{showHeader:!0}}),h=d.viewedProducts.filter((function(t){return t.handle===i}))[0],u(a,h,i),t.next=25;break;case 9:return t.next=11,(0,n.$h)(i,f);case 11:if(v=t.sent){t.next=17;break}return a({type:o.a.ERROR_ON_PRODUCT,payload:{errorOnProduct:!0}}),setTimeout((function(){a({type:o.a.ERROR_ON_PRODUCT,payload:{errorOnProduct:!1}})}),1e3),console.error("This item is not available anymore"),t.abrupt("return");case 17:a({type:o.a.HIDE_SHOPPABLE_LIST}),a({type:o.a.TOGGLE_PANEL,payload:{visible:!0}}),a({type:o.a.TOGGLE_PANEL_HEADER,payload:{showHeader:!0}}),a({type:o.a.TOGGLE_SHOPPABLE_LOADING,payload:{loading:!0}}),l&&(v.tag=l),p&&(v.productReviews=p),s&&(v.variantId=s),v&&(u(a,v,i),a({type:o.a.TOGGLE_SHOPPABLE_LOADING,payload:{loading:!1}}));case 25:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){l(i,n,o,a,c,"next",t)}function c(t){l(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}(),d=function(t){var e="https://reeview-videos.s3.us-east-2.amazonaws.com";return-1===(null===t||void 0===t?void 0:t.indexOf(e))?t:null===t||void 0===t?void 0:t.replace(e,"https://d115vc481xvu1b.cloudfront.net")},p=function(t){return t.filter((function(t){return t.type===i.LR.PRODUCT})).length>0},f=function(t){var e="0123456789abcdef";function r(t){var r,n="";for(r=0;r<=3;r++)n+=e.charAt(t>>8*r+4&15)+e.charAt(t>>8*r&15);return n}function n(t,e){var r=(65535&t)+(65535&e);return(t>>16)+(e>>16)+(r>>16)<<16|65535&r}function o(t,e,r,o,i,a){return n(function(t,e){return t<<e|t>>>32-e}(n(n(e,t),n(o,a)),i),r)}function i(t,e,r,n,i,a,c){return o(e&r|~e&n,t,e,i,a,c)}function a(t,e,r,n,i,a,c){return o(e&n|r&~n,t,e,i,a,c)}function c(t,e,r,n,i,a,c){return o(e^r^n,t,e,i,a,c)}function l(t,e,r,n,i,a,c){return o(r^(e|~n),t,e,i,a,c)}var u,s,d,p,f,h=function(t){var e,r=1+(t.length+8>>6),n=new Array(16*r);for(e=0;e<16*r;e++)n[e]=0;for(e=0;e<t.length;e++)n[e>>2]|=t.charCodeAt(e)<<e%4*8;return n[e>>2]|=128<<e%4*8,n[16*r-2]=8*t.length,n}(t),v=1732584193,y=-271733879,m=-1732584194,w=271733878;for(u=0;u<h.length;u+=16)s=v,d=y,p=m,f=w,v=i(v,y,m,w,h[u+0],7,-680876936),w=i(w,v,y,m,h[u+1],12,-389564586),m=i(m,w,v,y,h[u+2],17,606105819),y=i(y,m,w,v,h[u+3],22,-1044525330),v=i(v,y,m,w,h[u+4],7,-176418897),w=i(w,v,y,m,h[u+5],12,1200080426),m=i(m,w,v,y,h[u+6],17,-1473231341),y=i(y,m,w,v,h[u+7],22,-45705983),v=i(v,y,m,w,h[u+8],7,1770035416),w=i(w,v,y,m,h[u+9],12,-1958414417),m=i(m,w,v,y,h[u+10],17,-42063),y=i(y,m,w,v,h[u+11],22,-1990404162),v=i(v,y,m,w,h[u+12],7,1804603682),w=i(w,v,y,m,h[u+13],12,-40341101),m=i(m,w,v,y,h[u+14],17,-1502002290),v=a(v,y=i(y,m,w,v,h[u+15],22,1236535329),m,w,h[u+1],5,-165796510),w=a(w,v,y,m,h[u+6],9,-1069501632),m=a(m,w,v,y,h[u+11],14,643717713),y=a(y,m,w,v,h[u+0],20,-373897302),v=a(v,y,m,w,h[u+5],5,-701558691),w=a(w,v,y,m,h[u+10],9,38016083),m=a(m,w,v,y,h[u+15],14,-660478335),y=a(y,m,w,v,h[u+4],20,-405537848),v=a(v,y,m,w,h[u+9],5,568446438),w=a(w,v,y,m,h[u+14],9,-1019803690),m=a(m,w,v,y,h[u+3],14,-187363961),y=a(y,m,w,v,h[u+8],20,1163531501),v=a(v,y,m,w,h[u+13],5,-1444681467),w=a(w,v,y,m,h[u+2],9,-51403784),m=a(m,w,v,y,h[u+7],14,1735328473),v=c(v,y=a(y,m,w,v,h[u+12],20,-1926607734),m,w,h[u+5],4,-378558),w=c(w,v,y,m,h[u+8],11,-2022574463),m=c(m,w,v,y,h[u+11],16,1839030562),y=c(y,m,w,v,h[u+14],23,-35309556),v=c(v,y,m,w,h[u+1],4,-1530992060),w=c(w,v,y,m,h[u+4],11,1272893353),m=c(m,w,v,y,h[u+7],16,-155497632),y=c(y,m,w,v,h[u+10],23,-1094730640),v=c(v,y,m,w,h[u+13],4,681279174),w=c(w,v,y,m,h[u+0],11,-358537222),m=c(m,w,v,y,h[u+3],16,-722521979),y=c(y,m,w,v,h[u+6],23,76029189),v=c(v,y,m,w,h[u+9],4,-640364487),w=c(w,v,y,m,h[u+12],11,-421815835),m=c(m,w,v,y,h[u+15],16,530742520),v=l(v,y=c(y,m,w,v,h[u+2],23,-995338651),m,w,h[u+0],6,-198630844),w=l(w,v,y,m,h[u+7],10,1126891415),m=l(m,w,v,y,h[u+14],15,-1416354905),y=l(y,m,w,v,h[u+5],21,-57434055),v=l(v,y,m,w,h[u+12],6,1700485571),w=l(w,v,y,m,h[u+3],10,-1894986606),m=l(m,w,v,y,h[u+10],15,-1051523),y=l(y,m,w,v,h[u+1],21,-2054922799),v=l(v,y,m,w,h[u+8],6,1873313359),w=l(w,v,y,m,h[u+15],10,-30611744),m=l(m,w,v,y,h[u+6],15,-1560198380),y=l(y,m,w,v,h[u+13],21,1309151649),v=l(v,y,m,w,h[u+4],6,-145523070),w=l(w,v,y,m,h[u+11],10,-1120210379),m=l(m,w,v,y,h[u+2],15,718787259),y=l(y,m,w,v,h[u+9],21,-343485551),v=n(v,s),y=n(y,d),m=n(m,p),w=n(w,f);return r(v)+r(y)+r(m)+r(w)},h=function(t){return t.replace(/\/\s*$/,"")},v=function t(e,r){function n(t){return Object.prototype.toString.call(t).slice(8,-1).toLowerCase()}var o=n(e);return o===n(r)&&("array"===o?function(){if(e.length!==r.length)return!1;for(var n=0;n<e.length;n++)if(!t(e[n],r[n]))return!1;return!0}():"object"===o?function(){if(Object.keys(e).length!==Object.keys(r).length)return!1;for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&!t(e[n],r[n]))return!1;return!0}():"function"===o?e.toString()===r.toString():e===r)},y=function(t){return null==t||"object"===a(t)&&0===Object.keys(t).length||"string"===typeof t&&0===t.trim().length}},4943:(t,e,r)=>{r.d(e,{ZP:()=>Ko});var n,o,i=r(9748),a=r(8311),c=(0,i.createContext)({}),l=(0,i.createContext)({}),u=function(t,e){return function(){var r=(0,i.useContext)(e);if(void 0===r)throw new Error("use".concat(t,"Context must be used withing a ").concat(t,"ContextProvider."));return r}},s=u("ShoppableContext",c),d=u("ShoppableActionContext",l),p=function(t){var e=t.children,r=t.value,n=t.action;return(0,a.tZ)(c.Provider,{value:r,children:(0,a.tZ)(l.Provider,{value:n,children:e})})},f=(0,i.createContext)({}),h=(0,i.createContext)({}),v=function(t,e){return function(){var r=(0,i.useContext)(e);if(void 0===r)throw new Error("use".concat(t,"Context must be used withing a ").concat(t,"ContextProvider."));return r}},y=(v("PlayerContext",f),v("PlayerActionContext",h),function(t){var e=t.children,r=t.value,n=t.action;return(0,a.tZ)(f.Provider,{value:r,children:(0,a.tZ)(h.Provider,{value:n,children:e})})}),m=(0,i.createContext)({}),w=(n="AppContext",o=m,function(){var t=(0,i.useContext)(o);if(void 0===t)throw new Error("use".concat(n,"Context must be used withing a ").concat(n,"ContextProvider."));return t}),g=function(t){var e=t.children,r=t.value;return(0,a.tZ)(m.Provider,{value:r,children:e})},_=r(4627);function b(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function C(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?b(Object(r),!0).forEach((function(e){x(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):b(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function x(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var O="play",L="mute",E="set_first",S=function(t,e){switch(e.type){case O:return C(C({},t),{},{playing:e.payload.playing});case L:return C(C({},t),{},{muted:e.payload.muted});case E:return C(C({},t),{},{isFirst:!1});default:return t}},k=r(5877),Z=r(6010),N=r(9669),j=r.n(N),P=j().create({baseURL:"https://events.hookdeck.com/e/src_FmdOAHhvIIFyHpVR9dXQVdOf"}),I=r(2750),T=r(7856);function B(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==r)return;var n,o,i=[],a=!0,c=!1;try{for(r=r.call(t);!(a=(n=r.next()).done)&&(i.push(n.value),!e||i.length!==e);a=!0);}catch(l){c=!0,o=l}finally{try{a||null==r.return||r.return()}finally{if(c)throw o}}return i}(t,e)||function(t,e){if(!t)return;if("string"===typeof t)return A(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return A(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function A(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var H=function(){return window.screen.width>767?T.Cv.DESKTOP:T.Cv.MOBILE};function D(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function R(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?D(Object(r),!0).forEach((function(e){M(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):D(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function M(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var G=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return P.post("/tracking/".concat(t),R(R({},e),{},{uid:I.U(),deviceType:H()}))},F=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};G(t,e).then((function(){})).catch((function(t){return console.log("Tracking error: ",t)}))},V=function(t){var e=(new Date).getTime();return Math.round((e-t)/1e3)},X=r(3253),U=r.n(X),q=r(3366),W=r(8522),Y=r(9491),z=r(4599),$=(0,i.createContext)({}),K=function(t,e){return function(){var r=(0,i.useContext)(e);if(void 0===r)throw new Error("use".concat(t,"Context must be used withing a ").concat(t,"ContextProvider."));return r}}("ThemeContext",$),J=function(t){var e=t.children,r=t.value;return(0,a.tZ)($.Provider,{value:r,children:e})},Q=r(8576);function tt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function et(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?tt(Object(r),!0).forEach((function(e){rt(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):tt(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function rt(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function nt(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==r)return;var n,o,i=[],a=!0,c=!1;try{for(r=r.call(t);!(a=(n=r.next()).done)&&(i.push(n.value),!e||i.length!==e);a=!0);}catch(l){c=!0,o=l}finally{try{a||null==r.return||r.return()}finally{if(c)throw o}}return i}(t,e)||function(t,e){if(!t)return;if("string"===typeof t)return ot(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return ot(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ot(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}const it=function(t){var e,r=t.options,n=t.variants,o=t.onCallback,c=t.variantId,l=(s()||{}).product,u=(K().player||{}).settings,p=d(),f=n.length,h=nt((0,i.useState)(!1),2),v=h[0],y=h[1];(null===l||void 0===l||null===(e=l.excludedVariants)||void 0===e?void 0:e.length)>0?y(!0):y(!1);var m=null;c&&(m=n.filter((function(t){return t.id===Number(c)})));var w=function(t,e){return!(!m||0===m.length||b)&&m[0]["option".concat(e+1)]===t},g=nt((0,i.useState)(),2),b=g[0],C=g[1],x=nt((0,i.useState)(0),2),O=x[0],L=x[1],E=[],S=nt((0,i.useState)(null),2),k=S[0],Z=S[1],N=nt((0,i.useState)(null),2),j=N[0],P=N[1],I=function(t){C(t.target.value),L(t.target.id);var e=(0,Q.F0)(n);if(e){var r=e.price,i=e.id;o({price:r,id:i})}else{l.deletedVariant=!0;var a={product:et({},l)};p({type:_.a.UPDATE_PRODUCT,payload:a})}};l&&l.variants.length&&l.variants.forEach((function(t){var e=t.options;e[O]===b&&O!=k?(E.push(e),P(e[O])):null!=j&&e[O-1]===j&&E.push(e)}));var T=function(t){Z(t.target.id)};return(0,a.tZ)("div",{className:"vw-cmp__select-root",children:r&&(f>1||v)&&(0,a.tZ)("div",{className:"vw-shoppable__options",children:r.map((function(t,e){var n,o,i=t.name;return(0,a.BX)("div",{className:"vw__select-row",children:[(0,a.tZ)("label",{children:i}),(0,a.tZ)("div",{className:"vw__select",children:(0,a.BX)("div",{className:"vw__select-item",children:[2==r.length&&(0,a.BX)("select",{id:"".concat(e),className:"vw-shoppable__select-item",onChange:I,onClick:T,children:[(0,a.tZ)("option",{value:"",selected:!0,children:null!==u&&void 0!==u&&u.translation&&null!==u&&void 0!==u&&null!==(n=u.translation)&&void 0!==n&&n.defaultOption?null===u||void 0===u||null===(o=u.translation)||void 0===o?void 0:o.defaultOption:"Please select"}),E.length>=1&&e>0&&E.map((function(t,r){return(0,a.tZ)("option",{selected:w(t[e],e),value:t[e],children:t[e]},r)})),E.length<1&&e>0&&t.values.map((function(t,r){return(0,a.tZ)("option",{selected:w(t,e),value:t,children:t},r)})),0===e&&t.values.map((function(t,r){return(0,a.tZ)("option",{selected:w(t,e),value:t,children:t},r)}))]}),2!=r.length&&(0,a.tZ)("select",{id:"".concat(e),className:"vw-shoppable__select-item",onChange:I,onClick:T,children:t.values.map((function(t,r){return(0,a.tZ)("option",{selected:w(t,e),value:t,children:t},r)}))}),(0,a.tZ)("span",{className:"shoppable__select--arrow",children:(0,a.tZ)("svg",{width:"14",height:"8",viewBox:"0 0 14 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.tZ)("path",{d:"M2 1.5L7 6.5L12 1.5",stroke:"#8F8F8F","stroke-width":"1.5","stroke-linecap":"square"})})})]})})]},"selectitem-".concat(e))}))})})};var at=r(1955);function ct(t){return ct="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ct(t)}function lt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function ut(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?lt(Object(r),!0).forEach((function(e){st(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):lt(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function st(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function dt(){dt=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",i=n.asyncIterator||"@@asyncIterator",a=n.toStringTag||"@@toStringTag";function c(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(E){c=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var o=e&&e.prototype instanceof d?e:d,i=Object.create(o.prototype),a=new x(n||[]);return i._invoke=function(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return L()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=_(a,r);if(c){if(c===s)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var l=u(t,e,r);if("normal"===l.type){if(n=r.done?"completed":"suspendedYield",l.arg===s)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(n="completed",r.method="throw",r.arg=l.arg)}}}(t,r,a),i}function u(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(E){return{type:"throw",arg:E}}}t.wrap=l;var s={};function d(){}function p(){}function f(){}var h={};c(h,o,(function(){return this}));var v=Object.getPrototypeOf,y=v&&v(v(O([])));y&&y!==e&&r.call(y,o)&&(h=y);var m=f.prototype=d.prototype=Object.create(h);function w(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function g(t,e){function n(o,i,a,c){var l=u(t[o],t,i);if("throw"!==l.type){var s=l.arg,d=s.value;return d&&"object"==ct(d)&&r.call(d,"__await")?e.resolve(d.__await).then((function(t){n("next",t,a,c)}),(function(t){n("throw",t,a,c)})):e.resolve(d).then((function(t){s.value=t,a(s)}),(function(t){return n("throw",t,a,c)}))}c(l.arg)}var o;this._invoke=function(t,r){function i(){return new e((function(e,o){n(t,r,e,o)}))}return o=o?o.then(i,i):i()}}function _(t,e){var r=t.iterator[e.method];if(void 0===r){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,_(t,e),"throw"===e.method))return s;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return s}var n=u(r,t.iterator,e.arg);if("throw"===n.type)return e.method="throw",e.arg=n.arg,e.delegate=null,s;var o=n.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,s):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,s)}function b(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function C(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function x(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(b,this),this.reset(!0)}function O(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:L}}function L(){return{value:void 0,done:!0}}return p.prototype=f,c(m,"constructor",f),c(f,"constructor",p),p.displayName=c(f,a,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===p||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,f):(t.__proto__=f,c(t,a,"GeneratorFunction")),t.prototype=Object.create(m),t},t.awrap=function(t){return{__await:t}},w(g.prototype),c(g.prototype,i,(function(){return this})),t.AsyncIterator=g,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new g(l(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},w(m),c(m,a,"Generator"),c(m,o,(function(){return this})),c(m,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},t.values=O,x.prototype={constructor:x,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(C),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),l=r.call(i,"finallyLoc");if(c&&l){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,s):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),s},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),C(r),s}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;C(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:O(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),s}},t}function pt(t,e,r,n,o,i,a){try{var c=t[i](a),l=c.value}catch(u){return void r(u)}c.done?e(l):Promise.resolve(l).then(n,o)}function ft(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){pt(i,n,o,a,c,"next",t)}function c(t){pt(i,n,o,a,c,"throw",t)}a(void 0)}))}}function ht(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==r)return;var n,o,i=[],a=!0,c=!1;try{for(r=r.call(t);!(a=(n=r.next()).done)&&(i.push(n.value),!e||i.length!==e);a=!0);}catch(l){c=!0,o=l}finally{try{a||null==r.return||r.return()}finally{if(c)throw o}}return i}(t,e)||function(t,e){if(!t)return;if("string"===typeof t)return vt(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return vt(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function vt(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var yt="CART",mt="NONE",wt=function(t){var e=t.icon;if(e!==mt){var r=e===yt?function(){return(0,a.tZ)("span",{children:(0,a.BX)("svg",{width:"21",height:"21",viewBox:"0 0 21 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.tZ)("path",{d:"M1.5  1.5H2.71922C3.17809 1.5 3.57807 1.8123 3.68937 2.25746L6.31063 12.7425C6.42193 13.1877 6.82191 13.5 7.28078 13.5H15.7792C16.2097 13.5 16.5918 13.2246 16.7279 12.8162L19.0613 5.81623C19.2771 5.16869 18.7951 4.5 18.1126 4.5H4.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.tZ)("circle",{cx:"14.5",cy:"18",r:"1.5",stroke:"currentColor",strokeWidth:"1.5"}),(0,a.tZ)("circle",{cx:"8.5",cy:"18",r:"1.5",stroke:"currentColor",strokeWidth:"1.5"})]})})}:function(){return(0,a.tZ)("span",{children:(0,a.tZ)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.tZ)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.9999 5C14.9999 3.34315 13.6567 2 11.9999 2C10.343 2 8.99987 3.34315 8.99987 5H14.9999ZM11.9999 0C9.23845 0 6.99987 2.23858 6.99987 5H2.99987L2.22146 19.7898C2.10101 22.0783 3.9242 24 6.21594 24H17.7838C20.0755 24 21.8987 22.0783 21.7783 19.7898L20.9999 5H16.9999C16.9999 2.23858 14.7613 0 11.9999 0ZM14.9999 7H16.9999H19.1024L19.781 19.8949C19.8413 21.0392 18.9297 22 17.7838 22H6.21594C5.07007 22 4.15847 21.0392 4.2187 19.8949L4.89738 7H6.99987H8.99987H14.9999ZM6.99987 9C6.99987 10.5447 7.63011 11.7644 8.60969 12.5807C9.56632 13.3779 10.8035 13.75 11.9999 13.75C13.1962 13.75 14.4334 13.3779 15.3901 12.5807C16.3696 11.7644 16.9999 10.5447 16.9999 9H14.9999C14.9999 9.95529 14.6301 10.6106 14.1097 11.0443C13.5663 11.4971 12.8035 11.75 11.9999 11.75C11.1962 11.75 10.4334 11.4971 9.89006 11.0443C9.36963 10.6106 8.99987 9.95529 8.99987 9H6.99987Z",fill:"currentColor"})})})};return(0,a.tZ)(r,{})}};const gt=function(t){var e,r,n,o=t.product,c=t.appState,l=s(),u=l.isLoadingInProgress,p=l.subscriptionId,f=d(),h=K().player||{},v=h.buttonStyle,y=h.buyButton,m=h.settings,w=c||{},g=w.trackingContext,b=w.inventorySetting,C=o.available,x=o.deletedVariant||!1,O=function(t){switch(t.type){case T.Nk.ADD_TO_CART:return null===t||void 0===t?void 0:t.addToCart;case T.Nk.DIRECT_TO_CHECKOUT:return null===t||void 0===t?void 0:t.directToCheckout;case T.Nk.DIRECT_TO_CART_CUSTOM:return null===t||void 0===t?void 0:t.directToCartCustom;case T.Nk.DIRECT_TO_CART_REDIRECT:return null===t||void 0===t?void 0:t.directToCartRedirect;case T.Nk.CUSTOM_URL:return null===t||void 0===t?void 0:t.customUrl;default:return null===t||void 0===t?void 0:t.directToCart}}(y),L=!o.available||k,E=!(null===o||void 0===o||!o.variants)&&(null===o||void 0===o||null===(e=o.excludedVariants)||void 0===e?void 0:e.some((function(t){return t.id===o.selectedId}))),S=ht((0,i.useState)(u),2),k=S[0];S[1];function Z(t,e,r){return N.apply(this,arguments)}function N(){return(N=ft(dt().mark((function t(e,r,n){var o,i,a;return dt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o=window,i=o.Shopify,a=o.__st,t.abrupt("return",G(T.X8.Cart,ut({shop:i.shop,productRefId:n||a.rid,shopableVideo:r,cartId:e},g)));case 2:case"end":return t.stop()}}),t)})))).apply(this,arguments)}var P=function(){f({type:_.a.SET_IS_LOADING_IN_PROGRESS,payload:{isLoadingInProgress:!0}})},I=function(){var t=ft(dt().mark((function t(){var e,r;return dt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e={"Content-type":"application/json"},r={id:o.selectedId,quantity:1},p&&(r.selling_plan=p),t.prev=3,t.next=6,j().post("/cart/add.js",r,{headers:e});case 6:return t.next=8,Z(at.Z.get(Q.JB),!0,o.id);case 8:t.next=13;break;case 10:t.prev=10,t.t0=t.catch(3),console.error("Add to cart error: ",t.t0);case 13:case"end":return t.stop()}}),t,null,[[3,10]])})));return function(){return t.apply(this,arguments)}}(),B=function(){var t=ft(dt().mark((function t(){return dt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return P(),t.next=3,I();case 3:window.location="".concat(window.location.origin,"/cart");case 4:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),A=function(){var t=ft(dt().mark((function t(){return dt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,I();case 2:sessionStorage.setItem("openCart",null===O||void 0===O?void 0:O.js),document.location.reload();case 4:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),H=function(){var t=ft(dt().mark((function t(){return dt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,I();case 2:window.location.replace(null===O||void 0===O?void 0:O.redirectURL);case 3:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),D=function(){var t=ft(dt().mark((function t(){return dt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:console.log("asdasdas"),window.location.replace(null===O||void 0===O?void 0:O.redirectURL);case 2:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),R=function(){var t=ft(dt().mark((function t(){return dt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return P(),t.next=3,I();case 3:window.location="".concat(window.location.origin,"/checkout");case 4:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),M=function(){var t=ft(dt().mark((function t(){var e,r;return dt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,I();case 2:return t.prev=2,t.next=5,(0,Q.rY)();case 5:e=t.sent,r={cart:e},f({type:_.a.GET_CART,payload:r}),t.next=13;break;case 10:t.prev=10,t.t0=t.catch(2),console.error("Error cart obj: ",t.t0);case 13:case"end":return t.stop()}}),t,null,[[2,10]])})));return function(){return t.apply(this,arguments)}}(),F=function(){var t=ft(dt().mark((function t(){return dt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:t.t0=y.type,t.next=t.t0===T.Nk.DIRECT_TO_CHECKOUT?3:t.t0===T.Nk.ADD_TO_CART?6:t.t0===T.Nk.DIRECT_TO_CART_CUSTOM?7:t.t0===T.Nk.DIRECT_TO_CART_REDIRECT?8:t.t0===T.Nk.CUSTOM_URL?9:10;break;case 3:return t.next=5,R();case 5:return t.abrupt("return",t.sent);case 6:return t.abrupt("return",M());case 7:return t.abrupt("return",A());case 8:return t.abrupt("return",H());case 9:return t.abrupt("return",D());case 10:return t.next=12,B();case 12:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();return(0,a.BX)(a.HY,{children:[b===T.a_.IGNORE_INVENTORY&&!(!1===(null===v||void 0===v?void 0:v.show))&&(0,a.BX)("button",{"aria-label":"add to cart",className:"vw-cmp__button-shoppable--primary",style:{background:v.backgroundColor,color:v.textColor,borderRadius:v.radius,border:v.showBorder?"".concat(v.borderColor," solid"):0,borderWidth:v.showBorder?"".concat(v.borderWidth):0},disabled:E,type:"button",onClick:F,children:[k&&(0,a.tZ)("div",{className:"vw__atc-loader-root",children:(0,a.tZ)("span",{className:"vw__atc-loader"})}),!k&&(0,a.tZ)(wt,{icon:O.icon}),!k&&""!==O.text&&O.text]}),b===T.a_.USE_INVENTORY&&!(!1===(null===v||void 0===v?void 0:v.show))&&(0,a.BX)("button",{"aria-label":"add to cart",className:"vw-cmp__button-shoppable--primary",style:{background:v.backgroundColor,color:v.textColor,borderRadius:v.radius,border:v.showBorder?"".concat(v.borderColor," solid"):0,borderWidth:v.showBorder?"".concat(v.borderWidth):0,opacity:L||E||x?.3:1,cursor:L||E||x?"initial":"pointer"},type:"button",disabled:L||E||x,onClick:F,children:[k&&(0,a.tZ)("div",{className:"vw__atc-loader-root",children:(0,a.tZ)("span",{className:"vw__atc-loader"})}),!k&&!E&&!x&&C&&(0,a.tZ)(wt,{icon:O.icon}),!k&&!E&&!x&&C&&""!==O.text&&O.text,!k&&!C&&"Sold out",!k&&C&&(E||x)&&(null!==m&&void 0!==m&&m.translation&&null!==m&&void 0!==m&&null!==(r=m.translation)&&void 0!==r&&r.notAvailable?null===m||void 0===m||null===(n=m.translation)||void 0===n?void 0:n.notAvailable:"Not available")]})]})};const _t=function(t){var e=t.product,r=K().player,n=(e||{}).handle,o=(r||{}).secondaryButton,i="/products/".concat(n);return(0,a.tZ)(a.HY,{children:(null===o||void 0===o?void 0:o.show)&&(0,a.tZ)("a",{href:"".concat(i),"aria-label":"do to details",className:"vw-cmp__button-shoppable--secondary",style:{background:o.backgroundColor,color:o.textColor,borderRadius:o.radius,border:o.showBorder?"".concat(o.borderColor," solid"):0,borderWidth:o.showBorder?"".concat(o.borderWidth):0},type:"button",children:o.text})})};const bt=function(){var t=s(),e=((K().player||{}).buyButton||{}).type,r=t.cart;if(e===T.Nk.ADD_TO_CART)return(0,a.tZ)("div",{className:"vw-cmp__checkout-set",children:(0,a.BX)("form",{className:"vw-cmp__checkout--form",action:"/cart",method:"post",id:"cart",children:[r&&(0,a.tZ)("div",{className:"vw-cmp__checkout-set--col vw-cart",children:(0,a.BX)("button",{type:"submit",name:"checkout",className:"vw-cmp__checkout-set-button vw-cmp__checkout-set-button--cart",children:[(0,a.BX)("span",{className:"vw-cmp__checkout-set--cart-icon-container",children:[(0,a.tZ)("span",{className:"vw-cmp__checkout-set--cart-icon-badge",children:null===r||void 0===r?void 0:r.item_count}),(0,a.tZ)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.tZ)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.0001 5C15.0001 3.34315 13.657 2 12.0001 2C10.3433 2 9.00012 3.34315 9.00012 5H15.0001ZM12.0001 0C9.23869 0 7.00012 2.23858 7.00012 5H3.00012L2.22171 19.7898C2.10126 22.0783 3.92445 24 6.21618 24H17.7841C20.0758 24 21.899 22.0783 21.7785 19.7898L21.0001 5H17.0001C17.0001 2.23858 14.7615 0 12.0001 0ZM15.0001 7H17.0001H19.1026L19.7813 19.8949C19.8415 21.0392 18.9299 22 17.7841 22H6.21618C5.07031 22 4.15872 21.0392 4.21894 19.8949L4.89762 7H7.00012H9.00012H15.0001ZM7.00012 9C7.00012 10.5447 7.63036 11.7644 8.60993 12.5807C9.56656 13.3779 10.8038 13.75 12.0001 13.75C13.1964 13.75 14.4337 13.3779 15.3903 12.5807C16.3699 11.7644 17.0001 10.5447 17.0001 9H15.0001C15.0001 9.95529 14.6304 10.6106 14.1099 11.0443C13.5666 11.4971 12.8038 11.75 12.0001 11.75C11.1964 11.75 10.4337 11.4971 9.8903 11.0443C9.36988 10.6106 9.00012 9.95529 9.00012 9H7.00012Z",fill:"white"})})]}),(0,a.BX)("span",{className:"vw-cmp__checkout-set--cart-icon-info",children:[(0,a.tZ)("span",{children:"Subtotal"}),(0,a.BX)("strong",{children:[(null===r||void 0===r?void 0:r.currency)+" ",((null===r||void 0===r?void 0:r.items_subtotal_price)/100).toFixed(2)]})]})]})}),(0,a.tZ)("div",{className:"vw-cmp__checkout-set--col vw-checkout",children:(0,a.tZ)("button",{type:"submit",id:"checkout",className:"vw-cmp__checkout-set-button vw-cmp__checkout-set-button--checkout",name:"checkout",form:"cart",children:"Check Out"})})]})})};function Ct(t,e){document.addEventListener(t,e)}function xt(t,e){document.removeEventListener(t,e)}function Ot(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==r)return;var n,o,i=[],a=!0,c=!1;try{for(r=r.call(t);!(a=(n=r.next()).done)&&(i.push(n.value),!e||i.length!==e);a=!0);}catch(l){c=!0,o=l}finally{try{a||null==r.return||r.return()}finally{if(c)throw o}}return i}(t,e)||function(t,e){if(!t)return;if("string"===typeof t)return Lt(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Lt(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Lt(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}const Et=function(t){var e,r,n,o=t.visible,c=void 0!==o&&o,l=t.title,u=t.children,s=Ot((0,i.useState)(c),2),d=s[0],p=s[1],f=(0,Z.Z)("vw-cmp__shoppable--accordion",(n=d,(r="is-visible")in(e={})?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,e));return(0,a.tZ)(a.HY,{children:(0,a.BX)("div",{className:f,children:[l&&(0,a.BX)("div",{onClick:function(){return p((function(t){return!t}))},className:"vw-cmp__shoppable--accordion-title",children:[l,(0,a.tZ)(W.X,{features:Y.H,children:(0,a.tZ)(z.m.span,{className:"vw-cmp__shoppable--accordion-icon",animate:d?"closed":"open",transition:{ease:[.29,.63,.4,.79],duration:.15},variants:{open:{rotate:0},closed:{rotate:180}},children:(0,a.tZ)("svg",{width:"14",height:"9",viewBox:"0 0 14 9",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.tZ)("path",{d:"M13 1L7 7L1 1",stroke:"currentColor",strokeWidth:"2"})})})})]}),(0,a.tZ)(W.X,{features:Y.H,children:(0,a.tZ)(z.m.div,{className:"vw-cmp__shoppable--accordion-body",animate:d?"open":"closed",transition:{ease:[.29,.63,.4,.79],duration:.15},variants:{open:{opacity:1,maxHeight:"2000vh"},closed:{opacity:0,maxHeight:0}},children:u})})]})})};var St=r(2730),kt=r(9782);const Zt=function(){return(0,a.tZ)("div",{class:"vw-cmp__loader"})};function Nt(t){return function(t){if(Array.isArray(t))return It(t)}(t)||function(t){if("undefined"!==typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||Pt(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function jt(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==r)return;var n,o,i=[],a=!0,c=!1;try{for(r=r.call(t);!(a=(n=r.next()).done)&&(i.push(n.value),!e||i.length!==e);a=!0);}catch(l){c=!0,o=l}finally{try{a||null==r.return||r.return()}finally{if(c)throw o}}return i}(t,e)||Pt(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Pt(t,e){if(t){if("string"===typeof t)return It(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?It(t,e):void 0}}function It(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}const Tt=function(t){var e=t.product,r=e.image,n=e.images,o=e.title,c=s().isShoppableLoading,l=function(t){var e,r="";if(null!==t&&void 0!==t&&null!==(e=t.variants)&&void 0!==e&&e.length)return t.variants.forEach((function(e){"undefined"!==typeof e.featured_image&&null!==e.featured_image&&t.selectedId===e.id&&(r=e.featured_image.src.replace(/http(s)?:/,""))})),r};n&&n.length&&(n.includes(l(e))&&n.splice(n.indexOf(l(e)),1),l(e)&&n.unshift(l(e)));if(e)return(0,a.tZ)("div",{className:"vw-cmp__shoppable-media--root",children:n&&n.length>2?function(){var t=null===n||void 0===n?void 0:n.slice(0,10),r=jt((0,i.useState)(0),2),l=r[0],u=r[1],s=jt((0,i.useState)(!1),2),d=(s[0],s[1],(0,St.E)({loop:!1,mode:"free",slides:{number:t.length,perView:"1.5",spacing:8},selector:".vw-cmp__shopable-keen-media-slide",slideChanged:function(t){u(t.track.details.rel)}})),p=jt(d,3),f=p[0],h=p[1];p[2];return(0,i.useEffect)((function(){var t;null===(t=h.current)||void 0===t||t.update()}),[h.current]),(0,i.useEffect)((function(){var t;null===(t=h.current)||void 0===t||t.moveToIdx(0)}),[e]),(0,a.BX)("div",{className:"vw-cmp__shoppable-media--carousel",children:[(0,a.tZ)("div",{ref:f,className:"vw-cmp__shopable-keen-media-slider",children:t&&t.map((function(t,e){return(0,a.tZ)("div",{className:"vw-cmp__shopable-keen-media-slide ".concat(c&&"vw-mod__is-loading"),virtualIndex:e,children:c?(0,a.tZ)(Zt,{}):(0,a.tZ)("img",{src:t,alt:o})},e)}))}),t&&h.current&&(0,a.tZ)("div",{className:"vw-cmp__shopable-keen-media-slider-dots",children:Nt(Array(h.current.track.details.slides.length).keys()).map((function(t){return(0,a.tZ)("div",{onClick:function(){var e;null===(e=h.current)||void 0===e||e.moveToIdx(t)},className:"vw-cmp__shopable-keen-media-slider-dot"+(l===t?" active":"")},t)}))})]})}():(0,a.tZ)("div",{className:"vw-cmp__shoppable-media--image ".concat(c&&"vw-mod__is-loading"),children:c?(0,a.tZ)(Zt,{}):r&&o?(0,a.tZ)("img",{src:r,alt:o}):n&&o?(0,a.tZ)("img",{src:n[0],alt:o}):null})})};const Bt=function(t){var e=t.children,r=t.classModifier;return(0,a.tZ)("div",{className:"vw-cmp__shoppable-button--root ".concat(r),children:(0,a.tZ)("div",{className:"vw-cmp__shoppable-button--root-inner",children:e})})};var At=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(t){var r=t.toString(),n=r.replace(/,/g,"."),o=function(){var t=window.Shopify;return(null===t||void 0===t?void 0:t.currency.active)||""},i=function(t){var r=e?t/100:t;return new Intl.NumberFormat(void 0,{style:"currency",currency:"".concat(o())}).format(r)};return i(parseFloat(n))}};const Ht=function(){return(0,a.BX)("svg",{width:"183",height:"248",viewBox:"0 0 183 248",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{maxWidth:"100%"},children:[(0,a.tZ)("path",{d:"M0 191H140V207H0V191Z",fill:"url(#paint0_linear_748_5231)"}),(0,a.tZ)("path",{d:"M0 211H104V227H0V211Z",fill:"url(#paint1_linear_748_5231)"}),(0,a.tZ)("path",{d:"M0 232H44V248H0V232Z",fill:"url(#paint2_linear_748_5231)"}),(0,a.tZ)("path",{d:"M0 0H183V183H0V0Z",fill:"url(#paint3_linear_748_5231)"}),(0,a.BX)("defs",{children:[(0,a.BX)("linearGradient",{id:"paint0_linear_748_5231",x1:"2.15576",y1:"137.099",x2:"183",y2:"137.099",gradientUnits:"userSpaceOnUse",children:[(0,a.tZ)("stop",{"stop-color":"#FCFCFC"}),(0,a.tZ)("stop",{offset:"0.151042","stop-color":"#EDEDED"}),(0,a.tZ)("stop",{offset:"1","stop-color":"#FCFCFC"})]}),(0,a.BX)("linearGradient",{id:"paint1_linear_748_5231",x1:"2.15576",y1:"137.099",x2:"183",y2:"137.099",gradientUnits:"userSpaceOnUse",children:[(0,a.tZ)("stop",{"stop-color":"#FCFCFC"}),(0,a.tZ)("stop",{offset:"0.151042","stop-color":"#EDEDED"}),(0,a.tZ)("stop",{offset:"1","stop-color":"#FCFCFC"})]}),(0,a.BX)("linearGradient",{id:"paint2_linear_748_5231",x1:"2.15576",y1:"137.099",x2:"183",y2:"137.099",gradientUnits:"userSpaceOnUse",children:[(0,a.tZ)("stop",{"stop-color":"#FCFCFC"}),(0,a.tZ)("stop",{offset:"0.151042","stop-color":"#EDEDED"}),(0,a.tZ)("stop",{offset:"1","stop-color":"#FCFCFC"})]}),(0,a.BX)("linearGradient",{id:"paint3_linear_748_5231",x1:"2.15576",y1:"137.099",x2:"183",y2:"137.099",gradientUnits:"userSpaceOnUse",children:[(0,a.tZ)("stop",{"stop-color":"#FCFCFC"}),(0,a.tZ)("stop",{offset:"0.151042","stop-color":"#EDEDED"}),(0,a.tZ)("stop",{offset:"1","stop-color":"#FCFCFC"})]})]})]})};const Dt=function(t){var e=t.product||{},r=e.title,n=e.featured_image,o=e.price,i=e.url,c=e.compare_at_price,l=s().isShoppableLoading;return(0,a.tZ)("div",{className:"vw-cmp__recommended-products--item",children:l?(0,a.tZ)(Ht,{}):(0,a.tZ)(a.HY,{children:(0,a.BX)("a",{href:"".concat(i),target:"_blank",children:[n&&r&&(0,a.tZ)("div",{className:"vw-cmp__recommended-products--item-image",children:(0,a.tZ)("img",{src:n,alt:r})}),r&&(0,a.tZ)("div",{className:"vw-cmp__recommended-products--item-title notranslate",children:r}),(0,a.BX)("div",{className:"vw-cmp__recommended-products--item-price notranslate",children:[o&&(0,a.tZ)("span",{className:"vw-cmp__recommended-products--item-price-current notranslate",children:At(o/100)}),c&&(0,a.tZ)("span",{className:"vw-cmp__recommended-products--item-price-old notranslate",children:At(c/100)})]})]})})})};function Rt(t){return Rt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Rt(t)}function Mt(){Mt=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",i=n.asyncIterator||"@@asyncIterator",a=n.toStringTag||"@@toStringTag";function c(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(E){c=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var o=e&&e.prototype instanceof d?e:d,i=Object.create(o.prototype),a=new x(n||[]);return i._invoke=function(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return L()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=_(a,r);if(c){if(c===s)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var l=u(t,e,r);if("normal"===l.type){if(n=r.done?"completed":"suspendedYield",l.arg===s)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(n="completed",r.method="throw",r.arg=l.arg)}}}(t,r,a),i}function u(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(E){return{type:"throw",arg:E}}}t.wrap=l;var s={};function d(){}function p(){}function f(){}var h={};c(h,o,(function(){return this}));var v=Object.getPrototypeOf,y=v&&v(v(O([])));y&&y!==e&&r.call(y,o)&&(h=y);var m=f.prototype=d.prototype=Object.create(h);function w(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function g(t,e){function n(o,i,a,c){var l=u(t[o],t,i);if("throw"!==l.type){var s=l.arg,d=s.value;return d&&"object"==Rt(d)&&r.call(d,"__await")?e.resolve(d.__await).then((function(t){n("next",t,a,c)}),(function(t){n("throw",t,a,c)})):e.resolve(d).then((function(t){s.value=t,a(s)}),(function(t){return n("throw",t,a,c)}))}c(l.arg)}var o;this._invoke=function(t,r){function i(){return new e((function(e,o){n(t,r,e,o)}))}return o=o?o.then(i,i):i()}}function _(t,e){var r=t.iterator[e.method];if(void 0===r){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,_(t,e),"throw"===e.method))return s;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return s}var n=u(r,t.iterator,e.arg);if("throw"===n.type)return e.method="throw",e.arg=n.arg,e.delegate=null,s;var o=n.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,s):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,s)}function b(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function C(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function x(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(b,this),this.reset(!0)}function O(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:L}}function L(){return{value:void 0,done:!0}}return p.prototype=f,c(m,"constructor",f),c(f,"constructor",p),p.displayName=c(f,a,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===p||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,f):(t.__proto__=f,c(t,a,"GeneratorFunction")),t.prototype=Object.create(m),t},t.awrap=function(t){return{__await:t}},w(g.prototype),c(g.prototype,i,(function(){return this})),t.AsyncIterator=g,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new g(l(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},w(m),c(m,a,"Generator"),c(m,o,(function(){return this})),c(m,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},t.values=O,x.prototype={constructor:x,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(C),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),l=r.call(i,"finallyLoc");if(c&&l){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,s):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),s},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),C(r),s}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;C(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:O(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),s}},t}function Gt(t,e,r,n,o,i,a){try{var c=t[i](a),l=c.value}catch(u){return void r(u)}c.done?e(l):Promise.resolve(l).then(n,o)}function Ft(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==r)return;var n,o,i=[],a=!0,c=!1;try{for(r=r.call(t);!(a=(n=r.next()).done)&&(i.push(n.value),!e||i.length!==e);a=!0);}catch(l){c=!0,o=l}finally{try{a||null==r.return||r.return()}finally{if(c)throw o}}return i}(t,e)||function(t,e){if(!t)return;if("string"===typeof t)return Vt(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Vt(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Vt(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}const Xt=function(t){var e,r=t.productId,n=t.excludeIds,o=Ft((0,i.useState)([]),2),c=o[0],l=o[1],u=((K()||{}).player||{}).settings;if((0,i.useEffect)((function(){var t;(t=Mt().mark((function t(){var e,o;return Mt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!r){t.next=11;break}return t.prev=1,t.next=4,(0,Q.qD)(r);case 4:(e=t.sent)&&e.products.length>0&&(o=e.products,n&&n.length>0&&(o=o.filter((function(t){return!n.map((function(t){return t.trim()})).includes(t.id.toString())})).slice(0,4)),l(o)),t.next=11;break;case 8:t.prev=8,t.t0=t.catch(1),console.error("fetch product error: ",t.t0);case 11:case"end":return t.stop()}}),t,null,[[1,8]])})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){Gt(i,n,o,a,c,"next",t)}function c(t){Gt(i,n,o,a,c,"throw",t)}a(void 0)}))})()}),[r]),c&&0!==(null===c||void 0===c?void 0:c.length))return(0,a.BX)("div",{className:"vw-cmp__recommended-products",children:[(0,a.tZ)("div",{className:"vw-cmp__recommended-products-title",children:null!==u&&void 0!==u&&u.translation?null===u||void 0===u||null===(e=u.translation)||void 0===e?void 0:e.recommendedProducts:"You may also like"}),(0,a.tZ)("div",{className:"vw-cmp__recommended-products--grid",children:c.slice(0,4).map((function(t,e){return(0,a.tZ)(Dt,{product:t})}))})]})};var Ut=function(){var t=w().storeLogo,e=((K()||{}).player||{}).showLogo,r=function(){return(0,a.tZ)("a",{href:"https://www.videowise.com",target:"_blank",rel:"noopener",children:(0,a.BX)("svg",{width:"108",height:"44",viewBox:"0 0 108 44",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.tZ)("g",{filter:"url(#filter0_d_1332_6679)",children:(0,a.tZ)("path",{d:"M6.99 12.25C7.19667 12.5033 7.44333 12.7167 7.73 12.89C8.01667 13.0633 8.34 13.15 8.7 13.15C8.86 13.15 9.01333 13.1267 9.16 13.08C9.31333 13.0267 9.44333 12.9533 9.55 12.86C9.66333 12.7667 9.75333 12.6567 9.82 12.53C9.88667 12.4033 9.92 12.26 9.92 12.1C9.92 11.8333 9.83667 11.62 9.67 11.46C9.51 11.2933 9.30667 11.15 9.06 11.03C8.82 10.91 8.56 10.7967 8.28 10.69C8 10.5833 7.74333 10.4533 7.51 10.3C7.25667 10.1333 7.04333 9.92667 6.87 9.68C6.70333 9.43333 6.62 9.12667 6.62 8.76C6.62 8.50667 6.67333 8.26667 6.78 8.04C6.88667 7.81333 7.03333 7.61667 7.22 7.45C7.41333 7.27667 7.63667 7.14333 7.89 7.05C8.15 6.95 8.43333 6.9 8.74 6.9C8.96 6.9 9.16333 6.92333 9.35 6.97C9.54333 7.01 9.71667 7.06667 9.87 7.14C10.03 7.20667 10.17 7.28 10.29 7.36C10.4167 7.44 10.5267 7.52 10.62 7.6L10.03 8.33C9.65 8.01 9.23333 7.85 8.78 7.85C8.63333 7.85 8.49 7.87 8.35 7.91C8.21667 7.95 8.09333 8.01 7.98 8.09C7.87333 8.17 7.78667 8.27 7.72 8.39C7.65333 8.50333 7.62 8.63667 7.62 8.79C7.62 9.01 7.7 9.19333 7.86 9.34C8.02667 9.48667 8.23 9.62 8.47 9.74C8.71667 9.85333 8.97667 9.96667 9.25 10.08C9.53 10.1933 9.78333 10.3233 10.01 10.47C10.13 10.55 10.2433 10.64 10.35 10.74C10.4567 10.84 10.5533 10.9567 10.64 11.09C10.7267 11.2167 10.7933 11.3633 10.84 11.53C10.8933 11.69 10.92 11.87 10.92 12.07C10.92 12.3767 10.8633 12.6567 10.75 12.91C10.6367 13.1567 10.4833 13.37 10.29 13.55C10.0967 13.7233 9.86667 13.86 9.6 13.96C9.34 14.0533 9.05667 14.1 8.75 14.1C8.27 14.1 7.82 14 7.4 13.8C6.98 13.6 6.61333 13.31 6.3 12.93L6.99 12.25ZM13.1223 9.71C13.2556 9.59667 13.4356 9.48333 13.6623 9.37C13.8956 9.25667 14.1756 9.2 14.5023 9.2C14.8489 9.2 15.1689 9.27667 15.4623 9.43C15.7623 9.57667 16.0123 9.77667 16.2123 10.03C16.3656 10.2233 16.4789 10.45 16.5523 10.71C16.6323 10.9633 16.6723 11.2933 16.6723 11.7V14H15.7223V11.65C15.7223 11.35 15.6956 11.12 15.6423 10.96C15.5956 10.8 15.5289 10.6667 15.4423 10.56C15.3289 10.42 15.1856 10.31 15.0123 10.23C14.8456 10.1433 14.6656 10.1 14.4723 10.1C14.1589 10.1 13.8889 10.17 13.6623 10.31C13.4423 10.4433 13.2623 10.5967 13.1223 10.77V14H12.1723V6.9H13.1223V9.71ZM17.8758 11.65C17.8758 11.3033 17.9358 10.98 18.0558 10.68C18.1824 10.38 18.3524 10.12 18.5658 9.9C18.7858 9.68 19.0424 9.51 19.3358 9.39C19.6358 9.26333 19.9591 9.2 20.3058 9.2C20.6524 9.2 20.9724 9.26333 21.2658 9.39C21.5658 9.51 21.8224 9.68 22.0358 9.9C22.2558 10.12 22.4258 10.38 22.5458 10.68C22.6724 10.98 22.7358 11.3033 22.7358 11.65C22.7358 12.0033 22.6724 12.33 22.5458 12.63C22.4258 12.9233 22.2558 13.18 22.0358 13.4C21.8224 13.62 21.5658 13.7933 21.2658 13.92C20.9724 14.04 20.6524 14.1 20.3058 14.1C19.9591 14.1 19.6358 14.04 19.3358 13.92C19.0424 13.7933 18.7858 13.62 18.5658 13.4C18.3524 13.18 18.1824 12.9233 18.0558 12.63C17.9358 12.33 17.8758 12.0033 17.8758 11.65ZM18.8258 11.65C18.8258 11.8633 18.8624 12.0667 18.9358 12.26C19.0091 12.4467 19.1091 12.61 19.2358 12.75C19.3691 12.89 19.5258 13 19.7058 13.08C19.8858 13.16 20.0858 13.2 20.3058 13.2C20.5258 13.2 20.7258 13.16 20.9058 13.08C21.0858 13 21.2391 12.89 21.3658 12.75C21.4991 12.61 21.6024 12.4467 21.6758 12.26C21.7491 12.0667 21.7858 11.8633 21.7858 11.65C21.7858 11.4367 21.7491 11.2367 21.6758 11.05C21.6024 10.8567 21.4991 10.69 21.3658 10.55C21.2391 10.41 21.0858 10.3 20.9058 10.22C20.7258 10.14 20.5258 10.1 20.3058 10.1C20.0858 10.1 19.8858 10.14 19.7058 10.22C19.5258 10.3 19.3691 10.41 19.2358 10.55C19.1091 10.69 19.0091 10.8567 18.9358 11.05C18.8624 11.2367 18.8258 11.4367 18.8258 11.65ZM24.9875 16.4H24.0375V9.3H24.9575V9.73C25.1708 9.54333 25.4008 9.41 25.6475 9.33C25.9008 9.24333 26.1608 9.2 26.4275 9.2C26.6475 9.2 26.8542 9.22667 27.0475 9.28C27.2408 9.33333 27.4175 9.40667 27.5775 9.5C27.9375 9.71333 28.2275 10.0067 28.4475 10.38C28.6742 10.7533 28.7875 11.1767 28.7875 11.65C28.7875 12.1233 28.6775 12.5467 28.4575 12.92C28.2375 13.2867 27.9475 13.5767 27.5875 13.79C27.4275 13.8833 27.2442 13.9567 27.0375 14.01C26.8308 14.07 26.6208 14.1 26.4075 14.1C25.8542 14.1 25.3808 13.93 24.9875 13.59V16.4ZM24.9875 12.53C25.1475 12.7433 25.3408 12.91 25.5675 13.03C25.8008 13.1433 26.0375 13.2 26.2775 13.2C26.5042 13.2 26.7108 13.16 26.8975 13.08C27.0908 12.9933 27.2575 12.88 27.3975 12.74C27.5375 12.6 27.6442 12.4367 27.7175 12.25C27.7975 12.0633 27.8375 11.8633 27.8375 11.65C27.8375 11.4433 27.8008 11.2467 27.7275 11.06C27.6542 10.8733 27.5508 10.71 27.4175 10.57C27.2908 10.4233 27.1342 10.31 26.9475 10.23C26.7608 10.1433 26.5542 10.1 26.3275 10.1C26.0408 10.1 25.7808 10.1633 25.5475 10.29C25.3208 10.4167 25.1342 10.5767 24.9875 10.77V12.53ZM31.0422 16.4H30.0922V9.3H31.0122V9.73C31.2255 9.54333 31.4555 9.41 31.7022 9.33C31.9555 9.24333 32.2155 9.2 32.4822 9.2C32.7022 9.2 32.9089 9.22667 33.1022 9.28C33.2955 9.33333 33.4722 9.40667 33.6322 9.5C33.9922 9.71333 34.2822 10.0067 34.5022 10.38C34.7289 10.7533 34.8422 11.1767 34.8422 11.65C34.8422 12.1233 34.7322 12.5467 34.5122 12.92C34.2922 13.2867 34.0022 13.5767 33.6422 13.79C33.4822 13.8833 33.2989 13.9567 33.0922 14.01C32.8855 14.07 32.6755 14.1 32.4622 14.1C31.9089 14.1 31.4355 13.93 31.0422 13.59V16.4ZM31.0422 12.53C31.2022 12.7433 31.3955 12.91 31.6222 13.03C31.8555 13.1433 32.0922 13.2 32.3322 13.2C32.5589 13.2 32.7655 13.16 32.9522 13.08C33.1455 12.9933 33.3122 12.88 33.4522 12.74C33.5922 12.6 33.6989 12.4367 33.7722 12.25C33.8522 12.0633 33.8922 11.8633 33.8922 11.65C33.8922 11.4433 33.8555 11.2467 33.7822 11.06C33.7089 10.8733 33.6055 10.71 33.4722 10.57C33.3455 10.4233 33.1889 10.31 33.0022 10.23C32.8155 10.1433 32.6089 10.1 32.3822 10.1C32.0955 10.1 31.8355 10.1633 31.6022 10.29C31.3755 10.4167 31.1889 10.5767 31.0422 10.77V12.53ZM39.5769 13.57C39.3835 13.7433 39.1635 13.8767 38.9169 13.97C38.6702 14.0567 38.4069 14.1 38.1269 14.1C37.9135 14.1 37.7035 14.07 37.4969 14.01C37.2902 13.9567 37.1069 13.8833 36.9469 13.79C36.5869 13.5767 36.2969 13.2867 36.0769 12.92C35.8569 12.5467 35.7469 12.1233 35.7469 11.65C35.7469 11.1767 35.8569 10.7533 36.0769 10.38C36.3035 10.0067 36.5969 9.71333 36.9569 9.5C37.1169 9.40667 37.2935 9.33333 37.4869 9.28C37.6802 9.22667 37.8869 9.2 38.1069 9.2C38.3735 9.2 38.6302 9.24333 38.8769 9.33C39.1302 9.41 39.3635 9.54333 39.5769 9.73V9.3H40.4969V14H39.5769V13.57ZM39.5469 10.77C39.4002 10.5767 39.2102 10.4167 38.9769 10.29C38.7502 10.1633 38.4935 10.1 38.2069 10.1C37.9802 10.1 37.7735 10.1433 37.5869 10.23C37.4002 10.31 37.2402 10.4233 37.1069 10.57C36.9802 10.71 36.8802 10.8733 36.8069 11.06C36.7335 11.2467 36.6969 11.4433 36.6969 11.65C36.6969 11.8633 36.7335 12.0633 36.8069 12.25C36.8869 12.4367 36.9969 12.6 37.1369 12.74C37.2769 12.88 37.4402 12.9933 37.6269 13.08C37.8202 13.16 38.0302 13.2 38.2569 13.2C38.4969 13.2 38.7302 13.1433 38.9569 13.03C39.1902 12.91 39.3869 12.7433 39.5469 12.53V10.77ZM43.1216 14H42.2016V6.9H43.1516V9.71C43.3649 9.53667 43.5949 9.41 43.8416 9.33C44.0882 9.24333 44.3382 9.2 44.5916 9.2C44.8116 9.2 45.0182 9.22667 45.2116 9.28C45.4049 9.33333 45.5816 9.40667 45.7416 9.5C46.1016 9.71333 46.3916 10.0067 46.6116 10.38C46.8382 10.7533 46.9516 11.1767 46.9516 11.65C46.9516 12.1233 46.8416 12.5467 46.6216 12.92C46.4016 13.2867 46.1116 13.5767 45.7516 13.79C45.5916 13.8833 45.4082 13.9567 45.2016 14.01C44.9949 14.07 44.7849 14.1 44.5716 14.1C43.9982 14.1 43.5149 13.9233 43.1216 13.57V14ZM43.1516 12.53C43.3116 12.7433 43.5049 12.91 43.7316 13.03C43.9649 13.1433 44.2016 13.2 44.4416 13.2C44.6682 13.2 44.8749 13.16 45.0616 13.08C45.2549 12.9933 45.4216 12.88 45.5616 12.74C45.7016 12.6 45.8082 12.4367 45.8816 12.25C45.9616 12.0633 46.0016 11.8633 46.0016 11.65C46.0016 11.4433 45.9649 11.2467 45.8916 11.06C45.8182 10.8733 45.7149 10.71 45.5816 10.57C45.4549 10.4233 45.2982 10.31 45.1116 10.23C44.9249 10.1433 44.7182 10.1 44.4916 10.1C44.2049 10.1 43.9449 10.1633 43.7116 10.29C43.4849 10.4167 43.2982 10.5767 43.1516 10.77V12.53ZM48.2563 6.9H49.2063V14H48.2563V6.9ZM51.4227 11.85C51.4361 12.05 51.4827 12.2367 51.5627 12.41C51.6494 12.5767 51.7594 12.7267 51.8927 12.86C52.0261 12.9867 52.1827 13.0867 52.3627 13.16C52.5427 13.2333 52.7361 13.27 52.9427 13.27C53.2894 13.27 53.5661 13.2033 53.7727 13.07C53.9861 12.93 54.1594 12.7833 54.2927 12.63L54.9127 13.22C54.7394 13.4467 54.4861 13.65 54.1527 13.83C53.8194 14.01 53.4127 14.1 52.9327 14.1C52.5927 14.1 52.2727 14.04 51.9727 13.92C51.6794 13.7933 51.4227 13.6233 51.2027 13.41C50.9827 13.19 50.8094 12.93 50.6827 12.63C50.5627 12.33 50.5027 12.0033 50.5027 11.65C50.5027 11.2967 50.5594 10.97 50.6727 10.67C50.7861 10.37 50.9427 10.1133 51.1427 9.9C51.3494 9.68 51.5927 9.51 51.8727 9.39C52.1527 9.26333 52.4594 9.2 52.7927 9.2C53.1194 9.2 53.4194 9.26333 53.6927 9.39C53.9727 9.51 54.2127 9.68 54.4127 9.9C54.6127 10.12 54.7694 10.38 54.8827 10.68C54.9961 10.98 55.0527 11.3033 55.0527 11.65C55.0527 11.67 55.0527 11.6967 55.0527 11.73C55.0527 11.7633 55.0494 11.8033 55.0427 11.85H51.4227ZM52.8227 10.03C52.5161 10.03 52.2394 10.1233 51.9927 10.31C51.7461 10.4967 51.5827 10.7433 51.5027 11.05H54.0627C54.0294 10.9033 53.9694 10.7667 53.8827 10.64C53.8027 10.5133 53.7061 10.4067 53.5927 10.32C53.4861 10.2267 53.3661 10.1567 53.2327 10.11C53.0994 10.0567 52.9627 10.03 52.8227 10.03ZM58.1996 9.3H59.1796L60.5696 12.5L61.9596 9.3H62.9396L60.8996 14H60.2396L58.1996 9.3ZM63.891 9.3H64.841V14H63.891V9.3ZM63.741 7.63C63.741 7.45667 63.801 7.31 63.921 7.19C64.041 7.06333 64.1877 7 64.361 7C64.5343 7 64.681 7.06333 64.801 7.19C64.9277 7.31 64.991 7.45667 64.991 7.63C64.991 7.80333 64.9277 7.95 64.801 8.07C64.681 8.19 64.5343 8.25 64.361 8.25C64.1877 8.25 64.041 8.19 63.921 8.07C63.801 7.95 63.741 7.80333 63.741 7.63ZM69.9675 13.57C69.7742 13.7433 69.5542 13.8767 69.3075 13.97C69.0608 14.0567 68.7975 14.1 68.5175 14.1C68.3042 14.1 68.0942 14.07 67.8875 14.01C67.6808 13.9567 67.4975 13.8833 67.3375 13.79C66.9775 13.5767 66.6875 13.2867 66.4675 12.92C66.2475 12.5467 66.1375 12.1233 66.1375 11.65C66.1375 11.1767 66.2475 10.7533 66.4675 10.38C66.6942 10.0067 66.9875 9.71333 67.3475 9.5C67.5075 9.40667 67.6842 9.33333 67.8775 9.28C68.0708 9.22667 68.2775 9.2 68.4975 9.2C68.7508 9.2 69.0008 9.24333 69.2475 9.33C69.4942 9.41 69.7242 9.53667 69.9375 9.71V6.9H70.8875V14H69.9675V13.57ZM69.9375 10.77C69.7908 10.5767 69.6008 10.4167 69.3675 10.29C69.1408 10.1633 68.8842 10.1 68.5975 10.1C68.3708 10.1 68.1642 10.1433 67.9775 10.23C67.7908 10.31 67.6308 10.4233 67.4975 10.57C67.3708 10.71 67.2708 10.8733 67.1975 11.06C67.1242 11.2467 67.0875 11.4433 67.0875 11.65C67.0875 11.8633 67.1242 12.0633 67.1975 12.25C67.2775 12.4367 67.3875 12.6 67.5275 12.74C67.6675 12.88 67.8308 12.9933 68.0175 13.08C68.2108 13.16 68.4208 13.2 68.6475 13.2C68.8875 13.2 69.1208 13.1433 69.3475 13.03C69.5808 12.91 69.7775 12.7433 69.9375 12.53V10.77ZM73.1122 11.85C73.1255 12.05 73.1722 12.2367 73.2522 12.41C73.3389 12.5767 73.4489 12.7267 73.5822 12.86C73.7155 12.9867 73.8722 13.0867 74.0522 13.16C74.2322 13.2333 74.4255 13.27 74.6322 13.27C74.9789 13.27 75.2555 13.2033 75.4622 13.07C75.6755 12.93 75.8489 12.7833 75.9822 12.63L76.6022 13.22C76.4289 13.4467 76.1755 13.65 75.8422 13.83C75.5089 14.01 75.1022 14.1 74.6222 14.1C74.2822 14.1 73.9622 14.04 73.6622 13.92C73.3689 13.7933 73.1122 13.6233 72.8922 13.41C72.6722 13.19 72.4989 12.93 72.3722 12.63C72.2522 12.33 72.1922 12.0033 72.1922 11.65C72.1922 11.2967 72.2489 10.97 72.3622 10.67C72.4755 10.37 72.6322 10.1133 72.8322 9.9C73.0389 9.68 73.2822 9.51 73.5622 9.39C73.8422 9.26333 74.1489 9.2 74.4822 9.2C74.8089 9.2 75.1089 9.26333 75.3822 9.39C75.6622 9.51 75.9022 9.68 76.1022 9.9C76.3022 10.12 76.4589 10.38 76.5722 10.68C76.6855 10.98 76.7422 11.3033 76.7422 11.65C76.7422 11.67 76.7422 11.6967 76.7422 11.73C76.7422 11.7633 76.7389 11.8033 76.7322 11.85H73.1122ZM74.5122 10.03C74.2055 10.03 73.9289 10.1233 73.6822 10.31C73.4355 10.4967 73.2722 10.7433 73.1922 11.05H75.7522C75.7189 10.9033 75.6589 10.7667 75.5722 10.64C75.4922 10.5133 75.3955 10.4067 75.2822 10.32C75.1755 10.2267 75.0555 10.1567 74.9222 10.11C74.7889 10.0567 74.6522 10.03 74.5122 10.03ZM77.6414 11.65C77.6414 11.3033 77.7014 10.98 77.8214 10.68C77.9481 10.38 78.1181 10.12 78.3314 9.9C78.5514 9.68 78.8081 9.51 79.1014 9.39C79.4014 9.26333 79.7247 9.2 80.0714 9.2C80.4181 9.2 80.7381 9.26333 81.0314 9.39C81.3314 9.51 81.5881 9.68 81.8014 9.9C82.0214 10.12 82.1914 10.38 82.3114 10.68C82.4381 10.98 82.5014 11.3033 82.5014 11.65C82.5014 12.0033 82.4381 12.33 82.3114 12.63C82.1914 12.9233 82.0214 13.18 81.8014 13.4C81.5881 13.62 81.3314 13.7933 81.0314 13.92C80.7381 14.04 80.4181 14.1 80.0714 14.1C79.7247 14.1 79.4014 14.04 79.1014 13.92C78.8081 13.7933 78.5514 13.62 78.3314 13.4C78.1181 13.18 77.9481 12.9233 77.8214 12.63C77.7014 12.33 77.6414 12.0033 77.6414 11.65ZM78.5914 11.65C78.5914 11.8633 78.6281 12.0667 78.7014 12.26C78.7747 12.4467 78.8747 12.61 79.0014 12.75C79.1347 12.89 79.2914 13 79.4714 13.08C79.6514 13.16 79.8514 13.2 80.0714 13.2C80.2914 13.2 80.4914 13.16 80.6714 13.08C80.8514 13 81.0047 12.89 81.1314 12.75C81.2647 12.61 81.3681 12.4467 81.4414 12.26C81.5147 12.0667 81.5514 11.8633 81.5514 11.65C81.5514 11.4367 81.5147 11.2367 81.4414 11.05C81.3681 10.8567 81.2647 10.69 81.1314 10.55C81.0047 10.41 80.8514 10.3 80.6714 10.22C80.4914 10.14 80.2914 10.1 80.0714 10.1C79.8514 10.1 79.6514 10.14 79.4714 10.22C79.2914 10.3 79.1347 10.41 79.0014 10.55C78.8747 10.69 78.7747 10.8567 78.7014 11.05C78.6281 11.2367 78.5914 11.4367 78.5914 11.65ZM83.8431 12.75C84.2898 13.0967 84.7531 13.27 85.2331 13.27C85.4398 13.27 85.6265 13.22 85.7931 13.12C85.9665 13.0133 86.0531 12.8667 86.0531 12.68C86.0531 12.5467 86.0065 12.44 85.9131 12.36C85.8265 12.28 85.7131 12.2167 85.5731 12.17C85.4331 12.1167 85.2765 12.07 85.1031 12.03C84.9298 11.99 84.7565 11.94 84.5831 11.88C84.4431 11.8333 84.3065 11.7767 84.1731 11.71C84.0465 11.6367 83.9331 11.55 83.8331 11.45C83.7331 11.35 83.6531 11.2367 83.5931 11.11C83.5331 10.9833 83.5031 10.8367 83.5031 10.67C83.5031 10.4167 83.5531 10.2 83.6531 10.02C83.7598 9.83333 83.8931 9.68 84.0531 9.56C84.2198 9.44 84.4065 9.35 84.6131 9.29C84.8198 9.23 85.0298 9.2 85.2431 9.2C85.5898 9.2 85.8898 9.25 86.1431 9.35C86.3965 9.44333 86.6165 9.56667 86.8031 9.72L86.3131 10.4C86.1665 10.2867 86.0098 10.1967 85.8431 10.13C85.6765 10.0633 85.4965 10.03 85.3031 10.03C85.0698 10.03 84.8698 10.0833 84.7031 10.19C84.5365 10.29 84.4531 10.4333 84.4531 10.62C84.4531 10.78 84.5331 10.8967 84.6931 10.97C84.8598 11.0433 85.0598 11.11 85.2931 11.17C85.4798 11.2167 85.6731 11.2767 85.8731 11.35C86.0731 11.4167 86.2565 11.5067 86.4231 11.62C86.5898 11.7333 86.7265 11.8767 86.8331 12.05C86.9465 12.2167 87.0031 12.42 87.0031 12.66C87.0031 12.88 86.9531 13.08 86.8531 13.26C86.7598 13.44 86.6331 13.5933 86.4731 13.72C86.3131 13.84 86.1265 13.9333 85.9131 14C85.6998 14.0667 85.4798 14.1 85.2531 14.1C84.5198 14.1 83.8865 13.8833 83.3531 13.45L83.8431 12.75ZM91.9692 14H91.0492V6.9H91.9992V9.71C92.2126 9.53667 92.4426 9.41 92.6892 9.33C92.9359 9.24333 93.1859 9.2 93.4392 9.2C93.6592 9.2 93.8659 9.22667 94.0592 9.28C94.2526 9.33333 94.4292 9.40667 94.5892 9.5C94.9492 9.71333 95.2392 10.0067 95.4592 10.38C95.6859 10.7533 95.7992 11.1767 95.7992 11.65C95.7992 12.1233 95.6892 12.5467 95.4692 12.92C95.2492 13.2867 94.9592 13.5767 94.5992 13.79C94.4392 13.8833 94.2559 13.9567 94.0492 14.01C93.8426 14.07 93.6326 14.1 93.4192 14.1C92.8459 14.1 92.3626 13.9233 91.9692 13.57V14ZM91.9992 12.53C92.1592 12.7433 92.3526 12.91 92.5792 13.03C92.8126 13.1433 93.0492 13.2 93.2892 13.2C93.5159 13.2 93.7226 13.16 93.9092 13.08C94.1026 12.9933 94.2692 12.88 94.4092 12.74C94.5492 12.6 94.6559 12.4367 94.7292 12.25C94.8092 12.0633 94.8492 11.8633 94.8492 11.65C94.8492 11.4433 94.8126 11.2467 94.7392 11.06C94.6659 10.8733 94.5626 10.71 94.4292 10.57C94.3026 10.4233 94.1459 10.31 93.9592 10.23C93.7726 10.1433 93.5659 10.1 93.3392 10.1C93.0526 10.1 92.7926 10.1633 92.5592 10.29C92.3326 10.4167 92.1459 10.5767 91.9992 10.77V12.53ZM96.9963 16.4L98.2663 13.51L96.2563 9.3H97.2763L98.7463 12.4L100.096 9.3H101.096L98.0063 16.4H96.9963Z",fill:"white"})}),(0,a.BX)("g",{filter:"url(#filter1_d_1332_6679)",children:[(0,a.tZ)("path",{d:"M19.0879 21L22.3592 26.6662L25.6305 21H19.0879Z",fill:"white"}),(0,a.tZ)("path",{d:"M6 21L15.8152 38L17.9973 34.2212L10.3643 21H6Z",fill:"white"}),(0,a.tZ)("path",{d:"M12.5452 21L19.0878 32.3325L21.2687 28.555L16.9069 21H12.5452Z",fill:"white"}),(0,a.tZ)("path",{d:"M29.0516 24.7158L31.3071 30.4981L33.5763 24.7158H36.0095L32.182 34.2846H30.4049L26.5774 24.7158H29.0516Z",fill:"white"}),(0,a.tZ)("path",{d:"M37.103 34.2846V24.7158H39.4952V34.2846H37.103Z",fill:"white"}),(0,a.tZ)("path",{d:"M41.1155 24.7158H44.6696C46.1869 24.7158 47.1848 25.0439 47.964 25.618C49.1396 26.4929 49.8641 27.9145 49.8641 29.5002C49.8641 31.0859 49.1396 32.5076 47.964 33.3824C47.1848 33.9566 46.1869 34.2846 44.6696 34.2846H41.1155V24.7158ZM44.7379 32.0975C45.6402 32.0975 46.1869 31.8924 46.6107 31.5234C47.1575 31.0449 47.4719 30.3067 47.4719 29.5002C47.4719 28.6937 47.1575 27.9556 46.6107 27.4771C46.1869 27.108 45.6402 26.903 44.7379 26.903H43.5077V32.0975H44.7379Z",fill:"white"}),(0,a.tZ)("path",{d:"M51.2773 34.2846V24.7158H57.3604V26.8346H53.6695V28.3383H56.5402V30.3888H53.6695V32.1658H57.4971V34.2846H51.2773Z",fill:"white"}),(0,a.tZ)("path",{d:"M63.2793 34.4213C60.4906 34.4213 58.3582 32.2888 58.3582 29.5002C58.3582 26.7116 60.4906 24.5791 63.2793 24.5791C66.0679 24.5791 68.2004 26.7116 68.2004 29.5002C68.2004 32.2888 66.0679 34.4213 63.2793 34.4213ZM63.2793 32.2342C64.7146 32.2342 65.8082 31.0449 65.8082 29.5002C65.8082 27.9555 64.7146 26.7663 63.2793 26.7663C61.844 26.7663 60.7504 27.9555 60.7504 29.5002C60.7504 31.0449 61.8439 32.2342 63.2793 32.2342Z",fill:"white"}),(0,a.tZ)("path",{d:"M68.542 24.7158H71.0162L72.6702 29.9924L74.3926 24.7158H76.1424L77.9331 30.1427L79.6008 24.7158H81.993L78.9173 34.2846H77.1403L75.2538 28.8441L73.3947 34.2846H71.6177L68.542 24.7158Z",fill:"white"}),(0,a.tZ)("path",{d:"M83.1001 34.2846V24.7158H85.4923V34.2846H83.1001Z",fill:"white"}),(0,a.tZ)("path",{d:"M90.5399 24.5791C91.7429 24.5791 92.6724 24.9482 93.5746 25.5497L92.4401 27.2174C91.9616 26.903 91.3601 26.6842 90.745 26.6842C89.9932 26.6842 89.6104 26.944 89.6104 27.3267C89.6104 27.9965 91.1824 28.1606 92.3854 28.8851C93.2602 29.4182 93.848 30.2657 93.848 31.3456C93.848 33.1364 92.44 34.4213 90.4306 34.4213C88.9133 34.4213 87.683 33.7652 86.8081 32.9177L88.1204 31.3866C88.6262 31.8651 89.46 32.3162 90.2666 32.3162C90.9227 32.3162 91.3875 31.9881 91.3875 31.4823C91.3875 30.8535 90.4989 30.5938 89.4737 30.1974C88.3391 29.7599 87.1499 29.1038 87.1499 27.4908C87.1499 25.6317 88.7082 24.5791 90.5399 24.5791Z",fill:"white"}),(0,a.tZ)("path",{d:"M95.2749 34.2846V24.7158H101.358V26.8346H97.6671V28.3383H100.538V30.3888H97.6671V32.1658H101.495V34.2846H95.2749Z",fill:"white"})]}),(0,a.BX)("defs",{children:[(0,a.BX)("filter",{id:"filter0_d_1332_6679",x:"0.300049",y:"0.899902",width:"106.796",height:"21.5",filterUnits:"userSpaceOnUse","color-interpolation-filters":"sRGB",children:[(0,a.tZ)("feFlood",{"flood-opacity":"0",result:"BackgroundImageFix"}),(0,a.tZ)("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),(0,a.tZ)("feOffset",{}),(0,a.tZ)("feGaussianBlur",{stdDeviation:"3"}),(0,a.tZ)("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.3 0"}),(0,a.tZ)("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_1332_6679"}),(0,a.tZ)("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_1332_6679",result:"shape"})]}),(0,a.BX)("filter",{id:"filter1_d_1332_6679",x:"0",y:"15",width:"107.495",height:"29",filterUnits:"userSpaceOnUse","color-interpolation-filters":"sRGB",children:[(0,a.tZ)("feFlood",{"flood-opacity":"0",result:"BackgroundImageFix"}),(0,a.tZ)("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),(0,a.tZ)("feOffset",{}),(0,a.tZ)("feGaussianBlur",{stdDeviation:"3"}),(0,a.tZ)("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.3 0"}),(0,a.tZ)("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_1332_6679"}),(0,a.tZ)("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_1332_6679",result:"shape"})]})]})]})})},n=function(){return(0,a.tZ)("img",{src:t,alt:"Videowise"})};if(e!==T.Zy.NO_LOGO)return(0,a.BX)("div",{className:"vm-cmp__modal--marketing-logo vm-cmp__modal--marketing-logo-".concat(t?"client":"default"),children:[e===T.Zy.STORE_LOGO&&t&&(0,a.tZ)(n,{}),e===T.Zy.VIDEOWISE_LOGO&&(0,a.tZ)(r,{})]})};const qt=(0,i.memo)(Ut);const Wt=function(t){var e=t.tag;if(e&&"undefined"!==e)return(0,a.tZ)("span",{className:"vw-cmp__shoppable--sale",children:e})};const Yt=function(){return(0,a.BX)("svg",{width:"382",height:"284",viewBox:"0 0 382 284",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{maxWidth:"100%"},children:[(0,a.tZ)("path",{d:"M0 0H39V20H0V0Z",fill:"url(#paint0_linear_748_5229)"}),(0,a.tZ)("path",{d:"M0 30H324V50H0V30Z",fill:"url(#paint1_linear_748_5229)"}),(0,a.tZ)("path",{d:"M0 83H92V99H0V83Z",fill:"url(#paint2_linear_748_5229)"}),(0,a.tZ)("path",{d:"M0 268H304V284H0V268Z",fill:"url(#paint3_linear_748_5229)"}),(0,a.tZ)("path",{d:"M0 110H108V130H0V110Z",fill:"url(#paint4_linear_748_5229)"}),(0,a.tZ)("path",{d:"M0 144H382V192H0V144Z",fill:"url(#paint5_linear_748_5229)"}),(0,a.tZ)("path",{d:"M0 208H382V256H0V208Z",fill:"url(#paint6_linear_748_5229)"}),(0,a.tZ)("path",{d:"M326 110H382V130H326V110Z",fill:"url(#paint7_linear_748_5229)"}),(0,a.tZ)("path",{d:"M0 52H204V72H0V52Z",fill:"url(#paint8_linear_748_5229)"}),(0,a.BX)("defs",{children:[(0,a.BX)("linearGradient",{id:"paint0_linear_748_5229",x1:"4.5",y1:"157",x2:"382",y2:"157",gradientUnits:"userSpaceOnUse",children:[(0,a.tZ)("stop",{"stop-color":"#FCFCFC"}),(0,a.tZ)("stop",{offset:"0.151042","stop-color":"#EDEDED"}),(0,a.tZ)("stop",{offset:"1","stop-color":"#FCFCFC"})]}),(0,a.BX)("linearGradient",{id:"paint1_linear_748_5229",x1:"4.5",y1:"157",x2:"382",y2:"157",gradientUnits:"userSpaceOnUse",children:[(0,a.tZ)("stop",{"stop-color":"#FCFCFC"}),(0,a.tZ)("stop",{offset:"0.151042","stop-color":"#EDEDED"}),(0,a.tZ)("stop",{offset:"1","stop-color":"#FCFCFC"})]}),(0,a.BX)("linearGradient",{id:"paint2_linear_748_5229",x1:"4.5",y1:"157",x2:"382",y2:"157",gradientUnits:"userSpaceOnUse",children:[(0,a.tZ)("stop",{"stop-color":"#FCFCFC"}),(0,a.tZ)("stop",{offset:"0.151042","stop-color":"#EDEDED"}),(0,a.tZ)("stop",{offset:"1","stop-color":"#FCFCFC"})]}),(0,a.BX)("linearGradient",{id:"paint3_linear_748_5229",x1:"4.5",y1:"157",x2:"382",y2:"157",gradientUnits:"userSpaceOnUse",children:[(0,a.tZ)("stop",{"stop-color":"#FCFCFC"}),(0,a.tZ)("stop",{offset:"0.151042","stop-color":"#EDEDED"}),(0,a.tZ)("stop",{offset:"1","stop-color":"#FCFCFC"})]}),(0,a.BX)("linearGradient",{id:"paint4_linear_748_5229",x1:"4.5",y1:"157",x2:"382",y2:"157",gradientUnits:"userSpaceOnUse",children:[(0,a.tZ)("stop",{"stop-color":"#FCFCFC"}),(0,a.tZ)("stop",{offset:"0.151042","stop-color":"#EDEDED"}),(0,a.tZ)("stop",{offset:"1","stop-color":"#FCFCFC"})]}),(0,a.BX)("linearGradient",{id:"paint5_linear_748_5229",x1:"4.5",y1:"157",x2:"382",y2:"157",gradientUnits:"userSpaceOnUse",children:[(0,a.tZ)("stop",{"stop-color":"#FCFCFC"}),(0,a.tZ)("stop",{offset:"0.151042","stop-color":"#EDEDED"}),(0,a.tZ)("stop",{offset:"1","stop-color":"#FCFCFC"})]}),(0,a.BX)("linearGradient",{id:"paint6_linear_748_5229",x1:"4.5",y1:"157",x2:"382",y2:"157",gradientUnits:"userSpaceOnUse",children:[(0,a.tZ)("stop",{"stop-color":"#FCFCFC"}),(0,a.tZ)("stop",{offset:"0.151042","stop-color":"#EDEDED"}),(0,a.tZ)("stop",{offset:"1","stop-color":"#FCFCFC"})]}),(0,a.BX)("linearGradient",{id:"paint7_linear_748_5229",x1:"4.5",y1:"157",x2:"382",y2:"157",gradientUnits:"userSpaceOnUse",children:[(0,a.tZ)("stop",{"stop-color":"#FCFCFC"}),(0,a.tZ)("stop",{offset:"0.151042","stop-color":"#EDEDED"}),(0,a.tZ)("stop",{offset:"1","stop-color":"#FCFCFC"})]}),(0,a.BX)("linearGradient",{id:"paint8_linear_748_5229",x1:"4.5",y1:"157",x2:"382",y2:"157",gradientUnits:"userSpaceOnUse",children:[(0,a.tZ)("stop",{"stop-color":"#FCFCFC"}),(0,a.tZ)("stop",{offset:"0.151042","stop-color":"#EDEDED"}),(0,a.tZ)("stop",{offset:"1","stop-color":"#FCFCFC"})]})]})]})};var zt="vw-cmp__rating-star",$t=function(t){var e=t.color,r=void 0===e?"#fff":e;return(0,a.tZ)("div",{className:zt,children:(0,a.tZ)("svg",{width:"16",viewBox:"0 0 16 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.tZ)("path",{d:"M7.85718 0L9.87916 5.21698L15.4656 5.52786L11.1288 9.06302L12.5595 14.4721L7.85718 11.44L3.1549 14.4721L4.58554 9.06302L0.248725 5.52786L5.8352 5.21698L7.85718 0Z",fill:r})})})},Kt=function(t){var e=t.color,r=void 0===e?"#fff":e;return(0,a.tZ)("div",{className:zt,children:(0,a.tZ)("svg",{width:"16",viewBox:"0 0 16 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.tZ)("path",{opacity:"0.2",d:"M7.85718 0L9.87916 5.21698L15.4656 5.52786L11.1288 9.06302L12.5595 14.4721L7.85718 11.44L3.1549 14.4721L4.58554 9.06302L0.248725 5.52786L5.8352 5.21698L7.85718 0Z",fill:r})})})},Jt=function(t){var e=t.color,r=void 0===e?"#fff":e;return(0,a.tZ)("div",{className:zt,children:(0,a.BX)("svg",{width:"16",viewBox:"0 0 16 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.tZ)("path",{opacity:"0.2",d:"M8.14282 0L10.1648 5.21698L15.7513 5.52786L11.4145 9.06302L12.8451 14.4721L8.14282 11.44L3.44054 14.4721L4.87119 9.06302L0.53437 5.52786L6.12084 5.21698L8.14282 0Z",fill:r}),(0,a.tZ)("path",{d:"M3.44072 14.4721L8.143 11.44V0L6.12102 5.21698L0.534546 5.52786L4.87136 9.06302L3.44072 14.4721Z",fill:r})]})})},Qt=function(t){var e=t.value;if(e)return(0,a.BX)("div",{className:"vw-cmp__rating-label notranslate",children:[e," reviews"]})},te=function(t){var e=t.current,r=t.rating,n=t.color,o=Math.floor(r),i=o-r;if(r)return e<=o?(0,a.tZ)($t,{color:n}):i&&e===o+1?(0,a.tZ)(Jt,{color:n}):(0,a.tZ)(Kt,{color:n})};const ee=function(t){var e=t.color,r=void 0===e?"#fff":e,n=t.rating,o=t.showLabel,i=void 0!==o&&o,c=(((K()||{}).player||{}).productDetails||{}).displayReviews,l=n||{},u=l.averageRating,s=l.numberOfReviews;if(c&&n)return(0,a.BX)("div",{className:"vw-cmp__rating notranslate",children:[(0,a.tZ)("div",{className:"vw-cmp__rating-stars",children:[1,2,3,4,5].map((function(t,e){return(0,a.tZ)(te,{current:t,rating:parseFloat(u),color:r},"index-".concat(e))}))}),i&&s&&(0,a.tZ)(Qt,{value:Number(s)})]})};r(4841);function re(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==r)return;var n,o,i=[],a=!0,c=!1;try{for(r=r.call(t);!(a=(n=r.next()).done)&&(i.push(n.value),!e||i.length!==e);a=!0);}catch(l){c=!0,o=l}finally{try{a||null==r.return||r.return()}finally{if(c)throw o}}return i}(t,e)||function(t,e){if(!t)return;if("string"===typeof t)return ne(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return ne(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ne(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var oe=function(t){var e=t.label,r=t.value,n=t.type;if(e&&""!==e){var o="percentage"===n?"%":"";return(0,a.BX)("div",{className:"vw-cmp__subscription-discount",children:[e," ",r,o]})}},ie=function(t){var e=t.plans,r=t.callback,n=t.discount;if(e&&0!==e.length){var o=re((0,i.useState)(),2),c=o[0],l=o[1],u=re((0,i.useState)(),2),s=u[0],d=u[1],p=function(t){d(t)};return(0,i.useEffect)((function(){if(s){var t=s.target.value;l(t),r(s)}}),[s]),(0,i.useEffect)((function(){for(var t=0;t<e.length;t++)0===t&&l(e[t].name)}),[e]),(0,a.tZ)(a.HY,{children:e.map((function(t,e){var r,o,i,l,u,s;return(0,a.BX)("label",{className:"vw-cmp__subscription-options--item",children:[(0,a.BX)("div",{className:"vw-cmp__radio",children:[(0,a.tZ)("input",{type:"radio",name:"vw_subscription_type",onChange:p,value:null===t||void 0===t||null===(r=t.options[0])||void 0===r?void 0:r.value,checked:c===t.name||c===(null===t||void 0===t||null===(o=t.options[0])||void 0===o?void 0:o.value)}),(0,a.tZ)("span",{className:"vw-cmp__radio-item"}),t.name]}),(0,a.tZ)(oe,{label:null===n||void 0===n?void 0:n.text,type:null===t||void 0===t||null===(i=t.price_adjustments)||void 0===i||null===(l=i[0])||void 0===l?void 0:l.value_type,value:null===t||void 0===t||null===(u=t.price_adjustments)||void 0===u||null===(s=u[0])||void 0===s?void 0:s.value})]},e)}))})}};const ae=function(t){var e=t.isActive,r=t.callback,n=t.label,o=t.price,i=t.secondaryText,c=t.plans,l=t.onChangeCallback,u=t.discount,s=c&&c.length>0?"vw-cmp__subscription-item--subscribe":"vw-cmp__subscription-item--single";return(0,a.BX)("div",{className:"vw-cmp__subscription-item ".concat(s," ").concat(e?"vw--is-selected":""),onClick:r,children:[(0,a.BX)("div",{className:"vw-cmp__subscription-item--top",children:[(0,a.BX)("div",{className:"vw-cmp__subscription-radio",children:[(0,a.tZ)("span",{class:"vw-cmp__subscription-radio--el"}),n&&(0,a.tZ)("div",{class:"vw-cmp__subscription-radio--label",children:n})]}),o&&(0,a.tZ)("div",{class:"vw-cmp__subscription-price",children:At(o,!1)})]}),c&&c.length>0&&(0,a.tZ)("div",{className:"vw-cmp__subscription-options",children:(0,a.tZ)(ie,{plans:c,discount:u,callback:l})}),i&&""!==(null===i||void 0===i?void 0:i.text)&&(0,a.tZ)("div",{className:"vw-cmp__subscription-text",children:i.text})]})};function ce(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==r)return;var n,o,i=[],a=!0,c=!1;try{for(r=r.call(t);!(a=(n=r.next()).done)&&(i.push(n.value),!e||i.length!==e);a=!0);}catch(l){c=!0,o=l}finally{try{a||null==r.return||r.return()}finally{if(c)throw o}}return i}(t,e)||function(t,e){if(!t)return;if("string"===typeof t)return le(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return le(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function le(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var ue=function(t,e){var r=null;return e.forEach((function(e){e.name!==t&&e.options[0].value!==t||(r=e)})),r},se=function(t,e){if(!e)return null;var r=t.price_adjustments[0]||{},n=r.value;return"percentage"===r.value_type?parseFloat(e)-parseFloat(e)*n/100:parseFloat(e)-n};const de=function(t){var e=t.product;if(e){var r=d(),n=(e||{}).selling_plan_groups,o=((null===n||void 0===n?void 0:n[0])||{}).selling_plans,c=((K()||{}).player||{}).subscriptions||{},l=c.enable,u=c.generalSetUp,s=c.discount,p=c.secondaryText,f=c.style,h=null!==u&&void 0!==u&&u.include?T.I$.ONE_TIME:T.I$.SUBSCRIBE,v=ce((0,i.useState)(h),2),y=v[0],m=v[1],w=ce((0,i.useState)({price:0,subscription:void 0,id:void 0,selectedPlan:void 0}),2),g=w[0],b=w[1],C={};if(f&&f.optionColor&&(C["--vw-subscription-color--active"]=f.optionColor),p&&p.textColor&&(C["--vw-subscription-secondary--color"]=p.textColor),p&&"BOLD"===p.textWeight&&(C["--vw-subscription-secondary--weight"]="bold"),s&&s.textColor&&(C["--vw-subscription-discount--color"]=s.textColor),s&&s.backgroundColor&&(C["--vw-subscription-discount--bg"]=s.backgroundColor),l){var x=function(t){var e={subscriptionId:t};r({type:_.a.ADD_SUBSCRIPTION,payload:e})};return(0,i.useEffect)((function(){if(o&&o.length>0){var t,r,n,i=ue(null===o||void 0===o||null===(t=o[0])||void 0===t?void 0:t.name,o),a=se(i,e.price);b({price:a,subscription:null===o||void 0===o||null===(r=o[0])||void 0===r?void 0:r.name,id:null===o||void 0===o||null===(n=o[0])||void 0===n?void 0:n.id,selectedPlan:i})}}),[o]),(0,i.useEffect)((function(){switch(y){case T.I$.ONE_TIME:x(void 0);break;case T.I$.SUBSCRIBE:x(g.id)}}),[y]),(0,a.BX)("div",{className:"vw-cmp__subscription",style:C,children:[""!==(null===u||void 0===u?void 0:u.sectionLabel)&&o&&o.length>0&&(0,a.tZ)("div",{className:"vw-cmp__subscription-title",children:u.sectionLabel}),(null===u||void 0===u?void 0:u.include)&&o&&o.length>0&&(0,a.tZ)(ae,{isActive:y===T.I$.ONE_TIME,callback:function(){m(T.I$.ONE_TIME)},label:"One time purchase",price:e.price}),o&&o.length>0&&(0,a.tZ)(ae,{isActive:y===T.I$.SUBSCRIBE,callback:function(){m(T.I$.SUBSCRIBE)},label:u.subscriptionTitle,secondaryText:p,plans:o,onChangeCallback:function(t){t.stopPropagation();var r=ue(t.target.value,o),n=se(r,e.price);b({price:n,subscription:null===r||void 0===r?void 0:r.name,id:null===r||void 0===r?void 0:r.id,selectedPlan:r}),x(null===r||void 0===r?void 0:r.id)},discount:s,selectedPlan:g.selectedPlan,price:g.price})]})}}};function pe(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function fe(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?pe(Object(r),!0).forEach((function(e){he(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):pe(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function he(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function ve(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==r)return;var n,o,i=[],a=!0,c=!1;try{for(r=r.call(t);!(a=(n=r.next()).done)&&(i.push(n.value),!e||i.length!==e);a=!0);}catch(l){c=!0,o=l}finally{try{a||null==r.return||r.return()}finally{if(c)throw o}}return i}(t,e)||function(t,e){if(!t)return;if("string"===typeof t)return ye(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return ye(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ye(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}const me=function(){var t,e,r=s()||{},n=r.product,o=r.cart,c=r.isVisible,l=r.showHeader,u=r.isShoppableLoading,p=d(),f=(K()||{}).player||{},h=f.shippingInfo,v=f.productStock,y=f.buyButton,m=f.showLogo,g=f.productDetails,b=f.recommendedProducts,C=f.settings,x=f.showProductDetails,O=f.buttonStyle,L=(y||{}).type,E=v||{},S=E.show,k=E.inStockColor,N=E.outStockColor,j=g||{},P=j.hideOldPrice,I=(j.displayReviews,(b||{}).excludeProducts),B="ADD_TO_CART"===L,A=w(),H=(0,q.ac)("(max-width: 1023px)"),D=ve((0,i.useState)(!1),2),R=D[0],M=(D[1],(0,i.useRef)(null)),G=(0,Z.Z)("vw-cmp__shoppable",he({},"vw-more--on",R)),F=(0,Z.Z)("vw-cmp__shoppable--header",he({},"vw--is-visible",l)),V=(0,Z.Z)("vw-cmp__shoppable--scroll",he({},"vw--is-visible",l)),X=(0,Z.Z)("vw-cmp__shoppable--stock",he({},"vw--no-stock",!(null!==n&&void 0!==n&&n.available))),U={};k&&(U["--vw-stock-in"]=k),N&&(U["--vw-stock-out"]=N);var $=(0,Z.Z)("vw-cmp__shoppable-button--no-cart",he({},"vw-cmp__shoppable-button--in-cart",!!o&&o.items.find((function(t){return t.id===(null===n||void 0===n?void 0:n.selectedId)})))),J=(0,Z.Z)("vw-cmp__shoppable-button--checkout"),Q=function(){document.documentElement.style.setProperty("--videowise-viewport-height","".concat(window.innerHeight,"px"))};window.addEventListener("resize",Q),Q();var tt=(0,Z.Z)("vw-cmp__shoppable--body");(0,i.useEffect)((function(){M.current&&M.current.scrollTo(0,0)}),[n]);var et=function(t){var e=n.variants.find((function(e){return e.id===t.id}));n.available=e.available,n.selectedId=t.id,n.price=t.price,n.deletedVariant=!1,n.oldPrice=isNaN(parseInt(e.compare_at_price))?void 0:e.compare_at_price;var r={product:fe({},n)};p({type:_.a.UPDATE_PRODUCT,payload:r})},rt=function(){!function(t,e){var r=new CustomEvent(t,{detail:e});document.dispatchEvent(r)}("vwClosePanel:click"),p({type:_.a.HIDE_MORE})},nt=function(){H?rt():l&&p({type:_.a.SHOW_SHOPPABLE_LIST})};return(0,a.tZ)(W.X,{features:Y.H,children:(0,a.BX)(z.m.div,{className:G,initial:!!H&&{y:"150%"},variants:H?{visible:{y:0},hidden:{y:"150%"}}:{visible:{x:0,opacity:1},hidden:{x:"100%",opacity:0}},animate:c?"visible":"hidden",transition:{ease:[.29,.63,.4,.79],duration:.25},children:[n&&(0,a.BX)("div",{className:F,children:[(0,a.tZ)("div",{className:"vw-cmp__shoppable--close-button vw__icon-svg",onClick:nt,children:(0,a.tZ)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.tZ)("path",{d:"M2 12L12.0526 2M2 12L12.0526 22.0526M2 12H23",stroke:"black",strokeWidth:"2"})})}),m&&(0,a.tZ)(qt,{}),B&&o&&(0,a.tZ)("div",{className:"vw-cmp__shoppable--cart-info",children:(0,a.BX)("span",{className:"vw-cmp__shoppable--cart-info-container",children:[(null===o||void 0===o?void 0:o.item_count)>0&&(0,a.tZ)("span",{className:"vw-cmp__shoppable--cart-info-badge",children:null===o||void 0===o?void 0:o.item_count}),(0,a.tZ)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.tZ)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.0001 5C15.0001 3.34315 13.657 2 12.0001 2C10.3433 2 9.00012 3.34315 9.00012 5H15.0001ZM12.0001 0C9.23869 0 7.00012 2.23858 7.00012 5H3.00012L2.22171 19.7898C2.10126 22.0783 3.92445 24 6.21618 24H17.7841C20.0758 24 21.899 22.0783 21.7785 19.7898L21.0001 5H17.0001C17.0001 2.23858 14.7615 0 12.0001 0ZM15.0001 7H17.0001H19.1026L19.7813 19.8949C19.8415 21.0392 18.9299 22 17.7841 22H6.21618C5.07031 22 4.15872 21.0392 4.21894 19.8949L4.89762 7H7.00012H9.00012H15.0001ZM7.00012 9C7.00012 10.5447 7.63036 11.7644 8.60993 12.5807C9.56656 13.3779 10.8038 13.75 12.0001 13.75C13.1964 13.75 14.4337 13.3779 15.3903 12.5807C16.3699 11.7644 17.0001 10.5447 17.0001 9H15.0001C15.0001 9.95529 14.6304 10.6106 14.1099 11.0443C13.5666 11.4971 12.8038 11.75 12.0001 11.75C11.1964 11.75 10.4337 11.4971 9.8903 11.0443C9.36988 10.6106 9.00012 9.95529 9.00012 9H7.00012Z",fill:"black"})})]})})]}),(0,a.BX)("div",{ref:M,className:V,children:[n&&(0,a.tZ)(Tt,{product:n}),(0,a.BX)("div",{className:tt,children:[n&&function(){var t,e,r;return(0,a.tZ)("div",{className:"vw-cmp__shoppable--content",children:u?(0,a.tZ)(Yt,{}):(0,a.BX)(a.HY,{children:[n&&n.tag&&(0,a.tZ)("div",{className:"vw-cmp__shoppable--sale-root",children:(0,a.tZ)(Wt,{tag:n.tag})}),n&&n.title&&(0,a.tZ)("div",{className:"vw-cmp__shoppable--title",style:{color:g&&g.nameColor?g.nameColor:"#000"},children:n.title}),n&&n.productReviews&&(0,a.tZ)(ee,{rating:n.productReviews,color:"#000",showLabel:!0}),(0,a.BX)("div",{className:"vw-cmp__shoppable--price-wrapper",children:[n&&!P&&n.oldPrice&&n.oldPrice!=n.price&&(0,a.tZ)("div",{className:"vw-cmp__shoppable--price-old vw-cmp__shoppable--price notranslate",children:At(n.oldPrice,!1)}),n&&n.price&&(0,a.tZ)("div",{className:"vw-cmp__shoppable--price notranslate",style:{color:g&&g.priceColor?g.priceColor:"#000"},children:At(n.price,!1)}),A.inventorySetting===T.a_.USE_INVENTORY&&n&&!(null!==n&&void 0!==n&&n.deletedVariant)&&S&&(0,a.tZ)("span",{className:"".concat(X," notranslate"),style:U,children:null!==n&&void 0!==n&&n.available?null!==C&&void 0!==C&&C.translation?null===C||void 0===C||null===(t=C.translation)||void 0===t?void 0:t.inStock:"In stock":null!==C&&void 0!==C&&C.translation?null===C||void 0===C||null===(e=C.translation)||void 0===e?void 0:e.inStock:"Out of stock"})]}),n&&n.options&&n.variants&&!(!1===(null===O||void 0===O?void 0:O.show))&&(0,a.tZ)(it,{variantId:null===n||void 0===n?void 0:n.variantId,options:n.options,variants:n.variants,onCallback:et}),(0,a.tZ)(de,{product:n}),n&&L===T.Nk.ADD_TO_CART&&o&&(null===o||void 0===o?void 0:o.item_count)>0&&Object.keys(n).length>0&&(0,a.tZ)(Bt,{classModifier:J,children:(0,a.tZ)(bt,{})}),n&&Object.keys(n).length>0&&(0,a.BX)(Bt,{classModifier:$,children:[(0,a.tZ)(_t,{product:n}),(0,a.tZ)(gt,{product:n,appState:A})]}),h&&h.show&&h.text&&(0,a.BX)("div",{className:"vw-cmp__shoppable--help-text",style:{color:h.textColor,fontWeight:"BOLD"===h.textWeight?"bold":"normal"},children:[(0,a.tZ)("span",{className:"vw__icon-svg",children:(0,a.tZ)("svg",{width:"12",height:"9",viewBox:"0 0 12 9",fill:"none",children:(0,a.tZ)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 1.00845L4.57384 8.43459L0 3.86077L1.00844 2.85232L4.57384 6.4177L10.9916 0L12 1.00845Z",fill:"currentColor"})})}),(0,a.tZ)("span",{dangerouslySetInnerHTML:(r=h.text,{__html:r})})]})]})})}(),n&&(null===n||void 0===n?void 0:n.description)&&x&&(0,a.tZ)(Et,{visible:!1,title:null!==C&&void 0!==C&&C.translation&&null!==C&&void 0!==C&&null!==(t=C.translation)&&void 0!==t&&t.details?null===C||void 0===C||null===(e=C.translation)||void 0===e?void 0:e.details:"Details",children:(0,a.tZ)("div",{dangerouslySetInnerHTML:{__html:n.description}})}),n&&(null===b||void 0===b?void 0:b.show)&&(0,a.tZ)(Xt,{excludeIds:I,productId:n.id})]})]})]})})},we=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:98;return t.length>e-3?"".concat(t.substring(0,e).trimEnd()," ..."):t};function ge(t){return ge="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ge(t)}function _e(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function be(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Ce(){Ce=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",i=n.asyncIterator||"@@asyncIterator",a=n.toStringTag||"@@toStringTag";function c(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(E){c=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var o=e&&e.prototype instanceof d?e:d,i=Object.create(o.prototype),a=new x(n||[]);return i._invoke=function(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return L()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=_(a,r);if(c){if(c===s)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var l=u(t,e,r);if("normal"===l.type){if(n=r.done?"completed":"suspendedYield",l.arg===s)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(n="completed",r.method="throw",r.arg=l.arg)}}}(t,r,a),i}function u(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(E){return{type:"throw",arg:E}}}t.wrap=l;var s={};function d(){}function p(){}function f(){}var h={};c(h,o,(function(){return this}));var v=Object.getPrototypeOf,y=v&&v(v(O([])));y&&y!==e&&r.call(y,o)&&(h=y);var m=f.prototype=d.prototype=Object.create(h);function w(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function g(t,e){function n(o,i,a,c){var l=u(t[o],t,i);if("throw"!==l.type){var s=l.arg,d=s.value;return d&&"object"==ge(d)&&r.call(d,"__await")?e.resolve(d.__await).then((function(t){n("next",t,a,c)}),(function(t){n("throw",t,a,c)})):e.resolve(d).then((function(t){s.value=t,a(s)}),(function(t){return n("throw",t,a,c)}))}c(l.arg)}var o;this._invoke=function(t,r){function i(){return new e((function(e,o){n(t,r,e,o)}))}return o=o?o.then(i,i):i()}}function _(t,e){var r=t.iterator[e.method];if(void 0===r){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,_(t,e),"throw"===e.method))return s;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return s}var n=u(r,t.iterator,e.arg);if("throw"===n.type)return e.method="throw",e.arg=n.arg,e.delegate=null,s;var o=n.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,s):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,s)}function b(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function C(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function x(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(b,this),this.reset(!0)}function O(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:L}}function L(){return{value:void 0,done:!0}}return p.prototype=f,c(m,"constructor",f),c(f,"constructor",p),p.displayName=c(f,a,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===p||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,f):(t.__proto__=f,c(t,a,"GeneratorFunction")),t.prototype=Object.create(m),t},t.awrap=function(t){return{__await:t}},w(g.prototype),c(g.prototype,i,(function(){return this})),t.AsyncIterator=g,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new g(l(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},w(m),c(m,a,"Generator"),c(m,o,(function(){return this})),c(m,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},t.values=O,x.prototype={constructor:x,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(C),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),l=r.call(i,"finallyLoc");if(c&&l){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,s):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),s},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),C(r),s}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;C(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:O(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),s}},t}function xe(t,e,r,n,o,i,a){try{var c=t[i](a),l=c.value}catch(u){return void r(u)}c.done?e(l):Promise.resolve(l).then(n,o)}var Oe=function(t){var e=t.previewImageSrc,r=t.price,n=t.handle,o=t.compareAtPrice,i=t.name,c=t.tag,l=t.dispatch,u=t.hideOldPrice,d=t.variantId,p=t.productReviews,f=t.excludedVariants,h=s(),v=function(){var t,e=(t=Ce().mark((function t(){var e;return Ce().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,e={handle:n,dispatch:l,tag:c,productReviews:p,variantId:d,shoppableCtx:h,excludedVariants:f},t.next=4,(0,kt.Fn)(e);case 4:t.next=9;break;case 6:t.prev=6,t.t0=t.catch(0),console.log("Error selecting product: ",t.t0);case 9:case"end":return t.stop()}}),t,null,[[0,6]])})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){xe(i,n,o,a,c,"next",t)}function c(t){xe(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return e.apply(this,arguments)}}();return(0,a.BX)("li",{className:"vw-cmp__shoppable-list-content-item",onClick:v,children:[(0,a.tZ)("div",{className:"vw-cmp__shoppable-list-content-item--pic-container",children:(0,a.tZ)("img",{src:e,width:100,height:100,alt:"picusm"})}),(0,a.BX)("div",{className:"vw-cmp__shoppable-list-content-item--details",children:[(0,a.tZ)("div",{className:"vw-cmp__shoppable-list-content-item--title",children:we(i.toLowerCase(),28)}),p&&(0,a.tZ)(ee,{color:"#000",rating:p}),(0,a.tZ)("div",{className:"vw-cmp__shoppable-list-content-item--price notranslate",children:o?(0,a.BX)(a.HY,{children:[(0,a.tZ)("strong",{children:At(r,!1)}),!u&&o!=r&&(0,a.tZ)("span",{children:At(o,!1)})]}):(0,a.tZ)(a.HY,{children:(0,a.tZ)("strong",{children:At(r,!1)})})})]}),(0,a.tZ)("svg",{className:"item-arrow-right",width:"13",height:"22",viewBox:"0 0 13 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.tZ)("path",{d:"M1 1L11 11L1 21",stroke:"#B8B8B8",strokeWidth:"2"})}),c&&(0,a.tZ)(Wt,{tag:c})]})},Le=function(t){var e=t.len,r=t.callback,n=t.cart,o=t.showCart;return(0,a.tZ)(a.HY,{children:(0,a.BX)("div",{className:"vw-cmp__shoppable-list-content--header",children:[(0,a.tZ)("div",{className:"vw-cmp__shoppable-list-content--close-button",onClick:r,children:(0,a.tZ)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.tZ)("path",{d:"M2 12L12.0526 2M2 12L12.0526 22.0526M2 12H23",stroke:"black",strokeWidth:"2"})})}),(0,a.tZ)("div",{className:"vw-cmp__shoppable-list-content--title",children:(0,a.BX)("div",{children:[e," items in video"]})}),o&&(null===n||void 0===n?void 0:n.item_count)>0&&(0,a.tZ)("div",{className:"vw-cmp__shoppable--cart-info",children:(0,a.BX)("span",{className:"vw-cmp__shoppable--cart-info-container",children:[(0,a.tZ)("span",{className:"vw-cmp__shoppable--cart-info-badge",children:null===n||void 0===n?void 0:n.item_count}),(0,a.tZ)("span",{className:"vw-cmp__shoppable--cart-info-icon",children:(0,a.tZ)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.tZ)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.0001 5C15.0001 3.34315 13.657 2 12.0001 2C10.3433 2 9.00012 3.34315 9.00012 5H15.0001ZM12.0001 0C9.23869 0 7.00012 2.23858 7.00012 5H3.00012L2.22171 19.7898C2.10126 22.0783 3.92445 24 6.21618 24H17.7841C20.0758 24 21.899 22.0783 21.7785 19.7898L21.0001 5H17.0001C17.0001 2.23858 14.7615 0 12.0001 0ZM15.0001 7H17.0001H19.1026L19.7813 19.8949C19.8415 21.0392 18.9299 22 17.7841 22H6.21618C5.07031 22 4.15872 21.0392 4.21894 19.8949L4.89762 7H7.00012H9.00012H15.0001ZM7.00012 9C7.00012 10.5447 7.63036 11.7644 8.60993 12.5807C9.56656 13.3779 10.8038 13.75 12.0001 13.75C13.1964 13.75 14.4337 13.3779 15.3903 12.5807C16.3699 11.7644 17.0001 10.5447 17.0001 9H15.0001C15.0001 9.95529 14.6304 10.6106 14.1099 11.0443C13.5666 11.4971 12.8038 11.75 12.0001 11.75C11.1964 11.75 10.4337 11.4971 9.8903 11.0443C9.36988 10.6106 9.00012 9.95529 9.00012 9H7.00012Z",fill:"black"})})})]})})]})})};const Ee=function(){var t=s()||{},e=t.toggleShoppableList,r=t.shoppableList,n=t.cart,o=d(),c=(K()||{}).player||{},l=c.buyButton,u=(c.productDetails||{}).hideOldPrice,p="ADD_TO_CART"===(l||{}).type,f=(0,q.ac)("(max-width: 1023px)"),h=r.filter((function(t){return t.type===T.LR.PRODUCT})),v=(0,Z.Z)("vw-cmp__shoppable-list-content",be({},"vw-has-shadow",e));return(0,i.useEffect)((function(){console.log("shoppableList",r)}),[]),(0,a.tZ)(W.X,{features:Y.H,children:(0,a.BX)(z.m.div,{className:v,initial:!1,variants:f?{visible:{y:0},hidden:{y:"150%"}}:{visible:{x:0},hidden:{x:"100%"}},animate:e?"visible":"hidden",transition:{ease:[.29,.63,.4,.79],duration:.35},children:[(0,a.tZ)(Le,{len:h.length,cart:n,showCart:p,callback:function(){o({type:_.a.HIDE_SHOPPABLE_LIST}),o({type:_.a.HIDE_MORE})}}),(0,a.tZ)("ul",{className:"vw-cmp__shoppable-list-content--list",children:h.map((function(t,e){return(0,a.tZ)(Oe,function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?_e(Object(r),!0).forEach((function(e){be(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):_e(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({hideOldPrice:u,dispatch:o},t),e)}))}),n&&(null===n||void 0===n?void 0:n.item_count)>0&&!f&&(0,a.tZ)(Bt,{classModifier:"vw-cmp__shoppable-button--checkout",children:(0,a.tZ)(bt,{})})]})})};function Se(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function ke(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==r)return;var n,o,i=[],a=!0,c=!1;try{for(r=r.call(t);!(a=(n=r.next()).done)&&(i.push(n.value),!e||i.length!==e);a=!0);}catch(l){c=!0,o=l}finally{try{a||null==r.return||r.return()}finally{if(c)throw o}}return i}(t,e)||function(t,e){if(!t)return;if("string"===typeof t)return Ze(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Ze(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ze(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}const Ne=function(){var t,e=s(),r=e.togglePannel,n=e.isVisible,o=ke((0,i.useState)(n),2),c=o[0],l=o[1],u=(0,q.ac)("(max-width: 1023px)"),d=(0,Z.Z)("vw-cmp__shoppable--root",(Se(t={},"vw--is-mobile",u),Se(t,"vw--is-desktop",!u),Se(t,"vw--visible",c),t));return(0,i.useEffect)((function(){l(!!r&&n)}),[n,r]),(0,a.tZ)(a.HY,{children:(0,a.BX)("div",{className:d,children:[(0,a.tZ)(me,{}),(0,a.tZ)(Ee,{})]})})};const je=function(){var t=(K().player||{}).buyButton.type;return(0,a.tZ)("div",{className:"vw-cmp__loading",children:(0,a.tZ)(W.X,{features:Y.H,children:(0,a.BX)(z.m.div,{className:"vw-cmp__loading--box",initial:{scale:1.25},animate:{scale:1},transition:{duration:.5},children:[(0,a.tZ)("div",{className:"vw__atc-loader-root",children:(0,a.tZ)("span",{className:"vw__atc-loader"})}),(0,a.tZ)("span",{children:t===T.Nk.DIRECT_TO_CHECKOUT?"Taking you to checkout..":"Taking you to cart.."})]})})})};var Pe=function(t){var e=t.state,r=t.callback,n=function(){return(0,a.BX)("svg",{width:"100%",height:"100%",viewBox:"0 0 80 80",fill:"none",children:[(0,a.tZ)("circle",{opacity:"0.7",cx:"40",cy:"40",r:"40",fill:"black"}),(0,a.tZ)("path",{d:"M31.25 25.5162C31.25 24.7389 32.098 24.2588 32.7645 24.6587L57.6188 39.5713C57.9424 39.7655 57.9424 40.2345 57.6188 40.4287L32.7645 55.3413C32.098 55.7412 31.25 55.2611 31.25 54.4838V25.5162Z",fill:"white"})]})};if(!t.loading)return(0,a.tZ)(a.HY,{children:!e&&(0,a.tZ)("span",{className:"vw-cmp__player--play-icon",onClickCapture:function(){r()},children:(0,a.tZ)(n,{})})})};const Ie=(0,i.memo)(Pe);const Te=function(){return(0,a.tZ)("div",{className:"vw-cmp__player--is-loading",children:(0,a.tZ)("span",{className:"vw-cmp__player--is-loading-icon"})})};var Be=r(4251),Ae={start:{transition:{staggerChildren:.2}},end:{transition:{staggerChildren:.2}}},He={start:{opacity:0},end:{opacity:1}},De={duration:.8,yoyo:1/0,ease:"easeInOut"};const Re=function(){return(0,a.tZ)(W.X,{features:Y.H,children:(0,a.BX)(z.m.svg,{variants:Ae,initial:"start",animate:"end",width:"44",height:"46",viewBox:"0 0 44 46",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.tZ)(z.m.path,{id:"1",variants:He,transition:De,opacity:"0.1",d:"M19 44L22 42L25 44",stroke:"white","stroke-width":"3","stroke-linecap":"round","stroke-linejoin":"round"}),(0,a.tZ)(z.m.path,{id:"2",variants:He,transition:De,opacity:"0.16",d:"M13 35L22 29L31 35",stroke:"white","stroke-width":"3","stroke-linecap":"round","stroke-linejoin":"round"}),(0,a.tZ)(z.m.path,{id:"3",variants:He,transition:De,opacity:"0.4",d:"M7 25L22 16L37 25",stroke:"white","stroke-width":"3","stroke-linecap":"round","stroke-linejoin":"round"}),(0,a.tZ)(z.m.path,{id:"4",variants:He,transition:De,opacity:"0.6",d:"M2 14L22 2L42 14",stroke:"white","stroke-width":"3","stroke-linecap":"round","stroke-linejoin":"round"})]})})};function Me(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==r)return;var n,o,i=[],a=!0,c=!1;try{for(r=r.call(t);!(a=(n=r.next()).done)&&(i.push(n.value),!e||i.length!==e);a=!0);}catch(l){c=!0,o=l}finally{try{a||null==r.return||r.return()}finally{if(c)throw o}}return i}(t,e)||function(t,e){if(!t)return;if("string"===typeof t)return Ge(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Ge(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ge(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}const Fe=function(){var t=Me((0,i.useState)(!1),2),e=t[0],r=t[1],n=(0,i.useRef)(null),o=function(){window.localStorage.setItem("VW_PFTO",JSON.stringify(!0)),r(!0),n.current=setTimeout((function(){r(!1)}),5e3)};return(0,i.useEffect)((function(){window.localStorage.getItem("VW_PFTO")||r(!0)}),[]),(0,i.useEffect)((function(){return function(){return clearTimeout(n.current)}}),[]),(0,i.useEffect)((function(){e&&o()}),[e]),(0,a.tZ)(a.HY,{children:(0,a.tZ)(W.X,{features:Y.H,children:(0,a.tZ)(Be.M,{children:e&&(0,a.BX)(z.m.div,{className:"vw-cmp__modal--first-time",animate:{opacity:[0,1,0]},transition:{duration:3,times:[0,.5,1]},children:[(0,a.tZ)("div",{className:"vw-cmp__modal--icon",children:(0,a.tZ)(Re,{})}),(0,a.BX)("div",{className:"vw-cmp__modal--instructions",children:["Swipe Up ",(0,a.tZ)("br",{}),"To Next Video"]})]})})})})};var Ve=r(9322),Xe=r.n(Ve);const Ue=function(t){var e=t.loading,r=t.playing,n=t.onPlay,o=t.played,i=t.onSeek,c=(t.onSeekMouseDown,t.onSeekMouseUp,t.playedSeconds),l=(0,q.ac)("(max-width: 1023px)");return(0,a.BX)("div",{className:"vw-cmp__player-controls",children:[c>0&&(0,a.tZ)(Ie,{callback:n,state:r,loading:e}),e&&(0,a.tZ)(Te,{}),l&&!e&&r&&(0,a.tZ)(Fe,{}),(0,a.tZ)("div",{className:"vw-cmp__player-controls--progress",children:(0,a.tZ)("div",{className:"vw-cmp__range-rir--container",children:(0,a.tZ)(Xe(),{maxValue:100,minValue:0,value:100*o,onChange:function(t){return function(t){i(t)}(t)},classNames:{activeTrack:"vw-cmp__range-rir--track-active",disabledInputRange:"vw-cmp__range-rir--disabled",inputRange:"vw-cmp__range-rir",labelContainer:"vw-cmp__range-rir--label-container",maxLabel:"vw-cmp__range-rir--max-label",minLabel:"vw-cmp__range-rir--min-label",slider:"vw-cmp__range-rir--slider",sliderContainer:"vw-cmp__range-rir--slider-container",track:"vw-cmp__range-rir--track",valueLabel:"vw-cmp__range-rir--value-label"}})})}),(0,a.tZ)("div",{className:"vw-cmp__player-controls--click",onClick:n})]})};function qe(t){return qe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},qe(t)}function We(){We=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",i=n.asyncIterator||"@@asyncIterator",a=n.toStringTag||"@@toStringTag";function c(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(E){c=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var o=e&&e.prototype instanceof d?e:d,i=Object.create(o.prototype),a=new x(n||[]);return i._invoke=function(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return L()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=_(a,r);if(c){if(c===s)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var l=u(t,e,r);if("normal"===l.type){if(n=r.done?"completed":"suspendedYield",l.arg===s)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(n="completed",r.method="throw",r.arg=l.arg)}}}(t,r,a),i}function u(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(E){return{type:"throw",arg:E}}}t.wrap=l;var s={};function d(){}function p(){}function f(){}var h={};c(h,o,(function(){return this}));var v=Object.getPrototypeOf,y=v&&v(v(O([])));y&&y!==e&&r.call(y,o)&&(h=y);var m=f.prototype=d.prototype=Object.create(h);function w(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function g(t,e){function n(o,i,a,c){var l=u(t[o],t,i);if("throw"!==l.type){var s=l.arg,d=s.value;return d&&"object"==qe(d)&&r.call(d,"__await")?e.resolve(d.__await).then((function(t){n("next",t,a,c)}),(function(t){n("throw",t,a,c)})):e.resolve(d).then((function(t){s.value=t,a(s)}),(function(t){return n("throw",t,a,c)}))}c(l.arg)}var o;this._invoke=function(t,r){function i(){return new e((function(e,o){n(t,r,e,o)}))}return o=o?o.then(i,i):i()}}function _(t,e){var r=t.iterator[e.method];if(void 0===r){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,_(t,e),"throw"===e.method))return s;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return s}var n=u(r,t.iterator,e.arg);if("throw"===n.type)return e.method="throw",e.arg=n.arg,e.delegate=null,s;var o=n.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,s):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,s)}function b(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function C(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function x(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(b,this),this.reset(!0)}function O(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:L}}function L(){return{value:void 0,done:!0}}return p.prototype=f,c(m,"constructor",f),c(f,"constructor",p),p.displayName=c(f,a,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===p||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,f):(t.__proto__=f,c(t,a,"GeneratorFunction")),t.prototype=Object.create(m),t},t.awrap=function(t){return{__await:t}},w(g.prototype),c(g.prototype,i,(function(){return this})),t.AsyncIterator=g,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new g(l(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},w(m),c(m,a,"Generator"),c(m,o,(function(){return this})),c(m,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},t.values=O,x.prototype={constructor:x,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(C),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),l=r.call(i,"finallyLoc");if(c&&l){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,s):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),s},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),C(r),s}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;C(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:O(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),s}},t}function Ye(t,e,r,n,o,i,a){try{var c=t[i](a),l=c.value}catch(u){return void r(u)}c.done?e(l):Promise.resolve(l).then(n,o)}const ze=function(t){var e,r=t.product,n=s(),o=d(),i=(0,q.ac)("(max-width: 1023px)"),c=r||{},l=c.previewImageSrc,u=c.name,p=c.compareAtPrice,f=c.price,h=c.handle,v=c.tag,y=c.productReviews,m=c.variantId,w=c.excludedVariants,g=(K()||{}).player||{},b=g.productDetails,C=g.settings,x=(b||{}).hideOldPrice,O=function(){var t,e=(t=We().mark((function t(){return We().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,(0,kt.Fn)({handle:h,dispatch:o,tag:v,shoppableCtx:n,productReviews:y,variantId:m,excludedVariants:w});case 3:i&&o({type:_.a.SHOW_MORE}),t.next=9;break;case 6:t.prev=6,t.t0=t.catch(0),console.log("Error selecting product: ",t.t0);case 9:case"end":return t.stop()}}),t,null,[[0,6]])})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){Ye(i,n,o,a,c,"next",t)}function c(t){Ye(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return e.apply(this,arguments)}}();return r?(0,a.BX)("div",{className:"vw-cmp__shoppable--card",onClick:O,children:[p&&!x&&(0,a.tZ)("span",{className:"vw-cmp__shoppable--card-price-old-label",children:(null===C||void 0===C||null===(e=C.translation)||void 0===e?void 0:e.sale)||"Sale"}),(0,a.tZ)("div",{className:"vw-cmp__shoppable--card-image",children:l&&u&&(0,a.tZ)("img",{src:l,alt:u})}),(0,a.BX)("div",{className:"vw-cmp__shoppable--card-body",children:[u&&(0,a.tZ)("div",{className:"vw-cmp__shoppable--card-title",children:we(u.toLowerCase(),43)}),y&&(0,a.tZ)(ee,{rating:y}),f&&(0,a.BX)("div",{className:"vw-cmp__shoppable--card-price",children:[(0,a.tZ)("span",{className:"vw-cmp__shoppable--card-price-current",children:At(f,!1)}),p&&!x&&(0,a.tZ)("span",{className:"vw-cmp__shoppable--card-price-old",children:At(p,!1)})]}),v&&(0,a.tZ)(Wt,{tag:v})]})]}):null};const $e=function(t){var e=t.title,r=t.url;if(e||r)return(0,a.tZ)("a",{href:r,className:"vw-cmp__shoppable--external-button",target:"_blank",children:(0,a.tZ)("span",{children:e})})};function Ke(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Je(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Ke(Object(r),!0).forEach((function(e){Qe(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Ke(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Qe(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function tr(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==r)return;var n,o,i=[],a=!0,c=!1;try{for(r=r.call(t);!(a=(n=r.next()).done)&&(i.push(n.value),!e||i.length!==e);a=!0);}catch(l){c=!0,o=l}finally{try{a||null==r.return||r.return()}finally{if(c)throw o}}return i}(t,e)||rr(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function er(t){return function(t){if(Array.isArray(t))return nr(t)}(t)||function(t){if("undefined"!==typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||rr(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function rr(t,e){if(t){if("string"===typeof t)return nr(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?nr(t,e):void 0}}function nr(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}const or=function(t){var e=t.time,r=t.shoppableList,n=d(),o=(0,q.ac)("(max-width: 1023px)"),c=tr((0,i.useState)(!1),2),l=c[0],u=c[1],s=tr((0,i.useState)([]),2),p=s[0],f=s[1],h=tr((0,i.useState)([]),2),v=(h[0],h[1],r.filter((function(t){return t.type===T.LR.PRODUCT}))),y=tr((0,St.E)({initial:0,selector:".vw-cmp_shoppable-keen-card-slide",breakpoints:{"(min-width: 240px)":{slides:{perView:1.4,spacing:8}},"(min-width: 768px)":{slides:{perView:2,spacing:0}}},slides:{perView:1.5,spacing:0}}),3),m=y[0],w=y[1],g=(y[2],(0,i.useCallback)((function(){!function(t,e,r,n,o,i,a){e.length>1&&e.forEach((function(e,c){var l;r?e.startTime<=t&&!o.includes(e.productRefId)&&(i((function(t){return[].concat(er(t),[e.productRefId])})),null===(l=a.current)||void 0===l||l.next()):0===c&&e.startTime<=t&&(i((function(t){return[].concat(er(t),[e.productRefId])})),n(!0))}))}(e,r,l,u,p,f,w)}),[e,r]));return(0,i.useEffect)((function(){var t;null===(t=w.current)||void 0===t||t.update()}),[w.current,r]),(0,i.useEffect)((function(){r.length>1&&g(e)}),[e,r]),(0,a.tZ)(W.X,{features:Y.H,children:(0,a.BX)(z.m.div,{style:{width:"100%"},initial:!1,variants:{visible:{y:0},hidden:{y:"200%"}},animate:l?"visible":"hidden",transition:{duration:.4,ease:"anticipate"},children:[o&&v.length>0&&(0,a.BX)("div",{className:"vw-shoppable--list-trigger",onClick:function(){n({type:_.a.SHOW_SHOPPABLE_LIST}),n({type:_.a.SHOW_MORE})},children:["Shop ",r.length," items"]}),(0,a.tZ)("div",{ref:m,className:"vw-cmp_shoppable-keen-card-slider",children:r.map((function(t,e){return(0,a.tZ)("div",{className:"vw-cmp_shoppable-keen-card-slide",children:t.type===T.LR.PRODUCT?(0,a.tZ)(ze,{product:t}):(0,a.tZ)($e,Je({},t))},"card-item-".concat(e))}))})]})})};function ir(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function ar(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?ir(Object(r),!0).forEach((function(e){cr(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ir(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function cr(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}const lr=function(t){return(0,a.tZ)(W.X,{features:Y.H,children:(0,a.tZ)(z.m.div,ar(ar({},t),{},{children:t.children}))})};function ur(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function sr(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?ur(Object(r),!0).forEach((function(e){dr(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ur(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function dr(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function pr(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==r)return;var n,o,i=[],a=!0,c=!1;try{for(r=r.call(t);!(a=(n=r.next()).done)&&(i.push(n.value),!e||i.length!==e);a=!0);}catch(l){c=!0,o=l}finally{try{a||null==r.return||r.return()}finally{if(c)throw o}}return i}(t,e)||function(t,e){if(!t)return;if("string"===typeof t)return fr(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return fr(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function fr(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}const hr=function(t){var e=t.time,r=t.item,n=pr((0,i.useState)(!1),2),o=n[0],c=n[1],l=(0,i.useCallback)((function(){!function(t,e,r,n){!r&&e.startTime<=t&&n(!0)}(e,r,o,c)}),[e]);return(0,i.useEffect)((function(){r&&l(e)}),[e,r]),(0,a.tZ)(a.HY,{children:o&&(0,a.tZ)(lr,{style:{width:"100%"},initial:{y:"200%"},animate:{y:0},transition:{duration:.3,ease:"anticipate"},children:(null===r||void 0===r?void 0:r.type)===T.LR.PRODUCT?(0,a.tZ)(ze,{product:r}):(0,a.tZ)($e,sr({},r))})})};function vr(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}const yr=function(t){var e,r=t.time,n=(0,q.ac)("(max-width: 1023px)"),o=(s()||{}).shoppableList,i=o.length,c=(0,Z.Z)("vw-cmp__shoppable--card-list",(vr(e={},"vw-has--carousel",i>1),vr(e,"vw-single",1===i),e));if(n||1!==i||"PRODUCT"!==o[0].type)return(0,a.BX)("div",{className:c,children:[i>1&&(0,a.tZ)(or,{time:r,shoppableList:o}),1===i&&(0,a.tZ)(hr,{time:r,item:o[0]})]})};var mr=function(){return(0,a.BX)(a.HY,{children:[(0,a.tZ)("div",{className:"vw-cmp__player--shadow vw-cmp__player--shadow-top"}),(0,a.tZ)("div",{className:"vw-cmp__player--shadow vw-cmp__player--shadow-bottom"})]})};const wr=(0,i.memo)(mr);var gr=function(t){var e=t.url,r=t.type;if(e&&""!==e){var n=function(t){return(0,a.tZ)("img",{src:e,className:t,alt:"VideoWise Shoppable videos"})};return r===T.q.PREVIEW?(0,a.tZ)("div",{className:"vw__video-player vw__video-player--preview",children:n()}):(0,a.tZ)(a.HY,{children:n("vw-cmp__player--background vw-cmp__player--background-img has-blur")})}};const _r=(0,i.memo)(gr);const br=function(t){var e,r=t.video,n=(0,q.ac)("(max-width: 576px)");return(0,a.BX)(a.HY,{children:[(0,a.tZ)(wr,{}),!n&&(0,a.tZ)(_r,{url:null===(e=r.thumbnail)||void 0===e?void 0:e.url})]})};var Cr=r(5457),xr=r.n(Cr);function Or(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==r)return;var n,o,i=[],a=!0,c=!1;try{for(r=r.call(t);!(a=(n=r.next()).done)&&(i.push(n.value),!e||i.length!==e);a=!0);}catch(l){c=!0,o=l}finally{try{a||null==r.return||r.return()}finally{if(c)throw o}}return i}(t,e)||function(t,e){if(!t)return;if("string"===typeof t)return Lr(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Lr(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Lr(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}const Er=function(t){var e=t.video,r=t.isPlaying,n=t.onProgress,o=t.onDuration,c=t.onEnded,l=t.onBuffer,u=t.onBufferEnd,d=t.onReady,p=t.onPlay,f=t.onPlayerRef,h=t.isCurrentPlaying,v=s()||{},y=(0,i.useRef)(null),m=Or((0,i.useState)({muted:v.muted}),2),w=m[0],g=m[1];return(0,i.useEffect)((function(){g({muted:v.muted})}),[v.muted]),(0,i.useEffect)((function(){y&&f(y.current)}),[y]),(0,a.tZ)(xr(),{id:"mux-monitor-".concat(e.id),ref:y,url:function(t){var e,r=t||{},n=r.url,o=r.muxPlaybackId;if(!h){var i,a,c,l="".concat("ikgew7mM9cLLms5hfy5Z9M00MG76PrKYA67NtJTnzGhk");if(null===y||void 0===y||null===(i=y.current)||void 0===i||null===(a=i.props)||void 0===a||null===(c=a.url)||void 0===c||!c.includes(o)){var u,s=(null===y||void 0===y||null===(u=y.current)||void 0===u?void 0:u.getInternalPlayer())||null;return s&&!s.classList.contains("minified-video")&&s.classList.add("minified-video"),"https://stream.mux.com/".concat(l,"/low.mp4")}}var d=(null===y||void 0===y||null===(e=y.current)||void 0===e?void 0:e.getInternalPlayer())||null;d&&d.classList.contains("minified-video")&&d.classList.remove("minified-video");var p=(0,kt.mj)(n);return o?"https://stream.mux.com/".concat(o,".m3u8"):p}(e),className:"vw__video-player",width:"100%",height:"100%",controls:!1,muted:w.muted,progressInterval:100,playing:r,playsinline:!0,onProgress:n,onDuration:o,onEnded:c,onBuffer:l,onBufferEnd:u,onReady:d,onPlay:p,config:{file:{hlsOptions:{forceHLS:!!(e||{}).muxPlaybackId,debug:!1,xhrSetup:function(t,e){if(!t.readyState){var r=e.substring(0,e.indexOf("&vsid")+1);r&&t.open("GET",r,!0)}}}}}})};var Sr=r(7103),kr=r.n(Sr);function Zr(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==r)return;var n,o,i=[],a=!0,c=!1;try{for(r=r.call(t);!(a=(n=r.next()).done)&&(i.push(n.value),!e||i.length!==e);a=!0);}catch(l){c=!0,o=l}finally{try{a||null==r.return||r.return()}finally{if(c)throw o}}return i}(t,e)||function(t,e){if(!t)return;if("string"===typeof t)return Nr(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Nr(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Nr(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}const jr=function(t){var e=t.url,r=t.isPlaying,n=t.onProgress,o=t.onDuration,c=t.onEnded,l=t.onBuffer,u=t.onBufferEnd,s=t.onReady,d=t.onPlay,p=t.onPlayerRef,f=(0,i.useRef)(null),h=Zr((0,i.useState)(!1),2),v=h[0],y=h[1];return(0,q.ac)("(max-width: 1023px)")&&y(!0),(0,i.useEffect)((function(){f&&p(f.current)}),[f]),(0,a.tZ)(kr(),{ref:f,url:e,className:"vw__video-player",width:"100%",height:"100%",controls:!0,progressInterval:100,playing:r,playsinline:!0,muted:v,onProgress:n,onDuration:o,onEnded:c,onBuffer:l,onBufferEnd:u,onReady:s,onPlay:d})};function Pr(){var t=new URLSearchParams(window.location.search);return new Proxy(t,{get:function(t,e){return t.get(e)}})}var Ir=r(4125),Tr=r.n(Ir);function Br(t){return Br="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Br(t)}function Ar(){Ar=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",i=n.asyncIterator||"@@asyncIterator",a=n.toStringTag||"@@toStringTag";function c(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(E){c=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var o=e&&e.prototype instanceof d?e:d,i=Object.create(o.prototype),a=new x(n||[]);return i._invoke=function(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return L()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=_(a,r);if(c){if(c===s)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var l=u(t,e,r);if("normal"===l.type){if(n=r.done?"completed":"suspendedYield",l.arg===s)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(n="completed",r.method="throw",r.arg=l.arg)}}}(t,r,a),i}function u(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(E){return{type:"throw",arg:E}}}t.wrap=l;var s={};function d(){}function p(){}function f(){}var h={};c(h,o,(function(){return this}));var v=Object.getPrototypeOf,y=v&&v(v(O([])));y&&y!==e&&r.call(y,o)&&(h=y);var m=f.prototype=d.prototype=Object.create(h);function w(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function g(t,e){function n(o,i,a,c){var l=u(t[o],t,i);if("throw"!==l.type){var s=l.arg,d=s.value;return d&&"object"==Br(d)&&r.call(d,"__await")?e.resolve(d.__await).then((function(t){n("next",t,a,c)}),(function(t){n("throw",t,a,c)})):e.resolve(d).then((function(t){s.value=t,a(s)}),(function(t){return n("throw",t,a,c)}))}c(l.arg)}var o;this._invoke=function(t,r){function i(){return new e((function(e,o){n(t,r,e,o)}))}return o=o?o.then(i,i):i()}}function _(t,e){var r=t.iterator[e.method];if(void 0===r){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,_(t,e),"throw"===e.method))return s;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return s}var n=u(r,t.iterator,e.arg);if("throw"===n.type)return e.method="throw",e.arg=n.arg,e.delegate=null,s;var o=n.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,s):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,s)}function b(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function C(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function x(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(b,this),this.reset(!0)}function O(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:L}}function L(){return{value:void 0,done:!0}}return p.prototype=f,c(m,"constructor",f),c(f,"constructor",p),p.displayName=c(f,a,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===p||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,f):(t.__proto__=f,c(t,a,"GeneratorFunction")),t.prototype=Object.create(m),t},t.awrap=function(t){return{__await:t}},w(g.prototype),c(g.prototype,i,(function(){return this})),t.AsyncIterator=g,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new g(l(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},w(m),c(m,a,"Generator"),c(m,o,(function(){return this})),c(m,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},t.values=O,x.prototype={constructor:x,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(C),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),l=r.call(i,"finallyLoc");if(c&&l){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,s):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),s},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),C(r),s}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;C(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:O(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),s}},t}function Hr(t,e,r,n,o,i,a){try{var c=t[i](a),l=c.value}catch(u){return void r(u)}c.done?e(l):Promise.resolve(l).then(n,o)}function Dr(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Rr(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Dr(Object(r),!0).forEach((function(e){Mr(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Dr(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Mr(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Gr(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==r)return;var n,o,i=[],a=!0,c=!1;try{for(r=r.call(t);!(a=(n=r.next()).done)&&(i.push(n.value),!e||i.length!==e);a=!0);}catch(l){c=!0,o=l}finally{try{a||null==r.return||r.return()}finally{if(c)throw o}}return i}(t,e)||function(t,e){if(!t)return;if("string"===typeof t)return Fr(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Fr(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Fr(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var Vr=function(t,e){var r=t||{},n=r.url,o=r.refId,i=(0,kt.mj)(n);return e?"https://www.youtube.com/watch?v=".concat(o):i};const Xr=function(t){var e=t.video,r=t.isCurrentPlaying,n=t.currentSlide,o=t.onEndedCallback,c=t.onDataCollectCallback,l=(t.currentVideoIndex,d()),u=s()||{},p=w(),f=u.isLoadingInProgress,h=u.errorOnProduct,v=(0,i.useRef)(null),y=p.widget,m=p.trackingContext,g=(Pr()||{}).widgetId,b=((K()||{}).player||{}).dataCollection,C=b.behaviour,x=b.appearAfter,O=b.enable,L=b.videoId,E={isPlaying:r,loading:!1,seeking:!1,loaded:0,loadedSeconds:0,playedSeconds:0,played:0},S=Gr((0,i.useState)(E),2),k=S[0],N=S[1],j=Gr((0,i.useState)(!1),2),P=j[0],I=j[1],B=k.played,A=k.seeking,H=k.playedSeconds,D=k.loading,R=k.isPlaying,M=Gr((0,i.useState)(!0),2),G=M[0],V=M[1],X=Gr((0,i.useState)(!0),2),U=X[0],W=X[1],Y=Gr((0,i.useState)(!1),2),z=Y[0],$=Y[1],J=Gr((0,i.useState)(!1),2),tt=J[0],et=J[1],rt=(0,q.ac)("(max-width: 1023px)")&&null!==e&&void 0!==e&&e.formatMobile?"FIT_TO_SCREEN"===(null===e||void 0===e?void 0:e.formatMobile)?"contain":"cover":"FIT_TO_SCREEN"===(null===e||void 0===e?void 0:e.format)?"contain":"cover",nt=(0,Z.Z)("vw-cmp__player--video-container vw-video--".concat(rt),Mr({},"vw-video--is-loading",D)),ot=(null===y||void 0===y?void 0:y.videoType)===T.cl.YOUTUBE,it=(0,kt.c$)(null===e||void 0===e?void 0:e.commercials),at=(null===e||void 0===e?void 0:e.commercials)&&e.commercials.length>0&&it;u.togglePannel||(at=!1),(0,i.useEffect)((function(){var t=setTimeout((function(){$(!0)}),100);return function(){return clearTimeout(t)}}),[e]);var ct=function(){N(Rr(Rr({},E),{},{isPlaying:!1})),o()},lt=function(t){A||N(Rr(Rr({},k),t))},ut=function(){e.startTime&&v.current.seekTo(parseFloat(e.startTime),"seconds")},st=function(){N(Rr(Rr({},k),{},{loading:!0}))},dt=function(){N(Rr(Rr({},k),{},{loading:!1}))},pt=function(){N(Rr(Rr({},k),{},{loading:!1}))},ft=function(t){v.current=t,t&&I(!0)};(0,i.useEffect)((function(){var t=e||{},n=t.id,o=t.title,i=t.duration,a=t.muxPlaybackId;if(r&&a&&v.current){var c=document.getElementById("mux-monitor-".concat(e.id)).querySelector("video");if(c){var l=Date.now();Tr().monitor(c,{debug:!(!window.location.hash||"videowise_enable_mux_monitor"!==window.location.hash.substring(1)),data:{env_key:"".concat("k94u7pkbe7j3b7gvrnsi34jn2"),player_name:"".concat(y.name,"(").concat(y.id,") for site: ").concat(y.siteId),video_series:"".concat(location.hostname),video_id:n,video_title:"".concat(location.hostname,": ").concat(o),video_duration:i,player_init_time:l}})}}}),[P,r]);var ht=function(t){N(Rr(Rr({},k),{},{isPlaying:!t}))},vt=function(){if(r&&O&&!yt(y)&&!tt)switch(C){case"APPEAR_AFTER":if(L!==e.id)return;x===Math.round(H)&&(c(),et(!0));break;case"VIDEO_COMPLETE":0===n&&H>Math.floor(e.duration)-2&&(c(),et(!0));break;case"SWIPE":1===n&&(c(),et(!0));break;default:console.error("Something went wrong ".concat(C))}},yt=function(t){return(JSON.parse(localStorage.getItem("reeview_completedForms"))||[]).includes(t.id)};return(0,i.useEffect)((function(){var t;r&&!at&&u.isVisible?l({type:_.a.HIDE_PANEL}):(t=Ar().mark((function t(){var n,o,i,a,c,u,s,d,p,f,h;return Ar().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!r||!at){t.next=23;break}return console.log("show commer hasProduct",at),u=null===(n=e.commercials[0])||void 0===n?void 0:n.handle,s=null===(o=e.commercials[0])||void 0===o?void 0:o.tag,d=null===(i=e.commercials[0])||void 0===i?void 0:i.variantId,p=null===(a=e.commercials[0])||void 0===a?void 0:a.excludedVariants,f=null===(c=e.commercials[0])||void 0===c?void 0:c.productReviews,t.prev=7,t.next=10,(0,Q.$h)(u,p);case 10:if(h=t.sent){t.next=14;break}return 1===e.commercials.length&&(l({type:_.a.HIDE_PANEL}),l({type:_.a.ERROR_ON_PRODUCT,payload:{errorOnProduct:!0}}),setTimeout((function(){l({type:_.a.ERROR_ON_PRODUCT,payload:{errorOnProduct:!1}})}),1e3)),t.abrupt("return");case 14:s&&(h.tag=s),d&&(h.variantId=d),f&&(h.productReviews=f),h&&(0,kt.c6)(l,h,u),t.next=23;break;case 20:t.prev=20,t.t0=t.catch(7),console.error("fetch product error: ",t.t0);case 23:case"end":return t.stop()}}),t,null,[[7,20]])})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){Hr(i,n,o,a,c,"next",t)}function c(t){Hr(i,n,o,a,c,"throw",t)}a(void 0)}))})()}),[r]),(0,i.useEffect)((function(){vt()}),[r]),(0,i.useEffect)((function(){N(Rr(Rr({},k),{},{playing:!1}))}),[f]),(0,i.useEffect)((function(){r&&"undefined"!==u.showMore&&ht(u.showMore)}),[r,u.showMore]),(0,i.useEffect)((function(){r&&"undefined"!==u.showShare&&ht(u.showShare)}),[r,u.showShare]),(0,i.useEffect)((function(){H&&(!function(t){var r=function(){return 80*Math.floor(t.duration)/100};H>3&&H<4&&U&&(F(T.X8.Video,Rr({videoId:e.id},m)),W(!1)),H>r()&&H<r()+1&&G&&(F(T.X8.VideoWatch,Rr({videoId:t.id},m)),V(!1))}(e),vt(),e.endTime&&Math.round(10*H)===Math.round(10*e.endTime)&&k.isPlaying&&(v.current.seekTo(parseFloat(e.startTime),"seconds"),ct()))}),[H]),(0,i.useEffect)((function(){if(!r)return V(!0),void W(!0)}),[r]),(0,i.useEffect)((function(){N(Rr(Rr({},k),{},{isPlaying:r}))}),[r]),(0,i.useEffect)((function(){g&&N(Rr(Rr({},k),{},{isPlaying:!1}))}),[g]),(0,a.tZ)("div",{className:nt,children:(0,a.BX)("div",{className:"vw-cmp__player--video-container-embed",children:[ot&&(0,a.tZ)(jr,{url:Vr(e,!0),isPlaying:R,onProgress:lt,onDuration:ut,onEnded:ct,onBuffer:st,onBufferEnd:dt,onPlay:pt,onPlayerRef:ft}),!ot&&z&&(0,a.tZ)(Er,{video:e,isPlaying:R,onProgress:lt,onDuration:ut,onEnded:ct,onBuffer:st,onBufferEnd:dt,onPlay:pt,onPlayerRef:ft,isCurrentPlaying:r}),!ot&&r&&(0,a.tZ)(Ue,{loading:D,playing:R,onPlay:function(){N(Rr(Rr({},k),{},{isPlaying:!k.isPlaying}))},played:B,onSeek:function(t){N(Rr(Rr({},k),{},{played:parseFloat(t/100)})),v.current.seekTo(t/100,"fraction")},playedSeconds:H}),!ot&&(0,a.tZ)(br,{video:e}),r&&(0,a.tZ)(yr,{time:k.playedSeconds}),h&&(0,a.tZ)("div",{className:"vm-cmp__unvalabile-product",children:"The product is unvalabile"})]})})};const Ur=function(t){var e=t.onPrev,r=t.onNext;return(0,a.BX)("div",{className:"vw-cmp__player-navigation",children:[(0,a.tZ)("div",{onClick:e,className:"vw-cmp__player--button vw-cmp__player--button-prev",children:(0,a.tZ)(a.HY,{children:(0,a.tZ)("span",{className:"vw-cmp__player--button-icon",children:(0,a.tZ)("svg",{width:"22",height:"13",viewBox:"0 0 22 13",fill:"none",children:(0,a.tZ)("path",{d:"M0.999907 11.9999L10.9998 2L20.9999 12",stroke:"white",strokeWidth:"2.2"})})})})}),(0,a.tZ)("div",{onClick:r,className:"vw-cmp__player--button vw-cmp__player--button-next",children:(0,a.tZ)(a.HY,{children:(0,a.tZ)("span",{className:"vw-cmp__player--button-icon",children:(0,a.tZ)("svg",{width:"22",height:"13",viewBox:"0 0 22 13",fill:"none",children:(0,a.tZ)("path",{d:"M0.999907 1.00013L10.9998 11L20.9999 1",stroke:"white",strokeWidth:"2.2"})})})})})]})};var qr=r(8440),Wr={VAR:{y:["32px","0px","-32px"],opacity:[0,1,0],transition:{duration:1.5,repeat:1/0}}},Yr={VAR:{transition:{when:"afterChildren",staggerChildren:.5}}};const zr=function(){var t=(0,qr._)();return(0,i.useEffect)((function(){t.start("VAR")}),[t]),(0,i.useEffect)((function(){setTimeout((function(){t.start("VAR")}),500)}),[]),(0,a.tZ)(W.X,{features:Y.H,children:(0,a.BX)(z.m.svg,{width:"11",height:"13",viewBox:"0 0 11 13",fill:"none",xmlns:"http://www.w3.org/2000/svg",animate:t,variants:Yr,children:[(0,a.tZ)(z.m.path,{d:"M2 5.29997L5.6 1.70003L9.2 5.29997",stroke:"white","stroke-width":"2","stroke-linecap":"square",variants:Wr}),(0,a.tZ)(z.m.path,{d:"M2 11.3L5.6 7.70003L9.2 11.3",stroke:"white","stroke-width":"2","stroke-linecap":"square",variants:Wr})]})})};var $r=function(t,e){return t<e.length?e[t]:null};const Kr=function(t){var e=t.index,r=t.videos,n=$r(e,r),o=$r(e+1,r);return(0,a.BX)("div",{className:"vw-cmp__player-legend",children:[n&&(0,a.BX)("div",{className:"vw-cmp__player-legend--label vw-cmp__player-legend--current",children:[(0,a.tZ)("span",{className:"vw-cmp__player-legend--icon",children:(0,a.tZ)("svg",{width:"9",height:"11",viewBox:"0 0 9 11",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.tZ)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 10.5L8.57143 5.5L0 0.5V10.5Z",fill:"white"})})}),"Now: ",null===n||void 0===n?void 0:n.title]}),o&&(0,a.BX)("div",{className:"vw-cmp__player-legend--label vw-cmp__player-legend--next",children:[(0,a.tZ)("span",{className:"vw-cmp__player-legend--icon",children:(0,a.tZ)(zr,{})}),"Next: ",null===o||void 0===o?void 0:o.title]})]})};const Jr=function(){var t=s(),e=t.muted,r=t.shoppableList,n=d(),o=((0,kt.c$)(r),e?function(){return(0,a.BX)("svg",{width:"24",height:"24",viewBox:"0 0 32 32",fill:"none",children:[(0,a.tZ)("path",{d:"M2 10H7.81818L17 3V29L7.81818 22H2V10ZM8.49361 12L15 7.03968V24.9603L8.49361 20H4V12H8.49361Z",fill:"white"}),(0,a.tZ)("path",{d:"M20.8219 10.4325C20.4314 10.042 19.7982 10.042 19.4077 10.4325C19.0172 10.8231 19.0172 11.4562 19.4077 11.8468L23.643 16.0821L19.4077 20.3174C19.0172 20.708 19.0172 21.3411 19.4077 21.7316C19.7982 22.1222 20.4314 22.1222 20.8219 21.7316L25.0573 17.4963L29.2926 21.7316C29.6831 22.1222 30.3163 22.1222 30.7068 21.7316C31.0973 21.3411 31.0973 20.708 30.7068 20.3174L26.4715 16.0821L30.7068 11.8468C31.0973 11.4562 31.0973 10.8231 30.7068 10.4325C30.3163 10.042 29.6831 10.042 29.2926 10.4325L25.0573 14.6679L20.8219 10.4325Z",fill:"white"})]})}:function(){return(0,a.BX)("svg",{width:"24",height:"24",viewBox:"0 0 32 32",fill:"none",children:[(0,a.tZ)("path",{d:"M7.81818 10H2V22H7.81818L17 29V3L7.81818 10Z",fill:"white"}),(0,a.tZ)("path",{d:"M21.8642 15.3638C21.8642 13.7454 21.0183 12.3245 19.7446 11.5191C19.1424 11.1383 18.7963 10.3527 19.1446 9.73111C19.4028 9.27025 19.9605 9.05403 20.4304 9.29546C22.6312 10.4263 24.1369 12.7192 24.1369 15.3638C24.1369 18.0084 22.6312 20.3014 20.4304 21.4322C19.9605 21.6736 19.4028 21.4574 19.1446 20.9965C18.7963 20.375 19.1424 19.5893 19.7446 19.2085C21.0183 18.4031 21.8642 16.9822 21.8642 15.3638Z",fill:"white"}),(0,a.tZ)("path",{d:"M23.3875 8.37237C25.8645 9.72016 27.5457 12.3459 27.5457 15.3643C27.5457 18.3826 25.8645 21.0084 23.3875 22.3562C22.8014 22.6751 22.4991 23.3888 22.7871 23.9907C23.0394 24.518 23.6578 24.7694 24.18 24.5067C27.524 22.825 29.8184 19.3626 29.8184 15.3643C29.8184 11.366 27.524 7.90355 24.18 6.2218C23.6578 5.95916 23.0394 6.21054 22.7871 6.73783C22.4991 7.3397 22.8014 8.05347 23.3875 8.37237Z",fill:"white"})]})});return(0,a.tZ)(W.X,{features:Y.H,children:(0,a.tZ)(z.m.div,{initial:{opacity:0},animate:{opacity:1},transition:{type:"tween",duration:.2},className:"vw-cmp__player--sound-button ".concat(null!==r&&void 0!==r&&r.length?"":"vw-cmp__player--sound-button-bottom"),onClick:function(){n({type:_.a.TOGGLE_SOUND,payload:{muted:!e}})},children:(0,a.tZ)("span",{className:"vw-cmp__player--sound-icon",children:(0,a.tZ)(o,{})})})})};const Qr=function(t){var e=t.onShare,r=s().shoppableList;(0,kt.c$)(r);return(0,a.tZ)("div",{className:"vw-cmp__player--share-button ".concat(null!==r&&void 0!==r&&r.length?"":"vw-cmp__player--share-button-bottom"),children:(0,a.tZ)("div",{onClick:e,className:"vw-cmp__player--button",children:(0,a.tZ)(a.HY,{children:(0,a.tZ)("span",{className:"vw-cmp__player--button-icon",children:(0,a.BX)("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.tZ)("g",{filter:"url(#filter0_d_501_286)",children:(0,a.tZ)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M22 12C23.1046 12 24 11.1046 24 10C24 8.89543 23.1046 8 22 8C20.8954 8 20 8.89543 20 10C20 11.1046 20.8954 12 22 12ZM22 14C24.2091 14 26 12.2091 26 10C26 7.79086 24.2091 6 22 6C19.7909 6 18 7.79086 18 10C18 10.2874 18.0303 10.5678 18.0879 10.838L13.0169 13.3735C12.2836 12.5319 11.2039 12 10 12C7.79086 12 6 13.7909 6 16C6 18.2091 7.79086 20 10 20C11.2039 20 12.2836 19.4681 13.0169 18.6265L18.0879 21.162C18.0303 21.4322 18 21.7126 18 22C18 24.2091 19.7909 26 22 26C24.2091 26 26 24.2091 26 22C26 19.7909 24.2091 18 22 18C20.7961 18 19.7164 18.5319 18.9831 19.3735L13.9121 16.838C13.9697 16.5678 14 16.2874 14 16C14 15.7126 13.9697 15.4322 13.9121 15.162L18.9831 12.6265C19.7164 13.4681 20.7961 14 22 14ZM10 18C11.1046 18 12 17.1046 12 16C12 14.8954 11.1046 14 10 14C8.89543 14 8 14.8954 8 16C8 17.1046 8.89543 18 10 18ZM24 22C24 23.1046 23.1046 24 22 24C20.8954 24 20 23.1046 20 22C20 20.8954 20.8954 20 22 20C23.1046 20 24 20.8954 24 22Z",fill:"white"})}),(0,a.tZ)("defs",{children:(0,a.BX)("filter",{id:"filter0_d_501_286",x:"-1",y:"-2",width:"36",height:"36",filterUnits:"userSpaceOnUse","color-interpolation-filters":"sRGB",children:[(0,a.tZ)("feFlood",{"flood-opacity":"0",result:"BackgroundImageFix"}),(0,a.tZ)("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),(0,a.tZ)("feOffset",{}),(0,a.tZ)("feGaussianBlur",{stdDeviation:"3"}),(0,a.tZ)("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.3 0"}),(0,a.tZ)("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_501_286"}),(0,a.tZ)("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_501_286",result:"shape"})]})})]})})})})})};function tn(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==r)return;var n,o,i=[],a=!0,c=!1;try{for(r=r.call(t);!(a=(n=r.next()).done)&&(i.push(n.value),!e||i.length!==e);a=!0);}catch(l){c=!0,o=l}finally{try{a||null==r.return||r.return()}finally{if(c)throw o}}return i}(t,e)||function(t,e){if(!t)return;if("string"===typeof t)return en(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return en(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function en(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var rn=function(){return(0,a.tZ)(a.HY,{children:(0,a.tZ)("span",{className:"vw-cmp__player--button-icon",children:(0,a.tZ)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.tZ)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M2.00003 0.585815L8.00003 6.58582L14 0.585815L15.4142 2.00003L9.41424 8.00003L15.4142 14L14 15.4142L8.00003 9.41424L2.00003 15.4142L0.585815 14L6.58582 8.00003L0.585815 2.00003L2.00003 0.585815Z",fill:"#9F9F9F"})})})})},nn=function(){return(0,a.tZ)(a.HY,{children:(0,a.tZ)("span",{className:"vw-cmp__player--button-icon",children:(0,a.tZ)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.tZ)("path",{d:"M7.55018 21.6C16.6045 21.6 21.5583 14.2125 21.5583 7.80792C21.5583 7.60024 21.5536 7.38792 21.5442 7.18024C22.5079 6.4941 23.3395 5.64418 24 4.67048C23.1025 5.06365 22.1497 5.3204 21.1739 5.43202C22.2013 4.82568 22.9705 3.87315 23.3391 2.75103C22.3725 3.31498 21.3156 3.71281 20.2135 3.92744C19.4708 3.15056 18.489 2.63617 17.4197 2.46381C16.3504 2.29144 15.2532 2.4707 14.2977 2.97386C13.3423 3.47703 12.5818 4.27608 12.1339 5.24749C11.6859 6.21885 11.5754 7.3085 11.8195 8.34792C9.86247 8.25122 7.94793 7.75064 6.19996 6.87869C4.452 6.00674 2.90967 4.78285 1.67296 3.28639C1.04438 4.3534 0.852055 5.61602 1.13504 6.81768C1.41802 8.01928 2.15504 9.06973 3.19642 9.75554C2.41462 9.73112 1.65 9.52386 0.965618 9.15096V9.21096C0.964909 10.3307 1.35807 11.4161 2.07829 12.2827C2.79851 13.1494 3.80133 13.7437 4.91624 13.9646C4.19204 14.1597 3.432 14.1881 2.69482 14.0477C3.00944 15.0107 3.6216 15.8529 4.44578 16.4569C5.26996 17.0609 6.26515 17.3965 7.29235 17.4168C5.54842 18.7655 3.3942 19.4971 1.17655 19.4936C0.783273 19.493 0.390382 19.4693 0 19.4226C2.25284 20.8456 4.87353 21.6014 7.55018 21.6Z",fill:"white"})})})})},on=function(){return(0,a.tZ)(a.HY,{children:(0,a.tZ)("span",{className:"vw-cmp__player--button-icon",children:(0,a.tZ)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.tZ)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M6.40749 4.40783C6.40749 5.73764 5.33132 6.81567 4.00379 6.81567C2.67627 6.81567 1.6001 5.73764 1.6001 4.40783C1.6001 3.07802 2.67627 2 4.00379 2C5.33132 2 6.40749 3.07802 6.40749 4.40783ZM9.07779 21.9989V8.64029H13.0525V10.4671H13.1085C13.6611 9.41832 15.0123 8.31015 17.0282 8.31015C21.227 8.31015 22.0004 11.0756 22.0004 14.6742V22H17.8577V15.5028C17.8577 13.9545 17.8313 11.9615 15.7033 11.9615C13.5457 11.9615 13.2183 13.6496 13.2183 15.3928V21.9989H9.07779ZM6.00011 8.64029H2.00011V21.9989H6.00011V8.64029Z",fill:"white"})})})})},an=function(){return(0,a.tZ)(a.HY,{children:(0,a.tZ)("span",{className:"vw-cmp__player--button-icon",children:(0,a.BX)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.tZ)("path",{d:"M24 12C24 5.37258 18.6274 0 12 0C5.37258 0 0 5.37258 0 12C0 17.9895 4.3882 22.954 10.125 23.8542V15.4688H7.07812V12H10.125V9.35625C10.125 6.34875 11.9166 4.6875 14.6576 4.6875C15.9705 4.6875 17.3438 4.92188 17.3438 4.92188V7.875H15.8306C14.34 7.875 13.875 8.80008 13.875 9.74906V12H17.2031L16.6711 15.4688H13.875V23.8542C19.6118 22.954 24 17.9895 24 12Z",fill:"white"}),(0,a.tZ)("path",{d:"M16.6711 15.4688L17.2031 12H13.875V9.74906C13.875 8.80008 14.34 7.875 15.8306 7.875H17.3438V4.92188C17.3438 4.92188 15.9705 4.6875 14.6576 4.6875C11.9166 4.6875 10.125 6.34875 10.125 9.35625V12H7.07812V15.4688H10.125V23.8542C10.736 23.9501 11.362 24 12 24C12.638 24 13.264 23.9501 13.875 23.8542V15.4688H16.6711Z",fill:"#121212"})]})})})},cn=function(){return(0,a.tZ)(a.HY,{children:(0,a.tZ)("span",{className:"vw-cmp__player--button-icon",children:(0,a.BX)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.tZ)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M11.772 0C5.14049 0 0 4.85761 0 11.4189C0 14.8508 1.40652 17.8164 3.69707 19.8648C3.88936 20.0369 4.00543 20.278 4.01332 20.5361L4.07743 22.6301C4.09791 23.298 4.78785 23.7326 5.39905 23.4628L7.73563 22.4314C7.93371 22.344 8.15566 22.3278 8.36438 22.3852C9.4381 22.6804 10.5809 22.8377 11.772 22.8377C18.4036 22.8377 23.544 17.9801 23.544 11.4189C23.544 4.85761 18.4036 0 11.772 0Z",fill:"white"}),(0,a.tZ)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M4.70294 14.7582L8.16097 9.27198C8.71103 8.3992 9.88894 8.18189 10.7143 8.80086L13.4646 10.8636C13.717 11.0529 14.0642 11.0519 14.3155 10.8612L18.0299 8.04216C18.5257 7.66592 19.1729 8.25923 18.8411 8.78575L15.3831 14.272C14.833 15.1448 13.655 15.3621 12.8298 14.7431L10.0793 12.6803C9.82702 12.491 9.47979 12.492 9.22853 12.6828L5.51403 15.5018C5.01827 15.878 4.37109 15.2847 4.70294 14.7582Z",fill:"#121212"})]})})})},ln=function(){return(0,a.tZ)(a.HY,{children:(0,a.tZ)("span",{className:"vw-cmp__player--button-icon",children:(0,a.tZ)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.tZ)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M0.0925293 23.9687L1.7757 17.8228C0.735778 16.0198 0.189566 13.9746 0.19213 11.8932C0.194755 5.35366 5.5168 0.0332642 12.0566 0.0332642C13.6151 0.0332933 15.1583 0.340365 16.598 0.936936C18.0378 1.53351 19.3459 2.40789 20.4477 3.51014C21.5494 4.61238 22.4233 5.9209 23.0192 7.36093C23.6152 8.80096 23.9216 10.3443 23.9209 11.9028C23.9181 18.442 18.5953 23.7633 12.0566 23.7633H12.0515C10.0707 23.7632 8.12157 23.2668 6.38202 22.3195L0.0925293 23.9687ZM8.42435 6.42284C8.6356 6.43148 8.86939 6.44137 9.09144 6.93505C9.24317 7.27247 9.49846 7.90143 9.70195 8.40278C9.85197 8.77239 9.97384 9.07263 10.0053 9.13554C10.0794 9.28378 10.1288 9.45689 10.03 9.65485C10.0152 9.68449 10.0015 9.71246 9.98837 9.73918C9.91413 9.89067 9.85958 10.002 9.73382 10.1492C9.68453 10.2067 9.63357 10.2687 9.5826 10.3307C9.48028 10.4552 9.37794 10.5797 9.2891 10.6683C9.14039 10.8161 8.98597 10.9767 9.15892 11.2732C9.33187 11.57 9.92685 12.5403 10.8081 13.326C11.7548 14.1701 12.5772 14.5272 12.9949 14.7085C13.0769 14.7441 13.1434 14.7729 13.192 14.7974C13.4885 14.9456 13.6615 14.9209 13.8344 14.7228C14.0074 14.5251 14.5752 13.8576 14.7728 13.5611C14.9705 13.2643 15.1681 13.3137 15.4399 13.4125C15.7117 13.5113 17.1691 14.2286 17.4656 14.3769C17.5234 14.4058 17.5775 14.4319 17.6276 14.4561C17.8345 14.5559 17.9742 14.6233 18.0338 14.7228C18.108 14.8468 18.108 15.4401 17.8609 16.1322C17.6138 16.8244 16.4035 17.492 15.8599 17.5414C15.8076 17.5462 15.7557 17.5523 15.7022 17.5586C15.1999 17.6177 14.5659 17.6922 12.3026 16.7997C9.51785 15.7015 7.68168 12.9801 7.30225 12.4178C7.27113 12.3717 7.24981 12.3401 7.23857 12.3251L7.23531 12.3207C7.0756 12.1073 6.02808 10.7075 6.02808 9.25907C6.02808 7.89386 6.69915 7.17822 7.00788 6.84897C7.02898 6.82647 7.04839 6.80578 7.06577 6.78681C7.16482 6.67379 7.28618 6.5825 7.42221 6.51867C7.55825 6.45483 7.70603 6.41984 7.85625 6.41589C7.86722 6.41589 7.87819 6.41589 7.88915 6.41588C8.07564 6.41586 8.26116 6.41584 8.42435 6.42284Z",fill:"white"})})})})},un=function(){return(0,a.tZ)(a.HY,{children:(0,a.tZ)("span",{className:"vw-cmp__player--button-icon",children:(0,a.tZ)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.tZ)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M14 8C14 11.3137 11.3137 14 8 14C4.68629 14 2 11.3137 2 8C2 4.68629 4.68629 2 8 2C11.3137 2 14 4.68629 14 8ZM16 8C16 12.4183 12.4183 16 8 16C3.58172 16 0 12.4183 0 8C0 3.58172 3.58172 0 8 0C12.4183 0 16 3.58172 16 8ZM6.99966 11.4142L12.4139 6L10.9997 4.58578L6.99966 8.58577L4.99965 6.58578L3.58545 8.00001L6.99966 11.4142Z",fill:"white"})})})})},sn=function(t){var e=t.widgetId,r=t.videoId,n=t.closeModal,o=tn((0,i.useState)(!1),2),c=o[0],l=o[1],u=(0,i.useRef)(null),s=d(),p=K().player||{},f=p.buttonStyle,h=(p.buyButton,function(t){var e=v(window.location.href),r=encodeURIComponent(e);y(t,r)}),v=function(t){var n=new URL(t);return n.searchParams.set("widgetId",e),n.searchParams.set("videoId",r),n},y=function(t,e){switch(t){case"twitter":return window.open("https://twitter.com/intent/tweet?source=tweetbutton&url=".concat(e),"_blank");case"linkedin":return window.open("https://www.linkedin.com/sharing/share-offsite/?url=".concat(e),"_blank");case"facebook":return window.open("https://www.facebook.com/sharer/sharer.php?u="+e,"_blank");case"messenger":return window.open("fb-messenger://share/?link="+e,"_blank");case"whatsapp":return window.open("https://api.whatsapp.com/send/?phone&text=".concat(e),"_blank");case"copyLink":return navigator.clipboard.writeText("".concat(v(window.location.href)));default:console.error("Something went wrong")}};return(0,i.useEffect)((function(){var t=function(t){t.preventDefault(),e.scrollLeft+=t.deltaY},e=u.current;return e.addEventListener("wheel",t),function(){e.removeEventListener("wheel",t)}}),[]),(0,i.useEffect)((function(){s({type:_.a.SHOW_MORE_SHARE})}),[]),(0,a.tZ)("div",{className:"vw-cmp__player-modal-share-background",children:(0,a.BX)("div",{className:"vw-cmp__player-modal-share-container",children:[(0,a.tZ)("div",{className:"vw-cmp__player-modal-share-close",children:(0,a.tZ)("button",{className:"vw-cmp__player-modal-share-close-btn",onClick:function(){s({type:_.a.HIDE_MORE_SHARE}),n(!1)},children:(0,a.tZ)(rn,{})})}),(0,a.tZ)("div",{className:"vw-cmp__player-modal-share-title",children:"Share video"}),(0,a.tZ)("div",{className:"vw-cmp__player-modal-share-container-relative-scroll",children:(0,a.BX)("div",{ref:u,className:"vw-cmp__player-modal-share-container-scroll",children:[(0,a.BX)("a",{className:"vw-cmp__player-modal-share-container-scroll-card",onClick:function(){return h("twitter")},children:[(0,a.tZ)("div",{className:"vw-cmp__player-modal-share-container-scroll-card-bullet",children:(0,a.tZ)(nn,{})}),(0,a.tZ)("div",{className:"vw-cmp__player-modal-share-container-scroll-card-text",children:"Twitter"})]}),(0,a.BX)("a",{className:"vw-cmp__player-modal-share-container-scroll-card",onClick:function(){return h("linkedin")},children:[(0,a.tZ)("div",{className:"vw-cmp__player-modal-share-container-scroll-card-bullet",children:(0,a.tZ)(on,{})}),(0,a.tZ)("div",{className:"vw-cmp__player-modal-share-container-scroll-card-text",children:"LinkedIn"})]}),(0,a.BX)("a",{className:"vw-cmp__player-modal-share-container-scroll-card",onClick:function(){return h("facebook")},children:[(0,a.tZ)("div",{className:"vw-cmp__player-modal-share-container-scroll-card-bullet",children:(0,a.tZ)(an,{})}),(0,a.tZ)("div",{className:"vw-cmp__player-modal-share-container-scroll-card-text",children:"Facebook"})]}),(0,a.BX)("a",{className:"vw-cmp__player-modal-share-container-scroll-card",onClick:function(){return h("messenger")},children:[(0,a.tZ)("div",{className:"vw-cmp__player-modal-share-container-scroll-card-bullet",children:(0,a.tZ)(cn,{})}),(0,a.tZ)("div",{className:"vw-cmp__player-modal-share-container-scroll-card-text",children:"Messenger"})]}),(0,a.BX)("a",{className:"vw-cmp__player-modal-share-container-scroll-card",onClick:function(){return h("whatsapp")},children:[(0,a.tZ)("div",{className:"vw-cmp__player-modal-share-container-scroll-card-bullet",children:(0,a.tZ)(ln,{})}),(0,a.tZ)("div",{className:"vw-cmp__player-modal-share-container-scroll-card-text",children:"WhatsApp"})]})]})}),(0,a.tZ)("div",{className:"vw-cmp__player-modal-share-divider"}),(0,a.tZ)("div",{className:"vw-cmp__player-modal-share-link-label",children:"Video URL"}),(0,a.tZ)("div",{className:"vw-cmp__player-modal-share-link-container",children:"".concat(v(window.location.href))}),(0,a.BX)("button",{className:"vw-cmp__player-modal-share-copy-btn",style:{background:f.backgroundColor,color:f.textColor,borderRadius:f.radius,border:f.showBorder?"".concat(f.borderColor," solid"):0,borderWidth:f.showBorder?"".concat(f.borderWidth):0},onClick:function(){return h("copyLink"),void l(!0)},children:[!c&&"Copy link",c&&(0,a.BX)(a.HY,{children:[(0,a.tZ)(un,{}),"Link copied"]})]})]})})};const dn=(0,i.memo)(sn);function pn(t){return pn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},pn(t)}function fn(t){return function(t){if(Array.isArray(t))return Cn(t)}(t)||function(t){if("undefined"!==typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||bn(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function hn(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function vn(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?hn(Object(r),!0).forEach((function(e){yn(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):hn(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function yn(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function mn(){mn=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",i=n.asyncIterator||"@@asyncIterator",a=n.toStringTag||"@@toStringTag";function c(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(E){c=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var o=e&&e.prototype instanceof d?e:d,i=Object.create(o.prototype),a=new x(n||[]);return i._invoke=function(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return L()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=_(a,r);if(c){if(c===s)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var l=u(t,e,r);if("normal"===l.type){if(n=r.done?"completed":"suspendedYield",l.arg===s)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(n="completed",r.method="throw",r.arg=l.arg)}}}(t,r,a),i}function u(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(E){return{type:"throw",arg:E}}}t.wrap=l;var s={};function d(){}function p(){}function f(){}var h={};c(h,o,(function(){return this}));var v=Object.getPrototypeOf,y=v&&v(v(O([])));y&&y!==e&&r.call(y,o)&&(h=y);var m=f.prototype=d.prototype=Object.create(h);function w(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function g(t,e){function n(o,i,a,c){var l=u(t[o],t,i);if("throw"!==l.type){var s=l.arg,d=s.value;return d&&"object"==pn(d)&&r.call(d,"__await")?e.resolve(d.__await).then((function(t){n("next",t,a,c)}),(function(t){n("throw",t,a,c)})):e.resolve(d).then((function(t){s.value=t,a(s)}),(function(t){return n("throw",t,a,c)}))}c(l.arg)}var o;this._invoke=function(t,r){function i(){return new e((function(e,o){n(t,r,e,o)}))}return o=o?o.then(i,i):i()}}function _(t,e){var r=t.iterator[e.method];if(void 0===r){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,_(t,e),"throw"===e.method))return s;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return s}var n=u(r,t.iterator,e.arg);if("throw"===n.type)return e.method="throw",e.arg=n.arg,e.delegate=null,s;var o=n.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,s):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,s)}function b(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function C(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function x(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(b,this),this.reset(!0)}function O(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:L}}function L(){return{value:void 0,done:!0}}return p.prototype=f,c(m,"constructor",f),c(f,"constructor",p),p.displayName=c(f,a,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===p||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,f):(t.__proto__=f,c(t,a,"GeneratorFunction")),t.prototype=Object.create(m),t},t.awrap=function(t){return{__await:t}},w(g.prototype),c(g.prototype,i,(function(){return this})),t.AsyncIterator=g,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new g(l(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},w(m),c(m,a,"Generator"),c(m,o,(function(){return this})),c(m,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},t.values=O,x.prototype={constructor:x,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(C),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),l=r.call(i,"finallyLoc");if(c&&l){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,s):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),s},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),C(r),s}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;C(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:O(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),s}},t}function wn(t,e,r,n,o,i,a){try{var c=t[i](a),l=c.value}catch(u){return void r(u)}c.done?e(l):Promise.resolve(l).then(n,o)}function gn(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){wn(i,n,o,a,c,"next",t)}function c(t){wn(i,n,o,a,c,"throw",t)}a(void 0)}))}}function _n(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==r)return;var n,o,i=[],a=!0,c=!1;try{for(r=r.call(t);!(a=(n=r.next()).done)&&(i.push(n.value),!e||i.length!==e);a=!0);}catch(l){c=!0,o=l}finally{try{a||null==r.return||r.return()}finally{if(c)throw o}}return i}(t,e)||bn(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function bn(t,e){if(t){if("string"===typeof t)return Cn(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Cn(t,e):void 0}}function Cn(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var xn=function(){return(0,a.tZ)(a.HY,{children:(0,a.tZ)("span",{className:"vw-cmp__player--button-icon",children:(0,a.tZ)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.tZ)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M12.0001 10.586L4.707 3.2929L3.29279 4.70711L10.5859 12.0002L3.29279 19.2932L4.707 20.7075L12.0001 13.4144L19.2931 20.7074L20.7073 19.2932L13.4143 12.0002L20.7073 4.70717L19.2931 3.29295L12.0001 10.586Z",fill:"#121212"})})})})},On=function(t){var e=t.closeModal,r=d(),n=K().player,o=w().widget,c=(o||{}).formData,l=_n((0,i.useState)(!1),2),u=l[0],s=l[1],p=_n((0,i.useState)(),2),f=p[0],h=p[1],v=function(){var t=gn(mn().mark((function t(e){var r,o;return mn().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r={"Content-type":"application/json"},t.prev=1,t.next=4,j().post("".concat("https://api.videowise.com","/formData/").concat(null===n||void 0===n||null===(o=n.dataCollection)||void 0===o?void 0:o.formId),e,{headers:r});case 4:E(),s(!0),h(""),t.next=13;break;case 9:t.prev=9,t.t0=t.catch(1),console.log("Collect data error: ",t.t0),h("Data already exists");case 13:case"end":return t.stop()}}),t,null,[[1,9]])})));return function(e){return t.apply(this,arguments)}}();(0,i.useEffect)((function(){r({type:_.a.SHOW_MORE_SHARE})}),[]);var y=_n((0,i.useState)(c.form.inputs),2),m=y[0],g=y[1],b=_n((0,i.useState)(!1),2),C=b[0],x=b[1],O=function(){var t=gn(mn().mark((function t(e){var r,n;return mn().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.preventDefault(),r=m.reduce((function(t,e){return vn(vn({},t),{},yn({},e.label.replace(/\s+/g,""),e.value))}),{}),n=JSON.stringify(r)+"".concat("0.Ze75MOuVcdt7mE"),t.next=5,v({hash:(0,kt.FB)(n),data:r});case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),L=function(t,e){var r=fn(m);r[t].value=e.target.value,g(r)},E=function(){var t=JSON.parse(localStorage.getItem("reeview_completedForms"))||[];S(o)||t.push(o.id),localStorage.setItem("reeview_completedForms",JSON.stringify(t))},S=function(t){return(JSON.parse(localStorage.getItem("reeview_completedForms"))||[]).includes(t.id)},k={backgroundColor:c.style.buttonDetails.backgroundColor,borderRadius:c.style.buttonDetails.radius,color:c.style.buttonDetails.textColor,border:c.style.buttonDetails.showBorder?"".concat(c.style.buttonDetails.borderWidth,"px solid ").concat(c.style.buttonDetails.borderColor):null,height:c.style.buttonDetails.showBorder?"auto":"40px"};return(0,a.tZ)("div",{className:"vw-cmp__player-modal-share-background",children:(0,a.BX)("div",{className:"vw-cmp__player-modal-share-container vw-cmp__player-modal-data-collect-container",children:[(0,a.tZ)("div",{className:"vw-cmp__player-modal-share-close vw-cmp__player-modal-data-collect-close",children:(0,a.tZ)("button",{className:"vw-cmp__player-modal-share-close-btn",onClick:function(){r({type:_.a.HIDE_MORE_SHARE}),e(!1)},children:(0,a.tZ)(xn,{})})}),!u&&(0,a.BX)(a.HY,{children:[(0,a.tZ)("div",{className:"vw-cmp__player-modal-data-collect-title",style:{color:c.style.formDetails.titleColor},children:c.style.formDetails.title}),(0,a.BX)("form",{className:"vw-cmp__player-modal-data-collect-body",onSubmit:O,children:[m.map((function(t,e){return(0,a.BX)("div",{className:"vw-cmp__player-modal-data-collect-form-control",children:[(0,a.tZ)("label",{htmlFor:e,children:t.label}),"select"!==t.type&&(0,a.tZ)("input",{type:t.type,id:e,required:t.mandatory,onChange:function(t){return L(e,t)},placeholder:t.placeholder,autoComplete:"off"}),"select"===t.type&&(0,a.BX)("select",{id:e,onChange:function(t){return L(e,t)},required:t.mandatory,children:[(0,a.tZ)("option",{value:"",children:t.placeholder}),t.options&&t.options.map((function(t,e){return(0,a.tZ)("option",{value:t,children:t},e)}))]})]},e)})),("CHECKBOX"===c.style.privacyDisclaimer.type||"ABOVE"===c.style.privacyDisclaimer.position)&&(0,a.BX)("div",{className:"vw-cmp__player-modal-data-collect-form-control vw-cmp__player-modal-data-collect-form-control-privacy",children:["CHECKBOX"===c.style.privacyDisclaimer.type&&(0,a.tZ)("input",{type:"checkbox",name:"check-privacy",onChange:function(t){var e=t.target.checked;x(e)}}),(0,a.BX)("label",{children:[c.style.privacyDisclaimer.textDisclaimer,"\xa0",(0,a.tZ)("a",{href:c.style.privacyDisclaimer.linkPrivacy,target:"_blank",children:c.style.privacyDisclaimer.textPrivacy})]})]}),(0,a.tZ)("button",{className:"vw-cmp__player-modal-data-collect-button",style:k,disabled:"CHECKBOX"===c.style.privacyDisclaimer.type&&!C,children:c.style.buttonDetails.name}),"TEXT_ONLY"===c.style.privacyDisclaimer.type&&"BELOW"===c.style.privacyDisclaimer.position&&(0,a.tZ)("div",{className:"vw-cmp__player-modal-data-collect-form-control vw-cmp__player-modal-data-collect-form-control-privacy",children:(0,a.BX)("label",{children:[c.style.privacyDisclaimer.textDisclaimer,"\xa0",(0,a.tZ)("a",{href:c.style.privacyDisclaimer.linkPrivacy,target:"_blank",children:c.style.privacyDisclaimer.textPrivacy})]})}),(0,a.tZ)("div",{className:"vw-cmp__player-modal-data-collect-error",children:f})]})]}),u&&(0,a.BX)(a.HY,{children:[(0,a.tZ)("div",{className:"vw-cmp__player-modal-data-collect-title",children:"Congratulation"}),(0,a.tZ)("div",{className:"vw-cmp__player-modal-data-collect-text",children:"Check your email and get the discount!"})]})]})})};const Ln=(0,i.memo)(On);function En(t){return En="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},En(t)}function Sn(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function kn(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Sn(Object(r),!0).forEach((function(e){Zn(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Sn(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Zn(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Nn(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==r)return;var n,o,i=[],a=!0,c=!1;try{for(r=r.call(t);!(a=(n=r.next()).done)&&(i.push(n.value),!e||i.length!==e);a=!0);}catch(l){c=!0,o=l}finally{try{a||null==r.return||r.return()}finally{if(c)throw o}}return i}(t,e)||In(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function jn(){jn=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",i=n.asyncIterator||"@@asyncIterator",a=n.toStringTag||"@@toStringTag";function c(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(E){c=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var o=e&&e.prototype instanceof d?e:d,i=Object.create(o.prototype),a=new x(n||[]);return i._invoke=function(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return L()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=_(a,r);if(c){if(c===s)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var l=u(t,e,r);if("normal"===l.type){if(n=r.done?"completed":"suspendedYield",l.arg===s)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(n="completed",r.method="throw",r.arg=l.arg)}}}(t,r,a),i}function u(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(E){return{type:"throw",arg:E}}}t.wrap=l;var s={};function d(){}function p(){}function f(){}var h={};c(h,o,(function(){return this}));var v=Object.getPrototypeOf,y=v&&v(v(O([])));y&&y!==e&&r.call(y,o)&&(h=y);var m=f.prototype=d.prototype=Object.create(h);function w(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function g(t,e){function n(o,i,a,c){var l=u(t[o],t,i);if("throw"!==l.type){var s=l.arg,d=s.value;return d&&"object"==En(d)&&r.call(d,"__await")?e.resolve(d.__await).then((function(t){n("next",t,a,c)}),(function(t){n("throw",t,a,c)})):e.resolve(d).then((function(t){s.value=t,a(s)}),(function(t){return n("throw",t,a,c)}))}c(l.arg)}var o;this._invoke=function(t,r){function i(){return new e((function(e,o){n(t,r,e,o)}))}return o=o?o.then(i,i):i()}}function _(t,e){var r=t.iterator[e.method];if(void 0===r){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,_(t,e),"throw"===e.method))return s;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return s}var n=u(r,t.iterator,e.arg);if("throw"===n.type)return e.method="throw",e.arg=n.arg,e.delegate=null,s;var o=n.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,s):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,s)}function b(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function C(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function x(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(b,this),this.reset(!0)}function O(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:L}}function L(){return{value:void 0,done:!0}}return p.prototype=f,c(m,"constructor",f),c(f,"constructor",p),p.displayName=c(f,a,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===p||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,f):(t.__proto__=f,c(t,a,"GeneratorFunction")),t.prototype=Object.create(m),t},t.awrap=function(t){return{__await:t}},w(g.prototype),c(g.prototype,i,(function(){return this})),t.AsyncIterator=g,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new g(l(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},w(m),c(m,a,"Generator"),c(m,o,(function(){return this})),c(m,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},t.values=O,x.prototype={constructor:x,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(C),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),l=r.call(i,"finallyLoc");if(c&&l){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,s):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),s},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),C(r),s}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;C(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:O(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),s}},t}function Pn(t,e){var r="undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=In(t))||e&&t&&"number"===typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){c=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(c)throw i}}}}function In(t,e){if(t){if("string"===typeof t)return Tn(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Tn(t,e):void 0}}function Tn(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function Bn(t,e,r,n,o,i,a){try{var c=t[i](a),l=c.value}catch(u){return void r(u)}c.done?e(l):Promise.resolve(l).then(n,o)}var An=function(){var t,e=(t=jn().mark((function t(e,r,n,o){var i,a,c,l,u,s,d;return jn().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(a=null===(i=e[r])||void 0===i?void 0:i.commercials)||!a.length){t.next=35;break}c=Pn(a),t.prev=3,c.s();case 5:if((l=c.n()).done){t.next=27;break}if("PRODUCT"!==(u=l.value).type||u.hasOwnProperty("compare_at_price")){t.next=25;break}return t.prev=8,t.next=11,(0,Q.$h)(null===u||void 0===u?void 0:u.handle,null===u||void 0===u?void 0:u.excludedVariants);case 11:s=t.sent,u.compare_at_price=isNaN(parseInt(s.compare_at_price))?void 0:s.compare_at_price,u.compare_at_price_max=isNaN(parseInt(s.compare_at_price_max))?void 0:s.compare_at_price_max,u.compare_at_price_min=isNaN(parseInt(s.compare_at_price_min))?void 0:s.compare_at_price_min,u.price=isNaN(parseInt(s.price))?void 0:s.price,u.price_max=isNaN(parseInt(s.price_max))?void 0:s.price_max,u.price_min=isNaN(parseInt(s.price_min))?void 0:s.price_min,u.compareAtPrice=u.compare_at_price_max,u.previewImageSrc=s.featured_image,t.next=25;break;case 22:t.prev=22,t.t0=t.catch(8),console.log(t.t0);case 25:t.next=5;break;case 27:t.next=32;break;case 29:t.prev=29,t.t1=t.catch(3),c.e(t.t1);case 32:return t.prev=32,c.f(),t.finish(32);case 35:d=(0,kt.c$)(a),n({type:_.a.SET_SHOPPABLE_LIST,payload:{shoppableList:a}}),a.length>1&&d?o||n({type:_.a.SHOW_SHOPPABLE_LIST}):1===a.length&&d?o||(n({type:_.a.HIDE_SHOPPABLE_LIST}),n({type:_.a.TOGGLE_PANEL_HEADER,payload:{showHeader:!1}}),n({type:_.a.TOGGLE_PANEL,payload:{visible:!0}})):(n({type:_.a.HIDE_SHOPPABLE_LIST}),n({type:_.a.TOGGLE_PANEL_HEADER,payload:{showHeader:!1}}));case 38:case"end":return t.stop()}}),t,null,[[3,29,32,35],[8,22]])})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){Bn(i,n,o,a,c,"next",t)}function c(t){Bn(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t,r,n,o){return e.apply(this,arguments)}}();const Hn=function(t){var e,r=t.selectedVideoId,n=(t.onSelectVideo,t.handleEngagementTime),o=w(),c=o.widget,l=o.videos,u=o.trackingContext,p=o.widgetID,f=s().cart,h=(K()||{}).player||{},v=(h.shippingInfo,h.productStock,h.buyButton),y=(h.showLogo,h.productDetails,h.recommendedProducts,(v||{}).type),m=(0,q.ac)("(max-width: 1023px)"),g=d(),_=null===l||void 0===l?void 0:l.find((function(t){return t.id===r})),b=l.indexOf(_),C=Nn((0,i.useState)(0),2),x=C[0],O=C[1],L=c.videoType===T.cl.YOUTUBE,E=c.type===T.l9.Independent,S=f&&(null===f||void 0===f?void 0:f.item_count)>0,k=(0,Z.Z)((Zn(e={},"vw-player--independent",E),Zn(e,"vw-player--cart-has-item",S),e)),N=Nn((0,i.useState)(b),2),j=N[0],P=N[1],I=Nn((0,i.useState)(b),2),B=I[0],A=I[1],H=Nn((0,i.useState)(!1),2),D=H[0],R=H[1],M=(0,St.E)({initial:b,loop:!0,vertical:!0,selector:".vw-cmp__keen-player-slide",renderMode:"performance",animationEnded:function(t){P(t.track.details.rel)},created:function(t){R(!0)}}),G=Nn(M,3),X=G[0],U=G[1];G[2];(0,i.useEffect)((function(){var t;U.current&&(null===(t=U.current)||void 0===t||t.update())}),[U.current]),(0,i.useEffect)((function(){j!==B&&(F(T.X8.Swipe,kn({videoId:l[B].id},u)),console.log("timeee",x),x&&(F(T.X8.EngagementTime,kn({videoId:l[B].id,time:V(x)},u)),O(0)),A(j)),O((new Date).getTime()),n(l[j].id,(new Date).getTime()),An(l,j,g,m)}),[j]);var W=function(t){var e;l.length>1&&(null===(e=U.current)||void 0===e||e.next())},Y=Nn((0,i.useState)(!1),2),z=Y[0],$=Y[1],J=function(){$(!0)},Q=Nn((0,i.useState)(!1),2),tt=Q[0],et=Q[1];return(0,a.BX)("div",{className:"vw-cmp__keen-root ".concat(k),children:[tt&&(0,a.tZ)(dn,{widgetId:p,videoId:l[j].id,closeModal:et}),z&&(0,a.tZ)(Ln,{closeModal:$}),(0,a.tZ)("div",{ref:X,className:"vw-cmp__keen-player-slider",children:l.map((function(t,e){return(0,a.tZ)("div",{className:"vw-cmp__keen-player-slide",children:(0,a.tZ)(Xr,{video:t,isCurrentPlaying:e===j,currentSlide:e,onEndedCallback:W,onDataCollectCallback:J,currentVideoIndex:j})},t.id)}))}),y===T.Nk.ADD_TO_CART&&f&&(null===f||void 0===f?void 0:f.item_count)>0&&m&&(0,a.tZ)(bt,{}),D&&U.current&&l&&l.length>1&&(0,a.tZ)(Ur,{onNext:W,onPrev:function(t){var e;return null===(e=U.current)||void 0===e?void 0:e.prev()}}),D&&U.current&&l&&l.length>1&&(0,a.tZ)(Qr,{onShare:function(){et(!0)}}),!L&&(0,a.BX)(a.HY,{children:[(0,a.tZ)(Kr,{index:j,videos:l}),(0,a.tZ)(Jr,{})]})]})};function Dn(t){return Dn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Dn(t)}function Rn(){Rn=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",i=n.asyncIterator||"@@asyncIterator",a=n.toStringTag||"@@toStringTag";function c(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(E){c=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var o=e&&e.prototype instanceof d?e:d,i=Object.create(o.prototype),a=new x(n||[]);return i._invoke=function(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return L()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=_(a,r);if(c){if(c===s)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var l=u(t,e,r);if("normal"===l.type){if(n=r.done?"completed":"suspendedYield",l.arg===s)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(n="completed",r.method="throw",r.arg=l.arg)}}}(t,r,a),i}function u(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(E){return{type:"throw",arg:E}}}t.wrap=l;var s={};function d(){}function p(){}function f(){}var h={};c(h,o,(function(){return this}));var v=Object.getPrototypeOf,y=v&&v(v(O([])));y&&y!==e&&r.call(y,o)&&(h=y);var m=f.prototype=d.prototype=Object.create(h);function w(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function g(t,e){function n(o,i,a,c){var l=u(t[o],t,i);if("throw"!==l.type){var s=l.arg,d=s.value;return d&&"object"==Dn(d)&&r.call(d,"__await")?e.resolve(d.__await).then((function(t){n("next",t,a,c)}),(function(t){n("throw",t,a,c)})):e.resolve(d).then((function(t){s.value=t,a(s)}),(function(t){return n("throw",t,a,c)}))}c(l.arg)}var o;this._invoke=function(t,r){function i(){return new e((function(e,o){n(t,r,e,o)}))}return o=o?o.then(i,i):i()}}function _(t,e){var r=t.iterator[e.method];if(void 0===r){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,_(t,e),"throw"===e.method))return s;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return s}var n=u(r,t.iterator,e.arg);if("throw"===n.type)return e.method="throw",e.arg=n.arg,e.delegate=null,s;var o=n.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,s):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,s)}function b(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function C(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function x(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(b,this),this.reset(!0)}function O(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:L}}function L(){return{value:void 0,done:!0}}return p.prototype=f,c(m,"constructor",f),c(f,"constructor",p),p.displayName=c(f,a,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===p||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,f):(t.__proto__=f,c(t,a,"GeneratorFunction")),t.prototype=Object.create(m),t},t.awrap=function(t){return{__await:t}},w(g.prototype),c(g.prototype,i,(function(){return this})),t.AsyncIterator=g,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new g(l(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},w(m),c(m,a,"Generator"),c(m,o,(function(){return this})),c(m,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},t.values=O,x.prototype={constructor:x,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(C),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),l=r.call(i,"finallyLoc");if(c&&l){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,s):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),s},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),C(r),s}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;C(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:O(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),s}},t}function Mn(t,e,r,n,o,i,a){try{var c=t[i](a),l=c.value}catch(u){return void r(u)}c.done?e(l):Promise.resolve(l).then(n,o)}function Gn(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Fn(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Gn(Object(r),!0).forEach((function(e){Vn(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Gn(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Vn(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Xn(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==r)return;var n,o,i=[],a=!0,c=!1;try{for(r=r.call(t);!(a=(n=r.next()).done)&&(i.push(n.value),!e||i.length!==e);a=!0);}catch(l){c=!0,o=l}finally{try{a||null==r.return||r.return()}finally{if(c)throw o}}return i}(t,e)||function(t,e){if(!t)return;if("string"===typeof t)return Un(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Un(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Un(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var qn={overlay:{position:"fixed",top:0,left:0,right:0,bottom:0,backgroundColor:"rgba(0, 0, 0, 0.8)",zIndex:10010},content:{position:"absolute",top:"0",left:"0",right:"0",bottom:"0",border:"0",background:"none",overflow:"hidden",borderRadius:"0",WebkitOverflowScrolling:"touch",outline:"none",padding:"0"}};const Wn=function(t){var e,r,n,o=t.selectedVideoId,c=t.onSelectVideo,l=t.onClose,u=t.isOpen,p=w(),f=K().player,h=s(),v=h.showMore,y=h.product,m=h.togglePannel,g=h.isLoadingInProgress,b=d(),C=p.widget,x=p.trackingContext,O=(f||{}).showLogo,L=Xn((0,i.useState)(!1),2),E=L[0],S=L[1],k=Xn((0,i.useState)(y&&y.handle),2),N=k[0],j=k[1],P=Xn((0,i.useState)(!1),2),I=P[0],B=P[1],A=Xn((0,i.useState)(""),2),H=A[0],D=A[1],R=Xn((0,i.useState)(0),2),M=R[0],G=R[1],X=(0,i.useRef)(null),q=(0,i.useRef)(null),W=(0,i.useRef)(null),Y=(null===C||void 0===C?void 0:C.videoType)===T.cl.YOUTUBE,z=f&&f.cropVideo,$=(0,Z.Z)("vw-player__container vw-player__".concat(null===(e=C.videoType)||void 0===e?void 0:e.toLowerCase()," vw-player__portrait vw-type__").concat(null===(r=C.type)||void 0===r?void 0:r.toLowerCase()),(Vn(n={},"vw-show--badge",!1),Vn(n,"vw-player--shoppable",N),Vn(n,"vw-player--fullscreen",z),Vn(n,"vw-shoppable--on",v),Vn(n,"vw-shoppable--is-closing",E),n)),J=function(t){return t.preventDefault(),t.stopImmediatePropagation(),null},tt=function(){document.querySelector("html").classList.remove("vm-modal--open"),l(),rt(),setTimeout((function(){window.scrollTo(0,q.current)}),1)},et=function(){return S(!0)},rt=function(){F(T.X8.EngagementTime,Fn({videoId:H,time:V(M)},x))};(0,i.useEffect)((function(){var t=function(){X.current=window.scrollY};return window.addEventListener("scroll",t),function(){return window.removeEventListener("scroll",t)}}),[]),(0,i.useEffect)((function(){var t=function(){document.documentElement.style.setProperty("--window-inner-height","".concat(window.innerHeight,"px"))};return window.addEventListener("resize",t),t(),function(){return window.removeEventListener("resize",t)}}),[u]),(0,i.useEffect)((function(){u&&F(T.X8.Click,Fn({videoId:o},x))}),[o,u]),(0,i.useEffect)((function(){if(u){var t=y&&y.price;m||(t=!1),j(t)}}),[u,y,m]),(0,i.useEffect)((function(){E&&setTimeout((function(){S(!1)}),500)}),[E]),(0,i.useEffect)((function(){return Ct("vwClosePanel:click",et),function(){xt("vwClosePanel:click",et)}}),[]),(0,i.useEffect)((function(){var t;(t=Rn().mark((function t(){var e,r;return Rn().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,(0,Q.rY)();case 3:e=t.sent,r={cart:e},b({type:_.a.GET_CART,payload:r}),t.next=11;break;case 8:t.prev=8,t.t0=t.catch(0),console.error("Error cart obj: ",t.t0);case 11:case"end":return t.stop()}}),t,null,[[0,8]])})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){Mn(i,n,o,a,c,"next",t)}function c(t){Mn(i,n,o,a,c,"throw",t)}a(void 0)}))})()}),[]);var nt=function(t){27===t.keyCode&&tt()};return(0,i.useEffect)((function(){return u&&window.addEventListener("keydown",nt),function(){window.removeEventListener("keydown",nt)}}),[u]),(0,a.tZ)(a.HY,{children:(0,a.tZ)(U(),{overlayRef:function(t){return W.current=t},isOpen:u,ariaHideApp:!1,onAfterOpen:function(){document.querySelector("html").classList.add("vm-modal--open"),q.current=X.current,B(!0),W.current.addEventListener("pointermove",J)},onAfterClose:function(){B(!1)},onRequestClose:tt,shouldCloseOnEsc:!0,style:qn,children:(0,a.BX)("div",{id:"vw-modal-root",className:"vw-cmp__modal-root vw-cmp__modal-root--portrait notranslate ".concat($),children:[g&&(0,a.tZ)(je,{}),(0,a.BX)("div",{className:"vw-cmp__modal--content",children:[I&&(0,a.tZ)(Hn,{selectedVideoId:o,onSelectVideo:c,handleEngagementTime:function(t,e){D(t),G(e)}}),(0,a.tZ)(Ne,{})]}),!v&&(0,a.BX)(a.HY,{children:[(0,a.tZ)("div",{className:"vw-cmp__player--button-close vw-cmp__player--button vw-cmp__player--button-close",onClick:tt,children:(0,a.tZ)("span",{className:"vw-cmp__player--button-icon",children:(0,a.tZ)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.tZ)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.0002 10.586L4.70718 3.29297L3.29297 4.70718L10.586 12.0002L3.29297 19.2933L4.70718 20.7075L12.0002 13.4145L19.2933 20.7075L20.7075 19.2933L13.4145 12.0002L20.7075 4.70723L19.2933 3.29302L12.0002 10.586Z",fill:"white"})})})}),O&&!Y&&(0,a.tZ)(qt,{})]})]})})})},Yn=function(t){var e=Math.floor(t/3600),r=Math.floor((t-3600*e)/60),n=Math.floor(t-3600*e-60*r),o="";return e&&(o+="".concat(e<10?"0".concat(e):e.toString(),":")),o+="".concat(r<10?"0".concat(r):r.toString(),":"),o+="".concat(n<10?"0".concat(n):n.toString())};var zn=r(8292);const $n=function(t){var e=t.style,r=t.size,n=t.position,o=t.opacity,i=t.borderColor,c=t.borderSize,l=t.background,u=t.animation,s=t.color,d=0===o?0:o/100;if(0!==d){var p={STANDARD:function(){return(0,a.BX)("svg",{className:"needsclick",viewBox:"0 0 200 200",fill:"none",children:[(0,a.tZ)("mask",{id:"qA",maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"200",height:"200",maskType:"alpha",children:(0,a.tZ)("path",{fill:"#fff",fillRule:"evenodd",d:"M200 0H0v200h200V0zM100 150c27.614 0 50-22.386 50-50s-22.386-50-50-50-50 22.386-50 50 22.386 50 50 50z"})}),(0,a.BX)("g",{mask:"url(#qA)",fillOpacity:d,children:[(0,a.tZ)("circle",{className:"pulse",fillOpacity:d<.1?0:d,fill:l,cx:"100",cy:"100",r:"50"}),(0,a.tZ)("circle",{className:"shine",strokeOpacity:d<.1?0:d,stroke:l,strokeWidth:"5",cx:"100",cy:"100",r:"47.5"})]}),(0,a.tZ)("path",{fill:l,fillOpacity:d,fillRule:"evenodd",d:"M100 150c27.614 0 50-22.386 50-50s-22.386-50-50-50-50 22.386-50 50 22.386 50 50 50zm22-50L89 81v38l33-19z"}),(0,a.tZ)("path",{fill:s,d:"M89 119V81l33 19-33 19z"})]})},OUTLINE:function(){return(0,a.BX)("svg",{className:"needsclick",viewBox:"0 0 200 200",fill:"none",children:[(0,a.tZ)("mask",{id:"qB",maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"200",height:"200",maskType:"alpha",children:(0,a.tZ)("path",{fill:"#fff",fillRule:"evenodd",d:"M200 0H0v200h200V0zM100 150c27.614 0 50-22.386 50-50s-22.386-50-50-50-50 22.386-50 50 22.386 50 50 50z"})}),(0,a.BX)("g",{mask:"url(#qB)",fillOpacity:d,children:[(0,a.tZ)("circle",{className:"pulse",fill:l,cx:"100",cy:"100",r:"50"}),(0,a.tZ)("circle",{className:"shine",stroke:l,strokeWidth:"5",cx:"100",cy:"100",r:"47.5"})]}),(0,a.tZ)("path",{fill:l,fillOpacity:d,fillRule:"evenodd",d:"M147 100c0 25.957-21.043 47-47 47s-47-21.043-47-47 21.043-47 47-47 47 21.043 47 47zm3 0c0 27.614-22.386 50-50 50s-50-22.386-50-50 22.386-50 50-50 50 22.386 50 50zm-28 0L89 81v38l33-19z"})]})},MINIMAL:function(){return(0,a.BX)("svg",{className:"needsclick",viewBox:"0 0 150 172",fill:"none",children:[(0,a.tZ)("mask",{id:"qC",maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"150",height:"172",maskType:"alpha",children:(0,a.tZ)("path",{fill:"#fff",fillRule:"evenodd",d:"M150 0H0v172h150V0zm-38 86L37 43v86l75-43z"})}),(0,a.BX)("g",{mask:"url(#qC)",fillOpacity:d,children:[(0,a.tZ)("path",{className:"pulse",fill:l,d:"M37 129V43l75 43-75 43z"}),(0,a.tZ)("path",{className:"shine",stroke:l,strokeWidth:"5",d:"M39.5 124.685v-77.37L106.974 86 39.5 124.685z"})]}),(0,a.tZ)("path",{fill:l,fillOpacity:d,d:"M37 129V43l75 43-75 43z"})]})},RECTANGLE:function(){return(0,a.BX)("svg",{className:"needsclick",viewBox:"0 0 200 148",fill:"none",children:[(0,a.tZ)("mask",{id:"qD",maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"200",height:"148",maskType:"alpha",children:(0,a.tZ)("path",{fill:"#fff",fillRule:"evenodd",d:"M200 0H0v148h200V0zM56 37a6 6 0 0 0-6 6v62a6 6 0 0 0 6 6h88a6 6 0 0 0 6-6V43a6 6 0 0 0-6-6H56z"})}),(0,a.BX)("g",{mask:"url(#qD)",fillOpacity:d,children:[(0,a.tZ)("rect",{className:"pulse",fill:l,x:"50",y:"37",width:"100",height:"74",rx:"6"}),(0,a.tZ)("rect",{className:"shine",stroke:l,strokeWidth:"5",x:"52.5",y:"39.5",width:"95",height:"69",rx:"3.5"})]}),(0,a.tZ)("path",{fill:l,fillOpacity:d,fillRule:"evenodd",d:"M56 37a6 6 0 0 0-6 6v62a6 6 0 0 0 6 6h88a6 6 0 0 0 6-6V43a6 6 0 0 0-6-6H56zm66 37L89 55v38l33-19z"}),(0,a.tZ)("path",{fill:s,d:"M89 93V55l33 19-33 19z"})]})}},f=u?"vw-cmp__animation--".concat(u.toLowerCase()):"",h={};c&&(h.border="".concat(c,"px solid ").concat(i)),l&&(h["--vw-button-background"]=l);var v=p[e];return(0,a.tZ)(a.HY,{children:(0,a.tZ)("div",{className:"vw-cmp__in-video-card-button vw-cmp__video-card--play-icon vw-cmp__icon-size--".concat(r," vw-cmp__icon-position--").concat(n," ").concat(f," ").concat(e," needsclick"),style:h,children:(0,a.tZ)("div",{className:"needsclick",children:(0,a.tZ)(v,{})})})})}};function Kn(t){return Kn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Kn(t)}function Jn(){Jn=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",i=n.asyncIterator||"@@asyncIterator",a=n.toStringTag||"@@toStringTag";function c(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(E){c=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var o=e&&e.prototype instanceof d?e:d,i=Object.create(o.prototype),a=new x(n||[]);return i._invoke=function(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return L()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=_(a,r);if(c){if(c===s)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var l=u(t,e,r);if("normal"===l.type){if(n=r.done?"completed":"suspendedYield",l.arg===s)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(n="completed",r.method="throw",r.arg=l.arg)}}}(t,r,a),i}function u(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(E){return{type:"throw",arg:E}}}t.wrap=l;var s={};function d(){}function p(){}function f(){}var h={};c(h,o,(function(){return this}));var v=Object.getPrototypeOf,y=v&&v(v(O([])));y&&y!==e&&r.call(y,o)&&(h=y);var m=f.prototype=d.prototype=Object.create(h);function w(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function g(t,e){function n(o,i,a,c){var l=u(t[o],t,i);if("throw"!==l.type){var s=l.arg,d=s.value;return d&&"object"==Kn(d)&&r.call(d,"__await")?e.resolve(d.__await).then((function(t){n("next",t,a,c)}),(function(t){n("throw",t,a,c)})):e.resolve(d).then((function(t){s.value=t,a(s)}),(function(t){return n("throw",t,a,c)}))}c(l.arg)}var o;this._invoke=function(t,r){function i(){return new e((function(e,o){n(t,r,e,o)}))}return o=o?o.then(i,i):i()}}function _(t,e){var r=t.iterator[e.method];if(void 0===r){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,_(t,e),"throw"===e.method))return s;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return s}var n=u(r,t.iterator,e.arg);if("throw"===n.type)return e.method="throw",e.arg=n.arg,e.delegate=null,s;var o=n.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,s):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,s)}function b(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function C(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function x(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(b,this),this.reset(!0)}function O(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:L}}function L(){return{value:void 0,done:!0}}return p.prototype=f,c(m,"constructor",f),c(f,"constructor",p),p.displayName=c(f,a,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===p||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,f):(t.__proto__=f,c(t,a,"GeneratorFunction")),t.prototype=Object.create(m),t},t.awrap=function(t){return{__await:t}},w(g.prototype),c(g.prototype,i,(function(){return this})),t.AsyncIterator=g,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new g(l(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},w(m),c(m,a,"Generator"),c(m,o,(function(){return this})),c(m,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},t.values=O,x.prototype={constructor:x,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(C),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),l=r.call(i,"finallyLoc");if(c&&l){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,s):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),s},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),C(r),s}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;C(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:O(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),s}},t}function Qn(t,e,r,n,o,i,a){try{var c=t[i](a),l=c.value}catch(u){return void r(u)}c.done?e(l):Promise.resolve(l).then(n,o)}function to(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==r)return;var n,o,i=[],a=!0,c=!1;try{for(r=r.call(t);!(a=(n=r.next()).done)&&(i.push(n.value),!e||i.length!==e);a=!0);}catch(l){c=!0,o=l}finally{try{a||null==r.return||r.return()}finally{if(c)throw o}}return i}(t,e)||function(t,e){if(!t)return;if("string"===typeof t)return eo(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return eo(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function eo(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var ro={landscape:"56.25%",portrait:"177.77%",square:"100%"};const no=function(t){var e,r,n,o=t.video,c=t.onClick,l=(t.currentSlide,K().skin),u=w().widget,s=l.playButton,d=l.thumbnail,p=l.videoMetaData,f=(0,kt.mj)(o.thumbnail.url),h=o.title,v=o.duration,y=(null===s||void 0===s?void 0:s.type)===T.wy.icon?"iconButton":"textButton",m=s&&s.iconButton&&"NO_ANIMATION"!==s.iconButton.animation,g=s&&l.playButton[y].size?l.playButton[y].size.toLowerCase():"small",_=s&&s[y].position?s[y].position.toLowerCase():"center",b=m?s.iconButton.animation:null,C=d&&d.format?null===(e=d.format)||void 0===e?void 0:e.toLowerCase():"landscape",x=(0,Z.Z)("vw-cmp__in-video-card--preview vw-cmp__in-video-card--position-".concat(_)),O=function(){var t=o.url,e=o.refId,r=o.muxClipPlaybackId;return"youtube_video"===u.videoType?"https://www.youtube.com/watch?v=".concat(e):r?"https://stream.mux.com/".concat(r,".m3u8"):t},L=function(){return!!(o||{}).muxClipPlaybackId},E=(0,i.useRef)(),S=to((0,i.useState)(!1),2),k=S[0],N=S[1],j=to((0,i.useState)(),2),P=j[0],I=j[1],B=to((0,i.useState)(!1),2),A=(B[0],B[1]);window.screen.width;(0,i.useEffect)((function(){new IntersectionObserver((function(t){var e=t[0];e.isIntersecting?(I(e.isIntersecting),N(!0)):N(!1)})).observe(E.current)}),[]);var H="custom"===C?function(){var t=Number.parseFloat(d.width/d.height*100).toFixed(2);return"".concat(t,"%")}():ro[C],D={paddingBottom:"custom"===C?"0":H,width:"custom"===C?d.width:"initial",height:"custom"===C?d.height:"initial"},R={borderRadius:d&&d.radius?d.radius:null},M=p&&"BOLD"===p.titleTextWeight?"700":"400",G={color:p&&p.showTitle?p.titleTextColor:"#000",fontSize:p&&p.showTitle?p.titleTextSize:null,fontWeight:p&&p.showTitle?M:null},F={color:l.playButton[y]&&l.playButton[y].color?l.playButton[y].color:"#fff",background:l.playButton[y]&&l.playButton[y].backgroundColor?l.playButton[y].backgroundColor:"#000",border:l.playButton[y]&&l.playButton[y].showBorder?"".concat(l.playButton[y].borderWidth,"px solid ").concat(l.playButton[y].borderColor):0,fontSize:l.playButton[y]&&l.playButton[y].fontSize?"".concat(l.playButton[y].fontSize,"px"):"14px"};(null===s||void 0===s?void 0:s.type)===T.wy.text&&(F.borderRadius="".concat(l.playButton[y].radius,"px"));var V,X=function(){var t,e=(t=Jn().mark((function t(){return Jn().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:N(!1),A(!1),c();case 3:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){Qn(i,n,o,a,c,"next",t)}function c(t){Qn(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return e.apply(this,arguments)}}();return(0,a.BX)("div",{ref:E,onClick:X,className:"".concat(function(){var t=p&&p.placement.toLowerCase()||"over",e=["over","under","hidden"].find((function(e){return t.includes(e)}))||"over";return"".concat(zn.jW,"-content-").concat(e)}()," vw-cmp__in-video-card--root needsclick"),children:[(0,a.BX)("div",{className:x,style:D,children:[(0,a.tZ)("div",{className:"vw-cmp__in-video-card--thumb",style:R,children:(0,a.tZ)("img",{className:"needsclick",src:f,alt:"thumbnail",loading:"lazy"})}),d&&P&&d.autoplay&&(0,a.BX)("div",{className:"vw-cmp__in-video-card--video",style:R,children:["youtube_video"!==u.videoType&&(0,a.tZ)(Cr,{url:O(),className:"vw__video-player",width:"100%",height:"100%",controls:!1,muted:!0,loop:!0,playing:k,playsinline:!0,config:{file:{hlsOptions:{forceHLS:L(),debug:!1,capLevelToPlayerSize:!0,xhrSetup:function(t,e){if(!t.readyState){var r=e.substring(0,e.indexOf("&vsid")+1);r&&t.open("GET",r,!0)}}}}}}),"youtube_video"===u.videoType&&(0,a.tZ)(Sr,{url:O(),className:"vw__video-player",width:"100%",height:"100%",controls:!1,muted:!0,loop:!0,playing:k,playsinline:!0,forceHLS:L()})]}),d&&d.showBorder&&(0,a.tZ)("span",{className:"vw-cmp__in-video-card--thumb-border",style:{boxShadow:"inset 0 0 0 ".concat(d.borderWidth,"px ").concat(d.borderColor),borderRadius:d&&d.radius?d.radius:null}}),s&&s.type===T.wy.icon&&(0,a.tZ)($n,{color:s[y].color,animation:b,style:s[y].style,size:g,position:_,opacity:s[y].backgroundOpacity,borderColor:s[y].borderColor,background:s[y].backgroundColor,borderSize:s[y]&&s[y].showBorder?s[y].borderWidth:null}),s&&s.type===T.wy.text&&(null===(r=s[y])||void 0===r?void 0:r.text)&&(0,a.tZ)("div",{className:"vw-cmp__popup-card--cta-button vw-cmp__in-video-card-button",style:F,children:(0,a.tZ)("span",{children:null===(n=s[y])||void 0===n?void 0:n.text})}),p&&p.showDuration&&!!v&&(0,a.tZ)("div",{className:"vw-cmp__in-video-card--duration notranslate",children:Yn(v)})]}),p&&p.showTitle&&(0,a.tZ)("div",{className:"vw-cmp__in-video-card--details vw-cmp__in-video-card--details--position-".concat(_),children:(0,a.tZ)("div",{className:"vw-cmp__in-video-card--title",style:G,dangerouslySetInnerHTML:(V=h,{__html:V})})})]})};const oo=function(){var t,e,r=K();if(r.skin.heading){var n=r.skin.heading,o=n.mainHeading,i=n.subHeading,c=n.alignment,l=n.bottomPadding,u=n.paddingBetween,s=("CSS"===o.style&&"vw-cmp__top-heading--title ".concat(i.cssClass),"CSS"===i.style&&"vw-cmp__top-heading--subtitle ".concat(i.cssClass),function(t,e){var r=t.textSize,n=t.textWeight,o=t.textColor,i=t.style,a={fontSize:r,fontWeight:"BOLD"===n?"700":"400",color:o||"#000",marginTop:"subheading"===e?"".concat(u,"px"):"0px"};return"SIMPLE"===i?a:null}),d=function(t,e){var r=t.cssClass,n={title:"vw-cmp__top-heading--title",subtitle:"vw-cmp__top-heading--subtitle"};return"CSS"===t.style?"".concat(n[e]," ").concat(r):n[e]},p=(null===o||void 0===o||null===(t=o.tag)||void 0===t?void 0:t.toLowerCase())||"div",f=(null===i||void 0===i||null===(e=i.tag)||void 0===e?void 0:e.toLowerCase())||"div";return(0,a.tZ)(a.HY,{children:(o&&o.show||i&&i.show)&&(0,a.BX)("div",{className:"vw-cmp__top-heading vw-cmp__align--".concat(c.toLowerCase()),style:{marginBottom:l||null},children:[o&&o.show&&o.text&&(0,a.tZ)(p,{className:d(o,"title"),style:s(o,"heading"),children:o.text}),i&&i.show&&i.text&&(0,a.tZ)(f,{className:d(i,"subtitle"),style:s(i,"subheading"),children:i.text})]})})}};const io=function(t){var e=t.onSelect,r=w(),n=K().skin,o=n.layout,i=n.spacing,c=r.videos[0],l=(0,Z.Z)("vw-cmp__single--root vw-cmp__single--layout- vw-cmp__single--align-".concat("center")),u={background:o.background?o.background:"transparent",padding:"".concat(i.marginTop,"px ").concat(i.marginRight,"px ").concat(i.marginBottom,"px ").concat(i.marginLeft,"px")};return(0,a.BX)("div",{className:l,style:u,children:[(0,a.tZ)(oo,{}),(0,a.tZ)("div",{className:"vw-cmp__single--wrapper",children:(0,a.tZ)(no,{video:c,currentSlide:0,onClick:function(){return e(c)}})})]})};function ao(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==r)return;var n,o,i=[],a=!0,c=!1;try{for(r=r.call(t);!(a=(n=r.next()).done)&&(i.push(n.value),!e||i.length!==e);a=!0);}catch(l){c=!0,o=l}finally{try{a||null==r.return||r.return()}finally{if(c)throw o}}return i}(t,e)||function(t,e){if(!t)return;if("string"===typeof t)return co(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return co(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function co(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}const lo=function(t){var e=t.onSelect,r=w(),n=K(),o=r.containerElement,c=r.videos,l=n.skin,u=l.layout,s=l.spacing,d=function(t){var e=ao((0,i.useState)({width:0,height:0,displayType:T.X_.Medium}),2),r=e[0],n=e[1],o=r.width,a=r.height,c=r.displayType;function l(){if(t){var e=t.getBoundingClientRect(),r=e.height,i=e.width,c=Object.keys(T.X_).find((function(t){return i<=Number(T.X_[t])}));i===o&&r===a||n({width:i,height:r,displayType:T.X_[c]})}}return(0,i.useEffect)((function(){function t(){l()}return window.addEventListener("resize",t),function(){window.removeEventListener("resize",t)}})),l(),{height:a,width:o,displayType:c}}(o),p=d.displayType,f={columnGap:s.paddingBetween,rowGap:s.paddingBetween,gridTemplateColumns:"repeat(".concat(u.columns,", 1fr)")},h={background:u.background?u.background:"transparent",padding:"".concat(s.marginTop,"px ").concat(s.marginRight,"px ").concat(s.marginBottom,"px ").concat(s.marginLeft,"px")};return(0,a.tZ)(a.HY,{children:(0,a.BX)("div",{className:"vw-cmp__inline-grid--root ".concat(function(){var t="".concat(T.jW,"__grid--lg");return T.X_.ExtraSmall===p&&(t="".concat(T.jW,"__grid--sm")),t}()),style:h,children:[(0,a.tZ)(oo,{}),(0,a.tZ)("div",{className:"vw-cmp__inline-grid--wrapper",style:f,children:c.map((function(t,r){return(0,a.tZ)(no,{video:t,currentSlide:r,onClick:function(){return e(t)}},r)}))})]})})};function uo(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==r)return;var n,o,i=[],a=!0,c=!1;try{for(r=r.call(t);!(a=(n=r.next()).done)&&(i.push(n.value),!e||i.length!==e);a=!0);}catch(l){c=!0,o=l}finally{try{a||null==r.return||r.return()}finally{if(c)throw o}}return i}(t,e)||so(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function so(t,e){if(t){if("string"===typeof t)return po(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?po(t,e):void 0}}function po(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}const fo=function(t){var e=t.navKey,r=t.instanceRef,n=K().skin;if(n.navigationArrows){var o=n.navigationArrows,c=o.arrowColor,l=o.backgroundColor,u=o.backgroundOpacity,s=o.iconType,d=o.position,p=o.size,f=c||"#000",h={ARROWS_LEFT:function(){return(0,a.tZ)("svg",{width:"100%",height:"100%",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.tZ)("path",{d:"M9.5 4.5L2 12M2 12L9.5 19.5M2 12H22",stroke:f,strokeWidth:"2",strokeLinecap:"square"})})},ARROWS_RIGHT:function(){return(0,a.tZ)("svg",{width:"100%",height:"100%",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.tZ)("path",{d:"M14.5 4.5L22 12M22 12L14.5 19.5M22 12H2",stroke:f,strokeWidth:"2",strokeLinecap:"square"})})},CIRCLE_ARROW_LEFT:function(){return(0,a.BX)("svg",{width:"100%",height:"100%",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.tZ)("path",{d:"M32 16C32 7.16344 24.8366 0 16 0V0C7.16344 0 0 7.16344 0 16V16C0 24.8366 7.16344 32 16 32V32C24.8366 32 32 24.8366 32 16V16Z",fill:l,fillOpacity:u}),(0,a.tZ)("path",{d:"M13.5 9.5L7 16M7 16L13.5 22.5M7 16H25",stroke:f,strokeWidth:"2",strokeLinecap:"square"})]})},CIRCLE_ARROW_RIGHT:function(){return(0,a.BX)("svg",{width:"100%",height:"100%",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.tZ)("path",{d:"M32 16C32 7.16344 24.8366 0 16 0V0C7.16344 0 0 7.16344 0 16V16C0 24.8366 7.16344 32 16 32V32C24.8366 32 32 24.8366 32 16V16Z",fill:l,fillOpacity:u}),(0,a.tZ)("path",{d:"M18.5 9.5L25 16M25 16L18.5 22.5M25 16H7",stroke:f,strokeWidth:"2",strokeLinecap:"square"})]})},SQUARE_ARROW_LEFT:function(){return(0,a.BX)("svg",{width:"100%",height:"100%",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.tZ)("path",{d:"M32 4C32 1.79086 30.2091 0 28 0H4C1.79086 0 0 1.79086 0 4V28C0 30.2091 1.79086 32 4 32H28C30.2091 32 32 30.2091 32 28V4Z",fill:l,fillOpacity:u}),(0,a.tZ)("path",{d:"M12.5 9.5L6 16M6 16L12.5 22.5M6 16H26",stroke:f,strokeWidth:"2",strokeLinecap:"square"})]})},SQUARE_ARROW_RIGHT:function(){return(0,a.BX)("svg",{width:"100%",height:"100%",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.tZ)("path",{d:"M32 4C32 1.79086 30.2091 0 28 0H4C1.79086 0 0 1.79086 0 4V28C0 30.2091 1.79086 32 4 32H28C30.2091 32 32 30.2091 32 28V4Z",fill:l,fillOpacity:u}),(0,a.tZ)("path",{d:"M19.5 9.5L26 16M26 16L19.5 22.5M26 16H6",stroke:f,strokeWidth:"2",strokeLinecap:"square"})]})},CHEVRON_LEFT:function(){return(0,a.tZ)("svg",{width:"100%",height:"100%",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.tZ)("path",{d:"M15.5 3.5L7 12L15.5 20.5",stroke:f,strokeWidth:"2",strokeLinecap:"square"})})},CHEVRON_RIGHT:function(){return(0,a.tZ)("svg",{width:"100%",height:"100%",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.tZ)("path",{d:"M8.5 3.5L17 12L8.5 20.5",stroke:f,strokeWidth:"2",strokeLinecap:"square"})})},CIRCLE_CHEVRON_LEFT:function(){return(0,a.BX)("svg",{width:"100%",height:"100%",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.tZ)("path",{d:"M32 16C32 7.16344 24.8366 0 16 0V0C7.16344 0 0 7.16344 0 16V16C0 24.8366 7.16344 32 16 32V32C24.8366 32 32 24.8366 32 16V16Z",fill:l,fillOpacity:u}),(0,a.tZ)("path",{d:"M18.5 8.5L11 16L18.5 23.5",stroke:f,strokeWidth:"2",strokeLinecap:"square"})]})},CIRCLE_CHEVRON_RIGHT:function(){return(0,a.BX)("svg",{width:"100%",height:"100%",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.tZ)("path",{d:"M32 16C32 7.16344 24.8366 0 16 0V0C7.16344 0 0 7.16344 0 16V16C0 24.8366 7.16344 32 16 32V32C24.8366 32 32 24.8366 32 16V16Z",fill:l,fillOpacity:u}),(0,a.tZ)("path",{d:"M13.5 8.5L21 16L13.5 23.5",stroke:f,strokeWidth:"2",strokeLinecap:"square"})]})},SQUARE_CHEVRON_LEFT:function(){return(0,a.BX)("svg",{width:"100%",height:"100%",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.tZ)("path",{d:"M32 4C32 1.79086 30.2091 0 28 0H4C1.79086 0 0 1.79086 0 4V28C0 30.2091 1.79086 32 4 32H28C30.2091 32 32 30.2091 32 28V4Z",fill:l,fillOpacity:u}),(0,a.tZ)("path",{d:"M18.5 8.5L11 16L18.5 23.5",stroke:f,strokeWidth:"2",strokeLinecap:"square"})]})},SQUARE_CHEVRON_RIGHT:function(){return(0,a.BX)("svg",{width:"100%",height:"100%",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.tZ)("path",{d:"M32 4C32 1.79086 30.2091 0 28 0H4C1.79086 0 0 1.79086 0 4V28C0 30.2091 1.79086 32 4 32H28C30.2091 32 32 30.2091 32 28V4Z",fill:l,fillOpacity:u}),(0,a.tZ)("path",{d:"M13.5 8.5L21 16L13.5 23.5",stroke:f,strokeWidth:"2",strokeLinecap:"square"})]})}},v=h["".concat(s,"_LEFT")],y=h["".concat(s,"_RIGHT")],m=uo((0,i.useState)(0),2),w=m[0],g=m[1];return(0,i.useEffect)((function(){var t=document.getElementById("reeview-app-widget_".concat(n.widgetId)).querySelector(".keen-slider");new ResizeObserver((function(t){var e,r=function(t,e){var r="undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=so(t))||e&&t&&"number"===typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){c=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(c)throw i}}}}(t);try{for(r.s();!(e=r.n()).done;){var n=e.value.contentRect.height;g(n)}}catch(o){r.e(o)}finally{r.f()}})).observe(t),g(t.clientHeight)}),[]),console.log("thumbnailHeight",w),(0,a.BX)(a.HY,{children:[(0,a.tZ)("button",{onClick:function(){var t;return null===(t=r.current)||void 0===t?void 0:t.prev()},"aria-label":"prev",className:"rw__swiper--carousel-btn rw__swiper-btn--prev rw__swiper-btn--prev-carousel-".concat(e," rw__swiper--position-").concat(d.toLowerCase()," rw__swiper--carousel-btn-").concat(p.toLowerCase()),style:{top:"calc(".concat(w,"px / 2)")},children:(0,a.tZ)(v,{})}),(0,a.tZ)("button",{onClick:function(){var t;return null===(t=r.current)||void 0===t?void 0:t.next()},"aria-label":"next",className:"rw__swiper--carousel-btn rw__swiper-btn--next rw__swiper-btn--next-carousel-".concat(e," rw__swiper--position-").concat(d.toLowerCase()," rw__swiper--carousel-btn-").concat(p.toLowerCase()),style:{top:"calc(".concat(w,"px / 2)")},children:(0,a.tZ)(y,{})})]})}};r(5012);function ho(t){return function(t){if(Array.isArray(t))return mo(t)}(t)||function(t){if("undefined"!==typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||yo(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function vo(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==r)return;var n,o,i=[],a=!0,c=!1;try{for(r=r.call(t);!(a=(n=r.next()).done)&&(i.push(n.value),!e||i.length!==e);a=!0);}catch(l){c=!0,o=l}finally{try{a||null==r.return||r.return()}finally{if(c)throw o}}return i}(t,e)||yo(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function yo(t,e){if(t){if("string"===typeof t)return mo(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?mo(t,e):void 0}}function mo(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var wo=function(t){return t&&t.columns?t.columns:2};const go=function(t){var e,r,n,o=t.onSelect,c=vo((0,i.useState)(!1),2),l=c[0],u=c[1],s=w(),d=K(),p=(s||{}).videos,f=d.skin||{},h=f.layout,v=f.spacing,y=f.navigationArrows,m=f.carouselAutoplay,g=f.videoMetaData,_=f.style,b=(0,i.useRef)(0),C=y&&"OUTSIDE_THE_SLIDER"===(null===y||void 0===y?void 0:y.position)?"outside":"inside",x=null===y||void 0===y?void 0:y.hideNavigationArrows,O=null===y||void 0===y?void 0:y.showNavigationDots,L=(0,q.ac)("(max-width: 576px)"),E=null===m||void 0===m?void 0:m.autoplay,S=null!==m&&void 0!==m&&m.secondsTillFlip?1e3*(null===m||void 0===m?void 0:m.secondsTillFlip):3e3,k=g&&g.placement.toLowerCase()||"over",N=(0,Z.Z)("vw-cmp__carousel--wrapper vw-cmp__carousel--navigation-".concat(x?"":C," vw-cmp__carousel-content-").concat(k),(n=O,(r="vw-cmp__carousel--pagination")in(e={})?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,e)),j=Math.floor(100*Math.random()),P=h?{background:h.background?h.background:null,padding:"".concat(null===v||void 0===v?void 0:v.marginTop,"px ").concat(null===v||void 0===v?void 0:v.marginRight,"px ").concat(null===v||void 0===v?void 0:v.marginBottom,"px ").concat(null===v||void 0===v?void 0:v.marginLeft,"px")}:null,I=vo((0,i.useState)(0),2),T=I[0],B=I[1],A=vo((0,i.useState)(!1),2),H=A[0],D=A[1],R=vo((0,St.E)({initial:0,renderMode:"performance",mode:L?"free-snap":"snap",slideChanged:function(t){},animationEnded:function(t){B(t.track.details.rel)},created:function(){D(!0)},slides:{perView:_&&"EXTENDED_THUMBNAILS"===_.carouselType?wo(h)+.3:wo(h),spacing:v&&v.paddingBetween||0},loop:!!E},[function(t){if(E){var e,r=function(){clearTimeout(e)},n=function(){clearTimeout(e),o||(e=setTimeout((function(){t.next()}),S))},o=!1;t.on("created",(function(){t.container.addEventListener("mouseover",(function(){o=!0,r()})),t.container.addEventListener("mouseout",(function(){o=!1,n()})),n()})),t.on("dragStarted",r),t.on("animationEnded",n),t.on("updated",n)}}]),2),M=R[0],G=R[1];window.dispatchEvent(new Event("resize")),(0,i.useEffect)((function(){var t;G.current&&(null===(t=G.current)||void 0===t||t.update(),b.current=Math.ceil(G.current.slides.length-wo(h))+1,b.current>1&&u(!0))}),[G.current]);return(0,a.tZ)(a.HY,{children:(0,a.BX)("div",{className:"vw-cmp__carousel--root",style:P,children:[(0,a.tZ)(oo,{}),(0,a.BX)("div",{className:N,children:[(0,a.tZ)(a.HY,{children:(0,a.BX)("div",{className:"keen-slider--root",children:[(0,a.tZ)("div",{ref:M,className:"keen-slider",style:{overflow:_&&"EXTENDED_THUMBNAILS"===_.carouselType?"visible":null},children:p.map((function(t,e){return(0,a.tZ)("div",{className:"keen-slider__slide",children:(0,a.tZ)(no,{video:t,currentSlide:e,isPortrait:!0,onClick:function(){return o(t)}},e)},e)}))}),O&&H&&b.current>1&&l&&(0,a.tZ)("div",{className:"keen-slider--dots",children:ho(Array(Number(b.current)).keys()).map((function(t){var e=Math.max.apply(Math,ho(Array(Number(b.current)).keys()));return(0,a.tZ)("div",{className:"dot"+(T===t||t===e&&T>t?" active":"")},t)}))})]})}),l&&!x&&(0,a.tZ)(fo,{instanceRef:G,navKey:j})]})]})})};function _o(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function bo(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==r)return;var n,o,i=[],a=!0,c=!1;try{for(r=r.call(t);!(a=(n=r.next()).done)&&(i.push(n.value),!e||i.length!==e);a=!0);}catch(l){c=!0,o=l}finally{try{a||null==r.return||r.return()}finally{if(c)throw o}}return i}(t,e)||function(t,e){if(!t)return;if("string"===typeof t)return Co(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Co(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Co(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}const xo=function(t){var e,r,n,o,c,l,u,s,d,p,f,h,v,y,m,g,_,b,C,x,O,L,E=t.onSelect,S=t.isOpen,k=w(),N=k.videos,j=k.widget,P=K().skin,I=N[0],A=P.skinType===T.I0.Inline,H=P&&P.appearance.position?null===(e=P.appearance)||void 0===e?void 0:e.position.toLowerCase():WIDGET_FLOATING_POSTION.BOTTOM_LEFT,D=P&&P.introAnimation&&null!==(r=P.introAnimation)&&void 0!==r&&r.introAnimation?null===(n=P.introAnimation)||void 0===n?void 0:n.introAnimation.toLowerCase():WIDGET_FLOATING_POSTION.BOTTOM_LEFT,R=P&&P.playButton.type&&P.playButton.type===T.wy.icon?"iconButton":"textButton",M=P&&P.playButton[R].position?P.playButton[R].position.toLowerCase():"center",G="CLOSE"===(null===(o=P.closeButton)||void 0===o?void 0:o.buttonType),F="MINIMIZED"===(null===(c=P.closeButton)||void 0===c?void 0:c.buttonType),V=P.playButton&&P.playButton.iconButton&&"NO_ANIMATION"!==P.playButton.iconButton.animation?P.playButton.iconButton.animation:null,X=P.playButton&&P.playButton.iconButton.size?P.playButton.iconButton.size.toLowerCase():"small",U=(0,i.useRef)(!1),q=(0,i.useRef)(!1),W=(0,i.useRef)(!1),Y=bo((0,i.useState)(!0),2),z=Y[0],$=Y[1],J=bo((0,i.useState)(!1),2),Q=J[0],tt=J[1],et=function(t,e){var r=(0,i.useRef)();return{start:(0,i.useCallback)((function(){r.current=setTimeout(t,e)}),[t,e]),cancel:(0,i.useCallback)((function(){var t=r.current;t&&(r.current=void 0,clearTimeout(t))}),[r]),timeoutIdRef:r}}((function(){return $(false)}),1e3),rt=bo((0,i.useState)(null),2),nt=rt[0],ot=rt[1],it=(0,Z.Z)("".concat(zn.jW,"__layout--").concat(null===(l=P.appearance)||void 0===l?void 0:l.type.toLowerCase()," ").concat(zn.jW,"__shadow--").concat(null===(u=P.appearance)||void 0===u?void 0:u.dropShadow.toLowerCase()," ").concat(zn.jW,"--position-").concat(H," ").concat(zn.jW,"--animation-").concat(D),(_o(d={},"".concat(zn.jW,"-hidden"),z),_o(d,"".concat(zn.jW,"-has-video"),P.autoplay),_o(d,"".concat(zn.jW,"--is-minimized"),Q),_o(d,"".concat(zn.jW,"--button-on-hover"),"ON_HOVER"===(null===(s=P.callToActionButton)||void 0===s?void 0:s.visibility)),_o(d,"".concat(zn.jW,"--transition-end"),nt),d)),at=(_o(m={},"--vw-popup-width","".concat(null===(p=P.appearance)||void 0===p?void 0:p.width,"px")),_o(m,"--vw-popup-height","".concat(null===(f=P.appearance)||void 0===f?void 0:f.height,"px")),_o(m,"--vw-popup-position-left","".concat(null===(h=P.appearance)||void 0===h?void 0:h.marginLeft,"px")),_o(m,"--vw-popup-position-bottom","".concat(null===(v=P.appearance)||void 0===v?void 0:v.marginBottom,"px")),_o(m,"--vw-popup-border-radius","".concat(null===(y=P.appearance)||void 0===y?void 0:y.radius,"px")),m);"bottom_right"===H&&(at["--vw-popup-position-left"]="auto",at["--vw-popup-position-right"]="".concat(null===(L=P.appearance)||void 0===L?void 0:L.marginLeft,"px"));P&&null!==(g=P.introAnimation)&&void 0!==g&&g.appearAfter&&(at["--vw-animation-delay"]="".concat(P.introAnimation.appearAfter,"s"));var ct,lt,ut,st={};null!==(_=P.appearance)&&void 0!==_&&_.showBorder&&(st["--vw-popup-border"]="".concat(null===(ct=P.appearance)||void 0===ct?void 0:ct.borderWidth,"px solid ").concat(null===(lt=P.appearance)||void 0===lt?void 0:lt.borderColor),st["--vw-popup-border-radius"]="".concat(null===(ut=P.appearance)||void 0===ut?void 0:ut.radius,"px"));var dt,pt,ft,ht={};null!==(b=P.textOnTop)&&void 0!==b&&b.textColor&&(ht["--vw-popup-text-color"]=null===(dt=P.textOnTop)||void 0===dt?void 0:dt.textColor);null!==(C=P.textOnTop)&&void 0!==C&&C.textWeight&&(ht["--vw-popup-text-font-weight"]=null===(pt=P.textOnTop)||void 0===pt?void 0:pt.textWeight.toLowerCase());null!==(x=P.textOnTop)&&void 0!==x&&x.size&&(ht["--vw-popup-text-font-size"]="".concat(null===(ft=P.textOnTop)||void 0===ft?void 0:ft.size,"px"));var vt={fontSize:P.playButton[R]&&P.playButton[R].fontSize?"".concat(P.playButton[R].fontSize,"px"):"14px"};if(P.playButton[R].color&&(vt["--vw-popup-button-color"]=P.playButton[R].color),P.playButton[R].backgroundColor){var yt=P.playButton[R].backgroundOpacity?P.playButton[R].backgroundOpacity/100:1;vt["--vw-popup-button-bg"]=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,r=B(t.match(/\w\w/g).map((function(t){return parseInt(t,16)})),3),n=r[0],o=r[1],i=r[2];return"rgba(".concat(n,",").concat(o,",").concat(i,",").concat(e,")")}(P.playButton[R].backgroundColor,yt)}P.playButton[R].borderWidth&&(vt["--vw-popup-button-border"]="".concat(P.playButton[R].borderWidth,"px solid ").concat(P.playButton[R].borderColor));var mt=function(){var t=I.url,e=I.refId,r=I.muxClipPlaybackId;return"youtube_video"===j.videoType?"https://www.youtube.com/watch?v=".concat(e):r?"https://stream.mux.com/".concat(r,".m3u8"):t},wt=function(){return!!(I||{}).muxClipPlaybackId},gt=function(t){t.stopPropagation(),$(!0);var e=document.querySelector(".vw__video-player video");e&&e.pause()},_t=function(){ot(!0)};(0,i.useEffect)((function(){!S&&q.current&&$(!1)}),[S]),(0,i.useEffect)((function(){return q.current=!0,et.start(),function(){return et.cancel()}}),[]),(0,i.useEffect)((function(){return z?function(){}:P.autoplay?void 0:function(){}}),[z]),(0,i.useEffect)((function(){var t=function(){var t={transition:"transitionend",OTransition:"oTransitionEnd",MozTransition:"transitionend",WebkitTransition:"webkitTransitionEnd"},e=document.body.style;for(var r in t)if(void 0!==e[r])return t[r]}();return W.current&&W.current.addEventListener(t,_t,{once:!0}),function(){W.current&&W.current.removeEventListener(t,_t)}}),[]);return(0,a.tZ)("div",{className:"vw-cmp__popup-card--root ".concat(it),style:at,ref:W,children:(0,a.BX)("div",{className:"vw-cmp__popup-card--wrapper",onClick:function(){E(I)},children:[(0,a.BX)(a.HY,{children:[(0,a.BX)("div",{className:"vw-cmp__popup-card--preview",children:[!Q&&P&&P.autoplay&&(0,a.tZ)(a.HY,{children:(0,a.BX)("div",{className:"vw-cmp__popup-card--video-container",children:["youtube_video"!==j.videoType&&(0,a.tZ)(Cr,{ref:U,url:mt(),className:"vw__video-player",width:"100%",height:"100%",controls:!1,muted:!0,loop:!0,playing:!0,playsinline:!0,config:{file:{hlsOptions:{forceHLS:wt(),debug:!1,capLevelToPlayerSize:!0,xhrSetup:function(t,e){if(!t.readyState){var r=e.substring(0,e.indexOf("&vsid")+1);r&&t.open("GET",r,!0)}}}}}}),"youtube_video"===j.videoType&&(0,a.tZ)(Sr,{ref:U,url:mt(),className:"vw__video-player",width:"100%",height:"100%",controls:!1,muted:!0,loop:!0,playing:!0,playsinline:!0,forceHLS:wt()})]})}),(0,a.tZ)("div",{className:"vw-cmp__popup-card--img-container",children:(0,a.tZ)("img",{src:I.thumbnail.url,alt:I.title})})]}),!Q&&P.textOnTop.showTextOnTop&&P.textOnTop.text&&(0,a.tZ)("h4",{className:"vw-cmp__popup-card--content",style:ht,children:P.textOnTop.text})]}),(0,a.BX)(a.HY,{children:[!Q&&G&&(0,a.tZ)("div",{className:"vw-cmp__popup-card--button vw-cmp__popup-card--close",onClick:gt,children:(0,a.BX)("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.tZ)("circle",{cx:"16",cy:"16",r:"16",fill:"black"}),(0,a.tZ)("g",{filter:"url(#filter0_d_18:1125)",children:(0,a.tZ)("path",{d:"M10.5 22L22 10.5M10.5 10.5L22 22",stroke:"white",strokeWidth:"2",strokeLinecap:"square",className:"vw-cmp__popup-card--button-icon"})}),(0,a.tZ)("defs",{children:(0,a.BX)("filter",{id:"filter0_d_18:1125",x:"5.08582",y:"5.08582",width:"22.3284",height:"22.3284",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,a.tZ)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,a.tZ)("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),(0,a.tZ)("feOffset",{}),(0,a.tZ)("feGaussianBlur",{stdDeviation:"2"}),(0,a.tZ)("feComposite",{in2:"hardAlpha",operator:"out"}),(0,a.tZ)("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"}),(0,a.tZ)("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_18:1125"}),(0,a.tZ)("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_18:1125",result:"shape"})]})})]})}),!Q&&F&&(0,a.tZ)("div",{className:"vw-cmp__popup-card--button vw-cmp__popup-card--minimize",onClick:function(t){return t.stopPropagation(),void tt(!0)},children:(0,a.BX)("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.tZ)("circle",{cx:"16",cy:"16",r:"16",fill:"black",fillOpacity:"0.2"}),(0,a.tZ)("g",{filter:"url(#filter0_d_18:1239)",children:(0,a.tZ)("rect",{x:"8",y:"15",width:"16",height:"2",fill:"white"})}),(0,a.tZ)("defs",{children:(0,a.BX)("filter",{id:"filter0_d_18:1239",x:"4",y:"4",width:"24",height:"24",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,a.tZ)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,a.tZ)("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),(0,a.tZ)("feOffset",{}),(0,a.tZ)("feGaussianBlur",{stdDeviation:"2"}),(0,a.tZ)("feComposite",{in2:"hardAlpha",operator:"out"}),(0,a.tZ)("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"}),(0,a.tZ)("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_18:1239"}),(0,a.tZ)("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_18:1239",result:"shape"})]})})]})})]}),function(){var t,e,r,n,o,i,c,l,u;if(!Q&&null!==P&&void 0!==P&&null!==(t=P.playButton)&&void 0!==t&&t.showButton)return(0,a.BX)(a.HY,{children:[(null===(e=P.playButton)||void 0===e?void 0:e.type)===T.wy.icon&&(0,a.tZ)($n,{color:null===(r=P.playButton[R])||void 0===r?void 0:r.color,animation:V,style:null===(n=P.playButton[R])||void 0===n?void 0:n.style,size:X,position:M,opacity:null===(o=P.playButton[R])||void 0===o?void 0:o.backgroundOpacity,borderColor:null===(i=P.playButton[R])||void 0===i?void 0:i.borderColor,background:null===(c=P.playButton[R])||void 0===c?void 0:c.backgroundColor,borderSize:P.playButton[R]&&P.playButton[R].showBorder?P.playButton[R].borderWidth:null}),(null===(l=P.playButton)||void 0===l?void 0:l.type)===T.wy.text&&(0,a.tZ)("div",{className:"vw-cmp__popup-card--cta-button vw-cmp__popup--text-button vw--align-".concat(M),style:vt,children:(0,a.tZ)("span",{children:null===(u=P.playButton[R])||void 0===u?void 0:u.text})})]})}(),(0,a.tZ)(a.HY,{children:Q&&(0,a.tZ)("div",{className:"vw-cmp__popup-card--button vw-cmp__popup-card--minimize-button",children:(0,a.BX)("svg",{width:"39",height:"46",viewBox:"0 0 39 46",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.tZ)("g",{filter:"url(#filter0_d_6738_6271)",children:(0,a.tZ)("path",{d:"M8.125 8.375L30.625 23L8.125 37.625V8.375Z",fill:"white"})}),(0,a.tZ)("defs",{children:(0,a.BX)("filter",{id:"filter0_d_6738_6271",x:"0.125",y:"0.375",width:"38.5",height:"45.25",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,a.tZ)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,a.tZ)("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),(0,a.tZ)("feOffset",{}),(0,a.tZ)("feGaussianBlur",{stdDeviation:"4"}),(0,a.tZ)("feComposite",{in2:"hardAlpha",operator:"out"}),(0,a.tZ)("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.3 0"}),(0,a.tZ)("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_6738_6271"}),(0,a.tZ)("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_6738_6271",result:"shape"})]})})]})})}),(null===(O=P["".concat(A?"thumbnail":"appearance")])||void 0===O?void 0:O.showBorder)&&(0,a.tZ)("div",{style:st,className:"vw-cmp__popup-card--border"})]})})};const Oo=function(){return(0,a.tZ)("div",{className:"vw--widget-bottom",style:"display: none",children:(0,a.tZ)("a",{target:"_blank",href:"https://www.videowise.com/",title:"Shopify shoppable video","aria-label":"Shopify shoppable video",children:"VideoWise - shoppable video"})})};function Lo(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==r)return;var n,o,i=[],a=!0,c=!1;try{for(r=r.call(t);!(a=(n=r.next()).done)&&(i.push(n.value),!e||i.length!==e);a=!0);}catch(l){c=!0,o=l}finally{try{a||null==r.return||r.return()}finally{if(c)throw o}}return i}(t,e)||function(t,e){if(!t)return;if("string"===typeof t)return Eo(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Eo(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Eo(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}const So=function(t){var e,r,n,o,c,l=t.onSelect,u=w(),s=u.videos,d=u.widget,p=K().skin,f=(0,i.useRef)(),h=Lo((0,i.useState)("flex-start"),2),v=h[0],y=h[1],m=function(t){return(JSON.parse(localStorage.getItem("reeview_viewedVids"))||[]).includes(t.id)},g={background:p.appearance.background?p.appearance.background:null,padding:"".concat(null===(e=p.spacing)||void 0===e?void 0:e.marginTop,"px ").concat(null===(r=p.spacing)||void 0===r?void 0:r.marginRight,"px ").concat(null===(n=p.spacing)||void 0===n?void 0:n.marginBottom,"px ").concat(null===(o=p.spacing)||void 0===o?void 0:o.marginLeft,"px"),color:p.storyTitle.color,justifyContent:v};(0,i.useEffect)((function(){f.current.scrollWidth>f.current.clientWidth||y("CENTER"===p.spacing.alignment?"center":"RIGHT"===p.spacing.alignment?"right":"flex-start")}),[]);var _={marginLeft:null===(c=p.spacing)||void 0===c?void 0:c.paddingBetween},b={borderColor:p.appearance.background,background:p.appearance.background?p.appearance.background:null},C={background:"linear-gradient(to top right,".concat(p.appearance.gradient.start,", ").concat(p.appearance.gradient.end,")")};(0,i.useEffect)((function(){document.querySelector("#reeview-app-widget_".concat(d.id)).style.setProperty("--videowise-story-border","linear-gradient(to top right,".concat(p.appearance.gradient.start,", ").concat(p.appearance.gradient.end)),document.querySelector("#reeview-app-widget_".concat(d.id)).style.setProperty("--videowise-story-title","".concat(p.storyTitle.color))}),[]);var x=p.storyTitle.showTitle&&"BOLD"===p.storyTitle.textWeight?"700":"400",O={fontSize:p.storyTitle.showTitle?p.storyTitle.textSize:null,fontWeight:p.storyTitle.showTitle?x:null};return s.map((function(t,e){return console.log("video",t)})),(0,a.tZ)(a.HY,{children:(0,a.tZ)("div",{ref:f,className:"stories-container",style:g,onWheel:function(t){t.preventDefault(),f.current.scrollLeft+=t.deltaY},children:s.map((function(t,e){var r=t.thumbnail.url.replace("640","180");return(0,a.BX)("a",{className:"story-container ".concat("MEDIUM"===p.spacing.storySize?"medium-stories":""," ").concat(m(t)?"viewed-story":""),onClick:function(){return function(t){var e=JSON.parse(localStorage.getItem("reeview_viewedVids"))||[];m(t)||e.push(t.id),localStorage.setItem("reeview_viewedVids",JSON.stringify(e)),l(t)}(t)},style:0!==e?_:null,children:[(0,a.tZ)("div",{className:"preview-outer-story ".concat("SQUARE"===p.appearance.type?"story-square":""," ").concat("PORTRAIT"===p.appearance.type?"story-portrait":""),style:C,children:(0,a.tZ)("div",{class:"preview-outer-story-img",style:b,children:(0,a.tZ)("img",{src:r,alt:t.title})})}),p.storyTitle.showTitle&&(0,a.tZ)("div",{className:"preview-title-story ".concat(p.storyTitle.truncateTitle?"truncate-story-title":""),style:O,children:t.title})]},e)}))})})};function ko(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Zo(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?ko(Object(r),!0).forEach((function(e){No(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ko(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function No(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function jo(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==r)return;var n,o,i=[],a=!0,c=!1;try{for(r=r.call(t);!(a=(n=r.next()).done)&&(i.push(n.value),!e||i.length!==e);a=!0);}catch(l){c=!0,o=l}finally{try{a||null==r.return||r.return()}finally{if(c)throw o}}return i}(t,e)||function(t,e){if(!t)return;if("string"===typeof t)return Po(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Po(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Po(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}const Io=function(){var t=w(),e=t.widget,r=t.videos,n=t.trackingContext,o=t.hashParams,c=t.widgetID,l=e.displayType,u=l!==T.I0.Floating,s=l===T.I0.Story,d=jo((0,i.useState)(!1),2),p=d[0],f=d[1],h=jo((0,i.useState)(r[0].id),2),v=h[0],y=h[1],m=jo((0,i.useState)(0),2),g=(m[0],m[1]),_="".concat(e.theme.toLowerCase()),b=e.widgetAlign||"center",C={maxWidth:"custom"===e.maxWidth?"".concat(400,"px"):"inherit",width:"100%"},x=(0,k.v4)(),O="rw__inline-widget--container-".concat(x),L=(0,Z.Z)("vw-root__container-inner vw-root__container-embed",No({},"rw__inline-widget--container-".concat(b),"custom"===e.maxWidth)),E=(0,Z.Z)("vw-root__container-inner vw-root__container-popup"),S=u||s?L:E;var N=function(t){y(t.id),g((new Date).getTime()),f(!0),g((new Date).getTime())};return(0,i.useEffect)((function(){return p?(g((new Date).getTime()),function(){}):function(){}}),[p]),(0,i.useEffect)((function(){var t,e=window.document.getElementById(c);e&&((t=e).getElementsByClassName("vw-cmp__popup-card--root")[0]&&(t=t.getElementsByClassName("vw-cmp__popup-card--root")[0]),t.offsetWidth&&t.offsetHeight&&t.getClientRects().length&&F(T.X8.View,Zo({url:window.location.href},n)))}),[]),(0,i.useEffect)((function(){if(o&&o.videoId&&c===o.widgetId){y(o.videoId);var t=r.find((function(t){return t.id===o.videoId}));N(t)}}),[]),(0,a.BX)("div",{id:"w-root",className:S,onClick:function(t){return t.stopPropagation()},children:[(0,a.tZ)(Wn,{selectedVideoId:v,onSelectVideo:N,isOpen:p,onClose:function(){f(!1)}}),u&&_===T.Iu.SINGLE&&(0,a.BX)("div",{className:O,style:C,children:[(0,a.tZ)(io,{onSelect:N}),(0,a.tZ)(Oo,{})]}),u&&_===T.Iu.GALLERY&&(0,a.BX)("div",{className:O,style:C,children:[(0,a.tZ)(lo,{onSelect:N}),(0,a.tZ)(Oo,{})]}),u&&(_===T.Iu.CAROUSEL||"portraitcarousel"===_||"landscapecarousel"===_)&&(0,a.BX)("div",{className:O,style:C,children:[(0,a.tZ)(go,{onSelect:N}),(0,a.tZ)(Oo,{})]}),s&&(0,a.BX)("div",{className:O,style:C,children:[(0,a.tZ)(So,{onSelect:N}),(0,a.tZ)(Oo,{})]}),!u&&!s&&(0,a.tZ)(xo,{isOpen:p,onSelect:N})]})};r(9722);function To(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==r)return;var n,o,i=[],a=!0,c=!1;try{for(r=r.call(t);!(a=(n=r.next()).done)&&(i.push(n.value),!e||i.length!==e);a=!0);}catch(l){c=!0,o=l}finally{try{a||null==r.return||r.return()}finally{if(c)throw o}}return i}(t,e)||function(t,e){if(!t)return;if("string"===typeof t)return Bo(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Bo(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Bo(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}const Ao=function(){var t,e,r,n,o,c,l=w(),u=l.widget,s=l.page,d=(K().deviceType,(0,q.ac)("(max-width: 1023px)"),u.displayType===T.I0.Floating),f=(0,Z.Z)("vw-root__container",(c=d,(o="vw-popup__widget")in(n={})?Object.defineProperty(n,o,{value:c,enumerable:!0,configurable:!0,writable:!0}):n[o]=c,n)),h=!1;null!==u&&void 0!==u&&null!==(t=u.videoPlayers[0])&&void 0!==t&&null!==(e=t.settings)&&void 0!==e&&e.muteVideo&&(h=!0);s&&s.customId&&s.handle&&(r={customId:s.customId,handle:s.handle,price:s.price,image:s.previewImageSrc,productRefId:s.productRefId,productReviews:{averageRating:null,numberOfReviews:null}});var v={product:r,viewedProducts:[],togglePannel:!0,isVisible:!1,pageType:u.type,muted:h,selectedId:null,toggleShoppableList:!1,shoppableList:[],showHeader:!1,cart:null,isShoppableLoading:!1,subscriptionId:null,errorOnProduct:!1},m=To((0,i.useReducer)(_.l,v),2),g=m[0],b=m[1],C=To((0,i.useReducer)(S,{playing:!0,muted:!1,isFirst:!0}),2),x=C[0],O=C[1];return(0,a.tZ)("div",{id:"vw-root",className:f,children:(0,a.tZ)(p,{value:g,action:b,children:(0,a.tZ)(y,{value:x,action:O,children:(0,a.tZ)(Io,{})})})})};function Ho(t){return Ho="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ho(t)}function Do(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function Ro(t,e){return Ro=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},Ro(t,e)}function Mo(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=Fo(t);if(e){var o=Fo(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return Go(this,r)}}function Go(t,e){if(e&&("object"===Ho(e)||"function"===typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function Fo(t){return Fo=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Fo(t)}const Vo=function(t){!function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Ro(t,e)}(i,t);var e,r,n,o=Mo(i);function i(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i),(e=o.call(this,t)).state={hasError:!1},e}return e=i,n=[{key:"getDerivedStateFromError",value:function(){return{hasError:!0}}}],(r=[{key:"componentDidCatch",value:function(t,e){console.log(t,e)}},{key:"render",value:function(){return this.state.hasError?null:this.props.children}}])&&Do(e.prototype,r),n&&Do(e,n),Object.defineProperty(e,"prototype",{writable:!1}),i}(i.Component);function Xo(t){return Xo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Xo(t)}function Uo(){Uo=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",i=n.asyncIterator||"@@asyncIterator",a=n.toStringTag||"@@toStringTag";function c(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(E){c=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var o=e&&e.prototype instanceof d?e:d,i=Object.create(o.prototype),a=new x(n||[]);return i._invoke=function(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return L()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=_(a,r);if(c){if(c===s)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var l=u(t,e,r);if("normal"===l.type){if(n=r.done?"completed":"suspendedYield",l.arg===s)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(n="completed",r.method="throw",r.arg=l.arg)}}}(t,r,a),i}function u(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(E){return{type:"throw",arg:E}}}t.wrap=l;var s={};function d(){}function p(){}function f(){}var h={};c(h,o,(function(){return this}));var v=Object.getPrototypeOf,y=v&&v(v(O([])));y&&y!==e&&r.call(y,o)&&(h=y);var m=f.prototype=d.prototype=Object.create(h);function w(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function g(t,e){function n(o,i,a,c){var l=u(t[o],t,i);if("throw"!==l.type){var s=l.arg,d=s.value;return d&&"object"==Xo(d)&&r.call(d,"__await")?e.resolve(d.__await).then((function(t){n("next",t,a,c)}),(function(t){n("throw",t,a,c)})):e.resolve(d).then((function(t){s.value=t,a(s)}),(function(t){return n("throw",t,a,c)}))}c(l.arg)}var o;this._invoke=function(t,r){function i(){return new e((function(e,o){n(t,r,e,o)}))}return o=o?o.then(i,i):i()}}function _(t,e){var r=t.iterator[e.method];if(void 0===r){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,_(t,e),"throw"===e.method))return s;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return s}var n=u(r,t.iterator,e.arg);if("throw"===n.type)return e.method="throw",e.arg=n.arg,e.delegate=null,s;var o=n.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,s):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,s)}function b(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function C(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function x(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(b,this),this.reset(!0)}function O(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:L}}function L(){return{value:void 0,done:!0}}return p.prototype=f,c(m,"constructor",f),c(f,"constructor",p),p.displayName=c(f,a,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===p||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,f):(t.__proto__=f,c(t,a,"GeneratorFunction")),t.prototype=Object.create(m),t},t.awrap=function(t){return{__await:t}},w(g.prototype),c(g.prototype,i,(function(){return this})),t.AsyncIterator=g,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new g(l(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},w(m),c(m,a,"Generator"),c(m,o,(function(){return this})),c(m,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},t.values=O,x.prototype={constructor:x,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(C),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),l=r.call(i,"finallyLoc");if(c&&l){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,s):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),s},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),C(r),s}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;C(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:O(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),s}},t}function qo(t,e,r,n,o,i,a){try{var c=t[i](a),l=c.value}catch(u){return void r(u)}c.done?e(l):Promise.resolve(l).then(n,o)}var Wo="reeview-app-widget_";function Yo(t){var e="".concat(Wo).concat(t.id);return(null===t||void 0===t?void 0:t.type)===T.l9.Product&&t.displayType===T.I0.Inline?window.document.getElementById(e)?e:"reeview-app__inline-widget":"".concat(Wo).concat(t.id)}var zo=function(t){var e=H();return t.find((function(t){return t.skinType===e}))},$o=function(t){return t[0]};window.dispatchEvent(new Event("resize"));const Ko=function(){var t,e=(t=Uo().mark((function t(e){var r,n,o,c,l,u,s,d,p,f,h,v,y,m,w,_,b,C,x;return Uo().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.widget,n=e.page,o=e.trackingContext,c=e.settings,l=r.displayType,u=r.skins,s=r.videoPlayers,d=r.videos,p=Yo(r),f=H(),h=zo(u),v=$o(s),y=Pr(),w=(m=y||{}).widgetId,_=m.videoId,b=l===T.I0.Inline||l===T.I0.Story?window.document.getElementById(p):Jo(p),l!==T.I0.Inline&&l!==T.I0.Story&&window.document.body.appendChild(b),b){t.next=13;break}return console.log("VideoWise widget is not rendered, because is defined as Inline, but not allowed from Shopify store!"),t.abrupt("return");case 13:if(!Qo(p,"vw-root")){t.next=17;break}return console.log("VideoWise widget is already loaded!"),t.abrupt("return");case 17:C={widget:r,videos:d,containerElement:b,trackingContext:o,widgetID:p,page:n,showBadge:c.showBadge,storeLogo:c.logoUrl,inventorySetting:c.inventorySetting,hashParams:{widgetId:w,videoId:_}},x={deviceType:f,skin:h,player:v},i.default.render((0,a.tZ)(Vo,{children:(0,a.tZ)(g,{value:C,children:(0,a.tZ)(J,{value:x,children:(0,a.tZ)(Ao,{})})})}),b);case 20:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){qo(i,n,o,a,c,"next",t)}function c(t){qo(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}();var Jo=function(t){var e=window.document.createElement("div");return e.setAttribute("id",t),e},Qo=function(t,e){var r=window.document.getElementById(e),n=r?r.parentNode:{};return!(null===n||void 0===n||!n.id||(null===n||void 0===n?void 0:n.id)!==t)}},8576:(t,e,r)=>{r.d(e,{$h:()=>C,F0:()=>O,JB:()=>v,ZP:()=>E,qD:()=>L,rY:()=>x});var n=r(9669),o=r.n(n),i=r(8582),a=r(7835),c=r(9782);function l(t){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},l(t)}function u(){u=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",i=n.asyncIterator||"@@asyncIterator",a=n.toStringTag||"@@toStringTag";function c(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(k){c=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var o=e&&e.prototype instanceof f?e:f,i=Object.create(o.prototype),a=new L(n||[]);return i._invoke=function(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return S()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=C(a,r);if(c){if(c===p)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var l=d(t,e,r);if("normal"===l.type){if(n=r.done?"completed":"suspendedYield",l.arg===p)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(n="completed",r.method="throw",r.arg=l.arg)}}}(t,r,a),i}function d(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(k){return{type:"throw",arg:k}}}t.wrap=s;var p={};function f(){}function h(){}function v(){}var y={};c(y,o,(function(){return this}));var m=Object.getPrototypeOf,w=m&&m(m(E([])));w&&w!==e&&r.call(w,o)&&(y=w);var g=v.prototype=f.prototype=Object.create(y);function _(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function b(t,e){function n(o,i,a,c){var u=d(t[o],t,i);if("throw"!==u.type){var s=u.arg,p=s.value;return p&&"object"==l(p)&&r.call(p,"__await")?e.resolve(p.__await).then((function(t){n("next",t,a,c)}),(function(t){n("throw",t,a,c)})):e.resolve(p).then((function(t){s.value=t,a(s)}),(function(t){return n("throw",t,a,c)}))}c(u.arg)}var o;this._invoke=function(t,r){function i(){return new e((function(e,o){n(t,r,e,o)}))}return o=o?o.then(i,i):i()}}function C(t,e){var r=t.iterator[e.method];if(void 0===r){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,C(t,e),"throw"===e.method))return p;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return p}var n=d(r,t.iterator,e.arg);if("throw"===n.type)return e.method="throw",e.arg=n.arg,e.delegate=null,p;var o=n.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,p):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,p)}function x(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function O(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function L(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,this),this.reset(!0)}function E(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:S}}function S(){return{value:void 0,done:!0}}return h.prototype=v,c(g,"constructor",v),c(v,"constructor",h),h.displayName=c(v,a,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,v):(t.__proto__=v,c(t,a,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},_(b.prototype),c(b.prototype,i,(function(){return this})),t.AsyncIterator=b,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new b(s(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},_(g),c(g,a,"Generator"),c(g,o,(function(){return this})),c(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},t.values=E,L.prototype={constructor:L,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(O),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),l=r.call(i,"finallyLoc");if(c&&l){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,p):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),p},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),O(r),p}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;O(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:E(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),p}},t}function s(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function d(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?s(Object(r),!0).forEach((function(e){p(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function p(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function f(t,e,r,n,o,i,a){try{var c=t[i](a),l=c.value}catch(u){return void r(u)}c.done?e(l):Promise.resolve(l).then(n,o)}function h(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){f(i,n,o,a,c,"next",t)}function c(t){f(i,n,o,a,c,"throw",t)}a(void 0)}))}}var v="cart";function y(t){return t&&"product"===t.p&&t.rid}function m(t,e){return w.apply(this,arguments)}function w(){return(w=h(u().mark((function t(e,r){var n;return u().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,i.fh)(e,r.rid);case 2:return n=t.sent,t.next=5,(0,a.a)(n);case 5:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function g(t){return _.apply(this,arguments)}function _(){return(_=h(u().mark((function t(e){var r,n;return u().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=(0,c.Eq)("".concat(window.location.protocol,"//").concat(window.location.hostname).concat(window.location.pathname)),t.next=3,(0,i.rr)(e,encodeURI(r));case 3:return n=t.sent,t.next=6,(0,a.a)(n);case 6:case"end":return t.stop()}}),t)})))).apply(this,arguments)}var b=function(t){var e="".concat(t).split("");return e.splice(-2,0,","),e.join("")},C=function(){var t=h(u().mark((function t(e,r){var n,i,a,c,l,s,p,f,h;return u().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n={"Content-type":"application/json"},t.prev=1,t.next=4,o().get("/products/".concat(e,".js"),{headers:n});case 4:return a=t.sent,c=a.data,l=c.variants.filter((function(t){return 0!=(null===t||void 0===t?void 0:t.price)})).map((function(t){return d(d({},t),{},{compare_at_price:b(t.compare_at_price),price:b(t.price)})})),p=l,null!==r&&void 0!==r&&r.length&&(f=r.map((function(t){return Number(t)})),s=l.filter((function(t){return f.includes(t.id)})),1===c.options.length&&(h=s.map((function(t){return t.option1})),c.options[0].values=c.options[0].values.filter((function(t){return!h.includes(t)}))),p=l.filter((function(t){return!s.some((function(e){return t.id===e.id}))}))),t.abrupt("return",d(d({},c),{},{compare_at_price:b(c.compare_at_price),compare_at_price_max:b(c.compare_at_price_max),compare_at_price_min:b(c.compare_at_price_min),price:b(c.price),price_max:b(c.price_max),price_min:b(c.price_min),variants:p,excludedVariants:null!==(i=s)&&void 0!==i&&i.length?s:[]}));case 12:return t.prev=12,t.t0=t.catch(1),console.error("Shopify error: ",t.t0),t.abrupt("return",null);case 16:case"end":return t.stop()}}),t,null,[[1,12]])})));return function(e,r){return t.apply(this,arguments)}}(),x=function(){var t=h(u().mark((function t(){var e,r;return u().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,o().get("/cart.json");case 3:return e=t.sent,r=e.data,t.abrupt("return",r);case 8:return t.prev=8,t.t0=t.catch(0),console.error("Shopify cart error: ",t.t0),t.abrupt("return",null);case 12:case"end":return t.stop()}}),t,null,[[0,8]])})));return function(){return t.apply(this,arguments)}}(),O=function(t){var e=[];document.querySelectorAll(".vw-shoppable__select-item").forEach((function(t){e.push(t.selectedOptions[0].value.trim())}));var r=t.filter((function(t){return(0,c.Xy)(t.options,e)}));return(0,c.xb)(r)?null:r[0]},L=function(){var t=h(u().mark((function t(e){var r,n;return u().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,o().get("/recommendations/products.json?product_id=".concat(e));case 3:return r=t.sent,n=r.data,t.abrupt("return",n);case 8:return t.prev=8,t.t0=t.catch(0),console.error("Shopify recommended products error: ",t.t0),t.abrupt("return",null);case 12:case"end":return t.stop()}}),t,null,[[0,8]])})));return function(e){return t.apply(this,arguments)}}();const E=h(u().mark((function t(){var e,r,n,i,a,c,l;return u().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e=window,r=e.Shopify,n=e.__st,r){t.next=3;break}return t.abrupt("return");case 3:if((i=document.querySelector("#videowise-css"))&&i.disabled&&i.removeAttribute("disabled"),!window.videowise_use_handlers){t.next=17;break}if(!((a=window.location.href).indexOf("/products/")>-1)){t.next=16;break}return t.next=10,o().get("".concat(a,".js"));case 10:c=t.sent,l=c.data,n.rid=l.id,n.p="product",t.next=17;break;case 16:n.p="";case 17:if(!y(n)){t.next=22;break}return t.next=20,m(r.shop,n);case 20:t.next=24;break;case 22:return t.next=24,g(r.shop);case 24:case"end":return t.stop()}}),t)})))},2750:(t,e,r)=>{r.d(e,{U:()=>a});var n=r(1955),o=r(5877),i=r(7856),a=function(){var t=n.Z.get(i.Fy);if(t)return t;t=(0,o.v4)();var e=new Date;return e.setTime(e.getTime()+12096e5),n.Z.set(i.Fy,t,{expires:e}),t}},4627:(t,e,r)=>{function n(t){return function(t){if(Array.isArray(t))return o(t)}(t)||function(t){if("undefined"!==typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"===typeof t)return o(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return o(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function i(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function a(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?i(Object(r),!0).forEach((function(e){c(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function c(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}r.d(e,{a:()=>l,l:()=>u});var l={ADD_PRODUCT:"add_product",GET_CART:"get_cart",SET_CART:"set_cart",UPDATE_PRODUCT:"update_product",HIDE_PANEL:"hide_panel",TOGGLE_PANEL:"toggle_panel",SHOW_MORE:"show_more",SHOW_MORE_SHARE:"show_more_share",HIDE_MORE:"hide_more",HIDE_MORE_SHARE:"hide_more_share",ADD_TO_CART:"add_to_cart",TOGGLE_SOUND:"toggle_sound",SHOW_SHOPPABLE_LIST:"show_shoppable_list",HIDE_SHOPPABLE_LIST:"hide_shoppable_list",SET_SHOPPABLE_LIST:"set_shoppable_list",TOGGLE_PANEL_HEADER:"toggle_panel_header",SET_IS_LOADING_IN_PROGRESS:"set_is_loading_in_progress",TOGGLE_SHOPPABLE_LOADING:"toggle_shoppable_loading",ADD_SUBSCRIPTION:"add_subscription",ERROR_ON_PRODUCT:"error_on_product"},u=function(t,e){switch(console.log("state",t),console.log("action",e),e.type){case l.GET_CART:return a(a({},t),{},{cart:a(a({},t.cart),e.payload.cart)});case l.ADD_PRODUCT:case l.UPDATE_PRODUCT:return t.viewedProducts.filter((function(t){return t.id==e.payload.product.id})).length?a(a({},t),{},{product:a(a({},t.product),e.payload.product)}):a(a({},t),{},{product:a(a({},t.product),e.payload.product),viewedProducts:[].concat(n(t.viewedProducts),[e.payload.product])});case l.HIDE_PANEL:return a(a({},t),{},{product:null,isVisible:!1});case l.TOGGLE_PANEL:return a(a({},t),{},{isVisible:e.payload.visible});case l.SHOW_MORE:return a(a({},t),{},{isVisible:!0,showMore:!0});case l.SHOW_MORE_SHARE:return a(a({},t),{},{showShare:!0});case l.HIDE_MORE:return a(a({},t),{},{isVisible:!1,showMore:!1});case l.HIDE_MORE_SHARE:return a(a({},t),{},{showShare:!1});case l.TOGGLE_SOUND:return a(a({},t),{},{muted:!t.muted});case l.SHOW_SHOPPABLE_LIST:return a(a({},t),{},{toggleShoppableList:!0,isVisible:!0});case l.HIDE_SHOPPABLE_LIST:return a(a({},t),{},{toggleShoppableList:!1,isVisible:!1});case l.SET_SHOPPABLE_LIST:return a(a({},t),{},{shoppableList:e.payload.shoppableList});case l.TOGGLE_PANEL_HEADER:return a(a({},t),{},{showHeader:e.payload.showHeader});case l.SET_IS_LOADING_IN_PROGRESS:return a(a({},t),{},{isLoadingInProgress:e.payload.isLoadingInProgress});case l.TOGGLE_SHOPPABLE_LOADING:return a(a({},t),{},{isShoppableLoading:e.payload.loading});case l.ADD_SUBSCRIPTION:return a(a({},t),{},{subscriptionId:e.payload.subscriptionId});case l.ERROR_ON_PRODUCT:return a(a({},t),{},{errorOnProduct:e.payload.errorOnProduct});default:return t}}},4841:(t,e,r)=>{var n=r(4783)(t.id,{locals:!1});t.hot.dispose(n),t.hot.accept(void 0,n)},9722:(t,e,r)=>{var n=r(4783)(t.id,{locals:!1});t.hot.dispose(n),t.hot.accept(void 0,n)}},__webpack_module_cache__={};function __webpack_require__(t){var e=__webpack_module_cache__[t];if(void 0!==e){if(void 0!==e.error)throw e.error;return e.exports}var r=__webpack_module_cache__[t]={id:t,exports:{}};try{var n={id:t,module:r,factory:__webpack_modules__[t],require:__webpack_require__};__webpack_require__.i.forEach((function(t){t(n)})),r=n.module,n.factory.call(r.exports,r,r.exports,n.require)}catch(o){throw r.error=o,o}return r.exports}__webpack_require__.m=__webpack_modules__,__webpack_require__.c=__webpack_module_cache__,__webpack_require__.i=[],(()=>{var t=[];__webpack_require__.O=(e,r,n,o)=>{if(!r){var i=1/0;for(u=0;u<t.length;u++){for(var[r,n,o]=t[u],a=!0,c=0;c<r.length;c++)(!1&o||i>=o)&&Object.keys(__webpack_require__.O).every((t=>__webpack_require__.O[t](r[c])))?r.splice(c--,1):(a=!1,o<i&&(i=o));if(a){t.splice(u--,1);var l=n();void 0!==l&&(e=l)}}return e}o=o||0;for(var u=t.length;u>0&&t[u-1][2]>o;u--)t[u]=t[u-1];t[u]=[r,n,o]}})(),__webpack_require__.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return __webpack_require__.d(e,{a:e}),e},__webpack_require__.d=(t,e)=>{for(var r in e)__webpack_require__.o(e,r)&&!__webpack_require__.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},__webpack_require__.hu=t=>t+"."+__webpack_require__.h()+".hot-update.js",__webpack_require__.miniCssF=t=>{},__webpack_require__.hmrF=()=>"client."+__webpack_require__.h()+".hot-update.json",__webpack_require__.h=()=>"d1e0f116bab5ee6d0a73",__webpack_require__.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"===typeof window)return window}}(),__webpack_require__.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),(()=>{var t={},e="videowise-widget:";__webpack_require__.l=(r,n,o,i)=>{if(t[r])t[r].push(n);else{var a,c;if(void 0!==o)for(var l=document.getElementsByTagName("script"),u=0;u<l.length;u++){var s=l[u];if(s.getAttribute("src")==r||s.getAttribute("data-webpack")==e+o){a=s;break}}a||(c=!0,(a=document.createElement("script")).charset="utf-8",a.timeout=120,__webpack_require__.nc&&a.setAttribute("nonce",__webpack_require__.nc),a.setAttribute("data-webpack",e+o),a.src=r),t[r]=[n];var d=(e,n)=>{a.onerror=a.onload=null,clearTimeout(p);var o=t[r];if(delete t[r],a.parentNode&&a.parentNode.removeChild(a),o&&o.forEach((t=>t(n))),e)return e(n)},p=setTimeout(d.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=d.bind(null,a.onerror),a.onload=d.bind(null,a.onload),c&&document.head.appendChild(a)}}})(),__webpack_require__.r=t=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},(()=>{var t,e,r,n={},o=__webpack_require__.c,i=[],a=[],c="idle",l=0,u=[];function s(t){c=t;for(var e=[],r=0;r<a.length;r++)e[r]=a[r].call(null,t);return Promise.all(e)}function d(){0===--l&&s("ready").then((function(){if(0===l){var t=u;u=[];for(var e=0;e<t.length;e++)t[e]()}}))}function p(t){if("idle"!==c)throw new Error("check() is only allowed in idle status");return s("check").then(__webpack_require__.hmrM).then((function(r){return r?s("prepare").then((function(){var n=[];return e=[],Promise.all(Object.keys(__webpack_require__.hmrC).reduce((function(t,o){return __webpack_require__.hmrC[o](r.c,r.r,r.m,t,e,n),t}),[])).then((function(){return e=function(){return t?h(t):s("ready").then((function(){return n}))},0===l?e():new Promise((function(t){u.push((function(){t(e())}))}));var e}))})):s(v()?"ready":"idle").then((function(){return null}))}))}function f(t){return"ready"!==c?Promise.resolve().then((function(){throw new Error("apply() is only allowed in ready status (state: "+c+")")})):h(t)}function h(t){t=t||{},v();var n=e.map((function(e){return e(t)}));e=void 0;var o=n.map((function(t){return t.error})).filter(Boolean);if(o.length>0)return s("abort").then((function(){throw o[0]}));var i=s("dispose");n.forEach((function(t){t.dispose&&t.dispose()}));var a,c=s("apply"),l=function(t){a||(a=t)},u=[];return n.forEach((function(t){if(t.apply){var e=t.apply(l);if(e)for(var r=0;r<e.length;r++)u.push(e[r])}})),Promise.all([i,c]).then((function(){return a?s("fail").then((function(){throw a})):r?h(t).then((function(t){return u.forEach((function(e){t.indexOf(e)<0&&t.push(e)})),t})):s("idle").then((function(){return u}))}))}function v(){if(r)return e||(e=[]),Object.keys(__webpack_require__.hmrI).forEach((function(t){r.forEach((function(r){__webpack_require__.hmrI[t](r,e)}))})),r=void 0,!0}__webpack_require__.hmrD=n,__webpack_require__.i.push((function(u){var h=u.module,v=function(e,r){var n=o[r];if(!n)return e;var a=function(a){if(n.hot.active){if(o[a]){var c=o[a].parents;-1===c.indexOf(r)&&c.push(r)}else i=[r],t=a;-1===n.children.indexOf(a)&&n.children.push(a)}else console.warn("[HMR] unexpected require("+a+") from disposed module "+r),i=[];return e(a)},u=function(t){return{configurable:!0,enumerable:!0,get:function(){return e[t]},set:function(r){e[t]=r}}};for(var p in e)Object.prototype.hasOwnProperty.call(e,p)&&"e"!==p&&Object.defineProperty(a,p,u(p));return a.e=function(t){return function(t){switch(c){case"ready":s("prepare");case"prepare":return l++,t.then(d,d),t;default:return t}}(e.e(t))},a}(u.require,u.id);h.hot=function(o,l){var u=t!==o,d={_acceptedDependencies:{},_acceptedErrorHandlers:{},_declinedDependencies:{},_selfAccepted:!1,_selfDeclined:!1,_selfInvalidated:!1,_disposeHandlers:[],_main:u,_requireSelf:function(){i=l.parents.slice(),t=u?void 0:o,__webpack_require__(o)},active:!0,accept:function(t,e,r){if(void 0===t)d._selfAccepted=!0;else if("function"===typeof t)d._selfAccepted=t;else if("object"===typeof t&&null!==t)for(var n=0;n<t.length;n++)d._acceptedDependencies[t[n]]=e||function(){},d._acceptedErrorHandlers[t[n]]=r;else d._acceptedDependencies[t]=e||function(){},d._acceptedErrorHandlers[t]=r},decline:function(t){if(void 0===t)d._selfDeclined=!0;else if("object"===typeof t&&null!==t)for(var e=0;e<t.length;e++)d._declinedDependencies[t[e]]=!0;else d._declinedDependencies[t]=!0},dispose:function(t){d._disposeHandlers.push(t)},addDisposeHandler:function(t){d._disposeHandlers.push(t)},removeDisposeHandler:function(t){var e=d._disposeHandlers.indexOf(t);e>=0&&d._disposeHandlers.splice(e,1)},invalidate:function(){switch(this._selfInvalidated=!0,c){case"idle":e=[],Object.keys(__webpack_require__.hmrI).forEach((function(t){__webpack_require__.hmrI[t](o,e)})),s("ready");break;case"ready":Object.keys(__webpack_require__.hmrI).forEach((function(t){__webpack_require__.hmrI[t](o,e)}));break;case"prepare":case"check":case"dispose":case"apply":(r=r||[]).push(o)}},check:p,apply:f,status:function(t){if(!t)return c;a.push(t)},addStatusHandler:function(t){a.push(t)},removeStatusHandler:function(t){var e=a.indexOf(t);e>=0&&a.splice(e,1)},data:n[o]};return t=void 0,d}(u.id,h),h.parents=i,h.children=[],i=[],u.require=v})),__webpack_require__.hmrC={},__webpack_require__.hmrI={}})(),(()=>{var t;__webpack_require__.g.importScripts&&(t=__webpack_require__.g.location+"");var e=__webpack_require__.g.document;if(!t&&e&&(e.currentScript&&(t=e.currentScript.src),!t)){var r=e.getElementsByTagName("script");r.length&&(t=r[r.length-1].src)}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),__webpack_require__.p=t})(),(()=>{var t=(t,e,r,n)=>{var o=document.createElement("link");o.rel="stylesheet",o.type="text/css";return o.onerror=o.onload=i=>{if(o.onerror=o.onload=null,"load"===i.type)r();else{var a=i&&("load"===i.type?"missing":i.type),c=i&&i.target&&i.target.href||e,l=new Error("Loading CSS chunk "+t+" failed.\n("+c+")");l.code="CSS_CHUNK_LOAD_FAILED",l.type=a,l.request=c,o.parentNode.removeChild(o),n(l)}},o.href=e,document.head.appendChild(o),o},e=(t,e)=>{for(var r=document.getElementsByTagName("link"),n=0;n<r.length;n++){var o=(a=r[n]).getAttribute("data-href")||a.getAttribute("href");if("stylesheet"===a.rel&&(o===t||o===e))return a}var i=document.getElementsByTagName("style");for(n=0;n<i.length;n++){var a;if((o=(a=i[n]).getAttribute("data-href"))===t||o===e)return a}},r=[],n=[],o=t=>({dispose:()=>{for(var t=0;t<r.length;t++){var e=r[t];e.parentNode&&e.parentNode.removeChild(e)}r.length=0},apply:()=>{for(var t=0;t<n.length;t++)n[t].rel="stylesheet";n.length=0}});__webpack_require__.hmrC.miniCss=(i,a,c,l,u,s)=>{u.push(o),i.forEach((o=>{var i=__webpack_require__.miniCssF(o),a=__webpack_require__.p+i,c=e(i,a);c&&l.push(new Promise(((e,i)=>{var l=t(o,a,(()=>{l.as="style",l.rel="preload",e()}),i);r.push(c),n.push(l)})))}))}})(),(()=>{var t,e,r,n,o,i=__webpack_require__.hmrS_jsonp=__webpack_require__.hmrS_jsonp||{47:0},a={};function c(e,r){return t=r,new Promise(((t,r)=>{a[e]=t;var n=__webpack_require__.p+__webpack_require__.hu(e),o=new Error;__webpack_require__.l(n,(t=>{if(a[e]){a[e]=void 0;var n=t&&("load"===t.type?"missing":t.type),i=t&&t.target&&t.target.src;o.message="Loading hot update chunk "+e+" failed.\n("+n+": "+i+")",o.name="ChunkLoadError",o.type=n,o.request=i,r(o)}}))}))}function l(t){function a(t){for(var e=[t],r={},n=e.map((function(t){return{chain:[t],id:t}}));n.length>0;){var o=n.pop(),i=o.id,a=o.chain,l=__webpack_require__.c[i];if(l&&(!l.hot._selfAccepted||l.hot._selfInvalidated)){if(l.hot._selfDeclined)return{type:"self-declined",chain:a,moduleId:i};if(l.hot._main)return{type:"unaccepted",chain:a,moduleId:i};for(var u=0;u<l.parents.length;u++){var s=l.parents[u],d=__webpack_require__.c[s];if(d){if(d.hot._declinedDependencies[i])return{type:"declined",chain:a.concat([s]),moduleId:i,parentId:s};-1===e.indexOf(s)&&(d.hot._acceptedDependencies[i]?(r[s]||(r[s]=[]),c(r[s],[i])):(delete r[s],e.push(s),n.push({chain:a.concat([s]),id:s})))}}}}return{type:"accepted",moduleId:t,outdatedModules:e,outdatedDependencies:r}}function c(t,e){for(var r=0;r<e.length;r++){var n=e[r];-1===t.indexOf(n)&&t.push(n)}}__webpack_require__.f&&delete __webpack_require__.f.jsonpHmr,e=void 0;var l={},u=[],s={},d=function(t){console.warn("[HMR] unexpected require("+t.id+") to disposed module")};for(var p in r)if(__webpack_require__.o(r,p)){var f,h=r[p],v=!1,y=!1,m=!1,w="";switch((f=h?a(p):{type:"disposed",moduleId:p}).chain&&(w="\nUpdate propagation: "+f.chain.join(" -> ")),f.type){case"self-declined":t.onDeclined&&t.onDeclined(f),t.ignoreDeclined||(v=new Error("Aborted because of self decline: "+f.moduleId+w));break;case"declined":t.onDeclined&&t.onDeclined(f),t.ignoreDeclined||(v=new Error("Aborted because of declined dependency: "+f.moduleId+" in "+f.parentId+w));break;case"unaccepted":t.onUnaccepted&&t.onUnaccepted(f),t.ignoreUnaccepted||(v=new Error("Aborted because "+p+" is not accepted"+w));break;case"accepted":t.onAccepted&&t.onAccepted(f),y=!0;break;case"disposed":t.onDisposed&&t.onDisposed(f),m=!0;break;default:throw new Error("Unexception type "+f.type)}if(v)return{error:v};if(y)for(p in s[p]=h,c(u,f.outdatedModules),f.outdatedDependencies)__webpack_require__.o(f.outdatedDependencies,p)&&(l[p]||(l[p]=[]),c(l[p],f.outdatedDependencies[p]));m&&(c(u,[f.moduleId]),s[p]=d)}r=void 0;for(var g,_=[],b=0;b<u.length;b++){var C=u[b],x=__webpack_require__.c[C];x&&(x.hot._selfAccepted||x.hot._main)&&s[C]!==d&&!x.hot._selfInvalidated&&_.push({module:C,require:x.hot._requireSelf,errorHandler:x.hot._selfAccepted})}return{dispose:function(){var t;n.forEach((function(t){delete i[t]})),n=void 0;for(var e,r=u.slice();r.length>0;){var o=r.pop(),a=__webpack_require__.c[o];if(a){var c={},s=a.hot._disposeHandlers;for(b=0;b<s.length;b++)s[b].call(null,c);for(__webpack_require__.hmrD[o]=c,a.hot.active=!1,delete __webpack_require__.c[o],delete l[o],b=0;b<a.children.length;b++){var d=__webpack_require__.c[a.children[b]];d&&((t=d.parents.indexOf(o))>=0&&d.parents.splice(t,1))}}}for(var p in l)if(__webpack_require__.o(l,p)&&(a=__webpack_require__.c[p]))for(g=l[p],b=0;b<g.length;b++)e=g[b],(t=a.children.indexOf(e))>=0&&a.children.splice(t,1)},apply:function(e){for(var r in s)__webpack_require__.o(s,r)&&(__webpack_require__.m[r]=s[r]);for(var n=0;n<o.length;n++)o[n](__webpack_require__);for(var i in l)if(__webpack_require__.o(l,i)){var a=__webpack_require__.c[i];if(a){g=l[i];for(var c=[],d=[],p=[],f=0;f<g.length;f++){var h=g[f],v=a.hot._acceptedDependencies[h],y=a.hot._acceptedErrorHandlers[h];if(v){if(-1!==c.indexOf(v))continue;c.push(v),d.push(y),p.push(h)}}for(var m=0;m<c.length;m++)try{c[m].call(null,g)}catch(x){if("function"===typeof d[m])try{d[m](x,{moduleId:i,dependencyId:p[m]})}catch(O){t.onErrored&&t.onErrored({type:"accept-error-handler-errored",moduleId:i,dependencyId:p[m],error:O,originalError:x}),t.ignoreErrored||(e(O),e(x))}else t.onErrored&&t.onErrored({type:"accept-errored",moduleId:i,dependencyId:p[m],error:x}),t.ignoreErrored||e(x)}}}for(var w=0;w<_.length;w++){var b=_[w],C=b.module;try{b.require(C)}catch(x){if("function"===typeof b.errorHandler)try{b.errorHandler(x,{moduleId:C,module:__webpack_require__.c[C]})}catch(O){t.onErrored&&t.onErrored({type:"self-accept-error-handler-errored",moduleId:C,error:O,originalError:x}),t.ignoreErrored||(e(O),e(x))}else t.onErrored&&t.onErrored({type:"self-accept-errored",moduleId:C,error:x}),t.ignoreErrored||e(x)}}return u}}}self.webpackHotUpdatevideowise_widget=(e,n,i)=>{for(var c in n)__webpack_require__.o(n,c)&&(r[c]=n[c],t&&t.push(c));i&&o.push(i),a[e]&&(a[e](),a[e]=void 0)},__webpack_require__.hmrI.jsonp=function(t,e){r||(r={},o=[],n=[],e.push(l)),__webpack_require__.o(r,t)||(r[t]=__webpack_require__.m[t])},__webpack_require__.hmrC.jsonp=function(t,a,u,s,d,p){d.push(l),e={},n=a,r=u.reduce((function(t,e){return t[e]=!1,t}),{}),o=[],t.forEach((function(t){__webpack_require__.o(i,t)&&void 0!==i[t]?(s.push(c(t,p)),e[t]=!0):e[t]=!1})),__webpack_require__.f&&(__webpack_require__.f.jsonpHmr=function(t,r){e&&__webpack_require__.o(e,t)&&!e[t]&&(r.push(c(t)),e[t]=!0)})},__webpack_require__.hmrM=()=>{if("undefined"===typeof fetch)throw new Error("No browser support: need fetch API");return fetch(__webpack_require__.p+__webpack_require__.hmrF()).then((t=>{if(404!==t.status){if(!t.ok)throw new Error("Failed to fetch update manifest "+t.statusText);return t.json()}}))},__webpack_require__.O.j=t=>0===i[t];var u=(t,e)=>{var r,n,[o,a,c]=e,l=0;if(o.some((t=>0!==i[t]))){for(r in a)__webpack_require__.o(a,r)&&(__webpack_require__.m[r]=a[r]);if(c)var u=c(__webpack_require__)}for(t&&t(e);l<o.length;l++)n=o[l],__webpack_require__.o(i,n)&&i[n]&&i[n][0](),i[n]=0;return __webpack_require__.O(u)},s=self.webpackChunkvideowise_widget=self.webpackChunkvideowise_widget||[];s.forEach(u.bind(null,0)),s.push=u.bind(null,s.push.bind(s))})(),__webpack_require__.nc=void 0;var __webpack_exports__=__webpack_require__.O(void 0,[110],(()=>__webpack_require__(6675)));__webpack_exports__=__webpack_require__.O(__webpack_exports__)})();