// passwort-generator.js // http://passwort-generieren.de // (c) 2014 Jan Krause (function(){"use strict";var e=this,t=function(e){e||(e={},e.el=document.body),this.options=this.extend(e,this.default_options)};typeof exports!="undefined"?(typeof module!="undefined"&&module.exports&&(exports=module.exports=t),exports.PasswordGenerator=t):e.PasswordGenerator=t,t.prototype={options:{},default_options:{length:11,lowercase:!0,uppercase:!0,numbers:!0,special_character:!0,brackets:!0,minus:!0,underscore:!0,space:!0},_passwort:"",extend:function(e,t){var n={},r;for(r in t)Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);for(r in e)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n},generate:function(){var e,t,n="";this.options.lowercase&&(n+="abcdefghijklmnopqrstuvwxyz"),this.options.uppercase&&(n+="ABCDEFGHIJKLMNOPQRSTUVWXYZ"),this.options.numbers&&(n+="0123456789"),this.options.special_character&&(n+=',.;:#+~*=&%$§!|/€@""^°`´\'\\'),this.options.brackets&&(n+="<>[](){}"),this.options.minus&&(n+="-"),this.options.underscore&&(n+="_"),this.options.space&&(n+=" "),this._passwort="";for(e=0,t=this.options.length;e