varfreesewing_patterns_brian=function(t){vare={};functionn(r){if(e[r])returne[r].exports;vari=e[r]={i:r,l:!1,exports:{}};returnt[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}returnn.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeofSymbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)returnt;if(4&e&&"object"==typeoft&&t&&t.__esModule)returnt;varr=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeoft)for(variint)n.d(r,i,function(e){returnt[e]}.bind(null,i));returnr},n.n=function(t){vare=t&&t.__esModule?function(){returnt.default}:function(){returnt};returnn.d(e,"a",e),e},n.o=function(t,e){returnObject.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=22)}([function(t,e,n){"use strict";varr=function(t){if(t&&t.__esModule)returnt;vare={};if(null!=t)for(varnint)Object.hasOwnProperty.call(t,n)&&(e[n]=t[n]);returne.default=t,e};Object.defineProperty(e,"__esModule",{value:!0});vari=n(3),o=n(2),s=n(15),a=n(23),u=r(n(7));e.Freesewing=functiont(){!function(t,e){if(!(tinstanceofe))thrownewTypeError("Cannot call a class as a function")}(this,t),this.version="1.0.1",this.pattern=i.Pattern,this.point=o.Point,this.path=s.Path,this.snippet=a.Snippet,this.utils=u}},function(t,e,n){"use strict";functionr(t,e){for(varn=0;n<e.length;n++){varr=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"inr&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}Object.defineProperty(e,"__esModule",{value:!0});vari=function(){functiont(){!function(t,e){if(!(tinstanceofe))thrownewTypeError("Cannot call a class as a function")}(this,t),this.list={}}returnfunction(t,e,n){e&&r(t.prototype,e),n&&r(t,n)}(t,[{key:"add",value:function(t,e){returnvoid0===this.list[t]&&(this.list[t]=[]),this.list[t].push(e),this}},{key:"get",value:function(t){returnthis.list[t].join(" ")}},{key:"render",value:function(){vart="";for(vareinthis.list){this.list;t+=" ".concat(e,'="').concat(this.list[e].join(" "),'"')}returnt}}]),t}();e.Attributes=i},function(t,e,n){"use strict";functionr(t,e){for(varn=0;n<e.length;n++){varr=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"inr&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}Object.defineProperty(e,"__esModule",{value:!0});vari=n(7),o=n(1),s=function(){functiont(e,n){returnfunction(t,e){if(!(tinstanceofe))thrownewTypeError("Cannot call a class as a function")}(this,t),this.attributes=newo.Attributes,this.x=i.round(e),this.y=i.round(n),this}returnfunction(t,e,n){e&&r(t.prototype,e),n&&r(t,n)}(t,[{key:"dist",value:function(t){vare=this.x-t.x,n=this.y-t.y;returni.round(Math.sqrt(Math.pow(e,2)+Math.pow(n,2)))}},{key:"slope",value:function(t){return(t.y-this.y)/(t.x-this.x)}},{key:"dx",value:function(t){returnt.x-this.x}},{key:"dy",value:function(t){returnt.y-this.y}},{key:"angle",value:function(t){for(vare=Math.atan2(-1*this.dy(t),this.dx(t));e<0;)e+=2*Math.PI;returni.rad2deg(e)}},{key:"rotate",value:function(e,n){varr=this.dist(n),o=this.angle(n);returnnewt(n.x+r*Math.cos(i.deg2rad(o+e))*-1,n.y+r*Math.sin(i.deg2rad(o+e)))}},{key:"copy",value:function(){returnnewt(this.x,this.y)}},{key:"equals",value:function(t){returnthis.x===t.x&&this.y===t.y}},{key:"flipX",value:function(e){returnnewt(e.x+this.dx(e),e.y)}},{key:"flipY",value:function(e){returnnewt(e.x,e.y+this.dy(e))}},{key:"shift",value:function(t,e){varn=this.copy();returnn.x+=e,n.rotate(t,this)}},{key:"shiftTowards",value:function(t,e){returnthis.shift(this.angle(t),e)}},{key:"shiftFractionTowards",value:function(t,e){returnthis.shiftTowards(t,this.dist(t)*e)}},{key:"shiftOutwards",value:function(t,e){returnthis.shiftTowards(t,this.dist(t)+e)}}]),t}();e.Point=s},function(t,e,n){"use strict";functionr(t,e){for(varn=0;n<e.length;n++){varr=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"inr&&(r.writable=!