function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}
/*!
 * HC-Sticky
 * =========
 * Version: 2.2.3
 * Author: Some Web Media
 * Author URL: http://somewebmedia.com
 * Plugin URL: https://github.com/somewebmedia/hc-sticky
 * Description: Cross-browser plugin that makes any element on your page visible while you scroll
 * License: MIT
 */
/*!
 * HC-Sticky
 * =========
 * Version: 2.2.3
 * Author: Some Web Media
 * Author URL: http://somewebmedia.com
 * Plugin URL: https://github.com/somewebmedia/hc-sticky
 * Description: Cross-browser plugin that makes any element on your page visible while you scroll
 * License: MIT
 */!function(e,i){"use strict";if("object"===("undefined"==typeof module?"undefined":_typeof(module))&&"object"===_typeof(module.exports)){if(!e.document)throw new Error("HC-Sticky requires a browser to run.");module.exports=i(e)}else"function"==typeof define&&define.amd?define("hcSticky",[],i(e)):i(e)}("undefined"!=typeof window?window:this,function(e){"use strict";var i={top:0,bottom:0,bottomEnd:0,innerTop:0,innerSticker:null,stickyClass:"sticky",stickTo:null,followScroll:!0,responsive:null,mobileFirst:!1,onStart:null,onStop:null,onBeforeResize:null,onResize:null,resizeDebounce:100,disable:!1,queries:null,queryFlow:"down"},a=function(e,i,a){console.warn("%cHC Sticky:%c "+a+"%c '"+e+"'%c is now deprecated and will be removed. Use%c '"+i+"'%c instead.","color: #fa253b","color: default","color: #5595c6","color: default","color: #5595c6","color: default")},P=e.document,d=function(Pc){var M=this,f=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};if("string"==typeof Pc&&(Pc=P.querySelector(Pc)),!Pc)return!1;f.queries&&a("queries","responsive","option"),f.queryFlow&&a("queryFlow","mobileFirst","option");var S={},c=d.Helpers,O=Pc.parentNode;"static"===c.getStyle(O,"position")&&(O.style.position="relative");var ca,b,Z,ef,bX,fA,cG,aT,g,B,bY,aG,eg,cJ,cM,aR,aE,aX,fJ,ci=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};c.isEmptyObject(e)&&!c.isEmptyObject(S)||(S=Object.assign({},i,S,e))},cMa=function(){return S.disable},fg=function(){var a,P=S.responsive||S.queries;if(P){var d=e.innerWidth;if(a=f,(S=Object.assign({},i,a||{})).mobileFirst)for(var Pc in P)Pc<=d&&!c.isEmptyObject(P[Pc])&&ci(P[Pc]);else{var M=[];for(var O in P){var ca={};ca[O]=P[O],M.push(ca)}for(var b=M.length-1;0<=b;b--){var Z=M[b],ef=Object.keys(Z)[0];d<=ef&&!c.isEmptyObject(Z[ef])&&ci(Z[ef])}}}},N={css:{},position:null,stick:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};c.hasClass(Pc,S.stickyClass)||(!1===af.isAttached&&af.attach(),N.position="fixed",Pc.style.position="fixed",Pc.style.left=af.offsetLeft+"px",Pc.style.width=af.width,void 0===e.bottom?Pc.style.bottom="auto":Pc.style.bottom=e.bottom+"px",void 0===e.top?Pc.style.top="auto":Pc.style.top=e.top+"px",Pc.classList?Pc.classList.add(S.stickyClass):Pc.className+=" "+S.stickyClass,S.onStart&&S.onStart.call(Pc,Object.assign({},S)))},release:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};if(e.stop=e.stop||!1,!0===e.stop||"fixed"===N.position||null===N.position||!(void 0===e.top&&void 0===e.bottom||void 0!==e.top&&(parseInt(c.getStyle(Pc,"top"))||0)===e.top||void 0!==e.bottom&&(parseInt(c.getStyle(Pc,"bottom"))||0)===e.bottom)){!0===e.stop?!0===af.isAttached&&af.detach():!1===af.isAttached&&af.attach();var i=e.position||N.css.position;N.position=i,Pc.style.position=i,Pc.style.left=!0===e.stop?N.css.left:af.positionLeft+"px",Pc.style.width="absolute"!==i?N.css.width:af.width,void 0===e.bottom?Pc.style.bottom=!0===e.stop?"":"auto":Pc.style.bottom=e.bottom+"px",void 0===e.top?Pc.style.top=!0===e.stop?"":"auto":Pc.style.top=e.top+"px",Pc.classList?Pc.classList.remove(S.stickyClass):Pc.className=Pc.className.replace(new RegExp("(^|\\b)"+S.stickyClass.split(" ").join("|")+"(\\b|$)","gi")," "),S.onStop&&S.onStop.call(Pc,Object.assign({},S))}}},af={el:P.createElement("div"),offsetLeft:null,positionLeft:null,width:null,isAttached:!1,init:function(){for(var e in af.el.className="sticky-spacer",N.css)af.el.style[e]=N.css[e];af.el.style["z-index"]="-1";var i=c.getStyle(Pc);af.offsetLeft=c.offset(Pc).left-(parseInt(i.marginLeft)||0),af.positionLeft=c.position(Pc).left,af.width=c.getStyle(Pc,"width")},attach:function(){O.insertBefore(af.el,Pc),af.isAttached=!0},detach:function(){af.el=O.removeChild(af.el),af.isAttached=!1}},cZ=function(){var i,a,d,M;N.css=(i=Pc,a=c.getCascadedStyle(i),d=c.getStyle(i),M={height:i.offsetHeight+"px",left:a.left,right:a.right,top:a.top,bottom:a.bottom,position:d.position,display:d.display,verticalAlign:d.verticalAlign,boxSizing:d.boxSizing,marginLeft:a.marginLeft,marginRight:a.marginRight,marginTop:a.marginTop,marginBottom:a.marginBottom,paddingLeft:a.paddingLeft,paddingRight:a.paddingRight},a.float&&(M.float=a.float||"none"),a.cssFloat&&(M.cssFloat=a.cssFloat||"none"),d.MozBoxSizing&&(M.MozBoxSizing=d.MozBoxSizing),M.width="auto"!==a.width?a.width:"border-box"===M.boxSizing||"border-box"===M.MozBoxSizing?i.offsetWidth+"px":d.width,M),af.init(),ca=!(!S.stickTo||!("document"===S.stickTo||S.stickTo.nodeType&&9===S.stickTo.nodeType||"object"===_typeof(S.stickTo)&&S.stickTo instanceof("undefined"!=typeof HTMLDocument?HTMLDocument:Document))),b=S.stickTo?ca?P:"string"==typeof S.stickTo?P.querySelector(S.stickTo):S.stickTo:O,cM=(aX=function(){var e=Pc.offsetHeight+(parseInt(N.css.marginTop)||0)+(parseInt(N.css.marginBottom)||0),i=(cM||0)-e;return-1<=i&&i<=1?cM:e})(),ef=(aE=function(){return ca?Math.max(P.documentElement.clientHeight,P.body.scrollHeight,P.documentElement.scrollHeight,P.body.offsetHeight,P.documentElement.offsetHeight):b.offsetHeight})(),bX=ca?0:c.offset(b).top,fA=S.stickTo?ca?0:c.offset(O).top:bX,cG=e.innerHeight,aR=Pc.offsetTop-(parseInt(N.css.marginTop)||0),Z=S.innerSticker?"string"==typeof S.innerSticker?P.querySelector(S.innerSticker):S.innerSticker:null,aT=isNaN(S.top)&&-1<S.top.indexOf("%")?parseFloat(S.top)/100*cG:S.top,g=isNaN(S.bottom)&&-1<S.bottom.indexOf("%")?parseFloat(S.bottom)/100*cG:S.bottom,B=Z?Z.offsetTop:S.innerTop?S.innerTop:0,bY=isNaN(S.bottomEnd)&&-1<S.bottomEnd.indexOf("%")?parseFloat(S.bottomEnd)/100*cG:S.bottomEnd,aG=bX-aT+B+aR},gc=e.pageYOffset||P.documentElement.scrollTop,fi=0,h=function(){cM=aX(),ef=aE(),eg=bX+ef-aT-bY,cJ=cG<cM;var i,a=e.pageYOffset||P.documentElement.scrollTop,d=c.offset(Pc).top,M=d-a;fJ=a<gc?"up":"down",fi=a-gc,aG<(gc=a)?eg+aT+(cJ?g:0)-(S.followScroll&&cJ?0:aT)<=a+cM-B-(cG-(aG-B)<cM-B&&S.followScroll&&0<(i=cM-cG-B)?i:0)?N.release({position:"absolute",bottom:fA+O.offsetHeight-eg-aT}):cJ&&S.followScroll?"down"===fJ?M+cM+g<=cG+.9?N.stick({bottom:g}):"fixed"===N.position&&N.release({position:"absolute",top:d-aT-aG-fi+B}):Math.ceil(M+B)<0&&"fixed"===N.position?N.release({position:"absolute",top:d-aT-aG+B-fi}):a+aT-B<=d&&N.stick({top:aT-B}):N.stick({top:aT-B}):N.release({stop:!0})},j=!1,k=!1,l=function(){j&&(c.event.unbind(e,"scroll",h),j=!1)},m=function(){null!==Pc.offsetParent&&"none"!==c.getStyle(Pc,"display")?(cZ(),ef<=cM?l():(h(),j||(c.event.bind(e,"scroll",h),j=!0))):l()},n=function(){Pc.style.position="",Pc.style.left="",Pc.style.top="",Pc.style.bottom="",Pc.style.width="",Pc.classList?Pc.classList.remove(S.stickyClass):Pc.className=Pc.className.replace(new RegExp("(^|\\b)"+S.stickyClass.split(" ").join("|")+"(\\b|$)","gi")," "),N.css={},!(N.position=null)===af.isAttached&&af.detach()},o=function(){n(),fg(),cMa()?l():m()},p=function(){S.onBeforeResize&&S.onBeforeResize.call(Pc,Object.assign({},S)),o(),S.onResize&&S.onResize.call(Pc,Object.assign({},S))},q=S.resizeDebounce?c.debounce(p,S.resizeDebounce):p,r=function(){k&&(c.event.unbind(e,"resize",q),k=!1),l()},s=function(){k||(c.event.bind(e,"resize",q),k=!0),fg(),cMa()?l():m()};this.options=function(e){return e?S[e]:Object.assign({},S)},this.refresh=o,this.update=function(e){ci(e),f=Object.assign({},f,e||{}),o()},this.attach=s,this.detach=r,this.destroy=function(){r(),n()},this.triggerMethod=function(e,i){"function"==typeof M[e]&&M[e](i)},this.reinit=function(){a("reinit","refresh","method"),o()},ci(f),s(),c.event.bind(e,"load",o)};if(void 0!==e.jQuery){var Pc=e.jQuery,M="hcSticky";Pc.fn.extend({hcSticky:function(e,i){return this.length?"options"===e?Pc.data(this.get(0),M).options():this.each(function(){var a=Pc.data(this,M);a?a.triggerMethod(e,i):(a=new d(this,e),Pc.data(this,M,a))}):this}})}return e.hcSticky=e.hcSticky||d,d}),function(e){"use strict";var i=e.hcSticky,a=e.document;"function"!=typeof Object.assign&&Object.defineProperty(Object,"assign",{value:function(e,i){if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var a=Object(e),P=1;P<arguments.length;P++){var d=arguments[P];if(null!=d)for(var Pc in d)Object.prototype.hasOwnProperty.call(d,Pc)&&(a[Pc]=d[Pc])}return a},writable:!0,configurable:!0}),Array.prototype.forEach||(Array.prototype.forEach=function(e){var i,a;if(null==this)throw new TypeError("this is null or not defined");var P=Object(this),d=P.length>>>0;if("function"!=typeof e)throw new TypeError(e+" is not a function");for(1<arguments.length&&(i=arguments[1]),a=0;a<d;){var Pc;a in P&&(Pc=P[a],e.call(i,Pc,a,P)),a++}});var P=function(){var i=a.documentElement,P=function(){};function d(i){var a=e.event;return a.target=a.target||a.srcElement||i,a}i.addEventListener?P=function(e,i,a){e.addEventListener(i,a,!1)}:i.attachEvent&&(P=function(e,i,a){e[i+a]=a.handleEvent?function(){var i=d(e);a.handleEvent.call(a,i)}:function(){var i=d(e);a.call(e,i)},e.attachEvent("on"+i,e[i+a])});var Pc=function(){};return i.removeEventListener?Pc=function(e,i,a){e.removeEventListener(i,a,!1)}:i.detachEvent&&(Pc=function(e,i,a){e.detachEvent("on"+i,e[i+a]);try{delete e[i+a]}catch(P){e[i+a]=void 0}}),{bind:P,unbind:Pc}}(),d=function(i,P){return e.getComputedStyle?P?a.defaultView.getComputedStyle(i,null).getPropertyValue(P):a.defaultView.getComputedStyle(i,null):i.currentStyle?P?i.currentStyle[P.replace(/-\w/g,function(e){return e.toUpperCase().replace("-","")})]:i.currentStyle:void 0},Pc=function(i){var P=i.getBoundingClientRect(),d=e.pageYOffset||a.documentElement.scrollTop,Pc=e.pageXOffset||a.documentElement.scrollLeft;return{top:P.top+d,left:P.left+Pc}};i.Helpers={isEmptyObject:function(e){for(var i in e)return!1;return!0},debounce:function(e,i,a){var P;return function(){var d=this,Pc=arguments,M=a&&!P;clearTimeout(P),P=setTimeout(function(){P=null,a||e.apply(d,Pc)},i),M&&e.apply(d,Pc)}},hasClass:function(e,i){return e.classList?e.classList.contains(i):new RegExp("(^| )"+i+"( |$)","gi").test(e.className)},offset:Pc,position:function(e){var i=e.offsetParent,a=Pc(i),P=Pc(e),M=d(i),f=d(e);return a.top+=parseInt(M.borderTopWidth)||0,a.left+=parseInt(M.borderLeftWidth)||0,{top:P.top-a.top-(parseInt(f.marginTop)||0),left:P.left-a.left-(parseInt(f.marginLeft)||0)}},getStyle:d,getCascadedStyle:function(i){var P,d=i.cloneNode(!0);d.style.display="none",Array.prototype.slice.call(d.querySelectorAll('input[type="radio"]')).forEach(function(e){e.removeAttribute("name")}),i.parentNode.insertBefore(d,i.nextSibling),d.currentStyle?P=d.currentStyle:e.getComputedStyle&&(P=a.defaultView.getComputedStyle(d,null));var Pc={};for(var M in P)!isNaN(M)||"string"!=typeof P[M]&&"number"!=typeof P[M]||(Pc[M]=P[M]);if(Object.keys(Pc).length<3)for(var f in Pc={},P)isNaN(f)||(Pc[P[f].replace(/-\w/g,function(e){return e.toUpperCase().replace("-","")})]=P.getPropertyValue(P[f]));if(Pc.margin||"auto"!==Pc.marginLeft?Pc.margin||Pc.marginLeft!==Pc.marginRight||Pc.marginLeft!==Pc.marginTop||Pc.marginLeft!==Pc.marginBottom||(Pc.margin=Pc.marginLeft):Pc.margin="auto",!Pc.margin&&"0px"===Pc.marginLeft&&"0px"===Pc.marginRight){var S=i.offsetLeft-i.parentNode.offsetLeft,c=S-(parseInt(Pc.left)||0)-(parseInt(Pc.right)||0),O=i.parentNode.offsetWidth-i.offsetWidth-S-(parseInt(Pc.right)||0)+(parseInt(Pc.left)||0)-c;0!==O&&1!==O||(Pc.margin="auto")}return d.parentNode.removeChild(d),d=null,Pc},event:P}}(window);