!function(){var e={8173:function(e,t,o){var n,s,i;i=document,n=[o(19567)],s=function(e){return function(e,t,o,n){(function(e,t,o,n){function s(e){for(;e&&void 0!==e.originalEvent;)e=e.originalEvent;return e}function i(t,o){var i,r,a,c,u,p,h,l,v,f=t.type;if((t=e.Event(t)).type=o,i=t.originalEvent,r=[],f.search(/^(mouse|click)/)>-1&&(r=w),i)for(h=r.length;h;)t[c=r[--h]]=i[c];if(f.search(/mouse(down|up)|click/)>-1&&!t.which&&(t.which=1),-1!==f.search(/^touch/)&&(f=(a=s(i)).touches,u=a.changedTouches,p=f&&f.length?f[0]:u&&u.length?u[0]:n))for(l=0,v=m.length;l<v;l++)t[c=m[l]]=p[c];return t}function r(t,o,n){var s;return(n&&n[t]||!n&&k(o.target,t))&&(s=i(o,t),e(o.target).trigger(s)),s}function a(t){var o,n,i,a=s(t).touches;a&&1===a.length&&(o=t.target,(n=C(o)).hasVirtualBinding&&(P=L++,e.data(o,d,P),D(),M(),x=!1,i=s(t).touches[0],T=i.pageX,y=i.pageY,r("vmouseover",t,n),r("vmousedown",t,n)))}function c(e){Y||(x||r("vmousecancel",e,C(e.target)),x=!0,_())}function u(t){if(!Y){var o=s(t).touches[0],n=x,i=e.vmouse.moveDistanceThreshold,a=C(t.target);(x=x||Math.abs(o.pageX-T)>i||Math.abs(o.pageY-y)>i)&&!n&&r("vmousecancel",t,a),r("vmousemove",t,a),_()}}function p(e){if(!Y){A();var t,o,n=C(e.target);r("vmouseup",e,n),x||(t=r("vclick",e,n))&&t.isDefaultPrevented()&&(o=s(e).changedTouches[0],X.push({touchID:P,x:o.clientX,y:o.clientY})),r("vmouseout",e,n),x=!1,_()}}function h(t){var o=t.substr(1);return{setup:function(){q(this)||e.data(this,f,{}),e.data(this,f)[t]=!0,b[t]=(b[t]||0)+1,1===b[t]&&I.on(o,H),e(this).on(o,R),E&&(b.touchstart=(b.touchstart||0)+1,1===b.touchstart&&I.on("touchstart",a).on("touchend",p).on("touchmove",u).on("scroll",c))},teardown:function(){--b[t],b[t]||I.off(o,H),E&&(--b.touchstart,b.touchstart||I.off("touchstart",a).off("touchmove",u).off("touchend",p).off("scroll",c));var n=e(this),s=e.data(this,f);s&&(s[t]=!1),n.off(o,R),q(this)||n.removeData(f)}}}var l,v,f="virtualMouseBindings",d="virtualTouchID",g="vmouseover vmousedown vmousemove vmouseup vclick vmouseout vmousecancel".split(" "),m="clientX clientY pageX pageY screenX screenY".split(" "),w=(e.event.mouseHooks&&e.event.mouseHooks.props,[]),b={},T=0,y=0,x=!1,X=[],Y=!1,E="addEventListener"in o,I=e(o),L=1,P=0;for(e.vmouse={moveDistanceThreshold:10,clickDistanceThreshold:10,resetTimerDuration:1500},v=0;v<g.length;v++)e.event.special[g[v]]=h(g[v]);E&&o.addEventListener("click",(function(t){var o,n,s,i,r,a=X.length,c=t.target;if(a)for(o=t.clientX,n=t.clientY,l=e.vmouse.clickDistanceThreshold,s=c;s;){for(i=0;i<a;i++)if(r=X[i],s===c&&Math.abs(r.x-o)<l&&Math.abs(r.y-n)<l||e.data(s,d)===r.touchID)return t.preventDefault(),void t.stopPropagation();s=s.parentNode}}),!0)})(e,0,o),function(e){e.mobile={}}(e),function(e,t){var n={touch:"ontouchend"in o};e.mobile.support=e.mobile.support||{},e.extend(e.support,n),e.extend(e.mobile.support,n)}(e),function(e,t,n){function s(t,o,s,i){var r=s.type;s.type=o,i?e.event.trigger(s,n,t):e.event.dispatch.call(t,s),s.type=r}var i=e(o),r=e.mobile.support.touch,a=r?"touchstart":"mousedown",c=r?"touchend":"mouseup",u=r?"touchmove":"mousemove";e.each("touchstart touchmove touchend tap taphold swipe swipeleft swiperight scrollstart scrollstop".split(" "),(function(t,o){e.fn[o]=function(e){return e?this.on(o,e):this.trigger(o)},e.attrFn&&(e.attrFn[o]=!0)})),e.event.special.swipe={scrollSupressionThreshold:30,durationThreshold:1e3,horizontalDistanceThreshold:30,verticalDistanceThreshold:30,getLocation:function(e){var o=t.pageXOffset,n=t.pageYOffset,s=e.clientX,i=e.clientY;return 0===e.pageY&&Math.floor(i)>Math.floor(e.pageY)||0===e.pageX&&Math.floor(s)>Math.floor(e.pageX)?(s-=o,i-=n):(i<e.pageY-n||s<e.pageX-o)&&(s=e.pageX-o,i=e.pageY-n),{x:s,y:i}},start:function(t){var o=t.originalEvent.touches?t.originalEvent.touches[0]:t,n=e.event.special.swipe.getLocation(o);return{time:(new Date).getTime(),coords:[n.x,n.y],origin:e(t.target)}},stop:function(t){var o=t.originalEvent.touches?t.originalEvent.touches[0]:t,n=e.event.special.swipe.getLocation(o);return{time:(new Date).getTime(),coords:[n.x,n.y]}},handleSwipe:function(t,o,n,i){if(o.time-t.time<e.event.special.swipe.durationThreshold&&Math.abs(t.coords[0]-o.coords[0])>e.event.special.swipe.horizontalDistanceThreshold&&Math.abs(t.coords[1]-o.coords[1])<e.event.special.swipe.verticalDistanceThreshold){var r=t.coords[0]>o.coords[0]?"swipeleft":"swiperight";return s(n,"swipe",e.Event("swipe",{target:i,swipestart:t,swipestop:o}),!0),s(n,r,e.Event(r,{target:i,swipestart:t,swipestop:o}),!0),!0}return!1},eventInProgress:!1,setup:function(){var t,o=this,n=e(o),s={};(t=e.data(this,"mobile-events"))||(t={length:0},e.data(this,"mobile-events",t)),t.length++,t.swipe=s,s.start=function(t){if(!e.event.special.swipe.eventInProgress){e.event.special.swipe.eventInProgress=!0;var n,r=e.event.special.swipe.start(t),a=t.target,p=!1;s.move=function(t){r&&!t.isDefaultPrevented()&&(n=e.event.special.swipe.stop(t),p||(p=e.event.special.swipe.handleSwipe(r,n,o,a)),p&&(e.event.special.swipe.eventInProgress=!1),Math.abs(r.coords[0]-n.coords[0])>e.event.special.swipe.scrollSupressionThreshold&&t.preventDefault())},s.stop=function(){p=!0,e.event.special.swipe.eventInProgress=!1,i.off(u,s.move),s.move=null},i.on(u,s.move).one(c,s.stop)}},n.on(a,s.start)},teardown:function(){var t,o;(t=e.data(this,"mobile-events"))&&(o=t.swipe,delete t.swipe,t.length--,0===t.length&&e.removeData(this,"mobile-events")),o&&(o.start&&e(this).off(a,o.start),o.move&&i.off(u,o.move),o.stop&&i.off(c,o.stop))}},e.each({swipeleft:"swipe.left",swiperight:"swipe.right"},(function(t,o){e.event.special[t]={setup:function(){e(this).on(o,e.noop)},teardown:function(){e(this).off(o)}}}))}(e,this)}(e,0,i),e.mobile}.apply(t,n),void 0===s||(e.exports=s)},19567:function(e){"use strict";e.exports=window.jQuery}},t={};var o=function o(n){var s=t[n];if(void 0!==s)return s.exports;var i=t[n]={exports:{}};return e[n].call(i.exports,i,i.exports,o),i.exports}(8173);((window.divi=window.divi||{}).scriptLibrary=window.divi.scriptLibrary||{})["scriptLibraryJquery.mobile"]=o}();