-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinfo.bundle.js
More file actions
1 lines (1 loc) · 11 KB
/
info.bundle.js
File metadata and controls
1 lines (1 loc) · 11 KB
1
(()=>{var e={808:()=>{function e(e){return Math.floor(1/e*1e3)}[...document.querySelectorAll(".info-container__summary")].forEach((t=>{t.addEventListener("click",(()=>{!function(t){let o=t.getElementsByClassName("stack-description")[0],i=0;if(t.children[0].attributes.open){i=o.children.length;for(let t=i-1;t>=0;t--)setTimeout((()=>{o.children[i-1-t].style.display="none"}),t*e(i)/3)}else{i=o.children.length;for(let t=0;t<i;t++)setTimeout((()=>{o.children[t].style.display="inline"}),t*e(i)/2)}}(t.parentElement.parentElement)}))}))},700:()=>{const e=document.getElementById("navigation-menu"),t=document.getElementById("dropdown-button"),o=e.style.display,i=t.style.display;function r(){document.body.clientWidth<=780?(e.style.display="none",t.style.display="flex"):(e.style.display=o,t.style.display=i)}r(),window.addEventListener("resize",r)},336:()=>{document.getElementById("body");const e=[...document.querySelectorAll(".promo-card")],t=[...document.querySelectorAll(".promo-card__animated-border")],o=document.getElementById("popup-overlay"),i=document.getElementById("extended-image"),r=document.getElementById("overlay-exit-button");o.addEventListener("click",d),r.addEventListener("click",d),e.forEach((e=>{e.addEventListener("mousemove",a),e.addEventListener("mouseout",s)}));for(var n=0;n<t.length;n++)t[n].addEventListener("click",(e=>{var t;t=e.currentTarget.children[0].src,o.style.display="block",o.style.backdropFilter="blur(5px)",i.setAttribute("src",t)})),t[n].addEventListener("mouseenter",l),t[n].addEventListener("mouseleave",c);function a(e){this.style.transform=`perspective(2000px) rotatey(${(e.offsetX-this.offsetWidth/2)/6}deg)\n rotatex(${(e.offsetY-this.offsetHeight/2)/6*-1}deg)`}function s(){this.style.transform=""}function l(){this.setAttribute("style","border: 2px solid; border-image: conic-gradient(from var(--angle), red, yellow, lime, aqua, blue, magenta, red) 1;")}function c(){this.setAttribute("style","border: 0;")}function d(){o.style.display="none",o.style.backdropFilter="none"}},906:()=>{const e=['"clean-webpack-plugin": "^4.0.0",','"copy-webpack-plugin": "^12.0.2",','"css-loader": "^7.1.2",','"file-loader": "^6.2.0",','"html-webpack-plugin": "^5.6.3",','"mini-css-extract-plugin": "^2.9.2",','"webpack": "^5.97.1",','"webpack-cli": "^5.1.4",','"webpack-dev-server": "^5.2.0"'],t=document.getElementById("Portfolio website - terminal");document.getElementById("Terminal").addEventListener("click",(function(){if(!1===o)for(let o=0;o<e.length;o++){let i=document.createElement("p");i.textContent=`${o+1}. `+e[o],setTimeout((()=>{t.appendChild(i)}),100*o)}else for(let e=t.children.length-1;e>=0;e--)setTimeout((()=>{t.removeChild(t.children[e])}),100*(t.children.length-e));console.log(t.children.length),o=!o}));let o=!1},60:()=>{class e{static textColor="white";static backgroundColor="hsla(0, 0%, 5%, 0.3)";static windowBackgroundColor="hsl(0, 0%, 5%)";static buttonBackgroundColor="hsla(0, 0%, 15%, 0.5)";static backgroundImage='url("./images/backgrounds/dark/mesh-294.avif")';static toggleImage="./images/other/sun.avif"}class t{static textColor="black";static backgroundColor="hsla(0, 0%, 95%, 0.3)";static windowBackgroundColor="hsl(0, 0%, 95%)";static buttonBackgroundColor="hsla(0, 0%, 65%, 0.5)";static backgroundImage='url("./images/backgrounds/light/mesh-776.avif")';static toggleImage="./images/other/moon.avif"}const o={"--text-color":e.textColor,"--background-color":e.backgroundColor,"--window-background-color":e.windowBackgroundColor,"--button-background-color":e.buttonBackgroundColor},i={"--text-color":t.textColor,"--background-color":t.backgroundColor,"--window-background-color":t.windowBackgroundColor,"--button-background-color":t.buttonBackgroundColor},r=[...document.querySelectorAll(".theme-toggle")],n=document.getElementById("body");function a(n){if("dark-theme"===n){for(let t=0;t<r.length;t++)r[t].index=1,c(t,e.toggleImage);for(let e in o)document.documentElement.style.setProperty(e,o[e]);l(e.backgroundImage)}else if("light-theme"===n){for(let e=0;e<r.length;e++)r[e].index=2,c(e,t.toggleImage);for(let e in i)document.documentElement.style.setProperty(e,i[e]);l(t.backgroundImage)}localStorage.setItem("theme",n)}function s(e){return new Promise(((t,o)=>{const i=new Image;i.src=e,i.onload=()=>t(i),i.onerror=()=>o(new Error(`Failed to load image at ${e}`))}))}function l(e){n.style.backgroundImage=e}function c(e,t){r[e].children[0].src=t}document.addEventListener("DOMContentLoaded",(()=>{a(localStorage.getItem("theme")||"dark-theme")})),s("./images/backgrounds/dark/mesh-294.avif"),s("./images/backgrounds/light/mesh-776.avif"),s("./images/other/sun.avif"),s("./images/other/moon.avif"),l(e.backgroundImage),r.forEach((e=>{e.addEventListener("click",(function(){2==e.index?a("dark-theme"):a("light-theme")}))}))}},t={};function o(i){var r=t[i];if(void 0!==r)return r.exports;var n=t[i]={exports:{}};return e[i](n,n.exports,o),n.exports}o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),(()=>{var e;o.g.importScripts&&(e=o.g.location+"");var t=o.g.document;if(!e&&t&&(t.currentScript&&"SCRIPT"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var i=t.getElementsByTagName("script");if(i.length)for(var r=i.length-1;r>-1&&(!e||!/^http(s?):/.test(e));)e=i[r--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),o.p=e})(),(()=>{"use strict";const e={"C#":"https://learn.microsoft.com/ru-ru/dotnet/csharp/",JavaScript:"https://learn.javascript.ru/",HTML:"https://doka.guide/html/",CSS:"https://doka.guide/css/",SQL:"https://www.w3schools.com/sql/default.asp",XAML:"https://learn.microsoft.com/ru-ru/dotnet/desktop/wpf/xaml/?view=netdesktop-9.0",Python:"https://www.python.org/",PHP:"https://www.php.net/",UML:"https://ru.wikipedia.org/wiki/UML","ASP.Net Core":"https://dotnet.microsoft.com/ru-ru/apps/aspnet",NET:"https://dotnet.microsoft.com/ru-ru/",WPF:"https://learn.microsoft.com/ru-ru/dotnet/desktop/wpf/overview/?view=netdesktop-9.0",Blazor:"https://learn.microsoft.com/ru-ru/aspnet/core/blazor/?view=aspnetcore-9.0","Razor Pages":"https://learn.microsoft.com/ru-ru/aspnet/core/razor-pages/?view=aspnetcore-9.0&tabs=visual-studio",Webpack:"https://webpack.js.org/",NPM:"https://www.npmjs.com/",Figma:"https://www.figma.com/",DOTween:"https://dotween.demigiant.com/",PluginYG:"https://ash-message-bf4.notion.site/PluginYG-d457b23eee604b7aa6076116aab647ed#61f1dc643f8046a2815dbd8834035ea7",WebGL:"https://www.khronos.org/webgl/wiki/Main_Page","Shader Graphs":"https://unity.com/features/shader-graph","Particle System":"https://docs.unity3d.com/Manual/ParticleSystems.html","Tkinter (отрисовка UI)":"https://docs.python.org/3/library/tkinter.html","Simplaudio (воспроизведение звука)":"https://simpleaudio.readthedocs.io/en/latest/",Git:"https://git-scm.com/","Microsoft Visual Studio":"https://visualstudio.microsoft.com/ru/","Visual Studio Code":"https://code.visualstudio.com/",Unity:"https://unity.com/",MySQL:"https://metanit.com/sql/mysql/",Blender:"https://www.blender.org/",Photoshop:"https://www.adobe.com/ru/products/photoshop.html","Sony Vegas Pro":"https://www.vegascreativesoftware.com/ru/",OOP:"https://en.wikipedia.org/wiki/Object-oriented_programming",SOLID:"https://ru.wikipedia.org/wiki/SOLID_(%D0%BF%D1%80%D0%BE%D0%B3%D1%80%D0%B0%D0%BC%D0%BC%D0%B8%D1%80%D0%BE%D0%B2%D0%B0%D0%BD%D0%B8%D0%B5)",DRY:"https://ru.wikipedia.org/wiki/Don%E2%80%99t_repeat_yourself",GRASP:"https://ru.wikipedia.org/wiki/GRASP",KISS:"https://ru.wikipedia.org/wiki/KISS_(%D0%BF%D1%80%D0%B8%D0%BD%D1%86%D0%B8%D0%BF)","Adaptive UI":"https://docs.unity3d.com/ru/2021.1/Manual/HOWTO-UIMultiResolution.html","Adaptive Web Design":"https://alistapart.com/article/responsive-web-design/",BEM:"https://ru.bem.info/",MVC:"https://ru.wikipedia.org/wiki/Model-View-Controller",MVP:"https://ru.wikipedia.org/wiki/Model-View-Presenter",MVVM:"https://ru.wikipedia.org/wiki/Model-View-ViewModel"},t={Csharp:"C#",JavaScript:"JavaScript",HTML:"HTML",CSS:"CSS",SQL:"SQL",XAML:"XAML",Python:"Python",PHP:"PHP",UML:"UML"},i={ASPNetCore:"ASP.Net Core",NET:".NET",WPF:"WPF",Blazor:"Blazor",RazorPages:"Razor Pages",Webpack:"Webpack",NPM:"NPM",DOTween:"DOTween",PluginYG:"PluginYG",WebGL:"WebGL",ShaderGraphs:"Shader Graphs",ParticleSystem:"Particle System",Tkinter:"Tkinter (отрисовка UI)",Simplaudio:"Simplaudio (воспроизведение звука)"},r={Git:"Git",MicrosoftVisualStudio:"Microsoft Visual Studio",VisualStudioCode:"Visual Studio Code",Unity:"Unity",MySQL:"MySQL",Blender:"Blender",Photoshop:"Photoshop",Figma:"Figma",SonyVegasPro:"Sony Vegas Pro"},n={SOLID:"SOLID",OOP:"OOP",AdaptiveUI:"Adaptive UI",AdaptiveWebDesign:"Adaptive Web Design",BEM:"BEM",MVC:"MVC",MVP:"MVP",MVVM:"MVVM",DRY:"DRY",KISS:"KISS",GRASP:"GRASP"},a=[[t.Csharp,i.WebGL,i.DOTween,i.PluginYG,i.ParticleSystem,r.Unity,r.MicrosoftVisualStudio,r.Blender,r.Photoshop,r.SonyVegasPro,n.AdaptiveUI,n.MVC,n.OOP,n.DRY],[t.Csharp,i.DOTween,i.ShaderGraphs,i.ParticleSystem,i.PluginYG,r.Unity,r.MicrosoftVisualStudio,r.Git,r.Photoshop,n.OOP,n.SOLID,n.AdaptiveUI],[t.Python,i.Tkinter,i.Simplaudio],[t.HTML,t.CSS,t.JavaScript,i.Webpack,i.NPM,r.VisualStudioCode,r.Git,n.BEM,n.AdaptiveWebDesign,n.DRY,n.KISS],[t.Csharp,t.HTML,t.CSS,i.ASPNetCore,i.Blazor,i.RazorPages,i.WebGL,r.MicrosoftVisualStudio,r.Unity,r.Git,n.AdaptiveUI,n.DRY,n.KISS],[t.HTML,t.CSS,t.JavaScript,t.UML,i.Webpack,i.NPM,r.VisualStudioCode,r.Git,n.BEM,n.AdaptiveWebDesign,n.DRY],[t.HTML,t.CSS,i.Webpack,i.NPM,r.VisualStudioCode,r.Git,r.Figma,n.BEM,n.AdaptiveWebDesign],[t.Csharp,i.DOTween,r.Unity,r.MicrosoftVisualStudio,r.Git,r.Photoshop,n.OOP,n.SOLID,n.AdaptiveUI,n.MVC,n.DRY],[t.Csharp,t.XAML,i.NET,i.WPF,r.MicrosoftVisualStudio,r.Git]];o(808),o(700);const s=document.getElementsByClassName("stack-description");let l=0,c=Object.values(t),d=Object.values(i),u=Object.values(r),p=Object.values(n);a.forEach((e=>{e.forEach((e=>{c.includes(e)?f(e,s[l],"technology-unit_theme_languages",!1):d.includes(e)?f(e,s[l],"technology-unit_theme_frameworks",!1):u.includes(e)?f(e,s[l],"technology-unit_theme_work-environment",!1):p.includes(e)&&f(e,s[l],"technology-unit_theme_methodologyes",!1)})),l++}));const m=document.getElementById("languages"),g=document.getElementById("frameworks-libraries-plugins"),h=document.getElementById("work-environment"),w=document.getElementById("methodologies");for(let e in t)f(t[e],m,"technology-unit_theme_languages",!0);for(let e in r)f(r[e],h,"technology-unit_theme_work-environment",!0);for(let e in n)f(n[e],w,"technology-unit_theme_methodologyes",!0);let y=i;delete y.Tkinter,delete y.Simplaudio;for(let e in y)f(y[e],g,"technology-unit_theme_frameworks",!0);function f(t,o,i,r){let n=document.createElement("a");n.innerHTML=t,n.className="link_stack technology-unit glare-of-light glare-of-light_small",n.classList.add(i),n.href=function(t){for(var o in e)if(o==t)return e[o]}(t),n.target="_blank",0==r&&(n.style.display="none"),o.appendChild(n)}o(906),o(60),o(336),o.p,o.p,o.p,o.p,o.p,o.p})()})();