/*! For license information please see 6549.GB2R-sL04dk.js.LICENSE.txt */ export const id=6549;export const ids=[6549];export const modules={96549:(t,e,n)=>{function i(){return i=Object.assign||function(t){for(var e=1;eMt,Uw:()=>Ot,dK:()=>Lt,oM:()=>W});var s,a="function"!=typeof Object.assign?function(t){if(null==t)throw new TypeError("Cannot convert undefined or null to object");for(var e=Object(t),n=1;n-1}var U=function(){function t(t,e){this.manager=t,this.set(e)}var e=t.prototype;return e.set=function(t){t===m&&(t=this.compute()),d&&this.manager.element.style&&w[t]&&(this.manager.element.style[v]=t),this.actions=t.toLowerCase().trim()},e.update=function(){this.set(this.manager.options.touchAction)},e.compute=function(){var t=[];return k(this.manager.recognizers,(function(e){H(e.options.enable,[e])&&(t=t.concat(e.getTouchAction()))})),function(t){if(j(t,T))return T;var e=j(t,E),n=j(t,I);return e&&n?T:e||n?e?E:I:j(t,y)?y:g}(t.join(" "))},e.preventDefaults=function(t){var e=t.srcEvent,n=t.offsetDirection;if(this.manager.session.prevented)e.preventDefault();else{var i=this.actions,r=j(i,T)&&!w[T],o=j(i,I)&&!w[I],s=j(i,E)&&!w[E];if(r){var a=1===t.pointers.length,u=t.distance<2,c=t.deltaTime<250;if(a&&u&&c)return}if(!s||!o)return r||o&&n&Y||s&&n&F?this.preventSrc(e):void 0}},e.preventSrc=function(t){this.manager.session.prevented=!0,t.preventDefault()},t}();function V(t,e){for(;t;){if(t===e)return!0;t=t.parentNode}return!1}function G(t){var e=t.length;if(1===e)return{x:h(t[0].clientX),y:h(t[0].clientY)};for(var n=0,i=0,r=0;r=l(e)?t<0?M:N:e<0?z:X}function J(t,e,n){return{x:e/t||0,y:n/t||0}}function Q(t,e){var n=t.session,i=e.pointers,r=i.length;n.firstInput||(n.firstInput=Z(e)),r>1&&!n.firstMultiple?n.firstMultiple=Z(e):1===r&&(n.firstMultiple=!1);var o=n.firstInput,s=n.firstMultiple,a=s?s.center:o.center,u=e.center=G(i);e.timeStamp=p(),e.deltaTime=e.timeStamp-o.timeStamp,e.angle=K(a,u),e.distance=B(a,u),function(t,e){var n=e.center,i=t.offsetDelta||{},r=t.prevDelta||{},o=t.prevInput||{};e.eventType!==D&&o.eventType!==O||(r=t.prevDelta={x:o.deltaX||0,y:o.deltaY||0},i=t.offsetDelta={x:n.x,y:n.y}),e.deltaX=r.x+(n.x-i.x),e.deltaY=r.y+(n.y-i.y)}(n,e),e.offsetDirection=$(e.deltaX,e.deltaY);var c,h,f=J(e.deltaTime,e.deltaX,e.deltaY);e.overallVelocityX=f.x,e.overallVelocityY=f.y,e.overallVelocity=l(f.x)>l(f.y)?f.x:f.y,e.scale=s?(c=s.pointers,B((h=i)[0],h[1],L)/B(c[0],c[1],L)):1,e.rotation=s?function(t,e){return K(e[1],e[0],L)+K(t[1],t[0],L)}(s.pointers,i):0,e.maxPointers=n.prevInput?e.pointers.length>n.prevInput.maxPointers?e.pointers.length:n.prevInput.maxPointers:e.pointers.length,function(t,e){var n,i,r,o,s=t.lastInterval||e,a=e.timeStamp-s.timeStamp;if(e.eventType!==x&&(a>_||void 0===s.velocity)){var u=e.deltaX-s.deltaX,c=e.deltaY-s.deltaY,h=J(a,u,c);i=h.x,r=h.y,n=l(h.x)>l(h.y)?h.x:h.y,o=$(u,c),t.lastInterval=e}else n=s.velocity,i=s.velocityX,r=s.velocityY,o=s.direction;e.velocity=n,e.velocityX=i,e.velocityY=r,e.direction=o}(n,e);var v,d=t.element,m=e.srcEvent;V(v=m.composedPath?m.composedPath()[0]:m.path?m.path[0]:m.target,d)&&(d=v),e.target=d}function tt(t,e,n){var i=n.pointers.length,r=n.changedPointers.length,o=e&D&&i-r==0,s=e&(O|x)&&i-r==0;n.isFirst=!!o,n.isFinal=!!s,o&&(t.session={}),n.eventType=e,Q(t,n),t.emit("hammer.input",n),t.recognize(n),t.session.prevInput=n}function et(t){return t.trim().split(/\s+/g)}function nt(t,e,n){k(et(e),(function(e){t.addEventListener(e,n,!1)}))}function it(t,e,n){k(et(e),(function(e){t.removeEventListener(e,n,!1)}))}function rt(t){var e=t.ownerDocument||t;return e.defaultView||e.parentWindow||window}var ot=function(){function t(t,e){var n=this;this.manager=t,this.callback=e,this.element=t.element,this.target=t.options.inputTarget,this.domHandler=function(e){H(t.options.enable,[t])&&n.handler(e)},this.init()}var e=t.prototype;return e.handler=function(){},e.init=function(){this.evEl&&nt(this.element,this.evEl,this.domHandler),this.evTarget&&nt(this.target,this.evTarget,this.domHandler),this.evWin&&nt(rt(this.element),this.evWin,this.domHandler)},e.destroy=function(){this.evEl&&it(this.element,this.evEl,this.domHandler),this.evTarget&&it(this.target,this.evTarget,this.domHandler),this.evWin&&it(rt(this.element),this.evWin,this.domHandler)},t}();function st(t,e,n){if(t.indexOf&&!n)return t.indexOf(e);for(var i=0;in[e]})):i.sort()),i}var vt={touchstart:D,touchmove:2,touchend:O,touchcancel:x},dt=function(t){function e(){var n;return e.prototype.evTarget="touchstart touchmove touchend touchcancel",(n=t.apply(this,arguments)||this).targetIds={},n}return r(e,t),e.prototype.handler=function(t){var e=vt[t.type],n=mt.call(this,t,e);n&&this.callback(this.manager,e,{pointers:n[0],changedPointers:n[1],pointerType:C,srcEvent:t})},e}(ot);function mt(t,e){var n,i,r=pt(t.touches),o=this.targetIds;if(e&(2|D)&&1===r.length)return o[r[0].identifier]=!0,[r,r];var s=pt(t.changedTouches),a=[],u=this.target;if(i=r.filter((function(t){return V(t.target,u)})),e===D)for(n=0;n-1&&i.splice(t,1)}),Tt)}}function It(t,e){t&D?(this.primaryTouch=e.changedPointers[0].identifier,Et.call(this,e)):t&(O|x)&&Et.call(this,e)}function wt(t){for(var e=t.srcEvent.clientX,n=t.srcEvent.clientY,i=0;i-1&&this.requireFail.splice(e,1),this},e.hasRequireFailures=function(){return this.requireFail.length>0},e.canRecognizeWith=function(t){return!!this.simultaneous[t.id]},e.emit=function(t){var e=this,n=this.state;function i(n){e.manager.emit(n,t)}n<8&&i(e.options.event+_t(n)),i(e.options.event),t.additionalEvent&&i(t.additionalEvent),n>=8&&i(e.options.event+_t(n))},e.tryEmit=function(t){if(this.canEmit())return this.emit(t);this.state=Pt},e.canEmit=function(){for(var t=0;te.threshold&&r&e.direction},n.attrTest=function(t){return xt.prototype.attrTest.call(this,t)&&(2&this.state||!(2&this.state)&&this.directionTest(t))},n.emit=function(e){this.pX=e.deltaX,this.pY=e.deltaY;var n=Rt(e.direction);n&&(e.additionalEvent=this.options.event+n),t.prototype.emit.call(this,e)},e}(xt),Nt=function(t){function e(e){return void 0===e&&(e={}),t.call(this,i({event:"swipe",threshold:10,velocity:.3,direction:Y|F,pointers:1},e))||this}r(e,t);var n=e.prototype;return n.getTouchAction=function(){return Mt.prototype.getTouchAction.call(this)},n.attrTest=function(e){var n,i=this.options.direction;return i&(Y|F)?n=e.overallVelocity:i&Y?n=e.overallVelocityX:i&F&&(n=e.overallVelocityY),t.prototype.attrTest.call(this,e)&&i&e.offsetDirection&&e.distance>this.options.threshold&&e.maxPointers===this.options.pointers&&l(n)>this.options.velocity&&e.eventType&O},n.emit=function(t){var e=Rt(t.offsetDirection);e&&this.manager.emit(this.options.event+e,t),this.manager.emit(this.options.event,t)},e}(xt),zt=function(t){function e(e){return void 0===e&&(e={}),t.call(this,i({event:"pinch",threshold:0,pointers:2},e))||this}r(e,t);var n=e.prototype;return n.getTouchAction=function(){return[T]},n.attrTest=function(e){return t.prototype.attrTest.call(this,e)&&(Math.abs(e.scale-1)>this.options.threshold||2&this.state)},n.emit=function(e){if(1!==e.scale){var n=e.scale<1?"in":"out";e.additionalEvent=this.options.event+n}t.prototype.emit.call(this,e)},e}(xt),Xt=function(t){function e(e){return void 0===e&&(e={}),t.call(this,i({event:"rotate",threshold:0,pointers:2},e))||this}r(e,t);var n=e.prototype;return n.getTouchAction=function(){return[T]},n.attrTest=function(e){return t.prototype.attrTest.call(this,e)&&(Math.abs(e.rotation)>this.options.threshold||2&this.state)},e}(xt),Yt=function(t){function e(e){var n;return void 0===e&&(e={}),(n=t.call(this,i({event:"press",pointers:1,time:251,threshold:9},e))||this)._timer=null,n._input=null,n}r(e,t);var n=e.prototype;return n.getTouchAction=function(){return[g]},n.process=function(t){var e=this,n=this.options,i=t.pointers.length===n.pointers,r=t.distancen.time;if(this._input=t,!r||!i||t.eventType&(O|x)&&!o)this.reset();else if(t.eventType&D)this.reset(),this._timer=setTimeout((function(){e.state=8,e.tryEmit()}),n.time);else if(t.eventType&O)return 8;return Pt},n.reset=function(){clearTimeout(this._timer)},n.emit=function(t){8===this.state&&(t&&t.eventType&O?this.manager.emit(this.options.event+"up",t):(this._input.timeStamp=p(),this.manager.emit(this.options.event,this._input)))},e}(Dt),Ft={domEvents:!1,touchAction:m,enable:!0,inputTarget:null,inputClass:null,cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}},Wt=[[Xt,{enable:!1}],[zt,{enable:!1},["rotate"]],[Nt,{direction:Y}],[Mt,{direction:Y},["swipe"]],[Ot],[Ot,{event:"doubletap",taps:2},["tap"]],[Yt]];function qt(t,e){var n,i=t.element;i.style&&(k(t.options.cssProps,(function(r,o){n=f(i.style,o),e?(t.oldCssProps[n]=i.style[n],i.style[n]=r):i.style[n]=t.oldCssProps[n]||""})),e||(t.oldCssProps={}))}var Lt=function(){function t(t,e){var n,i=this;this.options=a({},Ft,e||{}),this.options.inputTarget=this.options.inputTarget||t,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=t,this.input=new((n=this).options.inputClass||(b?lt:P?dt:A?At:yt))(n,tt),this.touchAction=new U(this,this.options.touchAction),qt(this,!0),k(this.options.recognizers,(function(t){var e=i.add(new t[0](t[1]));t[2]&&e.recognizeWith(t[2]),t[3]&&e.requireFailure(t[3])}),this)}var e=t.prototype;return e.set=function(t){return a(this.options,t),t.touchAction&&this.touchAction.update(),t.inputTarget&&(this.input.destroy(),this.input.target=t.inputTarget,this.input.init()),this},e.stop=function(t){this.session.stopped=t?2:1},e.recognize=function(t){var e=this.session;if(!e.stopped){var n;this.touchAction.preventDefaults(t);var i=this.recognizers,r=e.curRecognizer;(!r||r&&8&r.state)&&(e.curRecognizer=null,r=null);for(var o=0;o\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",r=window.console&&(window.console.warn||window.console.log);return r&&r.call(window.console,i,n),t.apply(this,arguments)}}var Vt=Ut((function(t,e,n){for(var i=Object.keys(e),r=0;r