whatmore-react-assets 1.0.311 → 1.0.312

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[136],{3827:function(e,t,r){r.r(t);var l=r(7313),o=r(4664),n=r(7616),a=(r(6143),r(7850),r(4444),r(7244),r(123),r(5892),r(1811),r(9302)),i=r(2575),s=r(8866),h=r(7753),c=r(7129),d=r(4136),m=r(8631),u=r(6066),j=r(8782),v=r(9821),g=r(6417);const p=(0,i.Z)({key:"whatmore-css-cv"});t.default=function(e){const t=e.events,[r,i,w]=(0,s.Z)(),[x,f,C,k,y]=(0,v.Z)(),[S]=(0,h.j1)("whatmoreCollectionsTileSize"),[P,Z]=(0,l.useState)(Array(t.length).fill(0).map((()=>Math.random()))),[M]=(0,h.j1)("whatmoreShopId"),[R]=(0,h.j1)("whatmorePrimaryColor"),[T]=(0,h.j1)("whatmoreSecondaryColor"),[b]=(0,h.j1)("whatmoreTitleFont"),[B]=(0,h.j1)("whatmoreTitleFontSize"),[F]=(0,h.j1)("whatmoreLandscapePadding"),[I]=(0,h.j1)("whatmoreCollectionsTilesSpacing"),{whatmoreRootId:L}=(0,l.useContext)(d.I),z=e.onClick;function A(e){z(e)}delete n.ZP.styles.global;var E=[];for(let l=0,o=!1;l<t.length;)o&&l!=t.length-1&&P[l]>.2?(E.push((0,g.jsx)(u.Z,{event1:t[l],event2:t[l+1],onClick:()=>{A(t[l-1])}},"collections-tile-"+l)),l+=2,o=!o):(E.push((0,g.jsx)(m.Z,{event:t[l],onClick:()=>{A(t[l-1])},borderRadius:"10%",removeBorders:!1},"collections-tile-"+l)),l+=1,o=!o);return(0,g.jsx)(a.C,{value:p,children:(0,g.jsx)("div",{children:(0,g.jsx)(o.x,{theme:n.ZP,cssVarsRoot:L,resetCSS:!1,children:(0,g.jsx)(c.V.Provider,{value:{tileTopMargin:0,tileBottomMMargin:0,tileLeftMargin:0,tileRightMargin:0,showPlayButton:!1},children:(0,g.jsx)("div",{style:{left:F+"px",right:F+"px"},children:(0,g.jsx)(j.P,{renderElement:e=>(0,g.jsx)(g.Fragment,{children:e.eventData}),dataList:E,spacing:I,defaultHeight:x*S*.01+"px",defaultWidth:f*S*.01+"px",retainAlreadyRenderedElements:!0})})})})})})}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[245],{1291:function(e,t,r){r.r(t);var o=r(7313),a=r(4664),l=r(7616),i=(r(6143),r(7850),r(4444),r(7244),r(123),r(5892),r(1811),r(9302)),n=r(2575),s=r(8866),h=r(7753),c=r(7129),d=r(4136),m=r(8631),j=(r(6066),r(9821)),u=r(8782),v=r(6417);const w=(0,n.Z)({key:"whatmore-css-cv"});t.default=function(e){const[t,r,n,x,g]=(0,j.Z)(),[p]=(0,h.j1)("whatmoreCollectionsTileSize"),[C,f,k]=(0,s.Z)(),[y]=(0,h.j1)("whatmoreShopId"),[P]=(0,h.j1)("whatmorePrimaryColor"),[S]=(0,h.j1)("whatmoreSecondaryColor"),[Z]=(0,h.j1)("whatmoreTitleFont"),[M]=(0,h.j1)("whatmoreTitleFontSize"),[R]=(0,h.j1)("whatmoreLandscapePadding"),[T]=(0,h.j1)("whatmoreCollectionsTilesSpacing"),{whatmoreRootId:b}=(0,o.useContext)(d.I),B=e.events,F=e.onClick;delete l.ZP.styles.global;var I=[];for(let o=0;o<B.length;)I.push((0,v.jsx)(m.Z,{event:B[o],onClick:()=>{var e;e=B[o-1],F(e)},removeBorders:!0,borderRadius:"5%"},"collections-tile-"+o)),o+=1;return(0,v.jsx)(i.C,{value:w,children:(0,v.jsx)("div",{children:(0,v.jsx)(a.x,{theme:l.ZP,cssVarsRoot:b,resetCSS:!1,children:(0,v.jsx)(c.V.Provider,{value:{tileTopMargin:0,tileBottomMMargin:0,tileLeftMargin:0,tileRightMargin:0,showPlayButton:!1},children:(0,v.jsx)("div",{style:{left:R+"px",right:R+"px"},children:(0,v.jsx)(u.P,{renderElement:e=>(0,v.jsx)(v.Fragment,{children:e.eventData}),dataList:I,spacing:T,defaultHeight:t*p*.01+"px",defaultWidth:r*p*.01+"px",retainAlreadyRenderedElements:!0})})})})})})}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[92],{6071:function(e,t,r){r.r(t);var o=r(7313),l=r(4664),n=r(7616),a=(r(6143),r(7850),r(4444),r(7244),r(123),r(5892),r(1811),r(9302)),i=r(2575),s=r(8866),h=r(7753),c=r(7129),d=r(4136),m=r(8631),u=r(6066),j=r(8782),v=r(9821),g=r(6417);const p=(0,i.Z)({key:"whatmore-css-cv"});t.default=function(e){const t=e.events,[r,i,w]=(0,s.Z)(),[x,f]=(0,o.useState)(Array(t.length).fill(0).map((()=>Math.random()))),[C,k,y,S,P]=(0,v.Z)(),[Z]=(0,h.j1)("whatmoreCollectionsTileSize"),[M]=(0,h.j1)("whatmoreShopId"),[R]=(0,h.j1)("whatmorePrimaryColor"),[T]=(0,h.j1)("whatmoreSecondaryColor"),[b]=(0,h.j1)("whatmoreTitleFont"),[B]=(0,h.j1)("whatmoreTitleFontSize"),[F]=(0,h.j1)("whatmoreLandscapePadding"),[I]=(0,h.j1)("whatmoreCollectionsTilesSpacing"),{whatmoreRootId:L}=(0,o.useContext)(d.I),z=e.onClick;function A(e){z(e)}delete n.ZP.styles.global;var E=[];for(let o=0,l=!1;o<t.length;)l&&o!=t.length-1&&x[o]>.2?(E.push((0,g.jsx)(u.Z,{event1:t[o],event2:t[o+1],onClick:()=>{A(t[o-1])},removeBorders:!0},"collections-tile-"+o)),o+=2,l=!l):(E.push((0,g.jsx)(m.Z,{event:t[o],onClick:()=>{A(t[o-1])},removeBorders:!0,borderRadius:"0%"},"collections-tile-"+o)),o+=1,l=!l);return(0,g.jsx)(a.C,{value:p,children:(0,g.jsx)("div",{children:(0,g.jsx)(l.x,{theme:n.ZP,cssVarsRoot:L,resetCSS:!1,children:(0,g.jsx)(c.V.Provider,{value:{tileTopMargin:0,tileBottomMMargin:0,tileLeftMargin:0,tileRightMargin:0,showPlayButton:!1},children:(0,g.jsx)("div",{style:{left:F+"px",right:F+"px"},children:(0,g.jsx)(j.P,{renderElement:e=>(0,g.jsx)(g.Fragment,{children:e.eventData}),dataList:E,spacing:I,defaultHeight:C*Z*.01+"px",defaultWidth:k*Z*.01+"px",retainAlreadyRenderedElements:!0})})})})})})}}}]);