(function(e){function t(t){for(var a,r,s=t[0],c=t[1],l=t[2],d=0,v=[];d0&&void 0!==arguments[0]?arguments[0]:{},t=e.name,n=void 0===t?"animation-speed":t,a=e.value,i=void 0===a?5:a,o=e.min,r=void 0===o?1:o,s=e.max,c=void 0===s?10:s,l=e.step,u=void 0===l?.01:l,d=e.icon,v=void 0===d?"time":d;return{name:n,label:"input.".concat(n),value:i,icon:v,type:"slider",options:{changeOnUpdate:!0,max:c,step:u,min:r}}}var s=function(){return r({name:"pxratio",icon:"pxratio",min:.01,max:1,value:.8})},c=function(){return r({name:"hue",min:1,max:360,step:1,value:0})},l=function(){return r({name:"brightness",min:0,max:1,step:.01,value:1})},u={name:"Random",component:"random",color:{active:"#04ded4",background:"#19102e"},settings:[s(),r({min:.2}),r({name:"symmetry",min:.01,max:2,value:.1}),r({name:"thickness",min:.01,max:.7,value:.1}),c(),l(),{name:"invert",label:"input.invert",type:"checkbox",value:!1},o]},d=[u,{name:"Sphere",component:"sphere",color:{active:"#04ded4",background:"black"},settings:[s(),{name:"invert",label:"input.invert",type:"checkbox",value:!1},c(),l(),r({max:10}),r({value:2,max:3,min:1.4,name:"size"}),o]},{name:"Planet",component:"planet",color:{active:"#04ded4",background:"black"},settings:[s(),r(),{name:"position",type:"slider",label:"input.position",value:3.9,icon:"position",options:{step:.01,max:20,min:2.8,changeOnUpdate:!0}},o]},{name:"Destruction",component:"destruction",color:{active:"#04ded4",background:"black"},settings:[s(),{name:"position",type:"slider",label:"input.position",value:.1,icon:"position",options:{step:.01,max:1,min:.01,changeOnUpdate:!0}},{name:"perspective",type:"slider",label:"input.perspective",value:.1,icon:"perspective",options:{step:.01,max:1,min:.01,changeOnUpdate:!0}},r({value:10,max:15}),o]},{name:"Rings",component:"rings",color:{active:"#04ded4",background:"black"},settings:[s(),r(),{name:"hue",type:"slider",label:"input.hue",value:0,icon:"hue",options:{changeOnUpdate:!0,max:.5,step:.01,min:-.5}},{name:"zoom",type:"slider",label:"input.zoom",value:32,icon:"zoom",options:{changeOnUpdate:!0,max:100,step:.1,min:2}},o]},{name:"Tenderness",component:"tenderness",color:{active:"#04ded4",background:"black"},settings:[s(),r({value:10,max:15}),o]},{name:"Plasma",component:"plasma",color:{active:"#04ded4",background:"black"},settings:[s(),c(),r({value:10,max:25}),o]},{name:"Flow",component:"flow",color:{active:"#04ded4",background:"black"},settings:[s(),r({value:10,max:15}),r({value:1,max:2.8,min:.2,name:"size"}),o]},{name:"Infinity",component:"infinity",settings:[{name:"palette",type:"palette",label:"input.slider-amount",value:0,values:[["#fcb2bf","#cf56a1","#8b2f97","#511e78"],["#e3fdfd","#cbf1f5","#a6e3e9","#71c9ce"],["#e8f79a","#49d292","#3b445b","#383746"],["#f5f5f5","#fc5185","#3fc1c9","#364f6b"]]},{name:"size",type:"slider",label:"input.size",value:20,options:{class:"",min:2,max:50}},{name:"amount",type:"slider",label:"input.amount",value:30,options:{class:"",min:10,max:100}},r({value:20,min:5,max:100}),o],color:{active:"#04ded4",background:"#19102e"}},{name:"Suprematism",component:"suprematism",settings:[{name:"activeColor",type:"color",label:"input.color-active",value:"#F690FF",options:{class:"w-50"},callback:i}],color:{active:"#F690FF",background:"#fff"}},{name:"Osmos",component:"osmos",color:{active:"#e13571",background:"#1a0532"}},{name:"Space",component:"space",color:{active:"#04ded4",background:"#19102e"}}],v=[{text:"Arch Linux",value:"arch-linux",icon:"arch-linux"},{text:"Ubuntu",value:"ubuntu",icon:"ubuntu"},{text:"Fedora",value:"fedora",icon:"fedora"},{text:"Linux Mint",value:"linux-mint",icon:"linux-mint"},{text:"Gentoo",value:"gentoo",icon:"gentoo"}]},"7d30":function(e,t){e.exports="/*\n * Original shader from: https://www.shadertoy.com/view/lslcWj\n */\n\n#ifdef GL_ES\nprecision mediump float;\n#endif\n\nuniform float uTime;\nuniform vec2 uResolution;\nuniform float size;\n\n#define R(p, a) p = p * cos(a) + vec2(-p.y, p.x) * sin(a)\n\nfloat Sin01(float t) {\n return 0.5 + 0.5 * sin(6.28319 * t);\n}\n\nfloat SineEggCarton(vec3 p) {\n return 1.0 - abs(sin(p.x) + sin(p.y) + sin(p.z)) / 3.0;\n}\n\nfloat Map(vec3 p, float scale) {\n float dSphere = length(p) - 1.0;\n return max(dSphere, (0.95 - SineEggCarton(scale * p)) / scale);\n}\n\nvec3 GetColor(vec3 p) {\n float amount = clamp((1.5 - length(p)) / 2.0, 0.0, 1.0);\n vec3 col = 0.5 + 0.5 * cos(6.28319 * (vec3(0.2, 0.0, 0.0) + amount * vec3(1.0, 1.0, 0.5)));\n return col * amount;\n}\n\nvoid mainImage(out vec4 fragColor, in vec2 fragCoord) {\n\tvec3 rd = normalize(vec3(2.0 * fragCoord.xy - uResolution.xy, -uResolution.y));\n vec3 ro = vec3(0.0, 0.0, size);\n\n R(rd.xz, 0.5 * uTime);\n R(ro.xz, 0.5 * uTime);\n R(rd.yz, 0.5 * uTime);\n R(ro.yz, 0.5 * uTime);\n\n float t = 0.0;\n fragColor.rgb = vec3(0.0353, 0.0275, 0.1255);\n float scale = mix(3.5, 9.0, Sin01(0.068 * uTime));\n\n for (int i = 0; i < 64; i++) {\n vec3 p = ro + t * rd;\n float d = Map(p, scale);\n if (t > 5.0 || d < 0.001) {\n break;\n }\n t += .9 * d;\n fragColor.rgb += 0.05 * GetColor(p);\n }\n}\n\nvoid main(void) {\n mainImage(gl_FragColor, gl_FragCoord.xy);\n gl_FragColor.a = 1.;\n}"},8393:function(e,t,n){"use strict";n.r(t);var a=n("d4ec"),i=n("bee2"),o=n("257e"),r=n("262e"),s=n("2caf"),c=n("ade3"),l=(n("99af"),n("9ab4")),u=n("60a3"),d=n("a5ab"),v=n.n(d),p=function(e){Object(r["a"])(n,e);var t=Object(s["a"])(n);function n(){var e;Object(a["a"])(this,n);for(var i=arguments.length,r=new Array(i),s=0;s\n :doodle {\n @grid: ".concat(this.amount,"x1 / ").concat(this.size,"vmin;\n --deg: @p(-180deg, 180deg);\n }\n :container {\n perspective: 10vmin;\n }\n :after, :before {\n content: '';\n background: ").concat(this.color,"; \n @place-cell: @r(100%) @r(100%);\n @size: @r(6px);\n @shape: heart;\n }\n \n @place-cell: center;\n @size: ").concat(this.depth,"%;\n \n box-shadow: @m200(0 0 50px ").concat(this.color,");\n background: @m100(\n radial-gradient(").concat(this.color," 50%, transparent 0) \n @r(-20%, 120%) @r(-20%, 100%) / 1px 1px\n no-repeat\n );\n \n will-change: transform, opacity;\n animation: scale-up ").concat(this.animationSpeed,"s linear infinite;\n animation-delay: calc(-").concat(this.animationSpeed,"s / @size() * @i());\n \n @keyframes scale-up {\n 0%, 95.01%, 100% {\n transform: translateZ(0) rotate(0);\n opacity: 0;\n }\n 10% { \n opacity: 1; \n }\n 95% {\n transform: translateZ(12vmin) rotateZ(@var(--deg));\n }\n }\n ")}})}}]),n}(l["c"]);u=Object(s["a"])([l["a"]],u),t["default"]=u},"941b":function(e,t){e.exports="attribute vec3 aVertexPosition;\n\nvoid main() {\n gl_Position = vec4(aVertexPosition, 1.0);\n}"},9987:function(e,t,n){e.exports=n.p+"img/index.04752491.png"},a030:function(e,t,n){e.exports=n.p+"img/index.a763af0b.png"},a05d:function(e,t,n){"use strict";n.r(t);var a,i=n("d4ec"),o=n("bee2"),r=n("262e"),s=n("2caf"),c=n("9ab4"),l=n("60a3"),u=n("d637"),d=n("d4d8"),v=function(e){Object(r["a"])(c,e);var t=Object(s["a"])(c);function c(){return Object(i["a"])(this,c),t.apply(this,arguments)}return Object(o["a"])(c,[{key:"animationSpeed",get:function(){var e;return(null===(e=d["a"].getThemeInput("animation-speed"))||void 0===e?void 0:e.value)||45}},{key:"position",get:function(){var e;return(null===(e=d["a"].getThemeInput("position"))||void 0===e?void 0:e.value)||2.14}},{key:"pxratio",get:function(){var e;return(null===(e=d["a"].getThemeInput("pxratio"))||void 0===e?void 0:e.value)||.8}},{key:"mounted",value:function(){var e,t,n=this;a=new u["a"](this.$refs.canvas,(null===(e=document.querySelector("script#shader-vs"))||void 0===e?void 0:e.textContent)||"",(null===(t=document.querySelector("script#shader-fs"))||void 0===t?void 0:t.textContent)||"",window.innerWidth,window.innerHeight,{renderOptions:{externalTimeUse:!0},renderHook:function(){var e=this;e.programInfo.uniforms.position||(e.programInfo.uniforms.position=e.ctx.getUniformLocation(e.program,"camR")),e.pxratio=n.pxratio,e.time+=n.animationSpeed/500,e.ctx.uniform1f(e.programInfo.uniforms.time,e.time+e.time*n.animationSpeed/10),e.ctx.uniform1f(e.programInfo.uniforms.position,n.position)}}),a.running=!0}},{key:"beforeDestroy",value:function(){a.running=!1}},{key:"render",value:function(){var e=arguments[0];return e("div",null,[e("canvas",{ref:"canvas"},[]),e("script",{attrs:{id:"shader-fs",type:"x-shader/x-fragment"}},[" ",n("cc02")," "]),e("script",{attrs:{id:"shader-vs",type:"x-shader/x-vertex"}},[" ",n("6f10")," "])])}}]),c}(l["c"]);v=Object(c["a"])([l["a"]],v),t["default"]=v},a306:function(e){e.exports=JSON.parse('{"text":{"themes":"temas","password":"contraseña","welcome":"bienvenido","yes":"si","no":"no"},"modals":{"shutdown":{"title":"Apagar","text":"¿Seguro que quieres apagar la computadora?"},"restart":{"title":"Reiniciar","text":"¿Seguro que quieres reiniciar tu computadora?"},"suspend":{"title":"Suspender","text":"¿Estás seguro de que quieres suspender tu computadora?"}},"settings":{"title":"configuración","choice-language":"Idioma de elección","language":"Idioma","login-position":{"title":"Posición","about":"Elección de posición de inicio de sesión","center":"centro","top":"top","left":"izquierda","right":"bien","bottom":"fondo"},"about":"Sistema de configuración"}}')},a340:function(e,t){e.exports="// Modified so it doesn't really move. Very childish and easy fix.\n#ifdef GL_ES\nprecision mediump float;\n#endif\n\nuniform vec2 uResolution;\nuniform float uTime;\n\nconst int complexity = 30; // More points of color.\nconst float fluidSpeed = 60.0; // Drives speed, higher number will make it slower.\nconst float color_intensity = 0.5;\nconst float position = 1.0;\n\nvoid main() {\n vec2 p= (position * gl_FragCoord.xy - uResolution) / max(uResolution.x, uResolution.y);\n\n for(int i = 1; i < complexity;i++) {\n vec2 newp= p + uTime * 0.005;\n newp.x+=0.6/float(i)*sin(float(i)*p.y+uTime/fluidSpeed+20.3*float(i)) + 0.5; // + mouse.y/mouse_factor+mouse_offset;\n newp.y+=0.6/float(i)*sin(float(i)*p.x+uTime/fluidSpeed+0.3*float(i+10)) - 0.5; // - mouse.x/mouse_factor+mouse_offset;\n p=newp;\n }\n\n vec3 col=vec3(color_intensity*sin(5.0*p.x)+color_intensity,color_intensity*sin(3.0*p.y)+color_intensity,color_intensity*sin(p.x+p.y)+color_intensity);\n gl_FragColor=vec4(col, 1.0);\n}"},a6d5:function(e,t,n){var a={"./destruction/index.png":"da80","./flow/index.png":"0ccb","./infinity/index.png":"0376","./osmos/index.png":"b6e0","./planet/index.png":"c393","./plasma/index.png":"69db","./random/index.png":"a030","./rings/index.png":"6ae4","./space/index.png":"9987","./sphere/index.png":"2e6b","./suprematism/index.png":"c3f8","./tenderness/index.png":"e07e"};function i(e){var t=o(e);return n(t)}function o(e){if(!n.o(a,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return a[e]}i.keys=function(){return Object.keys(a)},i.resolve=o,e.exports=i,i.id="a6d5"},a9c4:function(e,t,n){},ab17:function(e,t,n){"use strict";n.r(t);var a,i=n("d4ec"),o=n("bee2"),r=n("262e"),s=n("2caf"),c=n("9ab4"),l=n("60a3"),u=n("d637"),d=n("d4d8"),v=function(e){Object(r["a"])(c,e);var t=Object(s["a"])(c);function c(){return Object(i["a"])(this,c),t.apply(this,arguments)}return Object(o["a"])(c,[{key:"animationSpeed",get:function(){var e;return(null===(e=d["a"].getThemeInput("animation-speed"))||void 0===e?void 0:e.value)||45}},{key:"pxratio",get:function(){var e;return(null===(e=d["a"].getThemeInput("pxratio"))||void 0===e?void 0:e.value)||.8}},{key:"mounted",value:function(){var e,t,n=this;a=new u["a"](this.$refs.canvas,(null===(e=document.querySelector("script#shader-vs"))||void 0===e?void 0:e.textContent)||"",(null===(t=document.querySelector("script#shader-fs"))||void 0===t?void 0:t.textContent)||"",window.innerWidth,window.innerHeight,{renderOptions:{externalTimeUse:!0},renderHook:function(){var e=this;e.time+=n.animationSpeed/500,e.pxratio=n.pxratio,e.ctx.uniform1f(e.programInfo.uniforms.time,e.time)}}),a.running=!0}},{key:"beforeDestroy",value:function(){a.running=!1}},{key:"render",value:function(){var e=arguments[0];return e("div",null,[e("canvas",{ref:"canvas"},[]),e("script",{attrs:{id:"shader-fs",type:"x-shader/x-fragment"}},[" ",n("a340")," "]),e("script",{attrs:{id:"shader-vs",type:"x-shader/x-vertex"}},[" ",n("d8ae")," "])])}}]),c}(l["c"]);v=Object(c["a"])([l["a"]],v),t["default"]=v},afbc:function(e,t,n){"use strict";var a=n("a026"),i=n("8c4f"),o=n("d4ec"),r=n("bee2"),s=n("262e"),c=n("2caf"),l=(n("d3b7"),n("a630"),n("3ca3"),n("9ab4")),u=n("60a3"),d=n("d4d8"),v=n("fe18"),p=n("1da1"),h=n("3835"),f=n("257e"),m=n("ade3"),g=(n("96cf"),n("99af"),n("4fad"),n("d81d"),n("44ee")),b=function(e){Object(s["a"])(n,e);var t=Object(c["a"])(n);function n(){var e;Object(o["a"])(this,n);for(var a=arguments.length,i=new Array(a),r=0;ri?"bottom":"top",l={left:a,width:r};"bottom"===c?l.top=i+o:l.bottom=s-n+o,this.innerPositioned=l}}},{key:"closeMenu",value:function(){v["a"].ASSIGN_MENU({view:!1})}},{key:"stopPreventEvent",value:function(e){e.stopPropagation(),e.preventDefault()}},{key:"buildElementItem",value:function(e,t){var n=this,a=this.$createElement;return a("li",{class:"menu-list-item",key:t,on:{click:function(){n.handleCallback(e)}}},[e.text,e.icon&&a(g["a"],{class:"menu-icon",attrs:{name:e.icon}},[])])}},{key:"render",value:function(){var e=arguments[0];return e("div",{on:{click:this.stopPreventEvent},class:"menu-wrapper",ref:"menu"},[e("transition",{attrs:{name:"fade-menu"}},[this.menu.view&&e("ul",{class:"menu-list",attrs:{id:"menu"},style:this.style},[this.menu.items.map(this.buildElementItem)])])])}}]),n}(u["c"]);Object(l["a"])([Object(u["d"])("menu.view")],b.prototype,"updatePosition",null),b=Object(l["a"])([Object(u["a"])({components:{AppIcon:g["a"]}})],b);var C=b,y=(n("25f0"),n("a434"),n("4de4"),function(e){Object(s["a"])(n,e);var t=Object(c["a"])(n);function n(){var e;Object(o["a"])(this,n);for(var a=arguments.length,i=new Array(a),r=0;r=1e3){var t=ae;ae=0,ne-=1e3,this.FPS=t}this.isShow&&requestAnimationFrame(this.drawScene)}},{key:"render",value:function(){var e=arguments[0];return e("div",{class:"frame-rate-block"},[" FPS: ",this.FPS," "])}}]),n}(u["c"]);oe=Object(l["a"])([u["a"]],oe);var re=oe,se=(n("159b"),n("caad"),n("2532"),n("1276"),{}),ce=n("1fd1");ce.keys().forEach((function(e){var t=e.replace(/^\.\//,"").replace(/\.\w+$/,""),n=t.includes("/");n&&(t=t.split("/")[0]);var a=ce(e);se[t]=a.default||a}));var le=function(e){Object(s["a"])(n,e);var t=Object(c["a"])(n);function n(){return Object(o["a"])(this,n),t.apply(this,arguments)}return Object(r["a"])(n,[{key:"theme",get:function(){return d["a"].activeTheme}},{key:"isOpenLogin",get:function(){return v["a"].isOpenBlock("login")}},{key:"render",value:function(e){var t,n=e(se[null!==(t=this.theme.component)&&void 0!==t?t:"random"]);return e("div",{class:"background-image",key:this.theme.name},[" ",n," "])}}]),n}(u["c"]);le=Object(l["a"])([Object(u["a"])({components:se})],le);var ue=le,de=n("b493"),ve=function(e){Object(s["a"])(n,e);var t=Object(c["a"])(n);function n(){return Object(o["a"])(this,n),t.apply(this,arguments)}return Object(r["a"])(n,[{key:"actions",get:function(){return[{icon:"restart",show:de["a"].lightdm.can_restart,callback:de["a"].lightdm.restart},{icon:"suspend",show:de["a"].lightdm.can_suspend,callback:de["a"].lightdm.suspend},{icon:"hibernate",show:de["a"].lightdm.can_hibernate,callback:de["a"].lightdm.hibernate}].filter((function(e){var t=e.show;return t}))}},{key:"render",value:function(){var e=arguments[0];return e("div",{class:"shutdown-menu"},[this.actions.map((function(t){return e("div",{class:"shutdown-item",on:{click:t.callback}},[e(g["a"],{attrs:{name:t.icon}},[])])}))])}}]),n}(u["c"]);ve=Object(l["a"])([Object(u["a"])({components:{AppIcon:g["a"]}})],ve);var pe=ve,he=function(e){Object(s["a"])(n,e);var t=Object(c["a"])(n);function n(){return Object(o["a"])(this,n),t.apply(this,arguments)}return Object(r["a"])(n,[{key:"isShow",get:function(){return!!v["a"].activeBlock}},{key:"shutdown",value:function(e){e.stopPropagation(),de["a"].lightdm.suspend()}},{key:"render",value:function(){var e=arguments[0],t=e("div",{class:"shutdown-block"},[e(pe,null,[]),e("div",{class:"shutdown-button",on:{click:this.shutdown}},[e(g["a"],{attrs:{name:"shutdown"}},[])])]);return e("transition",{attrs:{name:"fade"}},[this.isShow?t:null])}}]),n}(u["c"]);he=Object(l["a"])([Object(u["a"])({components:{AppIcon:g["a"],ShutdownMenu:pe}})],he);var fe=he,me=function(e){Object(s["a"])(n,e);var t=Object(c["a"])(n);function n(){return Object(o["a"])(this,n),t.apply(this,arguments)}return Object(r["a"])(n,[{key:"render",value:function(){var e=arguments[0];return e(I,{attrs:{fab:!0,href:"https://github.com/Warinyourself",target:"_blank"},class:"github-link"},[e(g["a"],{attrs:{name:"github"}},[])])}}]),n}(u["c"]);me=Object(l["a"])([Object(u["a"])({components:{AppIcon:g["a"],AppButton:I},funtional:!0})],me);var ge=me,be=function(e){Object(s["a"])(n,e);var t=Object(c["a"])(n);function n(){return Object(o["a"])(this,n),t.apply(this,arguments)}return Object(r["a"])(n,[{key:"activeBlock",get:function(){return v["a"].activeBlock}},{key:"menu",get:function(){return v["a"].menu}},{key:"showFrameRate",get:function(){return d["a"].showFrameRate}},{key:"isOpenLogin",get:function(){return v["a"].isOpenBlock("login")}},{key:"isOpenSettings",get:function(){return v["a"].isOpenBlock("settings")}},{key:"isViewThemeOnly",get:function(){return d["a"].viewThemeOnly}},{key:"showLogin",get:function(){return!this.isViewThemeOnly&&this.isOpenLogin}},{key:"created",value:function(){var e=localStorage.getItem("language")||"en";this.$i18n.locale=e,v["a"].SET_STATE_PAGE({key:"language",value:e});var t=localStorage.getItem("loginPosition")||"center";v["a"].SET_STATE_PAGE({key:"loginPosition",value:t}),v["a"].openBlock({id:"login"}),v["a"].SET_STATE_PAGE({key:"languages",value:this.$i18n.availableLocales}),document.addEventListener("mousedown",this.handleClick)}},{key:"handleClick",value:function(e){if(!this.activeBlock)return v["a"].openBlock({id:"login"});var t=e.target,n=document.querySelectorAll(".block-".concat(this.activeBlock.id)),a=Array.from(n).some((function(e){return e.contains(t)})),i=document.querySelector("#menu"),o=null===i||void 0===i?void 0:i.contains(t);this.menu.view&&!o?v["a"].ASSIGN_MENU({view:!1}):a||v["a"].closeBlock()}},{key:"render",value:function(){var e=arguments[0];return e("div",{class:"index"},[this.showFrameRate&&e(re,null,[]),e(ue,null,[]),e("transition-group",{class:"login-transition",attrs:{name:"fade",tag:"div"}},[this.showLogin&&e(te,{key:"LoginComponent"},[]),this.isOpenSettings&&e(Q,{key:"SettingsComponent"},[])]),!this.isViewThemeOnly&&e(fe,null,[]),!this.isViewThemeOnly&&d["a"].isGithubMode&&e(ge,null,[]),e(C,null,[])])}}]),n}(u["c"]);be=Object(l["a"])([Object(u["a"])({components:{AppMenu:C,GithubButton:ge,ShutdownButton:fe,FrameRateBlock:re,LoginComponent:te,BackgroundImage:ue,SettingsComponent:Q}})],be);var Ce=be;a["a"].use(i["a"]);var ye=[{path:"/",name:"Home",component:Ce},{path:"*",name:"Undefined",component:Ce}],xe=new i["a"]({mode:"history",base:"",routes:ye});t["a"]=xe},b334:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"e",(function(){return s})),n.d(t,"f",(function(){return c})),n.d(t,"d",(function(){return l})),n.d(t,"c",(function(){return u})),n.d(t,"b",(function(){return d}));var a=n("3835"),i=(n("4ec9"),n("d3b7"),n("3ca3"),n("ddb0"),n("caad"),n("b0c0"),n("ac1f"),n("1276"),n("b680"),n("25f0"),n("d81d"),n("7db0"),n("4fad"),n("466d"),n("d4d8")),o=n("2ef0");function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:500,t=arguments.length>1?arguments[1]:void 0,n=new Map;return function(a,i,r){var s=r.value;r.value=function(){var a=this._uid,i=n.get(a);if(i)return i.apply(void 0,arguments);var r=Object(o["debounce"])(s.bind(this),e,t);return n.set(a,r),r.apply(void 0,arguments)}}}function s(e){var t=["false","true"].includes(e);if(t)return"true"===e;var n=!isNaN(parseFloat(e));return n?+e:e}var c=function(e,t){return Math.random()*(t-e)+e},l=function(e){var t=["pxratio","brightness"];if(t.includes(e.name))return e.value;var n=e.options,a=n.min,i=n.max,o=((e.options.step+"").split(".")[1]||"").length,r=+c(a,i).toFixed(o);return r},u=function(){return"#"+Math.floor(Math.random()*Math.pow(2,24)-1).toString(16)},d=function(){return i["a"].desktops.map((function(e){var t={gnome:/gnome/,openbox:/openbox/,awesome:/awesome/,i3:/i3/,elementary:/elementary/,cinnamon:/cinnamon/,plasma:/plasma/,mate:/mate/,xfce:/xfce/,kodi:/kodi/},n=Object.entries(t).find((function(t){var n=Object(a["a"])(t,2),i=(n[0],n[1]);return e.key.match(i)}))||["unknown"],i=Object(a["a"])(n,1),o=i[0];return{text:e.name,value:e.key,icon:o}}))}},b493:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var a=window},b6e0:function(e,t,n){e.exports=n.p+"img/index.8304047e.png"},bfcb:function(e,t){e.exports="attribute vec3 aVertexPosition;\n\nvoid main() {\n gl_Position = vec4(aVertexPosition, 1.0);\n}"},c393:function(e,t,n){e.exports=n.p+"img/index.57787d72.png"},c3f8:function(e,t,n){e.exports=n.p+"img/index.a726d50d.png"},cb16:function(e,t){e.exports="/*\n * Original shader from: https://www.shadertoy.com/view/ldyyWm\n */\n#ifdef GL_ES\nprecision mediump float;\n#endif\n\nuniform float uTime;\nuniform float position;\nuniform float perspective;\nuniform vec2 uResolution;\n\n#define round(x) (floor((x) + 0.5))\n\nfloat burn;\nfloat time = uTime + 200.0;\n\nmat2 rot(float a) {\n float s=sin(a), c=cos(a);\n return mat2(s, c, -c, s);\n}\n\nfloat map(vec3 p) {\n float d = max(max(abs(p.x), abs(p.y)), abs(p.z)) - perspective;\n burn = d;\n \n mat2 rm = rot(-time/3. + length(p));\n p.xy *= rm, p.zy *= rm;\n \n vec3 q = abs(p) - time;\n q = abs(q - round(q));\n \n rm = rot(time);\n q.xy *= rm, q.xz *= rm;\n \n d = min(d, min(min(length(q.xy), length(q.yz)), length(q.xz)) + .01);\n \n burn = pow(d - burn, 2.);\n \n return d;\n}\n\nvoid mainImage( out vec4 fragColor, in vec2 fragCoord ) {\n vec3 rd = normalize(vec3(2. * fragCoord - uResolution.xy, uResolution.y * position)), ro = vec2(0, -2).xxy;\n \n mat2 r1 = rot(time/4.), r2 = rot(time/2.);\n rd.xz *= r1, ro.xz *= r1, rd.yz *= r2, ro.yz *= r2;\n \n float t = .0, i = 24. * (1. - exp(- .2 * time - .1));\n for (int ii = 0; ii < 100; --ii) {\n if (i <= 0.) break;\n t += map(ro+rd*t) / 2.;\n --i;\n }\n\n fragColor = vec4(1.1 - burn, exp(-t), exp(-t/2.), 1);\n // fragColor = vec4(exp(-t) * 4.1, exp(-t/2.) * 0.9, 0.4 - burn * 2.9, 1);\n}\n\nvoid main(void) {\n mainImage(gl_FragColor, gl_FragCoord.xy);\n}"},cc01:function(e,t){e.exports="precision highp float;\n\nuniform vec2 uResolution;\nuniform float uTime;\nuniform float size;\n\nfloat random (in vec2 point) {\n return fract(100.0 * sin(point.x + fract(100.0 * sin(point.y)))); // http://www.matteo-basei.it/noise\n}\n\nfloat noise (in vec2 st) {\n vec2 i = floor(st);\n vec2 f = fract(st);\n\n float a = random(i);\n float b = random(i + vec2(1., 0.));\n float c = random(i + vec2(0., 1.));\n float d = random(i + vec2(1., 1.));\n\n vec2 u = f * f * (3. - 2. * f);\n\n return mix(a, b, u.x) + (c - a)* u.y * (1.0 - u.x) + (d - b) * u.x * u.y;\n}\n\n#define octaves 10\n\nfloat fbm (in vec2 p) {\n float value = 0.;\n float freq = size;\n float amp = .5;\n\n for (int i = 0; i < octaves; i++) {\n value += amp * (noise((p - vec2(1.)) * freq));\n freq *= 1.9;\n amp *= .6;\n }\n\n return value;\n}\n\nfloat pattern(in vec2 p) {\n vec2 offset = vec2(-.5);\n\n vec2 aPos = vec2(sin(uTime * .05), sin(uTime * .1)) * 6.;\n vec2 aScale = vec2(3.);\n float a = fbm(p * aScale + aPos);\n\n vec2 bPos = vec2(sin(uTime * .1), sin(uTime * .1)) * 1.;\n vec2 bScale = vec2(.5);\n float b = fbm((p + a) * bScale + bPos);\n\n vec2 cPos = vec2(-.6, -.5) + vec2(sin(-uTime * .01), sin(uTime * .1)) * 2.;\n vec2 cScale = vec2(2.);\n float c = fbm((p + b) * cScale + cPos);\n\n return c;\n}\n\nvec3 palette(in float t) {\n vec3 a = vec3(.5, .5, .5);\n vec3 b = vec3(.45, .25, .14);\n vec3 c = vec3(1. ,1., 1.);\n vec3 d = vec3(0., .1, .2);\n\n return a + b * cos(6.28318 * (c * t + d));\n}\n\nvoid main() {\n vec2 p = gl_FragCoord.xy / uResolution.xy;\n p.x *= uResolution.x / uResolution.y;\n\n float value = pow(pattern(p), 2.);\n vec3 color = palette(value);\n\n gl_FragColor = vec4(color, 1.);\n}"},cc02:function(e,t){e.exports="/*\n * Original shader from: https://www.shadertoy.com/view/ttKBDd\n */\n\n#ifdef GL_ES\nprecision mediump float;\n#endif\n\nuniform float camR;\nuniform float uTime;\nuniform vec2 uResolution;\nuniform vec2 iMouse;\n\n#define texture(s, uv) vec4(0.0)\n\n#define R uResolution.xy\n\n#define m vec2(R.x/R.y*(iMouse.x/R.x-.5),iMouse.y/R.y-.5)\n#define ss(a, b, t) smoothstep(a, b, t)\n#define rot(a) mat2(cos(a), -sin(a), sin(a), cos(a))\nconst float pi = 3.14159;\n\nfloat hsh(vec2 p) {\n vec3 p3 = fract(vec3(p.xyx) * .1031);\n p3 += dot(p3, p3.yzx + 33.33);\n return fract((p3.x + p3.y) * p3.z);\n}\n\nfloat perlin(vec2 p) {\n vec2 i = floor(p);\n vec2 f = fract(p);\n \n float a = hsh(i);\n float b = hsh(i+vec2(1., .0));\n float c = hsh(i+vec2(0. ,1 ));\n float d = hsh(i+vec2(1., 1. ));\n \n vec2 u = smoothstep(0., 1., f);\n \n return mix(a, b, u.x) + (c - a) * u.y * (1.0 - u.x) + (d - b) * u.x * u.y;\n}\n\nfloat octnse(vec2 p, int oct, float t) {\n float a = 1.;\n float n = 0.;\n \n for(int i = 0; i < 10; i++){\n if (i >= oct) break;\n p.x += t;\n n += perlin(p) * a *.5; \n p*=2.;\n a *= .5;\n }\n \n return n;\n}\n\n\n// 3D simplex noise stuff from: https://www.shadertoy.com/view/XsX3zB\nconst float F3 = .3333333;\nconst float G3 = .1666667;\n\nvec3 random3(vec3 c) {\n float j = 4096.*sin(dot(c,vec3(17., 59.4, 15.)));\n vec3 r;\n r.z = fract(512.*j);\n j *= .125;\n r.x = fract(512.*j);\n j *= .125;\n r.y = fract(512.*j);\n return r-.5;\n}\n\nfloat simplex3d(vec3 p) {\n vec3 s = floor(p + dot(p, vec3(F3)));\n vec3 x = p - s + dot(s, vec3(G3));\n vec3 e = step(vec3(0.), x - x.yzx);\n vec3 i1 = e*(1. - e.zxy);\n vec3 i2 = 1. - e.zxy*(1. - e);\n vec3 x1 = x - i1 + G3;\n vec3 x2 = x - i2 + 2.*G3;\n vec3 x3 = x - 1. + 3.*G3;\n vec4 w, d;\n w.x = dot(x, x);\n w.y = dot(x1, x1);\n w.z = dot(x2, x2);\n w.w = dot(x3, x3);\n w = max(.6 - w, 0.);\n d.x = dot(random3(s), x);\n d.y = dot(random3(s + i1), x1);\n d.z = dot(random3(s + i2), x2);\n d.w = dot(random3(s + 1.), x3);\n w *= w;\n w *= w;\n d *= w;\n \n float nse = dot(d, vec4(52.));\n \n return 1.-exp(-(nse+1.)*.5);\n}\n\nvec4 sphere(vec3 ro, vec3 rd, vec3 cn, float r) {\n float b = 2.*dot(rd, ro - cn);\n float c = dot(ro - cn, ro - cn) - (r*r);\n float d = (b*b) - (4.*c);\n \n if (d < 0.) {\n return vec4(0);\n } else {\n float t = .5*(-b - sqrt(d)); \n return vec4(ro+rd*t, t);\n }\n}\n\nconst float rad = 2.7;\n\nvoid mainImage( out vec4 f, in vec2 u ) {\n vec2 uv = vec2(u.xy - 0.5*R.xy)/R.y;\n float ux = uv.x;\n uv *= rot(-uTime*.12 + 2.2);\n \n vec3 ro = vec3(0., 0., 0.);\n vec3 rd = normalize(vec3(uv, 1.));\n float camP = camR;\n \n float ang = uTime*.12 + 7.;\n \n if (iMouse.y > 0.){\n camP -= m.y * 6.;\n ang += m.x;\n }\n \n ro.x += camP * cos(ang);\n ro.z += camP * sin(ang);\n \n rd.xz *= rot(ang + pi/2. + .04);\n \n vec3 ld = normalize(vec3(0.4, 0.3, -0.5));\n \n float ts = .5;\n \n vec3 pp = vec3(0);\n vec3 n = vec3(0);\n \n vec3 cntr = vec3(0., 0., 0.);\n vec4 p = sphere(ro, rd, cntr, rad);\n \n vec3 col = vec3(0);\n \n pp = p.xyz;\n n = pp - cntr;\n n = normalize(n);\n \n vec2 cuv = abs(vec2(atan(n.z, n.x), acos(p.y / rad))); \n cuv *= rot(-uTime*.05 * ts);\n \n float n1 = 2.*octnse(cuv, 10, -uTime*.08 * ts) - 1.;\n float n2 = 2.*octnse((cuv+3.), 10, -uTime*.03 * ts) - 1.;\n\n vec2 os = vec2(n1, n2);\n\n float val = octnse((cuv + vec2(n1, n2)*3.6), 8, -uTime*.1 * ts);\n \n col += .35+.35*cos(vec3(1.4, .7, 0.9)* n1 * 10. + uTime * .35);\n col += .48+.37*sin(vec3(2.2, .1, 0.3)* n2 * 20. + vec3(.7, 1.2, .7));\n col += .48+.23*cos(vec3(1.4, .7, 0.9)* val * 30. + vec3(.2, 0.8, 4.7)+ uTime*.25);\n col*=.38;\n \n vec3 ref = reflect(n, rd);\n float val2 = octnse((ref.xy + os*10. + val*5.), 8, -uTime*.1 * ts);\n \n col *= val2*3. * vec3(.9, .8, .8);\n col *= max(dot(n, -rd), 0.0)*vec3(.9, .8, .7);\n \n col = col*col*1.7;\n \n col = 1.-exp(-col);\n \n f = vec4(col, 1.0);\n}\n\nvoid main(void) {\n mainImage(gl_FragColor, gl_FragCoord.xy);\n}"},cd49:function(e,t,n){"use strict";n.r(t);n("e260"),n("e6cf"),n("cca6"),n("a79d");var a,i,o,r=n("a026"),s=(n("99af"),n("b493")),c="password",l=void 0===s["a"].lightdm;l&&(s["a"].lightdm={is_authenticated:!1,authentication_user:void 0,default_session:"plasma-shell",can_suspend:!0,can_restart:!0,can_hibernate:!0,can_shutdown:!0,sessions:[{name:"GNOME",key:"gnome",comment:"This session logs you into GNOME"},{name:"GNOME",key:"gnome",comment:"This session logs you into GNOME"},{name:"GNOME on Xorg",key:"gnome-xorg",comment:"This session logs you into GNOME"},{name:"Openbox",key:"openbox",comment:"Log in using the Openbox window manager (without a session manager)"},{name:"awesome",key:"awesome",comment:"Highly configurable framework window manager"},{name:"i3",key:"i3",comment:"improved dynamic tiling window manager"},{name:"i3 (with debug log)",key:"i3-with-shmlog",comment:"improved dynamic tiling window manager"}],users:[{display_name:"Tyler Durden",username:"Tyler Durden",image:"https://ychef.files.bbci.co.uk/976x549/p07h2zhs.jpg"},{display_name:"Bob",username:"Bob"}],languages:[{name:"American English",code:"en_US.utf8"},{name:"Русский",code:"ru_RU.utf8"}],language:"American English",start_authentication:function(e){console.log("Starting authenticating : '".concat(e,"'")),void 0!==(null===s["a"]||void 0===s["a"]?void 0:s["a"].lightdm)&&(s["a"].lightdm.authentication_user=e),s["a"].show_prompt("Password: ")},cancel_authentication:function(){console.log("Auth cancelled")},respond:function(e){if(console.log("Password provided : '".concat(e,"'")),e===c&&void 0!==(null===s["a"]||void 0===s["a"]?void 0:s["a"].lightdm))s["a"].lightdm.is_authenticated=!0;else{var t=(new Date).getTime();while((new Date).getTime().5},color:function(){return Object(C["c"])()},palette:function(e){var t;return Math.floor(Object(C["f"])(0,((null===(t=e.values)||void 0===t?void 0:t.length)||2)-1))}};t.settings=null===(e=t.settings)||void 0===e?void 0:e.map((function(e){var t=n[e.type];return t&&(e.value=t(e)),e})),this.syncSettingsWithCache(),this.syncStoreWithQuery()}},{key:"changeTheme",value:function(){var e=Object(r["a"])(regeneratorRuntime.mark((function e(t,n){var a,i,o;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:a=this.getThemeByName(t),i=a?t:this.themes[0].name,this.SET_STATE_APP({key:"currentTheme",value:i}),o=a&&n,o&&this.CHANGE_SETTINGS_THEME({theme:i,settings:n}),this.syncThemeColor(),this.syncStoreWithQuery(),this.syncSettingsWithCache();case 8:case"end":return e.stop()}}),e,this)})));function t(t,n){return e.apply(this,arguments)}return t}()},{key:"login",value:function(){var e=this;console.log("Start login"),b["a"].lightdm_login(this.username,this.password,(function(){var t,n;console.log("FINISH LOGIN?!"),b["a"].lightdm_start((null===(t=e.currentDesktop)||void 0===t?void 0:t.key)||(null===b["a"]||void 0===b["a"]||null===(n=b["a"].lightdm)||void 0===n?void 0:n.sessions[0].key)||"i3")}),(function(e){console.log("error AUTH ".concat(e));var t=document.getElementById("password");t&&(t.classList.add("password-input--error"),a&&clearTimeout(a))}))}},{key:"changeSettingsThemeInput",value:function(e){var t=e.key,n=e.value,a=this.activeTheme.settings||[],i=null===a||void 0===a?void 0:a.find((function(e){return e.name===t}));i&&(this.CHANGE_THEME_INPUT({input:i,value:n}),this.syncSettingsWithCache())}},{key:"syncSettingsWithCache",value:function(){localStorage.setItem("settings",JSON.stringify(this.getMainSettings))}},{key:"syncThemeColor",value:function(){var e=this.activeTheme.color,t=e.active;if(this.activeTheme.settings){var n=this.activeTheme.settings.find((function(e){var t=e.name;return"activeColor"===t}));n&&(t=n.value+"")}document.documentElement.style.setProperty("--color-active",t),document.documentElement.style.setProperty("--color-bg",e.background)}},{key:"syncStoreWithQuery",value:function(){var e,t=f["a"].app,n=t.$route,a=t.$router,r=null===(e=this.activeTheme.settings)||void 0===e?void 0:e.reduce((function(e,t){return e[t.name]=t.value+"",e}),{}),s=Object.entries(this.bodyClass).reduce((function(e,t){var n=Object(o["a"])(t,2),a=n[0],i=n[1];return e[a]=i+"",e}),{});a.push({name:n.name||"/",query:Object(i["a"])(Object(i["a"])(Object(i["a"])({},r),s),{},{themeName:this.currentTheme})})}},{key:"syncThemeWithStore",value:function(e){var t=this,n=e.settings,a=e.query,i=a.themeName||n.currentTheme,o=this.themes.reduce((function(e,o){var r,s=n.themes.find((function(e){var t=e.name;return t===o.name})),c=o.name===i;s&&null!==s&&void 0!==s&&s.settings&&(o.settings=null===(r=o.settings)||void 0===r?void 0:r.map((function(e){var n,i=t.getThemeInput(e.name,s),o=null!==(n=null===i||void 0===i?void 0:i.value)&&void 0!==n?n:e.value;if(c){var r=e.name in a?Object(C["e"])(a[e.name]):null;o=null!==r&&void 0!==r?r:o}return Object.assign(e,{value:o})})));return e.push(o),c&&t.SAVE_STATE_APP({key:"currentTheme",value:i}),e}),[]);this.SET_STATE_APP({key:"themes",value:o})}},{key:"syncBodyClassWithStore",value:function(e){var t=e.settings,n=e.query,a=Object.keys(this.bodyClass),o=a.reduce((function(e,t){return t in n&&(e[t]="true"===n[t]),e}),{});this.SET_STATE_APP({key:"bodyClass",value:Object(i["a"])(Object(i["a"])({},o),t.bodyClass)})}},{key:"setUpSettings",value:function(){var e=f["a"].app.$route,t=e.query;try{var n,a,i=JSON.parse(localStorage.getItem("settings")||"{}");i.themes&&this.syncThemeWithStore({settings:i,query:t}),i.bodyClass&&this.syncBodyClassWithStore({settings:i,query:t});var o,r=null===b["a"]||void 0===b["a"]||null===(n=b["a"].lightdm)||void 0===n?void 0:n.sessions.find((function(e){var t=e.key;return t===i.desktop}));if(void 0===r)i.desktop=(null===b["a"]||void 0===b["a"]||null===(o=b["a"].lightdm)||void 0===o?void 0:o.sessions[0].key)||"openbox";var s,c=null===b["a"]||void 0===b["a"]||null===(a=b["a"].lightdm)||void 0===a?void 0:a.users.find((function(e){var t=e.username;return t===i.username}));if(void 0===c)i.username=(null===b["a"]||void 0===b["a"]||null===(s=b["a"].lightdm)||void 0===s?void 0:s.users[0].username)||"Warinyourself";this.SET_STATE_APP({key:"currentOs",value:i.currentOs||"arch-linux"}),this.SET_STATE_APP({key:"desktop",value:i.desktop}),this.SET_STATE_APP({key:"username",value:i.username}),this.syncSettingsWithCache()}catch(l){this.syncSettingsWithCache(),this.setUpSettings()}}}]),n}(h["d"]);Object(p["a"])([h["c"]],y.prototype,"SET_STATE_APP",null),Object(p["a"])([h["c"]],y.prototype,"SAVE_STATE_APP",null),Object(p["a"])([h["c"]],y.prototype,"CHANGE_BODY_CLASS",null),Object(p["a"])([h["c"]],y.prototype,"CHANGE_THEME_INPUT",null),Object(p["a"])([h["c"]],y.prototype,"CHANGE_SETTINGS_THEME",null),Object(p["a"])([h["a"]],y.prototype,"randomizeSettingsTheme",null),Object(p["a"])([h["a"]],y.prototype,"changeTheme",null),Object(p["a"])([h["a"]],y.prototype,"login",null),Object(p["a"])([h["a"]],y.prototype,"changeSettingsThemeInput",null),Object(p["a"])([h["a"]],y.prototype,"syncSettingsWithCache",null),Object(p["a"])([h["a"]],y.prototype,"syncThemeColor",null),Object(p["a"])([h["a"]],y.prototype,"syncStoreWithQuery",null),Object(p["a"])([h["a"]],y.prototype,"syncThemeWithStore",null),Object(p["a"])([h["a"]],y.prototype,"syncBodyClassWithStore",null),Object(p["a"])([h["a"]],y.prototype,"setUpSettings",null),y=Object(p["a"])([Object(h["b"])({dynamic:!0,store:m["a"],name:"app"})],y);var x=Object(h["f"])(y)},d637:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var a=n("d4ec"),i=n("bee2"),o=n("ade3"),r=(n("d3b7"),n("cfc3"),n("907a"),n("9a8c"),n("a975"),n("735e"),n("c1ac"),n("d139"),n("3a7b"),n("d5d6"),n("82f8"),n("e91f"),n("60bd"),n("5f96"),n("3280"),n("3fcc"),n("ca91"),n("25a1"),n("cd26"),n("3c5d"),n("2954"),n("649e"),n("219c"),n("170b"),n("b39a"),n("72f7"),n("159b"),function(){function e(t,n,i,r,s,c){var l,u=this;if(Object(a["a"])(this,e),Object(o["a"])(this,"ctx",void 0),Object(o["a"])(this,"el",void 0),Object(o["a"])(this,"program",void 0),Object(o["a"])(this,"vertexShader",void 0),Object(o["a"])(this,"fragmentShader",void 0),Object(o["a"])(this,"programInfo",void 0),Object(o["a"])(this,"width",void 0),Object(o["a"])(this,"height",void 0),Object(o["a"])(this,"innerRunning",!1),Object(o["a"])(this,"positions",void 0),Object(o["a"])(this,"positionBuffer",void 0),Object(o["a"])(this,"listeners",[]),Object(o["a"])(this,"innerPxratio",.8),Object(o["a"])(this,"time",0),Object(o["a"])(this,"startTime",Date.now()),Object(o["a"])(this,"renderHook",null),Object(o["a"])(this,"renderOptions",{}),t instanceof HTMLElement&&"canvas"===t.nodeName.toLowerCase()){this.width=r,this.height=s,this.el=t;var d=this.el.getContext("webgl");d?(this.ctx=d,this.vertexShader=this.createShaderOfType(this.ctx,this.ctx.VERTEX_SHADER,n),this.fragmentShader=this.createShaderOfType(this.ctx,this.ctx.FRAGMENT_SHADER,i),this.program=this.ctx.createProgram(),this.program&&(this.ctx.attachShader(this.program,this.vertexShader),this.ctx.attachShader(this.program,this.fragmentShader),this.ctx.linkProgram(this.program),this.ctx.useProgram(this.program),this.ctx.getProgramParameter(this.program,this.ctx.LINK_STATUS)?(this.programInfo={attribs:{vertexPosition:this.ctx.getAttribLocation(this.program,"aVertexPosition")},uniforms:{resolution:this.ctx.getUniformLocation(this.program,"uResolution"),time:this.ctx.getUniformLocation(this.program,"uTime")}},this.initBuffers([-1,-1,1,-1,-1,1,-1,1,1,-1,1,1]),c&&(this.renderHook=c.renderHook),null!==c&&void 0!==c&&c.renderOptions&&(this.renderOptions=null===c||void 0===c?void 0:c.renderOptions),null!==c&&void 0!==c&&null!==(l=c.renderOptions)&&void 0!==l&&l.observeMouse&&this.listeners.push({event:"mousemove",listener:function(e){var t,n,a=e.x,i=e.y;null!==(t=u.programInfo)&&void 0!==t&&null!==(n=t.uniforms)&&void 0!==n&&n.mouse||(u.programInfo.uniforms.mouse=u.ctx.getUniformLocation(u.program,"iMouse")),u.ctx.uniform2f(u.programInfo.uniforms.mouse,a,i)}}),this.setDefaultListeners(),this.addListeners(),this.render=this.render.bind(this),this.resize()):console.log("Unable to initialize the shader program: "+this.ctx.getProgramInfoLog(this.program)))):console.log("Browser doesn't support WebGL ")}else console.log("Provided element should be a canvas element")}return Object(i["a"])(e,[{key:"pxratio",get:function(){return this.innerPxratio},set:function(e){e!==this.pxratio&&(this.innerPxratio=e,this.resize())}},{key:"webglParams",get:function(){return{alpha:!0}}},{key:"running",get:function(){return this.innerRunning},set:function(e){!this.innerRunning&&e?requestAnimationFrame(this.render):this.innerRunning&&!e&&this.removeListeners(),this.innerRunning=e}},{key:"render",value:function(){this.running&&requestAnimationFrame(this.render),this.renderOptions.externalTimeUse||(this.time=(Date.now()-this.startTime)/1e3,this.ctx.uniform1f(this.programInfo.uniforms.time,this.time)),this.renderHook&&this.renderHook(),this.ctx.drawArrays(this.ctx.TRIANGLES,0,6)}},{key:"initBuffers",value:function(e){this.positions=e,this.positionBuffer=this.ctx.createBuffer(),this.ctx.bindBuffer(this.ctx.ARRAY_BUFFER,this.positionBuffer),this.ctx.bufferData(this.ctx.ARRAY_BUFFER,new Float32Array(e),this.ctx.STATIC_DRAW);var t=this.programInfo.attribs.vertexPosition;this.ctx.enableVertexAttribArray(t),this.ctx.vertexAttribPointer(t,2,this.ctx.FLOAT,!1,0,0)}},{key:"setDefaultListeners",value:function(){this.listeners.push({event:"resize",listener:this.resize})}},{key:"addListeners",value:function(){var e=this;this.listeners.forEach((function(t){var n=t.event,a=t.listener,i=t.options;window.addEventListener(n,a.bind(e),i||{})}))}},{key:"removeListeners",value:function(){this.listeners.forEach((function(e){var t=e.event,n=e.listener,a=e.options;window.removeEventListener(t,n,a||{})}))}},{key:"resize",value:function(){var e=[window.innerWidth,window.innerHeight],t=e[0],n=e[1];this.width=t,this.height=n,this.el.width=t*this.pxratio,this.el.height=n*this.pxratio,this.ctx.viewport(0,0,t*this.pxratio,n*this.pxratio),this.el.style.width=t+"px",this.el.style.height=n+"px",this.ctx.uniform2fv(this.programInfo.uniforms.resolution,[t*this.pxratio,n*this.pxratio]),this.initBuffers(this.positions)}},{key:"createShaderOfType",value:function(e,t,n){var a=e.createShader(t);return a?(e.shaderSource(a,n),e.compileShader(a),e.getShaderParameter(a,e.COMPILE_STATUS)?a:(console.log("An error occurred compiling the shaders: "+e.getShaderInfoLog(a)),e.deleteShader(a),null)):null}}]),e}())},d8ae:function(e,t){e.exports="attribute vec3 aVertexPosition;\n\nvoid main() {\n gl_Position = vec4(aVertexPosition, 1.0);\n}"},da80:function(e,t,n){e.exports=n.p+"img/index.739db1b7.png"},dbcf:function(e,t){e.exports="attribute vec3 aVertexPosition;\n\nvoid main() {\n gl_Position = vec4(aVertexPosition, 1.0);\n}"},dc77:function(e,t){e.exports="attribute vec3 aVertexPosition;\n\nvoid main() {\n gl_Position = vec4(aVertexPosition, 1.0);\n}"},e07e:function(e,t,n){e.exports=n.p+"img/index.aa19beab.png"},edd4:function(e){e.exports=JSON.parse('{"input":{"time":"Time","color":"Select color","color-active":"Select active color","color-second":"Select second color","slider-amount":"Choice slider amount","dark-mode":"Dark mode","perspective":"Perspective","depth":"Depth","size":"Size","position":"Position","amount":"Amount","hue":"Hue","zoom":"Zoom","pxratio":"Resolution","animation-speed":"Animation speed","invert":"Invert","brightness":"Brightness","random":"Random"},"text":{"themes":"themes","welcome":"welcome","password":"password","yes":"yes","no":"no","emptyPage":"Press any key to login"},"modals":{"shutdown":{"title":"Shutdown","text":"Are you sure you want to turn off the computer?"},"restart":{"title":"Restart","text":"Are you sure you want to restart your computer?"},"suspend":{"title":"Suspend","text":"Are you sure you want to suspend your computer?"}},"settings":{"title":"settings","themes":"themes","users":"users","performance":"performance","choice-desktop":"Choice desktop","choice-language":"Choice language","choice-os":"Choice os","save-theme":"Save theme","language":"Language","general":"General","choice-themes":"Choice themes","customize-theme":"Customize theme","reset-settings":"Reset settings","login-position":{"title":"Position","about":"Choice login position","center":"center","top":"top","left":"left","right":"right","bottom":"bottom"},"about":"Settings system"}}')},f01b:function(e,t){e.exports="attribute vec3 aVertexPosition;\n\nvoid main() {\n gl_Position = vec4(aVertexPosition, 1.0);\n}"},f693:function(e){e.exports=JSON.parse('{"text":{"themes":"thèmes","password":"mot de passe","welcome":"bienvenue","yes":"oui","no":"non"},"modals":{"shutdown":{"title":"Eteindre","text":"Voulez-vous vraiment éteindre l\'ordinateur?"},"restart":{"title":"Redémarrer","text":"Voulez-vous vraiment redémarrer votre ordinateur?"},"suspend":{"title":"Suspendre","text":"Voulez-vous vraiment suspendre votre ordinateur?"}},"settings":{"title":"Paramètres","choice-language":"Choix de la langue","language":"Langue","login-position":{"title":"Position","about":"Choix de la position de connexion","center":"centre","top":"haut","left":"gauche","right":"droite","bottom":"bas"},"about":"Paramètres système"}}')},fe18:function(e,t,n){"use strict";n.d(t,"a",(function(){return f}));var a=n("1da1"),i=n("d4ec"),o=n("bee2"),r=n("257e"),s=n("262e"),c=n("2caf"),l=n("ade3"),u=(n("96cf"),n("99af"),n("7db0"),n("d3b7"),n("fb6a"),n("c740"),n("a434"),n("159b"),n("d81d"),n("9ab4")),d=n("6fc5"),v=n("0613"),p=n("d4d8"),h=function(e){Object(s["a"])(n,e);var t=Object(c["a"])(n);function n(){var e;Object(i["a"])(this,n);for(var a=arguments.length,o=new Array(a),s=0;s