{"version":3,"sources":["webpack:///article-detail.min.js","webpack:///./wwwroot/js/app/article-detail.js","webpack:///./wwwroot/js/app/common.js?641b","webpack:///./wwwroot/js/app/module.js?28fa","webpack:///./~/events/events.js?7c71","webpack:///./~/modaal/dist/js/modaal.min.js?a5f0","webpack:///./~/jquery-mask-plugin/dist/jquery.mask.js?713d"],"names":["__nha_webpackJsonp","module","exports","__webpack_require__","$","_interopRequireDefault","obj","__esModule","default","_classCallCheck","instance","Constructor","TypeError","_possibleConstructorReturn","self","call","ReferenceError","_inherits","subClass","superClass","prototype","Object","create","constructor","value","enumerable","writable","configurable","setPrototypeOf","__proto__","defineProperty","_createClass","defineProperties","target","props","i","length","descriptor","key","protoProps","staticProps","_get","get","object","property","receiver","Function","desc","getOwnPropertyDescriptor","undefined","parent","getPrototypeOf","getter","_common","_common2","_module","_module2","_util","_util2","ArticleDetail","_Module","options","this","_this2","then","emit","equalHeights","_this3","window","on","Util","debounce","e","onResize","checkWidth","ViewPort","Mobile","equalHeightAll","removeAttr","Module","articleDetail","common","init","_jqueryMaskPlugin","SCHOOL_PATTERN","Common","_this","dynamicModal","$transparencyExpanded","mobilePagination","modalIframe","modalInline","modalAuthor","setBodyPadding","mask","stopPropagation","currentTarget","addClass","focus","document","body","removeClass","trigger","closingNav","initAriaExpanded","navObserver","ResizeObserver","mutations","targetElements","each","height","prev","attr","observe","mobileNav","mobileNavItem","tabbingNav","event","hasClass","toggleClass","css","fadeOut","is","fadeIn","find","path","location","pathname","isSchoolSite","matches","exec","index","trim","substring","indexOf","Desktop","menuItems","closest","slideToggle","headerHeight","outerHeight","children","keyCode","preventDefault","_iteratorNormalCompletion","_didIteratorError","_iteratorError","_step","_iterator","Symbol","iterator","next","done","child","err","return","$activeElem","activeElement","$prevItem","shiftKey","_iteratorNormalCompletion2","_didIteratorError2","_iteratorError2","_step2","_iterator2","_iteratorNormalCompletion3","_didIteratorError3","_iteratorError3","_step3","_iterator3","menuItem","blur","_iteratorNormalCompletion4","_didIteratorError4","_iteratorError4","_step4","_iterator4","modaal","type","width","background_scroll","before_open","after_open","after_close","custom_class","bind","IFrame","iFrameResize","heightCalculationMethod","iFrameResizer","close","test","_events","_events2","_EventEmitter","_options","assign","initialized","main","Promise","resolve","_bindEvents","bindEvents","EventEmitter","_maxListeners","isFunction","arg","isNumber","isObject","isUndefined","defaultMaxListeners","setMaxListeners","n","isNaN","er","handler","len","args","listeners","error","arguments","Error","context","Array","slice","apply","addListener","listener","m","newListener","push","warned","console","trace","once","g","removeListener","fired","list","position","splice","removeAllListeners","ret","listenerCount","evlistener","emitter","jQuery","a","t","o","dom","$elem","extend","fn","data","xhr","scope","is_open","id","Date","getTime","Math","random","toString","private_options","active_class","lastFocus","is_locked","hide_close","close_btn","close_aria_label","close_text","animation","animation_speed","after_callback_delay","should_open","create_basic","source","fetch_ajax","create_confirm","create_image","create_iframe","create_video","create_instagram","watch_events","start_open","click","off","contains","getElementById","modaal_close","gallery_update","overlay_close","confirm_callback","confirm_cancel_callback","build_modal","l","fullscreen","s","accessible_title","append","appendTo","modaal_overlay","contents","clone","empty","instagram_id","loading_class","loading_content","ajax","url","dataType","cache","success","html","instgrm","Embeds","process","ajax_error_class","abort","ajax_success","statusText","confirm_title","confirm_content","confirm_button_text","confirm_cancel_button_text","d","r","getAttribute","href","src","alt","rawdesc","active","c","p","_","v","f","hide","before_image_change","stop","animate","opacity","display","prop","gallery_active_class","after_image_change","modaal_open","setTimeout","before_close","remove","background","overlay_opacity","parseInt","__WEBPACK_AMD_DEFINE_FACTORY__","__WEBPACK_AMD_DEFINE_ARRAY__","__WEBPACK_AMD_DEFINE_RESULT__","__webpack_provided_window_dot_jQuery","factory","Zepto","Mask","el","invalid","getCaret","sel","pos","ctrl","dSel","selection","cSelStart","selectionStart","navigator","appVersion","createRange","moveStart","val","text","setCaret","range","setSelectionRange","createTextRange","collapse","moveEnd","select","events","which","maskDigitPosMapOld","maskDigitPosMap","jMaskGlobals","useInput","behaviour","keydown","keyup","oldValue","selectOnFocus","clearIfNotMatch","regexMask","getRegexMask","translation","pattern","optional","recursive","oRecursive","maskChunks","jMask","charAt","replace","digit","join","RegExp","destroyEvents","isInput","method","calculateCaretPosition","oldVal","newVal","getMasked","caretPosNew","caretPosOld","newValL","oldValL","maskDigitsBeforeCaret","maskDigitsAfterCaret","maskDigitsBeforeCaretAll","maskDigitsBeforeCaretAllOld","caretPos","inArray","byPassKeys","keyStrokeCompensation","callbacks","skipMaskChars","lastMaskChar","check","buf","maskLen","valLen","offset","addMethod","resetPos","maskDigitCount","maskDigitPosArr","reverse","lastUntranslatedMaskChar","maskDigit","valDigit","match","fallback","lastMaskCharDigit","mapMaskdigitPositions","maskDiff","changed","defaultArgs","callback","name","criteria","caret","placeholder","getCleanVal","getMaskedVal","onlyMask","maxlength","maskWatchers","HTMLAttributes","input","prefix","notSameMaskObject","field","maskObject","stringify","JSON","eventSupported","eventName","isSupported","createElement","setAttribute","selector","globals","interval","watchInterval","watchInputs","maskFunction","clearInterval","setInterval","masked","unmask","dataMask","removeData","cleanVal","applyDataMask","maskElements","$selector","filter","dataMaskAttr","userAgent","watchDataMask","0","9","#","A","S"],"mappings":"AAAAA,oBAAoB,IAEd,SAAUC,EAAQC,EAASC,IAEJ,SAASC,GAAI,YAsBzC,SAASC,GAAuBC,GAAO,MAAOA,IAAOA,EAAIC,WAAaD,GAAQE,QAASF,GAEvF,QAASG,GAAgBC,EAAUC,GAAe,KAAMD,YAAoBC,IAAgB,KAAM,IAAIC,WAAU,qCAEhH,QAASC,GAA2BC,EAAMC,GAAQ,IAAKD,EAAQ,KAAM,IAAIE,gBAAe,4DAAgE,QAAOD,GAAyB,gBAATA,IAAqC,kBAATA,GAA8BD,EAAPC,EAElO,QAASE,GAAUC,EAAUC,GAAc,GAA0B,kBAAfA,IAA4C,OAAfA,EAAuB,KAAM,IAAIP,WAAU,iEAAoEO,GAAeD,GAASE,UAAYC,OAAOC,OAAOH,GAAcA,EAAWC,WAAaG,aAAeC,MAAON,EAAUO,YA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AC,GAAAf,YAAAxd,GAAAwd,EAAAxd,EAAAwd,EACAe,GAAAC,OAAAxe,EAAAiY,aAAAwG,cAAAhY,KAAAkW,GAGA,IAAAc,IACAa,aAAA,oBACAG,aAAA,eACAP,UAAA,EACAP,cAAA,IACAC,aAAA,EACAnD,sBAAA,GAEAvC,UAAA,oCAAAvM,KAAA3H,OAAAgT,UAAA0H,YAAAvB,EAAA,SACAwB,eAAA,EACAnE,YAAA,8BACA7B,aACAiG,GAAkBhG,QAAA,MAClBiG,GAAkBjG,QAAA,KAAAC,UAAA,GAClBiG,KAAkBlG,QAAA,KAAAE,WAAA,GAClBiG,GAAkBnG,QAAA,eAClBoG,GAAkBpG,QAAA,aAIlB5Y,GAAAiY,aAAAjY,EAAAiY,iBACAwF,EAAAzd,EAAAiY,aAAAjY,EAAAwP,QAAA,KAAgDiO,EAAAzd,EAAAiY,cAGhDwF,EAAAS,UACAle,EAAAqe,gBAGAN,YAAA,WACA/d,EAAAiY,aAAA0G,eACA3e,EAAAqe,iBAEKZ,EAAAE,gBACJzH,EAAAlS,OAAAoS,SNijC6BzV,KAAKb,EAASC,EAAoB","file":"article-detail.min.js","sourcesContent":["__nha_webpackJsonp([1],[\n/* 0 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function($) {'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t\tvalue: true\n\t});\n\t\n\tvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\t\n\tvar _get = function get(object, property, receiver) { if (object === null) object = Function.prototype; var desc = Object.getOwnPropertyDescriptor(object, property); if (desc === undefined) { var parent = Object.getPrototypeOf(object); if (parent === null) { return undefined; } else { return get(parent, property, receiver); } } else if (\"value\" in desc) { return desc.value; } else { var getter = desc.get; if (getter === undefined) { return undefined; } return getter.call(receiver); } };\n\t\n\tvar _common = __webpack_require__(1);\n\t\n\tvar _common2 = _interopRequireDefault(_common);\n\t\n\tvar _module = __webpack_require__(3);\n\t\n\tvar _module2 = _interopRequireDefault(_module);\n\t\n\tvar _util = __webpack_require__(5);\n\t\n\tvar _util2 = _interopRequireDefault(_util);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tvar ArticleDetail = function (_Module) {\n\t\t_inherits(ArticleDetail, _Module);\n\t\n\t\tfunction ArticleDetail(options) {\n\t\t\t_classCallCheck(this, ArticleDetail);\n\t\n\t\t\treturn _possibleConstructorReturn(this, (ArticleDetail.__proto__ || Object.getPrototypeOf(ArticleDetail)).call(this, options));\n\t\t}\n\t\n\t\t_createClass(ArticleDetail, [{\n\t\t\tkey: 'init',\n\t\t\tvalue: function init() {\n\t\t\t\tvar _this2 = this;\n\t\n\t\t\t\treturn _get(ArticleDetail.prototype.__proto__ || Object.getPrototypeOf(ArticleDetail.prototype), 'init', this).call(this).then(function () {\n\t\t\t\t\treturn _this2.emit('init');\n\t\t\t\t});\n\t\t\t}\n\t\t}, {\n\t\t\tkey: 'main',\n\t\t\tvalue: function main() {\n\t\t\t\tthis.equalHeights();\n\t\t\t}\n\t\t}, {\n\t\t\tkey: 'bindEvents',\n\t\t\tvalue: function bindEvents() {\n\t\t\t\tvar _this3 = this;\n\t\n\t\t\t\t$(window).on('resize', _util2.default.debounce(function (e) {\n\t\t\t\t\treturn _this3.onResize(e);\n\t\t\t\t}));\n\t\t\t}\n\t\n\t\t\t/**\r\n\t * Called when the window is resized (after being debounced)\r\n\t * \r\n\t * @param {ResizeEvent} e \r\n\t * @memberof SchoolHome\r\n\t */\n\t\n\t\t}, {\n\t\t\tkey: 'onResize',\n\t\t\tvalue: function onResize(e) {\n\t\t\t\tthis.equalHeights();\n\t\t\t}\n\t\t}, {\n\t\t\tkey: 'equalHeights',\n\t\t\tvalue: function equalHeights() {\n\t\t\t\tif (_util2.default.checkWidth() !== _util.ViewPort.Mobile) {\n\t\t\t\t\t_util2.default.equalHeightAll('.nha-js-card');\n\t\t\t\t} else {\n\t\t\t\t\t$('.nha-js-card').removeAttr('style');\n\t\t\t\t}\n\t\t\t}\n\t\t}]);\n\t\n\t\treturn ArticleDetail;\n\t}(_module2.default);\n\t\n\tvar articleDetail = new ArticleDetail();\n\t\n\t_common2.default.on('init', function () {\n\t\treturn articleDetail.init();\n\t});\n\t\n\texports.default = articleDetail;\n\t/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)))\n\n/***/ }),\n/* 1 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function($) {'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t\tvalue: true\n\t});\n\t\n\tvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\t\n\tvar _get = function get(object, property, receiver) { if (object === null) object = Function.prototype; var desc = Object.getOwnPropertyDescriptor(object, property); if (desc === undefined) { var parent = Object.getPrototypeOf(object); if (parent === null) { return undefined; } else { return get(parent, property, receiver); } } else if (\"value\" in desc) { return desc.value; } else { var getter = desc.get; if (getter === undefined) { return undefined; } return getter.call(receiver); } };\n\t\n\tvar _module = __webpack_require__(3);\n\t\n\tvar _module2 = _interopRequireDefault(_module);\n\t\n\tvar _util = __webpack_require__(5);\n\t\n\tvar _util2 = _interopRequireDefault(_util);\n\t\n\t__webpack_require__(9);\n\t\n\tvar _jqueryMaskPlugin = __webpack_require__(10);\n\t\n\tvar _jqueryMaskPlugin2 = _interopRequireDefault(_jqueryMaskPlugin);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } // import $ from 'jquery';\n\t\n\t\n\tvar SCHOOL_PATTERN = /\\/schools\\/([\\w-]+)\\/*/ig;\n\t\n\t/**\r\n\t * @class Common\r\n\t * @extends {Module}\r\n\t */\n\t\n\tvar Common = function (_Module) {\n\t\t_inherits(Common, _Module);\n\t\n\t\tfunction Common(options) {\n\t\t\t_classCallCheck(this, Common);\n\t\n\t\t\tvar _this = _possibleConstructorReturn(this, (Common.__proto__ || Object.getPrototypeOf(Common)).call(this, options));\n\t\n\t\t\twindow.dynamicModal = [];\n\t\t\t_this.$transparencyExpanded = $('.nha-transparency-report-expanded');\n\t\t\treturn _this;\n\t\t}\n\t\n\t\t_createClass(Common, [{\n\t\t\tkey: 'init',\n\t\t\tvalue: function init() {\n\t\t\t\tvar _this2 = this;\n\t\n\t\t\t\t// sub-modules must emit an `init` event\n\t\t\t\treturn _get(Common.prototype.__proto__ || Object.getPrototypeOf(Common.prototype), 'init', this).call(this).then(function (e) {\n\t\t\t\t\treturn _this2.emit('init', e);\n\t\t\t\t});\n\t\t\t}\n\t\t}, {\n\t\t\tkey: 'main',\n\t\t\tvalue: function main() {\n\t\t\t\tthis.mobilePagination();\n\t\t\t\tthis.modalIframe();\n\t\t\t\tthis.modalInline();\n\t\t\t\tthis.modalAuthor();\n\t\t\t\tthis.setBodyPadding();\n\t\t\t}\n\t\n\t\t\t/**\r\n\t * @listens window#load\r\n\t * @listens window#resize\r\n\t * @memberof Common\r\n\t */\n\t\n\t\t}, {\n\t\t\tkey: 'bindEvents',\n\t\t\tvalue: function bindEvents() {\n\t\t\t\tvar _this3 = this;\n\t\n\t\t\t\t_get(Common.prototype.__proto__ || Object.getPrototypeOf(Common.prototype), 'bindEvents', this).call(this);\n\t\n\t\t\t\t// phone mask\n\t\t\t\t$('.nha-form-control.nha-phone-mask').mask('(000) 000-0000');\n\t\n\t\t\t\t// corporate header search desktop\n\t\t\t\t$('.nha-header-search-btn').on('click', function (e) {\n\t\t\t\t\te.stopPropagation();\n\t\t\t\t\tvar target = $(e.currentTarget);\n\t\n\t\t\t\t\ttarget.parent('li').addClass('nha-search-expanded');\n\t\t\t\t\t$('.nha-header-search-input input').focus();\n\t\t\t\t});\n\t\n\t\t\t\t$('#header-right-search').on('click', function (e) {\n\t\t\t\t\te.stopPropagation();\n\t\t\t\t});\n\t\n\t\t\t\t$(document.body).on('click', function (e) {\n\t\t\t\t\t$('.nha-search-expanded').removeClass('nha-search-expanded');\n\t\t\t\t});\n\t\n\t\t\t\t$('.nha-live-chat-tab').on('click', function (e) {\n\t\t\t\t\t$(\".lebtn div\").trigger(\"click\");\n\t\t\t\t});\n\t\n\t\t\t\t$('.nha-nav-primary > li > ul > li a').on('keydown', function (e) {\n\t\t\t\t\t_this3.closingNav(e);\n\t\t\t\t});\n\t\n\t\t\t\t//aria tags\n\t\t\t\tthis.initAriaExpanded();\n\t\n\t\t\t\tvar navObserver = new ResizeObserver(function (mutations) {\n\t\t\t\t\tvar targetElements = $('.nha-nav-primary > li > ul');\n\t\t\t\t\ttargetElements.each(function () {\n\t\t\t\t\t\tvar height = $(this).height();\n\t\t\t\t\t\tif (height > 0) {\n\t\t\t\t\t\t\t$(this).prev().attr('aria-expanded', 'true');\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t$(this).prev().attr('aria-expanded', 'false');\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t});\n\t\n\t\t\t\t//start observing\n\t\t\t\t$('.nha-nav-primary > li > ul').each(function () {\n\t\t\t\t\tnavObserver.observe(this);\n\t\t\t\t});\n\t\n\t\t\t\t// mobile nav\n\t\t\t\t$('.nha-nav-toggle').on('click', function (e) {\n\t\t\t\t\t_this3.mobileNav(e);\n\t\t\t\t});\n\t\t\t\t$('.nha-nav .nha-nav-top-item').on('click', function (e) {\n\t\t\t\t\t_this3.mobileNavItem(e);\n\t\t\t\t});\n\t\t\t\t$('.nha-nav .nha-nav-top-item').on('keydown', function (e) {\n\t\t\t\t\t_this3.tabbingNav(e);\n\t\t\t\t});\n\t\n\t\t\t\t$(document).on('keydown', function (event) {\n\t\t\t\t\tvar target = $('.nha-nav-toggle');\n\t\t\t\t\tif (event.key === \"Escape\" && target.hasClass('open')) {\n\t\t\t\t\t\ttarget.toggleClass('open');\n\t\t\t\t\t\t$('.nha-nav').toggleClass('open').css('visibility', 'visible');\n\t\t\t\t\t}\n\t\t\t\t});\n\t\n\t\t\t\t$('.nha-transparency-report-expanded .nha-btn').on('click', function (e) {\n\t\t\t\t\t_this3.$transparencyExpanded.fadeOut();\n\t\t\t\t});\n\t\n\t\t\t\t$(document).on('keyup', function (event) {\n\t\t\t\t\tif (event.key === \"Enter\" && $('.nha-education-circle').is(\":focus\")) {\n\t\t\t\t\t\t$('.nha-transparency-report-expanded').fadeIn();\n\t\t\t\t\t\t$('.nha-transparency-report-expanded').find('a').trigger('focus');\n\t\t\t\t\t}\n\t\t\t\t});\n\t\n\t\t\t\t$('.nha-education-circle-link').on('click', function (e) {\n\t\t\t\t\t_this3.$transparencyExpanded.fadeIn();\n\t\t\t\t\t_this3.$transparencyExpanded.find('.nha-btn').focus();\n\t\t\t\t});\n\t\n\t\t\t\t$('.nha-education-circle').on('click', function (e) {\n\t\t\t\t\t_this3.$transparencyExpanded.fadeIn();\n\t\t\t\t\t_this3.$transparencyExpanded.find('.nha-btn').focus();\n\t\t\t\t});\n\t\n\t\t\t\t$(window).on('scroll', function (e) {\n\t\t\t\t\t_this3.$transparencyExpanded.fadeOut();\n\t\t\t\t});\n\t\n\t\t\t\t$(window).on('resize', _util2.default.debounce(function (e) {\n\t\t\t\t\treturn _this3.onResize(e);\n\t\t\t\t}));\n\t\t\t}\n\t\n\t\t\t/**\r\n\t * Parses the url for the culture code\r\n\t * @memberof Common\r\n\t * @returns {string} The two-letter cultureCode\r\n\t */\n\t\n\t\t}, {\n\t\t\tkey: 'getCultureCode',\n\t\t\tvalue: function getCultureCode() {\n\t\t\t\tvar path = window.location.pathname + '/';\n\t\n\t\t\t\tif (this.isSchoolSite) {\n\t\t\t\t\tvar matches = /\\/schools\\/([\\w-]+)\\/*/ig.exec(path);\n\t\n\t\t\t\t\tif (matches != null) {\n\t\t\t\t\t\tvar index = matches[0].length;\n\t\t\t\t\t\treturn _util2.default.trim(path.substring(index, path.indexOf('/', index)), '/');\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tvar _matches = /\\/(en|es)/gi.exec(path);\n\t\t\t\t\tif (_matches != null) return _util2.default.trim(_matches[0], '/');\n\t\t\t\t}\n\t\t\t}\n\t\t}, {\n\t\t\tkey: 'onResize',\n\t\n\t\n\t\t\t/**\r\n\t * Called when the window is resized (after being debounced)\r\n\t * \r\n\t * @param {ResizeEvent} e \r\n\t * @memberof Common\r\n\t */\n\t\t\tvalue: function onResize(e) {\n\t\t\t\tif (_util2.default.checkWidth() === _util.ViewPort.Desktop) {\n\t\t\t\t\t// reset mobile nav\n\t\t\t\t\t$('.nha-nav .nha-nav-top-item').removeClass('open');\n\t\t\t\t\t$('.nha-nav .nha-nav-primary > li ul').removeAttr('style');\n\t\t\t\t\t$('.nha-nav-toggle').removeClass('open');\n\t\t\t\t\t$('.nha-nav').removeClass('open').removeAttr('style');\n\t\t\t\t}\n\t\n\t\t\t\tthis.mobilePagination();\n\t\n\t\t\t\tthis.setBodyPadding();\n\t\t\t}\n\t\t}, {\n\t\t\tkey: 'initAriaExpanded',\n\t\t\tvalue: function initAriaExpanded() {\n\t\t\t\tvar menuItems = $('.nha-nav-top-item');\n\t\t\t\tmenuItems.each(function () {\n\t\t\t\t\t$(this).attr('aria-expanded', 'false');\n\t\t\t\t});\n\t\t\t}\n\t\t}, {\n\t\t\tkey: 'mobileNav',\n\t\t\tvalue: function mobileNav(e) {\n\t\t\t\tvar target = $(e.currentTarget);\n\t\n\t\t\t\ttarget.toggleClass('open');\n\t\t\t\t$('.nha-nav').toggleClass('open').css('visibility', 'visible');\n\t\t\t}\n\t\t}, {\n\t\t\tkey: 'mobileNavItem',\n\t\t\tvalue: function mobileNavItem(e) {\n\t\t\t\tvar target = $(e.currentTarget);\n\t\n\t\t\t\tif (_util2.default.checkWidth() !== 'desktop') {\n\t\t\t\t\ttarget.toggleClass('open');\n\t\t\t\t\ttarget.closest('li').find('ul').slideToggle();\n\t\t\t\t}\n\t\t\t}\n\t\t}, {\n\t\t\tkey: 'setBodyPadding',\n\t\t\tvalue: function setBodyPadding() {\n\t\t\t\tif (_util2.default.checkWidth() !== _util.ViewPort.Desktop) {\n\t\t\t\t\tvar headerHeight = $('.nha-header-schools').outerHeight();\n\t\t\t\t\t$('body').css('padding-top', headerHeight);\n\t\t\t\t} else {\n\t\t\t\t\t$('body').removeAttr('style');\n\t\t\t\t}\n\t\t\t}\n\t\t}, {\n\t\t\tkey: 'tabbingNav',\n\t\t\tvalue: function tabbingNav(e) {\n\t\t\t\tvar target = $(e.currentTarget);\n\t\t\t\tvar children = target.parent().find('ul li a');\n\t\n\t\t\t\tif ((e.key === \"enter\" || e.keyCode === 13) && target.parent().find('ul').length > 0) {\n\t\t\t\t\te.preventDefault();\n\t\t\t\t\tthis.mobileNavItem(e);\n\t\t\t\t\ttarget.parent().addClass('focused');\n\t\n\t\t\t\t\tvar _iteratorNormalCompletion = true;\n\t\t\t\t\tvar _didIteratorError = false;\n\t\t\t\t\tvar _iteratorError = undefined;\n\t\n\t\t\t\t\ttry {\n\t\t\t\t\t\tfor (var _iterator = children[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n\t\t\t\t\t\t\tvar child = _step.value;\n\t\n\t\t\t\t\t\t\t$(child).removeAttr('tabindex');\n\t\t\t\t\t\t}\n\t\t\t\t\t} catch (err) {\n\t\t\t\t\t\t_didIteratorError = true;\n\t\t\t\t\t\t_iteratorError = err;\n\t\t\t\t\t} finally {\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\tif (!_iteratorNormalCompletion && _iterator.return) {\n\t\t\t\t\t\t\t\t_iterator.return();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} finally {\n\t\t\t\t\t\t\tif (_didIteratorError) {\n\t\t\t\t\t\t\t\tthrow _iteratorError;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\n\t\t\t\t\tif (target.parent().hasClass('focused')) {\n\t\t\t\t\t\t//target.unbind(e);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\n\t\t\t\tvar $activeElem = $(document.activeElement);\n\t\t\t\tvar $prevItem = $activeElem.parent().prev();\n\t\n\t\t\t\tif (e.shiftKey && e.keyCode === 9 || e.keyCode === 27) {\n\t\t\t\t\tvar _iteratorNormalCompletion2 = true;\n\t\t\t\t\tvar _didIteratorError2 = false;\n\t\t\t\t\tvar _iteratorError2 = undefined;\n\t\n\t\t\t\t\ttry {\n\t\t\t\t\t\tfor (var _iterator2 = $activeElem.parent().prev().find('ul li a')[Symbol.iterator](), _step2; !(_iteratorNormalCompletion2 = (_step2 = _iterator2.next()).done); _iteratorNormalCompletion2 = true) {\n\t\t\t\t\t\t\tvar child = _step2.value;\n\t\n\t\t\t\t\t\t\t$(child).attr('tabindex', '-1');\n\t\t\t\t\t\t}\n\t\t\t\t\t} catch (err) {\n\t\t\t\t\t\t_didIteratorError2 = true;\n\t\t\t\t\t\t_iteratorError2 = err;\n\t\t\t\t\t} finally {\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\tif (!_iteratorNormalCompletion2 && _iterator2.return) {\n\t\t\t\t\t\t\t\t_iterator2.return();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} finally {\n\t\t\t\t\t\t\tif (_didIteratorError2) {\n\t\t\t\t\t\t\t\tthrow _iteratorError2;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\n\t\t\t\t\tvar _iteratorNormalCompletion3 = true;\n\t\t\t\t\tvar _didIteratorError3 = false;\n\t\t\t\t\tvar _iteratorError3 = undefined;\n\t\n\t\t\t\t\ttry {\n\t\t\t\t\t\tfor (var _iterator3 = $activeElem.parent().find('ul li a')[Symbol.iterator](), _step3; !(_iteratorNormalCompletion3 = (_step3 = _iterator3.next()).done); _iteratorNormalCompletion3 = true) {\n\t\t\t\t\t\t\tvar child = _step3.value;\n\t\n\t\t\t\t\t\t\t$(child).attr('tabindex', '-1');\n\t\t\t\t\t\t}\n\t\t\t\t\t} catch (err) {\n\t\t\t\t\t\t_didIteratorError3 = true;\n\t\t\t\t\t\t_iteratorError3 = err;\n\t\t\t\t\t} finally {\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\tif (!_iteratorNormalCompletion3 && _iterator3.return) {\n\t\t\t\t\t\t\t\t_iterator3.return();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} finally {\n\t\t\t\t\t\t\tif (_didIteratorError3) {\n\t\t\t\t\t\t\t\tthrow _iteratorError3;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\n\t\t\t\t\t$('.nha-nav .nha-nav-primary > li').removeClass('focused');\n\t\t\t\t}\n\t\n\t\t\t\tif ($prevItem.hasClass('focused')) {\n\t\t\t\t\t$prevItem.removeClass('focused');\n\t\t\t\t}\n\t\t\t}\n\t\t}, {\n\t\t\tkey: 'closingNav',\n\t\t\tvalue: function closingNav(e) {\n\t\t\t\tvar target = $(e.currentTarget);\n\t\t\t\tvar menuItem = target.parent().parent().parent();\n\t\n\t\t\t\tif (e.keyCode === 27) {\n\t\t\t\t\te.preventDefault();\n\t\t\t\t\ttarget.blur();\n\t\n\t\t\t\t\tvar children = target.parent().parent().children().find('a');\n\t\n\t\t\t\t\tif (children !== undefined) {\n\t\t\t\t\t\tvar _iteratorNormalCompletion4 = true;\n\t\t\t\t\t\tvar _didIteratorError4 = false;\n\t\t\t\t\t\tvar _iteratorError4 = undefined;\n\t\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\tfor (var _iterator4 = children[Symbol.iterator](), _step4; !(_iteratorNormalCompletion4 = (_step4 = _iterator4.next()).done); _iteratorNormalCompletion4 = true) {\n\t\t\t\t\t\t\t\tvar child = _step4.value;\n\t\n\t\t\t\t\t\t\t\t$(child).attr('tabindex', '-1');\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} catch (err) {\n\t\t\t\t\t\t\t_didIteratorError4 = true;\n\t\t\t\t\t\t\t_iteratorError4 = err;\n\t\t\t\t\t\t} finally {\n\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\tif (!_iteratorNormalCompletion4 && _iterator4.return) {\n\t\t\t\t\t\t\t\t\t_iterator4.return();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} finally {\n\t\t\t\t\t\t\t\tif (_didIteratorError4) {\n\t\t\t\t\t\t\t\t\tthrow _iteratorError4;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\n\t\t\t\t\t$('.nha-nav .nha-nav-primary > li').removeClass('focused');\n\t\t\t\t\tmenuItem.attr('tabindex', '-1');\n\t\t\t\t\tmenuItem.find('a.nha-nav-top-item').focus();\n\t\t\t\t}\n\t\t\t}\n\t\t}, {\n\t\t\tkey: 'mobilePagination',\n\t\t\tvalue: function mobilePagination() {\n\t\t\t\tif ($('.nha-pagination .js-li-pagination-number ').length > 3) {\n\t\t\t\t\tif ($('.js-li-pagination-number.active').prev().hasClass('nha-pagination-previous')) {\n\t\t\t\t\t\t$('.js-li-pagination-number.active').next().addClass('nha-page-show-mobile');\n\t\t\t\t\t\t$('.js-li-pagination-number.active').next().next().addClass('nha-page-show-mobile');\n\t\t\t\t\t} else if ($('.js-li-pagination-number.active').next().hasClass('nha-pagination-next')) {\n\t\t\t\t\t\t$('.js-li-pagination-number.active').prev().addClass('nha-page-show-mobile');\n\t\t\t\t\t\t$('.js-li-pagination-number.active').prev().prev().addClass('nha-page-show-mobile');\n\t\t\t\t\t} else {\n\t\t\t\t\t\t$('.js-li-pagination-number.active').prev().addClass('nha-page-show-mobile');\n\t\t\t\t\t\t$('.js-li-pagination-number.active').next().addClass('nha-page-show-mobile');\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}, {\n\t\t\tkey: 'modalInline',\n\t\t\tvalue: function modalInline() {\n\t\t\t\t$('.modal-inline').modaal({\n\t\t\t\t\ttype: 'inline',\n\t\t\t\t\twidth: 725,\n\t\t\t\t\tbackground_scroll: false,\n\t\t\t\t\tbefore_open: function before_open() {\n\t\t\t\t\t\tif (_util2.default.checkWidth() !== _util.ViewPort.Desktop) {\n\t\t\t\t\t\t\t$('body').css('position', 'fixed');\n\t\t\t\t\t\t}\n\t\t\t\t\t},\n\t\t\t\t\tafter_open: function after_open() {},\n\t\t\t\t\tafter_close: function after_close() {\n\t\t\t\t\t\t$('body').removeAttr('style');\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t}\n\t\t}, {\n\t\t\tkey: 'modalAuthor',\n\t\t\tvalue: function modalAuthor() {\n\t\t\t\t$('.modal-author').modaal({\n\t\t\t\t\ttype: 'inline',\n\t\t\t\t\twidth: 725,\n\t\t\t\t\tcustom_class: 'nha-profile-modal',\n\t\t\t\t\tbackground_scroll: false,\n\t\t\t\t\tbefore_open: function before_open() {\n\t\t\t\t\t\tif (_util2.default.checkWidth() !== _util.ViewPort.Desktop) {\n\t\t\t\t\t\t\t$('body').css('position', 'fixed');\n\t\t\t\t\t\t}\n\t\t\t\t\t},\n\t\t\t\t\tafter_open: function after_open() {},\n\t\t\t\t\tafter_close: function after_close() {\n\t\t\t\t\t\t$('body').removeAttr('style');\n\t\t\t\t\t}\n\t\t\t\t});\n\t\n\t\t\t\t$(window).bind('orientationchange', function (event) {\n\t\t\t\t\tif ($('.modaal-wrapper').length) {\n\t\t\t\t\t\t$('.modal-inline').modaal('close');\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t}\n\t\t}, {\n\t\t\tkey: 'modalIframe',\n\t\t\tvalue: function modalIframe() {\n\t\t\t\tvar IFrame;\n\t\n\t\t\t\t$('.modal-iframe').modaal({\n\t\t\t\t\ttype: 'iframe',\n\t\t\t\t\twidth: 600,\n\t\t\t\t\tbackground_scroll: false,\n\t\t\t\t\tbefore_open: function before_open() {\n\t\t\t\t\t\tif (_util2.default.checkWidth() !== _util.ViewPort.Desktop) {\n\t\t\t\t\t\t\t$('body').css('position', 'fixed');\n\t\t\t\t\t\t\t$('.modaal-wrapper').addClass('modal-scrollfix');\n\t\t\t\t\t\t}\n\t\t\t\t\t},\n\t\t\t\t\tafter_open: function after_open() {\n\t\t\t\t\t\tIFrame = iFrameResize({\n\t\t\t\t\t\t\theightCalculationMethod: 'lowestElement'\n\t\t\t\t\t\t}, 'iframe.modaal-iframe-elem');\n\t\n\t\t\t\t\t\t$('.modaal-wrapper').removeClass('modal-scrollfix');\n\t\t\t\t\t\t$('body').css('overflow', 'hidden').css('position', 'relative');\n\t\t\t\t\t},\n\t\t\t\t\tafter_close: function after_close() {\n\t\t\t\t\t\tIFrame[0].iFrameResizer.close();\n\t\t\t\t\t\t$('body').removeAttr('style');\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t}\n\t\t}, {\n\t\t\tkey: 'isSchoolSite',\n\t\t\tget: function get() {\n\t\t\t\treturn SCHOOL_PATTERN.test(window.location.pathname);\n\t\t\t}\n\t\t}]);\n\t\n\t\treturn Common;\n\t}(_module2.default);\n\t\n\t// create an instance to export for other modules to reference\n\t\n\t\n\tvar common = new Common();\n\t\n\texports.default = common;\n\t/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)))\n\n/***/ }),\n/* 2 */,\n/* 3 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t\tvalue: true\n\t});\n\t\n\tvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\t\n\tvar _events = __webpack_require__(4);\n\t\n\tvar _events2 = _interopRequireDefault(_events);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\t/**\r\n\t * Emitted when a Module resolve from Module.init(). All sub-modules are required to emit this event.\r\n\t * @event Module#init\r\n\t * \r\n\t */\n\t\n\t/**\r\n\t * A Module privodes a scope for controller logic within a page. Inspired by the Revealing Pattern\r\n\t * \r\n\t * @class Module\r\n\t * @extends {EventEmitter}\r\n\t * @property {boolean} initialized Indicates if the module has been initialized, ie. the module emitted the `init` event\r\n\t */\n\tvar Module = function (_EventEmitter) {\n\t\t_inherits(Module, _EventEmitter);\n\t\n\t\t/**\r\n\t * Creates an instance of Module.\r\n\t * @param {object} [options={}] \r\n\t * @memberof Module\r\n\t */\n\t\tfunction Module(options) {\n\t\t\t_classCallCheck(this, Module);\n\t\n\t\t\tvar _this = _possibleConstructorReturn(this, (Module.__proto__ || Object.getPrototypeOf(Module)).call(this));\n\t\n\t\t\t_this._options = Object.assign({}, options);\n\t\n\t\t\t_this.initialized = false;\n\t\t\treturn _this;\n\t\t}\n\t\n\t\t/**\r\n\t * Bind events to the module. These could be DOM events, service events, or module events, etc. Should be overriden by sub-classes.\r\n\t * \r\n\t * @override\r\n\t * @memberof Module\r\n\t * @listens Module#init\r\n\t */\n\t\n\t\n\t\t_createClass(Module, [{\n\t\t\tkey: 'bindEvents',\n\t\t\tvalue: function bindEvents() {}\n\t\t}, {\n\t\t\tkey: '_bindEvents',\n\t\t\tvalue: function _bindEvents() {\n\t\t\t\tvar _this2 = this;\n\t\n\t\t\t\tthis.on('init', function (e) {\n\t\t\t\t\t_this2.initialized = true;\n\t\t\t\t\t_this2.main();\n\t\t\t\t});\n\t\t\t}\n\t\n\t\t\t/**\r\n\t * Initializes the module. Any sub-module must override this method to emit an `init` event\r\n\t * \r\n\t * @returns {Promise.} A promise that resolves when initialization is finished\r\n\t * @memberof Module\r\n\t */\n\t\n\t\t}, {\n\t\t\tkey: 'init',\n\t\t\tvalue: function init() {\n\t\t\t\tvar _this3 = this;\n\t\n\t\t\t\treturn new Promise(function (resolve) {\n\t\n\t\t\t\t\t_this3._bindEvents();\n\t\t\t\t\t_this3.bindEvents();\n\t\n\t\t\t\t\t// other work\n\t\n\t\t\t\t\treturn resolve();\n\t\t\t\t});\n\t\t\t}\n\t\n\t\t\t/**\r\n\t * Called when the `init` event is emitted. Should be overriden by sub-classes.\r\n\t * \r\n\t * @override\r\n\t * @memberof Module\r\n\t */\n\t\n\t\t}, {\n\t\t\tkey: 'main',\n\t\t\tvalue: function main() {}\n\t\t}]);\n\t\n\t\treturn Module;\n\t}(_events2.default);\n\t\n\texports.default = Module;\n\n/***/ }),\n/* 4 */\n/***/ (function(module, exports) {\n\n\t// Copyright Joyent, Inc. and other Node contributors.\n\t//\n\t// Permission is hereby granted, free of charge, to any person obtaining a\n\t// copy of this software and associated documentation files (the\n\t// \"Software\"), to deal in the Software without restriction, including\n\t// without limitation the rights to use, copy, modify, merge, publish,\n\t// distribute, sublicense, and/or sell copies of the Software, and to permit\n\t// persons to whom the Software is furnished to do so, subject to the\n\t// following conditions:\n\t//\n\t// The above copyright notice and this permission notice shall be included\n\t// in all copies or substantial portions of the Software.\n\t//\n\t// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n\t// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n\t// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n\t// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n\t// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n\t// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n\t// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\t\n\tfunction EventEmitter() {\n\t this._events = this._events || {};\n\t this._maxListeners = this._maxListeners || undefined;\n\t}\n\tmodule.exports = EventEmitter;\n\t\n\t// Backwards-compat with node 0.10.x\n\tEventEmitter.EventEmitter = EventEmitter;\n\t\n\tEventEmitter.prototype._events = undefined;\n\tEventEmitter.prototype._maxListeners = undefined;\n\t\n\t// By default EventEmitters will print a warning if more than 10 listeners are\n\t// added to it. This is a useful default which helps finding memory leaks.\n\tEventEmitter.defaultMaxListeners = 10;\n\t\n\t// Obviously not all Emitters should be limited to 10. This function allows\n\t// that to be increased. Set to zero for unlimited.\n\tEventEmitter.prototype.setMaxListeners = function(n) {\n\t if (!isNumber(n) || n < 0 || isNaN(n))\n\t throw TypeError('n must be a positive number');\n\t this._maxListeners = n;\n\t return this;\n\t};\n\t\n\tEventEmitter.prototype.emit = function(type) {\n\t var er, handler, len, args, i, listeners;\n\t\n\t if (!this._events)\n\t this._events = {};\n\t\n\t // If there is no 'error' event listener then throw.\n\t if (type === 'error') {\n\t if (!this._events.error ||\n\t (isObject(this._events.error) && !this._events.error.length)) {\n\t er = arguments[1];\n\t if (er instanceof Error) {\n\t throw er; // Unhandled 'error' event\n\t } else {\n\t // At least give some kind of context to the user\n\t var err = new Error('Uncaught, unspecified \"error\" event. (' + er + ')');\n\t err.context = er;\n\t throw err;\n\t }\n\t }\n\t }\n\t\n\t handler = this._events[type];\n\t\n\t if (isUndefined(handler))\n\t return false;\n\t\n\t if (isFunction(handler)) {\n\t switch (arguments.length) {\n\t // fast cases\n\t case 1:\n\t handler.call(this);\n\t break;\n\t case 2:\n\t handler.call(this, arguments[1]);\n\t break;\n\t case 3:\n\t handler.call(this, arguments[1], arguments[2]);\n\t break;\n\t // slower\n\t default:\n\t args = Array.prototype.slice.call(arguments, 1);\n\t handler.apply(this, args);\n\t }\n\t } else if (isObject(handler)) {\n\t args = Array.prototype.slice.call(arguments, 1);\n\t listeners = handler.slice();\n\t len = listeners.length;\n\t for (i = 0; i < len; i++)\n\t listeners[i].apply(this, args);\n\t }\n\t\n\t return true;\n\t};\n\t\n\tEventEmitter.prototype.addListener = function(type, listener) {\n\t var m;\n\t\n\t if (!isFunction(listener))\n\t throw TypeError('listener must be a function');\n\t\n\t if (!this._events)\n\t this._events = {};\n\t\n\t // To avoid recursion in the case that type === \"newListener\"! Before\n\t // adding it to the listeners, first emit \"newListener\".\n\t if (this._events.newListener)\n\t this.emit('newListener', type,\n\t isFunction(listener.listener) ?\n\t listener.listener : listener);\n\t\n\t if (!this._events[type])\n\t // Optimize the case of one listener. Don't need the extra array object.\n\t this._events[type] = listener;\n\t else if (isObject(this._events[type]))\n\t // If we've already got an array, just append.\n\t this._events[type].push(listener);\n\t else\n\t // Adding the second element, need to change to array.\n\t this._events[type] = [this._events[type], listener];\n\t\n\t // Check for listener leak\n\t if (isObject(this._events[type]) && !this._events[type].warned) {\n\t if (!isUndefined(this._maxListeners)) {\n\t m = this._maxListeners;\n\t } else {\n\t m = EventEmitter.defaultMaxListeners;\n\t }\n\t\n\t if (m && m > 0 && this._events[type].length > m) {\n\t this._events[type].warned = true;\n\t console.error('(node) warning: possible EventEmitter memory ' +\n\t 'leak detected. %d listeners added. ' +\n\t 'Use emitter.setMaxListeners() to increase limit.',\n\t this._events[type].length);\n\t if (typeof console.trace === 'function') {\n\t // not supported in IE 10\n\t console.trace();\n\t }\n\t }\n\t }\n\t\n\t return this;\n\t};\n\t\n\tEventEmitter.prototype.on = EventEmitter.prototype.addListener;\n\t\n\tEventEmitter.prototype.once = function(type, listener) {\n\t if (!isFunction(listener))\n\t throw TypeError('listener must be a function');\n\t\n\t var fired = false;\n\t\n\t function g() {\n\t this.removeListener(type, g);\n\t\n\t if (!fired) {\n\t fired = true;\n\t listener.apply(this, arguments);\n\t }\n\t }\n\t\n\t g.listener = listener;\n\t this.on(type, g);\n\t\n\t return this;\n\t};\n\t\n\t// emits a 'removeListener' event iff the listener was removed\n\tEventEmitter.prototype.removeListener = function(type, listener) {\n\t var list, position, length, i;\n\t\n\t if (!isFunction(listener))\n\t throw TypeError('listener must be a function');\n\t\n\t if (!this._events || !this._events[type])\n\t return this;\n\t\n\t list = this._events[type];\n\t length = list.length;\n\t position = -1;\n\t\n\t if (list === listener ||\n\t (isFunction(list.listener) && list.listener === listener)) {\n\t delete this._events[type];\n\t if (this._events.removeListener)\n\t this.emit('removeListener', type, listener);\n\t\n\t } else if (isObject(list)) {\n\t for (i = length; i-- > 0;) {\n\t if (list[i] === listener ||\n\t (list[i].listener && list[i].listener === listener)) {\n\t position = i;\n\t break;\n\t }\n\t }\n\t\n\t if (position < 0)\n\t return this;\n\t\n\t if (list.length === 1) {\n\t list.length = 0;\n\t delete this._events[type];\n\t } else {\n\t list.splice(position, 1);\n\t }\n\t\n\t if (this._events.removeListener)\n\t this.emit('removeListener', type, listener);\n\t }\n\t\n\t return this;\n\t};\n\t\n\tEventEmitter.prototype.removeAllListeners = function(type) {\n\t var key, listeners;\n\t\n\t if (!this._events)\n\t return this;\n\t\n\t // not listening for removeListener, no need to emit\n\t if (!this._events.removeListener) {\n\t if (arguments.length === 0)\n\t this._events = {};\n\t else if (this._events[type])\n\t delete this._events[type];\n\t return this;\n\t }\n\t\n\t // emit removeListener for all listeners on all events\n\t if (arguments.length === 0) {\n\t for (key in this._events) {\n\t if (key === 'removeListener') continue;\n\t this.removeAllListeners(key);\n\t }\n\t this.removeAllListeners('removeListener');\n\t this._events = {};\n\t return this;\n\t }\n\t\n\t listeners = this._events[type];\n\t\n\t if (isFunction(listeners)) {\n\t this.removeListener(type, listeners);\n\t } else if (listeners) {\n\t // LIFO order\n\t while (listeners.length)\n\t this.removeListener(type, listeners[listeners.length - 1]);\n\t }\n\t delete this._events[type];\n\t\n\t return this;\n\t};\n\t\n\tEventEmitter.prototype.listeners = function(type) {\n\t var ret;\n\t if (!this._events || !this._events[type])\n\t ret = [];\n\t else if (isFunction(this._events[type]))\n\t ret = [this._events[type]];\n\t else\n\t ret = this._events[type].slice();\n\t return ret;\n\t};\n\t\n\tEventEmitter.prototype.listenerCount = function(type) {\n\t if (this._events) {\n\t var evlistener = this._events[type];\n\t\n\t if (isFunction(evlistener))\n\t return 1;\n\t else if (evlistener)\n\t return evlistener.length;\n\t }\n\t return 0;\n\t};\n\t\n\tEventEmitter.listenerCount = function(emitter, type) {\n\t return emitter.listenerCount(type);\n\t};\n\t\n\tfunction isFunction(arg) {\n\t return typeof arg === 'function';\n\t}\n\t\n\tfunction isNumber(arg) {\n\t return typeof arg === 'number';\n\t}\n\t\n\tfunction isObject(arg) {\n\t return typeof arg === 'object' && arg !== null;\n\t}\n\t\n\tfunction isUndefined(arg) {\n\t return arg === void 0;\n\t}\n\n\n/***/ }),\n/* 5 */,\n/* 6 */,\n/* 7 */,\n/* 8 */,\n/* 9 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function(jQuery) {/*!\n\t\tModaal - accessible modals - v0.3.1\n\t\tby Humaan, for all humans.\n\t\thttp://humaan.com\n\t */\n\t!function(a){var t='
',o={init:function(t,o){var e=this;e.dom=a(\"body\"),e.$elem=a(o),e.options=a.extend({},a.fn.modaal.options,e.$elem.data(),t),e.xhr=null,e.scope={is_open:!1,id:\"modaal_\"+(new Date).getTime()+Math.random().toString(16).substring(2)},e.$elem.attr(\"data-modaal-scope\",e.scope.id),e.private_options={active_class:\"is_active\"},e.lastFocus=null,e.options.is_locked||\"confirm\"==e.options.type||e.options.hide_close?e.scope.close_btn=\"\":e.scope.close_btn='\",\"none\"===e.options.animation&&(e.options.animation_speed=0,e.options.after_callback_delay=0),a(o).on(\"click.Modaal\",function(a){a.preventDefault();var t;if(e.lastFocus=document.activeElement,e.options.should_open!==!1&&(\"function\"!=typeof e.options.should_open||e.options.should_open()!==!1)){switch(e.options.before_open.call(e,a),e.options.type){case\"inline\":e.create_basic();break;case\"ajax\":t=e.options.source(e.$elem,e.$elem.attr(\"href\")),e.fetch_ajax(t);break;case\"confirm\":e.options.is_locked=!0,e.create_confirm();break;case\"image\":e.create_image();break;case\"iframe\":t=e.options.source(e.$elem,e.$elem.attr(\"href\")),e.create_iframe(t);break;case\"video\":e.create_video(e.$elem.attr(\"href\"));break;case\"instagram\":e.create_instagram()}e.watch_events()}}),e.options.start_open===!0&&a(o).click()},watch_events:function(){var t=this;t.dom.off(\"click.Modaal keyup.Modaal keydown.Modaal\"),t.dom.on(\"keydown.Modaal\",function(o){var e=o.keyCode,i=o.target;9==e&&t.scope.is_open&&(a.contains(document.getElementById(t.scope.id),i)||a(\"#\"+t.scope.id).find('*[tabindex=\"0\"]').focus())}),t.dom.on(\"keyup.Modaal\",function(o){var e=o.keyCode,i=o.target;return o.shiftKey&&9==o.keyCode&&t.scope.is_open&&(a.contains(document.getElementById(t.scope.id),i)||a(\"#\"+t.scope.id).find(\".modaal-close\").focus()),!t.options.is_locked&&27==e&&t.scope.is_open?a(document.activeElement).is(\"input:not(:checkbox):not(:radio)\")?!1:void t.modaal_close():\"image\"==t.options.type?(37==e&&t.scope.is_open&&!a(\"#\"+t.scope.id+\" .modaal-gallery-prev\").hasClass(\"is_hidden\")&&t.gallery_update(\"prev\"),void(39==e&&t.scope.is_open&&!a(\"#\"+t.scope.id+\" .modaal-gallery-next\").hasClass(\"is_hidden\")&&t.gallery_update(\"next\"))):void 0}),t.dom.on(\"click.Modaal\",function(o){var e=a(o.target);if(!t.options.is_locked&&(t.options.overlay_close&&e.is(\".modaal-inner-wrapper\")||e.is(\".modaal-close\")||e.closest(\".modaal-close\").length))return void t.modaal_close();if(e.is(\".modaal-confirm-btn\"))return e.is(\".modaal-ok\")&&t.options.confirm_callback.call(t,t.lastFocus),e.is(\".modaal-cancel\")&&t.options.confirm_cancel_callback.call(t,t.lastFocus),void t.modaal_close();if(e.is(\".modaal-gallery-control\")){if(e.hasClass(\"is_hidden\"))return;return e.is(\".modaal-gallery-prev\")&&t.gallery_update(\"prev\"),void(e.is(\".modaal-gallery-next\")&&t.gallery_update(\"next\"))}})},build_modal:function(a){var t=this,o=\"\";\"instagram\"==t.options.type&&(o=\" modaal-instagram\");var e,i=\"video\"==t.options.type?\"modaal-video-wrap\":\"modaal-content\";switch(t.options.animation){case\"fade\":e=\" modaal-start_fade\";break;case\"slide-down\":e=\" modaal-start_slidedown\";break;default:e=\" modaal-start_none\"}var l=\"\";t.options.fullscreen&&(l=\" modaal-fullscreen\"),\"\"===t.options.custom_class&&\"undefined\"==typeof t.options.custom_class||(t.options.custom_class=\" \"+t.options.custom_class);var s=\"\";t.options.width&&t.options.height&&\"number\"==typeof t.options.width&&\"number\"==typeof t.options.height?s=' style=\"max-width:'+t.options.width+\"px;height:\"+t.options.height+'px;overflow:auto;\"':t.options.width&&\"number\"==typeof t.options.width?s=' style=\"max-width:'+t.options.width+'px;\"':t.options.height&&\"number\"==typeof t.options.height&&(s=' style=\"height:'+t.options.height+'px;overflow:auto;\"'),(\"image\"==t.options.type||\"video\"==t.options.type||\"instagram\"==t.options.type||t.options.fullscreen)&&(s=\"\");var n='
';\"video\"!=t.options.type&&(n+='
\"),n+='
',n+=\"inline\"==t.options.type?'
':a,n+=\"
\"+t.scope.close_btn,\"video\"!=t.options.type&&(n+=\"
\"),n+=\"
\",t.dom.append(n),\"inline\"==t.options.type&&a.appendTo(\"#\"+t.scope.id+\" .modaal-content-container\"),t.modaal_overlay(\"show\")},create_basic:function(){var t=this,o=t.$elem.is(\"[href]\")?a(t.$elem.attr(\"href\")):t.$elem,e=\"\";o.length?(e=o.contents().clone(!0,!0),o.empty()):e=\"Content could not be loaded. Please check the source and try again.\",t.build_modal(e)},create_instagram:function(){var t=this,o=t.options.instagram_id,e=\"\",i=\"Instagram photo couldn't be loaded, please check the embed code and try again.\";if(t.build_modal('
'+t.options.loading_content+\"
\"),\"\"!=o&&null!==o&&void 0!==o){var l=\"https://api.instagram.com/oembed?url=http://instagr.am/p/\"+o+\"/\";a.ajax({url:l,dataType:\"jsonp\",cache:!1,success:function(o){e=o.html;var i=a(\"#\"+t.scope.id+\" .modaal-content-container\");i.length>0&&(i.removeClass(t.options.loading_class),i.html(e),window.instgrm.Embeds.process())},error:function(){e=i;var o=a(\"#\"+t.scope.id+\" .modaal-content-container\");o.length>0&&(o.removeClass(t.options.loading_class).addClass(t.options.ajax_error_class),o.html(e))}})}else e=i;return!1},fetch_ajax:function(t){var o=this;null==o.options.accessible_title&&(o.options.accessible_title=\"Dialog Window\"),null!==o.xhr&&(o.xhr.abort(),o.xhr=null),o.build_modal('
'+o.options.loading_content+\"
\"),o.xhr=a.ajax(t,{success:function(t){var e=a(\"#\"+o.scope.id).find(\".modaal-content-container\");e.length>0&&(e.removeClass(o.options.loading_class),e.html(t),o.options.ajax_success.call(o,e))},error:function(t){if(\"abort\"!=t.statusText){var e=a(\"#\"+o.scope.id+\" .modaal-content-container\");e.length>0&&(e.removeClass(o.options.loading_class).addClass(o.options.ajax_error_class),e.html(\"Content could not be loaded. Please check the source and try again.\"))}}})},create_confirm:function(){var a,t=this;a='

'+t.options.confirm_title+'

'+t.options.confirm_content+'
\",t.build_modal(a)},create_image:function(){var t,o,e=this,i=\"\",l='',s='';if(e.$elem.is(\"[rel]\")){var n=e.$elem.attr(\"rel\"),d=a('[rel=\"'+n+'\"]');d.removeAttr(\"data-gallery-active\",\"is_active\"),e.$elem.attr(\"data-gallery-active\",\"is_active\"),o=d.length-1;var r=[];i='\"}i+=\"\"+l+s}else{var _=e.$elem.attr(\"href\"),v=\"\",f=\"\",p=\"\";e.$elem.attr(\"data-modaal-desc\")?(p=e.$elem.attr(\"data-modaal-desc\"),v=e.$elem.attr(\"data-modaal-desc\"),f='\"):p=\"Image with no description\",i='\"}t=i,e.build_modal(t),a(\".modaal-gallery-item.is_active\").is(\".gallery-item-0\")&&a(\".modaal-gallery-prev\").hide(),a(\".modaal-gallery-item.is_active\").is(\".gallery-item-\"+o)&&a(\".modaal-gallery-next\").hide()},gallery_update:function(t){var o=this,e=a(\"#\"+o.scope.id),i=e.find(\".modaal-gallery-item\"),l=i.length-1;if(0==l)return!1;var s=e.find(\".modaal-gallery-prev\"),n=e.find(\".modaal-gallery-next\"),d=250,r=0,c=0,m=e.find(\".modaal-gallery-item.\"+o.private_options.active_class),p=\"next\"==t?m.next(\".modaal-gallery-item\"):m.prev(\".modaal-gallery-item\");return o.options.before_image_change.call(o,m,p),\"prev\"==t&&e.find(\".gallery-item-0\").hasClass(\"is_active\")?!1:\"next\"==t&&e.find(\".gallery-item-\"+l).hasClass(\"is_active\")?!1:void m.stop().animate({opacity:0},d,function(){p.addClass(\"is_next\").css({position:\"absolute\",display:\"block\",opacity:0});var t=a(document).width(),i=t>1140?280:50;r=e.find(\".modaal-gallery-item.is_next\").width(),c=e.find(\".modaal-gallery-item.is_next\").height();var _=e.find(\".modaal-gallery-item.is_next img\").prop(\"naturalWidth\"),v=e.find(\".modaal-gallery-item.is_next img\").prop(\"naturalHeight\");_>t-i?(r=t-i,e.find(\".modaal-gallery-item.is_next\").css({width:r}),e.find(\".modaal-gallery-item.is_next img\").css({width:r}),c=e.find(\".modaal-gallery-item.is_next\").find(\"img\").height()):(r=_,c=v),e.find(\".modaal-gallery-item-wrap\").stop().animate({width:r,height:c},d,function(){m.removeClass(o.private_options.active_class+\" \"+o.options.gallery_active_class).removeAttr(\"style\"),m.find(\"img\").removeAttr(\"style\"),p.addClass(o.private_options.active_class+\" \"+o.options.gallery_active_class).removeClass(\"is_next\").css(\"position\",\"\"),p.stop().animate({opacity:1},d,function(){a(this).removeAttr(\"style\").css({width:\"100%\"}),a(this).find(\"img\").css(\"width\",\"100%\"),e.find(\".modaal-gallery-item-wrap\").removeAttr(\"style\"),o.options.after_image_change.call(o,p)}),e.find(\".modaal-gallery-item\").removeAttr(\"tabindex\"),e.find(\".modaal-gallery-item.\"+o.private_options.active_class).attr(\"tabindex\",\"0\").focus(),e.find(\".modaal-gallery-item.\"+o.private_options.active_class).is(\".gallery-item-0\")?s.stop().animate({opacity:0},150,function(){a(this).hide()}):s.stop().css({display:\"block\",opacity:s.css(\"opacity\")}).animate({opacity:1},150),e.find(\".modaal-gallery-item.\"+o.private_options.active_class).is(\".gallery-item-\"+l)?n.stop().animate({opacity:0},150,function(){a(this).hide()}):n.stop().css({display:\"block\",opacity:s.css(\"opacity\")}).animate({opacity:1},150)})})},create_video:function(a){var t,o=this;t='',o.build_modal('
'+t+\"
\")},create_iframe:function(a){var t,o=this;t=null!==o.options.width||void 0!==o.options.width||null!==o.options.height||void 0!==o.options.height?'':'
Please specify a width and height for your iframe
',o.build_modal(t)},modaal_open:function(){var t=this,o=a(\"#\"+t.scope.id),e=t.options.animation;\"none\"===e&&(o.removeClass(\"modaal-start_none\"),t.options.after_open.call(t,o)),\"fade\"===e&&o.removeClass(\"modaal-start_fade\"),\"slide-down\"===e&&o.removeClass(\"modaal-start_slide_down\");var i=o;a(\".modaal-wrapper *[tabindex=0]\").removeAttr(\"tabindex\"),i=\"image\"==t.options.type?a(\"#\"+t.scope.id).find(\".modaal-gallery-item.\"+t.private_options.active_class):o.find(\".modaal-iframe-elem\").length?o.find(\".modaal-iframe-elem\"):o.find(\".modaal-video-wrap\").length?o.find(\".modaal-video-wrap\"):o.find(\".modaal-focus\"),i.attr(\"tabindex\",\"0\").focus(),\"none\"!==e&&setTimeout(function(){t.options.after_open.call(t,o)},t.options.after_callback_delay)},modaal_close:function(){var t=this,o=a(\"#\"+t.scope.id);t.options.before_close.call(t,o),null!==t.xhr&&(t.xhr.abort(),t.xhr=null),\"none\"===t.options.animation&&o.addClass(\"modaal-start_none\"),\"fade\"===t.options.animation&&o.addClass(\"modaal-start_fade\"),\"slide-down\"===t.options.animation&&o.addClass(\"modaal-start_slide_down\"),setTimeout(function(){\"inline\"==t.options.type&&a(\"#\"+t.scope.id+\" .modaal-content-container\").contents().clone(!0,!0).appendTo(t.$elem.attr(\"href\")),o.remove(),t.options.after_close.call(t),t.scope.is_open=!1},t.options.after_callback_delay),t.modaal_overlay(\"hide\"),null!=t.lastFocus&&t.lastFocus.focus()},modaal_overlay:function(t){var o=this;\"show\"==t?(o.scope.is_open=!0,o.options.background_scroll||o.dom.addClass(\"modaal-noscroll\"),o.dom.append('
'),a(\"#\"+o.scope.id+\"_overlay\").css(\"background\",o.options.background).stop().animate({opacity:o.options.overlay_opacity},o.options.animation_speed,function(){o.modaal_open()})):\"hide\"==t&&(o.dom.removeClass(\"modaal-noscroll\"),a(\"#\"+o.scope.id+\"_overlay\").stop().animate({opacity:0},o.options.animation_speed,function(){a(this).remove()}))}};a.fn.modaal=function(t){return this.each(function(){var e=a(this).data(\"modaal\");if(e){if(\"string\"==typeof t)switch(t){case\"close\":e.modaal_close()}}else{var i=Object.create(o);i.init(t,this),a.data(this,\"modaal\",i)}})},a.fn.modaal.options={type:\"inline\",animation:\"fade\",animation_speed:300,after_callback_delay:350,is_locked:!1,hide_close:!1,background:\"#000\",overlay_opacity:\"0.8\",overlay_close:!0,accessible_title:\"Dialog Window\",start_open:!1,fullscreen:!1,custom_class:\"\",background_scroll:!1,should_open:!0,close_text:\"Close\",close_aria_label:\"Close (Press escape to close)\",width:null,height:null,before_open:function(){},after_open:function(){},before_close:function(){},after_close:function(){},source:function(a,t){return t},confirm_button_text:\"Confirm\",confirm_cancel_button_text:\"Cancel\",confirm_title:\"Confirm Title\",confirm_content:\"

This is the default confirm dialog content. Replace me through the options

\",confirm_callback:function(){},confirm_cancel_callback:function(){},gallery_active_class:\"gallery_active_item\",before_image_change:function(a,t){},after_image_change:function(a){},loading_content:t,loading_class:\"is_loading\",ajax_error_class:\"modaal-error\",ajax_success:function(){},instagram_id:null},a(function(){var t=a(\".modaal\");t.length&&t.each(function(){var t=a(this),o={},e=!1;t.attr(\"data-modaal-type\")&&(e=!0,o.type=t.attr(\"data-modaal-type\")),t.attr(\"data-modaal-animation\")&&(e=!0,o.animation=t.attr(\"data-modaal-animation\")),t.attr(\"data-modaal-animation-speed\")&&(e=!0,o.animation_speed=t.attr(\"data-modaal-animation-speed\")),t.attr(\"data-modaal-after-callback-delay\")&&(e=!0,o.after_callback_delay=t.attr(\"data-modaal-after-callback-delay\")),t.attr(\"data-modaal-is-locked\")&&(e=!0,o.is_locked=\"true\"===t.attr(\"data-modaal-is-locked\")),t.attr(\"data-modaal-hide-close\")&&(e=!0,o.hide_close=\"true\"===t.attr(\"data-modaal-hide-close\")),t.attr(\"data-modaal-background\")&&(e=!0,o.background=t.attr(\"data-modaal-background\")),t.attr(\"data-modaal-overlay-opacity\")&&(e=!0,o.overlay_opacity=t.attr(\"data-modaal-overlay-opacity\")),t.attr(\"data-modaal-overlay-close\")&&(e=!0,o.overlay_close=\"false\"!==t.attr(\"data-modaal-overlay-close\")),t.attr(\"data-modaal-accessible-title\")&&(e=!0,o.accessible_title=t.attr(\"data-modaal-accessible-title\")),t.attr(\"data-modaal-start-open\")&&(e=!0,o.start_open=\"true\"===t.attr(\"data-modaal-start-open\")),t.attr(\"data-modaal-fullscreen\")&&(e=!0,o.fullscreen=\"true\"===t.attr(\"data-modaal-fullscreen\")),t.attr(\"data-modaal-custom-class\")&&(e=!0,o.custom_class=t.attr(\"data-modaal-custom-class\")),t.attr(\"data-modaal-close-text\")&&(e=!0,o.close_text=t.attr(\"data-modaal-close-text\")),t.attr(\"data-modaal-close-aria-label\")&&(e=!0,o.close_aria_label=t.attr(\"data-modaal-close-aria-label\")),t.attr(\"data-modaal-background-scroll\")&&(e=!0,o.background_scroll=\"true\"===t.attr(\"data-modaal-background-scroll\")),t.attr(\"data-modaal-width\")&&(e=!0,o.width=parseInt(t.attr(\"data-modaal-width\"))),t.attr(\"data-modaal-height\")&&(e=!0,o.height=parseInt(t.attr(\"data-modaal-height\"))),t.attr(\"data-modaal-confirm-button-text\")&&(e=!0,o.confirm_button_text=t.attr(\"data-modaal-confirm-button-text\")),t.attr(\"data-modaal-confirm-cancel-button-text\")&&(e=!0,o.confirm_cancel_button_text=t.attr(\"data-modaal-confirm-cancel-button-text\")),t.attr(\"data-modaal-confirm-title\")&&(e=!0,o.confirm_title=t.attr(\"data-modaal-confirm-title\")),t.attr(\"data-modaal-confirm-content\")&&(e=!0,o.confirm_content=t.attr(\"data-modaal-confirm-content\")),t.attr(\"data-modaal-gallery-active-class\")&&(e=!0,o.gallery_active_class=t.attr(\"data-modaal-gallery-active-class\")),t.attr(\"data-modaal-loading-content\")&&(e=!0,o.loading_content=t.attr(\"data-modaal-loading-content\")),t.attr(\"data-modaal-loading-class\")&&(e=!0,o.loading_class=t.attr(\"data-modaal-loading-class\")),t.attr(\"data-modaal-ajax-error-class\")&&(e=!0,o.ajax_error_class=t.attr(\"data-modaal-ajax-error-class\")),t.attr(\"data-modaal-instagram-id\")&&(e=!0,o.instagram_id=t.attr(\"data-modaal-instagram-id\")),e&&t.modaal(o)})})}(jQuery,window,document);\n\t/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)))\n\n/***/ }),\n/* 10 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\tvar __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/* WEBPACK VAR INJECTION */(function(__webpack_provided_window_dot_jQuery) {/**\n\t * jquery.mask.js\n\t * @version: v1.14.16\n\t * @author: Igor Escobar\n\t *\n\t * Created by Igor Escobar on 2012-03-10. Please report any bug at github.com/igorescobar/jQuery-Mask-Plugin\n\t *\n\t * Copyright (c) 2012 Igor Escobar http://igorescobar.com\n\t *\n\t * The MIT License (http://www.opensource.org/licenses/mit-license.php)\n\t *\n\t * Permission is hereby granted, free of charge, to any person\n\t * obtaining a copy of this software and associated documentation\n\t * files (the \"Software\"), to deal in the Software without\n\t * restriction, including without limitation the rights to use,\n\t * copy, modify, merge, publish, distribute, sublicense, and/or sell\n\t * copies of the Software, and to permit persons to whom the\n\t * Software is furnished to do so, subject to the following\n\t * conditions:\n\t *\n\t * The above copyright notice and this permission notice shall be\n\t * included in all copies or substantial portions of the Software.\n\t *\n\t * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n\t * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES\n\t * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\n\t * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT\n\t * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,\n\t * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\n\t * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR\n\t * OTHER DEALINGS IN THE SOFTWARE.\n\t */\n\t\n\t/* jshint laxbreak: true */\n\t/* jshint maxcomplexity:17 */\n\t/* global define */\n\t\n\t// UMD (Universal Module Definition) patterns for JavaScript modules that work everywhere.\n\t// https://github.com/umdjs/umd/blob/master/templates/jqueryPlugin.js\n\t(function (factory, jQuery, Zepto) {\n\t\n\t if (true) {\n\t !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(2)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory), __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ? (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\t } else if (typeof exports === 'object' && typeof Meteor === 'undefined') {\n\t module.exports = factory(require('jquery'));\n\t } else {\n\t factory(jQuery || Zepto);\n\t }\n\t\n\t}(function ($) {\n\t 'use strict';\n\t\n\t var Mask = function (el, mask, options) {\n\t\n\t var p = {\n\t invalid: [],\n\t getCaret: function () {\n\t try {\n\t var sel,\n\t pos = 0,\n\t ctrl = el.get(0),\n\t dSel = document.selection,\n\t cSelStart = ctrl.selectionStart;\n\t\n\t // IE Support\n\t if (dSel && navigator.appVersion.indexOf('MSIE 10') === -1) {\n\t sel = dSel.createRange();\n\t sel.moveStart('character', -p.val().length);\n\t pos = sel.text.length;\n\t }\n\t // Firefox support\n\t else if (cSelStart || cSelStart === '0') {\n\t pos = cSelStart;\n\t }\n\t\n\t return pos;\n\t } catch (e) {}\n\t },\n\t setCaret: function(pos) {\n\t try {\n\t if (el.is(':focus')) {\n\t var range, ctrl = el.get(0);\n\t\n\t // Firefox, WebKit, etc..\n\t if (ctrl.setSelectionRange) {\n\t ctrl.setSelectionRange(pos, pos);\n\t } else { // IE\n\t range = ctrl.createTextRange();\n\t range.collapse(true);\n\t range.moveEnd('character', pos);\n\t range.moveStart('character', pos);\n\t range.select();\n\t }\n\t }\n\t } catch (e) {}\n\t },\n\t events: function() {\n\t el\n\t .on('keydown.mask', function(e) {\n\t el.data('mask-keycode', e.keyCode || e.which);\n\t el.data('mask-previus-value', el.val());\n\t el.data('mask-previus-caret-pos', p.getCaret());\n\t p.maskDigitPosMapOld = p.maskDigitPosMap;\n\t })\n\t .on($.jMaskGlobals.useInput ? 'input.mask' : 'keyup.mask', p.behaviour)\n\t .on('paste.mask drop.mask', function() {\n\t setTimeout(function() {\n\t el.keydown().keyup();\n\t }, 100);\n\t })\n\t .on('change.mask', function(){\n\t el.data('changed', true);\n\t })\n\t .on('blur.mask', function(){\n\t if (oldValue !== p.val() && !el.data('changed')) {\n\t el.trigger('change');\n\t }\n\t el.data('changed', false);\n\t })\n\t // it's very important that this callback remains in this position\n\t // otherwhise oldValue it's going to work buggy\n\t .on('blur.mask', function() {\n\t oldValue = p.val();\n\t })\n\t // select all text on focus\n\t .on('focus.mask', function (e) {\n\t if (options.selectOnFocus === true) {\n\t $(e.target).select();\n\t }\n\t })\n\t // clear the value if it not complete the mask\n\t .on('focusout.mask', function() {\n\t if (options.clearIfNotMatch && !regexMask.test(p.val())) {\n\t p.val('');\n\t }\n\t });\n\t },\n\t getRegexMask: function() {\n\t var maskChunks = [], translation, pattern, optional, recursive, oRecursive, r;\n\t\n\t for (var i = 0; i < mask.length; i++) {\n\t translation = jMask.translation[mask.charAt(i)];\n\t\n\t if (translation) {\n\t\n\t pattern = translation.pattern.toString().replace(/.{1}$|^.{1}/g, '');\n\t optional = translation.optional;\n\t recursive = translation.recursive;\n\t\n\t if (recursive) {\n\t maskChunks.push(mask.charAt(i));\n\t oRecursive = {digit: mask.charAt(i), pattern: pattern};\n\t } else {\n\t maskChunks.push(!optional && !recursive ? pattern : (pattern + '?'));\n\t }\n\t\n\t } else {\n\t maskChunks.push(mask.charAt(i).replace(/[-\\/\\\\^$*+?.()|[\\]{}]/g, '\\\\$&'));\n\t }\n\t }\n\t\n\t r = maskChunks.join('');\n\t\n\t if (oRecursive) {\n\t r = r.replace(new RegExp('(' + oRecursive.digit + '(.*' + oRecursive.digit + ')?)'), '($1)?')\n\t .replace(new RegExp(oRecursive.digit, 'g'), oRecursive.pattern);\n\t }\n\t\n\t return new RegExp(r);\n\t },\n\t destroyEvents: function() {\n\t el.off(['input', 'keydown', 'keyup', 'paste', 'drop', 'blur', 'focusout', ''].join('.mask '));\n\t },\n\t val: function(v) {\n\t var isInput = el.is('input'),\n\t method = isInput ? 'val' : 'text',\n\t r;\n\t\n\t if (arguments.length > 0) {\n\t if (el[method]() !== v) {\n\t el[method](v);\n\t }\n\t r = el;\n\t } else {\n\t r = el[method]();\n\t }\n\t\n\t return r;\n\t },\n\t calculateCaretPosition: function(oldVal) {\n\t var newVal = p.getMasked(),\n\t caretPosNew = p.getCaret();\n\t if (oldVal !== newVal) {\n\t var caretPosOld = el.data('mask-previus-caret-pos') || 0,\n\t newValL = newVal.length,\n\t oldValL = oldVal.length,\n\t maskDigitsBeforeCaret = 0,\n\t maskDigitsAfterCaret = 0,\n\t maskDigitsBeforeCaretAll = 0,\n\t maskDigitsBeforeCaretAllOld = 0,\n\t i = 0;\n\t\n\t for (i = caretPosNew; i < newValL; i++) {\n\t if (!p.maskDigitPosMap[i]) {\n\t break;\n\t }\n\t maskDigitsAfterCaret++;\n\t }\n\t\n\t for (i = caretPosNew - 1; i >= 0; i--) {\n\t if (!p.maskDigitPosMap[i]) {\n\t break;\n\t }\n\t maskDigitsBeforeCaret++;\n\t }\n\t\n\t for (i = caretPosNew - 1; i >= 0; i--) {\n\t if (p.maskDigitPosMap[i]) {\n\t maskDigitsBeforeCaretAll++;\n\t }\n\t }\n\t\n\t for (i = caretPosOld - 1; i >= 0; i--) {\n\t if (p.maskDigitPosMapOld[i]) {\n\t maskDigitsBeforeCaretAllOld++;\n\t }\n\t }\n\t\n\t // if the cursor is at the end keep it there\n\t if (caretPosNew > oldValL) {\n\t caretPosNew = newValL * 10;\n\t } else if (caretPosOld >= caretPosNew && caretPosOld !== oldValL) {\n\t if (!p.maskDigitPosMapOld[caretPosNew]) {\n\t var caretPos = caretPosNew;\n\t caretPosNew -= maskDigitsBeforeCaretAllOld - maskDigitsBeforeCaretAll;\n\t caretPosNew -= maskDigitsBeforeCaret;\n\t if (p.maskDigitPosMap[caretPosNew]) {\n\t caretPosNew = caretPos;\n\t }\n\t }\n\t }\n\t else if (caretPosNew > caretPosOld) {\n\t caretPosNew += maskDigitsBeforeCaretAll - maskDigitsBeforeCaretAllOld;\n\t caretPosNew += maskDigitsAfterCaret;\n\t }\n\t }\n\t return caretPosNew;\n\t },\n\t behaviour: function(e) {\n\t e = e || window.event;\n\t p.invalid = [];\n\t\n\t var keyCode = el.data('mask-keycode');\n\t\n\t if ($.inArray(keyCode, jMask.byPassKeys) === -1) {\n\t var newVal = p.getMasked(),\n\t caretPos = p.getCaret(),\n\t oldVal = el.data('mask-previus-value') || '';\n\t\n\t // this is a compensation to devices/browsers that don't compensate\n\t // caret positioning the right way\n\t setTimeout(function() {\n\t p.setCaret(p.calculateCaretPosition(oldVal));\n\t }, $.jMaskGlobals.keyStrokeCompensation);\n\t\n\t p.val(newVal);\n\t p.setCaret(caretPos);\n\t return p.callbacks(e);\n\t }\n\t },\n\t getMasked: function(skipMaskChars, val) {\n\t var buf = [],\n\t value = val === undefined ? p.val() : val + '',\n\t m = 0, maskLen = mask.length,\n\t v = 0, valLen = value.length,\n\t offset = 1, addMethod = 'push',\n\t resetPos = -1,\n\t maskDigitCount = 0,\n\t maskDigitPosArr = [],\n\t lastMaskChar,\n\t check;\n\t\n\t if (options.reverse) {\n\t addMethod = 'unshift';\n\t offset = -1;\n\t lastMaskChar = 0;\n\t m = maskLen - 1;\n\t v = valLen - 1;\n\t check = function () {\n\t return m > -1 && v > -1;\n\t };\n\t } else {\n\t lastMaskChar = maskLen - 1;\n\t check = function () {\n\t return m < maskLen && v < valLen;\n\t };\n\t }\n\t\n\t var lastUntranslatedMaskChar;\n\t while (check()) {\n\t var maskDigit = mask.charAt(m),\n\t valDigit = value.charAt(v),\n\t translation = jMask.translation[maskDigit];\n\t\n\t if (translation) {\n\t if (valDigit.match(translation.pattern)) {\n\t buf[addMethod](valDigit);\n\t if (translation.recursive) {\n\t if (resetPos === -1) {\n\t resetPos = m;\n\t } else if (m === lastMaskChar && m !== resetPos) {\n\t m = resetPos - offset;\n\t }\n\t\n\t if (lastMaskChar === resetPos) {\n\t m -= offset;\n\t }\n\t }\n\t m += offset;\n\t } else if (valDigit === lastUntranslatedMaskChar) {\n\t // matched the last untranslated (raw) mask character that we encountered\n\t // likely an insert offset the mask character from the last entry; fall\n\t // through and only increment v\n\t maskDigitCount--;\n\t lastUntranslatedMaskChar = undefined;\n\t } else if (translation.optional) {\n\t m += offset;\n\t v -= offset;\n\t } else if (translation.fallback) {\n\t buf[addMethod](translation.fallback);\n\t m += offset;\n\t v -= offset;\n\t } else {\n\t p.invalid.push({p: v, v: valDigit, e: translation.pattern});\n\t }\n\t v += offset;\n\t } else {\n\t if (!skipMaskChars) {\n\t buf[addMethod](maskDigit);\n\t }\n\t\n\t if (valDigit === maskDigit) {\n\t maskDigitPosArr.push(v);\n\t v += offset;\n\t } else {\n\t lastUntranslatedMaskChar = maskDigit;\n\t maskDigitPosArr.push(v + maskDigitCount);\n\t maskDigitCount++;\n\t }\n\t\n\t m += offset;\n\t }\n\t }\n\t\n\t var lastMaskCharDigit = mask.charAt(lastMaskChar);\n\t if (maskLen === valLen + 1 && !jMask.translation[lastMaskCharDigit]) {\n\t buf.push(lastMaskCharDigit);\n\t }\n\t\n\t var newVal = buf.join('');\n\t p.mapMaskdigitPositions(newVal, maskDigitPosArr, valLen);\n\t return newVal;\n\t },\n\t mapMaskdigitPositions: function(newVal, maskDigitPosArr, valLen) {\n\t var maskDiff = options.reverse ? newVal.length - valLen : 0;\n\t p.maskDigitPosMap = {};\n\t for (var i = 0; i < maskDigitPosArr.length; i++) {\n\t p.maskDigitPosMap[maskDigitPosArr[i] + maskDiff] = 1;\n\t }\n\t },\n\t callbacks: function (e) {\n\t var val = p.val(),\n\t changed = val !== oldValue,\n\t defaultArgs = [val, e, el, options],\n\t callback = function(name, criteria, args) {\n\t if (typeof options[name] === 'function' && criteria) {\n\t options[name].apply(this, args);\n\t }\n\t };\n\t\n\t callback('onChange', changed === true, defaultArgs);\n\t callback('onKeyPress', changed === true, defaultArgs);\n\t callback('onComplete', val.length === mask.length, defaultArgs);\n\t callback('onInvalid', p.invalid.length > 0, [val, e, el, p.invalid, options]);\n\t }\n\t };\n\t\n\t el = $(el);\n\t var jMask = this, oldValue = p.val(), regexMask;\n\t\n\t mask = typeof mask === 'function' ? mask(p.val(), undefined, el, options) : mask;\n\t\n\t // public methods\n\t jMask.mask = mask;\n\t jMask.options = options;\n\t jMask.remove = function() {\n\t var caret = p.getCaret();\n\t if (jMask.options.placeholder) {\n\t el.removeAttr('placeholder');\n\t }\n\t if (el.data('mask-maxlength')) {\n\t el.removeAttr('maxlength');\n\t }\n\t p.destroyEvents();\n\t p.val(jMask.getCleanVal());\n\t p.setCaret(caret);\n\t return el;\n\t };\n\t\n\t // get value without mask\n\t jMask.getCleanVal = function() {\n\t return p.getMasked(true);\n\t };\n\t\n\t // get masked value without the value being in the input or element\n\t jMask.getMaskedVal = function(val) {\n\t return p.getMasked(false, val);\n\t };\n\t\n\t jMask.init = function(onlyMask) {\n\t onlyMask = onlyMask || false;\n\t options = options || {};\n\t\n\t jMask.clearIfNotMatch = $.jMaskGlobals.clearIfNotMatch;\n\t jMask.byPassKeys = $.jMaskGlobals.byPassKeys;\n\t jMask.translation = $.extend({}, $.jMaskGlobals.translation, options.translation);\n\t\n\t jMask = $.extend(true, {}, jMask, options);\n\t\n\t regexMask = p.getRegexMask();\n\t\n\t if (onlyMask) {\n\t p.events();\n\t p.val(p.getMasked());\n\t } else {\n\t if (options.placeholder) {\n\t el.attr('placeholder' , options.placeholder);\n\t }\n\t\n\t // this is necessary, otherwise if the user submit the form\n\t // and then press the \"back\" button, the autocomplete will erase\n\t // the data. Works fine on IE9+, FF, Opera, Safari.\n\t if (el.data('mask')) {\n\t el.attr('autocomplete', 'off');\n\t }\n\t\n\t // detect if is necessary let the user type freely.\n\t // for is a lot faster than forEach.\n\t for (var i = 0, maxlength = true; i < mask.length; i++) {\n\t var translation = jMask.translation[mask.charAt(i)];\n\t if (translation && translation.recursive) {\n\t maxlength = false;\n\t break;\n\t }\n\t }\n\t\n\t if (maxlength) {\n\t el.attr('maxlength', mask.length).data('mask-maxlength', true);\n\t }\n\t\n\t p.destroyEvents();\n\t p.events();\n\t\n\t var caret = p.getCaret();\n\t p.val(p.getMasked());\n\t p.setCaret(caret);\n\t }\n\t };\n\t\n\t jMask.init(!el.is('input'));\n\t };\n\t\n\t $.maskWatchers = {};\n\t var HTMLAttributes = function () {\n\t var input = $(this),\n\t options = {},\n\t prefix = 'data-mask-',\n\t mask = input.attr('data-mask');\n\t\n\t if (input.attr(prefix + 'reverse')) {\n\t options.reverse = true;\n\t }\n\t\n\t if (input.attr(prefix + 'clearifnotmatch')) {\n\t options.clearIfNotMatch = true;\n\t }\n\t\n\t if (input.attr(prefix + 'selectonfocus') === 'true') {\n\t options.selectOnFocus = true;\n\t }\n\t\n\t if (notSameMaskObject(input, mask, options)) {\n\t return input.data('mask', new Mask(this, mask, options));\n\t }\n\t },\n\t notSameMaskObject = function(field, mask, options) {\n\t options = options || {};\n\t var maskObject = $(field).data('mask'),\n\t stringify = JSON.stringify,\n\t value = $(field).val() || $(field).text();\n\t try {\n\t if (typeof mask === 'function') {\n\t mask = mask(value);\n\t }\n\t return typeof maskObject !== 'object' || stringify(maskObject.options) !== stringify(options) || maskObject.mask !== mask;\n\t } catch (e) {}\n\t },\n\t eventSupported = function(eventName) {\n\t var el = document.createElement('div'), isSupported;\n\t\n\t eventName = 'on' + eventName;\n\t isSupported = (eventName in el);\n\t\n\t if ( !isSupported ) {\n\t el.setAttribute(eventName, 'return;');\n\t isSupported = typeof el[eventName] === 'function';\n\t }\n\t el = null;\n\t\n\t return isSupported;\n\t };\n\t\n\t $.fn.mask = function(mask, options) {\n\t options = options || {};\n\t var selector = this.selector,\n\t globals = $.jMaskGlobals,\n\t interval = globals.watchInterval,\n\t watchInputs = options.watchInputs || globals.watchInputs,\n\t maskFunction = function() {\n\t if (notSameMaskObject(this, mask, options)) {\n\t return $(this).data('mask', new Mask(this, mask, options));\n\t }\n\t };\n\t\n\t $(this).each(maskFunction);\n\t\n\t if (selector && selector !== '' && watchInputs) {\n\t clearInterval($.maskWatchers[selector]);\n\t $.maskWatchers[selector] = setInterval(function(){\n\t $(document).find(selector).each(maskFunction);\n\t }, interval);\n\t }\n\t return this;\n\t };\n\t\n\t $.fn.masked = function(val) {\n\t return this.data('mask').getMaskedVal(val);\n\t };\n\t\n\t $.fn.unmask = function() {\n\t clearInterval($.maskWatchers[this.selector]);\n\t delete $.maskWatchers[this.selector];\n\t return this.each(function() {\n\t var dataMask = $(this).data('mask');\n\t if (dataMask) {\n\t dataMask.remove().removeData('mask');\n\t }\n\t });\n\t };\n\t\n\t $.fn.cleanVal = function() {\n\t return this.data('mask').getCleanVal();\n\t };\n\t\n\t $.applyDataMask = function(selector) {\n\t selector = selector || $.jMaskGlobals.maskElements;\n\t var $selector = (selector instanceof $) ? selector : $(selector);\n\t $selector.filter($.jMaskGlobals.dataMaskAttr).each(HTMLAttributes);\n\t };\n\t\n\t var globals = {\n\t maskElements: 'input,td,span,div',\n\t dataMaskAttr: '*[data-mask]',\n\t dataMask: true,\n\t watchInterval: 300,\n\t watchInputs: true,\n\t keyStrokeCompensation: 10,\n\t // old versions of chrome dont work great with input event\n\t useInput: !/Chrome\\/[2-4][0-9]|SamsungBrowser/.test(window.navigator.userAgent) && eventSupported('input'),\n\t watchDataMask: false,\n\t byPassKeys: [9, 16, 17, 18, 36, 37, 38, 39, 40, 91],\n\t translation: {\n\t '0': {pattern: /\\d/},\n\t '9': {pattern: /\\d/, optional: true},\n\t '#': {pattern: /\\d/, recursive: true},\n\t 'A': {pattern: /[a-zA-Z0-9]/},\n\t 'S': {pattern: /[a-zA-Z]/}\n\t }\n\t };\n\t\n\t $.jMaskGlobals = $.jMaskGlobals || {};\n\t globals = $.jMaskGlobals = $.extend(true, {}, globals, $.jMaskGlobals);\n\t\n\t // looking for inputs with data-mask attribute\n\t if (globals.dataMask) {\n\t $.applyDataMask();\n\t }\n\t\n\t setInterval(function() {\n\t if ($.jMaskGlobals.watchDataMask) {\n\t $.applyDataMask();\n\t }\n\t }, globals.watchInterval);\n\t}, __webpack_provided_window_dot_jQuery, window.Zepto));\n\t\n\t/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)))\n\n/***/ })\n]);\n\n\n// WEBPACK FOOTER //\n// article-detail.min.js","import common from './common';\r\nimport Module from './module';\r\nimport Util, { ViewPort } from './lib/util';\r\n\r\nclass ArticleDetail extends Module {\r\n\r\n\tconstructor(options) {\r\n\t\tsuper(options);\r\n\t}\r\n\r\n\tinit() {\r\n\t\treturn super.init()\r\n .then(() => this.emit('init'));\r\n\t}\r\n\r\n\tmain() {\r\n\t\tthis.equalHeights();\r\n\t}\r\n\r\n\tbindEvents() {\r\n\t\t$(window).on('resize', Util.debounce(e => this.onResize(e)));\r\n\t}\r\n\r\n\t/**\r\n\t * Called when the window is resized (after being debounced)\r\n\t * \r\n\t * @param {ResizeEvent} e \r\n\t * @memberof SchoolHome\r\n\t */\r\n\tonResize(e) {\r\n\t\tthis.equalHeights();\r\n\t}\r\n\r\n\tequalHeights() {\r\n\t\tif (Util.checkWidth() !== ViewPort.Mobile) {\r\n\t\t\tUtil.equalHeightAll('.nha-js-card');\r\n\t\t}\r\n\t\telse {\r\n\t\t\t$('.nha-js-card').removeAttr('style');\r\n\t\t}\r\n\t}\r\n}\r\n\r\nconst articleDetail = new ArticleDetail();\r\n\r\ncommon.on('init', () => articleDetail.init());\r\n\r\nexport default articleDetail;\r\n\n\n\n// WEBPACK FOOTER //\n// ./wwwroot/js/app/article-detail.js","// import $ from 'jquery';\r\nimport Module from './module';\r\nimport Util, { ViewPort } from './lib/util';\r\nimport 'modaal/dist/js/modaal.min.js';\r\nimport mask from 'jquery-mask-plugin';\r\n\r\nconst SCHOOL_PATTERN = /\\/schools\\/([\\w-]+)\\/*/ig;\r\n\r\n/**\r\n * @class Common\r\n * @extends {Module}\r\n */\r\nclass Common extends Module {\r\n\r\n\tconstructor(options) {\r\n\t\tsuper(options);\r\n\r\n\t\twindow.dynamicModal = [];\r\n\t\tthis.$transparencyExpanded = $('.nha-transparency-report-expanded');\r\n\t}\r\n\r\n\tinit() {\r\n\t\t// sub-modules must emit an `init` event\r\n\t\treturn super.init().then(e => this.emit('init', e));\r\n\t}\r\n\r\n\tmain() {\r\n\t\tthis.mobilePagination();\r\n\t\tthis.modalIframe();\r\n\t\tthis.modalInline();\r\n\t\tthis.modalAuthor();\r\n\t\tthis.setBodyPadding();\r\n\t}\r\n\r\n\t/**\r\n\t * @listens window#load\r\n\t * @listens window#resize\r\n\t * @memberof Common\r\n\t */\r\n\tbindEvents() {\r\n\t\tsuper.bindEvents();\r\n\r\n\t\t// phone mask\r\n\t\t$('.nha-form-control.nha-phone-mask').mask('(000) 000-0000');\r\n\r\n\t\t// corporate header search desktop\r\n\t\t$('.nha-header-search-btn').on('click', e => {\r\n\t\t\te.stopPropagation();\r\n\t\t\tlet target = $(e.currentTarget);\r\n\r\n\t\t\ttarget.parent('li').addClass('nha-search-expanded');\r\n\t\t\t$('.nha-header-search-input input').focus();\r\n\t\t});\r\n\r\n\t\t$('#header-right-search').on('click', e => {\r\n\t\t\te.stopPropagation();\r\n\t\t});\r\n\r\n\t\t$(document.body).on('click', e => {\r\n\t\t\t$('.nha-search-expanded').removeClass('nha-search-expanded');\r\n\t\t});\r\n\r\n\t\t$('.nha-live-chat-tab').on('click', e => { $(\".lebtn div\").trigger(\"click\") });\r\n\r\n\t\t$('.nha-nav-primary > li > ul > li a').on('keydown', e => { this.closingNav(e) });\r\n\r\n\r\n\t\t//aria tags\r\n\t\tthis.initAriaExpanded();\r\n\r\n\t\tvar navObserver = new ResizeObserver(function (mutations) {\r\n\t\t\tvar targetElements = $('.nha-nav-primary > li > ul');\r\n\t\t\ttargetElements.each(function() {\r\n\t\t\t\tvar height = $(this).height();\r\n\t\t\t\tif (height > 0) {\r\n\t\t\t\t\t$(this).prev().attr('aria-expanded', 'true');\r\n\t\t\t\t} else {\r\n\t\t\t\t\t$(this).prev().attr('aria-expanded', 'false');\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t});\r\n\t\r\n\t\r\n\t\t//start observing\r\n\t\t$('.nha-nav-primary > li > ul').each(function() {\r\n\t\t\tnavObserver.observe(this);\r\n\t\t});\r\n\r\n\t\t// mobile nav\r\n\t\t$('.nha-nav-toggle').on('click', e => { this.mobileNav(e) });\r\n\t\t$('.nha-nav .nha-nav-top-item').on('click', e => { this.mobileNavItem(e) });\r\n\t\t$('.nha-nav .nha-nav-top-item').on('keydown', e => { this.tabbingNav(e) });\r\n\r\n\t\t$(document).on('keydown', function(event) {\r\n\t\t\tvar target = $('.nha-nav-toggle');\r\n\t\t\tif (event.key === \"Escape\" && target.hasClass('open')) {\r\n\t\t\t\ttarget.toggleClass('open');\r\n\t\t\t\t$('.nha-nav').toggleClass('open').css('visibility', 'visible');\r\n\t\t\t}\r\n\t\t})\r\n\r\n\t\t$('.nha-transparency-report-expanded .nha-btn').on('click', e => { this.$transparencyExpanded.fadeOut(); });\r\n\r\n\t\t$(document).on('keyup', function(event) {\r\n\t\t\tif (event.key === \"Enter\" && $('.nha-education-circle').is(\":focus\")) {\r\n\t\t\t\t$('.nha-transparency-report-expanded').fadeIn();\r\n\t\t\t\t$('.nha-transparency-report-expanded').find('a').trigger('focus')\r\n\t\t\t} \r\n\t\t})\r\n\r\n\t\t$('.nha-education-circle-link').on('click', e => {\r\n\t\t\tthis.$transparencyExpanded.fadeIn();\r\n\t\t\tthis.$transparencyExpanded.find('.nha-btn').focus();\r\n\t\t});\r\n\r\n\t\t$('.nha-education-circle').on('click', e => {\r\n\t\t\tthis.$transparencyExpanded.fadeIn();\r\n\t\t\tthis.$transparencyExpanded.find('.nha-btn').focus();\r\n\t\t});\r\n\r\n\t\t$(window).on('scroll', e => { this.$transparencyExpanded.fadeOut(); });\r\n\r\n\t\t$(window).on('resize', Util.debounce(e => this.onResize(e)));\r\n\t}\r\n\r\n\t/**\r\n\t * Parses the url for the culture code\r\n\t * @memberof Common\r\n\t * @returns {string} The two-letter cultureCode\r\n\t */\r\n\tgetCultureCode() {\r\n\t\tconst path = window.location.pathname + '/'\r\n\r\n\t\tif (this.isSchoolSite) {\r\n\t\t\tlet matches = /\\/schools\\/([\\w-]+)\\/*/ig.exec(path)\r\n\r\n\t\t\tif (matches != null) {\r\n\t\t\t\tconst index = matches[0].length\r\n\t\t\t\treturn Util.trim(path.substring(index, path.indexOf('/', index)), '/');\r\n\t\t\t}\r\n\t\t} else {\r\n\t\t\tlet matches = /\\/(en|es)/gi.exec(path);\r\n\t\t\tif (matches != null) return Util.trim(matches[0], '/');\r\n\t\t}\r\n\t}\r\n\r\n\tget isSchoolSite() {\r\n\t\treturn SCHOOL_PATTERN.test(window.location.pathname);\r\n\t}\r\n\r\n\t/**\r\n\t * Called when the window is resized (after being debounced)\r\n\t * \r\n\t * @param {ResizeEvent} e \r\n\t * @memberof Common\r\n\t */\r\n\tonResize(e) {\r\n\t\tif (Util.checkWidth() === ViewPort.Desktop) {\r\n\t\t\t// reset mobile nav\r\n\t\t\t$('.nha-nav .nha-nav-top-item').removeClass('open');\r\n\t\t\t$('.nha-nav .nha-nav-primary > li ul').removeAttr('style');\r\n\t\t\t$('.nha-nav-toggle').removeClass('open');\r\n\t\t\t$('.nha-nav').removeClass('open').removeAttr('style');\r\n\t\t}\r\n\r\n\t\tthis.mobilePagination();\r\n\r\n\t\tthis.setBodyPadding();\r\n\t}\r\n\r\n\tinitAriaExpanded() {\r\n\t\tvar menuItems = $('.nha-nav-top-item');\r\n\t\tmenuItems.each(function() {\r\n $(this).attr('aria-expanded', 'false');\r\n });\r\n\t}\r\n\r\n\tmobileNav(e) {\r\n\t\tvar target = $(e.currentTarget);\r\n\r\n\t\ttarget.toggleClass('open');\r\n\t\t$('.nha-nav').toggleClass('open').css('visibility', 'visible');\r\n\t}\r\n\r\n\tmobileNavItem(e) {\r\n\t\tvar target = $(e.currentTarget);\r\n\r\n\t\tif (Util.checkWidth() !== 'desktop') {\r\n\t\t\ttarget.toggleClass('open');\r\n\t\t\ttarget.closest('li').find('ul').slideToggle();\r\n\t\t}\r\n\t}\r\n\r\n\tsetBodyPadding() {\r\n\t\tif (Util.checkWidth() !== ViewPort.Desktop) {\r\n\t\t\tlet headerHeight = $('.nha-header-schools').outerHeight();\r\n\t\t\t$('body').css('padding-top', headerHeight);\r\n\t\t}\r\n\t\telse {\r\n\t\t\t$('body').removeAttr('style');\r\n\t\t}\r\n\t}\r\n\r\n\ttabbingNav(e) {\r\n\t\tlet target = $(e.currentTarget);\r\n\t\tlet children = target.parent().find('ul li a');\r\n\t\t\r\n\t\tif ((e.key === \"enter\" || e.keyCode === 13) && target.parent().find('ul').length > 0) {\r\n\t\t\te.preventDefault();\r\n\t\t\tthis.mobileNavItem(e);\r\n\t\t\ttarget.parent().addClass('focused');\r\n\r\n\t\t\t\r\n\t\t\tfor (var child of children) {\r\n\t\t\t\t$(child).removeAttr('tabindex');\r\n\t\t\t}\r\n\r\n\t\t\tif (target.parent().hasClass('focused')) {\r\n\t\t\t\t//target.unbind(e);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tlet $activeElem = $(document.activeElement);\r\n\t\tlet $prevItem = $activeElem.parent().prev();\r\n\r\n\t\tif (e.shiftKey && e.keyCode === 9 || e.keyCode === 27) {\r\n\t\t\tfor (var child of $activeElem.parent().prev().find('ul li a')) {\r\n\t\t\t\t$(child).attr('tabindex', '-1');\r\n\t\t\t}\r\n\r\n\t\t\tfor (var child of $activeElem.parent().find('ul li a')) {\r\n\t\t\t\t$(child).attr('tabindex', '-1');\r\n\t\t\t}\r\n\r\n\t\t\t$('.nha-nav .nha-nav-primary > li').removeClass('focused');\r\n\t\t\t\r\n\t\t}\r\n\r\n\t\tif ($prevItem.hasClass('focused')) {\r\n\t\t\t$prevItem.removeClass('focused');\r\n\t\t}\r\n\t}\r\n\r\n\tclosingNav(e) {\r\n\t\tlet target = $(e.currentTarget);\r\n\t\tlet menuItem = target.parent().parent().parent();\r\n\r\n\t\tif (e.keyCode === 27) {\r\n\t\t\te.preventDefault();\r\n\t\t\ttarget.blur();\r\n\r\n\t\t\tlet children = target.parent().parent().children().find('a');\r\n\r\n\t\t\tif (children !== undefined) {\r\n\t\t\t\tfor (var child of children) {\r\n\t\t\t\t\t$(child).attr('tabindex', '-1');\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\t$('.nha-nav .nha-nav-primary > li').removeClass('focused');\r\n\t\t\tmenuItem.attr('tabindex', '-1');\r\n\t\t\tmenuItem.find('a.nha-nav-top-item').focus();\r\n\t\t}\r\n\r\n\t}\r\n\r\n\tmobilePagination() {\r\n\t\tif ($('.nha-pagination .js-li-pagination-number ').length > 3) {\r\n\t\t\tif ($('.js-li-pagination-number.active').prev().hasClass('nha-pagination-previous')) {\r\n\t\t\t\t$('.js-li-pagination-number.active').next().addClass('nha-page-show-mobile');\r\n\t\t\t\t$('.js-li-pagination-number.active').next().next().addClass('nha-page-show-mobile');\r\n\t\t\t}\r\n\t\t\telse if ($('.js-li-pagination-number.active').next().hasClass('nha-pagination-next')) {\r\n\t\t\t\t$('.js-li-pagination-number.active').prev().addClass('nha-page-show-mobile');\r\n\t\t\t\t$('.js-li-pagination-number.active').prev().prev().addClass('nha-page-show-mobile');\r\n\t\t\t}\r\n\t\t\telse {\r\n\t\t\t\t$('.js-li-pagination-number.active').prev().addClass('nha-page-show-mobile');\r\n\t\t\t\t$('.js-li-pagination-number.active').next().addClass('nha-page-show-mobile');\r\n\t\t\t}\t\r\n\t\t}\r\n\t}\r\n\r\n\tmodalInline() {\r\n\t\t$('.modal-inline').modaal({\r\n\t\t\ttype: 'inline',\r\n\t\t\twidth: 725,\r\n\t\t\tbackground_scroll: false,\r\n\t\t\tbefore_open: function () {\r\n\t\t\t\tif (Util.checkWidth() !== ViewPort.Desktop) {\r\n\t\t\t\t\t$('body').css('position', 'fixed');\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\tafter_open: function () {\r\n\t\t\t},\r\n\t\t\tafter_close: function () {\r\n\t\t\t\t$('body').removeAttr('style');\r\n\t\t\t}\r\n\t\t});\r\n\t}\r\n\r\n\tmodalAuthor() {\r\n\t\t$('.modal-author').modaal({\r\n\t\t\ttype: 'inline',\r\n\t\t\twidth: 725,\r\n\t\t\tcustom_class: 'nha-profile-modal',\r\n\t\t\tbackground_scroll: false,\r\n\t\t\tbefore_open: function () {\r\n\t\t\t\tif (Util.checkWidth() !== ViewPort.Desktop) {\r\n\t\t\t\t\t$('body').css('position', 'fixed');\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\tafter_open: function () {\r\n\t\t\t},\r\n\t\t\tafter_close: function () {\r\n\t\t\t\t$('body').removeAttr('style');\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\t$(window).bind('orientationchange', function (event) {\r\n\t\t\tif ($('.modaal-wrapper').length) {\r\n\t\t\t\t$('.modal-inline').modaal('close');\r\n\t\t\t}\r\n\t\t});\r\n\t}\r\n\r\n\tmodalIframe() {\r\n\t\tvar IFrame;\r\n\r\n\t\t$('.modal-iframe').modaal({\r\n\t\t\ttype: 'iframe',\r\n\t\t\twidth: 600,\r\n\t\t\tbackground_scroll: false,\r\n\t\t\tbefore_open: function () {\r\n\t\t\t\tif (Util.checkWidth() !== ViewPort.Desktop) {\r\n\t\t\t\t\t$('body').css('position', 'fixed');\r\n\t\t\t\t\t$('.modaal-wrapper').addClass('modal-scrollfix');\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\tafter_open: function () {\r\n\t\t\t\tIFrame = iFrameResize({\r\n\t\t\t\t\theightCalculationMethod: 'lowestElement'\r\n\t\t\t\t}, 'iframe.modaal-iframe-elem');\r\n\r\n\t\t\t\t$('.modaal-wrapper').removeClass('modal-scrollfix');\r\n\t\t\t\t$('body').css('overflow', 'hidden').css('position', 'relative');\r\n\t\t\t},\r\n\t\t\tafter_close: function () {\r\n\t\t\t\tIFrame[0].iFrameResizer.close();\r\n\t\t\t\t$('body').removeAttr('style');\r\n\t\t\t}\r\n\t\t});\r\n\t}\r\n}\r\n\r\n// create an instance to export for other modules to reference\r\nconst common = new Common();\r\n\r\nexport default common;\n\n\n// WEBPACK FOOTER //\n// ./wwwroot/js/app/common.js","import EventEmitter from 'events';\r\n\r\n/**\r\n * Emitted when a Module resolve from Module.init(). All sub-modules are required to emit this event.\r\n * @event Module#init\r\n * \r\n */\r\n\r\n/**\r\n * A Module privodes a scope for controller logic within a page. Inspired by the Revealing Pattern\r\n * \r\n * @class Module\r\n * @extends {EventEmitter}\r\n * @property {boolean} initialized Indicates if the module has been initialized, ie. the module emitted the `init` event\r\n */\r\nclass Module extends EventEmitter {\r\n\r\n\t/**\r\n * Creates an instance of Module.\r\n * @param {object} [options={}] \r\n * @memberof Module\r\n */\r\n\tconstructor(options) {\r\n\t\tsuper();\r\n\t\tthis._options = Object.assign({}, options);\r\n\r\n\t\tthis.initialized = false;\r\n\t}\r\n\r\n\t/**\r\n * Bind events to the module. These could be DOM events, service events, or module events, etc. Should be overriden by sub-classes.\r\n * \r\n\t * @override\r\n * @memberof Module\r\n\t * @listens Module#init\r\n */\r\n\tbindEvents() { }\r\n\r\n\t_bindEvents() {\r\n\t\tthis.on('init', e => {\r\n\t\t\tthis.initialized = true;\r\n\t\t\tthis.main();\r\n\t\t});\r\n\t}\r\n\r\n\t/**\r\n * Initializes the module. Any sub-module must override this method to emit an `init` event\r\n * \r\n * @returns {Promise.} A promise that resolves when initialization is finished\r\n * @memberof Module\r\n */\r\n\tinit() {\r\n\t\treturn new Promise(resolve => {\r\n\r\n\t\t\tthis._bindEvents();\r\n\t\t\tthis.bindEvents();\r\n\r\n\t\t\t// other work\r\n\r\n\t\t\treturn resolve();\r\n\t\t})\r\n\t}\r\n\r\n\t/**\r\n\t * Called when the `init` event is emitted. Should be overriden by sub-classes.\r\n\t * \r\n\t * @override\r\n\t * @memberof Module\r\n\t */\r\n\tmain() { }\r\n}\r\n\r\nexport default Module\n\n\n// WEBPACK FOOTER //\n// ./wwwroot/js/app/module.js","// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\nfunction EventEmitter() {\n this._events = this._events || {};\n this._maxListeners = this._maxListeners || undefined;\n}\nmodule.exports = EventEmitter;\n\n// Backwards-compat with node 0.10.x\nEventEmitter.EventEmitter = EventEmitter;\n\nEventEmitter.prototype._events = undefined;\nEventEmitter.prototype._maxListeners = undefined;\n\n// By default EventEmitters will print a warning if more than 10 listeners are\n// added to it. This is a useful default which helps finding memory leaks.\nEventEmitter.defaultMaxListeners = 10;\n\n// Obviously not all Emitters should be limited to 10. This function allows\n// that to be increased. Set to zero for unlimited.\nEventEmitter.prototype.setMaxListeners = function(n) {\n if (!isNumber(n) || n < 0 || isNaN(n))\n throw TypeError('n must be a positive number');\n this._maxListeners = n;\n return this;\n};\n\nEventEmitter.prototype.emit = function(type) {\n var er, handler, len, args, i, listeners;\n\n if (!this._events)\n this._events = {};\n\n // If there is no 'error' event listener then throw.\n if (type === 'error') {\n if (!this._events.error ||\n (isObject(this._events.error) && !this._events.error.length)) {\n er = arguments[1];\n if (er instanceof Error) {\n throw er; // Unhandled 'error' event\n } else {\n // At least give some kind of context to the user\n var err = new Error('Uncaught, unspecified \"error\" event. (' + er + ')');\n err.context = er;\n throw err;\n }\n }\n }\n\n handler = this._events[type];\n\n if (isUndefined(handler))\n return false;\n\n if (isFunction(handler)) {\n switch (arguments.length) {\n // fast cases\n case 1:\n handler.call(this);\n break;\n case 2:\n handler.call(this, arguments[1]);\n break;\n case 3:\n handler.call(this, arguments[1], arguments[2]);\n break;\n // slower\n default:\n args = Array.prototype.slice.call(arguments, 1);\n handler.apply(this, args);\n }\n } else if (isObject(handler)) {\n args = Array.prototype.slice.call(arguments, 1);\n listeners = handler.slice();\n len = listeners.length;\n for (i = 0; i < len; i++)\n listeners[i].apply(this, args);\n }\n\n return true;\n};\n\nEventEmitter.prototype.addListener = function(type, listener) {\n var m;\n\n if (!isFunction(listener))\n throw TypeError('listener must be a function');\n\n if (!this._events)\n this._events = {};\n\n // To avoid recursion in the case that type === \"newListener\"! Before\n // adding it to the listeners, first emit \"newListener\".\n if (this._events.newListener)\n this.emit('newListener', type,\n isFunction(listener.listener) ?\n listener.listener : listener);\n\n if (!this._events[type])\n // Optimize the case of one listener. Don't need the extra array object.\n this._events[type] = listener;\n else if (isObject(this._events[type]))\n // If we've already got an array, just append.\n this._events[type].push(listener);\n else\n // Adding the second element, need to change to array.\n this._events[type] = [this._events[type], listener];\n\n // Check for listener leak\n if (isObject(this._events[type]) && !this._events[type].warned) {\n if (!isUndefined(this._maxListeners)) {\n m = this._maxListeners;\n } else {\n m = EventEmitter.defaultMaxListeners;\n }\n\n if (m && m > 0 && this._events[type].length > m) {\n this._events[type].warned = true;\n console.error('(node) warning: possible EventEmitter memory ' +\n 'leak detected. %d listeners added. ' +\n 'Use emitter.setMaxListeners() to increase limit.',\n this._events[type].length);\n if (typeof console.trace === 'function') {\n // not supported in IE 10\n console.trace();\n }\n }\n }\n\n return this;\n};\n\nEventEmitter.prototype.on = EventEmitter.prototype.addListener;\n\nEventEmitter.prototype.once = function(type, listener) {\n if (!isFunction(listener))\n throw TypeError('listener must be a function');\n\n var fired = false;\n\n function g() {\n this.removeListener(type, g);\n\n if (!fired) {\n fired = true;\n listener.apply(this, arguments);\n }\n }\n\n g.listener = listener;\n this.on(type, g);\n\n return this;\n};\n\n// emits a 'removeListener' event iff the listener was removed\nEventEmitter.prototype.removeListener = function(type, listener) {\n var list, position, length, i;\n\n if (!isFunction(listener))\n throw TypeError('listener must be a function');\n\n if (!this._events || !this._events[type])\n return this;\n\n list = this._events[type];\n length = list.length;\n position = -1;\n\n if (list === listener ||\n (isFunction(list.listener) && list.listener === listener)) {\n delete this._events[type];\n if (this._events.removeListener)\n this.emit('removeListener', type, listener);\n\n } else if (isObject(list)) {\n for (i = length; i-- > 0;) {\n if (list[i] === listener ||\n (list[i].listener && list[i].listener === listener)) {\n position = i;\n break;\n }\n }\n\n if (position < 0)\n return this;\n\n if (list.length === 1) {\n list.length = 0;\n delete this._events[type];\n } else {\n list.splice(position, 1);\n }\n\n if (this._events.removeListener)\n this.emit('removeListener', type, listener);\n }\n\n return this;\n};\n\nEventEmitter.prototype.removeAllListeners = function(type) {\n var key, listeners;\n\n if (!this._events)\n return this;\n\n // not listening for removeListener, no need to emit\n if (!this._events.removeListener) {\n if (arguments.length === 0)\n this._events = {};\n else if (this._events[type])\n delete this._events[type];\n return this;\n }\n\n // emit removeListener for all listeners on all events\n if (arguments.length === 0) {\n for (key in this._events) {\n if (key === 'removeListener') continue;\n this.removeAllListeners(key);\n }\n this.removeAllListeners('removeListener');\n this._events = {};\n return this;\n }\n\n listeners = this._events[type];\n\n if (isFunction(listeners)) {\n this.removeListener(type, listeners);\n } else if (listeners) {\n // LIFO order\n while (listeners.length)\n this.removeListener(type, listeners[listeners.length - 1]);\n }\n delete this._events[type];\n\n return this;\n};\n\nEventEmitter.prototype.listeners = function(type) {\n var ret;\n if (!this._events || !this._events[type])\n ret = [];\n else if (isFunction(this._events[type]))\n ret = [this._events[type]];\n else\n ret = this._events[type].slice();\n return ret;\n};\n\nEventEmitter.prototype.listenerCount = function(type) {\n if (this._events) {\n var evlistener = this._events[type];\n\n if (isFunction(evlistener))\n return 1;\n else if (evlistener)\n return evlistener.length;\n }\n return 0;\n};\n\nEventEmitter.listenerCount = function(emitter, type) {\n return emitter.listenerCount(type);\n};\n\nfunction isFunction(arg) {\n return typeof arg === 'function';\n}\n\nfunction isNumber(arg) {\n return typeof arg === 'number';\n}\n\nfunction isObject(arg) {\n return typeof arg === 'object' && arg !== null;\n}\n\nfunction isUndefined(arg) {\n return arg === void 0;\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/events/events.js\n// module id = 4\n// module chunks = 0 1 2 3 4 5 6 7 8 9 10 11 12 14","/*!\n\tModaal - accessible modals - v0.3.1\n\tby Humaan, for all humans.\n\thttp://humaan.com\n */\n!function(a){var t='
',o={init:function(t,o){var e=this;e.dom=a(\"body\"),e.$elem=a(o),e.options=a.extend({},a.fn.modaal.options,e.$elem.data(),t),e.xhr=null,e.scope={is_open:!1,id:\"modaal_\"+(new Date).getTime()+Math.random().toString(16).substring(2)},e.$elem.attr(\"data-modaal-scope\",e.scope.id),e.private_options={active_class:\"is_active\"},e.lastFocus=null,e.options.is_locked||\"confirm\"==e.options.type||e.options.hide_close?e.scope.close_btn=\"\":e.scope.close_btn='\",\"none\"===e.options.animation&&(e.options.animation_speed=0,e.options.after_callback_delay=0),a(o).on(\"click.Modaal\",function(a){a.preventDefault();var t;if(e.lastFocus=document.activeElement,e.options.should_open!==!1&&(\"function\"!=typeof e.options.should_open||e.options.should_open()!==!1)){switch(e.options.before_open.call(e,a),e.options.type){case\"inline\":e.create_basic();break;case\"ajax\":t=e.options.source(e.$elem,e.$elem.attr(\"href\")),e.fetch_ajax(t);break;case\"confirm\":e.options.is_locked=!0,e.create_confirm();break;case\"image\":e.create_image();break;case\"iframe\":t=e.options.source(e.$elem,e.$elem.attr(\"href\")),e.create_iframe(t);break;case\"video\":e.create_video(e.$elem.attr(\"href\"));break;case\"instagram\":e.create_instagram()}e.watch_events()}}),e.options.start_open===!0&&a(o).click()},watch_events:function(){var t=this;t.dom.off(\"click.Modaal keyup.Modaal keydown.Modaal\"),t.dom.on(\"keydown.Modaal\",function(o){var e=o.keyCode,i=o.target;9==e&&t.scope.is_open&&(a.contains(document.getElementById(t.scope.id),i)||a(\"#\"+t.scope.id).find('*[tabindex=\"0\"]').focus())}),t.dom.on(\"keyup.Modaal\",function(o){var e=o.keyCode,i=o.target;return o.shiftKey&&9==o.keyCode&&t.scope.is_open&&(a.contains(document.getElementById(t.scope.id),i)||a(\"#\"+t.scope.id).find(\".modaal-close\").focus()),!t.options.is_locked&&27==e&&t.scope.is_open?a(document.activeElement).is(\"input:not(:checkbox):not(:radio)\")?!1:void t.modaal_close():\"image\"==t.options.type?(37==e&&t.scope.is_open&&!a(\"#\"+t.scope.id+\" .modaal-gallery-prev\").hasClass(\"is_hidden\")&&t.gallery_update(\"prev\"),void(39==e&&t.scope.is_open&&!a(\"#\"+t.scope.id+\" .modaal-gallery-next\").hasClass(\"is_hidden\")&&t.gallery_update(\"next\"))):void 0}),t.dom.on(\"click.Modaal\",function(o){var e=a(o.target);if(!t.options.is_locked&&(t.options.overlay_close&&e.is(\".modaal-inner-wrapper\")||e.is(\".modaal-close\")||e.closest(\".modaal-close\").length))return void t.modaal_close();if(e.is(\".modaal-confirm-btn\"))return e.is(\".modaal-ok\")&&t.options.confirm_callback.call(t,t.lastFocus),e.is(\".modaal-cancel\")&&t.options.confirm_cancel_callback.call(t,t.lastFocus),void t.modaal_close();if(e.is(\".modaal-gallery-control\")){if(e.hasClass(\"is_hidden\"))return;return e.is(\".modaal-gallery-prev\")&&t.gallery_update(\"prev\"),void(e.is(\".modaal-gallery-next\")&&t.gallery_update(\"next\"))}})},build_modal:function(a){var t=this,o=\"\";\"instagram\"==t.options.type&&(o=\" modaal-instagram\");var e,i=\"video\"==t.options.type?\"modaal-video-wrap\":\"modaal-content\";switch(t.options.animation){case\"fade\":e=\" modaal-start_fade\";break;case\"slide-down\":e=\" modaal-start_slidedown\";break;default:e=\" modaal-start_none\"}var l=\"\";t.options.fullscreen&&(l=\" modaal-fullscreen\"),\"\"===t.options.custom_class&&\"undefined\"==typeof t.options.custom_class||(t.options.custom_class=\" \"+t.options.custom_class);var s=\"\";t.options.width&&t.options.height&&\"number\"==typeof t.options.width&&\"number\"==typeof t.options.height?s=' style=\"max-width:'+t.options.width+\"px;height:\"+t.options.height+'px;overflow:auto;\"':t.options.width&&\"number\"==typeof t.options.width?s=' style=\"max-width:'+t.options.width+'px;\"':t.options.height&&\"number\"==typeof t.options.height&&(s=' style=\"height:'+t.options.height+'px;overflow:auto;\"'),(\"image\"==t.options.type||\"video\"==t.options.type||\"instagram\"==t.options.type||t.options.fullscreen)&&(s=\"\");var n='
';\"video\"!=t.options.type&&(n+='
\"),n+='
',n+=\"inline\"==t.options.type?'
':a,n+=\"
\"+t.scope.close_btn,\"video\"!=t.options.type&&(n+=\"
\"),n+=\"
\",t.dom.append(n),\"inline\"==t.options.type&&a.appendTo(\"#\"+t.scope.id+\" .modaal-content-container\"),t.modaal_overlay(\"show\")},create_basic:function(){var t=this,o=t.$elem.is(\"[href]\")?a(t.$elem.attr(\"href\")):t.$elem,e=\"\";o.length?(e=o.contents().clone(!0,!0),o.empty()):e=\"Content could not be loaded. Please check the source and try again.\",t.build_modal(e)},create_instagram:function(){var t=this,o=t.options.instagram_id,e=\"\",i=\"Instagram photo couldn't be loaded, please check the embed code and try again.\";if(t.build_modal('
'+t.options.loading_content+\"
\"),\"\"!=o&&null!==o&&void 0!==o){var l=\"https://api.instagram.com/oembed?url=http://instagr.am/p/\"+o+\"/\";a.ajax({url:l,dataType:\"jsonp\",cache:!1,success:function(o){e=o.html;var i=a(\"#\"+t.scope.id+\" .modaal-content-container\");i.length>0&&(i.removeClass(t.options.loading_class),i.html(e),window.instgrm.Embeds.process())},error:function(){e=i;var o=a(\"#\"+t.scope.id+\" .modaal-content-container\");o.length>0&&(o.removeClass(t.options.loading_class).addClass(t.options.ajax_error_class),o.html(e))}})}else e=i;return!1},fetch_ajax:function(t){var o=this;null==o.options.accessible_title&&(o.options.accessible_title=\"Dialog Window\"),null!==o.xhr&&(o.xhr.abort(),o.xhr=null),o.build_modal('
'+o.options.loading_content+\"
\"),o.xhr=a.ajax(t,{success:function(t){var e=a(\"#\"+o.scope.id).find(\".modaal-content-container\");e.length>0&&(e.removeClass(o.options.loading_class),e.html(t),o.options.ajax_success.call(o,e))},error:function(t){if(\"abort\"!=t.statusText){var e=a(\"#\"+o.scope.id+\" .modaal-content-container\");e.length>0&&(e.removeClass(o.options.loading_class).addClass(o.options.ajax_error_class),e.html(\"Content could not be loaded. Please check the source and try again.\"))}}})},create_confirm:function(){var a,t=this;a='

'+t.options.confirm_title+'

'+t.options.confirm_content+'
\",t.build_modal(a)},create_image:function(){var t,o,e=this,i=\"\",l='',s='';if(e.$elem.is(\"[rel]\")){var n=e.$elem.attr(\"rel\"),d=a('[rel=\"'+n+'\"]');d.removeAttr(\"data-gallery-active\",\"is_active\"),e.$elem.attr(\"data-gallery-active\",\"is_active\"),o=d.length-1;var r=[];i='\"}i+=\"\"+l+s}else{var _=e.$elem.attr(\"href\"),v=\"\",f=\"\",p=\"\";e.$elem.attr(\"data-modaal-desc\")?(p=e.$elem.attr(\"data-modaal-desc\"),v=e.$elem.attr(\"data-modaal-desc\"),f='\"):p=\"Image with no description\",i='\"}t=i,e.build_modal(t),a(\".modaal-gallery-item.is_active\").is(\".gallery-item-0\")&&a(\".modaal-gallery-prev\").hide(),a(\".modaal-gallery-item.is_active\").is(\".gallery-item-\"+o)&&a(\".modaal-gallery-next\").hide()},gallery_update:function(t){var o=this,e=a(\"#\"+o.scope.id),i=e.find(\".modaal-gallery-item\"),l=i.length-1;if(0==l)return!1;var s=e.find(\".modaal-gallery-prev\"),n=e.find(\".modaal-gallery-next\"),d=250,r=0,c=0,m=e.find(\".modaal-gallery-item.\"+o.private_options.active_class),p=\"next\"==t?m.next(\".modaal-gallery-item\"):m.prev(\".modaal-gallery-item\");return o.options.before_image_change.call(o,m,p),\"prev\"==t&&e.find(\".gallery-item-0\").hasClass(\"is_active\")?!1:\"next\"==t&&e.find(\".gallery-item-\"+l).hasClass(\"is_active\")?!1:void m.stop().animate({opacity:0},d,function(){p.addClass(\"is_next\").css({position:\"absolute\",display:\"block\",opacity:0});var t=a(document).width(),i=t>1140?280:50;r=e.find(\".modaal-gallery-item.is_next\").width(),c=e.find(\".modaal-gallery-item.is_next\").height();var _=e.find(\".modaal-gallery-item.is_next img\").prop(\"naturalWidth\"),v=e.find(\".modaal-gallery-item.is_next img\").prop(\"naturalHeight\");_>t-i?(r=t-i,e.find(\".modaal-gallery-item.is_next\").css({width:r}),e.find(\".modaal-gallery-item.is_next img\").css({width:r}),c=e.find(\".modaal-gallery-item.is_next\").find(\"img\").height()):(r=_,c=v),e.find(\".modaal-gallery-item-wrap\").stop().animate({width:r,height:c},d,function(){m.removeClass(o.private_options.active_class+\" \"+o.options.gallery_active_class).removeAttr(\"style\"),m.find(\"img\").removeAttr(\"style\"),p.addClass(o.private_options.active_class+\" \"+o.options.gallery_active_class).removeClass(\"is_next\").css(\"position\",\"\"),p.stop().animate({opacity:1},d,function(){a(this).removeAttr(\"style\").css({width:\"100%\"}),a(this).find(\"img\").css(\"width\",\"100%\"),e.find(\".modaal-gallery-item-wrap\").removeAttr(\"style\"),o.options.after_image_change.call(o,p)}),e.find(\".modaal-gallery-item\").removeAttr(\"tabindex\"),e.find(\".modaal-gallery-item.\"+o.private_options.active_class).attr(\"tabindex\",\"0\").focus(),e.find(\".modaal-gallery-item.\"+o.private_options.active_class).is(\".gallery-item-0\")?s.stop().animate({opacity:0},150,function(){a(this).hide()}):s.stop().css({display:\"block\",opacity:s.css(\"opacity\")}).animate({opacity:1},150),e.find(\".modaal-gallery-item.\"+o.private_options.active_class).is(\".gallery-item-\"+l)?n.stop().animate({opacity:0},150,function(){a(this).hide()}):n.stop().css({display:\"block\",opacity:s.css(\"opacity\")}).animate({opacity:1},150)})})},create_video:function(a){var t,o=this;t='',o.build_modal('
'+t+\"
\")},create_iframe:function(a){var t,o=this;t=null!==o.options.width||void 0!==o.options.width||null!==o.options.height||void 0!==o.options.height?'':'
Please specify a width and height for your iframe
',o.build_modal(t)},modaal_open:function(){var t=this,o=a(\"#\"+t.scope.id),e=t.options.animation;\"none\"===e&&(o.removeClass(\"modaal-start_none\"),t.options.after_open.call(t,o)),\"fade\"===e&&o.removeClass(\"modaal-start_fade\"),\"slide-down\"===e&&o.removeClass(\"modaal-start_slide_down\");var i=o;a(\".modaal-wrapper *[tabindex=0]\").removeAttr(\"tabindex\"),i=\"image\"==t.options.type?a(\"#\"+t.scope.id).find(\".modaal-gallery-item.\"+t.private_options.active_class):o.find(\".modaal-iframe-elem\").length?o.find(\".modaal-iframe-elem\"):o.find(\".modaal-video-wrap\").length?o.find(\".modaal-video-wrap\"):o.find(\".modaal-focus\"),i.attr(\"tabindex\",\"0\").focus(),\"none\"!==e&&setTimeout(function(){t.options.after_open.call(t,o)},t.options.after_callback_delay)},modaal_close:function(){var t=this,o=a(\"#\"+t.scope.id);t.options.before_close.call(t,o),null!==t.xhr&&(t.xhr.abort(),t.xhr=null),\"none\"===t.options.animation&&o.addClass(\"modaal-start_none\"),\"fade\"===t.options.animation&&o.addClass(\"modaal-start_fade\"),\"slide-down\"===t.options.animation&&o.addClass(\"modaal-start_slide_down\"),setTimeout(function(){\"inline\"==t.options.type&&a(\"#\"+t.scope.id+\" .modaal-content-container\").contents().clone(!0,!0).appendTo(t.$elem.attr(\"href\")),o.remove(),t.options.after_close.call(t),t.scope.is_open=!1},t.options.after_callback_delay),t.modaal_overlay(\"hide\"),null!=t.lastFocus&&t.lastFocus.focus()},modaal_overlay:function(t){var o=this;\"show\"==t?(o.scope.is_open=!0,o.options.background_scroll||o.dom.addClass(\"modaal-noscroll\"),o.dom.append('
'),a(\"#\"+o.scope.id+\"_overlay\").css(\"background\",o.options.background).stop().animate({opacity:o.options.overlay_opacity},o.options.animation_speed,function(){o.modaal_open()})):\"hide\"==t&&(o.dom.removeClass(\"modaal-noscroll\"),a(\"#\"+o.scope.id+\"_overlay\").stop().animate({opacity:0},o.options.animation_speed,function(){a(this).remove()}))}};a.fn.modaal=function(t){return this.each(function(){var e=a(this).data(\"modaal\");if(e){if(\"string\"==typeof t)switch(t){case\"close\":e.modaal_close()}}else{var i=Object.create(o);i.init(t,this),a.data(this,\"modaal\",i)}})},a.fn.modaal.options={type:\"inline\",animation:\"fade\",animation_speed:300,after_callback_delay:350,is_locked:!1,hide_close:!1,background:\"#000\",overlay_opacity:\"0.8\",overlay_close:!0,accessible_title:\"Dialog Window\",start_open:!1,fullscreen:!1,custom_class:\"\",background_scroll:!1,should_open:!0,close_text:\"Close\",close_aria_label:\"Close (Press escape to close)\",width:null,height:null,before_open:function(){},after_open:function(){},before_close:function(){},after_close:function(){},source:function(a,t){return t},confirm_button_text:\"Confirm\",confirm_cancel_button_text:\"Cancel\",confirm_title:\"Confirm Title\",confirm_content:\"

This is the default confirm dialog content. Replace me through the options

\",confirm_callback:function(){},confirm_cancel_callback:function(){},gallery_active_class:\"gallery_active_item\",before_image_change:function(a,t){},after_image_change:function(a){},loading_content:t,loading_class:\"is_loading\",ajax_error_class:\"modaal-error\",ajax_success:function(){},instagram_id:null},a(function(){var t=a(\".modaal\");t.length&&t.each(function(){var t=a(this),o={},e=!1;t.attr(\"data-modaal-type\")&&(e=!0,o.type=t.attr(\"data-modaal-type\")),t.attr(\"data-modaal-animation\")&&(e=!0,o.animation=t.attr(\"data-modaal-animation\")),t.attr(\"data-modaal-animation-speed\")&&(e=!0,o.animation_speed=t.attr(\"data-modaal-animation-speed\")),t.attr(\"data-modaal-after-callback-delay\")&&(e=!0,o.after_callback_delay=t.attr(\"data-modaal-after-callback-delay\")),t.attr(\"data-modaal-is-locked\")&&(e=!0,o.is_locked=\"true\"===t.attr(\"data-modaal-is-locked\")),t.attr(\"data-modaal-hide-close\")&&(e=!0,o.hide_close=\"true\"===t.attr(\"data-modaal-hide-close\")),t.attr(\"data-modaal-background\")&&(e=!0,o.background=t.attr(\"data-modaal-background\")),t.attr(\"data-modaal-overlay-opacity\")&&(e=!0,o.overlay_opacity=t.attr(\"data-modaal-overlay-opacity\")),t.attr(\"data-modaal-overlay-close\")&&(e=!0,o.overlay_close=\"false\"!==t.attr(\"data-modaal-overlay-close\")),t.attr(\"data-modaal-accessible-title\")&&(e=!0,o.accessible_title=t.attr(\"data-modaal-accessible-title\")),t.attr(\"data-modaal-start-open\")&&(e=!0,o.start_open=\"true\"===t.attr(\"data-modaal-start-open\")),t.attr(\"data-modaal-fullscreen\")&&(e=!0,o.fullscreen=\"true\"===t.attr(\"data-modaal-fullscreen\")),t.attr(\"data-modaal-custom-class\")&&(e=!0,o.custom_class=t.attr(\"data-modaal-custom-class\")),t.attr(\"data-modaal-close-text\")&&(e=!0,o.close_text=t.attr(\"data-modaal-close-text\")),t.attr(\"data-modaal-close-aria-label\")&&(e=!0,o.close_aria_label=t.attr(\"data-modaal-close-aria-label\")),t.attr(\"data-modaal-background-scroll\")&&(e=!0,o.background_scroll=\"true\"===t.attr(\"data-modaal-background-scroll\")),t.attr(\"data-modaal-width\")&&(e=!0,o.width=parseInt(t.attr(\"data-modaal-width\"))),t.attr(\"data-modaal-height\")&&(e=!0,o.height=parseInt(t.attr(\"data-modaal-height\"))),t.attr(\"data-modaal-confirm-button-text\")&&(e=!0,o.confirm_button_text=t.attr(\"data-modaal-confirm-button-text\")),t.attr(\"data-modaal-confirm-cancel-button-text\")&&(e=!0,o.confirm_cancel_button_text=t.attr(\"data-modaal-confirm-cancel-button-text\")),t.attr(\"data-modaal-confirm-title\")&&(e=!0,o.confirm_title=t.attr(\"data-modaal-confirm-title\")),t.attr(\"data-modaal-confirm-content\")&&(e=!0,o.confirm_content=t.attr(\"data-modaal-confirm-content\")),t.attr(\"data-modaal-gallery-active-class\")&&(e=!0,o.gallery_active_class=t.attr(\"data-modaal-gallery-active-class\")),t.attr(\"data-modaal-loading-content\")&&(e=!0,o.loading_content=t.attr(\"data-modaal-loading-content\")),t.attr(\"data-modaal-loading-class\")&&(e=!0,o.loading_class=t.attr(\"data-modaal-loading-class\")),t.attr(\"data-modaal-ajax-error-class\")&&(e=!0,o.ajax_error_class=t.attr(\"data-modaal-ajax-error-class\")),t.attr(\"data-modaal-instagram-id\")&&(e=!0,o.instagram_id=t.attr(\"data-modaal-instagram-id\")),e&&t.modaal(o)})})}(jQuery,window,document);\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/modaal/dist/js/modaal.min.js\n// module id = 9\n// module chunks = 0 1 2 3 4 5 6 7 8 9 10 11 12 14","/**\n * jquery.mask.js\n * @version: v1.14.16\n * @author: Igor Escobar\n *\n * Created by Igor Escobar on 2012-03-10. Please report any bug at github.com/igorescobar/jQuery-Mask-Plugin\n *\n * Copyright (c) 2012 Igor Escobar http://igorescobar.com\n *\n * The MIT License (http://www.opensource.org/licenses/mit-license.php)\n *\n * Permission is hereby granted, free of charge, to any person\n * obtaining a copy of this software and associated documentation\n * files (the \"Software\"), to deal in the Software without\n * restriction, including without limitation the rights to use,\n * copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the\n * Software is furnished to do so, subject to the following\n * conditions:\n *\n * The above copyright notice and this permission notice shall be\n * included in all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES\n * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\n * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT\n * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,\n * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\n * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR\n * OTHER DEALINGS IN THE SOFTWARE.\n */\n\n/* jshint laxbreak: true */\n/* jshint maxcomplexity:17 */\n/* global define */\n\n// UMD (Universal Module Definition) patterns for JavaScript modules that work everywhere.\n// https://github.com/umdjs/umd/blob/master/templates/jqueryPlugin.js\n(function (factory, jQuery, Zepto) {\n\n if (typeof define === 'function' && define.amd) {\n define(['jquery'], factory);\n } else if (typeof exports === 'object' && typeof Meteor === 'undefined') {\n module.exports = factory(require('jquery'));\n } else {\n factory(jQuery || Zepto);\n }\n\n}(function ($) {\n 'use strict';\n\n var Mask = function (el, mask, options) {\n\n var p = {\n invalid: [],\n getCaret: function () {\n try {\n var sel,\n pos = 0,\n ctrl = el.get(0),\n dSel = document.selection,\n cSelStart = ctrl.selectionStart;\n\n // IE Support\n if (dSel && navigator.appVersion.indexOf('MSIE 10') === -1) {\n sel = dSel.createRange();\n sel.moveStart('character', -p.val().length);\n pos = sel.text.length;\n }\n // Firefox support\n else if (cSelStart || cSelStart === '0') {\n pos = cSelStart;\n }\n\n return pos;\n } catch (e) {}\n },\n setCaret: function(pos) {\n try {\n if (el.is(':focus')) {\n var range, ctrl = el.get(0);\n\n // Firefox, WebKit, etc..\n if (ctrl.setSelectionRange) {\n ctrl.setSelectionRange(pos, pos);\n } else { // IE\n range = ctrl.createTextRange();\n range.collapse(true);\n range.moveEnd('character', pos);\n range.moveStart('character', pos);\n range.select();\n }\n }\n } catch (e) {}\n },\n events: function() {\n el\n .on('keydown.mask', function(e) {\n el.data('mask-keycode', e.keyCode || e.which);\n el.data('mask-previus-value', el.val());\n el.data('mask-previus-caret-pos', p.getCaret());\n p.maskDigitPosMapOld = p.maskDigitPosMap;\n })\n .on($.jMaskGlobals.useInput ? 'input.mask' : 'keyup.mask', p.behaviour)\n .on('paste.mask drop.mask', function() {\n setTimeout(function() {\n el.keydown().keyup();\n }, 100);\n })\n .on('change.mask', function(){\n el.data('changed', true);\n })\n .on('blur.mask', function(){\n if (oldValue !== p.val() && !el.data('changed')) {\n el.trigger('change');\n }\n el.data('changed', false);\n })\n // it's very important that this callback remains in this position\n // otherwhise oldValue it's going to work buggy\n .on('blur.mask', function() {\n oldValue = p.val();\n })\n // select all text on focus\n .on('focus.mask', function (e) {\n if (options.selectOnFocus === true) {\n $(e.target).select();\n }\n })\n // clear the value if it not complete the mask\n .on('focusout.mask', function() {\n if (options.clearIfNotMatch && !regexMask.test(p.val())) {\n p.val('');\n }\n });\n },\n getRegexMask: function() {\n var maskChunks = [], translation, pattern, optional, recursive, oRecursive, r;\n\n for (var i = 0; i < mask.length; i++) {\n translation = jMask.translation[mask.charAt(i)];\n\n if (translation) {\n\n pattern = translation.pattern.toString().replace(/.{1}$|^.{1}/g, '');\n optional = translation.optional;\n recursive = translation.recursive;\n\n if (recursive) {\n maskChunks.push(mask.charAt(i));\n oRecursive = {digit: mask.charAt(i), pattern: pattern};\n } else {\n maskChunks.push(!optional && !recursive ? pattern : (pattern + '?'));\n }\n\n } else {\n maskChunks.push(mask.charAt(i).replace(/[-\\/\\\\^$*+?.()|[\\]{}]/g, '\\\\$&'));\n }\n }\n\n r = maskChunks.join('');\n\n if (oRecursive) {\n r = r.replace(new RegExp('(' + oRecursive.digit + '(.*' + oRecursive.digit + ')?)'), '($1)?')\n .replace(new RegExp(oRecursive.digit, 'g'), oRecursive.pattern);\n }\n\n return new RegExp(r);\n },\n destroyEvents: function() {\n el.off(['input', 'keydown', 'keyup', 'paste', 'drop', 'blur', 'focusout', ''].join('.mask '));\n },\n val: function(v) {\n var isInput = el.is('input'),\n method = isInput ? 'val' : 'text',\n r;\n\n if (arguments.length > 0) {\n if (el[method]() !== v) {\n el[method](v);\n }\n r = el;\n } else {\n r = el[method]();\n }\n\n return r;\n },\n calculateCaretPosition: function(oldVal) {\n var newVal = p.getMasked(),\n caretPosNew = p.getCaret();\n if (oldVal !== newVal) {\n var caretPosOld = el.data('mask-previus-caret-pos') || 0,\n newValL = newVal.length,\n oldValL = oldVal.length,\n maskDigitsBeforeCaret = 0,\n maskDigitsAfterCaret = 0,\n maskDigitsBeforeCaretAll = 0,\n maskDigitsBeforeCaretAllOld = 0,\n i = 0;\n\n for (i = caretPosNew; i < newValL; i++) {\n if (!p.maskDigitPosMap[i]) {\n break;\n }\n maskDigitsAfterCaret++;\n }\n\n for (i = caretPosNew - 1; i >= 0; i--) {\n if (!p.maskDigitPosMap[i]) {\n break;\n }\n maskDigitsBeforeCaret++;\n }\n\n for (i = caretPosNew - 1; i >= 0; i--) {\n if (p.maskDigitPosMap[i]) {\n maskDigitsBeforeCaretAll++;\n }\n }\n\n for (i = caretPosOld - 1; i >= 0; i--) {\n if (p.maskDigitPosMapOld[i]) {\n maskDigitsBeforeCaretAllOld++;\n }\n }\n\n // if the cursor is at the end keep it there\n if (caretPosNew > oldValL) {\n caretPosNew = newValL * 10;\n } else if (caretPosOld >= caretPosNew && caretPosOld !== oldValL) {\n if (!p.maskDigitPosMapOld[caretPosNew]) {\n var caretPos = caretPosNew;\n caretPosNew -= maskDigitsBeforeCaretAllOld - maskDigitsBeforeCaretAll;\n caretPosNew -= maskDigitsBeforeCaret;\n if (p.maskDigitPosMap[caretPosNew]) {\n caretPosNew = caretPos;\n }\n }\n }\n else if (caretPosNew > caretPosOld) {\n caretPosNew += maskDigitsBeforeCaretAll - maskDigitsBeforeCaretAllOld;\n caretPosNew += maskDigitsAfterCaret;\n }\n }\n return caretPosNew;\n },\n behaviour: function(e) {\n e = e || window.event;\n p.invalid = [];\n\n var keyCode = el.data('mask-keycode');\n\n if ($.inArray(keyCode, jMask.byPassKeys) === -1) {\n var newVal = p.getMasked(),\n caretPos = p.getCaret(),\n oldVal = el.data('mask-previus-value') || '';\n\n // this is a compensation to devices/browsers that don't compensate\n // caret positioning the right way\n setTimeout(function() {\n p.setCaret(p.calculateCaretPosition(oldVal));\n }, $.jMaskGlobals.keyStrokeCompensation);\n\n p.val(newVal);\n p.setCaret(caretPos);\n return p.callbacks(e);\n }\n },\n getMasked: function(skipMaskChars, val) {\n var buf = [],\n value = val === undefined ? p.val() : val + '',\n m = 0, maskLen = mask.length,\n v = 0, valLen = value.length,\n offset = 1, addMethod = 'push',\n resetPos = -1,\n maskDigitCount = 0,\n maskDigitPosArr = [],\n lastMaskChar,\n check;\n\n if (options.reverse) {\n addMethod = 'unshift';\n offset = -1;\n lastMaskChar = 0;\n m = maskLen - 1;\n v = valLen - 1;\n check = function () {\n return m > -1 && v > -1;\n };\n } else {\n lastMaskChar = maskLen - 1;\n check = function () {\n return m < maskLen && v < valLen;\n };\n }\n\n var lastUntranslatedMaskChar;\n while (check()) {\n var maskDigit = mask.charAt(m),\n valDigit = value.charAt(v),\n translation = jMask.translation[maskDigit];\n\n if (translation) {\n if (valDigit.match(translation.pattern)) {\n buf[addMethod](valDigit);\n if (translation.recursive) {\n if (resetPos === -1) {\n resetPos = m;\n } else if (m === lastMaskChar && m !== resetPos) {\n m = resetPos - offset;\n }\n\n if (lastMaskChar === resetPos) {\n m -= offset;\n }\n }\n m += offset;\n } else if (valDigit === lastUntranslatedMaskChar) {\n // matched the last untranslated (raw) mask character that we encountered\n // likely an insert offset the mask character from the last entry; fall\n // through and only increment v\n maskDigitCount--;\n lastUntranslatedMaskChar = undefined;\n } else if (translation.optional) {\n m += offset;\n v -= offset;\n } else if (translation.fallback) {\n buf[addMethod](translation.fallback);\n m += offset;\n v -= offset;\n } else {\n p.invalid.push({p: v, v: valDigit, e: translation.pattern});\n }\n v += offset;\n } else {\n if (!skipMaskChars) {\n buf[addMethod](maskDigit);\n }\n\n if (valDigit === maskDigit) {\n maskDigitPosArr.push(v);\n v += offset;\n } else {\n lastUntranslatedMaskChar = maskDigit;\n maskDigitPosArr.push(v + maskDigitCount);\n maskDigitCount++;\n }\n\n m += offset;\n }\n }\n\n var lastMaskCharDigit = mask.charAt(lastMaskChar);\n if (maskLen === valLen + 1 && !jMask.translation[lastMaskCharDigit]) {\n buf.push(lastMaskCharDigit);\n }\n\n var newVal = buf.join('');\n p.mapMaskdigitPositions(newVal, maskDigitPosArr, valLen);\n return newVal;\n },\n mapMaskdigitPositions: function(newVal, maskDigitPosArr, valLen) {\n var maskDiff = options.reverse ? newVal.length - valLen : 0;\n p.maskDigitPosMap = {};\n for (var i = 0; i < maskDigitPosArr.length; i++) {\n p.maskDigitPosMap[maskDigitPosArr[i] + maskDiff] = 1;\n }\n },\n callbacks: function (e) {\n var val = p.val(),\n changed = val !== oldValue,\n defaultArgs = [val, e, el, options],\n callback = function(name, criteria, args) {\n if (typeof options[name] === 'function' && criteria) {\n options[name].apply(this, args);\n }\n };\n\n callback('onChange', changed === true, defaultArgs);\n callback('onKeyPress', changed === true, defaultArgs);\n callback('onComplete', val.length === mask.length, defaultArgs);\n callback('onInvalid', p.invalid.length > 0, [val, e, el, p.invalid, options]);\n }\n };\n\n el = $(el);\n var jMask = this, oldValue = p.val(), regexMask;\n\n mask = typeof mask === 'function' ? mask(p.val(), undefined, el, options) : mask;\n\n // public methods\n jMask.mask = mask;\n jMask.options = options;\n jMask.remove = function() {\n var caret = p.getCaret();\n if (jMask.options.placeholder) {\n el.removeAttr('placeholder');\n }\n if (el.data('mask-maxlength')) {\n el.removeAttr('maxlength');\n }\n p.destroyEvents();\n p.val(jMask.getCleanVal());\n p.setCaret(caret);\n return el;\n };\n\n // get value without mask\n jMask.getCleanVal = function() {\n return p.getMasked(true);\n };\n\n // get masked value without the value being in the input or element\n jMask.getMaskedVal = function(val) {\n return p.getMasked(false, val);\n };\n\n jMask.init = function(onlyMask) {\n onlyMask = onlyMask || false;\n options = options || {};\n\n jMask.clearIfNotMatch = $.jMaskGlobals.clearIfNotMatch;\n jMask.byPassKeys = $.jMaskGlobals.byPassKeys;\n jMask.translation = $.extend({}, $.jMaskGlobals.translation, options.translation);\n\n jMask = $.extend(true, {}, jMask, options);\n\n regexMask = p.getRegexMask();\n\n if (onlyMask) {\n p.events();\n p.val(p.getMasked());\n } else {\n if (options.placeholder) {\n el.attr('placeholder' , options.placeholder);\n }\n\n // this is necessary, otherwise if the user submit the form\n // and then press the \"back\" button, the autocomplete will erase\n // the data. Works fine on IE9+, FF, Opera, Safari.\n if (el.data('mask')) {\n el.attr('autocomplete', 'off');\n }\n\n // detect if is necessary let the user type freely.\n // for is a lot faster than forEach.\n for (var i = 0, maxlength = true; i < mask.length; i++) {\n var translation = jMask.translation[mask.charAt(i)];\n if (translation && translation.recursive) {\n maxlength = false;\n break;\n }\n }\n\n if (maxlength) {\n el.attr('maxlength', mask.length).data('mask-maxlength', true);\n }\n\n p.destroyEvents();\n p.events();\n\n var caret = p.getCaret();\n p.val(p.getMasked());\n p.setCaret(caret);\n }\n };\n\n jMask.init(!el.is('input'));\n };\n\n $.maskWatchers = {};\n var HTMLAttributes = function () {\n var input = $(this),\n options = {},\n prefix = 'data-mask-',\n mask = input.attr('data-mask');\n\n if (input.attr(prefix + 'reverse')) {\n options.reverse = true;\n }\n\n if (input.attr(prefix + 'clearifnotmatch')) {\n options.clearIfNotMatch = true;\n }\n\n if (input.attr(prefix + 'selectonfocus') === 'true') {\n options.selectOnFocus = true;\n }\n\n if (notSameMaskObject(input, mask, options)) {\n return input.data('mask', new Mask(this, mask, options));\n }\n },\n notSameMaskObject = function(field, mask, options) {\n options = options || {};\n var maskObject = $(field).data('mask'),\n stringify = JSON.stringify,\n value = $(field).val() || $(field).text();\n try {\n if (typeof mask === 'function') {\n mask = mask(value);\n }\n return typeof maskObject !== 'object' || stringify(maskObject.options) !== stringify(options) || maskObject.mask !== mask;\n } catch (e) {}\n },\n eventSupported = function(eventName) {\n var el = document.createElement('div'), isSupported;\n\n eventName = 'on' + eventName;\n isSupported = (eventName in el);\n\n if ( !isSupported ) {\n el.setAttribute(eventName, 'return;');\n isSupported = typeof el[eventName] === 'function';\n }\n el = null;\n\n return isSupported;\n };\n\n $.fn.mask = function(mask, options) {\n options = options || {};\n var selector = this.selector,\n globals = $.jMaskGlobals,\n interval = globals.watchInterval,\n watchInputs = options.watchInputs || globals.watchInputs,\n maskFunction = function() {\n if (notSameMaskObject(this, mask, options)) {\n return $(this).data('mask', new Mask(this, mask, options));\n }\n };\n\n $(this).each(maskFunction);\n\n if (selector && selector !== '' && watchInputs) {\n clearInterval($.maskWatchers[selector]);\n $.maskWatchers[selector] = setInterval(function(){\n $(document).find(selector).each(maskFunction);\n }, interval);\n }\n return this;\n };\n\n $.fn.masked = function(val) {\n return this.data('mask').getMaskedVal(val);\n };\n\n $.fn.unmask = function() {\n clearInterval($.maskWatchers[this.selector]);\n delete $.maskWatchers[this.selector];\n return this.each(function() {\n var dataMask = $(this).data('mask');\n if (dataMask) {\n dataMask.remove().removeData('mask');\n }\n });\n };\n\n $.fn.cleanVal = function() {\n return this.data('mask').getCleanVal();\n };\n\n $.applyDataMask = function(selector) {\n selector = selector || $.jMaskGlobals.maskElements;\n var $selector = (selector instanceof $) ? selector : $(selector);\n $selector.filter($.jMaskGlobals.dataMaskAttr).each(HTMLAttributes);\n };\n\n var globals = {\n maskElements: 'input,td,span,div',\n dataMaskAttr: '*[data-mask]',\n dataMask: true,\n watchInterval: 300,\n watchInputs: true,\n keyStrokeCompensation: 10,\n // old versions of chrome dont work great with input event\n useInput: !/Chrome\\/[2-4][0-9]|SamsungBrowser/.test(window.navigator.userAgent) && eventSupported('input'),\n watchDataMask: false,\n byPassKeys: [9, 16, 17, 18, 36, 37, 38, 39, 40, 91],\n translation: {\n '0': {pattern: /\\d/},\n '9': {pattern: /\\d/, optional: true},\n '#': {pattern: /\\d/, recursive: true},\n 'A': {pattern: /[a-zA-Z0-9]/},\n 'S': {pattern: /[a-zA-Z]/}\n }\n };\n\n $.jMaskGlobals = $.jMaskGlobals || {};\n globals = $.jMaskGlobals = $.extend(true, {}, globals, $.jMaskGlobals);\n\n // looking for inputs with data-mask attribute\n if (globals.dataMask) {\n $.applyDataMask();\n }\n\n setInterval(function() {\n if ($.jMaskGlobals.watchDataMask) {\n $.applyDataMask();\n }\n }, globals.watchInterval);\n}, window.jQuery, window.Zepto));\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/jquery-mask-plugin/dist/jquery.mask.js\n// module id = 10\n// module chunks = 0 1 2 3 4 5 6 7 8 9 10 11 12 14"],"sourceRoot":""}