"use strict";(self.webpackChunkwordpress_particles=self.webpackChunkwordpress_particles||[]).push([[4756],{4756:function(e,t,a){a.r(t),a.d(t,{loadStarShape:function(){return n}});class s{draw(e,t,a){var s;const n=t.shapeData,o=this.getSidesCount(t),i=null!==(s=null==n?void 0:n.inset)&&void 0!==s?s:2;e.moveTo(0,0-a);for(let t=0;t<o;t++)e.rotate(Math.PI/o),e.lineTo(0,0-a*i),e.rotate(Math.PI/o),e.lineTo(0,0-a)}getSidesCount(e){var t,a;const s=e.shapeData;return null!==(a=null!==(t=null==s?void 0:s.sides)&&void 0!==t?t:null==s?void 0:s.nb_sides)&&void 0!==a?a:5}}async function n(e){await e.addShape("star",new s)}}}]);