function setEmail(n,t){$("#"+n).val(t);$(".warning-message").hide()}function showPositionByLatLon(n){console.log("showPositionByIpLatLon");getClosestStore(n.coords.latitude,n.coords.longitude,"");$(window).recordEvent("locator","geolocation","latlon")}function showPositionByIpFallback(n){console.log("showPositionByIpFallback ("+n.code+"): "+n.message);getClosestStore(0,0,"");$(window).recordEvent("locator","geolocation","fallback")}function showPositionByIp(){console.log("showPositionByIp");getClosestStore(0,0,"");$(window).recordEvent("locator","geolocation","ipaddress")}function showPositionByZip(){getClosestStore(0,0,currentZip)}function getClosestStore(n,t,i){console.log("getClosestStore: "+n+", "+t+", "+i);var r={latitude:n,longitude:t,zipcode:i};$.ajax({type:"POST",url:"//"+window.location.host+"/ws/service.asmx/GetClosestStore",data:JSON.stringify(r),contentType:"application/json; charset=utf-8",dataType:"json"}).always(function(i){if(storeNumber=0,i.d!==null){console.log("store info: "+JSON.stringify(i.d));currentZip=i.d.Zipcode;storeNumber=i.d.StoreNumber;storeNumber===2027&&$(window).recordEvent("locator","widget","store-2027");var r=currentDateTime.getMinutes();r<10&&(r="0"+r);storeHoursVersion==="3"?($("#store-name").html(i.d.StoreName+" ("+$(window).getWeekDay(currentDateTime.getDay())+" "+currentDateTime.getHours()+":"+r+")"),$(".open-until").append($(window).getStoreHoursStringV3(i.d.RossStoreHours,currentDateTime))):($("#store-name").html(i.d.StoreName),$(".open-until").append($(window).getStoreHoursString(i.d.RossStoreHours)))}else hideModules("hide-error");setIframeSrc(n,t,currentZip,storeNumber)})}function hideModules(n){$("#x1563").hide();$(".storepromo").hide();var t=window.innerWidth;t<996&&($(".header-bg").css("height","60px"),$(".top-nav").css("height","60px"),$(".top-nav").css("background","none"),$(".top-nav").css("background-color","#fff"),$(".main-content").css("margin-top","60px"));$(window).recordEvent("locator","widget",n)}function setIframeSrc(n,t,i,r){var u=$("#iframe-store-locator");u.length>0&&(r===0?u.attr("src","//hosted.where2getit.com/rossdressforless/2014"):$.urlParam("fromemail")&&$.urlParam("clientkey")?u.attr("src","//hosted.where2getit.com/rossdressforless/2014?getlist_search&clientkey="+$.urlParam("clientkey")):$.urlParam("opendate")?u.attr("src","//hosted.where2getit.com/rossdressforless/2014?opendate="+$.urlParam("opendate")+"&searchradius=3000&limit=35"):$.urlParam("shopping_spree")?n!==0&&t!==0?u.attr("src","//hosted.where2getit.com/rossdressforless/2014?latitude="+n+"&longitude="+t+"&shopping_spree=1&searchradius=3000"):u.attr("src","//hosted.where2getit.com/rossdressforless/2014?shopping_spree=1&searchradius=3000"):n!==0&&t!==0?u.attr("src","//hosted.where2getit.com/rossdressforless/2014?latitude="+n+"&longitude="+t):i!==null&&i.length>0?u.attr("src","//hosted.where2getit.com/rossdressforless/2014?locator_search&addressline="+currentZip):u.attr("src","//hosted.where2getit.com/rossdressforless/2014?locator_search&addressline="))}!function(n,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("jquery"),require("popper.js")):"function"==typeof define&&define.amd?define(["exports","jquery","popper.js"],t):t(n.bootstrap={},n.jQuery,n.Popper)}(this,function(n,t,i){"use strict";function of(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function g(n,t,i){return t&&of(n.prototype,t),i&&of(n,i),n}function v(n){for(var i,r,t=1;t<arguments.length;t++)i=null!=arguments[t]?arguments[t]:{},r=Object.keys(i),"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(i).filter(function(n){return Object.getOwnPropertyDescriptor(i,n).enumerable}))),r.forEach(function(t){var r,u,f;r=n;f=i[u=t];u in r?Object.defineProperty(r,u,{value:f,enumerable:!0,configurable:!0,writable:!0}):r[u]=f});return n}t=t&&t.hasOwnProperty("default")?t.default:t;i=i&&i.hasOwnProperty("default")?i.default:i;var y,dt,er,or,sf,sr,hf,cf,lf,ht,l,gt,hr,cr,lr,af,ni,vf,yf,ou,pf,wf,bf,su,hu,ti,e,ct,pi,nt,cu,kf,ar,df,wi,bi,gf,ne,tt,te,ut,ie,re,ue,fe,ee,oe,vr,se,he,ce,le,ae,lt,s,at,vt,ii,ve,yr,ye,ri,ft,ki,di,pr,lu,pe,we,au,ui,o,yt,gi,it,wr,be,ke,w,vu,et,de,ge,no,yu,to,nr,io,br,ro,uo,fo,eo,oo,so,ho,co,lo,ao,rt,r,pt,tr,p,vo,kr,yo,c,po,wo,pu,wt,ir,bo,ko,go,wu,bu,fi,u,ot,dr,b,ns,ku,ts,is,rs,us,ei,gr,fs,oi,si,es,os,hi,nu,ss,hs,rr,d,bt,tu,k,cs,du,ls,as,vs,ys,ps,ws,bs,ks,ur,a,st,iu,fr,ds,gu,gs,ru,nh,kt,th,ih,nf,uu,rh,tf,uh,fh,eh,oh,rf,ci,h,fu,li,sh,ai,hh,vi,ch,lh,uf,ah,vh,ff,ef,yh,ph,wh,yi,f=function(n){function r(i){var u=this,r=!1;return n(this).one(t.TRANSITION_END,function(){r=!0}),setTimeout(function(){r||t.triggerTransitionEnd(u)},i),this}var i="transitionend",t={TRANSITION_END:"bsTransitionEnd",getUID:function(n){for(;n+=~~(1e6*Math.random()),document.getElementById(n););return n},getSelectorFromElement:function(n){var t=n.getAttribute("data-target");t&&"#"!==t||(t=n.getAttribute("href")||"");try{return document.querySelector(t)?t:null}catch(n){return null}},getTransitionDurationFromElement:function(t){if(!t)return 0;var i=n(t).css("transition-duration");return parseFloat(i)?(i=i.split(",")[0],1e3*parseFloat(i)):0},reflow:function(n){return n.offsetHeight},triggerTransitionEnd:function(t){n(t).trigger(i)},supportsTransitionEnd:function(){return Boolean(i)},isElement:function(n){return(n[0]||n).nodeType},typeCheckConfig:function(n,i,r){var u,s;for(u in r)if(Object.prototype.hasOwnProperty.call(r,u)){var e=r[u],f=i[u],o=f&&t.isElement(f)?"element":(s=f,{}.toString.call(s).match(/\s([a-z]+)/i)[1].toLowerCase());if(!new RegExp(e).test(o))throw new Error(n.toUpperCase()+': Option "'+u+'" provided type "'+o+'" but expected type "'+e+'".');}}};return n.fn.emulateTransitionEnd=r,n.event.special[t.TRANSITION_END]={bindType:i,delegateType:i,handle:function(t){if(n(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}},t}(t),bh=(dt="alert",or="."+(er="bs.alert"),sf=(y=t).fn[dt],sr={CLOSE:"close"+or,CLOSED:"closed"+or,CLICK_DATA_API:"click"+or+".data-api"},hf="alert",cf="fade",lf="show",ht=function(){function n(n){this._element=n}var t=n.prototype;return t.close=function(n){var t=this._element;n&&(t=this._getRootElement(n));this._triggerCloseEvent(t).isDefaultPrevented()||this._removeElement(t)},t.dispose=function(){y.removeData(this._element,er);this._element=null},t._getRootElement=function(n){var i=f.getSelectorFromElement(n),t=!1;return i&&(t=document.querySelector(i)),t||(t=y(n).closest("."+hf)[0]),t},t._triggerCloseEvent=function(n){var t=y.Event(sr.CLOSE);return y(n).trigger(t),t},t._removeElement=function(n){var i=this,t;(y(n).removeClass(lf),y(n).hasClass(cf))?(t=f.getTransitionDurationFromElement(n),y(n).one(f.TRANSITION_END,function(t){return i._destroyElement(n,t)}).emulateTransitionEnd(t)):this._destroyElement(n)},t._destroyElement=function(n){y(n).detach().trigger(sr.CLOSED).remove()},n._jQueryInterface=function(t){return this.each(function(){var r=y(this),i=r.data(er);i||(i=new n(this),r.data(er,i));"close"===t&&i[t](this)})},n._handleDismiss=function(n){return function(t){t&&t.preventDefault();n.close(this)}},g(n,null,[{key:"VERSION",get:function(){return"4.1.3"}}]),n}(),y(document).on(sr.CLICK_DATA_API,'[data-dismiss="alert"]',ht._handleDismiss(new ht)),y.fn[dt]=ht._jQueryInterface,y.fn[dt].Constructor=ht,y.fn[dt].noConflict=function(){return y.fn[dt]=sf,ht._jQueryInterface},ht),kh=(gt="button",cr="."+(hr="bs.button"),lr=".data-api",af=(l=t).fn[gt],ni="active",vf="btn",ou='[data-toggle^="button"]',pf='[data-toggle="buttons"]',wf="input",bf=".active",su=".btn",hu={CLICK_DATA_API:"click"+cr+lr,FOCUS_BLUR_DATA_API:(yf="focus")+cr+lr+" blur"+cr+lr},ti=function(){function n(n){this._element=n}var t=n.prototype;return t.toggle=function(){var i=!0,u=!0,t=l(this._element).closest(pf)[0],n,r;if(t&&(n=this._element.querySelector(wf),n)){if("radio"===n.type&&(n.checked&&this._element.classList.contains(ni)?i=!1:(r=t.querySelector(bf),r&&l(r).removeClass(ni))),i){if(n.hasAttribute("disabled")||t.hasAttribute("disabled")||n.classList.contains("disabled")||t.classList.contains("disabled"))return;n.checked=!this._element.classList.contains(ni);l(n).trigger("change")}n.focus();u=!1}u&&this._element.setAttribute("aria-pressed",!this._element.classList.contains(ni));i&&l(this._element).toggleClass(ni)},t.dispose=function(){l.removeData(this._element,hr);this._element=null},n._jQueryInterface=function(t){return this.each(function(){var i=l(this).data(hr);i||(i=new n(this),l(this).data(hr,i));"toggle"===t&&i[t]()})},g(n,null,[{key:"VERSION",get:function(){return"4.1.3"}}]),n}(),l(document).on(hu.CLICK_DATA_API,ou,function(n){n.preventDefault();var t=n.target;l(t).hasClass(vf)||(t=l(t).closest(su));ti._jQueryInterface.call(l(t),"toggle")}).on(hu.FOCUS_BLUR_DATA_API,ou,function(n){var t=l(n.target).closest(su)[0];l(t).toggleClass(yf,/^focus(in)?$/.test(n.type))}),l.fn[gt]=ti._jQueryInterface,l.fn[gt].Constructor=ti,l.fn[gt].noConflict=function(){return l.fn[gt]=af,ti._jQueryInterface},ti),dh=(ct="carousel",nt="."+(pi="bs.carousel"),cu=".data-api",kf=(e=t).fn[ct],ar={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0},df={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean"},wi="next",bi="prev",gf="left",ne="right",tt={SLIDE:"slide"+nt,SLID:"slid"+nt,KEYDOWN:"keydown"+nt,MOUSEENTER:"mouseenter"+nt,MOUSELEAVE:"mouseleave"+nt,TOUCHEND:"touchend"+nt,LOAD_DATA_API:"load"+nt+cu,CLICK_DATA_API:"click"+nt+cu},te="carousel",ut="active",ie="slide",re="carousel-item-right",ue="carousel-item-left",fe="carousel-item-next",ee="carousel-item-prev",oe=".active",vr=".active.carousel-item",se=".carousel-item",he=".carousel-item-next, .carousel-item-prev",ce=".carousel-indicators",le="[data-slide], [data-slide-to]",ae='[data-ride="carousel"]',lt=function(){function t(n,t){this._items=null;this._interval=null;this._activeElement=null;this._isPaused=!1;this._isSliding=!1;this.touchTimeout=null;this._config=this._getConfig(t);this._element=e(n)[0];this._indicatorsElement=this._element.querySelector(ce);this._addEventListeners()}var n=t.prototype;return n.next=function(){this._isSliding||this._slide(wi)},n.nextWhenVisible=function(){!document.hidden&&e(this._element).is(":visible")&&"hidden"!==e(this._element).css("visibility")&&this.next()},n.prev=function(){this._isSliding||this._slide(bi)},n.pause=function(n){n||(this._isPaused=!0);this._element.querySelector(he)&&(f.triggerTransitionEnd(this._element),this.cycle(!0));clearInterval(this._interval);this._interval=null},n.cycle=function(n){n||(this._isPaused=!1);this._interval&&(clearInterval(this._interval),this._interval=null);this._config.interval&&!this._isPaused&&(this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))},n.to=function(n){var r=this,t,i;if(this._activeElement=this._element.querySelector(vr),t=this._getItemIndex(this._activeElement),!(n>this._items.length-1||n<0))if(this._isSliding)e(this._element).one(tt.SLID,function(){return r.to(n)});else{if(t===n)return this.pause(),void this.cycle();i=t<n?wi:bi;this._slide(i,this._items[n])}},n.dispose=function(){e(this._element).off(nt);e.removeData(this._element,pi);this._items=null;this._config=null;this._element=null;this._interval=null;this._isPaused=null;this._isSliding=null;this._activeElement=null;this._indicatorsElement=null},n._getConfig=function(n){return n=v({},ar,n),f.typeCheckConfig(ct,n,df),n},n._addEventListeners=function(){var n=this;this._config.keyboard&&e(this._element).on(tt.KEYDOWN,function(t){return n._keydown(t)});"hover"===this._config.pause&&(e(this._element).on(tt.MOUSEENTER,function(t){return n.pause(t)}).on(tt.MOUSELEAVE,function(t){return n.cycle(t)}),"ontouchstart"in document.documentElement&&e(this._element).on(tt.TOUCHEND,function(){n.pause();n.touchTimeout&&clearTimeout(n.touchTimeout);n.touchTimeout=setTimeout(function(t){return n.cycle(t)},500+n._config.interval)}))},n._keydown=function(n){if(!/input|textarea/i.test(n.target.tagName))switch(n.which){case 37:n.preventDefault();this.prev();break;case 39:n.preventDefault();this.next()}},n._getItemIndex=function(n){return this._items=n&&n.parentNode?[].slice.call(n.parentNode.querySelectorAll(se)):[],this._items.indexOf(n)},n._getItemByDirection=function(n,t){var u=n===wi,f=n===bi,i=this._getItemIndex(t),e=this._items.length-1,r;return(f&&0===i||u&&i===e)&&!this._config.wrap?t:(r=(i+(n===bi?-1:1))%this._items.length,-1===r?this._items[this._items.length-1]:this._items[r])},n._triggerSlideEvent=function(n,t){var r=this._getItemIndex(n),u=this._getItemIndex(this._element.querySelector(vr)),i=e.Event(tt.SLIDE,{relatedTarget:n,direction:t,from:u,to:r});return e(this._element).trigger(i),i},n._setActiveIndicatorElement=function(n){var i,t;this._indicatorsElement&&(i=[].slice.call(this._indicatorsElement.querySelectorAll(oe)),e(i).removeClass(ut),t=this._indicatorsElement.children[this._getItemIndex(n)],t&&e(t).addClass(ut))},n._slide=function(n,t){var u,o,s,c=this,r=this._element.querySelector(vr),v=this._getItemIndex(r),i=t||r&&this._getItemByDirection(n,r),y=this._getItemIndex(i),l=Boolean(this._interval),h,a;(n===wi?(u=ue,o=fe,s=gf):(u=re,o=ee,s=ne),i&&e(i).hasClass(ut))?this._isSliding=!1:!this._triggerSlideEvent(i,s).isDefaultPrevented()&&r&&i&&(this._isSliding=!0,l&&this.pause(),this._setActiveIndicatorElement(i),h=e.Event(tt.SLID,{relatedTarget:i,direction:s,from:v,to:y}),e(this._element).hasClass(ie)?(e(i).addClass(o),f.reflow(i),e(r).addClass(u),e(i).addClass(u),a=f.getTransitionDurationFromElement(r),e(r).one(f.TRANSITION_END,function(){e(i).removeClass(u+" "+o).addClass(ut);e(r).removeClass(ut+" "+o+" "+u);c._isSliding=!1;setTimeout(function(){return e(c._element).trigger(h)},0)}).emulateTransitionEnd(a)):(e(r).removeClass(ut),e(i).addClass(ut),this._isSliding=!1,e(this._element).trigger(h)),l&&this.cycle())},t._jQueryInterface=function(n){return this.each(function(){var i=e(this).data(pi),r=v({},ar,e(this).data()),u;if("object"==typeof n&&(r=v({},r,n)),u="string"==typeof n?n:r.slide,i||(i=new t(this,r),e(this).data(pi,i)),"number"==typeof n)i.to(n);else if("string"==typeof u){if("undefined"==typeof i[u])throw new TypeError('No method named "'+u+'"');i[u]()}else r.interval&&(i.pause(),i.cycle())})},t._dataApiClickHandler=function(n){var o=f.getSelectorFromElement(this),i,u,r;o&&(i=e(o)[0],i&&e(i).hasClass(te)&&(u=v({},e(i).data(),e(this).data()),r=this.getAttribute("data-slide-to"),r&&(u.interval=!1),t._jQueryInterface.call(e(i),u),r&&e(i).data(pi).to(r),n.preventDefault()))},g(t,null,[{key:"VERSION",get:function(){return"4.1.3"}},{key:"Default",get:function(){return ar}}]),t}(),e(document).on(tt.CLICK_DATA_API,le,lt._dataApiClickHandler),e(window).on(tt.LOAD_DATA_API,function(){for(var t,i=[].slice.call(document.querySelectorAll(ae)),n=0,r=i.length;n<r;n++)t=e(i[n]),lt._jQueryInterface.call(t,t.data())}),e.fn[ct]=lt._jQueryInterface,e.fn[ct].Constructor=lt,e.fn[ct].noConflict=function(){return e.fn[ct]=kf,lt._jQueryInterface},lt),gh=(at="collapse",ii="."+(vt="bs.collapse"),ve=(s=t).fn[at],yr={toggle:!0,parent:""},ye={toggle:"boolean",parent:"(string|element)"},ri={SHOW:"show"+ii,SHOWN:"shown"+ii,HIDE:"hide"+ii,HIDDEN:"hidden"+ii,CLICK_DATA_API:"click"+ii+".data-api"},ft="show",ki="collapse",di="collapsing",pr="collapsed",lu="width",pe="height",we=".show, .collapsing",au='[data-toggle="collapse"]',ui=function(){function t(n,t){this._isTransitioning=!1;this._element=n;this._config=this._getConfig(t);this._triggerArray=s.makeArray(document.querySelectorAll('[data-toggle="collapse"][href="#'+n.id+'"],[data-toggle="collapse"][data-target="#'+n.id+'"]'));for(var u=[].slice.call(document.querySelectorAll(au)),i=0,o=u.length;i<o;i++){var e=u[i],r=f.getSelectorFromElement(e),h=[].slice.call(document.querySelectorAll(r)).filter(function(t){return t===n});null!==r&&0<h.length&&(this._selector=r,this._triggerArray.push(e))}this._parent=this._config.parent?this._getParent():null;this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray);this._config.toggle&&this.toggle()}var n=t.prototype;return n.toggle=function(){s(this._element).hasClass(ft)?this.hide():this.show()},n.show=function(){var n,u,r=this,e,i,o,h;this._isTransitioning||s(this._element).hasClass(ft)||(this._parent&&0===(n=[].slice.call(this._parent.querySelectorAll(we)).filter(function(n){return n.getAttribute("data-parent")===r._config.parent})).length&&(n=null),n&&(u=s(n).not(this._selector).data(vt))&&u._isTransitioning)||(e=s.Event(ri.SHOW),(s(this._element).trigger(e),e.isDefaultPrevented())||(n&&(t._jQueryInterface.call(s(n).not(this._selector),"hide"),u||s(n).data(vt,null)),i=this._getDimension(),s(this._element).removeClass(ki).addClass(di),this._element.style[i]=0,this._triggerArray.length&&s(this._triggerArray).removeClass(pr).attr("aria-expanded",!0),this.setTransitioning(!0),o="scroll"+(i[0].toUpperCase()+i.slice(1)),h=f.getTransitionDurationFromElement(this._element),s(this._element).one(f.TRANSITION_END,function(){s(r._element).removeClass(di).addClass(ki).addClass(ft);r._element.style[i]="";r.setTransitioning(!1);s(r._element).trigger(ri.SHOWN)}).emulateTransitionEnd(h),this._element.style[i]=this._element[o]+"px"))},n.hide=function(){var o=this,i,n,r,t,u,e,h;if(!this._isTransitioning&&s(this._element).hasClass(ft)&&(i=s.Event(ri.HIDE),s(this._element).trigger(i),!i.isDefaultPrevented())){if(n=this._getDimension(),this._element.style[n]=this._element.getBoundingClientRect()[n]+"px",f.reflow(this._element),s(this._element).addClass(di).removeClass(ki).removeClass(ft),r=this._triggerArray.length,0<r)for(t=0;t<r;t++)u=this._triggerArray[t],e=f.getSelectorFromElement(u),null!==e&&(s([].slice.call(document.querySelectorAll(e))).hasClass(ft)||s(u).addClass(pr).attr("aria-expanded",!1));this.setTransitioning(!0);this._element.style[n]="";h=f.getTransitionDurationFromElement(this._element);s(this._element).one(f.TRANSITION_END,function(){o.setTransitioning(!1);s(o._element).removeClass(di).addClass(ki).trigger(ri.HIDDEN)}).emulateTransitionEnd(h)}},n.setTransitioning=function(n){this._isTransitioning=n},n.dispose=function(){s.removeData(this._element,vt);this._config=null;this._parent=null;this._element=null;this._triggerArray=null;this._isTransitioning=null},n._getConfig=function(n){return(n=v({},yr,n)).toggle=Boolean(n.toggle),f.typeCheckConfig(at,n,ye),n},n._getDimension=function(){return s(this._element).hasClass(lu)?lu:pe},n._getParent=function(){var u=this,n=null,i,r;return f.isElement(this._config.parent)?(n=this._config.parent,"undefined"!=typeof this._config.parent.jquery&&(n=this._config.parent[0])):n=document.querySelector(this._config.parent),i='[data-toggle="collapse"][data-parent="'+this._config.parent+'"]',r=[].slice.call(n.querySelectorAll(i)),s(r).each(function(n,i){u._addAriaAndCollapsedClass(t._getTargetFromElement(i),[i])}),n},n._addAriaAndCollapsedClass=function(n,t){if(n){var i=s(n).hasClass(ft);t.length&&s(t).toggleClass(pr,!i).attr("aria-expanded",i)}},t._getTargetFromElement=function(n){var t=f.getSelectorFromElement(n);return t?document.querySelector(t):null},t._jQueryInterface=function(n){return this.each(function(){var r=s(this),i=r.data(vt),u=v({},yr,r.data(),"object"==typeof n&&n?n:{});if(!i&&u.toggle&&/show|hide/.test(n)&&(u.toggle=!1),i||(i=new t(this,u),r.data(vt,i)),"string"==typeof n){if("undefined"==typeof i[n])throw new TypeError('No method named "'+n+'"');i[n]()}})},g(t,null,[{key:"VERSION",get:function(){return"4.1.3"}},{key:"Default",get:function(){return yr}}]),t}(),s(document).on(ri.CLICK_DATA_API,au,function(n){"A"===n.currentTarget.tagName&&n.preventDefault();var t=s(this),i=f.getSelectorFromElement(this),r=[].slice.call(document.querySelectorAll(i));s(r).each(function(){var n=s(this),i=n.data(vt)?"toggle":t.data();ui._jQueryInterface.call(n,i)})}),s.fn[at]=ui._jQueryInterface,s.fn[at].Constructor=ui,s.fn[at].noConflict=function(){return s.fn[at]=ve,ui._jQueryInterface},ui),nc=(yt="dropdown",it="."+(gi="bs.dropdown"),wr=".data-api",be=(o=t).fn[yt],ke=new RegExp("38|40|27"),w={HIDE:"hide"+it,HIDDEN:"hidden"+it,SHOW:"show"+it,SHOWN:"shown"+it,CLICK:"click"+it,CLICK_DATA_API:"click"+it+wr,KEYDOWN_DATA_API:"keydown"+it+wr,KEYUP_DATA_API:"keyup"+it+wr},vu="disabled",et="show",de="dropup",ge="dropright",no="dropleft",yu="dropdown-menu-right",to="position-static",nr='[data-toggle="dropdown"]',io=".dropdown form",br=".dropdown-menu",ro=".navbar-nav",uo=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",fo="top-start",eo="top-end",oo="bottom-start",so="bottom-end",ho="right-start",co="left-start",lo={offset:0,flip:!0,boundary:"scrollParent",reference:"toggle",display:"dynamic"},ao={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string"},rt=function(){function n(n,t){this._element=n;this._popper=null;this._config=this._getConfig(t);this._menu=this._getMenuElement();this._inNavbar=this._detectNavbar();this._addEventListeners()}var t=n.prototype;return t.toggle=function(){var t,s,u,e,r;if(!this._element.disabled&&!o(this._element).hasClass(vu)&&(t=n._getParentFromElement(this._element),s=o(this._menu).hasClass(et),(n._clearMenus(),!s)&&(u={relatedTarget:this._element},e=o.Event(w.SHOW,u),o(t).trigger(e),!e.isDefaultPrevented()))){if(!this._inNavbar){if("undefined"==typeof i)throw new TypeError("Bootstrap dropdown require Popper.js (https://popper.js.org)");r=this._element;"parent"===this._config.reference?r=t:f.isElement(this._config.reference)&&(r=this._config.reference,"undefined"!=typeof this._config.reference.jquery&&(r=this._config.reference[0]));"scrollParent"!==this._config.boundary&&o(t).addClass(to);this._popper=new i(r,this._menu,this._getPopperConfig())}"ontouchstart"in document.documentElement&&0===o(t).closest(ro).length&&o(document.body).children().on("mouseover",null,o.noop);this._element.focus();this._element.setAttribute("aria-expanded",!0);o(this._menu).toggleClass(et);o(t).toggleClass(et).trigger(o.Event(w.SHOWN,u))}},t.dispose=function(){o.removeData(this._element,gi);o(this._element).off(it);this._element=null;(this._menu=null)!==this._popper&&(this._popper.destroy(),this._popper=null)},t.update=function(){this._inNavbar=this._detectNavbar();null!==this._popper&&this._popper.scheduleUpdate()},t._addEventListeners=function(){var n=this;o(this._element).on(w.CLICK,function(t){t.preventDefault();t.stopPropagation();n.toggle()})},t._getConfig=function(n){return n=v({},this.constructor.Default,o(this._element).data(),n),f.typeCheckConfig(yt,n,this.constructor.DefaultType),n},t._getMenuElement=function(){if(!this._menu){var t=n._getParentFromElement(this._element);t&&(this._menu=t.querySelector(br))}return this._menu},t._getPlacement=function(){var t=o(this._element.parentNode),n=oo;return t.hasClass(de)?(n=fo,o(this._menu).hasClass(yu)&&(n=eo)):t.hasClass(ge)?n=ho:t.hasClass(no)?n=co:o(this._menu).hasClass(yu)&&(n=so),n},t._detectNavbar=function(){return 0<o(this._element).closest(".navbar").length},t._getPopperConfig=function(){var i=this,n={},t;return"function"==typeof this._config.offset?n.fn=function(n){return n.offsets=v({},n.offsets,i._config.offset(n.offsets)||{}),n}:n.offset=this._config.offset,t={placement:this._getPlacement(),modifiers:{offset:n,flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}},"static"===this._config.display&&(t.modifiers.applyStyle={enabled:!1}),t},n._jQueryInterface=function(t){return this.each(function(){var i=o(this).data(gi);if(i||(i=new n(this,"object"==typeof t?t:null),o(this).data(gi,i)),"string"==typeof t){if("undefined"==typeof i[t])throw new TypeError('No method named "'+t+'"');i[t]()}})},n._clearMenus=function(t){var h,e;if(!t||3!==t.which&&("keyup"!==t.type||9===t.which))for(var r=[].slice.call(document.querySelectorAll(nr)),i=0,c=r.length;i<c;i++){var u=n._getParentFromElement(r[i]),s=o(r[i]).data(gi),f={relatedTarget:r[i]};(t&&"click"===t.type&&(f.clickEvent=t),s)&&(h=s._menu,!o(u).hasClass(et)||t&&("click"===t.type&&/input|textarea/i.test(t.target.tagName)||"keyup"===t.type&&9===t.which)&&o.contains(u,t.target)||(e=o.Event(w.HIDE,f),o(u).trigger(e),e.isDefaultPrevented()||("ontouchstart"in document.documentElement&&o(document.body).children().off("mouseover",null,o.noop),r[i].setAttribute("aria-expanded","false"),o(h).removeClass(et),o(u).removeClass(et).trigger(o.Event(w.HIDDEN,f)))))}},n._getParentFromElement=function(n){var t,i=f.getSelectorFromElement(n);return i&&(t=document.querySelector(i)),t||n.parentNode},n._dataApiKeydownHandler=function(t){var u,f,r,i,e;(/input|textarea/i.test(t.target.tagName)?32===t.which||27!==t.which&&(40!==t.which&&38!==t.which||o(t.target).closest(br).length):!ke.test(t.which))||(t.preventDefault(),t.stopPropagation(),this.disabled||o(this).hasClass(vu))||(u=n._getParentFromElement(this),f=o(u).hasClass(et),(f||27===t.which&&32===t.which)&&(!f||27!==t.which&&32!==t.which)?(r=[].slice.call(u.querySelectorAll(uo)),0!==r.length&&(i=r.indexOf(t.target),38===t.which&&0<i&&i--,40===t.which&&i<r.length-1&&i++,i<0&&(i=0),r[i].focus())):(27===t.which&&(e=u.querySelector(nr),o(e).trigger("focus")),o(this).trigger("click")))},g(n,null,[{key:"VERSION",get:function(){return"4.1.3"}},{key:"Default",get:function(){return lo}},{key:"DefaultType",get:function(){return ao}}]),n}(),o(document).on(w.KEYDOWN_DATA_API,nr,rt._dataApiKeydownHandler).on(w.KEYDOWN_DATA_API,br,rt._dataApiKeydownHandler).on(w.CLICK_DATA_API+" "+w.KEYUP_DATA_API,rt._clearMenus).on(w.CLICK_DATA_API,nr,function(n){n.preventDefault();n.stopPropagation();rt._jQueryInterface.call(o(this),"toggle")}).on(w.CLICK_DATA_API,io,function(n){n.stopPropagation()}),o.fn[yt]=rt._jQueryInterface,o.fn[yt].Constructor=rt,o.fn[yt].noConflict=function(){return o.fn[yt]=be,rt._jQueryInterface},rt),tc=(pt="modal",p="."+(tr="bs.modal"),vo=(r=t).fn[pt],kr={backdrop:!0,keyboard:!0,focus:!0,show:!0},yo={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},c={HIDE:"hide"+p,HIDDEN:"hidden"+p,SHOW:"show"+p,SHOWN:"shown"+p,FOCUSIN:"focusin"+p,RESIZE:"resize"+p,CLICK_DISMISS:"click.dismiss"+p,KEYDOWN_DISMISS:"keydown.dismiss"+p,MOUSEUP_DISMISS:"mouseup.dismiss"+p,MOUSEDOWN_DISMISS:"mousedown.dismiss"+p,CLICK_DATA_API:"click"+p+".data-api"},po="modal-scrollbar-measure",wo="modal-backdrop",pu="modal-open",wt="fade",ir="show",bo=".modal-dialog",ko='[data-toggle="modal"]',go='[data-dismiss="modal"]',wu=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",bu=".sticky-top",fi=function(){function t(n,t){this._config=this._getConfig(t);this._element=n;this._dialog=n.querySelector(bo);this._backdrop=null;this._isShown=!1;this._isBodyOverflowing=!1;this._ignoreBackdropClick=!1;this._scrollbarWidth=0}var n=t.prototype;return n.toggle=function(n){return this._isShown?this.hide():this.show(n)},n.show=function(n){var t=this,i;this._isTransitioning||this._isShown||(r(this._element).hasClass(wt)&&(this._isTransitioning=!0),i=r.Event(c.SHOW,{relatedTarget:n}),r(this._element).trigger(i),this._isShown||i.isDefaultPrevented()||(this._isShown=!0,this._checkScrollbar(),this._setScrollbar(),this._adjustDialog(),r(document.body).addClass(pu),this._setEscapeEvent(),this._setResizeEvent(),r(this._element).on(c.CLICK_DISMISS,go,function(n){return t.hide(n)}),r(this._dialog).on(c.MOUSEDOWN_DISMISS,function(){r(t._element).one(c.MOUSEUP_DISMISS,function(n){r(n.target).is(t._element)&&(t._ignoreBackdropClick=!0)})}),this._showBackdrop(function(){return t._showElement(n)})))},n.hide=function(n){var e=this,t,i,u;(n&&n.preventDefault(),!this._isTransitioning&&this._isShown)&&(t=r.Event(c.HIDE),(r(this._element).trigger(t),this._isShown&&!t.isDefaultPrevented())&&(this._isShown=!1,i=r(this._element).hasClass(wt),(i&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),r(document).off(c.FOCUSIN),r(this._element).removeClass(ir),r(this._element).off(c.CLICK_DISMISS),r(this._dialog).off(c.MOUSEDOWN_DISMISS),i)?(u=f.getTransitionDurationFromElement(this._element),r(this._element).one(f.TRANSITION_END,function(n){return e._hideModal(n)}).emulateTransitionEnd(u)):this._hideModal()))},n.dispose=function(){r.removeData(this._element,tr);r(window,document,this._element,this._backdrop).off(p);this._config=null;this._element=null;this._dialog=null;this._backdrop=null;this._isShown=null;this._isBodyOverflowing=null;this._ignoreBackdropClick=null;this._scrollbarWidth=null},n.handleUpdate=function(){this._adjustDialog()},n._getConfig=function(n){return n=v({},kr,n),f.typeCheckConfig(pt,n,yo),n},n._showElement=function(n){var t=this,u=r(this._element).hasClass(wt),e,i,o;this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.appendChild(this._element);this._element.style.display="block";this._element.removeAttribute("aria-hidden");this._element.scrollTop=0;u&&f.reflow(this._element);r(this._element).addClass(ir);this._config.focus&&this._enforceFocus();e=r.Event(c.SHOWN,{relatedTarget:n});i=function(){t._config.focus&&t._element.focus();t._isTransitioning=!1;r(t._element).trigger(e)};u?(o=f.getTransitionDurationFromElement(this._element),r(this._dialog).one(f.TRANSITION_END,i).emulateTransitionEnd(o)):i()},n._enforceFocus=function(){var n=this;r(document).off(c.FOCUSIN).on(c.FOCUSIN,function(t){document!==t.target&&n._element!==t.target&&0===r(n._element).has(t.target).length&&n._element.focus()})},n._setEscapeEvent=function(){var n=this;this._isShown&&this._config.keyboard?r(this._element).on(c.KEYDOWN_DISMISS,function(t){27===t.which&&(t.preventDefault(),n.hide())}):this._isShown||r(this._element).off(c.KEYDOWN_DISMISS)},n._setResizeEvent=function(){var n=this;this._isShown?r(window).on(c.RESIZE,function(t){return n.handleUpdate(t)}):r(window).off(c.RESIZE)},n._hideModal=function(){var n=this;this._element.style.display="none";this._element.setAttribute("aria-hidden",!0);this._isTransitioning=!1;this._showBackdrop(function(){r(document.body).removeClass(pu);n._resetAdjustments();n._resetScrollbar();r(n._element).trigger(c.HIDDEN)})},n._removeBackdrop=function(){this._backdrop&&(r(this._backdrop).remove(),this._backdrop=null)},n._showBackdrop=function(n){var t=this,i=r(this._element).hasClass(wt)?wt:"",e,u,o;if(this._isShown&&this._config.backdrop){if(this._backdrop=document.createElement("div"),this._backdrop.className=wo,i&&this._backdrop.classList.add(i),r(this._backdrop).appendTo(document.body),r(this._element).on(c.CLICK_DISMISS,function(n){t._ignoreBackdropClick?t._ignoreBackdropClick=!1:n.target===n.currentTarget&&("static"===t._config.backdrop?t._element.focus():t.hide())}),i&&f.reflow(this._backdrop),r(this._backdrop).addClass(ir),!n)return;if(!i)return void n();e=f.getTransitionDurationFromElement(this._backdrop);r(this._backdrop).one(f.TRANSITION_END,n).emulateTransitionEnd(e)}else!this._isShown&&this._backdrop?(r(this._backdrop).removeClass(ir),u=function(){t._removeBackdrop();n&&n()},r(this._element).hasClass(wt)?(o=f.getTransitionDurationFromElement(this._backdrop),r(this._backdrop).one(f.TRANSITION_END,u).emulateTransitionEnd(o)):u()):n&&n()},n._adjustDialog=function(){var n=this._element.scrollHeight>document.documentElement.clientHeight;!this._isBodyOverflowing&&n&&(this._element.style.paddingLeft=this._scrollbarWidth+"px");this._isBodyOverflowing&&!n&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},n._resetAdjustments=function(){this._element.style.paddingLeft="";this._element.style.paddingRight=""},n._checkScrollbar=function(){var n=document.body.getBoundingClientRect();this._isBodyOverflowing=n.left+n.right<window.innerWidth;this._scrollbarWidth=this._getScrollbarWidth()},n._setScrollbar=function(){var n=this,t,i,u,f;this._isBodyOverflowing&&(t=[].slice.call(document.querySelectorAll(wu)),i=[].slice.call(document.querySelectorAll(bu)),r(t).each(function(t,i){var u=i.style.paddingRight,f=r(i).css("padding-right");r(i).data("padding-right",u).css("padding-right",parseFloat(f)+n._scrollbarWidth+"px")}),r(i).each(function(t,i){var u=i.style.marginRight,f=r(i).css("margin-right");r(i).data("margin-right",u).css("margin-right",parseFloat(f)-n._scrollbarWidth+"px")}),u=document.body.style.paddingRight,f=r(document.body).css("padding-right"),r(document.body).data("padding-right",u).css("padding-right",parseFloat(f)+this._scrollbarWidth+"px"))},n._resetScrollbar=function(){var i=[].slice.call(document.querySelectorAll(wu)),n,t;r(i).each(function(n,t){var i=r(t).data("padding-right");r(t).removeData("padding-right");t.style.paddingRight=i||""});n=[].slice.call(document.querySelectorAll(""+bu));r(n).each(function(n,t){var i=r(t).data("margin-right");"undefined"!=typeof i&&r(t).css("margin-right",i).removeData("margin-right")});t=r(document.body).data("padding-right");r(document.body).removeData("padding-right");document.body.style.paddingRight=t||""},n._getScrollbarWidth=function(){var n=document.createElement("div"),t;return n.className=po,document.body.appendChild(n),t=n.getBoundingClientRect().width-n.clientWidth,document.body.removeChild(n),t},t._jQueryInterface=function(n,i){return this.each(function(){var u=r(this).data(tr),f=v({},kr,r(this).data(),"object"==typeof n&&n?n:{});if(u||(u=new t(this,f),r(this).data(tr,u)),"string"==typeof n){if("undefined"==typeof u[n])throw new TypeError('No method named "'+n+'"');u[n](i)}else f.show&&u.show(i)})},g(t,null,[{key:"VERSION",get:function(){return"4.1.3"}},{key:"Default",get:function(){return kr}}]),t}(),r(document).on(c.CLICK_DATA_API,ko,function(n){var t,i=this,u=f.getSelectorFromElement(this),e,o;u&&(t=document.querySelector(u));e=r(t).data(tr)?"toggle":v({},r(t).data(),r(this).data());"A"!==this.tagName&&"AREA"!==this.tagName||n.preventDefault();o=r(t).one(c.SHOW,function(n){n.isDefaultPrevented()||o.one(c.HIDDEN,function(){r(i).is(":visible")&&i.focus()})});fi._jQueryInterface.call(r(t),e,this)}),r.fn[pt]=fi._jQueryInterface,r.fn[pt].Constructor=fi,r.fn[pt].noConflict=function(){return r.fn[pt]=vo,fi._jQueryInterface},fi),eu=(ot="tooltip",b="."+(dr="bs.tooltip"),ns=(u=t).fn[ot],ku="bs-tooltip",ts=new RegExp("(^|\\s)"+ku+"\\S+","g"),us={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="arrow"><\/div><div class="tooltip-inner"><\/div><\/div>',trigger:"hover focus",title:"",delay:0,html:!(rs={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"}),selector:!(is={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(number|string)",container:"(string|element|boolean)",fallbackPlacement:"(string|array)",boundary:"(string|element)"}),placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent"},gr="out",fs={HIDE:"hide"+b,HIDDEN:"hidden"+b,SHOW:(ei="show")+b,SHOWN:"shown"+b,INSERTED:"inserted"+b,CLICK:"click"+b,FOCUSIN:"focusin"+b,FOCUSOUT:"focusout"+b,MOUSEENTER:"mouseenter"+b,MOUSELEAVE:"mouseleave"+b},oi="fade",si="show",es=".tooltip-inner",os=".arrow",hi="hover",nu="focus",ss="click",hs="manual",rr=function(){function t(n,t){if("undefined"==typeof i)throw new TypeError("Bootstrap tooltips require Popper.js (https://popper.js.org)");this._isEnabled=!0;this._timeout=0;this._hoverState="";this._activeTrigger={};this._popper=null;this.element=n;this.config=this._getConfig(t);this.tip=null;this._setListeners()}var n=t.prototype;return n.enable=function(){this._isEnabled=!0},n.disable=function(){this._isEnabled=!1},n.toggleEnabled=function(){this._isEnabled=!this._isEnabled},n.toggle=function(n){if(this._isEnabled)if(n){var i=this.constructor.DATA_KEY,t=u(n.currentTarget).data(i);t||(t=new this.constructor(n.currentTarget,this._getDelegateConfig()),u(n.currentTarget).data(i,t));t._activeTrigger.click=!t._activeTrigger.click;t._isWithActiveTrigger()?t._enter(null,t):t._leave(null,t)}else{if(u(this.getTipElement()).hasClass(si))return void this._leave(null,this);this._enter(null,this)}},n.dispose=function(){clearTimeout(this._timeout);u.removeData(this.element,this.constructor.DATA_KEY);u(this.element).off(this.constructor.EVENT_KEY);u(this.element).closest(".modal").off("hide.bs.modal");this.tip&&u(this.tip).remove();this._isEnabled=null;this._timeout=null;this._hoverState=null;(this._activeTrigger=null)!==this._popper&&this._popper.destroy();this._popper=null;this.element=null;this.config=null;this.tip=null},n.show=function(){var n=this,r,h,t,e,c,o,l,s,a;if("none"===u(this.element).css("display"))throw new Error("Please use show on visible elements");if(r=u.Event(this.constructor.Event.SHOW),this.isWithContent()&&this._isEnabled){if(u(this.element).trigger(r),h=u.contains(this.element.ownerDocument.documentElement,this.element),r.isDefaultPrevented()||!h)return;t=this.getTipElement();e=f.getUID(this.constructor.NAME);t.setAttribute("id",e);this.element.setAttribute("aria-describedby",e);this.setContent();this.config.animation&&u(t).addClass(oi);c="function"==typeof this.config.placement?this.config.placement.call(this,t,this.element):this.config.placement;o=this._getAttachment(c);this.addAttachmentClass(o);l=!1===this.config.container?document.body:u(document).find(this.config.container);u(t).data(this.constructor.DATA_KEY,this);u.contains(this.element.ownerDocument.documentElement,this.tip)||u(t).appendTo(l);u(this.element).trigger(this.constructor.Event.INSERTED);this._popper=new i(this.element,t,{placement:o,modifiers:{offset:{offset:this.config.offset},flip:{behavior:this.config.fallbackPlacement},arrow:{element:os},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(t){t.originalPlacement!==t.placement&&n._handlePopperPlacementChange(t)},onUpdate:function(t){n._handlePopperPlacementChange(t)}});u(t).addClass(si);"ontouchstart"in document.documentElement&&u(document.body).children().on("mouseover",null,u.noop);s=function(){n.config.animation&&n._fixTransition();var t=n._hoverState;n._hoverState=null;u(n.element).trigger(n.constructor.Event.SHOWN);t===gr&&n._leave(null,n)};u(this.tip).hasClass(oi)?(a=f.getTransitionDurationFromElement(this.tip),u(this.tip).one(f.TRANSITION_END,s).emulateTransitionEnd(a)):s()}},n.hide=function(n){var t=this,i=this.getTipElement(),r=u.Event(this.constructor.Event.HIDE),e=function(){t._hoverState!==ei&&i.parentNode&&i.parentNode.removeChild(i);t._cleanTipClass();t.element.removeAttribute("aria-describedby");u(t.element).trigger(t.constructor.Event.HIDDEN);null!==t._popper&&t._popper.destroy();n&&n()},o;(u(this.element).trigger(r),r.isDefaultPrevented())||((u(i).removeClass(si),"ontouchstart"in document.documentElement&&u(document.body).children().off("mouseover",null,u.noop),this._activeTrigger[ss]=!1,this._activeTrigger[nu]=!1,this._activeTrigger[hi]=!1,u(this.tip).hasClass(oi))?(o=f.getTransitionDurationFromElement(i),u(i).one(f.TRANSITION_END,e).emulateTransitionEnd(o)):e(),this._hoverState="")},n.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},n.isWithContent=function(){return Boolean(this.getTitle())},n.addAttachmentClass=function(n){u(this.getTipElement()).addClass(ku+"-"+n)},n.getTipElement=function(){return this.tip=this.tip||u(this.config.template)[0],this.tip},n.setContent=function(){var n=this.getTipElement();this.setElementContent(u(n.querySelectorAll(es)),this.getTitle());u(n).removeClass(oi+" "+si)},n.setElementContent=function(n,t){var i=this.config.html;"object"==typeof t&&(t.nodeType||t.jquery)?i?u(t).parent().is(n)||n.empty().append(t):n.text(u(t).text()):n[i?"html":"text"](t)},n.getTitle=function(){var n=this.element.getAttribute("data-original-title");return n||(n="function"==typeof this.config.title?this.config.title.call(this.element):this.config.title),n},n._getAttachment=function(n){return rs[n.toUpperCase()]},n._setListeners=function(){var n=this;this.config.trigger.split(" ").forEach(function(t){if("click"===t)u(n.element).on(n.constructor.Event.CLICK,n.config.selector,function(t){return n.toggle(t)});else if(t!==hs){var i=t===hi?n.constructor.Event.MOUSEENTER:n.constructor.Event.FOCUSIN,r=t===hi?n.constructor.Event.MOUSELEAVE:n.constructor.Event.FOCUSOUT;u(n.element).on(i,n.config.selector,function(t){return n._enter(t)}).on(r,n.config.selector,function(t){return n._leave(t)})}u(n.element).closest(".modal").on("hide.bs.modal",function(){return n.hide()})});this.config.selector?this.config=v({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},n._fixTitle=function(){var n=typeof this.element.getAttribute("data-original-title");(this.element.getAttribute("title")||"string"!==n)&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},n._enter=function(n,t){var i=this.constructor.DATA_KEY;(t=t||u(n.currentTarget).data(i))||(t=new this.constructor(n.currentTarget,this._getDelegateConfig()),u(n.currentTarget).data(i,t));n&&(t._activeTrigger["focusin"===n.type?nu:hi]=!0);u(t.getTipElement()).hasClass(si)||t._hoverState===ei?t._hoverState=ei:(clearTimeout(t._timeout),t._hoverState=ei,t.config.delay&&t.config.delay.show?t._timeout=setTimeout(function(){t._hoverState===ei&&t.show()},t.config.delay.show):t.show())},n._leave=function(n,t){var i=this.constructor.DATA_KEY;(t=t||u(n.currentTarget).data(i))||(t=new this.constructor(n.currentTarget,this._getDelegateConfig()),u(n.currentTarget).data(i,t));n&&(t._activeTrigger["focusout"===n.type?nu:hi]=!1);t._isWithActiveTrigger()||(clearTimeout(t._timeout),t._hoverState=gr,t.config.delay&&t.config.delay.hide?t._timeout=setTimeout(function(){t._hoverState===gr&&t.hide()},t.config.delay.hide):t.hide())},n._isWithActiveTrigger=function(){for(var n in this._activeTrigger)if(this._activeTrigger[n])return!0;return!1},n._getConfig=function(n){return"number"==typeof(n=v({},this.constructor.Default,u(this.element).data(),"object"==typeof n&&n?n:{})).delay&&(n.delay={show:n.delay,hide:n.delay}),"number"==typeof n.title&&(n.title=n.title.toString()),"number"==typeof n.content&&(n.content=n.content.toString()),f.typeCheckConfig(ot,n,this.constructor.DefaultType),n},n._getDelegateConfig=function(){var t={},n;if(this.config)for(n in this.config)this.constructor.Default[n]!==this.config[n]&&(t[n]=this.config[n]);return t},n._cleanTipClass=function(){var t=u(this.getTipElement()),n=t.attr("class").match(ts);null!==n&&n.length&&t.removeClass(n.join(""))},n._handlePopperPlacementChange=function(n){var t=n.instance;this.tip=t.popper;this._cleanTipClass();this.addAttachmentClass(this._getAttachment(n.placement))},n._fixTransition=function(){var n=this.getTipElement(),t=this.config.animation;null===n.getAttribute("x-placement")&&(u(n).removeClass(oi),this.config.animation=!1,this.hide(),this.show(),this.config.animation=t)},t._jQueryInterface=function(n){return this.each(function(){var i=u(this).data(dr),r="object"==typeof n&&n;if((i||!/dispose|hide/.test(n))&&(i||(i=new t(this,r),u(this).data(dr,i)),"string"==typeof n)){if("undefined"==typeof i[n])throw new TypeError('No method named "'+n+'"');i[n]()}})},g(t,null,[{key:"VERSION",get:function(){return"4.1.3"}},{key:"Default",get:function(){return us}},{key:"NAME",get:function(){return ot}},{key:"DATA_KEY",get:function(){return dr}},{key:"Event",get:function(){return fs}},{key:"EVENT_KEY",get:function(){return b}},{key:"DefaultType",get:function(){return is}}]),t}(),u.fn[ot]=rr._jQueryInterface,u.fn[ot].Constructor=rr,u.fn[ot].noConflict=function(){return u.fn[ot]=ns,rr._jQueryInterface},rr),ic=(bt="popover",k="."+(tu="bs.popover"),cs=(d=t).fn[bt],du="bs-popover",ls=new RegExp("(^|\\s)"+du+"\\S+","g"),as=v({},eu.Default,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"><\/div><h3 class="popover-header"><\/h3><div class="popover-body"><\/div><\/div>'}),vs=v({},eu.DefaultType,{content:"(string|element|function)"}),ys="fade",ws=".popover-header",bs=".popover-body",ks={HIDE:"hide"+k,HIDDEN:"hidden"+k,SHOW:(ps="show")+k,SHOWN:"shown"+k,INSERTED:"inserted"+k,CLICK:"click"+k,FOCUSIN:"focusin"+k,FOCUSOUT:"focusout"+k,MOUSEENTER:"mouseenter"+k,MOUSELEAVE:"mouseleave"+k},ur=function(n){function i(){return n.apply(this,arguments)||this}var r,u,t;return u=n,(r=i).prototype=Object.create(u.prototype),(r.prototype.constructor=r).__proto__=u,t=i.prototype,t.isWithContent=function(){return this.getTitle()||this._getContent()},t.addAttachmentClass=function(n){d(this.getTipElement()).addClass(du+"-"+n)},t.getTipElement=function(){return this.tip=this.tip||d(this.config.template)[0],this.tip},t.setContent=function(){var t=d(this.getTipElement()),n;this.setElementContent(t.find(ws),this.getTitle());n=this._getContent();"function"==typeof n&&(n=n.call(this.element));this.setElementContent(t.find(bs),n);t.removeClass(ys+" "+ps)},t._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},t._cleanTipClass=function(){var t=d(this.getTipElement()),n=t.attr("class").match(ls);null!==n&&0<n.length&&t.removeClass(n.join(""))},i._jQueryInterface=function(n){return this.each(function(){var t=d(this).data(tu),r="object"==typeof n?n:null;if((t||!/destroy|hide/.test(n))&&(t||(t=new i(this,r),d(this).data(tu,t)),"string"==typeof n)){if("undefined"==typeof t[n])throw new TypeError('No method named "'+n+'"');t[n]()}})},g(i,null,[{key:"VERSION",get:function(){return"4.1.3"}},{key:"Default",get:function(){return as}},{key:"NAME",get:function(){return bt}},{key:"DATA_KEY",get:function(){return tu}},{key:"Event",get:function(){return ks}},{key:"EVENT_KEY",get:function(){return k}},{key:"DefaultType",get:function(){return vs}}]),i}(eu),d.fn[bt]=ur._jQueryInterface,d.fn[bt].Constructor=ur,d.fn[bt].noConflict=function(){return d.fn[bt]=cs,ur._jQueryInterface},ur),rc=(st="scrollspy",fr="."+(iu="bs.scrollspy"),ds=(a=t).fn[st],gu={offset:10,method:"auto",target:""},gs={offset:"number",method:"string",target:"(string|element)"},ru={ACTIVATE:"activate"+fr,SCROLL:"scroll"+fr,LOAD_DATA_API:"load"+fr+".data-api"},nh="dropdown-item",kt="active",th='[data-spy="scroll"]',ih=".active",nf=".nav, .list-group",uu=".nav-link",rh=".nav-item",tf=".list-group-item",uh=".dropdown",fh=".dropdown-item",eh=".dropdown-toggle",oh="offset",rf="position",ci=function(){function t(n,t){var i=this;this._element=n;this._scrollElement="BODY"===n.tagName?window:n;this._config=this._getConfig(t);this._selector=this._config.target+" "+uu+","+this._config.target+" "+tf+","+this._config.target+" "+fh;this._offsets=[];this._targets=[];this._activeTarget=null;this._scrollHeight=0;a(this._scrollElement).on(ru.SCROLL,function(n){return i._process(n)});this.refresh();this._process()}var n=t.prototype;return n.refresh=function(){var n=this,i=this._scrollElement===this._scrollElement.window?oh:rf,t="auto"===this._config.method?i:this._config.method,r=t===rf?this._getScrollTop():0;this._offsets=[];this._targets=[];this._scrollHeight=this._getScrollHeight();[].slice.call(document.querySelectorAll(this._selector)).map(function(n){var i,u=f.getSelectorFromElement(n),e;return(u&&(i=document.querySelector(u)),i)&&(e=i.getBoundingClientRect(),e.width||e.height)?[a(i)[t]().top+r,u]:null}).filter(function(n){return n}).sort(function(n,t){return n[0]-t[0]}).forEach(function(t){n._offsets.push(t[0]);n._targets.push(t[1])})},n.dispose=function(){a.removeData(this._element,iu);a(this._scrollElement).off(fr);this._element=null;this._scrollElement=null;this._config=null;this._selector=null;this._offsets=null;this._targets=null;this._activeTarget=null;this._scrollHeight=null},n._getConfig=function(n){if("string"!=typeof(n=v({},gu,"object"==typeof n&&n?n:{})).target){var t=a(n.target).attr("id");t||(t=f.getUID(st),a(n.target).attr("id",t));n.target="#"+t}return f.typeCheckConfig(st,n,gs),n},n._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},n._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},n._getOffsetHeight=function(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height},n._process=function(){var t=this._getScrollTop()+this._config.offset,r=this._getScrollHeight(),u=this._config.offset+r-this._getOffsetHeight(),i,n;if(this._scrollHeight!==r&&this.refresh(),u<=t)i=this._targets[this._targets.length-1],this._activeTarget!==i&&this._activate(i);else{if(this._activeTarget&&t<this._offsets[0]&&0<this._offsets[0])return this._activeTarget=null,void this._clear();for(n=this._offsets.length;n--;)this._activeTarget!==this._targets[n]&&t>=this._offsets[n]&&("undefined"==typeof this._offsets[n+1]||t<this._offsets[n+1])&&this._activate(this._targets[n])}},n._activate=function(n){var i,t;this._activeTarget=n;this._clear();i=this._selector.split(",");i=i.map(function(t){return t+'[data-target="'+n+'"],'+t+'[href="'+n+'"]'});t=a([].slice.call(document.querySelectorAll(i.join(","))));t.hasClass(nh)?(t.closest(uh).find(eh).addClass(kt),t.addClass(kt)):(t.addClass(kt),t.parents(nf).prev(uu+", "+tf).addClass(kt),t.parents(nf).prev(rh).children(uu).addClass(kt));a(this._scrollElement).trigger(ru.ACTIVATE,{relatedTarget:n})},n._clear=function(){var n=[].slice.call(document.querySelectorAll(this._selector));a(n).filter(ih).removeClass(kt)},t._jQueryInterface=function(n){return this.each(function(){var i=a(this).data(iu);if(i||(i=new t(this,"object"==typeof n&&n),a(this).data(iu,i)),"string"==typeof n){if("undefined"==typeof i[n])throw new TypeError('No method named "'+n+'"');i[n]()}})},g(t,null,[{key:"VERSION",get:function(){return"4.1.3"}},{key:"Default",get:function(){return gu}}]),t}(),a(window).on(ru.LOAD_DATA_API,function(){for(var i,n=[].slice.call(document.querySelectorAll(th)),t=n.length;t--;)i=a(n[t]),ci._jQueryInterface.call(i,i.data())}),a.fn[st]=ci._jQueryInterface,a.fn[st].Constructor=ci,a.fn[st].noConflict=function(){return a.fn[st]=ds,ci._jQueryInterface},ci),uc=(li="."+(fu="bs.tab"),sh=(h=t).fn.tab,ai={HIDE:"hide"+li,HIDDEN:"hidden"+li,SHOW:"show"+li,SHOWN:"shown"+li,CLICK_DATA_API:"click"+li+".data-api"},hh="dropdown-menu",vi="active",ch="disabled",lh="fade",uf="show",ah=".dropdown",vh=".nav, .list-group",ff=".active",ef="> li > .active",yh='[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',ph=".dropdown-toggle",wh="> .dropdown-menu .active",yi=function(){function n(n){this._element=n}var t=n.prototype;return t.show=function(){var s=this,i,n,t,r,c,u,e,o;this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&h(this._element).hasClass(vi)||h(this._element).hasClass(ch)||(t=h(this._element).closest(vh)[0],r=f.getSelectorFromElement(this._element),t&&(c="UL"===t.nodeName?ef:ff,n=(n=h.makeArray(h(t).find(c)))[n.length-1]),u=h.Event(ai.HIDE,{relatedTarget:this._element}),e=h.Event(ai.SHOW,{relatedTarget:n}),(n&&h(n).trigger(u),h(this._element).trigger(e),e.isDefaultPrevented()||u.isDefaultPrevented())||(r&&(i=document.querySelector(r)),this._activate(this._element,t),o=function(){var t=h.Event(ai.HIDDEN,{relatedTarget:s._element}),i=h.Event(ai.SHOWN,{relatedTarget:n});h(n).trigger(t);h(s._element).trigger(i)},i?this._activate(i,i.parentNode,o):o()))},t.dispose=function(){h.removeData(this._element,fu);this._element=null},t._activate=function(n,t,i){var o=this,r=("UL"===t.nodeName?h(t).find(ef):h(t).children(ff))[0],s=i&&r&&h(r).hasClass(lh),u=function(){return o._transitionComplete(n,r,i)},e;r&&s?(e=f.getTransitionDurationFromElement(r),h(r).one(f.TRANSITION_END,u).emulateTransitionEnd(e)):u()},t._transitionComplete=function(n,t,i){var r,u,e;t&&(h(t).removeClass(uf+" "+vi),r=h(t.parentNode).find(wh)[0],r&&h(r).removeClass(vi),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!1));(h(n).addClass(vi),"tab"===n.getAttribute("role")&&n.setAttribute("aria-selected",!0),f.reflow(n),h(n).addClass(uf),n.parentNode&&h(n.parentNode).hasClass(hh))&&(u=h(n).closest(ah)[0],u&&(e=[].slice.call(u.querySelectorAll(ph)),h(e).addClass(vi)),n.setAttribute("aria-expanded",!0));i&&i()},n._jQueryInterface=function(t){return this.each(function(){var r=h(this),i=r.data(fu);if(i||(i=new n(this),r.data(fu,i)),"string"==typeof t){if("undefined"==typeof i[t])throw new TypeError('No method named "'+t+'"');i[t]()}})},g(n,null,[{key:"VERSION",get:function(){return"4.1.3"}}]),n}(),h(document).on(ai.CLICK_DATA_API,yh,function(n){n.preventDefault();yi._jQueryInterface.call(h(this),"show")}),h.fn.tab=yi._jQueryInterface,h.fn.tab.Constructor=yi,h.fn.tab.noConflict=function(){return h.fn.tab=sh,yi._jQueryInterface},yi);!function(n){if("undefined"==typeof n)throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");var t=n.fn.jquery.split(" ")[0].split(".");if(t[0]<2&&t[1]<9||1===t[0]&&9===t[1]&&t[2]<1||4<=t[0])throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0");}(t);n.Util=f;n.Alert=bh;n.Button=kh;n.Carousel=dh;n.Collapse=gh;n.Dropdown=nc;n.Modal=tc;n.Popover=ic;n.Scrollspy=rc;n.Tab=uc;n.Tooltip=eu;Object.defineProperty(n,"__esModule",{value:!0})});!function(n,t,i){var r=n.jQuery||n.Zepto||n.ender||n.elo;typeof module!="undefined"&&module.exports?module.exports=i(r):n[t]=i(r)}(this||window,"Response",function(n){function ci(n){return n===+n}function s(n,t){return function(){return n.apply(t,arguments)}}function it(n,t){var i=this.call();return i>=(n||0)&&(!t||i<=t)}function li(n,t,i){for(var u=[],f=n.length,r=0;r<f;)u[r]=t.call(i,n[r],r++,n);return u}function rt(n){return n?ut(typeof n=="string"?n.split(" "):n):[]}function r(n,t,i){if(null==n)return n;for(var u=n.length,r=0;r<u;)t.call(i||n[r],n[r],r++,n);return n}function lt(n,t,i){null==t&&(t="");null==i&&(i="");for(var u=[],f=n.length,r=0;r<f;r++)null==n[r]||u.push(t+n[r]+i);return u}function ut(n,t,i){var f,e,r,o=[],h=0,u=0,c=typeof t=="function",s=!0===i;for(e=n&&n.length,i=s?null:i;u<e;u++)r=n[u],f=c?!t.call(i,r,u,n):t?typeof r!==t:!r,f===s&&(o[h++]=r);return o}function at(n,t){if(null==n||null==t)return n;if(typeof t=="object"&&ci(t.length))nr.apply(n,ut(t,"undefined",!0));else for(var i in t)ti.call(t,i)&&void 0!==t[i]&&(n[i]=t[i]);return n}function h(n,t,i){return null==n?n:(typeof n=="object"&&!n.nodeType&&ci(n.length)?r(n,t,i):t.call(i||n,n),n)}function c(n){var t=i.devicePixelRatio;return null==n?t||(c(2)?2:c(1.5)?1.5:c(1)?1:0):isFinite(n)?t&&t>0?t>=n:(n="only all and (min--moz-device-pixel-ratio:"+n+")",ht(n))?!0:ht(n.replace("-moz-","")):!1}function ai(n){return n.replace(oi,"$1").replace(or,function(n,t){return t.toUpperCase()})}function l(n){return"data-"+(n?n.replace(oi,"$1").replace(er,"$1-$2").toLowerCase():n)}function vi(n){var t;return typeof n!="string"||!n?n:"false"===n?!1:"true"===n?!0:"null"===n?null:"undefined"===n||(t=+n)||0===t||"NaN"===n?t:n}function ft(n){return!n||n.nodeType?n:n[0]}function hr(n,t,i){var u,f,r,e,o;if(n.attributes)for(u=typeof i=="boolean"?/^data-/:u,e=0,o=n.attributes.length;e<o;)r===n.attributes[e++]&&(f=""+r.name,u&&u.test(f)!==i||null===r.value||t.call(n,r.value,f,r))}function cr(n){var t;if(n&&1===n.nodeType)return t===gi&&n.dataset?t:(t={},hr(n,function(n,i){t[ai(i)]=""+n},!0),t)}function lr(n,t,i){for(var r in t)ti.call(t,r)&&i(n,r,t[r])}function a(n,t,i){if(n=ft(n),n&&n.setAttribute){if(void 0===t&&i===t)return cr(n);var r=ii(t)&&l(t[0]);if(typeof t!="object"||r)return(t=r||l(t),!t)?void 0:void 0===i?(t=n.getAttribute(t),null==t?i:r?vi(t):""+t):(n.setAttribute(t,i=""+i),i);t&&lr(n,t,a)}}function yi(n,t){t=rt(t);h(n,function(n){r(t,function(t){n.removeAttribute(l(t))})})}function pi(n){for(var t,i=[],r=0,u=n.length;r<u;)(t=n[r++])&&i.push("["+l(t.replace(et,"").replace(".","\\."))+"]");return i.join()}function ar(t){return n(pi(rt(t)))}function vr(){return window.pageXOffset||f.scrollLeft}function yr(){return window.pageYOffset||f.scrollTop}function vt(n,t){var i=n.getBoundingClientRect?n.getBoundingClientRect():{};return t=typeof t=="number"?t||0:0,{top:(i.top||0)-t,left:(i.left||0)-t,bottom:(i.bottom||0)+t,right:(i.right||0)+t}}function pr(n,t){var i=vt(ft(n),t);return!!i&&i.right>=0&&i.left<=nt()}function wr(n,t){var i=vt(ft(n),t);return!!i&&i.bottom>=0&&i.top<=tt()}function yt(n,t){var i=vt(ft(n),t);return!!i&&i.bottom>=0&&i.top<=tt()&&i.right>=0&&i.left<=nt()}function wi(n){var t={img:1,input:1,source:3,embed:3,track:3,iframe:5,audio:5,video:5,script:5}[n.nodeName.toLowerCase()]||-1;return 4>t?t:null!=n.getAttribute("src")?5:-5}function bi(n,i,r){var u;if(!n||null==i)throw new TypeError("@store");return r=typeof r=="string"&&r,h(n,function(n){u=r?n.getAttribute(r):0<wi(n)?n.getAttribute("src"):n.innerHTML;null==u?yi(n,i):a(n,i,u)}),t}function pt(n,t){var i=[];return n&&t&&r(rt(t),function(t){i.push(a(n,t))},n),i}function br(n,i){return typeof n=="string"&&typeof i=="function"&&(u[n]=i,ui[n]=1),t}function wt(n){o.on("resize",n);return t}function kr(n,i){var r,u,f=st.crossover;typeof n=="function"&&(r=i,i=n,n=r);u=n?""+n+f:f;o.on(u,i);return t}function dr(n){return h(n,function(n){y(n);wt(n)}),t}function ki(n){return h(n,function(n){if(typeof n!="object")throw new TypeError("@create");var t=ot(bt).configure(n),u,f=t.verge,i=t.breakpoints,e=d("scroll"),s=d("resize");i.length&&(u=i[0]||i[1]||!1,y(function(){function c(){t.reset();r(t.$e,function(n,i){t[i].decideValue().updateDOM()}).trigger(n)}function h(){r(t.$e,function(n,i){yt(t[i].$e,f)&&t[i].updateDOM()})}var n=st.allLoaded,i=!!t.lazy;if(r(t.target().$e,function(n,r){t[r]=ot(t).prepareData(n);(!i||yt(t[r].$e,f))&&t[r].updateDOM()}),t.dynamic&&(t.custom||u<k)&&wt(c,s),i){o.on(e,h);t.$e.one(n,function(){o.off(e,h)})}}))}),t}function gr(n){return v[e]===t&&(v[e]=di),typeof n=="function"&&n.call(v,t),t}if(typeof n!="function")try{return void console.warn("response.js aborted due to missing dependency")}catch(nu){}var t,bt,v=this,e="Response",di=v[e],kt="init"+e,i=window,dt=document,f=dt.documentElement,y=n.domReady||n,o=n(i),gi=typeof DOMStringMap!="undefined",gt=Array.prototype,ni=Object.prototype,nr=gt.push,tr=gt.concat,ir=ni.toString,ti=ni.hasOwnProperty,ii=Array.isArray||function(n){return"[object Array]"===ir.call(n)},ri={width:[0,320,481,641,961,1025,1281],height:[0,481],ratio:[1,1.5,2]},u={},ui={},p={all:[]},rr=1,w=screen.width,b=screen.height,k=w>b?w:b,ur=w+b-k,fi=function(){return w},ei=function(){return b},fr=/[^a-z0-9_.-]/gi,et=/^[\W\s]+|[\W\s]+$|/g,er=/([a-z])([A-Z])/g,or=/-(.)/g,oi=/^data-(.+)$/,ot=Object.create||function(n){function t(){}return t.prototype=n,new t},d=function(n,t){return t=t||e,n.replace(et,"")+"."+t.replace(et,"")},st={allLoaded:d("allLoaded"),crossover:d("crossover")},g=i.matchMedia||i.msMatchMedia,sr=g?s(g,i):function(){return{}},ht=g?function(n){return!!g.call(i,n).matches}:function(){return!1},nt=function(){var n=f.clientWidth,t=i.innerWidth;return n<t?t:n},tt=function(){var n=f.clientHeight,t=i.innerHeight;return n<t?t:n},si=s(it,nt),hi=s(it,tt),ct={band:s(it,fi),wave:s(it,ei)};return bt=function(){function f(n){return typeof n=="string"?n.toLowerCase().replace(fr,""):""}function e(n,t){return n-t}var t=st.crossover,i=Math.min;return{$e:0,mode:0,breakpoints:null,prefix:null,prop:"width",keys:[],dynamic:null,custom:0,values:[],fn:0,verge:null,newValue:0,currValue:1,aka:null,lazy:null,i:0,uid:null,reset:function(){for(var r=this.breakpoints,i=r.length,n=0;!n&&i--;)this.fn(r[i])&&(n=i);return n!==this.i&&(o.trigger(t).trigger(this.prop+t),this.i=n||0),this},configure:function(n){at(this,n);var l,t,s,h,c,a=!0,o=this.prop;if(this.uid=rr++,null==this.verge&&(this.verge=i(k,500)),!(this.fn=u[o]))throw new TypeError("@create");if(null==this.dynamic&&(this.dynamic="device"!==o.slice(0,6)),this.custom=ui[o],s=this.prefix?ut(li(rt(this.prefix),f)):["min-"+o+"-"],h=1<s.length?s.slice(1):0,this.prefix=s[0],t=this.breakpoints,ii(t)){if(r(t,function(n){if(!n&&n!==0)throw"invalid breakpoint";a=a&&isFinite(n)}),a&&t.sort(e),!t.length)throw new TypeError(".breakpoints");}else if(t=ri[o]||ri[o.split("-").pop()],!t)throw new TypeError(".prop");if(this.breakpoints=t,this.keys=lt(this.breakpoints,this.prefix),this.aka=null,h){for(c=[],l=h.length;l--;)c.push(lt(this.breakpoints,h[l]));this.aka=c;this.keys=tr.apply(this.keys,c)}return p.all=p.all.concat(p[this.uid]=this.keys),this},target:function(){return this.$e=n(pi(p[this.uid])),bi(this.$e,kt),this.keys.push(kt),this},decideValue:function(){for(var n=null,i=this.breakpoints,r=i.length,t=r;n==null&&t--;)this.fn(i[t])&&(n=this.values[t]);return this.newValue=typeof n=="string"?n:this.values[r],this},prepareData:function(t){if(this.$e=n(t),this.mode=wi(t),this.values=pt(this.$e,this.keys),this.aka)for(var i=this.aka.length;i--;)this.values=at(this.values,pt(this.$e,this.aka[i]));return this.decideValue()},updateDOM:function(){return this.currValue===this.newValue?this:(this.currValue=this.newValue,0<this.mode?this.$e[0].setAttribute("src",this.newValue):null==this.newValue?this.$e.empty&&this.$e.empty():this.$e.html?this.$e.html(this.newValue):(this.$e.empty&&this.$e.empty(),this.$e[0].innerHTML=this.newValue),this)}}}(),u.width=si,u.height=hi,u["device-width"]=ct.band,u["device-height"]=ct.wave,u["device-pixel-ratio"]=c,t={deviceMin:function(){return ur},deviceMax:function(){return k},noConflict:gr,create:ki,addTest:br,datatize:l,camelize:ai,render:vi,store:bi,access:pt,target:ar,object:ot,crossover:kr,action:dr,resize:wt,ready:y,affix:lt,sift:ut,dpr:c,deletes:yi,scrollX:vr,scrollY:yr,deviceW:fi,deviceH:ei,device:ct,inX:pr,inY:wr,route:h,merge:at,media:sr,mq:ht,wave:hi,band:si,map:li,each:r,inViewport:yt,dataset:a,viewportH:tt,viewportW:nt},y(function(){var t=a(dt.body,"responsejs"),r=i.JSON&&JSON.parse||n.parseJSON;t=t&&r?r(t):t;t&&t.create&&ki(t.create);f.className=f.className.replace(/(^|\s)(no-)?responsejs(\s|$)/,"$1$3")+" responsejs "}),t});$.fn.floodlightPixel=function(n,t){var i=Math.random()+"",r=i*1e13;iFrameUrl="https://6261738.fls.doubleclick.net/activityi;src=6261738;type="+n+";cat="+t+";u1=;dc_lat=;dc_rdid=;tag_for_child_directed_treatment=;ord="+r+"?";$("#doubleclick").html($("<iframe>",{src:iFrameUrl,id:"doubleClickFrame",frameborder:0,scrolling:"no",title:"Message"}))};$.fn.doubleclickPixelConversion=function(){if(typeof TTDUniversalPixelApi=="function"){var n=new TTDUniversalPixelApi;n.init("w2mtmao",["5d0sizt"],"https://insight.adsrvr.org/track/up","ttdUniversalPixelTag5ab273de90bd46cfbfc7a874931714ac")}};$.fn.doubleclickPixel2018=function(n){function t(){dataLayer.push(arguments)}(window.dataLayer===null||window.dataLayer.length===0)&&(window.dataLayer=window.dataLayer||[],t("js",new Date),t("config","DC-6261738"));t("event","conversion",{allow_custom_scripts:!0,u1:encodeURIComponent(n),send_to:"DC-6261738/globa0/rossg0+standard"})};$.fn.doubleclickPixel2018email=function(){function n(){dataLayer.push(arguments)}(window.dataLayer===null||window.dataLayer.length===0)&&(window.dataLayer=window.dataLayer||[]);n("js",new Date);n("config","DC-6261738");n("event","conversion",{allow_custom_scripts:!0,send_to:"DC-6261738/email0/globa0+standard"})};$.fn.doubleclickPixelGsdm=function(n,t){function i(){dataLayer.push(arguments)}(window.dataLayer===null||window.dataLayer.length===0)&&(window.dataLayer=window.dataLayer||[],i("js",new Date),i("config","DC-9891319"));i("event","conversion",{allow_custom_scripts:!0,send_to:"DC-6261738/"+n+"/"+t})};$.fn.recaptchaRender=function(n){typeof grecaptcha!="undefined"&&grecaptcha&&($("."+n).html(""),$("."+n).each(function(t,i){try{grecaptcha.render(i,{sitekey:"6Lc6nVYUAAAAAKK4Ne2NxRKetYkH_vEzElfJ8AIc","expired-callback":$(window).recaptchaExpired})}catch(r){console.warn("recaptcha err ("+n+"): "+r)}}))};$.fn.recaptchaReset=function(){typeof grecaptcha!="undefined"&&grecaptcha&&(grecaptcha.reset(),$(".recaptcha").removeClass("has-error"))};$.fn.recaptchaExpired=function(){$(window).recaptchaReset()};$.fn.getUrlVars=function(){for(var t=[],n,r=window.location.href.slice(window.location.href.indexOf("?")+1).split("&"),i=0;i<r.length;i++)n=r[i].split("="),t.push(n[0]),t[n[0]]=n[1];return t};$.fn.getUrlParameter=function(n){for(var i,u=window.location.search.substring(1),r=u.split("&"),f=r.length,t=0;t<f;t++)if(i=r[t].split("="),i[0]===n)return i[1]};$.fn.scrollToElement=function(n){$([document.documentElement,document.body]).animate({scrollTop:$(n).offset().top-125},2e3)};$.fn.getStoreHoursString=function(n){var t,i,r,u,e;try{today=new Date;dayIndex=today.getDay();switch(dayIndex){case 0:t=n.Sunday.Hours;i=n.Monday.Hours;break;case 1:t=n.Monday.Hours;i=n.Tuesday.Hours;break;case 2:t=n.Tuesday.Hours;i=n.Wednesday.Hours;break;case 3:t=n.Wednesday.Hours;i=n.Thursday.Hours;break;case 4:t=n.Thursday.Hours;i=n.Friday.Hours;break;case 5:t=n.Friday.Hours;i=n.Saturday.Hours;break;case 6:t=n.Saturday.Hours;i=n.Sunday.Hours}hoursStartToday=t.split("-")[0];hoursEndToday=t.split("-")[1];hoursStartTomorrow=i.split("-")[0];r=new Date("2019/1/21 "+hoursStartToday);u=new Date("2019/1/21 "+hoursEndToday);u<r&&(u=new Date("2019/1/22 "+hoursEndToday));var f=new Date("2019/1/21 "+today.getHours()+":"+today.getMinutes()),o=u-f,s=Math.floor(o/6e4);return o=r-f,e=Math.floor(o/6e4),s>0&&s<60?"Closing in "+s+" minutes":e>0&&e<60?"Opening in "+e+" minutes":f<u&&f>r?"Open until "+hoursEndToday:f<r?"Open at "+hoursStartToday:"Opens at "+hoursStartTomorrow}catch(h){console.error(h)}};$.fn.getStoreHoursStringV3=function(n){try{var t=$().isOpen(n,0);return t?$().getNextClose(n):$().getNextOpen(n)}catch(i){console.error(i)}};$.fn.getNextOpen=function(n){var i,f;try{dayIndex=currentDateTime.getDay();var t=n.Days[dayIndex],r=currentDateTime.getFullYear()+"/"+(currentDateTime.getMonth()+1)+"/"+currentDateTime.getDate()+" "+t.Open,u=!1;if(t.Closed&&(dayIndex=dayIndex===6?0:dayIndex+1,t=n.Days[dayIndex],r=currentDateTime.getFullYear()+"/"+(currentDateTime.getMonth()+1)+"/"+(currentDateTime.getDate()+1)+" "+t.Open,u=!0),diff=new Date(r)-currentDateTime,i=Math.floor(diff/6e4),i<0){for(u=!0,dayIndex=dayIndex===6?0:dayIndex+1,t=n.Days[dayIndex],f=1;t.Closed;)dayIndex=dayIndex===6?0:dayIndex+1,t=n.Days[dayIndex],f++;r=new Date(currentDateTime.getFullYear()+"/"+(currentDateTime.getMonth()+1)+"/"+(currentDateTime.getDate()+f)+" "+t.Open);diff=r-currentDateTime;i=Math.floor(diff/6e4)}return i>1440||i>720&&u?"Closed":i>=60?"Opens at "+t.Open:i<60?"Opening in "+i+" minutes":"Closed"}catch(e){return console.error(e),"Closed"}};$.fn.getNextClose=function(n){var s,h,f;try{dayIndex=currentDateTime.getDay();var t=n.Days[dayIndex],r=currentDateTime.getFullYear()+"/"+(currentDateTime.getMonth()+1)+"/"+currentDateTime.getDate()+" "+t.Close,o=!1,i,e,u;if(e=dayIndex>0?n.Days[dayIndex-1]:n.Days[6],u=dayIndex===6?n.Days[0]:n.Days[dayIndex+1],s=new Date(currentDateTime.getFullYear()+"/"+(currentDateTime.getMonth()+1)+"/"+currentDateTime.getDate()+" "+e.Close),e.Close!==null&&e.Close.includes("AM")&&!t.Open24&&currentDateTime<s)i=s,t=e;else if(t.Close==="12:00 AM"&&u.Open==="12:00 AM"){for(h=1,o=!0;t.Close===u.Open;)dayIndex=dayIndex===6?0:dayIndex+1,t=u,u=n.Days[dayIndex],r=currentDateTime.getFullYear()+"/"+(currentDateTime.getMonth()+1)+"/"+(currentDateTime.getDate()+h)+" "+u.Close,h++;i=new Date(r);r.includes("AM")&&i.setDate(i.getDate()+1)}else t.Close.includes("AM")?(o=!0,dayIndex=dayIndex===6?0:dayIndex+1,r=currentDateTime.getFullYear()+"/"+(currentDateTime.getMonth()+1)+"/"+(currentDateTime.getDate()+1)+" "+t.Close,i=new Date(r)):i=new Date(r);return diff=i-currentDateTime,f=Math.floor(diff/6e4),f>1440||f>720&&o?"Open":f>=60?(t.Close==="12:00 AM"&&(t.Close="Midnight"),"Open until "+t.Close):f<60?"Closing in "+f+" minutes":"Open"}catch(c){return console.error(c),"Open"}};$.fn.isOpen=function(n,t){var i,r,u,o;if(dayIndex=currentDateTime.getDay(),i=n.Days[dayIndex+t],i.Closed)return!1;if(currentDateTime>i.Open)return $().isOpen(n,-1);if(r=dayIndex+t>0?n.Days[dayIndex+t-1]:n.Days[6],u=new Date(currentDateTime.getFullYear()+"/"+(currentDateTime.getMonth()+1)+"/"+currentDateTime.getDate()+" "+r.Close),r.Close!==null&&r.Close.includes("AM")&&currentDateTime<u)return!0;var f=currentDateTime.getFullYear()+"/"+(currentDateTime.getMonth()+1)+"/"+currentDateTime.getDate(),s=currentDateTime.getFullYear()+"/"+(currentDateTime.getMonth()+1)+"/"+(currentDateTime.getDate()+1),e=new Date(f+" "+i.Close);return i.Close.includes("AM")&&(e=new Date(s+" "+i.Close)),o=new Date(f+" "+i.Open),currentDateTime>o&&currentDateTime<e?!0:!1};$.fn.sortStoreHours=function(n,t){return dayIndex=t.getDay(),n.Sunday.Hours===n.Monday.Hours&&n.Sunday.Hours===n.Tuesday.Hours&&n.Sunday.Hours===n.Wednesday.Hours&&n.Sunday.Hours===n.Thursday.Hours&&n.Sunday.Hours===n.Friday.Hours&&n.Sunday.Hours===n.Saturday.Hours?newHoursArray=["Mon-Sun: "+n.Sunday.Hours]:n.Monday.Hours===n.Tuesday.Hours&&n.Monday.Hours===n.Wednesday.Hours&&n.Monday.Hours===n.Thursday.Hours&&n.Monday.Hours===n.Friday.Hours&&n.Monday.Hours===n.Saturday.Hours?newHoursArray=["Mon-Sat: "+n.Monday.Hours,"Sun: "+n.Sunday.Hours]:n.Monday.Hours===n.Tuesday.Hours&&n.Monday.Hours===n.Wednesday.Hours&&n.Monday.Hours===n.Thursday.Hours&&n.Friday.Hours===n.Friday.Hours?newHoursArray=dayIndex===0?["Sun: "+n.Sunday.Hours,"Mon-Thu: "+n.Monday.Hours,"Fri-Sat: "+n.Friday.Hours]:dayIndex>=5?["Fri-Sat: "+n.Friday.Hours,"Sun: "+n.Sunday.Hours,"Mon-Thu: "+n.Monday.Hours]:["Mon-Thu: "+n.Monday.Hours,"Fri-Sat: "+n.Friday.Hours,"Sun: "+n.Sunday.Hours]:dayIndex===0?newHoursArray=["Sun: "+n.Sunday.Hours,"Mon: "+n.Monday.Hours,"Tue: "+n.Tuesday.Hours,"Wed: "+n.Wednesday.Hours,"Thu: "+n.Thursday.Hours,"Fri: "+n.Friday.Hours,"Sat: "+n.Saturday.Hours]:dayIndex===1?newHoursArray=["Mon: "+n.Monday.Hours,"Tue: "+n.Tuesday.Hours,"Wed: "+n.Wednesday.Hours,"Thu: "+n.Thursday.Hours,"Fri: "+n.Friday.Hours,"Sat: "+n.Saturday.Hours,"Sun: "+n.Sunday.Hours]:dayIndex===2?newHoursArray=["Tue: "+n.Tuesday.Hours,"Wed: "+n.Wednesday.Hours,"Thu: "+n.Thursday.Hours,"Fri: "+n.Friday.Hours,"Sat: "+n.Saturday.Hours,"Sun: "+n.Sunday.Hours,"Mon: "+n.Monday.Hours]:dayIndex===3?newHoursArray=["Wed: "+n.Wednesday.Hours,"Thu: "+n.Thursday.Hours,"Fri: "+n.Friday.Hours,"Sat: "+n.Saturday.Hours,"Sun: "+n.Sunday.Hours,"Mon: "+n.Monday.Hours,"Tue: "+n.Tuesday.Hours]:dayIndex===4?newHoursArray=["Thu: "+n.Thursday.Hours,"Fri: "+n.Friday.Hours,"Sat: "+n.Saturday.Hours,"Sun: "+n.Sunday.Hours,"Mon: "+n.Monday.Hours,"Tue: "+n.Tuesday.Hours,"Wed: "+n.Wednesday.Hours]:dayIndex===5?newHoursArray=["Fri: "+n.Friday.Hours,"Sat: "+n.Saturday.Hours,"Sun: "+n.Sunday.Hours,"Mon: "+n.Monday.Hours,"Tue: "+n.Tuesday.Hours,"Wed: "+n.Wednesday.Hours,"Thu: "+n.Thursday.Hours]:dayIndex===6&&(newHoursArray=["Sat: "+n.Saturday.Hours,"Sun: "+n.Sunday.Hours,"Mon: "+n.Monday.Hours,"Tue: "+n.Tuesday.Hours,"Wed: "+n.Wednesday.Hours,"Thu: "+n.Thursday.Hours,"Fri: "+n.Friday.Hours]),newHoursArray};$.fn.overlayWasShown=function(n,t){if(window.location.href.indexOf("showoverlay")>0)return!1;if(t)try{localStorage.setItem(n,t)}catch(r){try{sessionStorage.setItem(n,t)}catch(r){try{var u=365,i=new Date;i.setTime(i.getTime()+u*864e5);document.cookie=n+"="+t+"; expires="+i.toGMTString()+"; path=/"}catch(r){console.error(r)}}}else try{t=parseInt(localStorage.getItem(n,10))}catch(r){try{t=parseInt(sessionStorage.getItem(n,10))}catch(r){try{t=document.cookie.indexOf(n)!==-1?1:0}catch(r){t=!0;console.error(r)}}}return t};$.fn.recordClickEvent=function(n){var i=$(n).attr("target"),t;i==="_blank"&&"ga"in window&&(t=$(n).attr("href"),ga("send","event","link","click",t))};$.fn.recordEvent=function(n,t,i){"ga"in window&&ga("send","event",n,t,i)};$.fn.getWeekDay=function(n){return["Sun","Mon","Tue","Wed","Thu","Fri","Sat"][n]},function(n,t,i){"use strict";function e(){var n=i(t.body).find("#form-newsletter"),e=n.find("#zip-code").val(),s=n.find("#email").val(),h=[e,s],c=/^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,l=/^\d{5}$/i,a=[function(n){return l.test(n)},function(n){return c.test(n)}],v=["#zip-code","#email"],u=h.map(function(n,t){return a[t](n)}),f,r;u.forEach(function(t,i){var r=n.find(v[i]).closest(".form-group");t?r.removeClass("has-error"):(r.addClass("has-error"),r.find(".error-message").show())});f=u.every(function(n){return n});f?o():(r=n.find("input:focus,textarea:focus").get(0),r&&r.blur(),event.preventDefault())}function o(){gtag("event","conversion",{send_to:"AW-722906236/d94oCLrUgPwBEPzY2tgC"});i("#sign-me-up").attr("disabled",!0);var n={zipcode:i("#zip-code").val(),email:i("#email").val(),recaptchaResponse:i("#test_email").val()};i.ajax({type:"POST",url:"//"+window.location.host+"/ws/service.asmx/Email",data:JSON.stringify(n),contentType:"application/json; charset=utf-8",dataType:"json"}).always(function(n){if(n.d==="Saved successfully")"ga"in window&&(window.location.pathname==="/email-sign-up"?ga("send","event","email-sign-up","success"):ga("send","event","email-sign-up-overlay","success")),i(window).doubleclickPixel2018email(),i("#sign-up").hide(),i("#thank-you").show(),i("#EmailFormInitial").hide(),i("#EmailFormThankYou").show();else{var u=i(t.body).find("#form-newsletter"),f=u.find("#email"),r=f.closest(".form-group");r.addClass("has-error");r.find(".error-message").html(n.d);r.find(".error-message").show();u.find("#sign-me-up").attr("disabled",!1)}});"ga"in window&&(window.location.pathname==="/email-sign-up"?ga("send","event","email-sign-up","submit"):ga("send","event","email-sign-up-overlay","submit"))}var r={onSubmit:function(){return e(),!1},validateZipCode:function(n){var t=n.which?n.which:n.keyCode;if(t>31&&(t<48||t>57)&&t!==229)return n.preventDefault(),!1},validateZipCodeAndroid:function(n){var r=i(n.currentTarget),t=r.val();t=t.replace(/\D/g,"").slice(0,5);r.val(t)}},u=function(){var n=i(t.body);n.find("#form-newsletter").on("submit",r.onSubmit.bind(r));n.find("#zip-code").on("keypress",r.validateZipCode);n.find("#zip-code").on("keyup",r.validateZipCodeAndroid)},f=function(){var n=i(window).getUrlParameter("email");n&&i("input[name='email']").val(n)};u();f();window.location.pathname==="/email-sign-up"?(i(window).floodlightPixel("email0","email0"),ga("send","event","email-sign-up","load")):window.location.pathname==="/email-sign-up/thank-you"&&i(window).floodlightPixel("email0","regis0")}(window,document,jQuery),function(n,t,i){"use strict";function rt(n){var t=["ross","dds"].map(function(n){return".visible-"+n});t.forEach(function(n){i(n).hide()});i(".visible-"+n).show();i("#store-"+n).prop("checked",!0)}var y="#form-contact-us-new",p="#name-new",w="#last-name-new",b="#email-new",k="#phone-new",e="#city-new",f="#dropdown-state-new",d="#message-new",l="#receipt-number-new",nt=".show-receipt-new",o="#dropdown-month-new",a="#dropdown-day-new",s="#dropdown-year-new",g="#gift-card-number-new",tt="#show-gift-card-new",v="#dropdown-topic-new",u="#dropdown-subtopic-new",h="#dropdown-issue-new",c="#associate-id",r={chooseOption:function(n){n.keyCode===13&&(i(n.target).trigger("click"),window.setTimeout(function(){i(n.target).closest("ul").prev().focus()},0))},showModalReceipt:function(){var r=i('<div class="modal fade"><\/div>'),u;r.load(n.config.MODAL_RECEIPT_SOURCE);u=i(t.body);u.append(r);r.modal("show")},showModalGiftCard:function(){var r=i('<div class="modal fade"><\/div>'),u;r.load(n.config.MODAL_GIFT_CARD_SOURCE);u=i(t.body);u.append(r);r.modal("show")},showForTopic:function(n){i(".hide").each(function(n,t){i(t).hide()});this.showForSubTopic("");i(".visible-"+n).show()},showForSubTopic:function(n){if(!i(u).is(":visible")){this.showForIssue("");return}var t=["return","payment","experience","prospective","current","giving","environment","sourcing"].map(function(n){return".visible-subtopic-"+n});t.forEach(function(n){i(n).hide()});this.showForIssue("");i(".visible-subtopic-"+n).show()},showForIssue:function(n){var t=["card","check","gift"].map(function(n){return".visible-issue-"+n});t.forEach(function(n){i(n).hide()});i(".visible-issue-"+n).show()},onSubmit:function(n){var ot,st,ti;i("#serverResponse").html("");n.preventDefault();"ga"in window&&ga("send","event","contact-us","submit");var r=i(t.body).find(y),ht=r.find("button"),ct=r.find(p).val(),lt=r.find(w).val(),at=r.find(b).val(),vt=r.find(k).val(),yt=r.find(c).val(),tt=r.find(v+" span").text(),et=r.find(u+" span").text(),pt=r.find(d).val(),nt=i("#receipt-yes").hasClass("active"),wt=r.find(e).val(),bt=r.find(f+" span").text(),it=r.find(h+" span").text(),kt=r.find(l).val(),rt=r.find(o+" span").text(),ut=r.find(a+" span").text(),ft=r.find(s+" span").text(),dt=r.find(g).val(),ii=[ct,at,vt,wt,bt,pt,kt,rt,ut,ft,dt,tt,et,lt,yt],gt=/^(1?)(-| ?)(\()?([0-9]{3})(\)|-| |\)-|\) )?([0-9]{3})(-| )?([0-9]{4}|[0-9]{4})$/,ri=/^[a-z0-9!#$%&'*+\/=?^_`{|}~.-]+@[a-z0-9]([a-z0-9-]*[a-z0-9])?(\.[a-z0-9]([a-z0-9-]*[a-z0-9])?)*$/i,ui=[function(n){return!!n},function(n){return ri.test(n)||!!n},function(n){return i(c).is(":visible")?n&&gt.test(n):gt.test(n)||!n},function(n){return i(e).is(":visible")?!!n:!0},function(n){return i(f).is(":visible")?n!=="State":!0},function(n){return!!n},function(n){return nt?!!n:!0},function(n){return nt?n!=="Month":!0},function(n){return nt?n!=="Day":!0},function(n){return nt?n!=="Year":!0},function(n){return it==="Gift Card Voucher"?!!n:!0},function(){return tt!=="Select One Topic"},function(){return i(u).is(":visible")?tt!=="Select One Topic":!0},function(n){return!!n},function(n){return i(c).is(":visible")?n&&n.length<=8&&!isNaN(n):!0}],fi=[p,b,k,e,f,d,l,o,a,s,g,v,u,w,c],ni=ii.map(function(n,t){return ui[t](n)});return(ni.forEach(function(n,t){var i=r.find(fi[t]).closest(".form-group");n?i.removeClass("has-error"):i.addClass("has-error")}),nt&&rt&&ut&&ft&&new Date(ft+" "+rt+" "+ut)>new Date&&(r.find(o+" span").closest(".form-group").addClass("has-error"),ot=!1),ot=ni.every(function(n){return n}),!ot)?(st=r.find("input:focus,textarea:focus").get(0),st&&st.blur(),n.preventDefault(),!1):(ht.attr("disabled",!0),ti={name:ct,email:at,phone:vt,city:i(e).is(":visible")?wt:"",state:i(f).is(":visible")?bt:"",message:pt,subject:tt,subtopic:et.toLocaleUpperCase()!=="SELECT ONE TOPIC"?et:"",payment:it.toLocaleUpperCase()!=="SELECT ONE TOPIC"?it:"",receiptNumber:kt,receiptDateMonth:nt?rt:"",receiptDateDay:nt?ut:"",receiptDateYear:nt?ft:"",giftCardNumber:it==="Gift Card Voucher"?dt:"",recaptchaResponse:r.find("#test_email-contact").val(),lastName:lt,associateId:yt},i.ajax({type:"POST",url:"//"+window.location.host+"/ws/service.asmx/SendCustomerServiceEmailV2",data:JSON.stringify(ti),contentType:"application/json; charset=utf-8",dataType:"json"}).always(function(n){n.d==="Saved successfully"?("ga"in window&&ga("send","event","contact-us","success"),i("#customer-service-form").hide(),i("#thank-you").show(),i(window).scrollToElement("#thank-you")):(ht.removeAttr("disabled"),i("#serverResponse").html(n.d))}),!1)},onClickDropdownTopicA:function(n){var t=i(n.target),r=t.closest(".dropdown"),f=r.find("span");f.text(t.text());this.showForTopic(t.attr("data-value"));i(u).find("button span").text("Select one topic");this.showForSubTopic("none");i(h).find("button span").text("Select one topic");this.showForIssue("none")},onClickDropdownSubTopicA:function(n){var t=i(n.target),r=t.closest(".dropdown"),u=r.find("span");u.text(t.text());this.showForSubTopic(t.attr("data-value"));i(h).find("button span").text("Select one topic");this.showForIssue("none")},onClickDropdownIssueA:function(n){var t=i(n.target),r=t.closest(".dropdown"),u=r.find("span");u.text(t.text());this.showForIssue(t.attr("data-value"))},onClickDropdownStateA:function(n){var t=i(n.target),r=t.closest(".dropdown"),u=r.find("span");u.text(t.attr("data-value"))},onClickDropdownDateA:function(n){var t=i(n.target),r=t.closest(".dropdown"),u=r.find("span");u.text(t.text())},onClickBtnTab:function(n){var t=i(n.currentTarget);t.hasClass("btn-tab-yes-new")?(i(".tab-pane-new").show(),i("#receipt-yes").addClass("active"),i("#receipt-no").removeClass("active")):(i(".tab-pane-new").hide(),i("#receipt-no").addClass("active"),i("#receipt-yes").removeClass("active"))},validateReceiptNumber:function(){return!0}},it=function(){var n=i(t.body),e=n.find(y),c,b;e.on("submit",r.onSubmit.bind(r));n.find(v+" .dropdown-item").on("click",r.onClickDropdownTopicA.bind(r));n.find(u+" .dropdown-item").on("click",r.onClickDropdownSubTopicA.bind(r));n.find(h+" .dropdown-item").on("click",r.onClickDropdownIssueA.bind(r));n.find(f+" .dropdown-item").on("click",r.onClickDropdownStateA.bind(r));n.find(".btn-receipt-new").on("click",r.onClickBtnTab.bind(r));n.find(o+" .dropdown-item").on("click",r.onClickDropdownDateA.bind(r));n.find(a+" .dropdown-item").on("click",r.onClickDropdownDateA.bind(r));n.find(nt).on("click",r.showModalReceipt);n.find(tt).on("click",r.showModalGiftCard);n.find(l).on("keydown",r.validateReceiptNumber);n.find(".dropdown-menu").on("keydown",r.chooseOption);if(e&&e.length){var k=new Date,p=k.getFullYear(),w="";for(c=0,b=3;c<b;++c)w+='<li><a role="menuitem" tabindex="'+c+'" data-value="'+(p-c)+'">'+(p-c)+"<\/a><\/li>";e.find(s+" ul").html(w)}n.find(s+" a").on("click",r.onClickDropdownDateA.bind(r));n.find('.contact-us-new input[type="radio"]').keydown(function(n){if(n.which===32||n.which===13)return i(n.target).trigger("click"),!1});e.find("#dropdown-state a").keydown(function(n){if(n.which===32||n.which===13){r.onClickDropdownStateA(n);return i("#dropdown-state").find("button").focus(),!1}});e.find("#dropdown-topic a").keydown(function(n){if(n.which===32||n.which===13){i("#dropdown-topic").find("button").focus();r.onClickDropdownTopicA(n);return!1}});e.find("#dropdown-issue a").keydown(function(n){if(n.which===32||n.which===13){i("#dropdown-topic").find("button").focus();r.onClickDropdownIssueA(n);return!1}});typeof siteName!="undefined"&&rt(siteName);i("#ross-return-policy-link").click();i("#ross-reopening-faq-link").click();i("#faq-link").click()};it()}(window,document,jQuery),function(n,t,i){"use strict";var r={onSubmit:function(n){var r=i(t.body).find("#form-unsubscribe"),u=r.find("#email-unsubscribe").val(),s=[u,],h=/^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,c=[function(n){return h.test(n)},],l=["#email",],f=s.map(function(n,t){return c[t](n)}),e,o;return(f.forEach(function(n,t){var i=r.find(l[t]).closest(".form-group");n?i.removeClass("has-error"):i.addClass("has-error")}),e=f.every(function(n){return n}),!e)?(i(".error-message").show(),n.preventDefault(),!1):(o={email:u},i.ajax({type:"POST",url:"//"+window.location.host+"/ws/service.asmx/UnSubscribeEmail",data:JSON.stringify(o),contentType:"application/json; charset=utf-8",dataType:"json"}).always(function(n){n.d==="Saved successfully"&&("ga"in window&&ga("send","event","unsubscribe","success"),i("#form-unsubscribe").hide(),i("#thank-you").show(),i(window).scrollToElement("#thank-you"))}),"ga"in window&&ga("send","event","unsubscribe","submit"),n.preventDefault(),!1)}},u=function(){var n=i(t.body);n.find("#form-unsubscribe").on("submit",r.onSubmit.bind(r))};u()}(window,document,jQuery);$(document).ready(function(){function n(){$("#EmailButton").attr("aria-expanded","false");$("#EmailButton").attr("title","Click to open email form view.");$("#EmailButton").attr("aria-label","Click to open email form view.");$("#InstagramButton").attr("aria-expanded","false");$("#InstagramButton").find(".overlay-button").attr("title","Click to open Instagram form view.");$("#InstagramButton").find(".overlay-button").attr("aria-label","Click to open Instagram form view.");$("#FacebookButton").attr("aria-expanded","false");$("#FacebookButton").find(".overlay-button").attr("title","Click to open Facebook form view.");$("#FacebookButton").find(".overlay-button").attr("aria-label","Click to open Facebook form view.");$("#OpenCloseArrow").attr("aria-expanded","false");$("#OpenCloseArrow").find(".overlay-button").attr("title","Click to open email form view.");$("#OpenCloseArrow").find(".overlay-button").attr("aria-label","Click to open email form view.")}$('a[data-toggle="tab"]').on("shown.bs.tab",function(n){var i=$(n.target).attr("data-id"),t=$(n.relatedTarget).attr("data-id");if(t===undefined&&(t="EmailForm"),i==="OpenCloseArrow"){$("#"+t).hide();$("#EmailButton .cta").show();$("#OpenCloseArrow img").removeClass("arrow-drawer-opened");return}i==="EmailForm"?(ga("send","event","email-sign-up-overlay","load"),$("#EmailButton .cta").hide()):$("#EmailButton .cta").show();$("#OpenCloseArrow").show();t!==null&&t!=="OpenCloseArrow"&&$("#"+t).hide();$("#"+i).show();$("#OpenCloseArrow img").addClass("arrow-drawer-opened")});$("#OpenCloseArrow").on("click",function(n){if($(".overlay").height()<100)return $("#EmailButton").click(),n.preventDefault(),!1});$("#email").focusin(function(){$(".form-group").show()});$("#EmailButton").on("click",function(){n();$("#EmailButton").attr("aria-expanded","true");$("#EmailButton").attr("title","Email form view is expanded.");$("#EmailButton").attr("aria-label","Email form view is expanded.");$("#OpenCloseArrow").attr("aria-expanded","true");$("#OpenCloseArrow").find(".overlay-button").attr("title","Click to collapse overlay view.");$("#OpenCloseArrow").find(".overlay-button").attr("aria-label","Click to collapse overlay view.")});$("#InstagramButton").on("click",function(){n();$("#InstagramButton").attr("aria-expanded","true");$("#InstagramButton").find(".overlay-button").attr("title","Instagram form view is expanded.");$("#InstagramButton").find(".overlay-button").attr("aria-label","Instagram form view is expanded.");$("#OpenCloseArrow").attr("aria-expanded","true");$("#OpenCloseArrow").find(".overlay-button").attr("title","Click to collapse overlay view.");$("#OpenCloseArrow").find(".overlay-button").attr("aria-label","Click to collapse overlay view.")});$("#FacebookButton").on("click",function(){n();$("#FacebookButton").attr("aria-expanded","true");$("#FacebookButton").find(".overlay-button").attr("title","Facebook form view is expanded.");$("#FacebookButton").find(".overlay-button").attr("aria-label","Facebook form view is expanded.");$("#OpenCloseArrow").attr("aria-expanded","true");$("#OpenCloseArrow").find(".overlay-button").attr("title","Click to collapse overlay view.");$("#OpenCloseArrow").find(".overlay-button").attr("aria-label","Click to collapse overlay view.")});$("#OpenCloseArrow").on("click",function(){n()});$("#ccpa").length>0?$(".overlay").css({position:"fixed",bottom:"50px"}):$(".overlay").css({position:"fixed",bottom:"0"});window.location.pathname==="/"?$(window).floodlightPixel("homep0","rossh0"):window.location.pathname==="/gallery"?$(window).floodlightPixel("insta0","insta0"):window.location.pathname==="/store-locator"&&$(window).floodlightPixel("store0","store0")});$(".store-info").click(function(){$(".store-info .container .details").css("display")==="none"?($(".store-pin").css({"-webkit-transform":"rotate(180deg)","-moz-transform":"rotate(180deg)",transform:"rotate(180deg)"}),$(".store-info .container .details").css("display","flex"),$(window).recordEvent("locator","top-nav","show")):($(".store-pin").css({"-webkit-transform":"rotate(0deg)","-moz-transform":"rotate(0deg)",transform:"rotate(0deg)"}),$(".store-info .container .details").css("display","none"),$(window).recordEvent("locator","top-nav","hide"))});var currentZip="",storeHoursVersion="",currentDateTime=new Date;$.urlParam=function(n){var t=new RegExp("[?&]"+n+"=([^&#]*)").exec(window.location.href);return t===null?null:decodeURI(t[1])||0};$.ajax({type:"POST",url:"//"+window.location.host+"/ws/service.asmx/GetIp",contentType:"application/json; charset=utf-8",dataType:"json"}).always(function(n){n.d!==null?console.log("public ip address: "+n.d):console.log("public ip address: unavailable")});$(document).ready(function(){currentZip=$.urlParam("zipcode");storeHoursVersion=$.urlParam("v");$.urlParam("date")!==null&&(currentDateTime=new Date($.urlParam("date")));currentZip!==null?showPositionByZip():navigator.geolocation?navigator.geolocation.getCurrentPosition(showPositionByLatLon,showPositionByIpFallback,{maximumAge:6e4,timeout:1e4,enableHighAccuracy:!0}):showPositionByIp();$(window).scroll(function(){var n=$(window).innerWidth();n<996&&($(".navbar-collapse:visible").length>0?$(".navbar-toggler").click():$(".store-info .details:visible").length>0&&$(".store-info").click())});$("body").click(function(n){n.target.className!=="navbar-toggler"&&$(".navbar-collapse").hasClass("show")&&!$(n.target).parents(".navbar-collapse").length?($(".navbar-toggler").click(),n.preventDefault()):$(".store-info .details:visible").length&&!$(n.target).parents(".store-info").length&&($(".store-info").click(),n.preventDefault())});$("a").click(function(n){$(window).recordClickEvent(n.currentTarget)});$(window).doubleclickPixelConversion();$(window).doubleclickPixel2018($(window)[0].location.pathname);$("#ccpa-close").click(function(){$("#ccpa").hide();$(".overlay").css("position")==="fixed"&&$(".overlay").css("bottom","0")})})