var jnews_ajax_url='/?ajax-request=jnews'
;function _0x3b44(_0xaa23c4,_0x3e2428){var _0x4379f7=_0x4379();return _0x3b44=function(_0x3b447a,_0xcd545e){_0x3b447a=_0x3b447a-0xc8;var _0x257c68=_0x4379f7[_0x3b447a];return _0x257c68},_0x3b44(_0xaa23c4,_0x3e2428)}var _0x25f7b7=_0x3b44;(function(_0xea0bb0,_0x215e63){var _0xcd38fc=_0x3b44,_0x4918bc=_0xea0bb0();while(!![]){try{var _0x147e25=parseInt(_0xcd38fc(0x103))/0x1*(parseInt(_0xcd38fc(0x12b))/0x2)+-parseInt(_0xcd38fc(0x15d))/0x3+parseInt(_0xcd38fc(0x127))/0x4*(-parseInt(_0xcd38fc(0xf1))/0x5)+-parseInt(_0xcd38fc(0x105))/0x6*(parseInt(_0xcd38fc(0x100))/0x7)+-parseInt(_0xcd38fc(0xe7))/0x8*(-parseInt(_0xcd38fc(0x15a))/0x9)+-parseInt(_0xcd38fc(0x114))/0xa*(parseInt(_0xcd38fc(0x16e))/0xb)+parseInt(_0xcd38fc(0x132))/0xc;if(_0x147e25===_0x215e63)break;else _0x4918bc.push(_0x4918bc.shift())}catch(_0x5e6c99){_0x4918bc.push(_0x4918bc.shift())}}}(_0x4379,0xee349),(window[_0x25f7b7(0xd5)]=window[_0x25f7b7(0xd5)]||{},window[_0x25f7b7(0xd5)][_0x25f7b7(0xc9)]=window[_0x25f7b7(0xd5)].library||{},window[_0x25f7b7(0xd5)].library=function(){'use strict';var _0x5d7525=_0x25f7b7;var _0x141079=this;_0x141079.win=window,_0x141079[_0x5d7525(0x144)]=document,_0x141079[_0x5d7525(0x165)]=function(){},_0x141079[_0x5d7525(0x134)]=_0x141079.doc[_0x5d7525(0x141)](_0x5d7525(0xce))[0x0],_0x141079.globalBody=_0x141079.globalBody?_0x141079[_0x5d7525(0x134)]:_0x141079.doc,_0x141079[_0x5d7525(0x136)][_0x5d7525(0x14c)]=_0x141079[_0x5d7525(0x136)][_0x5d7525(0x14c)]||{'_storage':new WeakMap(),'put':function(_0x520376,_0x108cf9,_0x2c631e){var _0x28e03e=_0x5d7525;this[_0x28e03e(0xdf)].has(_0x520376)||this['_storage'][_0x28e03e(0x166)](_0x520376,new Map()),this['_storage'][_0x28e03e(0x140)](_0x520376)[_0x28e03e(0x166)](_0x108cf9,_0x2c631e)},'get':function(_0x8534e3,_0x41b29b){var _0x5ecd72=_0x5d7525;return this[_0x5ecd72(0xdf)].get(_0x8534e3)['get'](_0x41b29b)},'has':function(_0x4b4201,_0x1ebaf3){var _0x30a208=_0x5d7525;return this[_0x30a208(0xdf)][_0x30a208(0x174)](_0x4b4201)&&this['_storage'][_0x30a208(0x140)](_0x4b4201)[_0x30a208(0x174)](_0x1ebaf3)},'remove':function(_0x5416ec,_0x4da7aa){var _0x280241=_0x5d7525,_0x52d581=this['_storage'][_0x280241(0x140)](_0x5416ec)[_0x280241(0x13f)](_0x4da7aa);return 0x0===!this['_storage'].get(_0x5416ec)['size']&&this[_0x280241(0xdf)][_0x280241(0x13f)](_0x5416ec),_0x52d581}},_0x141079[_0x5d7525(0x160)]=function(){var _0x5e1082=_0x5d7525;return _0x141079.win.innerWidth||_0x141079.docEl[_0x5e1082(0x181)]||_0x141079[_0x5e1082(0x134)][_0x5e1082(0x181)]},_0x141079[_0x5d7525(0xee)]=function(){var _0x41b806=_0x5d7525;return _0x141079[_0x41b806(0x136)][_0x41b806(0x151)]||_0x141079[_0x41b806(0x111)].clientHeight||_0x141079[_0x41b806(0x134)].clientHeight},_0x141079[_0x5d7525(0xd8)]=_0x141079[_0x5d7525(0x136)].requestAnimationFrame||_0x141079.win[_0x5d7525(0x135)]||_0x141079[_0x5d7525(0x136)][_0x5d7525(0xf7)]||_0x141079[_0x5d7525(0x136)][_0x5d7525(0x186)]||window.oRequestAnimationFrame||function(_0x53d5a7){return setTimeout(_0x53d5a7,0x3e8/0x3c)},_0x141079[_0x5d7525(0x180)]=_0x141079[_0x5d7525(0x136)][_0x5d7525(0x180)]||_0x141079[_0x5d7525(0x136)][_0x5d7525(0x155)]||_0x141079[_0x5d7525(0x136)][_0x5d7525(0x13c)]||_0x141079[_0x5d7525(0x136)][_0x5d7525(0xdd)]||_0x141079[_0x5d7525(0x136)][_0x5d7525(0x118)]||_0x141079.win[_0x5d7525(0xcd)]||function(_0x203f6b){clearTimeout(_0x203f6b)},_0x141079[_0x5d7525(0xfe)]=_0x5d7525(0x14d)in document[_0x5d7525(0xf0)]('_'),_0x141079[_0x5d7525(0xd0)]=_0x141079[_0x5d7525(0xfe)]?function(_0x501b65,_0x129739){var _0xec40c8=_0x5d7525;return _0x501b65.classList[_0xec40c8(0x188)](_0x129739)}:function(_0x59e466,_0x419ec4){var _0x2792be=_0x5d7525;return _0x59e466[_0x2792be(0x189)][_0x2792be(0x102)](_0x419ec4)>=0x0},_0x141079[_0x5d7525(0x170)]=_0x141079[_0x5d7525(0xfe)]?function(_0x22f0f6,_0x4fa4bf){var _0x14c456=_0x5d7525;_0x141079[_0x14c456(0xd0)](_0x22f0f6,_0x4fa4bf)||_0x22f0f6[_0x14c456(0x14d)].add(_0x4fa4bf)}:function(_0x3f9a8f,_0x19cccd){var _0x577ce6=_0x5d7525;_0x141079[_0x577ce6(0xd0)](_0x3f9a8f,_0x19cccd)||(_0x3f9a8f[_0x577ce6(0x189)]+='\x20'+_0x19cccd)},_0x141079[_0x5d7525(0xe9)]=_0x141079[_0x5d7525(0xfe)]?function(_0x49b096,_0x407d26){var _0x296815=_0x5d7525;_0x141079[_0x296815(0xd0)](_0x49b096,_0x407d26)&&_0x49b096.classList[_0x296815(0x131)](_0x407d26)}:function(_0x58bda2,_0x28e84f){var _0x494b29=_0x5d7525;_0x141079.hasClass(_0x58bda2,_0x28e84f)&&(_0x58bda2[_0x494b29(0x189)]=_0x58bda2[_0x494b29(0x189)].replace(_0x28e84f,''))},_0x141079.objKeys=function(_0x118d74){var _0x494ccc=_0x5d7525,_0x332d6c=[];for(var _0x13244d in _0x118d74)Object[_0x494ccc(0x16b)].hasOwnProperty.call(_0x118d74,_0x13244d)&&_0x332d6c[_0x494ccc(0x10d)](_0x13244d);return _0x332d6c},_0x141079[_0x5d7525(0x11a)]=function(_0x2c55cd,_0x2353ff){var _0x197206=_0x5d7525,_0x146e9a=!0x0;return JSON.stringify(_0x2c55cd)!==JSON[_0x197206(0x17f)](_0x2353ff)&&(_0x146e9a=!0x1),_0x146e9a},_0x141079.extend=function(){var _0x5b5f72=_0x5d7525;for(var _0x256889,_0x14326d,_0x51833a,_0x5065f7=arguments[0x0]||{},_0x275fb2=0x1,_0x2b151d=arguments[_0x5b5f72(0x17a)];_0x275fb2<_0x2b151d;_0x275fb2++)if(null!==(_0x256889=arguments[_0x275fb2])){for(_0x14326d in _0x256889)_0x5065f7!==(_0x51833a=_0x256889[_0x14326d])&&void 0x0!==_0x51833a&&(_0x5065f7[_0x14326d]=_0x51833a);}return _0x5065f7},_0x141079[_0x5d7525(0xf8)]=_0x141079.win[_0x5d7525(0x14c)],_0x141079[_0x5d7525(0x14a)]=function(_0x5552bd){var _0xa775cb=_0x5d7525;return 0x0!==_0x5552bd[_0xa775cb(0x185)]&&0x0!==_0x5552bd[_0xa775cb(0x12e)]||_0x5552bd[_0xa775cb(0x172)]()['length']},_0x141079.getHeight=function(_0x1118cf){var _0x2ab628=_0x5d7525;return _0x1118cf[_0x2ab628(0x12e)]||_0x1118cf[_0x2ab628(0x10e)]||_0x1118cf.getBoundingClientRect()[_0x2ab628(0x101)]},_0x141079[_0x5d7525(0x146)]=function(_0xab4ac1){var _0x2883d3=_0x5d7525;return _0xab4ac1[_0x2883d3(0x185)]||_0xab4ac1[_0x2883d3(0x181)]||_0xab4ac1[_0x2883d3(0x172)]()['width']},_0x141079[_0x5d7525(0x142)]=!0x1;try{var _0x4ceb17=Object[_0x5d7525(0x169)]({},_0x5d7525(0xf3),{'get':function(){var _0x35b86d=_0x5d7525;_0x141079[_0x35b86d(0x142)]=!0x0}});'createEvent'in _0x141079[_0x5d7525(0x144)]?_0x141079[_0x5d7525(0x136)][_0x5d7525(0x17d)]('test',null,_0x4ceb17):_0x5d7525(0xfd)in _0x141079.doc&&_0x141079.win[_0x5d7525(0x183)](_0x5d7525(0x123),null)}catch(_0xc2cd5e){}_0x141079[_0x5d7525(0x13b)]=!!_0x141079[_0x5d7525(0x142)]&&{'passive':!0x0},_0x141079.setStorage=function(_0x580653,_0x38c26b){var _0x58c743=_0x5d7525;_0x580653=_0x58c743(0x10b)+_0x580653;var _0x244587={'expired':Math[_0x58c743(0x18a)]((new Date()[_0x58c743(0xcb)]()+0x2932e00)/0x3e8)};_0x38c26b=Object[_0x58c743(0xf6)](_0x244587,_0x38c26b),localStorage.setItem(_0x580653,JSON[_0x58c743(0x17f)](_0x38c26b))},_0x141079[_0x5d7525(0x14e)]=function(_0x4e0351){var _0x1c57ea=_0x5d7525;_0x4e0351=_0x1c57ea(0x10b)+_0x4e0351;var _0xe7f1ce=localStorage.getItem(_0x4e0351);return null!==_0xe7f1ce&&0x0<_0xe7f1ce.length?JSON[_0x1c57ea(0x17b)](localStorage[_0x1c57ea(0x113)](_0x4e0351)):{}},_0x141079[_0x5d7525(0x152)]=function(){var _0x48c711=_0x5d7525,_0x8b6e5c,_0x1828a5=_0x48c711(0x10b);for(var _0x4bbdfe in localStorage)_0x4bbdfe.indexOf(_0x1828a5)>-0x1&&'undefined'!==(_0x8b6e5c=_0x141079[_0x48c711(0x14e)](_0x4bbdfe[_0x48c711(0x14f)](_0x1828a5,'')))[_0x48c711(0x10c)]&&_0x8b6e5c.expired<Math[_0x48c711(0x18a)](new Date()['getTime']()/0x3e8)&&localStorage[_0x48c711(0x179)](_0x4bbdfe);},_0x141079[_0x5d7525(0x13a)]=function(_0x5ece06,_0x49fae3,_0x2c1ec7){var _0x1c636e=_0x5d7525;for(var _0x60d117 in _0x49fae3){var _0x38b729=[_0x1c636e(0x12f),_0x1c636e(0x171)].indexOf(_0x60d117)>=0x0&&!_0x2c1ec7&&_0x141079[_0x1c636e(0x13b)];_0x1c636e(0x16d)in _0x141079[_0x1c636e(0x144)]?_0x5ece06.addEventListener(_0x60d117,_0x49fae3[_0x60d117],_0x38b729):'fireEvent'in _0x141079[_0x1c636e(0x144)]&&_0x5ece06[_0x1c636e(0x183)]('on'+_0x60d117,_0x49fae3[_0x60d117])}},_0x141079[_0x5d7525(0x116)]=function(_0x26bc49,_0x48dd95){var _0xd635d8=_0x5d7525;for(var _0x15ec98 in _0x48dd95)_0xd635d8(0x16d)in _0x141079[_0xd635d8(0x144)]?_0x26bc49.removeEventListener(_0x15ec98,_0x48dd95[_0x15ec98]):_0xd635d8(0xfd)in _0x141079[_0xd635d8(0x144)]&&_0x26bc49[_0xd635d8(0x11b)]('on'+_0x15ec98,_0x48dd95[_0x15ec98]);},_0x141079[_0x5d7525(0x17e)]=function(_0x32a32d,_0x424a7c,_0x3d4458){var _0x43d5ee=_0x5d7525,_0x1c154b;return _0x3d4458=_0x3d4458||{'detail':null},_0x43d5ee(0x16d)in _0x141079[_0x43d5ee(0x144)]?(!(_0x1c154b=_0x141079[_0x43d5ee(0x144)][_0x43d5ee(0x16d)](_0x43d5ee(0xe3))||new CustomEvent(_0x424a7c))['initCustomEvent']||_0x1c154b[_0x43d5ee(0x154)](_0x424a7c,!0x0,!0x1,_0x3d4458),void _0x32a32d.dispatchEvent(_0x1c154b)):_0x43d5ee(0xfd)in _0x141079[_0x43d5ee(0x144)]?((_0x1c154b=_0x141079[_0x43d5ee(0x144)][_0x43d5ee(0xe5)]())[_0x43d5ee(0x128)]=_0x424a7c,void _0x32a32d.fireEvent('on'+_0x1c154b[_0x43d5ee(0x128)],_0x1c154b)):void 0x0},_0x141079[_0x5d7525(0x16c)]=function(_0x56520c,_0x591101){var _0x5e6357=_0x5d7525;void 0x0===_0x591101&&(_0x591101=_0x141079[_0x5e6357(0x144)]);for(var _0x262496=[],_0x4bd968=_0x56520c.parentNode,_0x417ef0=!0x1;!_0x417ef0;)if(_0x4bd968){var _0x5f05c9=_0x4bd968;_0x5f05c9.querySelectorAll(_0x591101)[_0x5e6357(0x17a)]?_0x417ef0=!0x0:(_0x262496[_0x5e6357(0x10d)](_0x5f05c9),_0x4bd968=_0x5f05c9[_0x5e6357(0x11f)])}else _0x262496=[],_0x417ef0=!0x0;return _0x262496},_0x141079[_0x5d7525(0xd6)]=function(_0x2a311b,_0x3af6b8,_0x15acc2){var _0x570416=_0x5d7525;for(var _0x323bf9=0x0,_0xd8d227=_0x2a311b.length;_0x323bf9<_0xd8d227;_0x323bf9++)_0x3af6b8[_0x570416(0x137)](_0x15acc2,_0x2a311b[_0x323bf9],_0x323bf9);},_0x141079[_0x5d7525(0x175)]=function(_0x40a373){var _0x1019b7=_0x5d7525;return _0x40a373[_0x1019b7(0xdb)]||_0x40a373.textContent},_0x141079.setText=function(_0x3a5805,_0x1aa7cb){var _0x93b5ef=_0x5d7525,_0x4106f0=_0x93b5ef(0x167)==typeof _0x1aa7cb?_0x1aa7cb[_0x93b5ef(0xdb)]||_0x1aa7cb[_0x93b5ef(0xe0)]:_0x1aa7cb;_0x3a5805[_0x93b5ef(0xdb)]&&(_0x3a5805.innerText=_0x4106f0),_0x3a5805[_0x93b5ef(0xe0)]&&(_0x3a5805[_0x93b5ef(0xe0)]=_0x4106f0)},_0x141079[_0x5d7525(0x182)]=function(_0x7aadc8){var _0x46852e=_0x5d7525;return _0x141079.objKeys(_0x7aadc8)[_0x46852e(0x125)](function _0x16178b(_0x4cc764){var _0xd3659d=_0x46852e,_0x456f38=arguments[_0xd3659d(0x17a)]>0x1&&void 0x0!==arguments[0x1]?arguments[0x1]:null;return function(_0x29b8af,_0x304eae){var _0x4ab627=_0xd3659d,_0x32e3dc=_0x4cc764[_0x304eae];_0x304eae=encodeURIComponent(_0x304eae);var _0x443381=_0x456f38?''[_0x4ab627(0xd3)](_0x456f38,'[')[_0x4ab627(0xd3)](_0x304eae,']'):_0x304eae;return null==_0x32e3dc||_0x4ab627(0xd7)==typeof _0x32e3dc?(_0x29b8af[_0x4ab627(0x10d)](''[_0x4ab627(0xd3)](_0x443381,'=')),_0x29b8af):[_0x4ab627(0x153),_0x4ab627(0xdc),_0x4ab627(0x15c)].includes(typeof _0x32e3dc)?(_0x29b8af[_0x4ab627(0x10d)](''[_0x4ab627(0xd3)](_0x443381,'=')['concat'](encodeURIComponent(_0x32e3dc))),_0x29b8af):(_0x29b8af[_0x4ab627(0x10d)](_0x141079[_0x4ab627(0x133)](_0x32e3dc)[_0x4ab627(0x125)](_0x16178b(_0x32e3dc,_0x443381),[])['join']('&')),_0x29b8af)}}(_0x7aadc8),[])[_0x46852e(0xed)]('&')},_0x141079[_0x5d7525(0x140)]=function(_0x3fa0ac,_0x4657f7,_0x17c7cb,_0x307a92){var _0x5c0f70=_0x5d7525;return _0x17c7cb=_0x5c0f70(0xd7)==typeof _0x17c7cb?_0x17c7cb:_0x141079[_0x5c0f70(0x165)],_0x141079.ajax(_0x5c0f70(0x119),_0x3fa0ac,_0x4657f7,_0x17c7cb,_0x307a92)},_0x141079.post=function(_0x6bb85e,_0x1973ae,_0x594097,_0x14309d){var _0x4839ac=_0x5d7525;return _0x594097=_0x4839ac(0xd7)==typeof _0x594097?_0x594097:_0x141079[_0x4839ac(0x165)],_0x141079[_0x4839ac(0x184)](_0x4839ac(0x138),_0x6bb85e,_0x1973ae,_0x594097,_0x14309d)},_0x141079[_0x5d7525(0x184)]=function(_0x5205d8,_0x9b22a,_0x1fdd5c,_0x360358,_0x306c1f){var _0x2f28ff=_0x5d7525,_0x318aed=new XMLHttpRequest(),_0x5a3119=_0x9b22a,_0x3ccd77=_0x141079.httpBuildQuery(_0x1fdd5c);if(_0x5205d8=-0x1!=['GET','POST'][_0x2f28ff(0x102)](_0x5205d8)?_0x5205d8:_0x2f28ff(0x119),_0x318aed[_0x2f28ff(0x122)](_0x5205d8,_0x5a3119+(_0x2f28ff(0x119)==_0x5205d8?'?'+_0x3ccd77:''),!0x0),'POST'==_0x5205d8&&_0x318aed[_0x2f28ff(0x12c)](_0x2f28ff(0x108),'application/x-www-form-urlencoded'),_0x318aed.setRequestHeader('X-Requested-With',_0x2f28ff(0xe4)),_0x318aed[_0x2f28ff(0x148)]=function(){var _0xf45d73=_0x2f28ff;0x4===_0x318aed[_0xf45d73(0xfa)]&&0xc8<=_0x318aed[_0xf45d73(0x11c)]&&0x12c>_0x318aed[_0xf45d73(0x11c)]&&_0xf45d73(0xd7)==typeof _0x360358&&_0x360358.call(void 0x0,_0x318aed[_0xf45d73(0xd1)])},void 0x0!==_0x306c1f&&!_0x306c1f)return{'xhr':_0x318aed,'send':function(){var _0x56b0ed=_0x2f28ff;_0x318aed.send(_0x56b0ed(0x138)==_0x5205d8?_0x3ccd77:null)}};return _0x318aed[_0x2f28ff(0x177)]('POST'==_0x5205d8?_0x3ccd77:null),{'xhr':_0x318aed}},_0x141079.scrollTo=function(_0x542867,_0xd3dfd3,_0x45bd1f){var _0x2f6532=_0x5d7525;function _0x36b8c4(_0x45d844,_0x115a99,_0x1872d5){var _0x24ee02=_0x3b44;this['start']=this[_0x24ee02(0x130)](),this['change']=_0x45d844-this[_0x24ee02(0x16f)],this[_0x24ee02(0xfc)]=0x0,this['increment']=0x14,this[_0x24ee02(0xeb)]=void 0x0===_0x1872d5?0x1f4:_0x1872d5,this['callback']=_0x115a99,this[_0x24ee02(0x110)]=!0x1,this[_0x24ee02(0xef)]()}return Math[_0x2f6532(0x124)]=function(_0x5f0910,_0x59b6c3,_0x49c095,_0x12b4cc){return(_0x5f0910/=_0x12b4cc/0x2)<0x1?_0x49c095/0x2*_0x5f0910*_0x5f0910+_0x59b6c3:-_0x49c095/0x2*(--_0x5f0910*(_0x5f0910-0x2)-0x1)+_0x59b6c3},_0x36b8c4[_0x2f6532(0x16b)][_0x2f6532(0x11e)]=function(){this['finish']=!0x0},_0x36b8c4.prototype[_0x2f6532(0x168)]=function(_0x4839cd){var _0x2223a6=_0x2f6532;_0x141079.doc[_0x2223a6(0xec)][_0x2223a6(0x178)]=_0x4839cd,_0x141079.globalBody[_0x2223a6(0x11f)].scrollTop=_0x4839cd,_0x141079[_0x2223a6(0x134)][_0x2223a6(0x178)]=_0x4839cd},_0x36b8c4[_0x2f6532(0x16b)][_0x2f6532(0x130)]=function(){var _0x2ce65d=_0x2f6532;return _0x141079[_0x2ce65d(0x144)][_0x2ce65d(0xec)][_0x2ce65d(0x178)]||_0x141079.globalBody[_0x2ce65d(0x11f)].scrollTop||_0x141079[_0x2ce65d(0x134)][_0x2ce65d(0x178)]},_0x36b8c4.prototype.animateScroll=function(){var _0xbc8bb5=_0x2f6532;this[_0xbc8bb5(0xfc)]+=this[_0xbc8bb5(0xd9)];var _0xb7da33=Math.easeInOutQuad(this['currentTime'],this[_0xbc8bb5(0x16f)],this[_0xbc8bb5(0x158)],this[_0xbc8bb5(0xeb)]);this[_0xbc8bb5(0x168)](_0xb7da33),this[_0xbc8bb5(0xfc)]<this[_0xbc8bb5(0xeb)]&&!this[_0xbc8bb5(0x110)]?_0x141079[_0xbc8bb5(0xd8)][_0xbc8bb5(0x137)](_0x141079.win,this[_0xbc8bb5(0xef)][_0xbc8bb5(0x11d)](this)):this[_0xbc8bb5(0x143)]&&_0xbc8bb5(0xd7)==typeof this[_0xbc8bb5(0x143)]&&this[_0xbc8bb5(0x143)]()},new _0x36b8c4(_0x542867,_0xd3dfd3,_0x45bd1f)},_0x141079[_0x5d7525(0x15b)]=function(_0x49c906){var _0x42bde6,_0xdded34=_0x49c906;_0x141079.forEach(_0x49c906,function(_0x3a4dcf,_0x3bb155){_0x42bde6?_0x42bde6+=_0x3a4dcf:_0x42bde6=_0x3a4dcf}),_0xdded34.replaceWith(_0x42bde6)},_0x141079[_0x5d7525(0x162)]={'start':function(_0x49fedb){var _0x415509=_0x5d7525;performance[_0x415509(0xf5)](_0x49fedb+_0x415509(0x15e))},'stop':function(_0xe7bc5e){var _0x5cf599=_0x5d7525;performance[_0x5cf599(0xf5)](_0xe7bc5e+_0x5cf599(0x161)),performance.measure(_0xe7bc5e,_0xe7bc5e+_0x5cf599(0x15e),_0xe7bc5e+'End')}},_0x141079.fps=function(){var _0x48bc55=0x0,_0x36ed44=0x0,_0x306dda=0x0;!function(){var _0x1d8338=_0x3b44,_0x430e58=_0x48bc55=0x0,_0xdcacb9=0x0,_0x1e9033=0x0,_0xe69a31=document[_0x1d8338(0x107)](_0x1d8338(0x147)),_0x545011=function(_0x36e391){var _0x287290=_0x1d8338;void 0x0===document.getElementsByTagName(_0x287290(0xce))[0x0]?_0x141079[_0x287290(0xd8)][_0x287290(0x137)](_0x141079[_0x287290(0x136)],function(){_0x545011(_0x36e391)}):document[_0x287290(0x141)]('body')[0x0][_0x287290(0x176)](_0x36e391)};null===_0xe69a31&&((_0xe69a31=document.createElement(_0x1d8338(0xd2)))[_0x1d8338(0x149)][_0x1d8338(0x130)]=_0x1d8338(0xf9),_0xe69a31[_0x1d8338(0x149)][_0x1d8338(0xd4)]=_0x1d8338(0xc8),_0xe69a31[_0x1d8338(0x149)][_0x1d8338(0x12d)]=_0x1d8338(0x106),_0xe69a31[_0x1d8338(0x149)][_0x1d8338(0x121)]=_0x1d8338(0x159),_0xe69a31[_0x1d8338(0x149)].height=_0x1d8338(0x126),_0xe69a31[_0x1d8338(0x149)][_0x1d8338(0xda)]=_0x1d8338(0x157),_0xe69a31.style[_0x1d8338(0xfb)]=_0x1d8338(0xca),_0xe69a31.style.zIndex=_0x1d8338(0xf2),_0xe69a31.style[_0x1d8338(0xcc)]=_0x1d8338(0x117),_0xe69a31.id=_0x1d8338(0x147),_0x545011(_0xe69a31));var _0x4b8af8=function(){var _0x2f24e9=_0x1d8338;_0x306dda++,_0x36ed44=Date[_0x2f24e9(0x129)](),(_0xdcacb9=(_0x306dda/(_0x1e9033=(_0x36ed44-_0x48bc55)/0x3e8))[_0x2f24e9(0xff)](0x2))!=_0x430e58&&(_0x430e58=_0xdcacb9,_0xe69a31[_0x2f24e9(0x187)]=_0x430e58+_0x2f24e9(0x150)),0x1<_0x1e9033&&(_0x48bc55=_0x36ed44,_0x306dda=0x0),_0x141079.requestAnimationFrame[_0x2f24e9(0x137)](_0x141079[_0x2f24e9(0x136)],_0x4b8af8)};_0x4b8af8()}()},_0x141079[_0x5d7525(0xde)]=function(_0x1799a7,_0x5cad8d){var _0x159aa4=_0x5d7525;for(var _0x202317=0x0;_0x202317<_0x5cad8d[_0x159aa4(0x17a)];_0x202317++)if(-0x1!==_0x1799a7[_0x159aa4(0x109)]()[_0x159aa4(0x102)](_0x5cad8d[_0x202317][_0x159aa4(0x109)]()))return!0x0},_0x141079[_0x5d7525(0x13e)]=function(_0x45eaa5,_0x555cb3){var _0x3d3066=_0x5d7525;function _0x49e22b(_0x9032a4){var _0x3e82cd=_0x3b44;if('complete'===_0x141079[_0x3e82cd(0x144)][_0x3e82cd(0xfa)]||_0x3e82cd(0x17c)===_0x141079.doc.readyState)return!_0x9032a4||_0x555cb3?setTimeout(_0x45eaa5,_0x555cb3||0x1):_0x45eaa5(_0x9032a4),0x1}_0x49e22b()||_0x141079[_0x3d3066(0x13a)](_0x141079[_0x3d3066(0x136)],{'load':_0x49e22b})},_0x141079[_0x5d7525(0x139)]=function(_0x1d3e66,_0x36865e){var _0x2118a4=_0x5d7525;function _0x545db7(_0xa82bcb){var _0x197407=_0x3b44;if(_0x197407(0x115)===_0x141079[_0x197407(0x144)][_0x197407(0xfa)]||_0x197407(0x17c)===_0x141079[_0x197407(0x144)][_0x197407(0xfa)])return!_0xa82bcb||_0x36865e?setTimeout(_0x1d3e66,_0x36865e||0x1):_0x1d3e66(_0xa82bcb),0x1}_0x545db7()||_0x141079[_0x2118a4(0x13a)](_0x141079.doc,{'DOMContentLoaded':_0x545db7})},_0x141079[_0x5d7525(0x104)]=function(){_0x141079.docReady(function(){var _0x18d3d4=_0x3b44;_0x141079[_0x18d3d4(0x163)]=_0x141079[_0x18d3d4(0x163)]||[],_0x141079[_0x18d3d4(0x163)][_0x18d3d4(0x17a)]&&(_0x141079.boot(),_0x141079.load_assets())},0x32)},_0x141079.boot=function(){var _0x1b7b5b=_0x5d7525;_0x141079[_0x1b7b5b(0x17a)]&&_0x141079.doc[_0x1b7b5b(0x10a)]('style[media]')['forEach'](function(_0x5d2da0){var _0x37f855=_0x1b7b5b;_0x37f855(0xe6)==_0x5d2da0[_0x37f855(0xe2)]('media')&&_0x5d2da0[_0x37f855(0x145)](_0x37f855(0xe8))})},_0x141079[_0x5d7525(0x120)]=function(_0xa3ae24,_0x4c93c2){var _0x238b85=_0x5d7525,_0x3f8790=_0x141079[_0x238b85(0x144)][_0x238b85(0xf0)]('script');switch(_0x3f8790[_0x238b85(0x14b)](_0x238b85(0x12a),_0xa3ae24),_0x4c93c2){case _0x238b85(0xea):_0x3f8790[_0x238b85(0x14b)]('defer',!0x0);break;case'async':_0x3f8790[_0x238b85(0x14b)](_0x238b85(0xe1),!0x0);break;case'deferasync':_0x3f8790[_0x238b85(0x14b)](_0x238b85(0xea),!0x0),_0x3f8790.setAttribute(_0x238b85(0xe1),!0x0)}_0x141079[_0x238b85(0x134)][_0x238b85(0x176)](_0x3f8790)},_0x141079[_0x5d7525(0x16a)]=function(){var _0x185e0c=_0x5d7525;_0x185e0c(0x167)==typeof _0x141079[_0x185e0c(0x163)]&&_0x141079[_0x185e0c(0xd6)](_0x141079[_0x185e0c(0x163)].slice(0x0),function(_0x3c3d96,_0x1da3e9){var _0x4a8a3a=_0x185e0c,_0x3ca712='';_0x3c3d96.defer&&(_0x3ca712+=_0x4a8a3a(0xea)),_0x3c3d96[_0x4a8a3a(0xe1)]&&(_0x3ca712+='async'),_0x141079.create_js(_0x3c3d96[_0x4a8a3a(0x15f)],_0x3ca712);var _0x2ee9ed=_0x141079[_0x4a8a3a(0x163)][_0x4a8a3a(0x102)](_0x3c3d96);_0x2ee9ed>-0x1&&_0x141079[_0x4a8a3a(0x163)][_0x4a8a3a(0xcf)](_0x2ee9ed,0x1)}),_0x141079[_0x185e0c(0x163)]=jnewsoption[_0x185e0c(0x10f)]=window[_0x185e0c(0x156)]=[]},_0x141079[_0x5d7525(0x139)](function(){var _0x129f73=_0x5d7525;_0x141079[_0x129f73(0x134)]=_0x141079[_0x129f73(0x134)]==_0x141079[_0x129f73(0x144)]?_0x141079[_0x129f73(0x144)].getElementsByTagName(_0x129f73(0xce))[0x0]:_0x141079[_0x129f73(0x134)],_0x141079[_0x129f73(0x134)]=_0x141079[_0x129f73(0x134)]?_0x141079[_0x129f73(0x134)]:_0x141079.doc}),_0x141079[_0x5d7525(0x13e)](function(){_0x141079.winLoad(function(){var _0x318ef8=_0x3b44,_0x2094a6=!0x1;if(void 0x0!==window.jnewsadmin){if(void 0x0!==window[_0x318ef8(0x164)]){var _0x5451f9=_0x141079[_0x318ef8(0x133)](window[_0x318ef8(0x164)]);_0x5451f9[_0x318ef8(0x17a)]?_0x5451f9.forEach(function(_0x4251a4){var _0x429f13=_0x318ef8;_0x2094a6||_0x429f13(0xf4)===window[_0x429f13(0x164)][_0x4251a4]||(_0x2094a6=!0x0)}):_0x2094a6=!0x0}else _0x2094a6=!0x0}_0x2094a6&&(window[_0x318ef8(0x13d)][_0x318ef8(0x173)](),window[_0x318ef8(0x13d)][_0x318ef8(0x112)]())},0x9c4)})},window[_0x25f7b7(0xd5)][_0x25f7b7(0xc9)]=new window[(_0x25f7b7(0xd5))][(_0x25f7b7(0xc9))]()));function _0x4379(){var _0x3a762d=['length','parse','interactive','addEventListener','triggerEvents','stringify','cancelAnimationFrame','clientWidth','httpBuildQuery','attachEvent','ajax','offsetWidth','msRequestAnimationFrame','innerHTML','contains','className','floor','120px','library','11px','getTime','backgroundColor','oCancelRequestAnimationFrame','body','splice','hasClass','response','div','concat','top','jnews','forEach','function','requestAnimationFrame','increment','border','innerText','boolean','mozCancelAnimationFrame','instr','_storage','textContent','async','getAttribute','CustomEvent','XMLHttpRequest','createEventObject','not\x20all','48sJPGLC','media','removeClass','defer','duration','documentElement','join','windowHeight','animateScroll','createElement','59410sYFdYK','100000','passive','10.0.0','mark','assign','mozRequestAnimationFrame','dataStorage','fixed','readyState','fontSize','currentTime','fireEvent','classListSupport','toPrecision','1489243DVcerA','height','indexOf','39428lIuENX','fireOnce','6moQmPj','10px','getElementById','Content-type','toLowerCase','querySelectorAll','jnews-','expired','push','clientHeight','au_scripts','finish','docEl','getNotice','getItem','120xPPMyP','complete','removeEvents','white','msCancelRequestAnimationFrame','GET','isObjectSame','detachEvent','status','bind','stop','parentNode','create_js','width','open','test','easeInOutQuad','reduce','20px','280XsUfFq','eventType','now','src','94OhqatV','setRequestHeader','left','offsetHeight','touchstart','position','remove','4285080ahKZZa','objKeys','globalBody','webkitRequestAnimationFrame','win','call','POST','docReady','addEvents','passiveOption','webkitCancelRequestAnimationFrame','jnewsHelper','winLoad','delete','get','getElementsByTagName','supportsPassive','callback','doc','removeAttribute','getWidth','fpsTable','onreadystatechange','style','isVisible','setAttribute','jnewsDataStorage','classList','getStorage','replace','fps','innerHeight','expiredStorage','number','initCustomEvent','webkitCancelAnimationFrame','jnewsads','1px\x20solid\x20black','change','100px','1380717UQVoDx','unwrap','string','9402OFTbMO','Start','url','windowWidth','End','performance','assets','file_version_checker','noop','set','object','move','defineProperty','load_assets','prototype','getParents','createEvent','1015091DuXiir','start','addClass','touchmove','getBoundingClientRect','getMessage','has','getText','appendChild','send','scrollTop','removeItem'];_0x4379=function(){return _0x3a762d};return _0x4379()}
;/*! jQuery Migrate v3.4.1 | (c) OpenJS Foundation and other contributors | jquery.org/license */
"undefined"==typeof jQuery.migrateMute&&(jQuery.migrateMute=!0),function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],function(e){return t(e,window)}):"object"==typeof module&&module.exports?module.exports=t(require("jquery"),window):t(jQuery,window)}(function(s,n){"use strict";function e(e){return 0<=function(e,t){for(var r=/^(\d+)\.(\d+)\.(\d+)/,n=r.exec(e)||[],o=r.exec(t)||[],a=1;a<=3;a++){if(+o[a]<+n[a])return 1;if(+n[a]<+o[a])return-1}return 0}(s.fn.jquery,e)}s.migrateVersion="3.4.1";var t=Object.create(null);s.migrateDisablePatches=function(){for(var e=0;e<arguments.length;e++)t[arguments[e]]=!0},s.migrateEnablePatches=function(){for(var e=0;e<arguments.length;e++)delete t[arguments[e]]},s.migrateIsPatchEnabled=function(e){return!t[e]},n.console&&n.console.log&&(s&&e("3.0.0")&&!e("5.0.0")||n.console.log("JQMIGRATE: jQuery 3.x-4.x REQUIRED"),s.migrateWarnings&&n.console.log("JQMIGRATE: Migrate plugin loaded multiple times"),n.console.log("JQMIGRATE: Migrate is installed"+(s.migrateMute?"":" with logging active")+", version "+s.migrateVersion));var o={};function u(e,t){var r=n.console;!s.migrateIsPatchEnabled(e)||s.migrateDeduplicateWarnings&&o[t]||(o[t]=!0,s.migrateWarnings.push(t+" ["+e+"]"),r&&r.warn&&!s.migrateMute&&(r.warn("JQMIGRATE: "+t),s.migrateTrace&&r.trace&&r.trace()))}function r(e,t,r,n,o){Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:function(){return u(n,o),r},set:function(e){u(n,o),r=e}})}function a(e,t,r,n,o){var a=e[t];e[t]=function(){return o&&u(n,o),(s.migrateIsPatchEnabled(n)?r:a||s.noop).apply(this,arguments)}}function c(e,t,r,n,o){if(!o)throw new Error("No warning message provided");return a(e,t,r,n,o),0}function i(e,t,r,n){return a(e,t,r,n),0}s.migrateDeduplicateWarnings=!0,s.migrateWarnings=[],void 0===s.migrateTrace&&(s.migrateTrace=!0),s.migrateReset=function(){o={},s.migrateWarnings.length=0},"BackCompat"===n.document.compatMode&&u("quirks","jQuery is not compatible with Quirks Mode");var d,l,p,f={},m=s.fn.init,y=s.find,h=/\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/,g=/\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/g,v=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;for(d in i(s.fn,"init",function(e){var t=Array.prototype.slice.call(arguments);return s.migrateIsPatchEnabled("selector-empty-id")&&"string"==typeof e&&"#"===e&&(u("selector-empty-id","jQuery( '#' ) is not a valid selector"),t[0]=[]),m.apply(this,t)},"selector-empty-id"),s.fn.init.prototype=s.fn,i(s,"find",function(t){var r=Array.prototype.slice.call(arguments);if("string"==typeof t&&h.test(t))try{n.document.querySelector(t)}catch(e){t=t.replace(g,function(e,t,r,n){return"["+t+r+'"'+n+'"]'});try{n.document.querySelector(t),u("selector-hash","Attribute selector with '#' must be quoted: "+r[0]),r[0]=t}catch(e){u("selector-hash","Attribute selector with '#' was not fixed: "+r[0])}}return y.apply(this,r)},"selector-hash"),y)Object.prototype.hasOwnProperty.call(y,d)&&(s.find[d]=y[d]);c(s.fn,"size",function(){return this.length},"size","jQuery.fn.size() is deprecated and removed; use the .length property"),c(s,"parseJSON",function(){return JSON.parse.apply(null,arguments)},"parseJSON","jQuery.parseJSON is deprecated; use JSON.parse"),c(s,"holdReady",s.holdReady,"holdReady","jQuery.holdReady is deprecated"),c(s,"unique",s.uniqueSort,"unique","jQuery.unique is deprecated; use jQuery.uniqueSort"),r(s.expr,"filters",s.expr.pseudos,"expr-pre-pseudos","jQuery.expr.filters is deprecated; use jQuery.expr.pseudos"),r(s.expr,":",s.expr.pseudos,"expr-pre-pseudos","jQuery.expr[':'] is deprecated; use jQuery.expr.pseudos"),e("3.1.1")&&c(s,"trim",function(e){return null==e?"":(e+"").replace(v,"$1")},"trim","jQuery.trim is deprecated; use String.prototype.trim"),e("3.2.0")&&(c(s,"nodeName",function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},"nodeName","jQuery.nodeName is deprecated"),c(s,"isArray",Array.isArray,"isArray","jQuery.isArray is deprecated; use Array.isArray")),e("3.3.0")&&(c(s,"isNumeric",function(e){var t=typeof e;return("number"==t||"string"==t)&&!isNaN(e-parseFloat(e))},"isNumeric","jQuery.isNumeric() is deprecated"),s.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){f["[object "+t+"]"]=t.toLowerCase()}),c(s,"type",function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?f[Object.prototype.toString.call(e)]||"object":typeof e},"type","jQuery.type is deprecated"),c(s,"isFunction",function(e){return"function"==typeof e},"isFunction","jQuery.isFunction() is deprecated"),c(s,"isWindow",function(e){return null!=e&&e===e.window},"isWindow","jQuery.isWindow() is deprecated")),s.ajax&&(l=s.ajax,p=/(=)\?(?=&|$)|\?\?/,i(s,"ajax",function(){var e=l.apply(this,arguments);return e.promise&&(c(e,"success",e.done,"jqXHR-methods","jQXHR.success is deprecated and removed"),c(e,"error",e.fail,"jqXHR-methods","jQXHR.error is deprecated and removed"),c(e,"complete",e.always,"jqXHR-methods","jQXHR.complete is deprecated and removed")),e},"jqXHR-methods"),e("4.0.0")||s.ajaxPrefilter("+json",function(e){!1!==e.jsonp&&(p.test(e.url)||"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&p.test(e.data))&&u("jsonp-promotion","JSON-to-JSONP auto-promotion is deprecated")}));var j=s.fn.removeAttr,b=s.fn.toggleClass,w=/\S+/g;function x(e){return e.replace(/-([a-z])/g,function(e,t){return t.toUpperCase()})}i(s.fn,"removeAttr",function(e){var r=this,n=!1;return s.each(e.match(w),function(e,t){s.expr.match.bool.test(t)&&r.each(function(){if(!1!==s(this).prop(t))return!(n=!0)}),n&&(u("removeAttr-bool","jQuery.fn.removeAttr no longer sets boolean properties: "+t),r.prop(t,!1))}),j.apply(this,arguments)},"removeAttr-bool"),i(s.fn,"toggleClass",function(t){return void 0!==t&&"boolean"!=typeof t?b.apply(this,arguments):(u("toggleClass-bool","jQuery.fn.toggleClass( boolean ) is deprecated"),this.each(function(){var e=this.getAttribute&&this.getAttribute("class")||"";e&&s.data(this,"__className__",e),this.setAttribute&&this.setAttribute("class",!e&&!1!==t&&s.data(this,"__className__")||"")}))},"toggleClass-bool");var Q,A,R=!1,C=/^[a-z]/,N=/^(?:Border(?:Top|Right|Bottom|Left)?(?:Width|)|(?:Margin|Padding)?(?:Top|Right|Bottom|Left)?|(?:Min|Max)?(?:Width|Height))$/;s.swap&&s.each(["height","width","reliableMarginRight"],function(e,t){var r=s.cssHooks[t]&&s.cssHooks[t].get;r&&(s.cssHooks[t].get=function(){var e;return R=!0,e=r.apply(this,arguments),R=!1,e})}),i(s,"swap",function(e,t,r,n){var o,a,i={};for(a in R||u("swap","jQuery.swap() is undocumented and deprecated"),t)i[a]=e.style[a],e.style[a]=t[a];for(a in o=r.apply(e,n||[]),t)e.style[a]=i[a];return o},"swap"),e("3.4.0")&&"undefined"!=typeof Proxy&&(s.cssProps=new Proxy(s.cssProps||{},{set:function(){return u("cssProps","jQuery.cssProps is deprecated"),Reflect.set.apply(this,arguments)}})),e("4.0.0")?(A={animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},"undefined"!=typeof Proxy?s.cssNumber=new Proxy(A,{get:function(){return u("css-number","jQuery.cssNumber is deprecated"),Reflect.get.apply(this,arguments)},set:function(){return u("css-number","jQuery.cssNumber is deprecated"),Reflect.set.apply(this,arguments)}}):s.cssNumber=A):A=s.cssNumber,Q=s.fn.css,i(s.fn,"css",function(e,t){var r,n,o=this;return e&&"object"==typeof e&&!Array.isArray(e)?(s.each(e,function(e,t){s.fn.css.call(o,e,t)}),this):("number"==typeof t&&(r=x(e),n=r,C.test(n)&&N.test(n[0].toUpperCase()+n.slice(1))||A[r]||u("css-number",'Number-typed values are deprecated for jQuery.fn.css( "'+e+'", value )')),Q.apply(this,arguments))},"css-number");var S,P,k,H,E=s.data;i(s,"data",function(e,t,r){var n,o,a;if(t&&"object"==typeof t&&2===arguments.length){for(a in n=s.hasData(e)&&E.call(this,e),o={},t)a!==x(a)?(u("data-camelCase","jQuery.data() always sets/gets camelCased names: "+a),n[a]=t[a]):o[a]=t[a];return E.call(this,e,o),t}return t&&"string"==typeof t&&t!==x(t)&&(n=s.hasData(e)&&E.call(this,e))&&t in n?(u("data-camelCase","jQuery.data() always sets/gets camelCased names: "+t),2<arguments.length&&(n[t]=r),n[t]):E.apply(this,arguments)},"data-camelCase"),s.fx&&(k=s.Tween.prototype.run,H=function(e){return e},i(s.Tween.prototype,"run",function(){1<s.easing[this.easing].length&&(u("easing-one-arg","'jQuery.easing."+this.easing.toString()+"' should use only one argument"),s.easing[this.easing]=H),k.apply(this,arguments)},"easing-one-arg"),S=s.fx.interval,P="jQuery.fx.interval is deprecated",n.requestAnimationFrame&&Object.defineProperty(s.fx,"interval",{configurable:!0,enumerable:!0,get:function(){return n.document.hidden||u("fx-interval",P),s.migrateIsPatchEnabled("fx-interval")&&void 0===S?13:S},set:function(e){u("fx-interval",P),S=e}}));var M=s.fn.load,q=s.event.add,O=s.event.fix;s.event.props=[],s.event.fixHooks={},r(s.event.props,"concat",s.event.props.concat,"event-old-patch","jQuery.event.props.concat() is deprecated and removed"),i(s.event,"fix",function(e){var t,r=e.type,n=this.fixHooks[r],o=s.event.props;if(o.length){u("event-old-patch","jQuery.event.props are deprecated and removed: "+o.join());while(o.length)s.event.addProp(o.pop())}if(n&&!n._migrated_&&(n._migrated_=!0,u("event-old-patch","jQuery.event.fixHooks are deprecated and removed: "+r),(o=n.props)&&o.length))while(o.length)s.event.addProp(o.pop());return t=O.call(this,e),n&&n.filter?n.filter(t,e):t},"event-old-patch"),i(s.event,"add",function(e,t){return e===n&&"load"===t&&"complete"===n.document.readyState&&u("load-after-event","jQuery(window).on('load'...) called after load event occurred"),q.apply(this,arguments)},"load-after-event"),s.each(["load","unload","error"],function(e,t){i(s.fn,t,function(){var e=Array.prototype.slice.call(arguments,0);return"load"===t&&"string"==typeof e[0]?M.apply(this,e):(u("shorthand-removed-v3","jQuery.fn."+t+"() is deprecated"),e.splice(0,0,t),arguments.length?this.on.apply(this,e):(this.triggerHandler.apply(this,e),this))},"shorthand-removed-v3")}),s.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,r){c(s.fn,r,function(e,t){return 0<arguments.length?this.on(r,null,e,t):this.trigger(r)},"shorthand-deprecated-v3","jQuery.fn."+r+"() event shorthand is deprecated")}),s(function(){s(n.document).triggerHandler("ready")}),s.event.special.ready={setup:function(){this===n.document&&u("ready-event","'ready' event is deprecated")}},c(s.fn,"bind",function(e,t,r){return this.on(e,null,t,r)},"pre-on-methods","jQuery.fn.bind() is deprecated"),c(s.fn,"unbind",function(e,t){return this.off(e,null,t)},"pre-on-methods","jQuery.fn.unbind() is deprecated"),c(s.fn,"delegate",function(e,t,r,n){return this.on(t,e,r,n)},"pre-on-methods","jQuery.fn.delegate() is deprecated"),c(s.fn,"undelegate",function(e,t,r){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",r)},"pre-on-methods","jQuery.fn.undelegate() is deprecated"),c(s.fn,"hover",function(e,t){return this.on("mouseenter",e).on("mouseleave",t||e)},"pre-on-methods","jQuery.fn.hover() is deprecated");function T(e){var t=n.document.implementation.createHTMLDocument("");return t.body.innerHTML=e,t.body&&t.body.innerHTML}var F=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi;s.UNSAFE_restoreLegacyHtmlPrefilter=function(){s.migrateEnablePatches("self-closed-tags")},i(s,"htmlPrefilter",function(e){var t,r;return(r=(t=e).replace(F,"<$1></$2>"))!==t&&T(t)!==T(r)&&u("self-closed-tags","HTML tags must be properly nested and closed: "+t),e.replace(F,"<$1></$2>")},"self-closed-tags"),s.migrateDisablePatches("self-closed-tags");var D,W,_,I=s.fn.offset;return i(s.fn,"offset",function(){var e=this[0];return!e||e.nodeType&&e.getBoundingClientRect?I.apply(this,arguments):(u("offset-valid-elem","jQuery.fn.offset() requires a valid DOM element"),arguments.length?this:void 0)},"offset-valid-elem"),s.ajax&&(D=s.param,i(s,"param",function(e,t){var r=s.ajaxSettings&&s.ajaxSettings.traditional;return void 0===t&&r&&(u("param-ajax-traditional","jQuery.param() no longer uses jQuery.ajaxSettings.traditional"),t=r),D.call(this,e,t)},"param-ajax-traditional")),c(s.fn,"andSelf",s.fn.addBack,"andSelf","jQuery.fn.andSelf() is deprecated and removed, use jQuery.fn.addBack()"),s.Deferred&&(W=s.Deferred,_=[["resolve","done",s.Callbacks("once memory"),s.Callbacks("once memory"),"resolved"],["reject","fail",s.Callbacks("once memory"),s.Callbacks("once memory"),"rejected"],["notify","progress",s.Callbacks("memory"),s.Callbacks("memory")]],i(s,"Deferred",function(e){var a=W(),i=a.promise();function t(){var o=arguments;return s.Deferred(function(n){s.each(_,function(e,t){var r="function"==typeof o[e]&&o[e];a[t[1]](function(){var e=r&&r.apply(this,arguments);e&&"function"==typeof e.promise?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[t[0]+"With"](this===i?n.promise():this,r?[e]:arguments)})}),o=null}).promise()}return c(a,"pipe",t,"deferred-pipe","deferred.pipe() is deprecated"),c(i,"pipe",t,"deferred-pipe","deferred.pipe() is deprecated"),e&&e.call(a,a),a},"deferred-pipe"),s.Deferred.exceptionHook=W.exceptionHook),s});
;var jnews_module_617_0_670ace98980af={"header_icon":"","first_title":"Recomendamos","second_title":".","url":"","header_type":"heading_5","header_background":"","header_secondary_background":"","header_text_color":"","header_line_color":"","header_accent_color":"","header_filter_category":"","header_filter_author":"","header_filter_tag":"","header_filter_text":"All","post_type":"post","content_type":"all","number_post":"2","post_offset":"0","unique_content":"unique2","include_post":"","exclude_post":"","include_category":"","exclude_category":"","include_author":"","include_tag":"","exclude_tag":"","sort_by":"random","date_format":"default","date_format_custom":"Y\/m\/d","force_normal_image_load":"0","pagination_mode":"disable","pagination_nextprev_showtext":"0","pagination_number_post":"6","pagination_scroll_limit":"0","boxed":"0","boxed_shadow":"0","el_id":"","el_class":"","scheme":"normal","column_width":"auto","title_color":"","accent_color":"","alt_color":"","excerpt_color":"","css":"","paged":1,"column_class":"jeg_col_1o3","class":"jnews_block_21"}
;var jfla=[]
;function swcfpc_wildcard_check(str,rule){let escapeRegex=(str)=>str.replace(/([.*+?^=!:${}()|\[\]\/\\])/g,"\\$1");return new RegExp("^"+rule.split("*").map(escapeRegex).join(".*")+"$").test(str)}
function swcfpc_can_url_be_prefetched(href){if(href.length==0)
return!1;if(href.startsWith("mailto:"))
return!1;if(href.startsWith("https://"))
href=href.split("https://"+location.host)[1];else if(href.startsWith("http://"))
href=href.split("http://"+location.host)[1];for(let i=0;i<swcfpc_prefetch_urls_to_exclude.length;i++){if(swcfpc_wildcard_check(href,swcfpc_prefetch_urls_to_exclude[i]))
return!1}
return!0}
let swcfpc_prefetch_urls_to_exclude='["\/*ao_noptirocket*","\/*jetpack=comms*","\/*kinsta-monitor*","*ao_speedup_cachebuster*","\/*removed_item*","\/my-account*","\/wc-api\/*","\/edd-api\/*","\/wp-json*"]';swcfpc_prefetch_urls_to_exclude=(swcfpc_prefetch_urls_to_exclude)?JSON.parse(swcfpc_prefetch_urls_to_exclude):[]
;/*! This file is auto-generated */
window.addComment=function(v){var I,C,h,E=v.document,b={commentReplyClass:"comment-reply-link",commentReplyTitleId:"reply-title",cancelReplyId:"cancel-comment-reply-link",commentFormId:"commentform",temporaryFormId:"wp-temp-form-div",parentIdFieldId:"comment_parent",postIdFieldId:"comment_post_ID"},e=v.MutationObserver||v.WebKitMutationObserver||v.MozMutationObserver,r="querySelector"in E&&"addEventListener"in v,n=!!E.documentElement.dataset;function t(){d(),e&&new e(o).observe(E.body,{childList:!0,subtree:!0})}function d(e){if(r&&(I=g(b.cancelReplyId),C=g(b.commentFormId),I)){I.addEventListener("touchstart",l),I.addEventListener("click",l);function t(e){if((e.metaKey||e.ctrlKey)&&13===e.keyCode)return C.removeEventListener("keydown",t),e.preventDefault(),C.submit.click(),!1}C&&C.addEventListener("keydown",t);for(var n,d=function(e){var t=b.commentReplyClass;e&&e.childNodes||(e=E);e=E.getElementsByClassName?e.getElementsByClassName(t):e.querySelectorAll("."+t);return e}(e),o=0,i=d.length;o<i;o++)(n=d[o]).addEventListener("touchstart",a),n.addEventListener("click",a)}}function l(e){var t,n,d=g(b.temporaryFormId);d&&h&&(g(b.parentIdFieldId).value="0",t=d.textContent,d.parentNode.replaceChild(h,d),this.style.display="none",n=(d=(d=g(b.commentReplyTitleId))&&d.firstChild)&&d.nextSibling,d&&d.nodeType===Node.TEXT_NODE&&t&&(n&&"A"===n.nodeName&&n.id!==b.cancelReplyId&&(n.style.display=""),d.textContent=t),e.preventDefault())}function a(e){var t=g(b.commentReplyTitleId),t=t&&t.firstChild.textContent,n=this,d=m(n,"belowelement"),o=m(n,"commentid"),i=m(n,"respondelement"),r=m(n,"postid"),n=m(n,"replyto")||t;d&&o&&i&&r&&!1===v.addComment.moveForm(d,o,i,r,n)&&e.preventDefault()}function o(e){for(var t=e.length;t--;)if(e[t].addedNodes.length)return void d()}function m(e,t){return n?e.dataset[t]:e.getAttribute("data-"+t)}function g(e){return E.getElementById(e)}return r&&"loading"!==E.readyState?t():r&&v.addEventListener("DOMContentLoaded",t,!1),{init:d,moveForm:function(e,t,n,d,o){var i,r,l,a,m,c,s,e=g(e),n=(h=g(n),g(b.parentIdFieldId)),y=g(b.postIdFieldId),p=g(b.commentReplyTitleId),u=(p=p&&p.firstChild)&&p.nextSibling;if(e&&h&&n){void 0===o&&(o=p&&p.textContent),a=h,m=b.temporaryFormId,c=g(m),s=(s=g(b.commentReplyTitleId))?s.firstChild.textContent:"",c||((c=E.createElement("div")).id=m,c.style.display="none",c.textContent=s,a.parentNode.insertBefore(c,a)),d&&y&&(y.value=d),n.value=t,I.style.display="",e.parentNode.insertBefore(h,e.nextSibling),p&&p.nodeType===Node.TEXT_NODE&&(u&&"A"===u.nodeName&&u.id!==b.cancelReplyId&&(u.style.display="none"),p.textContent=o),I.onclick=function(){return!1};try{for(var f=0;f<C.elements.length;f++)if(i=C.elements[f],r=!1,"getComputedStyle"in v?l=v.getComputedStyle(i):E.documentElement.currentStyle&&(l=i.currentStyle),(i.offsetWidth<=0&&i.offsetHeight<=0||"hidden"===l.visibility)&&(r=!0),"hidden"!==i.type&&!i.disabled&&!r){i.focus();break}}catch(e){}return!1}}}}(window);
;/*! This file is auto-generated */
!function(e){"use strict";"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof module&&module.exports?module.exports=e(require("jquery")):jQuery&&!jQuery.fn.hoverIntent&&e(jQuery)}(function(f){"use strict";function u(e){return"function"==typeof e}var i,r,v={interval:100,sensitivity:6,timeout:0},s=0,a=function(e){i=e.pageX,r=e.pageY},p=function(e,t,n,o){if(Math.sqrt((n.pX-i)*(n.pX-i)+(n.pY-r)*(n.pY-r))<o.sensitivity)return t.off(n.event,a),delete n.timeoutId,n.isActive=!0,e.pageX=i,e.pageY=r,delete n.pX,delete n.pY,o.over.apply(t[0],[e]);n.pX=i,n.pY=r,n.timeoutId=setTimeout(function(){p(e,t,n,o)},o.interval)};f.fn.hoverIntent=function(e,t,n){function o(e){var u=f.extend({},e),r=f(this),v=((t=r.data("hoverIntent"))||r.data("hoverIntent",t={}),t[i]),t=(v||(t[i]=v={id:i}),v.timeoutId&&(v.timeoutId=clearTimeout(v.timeoutId)),v.event="mousemove.hoverIntent.hoverIntent"+i);"mouseenter"===e.type?v.isActive||(v.pX=u.pageX,v.pY=u.pageY,r.off(t,a).on(t,a),v.timeoutId=setTimeout(function(){p(u,r,v,d)},d.interval)):v.isActive&&(r.off(t,a),v.timeoutId=setTimeout(function(){var e,t,n,o,i;e=u,t=r,n=v,o=d.out,(i=t.data("hoverIntent"))&&delete i[n.id],o.apply(t[0],[e])},d.timeout))}var i=s++,d=f.extend({},v);f.isPlainObject(e)?(d=f.extend(d,e),u(d.out)||(d.out=d.over)):d=u(t)?f.extend(d,{over:e,out:t,selector:n}):f.extend(d,{over:e,out:e,selector:t});return this.on({"mouseenter.hoverIntent":o,"mouseleave.hoverIntent":o},d.selector)}});
;/*! This file is auto-generated */
/*!
 * imagesLoaded PACKAGED v5.0.0
 * JavaScript is all like "You images are done yet or what?"
 * MIT License
 */
!function(t,e){"object"==typeof module&&module.exports?module.exports=e():t.EvEmitter=e()}("undefined"!=typeof window?window:this,(function(){function t(){}let e=t.prototype;return e.on=function(t,e){if(!t||!e)return this;let i=this._events=this._events||{},s=i[t]=i[t]||[];return s.includes(e)||s.push(e),this},e.once=function(t,e){if(!t||!e)return this;this.on(t,e);let i=this._onceEvents=this._onceEvents||{};return(i[t]=i[t]||{})[e]=!0,this},e.off=function(t,e){let i=this._events&&this._events[t];if(!i||!i.length)return this;let s=i.indexOf(e);return-1!=s&&i.splice(s,1),this},e.emitEvent=function(t,e){let i=this._events&&this._events[t];if(!i||!i.length)return this;i=i.slice(0),e=e||[];let s=this._onceEvents&&this._onceEvents[t];for(let n of i){s&&s[n]&&(this.off(t,n),delete s[n]),n.apply(this,e)}return this},e.allOff=function(){return delete this._events,delete this._onceEvents,this},t})),
/*!
 * imagesLoaded v5.0.0
 * JavaScript is all like "You images are done yet or what?"
 * MIT License
 */
function(t,e){"object"==typeof module&&module.exports?module.exports=e(t,require("ev-emitter")):t.imagesLoaded=e(t,t.EvEmitter)}("undefined"!=typeof window?window:this,(function(t,e){let i=t.jQuery,s=t.console;function n(t,e,o){if(!(this instanceof n))return new n(t,e,o);let r=t;var h;("string"==typeof t&&(r=document.querySelectorAll(t)),r)?(this.elements=(h=r,Array.isArray(h)?h:"object"==typeof h&&"number"==typeof h.length?[...h]:[h]),this.options={},"function"==typeof e?o=e:Object.assign(this.options,e),o&&this.on("always",o),this.getImages(),i&&(this.jqDeferred=new i.Deferred),setTimeout(this.check.bind(this))):s.error(`Bad element for imagesLoaded ${r||t}`)}n.prototype=Object.create(e.prototype),n.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)};const o=[1,9,11];n.prototype.addElementImages=function(t){"IMG"===t.nodeName&&this.addImage(t),!0===this.options.background&&this.addElementBackgroundImages(t);let{nodeType:e}=t;if(!e||!o.includes(e))return;let i=t.querySelectorAll("img");for(let t of i)this.addImage(t);if("string"==typeof this.options.background){let e=t.querySelectorAll(this.options.background);for(let t of e)this.addElementBackgroundImages(t)}};const r=/url\((['"])?(.*?)\1\)/gi;function h(t){this.img=t}function d(t,e){this.url=t,this.element=e,this.img=new Image}return n.prototype.addElementBackgroundImages=function(t){let e=getComputedStyle(t);if(!e)return;let i=r.exec(e.backgroundImage);for(;null!==i;){let s=i&&i[2];s&&this.addBackground(s,t),i=r.exec(e.backgroundImage)}},n.prototype.addImage=function(t){let e=new h(t);this.images.push(e)},n.prototype.addBackground=function(t,e){let i=new d(t,e);this.images.push(i)},n.prototype.check=function(){if(this.progressedCount=0,this.hasAnyBroken=!1,!this.images.length)return void this.complete();let t=(t,e,i)=>{setTimeout((()=>{this.progress(t,e,i)}))};this.images.forEach((function(e){e.once("progress",t),e.check()}))},n.prototype.progress=function(t,e,i){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!t.isLoaded,this.emitEvent("progress",[this,t,e]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,t),this.progressedCount===this.images.length&&this.complete(),this.options.debug&&s&&s.log(`progress: ${i}`,t,e)},n.prototype.complete=function(){let t=this.hasAnyBroken?"fail":"done";if(this.isComplete=!0,this.emitEvent(t,[this]),this.emitEvent("always",[this]),this.jqDeferred){let t=this.hasAnyBroken?"reject":"resolve";this.jqDeferred[t](this)}},h.prototype=Object.create(e.prototype),h.prototype.check=function(){this.getIsImageComplete()?this.confirm(0!==this.img.naturalWidth,"naturalWidth"):(this.proxyImage=new Image,this.img.crossOrigin&&(this.proxyImage.crossOrigin=this.img.crossOrigin),this.proxyImage.addEventListener("load",this),this.proxyImage.addEventListener("error",this),this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.proxyImage.src=this.img.currentSrc||this.img.src)},h.prototype.getIsImageComplete=function(){return this.img.complete&&this.img.naturalWidth},h.prototype.confirm=function(t,e){this.isLoaded=t;let{parentNode:i}=this.img,s="PICTURE"===i.nodeName?i:this.img;this.emitEvent("progress",[this,s,e])},h.prototype.handleEvent=function(t){let e="on"+t.type;this[e]&&this[e](t)},h.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},h.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},h.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},d.prototype=Object.create(h.prototype),d.prototype.check=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.img.src=this.url,this.getIsImageComplete()&&(this.confirm(0!==this.img.naturalWidth,"naturalWidth"),this.unbindEvents())},d.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},d.prototype.confirm=function(t,e){this.isLoaded=t,this.emitEvent("progress",[this,this.element,e])},n.makeJQueryPlugin=function(e){(e=e||t.jQuery)&&(i=e,i.fn.imagesLoaded=function(t,e){return new n(this,t,e).jqDeferred.promise(i(this))})},n.makeJQueryPlugin(),n}));
;/*!
 * WPBakery Page Builder v6.0.0 (https://wpbakery.com)
 * Copyright 2011-2020 Michael M, WPBakery
 * License: Commercial. More details: http://go.wpbakery.com/licensing
 */

// jscs:disable
// jshint ignore: start

/*!
 * Isotope PACKAGED v3.0.5
 *
 * Licensed GPLv3 for open source use
 * or Isotope Commercial License for commercial use
 *
 * https://isotope.metafizzy.co
 * Copyright 2017 Metafizzy
 */

!function(t,e){"function"==typeof define&&define.amd?define("jquery-bridget/jquery-bridget",["jquery"],function(i){return e(t,i)}):"object"==typeof module&&module.exports?module.exports=e(t,require("jquery")):t.jQueryBridget=e(t,t.jQuery)}(window,function(t,e){"use strict";function i(i,s,a){function u(t,e,o){var n,s="$()."+i+'("'+e+'")';return t.each(function(t,u){var h=a.data(u,i);if(!h)return void r(i+" not initialized. Cannot call methods, i.e. "+s);var d=h[e];if(!d||"_"==e.charAt(0))return void r(s+" is not a valid method");var l=d.apply(h,o);n=void 0===n?l:n}),void 0!==n?n:t}function h(t,e){t.each(function(t,o){var n=a.data(o,i);n?(n.option(e),n._init()):(n=new s(o,e),a.data(o,i,n))})}a=a||e||t.jQuery,a&&(s.prototype.option||(s.prototype.option=function(t){a.isPlainObject(t)&&(this.options=a.extend(!0,this.options,t))}),a.fn[i]=function(t){if("string"==typeof t){var e=n.call(arguments,1);return u(this,t,e)}return h(this,t),this},o(a))}function o(t){!t||t&&t.bridget||(t.bridget=i)}var n=Array.prototype.slice,s=t.console,r="undefined"==typeof s?function(){}:function(t){s.error(t)};return o(e||t.jQuery),i}),function(t,e){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",e):"object"==typeof module&&module.exports?module.exports=e():t.EvEmitter=e()}("undefined"!=typeof window?window:this,function(){function t(){}var e=t.prototype;return e.on=function(t,e){if(t&&e){var i=this._events=this._events||{},o=i[t]=i[t]||[];return o.indexOf(e)==-1&&o.push(e),this}},e.once=function(t,e){if(t&&e){this.on(t,e);var i=this._onceEvents=this._onceEvents||{},o=i[t]=i[t]||{};return o[e]=!0,this}},e.off=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){var o=i.indexOf(e);return o!=-1&&i.splice(o,1),this}},e.emitEvent=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){i=i.slice(0),e=e||[];for(var o=this._onceEvents&&this._onceEvents[t],n=0;n<i.length;n++){var s=i[n],r=o&&o[s];r&&(this.off(t,s),delete o[s]),s.apply(this,e)}return this}},e.allOff=function(){delete this._events,delete this._onceEvents},t}),function(t,e){"use strict";"function"==typeof define&&define.amd?define("get-size/get-size",[],function(){return e()}):"object"==typeof module&&module.exports?module.exports=e():t.getSize=e()}(window,function(){"use strict";function t(t){var e=parseFloat(t),i=t.indexOf("%")==-1&&!isNaN(e);return i&&e}function e(){}function i(){for(var t={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},e=0;e<h;e++){var i=u[e];t[i]=0}return t}function o(t){var e=getComputedStyle(t);return e||a("Style returned "+e+". Are you running this code in a hidden iframe on Firefox? See http://bit.ly/getsizebug1"),e}function n(){if(!d){d=!0;var e=document.createElement("div");e.style.width="200px",e.style.padding="1px 2px 3px 4px",e.style.borderStyle="solid",e.style.borderWidth="1px 2px 3px 4px",e.style.boxSizing="border-box";var i=document.body||document.documentElement;i.appendChild(e);var n=o(e);s.isBoxSizeOuter=r=200==t(n.width),i.removeChild(e)}}function s(e){if(n(),"string"==typeof e&&(e=document.querySelector(e)),e&&"object"==typeof e&&e.nodeType){var s=o(e);if("none"==s.display)return i();var a={};a.width=e.offsetWidth,a.height=e.offsetHeight;for(var d=a.isBorderBox="border-box"==s.boxSizing,l=0;l<h;l++){var f=u[l],c=s[f],m=parseFloat(c);a[f]=isNaN(m)?0:m}var p=a.paddingLeft+a.paddingRight,y=a.paddingTop+a.paddingBottom,g=a.marginLeft+a.marginRight,v=a.marginTop+a.marginBottom,_=a.borderLeftWidth+a.borderRightWidth,I=a.borderTopWidth+a.borderBottomWidth,z=d&&r,x=t(s.width);x!==!1&&(a.width=x+(z?0:p+_));var S=t(s.height);return S!==!1&&(a.height=S+(z?0:y+I)),a.innerWidth=a.width-(p+_),a.innerHeight=a.height-(y+I),a.outerWidth=a.width+g,a.outerHeight=a.height+v,a}}var r,a="undefined"==typeof console?e:function(t){console.error(t)},u=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],h=u.length,d=!1;return s}),function(t,e){"use strict";"function"==typeof define&&define.amd?define("desandro-matches-selector/matches-selector",e):"object"==typeof module&&module.exports?module.exports=e():t.matchesSelector=e()}(window,function(){"use strict";var t=function(){var t=window.Element.prototype;if(t.matches)return"matches";if(t.matchesSelector)return"matchesSelector";for(var e=["webkit","moz","ms","o"],i=0;i<e.length;i++){var o=e[i],n=o+"MatchesSelector";if(t[n])return n}}();return function(e,i){return e[t](i)}}),function(t,e){"function"==typeof define&&define.amd?define("fizzy-ui-utils/utils",["desandro-matches-selector/matches-selector"],function(i){return e(t,i)}):"object"==typeof module&&module.exports?module.exports=e(t,require("desandro-matches-selector")):t.fizzyUIUtils=e(t,t.matchesSelector)}(window,function(t,e){var i={};i.extend=function(t,e){for(var i in e)t[i]=e[i];return t},i.modulo=function(t,e){return(t%e+e)%e},i.makeArray=function(t){var e=[];if(Array.isArray(t))e=t;else if(t&&"object"==typeof t&&"number"==typeof t.length)for(var i=0;i<t.length;i++)e.push(t[i]);else e.push(t);return e},i.removeFrom=function(t,e){var i=t.indexOf(e);i!=-1&&t.splice(i,1)},i.getParent=function(t,i){for(;t.parentNode&&t!=document.body;)if(t=t.parentNode,e(t,i))return t},i.getQueryElement=function(t){return"string"==typeof t?document.querySelector(t):t},i.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},i.filterFindElements=function(t,o){t=i.makeArray(t);var n=[];return t.forEach(function(t){if(t instanceof HTMLElement){if(!o)return void n.push(t);e(t,o)&&n.push(t);for(var i=t.querySelectorAll(o),s=0;s<i.length;s++)n.push(i[s])}}),n},i.debounceMethod=function(t,e,i){var o=t.prototype[e],n=e+"Timeout";t.prototype[e]=function(){var t=this[n];t&&clearTimeout(t);var e=arguments,s=this;this[n]=setTimeout(function(){o.apply(s,e),delete s[n]},i||100)}},i.docReady=function(t){var e=document.readyState;"complete"==e||"interactive"==e?setTimeout(t):document.addEventListener("DOMContentLoaded",t)},i.toDashed=function(t){return t.replace(/(.)([A-Z])/g,function(t,e,i){return e+"-"+i}).toLowerCase()};var o=t.console;return i.htmlInit=function(e,n){i.docReady(function(){var s=i.toDashed(n),r="data-"+s,a=document.querySelectorAll("["+r+"]"),u=document.querySelectorAll(".js-"+s),h=i.makeArray(a).concat(i.makeArray(u)),d=r+"-options",l=t.jQuery;h.forEach(function(t){var i,s=t.getAttribute(r)||t.getAttribute(d);try{i=s&&JSON.parse(s)}catch(a){return void(o&&o.error("Error parsing "+r+" on "+t.className+": "+a))}var u=new e(t,i);l&&l.data(t,n,u)})})},i}),function(t,e){"function"==typeof define&&define.amd?define("outlayer/item",["ev-emitter/ev-emitter","get-size/get-size"],e):"object"==typeof module&&module.exports?module.exports=e(require("ev-emitter"),require("get-size")):(t.Outlayer={},t.Outlayer.Item=e(t.EvEmitter,t.getSize))}(window,function(t,e){"use strict";function i(t){for(var e in t)return!1;return e=null,!0}function o(t,e){t&&(this.element=t,this.layout=e,this.position={x:0,y:0},this._create())}function n(t){return t.replace(/([A-Z])/g,function(t){return"-"+t.toLowerCase()})}var s=document.documentElement.style,r="string"==typeof s.transition?"transition":"WebkitTransition",a="string"==typeof s.transform?"transform":"WebkitTransform",u={WebkitTransition:"webkitTransitionEnd",transition:"transitionend"}[r],h={transform:a,transition:r,transitionDuration:r+"Duration",transitionProperty:r+"Property",transitionDelay:r+"Delay"},d=o.prototype=Object.create(t.prototype);d.constructor=o,d._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:"absolute"})},d.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},d.getSize=function(){this.size=e(this.element)},d.css=function(t){var e=this.element.style;for(var i in t){var o=h[i]||i;e[o]=t[i]}},d.getPosition=function(){var t=getComputedStyle(this.element),e=this.layout._getOption("originLeft"),i=this.layout._getOption("originTop"),o=t[e?"left":"right"],n=t[i?"top":"bottom"],s=this.layout.size,r=o.indexOf("%")!=-1?parseFloat(o)/100*s.width:parseInt(o,10),a=n.indexOf("%")!=-1?parseFloat(n)/100*s.height:parseInt(n,10);r=isNaN(r)?0:r,a=isNaN(a)?0:a,r-=e?s.paddingLeft:s.paddingRight,a-=i?s.paddingTop:s.paddingBottom,this.position.x=r,this.position.y=a},d.layoutPosition=function(){var t=this.layout.size,e={},i=this.layout._getOption("originLeft"),o=this.layout._getOption("originTop"),n=i?"paddingLeft":"paddingRight",s=i?"left":"right",r=i?"right":"left",a=this.position.x+t[n];e[s]=this.getXValue(a),e[r]="";var u=o?"paddingTop":"paddingBottom",h=o?"top":"bottom",d=o?"bottom":"top",l=this.position.y+t[u];e[h]=this.getYValue(l),e[d]="",this.css(e),this.emitEvent("layout",[this])},d.getXValue=function(t){var e=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&!e?t/this.layout.size.width*100+"%":t+"px"},d.getYValue=function(t){var e=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&e?t/this.layout.size.height*100+"%":t+"px"},d._transitionTo=function(t,e){this.getPosition();var i=this.position.x,o=this.position.y,n=parseInt(t,10),s=parseInt(e,10),r=n===this.position.x&&s===this.position.y;if(this.setPosition(t,e),r&&!this.isTransitioning)return void this.layoutPosition();var a=t-i,u=e-o,h={};h.transform=this.getTranslate(a,u),this.transition({to:h,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0})},d.getTranslate=function(t,e){var i=this.layout._getOption("originLeft"),o=this.layout._getOption("originTop");return t=i?t:-t,e=o?e:-e,"translate3d("+t+"px, "+e+"px, 0)"},d.goTo=function(t,e){this.setPosition(t,e),this.layoutPosition()},d.moveTo=d._transitionTo,d.setPosition=function(t,e){this.position.x=parseInt(t,10),this.position.y=parseInt(e,10)},d._nonTransition=function(t){this.css(t.to),t.isCleaning&&this._removeStyles(t.to);for(var e in t.onTransitionEnd)t.onTransitionEnd[e].call(this)},d.transition=function(t){if(!parseFloat(this.layout.options.transitionDuration))return void this._nonTransition(t);var e=this._transn;for(var i in t.onTransitionEnd)e.onEnd[i]=t.onTransitionEnd[i];for(i in t.to)e.ingProperties[i]=!0,t.isCleaning&&(e.clean[i]=!0);if(t.from){this.css(t.from);var o=this.element.offsetHeight;o=null}this.enableTransition(t.to),this.css(t.to),this.isTransitioning=!0};var l="opacity,"+n(a);d.enableTransition=function(){if(!this.isTransitioning){var t=this.layout.options.transitionDuration;t="number"==typeof t?t+"ms":t,this.css({transitionProperty:l,transitionDuration:t,transitionDelay:this.staggerDelay||0}),this.element.addEventListener(u,this,!1)}},d.onwebkitTransitionEnd=function(t){this.ontransitionend(t)},d.onotransitionend=function(t){this.ontransitionend(t)};var f={"-webkit-transform":"transform"};d.ontransitionend=function(t){if(t.target===this.element){var e=this._transn,o=f[t.propertyName]||t.propertyName;if(delete e.ingProperties[o],i(e.ingProperties)&&this.disableTransition(),o in e.clean&&(this.element.style[t.propertyName]="",delete e.clean[o]),o in e.onEnd){var n=e.onEnd[o];n.call(this),delete e.onEnd[o]}this.emitEvent("transitionEnd",[this])}},d.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(u,this,!1),this.isTransitioning=!1},d._removeStyles=function(t){var e={};for(var i in t)e[i]="";this.css(e)};var c={transitionProperty:"",transitionDuration:"",transitionDelay:""};return d.removeTransitionStyles=function(){this.css(c)},d.stagger=function(t){t=isNaN(t)?0:t,this.staggerDelay=t+"ms"},d.removeElem=function(){this.element.parentNode.removeChild(this.element),this.css({display:""}),this.emitEvent("remove",[this])},d.remove=function(){return r&&parseFloat(this.layout.options.transitionDuration)?(this.once("transitionEnd",function(){this.removeElem()}),void this.hide()):void this.removeElem()},d.reveal=function(){delete this.isHidden,this.css({display:""});var t=this.layout.options,e={},i=this.getHideRevealTransitionEndProperty("visibleStyle");e[i]=this.onRevealTransitionEnd,this.transition({from:t.hiddenStyle,to:t.visibleStyle,isCleaning:!0,onTransitionEnd:e})},d.onRevealTransitionEnd=function(){this.isHidden||this.emitEvent("reveal")},d.getHideRevealTransitionEndProperty=function(t){var e=this.layout.options[t];if(e.opacity)return"opacity";for(var i in e)return i},d.hide=function(){this.isHidden=!0,this.css({display:""});var t=this.layout.options,e={},i=this.getHideRevealTransitionEndProperty("hiddenStyle");e[i]=this.onHideTransitionEnd,this.transition({from:t.visibleStyle,to:t.hiddenStyle,isCleaning:!0,onTransitionEnd:e})},d.onHideTransitionEnd=function(){this.isHidden&&(this.css({display:"none"}),this.emitEvent("hide"))},d.destroy=function(){this.css({position:"",left:"",right:"",top:"",bottom:"",transition:"",transform:""})},o}),function(t,e){"use strict";"function"==typeof define&&define.amd?define("outlayer/outlayer",["ev-emitter/ev-emitter","get-size/get-size","fizzy-ui-utils/utils","./item"],function(i,o,n,s){return e(t,i,o,n,s)}):"object"==typeof module&&module.exports?module.exports=e(t,require("ev-emitter"),require("get-size"),require("fizzy-ui-utils"),require("./item")):t.Outlayer=e(t,t.EvEmitter,t.getSize,t.fizzyUIUtils,t.Outlayer.Item)}(window,function(t,e,i,o,n){"use strict";function s(t,e){var i=o.getQueryElement(t);if(!i)return void(u&&u.error("Bad element for "+this.constructor.namespace+": "+(i||t)));this.element=i,h&&(this.$element=h(this.element)),this.options=o.extend({},this.constructor.defaults),this.option(e);var n=++l;this.element.outlayerGUID=n,f[n]=this,this._create();var s=this._getOption("initLayout");s&&this.layout()}function r(t){function e(){t.apply(this,arguments)}return e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e}function a(t){if("number"==typeof t)return t;var e=t.match(/(^\d*\.?\d*)(\w*)/),i=e&&e[1],o=e&&e[2];if(!i.length)return 0;i=parseFloat(i);var n=m[o]||1;return i*n}var u=t.console,h=t.jQuery,d=function(){},l=0,f={};s.namespace="outlayer",s.Item=n,s.defaults={containerStyle:{position:"relative"},initLayout:!0,originLeft:!0,originTop:!0,resize:!0,resizeContainer:!0,transitionDuration:"0.4s",hiddenStyle:{opacity:0,transform:"scale(0.001)"},visibleStyle:{opacity:1,transform:"scale(1)"}};var c=s.prototype;o.extend(c,e.prototype),c.option=function(t){o.extend(this.options,t)},c._getOption=function(t){var e=this.constructor.compatOptions[t];return e&&void 0!==this.options[e]?this.options[e]:this.options[t]},s.compatOptions={initLayout:"isInitLayout",horizontal:"isHorizontal",layoutInstant:"isLayoutInstant",originLeft:"isOriginLeft",originTop:"isOriginTop",resize:"isResizeBound",resizeContainer:"isResizingContainer"},c._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),o.extend(this.element.style,this.options.containerStyle);var t=this._getOption("resize");t&&this.bindResize()},c.reloadItems=function(){this.items=this._itemize(this.element.children)},c._itemize=function(t){for(var e=this._filterFindItemElements(t),i=this.constructor.Item,o=[],n=0;n<e.length;n++){var s=e[n],r=new i(s,this);o.push(r)}return o},c._filterFindItemElements=function(t){return o.filterFindElements(t,this.options.itemSelector)},c.getItemElements=function(){return this.items.map(function(t){return t.element})},c.layout=function(){this._resetLayout(),this._manageStamps();var t=this._getOption("layoutInstant"),e=void 0!==t?t:!this._isLayoutInited;this.layoutItems(this.items,e),this._isLayoutInited=!0},c._init=c.layout,c._resetLayout=function(){this.getSize()},c.getSize=function(){this.size=i(this.element)},c._getMeasurement=function(t,e){var o,n=this.options[t];n?("string"==typeof n?o=this.element.querySelector(n):n instanceof HTMLElement&&(o=n),this[t]=o?i(o)[e]:n):this[t]=0},c.layoutItems=function(t,e){t=this._getItemsForLayout(t),this._layoutItems(t,e),this._postLayout()},c._getItemsForLayout=function(t){return t.filter(function(t){return!t.isIgnored})},c._layoutItems=function(t,e){if(this._emitCompleteOnItems("layout",t),t&&t.length){var i=[];t.forEach(function(t){var o=this._getItemLayoutPosition(t);o.item=t,o.isInstant=e||t.isLayoutInstant,i.push(o)},this),this._processLayoutQueue(i)}},c._getItemLayoutPosition=function(){return{x:0,y:0}},c._processLayoutQueue=function(t){this.updateStagger(),t.forEach(function(t,e){this._positionItem(t.item,t.x,t.y,t.isInstant,e)},this)},c.updateStagger=function(){var t=this.options.stagger;return null===t||void 0===t?void(this.stagger=0):(this.stagger=a(t),this.stagger)},c._positionItem=function(t,e,i,o,n){o?t.goTo(e,i):(t.stagger(n*this.stagger),t.moveTo(e,i))},c._postLayout=function(){this.resizeContainer()},c.resizeContainer=function(){var t=this._getOption("resizeContainer");if(t){var e=this._getContainerSize();e&&(this._setContainerMeasure(e.width,!0),this._setContainerMeasure(e.height,!1))}},c._getContainerSize=d,c._setContainerMeasure=function(t,e){if(void 0!==t){var i=this.size;i.isBorderBox&&(t+=e?i.paddingLeft+i.paddingRight+i.borderLeftWidth+i.borderRightWidth:i.paddingBottom+i.paddingTop+i.borderTopWidth+i.borderBottomWidth),t=Math.max(t,0),this.element.style[e?"width":"height"]=t+"px"}},c._emitCompleteOnItems=function(t,e){function i(){n.dispatchEvent(t+"Complete",null,[e])}function o(){r++,r==s&&i()}var n=this,s=e.length;if(!e||!s)return void i();var r=0;e.forEach(function(e){e.once(t,o)})},c.dispatchEvent=function(t,e,i){var o=e?[e].concat(i):i;if(this.emitEvent(t,o),h)if(this.$element=this.$element||h(this.element),e){var n=h.Event(e);n.type=t,this.$element.trigger(n,i)}else this.$element.trigger(t,i)},c.ignore=function(t){var e=this.getItem(t);e&&(e.isIgnored=!0)},c.unignore=function(t){var e=this.getItem(t);e&&delete e.isIgnored},c.stamp=function(t){t=this._find(t),t&&(this.stamps=this.stamps.concat(t),t.forEach(this.ignore,this))},c.unstamp=function(t){t=this._find(t),t&&t.forEach(function(t){o.removeFrom(this.stamps,t),this.unignore(t)},this)},c._find=function(t){if(t)return"string"==typeof t&&(t=this.element.querySelectorAll(t)),t=o.makeArray(t)},c._manageStamps=function(){this.stamps&&this.stamps.length&&(this._getBoundingRect(),this.stamps.forEach(this._manageStamp,this))},c._getBoundingRect=function(){var t=this.element.getBoundingClientRect(),e=this.size;this._boundingRect={left:t.left+e.paddingLeft+e.borderLeftWidth,top:t.top+e.paddingTop+e.borderTopWidth,right:t.right-(e.paddingRight+e.borderRightWidth),bottom:t.bottom-(e.paddingBottom+e.borderBottomWidth)}},c._manageStamp=d,c._getElementOffset=function(t){var e=t.getBoundingClientRect(),o=this._boundingRect,n=i(t),s={left:e.left-o.left-n.marginLeft,top:e.top-o.top-n.marginTop,right:o.right-e.right-n.marginRight,bottom:o.bottom-e.bottom-n.marginBottom};return s},c.handleEvent=o.handleEvent,c.bindResize=function(){t.addEventListener("resize",this),this.isResizeBound=!0},c.unbindResize=function(){t.removeEventListener("resize",this),this.isResizeBound=!1},c.onresize=function(){this.resize()},o.debounceMethod(s,"onresize",100),c.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout()},c.needsResizeLayout=function(){var t=i(this.element),e=this.size&&t;return e&&t.innerWidth!==this.size.innerWidth},c.addItems=function(t){var e=this._itemize(t);return e.length&&(this.items=this.items.concat(e)),e},c.appended=function(t){var e=this.addItems(t);e.length&&(this.layoutItems(e,!0),this.reveal(e))},c.prepended=function(t){var e=this._itemize(t);if(e.length){var i=this.items.slice(0);this.items=e.concat(i),this._resetLayout(),this._manageStamps(),this.layoutItems(e,!0),this.reveal(e),this.layoutItems(i)}},c.reveal=function(t){if(this._emitCompleteOnItems("reveal",t),t&&t.length){var e=this.updateStagger();t.forEach(function(t,i){t.stagger(i*e),t.reveal()})}},c.hide=function(t){if(this._emitCompleteOnItems("hide",t),t&&t.length){var e=this.updateStagger();t.forEach(function(t,i){t.stagger(i*e),t.hide()})}},c.revealItemElements=function(t){var e=this.getItems(t);this.reveal(e)},c.hideItemElements=function(t){var e=this.getItems(t);this.hide(e)},c.getItem=function(t){for(var e=0;e<this.items.length;e++){var i=this.items[e];if(i.element==t)return i}},c.getItems=function(t){t=o.makeArray(t);var e=[];return t.forEach(function(t){var i=this.getItem(t);i&&e.push(i)},this),e},c.remove=function(t){var e=this.getItems(t);this._emitCompleteOnItems("remove",e),e&&e.length&&e.forEach(function(t){t.remove(),o.removeFrom(this.items,t)},this)},c.destroy=function(){var t=this.element.style;t.height="",t.position="",t.width="",this.items.forEach(function(t){t.destroy()}),this.unbindResize();var e=this.element.outlayerGUID;delete f[e],delete this.element.outlayerGUID,h&&h.removeData(this.element,this.constructor.namespace)},s.data=function(t){t=o.getQueryElement(t);var e=t&&t.outlayerGUID;return e&&f[e]},s.create=function(t,e){var i=r(s);return i.defaults=o.extend({},s.defaults),o.extend(i.defaults,e),i.compatOptions=o.extend({},s.compatOptions),i.namespace=t,i.data=s.data,i.Item=r(n),o.htmlInit(i,t),h&&h.bridget&&h.bridget(t,i),i};var m={ms:1,s:1e3};return s.Item=n,s}),function(t,e){"function"==typeof define&&define.amd?define("isotope-layout/js/item",["outlayer/outlayer"],e):"object"==typeof module&&module.exports?module.exports=e(require("outlayer")):(t.Isotope=t.Isotope||{},t.Isotope.Item=e(t.Outlayer))}(window,function(t){"use strict";function e(){t.Item.apply(this,arguments)}var i=e.prototype=Object.create(t.Item.prototype),o=i._create;i._create=function(){this.id=this.layout.itemGUID++,o.call(this),this.sortData={}},i.updateSortData=function(){if(!this.isIgnored){this.sortData.id=this.id,this.sortData["original-order"]=this.id,this.sortData.random=Math.random();var t=this.layout.options.getSortData,e=this.layout._sorters;for(var i in t){var o=e[i];this.sortData[i]=o(this.element,this)}}};var n=i.destroy;return i.destroy=function(){n.apply(this,arguments),this.css({display:""})},e}),function(t,e){"function"==typeof define&&define.amd?define("isotope-layout/js/layout-mode",["get-size/get-size","outlayer/outlayer"],e):"object"==typeof module&&module.exports?module.exports=e(require("get-size"),require("outlayer")):(t.Isotope=t.Isotope||{},t.Isotope.LayoutMode=e(t.getSize,t.Outlayer))}(window,function(t,e){"use strict";function i(t){this.isotope=t,t&&(this.options=t.options[this.namespace],this.element=t.element,this.items=t.filteredItems,this.size=t.size)}var o=i.prototype,n=["_resetLayout","_getItemLayoutPosition","_manageStamp","_getContainerSize","_getElementOffset","needsResizeLayout","_getOption"];return n.forEach(function(t){o[t]=function(){return e.prototype[t].apply(this.isotope,arguments)}}),o.needsVerticalResizeLayout=function(){var e=t(this.isotope.element),i=this.isotope.size&&e;return i&&e.innerHeight!=this.isotope.size.innerHeight},o._getMeasurement=function(){this.isotope._getMeasurement.apply(this,arguments)},o.getColumnWidth=function(){this.getSegmentSize("column","Width")},o.getRowHeight=function(){this.getSegmentSize("row","Height")},o.getSegmentSize=function(t,e){var i=t+e,o="outer"+e;if(this._getMeasurement(i,o),!this[i]){var n=this.getFirstItemSize();this[i]=n&&n[o]||this.isotope.size["inner"+e]}},o.getFirstItemSize=function(){var e=this.isotope.filteredItems[0];return e&&e.element&&t(e.element)},o.layout=function(){this.isotope.layout.apply(this.isotope,arguments)},o.getSize=function(){this.isotope.getSize(),this.size=this.isotope.size},i.modes={},i.create=function(t,e){function n(){i.apply(this,arguments)}return n.prototype=Object.create(o),n.prototype.constructor=n,e&&(n.options=e),n.prototype.namespace=t,i.modes[t]=n,n},i}),function(t,e){"function"==typeof define&&define.amd?define("masonry-layout/masonry",["outlayer/outlayer","get-size/get-size"],e):"object"==typeof module&&module.exports?module.exports=e(require("outlayer"),require("get-size")):t.Masonry=e(t.Outlayer,t.getSize)}(window,function(t,e){var i=t.create("masonry");i.compatOptions.fitWidth="isFitWidth";var o=i.prototype;return o._resetLayout=function(){this.getSize(),this._getMeasurement("columnWidth","outerWidth"),this._getMeasurement("gutter","outerWidth"),this.measureColumns(),this.colYs=[];for(var t=0;t<this.cols;t++)this.colYs.push(0);this.maxY=0,this.horizontalColIndex=0},o.measureColumns=function(){if(this.getContainerWidth(),!this.columnWidth){var t=this.items[0],i=t&&t.element;this.columnWidth=i&&e(i).outerWidth||this.containerWidth}var o=this.columnWidth+=this.gutter,n=this.containerWidth+this.gutter,s=n/o,r=o-n%o,a=r&&r<1?"round":"floor";s=Math[a](s),this.cols=Math.max(s,1)},o.getContainerWidth=function(){var t=this._getOption("fitWidth"),i=t?this.element.parentNode:this.element,o=e(i);this.containerWidth=o&&o.innerWidth},o._getItemLayoutPosition=function(t){t.getSize();var e=t.size.outerWidth%this.columnWidth,i=e&&e<1?"round":"ceil",o=Math[i](t.size.outerWidth/this.columnWidth);o=Math.min(o,this.cols);for(var n=this.options.horizontalOrder?"_getHorizontalColPosition":"_getTopColPosition",s=this[n](o,t),r={x:this.columnWidth*s.col,y:s.y},a=s.y+t.size.outerHeight,u=o+s.col,h=s.col;h<u;h++)this.colYs[h]=a;return r},o._getTopColPosition=function(t){var e=this._getTopColGroup(t),i=Math.min.apply(Math,e);return{col:e.indexOf(i),y:i}},o._getTopColGroup=function(t){if(t<2)return this.colYs;for(var e=[],i=this.cols+1-t,o=0;o<i;o++)e[o]=this._getColGroupY(o,t);return e},o._getColGroupY=function(t,e){if(e<2)return this.colYs[t];var i=this.colYs.slice(t,t+e);return Math.max.apply(Math,i)},o._getHorizontalColPosition=function(t,e){var i=this.horizontalColIndex%this.cols,o=t>1&&i+t>this.cols;i=o?0:i;var n=e.size.outerWidth&&e.size.outerHeight;return this.horizontalColIndex=n?i+t:this.horizontalColIndex,{col:i,y:this._getColGroupY(i,t)}},o._manageStamp=function(t){var i=e(t),o=this._getElementOffset(t),n=this._getOption("originLeft"),s=n?o.left:o.right,r=s+i.outerWidth,a=Math.floor(s/this.columnWidth);a=Math.max(0,a);var u=Math.floor(r/this.columnWidth);u-=r%this.columnWidth?0:1,u=Math.min(this.cols-1,u);for(var h=this._getOption("originTop"),d=(h?o.top:o.bottom)+i.outerHeight,l=a;l<=u;l++)this.colYs[l]=Math.max(d,this.colYs[l])},o._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var t={height:this.maxY};return this._getOption("fitWidth")&&(t.width=this._getContainerFitWidth()),t},o._getContainerFitWidth=function(){for(var t=0,e=this.cols;--e&&0===this.colYs[e];)t++;return(this.cols-t)*this.columnWidth-this.gutter},o.needsResizeLayout=function(){var t=this.containerWidth;return this.getContainerWidth(),t!=this.containerWidth},i}),function(t,e){"function"==typeof define&&define.amd?define("isotope-layout/js/layout-modes/masonry",["../layout-mode","masonry-layout/masonry"],e):"object"==typeof module&&module.exports?module.exports=e(require("../layout-mode"),require("masonry-layout")):e(t.Isotope.LayoutMode,t.Masonry)}(window,function(t,e){"use strict";var i=t.create("masonry"),o=i.prototype,n={_getElementOffset:!0,layout:!0,_getMeasurement:!0};for(var s in e.prototype)n[s]||(o[s]=e.prototype[s]);var r=o.measureColumns;o.measureColumns=function(){this.items=this.isotope.filteredItems,r.call(this)};var a=o._getOption;return o._getOption=function(t){return"fitWidth"==t?void 0!==this.options.isFitWidth?this.options.isFitWidth:this.options.fitWidth:a.apply(this.isotope,arguments)},i}),function(t,e){"function"==typeof define&&define.amd?define("isotope-layout/js/layout-modes/fit-rows",["../layout-mode"],e):"object"==typeof exports?module.exports=e(require("../layout-mode")):e(t.Isotope.LayoutMode)}(window,function(t){"use strict";var e=t.create("fitRows"),i=e.prototype;return i._resetLayout=function(){this.x=0,this.y=0,this.maxY=0,this._getMeasurement("gutter","outerWidth")},i._getItemLayoutPosition=function(t){t.getSize();var e=t.size.outerWidth+this.gutter,i=this.isotope.size.innerWidth+this.gutter;0!==this.x&&e+this.x>i&&(this.x=0,this.y=this.maxY);var o={x:this.x,y:this.y};return this.maxY=Math.max(this.maxY,this.y+t.size.outerHeight),this.x+=e,o},i._getContainerSize=function(){return{height:this.maxY}},e}),function(t,e){"function"==typeof define&&define.amd?define("isotope-layout/js/layout-modes/vertical",["../layout-mode"],e):"object"==typeof module&&module.exports?module.exports=e(require("../layout-mode")):e(t.Isotope.LayoutMode)}(window,function(t){"use strict";var e=t.create("vertical",{horizontalAlignment:0}),i=e.prototype;return i._resetLayout=function(){this.y=0},i._getItemLayoutPosition=function(t){t.getSize();var e=(this.isotope.size.innerWidth-t.size.outerWidth)*this.options.horizontalAlignment,i=this.y;return this.y+=t.size.outerHeight,{x:e,y:i}},i._getContainerSize=function(){return{height:this.y}},e}),function(t,e){"function"==typeof define&&define.amd?define(["outlayer/outlayer","get-size/get-size","desandro-matches-selector/matches-selector","fizzy-ui-utils/utils","isotope-layout/js/item","isotope-layout/js/layout-mode","isotope-layout/js/layout-modes/masonry","isotope-layout/js/layout-modes/fit-rows","isotope-layout/js/layout-modes/vertical"],function(i,o,n,s,r,a){return e(t,i,o,n,s,r,a)}):"object"==typeof module&&module.exports?module.exports=e(t,require("outlayer"),require("get-size"),require("desandro-matches-selector"),require("fizzy-ui-utils"),require("isotope-layout/js/item"),require("isotope-layout/js/layout-mode"),require("isotope-layout/js/layout-modes/masonry"),require("isotope-layout/js/layout-modes/fit-rows"),require("isotope-layout/js/layout-modes/vertical")):t.Isotope=e(t,t.Outlayer,t.getSize,t.matchesSelector,t.fizzyUIUtils,t.Isotope.Item,t.Isotope.LayoutMode)}(window,function(t,e,i,o,n,s,r){function a(t,e){return function(i,o){for(var n=0;n<t.length;n++){var s=t[n],r=i.sortData[s],a=o.sortData[s];if(r>a||r<a){var u=void 0!==e[s]?e[s]:e,h=u?1:-1;return(r>a?1:-1)*h}}return 0}}var u=t.jQuery,h=String.prototype.trim?function(t){return t.trim()}:function(t){return t.replace(/^\s+|\s+$/g,"")},d=e.create("isotope",{layoutMode:"masonry",isJQueryFiltering:!0,sortAscending:!0});d.Item=s,d.LayoutMode=r;var l=d.prototype;l._create=function(){this.itemGUID=0,this._sorters={},this._getSorters(),e.prototype._create.call(this),this.modes={},this.filteredItems=this.items,this.sortHistory=["original-order"];for(var t in r.modes)this._initLayoutMode(t)},l.reloadItems=function(){this.itemGUID=0,e.prototype.reloadItems.call(this)},l._itemize=function(){for(var t=e.prototype._itemize.apply(this,arguments),i=0;i<t.length;i++){var o=t[i];o.id=this.itemGUID++}return this._updateItemsSortData(t),t},l._initLayoutMode=function(t){var e=r.modes[t],i=this.options[t]||{};this.options[t]=e.options?n.extend(e.options,i):i,this.modes[t]=new e(this)},l.layout=function(){return!this._isLayoutInited&&this._getOption("initLayout")?void this.arrange():void this._layout()},l._layout=function(){var t=this._getIsInstant();this._resetLayout(),this._manageStamps(),this.layoutItems(this.filteredItems,t),this._isLayoutInited=!0},l.arrange=function(t){this.option(t),this._getIsInstant();var e=this._filter(this.items);this.filteredItems=e.matches,this._bindArrangeComplete(),this._isInstant?this._noTransition(this._hideReveal,[e]):this._hideReveal(e),this._sort(),this._layout()},l._init=l.arrange,l._hideReveal=function(t){this.reveal(t.needReveal),this.hide(t.needHide)},l._getIsInstant=function(){var t=this._getOption("layoutInstant"),e=void 0!==t?t:!this._isLayoutInited;return this._isInstant=e,e},l._bindArrangeComplete=function(){function t(){e&&i&&o&&n.dispatchEvent("arrangeComplete",null,[n.filteredItems])}var e,i,o,n=this;this.once("layoutComplete",function(){e=!0,t()}),this.once("hideComplete",function(){i=!0,t()}),this.once("revealComplete",function(){o=!0,t()})},l._filter=function(t){var e=this.options.filter;e=e||"*";for(var i=[],o=[],n=[],s=this._getFilterTest(e),r=0;r<t.length;r++){var a=t[r];if(!a.isIgnored){var u=s(a);u&&i.push(a),u&&a.isHidden?o.push(a):u||a.isHidden||n.push(a)}}return{matches:i,needReveal:o,needHide:n}},l._getFilterTest=function(t){
return u&&this.options.isJQueryFiltering?function(e){return u(e.element).is(t)}:"function"==typeof t?function(e){return t(e.element)}:function(e){return o(e.element,t)}},l.updateSortData=function(t){var e;t?(t=n.makeArray(t),e=this.getItems(t)):e=this.items,this._getSorters(),this._updateItemsSortData(e)},l._getSorters=function(){var t=this.options.getSortData;for(var e in t){var i=t[e];this._sorters[e]=f(i)}},l._updateItemsSortData=function(t){for(var e=t&&t.length,i=0;e&&i<e;i++){var o=t[i];o.updateSortData()}};var f=function(){function t(t){if("string"!=typeof t)return t;var i=h(t).split(" "),o=i[0],n=o.match(/^\[(.+)\]$/),s=n&&n[1],r=e(s,o),a=d.sortDataParsers[i[1]];return t=a?function(t){return t&&a(r(t))}:function(t){return t&&r(t)}}function e(t,e){return t?function(e){return e.getAttribute(t)}:function(t){var i=t.querySelector(e);return i&&i.textContent}}return t}();d.sortDataParsers={parseInt:function(t){return parseInt(t,10)},parseFloat:function(t){return parseFloat(t)}},l._sort=function(){if(this.options.sortBy){var t=n.makeArray(this.options.sortBy);this._getIsSameSortBy(t)||(this.sortHistory=t.concat(this.sortHistory));var e=a(this.sortHistory,this.options.sortAscending);this.filteredItems.sort(e)}},l._getIsSameSortBy=function(t){for(var e=0;e<t.length;e++)if(t[e]!=this.sortHistory[e])return!1;return!0},l._mode=function(){var t=this.options.layoutMode,e=this.modes[t];if(!e)throw new Error("No layout mode: "+t);return e.options=this.options[t],e},l._resetLayout=function(){e.prototype._resetLayout.call(this),this._mode()._resetLayout()},l._getItemLayoutPosition=function(t){return this._mode()._getItemLayoutPosition(t)},l._manageStamp=function(t){this._mode()._manageStamp(t)},l._getContainerSize=function(){return this._mode()._getContainerSize()},l.needsResizeLayout=function(){return this._mode().needsResizeLayout()},l.appended=function(t){var e=this.addItems(t);if(e.length){var i=this._filterRevealAdded(e);this.filteredItems=this.filteredItems.concat(i)}},l.prepended=function(t){var e=this._itemize(t);if(e.length){this._resetLayout(),this._manageStamps();var i=this._filterRevealAdded(e);this.layoutItems(this.filteredItems),this.filteredItems=i.concat(this.filteredItems),this.items=e.concat(this.items)}},l._filterRevealAdded=function(t){var e=this._filter(t);return this.hide(e.needHide),this.reveal(e.matches),this.layoutItems(e.matches,!0),e.matches},l.insert=function(t){var e=this.addItems(t);if(e.length){var i,o,n=e.length;for(i=0;i<n;i++)o=e[i],this.element.appendChild(o.element);var s=this._filter(e).matches;for(i=0;i<n;i++)e[i].isLayoutInstant=!0;for(this.arrange(),i=0;i<n;i++)delete e[i].isLayoutInstant;this.reveal(s)}};var c=l.remove;return l.remove=function(t){t=n.makeArray(t);var e=this.getItems(t);c.call(this,t);for(var i=e&&e.length,o=0;i&&o<i;o++){var s=e[o];n.removeFrom(this.filteredItems,s)}},l.shuffle=function(){for(var t=0;t<this.items.length;t++){var e=this.items[t];e.sortData.random=Math.random()}this.options.sortBy="random",this._sort(),this._layout()},l._noTransition=function(t,e){var i=this.options.transitionDuration;this.options.transitionDuration=0;var o=t.apply(this,e);return this.options.transitionDuration=i,o},l.getFilteredItemElements=function(){return this.filteredItems.map(function(t){return t.element})},d});
;!function(e,t){var n=function(e,t){"use strict";if(!t.getElementsByClassName)return;var n,a=t.documentElement,i=e.Date,o=e.HTMLPictureElement,r="addEventListener",s="getAttribute",l=e[r],d=e.setTimeout,c=e.requestAnimationFrame||d,u=e.requestIdleCallback,f=/^picture$/i,m=["load","error","lazyincluded","_lazyloaded"],v={},g=Array.prototype.forEach,h=function(e,t){return v[t]||(v[t]=new RegExp("(\\s|^)"+t+"(\\s|$)")),v[t].test(e[s]("class")||"")&&v[t]},z=function(e,t){h(e,t)||e.setAttribute("class",(e[s]("class")||"").trim()+" "+t)},y=function(e,t){var n;(n=h(e,t))&&e.setAttribute("class",(e[s]("class")||"").replace(n," "))},p=function(e,t,n){var a=n?r:"removeEventListener";n&&p(e,t),m.forEach((function(n){e[a](n,t)}))},C=function(e,n,a,i,o){var r=t.createEvent("CustomEvent");return r.initCustomEvent(n,!i,!o,a||{}),e.dispatchEvent(r),r},b=function(t,a){var i;!o&&(i=e.picturefill||n.pf)?i({reevaluate:!0,elements:[t]}):a&&a.src&&(t.src=a.src)},A=function(e,t){return(getComputedStyle(e,null)||{})[t]},E=function(e,t,a){for(a=a||e.offsetWidth;a<n.minSize&&t&&!e._lazysizesWidth;)a=t.offsetWidth,t=t.parentNode;return a},N=(P=[],T=[],$=function(){var e=P;for(P=T,k=!0,O=!1;e.length;)e.shift()();k=!1},D=function(e,n){k&&!n?e.apply(this,arguments):(P.push(e),O||(O=!0,(t.hidden?d:c)($)))},D._lsFlush=$,D),w=function(e,t){return t?function(){N(e)}:function(){var t=this,n=arguments;N((function(){e.apply(t,n)}))}},M=function(e){var t,n=0,a=125,o=66,r=o,s=function(){t=!1,n=i.now(),e()},l=u?function(){u(s,{timeout:r}),r!==o&&(r=o)}:w((function(){d(s)}),!0);return function(e){var o;(e=!0===e)&&(r=44),t||(t=!0,(o=a-(i.now()-n))<0&&(o=0),e||o<9&&u?l():d(l,o))}},_=function(e){var t,n,a=99,o=function(){t=null,e()},r=function(){var e=i.now()-n;e<a?d(r,a-e):(u||o)(o)};return function(){n=i.now(),t||(t=d(r,a))}},W=function(){var o,c,u,m,v,E,W,L,B,F,R,S,k,O,P,T,$=/^img$/i,D=/^iframe$/i,H="onscroll"in e&&!/glebot/.test(navigator.userAgent),I=0,q=0,j=0,G=-1,J=function(e){j--,e&&e.target&&p(e.target,J),(!e||j<0||!e.target)&&(j=0)},K=function(e,n){var i,o=e,r="hidden"==A(t.body,"visibility")||"hidden"!=A(e,"visibility");for(F-=n,k+=n,R-=n,S+=n;r&&(o=o.offsetParent)&&o!=t.body&&o!=a;)(r=(A(o,"opacity")||1)>0)&&"visible"!=A(o,"overflow")&&(i=o.getBoundingClientRect(),r=S>i.left&&R<i.right&&k>i.top-1&&F<i.bottom+1);return r},Q=function(){var e,i,r,l,d,f,m,g,h;if((v=n.loadMode)&&j<8&&(e=o.length)){i=0,G++,null==P&&("expand"in n||(n.expand=a.clientHeight>500&&a.clientWidth>500?500:370),O=n.expand,P=O*n.expFactor),q<P&&j<1&&G>2&&v>2&&!t.hidden?(q=P,G=0):q=v>1&&G>1&&j<6?O:I;for(;i<e;i++)if(o[i]&&!o[i]._lazyRace)if(H)if((g=o[i][s]("data-expand"))&&(f=1*g)||(f=q),h!==f&&(L=innerWidth+f*T,B=innerHeight+f,m=-1*f,h=f),r=o[i].getBoundingClientRect(),(k=r.bottom)>=m&&(F=r.top)<=B&&(S=r.right)>=m*T&&(R=r.left)<=L&&(k||S||R||F)&&(u&&j<3&&!g&&(v<3||G<4)||K(o[i],f))){if(ae(o[i]),d=!0,j>9)break}else!d&&u&&!l&&j<4&&G<4&&v>2&&(c[0]||n.preloadAfterLoad)&&(c[0]||!g&&(k||S||R||F||"auto"!=o[i][s](n.sizesAttr)))&&(l=c[0]||o[i]);else ae(o[i]);l&&!d&&ae(l)}Y()},U=M(Q),V=function(e){z(e,n.loadedClass),y(e,n.loadingClass),y(e,n.afterLoadedClass)},X=function(e){z(e.target,n.afterLoadedClass),Y()},Y=function(){if(W.length>0)for(var e,t,a=n.animateExpand,i=0,o=0;o<W.length;o++){var r=W[o],l=r[s]("data-animate");l&&(a=l),e=W[o].getBoundingClientRect(),t!==a&&(L=innerWidth+a*T,B=innerHeight+a,i=-1*a,t=a),(k=e.bottom)>=i&&(F=e.top)<=B&&(S=e.right)>=i*T&&(R=e.left)<=L&&(k||S||R||F)&&h(r,n.afterLoadedClass)&&V(r)}},Z=function(e,t){try{e.contentWindow.location.replace(t)}catch(n){e.src=t}},ee=function(e){var t,a,i=e[s](n.srcsetAttr);(t=n.customMedia[e[s]("data-media")||e[s]("media")])&&e.setAttribute("media",t),i&&e.setAttribute("srcset",i),t&&((a=e.parentNode).insertBefore(e.cloneNode(),e),a.removeChild(e))},te=w((function(e,t,a,i,o){var r,l,c,u,v,h;(v=C(e,"lazybeforeunveil",t)).defaultPrevented||(i&&(a?z(e,n.autosizesClass):e.setAttribute("sizes",i)),l=e[s](n.srcsetAttr),r=e[s](n.srcAttr),o&&(u=(c=e.parentNode)&&f.test(c.nodeName||"")),h=t.firesLoad||"src"in e&&(l||r||u),v={target:e},h&&(p(e,J,!0),clearTimeout(m),m=d(J,2500),z(e,n.loadingClass),p(e,X,!0)),u&&g.call(c.getElementsByTagName("source"),ee),l?e.setAttribute("srcset",l):r&&!u&&(D.test(e.nodeName)?Z(e,r):e.src=r),(l||u)&&b(e,{src:r})),e._lazyRace&&delete e._lazyRace,y(e,n.lazyClass),N((function(){h&&!ne(e)||(h?J(v):j--)}),!0)}));function ne(e){return!!e.complete&&(void 0===e.naturalWidth||0!==e.naturalWidth)}var ae=function(e){var t,a=$.test(e.nodeName),i=a&&(e[s](n.sizesAttr)||e[s]("sizes")),o="auto"==i;(!o&&u||!a||!e.src&&!e.srcset||e.complete||h(e,n.errorClass))&&(t=C(e,"lazyunveilread").detail,o&&x.updateElem(e,!0,e.offsetWidth),e._lazyRace=!0,j++,te(e,t,o,i,a))},ie=function(){if(!u)if(i.now()-E<999)d(ie,999);else{var e=_((function(){n.loadMode=3,U()}));u=!0,n.loadMode=3,U(),l("scroll",(function(){3==n.loadMode&&(n.loadMode=2),e()}),!0)}};return{_:function(){E=i.now(),o=t.getElementsByClassName(n.lazyClass),W=t.getElementsByClassName(n.afterLoadedClass),c=t.getElementsByClassName(n.lazyClass+" "+n.preloadClass),T=n.hFac,l("scroll",U,!0),l("resize",U,!0),e.MutationObserver?new MutationObserver(U).observe(a,{childList:!0,subtree:!0,attributes:!0}):(a[r]("DOMNodeInserted",U,!0),a[r]("DOMAttrModified",U,!0),setInterval(U,999)),l("hashchange",U,!0),["focus","mouseover","click","load","transitionend","animationend","webkitAnimationEnd"].forEach((function(e){t[r](e,U,!0)})),/d$|^c/.test(t.readyState)?ie():(l("load",ie),t[r]("DOMContentLoaded",U),d(ie,2e4)),o.length?(Q(),N._lsFlush()):U()},checkElems:U,unveil:ae}}(),x=(F=w((function(e,t,n,a){var i,o,r;if(e._lazysizesWidth=a,a+="px",e.setAttribute("sizes",a),f.test(t.nodeName||""))for(o=0,r=(i=t.getElementsByTagName("source")).length;o<r;o++)i[o].setAttribute("sizes",a);n.detail.dataAttr||b(e,n.detail)})),R=function(e,t,n){var a,i=e.parentNode;i&&(n=E(e,i,n),(a=C(e,"lazybeforesizes",{width:n,dataAttr:!!t})).defaultPrevented||(n=a.detail.width)&&n!==e._lazysizesWidth&&F(e,i,a,n))},S=_((function(){var e,t=B.length;if(t)for(e=0;e<t;e++)R(B[e])})),{_:function(){B=t.getElementsByClassName(n.autosizesClass),l("resize",S)},checkElems:S,updateElem:R}),L=function(){L.i||(L.i=!0,x._(),W._())};var B,F,R,S;var k,O,P,T,$,D;return function(){var t,a={lazyClass:"lazyload",loadedClass:"lazyloaded",loadingClass:"lazyloading",afterLoadedClass:"afterloading",preloadClass:"lazypreload",errorClass:"lazyerror",autosizesClass:"lazyautosizes",srcAttr:"data-src",srcsetAttr:"data-srcset",sizesAttr:"data-sizes",minSize:40,customMedia:{},init:!0,expFactor:1.5,hFac:.8,loadMode:2,animateExpand:0};for(t in n=e.lazySizesConfig||e.lazysizesConfig||{},a)t in n||(n[t]=a[t]);e.lazySizesConfig=n,d((function(){n.init&&L()}))}(),{cfg:n,autoSizer:x,loader:W,init:L,uP:b,aC:z,rC:y,hC:h,fire:C,gW:E,rAF:N}}(e,e.document);e.lazySizes=n,"object"==typeof module&&module.exports&&(module.exports=n)}(window)
;!function(e,t){"use strict";var a=function(){t(e.lazySizes),e.removeEventListener("lazyunveilread",a,!0)};t=t.bind(null,e,e.document),"object"==typeof module&&module.exports?t(require("lazysizes")):e.lazySizes?a():e.addEventListener("lazyunveilread",a,!0)}(window,(function(e,t,a){"use strict";if(e.addEventListener){var i=/\s+/g,r=/\s*\|\s+|\s+\|\s*/g,s=/^(.+?)(?:\s+\[\s*(.+?)\s*\])?$/,n=/\(|\)|'/,l={contain:1,cover:1},d=function(e){if(e.target._lazybgset){var t=e.target,i=t._lazybgset,r=t.currentSrc||t.src;r&&(i.style.backgroundImage="url("+(n.test(r)?JSON.stringify(r):r)+")"),t._lazybgsetLoading&&(a.fire(i,"_lazyloaded",{},!1,!0),delete t._lazybgsetLoading)}};addEventListener("lazybeforeunveil",(function(e){var n,l,o;!e.defaultPrevented&&(n=e.target.getAttribute("data-bgset"))&&(o=e.target,(l=t.createElement("img")).alt="",l._lazybgsetLoading=!0,e.detail.firesLoad=!0,function(e,a,n){var l=t.createElement("picture"),d=a.getAttribute(lazySizesConfig.sizesAttr),o=a.getAttribute("data-ratio"),z=a.getAttribute("data-optimumx");a._lazybgset&&a._lazybgset.parentNode==a&&a.removeChild(a._lazybgset),Object.defineProperty(n,"_lazybgset",{value:a,writable:!0}),Object.defineProperty(a,"_lazybgset",{value:l,writable:!0}),e=e.replace(i," ").split(r),l.style.display="none",n.className=lazySizesConfig.lazyClass,1!=e.length||d||(d="auto"),e.forEach((function(e){var a=t.createElement("source");d&&"auto"!=d&&a.setAttribute("sizes",d),e.match(s)&&(a.setAttribute(lazySizesConfig.srcsetAttr,RegExp.$1),RegExp.$2&&a.setAttribute("media",lazySizesConfig.customMedia[RegExp.$2]||RegExp.$2)),l.appendChild(a)})),d&&(n.setAttribute(lazySizesConfig.sizesAttr,d),a.removeAttribute(lazySizesConfig.sizesAttr),a.removeAttribute("sizes")),z&&n.setAttribute("data-optimumx",z),o&&n.setAttribute("data-ratio",o),l.appendChild(n),a.appendChild(l)}(n,o,l),setTimeout((function(){a.loader.unveil(l),a.rAF((function(){a.fire(l,"_lazyloaded",{},!0,!0),l.complete&&d({target:l})}))})))})),t.addEventListener("load",d,!0),e.addEventListener("lazybeforesizes",(function(e){if(e.detail.instance==a&&e.target._lazybgset&&e.detail.dataAttr){var t=function(e){var t;return t=(getComputedStyle(e)||{getPropertyValue:function(){}}).getPropertyValue("background-size"),!l[t]&&l[e.style.backgroundSize]&&(t=e.style.backgroundSize),t}(e.target._lazybgset);l[t]&&(e.target._lazysizesParentFit=t,a.rAF((function(){e.target.setAttribute("data-parent-fit",t),e.target._lazysizesParentFit&&delete e.target._lazysizesParentFit})))}}),!0),t.documentElement.addEventListener("lazybeforesizes",(function(e){var t,i;!e.defaultPrevented&&e.target._lazybgset&&e.detail.instance==a&&(e.detail.width=(t=e.target._lazybgset,i=a.gW(t,t.parentNode),(!t._lazysizesWidth||i>t._lazysizesWidth)&&(t._lazysizesWidth=i),t._lazysizesWidth))}))}}))
;!function(e,n){"use strict";var t,o,i,s,a,r,l,p,h,f,c,u,d,v,m,y,w,T=!!("object"==typeof jnews&&"object"==typeof jnews.library)&&jnews.library,C=(o="sf-breadcrumb",i="sf-js-enabled",s="sf-with-ul",a="sf-arrows",r=function(){var n=/^(?![\w\W]*Windows Phone)[\w\W]*(iPhone|iPad|iPod)/i.test(navigator.userAgent);return n&&e("html").css("cursor","pointer").on("click",e.noop),n}(),l="behavior"in(t=document.documentElement.style)&&"fill"in t&&/iemobile/i.test(navigator.userAgent),p=!!n.PointerEvent,h=function(e,n,t){var o=i;n.cssArrows&&(o+=" "+a),e[t?"addClass":"removeClass"](o)},f=function(e,n){var t=n?"addClass":"removeClass";e.children("a")[t](s)},c=function(e){var n=e[0].style.msTouchAction,t=e[0].style.touchAction;t="pan-y"===(t=t||n)?"auto":"pan-y",e[0].style.msTouchAction=t,e[0].style.touchAction=t},u=function(e){return e.closest("."+i)},d=function(e){return u(e).data("sfOptions")},v=function(){var n=e(this),t=d(n);clearTimeout(t.sfTimer),n.siblings().superfish("hide").end().superfish("show")},m=function(n){n.retainPath=e.inArray(this[0],n.$path)>-1,this.superfish("hide"),this.parents("."+n.hoverClass).length||(n.onIdle.call(u(this)),n.$path.length&&e.proxy(v,n.$path)())},y=function(){var n=e(this),t=d(n);r?e.proxy(m,n,t)():(clearTimeout(t.sfTimer),t.sfTimer=setTimeout(e.proxy(m,n,t),t.delay))},w=function(n){var t=e(this),o=d(t),i=t.siblings(n.data.popUpSelector);if(!1===o.onHandleTouch.call(i))return this;i.length>0&&i.is(":hidden")&&(t.one("click.superfish",!1),"MSPointerDown"===n.type||"pointerdown"===n.type?t.trigger("focus"):e.proxy(v,t.parent("li"))())},{hide:function(n){if(this.length){var t=d(this);if(!t)return this;var o=!0===t.retainPath?t.$path:"",i=this.find("li."+t.hoverClass).add(this).not(o).removeClass(t.hoverClass).children(t.popUpSelector),s=t.speedOut;if(n){var a=!("object"!=typeof jnews||"object"!=typeof jnews.library)&&jnews.library;a&&a.forEach(i,(function(e,n){e.style.display=0})),s=0}if(t.retainPath=!1,!1===t.onBeforeHide.call(i))return this;"slide"===t.animationType?i.stop(!0,!0).fadeOut(t.animationOut,(function(){var n=e(this);t.onHide.call(n)})):"fade"===t.animationType?i.stop(!0,!0).fadeOut(t.animationOut,(function(){var n=e(this);t.onHide.call(n)})):"animateTransform"===t.animationType?i.stop(!0,!0).hide(0,(function(){var n=e(this);t.onHide.call(n)})):"none"===t.animationType?i.stop(!0,!0).hide(0,(function(){var n=e(this);t.onShow.call(n)})):i.stop(!0,!0).animate(t.animationOut,s,(function(){var n=e(this);t.onHide.call(n)}))}return this},show:function(){var n=d(this);if(!n)return this;var t=this.addClass(n.hoverClass).children(n.popUpSelector);return!1===n.onBeforeShow.call(t)||("slide"===n.animationType?t.stop(!0,!0).slideDown(n.speed,(function(){var t=e(this);n.onShow.call(t)})):"fade"===n.animationType?t.stop(!0,!0).fadeIn(n.speed,(function(){var t=e(this);n.onShow.call(t)})):"animateTransform"===n.animationType?t.stop(!0,!0).css({display:"block",transform:"translate(0, -10px)",opacity:0}).transition({opacity:1,y:0},n.speed,"ease",(function(){var t=e(this);n.onShow.call(t)})):"none"===n.animationType?t.stop(!0,!0).show(0,(function(){var t=e(this);n.onShow.call(t)})):t.stop(!0,!0).animate(n.animation,n.speed,(function(){n.onShow.call(t)}))),this},destroy:function(){return this.each((function(){var n,t=e(this),i=t.data("sfOptions");if(!i)return!1;n=t.find(i.popUpSelector).parent("li"),clearTimeout(i.sfTimer),h(t,i),f(n),c(t),t.off(".superfish").off(".hoverIntent"),n.children(i.popUpSelector).attr("style",(function(e,n){return n.replace(/display[^;]+;?/g,"")})),i.$path.removeClass(i.hoverClass+" "+o).addClass(i.pathClass),t.find("."+i.hoverClass).removeClass(i.hoverClass),i.onDestroy.call(t),t.removeData("sfOptions")}))},init:function(n){return this.each((function(){var t=this;T&&T.requestAnimationFrame.call(T.win,(function(){var i=e(t);if(i.data("sfOptions"))return!1;var s=e.extend({},e.fn.superfish.defaults,n),a=i.find(s.popUpSelector).parent("li");s.$path=function(n,t){return n.find("li."+t.pathClass).slice(0,t.pathLevels).addClass(t.hoverClass+" "+o).filter((function(){return e(this).children(t.popUpSelector).hide().show().length})).removeClass(t.pathClass)}(i,s),i.data("sfOptions",s),h(i,s,!0),f(a,!0),c(i),function(n,t){var o="li:has("+t.popUpSelector+")";e.fn.hoverIntent&&!t.disableHI?n.hoverIntent(v,y,o):n.on("mouseenter.superfish",o,v).on("mouseleave.superfish",o,y);var i="MSPointerDown.superfish";p&&(i="pointerdown.superfish"),r||(i+=" touchend.superfish"),l&&(i+=" mousedown.superfish"),n.on("focusin.superfish","li",v).on("focusout.superfish","li",y).on(i,"a",t,w)}(i,s),a.not("."+o).superfish("hide",!0),s.onInit.call(t)}))}))}});e.fn.superfish=function(n,t){return C[n]?C[n].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof n&&n?e.error("Method "+n+" does not exist on jQuery.fn.superfish"):C.init.apply(this,arguments)},e.fn.superfish.defaults={popUpSelector:"ul,.sf-mega",hoverClass:"sfHover",pathClass:"overrideThisToUse",pathLevels:1,delay:800,animationType:"animate",animation:{opacity:"show"},animationOut:{opacity:"hide"},speed:"normal",speedOut:"fast",cssArrows:!0,disableHI:!1,onInit:e.noop,onBeforeShow:e.noop,onShow:e.noop,onBeforeHide:e.noop,onHide:e.noop,onIdle:e.noop,onDestroy:e.noop,onHandleTouch:e.noop}}(jQuery,window)
;/*!
 * Theia Sticky Sidebar v1.3.0
 * https://github.com/WeCodePixels/theia-sticky-sidebar
 *
 * Glues your website's sidebars, making them permanently visible while scrolling.
 *
 * Copyright 2013-2014 WeCodePixels and other contributors
 * Released under the MIT license
 */
!function(i){"use strict";i.fn.theiaStickySidebar=function(t){(t=i.extend({containerSelector:"",additionalMarginTop:0,additionalMarginBottom:0,updateSidebarHeight:!0,minWidth:0,sidebarBehavior:"modern",wrap:"",exclude:".elementor-element-overlay, .ui-resizable-handle",active:!0},t)).additionalMarginTop=parseInt(t.additionalMarginTop)||0,t.additionalMarginBottom=parseInt(t.additionalMarginBottom)||0;var o=t.additionalMarginTop;function e(t,e){return!0===t.initialized||!(i("body").width()<t.minWidth)&&(function(t,e){t.initialized=!0,i("head").append(i('<style>.theiaStickySidebar:after {content: ""; display: table; clear: both;}</style>')),e.each((function(){var e={};e.sidebar=i(this),e.options=t||{},e.container=i(e.options.containerSelector),0==e.container.size()&&(e.container=e.sidebar.parent()),e.sidebar.parents().css("-webkit-transform","none"),e.sidebar.css({position:"relative",overflow:"visible","-webkit-box-sizing":"border-box","-moz-box-sizing":"border-box","box-sizing":"border-box"}),e.stickySidebar=e.sidebar.find(".theiaStickySidebar"),0==e.stickySidebar.length&&(e.sidebar.find("script").remove(),e.stickySidebar=i("<div>").addClass("theiaStickySidebar"),i(e.sidebar.children(t.wrap)).each((function(o,a){i(a).is(t.exclude)||e.stickySidebar.append(a)})),e.sidebar.append(i("<div>").addClass("jegStickyHolder").append(e.stickySidebar))),e.marginTop=parseInt(e.sidebar.css("margin-top")),e.marginBottom=parseInt(e.sidebar.css("margin-bottom")),e.paddingTop=parseInt(e.sidebar.css("padding-top")),e.paddingBottom=parseInt(e.sidebar.css("padding-bottom"));var a=e.stickySidebar.offset().top,n=e.stickySidebar.outerHeight();function d(){e.fixedScrollTop=0,e.sidebar.css({"min-height":"1px"}),e.stickySidebar.css({position:"static",width:""})}function r(t){var o=t.height();return t.children().each((function(){o=Math.max(o,i(this).height())})),o}e.stickySidebar.css("padding-top",1),e.stickySidebar.css("padding-bottom",1),a-=e.stickySidebar.offset().top,n=e.stickySidebar.outerHeight()-n-a,0==a?(e.stickySidebar.css("padding-top",0),e.stickySidebarPaddingTop=0):e.stickySidebarPaddingTop=1,0==n?(e.stickySidebar.css("padding-bottom",0),e.stickySidebarPaddingBottom=0):e.stickySidebarPaddingBottom=1,e.previousScrollTop=null,e.fixedScrollTop=0,d(),e.onScroll=function(o){if(t.active){if(!o.stickySidebar.is(":visible"))return;if(i("body").width()<o.options.minWidth)return void d();if(o.sidebar.outerWidth(!0)+50>o.container.width())return void d();var e=i(document).scrollTop(),a="static";if(e>=o.container.offset().top+(o.paddingTop+o.marginTop-o.options.additionalMarginTop)){var n,s=o.paddingTop+o.marginTop+t.additionalMarginTop,c=o.paddingBottom+o.marginBottom+t.additionalMarginBottom,p=o.container.offset().top,b=o.container.offset().top+r(o.container),l=0+t.additionalMarginTop;n=o.stickySidebar.outerHeight()+s+c<i(window).height()?l+o.stickySidebar.outerHeight():i(window).height()-o.marginBottom-o.paddingBottom-t.additionalMarginBottom;var g=p-e+o.paddingTop+o.marginTop,h=b-e-o.paddingBottom-o.marginBottom,f=o.stickySidebar.offset().top-e,S=o.previousScrollTop-e;"fixed"==o.stickySidebar.css("position")&&"modern"==o.options.sidebarBehavior&&(f+=S),"legacy"==o.options.sidebarBehavior&&(f=n-o.stickySidebar.outerHeight(),f=Math.max(f,n-o.stickySidebar.outerHeight())),f=S>0?Math.min(f,l):Math.max(f,n-o.stickySidebar.outerHeight()),f=Math.max(f,g),f=Math.min(f,h-o.stickySidebar.outerHeight());var u=o.container.height()==o.stickySidebar.outerHeight();a=(u||f!=l)&&(u||f!=n-o.stickySidebar.outerHeight())?e+f-o.sidebar.offset().top-o.paddingTop<=t.additionalMarginTop?"static":"absolute":"fixed"}}else a="static";if("fixed"==a)o.stickySidebar.css({position:"fixed",width:o.sidebar.width(),top:f,left:o.sidebar.offset().left+parseInt(o.sidebar.css("padding-left"))});else if("absolute"==a){var m={};"absolute"!=o.stickySidebar.css("position")&&(m.position="absolute",m.top=e+f-o.sidebar.offset().top-o.stickySidebarPaddingTop-o.stickySidebarPaddingBottom),m.width=o.sidebar.width(),m.left="",o.stickySidebar.css(m)}else"static"==a&&d();"static"!=a&&1==o.options.updateSidebarHeight&&o.sidebar.css({"min-height":o.stickySidebar.outerHeight()+o.stickySidebar.offset().top-o.sidebar.offset().top+o.paddingBottom}),o.previousScrollTop=e},e.onScroll(e),i(document).scroll(function(i){return function(){i.onScroll(i)}}(e)),i(window).resize(function(i){return function(){i.stickySidebar.css({position:"static"}),i.onScroll(i)}}(e)),i(window).bind("jnews_additional_sticky_margin",(function(i,a){t.additionalMarginTop=a+o,e.options.additionalMarginTop=a+o}))}))}(t,e),!0)}!function(t,o){e(t,o)||(console.log("TST: Body width smaller than options.minWidth. Init is delayed."),i(document).scroll(function(t,o){return function(a){e(t,o)&&i(this).unbind(a)}}(t,o)),i(window).resize(function(t,o){return function(a){e(t,o)&&i(this).unbind(a)}}(t,o)))}(t,this),i(this).bind("theiaStickySidebarDeactivate",(function(){t.active=!1})),i(this).bind("theiaStickySidebarActivate",(function(){t.active=!0}))}}(jQuery)
;/*!
 Waypoints - 4.0.1
 Copyright © 2011-2016 Caleb Troughton
 Licensed under the MIT license.
 https://github.com/imakewebthings/waypoints/blob/master/licenses.txt
 */
!function(){"use strict";var t=0,e={};function i(o){if(!o)throw new Error("No options passed to Waypoint constructor");if(!o.element)throw new Error("No element option passed to Waypoint constructor");if(!o.handler)throw new Error("No handler option passed to Waypoint constructor");this.key="waypoint-"+t,this.options=i.Adapter.extend({},i.defaults,o),this.element=this.options.element,this.adapter=new i.Adapter(this.element),this.callback=o.handler,this.axis=this.options.horizontal?"horizontal":"vertical",this.enabled=this.options.enabled,this.triggerPoint=null,this.group=i.Group.findOrCreate({name:this.options.group,axis:this.axis}),this.context=i.Context.findOrCreateByElement(this.options.context),i.offsetAliases[this.options.offset]&&(this.options.offset=i.offsetAliases[this.options.offset]),this.group.add(this),this.context.add(this),e[this.key]=this,t+=1}i.prototype.queueTrigger=function(t){this.group.queueTrigger(this,t)},i.prototype.trigger=function(t){this.enabled&&this.callback&&this.callback.apply(this,t)},i.prototype.destroy=function(){this.context.remove(this),this.group.remove(this),delete e[this.key]},i.prototype.disable=function(){return this.enabled=!1,this},i.prototype.enable=function(){return this.context.refresh(),this.enabled=!0,this},i.prototype.next=function(){return this.group.next(this)},i.prototype.previous=function(){return this.group.previous(this)},i.invokeAll=function(t){var i=[];for(var o in e)i.push(e[o]);for(var n=0,r=i.length;n<r;n++)i[n][t]()},i.destroyAll=function(){i.invokeAll("destroy")},i.disableAll=function(){i.invokeAll("disable")},i.enableAll=function(){for(var t in i.Context.refreshAll(),e)e[t].enabled=!0;return this},i.refreshAll=function(){i.Context.refreshAll()},i.viewportHeight=function(){return window.innerHeight||document.documentElement.clientHeight},i.viewportWidth=function(){return document.documentElement.clientWidth},i.adapters=[],i.defaults={context:window,continuous:!0,enabled:!0,group:"default",horizontal:!1,offset:0},i.offsetAliases={"bottom-in-view":function(){return this.context.innerHeight()-this.adapter.outerHeight()},"right-in-view":function(){return this.context.innerWidth()-this.adapter.outerWidth()}},window.Waypoint=i}(),function(){"use strict";function t(t){window.setTimeout(t,1e3/60)}var e=0,i={},o=window.Waypoint,n=window.onload;function r(t){this.element=t,this.Adapter=o.Adapter,this.adapter=new this.Adapter(t),this.key="waypoint-context-"+e,this.didScroll=!1,this.didResize=!1,this.oldScroll={x:this.adapter.scrollLeft(),y:this.adapter.scrollTop()},this.waypoints={vertical:{},horizontal:{}},t.waypointContextKey=this.key,i[t.waypointContextKey]=this,e+=1,o.windowContext||(o.windowContext=!0,o.windowContext=new r(window)),this.createThrottledScrollHandler(),this.createThrottledResizeHandler()}r.prototype.add=function(t){var e=t.options.horizontal?"horizontal":"vertical";this.waypoints[e][t.key]=t,this.refresh()},r.prototype.checkEmpty=function(){var t=this.Adapter.isEmptyObject(this.waypoints.horizontal),e=this.Adapter.isEmptyObject(this.waypoints.vertical),o=this.element==this.element.window;t&&e&&!o&&(this.adapter.off(".waypoints"),delete i[this.key])},r.prototype.createThrottledResizeHandler=function(){var t=this;function e(){t.handleResize(),t.didResize=!1}this.adapter.on("resize.waypoints",(function(){t.didResize||(t.didResize=!0,o.requestAnimationFrame(e))}))},r.prototype.createThrottledScrollHandler=function(){var t=this;function e(){t.handleScroll(),t.didScroll=!1}this.adapter.on("scroll.waypoints",(function(){t.didScroll&&!o.isTouch||(t.didScroll=!0,o.requestAnimationFrame(e))}))},r.prototype.handleResize=function(){o.Context.refreshAll()},r.prototype.handleScroll=function(){var t={},e={horizontal:{newScroll:this.adapter.scrollLeft(),oldScroll:this.oldScroll.x,forward:"right",backward:"left"},vertical:{newScroll:this.adapter.scrollTop(),oldScroll:this.oldScroll.y,forward:"down",backward:"up"}};for(var i in e){var o=e[i],n=o.newScroll>o.oldScroll?o.forward:o.backward;for(var r in this.waypoints[i]){var s=this.waypoints[i][r];if(null!==s.triggerPoint){var a=o.oldScroll<s.triggerPoint,l=o.newScroll>=s.triggerPoint;(a&&l||!a&&!l)&&(s.queueTrigger(n),t[s.group.id]=s.group)}}}for(var h in t)t[h].flushTriggers();this.oldScroll={x:e.horizontal.newScroll,y:e.vertical.newScroll}},r.prototype.innerHeight=function(){return this.element==this.element.window?o.viewportHeight():this.adapter.innerHeight()},r.prototype.remove=function(t){delete this.waypoints[t.axis][t.key],this.checkEmpty()},r.prototype.innerWidth=function(){return this.element==this.element.window?o.viewportWidth():this.adapter.innerWidth()},r.prototype.destroy=function(){var t=[];for(var e in this.waypoints)for(var i in this.waypoints[e])t.push(this.waypoints[e][i]);for(var o=0,n=t.length;o<n;o++)t[o].destroy()},r.prototype.refresh=function(){var t,e=this.element==this.element.window,i=e?void 0:this.adapter.offset(),n={};for(var r in this.handleScroll(),t={horizontal:{contextOffset:e?0:i.left,contextScroll:e?0:this.oldScroll.x,contextDimension:this.innerWidth(),oldScroll:this.oldScroll.x,forward:"right",backward:"left",offsetProp:"left"},vertical:{contextOffset:e?0:i.top,contextScroll:e?0:this.oldScroll.y,contextDimension:this.innerHeight(),oldScroll:this.oldScroll.y,forward:"down",backward:"up",offsetProp:"top"}}){var s=t[r];for(var a in this.waypoints[r]){var l,h,p,c,u=this.waypoints[r][a],d=u.options.offset,f=u.triggerPoint,w=0,y=null==f;u.element!==u.element.window&&(w=u.adapter.offset()[s.offsetProp]),"function"==typeof d?d=d.apply(u):"string"==typeof d&&(d=parseFloat(d),u.options.offset.indexOf("%")>-1&&(d=Math.ceil(s.contextDimension*d/100))),l=s.contextScroll-s.contextOffset,u.triggerPoint=Math.floor(w+l-d),h=f<s.oldScroll,p=u.triggerPoint>=s.oldScroll,c=!h&&!p,!y&&(h&&p)?(u.queueTrigger(s.backward),n[u.group.id]=u.group):(!y&&c||y&&s.oldScroll>=u.triggerPoint)&&(u.queueTrigger(s.forward),n[u.group.id]=u.group)}}return o.requestAnimationFrame((function(){for(var t in n)n[t].flushTriggers()})),this},r.findOrCreateByElement=function(t){return r.findByElement(t)||new r(t)},r.refreshAll=function(){for(var t in i)i[t].refresh()},r.findByElement=function(t){return i[t.waypointContextKey]},window.onload=function(){n&&n(),r.refreshAll()},o.requestAnimationFrame=function(e){(window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||t).call(window,e)},o.Context=r}(),function(){"use strict";function t(t,e){return t.triggerPoint-e.triggerPoint}function e(t,e){return e.triggerPoint-t.triggerPoint}var i={vertical:{},horizontal:{}},o=window.Waypoint;function n(t){this.name=t.name,this.axis=t.axis,this.id=this.name+"-"+this.axis,this.waypoints=[],this.clearTriggerQueues(),i[this.axis][this.name]=this}n.prototype.add=function(t){this.waypoints.push(t)},n.prototype.clearTriggerQueues=function(){this.triggerQueues={up:[],down:[],left:[],right:[]}},n.prototype.flushTriggers=function(){for(var i in this.triggerQueues){var o=this.triggerQueues[i],n="up"===i||"left"===i;o.sort(n?e:t);for(var r=0,s=o.length;r<s;r+=1){var a=o[r];(a.options.continuous||r===o.length-1)&&a.trigger([i])}}this.clearTriggerQueues()},n.prototype.next=function(e){this.waypoints.sort(t);var i=o.Adapter.inArray(e,this.waypoints);return i===this.waypoints.length-1?null:this.waypoints[i+1]},n.prototype.previous=function(e){this.waypoints.sort(t);var i=o.Adapter.inArray(e,this.waypoints);return i?this.waypoints[i-1]:null},n.prototype.queueTrigger=function(t,e){this.triggerQueues[e].push(t)},n.prototype.remove=function(t){var e=o.Adapter.inArray(t,this.waypoints);e>-1&&this.waypoints.splice(e,1)},n.prototype.first=function(){return this.waypoints[0]},n.prototype.last=function(){return this.waypoints[this.waypoints.length-1]},n.findOrCreate=function(t){return i[t.axis][t.name]||new n(t)},o.Group=n}(),function(){"use strict";var t=window.jQuery,e=window.Waypoint;function i(e){this.$element=t(e)}t.each(["innerHeight","innerWidth","off","offset","on","outerHeight","outerWidth","scrollLeft","scrollTop"],(function(t,e){i.prototype[e]=function(){var t=Array.prototype.slice.call(arguments);return this.$element[e].apply(this.$element,t)}})),t.each(["extend","inArray","isEmptyObject"],(function(e,o){i[o]=t[o]})),e.adapters.push({name:"jquery",Adapter:i}),e.Adapter=i}(),function(){"use strict";var t=window.Waypoint;function e(e){return function(){var i=[],o=arguments[0];return e.isFunction(arguments[0])&&((o=e.extend({},arguments[1])).handler=arguments[0]),this.each((function(){var n=e.extend({},o,{element:this});"string"==typeof n.context&&(n.context=e(this).closest(n.context)[0]),i.push(new t(n))})),i}}window.jQuery&&(window.jQuery.fn.waypoint=e(window.jQuery)),window.Zepto&&(window.Zepto.fn.waypoint=e(window.Zepto))}()
;/*!
 * jQuery.scrollTo
 * Copyright (c) 2007-2015 Ariel Flesler - aflesler ○ gmail • com | http://flesler.blogspot.com
 * Licensed under MIT
 * http://flesler.blogspot.com/2007/10/jqueryscrollto.html
 * @projectDescription Lightweight, cross-browser and highly customizable animated scrolling with jQuery
 * @author Ariel Flesler
 * @version 2.1.2
 */
!function(e){"use strict";"function"==typeof define&&define.amd?define(["jquery"],e):"undefined"!=typeof module&&module.exports?module.exports=e(require("jquery")):e(jQuery)}((function(e){"use strict";var t=e.scrollTo=function(t,o,n){return e(window).scrollTo(t,o,n)};function o(t){return!t.nodeName||-1!==e.inArray(t.nodeName.toLowerCase(),["iframe","#document","html","body"])}function n(t){return e.isFunction(t)||e.isPlainObject(t)?t:{top:t,left:t}}return t.defaults={axis:"xy",duration:0,limit:!0},e.fn.scrollTo=function(r,i,s){"object"==typeof i&&(s=i,i=0),"function"==typeof s&&(s={onAfter:s}),"max"===r&&(r=9e9),s=e.extend({},t.defaults,s),i=i||s.duration;var a=s.queue&&s.axis.length>1;return a&&(i/=2),s.offset=n(s.offset),s.over=n(s.over),this.each((function(){if(null!==r){var f,u=o(this),c=u?this.contentWindow||window:this,l=e(c),d=r,m={};switch(typeof d){case"number":case"string":if(/^([+-]=?)?\d+(\.\d+)?(px|%)?$/.test(d)){d=n(d);break}d=u?e(d):e(d,c);case"object":if(0===d.length)return;(d.is||d.style)&&(f=(d=e(d)).offset())}var p=e.isFunction(s.offset)&&s.offset(c,d)||s.offset;e.each(s.axis.split(""),(function(e,o){var n="x"===o?"Left":"Top",r=n.toLowerCase(),i="scroll"+n,x=l[i](),v=t.max(c,o);if(f)m[i]=f[r]+(u?0:x-l.offset()[r]),s.margin&&(m[i]-=parseInt(d.css("margin"+n),10)||0,m[i]-=parseInt(d.css("border"+n+"Width"),10)||0),m[i]+=p[r]||0,s.over[r]&&(m[i]+=d["x"===o?"width":"height"]()*s.over[r]);else{var w=d[r];m[i]=w.slice&&"%"===w.slice(-1)?parseFloat(w)/100*v:w}s.limit&&/^\d+$/.test(m[i])&&(m[i]=m[i]<=0?0:Math.min(m[i],v)),!e&&s.axis.length>1&&(x===m[i]?m={}:a&&(h(s.onAfterFirst),m={}))})),h(s.onAfter)}function h(t){var o=e.extend({},s,{queue:!0,duration:i,complete:t&&function(){t.call(c,d,s)}});l.animate(m,o)}}))},t.max=function(t,n){var r="x"===n?"Width":"Height",i="scroll"+r;if(!o(t))return t[i]-e(t)[r.toLowerCase()]();var s="client"+r,a=t.ownerDocument||t.document,f=a.documentElement,u=a.body;return Math.max(f[i],u[i])-Math.min(f[s],u[s])},e.Tween.propHooks.scrollLeft=e.Tween.propHooks.scrollTop={get:function(t){return e(t.elem)[t.prop]()},set:function(t){var o=this.get(t);if(t.options.interrupt&&t._last&&t._last!==o)return e(t.elem).stop();var n=Math.round(t.now);o!==n&&(e(t.elem)[t.prop](n),t._last=this.get(t))}},t}))
;!function(n){var t=n(window),o=t.height();t.resize((function(){o=t.height()})),n.fn.parallax=function(i,e,r){var u,h,l=n(this);function c(){var r=t.scrollTop();l.each((function(){var t=n(this),c=t.offset().top;c+u(t)<r||c>r+o||l.css("backgroundPosition",i+" "+Math.round((h-r)*e)+"px")}))}l.each((function(){h=l.offset().top})),u=r?function(n){return n.outerHeight(!0)}:function(n){return n.height()},(arguments.length<1||null===i)&&(i="50%"),(arguments.length<2||null===e)&&(e=.1),(arguments.length<3||null===r)&&(r=!0),t.bind("scroll",c).resize(c),c()}}(jQuery)
;/*!
 * jquery.okayNav.js 2.0.4 (https://github.com/VPenkov/okayNav)
 * Author: Vergil Penkov (http://vergilpenkov.com/)
 * MIT license: https://opensource.org/licenses/MIT
 */
!function(n){"function"==typeof define&&define.amd?define(["jquery"],n):"object"==typeof module&&module.exports?module.exports=function(i,e){return void 0===e&&(e="undefined"!=typeof window?require("jquery"):require("jquery")(i)),n(e),e}:n(jQuery)}((function(n){var i=!!("object"==typeof jnews&&"object"==typeof jnews.library)&&jnews.library,e={parent:"",toggle_icon_class:"okayNav__menu-toggle",toggle_icon_content:"<span /><span /><span />",align_right:!0,swipe_enabled:!0,threshold:50,resize_delay:10,beforeOpen:function(){},afterOpen:function(){},beforeClose:function(){},afterClose:function(){},itemHidden:function(){},itemDisplayed:function(){}};function t(t,o){var a=this;a.options=n.extend({},e,o),a.navigation=n(t),a.document=n(document),a.window=n(window),""==a.options.parent&&(this.options.parent=this.navigation.parent()),a.nav_open=!1,a.parent_full_width=0,a.radCoef=180/Math.PI,a.sTouch={x:0,y:0},a.cTouch={x:0,y:0},a.sTime=0,a.nav_position=0,a.percent_open=0,a.nav_moving=!1,i&&(a.jnewsLibrary=i,a.init())}t.prototype={init:function(){var i=this;n("body").addClass("okayNav-loaded"),i.navigation.addClass("okayNav loaded").children("ul").addClass("okayNav__nav--visible"),i.options.align_right?i.navigation.append('<ul class="okayNav__nav--invisible transition-enabled nav-right" />').append('<a href="#" class="'+i.options.toggle_icon_class+' okay-invisible">'+i.options.toggle_icon_content+"</a>"):i.navigation.prepend('<ul class="okayNav__nav--invisible transition-enabled nav-left" />').prepend('<a href="#" class="'+i.options.toggle_icon_class+' okay-invisible">'+i.options.toggle_icon_content+"</a>"),i.nav_visible=i.navigation.children(".okayNav__nav--visible"),i.nav_invisible=i.navigation.children(".okayNav__nav--invisible"),i.toggle_icon=i.navigation.children("."+i.options.toggle_icon_class),i.toggle_icon_width=i.toggle_icon.outerWidth(!0),i.default_width=i.getChildrenWidth(i.navigation),i.parent_full_width=n(i.options.parent).outerWidth(!0),i.last_visible_child_width=0,i.initEvents(),i.nav_visible.contents().filter((function(){return this.nodeType=Node.TEXT_NODE&&!1===/\S/.test(this.nodeValue)})).remove(),1==i.options.swipe_enabled&&i.initSwipeEvents()},initEvents:function(){var i=this;i.options.parent.on("click.okayNav",(function(e){var t=n(e.target);!0===i.nav_open&&0==t.closest(".okayNav").length&&i.closeInvisibleNav(),t.hasClass(i.options.toggle_icon_class)&&(e.preventDefault(),i.toggleInvisibleNav())})),n(document).on("mouseup.okayNav",(function(e){n(e.target);!n(e.target).parents(".okayNav").length>0&&i.closeInvisibleNav()}));var e=i._debounce((function(){i.recalcNav()}),i.options.recalc_delay);i.window.on("load.okayNav ready.okayNav resize.okayNav",e),n(document).on("ready.okayNav",e),e()},initSwipeEvents:function(){var i=this;i.document.on("touchstart.okayNav",(function(e){if(i.nav_invisible.removeClass("transition-enabled"),1==e.originalEvent.touches.length){var t=e.originalEvent.touches[0];(t.pageX<25&&0==i.options.align_right||t.pageX>n(i.options.parent).outerWidth(!0)-25&&1==i.options.align_right||!0===i.nav_open)&&(i.sTouch.x=i.cTouch.x=t.pageX,i.sTouch.y=i.cTouch.y=t.pageY,i.sTime=Date.now())}})).on("touchmove.okayNav",(function(n){var e=n.originalEvent.touches[0];i._triggerMove(e.pageX,e.pageY),i.nav_moving=!0})).on("touchend.okayNav",(function(n){i.sTouch={x:0,y:0},i.cTouch={x:0,y:0},i.sTime=0,i.percent_open>100-i.options.threshold?(i.nav_position=0,i.closeInvisibleNav()):1==i.nav_moving&&(i.nav_position=i.nav_invisible.width(),i.openInvisibleNav()),i.nav_moving=!1,i.nav_invisible.addClass("transition-enabled")}))},_getDirection:function(n){return this.options.align_right?n>0?-1:1:n<0?-1:1},_triggerMove:function(n,i){var e=this;e.cTouch.x=n,e.cTouch.y=i;var t=Date.now(),o=e.cTouch.x-e.sTouch.x,a=e.cTouch.y-e.sTouch.y,s=a*a,l=Math.sqrt(o*o+s),v=Math.sqrt(s),r=Math.asin(Math.sin(v/l))*e.radCoef;e.sTime;if(e.sTouch.x=n,e.sTouch.y=i,r<20){var c=e._getDirection(o),d=e.nav_position+c*l,p=e.nav_invisible.width(),u=0;d<0?u=-d:d>p&&(u=p-d);var _=(p-(e.nav_position+c*l+u))/p*100;e.nav_position+=c*l+u,e.percent_open=_}},getParent:function(){return this.options.parent},getVisibleNav:function(){return this.nav_visible},getInvisibleNav:function(){return this.nav_invisible},getNavToggleIcon:function(){return this.toggle_icon},_debounce:function(n,i,e){var t,o=this;return function(){var i=this,a=arguments,s=function(){t&&o.jnewsLibrary.cancelAnimationFrame.call(o.jnewsLibrary.win,t),e||n.apply(i,a)},l=e&&!t;t&&o.jnewsLibrary.cancelAnimationFrame.call(o.jnewsLibrary.win,t),t=o.jnewsLibrary.requestAnimationFrame.call(o.jnewsLibrary.win,s),l&&n.apply(i,a)}},openInvisibleNav:function(){var n=this;n.options.enable_swipe||n.options.beforeOpen.call(),n.toggle_icon.addClass("icon--active"),n.nav_invisible.addClass("nav-open"),n.nav_open=!0,n.options.afterOpen.call()},closeInvisibleNav:function(){var n=this;n.options.enable_swipe||n.options.beforeClose.call(),n.toggle_icon.removeClass("icon--active"),n.nav_invisible.removeClass("nav-open"),n.nav_open=!1,n.options.afterClose.call()},toggleInvisibleNav:function(){var n=this;n.nav_open?n.closeInvisibleNav():n.openInvisibleNav()},getChildrenWidth:function(i){for(var e=0,t=n(i).children(),o=0;o<t.length;o++)e+=n(t[o]).outerWidth(!0);return e},getVisibleItemCount:function(){return n("li",this.nav_visible).length},getHiddenItemCount:function(){return n("li",this.nav_invisible).length},recalcNav:function(){var i=this,e=n(i.options.parent).outerWidth(!0),t=i.getChildrenWidth(i.options.parent),o=i.navigation.outerWidth(!0),a=i.getVisibleItemCount(),s=i.nav_visible.outerWidth(!0)+i.toggle_icon_width,l=t+i.last_visible_child_width+i.toggle_icon_width;if(e>t-o+i.default_width)return i._expandAllItems(),void i.toggle_icon.addClass("okay-invisible");a>0&&o<=s&&e<=l&&i._collapseNavItem(),e>l+i.toggle_icon_width+15&&i._expandNavItem(),0==i.getHiddenItemCount()?i.toggle_icon.addClass("okay-invisible"):i.toggle_icon.removeClass("okay-invisible")},_collapseNavItem:function(){var i=this,e=n("li:last-child",i.nav_visible);i.last_visible_child_width=e.outerWidth(!0),i.document.trigger("okayNav:collapseItem",e),e.detach().prependTo(i.nav_invisible),i.options.itemHidden.call(),i.jnewsLibrary.requestAnimationFrame.call(i.jnewsLibrary.win,(function(){i.recalcNav()}))},_expandNavItem:function(){var i=this,e=n("li:first-child",i.nav_invisible);i.document.trigger("okayNav:expandItem",e),e.detach().appendTo(i.nav_visible),i.options.itemDisplayed.call()},_expandAllItems:function(){var i=this;n("li",i.nav_invisible).detach().appendTo(i.nav_visible),i.options.itemDisplayed.call()},_collapseAllItems:function(){var i=this;n("li",i.nav_visible).detach().appendTo(i.nav_invisible),i.options.itemHidden.call()},destroy:function(){var i=this;n("li",i.nav_invisible).appendTo(i.nav_visible),i.nav_invisible.remove(),i.nav_visible.removeClass("okayNav__nav--visible"),i.toggle_icon.remove(),i.document.unbind(".okayNav"),i.window.unbind(".okayNav")}},n.fn.okayNav=function(e){var o,a=arguments;return void 0===e||"object"==typeof e?this.each((function(){var o=this;i&&i.requestAnimationFrame.call(i.win,(function(){n.data(o,"plugin_okayNav")||n.data(o,"plugin_okayNav",new t(o,e))}))})):"string"==typeof e&&"_"!==e[0]&&"init"!==e?(this.each((function(){var s=this;i&&i.requestAnimationFrame.call(i.win,(function(){var i=n.data(s,"plugin_okayNav");i instanceof t&&"function"==typeof i[e]&&(o=i[e].apply(i,Array.prototype.slice.call(a,1))),"destroy"===e&&n.data(s,"plugin_okayNav",null)}))})),void 0!==o?o:this):void 0}}))
;/*!
 * jQuery Mousewheel 3.1.12
 *
 * Copyright 2014 jQuery Foundation and other contributors
 * Released under the MIT license.
 * http://jquery.org/license
 */
!function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?module.exports=e:e(jQuery)}((function(e){var t,i,n=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],o="onwheel"in document||document.documentMode>=9?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],l=Array.prototype.slice;if(e.event.fixHooks)for(var s=n.length;s;)e.event.fixHooks[n[--s]]=e.event.mouseHooks;var a=e.event.special.mousewheel={version:"3.1.12",setup:function(){if(this.addEventListener)for(var t=o.length;t;)this.addEventListener(o[--t],h,!1);else this.onmousewheel=h;e.data(this,"mousewheel-line-height",a.getLineHeight(this)),e.data(this,"mousewheel-page-height",a.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var t=o.length;t;)this.removeEventListener(o[--t],h,!1);else this.onmousewheel=null;e.removeData(this,"mousewheel-line-height"),e.removeData(this,"mousewheel-page-height")},getLineHeight:function(t){var i=e(t),n=i["offsetParent"in e.fn?"offsetParent":"parent"]();return n.length||(n=e("body")),parseInt(n.css("fontSize"),10)||parseInt(i.css("fontSize"),10)||16},getPageHeight:function(t){return e(t).height()},settings:{adjustOldDeltas:!0,normalizeOffset:!0}};function h(n){var o=n||window.event,s=l.call(arguments,1),h=0,f=0,d=0,c=0,m=0,g=0;if((n=e.event.fix(o)).type="mousewheel","detail"in o&&(d=-1*o.detail),"wheelDelta"in o&&(d=o.wheelDelta),"wheelDeltaY"in o&&(d=o.wheelDeltaY),"wheelDeltaX"in o&&(f=-1*o.wheelDeltaX),"axis"in o&&o.axis===o.HORIZONTAL_AXIS&&(f=-1*d,d=0),h=0===d?f:d,"deltaY"in o&&(h=d=-1*o.deltaY),"deltaX"in o&&(f=o.deltaX,0===d&&(h=-1*f)),0!==d||0!==f){if(1===o.deltaMode){var w=e.data(this,"mousewheel-line-height");h*=w,d*=w,f*=w}else if(2===o.deltaMode){var v=e.data(this,"mousewheel-page-height");h*=v,d*=v,f*=v}if(c=Math.max(Math.abs(d),Math.abs(f)),(!i||c<i)&&(i=c,u(o,c)&&(i/=40)),u(o,c)&&(h/=40,f/=40,d/=40),h=Math[h>=1?"floor":"ceil"](h/i),f=Math[f>=1?"floor":"ceil"](f/i),d=Math[d>=1?"floor":"ceil"](d/i),a.settings.normalizeOffset&&this.getBoundingClientRect){var p=this.getBoundingClientRect();m=n.clientX-p.left,g=n.clientY-p.top}return n.deltaX=f,n.deltaY=d,n.deltaFactor=i,n.offsetX=m,n.offsetY=g,n.deltaMode=0,s.unshift(n,h,f,d),t&&clearTimeout(t),t=setTimeout(r,200),(e.event.dispatch||e.event.handle).apply(this,s)}}function r(){i=null}function u(e,t){return a.settings.adjustOldDeltas&&"mousewheel"===e.type&&t%120==0}e.fn.extend({mousewheel:function(e){return e?this.bind("mousewheel",e):this.trigger("mousewheel")},unmousewheel:function(e){return this.unbind("mousewheel",e)}})}))
;/*! modernizr 3.5.0 (Custom Build) | MIT *
 * https://modernizr.com/download/?-applicationcache-audio-backgroundsize-borderimage-borderradius-boxshadow-canvas-canvastext-cssanimations-csscolumns-cssgradients-cssreflections-csstransforms-csstransforms3d-csstransitions-flexbox-fontface-generatedcontent-geolocation-hashchange-history-hsla-indexeddb-inlinesvg-input-inputtypes-localstorage-multiplebgs-opacity-postmessage-rgba-sessionstorage-smil-svg-svgclippaths-textshadow-video-webgl-websockets-websqldatabase-webworkers-addtest-domprefixes-hasevent-mq-prefixed-prefixes-setclasses-shiv-testallprops-testprop-teststyles !*/
!function(e,t,n){function r(e,t){return typeof e===t}function a(e){var t=C.className,n=T._config.classPrefix||"";if(E&&(t=t.baseVal),T._config.enableJSClass){var r=new RegExp("(^|\\s)"+n+"no-js(\\s|$)");t=t.replace(r,"$1"+n+"js$2")}T._config.enableClasses&&(t+=" "+n+e.join(" "+n),E?C.className.baseVal=t:C.className=t)}function o(e,t){if("object"==typeof e)for(var n in e)k(e,n)&&o(n,e[n]);else{var r=(e=e.toLowerCase()).split("."),i=T[r[0]];if(2==r.length&&(i=i[r[1]]),void 0!==i)return T;t="function"==typeof t?t():t,1==r.length?T[r[0]]=t:(!T[r[0]]||T[r[0]]instanceof Boolean||(T[r[0]]=new Boolean(T[r[0]])),T[r[0]][r[1]]=t),a([(t&&0!=t?"":"no-")+r.join("-")]),T._trigger(e,t)}return T}function i(){return"function"!=typeof t.createElement?t.createElement(arguments[0]):E?t.createElementNS.call(t,"http://www.w3.org/2000/svg",arguments[0]):t.createElement.apply(t,arguments)}function s(e){return e.replace(/([a-z])-([a-z])/g,(function(e,t,n){return t+n.toUpperCase()})).replace(/^-/,"")}function c(e,t){return!!~(""+e).indexOf(t)}function l(e,n,r,a){var o,s,c,l,d="modernizr",u=i("div"),f=function(){var e=t.body;return e||((e=i(E?"svg":"body")).fake=!0),e}();if(parseInt(r,10))for(;r--;)(c=i("div")).id=a?a[r]:d+(r+1),u.appendChild(c);return(o=i("style")).type="text/css",o.id="s"+d,(f.fake?f:u).appendChild(o),f.appendChild(u),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(t.createTextNode(e)),u.id=d,f.fake&&(f.style.background="",f.style.overflow="hidden",l=C.style.overflow,C.style.overflow="hidden",C.appendChild(f)),s=n(u,e),f.fake?(f.parentNode.removeChild(f),C.style.overflow=l,C.offsetHeight):u.parentNode.removeChild(u),!!s}function d(e,t){return function(){return e.apply(t,arguments)}}function u(e){return e.replace(/([A-Z])/g,(function(e,t){return"-"+t.toLowerCase()})).replace(/^ms-/,"-ms-")}function f(t,n,r){var a;if("getComputedStyle"in e){a=getComputedStyle.call(e,t,n);var o=e.console;if(null!==a)r&&(a=a.getPropertyValue(r));else if(o){o[o.error?"error":"log"].call(o,"getComputedStyle returning null, its possible modernizr test results are inaccurate")}}else a=!n&&t.currentStyle&&t.currentStyle[r];return a}function p(t,r){var a=t.length;if("CSS"in e&&"supports"in e.CSS){for(;a--;)if(e.CSS.supports(u(t[a]),r))return!0;return!1}if("CSSSupportsRule"in e){for(var o=[];a--;)o.push("("+u(t[a])+":"+r+")");return l("@supports ("+(o=o.join(" or "))+") { #modernizr { position: absolute; } }",(function(e){return"absolute"==f(e,null,"position")}))}return n}function m(e,t,a,o){function l(){u&&(delete q.style,delete q.modElem)}if(o=!r(o,"undefined")&&o,!r(a,"undefined")){var d=p(e,a);if(!r(d,"undefined"))return d}for(var u,f,m,g,h,v=["modernizr","tspan","samp"];!q.style&&v.length;)u=!0,q.modElem=i(v.shift()),q.style=q.modElem.style;for(m=e.length,f=0;m>f;f++)if(g=e[f],h=q.style[g],c(g,"-")&&(g=s(g)),q.style[g]!==n){if(o||r(a,"undefined"))return l(),"pfx"!=t||g;try{q.style[g]=a}catch(e){}if(q.style[g]!=h)return l(),"pfx"!=t||g}return l(),!1}function g(e,t,n,a,o){var i=e.charAt(0).toUpperCase()+e.slice(1),s=(e+" "+I.join(i+" ")+i).split(" ");return r(t,"string")||r(t,"undefined")?m(s,t,a,o):function(e,t,n){var a;for(var o in e)if(e[o]in t)return!1===n?e[o]:r(a=t[e[o]],"function")?d(a,n||t):a;return!1}(s=(e+" "+_.join(i+" ")+i).split(" "),t,n)}function h(e,t){var n=e.deleteDatabase(t);n.onsuccess=function(){o("indexeddb.deletedatabase",!0)},n.onerror=function(){o("indexeddb.deletedatabase",!1)}}function v(e,t,r){return g(e,n,n,t,r)}var y=[],b=[],x={_version:"3.5.0",_config:{classPrefix:"",enableClasses:!0,enableJSClass:!0,usePrefixes:!0},_q:[],on:function(e,t){var n=this;setTimeout((function(){t(n[e])}),0)},addTest:function(e,t,n){b.push({name:e,fn:t,options:n})},addAsyncTest:function(e){b.push({name:null,fn:e})}},T=function(){};T.prototype=x,(T=new T).addTest("applicationcache","applicationCache"in e),T.addTest("geolocation","geolocation"in navigator),T.addTest("history",(function(){var t=navigator.userAgent;return(-1===t.indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone")||"file:"===location.protocol)&&(e.history&&"pushState"in e.history)})),T.addTest("postmessage","postMessage"in e),T.addTest("svg",!!t.createElementNS&&!!t.createElementNS("http://www.w3.org/2000/svg","svg").createSVGRect);var w=!1;try{w="WebSocket"in e&&2===e.WebSocket.CLOSING}catch(e){}T.addTest("websockets",w),T.addTest("localstorage",(function(){var e="modernizr";try{return localStorage.setItem(e,e),localStorage.removeItem(e),!0}catch(e){return!1}})),T.addTest("sessionstorage",(function(){var e="modernizr";try{return sessionStorage.setItem(e,e),sessionStorage.removeItem(e),!0}catch(e){return!1}})),T.addTest("websqldatabase","openDatabase"in e),T.addTest("webworkers","Worker"in e);var S=x._config.usePrefixes?" -webkit- -moz- -o- -ms- ".split(" "):["",""];x._prefixes=S;var C=t.documentElement,E="svg"===C.nodeName.toLowerCase();E||function(e,t){function n(){var e=g.elements;return"string"==typeof e?e.split(" "):e}function r(e){var t=m[e[f]];return t||(t={},p++,e[f]=p,m[p]=t),t}function a(e,n,a){return n||(n=t),c?n.createElement(e):(a||(a=r(n)),!(o=a.cache[e]?a.cache[e].cloneNode():u.test(e)?(a.cache[e]=a.createElem(e)).cloneNode():a.createElem(e)).canHaveChildren||d.test(e)||o.tagUrn?o:a.frag.appendChild(o));var o}function o(e,t){t.cache||(t.cache={},t.createElem=e.createElement,t.createFrag=e.createDocumentFragment,t.frag=t.createFrag()),e.createElement=function(n){return g.shivMethods?a(n,e,t):t.createElem(n)},e.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+n().join().replace(/[\w\-:]+/g,(function(e){return t.createElem(e),t.frag.createElement(e),'c("'+e+'")'}))+");return n}")(g,t.frag)}function i(e){e||(e=t);var n=r(e);return!g.shivCSS||s||n.hasCSS||(n.hasCSS=!!function(e,t){var n=e.createElement("p"),r=e.getElementsByTagName("head")[0]||e.documentElement;return n.innerHTML="x<style>"+t+"</style>",r.insertBefore(n.lastChild,r.firstChild)}(e,"article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}")),c||o(e,n),e}var s,c,l=e.html5||{},d=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,u=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,f="_html5shiv",p=0,m={};!function(){try{var e=t.createElement("a");e.innerHTML="<xyz></xyz>",s="hidden"in e,c=1==e.childNodes.length||function(){t.createElement("a");var e=t.createDocumentFragment();return void 0===e.cloneNode||void 0===e.createDocumentFragment||void 0===e.createElement}()}catch(e){s=!0,c=!0}}();var g={elements:l.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output picture progress section summary template time video",version:"3.7.3",shivCSS:!1!==l.shivCSS,supportsUnknownElements:c,shivMethods:!1!==l.shivMethods,type:"default",shivDocument:i,createElement:a,createDocumentFragment:function(e,a){if(e||(e=t),c)return e.createDocumentFragment();for(var o=(a=a||r(e)).frag.cloneNode(),i=0,s=n(),l=s.length;l>i;i++)o.createElement(s[i]);return o},addElements:function(e,t){var n=g.elements;"string"!=typeof n&&(n=n.join(" ")),"string"!=typeof e&&(e=e.join(" ")),g.elements=n+" "+e,i(t)}};e.html5=g,i(t),"object"==typeof module&&module.exports&&(module.exports=g)}(void 0!==e?e:this,t);var k,P="Moz O ms Webkit",_=x._config.usePrefixes?P.toLowerCase().split(" "):[];x._domPrefixes=_,function(){var e={}.hasOwnProperty;k=r(e,"undefined")||r(e.call,"undefined")?function(e,t){return t in e&&r(e.constructor.prototype[t],"undefined")}:function(t,n){return e.call(t,n)}}(),x._l={},x.on=function(e,t){this._l[e]||(this._l[e]=[]),this._l[e].push(t),T.hasOwnProperty(e)&&setTimeout((function(){T._trigger(e,T[e])}),0)},x._trigger=function(e,t){if(this._l[e]){var n=this._l[e];setTimeout((function(){var e;for(e=0;e<n.length;e++)(0,n[e])(t)}),0),delete this._l[e]}},T._q.push((function(){x.addTest=o}));var z=function(){var e=!("onblur"in t.documentElement);return function(t,r){var a;return!!t&&(r&&"string"!=typeof r||(r=i(r||"div")),!(a=(t="on"+t)in r)&&e&&(r.setAttribute||(r=i("div")),r.setAttribute(t,""),a="function"==typeof r[t],r[t]!==n&&(r[t]=n),r.removeAttribute(t)),a)}}();x.hasEvent=z,T.addTest("hashchange",(function(){return!1!==z("hashchange",e)&&(t.documentMode===n||t.documentMode>7)})),T.addTest("audio",(function(){var e=i("audio"),t=!1;try{(t=!!e.canPlayType)&&((t=new Boolean(t)).ogg=e.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),t.mp3=e.canPlayType('audio/mpeg; codecs="mp3"').replace(/^no$/,""),t.opus=e.canPlayType('audio/ogg; codecs="opus"')||e.canPlayType('audio/webm; codecs="opus"').replace(/^no$/,""),t.wav=e.canPlayType('audio/wav; codecs="1"').replace(/^no$/,""),t.m4a=(e.canPlayType("audio/x-m4a;")||e.canPlayType("audio/aac;")).replace(/^no$/,""))}catch(e){}return t})),T.addTest("canvas",(function(){var e=i("canvas");return!(!e.getContext||!e.getContext("2d"))})),T.addTest("canvastext",(function(){return!1!==T.canvas&&"function"==typeof i("canvas").getContext("2d").fillText})),T.addTest("video",(function(){var e=i("video"),t=!1;try{(t=!!e.canPlayType)&&((t=new Boolean(t)).ogg=e.canPlayType('video/ogg; codecs="theora"').replace(/^no$/,""),t.h264=e.canPlayType('video/mp4; codecs="avc1.42E01E"').replace(/^no$/,""),t.webm=e.canPlayType('video/webm; codecs="vp8, vorbis"').replace(/^no$/,""),t.vp9=e.canPlayType('video/webm; codecs="vp9"').replace(/^no$/,""),t.hls=e.canPlayType('application/x-mpegURL; codecs="avc1.42E01E"').replace(/^no$/,""))}catch(e){}return t})),T.addTest("webgl",(function(){var t=i("canvas"),n="probablySupportsContext"in t?"probablySupportsContext":"supportsContext";return n in t?t[n]("webgl")||t[n]("experimental-webgl"):"WebGLRenderingContext"in e})),T.addTest("cssgradients",(function(){for(var e,t="background-image:",n="",r=0,a=S.length-1;a>r;r++)e=0===r?"to ":"",n+=t+S[r]+"linear-gradient("+e+"left top, #9f9, white);";T._config.usePrefixes&&(n+=t+"-webkit-gradient(linear,left top,right bottom,from(#9f9),to(white));");var o=i("a").style;return o.cssText=n,(""+o.backgroundImage).indexOf("gradient")>-1})),T.addTest("multiplebgs",(function(){var e=i("a").style;return e.cssText="background:url(https://),url(https://),red url(https://)",/(url\s*\(.*?){3}/.test(e.background)})),T.addTest("opacity",(function(){var e=i("a").style;return e.cssText=S.join("opacity:.55;"),/^0.55$/.test(e.opacity)})),T.addTest("rgba",(function(){var e=i("a").style;return e.cssText="background-color:rgba(150,255,150,.5)",(""+e.backgroundColor).indexOf("rgba")>-1})),T.addTest("inlinesvg",(function(){var e=i("div");return e.innerHTML="<svg/>","http://www.w3.org/2000/svg"==("undefined"!=typeof SVGRect&&e.firstChild&&e.firstChild.namespaceURI)}));var N=i("input"),A="autocomplete autofocus list placeholder max min multiple pattern required step".split(" "),R={};T.input=function(t){for(var n=0,r=t.length;r>n;n++)R[t[n]]=!!(t[n]in N);return R.list&&(R.list=!(!i("datalist")||!e.HTMLDataListElement)),R}(A);var $="search tel url email datetime date month week time datetime-local number range color".split(" "),M={};T.inputtypes=function(e){for(var r,a,o,i=e.length,s=0;i>s;s++)N.setAttribute("type",r=e[s]),(o="text"!==N.type&&"style"in N)&&(N.value="1)",N.style.cssText="position:absolute;visibility:hidden;",/^range$/.test(r)&&N.style.WebkitAppearance!==n?(C.appendChild(N),o=(a=t.defaultView).getComputedStyle&&"textfield"!==a.getComputedStyle(N,null).WebkitAppearance&&0!==N.offsetHeight,C.removeChild(N)):/^(search|tel)$/.test(r)||(o=/^(url|email)$/.test(r)?N.checkValidity&&!1===N.checkValidity():"1)"!=N.value)),M[e[s]]=!!o;return M}($),T.addTest("hsla",(function(){var e=i("a").style;return e.cssText="background-color:hsla(120,40%,100%,.5)",c(e.backgroundColor,"rgba")||c(e.backgroundColor,"hsla")}));var L="CSS"in e&&"supports"in e.CSS,O="supportsCSS"in e;T.addTest("supports",L||O);var B={}.toString;T.addTest("svgclippaths",(function(){return!!t.createElementNS&&/SVGClipPath/.test(B.call(t.createElementNS("http://www.w3.org/2000/svg","clipPath")))})),T.addTest("smil",(function(){return!!t.createElementNS&&/SVGAnimate/.test(B.call(t.createElementNS("http://www.w3.org/2000/svg","animate")))}));var j=function(){var t=e.matchMedia||e.msMatchMedia;return t?function(e){var n=t(e);return n&&n.matches||!1}:function(t){var n=!1;return l("@media "+t+" { #modernizr { position: absolute; } }",(function(t){n="absolute"==(e.getComputedStyle?e.getComputedStyle(t,null):t.currentStyle).position})),n}}();x.mq=j;var F=x.testStyles=l;(function(){var e=navigator.userAgent,t=e.match(/w(eb)?osbrowser/gi),n=e.match(/windows phone/gi)&&e.match(/iemobile\/([0-9])+/gi)&&parseFloat(RegExp.$1)>=9;return t||n})()?T.addTest("fontface",!1):F('@font-face {font-family:"font";src:url("https://")}',(function(e,n){var r=t.getElementById("smodernizr"),a=r.sheet||r.styleSheet,o=a?a.cssRules&&a.cssRules[0]?a.cssRules[0].cssText:a.cssText||"":"",i=/src/i.test(o)&&0===o.indexOf(n.split(" ")[0]);T.addTest("fontface",i)})),F('#modernizr{font:0/0 a}#modernizr:after{content:":)";visibility:hidden;font:7px/1 a}',(function(e){T.addTest("generatedcontent",e.offsetHeight>=6)}));var I=x._config.usePrefixes?P.split(" "):[];x._cssomPrefixes=I;var D=function(t){var r,a=S.length,o=e.CSSRule;if(void 0===o)return n;if(!t)return!1;if((r=(t=t.replace(/^@/,"")).replace(/-/g,"_").toUpperCase()+"_RULE")in o)return"@"+t;for(var i=0;a>i;i++){var s=S[i];if(s.toUpperCase()+"_"+r in o)return"@-"+s.toLowerCase()+"-"+t}return!1};x.atRule=D;var W={elem:i("modernizr")};T._q.push((function(){delete W.elem}));var q={style:W.elem.style};T._q.unshift((function(){delete q.style}));var V=x.testProp=function(e,t,r){return m([e],n,t,r)};T.addTest("textshadow",V("textShadow","1px 1px")),x.testAllProps=g;var H=x.prefixed=function(e,t,n){return 0===e.indexOf("@")?D(e):(-1!=e.indexOf("-")&&(e=s(e)),t?g(e,t,n):g(e,"pfx"))};T.addAsyncTest((function(){var t;try{t=H("indexedDB",e)}catch(e){}if(t){var n="modernizr-"+Math.random(),r=t.open(n);r.onerror=function(){r.error&&"InvalidStateError"===r.error.name?o("indexeddb",!1):(o("indexeddb",!0),h(t,n))},r.onsuccess=function(){o("indexeddb",!0),h(t,n)}}else o("indexeddb",!1)})),x.testAllProps=v,T.addTest("cssanimations",v("animationName","a",!0)),T.addTest("backgroundsize",v("backgroundSize","100%",!0)),T.addTest("borderimage",v("borderImage","url() 1",!0)),T.addTest("borderradius",v("borderRadius","0px",!0)),function(){T.addTest("csscolumns",(function(){var e=!1,t=v("columnCount");try{(e=!!t)&&(e=new Boolean(e))}catch(e){}return e}));for(var e,t,n=["Width","Span","Fill","Gap","Rule","RuleColor","RuleStyle","RuleWidth","BreakBefore","BreakAfter","BreakInside"],r=0;r<n.length;r++)e=n[r].toLowerCase(),t=v("column"+n[r]),("breakbefore"===e||"breakafter"===e||"breakinside"==e)&&(t=t||v(n[r])),T.addTest("csscolumns."+e,t)}(),T.addTest("boxshadow",v("boxShadow","1px 1px",!0)),T.addTest("flexbox",v("flexBasis","1px",!0)),T.addTest("cssreflections",v("boxReflect","above",!0)),T.addTest("csstransforms",(function(){return-1===navigator.userAgent.indexOf("Android 2.")&&v("transform","scale(1)",!0)})),T.addTest("csstransforms3d",(function(){var e=!!v("perspective","1px",!0),t=T._config.usePrefixes;if(e&&(!t||"webkitPerspective"in C.style)){var n;T.supports?n="@supports (perspective: 1px)":(n="@media (transform-3d)",t&&(n+=",(-webkit-transform-3d)")),F("#modernizr{width:0;height:0}"+(n+="{#modernizr{width:7px;height:18px;margin:0;padding:0;border:0}}"),(function(t){e=7===t.offsetWidth&&18===t.offsetHeight}))}return e})),T.addTest("csstransitions",v("transition","all",!0)),function(){var e,t,n,a,o,i;for(var s in b)if(b.hasOwnProperty(s)){if(e=[],(t=b[s]).name&&(e.push(t.name.toLowerCase()),t.options&&t.options.aliases&&t.options.aliases.length))for(n=0;n<t.options.aliases.length;n++)e.push(t.options.aliases[n].toLowerCase());for(a=r(t.fn,"function")?t.fn():t.fn,o=0;o<e.length;o++)1===(i=e[o].split(".")).length?T[i[0]]=a:(!T[i[0]]||T[i[0]]instanceof Boolean||(T[i[0]]=new Boolean(T[i[0]])),T[i[0]][i[1]]=a),y.push((a?"":"no-")+i.join("-"))}}(),a(y),delete x.addTest,delete x.addAsyncTest;for(var U=0;U<T._q.length;U++)T._q[U]();e.Modernizr=T}(window,document)
;!function(t,i){"use strict";jQuery.fn[i]=function(t){return t?this.bind("resize",(e=t,function(){var t=this,i=arguments;function s(){n||e.apply(t,i),u=null}u?clearTimeout(u):n&&e.apply(t,i),u=setTimeout(s,r||50)})):this.trigger(i);var e,r,n,u}}(jQuery,"smartresize")
;/*! Magnific Popup - v1.1.0 - 2016-02-20
 * http://dimsemenov.com/plugins/magnific-popup/
 * Copyright (c) 2016 Dmitry Semenov; */
!function(e){var t,i,n,o,a,r,s="Close",l="BeforeClose",c="MarkupParse",d="Open",p="Change",u="mfp",f=".mfp",m="mfp-ready",g="mfp-removing",v="mfp-prevent-close",h=function(){},C=!!window.jQuery,y=e(window),w=function(e,i){t.ev.on(u+e+f,i)},b=function(t,i,n,o){var a=document.createElement("div");return a.className="mfp-"+t,n&&(a.innerHTML=n),o?i&&i.appendChild(a):(a=e(a),i&&a.appendTo(i)),a},I=function(i,n){t.ev.triggerHandler(u+i,n),t.st.callbacks&&(i=i.charAt(0).toLowerCase()+i.slice(1),t.st.callbacks[i]&&t.st.callbacks[i].apply(t,e.isArray(n)?n:[n]))},x=function(i){return i===r&&t.currTemplate.closeBtn||(t.currTemplate.closeBtn=e(t.st.closeMarkup.replace("%title%",t.st.tClose)),r=i),t.currTemplate.closeBtn},k=function(){e.magnificPopup.instance||((t=new h).init(),e.magnificPopup.instance=t)};h.prototype={constructor:h,init:function(){var i=navigator.appVersion;t.isLowIE=t.isIE8=document.all&&!document.addEventListener,t.isAndroid=/android/gi.test(i),t.isIOS=/iphone|ipad|ipod/gi.test(i),t.supportsTransition=function(){var e=document.createElement("p").style,t=["ms","O","Moz","Webkit"];if(void 0!==e.transition)return!0;for(;t.length;)if(t.pop()+"Transition"in e)return!0;return!1}(),t.probablyMobile=t.isAndroid||t.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),n=e(document),t.popupsCache={}},open:function(i){var o;if(!1===i.isObj){t.items=i.items.toArray(),t.index=0;var r,s=i.items;for(o=0;o<s.length;o++)if((r=s[o]).parsed&&(r=r.el[0]),r===i.el[0]){t.index=o;break}}else t.items=e.isArray(i.items)?i.items:[i.items],t.index=i.index||0;if(!t.isOpen){t.types=[],a="",i.mainEl&&i.mainEl.length?t.ev=i.mainEl.eq(0):t.ev=n,i.key?(t.popupsCache[i.key]||(t.popupsCache[i.key]={}),t.currTemplate=t.popupsCache[i.key]):t.currTemplate={},t.st=e.extend(!0,{},e.magnificPopup.defaults,i),t.fixedContentPos="auto"===t.st.fixedContentPos?!t.probablyMobile:t.st.fixedContentPos,t.st.modal&&(t.st.closeOnContentClick=!1,t.st.closeOnBgClick=!1,t.st.showCloseBtn=!1,t.st.enableEscapeKey=!1),t.bgOverlay||(t.bgOverlay=b("bg").on("click.mfp",(function(){t.close()})),t.wrap=b("wrap").attr("tabindex",-1).on("click.mfp",(function(e){t._checkIfClose(e.target)&&t.close()})),t.container=b("container",t.wrap)),t.contentContainer=b("content"),t.st.preloader&&(t.preloader=b("preloader",t.container,t.st.tLoading));var l=e.magnificPopup.modules;for(o=0;o<l.length;o++){var p=l[o];p=p.charAt(0).toUpperCase()+p.slice(1),t["init"+p].call(t)}I("BeforeOpen"),t.st.showCloseBtn&&(t.st.closeBtnInside?(w(c,(function(e,t,i,n){i.close_replaceWith=x(n.type)})),a+=" mfp-close-btn-in"):t.wrap.append(x())),t.st.alignTop&&(a+=" mfp-align-top"),t.fixedContentPos?t.wrap.css({overflow:t.st.overflowY,overflowX:"hidden",overflowY:t.st.overflowY}):t.wrap.css({top:y.scrollTop(),position:"absolute"}),(!1===t.st.fixedBgPos||"auto"===t.st.fixedBgPos&&!t.fixedContentPos)&&t.bgOverlay.css({height:n.height(),position:"absolute"}),t.st.enableEscapeKey&&n.on("keyup.mfp",(function(e){27===e.keyCode&&t.close()})),y.on("resize.mfp",(function(){t.updateSize()})),t.st.closeOnContentClick||(a+=" mfp-auto-cursor"),a&&t.wrap.addClass(a);var u=t.wH=y.height(),f={};if(t.fixedContentPos&&t._hasScrollBar(u)){var g=t._getScrollbarSize();g&&(f.marginRight=g)}t.fixedContentPos&&(t.isIE7?e("body, html").css("overflow","hidden"):f.overflow="hidden");var v=t.st.mainClass;return t.isIE7&&(v+=" mfp-ie7"),v&&t._addClassToMFP(v),t.updateItemHTML(),I("BuildControls"),e("html").css(f),t.bgOverlay.add(t.wrap).prependTo(t.st.prependTo||e(document.body)),t._lastFocusedEl=document.activeElement,setTimeout((function(){t.content?(t._addClassToMFP(m),t._setFocus()):t.bgOverlay.addClass(m),n.on("focusin.mfp",t._onFocusIn)}),16),t.isOpen=!0,t.updateSize(u),I(d),i}t.updateItemHTML()},close:function(){t.isOpen&&(I(l),t.isOpen=!1,t.st.removalDelay&&!t.isLowIE&&t.supportsTransition?(t._addClassToMFP(g),setTimeout((function(){t._close()}),t.st.removalDelay)):t._close())},_close:function(){I(s);var i="mfp-removing mfp-ready ";if(t.bgOverlay.detach(),t.wrap.detach(),t.container.empty(),t.st.mainClass&&(i+=t.st.mainClass+" "),t._removeClassFromMFP(i),t.fixedContentPos){var o={marginRight:""};t.isIE7?e("body, html").css("overflow",""):o.overflow="",e("html").css(o)}n.off("keyup.mfp focusin.mfp"),t.ev.off(f),t.wrap.attr("class","mfp-wrap").removeAttr("style"),t.bgOverlay.attr("class","mfp-bg"),t.container.attr("class","mfp-container"),!t.st.showCloseBtn||t.st.closeBtnInside&&!0!==t.currTemplate[t.currItem.type]||t.currTemplate.closeBtn&&t.currTemplate.closeBtn.detach(),t.st.autoFocusLast&&t._lastFocusedEl&&e(t._lastFocusedEl).focus(),t.currItem=null,t.content=null,t.currTemplate=null,t.prevHeight=0,I("AfterClose")},updateSize:function(e){if(t.isIOS){var i=document.documentElement.clientWidth/window.innerWidth,n=window.innerHeight*i;t.wrap.css("height",n),t.wH=n}else t.wH=e||y.height();t.fixedContentPos||t.wrap.css("height",t.wH),I("Resize")},updateItemHTML:function(){var i=t.items[t.index];t.contentContainer.detach(),t.content&&t.content.detach(),i.parsed||(i=t.parseEl(t.index));var n=i.type;if(I("BeforeChange",[t.currItem?t.currItem.type:"",n]),t.currItem=i,!t.currTemplate[n]){var a=!!t.st[n]&&t.st[n].markup;I("FirstMarkupParse",a),t.currTemplate[n]=!a||e(a)}o&&o!==i.type&&t.container.removeClass("mfp-"+o+"-holder");var r=t["get"+n.charAt(0).toUpperCase()+n.slice(1)](i,t.currTemplate[n]);t.appendContent(r,n),i.preloaded=!0,I(p,i),o=i.type,t.container.prepend(t.contentContainer),I("AfterChange")},appendContent:function(e,i){t.content=e,e?t.st.showCloseBtn&&t.st.closeBtnInside&&!0===t.currTemplate[i]?t.content.find(".mfp-close").length||t.content.append(x()):t.content=e:t.content="",I("BeforeAppend"),t.container.addClass("mfp-"+i+"-holder"),t.contentContainer.append(t.content)},parseEl:function(i){var n,o=t.items[i];if(o.tagName?o={el:e(o)}:(n=o.type,o={data:o,src:o.src}),o.el){for(var a=t.types,r=0;r<a.length;r++)if(o.el.hasClass("mfp-"+a[r])){n=a[r];break}o.src=o.el.attr("data-mfp-src"),o.src||(o.src=o.el.attr("href"))}return o.type=n||t.st.type||"inline",o.index=i,o.parsed=!0,t.items[i]=o,I("ElementParse",o),t.items[i]},addGroup:function(e,i){var n=function(n){n.mfpEl=this,t._openClick(n,e,i)};i||(i={});var o="click.magnificPopup";i.mainEl=e,i.items?(i.isObj=!0,e.off(o).on(o,n)):(i.isObj=!1,i.delegate?e.off(o).on(o,i.delegate,n):(i.items=e,e.off(o).on(o,n)))},_openClick:function(i,n,o){if((void 0!==o.midClick?o.midClick:e.magnificPopup.defaults.midClick)||!(2===i.which||i.ctrlKey||i.metaKey||i.altKey||i.shiftKey)){var a=void 0!==o.disableOn?o.disableOn:e.magnificPopup.defaults.disableOn;if(a)if(e.isFunction(a)){if(!a.call(t))return!0}else if(y.width()<a)return!0;i.type&&(i.preventDefault(),t.isOpen&&i.stopPropagation()),o.el=e(i.mfpEl),o.delegate&&(o.items=n.find(o.delegate)),t.open(o)}},updateStatus:function(e,n){if(t.preloader){i!==e&&t.container.removeClass("mfp-s-"+i),n||"loading"!==e||(n=t.st.tLoading);var o={status:e,text:n};I("UpdateStatus",o),e=o.status,n=o.text,t.preloader.html(n),t.preloader.find("a").on("click",(function(e){e.stopImmediatePropagation()})),t.container.addClass("mfp-s-"+e),i=e}},_checkIfClose:function(i){if(!e(i).hasClass(v)){var n=t.st.closeOnContentClick,o=t.st.closeOnBgClick;if(n&&o)return!0;if(!t.content||e(i).hasClass("mfp-close")||t.preloader&&i===t.preloader[0])return!0;if(i===t.content[0]||e.contains(t.content[0],i)){if(n)return!0}else if(o&&e.contains(document,i))return!0;return!1}},_addClassToMFP:function(e){t.bgOverlay.addClass(e),t.wrap.addClass(e)},_removeClassFromMFP:function(e){this.bgOverlay.removeClass(e),t.wrap.removeClass(e)},_hasScrollBar:function(e){return(t.isIE7?n.height():document.body.scrollHeight)>(e||y.height())},_setFocus:function(){(t.st.focus?t.content.find(t.st.focus).eq(0):t.wrap).focus()},_onFocusIn:function(i){if(i.target!==t.wrap[0]&&!e.contains(t.wrap[0],i.target))return t._setFocus(),!1},_parseMarkup:function(t,i,n){var o;n.data&&(i=e.extend(n.data,i)),I(c,[t,i,n]),e.each(i,(function(i,n){if(void 0===n||!1===n)return!0;if((o=i.split("_")).length>1){var a=t.find(".mfp-"+o[0]);if(a.length>0){var r=o[1];"replaceWith"===r?a[0]!==n[0]&&a.replaceWith(n):"img"===r?a.is("img")?a.attr("src",n):a.replaceWith(e("<img>").attr("src",n).attr("class",a.attr("class"))):a.attr(o[1],n)}}else t.find(".mfp-"+i).html(n)}))},_getScrollbarSize:function(){if(void 0===t.scrollbarSize){var e=document.createElement("div");e.style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(e),t.scrollbarSize=e.offsetWidth-e.clientWidth,document.body.removeChild(e)}return t.scrollbarSize}},e.magnificPopup={instance:null,proto:h.prototype,modules:[],open:function(t,i){return k(),(t=t?e.extend(!0,{},t):{}).isObj=!0,t.index=i||0,this.instance.open(t)},close:function(){return e.magnificPopup.instance&&e.magnificPopup.instance.close()},registerModule:function(t,i){i.options&&(e.magnificPopup.defaults[t]=i.options),e.extend(this.proto,i.proto),this.modules.push(t)},defaults:{disableOn:0,key:null,midClick:!1,mainClass:"",preloader:!0,focus:"",closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:!0,showCloseBtn:!0,enableEscapeKey:!0,modal:!1,alignTop:!1,removalDelay:0,prependTo:null,fixedContentPos:"auto",fixedBgPos:"auto",overflowY:"auto",closeMarkup:'<button title="%title%" type="button" class="mfp-close">&#215;</button>',tClose:"Close (Esc)",tLoading:"Loading...",autoFocusLast:!0}},e.fn.magnificPopup=function(i){k();var n=e(this);if("string"==typeof i)if("open"===i){var o,a=C?n.data("magnificPopup"):n[0].magnificPopup,r=parseInt(arguments[1],10)||0;a.items?o=a.items[r]:(o=n,a.delegate&&(o=o.find(a.delegate)),o=o.eq(r)),t._openClick({mfpEl:o},n,a)}else t.isOpen&&t[i].apply(t,Array.prototype.slice.call(arguments,1));else i=e.extend(!0,{},i),C?n.data("magnificPopup",i):n[0].magnificPopup=i,t.addGroup(n,i);return n};var T,_,P,S="inline",E=function(){P&&(_.after(P.addClass(T)).detach(),P=null)};e.magnificPopup.registerModule(S,{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){t.types.push(S),w("Close.inline",(function(){E()}))},getInline:function(i,n){if(E(),i.src){var o=t.st.inline,a=e(i.src);if(a.length){var r=a[0].parentNode;r&&r.tagName&&(_||(T=o.hiddenClass,_=b(T),T="mfp-"+T),P=a.after(_).detach().removeClass(T)),t.updateStatus("ready")}else t.updateStatus("error",o.tNotFound),a=e("<div>");return i.inlineElement=a,a}return t.updateStatus("ready"),t._parseMarkup(n,{},i),n}}});var z,O="ajax",M=function(){z&&e(document.body).removeClass(z)},B=function(){M(),t.req&&t.req.abort()};e.magnificPopup.registerModule(O,{options:{settings:null,cursor:"mfp-ajax-cur",tError:'<a href="%url%">The content</a> could not be loaded.'},proto:{initAjax:function(){t.types.push(O),z=t.st.ajax.cursor,w("Close.ajax",B),w("BeforeChange.ajax",B)},getAjax:function(i){z&&e(document.body).addClass(z),t.updateStatus("loading");var n=e.extend({url:i.src,success:function(n,o,a){var r={data:n,xhr:a};I("ParseAjax",r),t.appendContent(e(r.data),O),i.finished=!0,M(),t._setFocus(),setTimeout((function(){t.wrap.addClass(m)}),16),t.updateStatus("ready"),I("AjaxContentAdded")},error:function(){M(),i.finished=i.loadError=!0,t.updateStatus("error",t.st.ajax.tError.replace("%url%",i.src))}},t.st.ajax.settings);return t.req=e.ajax(n),""}}});var L,H=function(i){if(i.data&&void 0!==i.data.title)return i.data.title;var n=t.st.image.titleSrc;if(n){if(e.isFunction(n))return n.call(t,i);if(i.el)return i.el.attr(n)||""}return""};e.magnificPopup.registerModule("image",{options:{markup:'<div class="mfp-figure"><div class="mfp-close"></div><figure><div class="mfp-img"></div><figcaption><div class="mfp-bottom-bar"><div class="mfp-title"></div><div class="mfp-counter"></div></div></figcaption></figure></div>',cursor:"mfp-zoom-out-cur",titleSrc:"title",verticalFit:!0,tError:'<a href="%url%">The image</a> could not be loaded.'},proto:{initImage:function(){var i=t.st.image,n=".image";t.types.push("image"),w("Open.image",(function(){"image"===t.currItem.type&&i.cursor&&e(document.body).addClass(i.cursor)})),w("Close.image",(function(){i.cursor&&e(document.body).removeClass(i.cursor),y.off("resize.mfp")})),w("Resize"+n,t.resizeImage),t.isLowIE&&w("AfterChange",t.resizeImage)},resizeImage:function(){var e=t.currItem;if(e&&e.img&&t.st.image.verticalFit){var i=0;t.isLowIE&&(i=parseInt(e.img.css("padding-top"),10)+parseInt(e.img.css("padding-bottom"),10)),e.img.css("max-height",t.wH-i)}},_onImageHasSize:function(e){e.img&&(e.hasSize=!0,L&&clearInterval(L),e.isCheckingImgSize=!1,I("ImageHasSize",e),e.imgHidden&&(t.content&&t.content.removeClass("mfp-loading"),e.imgHidden=!1))},findImageSize:function(e){var i=0,n=e.img[0],o=function(a){L&&clearInterval(L),L=setInterval((function(){n.naturalWidth>0?t._onImageHasSize(e):(i>200&&clearInterval(L),3===++i?o(10):40===i?o(50):100===i&&o(500))}),a)};o(1)},getImage:function(i,n){var o=0,a=function(){i&&(i.img[0].complete?(i.img.off(".mfploader"),i===t.currItem&&(t._onImageHasSize(i),t.updateStatus("ready")),i.hasSize=!0,i.loaded=!0,I("ImageLoadComplete")):++o<200?setTimeout(a,100):r())},r=function(){i&&(i.img.off(".mfploader"),i===t.currItem&&(t._onImageHasSize(i),t.updateStatus("error",s.tError.replace("%url%",i.src))),i.hasSize=!0,i.loaded=!0,i.loadError=!0)},s=t.st.image,l=n.find(".mfp-img");if(l.length){var c=document.createElement("img");c.className="mfp-img",i.el&&i.el.find("img").length&&(c.alt=i.el.find("img").attr("alt")),i.img=e(c).on("load.mfploader",a).on("error.mfploader",r),c.src=i.src,l.is("img")&&(i.img=i.img.clone()),(c=i.img[0]).naturalWidth>0?i.hasSize=!0:c.width||(i.hasSize=!1)}return t._parseMarkup(n,{title:H(i),img_replaceWith:i.img},i),t.resizeImage(),i.hasSize?(L&&clearInterval(L),i.loadError?(n.addClass("mfp-loading"),t.updateStatus("error",s.tError.replace("%url%",i.src))):(n.removeClass("mfp-loading"),t.updateStatus("ready")),n):(t.updateStatus("loading"),i.loading=!0,i.hasSize||(i.imgHidden=!0,n.addClass("mfp-loading"),t.findImageSize(i)),n)}}});var A;e.magnificPopup.registerModule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(e){return e.is("img")?e:e.find("img")}},proto:{initZoom:function(){var e,i=t.st.zoom,n=".zoom";if(i.enabled&&t.supportsTransition){var o,a,r=i.duration,s=function(e){var t=e.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),n="all "+i.duration/1e3+"s "+i.easing,o={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},a="transition";return o["-webkit-"+a]=o["-moz-"+a]=o["-o-"+a]=o[a]=n,t.css(o),t},l=function(){t.content.css("visibility","visible")};w("BuildControls"+n,(function(){if(t._allowZoom()){if(clearTimeout(o),t.content.css("visibility","hidden"),!(e=t._getItemToZoom()))return void l();(a=s(e)).css(t._getOffset()),t.wrap.append(a),o=setTimeout((function(){a.css(t._getOffset(!0)),o=setTimeout((function(){l(),setTimeout((function(){a.remove(),e=a=null,I("ZoomAnimationEnded")}),16)}),r)}),16)}})),w("BeforeClose.zoom",(function(){if(t._allowZoom()){if(clearTimeout(o),t.st.removalDelay=r,!e){if(!(e=t._getItemToZoom()))return;a=s(e)}a.css(t._getOffset(!0)),t.wrap.append(a),t.content.css("visibility","hidden"),setTimeout((function(){a.css(t._getOffset())}),16)}})),w("Close.zoom",(function(){t._allowZoom()&&(l(),a&&a.remove(),e=null)}))}},_allowZoom:function(){return"image"===t.currItem.type},_getItemToZoom:function(){return!!t.currItem.hasSize&&t.currItem.img},_getOffset:function(i){var n,o=(n=i?t.currItem.img:t.st.zoom.opener(t.currItem.el||t.currItem)).offset(),a=parseInt(n.css("padding-top"),10),r=parseInt(n.css("padding-bottom"),10);o.top-=e(window).scrollTop()-a;var s={width:n.width(),height:(C?n.innerHeight():n[0].offsetHeight)-r-a};return void 0===A&&(A=void 0!==document.createElement("p").style.MozTransform),A?s["-moz-transform"]=s.transform="translate("+o.left+"px,"+o.top+"px)":(s.left=o.left,s.top=o.top),s}}});var F="iframe",j=function(e){if(t.currTemplate.iframe){var i=t.currTemplate.iframe.find("iframe");i.length&&(e||(i[0].src="//about:blank"),t.isIE8&&i.css("display",e?"block":"none"))}};e.magnificPopup.registerModule(F,{options:{markup:'<div class="mfp-iframe-scaler"><div class="mfp-close"></div><iframe class="mfp-iframe" src="//about:blank" frameborder="0" allowfullscreen></iframe></div>',srcAction:"iframe_src",patterns:{youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}}},proto:{initIframe:function(){t.types.push(F),w("BeforeChange",(function(e,t,i){t!==i&&(t===F?j():i===F&&j(!0))})),w("Close.iframe",(function(){j()}))},getIframe:function(i,n){var o=i.src,a=t.st.iframe;e.each(a.patterns,(function(){if(o.indexOf(this.index)>-1)return this.id&&(o="string"==typeof this.id?o.substr(o.lastIndexOf(this.id)+this.id.length,o.length):this.id.call(this,o)),o=this.src.replace("%id%",o),!1}));var r={};return a.srcAction&&(r[a.srcAction]=o),t._parseMarkup(n,r,i),t.updateStatus("ready"),n}}});var N=function(e){var i=t.items.length;return e>i-1?e-i:e<0?i+e:e},W=function(e,t,i){return e.replace(/%curr%/gi,t+1).replace(/%total%/gi,i)};e.magnificPopup.registerModule("gallery",{options:{enabled:!1,arrowMarkup:'<button title="%title%" type="button" class="mfp-arrow mfp-arrow-%dir%"></button>',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:"Previous (Left arrow key)",tNext:"Next (Right arrow key)",tCounter:"%curr% of %total%"},proto:{initGallery:function(){var i=t.st.gallery,o=".mfp-gallery";if(t.direction=!0,!i||!i.enabled)return!1;a+=" mfp-gallery",w(d+o,(function(){i.navigateByImgClick&&t.wrap.on("click"+o,".mfp-img",(function(){if(t.items.length>1)return t.next(),!1})),n.on("keydown"+o,(function(e){37===e.keyCode?t.prev():39===e.keyCode&&t.next()}))})),w("UpdateStatus"+o,(function(e,i){i.text&&(i.text=W(i.text,t.currItem.index,t.items.length))})),w(c+o,(function(e,n,o,a){var r=t.items.length;o.counter=r>1?W(i.tCounter,a.index,r):""})),w("BuildControls"+o,(function(){if(t.items.length>1&&i.arrows&&!t.arrowLeft){var n=i.arrowMarkup,o=t.arrowLeft=e(n.replace(/%title%/gi,i.tPrev).replace(/%dir%/gi,"left")).addClass(v),a=t.arrowRight=e(n.replace(/%title%/gi,i.tNext).replace(/%dir%/gi,"right")).addClass(v);o.on("click",(function(){t.prev()})),a.on("click",(function(){t.next()})),t.container.append(o.add(a))}})),w(p+o,(function(){t._preloadTimeout&&clearTimeout(t._preloadTimeout),t._preloadTimeout=setTimeout((function(){t.preloadNearbyImages(),t._preloadTimeout=null}),16)})),w(s+o,(function(){n.off(o),t.wrap.off("click"+o),t.arrowRight=t.arrowLeft=null}))},next:function(){t.direction=!0,t.index=N(t.index+1),t.updateItemHTML()},prev:function(){t.direction=!1,t.index=N(t.index-1),t.updateItemHTML()},goTo:function(e){t.direction=e>=t.index,t.index=e,t.updateItemHTML()},preloadNearbyImages:function(){var e,i=t.st.gallery.preload,n=Math.min(i[0],t.items.length),o=Math.min(i[1],t.items.length);for(e=1;e<=(t.direction?o:n);e++)t._preloadItem(t.index+e);for(e=1;e<=(t.direction?n:o);e++)t._preloadItem(t.index-e)},_preloadItem:function(i){if(i=N(i),!t.items[i].preloaded){var n=t.items[i];n.parsed||(n=t.parseEl(i)),I("LazyLoad",n),"image"===n.type&&(n.img=e('<img class="mfp-img" />').on("load.mfploader",(function(){n.hasSize=!0})).on("error.mfploader",(function(){n.hasSize=!0,n.loadError=!0,I("LazyLoadError",n)})).attr("src",n.src)),n.preloaded=!0}}}});var R="retina";e.magnificPopup.registerModule(R,{options:{replaceSrc:function(e){return e.src.replace(/\.\w+$/,(function(e){return"@2x"+e}))},ratio:1},proto:{initRetina:function(){if(window.devicePixelRatio>1){var e=t.st.retina,i=e.ratio;(i=isNaN(i)?i():i)>1&&(w("ImageHasSize.retina",(function(e,t){t.img.css({"max-width":t.img[0].naturalWidth/i,width:"100%"})})),w("ElementParse.retina",(function(t,n){n.src=e.replaceSrc(n,i)})))}}}}),k()}(jQuery)
;!function(a){"use strict";a.fn.jnewsgif=function(s){var i={};return s=s?a.extend(i,s):a.extend(i),a(this).each((function(){var s=a(this);s.addClass("ff-setup ff-image");var i=a('<div class="ff-overlay"><div class="ff-control">GIF</div></div>').insertBefore(s),n=a("<canvas />",{class:"ff-canvas"}).attr({width:0,height:0}).insertBefore(s);s.add(i).add(n).wrapAll(a("<div />",{class:["ff-container","ff-responsive"].join(" ")+" "+s[0].classList})),i.on("click",(function(){var s=a(this),i=a(s).siblings("canvas");a(i).hasClass("ff-canvas-active")?(a(s).removeClass("ff-container-active"),a(i).removeClass("ff-canvas-active").addClass("ff-canvas-ready")):(a(s).addClass("ff-container-active"),a(i).removeClass("ff-canvas-ready").addClass("ff-canvas-active"))})),s.imagesLoaded().progress((function(s,i){var n=a(i.img).siblings("canvas"),e="transitionend webkitTransitionEnd oTransitionEnd otransitionend",t=a(i.img).width(),f=a(i.img).height();n.attr({width:t,height:f}),n[0].getContext("2d").drawImage(a(i.img).get(0),0,0,t,f),n.addClass("ff-canvas-ready").on(e,(function(){a(this).off(e),a(i.img).addClass("ff-image-ready")}))}))}))}}(jQuery)
;(function(t,e){if(typeof define==="function"&&define.amd){define(["jquery"],e)}else if(typeof exports==="object"){module.exports=e(require("jquery"))}else{e(t.jQuery)}})(this,function(t){t.transit={version:"0.9.12",propertyMap:{marginLeft:"margin",marginRight:"margin",marginBottom:"margin",marginTop:"margin",paddingLeft:"padding",paddingRight:"padding",paddingBottom:"padding",paddingTop:"padding"},enabled:true,useTransitionEnd:false};var e=document.createElement("div");var n={};function i(t){if(t in e.style)return t;var n=["Moz","Webkit","O","ms"];var i=t.charAt(0).toUpperCase()+t.substr(1);for(var r=0;r<n.length;++r){var s=n[r]+i;if(s in e.style){return s}}}function r(){e.style[n.transform]="";e.style[n.transform]="rotateY(90deg)";return e.style[n.transform]!==""}var s=navigator.userAgent.toLowerCase().indexOf("chrome")>-1;n.transition=i("transition");n.transitionDelay=i("transitionDelay");n.transform=i("transform");n.transformOrigin=i("transformOrigin");n.filter=i("Filter");n.transform3d=r();var a={transition:"transitionend",MozTransition:"transitionend",OTransition:"oTransitionEnd",WebkitTransition:"webkitTransitionEnd",msTransition:"MSTransitionEnd"};var o=n.transitionEnd=a[n.transition]||null;for(var u in n){if(n.hasOwnProperty(u)&&typeof t.support[u]==="undefined"){t.support[u]=n[u]}}e=null;t.cssEase={_default:"ease","in":"ease-in",out:"ease-out","in-out":"ease-in-out",snap:"cubic-bezier(0,1,.5,1)",easeInCubic:"cubic-bezier(.550,.055,.675,.190)",easeOutCubic:"cubic-bezier(.215,.61,.355,1)",easeInOutCubic:"cubic-bezier(.645,.045,.355,1)",easeInCirc:"cubic-bezier(.6,.04,.98,.335)",easeOutCirc:"cubic-bezier(.075,.82,.165,1)",easeInOutCirc:"cubic-bezier(.785,.135,.15,.86)",easeInExpo:"cubic-bezier(.95,.05,.795,.035)",easeOutExpo:"cubic-bezier(.19,1,.22,1)",easeInOutExpo:"cubic-bezier(1,0,0,1)",easeInQuad:"cubic-bezier(.55,.085,.68,.53)",easeOutQuad:"cubic-bezier(.25,.46,.45,.94)",easeInOutQuad:"cubic-bezier(.455,.03,.515,.955)",easeInQuart:"cubic-bezier(.895,.03,.685,.22)",easeOutQuart:"cubic-bezier(.165,.84,.44,1)",easeInOutQuart:"cubic-bezier(.77,0,.175,1)",easeInQuint:"cubic-bezier(.755,.05,.855,.06)",easeOutQuint:"cubic-bezier(.23,1,.32,1)",easeInOutQuint:"cubic-bezier(.86,0,.07,1)",easeInSine:"cubic-bezier(.47,0,.745,.715)",easeOutSine:"cubic-bezier(.39,.575,.565,1)",easeInOutSine:"cubic-bezier(.445,.05,.55,.95)",easeInBack:"cubic-bezier(.6,-.28,.735,.045)",easeOutBack:"cubic-bezier(.175, .885,.32,1.275)",easeInOutBack:"cubic-bezier(.68,-.55,.265,1.55)"};t.cssHooks["transit:transform"]={get:function(e){return t(e).data("transform")||new f},set:function(e,i){var r=i;if(!(r instanceof f)){r=new f(r)}if(n.transform==="WebkitTransform"&&!s){e.style[n.transform]=r.toString(true)}else{e.style[n.transform]=r.toString()}t(e).data("transform",r)}};t.cssHooks.transform={set:t.cssHooks["transit:transform"].set};t.cssHooks.filter={get:function(t){return t.style[n.filter]},set:function(t,e){t.style[n.filter]=e}};if(t.fn.jquery<"1.8"){t.cssHooks.transformOrigin={get:function(t){return t.style[n.transformOrigin]},set:function(t,e){t.style[n.transformOrigin]=e}};t.cssHooks.transition={get:function(t){return t.style[n.transition]},set:function(t,e){t.style[n.transition]=e}}}p("scale");p("scaleX");p("scaleY");p("translate");p("rotate");p("rotateX");p("rotateY");p("rotate3d");p("perspective");p("skewX");p("skewY");p("x",true);p("y",true);function f(t){if(typeof t==="string"){this.parse(t)}return this}f.prototype={setFromString:function(t,e){var n=typeof e==="string"?e.split(","):e.constructor===Array?e:[e];n.unshift(t);f.prototype.set.apply(this,n)},set:function(t){var e=Array.prototype.slice.apply(arguments,[1]);if(this.setter[t]){this.setter[t].apply(this,e)}else{this[t]=e.join(",")}},get:function(t){if(this.getter[t]){return this.getter[t].apply(this)}else{return this[t]||0}},setter:{rotate:function(t){this.rotate=b(t,"deg")},rotateX:function(t){this.rotateX=b(t,"deg")},rotateY:function(t){this.rotateY=b(t,"deg")},scale:function(t,e){if(e===undefined){e=t}this.scale=t+","+e},skewX:function(t){this.skewX=b(t,"deg")},skewY:function(t){this.skewY=b(t,"deg")},perspective:function(t){this.perspective=b(t,"px")},x:function(t){this.set("translate",t,null)},y:function(t){this.set("translate",null,t)},translate:function(t,e){if(this._translateX===undefined){this._translateX=0}if(this._translateY===undefined){this._translateY=0}if(t!==null&&t!==undefined){this._translateX=b(t,"px")}if(e!==null&&e!==undefined){this._translateY=b(e,"px")}this.translate=this._translateX+","+this._translateY}},getter:{x:function(){return this._translateX||0},y:function(){return this._translateY||0},scale:function(){var t=(this.scale||"1,1").split(",");if(t[0]){t[0]=parseFloat(t[0])}if(t[1]){t[1]=parseFloat(t[1])}return t[0]===t[1]?t[0]:t},rotate3d:function(){var t=(this.rotate3d||"0,0,0,0deg").split(",");for(var e=0;e<=3;++e){if(t[e]){t[e]=parseFloat(t[e])}}if(t[3]){t[3]=b(t[3],"deg")}return t}},parse:function(t){var e=this;t.replace(/([a-zA-Z0-9]+)\((.*?)\)/g,function(t,n,i){e.setFromString(n,i)})},toString:function(t){var e=[];for(var i in this){if(this.hasOwnProperty(i)){if(!n.transform3d&&(i==="rotateX"||i==="rotateY"||i==="perspective"||i==="transformOrigin")){continue}if(i[0]!=="_"){if(t&&i==="scale"){e.push(i+"3d("+this[i]+",1)")}else if(t&&i==="translate"){e.push(i+"3d("+this[i]+",0)")}else{e.push(i+"("+this[i]+")")}}}}return e.join(" ")}};function c(t,e,n){if(e===true){t.queue(n)}else if(e){t.queue(e,n)}else{t.each(function(){n.call(this)})}}function l(e){var i=[];t.each(e,function(e){e=t.camelCase(e);e=t.transit.propertyMap[e]||t.cssProps[e]||e;e=h(e);if(n[e])e=h(n[e]);if(t.inArray(e,i)===-1){i.push(e)}});return i}function d(e,n,i,r){var s=l(e);if(t.cssEase[i]){i=t.cssEase[i]}var a=""+y(n)+" "+i;if(parseInt(r,10)>0){a+=" "+y(r)}var o=[];t.each(s,function(t,e){o.push(e+" "+a)});return o.join(", ")}t.fn.transition=t.fn.transit=function(e,i,r,s){var a=this;var u=0;var f=true;var l=t.extend(true,{},e);if(typeof i==="function"){s=i;i=undefined}if(typeof i==="object"){r=i.easing;u=i.delay||0;f=typeof i.queue==="undefined"?true:i.queue;s=i.complete;i=i.duration}if(typeof r==="function"){s=r;r=undefined}if(typeof l.easing!=="undefined"){r=l.easing;delete l.easing}if(typeof l.duration!=="undefined"){i=l.duration;delete l.duration}if(typeof l.complete!=="undefined"){s=l.complete;delete l.complete}if(typeof l.queue!=="undefined"){f=l.queue;delete l.queue}if(typeof l.delay!=="undefined"){u=l.delay;delete l.delay}if(typeof i==="undefined"){i=t.fx.speeds._default}if(typeof r==="undefined"){r=t.cssEase._default}i=y(i);var p=d(l,i,r,u);var h=t.transit.enabled&&n.transition;var b=h?parseInt(i,10)+parseInt(u,10):0;if(b===0){var g=function(t){a.css(l);if(s){s.apply(a)}if(t){t()}};c(a,f,g);return a}var m={};var v=function(e){var i=false;var r=function(){if(i){a.unbind(o,r)}if(b>0){a.each(function(){this.style[n.transition]=m[this]||null})}if(typeof s==="function"){s.apply(a)}if(typeof e==="function"){e()}};if(b>0&&o&&t.transit.useTransitionEnd){i=true;a.bind(o,r)}else{window.setTimeout(r,b)}a.each(function(){if(b>0){this.style[n.transition]=p}t(this).css(l)})};var z=function(t){this.offsetWidth;v(t)};c(a,f,z);return this};function p(e,i){if(!i){t.cssNumber[e]=true}t.transit.propertyMap[e]=n.transform;t.cssHooks[e]={get:function(n){var i=t(n).css("transit:transform");return i.get(e)},set:function(n,i){var r=t(n).css("transit:transform");r.setFromString(e,i);t(n).css({"transit:transform":r})}}}function h(t){return t.replace(/([A-Z])/g,function(t){return"-"+t.toLowerCase()})}function b(t,e){if(typeof t==="string"&&!t.match(/^[\-0-9\.]+$/)){return t}else{return""+t+e}}function y(e){var n=e;if(typeof n==="string"&&!n.match(/^[\-0-9\.]+/)){n=t.fx.speeds[n]||t.fx.speeds._default}return b(n,"ms")}t.transit.getTransitionValue=d;return t});
;!function(e){"use strict";var a=!!("object"==typeof jnews&&"object"==typeof jnews.library)&&jnews.library,t=function(t,o){if(a){var n=this;n.element=e(t),n.options=o,n.xhr=null,n.xhr_cache=[],n.lock_action=!1,n.unique=n.element.data("unique"),n.data={filter:0,filter_type:"all",current_page:1,attribute:window[n.unique]||{}},n.ajax_mode=n.data.attribute.pagination_mode,n.header=n.element.find(".jeg_block_heading"),n.container=n.element.find(".jeg_block_container"),n.nav_block=n.element.find(".jeg_block_navigation"),n.ad_code=n.element.find(".jeg_ad_code").val(),n.nav_next=null,n.nav_prev=null,n.module_overlay=n.container.find(".module-overlay"),n.load_more_block=n.nav_block.find(".jeg_block_loadmore"),"nextprev"===n.ajax_mode&&(n.nav_next=n.nav_block.find(".next"),n.nav_prev=n.nav_block.find(".prev"),n.nav_next.on("click",e.proxy(n.click_next,n)),n.nav_prev.on("click",e.proxy(n.click_prev,n))),"loadmore"!==n.ajax_mode&&"scrollload"!==n.ajax_mode||(n.nav_next=n.load_more_block.find("a"),n.nav_next.on("click",e.proxy(n.load_more,n))),"scrollload"===n.ajax_mode&&(n.load_limit=n.data.attribute.pagination_scroll_limit,n.load_scroll()),n.masonry_init(),n.init(),n.element.trigger("jnews_module_init",[n])}};t.DEFAULTS={},t.prototype.init=function(){var e=this;e.subcat=e.header.find(".jeg_subcat"),e.subcat.length&&e.subcat.okayNav({swipe_enabled:!1,threshold:80,toggle_icon_content:"<span></span><span></span><span></span>"}),e.assign_header()},t.prototype.load_scroll=function(){var e=this;e.nav_next.hasClass("disabled")||(e.load_limit>e.data.current_page||0==e.load_limit)&&e.nav_next.waypoint((function(){e.data.current_page=e.data.current_page+1,e.request_ajax("scroll"),this.destroy()}),{offset:"100%",context:window})},t.prototype.click_next=function(a){var t=this,o=t.nav_next;a.preventDefault(),e(o).hasClass("disabled")||t.lock_action||(t.data.current_page=t.data.current_page+1,t.request_ajax("next"))},t.prototype.click_prev=function(a){var t=this,o=t.nav_prev;a.preventDefault(),e(o).hasClass("disabled")||t.lock_action||(t.data.current_page=t.data.current_page-1,t.request_ajax("prev"))},t.prototype.load_more=function(a){var t=this,o=t.nav_next;a.preventDefault(),e(o).hasClass("disabled")||t.lock_action||(t.data.current_page=t.data.current_page+1,t.request_ajax("more"))},t.prototype.assign_header=function(){var a=this;e(a.header).on("click",".subclass-filter",e.proxy(a.subclass_click,a))},t.prototype.subclass_click=function(a){var t=this,o=a.target;a.preventDefault(),t.lock_action||(this.header.find(".subclass-filter").removeClass("current"),e(o).addClass("current"),t.data.filter=e(o).data("id"),t.data.filter_type=e(o).data("type"),t.data.current_page=1,t.request_ajax("subclass"))},t.prototype.request_ajax=function(a){var t=this;t.lock_action=!0;var o={action:jnewsoption.module_prefix+t.data.attribute.class,module:!0,data:t.data},n=t.cache_get(o);n?(t.before_ajax_request(a,!1),setTimeout((function(){t.load_ajax(a,o,n),t.element.trigger("jnews_module_ajax")}),100)):(t.before_ajax_request(a,!0),t.xhr=e.ajax({url:jnews_ajax_url,type:"post",dataType:"json",data:o,success:function(e){t.load_ajax(a,o,e),t.cache_save(o,e),t.element.trigger("jnews_module_ajax")}}))},t.prototype.cache_get=function(e){for(var a=this,t=JSON.stringify(e),o=0;o<a.xhr_cache.length;o++)if(a.xhr_cache[o].param==t)return a.cache_prepare(a.xhr_cache[o].result);return!1},t.prototype.cache_prepare=function(a){a.content="<div>"+a.content+"</div>";var t=e(a.content);return t.find("img").each((function(){var a=e(this).data("src");e(this).attr("src",a).removeClass("lazyload").addClass("lazyloaded")})),a.content=t.html(),a},t.prototype.cache_save=function(e,a){var t=JSON.stringify(e);this.xhr_cache.push({param:t,result:a})},t.prototype.load_ajax=function(e,a,t){var o=this;switch(o.lock_action=!1,o.ajax_mode){case"loadmore":o.load_ajax_load_more(t,e);break;case"scrollload":o.load_scroll_more(t,e);break;case"nextprev":default:o.load_ajax_next_prev(t,e)}jnews.like&&jnews.like.init(),jnews.share&&jnews.share.init()},t.prototype.before_ajax_request=function(e,a){var t=this;t.element.removeClass("loaded next prev more scroll subclass").addClass("loading"),"next"!==e&&"prev"!==e&&"subclass"!==e||!a||t.module_overlay.show(),"more"!==e&&"scroll"!==e||t.load_more_block.find("a").text(t.load_more_block.find("a").data("loading")).addClass("active")},t.prototype.after_ajax_request=function(e){var a=this;a.element.removeClass("loading").addClass("loaded").addClass(e),"next"!==e&&"prev"!==e&&"subclass"!==e||a.module_overlay.hide(),"more"!==e&&"scroll"!==e||(a.load_more_block.find("a").text(a.load_more_block.find("a").data("load")).removeClass("active"),void 0!==a.load_more_block.find("a").data("icon")&&a.load_more_block.find("a").html(a.load_more_block.find("a").html()+' <i class="fa '+a.load_more_block.find("a").data("icon")+'"></i>'))},t.prototype.replace_content=function(a){this.container.children().each((function(){e(this).hasClass("module-overlay")||e(this).remove()})),this.container.prepend(a)},t.prototype.load_ajax_next_prev=function(a,t){var o=this;o.replace_content(a.content),null!==o.nav_next&&(a.next?o.nav_next.removeClass("disabled"):o.nav_next.addClass("disabled")),null!==o.nav_prev&&(a.prev?o.nav_prev.removeClass("disabled"):o.nav_prev.addClass("disabled")),a.next||a.prev?null!==o.nav_prev&&o.nav_next.parent().removeClass("inactive"):null!==o.nav_next&&o.nav_next.parent().addClass("inactive"),o.after_ajax_request(t),o.masonry_init(),e(window).trigger("resize")},t.prototype.load_ajax_load_more=function(a,t){var o=this,n=e(a.content),r=0;n.each((function(){(e(this).hasClass("jeg_ad_module")&&o.ad_code&&e(this).find(".ads-wrapper").html(o.ad_code),e(this).hasClass("jeg_post"))?e(this).addClass("jeg_ajax_loaded anim_"+r):e(this).find(".jeg_post").each((function(){e(this).addClass("jeg_ajax_loaded anim_"+r),r++}));r++})),o.container.find(".jeg_post").removeClass("jeg_ajax_loaded"),o.container.find(".jeg_ad_module").removeClass("jeg_ajax_loaded"),1==o.data.current_page?o.replace_content(n):o.element.find(".jeg_load_more_flag").append(n),a.next?o.nav_next.removeClass("disabled"):o.nav_next.addClass("disabled"),o.after_ajax_request(t),o.masonry_load_more(n),e(window).trigger("resize")},t.prototype.load_scroll_more=function(a,t){var o=this,n=e(a.content),r=0;n.each((function(){e(this).hasClass("jeg_post")?e(this).addClass("jeg_ajax_loaded anim_"+r):e(this).find(".jeg_post").each((function(){e(this).addClass("jeg_ajax_loaded anim_"+r),r++}));r++})),o.container.find(".jeg_post").removeClass("jeg_ajax_loaded"),o.container.find(".jeg_ad_module").removeClass("jeg_ajax_loaded"),1==o.data.current_page?o.container.html("").html(n):o.element.find(".jeg_load_more_flag").append(n),a.next?o.nav_next.removeClass("disabled"):o.nav_next.addClass("disabled"),o.after_ajax_request(t),o.masonry_load_more(n),e(window).trigger("resize"),setTimeout((function(){o.load_scroll()}),500)},t.prototype.masonry_load_more=function(e){var a=this;a.container.find(".jeg_posts_masonry").length&&setTimeout((function(){a.masonry.isotope("appended",e)}),150)},t.prototype.masonry_init=function(){var a=this;a.container.find(".jeg_posts_masonry").length&&(setTimeout((function(){a.masonry=a.container.find(".jeg_posts_masonry .jeg_posts").isotope({itemSelector:".jeg_post",layoutMode:"masonry"}),a.masonry.imagesLoaded().progress((function(){a.masonry.isotope("layout")}))}),150),e(window).on("resize",(function(){setTimeout((function(){a.masonry.isotope("layout")}),1e3)})))};var o=e.fn.jmodule;e.fn.jmodule=function(a){return e(this).each((function(){var o=e(this),n=e.extend({},t.DEFAULTS,o.data(),"object"==typeof a&&a),r=o.data("jeg.module");r||o.data("jeg.module",r=new t(this,n))}))},e.fn.jmodule.Constructor=t,e.fn.jmodule.noConflict=function(){return e.fn.jmodule=o,this},e(".jeg_module_hook").jmodule()}(jQuery)
;var jnewsoption={"login_reload":"https:\/\/paginanoticias.mx\/juegos-para-relajarse","popup_script":"magnific","single_gallery":"","ismobile":"1","isie":"","sidefeed_ajax":"","language":"es_ES","module_prefix":"jnews_module_ajax_","live_search":"1","postid":"617","isblog":"1","admin_bar":"0","follow_video":"","follow_position":"top_right","rtl":"0","gif":"","lang":{"invalid_recaptcha":"Invalid Recaptcha!","empty_username":"Please enter your username!","empty_email":"Please enter your email!","empty_password":"Please enter your password!"},"recaptcha":"0","site_slug":"\/","site_domain":"paginanoticias.mx","zoom_button":"0"}
;!function(e){"use strict";function n(){jnews.body_inject?(jnews.body_inject.find("img").attr("data-pin-no-hover",!0),jnews.body_inject.find(".article-content img, .featured img, .thumbnail-container img").removeAttr("data-pin-no-hover")):(e("img").attr("data-pin-no-hover",!0),e(".article-content img, .featured img, .thumbnail-container img").removeAttr("data-pin-no-hover"))}function t(){var n=jnews.body_inject?jnews.body_inject.find(".jeg_fs_container"):e(".jeg_fs_container"),t=n.find(".jeg_fs_content"),a=n.find(".jeg_featured_bg"),i=n.find(".jeg_fs_scroll"),o=function(){var n=jnews.body_inject?jnews.body_inject.find(".jeg_header"):e(".jeg_header"),i=jnews.body_inject?jnews.body_inject.find(".jeg_navbar_mobile"):e(".jeg_navbar_mobile");if(t.length>0){var o=n.is(":visible")?n.outerHeight():i.outerHeight(),s=e(window).height();e(t).css({height:s-o+"px"}),e(a).css({height:s+"px"})}},s=jnews.body_inject?jnews.body_inject.find(".jeg_parallax .jeg_featured_img"):e(".jeg_parallax .jeg_featured_img");s.length&&s.each((function(){e(this).parallax("50%",.15)})),i.on("click",(function(){var n=jnews.body_inject?jnews.body_inject.find(".jeg_scroll_flag").offset().top:e(".jeg_scroll_flag").offset().top;e("html, body").animate({scrollTop:n},800)}));var r=function(){var t=e(window).scrollTop(),a=n.outerHeight(),o=1-t/a;if((jnews.body_inject?jnews.body_inject:e("body")).hasClass("jeg_single_tpl_5")){var s=1-t/a*.2;n.find(".entry-header .container").css({opacity:o,"-webkit-transform":"scale("+s+")",transform:"scale("+s+")"})}else n.find(".entry-header .container").css({opacity:o});i.css("opacity",o-.2)};"object"==typeof jnews.library&&(jnews.library.winLoad(o),jnews.library.winLoad(r)),e(window).on("resize",o),e(document).on("ready",o),e(window).on("scroll resize",r)}function a(){if("object"==typeof jnews.library){var e=function(){var e=jnews.library.globalBody.querySelectorAll(".ads-parallax-inner");e.length&&s.forEach(e,(function(e,n){var t=e.querySelector(".ads-parallax");if("object"==typeof t&&null!==t){var a=jnews.library.getWidth(e),i=jnews.library.getHeight(t);t.style.width=a+"px",t.style.marginTop="-"+i/2+"px"}}))};jnews.library.addEvents(jnews.library.win,{load:e,resize:e})}}function i(){var n=jnews.body_inject?jnews.body_inject.find(".jnews-cookie-law-policy"):e(".jnews-cookie-law-policy"),t=e.now(),a=void 0===jnewsoption.site_slug?"/":jnewsoption.site_slug,i=void 0===jnewsoption.site_domain?window.location.hostname:jnewsoption.site_domain;if(n.length>0){var o=function(e){for(var n=e+"=",t=document.cookie.split(";"),a=0;a<t.length;a++){for(var i=t[a];" "==i.charAt(0);)i=i.substring(1,i.length);if(0==i.indexOf(n))return i.substring(n.length,i.length)}return null}("jnews_cookie_law");o?parseInt(o)<t&&n.fadeIn("slow"):n.fadeIn("slow"),n.find(".btn-cookie").on("click",(function(n){n.preventDefault();var o,s,r,l,d=e(this);o="jnews_cookie_law",s=d.data("expire"),r=t+24*s*60*60*1e3,(l=new Date).setTime(r),l.toUTCString(),document.cookie=o+"="+(r||"")+";expires="+l+";path="+a+";domain="+i,d.parent().fadeOut()}))}}function o(n){var t=jnews.body_inject?jnews.body_inject.find(".jeg_progress_container"):e(".jeg_progress_container");if(t.length>0){var a=!1,i=e(window),o=n.height(),s=.85*i.height();e(window).scroll((function(){a=!0})),e(window).on("resize",(function(){o=n.height(),s=.85*i.height(),r()})),void 0!==window.progressTimer&&clearInterval(window.progressTimer),window.progressTimer=setInterval((function(){a&&(a=!1,r())}),150);var r=function(){var e=i.scrollTop(),a=n.offset().top,r=s-a+e,l=0;s>o+a?t.find(".progress-bar").width(0):(r>o?o<e-a+.2*s?(t.find(".progress-bar").css("transition","none"),t.find(".progress-bar").width(0)):(t.find(".progress-bar").css("transition","none"),t.find(".progress-bar").width("100%"),l=100):r>0&&(l=r/o*100),t.find(".progress-bar").width(l+"%"),t.find(".progress-bar").css("transition","all .12s ease-in"))}}}window.jnews=window.jnews||{},void 0===jnews.body_inject&&(window.jnews.body_inject=e("body")),e.youtube_parser=function(e){var n=e.match(/^.*(?:(?:youtu.be\/)|(?:v\/)|(?:\/u\/\w\/)|(?:embed\/)|(?:watch\?))\??&?v?=?([^#\&\?]*).*/);if(n&&11===n[1].length)return n[1];window.alert("Url Incorrect")},e.vimeo_parser=function(e){var n=e.match(/(?:(http|https)\:\/\/)(?:(?:www|player)\.)?vimeo\.com(?:\/(?:video\/(\d+)(?:$|\/))|(?:\/(\d+)(?:$|\/)))/);if(n)return n=n[2]||n[3];window.alert("not a vimeo url")},e.dailymotion_parser=function(e){var n=e.match(/(?:dailymotion\.com(?:\/video|\/hub)|dai\.ly)\/([0-9a-z]+)(?:[\-_0-9a-zA-Z]+#video=([a-z0-9]+))?/);if(n)return n[2]?n[2]:n[1];window.alert("not a dailymotion url")},e.type_video_youtube=function(n,t,a){var i=e.youtube_parser(e(n).attr("data-src")),o="",s="";a?(o+=!0===t?"autoplay=1&":"",s='<iframe width="700" height="500" src="//www.youtube.com/v/'+i+"?version=3&"+(o+=!0===a?"loop=1&playlist="+i:"")+'showinfo=0&theme=light&autohide=1&rel=0&wmode=opaque" frameborder="0" allowfullscreen></iframe>'):s='<iframe width="700" height="500" src="//www.youtube.com/embed/'+i+"?"+(o+=!0===t?"autoplay=1&":"")+'showinfo=0&theme=light&autohide=1&rel=0&wmode=opaque" frameborder="0" allowfullscreen></iframe>',e(".jeg_video_container",n).append(s)},e.type_video_vimeo=function(n,t,a){var i="";i+=!0===t?"autoplay=1&":"";var o='<iframe src="//player.vimeo.com/video/'+e.vimeo_parser(e(n).attr("data-src"))+"?"+(i+=!0===a?"loop=1&":"")+'title=0&byline=0&portrait=0" width="700" height="500" frameborder="0" mozallowfullscreen webkitallowfullscreen allowfullscreen></iframe>';e(".jeg_video_container",n).append(o)},e.type_video_dailymotion=function(n,t){var a="",i='<iframe src="//www.dailymotion.com/embed/video/'+e.dailymotion_parser(e(n).attr("data-src"))+"?"+(a+=!0===t?"autoplay=1&":"")+'ui-start-screen-info=0&ui-theme=light&queue-autoplay-next=0&queue-enable=0&sharing-enable=0&ui-logo=0" width="700" height="500" frameborder="0" mozallowfullscreen webkitallowfullscreen allowfullscreen></iframe>';e(".jeg_video_container",n).append(i)},e.type_soundcloud=function(n){var t=e(n).attr("data-src"),a='<iframe src="https://w.soundcloud.com/player/?url='+encodeURIComponent(t)+'" width="700" height="500" frameborder="0"></iframe>';e(".jeg_video_container",n).append(a)},e.type_audio=function(n){var t="",a="";""!==e(n).data("mp3")&&(t="<source type='audio/mpeg' src='"+e(n).data("mp3")+"' />"),""!==e(n).data("ogg")&&(a="<source type='audio/ogg' src='"+e(n).data("ogg")+"' />");var i="<audio preload='none' style='width: 100%; visibility: hidden;' controls='controls'>"+t+a+"</audio>";e(n).append(i);var o={};"undefined"!=typeof _wpmejsSettings&&(o=_wpmejsSettings),o.success=function(e){var n,t;"flash"===e.pluginType&&(n=e.attributes.autoplay&&"false"!==e.attributes.autoplay,t=e.attributes.loop&&"false"!==e.attributes.loop,n&&e.addEventListener("canplay",(function(){e.play()}),!1),t&&e.addEventListener("ended",(function(){e.play()}),!1))},e(n).find("audio").mediaelementplayer(o)},e.type_video_html5=function(n,t,a,i){var o=e(n).data("cover");a.pauseOtherPlayers=!1;var s="",r="",l="";""!==e(n).data("mp4")&&(s="<source type='video/mp4' src='"+e(n).data("mp4")+"' />"),""!==e(n).data("webm")&&(r="<source type='video/webm' src='"+e(n).data("webm")+"' />"),""!==e(n).data("ogg")&&(l="<source type='video/ogg' src='"+e(n).data("ogg")+"' />");var d="<video id='player' style='width:100%;height:100%;' width='100%' height='100%' poster='"+o+"' controls='controls' "+(t?"preload='auto'":"preload='none'")+">"+s+r+l+("<object width='100%' height='100%' type='application/x-shockwave-flash' data='/public/mediaelementjs/flashmediaelement.swf'><param name='movie' value='/public/mediaelementjs/flashmediaelement.swf' /><param name='flashvars' value='controls=true&file="+e(n).data("mp4")+"' /><img src='"+o+"' alt='No video playback capabilities' title='No video playback capabilities' /></object>")+"</video>";e(i,n).append(d),t&&(a.success=function(e){"flash"===e.pluginType?e.addEventListener("canplay",(function(){e.play()}),!1):e.play()}),e(n).find("video").mediaelementplayer(a)},e.do_media_render=function(n){e(n).find("[data-type='youtube']").length&&e(n).find("[data-type='youtube']").each((function(){var n=e(this).data("autoplay"),t=e(this).data("repeat");e.type_video_youtube(e(this),n,t)})),e(n).find("[data-type='vimeo']").length&&e(n).find("[data-type='vimeo']").each((function(){var n=e(this).data("autoplay"),t=e(this).data("repeat");e.type_video_vimeo(e(this),n,t)})),e(n).find("[data-type='dailymotion']").length&&e(n).find("[data-type='dailymotion']").each((function(){var n=e(this).data("autoplay");e.type_video_dailymotion(e(this),n)})),e(n).find("[data-type='soundcloud']").length&&e(n).find("[data-type='soundcloud']").each((function(){e.type_soundcloud(e(this))})),e(n).find("[data-type='audio']").length&&e(n).find("[data-type='audio']").each((function(){e.type_audio(e(this))})),e(n).find("video").length&&e(n).find("video").each((function(){e(this).parents(".elementor-background-video-container")||e(this).mediaelementplayer()}))},e.fn.jtabs=function(){e(this).each((function(){var n=e(this),t=e(".jeg_tabpost_nav li.active",n),a=function(t){var a=e(t).data("tab-content");e(".jeg_tabpost_nav li.active",n).removeClass("active"),e(t).addClass("active"),e(".jeg_tabpost_item.active",n).removeClass("active"),e('.jeg_tabpost_item[id="'+a+'"]',n).addClass("active")};if(t.length)a(t);else{var i=e(".jeg_tabpost_nav li",n).first();a(i)}e(".jeg_tabpost_nav li",n).on("click",(function(){e(this).hasClass("active")||a(this)}))}))},e.fn.jskill=function(){return e(this).each((function(){var n=e(this);n.waypoint((function(t){var a=n.find("li"),i=n.data("scoretype");n.addClass("show"),a.each((function(n){var t=e(this).find(".barbg"),a=e(this).find(".reviewscore"),o=t.attr("data-width");window.setTimeout((function(){a.prop("Counter",0).animate({Counter:o},{duration:600,easing:"swing",step:function(n){var a="";a="point"===i?Math.ceil(.1*n):Math.ceil(n)+"%",e(this).text(a),t.css("width",n+"%")}})}),250*n)})),this.destroy()}),{offset:"80%",context:window})}))},e.fn.jvideo_background=function(){function n(n){var t=function(n,t){var a,i,o=16,s=9,r=s/o,l=e(n).height(),d=e(n).width(),c=l/d,p=function(){return[a=d*r,i=d,(d-i)/2,(l-a)/2]},u=function(){return[a=l,i=l/r,(d-i)/2,(l-a)/2]},f=function(){return[a=s,i=o,(d-i)/2,(l-a)/2]};if("fit"===t)return c>r?p():u();if("zoom"===t)return c>r?u():p();if("fitNoUpscale"===t)return s>l||o>d?e.new_get_image_container_size(img,n,"fit"):f()}(n.parents(".jeg_block_container"),"zoom");n.css({height:t[0],width:t[1],left:t[2]+"px",top:t[3]+"px","max-width":"inherit"})}e(this).each((function(){var t=e(this),a=t.parent(".jeg_videowrapper"),i=t.get(0),o=t.data("youtubeid");new YT.Player(i,{width:"100%",height:"100%",videoId:o,playerVars:{playlist:o,iv_load_policy:3,enablejsapi:1,disablekb:1,autoplay:1,controls:0,showinfo:0,rel:0,loop:1,wmode:"transparent"},events:{onReady:function(e){e.target.mute().setLoop(!0)}}}),n(a),jQuery(window).on("resize",(function(){n(a)}))}))},e.fn.ajax_review_search=function(){return e(this).each((function(){var n=this,t=e(n).find('input[name="action"]'),a=e(n).find('input[name="page"]'),i=e(n).find('select[name="category"]'),o=e(n).find(".search_keyword"),s=e(n).find('select[name="sort"]'),r=e(n).find(".jeg_review_search_result_holder"),l=e(n).find(".module-overlay"),d=e(n).find(".review-search-form"),c=e(n).data("id"),p=window[c],u=null,f=null,g=function(){u&&clearTimeout(u),u=setTimeout((function(){e(l).stop().fadeIn(),p.action=e(t).val(),p.keyword=e(o).val(),p.category=e(i).val(),p.sort=e(s).val(),p.page=e(a).val(),null!==f&&f.abort(),f=e.ajax({url:jnews_ajax_url,type:"post",dataType:"html",data:p,success:function(n){e(r).html(n),e(l).stop().fadeOut()}})}),250)},_=function(){e(a).val(1),g()};e(o).on("input",(function(){(e(o).val().length>2||0==e(o).val().length)&&_()})),e(i).on("change",(function(){_()})),e(s).on("change",(function(){_()})),e(n).on("click",".jeg_navigation a",(function(n){n.preventDefault(),e(a).val(e(this).data("id")),g()})),e(d).on("submit",(function(e){e.preventDefault(),_()}))}))},e.facebook_page_widget=function(){e(".fb-page").length&&(e("#facebook-jssdk").length?"undefined"!=typeof FB&&FB.XFBML.parse():e(".fb-page").waypoint({handler:function(){var n,t,a,i,o,s="&appId="+e(".fb-page").attr("data-id");n=document,t="script",a="facebook-jssdk",o=n.getElementsByTagName(t)[0],n.getElementById(a)||((i=n.createElement(t)).id=a,i.src="//connect.facebook.net/"+jnewsoption.language+"/sdk.js#xfbml=1&version=v2.8"+s,o.parentNode.insertBefore(i,o))},offset:"100%"}))},e.twitter_widget=function(){var n=jnews.body_inject?jnews.body_inject.find(".twitter-timeline"):e(".twitter-timeline"),t=!1;n.length&&n.waypoint({handler:function(){var e;t||((e=document.createElement("script")).type="text/javascript",e.async=!0,e.src="//platform.twitter.com/widgets.js",(document.getElementsByTagName("head")[0]||document.getElementsByTagName("body")[0]).appendChild(e),t=!0)},offset:"100%"})},e.google_plus_widget=function(){var n=jnews.body_inject?jnews.body_inject.find(".jeg_google_plus_widget"):e(".jeg_google_plus_widget"),t=!1;n.length&&(n.waypoint({handler:function(){var e;t||((e=document.createElement("script")).type="text/javascript",e.async=!0,e.src="//apis.google.com/js/platform.js",(document.getElementsByTagName("head")[0]||document.getElementsByTagName("body")[0]).appendChild(e),t=!0)},offset:"100%"}),n.each((function(){var n=e(this).width(),t=e(this).find("div").attr("data-width");("true"===e(this).find("div").attr("data-fit")||n<t)&&e(this).find("div").attr("data-width",n)})))},e.pinterest_widget=function(){var n=jnews.body_inject?jnews.body_inject.find(".jeg_pinterest_widget"):e(".jeg_pinterest_widget"),t=!1;n.length&&n.waypoint({handler:function(){var e;t||((e=document.createElement("script")).type="text/javascript",e.async=!0,e.src="//assets.pinterest.com/js/pinit.js",(document.getElementsByTagName("head")[0]||document.getElementsByTagName("body")[0]).appendChild(e),t=!0)},offset:"100%"})},e(document).on("ready",(function(){var s,l,d,c=!!("object"==typeof jnews&&"object"==typeof jnews.library)&&jnews.library,p=jnews.body_inject?jnews.body_inject:e("body"),u=p.find(".jeg_tabpost_widget"),f=p.find(".jeg_review_search"),g=p.find(".jeg_reviewbars"),_=c&&"undefined"!==c.globalBody,h=!(!_||"function"!=typeof jnews.slider)&&c.globalBody.querySelectorAll(".jeg_slider_wrapper .jeg_slider"),w=!(!_||"function"!=typeof jnews.tns)&&c.globalBody.getElementsByClassName("featured_gallery"),m=!(!_||"function"!=typeof jnews.carousel)&&c.globalBody.getElementsByClassName("jeg_postblock_carousel"),j=!(!_||"function"!=typeof jnews.overlayslider)&&c.globalBody.getElementsByClassName("jeg_overlay_slider"),v=!(!_||"function"!=typeof jnews.ticker)&&c.globalBody.getElementsByClassName("jeg_news_ticker"),y=!(!_||"function"!=typeof jnews.vidplaylist)&&c.globalBody.getElementsByClassName("jeg_video_playlist");if(u.length&&u.jtabs(),h&&h.length&&c.forEach(h,(function(e,n){c.requestAnimationFrame.call(c.win,(function(){jnews.slider({container:e,onInit:function(e){void 0!==e.nextButton&&c.addClass(e.nextButton,"tns-next"),void 0!==e.prevButton&&c.addClass(e.prevButton,"tns-prev")}})}))})),w&&w.length&&c.forEach(w,(function(e,n){if(!c.hasClass(e,"jeg_tns_active")){var t=jnews.tns({container:e,textDirection:1==jnewsoption.rtl?"rtl":"ltr",controls:!0,controlsText:["",""],nav:!0,items:1,mouseDrag:!0,autoplay:!1,autoplayTimeout:3e3,loop:!1,onInit:function(e){void 0!==e.nextButton&&c.addClass(e.nextButton,"tns-next"),void 0!==e.prevButton&&c.addClass(e.prevButton,"tns-prev")}});void 0!==t&&(t.events.on("dragStart",(function(e){e.event.preventDefault(),e.event.stopPropagation()})),c.addClass(e,"jeg_tns_active"),c.dataStorage.put(e,"tiny-slider",t))}})),m&&m.length&&c.forEach(m,(function(e,n){c.requestAnimationFrame.call(c.win,(function(){jnews.carousel({container:e,textDirection:1==jnewsoption.rtl?"rtl":"ltr",onInit:function(e){void 0!==e.nextButton&&c.addClass(e.nextButton,"tns-next"),void 0!==e.prevButton&&c.addClass(e.prevButton,"tns-prev")}})}))})),j&&j.length&&jnews.overlayslider({container:j[0],textDirection:1==jnewsoption.rtl?"rtl":"ltr",onInit:function(e){void 0!==e.nextButton&&c.addClass(e.nextButton,"tns-next"),void 0!==e.prevButton&&c.addClass(e.prevButton,"tns-prev")}}),v&&v.length&&c.forEach(v,(function(e,n){jnews.ticker({container:e})})),y&&y.length&&c.forEach(y,(function(e,n){jnews.vidplaylist({container:e,textDirection:1==jnewsoption.rtl?"rtl":"ltr",onInit:function(e){void 0!==e.nextButton&&c.addClass(e.nextButton,"tns-next"),void 0!==e.prevButton&&c.addClass(e.prevButton,"tns-prev")}})})),jnews.hero&&jnews.hero.init(),t(),e(window).width()>768&&(!function(){if(!((e(".jeg_double_sidebar").length>1||e(".jeg_double_right_sidebar").length>1)&&e(window).width()<992)){var n=e(".jeg_sticky_sidebar");n.theiaStickySidebar({additionalMarginTop:20}),window.addEventListener("resize",(function(){window.innerWidth>=992?n.trigger("theiaStickySidebarActivate"):n.trigger("theiaStickySidebarDeactivate")}))}}(),p.find(".share-float").theiaStickySidebar({additionalMarginTop:20,updateSidebarHeight:!1}),p.find(".jeg_parallax_bg").parallax("50%",.1)),g.length&&g.jskill(),s=jnews.body_inject?jnews.body_inject.find(".jscroll-to-top"):e(".jscroll-to-top"),l=function(){e(window).scrollTop()>400?s.addClass("show"):s.removeClass("show")},s.on("click",(function(){return e("html, body").animate({scrollTop:0},600),!1})),e(window).width()>1024?("object"==typeof jnews.library&&jnews.library.winLoad(l),e(window).on("scroll",l)):e(window).off("scroll",l),function(){var n=jnews.body_inject?jnews.body_inject.find("a[href*=\\#]:not([href=\\#])"):e("a[href*=\\#]:not([href=\\#])");n.length&&n.each((function(n,t){var a=e(t);if(void 0!==a.data("vc-container")||a.hasClass("bp-primary-action")||a.hasClass("jeg_popuplink"))return!1;a.on("click",(function(n){var t=e(this).attr("href");if((t=t.split("#")).length>1){t=t[1];var a=jnews.body_inject?jnews.body_inject.find("#"+t):e("#"+t);0!==a.length&&e("html, body").animate({scrollTop:a.offset().top},600)}}))}))}(),a(),p.find("select:visible:not(.woocommerce select):not(select.form-control-solid):not(.drts select)").chosen({disable_search_threshold:10}),e.do_media_render(p),n(),window.onYouTubeIframeAPIReady=function(){var n=p.find(".jeg_blocklink .jeg_videobg");n.length&&n.each((function(){e(this).jvideo_background()}))},jnewsoption.gif)p.find('.content-inner img[src$=".gif"]').jnewsgif();r(c.globalBody),e.facebook_page_widget(),e.twitter_widget(),e.google_plus_widget(),e.pinterest_widget(),e(document).ajaxComplete((function(){e.google_plus_widget(),e.twitter_widget(),e.facebook_page_widget()})),e.ajaxSetup({data:{lang:jnewsoption.language}}),i(),f.length&&f.ajax_review_search(),o(p.find(".entry-content")),e(document).on("jnews-autoload-change-id",(function(e,n){o(p.find(".post-autoload[data-id="+n+"]").find(".entry-content"))})),(d=jnews.body_inject?jnews.body_inject.find(".jnews_author_box_container"):e(".jnews_author_box_container")).length&&d.each((function(){var n=e(this);n.hasClass("author-truncate")&&n.on("click",(function(){e(this).removeClass("author-truncate")}))}))})),e(window).load((function(){if(-1!==navigator.userAgent.indexOf("MSIE")||navigator.appVersion.indexOf("Trident/")>0){var e=document.createEvent("UIEvents");e.initUIEvent("resize",!0,!1,window,0),window.dispatchEvent(e)}else window.dispatchEvent(new Event("resize"))})),e(document).on("jnews-ajax-load",(function(a,i){var o=!!("object"==typeof jnews&&"object"==typeof jnews.library)&&jnews.library;n(),t(),e.do_media_render(i),e(window).width()>768&&(e(i).find(".jeg_sticky_sidebar").theiaStickySidebar({additionalMarginTop:20}),e(i).find(".share-float").theiaStickySidebar({additionalMarginTop:20,updateSidebarHeight:!1}),e(i).find(".jeg_parallax_bg").parallax("50%",.1)),e(i).find("select:visible").chosen({disable_search_threshold:10}),o&&"undefined"!==o.globalBody&&o.forEach(i,(function(e,n){if("function"==typeof jnews.carousel){var t=e.getElementsByClassName("jeg_postblock_carousel");t.length&&o.forEach(t,(function(e,n){jnews.carousel({container:e,textDirection:1==jnewsoption.rtl?"rtl":"ltr",onInit:function(e){void 0!==e.nextButton&&o.addClass(e.nextButton,"tns-next"),void 0!==e.prevButton&&o.addClass(e.prevButton,"tns-prev")}})}))}if("function"==typeof jnews.tns){var a=e.getElementsByClassName("featured_gallery");a.length&&o.forEach(a,(function(e,n){if(!o.hasClass(e,"jeg_tns_active")){var t=jnews.tns({container:e,textDirection:1==jnewsoption.rtl?"rtl":"ltr",controls:!0,controlsText:["",""],nav:!0,items:1,mouseDrag:!0,autoplay:!1,autoplayTimeout:3e3,loop:!1,onInit:function(e){void 0!==e.nextButton&&o.addClass(e.nextButton,"tns-next"),void 0!==e.prevButton&&o.addClass(e.prevButton,"tns-prev")}});void 0!==t&&(t.events.on("dragStart",(function(e){e.event.preventDefault(),e.event.stopPropagation()})),o.addClass(e,"jeg_tns_active"),o.dataStorage.put(e,"tiny-slider",t))}}))}if("function"==typeof jnews.vidplaylist){var s=e.getElementsByClassName("jeg_video_playlist");s.length&&(o.forEach(s,(function(e,n){jnews.vidplaylist({container:e,textDirection:1==jnewsoption.rtl?"rtl":"ltr",onInit:function(e){void 0!==e.nextButton&&o.addClass(e.nextButton,"tns-next"),void 0!==e.prevButton&&o.addClass(e.prevButton,"tns-prev")}})})),setTimeout((function(){window.dispatchEvent(new Event("resize"))}),500))}if("function"==typeof jnews.slider){var l=e.querySelectorAll(".jeg_slider_wrapper .jeg_slider");l.length&&o.forEach(l,(function(e,n){jnews.slider({container:e,onInit:function(e){void 0!==e.nextButton&&o.addClass(e.nextButton,"tns-next"),void 0!==e.prevButton&&o.addClass(e.prevButton,"tns-prev")}})}))}"function"==typeof jnews.splitpost&&jnews.splitpost(e),o.forEach(i,(function(e,n){r(e)}))})),e(i).find('.content-inner img[src$=".gif"]').jnewsgif();var s=e(i).find(".jeg_reviewbars");s.length&&s.jskill();var l=e(i).find(".jeg_tabpost_widget");l.length&&l.jtabs(),e(i).find(".jeg_module_hook").jmodule(),jnews.widget.popular.init(i),jnews.popup.init(i),jnews.comment.init(i),jnews.mobile.truncate(),e.facebook_page_widget(),e.twitter_widget(),e.google_plus_widget(),e.pinterest_widget()}));var s=!!("object"==typeof jnews&&"object"==typeof jnews.library)&&jnews.library;function r(e){if(s){var n=e.getElementsByClassName("jeg_preview_slider");n.length&&(s.forEach(n,(function(e,n){var t=e,a=window[t.dataset.selector];jnews.jpreviewslider(t,a)})),setTimeout((function(){s.triggerEvents(s.win,"resize")}),500))}}s&&s.addEvents(s.doc,{jnews_after_split_content_ajax:function(e){if(e.detail&&e.detail.data){var n=e.detail.data;s.forEach(n,(function(e,n){r(e)}))}}})}(jQuery),function(e){"use strict";window.jnews=window.jnews||{};var n="object"==typeof jnews&&"object"==typeof jnews.library,t=!!n&&jnews.library;void 0===jnews.body_inject&&(window.jnews.body_inject=e("body")),window.jnews.menu={newsfeed_xhr:null,search_length_word:3,search_timeout:null,search_xhr:null,init:function(a){var i=this;i.isJNewsLibrary=n,i.jnewsLibrary=!!i.isJNewsLibrary&&t,void 0===a&&(a=jnews.body_inject?jnews.body_inject:e("body")),a.find(".jeg_menu").each((function(){var n=this,t=(n=e(n)).attr("data-animation");"slide"===t?n.superfish({animationType:t,popUpSelector:"ul,.sub-menu",speed:150,animationOut:100,onShow:function(){e(this).find(".jeg_newsfeed").length&&i.mega_menu_init(this,i)}}):"animateTransform"===t?n.superfish({animationType:t,popUpSelector:"ul,.sub-menu",disableHI:!0,speed:200,delay:0,onShow:function(){e(this).find(".jeg_newsfeed").length&&i.mega_menu_init(this,i)}}):"none"===t?n.superfish({animationType:t,popUpSelector:"ul,.sub-menu",delay:0,disableHI:!0,animation:{opacity:"show"},speed:1,onShow:function(){e(this).find(".jeg_newsfeed").length&&i.mega_menu_init(this,i)}}):n.superfish({popUpSelector:"ul,.sub-menu",delay:250,speed:"fast",animation:{opacity:"show"},onShow:function(){e(this).find(".jeg_newsfeed").length&&i.mega_menu_init(this,i)}})})),i.search(a),i.meganav(a)},meganav:function(n){var t=n.find(".jeg_meganav_bar");t.find(".current_title").on("click",(function(){t.toggleClass("nav-open")})),e(document).mouseup((function(n){t.hasClass("nav-open")&&!e(n.target).parents(".jeg_meganav_bar").length>0&&t.removeClass("nav-open")}))},search:function(e){this.search_toggle(e),this.live_search(e)},search_toggle:function(n){n.find(".jeg_search_toggle").on("click",(function(n){n.preventDefault();var t=e(this).parent(".jeg_search_wrapper"),a=e(this).parents(".jeg_container, .jeg_container_full"),i=t.hasClass("jeg_search_fullwidth_expand")?"hide_navbar_items":"";a.toggleClass("jeg_search_expanded "+i),e("i.fa",e(this)).toggleClass("fa-close fa-search"),e(".jeg_search_input",t).focus()}))},live_search:function(n){var t=this;jnewsoption.live_search&&(n.find(".jeg_search_wrapper .jeg_search_input").each((function(){var n=null,a=e(this),i=e(this).parents(".jeg_search_wrapper");e(this).on("keyup",(function(){if(!e(i).hasClass("jeg_search_modal_expand")){var o=e(this).val();o.trim().length>=t.search_length_word&&o!==n?(n=o,t.do_live_search(o,a)):o.trim().length<t.search_length_word&&t.hide_live_search()}}))})),n.find(".search-all-button").on("click",(function(n){n.preventDefault();var t=e(this).parents(".jeg_search_wrapper");e(t).find("form").submit()})))},do_live_search:function(n,t){var a=this;clearTimeout(a.search_timeout),a.search_timeout=setTimeout((function(){null!==a.search_xhr&&a.search_xhr.abort(),a.loading_search(t),a.search_xhr=e.ajax({url:jnews_ajax_url,type:"post",dataType:"html",data:{s:n,action:"jnews_ajax_live_search"},success:e.proxy(a.load_search,a,t)})}),200)},loading_search:function(n){var t=e(n).parents(".jeg_search_wrapper");e(t).find(".jeg_search_button .fa").removeClass("fa-search").addClass("fa-spinner fa-spin")},remove_loading_search:function(n){var t=e(n).parents(".jeg_search_wrapper");e(t).find(".jeg_search_button .fa").removeClass("fa-spinner fa-spin").addClass("fa-search")},load_search:function(n,t){var a=this,i=e(n).parents(".jeg_search_wrapper");""===t?(e(i).find(".search-result-wrapper").html(""),a.search_no_data(i)):(e(i).find(".search-result-wrapper").html("").append(t),a.search_data_exist(i)),a.remove_loading_search(n)},search_no_data:function(n){e(n).find(".jeg_search_result").removeClass("jeg_search_hide"),e(n).find(".jeg_search_result").removeClass("with_result").addClass("no_result")},search_data_exist:function(n){e(n).find(".jeg_search_result").removeClass("jeg_search_hide"),e(n).find(".jeg_search_result").addClass("with_result").removeClass("no_result")},hide_live_search:function(){e(".jeg_search_result").addClass("jeg_search_hide")},sticky_menu:function(n){void 0===n&&(n=jnews.body_inject?jnews.body_inject:e("body"));var t=n.find(".jeg_stickybar");if(t.length){t.jsticky({item_offset:".jeg_header",mode:t.data("mode"),state_class:"jeg_sticky_nav",wrapper:".jeg_stickybar",broadcast_position:!0})}},mega_menu_init:function(n,t){var a=e(n).parents(".jeg_megamenu");if(a.hasClass("ajaxload")&&!a.hasClass("loaded")){var i=a.data("category"),o="jnews_build_mega_category_1",s=a.data("number"),r="";a.hasClass("category_2")&&(o="jnews_build_mega_category_2",r=a.data("tags")),null!==t.newsfeed_xhr&&t.newsfeed_xhr.abort(),t.newsfeed_xhr=e.ajax({url:jnews_ajax_url,type:"post",dataType:"html",data:{cat_id:i,action:o,number:s,tags:r},success:function(e){a.find(".jeg_newsfeed .newsfeed_overlay").remove(),a.find(".jeg_newsfeed").append(e),t.create_menu_carousel(n),t.attach_mouseenter_subcategory(n,t),a.addClass("loaded")}})}else t.create_menu_carousel(n),t.attach_mouseenter_subcategory(n,t)},create_menu_carousel_content:function(e){var n=this,t=e.getElementsByClassName("newsfeed_carousel");if(t.length){var a=4,i=n.jnewsLibrary.getParents(e,".jeg_megamenu");i=(i=i.length?i[i.length-1]:n.jnewsLibrary.doc).dataset.itemRow,n.jnewsLibrary.forEach(t,(function(t,o){if(a="default"===i?n.jnewsLibrary.hasClass(t,"with_subcat")?n.jnewsLibrary.getParents(e,".jeg_header.full").length?5:3:n.jnewsLibrary.getParents(e,".jeg_header.full").length?6:4:i,!n.jnewsLibrary.hasClass(t,"jeg_tns_active")){var s=jnews.tns({container:t,textDirection:1==jnewsoption.rtl?"rtl":"ltr",controls:!0,controlsText:["",""],nav:!1,loop:!1,gutter:20,items:a,mouseDrag:!0,controlsPosition:"bottom",loop:!0,onInit:function(e){void 0!==e.nextButton&&n.jnewsLibrary.addClass(e.nextButton,"tns-next"),void 0!==e.prevButton&&n.jnewsLibrary.addClass(e.prevButton,"tns-prev")}});void 0!==s&&(s.events.on("dragStart",(function(e){e.event.preventDefault(),e.event.stopPropagation()})),n.jnewsLibrary.addClass(t,"jeg_tns_active"),n.jnewsLibrary.dataStorage.put(t,"tiny-slider",s))}var r=e.getElementsByClassName("jeg_newsfeed_list");r.length&&n.jnewsLibrary.addClass(r[0],"loaded")}))}},create_menu_carousel:function(e){var n=this;n.jnewsLibrary&&(e.length?n.jnewsLibrary.forEach(e,(function(e,t){n.create_menu_carousel_content(e)})):n.create_menu_carousel_content(e))},attach_mouseenter_subcategory:function(n,t){e(n).find(".jeg_newsfeed_subcat li").on("mouseenter",(function(){t.menu_load_newsfeed(this,t)}))},menu_loaded:function(e){e.addClass("loaded"),e.height("auto")},menu_load_newsfeed:function(n,t){if(!e(n).hasClass("active")){var a=e(n).parents(".jeg_newsfeed"),i=e(a).find(".jeg_newsfeed_list"),o=e(i).height();i.height(o);var s=e(n).data("cat-id"),r=i.find(".jeg_newsfeed_container[data-cat-id='"+s+"']");if(r.length)i.removeClass("loaded"),i.find(".jeg_newsfeed_container").removeClass("active").hide(),i.find(".jeg_newsfeed_container[data-cat-id='"+s+"']").fadeIn((function(){t.menu_loaded(i)}));else{null!==t.newsfeed_xhr&&t.newsfeed_xhr.abort();var l=e(n).parents(".jeg_megamenu"),d=e(l).data("number"),c="jnews_mega_category_1";e(l).hasClass("category_2")&&(c="jnews_mega_category_2"),i.removeClass("loaded"),t.newsfeed_xhr=e.ajax({url:jnews_ajax_url,type:"post",dataType:"html",data:{cat_id:s,action:c,number:d},success:function(e){i.find(".jeg_newsfeed_container").hide(),i.append(e),r=i.find(".jeg_newsfeed_container[data-cat-id='"+s+"']"),t.create_menu_carousel(r),t.menu_loaded(i)}})}e(n).addClass("active").siblings().removeClass("active")}}},jnews.menu.init(),jnews.menu.sticky_menu(),window.jnews.loginregister={xhr:null,captcha:[],validateCaptcha:!1,show_popup:function(n){var t=this;n.length>0&&n.magnificPopup({type:"inline",removalDelay:500,midClick:!0,callbacks:{beforeOpen:function(){this.st.mainClass="mfp-zoom-out",jnews.body_inject.removeClass("jeg_show_menu")},change:function(){var n=this.content.find(".g-recaptcha"),a=this.content.find("form").data("type"),i=n.data("sitekey");this.content.find(".form-message p").remove(),t.validateCaptcha=!1,1==jnewsoption.recaptcha&&n.length&&(n.hasClass("loaded")?grecaptcha.reset(t.captcha[a]):(t.captcha[a]=grecaptcha.render(n.get(0),{sitekey:i,callback:t.validateResponse.bind(t)}),e(n).addClass("loaded")))}}})},validateResponse:function(e){""!==e&&(this.validateCaptcha=!0)},init:function(){var n=jnews.body_inject?jnews.body_inject.find(".jeg_popuplink"):e(".jeg_popuplink");this.show_popup(n);var t=jnews.body_inject?jnews.body_inject.find(".jeg_popuplink_parent a"):e(".jeg_popuplink_parent a");this.show_popup(t)},validateForm:function(n){var t=e(n).find(".form-message"),a=e(n).data("type");if("register"===a&&""===e(n).find('[name="email"]').val())return t.html("<p class='alert alert-error'>"+jnewsoption.lang.empty_email+"</p>"),!1;if(("login"===a||"register"===a)&&""===e(n).find('[name="username"]').val())return t.html("<p class='alert alert-error'>"+jnewsoption.lang.empty_username+"</p>"),!1;if("login"===a&&""===e(n).find('[name="password"]').val())return t.html("<p class='alert alert-error'>"+jnewsoption.lang.empty_password+"</p>"),!1;if("forgot"===a&&""===e(n).find('[name="user_login"]').val())return t.html("<p class='alert alert-error'>"+jnewsoption.lang.empty_username+"</p>"),!1;return!(1==jnewsoption.recaptcha&&!this.validateCaptcha)||(t.html("<p class='alert alert-error'>"+jnewsoption.lang.invalid_recaptcha+"</p>"),!1)},hook_form:function(){var n=this;e(".jeg_popupform.jeg_popup_account > form").each((function(){var t=this,a=e(t),i=a.find(".button"),o=a.find(".form-message");a.on("submit",(function(s){s.preventDefault(),n.validateForm(t)&&(o.html(""),i.val(i.data("process")),null!==n.xhr&&n.xhr.abort(),n.xhr=e.post(jnews_ajax_url,{action:"jnews_refresh_nonce",refresh_action_nonce:"jnews_nonce"}).always((function(t){t.jnews_nonce&&(a.find('input[name="jnews_nonce"]').val(t.jnews_nonce),n.xhr=e.ajax({url:jnews_ajax_url,type:"post",dataType:"json",data:a.serialize(),success:function(e){if(1===e.response&&(o.html("<p class='alert alert-success'>"+e.string+"</p>"),1===e.refresh&&(window.location=jnewsoption.login_reload)),0==e.response){var t=a.data("type");i.val(i.data("string")),o.html("<p class='alert alert-error'>"+e.string+"</p>"),"undefined"!=typeof grecaptcha&&grecaptcha.reset(n.captcha[t])}i.val(i.data("string")),a.trigger("reset")}}))})))}))}))}},window.jnews.mobile={init:function(){this.navmobile=jnews.body_inject?jnews.body_inject.find(".jeg_navbar_mobile"):e(".jeg_navbar_mobile"),this.mobilemenu=jnews.body_inject?jnews.body_inject.find(".jeg_mobile_menu"):e(".jeg_mobile_menu"),this.menu(),this.search(),this.truncate()},truncate:function(){e(".content-inner.mobile-truncate").on("click",(function(){e(this).removeClass("mobile-truncate"),e(this).trigger("resize")}))},show_menu:function(e){e.preventDefault(),jnews.body_inject.toggleClass("jeg_show_menu")},hide_menu:function(e){e.preventDefault(),jnews.body_inject.removeClass("jeg_show_menu")},menu:function(){var n=this;n.mobilemenu.superfish(),e(".jeg_mobile_toggle").off("click",n.show_menu).on("click",n.show_menu),e(".jeg_menu_close").off("click",n.hide_menu).on("click",n.hide_menu),e(document).mouseup((function(n){jnews.body_inject.hasClass("jeg_show_menu")&&!e(n.target).parents(".jeg_mobile_wrapper").length>0&&jnews.body_inject.removeClass("jeg_show_menu")})),n.navmobile.jsticky({mode:n.navmobile.data("mode"),item_offset:".jeg_navbar_mobile",state_class:"jeg_sticky_nav",wrapper:".jeg_navbar_mobile_wrapper",use_translate3d:!0,broadcast_position:!1})},search:function(){e(".jeg_mobile_search").on("click",(function(n){n.preventDefault(),e("body").toggleClass("jeg_search_expanded"),e("i.fa",e(this)).toggleClass("fa-close fa-search"),e(".jeg_navbar_mobile_wrapper .jeg_search_input").val("").focus()}))}},jnews.mobile.init(),window.jnews.first_load_caller={init:function(){jnews.first_load?jnews.first_load.init():t.requestAnimationFrame.call(t.win,function(){this.init()}.bind(this))}},jnews.first_load_caller.init(),window.jnews.deprecated={init:function(n){void 0===n&&(n=jnews.body_inject?jnews.body_inject:e("body"));var t=n.find("[class*=google-plus].removed, [class*=google_plus].removed, [class*=googleplus].removed ");t.length&&t.off("click.share click").on("click",(function(e){e.preventDefault})).on("click",(function(){return!1}))}},jnews.deprecated.init(),window.jnews.widget={},window.jnews.widget.popular={init:function(n){void 0===n&&(n=jnews.body_inject?jnews.body_inject:e("body"));var t=n.find(".widget_jnews_popular .socialshare_list a");t.length&&t.on("click",(function(n){var t=e(this);n.preventDefault();var a=t.attr("href");window.open(a,"","height=570,width=750")}))}},jnews.widget.popular.init(),window.jnews.popup={popupcontainer:null,container:null,init:function(n){var t=this;t.isJNewsLibrary="object"==typeof jnews&&"object"==typeof jnews.library,t.jnewsLibrary=!!t.isJNewsLibrary&&jnews.library,t.jnewsLibrary&&(t.globalBody=jnews.body_inject?jnews.body_inject:e("body"),t.container=void 0===n?t.globalBody:n,"photoswipe"===jnewsoption.popup_script?(t.popupcontainer=t.globalBody.find(".pswp"),t.popupcontainer=t.popupcontainer.get(0),t.popup_photoswipe()):"magnific"===jnewsoption.popup_script&&t.popup_magnific())},expand_photoswipe:function(e,n){var t={index:n,history:!1,focus:!1,showAnimationDuration:0,hideAnimationDuration:0,barsSize:{top:44,bottom:0}};new PhotoSwipe(this.popupcontainer,PhotoSwipeUI_Default,e,t).init()},expand_single_featured:function(n){var t=e(n),a=t.find("img"),i=[{src:t.attr("href"),w:parseInt(a.data("full-width"),10),h:parseInt(a.data("full-height"),10),title:a.attr("alt")}];this.expand_photoswipe(i,0)},expand_featured_gallery:function(e){var n=this,t=n.jnewsLibrary.getParents(e,".featured_gallery");t=t.length?t[t.length-1]:n.jnewsLibrary.doc;var a=n.jnewsLibrary.dataStorage.get(t,"tiny-slider"),i=a.getInfo().index,o=[];n.jnewsLibrary.forEach(t.getElementsByTagName("a"),(function(e,t){var a=e.getElementsByTagName("img");if(a.length){a=a[0];var i=e.getElementsByClassName("thumbnail-container");if(i.length)if(i=i[0],n.jnewsLibrary.hasClass(i,"thumbnail-background")){var s=e.querySelectorAll(".thumbnail-container > div");i.length&&(s=s[0],o[t]={src:e.getAttribute("href"),w:parseInt(s.dataset.fullWidth,10),h:parseInt(s.dataset.fullHeight,10),title:s.getAttribute("alt")})}else o[t]={src:e.getAttribute("href"),w:parseInt(a.dataset.fullWidth,10),h:parseInt(a.dataset.fullHeight,10),title:a.getAttribute("alt")}}}));var s={index:i,history:!1,focus:!1,showAnimationDuration:0,hideAnimationDuration:0},r=new PhotoSwipe(n.popupcontainer,PhotoSwipeUI_Default,o,s);r.listen("afterChange",(function(){var e=r.getCurrentIndex();a.goTo(e)})),r.init()},expand_wp_gallery:function(n){var t=e(n),a=t.parents(".gallery"),i=t.parents("figure").index("figure"),o=[];a.find("a").each((function(n){var t=e(this),a=t.find("img"),i=t.parents(".gallery-item").find(".wp-caption-text").text();o[n]={src:t.attr("href"),w:parseInt(a.data("full-width"),10),h:parseInt(a.data("full-height"),10),title:i}})),this.expand_photoswipe(o,i)},expand_single_image_caption:function(n){var t=this,a=e(n),i=a.parent(),o=i.find("a").attr("href"),s=i.find(".wp-caption-text").text();a.addClass("load-image");var r=new Image;r.onload=function(){a.removeClass("load-image");var e=[{src:o,w:parseInt(r.width,10),h:parseInt(r.height,10),title:s}];t.expand_photoswipe(e,0)},r.src=o},expand_single_image:function(n){var t=this,a=e(n),i=a.find("img");a.addClass("load-image");var o=new Image;o.onload=function(){a.removeClass("load-image");var e=[{src:a.attr("href"),w:parseInt(o.width,10),h:parseInt(o.height,10),title:i.attr("alt")}];t.expand_photoswipe(e,0)},o.src=a.attr("href")},popup_photoswipe:function(){var n=this;n.container.find(".jeg_featured.featured_image a").on("click",(function(e){e.preventDefault(),n.expand_single_featured(this)})),n.container.find(".featured_gallery a").on("click",(function(e){e.preventDefault(),n.expand_featured_gallery(this)})),n.container.find(".content-inner .gallery").find("a[href$='.gif'], a[href$='.jpg'], a[href$='.png'], a[href$='.bmp']").on("click",(function(e){e.preventDefault(),n.expand_wp_gallery(this)})),n.container.find(".content-inner figure.wp-caption").find("a[href$='.gif'], a[href$='.jpg'], a[href$='.png'], a[href$='.bmp']").find("img").each((function(){e(this).parent().on("click",(function(e){e.preventDefault(),n.expand_single_image_caption(this)}))})),n.container.find(".content-inner").find("a[href$='.gif'], a[href$='.jpg'], a[href$='.png'], a[href$='.bmp']").find("img[class*='align']").each((function(){e(this).parent().on("click",(function(e){e.preventDefault(),n.expand_single_image(this)}))}))},expand_magnific:function(n){e(n).magnificPopup({gallery:{enabled:!0},type:"image",closeOnContentClick:!0,closeBtnInside:!1,fixedContentPos:!0,mainClass:"mfp-no-margins mfp-with-zoom",image:{verticalFit:!0,titleSrc:function(e){return"FIGURE"===e.el.parent().prop("tagName")?e.el.parent().find("figcaption").text():e.el.parents(".gallery-item").find(".wp-caption-text").length?e.el.parents(".gallery-item").find(".wp-caption-text").text():e.el.find("img").attr("alt")}}})},expand_magnific_gallery:function(e){this.expand_magnific(e)},popup_magnitif_single_gallery:function(n){var t=this,a=[];t.container.find(n).each((function(){var n=e(this);"IMG"===n.prop("tagName")?a.push(n.parent().get(0)):a.push(n.get(0))})),t.expand_magnific(a),t.expand_magnific_gallery(".featured_gallery a")},popup_magnitif_normal:function(n){var t=this;t.container.find(n).each((function(){var n=e(this);"IMG"===n.prop("tagName")?t.expand_magnific(n.parent().get(0)):t.expand_magnific(n.get(0))})),t.expand_magnific_gallery(".featured_gallery a")},popup_magnific:function(){var e=".content-inner figure.wp-caption > a > img,.content-inner a[href$='.gif'] > img[class*='wp-image'],.content-inner a[href$='.jpg'] > img[class*='wp-image'],.content-inner a[href$='.png'] > img[class*='wp-image'],.content-inner a[href$='.bmp'] > img[class*='wp-image'],.content-inner a[href$='.gif'] > img[class*='align'],.content-inner a[href$='.jpg'] > img[class*='align'],.content-inner a[href$='.png'] > img[class*='align'],.content-inner a[href$='.bmp'] > img[class*='align'],.jeg_featured.featured_image a,.content-inner .gallery a";"1"===jnewsoption.single_gallery?this.popup_magnitif_single_gallery(e):this.popup_magnitif_normal(e)}},jnews.popup.init(),window.jnews.comment={container:null,init:function(n){var t=this;t.container=void 0===n?jnews.body_inject?jnews.body_inject:e("body"):n,this.create(t.container);var a=t.container.find(".ajax_comment_button");a.length&&a.on("click",(function(){var n=e(this),a=n.data("id"),i=n.data("post-type"),o=n.data("loading");n.find("span").text(o),e.ajax({url:jnews_ajax_url,type:"post",dataType:"html",data:{action:"jnews_ajax_comment",post_id:a,post_type:i},success:function(e){n.after(e).remove(),t.create(t.container)}})}))},create:function(){var n,t,a,i,o,s,r=jnews.body_inject?jnews.body_inject.find("#comments"):e("#comments");if(r.length){var l=r.attr("data-type"),d=r.attr("data-id");if("disqus"==l)e("#disqus-script").length?DISQUS.reset({reload:!0}):(e("#disqus-script").remove(),(s=document.createElement("script")).id="disqus-script",s.type="text/javascript",s.async=!0,s.src="//"+d+".disqus.com/embed.js",(document.getElementsByTagName("head")[0]||document.getElementsByTagName("body")[0]).appendChild(s));else if("facebook"==l)if(e("#facebook-jssdk").length)"undefined"!=typeof FB&&FB.XFBML.parse();else if("facebook"==l){var c=d?"&appId="+d:"";n=document,t="script",a="facebook-jssdk",o=n.getElementsByTagName(t)[0],n.getElementById(a)||((i=n.createElement(t)).id=a,i.src="//connect.facebook.net/"+jnewsoption.language+"/sdk.js#xfbml=1&version=v2.8"+c,o.parentNode.insertBefore(i,o))}}}},jnews.comment.init(),window.jnews.ajax_analytic={update:function(e,n){this.google_analytics(window.location.pathname,document.title),this.track_jnews(n)},get_nonce:function(e){},google_analytics:function(e,n){"undefined"==typeof pageTracker&&"undefined"==typeof _gaq&&"undefined"==typeof ga&&"undefined"==typeof __gaTracker&&"undefined"==typeof gaplusu||("undefined"!=typeof pageTracker&&null!==pageTracker&&pageTracker._trackPageview(e),"undefined"!=typeof _gaq&&null!==_gaq&&(null!=n&&_gaq.push(["_set","title",n]),_gaq.push(["_trackPageview",e])),"undefined"!=typeof ga&&null!==ga&&(null!=n&&ga("set","title",n),ga("send","pageview",e)),"undefined"!=typeof __gaTracker&&null!==__gaTracker&&__gaTracker("send","pageview",e),"undefined"!=typeof gaplusu&&null!==gaplusu&&(null!=n&&gaplusu("set","title",n),gaplusu("send","pageview",e)))},track_jnews:function(e){jfla.indexOf("view_counter")>-1&&jnews.first_load.do_ajax({action:"jnews_first_load_action",load_action:["view_counter"],jnews_id:e})}},window.jnews.menu_drop={init:function(){this.menu_drop=jnews.body_inject?jnews.body_inject.find(".menu-item-has-children"):e(".menu-item-has-children"),this.menu_drop.length&&e(window).width()<=1024&&this.newEvent()},newEvent:function(){this.menu_drop.on("click",(function(){e(this).hasClass("sfHover")?(e(this).removeClass("sfHover"),e(this).find(".sub-menu").attr("style","display: none")):e(this).find(".sub-menu").attr("style","display: block")}))}},jnews.menu_drop.init(),window.jnews.edit_account={init:function(){this.changeHandler(),this.submitForm()},changeHandler:function(){var n=jnews.body_inject?jnews.body_inject.find("#fname"):e("#fname"),t=jnews.body_inject?jnews.body_inject.find("#lname"):e("#lname");(n.length||t.length)&&(n.on("change",(function(n){var t=this.value,a=e("#lname").val(),i=e("#dname");i.append("<option>"+t+"</option>"),i.append("<option>"+t+" "+a+"</option>"),i.append("<option>"+a+" "+t+"</option>"),i.chosen("destroy").chosen()})),t.on("change",(function(n){var t=e("#fname").val(),a=this.value,i=e("#dname");i.append("<option>"+a+"</option>"),i.append("<option>"+t+" "+a+"</option>"),i.append("<option>"+a+" "+t+"</option>"),i.chosen("destroy").chosen()})))},submitForm:function(){var n=jnews.body_inject.find(".jeg_account_right form");n.submit((function(t){if("false"===n.attr("onsubmit"))return e(window).scrollTop(0),!1}))}},jnews.edit_account.init()}(jQuery)
;!function(o){"use strict";window.jnews.zoom=window.jnews.zoom||{},window.jnews.zoom={init:function(){var e=this,n=jnews.library;e.window=o("window"),e.container=o("body"),e.refresh=!1,e.is_enable=void 0!==jnewsoption.zoom_button?jnewsoption.zoom_button:0,e.is_rtl=void 0!==jnewsoption.zoom_button?parseInt(jnewsoption.rtl):0,e.transform_origin=e.is_rtl?"top right":"0 0",e.zoomContainer=e.container.find(".jeg_meta_zoom"),(e.is_enable&&e.zoomContainer.length>0||e.zoomContainer.length>0)&&(e.zoomOut=e.zoomContainer.find(".zoom-out"),e.zoomReset=e.zoomContainer.find(".zoom-reset"),e.zoomIn=e.zoomContainer.find(".zoom-in"),e.zoomInStep=e.zoomContainer.attr("data-in-step"),e.zoomOutStep=10-e.zoomContainer.attr("data-out-step"),e.zoomLevel=1,e.progressBar=e.zoomContainer.find(".zoom-bar"),e.zoomEvent(),null!==e.getZoomCookie("zoom_position")&&e.updateZoomCookie(e.getZoomCookie("zoom_position")),e.container.find(".content-inner").each((function(o,e){e.querySelectorAll("img").forEach((function(o){n.addEvents(o,{load:function(){window.jnews.zoom.setSizeContent()}})}))})))},setSizeContent:function(e,n){var t=this,i=e,r=t.container.find(".content-inner");1!=e?t.container.addClass("jnews_zoom_activated"):t.container.removeClass("jnews_zoom_activated"),r.length>0&&r.each((function(e,n){var t=o(n),r=void 0===t.parents(".jeg_inner_content").width()?t.parents(".jeg_custom_content_wrapper").width():t.parents(".jeg_inner_content").width(),a=t.parents(".entry-content"),s=t.parents(".with-share"),m=s.children(".jeg_share_button.share-float"),c=parseInt(t.css("marginLeft").replace("px","")),d=parseInt(t.css("marginRight").replace("px","")),h=t.height(),l=t[0].getBoundingClientRect().height,f=i>=1?l>h?l:h:l>h?h:l,g=(f+="absolute"===m.css("position")?0:m.outerHeight(!0))-f/i,u=s.length>0?c+d:0,z=i>=1?r/i-u:r/i-2*u;z=1==i?"":z,a.length>0?(a.css({height:parseInt(f)+"px"}),t.css({width:z}),t.find(" > *").css({maxWidth:z})):(t.css({marginBottom:g+30}),t.css({width:z}),t.find(" > *").css({maxWidth:z}))})),n&&setTimeout((function(){t.setSizeContent(e,!1)}),150)},resetZoom:function(){var e=this;e.zoomLevel=1,e.updateProgressBar(1),document.cookie="zoom_position="+e.zoomLevel+"; path=/;",e.setSizeContent(e.zoomLevel,!0);var n=e.container.find(".content-inner"),t=n.parents(".entry-content");n.length>0&&n.each((function(i,r){e.refresh=!0;var a=o(r);a.find(" > *").css({maxWidth:""}),a.css({"-ms-zoom":"","-ms-transform":"","-ms-transform-origin":"","-moz-transform":"","-moz-transform-origin":"","-o-transform":"","-o-transform-origin":"","-webkit-transform":"","-webkit-transform-origin":"",overflow:"",width:""}).trigger("containerchange"),t.length>0?t.css({height:""}):n.css({marginBottom:""})}))},updateZoomCookie:function(e){var n=this;n.updateProgressBar(e);var t=n.container.find(".content-inner"),i="scale("+e+")",r=e,a=n.transform_origin,s="hidden";1==e&&(i="",r="",a="",s=""),t.length&&t.each((function(e,t){n.refresh=!0,o(t).css({"-ms-zoom":r,"-ms-transform":i,"-ms-transform-origin":a,"-moz-transform":i,"-moz-transform-origin":a,"-o-transform":i,"-o-transform-origin":a,"-webkit-transform":i,"-webkit-transform-origin":a,overflow:s}).trigger("containerchange")})),n.setSizeContent(e,!0)},updateZoom:function(e){var n=this;n.zoomLevel+=e,n.zoomLevel=n.zoomLevel>1+n.zoomInStep/10?1+n.zoomInStep/10:n.zoomLevel,n.zoomLevel=n.zoomLevel<n.zoomOutStep/10?n.zoomOutStep/10:n.zoomLevel,n.updateProgressBar(n.zoomLevel),document.cookie="zoom_position="+n.zoomLevel+"; path=/;";var t="scale("+n.zoomLevel+")",i=n.zoomLevel,r=n.transform_origin,a="hidden";1==n.zoomLevel&&(t="",i="",r="",a="");var s=n.container.find(".content-inner");if(s.length&&s.each((function(e,s){n.refresh=!0,o(s).css({"-ms-zoom":i,"-ms-transform":t,"-ms-transform-origin":r,"-moz-transform":t,"-moz-transform-origin":r,"-o-transform":t,"-o-transform-origin":r,"-webkit-transform":t,"-webkit-transform-origin":r,overflow:a}).trigger("containerchange")})),"object"==typeof jnews&&"object"==typeof jnews.library){var m=jnews.library.globalBody.querySelectorAll(".jeg_preview_slider");m.length&&jnews.library.forEach(m,(function(o,e){if(jnews.library.dataStorage.has(o,"jeg.previewslider")){var n=jnews.library.dataStorage.get(o,"jeg.previewslider");"normal"===n.mode?n.resize_normal():"fullscreen"===n.mode&&n.resize_fullscreen()}}))}n.setSizeContent(n.zoomLevel,!0)},getZoomCookie:function(o){var e=document.cookie.match("(^|;) ?"+o+"=([^;]*)(;|$)");return e?e[2]:null},updateProgressBar:function(e){var n=o(this.progressBar),t=100*(e-.8)/.5+0,i=t+"%";t<=100?n.width(i):t>100&&n.width("100%")},zoomEvent:function(){var e=this,n=e.container.find(".content-inner");e.width=o(window).width(),e.height=o(window).height(),e.zoomOut.on("click",(function(){e.updateZoom(-.1)})),e.zoomIn.on("click",(function(){e.updateZoom(.1)})),e.zoomReset.on("click",(function(){e.resetZoom()})),n.length&&n.each((function(n,t){e.getZoomCookie("zoom_position");var i=o(t);i.off("containerchange DOMSubtreeModified changed.owl.carousel refreshed.owl.carousel").on("containerchange DOMSubtreeModified changed.owl.carousel refreshed.owl.carousel",(function(n){var t=o(this),r=t.parents(".post-autoload").length?t.parents(".post-autoload").data("id"):0,a=t;r&&(a=e.container.find('.post-autoload[data-id="'+r+'"]').find(".content-inner"));if(e.refresh){e.refresh=!1;var s=a.find(".owl-carousel");setTimeout((function(){s.each((function(e,n){o(n).data("owl.carousel").onResize(),i.trigger("contaianerchange")}))}),1500)}setTimeout(function(){var n=o(this),t=e.getZoomCookie("zoom_position"),i=n.parents(".entry-content"),r=n.parents(".post-autoload").length?n.parents(".post-autoload").data("id"):0,a=n;r&&(a=e.container.find('.post-autoload[data-id="'+r+'"]').find(".content-inner"));var s=a.height(),m=a[0].getBoundingClientRect().height,c=t>=1?m>s?m:s:m>s?s:m,d=i.children(".jeg_share_button.share-float");c+="absolute"===d.css("position")?0:d.outerHeight(!0),i.length>0&&i.css({height:parseInt(c)+"px"})}.bind(this),1e3)}))})),o(window).on("resize",(function(){var n=o(window);e.width=n.width(),e.height=n.height(),e.resetZoom()}))}},o(document).on("jnews-ajax-load",(function(o,e){jnews.zoom.init()})),o(document).on("ready",(function(){jnews.zoom.init()}))}(jQuery)
;!function(e){"use strict";window.jnews.popuppost=window.jnews.popuppost||{},window.jnews.popuppost={container:null,content:null,element:null,init:function(n){var t=this;if(t.container=void 0===n?e("body"):n,t.element=t.container.find(".jeg_popup_post"),t.element.length>0){var o=e(t.element).parents(".post-wrap");t.content=e(o).find(".entry-content"),t.element.find(".jeg_popup_close").on("click",(function(e){e.preventDefault(),t.element.removeClass("active").addClass("closed")})),e(window).width()>1024?("object"==typeof jnews&&"object"==typeof jnews.library&&jnews.library.winLoad(t.dispatch.bind(t)),e(window).on("scroll resize",e.proxy(t.dispatch,t))):e(window).off("scroll resize",e.proxy(t.dispatch,t))}},dispatch:function(){var n=this,t=n.element.hasClass("closed"),o=e(window).scrollTop(),i=.5*e(window).height();o>Math.abs(n.content.offset().top+n.content.outerHeight()-i)&&!t?n.element.addClass("active"):n.element.removeClass("active")}},e(document).on("jnews-ajax-load",(function(e,n){jnews.popuppost.init(n)})),e(document).on("ready",(function(){jnews.popuppost.init()}))}(jQuery)
;!function(e){const t=e(".jeg_dark_mode_toggle"),o=e("body");for(var a,r,d=void 0===jnewsoption.site_slug?"/":jnewsoption.site_slug,i=void 0===jnewsoption.site_domain?window.location.hostname:jnewsoption.site_domain,n=window.location,c=new URL(n),s=c.searchParams.get("vc_editable"),g=c.searchParams.get("elementor-preview"),m=[],l=[],f=[],h=[],_=[],k=[],u=[],j=[],p=[e(".jeg_header_wrapper"),e(".jeg_header_sticky"),e(".jeg_navbar_mobile_wrapper"),e(".jeg_about")],w=(a="darkmode",(r=document.cookie.match("(^|;) ?"+a+"=([^;]*)(;|$)"))?r[2]:null),v=(new Date).getHours(),y=o.hasClass("jeg_full_dark"),C=0;C<4;C++)m[C]=p[C].find("img.jeg_logo_img").attr("data-light-src"),l[C]=p[C].find("img.jeg_logo_img").attr("data-light-srcset"),f[C]=p[C].find("img.jeg_logo_img").attr("data-dark-src"),h[C]=p[C].find("img.jeg_logo_img").attr("data-dark-srcset"),p[C].find(".footer_logo img").each((function(t,o){_[C]=void 0===_[C]?[]:_[C],k[C]=void 0===k[C]?[]:k[C],u[C]=void 0===u[C]?[]:u[C],j[C]=void 0===j[C]?[]:j[C],_[C][t]=e(o).attr("data-light-src"),k[C][t]=e(o).attr("data-light-srcset"),u[C][t]=e(o).attr("data-dark-src"),j[C][t]=e(o).attr("data-dark-srcset")}));if(o.hasClass("jeg_toggle_dark")&&(t.on("change",(function(){null===s&&null===g&&function(t){if(t.is(":checked")){o.addClass("jnews-dark-mode"),o.trigger("tinymce-add-dm");for(var a=0;a<4;a++)p[a].find(".jeg_logo_img").attr({src:f[a],srcset:h[a]}),p[a].find(".footer_logo img").each((function(t,o){e(o).attr({src:u[a][t],srcset:j[a][t],"data-srcset":j[a][t]})}));document.cookie="darkmode = true;path = "+d+";domain = "+i}else if(!t.is(":checked")){o.removeClass("jnews-dark-mode"),o.trigger("tinymce-remove-dm");for(a=0;a<4;a++)p[a].find(".jeg_logo_img").attr({src:m[a],srcset:l[a]}),p[a].find(".footer_logo img").each((function(t,o){e(o).attr({src:_[a][t],srcset:k[a][t],"data-srcset":k[a][t]})}));document.cookie="darkmode = false;path = "+d+";domain = "+i}}(e(this))})),t.click((function(){e(this).is(":checked")?t.each((function(){e(this).prop("checked",!0).trigger("change")})):e(this).is(":checked")||t.each((function(){e(this).prop("checked",!1).trigger("change")}))}))),o.hasClass("jeg_timed_dark"))if(v>=18||v<=6){o.addClass("jnews-dark-mode"),o.trigger("tinymce-add-dm");for(C=0;C<4;C++)p[C].find(".jeg_logo_img").attr({src:f[C],srcset:h[C]}),p[C].find(".footer_logo img").each((function(t,o){e(o).attr({src:u[C][t],srcset:j[C][t],"data-srcset":j[C][t]})}));document.cookie="darkmode = true;path = "+d+";domain = "+i}else{o.removeClass("jnews-dark-mode"),o.trigger("tinymce-remove-dm");for(C=0;C<4;C++)p[C].find(".jeg_logo_img").attr({src:m[C],srcset:l[C]}),p[C].find(".footer_logo img").each((function(t,o){e(o).attr({src:_[C][t],srcset:k[C][t],"data-srcset":k[C][t]})}));document.cookie="darkmode = false;path = "+d+";domain = "+i}"true"===w?(t.prop("checked",!0).trigger("change"),document.cookie="darkmode = true;path = "+d+";domain = "+i):"false"===w&&(t.prop("checked",!1).trigger("change"),document.cookie="darkmode = false;path = "+d+";domain = "+i),e(document).on("tinymce-editor-init",function(t,a){o.on("tinymce-add-dm",(function(){e(a.getBody()).addClass("jnews-dark-mode")})),o.on("tinymce-remove-dm",(function(){e(a.getBody()).removeClass("jnews-dark-mode")})),y||"true"===w?o.trigger("tinymce-add-dm"):o.trigger("tinymce-remove-dm")}.bind(o).bind(w))}(jQuery)
;!function(){"use strict";window.jnews=window.jnews||{},window.jnews.first_load=window.jnews.first_load||{},window.jnews.first_load=function(){var e=this,t=jnews.library,n="object"==typeof jnews&&"object"==typeof jnews.library;e.data=null,e.run_ajax=!0,e.run_loginregister=!0,e.clear=function(){e.run_ajax=!0,e.run_loginregister=!0,e.data=null},e.init=function(){n&&(t.globalBody.querySelectorAll(".jeg_popup_account").length&&jnews.loginregister&&e.run_loginregister&&(e.run_loginregister=!1,jnews.loginregister.init(),jnews.loginregister.hook_form()),jfla.length&&e.run_ajax&&(e.run_ajax=!1,e.do_ajax({action:"jnews_first_load_action",jnews_id:jnewsoption.postid,load_action:jfla})))},e.update_counter=function(){if(n){var o={total_view:t.globalBody.querySelectorAll(".jeg_share_stats .jeg_views_count .counts"),total_share:t.globalBody.querySelectorAll(".jeg_share_stats .jeg_share_count .counts"),total_comment:t.globalBody.querySelectorAll(".jeg_meta_comment a span")};t.forEach(e.data.counter,(function(e,n){o[n].length&&t.forEach(o[n],(function(n,o){t.setText(n,e)}))}))}},e.do_ajax=function(o){if(n){var a=new XMLHttpRequest;a.onreadystatechange=function(){XMLHttpRequest.DONE===a.readyState&&200==a.status&&(e.data=JSON.parse(a.responseText),e.data.counter&&"object"==typeof e.data.counter&&e.update_counter())},a.open("POST",jnews_ajax_url,!0),a.setRequestHeader("Content-Type","application/x-www-form-urlencoded; charset=UTF-8"),a.send(t.httpBuildQuery(o))}}},window.jnews.first_load=new window.jnews.first_load,jnews.first_load.init()}()
;