(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[23124],{23124:(e,s,t)=>{"use strict";t.r(s),t.d(s,{default:()=>m});var l=t(67841),n=t(64833),i=t(74631),r=t(45757),o=t(83195);let c=()=>{let e={};return e.left=(0,i.MX)(0,100)+"%",e.top=(0,i.MX)(0,100)+"%",e.zIndex=3,e},a=(0,n.z)("img")({name:"Image",class:"i1nu0br4",propsAsIs:!1}),d=e=>{let{children:s}=e;return(0,l.jsx)(o.Z,{style:{padding:0},colors:["#FFF"],generatePosition:c,isToggleable:!1,children:(0,l.jsx)(a,{src:"/images/animated-sparkles-in-react/glitter.jpg",alt:"An open bottle of gold glitter"})})};t(43391);let p=e=>{let s={};s.zIndex=3;let t=(0,i.Ao)(["top","left","right","bottom"]);return"top"===t?(s.top=0,s.left="".concat((0,i.MX)(0,100),"%")):"left"===t?(s.left=0,s.top="".concat((0,i.MX)(0,100),"%")):"right"===t?(s.left="100%",s.top="".concat((0,i.MX)(0,100),"%")):(s.top="100%",s.left="".concat((0,i.MX)(0,100),"%")),s},g=(0,n.z)("div")({name:"Wrapper",class:"wze3g4i",propsAsIs:!1}),h=(0,n.z)("div")({name:"Cell",class:"c1ecq7u0",propsAsIs:!1}),u=(0,n.z)("div")({name:"CellContents",class:"c5s0e95",propsAsIs:!1}),x=(0,n.z)("div")({name:"Title",class:"t4o84ud",propsAsIs:!1}),j=(0,n.z)(r.Z)({name:"GoButton",class:"g18eu554",propsAsIs:!0}),m=()=>(0,l.jsxs)(g,{children:[(0,l.jsxs)(h,{children:[(0,l.jsx)(x,{children:"Rainbow text"}),(0,l.jsx)(u,{children:(0,l.jsx)(o.Z,{colors:["hsl(50deg, 100%, 65%)","hsl(210deg, 100%, 65%)","hsl(340deg, 100%, 60%)"],children:"Rainbow!"})})]}),(0,l.jsxs)(h,{children:[(0,l.jsx)(x,{children:"On an image"}),(0,l.jsx)(u,{children:(0,l.jsx)(d,{})})]}),(0,l.jsxs)(h,{children:[(0,l.jsx)(x,{children:"Twinkle button"}),(0,l.jsx)(u,{children:(0,l.jsx)(o.Z,{generatePosition:p,isToggleable:!1,minSize:20,maxSize:40,rate:600,children:(0,l.jsx)(j,{children:"Go!"})})})]})]});t(11527)},11527:e=>{e.exports={wze3g4i:"wze3g4i",c1ecq7u0:"c1ecq7u0",c5s0e95:"c5s0e95",t4o84ud:"t4o84ud",g18eu554:"g18eu554"}},43391:e=>{e.exports={i1nu0br4:"i1nu0br4"}}}]); //# sourceMappingURL=23124.c91848b32aa6b30e.js.map