{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./ClientApp/ts/scripts/components/cookies-message.ts","webpack:///./ClientApp/ts/bootstraper.ts","webpack:///./ClientApp/ts/scripts/tab-navigation.ts","webpack:///(webpack)/buildin/global.js","webpack:///./ClientApp/ts/scripts/main-navigation.ts","webpack:///./node_modules/promise-polyfill/src/finally.js","webpack:///./node_modules/svg4everybody/dist/svg4everybody.min.js","webpack:///./node_modules/promise-polyfill/src/index.js","webpack:///./node_modules/url-polyfill/url-polyfill.js","webpack:///./node_modules/promise-polyfill/src/polyfill.js","webpack:///./node_modules/timers-browserify/main.js","webpack:///./node_modules/setimmediate/setImmediate.js","webpack:///./node_modules/process/browser.js","webpack:///./node_modules/nodelist-foreach-polyfill/index.js","webpack:///./ClientApp/scss/main.scss?c501","webpack:///./node_modules/style-loader/lib/addStyles.js","webpack:///./node_modules/style-loader/lib/urls.js","webpack:///./node_modules/whatwg-fetch/fetch.js","webpack:///./ClientApp/ts/scripts/common.ts"],"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","CookiesMessage","_this","this","monthUnixTime","cookiesMessageElement","document","querySelector","cookiesConfirmDate","localStorage","getItem","Number","Date","now","classList","add","addEventListener","confirmButtonClick","setItem","String","remove","__webpack_exports__","bootstraper_Bootstraper","Bootstraper","bootsrtapOnWindowLoaded","page","window","TabNavigation","locationHash","location","hash","initSelectors","initTabs","body","scrollTop","documentElement","isTabsExists","querySelectorAll","length","mainTabs","mainTabLinks","secondaryTabLinks","tabLinks","tabContents","tabSelector","productsAnnounces","initRandomTabs","initDefaultTabs","setTimeout","moveTabsSlider","initProducts","initTabClick","link","changeTabs","defaultAnchor","getAttribute","slice","forEach","activeAnchor","visible","split","scrollIntoView","navigator","appVersion","indexOf","event","preventDefault","contains","href","anchor","history","pushState","parentElement","block","behavior","currentLink","changeContent","activeTab","setAttribute","offsetWidth","offsetLeft","currentContent","getElementById","content","productsAnnounce","dataLink","g","Function","e","MainNavigation","initMenu","mainMenuLinks","secondLevelMenuLinks","currentLocation","toLowerCase","callback","constructor","then","resolve","reason","reject","__WEBPACK_AMD_DEFINE_RESULT__","a","undefined","svg4everybody","b","createDocumentFragment","hasAttribute","f","cloneNode","childNodes","appendChild","firstChild","onreadystatechange","readyState","_cachedDocument","implementation","createHTMLDocument","innerHTML","responseText","_cachedTarget","_embeds","splice","map","id","parent","svg","nodeName","parentNode","top","self","polyfill","test","userAgent","match","requestAnimationFrame","getElementsByTagName","h","j","k","attributeName","validate","removeChild","q","shift","join","XMLHttpRequest","open","send","push","apply","setImmediate","_finally__WEBPACK_IMPORTED_MODULE_0__","setTimeoutFunc","isArray","x","Boolean","noop","Promise","fn","TypeError","_state","_handled","_value","_deferreds","doResolve","handle","deferred","_immediateFn","cb","onFulfilled","onRejected","ret","promise","newValue","finale","thisArg","arguments","_unhandledRejectionFn","len","Handler","done","ex","prom","all","arr","args","Array","remaining","res","val","race","err","console","warn","global","iteratorSupported","iterator","error","checkIfIteratorIsSupported","createIterator","items","next","serializeParam","encodeURIComponent","replace","deserializeParam","decodeURIComponent","URLSearchParams","toString","searchString","writable","typeofSearchString","_fromString","append","entry","proto","_entries","delete","getAll","has","set","entries","keys","values","searchArray","polyfillURLSearchParams","sort","configurable","attribute","attributes","u","URL","pathname","searchParams","checkIfURLIsSupported","_URL","url","base","baseElement","doc","createElement","head","Error","anchorElement","protocol","search","enableSearchUpdate","enableSearchParamsUpdate","methodName","method","_anchorElement","linkURLWithAnchorAttribute","_updateSearchParams","defineProperties","origin","expectedPort","http:","https:","ftp:","addPortToOrigin","port","hostname","password","username","createObjectURL","blob","revokeObjectURL","polyfillURL","getOrigin","setInterval","_index__WEBPACK_IMPORTED_MODULE_0__","_finally__WEBPACK_IMPORTED_MODULE_1__","globalNS","scope","Timeout","clearFn","_id","_clearFn","clearTimeout","clearInterval","timeout","close","unref","ref","enroll","item","msecs","_idleTimeoutId","_idleTimeout","unenroll","_unrefActive","active","_onTimeout","clearImmediate","process","registerImmediate","html","channel","messagePrefix","onGlobalMessage","nextHandle","tasksByHandle","currentlyRunningATask","attachTo","getPrototypeOf","nextTick","runIfPresent","postMessage","importScripts","postMessageIsAsynchronous","oldOnMessage","onmessage","canUsePostMessage","MessageChannel","port1","data","port2","script","Math","random","source","attachEvent","task","run","cachedSetTimeout","cachedClearTimeout","defaultSetTimout","defaultClearTimeout","runTimeout","fun","currentQueue","queue","draining","queueIndex","cleanUpNextTick","concat","drainQueue","marker","runClearTimeout","Item","array","title","browser","env","argv","version","versions","on","addListener","once","off","removeListener","removeAllListeners","emit","prependListener","prependOnceListener","listeners","binding","cwd","chdir","dir","umask","NodeList","options","hmr","transform","insertInto","locals","memo","stylesInDom","isOldIE","atob","getElement","target","styleTarget","HTMLIFrameElement","contentDocument","singleton","singletonCounter","stylesInsertedAtTop","fixUrls","addStylesToDom","styles","domStyle","refs","parts","addStyle","listToStyles","list","newStyles","part","css","media","sourceMap","insertStyleElement","style","lastStyleElementInsertedAtTop","insertAt","nextSibling","insertBefore","before","removeStyleElement","idx","createStyleElement","attrs","type","nonce","nc","getNonce","addAttrs","el","obj","update","result","default","styleIndex","applyToSingletonTag","Blob","btoa","rel","createLinkElement","autoFixUrls","convertToAbsoluteUrls","unescape","JSON","stringify","oldSrc","styleSheet","cssText","createTextNode","newObj","DEBUG","newList","mayRemove","textStore","replaceText","index","replacement","filter","cssNode","baseUrl","host","currentDir","fullMatch","origUrl","newUrl","unquotedOrigUrl","trim","$1","support","iterable","formData","arrayBuffer","viewClasses","isArrayBufferView","ArrayBuffer","isView","normalizeName","normalizeValue","iteratorFor","Headers","headers","header","getOwnPropertyNames","consumed","bodyUsed","fileReaderReady","reader","onload","onerror","readBlobAsArrayBuffer","FileReader","readAsArrayBuffer","bufferClone","buf","view","Uint8Array","byteLength","buffer","Body","_initBody","_bodyInit","_bodyText","isPrototypeOf","_bodyBlob","FormData","_bodyFormData","DataView","_bodyArrayBuffer","rejected","text","readAsText","chars","fromCharCode","readArrayBufferAsText","decode","json","parse","oldValue","methods","Request","input","upcased","credentials","signal","toUpperCase","referrer","form","bytes","Response","bodyInit","status","ok","statusText","clone","response","redirectStatuses","redirect","RangeError","DOMException","message","stack","fetch","init","request","aborted","xhr","abortXhr","abort","rawHeaders","getAllResponseHeaders","line","responseURL","ontimeout","onabort","withCredentials","responseType","setRequestHeader","removeEventListener","common_CommonPage","CommonPage","mainNavigation","main_navigation","svg4everybody_min_default","onResizeWindow","tab_navigation","currentWidth","innerWidth","currentSize","setProperty","bootstraper"],"mappings":"aACA,IAAAA,EAAA,GAGA,SAAAC,EAAAC,GAGA,GAAAF,EAAAE,GACA,OAAAF,EAAAE,GAAAC,QAGA,IAAAC,EAAAJ,EAAAE,GAAA,CACAG,EAAAH,EACAI,GAAA,EACAH,QAAA,IAUA,OANAI,EAAAL,GAAAM,KAAAJ,EAAAD,QAAAC,IAAAD,QAAAF,GAGAG,EAAAE,GAAA,EAGAF,EAAAD,QAKAF,EAAAQ,EAAAF,EAGAN,EAAAS,EAAAV,EAGAC,EAAAU,EAAA,SAAAR,EAAAS,EAAAC,GACAZ,EAAAa,EAAAX,EAAAS,IACAG,OAAAC,eAAAb,EAAAS,EAAA,CAA0CK,YAAA,EAAAC,IAAAL,KAK1CZ,EAAAkB,EAAA,SAAAhB,GACA,oBAAAiB,eAAAC,aACAN,OAAAC,eAAAb,EAAAiB,OAAAC,YAAA,CAAwDC,MAAA,WAExDP,OAAAC,eAAAb,EAAA,cAAiDmB,OAAA,KAQjDrB,EAAAsB,EAAA,SAAAD,EAAAE,GAEA,GADA,EAAAA,IAAAF,EAAArB,EAAAqB,IACA,EAAAE,EAAA,OAAAF,EACA,KAAAE,GAAA,iBAAAF,QAAAG,WAAA,OAAAH,EACA,IAAAI,EAAAX,OAAAY,OAAA,MAGA,GAFA1B,EAAAkB,EAAAO,GACAX,OA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AAiB,IAAIC,EAAA,eAEtBC,EAAA1b,GACA0b,MAGJ7hB,KAAK8hB,iBACLvgB,OAAOV,iBAAiB,SAAU,WAAM,OAAAd,EAAK+hB,mBAAkB,GAG3DC,EAAA,cAAc9f,eACQ,IAAI8f,EAAA,cActC,OAVYL,EAAAhiB,UAAAoiB,eAAR,WACI,IAAME,EAAezgB,OAAO0gB,WAC5B,GAAID,EAAe,KAAM,CACrB,IAAME,EAAsB,KAAQF,EACpC7hB,SAAS6B,gBAAgByW,MAAM0J,YAAY,YAAgBD,EAAW,WAEtE/hB,SAAS6B,gBAAgByW,MAAM0J,YAAY,YAAa,SAIpET,EA9BA,GAgCAU,EAAA,EAAY/gB,wBAAwBogB","file":"js/common.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 = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 22);\n","export class CookiesMessage {\r\n private readonly monthUnixTime: number = 2629743;\r\n\r\n private readonly cookiesMessageElement: HTMLDivElement;\r\n\r\n constructor() {\r\n this.cookiesMessageElement = document.querySelector('.cookies-message');\r\n const cookiesConfirmDate: string = localStorage.getItem('cookiesConfirmDate');\r\n if (!cookiesConfirmDate || Number(cookiesConfirmDate) + this.monthUnixTime * 2 < Date.now() / 1000.0) {\r\n this.cookiesMessageElement.classList.add('visible');\r\n }\r\n const confirmButton: HTMLButtonElement = document.querySelector('.cookies-message__button');\r\n confirmButton.addEventListener('click', (): void => this.confirmButtonClick());\r\n }\r\n\r\n private confirmButtonClick(): void {\r\n localStorage.setItem('cookiesConfirmDate', String(Date.now() / 1000.0));\r\n this.cookiesMessageElement.classList.remove('visible');\r\n }\r\n}\r\n","import { CookiesMessage } from \"./scripts/components/cookies-message\";\r\n\r\nexport class Bootstraper {\r\n public static bootsrtapOnWindowLoaded(page): void {\r\n window.addEventListener('load', function() {\r\n new page();\r\n new CookiesMessage();\r\n });\r\n }\r\n}\r\n","export class TabNavigation {\r\n\r\n private defaultAnchor: string;\r\n private mainTabs: Element;\r\n private mainTabLinks: NodeListOf;\r\n private secondaryTabLinks: NodeListOf;\r\n private tabLinks: NodeListOf;\r\n private tabContents: NodeListOf;\r\n private tabSelector;\r\n private locationHash: string;\r\n private productsAnnounces: NodeListOf;\r\n\r\n constructor() {\r\n this.locationHash = window.location.hash;\r\n\r\n this.initSelectors();\r\n this.initTabs();\r\n\r\n document.body.scrollTop = 0;\r\n document.documentElement.scrollTop = 0;\r\n }\r\n\r\n /** Возвращет true если обнаружена разметка под табы, в противном случае возвращает false. */\r\n public static isTabsExists(): boolean {\r\n const tabs: NodeListOf = document.querySelectorAll('.tabs__tab-link');\r\n const isTabsExists: boolean = tabs.length > 0;\r\n return isTabsExists;\r\n }\r\n\r\n /** Инициализирует селекторы */\r\n private initSelectors(): void {\r\n this.mainTabs = document.querySelector('.main-tabs');\r\n this.mainTabLinks = document.querySelectorAll('.main-tabs .tabs__tab-link');\r\n this.secondaryTabLinks = document.querySelectorAll('.secondary-tabs .tabs__tab-link');\r\n this.tabLinks = document.querySelectorAll('.tabs__tab-link');\r\n this.tabContents = document.querySelectorAll('.tab-content');\r\n this.tabSelector = document.querySelector('.main-tabs .tabs__selector');\r\n this.productsAnnounces = document.querySelectorAll('#products-announce');\r\n }\r\n\r\n /** Инициализирует табы */\r\n private initTabs(): void {\r\n if (this.tabLinks.length === 0) {\r\n return;\r\n };\r\n\r\n // Если в URL есть хэш, то делаем соответствующий таб и контент активными\r\n if (this.locationHash.length > 0) {\r\n this.initRandomTabs();\r\n }\r\n\r\n //Иначе активируем первый таб и показываем контент первого таба\r\n else {\r\n this.initDefaultTabs();\r\n };\r\n\r\n // Специально для ИЕ чтобы успел все отрендерить и правильно расчитать\r\n setTimeout(() => {\r\n this.moveTabsSlider();\r\n }, 20);\r\n this.initProducts(null);\r\n this.initTabClick();\r\n\r\n // Позиционирует бегунок при ресайзе страницы\r\n window.addEventListener('resize', () => {\r\n this.moveTabsSlider();\r\n });\r\n\r\n // Переключает табы из истории браузера\r\n window.addEventListener('popstate', () => {\r\n let hash = window.location.hash;\r\n let link = document.querySelector(`a[href=\"${hash}\"]`);\r\n this.changeTabs(link);\r\n });\r\n }\r\n\r\n /** Инициализирует табы при попадании на страницу без #hash */\r\n private initDefaultTabs(): void {\r\n this.defaultAnchor = this.mainTabLinks[0].getAttribute('href');\r\n window.location.hash = this.defaultAnchor;\r\n\r\n // Делаем активными первые табы\r\n this.mainTabLinks[0].classList.add('tabs__tab-link_is-active');\r\n\r\n if (this.secondaryTabLinks[0]) {\r\n this.secondaryTabLinks[0].classList.add('tabs__tab-link_is-active');\r\n }\r\n\r\n // Делаем видимым контент первого таба\r\n // Таймаут для того чтобы анимировать через CSS, после того как стало display:block\r\n this.tabContents[0].classList.add('tab-content_visible');\r\n setTimeout(() => {\r\n this.tabContents[0].classList.add('tab-content_faded');\r\n }, 10)\r\n }\r\n\r\n /** Инициализирует табы при попадании на страницу c #hash */\r\n private initRandomTabs(): void {\r\n // Делаем активным таб совпадающим с #hash\r\n [].slice.call(this.tabLinks).forEach(link => {\r\n const activeAnchor = link.getAttribute('href')\r\n if (activeAnchor == this.locationHash) {\r\n link.classList.add('tabs__tab-link_is-active');\r\n this.defaultAnchor = activeAnchor;\r\n };\r\n });\r\n\r\n // Делаем видимым контент совпадающим с #hash\r\n [].slice.call(this.tabContents).forEach(visible => {\r\n if (visible.getAttribute('id') == this.locationHash.split('#')[1]) {\r\n visible.classList.add('tab-content_visible');\r\n\r\n // Таймаут для того чтобы анимировать через CSS, после того как стало display:block\r\n setTimeout(() => {\r\n visible.classList.add('tab-content_faded');\r\n }, 10)\r\n };\r\n });\r\n\r\n //Костыль под ИЕ который скролит страницу вначало\r\n setTimeout(() => {\r\n document.querySelector('.header').scrollIntoView();\r\n }, 150);\r\n if (navigator.appVersion.indexOf('MSIE 10') !== -1 || navigator.appVersion.indexOf('rv:11.0') !== -1) {\r\n setTimeout(() => {\r\n document.querySelector('.header').scrollIntoView();\r\n }, 350);\r\n };\r\n }\r\n\r\n /** Инициализирует клик по табу */\r\n private initTabClick(): void {\r\n [].slice.call(this.tabLinks).forEach(link => {\r\n link.addEventListener('click', (event) => {\r\n event.preventDefault();\r\n if (!link.classList.contains('tabs__tab-link_is-active')) {\r\n let href = location.href.split('#')[0];\r\n let anchor = link.getAttribute('href');\r\n // Подставяем #hash в URL\r\n history.pushState(null, null, href + anchor);\r\n\r\n this.changeTabs(link);\r\n\r\n // Скролим наверх если переключаем второстепенные табы\r\n if (link.parentElement.parentElement.classList.contains('secondary-tabs')) {\r\n this.mainTabs.scrollIntoView({ block: 'start', behavior: 'smooth' });\r\n }\r\n }\r\n });\r\n });\r\n }\r\n\r\n //** Выполняет действия при переключении любого таба */\r\n private changeTabs(currentLink: Element): void {\r\n let anchor = currentLink.getAttribute('href').split('#')[1];\r\n\r\n // Делаем нужные табы активными\r\n [].slice.call(this.tabLinks).forEach(link => {\r\n link.classList.remove('tabs__tab-link_is-active');\r\n if (link.getAttribute('href') == '#'+anchor) {\r\n link.classList.add('tabs__tab-link_is-active');\r\n };\r\n });\r\n\r\n this.moveTabsSlider();\r\n this.changeContent(anchor);\r\n this.initProducts(anchor);\r\n }\r\n\r\n /** Двигает слайдер табов */\r\n private moveTabsSlider(): void {\r\n let activeTab = document.querySelector('.main-tabs .tabs__tab-link_is-active');\r\n this.tabSelector.setAttribute(\r\n 'style', `width: ${activeTab.offsetWidth}px; transform: translateX(${activeTab.offsetLeft}px)`\r\n );\r\n }\r\n\r\n /** Переключает контент табов */\r\n private changeContent(anchor): void {\r\n let currentContent = document.getElementById(anchor);\r\n [].slice.call(this.tabContents).forEach(content => {\r\n content.classList.remove('tab-content_visible');\r\n currentContent.classList.remove('tab-content_faded');\r\n });\r\n currentContent.classList.add('tab-content_visible');\r\n\r\n // Таймаут для того чтобы анимировать через CSS, после того как стало display:block\r\n setTimeout(() => {\r\n currentContent.classList.add('tab-content_faded');\r\n }, 10);\r\n }\r\n\r\n /** Инициализирует блок с продуктами */\r\n private initProducts(anchor): void {\r\n [].slice.call(this.productsAnnounces).forEach(productsAnnounce => {\r\n const dataLink = productsAnnounce.getAttribute('data-link');\r\n if (dataLink == anchor || dataLink == this.defaultAnchor.split('#')[1]) {\r\n productsAnnounce.classList.add('products_visible');\r\n setTimeout(() => {\r\n // Таймаут для того чтобы анимировать через CSS, после того как стало display:block\r\n productsAnnounce.classList.add('products_faded');\r\n }, 10);\r\n }\r\n else {\r\n productsAnnounce.classList.remove('products_visible');\r\n productsAnnounce.classList.remove('products_faded');\r\n };\r\n\r\n });\r\n\r\n this.defaultAnchor = '';\r\n }\r\n}\r\n","var g;\n\n// This works in non-strict mode\ng = (function() {\n\treturn this;\n})();\n\ntry {\n\t// This works if eval is allowed (see CSP)\n\tg = g || new Function(\"return this\")();\n} catch (e) {\n\t// This works if the window reference is available\n\tif (typeof window === \"object\") g = window;\n}\n\n// g can still be undefined, but nothing to do about it...\n// We return undefined, instead of nothing here, so it's\n// easier to handle this case. if(!global) { ...}\n\nmodule.exports = g;\n","export class MainNavigation {\r\n\r\n private mainMenuLinks: NodeListOf;\r\n private secondLevelMenuLinks: NodeListOf;\r\n \r\n constructor() {\r\n this.initMenu();\r\n }\r\n\r\n private initMenu(): void {\r\n this.mainMenuLinks = document.querySelectorAll('.header__menu-link');\r\n this.secondLevelMenuLinks = document.querySelectorAll('.second-level-menu__link');\r\n const currentLocation = window.location.href;\r\n this.mainMenuLinks.forEach(link => {\r\n if (currentLocation.toLowerCase().indexOf(link.getAttribute('href')) !== -1) {\r\n link.classList.add('header__menu-link_is-active');\r\n }\r\n });\r\n if (this.secondLevelMenuLinks.length === 0) {\r\n return;\r\n }\r\n\r\n this.secondLevelMenuLinks.forEach(link => {\r\n if (currentLocation.toLowerCase().indexOf(link.getAttribute('href')) !== -1) {\r\n link.classList.add('second-level-menu__link_is-active');\r\n }\r\n });\r\n\r\n }\r\n}\r\n","/**\n * @this {Promise}\n */\nfunction finallyConstructor(callback) {\n var constructor = this.constructor;\n return this.then(\n function(value) {\n // @ts-ignore\n return constructor.resolve(callback()).then(function() {\n return value;\n });\n },\n function(reason) {\n // @ts-ignore\n return constructor.resolve(callback()).then(function() {\n // @ts-ignore\n return constructor.reject(reason);\n });\n }\n );\n}\n\nexport default finallyConstructor;\n","!function(a,b){\"function\"==typeof define&&define.amd?define([],function(){return a.svg4everybody=b()}):\"object\"==typeof module&&module.exports?module.exports=b():a.svg4everybody=b()}(this,function(){function a(a,b,c){if(c){var d=document.createDocumentFragment(),e=!b.hasAttribute(\"viewBox\")&&c.getAttribute(\"viewBox\");e&&b.setAttribute(\"viewBox\",e);for(var f=c.cloneNode(!0);f.childNodes.length;)d.appendChild(f.firstChild);a.appendChild(d)}}function b(b){b.onreadystatechange=function(){if(4===b.readyState){var c=b._cachedDocument;c||(c=b._cachedDocument=document.implementation.createHTMLDocument(\"\"),c.body.innerHTML=b.responseText,b._cachedTarget={}),b._embeds.splice(0).map(function(d){var e=b._cachedTarget[d.id];e||(e=b._cachedTarget[d.id]=c.getElementById(d.id)),a(d.parent,d.svg,e)})}},b.onreadystatechange()}function c(c){function e(){for(var c=0;c0)&&n(e,67)}var f,g=Object(c),h=/\\bTrident\\/[567]\\b|\\bMSIE (?:9|10)\\.0\\b/,i=/\\bAppleWebKit\\/(\\d+)\\b/,j=/\\bEdge\\/12\\.(\\d+)\\b/,k=/\\bEdge\\/.(\\d+)\\b/,l=window.top!==window.self;f=\"polyfill\"in g?g.polyfill:h.test(navigator.userAgent)||(navigator.userAgent.match(j)||[])[1]<10547||(navigator.userAgent.match(i)||[])[1]<537||k.test(navigator.userAgent)&&l;var m={},n=window.requestAnimationFrame||setTimeout,o=document.getElementsByTagName(\"use\"),p=0;f&&e()}function d(a){for(var b=a;\"svg\"!==b.nodeName.toLowerCase()&&(b=b.parentNode););return b}return c});","import promiseFinally from './finally';\n\n// Store setTimeout reference so promise-polyfill will be unaffected by\n// other code modifying setTimeout (like sinon.useFakeTimers())\nvar setTimeoutFunc = setTimeout;\n\nfunction isArray(x) {\n return Boolean(x && typeof x.length !== 'undefined');\n}\n\nfunction noop() {}\n\n// Polyfill for Function.prototype.bind\nfunction bind(fn, thisArg) {\n return function() {\n fn.apply(thisArg, arguments);\n };\n}\n\n/**\n * @constructor\n * @param {Function} fn\n */\nfunction Promise(fn) {\n if (!(this instanceof Promise))\n throw new TypeError('Promises must be constructed via new');\n if (typeof fn !== 'function') throw new TypeError('not a function');\n /** @type {!number} */\n this._state = 0;\n /** @type {!boolean} */\n this._handled = false;\n /** @type {Promise|undefined} */\n this._value = undefined;\n /** @type {!Array} */\n this._deferreds = [];\n\n doResolve(fn, this);\n}\n\nfunction handle(self, deferred) {\n while (self._state === 3) {\n self = self._value;\n }\n if (self._state === 0) {\n self._deferreds.push(deferred);\n return;\n }\n self._handled = true;\n Promise._immediateFn(function() {\n var cb = self._state === 1 ? deferred.onFulfilled : deferred.onRejected;\n if (cb === null) {\n (self._state === 1 ? resolve : reject)(deferred.promise, self._value);\n return;\n }\n var ret;\n try {\n ret = cb(self._value);\n } catch (e) {\n reject(deferred.promise, e);\n return;\n }\n resolve(deferred.promise, ret);\n });\n}\n\nfunction resolve(self, newValue) {\n try {\n // Promise Resolution Procedure: https://github.com/promises-aplus/promises-spec#the-promise-resolution-procedure\n if (newValue === self)\n throw new TypeError('A promise cannot be resolved with itself.');\n if (\n newValue &&\n (typeof newValue === 'object' || typeof newValue === 'function')\n ) {\n var then = newValue.then;\n if (newValue instanceof Promise) {\n self._state = 3;\n self._value = newValue;\n finale(self);\n return;\n } else if (typeof then === 'function') {\n doResolve(bind(then, newValue), self);\n return;\n }\n }\n self._state = 1;\n self._value = newValue;\n finale(self);\n } catch (e) {\n reject(self, e);\n }\n}\n\nfunction reject(self, newValue) {\n self._state = 2;\n self._value = newValue;\n finale(self);\n}\n\nfunction finale(self) {\n if (self._state === 2 && self._deferreds.length === 0) {\n Promise._immediateFn(function() {\n if (!self._handled) {\n Promise._unhandledRejectionFn(self._value);\n }\n });\n }\n\n for (var i = 0, len = self._deferreds.length; i < len; i++) {\n handle(self, self._deferreds[i]);\n }\n self._deferreds = null;\n}\n\n/**\n * @constructor\n */\nfunction Handler(onFulfilled, onRejected, promise) {\n this.onFulfilled = typeof onFulfilled === 'function' ? onFulfilled : null;\n this.onRejected = typeof onRejected === 'function' ? onRejected : null;\n this.promise = promise;\n}\n\n/**\n * Take a potentially misbehaving resolver function and make sure\n * onFulfilled and onRejected are only called once.\n *\n * Makes no guarantees about asynchrony.\n */\nfunction doResolve(fn, self) {\n var done = false;\n try {\n fn(\n function(value) {\n if (done) return;\n done = true;\n resolve(self, value);\n },\n function(reason) {\n if (done) return;\n done = true;\n reject(self, reason);\n }\n );\n } catch (ex) {\n if (done) return;\n done = true;\n reject(self, ex);\n }\n}\n\nPromise.prototype['catch'] = function(onRejected) {\n return this.then(null, onRejected);\n};\n\nPromise.prototype.then = function(onFulfilled, onRejected) {\n // @ts-ignore\n var prom = new this.constructor(noop);\n\n handle(this, new Handler(onFulfilled, onRejected, prom));\n return prom;\n};\n\nPromise.prototype['finally'] = promiseFinally;\n\nPromise.all = function(arr) {\n return new Promise(function(resolve, reject) {\n if (!isArray(arr)) {\n return reject(new TypeError('Promise.all accepts an array'));\n }\n\n var args = Array.prototype.slice.call(arr);\n if (args.length === 0) return resolve([]);\n var remaining = args.length;\n\n function res(i, val) {\n try {\n if (val && (typeof val === 'object' || typeof val === 'function')) {\n var then = val.then;\n if (typeof then === 'function') {\n then.call(\n val,\n function(val) {\n res(i, val);\n },\n reject\n );\n return;\n }\n }\n args[i] = val;\n if (--remaining === 0) {\n resolve(args);\n }\n } catch (ex) {\n reject(ex);\n }\n }\n\n for (var i = 0; i < args.length; i++) {\n res(i, args[i]);\n }\n });\n};\n\nPromise.resolve = function(value) {\n if (value && typeof value === 'object' && value.constructor === Promise) {\n return value;\n }\n\n return new Promise(function(resolve) {\n resolve(value);\n });\n};\n\nPromise.reject = function(value) {\n return new Promise(function(resolve, reject) {\n reject(value);\n });\n};\n\nPromise.race = function(arr) {\n return new Promise(function(resolve, reject) {\n if (!isArray(arr)) {\n return reject(new TypeError('Promise.race accepts an array'));\n }\n\n for (var i = 0, len = arr.length; i < len; i++) {\n Promise.resolve(arr[i]).then(resolve, reject);\n }\n });\n};\n\n// Use polyfill for setImmediate for performance gains\nPromise._immediateFn =\n // @ts-ignore\n (typeof setImmediate === 'function' &&\n function(fn) {\n // @ts-ignore\n setImmediate(fn);\n }) ||\n function(fn) {\n setTimeoutFunc(fn, 0);\n };\n\nPromise._unhandledRejectionFn = function _unhandledRejectionFn(err) {\n if (typeof console !== 'undefined' && console) {\n console.warn('Possible Unhandled Promise Rejection:', err); // eslint-disable-line no-console\n }\n};\n\nexport default Promise;\n","(function(global) {\r\n /**\r\n * Polyfill URLSearchParams\r\n *\r\n * Inspired from : https://github.com/WebReflection/url-search-params/blob/master/src/url-search-params.js\r\n */\r\n\r\n var checkIfIteratorIsSupported = function() {\r\n try {\r\n return !!Symbol.iterator;\r\n } catch (error) {\r\n return false;\r\n }\r\n };\r\n\r\n\r\n var iteratorSupported = checkIfIteratorIsSupported();\r\n\r\n var createIterator = function(items) {\r\n var iterator = {\r\n next: function() {\r\n var value = items.shift();\r\n return { done: value === void 0, value: value };\r\n }\r\n };\r\n\r\n if (iteratorSupported) {\r\n iterator[Symbol.iterator] = function() {\r\n return iterator;\r\n };\r\n }\r\n\r\n return iterator;\r\n };\r\n\r\n /**\r\n * Search param name and values should be encoded according to https://url.spec.whatwg.org/#urlencoded-serializing\r\n * encodeURIComponent() produces the same result except encoding spaces as `%20` instead of `+`.\r\n */\r\n var serializeParam = function(value) {\r\n return encodeURIComponent(value).replace(/%20/g, '+');\r\n };\r\n\r\n var deserializeParam = function(value) {\r\n return decodeURIComponent(String(value).replace(/\\+/g, ' '));\r\n };\r\n\r\n var polyfillURLSearchParams = function() {\r\n\r\n var URLSearchParams = function(searchString) {\r\n Object.defineProperty(this, '_entries', { writable: true, value: {} });\r\n var typeofSearchString = typeof searchString;\r\n\r\n if (typeofSearchString === 'undefined') {\r\n // do nothing\r\n } else if (typeofSearchString === 'string') {\r\n if (searchString !== '') {\r\n this._fromString(searchString);\r\n }\r\n } else if (searchString instanceof URLSearchParams) {\r\n var _this = this;\r\n searchString.forEach(function(value, name) {\r\n _this.append(name, value);\r\n });\r\n } else if ((searchString !== null) && (typeofSearchString === 'object')) {\r\n if (Object.prototype.toString.call(searchString) === '[object Array]') {\r\n for (var i = 0; i < searchString.length; i++) {\r\n var entry = searchString[i];\r\n if ((Object.prototype.toString.call(entry) === '[object Array]') || (entry.length !== 2)) {\r\n this.append(entry[0], entry[1]);\r\n } else {\r\n throw new TypeError('Expected [string, any] as entry at index ' + i + ' of URLSearchParams\\'s input');\r\n }\r\n }\r\n } else {\r\n for (var key in searchString) {\r\n if (searchString.hasOwnProperty(key)) {\r\n this.append(key, searchString[key]);\r\n }\r\n }\r\n }\r\n } else {\r\n throw new TypeError('Unsupported input\\'s type for URLSearchParams');\r\n }\r\n };\r\n\r\n var proto = URLSearchParams.prototype;\r\n\r\n proto.append = function(name, value) {\r\n if (name in this._entries) {\r\n this._entries[name].push(String(value));\r\n } else {\r\n this._entries[name] = [String(value)];\r\n }\r\n };\r\n\r\n proto.delete = function(name) {\r\n delete this._entries[name];\r\n };\r\n\r\n proto.get = function(name) {\r\n return (name in this._entries) ? this._entries[name][0] : null;\r\n };\r\n\r\n proto.getAll = function(name) {\r\n return (name in this._entries) ? this._entries[name].slice(0) : [];\r\n };\r\n\r\n proto.has = function(name) {\r\n return (name in this._entries);\r\n };\r\n\r\n proto.set = function(name, value) {\r\n this._entries[name] = [String(value)];\r\n };\r\n\r\n proto.forEach = function(callback, thisArg) {\r\n var entries;\r\n for (var name in this._entries) {\r\n if (this._entries.hasOwnProperty(name)) {\r\n entries = this._entries[name];\r\n for (var i = 0; i < entries.length; i++) {\r\n callback.call(thisArg, entries[i], name, this);\r\n }\r\n }\r\n }\r\n };\r\n\r\n proto.keys = function() {\r\n var items = [];\r\n this.forEach(function(value, name) {\r\n items.push(name);\r\n });\r\n return createIterator(items);\r\n };\r\n\r\n proto.values = function() {\r\n var items = [];\r\n this.forEach(function(value) {\r\n items.push(value);\r\n });\r\n return createIterator(items);\r\n };\r\n\r\n proto.entries = function() {\r\n var items = [];\r\n this.forEach(function(value, name) {\r\n items.push([name, value]);\r\n });\r\n return createIterator(items);\r\n };\r\n\r\n if (iteratorSupported) {\r\n proto[Symbol.iterator] = proto.entries;\r\n }\r\n\r\n proto.toString = function() {\r\n var searchArray = [];\r\n this.forEach(function(value, name) {\r\n searchArray.push(serializeParam(name) + '=' + serializeParam(value));\r\n });\r\n return searchArray.join('&');\r\n };\r\n\r\n\r\n global.URLSearchParams = URLSearchParams;\r\n };\r\n\r\n if (!('URLSearchParams' in global) || (new global.URLSearchParams('?a=1').toString() !== 'a=1')) {\r\n polyfillURLSearchParams();\r\n }\r\n\r\n var proto = global.URLSearchParams.prototype;\r\n\r\n if (typeof proto.sort !== 'function') {\r\n proto.sort = function() {\r\n var _this = this;\r\n var items = [];\r\n this.forEach(function(value, name) {\r\n items.push([name, value]);\r\n if (!_this._entries) {\r\n _this.delete(name);\r\n }\r\n });\r\n items.sort(function(a, b) {\r\n if (a[0] < b[0]) {\r\n return -1;\r\n } else if (a[0] > b[0]) {\r\n return +1;\r\n } else {\r\n return 0;\r\n }\r\n });\r\n if (_this._entries) { // force reset because IE keeps keys index\r\n _this._entries = {};\r\n }\r\n for (var i = 0; i < items.length; i++) {\r\n this.append(items[i][0], items[i][1]);\r\n }\r\n };\r\n }\r\n\r\n if (typeof proto._fromString !== 'function') {\r\n Object.defineProperty(proto, '_fromString', {\r\n enumerable: false,\r\n configurable: false,\r\n writable: false,\r\n value: function(searchString) {\r\n if (this._entries) {\r\n this._entries = {};\r\n } else {\r\n var keys = [];\r\n this.forEach(function(value, name) {\r\n keys.push(name);\r\n });\r\n for (var i = 0; i < keys.length; i++) {\r\n this.delete(keys[i]);\r\n }\r\n }\r\n\r\n searchString = searchString.replace(/^\\?/, '');\r\n var attributes = searchString.split('&');\r\n var attribute;\r\n for (var i = 0; i < attributes.length; i++) {\r\n attribute = attributes[i].split('=');\r\n this.append(\r\n deserializeParam(attribute[0]),\r\n (attribute.length > 1) ? deserializeParam(attribute[1]) : ''\r\n );\r\n }\r\n }\r\n });\r\n }\r\n\r\n // HTMLAnchorElement\r\n\r\n})(\r\n (typeof global !== 'undefined') ? global\r\n : ((typeof window !== 'undefined') ? window\r\n : ((typeof self !== 'undefined') ? self : this))\r\n);\r\n\r\n(function(global) {\r\n /**\r\n * Polyfill URL\r\n *\r\n * Inspired from : https://github.com/arv/DOM-URL-Polyfill/blob/master/src/url.js\r\n */\r\n\r\n var checkIfURLIsSupported = function() {\r\n try {\r\n var u = new global.URL('b', 'http://a');\r\n u.pathname = 'c%20d';\r\n return (u.href === 'http://a/c%20d') && u.searchParams;\r\n } catch (e) {\r\n return false;\r\n }\r\n };\r\n\r\n\r\n var polyfillURL = function() {\r\n var _URL = global.URL;\r\n\r\n var URL = function(url, base) {\r\n if (typeof url !== 'string') url = String(url);\r\n\r\n // Only create another document if the base is different from current location.\r\n var doc = document, baseElement;\r\n if (base && (global.location === void 0 || base !== global.location.href)) {\r\n doc = document.implementation.createHTMLDocument('');\r\n baseElement = doc.createElement('base');\r\n baseElement.href = base;\r\n doc.head.appendChild(baseElement);\r\n try {\r\n if (baseElement.href.indexOf(base) !== 0) throw new Error(baseElement.href);\r\n } catch (err) {\r\n throw new Error('URL unable to set base ' + base + ' due to ' + err);\r\n }\r\n }\r\n\r\n var anchorElement = doc.createElement('a');\r\n anchorElement.href = url;\r\n if (baseElement) {\r\n doc.body.appendChild(anchorElement);\r\n anchorElement.href = anchorElement.href; // force href to refresh\r\n }\r\n\r\n if (anchorElement.protocol === ':' || !/:/.test(anchorElement.href)) {\r\n throw new TypeError('Invalid URL');\r\n }\r\n\r\n Object.defineProperty(this, '_anchorElement', {\r\n value: anchorElement\r\n });\r\n\r\n\r\n // create a linked searchParams which reflect its changes on URL\r\n var searchParams = new global.URLSearchParams(this.search);\r\n var enableSearchUpdate = true;\r\n var enableSearchParamsUpdate = true;\r\n var _this = this;\r\n ['append', 'delete', 'set'].forEach(function(methodName) {\r\n var method = searchParams[methodName];\r\n searchParams[methodName] = function() {\r\n method.apply(searchParams, arguments);\r\n if (enableSearchUpdate) {\r\n enableSearchParamsUpdate = false;\r\n _this.search = searchParams.toString();\r\n enableSearchParamsUpdate = true;\r\n }\r\n };\r\n });\r\n\r\n Object.defineProperty(this, 'searchParams', {\r\n value: searchParams,\r\n enumerable: true\r\n });\r\n\r\n var search = void 0;\r\n Object.defineProperty(this, '_updateSearchParams', {\r\n enumerable: false,\r\n configurable: false,\r\n writable: false,\r\n value: function() {\r\n if (this.search !== search) {\r\n search = this.search;\r\n if (enableSearchParamsUpdate) {\r\n enableSearchUpdate = false;\r\n this.searchParams._fromString(this.search);\r\n enableSearchUpdate = true;\r\n }\r\n }\r\n }\r\n });\r\n };\r\n\r\n var proto = URL.prototype;\r\n\r\n var linkURLWithAnchorAttribute = function(attributeName) {\r\n Object.defineProperty(proto, attributeName, {\r\n get: function() {\r\n return this._anchorElement[attributeName];\r\n },\r\n set: function(value) {\r\n this._anchorElement[attributeName] = value;\r\n },\r\n enumerable: true\r\n });\r\n };\r\n\r\n ['hash', 'host', 'hostname', 'port', 'protocol']\r\n .forEach(function(attributeName) {\r\n linkURLWithAnchorAttribute(attributeName);\r\n });\r\n\r\n Object.defineProperty(proto, 'search', {\r\n get: function() {\r\n return this._anchorElement['search'];\r\n },\r\n set: function(value) {\r\n this._anchorElement['search'] = value;\r\n this._updateSearchParams();\r\n },\r\n enumerable: true\r\n });\r\n\r\n Object.defineProperties(proto, {\r\n\r\n 'toString': {\r\n get: function() {\r\n var _this = this;\r\n return function() {\r\n return _this.href;\r\n };\r\n }\r\n },\r\n\r\n 'href': {\r\n get: function() {\r\n return this._anchorElement.href.replace(/\\?$/, '');\r\n },\r\n set: function(value) {\r\n this._anchorElement.href = value;\r\n this._updateSearchParams();\r\n },\r\n enumerable: true\r\n },\r\n\r\n 'pathname': {\r\n get: function() {\r\n return this._anchorElement.pathname.replace(/(^\\/?)/, '/');\r\n },\r\n set: function(value) {\r\n this._anchorElement.pathname = value;\r\n },\r\n enumerable: true\r\n },\r\n\r\n 'origin': {\r\n get: function() {\r\n // get expected port from protocol\r\n var expectedPort = { 'http:': 80, 'https:': 443, 'ftp:': 21 }[this._anchorElement.protocol];\r\n // add port to origin if, expected port is different than actual port\r\n // and it is not empty f.e http://foo:8080\r\n // 8080 != 80 && 8080 != ''\r\n var addPortToOrigin = this._anchorElement.port != expectedPort &&\r\n this._anchorElement.port !== '';\r\n\r\n return this._anchorElement.protocol +\r\n '//' +\r\n this._anchorElement.hostname +\r\n (addPortToOrigin ? (':' + this._anchorElement.port) : '');\r\n },\r\n enumerable: true\r\n },\r\n\r\n 'password': { // TODO\r\n get: function() {\r\n return '';\r\n },\r\n set: function(value) {\r\n },\r\n enumerable: true\r\n },\r\n\r\n 'username': { // TODO\r\n get: function() {\r\n return '';\r\n },\r\n set: function(value) {\r\n },\r\n enumerable: true\r\n },\r\n });\r\n\r\n URL.createObjectURL = function(blob) {\r\n return _URL.createObjectURL.apply(_URL, arguments);\r\n };\r\n\r\n URL.revokeObjectURL = function(url) {\r\n return _URL.revokeObjectURL.apply(_URL, arguments);\r\n };\r\n\r\n global.URL = URL;\r\n\r\n };\r\n\r\n if (!checkIfURLIsSupported()) {\r\n polyfillURL();\r\n }\r\n\r\n if ((global.location !== void 0) && !('origin' in global.location)) {\r\n var getOrigin = function() {\r\n return global.location.protocol + '//' + global.location.hostname + (global.location.port ? (':' + global.location.port) : '');\r\n };\r\n\r\n try {\r\n Object.defineProperty(global.location, 'origin', {\r\n get: getOrigin,\r\n enumerable: true\r\n });\r\n } catch (e) {\r\n setInterval(function() {\r\n global.location.origin = getOrigin();\r\n }, 100);\r\n }\r\n }\r\n\r\n})(\r\n (typeof global !== 'undefined') ? global\r\n : ((typeof window !== 'undefined') ? window\r\n : ((typeof self !== 'undefined') ? self : this))\r\n);\r\n","import Promise from './index';\nimport promiseFinally from './finally';\n\n/** @suppress {undefinedVars} */\nvar globalNS = (function() {\n // the only reliable means to get the global object is\n // `Function('return this')()`\n // However, this causes CSP violations in Chrome apps.\n if (typeof self !== 'undefined') {\n return self;\n }\n if (typeof window !== 'undefined') {\n return window;\n }\n if (typeof global !== 'undefined') {\n return global;\n }\n throw new Error('unable to locate global object');\n})();\n\nif (!('Promise' in globalNS)) {\n globalNS['Promise'] = Promise;\n} else if (!globalNS.Promise.prototype['finally']) {\n globalNS.Promise.prototype['finally'] = promiseFinally;\n}\n","var scope = (typeof global !== \"undefined\" && global) ||\n (typeof self !== \"undefined\" && self) ||\n window;\nvar apply = Function.prototype.apply;\n\n// DOM APIs, for completeness\n\nexports.setTimeout = function() {\n return new Timeout(apply.call(setTimeout, scope, arguments), clearTimeout);\n};\nexports.setInterval = function() {\n return new Timeout(apply.call(setInterval, scope, arguments), clearInterval);\n};\nexports.clearTimeout =\nexports.clearInterval = function(timeout) {\n if (timeout) {\n timeout.close();\n }\n};\n\nfunction Timeout(id, clearFn) {\n this._id = id;\n this._clearFn = clearFn;\n}\nTimeout.prototype.unref = Timeout.prototype.ref = function() {};\nTimeout.prototype.close = function() {\n this._clearFn.call(scope, this._id);\n};\n\n// Does not start the time, just sets up the members needed.\nexports.enroll = function(item, msecs) {\n clearTimeout(item._idleTimeoutId);\n item._idleTimeout = msecs;\n};\n\nexports.unenroll = function(item) {\n clearTimeout(item._idleTimeoutId);\n item._idleTimeout = -1;\n};\n\nexports._unrefActive = exports.active = function(item) {\n clearTimeout(item._idleTimeoutId);\n\n var msecs = item._idleTimeout;\n if (msecs >= 0) {\n item._idleTimeoutId = setTimeout(function onTimeout() {\n if (item._onTimeout)\n item._onTimeout();\n }, msecs);\n }\n};\n\n// setimmediate attaches itself to the global object\nrequire(\"setimmediate\");\n// On some exotic environments, it's not clear which object `setimmediate` was\n// able to install onto. Search each possibility in the same order as the\n// `setimmediate` library.\nexports.setImmediate = (typeof self !== \"undefined\" && self.setImmediate) ||\n (typeof global !== \"undefined\" && global.setImmediate) ||\n (this && this.setImmediate);\nexports.clearImmediate = (typeof self !== \"undefined\" && self.clearImmediate) ||\n (typeof global !== \"undefined\" && global.clearImmediate) ||\n (this && this.clearImmediate);\n","(function (global, undefined) {\n \"use strict\";\n\n if (global.setImmediate) {\n return;\n }\n\n var nextHandle = 1; // Spec says greater than zero\n var tasksByHandle = {};\n var currentlyRunningATask = false;\n var doc = global.document;\n var registerImmediate;\n\n function setImmediate(callback) {\n // Callback can either be a function or a string\n if (typeof callback !== \"function\") {\n callback = new Function(\"\" + callback);\n }\n // Copy function arguments\n var args = new Array(arguments.length - 1);\n for (var i = 0; i < args.length; i++) {\n args[i] = arguments[i + 1];\n }\n // Store and register the task\n var task = { callback: callback, args: args };\n tasksByHandle[nextHandle] = task;\n registerImmediate(nextHandle);\n return nextHandle++;\n }\n\n function clearImmediate(handle) {\n delete tasksByHandle[handle];\n }\n\n function run(task) {\n var callback = task.callback;\n var args = task.args;\n switch (args.length) {\n case 0:\n callback();\n break;\n case 1:\n callback(args[0]);\n break;\n case 2:\n callback(args[0], args[1]);\n break;\n case 3:\n callback(args[0], args[1], args[2]);\n break;\n default:\n callback.apply(undefined, args);\n break;\n }\n }\n\n function runIfPresent(handle) {\n // From the spec: \"Wait until any invocations of this algorithm started before this one have completed.\"\n // So if we're currently running a task, we'll need to delay this invocation.\n if (currentlyRunningATask) {\n // Delay by doing a setTimeout. setImmediate was tried instead, but in Firefox 7 it generated a\n // \"too much recursion\" error.\n setTimeout(runIfPresent, 0, handle);\n } else {\n var task = tasksByHandle[handle];\n if (task) {\n currentlyRunningATask = true;\n try {\n run(task);\n } finally {\n clearImmediate(handle);\n currentlyRunningATask = false;\n }\n }\n }\n }\n\n function installNextTickImplementation() {\n registerImmediate = function(handle) {\n process.nextTick(function () { runIfPresent(handle); });\n };\n }\n\n function canUsePostMessage() {\n // The test against `importScripts` prevents this implementation from being installed inside a web worker,\n // where `global.postMessage` means something completely different and can't be used for this purpose.\n if (global.postMessage && !global.importScripts) {\n var postMessageIsAsynchronous = true;\n var oldOnMessage = global.onmessage;\n global.onmessage = function() {\n postMessageIsAsynchronous = false;\n };\n global.postMessage(\"\", \"*\");\n global.onmessage = oldOnMessage;\n return postMessageIsAsynchronous;\n }\n }\n\n function installPostMessageImplementation() {\n // Installs an event handler on `global` for the `message` event: see\n // * https://developer.mozilla.org/en/DOM/window.postMessage\n // * http://www.whatwg.org/specs/web-apps/current-work/multipage/comms.html#crossDocumentMessages\n\n var messagePrefix = \"setImmediate$\" + Math.random() + \"$\";\n var onGlobalMessage = function(event) {\n if (event.source === global &&\n typeof event.data === \"string\" &&\n event.data.indexOf(messagePrefix) === 0) {\n runIfPresent(+event.data.slice(messagePrefix.length));\n }\n };\n\n if (global.addEventListener) {\n global.addEventListener(\"message\", onGlobalMessage, false);\n } else {\n global.attachEvent(\"onmessage\", onGlobalMessage);\n }\n\n registerImmediate = function(handle) {\n global.postMessage(messagePrefix + handle, \"*\");\n };\n }\n\n function installMessageChannelImplementation() {\n var channel = new MessageChannel();\n channel.port1.onmessage = function(event) {\n var handle = event.data;\n runIfPresent(handle);\n };\n\n registerImmediate = function(handle) {\n channel.port2.postMessage(handle);\n };\n }\n\n function installReadyStateChangeImplementation() {\n var html = doc.documentElement;\n registerImmediate = function(handle) {\n // Create a