whatmore-react-assets 1.0.1299 → 1.0.1301

Sign up to get free protection for your applications and to get access to all the features.
Files changed (34) hide show
  1. package/package.json +1 -1
  2. package/static/js/176.e19c4598.chunk.js +1 -0
  3. package/static/js/{561.95fd0242.chunk.js → 187.fcd3ecdb.chunk.js} +1 -1
  4. package/static/js/707.66345c25.chunk.js +1 -0
  5. package/static/js/731.f5b61eef.chunk.js +1 -0
  6. package/static/js/733.fb0f17db.chunk.js +1 -0
  7. package/static/js/751.52978e12.chunk.js +1 -0
  8. package/static/js/{766.34cacee5.chunk.js → 766.6e916a48.chunk.js} +1 -1
  9. package/static/js/{348.93ee09e1.chunk.js → 818.ff66b0ed.chunk.js} +1 -1
  10. package/static/js/{app-main.3e268a17.chunk.js → app-main.c0eb6d81.chunk.js} +1 -1
  11. package/static/js/banner-template-a.ee9d8d2a.chunk.js +1 -0
  12. package/static/js/carousel-template-b.834c6804.chunk.js +1 -0
  13. package/static/js/carousel-template-feed.02482d32.chunk.js +1 -0
  14. package/static/js/carousel-template-g.7aba85e6.chunk.js +1 -0
  15. package/static/js/collections-template-a.a8560ea0.chunk.js +1 -0
  16. package/static/js/collections-template-b.6002ec37.chunk.js +1 -0
  17. package/static/js/{collections-template-c.bf95c46c.chunk.js → collections-template-c.1f104038.chunk.js} +1 -1
  18. package/static/js/collections-template-stories.c1489ae1.chunk.js +1 -0
  19. package/static/js/{homepage-carousel-view.70b9db43.chunk.js → homepage-carousel-view.7144e109.chunk.js} +1 -1
  20. package/static/js/{product-page-view.067016f3.chunk.js → product-page-view.5184925d.chunk.js} +1 -1
  21. package/static/js/{spotlight-view.499587ab.chunk.js → spotlight-view.0d2f5306.chunk.js} +1 -1
  22. package/whatmore.js +2 -2
  23. package/static/js/302.41f7dffe.chunk.js +0 -1
  24. package/static/js/731.d4347a2a.chunk.js +0 -1
  25. package/static/js/733.5fda0dc5.chunk.js +0 -1
  26. package/static/js/751.a6abe3c2.chunk.js +0 -1
  27. package/static/js/800.c7823305.chunk.js +0 -2
  28. package/static/js/banner-template-a.694d41f8.chunk.js +0 -1
  29. package/static/js/carousel-template-b.c007bd37.chunk.js +0 -1
  30. package/static/js/carousel-template-feed.71618185.chunk.js +0 -1
  31. package/static/js/carousel-template-g.83d71046.chunk.js +0 -1
  32. package/static/js/collections-template-a.d79da3e9.chunk.js +0 -1
  33. package/static/js/collections-template-b.d191151d.chunk.js +0 -1
  34. package/static/js/collections-template-stories.9696a048.chunk.js +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "whatmore-react-assets",
3
- "version": "1.0.1299",
3
+ "version": "1.0.1301",
4
4
  "description": "public repo for all whatmore js and css assets",
5
5
  "main": "whatmore.js",
6
6
  "scripts": {
@@ -0,0 +1 @@
1
+ (self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[176],{2575:function(e,r,n){"use strict";n.d(r,{Z:function(){return te}});var i=function(){function e(e){var r=this;this._insertTag=function(e){var n;n=0===r.tags.length?r.insertionPoint?r.insertionPoint.nextSibling:r.prepend?r.container.firstChild:r.before:r.tags[r.tags.length-1].nextSibling,r.container.insertBefore(e,n),r.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var r=e.prototype;return r.hydrate=function(e){e.forEach(this._insertTag)},r.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(function(e){var r=document.createElement("style");return r.setAttribute("data-emotion",e.key),void 0!==e.nonce&&r.setAttribute("nonce",e.nonce),r.appendChild(document.createTextNode("")),r.setAttribute("data-s",""),r}(this));var r=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var r=0;r<document.styleSheets.length;r++)if(document.styleSheets[r].ownerNode===e)return document.styleSheets[r]}(r);try{n.insertRule(e,n.cssRules.length)}catch(i){0}}else r.appendChild(document.createTextNode(e));this.ctr++},r.flush=function(){this.tags.forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}(),t=Math.abs,o=String.fromCharCode,a=Object.assign;function s(e){return e.trim()}function c(e,r,n){return e.replace(r,n)}function u(e,r){return e.indexOf(r)}function l(e,r){return 0|e.charCodeAt(r)}function f(e,r,n){return e.slice(r,n)}function b(e){return e.length}function d(e){return e.length}function w(e,r){return r.push(e),e}var p=1,m=1,h=0,v=0,g=0,y="";function x(e,r,n,i,t,o,a){return{value:e,root:r,parent:n,type:i,props:t,children:o,line:p,column:m,length:a,return:""}}function k(e,r){return a(x("",null,null,"",null,null,0),e,{length:-e.length},r)}function O(){return g=v>0?l(y,--v):0,m--,10===g&&(m=1,p--),g}function S(){return g=v<h?l(y,v++):0,m++,10===g&&(m=1,p++),g}function C(){return l(y,v)}function A(){return v}function P(e,r){return f(y,e,r)}function _(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function j(e){return p=m=1,h=b(y=e),v=0,[]}function E(e){return y="",e}function I(e){return s(P(v-1,$(91===e?e+2:40===e?e+1:e)))}function T(e){for(;(g=C())&&g<33;)S();return _(e)>2||_(g)>3?"":" "}function M(e,r){for(;--r&&S()&&!(g<48||g>102||g>57&&g<65||g>70&&g<97););return P(e,A()+(r<6&&32==C()&&32==S()))}function $(e){for(;S();)switch(g){case e:return v;case 34:case 39:34!==e&&39!==e&&$(g);break;case 40:41===e&&$(e);break;case 92:S()}return v}function N(e,r){for(;S()&&e+g!==57&&(e+g!==84||47!==C()););return"/*"+P(r,v-1)+"*"+o(47===e?e:S())}function U(e){for(;!_(C());)S();return P(e,v)}var z="-ms-",B="-moz-",q="-webkit-",R="comm",W="rule",D="decl",V="@keyframes";function G(e,r){for(var n="",i=d(e),t=0;t<i;t++)n+=r(e[t],t,e,r)||"";return n}function F(e,r,n,i){switch(e.type){case"@import":case D:return e.return=e.return||e.value;case R:return"";case V:return e.return=e.value+"{"+G(e.children,i)+"}";case W:e.value=e.props.join(",")}return b(n=G(e.children,i))?e.return=e.value+"{"+n+"}":""}function L(e,r){switch(function(e,r){return(((r<<2^l(e,0))<<2^l(e,1))<<2^l(e,2))<<2^l(e,3)}(e,r)){case 5103:return q+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return q+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return q+e+B+e+z+e+e;case 6828:case 4268:return q+e+z+e+e;case 6165:return q+e+z+"flex-"+e+e;case 5187:return q+e+c(e,/(\w+).+(:[^]+)/,"-webkit-box-$1$2-ms-flex-$1$2")+e;case 5443:return q+e+z+"flex-item-"+c(e,/flex-|-self/,"")+e;case 4675:return q+e+z+"flex-line-pack"+c(e,/align-content|flex-|-self/,"")+e;case 5548:return q+e+z+c(e,"shrink","negative")+e;case 5292:return q+e+z+c(e,"basis","preferred-size")+e;case 6060:return q+"box-"+c(e,"-grow","")+q+e+z+c(e,"grow","positive")+e;case 4554:return q+c(e,/([^-])(transform)/g,"$1-webkit-$2")+e;case 6187:return c(c(c(e,/(zoom-|grab)/,q+"$1"),/(image-set)/,q+"$1"),e,"")+e;case 5495:case 3959:return c(e,/(image-set\([^]*)/,q+"$1$`$1");case 4968:return c(c(e,/(.+:)(flex-)?(.*)/,"-webkit-box-pack:$3-ms-flex-pack:$3"),/s.+-b[^;]+/,"justify")+q+e+e;case 4095:case 3583:case 4068:case 2532:return c(e,/(.+)-inline(.+)/,q+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(b(e)-1-r>6)switch(l(e,r+1)){case 109:if(45!==l(e,r+4))break;case 102:return c(e,/(.+:)(.+)-([^]+)/,"$1-webkit-$2-$3$1"+B+(108==l(e,r+3)?"$3":"$2-$3"))+e;case 115:return~u(e,"stretch")?L(c(e,"stretch","fill-available"),r)+e:e}break;case 4949:if(115!==l(e,r+1))break;case 6444:switch(l(e,b(e)-3-(~u(e,"!important")&&10))){case 107:return c(e,":",":"+q)+e;case 101:return c(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+q+(45===l(e,14)?"inline-":"")+"box$3$1"+q+"$2$3$1"+z+"$2box$3")+e}break;case 5936:switch(l(e,r+11)){case 114:return q+e+z+c(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return q+e+z+c(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return q+e+z+c(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return q+e+z+e+e}return e}function Z(e){return E(H("",null,null,null,[""],e=j(e),0,[0],e))}function H(e,r,n,i,t,a,s,l,f){for(var d=0,p=0,m=s,h=0,v=0,g=0,y=1,x=1,k=1,P=0,_="",j=t,E=a,$=i,z=_;x;)switch(g=P,P=S()){case 40:if(108!=g&&58==z.charCodeAt(m-1)){-1!=u(z+=c(I(P),"&","&\f"),"&\f")&&(k=-1);break}case 34:case 39:case 91:z+=I(P);break;case 9:case 10:case 13:case 32:z+=T(g);break;case 92:z+=M(A()-1,7);continue;case 47:switch(C()){case 42:case 47:w(X(N(S(),A()),r,n),f);break;default:z+="/"}break;case 123*y:l[d++]=b(z)*k;case 125*y:case 59:case 0:switch(P){case 0:case 125:x=0;case 59+p:v>0&&b(z)-m&&w(v>32?K(z+";",i,n,m-1):K(c(z," ","")+";",i,n,m-2),f);break;case 59:z+=";";default:if(w($=Y(z,r,n,d,p,t,l,_,j=[],E=[],m),a),123===P)if(0===p)H(z,r,$,$,j,a,m,l,E);else switch(h){case 100:case 109:case 115:H(e,$,$,i&&w(Y(e,$,$,0,0,t,l,_,t,j=[],m),E),t,E,m,l,i?j:E);break;default:H(z,$,$,$,[""],E,0,l,E)}}d=p=v=0,y=k=1,_=z="",m=s;break;case 58:m=1+b(z),v=g;default:if(y<1)if(123==P)--y;else if(125==P&&0==y++&&125==O())continue;switch(z+=o(P),P*y){case 38:k=p>0?1:(z+="\f",-1);break;case 44:l[d++]=(b(z)-1)*k,k=1;break;case 64:45===C()&&(z+=I(S())),h=C(),p=m=b(_=z+=U(A())),P++;break;case 45:45===g&&2==b(z)&&(y=0)}}return a}function Y(e,r,n,i,o,a,u,l,b,w,p){for(var m=o-1,h=0===o?a:[""],v=d(h),g=0,y=0,k=0;g<i;++g)for(var O=0,S=f(e,m+1,m=t(y=u[g])),C=e;O<v;++O)(C=s(y>0?h[O]+" "+S:c(S,/&\f/g,h[O])))&&(b[k++]=C);return x(e,r,n,0===o?W:l,b,w,p)}function X(e,r,n){return x(e,r,n,R,o(g),f(e,2,-2),0)}function K(e,r,n,i){return x(e,r,n,D,f(e,0,i),f(e,i+1,-1),i)}var Q=function(e,r,n){for(var i=0,t=0;i=t,t=C(),38===i&&12===t&&(r[n]=1),!_(t);)S();return P(e,v)},J=function(e,r){return E(function(e,r){var n=-1,i=44;do{switch(_(i)){case 0:38===i&&12===C()&&(r[n]=1),e[n]+=Q(v-1,r,n);break;case 2:e[n]+=I(i);break;case 4:if(44===i){e[++n]=58===C()?"&\f":"",r[n]=e[n].length;break}default:e[n]+=o(i)}}while(i=S());return e}(j(e),r))},ee=new WeakMap,re=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var r=e.value,n=e.parent,i=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===r.charCodeAt(0)||ee.get(n))&&!i){ee.set(e,!0);for(var t=[],o=J(r,t),a=n.props,s=0,c=0;s<o.length;s++)for(var u=0;u<a.length;u++,c++)e.props[c]=t[s]?o[s].replace(/&\f/g,a[u]):a[u]+" "+o[s]}}},ne=function(e){if("decl"===e.type){var r=e.value;108===r.charCodeAt(0)&&98===r.charCodeAt(2)&&(e.return="",e.value="")}},ie=[function(e,r,n,i){if(e.length>-1&&!e.return)switch(e.type){case D:e.return=L(e.value,e.length);break;case V:return G([k(e,{value:c(e.value,"@","@"+q)})],i);case W:if(e.length)return function(e,r){return e.map(r).join("")}(e.props,(function(r){switch(function(e,r){return(e=r.exec(e))?e[0]:e}(r,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return G([k(e,{props:[c(r,/:(read-\w+)/,":-moz-$1")]})],i);case"::placeholder":return G([k(e,{props:[c(r,/:(plac\w+)/,":-webkit-input-$1")]}),k(e,{props:[c(r,/:(plac\w+)/,":-moz-$1")]}),k(e,{props:[c(r,/:(plac\w+)/,z+"input-$1")]})],i)}return""}))}}],te=function(e){var r=e.key;if("css"===r){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var t=e.stylisPlugins||ie;var o,a,s={},c=[];o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),(function(e){for(var r=e.getAttribute("data-emotion").split(" "),n=1;n<r.length;n++)s[r[n]]=!0;c.push(e)}));var u,l,f=[F,(l=function(e){u.insert(e)},function(e){e.root||(e=e.return)&&l(e)})],b=function(e){var r=d(e);return function(n,i,t,o){for(var a="",s=0;s<r;s++)a+=e[s](n,i,t,o)||"";return a}}([re,ne].concat(t,f));a=function(e,r,n,i){u=n,G(Z(e?e+"{"+r.styles+"}":r.styles),b),i&&(w.inserted[r.name]=!0)};var w={key:r,sheet:new i({key:r,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:s,registered:{},insert:a};return w.sheet.hydrate(c),w}},9302:function(e,r,n){"use strict";n.d(r,{C:function(){return u},T:function(){return f},b:function(){return d},w:function(){return l}});var i=n(7313),t=n.t(i,2),o=n(2575),a=n(7462),s=function(e){var r=new WeakMap;return function(n){if(r.has(n))return r.get(n);var i=e(n);return r.set(n,i),i}},c=(n(3752),(0,i.createContext)("undefined"!==typeof HTMLElement?(0,o.Z)({key:"css"}):null));var u=c.Provider,l=function(e){return(0,i.forwardRef)((function(r,n){var t=(0,i.useContext)(c);return e(r,t,n)}))},f=(0,i.createContext)({});var b=s((function(e){return s((function(r){return function(e,r){return"function"===typeof r?r(e):(0,a.Z)({},e,r)}(e,r)}))})),d=function(e){var r=(0,i.useContext)(f);return e.theme!==r&&(r=b(r)(e.theme)),(0,i.createElement)(f.Provider,{value:r},e.children)};t.useInsertionEffect&&t.useInsertionEffect},3752:function(e,r,n){"use strict";n.d(r,{O:function(){return w}});var i=function(e){for(var r,n=0,i=0,t=e.length;t>=4;++i,t-=4)r=1540483477*(65535&(r=255&e.charCodeAt(i)|(255&e.charCodeAt(++i))<<8|(255&e.charCodeAt(++i))<<16|(255&e.charCodeAt(++i))<<24))+(59797*(r>>>16)<<16),n=1540483477*(65535&(r^=r>>>24))+(59797*(r>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(t){case 3:n^=(255&e.charCodeAt(i+2))<<16;case 2:n^=(255&e.charCodeAt(i+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(i)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)},t={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};var o=/[A-Z]|^ms/g,a=/_EMO_([^_]+?)_([^]*?)_EMO_/g,s=function(e){return 45===e.charCodeAt(1)},c=function(e){return null!=e&&"boolean"!==typeof e},u=function(e){var r=Object.create(null);return function(n){return void 0===r[n]&&(r[n]=e(n)),r[n]}}((function(e){return s(e)?e:e.replace(o,"-$&").toLowerCase()})),l=function(e,r){switch(e){case"animation":case"animationName":if("string"===typeof r)return r.replace(a,(function(e,r,n){return b={name:r,styles:n,next:b},r}))}return 1===t[e]||s(e)||"number"!==typeof r||0===r?r:r+"px"};function f(e,r,n){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return b={name:n.name,styles:n.styles,next:b},n.name;if(void 0!==n.styles){var i=n.next;if(void 0!==i)for(;void 0!==i;)b={name:i.name,styles:i.styles,next:b},i=i.next;return n.styles+";"}return function(e,r,n){var i="";if(Array.isArray(n))for(var t=0;t<n.length;t++)i+=f(e,r,n[t])+";";else for(var o in n){var a=n[o];if("object"!==typeof a)null!=r&&void 0!==r[a]?i+=o+"{"+r[a]+"}":c(a)&&(i+=u(o)+":"+l(o,a)+";");else if(!Array.isArray(a)||"string"!==typeof a[0]||null!=r&&void 0!==r[a[0]]){var s=f(e,r,a);switch(o){case"animation":case"animationName":i+=u(o)+":"+s+";";break;default:i+=o+"{"+s+"}"}}else for(var b=0;b<a.length;b++)c(a[b])&&(i+=u(o)+":"+l(o,a[b])+";")}return i}(e,r,n);case"function":if(void 0!==e){var t=b,o=n(e);return b=t,f(e,r,o)}}if(null==r)return n;var a=r[n];return void 0!==a?a:n}var b,d=/label:\s*([^\s;\n{]+)\s*(;|$)/g;var w=function(e,r,n){if(1===e.length&&"object"===typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var t=!0,o="";b=void 0;var a=e[0];null==a||void 0===a.raw?(t=!1,o+=f(n,r,a)):o+=a[0];for(var s=1;s<e.length;s++)o+=f(n,r,e[s]),t&&(o+=a[s]);d.lastIndex=0;for(var c,u="";null!==(c=d.exec(o));)u+="-"+c[1];return{name:i(o)+u,styles:o,next:b}}},4862:function(e,r,n){"use strict";var i,t=n(7313),o=(i=t)&&"object"===typeof i&&"default"in i?i.default:i,a=n(1663),s=new a,c=s.getBrowser(),u=s.getCPU(),l=s.getDevice(),f=s.getEngine(),b=s.getOS(),d=s.getUA(),w=function(e){return s.setUA(e)},p=function(e){if(e){var r=new a(e);return{UA:r,browser:r.getBrowser(),cpu:r.getCPU(),device:r.getDevice(),engine:r.getEngine(),os:r.getOS(),ua:r.getUA(),setUserAgent:function(e){return r.setUA(e)}}}console.error("No userAgent string was provided")},m=Object.freeze({ClientUAInstance:s,browser:c,cpu:u,device:l,engine:f,os:b,ua:d,setUa:w,parseUserAgent:p});function h(e,r){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);r&&(i=i.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),n.push.apply(n,i)}return n}function v(e){return v="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},v(e)}function g(e,r){for(var n=0;n<r.length;n++){var i=r[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function y(e,r,n){return r in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,e}function x(){return x=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var n=arguments[r];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},x.apply(this,arguments)}function k(e){return k=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},k(e)}function O(e,r){return O=Object.setPrototypeOf||function(e,r){return e.__proto__=r,e},O(e,r)}function S(e,r){if(null==e)return{};var n,i,t=function(e,r){if(null==e)return{};var n,i,t={},o=Object.keys(e);for(i=0;i<o.length;i++)n=o[i],r.indexOf(n)>=0||(t[n]=e[n]);return t}(e,r);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)n=o[i],r.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(t[n]=e[n])}return t}function C(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function A(e,r){return function(e){if(Array.isArray(e))return e}(e)||function(e,r){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var i,t,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(i=n.next()).done)&&(o.push(i.value),!r||o.length!==r);a=!0);}catch(c){s=!0,t=c}finally{try{a||null==n.return||n.return()}finally{if(s)throw t}}return o}(e,r)||function(e,r){if(!e)return;if("string"===typeof e)return P(e,r);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return P(e,r)}(e,r)||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 P(e,r){(null==r||r>e.length)&&(r=e.length);for(var n=0,i=new Array(r);n<r;n++)i[n]=e[n];return i}var _="mobile",j="tablet",E="smarttv",I="console",T="wearable",M="embedded",$=void 0,N={Chrome:"Chrome",Firefox:"Firefox",Opera:"Opera",Yandex:"Yandex",Safari:"Safari",InternetExplorer:"Internet Explorer",Edge:"Edge",Chromium:"Chromium",Ie:"IE",MobileSafari:"Mobile Safari",EdgeChromium:"Edge Chromium",MIUI:"MIUI Browser",SamsungBrowser:"Samsung Browser"},U={IOS:"iOS",Android:"Android",WindowsPhone:"Windows Phone",Windows:"Windows",MAC_OS:"Mac OS"},z={isMobile:!1,isTablet:!1,isBrowser:!1,isSmartTV:!1,isConsole:!1,isWearable:!1},B=function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"none";return e||r},q=function(){return!("undefined"===typeof window||!window.navigator&&!navigator)&&(window.navigator||navigator)},R=function(e){var r=q();return r&&r.platform&&(-1!==r.platform.indexOf(e)||"MacIntel"===r.platform&&r.maxTouchPoints>1&&!window.MSStream)},W=function(e,r,n,i){return function(e){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?h(Object(n),!0).forEach((function(r){y(e,r,n[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))}))}return e}({},e,{vendor:B(r.vendor),model:B(r.model),os:B(n.name),osVersion:B(n.version),ua:B(i)})};var D=function(e){return e.type===_},V=function(e){return e.type===j},G=function(e){var r=e.type;return r===_||r===j},F=function(e){return e.type===E},L=function(e){return e.type===$},Z=function(e){return e.type===T},H=function(e){return e.type===I},Y=function(e){return e.type===M},X=function(e){var r=e.vendor;return B(r)},K=function(e){var r=e.model;return B(r)},Q=function(e){var r=e.type;return B(r,"browser")},J=function(e){return e.name===U.Android},ee=function(e){return e.name===U.Windows},re=function(e){return e.name===U.MAC_OS},ne=function(e){return e.name===U.WindowsPhone},ie=function(e){return e.name===U.IOS},te=function(e){var r=e.version;return B(r)},oe=function(e){var r=e.name;return B(r)},ae=function(e){return e.name===N.Chrome},se=function(e){return e.name===N.Firefox},ce=function(e){return e.name===N.Chromium},ue=function(e){return e.name===N.Edge},le=function(e){return e.name===N.Yandex},fe=function(e){var r=e.name;return r===N.Safari||r===N.MobileSafari},be=function(e){return e.name===N.MobileSafari},de=function(e){return e.name===N.Opera},we=function(e){var r=e.name;return r===N.InternetExplorer||r===N.Ie},pe=function(e){return e.name===N.MIUI},me=function(e){return e.name===N.SamsungBrowser},he=function(e){var r=e.version;return B(r)},ve=function(e){var r=e.major;return B(r)},ge=function(e){var r=e.name;return B(r)},ye=function(e){var r=e.name;return B(r)},xe=function(e){var r=e.version;return B(r)},ke=function(){var e=q(),r=e&&e.userAgent&&e.userAgent.toLowerCase();return"string"===typeof r&&/electron/.test(r)},Oe=function(e){return"string"===typeof e&&-1!==e.indexOf("Edg/")},Se=function(){var e=q();return e&&(/iPad|iPhone|iPod/.test(e.platform)||"MacIntel"===e.platform&&e.maxTouchPoints>1)&&!window.MSStream},Ce=function(){return R("iPad")},Ae=function(){return R("iPhone")},Pe=function(){return R("iPod")},_e=function(e){return B(e)};function je(e){var r=e||m,n=r.device,i=r.browser,t=r.os,o=r.engine,a=r.ua;return{isSmartTV:F(n),isConsole:H(n),isWearable:Z(n),isEmbedded:Y(n),isMobileSafari:be(i)||Ce(),isChromium:ce(i),isMobile:G(n)||Ce(),isMobileOnly:D(n),isTablet:V(n)||Ce(),isBrowser:L(n),isDesktop:L(n),isAndroid:J(t),isWinPhone:ne(t),isIOS:ie(t)||Ce(),isChrome:ae(i),isFirefox:se(i),isSafari:fe(i),isOpera:de(i),isIE:we(i),osVersion:te(t),osName:oe(t),fullBrowserVersion:he(i),browserVersion:ve(i),browserName:ge(i),mobileVendor:X(n),mobileModel:K(n),engineName:ye(o),engineVersion:xe(o),getUA:_e(a),isEdge:ue(i)||Oe(a),isYandex:le(i),deviceType:Q(n),isIOS13:Se(),isIPad13:Ce(),isIPhone13:Ae(),isIPod13:Pe(),isElectron:ke(),isEdgeChromium:Oe(a),isLegacyEdge:ue(i)&&!Oe(a),isWindows:ee(t),isMacOs:re(t),isMIUI:pe(i),isSamsungBrowser:me(i)}}var Ee=F(l),Ie=H(l),Te=Z(l),Me=Y(l),$e=be(c)||Ce(),Ne=ce(c),Ue=G(l)||Ce(),ze=D(l),Be=V(l)||Ce(),qe=L(l),Re=L(l),We=J(b),De=ne(b),Ve=ie(b)||Ce(),Ge=ae(c),Fe=se(c),Le=fe(c),Ze=de(c),He=we(c),Ye=te(b),Xe=oe(b),Ke=he(c),Qe=ve(c),Je=ge(c),er=X(l),rr=K(l),nr=ye(f),ir=xe(f),tr=_e(d),or=ue(c)||Oe(d),ar=le(c),sr=Q(l),cr=Se(),ur=Ce(),lr=Ae(),fr=Pe(),br=ke(),dr=Oe(d),wr=ue(c)&&!Oe(d),pr=ee(b),mr=re(b),hr=pe(c),vr=me(c);function gr(e){var r=e||window.navigator.userAgent;return p(r)}r.nI=Re,r.G6=Le},1663:function(e,r,n){var i;!function(t,o){"use strict";var a="function",s="undefined",c="object",u="string",l="major",f="model",b="name",d="type",w="vendor",p="version",m="architecture",h="console",v="mobile",g="tablet",y="smarttv",x="wearable",k="embedded",O="Amazon",S="Apple",C="ASUS",A="BlackBerry",P="Firefox",_="Google",j="Huawei",E="LG",I="Microsoft",T="Motorola",M="Opera",$="Samsung",N="Sharp",U="Sony",z="Xiaomi",B="Zebra",q="Facebook",R="Chromium OS",W="Mac OS",D=function(e){for(var r={},n=0;n<e.length;n++)r[e[n].toUpperCase()]=e[n];return r},V=function(e,r){return typeof e===u&&-1!==G(r).indexOf(G(e))},G=function(e){return e.toLowerCase()},F=function(e,r){if(typeof e===u)return e=e.replace(/^\s\s*/,""),typeof r===s?e:e.substring(0,500)},L=function(e,r){for(var n,i,t,s,u,l,f=0;f<r.length&&!u;){var b=r[f],d=r[f+1];for(n=i=0;n<b.length&&!u&&b[n];)if(u=b[n++].exec(e))for(t=0;t<d.length;t++)l=u[++i],typeof(s=d[t])===c&&s.length>0?2===s.length?typeof s[1]==a?this[s[0]]=s[1].call(this,l):this[s[0]]=s[1]:3===s.length?typeof s[1]!==a||s[1].exec&&s[1].test?this[s[0]]=l?l.replace(s[1],s[2]):o:this[s[0]]=l?s[1].call(this,l,s[2]):o:4===s.length&&(this[s[0]]=l?s[3].call(this,l.replace(s[1],s[2])):o):this[s]=l||o;f+=2}},Z=function(e,r){for(var n in r)if(typeof r[n]===c&&r[n].length>0){for(var i=0;i<r[n].length;i++)if(V(r[n][i],e))return"?"===n?o:n}else if(V(r[n],e))return"?"===n?o:n;return r.hasOwnProperty("*")?r["*"]:e},H={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},Y={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[p,[b,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[p,[b,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[b,p],[/opios[\/ ]+([\w\.]+)/i],[p,[b,"Opera Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[p,[b,"Opera GX"]],[/\bopr\/([\w\.]+)/i],[p,[b,M]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[p,[b,"Baidu"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim)\s?(?:browser)?[\/ ]?([\w\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio)\/([-\w\.]+)/i,/(heytap|ovi)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[b,p],[/quark(?:pc)?\/([-\w\.]+)/i],[p,[b,"Quark"]],[/\bddg\/([\w\.]+)/i],[p,[b,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[p,[b,"UCBrowser"]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[p,[b,"WeChat"]],[/konqueror\/([\w\.]+)/i],[p,[b,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[p,[b,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[p,[b,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[p,[b,"Smart Lenovo Browser"]],[/(avast|avg)\/([\w\.]+)/i],[[b,/(.+)/,"$1 Secure Browser"],p],[/\bfocus\/([\w\.]+)/i],[p,[b,"Firefox Focus"]],[/\bopt\/([\w\.]+)/i],[p,[b,"Opera Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[p,[b,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[p,[b,"Dolphin"]],[/coast\/([\w\.]+)/i],[p,[b,"Opera Coast"]],[/miuibrowser\/([\w\.]+)/i],[p,[b,"MIUI Browser"]],[/fxios\/([-\w\.]+)/i],[p,[b,P]],[/\bqihu|(qi?ho?o?|360)browser/i],[[b,"360 Browser"]],[/\b(qq)\/([\w\.]+)/i],[[b,/(.+)/,"$1Browser"],p],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[b,/(.+)/,"$1 Browser"],p],[/samsungbrowser\/([\w\.]+)/i],[p,[b,"Samsung Internet"]],[/(comodo_dragon)\/([\w\.]+)/i],[[b,/_/g," "],p],[/metasr[\/ ]?([\d\.]+)/i],[p,[b,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[b,"Sogou Mobile"],p],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345Explorer)[\/ ]?([\w\.]+)/i],[b,p],[/(lbbrowser|rekonq)/i,/\[(linkedin)app\]/i],[b],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[b,q],p],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[b,p],[/\bgsa\/([\w\.]+) .*safari\//i],[p,[b,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[p,[b,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[p,[b,"Chrome Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[b,"Chrome WebView"],p],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[p,[b,"Android Browser"]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[b,p],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[p,[b,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[p,b],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[b,[p,Z,{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\/([\w\.]+)/i],[b,p],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[b,"Netscape"],p],[/(wolvic)\/([\w\.]+)/i],[b,p],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[p,[b,"Firefox Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i],[b,[p,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[b,[p,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[m,"amd64"]],[/(ia32(?=;))/i],[[m,G]],[/((?:i[346]|x)86)[;\)]/i],[[m,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[m,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[m,"armhf"]],[/windows (ce|mobile); ppc;/i],[[m,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[m,/ower/,"",G]],[/(sun4\w)[;\)]/i],[[m,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[m,G]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[f,[w,$],[d,g]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr])[-\w]+)/i,/sec-(sgh\w+)/i],[f,[w,$],[d,v]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[f,[w,S],[d,v]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[f,[w,S],[d,g]],[/(macintosh);/i],[f,[w,S]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[f,[w,N],[d,v]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[f,[w,j],[d,g]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[f,[w,j],[d,v]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i],[[f,/_/g," "],[w,z],[d,v]],[/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[f,/_/g," "],[w,z],[d,g]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[f,[w,"OPPO"],[d,v]],[/\b(opd2\d{3}a?) bui/i],[f,[w,"OPPO"],[d,g]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[f,[w,"Vivo"],[d,v]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[f,[w,"Realme"],[d,v]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[f,[w,T],[d,v]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[f,[w,T],[d,g]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[f,[w,E],[d,g]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[f,[w,E],[d,v]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[f,[w,"Lenovo"],[d,g]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[f,/_/g," "],[w,"Nokia"],[d,v]],[/(pixel c)\b/i],[f,[w,_],[d,g]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[f,[w,_],[d,v]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[f,[w,U],[d,v]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[f,"Xperia Tablet"],[w,U],[d,g]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[f,[w,"OnePlus"],[d,v]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[f,[w,O],[d,g]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[f,/(.+)/g,"Fire Phone $1"],[w,O],[d,v]],[/(playbook);[-\w\),; ]+(rim)/i],[f,w,[d,g]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[f,[w,A],[d,v]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[f,[w,C],[d,g]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[f,[w,C],[d,v]],[/(nexus 9)/i],[f,[w,"HTC"],[d,g]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[w,[f,/_/g," "],[d,v]],[/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])\w*(\)| bui)/i],[f,[w,"TCL"],[d,g]],[/(itel) ((\w+))/i],[[w,G],f,[d,Z,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[f,[w,"Acer"],[d,g]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[f,[w,"Meizu"],[d,v]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[f,[w,"Ulefone"],[d,v]],[/droid.+; (a(?:015|06[35]|142p?))/i],[f,[w,"Nothing"],[d,v]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[w,f,[d,v]],[/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[w,f,[d,g]],[/(surface duo)/i],[f,[w,I],[d,g]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[f,[w,"Fairphone"],[d,v]],[/(u304aa)/i],[f,[w,"AT&T"],[d,v]],[/\bsie-(\w*)/i],[f,[w,"Siemens"],[d,v]],[/\b(rct\w+) b/i],[f,[w,"RCA"],[d,g]],[/\b(venue[\d ]{2,7}) b/i],[f,[w,"Dell"],[d,g]],[/\b(q(?:mv|ta)\w+) b/i],[f,[w,"Verizon"],[d,g]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[f,[w,"Barnes & Noble"],[d,g]],[/\b(tm\d{3}\w+) b/i],[f,[w,"NuVision"],[d,g]],[/\b(k88) b/i],[f,[w,"ZTE"],[d,g]],[/\b(nx\d{3}j) b/i],[f,[w,"ZTE"],[d,v]],[/\b(gen\d{3}) b.+49h/i],[f,[w,"Swiss"],[d,v]],[/\b(zur\d{3}) b/i],[f,[w,"Swiss"],[d,g]],[/\b((zeki)?tb.*\b) b/i],[f,[w,"Zeki"],[d,g]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[w,"Dragon Touch"],f,[d,g]],[/\b(ns-?\w{0,9}) b/i],[f,[w,"Insignia"],[d,g]],[/\b((nxa|next)-?\w{0,9}) b/i],[f,[w,"NextBook"],[d,g]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[w,"Voice"],f,[d,v]],[/\b(lvtel\-)?(v1[12]) b/i],[[w,"LvTel"],f,[d,v]],[/\b(ph-1) /i],[f,[w,"Essential"],[d,v]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[f,[w,"Envizen"],[d,g]],[/\b(trio[-\w\. ]+) b/i],[f,[w,"MachSpeed"],[d,g]],[/\btu_(1491) b/i],[f,[w,"Rotor"],[d,g]],[/(shield[\w ]+) b/i],[f,[w,"Nvidia"],[d,g]],[/(sprint) (\w+)/i],[w,f,[d,v]],[/(kin\.[onetw]{3})/i],[[f,/\./g," "],[w,I],[d,v]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[f,[w,B],[d,g]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[f,[w,B],[d,v]],[/smart-tv.+(samsung)/i],[w,[d,y]],[/hbbtv.+maple;(\d+)/i],[[f,/^/,"SmartTV"],[w,$],[d,y]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[w,E],[d,y]],[/(apple) ?tv/i],[w,[f,"Apple TV"],[d,y]],[/crkey/i],[[f,"Chromecast"],[w,_],[d,y]],[/droid.+aft(\w+)( bui|\))/i],[f,[w,O],[d,y]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[f,[w,N],[d,y]],[/(bravia[\w ]+)( bui|\))/i],[f,[w,U],[d,y]],[/(mitv-\w{5}) bui/i],[f,[w,z],[d,y]],[/Hbbtv.*(technisat) (.*);/i],[w,f,[d,y]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[w,F],[f,F],[d,y]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[d,y]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[w,f,[d,h]],[/droid.+; (shield) bui/i],[f,[w,"Nvidia"],[d,h]],[/(playstation [345portablevi]+)/i],[f,[w,U],[d,h]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[f,[w,I],[d,h]],[/\b(sm-[lr]\d\d[05][fnuw]?s?)\b/i],[f,[w,$],[d,x]],[/((pebble))app/i],[w,f,[d,x]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[f,[w,S],[d,x]],[/droid.+; (glass) \d/i],[f,[w,_],[d,x]],[/droid.+; (wt63?0{2,3})\)/i],[f,[w,B],[d,x]],[/(quest( \d| pro)?)/i],[f,[w,q],[d,x]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[w,[d,k]],[/(aeobc)\b/i],[f,[w,O],[d,k]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[f,[d,v]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[f,[d,g]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[d,g]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[d,v]],[/(android[-\w\. ]{0,9});.+buil/i],[f,[w,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[p,[b,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[p,[b,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[b,p],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[p,b]],os:[[/microsoft (windows) (vista|xp)/i],[b,p],[/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i],[b,[p,Z,H]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[p,Z,H],[b,"Windows"]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[p,/_/g,"."],[b,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[b,W],[p,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[p,b],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[b,p],[/\(bb(10);/i],[p,[b,A]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[p,[b,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[p,[b,"Firefox OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[p,[b,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[p,[b,"watchOS"]],[/crkey\/([\d\.]+)/i],[p,[b,"Chromecast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[b,R],p],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[b,p],[/(sunos) ?([\w\.\d]*)/i],[[b,"Solaris"],p],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[b,p]]},X=function(e,r){if(typeof e===c&&(r=e,e=o),!(this instanceof X))return new X(e,r).getResult();var n=typeof t!==s&&t.navigator?t.navigator:o,i=e||(n&&n.userAgent?n.userAgent:""),l=n&&n.userAgentData?n.userAgentData:o,f=r?function(e,r){var n={};for(var i in e)r[i]&&r[i].length%2===0?n[i]=r[i].concat(e[i]):n[i]=e[i];return n}(Y,r):Y,b=n&&n.userAgent==i;return this.getBrowser=function(){var e,r={};return r.name=o,r.version=o,L.call(r,i,f.browser),r.major=typeof(e=r.version)===u?e.replace(/[^\d\.]/g,"").split(".")[0]:o,b&&n&&n.brave&&typeof n.brave.isBrave==a&&(r.name="Brave"),r},this.getCPU=function(){var e={};return e.architecture=o,L.call(e,i,f.cpu),e},this.getDevice=function(){var e={};return e.vendor=o,e.model=o,e.type=o,L.call(e,i,f.device),b&&!e.type&&l&&l.mobile&&(e.type=v),b&&"Macintosh"==e.model&&n&&typeof n.standalone!==s&&n.maxTouchPoints&&n.maxTouchPoints>2&&(e.model="iPad",e.type=g),e},this.getEngine=function(){var e={};return e.name=o,e.version=o,L.call(e,i,f.engine),e},this.getOS=function(){var e={};return e.name=o,e.version=o,L.call(e,i,f.os),b&&!e.name&&l&&l.platform&&"Unknown"!=l.platform&&(e.name=l.platform.replace(/chrome os/i,R).replace(/macos/i,W)),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return i},this.setUA=function(e){return i=typeof e===u&&e.length>500?F(e,500):e,this},this.setUA(i),this};X.VERSION="1.0.39",X.BROWSER=D([b,p,l]),X.CPU=D([m]),X.DEVICE=D([f,w,d,h,v,y,g,x,k]),X.ENGINE=X.OS=D([b,p]),typeof r!==s?(e.exports&&(r=e.exports=X),r.UAParser=X):n.amdO?(i=function(){return X}.call(r,n,r,e))===o||(e.exports=i):typeof t!==s&&(t.UAParser=X);var K=typeof t!==s&&(t.jQuery||t.Zepto);if(K&&!K.ua){var Q=new X;K.ua=Q.getResult(),K.ua.get=function(){return Q.getUA()},K.ua.set=function(e){Q.setUA(e);var r=Q.getResult();for(var n in r)K.ua[n]=r[n]}}}("object"===typeof window?window:this)},7462:function(e,r,n){"use strict";function i(){return i=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var n=arguments[r];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},i.apply(this,arguments)}n.d(r,{Z:function(){return i}})}}]);
@@ -1 +1 @@
1
- (self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[561],{1729:function(e,t,n){"use strict";var r=n(9165);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,a,i){if(i!==r){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:o};return n.PropTypes=n,n}},5192:function(e,t,n){e.exports=n(1729)()},9165:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},1824:function(e,t,n){"use strict";n.d(t,{ZP:function(){return pe}});var r={};n.r(r),n.d(r,{addTrackers:function(){return B},default:function(){return ce},event:function(){return ne},exception:function(){return re},ga:function(){return K},initialize:function(){return $},modalview:function(){return ee},outboundLink:function(){return ae},pageview:function(){return X},plugin:function(){return oe},send:function(){return Y},set:function(){return H},testModeAPI:function(){return ie},timing:function(){return te}});var o=n(7313),a=n(5192),i=n.n(a);function c(e){console.warn("[react-ga]",e)}function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}var l=["to","target"];function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){w(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function p(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function g(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function y(e,t){return y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},y(e,t)}function b(e){var t=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(e){return!1}}();return function(){var n,r=h(e);if(t){var o=h(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return v(this,n)}}function v(e,t){if(t&&("object"===u(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return m(e)}function m(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h(e){return h=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},h(e)}function w(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var O="_blank",_=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&y(e,t)}(i,e);var t,n,r,a=b(i);function i(){var e;g(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return w(m(e=a.call.apply(a,[this].concat(n))),"handleClick",(function(t){var n=e.props,r=n.target,o=n.eventLabel,a=n.to,c=n.onClick,u=n.trackerNames,l={label:o},s=r!==O,f=!(t.ctrlKey||t.shiftKey||t.metaKey||1===t.button);s&&f?(t.preventDefault(),i.trackLink(l,(function(){window.location.href=a}),u)):i.trackLink(l,(function(){}),u),c&&c(t)})),e}return t=i,(n=[{key:"render",value:function(){var e=this.props,t=e.to,n=e.target,r=f(f({},p(e,l)),{},{target:n,href:t,onClick:this.handleClick});return n===O&&(r.rel="".concat(r.rel?r.rel:""," noopener noreferrer").trim()),delete r.eventLabel,delete r.trackerNames,o.createElement("a",r)}}])&&d(t.prototype,n),r&&d(t,r),Object.defineProperty(t,"prototype",{writable:!1}),i}(o.Component);w(_,"trackLink",(function(){c("ga tracking not enabled")})),_.propTypes={eventLabel:i().string.isRequired,target:i().string,to:i().string,onClick:i().func,trackerNames:i().arrayOf(i().string)},_.defaultProps={target:null,to:null,onClick:null,trackerNames:null};function j(e){return"string"===typeof(t=e)&&-1!==t.indexOf("@")?(c("This arg looks like an email address, redacting."),"REDACTED (Potential Email Address)"):e;var t}function k(e){return e&&e.toString().replace(/^\s+|\s+$/g,"")}var P=/^(a|an|and|as|at|but|by|en|for|if|in|nor|of|on|or|per|the|to|vs?\.?|via)$/i;function S(e){return k(e).replace(/[A-Za-z0-9\u00C0-\u00FF]+[^\s-]*/g,(function(e,t,n){return t>0&&t+e.length!==n.length&&e.search(P)>-1&&":"!==n.charAt(t-2)&&("-"!==n.charAt(t+e.length)||"-"===n.charAt(t-1))&&n.charAt(t-1).search(/[^\s-]/)<0?e.toLowerCase():e.substr(1).search(/[A-Z]|\../)>-1?e:e.charAt(0).toUpperCase()+e.substr(1)}))}var A=!1;function C(e){console.info("[react-ga]",e)}var E=[],T={calls:E,ga:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];E.push([].concat(t))},resetCalls:function(){E.length=0}},I=["category","action","label","value","nonInteraction","transport"];function x(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function D(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function L(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function q(e){return q="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},q(e)}function G(e){return function(e){if(Array.isArray(e))return N(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"===typeof e)return N(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return N(e,t)}(e)||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 N(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var M="undefined"===typeof window||"undefined"===typeof document,R=!1,z=!0,U=!1,F=!0,V=!0,J=function(){var e;return U?T.ga.apply(T,arguments):!M&&(window.ga?(e=window).ga.apply(e,arguments):c("ReactGA.initialize must be called first or GoogleAnalytics should be loaded manually"))};function Z(e){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],n=e||"";return arguments.length>1&&void 0!==arguments[1]&&arguments[1]&&(n=S(e)),t&&(n=j(n)),n}(e,z,V)}function Q(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=n[0];"string"===typeof o?(!F&&Array.isArray(e)||J.apply(void 0,n),Array.isArray(e)&&e.forEach((function(e){J.apply(void 0,G(["".concat(e,".").concat(o)].concat(n.slice(1))))}))):c("ga command must be a string")}function W(e,t){e?t&&(t.debug&&!0===t.debug&&(R=!0),!1===t.titleCase&&(z=!1),!1===t.redactEmail&&(V=!1),t.useExistingGa)||(t&&t.gaOptions?J("create",e,t.gaOptions):J("create",e,"auto")):c("gaTrackingID is required in initialize()")}function B(e,t){return Array.isArray(e)?e.forEach((function(e){"object"===q(e)?W(e.trackingId,e):c("All configs must be an object")})):W(e,t),!0}function $(e,t){if(t&&!0===t.testMode)U=!0;else{if(M)return;t&&!0===t.standardImplementation||function(e){if(!A){A=!0;var t="https://www.google-analytics.com/analytics.js";e&&e.gaAddress?t=e.gaAddress:e&&e.debug&&(t="https://www.google-analytics.com/analytics_debug.js");var n,r,o,a,i,c,u,l=e&&e.onerror;n=window,r=document,o="script",a=t,i="ga",n.GoogleAnalyticsObject=i,n.ga=n.ga||function(){(n.ga.q=n.ga.q||[]).push(arguments)},n.ga.l=1*new Date,c=r.createElement(o),u=r.getElementsByTagName(o)[0],c.async=1,c.src=a,c.onerror=l,u.parentNode.insertBefore(c,u)}}(t)}F=!t||"boolean"!==typeof t.alwaysSendToDefaultTracker||t.alwaysSendToDefaultTracker,B(e,t)}function K(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.length>0&&(J.apply(void 0,t),R&&(C("called ga('arguments');"),C("with arguments: ".concat(JSON.stringify(t))))),window.ga}function H(e,t){e?"object"===q(e)?(0===Object.keys(e).length&&c("empty `fieldsObject` given to .set()"),Q(t,"set",e),R&&(C("called ga('set', fieldsObject);"),C("with fieldsObject: ".concat(JSON.stringify(e))))):c("Expected `fieldsObject` arg to be an Object"):c("`fieldsObject` is required in .set()")}function Y(e,t){Q(t,"send",e),R&&(C("called ga('send', fieldObject);"),C("with fieldObject: ".concat(JSON.stringify(e))),C("with trackers: ".concat(JSON.stringify(t))))}function X(e,t,n){if(e){var r=k(e);if(""!==r){var o={};if(n&&(o.title=n),Q(t,"send",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?D(Object(n),!0).forEach((function(t){L(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):D(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({hitType:"pageview",page:r},o)),R){C("called ga('send', 'pageview', path);");var a="";n&&(a=" and title: ".concat(n)),C("with path: ".concat(r).concat(a))}}else c("path cannot be an empty string in .pageview()")}else c("path is required in .pageview()")}function ee(e,t){if(e){var n,r="/"===(n=k(e)).substring(0,1)?n.substring(1):n;if(""!==r){var o="/modal/".concat(r);Q(t,"send","pageview",o),R&&(C("called ga('send', 'pageview', path);"),C("with path: ".concat(o)))}else c("modalName cannot be an empty string or a single / in .modalview()")}else c("modalName is required in .modalview(modalName)")}function te(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.category,n=e.variable,r=e.value,o=e.label,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;if(t&&n&&"number"===typeof r){var i={hitType:"timing",timingCategory:Z(t),timingVar:Z(n),timingValue:r};o&&(i.timingLabel=Z(o)),Y(i,a)}else c("args.category, args.variable AND args.value are required in timing() AND args.value has to be a number")}function ne(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.category,n=e.action,r=e.label,o=e.value,a=e.nonInteraction,i=e.transport,u=x(e,I),l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;if(t&&n){var s={hitType:"event",eventCategory:Z(t),eventAction:Z(n)};r&&(s.eventLabel=Z(r)),"undefined"!==typeof o&&("number"!==typeof o?c("Expected `args.value` arg to be a Number."):s.eventValue=o),"undefined"!==typeof a&&("boolean"!==typeof a?c("`args.nonInteraction` must be a boolean."):s.nonInteraction=a),"undefined"!==typeof i&&("string"!==typeof i?c("`args.transport` must be a string."):(-1===["beacon","xhr","image"].indexOf(i)&&c("`args.transport` must be either one of these values: `beacon`, `xhr` or `image`"),s.transport=i)),Object.keys(u).filter((function(e){return"dimension"===e.substr(0,"dimension".length)})).forEach((function(e){s[e]=u[e]})),Object.keys(u).filter((function(e){return"metric"===e.substr(0,"metric".length)})).forEach((function(e){s[e]=u[e]})),Y(s,l)}else c("args.category AND args.action are required in event()")}function re(e,t){var n=e.description,r=e.fatal,o={hitType:"exception"};n&&(o.exDescription=Z(n)),"undefined"!==typeof r&&("boolean"!==typeof r?c("`args.fatal` must be a boolean."):o.exFatal=r),Y(o,t)}var oe={require:function(e,t,n){if(e){var r=k(e);if(""!==r){var o=n?"".concat(n,".require"):"require";if(t){if("object"!==q(t))return void c("Expected `options` arg to be an Object");0===Object.keys(t).length&&c("Empty `options` given to .require()"),K(o,r,t),R&&C("called ga('require', '".concat(r,"', ").concat(JSON.stringify(t)))}else K(o,r),R&&C("called ga('require', '".concat(r,"');"))}else c("`name` cannot be an empty string in .require()")}else c("`name` is required in .require()")},execute:function(e,t){for(var n,r,o=arguments.length,a=new Array(o>2?o-2:0),i=2;i<o;i++)a[i-2]=arguments[i];if(1===a.length?n=a[0]:(r=a[0],n=a[1]),"string"!==typeof e)c("Expected `pluginName` arg to be a String.");else if("string"!==typeof t)c("Expected `action` arg to be a String.");else{var u="".concat(e,":").concat(t);n=n||null,r&&n?(K(u,r,n),R&&(C("called ga('".concat(u,"');")),C('actionType: "'.concat(r,'" with payload: ').concat(JSON.stringify(n))))):n?(K(u,n),R&&(C("called ga('".concat(u,"');")),C("with payload: ".concat(JSON.stringify(n))))):(K(u),R&&C("called ga('".concat(u,"');")))}}};function ae(e,t,n){if("function"===typeof t)if(e&&e.label){var r={hitType:"event",eventCategory:"Outbound",eventAction:"Click",eventLabel:Z(e.label)},o=!1,a=setTimeout((function(){o=!0,t()}),250);r.hitCallback=function(){clearTimeout(a),o||t()},Y(r,n)}else c("args.label is required in outboundLink()");else c("hitCallback function is required")}var ie=T,ce={initialize:$,ga:K,set:H,send:Y,pageview:X,modalview:ee,timing:te,event:ne,exception:re,plugin:oe,outboundLink:ae,testModeAPI:T};function ue(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function le(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ue(Object(n),!0).forEach((function(t){se(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ue(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function se(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}_.origTrackLink=_.trackLink,_.trackLink=ae;var fe=_,pe=le(le({},r),{},{OutboundLink:fe})},5377:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=e||"";t&&(a=r(e));n&&(a=o(a));return a};var n=/^(a|an|and|as|at|but|by|en|for|if|in|nor|of|on|or|per|the|to|vs?\.?|via)$/i;function r(e){return e.toString().trim().replace(/[A-Za-z0-9\u00C0-\u00FF]+[^\s-]*/g,(function(e,t,r){return t>0&&t+e.length!==r.length&&e.search(n)>-1&&":"!==r.charAt(t-2)&&("-"!==r.charAt(t+e.length)||"-"===r.charAt(t-1))&&r.charAt(t-1).search(/[^\s-]/)<0?e.toLowerCase():e.substr(1).search(/[A-Z]|\../)>-1?e:e.charAt(0).toUpperCase()+e.substr(1)}))}function o(e){return"string"===typeof(t=e)&&-1!==t.indexOf("@")?(console.warn("This arg looks like an email address, redacting."),"REDACTED (Potential Email Address)"):e;var t}},6318:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.GA4=void 0;var r=u(n(171)),o=u(n(5377)),a=["eventCategory","eventAction","eventLabel","eventValue","hitType"],i=["title","location"],c=["page","hitType"];function u(e){return e&&e.__esModule?e:{default:e}}function l(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function f(e){return function(e){if(Array.isArray(e))return b(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||y(e)||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 p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function g(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){m(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function d(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,c=[],u=!0,l=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=a.call(n)).done)&&(c.push(r.value),c.length!==t);u=!0);}catch(s){l=!0,o=s}finally{try{if(!u&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(l)throw o}}return c}}(e,t)||y(e,t)||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 y(e,t){if(e){if("string"===typeof e)return b(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?b(e,t):void 0}}function b(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function v(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,h(r.key),r)}}function m(e,t,n){return(t=h(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function h(e){var t=function(e,t){if("object"!==s(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==s(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===s(t)?t:String(t)}var w=function(){function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),m(this,"reset",(function(){t.isInitialized=!1,t._testMode=!1,t._currentMeasurementId,t._hasLoadedGA=!1,t._isQueuing=!1,t._queueGtag=[]})),m(this,"_gtag",(function(){for(var e=arguments.length,n=new Array(e),o=0;o<e;o++)n[o]=arguments[o];t._testMode||t._isQueuing?t._queueGtag.push(n):r.default.apply(void 0,n)})),m(this,"_loadGA",(function(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"https://www.googletagmanager.com/gtag/js";if("undefined"!==typeof window&&"undefined"!==typeof document&&!t._hasLoadedGA){var o=document.createElement("script");o.async=!0,o.src="".concat(r,"?id=").concat(e),n&&o.setAttribute("nonce",n),document.body.appendChild(o),window.dataLayer=window.dataLayer||[],window.gtag=function(){window.dataLayer.push(arguments)},t._hasLoadedGA=!0}})),m(this,"_toGtagOptions",(function(e){if(e){var t={cookieUpdate:"cookie_update",cookieExpires:"cookie_expires",cookieDomain:"cookie_domain",cookieFlags:"cookie_flags",userId:"user_id",clientId:"client_id",anonymizeIp:"anonymize_ip",contentGroup1:"content_group1",contentGroup2:"content_group2",contentGroup3:"content_group3",contentGroup4:"content_group4",contentGroup5:"content_group5",allowAdFeatures:"allow_google_signals",allowAdPersonalizationSignals:"allow_ad_personalization_signals",nonInteraction:"non_interaction",page:"page_path",hitCallback:"event_callback"};return Object.entries(e).reduce((function(e,n){var r=d(n,2),o=r[0],a=r[1];return t[o]?e[t[o]]=a:e[o]=a,e}),{})}})),m(this,"initialize",(function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e)throw new Error("Require GA_MEASUREMENT_ID");var r="string"===typeof e?[{trackingId:e}]:e;t._currentMeasurementId=r[0].trackingId;var o=n.gaOptions,a=n.gtagOptions,i=n.nonce,c=n.testMode,u=void 0!==c&&c,l=n.gtagUrl;if(t._testMode=u,u||t._loadGA(t._currentMeasurementId,i,l),t.isInitialized||(t._gtag("js",new Date),r.forEach((function(e){var n=g(g(g({},t._toGtagOptions(g(g({},o),e.gaOptions))),a),e.gtagOptions);Object.keys(n).length?t._gtag("config",e.trackingId,n):t._gtag("config",e.trackingId)}))),t.isInitialized=!0,!u){var s=f(t._queueGtag);for(t._queueGtag=[],t._isQueuing=!1;s.length;){var p=s.shift();t._gtag.apply(t,f(p)),"get"===p[0]&&(t._isQueuing=!0)}}})),m(this,"set",(function(e){e?"object"===s(e)?(0===Object.keys(e).length&&console.warn("empty `fieldsObject` given to .set()"),t._gaCommand("set",e)):console.warn("Expected `fieldsObject` arg to be an Object"):console.warn("`fieldsObject` is required in .set()")})),m(this,"_gaCommandSendEvent",(function(e,n,r,o,a){t._gtag("event",n,g(g({event_category:e,event_label:r,value:o},a&&{non_interaction:a.nonInteraction}),t._toGtagOptions(a)))})),m(this,"_gaCommandSendEventParameters",(function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];if("string"===typeof n[0])t._gaCommandSendEvent.apply(t,f(n.slice(1)));else{var o=n[0],i=o.eventCategory,c=o.eventAction,u=o.eventLabel,s=o.eventValue,p=(o.hitType,l(o,a));t._gaCommandSendEvent(i,c,u,s,p)}})),m(this,"_gaCommandSendTiming",(function(e,n,r,o){t._gtag("event","timing_complete",{name:n,value:r,event_category:e,event_label:o})})),m(this,"_gaCommandSendPageview",(function(e,n){if(n&&Object.keys(n).length){var r=t._toGtagOptions(n),o=r.title,a=r.location,c=l(r,i);t._gtag("event","page_view",g(g(g(g({},e&&{page_path:e}),o&&{page_title:o}),a&&{page_location:a}),c))}else e?t._gtag("event","page_view",{page_path:e}):t._gtag("event","page_view")})),m(this,"_gaCommandSendPageviewParameters",(function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];if("string"===typeof n[0])t._gaCommandSendPageview.apply(t,f(n.slice(1)));else{var o=n[0],a=o.page,i=(o.hitType,l(o,c));t._gaCommandSendPageview(a,i)}})),m(this,"_gaCommandSend",(function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var o="string"===typeof n[0]?n[0]:n[0].hitType;switch(o){case"event":t._gaCommandSendEventParameters.apply(t,n);break;case"pageview":t._gaCommandSendPageviewParameters.apply(t,n);break;case"timing":t._gaCommandSendTiming.apply(t,f(n.slice(1)));break;case"screenview":case"transaction":case"item":case"social":case"exception":console.warn("Unsupported send command: ".concat(o));break;default:console.warn("Send command doesn't exist: ".concat(o))}})),m(this,"_gaCommandSet",(function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];"string"===typeof n[0]&&(n[0]=m({},n[0],n[1])),t._gtag("set",t._toGtagOptions(n[0]))})),m(this,"_gaCommand",(function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];switch(e){case"send":t._gaCommandSend.apply(t,r);break;case"set":t._gaCommandSet.apply(t,r);break;default:console.warn("Command doesn't exist: ".concat(e))}})),m(this,"ga",(function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];if("string"===typeof n[0])t._gaCommand.apply(t,n);else{var o=n[0];t._gtag("get",t._currentMeasurementId,"client_id",(function(e){t._isQueuing=!1;var n=t._queueGtag;for(o({get:function(n){return"clientId"===n?e:"trackingId"===n?t._currentMeasurementId:"apiVersion"===n?"1":void 0}});n.length;){var r=n.shift();t._gtag.apply(t,f(r))}})),t._isQueuing=!0}return t.ga})),m(this,"event",(function(e,n){if("string"===typeof e)t._gtag("event",e,t._toGtagOptions(n));else{var r=e.action,a=e.category,i=e.label,c=e.value,u=e.nonInteraction,l=e.transport;if(!a||!r)return void console.warn("args.category AND args.action are required in event()");var s={hitType:"event",eventCategory:(0,o.default)(a),eventAction:(0,o.default)(r)};i&&(s.eventLabel=(0,o.default)(i)),"undefined"!==typeof c&&("number"!==typeof c?console.warn("Expected `args.value` arg to be a Number."):s.eventValue=c),"undefined"!==typeof u&&("boolean"!==typeof u?console.warn("`args.nonInteraction` must be a boolean."):s.nonInteraction=u),"undefined"!==typeof l&&("string"!==typeof l?console.warn("`args.transport` must be a string."):(-1===["beacon","xhr","image"].indexOf(l)&&console.warn("`args.transport` must be either one of these values: `beacon`, `xhr` or `image`"),s.transport=l)),t._gaCommand("send",s)}})),m(this,"send",(function(e){t._gaCommand("send",e)})),this.reset()}var t,n,u;return t=e,n=[{key:"gtag",value:function(){this._gtag.apply(this,arguments)}}],n&&v(t.prototype,n),u&&v(t,u),Object.defineProperty(t,"prototype",{writable:!1}),e}();t.GA4=w;var O=new w;t.default=O},171:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r;"undefined"!==typeof window&&("undefined"===typeof window.gtag&&(window.dataLayer=window.dataLayer||[],window.gtag=function(){window.dataLayer.push(arguments)}),(r=window).gtag.apply(r,t))};t.default=n},7786:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}t.ZP=void 0;var o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!==typeof e)return{default:e};var n=a(t);if(n&&n.has(e))return n.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in e)if("default"!==c&&Object.prototype.hasOwnProperty.call(e,c)){var u=i?Object.getOwnPropertyDescriptor(e,c):null;u&&(u.get||u.set)?Object.defineProperty(o,c,u):o[c]=e[c]}o.default=e,n&&n.set(e,o);return o}(n(6318));function a(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(a=function(e){return e?n:t})(e)}o.GA4;var i=o.default;t.ZP=i}}]);
1
+ (self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[187],{1729:function(e,t,n){"use strict";var r=n(9165);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,a,i){if(i!==r){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:o};return n.PropTypes=n,n}},5192:function(e,t,n){e.exports=n(1729)()},9165:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},1824:function(e,t,n){"use strict";n.d(t,{ZP:function(){return ge}});var r={};n.r(r),n.d(r,{addTrackers:function(){return Q},default:function(){return ce},event:function(){return ne},exception:function(){return re},ga:function(){return K},initialize:function(){return $},modalview:function(){return ee},outboundLink:function(){return ae},pageview:function(){return X},plugin:function(){return oe},send:function(){return H},set:function(){return Y},testModeAPI:function(){return ie},timing:function(){return te}});var o=n(7313),a=n(5192),i=n.n(a);function c(e){console.warn("[react-ga]",e)}function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}var l=["to","target"];function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){w(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function g(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function y(e,t){return y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},y(e,t)}function b(e){var t=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(e){return!1}}();return function(){var n,r=h(e);if(t){var o=h(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return v(this,n)}}function v(e,t){if(t&&("object"===u(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return m(e)}function m(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h(e){return h=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},h(e)}function w(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var O="_blank",_=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&y(e,t)}(i,e);var t,n,r,a=b(i);function i(){var e;p(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return w(m(e=a.call.apply(a,[this].concat(n))),"handleClick",(function(t){var n=e.props,r=n.target,o=n.eventLabel,a=n.to,c=n.onClick,u=n.trackerNames,l={label:o},s=r!==O,f=!(t.ctrlKey||t.shiftKey||t.metaKey||1===t.button);s&&f?(t.preventDefault(),i.trackLink(l,(function(){window.location.href=a}),u)):i.trackLink(l,(function(){}),u),c&&c(t)})),e}return t=i,(n=[{key:"render",value:function(){var e=this.props,t=e.to,n=e.target,r=f(f({},g(e,l)),{},{target:n,href:t,onClick:this.handleClick});return n===O&&(r.rel="".concat(r.rel?r.rel:""," noopener noreferrer").trim()),delete r.eventLabel,delete r.trackerNames,o.createElement("a",r)}}])&&d(t.prototype,n),r&&d(t,r),Object.defineProperty(t,"prototype",{writable:!1}),i}(o.Component);w(_,"trackLink",(function(){c("ga tracking not enabled")})),_.propTypes={eventLabel:i().string.isRequired,target:i().string,to:i().string,onClick:i().func,trackerNames:i().arrayOf(i().string)},_.defaultProps={target:null,to:null,onClick:null,trackerNames:null};function j(e){return"string"===typeof(t=e)&&-1!==t.indexOf("@")?(c("This arg looks like an email address, redacting."),"REDACTED (Potential Email Address)"):e;var t}function k(e){return e&&e.toString().replace(/^\s+|\s+$/g,"")}var S=/^(a|an|and|as|at|but|by|en|for|if|in|nor|of|on|or|per|the|to|vs?\.?|via)$/i;function A(e){return k(e).replace(/[A-Za-z0-9\u00C0-\u00FF]+[^\s-]*/g,(function(e,t,n){return t>0&&t+e.length!==n.length&&e.search(S)>-1&&":"!==n.charAt(t-2)&&("-"!==n.charAt(t+e.length)||"-"===n.charAt(t-1))&&n.charAt(t-1).search(/[^\s-]/)<0?e.toLowerCase():e.substr(1).search(/[A-Z]|\../)>-1?e:e.charAt(0).toUpperCase()+e.substr(1)}))}var P=!1;function C(e){console.info("[react-ga]",e)}var E=[],I={calls:E,ga:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];E.push([].concat(t))},resetCalls:function(){E.length=0}},T=["category","action","label","value","nonInteraction","transport"];function x(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function D(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function L(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function q(e){return q="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},q(e)}function G(e){return function(e){if(Array.isArray(e))return M(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"===typeof e)return M(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return M(e,t)}(e)||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 M(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var N="undefined"===typeof window||"undefined"===typeof document,R=!1,V=!0,z=!1,U=!0,F=!0,B=function(){var e;return z?I.ga.apply(I,arguments):!N&&(window.ga?(e=window).ga.apply(e,arguments):c("ReactGA.initialize must be called first or GoogleAnalytics should be loaded manually"))};function J(e){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],n=e||"";return arguments.length>1&&void 0!==arguments[1]&&arguments[1]&&(n=A(e)),t&&(n=j(n)),n}(e,V,F)}function W(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=n[0];"string"===typeof o?(!U&&Array.isArray(e)||B.apply(void 0,n),Array.isArray(e)&&e.forEach((function(e){B.apply(void 0,G(["".concat(e,".").concat(o)].concat(n.slice(1))))}))):c("ga command must be a string")}function Z(e,t){e?t&&(t.debug&&!0===t.debug&&(R=!0),!1===t.titleCase&&(V=!1),!1===t.redactEmail&&(F=!1),t.useExistingGa)||(t&&t.gaOptions?B("create",e,t.gaOptions):B("create",e,"auto")):c("gaTrackingID is required in initialize()")}function Q(e,t){return Array.isArray(e)?e.forEach((function(e){"object"===q(e)?Z(e.trackingId,e):c("All configs must be an object")})):Z(e,t),!0}function $(e,t){if(t&&!0===t.testMode)z=!0;else{if(N)return;t&&!0===t.standardImplementation||function(e){if(!P){P=!0;var t="https://www.google-analytics.com/analytics.js";e&&e.gaAddress?t=e.gaAddress:e&&e.debug&&(t="https://www.google-analytics.com/analytics_debug.js");var n,r,o,a,i,c,u,l=e&&e.onerror;n=window,r=document,o="script",a=t,i="ga",n.GoogleAnalyticsObject=i,n.ga=n.ga||function(){(n.ga.q=n.ga.q||[]).push(arguments)},n.ga.l=1*new Date,c=r.createElement(o),u=r.getElementsByTagName(o)[0],c.async=1,c.src=a,c.onerror=l,u.parentNode.insertBefore(c,u)}}(t)}U=!t||"boolean"!==typeof t.alwaysSendToDefaultTracker||t.alwaysSendToDefaultTracker,Q(e,t)}function K(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.length>0&&(B.apply(void 0,t),R&&(C("called ga('arguments');"),C("with arguments: ".concat(JSON.stringify(t))))),window.ga}function Y(e,t){e?"object"===q(e)?(0===Object.keys(e).length&&c("empty `fieldsObject` given to .set()"),W(t,"set",e),R&&(C("called ga('set', fieldsObject);"),C("with fieldsObject: ".concat(JSON.stringify(e))))):c("Expected `fieldsObject` arg to be an Object"):c("`fieldsObject` is required in .set()")}function H(e,t){W(t,"send",e),R&&(C("called ga('send', fieldObject);"),C("with fieldObject: ".concat(JSON.stringify(e))),C("with trackers: ".concat(JSON.stringify(t))))}function X(e,t,n){if(e){var r=k(e);if(""!==r){var o={};if(n&&(o.title=n),W(t,"send",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?D(Object(n),!0).forEach((function(t){L(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):D(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({hitType:"pageview",page:r},o)),R){C("called ga('send', 'pageview', path);");var a="";n&&(a=" and title: ".concat(n)),C("with path: ".concat(r).concat(a))}}else c("path cannot be an empty string in .pageview()")}else c("path is required in .pageview()")}function ee(e,t){if(e){var n,r="/"===(n=k(e)).substring(0,1)?n.substring(1):n;if(""!==r){var o="/modal/".concat(r);W(t,"send","pageview",o),R&&(C("called ga('send', 'pageview', path);"),C("with path: ".concat(o)))}else c("modalName cannot be an empty string or a single / in .modalview()")}else c("modalName is required in .modalview(modalName)")}function te(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.category,n=e.variable,r=e.value,o=e.label,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;if(t&&n&&"number"===typeof r){var i={hitType:"timing",timingCategory:J(t),timingVar:J(n),timingValue:r};o&&(i.timingLabel=J(o)),H(i,a)}else c("args.category, args.variable AND args.value are required in timing() AND args.value has to be a number")}function ne(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.category,n=e.action,r=e.label,o=e.value,a=e.nonInteraction,i=e.transport,u=x(e,T),l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;if(t&&n){var s={hitType:"event",eventCategory:J(t),eventAction:J(n)};r&&(s.eventLabel=J(r)),"undefined"!==typeof o&&("number"!==typeof o?c("Expected `args.value` arg to be a Number."):s.eventValue=o),"undefined"!==typeof a&&("boolean"!==typeof a?c("`args.nonInteraction` must be a boolean."):s.nonInteraction=a),"undefined"!==typeof i&&("string"!==typeof i?c("`args.transport` must be a string."):(-1===["beacon","xhr","image"].indexOf(i)&&c("`args.transport` must be either one of these values: `beacon`, `xhr` or `image`"),s.transport=i)),Object.keys(u).filter((function(e){return"dimension"===e.substr(0,"dimension".length)})).forEach((function(e){s[e]=u[e]})),Object.keys(u).filter((function(e){return"metric"===e.substr(0,"metric".length)})).forEach((function(e){s[e]=u[e]})),H(s,l)}else c("args.category AND args.action are required in event()")}function re(e,t){var n=e.description,r=e.fatal,o={hitType:"exception"};n&&(o.exDescription=J(n)),"undefined"!==typeof r&&("boolean"!==typeof r?c("`args.fatal` must be a boolean."):o.exFatal=r),H(o,t)}var oe={require:function(e,t,n){if(e){var r=k(e);if(""!==r){var o=n?"".concat(n,".require"):"require";if(t){if("object"!==q(t))return void c("Expected `options` arg to be an Object");0===Object.keys(t).length&&c("Empty `options` given to .require()"),K(o,r,t),R&&C("called ga('require', '".concat(r,"', ").concat(JSON.stringify(t)))}else K(o,r),R&&C("called ga('require', '".concat(r,"');"))}else c("`name` cannot be an empty string in .require()")}else c("`name` is required in .require()")},execute:function(e,t){for(var n,r,o=arguments.length,a=new Array(o>2?o-2:0),i=2;i<o;i++)a[i-2]=arguments[i];if(1===a.length?n=a[0]:(r=a[0],n=a[1]),"string"!==typeof e)c("Expected `pluginName` arg to be a String.");else if("string"!==typeof t)c("Expected `action` arg to be a String.");else{var u="".concat(e,":").concat(t);n=n||null,r&&n?(K(u,r,n),R&&(C("called ga('".concat(u,"');")),C('actionType: "'.concat(r,'" with payload: ').concat(JSON.stringify(n))))):n?(K(u,n),R&&(C("called ga('".concat(u,"');")),C("with payload: ".concat(JSON.stringify(n))))):(K(u),R&&C("called ga('".concat(u,"');")))}}};function ae(e,t,n){if("function"===typeof t)if(e&&e.label){var r={hitType:"event",eventCategory:"Outbound",eventAction:"Click",eventLabel:J(e.label)},o=!1,a=setTimeout((function(){o=!0,t()}),250);r.hitCallback=function(){clearTimeout(a),o||t()},H(r,n)}else c("args.label is required in outboundLink()");else c("hitCallback function is required")}var ie=I,ce={initialize:$,ga:K,set:Y,send:H,pageview:X,modalview:ee,timing:te,event:ne,exception:re,plugin:oe,outboundLink:ae,testModeAPI:I};function ue(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function le(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ue(Object(n),!0).forEach((function(t){se(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ue(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function se(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}_.origTrackLink=_.trackLink,_.trackLink=ae;var fe=_,ge=le(le({},r),{},{OutboundLink:fe})},5377:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=e||"";t&&(a=r(e));n&&(a=o(a));return a};var n=/^(a|an|and|as|at|but|by|en|for|if|in|nor|of|on|or|per|the|to|vs?\.?|via)$/i;function r(e){return e.toString().trim().replace(/[A-Za-z0-9\u00C0-\u00FF]+[^\s-]*/g,(function(e,t,r){return t>0&&t+e.length!==r.length&&e.search(n)>-1&&":"!==r.charAt(t-2)&&("-"!==r.charAt(t+e.length)||"-"===r.charAt(t-1))&&r.charAt(t-1).search(/[^\s-]/)<0?e.toLowerCase():e.substr(1).search(/[A-Z]|\../)>-1?e:e.charAt(0).toUpperCase()+e.substr(1)}))}function o(e){return"string"===typeof(t=e)&&-1!==t.indexOf("@")?(console.warn("This arg looks like an email address, redacting."),"REDACTED (Potential Email Address)"):e;var t}},6318:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.GA4=void 0;var r=u(n(171)),o=u(n(5377)),a=["eventCategory","eventAction","eventLabel","eventValue","hitType"],i=["title","location"],c=["page","hitType"];function u(e){return e&&e.__esModule?e:{default:e}}function l(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function f(e){return function(e){if(Array.isArray(e))return b(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||y(e)||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 g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g(Object(n),!0).forEach((function(t){m(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function d(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,c=[],u=!0,l=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=a.call(n)).done)&&(c.push(r.value),c.length!==t);u=!0);}catch(s){l=!0,o=s}finally{try{if(!u&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(l)throw o}}return c}}(e,t)||y(e,t)||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 y(e,t){if(e){if("string"===typeof e)return b(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?b(e,t):void 0}}function b(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function v(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,h(r.key),r)}}function m(e,t,n){return(t=h(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function h(e){var t=function(e,t){if("object"!==s(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==s(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===s(t)?t:String(t)}var w=function(){function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),m(this,"reset",(function(){t.isInitialized=!1,t._testMode=!1,t._currentMeasurementId,t._hasLoadedGA=!1,t._isQueuing=!1,t._queueGtag=[]})),m(this,"_gtag",(function(){for(var e=arguments.length,n=new Array(e),o=0;o<e;o++)n[o]=arguments[o];t._testMode||t._isQueuing?t._queueGtag.push(n):r.default.apply(void 0,n)})),m(this,"_loadGA",(function(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"https://www.googletagmanager.com/gtag/js";if("undefined"!==typeof window&&"undefined"!==typeof document&&!t._hasLoadedGA){var o=document.createElement("script");o.async=!0,o.src="".concat(r,"?id=").concat(e),n&&o.setAttribute("nonce",n),document.body.appendChild(o),window.dataLayer=window.dataLayer||[],window.gtag=function(){window.dataLayer.push(arguments)},t._hasLoadedGA=!0}})),m(this,"_toGtagOptions",(function(e){if(e){var t={cookieUpdate:"cookie_update",cookieExpires:"cookie_expires",cookieDomain:"cookie_domain",cookieFlags:"cookie_flags",userId:"user_id",clientId:"client_id",anonymizeIp:"anonymize_ip",contentGroup1:"content_group1",contentGroup2:"content_group2",contentGroup3:"content_group3",contentGroup4:"content_group4",contentGroup5:"content_group5",allowAdFeatures:"allow_google_signals",allowAdPersonalizationSignals:"allow_ad_personalization_signals",nonInteraction:"non_interaction",page:"page_path",hitCallback:"event_callback"};return Object.entries(e).reduce((function(e,n){var r=d(n,2),o=r[0],a=r[1];return t[o]?e[t[o]]=a:e[o]=a,e}),{})}})),m(this,"initialize",(function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e)throw new Error("Require GA_MEASUREMENT_ID");var r="string"===typeof e?[{trackingId:e}]:e;t._currentMeasurementId=r[0].trackingId;var o=n.gaOptions,a=n.gtagOptions,i=n.nonce,c=n.testMode,u=void 0!==c&&c,l=n.gtagUrl;if(t._testMode=u,u||t._loadGA(t._currentMeasurementId,i,l),t.isInitialized||(t._gtag("js",new Date),r.forEach((function(e){var n=p(p(p({},t._toGtagOptions(p(p({},o),e.gaOptions))),a),e.gtagOptions);Object.keys(n).length?t._gtag("config",e.trackingId,n):t._gtag("config",e.trackingId)}))),t.isInitialized=!0,!u){var s=f(t._queueGtag);for(t._queueGtag=[],t._isQueuing=!1;s.length;){var g=s.shift();t._gtag.apply(t,f(g)),"get"===g[0]&&(t._isQueuing=!0)}}})),m(this,"set",(function(e){e?"object"===s(e)?(0===Object.keys(e).length&&console.warn("empty `fieldsObject` given to .set()"),t._gaCommand("set",e)):console.warn("Expected `fieldsObject` arg to be an Object"):console.warn("`fieldsObject` is required in .set()")})),m(this,"_gaCommandSendEvent",(function(e,n,r,o,a){t._gtag("event",n,p(p({event_category:e,event_label:r,value:o},a&&{non_interaction:a.nonInteraction}),t._toGtagOptions(a)))})),m(this,"_gaCommandSendEventParameters",(function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];if("string"===typeof n[0])t._gaCommandSendEvent.apply(t,f(n.slice(1)));else{var o=n[0],i=o.eventCategory,c=o.eventAction,u=o.eventLabel,s=o.eventValue,g=(o.hitType,l(o,a));t._gaCommandSendEvent(i,c,u,s,g)}})),m(this,"_gaCommandSendTiming",(function(e,n,r,o){t._gtag("event","timing_complete",{name:n,value:r,event_category:e,event_label:o})})),m(this,"_gaCommandSendPageview",(function(e,n){if(n&&Object.keys(n).length){var r=t._toGtagOptions(n),o=r.title,a=r.location,c=l(r,i);t._gtag("event","page_view",p(p(p(p({},e&&{page_path:e}),o&&{page_title:o}),a&&{page_location:a}),c))}else e?t._gtag("event","page_view",{page_path:e}):t._gtag("event","page_view")})),m(this,"_gaCommandSendPageviewParameters",(function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];if("string"===typeof n[0])t._gaCommandSendPageview.apply(t,f(n.slice(1)));else{var o=n[0],a=o.page,i=(o.hitType,l(o,c));t._gaCommandSendPageview(a,i)}})),m(this,"_gaCommandSend",(function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var o="string"===typeof n[0]?n[0]:n[0].hitType;switch(o){case"event":t._gaCommandSendEventParameters.apply(t,n);break;case"pageview":t._gaCommandSendPageviewParameters.apply(t,n);break;case"timing":t._gaCommandSendTiming.apply(t,f(n.slice(1)));break;case"screenview":case"transaction":case"item":case"social":case"exception":console.warn("Unsupported send command: ".concat(o));break;default:console.warn("Send command doesn't exist: ".concat(o))}})),m(this,"_gaCommandSet",(function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];"string"===typeof n[0]&&(n[0]=m({},n[0],n[1])),t._gtag("set",t._toGtagOptions(n[0]))})),m(this,"_gaCommand",(function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];switch(e){case"send":t._gaCommandSend.apply(t,r);break;case"set":t._gaCommandSet.apply(t,r);break;default:console.warn("Command doesn't exist: ".concat(e))}})),m(this,"ga",(function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];if("string"===typeof n[0])t._gaCommand.apply(t,n);else{var o=n[0];t._gtag("get",t._currentMeasurementId,"client_id",(function(e){t._isQueuing=!1;var n=t._queueGtag;for(o({get:function(n){return"clientId"===n?e:"trackingId"===n?t._currentMeasurementId:"apiVersion"===n?"1":void 0}});n.length;){var r=n.shift();t._gtag.apply(t,f(r))}})),t._isQueuing=!0}return t.ga})),m(this,"event",(function(e,n){if("string"===typeof e)t._gtag("event",e,t._toGtagOptions(n));else{var r=e.action,a=e.category,i=e.label,c=e.value,u=e.nonInteraction,l=e.transport;if(!a||!r)return void console.warn("args.category AND args.action are required in event()");var s={hitType:"event",eventCategory:(0,o.default)(a),eventAction:(0,o.default)(r)};i&&(s.eventLabel=(0,o.default)(i)),"undefined"!==typeof c&&("number"!==typeof c?console.warn("Expected `args.value` arg to be a Number."):s.eventValue=c),"undefined"!==typeof u&&("boolean"!==typeof u?console.warn("`args.nonInteraction` must be a boolean."):s.nonInteraction=u),"undefined"!==typeof l&&("string"!==typeof l?console.warn("`args.transport` must be a string."):(-1===["beacon","xhr","image"].indexOf(l)&&console.warn("`args.transport` must be either one of these values: `beacon`, `xhr` or `image`"),s.transport=l)),t._gaCommand("send",s)}})),m(this,"send",(function(e){t._gaCommand("send",e)})),this.reset()}var t,n,u;return t=e,n=[{key:"gtag",value:function(){this._gtag.apply(this,arguments)}}],n&&v(t.prototype,n),u&&v(t,u),Object.defineProperty(t,"prototype",{writable:!1}),e}();t.GA4=w;var O=new w;t.default=O},171:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r;"undefined"!==typeof window&&("undefined"===typeof window.gtag&&(window.dataLayer=window.dataLayer||[],window.gtag=function(){window.dataLayer.push(arguments)}),(r=window).gtag.apply(r,t))};t.default=n},7786:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}t.ZP=void 0;var o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!==typeof e)return{default:e};var n=a(t);if(n&&n.has(e))return n.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in e)if("default"!==c&&Object.prototype.hasOwnProperty.call(e,c)){var u=i?Object.getOwnPropertyDescriptor(e,c):null;u&&(u.get||u.set)?Object.defineProperty(o,c,u):o[c]=e[c]}o.default=e,n&&n.set(e,o);return o}(n(6318));function a(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(a=function(e){return e?n:t})(e)}o.GA4;var i=o.default;t.ZP=i},5333:function(e,t,n){"use strict";n.d(t,{YD:function(){return p}});var r=n(7313),o=Object.defineProperty,a=(e,t,n)=>((e,t,n)=>t in e?o(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n)(e,"symbol"!==typeof t?t+"":t,n),i=new Map,c=new WeakMap,u=0,l=void 0;function s(e){return Object.keys(e).sort().filter((t=>void 0!==e[t])).map((t=>{return"".concat(t,"_").concat("root"===t?(n=e.root)?(c.has(n)||(u+=1,c.set(n,u.toString())),c.get(n)):"0":e[t]);var n})).toString()}function f(e){const t=s(e);let n=i.get(t);if(!n){const r=new Map;let o;const a=new IntersectionObserver((t=>{t.forEach((t=>{var n;const a=t.isIntersecting&&o.some((e=>t.intersectionRatio>=e));e.trackVisibility&&"undefined"===typeof t.isVisible&&(t.isVisible=a),null==(n=r.get(t.target))||n.forEach((e=>{e(a,t)}))}))}),e);o=a.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),n={id:t,observer:a,elements:r},i.set(t,n)}return n}function g(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:l;if("undefined"===typeof window.IntersectionObserver&&void 0!==r){const o=e.getBoundingClientRect();return t(r,{isIntersecting:r,target:e,intersectionRatio:"number"===typeof n.threshold?n.threshold:0,time:0,boundingClientRect:o,intersectionRect:o,rootBounds:o}),()=>{}}const{id:o,observer:a,elements:c}=f(n),u=c.get(e)||[];return c.has(e)||c.set(e,u),u.push(t),a.observe(e),function(){u.splice(u.indexOf(t),1),0===u.length&&(c.delete(e),a.unobserve(e)),0===c.size&&(a.disconnect(),i.delete(o))}}r.Component;function p(){let{threshold:e,delay:t,trackVisibility:n,rootMargin:o,root:a,triggerOnce:i,skip:c,initialInView:u,fallbackInView:l,onChange:s}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};var f;const[p,d]=r.useState(null),y=r.useRef(),[b,v]=r.useState({inView:!!u,entry:void 0});y.current=s,r.useEffect((()=>{if(c||!p)return;let r;return r=g(p,((e,t)=>{v({inView:e,entry:t}),y.current&&y.current(e,t),t.isIntersecting&&i&&r&&(r(),r=void 0)}),{root:a,rootMargin:o,threshold:e,trackVisibility:n,delay:t},l),()=>{r&&r()}}),[Array.isArray(e)?e.toString():e,p,a,o,i,c,n,l,t]);const m=null==(f=b.entry)?void 0:f.target,h=r.useRef();p||!m||i||c||h.current===m||(h.current=m,v({inView:!!u,entry:void 0}));const w=[d,b.inView,b.entry];return w.ref=w[0],w.inView=w[1],w.entry=w[2],w}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[707],{9723:function(e,t,o){var n=o(5318);t.Z=void 0;var r=n(o(5045)),i=o(6417),a=(0,r.default)((0,i.jsx)("path",{d:"M8 6.82v10.36c0 .79.87 1.27 1.54.84l8.14-5.18c.62-.39.62-1.29 0-1.69L9.54 5.98C8.87 5.55 8 6.03 8 6.82z"}),"PlayArrowRounded");t.Z=a},9212:function(e,t,o){var n=o(5318);t.Z=void 0;var r=n(o(5045)),i=o(6417),a=(0,r.default)([(0,i.jsx)("path",{d:"M18 20H6V8h2v2c0 .55.45 1 1 1s1-.45 1-1V8h4v2c0 .55.45 1 1 1s1-.45 1-1V8h2v12z",opacity:".3"},"0"),(0,i.jsx)("path",{d:"M18 6h-2c0-2.21-1.79-4-4-4S8 3.79 8 6H6c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm-6-2c1.1 0 2 .9 2 2h-4c0-1.1.9-2 2-2zm6 16H6V8h2v2c0 .55.45 1 1 1s1-.45 1-1V8h4v2c0 .55.45 1 1 1s1-.45 1-1V8h2v12z"},"1")],"ShoppingBagTwoTone");t.Z=a},237:function(e,t,o){var n=o(5318);t.Z=void 0;var r=n(o(5045)),i=o(6417),a=(0,r.default)((0,i.jsx)("path",{d:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"}),"Visibility");t.Z=a},8134:function(e,t,o){o(8021)},8021:function(e,t,o){var n=o(7313),r=o(6417),i=(o(1168),Object.defineProperty),a=(e,t)=>{for(var o in t)i(e,o,{get:t[o],enumerable:!0,configurable:!0,set:e=>t[o]=()=>e})};if("function"!==typeof n.createContext){throw new Error(['Remotion requires React.createContext, but it is "undefined".','If you are in a React Server Component, turn it into a client component by adding "use client" at the top of the file.',"","Before:",' import {useCurrentFrame} from "remotion";',"","After:",' "use client";',' import {useCurrentFrame} from "remotion";'].join("\n"))}function u(){return["NOD","E_EN","V"].join("")}var s=()=>["e","nv"].join(""),l=()=>{const e="undefined"!==typeof window&&window.remotion_isPlayer,t="undefined"!==typeof window&&"undefined"!==typeof window.process&&"undefined"!==typeof window.process.env&&("test"===window.process[s()][u()]||"production"===window.process[s()][u()]&&"undefined"!==typeof window&&"undefined"!==typeof window.remotion_puppeteerTimeout);return{isStudio:"undefined"!==typeof window&&window.remotion_isStudio,isRendering:t,isPlayer:e}},d=n.createElement,c=[],m=()=>{if(!l().isStudio)return;const e=new Proxy(d,{apply(e,t,o){if(c.includes(o[0])){const[n,r,...i]=o,a={...null!==r&&void 0!==r?r:{},stack:(new Error).stack};return Reflect.apply(e,t,[n,a,...i])}return Reflect.apply(e,t,o)}});n.createElement=e},f=e=>{c.push(e),m()},p=(0,n.createContext)(!1),v=()=>(0,n.useContext)(p);function h(e){return Boolean(e)}var w="4.0.231",y=(0,n.forwardRef)(((e,t)=>{const{style:o,...i}=e,a=(0,n.useMemo)((()=>({position:"absolute",top:0,left:0,right:0,bottom:0,width:"100%",height:"100%",display:"flex",flexDirection:"column",...o})),[o]);return(0,r.jsx)("div",{ref:t,style:a,...i})})),g=(0,n.createContext)(null),b=n.createContext({registerSequence:()=>{throw new Error("SequenceManagerContext not initialized")},unregisterSequence:()=>{throw new Error("SequenceManagerContext not initialized")},sequences:[]}),E=n.createContext({hidden:{},setHidden:()=>{throw new Error("SequenceVisibilityToggle not initialized")}}),F=(0,n.createContext)({getNonce:()=>0,fastRefreshes:0}),T=()=>{const e=(0,n.useContext)(F),[t,o]=(0,n.useState)((()=>e.getNonce())),r=(0,n.useRef)(e);return(0,n.useEffect)((()=>{r.current!==e&&(r.current=e,o(e.getNonce))}),[e]),t},R={};a(R,{useTimelineSetFrame:()=>G,useTimelinePosition:()=>Z,usePlayingState:()=>$,persistCurrentFrame:()=>U,getInitialFrameState:()=>H,getFrameForComposition:()=>J,TimelineContext:()=>z,SetTimelineContext:()=>Y});var C=(0,n.createContext)({compositions:[],registerComposition:()=>{},unregisterComposition:()=>{},registerFolder:()=>{},unregisterFolder:()=>{},setCurrentCompositionMetadata:()=>{},updateCompositionDefaultProps:()=>{},folders:[],currentCompositionMetadata:null,canvasContent:null,setCanvasContent:()=>{}}),x=(0,n.createContext)({props:{},updateProps:()=>{throw new Error("Not implemented")},resetUnsaved:()=>{throw new Error("Not implemented")}}),k=(n.createRef(),{"%3A":":","%2F":"/","%3F":"?","%23":"#","%5B":"[","%5D":"]","%40":"@","%21":"!","%24":"$","%26":"&","%27":"'","%28":"(","%29":")","%2A":"*","%2B":"+","%2C":",","%3B":";"}),I={},S=e=>e.startsWith("/")?S(e.substring(1)):e,N=e=>{if(null===e)throw new TypeError("null was passed to staticFile()");if("undefined"===typeof e)throw new TypeError("undefined was passed to staticFile()");if(e.startsWith("http://")||e.startsWith("https://"))throw new TypeError('staticFile() does not support remote URLs - got "'.concat(e,'". Instead, pass the URL without wrapping it in staticFile(). See: https://remotion.dev/docs/staticfile-remote-urls'));if(e.startsWith("..")||e.startsWith("./"))throw new TypeError('staticFile() does not support relative paths - got "'.concat(e,'". Instead, pass the name of a file that is inside the public/ folder. See: https://remotion.dev/docs/staticfile-relative-paths'));if(e.startsWith("/Users")||e.startsWith("/home")||e.startsWith("/tmp")||e.startsWith("/etc")||e.startsWith("/opt")||e.startsWith("/var")||e.startsWith("C:")||e.startsWith("D:")||e.startsWith("E:"))throw new TypeError('staticFile() does not support absolute paths - got "'.concat(e,'". Instead, pass the name of a file that is inside the public/ folder. See: https://remotion.dev/docs/staticfile-relative-paths'));if(e.startsWith("public/"))throw new TypeError('Do not include the public/ prefix when using staticFile() - got "'.concat(e,'". See: https://remotion.dev/docs/staticfile-relative-paths'));const t=(e=>{for(const t of Object.keys(k))if(e.includes(t))return{containsHex:!0,hexCode:t};return{containsHex:!1}})(e);var o;t.containsHex&&(o="WARNING: You seem to pass an already encoded path (path contains ".concat(t.hexCode,"). Since Remotion 4.0, the encoding is done by staticFile() itself. You may want to remove a encodeURIComponent() wrapping."),I[o]||(console.warn(o),I[o]=!0));const n=(e=>e.split("/").map((e=>encodeURIComponent(e))).join("/"))(e),r=(e=>{if("undefined"!==typeof window&&window.remotion_staticBase){if(e.startsWith(window.remotion_staticBase))throw new Error('The value "'.concat(e,'" is already prefixed with the static base ').concat(window.remotion_staticBase,". You don't need to call staticFile() on it."));return"".concat(window.remotion_staticBase,"/").concat(S(e))}return"/".concat(S(e))})(n);return r.startsWith("/")?r:"/".concat(r)},M="remotion-date:",P="remotion-file:",V=e=>JSON.parse(e,((e,t)=>"string"===typeof t&&t.startsWith(M)?new Date(t.replace(M,"")):"string"===typeof t&&t.startsWith(P)?N(t.replace(P,"")):t)),A=!1,D=()=>{if("undefined"===typeof window)return A||(A=!0,console.warn("Called `getInputProps()` on the server. This function is not available server-side and has returned an empty object."),console.warn("To hide this warning, don't call this function on the server:"),console.warn(" typeof window === 'undefined' ? {} : getInputProps()")),{};if(l().isPlayer)throw new Error("You cannot call `getInputProps()` from a <Player>. Instead, the props are available as React props from component that you passed as `component` prop.");const e=window.remotion_inputProps;if(!e)return{};return V(e)};function _(e,t,o){if("number"!==typeof e)throw new Error('The "'.concat(t,'" prop ').concat(o," must be a number, but you passed a value of type ").concat(typeof e));if(isNaN(e))throw new TypeError('The "'.concat(t,'" prop ').concat(o," must not be NaN, but is NaN."));if(!Number.isFinite(e))throw new TypeError('The "'.concat(t,'" prop ').concat(o," must be finite, but is ").concat(e,"."));if(e%1!==0)throw new TypeError('The "'.concat(t,'" prop ').concat(o," must be an integer, but is ").concat(e,"."));if(e<=0)throw new TypeError('The "'.concat(t,'" prop ').concat(o," must be positive, but got ").concat(e,"."))}function L(e,t){const{allowFloats:o,component:n}=t;if("undefined"===typeof e)throw new Error('The "durationInFrames" prop '.concat(n," is missing."));if("number"!==typeof e)throw new Error('The "durationInFrames" prop '.concat(n," must be a number, but you passed a value of type ").concat(typeof e));if(e<=0)throw new TypeError('The "durationInFrames" prop '.concat(n," must be positive, but got ").concat(e,"."));if(!o&&e%1!==0)throw new TypeError('The "durationInFrames" prop '.concat(n," must be an integer, but got ").concat(e,"."));if(!Number.isFinite(e))throw new TypeError('The "durationInFrames" prop '.concat(n," must be finite, but got ").concat(e,"."))}function j(e,t,o){if("number"!==typeof e)throw new Error('"fps" must be a number, but you passed a value of type '.concat(typeof e," ").concat(t));if(!Number.isFinite(e))throw new Error('"fps" must be a finite, but you passed '.concat(e," ").concat(t));if(isNaN(e))throw new Error('"fps" must not be NaN, but got '.concat(e," ").concat(t));if(e<=0)throw new TypeError('"fps" must be positive, but got '.concat(e," ").concat(t));if(o&&e>50)throw new TypeError("The FPS for a GIF cannot be higher than 50. Use the --every-nth-frame option to lower the FPS: https://remotion.dev/docs/render-as-gif")}var B=(0,n.createContext)(null),W=((0,n.createRef)(),e=>Boolean(e.calculateMetadata)),q=e=>{const t=(0,n.useContext)(B),{props:o}=(0,n.useContext)(x),{compositions:r,canvasContent:i,currentCompositionMetadata:a}=(0,n.useContext)(C),u="composition"===(null===i||void 0===i?void 0:i.type)?i.compositionId:null,s=null!==e&&void 0!==e?e:u,d=r.find((e=>e.id===s)),c=(0,n.useMemo)((()=>{var e;return d&&null!==(e=o[d.id])&&void 0!==e?e:{}}),[o,d]);return(0,n.useMemo)((()=>{return d?a?{type:"success",result:{...a,id:d.id,props:a.props,defaultProps:null!==(e=d.defaultProps)&&void 0!==e?e:{},defaultCodec:a.defaultCodec}}:W(d)?t[d.id]?t[d.id]:null:(L(d.durationInFrames,{allowFloats:!1,component:'in <Composition id="'.concat(d.id,'">')}),j(d.fps,'in <Composition id="'.concat(d.id,'">'),!1),_(d.width,"width",'in <Composition id="'.concat(d.id,'">')),_(d.height,"height",'in <Composition id="'.concat(d.id,'">')),{type:"success",result:{width:d.width,height:d.height,fps:d.fps,id:d.id,durationInFrames:d.durationInFrames,defaultProps:null!==(o=d.defaultProps)&&void 0!==o?o:{},props:{...null!==(n=d.defaultProps)&&void 0!==n?n:{},...null!==c&&void 0!==c?c:{},..."undefined"===typeof window||l().isPlayer?{}:null!==(r=D())&&void 0!==r?r:{}},defaultCodec:null}}):null;var e,o,n,r}),[d,t,a,c])},O=()=>{var e;const{canvasContent:t,compositions:o,currentCompositionMetadata:r}=(0,n.useContext)(C),i=o.find((e=>"composition"===(null===t||void 0===t?void 0:t.type)&&e.id===t.compositionId)),a=q(null!==(e=null===i||void 0===i?void 0:i.id)&&void 0!==e?e:null);return(0,n.useMemo)((()=>{var e;return a?"error"===a.type||"loading"===a.type?null:i?{...a.result,defaultProps:null!==(e=i.defaultProps)&&void 0!==e?e:{},id:i.id,...null!==r&&void 0!==r?r:{},component:i.component}:null:null}),[r,a,i])},z=(0,n.createContext)({frame:{},playing:!1,playbackRate:1,rootId:"",imperativePlaying:{current:!1},setPlaybackRate:()=>{throw new Error("default")},audioAndVideoTags:{current:[]}}),Y=(0,n.createContext)({setFrame:()=>{throw new Error("default")},setPlaying:()=>{throw new Error("default")}}),U=e=>{localStorage.setItem("remotion.time-all",JSON.stringify(e))},H=()=>{var e;const t=null!==(e=localStorage.getItem("remotion.time-all"))&&void 0!==e?e:"{}";return JSON.parse(t)},J=e=>{var t,o;const n=null!==(t=localStorage.getItem("remotion.time-all"))&&void 0!==t?t:"{}",r=JSON.parse(n);return void 0!==r[e]?Number(r[e]):"undefined"===typeof window?0:null!==(o=window.remotion_initialFrame)&&void 0!==o?o:0},Z=()=>{var e;const t=O(),o=(0,n.useContext)(z);var r;if(!t)return"undefined"===typeof window?0:null!==(r=window.remotion_initialFrame)&&void 0!==r?r:0;const i=null!==(e=o.frame[t.id])&&void 0!==e?e:l().isPlayer?0:J(t.id);return Math.min(t.durationInFrames-1,i)},G=()=>{const{setFrame:e}=(0,n.useContext)(Y);return e},$=()=>{const{playing:e,imperativePlaying:t}=(0,n.useContext)(z),{setPlaying:o}=(0,n.useContext)(Y);return(0,n.useMemo)((()=>[e,o,t]),[t,e,o])},K=(0,n.createContext)(!1),Q=()=>{var e,t,o;const r=(0,n.useContext)(g),i=null!==(e=null===r||void 0===r?void 0:r.width)&&void 0!==e?e:null,a=null!==(t=null===r||void 0===r?void 0:r.height)&&void 0!==t?t:null,u=null!==(o=null===r||void 0===r?void 0:r.durationInFrames)&&void 0!==o?o:null,s=O();return(0,n.useMemo)((()=>{if(!s)return null;const{id:e,durationInFrames:t,fps:o,height:n,width:r,defaultProps:l,props:d,defaultCodec:c}=s;return{id:e,width:null!==i&&void 0!==i?i:r,height:null!==a&&void 0!==a?a:n,fps:o,durationInFrames:null!==u&&void 0!==u?u:t,defaultProps:l,props:d,defaultCodec:c}}),[u,a,i,s])},X=()=>{const e=Q(),t=(0,n.useContext)(K),o=v();if(!e){if("undefined"!==typeof window&&window.remotion_isPlayer||o)throw new Error(["No video config found. Likely reasons:","- You are probably calling useVideoConfig() from outside the component passed to <Player />. See https://www.remotion.dev/docs/player/examples for how to set up the Player correctly.","- You have multiple versions of Remotion installed which causes the React context to get lost."].join("-"));throw new Error("No video config found. You are probably calling useVideoConfig() from a component which has not been registered as a <Composition />. See https://www.remotion.dev/docs/the-fundamentals#defining-compositions for more information.")}if(!t)throw new Error("Called useVideoConfig() outside a Remotion composition.");return e},ee=()=>{if(!(0,n.useContext)(K)){if(l().isPlayer)throw new Error("useCurrentFrame can only be called inside a component that was passed to <Player>. See: https://www.remotion.dev/docs/player/examples");throw new Error("useCurrentFrame() can only be called inside a component that was registered as a composition. See https://www.remotion.dev/docs/the-fundamentals#defining-compositions")}const e=Z(),t=(0,n.useContext)(g);return e-(t?t.cumulatedFrom+t.relativeFrom:0)},te=e=>{var t;let{frame:o,children:i,active:a=!0}=e;const u=ee(),s=X();if("undefined"===typeof o)throw new Error("The <Freeze /> component requires a 'frame' prop, but none was passed.");if("number"!==typeof o)throw new Error("The 'frame' prop of <Freeze /> must be a number, but is of type ".concat(typeof o));if(Number.isNaN(o))throw new Error("The 'frame' prop of <Freeze /> must be a real number, but it is NaN.");if(!Number.isFinite(o))throw new Error("The 'frame' prop of <Freeze /> must be a finite number, but it is ".concat(o,"."));const l=(0,n.useMemo)((()=>"boolean"===typeof a?a:"function"===typeof a?a(u):void 0),[a,u]),d=(0,n.useContext)(z),c=(0,n.useContext)(g),m=null!==(t=null===c||void 0===c?void 0:c.relativeFrom)&&void 0!==t?t:0,f=(0,n.useMemo)((()=>l?{...d,playing:!1,imperativePlaying:{current:!1},frame:{[s.id]:o+m}}:d),[l,d,s.id,o,m]);return(0,r.jsx)(z.Provider,{value:f,children:i})},oe=(0,n.forwardRef)(((e,t)=>{var o;let{from:i=0,durationInFrames:a=1/0,children:u,name:s,height:d,width:c,showInTimeline:m=!0,_remotionInternalLoopDisplay:f,_remotionInternalStack:p,_remotionInternalPremountDisplay:v,...h}=e;const{layout:w="absolute-fill"}=h,[F]=(0,n.useState)((()=>String(Math.random()))),R=(0,n.useContext)(g),{rootId:C}=(0,n.useContext)(z),x=R?R.cumulatedFrom+R.relativeFrom:0,k=T();if("absolute-fill"!==w&&"none"!==w)throw new TypeError('The layout prop of <Sequence /> expects either "absolute-fill" or "none", but you passed: '.concat(w));if("none"===w&&"undefined"!==typeof h.style)throw new TypeError('If layout="none", you may not pass a style.');if("number"!==typeof a)throw new TypeError("You passed to durationInFrames an argument of type ".concat(typeof a,", but it must be a number."));if(a<=0)throw new TypeError("durationInFrames must be positive, but got ".concat(a));if("number"!==typeof i)throw new TypeError('You passed to the "from" props of your <Sequence> an argument of type '.concat(typeof i,", but it must be a number."));if(!Number.isFinite(i))throw new TypeError('The "from" prop of a sequence must be finite, but got '.concat(i,"."));const I=Z(),S=X(),N=R?Math.min(R.durationInFrames-i,a):a,M=Math.max(0,Math.min(S.durationInFrames-i,N)),{registerSequence:P,unregisterSequence:V}=(0,n.useContext)(b),{hidden:A}=(0,n.useContext)(E),D=(0,n.useMemo)((()=>{var e;return null!==(e=null===R||void 0===R?void 0:R.premounting)&&void 0!==e?e:Boolean(h._remotionInternalIsPremounting)}),[h._remotionInternalIsPremounting,null===R||void 0===R?void 0:R.premounting]),_=(0,n.useMemo)((()=>{var e,t,o;return{cumulatedFrom:x,relativeFrom:i,durationInFrames:M,parentFrom:null!==(e=null===R||void 0===R?void 0:R.relativeFrom)&&void 0!==e?e:0,id:F,height:null!==(t=null!==d&&void 0!==d?d:null===R||void 0===R?void 0:R.height)&&void 0!==t?t:null,width:null!==(o=null!==c&&void 0!==c?c:null===R||void 0===R?void 0:R.width)&&void 0!==o?o:null,premounting:D}}),[x,i,M,R,F,d,c,D]),L=(0,n.useMemo)((()=>null!==s&&void 0!==s?s:""),[s]);(0,n.useEffect)((()=>{var e;if(l().isStudio)return P({from:i,duration:M,id:F,displayName:L,parent:null!==(e=null===R||void 0===R?void 0:R.id)&&void 0!==e?e:null,type:"sequence",rootId:C,showInTimeline:m,nonce:k,loopDisplay:f,stack:null!==p&&void 0!==p?p:null,premountDisplay:null!==v&&void 0!==v?v:null}),()=>{V(F)}}),[a,F,s,P,L,V,null===R||void 0===R?void 0:R.id,M,C,i,m,k,f,p,v]);const j=Math.ceil(x+i+a-1),B=I<x+i||I>j?null:u,W="none"===h.layout?void 0:h.style,q=(0,n.useMemo)((()=>({flexDirection:void 0,...c?{width:c}:{},...d?{height:d}:{},...null!==W&&void 0!==W?W:{}})),[d,W,c]);if(null!==t&&"none"===w)throw new TypeError('It is not supported to pass both a `ref` and `layout="none"` to <Sequence />.');return null!==(o=A[F])&&void 0!==o&&o?null:(0,r.jsx)(g.Provider,{value:_,children:null===B?null:"none"===h.layout?B:(0,r.jsx)(y,{ref:t,style:q,className:h.className,children:B})})})),ne=(0,n.forwardRef)(((e,t)=>{const o=ee();if("none"===e.layout)throw new Error('`<Sequence>` with `premountFor` prop does not support layout="none"');const{style:i,from:a=0,premountFor:u=0,...s}=e,l=o<a&&o>=a-u,d=(0,n.useMemo)((()=>{var e;return{...i,opacity:l?0:1,pointerEvents:l?"none":null!==(e=null===i||void 0===i?void 0:i.pointerEvents)&&void 0!==e?e:void 0}}),[l,i]);return(0,r.jsx)(te,{frame:a,active:l,children:(0,r.jsx)(re,{ref:t,from:a,style:d,_remotionInternalPremountDisplay:u,_remotionInternalIsPremounting:l,...s})})})),re=(0,n.forwardRef)(((e,t)=>"none"!==e.layout&&e.premountFor&&!l().isRendering?(0,r.jsx)(ne,{...e,ref:t}):(0,r.jsx)(oe,{...e,ref:t}))),ie=(0,n.createContext)({registerRenderAsset:()=>{},unregisterRenderAsset:()=>{},renderAssets:[]}),ae=e=>"undefined"===typeof window?e:new URL(e,window.origin).href,ue=e=>{let{endAt:t,mediaDuration:o,playbackRate:n,startFrom:r}=e,i=o;"undefined"!==typeof t&&(i=t),"undefined"!==typeof r&&(i-=r);const a=i/n;return Math.floor(a)};function se(e){let t;throw le(e)?(t=e,t.stack||(t.stack=new Error(t.message).stack)):t="string"===typeof e?Error(e):Error("Rendering was cancelled"),window.remotion_cancelledError=t.stack,t}var le=e=>e instanceof Error||null!==e&&("object"===typeof e&&("stack"in e&&("string"===typeof e.stack&&("message"in e&&"string"===typeof e.message)))),de=(0,n.createContext)(null),ce=e=>{let{durationInFrames:t,times:o=1/0,children:i,name:a,...u}=e;const s=ee(),{durationInFrames:l}=X();if(L(t,{component:"of the <Loop /> component",allowFloats:!0}),"number"!==typeof o)throw new TypeError('You passed to "times" an argument of type '.concat(typeof o,", but it must be a number."));if(o!==1/0&&o%1!==0)throw new TypeError('The "times" prop of a loop must be an integer, but got '.concat(o,"."));if(o<0)throw new TypeError('The "times" prop of a loop must be at least 0, but got '.concat(o));const d=Math.ceil(l/t),c=Math.min(d,o),m="none"===u.layout?void 0:u.style,f=t*(c-1),p=Math.floor(s/t)*t,v=Math.min(p,f),h=(0,n.useMemo)((()=>({numberOfTimes:c,startOffset:-v,durationInFrames:t})),[c,t,v]),w=(0,n.useMemo)((()=>({iteration:Math.floor(s/t),durationInFrames:t})),[s,t]);return(0,r.jsx)(de.Provider,{value:w,children:(0,r.jsx)(re,{durationInFrames:t,from:v,name:null!==a&&void 0!==a?a:"<Loop>",_remotionInternalLoopDisplay:h,layout:u.layout,style:m,children:i})})};ce.useLoop=()=>n.useContext(de);var me=(0,n.createContext)({}),fe=e=>{var t;return null!==(t=(0,n.useContext)(me)[e])&&void 0!==t?t:e},pe=(e,t)=>{if("number"!==typeof e.volume&&"function"!==typeof e.volume&&"undefined"!==typeof e.volume)throw new TypeError("You have passed a volume of type ".concat(typeof e.volume," to your <").concat(t," /> component. Volume must be a number or a function with the signature '(frame: number) => number' undefined."));if("number"===typeof e.volume&&e.volume<0)throw new TypeError("You have passed a volume below 0 to your <".concat(t," /> component. Volume must be between 0 and 1"));if("number"!==typeof e.playbackRate&&"undefined"!==typeof e.playbackRate)throw new TypeError("You have passed a playbackRate of type ".concat(typeof e.playbackRate," to your <").concat(t," /> component. Playback rate must a real number or undefined."));if("number"===typeof e.playbackRate&&(isNaN(e.playbackRate)||!Number.isFinite(e.playbackRate)||e.playbackRate<=0))throw new TypeError("You have passed a playbackRate of ".concat(e.playbackRate," to your <").concat(t," /> component. Playback rate must be a real number above 0."))},ve=(e,t)=>{if("undefined"!==typeof e){if("number"!==typeof e)throw new TypeError("type of startFrom prop must be a number, instead got type ".concat(typeof e,"."));if(isNaN(e)||e===1/0)throw new TypeError("startFrom prop can not be NaN or Infinity.");if(e<0)throw new TypeError("startFrom must be greater than equal to 0 instead got ".concat(e,"."))}if("undefined"!==typeof t){if("number"!==typeof t)throw new TypeError("type of endAt prop must be a number, instead got type ".concat(typeof t,"."));if(isNaN(t))throw new TypeError("endAt prop can not be NaN.");if(t<=0)throw new TypeError("endAt must be a positive number, instead got ".concat(t,"."))}if(t<e)throw new TypeError("endAt prop must be greater than startFrom prop.")},he=(0,n.createContext)({durations:{},setDurations:()=>{throw new Error("context missing")}});function we(e){let t=e+1831565813;return t=Math.imul(t^t>>>15,1|t),t^=t+Math.imul(t^t>>>7,61|t),((t^t>>>14)>>>0)/4294967296}var ye=(e,t)=>{if(void 0!==t)throw new TypeError("random() takes only one argument");if(null===e)return Math.random();if("string"===typeof e)return we(function(e){let t=0,o=0,n=0;for(t=0;t<e.length;t++)o=e.charCodeAt(t),n=(n<<5)-n+o,n|=0;return n}(e));if("number"===typeof e)return we(1e10*e);throw new Error("random() argument must be a number or a string")},ge=()=>{var e;const t=(0,n.useContext)(g);return Math.min(0,null!==(e=null===t||void 0===t?void 0:t.relativeFrom)&&void 0!==e?e:0)},be=e=>{const t=ce.useLoop(),o=ee(),n=ge();return"repeat"===e||null===t?o+n:o+n+t.durationInFrames*t.iteration},Ee=e=>{if(/data:|blob:/.test(e.substring(0,5)))return"Data URL";const t=e.split("/").map((e=>e.split("\\"))).flat(1);return t[t.length-1]},Fe=(e,t,o)=>{const{current:n}=e;if(!n)return;const r=n.play();r.catch&&r.catch((e=>{if(n&&!e.message.includes("request was interrupted by a call to pause")&&!e.message.includes("The operation was aborted.")&&!e.message.includes("The fetching process for the media resource was aborted by the user agent")&&!e.message.includes("request was interrupted by a new load request")&&!e.message.includes("because the media was removed from the document")&&(!e.message.includes("user didn't interact with the document")||!n.muted)&&(console.log("Could not play ".concat(t," due to following error: "),e),!n.muted)){if(o)return void o();console.log("The video will be muted and we'll retry playing it."),"video"===t&&l().isPlayer&&console.log("Use onAutoPlayError() to handle this error yourself."),n.muted=!0,n.play()}}))},Te=e=>{let{frame:t,volume:o,mediaVolume:n=1,allowAmplificationDuringRender:r}=e;const i=r?1/0:1;if("number"===typeof o)return Math.min(i,o*n);if("undefined"===typeof o)return Number(n);const a=o(t)*n;if("number"!==typeof a)throw new TypeError("You passed in a a function to the volume prop but it did not return a number but a value of type ".concat(typeof a," for frame ").concat(t));if(Number.isNaN(a))throw new TypeError("You passed in a function to the volume prop but it returned NaN for frame ".concat(t,"."));if(!Number.isFinite(a))throw new TypeError("You passed in a function to the volume prop but it returned a non-finite number for frame ".concat(t,"."));return Math.max(0,Math.min(i,a))},Re={},Ce=e=>{let{volume:t,mediaVolume:o,mediaRef:r,src:i,mediaType:a,playbackRate:u,displayName:s,id:d,stack:c,showInTimeline:m,premountDisplay:f,onAutoPlayError:p}=e;const v=X(),{rootId:h,audioAndVideoTags:w}=(0,n.useContext)(z),y=(0,n.useContext)(g),E=y?y.relativeFrom+y.cumulatedFrom:0,[F]=$(),R=ge(),{registerSequence:C,unregisterSequence:x}=(0,n.useContext)(b),[k]=(0,n.useState)((()=>t)),I=T(),S=y?Math.min(y.durationInFrames,v.durationInFrames):v.durationInFrames,N="function"===typeof t,M=(0,n.useMemo)((()=>"number"===typeof t?t:new Array(Math.floor(Math.max(0,S+R))).fill(!0).map(((e,n)=>Te({frame:n+R,volume:t,mediaVolume:o,allowAmplificationDuringRender:!1}))).join(",")),[S,R,t,o]);(0,n.useEffect)((()=>{var e;"number"===typeof t&&t!==k&&(e="Remotion: The ".concat(a," with src ").concat(i," has changed it's volume. Prefer the callback syntax for setting volume to get better timeline display: https://www.remotion.dev/docs/using-audio/#controlling-volume"),Re[e]||(console.warn(e),Re[e]=!0))}),[k,a,i,t]),(0,n.useEffect)((()=>{var e,t,o;if(r.current){if(!i)throw new Error("No src passed");if((l().isStudio||"test"===(null===(e=window.process)||void 0===e||null===(t=e.env)||void 0===t?void 0:t.NODE_ENV))&&m)return C({type:a,src:i,id:d,duration:S,from:0,parent:null!==(o=null===y||void 0===y?void 0:y.id)&&void 0!==o?o:null,displayName:null!==s&&void 0!==s?s:Ee(i),rootId:h,volume:M,showInTimeline:!0,nonce:I,startMediaFrom:0-R,doesVolumeChange:N,loopDisplay:void 0,playbackRate:u,stack:c,premountDisplay:f}),()=>{x(d)}}}),[E,S,d,y,i,C,h,x,v,M,N,I,r,a,R,u,s,c,m,f]),(0,n.useEffect)((()=>{const e={id:d,play:()=>{if(F)return Fe(r,a,p)}};return w.current.push(e),()=>{w.current=w.current.filter((e=>e.id!==d))}}),[w,d,r,a,p,F])},xe=n.createContext(null),ke=()=>{const e=(0,n.useContext)(xe),t=e?e.addBlock:null;return(0,n.useMemo)((()=>({delayPlayback:()=>{if(!t)throw new Error("Tried to enable the buffering state, but a Remotion context was not found. This API can only be called in a component that was passed to the Remotion Player or a <Composition>. Or you might have experienced a version mismatch - run `npx remotion versions` and ensure all packages have the same version. This error is thrown by the buffer state https://remotion.dev/docs/player/buffer-state");const{unblock:e}=t({id:String(Math.random())});return{unblock:e}}})),[t])};function Ie(e,t){if(t.length<2)throw new Error(e+" must have at least 2 elements");for(const o of t){if("number"!==typeof o)throw new Error("".concat(e," must contain only numbers"));if(!Number.isFinite(o))throw new Error("".concat(e," must contain only finite numbers, but got [").concat(t.join(","),"]"))}}function Se(e,t,o,n){var r;if("undefined"===typeof e)throw new Error("input can not be undefined");if("undefined"===typeof t)throw new Error("inputRange can not be undefined");if("undefined"===typeof o)throw new Error("outputRange can not be undefined");if(t.length!==o.length)throw new Error("inputRange ("+t.length+") and outputRange ("+o.length+") must have the same length");Ie("inputRange",t),Ie("outputRange",o),function(e){for(let t=1;t<e.length;++t)if(!(e[t]>e[t-1]))throw new Error("inputRange must be strictly monotonically increasing but got [".concat(e.join(","),"]"))}(t);const i=null!==(r=null===n||void 0===n?void 0:n.easing)&&void 0!==r?r:e=>e;let a="extend";void 0!==(null===n||void 0===n?void 0:n.extrapolateLeft)&&(a=n.extrapolateLeft);let u="extend";if(void 0!==(null===n||void 0===n?void 0:n.extrapolateRight)&&(u=n.extrapolateRight),"number"!==typeof e)throw new TypeError("Cannot interpolate an input which is not a number");const s=function(e,t){let o;for(o=1;o<t.length-1&&!(t[o]>=e);++o);return o-1}(e,t);return function(e,t,o,n){const{extrapolateLeft:r,extrapolateRight:i,easing:a}=n;let u=e;const[s,l]=t,[d,c]=o;if(u<s){if("identity"===r)return u;if("clamp"===r)u=s;else if("wrap"===r){const e=l-s;u=((u-s)%e+e)%e+s}}if(u>l){if("identity"===i)return u;if("clamp"===i)u=l;else if("wrap"===i){const e=l-s;u=((u-s)%e+e)%e+s}}return d===c?d:(u=(u-s)/(l-s),u=a(u),u=u*(c-d)+d,u)}(e,[t[s],t[s+1]],[o[s],o[s+1]],{easing:i,extrapolateLeft:a,extrapolateRight:u})}var Ne=e=>{let{frame:t,playbackRate:o,startFrom:n}=e;return Se(t,[-1,n,n+1],[-1,n,n+o])},Me=e=>{let{fps:t,frame:o,playbackRate:n,startFrom:r}=e;return Ne({frame:o,playbackRate:n,startFrom:r})*(1e3/t)/1e3},Pe=(e,t)=>Math.round(e/t*100)/100,Ve=()=>{if("undefined"===typeof window)return!1;const e=/iP(ad|od|hone)/i.test(window.navigator.userAgent),t=/AppleWebKit/.test(window.navigator.userAgent);return e&&t},Ae=e=>{let{actualFrom:t,fps:o}=e;return Pe(Math.max(0,-t),o)},De=e=>{let{duration:t,fps:o}=e;return Pe(t,o)},_e=e=>{var t;let{actualSrc:o,actualFrom:n,duration:r,fps:i}=e;if((e=>Ve()&&e.startsWith("blob:"))(o))return o;if(o.startsWith("data:"))return o;if(Boolean(new URL(o,null!==(t="undefined"===typeof window?null:window.location.href)&&void 0!==t?t:"http://localhost:3000").hash))return o;if(!Number.isFinite(n))return o;const a="".concat(o,"#t=").concat(Ae({actualFrom:n,fps:i}));return Number.isFinite(r)?"".concat(a,",").concat(De({duration:r,fps:i})):a},Le=e=>{let{actualSrc:t,actualFrom:o,duration:r,fps:i}=e;const a=(0,n.useRef)(o),u=(0,n.useRef)(r),s=(0,n.useRef)(t);(e=>{let{prevStartFrom:t,newStartFrom:o,prevDuration:n,newDuration:r,fps:i}=e;const a=Ae({actualFrom:t,fps:i}),u=Ae({actualFrom:o,fps:i}),s=De({duration:n,fps:i}),l=De({duration:r,fps:i});return!(u<a)&&!(l>s)})({prevStartFrom:a.current,newStartFrom:o,prevDuration:u.current,newDuration:r,fps:i})&&t===s.current||(a.current=o,u.current=r,s.current=t);return _e({actualSrc:s.current,actualFrom:a.current,duration:u.current,fps:i})},je={},Be=.45,We=(e,t)=>{if(!e.current)return;const o=Ve()?Number(t.toFixed(1)):t;e.current.currentTime=o},qe=e=>{let{mediaRef:t,src:o,mediaType:r,playbackRate:i,onlyWarnForMediaSeekingError:a,acceptableTimeshift:u,pauseWhenBuffering:s,isPremounting:l,debugSeeking:d,onAutoPlayError:c}=e;const{playbackRate:m}=(0,n.useContext)(z),f=ee(),p=Z(),[v]=$(),h=(0,n.useContext)(xe),{fps:w}=X(),y=ge(),g=(0,n.useRef)(null),b=(0,n.useRef)(null);if(!h)throw new Error("useMediaPlayback must be used inside a <BufferingContext>");const E=(0,n.useRef)({}),F=(0,n.useCallback)((()=>{o&&(d&&console.log("Detected ".concat(o," as a variable FPS video. Disabling buffering while seeking.")),E.current[o]=!0)}),[d,o]),T=(e=>{let{mediaRef:t,mediaType:o,lastSeek:r,onVariableFpsVideoDetected:i}=e;const a=(0,n.useRef)(null);return(0,n.useEffect)((()=>{const{current:e}=t;if(!e)return void(a.current=null);if(a.current=e.currentTime,"video"!==o)return void(a.current=null);const n=e;if(!n.requestVideoFrameCallback)return;let u=()=>{};const s=()=>{if(!n)return;const e=n.requestVideoFrameCallback(((e,t)=>{if(null!==a.current){const e=Math.abs(a.current-t.mediaTime),o=Math.abs(null===r.current?1/0:t.mediaTime-r.current);e>.5&&o>.5&&t.mediaTime>a.current&&i()}a.current=t.mediaTime,s()}));u=()=>{n.cancelVideoFrameCallback(e),u=()=>{}}};return s(),()=>{u()}}),[r,t,o,i]),a})({mediaRef:t,mediaType:r,lastSeek:b,onVariableFpsVideoDetected:F}),R=Me({frame:f,playbackRate:i,startFrom:-y,fps:w}),C=(e=>{let{element:t,shouldBuffer:o,isPremounting:r}=e;const i=ke(),[a,u]=(0,n.useState)(!1);return(0,n.useEffect)((()=>{let e=[];const{current:n}=t;if(!n)return;if(!o)return;if(r)return;const a=()=>{e.forEach((e=>e())),e=[],u(!1)},s=()=>{u(!0);const{unblock:t}=i.delayPlayback(),o=()=>{a(),l()},r=()=>{a(),l()};n.addEventListener("canplay",o,{once:!0}),e.push((()=>{n.removeEventListener("canplay",o)})),n.addEventListener("error",r,{once:!0}),e.push((()=>{n.removeEventListener("error",r)})),e.push((()=>{t()}))},l=()=>{n.readyState<n.HAVE_FUTURE_DATA?(s(),navigator.userAgent.includes("Firefox/")||n.load()):(n.addEventListener("waiting",s),e.push((()=>{n.removeEventListener("waiting",s)})))};return l(),()=>{a()}}),[i,t,r,o]),a})({element:t,shouldBuffer:s,isPremounting:l}),{bufferUntilFirstFrame:x,isBuffering:k}=(e=>{let{mediaRef:t,mediaType:o,onVariableFpsVideoDetected:r,pauseWhenBuffering:i}=e;const a=(0,n.useRef)(!1),{delayPlayback:u}=ke(),s=(0,n.useCallback)((e=>{if("video"!==o)return;if(!i)return;const n=t.current;if(!n)return;if(!n.requestVideoFrameCallback)return;a.current=!0;const s=u(),l=()=>{s.unblock(),n.removeEventListener("ended",l,{once:!0}),n.removeEventListener("pause",l,{once:!0}),a.current=!1},d=()=>{l()};n.requestVideoFrameCallback(((t,o)=>{Math.abs(o.mediaTime-e)>.5&&r(),l()})),n.addEventListener("ended",d,{once:!0}),n.addEventListener("pause",d,{once:!0}),n.addEventListener("canplay",d,{once:!0})}),[u,t,o,r,i]);return(0,n.useMemo)((()=>({isBuffering:()=>a.current,bufferUntilFirstFrame:s})),[s])})({mediaRef:t,mediaType:r,onVariableFpsVideoDetected:F,pauseWhenBuffering:s}),I=i*m,S=(()=>{var e;return null!==(e=t.current)&&void 0!==e&&e.duration?Math.min(t.current.duration,null!==u&&void 0!==u?u:Be):u})(),N=(e=>{const[t,o]=(0,n.useState)(e.buffering.current);return(0,n.useEffect)((()=>(e.listenForBuffering((()=>{o(!0)})),e.listenForResume((()=>{o(!1)})),()=>{e.listenForBuffering((()=>{})),e.listenForResume((()=>{}))})),[e]),t})(h);(0,n.useEffect)((()=>{var e;if(!v)return void(null===(e=t.current)||void 0===e||e.pause());const o=C||k();var n;N&&!o&&(null===(n=t.current)||void 0===n||n.pause())}),[k,C,N,t,v]),(0,n.useEffect)((()=>{var e;const n="audio"===r?"<Audio>":"<Video>";if(!t.current)throw new Error("No ".concat(r," ref found"));if(!o)throw new Error("No 'src' attribute was passed to the ".concat(n," element."));const i=Math.max(0,I);t.current.playbackRate!==i&&(t.current.playbackRate=i);const{duration:u}=t.current,s=!Number.isNaN(u)&&Number.isFinite(u)?Math.min(u,R):R,l=t.current.currentTime,m=null!==(e=T.current)&&void 0!==e?e:null,f=E.current[o],w=Math.abs(s-l),y=m?Math.abs(s-m):null,F=y&&!f?y:w;if(d&&console.log({mediaTagTime:l,rvcTime:m,shouldBeTime:s,state:t.current.readyState,playing:!t.current.paused,isVariableFpsVideo:f}),F>S&&g.current!==s)return d&&console.log("Seeking",{shouldBeTime:s,isTime:l,rvcTime:m,timeShift:F,isVariableFpsVideo:f}),We(t,s),b.current=s,g.current=s,v&&!f&&(I>0&&x(s),t.current.paused&&Fe(t,r,c)),void(a||((e,t)=>{if(null===e)return;if(0===e.seekable.length)return;if(e.seekable.length>1)return;if(je[e.src])return;const o=e.seekable.start(0),n=e.seekable.end(0);if(0===o&&0===n){const o=["The media ".concat(e.src," cannot be seeked. This could be one of few reasons:"),"1) The media resource was replaced while the video is playing but it was not loaded yet.","2) The media does not support seeking.","3) The media was loaded with security headers prventing it from being included.","Please see https://remotion.dev/docs/non-seekable-media for assistance."].join("\n");if("console-error"===t)console.error(o);else{if("console-warning"!==t)throw new Error(o);console.warn("The media ".concat(e.src," does not support seeking. The video will render fine, but may not play correctly in the Remotion Studio and in the <Player>. See https://remotion.dev/docs/non-seekable-media for an explanation."))}je[e.src]=!0}})(t.current,a?"console-warning":"console-error"));const N=v?.15:1e-5,M=Math.abs(t.current.currentTime-s)>N,P=C||k(),V=h.buffering.current&&!P;v&&!V?(t.current.paused&&!t.current.ended||0===p)&&(M&&(We(t,s),b.current=s),Fe(t,r,c),f||I>0&&x(s)):M&&(We(t,s),b.current=s)}),[p,S,x,h.buffering,T,d,R,k,C,t,r,a,I,v,o,c])},Oe=e=>{const[t,o]=(0,n.useState)(1);return(0,n.useEffect)((()=>{const t=e.current;if(!t)return;const n=()=>{o(t.volume)};return t.addEventListener("volumechange",n),()=>t.removeEventListener("volumechange",n)}),[e]),(0,n.useEffect)((()=>{const n=e.current;n&&n.volume!==t&&o(n.volume)}),[t,e]),t},ze=(e,t)=>Math.abs(e-t)<1e-5,Ye=e=>{let{volumePropFrame:t,actualVolume:o,volume:r,mediaVolume:i,mediaRef:a}=e;(0,n.useEffect)((()=>{const e=Te({frame:t,volume:r,mediaVolume:i,allowAmplificationDuringRender:!1});!ze(e,o)&&a.current&&(a.current.volume=e)}),[o,t,a,r,i])},Ue=(0,n.createContext)({mediaMuted:!1,mediaVolume:1}),He=(0,n.createContext)({setMediaMuted:()=>{throw new Error("default")},setMediaVolume:()=>{throw new Error("default")}}),Je=()=>{const{mediaVolume:e}=(0,n.useContext)(Ue),{setMediaVolume:t}=(0,n.useContext)(He);return(0,n.useMemo)((()=>[e,t]),[e,t])},Ze=()=>{const{mediaMuted:e}=(0,n.useContext)(Ue),{setMediaMuted:t}=(0,n.useContext)(He);return(0,n.useMemo)((()=>[e,t]),[e,t])},Ge=(0,n.createContext)(null),$e=(0,n.forwardRef)(((e,t)=>{var o;const[i]=(0,n.useState)(e.shouldPreMountAudioTags);if(e.shouldPreMountAudioTags!==i)throw new Error("Cannot change the behavior for pre-mounting audio tags dynamically.");const{volume:a,muted:u,playbackRate:s,shouldPreMountAudioTags:l,src:d,onDuration:c,acceptableTimeShiftInSeconds:m,_remotionInternalNeedsDurationCalculation:f,_remotionInternalNativeLoopPassed:p,_remotionInternalStack:v,_remotionDebugSeeking:h,allowAmplificationDuringRender:w,name:y,pauseWhenBuffering:b,showInTimeline:F,loopVolumeCurveBehavior:T,stack:R,...C}=e,[x]=Je(),[k]=Ze(),I=be(null!==T&&void 0!==T?T:"repeat"),{hidden:S}=(0,n.useContext)(E);if(!d)throw new TypeError("No 'src' was passed to <Audio>.");const N=fe(d),M=(0,n.useContext)(g),[P]=(0,n.useState)((()=>String(Math.random()))),V=null!==(o=S[P])&&void 0!==o&&o,A=Te({frame:I,volume:a,mediaVolume:x,allowAmplificationDuringRender:!1}),D=(0,n.useMemo)((()=>({muted:u||k||V||A<=0,src:N,loop:p,...C})),[p,V,k,u,C,N,A]),_=((e,t)=>{var o;const r=(0,n.useContext)(Ge),[i]=(0,n.useState)((()=>r&&r.numberOfAudioTags>0?r.registerAudio(e,t):{el:n.createRef(),id:Math.random(),props:e,audioId:t})),a=null!==(o=n.useInsertionEffect)&&void 0!==o?o:n.useLayoutEffect;return"undefined"!==typeof document&&(a((()=>{r&&r.numberOfAudioTags>0&&r.updateAudio({id:i.id,aud:e,audioId:t})}),[e,r,i.id,t]),a((()=>()=>{r&&r.numberOfAudioTags>0&&r.unregisterAudio(i.id)}),[r,i.id])),i})(D,(0,n.useMemo)((()=>"audio-".concat(ye(null!==d&&void 0!==d?d:""),"-").concat(null===M||void 0===M?void 0:M.relativeFrom,"-").concat(null===M||void 0===M?void 0:M.cumulatedFrom,"-").concat(null===M||void 0===M?void 0:M.durationInFrames,"-muted:").concat(e.muted,"-loop:").concat(e.loop)),[d,null===M||void 0===M?void 0:M.relativeFrom,null===M||void 0===M?void 0:M.cumulatedFrom,null===M||void 0===M?void 0:M.durationInFrames,e.muted,e.loop])).el,L=Oe(_);Ye({volumePropFrame:I,actualVolume:L,volume:a,mediaVolume:x,mediaRef:_}),Ce({volume:a,mediaVolume:x,mediaRef:_,src:d,mediaType:"audio",playbackRate:null!==s&&void 0!==s?s:1,displayName:null!==y&&void 0!==y?y:null,id:P,stack:v,showInTimeline:F,premountDisplay:null,onAutoPlayError:null}),qe({mediaRef:_,src:d,mediaType:"audio",playbackRate:null!==s&&void 0!==s?s:1,onlyWarnForMediaSeekingError:!1,acceptableTimeshift:null!==m&&void 0!==m?m:Be,isPremounting:Boolean(null===M||void 0===M?void 0:M.premounting),pauseWhenBuffering:b,debugSeeking:h,onAutoPlayError:null}),(0,n.useImperativeHandle)(t,(()=>_.current),[_]);const j=(0,n.useRef)();return j.current=c,(0,n.useEffect)((()=>{const{current:e}=_;if(!e)return;var t;if(e.duration)return void(null===(t=j.current)||void 0===t||t.call(j,e.src,e.duration));const o=()=>{var t;null===(t=j.current)||void 0===t||t.call(j,e.src,e.duration)};return e.addEventListener("loadedmetadata",o),()=>{e.removeEventListener("loadedmetadata",o)}}),[_,d]),i?null:(0,r.jsx)("audio",{ref:_,preload:"metadata",...D})}));"undefined"!==typeof window&&(window.remotion_renderReady=!1);var Ke=[];"undefined"!==typeof window&&(window.remotion_delayRenderTimeouts={});var Qe="The delayRender was called:",Xe=(e,t)=>{var o,n;if("string"!==typeof e&&"undefined"!==typeof e)throw new Error("The label parameter of delayRender() must be a string or undefined, got: "+JSON.stringify(e));const r=Math.random();Ke.push(r);const i=null!==(o=null===(n=Error().stack)||void 0===n?void 0:n.replace(/^Error/g,""))&&void 0!==o?o:"";if(l().isRendering){var a,u;const o=(null!==(a=null===t||void 0===t?void 0:t.timeoutInMilliseconds)&&void 0!==a?a:"undefined"===typeof window?3e4:null!==(u=window.remotion_puppeteerTimeout)&&void 0!==u?u:3e4)-2e3;if("undefined"!==typeof window){var s;const n=(null!==(s=null===t||void 0===t?void 0:t.retries)&&void 0!==s?s:0)-(window.remotion_attempt-1);window.remotion_delayRenderTimeouts[r]={label:null!==e&&void 0!==e?e:null,timeout:setTimeout((()=>{const t=["A delayRender()",e?'"'.concat(e,'"'):null,"was called but not cleared after ".concat(o,"ms. See https://remotion.dev/docs/timeout for help."),n>0?"Retries left: "+n:null,n>0?"- Rendering the frame will be retried.":null,Qe,i].filter(h).join(" ");se(Error(t))}),o)}}}return"undefined"!==typeof window&&(window.remotion_renderReady=!1),r},et=e=>{if("undefined"===typeof e)throw new TypeError("The continueRender() method must be called with a parameter that is the return value of delayRender(). No value was passed.");if("number"!==typeof e)throw new TypeError("The parameter passed into continueRender() must be the return value of delayRender() which is a number. Got: "+JSON.stringify(e));0===(Ke=Ke.filter((t=>t!==e||(l().isRendering&&(clearTimeout(window.remotion_delayRenderTimeouts[e].timeout),delete window.remotion_delayRenderTimeouts[e]),!1)))).length&&"undefined"!==typeof window&&(window.remotion_renderReady=!0)},tt=(0,n.forwardRef)(((e,t)=>{const o=(0,n.useRef)(null),{volume:i,playbackRate:a,allowAmplificationDuringRender:u,onDuration:s,toneFrequency:l,_remotionInternalNeedsDurationCalculation:d,_remotionInternalNativeLoopPassed:c,acceptableTimeShiftInSeconds:m,name:f,onError:p,delayRenderRetries:v,delayRenderTimeoutInMilliseconds:h,loopVolumeCurveBehavior:w,pauseWhenBuffering:y,...b}=e,E=Z(),F=be(null!==w&&void 0!==w?w:"repeat"),T=ee(),R=(0,n.useContext)(g),{registerRenderAsset:C,unregisterRenderAsset:x}=(0,n.useContext)(ie),k=(0,n.useMemo)((()=>{var t;return"audio-".concat(ye(null!==(t=e.src)&&void 0!==t?t:""),"-").concat(null===R||void 0===R?void 0:R.relativeFrom,"-").concat(null===R||void 0===R?void 0:R.cumulatedFrom,"-").concat(null===R||void 0===R?void 0:R.durationInFrames)}),[e.src,null===R||void 0===R?void 0:R.relativeFrom,null===R||void 0===R?void 0:R.cumulatedFrom,null===R||void 0===R?void 0:R.durationInFrames]),I=Te({volume:i,frame:F,mediaVolume:1,allowAmplificationDuringRender:null!==u&&void 0!==u&&u});(0,n.useImperativeHandle)(t,(()=>o.current),[]),(0,n.useEffect)((()=>{var t,o;if(!e.src)throw new Error("No src passed");if(window.remotion_audioEnabled&&!e.muted&&!(I<=0))return C({type:"audio",src:ae(e.src),id:k,frame:E,volume:I,mediaFrame:T,playbackRate:null!==(t=e.playbackRate)&&void 0!==t?t:1,allowAmplificationDuringRender:null!==u&&void 0!==u&&u,toneFrequency:null!==l&&void 0!==l?l:null,audioStartFrame:Math.max(0,-(null!==(o=null===R||void 0===R?void 0:R.relativeFrom)&&void 0!==o?o:0))}),()=>x(k)}),[e.muted,e.src,C,E,k,x,I,F,T,a,e.playbackRate,u,l,null===R||void 0===R?void 0:R.relativeFrom]);const{src:S}=e,N=t||d;return(0,n.useLayoutEffect)((()=>{var e,t;if("test"===(null===(e=window.process)||void 0===e||null===(t=e.env)||void 0===t?void 0:t.NODE_ENV))return;if(!N)return;const n=Xe("Loading <Audio> duration with src="+S,{retries:null!==v&&void 0!==v?v:void 0,timeoutInMilliseconds:null!==h&&void 0!==h?h:void 0}),{current:r}=o,i=()=>{null!==r&&void 0!==r&&r.duration&&s(r.src,r.duration),et(n)};return null!==r&&void 0!==r&&r.duration?(s(r.src,r.duration),et(n)):null===r||void 0===r||r.addEventListener("loadedmetadata",i,{once:!0}),()=>{null===r||void 0===r||r.removeEventListener("loadedmetadata",i),et(n)}}),[S,s,N,v,h]),N?(0,r.jsx)("audio",{ref:o,...b}):null})),ot=(0,n.forwardRef)(((e,t)=>{var o,i;const a=(0,n.useContext)(Ge),{startFrom:u,endAt:s,name:d,stack:c,pauseWhenBuffering:m,showInTimeline:f,_remotionDebugSeeking:p,...v}=e,{loop:h,...w}=e,{fps:y}=X(),g=l(),{durations:b,setDurations:E}=(0,n.useContext)(he);if("string"!==typeof e.src)throw new TypeError("The `<Audio>` tag requires a string for `src`, but got ".concat(JSON.stringify(e.src)," instead."));const F=fe(e.src),T=(0,n.useCallback)((e=>{console.log(e.currentTarget.error);const t="Could not play audio with src ".concat(F,": ").concat(e.currentTarget.error,". See https://remotion.dev/docs/media-playback-error for help.");h?se(new Error(t)):console.warn(t)}),[h,F]),R=(0,n.useCallback)(((e,t)=>{E({type:"got-duration",durationInSeconds:t,src:e})}),[E]),C=null!==(o=b[ae(F)])&&void 0!==o?o:b[ae(e.src)];if(h&&void 0!==C){var x;if(!Number.isFinite(C))return(0,r.jsx)(ot,{...w,ref:t,_remotionInternalNativeLoopPassed:!0});const o=C*y;return(0,r.jsx)(ce,{layout:"none",durationInFrames:ue({endAt:s,mediaDuration:o,playbackRate:null!==(x=e.playbackRate)&&void 0!==x?x:1,startFrom:u}),children:(0,r.jsx)(ot,{...w,ref:t,_remotionInternalNativeLoopPassed:!0})})}if("undefined"!==typeof u||"undefined"!==typeof s){ve(u,s);const e=null!==u&&void 0!==u?u:0,o=null!==s&&void 0!==s?s:1/0;return(0,r.jsx)(re,{layout:"none",from:0-e,showInTimeline:!1,durationInFrames:o,name:d,children:(0,r.jsx)(ot,{_remotionInternalNeedsDurationCalculation:Boolean(h),pauseWhenBuffering:null!==m&&void 0!==m&&m,...v,ref:t})})}return pe(e,"Audio"),g.isRendering?(0,r.jsx)(tt,{onDuration:R,...e,ref:t,onError:T,_remotionInternalNeedsDurationCalculation:Boolean(h)}):(0,r.jsx)($e,{_remotionInternalNativeLoopPassed:null!==(i=e._remotionInternalNativeLoopPassed)&&void 0!==i&&i,_remotionDebugSeeking:null!==p&&void 0!==p&&p,_remotionInternalStack:null!==c&&void 0!==c?c:null,shouldPreMountAudioTags:null!==a&&a.numberOfAudioTags>0,...e,ref:t,onError:T,onDuration:R,pauseWhenBuffering:null!==m&&void 0!==m&&m,_remotionInternalNeedsDurationCalculation:Boolean(h),showInTimeline:null===f||void 0===f||f})}));f(ot);"Folder name must match ".concat(String(/^([a-zA-Z0-9-\u4E00-\u9FFF])+$/g)),(0,n.createContext)({folderName:null,parentName:null}),"Composition ID must match ".concat(String(/^([a-zA-Z0-9-\u4E00-\u9FFF])+$/g)),n.createRef();(0,n.forwardRef)(((e,t)=>{let{onLoad:o,onError:i,delayRenderRetries:a,delayRenderTimeoutInMilliseconds:u,...s}=e;const[l]=(0,n.useState)((()=>Xe("Loading <IFrame> with source ".concat(s.src),{retries:null!==a&&void 0!==a?a:void 0,timeoutInMilliseconds:null!==u&&void 0!==u?u:void 0}))),d=(0,n.useCallback)((e=>{et(l),null===o||void 0===o||o(e)}),[l,o]),c=(0,n.useCallback)((e=>{et(l),i?i(e):console.error("Error loading iframe:",e,"Handle the event using the onError() prop to make this message disappear.")}),[l,i]);return(0,r.jsx)("iframe",{...s,ref:t,onError:c,onLoad:d})}));(0,n.forwardRef)(((e,t)=>{let{onError:o,maxRetries:i=2,src:a,pauseWhenLoading:u,delayRenderRetries:s,delayRenderTimeoutInMilliseconds:l,onImageFrame:d,...c}=e;const m=(0,n.useRef)(null),f=(0,n.useRef)({}),{delayPlayback:p}=ke(),v=(0,n.useContext)(g);if(!a)throw new Error('No "src" prop was passed to <Img>.');(0,n.useImperativeHandle)(t,(()=>m.current),[]);const h=fe(a),w=(0,n.useCallback)((e=>{if(!m.current)return;const t=m.current.src;setTimeout((()=>{var e;if(!m.current)return;const o=null===(e=m.current)||void 0===e?void 0:e.src;o===t&&(m.current.removeAttribute("src"),m.current.setAttribute("src",o))}),e)}),[]),y=(0,n.useCallback)((e=>{var t,n,r,a,u,s,l,d;if(f.current)if(f.current[null===(t=m.current)||void 0===t?void 0:t.src]=(null!==(n=f.current[null===(r=m.current)||void 0===r?void 0:r.src])&&void 0!==n?n:0)+1,o&&(null!==(a=f.current[null===(u=m.current)||void 0===u?void 0:u.src])&&void 0!==a?a:0)>i)o(e);else{if((null!==(s=f.current[null===(l=m.current)||void 0===l?void 0:l.src])&&void 0!==s?s:0)<=i){var c,p,v;const e=1e3*2**((null!==(c=f.current[null===(p=m.current)||void 0===p?void 0:p.src])&&void 0!==c?c:0)-1);return console.warn("Could not load image with source ".concat(null===(v=m.current)||void 0===v?void 0:v.src,", retrying again in ").concat(e,"ms")),void w(e)}se("Error loading image with src: "+(null===(d=m.current)||void 0===d?void 0:d.src))}}),[i,o,w]);if("undefined"!==typeof window){const e=Boolean(null===v||void 0===v?void 0:v.premounting);(0,n.useLayoutEffect)((()=>{var t,o;if("test"===(null===(t=window.process)||void 0===t||null===(o=t.env)||void 0===o?void 0:o.NODE_ENV))return void(m.current&&(m.current.src=h));const n=Xe("Loading <Img> with src="+h,{retries:null!==s&&void 0!==s?s:void 0,timeoutInMilliseconds:null!==l&&void 0!==l?l:void 0}),r=u&&!e?p().unblock:()=>{},{current:i}=m;let a=!1;const c=()=>{var e,t;if(!a){var o,u;if((null!==(e=f.current[null===(t=m.current)||void 0===t?void 0:t.src])&&void 0!==e?e:0)>0)delete f.current[null===(o=m.current)||void 0===o?void 0:o.src],console.info("Retry successful - ".concat(null===(u=m.current)||void 0===u?void 0:u.src," is now loaded"));i&&(i.src=h,null===d||void 0===d||d(i)),r(),et(n)}},v=new Image;return v.src=h,v.decode().then(c).catch((e=>{console.warn(e),v.complete?c():v.addEventListener("load",c)})),()=>{a=!0,v.removeEventListener("load",c),r(),et(n)}}),[h,p,s,l,u,e,d])}return(0,r.jsx)("img",{...c,ref:m,onError:y})}));var nt={};a(nt,{makeDefaultPreviewCSS:()=>ut,injectCSS:()=>it,OFFTHREAD_VIDEO_CLASS_NAME:()=>at});var rt={},it=e=>{if("undefined"===typeof document)return;if(rt[e])return;const t=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.appendChild(document.createTextNode(e)),t.prepend(o),rt[e]=!0},at="__remotion_offthreadvideo",ut=(e,t)=>e?"\n ".concat(e," * {\n box-sizing: border-box;\n }\n ").concat(e," *:-webkit-full-screen {\n width: 100%;\n height: 100%;\n }\n ").concat(e," .").concat(at," {\n object-fit: contain;\n }\n "):"\n * {\n box-sizing: border-box;\n }\n body {\n margin: 0;\n\t background-color: ".concat(t,";\n }\n .").concat(at," {\n object-fit: contain;\n }\n ");n.createContext(null),(0,n.createContext)({setSize:()=>{},size:{size:"auto",translation:{x:0,y:0}}});var st=(0,n.createContext)(!1),lt=e=>{let{children:t}=e;return(0,r.jsx)(st.Provider,{value:!1,children:t})},dt=(0,n.forwardRef)(((e,t)=>{let{children:o}=e;return(()=>{if(!n.useContext(st))throw new Error("This component must be inside a <Series /> component.")})(),(0,r.jsx)(lt,{children:o})}));f(dt);new Map;var ct=(0,n.forwardRef)(((e,t)=>{var o,i,a;const u=(0,n.useRef)(null),{volume:s,muted:l,playbackRate:d,onlyWarnForMediaSeekingError:c,src:m,onDuration:f,acceptableTimeShift:p,acceptableTimeShiftInSeconds:v,toneFrequency:h,name:w,_remotionInternalNativeLoopPassed:y,_remotionInternalStack:b,_remotionDebugSeeking:F,style:T,pauseWhenBuffering:R,showInTimeline:C,loopVolumeCurveBehavior:x,onError:k,onAutoPlayError:I,onVideoFrame:S,crossOrigin:N,...M}=e,P=be(null!==x&&void 0!==x?x:"repeat"),{fps:V,durationInFrames:A}=X(),D=(0,n.useContext)(g),{hidden:_}=(0,n.useContext)(E),[L]=(0,n.useState)((()=>String(Math.random()))),j=null!==(o=_[L])&&void 0!==o&&o;if("undefined"!==typeof p)throw new Error("acceptableTimeShift has been removed. Use acceptableTimeShiftInSeconds instead.");const B=Oe(u),[W]=Je(),[q]=Ze();Ce({mediaRef:u,volume:s,mediaVolume:W,mediaType:"video",src:m,playbackRate:null!==(i=e.playbackRate)&&void 0!==i?i:1,displayName:null!==w&&void 0!==w?w:null,id:L,stack:b,showInTimeline:C,premountDisplay:null,onAutoPlayError:null!==I&&void 0!==I?I:null}),Ye({volumePropFrame:P,actualVolume:B,volume:s,mediaVolume:W,mediaRef:u}),qe({mediaRef:u,src:m,mediaType:"video",playbackRate:null!==(a=e.playbackRate)&&void 0!==a?a:1,onlyWarnForMediaSeekingError:c,acceptableTimeshift:null!==v&&void 0!==v?v:Be,isPremounting:Boolean(null===D||void 0===D?void 0:D.premounting),pauseWhenBuffering:R,debugSeeking:F,onAutoPlayError:null!==I&&void 0!==I?I:null});const O=D?D.relativeFrom:0,z=D?Math.min(D.durationInFrames,A):A,Y=Le({actualSrc:fe(m),actualFrom:O,duration:z,fps:V});(0,n.useImperativeHandle)(t,(()=>u.current),[]),(0,n.useEffect)((()=>{const{current:e}=u;if(!e)return;const t=()=>{if(e.error){var t;if(console.error("Error occurred in video",null===e||void 0===e?void 0:e.error),k){const t=new Error("Code ".concat(e.error.code,": ").concat(e.error.message));return void k(t)}throw new Error("The browser threw an error while playing the video ".concat(m,": Code ").concat(e.error.code," - ").concat(null===e||void 0===e||null===(t=e.error)||void 0===t?void 0:t.message,". See https://remotion.dev/docs/media-playback-error for help. Pass an onError() prop to handle the error."))}if(!k)throw new Error("The browser threw an error while playing the video");{const e=new Error("The browser threw an error while playing the video ".concat(m));k(e)}};return e.addEventListener("error",t,{once:!0}),()=>{e.removeEventListener("error",t)}}),[k,m]);const U=(0,n.useRef)();U.current=f,(e=>{let{ref:t,onVideoFrame:o}=e;(0,n.useEffect)((()=>{const{current:e}=t;if(!e)return;if(!o)return;let n=0;const r=()=>{t.current&&(o(t.current),n=t.current.requestVideoFrameCallback(r))};return r(),()=>{e.cancelVideoFrameCallback(n)}}),[o,t])})({ref:u,onVideoFrame:S}),(0,n.useEffect)((()=>{const{current:e}=u;if(!e)return;var t;if(e.duration)return void(null===(t=U.current)||void 0===t||t.call(U,m,e.duration));const o=()=>{var t;null===(t=U.current)||void 0===t||t.call(U,m,e.duration)};return e.addEventListener("loadedmetadata",o),()=>{e.removeEventListener("loadedmetadata",o)}}),[m]),(0,n.useEffect)((()=>{const{current:e}=u;e&&(Ve()?e.preload="metadata":e.preload="auto")}),[]);const H=(0,n.useMemo)((()=>{var e;return{...T,opacity:j?0:null!==(e=null===T||void 0===T?void 0:T.opacity)&&void 0!==e?e:1}}),[j,T]),J=null!==N&&void 0!==N?N:S?"anonymous":void 0;return(0,r.jsx)("video",{ref:u,muted:l||q,playsInline:!0,src:Y,loop:y,style:H,disableRemotePlayback:!0,crossOrigin:J,...M})})),mt=e=>Math.round(1e5*e)/1e5,ft=(e,t)=>{if(ze(e.currentTime,t))return{wait:Promise.resolve(t),cancel:()=>{}};let o;e.currentTime=t;let n=null;const r=new Promise((t=>{o=e.requestVideoFrameCallback(((e,o)=>{const n=o.expectedDisplayTime-e;n<=0?t(o.mediaTime):setTimeout((()=>{t(o.mediaTime)}),n+150)}))})),i=new Promise((t=>{const o=()=>{t()};e.addEventListener("seeked",o,{once:!0}),n=()=>{e.removeEventListener("seeked",o)}}));return{wait:Promise.all([r,i]).then((e=>{let[t]=e;return t})),cancel:()=>{var t;null===(t=n)||void 0===t||t(),e.cancelVideoFrameCallback(o)}}},pt=(0,n.forwardRef)(((e,t)=>{let{onError:o,volume:i,allowAmplificationDuringRender:a,playbackRate:u,onDuration:s,toneFrequency:d,name:c,acceptableTimeShiftInSeconds:m,delayRenderRetries:f,delayRenderTimeoutInMilliseconds:p,loopVolumeCurveBehavior:v,...h}=e;const w=Z(),y=ee(),b=be(null!==v&&void 0!==v?v:"repeat"),E=Q(),F=(0,n.useRef)(null),T=(0,n.useContext)(g),R=ge(),C=l(),{registerRenderAsset:x,unregisterRenderAsset:k}=(0,n.useContext)(ie),I=(0,n.useMemo)((()=>{var e;return"video-".concat(ye(null!==(e=h.src)&&void 0!==e?e:""),"-").concat(null===T||void 0===T?void 0:T.cumulatedFrom,"-").concat(null===T||void 0===T?void 0:T.relativeFrom,"-").concat(null===T||void 0===T?void 0:T.durationInFrames)}),[h.src,null===T||void 0===T?void 0:T.cumulatedFrom,null===T||void 0===T?void 0:T.relativeFrom,null===T||void 0===T?void 0:T.durationInFrames]);if(!E)throw new Error("No video config found");const S=Te({volume:i,frame:b,mediaVolume:1,allowAmplificationDuringRender:null!==a&&void 0!==a&&a});(0,n.useEffect)((()=>{var e;if(!h.src)throw new Error("No src passed");if(!h.muted&&!(S<=0)&&window.remotion_audioEnabled)return x({type:"video",src:ae(h.src),id:I,frame:w,volume:S,mediaFrame:y,playbackRate:null!==u&&void 0!==u?u:1,allowAmplificationDuringRender:null!==a&&void 0!==a&&a,toneFrequency:null!==d&&void 0!==d?d:null,audioStartFrame:Math.max(0,-(null!==(e=null===T||void 0===T?void 0:T.relativeFrom)&&void 0!==e?e:0))}),()=>k(I)}),[h.muted,h.src,x,I,k,S,y,w,u,a,d,null===T||void 0===T?void 0:T.relativeFrom]),(0,n.useImperativeHandle)(t,(()=>F.current),[]),(0,n.useEffect)((()=>{var e,t;if(!window.remotion_videoEnabled)return;const{current:n}=F;if(!n)return;const r=Me({frame:y,playbackRate:u||1,startFrom:-R,fps:E.fps}),i=Xe('Rendering <Video /> with src="'.concat(h.src,'" at time ').concat(r),{retries:null!==f&&void 0!==f?f:void 0,timeoutInMilliseconds:null!==p&&void 0!==p?p:void 0});if("test"===(null===(e=window.process)||void 0===e||null===(t=e.env)||void 0===t?void 0:t.NODE_ENV))return void et(i);if(ze(n.currentTime,r)){if(n.readyState>=2)return void et(i);const e=()=>{et(i)};return n.addEventListener("loadeddata",e,{once:!0}),()=>{n.removeEventListener("loadeddata",e)}}const a=()=>{et(i)},s=((e,t,o)=>{const n=1/o/2;let r=()=>{};return Number.isFinite(e.duration)&&e.currentTime>=e.duration&&t>=e.duration?{prom:Promise.resolve(),cancel:()=>{}}:{prom:new Promise(((o,i)=>{const a=ft(e,t+n);a.wait.then((a=>{if(Math.abs(t-a)<=n)return o();const u=ft(e,a+n*(t>a?1:-1));r=u.cancel,u.wait.then((a=>{const u=Math.abs(t-a);if(mt(u)<=mt(n))return o();const s=ft(e,t+n);return r=s.cancel,s.wait.then((()=>{o()})).catch((e=>{i(e)}))})).catch((e=>{i(e)}))})),r=a.cancel})),cancel:()=>{r()}}})(n,r,E.fps);s.prom.then((()=>{et(i)})),n.addEventListener("ended",a,{once:!0});const l=()=>{if(null!==n&&void 0!==n&&n.error){var e;if(console.error("Error occurred in video",null===n||void 0===n?void 0:n.error),o)return;throw new Error("The browser threw an error while playing the video ".concat(h.src,": Code ").concat(n.error.code," - ").concat(null===n||void 0===n||null===(e=n.error)||void 0===e?void 0:e.message,". See https://remotion.dev/docs/media-playback-error for help. Pass an onError() prop to handle the error."))}throw new Error("The browser threw an error")};return n.addEventListener("error",l,{once:!0}),()=>{s.cancel(),n.removeEventListener("ended",a),n.removeEventListener("error",l),et(i)}}),[b,h.src,u,E.fps,y,R,o,f,p]);const{src:N}=h;return C.isRendering&&(0,n.useLayoutEffect)((()=>{var e,t;if("test"===(null===(e=window.process)||void 0===e||null===(t=e.env)||void 0===t?void 0:t.NODE_ENV))return;const o=Xe("Loading <Video> duration with src="+N,{retries:null!==f&&void 0!==f?f:void 0,timeoutInMilliseconds:null!==p&&void 0!==p?p:void 0}),{current:n}=F,r=()=>{null!==n&&void 0!==n&&n.duration&&s(N,n.duration),et(o)};return null!==n&&void 0!==n&&n.duration?(s(N,n.duration),et(o)):null===n||void 0===n||n.addEventListener("loadedmetadata",r,{once:!0}),()=>{null===n||void 0===n||n.removeEventListener("loadedmetadata",r),et(o)}}),[N,s,f,p]),(0,r.jsx)("video",{ref:F,disableRemotePlayback:!0,...h})})),vt=(0,n.forwardRef)(((e,t)=>{var o;const{startFrom:i,endAt:a,name:u,pauseWhenBuffering:s,stack:d,_remotionInternalNativeLoopPassed:c,showInTimeline:m,onAutoPlayError:f,...p}=e,{loop:v,_remotionDebugSeeking:h,...w}=e,{fps:y}=X(),g=l(),{durations:b,setDurations:E}=(0,n.useContext)(he);if("string"===typeof t)throw new Error("string refs are not supported");if("string"!==typeof e.src)throw new TypeError("The `<Video>` tag requires a string for `src`, but got ".concat(JSON.stringify(e.src)," instead."));const F=fe(e.src),T=(0,n.useCallback)(((e,t)=>{E({type:"got-duration",durationInSeconds:t,src:e})}),[E]),R=(0,n.useCallback)((()=>{}),[]),C=null!==(o=b[ae(F)])&&void 0!==o?o:b[ae(e.src)];if(v&&void 0!==C){var x;if(!Number.isFinite(C))return(0,r.jsx)(vt,{...w,ref:t,_remotionInternalNativeLoopPassed:!0});const o=C*y;return(0,r.jsx)(ce,{durationInFrames:ue({endAt:a,mediaDuration:o,playbackRate:null!==(x=e.playbackRate)&&void 0!==x?x:1,startFrom:i}),layout:"none",name:u,children:(0,r.jsx)(vt,{...w,ref:t,_remotionInternalNativeLoopPassed:!0})})}if("undefined"!==typeof i||"undefined"!==typeof a){ve(i,a);const e=null!==i&&void 0!==i?i:0,o=null!==a&&void 0!==a?a:1/0;return(0,r.jsx)(re,{layout:"none",from:0-e,showInTimeline:!1,durationInFrames:o,name:u,children:(0,r.jsx)(vt,{pauseWhenBuffering:null!==s&&void 0!==s&&s,...p,ref:t})})}return pe(e,"Video"),g.isRendering?(0,r.jsx)(pt,{onDuration:T,onVideoFrame:null!==R&&void 0!==R?R:null,...p,ref:t}):(0,r.jsx)(ct,{onlyWarnForMediaSeekingError:!1,...p,ref:t,onVideoFrame:null,pauseWhenBuffering:null!==s&&void 0!==s&&s,onDuration:T,_remotionInternalStack:null!==d&&void 0!==d?d:null,_remotionInternalNativeLoopPassed:null!==c&&void 0!==c&&c,_remotionDebugSeeking:null!==h&&void 0!==h&&h,showInTimeline:null===m||void 0===m||m,onAutoPlayError:null!==f&&void 0!==f?f:void 0})}));f(vt),(()=>{if("undefined"===typeof globalThis)return;const e=()=>{globalThis.remotion_imported=w,"undefined"!==typeof window&&(window.remotion_imported=w)},t=globalThis.remotion_imported||"undefined"!==typeof window&&window.remotion_imported;if(t){if(t===w)return;if("string"===typeof t&&t.includes("webcodecs"))return void e();throw new TypeError("\ud83d\udea8 Multiple versions of Remotion detected: ".concat([w,"string"===typeof t?t:"an older version"].filter(h).join(" and "),". This will cause things to break in an unexpected way.\nCheck that all your Remotion packages are on the same version. If your dependencies depend on Remotion, make them peer dependencies. You can also run `npx remotion versions` from your terminal to see which versions are mismatching."))}e()})();var ht=new Proxy({},{get:(e,t)=>"Bundling"===t||"Rendering"===t||"Log"===t||"Puppeteer"===t||"Output"===t?ht:()=>{console.warn("\u26a0\ufe0f The CLI configuration has been extracted from Remotion Core."),console.warn("Update the import from the config file:"),console.warn(),console.warn("- Delete:"),console.warn('import {Config} from "remotion";'),console.warn("+ Replace:"),console.warn('import {Config} from "@remotion/cli/config";'),console.warn(),console.warn("For more information, see https://www.remotion.dev/docs/4-0-migration."),process.exit(1)}});f(re)}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[731],{7129:function(e,t,i){i.d(t,{V:function(){return n}});const n=(0,i(7313).createContext)({tileTopMargin:10,tileBottomMMargin:10,tileLeftMargin:10,tileRightMargin:10,showPlayButton:!0})},8631:function(e,t,i){var n=i(7313),o=i(9854),r=i(7753),a=(i(9111),i(123),i(9778),i(4892)),l=(i(7129),i(9821)),d=i(364),s=i(6417);t.Z=function(e){var t;const[i,p]=(0,l.Z)(),[c]=(0,r.j1)("whatmoreSecondaryColor"),[h]=(0,r.j1)("whatmoreShopId"),[x]=(0,r.j1)("whatmoreVideoTileSize"),[u]=(0,r.j1)("whatmoreVideoTileSizePortrait"),m="portrait"===e.mode?u:x,f=(0,r.j1)("whatmorePrimaryFont"),{whatmoreWidgetSourceDetails:v}=(0,n.useContext)(d.I),[w,g]=(0,n.useState)(!1),y=(0,o.f63)(h),j=v.landingLocationType,b=e.event,E=e.onClick,P=e.removeBorders,S=i*m*.01,z=p*m*.01,L=null!==(t=e.borderRadius)&&void 0!==t?t:"0%";return(0,s.jsxs)("div",{style:{display:"flex",flexFlow:"column nowrap",justifyContent:"center",flexShrink:0,height:"fit-content",width:(0,o.XnJ)(h)?"auto":z+"px",marginLeft:P?"2px":"5px",marginRight:P?"2px":(0,o.VwM)(h)+"px",marginTop:P?"2px":"5px",marginBottom:P?"2px":"5px",cursor:"pointer"},onClick:()=>{g(!0),E(b)},className:[w?"whatmore-scale-on-tap":""].join(" "),children:[(0,s.jsx)("div",{style:{display:"flex",flexFlow:"column nowrap",justifyContent:"center",flexShrink:0,height:"fit-content",width:"fit-content",borderRadius:L,overflow:"hidden",boxShadow:P?"":"0px 1px 1px 0px "+c+"50, 0px -1px 1px 0px "+y+"50, 1px 0px 1px 0px "+c+"50, -1px 0px 1px 0px "+y+"80, 1px -1px 1px 0px "+c+"80, -1px 1px 1px 0px "+y+"DA, 1px 1px 1px 0px "+c+"DA, -1px -1px 1px 0px "+y+"DA"},children:(0,s.jsx)("div",{className:"whatmore-collection-event-tile",style:{flexShrink:0,objectFit:"cover",height:S+"px",width:"40273707171"==h?"auto":z+"px",borderRadius:L,backgroundColor:"gray",overflow:"hidden"},children:(0,s.jsx)(a.Z,{height:"100%",width:"100%",url:b.thumbnail_image,isPlaying:!0,event:b})})}),j.startsWith("product")&&(0,s.jsx)("div",{style:{display:"flex",justifyContent:"center",padding:"8px 4px 0 4px"},children:(0,s.jsx)("p",{ref:t=>{var i;t&&(t.style.setProperty("font-family",f,"important"),t.style.setProperty("font-size",(null!==(i=e.fontSize)&&void 0!==i?i:10)+"px","important"),t.style.setProperty("-webkit-line-clamp",2,"important"),t.style.setProperty("line-clamp",2,"important"),t.style.setProperty("-webkit-box-orient","vertical","important"),t.style.setProperty("display","-webkit-box","important"),t.style.setProperty("overflow","hidden","important"),t.style.setProperty("text-overflow","ellipsis","important"))},children:null===b||void 0===b?void 0:b.title})})]})}},8782:function(e,t,i){i.d(t,{P:function(){return l}});var n=i(5333),o=i(7313),r=(i(123),i(6417));function a(e){const[t,i,o]=(0,n.YD)({triggerOnce:e.retainAlreadyRenderedElements});return(0,r.jsx)("div",{ref:t,children:i?e.renderElement({eventData:null===e||void 0===e?void 0:e.data}):(0,r.jsx)("div",{style:{minWidth:e.defaultHeight,minHeight:e.defaultWidth}})})}function l(e){var t,i;return(0,o.useEffect)((()=>{const e=document.querySelector(".whatmore-carousel-horizontal-flex");let t,i=!1;function n(e){e.touches&&(null===e||void 0===e?void 0:e.touches.length)>0?(i=!0,t=e.touches[0].clientX):(i=!0,t=e.clientX)}function o(n){if(!i)return;const o=n.touches?n.touches[0].clientX:n.clientX;e.style.pointerEvents="none";const r=2*(t-o);e.scrollLeft+=r,t=o}function r(t){e.style.pointerEvents="auto",i=!1}return e&&("ontouchstart"in window&&(e.addEventListener("touchstart",n),e.addEventListener("touchmove",o),e.addEventListener("touchend",r)),e.addEventListener("mousedown",n),document.addEventListener("mousemove",o),document.addEventListener("mouseup",r)),()=>{e&&("ontouchstart"in window&&(e.removeEventListener("touchstart",n),e.removeEventListener("touchmove",o),e.removeEventListener("touchend",r)),e.removeEventListener("mousedown",n),document.removeEventListener("mousemove",o),document.removeEventListener("mouseup",r))}}),[]),(0,r.jsx)("div",{style:{display:"flex",flexFlow:"row nowrap",height:"fit-content",width:"100%",gap:null!==(t=e.spacing)&&void 0!==t?t:3},className:"whatmore-carousel-horizontal-flex",children:null===e||void 0===e||null===(i=e.dataList)||void 0===i?void 0:i.map(((t,i)=>(0,r.jsx)(a,{renderElement:e.renderElement,data:t,defaultHeight:e.defaultHeight,defaultWidth:e.defaultWidth,retainAlreadyRenderedElements:e.retainAlreadyRenderedElements},"key-"+i)))})}},5380:function(e,t,i){i.d(t,{Z:function(){return v}});var n=i(4959),o=i(7313),r=i(4892),a=i(6805),l=i(7753),d=i(9821);var s=function(e){const[t,i,n,o,r]=(0,d.Z)(),[s]=(0,l.j1)("whatmoreEmbedAppVideoPlayerSizePortrait"),[p]=(0,l.j1)("whatmoreEmbedAppVideoPlayerSizeLandscape"),c=r[a.YP]===a.$w?p/100:s/100*1.2;return[t*c,i*c,r]},p=i(9723),c=i(9461),h=i.n(c),x=i(1195),u=i(7108),m=(i(7244),i(123),i(9854)),f=i(6417);var v=function(e){var t;const i=o.useRef(null);var[d,c,v]=s();const w=(0,l.MO)("whatmoreUITheme"),[g]=(0,l.j1)("whatmoreEmbedAppVideoTitle"),[y]=(0,l.j1)("whatmoreEmbedAppPositionPortrait"),[j]=(0,l.j1)("whatmoreEmbedAppHorizontalPaddingPortrait"),[b]=(0,l.j1)("whatmoreEmbedAppVerticalPaddingPortrait"),[E]=(0,l.j1)("whatmoreEmbedAppPositionLandscape"),[P]=(0,l.j1)("whatmoreEmbedAppHorizontalPaddingLandscape"),[S]=(0,l.j1)("whatmoreEmbedAppVerticalPaddingLandscape"),z=(0,l.MO)("whatmoreShopId");var L=y,A=j,k=b;v[a.YP]===a.$w&&(L=E,A=P,k=S);const[C,I]=(0,o.useState)(["initial",window.pageYOffset]),[R,M]=(0,o.useState)(!1),V=null!==(t=e.isSpotlight)&&void 0!==t&&t,Y=v[a.YP]===a.$w?.7*(0,m.zGA)(z):(0,m.zGA)(z),Z=V?Y:1;d*=Z,c*=Z;const F=V?(0,m.G0o)(z):L,D=V?(0,m.X8j)(z):(0,m.lVn)(z),[$,N]=(0,o.useState)(!V&&(0,m.eXi)(z));function T(e,t){I(e),e[1]<=100?M(!1):t!=R&&(M(t),N(!1))}(0,o.useEffect)((()=>{let e=window.pageYOffset,t=!1;const i=()=>{const i=window.pageYOffset;Math.abs(i-e)<100||(T([i>e?"scrolled-down":"scrolled-up",i],!0),e=i>0?i:0),t=!1},n=()=>{t||(window.requestAnimationFrame(i),t=!0)};return window.addEventListener("scroll",n),()=>window.removeEventListener("scroll",n)}),[C]),(0,n.O3)({ref:i,handler:()=>{T(["scrolled-up",C[1]],!0)}});const _=e.event,O=e.inVideoClick,H=e.closeClick,W=.3*c,X=.6*c,B=.1*c,K=.1*(.5*c),G="round"==w?"10px":"0px",q=(0,m.Z$A)(z);var U=!1,J=0,Q=0;function ee(e){U=e}return(0,f.jsx)("div",{children:$&&!D?(0,f.jsx)(f.Fragment,{}):R&&D?(0,f.jsx)("div",{style:"left"===F?{left:"1px",bottom:V?(0,m.vnu)(z)+"px":k+"px",position:"fixed",zIndex:q}:{right:"5px",bottom:V?(0,m.vnu)(z)+"px":k+"px",position:"fixed",zIndex:q},children:(0,f.jsxs)("div",{onClick:()=>{T(["initial",C[1]],!1)},style:{margin:"1px",width:c+"px",height:d+"px"},className:"left"===F?"whatmore-ultraminimized-video-view-left":"whatmore-ultraminimized-video-view-right",children:[(0,f.jsx)("div",{style:{overflow:"hidden"},children:(0,f.jsx)("div",{style:{width:"100%",height:"100%",aspectRatio:9/16},children:(0,f.jsx)(r.Z,{url:_.thumbnail_image,isPlaying:!1,event:_})})}),(0,f.jsx)("div",{style:{position:"relative",zIndex:1,bottom:"100%",width:"100%",height:"100%"},children:(0,f.jsxs)("div",{style:{display:"flex",flexFlow:"column nowrap",height:"100%"},children:[(0,f.jsx)("div",{style:{display:"flex",flexFlow:"row nowrap",justifyContent:"flex-end",width:"100%",height:"fit-content"},children:(0,f.jsx)("div",{className:"whatmore-ultraminimized-content-scale-out",children:(0,f.jsx)(x.Z,{sx:{filter:"drop-shadow(0 0 2px black);",color:"white",fontSize:W+"px"},style:{position:"relative",zIndex:1,left:K+"px",bottom:K+"px"},onClick:H})})}),(0,f.jsx)("div",{style:{height:"100%",display:"flex",flexFlow:"column nowrap",alignItems:"center",justifyContent:"center"},children:(0,f.jsx)(u.Z,{sx:{color:"white",fontSize:2*W+"px",filter:"drop-shadow(0 0 2px black);"}})})]})})]})}):(0,f.jsx)(h(),{nodeRef:i,cancel:".activate-button,.close-btn",defaultClassName:"whatmore-react-draggable",defaultClassNameDragging:"whatmore-react-draggable-dragging",defaultClassNameDragged:"whatmore-react-draggable-dragged",bounds:"html",onStart:(e,t)=>{var i,n;i=t.x,n=t.y,J=i,Q=n},onDrag:(e,t)=>{ee(!0)},onStop:(e,t)=>{U&&(Math.abs(t.x-J)>5||Math.abs(t.y-Q)>5)?ee(!1):O(_)},children:(0,f.jsx)("div",{ref:i,style:"left"===F?{left:V?(0,m.$II)(z)+"px":A+"px",bottom:V?(0,m.vnu)(z)+"px":k+"px",position:"fixed",zIndex:q}:{right:V?(0,m.$II)(z)+"px":A+"px",bottom:V?(0,m.vnu)(z)+"px":k+"px",position:"fixed",zIndex:q},children:(0,f.jsxs)("div",{style:Object.assign({},{boxSizing:"border-box",margin:"1px",width:e.isSpotlight&&"60122562760"==z?d+"px":c+"px",height:e.isSpotlight&&"60122562760"==z?c+"px":d+"px"}),className:"left"===F?"whatmore-minimized-video-view-left":"whatmore-minimized-video-view-right",children:[(0,f.jsx)("div",{style:{overflow:"hidden",position:"relative"},children:(0,f.jsx)("div",{style:{width:"100%",height:"100%",aspectRatio:e.isSpotlight&&"60122562760"==z?16/9:9/16},children:(0,f.jsx)(r.Z,{url:_.thumbnail_image,isMuted:!0,isPlaying:!0,event:_})})}),(0,f.jsx)("div",{style:{position:"relative",zIndex:1,bottom:"100%",width:"100%",height:"100%"},children:(0,f.jsxs)("div",{style:{display:"flex",flexFlow:"column nowrap",justifyContent:"space-between",height:"100%"},children:[(0,f.jsx)("div",{style:{display:"flex",flexFlow:"row nowrap",justifyContent:"flex-end",width:"100%",height:"fit-content"},children:(0,f.jsx)(x.Z,{className:"close-btn",sx:{filter:"drop-shadow(0 0 2px black);",color:"white",fontSize:W+"px"},onClick:H,style:{position:"relative",zIndex:1,left:B+"px",bottom:B+"px"}})}),(0,f.jsx)("div",{style:{marginLeft:"auto",marginRight:"auto"},children:(0,f.jsx)(p.Z,{sx:{color:(0,m.Ya_)(z),fontSize:X+"px",filter:"drop-shadow(0 0 2px black);"}})}),(0,f.jsx)("div",{style:{paddingLeft:"2px",paddingRight:"2px",borderBottomLeftRadius:G,borderBottomRightRadius:G,backgroundImage:g?"linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,0.2), rgba(0,0,0,0.6))":""},children:(0,f.jsxs)("p",{style:{textAlign:"center",color:"white",fontFamily:"Sans-serif",fontWeight:"semi-bold",fontSize:.4*W+"px",margin:0,padding:0,lineHeight:"110%"},children:["\xa0",g]})})]})})]})})})})}},6805:function(e,t,i){i.d(t,{$I:function(){return l},$w:function(){return s},AK:function(){return r},AL:function(){return a},YP:function(){return o},me:function(){return n},rE:function(){return d}});const n="device_type",o="device_mode",r="mobile",a="tablet",l="desktop",d="portrait",s="landscape"},9821:function(e,t,i){var n=i(7753),o=i(8866),r=i(6805),a=i(9854);t.Z=function(e){const[t,i,l]=(0,o.Z)(),[d]=(0,n.j1)("whatmoreLandscapePadding"),[s]=(0,n.j1)("whatmoreShopId"),[p]=(0,n.j1)("whatmoreVideoTileSize"),[c]=(0,n.j1)("whatmoreVideoTileSizePortrait"),h=l>=1025,x="portrait"==t?c:p,u=!("portrait"!=t||!(l>=481)),m=x/100*1.3*.5,f=x/100;var v=Math.min(l,i),[w,g,y,j]=[.6*v*(16/9),.6*v,1.4,0];function b(e){return Math.round(10*e)/10}var E={DEVICE_TYPE:r.AK,DEVICE_MODE:r.rE};if(h){const e=g*m,t=w*m;[w,g,y,j]=[t,e,(l-2*d-2*(0,a.mZU)(s))/(1.1*e),d],E[r.me]=r.$I,E[r.YP]=r.$w}else if(u){var P=.8*g,S=.8*w;"portrait"==t?(P*=f,S*=f,[w,g,y,j]=[S,P,b(l/(1.2*P)),0],E[r.me]=r.AL,E[r.YP]=r.rE):([w,g,y,j]=[S,P,(l-2*d)/(1.1*P),d],E[r.me]=r.AL,E[r.YP]=r.$w)}else{P=g,S=w;"portrait"==t?(P=P*f*.9,S=S*f*.9,[w,g,y,j]=[S,P,b(l/(1.15*P)),0],E[r.me]=r.AK,E[r.YP]=r.rE):(P=.7*g,S=.7*w,[w,g,y,j]=[S,P,(l-2*d)/(1.1*P),d],E[r.me]=r.AK,E[r.YP]=r.$w)}return[w,g,y,j,E]}},9111:function(){},7244:function(){},5892:function(){},4444:function(){},1811:function(){},6143:function(){},7850:function(){},9778:function(){}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[733],{1092:function(t,e,i){var n=i(237),o=i(9854),r=i(7753),l=i(6417);function a(t){return t<1e3?t:t<1e5?(t/1e3).toFixed(0)+"K":(t/1e5).toFixed(0)+"L"}e.Z=function(t){const e=(0,r.MO)("whatmoreUITheme"),i=(0,r.MO)("whatmoreShopId"),s=(0,r.MO)("whatmorePrimaryFont"),d=t.event,p=t.fontSize;if(d.total_views<=0)return(0,l.jsx)(l.Fragment,{});const c=(0,o.S_M)(i);return"template-icon"==c?(0,l.jsx)(l.Fragment,{children:(0,l.jsx)("div",{style:{width:"fit-content",padding:"2px",paddingLeft:"6px",paddingRight:"6px",backgroundColor:(0,o.XCH)(i),color:"white",borderRadius:"round"==e?"5px":"0px",borderWidth:(0,o.alU)(i),borderColor:(0,o.qPe)(i)},children:(0,l.jsxs)("div",{style:{display:"flex",flexFlow:"row nowrap",justifyContent:"center",gap:"3px",alignItems:"center"},children:[(0,l.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center"},children:(0,l.jsx)(n.Z,{sx:{color:(0,o.aLw)(i)+" !important",fontSize:p,fontWeight:"normal"}})}),(0,l.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center"},children:(0,l.jsx)("p",{ref:t=>{t&&(t.style.setProperty("color",(0,o.aLw)(i),"important"),t.style.setProperty("line-height","120%","important"),t.style.setProperty("font-family",s,"important"),t.style.setProperty("font-size",p,"important"),t.style.setProperty("min-height","0","important"),t.style.setProperty("display","inline","important"),t.style.setProperty("width","auto","important"))},style:{fontWeight:"normal"},children:" "+a(d.total_views)+" "})})]})})}):"template-text"==c?(0,l.jsx)(l.Fragment,{children:(0,l.jsx)("div",{style:{width:"fit-content",padding:"2px",paddingLeft:"6px",paddingRight:"6px",backgroundColor:(0,o.XCH)(i),color:"white",borderRadius:"round"==e?"5px":"0px",borderWidth:(0,o.alU)(i),borderColor:(0,o.qPe)(i)},children:(0,l.jsx)("div",{style:{display:"flex",flexFlow:"row nowrap",justifyContent:"center",gap:"3px",alignItems:"center"},children:(0,l.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center"},children:(0,l.jsx)("p",{ref:t=>{t&&(t.style.setProperty("color",(0,o.aLw)(i),"important"),t.style.setProperty("line-height","120%","important"),t.style.setProperty("font-family",s,"important"))},style:{fontSize:p,fontWeight:"bold"},children:" "+a(d.total_views)+" views"})})})})}):void 0}},7129:function(t,e,i){i.d(e,{V:function(){return n}});const n=(0,i(7313).createContext)({tileTopMargin:10,tileBottomMMargin:10,tileLeftMargin:10,tileRightMargin:10,showPlayButton:!0})},8390:function(t,e,i){var n=i(7313),o=i(7753),r=i(9821),l=i(5945),a=(i(3439),i(9854)),s=i(9363),d=i(6417);e.Z=function(t){var e,i,p,c,[h,m]=(0,r.Z)();const x=(0,o.MO)("whatmoreUITheme"),[f]=(0,o.j1)("whatmorePrimaryFont"),[y,u]=(0,n.useState)(0),g=(0,o.MO)("whatmoreShopId"),w=t.event;if(0==w.products.length)return(0,d.jsx)(d.Fragment,{});const v=.3*m,j=v+"px",b=v+"px",P=.07*m,C=P+"px";return(0,d.jsx)("div",{style:{width:m+"px",height:"fit-content",backgroundImage:"linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,0.1), rgba(0,0,0,0.3)"},children:(0,d.jsxs)("div",{ref:t=>{t&&t.style.setProperty("height","fit-content","important")},style:{display:"flex",flexFlow:"row nowrap",width:"100%",justifyContent:"space-between",alignItems:"center",paddingLeft:"5px",paddingRight:"5px",paddingTop:"5px",paddingBottom:"5px",gap:"5px"},className:"whatmore-event-tile-product-scale-in-and-out-animation",children:[(0,d.jsx)("div",{ref:t=>{t&&t.style.setProperty("height",b,"important")},style:{width:(0,a.uNj)(g)?j:"auto",boxShadow:"round"==x?"0px 0px 5px 2px #B0B0B0":null,borderRadius:"round"==x?"5px":"0px",borderWidth:(0,a.alU)(g),borderColor:(0,a.qPe)(g),overflow:"hidden",backgroundColor:"rgb(220, 220, 220, 1)"},children:(0,d.jsx)("img",{ref:t=>{t&&(t.style.setProperty("object-fit",(0,a.yOX)(g),"important"),t.style.setProperty("max-width",j,"important"))},src:(0,s.s)(w.products[y].thumbnail_image,"&width=".concat(400,"&height=",400)),style:{width:"100%",height:"100%",borderRadius:"round"==x?"5px":"0px"},alt:"product image"})}),(0,d.jsxs)("div",{style:{width:m-5-v+"px",height:"100%",borderRadius:"round"==x?"5px":"0px",overflow:"visible"},children:[(0,d.jsx)("div",{style:{display:"flex",flexFlow:"column nowrap",width:"fit-content",justifyContent:"center",alignItems:"center",paddingBottom:"4px"},children:(0,d.jsx)("p",{ref:t=>{t&&(t.style.setProperty("color","white","important"),t.style.setProperty("font-size",C,"important"),t.style.setProperty("line-height","120%","important"),t.style.setProperty("font-family",f,"important"),t.style.setProperty("-webkit-line-clamp",3,"important"),t.style.setProperty("line-clamp",3,"important"),t.style.setProperty("-webkit-box-orient","vertical","important"),t.style.setProperty("display","-webkit-box","important"),t.style.setProperty("overflow","hidden","important"),t.style.setProperty("text-overflow","ellipsis","important"))},style:{textAlign:"left",fontWeight:"normal"},children:(0,l.s)(w.products[y].title)})}),(null===(e=w.products[y])||void 0===e||null===(i=e.product_metadata)||void 0===i?void 0:i.product_type)&&(0,d.jsx)("div",{style:{display:"flex",opacity:.8,width:"fit-content",maxWidth:m-5-v+"px",padding:"3px 6px",backgroundColor:"#D3D3D3",borderRadius:"round"==x?"3px":"0"},children:(0,d.jsx)("p",{ref:t=>{t&&(t.style.setProperty("color","#000","important"),t.style.setProperty("maxWidth",m-5-v+"px","important"),t.style.setProperty("font-size",.7*P+"px","important"),t.style.setProperty("font-family",f,"important"),t.style.setProperty("font-weight","bold","important"),t.style.setProperty("text-overflow","ellipsis","important"),t.style.setProperty("overflow","hidden","important"),t.style.setProperty("-webkit-line-clamp",1,"important"),t.style.setProperty("line-clamp",1,"important"),t.style.setProperty("-webkit-box-orient","vertical","important"),t.style.setProperty("display","-webkit-box","important"))},children:null===(p=w.products[y])||void 0===p||null===(c=p.product_metadata)||void 0===c?void 0:c.product_type})})]})]},y)})}},2891:function(t,e,i){i.d(e,{Z:function(){return j}});var n=i(7313),o=i(9821),r=(i(3439),i(9723)),l=i(7753),a=i(4892),s=i(7129),d=i(6805),p=i(9854),c=i(1092),h=i(8390),m=i(5333),x=i(8984),f=i(9212),y=(i(8134),i(123),i(6417));var u=function(t){const e=t.fontSize,i=(0,l.MO)("whatmorePrimaryFont"),n=Math.floor(.75*e),o={color:"#FFF",fontSize:.3*e+"px",display:"flex",alignItems:"center",whiteSpace:"nowrap",padding:"2px 6px 2px 2px",fontWeight:"bold",position:"relative",height:"".concat(n,"px"),fontFamily:i},r={content:'""',position:"absolute",top:"0",right:"100%",borderStyle:"solid",borderWidth:"".concat(n/2,"px ").concat(n/2+2,"px ").concat(n/2,"px 0"),borderColor:"transparent red transparent transparent"};return(0,y.jsx)("div",{style:{position:"relative",background:"linear-gradient(to right, red, #6E260E)"},children:(0,y.jsxs)("div",{style:o,children:[(0,y.jsx)("div",{style:r}),"Flat 40% off"]})})};function g(t){var e,[i,a]=(0,o.Z)();const[d]=(0,l.j1)("whatmoreShopId"),[c,f,u]=(0,m.YD)({triggerOnce:!0});var g=(0,n.useContext)(s.V);const w=t.event,v=null!==(e=t.unfocusedDisplay)&&void 0!==e&&e,j=.5*a,b=(0,x.gE)()?t.isOnFocus:f;return(0,y.jsx)("div",{style:{position:"relative",zIndex:1,bottom:"200%",overflow:"hidden",width:"100%",height:"100%",overflow:"hidden",backgroundColor:"transparent"},className:"whatmore-ios-css-relative-fix",children:(0,y.jsxs)("div",{style:{display:"flex",flexFlow:"column nowrap",justifyContent:"space-between",alignItems:"center",height:"100%",width:"100%"},children:[(0,y.jsx)("div",{className:"whatmore-event-tile-component-fade-in-animation",children:(0,y.jsx)("p",{children:" "})}),g.showPlayButton&&!v?(0,y.jsx)("div",{style:{position:"relative",top:"10%",overflow:"hidden",marginLeft:"5px",marginRight:"5px",width:"100%"},children:(0,y.jsx)("div",{style:{display:"flex",flexFlow:"row nowrap",justifyContent:"center",alignItems:"center"},children:(0,y.jsx)("div",{className:"whatmore-event-tile-component-fade-in-animation",children:"video"==w.event_type&&(0,y.jsx)(r.Z,{sx:{color:(0,p.Ya_)(d)+" !important",opacity:.8,fontSize:j,filter:"drop-shadow(0 0 15px black);"}})})})}):(0,y.jsx)(y.Fragment,{}),(0,y.jsx)("div",{ref:c,children:b&&(0,p.PWD)(d)?(0,y.jsx)("div",{className:"whatmore-event-tile-component-fade-in-animation",children:(0,y.jsx)(h.Z,{event:w})}):(0,y.jsx)("div",{height:"20px"})})]})})}function w(t){var[e,i]=(0,o.Z)();const[n]=(0,l.j1)("whatmorePrimaryFont"),r=t.event;return r.title.trim().length?(0,y.jsx)("div",{style:{width:"100%",height:"fit-content",backgroundImage:"linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,0.2), rgba(0,0,0,0.6))"},children:(0,y.jsx)("div",{style:{display:"flex",flexFlow:"column nowrap",justifyContent:"flex-end",alignContent:"center",width:"100%",height:"100%"},children:(0,y.jsx)("div",{style:{width:"100%",padding:"2px"},children:(0,y.jsxs)("div",{style:{display:"flex",flexFlow:"column nowrap",justifyContent:"space-between",alignItems:"flex-start",marginLeft:"5px",marginRight:"5px",marginBottom:"2px"},children:[(0,y.jsx)("p",{style:{color:"white",fontSize:.08*i+"px",fontWeight:"normal",textAlign:"left"},children:" "}),(0,y.jsx)("p",{ref:t=>{t&&t.style.setProperty("font-family",n,"important")},style:{color:"white",fontSize:.08*i+"px",fontWeight:"normal",textAlign:"left"},children:r.title.substring(0,60)})]})})})}):(0,y.jsx)(y.Fragment,{})}function v(t){const[e,i,n,r,a]=(0,o.Z)(),[s]=(0,l.j1)("whatmoreShowViews"),h=(0,l.MO)("whatmoreShopId"),m=t.event,x=t.isOnFocus;return(0,y.jsx)("div",{style:{position:"relative",zIndex:1,bottom:"100%",overflow:"hidden",width:"100%",height:"100%",overflow:"hidden",backgroundColor:"transparent"},className:"whatmore-ios-css-relative-fix",children:(0,y.jsxs)("div",{style:{display:"flex",flexFlow:"column nowrap",width:"100%",height:"100%",justifyContent:"space-between",alignItems:"center"},children:[(0,y.jsx)("div",{style:{width:"100%",backgroundImage:"linear-gradient(to top, rgba(0,0,0,0), rgba(0,0,0,0.1), rgba(0,0,0,0.3))"},children:(0,y.jsxs)("div",{style:{display:"flex",flexFlow:"row nowrap",justifyContent:"flex-end",alignItems:"center"},children:["show"===s&&"show"===(0,p.qcC)(h)?(0,y.jsx)("div",{style:{width:"100%",marginLeft:"5px",marginRight:"5px",marginTop:"10px"},children:(0,y.jsx)("div",{style:{display:"flex",flexFlow:"row nowrap",paddingLeft:"5px",width:"fit-content",height:"fit-content",justifyContent:"space-between",alignItems:"center"},children:(0,y.jsx)(c.Z,{event:m,fontSize:.07*i+"px"})})}):(0,y.jsx)(y.Fragment,{}),"1972174947"==h&&(0,y.jsx)("div",{style:{marginLeft:"5px",marginRight:"5px",marginTop:"8px"},children:(0,y.jsx)(u,{fontSize:.2*i})})]})}),d.$w===a[d.YP]?(0,y.jsx)(y.Fragment,{}):x?(0,y.jsx)("div",{className:"whatmore-event-tile-component-fade-out-animation",children:(0,y.jsx)(w,{event:m})}):(0,y.jsx)("div",{className:"whatmore-event-tile-component-fade-in-animation",children:(0,y.jsx)(w,{event:m})})]})})}var j=function(t){var e,i,r;const[c,h,m,x,u]=(0,o.Z)();var w=(0,n.useContext)(s.V);const j=(0,l.MO)("whatmoreUITheme"),b=(0,l.MO)("whatmoreShopId"),[P]=(0,l.MO)("whatmorePrimaryFont"),C=t.event,F=t.onClick,I=null===(e=t.isOnFocus)||void 0===e||e,k=null!==(i=t.playOnUnfocus)&&void 0!==i&&i,S=null!==(r=t.animateOnFocus&&(0,p.iWI)(b))&&void 0!==r&&r,M=(0,p.nzC)(b);return(0,y.jsxs)("div",{ref:t=>{t&&(t.style.setProperty("margin-top",w.tileTopMargin+"px"),t.style.setProperty("margin-bottom",w.tileBottomMMargin+"px"))},style:{margin:"0 10px",width:"8968077397"==b||"19501891"==b?void 0:h,aspectRatio:"8968077397"==b||"19501891"==b?9/16:void 0,height:"8968077397"==b||"19501891"==b?"100%":c,borderRadius:"round"==j?"5px":"0px",boxShadow:"round"==j||"61187850326"==b||"19501891"==b?M:null,borderWidth:(0,p.alU)(b),borderColor:(0,p.qPe)(b),overflow:"hidden",cursor:"pointer",position:"relative"},className:S?I?"whatmore-event-tile-scale-out-animation":"whatmore-event-tile-scale-in-animation":"none",onClick:()=>{F(C)},children:[(0,y.jsx)(a.Z,{height:(0,p.dXm)(b)+" !important",width:"100%",url:C.thumbnail_image,isPlaying:I||k,event:C}),"51394281658"===b?(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)("div",{style:{position:"absolute",bottom:"4%",left:"50%",transform:"translateX(-50%)",color:"white",padding:"0.5rem 0rem 0rem 0.5rem",zIndex:1,fontSize:"1.4rem",fontWeight:"600",width:"90%",maxWidth:"100%",wordWrap:"break-word",textShadow:"2px 2px 4px rgba(0, 0, 0, 0.5)",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:3,overflow:"hidden",textOverflow:"ellipsis",fontFamily:P+" !important"},children:null===C||void 0===C?void 0:C.title}),(0,y.jsx)("div",{style:{position:"absolute",top:"10px",right:"10px",zIndex:2},children:(0,y.jsx)(f.Z,{sx:{color:"white",fontSize:"1.3rem",filter:"drop-shadow(0 0 5px black)"}})})]}):(0,p.wxm)(b)&&(0,y.jsxs)("div",{style:{width:h,height:c},children:[(0,y.jsx)(v,{event:C,isOnFocus:I}),"87043703105"===b||"76467011883"===b||!I&&d.$w!==u[d.YP]?null:(0,y.jsx)(g,{event:C,unfocusedDisplay:!I,isOnFocus:I})]})]})}},9363:function(t,e,i){i.d(e,{$:function(){return l},s:function(){return r}});var n=i(9854),o=i(7753);function r(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const i=(0,o.MO)("whatmoreShopId");return"shopify"!=(0,n.Ipo)(i)?"STRNV8MHJTF"==i?t+"?format=webp":t:t+e}function l(t){var e;if(null!==t&&void 0!==t&&t.includes("https://w-media.b-cdn.net/process-media"))return"image";const i=null===t||void 0===t||null===(e=t.trim())||void 0===e?void 0:e.split("?")[0],n=/\.(jpeg|jpg|gif|png|svg|webp)$/i,o=/\.(mp4|mov|wmv|avi|flv|mkv)$/i;return null!==n&&void 0!==n&&n.test(i)?"image":null!==o&&void 0!==o&&o.test(i)?"video":void 0}},6805:function(t,e,i){i.d(e,{$I:function(){return a},$w:function(){return d},AK:function(){return r},AL:function(){return l},YP:function(){return o},me:function(){return n},rE:function(){return s}});const n="device_type",o="device_mode",r="mobile",l="tablet",a="desktop",s="portrait",d="landscape"},9821:function(t,e,i){var n=i(7753),o=i(8866),r=i(6805),l=i(9854);e.Z=function(t){const[e,i,a]=(0,o.Z)(),[s]=(0,n.j1)("whatmoreLandscapePadding"),[d]=(0,n.j1)("whatmoreShopId"),[p]=(0,n.j1)("whatmoreVideoTileSize"),[c]=(0,n.j1)("whatmoreVideoTileSizePortrait"),h=a>=1025,m="portrait"==e?c:p,x=!("portrait"!=e||!(a>=481)),f=m/100*1.3*.5,y=m/100;var u=Math.min(a,i),[g,w,v,j]=[.6*u*(16/9),.6*u,1.4,0];function b(t){return Math.round(10*t)/10}var P={DEVICE_TYPE:r.AK,DEVICE_MODE:r.rE};if(h){const t=w*f,e=g*f;[g,w,v,j]=[e,t,(a-2*s-2*(0,l.mZU)(d))/(1.1*t),s],P[r.me]=r.$I,P[r.YP]=r.$w}else if(x){var C=.8*w,F=.8*g;"portrait"==e?(C*=y,F*=y,[g,w,v,j]=[F,C,b(a/(1.2*C)),0],P[r.me]=r.AL,P[r.YP]=r.rE):([g,w,v,j]=[F,C,(a-2*s)/(1.1*C),s],P[r.me]=r.AL,P[r.YP]=r.$w)}else{C=w,F=g;"portrait"==e?(C=C*y*.9,F=F*y*.9,[g,w,v,j]=[F,C,b(a/(1.15*C)),0],P[r.me]=r.AK,P[r.YP]=r.rE):(C=.7*w,F=.7*g,[g,w,v,j]=[F,C,(a-2*s)/(1.1*C),s],P[r.me]=r.AK,P[r.YP]=r.$w)}return[g,w,v,j,P]}},3439:function(){},7244:function(){}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[751],{3317:function(e,t,n){n.d(t,{Z:function(){return s}});var c=n(7313),o=(n(8743),n(7753)),a=n(5254),r=n(6417);var i=function(e){return(0,c.useEffect)((()=>{const e=(0,a.oo)((0,o.MO)("whatmoreSecondaryColor"));!function(e,t,n,c){const o="rgba(".concat(e,",").concat(t,",").concat(n,",").concat(c,")"),a="\n @keyframes whatmore-loading-indicator-keyframe {\n 0%,\n 100% {\n box-shadow: 0em -2.6em 0em 0em ".concat(o,", 1.8em -1.8em 0 0em rgba(").concat(e,", ").concat(t,", ").concat(n,", 0.2), 2.5em 0em 0 0em rgba(").concat(e,", ").concat(t,", ").concat(n,", 0.2), 1.75em 1.75em 0 0em rgba(").concat(e,", ").concat(t,", ").concat(n,", 0.2), 0em 2.5em 0 0em rgba(").concat(e,", ").concat(t,", ").concat(n,", 0.2), -1.8em 1.8em 0 0em rgba(").concat(e,", ").concat(t,", ").concat(n,", 0.2), -2.6em 0em 0 0em rgba(").concat(e,", ").concat(t,", ").concat(n,", 0.5), -1.8em -1.8em 0 0em rgba(").concat(e,", ").concat(t,", ").concat(n,", 0.7);\n }\n 12.5% {\n box-shadow: 0em -2.6em 0em 0em rgba(").concat(e,", ").concat(t,", ").concat(n,", 0.7), 1.8em -1.8em 0 0em ").concat(o,", 2.5em 0em 0 0em rgba(").concat(e,", ").concat(t,", ").concat(n,", 0.2), 1.75em 1.75em 0 0em rgba(").concat(e,", ").concat(t,", ").concat(n,", 0.2), 0em 2.5em 0 0em rgba(").concat(e,", ").concat(t,", ").concat(n,", 0.2), -1.8em 1.8em 0 0em rgba(").concat(e,", ").concat(t,", ").concat(n,", 0.2), -2.6em 0em 0 0em rgba(").concat(e,", ").concat(t,", ").concat(n,", 0.2), -1.8em -1.8em 0 0em rgba(").concat(e,", ").concat(t,", ").concat(n,", 0.5);\n }\n 25% {\n box-shadow: 0em -2.6em 0em 0em rgba(").concat(e,", ").concat(t,", ").concat(n,", 0.5), 1.8em -1.8em 0 0em rgba(").concat(e,", ").concat(t,", ").concat(n,", 0.7), 2.5em 0em 0 0em ").concat(o,", 1.75em 1.75em 0 0em rgba(").concat(e,", ").concat(t,", ").concat(n,", 0.2), 0em 2.5em 0 0em rgba(").concat(e,", ").concat(t,", ").concat(n,", 0.2), -1.8em 1.8em 0 0em rgba(").concat(e,", ").concat(t,", ").concat(n,", 0.2), -2.6em 0em 0 0em rgba(").concat(e,", ").concat(t,", ").concat(n,", 0.2), -1.8em -1.8em 0 0em rgba(").concat(e,", ").concat(t,", ").concat(n,", 0.2);\n }\n 37.5% {\n box-shadow: 0em -2.6em 0em 0em rgba(").concat(e,", ").concat(t,", ").concat(n,", 0.2), 1.8em -1.8em 0 0em rgba(").concat(e,", ").concat(t,", ").concat(n,", 0.5), 2.5em 0em 0 0em rgba(").concat(e,", ").concat(t,", ").concat(n,", 0.7), 1.75em 1.75em 0 0em ").concat(o,", 0em 2.5em 0 0em rgba(").concat(e,", ").concat(t,", ").concat(n,", 0.2), -1.8em 1.8em 0 0em rgba(").concat(e,", ").concat(t,", ").concat(n,", 0.2), -2.6em 0em 0 0em rgba(").concat(e,", ").concat(t,", ").concat(n,", 0.2), -1.8em -1.8em 0 0em rgba(").concat(e,", ").concat(t,", ").concat(n,", 0.2);\n }\n 50% {\n box-shadow: 0em -2.6em 0em 0em rgba(").concat(e,", ").concat(t,", ").concat(n,", 0.2), 1.8em -1.8em 0 0em rgba(").concat(e,", ").concat(t,", ").concat(n,", 0.2), 2.5em 0em 0 0em rgba(").concat(e,", ").concat(t,", ").concat(n,", 0.5), 1.75em 1.75em 0 0em rgba(").concat(e,", ").concat(t,", ").concat(n,", 0.7), 0em 2.5em 0 0em ").concat(o,", -1.8em 1.8em 0 0em rgba(").concat(e,", ").concat(t,", ").concat(n,", 0.2), -2.6em 0em 0 0em rgba(").concat(e,", ").concat(t,", ").concat(n,", 0.2), -1.8em -1.8em 0 0em rgba(").concat(e,", ").concat(t,", ").concat(n,", 0.2);\n }\n 62.5% {\n box-shadow: 0em -2.6em 0em 0em rgba(").concat(e,", ").concat(t,", ").concat(n,", 0.2), 1.8em -1.8em 0 0em rgba(").concat(e,", ").concat(t,", ").concat(n,", 0.2), 2.5em 0em 0 0em rgba(").concat(e,", ").concat(t,", ").concat(n,", 0.2), 1.75em 1.75em 0 0em rgba(").concat(e,", ").concat(t,", ").concat(n,", 0.5), 0em 2.5em 0 0em rgba(").concat(e,", ").concat(t,", ").concat(n,", 0.7), -1.8em 1.8em 0 0em ").concat(o,", -2.6em 0em 0 0em rgba(").concat(e,", ").concat(t,", ").concat(n,", 0.2), -1.8em -1.8em 0 0em rgba(").concat(e,", ").concat(t,", ").concat(n,", 0.2);\n }\n 75% {\n box-shadow: 0em -2.6em 0em 0em rgba(").concat(e,", ").concat(t,", ").concat(n,", 0.2), 1.8em -1.8em 0 0em rgba(").concat(e,", ").concat(t,", ").concat(n,", 0.2), 2.5em 0em 0 0em rgba(").concat(e,", ").concat(t,", ").concat(n,", 0.2), 1.75em 1.75em 0 0em rgba(").concat(e,", ").concat(t,", ").concat(n,", 0.2), 0em 2.5em 0 0em rgba(").concat(e,", ").concat(t,", ").concat(n,", 0.5), -1.8em 1.8em 0 0em rgba(").concat(e,", ").concat(t,", ").concat(n,", 0.7), -2.6em 0em 0 0em ").concat(o,", -1.8em -1.8em 0 0em rgba(").concat(e,", ").concat(t,", ").concat(n,", 0.2);\n }\n 87.5% {\n box-shadow: 0em -2.6em 0em 0em rgba(").concat(e,", ").concat(t,", ").concat(n,", 0.2), 1.8em -1.8em 0 0em rgba(").concat(e,", ").concat(t,", ").concat(n,", 0.2), 2.5em 0em 0 0em rgba(").concat(e,", ").concat(t,", ").concat(n,", 0.2), 1.75em 1.75em 0 0em rgba(").concat(e,", ").concat(t,", ").concat(n,", 0.2), 0em 2.5em 0 0em rgba(").concat(e,", ").concat(t,", ").concat(n,", 0.2), -1.8em 1.8em 0 0em rgba(").concat(e,", ").concat(t,", ").concat(n,", 0.5), -2.6em 0em 0 0em rgba(").concat(e,", ").concat(t,", ").concat(n,", 0.7), -1.8em -1.8em 0 0em ").concat(o,";\n }\n }\n "),r=document.createElement("style");r.type="text/css",r.innerHTML=a,document.head.appendChild(r)}(e[0],e[1],e[2],.2)}),[]),(0,r.jsx)(r.Fragment,{children:(0,r.jsx)("span",{className:"whatmore-loading-indicator"})})},m=n(5180);var s=function(e){var t,n;const c=null!==(t=e.height)&&void 0!==t?t:"100%",o=null!==(n=e.width)&&void 0!==n?n:"100%";return(0,r.jsxs)("div",{style:{width:o,height:c,overflow:"hidden",minHeight:c,minWidth:o},children:[(0,r.jsx)(m.Z,{height:c,width:o}),(0,r.jsx)("div",{style:{display:"flex",flexFlow:"column nowrap",justifyContent:"center",alignContent:"center",width:"100%",height:"100%",position:"relative",zIndex:1,bottom:"100%",className:"whatmore-ios-css-relative-fix"},children:(0,r.jsx)("div",{style:{display:"flex",flexFlow:"row nowrap",justifyContent:"center",width:"100%",height:"fit-content"},children:(0,r.jsx)(i,{})})})]})}},5180:function(e,t,n){var c=n(6417);t.Z=function(e){var t,n,o;const a=null!==(t=e.height)&&void 0!==t?t:"100%",r=null!==(n=e.width)&&void 0!==n?n:"100%",i=null!==(o=e.borderRadius)&&void 0!==o?o:"10px";return(0,c.jsx)("div",{style:{height:a,width:a,borderRadius:i,overflow:"hidden",minHeight:a,minWidth:r,maxHeight:a,maxWidth:r},children:(0,c.jsx)("div",{style:{minHeight:a,minWidth:r},height:"100%",width:"100%",className:"whatmore-shimmer"})})}},2887:function(e,t,n){var c=n(7313),o=n(3317),a=n(6417);t.Z=function(e){var t,n,r;const[i,m]=(0,c.useState)(!1),s=c.useRef(0),d=(0,c.useRef)(null),l=null!==(t=e.timeUpdateCallback)&&void 0!==t?t:()=>{},u=null!==(n=e.height)&&void 0!==n?n:"100%",h=null!==(r=e.width)&&void 0!==r?r:"100%";return(0,c.useEffect)((()=>{s.current=0;const e=setInterval((()=>{s.current=s.current+.03,d.current&&l(s.current,5),s.current>=5&&(s.current=0)}),30);return()=>{clearInterval(e)}}),[e.isPlaying]),(0,a.jsxs)("div",{style:{display:"flex",flexFlow:"column nowrap",width:h,height:"100%",overflow:"hidden"},children:[(0,a.jsx)("div",{style:{width:i?"100%":"0px",height:i?"100%":"0px"},children:(0,a.jsx)("img",{ref:d,src:e.url,style:{objectFit:"cover",height:"100%",width:h,backgroundColor:"white"},alt:"image player",onLoad:()=>{m(!0)}})}),i?(0,a.jsx)(a.Fragment,{}):(0,a.jsx)(o.Z,{width:h,height:u})]})}},4892:function(e,t,n){n.d(t,{Z:function(){return g}});var c=n(7313),o=n(5333),a=n(868),r=n(8984),i=n(7300),m=n(2887),s=n(4862),d=n(7753),l=n(342),u=n(6417);var h=function(e){var t,n,a,i;const m=(0,c.useRef)(null),[h,g,p]=(0,o.YD)({triggerOnce:!0}),v=(0,d.MO)("whatmoreShopId"),b=null!==(t=e.height)&&void 0!==t?t:"100%",f=null!==(n=e.width)&&void 0!==n?n:"100%";return(0,c.useEffect)((()=>{m.current&&(e.isPlaying?m.current.play():((s.G6||(0,r.gE)())&&m.current.play(),"57939755089"==v?setTimeout((()=>{m.current.pause()}),300):m.current.pause()))}),[e.isPlaying,g]),(0,u.jsx)("div",{ref:h,style:{width:b,height:f,overflow:"hidden",display:"flex",alignItems:"center"},children:g||"51394281658"==v||"8968077397"==v?(0,u.jsxs)("video",{ref:m,className:"whatmore-video-player-muted",width:f,height:b,preload:"metadata",loop:!0,src:e.url,playsInline:!0,poster:e.isPlaying&&1!=(null===(a=e.event)||void 0===a?void 0:a.index)&&"STRTFEDEDAP"!==v&&"STRY2V4XO5L"!==v?e.url:e.poster,muted:null===(i=e.isVideoMuted)||void 0===i||i,style:{backgroundColor:"white",borderRadius:e.borderRadius,objectFit:"cover"},children:[(0,u.jsx)("source",{src:e.url,type:"video/mp4"}),(0,u.jsx)("source",{src:(0,l.vW)(e.url),type:"video/mp4"})]}):(0,u.jsx)("div",{width:f,height:b,ref:e=>{e&&e.style.setProperty("display","block","important")}})})};var g=function(e){var t,n,s,g,p,v,b,f,w;const[y,_,x]=(0,o.YD)({triggerOnce:!0}),j=(0,d.MO)("whatmoreShopId"),k=(0,c.useRef)(null);if((0,c.useEffect)((()=>{k.current&&(e.isPlaying?k.current.play():k.current.pause())}),[e.isPlaying,_]),(0,i.WJ)(e.event))return(0,u.jsx)(m.Z,{height:e.height,width:e.width,url:e.url,isPlaying:e.isPlaying,timeUpdateCallback:e.timeUpdateCallback});const C=null!==(t=e.pauseFromPlayTimeInMs)&&void 0!==t?t:200,P=null!==e&&void 0!==e&&null!==(n=e.event)&&void 0!==n&&null!==(s=n.poster_image)&&void 0!==s&&s.startsWith("https://cdn.shopify.com")?(null===e||void 0===e||null===(g=e.event)||void 0===g||null===(p=g.poster_image)||void 0===p?void 0:p.split("?")[0])+"?width=400&height=400":null===e||void 0===e||null===(v=e.event)||void 0===v?void 0:v.poster_image;if((0,r.KE)())return(0,u.jsx)(h,{isVideoMuted:e.isVideoMuted,event:null===e||void 0===e?void 0:e.event,borderRadius:e.borderRadius,height:"100%",width:"100%",poster:P,url:(0,a.V)(e.url),isPlaying:e.isPlaying,pauseFromPlayTimeInMs:C});const W=null!==(b=e.height)&&void 0!==b?b:"100%",z=null!==(f=e.width)&&void 0!==f?f:"100%";return(0,u.jsx)("div",{ref:y,style:{width:W,height:z,overflow:"hidden",display:"flex",alignItems:"center"},children:_||"51394281658"==j||"8968077397"==j?(0,u.jsxs)("video",{ref:k,className:"whatmore-video-player-muted",width:z,height:W,preload:"metadata",loop:!0,playsInline:!0,muted:null===(w=e.isVideoMuted)||void 0===w||w,poster:"57939755089"==j?"":P,style:{backgroundColor:"white",objectFit:"cover"},children:[(0,u.jsx)("source",{src:(0,a.V)(e.url),type:"video/mp4"}),(0,u.jsx)("source",{src:(0,l.vW)(e.url),type:"video/mp4"})]}):(0,u.jsx)("div",{width:z,height:W,ref:e=>{e&&e.style.setProperty("display","block","important")}})})}},868:function(e,t,n){n.d(t,{V:function(){return i}});var c=n(9854),o=n(7753);const a={"https://d3syezql093hs1.cloudfront.net":"https://whatmore-brand-video-assets.azureedge.net","https://d2r0bijhs9mx1s.cloudfront.net":"https://whatmore-brand-thumbnail-video-assets.azureedge.net","https://d2oouab8j9eigo.cloudfront.net":"https://whatmore-brand-story-assets.azureedge.net","https://d28nus7q7qajdn.cloudfront.net":"https://whatmore-video-assets.azureedge.net","https://d1zl4k1t5o4s75.cloudfront.net":"https://whatmore-brand-video-assets-720p.azureedge.net"},r={"https://d3syezql093hs1.cloudfront.net":"https://whatmore-brand-video-assets.b-cdn.net","https://d2r0bijhs9mx1s.cloudfront.net":"https://whatmore-brand-thumbnail-video-assets.b-cdn.net","https://d2oouab8j9eigo.cloudfront.net":"https://whatmore-brand-story-assets.b-cdn.net","https://d28nus7q7qajdn.cloudfront.net":"https://whatmore-video-assets-old.b-cdn.net","https://d1zl4k1t5o4s75.cloudfront.net":"https://whatmore-brand-video-assets-720p.b-cdn.net"},i=function(e){const t=(0,o.MO)("whatmoreShopId");if(!e)return e;if(e.startsWith("https://cdn.shopify.com"))return e;if("AWSCDN"==(0,c.zpr)(t))return e;if("AZURECDN"==(0,c.zpr)(t)){if(e.includes(".azureedge.net"))return e;if(e.includes(".cloudfront.net")){for(const t of Object.keys(a))if(e.includes(t))return e.replace(t,a[t]);return e}}if("BUNNYCDN"==(0,c.zpr)(t)){if(e.includes(".b-cdn.net"))return e;if(e.includes(".cloudfront.net")){for(const t of Object.keys(r))if(e.includes(t))return e.replace(t,r[t]);return e}}return e}},342:function(e,t,n){n.d(t,{$W:function(){return i},WN:function(){return r},uv:function(){return a},vW:function(){return m}});var c=n(9854);const o=(0,n(7753).MO)("whatmoreShopId"),a=function(e){var t,n;return"event_media_urls"in e?"image"===e.event_type?e.event_media_urls.primary.portrait.content_image_original:"secondary"in e.event_media_urls&&e.event_media_urls.secondary.portrait.content_video_1080p?e.event_media_urls.secondary.portrait.content_video_1080p:null!==(t=e.event_media_urls.primary.portrait.content_video_1080p)&&void 0!==t?t:null===(n=e.event_media_urls.primary.landscape)||void 0===n?void 0:n.content_video_1080p:e.event_hls_url},r=function(e){return"event_media_urls"in e?"image"===e.event_type?e.event_media_urls.primary.landscape.content_image_original:"secondary"in e.event_media_urls&&e.event_media_urls.secondary.landscape.content_video_1080p?e.event_media_urls.secondary.landscape.content_video_1080p:e.event_media_urls.primary.landscape.content_video_1080p:e.event_hls_url},i=function(e){if(e.startsWith("https://cdn.shopify.com")&&e.includes("whatmore_")){const t=(0,c.QFt)(o);if(!t)return e;const n=e.split("whatmore_")[1].split("?")[0];return"https://whatmore-brand-video-assets-720p.b-cdn.net/".concat(t,"/").concat(n)}return e},m=function(e){if(e.startsWith("https://cdn.shopify.com")&&e.includes("whatmore_")){const t=(0,c.QFt)(o);if(!t)return e;const n=e.split("whatmore_")[1].split("?")[0];return"https://whatmore-brand-thumbnail-video-assets.b-cdn.net/".concat(t,"/").concat(n)}return e}},8743:function(){},123:function(){}}]);