{"version":3,"sources":["webpack:///./widgets/siteFooterSitemap.js","webpack:////Users/owenli/Documents/workspace/awi-woolmark-fe/node_modules/scroll-js/dist/scroll.js"],"names":["SiteFooterSitemap","$el","_classCallCheck","this","key","value","_this","$wg","$","slideAnimationDuration","scrollAnimationDuration","scrollEasing","isAnimating","$siteFooter","parents","on","attr","trigger","slideDown","duration","complete","scrollIntoView","document","body","easing","then","slideUp","WG","_regeneratorRuntime","e","t","r","Object","prototype","n","hasOwnProperty","o","defineProperty","i","Symbol","a","iterator","c","asyncIterator","u","toStringTag","define","enumerable","configurable","writable","wrap","Generator","create","Context","makeInvokeMethod","tryCatch","type","arg","call","h","f","s","y","GeneratorFunction","GeneratorFunctionPrototype","p","d","getPrototypeOf","v","values","g","defineIteratorMethods","forEach","_invoke","AsyncIterator","invoke","_typeof","resolve","__await","callInvokeWithMethodAndArg","Error","done","method","delegate","maybeInvokeDelegate","sent","_sent","dispatchException","abrupt","TypeError","resultName","next","nextLoc","pushTryEntry","tryLoc","catchLoc","finallyLoc","afterLoc","tryEntries","push","resetTryEntry","completion","reset","isNaN","length","displayName","isGeneratorFunction","constructor","name","mark","setPrototypeOf","__proto__","awrap","async","Promise","keys","reverse","pop","prev","charAt","slice","stop","rval","handle","finish","delegateYield","__awaiter","thisArg","_arguments","P","generator","reject","fulfilled","step","rejected","result","apply","element","scroller","options","undefined","HTMLElement","concat","validateElement","Element","_sanitizeScrollOption","sanitizeScrollOptions","utils","getDocument","currentContainerScrollYPos","elementScrollYPos","offsetTop","documentElement","window","pageYOffset","getBoundingClientRect","top","el","arguments","_callee","_scroll","currentScrollPosition","scrollProperty","_context","Window","scroll","from","to","prop","startTime","easeFunc","callback","requestAnimationFrame","currentTime","Date","now","time","Math","min","setScrollPosition","getScrollPosition","getScrollPropertyByElement","getEasing","scrollTo","left","props","x","behavior","scrollTop","easingMap","linear","join"],"mappings":"k3BAEA,IAMaA,EAAiB,WAG5B,O,EAFD,SAAAA,EAAYC,I,4FAAKC,CAAA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AAY,EAGjC,SAASS,IAAoC,IAAdP,EAAOmB,UAAAtD,OAAA,QAAAoC,IAAAkB,UAAA,GAAAA,UAAA,GAAG,GASrC,MARyB,WAArBnB,EAAQgD,WACRhD,EAAQnH,OAAS,cACjBmH,EAAQxH,SA3FS,KA6FI,SAArBwH,EAAQgD,WACRhD,EAAQxH,SAAW,EACnBwH,EAAQnH,OAAS,UAEdmH,EAEX,SAASyC,EAAkBvB,GACvB,IAAMvI,EAAW6H,EAAMC,cACvB,OAAIS,IAAOvI,EAASC,MAChBsI,IAAOvI,EAASkI,iBAChBK,aAAcO,OACP9I,EAASC,KAAKqK,WAAatK,EAASkI,gBAAgBoC,UAGpD/B,EAAG+B,UAGlB,SAAST,EAAkBtB,EAAIxJ,GAC3B,IAAMiB,EAAW6H,EAAMC,cACnBS,IAAOvI,EAASC,MAChBsI,IAAOvI,EAASkI,iBAChBK,aAAcO,QACd9I,EAASC,KAAKqK,UAAYvL,EAC1BiB,EAASkI,gBAAgBoC,UAAYvL,GAGrCwJ,EAAG+B,UAAYvL,EAGvB,IAAM8I,EAAQ,CAEVC,YAAW,WACP,OAAO9H,WAGTuK,EAAY,CACdC,OAAM,SAAChK,GACH,OAAOA,GAEX,UAAS,SAACA,GACN,OAAOA,EAAIA,GAEf,WAAU,SAACA,GACP,OAAOA,GAAK,EAAIA,IAEpB,cAAa,SAACA,GACV,OAAOA,EAAI,GAAM,EAAIA,EAAIA,GAAU,EAAI,EAAIA,GAAKA,EAAlB,IAGhCwJ,EAAY,SAAC9J,GACf,IACMkJ,EAAWmB,EAAUrK,GADL,UAEtB,IAAKkJ,EAAU,CACX,IAAM/B,EAAU3G,OAAOmF,KAAK0E,GAAWE,KAAK,KAC5C,MAAM,IAAI/G,MAAM,gEAAD8D,OAAiEtH,EAAM,6BAAAsH,OAA4BH,IAEtH,OAAO+B","file":"71.js","sourcesContent":["/* eslint-disable no-unused-vars */\n/* eslint-disable max-len */\nconst NS = 'SiteFooterSitemap';\nconst CLS = 'siteFooterSitemap';\nconst WG = '.' + CLS + '-';\n\nimport {scrollIntoView} from 'scroll-js';\n\nexport class SiteFooterSitemap {\n\tconstructor($el) {\n\t\tthis.$el = $el;\n\t}\n\n\tinit() {\n\t\tconst $wg = $(this.$el);\n\t\tthis.slideAnimationDuration = 750;\n\t\tthis.scrollAnimationDuration = 750;\n\t\tthis.scrollEasing = 'ease-in-out';\n\t\tthis.isAnimating = false;\n\t\tlet $siteFooter = $wg.parents('.siteFooter');\n\n\t\t$wg.on('siteFooterSitemap.toggle', () => {\n\t\t\tif (!this.isAnimating) {\n\t\t\t\tif ($wg.attr('data-closed') === 'true') {\n\t\t\t\t\t$wg.attr('data-closed', false);\n\t\t\t\t\t$siteFooter.trigger('siteFooter.sitemapButton.toggleClass', {});\n\t\t\t\t\tthis.isAnimating = true;\n\t\t\t\t\t$wg.slideDown({\n\t\t\t\t\t\tduration: this.slideAnimationDuration,\n\t\t\t\t\t\tcomplete: () => {\n\t\t\t\t\t\t\tscrollIntoView($wg[0], document.body, {duration: this.scrollAnimationDuration, easing: this.scrollEasing}).then(() => {\n\t\t\t\t\t\t\t\tthis.isAnimating = false;\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t},\n\t\t\t\t\t});\n\t\t\t\t} else {\n\t\t\t\t\tthis.isAnimating = true;\n\t\t\t\t\t$wg.slideUp({\n\t\t\t\t\t\tduration: this.slideAnimationDuration,\n\t\t\t\t\t\tcomplete: () => {\n\t\t\t\t\t\t\t$wg.attr('data-closed', true);\n\t\t\t\t\t\t\t$siteFooter.trigger('siteFooter.sitemapButton.toggleClass', {});\n\t\t\t\t\t\t\t\tthis.isAnimating = false;\n\t\t\t\t\t\t},\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\n\t\t$wg.on('click', WG + 'close', () => {\n\t\t\tthis.isAnimating = false;\n\t\t\t$wg.trigger('siteFooterSitemap.toggle');\n\t\t});\n\t}\n}\n","/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n\r\nfunction __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\n\nconst DEFAULT_DURATION = 300;\r\nfunction scrollTo(el, options = {}) {\r\n return __awaiter(this, void 0, void 0, function* () {\r\n if (!(el instanceof Element) && !(el instanceof Window)) {\r\n throw new Error(`element passed to scrollTo() must be either the window or a DOM element, you passed ${el}!`);\r\n }\r\n options = sanitizeScrollOptions(options);\r\n const scroll = (from, to, prop, startTime, duration = DEFAULT_DURATION, easeFunc, callback) => {\r\n window.requestAnimationFrame(() => {\r\n const currentTime = Date.now();\r\n const time = Math.min(1, (currentTime - startTime) / duration);\r\n if (from === to) {\r\n return callback ? callback() : null;\r\n }\r\n setScrollPosition(el, easeFunc(time) * (to - from) + from);\r\n /* prevent scrolling, if already there, or at end */\r\n if (time < 1) {\r\n scroll(from, to, prop, startTime, duration, easeFunc, callback);\r\n }\r\n else if (callback) {\r\n callback();\r\n }\r\n });\r\n };\r\n const currentScrollPosition = getScrollPosition(el);\r\n const scrollProperty = getScrollPropertyByElement(el);\r\n return new Promise((resolve) => {\r\n scroll(currentScrollPosition, typeof options.top === 'number'\r\n ? options.top\r\n : currentScrollPosition, scrollProperty, Date.now(), options.duration, getEasing(options.easing), resolve);\r\n });\r\n });\r\n}\r\nfunction scrollIntoView(element, scroller, options) {\r\n validateElement(element);\r\n if (scroller && !(scroller instanceof Element)) {\r\n options = scroller;\r\n scroller = undefined;\r\n }\r\n const { duration, easing } = sanitizeScrollOptions(options);\r\n scroller = scroller || utils.getDocument().body;\r\n let currentContainerScrollYPos = 0;\r\n let elementScrollYPos = element ? element.offsetTop : 0;\r\n const document = utils.getDocument();\r\n // if the container is the document body or document itself, we'll\r\n // need a different set of coordinates for accuracy\r\n if (scroller === document.body || scroller === document.documentElement) {\r\n // using pageYOffset for cross-browser compatibility\r\n currentContainerScrollYPos = window.pageYOffset;\r\n // must add containers scroll y position to ensure an absolute value that does not change\r\n elementScrollYPos =\r\n element.getBoundingClientRect().top + currentContainerScrollYPos;\r\n }\r\n return scrollTo(scroller, {\r\n top: elementScrollYPos,\r\n left: 0,\r\n duration,\r\n easing,\r\n });\r\n}\r\nfunction validateElement(element) {\r\n if (element === undefined) {\r\n const errorMsg = 'The element passed to scrollIntoView() was undefined.';\r\n throw new Error(errorMsg);\r\n }\r\n if (!(element instanceof HTMLElement)) {\r\n throw new Error(`The element passed to scrollIntoView() must be a valid element. You passed ${element}.`);\r\n }\r\n}\r\nfunction getScrollPropertyByElement(el) {\r\n const props = {\r\n window: {\r\n y: 'scrollY',\r\n x: 'scrollX',\r\n },\r\n element: {\r\n y: 'scrollTop',\r\n x: 'scrollLeft',\r\n },\r\n };\r\n const axis = 'y';\r\n if (el instanceof Window) {\r\n return props.window[axis];\r\n }\r\n else {\r\n return props.element[axis];\r\n }\r\n}\r\nfunction sanitizeScrollOptions(options = {}) {\r\n if (options.behavior === 'smooth') {\r\n options.easing = 'ease-in-out';\r\n options.duration = DEFAULT_DURATION;\r\n }\r\n if (options.behavior === 'auto') {\r\n options.duration = 0;\r\n options.easing = 'linear';\r\n }\r\n return options;\r\n}\r\nfunction getScrollPosition(el) {\r\n const document = utils.getDocument();\r\n if (el === document.body ||\r\n el === document.documentElement ||\r\n el instanceof Window) {\r\n return document.body.scrollTop || document.documentElement.scrollTop;\r\n }\r\n else {\r\n return el.scrollTop;\r\n }\r\n}\r\nfunction setScrollPosition(el, value) {\r\n const document = utils.getDocument();\r\n if (el === document.body ||\r\n el === document.documentElement ||\r\n el instanceof Window) {\r\n document.body.scrollTop = value;\r\n document.documentElement.scrollTop = value;\r\n }\r\n else {\r\n el.scrollTop = value;\r\n }\r\n}\r\nconst utils = {\r\n // we're really just exporting this so that tests can mock the document.documentElement\r\n getDocument() {\r\n return document;\r\n },\r\n};\r\nconst easingMap = {\r\n linear(t) {\r\n return t;\r\n },\r\n 'ease-in'(t) {\r\n return t * t;\r\n },\r\n 'ease-out'(t) {\r\n return t * (2 - t);\r\n },\r\n 'ease-in-out'(t) {\r\n return t < 0.5 ? 2 * t * t : -1 + (4 - 2 * t) * t;\r\n },\r\n};\r\nconst getEasing = (easing) => {\r\n const defaultEasing = 'linear';\r\n const easeFunc = easingMap[easing || defaultEasing];\r\n if (!easeFunc) {\r\n const options = Object.keys(easingMap).join(',');\r\n throw new Error(`Scroll error: scroller does not support an easing option of \"${easing}\". Supported options are ${options}`);\r\n }\r\n return easeFunc;\r\n};\n\nexport { DEFAULT_DURATION, easingMap, scrollIntoView, scrollTo, utils };\n"],"sourceRoot":""}