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AOX,OAHAE,EAAoBJ,GAAUG,EAAQA,EAAOD,QAASH,GAG/CI,EAAOD,OACf,CCrBAH,EAAoBM,EAAKF,IACxB,IAAIG,EAASH,GAAUA,EAAOI,WAC7B,IAAOJ,EAAiB,QACxB,IAAM,EAEP,OADAJ,EAAoBS,EAAEF,EAAQ,CAAEG,EAAGH,IAC5BA,CAAM,ECLdP,EAAoBS,EAAI,CAACN,EAASQ,KACjC,IAAI,IAAIC,KAAOD,EACXX,EAAoBa,EAAEF,EAAYC,KAASZ,EAAoBa,EAAEV,EAASS,IAC5ErC,OAAOC,eAAe2B,EAASS,EAAK,CAAEjC,YAAY,EAAMD,IAAKiC,EAAWC,IAE1E,ECNDZ,EAAoBa,EAAI,CAACC,EAAKC,IAAUxC,OAAOE,UAAUuC,eAAeC,KAAKH,EAAKC,G","sources":["webpack://static-site-starter/./src/assets/scripts/core.js","webpack://static-site-starter/./src/assets/scripts/jquery.autosize.input.js","webpack://static-site-starter/webpack/bootstrap","webpack://static-site-starter/webpack/runtime/compat get default export","webpack://static-site-starter/webpack/runtime/define property getters","webpack://static-site-starter/webpack/runtime/hasOwnProperty shorthand"],"sourcesContent":["let autoScrollers = []\nlet mouseScrollers = []\nconst autoScrollerDuration = 40000\nlet autoScrollerStart = null\n\nfunction initializeAutoScrollers() {\n autoScrollers = []\n\n document.querySelectorAll('.autoscroll-text-container').forEach(el => {\n const container = el\n const textPath = el.querySelector('textPath')\n\n textPath.style.opacity = 0\n textPath.setAttribute('startOffset', 0)\n\n const path = document.querySelector(textPath.getAttribute('href'))\n const pathLength = path.getTotalLength()\n const textLength = textPath.getComputedTextLength()\n\n textPath.setAttribute('startOffset', pathLength)\n textPath.style.opacity = 1\n\n autoScrollers.push({\n container,\n textPath,\n pathLength,\n textLength\n })\n })\n}\n\nfunction resetAutoScrollers() {\n autoScrollers.forEach(scroller => {\n scroller.textPath.setAttribute('startOffset', scroller.pathLength)\n })\n}\n\nfunction animateAutoScrollers(timestamp) {\n if (autoScrollerStart === undefined) {\n autoScrollerStart = timestamp\n }\n\n const elapsed = timestamp - autoScrollerStart\n\n if (elapsed <= autoScrollerDuration) {\n autoScrollers.forEach(scroller => {\n const timePos = elapsed / autoScrollerDuration\n const finalPos = ((scroller.pathLength * 2) + scroller.textLength) - Math.abs(scroller.textLength - scroller.pathLength)\n const pos = timePos * finalPos\n\n scroller.textPath.setAttribute('startOffset', scroller.pathLength - pos)\n })\n } else {\n resetAutoScrollers()\n autoScrollerStart = undefined\n }\n\n requestAnimationFrame(animateAutoScrollers)\n}\n\ninitializeAutoScrollers()\n\nif (autoScrollers.length) {\n requestAnimationFrame(animateAutoScrollers)\n window.addEventListener('resize', initializeAutoScrollers)\n}\n\nfunction initializeMouseScrollers() {\n window._scrollers = []\n document.querySelectorAll('.scroll-text-container').forEach(el => {\n const container = el\n const textPath = el.querySelector('textPath')\n const path = document.querySelector(textPath.getAttribute('href'))\n const pathLength = path.getTotalLength()\n mouseScrollers.push({\n container,\n textPath,\n pathLength\n })\n })\n}\n\nfunction listenScrollers() {\n window.addEventListener('resize', initializeMouseScrollers)\n window.addEventListener('scroll', () => {\n if (mouseScrollers.length) {\n requestAnimationFrame(() => {\n mouseScrollers.forEach(scroller => {\n const rect = scroller.container.getBoundingClientRect()\n const scrollPercent = rect.y / window.innerHeight\n scroller.textPath.setAttribute('startOffset', scrollPercent * 1.2 * scroller.pathLength)\n })\n })\n }\n })\n}\n\ninitializeMouseScrollers()\nlistenScrollers()\n\n\n/* MADLIBS */ \n$(function() {\n\n $(document).on('keyup', '.orig', function() {\n\n var $this = $(this),\n id = $this.data('id'),\n val = $this.val();\n\n $('input[data-id=' + id + '].orig').val(val).trigger('change');\n });\n\n})","\nvar Plugins;\n(function (Plugins) {\n var AutosizeInput = (function () {\n function AutosizeInput(input, options) {\n var _this = this;\n this._input = $(input);\n this._options = options;\n\n this._mirror = $('');\n\n $.each(['fontFamily', 'fontSize', 'fontWeight', 'fontStyle', 'letterSpacing', 'textTransform', 'wordSpacing', 'textIndent'], function (i, val) {\n _this._mirror[0].style[val] = _this._input.css(val);\n });\n $(\"body\").append(this._mirror);\n\n this._input.on(\"keydown keyup input propertychange change\", function (e) {\n _this.update();\n });\n\n (function () {\n _this.update();\n })();\n }\n Object.defineProperty(AutosizeInput.prototype, \"options\", {\n get: function () {\n return this._options;\n },\n enumerable: true,\n configurable: true\n });\n\n Object.defineProperty(AutosizeInput, \"instanceKey\", {\n get: function () {\n return \"autosizeInputInstance\";\n },\n enumerable: true,\n configurable: true\n });\n\n AutosizeInput.prototype.update = function () {\n var value = this._input.val();\n\n if (!value) {\n value = this._input.attr(\"placeholder\") || \"\";\n }\n\n if (value === this._mirror.text()) {\n return;\n }\n\n this._mirror.text(value);\n\n var newWidth = this._mirror.width() + this._options.space;\n\n this._input.width(newWidth);\n };\n return AutosizeInput;\n })();\n Plugins.AutosizeInput = AutosizeInput;\n\n var AutosizeInputOptions = (function () {\n function AutosizeInputOptions(space) {\n if (typeof space === \"undefined\") { space = 30; }\n this._space = space;\n }\n Object.defineProperty(AutosizeInputOptions.prototype, \"space\", {\n get: function () {\n return this._space;\n },\n set: function (value) {\n this._space = value;\n },\n enumerable: true,\n configurable: true\n });\n return AutosizeInputOptions;\n })();\n Plugins.AutosizeInputOptions = AutosizeInputOptions;\n\n (function ($) {\n var pluginDataAttributeName = \"autosize-input\";\n var validTypes = [\"text\", \"password\", \"search\", \"url\", \"tel\", \"email\"];\n\n $.fn.autosizeInput = function (options) {\n return this.each(function () {\n if (!(this.tagName == \"INPUT\" && $.inArray(this.type, validTypes) > -1)) {\n return;\n }\n\n var $this = $(this);\n\n if (!$this.data(Plugins.AutosizeInput.instanceKey)) {\n if (options == undefined) {\n options = $this.data(pluginDataAttributeName);\n\n if (!(options && typeof options == 'object')) {\n options = new AutosizeInputOptions();\n }\n }\n\n $this.data(Plugins.AutosizeInput.instanceKey, new Plugins.AutosizeInput(this, options));\n }\n });\n };\n\n $(function () {\n $(\"input[data-\" + pluginDataAttributeName + \"]\").autosizeInput();\n });\n })(jQuery);\n})(Plugins || (Plugins = {}));\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))"],"names":["autoScrollers","mouseScrollers","autoScrollerStart","initializeAutoScrollers","document","querySelectorAll","forEach","el","container","textPath","querySelector","style","opacity","setAttribute","pathLength","getAttribute","getTotalLength","textLength","getComputedTextLength","push","initializeMouseScrollers","window","_scrollers","length","requestAnimationFrame","animateAutoScrollers","timestamp","undefined","elapsed","scroller","pos","Math","abs","addEventListener","scrollPercent","getBoundingClientRect","y","innerHeight","$","on","$this","this","id","data","val","trigger","Plugins","AutosizeInput","input","options","_this","_input","_options","_mirror","each","i","css","append","e","update","Object","defineProperty","prototype","get","enumerable","configurable","value","attr","text","newWidth","width","space","AutosizeInputOptions","_space","set","pluginDataAttributeName","validTypes","fn","autosizeInput","tagName","inArray","type","instanceKey","jQuery","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","exports","module","__webpack_modules__","n","getter","__esModule","d","a","definition","key","o","obj","prop","hasOwnProperty","call"],"sourceRoot":""}