{"size": 3684, "ext": "js", "max_stars_repo_path": "js/app.3a8f97bc.js", "max_stars_repo_name": "Yefee8/animatedBackground", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "js/app.3a8f97bc.js", "max_issues_repo_name": "Yefee8/animatedBackground", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "js/app.3a8f97bc.js", "max_forks_repo_name": "Yefee8/animatedBackground", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 1842.0, "max_line_length": 3643, "alphanum_fraction": 0.6403365907}
(function(t){function e(e){for(var o,c,a=e[0],u=e[1],s=e[2],d=0,p=[];d<a.length;d++)c=a[d],Object.prototype.hasOwnProperty.call(r,c)&&r[c]&&p.push(r[c][0]),r[c]=0;for(o in u)Object.prototype.hasOwnProperty.call(u,o)&&(t[o]=u[o]);f&&f(e);while(p.length)p.shift()();return i.push.apply(i,s||[]),n()}function n(){for(var t,e=0;e<i.length;e++){for(var n=i[e],o=!0,a=1;a<n.length;a++){var u=n[a];0!==r[u]&&(o=!1)}o&&(i.splice(e--,1),t=c(c.s=n[0]))}return t}var o={},r={app:0},i=[];function c(e){if(o[e])return o[e].exports;var n=o[e]={i:e,l:!1,exports:{}};return t[e].call(n.exports,n,n.exports,c),n.l=!0,n.exports}c.m=t,c.c=o,c.d=function(t,e,n){c.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},c.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},c.t=function(t,e){if(1&e&&(t=c(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(c.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)c.d(n,o,function(e){return t[e]}.bind(null,o));return n},c.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return c.d(e,"a",e),e},c.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},c.p="/";var a=window["webpackJsonp"]=window["webpackJsonp"]||[],u=a.push.bind(a);a.push=e,a=a.slice();for(var s=0;s<a.length;s++)e(a[s]);var f=u;i.push([0,"chunk-vendors"]),n()})({0:function(t,e,n){t.exports=n("56d7")},"56d7":function(t,e,n){"use strict";n.r(e);n("e260"),n("e6cf"),n("cca6"),n("a79d");var o=n("7a23"),r={class:"app"};function i(t,e,n,i,c,a){var u=Object(o["i"])("item");return Object(o["g"])(),Object(o["d"])("div",r,[(Object(o["g"])(),Object(o["d"])(o["a"],null,Object(o["h"])(43,(function(t){return Object(o["e"])(u,{key:t,style:Object(o["f"])({top:a.setPosition(),marginLeft:a.setPosition()})},null,8,["style"])})),64))])}n("99af");function c(t,e,n,r,i,c){return i.showItem?(Object(o["g"])(),Object(o["d"])("div",{key:0,id:"item",onMouseover:e[0]||(e[0]=function(){return c.boom&&c.boom.apply(c,arguments)}),style:Object(o["f"])({transform:"translate3d(".concat(i.right,"px, ").concat(i.bottom,"px, 0)"),transition:i.transition,opacity:i.opacity,height:i.height,width:i.width})},null,36)):Object(o["c"])("",!0)}var a={name:"backgroundItem",mounted:function(){this.move()},data:function(){return{showItem:!0,right:0,bottom:0,opacity:"100%",width:"15px",height:"15px",transition:"10000ms"}},methods:{boom:function(){var t=this;this.transition="500ms",this.opacity="0%",this.width="25px",this.height="25px",setTimeout((function(){t.showItem=!1}),500)},move:function(){var t=this,e=Math.floor(2*Math.random()),n=Math.floor(50*Math.random());n<12.5&&(n*=2);var o=n,r=n/2;1===e&&(r=-37.5),setTimeout((function(){t.bottom=r,t.right=o}),500);var i=window.innerWidth;console.log({goRight:o,width:i}),setInterval((function(){2*o>=window.innerWidth/2||2*r>=window.innerHeight/2?(r-=n,o-=n):r<37?(r+=3*n,o+=n):(r+=n,o+=n),t.bottom=r,t.right=o}),1e4)}}},u=(n("d0d6"),n("6b0d")),s=n.n(u);const f=s()(a,[["render",c],["__scopeId","data-v-37dd83a4"]]);var d=f,p={name:"App",components:{item:d},methods:{setPosition:function(){var t=5*Math.floor(20*Math.random());return 100===t?"calc(".concat(t,"%  - 25px"):t<4?"5%  ":t<5?"10% ":t<10?"15% ":t<15?"20% ":t+"%  "}}};n("e53f");const h=s()(p,[["render",i]]);var l=h;Object(o["b"])(l).mount("#app")},"6eb4":function(t,e,n){},d0d6:function(t,e,n){"use strict";n("6eb4")},e53f:function(t,e,n){"use strict";n("ef62")},ef62:function(t,e,n){}});
//# sourceMappingURL=app.3a8f97bc.js.map