whatmore-react-assets 1.0.602 → 1.0.604
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/static/css/196.077f3244.chunk.css +1 -0
- package/static/css/530.d956e442.chunk.css +1 -0
- package/static/css/62.600c792f.chunk.css +1 -0
- package/static/css/67.d956e442.chunk.css +1 -0
- package/static/css/790.91c183c3.chunk.css +1 -0
- package/static/css/926.166df4b9.chunk.css +1 -0
- package/static/css/atc-button-with-form-chunk.600c792f.chunk.css +1 -0
- package/static/css/carousel-a-chunk.cd7c3bc4.chunk.css +1 -0
- package/static/css/carousel-b-chunk.c9532191.chunk.css +1 -0
- package/static/css/carousel-d-chunk.cf7de31d.chunk.css +1 -0
- package/static/css/collection-a-chunk.af6f6f13.chunk.css +1 -0
- package/static/css/collection-b-chunk.af6f6f13.chunk.css +1 -0
- package/static/css/collection-c-chunk.af6f6f13.chunk.css +1 -0
- package/static/css/collection-stories-chunk.af6f6f13.chunk.css +1 -0
- package/static/css/pdp-chunk.969b5249.chunk.css +1 -0
- package/static/css/spotlight-chunk.969b5249.chunk.css +1 -0
- package/static/css/stories-chunk.09ea5cb6.chunk.css +1 -0
- package/static/css/video-view-chunk.600c792f.chunk.css +1 -0
- package/static/js/13.f1f86e40.chunk.js +1 -0
- package/static/js/196.bab49caa.chunk.js +1 -0
- package/static/js/210.e86cb1a7.chunk.js +1 -0
- package/static/js/240.0c14b670.chunk.js +2 -0
- package/static/js/249.66f9d5b7.chunk.js +1 -0
- package/static/js/302.41f7dffe.chunk.js +1 -0
- package/static/js/303.d0b4b70e.chunk.js +2 -0
- package/static/js/364.988ddcda.chunk.js +1 -0
- package/static/js/{common-c40af05b.dcc6869f.chunk.js → 367.0e2349d8.chunk.js} +2 -2
- package/static/js/369.5cba5a79.chunk.js +1 -0
- package/static/js/423.4d5ac85a.chunk.js +1 -0
- package/static/js/530.dfd08c9a.chunk.js +1 -0
- package/static/js/548.5d4bf1f9.chunk.js +1 -0
- package/static/js/576.29cac9bc.chunk.js +1 -0
- package/static/js/62.59d61304.chunk.js +1 -0
- package/static/js/67.e86c8bff.chunk.js +1 -0
- package/static/js/790.de883a2d.chunk.js +1 -0
- package/static/js/819.0610382e.chunk.js +2 -0
- package/static/js/876.8567a10d.chunk.js +1 -0
- package/static/js/950.76b80bbc.chunk.js +1 -0
- package/static/js/955.e7fff1c9.chunk.js +2 -0
- package/static/js/atc-button-with-form-chunk.1635dc52.chunk.js +1 -0
- package/static/js/carousel-a-chunk.11bbfd26.chunk.js +1 -0
- package/static/js/carousel-b-chunk.b1d8cd9f.chunk.js +1 -0
- package/static/js/carousel-d-chunk.cccc6e8b.chunk.js +1 -0
- package/static/js/collection-a-chunk.bee3358e.chunk.js +1 -0
- package/static/js/collection-b-chunk.5d4875ca.chunk.js +1 -0
- package/static/js/collection-c-chunk.c9b3bf0a.chunk.js +1 -0
- package/static/js/collection-stories-chunk.250f38db.chunk.js +1 -0
- package/static/js/homepage-chunk.3eb8173c.chunk.js +1 -0
- package/static/js/pdp-chunk.9e9573ed.chunk.js +1 -0
- package/static/js/spotlight-chunk.f5c17be8.chunk.js +1 -0
- package/static/js/stories-chunk.2f8c33ce.chunk.js +1 -0
- package/static/js/video-view-chunk.69b3c860.chunk.js +1 -0
- package/whatmore.js +2 -1
- package/static/css/common-31743c5a.2d20b8d4.chunk.css +0 -1
- package/static/js/4362.c6fb0ac7.chunk.js +0 -1
- package/static/js/4658.5f11e975.chunk.js +0 -1
- package/static/js/5523.e48ac86a.chunk.js +0 -1
- package/static/js/carousel-a-chunk.6d16a151.chunk.js +0 -1
- package/static/js/carousel-b-chunk.578ff79d.chunk.js +0 -1
- package/static/js/carousel-d-chunk.8e269729.chunk.js +0 -1
- package/static/js/collection-a-chunk.d384faae.chunk.js +0 -1
- package/static/js/collection-b-chunk.bed9ec07.chunk.js +0 -1
- package/static/js/collection-c-chunk.c5ec8dce.chunk.js +0 -1
- package/static/js/collection-stories-chunk.84c7a407.chunk.js +0 -1
- package/static/js/common-0bc0478e.9058a9ab.chunk.js +0 -1
- package/static/js/common-0e242c01.f1668061.chunk.js +0 -2
- package/static/js/common-1106b657.62aee7e0.chunk.js +0 -1
- package/static/js/common-13c88e89.253f2714.chunk.js +0 -2
- package/static/js/common-15f93fc0.3e9c12c7.chunk.js +0 -1
- package/static/js/common-160088cf.aa696288.chunk.js +0 -1
- package/static/js/common-229eafb5.c120ff43.chunk.js +0 -1
- package/static/js/common-233d2676.9242691f.chunk.js +0 -1
- package/static/js/common-27545368.bcbef68f.chunk.js +0 -1
- package/static/js/common-2a46b080.4838207a.chunk.js +0 -1
- package/static/js/common-3113a0cb.9e632e8d.chunk.js +0 -2
- package/static/js/common-32266432.63752085.chunk.js +0 -1
- package/static/js/common-32bee901.3555887a.chunk.js +0 -1
- package/static/js/common-3a7be97d.008a510f.chunk.js +0 -1
- package/static/js/common-3d090d83.385fe030.chunk.js +0 -1
- package/static/js/common-48250960.dd4add74.chunk.js +0 -1
- package/static/js/common-48a4958c.93a1ad1d.chunk.js +0 -1
- package/static/js/common-49d0a293.a9bbc288.chunk.js +0 -1
- package/static/js/common-4ed39ea1.4cb19ed1.chunk.js +0 -1
- package/static/js/common-4f9c9c84.5f1e11dc.chunk.js +0 -1
- package/static/js/common-53f2243b.3aa11aa8.chunk.js +0 -1
- package/static/js/common-55d013d5.40b0125d.chunk.js +0 -1
- package/static/js/common-57b3628f.759d9b43.chunk.js +0 -1
- package/static/js/common-5d3107ce.9a8b5004.chunk.js +0 -1
- package/static/js/common-5d3d2886.ab8aa963.chunk.js +0 -1
- package/static/js/common-5d3f9c65.848af7da.chunk.js +0 -1
- package/static/js/common-5d692d07.07c1b91b.chunk.js +0 -1
- package/static/js/common-5d7dbd17.73ac9eba.chunk.js +0 -1
- package/static/js/common-64f07f7c.8d074243.chunk.js +0 -1
- package/static/js/common-66bb3aca.3a892bb0.chunk.js +0 -1
- package/static/js/common-6b9f87d2.84d175c9.chunk.js +0 -1
- package/static/js/common-6d108e1a.290c8df5.chunk.js +0 -1
- package/static/js/common-712bd2d8.11a50b9b.chunk.js +0 -1
- package/static/js/common-77a2a1a6.c652dc57.chunk.js +0 -1
- package/static/js/common-7b07bef1.a9af0946.chunk.js +0 -1
- package/static/js/common-7c36387c.81ab906d.chunk.js +0 -1
- package/static/js/common-7e6b5161.63e30c87.chunk.js +0 -1
- package/static/js/common-7eb22e3e.8624020e.chunk.js +0 -2
- package/static/js/common-800b323c.b427507d.chunk.js +0 -1
- package/static/js/common-88d3322f.87ce429e.chunk.js +0 -1
- package/static/js/common-88f28e38.bd192aa4.chunk.js +0 -1
- package/static/js/common-949b784d.3aa820b8.chunk.js +0 -1
- package/static/js/common-9821169d.75482d60.chunk.js +0 -1
- package/static/js/common-a0a7bb72.20805789.chunk.js +0 -1
- package/static/js/common-a263bd7d.767448a9.chunk.js +0 -1
- package/static/js/common-a4bf674c.0d204f1f.chunk.js +0 -1
- package/static/js/common-ae2b3147.8cc0412d.chunk.js +0 -2
- package/static/js/common-b2c1640e.142f699b.chunk.js +0 -1
- package/static/js/common-b62430ee.45a7fc20.chunk.js +0 -1
- package/static/js/common-b64e8376.d3533042.chunk.js +0 -1
- package/static/js/common-b6cffd1b.2625c62b.chunk.js +0 -1
- package/static/js/common-b9d649db.493b3949.chunk.js +0 -1
- package/static/js/common-bb3d84b5.14ce2ae6.chunk.js +0 -1
- package/static/js/common-bc54c07b.e6b53c5c.chunk.js +0 -1
- package/static/js/common-bcd1dcdb.1420a1d1.chunk.js +0 -1
- package/static/js/common-c0eacd06.6a23117a.chunk.js +0 -1
- package/static/js/common-c906743b.3425ca0e.chunk.js +0 -1
- package/static/js/common-d2980794.704b7514.chunk.js +0 -1
- package/static/js/common-d795c11b.bc496f64.chunk.js +0 -1
- package/static/js/common-db816fc0.72486adc.chunk.js +0 -1
- package/static/js/common-de41904d.3005e3d8.chunk.js +0 -1
- package/static/js/common-de9d892a.4afc7b3a.chunk.js +0 -1
- package/static/js/common-df87532f.d992e121.chunk.js +0 -1
- package/static/js/common-e16f82ec.f0d75c34.chunk.js +0 -1
- package/static/js/common-e6c7703c.4e4d2739.chunk.js +0 -1
- package/static/js/common-e96e9bea.fbd0373e.chunk.js +0 -1
- package/static/js/common-eb47dfcb.82060e1c.chunk.js +0 -1
- package/static/js/common-f20e867b.89d0d03e.chunk.js +0 -1
- package/static/js/common-f79d41fa.72d2f179.chunk.js +0 -1
- package/static/js/common-f991c50a.9ea24f3a.chunk.js +0 -1
- package/static/js/homepage-chunk.8917613d.chunk.js +0 -1
- package/static/js/pdp-chunk.696f85f6.chunk.js +0 -1
- package/static/js/spotlight-chunk.2a912321.chunk.js +0 -1
- package/static/js/stories-chunk.c1d3b602.chunk.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[302],{2575:function(e,t,r){r.d(t,{Z:function(){return ae}});var n=function(){function e(e){var t=this;this._insertTag=function(e){var r;r=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,r),t.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 t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var r=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{r.insertRule(e,r.cssRules.length)}catch(n){0}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}(),a=Math.abs,c=String.fromCharCode,s=Object.assign;function i(e){return e.trim()}function o(e,t,r){return e.replace(t,r)}function u(e,t){return e.indexOf(t)}function f(e,t){return 0|e.charCodeAt(t)}function l(e,t,r){return e.slice(t,r)}function h(e){return e.length}function d(e){return e.length}function p(e,t){return t.push(e),e}var v=1,m=1,g=0,b=0,y=0,w="";function k(e,t,r,n,a,c,s){return{value:e,root:t,parent:r,type:n,props:a,children:c,line:v,column:m,length:s,return:""}}function x(e,t){return s(k("",null,null,"",null,null,0),e,{length:-e.length},t)}function C(){return y=b>0?f(w,--b):0,m--,10===y&&(m=1,v--),y}function $(){return y=b<g?f(w,b++):0,m++,10===y&&(m=1,v++),y}function A(){return f(w,b)}function S(){return b}function O(e,t){return l(w,e,t)}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 E(e){return v=m=1,g=h(w=e),b=0,[]}function j(e){return w="",e}function P(e){return i(O(b-1,I(91===e?e+2:40===e?e+1:e)))}function R(e){for(;(y=A())&&y<33;)$();return _(e)>2||_(y)>3?"":" "}function z(e,t){for(;--t&&$()&&!(y<48||y>102||y>57&&y<65||y>70&&y<97););return O(e,S()+(t<6&&32==A()&&32==$()))}function I(e){for(;$();)switch(y){case e:return b;case 34:case 39:34!==e&&39!==e&&I(y);break;case 40:41===e&&I(e);break;case 92:$()}return b}function N(e,t){for(;$()&&e+y!==57&&(e+y!==84||47!==A()););return"/*"+O(t,b-1)+"*"+c(47===e?e:$())}function G(e){for(;!_(A());)$();return O(e,b)}var M="-ms-",T="-moz-",W="-webkit-",Z="comm",L="rule",q="decl",D="@keyframes";function F(e,t){for(var r="",n=d(e),a=0;a<n;a++)r+=t(e[a],a,e,t)||"";return r}function H(e,t,r,n){switch(e.type){case"@import":case q:return e.return=e.return||e.value;case Z:return"";case D:return e.return=e.value+"{"+F(e.children,n)+"}";case L:e.value=e.props.join(",")}return h(r=F(e.children,n))?e.return=e.value+"{"+r+"}":""}function B(e,t){switch(function(e,t){return(((t<<2^f(e,0))<<2^f(e,1))<<2^f(e,2))<<2^f(e,3)}(e,t)){case 5103:return W+"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 W+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return W+e+T+e+M+e+e;case 6828:case 4268:return W+e+M+e+e;case 6165:return W+e+M+"flex-"+e+e;case 5187:return W+e+o(e,/(\w+).+(:[^]+)/,"-webkit-box-$1$2-ms-flex-$1$2")+e;case 5443:return W+e+M+"flex-item-"+o(e,/flex-|-self/,"")+e;case 4675:return W+e+M+"flex-line-pack"+o(e,/align-content|flex-|-self/,"")+e;case 5548:return W+e+M+o(e,"shrink","negative")+e;case 5292:return W+e+M+o(e,"basis","preferred-size")+e;case 6060:return W+"box-"+o(e,"-grow","")+W+e+M+o(e,"grow","positive")+e;case 4554:return W+o(e,/([^-])(transform)/g,"$1-webkit-$2")+e;case 6187:return o(o(o(e,/(zoom-|grab)/,W+"$1"),/(image-set)/,W+"$1"),e,"")+e;case 5495:case 3959:return o(e,/(image-set\([^]*)/,W+"$1$`$1");case 4968:return o(o(e,/(.+:)(flex-)?(.*)/,"-webkit-box-pack:$3-ms-flex-pack:$3"),/s.+-b[^;]+/,"justify")+W+e+e;case 4095:case 3583:case 4068:case 2532:return o(e,/(.+)-inline(.+)/,W+"$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(h(e)-1-t>6)switch(f(e,t+1)){case 109:if(45!==f(e,t+4))break;case 102:return o(e,/(.+:)(.+)-([^]+)/,"$1-webkit-$2-$3$1"+T+(108==f(e,t+3)?"$3":"$2-$3"))+e;case 115:return~u(e,"stretch")?B(o(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==f(e,t+1))break;case 6444:switch(f(e,h(e)-3-(~u(e,"!important")&&10))){case 107:return o(e,":",":"+W)+e;case 101:return o(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+W+(45===f(e,14)?"inline-":"")+"box$3$1"+W+"$2$3$1"+M+"$2box$3")+e}break;case 5936:switch(f(e,t+11)){case 114:return W+e+M+o(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return W+e+M+o(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return W+e+M+o(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return W+e+M+e+e}return e}function J(e){return j(K("",null,null,null,[""],e=E(e),0,[0],e))}function K(e,t,r,n,a,s,i,f,l){for(var d=0,v=0,m=i,g=0,b=0,y=0,w=1,k=1,x=1,O=0,_="",E=a,j=s,I=n,M=_;k;)switch(y=O,O=$()){case 40:if(108!=y&&58==M.charCodeAt(m-1)){-1!=u(M+=o(P(O),"&","&\f"),"&\f")&&(x=-1);break}case 34:case 39:case 91:M+=P(O);break;case 9:case 10:case 13:case 32:M+=R(y);break;case 92:M+=z(S()-1,7);continue;case 47:switch(A()){case 42:case 47:p(U(N($(),S()),t,r),l);break;default:M+="/"}break;case 123*w:f[d++]=h(M)*x;case 125*w:case 59:case 0:switch(O){case 0:case 125:k=0;case 59+v:b>0&&h(M)-m&&p(b>32?V(M+";",n,r,m-1):V(o(M," ","")+";",n,r,m-2),l);break;case 59:M+=";";default:if(p(I=Q(M,t,r,d,v,a,f,_,E=[],j=[],m),s),123===O)if(0===v)K(M,t,I,I,E,s,m,f,j);else switch(g){case 100:case 109:case 115:K(e,I,I,n&&p(Q(e,I,I,0,0,a,f,_,a,E=[],m),j),a,j,m,f,n?E:j);break;default:K(M,I,I,I,[""],j,0,f,j)}}d=v=b=0,w=x=1,_=M="",m=i;break;case 58:m=1+h(M),b=y;default:if(w<1)if(123==O)--w;else if(125==O&&0==w++&&125==C())continue;switch(M+=c(O),O*w){case 38:x=v>0?1:(M+="\f",-1);break;case 44:f[d++]=(h(M)-1)*x,x=1;break;case 64:45===A()&&(M+=P($())),g=A(),v=m=h(_=M+=G(S())),O++;break;case 45:45===y&&2==h(M)&&(w=0)}}return s}function Q(e,t,r,n,c,s,u,f,h,p,v){for(var m=c-1,g=0===c?s:[""],b=d(g),y=0,w=0,x=0;y<n;++y)for(var C=0,$=l(e,m+1,m=a(w=u[y])),A=e;C<b;++C)(A=i(w>0?g[C]+" "+$:o($,/&\f/g,g[C])))&&(h[x++]=A);return k(e,t,r,0===c?L:f,h,p,v)}function U(e,t,r){return k(e,t,r,Z,c(y),l(e,2,-2),0)}function V(e,t,r,n){return k(e,t,r,q,l(e,0,n),l(e,n+1,-1),n)}var X=function(e,t,r){for(var n=0,a=0;n=a,a=A(),38===n&&12===a&&(t[r]=1),!_(a);)$();return O(e,b)},Y=function(e,t){return j(function(e,t){var r=-1,n=44;do{switch(_(n)){case 0:38===n&&12===A()&&(t[r]=1),e[r]+=X(b-1,t,r);break;case 2:e[r]+=P(n);break;case 4:if(44===n){e[++r]=58===A()?"&\f":"",t[r]=e[r].length;break}default:e[r]+=c(n)}}while(n=$());return e}(E(e),t))},ee=new WeakMap,te=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,r=e.parent,n=e.column===r.column&&e.line===r.line;"rule"!==r.type;)if(!(r=r.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||ee.get(r))&&!n){ee.set(e,!0);for(var a=[],c=Y(t,a),s=r.props,i=0,o=0;i<c.length;i++)for(var u=0;u<s.length;u++,o++)e.props[o]=a[i]?c[i].replace(/&\f/g,s[u]):s[u]+" "+c[i]}}},re=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}},ne=[function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case q:e.return=B(e.value,e.length);break;case D:return F([x(e,{value:o(e.value,"@","@"+W)})],n);case L:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return F([x(e,{props:[o(t,/:(read-\w+)/,":-moz-$1")]})],n);case"::placeholder":return F([x(e,{props:[o(t,/:(plac\w+)/,":-webkit-input-$1")]}),x(e,{props:[o(t,/:(plac\w+)/,":-moz-$1")]}),x(e,{props:[o(t,/:(plac\w+)/,M+"input-$1")]})],n)}return""}))}}],ae=function(e){var t=e.key;if("css"===t){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var a=e.stylisPlugins||ne;var c,s,i={},o=[];c=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),r=1;r<t.length;r++)i[t[r]]=!0;o.push(e)}));var u,f,l=[H,(f=function(e){u.insert(e)},function(e){e.root||(e=e.return)&&f(e)})],h=function(e){var t=d(e);return function(r,n,a,c){for(var s="",i=0;i<t;i++)s+=e[i](r,n,a,c)||"";return s}}([te,re].concat(a,l));s=function(e,t,r,n){u=r,F(J(e?e+"{"+t.styles+"}":t.styles),h),n&&(p.inserted[t.name]=!0)};var p={key:t,sheet:new n({key:t,container:c,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:i,registered:{},insert:s};return p.sheet.hydrate(o),p}},9302:function(e,t,r){r.d(t,{C:function(){return u},T:function(){return l},b:function(){return d},w:function(){return f}});var n=r(7313),a=r.t(n,2),c=r(2575),s=r(7462),i=function(e){var t=new WeakMap;return function(r){if(t.has(r))return t.get(r);var n=e(r);return t.set(r,n),n}},o=(r(3752),(0,n.createContext)("undefined"!==typeof HTMLElement?(0,c.Z)({key:"css"}):null));var u=o.Provider,f=function(e){return(0,n.forwardRef)((function(t,r){var a=(0,n.useContext)(o);return e(t,a,r)}))},l=(0,n.createContext)({});var h=i((function(e){return i((function(t){return function(e,t){return"function"===typeof t?t(e):(0,s.Z)({},e,t)}(e,t)}))})),d=function(e){var t=(0,n.useContext)(l);return e.theme!==t&&(t=h(t)(e.theme)),(0,n.createElement)(l.Provider,{value:t},e.children)};a.useInsertionEffect&&a.useInsertionEffect},3752:function(e,t,r){r.d(t,{O:function(){return p}});var n=function(e){for(var t,r=0,n=0,a=e.length;a>=4;++n,a-=4)t=1540483477*(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))+(59797*(t>>>16)<<16),r=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&r)+(59797*(r>>>16)<<16);switch(a){case 3:r^=(255&e.charCodeAt(n+2))<<16;case 2:r^=(255&e.charCodeAt(n+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(n)))+(59797*(r>>>16)<<16)}return(((r=1540483477*(65535&(r^=r>>>13))+(59797*(r>>>16)<<16))^r>>>15)>>>0).toString(36)},a={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 c=/[A-Z]|^ms/g,s=/_EMO_([^_]+?)_([^]*?)_EMO_/g,i=function(e){return 45===e.charCodeAt(1)},o=function(e){return null!=e&&"boolean"!==typeof e},u=function(e){var t=Object.create(null);return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}}((function(e){return i(e)?e:e.replace(c,"-$&").toLowerCase()})),f=function(e,t){switch(e){case"animation":case"animationName":if("string"===typeof t)return t.replace(s,(function(e,t,r){return h={name:t,styles:r,next:h},t}))}return 1===a[e]||i(e)||"number"!==typeof t||0===t?t:t+"px"};function l(e,t,r){if(null==r)return"";if(void 0!==r.__emotion_styles)return r;switch(typeof r){case"boolean":return"";case"object":if(1===r.anim)return h={name:r.name,styles:r.styles,next:h},r.name;if(void 0!==r.styles){var n=r.next;if(void 0!==n)for(;void 0!==n;)h={name:n.name,styles:n.styles,next:h},n=n.next;return r.styles+";"}return function(e,t,r){var n="";if(Array.isArray(r))for(var a=0;a<r.length;a++)n+=l(e,t,r[a])+";";else for(var c in r){var s=r[c];if("object"!==typeof s)null!=t&&void 0!==t[s]?n+=c+"{"+t[s]+"}":o(s)&&(n+=u(c)+":"+f(c,s)+";");else if(!Array.isArray(s)||"string"!==typeof s[0]||null!=t&&void 0!==t[s[0]]){var i=l(e,t,s);switch(c){case"animation":case"animationName":n+=u(c)+":"+i+";";break;default:n+=c+"{"+i+"}"}}else for(var h=0;h<s.length;h++)o(s[h])&&(n+=u(c)+":"+f(c,s[h])+";")}return n}(e,t,r);case"function":if(void 0!==e){var a=h,c=r(e);return h=a,l(e,t,c)}}if(null==t)return r;var s=t[r];return void 0!==s?s:r}var h,d=/label:\s*([^\s;\n{]+)\s*(;|$)/g;var p=function(e,t,r){if(1===e.length&&"object"===typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var a=!0,c="";h=void 0;var s=e[0];null==s||void 0===s.raw?(a=!1,c+=l(r,t,s)):c+=s[0];for(var i=1;i<e.length;i++)c+=l(r,t,e[i]),a&&(c+=s[i]);d.lastIndex=0;for(var o,u="";null!==(o=d.exec(c));)u+="-"+o[1];return{name:n(c)+u,styles:c,next:h}}},7462:function(e,t,r){function n(){return n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},n.apply(this,arguments)}r.d(t,{Z:function(){return n}})}}]);
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! For license information please see 303.d0b4b70e.chunk.js.LICENSE.txt */
|
|
2
|
+
(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[303],{9219:function(t,o,i){"use strict";i.d(o,{p_:function(){return l},Rb:function(){return _},jx:function(){return p}});var n=i(2791),r=i(6040),e=i.n(r),c=i(9854);function a(t,o){var i,n;return"STRI2XC0BMX"==o||"STRDG36BBP5"==o?null!==(n=(0,c.QxN)(o)[t])&&void 0!==n?n:t+" ":null!==(i=(0,c.QxN)(o)[t])&&void 0!==i?i:e()(t)}function u(){return null!=window.Shopify||"undefined"!=typeof window.Shopify}function d(t){return t.toString().replace(/\B(?=(\d{3})+(?!\d))/g,",")}function s(t){if(t%1>=.1){return t.toString().split(".")[0].length>=4?parseInt(t):t.toFixed(2)}return parseInt(t)}function p(t){let o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"INR";if(!t||void 0==typeof t)return"";if(!u()){if("70993772860"==i||"72534294803"==i)return"$"+o+d(s(t));"STRY2V4XO5L"!=i&&"STRTFEDEDAP"!=i||(o="");const r="STRY2V4XO5L"==i||"STRTFEDEDAP"==i?t.toFixed(2):s(t);return a(null!==n&&void 0!==n?n:"INR",i)+o+d(r)}const r=window.Shopify.currency?window.Shopify.currency.active:"INR",e=parseFloat(window.Shopify.currency?window.Shopify.currency.rate:"1.0");return a(r,i)+o+d(s(t*e))}async function l(t,o,i){for(let a=0;a<t.products.length;a++){var r,e,c;const u=await(0,n.vX)(t.products[a],o,i);t.products[a].price=null!==(r=u.price)&&void 0!==r?r:t.products[a].price,t.products[a].compare_price=null!==(e=u.compare_at_price)&&void 0!==e?e:t.products[a].compare_price,t.products[a].currency=null!==(c=u.currency_code)&&void 0!==c?c:t.products[a].currency,"STRTFEDEDAP"==i&&(t.products[a].discount=u.discount)}return t}async function _(t,o,i){var r,e,c;const a=await(0,n.vX)(t,o,i);return t.price=null!==(r=a.price)&&void 0!==r?r:t.price,t.compare_price=null!==(e=a.compare_at_price)&&void 0!==e?e:t.compare_price,t.currency=null!==(c=a.currency_code)&&void 0!==c?c:t.currency,t}},5945:function(t,o,i){"use strict";function n(t){return"undefined"==typeof t||"undefined"==t||null==t?"":t.replace(/\w\S*/g,(function(t){return t.charAt(0).toUpperCase()+t.substr(1).toLowerCase()}))}i.d(o,{s:function(){return n}})},2791:function(t,o,i){"use strict";i.d(o,{jg:function(){return Ot},TE:function(){return Mt},rY:function(){return Et},OM:function(){return At},vX:function(){return It},Y4:function(){return Ct},ln:function(){return Ut}});var n=i(9854);function r(t){for(var o=1;o<arguments.length;o++){var i=arguments[o];for(var n in i)t[n]=i[n]}return t}var e=function t(o,i){function n(t,n,e){if("undefined"!==typeof document){"number"===typeof(e=r({},i,e)).expires&&(e.expires=new Date(Date.now()+864e5*e.expires)),e.expires&&(e.expires=e.expires.toUTCString()),t=encodeURIComponent(t).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var c="";for(var a in e)e[a]&&(c+="; "+a,!0!==e[a]&&(c+="="+e[a].split(";")[0]));return document.cookie=t+"="+o.write(n,t)+c}}return Object.create({set:n,get:function(t){if("undefined"!==typeof document&&(!arguments.length||t)){for(var i=document.cookie?document.cookie.split("; "):[],n={},r=0;r<i.length;r++){var e=i[r].split("="),c=e.slice(1).join("=");try{var a=decodeURIComponent(e[0]);if(n[a]=o.read(c,a),t===a)break}catch(u){}}return t?n[t]:n}},remove:function(t,o){n(t,"",r({},o,{expires:-1}))},withAttributes:function(o){return t(this.converter,r({},this.attributes,o))},withConverter:function(o){return t(r({},this.converter,o),this.attributes)}},{attributes:{value:Object.freeze(i)},converter:{value:Object.freeze(o)}})}({read:function(t){return'"'===t[0]&&(t=t.slice(1,-1)),t.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(t){return encodeURIComponent(t).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"}),c=e;const a={STRDG36BBP5:"https://flash.andaazfashion.com",STRI2XC0BMX:"https://www.andaazfashion.com"};function u(t){var o,i;return null===t||void 0===t||null===(o=t.product_link)||void 0===o||null===(i=o.split(".com/"))||void 0===i?void 0:i[1]}function d(t){const o=c.get("andaaz_currency_code");return o||null}function s(t){return a[t]}async function p(t,o){const i=s(o);return function(t){const o=t.data.product_data;var i=[{id:o.product_id,product_id:o.product_id,title:o.product_title,price:o.price,compare_at_price:o.mrp,currency_code:o.currency_code,available:"in_stock"==o.stock_status,option1:null,option2:null,option3:null}];const n=(i=i.filter((t=>1==t.available))).map((t=>t.option1));return{id:o.product_id,title:o.product_title,body_html:"",variants:i,options:n}}(await fetch("".concat(i,"/whatmore/index/index/?url=").concat(u(t)).concat(null==d()?"¤cy_code=GBP":"¤cy_code="+d()),{method:"GET",headers:{redirect:"follow",mode:"no-cors"}}).then((t=>t.json())).catch((t=>console.error(t))))}const l={STRCGMYX28X:"https://"+window.location.hostname,STRBG6F06XL:"https://"+window.location.hostname,STR1QF8R1DW:"https://"+window.location.hostname},_={S:0,M:1,L:2,XL:3,XXL:4};async function h(t){const o=localStorage.getItem("_whatmore_kt"),i=localStorage.getItem("_whatmore_kt_start_time");if(o&&i&&(new Date).getTime()<=parseInt(i)+6e5)return o;const n=await async function(t){const o="https://api.whatmore.live/product/access/ans?store_id=".concat(t);return await fetch(o).then((t=>t.json()))}(t);return localStorage.setItem("_whatmore_kt",n.token),localStorage.setItem("_whatmore_kt_start_time",(new Date).getTime()),n.token}const m="apiKey";function f(t){return t.product_metadata.sku_id}function v(t){return l[t]}async function w(t,o){const i=v(o);return function(t){var o,i,n;const r=null===(o=t.products)||void 0===o?void 0:o[0];"options"in r&&0!=r.options.length||(r.options=[{product_option_id:"invalid",product_option_value:[{product_option_value_id:"invalid",option_value_id:"46",name:"invalid",image:"",quantity:"1",subtract:"1",price:"0.0000",price_prefix:"+",special_price:"0.0000",special_price_prefix:"+",weight:"0.00000000",weight_prefix:"+",sku:"8903568188345"}],option_id:"1",name:"invalid",type:"radio",value:"",required:"1"}]);var e=r.variants.map((t=>{var o,i;return{id:r.product_id+"::"+(null===t||void 0===t?void 0:t.product_option_id)+"::"+(null===t||void 0===t?void 0:t.product_option_value_id),product_id:r.product_id,title:null===t||void 0===t?void 0:t.title,price:null===t||void 0===t||null===(o=t.itemPrice)||void 0===o?void 0:o.netSellerPayable,compare_at_price:null===t||void 0===t||null===(i=t.itemPrice)||void 0===i?void 0:i.mrp,available:t.status&&t.live,option1:""==t.size?null:t.size,option2:null,option3:null,options:[null===t||void 0===t?void 0:t.size]}}));(e=e.filter((t=>1==t.available))).sort(((t,o)=>_[t.option1]-_[o.option1]));const c=e.map((t=>t.option1));return{id:r.product_id,title:null===(i=r.variants)||void 0===i||null===(n=i[0])||void 0===n?void 0:n.title,body_html:r.short_description,variants:e,options:c}}(await fetch(i+"/kartify/products?skus=".concat(f(t)),{headers:{[m]:await h(o)}}).then((t=>t.json())).catch((t=>console.error(t))))}async function y(t,o,i){v(i);const n=t.split("::"),r=n[0],e="null"==n[1]?null:n[1],c="null"==n[2]?null:n[2];return whatmoreatc(r,o,e,c),await new Promise((t=>setTimeout(t,1500))),"whatmoreatc_success"in localStorage&&"true"==localStorage.getItem("whatmoreatc_success")?{ok:!0,status:200,json:function(){return{}}}:{ok:!1,status:500,json:function(){return{}}}}const S={STRR72TX6AT:"https://www.cbazaar.com"};function T(t){return t.product_metadata.sku_id}function b(t){return S[t]}async function g(t,o){function i(t){const o=t.data.product_data[0];var i=[{id:o.product_id,product_id:o.product_id,title:o.product_title,price:100*o.price,compare_at_price:100*o.mrp,currency_code:o.currency_code,available:!o.outOfStock,option1:null,option2:null,option3:null,options:[]}];const n=(i=i.filter((t=>1==t.available))).map((t=>t.option1));return{id:o.product_id,title:o.product_title,body_html:"",variants:i,options:n}}const n=b(o);return i(await fetch(n+"/productsv3api/getproductdetails/"+T(t),{method:"GET",headers:{redirect:"follow",mode:"no-cors"}}).then((t=>t.json())).catch((t=>console.error(t))))}const R={STRRPY8YRZE:"https://idaho-o.com"},k=(window.location.hostname.substring(10,4),window.location.hostname.substring(10,4),window.location.hostname.substring(10,4),"Y2tfZTI1OWVmNWVlNzg5MzIzYzIzOWU3ZDE0NjQwNmUwZmZkZGY4NDQ5Yzpjc19iYzdkZjI0MGEwYTgzNDhlZjNhMTI4ZTA3MDRkMmMwNmU5ZGM4NTM5");function j(t){return t.product_metadata.sku_id}function D(t){return R[t]}async function P(t,o){const i=D(o);return function(t){const o=t;var i=Object.entries(o.attributes[0].options).map(((t,i)=>{var n;return{id:(null!==(n=o.variations[i])&&void 0!==n?n:o.variations[0])+":"+o.id+":"+t[1],product_id:o.id,title:"",price:100*o.price,compare_at_price:100*o.price,available:"instock"===o.stock_status,option1:t[1],option2:null,option3:null,options:[t[1]]}}));const n=(i=i.filter((t=>1==t.available))).map((t=>t.option1));return{id:o.product_id,title:o.product_title,body_html:o.description,variants:i,options:n}}(await fetch(i+"/wp-json/wc/v3/products/"+j(t),{method:"GET",headers:{Authorization:"Basic "+k}}).then((t=>t.json())).catch((t=>console.error(t))))}async function N(t,o,i){const n=t.split(":"),r=n[0],e=n[1],c=n[2],a=D(i)+"/wp-admin/admin-ajax.php",u={Authorization:"Basic "+k},d=new FormData;d.append("action","woocommerce_ajax_add_to_cart"),d.append("product_id",e),d.append("product_sku",""),d.append("quantity",o),d.append("variation_id",r),d.append("variation[attribute_pa_size]",c?c.toLowerCase():"");return await fetch(a,{method:"POST",headers:u,body:d}).then((t=>t.json())).then((t=>({ok:!0,status:200,json:function(){return{}}})))}const B={STRGXL92H5M:"https://webapi.jaipurrugs.com"};async function G(t){const o=localStorage.getItem("_whatmore_jrugs_kt"),i=localStorage.getItem("_whatmore_jrugs_end_time");if(o&&i&&(new Date).getTime()<=parseInt(i))return o;const n=await async function(t){return await fetch("https://webapi.jaipurrugs.com/api/oauth/access_token",{method:"post",headers:{"Content-Type":"application/json"},body:JSON.stringify({username:"test@pixxeldigital.com",Password:"test@123",client_id:"DD92F35C-FA0F-48A8-AF09-13197463D6CF",client_secret:"373C883D-350F-4823-BEDD-F85241777825",grant_type:"password"})}).then((t=>t.json()))}();return localStorage.setItem("_whatmore_jrugs_kt",n.token),localStorage.setItem("_whatmore_jrugs_end_time",(new Date).getTime()+6e5),n.token}function C(t){return B[t]}async function U(t,o){const i=C(o);return function(t){const o=null===t||void 0===t?void 0:t[0],i=[{id:o.product_id,product_id:o.product_id,title:o.product_title,price:o.price,available:"in_stock"==o.stock_status,compare_at_price:o.mrp,option1:null,option2:null,option3:null}];return{id:o.product_id,title:o.product_title,body_html:o.description,variants:i,currency_code:o.currency_code,options:[]}}(await fetch(i+"/api/WebsiteMaster/test/Whatmore-product-detail",{method:"POST",body:JSON.stringify({product_id:t.product_id}),headers:{"Content-Type":"application/json",Authorization:"Bearer ".concat(await G())}}).then((t=>t.json())).catch((t=>console.error(t))))}var O;const E={STRMM0QP0CU:"https://"+window.location.hostname},M=null!==(O=c.get("form_key"))&&void 0!==O?O:"undefined",A=(window.location.hostname.substring(10,4),window.location.hostname.substring(10,4),window.location.hostname.substring(10,4),"ds243corrt3qkd1rhoeyfes3ztefxjae");function I(t){return t.product_metadata.sku_id}function z(t){return E[t]}async function F(t,o){var i=await async function(t){const o=z(t);return(await fetch(o+"/rest/V1/products/attributes/ready_to_wear_sizes",{method:"GET",headers:{Authorization:"Bearer "+A}}).then((t=>t.json())).catch((t=>console.error(t)))).options.reduce(((t,o,i)=>(o.value&&o.label&&(t[o.value]=o.label),t)),{})}(o),n=[];return t.split(",").forEach((t=>{t in i&&n.push(t+":"+i[t])})),n}async function L(t){var o=[];return t.options.forEach((t=>{t.values.forEach((i=>{"Ready to wear"==i.title&&o.push(t.option_id+":"+i.option_type_id)}))})),o.length>0?o[0]:void 0}async function X(t,o){async function i(t){const i=t,n=i.extension_attributes.is_ready_to_ware,r=i.custom_attributes.reduce(((t,o,i)=>(t[o.attribute_code]=o.value,t)),{});async function e(){var t;return{id:i.id,title:i.name,body_html:r.description,variants:[{id:"single_option::"+i.id,product_id:i.id,title:"",price:100*(null!==(t=r.special_price)&&void 0!==t?t:i.price),compare_at_price:100*i.price,available:!0,option1:i.extension_attributes.stock_item.item_id,option2:null,option3:null,options:[i.extension_attributes.stock_item.item_id]}],images:[{id:i.id,product_id:i.id,position:1,src:"https://ik.imagekit.io/wb2spwtue/kreeva/tr:h-433,w-315,q-80,cm-pad_resize/media/catalog/product"+r.thumbnail,variant_ids:["single_option::"+i.id]}],options:[{id:i.product_id,product_id:i.product_id,name:"Size",position:1,values:[i.extension_attributes.stock_item.item_id]}]}}if(0==n)return await e();if(!("ready_to_wear_sizes"in r))return await e();const c=await F(r.ready_to_wear_sizes,o),a=await L(t);return a?await async function(t,o){const n=t.map(((t,n)=>{var e;const c=i.extension_attributes.stock_item.item_id,a=t.split(":")[0],u=t.split(":")[1];return{id:"multi_option::"+i.id+":"+c+":"+u+":"+a+":"+o,product_id:i.id,title:"",price:100*(null!==(e=r.special_price)&&void 0!==e?e:i.price),compare_at_price:100*i.price,available:!0,option1:u,option2:null,option3:null,options:null}})),e=t.map(((t,o)=>{t.split(":")[0];return t.split(":")[1]}));return{id:i.id,title:i.name,body_html:r.description,variants:n,images:[{id:i.id,product_id:i.id,position:1,src:"https://ik.imagekit.io/wb2spwtue/kreeva/tr:h-433,w-315,q-80,cm-pad_resize/media/catalog/product"+r.thumbnail,variant_ids:["single_option::"+i.id]}],options:[{id:i.product_id,product_id:i.product_id,name:"Size",position:1,values:e}]}}(c,a):await e()}const n=z(o),r=await fetch(n+"/rest/default/V1/products/"+I(t),{method:"GET",headers:{Authorization:"Bearer "+A,"User-Agent":"PostmanRuntime/7.32.3"}}).then((t=>t.json())).catch((t=>console.error(t)));return await i(r)}async function x(t,o,i){var n,r;if(t.startsWith("single_option::")){const n=t.split("::")[1],r=z(i)+"/ajaxcart",e={Authorization:"Bearer "+A},c=new FormData;c.append("product",n),c.append("item",n),c.append("qty",o),c.append("form_key",M);return await fetch(r,{method:"POST",headers:e,body:c}).then((t=>t.json())).then((t=>({ok:!0,status:200,json:function(){return{}}})))}const e=t.split("::")[1].split(":"),c=e[0],a=(e[1],e[2]),u=(e[3],null!==(n=e[4])&&void 0!==n?n:void 0),d=null!==(r=e[5])&&void 0!==r?r:void 0,s=z(i)+"/ajaxcart",p={Authorization:"Bearer "+A},l=new FormData;l.append("product",c),l.append("item",c),l.append("qty",o),l.append("options["+u+"]",d),l.append("options[size_"+u+"]",a),l.append("form_key",M);return await fetch(s,{method:"POST",headers:p,body:l}).then((t=>t.json())).then((t=>({ok:!0,status:200,json:function(){return{}}})))}const $={STRK70X2OVV:"http://dev-panash.panashindia.com",STR3PNIYEZ6:"https://www.panashindia.com"};function Y(t){return t.product_metadata.sku_id}function V(t){return $[t]}async function K(t,o){function i(t){const o=t.data.product_data;var i=[{id:o.product_id,product_id:o.product_id,title:o.product_title,price:100*o.price,compare_at_price:100*o.mrp,currency_code:o.currency_code,available:!0,option1:null,option2:null,option3:null,options:[]}];const n=(i=i.filter((t=>1==t.available))).map((t=>t.option1));return{id:o.product_id,title:o.product_title,body_html:"",variants:i,options:n}}const n=V(o);return i(await fetch(n+"/productsv3api/Productdetails/index/sku/"+Y(t),{method:"GET",headers:{redirect:"follow",mode:"no-cors"}}).then((t=>t.json())).catch((t=>console.error(t))))}const J={STRVIY73X3V:"https://staging.samyakk.com",STRBXUH5UGQ:"https://www.samyakk.com"};function Z(t){var o,i;return null===t||void 0===t||null===(o=t.product_link)||void 0===o||null===(i=o.split(".com/"))||void 0===i?void 0:i[1]}function H(t){return J[t]}async function W(t,o){const i=H(o);return function(t){var o;const i=t;var n=[{id:i.id,product_id:i.id,title:i.name,price:i.price,currency_code:null!==(o=i.currency_code)&&void 0!==o?o:"INR",available:i.stock_status,option1:null,option2:null,option3:null}];return n=n.filter((t=>1==t.available)),{id:i.id,title:i.name,body_html:"",variants:n,options:[]}}(await fetch(i+"/rest/V2/get/product/"+Z(t),{method:"GET",headers:{redirect:"follow",mode:"no-cors"}}).then((t=>t.json())).catch((t=>console.error(t))))}const q={STRY2V4XO5L:"https://usqa.utsav.bz",STRTFEDEDAP:"https://www.utsavfashion.com"};function Q(t){var o,i;return null===t||void 0===t||null===(o=t.product_link)||void 0===o||null===(i=o.split("/product/"))||void 0===i?void 0:i[1]}function tt(t){return q[t]}function ot(t){var o;return null!==(o=c.get("currency_code"))&&void 0!==o?o:"USD"}async function it(t,o){const i=tt(o);return function(t){var o;const i=t.data.product_data;var n=[{id:i.product_id,product_id:i.product_id,title:i.product_title,price:i.price,available:"in_stock"==i.Stock_status,compare_at_price:i.mrp,currency_code:null!==(o=i.currency_code)&&void 0!==o?o:"INR",option1:null,option2:null,option3:null}];return n=n.filter((t=>1==t.available)),{id:i.product_id,title:i.product_title,body_html:"",options:[],variants:n,discount:i.discount_percentage}}(await fetch(i+"/rest/default/V1/utsav/product/detail?url=".concat(Q(t)),{method:"GET",headers:{redirect:"follow",mode:"no-cors"}}).then((t=>t.json())).then((t=>JSON.parse(t))).catch((t=>console.error(t))))}const nt={STRNV8MHJTF:"https://cart-pim.wforwoman.com/api/v1/whatmore",STR6HU283UZ:"https://cart-pim.wforwoman.com/api/v1/whatmore",STR9T3LLEJB:"https://cart-pim.wforwoman.com/api/v1/whatmore",STRWJMIOJNX:"https://cart-pim.wforwoman.com/api/v1/whatmore",STR1D5ONOZX:"https://cart-pim.wforwoman.com/api/v1/whatmore",STRUDQ36YAC:"https://cart-pim.wforwoman.com/api/v1/whatmore"},rt={STRNV8MHJTF:1,STR6HU283UZ:1,STR9T3LLEJB:5,STRWJMIOJNX:2,STR1D5ONOZX:4,STRUDQ36YAC:3},et=window.location.hostname.substring(10,4)+"_cart",ct=window.location.hostname.substring(10,4)+"_carts",at=window.location.hostname.substring(10,4)+"_curr";function ut(t){return t.product_link.match(/\/([^\/]+)\/?$/)[1].replace(".html","")}function dt(t){return rt[t]}function st(t){return nt[t]}function pt(t){var o;return null!==(o=c.get(at))&&void 0!==o?o:"INR"}async function lt(t,o){const i=st(o);return function(t){const o=t.data.product_data[0];var i=Object.entries(o.variation).map((t=>{const o=t[1],i=o.configrable_atribute_value;return{id:o.id_product,product_id:o.id_product,title:"",price:100*o.selling_price,compare_at_price:100*o.price,available:"in-stock"==o.stock_status,option1:i,option2:null,option3:null,options:[i]}}));const n=(i=i.filter((t=>1==t.available))).map((t=>t.option1));return{id:o.product_id,title:o.product_title,body_html:o.description,variants:i,options:n}}(await fetch(i+"/get-product?url_key="+ut(t)+"&store="+dt(o)+"¤cy="+pt(),{method:"GET"}).then((t=>t.json())).catch((t=>console.error(t))))}async function _t(t,o,i){const n=st(i),r=c.get(et),e=c.get(ct);var a={varient_id:t,qty:o,store:dt(i)};r&&e&&(a={varient_id:t,qty:o,store:dt(i),cart_id:r,cart_session:e});return await fetch(n+"/add-product",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(a)}).then((t=>t.json())).then((t=>(r||(c.set(et,t.data.cart_id,{expires:365}),c.set(ct,t.data.cart_session,{expires:365})),{ok:!0,status:200,json:function(){return{}}})))}const ht={STRJ5VPPT3U:"https://"+window.location.hostname,STR45JIP5JW:"https://"+window.location.hostname};function mt(t){return t.product_link.match(/\/([^\/]+)\/?$/)[1].replace(".html","")}function ft(t){return ht[t]}async function vt(t,o){const i=ft(o);return function(t){const o=t;null==o.variations&&(o.variations="no-variations");var i=Object.entries(o.variations.split(",")).map((t=>{const i=t[1];return{id:o.product_id+"::"+i,product_id:o.product_id,title:"",price:100*o.price,compare_at_price:100*o.mrp,available:!0,option1:i,option2:null,option3:null,options:[i]}}));const n=(i=i.filter((t=>1==t.available))).map((t=>t.option1));return{id:o.product_id,title:o.product_title,body_html:o.description,variants:i,options:n}}((await fetch(i+"/catalog/whatsmoreproducts?slug="+mt(t),{method:"GET"}).then((t=>t.json())).catch((t=>console.error(t)))).product_detail)}async function wt(t,o,i){const n=ft(i),r=t.split("::"),e=r[0],c=r.length>1?r[1]:"";return await fetch(n+"/cart/addtocart?productid="+e+("no-variations"!==c&&t?"&variation_value="+c:"")+"&qty="+o,{method:"GET"}).then((t=>t.json())).then((t=>({ok:!0,status:200,json:function(){return{}}})))}const yt="https://www.ninecolours.com";function St(t){const o=t.product_link.split("-");return o[o.length-1]}function Tt(t){return"STRNV8MHJTF"==t||"STR6HU283UZ"==t||"STR9T3LLEJB"==t||"STRWJMIOJNX"==t||"STRUDQ36YAC"==t||"STR1D5ONOZX"==t}function bt(t){return"STRRPY8YRZE"==t}function gt(t){return"STR5KA9X0OZ"==t||"STRR72TX6AT"==t}function Rt(t){return"STRMM0QP0CU"==t}function kt(t){return"STRJ5VPPT3U"==t||"STR45JIP5JW"==t}function jt(t){return"STRCGMYX28X"==t||"STRBG6F06XL"==t||"STR1QF8R1DW"==t}function Dt(t){return"STRK70X2OVV"==t||"STR3PNIYEZ6"==t}function Pt(t){return"STRVIY73X3V"==t||"STRBXUH5UGQ"==t}function Nt(t){return"STRGXL92H5M"==t}function Bt(t){return"STRY2V4XO5L"==t||"STRTFEDEDAP"==t}function Gt(t){return"STRDG36BBP5"==t||"STRI2XC0BMX"==t}async function Ct(t,o){if(Tt(o))return async function(t,o){const i=st(o);return function(t){const o=t.data.product_data[0];var i=Object.entries(o.variation).map((t=>{const o=t[1],i=o.configrable_atribute_value;return{id:o.id_product,product_id:o.id_product,title:"",price:o.selling_price,compare_at_price:o.price,available:"in-stock"==o.stock_status,option1:i,option2:null,option3:null}}));const n=(i=i.filter((t=>1==t.available))).map((t=>t.option1));return{product:{id:o.product_id,title:o.product_title,body_html:o.description,variants:i,images:[{id:o.product_id,product_id:o.product_id,position:1,src:o.thumbnail_image,variant_ids:[o.product_id]}],options:[{id:o.product_id,product_id:o.product_id,name:"Size",position:1,values:n}]}}}(await fetch(i+"/get-product?url_key="+ut(t)+"&store="+dt(o)+"¤cy="+pt(),{method:"GET"}).then((t=>t.json())).catch((t=>console.error(t))))}(t,o);if(bt(o))return async function(t,o){const i=D(o);return function(t){const o=t;var i=Object.entries(o.attributes[0].options).map(((t,i)=>{var n;return{id:(null!==(n=o.variations[i])&&void 0!==n?n:o.variations[0])+":"+o.id+":"+t[1],product_id:o.id,title:"",price:o.price,compare_at_price:o.price,available:"instock"===o.stock_status,option1:t[1],option2:null,option3:null}}));const n=i.map((t=>t.option1));return{product:{id:o.id,title:o.name,body_html:o.short_description,variants:i,images:[{id:o.images[0].id,product_id:o.id,position:1,src:o.images[0].src,variant_ids:[o.variations[0]]}],options:[{id:o.product_id,product_id:o.product_id,name:"Size",position:1,values:n}]}}}(await fetch(i+"/wp-json/wc/v3/products/"+j(t),{method:"GET",headers:{Authorization:"Basic "+k}}).then((t=>t.json())).catch((t=>console.error(t))))}(t,o);if(gt(o))return async function(t,o){function i(t){const o=t.data.product_data[0];var i=[{id:o.product_id,product_id:o.product_id,title:o.product_title,price:o.price,compare_at_price:o.mrp,currency_code:o.currency_code,available:!o.outOfStock,option1:null,option2:null,option3:null}];const n=(i=i.filter((t=>1==t.available))).map((t=>t.option1));return{product:{id:o.product_id,title:o.product_title,body_html:"",variants:i,images:[{id:o.product_id,product_id:o.product_id,position:1,src:o.thumbnail_image,variant_ids:[o.product_id]}],options:[{id:o.product_id,product_id:o.product_id,name:"Size",position:1,values:n}]}}}const n=b(o);return i(await fetch(n+"/productsv3api/getproductdetails/"+T(t),{method:"GET",headers:{redirect:"follow"}}).then((t=>t.json())).catch((t=>console.error(t))))}(t,o);if(Dt(o))return async function(t,o){function i(t){const o=t.data.product_data;var i=[{id:o.product_id,product_id:o.product_id,title:o.product_title,price:o.price,compare_at_price:o.mrp,currency_code:o.currency_code,available:!0,option1:null,option2:null,option3:null}];const n=(i=i.filter((t=>1==t.available))).map((t=>t.option1));return{product:{id:o.product_id,title:o.product_title,body_html:"",variants:i,images:[{id:o.product_id,product_id:o.product_id,position:1,src:o.thumbnail_image,variant_ids:[o.product_id]}],options:[{id:o.product_id,product_id:o.product_id,name:"Size",position:1,values:n}]}}}const n=V(o);return i(await fetch(n+"/productsv3api/Productdetails/index/sku/"+Y(t),{method:"GET",headers:{redirect:"follow"}}).then((t=>t.json())).catch((t=>console.error(t))))}(t,o);if(Rt(o))return async function(t,o){async function i(t){const i=t,n=i.extension_attributes.is_ready_to_ware,r=i.custom_attributes.reduce(((t,o,i)=>(t[o.attribute_code]=o.value,t)),{});async function e(){var t;return{product:{id:i.id,title:i.name,body_html:r.description,variants:[{id:"single_option::"+i.id,product_id:i.id,title:"",price:null!==(t=r.special_price)&&void 0!==t?t:i.price,compare_at_price:i.price,available:!0,option1:i.extension_attributes.stock_item.item_id,option2:null,option3:null}],images:[{id:i.id,product_id:i.id,position:1,src:"https://ik.imagekit.io/wb2spwtue/kreeva/tr:h-433,w-315,q-80,cm-pad_resize/media/catalog/product"+r.thumbnail,variant_ids:[i.id]}],options:[{id:i.product_id,product_id:i.product_id,name:"Size",position:1,values:[i.extension_attributes.stock_item.item_id]}]}}}if(0==n)return await e();if(!("ready_to_wear_sizes"in r))return await e();const c=await F(r.ready_to_wear_sizes,o),a=await L(t);return a?await async function(t,o){const n=t.map(((t,n)=>{var e;const c=i.extension_attributes.stock_item.item_id,a=t.split(":")[0],u=t.split(":")[1];return{id:"multi_option::"+i.id+":"+c+":"+u+":"+a+":"+o,product_id:i.id,title:"",price:null!==(e=r.special_price)&&void 0!==e?e:i.price,compare_at_price:i.price,available:!0,option1:u,option2:null,option3:null,options:null}})),e=t.map(((t,o)=>(t.split(":")[0],t.split(":")[1])));return{product:{id:i.id,title:i.name,body_html:r.description,variants:n,images:[{id:i.id,product_id:i.id,position:1,src:"https://ik.imagekit.io/wb2spwtue/kreeva/tr:h-433,w-315,q-80,cm-pad_resize/media/catalog/product"+r.thumbnail,variant_ids:[i.id]}],options:[{id:i.product_id,product_id:i.product_id,name:"Size",position:1,values:e}]}}}(c,a):await e()}const n=z(o),r=await fetch(n+"/rest/default/V1/products/"+I(t),{method:"GET",headers:{Authorization:"Bearer "+A}}).then((t=>t.json())).catch((t=>console.error(t)));return await i(r)}(t,o);if(kt(o))return async function(t,o){const i=ft(o);return function(t){const o=t;null==o.variations&&(o.variations="no-variations");var i=Object.entries(o.variations.split(",")).map((t=>{const i=t[1];return{id:o.product_id+"::"+i,product_id:o.product_id,title:"",price:o.price,compare_at_price:o.mrp,available:!0,option1:i,option2:null,option3:null}}));const n=(i=i.filter((t=>1==t.available))).map((t=>t.option1));return{product:{id:o.product_id,title:o.product_title,body_html:o.description,variants:i,images:[{id:o.product_id,product_id:o.product_id,position:1,src:o.thumbnail_image,variant_ids:[o.product_id]}],options:[{id:o.product_id,product_id:o.product_id,name:"Size",position:1,values:n}]}}}((await fetch(i+"/catalog/whatsmoreproducts?slug="+mt(t),{method:"GET"}).then((t=>t.json())).catch((t=>console.error(t)))).product_detail)}(t,o);if(jt(o))return async function(t,o){const i=v(o);return function(t){var o,i,n,r,e;const c=null===(o=t.products)||void 0===o?void 0:o[0];"options"in c&&0!=c.options.length||(c.options=[{product_option_id:"invalid",product_option_value:[{product_option_value_id:"invalid",option_value_id:"46",name:"invalid",image:"",quantity:"1",subtract:"1",price:"0.0000",price_prefix:"+",special_price:"0.0000",special_price_prefix:"+",weight:"0.00000000",weight_prefix:"+",sku:"8903568188345"}],option_id:"1",name:"invalid",type:"radio",value:"",required:"1"}]);var a=c.variants.map((t=>{var o,i;return{id:c.product_id+"::"+(null===t||void 0===t?void 0:t.product_option_id)+"::"+(null===t||void 0===t?void 0:t.product_option_value_id),product_id:c.product_id,title:null===t||void 0===t?void 0:t.title,price:null===(o=t.itemPrice)||void 0===o?void 0:o.netSellerPayable,compare_at_price:null===(i=t.itemPrice)||void 0===i?void 0:i.mrp,available:t.status&&t.live,option1:""==t.size?null:t.size,option2:null,option3:null}}));(a=a.filter((t=>1==t.available))).sort(((t,o)=>_[t.option1]-_[o.option1]));const u=a.map((t=>t.option1));return{product:{id:c.product_id,title:null===(i=c.variants)||void 0===i||null===(n=i[0])||void 0===n?void 0:n.title,body_html:c.short_description,variants:a,images:[{id:c.product_id,product_id:c.product_id,position:1,src:null===(r=c.variants)||void 0===r||null===(e=r[0])||void 0===e?void 0:e.imageUrl,variant_ids:[c.product_id]}],options:[{id:c.product_id,product_id:c.product_id,name:"Size",position:1,values:u}]}}}(await fetch(i+"/kartify/products?skus=".concat(f(t)),{headers:{[m]:await h(o)}}).then((t=>t.json())).catch((t=>console.error(t))))}(t,o);if(Pt(o))return async function(t,o){const i=H(o);return function(t){var o;const i=t;var n=[{id:i.id,product_id:i.id,title:i.name,price:i.price,currency_code:null!==(o=i.currency_code)&&void 0!==o?o:"INR",available:i.stock_status,option1:null,option2:null,option3:null}];return n=n.filter((t=>1==t.available)),{product:{id:i.id,title:i.name,body_html:"",variants:n,images:[],options:[]}}}(await fetch(i+"/rest/V2/get/product/"+Z(t),{method:"GET",headers:{redirect:"follow"}}).then((t=>t.json())).catch((t=>console.error(t))))}(t,o);if(Nt(o))return async function(t,o){const i=C(o);return function(t){const o=null===t||void 0===t?void 0:t[0],i=[{id:o.product_id,product_id:o.product_id,title:o.product_title,price:o.price,available:"in_stock"==o.stock_status,compare_at_price:o.mrp,option1:null,option2:null,option3:null}];return{product:{id:o.product_id,title:o.product_title,body_html:o.description,variants:i,images:[{id:o.product_id,product_id:o.product_id,position:1,src:o.thumbnail_image,variant_ids:[]}],options:[]}}}(await fetch(i+"/api/WebsiteMaster/test/Whatmore-product-detail",{method:"POST",body:JSON.stringify({product_id:t.product_id}),headers:{"Content-Type":"application/json",Authorization:"Bearer ".concat(await G())}}).then((t=>t.json())).catch((t=>console.error(t))))}(t,o);if(Bt(o))return async function(t,o){const i=tt(o);return function(t){var o;const i=t.data.product_data;var n=[{id:i.product_id,product_id:i.product_id,title:i.product_title,price:i.price,available:"in_stock"==i.Stock_status,compare_at_price:i.mrp,currency_code:null!==(o=i.currency_code)&&void 0!==o?o:"INR",option1:null,option2:null,option3:null}];return n=n.filter((t=>1==t.available)),{product:{id:i.product_id,title:i.product_title,body_html:"",variants:n,images:[{id:i.product_id,product_id:i.product_id,position:1,src:i.thumbnail_image,variant_ids:[i.product_id]}],options:[]}}}(await fetch(i+"/rest/default/V1/utsav/product/detail?url=".concat(Q(t)),{method:"GET",headers:{redirect:"follow"}}).then((t=>t.json())).then((t=>JSON.parse(t))).catch((t=>console.error(t))))}(t,o);if(Gt(o))return async function(t,o){const i=s(o);return function(t){const o=t.data.product_data;var i=[{id:o.product_id,product_id:o.product_id,title:o.product_title,price:o.price,compare_at_price:o.mrp,currency_code:o.currency_code,available:"in_stock"==o.stock_status,option1:null,option2:null,option3:null}];const n=(i=i.filter((t=>1==t.available))).map((t=>t.option1));return{product:{id:o.product_id,title:o.product_title,body_html:"",variants:i,images:[{id:o.product_id,product_id:o.product_id,position:1,src:o.thumbnail_image,variant_ids:[o.product_id]}],options:[{id:o.product_id,product_id:o.product_id,name:"Size",position:1,values:n}]}}}(await fetch("".concat(i,"/whatmore/index/index/?url=").concat(u(t)).concat(null==d()?"¤cy_code=GBP":"¤cy_code="+d()),{method:"GET",headers:{redirect:"follow"}}).then((t=>t.json())).catch((t=>console.error(t))))}(t,o);if("STRGA3S8N41"==o){function i(t){const o=t.data.product_data[0];return{product:{id:o.product_id,title:o.product_title,body_html:o.description,variants:[{id:o.product_id,product_id:o.product_id,title:o.product_title,price:o.price,compare_at_price:o.mrp,currency_code:o.currency_code,option1:"variant-1",option2:null,option3:null}],images:[{id:o.product_id,product_id:o.product_id,position:1,src:o.thumbnail_image[0],variant_ids:[o.product_id]}]}}}const n=yt;return i(await fetch(n+"/whatmore-productfetch",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({product_code:St(t)})}).then((t=>t.json())).catch((t=>console.error(t))))}return{}}async function Ut(t,o){if(Tt(o))return lt(t,o);if(bt(o))return P(t,o);if(gt(o))return g(t,o);if(Dt(o))return K(t,o);if(Rt(o))return X(t,o);if(kt(o))return vt(t,o);if(jt(o))return w(t,o);if(Pt(o))return W(t,o);if(Nt(o))return U(t,o);if(Bt(o))return it(t,o);if(Gt(o))return p(t,o);if("STRGA3S8N41"==o){function i(t){const o=t.data.product_data[0];return{id:o.product_id,title:o.product_title,body_html:o.description,variants:[{id:o.product_id,title:"variant-1",option1:"variant-1",option2:null,option3:null,available:!0,price:o.price,compare_at_price:o.mrp,currency_code:o.currency_code,options:["variant-1"]}],options:[{name:"variant",position:1,values:["variant-1"]}]}}const n=yt;return i(await fetch(n+"/whatmore-productfetch",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({product_code:St(t)})}).then((t=>t.json())).catch((t=>console.error(t))))}return{}}async function Ot(t,o,i){if(Tt(i))return await _t(t,o,i);if(bt(i))return await N(t,o,i);if(Rt(i))return x(t,o,i);if(kt(i))return wt(t,o,i);if(jt(i))return y(t,o,i);if("STRGA3S8N41"==i){const i=yt;return await fetch(i+"/whatmore-addtocart ",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({product_id:t,qty:o})})}return{}}async function Et(t,o,i){if(Tt(i))return async function(t,o,i){await _t(t,o,i);const r="https://"+window.location.hostname;var e;e=(0,n.lj5)(i)?"".concat(r,"/checkout")+"?"+(0,n.awP)(i)+"&"+(0,n.n9s)(i)+"&"+(0,n.Uch)(i):"".concat(r,"/checkout"),window.location.href=e}(t,o,i);if(bt(i))return async function(t,o,i){await N(t,o,i);const r="https://"+window.location.hostname;var e;e=(0,n.lj5)(i)?"".concat(r,"/cart")+"?"+(0,n.awP)(i)+"&"+(0,n.n9s)(i)+"&"+(0,n.Uch)(i):"".concat(r,"/cart"),window.location.href=e}(t,o,i);if(Rt(i))return async function(t,o,i){await x(t,o,i);const r="https://"+window.location.hostname;var e;e=(0,n.lj5)(i)?"".concat(r,"/checkout/cart")+"?"+(0,n.awP)(i)+"&"+(0,n.n9s)(i)+"&"+(0,n.Uch)(i):"".concat(r,"/checkout/cart"),window.location.href=e}(t,o,i);if(kt(i))return async function(t,o,i){await wt(t,o,i);const r="https://"+window.location.hostname;var e;e=(0,n.lj5)(i)?"".concat(r,"/checkout")+"?"+(0,n.awP)(i)+"&"+(0,n.n9s)(i)+"&"+(0,n.Uch)(i):"".concat(r,"/checkout"),window.location.href=e}(t,o,i);if(jt(i))return async function(t,o,i){await y(t,o,i);const r="https://"+window.location.hostname;var e;e=(0,n.lj5)(i)?"".concat(r,"/checkout")+"?"+(0,n.awP)(i)+"&"+(0,n.n9s)(i)+"&"+(0,n.Uch)(i):"".concat(r,"/checkout"),window.location.href=e}(t,o,i);if("STRGA3S8N41"==i){await Ot(t,o,i);const e="https://"+window.location.hostname;var r;r=(0,n.lj5)(i)?"".concat(e,"/cart")+"?"+(0,n.awP)(i)+"&"+(0,n.n9s)(i)+"&"+(0,n.Uch)(i):"".concat(e,"/cart"),window.location.href=r}return{}}async function Mt(t){if(Tt(t))return async function(t){const o="https://"+window.location.hostname;var i;i=(0,n.lj5)(t)?"".concat(o,"/cart")+"?"+(0,n.awP)(t)+"&"+(0,n.n9s)(t)+"&"+(0,n.Uch)(t):"".concat(o,"/cart"),window.location.href=i}(t);if(bt(t))return async function(t){const o="https://"+window.location.hostname;var i;i=(0,n.lj5)(t)?"".concat(o,"/cart")+"?"+(0,n.awP)(t)+"&"+(0,n.n9s)(t)+"&"+(0,n.Uch)(t):"".concat(o,"/cart"),window.location.href=i}(t);if(Rt(t))return async function(t){const o="https://"+window.location.hostname;var i;i=(0,n.lj5)(t)?"".concat(o,"/checkout/cart")+"?"+(0,n.awP)(t)+"&"+(0,n.n9s)(t)+"&"+(0,n.Uch)(t):"".concat(o,"/checkout/cart"),window.location.href=i}(t);if(kt(t))return async function(t){const o="https://"+window.location.hostname;var i;i=(0,n.lj5)(t)?"".concat(o,"/cart")+"?"+(0,n.awP)(t)+"&"+(0,n.n9s)(t)+"&"+(0,n.Uch)(t):"".concat(o,"/cart"),window.location.href=i}(t);if(jt(t))return async function(t){const o="https://"+window.location.hostname;var i;i=(0,n.lj5)(t)?"".concat(o,"/cart")+"?"+(0,n.awP)(t)+"&"+(0,n.n9s)(t)+"&"+(0,n.Uch)(t):"".concat(o,"/cart"),window.location.href=i}(t);if("STRGA3S8N41"==t){const i="https://"+window.location.hostname;var o;o=(0,n.lj5)(t)?"".concat(i,"/cart")+"?"+(0,n.awP)(t)+"&"+(0,n.n9s)(t)+"&"+(0,n.Uch)(t):"".concat(i,"/cart"),window.location.href=o}return{}}function At(t){if(Tt(t))return function(t){const o=c.get(et),i=st(t);return fetch(i+"/get-cart",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({cart_id:o})}).then((t=>t.json())).then((t=>({json:function(){return{item_count:t.data.item_count}}})))}(t);if(bt(t))return function(t){const o=D(t);return fetch(o+"/wp-json/wc/v3/cart`",{method:"GET",headers:{Authorization:"Basic "+k}}).then((t=>t.json())).then((t=>({json:function(){var o;return{item_count:null!==(o=t.data.item_count)&&void 0!==o?o:0}}})))}(t);if(Rt(t))return function(t){const o=z(t);return fetch(o+"/wp-json/wc/v3/cart`",{method:"GET",headers:{Authorization:"Basic "+A}}).then((t=>t.json())).then((t=>({json:function(){var o;return{item_count:null!==(o=t.data.item_count)&&void 0!==o?o:0}}})))}(t);if(kt(t))return Promise.resolve({json:function(){return{item_count:0}}});if(jt(t))return Promise.resolve({json:function(){return{item_count:0}}});if("STRGA3S8N41"==t){return fetch(yt+"/whatmore-cartcount ",{method:"GET",headers:{"Content-Type":"application/json"}})}return{}}async function It(t,o,i){if(Tt(i))return async function(t,o){const i=await lt(t,o);return{price:i.variants[0].price/100,compare_at_price:i.variants[0].compare_at_price/100,currency_code:pt()}}(t,i);if(bt(i))return async function(t,o){const i=await P(t,o);return{price:i.variants[0].price/100,compare_at_price:i.variants[0].compare_at_price/100,currency_code:"INR"}}(t,i);if(Rt(i))return async function(t,o){const i=await X(t,o);return{price:i.variants[0].price/100,compare_at_price:i.variants[0].compare_at_price/100,currency_code:"INR"}}(t,i);if(kt(i))return async function(t,o){const i=await vt(t,o);return{price:i.variants[0].price/100,compare_at_price:i.variants[0].compare_at_price/100,currency_code:"INR"}}(t,i);if(gt(i))return async function(t,o){const i=await g(t,o);return{price:i.variants[0].price/100,compare_at_price:i.variants[0].compare_at_price/100,currency_code:i.variants[0].currency_code}}(t,i);if(Dt(i))return async function(t,o){const i=await K(t,o);return{price:i.variants[0].price/100,compare_at_price:i.variants[0].compare_at_price/100,currency_code:i.variants[0].currency_code}}(t,i);if(jt(i))return async function(t,o){var i,n,r,e;const c=await w(t,o);return{price:null===(i=c.variants[0])||void 0===i||null===(n=i.itemPrice)||void 0===n?void 0:n.netSellerPayable,compare_at_price:null===(r=c.variants[0])||void 0===r||null===(e=r.itemPrice)||void 0===e?void 0:e.mrp,currency_code:"INR"}}(t,i);if(Pt(i))return async function(t,o){var i,n,r,e;const c=await W(t,o);return{price:null===(i=c.variants)||void 0===i||null===(n=i[0])||void 0===n?void 0:n.price,compare_at_price:null,currency_code:null===(r=c.variants)||void 0===r||null===(e=r[0])||void 0===e?void 0:e.currency_code}}(t,i);if(Nt(i))return async function(t,o){var i,n;const r=await U(t,o);return{price:null===(i=r.variants[0])||void 0===i?void 0:i.price,compare_at_price:null===(n=r.variants[0])||void 0===n?void 0:n.compare_at_price,currency_code:r.currency_code}}(t,i);if(Bt(i))return async function(t,o){var i,n,r,e;const c=await it(t,o);return{price:null===(i=c.variants)||void 0===i||null===(n=i[0])||void 0===n?void 0:n.price,compare_at_price:null===(r=c.variants)||void 0===r||null===(e=r[0])||void 0===e?void 0:e.compare_at_price,currency_code:ot(),discount:c.discount}}(t,i);if(Gt(i))return async function(t,o){const i=await p(t,o);return{price:i.variants[0].price,compare_at_price:i.variants[0].compare_at_price,currency_code:i.variants[0].currency_code}}(t,i);if("STRGA3S8N41"==i){const o=await Ut(t,i);return{price:o.variants[0].price,compare_at_price:o.variants[0].compare_at_price,currency_code:o.variants[0].currency_code}}return{}}},6040:function(t,o,i){const n=i(500);t.exports=function(t){if("string"!==typeof t)return;const o=t.toUpperCase();return Object.prototype.hasOwnProperty.call(n,o)?n[o]:void 0},t.exports.currencySymbolMap=n},500:function(t){t.exports={AED:"\u062f.\u0625",AFN:"\u060b",ALL:"L",AMD:"\u058f",ANG:"\u0192",AOA:"Kz",ARS:"$",AUD:"$",AWG:"\u0192",AZN:"\u20bc",BAM:"KM",BBD:"$",BDT:"\u09f3",BGN:"\u043b\u0432",BHD:".\u062f.\u0628",BIF:"FBu",BMD:"$",BND:"$",BOB:"$b",BOV:"BOV",BRL:"R$",BSD:"$",BTC:"\u20bf",BTN:"Nu.",BWP:"P",BYN:"Br",BYR:"Br",BZD:"BZ$",CAD:"$",CDF:"FC",CHE:"CHE",CHF:"CHF",CHW:"CHW",CLF:"CLF",CLP:"$",CNH:"\xa5",CNY:"\xa5",COP:"$",COU:"COU",CRC:"\u20a1",CUC:"$",CUP:"\u20b1",CVE:"$",CZK:"K\u010d",DJF:"Fdj",DKK:"kr",DOP:"RD$",DZD:"\u062f\u062c",EEK:"kr",EGP:"\xa3",ERN:"Nfk",ETB:"Br",ETH:"\u039e",EUR:"\u20ac",FJD:"$",FKP:"\xa3",GBP:"\xa3",GEL:"\u20be",GGP:"\xa3",GHC:"\u20b5",GHS:"GH\u20b5",GIP:"\xa3",GMD:"D",GNF:"FG",GTQ:"Q",GYD:"$",HKD:"$",HNL:"L",HRK:"kn",HTG:"G",HUF:"Ft",IDR:"Rp",ILS:"\u20aa",IMP:"\xa3",INR:"\u20b9",IQD:"\u0639.\u062f",IRR:"\ufdfc",ISK:"kr",JEP:"\xa3",JMD:"J$",JOD:"JD",JPY:"\xa5",KES:"KSh",KGS:"\u043b\u0432",KHR:"\u17db",KMF:"CF",KPW:"\u20a9",KRW:"\u20a9",KWD:"KD",KYD:"$",KZT:"\u20b8",LAK:"\u20ad",LBP:"\xa3",LKR:"\u20a8",LRD:"$",LSL:"M",LTC:"\u0141",LTL:"Lt",LVL:"Ls",LYD:"LD",MAD:"MAD",MDL:"lei",MGA:"Ar",MKD:"\u0434\u0435\u043d",MMK:"K",MNT:"\u20ae",MOP:"MOP$",MRO:"UM",MRU:"UM",MUR:"\u20a8",MVR:"Rf",MWK:"MK",MXN:"$",MXV:"MXV",MYR:"RM",MZN:"MT",NAD:"$",NGN:"\u20a6",NIO:"C$",NOK:"kr",NPR:"\u20a8",NZD:"$",OMR:"\ufdfc",PAB:"B/.",PEN:"S/.",PGK:"K",PHP:"\u20b1",PKR:"\u20a8",PLN:"z\u0142",PYG:"Gs",QAR:"\ufdfc",RMB:"\uffe5",RON:"lei",RSD:"\u0414\u0438\u043d.",RUB:"\u20bd",RWF:"R\u20a3",SAR:"\ufdfc",SBD:"$",SCR:"\u20a8",SDG:"\u062c.\u0633.",SEK:"kr",SGD:"S$",SHP:"\xa3",SLL:"Le",SOS:"S",SRD:"$",SSP:"\xa3",STD:"Db",STN:"Db",SVC:"$",SYP:"\xa3",SZL:"E",THB:"\u0e3f",TJS:"SM",TMT:"T",TND:"\u062f.\u062a",TOP:"T$",TRL:"\u20a4",TRY:"\u20ba",TTD:"TT$",TVD:"$",TWD:"NT$",TZS:"TSh",UAH:"\u20b4",UGX:"USh",USD:"$",UYI:"UYI",UYU:"$U",UYW:"UYW",UZS:"\u043b\u0432",VEF:"Bs",VES:"Bs.S",VND:"\u20ab",VUV:"VT",WST:"WS$",XAF:"FCFA",XBT:"\u0243",XCD:"$",XOF:"CFA",XPF:"\u20a3",XSU:"Sucre",XUA:"XUA",YER:"\ufdfc",ZAR:"R",ZMW:"ZK",ZWD:"Z$",ZWL:"$"}},6143:function(){}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[364],{8675:function(t,e,n){n.d(e,{Z:function(){return v}});var i,o,r=n(3271),l=n(5098),a=n(7313),s=n(9821),d=n(2634),c=n(5180),h=n(168),p=n(686);const x=(0,p.F4)(i||(i=(0,h.Z)(["\n 0% {\n transform: scale(1);\n }\n 100% {\n transform: scale(1.05);\n }\n"]))),m=(0,p.F4)(o||(o=(0,h.Z)(["\n 0% {\n transform: scale(1.05);\n }\n 100% {\n transform: scale(1);\n }\n"]))),f="\n ".concat(x,"; \n infinite;\n animation-duration:0.2s; \n animation-direction: linear ;\n animation-timing-function: ease-in;\n animation-fill-mode: forwards;\n"),g="\n ".concat(m,"; \n infinite;\n animation-duration:0.2s; \n animation-direction: linear ;\n animation-timing-function: ease-in;\n animation-fill-mode: forwards;\n");var u=n(7753),w=n(7129),y=n(6417);var v=function(t){var e,n,[i,o]=(0,s.Z)();const[h]=(0,u.j1)("whatmorePrimaryFont");var p=(0,a.useContext)(w.V);const x=t.event,m=t.onClick,v=null===(e=t.isOnFocus)||void 0===e||e,j=(t.playOnUnfocus,null!==(n=t.animateOnFocus)&&void 0!==n&&n);return(0,y.jsxs)(r.xu,{animation:j?v?f:g:"none",marginTop:p.tileTopMargin,marginBottom:p.tileBottomMMargin,marginLeft:p.tileLeftMargin,marginRight:p.tileRightMargin,width:o,height:i,borderRadius:"lg",sx:{boxShadow:"0px 0px 10px 3px #B0B0B0"},overflow:"hidden",onClick:()=>{m(x)},cursor:"pointer",children:[(0,y.jsx)(l.Ee,{width:"full",height:"full",src:x.thumbnail_image,objectFit:"cover",fallback:(0,y.jsx)(c.Z,{width:o,height:i}),borderRadius:"lg"}),(0,y.jsx)(r.xu,{style:{position:"relative",zIndex:1,bottom:"100%",overflow:"hidden"},width:"full",height:"full",borderRadius:"lg",overflow:"hidden",className:"whatmore-ios-css-relative-fix",children:(0,y.jsxs)(r.Kq,{direction:"column",height:"full",width:"full",justifyContent:"space-between",children:[(0,y.jsx)(r.xu,{w:"100%",borderRadius:"lg",bgGradient:"linear(to-t, transparent, blackAlpha.200, blackAlpha.400, blackAlpha.600)",children:(0,y.jsx)(r.Kq,{direction:"column",justifyContent:"flex-start",children:(0,y.jsx)(r.xu,{width:"100%",marginLeft:"5px",marginRight:"5px",marginTop:"10px",children:(0,y.jsx)(r.Kq,{direction:"row",justifyContent:"space-between",children:(0,y.jsx)(d.Z,{event:x,fontSize:.05*i+"px",maxWidth:.8*o})})})})}),(0,y.jsx)(r.xu,{w:"100%",borderRadius:"lg",bgGradient:"linear(to-b, transparent, blackAlpha.300, blackAlpha.400, blackAlpha.500, blackAlpha.600)",children:(0,y.jsx)(r.Kq,{direction:"column",width:"full",height:"full",justifyContent:"flex-end",alignContent:"center",children:(0,y.jsx)(r.xu,{width:"full",borderRadius:"lg",children:(0,y.jsxs)(r.Kq,{direction:"column",justifyContent:"space-between",alignContent:"flex-start",marginLeft:"5px",marginRight:"5px",marginBottom:"2px",children:[(0,y.jsx)(r.xv,{color:"white",fontSize:.08*o+"px",fontWeight:"normal",align:"left",children:" "}),(0,y.jsx)(r.xv,{fontSize:.08*o+"px",fontWeight:"normal",align:"left",sx:{fontFamily:h+" !important",color:"white !important"},children:x.title.substring(0,40)}),(0,y.jsx)(r.xv,{fontSize:.08*o+"px",fontWeight:"bold",align:"left",sx:{fontFamily:h+" !important",color:"white !important"},children:x.presenter_name.substring(0,15)})]})})})})]})})]})}},2634:function(t,e,n){var i=n(3271),o=n(4897),r=n(499),l=n(6417);e.Z=function(t){var e,n=t.event,a=t.fontSize,s=null!==(e=t.maxWidth)&&void 0!==e?e:"100%",{status:d,bannerText:c,timeToStartInMins:h}=o.Z.getEventStatus(n);return d.name===r.Z.LIVE.name?(0,l.jsx)(i.xu,{maxWidth:s,width:"fit-content",borderRadius:"md",paddingLeft:"2px",paddingRight:"2px",backgroundColor:"tomato",color:d.color,children:(0,l.jsx)(i.Kq,{direction:"row",justifyContent:"flex-start",width:"fit-content",alignContent:"center",paddingLeft:"2px",paddingRight:"2px",children:(0,l.jsx)(i.xv,{fontSize:a,fontWeight:"bold",color:"white",children:c})})}):(0,l.jsx)(i.xu,{maxWidth:s,borderRadius:"md",paddingLeft:"2px",paddingRight:"2px",backgroundColor:"white",color:d.color,children:(0,l.jsx)(i.Kq,{direction:"row",justifyContent:"flex-start",width:"fit-content",alignContent:"center",children:(0,l.jsx)(i.xv,{fontSize:a,fontWeight:"medium",children:c})})})}},1092:function(t,e,n){var i=n(237),o=n(9854),r=n(7753),l=n(9039),a=n(7313),s=n(6417);function d(t){return t<1e3?t:t<1e5?(t/1e3).toFixed(0)+"K":(t/1e5).toFixed(0)+"L"}e.Z=function(t){const{whatmoreUITheme:e}=(0,a.useContext)(l.I),n=(0,r.MO)("whatmoreShopId"),c=(0,r.MO)("whatmorePrimaryFont"),h=t.event,p=t.fontSize;if(h.total_views<=0)return(0,s.jsx)(s.Fragment,{});const x=(0,o.S_M)(n);return"template-icon"==x?(0,s.jsx)(s.Fragment,{children:(0,s.jsx)("div",{style:{width:"fit-content",padding:"2px",paddingLeft:"6px",paddingRight:"6px",backgroundColor:(0,o.XCH)(n),color:"white",borderRadius:"round"==e?"5px":"0px",borderWidth:(0,o.alU)(n),borderColor:(0,o.qPe)(n)},children:(0,s.jsxs)("div",{style:{display:"flex",flexFlow:"row nowrap",justifyContent:"center",gap:"3px",alignItems:"center"},children:[(0,s.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center"},children:(0,s.jsx)(i.Z,{sx:{color:(0,o.aLw)(n)+" !important",fontSize:p,fontWeight:"normal"}})}),(0,s.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center"},children:(0,s.jsx)("p",{ref:t=>{t&&(t.style.setProperty("color",(0,o.aLw)(n),"important"),t.style.setProperty("line-height","120%","important"),t.style.setProperty("font-family",c,"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:" "+d(h.total_views)+" "})})]})})}):"template-text"==x?(0,s.jsx)(s.Fragment,{children:(0,s.jsx)("div",{style:{width:"fit-content",padding:"2px",paddingLeft:"6px",paddingRight:"6px",backgroundColor:(0,o.XCH)(n),color:"white",borderRadius:"round"==e?"5px":"0px",borderWidth:(0,o.alU)(n),borderColor:(0,o.qPe)(n)},children:(0,s.jsx)("div",{style:{display:"flex",flexFlow:"row nowrap",justifyContent:"center",gap:"3px",alignItems:"center"},children:(0,s.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center"},children:(0,s.jsx)("p",{ref:t=>{t&&(t.style.setProperty("color",(0,o.aLw)(n),"important"),t.style.setProperty("line-height","120%","important"),t.style.setProperty("font-family",c,"important"))},style:{fontSize:p,fontWeight:"bold"},children:" "+d(h.total_views)+" views"})})})})}):void 0}},7129:function(t,e,n){n.d(e,{V:function(){return i}});const i=(0,n(7313).createContext)({tileTopMargin:10,tileBottomMMargin:10,tileLeftMargin:10,tileRightMargin:10,showPlayButton:!0})},4920:function(t,e,n){n.d(e,{Z:function(){return b}});var i=n(7313),o=n(9821),r=(n(3439),n(9723)),l=n(7753),a=n(4892),s=n(7129),d=n(6805),c=n(9854),h=n(1092),p=n(5945),x=n(9039),m=n(9363),f=n(6417);var g=function(t){var[e,n]=(0,o.Z)();const{whatmoreUITheme:r}=(0,i.useContext)(x.I),[a]=(0,l.j1)("whatmorePrimaryFont"),[s,d]=(0,i.useState)(0),h=(0,l.MO)("whatmoreShopId"),g=t.event;if(0==g.products.length)return(0,f.jsx)(f.Fragment,{});const u=.3*n,w=u+"px",y=u+"px",v=.07*n+"px";return(0,f.jsx)("div",{style:{width:n+"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,f.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,f.jsx)("div",{ref:t=>{t&&t.style.setProperty("height",y,"important")},style:{width:w,boxShadow:"round"==r?"0px 0px 5px 2px #B0B0B0":null,borderRadius:"round"==r?"5px":"0px",borderWidth:(0,c.alU)(h),borderColor:(0,c.qPe)(h),overflow:"hidden",backgroundColor:"rgb(220, 220, 220, 1)"},children:(0,f.jsx)("img",{ref:t=>{t&&t.style.setProperty("object-fit",(0,c.yOX)(h),"important")},src:(0,m.s)(g.products[s].thumbnail_image,"&width=".concat(400,"&height=",400)),style:{width:"100%",height:"100%",borderRadius:"round"==r?"5px":"0px"},alt:"product image"})}),(0,f.jsx)("div",{style:{width:n-5-u+"px",height:y,borderRadius:"round"==r?"5px":"0px",overflow:"visible"},children:(0,f.jsx)("div",{style:{display:"flex",flexFlow:"column nowrap",width:"fit-content",height:"100%",justifyContent:"center",alignItems:"center"},children:(0,f.jsx)("p",{ref:t=>{t&&(t.style.setProperty("color","white","important"),t.style.setProperty("font-size",v,"important"),t.style.setProperty("line-height","120%","important"),t.style.setProperty("font-family",a,"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,p.s)(g.products[s].title)})})})]},s)})},u=n(3933),w=n(8984);function y(t){var e,[n,a]=(0,o.Z)();const[d]=(0,l.j1)("whatmoreShopId"),[h,p,x]=(0,u.YD)({triggerOnce:!0});var m=(0,i.useContext)(s.V);const y=t.event,v=null!==(e=t.unfocusedDisplay)&&void 0!==e&&e,j=.5*a,b=(0,w.gE)()?t.isOnFocus:p;return(0,f.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,f.jsxs)("div",{style:{display:"flex",flexFlow:"column nowrap",justifyContent:"space-between",alignItems:"center",height:"100%",width:"100%"},children:[(0,f.jsx)("div",{className:"whatmore-event-tile-component-fade-in-animation",children:(0,f.jsx)("p",{children:" "})}),m.showPlayButton&&!v?(0,f.jsx)("div",{style:{position:"relative",top:"10%",overflow:"hidden",marginLeft:"5px",marginRight:"5px",width:"100%"},children:(0,f.jsx)("div",{style:{display:"flex",flexFlow:"row nowrap",justifyContent:"center",alignItems:"center"},children:(0,f.jsx)("div",{className:"whatmore-event-tile-component-fade-in-animation",children:"video"==y.event_type&&(0,f.jsx)(r.Z,{sx:{color:(0,c.Ya_)(d)+" !important",opacity:.8,fontSize:j,filter:"drop-shadow(0 0 15px black);"}})})})}):(0,f.jsx)(f.Fragment,{}),(0,f.jsx)("div",{ref:h,children:b&&(0,c.PWD)(d)?(0,f.jsx)("div",{className:"whatmore-event-tile-component-fade-in-animation",children:(0,f.jsx)(g,{event:y})}):(0,f.jsx)("div",{height:"20px"})})]})})}function v(t){var[e,n]=(0,o.Z)();const[i]=(0,l.j1)("whatmorePrimaryFont"),r=t.event;return r.title.trim().length?(0,f.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,f.jsx)("div",{style:{display:"flex",flexFlow:"column nowrap",justifyContent:"flex-end",alignContent:"center",width:"100%",height:"100%"},children:(0,f.jsx)("div",{style:{width:"100%",padding:"2px"},children:(0,f.jsxs)("div",{style:{display:"flex",flexFlow:"column nowrap",justifyContent:"space-between",alignItems:"flex-start",marginLeft:"5px",marginRight:"5px",marginBottom:"2px"},children:[(0,f.jsx)("p",{style:{color:"white",fontSize:.08*n+"px",fontWeight:"normal",textAlign:"left"},children:" "}),(0,f.jsx)("p",{ref:t=>{t&&t.style.setProperty("font-family",i,"important")},style:{color:"white",fontSize:.08*n+"px",fontWeight:"normal",textAlign:"left"},children:r.title.substring(0,60)})]})})})}):(0,f.jsx)(f.Fragment,{})}function j(t){const[e,n,i,r,a]=(0,o.Z)(),[s]=(0,l.j1)("whatmoreShowViews"),p=(0,l.MO)("whatmoreShopId"),x=t.event,m=t.isOnFocus;return(0,f.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,f.jsxs)("div",{style:{display:"flex",flexFlow:"column nowrap",width:"100%",height:"100%",justifyContent:"space-between",alignItems:"center"},children:[(0,f.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,f.jsx)("div",{style:{display:"flex",flexFlow:"column nowrap",justifyContent:"flex-start",alignItems:"center"},children:"show"===s&&"show"===(0,c.qcC)(p)?(0,f.jsx)("div",{style:{width:"100%",marginLeft:"5px",marginRight:"5px",marginTop:"10px"},children:(0,f.jsx)("div",{style:{display:"flex",flexFlow:"row nowrap",paddingLeft:"5px",width:"fit-content",height:"fit-content",justifyContent:"space-between",alignItems:"center"},children:(0,f.jsx)(h.Z,{event:x,fontSize:.07*n+"px"})})}):(0,f.jsx)(f.Fragment,{})})}),d.$w===a[d.YP]?(0,f.jsx)(f.Fragment,{}):m?(0,f.jsx)("div",{className:"whatmore-event-tile-component-fade-out-animation",children:(0,f.jsx)(v,{event:x})}):(0,f.jsx)("div",{className:"whatmore-event-tile-component-fade-in-animation",children:(0,f.jsx)(v,{event:x})})]})})}var b=function(t){var e,n,r;const[h,p,m,g,u]=(0,o.Z)();var v=(0,i.useContext)(s.V);const{whatmoreUITheme:b}=(0,i.useContext)(x.I),C=(0,l.MO)("whatmoreShopId"),P=t.event,F=t.onClick,I=null===(e=t.isOnFocus)||void 0===e||e,k=null!==(n=t.playOnUnfocus)&&void 0!==n&&n,R=null!==(r=t.animateOnFocus&&(0,c.iWI)(C))&&void 0!==r&&r,S=(0,c.nzC)(C);return(0,f.jsxs)("div",{ref:t=>{t&&(t.style.setProperty("margin-top",v.tileTopMargin+"px","important"),t.style.setProperty("margin-bottom",v.tileBottomMMargin+"px","important"))},style:{margin:"0 auto",width:p,height:h,borderRadius:"round"==b?"5px":"0px",boxShadow:"round"==b?S:null,borderWidth:(0,c.alU)(C),borderColor:(0,c.qPe)(C),overflow:"hidden",cursor:"pointer"},className:R?I?"whatmore-event-tile-scale-out-animation":"whatmore-event-tile-scale-in-animation":"none",onClick:()=>{F(P)},children:[(0,f.jsx)(a.Z,{height:"100%",width:"100%",url:P.thumbnail_image,isPlaying:I||k||(0,w.gE)(),event:P}),(0,f.jsxs)("div",{style:{width:p,height:h},children:[(0,f.jsx)(j,{event:P,isOnFocus:I}),I||d.$w===u[d.YP]?(0,f.jsx)(y,{event:P,unfocusedDisplay:!I,isOnFocus:I}):null]})]})}},9363:function(t,e,n){n.d(e,{s:function(){return r}});var i=n(9854),o=n(7753);function r(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const n=(0,o.MO)("whatmoreShopId");return"shopify"!=(0,i.Ipo)(n)?"STRNV8MHJTF"==n?t+"?format=webp":t:t+e}},9723:function(t,e,n){var i=n(5318);e.Z=void 0;var o=i(n(5045)),r=n(6417),l=(0,o.default)((0,r.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");e.Z=l},237:function(t,e,n){var i=n(5318);e.Z=void 0;var o=i(n(5045)),r=n(6417),l=(0,o.default)((0,r.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");e.Z=l},3439:function(){}}]);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/*! For license information please see
|
|
2
|
-
(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[79],{66367:function(e,t,r){var n;n=e=>(()=>{var t={"./node_modules/css-mediaquery/index.js":(e,t)=>{"use strict";t.match=function(e,t){return s(e).some((function(e){var r=e.inverse,n="all"===e.type||t.type===e.type;if(n&&r||!n&&!r)return!1;var o=e.expressions.every((function(e){var r=e.feature,n=e.modifier,o=e.value,a=t[r];if(!a)return!1;switch(r){case"orientation":case"scan":return a.toLowerCase()===o.toLowerCase();case"width":case"height":case"device-width":case"device-height":o=f(o),a=f(a);break;case"resolution":o=c(o),a=c(a);break;case"aspect-ratio":case"device-aspect-ratio":case"device-pixel-ratio":o=u(o),a=u(a);break;case"grid":case"color":case"color-index":case"monochrome":o=parseInt(o,10)||1,a=parseInt(a,10)||0}switch(n){case"min":return a>=o;case"max":return a<=o;default:return a===o}}));return o&&!r||!o&&r}))},t.parse=s;var r=/(?:(only|not)?\s*([^\s\(\)]+)(?:\s*and)?\s*)?(.+)?/i,n=/\(\s*([^\s\:\)]+)\s*(?:\:\s*([^\s\)]+))?\s*\)/,o=/^(?:(min|max)-)?(.+)/,a=/(em|rem|px|cm|mm|in|pt|pc)?$/,i=/(dpi|dpcm|dppx)?$/;function s(e){return e.split(",").map((function(e){var t=(e=e.trim()).match(r),a=t[1],i=t[2],s=t[3]||"",u={};return u.inverse=!!a&&"not"===a.toLowerCase(),u.type=i?i.toLowerCase():"all",s=s.match(/\([^\)]+\)/g)||[],u.expressions=s.map((function(e){var t=e.match(n),r=t[1].toLowerCase().match(o);return{modifier:r[1],feature:r[2],value:t[2]}})),u}))}function u(e){var t,r=Number(e);return r||(r=(t=e.match(/^(\d+)\s*\/\s*(\d+)$/))[1]/t[2]),r}function c(e){var t=parseFloat(e);switch(String(e).match(i)[1]){case"dpcm":return t/2.54;case"dppx":return 96*t;default:return t}}function f(e){var t=parseFloat(e);switch(String(e).match(a)[1]){case"em":case"rem":return 16*t;case"cm":return 96*t/2.54;case"mm":return 96*t/2.54/10;case"in":return 96*t;case"pt":return 72*t;case"pc":return 72*t/12;default:return t}}},"./node_modules/hyphenate-style-name/index.js":(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>s});var n=/[A-Z]/g,o=/^ms-/,a={};function i(e){return"-"+e.toLowerCase()}const s=function(e){if(a.hasOwnProperty(e))return a[e];var t=e.replace(n,i);return a[e]=o.test(t)?"-"+t:t}},"./node_modules/matchmediaquery/index.js":(e,t,r)=>{"use strict";var n=r("./node_modules/css-mediaquery/index.js").match,o="undefined"!==typeof window?window.matchMedia:null;function a(e,t,r){var a=this;if(o&&!r){var i=o.call(window,e);this.matches=i.matches,this.media=i.media,i.addListener(s)}else this.matches=n(e,t),this.media=e;function s(e){a.matches=e.matches,a.media=e.media}this.addListener=function(e){i&&i.addListener(e)},this.removeListener=function(e){i&&i.removeListener(e)},this.dispose=function(){i&&i.removeListener(s)}}e.exports=function(e,t,r){return new a(e,t,r)}},"./node_modules/object-assign/index.js":e=>{"use strict";var t=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;function o(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(e){n[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(o){return!1}}()?Object.assign:function(e,a){for(var i,s,u=o(e),c=1;c<arguments.length;c++){for(var f in i=Object(arguments[c]))r.call(i,f)&&(u[f]=i[f]);if(t){s=t(i);for(var l=0;l<s.length;l++)n.call(i,s[l])&&(u[s[l]]=i[s[l]])}}return u}},"./node_modules/prop-types/checkPropTypes.js":(e,t,r)=>{"use strict";var n=function(){},o=r("./node_modules/prop-types/lib/ReactPropTypesSecret.js"),a={},i=r("./node_modules/prop-types/lib/has.js");function s(e,t,r,s,u){for(var c in e)if(i(e,c)){var f;try{if("function"!==typeof e[c]){var l=Error((s||"React class")+": "+r+" type `"+c+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[c]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw l.name="Invariant Violation",l}f=e[c](t,c,s,r,null,o)}catch(p){f=p}if(!f||f instanceof Error||n((s||"React class")+": type specification of "+r+" `"+c+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof f+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),f instanceof Error&&!(f.message in a)){a[f.message]=!0;var d=u?u():"";n("Failed "+r+" type: "+f.message+(null!=d?d:""))}}}n=function(e){var t="Warning: "+e;"undefined"!==typeof console&&console.error(t);try{throw new Error(t)}catch(r){}},s.resetWarningCache=function(){a={}},e.exports=s},"./node_modules/prop-types/factoryWithTypeCheckers.js":(e,t,r)=>{"use strict";var n=r("./node_modules/react-is/index.js"),o=r("./node_modules/object-assign/index.js"),a=r("./node_modules/prop-types/lib/ReactPropTypesSecret.js"),i=r("./node_modules/prop-types/lib/has.js"),s=r("./node_modules/prop-types/checkPropTypes.js"),u=function(){};function c(){return null}u=function(e){var t="Warning: "+e;"undefined"!==typeof console&&console.error(t);try{throw new Error(t)}catch(r){}},e.exports=function(e,t){var r="function"===typeof Symbol&&Symbol.iterator,f="<<anonymous>>",l={array:m("array"),bigint:m("bigint"),bool:m("boolean"),func:m("function"),number:m("number"),object:m("object"),string:m("string"),symbol:m("symbol"),any:y(c),arrayOf:function(e){return y((function(t,r,n,o,i){if("function"!==typeof e)return new p("Property `"+i+"` of component `"+n+"` has invalid PropType notation inside arrayOf.");var s=t[r];if(!Array.isArray(s))return new p("Invalid "+o+" `"+i+"` of type `"+b(s)+"` supplied to `"+n+"`, expected an array.");for(var u=0;u<s.length;u++){var c=e(s,u,n,o,i+"["+u+"]",a);if(c instanceof Error)return c}return null}))},element:y((function(t,r,n,o,a){var i=t[r];return e(i)?null:new p("Invalid "+o+" `"+a+"` of type `"+b(i)+"` supplied to `"+n+"`, expected a single ReactElement.")})),elementType:y((function(e,t,r,o,a){var i=e[t];return n.isValidElementType(i)?null:new p("Invalid "+o+" `"+a+"` of type `"+b(i)+"` supplied to `"+r+"`, expected a single ReactElement type.")})),instanceOf:function(e){return y((function(t,r,n,o,a){if(!(t[r]instanceof e)){var i=e.name||f;return new p("Invalid "+o+" `"+a+"` of type `"+((s=t[r]).constructor&&s.constructor.name?s.constructor.name:f)+"` supplied to `"+n+"`, expected instance of `"+i+"`.")}var s;return null}))},node:y((function(e,t,r,n,o){return h(e[t])?null:new p("Invalid "+n+" `"+o+"` supplied to `"+r+"`, expected a ReactNode.")})),objectOf:function(e){return y((function(t,r,n,o,s){if("function"!==typeof e)return new p("Property `"+s+"` of component `"+n+"` has invalid PropType notation inside objectOf.");var u=t[r],c=b(u);if("object"!==c)return new p("Invalid "+o+" `"+s+"` of type `"+c+"` supplied to `"+n+"`, expected an object.");for(var f in u)if(i(u,f)){var l=e(u,f,n,o,s+"."+f,a);if(l instanceof Error)return l}return null}))},oneOf:function(e){if(!Array.isArray(e))return u(arguments.length>1?"Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).":"Invalid argument supplied to oneOf, expected an array."),c;function t(t,r,n,o,a){for(var i=t[r],s=0;s<e.length;s++)if(d(i,e[s]))return null;var u=JSON.stringify(e,(function(e,t){return"symbol"===g(t)?String(t):t}));return new p("Invalid "+o+" `"+a+"` of value `"+String(i)+"` supplied to `"+n+"`, expected one of "+u+".")}return y(t)},oneOfType:function(e){if(!Array.isArray(e))return u("Invalid argument supplied to oneOfType, expected an instance of array."),c;for(var t=0;t<e.length;t++){var r=e[t];if("function"!==typeof r)return u("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+j(r)+" at index "+t+"."),c}return y((function(t,r,n,o,s){for(var u=[],c=0;c<e.length;c++){var f=(0,e[c])(t,r,n,o,s,a);if(null==f)return null;f.data&&i(f.data,"expectedType")&&u.push(f.data.expectedType)}return new p("Invalid "+o+" `"+s+"` supplied to `"+n+"`"+(u.length>0?", expected one of type ["+u.join(", ")+"]":"")+".")}))},shape:function(e){return y((function(t,r,n,o,i){var s=t[r],u=b(s);if("object"!==u)return new p("Invalid "+o+" `"+i+"` of type `"+u+"` supplied to `"+n+"`, expected `object`.");for(var c in e){var f=e[c];if("function"!==typeof f)return v(n,o,i,c,g(f));var l=f(s,c,n,o,i+"."+c,a);if(l)return l}return null}))},exact:function(e){return y((function(t,r,n,s,u){var c=t[r],f=b(c);if("object"!==f)return new p("Invalid "+s+" `"+u+"` of type `"+f+"` supplied to `"+n+"`, expected `object`.");var l=o({},t[r],e);for(var d in l){var y=e[d];if(i(e,d)&&"function"!==typeof y)return v(n,s,u,d,g(y));if(!y)return new p("Invalid "+s+" `"+u+"` key `"+d+"` supplied to `"+n+"`.\nBad object: "+JSON.stringify(t[r],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var m=y(c,d,n,s,u+"."+d,a);if(m)return m}return null}))}};function d(e,t){return e===t?0!==e||1/e===1/t:e!==e&&t!==t}function p(e,t){this.message=e,this.data=t&&"object"===typeof t?t:{},this.stack=""}function y(e){var r={},n=0;function o(o,i,s,c,l,d,y){if(c=c||f,d=d||s,y!==a){if(t){var m=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 m.name="Invariant Violation",m}if("undefined"!==typeof console){var v=c+":"+s;!r[v]&&n<3&&(u("You are manually calling a React.PropTypes validation function for the `"+d+"` prop on `"+c+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),r[v]=!0,n++)}}return null==i[s]?o?null===i[s]?new p("The "+l+" `"+d+"` is marked as required in `"+c+"`, but its value is `null`."):new p("The "+l+" `"+d+"` is marked as required in `"+c+"`, but its value is `undefined`."):null:e(i,s,c,l,d)}var i=o.bind(null,!1);return i.isRequired=o.bind(null,!0),i}function m(e){return y((function(t,r,n,o,a,i){var s=t[r];return b(s)!==e?new p("Invalid "+o+" `"+a+"` of type `"+g(s)+"` supplied to `"+n+"`, expected `"+e+"`.",{expectedType:e}):null}))}function v(e,t,r,n,o){return new p((e||"React class")+": "+t+" type `"+r+"."+n+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+o+"`.")}function h(t){switch(typeof t){case"number":case"string":case"undefined":return!0;case"boolean":return!t;case"object":if(Array.isArray(t))return t.every(h);if(null===t||e(t))return!0;var n=function(e){var t=e&&(r&&e[r]||e["@@iterator"]);if("function"===typeof t)return t}(t);if(!n)return!1;var o,a=n.call(t);if(n!==t.entries){for(;!(o=a.next()).done;)if(!h(o.value))return!1}else for(;!(o=a.next()).done;){var i=o.value;if(i&&!h(i[1]))return!1}return!0;default:return!1}}function b(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||!!t&&("Symbol"===t["@@toStringTag"]||"function"===typeof Symbol&&t instanceof Symbol)}(t,e)?"symbol":t}function g(e){if("undefined"===typeof e||null===e)return""+e;var t=b(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function j(e){var t=g(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}return p.prototype=Error.prototype,l.checkPropTypes=s,l.resetWarningCache=s.resetWarningCache,l.PropTypes=l,l}},"./node_modules/prop-types/index.js":(e,t,r)=>{var n=r("./node_modules/react-is/index.js");e.exports=r("./node_modules/prop-types/factoryWithTypeCheckers.js")(n.isElement,!0)},"./node_modules/prop-types/lib/ReactPropTypesSecret.js":e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},"./node_modules/prop-types/lib/has.js":e=>{e.exports=Function.call.bind(Object.prototype.hasOwnProperty)},"./node_modules/react-is/cjs/react-is.development.js":(e,t)=>{"use strict";!function(){var e="function"===typeof Symbol&&Symbol.for,r=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,o=e?Symbol.for("react.fragment"):60107,a=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,u=e?Symbol.for("react.context"):60110,c=e?Symbol.for("react.async_mode"):60111,f=e?Symbol.for("react.concurrent_mode"):60111,l=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,y=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,v=e?Symbol.for("react.block"):60121,h=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,g=e?Symbol.for("react.scope"):60119;function j(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:var p=e.type;switch(p){case c:case f:case o:case i:case a:case d:return p;default:var v=p&&p.$$typeof;switch(v){case u:case l:case m:case y:case s:return v;default:return t}}case n:return t}}}var x=c,O=f,w=u,_=s,S=r,P=l,C=o,E=m,T=y,k=n,I=i,M=a,R=d,$=!1;function A(e){return j(e)===f}t.AsyncMode=x,t.ConcurrentMode=O,t.ContextConsumer=w,t.ContextProvider=_,t.Element=S,t.ForwardRef=P,t.Fragment=C,t.Lazy=E,t.Memo=T,t.Portal=k,t.Profiler=I,t.StrictMode=M,t.Suspense=R,t.isAsyncMode=function(e){return $||($=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),A(e)||j(e)===c},t.isConcurrentMode=A,t.isContextConsumer=function(e){return j(e)===u},t.isContextProvider=function(e){return j(e)===s},t.isElement=function(e){return"object"===typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return j(e)===l},t.isFragment=function(e){return j(e)===o},t.isLazy=function(e){return j(e)===m},t.isMemo=function(e){return j(e)===y},t.isPortal=function(e){return j(e)===n},t.isProfiler=function(e){return j(e)===i},t.isStrictMode=function(e){return j(e)===a},t.isSuspense=function(e){return j(e)===d},t.isValidElementType=function(e){return"string"===typeof e||"function"===typeof e||e===o||e===f||e===i||e===a||e===d||e===p||"object"===typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===y||e.$$typeof===s||e.$$typeof===u||e.$$typeof===l||e.$$typeof===h||e.$$typeof===b||e.$$typeof===g||e.$$typeof===v)},t.typeOf=j}()},"./node_modules/react-is/index.js":(e,t,r)=>{"use strict";e.exports=r("./node_modules/react-is/cjs/react-is.development.js")},"./node_modules/shallow-equal/dist/index.esm.js":(e,t,r)=>{"use strict";function n(e,t){if(e===t)return!0;if(!e||!t)return!1;var r=Object.keys(e),n=Object.keys(t),o=r.length;if(n.length!==o)return!1;for(var a=0;a<o;a++){var i=r[a];if(e[i]!==t[i]||!Object.prototype.hasOwnProperty.call(t,i))return!1}return!0}function o(e,t){if(e===t)return!0;if(!e||!t)return!1;var r=e.length;if(t.length!==r)return!1;for(var n=0;n<r;n++)if(e[n]!==t[n])return!1;return!0}r.r(t),r.d(t,{shallowEqualArrays:()=>o,shallowEqualObjects:()=>n})},"./src/Component.ts":function(e,t,r){"use strict";var n=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var a=o(r("./src/useMediaQuery.ts"));t.default=function(e){var t=e.children,r=e.device,o=e.onChange,i=n(e,["children","device","onChange"]),s=(0,a.default)(i,r,o);return"function"===typeof t?t(s):s?t:null}},"./src/Context.ts":(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=(0,r("react").createContext)(void 0);t.default=n},"./src/index.ts":function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Context=t.toQuery=t.useMediaQuery=t.default=void 0;var o=n(r("./src/useMediaQuery.ts"));t.useMediaQuery=o.default;var a=n(r("./src/Component.ts"));t.default=a.default;var i=n(r("./src/toQuery.ts"));t.toQuery=i.default;var s=n(r("./src/Context.ts"));t.Context=s.default},"./src/mediaQuery.ts":function(e,t,r){"use strict";var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},n.apply(this,arguments)},o=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=a(r("./node_modules/prop-types/index.js")),s=i.default.oneOfType([i.default.string,i.default.number]),u={all:i.default.bool,grid:i.default.bool,aural:i.default.bool,braille:i.default.bool,handheld:i.default.bool,print:i.default.bool,projection:i.default.bool,screen:i.default.bool,tty:i.default.bool,tv:i.default.bool,embossed:i.default.bool},c={orientation:i.default.oneOf(["portrait","landscape"]),scan:i.default.oneOf(["progressive","interlace"]),aspectRatio:i.default.string,deviceAspectRatio:i.default.string,height:s,deviceHeight:s,width:s,deviceWidth:s,color:i.default.bool,colorIndex:i.default.bool,monochrome:i.default.bool,resolution:s,type:Object.keys(u)},f=o(c,["type"]),l=n({minAspectRatio:i.default.string,maxAspectRatio:i.default.string,minDeviceAspectRatio:i.default.string,maxDeviceAspectRatio:i.default.string,minHeight:s,maxHeight:s,minDeviceHeight:s,maxDeviceHeight:s,minWidth:s,maxWidth:s,minDeviceWidth:s,maxDeviceWidth:s,minColor:i.default.number,maxColor:i.default.number,minColorIndex:i.default.number,maxColorIndex:i.default.number,minMonochrome:i.default.number,maxMonochrome:i.default.number,minResolution:s,maxResolution:s},f),d=n(n({},u),l);t.default={all:d,types:u,matchers:c,features:l}},"./src/toQuery.ts":function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=n(r("./node_modules/hyphenate-style-name/index.js")),a=n(r("./src/mediaQuery.ts"));t.default=function(e){var t=[];return Object.keys(a.default.all).forEach((function(r){var n=e[r];null!=n&&t.push(function(e,t){var r=(0,o.default)(e);return"number"===typeof t&&(t="".concat(t,"px")),!0===t?r:!1===t?"not ".concat(r):"(".concat(r,": ").concat(t,")")}(r,n))})),t.join(" and ")}},"./src/useMediaQuery.ts":function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r("react"),a=n(r("./node_modules/matchmediaquery/index.js")),i=n(r("./node_modules/hyphenate-style-name/index.js")),s=r("./node_modules/shallow-equal/dist/index.esm.js"),u=n(r("./src/toQuery.ts")),c=n(r("./src/Context.ts")),f=function(e){if(e)return Object.keys(e).reduce((function(t,r){return t[(0,i.default)(r)]=e[r],t}),{})},l=function(){var e=(0,o.useRef)(!1);return(0,o.useEffect)((function(){e.current=!0}),[]),e.current},d=function(e){var t=function(){return function(e){return e.query||(0,u.default)(e)}(e)},r=(0,o.useState)(t),n=r[0],a=r[1];return(0,o.useEffect)((function(){var e=t();n!==e&&a(e)}),[e]),n};t.default=function(e,t,r){var n=function(e){var t=(0,o.useContext)(c.default),r=function(){return f(e)||f(t)},n=(0,o.useState)(r),a=n[0],i=n[1];return(0,o.useEffect)((function(){var e=r();(0,s.shallowEqualObjects)(a,e)||i(e)}),[e,t]),a}(t),i=d(e);if(!i)throw new Error("Invalid or missing MediaQuery!");var u=function(e,t){var r=function(){return(0,a.default)(e,t||{},!!t)},n=(0,o.useState)(r),i=n[0],s=n[1],u=l();return(0,o.useEffect)((function(){if(u){var e=r();return s(e),function(){e&&e.dispose()}}}),[e,t]),i}(i,n),p=function(e){var t=(0,o.useState)(e.matches),r=t[0],n=t[1];return(0,o.useEffect)((function(){var t=function(e){n(e.matches)};return e.addListener(t),n(e.matches),function(){e.removeListener(t)}}),[e]),r}(u),y=l();return(0,o.useEffect)((function(){y&&r&&r(p)}),[p]),(0,o.useEffect)((function(){return function(){u&&u.dispose()}}),[]),p}},react:t=>{"use strict";t.exports=e}},r={};function n(e){var o=r[e];if(void 0!==o)return o.exports;var a=r[e]={exports:{}};return t[e].call(a.exports,a,a.exports,n),a.exports}return n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n("./src/index.ts")})(),e.exports=n(r(47313))}}]);
|
|
1
|
+
/*! For license information please see 367.0e2349d8.chunk.js.LICENSE.txt */
|
|
2
|
+
(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[367],{6367:function(e,t,r){var n;n=e=>(()=>{var t={"./node_modules/css-mediaquery/index.js":(e,t)=>{"use strict";t.match=function(e,t){return s(e).some((function(e){var r=e.inverse,n="all"===e.type||t.type===e.type;if(n&&r||!n&&!r)return!1;var o=e.expressions.every((function(e){var r=e.feature,n=e.modifier,o=e.value,a=t[r];if(!a)return!1;switch(r){case"orientation":case"scan":return a.toLowerCase()===o.toLowerCase();case"width":case"height":case"device-width":case"device-height":o=f(o),a=f(a);break;case"resolution":o=c(o),a=c(a);break;case"aspect-ratio":case"device-aspect-ratio":case"device-pixel-ratio":o=u(o),a=u(a);break;case"grid":case"color":case"color-index":case"monochrome":o=parseInt(o,10)||1,a=parseInt(a,10)||0}switch(n){case"min":return a>=o;case"max":return a<=o;default:return a===o}}));return o&&!r||!o&&r}))},t.parse=s;var r=/(?:(only|not)?\s*([^\s\(\)]+)(?:\s*and)?\s*)?(.+)?/i,n=/\(\s*([^\s\:\)]+)\s*(?:\:\s*([^\s\)]+))?\s*\)/,o=/^(?:(min|max)-)?(.+)/,a=/(em|rem|px|cm|mm|in|pt|pc)?$/,i=/(dpi|dpcm|dppx)?$/;function s(e){return e.split(",").map((function(e){var t=(e=e.trim()).match(r),a=t[1],i=t[2],s=t[3]||"",u={};return u.inverse=!!a&&"not"===a.toLowerCase(),u.type=i?i.toLowerCase():"all",s=s.match(/\([^\)]+\)/g)||[],u.expressions=s.map((function(e){var t=e.match(n),r=t[1].toLowerCase().match(o);return{modifier:r[1],feature:r[2],value:t[2]}})),u}))}function u(e){var t,r=Number(e);return r||(r=(t=e.match(/^(\d+)\s*\/\s*(\d+)$/))[1]/t[2]),r}function c(e){var t=parseFloat(e);switch(String(e).match(i)[1]){case"dpcm":return t/2.54;case"dppx":return 96*t;default:return t}}function f(e){var t=parseFloat(e);switch(String(e).match(a)[1]){case"em":case"rem":return 16*t;case"cm":return 96*t/2.54;case"mm":return 96*t/2.54/10;case"in":return 96*t;case"pt":return 72*t;case"pc":return 72*t/12;default:return t}}},"./node_modules/hyphenate-style-name/index.js":(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>s});var n=/[A-Z]/g,o=/^ms-/,a={};function i(e){return"-"+e.toLowerCase()}const s=function(e){if(a.hasOwnProperty(e))return a[e];var t=e.replace(n,i);return a[e]=o.test(t)?"-"+t:t}},"./node_modules/matchmediaquery/index.js":(e,t,r)=>{"use strict";var n=r("./node_modules/css-mediaquery/index.js").match,o="undefined"!==typeof window?window.matchMedia:null;function a(e,t,r){var a=this;if(o&&!r){var i=o.call(window,e);this.matches=i.matches,this.media=i.media,i.addListener(s)}else this.matches=n(e,t),this.media=e;function s(e){a.matches=e.matches,a.media=e.media}this.addListener=function(e){i&&i.addListener(e)},this.removeListener=function(e){i&&i.removeListener(e)},this.dispose=function(){i&&i.removeListener(s)}}e.exports=function(e,t,r){return new a(e,t,r)}},"./node_modules/object-assign/index.js":e=>{"use strict";var t=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;function o(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(e){n[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(o){return!1}}()?Object.assign:function(e,a){for(var i,s,u=o(e),c=1;c<arguments.length;c++){for(var f in i=Object(arguments[c]))r.call(i,f)&&(u[f]=i[f]);if(t){s=t(i);for(var l=0;l<s.length;l++)n.call(i,s[l])&&(u[s[l]]=i[s[l]])}}return u}},"./node_modules/prop-types/checkPropTypes.js":(e,t,r)=>{"use strict";var n=function(){},o=r("./node_modules/prop-types/lib/ReactPropTypesSecret.js"),a={},i=r("./node_modules/prop-types/lib/has.js");function s(e,t,r,s,u){for(var c in e)if(i(e,c)){var f;try{if("function"!==typeof e[c]){var l=Error((s||"React class")+": "+r+" type `"+c+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[c]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw l.name="Invariant Violation",l}f=e[c](t,c,s,r,null,o)}catch(p){f=p}if(!f||f instanceof Error||n((s||"React class")+": type specification of "+r+" `"+c+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof f+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),f instanceof Error&&!(f.message in a)){a[f.message]=!0;var d=u?u():"";n("Failed "+r+" type: "+f.message+(null!=d?d:""))}}}n=function(e){var t="Warning: "+e;"undefined"!==typeof console&&console.error(t);try{throw new Error(t)}catch(r){}},s.resetWarningCache=function(){a={}},e.exports=s},"./node_modules/prop-types/factoryWithTypeCheckers.js":(e,t,r)=>{"use strict";var n=r("./node_modules/react-is/index.js"),o=r("./node_modules/object-assign/index.js"),a=r("./node_modules/prop-types/lib/ReactPropTypesSecret.js"),i=r("./node_modules/prop-types/lib/has.js"),s=r("./node_modules/prop-types/checkPropTypes.js"),u=function(){};function c(){return null}u=function(e){var t="Warning: "+e;"undefined"!==typeof console&&console.error(t);try{throw new Error(t)}catch(r){}},e.exports=function(e,t){var r="function"===typeof Symbol&&Symbol.iterator,f="<<anonymous>>",l={array:m("array"),bigint:m("bigint"),bool:m("boolean"),func:m("function"),number:m("number"),object:m("object"),string:m("string"),symbol:m("symbol"),any:y(c),arrayOf:function(e){return y((function(t,r,n,o,i){if("function"!==typeof e)return new p("Property `"+i+"` of component `"+n+"` has invalid PropType notation inside arrayOf.");var s=t[r];if(!Array.isArray(s))return new p("Invalid "+o+" `"+i+"` of type `"+b(s)+"` supplied to `"+n+"`, expected an array.");for(var u=0;u<s.length;u++){var c=e(s,u,n,o,i+"["+u+"]",a);if(c instanceof Error)return c}return null}))},element:y((function(t,r,n,o,a){var i=t[r];return e(i)?null:new p("Invalid "+o+" `"+a+"` of type `"+b(i)+"` supplied to `"+n+"`, expected a single ReactElement.")})),elementType:y((function(e,t,r,o,a){var i=e[t];return n.isValidElementType(i)?null:new p("Invalid "+o+" `"+a+"` of type `"+b(i)+"` supplied to `"+r+"`, expected a single ReactElement type.")})),instanceOf:function(e){return y((function(t,r,n,o,a){if(!(t[r]instanceof e)){var i=e.name||f;return new p("Invalid "+o+" `"+a+"` of type `"+((s=t[r]).constructor&&s.constructor.name?s.constructor.name:f)+"` supplied to `"+n+"`, expected instance of `"+i+"`.")}var s;return null}))},node:y((function(e,t,r,n,o){return h(e[t])?null:new p("Invalid "+n+" `"+o+"` supplied to `"+r+"`, expected a ReactNode.")})),objectOf:function(e){return y((function(t,r,n,o,s){if("function"!==typeof e)return new p("Property `"+s+"` of component `"+n+"` has invalid PropType notation inside objectOf.");var u=t[r],c=b(u);if("object"!==c)return new p("Invalid "+o+" `"+s+"` of type `"+c+"` supplied to `"+n+"`, expected an object.");for(var f in u)if(i(u,f)){var l=e(u,f,n,o,s+"."+f,a);if(l instanceof Error)return l}return null}))},oneOf:function(e){if(!Array.isArray(e))return u(arguments.length>1?"Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).":"Invalid argument supplied to oneOf, expected an array."),c;function t(t,r,n,o,a){for(var i=t[r],s=0;s<e.length;s++)if(d(i,e[s]))return null;var u=JSON.stringify(e,(function(e,t){return"symbol"===g(t)?String(t):t}));return new p("Invalid "+o+" `"+a+"` of value `"+String(i)+"` supplied to `"+n+"`, expected one of "+u+".")}return y(t)},oneOfType:function(e){if(!Array.isArray(e))return u("Invalid argument supplied to oneOfType, expected an instance of array."),c;for(var t=0;t<e.length;t++){var r=e[t];if("function"!==typeof r)return u("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+j(r)+" at index "+t+"."),c}return y((function(t,r,n,o,s){for(var u=[],c=0;c<e.length;c++){var f=(0,e[c])(t,r,n,o,s,a);if(null==f)return null;f.data&&i(f.data,"expectedType")&&u.push(f.data.expectedType)}return new p("Invalid "+o+" `"+s+"` supplied to `"+n+"`"+(u.length>0?", expected one of type ["+u.join(", ")+"]":"")+".")}))},shape:function(e){return y((function(t,r,n,o,i){var s=t[r],u=b(s);if("object"!==u)return new p("Invalid "+o+" `"+i+"` of type `"+u+"` supplied to `"+n+"`, expected `object`.");for(var c in e){var f=e[c];if("function"!==typeof f)return v(n,o,i,c,g(f));var l=f(s,c,n,o,i+"."+c,a);if(l)return l}return null}))},exact:function(e){return y((function(t,r,n,s,u){var c=t[r],f=b(c);if("object"!==f)return new p("Invalid "+s+" `"+u+"` of type `"+f+"` supplied to `"+n+"`, expected `object`.");var l=o({},t[r],e);for(var d in l){var y=e[d];if(i(e,d)&&"function"!==typeof y)return v(n,s,u,d,g(y));if(!y)return new p("Invalid "+s+" `"+u+"` key `"+d+"` supplied to `"+n+"`.\nBad object: "+JSON.stringify(t[r],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var m=y(c,d,n,s,u+"."+d,a);if(m)return m}return null}))}};function d(e,t){return e===t?0!==e||1/e===1/t:e!==e&&t!==t}function p(e,t){this.message=e,this.data=t&&"object"===typeof t?t:{},this.stack=""}function y(e){var r={},n=0;function o(o,i,s,c,l,d,y){if(c=c||f,d=d||s,y!==a){if(t){var m=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 m.name="Invariant Violation",m}if("undefined"!==typeof console){var v=c+":"+s;!r[v]&&n<3&&(u("You are manually calling a React.PropTypes validation function for the `"+d+"` prop on `"+c+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),r[v]=!0,n++)}}return null==i[s]?o?null===i[s]?new p("The "+l+" `"+d+"` is marked as required in `"+c+"`, but its value is `null`."):new p("The "+l+" `"+d+"` is marked as required in `"+c+"`, but its value is `undefined`."):null:e(i,s,c,l,d)}var i=o.bind(null,!1);return i.isRequired=o.bind(null,!0),i}function m(e){return y((function(t,r,n,o,a,i){var s=t[r];return b(s)!==e?new p("Invalid "+o+" `"+a+"` of type `"+g(s)+"` supplied to `"+n+"`, expected `"+e+"`.",{expectedType:e}):null}))}function v(e,t,r,n,o){return new p((e||"React class")+": "+t+" type `"+r+"."+n+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+o+"`.")}function h(t){switch(typeof t){case"number":case"string":case"undefined":return!0;case"boolean":return!t;case"object":if(Array.isArray(t))return t.every(h);if(null===t||e(t))return!0;var n=function(e){var t=e&&(r&&e[r]||e["@@iterator"]);if("function"===typeof t)return t}(t);if(!n)return!1;var o,a=n.call(t);if(n!==t.entries){for(;!(o=a.next()).done;)if(!h(o.value))return!1}else for(;!(o=a.next()).done;){var i=o.value;if(i&&!h(i[1]))return!1}return!0;default:return!1}}function b(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||!!t&&("Symbol"===t["@@toStringTag"]||"function"===typeof Symbol&&t instanceof Symbol)}(t,e)?"symbol":t}function g(e){if("undefined"===typeof e||null===e)return""+e;var t=b(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function j(e){var t=g(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}return p.prototype=Error.prototype,l.checkPropTypes=s,l.resetWarningCache=s.resetWarningCache,l.PropTypes=l,l}},"./node_modules/prop-types/index.js":(e,t,r)=>{var n=r("./node_modules/react-is/index.js");e.exports=r("./node_modules/prop-types/factoryWithTypeCheckers.js")(n.isElement,!0)},"./node_modules/prop-types/lib/ReactPropTypesSecret.js":e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},"./node_modules/prop-types/lib/has.js":e=>{e.exports=Function.call.bind(Object.prototype.hasOwnProperty)},"./node_modules/react-is/cjs/react-is.development.js":(e,t)=>{"use strict";!function(){var e="function"===typeof Symbol&&Symbol.for,r=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,o=e?Symbol.for("react.fragment"):60107,a=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,u=e?Symbol.for("react.context"):60110,c=e?Symbol.for("react.async_mode"):60111,f=e?Symbol.for("react.concurrent_mode"):60111,l=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,y=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,v=e?Symbol.for("react.block"):60121,h=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,g=e?Symbol.for("react.scope"):60119;function j(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:var p=e.type;switch(p){case c:case f:case o:case i:case a:case d:return p;default:var v=p&&p.$$typeof;switch(v){case u:case l:case m:case y:case s:return v;default:return t}}case n:return t}}}var x=c,O=f,w=u,_=s,S=r,P=l,C=o,E=m,T=y,k=n,I=i,M=a,R=d,$=!1;function A(e){return j(e)===f}t.AsyncMode=x,t.ConcurrentMode=O,t.ContextConsumer=w,t.ContextProvider=_,t.Element=S,t.ForwardRef=P,t.Fragment=C,t.Lazy=E,t.Memo=T,t.Portal=k,t.Profiler=I,t.StrictMode=M,t.Suspense=R,t.isAsyncMode=function(e){return $||($=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),A(e)||j(e)===c},t.isConcurrentMode=A,t.isContextConsumer=function(e){return j(e)===u},t.isContextProvider=function(e){return j(e)===s},t.isElement=function(e){return"object"===typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return j(e)===l},t.isFragment=function(e){return j(e)===o},t.isLazy=function(e){return j(e)===m},t.isMemo=function(e){return j(e)===y},t.isPortal=function(e){return j(e)===n},t.isProfiler=function(e){return j(e)===i},t.isStrictMode=function(e){return j(e)===a},t.isSuspense=function(e){return j(e)===d},t.isValidElementType=function(e){return"string"===typeof e||"function"===typeof e||e===o||e===f||e===i||e===a||e===d||e===p||"object"===typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===y||e.$$typeof===s||e.$$typeof===u||e.$$typeof===l||e.$$typeof===h||e.$$typeof===b||e.$$typeof===g||e.$$typeof===v)},t.typeOf=j}()},"./node_modules/react-is/index.js":(e,t,r)=>{"use strict";e.exports=r("./node_modules/react-is/cjs/react-is.development.js")},"./node_modules/shallow-equal/dist/index.esm.js":(e,t,r)=>{"use strict";function n(e,t){if(e===t)return!0;if(!e||!t)return!1;var r=Object.keys(e),n=Object.keys(t),o=r.length;if(n.length!==o)return!1;for(var a=0;a<o;a++){var i=r[a];if(e[i]!==t[i]||!Object.prototype.hasOwnProperty.call(t,i))return!1}return!0}function o(e,t){if(e===t)return!0;if(!e||!t)return!1;var r=e.length;if(t.length!==r)return!1;for(var n=0;n<r;n++)if(e[n]!==t[n])return!1;return!0}r.r(t),r.d(t,{shallowEqualArrays:()=>o,shallowEqualObjects:()=>n})},"./src/Component.ts":function(e,t,r){"use strict";var n=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var a=o(r("./src/useMediaQuery.ts"));t.default=function(e){var t=e.children,r=e.device,o=e.onChange,i=n(e,["children","device","onChange"]),s=(0,a.default)(i,r,o);return"function"===typeof t?t(s):s?t:null}},"./src/Context.ts":(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=(0,r("react").createContext)(void 0);t.default=n},"./src/index.ts":function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Context=t.toQuery=t.useMediaQuery=t.default=void 0;var o=n(r("./src/useMediaQuery.ts"));t.useMediaQuery=o.default;var a=n(r("./src/Component.ts"));t.default=a.default;var i=n(r("./src/toQuery.ts"));t.toQuery=i.default;var s=n(r("./src/Context.ts"));t.Context=s.default},"./src/mediaQuery.ts":function(e,t,r){"use strict";var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},n.apply(this,arguments)},o=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=a(r("./node_modules/prop-types/index.js")),s=i.default.oneOfType([i.default.string,i.default.number]),u={all:i.default.bool,grid:i.default.bool,aural:i.default.bool,braille:i.default.bool,handheld:i.default.bool,print:i.default.bool,projection:i.default.bool,screen:i.default.bool,tty:i.default.bool,tv:i.default.bool,embossed:i.default.bool},c={orientation:i.default.oneOf(["portrait","landscape"]),scan:i.default.oneOf(["progressive","interlace"]),aspectRatio:i.default.string,deviceAspectRatio:i.default.string,height:s,deviceHeight:s,width:s,deviceWidth:s,color:i.default.bool,colorIndex:i.default.bool,monochrome:i.default.bool,resolution:s,type:Object.keys(u)},f=o(c,["type"]),l=n({minAspectRatio:i.default.string,maxAspectRatio:i.default.string,minDeviceAspectRatio:i.default.string,maxDeviceAspectRatio:i.default.string,minHeight:s,maxHeight:s,minDeviceHeight:s,maxDeviceHeight:s,minWidth:s,maxWidth:s,minDeviceWidth:s,maxDeviceWidth:s,minColor:i.default.number,maxColor:i.default.number,minColorIndex:i.default.number,maxColorIndex:i.default.number,minMonochrome:i.default.number,maxMonochrome:i.default.number,minResolution:s,maxResolution:s},f),d=n(n({},u),l);t.default={all:d,types:u,matchers:c,features:l}},"./src/toQuery.ts":function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=n(r("./node_modules/hyphenate-style-name/index.js")),a=n(r("./src/mediaQuery.ts"));t.default=function(e){var t=[];return Object.keys(a.default.all).forEach((function(r){var n=e[r];null!=n&&t.push(function(e,t){var r=(0,o.default)(e);return"number"===typeof t&&(t="".concat(t,"px")),!0===t?r:!1===t?"not ".concat(r):"(".concat(r,": ").concat(t,")")}(r,n))})),t.join(" and ")}},"./src/useMediaQuery.ts":function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r("react"),a=n(r("./node_modules/matchmediaquery/index.js")),i=n(r("./node_modules/hyphenate-style-name/index.js")),s=r("./node_modules/shallow-equal/dist/index.esm.js"),u=n(r("./src/toQuery.ts")),c=n(r("./src/Context.ts")),f=function(e){if(e)return Object.keys(e).reduce((function(t,r){return t[(0,i.default)(r)]=e[r],t}),{})},l=function(){var e=(0,o.useRef)(!1);return(0,o.useEffect)((function(){e.current=!0}),[]),e.current},d=function(e){var t=function(){return function(e){return e.query||(0,u.default)(e)}(e)},r=(0,o.useState)(t),n=r[0],a=r[1];return(0,o.useEffect)((function(){var e=t();n!==e&&a(e)}),[e]),n};t.default=function(e,t,r){var n=function(e){var t=(0,o.useContext)(c.default),r=function(){return f(e)||f(t)},n=(0,o.useState)(r),a=n[0],i=n[1];return(0,o.useEffect)((function(){var e=r();(0,s.shallowEqualObjects)(a,e)||i(e)}),[e,t]),a}(t),i=d(e);if(!i)throw new Error("Invalid or missing MediaQuery!");var u=function(e,t){var r=function(){return(0,a.default)(e,t||{},!!t)},n=(0,o.useState)(r),i=n[0],s=n[1],u=l();return(0,o.useEffect)((function(){if(u){var e=r();return s(e),function(){e&&e.dispose()}}}),[e,t]),i}(i,n),p=function(e){var t=(0,o.useState)(e.matches),r=t[0],n=t[1];return(0,o.useEffect)((function(){var t=function(e){n(e.matches)};return e.addListener(t),n(e.matches),function(){e.removeListener(t)}}),[e]),r}(u),y=l();return(0,o.useEffect)((function(){y&&r&&r(p)}),[p]),(0,o.useEffect)((function(){return function(){u&&u.dispose()}}),[]),p}},react:t=>{"use strict";t.exports=e}},r={};function n(e){var o=r[e];if(void 0!==o)return o.exports;var a=r[e]={exports:{}};return t[e].call(a.exports,a,a.exports,n),a.exports}return n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n("./src/index.ts")})(),e.exports=n(r(7313))}}]);
|