+function(s){"use strict";function t(t){return this.each(function(){var l=s.extend({},c.DEFAULTS,t);new c(this,l)})}var c=function(s,t){this.init(s,t)};c.DEFAULTS={type:1,background:"#FFFFFF",thrink:1,template:"",mask:!1};var l=[{type:1,css_class:"horizon-ball ball",num:3},{type:2,css_class:"grid-ball ball",num:9},{type:3,css_class:"rotate-circle circle",num:1},{type:4,css_class:"rotate-clip-ball circle",num:2},{type:5,css_class:"square-spin cube",num:1},{type:6,css_class:"rotate-clip-circle circle",num:2},{type:7,css_class:"rise-ball ball",num:5},{type:8,css_class:"rotate-ball ball",num:3},{type:9,css_class:"transition-cube cube",num:2},{type:10,css_class:"transition-ball ball",num:2},{type:11,css_class:"transition-ball-reflect ball",num:2},{type:12,css_class:"transition-ball-triangle circle",num:3},{type:13,css_class:"scale-ball ball",num:1},{type:14,css_class:"scale-ball-multiple ball",num:3},{type:15,css_class:"spin-ball ball",num:8},{type:16,css_class:"spin-line line",num:8},{type:17,css_class:"time-loader circle",num:1}];c.prototype.init=function(t,c){var a=s(t),e=this;s.each(l,function(s,t){c.type==this.type&&(c.template='
',c.template+=e.buildStructure(this,c)+"
",a.append(c.template))}),e.addEffect(t,c),c.mask&&e.addMask(t)},c.prototype.buildStructure=function(s,t){for(var c="",l=0;l";return c},c.prototype.addEffect=function(t,c){var l=s(t),a=l.find("div:not([class])");l.css({"-webkit-transform":"scale("+c.thrink+")",transform:"scale("+c.thrink+")"}),3==c.type||6==c.type||12==c.type?a.css({"border-color":c.background}):4==c.type?(l.find("div:not([class]):nth-child(1)").css({"border-color":c.background}),l.find("div:not([class]):nth-child(2)").css({background:c.background})):a.css({background:c.background})},c.prototype.addMask=function(t){var c='
',l=s(t);l.before(c)},s.fn.simpleloader=t,s.fn.simpleloader.Constructor=c}(jQuery);