{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./app/javascript/packs/main.js"],"names":["installedModules","__webpack_require__","moduleId","exports","module","i","l","modules","call","m","c","d","name","getter","o","Object","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","prototype","hasOwnProperty","p","s","select","el","all","trim","document","querySelectorAll","querySelector","on","type","listener","selectEl","forEach","e","addEventListener","onscroll","navbarlinks","navbarlinksActive","position","window","scrollY","navbarlink","hash","section","offsetTop","offsetHeight","classList","add","remove","scrollto","elementPos","scrollTo","top","behavior","backtotop","toggleBacktotop","toggle","this","preventDefault","body","contains","navbarToggle","location","typed","typed_strings","getAttribute","split","Typed","strings","loop","typeSpeed","backSpeed","backDelay","skilsContent","Waypoint","element","offset","handler","direction","style","width"],"mappings":"aACE,IAAIA,EAAmB,CAAC,EAGxB,SAASC,EAAoBC,GAG5B,GAAGF,EAAiBE,GACnB,OAAOF,EAAiBE,GAAUC,QAGnC,IAAIC,EAASJ,EAAiBE,GAAY,CACzCG,EAAGH,EACHI,GAAG,EACHH,QAAS,CAAC,GAUX,OANAI,EAAQL,GAAUM,KAAKJ,EAAOD,QAASC,EAAQA,EAAOD,QAASF,GAG/DG,EAAOE,GAAI,EAGJF,EAAOD,OACf,CAIAF,EAAoBQ,EAAIF,EAGxBN,EAAoBS,EAAIV,EAGxBC,EAAoBU,EAAI,SAASR,EAASS,EAAMC,GAC3CZ,EAAoBa,EAAEX,EAASS,IAClCG,OAAOC,eAAeb,EAASS,EAAM,CAAEK,YAAY,EAAMC,IAAKL,GAEhE,EAGAZ,EAAoBkB,EAAI,SAAShB,GACX,qBAAXiB,QAA0BA,OAAOC,aAC1CN,OAAOC,eAAeb,EAASiB,OAAOC,YAAa,CAAEC,MAAO,WAE7DP,OAAOC,eAAeb,EAAS,aAAc,CAAEmB,OAAO,GACvD,EAOArB,EAAoBsB,EAAI,SAASD,EAAOE,GAEvC,GADU,EAAPA,IAAUF,EAAQrB,EAA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O,UACrB,GAAI0C,EAAO,CACT,IAAIC,EAAgBD,EAAME,aAAa,oBACvCD,EAAgBA,EAAcE,MAAM,KACpC,IAAIC,MAAM,SAAU,CAClBC,QAASJ,EACTK,MAAM,EACNC,UAAW,IACXC,UAAW,GACXC,UAAW,KAEd,CAKD,IAAIC,EAAepD,EAAO,mBACtBoD,GACF,IAAIC,SAAS,CACXC,QAASF,EACTG,OAAQ,MACRC,QAAS,SAAUC,GACFzD,EAAO,2BAA2B,GACxCW,SAAQ,SAACV,GAChBA,EAAGyD,MAAMC,MAAQ1D,EAAG2C,aAAa,iBAAmB,GACrD,GACF,GAtJP,G","file":"js/main-180944e9721b7f362627.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/packs/\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 52);\n","/**\r\n* Template Name: iPortfolio\r\n* Updated: Mar 09 2023 with Bootstrap v5.2.3\r\n* Template URL: https://bootstrapmade.com/iportfolio-bootstrap-portfolio-websites-template/\r\n* Author: BootstrapMade.com\r\n* License: https://bootstrapmade.com/license/\r\n*/\r\n(function () {\r\n \"use strict\";\r\n\r\n /**\r\n * Easy selector helper function\r\n */\r\n const select = (el, all = false) => {\r\n el = el.trim()\r\n if (all) {\r\n return [...document.querySelectorAll(el)]\r\n } else {\r\n return document.querySelector(el)\r\n }\r\n }\r\n\r\n /**\r\n * Easy event listener function\r\n */\r\n const on = (type, el, listener, all = false) => {\r\n let selectEl = select(el, all)\r\n if (selectEl) {\r\n if (all) {\r\n selectEl.forEach(e => e.addEventListener(type, listener))\r\n } else {\r\n selectEl.addEventListener(type, listener)\r\n }\r\n }\r\n }\r\n\r\n /**\r\n * Easy on scroll event listener \r\n */\r\n const onscroll = (el, listener) => {\r\n el.addEventListener('scroll', listener)\r\n }\r\n\r\n /**\r\n * Navbar links active state on scroll\r\n */\r\n let navbarlinks = select('#navbar .scrollto', true)\r\n const navbarlinksActive = () => {\r\n let position = window.scrollY + 200\r\n navbarlinks.forEach(navbarlink => {\r\n if (!navbarlink.hash) return\r\n let section = select(navbarlink.hash)\r\n if (!section) return\r\n if (position >= section.offsetTop && position <= (section.offsetTop + section.offsetHeight)) {\r\n navbarlink.classList.add('active')\r\n } else {\r\n navbarlink.classList.remove('active')\r\n }\r\n })\r\n }\r\n window.addEventListener('load', navbarlinksActive)\r\n onscroll(document, navbarlinksActive)\r\n\r\n /**\r\n * Scrolls to an element with header offset\r\n */\r\n const scrollto = (el) => {\r\n let elementPos = select(el).offsetTop\r\n window.scrollTo({\r\n top: elementPos,\r\n behavior: 'smooth'\r\n })\r\n }\r\n\r\n /**\r\n * Back to top button\r\n */\r\n let backtotop = select('.back-to-top')\r\n if (backtotop) {\r\n const toggleBacktotop = () => {\r\n if (window.scrollY > 100) {\r\n backtotop.classList.add('active')\r\n } else {\r\n backtotop.classList.remove('active')\r\n }\r\n }\r\n window.addEventListener('load', toggleBacktotop)\r\n onscroll(document, toggleBacktotop)\r\n }\r\n\r\n /**\r\n * Mobile nav toggle\r\n */\r\n on('click', '.mobile-nav-toggle', function (e) {\r\n select('body').classList.toggle('mobile-nav-active')\r\n this.classList.toggle('bi-list')\r\n this.classList.toggle('bi-x')\r\n })\r\n\r\n /**\r\n * Scrool with ofset on links with a class name .scrollto\r\n */\r\n on('click', '.scrollto', function (e) {\r\n if (select(this.hash)) {\r\n e.preventDefault()\r\n\r\n let body = select('body')\r\n if (body.classList.contains('mobile-nav-active')) {\r\n body.classList.remove('mobile-nav-active')\r\n let navbarToggle = select('.mobile-nav-toggle')\r\n navbarToggle.classList.toggle('bi-list')\r\n navbarToggle.classList.toggle('bi-x')\r\n }\r\n scrollto(this.hash)\r\n }\r\n }, true)\r\n\r\n /**\r\n * Scroll with ofset on page load with hash links in the url\r\n */\r\n window.addEventListener('load', () => {\r\n if (window.location.hash) {\r\n if (select(window.location.hash)) {\r\n scrollto(window.location.hash)\r\n }\r\n }\r\n });\r\n\r\n /**\r\n * Hero type effect\r\n */\r\n const typed = select('.typed')\r\n if (typed) {\r\n let typed_strings = typed.getAttribute('data-typed-items')\r\n typed_strings = typed_strings.split(',')\r\n new Typed('.typed', {\r\n strings: typed_strings,\r\n loop: true,\r\n typeSpeed: 100,\r\n backSpeed: 50,\r\n backDelay: 2000\r\n });\r\n }\r\n\r\n /**\r\n * Skills animation\r\n */\r\n let skilsContent = select('.skills-content');\r\n if (skilsContent) {\r\n new Waypoint({\r\n element: skilsContent,\r\n offset: '80%',\r\n handler: function (direction) {\r\n let progress = select('.progress .progress-bar', true);\r\n progress.forEach((el) => {\r\n el.style.width = el.getAttribute('aria-valuenow') + '%'\r\n });\r\n }\r\n })\r\n }\r\n\r\n\r\n})()"],"sourceRoot":""}