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uE,EAASvE,IACX,OA1CM;AA4CR,IAAI4B,EAAS5B,IAAQ;AACnB,IAAI6E,IAAgC,qBAAjB7E,EAAM8E,UAAwB9E,EAAM8E,YAAY9E;AACnEA,IAAQ4B,EAASiD,KAAUA,IAAQ,KAAMA;AAC3C;AACA,IAAoB,mBAAT7E,GACT,OAAiB,MAAVA,IAAcA,KAASA;AAEhCA,IAAQsE,EAAStE;AACjB,IAAI+E,IAAWN,EAAW/C,KAAK1B;AAC/B,OAAQ+E,KAAYL,EAAUhD,KAAK1B,KAC/B2E,EAAa3E,EAAMK,MAAM,IAAI0E,IAAW,IAAI,KAC3CP,EAAW9C,KAAK1B,KAvDb,OAuD6BA;AACvC;;GC5DIgF,IAA2B,CAAC;AAGhC,SAASC,EAAoBC;AAE5B,IAAIC,IAAeH,EAAyBE;AAC5C,SAAqBnF,MAAjBoF,GACH,OAAOA,EAAapJ;AAGrB,IAAID,IAASkJ,EAAyBE,KAAY;AAGjDnJ,SAAS,CAAC;;AAOX,OAHAqJ,EAAoBF,GAAUpJ,GAAQA,EAAOC,SAASkJ,IAG/CnJ,EAAOC;AACf;ACtBAkJ,EAAoBI,IAAI;AACvB,IAA0B,mBAAfC,YAAyB,OAAOA;AAC3C;AACC,OAAOpJ,QAAQ,IAAIqF,SAAS,cAAb;AAChB,EAAE,OAAOL;AACR,IAAsB,mBAAXvC,QAAqB,OAAOA;AACxC;AACA,CAPuB;ACAxB,MAAM4G,IAAWlI,EAAQ,MACnBmI,IAAanI,EAAQ;CAa3B;AACE,MAAME,IAASU,SAAS7B,cAAc;AAClCmB,KACF,IAAIiI,EAAW;AAAEhI,IAAID;;AAEzB,CAhBAkI;AAEA,MAAMC,IAAkBzH,SAAS7B,cAAc;AAE3CsJ,KACF,IAAIH,EAAS;AACXtJ,MAAMyJ","sources":["webpack://wp/./modules/client/carousel.js","webpack://wp/./modules/engine/koa/tutorial/client/itemSlider.js","webpack://wp/./node_modules/lodash/_Symbol.js","webpack://wp/./node_modules/lodash/_baseGetTag.js","webpack://wp/./node_modules/lodash/_baseTrim.js","webpack://wp/./node_modules/lodash/_freeGlobal.js","webpack://wp/./node_modules/lodash/_getRawTag.js","webpack://wp/./node_modules/lodash/_objectToString.js","webpack://wp/./node_modules/lodash/_root.js","webpack://wp/./node_modules/lodash/_trimmedEndIndex.js","webpack://wp/./node_modules/lodash/debounce.js","webpack://wp/./node_modules/lodash/isObject.js","webpack://wp/./node_modules/lodash/isObjectLike.js","webpack://wp/./node_modules/lodash/isSymbol.js","webpack://wp/./node_modules/lodash/now.js","webpack://wp/./node_modules/lodash/throttle.js","webpack://wp/./node_modules/lodash/toNumber.js","webpack://wp/webpack/bootstrap","webpack://wp/webpack/runtime/global","webpack://wp/./modules/courses/client/frontpage/index.js"],"sourcesContent":["module.exports = class Carousel {\n constructor({ elem }) {\n this.elem = elem;\n\n this.list = elem.querySelector('[data-slides]');\n\n this.arrowLeft = elem.querySelector('[data-arrow-left]');\n this.arrowRight = elem.querySelector('[data-arrow-right]');\n this.position = 0;\n\n this.arrowRight.onclick = this.next.bind(this);\n this.arrowLeft.onclick = this.prev.bind(this);\n\n this.render();\n }\n\n next() {\n // guard against external calls\n if (this.position == this.list.children.length - 1) return;\n this.position++;\n this.render();\n }\n\n setPosition(position) {\n this.position = position;\n this.render();\n }\n\n prev() {\n if (this.position == 0) return;\n this.position--;\n this.render();\n }\n\n render() {\n this.list.style.transform = this.position ? `translate3d(-${this.position}00%,0,0)` : '';\n\n if (this.position === 0) {\n this.arrowLeft.setAttribute('data-arrow-hidden', 1);\n } else {\n this.arrowLeft.removeAttribute('data-arrow-hidden');\n }\n\n if (this.position == this.list.children.length - 1) {\n this.arrowRight.setAttribute('data-arrow-hidden', 1);\n } else {\n this.arrowRight.removeAttribute('data-arrow-hidden');\n }\n }\n};\n","let throttle = require('lodash/throttle');\n\nclass itemSlider {\n constructor(options) {\n this.slider = options.el;\n this.list = this.slider.querySelector('ul');\n if (options.class) this.classList = options.class.split(\" \");\n this.disabled = false;\n this.init();\n this.bindHandlers();\n }\n\n init() {\n if (this.classList && this.classList.length) this.slider.classList.add(...this.classList);\n this.slider.classList.add('slider_disable-left');\n\n const sliderContainer = document.createElement('div');\n sliderContainer.classList.add('slider__container');\n sliderContainer.appendChild(this.list);\n\n this.slider.innerHTML = '' +\n '';\n\n this.slider.appendChild(sliderContainer);\n\n this.innerWidth = this.countInnerWidth();\n this.arrowLeft = this.slider.querySelector('.slider__arrow_left');\n this.arrowRight = this.slider.querySelector('.slider__arrow_right');\n\n }\n\n countInnerWidth() {\n return [...this.list.querySelectorAll('li')].reduce((sum, item) => {\n const style = window.getComputedStyle(item);\n const width = item.offsetWidth + parseFloat(style.marginLeft) + parseFloat(style.marginRight);\n return sum + width;\n }, 0);\n }\n\n bindHandlers() {\n this.transformX = 0;\n this.arrowLeft.addEventListener('click', () => {\n this.transformX -= this.list.clientWidth;\n if (this.transformX < 0) this.transformX = 0;\n this.render();\n });\n\n this.arrowRight.addEventListener('click', () => {\n this.transformX = Math.min(this.transformX + this.list.clientWidth, this.list.scrollWidth - this.list.clientWidth);\n this.render();\n });\n\n window.addEventListener('resize', throttle(() => {\n this.onResize();\n }, 200));\n\n this.onResize();\n }\n\n\n onResize() {\n if (!this.disabled && (this.innerWidth <= this.list.offsetWidth)) {\n this.slider.classList.add('slider_disabled');\n this.disabled = true;\n if (this.transformX > 0) {\n this.transformX = 0;\n if (this.slider.classList.contains('slider_disable-right')) this.slider.classList.remove('slider_disable-right');\n this.render();\n }\n } else if (this.disabled && (this.innerWidth > this.list.offsetWidth)) {\n this.slider.classList.remove('slider_disabled');\n if (this.slider.classList.contains('slider_disable-right')) this.slider.classList.remove('slider_disable-right');\n this.disabled = false;\n }\n }\n\n render() {\n this.list.style.transform = this.transformX > 0 ? `translateX(${-this.transformX}px)` : 'translateX(0)';\n\n if (this.transformX === 0) {\n this.slider.classList.add('slider_disable-left');\n } else {\n this.slider.classList.remove('slider_disable-left');\n }\n\n if (this.transformX == this.list.scrollWidth - this.list.clientWidth) {\n this.slider.classList.add('slider_disable-right');\n } else {\n this.slider.classList.remove('slider_disable-right');\n }\n }\n}\n\nmodule.exports = itemSlider;\n","var root = require('./_root');\n\n/** Built-in value references. */\nvar Symbol = root.Symbol;\n\nmodule.exports = Symbol;\n","var Symbol = require('./_Symbol'),\n getRawTag = require('./_getRawTag'),\n objectToString = require('./_objectToString');\n\n/** `Object#toString` result references. */\nvar nullTag = '[object Null]',\n undefinedTag = '[object Undefined]';\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * The base implementation of `getTag` without fallbacks for buggy environments.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nfunction baseGetTag(value) {\n if (value == null) {\n return value === undefined ? undefinedTag : nullTag;\n }\n return (symToStringTag && symToStringTag in Object(value))\n ? getRawTag(value)\n : objectToString(value);\n}\n\nmodule.exports = baseGetTag;\n","var trimmedEndIndex = require('./_trimmedEndIndex');\n\n/** Used to match leading whitespace. */\nvar reTrimStart = /^\\s+/;\n\n/**\n * The base implementation of `_.trim`.\n *\n * @private\n * @param {string} string The string to trim.\n * @returns {string} Returns the trimmed string.\n */\nfunction baseTrim(string) {\n return string\n ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, '')\n : string;\n}\n\nmodule.exports = baseTrim;\n","/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\nmodule.exports = freeGlobal;\n","var Symbol = require('./_Symbol');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the raw `toStringTag`.\n */\nfunction getRawTag(value) {\n var isOwn = hasOwnProperty.call(value, symToStringTag),\n tag = value[symToStringTag];\n\n try {\n value[symToStringTag] = undefined;\n var unmasked = true;\n } catch (e) {}\n\n var result = nativeObjectToString.call(value);\n if (unmasked) {\n if (isOwn) {\n value[symToStringTag] = tag;\n } else {\n delete value[symToStringTag];\n }\n }\n return result;\n}\n\nmodule.exports = getRawTag;\n","/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/**\n * Converts `value` to a string using `Object.prototype.toString`.\n *\n * @private\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n */\nfunction objectToString(value) {\n return nativeObjectToString.call(value);\n}\n\nmodule.exports = objectToString;\n","var freeGlobal = require('./_freeGlobal');\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\nmodule.exports = root;\n","/** Used to match a single whitespace character. */\nvar reWhitespace = /\\s/;\n\n/**\n * Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace\n * character of `string`.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {number} Returns the index of the last non-whitespace character.\n */\nfunction trimmedEndIndex(string) {\n var index = string.length;\n\n while (index-- && reWhitespace.test(string.charAt(index))) {}\n return index;\n}\n\nmodule.exports = trimmedEndIndex;\n","var isObject = require('./isObject'),\n now = require('./now'),\n toNumber = require('./toNumber');\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max,\n nativeMin = Math.min;\n\n/**\n * Creates a debounced function that delays invoking `func` until after `wait`\n * milliseconds have elapsed since the last time the debounced function was\n * invoked. The debounced function comes with a `cancel` method to cancel\n * delayed `func` invocations and a `flush` method to immediately invoke them.\n * Provide `options` to indicate whether `func` should be invoked on the\n * leading and/or trailing edge of the `wait` timeout. The `func` is invoked\n * with the last arguments provided to the debounced function. Subsequent\n * calls to the debounced function return the result of the last `func`\n * invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the debounced function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.debounce` and `_.throttle`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to debounce.\n * @param {number} [wait=0] The number of milliseconds to delay.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=false]\n * Specify invoking on the leading edge of the timeout.\n * @param {number} [options.maxWait]\n * The maximum time `func` is allowed to be delayed before it's invoked.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new debounced function.\n * @example\n *\n * // Avoid costly calculations while the window size is in flux.\n * jQuery(window).on('resize', _.debounce(calculateLayout, 150));\n *\n * // Invoke `sendMail` when clicked, debouncing subsequent calls.\n * jQuery(element).on('click', _.debounce(sendMail, 300, {\n * 'leading': true,\n * 'trailing': false\n * }));\n *\n * // Ensure `batchLog` is invoked once after 1 second of debounced calls.\n * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });\n * var source = new EventSource('/stream');\n * jQuery(source).on('message', debounced);\n *\n * // Cancel the trailing debounced invocation.\n * jQuery(window).on('popstate', debounced.cancel);\n */\nfunction debounce(func, wait, options) {\n var lastArgs,\n lastThis,\n maxWait,\n result,\n timerId,\n lastCallTime,\n lastInvokeTime = 0,\n leading = false,\n maxing = false,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n wait = toNumber(wait) || 0;\n if (isObject(options)) {\n leading = !!options.leading;\n maxing = 'maxWait' in options;\n maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n\n function invokeFunc(time) {\n var args = lastArgs,\n thisArg = lastThis;\n\n lastArgs = lastThis = undefined;\n lastInvokeTime = time;\n result = func.apply(thisArg, args);\n return result;\n }\n\n function leadingEdge(time) {\n // Reset any `maxWait` timer.\n lastInvokeTime = time;\n // Start the timer for the trailing edge.\n timerId = setTimeout(timerExpired, wait);\n // Invoke the leading edge.\n return leading ? invokeFunc(time) : result;\n }\n\n function remainingWait(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime,\n timeWaiting = wait - timeSinceLastCall;\n\n return maxing\n ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke)\n : timeWaiting;\n }\n\n function shouldInvoke(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime;\n\n // Either this is the first call, activity has stopped and we're at the\n // trailing edge, the system time has gone backwards and we're treating\n // it as the trailing edge, or we've hit the `maxWait` limit.\n return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||\n (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));\n }\n\n function timerExpired() {\n var time = now();\n if (shouldInvoke(time)) {\n return trailingEdge(time);\n }\n // Restart the timer.\n timerId = setTimeout(timerExpired, remainingWait(time));\n }\n\n function trailingEdge(time) {\n timerId = undefined;\n\n // Only invoke if we have `lastArgs` which means `func` has been\n // debounced at least once.\n if (trailing && lastArgs) {\n return invokeFunc(time);\n }\n lastArgs = lastThis = undefined;\n return result;\n }\n\n function cancel() {\n if (timerId !== undefined) {\n clearTimeout(timerId);\n }\n lastInvokeTime = 0;\n lastArgs = lastCallTime = lastThis = timerId = undefined;\n }\n\n function flush() {\n return timerId === undefined ? result : trailingEdge(now());\n }\n\n function debounced() {\n var time = now(),\n isInvoking = shouldInvoke(time);\n\n lastArgs = arguments;\n lastThis = this;\n lastCallTime = time;\n\n if (isInvoking) {\n if (timerId === undefined) {\n return leadingEdge(lastCallTime);\n }\n if (maxing) {\n // Handle invocations in a tight loop.\n clearTimeout(timerId);\n timerId = setTimeout(timerExpired, wait);\n return invokeFunc(lastCallTime);\n }\n }\n if (timerId === undefined) {\n timerId = setTimeout(timerExpired, wait);\n }\n return result;\n }\n debounced.cancel = cancel;\n debounced.flush = flush;\n return debounced;\n}\n\nmodule.exports = debounce;\n","/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return value != null && (type == 'object' || type == 'function');\n}\n\nmodule.exports = isObject;\n","/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return value != null && typeof value == 'object';\n}\n\nmodule.exports = isObjectLike;\n","var baseGetTag = require('./_baseGetTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && baseGetTag(value) == symbolTag);\n}\n\nmodule.exports = isSymbol;\n","var root = require('./_root');\n\n/**\n * Gets the timestamp of the number of milliseconds that have elapsed since\n * the Unix epoch (1 January 1970 00:00:00 UTC).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Date\n * @returns {number} Returns the timestamp.\n * @example\n *\n * _.defer(function(stamp) {\n * console.log(_.now() - stamp);\n * }, _.now());\n * // => Logs the number of milliseconds it took for the deferred invocation.\n */\nvar now = function() {\n return root.Date.now();\n};\n\nmodule.exports = now;\n","var debounce = require('./debounce'),\n isObject = require('./isObject');\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/**\n * Creates a throttled function that only invokes `func` at most once per\n * every `wait` milliseconds. The throttled function comes with a `cancel`\n * method to cancel delayed `func` invocations and a `flush` method to\n * immediately invoke them. Provide `options` to indicate whether `func`\n * should be invoked on the leading and/or trailing edge of the `wait`\n * timeout. The `func` is invoked with the last arguments provided to the\n * throttled function. Subsequent calls to the throttled function return the\n * result of the last `func` invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the throttled function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.throttle` and `_.debounce`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to throttle.\n * @param {number} [wait=0] The number of milliseconds to throttle invocations to.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=true]\n * Specify invoking on the leading edge of the timeout.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new throttled function.\n * @example\n *\n * // Avoid excessively updating the position while scrolling.\n * jQuery(window).on('scroll', _.throttle(updatePosition, 100));\n *\n * // Invoke `renewToken` when the click event is fired, but not more than once every 5 minutes.\n * var throttled = _.throttle(renewToken, 300000, { 'trailing': false });\n * jQuery(element).on('click', throttled);\n *\n * // Cancel the trailing throttled invocation.\n * jQuery(window).on('popstate', throttled.cancel);\n */\nfunction throttle(func, wait, options) {\n var leading = true,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n if (isObject(options)) {\n leading = 'leading' in options ? !!options.leading : leading;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n return debounce(func, wait, {\n 'leading': leading,\n 'maxWait': wait,\n 'trailing': trailing\n });\n}\n\nmodule.exports = throttle;\n","var baseTrim = require('./_baseTrim'),\n isObject = require('./isObject'),\n isSymbol = require('./isSymbol');\n\n/** Used as references for various `Number` constants. */\nvar NAN = 0 / 0;\n\n/** Used to detect bad signed hexadecimal string values. */\nvar reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n/** Used to detect binary string values. */\nvar reIsBinary = /^0b[01]+$/i;\n\n/** Used to detect octal string values. */\nvar reIsOctal = /^0o[0-7]+$/i;\n\n/** Built-in method references without a dependency on `root`. */\nvar freeParseInt = parseInt;\n\n/**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\nfunction toNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n if (isSymbol(value)) {\n return NAN;\n }\n if (isObject(value)) {\n var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n value = isObject(other) ? (other + '') : other;\n }\n if (typeof value != 'string') {\n return value === 0 ? value : +value;\n }\n value = baseTrim(value);\n var isBinary = reIsBinary.test(value);\n return (isBinary || reIsOctal.test(value))\n ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\n : (reIsBadHex.test(value) ? NAN : +value);\n}\n\nmodule.exports = toNumber;\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","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","const Carousel = require('client/carousel');\nconst ItemSlider = require('engine/koa/tutorial/client/itemSlider');\n\ninitParticipantsSlider();\n\nconst coursesFeedback = document.querySelector('.courses-feedback-inline');\n\nif (coursesFeedback) {\n new Carousel({\n elem: coursesFeedback\n });\n}\n\n\nfunction initParticipantsSlider() {\n const slider = document.querySelector('[data-participants-slider]');\n if (slider) {\n new ItemSlider({ el: slider });\n }\n}\n"],"names":["module","exports","constructor","elem","this","list","querySelector","arrowLeft","arrowRight","position","onclick","next","bind","prev","render","children","length","setPosition","style","transform","setAttribute","removeAttribute","throttle","require","options","slider","el","class","classList","split","disabled","init","bindHandlers","add","sliderContainer","document","createElement","appendChild","innerHTML","innerWidth","countInnerWidth","querySelectorAll","reduce","sum","item","window","getComputedStyle","offsetWidth","parseFloat","marginLeft","marginRight","transformX","addEventListener","clientWidth","Math","min","scrollWidth","onResize","contains","remove","Symbol","getRawTag","objectToString","symToStringTag","toStringTag","undefined","value","Object","trimmedEndIndex","reTrimStart","string","slice","replace","freeGlobal","global","objectProto","prototype","hasOwnProperty","nativeObjectToString","toString","isOwn","call","tag","unmasked","e","result","freeSelf","self","root","Function","reWhitespace","index","test","charAt","isObject","now","toNumber","nativeMax","max","nativeMin","func","wait","lastArgs","lastThis","maxWait","timerId","lastCallTime","lastInvokeTime","leading","maxing","trailing","TypeError","invokeFunc","time","args","thisArg","apply","shouldInvoke","timeSinceLastCall","timerExpired","trailingEdge","setTimeout","timeWaiting","remainingWait","debounced","isInvoking","arguments","leadingEdge","clearTimeout","cancel","flush","type","baseGetTag","isObjectLike","Date","debounce","baseTrim","isSymbol","reIsBadHex","reIsBinary","reIsOctal","freeParseInt","parseInt","other","valueOf","isBinary","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","__webpack_modules__","g","globalThis","Carousel","ItemSlider","initParticipantsSlider","coursesFeedback"],"sourceRoot":""}