mechanic-map 0.16.2 → 0.16.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -1
- package/dist/map-dist.js +6 -6
- package/dist/map-dist.js.map +1 -1
- package/package.json +1 -1
package/dist/map-dist.js
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
*
|
|
17
17
|
* @author: Jack Doyle, jack@greensock.com
|
|
18
18
|
*/
|
|
19
|
-
const t="undefined"!=typeof window?window:A.exports&&void 0!==C?C:void 0,e=function(A,g){var I={},C=A.document,t=A.GreenSockGlobals=A.GreenSockGlobals||A;if(t.TweenLite)return t.TweenLite;var e,n,i,r,a,o,s,l=function(A){var g,I=A.split("."),C=t;for(g=0;g<I.length;g++)C[I[g]]=C=C[I[g]]||{};return C},c=l("com.greensock"),u=function(A){var g,I=[],C=A.length;for(g=0;g!==C;I.push(A[g++]));return I},v=function(){},p=(o=Object.prototype.toString,s=o.call([]),function(A){return null!=A&&(A instanceof Array||"object"==typeof A&&!!A.push&&o.call(A)===s)}),f={},d=function(A,g,C,e){this.sc=f[A]?f[A].sc:[],f[A]=this,this.gsClass=null,this.func=C;var n=[];this.check=function(i){for(var r,a,o,s,c=g.length,u=c;--c>-1;)(r=f[g[c]]||new d(g[c],[])).gsClass?(n[c]=r.gsClass,u--):i&&r.sc.push(this);if(0===u&&C)for(o=(a=("com.greensock."+A).split(".")).pop(),s=l(a.join("."))[o]=this.gsClass=C.apply(C,n),e&&(t[o]=I[o]=s),c=0;c<this.sc.length;c++)this.sc[c].check()},this.check(!0)},h=A._gsDefine=function(A,g,I,C){return new d(A,g,I,C)},m=c._class=function(A,g,I){return g=g||function(){},h(A,[],(function(){return g}),I),g};h.globals=t;var b=[0,0,1,1],y=m("easing.Ease",(function(A,g,I,C){this._func=A,this._type=I||0,this._power=C||0,this._params=g?b.concat(g):b}),!0),z=y.map={},P=y.register=function(A,g,I,C){for(var t,e,n,i,r=g.split(","),a=r.length,o=(I||"easeIn,easeOut,easeInOut").split(",");--a>-1;)for(e=r[a],t=C?m("easing."+e,null,!0):c.easing[e]||{},n=o.length;--n>-1;)i=o[n],z[e+"."+i]=z[i+e]=t[i]=A.getRatio?A:A[i]||new A};for((i=y.prototype)._calcEnd=!1,i.getRatio=function(A){if(this._func)return this._params[0]=A,this._func.apply(null,this._params);var g=this._type,I=this._power,C=1===g?1-A:2===g?A:A<.5?2*A:2*(1-A);return 1===I?C*=C:2===I?C*=C*C:3===I?C*=C*C*C:4===I&&(C*=C*C*C*C),1===g?1-C:2===g?C:A<.5?C/2:1-C/2},n=(e=["Linear","Quad","Cubic","Quart","Quint,Strong"]).length;--n>-1;)i=e[n]+",Power"+n,P(new y(null,null,1,n),i,"easeOut",!0),P(new y(null,null,2,n),i,"easeIn"+(0===n?",easeNone":"")),P(new y(null,null,3,n),i,"easeInOut");z.linear=c.easing.Linear.easeIn,z.swing=c.easing.Quad.easeInOut;var R=m("events.EventDispatcher",(function(A){this._listeners={},this._eventTarget=A||this}));(i=R.prototype).addEventListener=function(A,g,I,C,t){t=t||0;var e,n,i=this._listeners[A],o=0;for(this!==r||a||r.wake(),null==i&&(this._listeners[A]=i=[]),n=i.length;--n>-1;)(e=i[n]).c===g&&e.s===I?i.splice(n,1):0===o&&e.pr<t&&(o=n+1);i.splice(o,0,{c:g,s:I,up:C,pr:t})},i.removeEventListener=function(A,g){var I,C=this._listeners[A];if(C)for(I=C.length;--I>-1;)if(C[I].c===g)return void C.splice(I,1)},i.dispatchEvent=function(A){var g,I,C,t=this._listeners[A];if(t)for((g=t.length)>1&&(t=t.slice(0)),I=this._eventTarget;--g>-1;)(C=t[g])&&(C.up?C.c.call(C.s||I,{type:A,target:I}):C.c.call(C.s||I))};var x=A.requestAnimationFrame,w=A.cancelAnimationFrame,M=Date.now||function(){return(new Date).getTime()},Z=M();for(n=(e=["ms","moz","webkit","o"]).length;--n>-1&&!x;)x=A[e[n]+"RequestAnimationFrame"],w=A[e[n]+"CancelAnimationFrame"]||A[e[n]+"CancelRequestAnimationFrame"];m("Ticker",(function(A,g){var I,t,e,n,i,o=this,s=M(),l=!(!1===g||!x)&&"auto",c=500,u=33,p=function(A){var g,C,r=M()-Z;r>c&&(s+=r-u),Z+=r,o.time=(Z-s)/1e3,g=o.time-i,(!I||g>0||!0===A)&&(o.frame++,i+=g+(g>=n?.004:n-g),C=!0),!0!==A&&(e=t(p)),C&&o.dispatchEvent("tick")};R.call(o),o.time=o.frame=0,o.tick=function(){p(!0)},o.lagSmoothing=function(A,g){if(!arguments.length)return c<1e10;c=A||1e10,u=Math.min(g,c,0)},o.sleep=function(){null!=e&&(l&&w?w(e):clearTimeout(e),t=v,e=null,o===r&&(a=!1))},o.wake=function(A){null!==e?o.sleep():A?s+=-Z+(Z=M()):o.frame>10&&(Z=M()-c+5),t=0===I?v:l&&x?x:function(A){return setTimeout(A,1e3*(i-o.time)+1|0)},o===r&&(a=!0),p(2)},o.fps=function(A){if(!arguments.length)return I;n=1/((I=A)||60),i=this.time+n,o.wake()},o.useRAF=function(A){if(!arguments.length)return l;o.sleep(),l=A,o.fps(I)},o.fps(A),setTimeout((function(){"auto"===l&&o.frame<5&&"hidden"!==(C||{}).visibilityState&&o.useRAF(!1)}),1500)})),(i=c.Ticker.prototype=new c.events.EventDispatcher).constructor=c.Ticker;var D=m("core.Animation",(function(A,g){if(this.vars=g=g||{},this._duration=this._totalDuration=A||0,this._delay=Number(g.delay)||0,this._timeScale=1,this._active=!0===g.immediateRender,this.data=g.data,this._reversed=!0===g.reversed,K){a||r.wake();var I=this.vars.useFrames?J:K;I.add(this,I._time),this.vars.paused&&this.paused(!0)}}));r=D.ticker=new c.Ticker,(i=D.prototype)._dirty=i._gc=i._initted=i._paused=!1,i._totalTime=i._time=0,i._rawPrevTime=-1,i._next=i._last=i._onUpdate=i._timeline=i.timeline=null,i._paused=!1;var T=function(){a&&M()-Z>2e3&&("hidden"!==(C||{}).visibilityState||!r.lagSmoothing())&&r.wake();var A=setTimeout(T,2e3);A.unref&&A.unref()};T(),i.play=function(A,g){return null!=A&&this.seek(A,g),this.reversed(!1).paused(!1)},i.pause=function(A,g){return null!=A&&this.seek(A,g),this.paused(!0)},i.resume=function(A,g){return null!=A&&this.seek(A,g),this.paused(!1)},i.seek=function(A,g){return this.totalTime(Number(A),!1!==g)},i.restart=function(A,g){return this.reversed(!1).paused(!1).totalTime(A?-this._delay:0,!1!==g,!0)},i.reverse=function(A,g){return null!=A&&this.seek(A||this.totalDuration(),g),this.reversed(!0).paused(!1)},i.render=function(A,g,I){},i.invalidate=function(){return this._time=this._totalTime=0,this._initted=this._gc=!1,this._rawPrevTime=-1,!this._gc&&this.timeline||this._enabled(!0),this},i.isActive=function(){var A,g=this._timeline,I=this._startTime;return!g||!this._gc&&!this._paused&&g.isActive()&&(A=g.rawTime(!0))>=I&&A<I+this.totalDuration()/this._timeScale-1e-7},i._enabled=function(A,g){return a||r.wake(),this._gc=!A,this._active=this.isActive(),!0!==g&&(A&&!this.timeline?this._timeline.add(this,this._startTime-this._delay):!A&&this.timeline&&this._timeline._remove(this,!0)),!1},i._kill=function(A,g){return this._enabled(!1,!1)},i.kill=function(A,g){return this._kill(A,g),this},i._uncache=function(A){for(var g=A?this:this.timeline;g;)g._dirty=!0,g=g.timeline;return this},i._swapSelfInParams=function(A){for(var g=A.length,I=A.concat();--g>-1;)"{self}"===A[g]&&(I[g]=this);return I},i._callback=function(A){var g=this.vars,I=g[A],C=g[A+"Params"],t=g[A+"Scope"]||g.callbackScope||this;switch(C?C.length:0){case 0:I.call(t);break;case 1:I.call(t,C[0]);break;case 2:I.call(t,C[0],C[1]);break;default:I.apply(t,C)}},i.eventCallback=function(A,g,I,C){if("on"===(A||"").substr(0,2)){var t=this.vars;if(1===arguments.length)return t[A];null==g?delete t[A]:(t[A]=g,t[A+"Params"]=p(I)&&-1!==I.join("").indexOf("{self}")?this._swapSelfInParams(I):I,t[A+"Scope"]=C),"onUpdate"===A&&(this._onUpdate=g)}return this},i.delay=function(A){return arguments.length?(this._timeline.smoothChildTiming&&this.startTime(this._startTime+A-this._delay),this._delay=A,this):this._delay},i.duration=function(A){return arguments.length?(this._duration=this._totalDuration=A,this._uncache(!0),this._timeline.smoothChildTiming&&this._time>0&&this._time<this._duration&&0!==A&&this.totalTime(this._totalTime*(A/this._duration),!0),this):(this._dirty=!1,this._duration)},i.totalDuration=function(A){return this._dirty=!1,arguments.length?this.duration(A):this._totalDuration},i.time=function(A,g){return arguments.length?(this._dirty&&this.totalDuration(),this.totalTime(A>this._duration?this._duration:A,g)):this._time},i.totalTime=function(A,g,I){if(a||r.wake(),!arguments.length)return this._totalTime;if(this._timeline){if(A<0&&!I&&(A+=this.totalDuration()),this._timeline.smoothChildTiming){this._dirty&&this.totalDuration();var C=this._totalDuration,t=this._timeline;if(A>C&&!I&&(A=C),this._startTime=(this._paused?this._pauseTime:t._time)-(this._reversed?C-A:A)/this._timeScale,t._dirty||this._uncache(!1),t._timeline)for(;t._timeline;)t._timeline._time!==(t._startTime+t._totalTime)/t._timeScale&&t.totalTime(t._totalTime,!0),t=t._timeline}this._gc&&this._enabled(!0,!1),this._totalTime===A&&0!==this._duration||(E.length&&q(),this.render(A,g,!1),E.length&&q())}return this},i.progress=i.totalProgress=function(A,g){var I=this.duration();return arguments.length?this.totalTime(I*A,g):I?this._time/I:this.ratio},i.startTime=function(A){return arguments.length?(A!==this._startTime&&(this._startTime=A,this.timeline&&this.timeline._sortChildren&&this.timeline.add(this,A-this._delay)),this):this._startTime},i.endTime=function(A){return this._startTime+(0!=A?this.totalDuration():this.duration())/this._timeScale},i.timeScale=function(A){if(!arguments.length)return this._timeScale;var g,I;for(A=A||1e-10,this._timeline&&this._timeline.smoothChildTiming&&(I=(g=this._pauseTime)||0===g?g:this._timeline.totalTime(),this._startTime=I-(I-this._startTime)*this._timeScale/A),this._timeScale=A,I=this.timeline;I&&I.timeline;)I._dirty=!0,I.totalDuration(),I=I.timeline;return this},i.reversed=function(A){return arguments.length?(A!=this._reversed&&(this._reversed=A,this.totalTime(this._timeline&&!this._timeline.smoothChildTiming?this.totalDuration()-this._totalTime:this._totalTime,!0)),this):this._reversed},i.paused=function(A){if(!arguments.length)return this._paused;var g,I,C=this._timeline;return A!=this._paused&&C&&(a||A||r.wake(),I=(g=C.rawTime())-this._pauseTime,!A&&C.smoothChildTiming&&(this._startTime+=I,this._uncache(!1)),this._pauseTime=A?g:null,this._paused=A,this._active=this.isActive(),!A&&0!==I&&this._initted&&this.duration()&&(g=C.smoothChildTiming?this._totalTime:(g-this._startTime)/this._timeScale,this.render(g,g===this._totalTime,!0))),this._gc&&!A&&this._enabled(!0,!1),this};var O=m("core.SimpleTimeline",(function(A){D.call(this,0,A),this.autoRemoveChildren=this.smoothChildTiming=!0}));(i=O.prototype=new D).constructor=O,i.kill()._gc=!1,i._first=i._last=i._recent=null,i._sortChildren=!1,i.add=i.insert=function(A,g,I,C){var t,e;if(A._startTime=Number(g||0)+A._delay,A._paused&&this!==A._timeline&&(A._pauseTime=this.rawTime()-(A._timeline.rawTime()-A._pauseTime)),A.timeline&&A.timeline._remove(A,!0),A.timeline=A._timeline=this,A._gc&&A._enabled(!0,!0),t=this._last,this._sortChildren)for(e=A._startTime;t&&t._startTime>e;)t=t._prev;return t?(A._next=t._next,t._next=A):(A._next=this._first,this._first=A),A._next?A._next._prev=A:this._last=A,A._prev=t,this._recent=A,this._timeline&&this._uncache(!0),this},i._remove=function(A,g){return A.timeline===this&&(g||A._enabled(!1,!0),A._prev?A._prev._next=A._next:this._first===A&&(this._first=A._next),A._next?A._next._prev=A._prev:this._last===A&&(this._last=A._prev),A._next=A._prev=A.timeline=null,A===this._recent&&(this._recent=this._last),this._timeline&&this._uncache(!0)),this},i.render=function(A,g,I){var C,t=this._first;for(this._totalTime=this._time=this._rawPrevTime=A;t;)C=t._next,(t._active||A>=t._startTime&&!t._paused&&!t._gc)&&(t._reversed?t.render((t._dirty?t.totalDuration():t._totalDuration)-(A-t._startTime)*t._timeScale,g,I):t.render((A-t._startTime)*t._timeScale,g,I)),t=C},i.rawTime=function(){return a||r.wake(),this._totalTime};var j=m("TweenLite",(function(g,I,C){if(D.call(this,I,C),this.render=j.prototype.render,null==g)throw"Cannot tween a null target.";this.target=g="string"!=typeof g?g:j.selector(g)||g;var t,e,n,i=g.jquery||g.length&&g!==A&&g[0]&&(g[0]===A||g[0].nodeType&&g[0].style&&!g.nodeType),r=this.vars.overwrite;if(this._overwrite=r=null==r?B[j.defaultOverwrite]:"number"==typeof r?r>>0:B[r],(i||g instanceof Array||g.push&&p(g))&&"number"!=typeof g[0])for(this._targets=n=u(g),this._propLookup=[],this._siblings=[],t=0;t<n.length;t++)(e=n[t])?"string"!=typeof e?e.length&&e!==A&&e[0]&&(e[0]===A||e[0].nodeType&&e[0].style&&!e.nodeType)?(n.splice(t--,1),this._targets=n=n.concat(u(e))):(this._siblings[t]=_(e,this,!1),1===r&&this._siblings[t].length>1&&AA(e,this,null,1,this._siblings[t])):"string"==typeof(e=n[t--]=j.selector(e))&&n.splice(t+1,1):n.splice(t--,1);else this._propLookup={},this._siblings=_(g,this,!1),1===r&&this._siblings.length>1&&AA(g,this,null,1,this._siblings);(this.vars.immediateRender||0===I&&0===this._delay&&!1!==this.vars.immediateRender)&&(this._time=-1e-10,this.render(Math.min(0,-this._delay)))}),!0),N=function(g){return g&&g.length&&g!==A&&g[0]&&(g[0]===A||g[0].nodeType&&g[0].style&&!g.nodeType)};(i=j.prototype=new D).constructor=j,i.kill()._gc=!1,i.ratio=0,i._firstPT=i._targets=i._overwrittenProps=i._startAt=null,i._notifyPluginsOfEnabled=i._lazy=!1,j.version="1.20.5",j.defaultEase=i._ease=new y(null,null,1,1),j.defaultOverwrite="auto",j.ticker=r,j.autoSleep=120,j.lagSmoothing=function(A,g){r.lagSmoothing(A,g)},j.selector=A.$||A.jQuery||function(g){var I=A.$||A.jQuery;return I?(j.selector=I,I(g)):(C||(C=A.document),C?C.querySelectorAll?C.querySelectorAll(g):C.getElementById("#"===g.charAt(0)?g.substr(1):g):g)};var E=[],G={},X=/(?:(-|-=|\+=)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,H=/[\+-]=-?[\.\d]/,k=function(A){for(var g,I=this._firstPT;I;)g=I.blob?1===A&&null!=this.end?this.end:A?this.join(""):this.start:I.c*A+I.s,I.m?g=I.m.call(this._tween,g,this._target||I.t,this._tween):g<1e-6&&g>-1e-6&&!I.blob&&(g=0),I.f?I.fp?I.t[I.p](I.fp,g):I.t[I.p](g):I.t[I.p]=g,I=I._next},Y=function(A,g,I,C){var t,e,n,i,r,a,o,s=[],l=0,c="",u=0;for(s.start=A,s.end=g,A=s[0]=A+"",g=s[1]=g+"",I&&(I(s),A=s[0],g=s[1]),s.length=0,t=A.match(X)||[],e=g.match(X)||[],C&&(C._next=null,C.blob=1,s._firstPT=s._applyPT=C),r=e.length,i=0;i<r;i++)o=e[i],c+=(a=g.substr(l,g.indexOf(o,l)-l))||!i?a:",",l+=a.length,u?u=(u+1)%5:"rgba("===a.substr(-5)&&(u=1),o===t[i]||t.length<=i?c+=o:(c&&(s.push(c),c=""),n=parseFloat(t[i]),s.push(n),s._firstPT={_next:s._firstPT,t:s,p:s.length-1,s:n,c:("="===o.charAt(1)?parseInt(o.charAt(0)+"1",10)*parseFloat(o.substr(2)):parseFloat(o)-n)||0,f:0,m:u&&u<4?Math.round:0}),l+=o.length;return(c+=g.substr(l))&&s.push(c),s.setRatio=k,H.test(g)&&(s.end=null),s},W=function(A,g,I,C,t,e,n,i,r){"function"==typeof C&&(C=C(r||0,A));var a=typeof A[g],o="function"!==a?"":g.indexOf("set")||"function"!=typeof A["get"+g.substr(3)]?g:"get"+g.substr(3),s="get"!==I?I:o?n?A[o](n):A[o]():A[g],l="string"==typeof C&&"="===C.charAt(1),c={t:A,p:g,s:s,f:"function"===a,pg:0,n:t||g,m:e?"function"==typeof e?e:Math.round:0,pr:0,c:l?parseInt(C.charAt(0)+"1",10)*parseFloat(C.substr(2)):parseFloat(C)-s||0};if(("number"!=typeof s||"number"!=typeof C&&!l)&&(n||isNaN(s)||!l&&isNaN(C)||"boolean"==typeof s||"boolean"==typeof C?(c.fp=n,c={t:Y(s,l?parseFloat(c.s)+c.c+(c.s+"").replace(/[0-9\-\.]/g,""):C,i||j.defaultStringFilter,c),p:"setRatio",s:0,c:1,f:2,pg:0,n:t||g,pr:0,m:0}):(c.s=parseFloat(s),l||(c.c=parseFloat(C)-c.s||0))),c.c)return(c._next=this._firstPT)&&(c._next._prev=c),this._firstPT=c,c},L=j._internals={isArray:p,isSelector:N,lazyTweens:E,blobDif:Y},S=j._plugins={},F=L.tweenLookup={},V=0,U=L.reservedProps={ease:1,delay:1,overwrite:1,onComplete:1,onCompleteParams:1,onCompleteScope:1,useFrames:1,runBackwards:1,startAt:1,onUpdate:1,onUpdateParams:1,onUpdateScope:1,onStart:1,onStartParams:1,onStartScope:1,onReverseComplete:1,onReverseCompleteParams:1,onReverseCompleteScope:1,onRepeat:1,onRepeatParams:1,onRepeatScope:1,easeParams:1,yoyo:1,immediateRender:1,repeat:1,repeatDelay:1,data:1,paused:1,reversed:1,autoCSS:1,lazy:1,onOverwrite:1,callbackScope:1,stringFilter:1,id:1,yoyoEase:1},B={none:0,all:1,auto:2,concurrent:3,allOnStart:4,preexisting:5,true:1,false:0},J=D._rootFramesTimeline=new O,K=D._rootTimeline=new O,Q=30,q=L.lazyRender=function(){var A,g=E.length;for(G={};--g>-1;)(A=E[g])&&!1!==A._lazy&&(A.render(A._lazy[0],A._lazy[1],!0),A._lazy=!1);E.length=0};K._startTime=r.time,J._startTime=r.frame,K._active=J._active=!0,setTimeout(q,1),D._updateRoot=j.render=function(){var A,g,I;if(E.length&&q(),K.render((r.time-K._startTime)*K._timeScale,!1,!1),J.render((r.frame-J._startTime)*J._timeScale,!1,!1),E.length&&q(),r.frame>=Q){for(I in Q=r.frame+(parseInt(j.autoSleep,10)||120),F){for(A=(g=F[I].tweens).length;--A>-1;)g[A]._gc&&g.splice(A,1);0===g.length&&delete F[I]}if((!(I=K._first)||I._paused)&&j.autoSleep&&!J._first&&1===r._listeners.tick.length){for(;I&&I._paused;)I=I._next;I||r.sleep()}}},r.addEventListener("tick",D._updateRoot);var _=function(A,g,I){var C,t,e=A._gsTweenID;if(F[e||(A._gsTweenID=e="t"+V++)]||(F[e]={target:A,tweens:[]}),g&&((C=F[e].tweens)[t=C.length]=g,I))for(;--t>-1;)C[t]===g&&C.splice(t,1);return F[e].tweens},$=function(A,g,I,C){var t,e,n=A.vars.onOverwrite;return n&&(t=n(A,g,I,C)),(n=j.onOverwrite)&&(e=n(A,g,I,C)),!1!==t&&!1!==e},AA=function(A,g,I,C,t){var e,n,i,r;if(1===C||C>=4){for(r=t.length,e=0;e<r;e++)if((i=t[e])!==g)i._gc||i._kill(null,A,g)&&(n=!0);else if(5===C)break;return n}var a,o=g._startTime+1e-10,s=[],l=0,c=0===g._duration;for(e=t.length;--e>-1;)(i=t[e])===g||i._gc||i._paused||(i._timeline!==g._timeline?(a=a||gA(g,0,c),0===gA(i,a,c)&&(s[l++]=i)):i._startTime<=o&&i._startTime+i.totalDuration()/i._timeScale>o&&((c||!i._initted)&&o-i._startTime<=2e-10||(s[l++]=i)));for(e=l;--e>-1;)if(i=s[e],2===C&&i._kill(I,A,g)&&(n=!0),2!==C||!i._firstPT&&i._initted){if(2!==C&&!$(i,g))continue;i._enabled(!1,!1)&&(n=!0)}return n},gA=function(A,g,I){for(var C=A._timeline,t=C._timeScale,e=A._startTime;C._timeline;){if(e+=C._startTime,t*=C._timeScale,C._paused)return-100;C=C._timeline}return(e/=t)>g?e-g:I&&e===g||!A._initted&&e-g<2e-10?1e-10:(e+=A.totalDuration()/A._timeScale/t)>g+1e-10?0:e-g-1e-10};i._init=function(){var A,g,I,C,t,e,n=this.vars,i=this._overwrittenProps,r=this._duration,a=!!n.immediateRender,o=n.ease;if(n.startAt){for(C in this._startAt&&(this._startAt.render(-1,!0),this._startAt.kill()),t={},n.startAt)t[C]=n.startAt[C];if(t.data="isStart",t.overwrite=!1,t.immediateRender=!0,t.lazy=a&&!1!==n.lazy,t.startAt=t.delay=null,t.onUpdate=n.onUpdate,t.onUpdateParams=n.onUpdateParams,t.onUpdateScope=n.onUpdateScope||n.callbackScope||this,this._startAt=j.to(this.target||{},0,t),a)if(this._time>0)this._startAt=null;else if(0!==r)return}else if(n.runBackwards&&0!==r)if(this._startAt)this._startAt.render(-1,!0),this._startAt.kill(),this._startAt=null;else{for(C in 0!==this._time&&(a=!1),I={},n)U[C]&&"autoCSS"!==C||(I[C]=n[C]);if(I.overwrite=0,I.data="isFromStart",I.lazy=a&&!1!==n.lazy,I.immediateRender=a,this._startAt=j.to(this.target,0,I),a){if(0===this._time)return}else this._startAt._init(),this._startAt._enabled(!1),this.vars.immediateRender&&(this._startAt=null)}if(this._ease=o=o?o instanceof y?o:"function"==typeof o?new y(o,n.easeParams):z[o]||j.defaultEase:j.defaultEase,n.easeParams instanceof Array&&o.config&&(this._ease=o.config.apply(o,n.easeParams)),this._easeType=this._ease._type,this._easePower=this._ease._power,this._firstPT=null,this._targets)for(e=this._targets.length,A=0;A<e;A++)this._initProps(this._targets[A],this._propLookup[A]={},this._siblings[A],i?i[A]:null,A)&&(g=!0);else g=this._initProps(this.target,this._propLookup,this._siblings,i,0);if(g&&j._onPluginEvent("_onInitAllProps",this),i&&(this._firstPT||"function"!=typeof this.target&&this._enabled(!1,!1)),n.runBackwards)for(I=this._firstPT;I;)I.s+=I.c,I.c=-I.c,I=I._next;this._onUpdate=n.onUpdate,this._initted=!0},i._initProps=function(g,I,C,t,e){var n,i,r,a,o,s;if(null==g)return!1;for(n in G[g._gsTweenID]&&q(),this.vars.css||g.style&&g!==A&&g.nodeType&&S.css&&!1!==this.vars.autoCSS&&function(A,g){var I,C={};for(I in A)U[I]||I in g&&"transform"!==I&&"x"!==I&&"y"!==I&&"width"!==I&&"height"!==I&&"className"!==I&&"border"!==I||!(!S[I]||S[I]&&S[I]._autoCSS)||(C[I]=A[I],delete A[I]);A.css=C}(this.vars,g),this.vars)if(s=this.vars[n],U[n])s&&(s instanceof Array||s.push&&p(s))&&-1!==s.join("").indexOf("{self}")&&(this.vars[n]=s=this._swapSelfInParams(s,this));else if(S[n]&&(a=new S[n])._onInitTween(g,this.vars[n],this,e)){for(this._firstPT=o={_next:this._firstPT,t:a,p:"setRatio",s:0,c:1,f:1,n:n,pg:1,pr:a._priority,m:0},i=a._overwriteProps.length;--i>-1;)I[a._overwriteProps[i]]=this._firstPT;(a._priority||a._onInitAllProps)&&(r=!0),(a._onDisable||a._onEnable)&&(this._notifyPluginsOfEnabled=!0),o._next&&(o._next._prev=o)}else I[n]=W.call(this,g,n,"get",s,n,0,null,this.vars.stringFilter,e);return t&&this._kill(t,g)?this._initProps(g,I,C,t,e):this._overwrite>1&&this._firstPT&&C.length>1&&AA(g,this,I,this._overwrite,C)?(this._kill(I,g),this._initProps(g,I,C,t,e)):(this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration)&&(G[g._gsTweenID]=!0),r)},i.render=function(A,g,I){var C,t,e,n,i=this._time,r=this._duration,a=this._rawPrevTime;if(A>=r-1e-7&&A>=0)this._totalTime=this._time=r,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1,this._reversed||(C=!0,t="onComplete",I=I||this._timeline.autoRemoveChildren),0===r&&(this._initted||!this.vars.lazy||I)&&(this._startTime===this._timeline._duration&&(A=0),(a<0||A<=0&&A>=-1e-7||1e-10===a&&"isPause"!==this.data)&&a!==A&&(I=!0,a>1e-10&&(t="onReverseComplete")),this._rawPrevTime=n=!g||A||a===A?A:1e-10);else if(A<1e-7)this._totalTime=this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0,(0!==i||0===r&&a>0)&&(t="onReverseComplete",C=this._reversed),A<0&&(this._active=!1,0===r&&(this._initted||!this.vars.lazy||I)&&(a>=0&&(1e-10!==a||"isPause"!==this.data)&&(I=!0),this._rawPrevTime=n=!g||A||a===A?A:1e-10)),(!this._initted||this._startAt&&this._startAt.progress())&&(I=!0);else if(this._totalTime=this._time=A,this._easeType){var o=A/r,s=this._easeType,l=this._easePower;(1===s||3===s&&o>=.5)&&(o=1-o),3===s&&(o*=2),1===l?o*=o:2===l?o*=o*o:3===l?o*=o*o*o:4===l&&(o*=o*o*o*o),this.ratio=1===s?1-o:2===s?o:A/r<.5?o/2:1-o/2}else this.ratio=this._ease.getRatio(A/r);if(this._time!==i||I){if(!this._initted){if(this._init(),!this._initted||this._gc)return;if(!I&&this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration))return this._time=this._totalTime=i,this._rawPrevTime=a,E.push(this),void(this._lazy=[A,g]);this._time&&!C?this.ratio=this._ease.getRatio(this._time/r):C&&this._ease._calcEnd&&(this.ratio=this._ease.getRatio(0===this._time?0:1))}for(!1!==this._lazy&&(this._lazy=!1),this._active||!this._paused&&this._time!==i&&A>=0&&(this._active=!0),0===i&&(this._startAt&&(A>=0?this._startAt.render(A,!0,I):t||(t="_dummyGS")),this.vars.onStart&&(0===this._time&&0!==r||g||this._callback("onStart"))),e=this._firstPT;e;)e.f?e.t[e.p](e.c*this.ratio+e.s):e.t[e.p]=e.c*this.ratio+e.s,e=e._next;this._onUpdate&&(A<0&&this._startAt&&-1e-4!==A&&this._startAt.render(A,!0,I),g||(this._time!==i||C||I)&&this._callback("onUpdate")),t&&(this._gc&&!I||(A<0&&this._startAt&&!this._onUpdate&&-1e-4!==A&&this._startAt.render(A,!0,I),C&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!g&&this.vars[t]&&this._callback(t),0===r&&1e-10===this._rawPrevTime&&1e-10!==n&&(this._rawPrevTime=0)))}},i._kill=function(A,g,I){if("all"===A&&(A=null),null==A&&(null==g||g===this.target))return this._lazy=!1,this._enabled(!1,!1);g="string"!=typeof g?g||this._targets||this.target:j.selector(g)||g;var C,t,e,n,i,r,a,o,s,l=I&&this._time&&I._startTime===this._startTime&&this._timeline===I._timeline;if((p(g)||N(g))&&"number"!=typeof g[0])for(C=g.length;--C>-1;)this._kill(A,g[C],I)&&(r=!0);else{if(this._targets){for(C=this._targets.length;--C>-1;)if(g===this._targets[C]){i=this._propLookup[C]||{},this._overwrittenProps=this._overwrittenProps||[],t=this._overwrittenProps[C]=A?this._overwrittenProps[C]||{}:"all";break}}else{if(g!==this.target)return!1;i=this._propLookup,t=this._overwrittenProps=A?this._overwrittenProps||{}:"all"}if(i){if(a=A||i,o=A!==t&&"all"!==t&&A!==i&&("object"!=typeof A||!A._tempKill),I&&(j.onOverwrite||this.vars.onOverwrite)){for(e in a)i[e]&&(s||(s=[]),s.push(e));if((s||!A)&&!$(this,I,g,s))return!1}for(e in a)(n=i[e])&&(l&&(n.f?n.t[n.p](n.s):n.t[n.p]=n.s,r=!0),n.pg&&n.t._kill(a)&&(r=!0),n.pg&&0!==n.t._overwriteProps.length||(n._prev?n._prev._next=n._next:n===this._firstPT&&(this._firstPT=n._next),n._next&&(n._next._prev=n._prev),n._next=n._prev=null),delete i[e]),o&&(t[e]=1);!this._firstPT&&this._initted&&this._enabled(!1,!1)}}return r},i.invalidate=function(){return this._notifyPluginsOfEnabled&&j._onPluginEvent("_onDisable",this),this._firstPT=this._overwrittenProps=this._startAt=this._onUpdate=null,this._notifyPluginsOfEnabled=this._active=this._lazy=!1,this._propLookup=this._targets?{}:[],D.prototype.invalidate.call(this),this.vars.immediateRender&&(this._time=-1e-10,this.render(Math.min(0,-this._delay))),this},i._enabled=function(A,g){if(a||r.wake(),A&&this._gc){var I,C=this._targets;if(C)for(I=C.length;--I>-1;)this._siblings[I]=_(C[I],this,!0);else this._siblings=_(this.target,this,!0)}return D.prototype._enabled.call(this,A,g),!(!this._notifyPluginsOfEnabled||!this._firstPT)&&j._onPluginEvent(A?"_onEnable":"_onDisable",this)},j.to=function(A,g,I){return new j(A,g,I)},j.from=function(A,g,I){return I.runBackwards=!0,I.immediateRender=0!=I.immediateRender,new j(A,g,I)},j.fromTo=function(A,g,I,C){return C.startAt=I,C.immediateRender=0!=C.immediateRender&&0!=I.immediateRender,new j(A,g,C)},j.delayedCall=function(A,g,I,C,t){return new j(g,0,{delay:A,onComplete:g,onCompleteParams:I,callbackScope:C,onReverseComplete:g,onReverseCompleteParams:I,immediateRender:!1,lazy:!1,useFrames:t,overwrite:0})},j.set=function(A,g){return new j(A,0,g)},j.getTweensOf=function(A,g){if(null==A)return[];var I,C,t,e;if(A="string"!=typeof A?A:j.selector(A)||A,(p(A)||N(A))&&"number"!=typeof A[0]){for(I=A.length,C=[];--I>-1;)C=C.concat(j.getTweensOf(A[I],g));for(I=C.length;--I>-1;)for(e=C[I],t=I;--t>-1;)e===C[t]&&C.splice(I,1)}else if(A._gsTweenID)for(I=(C=_(A).concat()).length;--I>-1;)(C[I]._gc||g&&!C[I].isActive())&&C.splice(I,1);return C||[]},j.killTweensOf=j.killDelayedCallsTo=function(A,g,I){"object"==typeof g&&(I=g,g=!1);for(var C=j.getTweensOf(A,g),t=C.length;--t>-1;)C[t]._kill(I,A)};var IA=m("plugins.TweenPlugin",(function(A,g){this._overwriteProps=(A||"").split(","),this._propName=this._overwriteProps[0],this._priority=g||0,this._super=IA.prototype}),!0);if(i=IA.prototype,IA.version="1.19.0",IA.API=2,i._firstPT=null,i._addTween=W,i.setRatio=k,i._kill=function(A){var g,I=this._overwriteProps,C=this._firstPT;if(null!=A[this._propName])this._overwriteProps=[];else for(g=I.length;--g>-1;)null!=A[I[g]]&&I.splice(g,1);for(;C;)null!=A[C.n]&&(C._next&&(C._next._prev=C._prev),C._prev?(C._prev._next=C._next,C._prev=null):this._firstPT===C&&(this._firstPT=C._next)),C=C._next;return!1},i._mod=i._roundProps=function(A){for(var g,I=this._firstPT;I;)(g=A[this._propName]||null!=I.n&&A[I.n.split(this._propName+"_").join("")])&&"function"==typeof g&&(2===I.f?I.t._applyPT.m=g:I.m=g),I=I._next},j._onPluginEvent=function(A,g){var I,C,t,e,n,i=g._firstPT;if("_onInitAllProps"===A){for(;i;){for(n=i._next,C=t;C&&C.pr>i.pr;)C=C._next;(i._prev=C?C._prev:e)?i._prev._next=i:t=i,(i._next=C)?C._prev=i:e=i,i=n}i=g._firstPT=t}for(;i;)i.pg&&"function"==typeof i.t[A]&&i.t[A]()&&(I=!0),i=i._next;return I},IA.activate=function(A){for(var g=A.length;--g>-1;)A[g].API===IA.API&&(S[(new A[g])._propName]=A[g]);return!0},h.plugin=function(A){if(!(A&&A.propName&&A.init&&A.API))throw"illegal plugin definition.";var g,I=A.propName,C=A.priority||0,t=A.overwriteProps,e={init:"_onInitTween",set:"setRatio",kill:"_kill",round:"_mod",mod:"_mod",initAll:"_onInitAllProps"},n=m("plugins."+I.charAt(0).toUpperCase()+I.substr(1)+"Plugin",(function(){IA.call(this,I,C),this._overwriteProps=t||[]}),!0===A.global),i=n.prototype=new IA(I);for(g in i.constructor=n,n.API=A.API,e)"function"==typeof A[g]&&(i[e[g]]=A[g]);return n.version=A.version,IA.activate([n]),n},e=A._gsQueue){for(n=0;n<e.length;n++)e[n]();for(i in f)f[i].func||A.console.log("GSAP encountered missing dependency: "+i)}return a=!1,j}(t),n=t.com.greensock,i=n.core.SimpleTimeline,r=n.core.Animation,{Ease:a,Linear:o,Power0:s,Power1:l,Power2:c,Power3:u,Power4:v,TweenPlugin:p}=t;n.events.EventDispatcher}).call(this,I(/*! ./../../webpack/buildin/harmony-module.js */9)(A),I(/*! ./../../webpack/buildin/global.js */6))},
|
|
19
|
+
const t="undefined"!=typeof window?window:A.exports&&void 0!==C?C:void 0,e=function(A,g){var I={},C=A.document,t=A.GreenSockGlobals=A.GreenSockGlobals||A;if(t.TweenLite)return t.TweenLite;var e,n,i,r,a,o,s,l=function(A){var g,I=A.split("."),C=t;for(g=0;g<I.length;g++)C[I[g]]=C=C[I[g]]||{};return C},c=l("com.greensock"),u=function(A){var g,I=[],C=A.length;for(g=0;g!==C;I.push(A[g++]));return I},v=function(){},p=(o=Object.prototype.toString,s=o.call([]),function(A){return null!=A&&(A instanceof Array||"object"==typeof A&&!!A.push&&o.call(A)===s)}),f={},d=function(A,g,C,e){this.sc=f[A]?f[A].sc:[],f[A]=this,this.gsClass=null,this.func=C;var n=[];this.check=function(i){for(var r,a,o,s,c=g.length,u=c;--c>-1;)(r=f[g[c]]||new d(g[c],[])).gsClass?(n[c]=r.gsClass,u--):i&&r.sc.push(this);if(0===u&&C)for(o=(a=("com.greensock."+A).split(".")).pop(),s=l(a.join("."))[o]=this.gsClass=C.apply(C,n),e&&(t[o]=I[o]=s),c=0;c<this.sc.length;c++)this.sc[c].check()},this.check(!0)},h=A._gsDefine=function(A,g,I,C){return new d(A,g,I,C)},m=c._class=function(A,g,I){return g=g||function(){},h(A,[],(function(){return g}),I),g};h.globals=t;var b=[0,0,1,1],y=m("easing.Ease",(function(A,g,I,C){this._func=A,this._type=I||0,this._power=C||0,this._params=g?b.concat(g):b}),!0),z=y.map={},P=y.register=function(A,g,I,C){for(var t,e,n,i,r=g.split(","),a=r.length,o=(I||"easeIn,easeOut,easeInOut").split(",");--a>-1;)for(e=r[a],t=C?m("easing."+e,null,!0):c.easing[e]||{},n=o.length;--n>-1;)i=o[n],z[e+"."+i]=z[i+e]=t[i]=A.getRatio?A:A[i]||new A};for((i=y.prototype)._calcEnd=!1,i.getRatio=function(A){if(this._func)return this._params[0]=A,this._func.apply(null,this._params);var g=this._type,I=this._power,C=1===g?1-A:2===g?A:A<.5?2*A:2*(1-A);return 1===I?C*=C:2===I?C*=C*C:3===I?C*=C*C*C:4===I&&(C*=C*C*C*C),1===g?1-C:2===g?C:A<.5?C/2:1-C/2},n=(e=["Linear","Quad","Cubic","Quart","Quint,Strong"]).length;--n>-1;)i=e[n]+",Power"+n,P(new y(null,null,1,n),i,"easeOut",!0),P(new y(null,null,2,n),i,"easeIn"+(0===n?",easeNone":"")),P(new y(null,null,3,n),i,"easeInOut");z.linear=c.easing.Linear.easeIn,z.swing=c.easing.Quad.easeInOut;var R=m("events.EventDispatcher",(function(A){this._listeners={},this._eventTarget=A||this}));(i=R.prototype).addEventListener=function(A,g,I,C,t){t=t||0;var e,n,i=this._listeners[A],o=0;for(this!==r||a||r.wake(),null==i&&(this._listeners[A]=i=[]),n=i.length;--n>-1;)(e=i[n]).c===g&&e.s===I?i.splice(n,1):0===o&&e.pr<t&&(o=n+1);i.splice(o,0,{c:g,s:I,up:C,pr:t})},i.removeEventListener=function(A,g){var I,C=this._listeners[A];if(C)for(I=C.length;--I>-1;)if(C[I].c===g)return void C.splice(I,1)},i.dispatchEvent=function(A){var g,I,C,t=this._listeners[A];if(t)for((g=t.length)>1&&(t=t.slice(0)),I=this._eventTarget;--g>-1;)(C=t[g])&&(C.up?C.c.call(C.s||I,{type:A,target:I}):C.c.call(C.s||I))};var x=A.requestAnimationFrame,w=A.cancelAnimationFrame,M=Date.now||function(){return(new Date).getTime()},Z=M();for(n=(e=["ms","moz","webkit","o"]).length;--n>-1&&!x;)x=A[e[n]+"RequestAnimationFrame"],w=A[e[n]+"CancelAnimationFrame"]||A[e[n]+"CancelRequestAnimationFrame"];m("Ticker",(function(A,g){var I,t,e,n,i,o=this,s=M(),l=!(!1===g||!x)&&"auto",c=500,u=33,p=function(A){var g,C,r=M()-Z;r>c&&(s+=r-u),Z+=r,o.time=(Z-s)/1e3,g=o.time-i,(!I||g>0||!0===A)&&(o.frame++,i+=g+(g>=n?.004:n-g),C=!0),!0!==A&&(e=t(p)),C&&o.dispatchEvent("tick")};R.call(o),o.time=o.frame=0,o.tick=function(){p(!0)},o.lagSmoothing=function(A,g){if(!arguments.length)return c<1e10;c=A||1e10,u=Math.min(g,c,0)},o.sleep=function(){null!=e&&(l&&w?w(e):clearTimeout(e),t=v,e=null,o===r&&(a=!1))},o.wake=function(A){null!==e?o.sleep():A?s+=-Z+(Z=M()):o.frame>10&&(Z=M()-c+5),t=0===I?v:l&&x?x:function(A){return setTimeout(A,1e3*(i-o.time)+1|0)},o===r&&(a=!0),p(2)},o.fps=function(A){if(!arguments.length)return I;n=1/((I=A)||60),i=this.time+n,o.wake()},o.useRAF=function(A){if(!arguments.length)return l;o.sleep(),l=A,o.fps(I)},o.fps(A),setTimeout((function(){"auto"===l&&o.frame<5&&"hidden"!==(C||{}).visibilityState&&o.useRAF(!1)}),1500)})),(i=c.Ticker.prototype=new c.events.EventDispatcher).constructor=c.Ticker;var D=m("core.Animation",(function(A,g){if(this.vars=g=g||{},this._duration=this._totalDuration=A||0,this._delay=Number(g.delay)||0,this._timeScale=1,this._active=!0===g.immediateRender,this.data=g.data,this._reversed=!0===g.reversed,K){a||r.wake();var I=this.vars.useFrames?J:K;I.add(this,I._time),this.vars.paused&&this.paused(!0)}}));r=D.ticker=new c.Ticker,(i=D.prototype)._dirty=i._gc=i._initted=i._paused=!1,i._totalTime=i._time=0,i._rawPrevTime=-1,i._next=i._last=i._onUpdate=i._timeline=i.timeline=null,i._paused=!1;var T=function(){a&&M()-Z>2e3&&("hidden"!==(C||{}).visibilityState||!r.lagSmoothing())&&r.wake();var A=setTimeout(T,2e3);A.unref&&A.unref()};T(),i.play=function(A,g){return null!=A&&this.seek(A,g),this.reversed(!1).paused(!1)},i.pause=function(A,g){return null!=A&&this.seek(A,g),this.paused(!0)},i.resume=function(A,g){return null!=A&&this.seek(A,g),this.paused(!1)},i.seek=function(A,g){return this.totalTime(Number(A),!1!==g)},i.restart=function(A,g){return this.reversed(!1).paused(!1).totalTime(A?-this._delay:0,!1!==g,!0)},i.reverse=function(A,g){return null!=A&&this.seek(A||this.totalDuration(),g),this.reversed(!0).paused(!1)},i.render=function(A,g,I){},i.invalidate=function(){return this._time=this._totalTime=0,this._initted=this._gc=!1,this._rawPrevTime=-1,!this._gc&&this.timeline||this._enabled(!0),this},i.isActive=function(){var A,g=this._timeline,I=this._startTime;return!g||!this._gc&&!this._paused&&g.isActive()&&(A=g.rawTime(!0))>=I&&A<I+this.totalDuration()/this._timeScale-1e-7},i._enabled=function(A,g){return a||r.wake(),this._gc=!A,this._active=this.isActive(),!0!==g&&(A&&!this.timeline?this._timeline.add(this,this._startTime-this._delay):!A&&this.timeline&&this._timeline._remove(this,!0)),!1},i._kill=function(A,g){return this._enabled(!1,!1)},i.kill=function(A,g){return this._kill(A,g),this},i._uncache=function(A){for(var g=A?this:this.timeline;g;)g._dirty=!0,g=g.timeline;return this},i._swapSelfInParams=function(A){for(var g=A.length,I=A.concat();--g>-1;)"{self}"===A[g]&&(I[g]=this);return I},i._callback=function(A){var g=this.vars,I=g[A],C=g[A+"Params"],t=g[A+"Scope"]||g.callbackScope||this;switch(C?C.length:0){case 0:I.call(t);break;case 1:I.call(t,C[0]);break;case 2:I.call(t,C[0],C[1]);break;default:I.apply(t,C)}},i.eventCallback=function(A,g,I,C){if("on"===(A||"").substr(0,2)){var t=this.vars;if(1===arguments.length)return t[A];null==g?delete t[A]:(t[A]=g,t[A+"Params"]=p(I)&&-1!==I.join("").indexOf("{self}")?this._swapSelfInParams(I):I,t[A+"Scope"]=C),"onUpdate"===A&&(this._onUpdate=g)}return this},i.delay=function(A){return arguments.length?(this._timeline.smoothChildTiming&&this.startTime(this._startTime+A-this._delay),this._delay=A,this):this._delay},i.duration=function(A){return arguments.length?(this._duration=this._totalDuration=A,this._uncache(!0),this._timeline.smoothChildTiming&&this._time>0&&this._time<this._duration&&0!==A&&this.totalTime(this._totalTime*(A/this._duration),!0),this):(this._dirty=!1,this._duration)},i.totalDuration=function(A){return this._dirty=!1,arguments.length?this.duration(A):this._totalDuration},i.time=function(A,g){return arguments.length?(this._dirty&&this.totalDuration(),this.totalTime(A>this._duration?this._duration:A,g)):this._time},i.totalTime=function(A,g,I){if(a||r.wake(),!arguments.length)return this._totalTime;if(this._timeline){if(A<0&&!I&&(A+=this.totalDuration()),this._timeline.smoothChildTiming){this._dirty&&this.totalDuration();var C=this._totalDuration,t=this._timeline;if(A>C&&!I&&(A=C),this._startTime=(this._paused?this._pauseTime:t._time)-(this._reversed?C-A:A)/this._timeScale,t._dirty||this._uncache(!1),t._timeline)for(;t._timeline;)t._timeline._time!==(t._startTime+t._totalTime)/t._timeScale&&t.totalTime(t._totalTime,!0),t=t._timeline}this._gc&&this._enabled(!0,!1),this._totalTime===A&&0!==this._duration||(E.length&&q(),this.render(A,g,!1),E.length&&q())}return this},i.progress=i.totalProgress=function(A,g){var I=this.duration();return arguments.length?this.totalTime(I*A,g):I?this._time/I:this.ratio},i.startTime=function(A){return arguments.length?(A!==this._startTime&&(this._startTime=A,this.timeline&&this.timeline._sortChildren&&this.timeline.add(this,A-this._delay)),this):this._startTime},i.endTime=function(A){return this._startTime+(0!=A?this.totalDuration():this.duration())/this._timeScale},i.timeScale=function(A){if(!arguments.length)return this._timeScale;var g,I;for(A=A||1e-10,this._timeline&&this._timeline.smoothChildTiming&&(I=(g=this._pauseTime)||0===g?g:this._timeline.totalTime(),this._startTime=I-(I-this._startTime)*this._timeScale/A),this._timeScale=A,I=this.timeline;I&&I.timeline;)I._dirty=!0,I.totalDuration(),I=I.timeline;return this},i.reversed=function(A){return arguments.length?(A!=this._reversed&&(this._reversed=A,this.totalTime(this._timeline&&!this._timeline.smoothChildTiming?this.totalDuration()-this._totalTime:this._totalTime,!0)),this):this._reversed},i.paused=function(A){if(!arguments.length)return this._paused;var g,I,C=this._timeline;return A!=this._paused&&C&&(a||A||r.wake(),I=(g=C.rawTime())-this._pauseTime,!A&&C.smoothChildTiming&&(this._startTime+=I,this._uncache(!1)),this._pauseTime=A?g:null,this._paused=A,this._active=this.isActive(),!A&&0!==I&&this._initted&&this.duration()&&(g=C.smoothChildTiming?this._totalTime:(g-this._startTime)/this._timeScale,this.render(g,g===this._totalTime,!0))),this._gc&&!A&&this._enabled(!0,!1),this};var O=m("core.SimpleTimeline",(function(A){D.call(this,0,A),this.autoRemoveChildren=this.smoothChildTiming=!0}));(i=O.prototype=new D).constructor=O,i.kill()._gc=!1,i._first=i._last=i._recent=null,i._sortChildren=!1,i.add=i.insert=function(A,g,I,C){var t,e;if(A._startTime=Number(g||0)+A._delay,A._paused&&this!==A._timeline&&(A._pauseTime=this.rawTime()-(A._timeline.rawTime()-A._pauseTime)),A.timeline&&A.timeline._remove(A,!0),A.timeline=A._timeline=this,A._gc&&A._enabled(!0,!0),t=this._last,this._sortChildren)for(e=A._startTime;t&&t._startTime>e;)t=t._prev;return t?(A._next=t._next,t._next=A):(A._next=this._first,this._first=A),A._next?A._next._prev=A:this._last=A,A._prev=t,this._recent=A,this._timeline&&this._uncache(!0),this},i._remove=function(A,g){return A.timeline===this&&(g||A._enabled(!1,!0),A._prev?A._prev._next=A._next:this._first===A&&(this._first=A._next),A._next?A._next._prev=A._prev:this._last===A&&(this._last=A._prev),A._next=A._prev=A.timeline=null,A===this._recent&&(this._recent=this._last),this._timeline&&this._uncache(!0)),this},i.render=function(A,g,I){var C,t=this._first;for(this._totalTime=this._time=this._rawPrevTime=A;t;)C=t._next,(t._active||A>=t._startTime&&!t._paused&&!t._gc)&&(t._reversed?t.render((t._dirty?t.totalDuration():t._totalDuration)-(A-t._startTime)*t._timeScale,g,I):t.render((A-t._startTime)*t._timeScale,g,I)),t=C},i.rawTime=function(){return a||r.wake(),this._totalTime};var j=m("TweenLite",(function(g,I,C){if(D.call(this,I,C),this.render=j.prototype.render,null==g)throw"Cannot tween a null target.";this.target=g="string"!=typeof g?g:j.selector(g)||g;var t,e,n,i=g.jquery||g.length&&g!==A&&g[0]&&(g[0]===A||g[0].nodeType&&g[0].style&&!g.nodeType),r=this.vars.overwrite;if(this._overwrite=r=null==r?U[j.defaultOverwrite]:"number"==typeof r?r>>0:U[r],(i||g instanceof Array||g.push&&p(g))&&"number"!=typeof g[0])for(this._targets=n=u(g),this._propLookup=[],this._siblings=[],t=0;t<n.length;t++)(e=n[t])?"string"!=typeof e?e.length&&e!==A&&e[0]&&(e[0]===A||e[0].nodeType&&e[0].style&&!e.nodeType)?(n.splice(t--,1),this._targets=n=n.concat(u(e))):(this._siblings[t]=_(e,this,!1),1===r&&this._siblings[t].length>1&&AA(e,this,null,1,this._siblings[t])):"string"==typeof(e=n[t--]=j.selector(e))&&n.splice(t+1,1):n.splice(t--,1);else this._propLookup={},this._siblings=_(g,this,!1),1===r&&this._siblings.length>1&&AA(g,this,null,1,this._siblings);(this.vars.immediateRender||0===I&&0===this._delay&&!1!==this.vars.immediateRender)&&(this._time=-1e-10,this.render(Math.min(0,-this._delay)))}),!0),N=function(g){return g&&g.length&&g!==A&&g[0]&&(g[0]===A||g[0].nodeType&&g[0].style&&!g.nodeType)};(i=j.prototype=new D).constructor=j,i.kill()._gc=!1,i.ratio=0,i._firstPT=i._targets=i._overwrittenProps=i._startAt=null,i._notifyPluginsOfEnabled=i._lazy=!1,j.version="1.20.5",j.defaultEase=i._ease=new y(null,null,1,1),j.defaultOverwrite="auto",j.ticker=r,j.autoSleep=120,j.lagSmoothing=function(A,g){r.lagSmoothing(A,g)},j.selector=A.$||A.jQuery||function(g){var I=A.$||A.jQuery;return I?(j.selector=I,I(g)):(C||(C=A.document),C?C.querySelectorAll?C.querySelectorAll(g):C.getElementById("#"===g.charAt(0)?g.substr(1):g):g)};var E=[],G={},X=/(?:(-|-=|\+=)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,H=/[\+-]=-?[\.\d]/,k=function(A){for(var g,I=this._firstPT;I;)g=I.blob?1===A&&null!=this.end?this.end:A?this.join(""):this.start:I.c*A+I.s,I.m?g=I.m.call(this._tween,g,this._target||I.t,this._tween):g<1e-6&&g>-1e-6&&!I.blob&&(g=0),I.f?I.fp?I.t[I.p](I.fp,g):I.t[I.p](g):I.t[I.p]=g,I=I._next},Y=function(A,g,I,C){var t,e,n,i,r,a,o,s=[],l=0,c="",u=0;for(s.start=A,s.end=g,A=s[0]=A+"",g=s[1]=g+"",I&&(I(s),A=s[0],g=s[1]),s.length=0,t=A.match(X)||[],e=g.match(X)||[],C&&(C._next=null,C.blob=1,s._firstPT=s._applyPT=C),r=e.length,i=0;i<r;i++)o=e[i],c+=(a=g.substr(l,g.indexOf(o,l)-l))||!i?a:",",l+=a.length,u?u=(u+1)%5:"rgba("===a.substr(-5)&&(u=1),o===t[i]||t.length<=i?c+=o:(c&&(s.push(c),c=""),n=parseFloat(t[i]),s.push(n),s._firstPT={_next:s._firstPT,t:s,p:s.length-1,s:n,c:("="===o.charAt(1)?parseInt(o.charAt(0)+"1",10)*parseFloat(o.substr(2)):parseFloat(o)-n)||0,f:0,m:u&&u<4?Math.round:0}),l+=o.length;return(c+=g.substr(l))&&s.push(c),s.setRatio=k,H.test(g)&&(s.end=null),s},W=function(A,g,I,C,t,e,n,i,r){"function"==typeof C&&(C=C(r||0,A));var a=typeof A[g],o="function"!==a?"":g.indexOf("set")||"function"!=typeof A["get"+g.substr(3)]?g:"get"+g.substr(3),s="get"!==I?I:o?n?A[o](n):A[o]():A[g],l="string"==typeof C&&"="===C.charAt(1),c={t:A,p:g,s:s,f:"function"===a,pg:0,n:t||g,m:e?"function"==typeof e?e:Math.round:0,pr:0,c:l?parseInt(C.charAt(0)+"1",10)*parseFloat(C.substr(2)):parseFloat(C)-s||0};if(("number"!=typeof s||"number"!=typeof C&&!l)&&(n||isNaN(s)||!l&&isNaN(C)||"boolean"==typeof s||"boolean"==typeof C?(c.fp=n,c={t:Y(s,l?parseFloat(c.s)+c.c+(c.s+"").replace(/[0-9\-\.]/g,""):C,i||j.defaultStringFilter,c),p:"setRatio",s:0,c:1,f:2,pg:0,n:t||g,pr:0,m:0}):(c.s=parseFloat(s),l||(c.c=parseFloat(C)-c.s||0))),c.c)return(c._next=this._firstPT)&&(c._next._prev=c),this._firstPT=c,c},L=j._internals={isArray:p,isSelector:N,lazyTweens:E,blobDif:Y},S=j._plugins={},F=L.tweenLookup={},V=0,B=L.reservedProps={ease:1,delay:1,overwrite:1,onComplete:1,onCompleteParams:1,onCompleteScope:1,useFrames:1,runBackwards:1,startAt:1,onUpdate:1,onUpdateParams:1,onUpdateScope:1,onStart:1,onStartParams:1,onStartScope:1,onReverseComplete:1,onReverseCompleteParams:1,onReverseCompleteScope:1,onRepeat:1,onRepeatParams:1,onRepeatScope:1,easeParams:1,yoyo:1,immediateRender:1,repeat:1,repeatDelay:1,data:1,paused:1,reversed:1,autoCSS:1,lazy:1,onOverwrite:1,callbackScope:1,stringFilter:1,id:1,yoyoEase:1},U={none:0,all:1,auto:2,concurrent:3,allOnStart:4,preexisting:5,true:1,false:0},J=D._rootFramesTimeline=new O,K=D._rootTimeline=new O,Q=30,q=L.lazyRender=function(){var A,g=E.length;for(G={};--g>-1;)(A=E[g])&&!1!==A._lazy&&(A.render(A._lazy[0],A._lazy[1],!0),A._lazy=!1);E.length=0};K._startTime=r.time,J._startTime=r.frame,K._active=J._active=!0,setTimeout(q,1),D._updateRoot=j.render=function(){var A,g,I;if(E.length&&q(),K.render((r.time-K._startTime)*K._timeScale,!1,!1),J.render((r.frame-J._startTime)*J._timeScale,!1,!1),E.length&&q(),r.frame>=Q){for(I in Q=r.frame+(parseInt(j.autoSleep,10)||120),F){for(A=(g=F[I].tweens).length;--A>-1;)g[A]._gc&&g.splice(A,1);0===g.length&&delete F[I]}if((!(I=K._first)||I._paused)&&j.autoSleep&&!J._first&&1===r._listeners.tick.length){for(;I&&I._paused;)I=I._next;I||r.sleep()}}},r.addEventListener("tick",D._updateRoot);var _=function(A,g,I){var C,t,e=A._gsTweenID;if(F[e||(A._gsTweenID=e="t"+V++)]||(F[e]={target:A,tweens:[]}),g&&((C=F[e].tweens)[t=C.length]=g,I))for(;--t>-1;)C[t]===g&&C.splice(t,1);return F[e].tweens},$=function(A,g,I,C){var t,e,n=A.vars.onOverwrite;return n&&(t=n(A,g,I,C)),(n=j.onOverwrite)&&(e=n(A,g,I,C)),!1!==t&&!1!==e},AA=function(A,g,I,C,t){var e,n,i,r;if(1===C||C>=4){for(r=t.length,e=0;e<r;e++)if((i=t[e])!==g)i._gc||i._kill(null,A,g)&&(n=!0);else if(5===C)break;return n}var a,o=g._startTime+1e-10,s=[],l=0,c=0===g._duration;for(e=t.length;--e>-1;)(i=t[e])===g||i._gc||i._paused||(i._timeline!==g._timeline?(a=a||gA(g,0,c),0===gA(i,a,c)&&(s[l++]=i)):i._startTime<=o&&i._startTime+i.totalDuration()/i._timeScale>o&&((c||!i._initted)&&o-i._startTime<=2e-10||(s[l++]=i)));for(e=l;--e>-1;)if(i=s[e],2===C&&i._kill(I,A,g)&&(n=!0),2!==C||!i._firstPT&&i._initted){if(2!==C&&!$(i,g))continue;i._enabled(!1,!1)&&(n=!0)}return n},gA=function(A,g,I){for(var C=A._timeline,t=C._timeScale,e=A._startTime;C._timeline;){if(e+=C._startTime,t*=C._timeScale,C._paused)return-100;C=C._timeline}return(e/=t)>g?e-g:I&&e===g||!A._initted&&e-g<2e-10?1e-10:(e+=A.totalDuration()/A._timeScale/t)>g+1e-10?0:e-g-1e-10};i._init=function(){var A,g,I,C,t,e,n=this.vars,i=this._overwrittenProps,r=this._duration,a=!!n.immediateRender,o=n.ease;if(n.startAt){for(C in this._startAt&&(this._startAt.render(-1,!0),this._startAt.kill()),t={},n.startAt)t[C]=n.startAt[C];if(t.data="isStart",t.overwrite=!1,t.immediateRender=!0,t.lazy=a&&!1!==n.lazy,t.startAt=t.delay=null,t.onUpdate=n.onUpdate,t.onUpdateParams=n.onUpdateParams,t.onUpdateScope=n.onUpdateScope||n.callbackScope||this,this._startAt=j.to(this.target||{},0,t),a)if(this._time>0)this._startAt=null;else if(0!==r)return}else if(n.runBackwards&&0!==r)if(this._startAt)this._startAt.render(-1,!0),this._startAt.kill(),this._startAt=null;else{for(C in 0!==this._time&&(a=!1),I={},n)B[C]&&"autoCSS"!==C||(I[C]=n[C]);if(I.overwrite=0,I.data="isFromStart",I.lazy=a&&!1!==n.lazy,I.immediateRender=a,this._startAt=j.to(this.target,0,I),a){if(0===this._time)return}else this._startAt._init(),this._startAt._enabled(!1),this.vars.immediateRender&&(this._startAt=null)}if(this._ease=o=o?o instanceof y?o:"function"==typeof o?new y(o,n.easeParams):z[o]||j.defaultEase:j.defaultEase,n.easeParams instanceof Array&&o.config&&(this._ease=o.config.apply(o,n.easeParams)),this._easeType=this._ease._type,this._easePower=this._ease._power,this._firstPT=null,this._targets)for(e=this._targets.length,A=0;A<e;A++)this._initProps(this._targets[A],this._propLookup[A]={},this._siblings[A],i?i[A]:null,A)&&(g=!0);else g=this._initProps(this.target,this._propLookup,this._siblings,i,0);if(g&&j._onPluginEvent("_onInitAllProps",this),i&&(this._firstPT||"function"!=typeof this.target&&this._enabled(!1,!1)),n.runBackwards)for(I=this._firstPT;I;)I.s+=I.c,I.c=-I.c,I=I._next;this._onUpdate=n.onUpdate,this._initted=!0},i._initProps=function(g,I,C,t,e){var n,i,r,a,o,s;if(null==g)return!1;for(n in G[g._gsTweenID]&&q(),this.vars.css||g.style&&g!==A&&g.nodeType&&S.css&&!1!==this.vars.autoCSS&&function(A,g){var I,C={};for(I in A)B[I]||I in g&&"transform"!==I&&"x"!==I&&"y"!==I&&"width"!==I&&"height"!==I&&"className"!==I&&"border"!==I||!(!S[I]||S[I]&&S[I]._autoCSS)||(C[I]=A[I],delete A[I]);A.css=C}(this.vars,g),this.vars)if(s=this.vars[n],B[n])s&&(s instanceof Array||s.push&&p(s))&&-1!==s.join("").indexOf("{self}")&&(this.vars[n]=s=this._swapSelfInParams(s,this));else if(S[n]&&(a=new S[n])._onInitTween(g,this.vars[n],this,e)){for(this._firstPT=o={_next:this._firstPT,t:a,p:"setRatio",s:0,c:1,f:1,n:n,pg:1,pr:a._priority,m:0},i=a._overwriteProps.length;--i>-1;)I[a._overwriteProps[i]]=this._firstPT;(a._priority||a._onInitAllProps)&&(r=!0),(a._onDisable||a._onEnable)&&(this._notifyPluginsOfEnabled=!0),o._next&&(o._next._prev=o)}else I[n]=W.call(this,g,n,"get",s,n,0,null,this.vars.stringFilter,e);return t&&this._kill(t,g)?this._initProps(g,I,C,t,e):this._overwrite>1&&this._firstPT&&C.length>1&&AA(g,this,I,this._overwrite,C)?(this._kill(I,g),this._initProps(g,I,C,t,e)):(this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration)&&(G[g._gsTweenID]=!0),r)},i.render=function(A,g,I){var C,t,e,n,i=this._time,r=this._duration,a=this._rawPrevTime;if(A>=r-1e-7&&A>=0)this._totalTime=this._time=r,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1,this._reversed||(C=!0,t="onComplete",I=I||this._timeline.autoRemoveChildren),0===r&&(this._initted||!this.vars.lazy||I)&&(this._startTime===this._timeline._duration&&(A=0),(a<0||A<=0&&A>=-1e-7||1e-10===a&&"isPause"!==this.data)&&a!==A&&(I=!0,a>1e-10&&(t="onReverseComplete")),this._rawPrevTime=n=!g||A||a===A?A:1e-10);else if(A<1e-7)this._totalTime=this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0,(0!==i||0===r&&a>0)&&(t="onReverseComplete",C=this._reversed),A<0&&(this._active=!1,0===r&&(this._initted||!this.vars.lazy||I)&&(a>=0&&(1e-10!==a||"isPause"!==this.data)&&(I=!0),this._rawPrevTime=n=!g||A||a===A?A:1e-10)),(!this._initted||this._startAt&&this._startAt.progress())&&(I=!0);else if(this._totalTime=this._time=A,this._easeType){var o=A/r,s=this._easeType,l=this._easePower;(1===s||3===s&&o>=.5)&&(o=1-o),3===s&&(o*=2),1===l?o*=o:2===l?o*=o*o:3===l?o*=o*o*o:4===l&&(o*=o*o*o*o),this.ratio=1===s?1-o:2===s?o:A/r<.5?o/2:1-o/2}else this.ratio=this._ease.getRatio(A/r);if(this._time!==i||I){if(!this._initted){if(this._init(),!this._initted||this._gc)return;if(!I&&this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration))return this._time=this._totalTime=i,this._rawPrevTime=a,E.push(this),void(this._lazy=[A,g]);this._time&&!C?this.ratio=this._ease.getRatio(this._time/r):C&&this._ease._calcEnd&&(this.ratio=this._ease.getRatio(0===this._time?0:1))}for(!1!==this._lazy&&(this._lazy=!1),this._active||!this._paused&&this._time!==i&&A>=0&&(this._active=!0),0===i&&(this._startAt&&(A>=0?this._startAt.render(A,!0,I):t||(t="_dummyGS")),this.vars.onStart&&(0===this._time&&0!==r||g||this._callback("onStart"))),e=this._firstPT;e;)e.f?e.t[e.p](e.c*this.ratio+e.s):e.t[e.p]=e.c*this.ratio+e.s,e=e._next;this._onUpdate&&(A<0&&this._startAt&&-1e-4!==A&&this._startAt.render(A,!0,I),g||(this._time!==i||C||I)&&this._callback("onUpdate")),t&&(this._gc&&!I||(A<0&&this._startAt&&!this._onUpdate&&-1e-4!==A&&this._startAt.render(A,!0,I),C&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!g&&this.vars[t]&&this._callback(t),0===r&&1e-10===this._rawPrevTime&&1e-10!==n&&(this._rawPrevTime=0)))}},i._kill=function(A,g,I){if("all"===A&&(A=null),null==A&&(null==g||g===this.target))return this._lazy=!1,this._enabled(!1,!1);g="string"!=typeof g?g||this._targets||this.target:j.selector(g)||g;var C,t,e,n,i,r,a,o,s,l=I&&this._time&&I._startTime===this._startTime&&this._timeline===I._timeline;if((p(g)||N(g))&&"number"!=typeof g[0])for(C=g.length;--C>-1;)this._kill(A,g[C],I)&&(r=!0);else{if(this._targets){for(C=this._targets.length;--C>-1;)if(g===this._targets[C]){i=this._propLookup[C]||{},this._overwrittenProps=this._overwrittenProps||[],t=this._overwrittenProps[C]=A?this._overwrittenProps[C]||{}:"all";break}}else{if(g!==this.target)return!1;i=this._propLookup,t=this._overwrittenProps=A?this._overwrittenProps||{}:"all"}if(i){if(a=A||i,o=A!==t&&"all"!==t&&A!==i&&("object"!=typeof A||!A._tempKill),I&&(j.onOverwrite||this.vars.onOverwrite)){for(e in a)i[e]&&(s||(s=[]),s.push(e));if((s||!A)&&!$(this,I,g,s))return!1}for(e in a)(n=i[e])&&(l&&(n.f?n.t[n.p](n.s):n.t[n.p]=n.s,r=!0),n.pg&&n.t._kill(a)&&(r=!0),n.pg&&0!==n.t._overwriteProps.length||(n._prev?n._prev._next=n._next:n===this._firstPT&&(this._firstPT=n._next),n._next&&(n._next._prev=n._prev),n._next=n._prev=null),delete i[e]),o&&(t[e]=1);!this._firstPT&&this._initted&&this._enabled(!1,!1)}}return r},i.invalidate=function(){return this._notifyPluginsOfEnabled&&j._onPluginEvent("_onDisable",this),this._firstPT=this._overwrittenProps=this._startAt=this._onUpdate=null,this._notifyPluginsOfEnabled=this._active=this._lazy=!1,this._propLookup=this._targets?{}:[],D.prototype.invalidate.call(this),this.vars.immediateRender&&(this._time=-1e-10,this.render(Math.min(0,-this._delay))),this},i._enabled=function(A,g){if(a||r.wake(),A&&this._gc){var I,C=this._targets;if(C)for(I=C.length;--I>-1;)this._siblings[I]=_(C[I],this,!0);else this._siblings=_(this.target,this,!0)}return D.prototype._enabled.call(this,A,g),!(!this._notifyPluginsOfEnabled||!this._firstPT)&&j._onPluginEvent(A?"_onEnable":"_onDisable",this)},j.to=function(A,g,I){return new j(A,g,I)},j.from=function(A,g,I){return I.runBackwards=!0,I.immediateRender=0!=I.immediateRender,new j(A,g,I)},j.fromTo=function(A,g,I,C){return C.startAt=I,C.immediateRender=0!=C.immediateRender&&0!=I.immediateRender,new j(A,g,C)},j.delayedCall=function(A,g,I,C,t){return new j(g,0,{delay:A,onComplete:g,onCompleteParams:I,callbackScope:C,onReverseComplete:g,onReverseCompleteParams:I,immediateRender:!1,lazy:!1,useFrames:t,overwrite:0})},j.set=function(A,g){return new j(A,0,g)},j.getTweensOf=function(A,g){if(null==A)return[];var I,C,t,e;if(A="string"!=typeof A?A:j.selector(A)||A,(p(A)||N(A))&&"number"!=typeof A[0]){for(I=A.length,C=[];--I>-1;)C=C.concat(j.getTweensOf(A[I],g));for(I=C.length;--I>-1;)for(e=C[I],t=I;--t>-1;)e===C[t]&&C.splice(I,1)}else if(A._gsTweenID)for(I=(C=_(A).concat()).length;--I>-1;)(C[I]._gc||g&&!C[I].isActive())&&C.splice(I,1);return C||[]},j.killTweensOf=j.killDelayedCallsTo=function(A,g,I){"object"==typeof g&&(I=g,g=!1);for(var C=j.getTweensOf(A,g),t=C.length;--t>-1;)C[t]._kill(I,A)};var IA=m("plugins.TweenPlugin",(function(A,g){this._overwriteProps=(A||"").split(","),this._propName=this._overwriteProps[0],this._priority=g||0,this._super=IA.prototype}),!0);if(i=IA.prototype,IA.version="1.19.0",IA.API=2,i._firstPT=null,i._addTween=W,i.setRatio=k,i._kill=function(A){var g,I=this._overwriteProps,C=this._firstPT;if(null!=A[this._propName])this._overwriteProps=[];else for(g=I.length;--g>-1;)null!=A[I[g]]&&I.splice(g,1);for(;C;)null!=A[C.n]&&(C._next&&(C._next._prev=C._prev),C._prev?(C._prev._next=C._next,C._prev=null):this._firstPT===C&&(this._firstPT=C._next)),C=C._next;return!1},i._mod=i._roundProps=function(A){for(var g,I=this._firstPT;I;)(g=A[this._propName]||null!=I.n&&A[I.n.split(this._propName+"_").join("")])&&"function"==typeof g&&(2===I.f?I.t._applyPT.m=g:I.m=g),I=I._next},j._onPluginEvent=function(A,g){var I,C,t,e,n,i=g._firstPT;if("_onInitAllProps"===A){for(;i;){for(n=i._next,C=t;C&&C.pr>i.pr;)C=C._next;(i._prev=C?C._prev:e)?i._prev._next=i:t=i,(i._next=C)?C._prev=i:e=i,i=n}i=g._firstPT=t}for(;i;)i.pg&&"function"==typeof i.t[A]&&i.t[A]()&&(I=!0),i=i._next;return I},IA.activate=function(A){for(var g=A.length;--g>-1;)A[g].API===IA.API&&(S[(new A[g])._propName]=A[g]);return!0},h.plugin=function(A){if(!(A&&A.propName&&A.init&&A.API))throw"illegal plugin definition.";var g,I=A.propName,C=A.priority||0,t=A.overwriteProps,e={init:"_onInitTween",set:"setRatio",kill:"_kill",round:"_mod",mod:"_mod",initAll:"_onInitAllProps"},n=m("plugins."+I.charAt(0).toUpperCase()+I.substr(1)+"Plugin",(function(){IA.call(this,I,C),this._overwriteProps=t||[]}),!0===A.global),i=n.prototype=new IA(I);for(g in i.constructor=n,n.API=A.API,e)"function"==typeof A[g]&&(i[e[g]]=A[g]);return n.version=A.version,IA.activate([n]),n},e=A._gsQueue){for(n=0;n<e.length;n++)e[n]();for(i in f)f[i].func||A.console.log("GSAP encountered missing dependency: "+i)}return a=!1,j}(t),n=t.com.greensock,i=n.core.SimpleTimeline,r=n.core.Animation,{Ease:a,Linear:o,Power0:s,Power1:l,Power2:c,Power3:u,Power4:v,TweenPlugin:p}=t;n.events.EventDispatcher}).call(this,I(/*! ./../../webpack/buildin/harmony-module.js */9)(A),I(/*! ./../../webpack/buildin/global.js */6))},
|
|
20
20
|
/*!***************************************!*\
|
|
21
21
|
!*** ./node_modules/lodash/lodash.js ***!
|
|
22
22
|
\***************************************/
|
|
@@ -30,7 +30,7 @@ const t="undefined"!=typeof window?window:A.exports&&void 0!==C?C:void 0,e=funct
|
|
|
30
30
|
* Released under MIT license <https://lodash.com/license>
|
|
31
31
|
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
|
32
32
|
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
33
|
-
*/(function(){var e,n=200,i="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",r="Expected a function",a="__lodash_hash_undefined__",o=500,s="__lodash_placeholder__",l=1,c=2,u=4,v=1,p=2,f=1,d=2,h=4,m=8,b=16,y=32,z=64,P=128,R=256,x=512,w=30,M="...",Z=800,D=16,T=1,O=2,j=1/0,N=9007199254740991,E=17976931348623157e292,G=NaN,X=4294967295,H=X-1,k=X>>>1,Y=[["ary",P],["bind",f],["bindKey",d],["curry",m],["curryRight",b],["flip",x],["partial",y],["partialRight",z],["rearg",R]],W="[object Arguments]",L="[object Array]",S="[object AsyncFunction]",F="[object Boolean]",V="[object Date]",U="[object DOMException]",B="[object Error]",J="[object Function]",K="[object GeneratorFunction]",Q="[object Map]",q="[object Number]",_="[object Null]",$="[object Object]",AA="[object Proxy]",gA="[object RegExp]",IA="[object Set]",CA="[object String]",tA="[object Symbol]",eA="[object Undefined]",nA="[object WeakMap]",iA="[object WeakSet]",rA="[object ArrayBuffer]",aA="[object DataView]",oA="[object Float32Array]",sA="[object Float64Array]",lA="[object Int8Array]",cA="[object Int16Array]",uA="[object Int32Array]",vA="[object Uint8Array]",pA="[object Uint8ClampedArray]",fA="[object Uint16Array]",dA="[object Uint32Array]",hA=/\b__p \+= '';/g,mA=/\b(__p \+=) '' \+/g,bA=/(__e\(.*?\)|\b__t\)) \+\n'';/g,yA=/&(?:amp|lt|gt|quot|#39);/g,zA=/[&<>"']/g,PA=RegExp(yA.source),RA=RegExp(zA.source),xA=/<%-([\s\S]+?)%>/g,wA=/<%([\s\S]+?)%>/g,MA=/<%=([\s\S]+?)%>/g,ZA=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,DA=/^\w*$/,TA=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,OA=/[\\^$.*+?()[\]{}|]/g,jA=RegExp(OA.source),NA=/^\s+|\s+$/g,EA=/^\s+/,GA=/\s+$/,XA=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,HA=/\{\n\/\* \[wrapped with (.+)\] \*/,kA=/,? & /,YA=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,WA=/\\(\\)?/g,LA=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,SA=/\w*$/,FA=/^[-+]0x[0-9a-f]+$/i,VA=/^0b[01]+$/i,UA=/^\[object .+?Constructor\]$/,BA=/^0o[0-7]+$/i,JA=/^(?:0|[1-9]\d*)$/,KA=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,QA=/($^)/,qA=/['\n\r\u2028\u2029\\]/g,_A="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",$A="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Ag="[\\ud800-\\udfff]",gg="["+$A+"]",Ig="["+_A+"]",Cg="\\d+",tg="[\\u2700-\\u27bf]",eg="[a-z\\xdf-\\xf6\\xf8-\\xff]",ng="[^\\ud800-\\udfff"+$A+Cg+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",ig="\\ud83c[\\udffb-\\udfff]",rg="[^\\ud800-\\udfff]",ag="(?:\\ud83c[\\udde6-\\uddff]){2}",og="[\\ud800-\\udbff][\\udc00-\\udfff]",sg="[A-Z\\xc0-\\xd6\\xd8-\\xde]",lg="(?:"+eg+"|"+ng+")",cg="(?:"+sg+"|"+ng+")",ug="(?:"+Ig+"|"+ig+")"+"?",vg="[\\ufe0e\\ufe0f]?"+ug+("(?:\\u200d(?:"+[rg,ag,og].join("|")+")[\\ufe0e\\ufe0f]?"+ug+")*"),pg="(?:"+[tg,ag,og].join("|")+")"+vg,fg="(?:"+[rg+Ig+"?",Ig,ag,og,Ag].join("|")+")",dg=RegExp("['’]","g"),hg=RegExp(Ig,"g"),mg=RegExp(ig+"(?="+ig+")|"+fg+vg,"g"),bg=RegExp([sg+"?"+eg+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[gg,sg,"$"].join("|")+")",cg+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[gg,sg+lg,"$"].join("|")+")",sg+"?"+lg+"+(?:['’](?:d|ll|m|re|s|t|ve))?",sg+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Cg,pg].join("|"),"g"),yg=RegExp("[\\u200d\\ud800-\\udfff"+_A+"\\ufe0e\\ufe0f]"),zg=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Pg=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Rg=-1,xg={};xg[oA]=xg[sA]=xg[lA]=xg[cA]=xg[uA]=xg[vA]=xg[pA]=xg[fA]=xg[dA]=!0,xg[W]=xg[L]=xg[rA]=xg[F]=xg[aA]=xg[V]=xg[B]=xg[J]=xg[Q]=xg[q]=xg[$]=xg[gA]=xg[IA]=xg[CA]=xg[nA]=!1;var wg={};wg[W]=wg[L]=wg[rA]=wg[aA]=wg[F]=wg[V]=wg[oA]=wg[sA]=wg[lA]=wg[cA]=wg[uA]=wg[Q]=wg[q]=wg[$]=wg[gA]=wg[IA]=wg[CA]=wg[tA]=wg[vA]=wg[pA]=wg[fA]=wg[dA]=!0,wg[B]=wg[J]=wg[nA]=!1;var Mg={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Zg=parseFloat,Dg=parseInt,Tg="object"==typeof A&&A&&A.Object===Object&&A,Og="object"==typeof self&&self&&self.Object===Object&&self,jg=Tg||Og||Function("return this")(),Ng=g&&!g.nodeType&&g,Eg=Ng&&"object"==typeof C&&C&&!C.nodeType&&C,Gg=Eg&&Eg.exports===Ng,Xg=Gg&&Tg.process,Hg=function(){try{var A=Eg&&Eg.require&&Eg.require("util").types;return A||Xg&&Xg.binding&&Xg.binding("util")}catch(A){}}(),kg=Hg&&Hg.isArrayBuffer,Yg=Hg&&Hg.isDate,Wg=Hg&&Hg.isMap,Lg=Hg&&Hg.isRegExp,Sg=Hg&&Hg.isSet,Fg=Hg&&Hg.isTypedArray;function Vg(A,g,I){switch(I.length){case 0:return A.call(g);case 1:return A.call(g,I[0]);case 2:return A.call(g,I[0],I[1]);case 3:return A.call(g,I[0],I[1],I[2])}return A.apply(g,I)}function Ug(A,g,I,C){for(var t=-1,e=null==A?0:A.length;++t<e;){var n=A[t];g(C,n,I(n),A)}return C}function Bg(A,g){for(var I=-1,C=null==A?0:A.length;++I<C&&!1!==g(A[I],I,A););return A}function Jg(A,g){for(var I=null==A?0:A.length;I--&&!1!==g(A[I],I,A););return A}function Kg(A,g){for(var I=-1,C=null==A?0:A.length;++I<C;)if(!g(A[I],I,A))return!1;return!0}function Qg(A,g){for(var I=-1,C=null==A?0:A.length,t=0,e=[];++I<C;){var n=A[I];g(n,I,A)&&(e[t++]=n)}return e}function qg(A,g){return!!(null==A?0:A.length)&&iI(A,g,0)>-1}function _g(A,g,I){for(var C=-1,t=null==A?0:A.length;++C<t;)if(I(g,A[C]))return!0;return!1}function $g(A,g){for(var I=-1,C=null==A?0:A.length,t=Array(C);++I<C;)t[I]=g(A[I],I,A);return t}function AI(A,g){for(var I=-1,C=g.length,t=A.length;++I<C;)A[t+I]=g[I];return A}function gI(A,g,I,C){var t=-1,e=null==A?0:A.length;for(C&&e&&(I=A[++t]);++t<e;)I=g(I,A[t],t,A);return I}function II(A,g,I,C){var t=null==A?0:A.length;for(C&&t&&(I=A[--t]);t--;)I=g(I,A[t],t,A);return I}function CI(A,g){for(var I=-1,C=null==A?0:A.length;++I<C;)if(g(A[I],I,A))return!0;return!1}var tI=sI("length");function eI(A,g,I){var C;return I(A,(function(A,I,t){if(g(A,I,t))return C=I,!1})),C}function nI(A,g,I,C){for(var t=A.length,e=I+(C?1:-1);C?e--:++e<t;)if(g(A[e],e,A))return e;return-1}function iI(A,g,I){return g==g?function(A,g,I){var C=I-1,t=A.length;for(;++C<t;)if(A[C]===g)return C;return-1}(A,g,I):nI(A,aI,I)}function rI(A,g,I,C){for(var t=I-1,e=A.length;++t<e;)if(C(A[t],g))return t;return-1}function aI(A){return A!=A}function oI(A,g){var I=null==A?0:A.length;return I?uI(A,g)/I:G}function sI(A){return function(g){return null==g?e:g[A]}}function lI(A){return function(g){return null==A?e:A[g]}}function cI(A,g,I,C,t){return t(A,(function(A,t,e){I=C?(C=!1,A):g(I,A,t,e)})),I}function uI(A,g){for(var I,C=-1,t=A.length;++C<t;){var n=g(A[C]);n!==e&&(I=I===e?n:I+n)}return I}function vI(A,g){for(var I=-1,C=Array(A);++I<A;)C[I]=g(I);return C}function pI(A){return function(g){return A(g)}}function fI(A,g){return $g(g,(function(g){return A[g]}))}function dI(A,g){return A.has(g)}function hI(A,g){for(var I=-1,C=A.length;++I<C&&iI(g,A[I],0)>-1;);return I}function mI(A,g){for(var I=A.length;I--&&iI(g,A[I],0)>-1;);return I}var bI=lI({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),yI=lI({"&":"&","<":"<",">":">",'"':""","'":"'"});function zI(A){return"\\"+Mg[A]}function PI(A){return yg.test(A)}function RI(A){var g=-1,I=Array(A.size);return A.forEach((function(A,C){I[++g]=[C,A]})),I}function xI(A,g){return function(I){return A(g(I))}}function wI(A,g){for(var I=-1,C=A.length,t=0,e=[];++I<C;){var n=A[I];n!==g&&n!==s||(A[I]=s,e[t++]=I)}return e}function MI(A){var g=-1,I=Array(A.size);return A.forEach((function(A){I[++g]=A})),I}function ZI(A){var g=-1,I=Array(A.size);return A.forEach((function(A){I[++g]=[A,A]})),I}function DI(A){return PI(A)?function(A){var g=mg.lastIndex=0;for(;mg.test(A);)++g;return g}(A):tI(A)}function TI(A){return PI(A)?function(A){return A.match(mg)||[]}(A):function(A){return A.split("")}(A)}var OI=lI({"&":"&","<":"<",">":">",""":'"',"'":"'"});var jI=function A(g){var I,C=(g=null==g?jg:jI.defaults(jg.Object(),g,jI.pick(jg,Pg))).Array,t=g.Date,_A=g.Error,$A=g.Function,Ag=g.Math,gg=g.Object,Ig=g.RegExp,Cg=g.String,tg=g.TypeError,eg=C.prototype,ng=$A.prototype,ig=gg.prototype,rg=g["__core-js_shared__"],ag=ng.toString,og=ig.hasOwnProperty,sg=0,lg=(I=/[^.]+$/.exec(rg&&rg.keys&&rg.keys.IE_PROTO||""))?"Symbol(src)_1."+I:"",cg=ig.toString,ug=ag.call(gg),vg=jg._,pg=Ig("^"+ag.call(og).replace(OA,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),fg=Gg?g.Buffer:e,mg=g.Symbol,yg=g.Uint8Array,Mg=fg?fg.allocUnsafe:e,Tg=xI(gg.getPrototypeOf,gg),Og=gg.create,Ng=ig.propertyIsEnumerable,Eg=eg.splice,Xg=mg?mg.isConcatSpreadable:e,Hg=mg?mg.iterator:e,tI=mg?mg.toStringTag:e,lI=function(){try{var A=Xe(gg,"defineProperty");return A({},"",{}),A}catch(A){}}(),NI=g.clearTimeout!==jg.clearTimeout&&g.clearTimeout,EI=t&&t.now!==jg.Date.now&&t.now,GI=g.setTimeout!==jg.setTimeout&&g.setTimeout,XI=Ag.ceil,HI=Ag.floor,kI=gg.getOwnPropertySymbols,YI=fg?fg.isBuffer:e,WI=g.isFinite,LI=eg.join,SI=xI(gg.keys,gg),FI=Ag.max,VI=Ag.min,UI=t.now,BI=g.parseInt,JI=Ag.random,KI=eg.reverse,QI=Xe(g,"DataView"),qI=Xe(g,"Map"),_I=Xe(g,"Promise"),$I=Xe(g,"Set"),AC=Xe(g,"WeakMap"),gC=Xe(gg,"create"),IC=AC&&new AC,CC={},tC=on(QI),eC=on(qI),nC=on(_I),iC=on($I),rC=on(AC),aC=mg?mg.prototype:e,oC=aC?aC.valueOf:e,sC=aC?aC.toString:e;function lC(A){if(wi(A)&&!pi(A)&&!(A instanceof pC)){if(A instanceof vC)return A;if(og.call(A,"__wrapped__"))return sn(A)}return new vC(A)}var cC=function(){function A(){}return function(g){if(!xi(g))return{};if(Og)return Og(g);A.prototype=g;var I=new A;return A.prototype=e,I}}();function uC(){}function vC(A,g){this.__wrapped__=A,this.__actions__=[],this.__chain__=!!g,this.__index__=0,this.__values__=e}function pC(A){this.__wrapped__=A,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=X,this.__views__=[]}function fC(A){var g=-1,I=null==A?0:A.length;for(this.clear();++g<I;){var C=A[g];this.set(C[0],C[1])}}function dC(A){var g=-1,I=null==A?0:A.length;for(this.clear();++g<I;){var C=A[g];this.set(C[0],C[1])}}function hC(A){var g=-1,I=null==A?0:A.length;for(this.clear();++g<I;){var C=A[g];this.set(C[0],C[1])}}function mC(A){var g=-1,I=null==A?0:A.length;for(this.__data__=new hC;++g<I;)this.add(A[g])}function bC(A){var g=this.__data__=new dC(A);this.size=g.size}function yC(A,g){var I=pi(A),C=!I&&vi(A),t=!I&&!C&&mi(A),e=!I&&!C&&!t&&Ei(A),n=I||C||t||e,i=n?vI(A.length,Cg):[],r=i.length;for(var a in A)!g&&!og.call(A,a)||n&&("length"==a||t&&("offset"==a||"parent"==a)||e&&("buffer"==a||"byteLength"==a||"byteOffset"==a)||Fe(a,r))||i.push(a);return i}function zC(A){var g=A.length;return g?A[mt(0,g-1)]:e}function PC(A,g){return nn(ge(A),jC(g,0,A.length))}function RC(A){return nn(ge(A))}function xC(A,g,I){(I===e||li(A[g],I))&&(I!==e||g in A)||TC(A,g,I)}function wC(A,g,I){var C=A[g];og.call(A,g)&&li(C,I)&&(I!==e||g in A)||TC(A,g,I)}function MC(A,g){for(var I=A.length;I--;)if(li(A[I][0],g))return I;return-1}function ZC(A,g,I,C){return HC(A,(function(A,t,e){g(C,A,I(A),e)})),C}function DC(A,g){return A&&Ie(g,Cr(g),A)}function TC(A,g,I){"__proto__"==g&&lI?lI(A,g,{configurable:!0,enumerable:!0,value:I,writable:!0}):A[g]=I}function OC(A,g){for(var I=-1,t=g.length,n=C(t),i=null==A;++I<t;)n[I]=i?e:_i(A,g[I]);return n}function jC(A,g,I){return A==A&&(I!==e&&(A=A<=I?A:I),g!==e&&(A=A>=g?A:g)),A}function NC(A,g,I,C,t,n){var i,r=g&l,a=g&c,o=g&u;if(I&&(i=t?I(A,C,t,n):I(A)),i!==e)return i;if(!xi(A))return A;var s=pi(A);if(s){if(i=function(A){var g=A.length,I=new A.constructor(g);g&&"string"==typeof A[0]&&og.call(A,"index")&&(I.index=A.index,I.input=A.input);return I}(A),!r)return ge(A,i)}else{var v=Ye(A),p=v==J||v==K;if(mi(A))return Kt(A,r);if(v==$||v==W||p&&!t){if(i=a||p?{}:Le(A),!r)return a?function(A,g){return Ie(A,ke(A),g)}(A,function(A,g){return A&&Ie(g,tr(g),A)}(i,A)):function(A,g){return Ie(A,He(A),g)}(A,DC(i,A))}else{if(!wg[v])return t?A:{};i=function(A,g,I){var C=A.constructor;switch(g){case rA:return Qt(A);case F:case V:return new C(+A);case aA:return function(A,g){var I=g?Qt(A.buffer):A.buffer;return new A.constructor(I,A.byteOffset,A.byteLength)}(A,I);case oA:case sA:case lA:case cA:case uA:case vA:case pA:case fA:case dA:return qt(A,I);case Q:return new C;case q:case CA:return new C(A);case gA:return function(A){var g=new A.constructor(A.source,SA.exec(A));return g.lastIndex=A.lastIndex,g}(A);case IA:return new C;case tA:return t=A,oC?gg(oC.call(t)):{}}var t}(A,v,r)}}n||(n=new bC);var f=n.get(A);if(f)return f;if(n.set(A,i),Oi(A))return A.forEach((function(C){i.add(NC(C,g,I,C,A,n))})),i;if(Mi(A))return A.forEach((function(C,t){i.set(t,NC(C,g,I,t,A,n))})),i;var d=s?e:(o?a?De:Ze:a?tr:Cr)(A);return Bg(d||A,(function(C,t){d&&(C=A[t=C]),wC(i,t,NC(C,g,I,t,A,n))})),i}function EC(A,g,I){var C=I.length;if(null==A)return!C;for(A=gg(A);C--;){var t=I[C],n=g[t],i=A[t];if(i===e&&!(t in A)||!n(i))return!1}return!0}function GC(A,g,I){if("function"!=typeof A)throw new tg(r);return In((function(){A.apply(e,I)}),g)}function XC(A,g,I,C){var t=-1,e=qg,i=!0,r=A.length,a=[],o=g.length;if(!r)return a;I&&(g=$g(g,pI(I))),C?(e=_g,i=!1):g.length>=n&&(e=dI,i=!1,g=new mC(g));A:for(;++t<r;){var s=A[t],l=null==I?s:I(s);if(s=C||0!==s?s:0,i&&l==l){for(var c=o;c--;)if(g[c]===l)continue A;a.push(s)}else e(g,l,C)||a.push(s)}return a}lC.templateSettings={escape:xA,evaluate:wA,interpolate:MA,variable:"",imports:{_:lC}},lC.prototype=uC.prototype,lC.prototype.constructor=lC,vC.prototype=cC(uC.prototype),vC.prototype.constructor=vC,pC.prototype=cC(uC.prototype),pC.prototype.constructor=pC,fC.prototype.clear=function(){this.__data__=gC?gC(null):{},this.size=0},fC.prototype.delete=function(A){var g=this.has(A)&&delete this.__data__[A];return this.size-=g?1:0,g},fC.prototype.get=function(A){var g=this.__data__;if(gC){var I=g[A];return I===a?e:I}return og.call(g,A)?g[A]:e},fC.prototype.has=function(A){var g=this.__data__;return gC?g[A]!==e:og.call(g,A)},fC.prototype.set=function(A,g){var I=this.__data__;return this.size+=this.has(A)?0:1,I[A]=gC&&g===e?a:g,this},dC.prototype.clear=function(){this.__data__=[],this.size=0},dC.prototype.delete=function(A){var g=this.__data__,I=MC(g,A);return!(I<0)&&(I==g.length-1?g.pop():Eg.call(g,I,1),--this.size,!0)},dC.prototype.get=function(A){var g=this.__data__,I=MC(g,A);return I<0?e:g[I][1]},dC.prototype.has=function(A){return MC(this.__data__,A)>-1},dC.prototype.set=function(A,g){var I=this.__data__,C=MC(I,A);return C<0?(++this.size,I.push([A,g])):I[C][1]=g,this},hC.prototype.clear=function(){this.size=0,this.__data__={hash:new fC,map:new(qI||dC),string:new fC}},hC.prototype.delete=function(A){var g=Ee(this,A).delete(A);return this.size-=g?1:0,g},hC.prototype.get=function(A){return Ee(this,A).get(A)},hC.prototype.has=function(A){return Ee(this,A).has(A)},hC.prototype.set=function(A,g){var I=Ee(this,A),C=I.size;return I.set(A,g),this.size+=I.size==C?0:1,this},mC.prototype.add=mC.prototype.push=function(A){return this.__data__.set(A,a),this},mC.prototype.has=function(A){return this.__data__.has(A)},bC.prototype.clear=function(){this.__data__=new dC,this.size=0},bC.prototype.delete=function(A){var g=this.__data__,I=g.delete(A);return this.size=g.size,I},bC.prototype.get=function(A){return this.__data__.get(A)},bC.prototype.has=function(A){return this.__data__.has(A)},bC.prototype.set=function(A,g){var I=this.__data__;if(I instanceof dC){var C=I.__data__;if(!qI||C.length<n-1)return C.push([A,g]),this.size=++I.size,this;I=this.__data__=new hC(C)}return I.set(A,g),this.size=I.size,this};var HC=ee(UC),kC=ee(BC,!0);function YC(A,g){var I=!0;return HC(A,(function(A,C,t){return I=!!g(A,C,t)})),I}function WC(A,g,I){for(var C=-1,t=A.length;++C<t;){var n=A[C],i=g(n);if(null!=i&&(r===e?i==i&&!Ni(i):I(i,r)))var r=i,a=n}return a}function LC(A,g){var I=[];return HC(A,(function(A,C,t){g(A,C,t)&&I.push(A)})),I}function SC(A,g,I,C,t){var e=-1,n=A.length;for(I||(I=Se),t||(t=[]);++e<n;){var i=A[e];g>0&&I(i)?g>1?SC(i,g-1,I,C,t):AI(t,i):C||(t[t.length]=i)}return t}var FC=ne(),VC=ne(!0);function UC(A,g){return A&&FC(A,g,Cr)}function BC(A,g){return A&&VC(A,g,Cr)}function JC(A,g){return Qg(g,(function(g){return zi(A[g])}))}function KC(A,g){for(var I=0,C=(g=Vt(g,A)).length;null!=A&&I<C;)A=A[an(g[I++])];return I&&I==C?A:e}function QC(A,g,I){var C=g(A);return pi(A)?C:AI(C,I(A))}function qC(A){return null==A?A===e?eA:_:tI&&tI in gg(A)?function(A){var g=og.call(A,tI),I=A[tI];try{A[tI]=e;var C=!0}catch(A){}var t=cg.call(A);C&&(g?A[tI]=I:delete A[tI]);return t}(A):function(A){return cg.call(A)}(A)}function _C(A,g){return A>g}function $C(A,g){return null!=A&&og.call(A,g)}function At(A,g){return null!=A&&g in gg(A)}function gt(A,g,I){for(var t=I?_g:qg,n=A[0].length,i=A.length,r=i,a=C(i),o=1/0,s=[];r--;){var l=A[r];r&&g&&(l=$g(l,pI(g))),o=VI(l.length,o),a[r]=!I&&(g||n>=120&&l.length>=120)?new mC(r&&l):e}l=A[0];var c=-1,u=a[0];A:for(;++c<n&&s.length<o;){var v=l[c],p=g?g(v):v;if(v=I||0!==v?v:0,!(u?dI(u,p):t(s,p,I))){for(r=i;--r;){var f=a[r];if(!(f?dI(f,p):t(A[r],p,I)))continue A}u&&u.push(p),s.push(v)}}return s}function It(A,g,I){var C=null==(A=$e(A,g=Vt(g,A)))?A:A[an(yn(g))];return null==C?e:Vg(C,A,I)}function Ct(A){return wi(A)&&qC(A)==W}function tt(A,g,I,C,t){return A===g||(null==A||null==g||!wi(A)&&!wi(g)?A!=A&&g!=g:function(A,g,I,C,t,n){var i=pi(A),r=pi(g),a=i?L:Ye(A),o=r?L:Ye(g),s=(a=a==W?$:a)==$,l=(o=o==W?$:o)==$,c=a==o;if(c&&mi(A)){if(!mi(g))return!1;i=!0,s=!1}if(c&&!s)return n||(n=new bC),i||Ei(A)?we(A,g,I,C,t,n):function(A,g,I,C,t,e,n){switch(I){case aA:if(A.byteLength!=g.byteLength||A.byteOffset!=g.byteOffset)return!1;A=A.buffer,g=g.buffer;case rA:return!(A.byteLength!=g.byteLength||!e(new yg(A),new yg(g)));case F:case V:case q:return li(+A,+g);case B:return A.name==g.name&&A.message==g.message;case gA:case CA:return A==g+"";case Q:var i=RI;case IA:var r=C&v;if(i||(i=MI),A.size!=g.size&&!r)return!1;var a=n.get(A);if(a)return a==g;C|=p,n.set(A,g);var o=we(i(A),i(g),C,t,e,n);return n.delete(A),o;case tA:if(oC)return oC.call(A)==oC.call(g)}return!1}(A,g,a,I,C,t,n);if(!(I&v)){var u=s&&og.call(A,"__wrapped__"),f=l&&og.call(g,"__wrapped__");if(u||f){var d=u?A.value():A,h=f?g.value():g;return n||(n=new bC),t(d,h,I,C,n)}}if(!c)return!1;return n||(n=new bC),function(A,g,I,C,t,n){var i=I&v,r=Ze(A),a=r.length,o=Ze(g).length;if(a!=o&&!i)return!1;var s=a;for(;s--;){var l=r[s];if(!(i?l in g:og.call(g,l)))return!1}var c=n.get(A);if(c&&n.get(g))return c==g;var u=!0;n.set(A,g),n.set(g,A);var p=i;for(;++s<a;){l=r[s];var f=A[l],d=g[l];if(C)var h=i?C(d,f,l,g,A,n):C(f,d,l,A,g,n);if(!(h===e?f===d||t(f,d,I,C,n):h)){u=!1;break}p||(p="constructor"==l)}if(u&&!p){var m=A.constructor,b=g.constructor;m!=b&&"constructor"in A&&"constructor"in g&&!("function"==typeof m&&m instanceof m&&"function"==typeof b&&b instanceof b)&&(u=!1)}return n.delete(A),n.delete(g),u}(A,g,I,C,t,n)}(A,g,I,C,tt,t))}function et(A,g,I,C){var t=I.length,n=t,i=!C;if(null==A)return!n;for(A=gg(A);t--;){var r=I[t];if(i&&r[2]?r[1]!==A[r[0]]:!(r[0]in A))return!1}for(;++t<n;){var a=(r=I[t])[0],o=A[a],s=r[1];if(i&&r[2]){if(o===e&&!(a in A))return!1}else{var l=new bC;if(C)var c=C(o,s,a,A,g,l);if(!(c===e?tt(s,o,v|p,C,l):c))return!1}}return!0}function nt(A){return!(!xi(A)||(g=A,lg&&lg in g))&&(zi(A)?pg:UA).test(on(A));var g}function it(A){return"function"==typeof A?A:null==A?Zr:"object"==typeof A?pi(A)?ct(A[0],A[1]):lt(A):Hr(A)}function rt(A){if(!Ke(A))return SI(A);var g=[];for(var I in gg(A))og.call(A,I)&&"constructor"!=I&&g.push(I);return g}function at(A){if(!xi(A))return function(A){var g=[];if(null!=A)for(var I in gg(A))g.push(I);return g}(A);var g=Ke(A),I=[];for(var C in A)("constructor"!=C||!g&&og.call(A,C))&&I.push(C);return I}function ot(A,g){return A<g}function st(A,g){var I=-1,t=di(A)?C(A.length):[];return HC(A,(function(A,C,e){t[++I]=g(A,C,e)})),t}function lt(A){var g=Ge(A);return 1==g.length&&g[0][2]?qe(g[0][0],g[0][1]):function(I){return I===A||et(I,A,g)}}function ct(A,g){return Ue(A)&&Qe(g)?qe(an(A),g):function(I){var C=_i(I,A);return C===e&&C===g?$i(I,A):tt(g,C,v|p)}}function ut(A,g,I,C,t){A!==g&&FC(g,(function(n,i){if(xi(n))t||(t=new bC),function(A,g,I,C,t,n,i){var r=An(A,I),a=An(g,I),o=i.get(a);if(o)return void xC(A,I,o);var s=n?n(r,a,I+"",A,g,i):e,l=s===e;if(l){var c=pi(a),u=!c&&mi(a),v=!c&&!u&&Ei(a);s=a,c||u||v?pi(r)?s=r:hi(r)?s=ge(r):u?(l=!1,s=Kt(a,!0)):v?(l=!1,s=qt(a,!0)):s=[]:Di(a)||vi(a)?(s=r,vi(r)?s=Si(r):xi(r)&&!zi(r)||(s=Le(a))):l=!1}l&&(i.set(a,s),t(s,a,C,n,i),i.delete(a));xC(A,I,s)}(A,g,i,I,ut,C,t);else{var r=C?C(An(A,i),n,i+"",A,g,t):e;r===e&&(r=n),xC(A,i,r)}}),tr)}function vt(A,g){var I=A.length;if(I)return Fe(g+=g<0?I:0,I)?A[g]:e}function pt(A,g,I){var C=-1;return g=$g(g.length?g:[Zr],pI(Ne())),function(A,g){var I=A.length;for(A.sort(g);I--;)A[I]=A[I].value;return A}(st(A,(function(A,I,t){return{criteria:$g(g,(function(g){return g(A)})),index:++C,value:A}})),(function(A,g){return function(A,g,I){var C=-1,t=A.criteria,e=g.criteria,n=t.length,i=I.length;for(;++C<n;){var r=_t(t[C],e[C]);if(r){if(C>=i)return r;var a=I[C];return r*("desc"==a?-1:1)}}return A.index-g.index}(A,g,I)}))}function ft(A,g,I){for(var C=-1,t=g.length,e={};++C<t;){var n=g[C],i=KC(A,n);I(i,n)&&Rt(e,Vt(n,A),i)}return e}function dt(A,g,I,C){var t=C?rI:iI,e=-1,n=g.length,i=A;for(A===g&&(g=ge(g)),I&&(i=$g(A,pI(I)));++e<n;)for(var r=0,a=g[e],o=I?I(a):a;(r=t(i,o,r,C))>-1;)i!==A&&Eg.call(i,r,1),Eg.call(A,r,1);return A}function ht(A,g){for(var I=A?g.length:0,C=I-1;I--;){var t=g[I];if(I==C||t!==e){var e=t;Fe(t)?Eg.call(A,t,1):Xt(A,t)}}return A}function mt(A,g){return A+HI(JI()*(g-A+1))}function bt(A,g){var I="";if(!A||g<1||g>N)return I;do{g%2&&(I+=A),(g=HI(g/2))&&(A+=A)}while(g);return I}function yt(A,g){return Cn(_e(A,g,Zr),A+"")}function zt(A){return zC(lr(A))}function Pt(A,g){var I=lr(A);return nn(I,jC(g,0,I.length))}function Rt(A,g,I,C){if(!xi(A))return A;for(var t=-1,n=(g=Vt(g,A)).length,i=n-1,r=A;null!=r&&++t<n;){var a=an(g[t]),o=I;if(t!=i){var s=r[a];(o=C?C(s,a,r):e)===e&&(o=xi(s)?s:Fe(g[t+1])?[]:{})}wC(r,a,o),r=r[a]}return A}var xt=IC?function(A,g){return IC.set(A,g),A}:Zr,wt=lI?function(A,g){return lI(A,"toString",{configurable:!0,enumerable:!1,value:xr(g),writable:!0})}:Zr;function Mt(A){return nn(lr(A))}function Zt(A,g,I){var t=-1,e=A.length;g<0&&(g=-g>e?0:e+g),(I=I>e?e:I)<0&&(I+=e),e=g>I?0:I-g>>>0,g>>>=0;for(var n=C(e);++t<e;)n[t]=A[t+g];return n}function Dt(A,g){var I;return HC(A,(function(A,C,t){return!(I=g(A,C,t))})),!!I}function Tt(A,g,I){var C=0,t=null==A?C:A.length;if("number"==typeof g&&g==g&&t<=k){for(;C<t;){var e=C+t>>>1,n=A[e];null!==n&&!Ni(n)&&(I?n<=g:n<g)?C=e+1:t=e}return t}return Ot(A,g,Zr,I)}function Ot(A,g,I,C){g=I(g);for(var t=0,n=null==A?0:A.length,i=g!=g,r=null===g,a=Ni(g),o=g===e;t<n;){var s=HI((t+n)/2),l=I(A[s]),c=l!==e,u=null===l,v=l==l,p=Ni(l);if(i)var f=C||v;else f=o?v&&(C||c):r?v&&c&&(C||!u):a?v&&c&&!u&&(C||!p):!u&&!p&&(C?l<=g:l<g);f?t=s+1:n=s}return VI(n,H)}function jt(A,g){for(var I=-1,C=A.length,t=0,e=[];++I<C;){var n=A[I],i=g?g(n):n;if(!I||!li(i,r)){var r=i;e[t++]=0===n?0:n}}return e}function Nt(A){return"number"==typeof A?A:Ni(A)?G:+A}function Et(A){if("string"==typeof A)return A;if(pi(A))return $g(A,Et)+"";if(Ni(A))return sC?sC.call(A):"";var g=A+"";return"0"==g&&1/A==-j?"-0":g}function Gt(A,g,I){var C=-1,t=qg,e=A.length,i=!0,r=[],a=r;if(I)i=!1,t=_g;else if(e>=n){var o=g?null:be(A);if(o)return MI(o);i=!1,t=dI,a=new mC}else a=g?[]:r;A:for(;++C<e;){var s=A[C],l=g?g(s):s;if(s=I||0!==s?s:0,i&&l==l){for(var c=a.length;c--;)if(a[c]===l)continue A;g&&a.push(l),r.push(s)}else t(a,l,I)||(a!==r&&a.push(l),r.push(s))}return r}function Xt(A,g){return null==(A=$e(A,g=Vt(g,A)))||delete A[an(yn(g))]}function Ht(A,g,I,C){return Rt(A,g,I(KC(A,g)),C)}function kt(A,g,I,C){for(var t=A.length,e=C?t:-1;(C?e--:++e<t)&&g(A[e],e,A););return I?Zt(A,C?0:e,C?e+1:t):Zt(A,C?e+1:0,C?t:e)}function Yt(A,g){var I=A;return I instanceof pC&&(I=I.value()),gI(g,(function(A,g){return g.func.apply(g.thisArg,AI([A],g.args))}),I)}function Wt(A,g,I){var t=A.length;if(t<2)return t?Gt(A[0]):[];for(var e=-1,n=C(t);++e<t;)for(var i=A[e],r=-1;++r<t;)r!=e&&(n[e]=XC(n[e]||i,A[r],g,I));return Gt(SC(n,1),g,I)}function Lt(A,g,I){for(var C=-1,t=A.length,n=g.length,i={};++C<t;){var r=C<n?g[C]:e;I(i,A[C],r)}return i}function St(A){return hi(A)?A:[]}function Ft(A){return"function"==typeof A?A:Zr}function Vt(A,g){return pi(A)?A:Ue(A,g)?[A]:rn(Fi(A))}var Ut=yt;function Bt(A,g,I){var C=A.length;return I=I===e?C:I,!g&&I>=C?A:Zt(A,g,I)}var Jt=NI||function(A){return jg.clearTimeout(A)};function Kt(A,g){if(g)return A.slice();var I=A.length,C=Mg?Mg(I):new A.constructor(I);return A.copy(C),C}function Qt(A){var g=new A.constructor(A.byteLength);return new yg(g).set(new yg(A)),g}function qt(A,g){var I=g?Qt(A.buffer):A.buffer;return new A.constructor(I,A.byteOffset,A.length)}function _t(A,g){if(A!==g){var I=A!==e,C=null===A,t=A==A,n=Ni(A),i=g!==e,r=null===g,a=g==g,o=Ni(g);if(!r&&!o&&!n&&A>g||n&&i&&a&&!r&&!o||C&&i&&a||!I&&a||!t)return 1;if(!C&&!n&&!o&&A<g||o&&I&&t&&!C&&!n||r&&I&&t||!i&&t||!a)return-1}return 0}function $t(A,g,I,t){for(var e=-1,n=A.length,i=I.length,r=-1,a=g.length,o=FI(n-i,0),s=C(a+o),l=!t;++r<a;)s[r]=g[r];for(;++e<i;)(l||e<n)&&(s[I[e]]=A[e]);for(;o--;)s[r++]=A[e++];return s}function Ae(A,g,I,t){for(var e=-1,n=A.length,i=-1,r=I.length,a=-1,o=g.length,s=FI(n-r,0),l=C(s+o),c=!t;++e<s;)l[e]=A[e];for(var u=e;++a<o;)l[u+a]=g[a];for(;++i<r;)(c||e<n)&&(l[u+I[i]]=A[e++]);return l}function ge(A,g){var I=-1,t=A.length;for(g||(g=C(t));++I<t;)g[I]=A[I];return g}function Ie(A,g,I,C){var t=!I;I||(I={});for(var n=-1,i=g.length;++n<i;){var r=g[n],a=C?C(I[r],A[r],r,I,A):e;a===e&&(a=A[r]),t?TC(I,r,a):wC(I,r,a)}return I}function Ce(A,g){return function(I,C){var t=pi(I)?Ug:ZC,e=g?g():{};return t(I,A,Ne(C,2),e)}}function te(A){return yt((function(g,I){var C=-1,t=I.length,n=t>1?I[t-1]:e,i=t>2?I[2]:e;for(n=A.length>3&&"function"==typeof n?(t--,n):e,i&&Ve(I[0],I[1],i)&&(n=t<3?e:n,t=1),g=gg(g);++C<t;){var r=I[C];r&&A(g,r,C,n)}return g}))}function ee(A,g){return function(I,C){if(null==I)return I;if(!di(I))return A(I,C);for(var t=I.length,e=g?t:-1,n=gg(I);(g?e--:++e<t)&&!1!==C(n[e],e,n););return I}}function ne(A){return function(g,I,C){for(var t=-1,e=gg(g),n=C(g),i=n.length;i--;){var r=n[A?i:++t];if(!1===I(e[r],r,e))break}return g}}function ie(A){return function(g){var I=PI(g=Fi(g))?TI(g):e,C=I?I[0]:g.charAt(0),t=I?Bt(I,1).join(""):g.slice(1);return C[A]()+t}}function re(A){return function(g){return gI(zr(vr(g).replace(dg,"")),A,"")}}function ae(A){return function(){var g=arguments;switch(g.length){case 0:return new A;case 1:return new A(g[0]);case 2:return new A(g[0],g[1]);case 3:return new A(g[0],g[1],g[2]);case 4:return new A(g[0],g[1],g[2],g[3]);case 5:return new A(g[0],g[1],g[2],g[3],g[4]);case 6:return new A(g[0],g[1],g[2],g[3],g[4],g[5]);case 7:return new A(g[0],g[1],g[2],g[3],g[4],g[5],g[6])}var I=cC(A.prototype),C=A.apply(I,g);return xi(C)?C:I}}function oe(A){return function(g,I,C){var t=gg(g);if(!di(g)){var n=Ne(I,3);g=Cr(g),I=function(A){return n(t[A],A,t)}}var i=A(g,I,C);return i>-1?t[n?g[i]:i]:e}}function se(A){return Me((function(g){var I=g.length,C=I,t=vC.prototype.thru;for(A&&g.reverse();C--;){var n=g[C];if("function"!=typeof n)throw new tg(r);if(t&&!i&&"wrapper"==Oe(n))var i=new vC([],!0)}for(C=i?C:I;++C<I;){var a=Oe(n=g[C]),o="wrapper"==a?Te(n):e;i=o&&Be(o[0])&&o[1]==(P|m|y|R)&&!o[4].length&&1==o[9]?i[Oe(o[0])].apply(i,o[3]):1==n.length&&Be(n)?i[a]():i.thru(n)}return function(){var A=arguments,C=A[0];if(i&&1==A.length&&pi(C))return i.plant(C).value();for(var t=0,e=I?g[t].apply(this,A):C;++t<I;)e=g[t].call(this,e);return e}}))}function le(A,g,I,t,n,i,r,a,o,s){var l=g&P,c=g&f,u=g&d,v=g&(m|b),p=g&x,h=u?e:ae(A);return function f(){for(var d=arguments.length,m=C(d),b=d;b--;)m[b]=arguments[b];if(v)var y=je(f),z=function(A,g){for(var I=A.length,C=0;I--;)A[I]===g&&++C;return C}(m,y);if(t&&(m=$t(m,t,n,v)),i&&(m=Ae(m,i,r,v)),d-=z,v&&d<s){var P=wI(m,y);return he(A,g,le,f.placeholder,I,m,P,a,o,s-d)}var R=c?I:this,x=u?R[A]:A;return d=m.length,a?m=function(A,g){var I=A.length,C=VI(g.length,I),t=ge(A);for(;C--;){var n=g[C];A[C]=Fe(n,I)?t[n]:e}return A}(m,a):p&&d>1&&m.reverse(),l&&o<d&&(m.length=o),this&&this!==jg&&this instanceof f&&(x=h||ae(x)),x.apply(R,m)}}function ce(A,g){return function(I,C){return function(A,g,I,C){return UC(A,(function(A,t,e){g(C,I(A),t,e)})),C}(I,A,g(C),{})}}function ue(A,g){return function(I,C){var t;if(I===e&&C===e)return g;if(I!==e&&(t=I),C!==e){if(t===e)return C;"string"==typeof I||"string"==typeof C?(I=Et(I),C=Et(C)):(I=Nt(I),C=Nt(C)),t=A(I,C)}return t}}function ve(A){return Me((function(g){return g=$g(g,pI(Ne())),yt((function(I){var C=this;return A(g,(function(A){return Vg(A,C,I)}))}))}))}function pe(A,g){var I=(g=g===e?" ":Et(g)).length;if(I<2)return I?bt(g,A):g;var C=bt(g,XI(A/DI(g)));return PI(g)?Bt(TI(C),0,A).join(""):C.slice(0,A)}function fe(A){return function(g,I,t){return t&&"number"!=typeof t&&Ve(g,I,t)&&(I=t=e),g=ki(g),I===e?(I=g,g=0):I=ki(I),function(A,g,I,t){for(var e=-1,n=FI(XI((g-A)/(I||1)),0),i=C(n);n--;)i[t?n:++e]=A,A+=I;return i}(g,I,t=t===e?g<I?1:-1:ki(t),A)}}function de(A){return function(g,I){return"string"==typeof g&&"string"==typeof I||(g=Li(g),I=Li(I)),A(g,I)}}function he(A,g,I,C,t,n,i,r,a,o){var s=g&m;g|=s?y:z,(g&=~(s?z:y))&h||(g&=~(f|d));var l=[A,g,t,s?n:e,s?i:e,s?e:n,s?e:i,r,a,o],c=I.apply(e,l);return Be(A)&&gn(c,l),c.placeholder=C,tn(c,A,g)}function me(A){var g=Ag[A];return function(A,I){if(A=Li(A),I=null==I?0:VI(Yi(I),292)){var C=(Fi(A)+"e").split("e");return+((C=(Fi(g(C[0]+"e"+(+C[1]+I)))+"e").split("e"))[0]+"e"+(+C[1]-I))}return g(A)}}var be=$I&&1/MI(new $I([,-0]))[1]==j?function(A){return new $I(A)}:Nr;function ye(A){return function(g){var I=Ye(g);return I==Q?RI(g):I==IA?ZI(g):function(A,g){return $g(g,(function(g){return[g,A[g]]}))}(g,A(g))}}function ze(A,g,I,t,n,i,a,o){var l=g&d;if(!l&&"function"!=typeof A)throw new tg(r);var c=t?t.length:0;if(c||(g&=~(y|z),t=n=e),a=a===e?a:FI(Yi(a),0),o=o===e?o:Yi(o),c-=n?n.length:0,g&z){var u=t,v=n;t=n=e}var p=l?e:Te(A),x=[A,g,I,t,n,u,v,i,a,o];if(p&&function(A,g){var I=A[1],C=g[1],t=I|C,e=t<(f|d|P),n=C==P&&I==m||C==P&&I==R&&A[7].length<=g[8]||C==(P|R)&&g[7].length<=g[8]&&I==m;if(!e&&!n)return A;C&f&&(A[2]=g[2],t|=I&f?0:h);var i=g[3];if(i){var r=A[3];A[3]=r?$t(r,i,g[4]):i,A[4]=r?wI(A[3],s):g[4]}(i=g[5])&&(r=A[5],A[5]=r?Ae(r,i,g[6]):i,A[6]=r?wI(A[5],s):g[6]);(i=g[7])&&(A[7]=i);C&P&&(A[8]=null==A[8]?g[8]:VI(A[8],g[8]));null==A[9]&&(A[9]=g[9]);A[0]=g[0],A[1]=t}(x,p),A=x[0],g=x[1],I=x[2],t=x[3],n=x[4],!(o=x[9]=x[9]===e?l?0:A.length:FI(x[9]-c,0))&&g&(m|b)&&(g&=~(m|b)),g&&g!=f)w=g==m||g==b?function(A,g,I){var t=ae(A);return function n(){for(var i=arguments.length,r=C(i),a=i,o=je(n);a--;)r[a]=arguments[a];var s=i<3&&r[0]!==o&&r[i-1]!==o?[]:wI(r,o);return(i-=s.length)<I?he(A,g,le,n.placeholder,e,r,s,e,e,I-i):Vg(this&&this!==jg&&this instanceof n?t:A,this,r)}}(A,g,o):g!=y&&g!=(f|y)||n.length?le.apply(e,x):function(A,g,I,t){var e=g&f,n=ae(A);return function g(){for(var i=-1,r=arguments.length,a=-1,o=t.length,s=C(o+r),l=this&&this!==jg&&this instanceof g?n:A;++a<o;)s[a]=t[a];for(;r--;)s[a++]=arguments[++i];return Vg(l,e?I:this,s)}}(A,g,I,t);else var w=function(A,g,I){var C=g&f,t=ae(A);return function g(){return(this&&this!==jg&&this instanceof g?t:A).apply(C?I:this,arguments)}}(A,g,I);return tn((p?xt:gn)(w,x),A,g)}function Pe(A,g,I,C){return A===e||li(A,ig[I])&&!og.call(C,I)?g:A}function Re(A,g,I,C,t,n){return xi(A)&&xi(g)&&(n.set(g,A),ut(A,g,e,Re,n),n.delete(g)),A}function xe(A){return Di(A)?e:A}function we(A,g,I,C,t,n){var i=I&v,r=A.length,a=g.length;if(r!=a&&!(i&&a>r))return!1;var o=n.get(A);if(o&&n.get(g))return o==g;var s=-1,l=!0,c=I&p?new mC:e;for(n.set(A,g),n.set(g,A);++s<r;){var u=A[s],f=g[s];if(C)var d=i?C(f,u,s,g,A,n):C(u,f,s,A,g,n);if(d!==e){if(d)continue;l=!1;break}if(c){if(!CI(g,(function(A,g){if(!dI(c,g)&&(u===A||t(u,A,I,C,n)))return c.push(g)}))){l=!1;break}}else if(u!==f&&!t(u,f,I,C,n)){l=!1;break}}return n.delete(A),n.delete(g),l}function Me(A){return Cn(_e(A,e,fn),A+"")}function Ze(A){return QC(A,Cr,He)}function De(A){return QC(A,tr,ke)}var Te=IC?function(A){return IC.get(A)}:Nr;function Oe(A){for(var g=A.name+"",I=CC[g],C=og.call(CC,g)?I.length:0;C--;){var t=I[C],e=t.func;if(null==e||e==A)return t.name}return g}function je(A){return(og.call(lC,"placeholder")?lC:A).placeholder}function Ne(){var A=lC.iteratee||Dr;return A=A===Dr?it:A,arguments.length?A(arguments[0],arguments[1]):A}function Ee(A,g){var I,C,t=A.__data__;return("string"==(C=typeof(I=g))||"number"==C||"symbol"==C||"boolean"==C?"__proto__"!==I:null===I)?t["string"==typeof g?"string":"hash"]:t.map}function Ge(A){for(var g=Cr(A),I=g.length;I--;){var C=g[I],t=A[C];g[I]=[C,t,Qe(t)]}return g}function Xe(A,g){var I=function(A,g){return null==A?e:A[g]}(A,g);return nt(I)?I:e}var He=kI?function(A){return null==A?[]:(A=gg(A),Qg(kI(A),(function(g){return Ng.call(A,g)})))}:Wr,ke=kI?function(A){for(var g=[];A;)AI(g,He(A)),A=Tg(A);return g}:Wr,Ye=qC;function We(A,g,I){for(var C=-1,t=(g=Vt(g,A)).length,e=!1;++C<t;){var n=an(g[C]);if(!(e=null!=A&&I(A,n)))break;A=A[n]}return e||++C!=t?e:!!(t=null==A?0:A.length)&&Ri(t)&&Fe(n,t)&&(pi(A)||vi(A))}function Le(A){return"function"!=typeof A.constructor||Ke(A)?{}:cC(Tg(A))}function Se(A){return pi(A)||vi(A)||!!(Xg&&A&&A[Xg])}function Fe(A,g){var I=typeof A;return!!(g=null==g?N:g)&&("number"==I||"symbol"!=I&&JA.test(A))&&A>-1&&A%1==0&&A<g}function Ve(A,g,I){if(!xi(I))return!1;var C=typeof g;return!!("number"==C?di(I)&&Fe(g,I.length):"string"==C&&g in I)&&li(I[g],A)}function Ue(A,g){if(pi(A))return!1;var I=typeof A;return!("number"!=I&&"symbol"!=I&&"boolean"!=I&&null!=A&&!Ni(A))||(DA.test(A)||!ZA.test(A)||null!=g&&A in gg(g))}function Be(A){var g=Oe(A),I=lC[g];if("function"!=typeof I||!(g in pC.prototype))return!1;if(A===I)return!0;var C=Te(I);return!!C&&A===C[0]}(QI&&Ye(new QI(new ArrayBuffer(1)))!=aA||qI&&Ye(new qI)!=Q||_I&&"[object Promise]"!=Ye(_I.resolve())||$I&&Ye(new $I)!=IA||AC&&Ye(new AC)!=nA)&&(Ye=function(A){var g=qC(A),I=g==$?A.constructor:e,C=I?on(I):"";if(C)switch(C){case tC:return aA;case eC:return Q;case nC:return"[object Promise]";case iC:return IA;case rC:return nA}return g});var Je=rg?zi:Lr;function Ke(A){var g=A&&A.constructor;return A===("function"==typeof g&&g.prototype||ig)}function Qe(A){return A==A&&!xi(A)}function qe(A,g){return function(I){return null!=I&&(I[A]===g&&(g!==e||A in gg(I)))}}function _e(A,g,I){return g=FI(g===e?A.length-1:g,0),function(){for(var t=arguments,e=-1,n=FI(t.length-g,0),i=C(n);++e<n;)i[e]=t[g+e];e=-1;for(var r=C(g+1);++e<g;)r[e]=t[e];return r[g]=I(i),Vg(A,this,r)}}function $e(A,g){return g.length<2?A:KC(A,Zt(g,0,-1))}function An(A,g){if("__proto__"!=g)return A[g]}var gn=en(xt),In=GI||function(A,g){return jg.setTimeout(A,g)},Cn=en(wt);function tn(A,g,I){var C=g+"";return Cn(A,function(A,g){var I=g.length;if(!I)return A;var C=I-1;return g[C]=(I>1?"& ":"")+g[C],g=g.join(I>2?", ":" "),A.replace(XA,"{\n/* [wrapped with "+g+"] */\n")}(C,function(A,g){return Bg(Y,(function(I){var C="_."+I[0];g&I[1]&&!qg(A,C)&&A.push(C)})),A.sort()}(function(A){var g=A.match(HA);return g?g[1].split(kA):[]}(C),I)))}function en(A){var g=0,I=0;return function(){var C=UI(),t=D-(C-I);if(I=C,t>0){if(++g>=Z)return arguments[0]}else g=0;return A.apply(e,arguments)}}function nn(A,g){var I=-1,C=A.length,t=C-1;for(g=g===e?C:g;++I<g;){var n=mt(I,t),i=A[n];A[n]=A[I],A[I]=i}return A.length=g,A}var rn=function(A){var g=ni(A,(function(A){return I.size===o&&I.clear(),A})),I=g.cache;return g}((function(A){var g=[];return 46===A.charCodeAt(0)&&g.push(""),A.replace(TA,(function(A,I,C,t){g.push(C?t.replace(WA,"$1"):I||A)})),g}));function an(A){if("string"==typeof A||Ni(A))return A;var g=A+"";return"0"==g&&1/A==-j?"-0":g}function on(A){if(null!=A){try{return ag.call(A)}catch(A){}try{return A+""}catch(A){}}return""}function sn(A){if(A instanceof pC)return A.clone();var g=new vC(A.__wrapped__,A.__chain__);return g.__actions__=ge(A.__actions__),g.__index__=A.__index__,g.__values__=A.__values__,g}var ln=yt((function(A,g){return hi(A)?XC(A,SC(g,1,hi,!0)):[]})),cn=yt((function(A,g){var I=yn(g);return hi(I)&&(I=e),hi(A)?XC(A,SC(g,1,hi,!0),Ne(I,2)):[]})),un=yt((function(A,g){var I=yn(g);return hi(I)&&(I=e),hi(A)?XC(A,SC(g,1,hi,!0),e,I):[]}));function vn(A,g,I){var C=null==A?0:A.length;if(!C)return-1;var t=null==I?0:Yi(I);return t<0&&(t=FI(C+t,0)),nI(A,Ne(g,3),t)}function pn(A,g,I){var C=null==A?0:A.length;if(!C)return-1;var t=C-1;return I!==e&&(t=Yi(I),t=I<0?FI(C+t,0):VI(t,C-1)),nI(A,Ne(g,3),t,!0)}function fn(A){return(null==A?0:A.length)?SC(A,1):[]}function dn(A){return A&&A.length?A[0]:e}var hn=yt((function(A){var g=$g(A,St);return g.length&&g[0]===A[0]?gt(g):[]})),mn=yt((function(A){var g=yn(A),I=$g(A,St);return g===yn(I)?g=e:I.pop(),I.length&&I[0]===A[0]?gt(I,Ne(g,2)):[]})),bn=yt((function(A){var g=yn(A),I=$g(A,St);return(g="function"==typeof g?g:e)&&I.pop(),I.length&&I[0]===A[0]?gt(I,e,g):[]}));function yn(A){var g=null==A?0:A.length;return g?A[g-1]:e}var zn=yt(Pn);function Pn(A,g){return A&&A.length&&g&&g.length?dt(A,g):A}var Rn=Me((function(A,g){var I=null==A?0:A.length,C=OC(A,g);return ht(A,$g(g,(function(A){return Fe(A,I)?+A:A})).sort(_t)),C}));function xn(A){return null==A?A:KI.call(A)}var wn=yt((function(A){return Gt(SC(A,1,hi,!0))})),Mn=yt((function(A){var g=yn(A);return hi(g)&&(g=e),Gt(SC(A,1,hi,!0),Ne(g,2))})),Zn=yt((function(A){var g=yn(A);return g="function"==typeof g?g:e,Gt(SC(A,1,hi,!0),e,g)}));function Dn(A){if(!A||!A.length)return[];var g=0;return A=Qg(A,(function(A){if(hi(A))return g=FI(A.length,g),!0})),vI(g,(function(g){return $g(A,sI(g))}))}function Tn(A,g){if(!A||!A.length)return[];var I=Dn(A);return null==g?I:$g(I,(function(A){return Vg(g,e,A)}))}var On=yt((function(A,g){return hi(A)?XC(A,g):[]})),jn=yt((function(A){return Wt(Qg(A,hi))})),Nn=yt((function(A){var g=yn(A);return hi(g)&&(g=e),Wt(Qg(A,hi),Ne(g,2))})),En=yt((function(A){var g=yn(A);return g="function"==typeof g?g:e,Wt(Qg(A,hi),e,g)})),Gn=yt(Dn);var Xn=yt((function(A){var g=A.length,I=g>1?A[g-1]:e;return I="function"==typeof I?(A.pop(),I):e,Tn(A,I)}));function Hn(A){var g=lC(A);return g.__chain__=!0,g}function kn(A,g){return g(A)}var Yn=Me((function(A){var g=A.length,I=g?A[0]:0,C=this.__wrapped__,t=function(g){return OC(g,A)};return!(g>1||this.__actions__.length)&&C instanceof pC&&Fe(I)?((C=C.slice(I,+I+(g?1:0))).__actions__.push({func:kn,args:[t],thisArg:e}),new vC(C,this.__chain__).thru((function(A){return g&&!A.length&&A.push(e),A}))):this.thru(t)}));var Wn=Ce((function(A,g,I){og.call(A,I)?++A[I]:TC(A,I,1)}));var Ln=oe(vn),Sn=oe(pn);function Fn(A,g){return(pi(A)?Bg:HC)(A,Ne(g,3))}function Vn(A,g){return(pi(A)?Jg:kC)(A,Ne(g,3))}var Un=Ce((function(A,g,I){og.call(A,I)?A[I].push(g):TC(A,I,[g])}));var Bn=yt((function(A,g,I){var t=-1,e="function"==typeof g,n=di(A)?C(A.length):[];return HC(A,(function(A){n[++t]=e?Vg(g,A,I):It(A,g,I)})),n})),Jn=Ce((function(A,g,I){TC(A,I,g)}));function Kn(A,g){return(pi(A)?$g:st)(A,Ne(g,3))}var Qn=Ce((function(A,g,I){A[I?0:1].push(g)}),(function(){return[[],[]]}));var qn=yt((function(A,g){if(null==A)return[];var I=g.length;return I>1&&Ve(A,g[0],g[1])?g=[]:I>2&&Ve(g[0],g[1],g[2])&&(g=[g[0]]),pt(A,SC(g,1),[])})),_n=EI||function(){return jg.Date.now()};function $n(A,g,I){return g=I?e:g,g=A&&null==g?A.length:g,ze(A,P,e,e,e,e,g)}function Ai(A,g){var I;if("function"!=typeof g)throw new tg(r);return A=Yi(A),function(){return--A>0&&(I=g.apply(this,arguments)),A<=1&&(g=e),I}}var gi=yt((function(A,g,I){var C=f;if(I.length){var t=wI(I,je(gi));C|=y}return ze(A,C,g,I,t)})),Ii=yt((function(A,g,I){var C=f|d;if(I.length){var t=wI(I,je(Ii));C|=y}return ze(g,C,A,I,t)}));function Ci(A,g,I){var C,t,n,i,a,o,s=0,l=!1,c=!1,u=!0;if("function"!=typeof A)throw new tg(r);function v(g){var I=C,n=t;return C=t=e,s=g,i=A.apply(n,I)}function p(A){var I=A-o;return o===e||I>=g||I<0||c&&A-s>=n}function f(){var A=_n();if(p(A))return d(A);a=In(f,function(A){var I=g-(A-o);return c?VI(I,n-(A-s)):I}(A))}function d(A){return a=e,u&&C?v(A):(C=t=e,i)}function h(){var A=_n(),I=p(A);if(C=arguments,t=this,o=A,I){if(a===e)return function(A){return s=A,a=In(f,g),l?v(A):i}(o);if(c)return a=In(f,g),v(o)}return a===e&&(a=In(f,g)),i}return g=Li(g)||0,xi(I)&&(l=!!I.leading,n=(c="maxWait"in I)?FI(Li(I.maxWait)||0,g):n,u="trailing"in I?!!I.trailing:u),h.cancel=function(){a!==e&&Jt(a),s=0,C=o=t=a=e},h.flush=function(){return a===e?i:d(_n())},h}var ti=yt((function(A,g){return GC(A,1,g)})),ei=yt((function(A,g,I){return GC(A,Li(g)||0,I)}));function ni(A,g){if("function"!=typeof A||null!=g&&"function"!=typeof g)throw new tg(r);var I=function(){var C=arguments,t=g?g.apply(this,C):C[0],e=I.cache;if(e.has(t))return e.get(t);var n=A.apply(this,C);return I.cache=e.set(t,n)||e,n};return I.cache=new(ni.Cache||hC),I}function ii(A){if("function"!=typeof A)throw new tg(r);return function(){var g=arguments;switch(g.length){case 0:return!A.call(this);case 1:return!A.call(this,g[0]);case 2:return!A.call(this,g[0],g[1]);case 3:return!A.call(this,g[0],g[1],g[2])}return!A.apply(this,g)}}ni.Cache=hC;var ri=Ut((function(A,g){var I=(g=1==g.length&&pi(g[0])?$g(g[0],pI(Ne())):$g(SC(g,1),pI(Ne()))).length;return yt((function(C){for(var t=-1,e=VI(C.length,I);++t<e;)C[t]=g[t].call(this,C[t]);return Vg(A,this,C)}))})),ai=yt((function(A,g){var I=wI(g,je(ai));return ze(A,y,e,g,I)})),oi=yt((function(A,g){var I=wI(g,je(oi));return ze(A,z,e,g,I)})),si=Me((function(A,g){return ze(A,R,e,e,e,g)}));function li(A,g){return A===g||A!=A&&g!=g}var ci=de(_C),ui=de((function(A,g){return A>=g})),vi=Ct(function(){return arguments}())?Ct:function(A){return wi(A)&&og.call(A,"callee")&&!Ng.call(A,"callee")},pi=C.isArray,fi=kg?pI(kg):function(A){return wi(A)&&qC(A)==rA};function di(A){return null!=A&&Ri(A.length)&&!zi(A)}function hi(A){return wi(A)&&di(A)}var mi=YI||Lr,bi=Yg?pI(Yg):function(A){return wi(A)&&qC(A)==V};function yi(A){if(!wi(A))return!1;var g=qC(A);return g==B||g==U||"string"==typeof A.message&&"string"==typeof A.name&&!Di(A)}function zi(A){if(!xi(A))return!1;var g=qC(A);return g==J||g==K||g==S||g==AA}function Pi(A){return"number"==typeof A&&A==Yi(A)}function Ri(A){return"number"==typeof A&&A>-1&&A%1==0&&A<=N}function xi(A){var g=typeof A;return null!=A&&("object"==g||"function"==g)}function wi(A){return null!=A&&"object"==typeof A}var Mi=Wg?pI(Wg):function(A){return wi(A)&&Ye(A)==Q};function Zi(A){return"number"==typeof A||wi(A)&&qC(A)==q}function Di(A){if(!wi(A)||qC(A)!=$)return!1;var g=Tg(A);if(null===g)return!0;var I=og.call(g,"constructor")&&g.constructor;return"function"==typeof I&&I instanceof I&&ag.call(I)==ug}var Ti=Lg?pI(Lg):function(A){return wi(A)&&qC(A)==gA};var Oi=Sg?pI(Sg):function(A){return wi(A)&&Ye(A)==IA};function ji(A){return"string"==typeof A||!pi(A)&&wi(A)&&qC(A)==CA}function Ni(A){return"symbol"==typeof A||wi(A)&&qC(A)==tA}var Ei=Fg?pI(Fg):function(A){return wi(A)&&Ri(A.length)&&!!xg[qC(A)]};var Gi=de(ot),Xi=de((function(A,g){return A<=g}));function Hi(A){if(!A)return[];if(di(A))return ji(A)?TI(A):ge(A);if(Hg&&A[Hg])return function(A){for(var g,I=[];!(g=A.next()).done;)I.push(g.value);return I}(A[Hg]());var g=Ye(A);return(g==Q?RI:g==IA?MI:lr)(A)}function ki(A){return A?(A=Li(A))===j||A===-j?(A<0?-1:1)*E:A==A?A:0:0===A?A:0}function Yi(A){var g=ki(A),I=g%1;return g==g?I?g-I:g:0}function Wi(A){return A?jC(Yi(A),0,X):0}function Li(A){if("number"==typeof A)return A;if(Ni(A))return G;if(xi(A)){var g="function"==typeof A.valueOf?A.valueOf():A;A=xi(g)?g+"":g}if("string"!=typeof A)return 0===A?A:+A;A=A.replace(NA,"");var I=VA.test(A);return I||BA.test(A)?Dg(A.slice(2),I?2:8):FA.test(A)?G:+A}function Si(A){return Ie(A,tr(A))}function Fi(A){return null==A?"":Et(A)}var Vi=te((function(A,g){if(Ke(g)||di(g))Ie(g,Cr(g),A);else for(var I in g)og.call(g,I)&&wC(A,I,g[I])})),Ui=te((function(A,g){Ie(g,tr(g),A)})),Bi=te((function(A,g,I,C){Ie(g,tr(g),A,C)})),Ji=te((function(A,g,I,C){Ie(g,Cr(g),A,C)})),Ki=Me(OC);var Qi=yt((function(A,g){A=gg(A);var I=-1,C=g.length,t=C>2?g[2]:e;for(t&&Ve(g[0],g[1],t)&&(C=1);++I<C;)for(var n=g[I],i=tr(n),r=-1,a=i.length;++r<a;){var o=i[r],s=A[o];(s===e||li(s,ig[o])&&!og.call(A,o))&&(A[o]=n[o])}return A})),qi=yt((function(A){return A.push(e,Re),Vg(nr,e,A)}));function _i(A,g,I){var C=null==A?e:KC(A,g);return C===e?I:C}function $i(A,g){return null!=A&&We(A,g,At)}var Ar=ce((function(A,g,I){null!=g&&"function"!=typeof g.toString&&(g=cg.call(g)),A[g]=I}),xr(Zr)),gr=ce((function(A,g,I){null!=g&&"function"!=typeof g.toString&&(g=cg.call(g)),og.call(A,g)?A[g].push(I):A[g]=[I]}),Ne),Ir=yt(It);function Cr(A){return di(A)?yC(A):rt(A)}function tr(A){return di(A)?yC(A,!0):at(A)}var er=te((function(A,g,I){ut(A,g,I)})),nr=te((function(A,g,I,C){ut(A,g,I,C)})),ir=Me((function(A,g){var I={};if(null==A)return I;var C=!1;g=$g(g,(function(g){return g=Vt(g,A),C||(C=g.length>1),g})),Ie(A,De(A),I),C&&(I=NC(I,l|c|u,xe));for(var t=g.length;t--;)Xt(I,g[t]);return I}));var rr=Me((function(A,g){return null==A?{}:function(A,g){return ft(A,g,(function(g,I){return $i(A,I)}))}(A,g)}));function ar(A,g){if(null==A)return{};var I=$g(De(A),(function(A){return[A]}));return g=Ne(g),ft(A,I,(function(A,I){return g(A,I[0])}))}var or=ye(Cr),sr=ye(tr);function lr(A){return null==A?[]:fI(A,Cr(A))}var cr=re((function(A,g,I){return g=g.toLowerCase(),A+(I?ur(g):g)}));function ur(A){return yr(Fi(A).toLowerCase())}function vr(A){return(A=Fi(A))&&A.replace(KA,bI).replace(hg,"")}var pr=re((function(A,g,I){return A+(I?"-":"")+g.toLowerCase()})),fr=re((function(A,g,I){return A+(I?" ":"")+g.toLowerCase()})),dr=ie("toLowerCase");var hr=re((function(A,g,I){return A+(I?"_":"")+g.toLowerCase()}));var mr=re((function(A,g,I){return A+(I?" ":"")+yr(g)}));var br=re((function(A,g,I){return A+(I?" ":"")+g.toUpperCase()})),yr=ie("toUpperCase");function zr(A,g,I){return A=Fi(A),(g=I?e:g)===e?function(A){return zg.test(A)}(A)?function(A){return A.match(bg)||[]}(A):function(A){return A.match(YA)||[]}(A):A.match(g)||[]}var Pr=yt((function(A,g){try{return Vg(A,e,g)}catch(A){return yi(A)?A:new _A(A)}})),Rr=Me((function(A,g){return Bg(g,(function(g){g=an(g),TC(A,g,gi(A[g],A))})),A}));function xr(A){return function(){return A}}var wr=se(),Mr=se(!0);function Zr(A){return A}function Dr(A){return it("function"==typeof A?A:NC(A,l))}var Tr=yt((function(A,g){return function(I){return It(I,A,g)}})),Or=yt((function(A,g){return function(I){return It(A,I,g)}}));function jr(A,g,I){var C=Cr(g),t=JC(g,C);null!=I||xi(g)&&(t.length||!C.length)||(I=g,g=A,A=this,t=JC(g,Cr(g)));var e=!(xi(I)&&"chain"in I&&!I.chain),n=zi(A);return Bg(t,(function(I){var C=g[I];A[I]=C,n&&(A.prototype[I]=function(){var g=this.__chain__;if(e||g){var I=A(this.__wrapped__),t=I.__actions__=ge(this.__actions__);return t.push({func:C,args:arguments,thisArg:A}),I.__chain__=g,I}return C.apply(A,AI([this.value()],arguments))})})),A}function Nr(){}var Er=ve($g),Gr=ve(Kg),Xr=ve(CI);function Hr(A){return Ue(A)?sI(an(A)):function(A){return function(g){return KC(g,A)}}(A)}var kr=fe(),Yr=fe(!0);function Wr(){return[]}function Lr(){return!1}var Sr=ue((function(A,g){return A+g}),0),Fr=me("ceil"),Vr=ue((function(A,g){return A/g}),1),Ur=me("floor");var Br,Jr=ue((function(A,g){return A*g}),1),Kr=me("round"),Qr=ue((function(A,g){return A-g}),0);return lC.after=function(A,g){if("function"!=typeof g)throw new tg(r);return A=Yi(A),function(){if(--A<1)return g.apply(this,arguments)}},lC.ary=$n,lC.assign=Vi,lC.assignIn=Ui,lC.assignInWith=Bi,lC.assignWith=Ji,lC.at=Ki,lC.before=Ai,lC.bind=gi,lC.bindAll=Rr,lC.bindKey=Ii,lC.castArray=function(){if(!arguments.length)return[];var A=arguments[0];return pi(A)?A:[A]},lC.chain=Hn,lC.chunk=function(A,g,I){g=(I?Ve(A,g,I):g===e)?1:FI(Yi(g),0);var t=null==A?0:A.length;if(!t||g<1)return[];for(var n=0,i=0,r=C(XI(t/g));n<t;)r[i++]=Zt(A,n,n+=g);return r},lC.compact=function(A){for(var g=-1,I=null==A?0:A.length,C=0,t=[];++g<I;){var e=A[g];e&&(t[C++]=e)}return t},lC.concat=function(){var A=arguments.length;if(!A)return[];for(var g=C(A-1),I=arguments[0],t=A;t--;)g[t-1]=arguments[t];return AI(pi(I)?ge(I):[I],SC(g,1))},lC.cond=function(A){var g=null==A?0:A.length,I=Ne();return A=g?$g(A,(function(A){if("function"!=typeof A[1])throw new tg(r);return[I(A[0]),A[1]]})):[],yt((function(I){for(var C=-1;++C<g;){var t=A[C];if(Vg(t[0],this,I))return Vg(t[1],this,I)}}))},lC.conforms=function(A){return function(A){var g=Cr(A);return function(I){return EC(I,A,g)}}(NC(A,l))},lC.constant=xr,lC.countBy=Wn,lC.create=function(A,g){var I=cC(A);return null==g?I:DC(I,g)},lC.curry=function A(g,I,C){var t=ze(g,m,e,e,e,e,e,I=C?e:I);return t.placeholder=A.placeholder,t},lC.curryRight=function A(g,I,C){var t=ze(g,b,e,e,e,e,e,I=C?e:I);return t.placeholder=A.placeholder,t},lC.debounce=Ci,lC.defaults=Qi,lC.defaultsDeep=qi,lC.defer=ti,lC.delay=ei,lC.difference=ln,lC.differenceBy=cn,lC.differenceWith=un,lC.drop=function(A,g,I){var C=null==A?0:A.length;return C?Zt(A,(g=I||g===e?1:Yi(g))<0?0:g,C):[]},lC.dropRight=function(A,g,I){var C=null==A?0:A.length;return C?Zt(A,0,(g=C-(g=I||g===e?1:Yi(g)))<0?0:g):[]},lC.dropRightWhile=function(A,g){return A&&A.length?kt(A,Ne(g,3),!0,!0):[]},lC.dropWhile=function(A,g){return A&&A.length?kt(A,Ne(g,3),!0):[]},lC.fill=function(A,g,I,C){var t=null==A?0:A.length;return t?(I&&"number"!=typeof I&&Ve(A,g,I)&&(I=0,C=t),function(A,g,I,C){var t=A.length;for((I=Yi(I))<0&&(I=-I>t?0:t+I),(C=C===e||C>t?t:Yi(C))<0&&(C+=t),C=I>C?0:Wi(C);I<C;)A[I++]=g;return A}(A,g,I,C)):[]},lC.filter=function(A,g){return(pi(A)?Qg:LC)(A,Ne(g,3))},lC.flatMap=function(A,g){return SC(Kn(A,g),1)},lC.flatMapDeep=function(A,g){return SC(Kn(A,g),j)},lC.flatMapDepth=function(A,g,I){return I=I===e?1:Yi(I),SC(Kn(A,g),I)},lC.flatten=fn,lC.flattenDeep=function(A){return(null==A?0:A.length)?SC(A,j):[]},lC.flattenDepth=function(A,g){return(null==A?0:A.length)?SC(A,g=g===e?1:Yi(g)):[]},lC.flip=function(A){return ze(A,x)},lC.flow=wr,lC.flowRight=Mr,lC.fromPairs=function(A){for(var g=-1,I=null==A?0:A.length,C={};++g<I;){var t=A[g];C[t[0]]=t[1]}return C},lC.functions=function(A){return null==A?[]:JC(A,Cr(A))},lC.functionsIn=function(A){return null==A?[]:JC(A,tr(A))},lC.groupBy=Un,lC.initial=function(A){return(null==A?0:A.length)?Zt(A,0,-1):[]},lC.intersection=hn,lC.intersectionBy=mn,lC.intersectionWith=bn,lC.invert=Ar,lC.invertBy=gr,lC.invokeMap=Bn,lC.iteratee=Dr,lC.keyBy=Jn,lC.keys=Cr,lC.keysIn=tr,lC.map=Kn,lC.mapKeys=function(A,g){var I={};return g=Ne(g,3),UC(A,(function(A,C,t){TC(I,g(A,C,t),A)})),I},lC.mapValues=function(A,g){var I={};return g=Ne(g,3),UC(A,(function(A,C,t){TC(I,C,g(A,C,t))})),I},lC.matches=function(A){return lt(NC(A,l))},lC.matchesProperty=function(A,g){return ct(A,NC(g,l))},lC.memoize=ni,lC.merge=er,lC.mergeWith=nr,lC.method=Tr,lC.methodOf=Or,lC.mixin=jr,lC.negate=ii,lC.nthArg=function(A){return A=Yi(A),yt((function(g){return vt(g,A)}))},lC.omit=ir,lC.omitBy=function(A,g){return ar(A,ii(Ne(g)))},lC.once=function(A){return Ai(2,A)},lC.orderBy=function(A,g,I,C){return null==A?[]:(pi(g)||(g=null==g?[]:[g]),pi(I=C?e:I)||(I=null==I?[]:[I]),pt(A,g,I))},lC.over=Er,lC.overArgs=ri,lC.overEvery=Gr,lC.overSome=Xr,lC.partial=ai,lC.partialRight=oi,lC.partition=Qn,lC.pick=rr,lC.pickBy=ar,lC.property=Hr,lC.propertyOf=function(A){return function(g){return null==A?e:KC(A,g)}},lC.pull=zn,lC.pullAll=Pn,lC.pullAllBy=function(A,g,I){return A&&A.length&&g&&g.length?dt(A,g,Ne(I,2)):A},lC.pullAllWith=function(A,g,I){return A&&A.length&&g&&g.length?dt(A,g,e,I):A},lC.pullAt=Rn,lC.range=kr,lC.rangeRight=Yr,lC.rearg=si,lC.reject=function(A,g){return(pi(A)?Qg:LC)(A,ii(Ne(g,3)))},lC.remove=function(A,g){var I=[];if(!A||!A.length)return I;var C=-1,t=[],e=A.length;for(g=Ne(g,3);++C<e;){var n=A[C];g(n,C,A)&&(I.push(n),t.push(C))}return ht(A,t),I},lC.rest=function(A,g){if("function"!=typeof A)throw new tg(r);return yt(A,g=g===e?g:Yi(g))},lC.reverse=xn,lC.sampleSize=function(A,g,I){return g=(I?Ve(A,g,I):g===e)?1:Yi(g),(pi(A)?PC:Pt)(A,g)},lC.set=function(A,g,I){return null==A?A:Rt(A,g,I)},lC.setWith=function(A,g,I,C){return C="function"==typeof C?C:e,null==A?A:Rt(A,g,I,C)},lC.shuffle=function(A){return(pi(A)?RC:Mt)(A)},lC.slice=function(A,g,I){var C=null==A?0:A.length;return C?(I&&"number"!=typeof I&&Ve(A,g,I)?(g=0,I=C):(g=null==g?0:Yi(g),I=I===e?C:Yi(I)),Zt(A,g,I)):[]},lC.sortBy=qn,lC.sortedUniq=function(A){return A&&A.length?jt(A):[]},lC.sortedUniqBy=function(A,g){return A&&A.length?jt(A,Ne(g,2)):[]},lC.split=function(A,g,I){return I&&"number"!=typeof I&&Ve(A,g,I)&&(g=I=e),(I=I===e?X:I>>>0)?(A=Fi(A))&&("string"==typeof g||null!=g&&!Ti(g))&&!(g=Et(g))&&PI(A)?Bt(TI(A),0,I):A.split(g,I):[]},lC.spread=function(A,g){if("function"!=typeof A)throw new tg(r);return g=null==g?0:FI(Yi(g),0),yt((function(I){var C=I[g],t=Bt(I,0,g);return C&&AI(t,C),Vg(A,this,t)}))},lC.tail=function(A){var g=null==A?0:A.length;return g?Zt(A,1,g):[]},lC.take=function(A,g,I){return A&&A.length?Zt(A,0,(g=I||g===e?1:Yi(g))<0?0:g):[]},lC.takeRight=function(A,g,I){var C=null==A?0:A.length;return C?Zt(A,(g=C-(g=I||g===e?1:Yi(g)))<0?0:g,C):[]},lC.takeRightWhile=function(A,g){return A&&A.length?kt(A,Ne(g,3),!1,!0):[]},lC.takeWhile=function(A,g){return A&&A.length?kt(A,Ne(g,3)):[]},lC.tap=function(A,g){return g(A),A},lC.throttle=function(A,g,I){var C=!0,t=!0;if("function"!=typeof A)throw new tg(r);return xi(I)&&(C="leading"in I?!!I.leading:C,t="trailing"in I?!!I.trailing:t),Ci(A,g,{leading:C,maxWait:g,trailing:t})},lC.thru=kn,lC.toArray=Hi,lC.toPairs=or,lC.toPairsIn=sr,lC.toPath=function(A){return pi(A)?$g(A,an):Ni(A)?[A]:ge(rn(Fi(A)))},lC.toPlainObject=Si,lC.transform=function(A,g,I){var C=pi(A),t=C||mi(A)||Ei(A);if(g=Ne(g,4),null==I){var e=A&&A.constructor;I=t?C?new e:[]:xi(A)&&zi(e)?cC(Tg(A)):{}}return(t?Bg:UC)(A,(function(A,C,t){return g(I,A,C,t)})),I},lC.unary=function(A){return $n(A,1)},lC.union=wn,lC.unionBy=Mn,lC.unionWith=Zn,lC.uniq=function(A){return A&&A.length?Gt(A):[]},lC.uniqBy=function(A,g){return A&&A.length?Gt(A,Ne(g,2)):[]},lC.uniqWith=function(A,g){return g="function"==typeof g?g:e,A&&A.length?Gt(A,e,g):[]},lC.unset=function(A,g){return null==A||Xt(A,g)},lC.unzip=Dn,lC.unzipWith=Tn,lC.update=function(A,g,I){return null==A?A:Ht(A,g,Ft(I))},lC.updateWith=function(A,g,I,C){return C="function"==typeof C?C:e,null==A?A:Ht(A,g,Ft(I),C)},lC.values=lr,lC.valuesIn=function(A){return null==A?[]:fI(A,tr(A))},lC.without=On,lC.words=zr,lC.wrap=function(A,g){return ai(Ft(g),A)},lC.xor=jn,lC.xorBy=Nn,lC.xorWith=En,lC.zip=Gn,lC.zipObject=function(A,g){return Lt(A||[],g||[],wC)},lC.zipObjectDeep=function(A,g){return Lt(A||[],g||[],Rt)},lC.zipWith=Xn,lC.entries=or,lC.entriesIn=sr,lC.extend=Ui,lC.extendWith=Bi,jr(lC,lC),lC.add=Sr,lC.attempt=Pr,lC.camelCase=cr,lC.capitalize=ur,lC.ceil=Fr,lC.clamp=function(A,g,I){return I===e&&(I=g,g=e),I!==e&&(I=(I=Li(I))==I?I:0),g!==e&&(g=(g=Li(g))==g?g:0),jC(Li(A),g,I)},lC.clone=function(A){return NC(A,u)},lC.cloneDeep=function(A){return NC(A,l|u)},lC.cloneDeepWith=function(A,g){return NC(A,l|u,g="function"==typeof g?g:e)},lC.cloneWith=function(A,g){return NC(A,u,g="function"==typeof g?g:e)},lC.conformsTo=function(A,g){return null==g||EC(A,g,Cr(g))},lC.deburr=vr,lC.defaultTo=function(A,g){return null==A||A!=A?g:A},lC.divide=Vr,lC.endsWith=function(A,g,I){A=Fi(A),g=Et(g);var C=A.length,t=I=I===e?C:jC(Yi(I),0,C);return(I-=g.length)>=0&&A.slice(I,t)==g},lC.eq=li,lC.escape=function(A){return(A=Fi(A))&&RA.test(A)?A.replace(zA,yI):A},lC.escapeRegExp=function(A){return(A=Fi(A))&&jA.test(A)?A.replace(OA,"\\$&"):A},lC.every=function(A,g,I){var C=pi(A)?Kg:YC;return I&&Ve(A,g,I)&&(g=e),C(A,Ne(g,3))},lC.find=Ln,lC.findIndex=vn,lC.findKey=function(A,g){return eI(A,Ne(g,3),UC)},lC.findLast=Sn,lC.findLastIndex=pn,lC.findLastKey=function(A,g){return eI(A,Ne(g,3),BC)},lC.floor=Ur,lC.forEach=Fn,lC.forEachRight=Vn,lC.forIn=function(A,g){return null==A?A:FC(A,Ne(g,3),tr)},lC.forInRight=function(A,g){return null==A?A:VC(A,Ne(g,3),tr)},lC.forOwn=function(A,g){return A&&UC(A,Ne(g,3))},lC.forOwnRight=function(A,g){return A&&BC(A,Ne(g,3))},lC.get=_i,lC.gt=ci,lC.gte=ui,lC.has=function(A,g){return null!=A&&We(A,g,$C)},lC.hasIn=$i,lC.head=dn,lC.identity=Zr,lC.includes=function(A,g,I,C){A=di(A)?A:lr(A),I=I&&!C?Yi(I):0;var t=A.length;return I<0&&(I=FI(t+I,0)),ji(A)?I<=t&&A.indexOf(g,I)>-1:!!t&&iI(A,g,I)>-1},lC.indexOf=function(A,g,I){var C=null==A?0:A.length;if(!C)return-1;var t=null==I?0:Yi(I);return t<0&&(t=FI(C+t,0)),iI(A,g,t)},lC.inRange=function(A,g,I){return g=ki(g),I===e?(I=g,g=0):I=ki(I),function(A,g,I){return A>=VI(g,I)&&A<FI(g,I)}(A=Li(A),g,I)},lC.invoke=Ir,lC.isArguments=vi,lC.isArray=pi,lC.isArrayBuffer=fi,lC.isArrayLike=di,lC.isArrayLikeObject=hi,lC.isBoolean=function(A){return!0===A||!1===A||wi(A)&&qC(A)==F},lC.isBuffer=mi,lC.isDate=bi,lC.isElement=function(A){return wi(A)&&1===A.nodeType&&!Di(A)},lC.isEmpty=function(A){if(null==A)return!0;if(di(A)&&(pi(A)||"string"==typeof A||"function"==typeof A.splice||mi(A)||Ei(A)||vi(A)))return!A.length;var g=Ye(A);if(g==Q||g==IA)return!A.size;if(Ke(A))return!rt(A).length;for(var I in A)if(og.call(A,I))return!1;return!0},lC.isEqual=function(A,g){return tt(A,g)},lC.isEqualWith=function(A,g,I){var C=(I="function"==typeof I?I:e)?I(A,g):e;return C===e?tt(A,g,e,I):!!C},lC.isError=yi,lC.isFinite=function(A){return"number"==typeof A&&WI(A)},lC.isFunction=zi,lC.isInteger=Pi,lC.isLength=Ri,lC.isMap=Mi,lC.isMatch=function(A,g){return A===g||et(A,g,Ge(g))},lC.isMatchWith=function(A,g,I){return I="function"==typeof I?I:e,et(A,g,Ge(g),I)},lC.isNaN=function(A){return Zi(A)&&A!=+A},lC.isNative=function(A){if(Je(A))throw new _A(i);return nt(A)},lC.isNil=function(A){return null==A},lC.isNull=function(A){return null===A},lC.isNumber=Zi,lC.isObject=xi,lC.isObjectLike=wi,lC.isPlainObject=Di,lC.isRegExp=Ti,lC.isSafeInteger=function(A){return Pi(A)&&A>=-N&&A<=N},lC.isSet=Oi,lC.isString=ji,lC.isSymbol=Ni,lC.isTypedArray=Ei,lC.isUndefined=function(A){return A===e},lC.isWeakMap=function(A){return wi(A)&&Ye(A)==nA},lC.isWeakSet=function(A){return wi(A)&&qC(A)==iA},lC.join=function(A,g){return null==A?"":LI.call(A,g)},lC.kebabCase=pr,lC.last=yn,lC.lastIndexOf=function(A,g,I){var C=null==A?0:A.length;if(!C)return-1;var t=C;return I!==e&&(t=(t=Yi(I))<0?FI(C+t,0):VI(t,C-1)),g==g?function(A,g,I){for(var C=I+1;C--;)if(A[C]===g)return C;return C}(A,g,t):nI(A,aI,t,!0)},lC.lowerCase=fr,lC.lowerFirst=dr,lC.lt=Gi,lC.lte=Xi,lC.max=function(A){return A&&A.length?WC(A,Zr,_C):e},lC.maxBy=function(A,g){return A&&A.length?WC(A,Ne(g,2),_C):e},lC.mean=function(A){return oI(A,Zr)},lC.meanBy=function(A,g){return oI(A,Ne(g,2))},lC.min=function(A){return A&&A.length?WC(A,Zr,ot):e},lC.minBy=function(A,g){return A&&A.length?WC(A,Ne(g,2),ot):e},lC.stubArray=Wr,lC.stubFalse=Lr,lC.stubObject=function(){return{}},lC.stubString=function(){return""},lC.stubTrue=function(){return!0},lC.multiply=Jr,lC.nth=function(A,g){return A&&A.length?vt(A,Yi(g)):e},lC.noConflict=function(){return jg._===this&&(jg._=vg),this},lC.noop=Nr,lC.now=_n,lC.pad=function(A,g,I){A=Fi(A);var C=(g=Yi(g))?DI(A):0;if(!g||C>=g)return A;var t=(g-C)/2;return pe(HI(t),I)+A+pe(XI(t),I)},lC.padEnd=function(A,g,I){A=Fi(A);var C=(g=Yi(g))?DI(A):0;return g&&C<g?A+pe(g-C,I):A},lC.padStart=function(A,g,I){A=Fi(A);var C=(g=Yi(g))?DI(A):0;return g&&C<g?pe(g-C,I)+A:A},lC.parseInt=function(A,g,I){return I||null==g?g=0:g&&(g=+g),BI(Fi(A).replace(EA,""),g||0)},lC.random=function(A,g,I){if(I&&"boolean"!=typeof I&&Ve(A,g,I)&&(g=I=e),I===e&&("boolean"==typeof g?(I=g,g=e):"boolean"==typeof A&&(I=A,A=e)),A===e&&g===e?(A=0,g=1):(A=ki(A),g===e?(g=A,A=0):g=ki(g)),A>g){var C=A;A=g,g=C}if(I||A%1||g%1){var t=JI();return VI(A+t*(g-A+Zg("1e-"+((t+"").length-1))),g)}return mt(A,g)},lC.reduce=function(A,g,I){var C=pi(A)?gI:cI,t=arguments.length<3;return C(A,Ne(g,4),I,t,HC)},lC.reduceRight=function(A,g,I){var C=pi(A)?II:cI,t=arguments.length<3;return C(A,Ne(g,4),I,t,kC)},lC.repeat=function(A,g,I){return g=(I?Ve(A,g,I):g===e)?1:Yi(g),bt(Fi(A),g)},lC.replace=function(){var A=arguments,g=Fi(A[0]);return A.length<3?g:g.replace(A[1],A[2])},lC.result=function(A,g,I){var C=-1,t=(g=Vt(g,A)).length;for(t||(t=1,A=e);++C<t;){var n=null==A?e:A[an(g[C])];n===e&&(C=t,n=I),A=zi(n)?n.call(A):n}return A},lC.round=Kr,lC.runInContext=A,lC.sample=function(A){return(pi(A)?zC:zt)(A)},lC.size=function(A){if(null==A)return 0;if(di(A))return ji(A)?DI(A):A.length;var g=Ye(A);return g==Q||g==IA?A.size:rt(A).length},lC.snakeCase=hr,lC.some=function(A,g,I){var C=pi(A)?CI:Dt;return I&&Ve(A,g,I)&&(g=e),C(A,Ne(g,3))},lC.sortedIndex=function(A,g){return Tt(A,g)},lC.sortedIndexBy=function(A,g,I){return Ot(A,g,Ne(I,2))},lC.sortedIndexOf=function(A,g){var I=null==A?0:A.length;if(I){var C=Tt(A,g);if(C<I&&li(A[C],g))return C}return-1},lC.sortedLastIndex=function(A,g){return Tt(A,g,!0)},lC.sortedLastIndexBy=function(A,g,I){return Ot(A,g,Ne(I,2),!0)},lC.sortedLastIndexOf=function(A,g){if(null==A?0:A.length){var I=Tt(A,g,!0)-1;if(li(A[I],g))return I}return-1},lC.startCase=mr,lC.startsWith=function(A,g,I){return A=Fi(A),I=null==I?0:jC(Yi(I),0,A.length),g=Et(g),A.slice(I,I+g.length)==g},lC.subtract=Qr,lC.sum=function(A){return A&&A.length?uI(A,Zr):0},lC.sumBy=function(A,g){return A&&A.length?uI(A,Ne(g,2)):0},lC.template=function(A,g,I){var C=lC.templateSettings;I&&Ve(A,g,I)&&(g=e),A=Fi(A),g=Bi({},g,C,Pe);var t,n,i=Bi({},g.imports,C.imports,Pe),r=Cr(i),a=fI(i,r),o=0,s=g.interpolate||QA,l="__p += '",c=Ig((g.escape||QA).source+"|"+s.source+"|"+(s===MA?LA:QA).source+"|"+(g.evaluate||QA).source+"|$","g"),u="//# sourceURL="+("sourceURL"in g?g.sourceURL:"lodash.templateSources["+ ++Rg+"]")+"\n";A.replace(c,(function(g,I,C,e,i,r){return C||(C=e),l+=A.slice(o,r).replace(qA,zI),I&&(t=!0,l+="' +\n__e("+I+") +\n'"),i&&(n=!0,l+="';\n"+i+";\n__p += '"),C&&(l+="' +\n((__t = ("+C+")) == null ? '' : __t) +\n'"),o=r+g.length,g})),l+="';\n";var v=g.variable;v||(l="with (obj) {\n"+l+"\n}\n"),l=(n?l.replace(hA,""):l).replace(mA,"$1").replace(bA,"$1;"),l="function("+(v||"obj")+") {\n"+(v?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(t?", __e = _.escape":"")+(n?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+l+"return __p\n}";var p=Pr((function(){return $A(r,u+"return "+l).apply(e,a)}));if(p.source=l,yi(p))throw p;return p},lC.times=function(A,g){if((A=Yi(A))<1||A>N)return[];var I=X,C=VI(A,X);g=Ne(g),A-=X;for(var t=vI(C,g);++I<A;)g(I);return t},lC.toFinite=ki,lC.toInteger=Yi,lC.toLength=Wi,lC.toLower=function(A){return Fi(A).toLowerCase()},lC.toNumber=Li,lC.toSafeInteger=function(A){return A?jC(Yi(A),-N,N):0===A?A:0},lC.toString=Fi,lC.toUpper=function(A){return Fi(A).toUpperCase()},lC.trim=function(A,g,I){if((A=Fi(A))&&(I||g===e))return A.replace(NA,"");if(!A||!(g=Et(g)))return A;var C=TI(A),t=TI(g);return Bt(C,hI(C,t),mI(C,t)+1).join("")},lC.trimEnd=function(A,g,I){if((A=Fi(A))&&(I||g===e))return A.replace(GA,"");if(!A||!(g=Et(g)))return A;var C=TI(A);return Bt(C,0,mI(C,TI(g))+1).join("")},lC.trimStart=function(A,g,I){if((A=Fi(A))&&(I||g===e))return A.replace(EA,"");if(!A||!(g=Et(g)))return A;var C=TI(A);return Bt(C,hI(C,TI(g))).join("")},lC.truncate=function(A,g){var I=w,C=M;if(xi(g)){var t="separator"in g?g.separator:t;I="length"in g?Yi(g.length):I,C="omission"in g?Et(g.omission):C}var n=(A=Fi(A)).length;if(PI(A)){var i=TI(A);n=i.length}if(I>=n)return A;var r=I-DI(C);if(r<1)return C;var a=i?Bt(i,0,r).join(""):A.slice(0,r);if(t===e)return a+C;if(i&&(r+=a.length-r),Ti(t)){if(A.slice(r).search(t)){var o,s=a;for(t.global||(t=Ig(t.source,Fi(SA.exec(t))+"g")),t.lastIndex=0;o=t.exec(s);)var l=o.index;a=a.slice(0,l===e?r:l)}}else if(A.indexOf(Et(t),r)!=r){var c=a.lastIndexOf(t);c>-1&&(a=a.slice(0,c))}return a+C},lC.unescape=function(A){return(A=Fi(A))&&PA.test(A)?A.replace(yA,OI):A},lC.uniqueId=function(A){var g=++sg;return Fi(A)+g},lC.upperCase=br,lC.upperFirst=yr,lC.each=Fn,lC.eachRight=Vn,lC.first=dn,jr(lC,(Br={},UC(lC,(function(A,g){og.call(lC.prototype,g)||(Br[g]=A)})),Br),{chain:!1}),lC.VERSION="4.17.11",Bg(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(A){lC[A].placeholder=lC})),Bg(["drop","take"],(function(A,g){pC.prototype[A]=function(I){I=I===e?1:FI(Yi(I),0);var C=this.__filtered__&&!g?new pC(this):this.clone();return C.__filtered__?C.__takeCount__=VI(I,C.__takeCount__):C.__views__.push({size:VI(I,X),type:A+(C.__dir__<0?"Right":"")}),C},pC.prototype[A+"Right"]=function(g){return this.reverse()[A](g).reverse()}})),Bg(["filter","map","takeWhile"],(function(A,g){var I=g+1,C=I==T||3==I;pC.prototype[A]=function(A){var g=this.clone();return g.__iteratees__.push({iteratee:Ne(A,3),type:I}),g.__filtered__=g.__filtered__||C,g}})),Bg(["head","last"],(function(A,g){var I="take"+(g?"Right":"");pC.prototype[A]=function(){return this[I](1).value()[0]}})),Bg(["initial","tail"],(function(A,g){var I="drop"+(g?"":"Right");pC.prototype[A]=function(){return this.__filtered__?new pC(this):this[I](1)}})),pC.prototype.compact=function(){return this.filter(Zr)},pC.prototype.find=function(A){return this.filter(A).head()},pC.prototype.findLast=function(A){return this.reverse().find(A)},pC.prototype.invokeMap=yt((function(A,g){return"function"==typeof A?new pC(this):this.map((function(I){return It(I,A,g)}))})),pC.prototype.reject=function(A){return this.filter(ii(Ne(A)))},pC.prototype.slice=function(A,g){A=Yi(A);var I=this;return I.__filtered__&&(A>0||g<0)?new pC(I):(A<0?I=I.takeRight(-A):A&&(I=I.drop(A)),g!==e&&(I=(g=Yi(g))<0?I.dropRight(-g):I.take(g-A)),I)},pC.prototype.takeRightWhile=function(A){return this.reverse().takeWhile(A).reverse()},pC.prototype.toArray=function(){return this.take(X)},UC(pC.prototype,(function(A,g){var I=/^(?:filter|find|map|reject)|While$/.test(g),C=/^(?:head|last)$/.test(g),t=lC[C?"take"+("last"==g?"Right":""):g],n=C||/^find/.test(g);t&&(lC.prototype[g]=function(){var g=this.__wrapped__,i=C?[1]:arguments,r=g instanceof pC,a=i[0],o=r||pi(g),s=function(A){var g=t.apply(lC,AI([A],i));return C&&l?g[0]:g};o&&I&&"function"==typeof a&&1!=a.length&&(r=o=!1);var l=this.__chain__,c=!!this.__actions__.length,u=n&&!l,v=r&&!c;if(!n&&o){g=v?g:new pC(this);var p=A.apply(g,i);return p.__actions__.push({func:kn,args:[s],thisArg:e}),new vC(p,l)}return u&&v?A.apply(this,i):(p=this.thru(s),u?C?p.value()[0]:p.value():p)})})),Bg(["pop","push","shift","sort","splice","unshift"],(function(A){var g=eg[A],I=/^(?:push|sort|unshift)$/.test(A)?"tap":"thru",C=/^(?:pop|shift)$/.test(A);lC.prototype[A]=function(){var A=arguments;if(C&&!this.__chain__){var t=this.value();return g.apply(pi(t)?t:[],A)}return this[I]((function(I){return g.apply(pi(I)?I:[],A)}))}})),UC(pC.prototype,(function(A,g){var I=lC[g];if(I){var C=I.name+"";(CC[C]||(CC[C]=[])).push({name:g,func:I})}})),CC[le(e,d).name]=[{name:"wrapper",func:e}],pC.prototype.clone=function(){var A=new pC(this.__wrapped__);return A.__actions__=ge(this.__actions__),A.__dir__=this.__dir__,A.__filtered__=this.__filtered__,A.__iteratees__=ge(this.__iteratees__),A.__takeCount__=this.__takeCount__,A.__views__=ge(this.__views__),A},pC.prototype.reverse=function(){if(this.__filtered__){var A=new pC(this);A.__dir__=-1,A.__filtered__=!0}else(A=this.clone()).__dir__*=-1;return A},pC.prototype.value=function(){var A=this.__wrapped__.value(),g=this.__dir__,I=pi(A),C=g<0,t=I?A.length:0,e=function(A,g,I){var C=-1,t=I.length;for(;++C<t;){var e=I[C],n=e.size;switch(e.type){case"drop":A+=n;break;case"dropRight":g-=n;break;case"take":g=VI(g,A+n);break;case"takeRight":A=FI(A,g-n)}}return{start:A,end:g}}(0,t,this.__views__),n=e.start,i=e.end,r=i-n,a=C?i:n-1,o=this.__iteratees__,s=o.length,l=0,c=VI(r,this.__takeCount__);if(!I||!C&&t==r&&c==r)return Yt(A,this.__actions__);var u=[];A:for(;r--&&l<c;){for(var v=-1,p=A[a+=g];++v<s;){var f=o[v],d=f.iteratee,h=f.type,m=d(p);if(h==O)p=m;else if(!m){if(h==T)continue A;break A}}u[l++]=p}return u},lC.prototype.at=Yn,lC.prototype.chain=function(){return Hn(this)},lC.prototype.commit=function(){return new vC(this.value(),this.__chain__)},lC.prototype.next=function(){this.__values__===e&&(this.__values__=Hi(this.value()));var A=this.__index__>=this.__values__.length;return{done:A,value:A?e:this.__values__[this.__index__++]}},lC.prototype.plant=function(A){for(var g,I=this;I instanceof uC;){var C=sn(I);C.__index__=0,C.__values__=e,g?t.__wrapped__=C:g=C;var t=C;I=I.__wrapped__}return t.__wrapped__=A,g},lC.prototype.reverse=function(){var A=this.__wrapped__;if(A instanceof pC){var g=A;return this.__actions__.length&&(g=new pC(this)),(g=g.reverse()).__actions__.push({func:kn,args:[xn],thisArg:e}),new vC(g,this.__chain__)}return this.thru(xn)},lC.prototype.toJSON=lC.prototype.valueOf=lC.prototype.value=function(){return Yt(this.__wrapped__,this.__actions__)},lC.prototype.first=lC.prototype.head,Hg&&(lC.prototype[Hg]=function(){return this}),lC}();jg._=jI,(t=function(){return jI}.call(g,I,g,C))===e||(C.exports=t)}).call(this)}).call(this,I(/*! ./../webpack/buildin/global.js */6),I(/*! ./../webpack/buildin/module.js */10)(A))},
|
|
33
|
+
*/(function(){var e,n=200,i="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",r="Expected a function",a="__lodash_hash_undefined__",o=500,s="__lodash_placeholder__",l=1,c=2,u=4,v=1,p=2,f=1,d=2,h=4,m=8,b=16,y=32,z=64,P=128,R=256,x=512,w=30,M="...",Z=800,D=16,T=1,O=2,j=1/0,N=9007199254740991,E=17976931348623157e292,G=NaN,X=4294967295,H=X-1,k=X>>>1,Y=[["ary",P],["bind",f],["bindKey",d],["curry",m],["curryRight",b],["flip",x],["partial",y],["partialRight",z],["rearg",R]],W="[object Arguments]",L="[object Array]",S="[object AsyncFunction]",F="[object Boolean]",V="[object Date]",B="[object DOMException]",U="[object Error]",J="[object Function]",K="[object GeneratorFunction]",Q="[object Map]",q="[object Number]",_="[object Null]",$="[object Object]",AA="[object Proxy]",gA="[object RegExp]",IA="[object Set]",CA="[object String]",tA="[object Symbol]",eA="[object Undefined]",nA="[object WeakMap]",iA="[object WeakSet]",rA="[object ArrayBuffer]",aA="[object DataView]",oA="[object Float32Array]",sA="[object Float64Array]",lA="[object Int8Array]",cA="[object Int16Array]",uA="[object Int32Array]",vA="[object Uint8Array]",pA="[object Uint8ClampedArray]",fA="[object Uint16Array]",dA="[object Uint32Array]",hA=/\b__p \+= '';/g,mA=/\b(__p \+=) '' \+/g,bA=/(__e\(.*?\)|\b__t\)) \+\n'';/g,yA=/&(?:amp|lt|gt|quot|#39);/g,zA=/[&<>"']/g,PA=RegExp(yA.source),RA=RegExp(zA.source),xA=/<%-([\s\S]+?)%>/g,wA=/<%([\s\S]+?)%>/g,MA=/<%=([\s\S]+?)%>/g,ZA=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,DA=/^\w*$/,TA=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,OA=/[\\^$.*+?()[\]{}|]/g,jA=RegExp(OA.source),NA=/^\s+|\s+$/g,EA=/^\s+/,GA=/\s+$/,XA=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,HA=/\{\n\/\* \[wrapped with (.+)\] \*/,kA=/,? & /,YA=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,WA=/\\(\\)?/g,LA=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,SA=/\w*$/,FA=/^[-+]0x[0-9a-f]+$/i,VA=/^0b[01]+$/i,BA=/^\[object .+?Constructor\]$/,UA=/^0o[0-7]+$/i,JA=/^(?:0|[1-9]\d*)$/,KA=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,QA=/($^)/,qA=/['\n\r\u2028\u2029\\]/g,_A="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",$A="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Ag="[\\ud800-\\udfff]",gg="["+$A+"]",Ig="["+_A+"]",Cg="\\d+",tg="[\\u2700-\\u27bf]",eg="[a-z\\xdf-\\xf6\\xf8-\\xff]",ng="[^\\ud800-\\udfff"+$A+Cg+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",ig="\\ud83c[\\udffb-\\udfff]",rg="[^\\ud800-\\udfff]",ag="(?:\\ud83c[\\udde6-\\uddff]){2}",og="[\\ud800-\\udbff][\\udc00-\\udfff]",sg="[A-Z\\xc0-\\xd6\\xd8-\\xde]",lg="(?:"+eg+"|"+ng+")",cg="(?:"+sg+"|"+ng+")",ug="(?:"+Ig+"|"+ig+")"+"?",vg="[\\ufe0e\\ufe0f]?"+ug+("(?:\\u200d(?:"+[rg,ag,og].join("|")+")[\\ufe0e\\ufe0f]?"+ug+")*"),pg="(?:"+[tg,ag,og].join("|")+")"+vg,fg="(?:"+[rg+Ig+"?",Ig,ag,og,Ag].join("|")+")",dg=RegExp("['’]","g"),hg=RegExp(Ig,"g"),mg=RegExp(ig+"(?="+ig+")|"+fg+vg,"g"),bg=RegExp([sg+"?"+eg+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[gg,sg,"$"].join("|")+")",cg+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[gg,sg+lg,"$"].join("|")+")",sg+"?"+lg+"+(?:['’](?:d|ll|m|re|s|t|ve))?",sg+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Cg,pg].join("|"),"g"),yg=RegExp("[\\u200d\\ud800-\\udfff"+_A+"\\ufe0e\\ufe0f]"),zg=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Pg=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Rg=-1,xg={};xg[oA]=xg[sA]=xg[lA]=xg[cA]=xg[uA]=xg[vA]=xg[pA]=xg[fA]=xg[dA]=!0,xg[W]=xg[L]=xg[rA]=xg[F]=xg[aA]=xg[V]=xg[U]=xg[J]=xg[Q]=xg[q]=xg[$]=xg[gA]=xg[IA]=xg[CA]=xg[nA]=!1;var wg={};wg[W]=wg[L]=wg[rA]=wg[aA]=wg[F]=wg[V]=wg[oA]=wg[sA]=wg[lA]=wg[cA]=wg[uA]=wg[Q]=wg[q]=wg[$]=wg[gA]=wg[IA]=wg[CA]=wg[tA]=wg[vA]=wg[pA]=wg[fA]=wg[dA]=!0,wg[U]=wg[J]=wg[nA]=!1;var Mg={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Zg=parseFloat,Dg=parseInt,Tg="object"==typeof A&&A&&A.Object===Object&&A,Og="object"==typeof self&&self&&self.Object===Object&&self,jg=Tg||Og||Function("return this")(),Ng=g&&!g.nodeType&&g,Eg=Ng&&"object"==typeof C&&C&&!C.nodeType&&C,Gg=Eg&&Eg.exports===Ng,Xg=Gg&&Tg.process,Hg=function(){try{var A=Eg&&Eg.require&&Eg.require("util").types;return A||Xg&&Xg.binding&&Xg.binding("util")}catch(A){}}(),kg=Hg&&Hg.isArrayBuffer,Yg=Hg&&Hg.isDate,Wg=Hg&&Hg.isMap,Lg=Hg&&Hg.isRegExp,Sg=Hg&&Hg.isSet,Fg=Hg&&Hg.isTypedArray;function Vg(A,g,I){switch(I.length){case 0:return A.call(g);case 1:return A.call(g,I[0]);case 2:return A.call(g,I[0],I[1]);case 3:return A.call(g,I[0],I[1],I[2])}return A.apply(g,I)}function Bg(A,g,I,C){for(var t=-1,e=null==A?0:A.length;++t<e;){var n=A[t];g(C,n,I(n),A)}return C}function Ug(A,g){for(var I=-1,C=null==A?0:A.length;++I<C&&!1!==g(A[I],I,A););return A}function Jg(A,g){for(var I=null==A?0:A.length;I--&&!1!==g(A[I],I,A););return A}function Kg(A,g){for(var I=-1,C=null==A?0:A.length;++I<C;)if(!g(A[I],I,A))return!1;return!0}function Qg(A,g){for(var I=-1,C=null==A?0:A.length,t=0,e=[];++I<C;){var n=A[I];g(n,I,A)&&(e[t++]=n)}return e}function qg(A,g){return!!(null==A?0:A.length)&&iI(A,g,0)>-1}function _g(A,g,I){for(var C=-1,t=null==A?0:A.length;++C<t;)if(I(g,A[C]))return!0;return!1}function $g(A,g){for(var I=-1,C=null==A?0:A.length,t=Array(C);++I<C;)t[I]=g(A[I],I,A);return t}function AI(A,g){for(var I=-1,C=g.length,t=A.length;++I<C;)A[t+I]=g[I];return A}function gI(A,g,I,C){var t=-1,e=null==A?0:A.length;for(C&&e&&(I=A[++t]);++t<e;)I=g(I,A[t],t,A);return I}function II(A,g,I,C){var t=null==A?0:A.length;for(C&&t&&(I=A[--t]);t--;)I=g(I,A[t],t,A);return I}function CI(A,g){for(var I=-1,C=null==A?0:A.length;++I<C;)if(g(A[I],I,A))return!0;return!1}var tI=sI("length");function eI(A,g,I){var C;return I(A,(function(A,I,t){if(g(A,I,t))return C=I,!1})),C}function nI(A,g,I,C){for(var t=A.length,e=I+(C?1:-1);C?e--:++e<t;)if(g(A[e],e,A))return e;return-1}function iI(A,g,I){return g==g?function(A,g,I){var C=I-1,t=A.length;for(;++C<t;)if(A[C]===g)return C;return-1}(A,g,I):nI(A,aI,I)}function rI(A,g,I,C){for(var t=I-1,e=A.length;++t<e;)if(C(A[t],g))return t;return-1}function aI(A){return A!=A}function oI(A,g){var I=null==A?0:A.length;return I?uI(A,g)/I:G}function sI(A){return function(g){return null==g?e:g[A]}}function lI(A){return function(g){return null==A?e:A[g]}}function cI(A,g,I,C,t){return t(A,(function(A,t,e){I=C?(C=!1,A):g(I,A,t,e)})),I}function uI(A,g){for(var I,C=-1,t=A.length;++C<t;){var n=g(A[C]);n!==e&&(I=I===e?n:I+n)}return I}function vI(A,g){for(var I=-1,C=Array(A);++I<A;)C[I]=g(I);return C}function pI(A){return function(g){return A(g)}}function fI(A,g){return $g(g,(function(g){return A[g]}))}function dI(A,g){return A.has(g)}function hI(A,g){for(var I=-1,C=A.length;++I<C&&iI(g,A[I],0)>-1;);return I}function mI(A,g){for(var I=A.length;I--&&iI(g,A[I],0)>-1;);return I}var bI=lI({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),yI=lI({"&":"&","<":"<",">":">",'"':""","'":"'"});function zI(A){return"\\"+Mg[A]}function PI(A){return yg.test(A)}function RI(A){var g=-1,I=Array(A.size);return A.forEach((function(A,C){I[++g]=[C,A]})),I}function xI(A,g){return function(I){return A(g(I))}}function wI(A,g){for(var I=-1,C=A.length,t=0,e=[];++I<C;){var n=A[I];n!==g&&n!==s||(A[I]=s,e[t++]=I)}return e}function MI(A){var g=-1,I=Array(A.size);return A.forEach((function(A){I[++g]=A})),I}function ZI(A){var g=-1,I=Array(A.size);return A.forEach((function(A){I[++g]=[A,A]})),I}function DI(A){return PI(A)?function(A){var g=mg.lastIndex=0;for(;mg.test(A);)++g;return g}(A):tI(A)}function TI(A){return PI(A)?function(A){return A.match(mg)||[]}(A):function(A){return A.split("")}(A)}var OI=lI({"&":"&","<":"<",">":">",""":'"',"'":"'"});var jI=function A(g){var I,C=(g=null==g?jg:jI.defaults(jg.Object(),g,jI.pick(jg,Pg))).Array,t=g.Date,_A=g.Error,$A=g.Function,Ag=g.Math,gg=g.Object,Ig=g.RegExp,Cg=g.String,tg=g.TypeError,eg=C.prototype,ng=$A.prototype,ig=gg.prototype,rg=g["__core-js_shared__"],ag=ng.toString,og=ig.hasOwnProperty,sg=0,lg=(I=/[^.]+$/.exec(rg&&rg.keys&&rg.keys.IE_PROTO||""))?"Symbol(src)_1."+I:"",cg=ig.toString,ug=ag.call(gg),vg=jg._,pg=Ig("^"+ag.call(og).replace(OA,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),fg=Gg?g.Buffer:e,mg=g.Symbol,yg=g.Uint8Array,Mg=fg?fg.allocUnsafe:e,Tg=xI(gg.getPrototypeOf,gg),Og=gg.create,Ng=ig.propertyIsEnumerable,Eg=eg.splice,Xg=mg?mg.isConcatSpreadable:e,Hg=mg?mg.iterator:e,tI=mg?mg.toStringTag:e,lI=function(){try{var A=Xe(gg,"defineProperty");return A({},"",{}),A}catch(A){}}(),NI=g.clearTimeout!==jg.clearTimeout&&g.clearTimeout,EI=t&&t.now!==jg.Date.now&&t.now,GI=g.setTimeout!==jg.setTimeout&&g.setTimeout,XI=Ag.ceil,HI=Ag.floor,kI=gg.getOwnPropertySymbols,YI=fg?fg.isBuffer:e,WI=g.isFinite,LI=eg.join,SI=xI(gg.keys,gg),FI=Ag.max,VI=Ag.min,BI=t.now,UI=g.parseInt,JI=Ag.random,KI=eg.reverse,QI=Xe(g,"DataView"),qI=Xe(g,"Map"),_I=Xe(g,"Promise"),$I=Xe(g,"Set"),AC=Xe(g,"WeakMap"),gC=Xe(gg,"create"),IC=AC&&new AC,CC={},tC=on(QI),eC=on(qI),nC=on(_I),iC=on($I),rC=on(AC),aC=mg?mg.prototype:e,oC=aC?aC.valueOf:e,sC=aC?aC.toString:e;function lC(A){if(wi(A)&&!pi(A)&&!(A instanceof pC)){if(A instanceof vC)return A;if(og.call(A,"__wrapped__"))return sn(A)}return new vC(A)}var cC=function(){function A(){}return function(g){if(!xi(g))return{};if(Og)return Og(g);A.prototype=g;var I=new A;return A.prototype=e,I}}();function uC(){}function vC(A,g){this.__wrapped__=A,this.__actions__=[],this.__chain__=!!g,this.__index__=0,this.__values__=e}function pC(A){this.__wrapped__=A,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=X,this.__views__=[]}function fC(A){var g=-1,I=null==A?0:A.length;for(this.clear();++g<I;){var C=A[g];this.set(C[0],C[1])}}function dC(A){var g=-1,I=null==A?0:A.length;for(this.clear();++g<I;){var C=A[g];this.set(C[0],C[1])}}function hC(A){var g=-1,I=null==A?0:A.length;for(this.clear();++g<I;){var C=A[g];this.set(C[0],C[1])}}function mC(A){var g=-1,I=null==A?0:A.length;for(this.__data__=new hC;++g<I;)this.add(A[g])}function bC(A){var g=this.__data__=new dC(A);this.size=g.size}function yC(A,g){var I=pi(A),C=!I&&vi(A),t=!I&&!C&&mi(A),e=!I&&!C&&!t&&Ei(A),n=I||C||t||e,i=n?vI(A.length,Cg):[],r=i.length;for(var a in A)!g&&!og.call(A,a)||n&&("length"==a||t&&("offset"==a||"parent"==a)||e&&("buffer"==a||"byteLength"==a||"byteOffset"==a)||Fe(a,r))||i.push(a);return i}function zC(A){var g=A.length;return g?A[mt(0,g-1)]:e}function PC(A,g){return nn(ge(A),jC(g,0,A.length))}function RC(A){return nn(ge(A))}function xC(A,g,I){(I===e||li(A[g],I))&&(I!==e||g in A)||TC(A,g,I)}function wC(A,g,I){var C=A[g];og.call(A,g)&&li(C,I)&&(I!==e||g in A)||TC(A,g,I)}function MC(A,g){for(var I=A.length;I--;)if(li(A[I][0],g))return I;return-1}function ZC(A,g,I,C){return HC(A,(function(A,t,e){g(C,A,I(A),e)})),C}function DC(A,g){return A&&Ie(g,Cr(g),A)}function TC(A,g,I){"__proto__"==g&&lI?lI(A,g,{configurable:!0,enumerable:!0,value:I,writable:!0}):A[g]=I}function OC(A,g){for(var I=-1,t=g.length,n=C(t),i=null==A;++I<t;)n[I]=i?e:_i(A,g[I]);return n}function jC(A,g,I){return A==A&&(I!==e&&(A=A<=I?A:I),g!==e&&(A=A>=g?A:g)),A}function NC(A,g,I,C,t,n){var i,r=g&l,a=g&c,o=g&u;if(I&&(i=t?I(A,C,t,n):I(A)),i!==e)return i;if(!xi(A))return A;var s=pi(A);if(s){if(i=function(A){var g=A.length,I=new A.constructor(g);g&&"string"==typeof A[0]&&og.call(A,"index")&&(I.index=A.index,I.input=A.input);return I}(A),!r)return ge(A,i)}else{var v=Ye(A),p=v==J||v==K;if(mi(A))return Kt(A,r);if(v==$||v==W||p&&!t){if(i=a||p?{}:Le(A),!r)return a?function(A,g){return Ie(A,ke(A),g)}(A,function(A,g){return A&&Ie(g,tr(g),A)}(i,A)):function(A,g){return Ie(A,He(A),g)}(A,DC(i,A))}else{if(!wg[v])return t?A:{};i=function(A,g,I){var C=A.constructor;switch(g){case rA:return Qt(A);case F:case V:return new C(+A);case aA:return function(A,g){var I=g?Qt(A.buffer):A.buffer;return new A.constructor(I,A.byteOffset,A.byteLength)}(A,I);case oA:case sA:case lA:case cA:case uA:case vA:case pA:case fA:case dA:return qt(A,I);case Q:return new C;case q:case CA:return new C(A);case gA:return function(A){var g=new A.constructor(A.source,SA.exec(A));return g.lastIndex=A.lastIndex,g}(A);case IA:return new C;case tA:return t=A,oC?gg(oC.call(t)):{}}var t}(A,v,r)}}n||(n=new bC);var f=n.get(A);if(f)return f;if(n.set(A,i),Oi(A))return A.forEach((function(C){i.add(NC(C,g,I,C,A,n))})),i;if(Mi(A))return A.forEach((function(C,t){i.set(t,NC(C,g,I,t,A,n))})),i;var d=s?e:(o?a?De:Ze:a?tr:Cr)(A);return Ug(d||A,(function(C,t){d&&(C=A[t=C]),wC(i,t,NC(C,g,I,t,A,n))})),i}function EC(A,g,I){var C=I.length;if(null==A)return!C;for(A=gg(A);C--;){var t=I[C],n=g[t],i=A[t];if(i===e&&!(t in A)||!n(i))return!1}return!0}function GC(A,g,I){if("function"!=typeof A)throw new tg(r);return In((function(){A.apply(e,I)}),g)}function XC(A,g,I,C){var t=-1,e=qg,i=!0,r=A.length,a=[],o=g.length;if(!r)return a;I&&(g=$g(g,pI(I))),C?(e=_g,i=!1):g.length>=n&&(e=dI,i=!1,g=new mC(g));A:for(;++t<r;){var s=A[t],l=null==I?s:I(s);if(s=C||0!==s?s:0,i&&l==l){for(var c=o;c--;)if(g[c]===l)continue A;a.push(s)}else e(g,l,C)||a.push(s)}return a}lC.templateSettings={escape:xA,evaluate:wA,interpolate:MA,variable:"",imports:{_:lC}},lC.prototype=uC.prototype,lC.prototype.constructor=lC,vC.prototype=cC(uC.prototype),vC.prototype.constructor=vC,pC.prototype=cC(uC.prototype),pC.prototype.constructor=pC,fC.prototype.clear=function(){this.__data__=gC?gC(null):{},this.size=0},fC.prototype.delete=function(A){var g=this.has(A)&&delete this.__data__[A];return this.size-=g?1:0,g},fC.prototype.get=function(A){var g=this.__data__;if(gC){var I=g[A];return I===a?e:I}return og.call(g,A)?g[A]:e},fC.prototype.has=function(A){var g=this.__data__;return gC?g[A]!==e:og.call(g,A)},fC.prototype.set=function(A,g){var I=this.__data__;return this.size+=this.has(A)?0:1,I[A]=gC&&g===e?a:g,this},dC.prototype.clear=function(){this.__data__=[],this.size=0},dC.prototype.delete=function(A){var g=this.__data__,I=MC(g,A);return!(I<0)&&(I==g.length-1?g.pop():Eg.call(g,I,1),--this.size,!0)},dC.prototype.get=function(A){var g=this.__data__,I=MC(g,A);return I<0?e:g[I][1]},dC.prototype.has=function(A){return MC(this.__data__,A)>-1},dC.prototype.set=function(A,g){var I=this.__data__,C=MC(I,A);return C<0?(++this.size,I.push([A,g])):I[C][1]=g,this},hC.prototype.clear=function(){this.size=0,this.__data__={hash:new fC,map:new(qI||dC),string:new fC}},hC.prototype.delete=function(A){var g=Ee(this,A).delete(A);return this.size-=g?1:0,g},hC.prototype.get=function(A){return Ee(this,A).get(A)},hC.prototype.has=function(A){return Ee(this,A).has(A)},hC.prototype.set=function(A,g){var I=Ee(this,A),C=I.size;return I.set(A,g),this.size+=I.size==C?0:1,this},mC.prototype.add=mC.prototype.push=function(A){return this.__data__.set(A,a),this},mC.prototype.has=function(A){return this.__data__.has(A)},bC.prototype.clear=function(){this.__data__=new dC,this.size=0},bC.prototype.delete=function(A){var g=this.__data__,I=g.delete(A);return this.size=g.size,I},bC.prototype.get=function(A){return this.__data__.get(A)},bC.prototype.has=function(A){return this.__data__.has(A)},bC.prototype.set=function(A,g){var I=this.__data__;if(I instanceof dC){var C=I.__data__;if(!qI||C.length<n-1)return C.push([A,g]),this.size=++I.size,this;I=this.__data__=new hC(C)}return I.set(A,g),this.size=I.size,this};var HC=ee(BC),kC=ee(UC,!0);function YC(A,g){var I=!0;return HC(A,(function(A,C,t){return I=!!g(A,C,t)})),I}function WC(A,g,I){for(var C=-1,t=A.length;++C<t;){var n=A[C],i=g(n);if(null!=i&&(r===e?i==i&&!Ni(i):I(i,r)))var r=i,a=n}return a}function LC(A,g){var I=[];return HC(A,(function(A,C,t){g(A,C,t)&&I.push(A)})),I}function SC(A,g,I,C,t){var e=-1,n=A.length;for(I||(I=Se),t||(t=[]);++e<n;){var i=A[e];g>0&&I(i)?g>1?SC(i,g-1,I,C,t):AI(t,i):C||(t[t.length]=i)}return t}var FC=ne(),VC=ne(!0);function BC(A,g){return A&&FC(A,g,Cr)}function UC(A,g){return A&&VC(A,g,Cr)}function JC(A,g){return Qg(g,(function(g){return zi(A[g])}))}function KC(A,g){for(var I=0,C=(g=Vt(g,A)).length;null!=A&&I<C;)A=A[an(g[I++])];return I&&I==C?A:e}function QC(A,g,I){var C=g(A);return pi(A)?C:AI(C,I(A))}function qC(A){return null==A?A===e?eA:_:tI&&tI in gg(A)?function(A){var g=og.call(A,tI),I=A[tI];try{A[tI]=e;var C=!0}catch(A){}var t=cg.call(A);C&&(g?A[tI]=I:delete A[tI]);return t}(A):function(A){return cg.call(A)}(A)}function _C(A,g){return A>g}function $C(A,g){return null!=A&&og.call(A,g)}function At(A,g){return null!=A&&g in gg(A)}function gt(A,g,I){for(var t=I?_g:qg,n=A[0].length,i=A.length,r=i,a=C(i),o=1/0,s=[];r--;){var l=A[r];r&&g&&(l=$g(l,pI(g))),o=VI(l.length,o),a[r]=!I&&(g||n>=120&&l.length>=120)?new mC(r&&l):e}l=A[0];var c=-1,u=a[0];A:for(;++c<n&&s.length<o;){var v=l[c],p=g?g(v):v;if(v=I||0!==v?v:0,!(u?dI(u,p):t(s,p,I))){for(r=i;--r;){var f=a[r];if(!(f?dI(f,p):t(A[r],p,I)))continue A}u&&u.push(p),s.push(v)}}return s}function It(A,g,I){var C=null==(A=$e(A,g=Vt(g,A)))?A:A[an(yn(g))];return null==C?e:Vg(C,A,I)}function Ct(A){return wi(A)&&qC(A)==W}function tt(A,g,I,C,t){return A===g||(null==A||null==g||!wi(A)&&!wi(g)?A!=A&&g!=g:function(A,g,I,C,t,n){var i=pi(A),r=pi(g),a=i?L:Ye(A),o=r?L:Ye(g),s=(a=a==W?$:a)==$,l=(o=o==W?$:o)==$,c=a==o;if(c&&mi(A)){if(!mi(g))return!1;i=!0,s=!1}if(c&&!s)return n||(n=new bC),i||Ei(A)?we(A,g,I,C,t,n):function(A,g,I,C,t,e,n){switch(I){case aA:if(A.byteLength!=g.byteLength||A.byteOffset!=g.byteOffset)return!1;A=A.buffer,g=g.buffer;case rA:return!(A.byteLength!=g.byteLength||!e(new yg(A),new yg(g)));case F:case V:case q:return li(+A,+g);case U:return A.name==g.name&&A.message==g.message;case gA:case CA:return A==g+"";case Q:var i=RI;case IA:var r=C&v;if(i||(i=MI),A.size!=g.size&&!r)return!1;var a=n.get(A);if(a)return a==g;C|=p,n.set(A,g);var o=we(i(A),i(g),C,t,e,n);return n.delete(A),o;case tA:if(oC)return oC.call(A)==oC.call(g)}return!1}(A,g,a,I,C,t,n);if(!(I&v)){var u=s&&og.call(A,"__wrapped__"),f=l&&og.call(g,"__wrapped__");if(u||f){var d=u?A.value():A,h=f?g.value():g;return n||(n=new bC),t(d,h,I,C,n)}}if(!c)return!1;return n||(n=new bC),function(A,g,I,C,t,n){var i=I&v,r=Ze(A),a=r.length,o=Ze(g).length;if(a!=o&&!i)return!1;var s=a;for(;s--;){var l=r[s];if(!(i?l in g:og.call(g,l)))return!1}var c=n.get(A);if(c&&n.get(g))return c==g;var u=!0;n.set(A,g),n.set(g,A);var p=i;for(;++s<a;){l=r[s];var f=A[l],d=g[l];if(C)var h=i?C(d,f,l,g,A,n):C(f,d,l,A,g,n);if(!(h===e?f===d||t(f,d,I,C,n):h)){u=!1;break}p||(p="constructor"==l)}if(u&&!p){var m=A.constructor,b=g.constructor;m!=b&&"constructor"in A&&"constructor"in g&&!("function"==typeof m&&m instanceof m&&"function"==typeof b&&b instanceof b)&&(u=!1)}return n.delete(A),n.delete(g),u}(A,g,I,C,t,n)}(A,g,I,C,tt,t))}function et(A,g,I,C){var t=I.length,n=t,i=!C;if(null==A)return!n;for(A=gg(A);t--;){var r=I[t];if(i&&r[2]?r[1]!==A[r[0]]:!(r[0]in A))return!1}for(;++t<n;){var a=(r=I[t])[0],o=A[a],s=r[1];if(i&&r[2]){if(o===e&&!(a in A))return!1}else{var l=new bC;if(C)var c=C(o,s,a,A,g,l);if(!(c===e?tt(s,o,v|p,C,l):c))return!1}}return!0}function nt(A){return!(!xi(A)||(g=A,lg&&lg in g))&&(zi(A)?pg:BA).test(on(A));var g}function it(A){return"function"==typeof A?A:null==A?Zr:"object"==typeof A?pi(A)?ct(A[0],A[1]):lt(A):Hr(A)}function rt(A){if(!Ke(A))return SI(A);var g=[];for(var I in gg(A))og.call(A,I)&&"constructor"!=I&&g.push(I);return g}function at(A){if(!xi(A))return function(A){var g=[];if(null!=A)for(var I in gg(A))g.push(I);return g}(A);var g=Ke(A),I=[];for(var C in A)("constructor"!=C||!g&&og.call(A,C))&&I.push(C);return I}function ot(A,g){return A<g}function st(A,g){var I=-1,t=di(A)?C(A.length):[];return HC(A,(function(A,C,e){t[++I]=g(A,C,e)})),t}function lt(A){var g=Ge(A);return 1==g.length&&g[0][2]?qe(g[0][0],g[0][1]):function(I){return I===A||et(I,A,g)}}function ct(A,g){return Be(A)&&Qe(g)?qe(an(A),g):function(I){var C=_i(I,A);return C===e&&C===g?$i(I,A):tt(g,C,v|p)}}function ut(A,g,I,C,t){A!==g&&FC(g,(function(n,i){if(xi(n))t||(t=new bC),function(A,g,I,C,t,n,i){var r=An(A,I),a=An(g,I),o=i.get(a);if(o)return void xC(A,I,o);var s=n?n(r,a,I+"",A,g,i):e,l=s===e;if(l){var c=pi(a),u=!c&&mi(a),v=!c&&!u&&Ei(a);s=a,c||u||v?pi(r)?s=r:hi(r)?s=ge(r):u?(l=!1,s=Kt(a,!0)):v?(l=!1,s=qt(a,!0)):s=[]:Di(a)||vi(a)?(s=r,vi(r)?s=Si(r):xi(r)&&!zi(r)||(s=Le(a))):l=!1}l&&(i.set(a,s),t(s,a,C,n,i),i.delete(a));xC(A,I,s)}(A,g,i,I,ut,C,t);else{var r=C?C(An(A,i),n,i+"",A,g,t):e;r===e&&(r=n),xC(A,i,r)}}),tr)}function vt(A,g){var I=A.length;if(I)return Fe(g+=g<0?I:0,I)?A[g]:e}function pt(A,g,I){var C=-1;return g=$g(g.length?g:[Zr],pI(Ne())),function(A,g){var I=A.length;for(A.sort(g);I--;)A[I]=A[I].value;return A}(st(A,(function(A,I,t){return{criteria:$g(g,(function(g){return g(A)})),index:++C,value:A}})),(function(A,g){return function(A,g,I){var C=-1,t=A.criteria,e=g.criteria,n=t.length,i=I.length;for(;++C<n;){var r=_t(t[C],e[C]);if(r){if(C>=i)return r;var a=I[C];return r*("desc"==a?-1:1)}}return A.index-g.index}(A,g,I)}))}function ft(A,g,I){for(var C=-1,t=g.length,e={};++C<t;){var n=g[C],i=KC(A,n);I(i,n)&&Rt(e,Vt(n,A),i)}return e}function dt(A,g,I,C){var t=C?rI:iI,e=-1,n=g.length,i=A;for(A===g&&(g=ge(g)),I&&(i=$g(A,pI(I)));++e<n;)for(var r=0,a=g[e],o=I?I(a):a;(r=t(i,o,r,C))>-1;)i!==A&&Eg.call(i,r,1),Eg.call(A,r,1);return A}function ht(A,g){for(var I=A?g.length:0,C=I-1;I--;){var t=g[I];if(I==C||t!==e){var e=t;Fe(t)?Eg.call(A,t,1):Xt(A,t)}}return A}function mt(A,g){return A+HI(JI()*(g-A+1))}function bt(A,g){var I="";if(!A||g<1||g>N)return I;do{g%2&&(I+=A),(g=HI(g/2))&&(A+=A)}while(g);return I}function yt(A,g){return Cn(_e(A,g,Zr),A+"")}function zt(A){return zC(lr(A))}function Pt(A,g){var I=lr(A);return nn(I,jC(g,0,I.length))}function Rt(A,g,I,C){if(!xi(A))return A;for(var t=-1,n=(g=Vt(g,A)).length,i=n-1,r=A;null!=r&&++t<n;){var a=an(g[t]),o=I;if(t!=i){var s=r[a];(o=C?C(s,a,r):e)===e&&(o=xi(s)?s:Fe(g[t+1])?[]:{})}wC(r,a,o),r=r[a]}return A}var xt=IC?function(A,g){return IC.set(A,g),A}:Zr,wt=lI?function(A,g){return lI(A,"toString",{configurable:!0,enumerable:!1,value:xr(g),writable:!0})}:Zr;function Mt(A){return nn(lr(A))}function Zt(A,g,I){var t=-1,e=A.length;g<0&&(g=-g>e?0:e+g),(I=I>e?e:I)<0&&(I+=e),e=g>I?0:I-g>>>0,g>>>=0;for(var n=C(e);++t<e;)n[t]=A[t+g];return n}function Dt(A,g){var I;return HC(A,(function(A,C,t){return!(I=g(A,C,t))})),!!I}function Tt(A,g,I){var C=0,t=null==A?C:A.length;if("number"==typeof g&&g==g&&t<=k){for(;C<t;){var e=C+t>>>1,n=A[e];null!==n&&!Ni(n)&&(I?n<=g:n<g)?C=e+1:t=e}return t}return Ot(A,g,Zr,I)}function Ot(A,g,I,C){g=I(g);for(var t=0,n=null==A?0:A.length,i=g!=g,r=null===g,a=Ni(g),o=g===e;t<n;){var s=HI((t+n)/2),l=I(A[s]),c=l!==e,u=null===l,v=l==l,p=Ni(l);if(i)var f=C||v;else f=o?v&&(C||c):r?v&&c&&(C||!u):a?v&&c&&!u&&(C||!p):!u&&!p&&(C?l<=g:l<g);f?t=s+1:n=s}return VI(n,H)}function jt(A,g){for(var I=-1,C=A.length,t=0,e=[];++I<C;){var n=A[I],i=g?g(n):n;if(!I||!li(i,r)){var r=i;e[t++]=0===n?0:n}}return e}function Nt(A){return"number"==typeof A?A:Ni(A)?G:+A}function Et(A){if("string"==typeof A)return A;if(pi(A))return $g(A,Et)+"";if(Ni(A))return sC?sC.call(A):"";var g=A+"";return"0"==g&&1/A==-j?"-0":g}function Gt(A,g,I){var C=-1,t=qg,e=A.length,i=!0,r=[],a=r;if(I)i=!1,t=_g;else if(e>=n){var o=g?null:be(A);if(o)return MI(o);i=!1,t=dI,a=new mC}else a=g?[]:r;A:for(;++C<e;){var s=A[C],l=g?g(s):s;if(s=I||0!==s?s:0,i&&l==l){for(var c=a.length;c--;)if(a[c]===l)continue A;g&&a.push(l),r.push(s)}else t(a,l,I)||(a!==r&&a.push(l),r.push(s))}return r}function Xt(A,g){return null==(A=$e(A,g=Vt(g,A)))||delete A[an(yn(g))]}function Ht(A,g,I,C){return Rt(A,g,I(KC(A,g)),C)}function kt(A,g,I,C){for(var t=A.length,e=C?t:-1;(C?e--:++e<t)&&g(A[e],e,A););return I?Zt(A,C?0:e,C?e+1:t):Zt(A,C?e+1:0,C?t:e)}function Yt(A,g){var I=A;return I instanceof pC&&(I=I.value()),gI(g,(function(A,g){return g.func.apply(g.thisArg,AI([A],g.args))}),I)}function Wt(A,g,I){var t=A.length;if(t<2)return t?Gt(A[0]):[];for(var e=-1,n=C(t);++e<t;)for(var i=A[e],r=-1;++r<t;)r!=e&&(n[e]=XC(n[e]||i,A[r],g,I));return Gt(SC(n,1),g,I)}function Lt(A,g,I){for(var C=-1,t=A.length,n=g.length,i={};++C<t;){var r=C<n?g[C]:e;I(i,A[C],r)}return i}function St(A){return hi(A)?A:[]}function Ft(A){return"function"==typeof A?A:Zr}function Vt(A,g){return pi(A)?A:Be(A,g)?[A]:rn(Fi(A))}var Bt=yt;function Ut(A,g,I){var C=A.length;return I=I===e?C:I,!g&&I>=C?A:Zt(A,g,I)}var Jt=NI||function(A){return jg.clearTimeout(A)};function Kt(A,g){if(g)return A.slice();var I=A.length,C=Mg?Mg(I):new A.constructor(I);return A.copy(C),C}function Qt(A){var g=new A.constructor(A.byteLength);return new yg(g).set(new yg(A)),g}function qt(A,g){var I=g?Qt(A.buffer):A.buffer;return new A.constructor(I,A.byteOffset,A.length)}function _t(A,g){if(A!==g){var I=A!==e,C=null===A,t=A==A,n=Ni(A),i=g!==e,r=null===g,a=g==g,o=Ni(g);if(!r&&!o&&!n&&A>g||n&&i&&a&&!r&&!o||C&&i&&a||!I&&a||!t)return 1;if(!C&&!n&&!o&&A<g||o&&I&&t&&!C&&!n||r&&I&&t||!i&&t||!a)return-1}return 0}function $t(A,g,I,t){for(var e=-1,n=A.length,i=I.length,r=-1,a=g.length,o=FI(n-i,0),s=C(a+o),l=!t;++r<a;)s[r]=g[r];for(;++e<i;)(l||e<n)&&(s[I[e]]=A[e]);for(;o--;)s[r++]=A[e++];return s}function Ae(A,g,I,t){for(var e=-1,n=A.length,i=-1,r=I.length,a=-1,o=g.length,s=FI(n-r,0),l=C(s+o),c=!t;++e<s;)l[e]=A[e];for(var u=e;++a<o;)l[u+a]=g[a];for(;++i<r;)(c||e<n)&&(l[u+I[i]]=A[e++]);return l}function ge(A,g){var I=-1,t=A.length;for(g||(g=C(t));++I<t;)g[I]=A[I];return g}function Ie(A,g,I,C){var t=!I;I||(I={});for(var n=-1,i=g.length;++n<i;){var r=g[n],a=C?C(I[r],A[r],r,I,A):e;a===e&&(a=A[r]),t?TC(I,r,a):wC(I,r,a)}return I}function Ce(A,g){return function(I,C){var t=pi(I)?Bg:ZC,e=g?g():{};return t(I,A,Ne(C,2),e)}}function te(A){return yt((function(g,I){var C=-1,t=I.length,n=t>1?I[t-1]:e,i=t>2?I[2]:e;for(n=A.length>3&&"function"==typeof n?(t--,n):e,i&&Ve(I[0],I[1],i)&&(n=t<3?e:n,t=1),g=gg(g);++C<t;){var r=I[C];r&&A(g,r,C,n)}return g}))}function ee(A,g){return function(I,C){if(null==I)return I;if(!di(I))return A(I,C);for(var t=I.length,e=g?t:-1,n=gg(I);(g?e--:++e<t)&&!1!==C(n[e],e,n););return I}}function ne(A){return function(g,I,C){for(var t=-1,e=gg(g),n=C(g),i=n.length;i--;){var r=n[A?i:++t];if(!1===I(e[r],r,e))break}return g}}function ie(A){return function(g){var I=PI(g=Fi(g))?TI(g):e,C=I?I[0]:g.charAt(0),t=I?Ut(I,1).join(""):g.slice(1);return C[A]()+t}}function re(A){return function(g){return gI(zr(vr(g).replace(dg,"")),A,"")}}function ae(A){return function(){var g=arguments;switch(g.length){case 0:return new A;case 1:return new A(g[0]);case 2:return new A(g[0],g[1]);case 3:return new A(g[0],g[1],g[2]);case 4:return new A(g[0],g[1],g[2],g[3]);case 5:return new A(g[0],g[1],g[2],g[3],g[4]);case 6:return new A(g[0],g[1],g[2],g[3],g[4],g[5]);case 7:return new A(g[0],g[1],g[2],g[3],g[4],g[5],g[6])}var I=cC(A.prototype),C=A.apply(I,g);return xi(C)?C:I}}function oe(A){return function(g,I,C){var t=gg(g);if(!di(g)){var n=Ne(I,3);g=Cr(g),I=function(A){return n(t[A],A,t)}}var i=A(g,I,C);return i>-1?t[n?g[i]:i]:e}}function se(A){return Me((function(g){var I=g.length,C=I,t=vC.prototype.thru;for(A&&g.reverse();C--;){var n=g[C];if("function"!=typeof n)throw new tg(r);if(t&&!i&&"wrapper"==Oe(n))var i=new vC([],!0)}for(C=i?C:I;++C<I;){var a=Oe(n=g[C]),o="wrapper"==a?Te(n):e;i=o&&Ue(o[0])&&o[1]==(P|m|y|R)&&!o[4].length&&1==o[9]?i[Oe(o[0])].apply(i,o[3]):1==n.length&&Ue(n)?i[a]():i.thru(n)}return function(){var A=arguments,C=A[0];if(i&&1==A.length&&pi(C))return i.plant(C).value();for(var t=0,e=I?g[t].apply(this,A):C;++t<I;)e=g[t].call(this,e);return e}}))}function le(A,g,I,t,n,i,r,a,o,s){var l=g&P,c=g&f,u=g&d,v=g&(m|b),p=g&x,h=u?e:ae(A);return function f(){for(var d=arguments.length,m=C(d),b=d;b--;)m[b]=arguments[b];if(v)var y=je(f),z=function(A,g){for(var I=A.length,C=0;I--;)A[I]===g&&++C;return C}(m,y);if(t&&(m=$t(m,t,n,v)),i&&(m=Ae(m,i,r,v)),d-=z,v&&d<s){var P=wI(m,y);return he(A,g,le,f.placeholder,I,m,P,a,o,s-d)}var R=c?I:this,x=u?R[A]:A;return d=m.length,a?m=function(A,g){var I=A.length,C=VI(g.length,I),t=ge(A);for(;C--;){var n=g[C];A[C]=Fe(n,I)?t[n]:e}return A}(m,a):p&&d>1&&m.reverse(),l&&o<d&&(m.length=o),this&&this!==jg&&this instanceof f&&(x=h||ae(x)),x.apply(R,m)}}function ce(A,g){return function(I,C){return function(A,g,I,C){return BC(A,(function(A,t,e){g(C,I(A),t,e)})),C}(I,A,g(C),{})}}function ue(A,g){return function(I,C){var t;if(I===e&&C===e)return g;if(I!==e&&(t=I),C!==e){if(t===e)return C;"string"==typeof I||"string"==typeof C?(I=Et(I),C=Et(C)):(I=Nt(I),C=Nt(C)),t=A(I,C)}return t}}function ve(A){return Me((function(g){return g=$g(g,pI(Ne())),yt((function(I){var C=this;return A(g,(function(A){return Vg(A,C,I)}))}))}))}function pe(A,g){var I=(g=g===e?" ":Et(g)).length;if(I<2)return I?bt(g,A):g;var C=bt(g,XI(A/DI(g)));return PI(g)?Ut(TI(C),0,A).join(""):C.slice(0,A)}function fe(A){return function(g,I,t){return t&&"number"!=typeof t&&Ve(g,I,t)&&(I=t=e),g=ki(g),I===e?(I=g,g=0):I=ki(I),function(A,g,I,t){for(var e=-1,n=FI(XI((g-A)/(I||1)),0),i=C(n);n--;)i[t?n:++e]=A,A+=I;return i}(g,I,t=t===e?g<I?1:-1:ki(t),A)}}function de(A){return function(g,I){return"string"==typeof g&&"string"==typeof I||(g=Li(g),I=Li(I)),A(g,I)}}function he(A,g,I,C,t,n,i,r,a,o){var s=g&m;g|=s?y:z,(g&=~(s?z:y))&h||(g&=~(f|d));var l=[A,g,t,s?n:e,s?i:e,s?e:n,s?e:i,r,a,o],c=I.apply(e,l);return Ue(A)&&gn(c,l),c.placeholder=C,tn(c,A,g)}function me(A){var g=Ag[A];return function(A,I){if(A=Li(A),I=null==I?0:VI(Yi(I),292)){var C=(Fi(A)+"e").split("e");return+((C=(Fi(g(C[0]+"e"+(+C[1]+I)))+"e").split("e"))[0]+"e"+(+C[1]-I))}return g(A)}}var be=$I&&1/MI(new $I([,-0]))[1]==j?function(A){return new $I(A)}:Nr;function ye(A){return function(g){var I=Ye(g);return I==Q?RI(g):I==IA?ZI(g):function(A,g){return $g(g,(function(g){return[g,A[g]]}))}(g,A(g))}}function ze(A,g,I,t,n,i,a,o){var l=g&d;if(!l&&"function"!=typeof A)throw new tg(r);var c=t?t.length:0;if(c||(g&=~(y|z),t=n=e),a=a===e?a:FI(Yi(a),0),o=o===e?o:Yi(o),c-=n?n.length:0,g&z){var u=t,v=n;t=n=e}var p=l?e:Te(A),x=[A,g,I,t,n,u,v,i,a,o];if(p&&function(A,g){var I=A[1],C=g[1],t=I|C,e=t<(f|d|P),n=C==P&&I==m||C==P&&I==R&&A[7].length<=g[8]||C==(P|R)&&g[7].length<=g[8]&&I==m;if(!e&&!n)return A;C&f&&(A[2]=g[2],t|=I&f?0:h);var i=g[3];if(i){var r=A[3];A[3]=r?$t(r,i,g[4]):i,A[4]=r?wI(A[3],s):g[4]}(i=g[5])&&(r=A[5],A[5]=r?Ae(r,i,g[6]):i,A[6]=r?wI(A[5],s):g[6]);(i=g[7])&&(A[7]=i);C&P&&(A[8]=null==A[8]?g[8]:VI(A[8],g[8]));null==A[9]&&(A[9]=g[9]);A[0]=g[0],A[1]=t}(x,p),A=x[0],g=x[1],I=x[2],t=x[3],n=x[4],!(o=x[9]=x[9]===e?l?0:A.length:FI(x[9]-c,0))&&g&(m|b)&&(g&=~(m|b)),g&&g!=f)w=g==m||g==b?function(A,g,I){var t=ae(A);return function n(){for(var i=arguments.length,r=C(i),a=i,o=je(n);a--;)r[a]=arguments[a];var s=i<3&&r[0]!==o&&r[i-1]!==o?[]:wI(r,o);return(i-=s.length)<I?he(A,g,le,n.placeholder,e,r,s,e,e,I-i):Vg(this&&this!==jg&&this instanceof n?t:A,this,r)}}(A,g,o):g!=y&&g!=(f|y)||n.length?le.apply(e,x):function(A,g,I,t){var e=g&f,n=ae(A);return function g(){for(var i=-1,r=arguments.length,a=-1,o=t.length,s=C(o+r),l=this&&this!==jg&&this instanceof g?n:A;++a<o;)s[a]=t[a];for(;r--;)s[a++]=arguments[++i];return Vg(l,e?I:this,s)}}(A,g,I,t);else var w=function(A,g,I){var C=g&f,t=ae(A);return function g(){return(this&&this!==jg&&this instanceof g?t:A).apply(C?I:this,arguments)}}(A,g,I);return tn((p?xt:gn)(w,x),A,g)}function Pe(A,g,I,C){return A===e||li(A,ig[I])&&!og.call(C,I)?g:A}function Re(A,g,I,C,t,n){return xi(A)&&xi(g)&&(n.set(g,A),ut(A,g,e,Re,n),n.delete(g)),A}function xe(A){return Di(A)?e:A}function we(A,g,I,C,t,n){var i=I&v,r=A.length,a=g.length;if(r!=a&&!(i&&a>r))return!1;var o=n.get(A);if(o&&n.get(g))return o==g;var s=-1,l=!0,c=I&p?new mC:e;for(n.set(A,g),n.set(g,A);++s<r;){var u=A[s],f=g[s];if(C)var d=i?C(f,u,s,g,A,n):C(u,f,s,A,g,n);if(d!==e){if(d)continue;l=!1;break}if(c){if(!CI(g,(function(A,g){if(!dI(c,g)&&(u===A||t(u,A,I,C,n)))return c.push(g)}))){l=!1;break}}else if(u!==f&&!t(u,f,I,C,n)){l=!1;break}}return n.delete(A),n.delete(g),l}function Me(A){return Cn(_e(A,e,fn),A+"")}function Ze(A){return QC(A,Cr,He)}function De(A){return QC(A,tr,ke)}var Te=IC?function(A){return IC.get(A)}:Nr;function Oe(A){for(var g=A.name+"",I=CC[g],C=og.call(CC,g)?I.length:0;C--;){var t=I[C],e=t.func;if(null==e||e==A)return t.name}return g}function je(A){return(og.call(lC,"placeholder")?lC:A).placeholder}function Ne(){var A=lC.iteratee||Dr;return A=A===Dr?it:A,arguments.length?A(arguments[0],arguments[1]):A}function Ee(A,g){var I,C,t=A.__data__;return("string"==(C=typeof(I=g))||"number"==C||"symbol"==C||"boolean"==C?"__proto__"!==I:null===I)?t["string"==typeof g?"string":"hash"]:t.map}function Ge(A){for(var g=Cr(A),I=g.length;I--;){var C=g[I],t=A[C];g[I]=[C,t,Qe(t)]}return g}function Xe(A,g){var I=function(A,g){return null==A?e:A[g]}(A,g);return nt(I)?I:e}var He=kI?function(A){return null==A?[]:(A=gg(A),Qg(kI(A),(function(g){return Ng.call(A,g)})))}:Wr,ke=kI?function(A){for(var g=[];A;)AI(g,He(A)),A=Tg(A);return g}:Wr,Ye=qC;function We(A,g,I){for(var C=-1,t=(g=Vt(g,A)).length,e=!1;++C<t;){var n=an(g[C]);if(!(e=null!=A&&I(A,n)))break;A=A[n]}return e||++C!=t?e:!!(t=null==A?0:A.length)&&Ri(t)&&Fe(n,t)&&(pi(A)||vi(A))}function Le(A){return"function"!=typeof A.constructor||Ke(A)?{}:cC(Tg(A))}function Se(A){return pi(A)||vi(A)||!!(Xg&&A&&A[Xg])}function Fe(A,g){var I=typeof A;return!!(g=null==g?N:g)&&("number"==I||"symbol"!=I&&JA.test(A))&&A>-1&&A%1==0&&A<g}function Ve(A,g,I){if(!xi(I))return!1;var C=typeof g;return!!("number"==C?di(I)&&Fe(g,I.length):"string"==C&&g in I)&&li(I[g],A)}function Be(A,g){if(pi(A))return!1;var I=typeof A;return!("number"!=I&&"symbol"!=I&&"boolean"!=I&&null!=A&&!Ni(A))||(DA.test(A)||!ZA.test(A)||null!=g&&A in gg(g))}function Ue(A){var g=Oe(A),I=lC[g];if("function"!=typeof I||!(g in pC.prototype))return!1;if(A===I)return!0;var C=Te(I);return!!C&&A===C[0]}(QI&&Ye(new QI(new ArrayBuffer(1)))!=aA||qI&&Ye(new qI)!=Q||_I&&"[object Promise]"!=Ye(_I.resolve())||$I&&Ye(new $I)!=IA||AC&&Ye(new AC)!=nA)&&(Ye=function(A){var g=qC(A),I=g==$?A.constructor:e,C=I?on(I):"";if(C)switch(C){case tC:return aA;case eC:return Q;case nC:return"[object Promise]";case iC:return IA;case rC:return nA}return g});var Je=rg?zi:Lr;function Ke(A){var g=A&&A.constructor;return A===("function"==typeof g&&g.prototype||ig)}function Qe(A){return A==A&&!xi(A)}function qe(A,g){return function(I){return null!=I&&(I[A]===g&&(g!==e||A in gg(I)))}}function _e(A,g,I){return g=FI(g===e?A.length-1:g,0),function(){for(var t=arguments,e=-1,n=FI(t.length-g,0),i=C(n);++e<n;)i[e]=t[g+e];e=-1;for(var r=C(g+1);++e<g;)r[e]=t[e];return r[g]=I(i),Vg(A,this,r)}}function $e(A,g){return g.length<2?A:KC(A,Zt(g,0,-1))}function An(A,g){if("__proto__"!=g)return A[g]}var gn=en(xt),In=GI||function(A,g){return jg.setTimeout(A,g)},Cn=en(wt);function tn(A,g,I){var C=g+"";return Cn(A,function(A,g){var I=g.length;if(!I)return A;var C=I-1;return g[C]=(I>1?"& ":"")+g[C],g=g.join(I>2?", ":" "),A.replace(XA,"{\n/* [wrapped with "+g+"] */\n")}(C,function(A,g){return Ug(Y,(function(I){var C="_."+I[0];g&I[1]&&!qg(A,C)&&A.push(C)})),A.sort()}(function(A){var g=A.match(HA);return g?g[1].split(kA):[]}(C),I)))}function en(A){var g=0,I=0;return function(){var C=BI(),t=D-(C-I);if(I=C,t>0){if(++g>=Z)return arguments[0]}else g=0;return A.apply(e,arguments)}}function nn(A,g){var I=-1,C=A.length,t=C-1;for(g=g===e?C:g;++I<g;){var n=mt(I,t),i=A[n];A[n]=A[I],A[I]=i}return A.length=g,A}var rn=function(A){var g=ni(A,(function(A){return I.size===o&&I.clear(),A})),I=g.cache;return g}((function(A){var g=[];return 46===A.charCodeAt(0)&&g.push(""),A.replace(TA,(function(A,I,C,t){g.push(C?t.replace(WA,"$1"):I||A)})),g}));function an(A){if("string"==typeof A||Ni(A))return A;var g=A+"";return"0"==g&&1/A==-j?"-0":g}function on(A){if(null!=A){try{return ag.call(A)}catch(A){}try{return A+""}catch(A){}}return""}function sn(A){if(A instanceof pC)return A.clone();var g=new vC(A.__wrapped__,A.__chain__);return g.__actions__=ge(A.__actions__),g.__index__=A.__index__,g.__values__=A.__values__,g}var ln=yt((function(A,g){return hi(A)?XC(A,SC(g,1,hi,!0)):[]})),cn=yt((function(A,g){var I=yn(g);return hi(I)&&(I=e),hi(A)?XC(A,SC(g,1,hi,!0),Ne(I,2)):[]})),un=yt((function(A,g){var I=yn(g);return hi(I)&&(I=e),hi(A)?XC(A,SC(g,1,hi,!0),e,I):[]}));function vn(A,g,I){var C=null==A?0:A.length;if(!C)return-1;var t=null==I?0:Yi(I);return t<0&&(t=FI(C+t,0)),nI(A,Ne(g,3),t)}function pn(A,g,I){var C=null==A?0:A.length;if(!C)return-1;var t=C-1;return I!==e&&(t=Yi(I),t=I<0?FI(C+t,0):VI(t,C-1)),nI(A,Ne(g,3),t,!0)}function fn(A){return(null==A?0:A.length)?SC(A,1):[]}function dn(A){return A&&A.length?A[0]:e}var hn=yt((function(A){var g=$g(A,St);return g.length&&g[0]===A[0]?gt(g):[]})),mn=yt((function(A){var g=yn(A),I=$g(A,St);return g===yn(I)?g=e:I.pop(),I.length&&I[0]===A[0]?gt(I,Ne(g,2)):[]})),bn=yt((function(A){var g=yn(A),I=$g(A,St);return(g="function"==typeof g?g:e)&&I.pop(),I.length&&I[0]===A[0]?gt(I,e,g):[]}));function yn(A){var g=null==A?0:A.length;return g?A[g-1]:e}var zn=yt(Pn);function Pn(A,g){return A&&A.length&&g&&g.length?dt(A,g):A}var Rn=Me((function(A,g){var I=null==A?0:A.length,C=OC(A,g);return ht(A,$g(g,(function(A){return Fe(A,I)?+A:A})).sort(_t)),C}));function xn(A){return null==A?A:KI.call(A)}var wn=yt((function(A){return Gt(SC(A,1,hi,!0))})),Mn=yt((function(A){var g=yn(A);return hi(g)&&(g=e),Gt(SC(A,1,hi,!0),Ne(g,2))})),Zn=yt((function(A){var g=yn(A);return g="function"==typeof g?g:e,Gt(SC(A,1,hi,!0),e,g)}));function Dn(A){if(!A||!A.length)return[];var g=0;return A=Qg(A,(function(A){if(hi(A))return g=FI(A.length,g),!0})),vI(g,(function(g){return $g(A,sI(g))}))}function Tn(A,g){if(!A||!A.length)return[];var I=Dn(A);return null==g?I:$g(I,(function(A){return Vg(g,e,A)}))}var On=yt((function(A,g){return hi(A)?XC(A,g):[]})),jn=yt((function(A){return Wt(Qg(A,hi))})),Nn=yt((function(A){var g=yn(A);return hi(g)&&(g=e),Wt(Qg(A,hi),Ne(g,2))})),En=yt((function(A){var g=yn(A);return g="function"==typeof g?g:e,Wt(Qg(A,hi),e,g)})),Gn=yt(Dn);var Xn=yt((function(A){var g=A.length,I=g>1?A[g-1]:e;return I="function"==typeof I?(A.pop(),I):e,Tn(A,I)}));function Hn(A){var g=lC(A);return g.__chain__=!0,g}function kn(A,g){return g(A)}var Yn=Me((function(A){var g=A.length,I=g?A[0]:0,C=this.__wrapped__,t=function(g){return OC(g,A)};return!(g>1||this.__actions__.length)&&C instanceof pC&&Fe(I)?((C=C.slice(I,+I+(g?1:0))).__actions__.push({func:kn,args:[t],thisArg:e}),new vC(C,this.__chain__).thru((function(A){return g&&!A.length&&A.push(e),A}))):this.thru(t)}));var Wn=Ce((function(A,g,I){og.call(A,I)?++A[I]:TC(A,I,1)}));var Ln=oe(vn),Sn=oe(pn);function Fn(A,g){return(pi(A)?Ug:HC)(A,Ne(g,3))}function Vn(A,g){return(pi(A)?Jg:kC)(A,Ne(g,3))}var Bn=Ce((function(A,g,I){og.call(A,I)?A[I].push(g):TC(A,I,[g])}));var Un=yt((function(A,g,I){var t=-1,e="function"==typeof g,n=di(A)?C(A.length):[];return HC(A,(function(A){n[++t]=e?Vg(g,A,I):It(A,g,I)})),n})),Jn=Ce((function(A,g,I){TC(A,I,g)}));function Kn(A,g){return(pi(A)?$g:st)(A,Ne(g,3))}var Qn=Ce((function(A,g,I){A[I?0:1].push(g)}),(function(){return[[],[]]}));var qn=yt((function(A,g){if(null==A)return[];var I=g.length;return I>1&&Ve(A,g[0],g[1])?g=[]:I>2&&Ve(g[0],g[1],g[2])&&(g=[g[0]]),pt(A,SC(g,1),[])})),_n=EI||function(){return jg.Date.now()};function $n(A,g,I){return g=I?e:g,g=A&&null==g?A.length:g,ze(A,P,e,e,e,e,g)}function Ai(A,g){var I;if("function"!=typeof g)throw new tg(r);return A=Yi(A),function(){return--A>0&&(I=g.apply(this,arguments)),A<=1&&(g=e),I}}var gi=yt((function(A,g,I){var C=f;if(I.length){var t=wI(I,je(gi));C|=y}return ze(A,C,g,I,t)})),Ii=yt((function(A,g,I){var C=f|d;if(I.length){var t=wI(I,je(Ii));C|=y}return ze(g,C,A,I,t)}));function Ci(A,g,I){var C,t,n,i,a,o,s=0,l=!1,c=!1,u=!0;if("function"!=typeof A)throw new tg(r);function v(g){var I=C,n=t;return C=t=e,s=g,i=A.apply(n,I)}function p(A){var I=A-o;return o===e||I>=g||I<0||c&&A-s>=n}function f(){var A=_n();if(p(A))return d(A);a=In(f,function(A){var I=g-(A-o);return c?VI(I,n-(A-s)):I}(A))}function d(A){return a=e,u&&C?v(A):(C=t=e,i)}function h(){var A=_n(),I=p(A);if(C=arguments,t=this,o=A,I){if(a===e)return function(A){return s=A,a=In(f,g),l?v(A):i}(o);if(c)return a=In(f,g),v(o)}return a===e&&(a=In(f,g)),i}return g=Li(g)||0,xi(I)&&(l=!!I.leading,n=(c="maxWait"in I)?FI(Li(I.maxWait)||0,g):n,u="trailing"in I?!!I.trailing:u),h.cancel=function(){a!==e&&Jt(a),s=0,C=o=t=a=e},h.flush=function(){return a===e?i:d(_n())},h}var ti=yt((function(A,g){return GC(A,1,g)})),ei=yt((function(A,g,I){return GC(A,Li(g)||0,I)}));function ni(A,g){if("function"!=typeof A||null!=g&&"function"!=typeof g)throw new tg(r);var I=function(){var C=arguments,t=g?g.apply(this,C):C[0],e=I.cache;if(e.has(t))return e.get(t);var n=A.apply(this,C);return I.cache=e.set(t,n)||e,n};return I.cache=new(ni.Cache||hC),I}function ii(A){if("function"!=typeof A)throw new tg(r);return function(){var g=arguments;switch(g.length){case 0:return!A.call(this);case 1:return!A.call(this,g[0]);case 2:return!A.call(this,g[0],g[1]);case 3:return!A.call(this,g[0],g[1],g[2])}return!A.apply(this,g)}}ni.Cache=hC;var ri=Bt((function(A,g){var I=(g=1==g.length&&pi(g[0])?$g(g[0],pI(Ne())):$g(SC(g,1),pI(Ne()))).length;return yt((function(C){for(var t=-1,e=VI(C.length,I);++t<e;)C[t]=g[t].call(this,C[t]);return Vg(A,this,C)}))})),ai=yt((function(A,g){var I=wI(g,je(ai));return ze(A,y,e,g,I)})),oi=yt((function(A,g){var I=wI(g,je(oi));return ze(A,z,e,g,I)})),si=Me((function(A,g){return ze(A,R,e,e,e,g)}));function li(A,g){return A===g||A!=A&&g!=g}var ci=de(_C),ui=de((function(A,g){return A>=g})),vi=Ct(function(){return arguments}())?Ct:function(A){return wi(A)&&og.call(A,"callee")&&!Ng.call(A,"callee")},pi=C.isArray,fi=kg?pI(kg):function(A){return wi(A)&&qC(A)==rA};function di(A){return null!=A&&Ri(A.length)&&!zi(A)}function hi(A){return wi(A)&&di(A)}var mi=YI||Lr,bi=Yg?pI(Yg):function(A){return wi(A)&&qC(A)==V};function yi(A){if(!wi(A))return!1;var g=qC(A);return g==U||g==B||"string"==typeof A.message&&"string"==typeof A.name&&!Di(A)}function zi(A){if(!xi(A))return!1;var g=qC(A);return g==J||g==K||g==S||g==AA}function Pi(A){return"number"==typeof A&&A==Yi(A)}function Ri(A){return"number"==typeof A&&A>-1&&A%1==0&&A<=N}function xi(A){var g=typeof A;return null!=A&&("object"==g||"function"==g)}function wi(A){return null!=A&&"object"==typeof A}var Mi=Wg?pI(Wg):function(A){return wi(A)&&Ye(A)==Q};function Zi(A){return"number"==typeof A||wi(A)&&qC(A)==q}function Di(A){if(!wi(A)||qC(A)!=$)return!1;var g=Tg(A);if(null===g)return!0;var I=og.call(g,"constructor")&&g.constructor;return"function"==typeof I&&I instanceof I&&ag.call(I)==ug}var Ti=Lg?pI(Lg):function(A){return wi(A)&&qC(A)==gA};var Oi=Sg?pI(Sg):function(A){return wi(A)&&Ye(A)==IA};function ji(A){return"string"==typeof A||!pi(A)&&wi(A)&&qC(A)==CA}function Ni(A){return"symbol"==typeof A||wi(A)&&qC(A)==tA}var Ei=Fg?pI(Fg):function(A){return wi(A)&&Ri(A.length)&&!!xg[qC(A)]};var Gi=de(ot),Xi=de((function(A,g){return A<=g}));function Hi(A){if(!A)return[];if(di(A))return ji(A)?TI(A):ge(A);if(Hg&&A[Hg])return function(A){for(var g,I=[];!(g=A.next()).done;)I.push(g.value);return I}(A[Hg]());var g=Ye(A);return(g==Q?RI:g==IA?MI:lr)(A)}function ki(A){return A?(A=Li(A))===j||A===-j?(A<0?-1:1)*E:A==A?A:0:0===A?A:0}function Yi(A){var g=ki(A),I=g%1;return g==g?I?g-I:g:0}function Wi(A){return A?jC(Yi(A),0,X):0}function Li(A){if("number"==typeof A)return A;if(Ni(A))return G;if(xi(A)){var g="function"==typeof A.valueOf?A.valueOf():A;A=xi(g)?g+"":g}if("string"!=typeof A)return 0===A?A:+A;A=A.replace(NA,"");var I=VA.test(A);return I||UA.test(A)?Dg(A.slice(2),I?2:8):FA.test(A)?G:+A}function Si(A){return Ie(A,tr(A))}function Fi(A){return null==A?"":Et(A)}var Vi=te((function(A,g){if(Ke(g)||di(g))Ie(g,Cr(g),A);else for(var I in g)og.call(g,I)&&wC(A,I,g[I])})),Bi=te((function(A,g){Ie(g,tr(g),A)})),Ui=te((function(A,g,I,C){Ie(g,tr(g),A,C)})),Ji=te((function(A,g,I,C){Ie(g,Cr(g),A,C)})),Ki=Me(OC);var Qi=yt((function(A,g){A=gg(A);var I=-1,C=g.length,t=C>2?g[2]:e;for(t&&Ve(g[0],g[1],t)&&(C=1);++I<C;)for(var n=g[I],i=tr(n),r=-1,a=i.length;++r<a;){var o=i[r],s=A[o];(s===e||li(s,ig[o])&&!og.call(A,o))&&(A[o]=n[o])}return A})),qi=yt((function(A){return A.push(e,Re),Vg(nr,e,A)}));function _i(A,g,I){var C=null==A?e:KC(A,g);return C===e?I:C}function $i(A,g){return null!=A&&We(A,g,At)}var Ar=ce((function(A,g,I){null!=g&&"function"!=typeof g.toString&&(g=cg.call(g)),A[g]=I}),xr(Zr)),gr=ce((function(A,g,I){null!=g&&"function"!=typeof g.toString&&(g=cg.call(g)),og.call(A,g)?A[g].push(I):A[g]=[I]}),Ne),Ir=yt(It);function Cr(A){return di(A)?yC(A):rt(A)}function tr(A){return di(A)?yC(A,!0):at(A)}var er=te((function(A,g,I){ut(A,g,I)})),nr=te((function(A,g,I,C){ut(A,g,I,C)})),ir=Me((function(A,g){var I={};if(null==A)return I;var C=!1;g=$g(g,(function(g){return g=Vt(g,A),C||(C=g.length>1),g})),Ie(A,De(A),I),C&&(I=NC(I,l|c|u,xe));for(var t=g.length;t--;)Xt(I,g[t]);return I}));var rr=Me((function(A,g){return null==A?{}:function(A,g){return ft(A,g,(function(g,I){return $i(A,I)}))}(A,g)}));function ar(A,g){if(null==A)return{};var I=$g(De(A),(function(A){return[A]}));return g=Ne(g),ft(A,I,(function(A,I){return g(A,I[0])}))}var or=ye(Cr),sr=ye(tr);function lr(A){return null==A?[]:fI(A,Cr(A))}var cr=re((function(A,g,I){return g=g.toLowerCase(),A+(I?ur(g):g)}));function ur(A){return yr(Fi(A).toLowerCase())}function vr(A){return(A=Fi(A))&&A.replace(KA,bI).replace(hg,"")}var pr=re((function(A,g,I){return A+(I?"-":"")+g.toLowerCase()})),fr=re((function(A,g,I){return A+(I?" ":"")+g.toLowerCase()})),dr=ie("toLowerCase");var hr=re((function(A,g,I){return A+(I?"_":"")+g.toLowerCase()}));var mr=re((function(A,g,I){return A+(I?" ":"")+yr(g)}));var br=re((function(A,g,I){return A+(I?" ":"")+g.toUpperCase()})),yr=ie("toUpperCase");function zr(A,g,I){return A=Fi(A),(g=I?e:g)===e?function(A){return zg.test(A)}(A)?function(A){return A.match(bg)||[]}(A):function(A){return A.match(YA)||[]}(A):A.match(g)||[]}var Pr=yt((function(A,g){try{return Vg(A,e,g)}catch(A){return yi(A)?A:new _A(A)}})),Rr=Me((function(A,g){return Ug(g,(function(g){g=an(g),TC(A,g,gi(A[g],A))})),A}));function xr(A){return function(){return A}}var wr=se(),Mr=se(!0);function Zr(A){return A}function Dr(A){return it("function"==typeof A?A:NC(A,l))}var Tr=yt((function(A,g){return function(I){return It(I,A,g)}})),Or=yt((function(A,g){return function(I){return It(A,I,g)}}));function jr(A,g,I){var C=Cr(g),t=JC(g,C);null!=I||xi(g)&&(t.length||!C.length)||(I=g,g=A,A=this,t=JC(g,Cr(g)));var e=!(xi(I)&&"chain"in I&&!I.chain),n=zi(A);return Ug(t,(function(I){var C=g[I];A[I]=C,n&&(A.prototype[I]=function(){var g=this.__chain__;if(e||g){var I=A(this.__wrapped__),t=I.__actions__=ge(this.__actions__);return t.push({func:C,args:arguments,thisArg:A}),I.__chain__=g,I}return C.apply(A,AI([this.value()],arguments))})})),A}function Nr(){}var Er=ve($g),Gr=ve(Kg),Xr=ve(CI);function Hr(A){return Be(A)?sI(an(A)):function(A){return function(g){return KC(g,A)}}(A)}var kr=fe(),Yr=fe(!0);function Wr(){return[]}function Lr(){return!1}var Sr=ue((function(A,g){return A+g}),0),Fr=me("ceil"),Vr=ue((function(A,g){return A/g}),1),Br=me("floor");var Ur,Jr=ue((function(A,g){return A*g}),1),Kr=me("round"),Qr=ue((function(A,g){return A-g}),0);return lC.after=function(A,g){if("function"!=typeof g)throw new tg(r);return A=Yi(A),function(){if(--A<1)return g.apply(this,arguments)}},lC.ary=$n,lC.assign=Vi,lC.assignIn=Bi,lC.assignInWith=Ui,lC.assignWith=Ji,lC.at=Ki,lC.before=Ai,lC.bind=gi,lC.bindAll=Rr,lC.bindKey=Ii,lC.castArray=function(){if(!arguments.length)return[];var A=arguments[0];return pi(A)?A:[A]},lC.chain=Hn,lC.chunk=function(A,g,I){g=(I?Ve(A,g,I):g===e)?1:FI(Yi(g),0);var t=null==A?0:A.length;if(!t||g<1)return[];for(var n=0,i=0,r=C(XI(t/g));n<t;)r[i++]=Zt(A,n,n+=g);return r},lC.compact=function(A){for(var g=-1,I=null==A?0:A.length,C=0,t=[];++g<I;){var e=A[g];e&&(t[C++]=e)}return t},lC.concat=function(){var A=arguments.length;if(!A)return[];for(var g=C(A-1),I=arguments[0],t=A;t--;)g[t-1]=arguments[t];return AI(pi(I)?ge(I):[I],SC(g,1))},lC.cond=function(A){var g=null==A?0:A.length,I=Ne();return A=g?$g(A,(function(A){if("function"!=typeof A[1])throw new tg(r);return[I(A[0]),A[1]]})):[],yt((function(I){for(var C=-1;++C<g;){var t=A[C];if(Vg(t[0],this,I))return Vg(t[1],this,I)}}))},lC.conforms=function(A){return function(A){var g=Cr(A);return function(I){return EC(I,A,g)}}(NC(A,l))},lC.constant=xr,lC.countBy=Wn,lC.create=function(A,g){var I=cC(A);return null==g?I:DC(I,g)},lC.curry=function A(g,I,C){var t=ze(g,m,e,e,e,e,e,I=C?e:I);return t.placeholder=A.placeholder,t},lC.curryRight=function A(g,I,C){var t=ze(g,b,e,e,e,e,e,I=C?e:I);return t.placeholder=A.placeholder,t},lC.debounce=Ci,lC.defaults=Qi,lC.defaultsDeep=qi,lC.defer=ti,lC.delay=ei,lC.difference=ln,lC.differenceBy=cn,lC.differenceWith=un,lC.drop=function(A,g,I){var C=null==A?0:A.length;return C?Zt(A,(g=I||g===e?1:Yi(g))<0?0:g,C):[]},lC.dropRight=function(A,g,I){var C=null==A?0:A.length;return C?Zt(A,0,(g=C-(g=I||g===e?1:Yi(g)))<0?0:g):[]},lC.dropRightWhile=function(A,g){return A&&A.length?kt(A,Ne(g,3),!0,!0):[]},lC.dropWhile=function(A,g){return A&&A.length?kt(A,Ne(g,3),!0):[]},lC.fill=function(A,g,I,C){var t=null==A?0:A.length;return t?(I&&"number"!=typeof I&&Ve(A,g,I)&&(I=0,C=t),function(A,g,I,C){var t=A.length;for((I=Yi(I))<0&&(I=-I>t?0:t+I),(C=C===e||C>t?t:Yi(C))<0&&(C+=t),C=I>C?0:Wi(C);I<C;)A[I++]=g;return A}(A,g,I,C)):[]},lC.filter=function(A,g){return(pi(A)?Qg:LC)(A,Ne(g,3))},lC.flatMap=function(A,g){return SC(Kn(A,g),1)},lC.flatMapDeep=function(A,g){return SC(Kn(A,g),j)},lC.flatMapDepth=function(A,g,I){return I=I===e?1:Yi(I),SC(Kn(A,g),I)},lC.flatten=fn,lC.flattenDeep=function(A){return(null==A?0:A.length)?SC(A,j):[]},lC.flattenDepth=function(A,g){return(null==A?0:A.length)?SC(A,g=g===e?1:Yi(g)):[]},lC.flip=function(A){return ze(A,x)},lC.flow=wr,lC.flowRight=Mr,lC.fromPairs=function(A){for(var g=-1,I=null==A?0:A.length,C={};++g<I;){var t=A[g];C[t[0]]=t[1]}return C},lC.functions=function(A){return null==A?[]:JC(A,Cr(A))},lC.functionsIn=function(A){return null==A?[]:JC(A,tr(A))},lC.groupBy=Bn,lC.initial=function(A){return(null==A?0:A.length)?Zt(A,0,-1):[]},lC.intersection=hn,lC.intersectionBy=mn,lC.intersectionWith=bn,lC.invert=Ar,lC.invertBy=gr,lC.invokeMap=Un,lC.iteratee=Dr,lC.keyBy=Jn,lC.keys=Cr,lC.keysIn=tr,lC.map=Kn,lC.mapKeys=function(A,g){var I={};return g=Ne(g,3),BC(A,(function(A,C,t){TC(I,g(A,C,t),A)})),I},lC.mapValues=function(A,g){var I={};return g=Ne(g,3),BC(A,(function(A,C,t){TC(I,C,g(A,C,t))})),I},lC.matches=function(A){return lt(NC(A,l))},lC.matchesProperty=function(A,g){return ct(A,NC(g,l))},lC.memoize=ni,lC.merge=er,lC.mergeWith=nr,lC.method=Tr,lC.methodOf=Or,lC.mixin=jr,lC.negate=ii,lC.nthArg=function(A){return A=Yi(A),yt((function(g){return vt(g,A)}))},lC.omit=ir,lC.omitBy=function(A,g){return ar(A,ii(Ne(g)))},lC.once=function(A){return Ai(2,A)},lC.orderBy=function(A,g,I,C){return null==A?[]:(pi(g)||(g=null==g?[]:[g]),pi(I=C?e:I)||(I=null==I?[]:[I]),pt(A,g,I))},lC.over=Er,lC.overArgs=ri,lC.overEvery=Gr,lC.overSome=Xr,lC.partial=ai,lC.partialRight=oi,lC.partition=Qn,lC.pick=rr,lC.pickBy=ar,lC.property=Hr,lC.propertyOf=function(A){return function(g){return null==A?e:KC(A,g)}},lC.pull=zn,lC.pullAll=Pn,lC.pullAllBy=function(A,g,I){return A&&A.length&&g&&g.length?dt(A,g,Ne(I,2)):A},lC.pullAllWith=function(A,g,I){return A&&A.length&&g&&g.length?dt(A,g,e,I):A},lC.pullAt=Rn,lC.range=kr,lC.rangeRight=Yr,lC.rearg=si,lC.reject=function(A,g){return(pi(A)?Qg:LC)(A,ii(Ne(g,3)))},lC.remove=function(A,g){var I=[];if(!A||!A.length)return I;var C=-1,t=[],e=A.length;for(g=Ne(g,3);++C<e;){var n=A[C];g(n,C,A)&&(I.push(n),t.push(C))}return ht(A,t),I},lC.rest=function(A,g){if("function"!=typeof A)throw new tg(r);return yt(A,g=g===e?g:Yi(g))},lC.reverse=xn,lC.sampleSize=function(A,g,I){return g=(I?Ve(A,g,I):g===e)?1:Yi(g),(pi(A)?PC:Pt)(A,g)},lC.set=function(A,g,I){return null==A?A:Rt(A,g,I)},lC.setWith=function(A,g,I,C){return C="function"==typeof C?C:e,null==A?A:Rt(A,g,I,C)},lC.shuffle=function(A){return(pi(A)?RC:Mt)(A)},lC.slice=function(A,g,I){var C=null==A?0:A.length;return C?(I&&"number"!=typeof I&&Ve(A,g,I)?(g=0,I=C):(g=null==g?0:Yi(g),I=I===e?C:Yi(I)),Zt(A,g,I)):[]},lC.sortBy=qn,lC.sortedUniq=function(A){return A&&A.length?jt(A):[]},lC.sortedUniqBy=function(A,g){return A&&A.length?jt(A,Ne(g,2)):[]},lC.split=function(A,g,I){return I&&"number"!=typeof I&&Ve(A,g,I)&&(g=I=e),(I=I===e?X:I>>>0)?(A=Fi(A))&&("string"==typeof g||null!=g&&!Ti(g))&&!(g=Et(g))&&PI(A)?Ut(TI(A),0,I):A.split(g,I):[]},lC.spread=function(A,g){if("function"!=typeof A)throw new tg(r);return g=null==g?0:FI(Yi(g),0),yt((function(I){var C=I[g],t=Ut(I,0,g);return C&&AI(t,C),Vg(A,this,t)}))},lC.tail=function(A){var g=null==A?0:A.length;return g?Zt(A,1,g):[]},lC.take=function(A,g,I){return A&&A.length?Zt(A,0,(g=I||g===e?1:Yi(g))<0?0:g):[]},lC.takeRight=function(A,g,I){var C=null==A?0:A.length;return C?Zt(A,(g=C-(g=I||g===e?1:Yi(g)))<0?0:g,C):[]},lC.takeRightWhile=function(A,g){return A&&A.length?kt(A,Ne(g,3),!1,!0):[]},lC.takeWhile=function(A,g){return A&&A.length?kt(A,Ne(g,3)):[]},lC.tap=function(A,g){return g(A),A},lC.throttle=function(A,g,I){var C=!0,t=!0;if("function"!=typeof A)throw new tg(r);return xi(I)&&(C="leading"in I?!!I.leading:C,t="trailing"in I?!!I.trailing:t),Ci(A,g,{leading:C,maxWait:g,trailing:t})},lC.thru=kn,lC.toArray=Hi,lC.toPairs=or,lC.toPairsIn=sr,lC.toPath=function(A){return pi(A)?$g(A,an):Ni(A)?[A]:ge(rn(Fi(A)))},lC.toPlainObject=Si,lC.transform=function(A,g,I){var C=pi(A),t=C||mi(A)||Ei(A);if(g=Ne(g,4),null==I){var e=A&&A.constructor;I=t?C?new e:[]:xi(A)&&zi(e)?cC(Tg(A)):{}}return(t?Ug:BC)(A,(function(A,C,t){return g(I,A,C,t)})),I},lC.unary=function(A){return $n(A,1)},lC.union=wn,lC.unionBy=Mn,lC.unionWith=Zn,lC.uniq=function(A){return A&&A.length?Gt(A):[]},lC.uniqBy=function(A,g){return A&&A.length?Gt(A,Ne(g,2)):[]},lC.uniqWith=function(A,g){return g="function"==typeof g?g:e,A&&A.length?Gt(A,e,g):[]},lC.unset=function(A,g){return null==A||Xt(A,g)},lC.unzip=Dn,lC.unzipWith=Tn,lC.update=function(A,g,I){return null==A?A:Ht(A,g,Ft(I))},lC.updateWith=function(A,g,I,C){return C="function"==typeof C?C:e,null==A?A:Ht(A,g,Ft(I),C)},lC.values=lr,lC.valuesIn=function(A){return null==A?[]:fI(A,tr(A))},lC.without=On,lC.words=zr,lC.wrap=function(A,g){return ai(Ft(g),A)},lC.xor=jn,lC.xorBy=Nn,lC.xorWith=En,lC.zip=Gn,lC.zipObject=function(A,g){return Lt(A||[],g||[],wC)},lC.zipObjectDeep=function(A,g){return Lt(A||[],g||[],Rt)},lC.zipWith=Xn,lC.entries=or,lC.entriesIn=sr,lC.extend=Bi,lC.extendWith=Ui,jr(lC,lC),lC.add=Sr,lC.attempt=Pr,lC.camelCase=cr,lC.capitalize=ur,lC.ceil=Fr,lC.clamp=function(A,g,I){return I===e&&(I=g,g=e),I!==e&&(I=(I=Li(I))==I?I:0),g!==e&&(g=(g=Li(g))==g?g:0),jC(Li(A),g,I)},lC.clone=function(A){return NC(A,u)},lC.cloneDeep=function(A){return NC(A,l|u)},lC.cloneDeepWith=function(A,g){return NC(A,l|u,g="function"==typeof g?g:e)},lC.cloneWith=function(A,g){return NC(A,u,g="function"==typeof g?g:e)},lC.conformsTo=function(A,g){return null==g||EC(A,g,Cr(g))},lC.deburr=vr,lC.defaultTo=function(A,g){return null==A||A!=A?g:A},lC.divide=Vr,lC.endsWith=function(A,g,I){A=Fi(A),g=Et(g);var C=A.length,t=I=I===e?C:jC(Yi(I),0,C);return(I-=g.length)>=0&&A.slice(I,t)==g},lC.eq=li,lC.escape=function(A){return(A=Fi(A))&&RA.test(A)?A.replace(zA,yI):A},lC.escapeRegExp=function(A){return(A=Fi(A))&&jA.test(A)?A.replace(OA,"\\$&"):A},lC.every=function(A,g,I){var C=pi(A)?Kg:YC;return I&&Ve(A,g,I)&&(g=e),C(A,Ne(g,3))},lC.find=Ln,lC.findIndex=vn,lC.findKey=function(A,g){return eI(A,Ne(g,3),BC)},lC.findLast=Sn,lC.findLastIndex=pn,lC.findLastKey=function(A,g){return eI(A,Ne(g,3),UC)},lC.floor=Br,lC.forEach=Fn,lC.forEachRight=Vn,lC.forIn=function(A,g){return null==A?A:FC(A,Ne(g,3),tr)},lC.forInRight=function(A,g){return null==A?A:VC(A,Ne(g,3),tr)},lC.forOwn=function(A,g){return A&&BC(A,Ne(g,3))},lC.forOwnRight=function(A,g){return A&&UC(A,Ne(g,3))},lC.get=_i,lC.gt=ci,lC.gte=ui,lC.has=function(A,g){return null!=A&&We(A,g,$C)},lC.hasIn=$i,lC.head=dn,lC.identity=Zr,lC.includes=function(A,g,I,C){A=di(A)?A:lr(A),I=I&&!C?Yi(I):0;var t=A.length;return I<0&&(I=FI(t+I,0)),ji(A)?I<=t&&A.indexOf(g,I)>-1:!!t&&iI(A,g,I)>-1},lC.indexOf=function(A,g,I){var C=null==A?0:A.length;if(!C)return-1;var t=null==I?0:Yi(I);return t<0&&(t=FI(C+t,0)),iI(A,g,t)},lC.inRange=function(A,g,I){return g=ki(g),I===e?(I=g,g=0):I=ki(I),function(A,g,I){return A>=VI(g,I)&&A<FI(g,I)}(A=Li(A),g,I)},lC.invoke=Ir,lC.isArguments=vi,lC.isArray=pi,lC.isArrayBuffer=fi,lC.isArrayLike=di,lC.isArrayLikeObject=hi,lC.isBoolean=function(A){return!0===A||!1===A||wi(A)&&qC(A)==F},lC.isBuffer=mi,lC.isDate=bi,lC.isElement=function(A){return wi(A)&&1===A.nodeType&&!Di(A)},lC.isEmpty=function(A){if(null==A)return!0;if(di(A)&&(pi(A)||"string"==typeof A||"function"==typeof A.splice||mi(A)||Ei(A)||vi(A)))return!A.length;var g=Ye(A);if(g==Q||g==IA)return!A.size;if(Ke(A))return!rt(A).length;for(var I in A)if(og.call(A,I))return!1;return!0},lC.isEqual=function(A,g){return tt(A,g)},lC.isEqualWith=function(A,g,I){var C=(I="function"==typeof I?I:e)?I(A,g):e;return C===e?tt(A,g,e,I):!!C},lC.isError=yi,lC.isFinite=function(A){return"number"==typeof A&&WI(A)},lC.isFunction=zi,lC.isInteger=Pi,lC.isLength=Ri,lC.isMap=Mi,lC.isMatch=function(A,g){return A===g||et(A,g,Ge(g))},lC.isMatchWith=function(A,g,I){return I="function"==typeof I?I:e,et(A,g,Ge(g),I)},lC.isNaN=function(A){return Zi(A)&&A!=+A},lC.isNative=function(A){if(Je(A))throw new _A(i);return nt(A)},lC.isNil=function(A){return null==A},lC.isNull=function(A){return null===A},lC.isNumber=Zi,lC.isObject=xi,lC.isObjectLike=wi,lC.isPlainObject=Di,lC.isRegExp=Ti,lC.isSafeInteger=function(A){return Pi(A)&&A>=-N&&A<=N},lC.isSet=Oi,lC.isString=ji,lC.isSymbol=Ni,lC.isTypedArray=Ei,lC.isUndefined=function(A){return A===e},lC.isWeakMap=function(A){return wi(A)&&Ye(A)==nA},lC.isWeakSet=function(A){return wi(A)&&qC(A)==iA},lC.join=function(A,g){return null==A?"":LI.call(A,g)},lC.kebabCase=pr,lC.last=yn,lC.lastIndexOf=function(A,g,I){var C=null==A?0:A.length;if(!C)return-1;var t=C;return I!==e&&(t=(t=Yi(I))<0?FI(C+t,0):VI(t,C-1)),g==g?function(A,g,I){for(var C=I+1;C--;)if(A[C]===g)return C;return C}(A,g,t):nI(A,aI,t,!0)},lC.lowerCase=fr,lC.lowerFirst=dr,lC.lt=Gi,lC.lte=Xi,lC.max=function(A){return A&&A.length?WC(A,Zr,_C):e},lC.maxBy=function(A,g){return A&&A.length?WC(A,Ne(g,2),_C):e},lC.mean=function(A){return oI(A,Zr)},lC.meanBy=function(A,g){return oI(A,Ne(g,2))},lC.min=function(A){return A&&A.length?WC(A,Zr,ot):e},lC.minBy=function(A,g){return A&&A.length?WC(A,Ne(g,2),ot):e},lC.stubArray=Wr,lC.stubFalse=Lr,lC.stubObject=function(){return{}},lC.stubString=function(){return""},lC.stubTrue=function(){return!0},lC.multiply=Jr,lC.nth=function(A,g){return A&&A.length?vt(A,Yi(g)):e},lC.noConflict=function(){return jg._===this&&(jg._=vg),this},lC.noop=Nr,lC.now=_n,lC.pad=function(A,g,I){A=Fi(A);var C=(g=Yi(g))?DI(A):0;if(!g||C>=g)return A;var t=(g-C)/2;return pe(HI(t),I)+A+pe(XI(t),I)},lC.padEnd=function(A,g,I){A=Fi(A);var C=(g=Yi(g))?DI(A):0;return g&&C<g?A+pe(g-C,I):A},lC.padStart=function(A,g,I){A=Fi(A);var C=(g=Yi(g))?DI(A):0;return g&&C<g?pe(g-C,I)+A:A},lC.parseInt=function(A,g,I){return I||null==g?g=0:g&&(g=+g),UI(Fi(A).replace(EA,""),g||0)},lC.random=function(A,g,I){if(I&&"boolean"!=typeof I&&Ve(A,g,I)&&(g=I=e),I===e&&("boolean"==typeof g?(I=g,g=e):"boolean"==typeof A&&(I=A,A=e)),A===e&&g===e?(A=0,g=1):(A=ki(A),g===e?(g=A,A=0):g=ki(g)),A>g){var C=A;A=g,g=C}if(I||A%1||g%1){var t=JI();return VI(A+t*(g-A+Zg("1e-"+((t+"").length-1))),g)}return mt(A,g)},lC.reduce=function(A,g,I){var C=pi(A)?gI:cI,t=arguments.length<3;return C(A,Ne(g,4),I,t,HC)},lC.reduceRight=function(A,g,I){var C=pi(A)?II:cI,t=arguments.length<3;return C(A,Ne(g,4),I,t,kC)},lC.repeat=function(A,g,I){return g=(I?Ve(A,g,I):g===e)?1:Yi(g),bt(Fi(A),g)},lC.replace=function(){var A=arguments,g=Fi(A[0]);return A.length<3?g:g.replace(A[1],A[2])},lC.result=function(A,g,I){var C=-1,t=(g=Vt(g,A)).length;for(t||(t=1,A=e);++C<t;){var n=null==A?e:A[an(g[C])];n===e&&(C=t,n=I),A=zi(n)?n.call(A):n}return A},lC.round=Kr,lC.runInContext=A,lC.sample=function(A){return(pi(A)?zC:zt)(A)},lC.size=function(A){if(null==A)return 0;if(di(A))return ji(A)?DI(A):A.length;var g=Ye(A);return g==Q||g==IA?A.size:rt(A).length},lC.snakeCase=hr,lC.some=function(A,g,I){var C=pi(A)?CI:Dt;return I&&Ve(A,g,I)&&(g=e),C(A,Ne(g,3))},lC.sortedIndex=function(A,g){return Tt(A,g)},lC.sortedIndexBy=function(A,g,I){return Ot(A,g,Ne(I,2))},lC.sortedIndexOf=function(A,g){var I=null==A?0:A.length;if(I){var C=Tt(A,g);if(C<I&&li(A[C],g))return C}return-1},lC.sortedLastIndex=function(A,g){return Tt(A,g,!0)},lC.sortedLastIndexBy=function(A,g,I){return Ot(A,g,Ne(I,2),!0)},lC.sortedLastIndexOf=function(A,g){if(null==A?0:A.length){var I=Tt(A,g,!0)-1;if(li(A[I],g))return I}return-1},lC.startCase=mr,lC.startsWith=function(A,g,I){return A=Fi(A),I=null==I?0:jC(Yi(I),0,A.length),g=Et(g),A.slice(I,I+g.length)==g},lC.subtract=Qr,lC.sum=function(A){return A&&A.length?uI(A,Zr):0},lC.sumBy=function(A,g){return A&&A.length?uI(A,Ne(g,2)):0},lC.template=function(A,g,I){var C=lC.templateSettings;I&&Ve(A,g,I)&&(g=e),A=Fi(A),g=Ui({},g,C,Pe);var t,n,i=Ui({},g.imports,C.imports,Pe),r=Cr(i),a=fI(i,r),o=0,s=g.interpolate||QA,l="__p += '",c=Ig((g.escape||QA).source+"|"+s.source+"|"+(s===MA?LA:QA).source+"|"+(g.evaluate||QA).source+"|$","g"),u="//# sourceURL="+("sourceURL"in g?g.sourceURL:"lodash.templateSources["+ ++Rg+"]")+"\n";A.replace(c,(function(g,I,C,e,i,r){return C||(C=e),l+=A.slice(o,r).replace(qA,zI),I&&(t=!0,l+="' +\n__e("+I+") +\n'"),i&&(n=!0,l+="';\n"+i+";\n__p += '"),C&&(l+="' +\n((__t = ("+C+")) == null ? '' : __t) +\n'"),o=r+g.length,g})),l+="';\n";var v=g.variable;v||(l="with (obj) {\n"+l+"\n}\n"),l=(n?l.replace(hA,""):l).replace(mA,"$1").replace(bA,"$1;"),l="function("+(v||"obj")+") {\n"+(v?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(t?", __e = _.escape":"")+(n?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+l+"return __p\n}";var p=Pr((function(){return $A(r,u+"return "+l).apply(e,a)}));if(p.source=l,yi(p))throw p;return p},lC.times=function(A,g){if((A=Yi(A))<1||A>N)return[];var I=X,C=VI(A,X);g=Ne(g),A-=X;for(var t=vI(C,g);++I<A;)g(I);return t},lC.toFinite=ki,lC.toInteger=Yi,lC.toLength=Wi,lC.toLower=function(A){return Fi(A).toLowerCase()},lC.toNumber=Li,lC.toSafeInteger=function(A){return A?jC(Yi(A),-N,N):0===A?A:0},lC.toString=Fi,lC.toUpper=function(A){return Fi(A).toUpperCase()},lC.trim=function(A,g,I){if((A=Fi(A))&&(I||g===e))return A.replace(NA,"");if(!A||!(g=Et(g)))return A;var C=TI(A),t=TI(g);return Ut(C,hI(C,t),mI(C,t)+1).join("")},lC.trimEnd=function(A,g,I){if((A=Fi(A))&&(I||g===e))return A.replace(GA,"");if(!A||!(g=Et(g)))return A;var C=TI(A);return Ut(C,0,mI(C,TI(g))+1).join("")},lC.trimStart=function(A,g,I){if((A=Fi(A))&&(I||g===e))return A.replace(EA,"");if(!A||!(g=Et(g)))return A;var C=TI(A);return Ut(C,hI(C,TI(g))).join("")},lC.truncate=function(A,g){var I=w,C=M;if(xi(g)){var t="separator"in g?g.separator:t;I="length"in g?Yi(g.length):I,C="omission"in g?Et(g.omission):C}var n=(A=Fi(A)).length;if(PI(A)){var i=TI(A);n=i.length}if(I>=n)return A;var r=I-DI(C);if(r<1)return C;var a=i?Ut(i,0,r).join(""):A.slice(0,r);if(t===e)return a+C;if(i&&(r+=a.length-r),Ti(t)){if(A.slice(r).search(t)){var o,s=a;for(t.global||(t=Ig(t.source,Fi(SA.exec(t))+"g")),t.lastIndex=0;o=t.exec(s);)var l=o.index;a=a.slice(0,l===e?r:l)}}else if(A.indexOf(Et(t),r)!=r){var c=a.lastIndexOf(t);c>-1&&(a=a.slice(0,c))}return a+C},lC.unescape=function(A){return(A=Fi(A))&&PA.test(A)?A.replace(yA,OI):A},lC.uniqueId=function(A){var g=++sg;return Fi(A)+g},lC.upperCase=br,lC.upperFirst=yr,lC.each=Fn,lC.eachRight=Vn,lC.first=dn,jr(lC,(Ur={},BC(lC,(function(A,g){og.call(lC.prototype,g)||(Ur[g]=A)})),Ur),{chain:!1}),lC.VERSION="4.17.11",Ug(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(A){lC[A].placeholder=lC})),Ug(["drop","take"],(function(A,g){pC.prototype[A]=function(I){I=I===e?1:FI(Yi(I),0);var C=this.__filtered__&&!g?new pC(this):this.clone();return C.__filtered__?C.__takeCount__=VI(I,C.__takeCount__):C.__views__.push({size:VI(I,X),type:A+(C.__dir__<0?"Right":"")}),C},pC.prototype[A+"Right"]=function(g){return this.reverse()[A](g).reverse()}})),Ug(["filter","map","takeWhile"],(function(A,g){var I=g+1,C=I==T||3==I;pC.prototype[A]=function(A){var g=this.clone();return g.__iteratees__.push({iteratee:Ne(A,3),type:I}),g.__filtered__=g.__filtered__||C,g}})),Ug(["head","last"],(function(A,g){var I="take"+(g?"Right":"");pC.prototype[A]=function(){return this[I](1).value()[0]}})),Ug(["initial","tail"],(function(A,g){var I="drop"+(g?"":"Right");pC.prototype[A]=function(){return this.__filtered__?new pC(this):this[I](1)}})),pC.prototype.compact=function(){return this.filter(Zr)},pC.prototype.find=function(A){return this.filter(A).head()},pC.prototype.findLast=function(A){return this.reverse().find(A)},pC.prototype.invokeMap=yt((function(A,g){return"function"==typeof A?new pC(this):this.map((function(I){return It(I,A,g)}))})),pC.prototype.reject=function(A){return this.filter(ii(Ne(A)))},pC.prototype.slice=function(A,g){A=Yi(A);var I=this;return I.__filtered__&&(A>0||g<0)?new pC(I):(A<0?I=I.takeRight(-A):A&&(I=I.drop(A)),g!==e&&(I=(g=Yi(g))<0?I.dropRight(-g):I.take(g-A)),I)},pC.prototype.takeRightWhile=function(A){return this.reverse().takeWhile(A).reverse()},pC.prototype.toArray=function(){return this.take(X)},BC(pC.prototype,(function(A,g){var I=/^(?:filter|find|map|reject)|While$/.test(g),C=/^(?:head|last)$/.test(g),t=lC[C?"take"+("last"==g?"Right":""):g],n=C||/^find/.test(g);t&&(lC.prototype[g]=function(){var g=this.__wrapped__,i=C?[1]:arguments,r=g instanceof pC,a=i[0],o=r||pi(g),s=function(A){var g=t.apply(lC,AI([A],i));return C&&l?g[0]:g};o&&I&&"function"==typeof a&&1!=a.length&&(r=o=!1);var l=this.__chain__,c=!!this.__actions__.length,u=n&&!l,v=r&&!c;if(!n&&o){g=v?g:new pC(this);var p=A.apply(g,i);return p.__actions__.push({func:kn,args:[s],thisArg:e}),new vC(p,l)}return u&&v?A.apply(this,i):(p=this.thru(s),u?C?p.value()[0]:p.value():p)})})),Ug(["pop","push","shift","sort","splice","unshift"],(function(A){var g=eg[A],I=/^(?:push|sort|unshift)$/.test(A)?"tap":"thru",C=/^(?:pop|shift)$/.test(A);lC.prototype[A]=function(){var A=arguments;if(C&&!this.__chain__){var t=this.value();return g.apply(pi(t)?t:[],A)}return this[I]((function(I){return g.apply(pi(I)?I:[],A)}))}})),BC(pC.prototype,(function(A,g){var I=lC[g];if(I){var C=I.name+"";(CC[C]||(CC[C]=[])).push({name:g,func:I})}})),CC[le(e,d).name]=[{name:"wrapper",func:e}],pC.prototype.clone=function(){var A=new pC(this.__wrapped__);return A.__actions__=ge(this.__actions__),A.__dir__=this.__dir__,A.__filtered__=this.__filtered__,A.__iteratees__=ge(this.__iteratees__),A.__takeCount__=this.__takeCount__,A.__views__=ge(this.__views__),A},pC.prototype.reverse=function(){if(this.__filtered__){var A=new pC(this);A.__dir__=-1,A.__filtered__=!0}else(A=this.clone()).__dir__*=-1;return A},pC.prototype.value=function(){var A=this.__wrapped__.value(),g=this.__dir__,I=pi(A),C=g<0,t=I?A.length:0,e=function(A,g,I){var C=-1,t=I.length;for(;++C<t;){var e=I[C],n=e.size;switch(e.type){case"drop":A+=n;break;case"dropRight":g-=n;break;case"take":g=VI(g,A+n);break;case"takeRight":A=FI(A,g-n)}}return{start:A,end:g}}(0,t,this.__views__),n=e.start,i=e.end,r=i-n,a=C?i:n-1,o=this.__iteratees__,s=o.length,l=0,c=VI(r,this.__takeCount__);if(!I||!C&&t==r&&c==r)return Yt(A,this.__actions__);var u=[];A:for(;r--&&l<c;){for(var v=-1,p=A[a+=g];++v<s;){var f=o[v],d=f.iteratee,h=f.type,m=d(p);if(h==O)p=m;else if(!m){if(h==T)continue A;break A}}u[l++]=p}return u},lC.prototype.at=Yn,lC.prototype.chain=function(){return Hn(this)},lC.prototype.commit=function(){return new vC(this.value(),this.__chain__)},lC.prototype.next=function(){this.__values__===e&&(this.__values__=Hi(this.value()));var A=this.__index__>=this.__values__.length;return{done:A,value:A?e:this.__values__[this.__index__++]}},lC.prototype.plant=function(A){for(var g,I=this;I instanceof uC;){var C=sn(I);C.__index__=0,C.__values__=e,g?t.__wrapped__=C:g=C;var t=C;I=I.__wrapped__}return t.__wrapped__=A,g},lC.prototype.reverse=function(){var A=this.__wrapped__;if(A instanceof pC){var g=A;return this.__actions__.length&&(g=new pC(this)),(g=g.reverse()).__actions__.push({func:kn,args:[xn],thisArg:e}),new vC(g,this.__chain__)}return this.thru(xn)},lC.prototype.toJSON=lC.prototype.valueOf=lC.prototype.value=function(){return Yt(this.__wrapped__,this.__actions__)},lC.prototype.first=lC.prototype.head,Hg&&(lC.prototype[Hg]=function(){return this}),lC}();jg._=jI,(t=function(){return jI}.call(g,I,g,C))===e||(C.exports=t)}).call(this)}).call(this,I(/*! ./../webpack/buildin/global.js */6),I(/*! ./../webpack/buildin/module.js */10)(A))},
|
|
34
34
|
/*!***************************************************************!*\
|
|
35
35
|
!*** ./node_modules/@babel/runtime/helpers/classCallCheck.js ***!
|
|
36
36
|
\***************************************************************/
|
|
@@ -93,7 +93,7 @@ const t="undefined"!=typeof window?window:A.exports&&void 0!==C?C:void 0,e=funct
|
|
|
93
93
|
*
|
|
94
94
|
* @author: Jack Doyle, jack@greensock.com
|
|
95
95
|
*/
|
|
96
|
-
C.e._gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],(function(){var A,g,I,t,e=function(){C.d.call(this,"css"),this._overwriteProps.length=0,this.setRatio=e.prototype.setRatio},n=C.e._gsDefine.globals,i={},r=e.prototype=new C.d("css");r.constructor=e,e.version="1.20.5",e.API=2,e.defaultTransformPerspective=0,e.defaultSkewType="compensated",e.defaultSmoothOrigin=!0,r="px",e.suffixMap={top:r,right:r,bottom:r,left:r,width:r,height:r,fontSize:r,padding:r,margin:r,perspective:r,lineHeight:""};var a,o,s,l,c,u,v,p,f=/(?:\-|\.|\b)(\d|\.|e\-)+/g,d=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,h=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,m=/(?![+-]?\d*\.?\d+|[+-]|e[+-]\d+)[^0-9]/g,b=/(?:\d|\-|\+|=|#|\.)*/g,y=/opacity *= *([^)]*)/i,z=/opacity:([^;]*)/i,P=/alpha\(opacity *=.+?\)/i,R=/^(rgb|hsl)/,x=/([A-Z])/g,w=/-([a-z])/gi,M=/(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi,Z=function(A,g){return g.toUpperCase()},D=/(?:Left|Right|Width)/i,T=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,O=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,j=/,(?=[^\)]*(?:\(|$))/gi,N=/[\s,\(]/i,E=Math.PI/180,G=180/Math.PI,X={},H={style:{}},k=C.e.document||{createElement:function(){return H}},Y=function(A,g){return k.createElementNS?k.createElementNS(g||"http://www.w3.org/1999/xhtml",A):k.createElement(A)},W=Y("div"),L=Y("img"),S=e._internals={_specialProps:i},F=(C.e.navigator||{}).userAgent||"",V=function(){var A=F.indexOf("Android"),g=Y("a");return s=-1!==F.indexOf("Safari")&&-1===F.indexOf("Chrome")&&(-1===A||parseFloat(F.substr(A+8,2))>3),c=s&&parseFloat(F.substr(F.indexOf("Version/")+8,2))<6,l=-1!==F.indexOf("Firefox"),(/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(F)||/Trident\/.*rv:([0-9]{1,}[\.0-9]{0,})/.exec(F))&&(u=parseFloat(RegExp.$1)),!!g&&(g.style.cssText="top:1px;opacity:.55;",/^0.55/.test(g.style.opacity))}(),U=function(A){return y.test("string"==typeof A?A:(A.currentStyle?A.currentStyle.filter:A.style.filter)||"")?parseFloat(RegExp.$1)/100:1},B=function(A){C.e.console&&console.log(A)},J="",K="",Q=function(A,g){var I,C,t=(g=g||W).style;if(void 0!==t[A])return A;for(A=A.charAt(0).toUpperCase()+A.substr(1),I=["O","Moz","ms","Ms","Webkit"],C=5;--C>-1&&void 0===t[I[C]+A];);return C>=0?(J="-"+(K=3===C?"ms":I[C]).toLowerCase()+"-",K+A):null},q=("undefined"!=typeof window?window:k.defaultView||{getComputedStyle:function(){}}).getComputedStyle,_=e.getStyle=function(A,g,I,C,t){var e;return V||"opacity"!==g?(!C&&A.style[g]?e=A.style[g]:(I=I||q(A))?e=I[g]||I.getPropertyValue(g)||I.getPropertyValue(g.replace(x,"-$1").toLowerCase()):A.currentStyle&&(e=A.currentStyle[g]),null==t||e&&"none"!==e&&"auto"!==e&&"auto auto"!==e?e:t):U(A)},$=S.convertToPixels=function(A,g,I,t,n){if("px"===t||!t&&"lineHeight"!==g)return I;if("auto"===t||!I)return 0;var i,r,a,o=D.test(g),s=A,l=W.style,c=I<0,u=1===I;if(c&&(I=-I),u&&(I*=100),"lineHeight"!==g||t)if("%"===t&&-1!==g.indexOf("border"))i=I/100*(o?A.clientWidth:A.clientHeight);else{if(l.cssText="border:0 solid red;position:"+_(A,"position")+";line-height:0;","%"!==t&&s.appendChild&&"v"!==t.charAt(0)&&"rem"!==t)l[o?"borderLeftWidth":"borderTopWidth"]=I+t;else{if(s=A.parentNode||k.body,-1!==_(s,"display").indexOf("flex")&&(l.position="absolute"),r=s._gsCache,a=C.f.ticker.frame,r&&o&&r.time===a)return r.width*I/100;l[o?"width":"height"]=I+t}s.appendChild(W),i=parseFloat(W[o?"offsetWidth":"offsetHeight"]),s.removeChild(W),o&&"%"===t&&!1!==e.cacheWidths&&((r=s._gsCache=s._gsCache||{}).time=a,r.width=i/I*100),0!==i||n||(i=$(A,g,I,t,!0))}else r=q(A).lineHeight,A.style.lineHeight=I,i=parseFloat(q(A).lineHeight),A.style.lineHeight=r;return u&&(i/=100),c?-i:i},AA=S.calculateOffset=function(A,g,I){if("absolute"!==_(A,"position",I))return 0;var C="left"===g?"Left":"Top",t=_(A,"margin"+C,I);return A["offset"+C]-($(A,g,parseFloat(t),t.replace(b,""))||0)},gA=function(A,g){var I,C,t,e={};if(g=g||q(A,null))if(I=g.length)for(;--I>-1;)-1!==(t=g[I]).indexOf("-transform")&&OA!==t||(e[t.replace(w,Z)]=g.getPropertyValue(t));else for(I in g)-1!==I.indexOf("Transform")&&TA!==I||(e[I]=g[I]);else if(g=A.currentStyle||A.style)for(I in g)"string"==typeof I&&void 0===e[I]&&(e[I.replace(w,Z)]=g[I]);return V||(e.opacity=U(A)),C=VA(A,g,!1),e.rotation=C.rotation,e.skewX=C.skewX,e.scaleX=C.scaleX,e.scaleY=C.scaleY,e.x=C.x,e.y=C.y,NA&&(e.z=C.z,e.rotationX=C.rotationX,e.rotationY=C.rotationY,e.scaleZ=C.scaleZ),e.filters&&delete e.filters,e},IA=function(A,g,I,C,t){var e,n,i,r={},a=A.style;for(n in I)"cssText"!==n&&"length"!==n&&isNaN(n)&&(g[n]!==(e=I[n])||t&&t[n])&&-1===n.indexOf("Origin")&&("number"!=typeof e&&"string"!=typeof e||(r[n]="auto"!==e||"left"!==n&&"top"!==n?""!==e&&"auto"!==e&&"none"!==e||"string"!=typeof g[n]||""===g[n].replace(m,"")?e:0:AA(A,n),void 0!==a[n]&&(i=new fA(a,n,a[n],i))));if(C)for(n in C)"className"!==n&&(r[n]=C[n]);return{difs:r,firstMPT:i}},CA={width:["Left","Right"],height:["Top","Bottom"]},tA=["marginLeft","marginRight","marginTop","marginBottom"],eA=function(A,g,I){if("svg"===(A.nodeName+"").toLowerCase())return(I||q(A))[g]||0;if(A.getCTM&&LA(A))return A.getBBox()[g]||0;var C=parseFloat("width"===g?A.offsetWidth:A.offsetHeight),t=CA[g],e=t.length;for(I=I||q(A,null);--e>-1;)C-=parseFloat(_(A,"padding"+t[e],I,!0))||0,C-=parseFloat(_(A,"border"+t[e]+"Width",I,!0))||0;return C},nA=function(A,g){if("contain"===A||"auto"===A||"auto auto"===A)return A+" ";null!=A&&""!==A||(A="0 0");var I,C=A.split(" "),t=-1!==A.indexOf("left")?"0%":-1!==A.indexOf("right")?"100%":C[0],e=-1!==A.indexOf("top")?"0%":-1!==A.indexOf("bottom")?"100%":C[1];if(C.length>3&&!g){for(C=A.split(", ").join(",").split(","),A=[],I=0;I<C.length;I++)A.push(nA(C[I]));return A.join(",")}return null==e?e="center"===t?"50%":"0":"center"===e&&(e="50%"),("center"===t||isNaN(parseFloat(t))&&-1===(t+"").indexOf("="))&&(t="50%"),A=t+" "+e+(C.length>2?" "+C[2]:""),g&&(g.oxp=-1!==t.indexOf("%"),g.oyp=-1!==e.indexOf("%"),g.oxr="="===t.charAt(1),g.oyr="="===e.charAt(1),g.ox=parseFloat(t.replace(m,"")),g.oy=parseFloat(e.replace(m,"")),g.v=A),g||A},iA=function(A,g){return"function"==typeof A&&(A=A(p,v)),"string"==typeof A&&"="===A.charAt(1)?parseInt(A.charAt(0)+"1",10)*parseFloat(A.substr(2)):parseFloat(A)-parseFloat(g)||0},rA=function(A,g){return"function"==typeof A&&(A=A(p,v)),null==A?g:"string"==typeof A&&"="===A.charAt(1)?parseInt(A.charAt(0)+"1",10)*parseFloat(A.substr(2))+g:parseFloat(A)||0},aA=function(A,g,I,C){var t,e,n,i;return"function"==typeof A&&(A=A(p,v)),null==A?n=g:"number"==typeof A?n=A:(360,t=A.split("_"),e=((i="="===A.charAt(1))?parseInt(A.charAt(0)+"1",10)*parseFloat(t[0].substr(2)):parseFloat(t[0]))*(-1===A.indexOf("rad")?1:G)-(i?0:g),t.length&&(C&&(C[I]=g+e),-1!==A.indexOf("short")&&(e%=360)!==e%180&&(e=e<0?e+360:e-360),-1!==A.indexOf("_cw")&&e<0?e=(e+3599999999640)%360-360*(e/360|0):-1!==A.indexOf("ccw")&&e>0&&(e=(e-3599999999640)%360-360*(e/360|0))),n=g+e),n<1e-6&&n>-1e-6&&(n=0),n},oA={aqua:[0,255,255],lime:[0,255,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,255],navy:[0,0,128],white:[255,255,255],fuchsia:[255,0,255],olive:[128,128,0],yellow:[255,255,0],orange:[255,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[255,0,0],pink:[255,192,203],cyan:[0,255,255],transparent:[255,255,255,0]},sA=function(A,g,I){return 255*(6*(A=A<0?A+1:A>1?A-1:A)<1?g+(I-g)*A*6:A<.5?I:3*A<2?g+(I-g)*(2/3-A)*6:g)+.5|0},lA=e.parseColor=function(A,g){var I,C,t,e,n,i,r,a,o,s,l;if(A)if("number"==typeof A)I=[A>>16,A>>8&255,255&A];else{if(","===A.charAt(A.length-1)&&(A=A.substr(0,A.length-1)),oA[A])I=oA[A];else if("#"===A.charAt(0))4===A.length&&(C=A.charAt(1),t=A.charAt(2),e=A.charAt(3),A="#"+C+C+t+t+e+e),I=[(A=parseInt(A.substr(1),16))>>16,A>>8&255,255&A];else if("hsl"===A.substr(0,3))if(I=l=A.match(f),g){if(-1!==A.indexOf("="))return A.match(d)}else n=Number(I[0])%360/360,i=Number(I[1])/100,C=2*(r=Number(I[2])/100)-(t=r<=.5?r*(i+1):r+i-r*i),I.length>3&&(I[3]=Number(I[3])),I[0]=sA(n+1/3,C,t),I[1]=sA(n,C,t),I[2]=sA(n-1/3,C,t);else I=A.match(f)||oA.transparent;I[0]=Number(I[0]),I[1]=Number(I[1]),I[2]=Number(I[2]),I.length>3&&(I[3]=Number(I[3]))}else I=oA.black;return g&&!l&&(C=I[0]/255,t=I[1]/255,e=I[2]/255,r=((a=Math.max(C,t,e))+(o=Math.min(C,t,e)))/2,a===o?n=i=0:(s=a-o,i=r>.5?s/(2-a-o):s/(a+o),n=a===C?(t-e)/s+(t<e?6:0):a===t?(e-C)/s+2:(C-t)/s+4,n*=60),I[0]=n+.5|0,I[1]=100*i+.5|0,I[2]=100*r+.5|0),I},cA=function(A,g){var I,C,t,e=A.match(uA)||[],n=0,i="";if(!e.length)return A;for(I=0;I<e.length;I++)C=e[I],n+=(t=A.substr(n,A.indexOf(C,n)-n)).length+C.length,3===(C=lA(C,g)).length&&C.push(1),i+=t+(g?"hsla("+C[0]+","+C[1]+"%,"+C[2]+"%,"+C[3]:"rgba("+C.join(","))+")";return i+A.substr(n)},uA="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3}){1,2}\\b";for(r in oA)uA+="|"+r+"\\b";uA=new RegExp(uA+")","gi"),e.colorStringFilter=function(A){var g,I=A[0]+" "+A[1];uA.test(I)&&(g=-1!==I.indexOf("hsl(")||-1!==I.indexOf("hsla("),A[0]=cA(A[0],g),A[1]=cA(A[1],g)),uA.lastIndex=0},C.f.defaultStringFilter||(C.f.defaultStringFilter=e.colorStringFilter);var vA=function(A,g,I,C){if(null==A)return function(A){return A};var t,e=g?(A.match(uA)||[""])[0]:"",n=A.split(e).join("").match(h)||[],i=A.substr(0,A.indexOf(n[0])),r=")"===A.charAt(A.length-1)?")":"",a=-1!==A.indexOf(" ")?" ":",",o=n.length,s=o>0?n[0].replace(f,""):"";return o?t=g?function(A){var g,l,c,u;if("number"==typeof A)A+=s;else if(C&&j.test(A)){for(u=A.replace(j,"|").split("|"),c=0;c<u.length;c++)u[c]=t(u[c]);return u.join(",")}if(g=(A.match(uA)||[e])[0],c=(l=A.split(g).join("").match(h)||[]).length,o>c--)for(;++c<o;)l[c]=I?l[(c-1)/2|0]:n[c];return i+l.join(a)+a+g+r+(-1!==A.indexOf("inset")?" inset":"")}:function(A){var g,e,l;if("number"==typeof A)A+=s;else if(C&&j.test(A)){for(e=A.replace(j,"|").split("|"),l=0;l<e.length;l++)e[l]=t(e[l]);return e.join(",")}if(l=(g=A.match(h)||[]).length,o>l--)for(;++l<o;)g[l]=I?g[(l-1)/2|0]:n[l];return i+g.join(a)+r}:function(A){return A}},pA=function(A){return A=A.split(","),function(g,I,C,t,e,n,i){var r,a=(I+"").split(" ");for(i={},r=0;r<4;r++)i[A[r]]=a[r]=a[r]||a[(r-1)/2>>0];return t.parse(g,i,e,n)}},fA=(S._setPluginRatio=function(A){this.plugin.setRatio(A);for(var g,I,C,t,e,n=this.data,i=n.proxy,r=n.firstMPT;r;)g=i[r.v],r.r?g=r.r(g):g<1e-6&&g>-1e-6&&(g=0),r.t[r.p]=g,r=r._next;if(n.autoRotate&&(n.autoRotate.rotation=n.mod?n.mod.call(this._tween,i.rotation,this.t,this._tween):i.rotation),1===A||0===A)for(r=n.firstMPT,e=1===A?"e":"b";r;){if((I=r.t).type){if(1===I.type){for(t=I.xs0+I.s+I.xs1,C=1;C<I.l;C++)t+=I["xn"+C]+I["xs"+(C+1)];I[e]=t}}else I[e]=I.s+I.xs0;r=r._next}},function(A,g,I,C,t){this.t=A,this.p=g,this.v=I,this.r=t,C&&(C._prev=this,this._next=C)}),dA=(S._parseToProxy=function(A,g,I,C,t,e){var n,i,r,a,o,s=C,l={},c={},u=I._transform,v=X;for(I._transform=null,X=g,C=o=I.parse(A,g,C,t),X=v,e&&(I._transform=u,s&&(s._prev=null,s._prev&&(s._prev._next=null)));C&&C!==s;){if(C.type<=1&&(c[i=C.p]=C.s+C.c,l[i]=C.s,e||(a=new fA(C,"s",i,a,C.r),C.c=0),1===C.type))for(n=C.l;--n>0;)r="xn"+n,c[i=C.p+"_"+r]=C.data[r],l[i]=C[r],e||(a=new fA(C,r,i,a,C.rxp[r]));C=C._next}return{proxy:l,end:c,firstMPT:a,pt:o}},S.CSSPropTween=function(g,I,C,e,n,i,r,a,o,s,l){this.t=g,this.p=I,this.s=C,this.c=e,this.n=r||I,g instanceof dA||t.push(this.n),this.r=a?"function"==typeof a?a:Math.round:a,this.type=i||0,o&&(this.pr=o,A=!0),this.b=void 0===s?C:s,this.e=void 0===l?C+e:l,n&&(this._next=n,n._prev=this)}),hA=function(A,g,I,C,t,e){var n=new dA(A,g,I,C-I,t,-1,e);return n.b=I,n.e=n.xs0=C,n},mA=e.parseComplex=function(A,g,I,C,t,n,i,r,o,s){I=I||n||"","function"==typeof C&&(C=C(p,v)),i=new dA(A,g,0,0,i,s?2:1,null,!1,r,I,C),C+="",t&&uA.test(C+I)&&(C=[I,C],e.colorStringFilter(C),I=C[0],C=C[1]);var l,c,u,h,m,b,y,z,P,R,x,w,M,Z=I.split(", ").join(",").split(" "),D=C.split(", ").join(",").split(" "),T=Z.length,O=!1!==a;for(-1===C.indexOf(",")&&-1===I.indexOf(",")||(-1!==(C+I).indexOf("rgb")||-1!==(C+I).indexOf("hsl")?(Z=Z.join(" ").replace(j,", ").split(" "),D=D.join(" ").replace(j,", ").split(" ")):(Z=Z.join(" ").split(",").join(", ").split(" "),D=D.join(" ").split(",").join(", ").split(" ")),T=Z.length),T!==D.length&&(T=(Z=(n||"").split(" ")).length),i.plugin=o,i.setRatio=s,uA.lastIndex=0,l=0;l<T;l++)if(h=Z[l],m=D[l]+"",(z=parseFloat(h))||0===z)i.appendXtra("",z,iA(m,z),m.replace(d,""),!(!O||-1===m.indexOf("px"))&&Math.round,!0);else if(t&&uA.test(h))w=")"+((w=m.indexOf(")")+1)?m.substr(w):""),M=-1!==m.indexOf("hsl")&&V,R=m,h=lA(h,M),m=lA(m,M),(P=h.length+m.length>6)&&!V&&0===m[3]?(i["xs"+i.l]+=i.l?" transparent":"transparent",i.e=i.e.split(D[l]).join("transparent")):(V||(P=!1),M?i.appendXtra(R.substr(0,R.indexOf("hsl"))+(P?"hsla(":"hsl("),h[0],iA(m[0],h[0]),",",!1,!0).appendXtra("",h[1],iA(m[1],h[1]),"%,",!1).appendXtra("",h[2],iA(m[2],h[2]),P?"%,":"%"+w,!1):i.appendXtra(R.substr(0,R.indexOf("rgb"))+(P?"rgba(":"rgb("),h[0],m[0]-h[0],",",Math.round,!0).appendXtra("",h[1],m[1]-h[1],",",Math.round).appendXtra("",h[2],m[2]-h[2],P?",":w,Math.round),P&&(h=h.length<4?1:h[3],i.appendXtra("",h,(m.length<4?1:m[3])-h,w,!1))),uA.lastIndex=0;else if(b=h.match(f)){if(!(y=m.match(d))||y.length!==b.length)return i;for(u=0,c=0;c<b.length;c++)x=b[c],R=h.indexOf(x,u),i.appendXtra(h.substr(u,R-u),Number(x),iA(y[c],x),"",!(!O||"px"!==h.substr(R+x.length,2))&&Math.round,0===c),u=R+x.length;i["xs"+i.l]+=h.substr(u)}else i["xs"+i.l]+=i.l||i["xs"+i.l]?" "+m:m;if(-1!==C.indexOf("=")&&i.data){for(w=i.xs0+i.data.s,l=1;l<i.l;l++)w+=i["xs"+l]+i.data["xn"+l];i.e=w+i["xs"+l]}return i.l||(i.type=-1,i.xs0=i.e),i.xfirst||i},bA=9;for((r=dA.prototype).l=r.pr=0;--bA>0;)r["xn"+bA]=0,r["xs"+bA]="";r.xs0="",r._next=r._prev=r.xfirst=r.data=r.plugin=r.setRatio=r.rxp=null,r.appendXtra=function(A,g,I,C,t,e){var n=this,i=n.l;return n["xs"+i]+=e&&(i||n["xs"+i])?" "+A:A||"",I||0===i||n.plugin?(n.l++,n.type=n.setRatio?2:1,n["xs"+n.l]=C||"",i>0?(n.data["xn"+i]=g+I,n.rxp["xn"+i]=t,n["xn"+i]=g,n.plugin||(n.xfirst=new dA(n,"xn"+i,g,I,n.xfirst||n,0,n.n,t,n.pr),n.xfirst.xs0=0),n):(n.data={s:g+I},n.rxp={},n.s=g,n.c=I,n.r=t,n)):(n["xs"+i]+=g+(C||""),n)};var yA=function(A,g){g=g||{},this.p=g.prefix&&Q(A)||A,i[A]=i[this.p]=this,this.format=g.formatter||vA(g.defaultValue,g.color,g.collapsible,g.multi),g.parser&&(this.parse=g.parser),this.clrs=g.color,this.multi=g.multi,this.keyword=g.keyword,this.dflt=g.defaultValue,this.pr=g.priority||0},zA=S._registerComplexSpecialProp=function(A,g,I){"object"!=typeof g&&(g={parser:I});var C,t=A.split(","),e=g.defaultValue;for(I=I||[e],C=0;C<t.length;C++)g.prefix=0===C&&g.prefix,g.defaultValue=I[C]||e,new yA(t[C],g)},PA=S._registerPluginProp=function(A){if(!i[A]){var g=A.charAt(0).toUpperCase()+A.substr(1)+"Plugin";zA(A,{parser:function(A,I,C,t,e,r,a){var o=n.com.greensock.plugins[g];return o?(o._cssRegister(),i[C].parse(A,I,C,t,e,r,a)):(B("Error: "+g+" js file not loaded."),e)}})}};(r=yA.prototype).parseComplex=function(A,g,I,C,t,e){var n,i,r,a,o,s,l=this.keyword;if(this.multi&&(j.test(I)||j.test(g)?(i=g.replace(j,"|").split("|"),r=I.replace(j,"|").split("|")):l&&(i=[g],r=[I])),r){for(a=r.length>i.length?r.length:i.length,n=0;n<a;n++)g=i[n]=i[n]||this.dflt,I=r[n]=r[n]||this.dflt,l&&(o=g.indexOf(l))!==(s=I.indexOf(l))&&(-1===s?i[n]=i[n].split(l).join(""):-1===o&&(i[n]+=" "+l));g=i.join(", "),I=r.join(", ")}return mA(A,this.p,g,I,this.clrs,this.dflt,C,this.pr,t,e)},r.parse=function(A,g,C,t,e,n,i){return this.parseComplex(A.style,this.format(_(A,this.p,I,!1,this.dflt)),this.format(g),e,n)},e.registerSpecialProp=function(A,g,I){zA(A,{parser:function(A,C,t,e,n,i,r){var a=new dA(A,t,0,0,n,2,t,!1,I);return a.plugin=i,a.setRatio=g(A,C,e._tween,t),a},priority:I})},e.useSVGTransformAttr=!0;var RA,xA,wA,MA,ZA,DA="scaleX,scaleY,scaleZ,x,y,z,skewX,skewY,rotation,rotationX,rotationY,perspective,xPercent,yPercent".split(","),TA=Q("transform"),OA=J+"transform",jA=Q("transformOrigin"),NA=null!==Q("perspective"),EA=S.Transform=function(){this.perspective=parseFloat(e.defaultTransformPerspective)||0,this.force3D=!(!1===e.defaultForce3D||!NA)&&(e.defaultForce3D||"auto")},GA=C.e.SVGElement,XA=function(A,g,I){var C,t=k.createElementNS("http://www.w3.org/2000/svg",A),e=/([a-z])([A-Z])/g;for(C in I)t.setAttributeNS(null,C.replace(e,"$1-$2").toLowerCase(),I[C]);return g.appendChild(t),t},HA=k.documentElement||{},kA=(ZA=u||/Android/i.test(F)&&!C.e.chrome,k.createElementNS&&!ZA&&(xA=XA("svg",HA),MA=(wA=XA("rect",xA,{width:100,height:50,x:100})).getBoundingClientRect().width,wA.style[jA]="50% 50%",wA.style[TA]="scaleX(0.5)",ZA=MA===wA.getBoundingClientRect().width&&!(l&&NA),HA.removeChild(xA)),ZA),YA=function(A,g,I,C,t,n){var i,r,a,o,s,l,c,u,v,p,f,d,h,m,b=A._gsTransform,y=FA(A,!0);b&&(h=b.xOrigin,m=b.yOrigin),(!C||(i=C.split(" ")).length<2)&&(0===(c=A.getBBox()).x&&0===c.y&&c.width+c.height===0&&(c={x:parseFloat(A.hasAttribute("x")?A.getAttribute("x"):A.hasAttribute("cx")?A.getAttribute("cx"):0)||0,y:parseFloat(A.hasAttribute("y")?A.getAttribute("y"):A.hasAttribute("cy")?A.getAttribute("cy"):0)||0,width:0,height:0}),i=[(-1!==(g=nA(g).split(" "))[0].indexOf("%")?parseFloat(g[0])/100*c.width:parseFloat(g[0]))+c.x,(-1!==g[1].indexOf("%")?parseFloat(g[1])/100*c.height:parseFloat(g[1]))+c.y]),I.xOrigin=o=parseFloat(i[0]),I.yOrigin=s=parseFloat(i[1]),C&&y!==SA&&(l=y[0],c=y[1],u=y[2],v=y[3],p=y[4],f=y[5],(d=l*v-c*u)&&(r=o*(v/d)+s*(-u/d)+(u*f-v*p)/d,a=o*(-c/d)+s*(l/d)-(l*f-c*p)/d,o=I.xOrigin=i[0]=r,s=I.yOrigin=i[1]=a)),b&&(n&&(I.xOffset=b.xOffset,I.yOffset=b.yOffset,b=I),t||!1!==t&&!1!==e.defaultSmoothOrigin?(r=o-h,a=s-m,b.xOffset+=r*y[0]+a*y[2]-r,b.yOffset+=r*y[1]+a*y[3]-a):b.xOffset=b.yOffset=0),n||A.setAttribute("data-svg-origin",i.join(" "))},WA=function(A){var g,I=Y("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),C=this.parentNode,t=this.nextSibling,e=this.style.cssText;if(HA.appendChild(I),I.appendChild(this),this.style.display="block",A)try{g=this.getBBox(),this._originalGetBBox=this.getBBox,this.getBBox=WA}catch(A){}else this._originalGetBBox&&(g=this._originalGetBBox());return t?C.insertBefore(this,t):C.appendChild(this),HA.removeChild(I),this.style.cssText=e,g},LA=function(A){return!(!GA||!A.getCTM||A.parentNode&&!A.ownerSVGElement||!function(A){try{return A.getBBox()}catch(g){return WA.call(A,!0)}}(A))},SA=[1,0,0,1,0,0],FA=function(A,g){var I,C,t,e,n,i,r=A._gsTransform||new EA,a=A.style;if(TA?C=_(A,OA,null,!0):A.currentStyle&&(C=(C=A.currentStyle.filter.match(T))&&4===C.length?[C[0].substr(4),Number(C[2].substr(4)),Number(C[1].substr(4)),C[3].substr(4),r.x||0,r.y||0].join(","):""),I=!C||"none"===C||"matrix(1, 0, 0, 1, 0, 0)"===C,!TA||!(i=!q(A)||"none"===q(A).display)&&A.parentNode||(i&&(e=a.display,a.display="block"),A.parentNode||(n=1,HA.appendChild(A)),I=!(C=_(A,OA,null,!0))||"none"===C||"matrix(1, 0, 0, 1, 0, 0)"===C,e?a.display=e:i&&KA(a,"display"),n&&HA.removeChild(A)),(r.svg||A.getCTM&&LA(A))&&(I&&-1!==(a[TA]+"").indexOf("matrix")&&(C=a[TA],I=0),t=A.getAttribute("transform"),I&&t&&(C="matrix("+(t=A.transform.baseVal.consolidate().matrix).a+","+t.b+","+t.c+","+t.d+","+t.e+","+t.f+")",I=0)),I)return SA;for(t=(C||"").match(f)||[],bA=t.length;--bA>-1;)e=Number(t[bA]),t[bA]=(n=e-(e|=0))?(1e5*n+(n<0?-.5:.5)|0)/1e5+e:e;return g&&t.length>6?[t[0],t[1],t[4],t[5],t[12],t[13]]:t},VA=S.getTransform=function(A,g,I,t){if(A._gsTransform&&I&&!t)return A._gsTransform;var n,i,r,a,o,s,l=I&&A._gsTransform||new EA,c=l.scaleX<0,u=NA&&(parseFloat(_(A,jA,g,!1,"0 0 0").split(" ")[2])||l.zOrigin)||0,v=parseFloat(e.defaultTransformPerspective)||0;if(l.svg=!(!A.getCTM||!LA(A)),l.svg&&(YA(A,_(A,jA,g,!1,"50% 50%")+"",l,A.getAttribute("data-svg-origin")),RA=e.useSVGTransformAttr||kA),(n=FA(A))!==SA){if(16===n.length){var p,f,d,h,m,b=n[0],y=n[1],z=n[2],P=n[3],R=n[4],x=n[5],w=n[6],M=n[7],Z=n[8],D=n[9],T=n[10],O=n[12],j=n[13],N=n[14],E=n[11],X=Math.atan2(w,T);l.zOrigin&&(O=Z*(N=-l.zOrigin)-n[12],j=D*N-n[13],N=T*N+l.zOrigin-n[14]),l.rotationX=X*G,X&&(p=R*(h=Math.cos(-X))+Z*(m=Math.sin(-X)),f=x*h+D*m,d=w*h+T*m,Z=R*-m+Z*h,D=x*-m+D*h,T=w*-m+T*h,E=M*-m+E*h,R=p,x=f,w=d),X=Math.atan2(-z,T),l.rotationY=X*G,X&&(f=y*(h=Math.cos(-X))-D*(m=Math.sin(-X)),d=z*h-T*m,D=y*m+D*h,T=z*m+T*h,E=P*m+E*h,b=p=b*h-Z*m,y=f,z=d),X=Math.atan2(y,b),l.rotation=X*G,X&&(p=b*(h=Math.cos(X))+y*(m=Math.sin(X)),f=R*h+x*m,d=Z*h+D*m,y=y*h-b*m,x=x*h-R*m,D=D*h-Z*m,b=p,R=f,Z=d),l.rotationX&&Math.abs(l.rotationX)+Math.abs(l.rotation)>359.9&&(l.rotationX=l.rotation=0,l.rotationY=180-l.rotationY),X=Math.atan2(R,x),l.scaleX=(1e5*Math.sqrt(b*b+y*y+z*z)+.5|0)/1e5,l.scaleY=(1e5*Math.sqrt(x*x+w*w)+.5|0)/1e5,l.scaleZ=(1e5*Math.sqrt(Z*Z+D*D+T*T)+.5|0)/1e5,b/=l.scaleX,R/=l.scaleY,y/=l.scaleX,x/=l.scaleY,Math.abs(X)>2e-5?(l.skewX=X*G,R=0,"simple"!==l.skewType&&(l.scaleY*=1/Math.cos(X))):l.skewX=0,l.perspective=E?1/(E<0?-E:E):0,l.x=O,l.y=j,l.z=N,l.svg&&(l.x-=l.xOrigin-(l.xOrigin*b-l.yOrigin*R),l.y-=l.yOrigin-(l.yOrigin*y-l.xOrigin*x))}else if(!NA||t||!n.length||l.x!==n[4]||l.y!==n[5]||!l.rotationX&&!l.rotationY){var H=n.length>=6,k=H?n[0]:1,Y=n[1]||0,W=n[2]||0,L=H?n[3]:1;l.x=n[4]||0,l.y=n[5]||0,r=Math.sqrt(k*k+Y*Y),a=Math.sqrt(L*L+W*W),o=k||Y?Math.atan2(Y,k)*G:l.rotation||0,s=W||L?Math.atan2(W,L)*G+o:l.skewX||0,l.scaleX=r,l.scaleY=a,l.rotation=o,l.skewX=s,NA&&(l.rotationX=l.rotationY=l.z=0,l.perspective=v,l.scaleZ=1),l.svg&&(l.x-=l.xOrigin-(l.xOrigin*k+l.yOrigin*W),l.y-=l.yOrigin-(l.xOrigin*Y+l.yOrigin*L))}for(i in Math.abs(l.skewX)>90&&Math.abs(l.skewX)<270&&(c?(l.scaleX*=-1,l.skewX+=l.rotation<=0?180:-180,l.rotation+=l.rotation<=0?180:-180):(l.scaleY*=-1,l.skewX+=l.skewX<=0?180:-180)),l.zOrigin=u,l)l[i]<2e-5&&l[i]>-2e-5&&(l[i]=0)}return I&&(A._gsTransform=l,l.svg&&(RA&&A.style[TA]?C.f.delayedCall(.001,(function(){KA(A.style,TA)})):!RA&&A.getAttribute("transform")&&C.f.delayedCall(.001,(function(){A.removeAttribute("transform")})))),l},UA=function(A){var g,I,C=this.data,t=-C.rotation*E,e=t+C.skewX*E,n=(Math.cos(t)*C.scaleX*1e5|0)/1e5,i=(Math.sin(t)*C.scaleX*1e5|0)/1e5,r=(Math.sin(e)*-C.scaleY*1e5|0)/1e5,a=(Math.cos(e)*C.scaleY*1e5|0)/1e5,o=this.t.style,s=this.t.currentStyle;if(s){I=i,i=-r,r=-I,g=s.filter,o.filter="";var l,c,v=this.t.offsetWidth,p=this.t.offsetHeight,f="absolute"!==s.position,d="progid:DXImageTransform.Microsoft.Matrix(M11="+n+", M12="+i+", M21="+r+", M22="+a,h=C.x+v*C.xPercent/100,m=C.y+p*C.yPercent/100;if(null!=C.ox&&(h+=(l=(C.oxp?v*C.ox*.01:C.ox)-v/2)-(l*n+(c=(C.oyp?p*C.oy*.01:C.oy)-p/2)*i),m+=c-(l*r+c*a)),d+=f?", Dx="+((l=v/2)-(l*n+(c=p/2)*i)+h)+", Dy="+(c-(l*r+c*a)+m)+")":", sizingMethod='auto expand')",-1!==g.indexOf("DXImageTransform.Microsoft.Matrix(")?o.filter=g.replace(O,d):o.filter=d+" "+g,0!==A&&1!==A||1===n&&0===i&&0===r&&1===a&&(f&&-1===d.indexOf("Dx=0, Dy=0")||y.test(g)&&100!==parseFloat(RegExp.$1)||-1===g.indexOf(g.indexOf("Alpha"))&&o.removeAttribute("filter")),!f){var z,P,R,x=u<8?1:-1;for(l=C.ieOffsetX||0,c=C.ieOffsetY||0,C.ieOffsetX=Math.round((v-((n<0?-n:n)*v+(i<0?-i:i)*p))/2+h),C.ieOffsetY=Math.round((p-((a<0?-a:a)*p+(r<0?-r:r)*v))/2+m),bA=0;bA<4;bA++)R=(I=-1!==(z=s[P=tA[bA]]).indexOf("px")?parseFloat(z):$(this.t,P,parseFloat(z),z.replace(b,""))||0)!==C[P]?bA<2?-C.ieOffsetX:-C.ieOffsetY:bA<2?l-C.ieOffsetX:c-C.ieOffsetY,o[P]=(C[P]=Math.round(I-R*(0===bA||2===bA?1:x)))+"px"}}},BA=S.set3DTransformRatio=S.setTransformRatio=function(A){var g,I,C,t,e,n,i,r,a,o,s,c,u,v,p,f,d,h,m,b,y=this.data,z=this.t.style,P=y.rotation,R=y.rotationX,x=y.rotationY,w=y.scaleX,M=y.scaleY,Z=y.scaleZ,D=y.x,T=y.y,O=y.z,j=y.svg,N=y.perspective,G=y.force3D,X=y.skewY,H=y.skewX;if(X&&(H+=X,P+=X),!((1!==A&&0!==A||"auto"!==G||this.tween._totalTime!==this.tween._totalDuration&&this.tween._totalTime)&&G||O||N||x||R||1!==Z)||RA&&j||!NA)P||H||j?(P*=E,b=H*E,1e5,I=Math.cos(P)*w,e=Math.sin(P)*w,C=Math.sin(P-b)*-M,n=Math.cos(P-b)*M,b&&"simple"===y.skewType&&(g=Math.tan(b-X*E),C*=g=Math.sqrt(1+g*g),n*=g,X&&(g=Math.tan(X*E),I*=g=Math.sqrt(1+g*g),e*=g)),j&&(D+=y.xOrigin-(y.xOrigin*I+y.yOrigin*C)+y.xOffset,T+=y.yOrigin-(y.xOrigin*e+y.yOrigin*n)+y.yOffset,RA&&(y.xPercent||y.yPercent)&&(p=this.t.getBBox(),D+=.01*y.xPercent*p.width,T+=.01*y.yPercent*p.height),D<(p=1e-6)&&D>-p&&(D=0),T<p&&T>-p&&(T=0)),m=(1e5*I|0)/1e5+","+(1e5*e|0)/1e5+","+(1e5*C|0)/1e5+","+(1e5*n|0)/1e5+","+D+","+T+")",j&&RA?this.t.setAttribute("transform","matrix("+m):z[TA]=(y.xPercent||y.yPercent?"translate("+y.xPercent+"%,"+y.yPercent+"%) matrix(":"matrix(")+m):z[TA]=(y.xPercent||y.yPercent?"translate("+y.xPercent+"%,"+y.yPercent+"%) matrix(":"matrix(")+w+",0,0,"+M+","+D+","+T+")";else{if(l&&(w<(p=1e-4)&&w>-p&&(w=Z=2e-5),M<p&&M>-p&&(M=Z=2e-5),!N||y.z||y.rotationX||y.rotationY||(N=0)),P||H)P*=E,f=I=Math.cos(P),d=e=Math.sin(P),H&&(P-=H*E,f=Math.cos(P),d=Math.sin(P),"simple"===y.skewType&&(g=Math.tan((H-X)*E),f*=g=Math.sqrt(1+g*g),d*=g,y.skewY&&(g=Math.tan(X*E),I*=g=Math.sqrt(1+g*g),e*=g))),C=-d,n=f;else{if(!(x||R||1!==Z||N||j))return void(z[TA]=(y.xPercent||y.yPercent?"translate("+y.xPercent+"%,"+y.yPercent+"%) translate3d(":"translate3d(")+D+"px,"+T+"px,"+O+"px)"+(1!==w||1!==M?" scale("+w+","+M+")":""));I=n=1,C=e=0}o=1,t=i=r=a=s=c=0,u=N?-1/N:0,v=y.zOrigin,p=1e-6,",","0",(P=x*E)&&(f=Math.cos(P),r=-(d=Math.sin(P)),s=u*-d,t=I*d,i=e*d,o=f,u*=f,I*=f,e*=f),(P=R*E)&&(g=C*(f=Math.cos(P))+t*(d=Math.sin(P)),h=n*f+i*d,a=o*d,c=u*d,t=C*-d+t*f,i=n*-d+i*f,o*=f,u*=f,C=g,n=h),1!==Z&&(t*=Z,i*=Z,o*=Z,u*=Z),1!==M&&(C*=M,n*=M,a*=M,c*=M),1!==w&&(I*=w,e*=w,r*=w,s*=w),(v||j)&&(v&&(D+=t*-v,T+=i*-v,O+=o*-v+v),j&&(D+=y.xOrigin-(y.xOrigin*I+y.yOrigin*C)+y.xOffset,T+=y.yOrigin-(y.xOrigin*e+y.yOrigin*n)+y.yOffset),D<p&&D>-p&&(D="0"),T<p&&T>-p&&(T="0"),O<p&&O>-p&&(O=0)),m=y.xPercent||y.yPercent?"translate("+y.xPercent+"%,"+y.yPercent+"%) matrix3d(":"matrix3d(",m+=(I<p&&I>-p?"0":I)+","+(e<p&&e>-p?"0":e)+","+(r<p&&r>-p?"0":r),m+=","+(s<p&&s>-p?"0":s)+","+(C<p&&C>-p?"0":C)+","+(n<p&&n>-p?"0":n),R||x||1!==Z?(m+=","+(a<p&&a>-p?"0":a)+","+(c<p&&c>-p?"0":c)+","+(t<p&&t>-p?"0":t),m+=","+(i<p&&i>-p?"0":i)+","+(o<p&&o>-p?"0":o)+","+(u<p&&u>-p?"0":u)+","):m+=",0,0,0,0,1,0,",m+=D+","+T+","+O+","+(N?1+-O/N:1)+")",z[TA]=m}};(r=EA.prototype).x=r.y=r.z=r.skewX=r.skewY=r.rotation=r.rotationX=r.rotationY=r.zOrigin=r.xPercent=r.yPercent=r.xOffset=r.yOffset=0,r.scaleX=r.scaleY=r.scaleZ=1,zA("transform,scale,scaleX,scaleY,scaleZ,x,y,z,rotation,rotationX,rotationY,rotationZ,skewX,skewY,shortRotation,shortRotationX,shortRotationY,shortRotationZ,transformOrigin,svgOrigin,transformPerspective,directionalRotation,parseTransform,force3D,skewType,xPercent,yPercent,smoothOrigin",{parser:function(A,g,C,t,n,i,r){if(t._lastParsedTransform===r)return n;t._lastParsedTransform=r;var a,o=r.scale&&"function"==typeof r.scale?r.scale:0;"function"==typeof r[C]&&(a=r[C],r[C]=g),o&&(r.scale=o(p,A));var s,l,c,u,f,d,h,m,b,y=A._gsTransform,z=A.style,P=DA.length,R=r,x={},w=VA(A,I,!0,R.parseTransform),M=R.transform&&("function"==typeof R.transform?R.transform(p,v):R.transform);if(w.skewType=R.skewType||w.skewType||e.defaultSkewType,t._transform=w,M&&"string"==typeof M&&TA)(l=W.style)[TA]=M,l.display="block",l.position="absolute",-1!==M.indexOf("%")&&(l.width=_(A,"width"),l.height=_(A,"height")),k.body.appendChild(W),s=VA(W,null,!1),"simple"===w.skewType&&(s.scaleY*=Math.cos(s.skewX*E)),w.svg&&(d=w.xOrigin,h=w.yOrigin,s.x-=w.xOffset,s.y-=w.yOffset,(R.transformOrigin||R.svgOrigin)&&(M={},YA(A,nA(R.transformOrigin),M,R.svgOrigin,R.smoothOrigin,!0),d=M.xOrigin,h=M.yOrigin,s.x-=M.xOffset-w.xOffset,s.y-=M.yOffset-w.yOffset),(d||h)&&(m=FA(W,!0),s.x-=d-(d*m[0]+h*m[2]),s.y-=h-(d*m[1]+h*m[3]))),k.body.removeChild(W),s.perspective||(s.perspective=w.perspective),null!=R.xPercent&&(s.xPercent=rA(R.xPercent,w.xPercent)),null!=R.yPercent&&(s.yPercent=rA(R.yPercent,w.yPercent));else if("object"==typeof R){if(s={scaleX:rA(null!=R.scaleX?R.scaleX:R.scale,w.scaleX),scaleY:rA(null!=R.scaleY?R.scaleY:R.scale,w.scaleY),scaleZ:rA(R.scaleZ,w.scaleZ),x:rA(R.x,w.x),y:rA(R.y,w.y),z:rA(R.z,w.z),xPercent:rA(R.xPercent,w.xPercent),yPercent:rA(R.yPercent,w.yPercent),perspective:rA(R.transformPerspective,w.perspective)},null!=(f=R.directionalRotation))if("object"==typeof f)for(l in f)R[l]=f[l];else R.rotation=f;"string"==typeof R.x&&-1!==R.x.indexOf("%")&&(s.x=0,s.xPercent=rA(R.x,w.xPercent)),"string"==typeof R.y&&-1!==R.y.indexOf("%")&&(s.y=0,s.yPercent=rA(R.y,w.yPercent)),s.rotation=aA("rotation"in R?R.rotation:"shortRotation"in R?R.shortRotation+"_short":"rotationZ"in R?R.rotationZ:w.rotation,w.rotation,"rotation",x),NA&&(s.rotationX=aA("rotationX"in R?R.rotationX:"shortRotationX"in R?R.shortRotationX+"_short":w.rotationX||0,w.rotationX,"rotationX",x),s.rotationY=aA("rotationY"in R?R.rotationY:"shortRotationY"in R?R.shortRotationY+"_short":w.rotationY||0,w.rotationY,"rotationY",x)),s.skewX=aA(R.skewX,w.skewX),s.skewY=aA(R.skewY,w.skewY)}for(NA&&null!=R.force3D&&(w.force3D=R.force3D,u=!0),(c=w.force3D||w.z||w.rotationX||w.rotationY||s.z||s.rotationX||s.rotationY||s.perspective)||null==R.scale||(s.scaleZ=1);--P>-1;)((M=s[b=DA[P]]-w[b])>1e-6||M<-1e-6||null!=R[b]||null!=X[b])&&(u=!0,n=new dA(w,b,w[b],M,n),b in x&&(n.e=x[b]),n.xs0=0,n.plugin=i,t._overwriteProps.push(n.n));return M=R.transformOrigin,w.svg&&(M||R.svgOrigin)&&(d=w.xOffset,h=w.yOffset,YA(A,nA(M),s,R.svgOrigin,R.smoothOrigin),n=hA(w,"xOrigin",(y?w:s).xOrigin,s.xOrigin,n,"transformOrigin"),n=hA(w,"yOrigin",(y?w:s).yOrigin,s.yOrigin,n,"transformOrigin"),d===w.xOffset&&h===w.yOffset||(n=hA(w,"xOffset",y?d:w.xOffset,w.xOffset,n,"transformOrigin"),n=hA(w,"yOffset",y?h:w.yOffset,w.yOffset,n,"transformOrigin")),M="0px 0px"),(M||NA&&c&&w.zOrigin)&&(TA?(u=!0,b=jA,M=(M||_(A,b,I,!1,"50% 50%"))+"",(n=new dA(z,b,0,0,n,-1,"transformOrigin")).b=z[b],n.plugin=i,NA?(l=w.zOrigin,M=M.split(" "),w.zOrigin=(M.length>2&&(0===l||"0px"!==M[2])?parseFloat(M[2]):l)||0,n.xs0=n.e=M[0]+" "+(M[1]||"50%")+" 0px",(n=new dA(w,"zOrigin",0,0,n,-1,n.n)).b=l,n.xs0=n.e=w.zOrigin):n.xs0=n.e=M):nA(M+"",w)),u&&(t._transformType=w.svg&&RA||!c&&3!==this._transformType?2:3),a&&(r[C]=a),o&&(r.scale=o),n},prefix:!0}),zA("boxShadow",{defaultValue:"0px 0px 0px 0px #999",prefix:!0,color:!0,multi:!0,keyword:"inset"}),zA("borderRadius",{defaultValue:"0px",parser:function(A,C,t,e,n,i){C=this.format(C);var r,a,o,s,l,c,u,v,p,f,d,h,m,b,y,z,P=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],R=A.style;for(p=parseFloat(A.offsetWidth),f=parseFloat(A.offsetHeight),r=C.split(" "),a=0;a<P.length;a++)this.p.indexOf("border")&&(P[a]=Q(P[a])),-1!==(l=s=_(A,P[a],I,!1,"0px")).indexOf(" ")&&(s=l.split(" "),l=s[0],s=s[1]),c=o=r[a],u=parseFloat(l),h=l.substr((u+"").length),(m="="===c.charAt(1))?(v=parseInt(c.charAt(0)+"1",10),c=c.substr(2),v*=parseFloat(c),d=c.substr((v+"").length-(v<0?1:0))||""):(v=parseFloat(c),d=c.substr((v+"").length)),""===d&&(d=g[t]||h),d!==h&&(b=$(A,"borderLeft",u,h),y=$(A,"borderTop",u,h),"%"===d?(l=b/p*100+"%",s=y/f*100+"%"):"em"===d?(l=b/(z=$(A,"borderLeft",1,"em"))+"em",s=y/z+"em"):(l=b+"px",s=y+"px"),m&&(c=parseFloat(l)+v+d,o=parseFloat(s)+v+d)),n=mA(R,P[a],l+" "+s,c+" "+o,!1,"0px",n);return n},prefix:!0,formatter:vA("0px 0px 0px 0px",!1,!0)}),zA("borderBottomLeftRadius,borderBottomRightRadius,borderTopLeftRadius,borderTopRightRadius",{defaultValue:"0px",parser:function(A,g,C,t,e,n){return mA(A.style,C,this.format(_(A,C,I,!1,"0px 0px")),this.format(g),!1,"0px",e)},prefix:!0,formatter:vA("0px 0px",!1,!0)}),zA("backgroundPosition",{defaultValue:"0 0",parser:function(A,g,C,t,e,n){var i,r,a,o,s,l,c="background-position",v=I||q(A,null),p=this.format((v?u?v.getPropertyValue(c+"-x")+" "+v.getPropertyValue(c+"-y"):v.getPropertyValue(c):A.currentStyle.backgroundPositionX+" "+A.currentStyle.backgroundPositionY)||"0 0"),f=this.format(g);if(-1!==p.indexOf("%")!=(-1!==f.indexOf("%"))&&f.split(",").length<2&&(l=_(A,"backgroundImage").replace(M,""))&&"none"!==l){for(i=p.split(" "),r=f.split(" "),L.setAttribute("src",l),a=2;--a>-1;)(o=-1!==(p=i[a]).indexOf("%"))!==(-1!==r[a].indexOf("%"))&&(s=0===a?A.offsetWidth-L.width:A.offsetHeight-L.height,i[a]=o?parseFloat(p)/100*s+"px":parseFloat(p)/s*100+"%");p=i.join(" ")}return this.parseComplex(A.style,p,f,e,n)},formatter:nA}),zA("backgroundSize",{defaultValue:"0 0",formatter:function(A){return"co"===(A+="").substr(0,2)?A:nA(-1===A.indexOf(" ")?A+" "+A:A)}}),zA("perspective",{defaultValue:"0px",prefix:!0}),zA("perspectiveOrigin",{defaultValue:"50% 50%",prefix:!0}),zA("transformStyle",{prefix:!0}),zA("backfaceVisibility",{prefix:!0}),zA("userSelect",{prefix:!0}),zA("margin",{parser:pA("marginTop,marginRight,marginBottom,marginLeft")}),zA("padding",{parser:pA("paddingTop,paddingRight,paddingBottom,paddingLeft")}),zA("clip",{defaultValue:"rect(0px,0px,0px,0px)",parser:function(A,g,C,t,e,n){var i,r,a;return u<9?(r=A.currentStyle,a=u<8?" ":",",i="rect("+r.clipTop+a+r.clipRight+a+r.clipBottom+a+r.clipLeft+")",g=this.format(g).split(",").join(a)):(i=this.format(_(A,this.p,I,!1,this.dflt)),g=this.format(g)),this.parseComplex(A.style,i,g,e,n)}}),zA("textShadow",{defaultValue:"0px 0px 0px #999",color:!0,multi:!0}),zA("autoRound,strictUnits",{parser:function(A,g,I,C,t){return t}}),zA("border",{defaultValue:"0px solid #000",parser:function(A,g,C,t,e,n){var i=_(A,"borderTopWidth",I,!1,"0px"),r=this.format(g).split(" "),a=r[0].replace(b,"");return"px"!==a&&(i=parseFloat(i)/$(A,"borderTopWidth",1,a)+a),this.parseComplex(A.style,this.format(i+" "+_(A,"borderTopStyle",I,!1,"solid")+" "+_(A,"borderTopColor",I,!1,"#000")),r.join(" "),e,n)},color:!0,formatter:function(A){var g=A.split(" ");return g[0]+" "+(g[1]||"solid")+" "+(A.match(uA)||["#000"])[0]}}),zA("borderWidth",{parser:pA("borderTopWidth,borderRightWidth,borderBottomWidth,borderLeftWidth")}),zA("float,cssFloat,styleFloat",{parser:function(A,g,I,C,t,e){var n=A.style,i="cssFloat"in n?"cssFloat":"styleFloat";return new dA(n,i,0,0,t,-1,I,!1,0,n[i],g)}});var JA=function(A){var g,I=this.t,C=I.filter||_(this.data,"filter")||"",t=this.s+this.c*A|0;100===t&&(-1===C.indexOf("atrix(")&&-1===C.indexOf("radient(")&&-1===C.indexOf("oader(")?(I.removeAttribute("filter"),g=!_(this.data,"filter")):(I.filter=C.replace(P,""),g=!0)),g||(this.xn1&&(I.filter=C=C||"alpha(opacity="+t+")"),-1===C.indexOf("pacity")?0===t&&this.xn1||(I.filter=C+" alpha(opacity="+t+")"):I.filter=C.replace(y,"opacity="+t))};zA("opacity,alpha,autoAlpha",{defaultValue:"1",parser:function(A,g,C,t,e,n){var i=parseFloat(_(A,"opacity",I,!1,"1")),r=A.style,a="autoAlpha"===C;return"string"==typeof g&&"="===g.charAt(1)&&(g=("-"===g.charAt(0)?-1:1)*parseFloat(g.substr(2))+i),a&&1===i&&"hidden"===_(A,"visibility",I)&&0!==g&&(i=0),V?e=new dA(r,"opacity",i,g-i,e):((e=new dA(r,"opacity",100*i,100*(g-i),e)).xn1=a?1:0,r.zoom=1,e.type=2,e.b="alpha(opacity="+e.s+")",e.e="alpha(opacity="+(e.s+e.c)+")",e.data=A,e.plugin=n,e.setRatio=JA),a&&((e=new dA(r,"visibility",0,0,e,-1,null,!1,0,0!==i?"inherit":"hidden",0===g?"hidden":"inherit")).xs0="inherit",t._overwriteProps.push(e.n),t._overwriteProps.push(C)),e}});var KA=function(A,g){g&&(A.removeProperty?("ms"!==g.substr(0,2)&&"webkit"!==g.substr(0,6)||(g="-"+g),A.removeProperty(g.replace(x,"-$1").toLowerCase())):A.removeAttribute(g))},QA=function(A){if(this.t._gsClassPT=this,1===A||0===A){this.t.setAttribute("class",0===A?this.b:this.e);for(var g=this.data,I=this.t.style;g;)g.v?I[g.p]=g.v:KA(I,g.p),g=g._next;1===A&&this.t._gsClassPT===this&&(this.t._gsClassPT=null)}else this.t.getAttribute("class")!==this.e&&this.t.setAttribute("class",this.e)};zA("className",{parser:function(g,C,t,e,n,i,r){var a,o,s,l,c,u=g.getAttribute("class")||"",v=g.style.cssText;if((n=e._classNamePT=new dA(g,t,0,0,n,2)).setRatio=QA,n.pr=-11,A=!0,n.b=u,o=gA(g,I),s=g._gsClassPT){for(l={},c=s.data;c;)l[c.p]=1,c=c._next;s.setRatio(1)}return g._gsClassPT=n,n.e="="!==C.charAt(1)?C:u.replace(new RegExp("(?:\\s|^)"+C.substr(2)+"(?![\\w-])"),"")+("+"===C.charAt(0)?" "+C.substr(2):""),g.setAttribute("class",n.e),a=IA(g,o,gA(g),r,l),g.setAttribute("class",u),n.data=a.firstMPT,g.style.cssText=v,n=n.xfirst=e.parse(g,a.difs,n,i)}});var qA=function(A){if((1===A||0===A)&&this.data._totalTime===this.data._totalDuration&&"isFromStart"!==this.data.data){var g,I,C,t,e,n=this.t.style,r=i.transform.parse;if("all"===this.e)n.cssText="",t=!0;else for(C=(g=this.e.split(" ").join("").split(",")).length;--C>-1;)I=g[C],i[I]&&(i[I].parse===r?t=!0:I="transformOrigin"===I?jA:i[I].p),KA(n,I);t&&(KA(n,TA),(e=this.t._gsTransform)&&(e.svg&&(this.t.removeAttribute("data-svg-origin"),this.t.removeAttribute("transform")),delete this.t._gsTransform))}};for(zA("clearProps",{parser:function(g,I,C,t,e){return(e=new dA(g,C,0,0,e,2)).setRatio=qA,e.e=I,e.pr=-10,e.data=t._tween,A=!0,e}}),r="bezier,throwProps,physicsProps,physics2D".split(","),bA=r.length;bA--;)PA(r[bA]);(r=e.prototype)._firstPT=r._lastParsedTransform=r._transform=null,r._onInitTween=function(C,n,r,l){if(!C.nodeType)return!1;this._target=v=C,this._tween=r,this._vars=n,p=l,a=n.autoRound,A=!1,g=n.suffixMap||e.suffixMap,I=q(C,""),t=this._overwriteProps;var u,f,d,h,m,b,y,P,R,x=C.style;if(o&&""===x.zIndex&&("auto"!==(u=_(C,"zIndex",I))&&""!==u||this._addLazySet(x,"zIndex",0)),"string"==typeof n&&(h=x.cssText,u=gA(C,I),x.cssText=h+";"+n,u=IA(C,u,gA(C)).difs,!V&&z.test(n)&&(u.opacity=parseFloat(RegExp.$1)),n=u,x.cssText=h),n.className?this._firstPT=f=i.className.parse(C,n.className,"className",this,null,null,n):this._firstPT=f=this.parse(C,n,null),this._transformType){for(R=3===this._transformType,TA?s&&(o=!0,""===x.zIndex&&("auto"!==(y=_(C,"zIndex",I))&&""!==y||this._addLazySet(x,"zIndex",0)),c&&this._addLazySet(x,"WebkitBackfaceVisibility",this._vars.WebkitBackfaceVisibility||(R?"visible":"hidden"))):x.zoom=1,d=f;d&&d._next;)d=d._next;P=new dA(C,"transform",0,0,null,2),this._linkCSSP(P,null,d),P.setRatio=TA?BA:UA,P.data=this._transform||VA(C,I,!0),P.tween=r,P.pr=-1,t.pop()}if(A){for(;f;){for(b=f._next,d=h;d&&d.pr>f.pr;)d=d._next;(f._prev=d?d._prev:m)?f._prev._next=f:h=f,(f._next=d)?d._prev=f:m=f,f=b}this._firstPT=h}return!0},r.parse=function(A,C,t,e){var n,r,o,s,l,c,u,f,d,h,m=A.style;for(n in C){if("function"==typeof(c=C[n])&&(c=c(p,v)),r=i[n])t=r.parse(A,c,n,this,t,e,C);else{if("--"===n.substr(0,2)){this._tween._propLookup[n]=this._addTween.call(this._tween,A.style,"setProperty",q(A).getPropertyValue(n)+"",c+"",n,!1,n);continue}l=_(A,n,I)+"",d="string"==typeof c,"color"===n||"fill"===n||"stroke"===n||-1!==n.indexOf("Color")||d&&R.test(c)?(d||(c=((c=lA(c)).length>3?"rgba(":"rgb(")+c.join(",")+")"),t=mA(m,n,l,c,!0,"transparent",t,0,e)):d&&N.test(c)?t=mA(m,n,l,c,!0,null,t,0,e):(u=(o=parseFloat(l))||0===o?l.substr((o+"").length):"",""!==l&&"auto"!==l||("width"===n||"height"===n?(o=eA(A,n,I),u="px"):"left"===n||"top"===n?(o=AA(A,n,I),u="px"):(o="opacity"!==n?0:1,u="")),(h=d&&"="===c.charAt(1))?(s=parseInt(c.charAt(0)+"1",10),c=c.substr(2),s*=parseFloat(c),f=c.replace(b,"")):(s=parseFloat(c),f=d?c.replace(b,""):""),""===f&&(f=n in g?g[n]:u),c=s||0===s?(h?s+o:s)+f:C[n],u!==f&&(""===f&&"lineHeight"!==n||(s||0===s)&&o&&(o=$(A,n,o,u),"%"===f?(o/=$(A,n,100,"%")/100,!0!==C.strictUnits&&(l=o+"%")):"em"===f||"rem"===f||"vw"===f||"vh"===f?o/=$(A,n,1,f):"px"!==f&&(s=$(A,n,s,f),f="px"),h&&(s||0===s)&&(c=s+o+f))),h&&(s+=o),!o&&0!==o||!s&&0!==s?void 0!==m[n]&&(c||c+""!="NaN"&&null!=c)?(t=new dA(m,n,s||o||0,0,t,-1,n,!1,0,l,c)).xs0="none"!==c||"display"!==n&&-1===n.indexOf("Style")?c:l:B("invalid "+n+" tween value: "+C[n]):(t=new dA(m,n,o,s-o,t,0,n,!1!==a&&("px"===f||"zIndex"===n),0,l,c)).xs0=f)}e&&t&&!t.plugin&&(t.plugin=e)}return t},r.setRatio=function(A){var g,I,C,t=this._firstPT;if(1!==A||this._tween._time!==this._tween._duration&&0!==this._tween._time)if(A||this._tween._time!==this._tween._duration&&0!==this._tween._time||-1e-6===this._tween._rawPrevTime)for(;t;){if(g=t.c*A+t.s,t.r?g=t.r(g):g<1e-6&&g>-1e-6&&(g=0),t.type)if(1===t.type)if(2===(C=t.l))t.t[t.p]=t.xs0+g+t.xs1+t.xn1+t.xs2;else if(3===C)t.t[t.p]=t.xs0+g+t.xs1+t.xn1+t.xs2+t.xn2+t.xs3;else if(4===C)t.t[t.p]=t.xs0+g+t.xs1+t.xn1+t.xs2+t.xn2+t.xs3+t.xn3+t.xs4;else if(5===C)t.t[t.p]=t.xs0+g+t.xs1+t.xn1+t.xs2+t.xn2+t.xs3+t.xn3+t.xs4+t.xn4+t.xs5;else{for(I=t.xs0+g+t.xs1,C=1;C<t.l;C++)I+=t["xn"+C]+t["xs"+(C+1)];t.t[t.p]=I}else-1===t.type?t.t[t.p]=t.xs0:t.setRatio&&t.setRatio(A);else t.t[t.p]=g+t.xs0;t=t._next}else for(;t;)2!==t.type?t.t[t.p]=t.b:t.setRatio(A),t=t._next;else for(;t;){if(2!==t.type)if(t.r&&-1!==t.type)if(g=t.r(t.s+t.c),t.type){if(1===t.type){for(C=t.l,I=t.xs0+g+t.xs1,C=1;C<t.l;C++)I+=t["xn"+C]+t["xs"+(C+1)];t.t[t.p]=I}}else t.t[t.p]=g+t.xs0;else t.t[t.p]=t.e;else t.setRatio(A);t=t._next}},r._enableTransforms=function(A){this._transform=this._transform||VA(this._target,I,!0),this._transformType=this._transform.svg&&RA||!A&&3!==this._transformType?2:3};var _A=function(A){this.t[this.p]=this.e,this.data._linkCSSP(this,this._next,null,!0)};r._addLazySet=function(A,g,I){var C=this._firstPT=new dA(A,g,0,0,this._firstPT,2);C.e=I,C.setRatio=_A,C.data=this},r._linkCSSP=function(A,g,I,C){return A&&(g&&(g._prev=A),A._next&&(A._next._prev=A._prev),A._prev?A._prev._next=A._next:this._firstPT===A&&(this._firstPT=A._next,C=!0),I?I._next=A:C||null!==this._firstPT||(this._firstPT=A),A._next=g,A._prev=I),A},r._mod=function(A){for(var g=this._firstPT;g;)"function"==typeof A[g.p]&&(g.r=A[g.p]),g=g._next},r._kill=function(A){var g,I,t,e=A;if(A.autoAlpha||A.alpha){for(I in e={},A)e[I]=A[I];e.opacity=1,e.autoAlpha&&(e.visibility=1)}for(A.className&&(g=this._classNamePT)&&((t=g.xfirst)&&t._prev?this._linkCSSP(t._prev,g._next,t._prev._prev):t===this._firstPT&&(this._firstPT=g._next),g._next&&this._linkCSSP(g._next,g._next._next,t._prev),this._classNamePT=null),g=this._firstPT;g;)g.plugin&&g.plugin!==I&&g.plugin._kill&&(g.plugin._kill(A),I=g.plugin),g=g._next;return C.d.prototype._kill.call(this,e)};var $A=function(A,g,I){var C,t,e,n;if(A.slice)for(t=A.length;--t>-1;)$A(A[t],g,I);else for(t=(C=A.childNodes).length;--t>-1;)n=(e=C[t]).type,e.style&&(g.push(gA(e)),I&&I.push(e)),1!==n&&9!==n&&11!==n||!e.childNodes.length||$A(e,g,I)};return e.cascadeTo=function(A,g,I){var t,e,n,i,r=C.f.to(A,g,I),a=[r],o=[],s=[],l=[],c=C.f._internals.reservedProps;for(A=r._targets||r.target,$A(A,o,l),r.render(g,!0,!0),$A(A,s),r.render(0,!0,!0),r._enabled(!0),t=l.length;--t>-1;)if((e=IA(l[t],o[t],s[t])).firstMPT){for(n in e=e.difs,I)c[n]&&(e[n]=I[n]);for(n in i={},e)i[n]=o[t][n];a.push(C.f.fromTo(l[t],g,i,e))}return a},C.d.activate([e]),e}),!0);const i=C.e.CSSPlugin,r=C.e._gsDefine.plugin({propName:"attr",API:2,version:"0.6.1",init:function(A,g,I,C){var t,e;if("function"!=typeof A.setAttribute)return!1;for(t in g)"function"==typeof(e=g[t])&&(e=e(C,A)),this._addTween(A,"setAttribute",A.getAttribute(t)+"",e+"",t,!1,t),this._overwriteProps.push(t);return!0}}),a=C.e._gsDefine.plugin({propName:"roundProps",version:"1.7.0",priority:-1,API:2,init:function(A,g,I){return this._tween=I,!0}}),o=function(A){var g=A<1?Math.pow(10,(A+"").length-2):1;return function(I){return(Math.round(I/A)*A*g|0)/g}},s=function(A,g){for(;A;)A.f||A.blob||(A.m=g||Math.round),A=A._next},l=a.prototype;
|
|
96
|
+
C.e._gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],(function(){var A,g,I,t,e=function(){C.d.call(this,"css"),this._overwriteProps.length=0,this.setRatio=e.prototype.setRatio},n=C.e._gsDefine.globals,i={},r=e.prototype=new C.d("css");r.constructor=e,e.version="1.20.5",e.API=2,e.defaultTransformPerspective=0,e.defaultSkewType="compensated",e.defaultSmoothOrigin=!0,r="px",e.suffixMap={top:r,right:r,bottom:r,left:r,width:r,height:r,fontSize:r,padding:r,margin:r,perspective:r,lineHeight:""};var a,o,s,l,c,u,v,p,f=/(?:\-|\.|\b)(\d|\.|e\-)+/g,d=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,h=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,m=/(?![+-]?\d*\.?\d+|[+-]|e[+-]\d+)[^0-9]/g,b=/(?:\d|\-|\+|=|#|\.)*/g,y=/opacity *= *([^)]*)/i,z=/opacity:([^;]*)/i,P=/alpha\(opacity *=.+?\)/i,R=/^(rgb|hsl)/,x=/([A-Z])/g,w=/-([a-z])/gi,M=/(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi,Z=function(A,g){return g.toUpperCase()},D=/(?:Left|Right|Width)/i,T=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,O=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,j=/,(?=[^\)]*(?:\(|$))/gi,N=/[\s,\(]/i,E=Math.PI/180,G=180/Math.PI,X={},H={style:{}},k=C.e.document||{createElement:function(){return H}},Y=function(A,g){return k.createElementNS?k.createElementNS(g||"http://www.w3.org/1999/xhtml",A):k.createElement(A)},W=Y("div"),L=Y("img"),S=e._internals={_specialProps:i},F=(C.e.navigator||{}).userAgent||"",V=function(){var A=F.indexOf("Android"),g=Y("a");return s=-1!==F.indexOf("Safari")&&-1===F.indexOf("Chrome")&&(-1===A||parseFloat(F.substr(A+8,2))>3),c=s&&parseFloat(F.substr(F.indexOf("Version/")+8,2))<6,l=-1!==F.indexOf("Firefox"),(/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(F)||/Trident\/.*rv:([0-9]{1,}[\.0-9]{0,})/.exec(F))&&(u=parseFloat(RegExp.$1)),!!g&&(g.style.cssText="top:1px;opacity:.55;",/^0.55/.test(g.style.opacity))}(),B=function(A){return y.test("string"==typeof A?A:(A.currentStyle?A.currentStyle.filter:A.style.filter)||"")?parseFloat(RegExp.$1)/100:1},U=function(A){C.e.console&&console.log(A)},J="",K="",Q=function(A,g){var I,C,t=(g=g||W).style;if(void 0!==t[A])return A;for(A=A.charAt(0).toUpperCase()+A.substr(1),I=["O","Moz","ms","Ms","Webkit"],C=5;--C>-1&&void 0===t[I[C]+A];);return C>=0?(J="-"+(K=3===C?"ms":I[C]).toLowerCase()+"-",K+A):null},q=("undefined"!=typeof window?window:k.defaultView||{getComputedStyle:function(){}}).getComputedStyle,_=e.getStyle=function(A,g,I,C,t){var e;return V||"opacity"!==g?(!C&&A.style[g]?e=A.style[g]:(I=I||q(A))?e=I[g]||I.getPropertyValue(g)||I.getPropertyValue(g.replace(x,"-$1").toLowerCase()):A.currentStyle&&(e=A.currentStyle[g]),null==t||e&&"none"!==e&&"auto"!==e&&"auto auto"!==e?e:t):B(A)},$=S.convertToPixels=function(A,g,I,t,n){if("px"===t||!t&&"lineHeight"!==g)return I;if("auto"===t||!I)return 0;var i,r,a,o=D.test(g),s=A,l=W.style,c=I<0,u=1===I;if(c&&(I=-I),u&&(I*=100),"lineHeight"!==g||t)if("%"===t&&-1!==g.indexOf("border"))i=I/100*(o?A.clientWidth:A.clientHeight);else{if(l.cssText="border:0 solid red;position:"+_(A,"position")+";line-height:0;","%"!==t&&s.appendChild&&"v"!==t.charAt(0)&&"rem"!==t)l[o?"borderLeftWidth":"borderTopWidth"]=I+t;else{if(s=A.parentNode||k.body,-1!==_(s,"display").indexOf("flex")&&(l.position="absolute"),r=s._gsCache,a=C.f.ticker.frame,r&&o&&r.time===a)return r.width*I/100;l[o?"width":"height"]=I+t}s.appendChild(W),i=parseFloat(W[o?"offsetWidth":"offsetHeight"]),s.removeChild(W),o&&"%"===t&&!1!==e.cacheWidths&&((r=s._gsCache=s._gsCache||{}).time=a,r.width=i/I*100),0!==i||n||(i=$(A,g,I,t,!0))}else r=q(A).lineHeight,A.style.lineHeight=I,i=parseFloat(q(A).lineHeight),A.style.lineHeight=r;return u&&(i/=100),c?-i:i},AA=S.calculateOffset=function(A,g,I){if("absolute"!==_(A,"position",I))return 0;var C="left"===g?"Left":"Top",t=_(A,"margin"+C,I);return A["offset"+C]-($(A,g,parseFloat(t),t.replace(b,""))||0)},gA=function(A,g){var I,C,t,e={};if(g=g||q(A,null))if(I=g.length)for(;--I>-1;)-1!==(t=g[I]).indexOf("-transform")&&OA!==t||(e[t.replace(w,Z)]=g.getPropertyValue(t));else for(I in g)-1!==I.indexOf("Transform")&&TA!==I||(e[I]=g[I]);else if(g=A.currentStyle||A.style)for(I in g)"string"==typeof I&&void 0===e[I]&&(e[I.replace(w,Z)]=g[I]);return V||(e.opacity=B(A)),C=VA(A,g,!1),e.rotation=C.rotation,e.skewX=C.skewX,e.scaleX=C.scaleX,e.scaleY=C.scaleY,e.x=C.x,e.y=C.y,NA&&(e.z=C.z,e.rotationX=C.rotationX,e.rotationY=C.rotationY,e.scaleZ=C.scaleZ),e.filters&&delete e.filters,e},IA=function(A,g,I,C,t){var e,n,i,r={},a=A.style;for(n in I)"cssText"!==n&&"length"!==n&&isNaN(n)&&(g[n]!==(e=I[n])||t&&t[n])&&-1===n.indexOf("Origin")&&("number"!=typeof e&&"string"!=typeof e||(r[n]="auto"!==e||"left"!==n&&"top"!==n?""!==e&&"auto"!==e&&"none"!==e||"string"!=typeof g[n]||""===g[n].replace(m,"")?e:0:AA(A,n),void 0!==a[n]&&(i=new fA(a,n,a[n],i))));if(C)for(n in C)"className"!==n&&(r[n]=C[n]);return{difs:r,firstMPT:i}},CA={width:["Left","Right"],height:["Top","Bottom"]},tA=["marginLeft","marginRight","marginTop","marginBottom"],eA=function(A,g,I){if("svg"===(A.nodeName+"").toLowerCase())return(I||q(A))[g]||0;if(A.getCTM&&LA(A))return A.getBBox()[g]||0;var C=parseFloat("width"===g?A.offsetWidth:A.offsetHeight),t=CA[g],e=t.length;for(I=I||q(A,null);--e>-1;)C-=parseFloat(_(A,"padding"+t[e],I,!0))||0,C-=parseFloat(_(A,"border"+t[e]+"Width",I,!0))||0;return C},nA=function(A,g){if("contain"===A||"auto"===A||"auto auto"===A)return A+" ";null!=A&&""!==A||(A="0 0");var I,C=A.split(" "),t=-1!==A.indexOf("left")?"0%":-1!==A.indexOf("right")?"100%":C[0],e=-1!==A.indexOf("top")?"0%":-1!==A.indexOf("bottom")?"100%":C[1];if(C.length>3&&!g){for(C=A.split(", ").join(",").split(","),A=[],I=0;I<C.length;I++)A.push(nA(C[I]));return A.join(",")}return null==e?e="center"===t?"50%":"0":"center"===e&&(e="50%"),("center"===t||isNaN(parseFloat(t))&&-1===(t+"").indexOf("="))&&(t="50%"),A=t+" "+e+(C.length>2?" "+C[2]:""),g&&(g.oxp=-1!==t.indexOf("%"),g.oyp=-1!==e.indexOf("%"),g.oxr="="===t.charAt(1),g.oyr="="===e.charAt(1),g.ox=parseFloat(t.replace(m,"")),g.oy=parseFloat(e.replace(m,"")),g.v=A),g||A},iA=function(A,g){return"function"==typeof A&&(A=A(p,v)),"string"==typeof A&&"="===A.charAt(1)?parseInt(A.charAt(0)+"1",10)*parseFloat(A.substr(2)):parseFloat(A)-parseFloat(g)||0},rA=function(A,g){return"function"==typeof A&&(A=A(p,v)),null==A?g:"string"==typeof A&&"="===A.charAt(1)?parseInt(A.charAt(0)+"1",10)*parseFloat(A.substr(2))+g:parseFloat(A)||0},aA=function(A,g,I,C){var t,e,n,i;return"function"==typeof A&&(A=A(p,v)),null==A?n=g:"number"==typeof A?n=A:(360,t=A.split("_"),e=((i="="===A.charAt(1))?parseInt(A.charAt(0)+"1",10)*parseFloat(t[0].substr(2)):parseFloat(t[0]))*(-1===A.indexOf("rad")?1:G)-(i?0:g),t.length&&(C&&(C[I]=g+e),-1!==A.indexOf("short")&&(e%=360)!==e%180&&(e=e<0?e+360:e-360),-1!==A.indexOf("_cw")&&e<0?e=(e+3599999999640)%360-360*(e/360|0):-1!==A.indexOf("ccw")&&e>0&&(e=(e-3599999999640)%360-360*(e/360|0))),n=g+e),n<1e-6&&n>-1e-6&&(n=0),n},oA={aqua:[0,255,255],lime:[0,255,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,255],navy:[0,0,128],white:[255,255,255],fuchsia:[255,0,255],olive:[128,128,0],yellow:[255,255,0],orange:[255,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[255,0,0],pink:[255,192,203],cyan:[0,255,255],transparent:[255,255,255,0]},sA=function(A,g,I){return 255*(6*(A=A<0?A+1:A>1?A-1:A)<1?g+(I-g)*A*6:A<.5?I:3*A<2?g+(I-g)*(2/3-A)*6:g)+.5|0},lA=e.parseColor=function(A,g){var I,C,t,e,n,i,r,a,o,s,l;if(A)if("number"==typeof A)I=[A>>16,A>>8&255,255&A];else{if(","===A.charAt(A.length-1)&&(A=A.substr(0,A.length-1)),oA[A])I=oA[A];else if("#"===A.charAt(0))4===A.length&&(C=A.charAt(1),t=A.charAt(2),e=A.charAt(3),A="#"+C+C+t+t+e+e),I=[(A=parseInt(A.substr(1),16))>>16,A>>8&255,255&A];else if("hsl"===A.substr(0,3))if(I=l=A.match(f),g){if(-1!==A.indexOf("="))return A.match(d)}else n=Number(I[0])%360/360,i=Number(I[1])/100,C=2*(r=Number(I[2])/100)-(t=r<=.5?r*(i+1):r+i-r*i),I.length>3&&(I[3]=Number(I[3])),I[0]=sA(n+1/3,C,t),I[1]=sA(n,C,t),I[2]=sA(n-1/3,C,t);else I=A.match(f)||oA.transparent;I[0]=Number(I[0]),I[1]=Number(I[1]),I[2]=Number(I[2]),I.length>3&&(I[3]=Number(I[3]))}else I=oA.black;return g&&!l&&(C=I[0]/255,t=I[1]/255,e=I[2]/255,r=((a=Math.max(C,t,e))+(o=Math.min(C,t,e)))/2,a===o?n=i=0:(s=a-o,i=r>.5?s/(2-a-o):s/(a+o),n=a===C?(t-e)/s+(t<e?6:0):a===t?(e-C)/s+2:(C-t)/s+4,n*=60),I[0]=n+.5|0,I[1]=100*i+.5|0,I[2]=100*r+.5|0),I},cA=function(A,g){var I,C,t,e=A.match(uA)||[],n=0,i="";if(!e.length)return A;for(I=0;I<e.length;I++)C=e[I],n+=(t=A.substr(n,A.indexOf(C,n)-n)).length+C.length,3===(C=lA(C,g)).length&&C.push(1),i+=t+(g?"hsla("+C[0]+","+C[1]+"%,"+C[2]+"%,"+C[3]:"rgba("+C.join(","))+")";return i+A.substr(n)},uA="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3}){1,2}\\b";for(r in oA)uA+="|"+r+"\\b";uA=new RegExp(uA+")","gi"),e.colorStringFilter=function(A){var g,I=A[0]+" "+A[1];uA.test(I)&&(g=-1!==I.indexOf("hsl(")||-1!==I.indexOf("hsla("),A[0]=cA(A[0],g),A[1]=cA(A[1],g)),uA.lastIndex=0},C.f.defaultStringFilter||(C.f.defaultStringFilter=e.colorStringFilter);var vA=function(A,g,I,C){if(null==A)return function(A){return A};var t,e=g?(A.match(uA)||[""])[0]:"",n=A.split(e).join("").match(h)||[],i=A.substr(0,A.indexOf(n[0])),r=")"===A.charAt(A.length-1)?")":"",a=-1!==A.indexOf(" ")?" ":",",o=n.length,s=o>0?n[0].replace(f,""):"";return o?t=g?function(A){var g,l,c,u;if("number"==typeof A)A+=s;else if(C&&j.test(A)){for(u=A.replace(j,"|").split("|"),c=0;c<u.length;c++)u[c]=t(u[c]);return u.join(",")}if(g=(A.match(uA)||[e])[0],c=(l=A.split(g).join("").match(h)||[]).length,o>c--)for(;++c<o;)l[c]=I?l[(c-1)/2|0]:n[c];return i+l.join(a)+a+g+r+(-1!==A.indexOf("inset")?" inset":"")}:function(A){var g,e,l;if("number"==typeof A)A+=s;else if(C&&j.test(A)){for(e=A.replace(j,"|").split("|"),l=0;l<e.length;l++)e[l]=t(e[l]);return e.join(",")}if(l=(g=A.match(h)||[]).length,o>l--)for(;++l<o;)g[l]=I?g[(l-1)/2|0]:n[l];return i+g.join(a)+r}:function(A){return A}},pA=function(A){return A=A.split(","),function(g,I,C,t,e,n,i){var r,a=(I+"").split(" ");for(i={},r=0;r<4;r++)i[A[r]]=a[r]=a[r]||a[(r-1)/2>>0];return t.parse(g,i,e,n)}},fA=(S._setPluginRatio=function(A){this.plugin.setRatio(A);for(var g,I,C,t,e,n=this.data,i=n.proxy,r=n.firstMPT;r;)g=i[r.v],r.r?g=r.r(g):g<1e-6&&g>-1e-6&&(g=0),r.t[r.p]=g,r=r._next;if(n.autoRotate&&(n.autoRotate.rotation=n.mod?n.mod.call(this._tween,i.rotation,this.t,this._tween):i.rotation),1===A||0===A)for(r=n.firstMPT,e=1===A?"e":"b";r;){if((I=r.t).type){if(1===I.type){for(t=I.xs0+I.s+I.xs1,C=1;C<I.l;C++)t+=I["xn"+C]+I["xs"+(C+1)];I[e]=t}}else I[e]=I.s+I.xs0;r=r._next}},function(A,g,I,C,t){this.t=A,this.p=g,this.v=I,this.r=t,C&&(C._prev=this,this._next=C)}),dA=(S._parseToProxy=function(A,g,I,C,t,e){var n,i,r,a,o,s=C,l={},c={},u=I._transform,v=X;for(I._transform=null,X=g,C=o=I.parse(A,g,C,t),X=v,e&&(I._transform=u,s&&(s._prev=null,s._prev&&(s._prev._next=null)));C&&C!==s;){if(C.type<=1&&(c[i=C.p]=C.s+C.c,l[i]=C.s,e||(a=new fA(C,"s",i,a,C.r),C.c=0),1===C.type))for(n=C.l;--n>0;)r="xn"+n,c[i=C.p+"_"+r]=C.data[r],l[i]=C[r],e||(a=new fA(C,r,i,a,C.rxp[r]));C=C._next}return{proxy:l,end:c,firstMPT:a,pt:o}},S.CSSPropTween=function(g,I,C,e,n,i,r,a,o,s,l){this.t=g,this.p=I,this.s=C,this.c=e,this.n=r||I,g instanceof dA||t.push(this.n),this.r=a?"function"==typeof a?a:Math.round:a,this.type=i||0,o&&(this.pr=o,A=!0),this.b=void 0===s?C:s,this.e=void 0===l?C+e:l,n&&(this._next=n,n._prev=this)}),hA=function(A,g,I,C,t,e){var n=new dA(A,g,I,C-I,t,-1,e);return n.b=I,n.e=n.xs0=C,n},mA=e.parseComplex=function(A,g,I,C,t,n,i,r,o,s){I=I||n||"","function"==typeof C&&(C=C(p,v)),i=new dA(A,g,0,0,i,s?2:1,null,!1,r,I,C),C+="",t&&uA.test(C+I)&&(C=[I,C],e.colorStringFilter(C),I=C[0],C=C[1]);var l,c,u,h,m,b,y,z,P,R,x,w,M,Z=I.split(", ").join(",").split(" "),D=C.split(", ").join(",").split(" "),T=Z.length,O=!1!==a;for(-1===C.indexOf(",")&&-1===I.indexOf(",")||(-1!==(C+I).indexOf("rgb")||-1!==(C+I).indexOf("hsl")?(Z=Z.join(" ").replace(j,", ").split(" "),D=D.join(" ").replace(j,", ").split(" ")):(Z=Z.join(" ").split(",").join(", ").split(" "),D=D.join(" ").split(",").join(", ").split(" ")),T=Z.length),T!==D.length&&(T=(Z=(n||"").split(" ")).length),i.plugin=o,i.setRatio=s,uA.lastIndex=0,l=0;l<T;l++)if(h=Z[l],m=D[l]+"",(z=parseFloat(h))||0===z)i.appendXtra("",z,iA(m,z),m.replace(d,""),!(!O||-1===m.indexOf("px"))&&Math.round,!0);else if(t&&uA.test(h))w=")"+((w=m.indexOf(")")+1)?m.substr(w):""),M=-1!==m.indexOf("hsl")&&V,R=m,h=lA(h,M),m=lA(m,M),(P=h.length+m.length>6)&&!V&&0===m[3]?(i["xs"+i.l]+=i.l?" transparent":"transparent",i.e=i.e.split(D[l]).join("transparent")):(V||(P=!1),M?i.appendXtra(R.substr(0,R.indexOf("hsl"))+(P?"hsla(":"hsl("),h[0],iA(m[0],h[0]),",",!1,!0).appendXtra("",h[1],iA(m[1],h[1]),"%,",!1).appendXtra("",h[2],iA(m[2],h[2]),P?"%,":"%"+w,!1):i.appendXtra(R.substr(0,R.indexOf("rgb"))+(P?"rgba(":"rgb("),h[0],m[0]-h[0],",",Math.round,!0).appendXtra("",h[1],m[1]-h[1],",",Math.round).appendXtra("",h[2],m[2]-h[2],P?",":w,Math.round),P&&(h=h.length<4?1:h[3],i.appendXtra("",h,(m.length<4?1:m[3])-h,w,!1))),uA.lastIndex=0;else if(b=h.match(f)){if(!(y=m.match(d))||y.length!==b.length)return i;for(u=0,c=0;c<b.length;c++)x=b[c],R=h.indexOf(x,u),i.appendXtra(h.substr(u,R-u),Number(x),iA(y[c],x),"",!(!O||"px"!==h.substr(R+x.length,2))&&Math.round,0===c),u=R+x.length;i["xs"+i.l]+=h.substr(u)}else i["xs"+i.l]+=i.l||i["xs"+i.l]?" "+m:m;if(-1!==C.indexOf("=")&&i.data){for(w=i.xs0+i.data.s,l=1;l<i.l;l++)w+=i["xs"+l]+i.data["xn"+l];i.e=w+i["xs"+l]}return i.l||(i.type=-1,i.xs0=i.e),i.xfirst||i},bA=9;for((r=dA.prototype).l=r.pr=0;--bA>0;)r["xn"+bA]=0,r["xs"+bA]="";r.xs0="",r._next=r._prev=r.xfirst=r.data=r.plugin=r.setRatio=r.rxp=null,r.appendXtra=function(A,g,I,C,t,e){var n=this,i=n.l;return n["xs"+i]+=e&&(i||n["xs"+i])?" "+A:A||"",I||0===i||n.plugin?(n.l++,n.type=n.setRatio?2:1,n["xs"+n.l]=C||"",i>0?(n.data["xn"+i]=g+I,n.rxp["xn"+i]=t,n["xn"+i]=g,n.plugin||(n.xfirst=new dA(n,"xn"+i,g,I,n.xfirst||n,0,n.n,t,n.pr),n.xfirst.xs0=0),n):(n.data={s:g+I},n.rxp={},n.s=g,n.c=I,n.r=t,n)):(n["xs"+i]+=g+(C||""),n)};var yA=function(A,g){g=g||{},this.p=g.prefix&&Q(A)||A,i[A]=i[this.p]=this,this.format=g.formatter||vA(g.defaultValue,g.color,g.collapsible,g.multi),g.parser&&(this.parse=g.parser),this.clrs=g.color,this.multi=g.multi,this.keyword=g.keyword,this.dflt=g.defaultValue,this.pr=g.priority||0},zA=S._registerComplexSpecialProp=function(A,g,I){"object"!=typeof g&&(g={parser:I});var C,t=A.split(","),e=g.defaultValue;for(I=I||[e],C=0;C<t.length;C++)g.prefix=0===C&&g.prefix,g.defaultValue=I[C]||e,new yA(t[C],g)},PA=S._registerPluginProp=function(A){if(!i[A]){var g=A.charAt(0).toUpperCase()+A.substr(1)+"Plugin";zA(A,{parser:function(A,I,C,t,e,r,a){var o=n.com.greensock.plugins[g];return o?(o._cssRegister(),i[C].parse(A,I,C,t,e,r,a)):(U("Error: "+g+" js file not loaded."),e)}})}};(r=yA.prototype).parseComplex=function(A,g,I,C,t,e){var n,i,r,a,o,s,l=this.keyword;if(this.multi&&(j.test(I)||j.test(g)?(i=g.replace(j,"|").split("|"),r=I.replace(j,"|").split("|")):l&&(i=[g],r=[I])),r){for(a=r.length>i.length?r.length:i.length,n=0;n<a;n++)g=i[n]=i[n]||this.dflt,I=r[n]=r[n]||this.dflt,l&&(o=g.indexOf(l))!==(s=I.indexOf(l))&&(-1===s?i[n]=i[n].split(l).join(""):-1===o&&(i[n]+=" "+l));g=i.join(", "),I=r.join(", ")}return mA(A,this.p,g,I,this.clrs,this.dflt,C,this.pr,t,e)},r.parse=function(A,g,C,t,e,n,i){return this.parseComplex(A.style,this.format(_(A,this.p,I,!1,this.dflt)),this.format(g),e,n)},e.registerSpecialProp=function(A,g,I){zA(A,{parser:function(A,C,t,e,n,i,r){var a=new dA(A,t,0,0,n,2,t,!1,I);return a.plugin=i,a.setRatio=g(A,C,e._tween,t),a},priority:I})},e.useSVGTransformAttr=!0;var RA,xA,wA,MA,ZA,DA="scaleX,scaleY,scaleZ,x,y,z,skewX,skewY,rotation,rotationX,rotationY,perspective,xPercent,yPercent".split(","),TA=Q("transform"),OA=J+"transform",jA=Q("transformOrigin"),NA=null!==Q("perspective"),EA=S.Transform=function(){this.perspective=parseFloat(e.defaultTransformPerspective)||0,this.force3D=!(!1===e.defaultForce3D||!NA)&&(e.defaultForce3D||"auto")},GA=C.e.SVGElement,XA=function(A,g,I){var C,t=k.createElementNS("http://www.w3.org/2000/svg",A),e=/([a-z])([A-Z])/g;for(C in I)t.setAttributeNS(null,C.replace(e,"$1-$2").toLowerCase(),I[C]);return g.appendChild(t),t},HA=k.documentElement||{},kA=(ZA=u||/Android/i.test(F)&&!C.e.chrome,k.createElementNS&&!ZA&&(xA=XA("svg",HA),MA=(wA=XA("rect",xA,{width:100,height:50,x:100})).getBoundingClientRect().width,wA.style[jA]="50% 50%",wA.style[TA]="scaleX(0.5)",ZA=MA===wA.getBoundingClientRect().width&&!(l&&NA),HA.removeChild(xA)),ZA),YA=function(A,g,I,C,t,n){var i,r,a,o,s,l,c,u,v,p,f,d,h,m,b=A._gsTransform,y=FA(A,!0);b&&(h=b.xOrigin,m=b.yOrigin),(!C||(i=C.split(" ")).length<2)&&(0===(c=A.getBBox()).x&&0===c.y&&c.width+c.height===0&&(c={x:parseFloat(A.hasAttribute("x")?A.getAttribute("x"):A.hasAttribute("cx")?A.getAttribute("cx"):0)||0,y:parseFloat(A.hasAttribute("y")?A.getAttribute("y"):A.hasAttribute("cy")?A.getAttribute("cy"):0)||0,width:0,height:0}),i=[(-1!==(g=nA(g).split(" "))[0].indexOf("%")?parseFloat(g[0])/100*c.width:parseFloat(g[0]))+c.x,(-1!==g[1].indexOf("%")?parseFloat(g[1])/100*c.height:parseFloat(g[1]))+c.y]),I.xOrigin=o=parseFloat(i[0]),I.yOrigin=s=parseFloat(i[1]),C&&y!==SA&&(l=y[0],c=y[1],u=y[2],v=y[3],p=y[4],f=y[5],(d=l*v-c*u)&&(r=o*(v/d)+s*(-u/d)+(u*f-v*p)/d,a=o*(-c/d)+s*(l/d)-(l*f-c*p)/d,o=I.xOrigin=i[0]=r,s=I.yOrigin=i[1]=a)),b&&(n&&(I.xOffset=b.xOffset,I.yOffset=b.yOffset,b=I),t||!1!==t&&!1!==e.defaultSmoothOrigin?(r=o-h,a=s-m,b.xOffset+=r*y[0]+a*y[2]-r,b.yOffset+=r*y[1]+a*y[3]-a):b.xOffset=b.yOffset=0),n||A.setAttribute("data-svg-origin",i.join(" "))},WA=function(A){var g,I=Y("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),C=this.parentNode,t=this.nextSibling,e=this.style.cssText;if(HA.appendChild(I),I.appendChild(this),this.style.display="block",A)try{g=this.getBBox(),this._originalGetBBox=this.getBBox,this.getBBox=WA}catch(A){}else this._originalGetBBox&&(g=this._originalGetBBox());return t?C.insertBefore(this,t):C.appendChild(this),HA.removeChild(I),this.style.cssText=e,g},LA=function(A){return!(!GA||!A.getCTM||A.parentNode&&!A.ownerSVGElement||!function(A){try{return A.getBBox()}catch(g){return WA.call(A,!0)}}(A))},SA=[1,0,0,1,0,0],FA=function(A,g){var I,C,t,e,n,i,r=A._gsTransform||new EA,a=A.style;if(TA?C=_(A,OA,null,!0):A.currentStyle&&(C=(C=A.currentStyle.filter.match(T))&&4===C.length?[C[0].substr(4),Number(C[2].substr(4)),Number(C[1].substr(4)),C[3].substr(4),r.x||0,r.y||0].join(","):""),I=!C||"none"===C||"matrix(1, 0, 0, 1, 0, 0)"===C,!TA||!(i=!q(A)||"none"===q(A).display)&&A.parentNode||(i&&(e=a.display,a.display="block"),A.parentNode||(n=1,HA.appendChild(A)),I=!(C=_(A,OA,null,!0))||"none"===C||"matrix(1, 0, 0, 1, 0, 0)"===C,e?a.display=e:i&&KA(a,"display"),n&&HA.removeChild(A)),(r.svg||A.getCTM&&LA(A))&&(I&&-1!==(a[TA]+"").indexOf("matrix")&&(C=a[TA],I=0),t=A.getAttribute("transform"),I&&t&&(C="matrix("+(t=A.transform.baseVal.consolidate().matrix).a+","+t.b+","+t.c+","+t.d+","+t.e+","+t.f+")",I=0)),I)return SA;for(t=(C||"").match(f)||[],bA=t.length;--bA>-1;)e=Number(t[bA]),t[bA]=(n=e-(e|=0))?(1e5*n+(n<0?-.5:.5)|0)/1e5+e:e;return g&&t.length>6?[t[0],t[1],t[4],t[5],t[12],t[13]]:t},VA=S.getTransform=function(A,g,I,t){if(A._gsTransform&&I&&!t)return A._gsTransform;var n,i,r,a,o,s,l=I&&A._gsTransform||new EA,c=l.scaleX<0,u=NA&&(parseFloat(_(A,jA,g,!1,"0 0 0").split(" ")[2])||l.zOrigin)||0,v=parseFloat(e.defaultTransformPerspective)||0;if(l.svg=!(!A.getCTM||!LA(A)),l.svg&&(YA(A,_(A,jA,g,!1,"50% 50%")+"",l,A.getAttribute("data-svg-origin")),RA=e.useSVGTransformAttr||kA),(n=FA(A))!==SA){if(16===n.length){var p,f,d,h,m,b=n[0],y=n[1],z=n[2],P=n[3],R=n[4],x=n[5],w=n[6],M=n[7],Z=n[8],D=n[9],T=n[10],O=n[12],j=n[13],N=n[14],E=n[11],X=Math.atan2(w,T);l.zOrigin&&(O=Z*(N=-l.zOrigin)-n[12],j=D*N-n[13],N=T*N+l.zOrigin-n[14]),l.rotationX=X*G,X&&(p=R*(h=Math.cos(-X))+Z*(m=Math.sin(-X)),f=x*h+D*m,d=w*h+T*m,Z=R*-m+Z*h,D=x*-m+D*h,T=w*-m+T*h,E=M*-m+E*h,R=p,x=f,w=d),X=Math.atan2(-z,T),l.rotationY=X*G,X&&(f=y*(h=Math.cos(-X))-D*(m=Math.sin(-X)),d=z*h-T*m,D=y*m+D*h,T=z*m+T*h,E=P*m+E*h,b=p=b*h-Z*m,y=f,z=d),X=Math.atan2(y,b),l.rotation=X*G,X&&(p=b*(h=Math.cos(X))+y*(m=Math.sin(X)),f=R*h+x*m,d=Z*h+D*m,y=y*h-b*m,x=x*h-R*m,D=D*h-Z*m,b=p,R=f,Z=d),l.rotationX&&Math.abs(l.rotationX)+Math.abs(l.rotation)>359.9&&(l.rotationX=l.rotation=0,l.rotationY=180-l.rotationY),X=Math.atan2(R,x),l.scaleX=(1e5*Math.sqrt(b*b+y*y+z*z)+.5|0)/1e5,l.scaleY=(1e5*Math.sqrt(x*x+w*w)+.5|0)/1e5,l.scaleZ=(1e5*Math.sqrt(Z*Z+D*D+T*T)+.5|0)/1e5,b/=l.scaleX,R/=l.scaleY,y/=l.scaleX,x/=l.scaleY,Math.abs(X)>2e-5?(l.skewX=X*G,R=0,"simple"!==l.skewType&&(l.scaleY*=1/Math.cos(X))):l.skewX=0,l.perspective=E?1/(E<0?-E:E):0,l.x=O,l.y=j,l.z=N,l.svg&&(l.x-=l.xOrigin-(l.xOrigin*b-l.yOrigin*R),l.y-=l.yOrigin-(l.yOrigin*y-l.xOrigin*x))}else if(!NA||t||!n.length||l.x!==n[4]||l.y!==n[5]||!l.rotationX&&!l.rotationY){var H=n.length>=6,k=H?n[0]:1,Y=n[1]||0,W=n[2]||0,L=H?n[3]:1;l.x=n[4]||0,l.y=n[5]||0,r=Math.sqrt(k*k+Y*Y),a=Math.sqrt(L*L+W*W),o=k||Y?Math.atan2(Y,k)*G:l.rotation||0,s=W||L?Math.atan2(W,L)*G+o:l.skewX||0,l.scaleX=r,l.scaleY=a,l.rotation=o,l.skewX=s,NA&&(l.rotationX=l.rotationY=l.z=0,l.perspective=v,l.scaleZ=1),l.svg&&(l.x-=l.xOrigin-(l.xOrigin*k+l.yOrigin*W),l.y-=l.yOrigin-(l.xOrigin*Y+l.yOrigin*L))}for(i in Math.abs(l.skewX)>90&&Math.abs(l.skewX)<270&&(c?(l.scaleX*=-1,l.skewX+=l.rotation<=0?180:-180,l.rotation+=l.rotation<=0?180:-180):(l.scaleY*=-1,l.skewX+=l.skewX<=0?180:-180)),l.zOrigin=u,l)l[i]<2e-5&&l[i]>-2e-5&&(l[i]=0)}return I&&(A._gsTransform=l,l.svg&&(RA&&A.style[TA]?C.f.delayedCall(.001,(function(){KA(A.style,TA)})):!RA&&A.getAttribute("transform")&&C.f.delayedCall(.001,(function(){A.removeAttribute("transform")})))),l},BA=function(A){var g,I,C=this.data,t=-C.rotation*E,e=t+C.skewX*E,n=(Math.cos(t)*C.scaleX*1e5|0)/1e5,i=(Math.sin(t)*C.scaleX*1e5|0)/1e5,r=(Math.sin(e)*-C.scaleY*1e5|0)/1e5,a=(Math.cos(e)*C.scaleY*1e5|0)/1e5,o=this.t.style,s=this.t.currentStyle;if(s){I=i,i=-r,r=-I,g=s.filter,o.filter="";var l,c,v=this.t.offsetWidth,p=this.t.offsetHeight,f="absolute"!==s.position,d="progid:DXImageTransform.Microsoft.Matrix(M11="+n+", M12="+i+", M21="+r+", M22="+a,h=C.x+v*C.xPercent/100,m=C.y+p*C.yPercent/100;if(null!=C.ox&&(h+=(l=(C.oxp?v*C.ox*.01:C.ox)-v/2)-(l*n+(c=(C.oyp?p*C.oy*.01:C.oy)-p/2)*i),m+=c-(l*r+c*a)),d+=f?", Dx="+((l=v/2)-(l*n+(c=p/2)*i)+h)+", Dy="+(c-(l*r+c*a)+m)+")":", sizingMethod='auto expand')",-1!==g.indexOf("DXImageTransform.Microsoft.Matrix(")?o.filter=g.replace(O,d):o.filter=d+" "+g,0!==A&&1!==A||1===n&&0===i&&0===r&&1===a&&(f&&-1===d.indexOf("Dx=0, Dy=0")||y.test(g)&&100!==parseFloat(RegExp.$1)||-1===g.indexOf(g.indexOf("Alpha"))&&o.removeAttribute("filter")),!f){var z,P,R,x=u<8?1:-1;for(l=C.ieOffsetX||0,c=C.ieOffsetY||0,C.ieOffsetX=Math.round((v-((n<0?-n:n)*v+(i<0?-i:i)*p))/2+h),C.ieOffsetY=Math.round((p-((a<0?-a:a)*p+(r<0?-r:r)*v))/2+m),bA=0;bA<4;bA++)R=(I=-1!==(z=s[P=tA[bA]]).indexOf("px")?parseFloat(z):$(this.t,P,parseFloat(z),z.replace(b,""))||0)!==C[P]?bA<2?-C.ieOffsetX:-C.ieOffsetY:bA<2?l-C.ieOffsetX:c-C.ieOffsetY,o[P]=(C[P]=Math.round(I-R*(0===bA||2===bA?1:x)))+"px"}}},UA=S.set3DTransformRatio=S.setTransformRatio=function(A){var g,I,C,t,e,n,i,r,a,o,s,c,u,v,p,f,d,h,m,b,y=this.data,z=this.t.style,P=y.rotation,R=y.rotationX,x=y.rotationY,w=y.scaleX,M=y.scaleY,Z=y.scaleZ,D=y.x,T=y.y,O=y.z,j=y.svg,N=y.perspective,G=y.force3D,X=y.skewY,H=y.skewX;if(X&&(H+=X,P+=X),!((1!==A&&0!==A||"auto"!==G||this.tween._totalTime!==this.tween._totalDuration&&this.tween._totalTime)&&G||O||N||x||R||1!==Z)||RA&&j||!NA)P||H||j?(P*=E,b=H*E,1e5,I=Math.cos(P)*w,e=Math.sin(P)*w,C=Math.sin(P-b)*-M,n=Math.cos(P-b)*M,b&&"simple"===y.skewType&&(g=Math.tan(b-X*E),C*=g=Math.sqrt(1+g*g),n*=g,X&&(g=Math.tan(X*E),I*=g=Math.sqrt(1+g*g),e*=g)),j&&(D+=y.xOrigin-(y.xOrigin*I+y.yOrigin*C)+y.xOffset,T+=y.yOrigin-(y.xOrigin*e+y.yOrigin*n)+y.yOffset,RA&&(y.xPercent||y.yPercent)&&(p=this.t.getBBox(),D+=.01*y.xPercent*p.width,T+=.01*y.yPercent*p.height),D<(p=1e-6)&&D>-p&&(D=0),T<p&&T>-p&&(T=0)),m=(1e5*I|0)/1e5+","+(1e5*e|0)/1e5+","+(1e5*C|0)/1e5+","+(1e5*n|0)/1e5+","+D+","+T+")",j&&RA?this.t.setAttribute("transform","matrix("+m):z[TA]=(y.xPercent||y.yPercent?"translate("+y.xPercent+"%,"+y.yPercent+"%) matrix(":"matrix(")+m):z[TA]=(y.xPercent||y.yPercent?"translate("+y.xPercent+"%,"+y.yPercent+"%) matrix(":"matrix(")+w+",0,0,"+M+","+D+","+T+")";else{if(l&&(w<(p=1e-4)&&w>-p&&(w=Z=2e-5),M<p&&M>-p&&(M=Z=2e-5),!N||y.z||y.rotationX||y.rotationY||(N=0)),P||H)P*=E,f=I=Math.cos(P),d=e=Math.sin(P),H&&(P-=H*E,f=Math.cos(P),d=Math.sin(P),"simple"===y.skewType&&(g=Math.tan((H-X)*E),f*=g=Math.sqrt(1+g*g),d*=g,y.skewY&&(g=Math.tan(X*E),I*=g=Math.sqrt(1+g*g),e*=g))),C=-d,n=f;else{if(!(x||R||1!==Z||N||j))return void(z[TA]=(y.xPercent||y.yPercent?"translate("+y.xPercent+"%,"+y.yPercent+"%) translate3d(":"translate3d(")+D+"px,"+T+"px,"+O+"px)"+(1!==w||1!==M?" scale("+w+","+M+")":""));I=n=1,C=e=0}o=1,t=i=r=a=s=c=0,u=N?-1/N:0,v=y.zOrigin,p=1e-6,",","0",(P=x*E)&&(f=Math.cos(P),r=-(d=Math.sin(P)),s=u*-d,t=I*d,i=e*d,o=f,u*=f,I*=f,e*=f),(P=R*E)&&(g=C*(f=Math.cos(P))+t*(d=Math.sin(P)),h=n*f+i*d,a=o*d,c=u*d,t=C*-d+t*f,i=n*-d+i*f,o*=f,u*=f,C=g,n=h),1!==Z&&(t*=Z,i*=Z,o*=Z,u*=Z),1!==M&&(C*=M,n*=M,a*=M,c*=M),1!==w&&(I*=w,e*=w,r*=w,s*=w),(v||j)&&(v&&(D+=t*-v,T+=i*-v,O+=o*-v+v),j&&(D+=y.xOrigin-(y.xOrigin*I+y.yOrigin*C)+y.xOffset,T+=y.yOrigin-(y.xOrigin*e+y.yOrigin*n)+y.yOffset),D<p&&D>-p&&(D="0"),T<p&&T>-p&&(T="0"),O<p&&O>-p&&(O=0)),m=y.xPercent||y.yPercent?"translate("+y.xPercent+"%,"+y.yPercent+"%) matrix3d(":"matrix3d(",m+=(I<p&&I>-p?"0":I)+","+(e<p&&e>-p?"0":e)+","+(r<p&&r>-p?"0":r),m+=","+(s<p&&s>-p?"0":s)+","+(C<p&&C>-p?"0":C)+","+(n<p&&n>-p?"0":n),R||x||1!==Z?(m+=","+(a<p&&a>-p?"0":a)+","+(c<p&&c>-p?"0":c)+","+(t<p&&t>-p?"0":t),m+=","+(i<p&&i>-p?"0":i)+","+(o<p&&o>-p?"0":o)+","+(u<p&&u>-p?"0":u)+","):m+=",0,0,0,0,1,0,",m+=D+","+T+","+O+","+(N?1+-O/N:1)+")",z[TA]=m}};(r=EA.prototype).x=r.y=r.z=r.skewX=r.skewY=r.rotation=r.rotationX=r.rotationY=r.zOrigin=r.xPercent=r.yPercent=r.xOffset=r.yOffset=0,r.scaleX=r.scaleY=r.scaleZ=1,zA("transform,scale,scaleX,scaleY,scaleZ,x,y,z,rotation,rotationX,rotationY,rotationZ,skewX,skewY,shortRotation,shortRotationX,shortRotationY,shortRotationZ,transformOrigin,svgOrigin,transformPerspective,directionalRotation,parseTransform,force3D,skewType,xPercent,yPercent,smoothOrigin",{parser:function(A,g,C,t,n,i,r){if(t._lastParsedTransform===r)return n;t._lastParsedTransform=r;var a,o=r.scale&&"function"==typeof r.scale?r.scale:0;"function"==typeof r[C]&&(a=r[C],r[C]=g),o&&(r.scale=o(p,A));var s,l,c,u,f,d,h,m,b,y=A._gsTransform,z=A.style,P=DA.length,R=r,x={},w=VA(A,I,!0,R.parseTransform),M=R.transform&&("function"==typeof R.transform?R.transform(p,v):R.transform);if(w.skewType=R.skewType||w.skewType||e.defaultSkewType,t._transform=w,M&&"string"==typeof M&&TA)(l=W.style)[TA]=M,l.display="block",l.position="absolute",-1!==M.indexOf("%")&&(l.width=_(A,"width"),l.height=_(A,"height")),k.body.appendChild(W),s=VA(W,null,!1),"simple"===w.skewType&&(s.scaleY*=Math.cos(s.skewX*E)),w.svg&&(d=w.xOrigin,h=w.yOrigin,s.x-=w.xOffset,s.y-=w.yOffset,(R.transformOrigin||R.svgOrigin)&&(M={},YA(A,nA(R.transformOrigin),M,R.svgOrigin,R.smoothOrigin,!0),d=M.xOrigin,h=M.yOrigin,s.x-=M.xOffset-w.xOffset,s.y-=M.yOffset-w.yOffset),(d||h)&&(m=FA(W,!0),s.x-=d-(d*m[0]+h*m[2]),s.y-=h-(d*m[1]+h*m[3]))),k.body.removeChild(W),s.perspective||(s.perspective=w.perspective),null!=R.xPercent&&(s.xPercent=rA(R.xPercent,w.xPercent)),null!=R.yPercent&&(s.yPercent=rA(R.yPercent,w.yPercent));else if("object"==typeof R){if(s={scaleX:rA(null!=R.scaleX?R.scaleX:R.scale,w.scaleX),scaleY:rA(null!=R.scaleY?R.scaleY:R.scale,w.scaleY),scaleZ:rA(R.scaleZ,w.scaleZ),x:rA(R.x,w.x),y:rA(R.y,w.y),z:rA(R.z,w.z),xPercent:rA(R.xPercent,w.xPercent),yPercent:rA(R.yPercent,w.yPercent),perspective:rA(R.transformPerspective,w.perspective)},null!=(f=R.directionalRotation))if("object"==typeof f)for(l in f)R[l]=f[l];else R.rotation=f;"string"==typeof R.x&&-1!==R.x.indexOf("%")&&(s.x=0,s.xPercent=rA(R.x,w.xPercent)),"string"==typeof R.y&&-1!==R.y.indexOf("%")&&(s.y=0,s.yPercent=rA(R.y,w.yPercent)),s.rotation=aA("rotation"in R?R.rotation:"shortRotation"in R?R.shortRotation+"_short":"rotationZ"in R?R.rotationZ:w.rotation,w.rotation,"rotation",x),NA&&(s.rotationX=aA("rotationX"in R?R.rotationX:"shortRotationX"in R?R.shortRotationX+"_short":w.rotationX||0,w.rotationX,"rotationX",x),s.rotationY=aA("rotationY"in R?R.rotationY:"shortRotationY"in R?R.shortRotationY+"_short":w.rotationY||0,w.rotationY,"rotationY",x)),s.skewX=aA(R.skewX,w.skewX),s.skewY=aA(R.skewY,w.skewY)}for(NA&&null!=R.force3D&&(w.force3D=R.force3D,u=!0),(c=w.force3D||w.z||w.rotationX||w.rotationY||s.z||s.rotationX||s.rotationY||s.perspective)||null==R.scale||(s.scaleZ=1);--P>-1;)((M=s[b=DA[P]]-w[b])>1e-6||M<-1e-6||null!=R[b]||null!=X[b])&&(u=!0,n=new dA(w,b,w[b],M,n),b in x&&(n.e=x[b]),n.xs0=0,n.plugin=i,t._overwriteProps.push(n.n));return M=R.transformOrigin,w.svg&&(M||R.svgOrigin)&&(d=w.xOffset,h=w.yOffset,YA(A,nA(M),s,R.svgOrigin,R.smoothOrigin),n=hA(w,"xOrigin",(y?w:s).xOrigin,s.xOrigin,n,"transformOrigin"),n=hA(w,"yOrigin",(y?w:s).yOrigin,s.yOrigin,n,"transformOrigin"),d===w.xOffset&&h===w.yOffset||(n=hA(w,"xOffset",y?d:w.xOffset,w.xOffset,n,"transformOrigin"),n=hA(w,"yOffset",y?h:w.yOffset,w.yOffset,n,"transformOrigin")),M="0px 0px"),(M||NA&&c&&w.zOrigin)&&(TA?(u=!0,b=jA,M=(M||_(A,b,I,!1,"50% 50%"))+"",(n=new dA(z,b,0,0,n,-1,"transformOrigin")).b=z[b],n.plugin=i,NA?(l=w.zOrigin,M=M.split(" "),w.zOrigin=(M.length>2&&(0===l||"0px"!==M[2])?parseFloat(M[2]):l)||0,n.xs0=n.e=M[0]+" "+(M[1]||"50%")+" 0px",(n=new dA(w,"zOrigin",0,0,n,-1,n.n)).b=l,n.xs0=n.e=w.zOrigin):n.xs0=n.e=M):nA(M+"",w)),u&&(t._transformType=w.svg&&RA||!c&&3!==this._transformType?2:3),a&&(r[C]=a),o&&(r.scale=o),n},prefix:!0}),zA("boxShadow",{defaultValue:"0px 0px 0px 0px #999",prefix:!0,color:!0,multi:!0,keyword:"inset"}),zA("borderRadius",{defaultValue:"0px",parser:function(A,C,t,e,n,i){C=this.format(C);var r,a,o,s,l,c,u,v,p,f,d,h,m,b,y,z,P=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],R=A.style;for(p=parseFloat(A.offsetWidth),f=parseFloat(A.offsetHeight),r=C.split(" "),a=0;a<P.length;a++)this.p.indexOf("border")&&(P[a]=Q(P[a])),-1!==(l=s=_(A,P[a],I,!1,"0px")).indexOf(" ")&&(s=l.split(" "),l=s[0],s=s[1]),c=o=r[a],u=parseFloat(l),h=l.substr((u+"").length),(m="="===c.charAt(1))?(v=parseInt(c.charAt(0)+"1",10),c=c.substr(2),v*=parseFloat(c),d=c.substr((v+"").length-(v<0?1:0))||""):(v=parseFloat(c),d=c.substr((v+"").length)),""===d&&(d=g[t]||h),d!==h&&(b=$(A,"borderLeft",u,h),y=$(A,"borderTop",u,h),"%"===d?(l=b/p*100+"%",s=y/f*100+"%"):"em"===d?(l=b/(z=$(A,"borderLeft",1,"em"))+"em",s=y/z+"em"):(l=b+"px",s=y+"px"),m&&(c=parseFloat(l)+v+d,o=parseFloat(s)+v+d)),n=mA(R,P[a],l+" "+s,c+" "+o,!1,"0px",n);return n},prefix:!0,formatter:vA("0px 0px 0px 0px",!1,!0)}),zA("borderBottomLeftRadius,borderBottomRightRadius,borderTopLeftRadius,borderTopRightRadius",{defaultValue:"0px",parser:function(A,g,C,t,e,n){return mA(A.style,C,this.format(_(A,C,I,!1,"0px 0px")),this.format(g),!1,"0px",e)},prefix:!0,formatter:vA("0px 0px",!1,!0)}),zA("backgroundPosition",{defaultValue:"0 0",parser:function(A,g,C,t,e,n){var i,r,a,o,s,l,c="background-position",v=I||q(A,null),p=this.format((v?u?v.getPropertyValue(c+"-x")+" "+v.getPropertyValue(c+"-y"):v.getPropertyValue(c):A.currentStyle.backgroundPositionX+" "+A.currentStyle.backgroundPositionY)||"0 0"),f=this.format(g);if(-1!==p.indexOf("%")!=(-1!==f.indexOf("%"))&&f.split(",").length<2&&(l=_(A,"backgroundImage").replace(M,""))&&"none"!==l){for(i=p.split(" "),r=f.split(" "),L.setAttribute("src",l),a=2;--a>-1;)(o=-1!==(p=i[a]).indexOf("%"))!==(-1!==r[a].indexOf("%"))&&(s=0===a?A.offsetWidth-L.width:A.offsetHeight-L.height,i[a]=o?parseFloat(p)/100*s+"px":parseFloat(p)/s*100+"%");p=i.join(" ")}return this.parseComplex(A.style,p,f,e,n)},formatter:nA}),zA("backgroundSize",{defaultValue:"0 0",formatter:function(A){return"co"===(A+="").substr(0,2)?A:nA(-1===A.indexOf(" ")?A+" "+A:A)}}),zA("perspective",{defaultValue:"0px",prefix:!0}),zA("perspectiveOrigin",{defaultValue:"50% 50%",prefix:!0}),zA("transformStyle",{prefix:!0}),zA("backfaceVisibility",{prefix:!0}),zA("userSelect",{prefix:!0}),zA("margin",{parser:pA("marginTop,marginRight,marginBottom,marginLeft")}),zA("padding",{parser:pA("paddingTop,paddingRight,paddingBottom,paddingLeft")}),zA("clip",{defaultValue:"rect(0px,0px,0px,0px)",parser:function(A,g,C,t,e,n){var i,r,a;return u<9?(r=A.currentStyle,a=u<8?" ":",",i="rect("+r.clipTop+a+r.clipRight+a+r.clipBottom+a+r.clipLeft+")",g=this.format(g).split(",").join(a)):(i=this.format(_(A,this.p,I,!1,this.dflt)),g=this.format(g)),this.parseComplex(A.style,i,g,e,n)}}),zA("textShadow",{defaultValue:"0px 0px 0px #999",color:!0,multi:!0}),zA("autoRound,strictUnits",{parser:function(A,g,I,C,t){return t}}),zA("border",{defaultValue:"0px solid #000",parser:function(A,g,C,t,e,n){var i=_(A,"borderTopWidth",I,!1,"0px"),r=this.format(g).split(" "),a=r[0].replace(b,"");return"px"!==a&&(i=parseFloat(i)/$(A,"borderTopWidth",1,a)+a),this.parseComplex(A.style,this.format(i+" "+_(A,"borderTopStyle",I,!1,"solid")+" "+_(A,"borderTopColor",I,!1,"#000")),r.join(" "),e,n)},color:!0,formatter:function(A){var g=A.split(" ");return g[0]+" "+(g[1]||"solid")+" "+(A.match(uA)||["#000"])[0]}}),zA("borderWidth",{parser:pA("borderTopWidth,borderRightWidth,borderBottomWidth,borderLeftWidth")}),zA("float,cssFloat,styleFloat",{parser:function(A,g,I,C,t,e){var n=A.style,i="cssFloat"in n?"cssFloat":"styleFloat";return new dA(n,i,0,0,t,-1,I,!1,0,n[i],g)}});var JA=function(A){var g,I=this.t,C=I.filter||_(this.data,"filter")||"",t=this.s+this.c*A|0;100===t&&(-1===C.indexOf("atrix(")&&-1===C.indexOf("radient(")&&-1===C.indexOf("oader(")?(I.removeAttribute("filter"),g=!_(this.data,"filter")):(I.filter=C.replace(P,""),g=!0)),g||(this.xn1&&(I.filter=C=C||"alpha(opacity="+t+")"),-1===C.indexOf("pacity")?0===t&&this.xn1||(I.filter=C+" alpha(opacity="+t+")"):I.filter=C.replace(y,"opacity="+t))};zA("opacity,alpha,autoAlpha",{defaultValue:"1",parser:function(A,g,C,t,e,n){var i=parseFloat(_(A,"opacity",I,!1,"1")),r=A.style,a="autoAlpha"===C;return"string"==typeof g&&"="===g.charAt(1)&&(g=("-"===g.charAt(0)?-1:1)*parseFloat(g.substr(2))+i),a&&1===i&&"hidden"===_(A,"visibility",I)&&0!==g&&(i=0),V?e=new dA(r,"opacity",i,g-i,e):((e=new dA(r,"opacity",100*i,100*(g-i),e)).xn1=a?1:0,r.zoom=1,e.type=2,e.b="alpha(opacity="+e.s+")",e.e="alpha(opacity="+(e.s+e.c)+")",e.data=A,e.plugin=n,e.setRatio=JA),a&&((e=new dA(r,"visibility",0,0,e,-1,null,!1,0,0!==i?"inherit":"hidden",0===g?"hidden":"inherit")).xs0="inherit",t._overwriteProps.push(e.n),t._overwriteProps.push(C)),e}});var KA=function(A,g){g&&(A.removeProperty?("ms"!==g.substr(0,2)&&"webkit"!==g.substr(0,6)||(g="-"+g),A.removeProperty(g.replace(x,"-$1").toLowerCase())):A.removeAttribute(g))},QA=function(A){if(this.t._gsClassPT=this,1===A||0===A){this.t.setAttribute("class",0===A?this.b:this.e);for(var g=this.data,I=this.t.style;g;)g.v?I[g.p]=g.v:KA(I,g.p),g=g._next;1===A&&this.t._gsClassPT===this&&(this.t._gsClassPT=null)}else this.t.getAttribute("class")!==this.e&&this.t.setAttribute("class",this.e)};zA("className",{parser:function(g,C,t,e,n,i,r){var a,o,s,l,c,u=g.getAttribute("class")||"",v=g.style.cssText;if((n=e._classNamePT=new dA(g,t,0,0,n,2)).setRatio=QA,n.pr=-11,A=!0,n.b=u,o=gA(g,I),s=g._gsClassPT){for(l={},c=s.data;c;)l[c.p]=1,c=c._next;s.setRatio(1)}return g._gsClassPT=n,n.e="="!==C.charAt(1)?C:u.replace(new RegExp("(?:\\s|^)"+C.substr(2)+"(?![\\w-])"),"")+("+"===C.charAt(0)?" "+C.substr(2):""),g.setAttribute("class",n.e),a=IA(g,o,gA(g),r,l),g.setAttribute("class",u),n.data=a.firstMPT,g.style.cssText=v,n=n.xfirst=e.parse(g,a.difs,n,i)}});var qA=function(A){if((1===A||0===A)&&this.data._totalTime===this.data._totalDuration&&"isFromStart"!==this.data.data){var g,I,C,t,e,n=this.t.style,r=i.transform.parse;if("all"===this.e)n.cssText="",t=!0;else for(C=(g=this.e.split(" ").join("").split(",")).length;--C>-1;)I=g[C],i[I]&&(i[I].parse===r?t=!0:I="transformOrigin"===I?jA:i[I].p),KA(n,I);t&&(KA(n,TA),(e=this.t._gsTransform)&&(e.svg&&(this.t.removeAttribute("data-svg-origin"),this.t.removeAttribute("transform")),delete this.t._gsTransform))}};for(zA("clearProps",{parser:function(g,I,C,t,e){return(e=new dA(g,C,0,0,e,2)).setRatio=qA,e.e=I,e.pr=-10,e.data=t._tween,A=!0,e}}),r="bezier,throwProps,physicsProps,physics2D".split(","),bA=r.length;bA--;)PA(r[bA]);(r=e.prototype)._firstPT=r._lastParsedTransform=r._transform=null,r._onInitTween=function(C,n,r,l){if(!C.nodeType)return!1;this._target=v=C,this._tween=r,this._vars=n,p=l,a=n.autoRound,A=!1,g=n.suffixMap||e.suffixMap,I=q(C,""),t=this._overwriteProps;var u,f,d,h,m,b,y,P,R,x=C.style;if(o&&""===x.zIndex&&("auto"!==(u=_(C,"zIndex",I))&&""!==u||this._addLazySet(x,"zIndex",0)),"string"==typeof n&&(h=x.cssText,u=gA(C,I),x.cssText=h+";"+n,u=IA(C,u,gA(C)).difs,!V&&z.test(n)&&(u.opacity=parseFloat(RegExp.$1)),n=u,x.cssText=h),n.className?this._firstPT=f=i.className.parse(C,n.className,"className",this,null,null,n):this._firstPT=f=this.parse(C,n,null),this._transformType){for(R=3===this._transformType,TA?s&&(o=!0,""===x.zIndex&&("auto"!==(y=_(C,"zIndex",I))&&""!==y||this._addLazySet(x,"zIndex",0)),c&&this._addLazySet(x,"WebkitBackfaceVisibility",this._vars.WebkitBackfaceVisibility||(R?"visible":"hidden"))):x.zoom=1,d=f;d&&d._next;)d=d._next;P=new dA(C,"transform",0,0,null,2),this._linkCSSP(P,null,d),P.setRatio=TA?UA:BA,P.data=this._transform||VA(C,I,!0),P.tween=r,P.pr=-1,t.pop()}if(A){for(;f;){for(b=f._next,d=h;d&&d.pr>f.pr;)d=d._next;(f._prev=d?d._prev:m)?f._prev._next=f:h=f,(f._next=d)?d._prev=f:m=f,f=b}this._firstPT=h}return!0},r.parse=function(A,C,t,e){var n,r,o,s,l,c,u,f,d,h,m=A.style;for(n in C){if("function"==typeof(c=C[n])&&(c=c(p,v)),r=i[n])t=r.parse(A,c,n,this,t,e,C);else{if("--"===n.substr(0,2)){this._tween._propLookup[n]=this._addTween.call(this._tween,A.style,"setProperty",q(A).getPropertyValue(n)+"",c+"",n,!1,n);continue}l=_(A,n,I)+"",d="string"==typeof c,"color"===n||"fill"===n||"stroke"===n||-1!==n.indexOf("Color")||d&&R.test(c)?(d||(c=((c=lA(c)).length>3?"rgba(":"rgb(")+c.join(",")+")"),t=mA(m,n,l,c,!0,"transparent",t,0,e)):d&&N.test(c)?t=mA(m,n,l,c,!0,null,t,0,e):(u=(o=parseFloat(l))||0===o?l.substr((o+"").length):"",""!==l&&"auto"!==l||("width"===n||"height"===n?(o=eA(A,n,I),u="px"):"left"===n||"top"===n?(o=AA(A,n,I),u="px"):(o="opacity"!==n?0:1,u="")),(h=d&&"="===c.charAt(1))?(s=parseInt(c.charAt(0)+"1",10),c=c.substr(2),s*=parseFloat(c),f=c.replace(b,"")):(s=parseFloat(c),f=d?c.replace(b,""):""),""===f&&(f=n in g?g[n]:u),c=s||0===s?(h?s+o:s)+f:C[n],u!==f&&(""===f&&"lineHeight"!==n||(s||0===s)&&o&&(o=$(A,n,o,u),"%"===f?(o/=$(A,n,100,"%")/100,!0!==C.strictUnits&&(l=o+"%")):"em"===f||"rem"===f||"vw"===f||"vh"===f?o/=$(A,n,1,f):"px"!==f&&(s=$(A,n,s,f),f="px"),h&&(s||0===s)&&(c=s+o+f))),h&&(s+=o),!o&&0!==o||!s&&0!==s?void 0!==m[n]&&(c||c+""!="NaN"&&null!=c)?(t=new dA(m,n,s||o||0,0,t,-1,n,!1,0,l,c)).xs0="none"!==c||"display"!==n&&-1===n.indexOf("Style")?c:l:U("invalid "+n+" tween value: "+C[n]):(t=new dA(m,n,o,s-o,t,0,n,!1!==a&&("px"===f||"zIndex"===n),0,l,c)).xs0=f)}e&&t&&!t.plugin&&(t.plugin=e)}return t},r.setRatio=function(A){var g,I,C,t=this._firstPT;if(1!==A||this._tween._time!==this._tween._duration&&0!==this._tween._time)if(A||this._tween._time!==this._tween._duration&&0!==this._tween._time||-1e-6===this._tween._rawPrevTime)for(;t;){if(g=t.c*A+t.s,t.r?g=t.r(g):g<1e-6&&g>-1e-6&&(g=0),t.type)if(1===t.type)if(2===(C=t.l))t.t[t.p]=t.xs0+g+t.xs1+t.xn1+t.xs2;else if(3===C)t.t[t.p]=t.xs0+g+t.xs1+t.xn1+t.xs2+t.xn2+t.xs3;else if(4===C)t.t[t.p]=t.xs0+g+t.xs1+t.xn1+t.xs2+t.xn2+t.xs3+t.xn3+t.xs4;else if(5===C)t.t[t.p]=t.xs0+g+t.xs1+t.xn1+t.xs2+t.xn2+t.xs3+t.xn3+t.xs4+t.xn4+t.xs5;else{for(I=t.xs0+g+t.xs1,C=1;C<t.l;C++)I+=t["xn"+C]+t["xs"+(C+1)];t.t[t.p]=I}else-1===t.type?t.t[t.p]=t.xs0:t.setRatio&&t.setRatio(A);else t.t[t.p]=g+t.xs0;t=t._next}else for(;t;)2!==t.type?t.t[t.p]=t.b:t.setRatio(A),t=t._next;else for(;t;){if(2!==t.type)if(t.r&&-1!==t.type)if(g=t.r(t.s+t.c),t.type){if(1===t.type){for(C=t.l,I=t.xs0+g+t.xs1,C=1;C<t.l;C++)I+=t["xn"+C]+t["xs"+(C+1)];t.t[t.p]=I}}else t.t[t.p]=g+t.xs0;else t.t[t.p]=t.e;else t.setRatio(A);t=t._next}},r._enableTransforms=function(A){this._transform=this._transform||VA(this._target,I,!0),this._transformType=this._transform.svg&&RA||!A&&3!==this._transformType?2:3};var _A=function(A){this.t[this.p]=this.e,this.data._linkCSSP(this,this._next,null,!0)};r._addLazySet=function(A,g,I){var C=this._firstPT=new dA(A,g,0,0,this._firstPT,2);C.e=I,C.setRatio=_A,C.data=this},r._linkCSSP=function(A,g,I,C){return A&&(g&&(g._prev=A),A._next&&(A._next._prev=A._prev),A._prev?A._prev._next=A._next:this._firstPT===A&&(this._firstPT=A._next,C=!0),I?I._next=A:C||null!==this._firstPT||(this._firstPT=A),A._next=g,A._prev=I),A},r._mod=function(A){for(var g=this._firstPT;g;)"function"==typeof A[g.p]&&(g.r=A[g.p]),g=g._next},r._kill=function(A){var g,I,t,e=A;if(A.autoAlpha||A.alpha){for(I in e={},A)e[I]=A[I];e.opacity=1,e.autoAlpha&&(e.visibility=1)}for(A.className&&(g=this._classNamePT)&&((t=g.xfirst)&&t._prev?this._linkCSSP(t._prev,g._next,t._prev._prev):t===this._firstPT&&(this._firstPT=g._next),g._next&&this._linkCSSP(g._next,g._next._next,t._prev),this._classNamePT=null),g=this._firstPT;g;)g.plugin&&g.plugin!==I&&g.plugin._kill&&(g.plugin._kill(A),I=g.plugin),g=g._next;return C.d.prototype._kill.call(this,e)};var $A=function(A,g,I){var C,t,e,n;if(A.slice)for(t=A.length;--t>-1;)$A(A[t],g,I);else for(t=(C=A.childNodes).length;--t>-1;)n=(e=C[t]).type,e.style&&(g.push(gA(e)),I&&I.push(e)),1!==n&&9!==n&&11!==n||!e.childNodes.length||$A(e,g,I)};return e.cascadeTo=function(A,g,I){var t,e,n,i,r=C.f.to(A,g,I),a=[r],o=[],s=[],l=[],c=C.f._internals.reservedProps;for(A=r._targets||r.target,$A(A,o,l),r.render(g,!0,!0),$A(A,s),r.render(0,!0,!0),r._enabled(!0),t=l.length;--t>-1;)if((e=IA(l[t],o[t],s[t])).firstMPT){for(n in e=e.difs,I)c[n]&&(e[n]=I[n]);for(n in i={},e)i[n]=o[t][n];a.push(C.f.fromTo(l[t],g,i,e))}return a},C.d.activate([e]),e}),!0);const i=C.e.CSSPlugin,r=C.e._gsDefine.plugin({propName:"attr",API:2,version:"0.6.1",init:function(A,g,I,C){var t,e;if("function"!=typeof A.setAttribute)return!1;for(t in g)"function"==typeof(e=g[t])&&(e=e(C,A)),this._addTween(A,"setAttribute",A.getAttribute(t)+"",e+"",t,!1,t),this._overwriteProps.push(t);return!0}}),a=C.e._gsDefine.plugin({propName:"roundProps",version:"1.7.0",priority:-1,API:2,init:function(A,g,I){return this._tween=I,!0}}),o=function(A){var g=A<1?Math.pow(10,(A+"").length-2):1;return function(I){return(Math.round(I/A)*A*g|0)/g}},s=function(A,g){for(;A;)A.f||A.blob||(A.m=g||Math.round),A=A._next},l=a.prototype;
|
|
97
97
|
/*!
|
|
98
98
|
* VERSION: 0.6.1
|
|
99
99
|
* DATE: 2018-05-14
|
|
@@ -158,7 +158,7 @@ C.e._gsDefine("easing.Back",["easing.Ease"],(function(){var A,g,I,t,e=C.e.GreenS
|
|
|
158
158
|
\********************/
|
|
159
159
|
/*! exports provided: default */
|
|
160
160
|
/*! all exports used */
|
|
161
|
-
/*! ModuleConcatenation bailout: Module uses injected variables (process) */function(A,g,I){"use strict";I.r(g),function(A){var C=I(/*! @babel/runtime/helpers/classCallCheck */2),t=I.n(C),e=I(/*! @babel/runtime/helpers/createClass */3),n=I.n(e),i=I(/*! @babel/runtime/helpers/typeof */5),r=I.n(i),a=I(/*! gsap */4),o=I(/*! lodash */1),s=(I(/*! ../assets/map/map.css */11),I(/*! hammerjs */60)),l=I(/*! imports-loader?define=>false!jquery-mousewheel */61),c=I(/*! ./sp/v1 */62),u=I(/*! ./sp/v2 */65),v=1e3;g.default=function(g){l(g);var I=function(I){var C=this,e=this;e.statics={restartNavigationData:null,multipleNavigation:{navigationDetails:null,groupIndex:0}},e.o={locale:{language:"en",availableLanguages:["en","tr","ru","ar","kz","it"]},mode:"default",locationCannotBeSelected:null,helperTexts:{youAreHere:"You are here"},strokeOptions:{width:8,color:"#000"},animation:{speedFactor:8,frequencyFactor:8,mode:"line",debugContainer:"#navigation-debugger",availableModes:["line","dot","arrow","foot","feet"],pointModes:["dot","arrow"],stackAnimation:!1},selector:"[id^=stores] > *",serviceSelector:"[id^=services] > *",rotateServices:!1,rotatable90PathSelector:"[id^=deg-90] > *",rotatable180PathSelector:"[id^=deg-180] > *",rotatable270TextSelector:"[id^=texts-vertical] > *",rotatable180TextSelector:"[id^=texts-horizontal] > *",rectSelector:"[id^=rects] > *",noPointerGroupSelector:"g[id^=nopointer]",stackMode:{enabled:!1,offset:10,switchFloorTime:5*v},draggable:!0,landmark:!1,mapFill:!1,height:420,zoomToSelected:!0,rotatable:!1,action:"tooltip",hoverTip:!0,tooltip:{enabled:!0,navigation:!1,detail:!1,renderTemplate:!1},smartip:!0,fillColor:"",developer:!1,mouseWheel:!0,maxScale:4,animationScale:1.5,cssAnimation:!0,cssAnimationTime:v,zoom:!0,textOnRect:{enabled:!0,fontFamily:"sans-serif",fontSize:24,maxFontSize:48,minFontSize:16,mode:"dynamic",availableModes:["static","dynamic"]},beaconMode:!1,initialScaleFactor:1},e.$el=I,e.contentWidth={},e.contentHeight={},e.fitscale={},e.offsetDueToRotation=0,e.offsetCoefficient={},e.callbackMapReady=null,e.addLevel=function(A){e.levels=e.levels||[],e.levels.push(A)},e.debug=function(){var A;(A=e.logger).debug.apply(A,arguments)},e.log=function(){var A;(A=e.logger).log.apply(A,arguments)},e.error=function(){var A;(A=e.logger).error.apply(A,arguments)},e.init=function(A){var g=A.data;A.data=null,e.isMultiBuilding=function(){return!!g.buildings&&g.buildings.length},e.getNodes=function(){return g.nodes},e.getPaths=function(){return g.paths},e.getLevels=function(){return g.levels},e.logger=new i(e.o.developer||A.developer),e.debug("init:",o.get(A,"tooltip"));var I=o.get(A,"tooltip");o.isBoolean(I)?(A.tooltip=e.o.tooltip,A.tooltip.enabled=I):o.isBoolean(o.get(A,"tooltip.enabled"))||(A.tooltip=A.tooltip||e.o.tooltip,A.tooltip.enabled=!0);var C=o.get(A,"textOnRect");o.isBoolean(C)?(A.textOnRect=e.o.textOnRect,A.textOnRect.enabled=C):(o.isBoolean(o.get(A,"textOnRect.enabled"))||(A.textOnRect=A.textOnRect||e.o.textOnRect,A.textOnRect.enabled=!0),A.textOnRect.mode?o.includes(e.o.textOnRect.availableModes,A.textOnRect.mode)||(e.debug("init: textOnRect mode selected NOT AVAILABLE, switching to default.."),A.textOnRect.mode=e.o.textOnRect.mode):A.textOnRect.mode=e.o.textOnRect.mode,"dynamic"===A.textOnRect.mode?A.textOnRect.fontSize||(A.textOnRect.fontSize=e.o.textOnRect.fontSize):"static"===A.textOnRect.mode&&(A.textOnRect.maxFontSize||(A.textOnRect.maxFontSize=e.o.textOnRect.maxFontSize),A.textOnRect.minFontSize||(A.textOnRect.minFontSize=e.o.textOnRect.minFontSize))),A.animation&&(A.animation.debugContainer||(A.animation.debugContainer=e.o.animation.debugContainer),A.animation.speedFactor||(A.animation.speedFactor=e.o.animation.speedFactor),A.animation.frequencyFactor||(A.animation.frequencyFactor=e.o.animation.frequencyFactor),A.animation.mode?o.includes(e.o.animation.availableModes,A.animation.mode)||(e.debug("init: Animation mode selected NOT AVAILABLE, switching to default.."),A.animation.mode=e.o.animation.mode):A.animation.mode=e.o.animation.mode,A.animation.pointModes=e.o.animation.pointModes,A.animation.availableModes=e.o.animation.availableModes);var t=o.get(A,"stackMode");if(o.isBoolean(t)?(A.stackMode=e.o.stackMode,A.stackMode.enabled=t):o.isBoolean(o.get(A,"stackMode.enabled"))||(A.stackMode=A.stackMode||e.o.stackMode,A.stackMode.enabled=!0),A.locale&&(A.locale.availableLanguages||(A.locale.availableLanguages=e.o.locale.availableLanguages),A.locale.language?o.includes(A.locale.availableLanguages,A.locale.language)||(e.debug("init: Language selected NOT AVAILABLE, switching to default.."),A.locale.language=e.o.locale.language):A.locale.language=e.o.locale.language),o.assignInWith(e.o,A,(function A(g,I){return void 0!==g&&void 0!==I&&"object"===r()(g)&&"object"===r()(I)?(o.assignWith(g,I,A),g):o.isUndefined(I)?g:I})),e.debug("init: map options",e.o),!e.o.animation.stackAnimation||e.o.stackMode.enabled)return e.x=0,e.y=0,e.scale={},g.levels.forEach((function(A){e.scale[A.id]=1})),e.rotation=0,e.debug("init: SETTING CONTAINER HEIGHT AS ".concat(e.o.height)),e.$el.addClass("svg-map-element svg-map-loading").height(e.o.height),e.o.landmark=!!g.landmark,e.o.landmark&&(e.o.hoverTip=!1,e.o.action="tooltip"),e.o.id?(o.isNumber(e.o.rotate)?(e.o.rotate=e.o.rotate%360,e.o.rotate%90&&(e.o.rotate=0)):e.o.rotate=0,setTimeout((function(){if(e.debug("init: LOADING SVG MAP.."),g.levels&&g.levels.length)e.debug("init: levels already ready");else{if(e.debug("init: levels submitted beforehand"),!e.levels||!e.levels.length)return void e.error("init: levels should be submitted beforehand!");g.levels=e.levels}P(g)}),.1*v),e):(e.$el.removeClass("svg-map-loading").addClass("svg-map-error"),void e.error("Map is not set! [svg-map] parameters must contain an id attribute."));e.error("if you want to use stackAnimation. You need to enable stackMode !")};var i=function(){function A(){var g=arguments.length>0&&void 0!==arguments[0]&&arguments[0];t()(this,A),this.debugMode=g}return n()(A,[{key:"log",value:function(){var A;(A=console).log.apply(A,arguments)}},{key:"debug",value:function(){var A;this.debugMode&&(A=console).log.apply(A,arguments)}},{key:"error",value:function(){var A;(A=console).error.apply(A,arguments)}}]),A}(),l=function(){function A(){t()(this,A),this.tooltips=[],this.tooltips.push(new p)}return n()(A,[{key:"init",value:function(){o.each(this.tooltips,(function(A){A.init()}))}},{key:"show",value:function(A,g){var I,C=this;if((I=Array.isArray(A)?A:[A]).length){var t=this.tooltips.splice(0,this.tooltips.length-1);e.debug("TooltipContainer: TOOLTIP LENGTH TO REMOVE=",t.length,"TOOLTIP LENGTH NOW=",this.tooltips.length),o.each(t,(function(A){A.remove()}));var n=1===I.length,i=0;o.each(I,(function(A){if(!i)return e.debug("TooltipContainer: FIRST TOOLTIP"),C.tooltips[i].show(A,g,n),void i++;e.debug("TooltipContainer: OTHER TOOLTIP, ",i);var I=new p;I.init(),C.tooltips.push(I),I.show(A,g,n),i++}))}}},{key:"hide",value:function(){e.debug("TooltipContainer: tooltip hided"),o.each(this.tooltips,(function(A){A.hide()}))}},{key:"position",value:function(){o.each(this.tooltips,(function(A){A.position()}))}},{key:"updateLocalized",value:function(A){o.each(this.tooltips,(function(g){g.updateLocalized(A)}))}},{key:"getOneLocation",value:function(){return o.get(this.tooltips[0],"location")}}]),A}(),p=function(){function A(){t()(this,A),this.$el=null,this.shift=6,this.drop=0,this.location=null}return n()(A,[{key:"init",value:function(){var A=this;if(e.debug("Tooltip: INIT"),e.o.tooltip.renderTemplate)this.$el=g(g.parseHTML(e.o.tooltip.renderTemplate)),this.$title=this.$el.find("#svg-map-tooltip-title"),this.$content=this.$el.find("#svg-map-tooltip-content"),e.o.tooltip.navigation&&(this.$navigation=this.$el.find("#svg-map-tooltip-navigation-button")),e.o.tooltip.detail&&(this.$detail=this.$el.find("#svg-map-tooltip-detail-button")),this.$logo=this.$el.find("#svg-map-tooltip-logo"),this.$facade=this.$el.find("#svg-map-tooltip-facade"),this.$floor=this.$el.find("#svg-map-tooltip-category"),this.$close=this.$el.find("#svg-map-tooltip-close");else{this.$el=g("<div/>").addClass("svg-map-tooltip");var I=!e.o.landmark;I&&(this.$close=g("<a/>").addClass("svg-map-tooltip-close").attr("href","#").appendTo(this.$el)),this.$content=g("<div/>").addClass("svg-map-tooltip-content").addClass(I?"":"svg-map-tooltip-landmarkmode").appendTo(this.$el),this.$title=g("<h4/>").addClass("svg-map-tooltip-title").appendTo(this.$content),!e.o.landmark&&e.o.tooltip.enabled&&(e.o.tooltip.navigation&&(this.$navigation=g("<a/>").addClass("svg-map-tooltip-navigation-button").attr("href","#"),e.o.tooltip.navigation.image?this.$navigation.append(g("<img/>",{src:e.o.tooltip.navigation.image})).append(g("<span/>",{text:e.o.tooltip.navigation.text})):this.$navigation.text(e.o.tooltip.navigation.text),this.$navigation.appendTo(this.$content)),e.o.tooltip.detail&&(this.$detail=g("<a/>",{text:e.o.tooltip.detail.text||"DETAIL"}).addClass("svg-map-tooltip-detail-button").attr("href","#").attr("type","button").appendTo(this.$content)),e.isMultiBuilding()&&e.o.tooltip.enterBuilding&&(this.$enterBuilding=g("<a/>",{text:e.o.tooltip.enterBuilding.text||"ENTER"}).addClass("svg-map-tooltip-enter-building-button").attr("href","#").attr("type","button").appendTo(this.$content)))}this.$navigation&&this.$navigation.on("click touchend",(function(g){g.preventDefault(),e.$el.trigger("navigationClicked",[A.$navigation,A.location.id])})),this.$detail&&this.$detail.on("click touchend",(function(g){g.preventDefault(),e.$el.trigger("detailClicked",[A.$detail,A.location.id])})),this.$enterBuilding&&this.$enterBuilding.on("click touchend",(function(g){g.preventDefault(),e.$el.trigger("enterBuildingClicked",[A.$enterBuilding,A.location.buildingId,A.location.id])})),this.$close&&this.$close.on("click touchend",(function(A){A.preventDefault(),e.hideLocation(),e.o.zoom||$(.5,.5,1,1.2*v,"easeInOutCubic"),e.$el.trigger("closeClicked",[this.$close])})),this.$triangle=g("<div/>").addClass("svg-map-tooltip-triangle").prependTo(this.$el),e.$map.append(this.$el)}},{key:"show",value:function(A,g){var I=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];A&&"kiosk"!==A.type&&(this.location=A,e.hoverTip&&e.hoverTip.hide(),this.$title.text(fA(A)),this.$detail&&this.$detail.text(e.o.tooltip.detail.text||"DETAIL"),this.$enterBuilding&&(this.$enterBuilding.text(e.o.tooltip.enterBuilding.text||"ENTER"),"building"===A.type?this.$enterBuilding.show():this.$enterBuilding.hide()),this.$logo&&(A.logo?(this.$logo.show(),this.$logo.attr("src",A.logo)):this.$logo.hide()),this.$facade&&(A.facade?(this.$facade.show(),this.$facade.attr("src",A.facade)):this.$facade.hide()),this.$floor&&this.$floor.text(o.get(A.floor,e.o.locale.language,"")),this.$content[0].scrollTop=0,this.shift=20,this.position(),this.$el.stop().show(),this.$el.css({opacity:1}),I&&this.zoom(A,g))}},{key:"position",value:function(){if(this.location){e.debug("POSITION TOOLTIP FOR LOCATION ID:"+this.location.id);var A=e.$map.offset().left+e.$map.width()*dA(this.location)-e.$container.offset().left,g=e.$map.offset().top+e.$map.height()*hA(this.location)-e.$container.offset().top,I=100*dA(this.location),C=100*hA(this.location),t=-this.$el.outerHeight()-(e.o.landmark?.75*this.shift:this.shift),n=-this.$el.outerWidth()/2;if(e.o.smartip){var i=.5;Math.abs(t)>g?(t=10,this.$el.addClass("svg-map-bottom")):this.$el.removeClass("svg-map-bottom"),this.$el.outerWidth()/2>A?i=.5-(this.$el.outerWidth()/2-A)/this.$el.outerWidth():e.$container.width()-A-this.$el.outerWidth()/2<0&&(i=.5+(A+this.$el.outerWidth()/2-e.$container.width())/this.$el.outerWidth()),i=Math.max(0,Math.min(1,i)),n=-this.$el.outerWidth()*i,this.$triangle.css("left",Math.max(5,Math.min(95,100*i))+"%")}this.$el.css({left:I+"%",top:C+"%",marginTop:t,marginLeft:n}),this.drop=this.$el.outerHeight()+this.shift}}},{key:"zoom",value:function(A,g){if(!e.o.zoomToSelected)return e.debug("Tooltip: NO ZOOM REQUIRED"),void $(.5,.5,1,1.2*v,"easeInOutCubic");var I=A.zoom?parseFloat(A.zoom):e.o.maxScale,C=((e.$container.height()-this.drop)/2+this.drop)/e.$container.height();$(dA(A),hA(A),I,g||1.2*v,"easeInOutCubic",C)}},{key:"hide",value:function(){var A=this;this.location=null,this.$el.stop().fadeOut(.3*v,(function(){e.o.tooltip.enabled&&e.o.tooltip.navigation&&A.$navigation&&(e.o.tooltip.navigation.image?A.$navigation.find("span").text(e.o.tooltip.navigation.text):A.$navigation.text(e.o.tooltip.navigation.text))}))}},{key:"updateLocalized",value:function(A){A.navigationText&&(e.o.tooltip.navigation.text=A.navigationText,e.o.tooltip.navigation.image?this.$navigation.find("span").text(A.navigationText):this.$navigation.text(A.navigationText)),A.closeText&&this.$close&&this.$close.text(A.closeText),A.detailText&&this.$detail&&this.$detail.text(A.detailText),A.enterBuildingText&&this.$enterBuilding&&this.$enterBuilding.text(A.enterBuildingText),A.floorText&&this.$floor.text(A.floorText)}},{key:"remove",value:function(){this.location=null,this.$el.stop().remove(),this.$el=null}}]),A}(),f=function(){function A(){t()(this,A),this.$el=null,this.shift=6}return n()(A,[{key:"init",value:function(){var A=this;this.$el=g("<div/>").addClass("svg-map-tooltip svg-map-hovertip"),this.$title=g("<h4/>").addClass("svg-map-tooltip-title").appendTo(this.$el),this.$triangle=g("<div/>").addClass("svg-map-tooltip-triangle").appendTo(this.$el),e.o.selector&&g(e.$map).on("mouseover",e.o.selector,(function(){if(!e.navigation.animationStarted()){var I=rA(g(this).attr("id"));A.shift=20,I&&A.show(I)}})).on("mouseout",(function(){A.hide()})),e.o.serviceSelector&&g(e.$map).on("mouseover",e.o.serviceSelector,(function(){if(!e.navigation.animationStarted()){var I=aA(g(this).attr("id"));A.shift=20,I&&A.show(I)}})).on("mouseout",(function(){A.hide()})),e.$map.append(this.$el)}},{key:"show",value:function(A){A&&"kiosk"!==A.type&&(this.$el.removeClass("svg-map-service-hovertip"),A&&"service"===A.type&&this.$el.addClass("svg-map-service-hovertip"),e.tooltip&&e.tooltip.getOneLocation()!==A&&(this.$title.text(fA(A)),this.position(A),this.$el.stop().fadeIn(.1*v)))}},{key:"position",value:function(A){var g,I=e.$map.offset().left+e.$map.width()*dA(A)-e.$container.offset().left,C=e.$map.offset().top+e.$map.height()*hA(A)-e.$container.offset().top,t=100*dA(A),n=100*hA(A),i=-this.$el.outerHeight()-this.shift,r=.5;Math.abs(i)>C?(i=10,this.$el.addClass("svg-map-bottom")):this.$el.removeClass("svg-map-bottom"),this.$el.outerWidth()/2>I?r=.5-(this.$el.outerWidth()/2-I)/this.$el.outerWidth():e.$container.width()-I-this.$el.outerWidth()/2<0&&(r=.5+(I+this.$el.outerWidth()/2-e.$container.width())/this.$el.outerWidth()),g=-this.$el.outerWidth()*r,this.$triangle.css("left",Math.max(10,Math.min(90,100*r))+"%"),this.$el.css({left:t+"%",top:n+"%",marginTop:i,marginLeft:g})}},{key:"hide",value:function(){this.$el.stop().fadeOut(.2*v)}}]),A}(),d=function(){function A(){t()(this,A),this.$el=null,this.$animationDebugContainer=null}return n()(A,[{key:"init",value:function(){this.$el=g("<div/>").addClass("svg-map-coordinates").appendTo(e.$container),this.$el.append("x: "),g("<code/>").addClass("svg-map-coordinates-x").appendTo(this.$el),this.$el.append(" y: "),g("<code/>").addClass("svg-map-coordinates-y").appendTo(this.$el),g(".svg-map-layer",e.$map).on("mousemove",(function(A){var I=(A.pageX-e.$map.offset().left)/e.$map.width(),C=(A.pageY-e.$map.offset().top)/e.$map.height();g(".svg-map-coordinates-x").text(parseFloat(I).toFixed(4)),g(".svg-map-coordinates-y").text(parseFloat(C).toFixed(4))})),this.$animationDebugContainer=g("<div/>",{class:"debug-container"}),this.$animationDebugContainer.appendTo(g(e.o.animation.debugContainer));var A=g("<div/>");A.append(g("<button/>",{id:"play",text:"play"})),A.append(g("<button/>",{id:"pause",text:"pause"})),A.append(g("<button/>",{id:"reverse",text:"reverse"})),A.append(g("<button/>",{id:"resume",text:"resume"})),A.append(g("<button/>",{id:"restart",text:"restart"})),A.append(g("<button/>",{id:"close-nav",text:"close navigation"})),A.append(g("<button/>",{id:"restart-nav",text:"restart navigation"})),A.append(g("<button/>",{id:"stack-mode",text:"show stack mode"})),A.append(g("<button/>",{id:"prev-nav-step",text:"prev nav step"})),A.append(g("<button/>",{id:"next-nav-step",text:"next nav step"})),e.isMultiBuilding()&&(A.append(g("<button/>",{id:"prev-building",text:"prev building"})),A.append(g("<button/>",{id:"next-building",text:"next building"}))),this.$animationDebugContainer.append(A);var I=g("<div/>",{id:"sliderWrapper"}).append(g("<div/>",{id:"slider"}));this.$animationDebugContainer.append(I);var C=g("<div/>",{id:"navigatingTextWrapper"}).append(g("<p/>",{id:"navigatingText"}));this.$animationDebugContainer.append(C),g("#play").click((function(){e.navigation.tween&&(1!==e.navigation.tween.progress()?e.navigation.tween.play():e.navigation.tween.restart())})),g("#pause").click((function(){e.navigation.tween&&e.navigation.tween.pause()})),g("#reverse").click((function(){e.navigation.tween&&e.navigation.tween.reverse()})),g("#resume").click((function(){e.navigation.tween&&e.navigation.tween.resume()})),g("#restart").click((function(){e.navigation.tween&&e.navigation.tween.restart()})),g("#close-nav").click((function(){e.closeNavigation()})),g("#restart-nav").click((function(){e.restartNavigation()})),g("#next-nav-step").click((function(){e.nextNavigate(!0,!0,!0)})),g("#prev-nav-step").click((function(){e.prevNavigate(!0,!0,!0)})),g("#next-building").click((function(){e.nextBuildingNavigate(!0,!0,!0)})),g("#prev-building").click((function(){e.prevBuildingNavigate(!0,!0,!0)})),g("#stack-mode").click((function(){e.stackMode()}))}}],[{key:"startSlider",value:function(){g("#slider").slider({range:!1,min:0,max:100,step:.1,slide:function(A,g){e.navigation.tween&&(e.navigation.tween.pause(),e.navigation.tween.progress(g.value/100))}})}},{key:"updateSlider",value:function(){e.navigation.tween&&g("#slider").slider("value",100*e.navigation.tween.progress())}}]),A}(),h=function(){function A(){t()(this,A),this.$userPin=null,this.$el=null,this.shift=6,this.drop=0,this.location=null,this.currentUserLocation=null}return n()(A,[{key:"show",value:function(){if(this.removeUserLocationPin(),this.isUserLocationAvailable()){var A=lA(e.currentLevel);if(A&&A.no===this.currentUserLocation.floorNo){if(!this.isUserLocationPointAvailable()){e.debug("UserPinTooltip: PATCHING..");var g=this.currentUserLocation.location;CA(g)}var I=uA(A.id);I&&this.addUserLocationPin(I)}}}},{key:"addUserLocationPin",value:function(A){A.find(".svg-map-you-are-here-hovertip").remove(),A.find(".svg-map-pin.pin-pulse").remove();var I=100*this.currentUserLocation.point.x,C=100*this.currentUserLocation.point.y,t=g("<a/>",{href:"#",class:"svg-map-pin iconpin man pin-pulse"}).css({top:C+"%",left:I+"%"}).appendTo(A);t.on("click touchend",(function(A){A.preventDefault()})),this.$userPin=t,e.debug("UserPinTooltip: ",this.$userPin),this.$el=g("<div/>").addClass("svg-map-tooltip svg-map-hovertip svg-map-you-are-here-hovertip"),this.$userPinTitle=g("<h4/>").addClass("svg-map-tooltip-title").appendTo(this.$el),this.$userPinTriangle=g("<div/>").addClass("svg-map-tooltip-triangle").appendTo(this.$el),this.$userPinTitle.text(e.o.helperTexts.youAreHere),A.append(this.$el),this.shift=50,this.position(),this.$el.stop().fadeIn(.1*v)}},{key:"updateLocalized",value:function(A){e.o.helperTexts.youAreHere=A,this.$userPinTitle&&this.$userPinTitle.text(A)}},{key:"position",value:function(){if(this.$el){var A=e.$map.offset().left+e.$map.width()*this.currentUserLocation.point.x-e.$container.offset().left,g=e.$map.offset().top+e.$map.height()*this.currentUserLocation.point.y-e.$container.offset().top,I=100*this.currentUserLocation.point.x,C=100*this.currentUserLocation.point.y,t=-this.$el.outerHeight()-this.shift,n=0;if(e.o.smartip){var i=.5;Math.abs(t)>g?(t=10,this.$el.addClass("svg-map-bottom")):this.$el.removeClass("svg-map-bottom"),this.$el.outerWidth()/2>A?i=.5-(this.$el.outerWidth()/2-A)/this.$el.outerWidth():e.$container.width()-A-this.$el.outerWidth()/2<0&&(i=.5+(A+this.$el.outerWidth()/2-e.$container.width())/this.$el.outerWidth()),i=Math.max(0,Math.min(1,i)),n=-this.$el.outerWidth()*i,this.$userPinTriangle.css("left",Math.max(5,Math.min(95,100*i))+"%")}this.$el.css({left:I+"%",top:C+"%",marginTop:t,marginLeft:n}),this.drop=this.$el.outerHeight()+this.shift}}},{key:"addUserLocationPoint",value:function(A,g,I){this.currentUserLocation=this.currentUserLocation||new b,this.currentUserLocation.addPoint(A/x(),g/w(),I)}},{key:"addUserLocation",value:function(A,g){this.currentUserLocation=new b(A,g)}},{key:"resetUserLocation",value:function(){this.removeUserLocationPin(),this.currentUserLocation=null}},{key:"isUserLocationAvailable",value:function(){return this.currentUserLocation&&this.currentUserLocation.available()}},{key:"isUserLocationPointAvailable",value:function(){return this.currentUserLocation&&this.currentUserLocation.pointAvailable()}},{key:"getUserLocationFloorNumber",value:function(){return this.currentUserLocation&&this.currentUserLocation.floorNo}},{key:"removeUserLocationPin",value:function(){e.debug(this.$userPin),this.$userPin&&this.$userPin.stop().remove(),this.$el&&this.$el.stop().remove()}}]),A}(),m=function(){function A(){t()(this,A),this.currentLocation=null,this.timelineMax=new a.b}return n()(A,[{key:"init",value:function(A,g,I){var C=bA(A,g);this.addUserLocationPoint(C.x,C.y,I)}},{key:"show",value:function(){if(this.remove(),lA(e.currentLevel).no===this.getUserLocationFloorNumber()&&this.isUserLocationAvailable()){var A=uA(e.currentLevel),I=g("<a/>",{href:"#",class:"svg-map-pin circular pin-pulse"});I.on("click touchend",(function(A){A.preventDefault()})).appendTo(A),this.$el=I;var C=100*this.currentLocation.getX(),t=100*this.currentLocation.getY();this.$el.css({top:t+"%",left:C+"%"})}}},{key:"zoom",value:function(){this.getUserLocationFloorNumber()===e.currentLevelNumber&&this.currentLocation&&$(this.currentLocation.getX(),this.currentLocation.getY(),2,.6*v,"easeInOutCubic")}},{key:"remove",value:function(){this.$el&&(this.$el.stop().remove(),this.$el=null),this.timelineMax&&this.timelineMax.progress(0).clear()}},{key:"addUserLocationPoint",value:function(A,g,I){this.currentLocation=this.currentLocation||new b,this.currentLocation.addPoint(A/x(),g/w(),I)}},{key:"changeUserLocationPoint",value:function(A,g){var I;if(A&&(I=Array.isArray(A)?A:[A]).length)if(this.getUserLocationFloorNumber()===g){if(!this.$el){var C=I.shift();e.setCurrentMobileUserLocation(C.x,C.y,this.getUserLocationFloorNumber())}var t=null;this.currentLocation&&(t={x:this.currentLocation.getX()*x(),y:this.currentLocation.getY()*w()});var n=y.convertLinesToPath(I);if(n){var i=I[I.length-1];this.init(i.x,i.y,this.getUserLocationFloorNumber());var r=document.createElementNS("http://www.w3.org/2000/svg","path");r.setAttribute("d",n);var a=r.getTotalLength()+150;e.debug("User: PATH LENGTH: "+a);var s=a*e.o.animation.speedFactor/4/v,l=o.map(I,(function(A){var g=bA(A.x,A.y);return{left:g.x/x()*100+"%",top:g.y/w()*100+"%"}}));t&&l.unshift({left:t.x/x()*100+"%",top:t.y/w()*100+"%"}),this.timelineMax.progress(0).clear().set(this.$el,{css:{left:l[0].left,top:l[0].top},transformOrigin:"top left"}),this.timelineMax.to(this.$el,2*s,{bezier:{type:"thru",curviness:0,values:l,autoRotate:90},ease:"easeInOutPower2"})}}else{var c=I.pop();e.setCurrentMobileUserLocation(c.x,c.y,g)}}},{key:"resetUserLocation",value:function(){this.remove(),this.currentLocation=null}},{key:"isUserLocationAvailable",value:function(){return this.currentLocation&&this.currentLocation.pointAvailable()}},{key:"getUserLocationFloorNumber",value:function(){return this.currentLocation&&this.currentLocation.floorNo}}]),A}(),b=function(){function A(){var g=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,I=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;t()(this,A),this.point=null,this.location=g,this.floorNo=I}return n()(A,[{key:"addPoint",value:function(A,g,I){this.point={x:A,y:g},this.floorNo=I}},{key:"available",value:function(){return this.point||this.location}},{key:"pointAvailable",value:function(){return this.point&&o.isNumber(this.point.x)&&o.isNumber(this.point.y)}},{key:"getX",value:function(){return this.point&&this.point.x}},{key:"getY",value:function(){return this.point&&this.point.y}}]),A}(),y=function(){function A(){t()(this,A),this.routeData=[],this.activeFloors=[],this.activeFloorIndex=null,this.$startPin=null,this.$endPin=null,this.autoMode=!1,this.zoomEnabled=!0,this.showPins=!0,this.started=!1,this.$path=null,this.tween=null,this.animationListener=null,this.onCompleteAnimation=null,this.elementSelector=".walking"}return n()(A,[{key:"init",value:function(g){if(this.routeData=[],this.activeFloors=g.direction,this.activeFloorIndex=-1,!this.activeFloors||0===this.activeFloors.length)throw new Error("No direction found in SP");for(var I=g.floors.length,C=0;C<I;C++){var t=g.floors[C],n={no:t.no,points:[]},i=!0,r=!1,a=void 0;try{for(var o,s=t.lines[Symbol.iterator]();!(i=(o=s.next()).done);i=!0){var l=o.value;n.points.push({x:l.x1,y:l.y1})}}catch(A){r=!0,a=A}finally{try{i||null==s.return||s.return()}finally{if(r)throw a}}var c=t.lines[t.lines.length-1];if(n.points.push({x:c.x2,y:c.y2}),n.level_changer=c.level_changer,n.path=A.convertLinesToPath(n.points),!n.path)throw new Error("Path cannot be calculated of floor:"+t.no);this.routeData.push(n)}"dot"===e.o.animation.mode?this.elementSelector=".circle.walking":"arrow"===e.o.animation.mode?this.elementSelector=".arrow.walking":"foot"===e.o.animation.mode?this.elementSelector="img.foot":"feet"===e.o.animation.mode&&(this.elementSelector="img.foot")}},{key:"setAutoMode",value:function(A){this.autoMode=!!A}},{key:"addEscalatorAnimation",value:function(){var A=this;1!==this.activeFloors.length&&this.routeData.forEach((function(g){if(A.activeFloors[A.activeFloors.length-1]!==g.no){var I=cA(g.no),C=uA(I.id);0===e.navigation.navigationWay()?C.addClass("escalator-up"):C.addClass("escalator-down")}}))}},{key:"removeEscalatorAnimation",value:function(){var A=this;this.routeData&&this.routeData.forEach((function(g){if(A.activeFloors[A.activeFloors.length-1]!==g.no){var I=cA(g.no);uA(I.id).removeClass("escalator-up").removeClass("escalator-down")}}))}},{key:"setParams",value:function(A,g,I){this.autoMode=A,this.zoomEnabled=g,this.showPins=I}},{key:"show",value:function(A,g,I){this.setParams(A,g,I),this.advanceToNextFloor()}},{key:"navigationEvent",value:function(){var A=this.activeFloorIndex,I=this.routeData[A],C={prevLevelId:e.prevLevelId(),currentLevelId:e.currentLevel,nextLevelId:e.nextLevelId(),isStartFloor:this.isOnFirstNavigationFloor(),isEndFloor:this.isOnLastNavigationFloor(),levelChanger:I.level_changer};if(C.hasPrevNavigate=!!C.prevLevelId,C.hasNextNavigate=!!C.nextLevelId,e.isMultiBuilding()&&(C.prevBuildingId=e.prevBuildingId(),C.nextBuildingId=e.nextBuildingId(),C.hasPrevBuildingNavigate=!!C.prevBuildingId,C.hasNextBuildingNavigate=!!C.nextBuildingId),e.$el.trigger("navigation",C),e.o.developer){var t=Object.keys(C).map((function(A){return"".concat(A,"=").concat(C[A])}));g("#navigatingText").text(t.join(" | "))}}},{key:"showOnNext",value:function(A,g,I){var C=this;this.setParams(A,g,I);var t=this.getAdvanceToNextFloorIndex();setTimeout((function(){C.showOnLevelByLevelIndex(t)}),v)}},{key:"showOnPrev",value:function(A,g,I){var C=this;this.setParams(A,g,I);var t=this.getAdvanceToPrevFloorIndex();setTimeout((function(){C.showOnLevelByLevelIndex(t)}),v)}},{key:"showOnLevelByLevelNo",value:function(A){var g=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],I=o.findIndex(this.routeData,{no:A});return this.showOnLevelByLevelIndex(I,g)}},{key:"showOnLevelByLevelIndex",value:function(A){var g=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(e.debug("Navigation.showOnLevelByLevelIndex: floorIndex=",A,"canceled=",this.canceled),!this.canceled){var I=this.routeData[A];if(I)if(this.activeFloorIndex!==A){var C=cA(I.no);if(g){if(e.o.animation.stackAnimation&&e.o.stackMode.enabled&&!e.stackModeActive)return void e.stackMode(C.id,this.autoMode);zA(C,!0)}this.activeFloorIndex=A;var t=I.path;e.tooltip&&e.tooltip.hide(),this.removePathAnimations(),this.navigationEvent(),this.animatePathOnLevel(t,I.points,{end_floor:I.end_floor,level_changer:I.level_changer||I.node_level_changer}),this.started=!0}else e.debug("Navigation.showOnLevelByLevelIndex: ACTIVE FLOOR SP ALREADY SHOWN",this.activeFloorIndex,A);else e.debug("Navigation.showOnLevelByLevelIndex: NO ROUTE DATA")}}},{key:"animationStarted",value:function(){return this.started}},{key:"removePathAnimations",value:function(){this.tween&&(this.tween.pause(),this.tween.remove&&this.tween.remove(),this.tween=null),this.$path&&(this.$path.stop().remove(),this.$path=null),g(this.elementSelector).stop().remove(),this.removeStartPin(),this.removeEndPin(),this.started=!1}},{key:"addStartPin",value:function(A){if(this.showPins){this.removeStartPin();var I=bA(A.x,A.y),C=uA(e.currentLevel),t=I.x/x()*100,n=I.y/w()*100,i=g("<a/>",{href:"#",class:"svg-map-pin green-start pin-pulse"}).css({top:n+"%",left:t+"%"}).appendTo(C);i.on("click touchend",(function(A){A.preventDefault()})),this.$startPin=i}}},{key:"removeStartPin",value:function(){this.$startPin&&this.$startPin.stop().remove()}},{key:"addEndPin",value:function(A){if(this.showPins){this.removeEndPin();var I=bA(A.x,A.y),C=uA(e.currentLevel),t=I.x/x()*100,n=I.y/w()*100,i=g("<a/>",{href:"#",class:"svg-map-pin red-end pin-pulse"}).css({top:n+"%",left:t+"%"}).appendTo(C);i.on("click touchend",(function(A){A.preventDefault()})),this.$endPin=i}}},{key:"removeEndPin",value:function(){this.$endPin&&this.$endPin.stop().remove()}},{key:"changeStartPinImg",value:function(A){this.$startPin&&this.$startPin.css("background-image",'url("'.concat(A,'")'))}},{key:"resetStartPinImg",value:function(){this.$startPin&&this.$startPin.css("background-image","")}},{key:"changeEndPinImg",value:function(A){this.$endPin&&this.$endPin.css("background-image",'url("'.concat(A,'")'))}},{key:"resetEndPinImg",value:function(){this.$endPin&&this.$endPin.css("background-image","")}},{key:"isOnFirstNavigationFloor",value:function(){return this.activeFloors&&0===this.activeFloorIndex}},{key:"isOnLastNavigationFloor",value:function(){return this.activeFloors&&this.activeFloorIndex===this.activeFloors.length-1}},{key:"getFloorNo",value:function(){var A=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return this.activeFloors&&this.activeFloors[this.activeFloorIndex+A]}},{key:"navigationWay",value:function(){return this.activeFloors[0]>this.activeFloors[1]?1:0}},{key:"animatePathOnLevel",value:function(A,I,C){var t=this;e.debug("Navigation.animatePathOnLevel: pathString=",A,"| points=",I);var n=document.createElementNS("http://www.w3.org/2000/svg","path");n.setAttribute("d",A);var i=n.getTotalLength()+150,r=i*e.o.animation.speedFactor/v;e.debug("Navigation.animatePathOnLevel: PATH LENGTH="+i,"ANIMATION DURATION="+r);var s=vA(e.currentLevel),l=uA(e.currentLevel),c=16/e.o.animation.frequencyFactor,u=16/e.o.animation.speedFactor;e.debug("Navigation.animatePathOnLevel: COEFFICIENT FOR ANIMATION=".concat(c," | COEFFICIENT FOR SPEED=").concat(u));var p=[],f=[],h={left:null,right:null},m=r*c;if(e.debug("Navigation.animatePathOnLevel: POINT LENGTH ".concat(m," or ARRAY LENGTH ").concat(I.length)),t.$path=g(n),t.$path.attr({class:"line",fill:"none"}).css({stroke:e.o.strokeOptions.color,strokeWidth:e.o.strokeOptions.width,strokeMiterlimit:e.o.strokeOptions.width/2,strokeLinejoin:"round",strokeLinecap:"round",strokeDasharray:i,strokeDashoffset:i}).appendTo(s),"line"===e.o.animation.mode)t.$path.addClass("navigation-line-animation");else if(o.includes(e.o.animation.pointModes,e.o.animation.mode))for(var b=0;b<r*c*100;b++)p.push(g("<a/>",{class:t.elementSelector.split(".").join(" ")}));else if("foot"===e.o.animation.mode)h.left=g("<img/>",{class:"foot foot-left"}),h.right=g("<img/>",{class:"foot foot-right"});else if("feet"===e.o.animation.mode)for(var y=0;y<r*c;y++)f.push(g("<img/>",{class:"foot"}));function z(){e.debug("Navigation.animatePathOnLevel: ANIMATION COMPLETE");var A=t.getAdvanceToNextFloorIndex();A>=0&&t.autoMode&&t.started?setTimeout((function(){t.showOnLevelByLevelIndex(A)}),v):-1===A&&t.autoMode&&t.onCompleteAnimation&&t.onCompleteAnimation()}function P(A,g,I){A&&g&&A.from(g,I,{css:{top:"-=30%",opacity:0},ease:Bounce.easeOut})}setTimeout((function(){var A=n.getBBox();e.debug("Navigation.animatePathOnLevel: PATH BBOX=",A);var g={x:A.x+A.width/2,y:A.y+A.height/2};if(g={x:(g=bA(g.x,g.y)).x/x(),y:g.y/w()},t.zoomEnabled&&$(g.x,g.y,e.o.animationScale,.6*v,"easeInOutCubic"),t.isOnFirstNavigationFloor()&&t.addStartPin(I[0]),t.isOnLastNavigationFloor()&&t.addEndPin(I[I.length-1]),e.o.developer&&d.startSlider(),t.tween=new a.b({onUpdate:e.o.developer?d.updateSlider:function(){}}),o.includes(e.o.animation.pointModes,e.o.animation.mode)){e.debug("Navigation.animatePathOnLevel: OF POINTS IN ANIMATION=".concat(p.length));for(var C=0;C<p.length;C++)l.append(p[C]);var i=o.map(I,(function(A){return{left:((A=bA(A.x,A.y)).x-p[0].width()/2)/x()*100+"%",top:(A.y-p[0].height()/2)/w()*100+"%"}})),s=.5/u;e.debug("Navigation.animatePathOnLevel: STAGGER TIME=".concat(s)),t.tween.progress(0).clear().set(t.elementSelector,{css:{left:i[0].left,top:i[0].top,opacity:0},transformOrigin:"top left"}),t.isOnFirstNavigationFloor()&&P(t.tween,t.$startPin,1),t.isOnLastNavigationFloor()&&P(t.tween,t.$endPin,1),t.tween.staggerTo(t.elementSelector,.1,{css:{opacity:1},ease:"linear"},s);var c=t.tween.duration(),b=r/2,y=s*(p.length-1);t.tween.staggerTo(t.elementSelector,b,{bezier:{type:"thru",curviness:0,values:i,autoRotate:"arrow"===e.o.animation.mode?0:90},ease:"linear"},s,"-=".concat(y)),t.tween.staggerTo(t.elementSelector,.1,{css:{opacity:0},ease:"linear"},s,"-=".concat(y)),e.debug(t.tween.duration()),setTimeout((function(){z()}),(c/100+2)*v)}else if("foot"===e.o.animation.mode){e.debug("Navigation.animatePathOnLevel: ADDING FOOT IMAGES..");var R=a.a.config(I.length);l.append(h.left),l.append(h.right);var M=o.map(I,(function(A){return{left:(A.x-h.left.width()/2)/x()*100+"%",top:(A.y-h.left.height()/2)/w()*100+"%"}})),Z=.5/u;e.debug("Navigation.animatePathOnLevel: FIXED POINTS",M,"STAGGER TIME ".concat(Z)),t.tween.progress(0).clear().set(t.elementSelector,{css:{left:M[0].left,top:M[0].top,opacity:0}}),t.tween.to(h.left,.5,{autoAlpha:1,ease:"linear"},Z),t.tween.to(h.right,.5,{autoAlpha:1,ease:"linear"},Z);var D=r/2,T=Z*(m-1)-D;T<0&&(T=Z),e.debug("Navigation.animatePathOnLevel: REPEAT DELAY ".concat(T)),t.tween.to(h.left,D,{bezier:{type:"thru",curviness:0,values:M,autoRotate:90},transformOrigin:"50% -50%",ease:R},Z),t.tween.to(h.right,D,{bezier:{type:"thru",curviness:0,values:M,autoRotate:90},transformOrigin:"50% -50%",ease:R},1.5*Z);var O=t.tween.duration();setTimeout((function(){z()}),(O+2)*v)}else if("feet"===e.o.animation.mode){var j=a.a.config(I.length);e.debug("Navigation.animatePathOnLevel: ADDING FOOT IMAGES... | OF FOOT IN ANIMATION: ".concat(f.length));for(var N=0;N<f.length;N++)l.append(f[N]);var E=o.map(I,(function(A){return{left:(A.x-f[0].width()/2)/x()*100+"%",top:(A.y-f[0].height()/2)/w()*100+"%"}})),G=.5/u;e.debug("Navigation.animatePathOnLevel: FIXED POINTS",E,"STAGGER TIME ".concat(G)),t.tween.progress(0).clear().set(t.elementSelector,{css:{left:E[0].left,top:E[0].top,opacity:0}}),t.tween.staggerTo(t.elementSelector,.1,{css:{opacity:1},ease:"linear"},G);var X=r/2,H=G*(f.length-1)-X,k=G*(f.length-1);H<0&&(H=G),e.debug("Navigation.animatePathOnLevel: REPEAT DELAY ".concat(H)),t.tween.staggerTo(t.elementSelector,X,{bezier:{type:"thru",curviness:0,values:E,autoRotate:90},ease:j,repeatDelay:H},G,"-=".concat(k)),t.tween.staggerTo(t.elementSelector,.1,{css:{opacity:0},ease:"linear"},G,"-=".concat(k));var Y=t.tween.duration();setTimeout((function(){z()}),(Y+2)*v)}else t.isOnFirstNavigationFloor()&&P(t.tween,t.$startPin,1.5),t.isOnLastNavigationFloor()&&P(t.tween,t.$endPin,1.5),t.tween.to(t.$path,r,{strokeDashoffset:0,ease:"easeInOutPower2",delay:0,onComplete:z})}),e.o.cssAnimation?e.o.cssAnimationTime:.1*v),t.animationListener&&t.animationListener(C)}},{key:"advanceToNextFloor",value:function(){var A=this.activeFloorIndex,g=Math.min(this.activeFloors.length-1,A+1);e.debug("Navigation.advanceToNextFloor: activeFloorIndex",A,"nextFloorIndex:",g),A!==g?this.showOnLevelByLevelIndex(g):this.setAutoMode(!1)}},{key:"getAdvanceToNextFloorIndex",value:function(){var A=this.activeFloorIndex,g=Math.min(this.activeFloors.length-1,A+1);return e.debug("Navigation.getAdvanceToNextFloorIndex: currentIndex=",A,"nextFloorIndex=",g),A===g?-1:g}},{key:"getAdvanceToPrevFloorIndex",value:function(){var A=this.activeFloorIndex,g=Math.min(this.activeFloors.length-1,A-1);return e.debug("Navigation.getAdvanceToNextFloorIndex: currentIndex=",A,"prevFloorIndex",g),A===g?-1:g}},{key:"setAnimationListener",value:function(A){this.animationListener=A}},{key:"onComplete",value:function(A){this.onCompleteAnimation=A}}],[{key:"convertLinesToPath",value:function(A){for(var g="",I=0;I<A.length;I++){0===I&&(g+="M");var C=A[I];g+="".concat(C.x," ").concat(C.y," ")}return e.debug("Navigation.convertLinesToPath: PATH CALCULATED:"+g),g.trim()}}]),A}(),z=function(){var A=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},I=null,C=0,t=sA(A);if(e.debug("processLevels: filtered floors: ",t,A),0!==t.length){for(var n=0;n<t.length;n++){var i=t[n];if(e.currentLevel===i.id)return void e.debug("processLevels: -- ALREADY PROCESSED LEVELS --")}return e.$map.children(".svg-map-layer").remove(),t.forEach((function(A){e.debug("ADDING LEVEL..",A);var t=A.map.svg,n=g("<div/>",{class:"svg-map-layer "+(e.o.cssAnimation?"svg-map-layer-animated ":"")+X("svg-map-layer-",A.no),"data-floor":A.id,"data-building-id":A.building,"data-floor-number":A.no}).appendTo(e.$map),i=g("<div/>").addClass("svg-map-map-image").addClass(e.o.locale.language);i.appendTo(n),i.append(t),A.building&&A.building,C++,i.find("svg").attr({class:"svg-map-real-svg"}),e.o.rotate&&gA(i,e.o.rotate),A.svgReady=!0,g(e.o.selector,i).each((function(){e.debug("processLevels: LOCATION ID="+g(this).attr("id"));var A=iA(g(this).attr("id"));if(A){if(e.debug("LOCATION FOUND"),"not-empty"===A.action?H(g(this),"svg-map-not-clickable"):H(g(this),"svg-map-clickable"),A.category){var I=nA(A.category);I&&(e.debug("processLevels: add color=".concat(I)),g(this).css({fill:"#".concat(I)}))}if(A.$el=g(this),A.pin){var C=100*hA(A),t=100*dA(A),i=g("<a/>",{href:"#",class:"svg-map-pin"}).css({top:C+"%",left:t+"%"}).appendTo(n);o.isString(A.pin)&&A.pin.indexOf("pin-image")>-1&&A.thumbnail&&i.addClass("pin-image").css("background-image","url("+A.thumbnail+")"),i.on("click touchend",(function(g){g.preventDefault(),e.dragging||e.showLocation(A.id,1.2*v,!0,!0)}))}}})),e.o.servicesEnabled&&g(e.o.serviceSelector,i).each((function(){e.debug("processLevels: SERVICE LOCATION ID="+g(this).attr("id"));var A=aA(g(this).attr("id"));if(A){H(this,"svg-map-clickable"),A.$el=g(this);A.$el[0]}})),g(e.o.rectSelector,i).each((function(){var A=g(this).attr("id");if(A){var I=new RegExp(/(.+)-rect/i),C=A.match(I);if(C||(I=new RegExp(/rect_(.+)/i),C=A.match(I))){var t=C[1],n=iA(t);n&&(e.debug("processLevels: ADDING RECT TO LOCATION="+n.id),n.$rect=g(this))}}})),e.o.landmark||(g(e.o.selector,i).on("click touchend",(function(){e.debug("processLevels: CLICKED, DRAGGING="+e.dragging),e.dragging||e.showLocation(g(this).attr("id"),1.2*v,!0,!0)})),e.o.servicesEnabled&&g(e.o.serviceSelector,i).on("click touchend",(function(){e.debug("CLICKED SERVICE, DRAGGING: "+e.dragging),e.dragging||e.showLocation(g(this).attr("id"),1.2*v)}))),e.$el.trigger("levelReady",[A.id,A.no,A.isOutdoor]),!0===A.isInitial&&(I=A)})),I||(I=t[0]),zA(I),t.forEach((function(A){e.resetLevel(A.id)})),e.$el.trigger("levelsReady",[t,I.id,I.isOutdoor]),{levelsLoaded:C,shownLevelId:I.id}}e.debug("levels not found")},P=function(I){e.data=I,e.o.maxScale=parseFloat(e.o.zoomLimit)||e.o.maxScale,e.debug("processData: OPTIONS:",e.o),e.$container=g("<div/>").addClass("svg-map-container").appendTo(e.$el),e.$map=g("<div/>").addClass("svg-map-map").appendTo(e.$container),e.o.stackMode.enabled&&e.$map.addClass("stack-mode-on"),e.o.zoom&&e.$map.addClass("svg-map-zoomable"),e.$levelSelect=g("<select/>").addClass("svg-map-levels-select"),90===e.o.rotate||270===e.o.rotate?(e.debug("processContentSizes: ROTATE="+e.o.rotate),e.data.levels.forEach((function(A){e.debug("processContentSizes: PROCESS LEVEL 1 = ",A);var g=parseFloat(A.map.width),I=parseFloat(A.map.height),C=Math.max(g,I);e.debug("processContentSizes: DIMENSION=",C),e.contentWidth[A.id]=C,e.contentHeight[A.id]=C,e.offsetDueToRotation[A.id]=C-Math.min(g,I),e.debug("processContentSizes: OFFSET DUE TO ROTATION="+D()),e.offsetCoefficient[A.id]=g>I?{90:{x:1,y:0},270:{x:1,y:0}}:{90:{x:0,y:1},270:{x:0,y:1}}}))):(e.debug("processContentSizes: NO ROTATE OR 180"),e.data.levels.forEach((function(A){e.debug("processContentSizes: PROCESS LEVEL 2=",A),e.contentWidth[A.id]=parseFloat(A.map.width),e.contentHeight[A.id]=parseFloat(A.map.height)}))),e.debug("processContentSizes: done!"),e.$container.css("width","100%"),R(),e.callbackMapReady=function(A){if(e.$el.removeClass("svg-map-loading"),e.o.landmark&&e.data.landmark.id){var g=o.isUndefined(I.landmark.duration)?1.2:I.landmark.duration;e.showLocation(e.data.landmark.id,g*v,!0,e.data.landmark.zoom)}else $(.5,.5,1,0),e.o.stackMode.enabled&&e.stackMode();j((function(A){A?e.debug(A):e.debug("processData: NODES ADDED")})),setTimeout((function(){E((function(A){A&&e.debug(A),e.debug("processData: RECTS ADDED"),e.$el.trigger("mapReady"),e.callbackMapReady=null,e.debug("processData: MAP READY")}))}),10)},e.o.tooltip.enabled&&(e.tooltip=new l,e.tooltip.init()),e.userPinTooltip=new h,e.o.hoverTip&&(e.hoverTip=new f,e.hoverTip.init()),e.o.developer&&(e.devTools=new d,e.devTools.init()),e.navigation=new y;var C=e.isMultiBuilding()?{isOutdoor:!0}:{},t=z(C);A.nextTick((function(){e.callbackMapReady(t&&t.shownLevelId)})),g(window).resize((function(){e.$container.height("100%"),R(),M(B(Z())),e.x=V(e.x),e.y=U(e.y),_(e.x,e.y,Z(),.1*v)})).resize()};function R(){e.data.levels.forEach((function(A){return g=A.id,I=e.$container.width()/x(g),C=e.$container.height()/w(g),void(e.o.mapFill?T(I>C?I:C,g):T(I<C?I:C,g));var g,I,C}))}var x=function(A){return A?e.contentWidth[A]:e.currentLevel?e.contentWidth[e.currentLevel]:e.contentWidth[e.data.levels[0].id]},w=function(A){return A?e.contentHeight[A]:e.currentLevel?e.contentHeight[e.currentLevel]:e.contentHeight[e.data.levels[0].id]},M=function(A,g){return g?e.scale[g]=A:e.currentLevel?e.scale[e.currentLevel]=A:e.scale[e.data.levels[0].id]=A},Z=function(A){return A?e.scale[A]:e.currentLevel?e.scale[e.currentLevel]:e.scale[e.data.levels[0].id]},D=function(A){return A?e.offsetDueToRotation[A]:e.currentLevel?e.offsetDueToRotation[e.currentLevel]:e.offsetDueToRotation[e.data.levels[0].id]},T=function(A,g){return e.debug("setFitScale: SETTING FIT SCALE AS=",A,g),g?e.fitscale[g]=A:e.currentLevel?e.fitscale[e.currentLevel]=A:(e.debug("setFitScale: OF LEVEL (not current)=",e.data.levels[0].id),e.fitscale[e.data.levels[0].id]=A)},O=function(A){return A?e.fitscale[A]:e.currentLevel?e.fitscale[e.currentLevel]:e.fitscale[e.data.levels[0].id]};var j=function(A){if(e.o.beaconMode){var g=!0,I=!1,C=void 0;try{for(var t,n=e.data.levels[Symbol.iterator]();!(g=(t=n.next()).done);g=!0){var i=t.value;if(i.beacons){var r=uA(i.id),a=!0,o=!1,s=void 0;try{for(var l,c=i.beacons[Symbol.iterator]();!(a=(l=c.next()).done);a=!0){var u=l.value;N(u,r)}}catch(A){o=!0,s=A}finally{try{a||null==c.return||c.return()}finally{if(o)throw s}}}}}catch(A){I=!0,C=A}finally{try{g||null==n.return||n.return()}finally{if(I)throw C}}e.debug("addBeaconNodes: ALL BEACON NODES ADDED TO SVG"),A&&A()}},N=function(A,I){var C=g("<a/>",{href:"#",class:"svg-map-pin circular ".concat(A.leader?"pin-md red":"pin-xs black"," pin-pulse"),"data-title":A.name,"data-toggle":"tooltip"});C.on("click touchend",(function(g){g.preventDefault(),e.$el.trigger("beaconClicked",RA(A))})).appendTo(I);var t=bA(A.x,A.y),n=t.x/x()*100,i=t.y/w()*100;C.css({top:i+"%",left:n+"%"})},E=function(A){if(!e.o.textOnRect.enabled)return A();var g={horizontal:{x:0,y:2*e.o.textOnRect.maxFontSize/48},vertical:{x:0,y:2*e.o.textOnRect.maxFontSize/48}},I=!0,C=!1,t=void 0;try{for(var n,i=e.data.levels[Symbol.iterator]();!(I=(n=i.next()).done);I=!0){var r=n.value,a=vA(r.id),o=!0,s=!1,l=void 0;try{for(var c,u=r.locations[Symbol.iterator]();!(o=(c=u.next()).done);o=!0){var v=c.value;v.$rect&&G(v,a,g)}}catch(A){s=!0,l=A}finally{try{o||null==u.return||u.return()}finally{if(s)throw l}}}}catch(A){C=!0,t=A}finally{try{I||null==i.return||i.return()}finally{if(C)throw t}}return e.debug("addTextsInsideRects: ALL TEXTS ADDED TO SVG"),A()},G=function(A,I,C){var t=A.$rect[0]&&A.$rect[0].getBBox();if(t){e.debug("addTextIntoRect: ADDING TEXT:",fA(A));var n={x:t.x+t.width/2,y:t.y+t.height/2},i=e.o.textOnRect.maxFontSize,r=e.o.textOnRect.minFontSize,a=document.createElementNS("http://www.w3.org/2000/svg","text");a.setAttribute("x",n.x.toFixed(5)),a.setAttribute("y",n.y.toFixed(5)),a.setAttribute("font-family",e.o.textOnRect.fontFamily),a.setAttribute("alignment-baseline","middle"),a.setAttribute("text-anchor","middle"),a.setAttribute("class","text-hidden"),"dynamic"===e.o.textOnRect.mode?(a.setAttribute("rect-height",t.height),a.setAttribute("rect-width",t.width),a.setAttribute("font-size","".concat(e.o.textOnRect.fontSize/Z(),"px"))):a.setAttribute("font-size","".concat(i,"px")),g(a).html(fA(A)),g(e.o.noPointerGroupSelector,I).append(g(a)),"dynamic"===e.o.textOnRect.mode?(t.height>t.width?IA(a,e.o.rotate<180?270:90):IA(a,90===e.o.rotate||180===e.o.rotate?180:0),J(a,{height:t.height,width:t.width})):function(A,g,I,C){var i=g;if(t.width<t.height){for(;!r(A,t)&&(i=Math.max(i-2,I),A.setAttribute("font-size","".concat(i,"px")),i!==I););r(A,t)&&(k(A,"text-hidden"),H(A,"text-visible"),A.setAttribute("x","".concat(n.x+C.vertical.x)),A.setAttribute("y","".concat(n.y+C.vertical.y)),IA(A,e.o.rotate<180?270:90))}else{for(;!a(A,t)&&(i=Math.max(i-2,I),A.setAttribute("font-size","".concat(i,"px")),i!==I););a(A,t)&&(k(A,"text-hidden"),H(A,"text-visible"),A.setAttribute("x","".concat(n.x+C.horizontal.x)),A.setAttribute("y","".concat(n.y+C.horizontal.y)),IA(A,90===e.o.rotate||180===e.o.rotate?180:0))}function r(A,g){return!(A.getBBox().width>g.height||A.getBBox().height>g.width)}function a(A,g){return!(A.getBBox().width>g.width||A.getBBox().height>g.height)}}(a,i,r,C)}},X=function(A,g){return"".concat(A).concat(.5===g?"0-5":g)},H=function(A,g){var I=W(A);function C(A){A.classList?A.classList.add(g):Y(A,g)||A.setAttribute("class","".concat(A.getAttribute("class")," ").concat(g))}I&&(Array.isArray(I)?I.forEach((function(A){C(A)})):C(I))},k=function(A,g){var I=W(A);function C(A){A.classList?A.classList.remove(g):Y(A,g)&&A.setAttribute("class",A.getAttribute("class")?A.getAttribute("class").replace(g," "):g)}I&&(Array.isArray(I)?I.forEach((function(A){C(A)})):C(I))},Y=function(A,g){var I=W(A);return!!I&&(I.classList?I.classList.contains(g):I.getAttribute("class")&&I.getAttribute("class").indexOf(g)>-1)},W=function(A){return A?A.jquery?o.times(A.length,(function(g){return A[g]})):A:null},L=function(A){k(g(".svg-map-navigation-start",A),"svg-map-navigation-start"),k(g(".svg-map-navigation-end",A),"svg-map-navigation-end"),k(g(".svg-map-active",A),"svg-map-active")},S=function(A){A&&H(A,"svg-map-active")},F=function(A){A&&(Y(A,"svg-map-active")?k(A,"svg-map-active"):H(A,"svg-map-active"))},V=function(A){var g=e.$container.width()-x()*Z();return g<0?A>0?A=0:A<g&&(A=g):A=g/2,e.debug("normalizeX: X=".concat(A," | MIN X=").concat(g," | NORMALIZED X=").concat(A)),A},U=function(A){var g=e.$container.height()-x()*Z();return g<0?A>=0?A=0:A<g&&(A=g):A=g/2,e.debug("normalizeY: Y=".concat(A," | MIN Y=").concat(g," | NORMALIZED Y=").concat(A)),A},B=function(A){return A<O()?A=O():A>e.o.maxScale&&(A=e.o.maxScale),A},J=function(A,g){A.setAttribute("font-size","".concat(e.o.textOnRect.fontSize/Z(),"px")),A.getBBox().width>g.width?A.getBBox().width>g.height||A.getBBox().height>g.width?(k(A,"text-visible"),H(A,"text-hidden")):(k(A,"text-hidden"),H(A,"text-visible")):A.getBBox().width>g.width||A.getBBox().height>g.height?(k(A,"text-visible"),H(A,"text-hidden")):(k(A,"text-hidden"),H(A,"text-visible"))},K=o.debounce((function(){var A=vA(e.currentLevel);(A=g(e.o.noPointerGroupSelector,A)).find("text").each((function(){var A=this.getAttribute("rect-width"),g=this.getAttribute("rect-height");A&&g&&J(this,{width:A,height:g})}))}),600),Q=function(){g(".svg-map-layer",e.$el).bind("mousewheel DOMMouseScroll",q)},q=function(A,g){A.preventDefault();var I=Z();M(B(I+I*g/5)),e.x=V(e.x-(A.pageX-e.$container.offset().left-e.x)*(Z()/I-1)),e.y=U(e.y-(A.pageY-e.$container.offset().top-e.y)*(Z()/I-1)),e.debug("mouseWheel: scale=".concat(I," | x=").concat(e.x," | y=").concat(e.y)),_(e.x,e.y,Z(),.2*v,"easeOutCubic")},_=function(A,g,I,C,t){e.stackModeActive||(e.debug("zoomTo: COORD: (".concat(A,",").concat(g,") SCALE: ").concat(I," DURATION: ").concat(C)),void 0!==I?(e.o.textOnRect.enabled&&"dynamic"===e.o.textOnRect.mode&&K(),e.$map.stop().animate({left:A,top:g,width:x()*I,height:w()*I},C,t,(function(){e.tooltip&&e.tooltip.position(),e.userPinTooltip&&e.userPinTooltip.position()}))):e.$map.css({left:A,top:g}),e.tooltip&&e.tooltip.position(),e.userPinTooltip&&e.userPinTooltip.position(),e.$el.trigger("positionChanged",{x:A,y:g}))},$=function(A,g,I,C,t,n,i){var r;e.debug("moveTo: RATIO: (".concat(A,",").concat(g,") SCALE: ").concat(I," DURATION: ").concat(C)),i?(e.debug("moveTo: CHANGING FLOOR ID SUPPLIED ".concat(i)),r=pA(i)):r=pA(e.currentLevel),e.debug("moveTo: INITAL SCALE FACTOR: ".concat(r)),C=void 0!==C?C:.4*v,n=void 0!==n?n:.5,I=void 0!==I?Math.min(I*r,e.o.maxScale):Z()/O(),M(B(O()*I)),e.x=V(.5*e.$container.width()-Z()*x()*A),e.y=U(e.$container.height()*n-Z()*w()*g),e.debug("moveTo: CONTAINER: (".concat(e.$container.width(),", ").concat(e.$container.height(),") | CONTENT: (").concat(x(),", ").concat(w(),") | RY: ").concat(n," FITSCALE: ").concat(O()," SCALE: ").concat(I," | COORD: (").concat(e.x,",").concat(e.y,") SCALE: ").concat(Z()," DURATION: ").concat(C)),_(e.x,e.y,Z(),C,t)},AA=function(A){gA(e.$map,A)},gA=function(A,g){var I=arguments.length>2&&void 0!==arguments[2]&&arguments[2],C=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,t={rotation:g};I&&(t.transformOrigin="center center"),C&&(t.onComplete=C),a.c.set(A,t)},IA=function(A,g,I){gA(A,g,!0,I)},CA=function(A){var g={x:dA(A)*x(),y:hA(A)*w()};e.setCurrentLocation(g.x,g.y,e.userPinTooltip.getUserLocationFloorNumber())},tA=function(){e.userPinTooltip&&e.userPinTooltip.show(),e.user&&e.user.show()},eA=function(A){var g=!0,I=!1,C=void 0;try{for(var t,n=e.data.levels[Symbol.iterator]();!(g=(t=n.next()).done);g=!0){var i=t.value;if(o.find(i.locations,{id:A}))return i}}catch(A){I=!0,C=A}finally{try{g||null==n.return||n.return()}finally{if(I)throw C}}return null},nA=function(A){if(!A)return null;var g=o.find(e.data.categories,{slug:A});return g&&g.color},iA=function(A,g){if(!A)return null;var I,C={id:A};g&&(C.type=g),e.debug("findLocationData: query=",C);var t=!0,n=!1,i=void 0;try{for(var r,a=e.data.levels[Symbol.iterator]();!(t=(r=a.next()).done);t=!0){var s=r.value;if(I=o.find(s.locations,C))break}}catch(A){n=!0,i=A}finally{try{t||null==a.return||a.return()}finally{if(n)throw i}}return I},rA=function(A){return"picker"===e.o.mode?iA(A):iA(A,"store")},aA=function(A){return"picker"===e.o.mode?iA(A):iA(A,"service")||iA(A,"kiosk")},oA=function(){var A=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return o.find(e.data.levels,A)},sA=function(){var A=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return o.filter(e.data.levels,A,[])},lA=function(A){return oA({id:A})},cA=function(A){var g=e.$map.children(".svg-map-layer").attr("data-building-id"),I={no:A};return g&&(I.building=g),oA(I)},uA=function(A){return g('.svg-map-layer[data-floor="'+A+'"]',e.$el)},vA=function(A){return uA(A).find("svg")},pA=function(A){var g=lA(A);return o.get(g,"initialScaleFactor",e.o.initialScaleFactor)},fA=function(A){var g=A.title;if(Array.isArray(g)){var I=A.join||" / ";1===I.length&&(I=" ".concat(I," ")),g=g.join(I)}return function(A){return A}(g)},dA=function(A){return A.x&&A.y||yA(A),A.x},hA=function(A){return A.x&&A.y||yA(A),A.y},mA=function(A){var g=Number.MAX_VALUE,I=Number.MIN_VALUE,C=Number.MAX_VALUE,t=Number.MIN_VALUE,e=!0,n=!1,i=void 0;try{for(var r,a=A[Symbol.iterator]();!(e=(r=a.next()).done);e=!0){var o=r.value;g=Math.min(g,dA(o)),I=Math.max(I,dA(o)),C=Math.min(C,hA(o)),t=Math.max(t,hA(o))}}catch(A){n=!0,i=A}finally{try{e||null==a.return||a.return()}finally{if(n)throw i}}return{x:(g+I)/2,y:(C+t)/2}},bA=function(A,g){var I,C={x:A,y:g},t=x(),n=w(),i=I?e.offsetCoefficient[I]:e.currentLevel?e.offsetCoefficient[e.currentLevel]:e.offsetCoefficient[e.data.levels[0].id],r=D();return 90===e.o.rotate?(C.x=t-C.y-i[90].x*r/2,C.y=C.x+i[90].y*r/2):270===e.o.rotate?(C.x=C.y+i[270].x*r/2,C.y=n-C.x-i[270].y*r/2):180===e.o.rotate&&(C.x=t-C.x,C.y=n-C.y),C},yA=function(A){if((!A.x||!A.y)&&A.$el&&A.$el[0]){if(A.$rect&&A.$rect[0]){var g=A.$rect[0];if(g){var I=g.getBBox();if(I){var C={x:I.x+I.width/2,y:I.y+I.height/2};C=bA(C.x,C.y),A.x=C.x/x(),A.y=C.y/w()}return}}var t=A.$el[0];if(t){var e=t.getBBox();if(e){var n={x:e.x+e.width/2,y:e.y+e.height/2};n=bA(n.x,n.y),A.x=n.x/x(),A.y=n.y/w()}}}},zA=function(A,I,C){if(C&&e.hideLocation(),A){A.building&&!function(A){var g=e.$map.children(".svg-map-layer").attr("data-building-id");return A.building===g}(A)&&z({building:A.building});var t=lA(A.id);if(t){var n=uA(A.id);if(e.currentLevel!==A.id)if(e.o.cssAnimation||!n.hasClass("layer-visible")){if(e.debug("switchLevel: FLOOR CURRENT:".concat(e.currentLevelNumber,", SWITCH TO:").concat(t.no)),I&&$(.5,.5,1,0,void 0,void 0,A.id),e.tooltip&&e.tooltip.hide(),e.o.rotate&&(e.o.rotateServices&&g(e.o.serviceSelector,n).each((function(){IA(this,360-e.o.rotate)})),g(e.o.rotatable90PathSelector,n).each((function(){IA(this,360-e.o.rotate)})),180===e.o.rotate&&g(e.o.rotatable180PathSelector,n).each((function(){IA(this,360-e.o.rotate)})),270===e.o.rotate?g(e.o.rotatable270TextSelector,n).each((function(){IA(this,180)})):180===e.o.rotate&&g(e.o.rotatable180TextSelector,n).each((function(){IA(this,180)}))),e.o.stackMode.enabled){var i=!0,r=!1,a=void 0;try{for(var o,l=e.data.levels[Symbol.iterator]();!(i=(o=l.next()).done);i=!0){var c=o.value,u=uA(c.id);c.no<t.no?u.removeClass("svg-map-layer-down").addClass("svg-map-layer-up"):c.no>t.no?u.removeClass("svg-map-layer-up").addClass("svg-map-layer-down"):(u.removeClass("svg-map-layer-up").removeClass("svg-map-layer-down"),e.$map.addClass("stack-mode-off").removeClass("stack-mode-on"))}}catch(A){r=!0,a=A}finally{try{i||null==l.return||l.return()}finally{if(r)throw a}}e.navigation.animationStarted()&&e.navigation.removeEscalatorAnimation(),e.stackModeActive=!1}if(e.currentLevel=A.id,e.currentLevelNumber=t.no,e.o.cssAnimation){var p=!0,f=!1,d=void 0;try{for(var h,m=e.data.levels[Symbol.iterator]();!(p=(h=m.next()).done);p=!0){var b=h.value,y=uA(b.id);e.$map.removeClass(X("map--selected-",b.no)),y.removeClass("active").removeClass("hidden")}}catch(A){f=!0,d=A}finally{try{p||null==m.return||m.return()}finally{if(f)throw d}}var P=uA(e.currentLevel);e.$map.addClass(X("map--selected-",t.no)),P.addClass("active")}else g(".svg-map-layer.layer-visible",e.$map).removeClass("layer-visible"),n.addClass("layer-visible");tA(),e.debug("switchLevel: SWITCHED LEVEL"),function(){var A=e.$map,I=g(".svg-map-map-image",e.$map);if(!e.o.landmark){if(document.ondragstart=function(){return!1},e.o.draggable&&I.on("mousedown",(function(I){e.dragging=!1,A.stop(),A.data("mouseX",I.pageX),A.data("mouseY",I.pageY),A.data("lastX",e.x),A.data("lastY",e.y),A.addClass("svg-map-dragging"),e.$map.on("mousemove",(function(g){if(Math.abs(g.pageX-A.data("mouseX"))>1){e.dragging=!0;var I=g.pageX-A.data("mouseX")+e.x,C=g.pageY-A.data("mouseY")+e.y;I=V(I),C=U(C),_(I,C),A.data("lastX",I),A.data("lastY",C)}else e.debug("addControls: NOT ENOUGH MOVED, MAYBE IT WAS CLICK")})),g(document).on("mouseup",(function(){e.x=A.data("lastX"),e.y=A.data("lastY"),e.$map.off("mousemove"),g(document).off("mouseup"),A.removeClass("svg-map-dragging")}))})),e.$el.on("dblclick",".svg-map-map-image",(function(A){A.preventDefault(),e.debug("addControls: DOUBLE CLICK");var g=Z();g===e.o.maxScale?M(B(O())):M(B(2*g)),e.x=V(e.x-(A.pageX-e.$container.offset().left-e.x)*(Z()/g-1)),e.y=U(e.y-(A.pageY-e.$container.offset().top-e.y)*(Z()/g-1)),_(e.x,e.y,Z(),.4*v,"easeInOutCubic")})),e.o.mouseWheel&&Q(),!("ontouchstart"in window||"onmsgesturechange"in window))return!0;I.on("touchstart",(function(g){e.dragging=!1;var C=g.originalEvent,t=A.position();A.data("touchY",C.changedTouches[0].pageY-t.top),A.data("touchX",C.changedTouches[0].pageX-t.left),I.on("touchmove",(function(g){g.preventDefault(),e.dragging=!0;var C=g.originalEvent;1===C.touches.length?(e.x=V(C.changedTouches[0].pageX-A.data("touchX")),e.y=U(C.changedTouches[0].pageY-A.data("touchY")),_(e.x,e.y,Z(),50)):I.off("touchmove")})),I.on("touchend",(function(){I.off("touchmove touchend")}))}));var C=new s(e.$map[0],{transform_always_block:!0,drag_block_horizontal:!0,drag_block_vertical:!0});C.get("pinch").set({enable:!0}),e.rotating=!1;var t,n=1;if(C.on("pinchstart",(function(){e.debug("addControls: PINCH START"),e.dragging=!1,n=Z()/O(),t=n})),C.on("pinch",(function(A){e.dragging=!0,1!==A.scale&&(n=Math.max(1,Math.min(t*A.scale,100)));var g=Z();M(B(n*O())),e.x=V(e.x-(A.center.x-e.$container.offset().left-e.x)*(Z()/g-1)),e.y=U(e.y-(A.center.y-e.y)*(Z()/g-1)),_(e.x,e.y,Z(),0)})),e.o.rotatable){C.get("rotate").set({enable:!0});var i,r=0;C.on("rotatestart rotatemove rotateend",(function(A){switch(A.type){case"rotatestart":r=A.rotation;break;case"rotatemove":e.debug("addControls: ROTATE MOVE"),i=r-A.rotation,AA(e.rotation-i);break;case"rotateend":e.rotation=e.rotation-i}}))}}}(),e.resetLevel(A.id),e.$el.trigger("levelSwitched",[t.id,t.no,t.isOutdoor])}else e.debug("switchLevel: ** ALREADY SWITCHED **");else e.debug("switchLevel: -- ALREADY SWITCHED --")}}};e.stackMode=function(){var A=arguments.length>0&&void 0!==arguments[0]&&arguments[0],g=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(e.o.stackMode.enabled)if(e.stackModeActive)e.error("stack mode zaten aktif");else{e.tooltip&&e.tooltip.hide(),$(.5,.5,1,0,void 0,void 0),e.stackModeActive=!0,e.navigation.animationStarted()&&e.navigation.addEscalatorAnimation();var I=o.sortBy(e.data.levels,(function(A){return A.no}));o.each(I,(function(I,C){var t=uA(I.id);t.removeClass("hidden").removeClass("active"),e.$map.removeClass(X("map--selected-",I.no)),t.data("value",I.no),t.css("transform","translateZ(".concat(C*e.o.stackMode.offset,"vmin)")),t.removeClass("svg-map-layer-up").removeClass("svg-map-layer-down").removeClass("layer-visible"),t.one("click",(function(A){A.preventDefault(),e.debug("stackMode: $svgLayer.click=",I),e.switchLevelToNumber(I.no,!0,!1,g,!1)})),A&&I.id!==A&&I.id!==e.currentLevel&&t.addClass("hidden")})),e.currentLevel=void 0,e.currentLevelNumber=void 0,e.$map.addClass("stack-mode-on").removeClass("stack-mode-off"),A&&setTimeout((function(){var I=lA(A);e.switchLevelToNumber(I.no,!1,!1,g,!1)}),e.o.stackMode.switchFloorTime)}else e.error("Please first activate stackMode in order to use it")};var PA=function(A){return o.omit(A,["$el","$rect","x","y"])},RA=function(A){return o.omit(A,["x","y"])};e.zoomIn=function(){var A=Z();M(B(A+.8*A)),e.x=V(e.x-(e.$container.width()/2-e.x)*(Z()/A-1)),e.y=U(e.y-(e.$container.height()/2-e.y)*(Z()/A-1)),_(e.x,e.y,Z(),.4*v,"easeInOutCubic")},e.zoomOut=function(){var A=Z();M(B(A-.4*A)),e.x=V(e.x-(e.$container.width()/2-e.x)*(Z()/A-1)),e.y=U(e.y-(e.$container.height()/2-e.y)*(Z()/A-1)),_(e.x,e.y,Z(),.4*v,"easeInOutCubic")},e.resetLevel=function(){AA(0),e.hideLocation(),$(.5,.5,1,.4*v,"easeInOutCubic")},e.switchLevelToNumber=function(A,g,I){var C=arguments.length>3&&void 0!==arguments[3]&&arguments[3],t=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],n=cA(A);n&&(e.navigation.setAutoMode(C),t&&e.navigation.started||zA(n,g,I),e.navigation.animationStarted()&&e.navigation.showOnLevelByLevelNo(n.no,t))},e.switchLevelToId=function(A,g,I){var C=arguments.length>3&&void 0!==arguments[3]&&arguments[3],t=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],n=lA(A);n&&(e.navigation.setAutoMode(C),t&&e.navigation.started||zA(n,g,I),e.navigation.animationStarted()&&e.navigation.showOnLevelByLevelNo(n.no,t))},e.highlightLocation=function(A,g,I){e.debug("highlightLocation: HIGHLIGHT LOCATION? "+A);var C=iA(A);if(C){var t=eA(C.id);if(t){if(zA(t),g){var n=C.zoom?parseFloat(C.zoom):e.o.maxScale;$(dA(C),hA(C),n,I,"easeInOutCubic")}L(e.$el),S(C.$el),e.$el.trigger("locationHighlighted",PA(C))}}},e.showLocation=function(A,g){var I=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],C=arguments.length>3&&void 0!==arguments[3]&&arguments[3];e.debug("showLocation: id="+A);var t=iA(A);if(t)if("kiosk"!==t.type){var n=eA(t.id);if(n){I&&(e.debug("showLocation: close navigation"),e.closeNavigation());var i=t.action&&"default"!==t.action?t.action:e.o.action,r=(e.data.landmark||{}).zoom;if(e.o.landmark&&o.isBoolean(r)&&!r&&(e.debug("showLocation: ZOOM NOT ENABLED FOR LANDMARK"),i="tooltip",e.o.zoomToSelected=!1),"select"===i)F(t.$el);else if("zoom"===i){zA(n,C);var a=t.zoom?parseFloat(t.zoom):e.o.maxScale;C&&$(dA(t),hA(t),a,g,"easeInOutCubic")}else if("pin"===i)zA(n),e.tooltip&&e.tooltip.show(t,g);else if("tooltip"===i)zA(n),e.tooltip&&e.tooltip.show(t,g);else if("not-empty"===i)return e.debug("showLocation: location not empty case"),void(e.o.locationCannotBeSelected&&e.o.locationCannotBeSelected(t.id));L(e.$el),S(t.$el),e.$el.trigger("locationOpened",PA(t))}else e.error("showLocation: level not found")}else e.error("showServiceLocation: kiosk service cannot be selected");else e.error("showLocation: ".concat(A," not found"))},e.highlightServiceLocation=function(A,g,I){e.error("highlightServiceLocation deprecated. use map.highlightLocation(...)")},e.showServiceLocation=function(A,g){!(arguments.length>2&&void 0!==arguments[2])||arguments[2];e.error("showServiceLocation deprecated. use map.showLocation(...)")},e.highlightLocations=function(A,g,I){var C;if(e.debug("highlightLocations: "+A),(C=Array.isArray(A)?A:[A]).length<=1)e.highlightLocation(C[0],g,I);else{var t=o.filter(o.map(C,(function(A){return rA(A)})));if(t.length){var n=t[0],i=eA(n.id);if(i){if(zA(i),g){var r=n.zoom?parseFloat(n.zoom):e.o.maxScale,a=mA(t);$(a.x,a.y,r,I,"easeInOutCubic")}L(e.$el);var s=!0,l=!1,c=void 0;try{for(var u,v=t[Symbol.iterator]();!(s=(u=v.next()).done);s=!0){var p=u.value;S(p.$el)}}catch(A){l=!0,c=A}finally{try{s||null==v.return||v.return()}finally{if(l)throw c}}e.$el.trigger("locationsHighlighted")}}}},e.showServiceLocations=function(A){e.error("showServiceLocations deprecated. use map.showLocation(...)")},e.highlightServiceLocations=function(A,g,I){var C;if(e.debug("highlightServiceLocations: HIGHLIGHT SERVICE LOCATIONS? "+A),(C=Array.isArray(A)?A:[A]).length<=1)e.highlightServiceLocation(C[0],g,I);else{var t=o.filter(o.map(C,(function(A){return aA(A)})));if(t.length){var n=t[0],i=eA(n.id);if(i){if(zA(i),g){var r=n.zoom?parseFloat(n.zoom):e.o.maxScale,a=mA(t);$(a.x,a.y,r,I,"easeInOutCubic")}L(e.$el);var s=!0,l=!1,c=void 0;try{for(var u,v=t[Symbol.iterator]();!(s=(u=v.next()).done);s=!0){var p=u.value;S(p.$el)}}catch(A){l=!0,c=A}finally{try{s||null==v.return||v.return()}finally{if(l)throw c}}e.$el.trigger("serviceLocationsHighlighted")}}}},e.hideLocation=function(){e.debug("hideLocation: HIDE LOCATION INSIDE:",e.$el),L(e.$el),e.tooltip&&e.tooltip.hide(),e.$el.trigger("locationClosed")},e.setCurrentLocationFromBlock=function(A){var g=iA(A);if(g){var I=eA(A),C=lA(e.currentLevel);e.userPinTooltip.addUserLocation(g,I.no),C&&C.no===e.userPinTooltip.getUserLocationFloorNumber()?(e.debug("set current location"),CA(g)):e.debug("setCurrentLocationFromBlock: wait for patch..")}else e.debug("setCurrentLocationFromBlock: location not found")},e.setCurrentLocation=function(A,g,I){var C;C=o.isNumber(I)?cA(I):lA(e.currentLevel),e.userPinTooltip.addUserLocationPoint(A,g,C.no),lA(e.currentLevel).no===e.userPinTooltip.getUserLocationFloorNumber()&&tA()},e.updateLocalized=function(A){var g=A.youAreHereText,I=A.navigationText,C=A.closeText,t=A.detailText,n=A.enterBuildingText,i=A.floorText;setTimeout((function(){g&&e.userPinTooltip.updateLocalized(g),(I||C||t||n||i)&&e.tooltip.updateLocalized({navigationText:I,closeText:C,detailText:t,enterBuildingText:n,floorText:i})}))},e.changeNavigationPins=function(A){var g=A.startPin,I=A.endPin;e.navigation&&(e.debug("changeNavigationPins: WILL TRY changing navigation pins.."),g&&e.navigation.changeStartPinImg(g),I&&e.navigation.changeEndPinImg(I))},e.resetNavigationPins=function(){e.navigation&&(e.navigation.resetStartPinImg(),e.navigation.resetEndPinImg())},e.resetCurrentLocation=function(){e.userPinTooltip.resetUserLocation()},e.setCurrentMobileUserLocation=function(A,g,I){var C;C=o.isNumber(I)?cA(I):lA(e.currentLevel),e.user?e.user.resetUserLocation():e.user=new m,e.user.init(A,g,C.no),e.user.show()},e.showCurrentMobileUserLocation=function(){if(e.user){var A=e.user.getUserLocationFloorNumber();e.switchLevelToNumber(A),e.user.zoom()}},e.moveCurrentMobileUserLocation=function(A,g){if(e.user){var I;I=o.isNumber(g)?cA(g):lA(e.currentLevel);try{return e.user.changeUserLocationPoint(A,I.no),!0}catch(A){return e.error(A),!1}}},e.resetCurrentMobileUserLocation=function(){e.user&&e.user.resetUserLocation()},e.listenToAnimate=function(A){e.navigation.setAnimationListener(A)},e.showNavigation=function(A){var g=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],I=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],C=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];try{return e.navigation.init(A),e.navigation.show(g,I,C),!0}catch(A){return e.error(A),!1}},e.showNavigationWithMultiple=function(A){var g=arguments.length>1&&void 0!==arguments[1]&&arguments[1],I=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],C=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],t=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,n=arguments.length>5&&void 0!==arguments[5]&&arguments[5];if(!o.isArray(A))return!1;try{var i=o.cloneDeep(A[t]);if(!i)return!0;e.statics.multipleNavigation={navigationDetails:A,groupIndex:t},e.closeNavigation(!1,!1),e.navigation.onComplete((function(){e.navigation.canceled||e.showNavigationWithMultiple(A,g,I,C,t+1)}));var r=function(){setTimeout((function(){e.navigation.canceled||e.showNavigation(i.navigation,g,I,C,n)}),.6*v)},a="building"===i.type&&i.building;return a?(e.debug("enter location",a),e.resetCurrentMobileUserLocation(),e.enterBuilding(a,r)):e.exitBuilding(r),!0}catch(A){return e.error(A),!1}},e.startNavigation=function(A){var g=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],I=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],C=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];e.debug("startNavigation: navigationDetails=",A),e.statics.restartNavigationData={navigationDetails:A,autoMode:g,zoomEnabled:I,showPins:C};var t=e.isMultiBuilding();return t?e.showNavigationWithMultiple(A,g,I,C):e.showNavigation(A,g,I,C)},e.getNavigationDetails=function(){var A=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,g=e.statics.multipleNavigation,I=g.navigationDetails,C=g.groupIndex;return I&&I[C+A]},e.prevLevelId=function(){if(!e.navigation.canceled){var A=e.navigation.getFloorNo(-1);if(!o.isUndefined(A)){var g=cA(A);return g&&g.id}if(e.isMultiBuilding()){var I=e.getNavigationDetails(-1);if(e.debug("self.prevLevelId: prevDetails=",I),!I)return;var C={};if("outdoor"===I.type)C.isOutdoor=!0;else{var t=o.last(I.navigation.direction);C.building=I.building,C.no=t}var n=oA(C);return e.debug("self.prevLevelId: level=",n,"filter=",C),n&&n.id}}},e.hasPrevNavigate=function(){return!!e.prevLevelId()},e.prevNavigate=function(){var A=arguments.length>0&&void 0!==arguments[0]&&arguments[0],g=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],I=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!e.navigation.canceled){var C=e.navigation.isOnFirstNavigationFloor();C?e.prevBuildingNavigate(A,g,I):e.navigation.showOnPrev(A,g,I)}},e.prevBuildingId=function(){if(!e.navigation.canceled&&e.isMultiBuilding()){var A=e.getNavigationDetails(-1);return A&&("outdoor"===A.type?A.type:A.building)}},e.hasPrevBuildingNavigate=function(){return!!e.prevBuildingId()},e.prevBuildingNavigate=function(){var A=arguments.length>0&&void 0!==arguments[0]&&arguments[0],g=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],I=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!e.navigation.canceled){var C=e.statics.multipleNavigation,t=C.navigationDetails,n=C.groupIndex,i=n-1;t[i]&&e.showNavigationWithMultiple(t,A,g,I,i,!0)}},e.nextLevelId=function(){if(!e.navigation.canceled){var A=e.navigation.getFloorNo(1);if(!o.isUndefined(A)){var g=cA(A);return g&&g.id}if(e.isMultiBuilding()){var I=e.getNavigationDetails(1);if(e.debug("self.nextLevelId: nextDetails=",I),!I)return;var C={};if("outdoor"===I.type)C.isOutdoor=!0;else{var t=o.first(I.navigation.direction);C.building=I.building,C.no=t}var n=oA(C);return e.debug("self.nextLevelId: level=",n,"filter=",C),n&&n.id}}},e.hasNextNavigate=function(){return!!e.nextLevelId()},e.nextNavigate=function(){var A=arguments.length>0&&void 0!==arguments[0]&&arguments[0],g=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],I=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!e.navigation.canceled){var C=e.navigation.isOnLastNavigationFloor();C?e.nextBuildingNavigate(A,g,I):e.navigation.showOnNext(A,g,I)}},e.nextBuildingId=function(){if(e.navigation.canceled||!e.isMultiBuilding())return!1;var A=e.getNavigationDetails(1);return A&&("outdoor"===A.type?A.type:A.building)},e.hasNextBuildingNavigate=function(){return!!e.nextBuildingId()},e.nextBuildingNavigate=function(){var A=arguments.length>0&&void 0!==arguments[0]&&arguments[0],g=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],I=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!e.navigation.canceled){var C=e.statics.multipleNavigation,t=C.navigationDetails,n=C.groupIndex,i=n+1;t[i]&&e.showNavigationWithMultiple(t,A,g,I,i,!0)}},e.closeNavigation=function(){var A=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],g=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];C.navigation.removePathAnimations(),C.navigation.setAutoMode(!1),C.navigation.removeEscalatorAnimation(),C.navigation.activeFloor=null,C.navigation.canceled=g,A&&e.resetLevel(),g&&(e.statics.restartNavigationData=null,e.$el.trigger("navigationCancelled"))},e.restartNavigation=function(){var A=e.o.cssAnimation?e.o.cssAnimationTime:.1*v,g=e.statics.restartNavigationData||{},I=g.navigationDetails,C=g.autoMode,t=g.zoomEnabled,n=g.showPins;I?setTimeout((function(){e.closeNavigation(!0,!1),e.startNavigation(I,C,t,n)}),A):e.error("restartNavigation: restartNavigationData not found")},e.mto=function(A,g,I,C,t,e){$(A,g,I,C,t,e)},e.zto=function(A,g,I,C,t){_(A,g,I,C,t)},e.calculateSP=function(A,g){var I=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"auto",C=e.data,t=C.levels,n=C.nodes,i=C.paths;return Array.isArray(t)&&Array.isArray(n)&&Array.isArray(i)?c(A,g,{levels:t,nodes:n,paths:i},I):(e.error("Required levels, nodes or paths in data"),null)},e.calculateSP_v1=function(A,g){var I=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"auto";return e.calculateSP(A,g,I)},e.calculateSP_v2=function(A,g){var I=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"auto",C=e.data,t=C.nodes,n=C.paths;return Array.isArray(t)&&Array.isArray(n)?u(A,g,{nodes:t,paths:n},I):(e.error("Required nodes or paths in data"),null)},e.enterBuilding=function(A,g){A?setTimeout((function(){e.debug("enterBuilding: buildingId=",A),z({building:A}),g&&g()}),.3*v):e.debug("enterBuilding:buildingId required!")},e.exitBuilding=function(g){e.debug("exitBuilding: go to outdoor"),A.nextTick((function(){z({isOutdoor:!0}),g&&g()}))}};g.extend(g.easing,{def:"easeOutQuad",swing:function(A,I,C,t,e){return g.easing[g.easing.def](A,I,C,t,e)},easeOutQuad:function(A,g,I,C,t){return-C*(g/=t)*(g-2)+I},easeOutCubic:function(A,g,I,C,t){return C*((g=g/t-1)*g*g+1)+I},easeInOutCubic:function(A,g,I,C,t){return(g/=t/2)<1?C/2*g*g*g+I:C/2*((g-=2)*g*g+2)+I}}),g.fn.svgMap=function(A){return this.each((function(){var C=g(this);if(!C.data("svg-map")){var t=new I(C);o.get(A,"immediate",!0)?(console.log("immediate, call init"),t.init(A)):console.log("no immediate, wait for levels to be added"),C.data("svg-map",t)}}))}}}.call(this,I(/*! ./../node_modules/process/browser.js */8))},
|
|
161
|
+
/*! ModuleConcatenation bailout: Module uses injected variables (process) */function(A,g,I){"use strict";I.r(g),function(A){var C=I(/*! @babel/runtime/helpers/classCallCheck */2),t=I.n(C),e=I(/*! @babel/runtime/helpers/createClass */3),n=I.n(e),i=I(/*! @babel/runtime/helpers/typeof */5),r=I.n(i),a=I(/*! gsap */4),o=I(/*! lodash */1),s=(I(/*! ../assets/map/map.css */11),I(/*! hammerjs */60)),l=I(/*! imports-loader?define=>false!jquery-mousewheel */61),c=I(/*! ./sp/v1 */62),u=I(/*! ./sp/v2 */65),v=1e3;g.default=function(g){l(g);var I=function(I){var C=this,e=this;e.statics={restartNavigationData:null,multipleNavigation:{navigationDetails:null,groupIndex:0}},e.o={locale:{language:"en",availableLanguages:["en","tr","ru","ar","kz","it"]},mode:"default",locationCannotBeSelected:null,helperTexts:{youAreHere:"You are here"},strokeOptions:{width:8,color:"#000"},animation:{speedFactor:8,frequencyFactor:8,mode:"line",debugContainer:"#navigation-debugger",availableModes:["line","dot","arrow","foot","feet"],pointModes:["dot","arrow"],stackAnimation:!1},selector:"[id^=stores] > *",serviceSelector:"[id^=services] > *",rotateServices:!1,rotatable90PathSelector:"[id^=deg-90] > *",rotatable180PathSelector:"[id^=deg-180] > *",rotatable270TextSelector:"[id^=texts-vertical] > *",rotatable180TextSelector:"[id^=texts-horizontal] > *",rectSelector:"[id^=rects] > *",noPointerGroupSelector:"g[id^=nopointer]",stackMode:{enabled:!1,offset:10,switchFloorTime:5*v},draggable:!0,landmark:!1,mapFill:!1,height:420,zoomToSelected:!0,rotatable:!1,action:"tooltip",hoverTip:!0,tooltip:{enabled:!0,navigation:!1,detail:!1,enterBuilding:!1,renderTemplate:!1},smartip:!0,fillColor:"",developer:!1,mouseWheel:!0,maxScale:4,animationScale:1.5,cssAnimation:!0,cssAnimationTime:v,zoom:!0,textOnRect:{enabled:!0,fontFamily:"sans-serif",fontSize:24,maxFontSize:48,minFontSize:16,mode:"dynamic",availableModes:["static","dynamic"]},beaconMode:!1,initialScaleFactor:1},e.$el=I,e.contentWidth={},e.contentHeight={},e.fitscale={},e.offsetDueToRotation=0,e.offsetCoefficient={},e.callbackMapReady=null,e.addLevel=function(A){e.levels=e.levels||[],e.levels.push(A)},e.debug=function(){var A;(A=e.logger).debug.apply(A,arguments)},e.log=function(){var A;(A=e.logger).log.apply(A,arguments)},e.error=function(){var A;(A=e.logger).error.apply(A,arguments)},e.init=function(A){var g=A.data;A.data=null,e.isMultiBuilding=function(){return!!g.buildings&&g.buildings.length},e.getNodes=function(){return g.nodes},e.getPaths=function(){return g.paths},e.getLevels=function(){return g.levels},e.logger=new i(e.o.developer||A.developer),e.debug("init:",o.get(A,"tooltip"));var I=o.get(A,"tooltip");o.isBoolean(I)?(A.tooltip=e.o.tooltip,A.tooltip.enabled=I):o.isBoolean(o.get(A,"tooltip.enabled"))||(A.tooltip=A.tooltip||e.o.tooltip,A.tooltip.enabled=!0);var C=o.get(A,"textOnRect");o.isBoolean(C)?(A.textOnRect=e.o.textOnRect,A.textOnRect.enabled=C):(o.isBoolean(o.get(A,"textOnRect.enabled"))||(A.textOnRect=A.textOnRect||e.o.textOnRect,A.textOnRect.enabled=!0),A.textOnRect.mode?o.includes(e.o.textOnRect.availableModes,A.textOnRect.mode)||(e.debug("init: textOnRect mode selected NOT AVAILABLE, switching to default.."),A.textOnRect.mode=e.o.textOnRect.mode):A.textOnRect.mode=e.o.textOnRect.mode,"dynamic"===A.textOnRect.mode?A.textOnRect.fontSize||(A.textOnRect.fontSize=e.o.textOnRect.fontSize):"static"===A.textOnRect.mode&&(A.textOnRect.maxFontSize||(A.textOnRect.maxFontSize=e.o.textOnRect.maxFontSize),A.textOnRect.minFontSize||(A.textOnRect.minFontSize=e.o.textOnRect.minFontSize))),A.animation&&(A.animation.debugContainer||(A.animation.debugContainer=e.o.animation.debugContainer),A.animation.speedFactor||(A.animation.speedFactor=e.o.animation.speedFactor),A.animation.frequencyFactor||(A.animation.frequencyFactor=e.o.animation.frequencyFactor),A.animation.mode?o.includes(e.o.animation.availableModes,A.animation.mode)||(e.debug("init: Animation mode selected NOT AVAILABLE, switching to default.."),A.animation.mode=e.o.animation.mode):A.animation.mode=e.o.animation.mode,A.animation.pointModes=e.o.animation.pointModes,A.animation.availableModes=e.o.animation.availableModes);var t=o.get(A,"stackMode");if(o.isBoolean(t)?(A.stackMode=e.o.stackMode,A.stackMode.enabled=t):o.isBoolean(o.get(A,"stackMode.enabled"))||(A.stackMode=A.stackMode||e.o.stackMode,A.stackMode.enabled=!0),A.locale&&(A.locale.availableLanguages||(A.locale.availableLanguages=e.o.locale.availableLanguages),A.locale.language?o.includes(A.locale.availableLanguages,A.locale.language)||(e.debug("init: Language selected NOT AVAILABLE, switching to default.."),A.locale.language=e.o.locale.language):A.locale.language=e.o.locale.language),o.assignInWith(e.o,A,(function A(g,I){return void 0!==g&&void 0!==I&&"object"===r()(g)&&"object"===r()(I)?(o.assignWith(g,I,A),g):o.isUndefined(I)?g:I})),e.debug("init: map options",e.o),!e.o.animation.stackAnimation||e.o.stackMode.enabled)return e.x=0,e.y=0,e.scale={},g.levels.forEach((function(A){e.scale[A.id]=1})),e.rotation=0,e.debug("init: SETTING CONTAINER HEIGHT AS ".concat(e.o.height)),e.$el.addClass("svg-map-element svg-map-loading").height(e.o.height),e.o.landmark=!!g.landmark,e.o.landmark&&(e.o.hoverTip=!1,e.o.action="tooltip"),e.o.id?(o.isNumber(e.o.rotate)?(e.o.rotate=e.o.rotate%360,e.o.rotate%90&&(e.o.rotate=0)):e.o.rotate=0,setTimeout((function(){if(e.debug("init: LOADING SVG MAP.."),g.levels&&g.levels.length)e.debug("init: levels already ready");else{if(e.debug("init: levels submitted beforehand"),!e.levels||!e.levels.length)return void e.error("init: levels should be submitted beforehand!");g.levels=e.levels}P(g)}),.1*v),e):(e.$el.removeClass("svg-map-loading").addClass("svg-map-error"),void e.error("Map is not set! [svg-map] parameters must contain an id attribute."));e.error("if you want to use stackAnimation. You need to enable stackMode !")};var i=function(){function A(){var g=arguments.length>0&&void 0!==arguments[0]&&arguments[0];t()(this,A),this.debugMode=g}return n()(A,[{key:"log",value:function(){var A;(A=console).log.apply(A,arguments)}},{key:"debug",value:function(){var A;this.debugMode&&(A=console).log.apply(A,arguments)}},{key:"error",value:function(){var A;(A=console).error.apply(A,arguments)}}]),A}(),l=function(){function A(){t()(this,A),this.tooltips=[],this.tooltips.push(new p)}return n()(A,[{key:"init",value:function(){o.each(this.tooltips,(function(A){A.init()}))}},{key:"show",value:function(A,g){var I,C=this;if((I=Array.isArray(A)?A:[A]).length){var t=this.tooltips.splice(0,this.tooltips.length-1);e.debug("TooltipContainer: TOOLTIP LENGTH TO REMOVE=",t.length,"TOOLTIP LENGTH NOW=",this.tooltips.length),o.each(t,(function(A){A.remove()}));var n=1===I.length,i=0;o.each(I,(function(A){if(!i)return e.debug("TooltipContainer: FIRST TOOLTIP"),C.tooltips[i].show(A,g,n),void i++;e.debug("TooltipContainer: OTHER TOOLTIP, ",i);var I=new p;I.init(),C.tooltips.push(I),I.show(A,g,n),i++}))}}},{key:"hide",value:function(){e.debug("TooltipContainer: tooltip hided"),o.each(this.tooltips,(function(A){A.hide()}))}},{key:"position",value:function(){o.each(this.tooltips,(function(A){A.position()}))}},{key:"updateLocalized",value:function(A){o.each(this.tooltips,(function(g){g.updateLocalized(A)}))}},{key:"getOneLocation",value:function(){return o.get(this.tooltips[0],"location")}}]),A}(),p=function(){function A(){t()(this,A),this.$el=null,this.shift=6,this.drop=0,this.location=null}return n()(A,[{key:"init",value:function(){var A=this;if(e.debug("Tooltip: INIT"),e.o.tooltip.renderTemplate)this.$el=g(g.parseHTML(e.o.tooltip.renderTemplate)),this.$title=this.$el.find("#svg-map-tooltip-title"),this.$content=this.$el.find("#svg-map-tooltip-content"),e.o.tooltip.navigation&&(this.$navigation=this.$el.find("#svg-map-tooltip-navigation-button")),e.o.tooltip.detail&&(this.$detail=this.$el.find("#svg-map-tooltip-detail-button")),this.$logo=this.$el.find("#svg-map-tooltip-logo"),this.$facade=this.$el.find("#svg-map-tooltip-facade"),this.$floor=this.$el.find("#svg-map-tooltip-category"),this.$close=this.$el.find("#svg-map-tooltip-close");else{this.$el=g("<div/>").addClass("svg-map-tooltip");var I=!e.o.landmark;I&&(this.$close=g("<a/>").addClass("svg-map-tooltip-close").attr("href","#").appendTo(this.$el)),this.$content=g("<div/>").addClass("svg-map-tooltip-content").addClass(I?"":"svg-map-tooltip-landmarkmode").appendTo(this.$el),this.$title=g("<h4/>").addClass("svg-map-tooltip-title").appendTo(this.$content),!e.o.landmark&&e.o.tooltip.enabled&&(e.o.tooltip.navigation&&(this.$navigation=g("<a/>").addClass("svg-map-tooltip-navigation-button").attr("href","#"),e.o.tooltip.navigation.image?this.$navigation.append(g("<img/>",{src:e.o.tooltip.navigation.image})).append(g("<span/>",{text:e.o.tooltip.navigation.text})):this.$navigation.text(e.o.tooltip.navigation.text),this.$navigation.appendTo(this.$content)),e.o.tooltip.detail&&(this.$detail=g("<a/>",{text:e.o.tooltip.detail.text||"DETAIL"}).addClass("svg-map-tooltip-detail-button").attr("href","#").attr("type","button").appendTo(this.$content)),e.isMultiBuilding()&&e.o.tooltip.enterBuilding&&(this.$enterBuilding=g("<a/>",{text:e.o.tooltip.enterBuilding.text||"ENTER"}).addClass("svg-map-tooltip-enter-building-button").attr("href","#").attr("type","button").appendTo(this.$content)))}this.$navigation&&this.$navigation.on("click touchend",(function(g){g.preventDefault(),e.$el.trigger("navigationClicked",[A.$navigation,A.location.id])})),this.$detail&&this.$detail.on("click touchend",(function(g){g.preventDefault(),e.$el.trigger("detailClicked",[A.$detail,A.location.id])})),this.$enterBuilding&&this.$enterBuilding.on("click touchend",(function(g){g.preventDefault(),e.$el.trigger("enterBuildingClicked",[A.$enterBuilding,A.location.buildingId,A.location.id])})),this.$close&&this.$close.on("click touchend",(function(A){A.preventDefault(),e.hideLocation(),e.o.zoom||$(.5,.5,1,1.2*v,"easeInOutCubic"),e.$el.trigger("closeClicked",[this.$close])})),this.$triangle=g("<div/>").addClass("svg-map-tooltip-triangle").prependTo(this.$el),e.$map.append(this.$el)}},{key:"show",value:function(A,g){var I=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];A&&"kiosk"!==A.type&&(this.location=A,e.hoverTip&&e.hoverTip.hide(),this.$title.text(fA(A)),this.$detail&&this.$detail.text(e.o.tooltip.detail.text||"DETAIL"),this.$enterBuilding&&(this.$enterBuilding.text(e.o.tooltip.enterBuilding.text||"ENTER"),"building"===A.type?this.$enterBuilding.show():this.$enterBuilding.hide()),this.$logo&&(A.logo?(this.$logo.show(),this.$logo.attr("src",A.logo)):this.$logo.hide()),this.$facade&&(A.facade?(this.$facade.show(),this.$facade.attr("src",A.facade)):this.$facade.hide()),this.$floor&&this.$floor.text(o.get(A.floor,e.o.locale.language,"")),this.$content[0].scrollTop=0,this.shift=20,this.position(),this.$el.stop().show(),this.$el.css({opacity:1}),I&&this.zoom(A,g))}},{key:"position",value:function(){if(this.location){e.debug("POSITION TOOLTIP FOR LOCATION ID:"+this.location.id);var A=e.$map.offset().left+e.$map.width()*dA(this.location)-e.$container.offset().left,g=e.$map.offset().top+e.$map.height()*hA(this.location)-e.$container.offset().top,I=100*dA(this.location),C=100*hA(this.location),t=-this.$el.outerHeight()-(e.o.landmark?.75*this.shift:this.shift),n=-this.$el.outerWidth()/2;if(e.o.smartip){var i=.5;Math.abs(t)>g?(t=10,this.$el.addClass("svg-map-bottom")):this.$el.removeClass("svg-map-bottom"),this.$el.outerWidth()/2>A?i=.5-(this.$el.outerWidth()/2-A)/this.$el.outerWidth():e.$container.width()-A-this.$el.outerWidth()/2<0&&(i=.5+(A+this.$el.outerWidth()/2-e.$container.width())/this.$el.outerWidth()),i=Math.max(0,Math.min(1,i)),n=-this.$el.outerWidth()*i,this.$triangle.css("left",Math.max(5,Math.min(95,100*i))+"%")}this.$el.css({left:I+"%",top:C+"%",marginTop:t,marginLeft:n}),this.drop=this.$el.outerHeight()+this.shift}}},{key:"zoom",value:function(A,g){if(!e.o.zoomToSelected)return e.debug("Tooltip: NO ZOOM REQUIRED"),void $(.5,.5,1,1.2*v,"easeInOutCubic");var I=A.zoom?parseFloat(A.zoom):e.o.maxScale,C=((e.$container.height()-this.drop)/2+this.drop)/e.$container.height();$(dA(A),hA(A),I,g||1.2*v,"easeInOutCubic",C)}},{key:"hide",value:function(){var A=this;this.location=null,this.$el.stop().fadeOut(.3*v,(function(){e.o.tooltip.enabled&&e.o.tooltip.navigation&&A.$navigation&&(e.o.tooltip.navigation.image?A.$navigation.find("span").text(e.o.tooltip.navigation.text):A.$navigation.text(e.o.tooltip.navigation.text))}))}},{key:"updateLocalized",value:function(A){A.navigationText&&this.$navigation&&(e.o.tooltip.navigation.text=A.navigationText,e.o.tooltip.navigation.image?this.$navigation.find("span").text(A.navigationText):this.$navigation.text(A.navigationText)),A.closeText&&this.$close&&this.$close.text(A.closeText),A.detailText&&this.$detail&&(e.o.tooltip.detail.text=A.detailText,this.$detail.text(A.detailText)),A.enterBuildingText&&(e.o.tooltip.enterBuilding.text=A.enterBuildingText,this.$enterBuilding&&this.$enterBuilding.text(A.enterBuildingText)),A.floorText&&this.$floor.text(A.floorText)}},{key:"remove",value:function(){this.location=null,this.$el.stop().remove(),this.$el=null}}]),A}(),f=function(){function A(){t()(this,A),this.$el=null,this.shift=6}return n()(A,[{key:"init",value:function(){var A=this;this.$el=g("<div/>").addClass("svg-map-tooltip svg-map-hovertip"),this.$title=g("<h4/>").addClass("svg-map-tooltip-title").appendTo(this.$el),this.$triangle=g("<div/>").addClass("svg-map-tooltip-triangle").appendTo(this.$el),e.o.selector&&g(e.$map).on("mouseover",e.o.selector,(function(){if(!e.navigation.animationStarted()){var I=rA(g(this).attr("id"));A.shift=20,I&&A.show(I)}})).on("mouseout",(function(){A.hide()})),e.o.serviceSelector&&g(e.$map).on("mouseover",e.o.serviceSelector,(function(){if(!e.navigation.animationStarted()){var I=aA(g(this).attr("id"));A.shift=20,I&&A.show(I)}})).on("mouseout",(function(){A.hide()})),e.$map.append(this.$el)}},{key:"show",value:function(A){A&&"kiosk"!==A.type&&(this.$el.removeClass("svg-map-service-hovertip"),A&&"service"===A.type&&this.$el.addClass("svg-map-service-hovertip"),e.tooltip&&e.tooltip.getOneLocation()!==A&&(this.$title.text(fA(A)),this.position(A),this.$el.stop().fadeIn(.1*v)))}},{key:"position",value:function(A){var g,I=e.$map.offset().left+e.$map.width()*dA(A)-e.$container.offset().left,C=e.$map.offset().top+e.$map.height()*hA(A)-e.$container.offset().top,t=100*dA(A),n=100*hA(A),i=-this.$el.outerHeight()-this.shift,r=.5;Math.abs(i)>C?(i=10,this.$el.addClass("svg-map-bottom")):this.$el.removeClass("svg-map-bottom"),this.$el.outerWidth()/2>I?r=.5-(this.$el.outerWidth()/2-I)/this.$el.outerWidth():e.$container.width()-I-this.$el.outerWidth()/2<0&&(r=.5+(I+this.$el.outerWidth()/2-e.$container.width())/this.$el.outerWidth()),g=-this.$el.outerWidth()*r,this.$triangle.css("left",Math.max(10,Math.min(90,100*r))+"%"),this.$el.css({left:t+"%",top:n+"%",marginTop:i,marginLeft:g})}},{key:"hide",value:function(){this.$el.stop().fadeOut(.2*v)}}]),A}(),d=function(){function A(){t()(this,A),this.$el=null,this.$animationDebugContainer=null}return n()(A,[{key:"init",value:function(){this.$el=g("<div/>").addClass("svg-map-coordinates").appendTo(e.$container),this.$el.append("x: "),g("<code/>").addClass("svg-map-coordinates-x").appendTo(this.$el),this.$el.append(" y: "),g("<code/>").addClass("svg-map-coordinates-y").appendTo(this.$el),g(".svg-map-layer",e.$map).on("mousemove",(function(A){var I=(A.pageX-e.$map.offset().left)/e.$map.width(),C=(A.pageY-e.$map.offset().top)/e.$map.height();g(".svg-map-coordinates-x").text(parseFloat(I).toFixed(4)),g(".svg-map-coordinates-y").text(parseFloat(C).toFixed(4))})),this.$animationDebugContainer=g("<div/>",{class:"debug-container"}),this.$animationDebugContainer.appendTo(g(e.o.animation.debugContainer));var A=g("<div/>");A.append(g("<button/>",{id:"play",text:"play"})),A.append(g("<button/>",{id:"pause",text:"pause"})),A.append(g("<button/>",{id:"reverse",text:"reverse"})),A.append(g("<button/>",{id:"resume",text:"resume"})),A.append(g("<button/>",{id:"restart",text:"restart"})),A.append(g("<button/>",{id:"close-nav",text:"close navigation"})),A.append(g("<button/>",{id:"restart-nav",text:"restart navigation"})),A.append(g("<button/>",{id:"stack-mode",text:"show stack mode"})),A.append(g("<button/>",{id:"prev-nav-step",text:"prev nav step"})),A.append(g("<button/>",{id:"next-nav-step",text:"next nav step"})),e.isMultiBuilding()&&(A.append(g("<button/>",{id:"prev-building",text:"prev building"})),A.append(g("<button/>",{id:"next-building",text:"next building"}))),this.$animationDebugContainer.append(A);var I=g("<div/>",{id:"sliderWrapper"}).append(g("<div/>",{id:"slider"}));this.$animationDebugContainer.append(I);var C=g("<div/>",{id:"navigatingTextWrapper"}).append(g("<p/>",{id:"navigatingText"}));this.$animationDebugContainer.append(C),g("#play").click((function(){e.navigation.tween&&(1!==e.navigation.tween.progress()?e.navigation.tween.play():e.navigation.tween.restart())})),g("#pause").click((function(){e.navigation.tween&&e.navigation.tween.pause()})),g("#reverse").click((function(){e.navigation.tween&&e.navigation.tween.reverse()})),g("#resume").click((function(){e.navigation.tween&&e.navigation.tween.resume()})),g("#restart").click((function(){e.navigation.tween&&e.navigation.tween.restart()})),g("#close-nav").click((function(){e.closeNavigation()})),g("#restart-nav").click((function(){e.restartNavigation()})),g("#next-nav-step").click((function(){e.nextNavigate(!0,!0,!0)})),g("#prev-nav-step").click((function(){e.prevNavigate(!0,!0,!0)})),g("#next-building").click((function(){e.nextBuildingNavigate(!0,!0,!0)})),g("#prev-building").click((function(){e.prevBuildingNavigate(!0,!0,!0)})),g("#stack-mode").click((function(){e.stackMode()}))}}],[{key:"startSlider",value:function(){var A=g("#slider");g.isFunction(A.slider)?A.slider({range:!1,min:0,max:100,step:.1,slide:function(A,g){e.navigation.tween&&(e.navigation.tween.pause(),e.navigation.tween.progress(g.value/100))}}):console.warn("DevTools: slider function not found.")}},{key:"updateSlider",value:function(){if(e.navigation.tween){var A=g("#slider");g.isFunction(A.slider)&&A.slider("value",100*e.navigation.tween.progress())}}}]),A}(),h=function(){function A(){t()(this,A),this.$userPin=null,this.$el=null,this.shift=6,this.drop=0,this.location=null,this.currentUserLocation=null}return n()(A,[{key:"show",value:function(){if(this.removeUserLocationPin(),this.isUserLocationAvailable()){var A=lA(e.currentLevel);if(A&&A.no===this.currentUserLocation.floorNo){if(!this.isUserLocationPointAvailable()){e.debug("UserPinTooltip: PATCHING..");var g=this.currentUserLocation.location;CA(g)}var I=uA(A.id);I&&this.addUserLocationPin(I)}}}},{key:"addUserLocationPin",value:function(A){A.find(".svg-map-you-are-here-hovertip").remove(),A.find(".svg-map-pin.pin-pulse").remove();var I=100*this.currentUserLocation.point.x,C=100*this.currentUserLocation.point.y,t=g("<a/>",{href:"#",class:"svg-map-pin iconpin man pin-pulse"}).css({top:C+"%",left:I+"%"}).appendTo(A);t.on("click touchend",(function(A){A.preventDefault()})),this.$userPin=t,e.debug("UserPinTooltip: ",this.$userPin),this.$el=g("<div/>").addClass("svg-map-tooltip svg-map-hovertip svg-map-you-are-here-hovertip"),this.$userPinTitle=g("<h4/>").addClass("svg-map-tooltip-title").appendTo(this.$el),this.$userPinTriangle=g("<div/>").addClass("svg-map-tooltip-triangle").appendTo(this.$el),this.$userPinTitle.text(e.o.helperTexts.youAreHere),A.append(this.$el),this.shift=50,this.position(),this.$el.stop().fadeIn(.1*v)}},{key:"updateLocalized",value:function(A){e.o.helperTexts.youAreHere=A,this.$userPinTitle&&this.$userPinTitle.text(A)}},{key:"position",value:function(){if(this.$el){var A=e.$map.offset().left+e.$map.width()*this.currentUserLocation.point.x-e.$container.offset().left,g=e.$map.offset().top+e.$map.height()*this.currentUserLocation.point.y-e.$container.offset().top,I=100*this.currentUserLocation.point.x,C=100*this.currentUserLocation.point.y,t=-this.$el.outerHeight()-this.shift,n=0;if(e.o.smartip){var i=.5;Math.abs(t)>g?(t=10,this.$el.addClass("svg-map-bottom")):this.$el.removeClass("svg-map-bottom"),this.$el.outerWidth()/2>A?i=.5-(this.$el.outerWidth()/2-A)/this.$el.outerWidth():e.$container.width()-A-this.$el.outerWidth()/2<0&&(i=.5+(A+this.$el.outerWidth()/2-e.$container.width())/this.$el.outerWidth()),i=Math.max(0,Math.min(1,i)),n=-this.$el.outerWidth()*i,this.$userPinTriangle.css("left",Math.max(5,Math.min(95,100*i))+"%")}this.$el.css({left:I+"%",top:C+"%",marginTop:t,marginLeft:n}),this.drop=this.$el.outerHeight()+this.shift}}},{key:"addUserLocationPoint",value:function(A,g,I){this.currentUserLocation=this.currentUserLocation||new b,this.currentUserLocation.addPoint(A/x(),g/w(),I)}},{key:"addUserLocation",value:function(A,g){this.currentUserLocation=new b(A,g)}},{key:"resetUserLocation",value:function(){this.removeUserLocationPin(),this.currentUserLocation=null}},{key:"isUserLocationAvailable",value:function(){return this.currentUserLocation&&this.currentUserLocation.available()}},{key:"isUserLocationPointAvailable",value:function(){return this.currentUserLocation&&this.currentUserLocation.pointAvailable()}},{key:"getUserLocationFloorNumber",value:function(){return this.currentUserLocation&&this.currentUserLocation.floorNo}},{key:"removeUserLocationPin",value:function(){e.debug(this.$userPin),this.$userPin&&this.$userPin.stop().remove(),this.$el&&this.$el.stop().remove()}}]),A}(),m=function(){function A(){t()(this,A),this.currentLocation=null,this.timelineMax=new a.b}return n()(A,[{key:"init",value:function(A,g,I){var C=bA(A,g);this.addUserLocationPoint(C.x,C.y,I)}},{key:"show",value:function(){if(this.remove(),lA(e.currentLevel).no===this.getUserLocationFloorNumber()&&this.isUserLocationAvailable()){var A=uA(e.currentLevel),I=g("<a/>",{href:"#",class:"svg-map-pin circular pin-pulse"});I.on("click touchend",(function(A){A.preventDefault()})).appendTo(A),this.$el=I;var C=100*this.currentLocation.getX(),t=100*this.currentLocation.getY();this.$el.css({top:t+"%",left:C+"%"})}}},{key:"zoom",value:function(){this.getUserLocationFloorNumber()===e.currentLevelNumber&&this.currentLocation&&$(this.currentLocation.getX(),this.currentLocation.getY(),2,.6*v,"easeInOutCubic")}},{key:"remove",value:function(){this.$el&&(this.$el.stop().remove(),this.$el=null),this.timelineMax&&this.timelineMax.progress(0).clear()}},{key:"addUserLocationPoint",value:function(A,g,I){this.currentLocation=this.currentLocation||new b,this.currentLocation.addPoint(A/x(),g/w(),I)}},{key:"changeUserLocationPoint",value:function(A,g){var I;if(A&&(I=Array.isArray(A)?A:[A]).length)if(this.getUserLocationFloorNumber()===g){if(!this.$el){var C=I.shift();e.setCurrentMobileUserLocation(C.x,C.y,this.getUserLocationFloorNumber())}var t=null;this.currentLocation&&(t={x:this.currentLocation.getX()*x(),y:this.currentLocation.getY()*w()});var n=y.convertLinesToPath(I);if(n){var i=I[I.length-1];this.init(i.x,i.y,this.getUserLocationFloorNumber());var r=document.createElementNS("http://www.w3.org/2000/svg","path");r.setAttribute("d",n);var a=r.getTotalLength()+150;e.debug("User: PATH LENGTH: "+a);var s=a*e.o.animation.speedFactor/4/v,l=o.map(I,(function(A){var g=bA(A.x,A.y);return{left:g.x/x()*100+"%",top:g.y/w()*100+"%"}}));t&&l.unshift({left:t.x/x()*100+"%",top:t.y/w()*100+"%"}),this.timelineMax.progress(0).clear().set(this.$el,{css:{left:l[0].left,top:l[0].top},transformOrigin:"top left"}),this.timelineMax.to(this.$el,2*s,{bezier:{type:"thru",curviness:0,values:l,autoRotate:90},ease:"easeInOutPower2"})}}else{var c=I.pop();e.setCurrentMobileUserLocation(c.x,c.y,g)}}},{key:"resetUserLocation",value:function(){this.remove(),this.currentLocation=null}},{key:"isUserLocationAvailable",value:function(){return this.currentLocation&&this.currentLocation.pointAvailable()}},{key:"getUserLocationFloorNumber",value:function(){return this.currentLocation&&this.currentLocation.floorNo}}]),A}(),b=function(){function A(){var g=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,I=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;t()(this,A),this.point=null,this.location=g,this.floorNo=I}return n()(A,[{key:"addPoint",value:function(A,g,I){this.point={x:A,y:g},this.floorNo=I}},{key:"available",value:function(){return this.point||this.location}},{key:"pointAvailable",value:function(){return this.point&&o.isNumber(this.point.x)&&o.isNumber(this.point.y)}},{key:"getX",value:function(){return this.point&&this.point.x}},{key:"getY",value:function(){return this.point&&this.point.y}}]),A}(),y=function(){function A(){t()(this,A),this.routeData=[],this.activeFloors=[],this.activeFloorIndex=null,this.$startPin=null,this.$endPin=null,this.autoMode=!1,this.zoomEnabled=!0,this.showPins=!0,this.started=!1,this.canceled=!1,this.$path=null,this.tween=null,this.animationListener=null,this.onCompleteAnimation=null,this.elementSelector=".walking"}return n()(A,[{key:"init",value:function(g){if(this.routeData=[],this.activeFloors=g.direction,this.activeFloorIndex=-1,this.canceled=!1,!this.activeFloors||0===this.activeFloors.length)throw new Error("No direction found in SP");for(var I=g.floors.length,C=0;C<I;C++){var t=g.floors[C],n={no:t.no,points:[]},i=!0,r=!1,a=void 0;try{for(var o,s=t.lines[Symbol.iterator]();!(i=(o=s.next()).done);i=!0){var l=o.value;n.points.push({x:l.x1,y:l.y1})}}catch(A){r=!0,a=A}finally{try{i||null==s.return||s.return()}finally{if(r)throw a}}var c=t.lines[t.lines.length-1];if(n.points.push({x:c.x2,y:c.y2}),n.level_changer=c.level_changer,n.path=A.convertLinesToPath(n.points),!n.path)throw new Error("Path cannot be calculated of floor:"+t.no);this.routeData.push(n)}"dot"===e.o.animation.mode?this.elementSelector=".circle.walking":"arrow"===e.o.animation.mode?this.elementSelector=".arrow.walking":"foot"===e.o.animation.mode?this.elementSelector="img.foot":"feet"===e.o.animation.mode&&(this.elementSelector="img.foot")}},{key:"setAutoMode",value:function(A){this.autoMode=!!A}},{key:"addEscalatorAnimation",value:function(){var A=this;1!==this.activeFloors.length&&this.routeData.forEach((function(g){if(A.activeFloors[A.activeFloors.length-1]!==g.no){var I=cA(g.no),C=uA(I.id);0===e.navigation.navigationWay()?C.addClass("escalator-up"):C.addClass("escalator-down")}}))}},{key:"removeEscalatorAnimation",value:function(){var A=this;this.routeData&&this.routeData.forEach((function(g){if(A.activeFloors[A.activeFloors.length-1]!==g.no){var I=cA(g.no);uA(I.id).removeClass("escalator-up").removeClass("escalator-down")}}))}},{key:"setParams",value:function(A,g,I){this.autoMode=A,this.zoomEnabled=g,this.showPins=I}},{key:"show",value:function(A,g,I){this.setParams(A,g,I),this.advanceToNextFloor()}},{key:"navigationEvent",value:function(){var A=this.activeFloorIndex,I=this.routeData[A],C={prevLevelId:e.prevLevelId(),currentLevelId:e.currentLevel,nextLevelId:e.nextLevelId(),isStartFloor:this.isOnFirstNavigationFloor(),isEndFloor:this.isOnLastNavigationFloor(),levelChanger:I.level_changer};if(C.hasPrevNavigate=!!C.prevLevelId,C.hasNextNavigate=!!C.nextLevelId,e.isMultiBuilding()&&(C.prevBuildingId=e.prevBuildingId(),C.nextBuildingId=e.nextBuildingId(),C.hasPrevBuildingNavigate=!!C.prevBuildingId,C.hasNextBuildingNavigate=!!C.nextBuildingId),e.$el.trigger("navigation",C),e.o.developer){var t=Object.keys(C).map((function(A){return"".concat(A,"=").concat(C[A])}));g("#navigatingText").text(t.join(" | "))}}},{key:"showOnNext",value:function(A,g,I){var C=this;this.setParams(A,g,I);var t=this.getAdvanceToNextFloorIndex();setTimeout((function(){C.showOnLevelByLevelIndex(t)}),v)}},{key:"showOnPrev",value:function(A,g,I){var C=this;this.setParams(A,g,I);var t=this.getAdvanceToPrevFloorIndex();setTimeout((function(){C.showOnLevelByLevelIndex(t)}),v)}},{key:"showOnLevelByLevelNo",value:function(A){var g=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],I=o.findIndex(this.routeData,{no:A});return this.showOnLevelByLevelIndex(I,g)}},{key:"showOnLevelByLevelIndex",value:function(A){var g=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(e.debug("Navigation.showOnLevelByLevelIndex: floorIndex=",A,"canceled=",this.canceled),!this.canceled){var I=this.routeData[A];if(I)if(this.activeFloorIndex!==A){var C=cA(I.no);if(g){if(e.o.animation.stackAnimation&&e.o.stackMode.enabled&&!e.stackModeActive)return void e.stackMode(C.id,this.autoMode);zA(C,!0)}this.activeFloorIndex=A;var t=I.path;e.tooltip&&e.tooltip.hide(),this.removePathAnimations(),this.navigationEvent(),this.animatePathOnLevel(t,I.points,{end_floor:I.end_floor,level_changer:I.level_changer||I.node_level_changer}),this.started=!0}else e.debug("Navigation.showOnLevelByLevelIndex: ACTIVE FLOOR SP ALREADY SHOWN",this.activeFloorIndex,A);else e.debug("Navigation.showOnLevelByLevelIndex: NO ROUTE DATA")}}},{key:"animationStarted",value:function(){return this.started}},{key:"removePathAnimations",value:function(){this.tween&&(this.tween.pause(),this.tween.remove&&this.tween.remove(),this.tween=null),this.$path&&(this.$path.stop().remove(),this.$path=null),g(this.elementSelector).stop().remove(),this.removeStartPin(),this.removeEndPin(),this.started=!1}},{key:"addStartPin",value:function(A){if(this.showPins){this.removeStartPin();var I=bA(A.x,A.y),C=uA(e.currentLevel),t=I.x/x()*100,n=I.y/w()*100,i=g("<a/>",{href:"#",class:"svg-map-pin green-start pin-pulse"}).css({top:n+"%",left:t+"%"}).appendTo(C);i.on("click touchend",(function(A){A.preventDefault()})),this.$startPin=i}}},{key:"removeStartPin",value:function(){this.$startPin&&this.$startPin.stop().remove()}},{key:"addEndPin",value:function(A){if(this.showPins){this.removeEndPin();var I=bA(A.x,A.y),C=uA(e.currentLevel),t=I.x/x()*100,n=I.y/w()*100,i=g("<a/>",{href:"#",class:"svg-map-pin red-end pin-pulse"}).css({top:n+"%",left:t+"%"}).appendTo(C);i.on("click touchend",(function(A){A.preventDefault()})),this.$endPin=i}}},{key:"removeEndPin",value:function(){this.$endPin&&this.$endPin.stop().remove()}},{key:"changeStartPinImg",value:function(A){this.$startPin&&this.$startPin.css("background-image",'url("'.concat(A,'")'))}},{key:"resetStartPinImg",value:function(){this.$startPin&&this.$startPin.css("background-image","")}},{key:"changeEndPinImg",value:function(A){this.$endPin&&this.$endPin.css("background-image",'url("'.concat(A,'")'))}},{key:"resetEndPinImg",value:function(){this.$endPin&&this.$endPin.css("background-image","")}},{key:"isOnFirstNavigationFloor",value:function(){return this.activeFloors&&0===this.activeFloorIndex}},{key:"isOnLastNavigationFloor",value:function(){return this.activeFloors&&this.activeFloorIndex===this.activeFloors.length-1}},{key:"getFloorNo",value:function(){var A=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return this.activeFloors&&this.activeFloors[this.activeFloorIndex+A]}},{key:"navigationWay",value:function(){return this.activeFloors[0]>this.activeFloors[1]?1:0}},{key:"animatePathOnLevel",value:function(A,I,C){var t=this;e.debug("Navigation.animatePathOnLevel: pathString=",A,"| points=",I);var n=document.createElementNS("http://www.w3.org/2000/svg","path");n.setAttribute("d",A);var i=n.getTotalLength()+150,r=i*e.o.animation.speedFactor/v;e.debug("Navigation.animatePathOnLevel: PATH LENGTH="+i,"ANIMATION DURATION="+r);var s=vA(e.currentLevel),l=uA(e.currentLevel),c=16/e.o.animation.frequencyFactor,u=16/e.o.animation.speedFactor;e.debug("Navigation.animatePathOnLevel: COEFFICIENT FOR ANIMATION=".concat(c," | COEFFICIENT FOR SPEED=").concat(u));var p=[],f=[],h={left:null,right:null},m=r*c;if(e.debug("Navigation.animatePathOnLevel: POINT LENGTH ".concat(m," or ARRAY LENGTH ").concat(I.length)),t.$path=g(n),t.$path.attr({class:"line",fill:"none"}).css({stroke:e.o.strokeOptions.color,strokeWidth:e.o.strokeOptions.width,strokeMiterlimit:e.o.strokeOptions.width/2,strokeLinejoin:"round",strokeLinecap:"round",strokeDasharray:i,strokeDashoffset:i}).appendTo(s),"line"===e.o.animation.mode)t.$path.addClass("navigation-line-animation");else if(o.includes(e.o.animation.pointModes,e.o.animation.mode))for(var b=0;b<r*c*100;b++)p.push(g("<a/>",{class:t.elementSelector.split(".").join(" ")}));else if("foot"===e.o.animation.mode)h.left=g("<img/>",{class:"foot foot-left"}),h.right=g("<img/>",{class:"foot foot-right"});else if("feet"===e.o.animation.mode)for(var y=0;y<r*c;y++)f.push(g("<img/>",{class:"foot"}));function z(){e.debug("Navigation.animatePathOnLevel: ANIMATION COMPLETE");var A=t.getAdvanceToNextFloorIndex();A>=0&&t.autoMode&&t.started?setTimeout((function(){t.showOnLevelByLevelIndex(A)}),v):-1===A&&t.autoMode&&t.onCompleteAnimation&&t.onCompleteAnimation()}function P(A,g,I){A&&g&&A.from(g,I,{css:{top:"-=30%",opacity:0},ease:Bounce.easeOut})}setTimeout((function(){var A=n.getBBox();e.debug("Navigation.animatePathOnLevel: PATH BBOX=",A);var g={x:A.x+A.width/2,y:A.y+A.height/2};if(g={x:(g=bA(g.x,g.y)).x/x(),y:g.y/w()},t.zoomEnabled&&$(g.x,g.y,e.o.animationScale,.6*v,"easeInOutCubic"),t.isOnFirstNavigationFloor()&&t.addStartPin(I[0]),t.isOnLastNavigationFloor()&&t.addEndPin(I[I.length-1]),e.o.developer&&d.startSlider(),t.tween=new a.b({onUpdate:e.o.developer?d.updateSlider:function(){}}),o.includes(e.o.animation.pointModes,e.o.animation.mode)){e.debug("Navigation.animatePathOnLevel: OF POINTS IN ANIMATION=".concat(p.length));for(var C=0;C<p.length;C++)l.append(p[C]);var i=o.map(I,(function(A){return{left:((A=bA(A.x,A.y)).x-p[0].width()/2)/x()*100+"%",top:(A.y-p[0].height()/2)/w()*100+"%"}})),s=.5/u;e.debug("Navigation.animatePathOnLevel: STAGGER TIME=".concat(s)),t.tween.progress(0).clear().set(t.elementSelector,{css:{left:i[0].left,top:i[0].top,opacity:0},transformOrigin:"top left"}),t.isOnFirstNavigationFloor()&&P(t.tween,t.$startPin,1),t.isOnLastNavigationFloor()&&P(t.tween,t.$endPin,1),t.tween.staggerTo(t.elementSelector,.1,{css:{opacity:1},ease:"linear"},s);var c=t.tween.duration(),b=r/2,y=s*(p.length-1);t.tween.staggerTo(t.elementSelector,b,{bezier:{type:"thru",curviness:0,values:i,autoRotate:"arrow"===e.o.animation.mode?0:90},ease:"linear"},s,"-=".concat(y)),t.tween.staggerTo(t.elementSelector,.1,{css:{opacity:0},ease:"linear"},s,"-=".concat(y)),e.debug(t.tween.duration()),setTimeout((function(){z()}),(c/100+2)*v)}else if("foot"===e.o.animation.mode){e.debug("Navigation.animatePathOnLevel: ADDING FOOT IMAGES..");var R=a.a.config(I.length);l.append(h.left),l.append(h.right);var M=o.map(I,(function(A){return{left:(A.x-h.left.width()/2)/x()*100+"%",top:(A.y-h.left.height()/2)/w()*100+"%"}})),Z=.5/u;e.debug("Navigation.animatePathOnLevel: FIXED POINTS",M,"STAGGER TIME ".concat(Z)),t.tween.progress(0).clear().set(t.elementSelector,{css:{left:M[0].left,top:M[0].top,opacity:0}}),t.tween.to(h.left,.5,{autoAlpha:1,ease:"linear"},Z),t.tween.to(h.right,.5,{autoAlpha:1,ease:"linear"},Z);var D=r/2,T=Z*(m-1)-D;T<0&&(T=Z),e.debug("Navigation.animatePathOnLevel: REPEAT DELAY ".concat(T)),t.tween.to(h.left,D,{bezier:{type:"thru",curviness:0,values:M,autoRotate:90},transformOrigin:"50% -50%",ease:R},Z),t.tween.to(h.right,D,{bezier:{type:"thru",curviness:0,values:M,autoRotate:90},transformOrigin:"50% -50%",ease:R},1.5*Z);var O=t.tween.duration();setTimeout((function(){z()}),(O+2)*v)}else if("feet"===e.o.animation.mode){var j=a.a.config(I.length);e.debug("Navigation.animatePathOnLevel: ADDING FOOT IMAGES... | OF FOOT IN ANIMATION: ".concat(f.length));for(var N=0;N<f.length;N++)l.append(f[N]);var E=o.map(I,(function(A){return{left:(A.x-f[0].width()/2)/x()*100+"%",top:(A.y-f[0].height()/2)/w()*100+"%"}})),G=.5/u;e.debug("Navigation.animatePathOnLevel: FIXED POINTS",E,"STAGGER TIME ".concat(G)),t.tween.progress(0).clear().set(t.elementSelector,{css:{left:E[0].left,top:E[0].top,opacity:0}}),t.tween.staggerTo(t.elementSelector,.1,{css:{opacity:1},ease:"linear"},G);var X=r/2,H=G*(f.length-1)-X,k=G*(f.length-1);H<0&&(H=G),e.debug("Navigation.animatePathOnLevel: REPEAT DELAY ".concat(H)),t.tween.staggerTo(t.elementSelector,X,{bezier:{type:"thru",curviness:0,values:E,autoRotate:90},ease:j,repeatDelay:H},G,"-=".concat(k)),t.tween.staggerTo(t.elementSelector,.1,{css:{opacity:0},ease:"linear"},G,"-=".concat(k));var Y=t.tween.duration();setTimeout((function(){z()}),(Y+2)*v)}else t.isOnFirstNavigationFloor()&&P(t.tween,t.$startPin,1.5),t.isOnLastNavigationFloor()&&P(t.tween,t.$endPin,1.5),t.tween.to(t.$path,r,{strokeDashoffset:0,ease:"easeInOutPower2",delay:0,onComplete:z})}),e.o.cssAnimation?e.o.cssAnimationTime:.1*v),t.animationListener&&t.animationListener(C)}},{key:"advanceToNextFloor",value:function(){var A=this.activeFloorIndex,g=Math.min(this.activeFloors.length-1,A+1);e.debug("Navigation.advanceToNextFloor: activeFloorIndex",A,"nextFloorIndex:",g),A!==g?this.showOnLevelByLevelIndex(g):this.setAutoMode(!1)}},{key:"getAdvanceToNextFloorIndex",value:function(){var A=this.activeFloorIndex,g=Math.min(this.activeFloors.length-1,A+1);return e.debug("Navigation.getAdvanceToNextFloorIndex: currentIndex=",A,"nextFloorIndex=",g),A===g?-1:g}},{key:"getAdvanceToPrevFloorIndex",value:function(){var A=this.activeFloorIndex,g=Math.min(this.activeFloors.length-1,A-1);return e.debug("Navigation.getAdvanceToNextFloorIndex: currentIndex=",A,"prevFloorIndex",g),A===g?-1:g}},{key:"setAnimationListener",value:function(A){this.animationListener=A}},{key:"onComplete",value:function(A){this.onCompleteAnimation=A}}],[{key:"convertLinesToPath",value:function(A){for(var g="",I=0;I<A.length;I++){0===I&&(g+="M");var C=A[I];g+="".concat(C.x," ").concat(C.y," ")}return e.debug("Navigation.convertLinesToPath: PATH CALCULATED:"+g),g.trim()}}]),A}(),z=function(){var A=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},I=null,C=0,t=sA(A);if(e.debug("processLevels: filtered floors: ",t,A),0!==t.length){for(var n=0;n<t.length;n++){var i=t[n];if(e.currentLevel===i.id)return void e.debug("processLevels: -- ALREADY PROCESSED LEVELS --")}return e.$map.children(".svg-map-layer").remove(),t.forEach((function(A){e.debug("ADDING LEVEL..",A);var t=A.map.svg,n=g("<div/>",{class:"svg-map-layer "+(e.o.cssAnimation?"svg-map-layer-animated ":"")+X("svg-map-layer-",A.no),"data-floor":A.id,"data-building-id":A.building,"data-floor-number":A.no}).appendTo(e.$map),i=g("<div/>").addClass("svg-map-map-image").addClass(e.o.locale.language);i.appendTo(n),i.append(t),A.building&&A.building,C++,i.find("svg").attr({class:"svg-map-real-svg"}),e.o.rotate&&gA(i,e.o.rotate),A.svgReady=!0,g(e.o.selector,i).each((function(){e.debug("processLevels: LOCATION ID="+g(this).attr("id"));var A=iA(g(this).attr("id"));if(A){if(e.debug("LOCATION FOUND"),"not-empty"===A.action?H(g(this),"svg-map-not-clickable"):H(g(this),"svg-map-clickable"),A.category){var I=nA(A.category);I&&(e.debug("processLevels: add color=".concat(I)),g(this).css({fill:"#".concat(I)}))}if(A.$el=g(this),A.pin){var C=100*hA(A),t=100*dA(A),i=g("<a/>",{href:"#",class:"svg-map-pin"}).css({top:C+"%",left:t+"%"}).appendTo(n);o.isString(A.pin)&&A.pin.indexOf("pin-image")>-1&&A.thumbnail&&i.addClass("pin-image").css("background-image","url("+A.thumbnail+")"),i.on("click touchend",(function(g){g.preventDefault(),e.dragging||e.showLocation(A.id,1.2*v,!0,!0)}))}}})),e.o.servicesEnabled&&g(e.o.serviceSelector,i).each((function(){e.debug("processLevels: SERVICE LOCATION ID="+g(this).attr("id"));var A=aA(g(this).attr("id"));if(A){H(this,"svg-map-clickable"),A.$el=g(this);A.$el[0]}})),g(e.o.rectSelector,i).each((function(){var A=g(this).attr("id");if(A){var I=new RegExp(/(.+)-rect/i),C=A.match(I);if(C||(I=new RegExp(/rect_(.+)/i),C=A.match(I))){var t=C[1],n=iA(t);n&&(e.debug("processLevels: ADDING RECT TO LOCATION="+n.id),n.$rect=g(this))}}})),e.o.landmark||(g(e.o.selector,i).on("click touchend",(function(){e.debug("processLevels: CLICKED, DRAGGING="+e.dragging),e.dragging||e.showLocation(g(this).attr("id"),1.2*v,!0,!0)})),e.o.servicesEnabled&&g(e.o.serviceSelector,i).on("click touchend",(function(){e.debug("CLICKED SERVICE, DRAGGING: "+e.dragging),e.dragging||e.showLocation(g(this).attr("id"),1.2*v)}))),e.$el.trigger("levelReady",[A.id,A.no,A.isOutdoor]),!0===A.isInitial&&(I=A)})),I||(I=t[0]),zA(I),t.forEach((function(A){e.resetLevel(A.id)})),e.$el.trigger("levelsReady",[t,I.id,I.isOutdoor]),{levelsLoaded:C,shownLevelId:I.id}}e.debug("levels not found")},P=function(I){e.data=I,e.o.maxScale=parseFloat(e.o.zoomLimit)||e.o.maxScale,e.debug("processData: OPTIONS:",e.o),e.$container=g("<div/>").addClass("svg-map-container").appendTo(e.$el),e.$map=g("<div/>").addClass("svg-map-map").appendTo(e.$container),e.o.stackMode.enabled&&e.$map.addClass("stack-mode-on"),e.o.zoom&&e.$map.addClass("svg-map-zoomable"),e.$levelSelect=g("<select/>").addClass("svg-map-levels-select"),90===e.o.rotate||270===e.o.rotate?(e.debug("processContentSizes: ROTATE="+e.o.rotate),e.data.levels.forEach((function(A){e.debug("processContentSizes: PROCESS LEVEL 1 = ",A);var g=parseFloat(A.map.width),I=parseFloat(A.map.height),C=Math.max(g,I);e.debug("processContentSizes: DIMENSION=",C),e.contentWidth[A.id]=C,e.contentHeight[A.id]=C,e.offsetDueToRotation[A.id]=C-Math.min(g,I),e.debug("processContentSizes: OFFSET DUE TO ROTATION="+D()),e.offsetCoefficient[A.id]=g>I?{90:{x:1,y:0},270:{x:1,y:0}}:{90:{x:0,y:1},270:{x:0,y:1}}}))):(e.debug("processContentSizes: NO ROTATE OR 180"),e.data.levels.forEach((function(A){e.debug("processContentSizes: PROCESS LEVEL 2=",A),e.contentWidth[A.id]=parseFloat(A.map.width),e.contentHeight[A.id]=parseFloat(A.map.height)}))),e.debug("processContentSizes: done!"),e.$container.css("width","100%"),R(),e.callbackMapReady=function(A){if(e.$el.removeClass("svg-map-loading"),e.o.landmark&&e.data.landmark.id){var g=o.isUndefined(I.landmark.duration)?1.2:I.landmark.duration;e.showLocation(e.data.landmark.id,g*v,!0,e.data.landmark.zoom)}else $(.5,.5,1,0),e.o.stackMode.enabled&&e.stackMode();j((function(A){A?e.debug(A):e.debug("processData: NODES ADDED")})),setTimeout((function(){E((function(A){A&&e.debug(A),e.debug("processData: RECTS ADDED"),e.$el.trigger("mapReady"),e.callbackMapReady=null,e.debug("processData: MAP READY")}))}),10)},e.o.tooltip.enabled&&(e.tooltip=new l,e.tooltip.init()),e.userPinTooltip=new h,e.o.hoverTip&&(e.hoverTip=new f,e.hoverTip.init()),e.o.developer&&(e.devTools=new d,e.devTools.init()),e.navigation=new y;var C=e.isMultiBuilding()?{isOutdoor:!0}:{},t=z(C);A.nextTick((function(){e.callbackMapReady(t&&t.shownLevelId)})),g(window).resize((function(){e.$container.height("100%"),R(),M(U(Z())),e.x=V(e.x),e.y=B(e.y),_(e.x,e.y,Z(),.1*v)})).resize()};function R(){e.data.levels.forEach((function(A){return g=A.id,I=e.$container.width()/x(g),C=e.$container.height()/w(g),void(e.o.mapFill?T(I>C?I:C,g):T(I<C?I:C,g));var g,I,C}))}var x=function(A){return A?e.contentWidth[A]:e.currentLevel?e.contentWidth[e.currentLevel]:e.contentWidth[e.data.levels[0].id]},w=function(A){return A?e.contentHeight[A]:e.currentLevel?e.contentHeight[e.currentLevel]:e.contentHeight[e.data.levels[0].id]},M=function(A,g){return g?e.scale[g]=A:e.currentLevel?e.scale[e.currentLevel]=A:e.scale[e.data.levels[0].id]=A},Z=function(A){return A?e.scale[A]:e.currentLevel?e.scale[e.currentLevel]:e.scale[e.data.levels[0].id]},D=function(A){return A?e.offsetDueToRotation[A]:e.currentLevel?e.offsetDueToRotation[e.currentLevel]:e.offsetDueToRotation[e.data.levels[0].id]},T=function(A,g){return e.debug("setFitScale: SETTING FIT SCALE AS=",A,g),g?e.fitscale[g]=A:e.currentLevel?e.fitscale[e.currentLevel]=A:(e.debug("setFitScale: OF LEVEL (not current)=",e.data.levels[0].id),e.fitscale[e.data.levels[0].id]=A)},O=function(A){return A?e.fitscale[A]:e.currentLevel?e.fitscale[e.currentLevel]:e.fitscale[e.data.levels[0].id]};var j=function(A){if(e.o.beaconMode){var g=!0,I=!1,C=void 0;try{for(var t,n=e.data.levels[Symbol.iterator]();!(g=(t=n.next()).done);g=!0){var i=t.value;if(i.beacons){var r=uA(i.id),a=!0,o=!1,s=void 0;try{for(var l,c=i.beacons[Symbol.iterator]();!(a=(l=c.next()).done);a=!0){var u=l.value;N(u,r)}}catch(A){o=!0,s=A}finally{try{a||null==c.return||c.return()}finally{if(o)throw s}}}}}catch(A){I=!0,C=A}finally{try{g||null==n.return||n.return()}finally{if(I)throw C}}e.debug("addBeaconNodes: ALL BEACON NODES ADDED TO SVG"),A&&A()}},N=function(A,I){var C=g("<a/>",{href:"#",class:"svg-map-pin circular ".concat(A.leader?"pin-md red":"pin-xs black"," pin-pulse"),"data-title":A.name,"data-toggle":"tooltip"});C.on("click touchend",(function(g){g.preventDefault(),e.$el.trigger("beaconClicked",RA(A))})).appendTo(I);var t=bA(A.x,A.y),n=t.x/x()*100,i=t.y/w()*100;C.css({top:i+"%",left:n+"%"})},E=function(A){if(!e.o.textOnRect.enabled)return A();var g={horizontal:{x:0,y:2*e.o.textOnRect.maxFontSize/48},vertical:{x:0,y:2*e.o.textOnRect.maxFontSize/48}},I=!0,C=!1,t=void 0;try{for(var n,i=e.data.levels[Symbol.iterator]();!(I=(n=i.next()).done);I=!0){var r=n.value,a=vA(r.id),o=!0,s=!1,l=void 0;try{for(var c,u=r.locations[Symbol.iterator]();!(o=(c=u.next()).done);o=!0){var v=c.value;v.$rect&&G(v,a,g)}}catch(A){s=!0,l=A}finally{try{o||null==u.return||u.return()}finally{if(s)throw l}}}}catch(A){C=!0,t=A}finally{try{I||null==i.return||i.return()}finally{if(C)throw t}}return e.debug("addTextsInsideRects: ALL TEXTS ADDED TO SVG"),A()},G=function(A,I,C){var t=A.$rect[0]&&A.$rect[0].getBBox();if(t){e.debug("addTextIntoRect: ADDING TEXT:",fA(A));var n={x:t.x+t.width/2,y:t.y+t.height/2},i=e.o.textOnRect.maxFontSize,r=e.o.textOnRect.minFontSize,a=document.createElementNS("http://www.w3.org/2000/svg","text");a.setAttribute("x",n.x.toFixed(5)),a.setAttribute("y",n.y.toFixed(5)),a.setAttribute("font-family",e.o.textOnRect.fontFamily),a.setAttribute("alignment-baseline","middle"),a.setAttribute("text-anchor","middle"),a.setAttribute("class","text-hidden"),"dynamic"===e.o.textOnRect.mode?(a.setAttribute("rect-height",t.height),a.setAttribute("rect-width",t.width),a.setAttribute("font-size","".concat(e.o.textOnRect.fontSize/Z(),"px"))):a.setAttribute("font-size","".concat(i,"px")),g(a).html(fA(A)),g(e.o.noPointerGroupSelector,I).append(g(a)),"dynamic"===e.o.textOnRect.mode?(t.height>t.width?IA(a,e.o.rotate<180?270:90):IA(a,90===e.o.rotate||180===e.o.rotate?180:0),J(a,{height:t.height,width:t.width})):function(A,g,I,C){var i=g;if(t.width<t.height){for(;!r(A,t)&&(i=Math.max(i-2,I),A.setAttribute("font-size","".concat(i,"px")),i!==I););r(A,t)&&(k(A,"text-hidden"),H(A,"text-visible"),A.setAttribute("x","".concat(n.x+C.vertical.x)),A.setAttribute("y","".concat(n.y+C.vertical.y)),IA(A,e.o.rotate<180?270:90))}else{for(;!a(A,t)&&(i=Math.max(i-2,I),A.setAttribute("font-size","".concat(i,"px")),i!==I););a(A,t)&&(k(A,"text-hidden"),H(A,"text-visible"),A.setAttribute("x","".concat(n.x+C.horizontal.x)),A.setAttribute("y","".concat(n.y+C.horizontal.y)),IA(A,90===e.o.rotate||180===e.o.rotate?180:0))}function r(A,g){return!(A.getBBox().width>g.height||A.getBBox().height>g.width)}function a(A,g){return!(A.getBBox().width>g.width||A.getBBox().height>g.height)}}(a,i,r,C)}},X=function(A,g){return"".concat(A).concat(.5===g?"0-5":g)},H=function(A,g){var I=W(A);function C(A){A.classList?A.classList.add(g):Y(A,g)||A.setAttribute("class","".concat(A.getAttribute("class")," ").concat(g))}I&&(Array.isArray(I)?I.forEach((function(A){C(A)})):C(I))},k=function(A,g){var I=W(A);function C(A){A.classList?A.classList.remove(g):Y(A,g)&&A.setAttribute("class",A.getAttribute("class")?A.getAttribute("class").replace(g," "):g)}I&&(Array.isArray(I)?I.forEach((function(A){C(A)})):C(I))},Y=function(A,g){var I=W(A);return!!I&&(I.classList?I.classList.contains(g):I.getAttribute("class")&&I.getAttribute("class").indexOf(g)>-1)},W=function(A){return A?A.jquery?o.times(A.length,(function(g){return A[g]})):A:null},L=function(A){k(g(".svg-map-navigation-start",A),"svg-map-navigation-start"),k(g(".svg-map-navigation-end",A),"svg-map-navigation-end"),k(g(".svg-map-active",A),"svg-map-active")},S=function(A){A&&H(A,"svg-map-active")},F=function(A){A&&(Y(A,"svg-map-active")?k(A,"svg-map-active"):H(A,"svg-map-active"))},V=function(A){var g=e.$container.width()-x()*Z();return g<0?A>0?A=0:A<g&&(A=g):A=g/2,e.debug("normalizeX: X=".concat(A," | MIN X=").concat(g," | NORMALIZED X=").concat(A)),A},B=function(A){var g=e.$container.height()-x()*Z();return g<0?A>=0?A=0:A<g&&(A=g):A=g/2,e.debug("normalizeY: Y=".concat(A," | MIN Y=").concat(g," | NORMALIZED Y=").concat(A)),A},U=function(A){return A<O()?A=O():A>e.o.maxScale&&(A=e.o.maxScale),A},J=function(A,g){A.setAttribute("font-size","".concat(e.o.textOnRect.fontSize/Z(),"px")),A.getBBox().width>g.width?A.getBBox().width>g.height||A.getBBox().height>g.width?(k(A,"text-visible"),H(A,"text-hidden")):(k(A,"text-hidden"),H(A,"text-visible")):A.getBBox().width>g.width||A.getBBox().height>g.height?(k(A,"text-visible"),H(A,"text-hidden")):(k(A,"text-hidden"),H(A,"text-visible"))},K=o.debounce((function(){var A=vA(e.currentLevel);(A=g(e.o.noPointerGroupSelector,A)).find("text").each((function(){var A=this.getAttribute("rect-width"),g=this.getAttribute("rect-height");A&&g&&J(this,{width:A,height:g})}))}),600),Q=function(){g(".svg-map-layer",e.$el).bind("mousewheel DOMMouseScroll",q)},q=function(A,g){A.preventDefault();var I=Z();M(U(I+I*g/5)),e.x=V(e.x-(A.pageX-e.$container.offset().left-e.x)*(Z()/I-1)),e.y=B(e.y-(A.pageY-e.$container.offset().top-e.y)*(Z()/I-1)),e.debug("mouseWheel: scale=".concat(I," | x=").concat(e.x," | y=").concat(e.y)),_(e.x,e.y,Z(),.2*v,"easeOutCubic")},_=function(A,g,I,C,t){e.stackModeActive||(e.debug("zoomTo: COORD: (".concat(A,",").concat(g,") SCALE: ").concat(I," DURATION: ").concat(C)),void 0!==I?(e.o.textOnRect.enabled&&"dynamic"===e.o.textOnRect.mode&&K(),e.$map.stop().animate({left:A,top:g,width:x()*I,height:w()*I},C,t,(function(){e.tooltip&&e.tooltip.position(),e.userPinTooltip&&e.userPinTooltip.position()}))):e.$map.css({left:A,top:g}),e.tooltip&&e.tooltip.position(),e.userPinTooltip&&e.userPinTooltip.position(),e.$el.trigger("positionChanged",{x:A,y:g}))},$=function(A,g,I,C,t,n,i){var r;e.debug("moveTo: RATIO: (".concat(A,",").concat(g,") SCALE: ").concat(I," DURATION: ").concat(C)),i?(e.debug("moveTo: CHANGING FLOOR ID SUPPLIED ".concat(i)),r=pA(i)):r=pA(e.currentLevel),e.debug("moveTo: INITAL SCALE FACTOR: ".concat(r)),C=void 0!==C?C:.4*v,n=void 0!==n?n:.5,I=void 0!==I?Math.min(I*r,e.o.maxScale):Z()/O(),M(U(O()*I)),e.x=V(.5*e.$container.width()-Z()*x()*A),e.y=B(e.$container.height()*n-Z()*w()*g),e.debug("moveTo: CONTAINER: (".concat(e.$container.width(),", ").concat(e.$container.height(),") | CONTENT: (").concat(x(),", ").concat(w(),") | RY: ").concat(n," FITSCALE: ").concat(O()," SCALE: ").concat(I," | COORD: (").concat(e.x,",").concat(e.y,") SCALE: ").concat(Z()," DURATION: ").concat(C)),_(e.x,e.y,Z(),C,t)},AA=function(A){gA(e.$map,A)},gA=function(A,g){var I=arguments.length>2&&void 0!==arguments[2]&&arguments[2],C=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,t={rotation:g};I&&(t.transformOrigin="center center"),C&&(t.onComplete=C),a.c.set(A,t)},IA=function(A,g,I){gA(A,g,!0,I)},CA=function(A){var g={x:dA(A)*x(),y:hA(A)*w()};e.setCurrentLocation(g.x,g.y,e.userPinTooltip.getUserLocationFloorNumber())},tA=function(){e.userPinTooltip&&e.userPinTooltip.show(),e.user&&e.user.show()},eA=function(A){var g=!0,I=!1,C=void 0;try{for(var t,n=e.data.levels[Symbol.iterator]();!(g=(t=n.next()).done);g=!0){var i=t.value;if(o.find(i.locations,{id:A}))return i}}catch(A){I=!0,C=A}finally{try{g||null==n.return||n.return()}finally{if(I)throw C}}return null},nA=function(A){if(!A)return null;var g=o.find(e.data.categories,{slug:A});return g&&g.color},iA=function(A,g){if(!A)return null;var I,C={id:A};g&&(C.type=g),e.debug("findLocationData: query=",C);var t=!0,n=!1,i=void 0;try{for(var r,a=e.data.levels[Symbol.iterator]();!(t=(r=a.next()).done);t=!0){var s=r.value;if(I=o.find(s.locations,C))break}}catch(A){n=!0,i=A}finally{try{t||null==a.return||a.return()}finally{if(n)throw i}}return I},rA=function(A){return"picker"===e.o.mode?iA(A):iA(A,"store")},aA=function(A){return"picker"===e.o.mode?iA(A):iA(A,"service")||iA(A,"kiosk")},oA=function(){var A=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return o.find(e.data.levels,A)},sA=function(){var A=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return o.filter(e.data.levels,A,[])},lA=function(A){return oA({id:A})},cA=function(A){var g=e.$map.children(".svg-map-layer").attr("data-building-id"),I={no:A};return g&&(I.building=g),oA(I)},uA=function(A){return g('.svg-map-layer[data-floor="'+A+'"]',e.$el)},vA=function(A){return uA(A).find("svg")},pA=function(A){var g=lA(A);return o.get(g,"initialScaleFactor",e.o.initialScaleFactor)},fA=function(A){var g=A.title;if(Array.isArray(g)){var I=A.join||" / ";1===I.length&&(I=" ".concat(I," ")),g=g.join(I)}return function(A){return A}(g)},dA=function(A){return A.x&&A.y||yA(A),A.x},hA=function(A){return A.x&&A.y||yA(A),A.y},mA=function(A){var g=Number.MAX_VALUE,I=Number.MIN_VALUE,C=Number.MAX_VALUE,t=Number.MIN_VALUE,e=!0,n=!1,i=void 0;try{for(var r,a=A[Symbol.iterator]();!(e=(r=a.next()).done);e=!0){var o=r.value;g=Math.min(g,dA(o)),I=Math.max(I,dA(o)),C=Math.min(C,hA(o)),t=Math.max(t,hA(o))}}catch(A){n=!0,i=A}finally{try{e||null==a.return||a.return()}finally{if(n)throw i}}return{x:(g+I)/2,y:(C+t)/2}},bA=function(A,g){var I,C={x:A,y:g},t=x(),n=w(),i=I?e.offsetCoefficient[I]:e.currentLevel?e.offsetCoefficient[e.currentLevel]:e.offsetCoefficient[e.data.levels[0].id],r=D();return 90===e.o.rotate?(C.x=t-C.y-i[90].x*r/2,C.y=C.x+i[90].y*r/2):270===e.o.rotate?(C.x=C.y+i[270].x*r/2,C.y=n-C.x-i[270].y*r/2):180===e.o.rotate&&(C.x=t-C.x,C.y=n-C.y),C},yA=function(A){if((!A.x||!A.y)&&A.$el&&A.$el[0]){if(A.$rect&&A.$rect[0]){var g=A.$rect[0];if(g){var I=g.getBBox();if(I){var C={x:I.x+I.width/2,y:I.y+I.height/2};C=bA(C.x,C.y),A.x=C.x/x(),A.y=C.y/w()}return}}var t=A.$el[0];if(t){var e=t.getBBox();if(e){var n={x:e.x+e.width/2,y:e.y+e.height/2};n=bA(n.x,n.y),A.x=n.x/x(),A.y=n.y/w()}}}},zA=function(A,I,C){if(C&&e.hideLocation(),A){A.building&&!function(A){var g=e.$map.children(".svg-map-layer").attr("data-building-id");return A.building===g}(A)&&z({building:A.building});var t=lA(A.id);if(t){var n=uA(A.id);if(e.currentLevel!==A.id)if(e.o.cssAnimation||!n.hasClass("layer-visible")){if(e.debug("switchLevel: FLOOR CURRENT:".concat(e.currentLevelNumber,", SWITCH TO:").concat(t.no)),I&&$(.5,.5,1,0,void 0,void 0,A.id),e.tooltip&&e.tooltip.hide(),e.o.rotate&&(e.o.rotateServices&&g(e.o.serviceSelector,n).each((function(){IA(this,360-e.o.rotate)})),g(e.o.rotatable90PathSelector,n).each((function(){IA(this,360-e.o.rotate)})),180===e.o.rotate&&g(e.o.rotatable180PathSelector,n).each((function(){IA(this,360-e.o.rotate)})),270===e.o.rotate?g(e.o.rotatable270TextSelector,n).each((function(){IA(this,180)})):180===e.o.rotate&&g(e.o.rotatable180TextSelector,n).each((function(){IA(this,180)}))),e.o.stackMode.enabled){var i=!0,r=!1,a=void 0;try{for(var o,l=e.data.levels[Symbol.iterator]();!(i=(o=l.next()).done);i=!0){var c=o.value,u=uA(c.id);c.no<t.no?u.removeClass("svg-map-layer-down").addClass("svg-map-layer-up"):c.no>t.no?u.removeClass("svg-map-layer-up").addClass("svg-map-layer-down"):(u.removeClass("svg-map-layer-up").removeClass("svg-map-layer-down"),e.$map.addClass("stack-mode-off").removeClass("stack-mode-on"))}}catch(A){r=!0,a=A}finally{try{i||null==l.return||l.return()}finally{if(r)throw a}}e.navigation.animationStarted()&&e.navigation.removeEscalatorAnimation(),e.stackModeActive=!1}if(e.currentLevel=A.id,e.currentLevelNumber=t.no,e.o.cssAnimation){var p=!0,f=!1,d=void 0;try{for(var h,m=e.data.levels[Symbol.iterator]();!(p=(h=m.next()).done);p=!0){var b=h.value,y=uA(b.id);e.$map.removeClass(X("map--selected-",b.no)),y.removeClass("active").removeClass("hidden")}}catch(A){f=!0,d=A}finally{try{p||null==m.return||m.return()}finally{if(f)throw d}}var P=uA(e.currentLevel);e.$map.addClass(X("map--selected-",t.no)),P.addClass("active")}else g(".svg-map-layer.layer-visible",e.$map).removeClass("layer-visible"),n.addClass("layer-visible");tA(),e.debug("switchLevel: SWITCHED LEVEL"),function(){var A=e.$map,I=g(".svg-map-map-image",e.$map);if(!e.o.landmark){if(document.ondragstart=function(){return!1},e.o.draggable&&I.on("mousedown",(function(I){e.dragging=!1,A.stop(),A.data("mouseX",I.pageX),A.data("mouseY",I.pageY),A.data("lastX",e.x),A.data("lastY",e.y),A.addClass("svg-map-dragging"),e.$map.on("mousemove",(function(g){if(Math.abs(g.pageX-A.data("mouseX"))>1){e.dragging=!0;var I=g.pageX-A.data("mouseX")+e.x,C=g.pageY-A.data("mouseY")+e.y;I=V(I),C=B(C),_(I,C),A.data("lastX",I),A.data("lastY",C)}else e.debug("addControls: NOT ENOUGH MOVED, MAYBE IT WAS CLICK")})),g(document).on("mouseup",(function(){e.x=A.data("lastX"),e.y=A.data("lastY"),e.$map.off("mousemove"),g(document).off("mouseup"),A.removeClass("svg-map-dragging")}))})),e.$el.on("dblclick",".svg-map-map-image",(function(A){A.preventDefault(),e.debug("addControls: DOUBLE CLICK");var g=Z();g===e.o.maxScale?M(U(O())):M(U(2*g)),e.x=V(e.x-(A.pageX-e.$container.offset().left-e.x)*(Z()/g-1)),e.y=B(e.y-(A.pageY-e.$container.offset().top-e.y)*(Z()/g-1)),_(e.x,e.y,Z(),.4*v,"easeInOutCubic")})),e.o.mouseWheel&&Q(),!("ontouchstart"in window||"onmsgesturechange"in window))return!0;I.on("touchstart",(function(g){e.dragging=!1;var C=g.originalEvent,t=A.position();A.data("touchY",C.changedTouches[0].pageY-t.top),A.data("touchX",C.changedTouches[0].pageX-t.left),I.on("touchmove",(function(g){g.preventDefault(),e.dragging=!0;var C=g.originalEvent;1===C.touches.length?(e.x=V(C.changedTouches[0].pageX-A.data("touchX")),e.y=B(C.changedTouches[0].pageY-A.data("touchY")),_(e.x,e.y,Z(),50)):I.off("touchmove")})),I.on("touchend",(function(){I.off("touchmove touchend")}))}));var C=new s(e.$map[0],{transform_always_block:!0,drag_block_horizontal:!0,drag_block_vertical:!0});C.get("pinch").set({enable:!0}),e.rotating=!1;var t,n=1;if(C.on("pinchstart",(function(){e.debug("addControls: PINCH START"),e.dragging=!1,n=Z()/O(),t=n})),C.on("pinch",(function(A){e.dragging=!0,1!==A.scale&&(n=Math.max(1,Math.min(t*A.scale,100)));var g=Z();M(U(n*O())),e.x=V(e.x-(A.center.x-e.$container.offset().left-e.x)*(Z()/g-1)),e.y=B(e.y-(A.center.y-e.y)*(Z()/g-1)),_(e.x,e.y,Z(),0)})),e.o.rotatable){C.get("rotate").set({enable:!0});var i,r=0;C.on("rotatestart rotatemove rotateend",(function(A){switch(A.type){case"rotatestart":r=A.rotation;break;case"rotatemove":e.debug("addControls: ROTATE MOVE"),i=r-A.rotation,AA(e.rotation-i);break;case"rotateend":e.rotation=e.rotation-i}}))}}}(),e.resetLevel(A.id),e.$el.trigger("levelSwitched",[t.id,t.no,t.isOutdoor])}else e.debug("switchLevel: ** ALREADY SWITCHED **");else e.debug("switchLevel: -- ALREADY SWITCHED --")}}};e.stackMode=function(){var A=arguments.length>0&&void 0!==arguments[0]&&arguments[0],g=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(e.o.stackMode.enabled)if(e.stackModeActive)e.error("stack mode zaten aktif");else{e.tooltip&&e.tooltip.hide(),$(.5,.5,1,0,void 0,void 0),e.stackModeActive=!0,e.navigation.animationStarted()&&e.navigation.addEscalatorAnimation();var I=o.sortBy(e.data.levels,(function(A){return A.no}));o.each(I,(function(I,C){var t=uA(I.id);t.removeClass("hidden").removeClass("active"),e.$map.removeClass(X("map--selected-",I.no)),t.data("value",I.no),t.css("transform","translateZ(".concat(C*e.o.stackMode.offset,"vmin)")),t.removeClass("svg-map-layer-up").removeClass("svg-map-layer-down").removeClass("layer-visible"),t.one("click",(function(A){A.preventDefault(),e.debug("stackMode: $svgLayer.click=",I),e.switchLevelToNumber(I.no,!0,!1,g,!1)})),A&&I.id!==A&&I.id!==e.currentLevel&&t.addClass("hidden")})),e.currentLevel=void 0,e.currentLevelNumber=void 0,e.$map.addClass("stack-mode-on").removeClass("stack-mode-off"),A&&setTimeout((function(){var I=lA(A);e.switchLevelToNumber(I.no,!1,!1,g,!1)}),e.o.stackMode.switchFloorTime)}else e.error("Please first activate stackMode in order to use it")};var PA=function(A){return o.omit(A,["$el","$rect","x","y"])},RA=function(A){return o.omit(A,["x","y"])};e.zoomIn=function(){var A=Z();M(U(A+.8*A)),e.x=V(e.x-(e.$container.width()/2-e.x)*(Z()/A-1)),e.y=B(e.y-(e.$container.height()/2-e.y)*(Z()/A-1)),_(e.x,e.y,Z(),.4*v,"easeInOutCubic")},e.zoomOut=function(){var A=Z();M(U(A-.4*A)),e.x=V(e.x-(e.$container.width()/2-e.x)*(Z()/A-1)),e.y=B(e.y-(e.$container.height()/2-e.y)*(Z()/A-1)),_(e.x,e.y,Z(),.4*v,"easeInOutCubic")},e.resetLevel=function(){AA(0),e.hideLocation(),$(.5,.5,1,.4*v,"easeInOutCubic")},e.switchLevelToNumber=function(A,g,I){var C=arguments.length>3&&void 0!==arguments[3]&&arguments[3],t=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],n=cA(A);n&&(e.navigation.setAutoMode(C),t&&e.navigation.started||zA(n,g,I),e.navigation.animationStarted()&&e.navigation.showOnLevelByLevelNo(n.no,t))},e.switchLevelToId=function(A,g,I){var C=arguments.length>3&&void 0!==arguments[3]&&arguments[3],t=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],n=lA(A);n&&(e.navigation.setAutoMode(C),t&&e.navigation.started||zA(n,g,I),e.navigation.animationStarted()&&e.navigation.showOnLevelByLevelNo(n.no,t))},e.highlightLocation=function(A,g,I){e.debug("highlightLocation: HIGHLIGHT LOCATION? "+A);var C=iA(A);if(C){var t=eA(C.id);if(t){if(zA(t),g){var n=C.zoom?parseFloat(C.zoom):e.o.maxScale;$(dA(C),hA(C),n,I,"easeInOutCubic")}L(e.$el),S(C.$el),e.$el.trigger("locationHighlighted",PA(C))}}},e.showLocation=function(A,g){var I=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],C=arguments.length>3&&void 0!==arguments[3]&&arguments[3];e.debug("showLocation: id="+A);var t=iA(A);if(t)if("kiosk"!==t.type){var n=eA(t.id);if(n){I&&(e.debug("showLocation: close navigation"),e.closeNavigation());var i=t.action&&"default"!==t.action?t.action:e.o.action,r=(e.data.landmark||{}).zoom;if(e.o.landmark&&o.isBoolean(r)&&!r&&(e.debug("showLocation: ZOOM NOT ENABLED FOR LANDMARK"),i="tooltip",e.o.zoomToSelected=!1),"select"===i)F(t.$el);else if("zoom"===i){zA(n,C);var a=t.zoom?parseFloat(t.zoom):e.o.maxScale;C&&$(dA(t),hA(t),a,g,"easeInOutCubic")}else if("pin"===i)zA(n),e.tooltip&&e.tooltip.show(t,g);else if("tooltip"===i)zA(n),e.tooltip&&e.tooltip.show(t,g);else if("not-empty"===i)return e.debug("showLocation: location not empty case"),void(e.o.locationCannotBeSelected&&e.o.locationCannotBeSelected(t.id));L(e.$el),S(t.$el),e.$el.trigger("locationOpened",PA(t))}else e.error("showLocation: level not found")}else e.error("showServiceLocation: kiosk service cannot be selected");else e.error("showLocation: ".concat(A," not found"))},e.highlightServiceLocation=function(A,g,I){e.error("highlightServiceLocation deprecated. use map.highlightLocation(...)")},e.showServiceLocation=function(A,g){!(arguments.length>2&&void 0!==arguments[2])||arguments[2];e.error("showServiceLocation deprecated. use map.showLocation(...)")},e.highlightLocations=function(A,g,I){var C;if(e.debug("highlightLocations: "+A),(C=Array.isArray(A)?A:[A]).length<=1)e.highlightLocation(C[0],g,I);else{var t=o.filter(o.map(C,(function(A){return rA(A)})));if(t.length){var n=t[0],i=eA(n.id);if(i){if(zA(i),g){var r=n.zoom?parseFloat(n.zoom):e.o.maxScale,a=mA(t);$(a.x,a.y,r,I,"easeInOutCubic")}L(e.$el);var s=!0,l=!1,c=void 0;try{for(var u,v=t[Symbol.iterator]();!(s=(u=v.next()).done);s=!0){var p=u.value;S(p.$el)}}catch(A){l=!0,c=A}finally{try{s||null==v.return||v.return()}finally{if(l)throw c}}e.$el.trigger("locationsHighlighted")}}}},e.showServiceLocations=function(A){e.error("showServiceLocations deprecated. use map.showLocation(...)")},e.highlightServiceLocations=function(A,g,I){var C;if(e.debug("highlightServiceLocations: HIGHLIGHT SERVICE LOCATIONS? "+A),(C=Array.isArray(A)?A:[A]).length<=1)e.highlightServiceLocation(C[0],g,I);else{var t=o.filter(o.map(C,(function(A){return aA(A)})));if(t.length){var n=t[0],i=eA(n.id);if(i){if(zA(i),g){var r=n.zoom?parseFloat(n.zoom):e.o.maxScale,a=mA(t);$(a.x,a.y,r,I,"easeInOutCubic")}L(e.$el);var s=!0,l=!1,c=void 0;try{for(var u,v=t[Symbol.iterator]();!(s=(u=v.next()).done);s=!0){var p=u.value;S(p.$el)}}catch(A){l=!0,c=A}finally{try{s||null==v.return||v.return()}finally{if(l)throw c}}e.$el.trigger("serviceLocationsHighlighted")}}}},e.hideLocation=function(){e.debug("hideLocation: HIDE LOCATION INSIDE:",e.$el),L(e.$el),e.tooltip&&e.tooltip.hide(),e.$el.trigger("locationClosed")},e.setCurrentLocationFromBlock=function(A){var g=iA(A);if(g){var I=eA(A),C=lA(e.currentLevel);e.userPinTooltip.addUserLocation(g,I.no),C&&C.no===e.userPinTooltip.getUserLocationFloorNumber()?(e.debug("set current location"),CA(g)):e.debug("setCurrentLocationFromBlock: wait for patch..")}else e.debug("setCurrentLocationFromBlock: location not found")},e.setCurrentLocation=function(A,g,I){var C;C=o.isNumber(I)?cA(I):lA(e.currentLevel),e.userPinTooltip.addUserLocationPoint(A,g,C.no),lA(e.currentLevel).no===e.userPinTooltip.getUserLocationFloorNumber()&&tA()},e.updateLocalized=function(A){var g=A.youAreHereText,I=A.navigationText,C=A.closeText,t=A.detailText,n=A.enterBuildingText,i=A.floorText;g&&e.userPinTooltip.updateLocalized(g),(I||C||t||n||i)&&e.tooltip.updateLocalized({navigationText:I,closeText:C,detailText:t,enterBuildingText:n,floorText:i})},e.changeNavigationPins=function(A){var g=A.startPin,I=A.endPin;e.navigation&&(e.debug("changeNavigationPins: WILL TRY changing navigation pins.."),g&&e.navigation.changeStartPinImg(g),I&&e.navigation.changeEndPinImg(I))},e.resetNavigationPins=function(){e.navigation&&(e.navigation.resetStartPinImg(),e.navigation.resetEndPinImg())},e.resetCurrentLocation=function(){e.userPinTooltip.resetUserLocation()},e.setCurrentMobileUserLocation=function(A,g,I){var C;C=o.isNumber(I)?cA(I):lA(e.currentLevel),e.user?e.user.resetUserLocation():e.user=new m,e.user.init(A,g,C.no),e.user.show()},e.showCurrentMobileUserLocation=function(){if(e.user){var A=e.user.getUserLocationFloorNumber();e.switchLevelToNumber(A),e.user.zoom()}},e.moveCurrentMobileUserLocation=function(A,g){if(e.user){var I;I=o.isNumber(g)?cA(g):lA(e.currentLevel);try{return e.user.changeUserLocationPoint(A,I.no),!0}catch(A){return e.error(A),!1}}},e.resetCurrentMobileUserLocation=function(){e.user&&e.user.resetUserLocation()},e.listenToAnimate=function(A){e.navigation.setAnimationListener(A)},e.showNavigation=function(A){var g=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],I=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],C=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];try{return e.navigation.init(A),e.navigation.show(g,I,C),!0}catch(A){return e.error(A),!1}},e.showNavigationWithMultiple=function(A){var g=arguments.length>1&&void 0!==arguments[1]&&arguments[1],I=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],C=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],t=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,n=arguments.length>5&&void 0!==arguments[5]&&arguments[5];if(!o.isArray(A))return!1;try{var i=o.cloneDeep(A[t]);if(!i)return!0;e.statics.multipleNavigation={navigationDetails:A,groupIndex:t},e.closeNavigation(!1,!1),e.navigation.onComplete((function(){e.navigation.canceled||e.showNavigationWithMultiple(A,g,I,C,t+1)}));var r=function(){setTimeout((function(){e.navigation.canceled||e.showNavigation(i.navigation,g,I,C,n)}),.6*v)},a="building"===i.type&&i.building;return a?(e.debug("enter location",a),e.resetCurrentMobileUserLocation(),e.enterBuilding(a,r)):e.exitBuilding(r),!0}catch(A){return e.error(A),!1}},e.startNavigation=function(A){var g=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],I=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],C=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];e.debug("startNavigation: navigationDetails=",A),e.statics.restartNavigationData={navigationDetails:A,autoMode:g,zoomEnabled:I,showPins:C};var t=e.isMultiBuilding();return t?e.showNavigationWithMultiple(A,g,I,C):e.showNavigation(A,g,I,C)},e.getNavigationDetails=function(){var A=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,g=e.statics.multipleNavigation,I=g.navigationDetails,C=g.groupIndex;return I&&I[C+A]},e.prevLevelId=function(){if(!e.navigation.canceled){var A=e.navigation.getFloorNo(-1);if(!o.isUndefined(A)){var g=cA(A);return g&&g.id}if(e.isMultiBuilding()){var I=e.getNavigationDetails(-1);if(e.debug("self.prevLevelId: prevDetails=",I),!I)return;var C={};if("outdoor"===I.type)C.isOutdoor=!0;else{var t=o.last(I.navigation.direction);C.building=I.building,C.no=t}var n=oA(C);return e.debug("self.prevLevelId: level=",n,"filter=",C),n&&n.id}}},e.hasPrevNavigate=function(){return!!e.prevLevelId()},e.prevNavigate=function(){var A=arguments.length>0&&void 0!==arguments[0]&&arguments[0],g=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],I=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!e.navigation.canceled){var C=e.navigation.isOnFirstNavigationFloor();C?e.prevBuildingNavigate(A,g,I):e.navigation.showOnPrev(A,g,I)}},e.prevBuildingId=function(){if(!e.navigation.canceled&&e.isMultiBuilding()){var A=e.getNavigationDetails(-1);return A&&("outdoor"===A.type?A.type:A.building)}},e.hasPrevBuildingNavigate=function(){return!!e.prevBuildingId()},e.prevBuildingNavigate=function(){var A=arguments.length>0&&void 0!==arguments[0]&&arguments[0],g=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],I=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!e.navigation.canceled){var C=e.statics.multipleNavigation,t=C.navigationDetails,n=C.groupIndex,i=n-1;t[i]&&e.showNavigationWithMultiple(t,A,g,I,i,!0)}},e.nextLevelId=function(){if(!e.navigation.canceled){var A=e.navigation.getFloorNo(1);if(!o.isUndefined(A)){var g=cA(A);return g&&g.id}if(e.isMultiBuilding()){var I=e.getNavigationDetails(1);if(e.debug("self.nextLevelId: nextDetails=",I),!I)return;var C={};if("outdoor"===I.type)C.isOutdoor=!0;else{var t=o.first(I.navigation.direction);C.building=I.building,C.no=t}var n=oA(C);return e.debug("self.nextLevelId: level=",n,"filter=",C),n&&n.id}}},e.hasNextNavigate=function(){return!!e.nextLevelId()},e.nextNavigate=function(){var A=arguments.length>0&&void 0!==arguments[0]&&arguments[0],g=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],I=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!e.navigation.canceled){var C=e.navigation.isOnLastNavigationFloor();C?e.nextBuildingNavigate(A,g,I):e.navigation.showOnNext(A,g,I)}},e.nextBuildingId=function(){if(e.navigation.canceled||!e.isMultiBuilding())return!1;var A=e.getNavigationDetails(1);return A&&("outdoor"===A.type?A.type:A.building)},e.hasNextBuildingNavigate=function(){return!!e.nextBuildingId()},e.nextBuildingNavigate=function(){var A=arguments.length>0&&void 0!==arguments[0]&&arguments[0],g=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],I=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!e.navigation.canceled){var C=e.statics.multipleNavigation,t=C.navigationDetails,n=C.groupIndex,i=n+1;t[i]&&e.showNavigationWithMultiple(t,A,g,I,i,!0)}},e.closeNavigation=function(){var A=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],g=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];C.navigation.removePathAnimations(),C.navigation.setAutoMode(!1),C.navigation.removeEscalatorAnimation(),C.navigation.activeFloor=null,C.navigation.canceled=g,A&&e.resetLevel(),g&&(e.statics.restartNavigationData=null,e.$el.trigger("navigationCancelled"))},e.restartNavigation=function(){var A=e.o.cssAnimation?e.o.cssAnimationTime:.1*v,g=e.statics.restartNavigationData||{},I=g.navigationDetails,C=g.autoMode,t=g.zoomEnabled,n=g.showPins;I?setTimeout((function(){e.closeNavigation(!0,!1),e.startNavigation(I,C,t,n)}),A):e.error("restartNavigation: restartNavigationData not found")},e.mto=function(A,g,I,C,t,e){$(A,g,I,C,t,e)},e.zto=function(A,g,I,C,t){_(A,g,I,C,t)},e.calculateSP=function(A,g){var I=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"auto",C=e.data,t=C.levels,n=C.nodes,i=C.paths;return Array.isArray(t)&&Array.isArray(n)&&Array.isArray(i)?c(A,g,{levels:t,nodes:n,paths:i},I):(e.error("Required levels, nodes or paths in data"),null)},e.calculateSP_v1=function(A,g){var I=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"auto";return e.calculateSP(A,g,I)},e.calculateSP_v2=function(A,g){var I=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"auto",C=e.data,t=C.nodes,n=C.paths;return Array.isArray(t)&&Array.isArray(n)?u(A,g,{nodes:t,paths:n},I):(e.error("Required nodes or paths in data"),null)},e.enterBuilding=function(A,g){A?setTimeout((function(){e.debug("enterBuilding: buildingId=",A),z({building:A}),g&&g()}),.3*v):e.debug("enterBuilding:buildingId required!")},e.exitBuilding=function(g){e.debug("exitBuilding: go to outdoor"),A.nextTick((function(){z({isOutdoor:!0}),g&&g()}))}};g.extend(g.easing,{def:"easeOutQuad",swing:function(A,I,C,t,e){return g.easing[g.easing.def](A,I,C,t,e)},easeOutQuad:function(A,g,I,C,t){return-C*(g/=t)*(g-2)+I},easeOutCubic:function(A,g,I,C,t){return C*((g=g/t-1)*g*g+1)+I},easeInOutCubic:function(A,g,I,C,t){return(g/=t/2)<1?C/2*g*g*g+I:C/2*((g-=2)*g*g+2)+I}}),g.fn.svgMap=function(A){return this.each((function(){var C=g(this);if(!C.data("svg-map")){var t=new I(C);o.get(A,"immediate",!0)?(console.log("immediate, call init"),t.init(A)):console.log("no immediate, wait for levels to be added"),C.data("svg-map",t)}}))}}}.call(this,I(/*! ./../node_modules/process/browser.js */8))},
|
|
162
162
|
/*!*****************************************!*\
|
|
163
163
|
!*** ./node_modules/process/browser.js ***!
|
|
164
164
|
\*****************************************/
|
|
@@ -187,7 +187,7 @@ C.e._gsDefine("easing.Back",["easing.Ease"],(function(){var A,g,I,t,e=C.e.GreenS
|
|
|
187
187
|
\******************************************************************/
|
|
188
188
|
/*! no static exports found */
|
|
189
189
|
/*! all exports used */
|
|
190
|
-
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(A,g,I){g=A.exports=I(/*! ../../node_modules/css-loader/dist/runtime/api.js */13)(!1);var C=I(/*! ../../node_modules/css-loader/dist/runtime/url-escape.js */14),t=C(I(/*! ../images/loader.gif */15)),e=C(I(/*! ../images/error-icon.png */16)),n=C(I(/*! ../images/openhand.png */17)),i=C(I(/*! ../images/closedhand.png */18)),r=C(I(/*! ../images/pin.png */19)),a=C(I(/*! ../images/pin-large.png */20)),o=C(I(/*! ../images/start-green-pin.png */21)),s=C(I(/*! ../images/end-red-pin.png */22)),l=C(I(/*! ../images/pin-orange.png */23)),c=C(I(/*! ../images/pin-yellow.png */24)),u=C(I(/*! ../images/pin-green.png */25)),v=C(I(/*! ../images/pin-blue.png */26)),p=C(I(/*! ../images/pin-purple.png */27)),f=C(I(/*! ../images/pin-orange-large.png */28)),d=C(I(/*! ../images/pin-yellow-large.png */29)),h=C(I(/*! ../images/pin-green-large.png */30)),m=C(I(/*! ../images/pin-blue-large.png */31)),b=C(I(/*! ../images/pin-purple-large.png */32)),y=C(I(/*! ../images/man.png */33)),z=C(I(/*! ../images/close.png */34)),P=C(I(/*! ../images/close@2x.png */35)),R=C(I(/*! ../images/pin@2x.png */36)),x=C(I(/*! ../images/pin-orange@2x.png */37)),w=C(I(/*! ../images/pin-yellow@2x.png */38)),M=C(I(/*! ../images/pin-green@2x.png */39)),Z=C(I(/*! ../images/pin-blue@2x.png */40)),D=C(I(/*! ../images/pin-purple@2x.png */41)),T=C(I(/*! ../images/pin-large@2x.png */42)),O=C(I(/*! ../images/pin-orange-large@2x.png */43)),j=C(I(/*! ../images/pin-yellow-large@2x.png */44)),N=C(I(/*! ../images/pin-green-large@2x.png */45)),E=C(I(/*! ../images/pin-blue-large@2x.png */46)),G=C(I(/*! ../images/pin-purple-large@2x.png */47)),X=C(I(/*! ../images/start-green-pin@2x.png */48)),H=C(I(/*! ../images/end-red-pin@2x.png */49)),k=C(I(/*! ../images/right-arrow-black.png */50)),Y=C(I(/*! ../images/right-arrow-fuchsia.png */51)),W=C(I(/*! ../images/right-arrow-dark-grey.png */52)),L=C(I(/*! ../images/foot-icon.png */53)),S=C(I(/*! ../images/foot-left.png */54)),F=C(I(/*! ../images/foot-right.png */55)),V=C(I(/*! ../images/down.gif */56)),U=C(I(/*! ../images/up.gif */57));g.push([A.i,"#svg-map a:hover, #svg-map a:focus, #svg-map a:active {\r\n text-decoration: none !important;\r\n color: #fff;\r\n}\r\n\r\n.menu-section {\r\n display: flex;\r\n height: 50px;\r\n align-items: center;\r\n justify-content: center;\r\n margin-bottom: 20px;\r\n}\r\n\r\n@keyframes navigation-line-animation {\r\n 0% {\r\n stroke: #2cc197;\r\n }\r\n 50% {\r\n stroke: #2cc197;\r\n }\r\n 100% {\r\n stroke: #2cc197;\r\n }\r\n}\r\n\r\n.svg-map-element {\r\n font-size: 0;\r\n height: 820px;\r\n}\r\n\r\n.svg-map-element input,\r\n.svg-map-element button {\r\n outline: none;\r\n}\r\n\r\n/* Preloader & Error */\r\n.svg-map-element.svg-map-loading {\r\n background: url("+t+") no-repeat center;\r\n}\r\n\r\n.svg-map-element.svg-map-error {\r\n background: url("+e+") no-repeat center;\r\n}\r\n\r\n.svg-map-element > * {\r\n opacity: 1;\r\n transition: opacity 0.6s;\r\n}\r\n\r\n.svg-map-element.svg-map-loading > * {\r\n opacity: 0;\r\n}\r\n\r\n/* Map container */\r\n.svg-map-container {\r\n display: inline-block;\r\n overflow: hidden;\r\n position: relative;\r\n width: 75%;\r\n height: 100%;\r\n -webkit-perspective: 3500px;\r\n perspective: 3500px;\r\n -webkit-perspective-origin: 0% 50%;\r\n perspective-origin: 0% 50%;\r\n -webkit-transition: -webkit-transform 0.8s;\r\n transition: transform 0.8s;\r\n -webkit-transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);\r\n transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);\r\n}\r\n\r\n:-webkit-full-screen .svg-map-container {\r\n width: 80%;\r\n}\r\n\r\n.svg-map-map {\r\n width: 100%;\r\n height: 100%;\r\n position: absolute;\r\n left: 0;\r\n top: 0;\r\n overflow: visible !important;\r\n}\r\n\r\n/* Map layer */\r\n.svg-map-layer img {\r\n width: 100%;\r\n}\r\n\r\n.svg-map-layer {\r\n width: 100%;\r\n height: 100%;\r\n position: absolute;\r\n opacity: 0;\r\n visibility: hidden;\r\n}\r\n\r\n.svg-map-layer.layer-visible {\r\n opacity: 1 !important;\r\n visibility: visible !important;\r\n}\r\n\r\n.svg-map-map .svg-map-map-image {\r\n position: absolute;\r\n width: 100%;\r\n height: 100%;\r\n -webkit-touch-callout: none;\r\n -webkit-user-select: none;\r\n -khtml-user-select: none;\r\n -moz-user-select: none;\r\n -ms-user-select: none;\r\n user-select: none;\r\n}\r\n\r\n.svg-map-map.svg-map-zoomable .svg-map-map-image {\r\n cursor: url("+n+"), default;\r\n}\r\n\r\n.svg-map-map.svg-map-zoomable.svg-map-dragging .svg-map-map-image {\r\n cursor: url("+i+'), move;\r\n}\r\n\r\n/* Pin types */\r\n.svg-map-pin {\r\n /*background-image: url("../images/pin.png");*/\r\n /*background-size: 18px 24px;*/\r\n /*background-repeat: no-repeat;*/\r\n /*background-position: center;*/\r\n background: transparent url('+r+") no-repeat center;\r\n background-size: cover !important;\r\n outline: none !important;\r\n width: 18px;\r\n height: 24px;\r\n margin-top: -23px;\r\n margin-left: -9px;\r\n position: absolute;\r\n font-size: 0;\r\n -webkit-transition: background-color 0.2s;\r\n -moz-transition: background-color 0.2s;\r\n transition: background-color 0.2s;\r\n z-index: 11;\r\n}\r\n\r\n.svg-map-pin.pin-classic {\r\n background-color: #f23543;\r\n background-image: none;\r\n border-color: #f23543;\r\n border-radius: 10px;\r\n line-height: 22px !important;\r\n width: 20px;\r\n height: 20px;\r\n margin-top: -20px;\r\n margin-left: -10px;\r\n transform-origin: 50% 100%;\r\n}\r\n\r\n.svg-map-pin.pin-classic:before {\r\n border-style: solid;\r\n border-width: 9px 8px 0 8px;\r\n border-color: inherit;\r\n border-right-color: transparent;\r\n border-bottom-color: transparent;\r\n border-left-color: transparent;\r\n content: '';\r\n display: block;\r\n position: absolute;\r\n top: 16px;\r\n left: 2px;\r\n}\r\n\r\n.svg-map-pin:before {\r\n box-sizing: content-box !important;\r\n}\r\n\r\n.svg-map-pin.iconpin {\r\n background-image: url("+a+");\r\n background-size: 30px 42px;\r\n color: #fff;\r\n font-size: 14px;\r\n font-weight: normal;\r\n line-height: 36px;\r\n text-align: center;\r\n width: 42px;\r\n height: 42px;\r\n margin-top: -42px;\r\n margin-left: -21px;\r\n}\r\n\r\n.svg-map-pin.pin-marker {\r\n background-color: #fdca2a;\r\n background-image: none;\r\n border-color: #fdca2a;\r\n border-radius: 8px;\r\n width: 16px;\r\n height: 16px;\r\n margin-top: -8px;\r\n margin-left: -8px;\r\n transform-origin: 50% 50%;\r\n}\r\n\r\n.svg-map-pin.pin-marker:before {\r\n border-color: inherit;\r\n border-style: solid;\r\n border-width: 6px;\r\n border-radius: 16px;\r\n content: '';\r\n display: block;\r\n opacity: 0.4;\r\n width: 16px;\r\n height: 16px;\r\n position: absolute;\r\n left: -6px;\r\n top: -6px;\r\n}\r\n\r\n.svg-map-pin.pin-dot {\r\n background-color: transparent !important;\r\n background-image: none;\r\n border-color: #29afa1;\r\n color: #333 !important;\r\n height: 16px;\r\n min-width: 10px;\r\n width: auto;\r\n padding: 0 3px;\r\n margin-left: 4px;\r\n margin-top: -8px;\r\n transform-origin: -4px 8px;\r\n}\r\n\r\n.svg-map-pin.pin-dot:before {\r\n border-color: inherit;\r\n border-style: solid;\r\n border-width: 3px;\r\n border-radius: 12px;\r\n content: '';\r\n display: block;\r\n width: 0px;\r\n height: 0px;\r\n position: absolute;\r\n top: 5px;\r\n left: -7px;\r\n}\r\n\r\n/* Image pin */\r\n.svg-map-pin.pin-image {\r\n background-size: 32px;\r\n border-radius: 50%;\r\n box-sizing: border-box;\r\n box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);\r\n border: 2px solid #fff;\r\n width: 32px;\r\n height: 32px;\r\n margin-top: -16px;\r\n margin-left: -16px;\r\n transform-origin: 50%;\r\n}\r\n\r\n.svg-map-pin.green-start {\r\n background-image: url("+o+");\r\n}\r\n\r\n.svg-map-pin.red-end {\r\n background-image: url("+s+");\r\n}\r\n\r\n.svg-map-pin.orange {\r\n background-image: url("+l+");\r\n}\r\n\r\n.svg-map-pin.yellow {\r\n background-image: url("+c+");\r\n}\r\n\r\n.svg-map-pin.green {\r\n background-image: url("+u+");\r\n}\r\n\r\n.svg-map-pin.blue {\r\n background-image: url("+v+");\r\n}\r\n\r\n.svg-map-pin.purple {\r\n background-image: url("+p+");\r\n}\r\n\r\n.svg-map-pin.iconpin.orange {\r\n background-image: url("+f+");\r\n}\r\n\r\n.svg-map-pin.iconpin.yellow {\r\n background-image: url("+d+");\r\n}\r\n\r\n.svg-map-pin.iconpin.green {\r\n background-image: url("+h+");\r\n}\r\n\r\n.svg-map-pin.iconpin.blue {\r\n background-image: url("+m+");\r\n}\r\n\r\n.svg-map-pin.iconpin.purple {\r\n background-image: url("+b+");\r\n}\r\n\r\n.svg-map-pin.iconpin.man {\r\n background-image: url("+y+");\r\n}\r\n\r\n.svg-map-pin.circular {\r\n background-image: none;\r\n background-color: #288a13;\r\n border-radius: 6px;\r\n width: 12px;\r\n height: 12px;\r\n margin-left: -6px;\r\n margin-top: -6px;\r\n}\r\n\r\n.svg-map-pin.circular.black {\r\n background-image: none;\r\n background-color: #000;\r\n}\r\n\r\n.svg-map-pin.circular.red {\r\n background-image: none;\r\n background-color: #ad0909;\r\n}\r\n\r\n.svg-map-pin.circle {\r\n background: none !important;\r\n border: 2px solid #288a13;\r\n width: 8px;\r\n height: 8px;\r\n margin-left: -6px;\r\n margin-top: -6px;\r\n}\r\n\r\n.svg-map-pin.transparent {\r\n background-image: none;\r\n background-color: #288a13;\r\n border-radius: 10px;\r\n width: 20px;\r\n height: 20px;\r\n margin-left: -10px;\r\n margin-top: -10px;\r\n opacity: 0.5 !important;\r\n}\r\n\r\n.svg-map-pin.pin-label {\r\n color: #fff;\r\n font-size: 9px;\r\n font-weight: 600;\r\n text-align: center;\r\n text-decoration: none;\r\n line-height: 20px;\r\n}\r\n\r\n.svg-map-pin.pin-xs {\r\n border-radius: 50%;\r\n margin-left: -5px;\r\n margin-top: -5px;\r\n line-height: 15px;\r\n width: 10px;\r\n height: 10px;\r\n}\r\n\r\n.svg-map-pin.pin-md {\r\n border-radius: 50%;\r\n margin-left: -10px;\r\n margin-top: -10px;\r\n line-height: 20px;\r\n width: 20px;\r\n height: 20px;\r\n}\r\n\r\n.svg-map-pin.pin-lg {\r\n border-radius: 50%;\r\n margin-left: -15px;\r\n margin-top: -15px;\r\n line-height: 30px;\r\n width: 30px;\r\n height: 30px;\r\n}\r\n\r\n.svg-map-pin.pin-xl {\r\n border-radius: 50%;\r\n margin-left: -20px;\r\n margin-top: -20px;\r\n line-height: 40px;\r\n width: 40px;\r\n height: 40px;\r\n}\r\n\r\n/*.svg-map-pin.svg-map-active:before,*/ /* <- uncomment this selector for pulsing active pins */\r\n.svg-map-pin.pin-pulse:before {\r\n content: '';\r\n border: 4px solid #288a13;\r\n border-radius: 30px;\r\n height: inherit;\r\n width: inherit;\r\n top: -4px;\r\n left: -4px;\r\n position: absolute;\r\n animation: pulsate 2.0s ease-out;\r\n animation-iteration-count: infinite;\r\n animation-delay: 1s;\r\n opacity: 0;\r\n box-sizing: content-box;\r\n}\r\n\r\n.svg-map-pin.pin-pulse.red:before {\r\n border-color: #ad0909;\r\n}\r\n\r\n.svg-map-pin.pin-pulse.red-end:before {\r\n border-color: #ad0909;\r\n}\r\n\r\n.svg-map-pin.pin-pulse.black:before {\r\n border-color: #000;\r\n}\r\n\r\n@-webkit-keyframes pulsate {\r\n 0% {\r\n -webkit-transform: scale(1, 1);\r\n opacity: 0.1;\r\n }\r\n 25% {\r\n opacity: 0.6;\r\n }\r\n 50% {\r\n -webkit-transform: scale(1.6, 1.6);\r\n opacity: 0.1;\r\n }\r\n}\r\n\r\n@-webkit-keyframes pulsate2 {\r\n 0% {\r\n -webkit-transform: scale(1, 1);\r\n opacity: 0.4;\r\n }\r\n 25% {\r\n opacity: 0.8;\r\n }\r\n 50% {\r\n -webkit-transform: scale(1.6, 1.6);\r\n opacity: 0.6;\r\n }\r\n}\r\n\r\n.svg-map-pin.circular.pin-pulse:before {\r\n animation: pulsate2 1.2s ease-out;\r\n animation-iteration-count: infinite;\r\n animation-delay: 0s;\r\n}\r\n\r\n.svg-map-pin.pin3 {\r\n width: 24px;\r\n height: 24px;\r\n border-radius: 50% 50% 50% 0;\r\n background: #288a13;\r\n margin-left: -12px;\r\n margin-top: -28.97px;\r\n transform: rotate(-45deg);\r\n}\r\n\r\n.svg-map-pin.pin3:after {\r\n content: '';\r\n width: 10px;\r\n height: 10px;\r\n margin: 7px 0 0 7px;\r\n background: rgba(0, 0, 0, 0.2);\r\n position: absolute;\r\n border-radius: 50%;\r\n}\r\n\r\n/* Tooltip */\r\n.svg-map-tooltip {\r\n background-color: #272727;\r\n border-radius: 2px;\r\n box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);\r\n display: none;\r\n max-width: 240px;\r\n min-width: 80px;\r\n z-index: 12;\r\n margin-top: -76px;\r\n padding: 4px 12px;\r\n position: absolute;\r\n -webkit-transition: margin 0.1s;\r\n -moz-transition: margin 0.1s;\r\n transition: margin 0.1s;\r\n}\r\n\r\n.svg-map-tooltip-title {\r\n color: #fff;\r\n font-size: 18px;\r\n font-weight: normal;\r\n max-height: 56px;\r\n overflow: hidden;\r\n width: 100%;\r\n float: left;\r\n margin: 6px 0;\r\n line-height: 20px;\r\n}\r\n\r\n.svg-map-tooltip.svg-map-you-are-here-hovertip {\r\n background-color: #288a13;\r\n}\r\n\r\n.svg-map-tooltip-navigation-button {\r\n width: 200px;\r\n background: #288a13;\r\n height: 34px;\r\n line-height: 34px;\r\n font-size: 16px;\r\n margin-bottom: 10px;\r\n color: #fff;\r\n display: inline-block;\r\n}\r\n\r\n.svg-map-tooltip-navigation-button.active {\r\n background: #ad0909;\r\n}\r\n\r\n.svg-map-tooltip-navigation-button img {\r\n width: 14%;\r\n margin: 3px 6px;\r\n vertical-align: middle;\r\n}\r\n\r\n.svg-map-tooltip-navigation-button span {\r\n vertical-align: middle;\r\n}\r\n\r\n.svg-map-tooltip-detail-button {\r\n width: 200px;\r\n background: #3f3e8a;\r\n height: 34px;\r\n line-height: 34px;\r\n font-size: 16px;\r\n margin-bottom: 10px;\r\n color: #fff;\r\n display: inline-block;\r\n}\r\n\r\n.svg-map-tooltip-detail-button.active {\r\n background: #ad0909;\r\n}\r\n\r\n.svg-map-tooltip-detail-button img {\r\n width: 14%;\r\n margin: 3px 6px;\r\n vertical-align: middle;\r\n}\r\n\r\n.svg-map-tooltip-detail-button span {\r\n vertical-align: middle;\r\n}\r\n\r\n.svg-map-tooltip-enter-building-button {\r\n width: 200px;\r\n background: #3f3e8a;\r\n height: 34px;\r\n line-height: 34px;\r\n font-size: 16px;\r\n margin-bottom: 10px;\r\n color: #fff;\r\n display: inline-block;\r\n}\r\n\r\n.svg-map-tooltip-enter-building-button.active {\r\n background: #ad0909;\r\n}\r\n\r\n.svg-map-tooltip-enter-building-button img {\r\n width: 14%;\r\n margin: 3px 6px;\r\n vertical-align: middle;\r\n}\r\n\r\n.svg-map-tooltip-enter-building-button span {\r\n vertical-align: middle;\r\n}\r\n\r\n.svg-map-hovertip {\r\n min-width: 30px;\r\n padding: 6px 14px;\r\n pointer-events: none;\r\n}\r\n\r\n.svg-map-service-hovertip {\r\n /*width: 150px;*/\r\n}\r\n\r\n.svg-map-you-are-here-hovertip {\r\n /*width: 150px;*/\r\n}\r\n\r\n.svg-map-hovertip .svg-map-tooltip-title {\r\n margin: 0 !important;\r\n font-size: 16px;\r\n line-height: 24px;\r\n text-align: center;\r\n}\r\n\r\n.svg-map-bottom .svg-map-tooltip-triangle {\r\n border-color: transparent transparent #272727 transparent;\r\n border-width: 0 7px 8px 7px;\r\n top: 0;\r\n margin-top: -8px;\r\n}\r\n\r\n.svg-map-tooltip-content {\r\n max-height: 164px;\r\n width: 100%;\r\n float: left;\r\n display: block;\r\n margin: 24px 0 0;\r\n text-align: center;\r\n}\r\n\r\n.svg-map-tooltip-landmarkmode {\r\n margin-top: 0;\r\n}\r\n\r\n.svg-map-tooltip-content p {\r\n margin-top: 10px;\r\n margin-bottom: 0;\r\n}\r\n\r\n.svg-map-tooltip-thumbnail {\r\n border-radius: 50%;\r\n float: left;\r\n width: 48px;\r\n height: 48px;\r\n margin-right: 12px;\r\n}\r\n\r\n.svg-map-tooltip-description,\r\n.svg-map-tooltip p {\r\n color: #f1f1f1;\r\n font-size: 13px;\r\n line-height: 20px;\r\n}\r\n\r\n.svg-map-popup-link {\r\n background-color: #6CB5F4;\r\n border-radius: 0;\r\n color: #fff !important;\r\n float: right;\r\n font-size: 14px;\r\n line-height: 28px;\r\n padding: 0 10px;\r\n margin-top: 12px;\r\n -webkit-transition: background-color 0.2s;\r\n -moz-transition: background-color 0.2s;\r\n transition: background-color 0.2s;\r\n}\r\n\r\n.svg-map-popup-link:hover {\r\n background-color: #888;\r\n}\r\n\r\n.svg-map-tooltip img {\r\n max-width: 100%;\r\n}\r\n\r\n.svg-map-tooltip-close {\r\n background-image: url("+z+");\r\n background-position: center;\r\n background-repeat: no-repeat;\r\n background-color: transparent;\r\n border: none;\r\n cursor: pointer;\r\n position: absolute;\r\n right: 10px;\r\n top: 10px;\r\n padding: 5px;\r\n width: 16px;\r\n height: 16px;\r\n opacity: 0.8;\r\n -webkit-transition: opacity 0.2s;\r\n -moz-transition: opacity 0.2s;\r\n transition: opacity 0.2s;\r\n}\r\n\r\n.svg-map-tooltip-close:hover {\r\n opacity: 1.0;\r\n}\r\n\r\n.svg-map-tooltip-triangle {\r\n border-color: #272727 transparent transparent transparent;\r\n border-style: solid;\r\n border-width: 8px 7px 0 7px;\r\n width: 0;\r\n height: 0;\r\n position: absolute;\r\n bottom: 0;\r\n left: 50%;\r\n margin-bottom: -8px;\r\n margin-left: -7px;\r\n -webkit-transition: left 0.1s;\r\n -moz-transition: left 0.1s;\r\n transition: left 0.1s;\r\n}\r\n\r\n.svg-map-you-are-here-hovertip .svg-map-tooltip-triangle {\r\n border-color: #288a13 transparent transparent transparent;\r\n}\r\n\r\n.svg-map-you-are-here-hovertip.svg-map-bottom .svg-map-tooltip-triangle {\r\n border-color: transparent transparent #288a13 transparent;\r\n}\r\n\r\n/* Tooltip down */\r\n.svg-map-tooltip-down .svg-map-tooltip-triangle {\r\n border-width: 0 7px 8px 7px;\r\n border-color: transparent transparent #272727 transparent;\r\n top: 0;\r\n margin-top: -8px;\r\n}\r\n\r\n/* Developer tools */\r\n.svg-map-coordinates {\r\n background-color: rgba(255, 255, 255, 0.9);\r\n color: #333;\r\n position: absolute;\r\n margin: 10px 10px 10px -80px;\r\n padding: 4px 6px;\r\n font-size: 14px;\r\n top: 0;\r\n left: 50%;\r\n pointer-events: none;\r\n}\r\n\r\n.svg-map-coordinates code {\r\n min-width: 20px;\r\n display: inline-block;\r\n}\r\n\r\n/* Responsive layout */\r\n@media all and (max-width: 667px) {\r\n .svg-map-container,\r\n .svg-map-sidebar {\r\n width: 100%;\r\n }\r\n\r\n .svg-map-tooltip {\r\n max-width: 240px;\r\n }\r\n}\r\n\r\n/* Retina */\r\n@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi), (min-resolution: 2dppx) {\r\n .svg-map-search-clear,\r\n .svg-map-tooltip-close {\r\n background-image: url("+P+");\r\n }\r\n .svg-map-pin {\r\n background-image: url("+R+");\r\n }\r\n\r\n .svg-map-pin.orange {\r\n background-image: url("+x+");\r\n }\r\n\r\n .svg-map-pin.yellow {\r\n background-image: url("+w+");\r\n }\r\n\r\n .svg-map-pin.green {\r\n background-image: url("+M+");\r\n }\r\n\r\n .svg-map-pin.blue {\r\n background-image: url("+Z+");\r\n }\r\n\r\n .svg-map-pin.purple {\r\n background-image: url("+D+");\r\n }\r\n\r\n .svg-map-pin.iconpin {\r\n background-image: url("+T+");\r\n }\r\n\r\n .svg-map-pin.iconpin.orange {\r\n background-image: url("+O+");\r\n }\r\n\r\n .svg-map-pin.iconpin.yellow {\r\n background-image: url("+j+");\r\n }\r\n\r\n .svg-map-pin.iconpin.green {\r\n background-image: url("+N+");\r\n }\r\n\r\n .svg-map-pin.iconpin.blue {\r\n background-image: url("+E+");\r\n }\r\n\r\n .svg-map-pin.iconpin.purple {\r\n background-image: url("+G+");\r\n }\r\n .svg-map-pin.green-start {\r\n background-image: url("+X+");\r\n }\r\n\r\n .svg-map-pin.red-end {\r\n background-image: url("+H+");\r\n }\r\n}\r\n\r\n/* Map */\r\n.svg-map-element svg.svg-map-real-svg {\r\n width: 100%;\r\n height: 100%;\r\n}\r\n\r\n.svg-map-element svg.svg-map-real-svg a {\r\n cursor: pointer;\r\n}\r\n\r\n.svg-map-element svg:not(.svg-map-real-svg) {\r\n /*position: relative;*/\r\n}\r\n\r\n.svg-map-clickable:not(g),\r\ng.svg-map-clickable > * {\r\n cursor: pointer;\r\n -webkit-transition: opacity 0.2s;\r\n -moz-transition: opacity 0.2s;\r\n transition: opacity 0.2s;\r\n}\r\n\r\n.svg-map-map-image *[id^=nopointer] {\r\n pointer-events: none;\r\n}\r\n\r\n[id^=landmarks] .svg-map-clickable {\r\n cursor: pointer;\r\n}\r\n\r\n/* LANGUAGE SPECIFIC RENDERING */\r\n/* EN-TR case */\r\n.svg-map-map-image.tr *[id$=_en] {\r\n opacity: 0;\r\n visibility: hidden;\r\n}\r\n\r\n.svg-map-map-image.en *[id$=_tr] {\r\n opacity: 0;\r\n visibility: hidden;\r\n}\r\n\r\n/* EN-RU-KZ-AR case */\r\n.svg-map-map-image.en *[id$=_ru], .svg-map-map-image.en *[id$=_kz], .svg-map-map-image.en *[id$=_ar] {\r\n opacity: 0;\r\n visibility: hidden;\r\n}\r\n\r\n.svg-map-map-image.ru *[id$=_en], .svg-map-map-image.ru *[id$=_ru], .svg-map-map-image.ru *[id$=_ar] {\r\n opacity: 0;\r\n visibility: hidden;\r\n}\r\n\r\n.svg-map-map-image.kz *[id$=_en], .svg-map-map-image.kz *[id$=_ru], .svg-map-map-image.kz *[id$=_ar] {\r\n opacity: 0;\r\n visibility: hidden;\r\n}\r\n\r\n.svg-map-map-image.ar *[id$=_en], .svg-map-map-image.ar *[id$=_ru], .svg-map-map-image.ar *[id$=_kz] {\r\n opacity: 0;\r\n visibility: hidden;\r\n}\r\n\r\n/* INTERACTIVE ELEMENTS */\r\n/* clickable elements */\r\n.svg-map-not-clickable:not(g),\r\ng.svg-map-not-clickable > * {\r\n fill: #d0d8ce;\r\n stroke: #d0d8ce;\r\n}\r\n\r\n.svg-map-not-clickable.svg-map-active:not(g),\r\ng.svg-map-not-clickable.svg-map-active > * {\r\n /*fill: #b62025;*/\r\n}\r\n\r\ng:not(#services) .svg-map-clickable:not(g),\r\ng:not(#services) g.svg-map-clickable > * {\r\n fill: #d8ecf8;\r\n stroke-width: 3px;\r\n}\r\n\r\n/* hovered elements */\r\ng:not(#services) .svg-map-clickable:not(g):hover,\r\ng:not(#services) g.svg-map-clickable:hover > * {\r\n fill: #ff0013;\r\n}\r\n\r\ng:not(#services) .svg-map-clickable.svg-map-active:not(g),\r\ng:not(#services) g.svg-map-clickable.svg-map-active > * {\r\n fill: #ff0013;\r\n stroke: #ff0013;\r\n}\r\n\r\ng:not(#services) .svg-map-clickable.svg-map-active.svg-map-navigation-start:not(g),\r\ng:not(#services) g.svg-map-clickable.svg-map-active.svg-map-navigation-start > * {\r\n /*fill: #466777;*/\r\n animation: navigation-fill-start 2s infinite;\r\n}\r\n\r\ng:not(#services) .svg-map-clickable.svg-map-active.svg-map-navigation-end:not(g),\r\ng:not(#services) g.svg-map-clickable.svg-map-active.svg-map-navigation-end > * {\r\n /*fill: #466777;*/\r\n animation: navigation-fill-end 2s infinite;\r\n}\r\n\r\n@keyframes navigation-fill-start {\r\n 0% {\r\n fill: #208F27;\r\n stroke: #208F27;\r\n }\r\n 50% {\r\n fill: #42A047;\r\n stroke: rgba(66, 160, 71, 0.8);\r\n /*fill: #ff0013;*/\r\n }\r\n 100% {\r\n fill: #208F27;\r\n stroke: #208F27;\r\n }\r\n}\r\n\r\n@keyframes navigation-fill-end {\r\n 0% {\r\n /*fill: #4FD4F5;*/\r\n /*stroke: #4FD4F5;*/\r\n }\r\n 50% {\r\n fill: #b62025;\r\n stroke: rgba(182, 32, 37, 0.8);\r\n }\r\n 100% {\r\n /*fill: #4FD4F5;*/\r\n /*stroke: #4FD4F5;*/\r\n }\r\n}\r\n\r\n@keyframes navigation-fill-services {\r\n 0% {\r\n fill: #EDEDED;\r\n stroke: #EDEDED;\r\n }\r\n 50% {\r\n /*fill: #b62025;*/\r\n fill: rgba(182, 32, 37, 0.8);\r\n stroke: rgba(182, 32, 37, 0.8);\r\n }\r\n 100% {\r\n fill: #EDEDED;\r\n stroke: #EDEDED;\r\n }\r\n}\r\n\r\ng#services .svg-map-clickable.svg-map-active:not(g),\r\ng#services g.svg-map-clickable.svg-map-active > * {\r\n animation: navigation-fill-services 2s infinite;\r\n fill: rgba(182, 32, 37, 0.8);\r\n stroke: rgba(182, 32, 37, 0.8);\r\n}\r\n\r\n/* ACTIVE PIN HIGHLIGHT */\r\n.svg-map-pin.svg-map-active {\r\n /*background-color: #91bf39;*/\r\n}\r\n\r\n.no-fill {\r\n background-color: transparent !important;\r\n}\r\n\r\ntext.text-hidden {\r\n opacity: 0;\r\n visibility: hidden;\r\n}\r\n\r\ntext.text-visible {\r\n opacity: 1;\r\n visibility: visible;\r\n}\r\n\r\ng[id^=text] > text {\r\n fill: #020202;\r\n}\r\n\r\n.svg-map-layer-animated {\r\n opacity: 0;\r\n visibility: hidden;\r\n -webkit-transition: opacity 1s, visibility 1s, -webkit-transform 1s;\r\n -moz-transition: opacity 1s, visibility 1s, -moz-transform 1s;\r\n -o-transition: opacity 1s, visibility 1s, -o-transform 1s;\r\n transition: opacity 1s, visibility 1s, transform 1s;\r\n -webkit-transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);\r\n -moz-transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);\r\n -o-transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);\r\n transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);\r\n -webkit-transform-style: preserve-3d;\r\n transform-style: preserve-3d;\r\n}\r\n\r\n.svg-map-map.map--selected--4 .svg-map-layer-animated.svg-map-layer--5,\r\n.svg-map-map.map--selected--3 .svg-map-layer-animated.svg-map-layer--5,\r\n.svg-map-map.map--selected--3 .svg-map-layer-animated.svg-map-layer--4,\r\n.svg-map-map.map--selected--2 .svg-map-layer-animated.svg-map-layer--5,\r\n.svg-map-map.map--selected--2 .svg-map-layer-animated.svg-map-layer--4,\r\n.svg-map-map.map--selected--2 .svg-map-layer-animated.svg-map-layer--3,\r\n.svg-map-map.map--selected--1 .svg-map-layer-animated.svg-map-layer--5,\r\n.svg-map-map.map--selected--1 .svg-map-layer-animated.svg-map-layer--4,\r\n.svg-map-map.map--selected--1 .svg-map-layer-animated.svg-map-layer--3,\r\n.svg-map-map.map--selected--1 .svg-map-layer-animated.svg-map-layer--2,\r\n.svg-map-map.map--selected-0 .svg-map-layer-animated.svg-map-layer--5,\r\n.svg-map-map.map--selected-0 .svg-map-layer-animated.svg-map-layer--4,\r\n.svg-map-map.map--selected-0 .svg-map-layer-animated.svg-map-layer--3,\r\n.svg-map-map.map--selected-0 .svg-map-layer-animated.svg-map-layer--2,\r\n.svg-map-map.map--selected-0 .svg-map-layer-animated.svg-map-layer--1,\r\n.svg-map-map.map--selected-0-5 .svg-map-layer-animated.svg-map-layer--5,\r\n.svg-map-map.map--selected-0-5 .svg-map-layer-animated.svg-map-layer--4,\r\n.svg-map-map.map--selected-0-5 .svg-map-layer-animated.svg-map-layer--3,\r\n.svg-map-map.map--selected-0-5 .svg-map-layer-animated.svg-map-layer--2,\r\n.svg-map-map.map--selected-0-5 .svg-map-layer-animated.svg-map-layer--1,\r\n.svg-map-map.map--selected-0-5 .svg-map-layer-animated.svg-map-layer-0,\r\n.svg-map-map.map--selected-1 .svg-map-layer-animated.svg-map-layer--5,\r\n.svg-map-map.map--selected-1 .svg-map-layer-animated.svg-map-layer--4,\r\n.svg-map-map.map--selected-1 .svg-map-layer-animated.svg-map-layer--3,\r\n.svg-map-map.map--selected-1 .svg-map-layer-animated.svg-map-layer--2,\r\n.svg-map-map.map--selected-1 .svg-map-layer-animated.svg-map-layer--1,\r\n.svg-map-map.map--selected-1 .svg-map-layer-animated.svg-map-layer-0,\r\n.svg-map-map.map--selected-1 .svg-map-layer-animated.svg-map-layer-0-5,\r\n.svg-map-map.map--selected-2 .svg-map-layer-animated.svg-map-layer--5,\r\n.svg-map-map.map--selected-2 .svg-map-layer-animated.svg-map-layer--4,\r\n.svg-map-map.map--selected-2 .svg-map-layer-animated.svg-map-layer--3,\r\n.svg-map-map.map--selected-2 .svg-map-layer-animated.svg-map-layer--2,\r\n.svg-map-map.map--selected-2 .svg-map-layer-animated.svg-map-layer--1,\r\n.svg-map-map.map--selected-2 .svg-map-layer-animated.svg-map-layer-0,\r\n.svg-map-map.map--selected-2 .svg-map-layer-animated.svg-map-layer-0-5,\r\n.svg-map-map.map--selected-2 .svg-map-layer-animated.svg-map-layer-1,\r\n.svg-map-map.map--selected-3 .svg-map-layer-animated.svg-map-layer--5,\r\n.svg-map-map.map--selected-3 .svg-map-layer-animated.svg-map-layer--4,\r\n.svg-map-map.map--selected-3 .svg-map-layer-animated.svg-map-layer--3,\r\n.svg-map-map.map--selected-3 .svg-map-layer-animated.svg-map-layer--2,\r\n.svg-map-map.map--selected-3 .svg-map-layer-animated.svg-map-layer--1,\r\n.svg-map-map.map--selected-3 .svg-map-layer-animated.svg-map-layer-0,\r\n.svg-map-map.map--selected-3 .svg-map-layer-animated.svg-map-layer-0-5,\r\n.svg-map-map.map--selected-3 .svg-map-layer-animated.svg-map-layer-1,\r\n.svg-map-map.map--selected-3 .svg-map-layer-animated.svg-map-layer-2,\r\n.svg-map-map.map--selected-4 .svg-map-layer-animated.svg-map-layer--5,\r\n.svg-map-map.map--selected-4 .svg-map-layer-animated.svg-map-layer--4,\r\n.svg-map-map.map--selected-4 .svg-map-layer-animated.svg-map-layer--3,\r\n.svg-map-map.map--selected-4 .svg-map-layer-animated.svg-map-layer--2,\r\n.svg-map-map.map--selected-4 .svg-map-layer-animated.svg-map-layer--1,\r\n.svg-map-map.map--selected-4 .svg-map-layer-animated.svg-map-layer-0,\r\n.svg-map-map.map--selected-4 .svg-map-layer-animated.svg-map-layer-0-5,\r\n.svg-map-map.map--selected-4 .svg-map-layer-animated.svg-map-layer-1,\r\n.svg-map-map.map--selected-4 .svg-map-layer-animated.svg-map-layer-2,\r\n.svg-map-map.map--selected-4 .svg-map-layer-animated.svg-map-layer-3,\r\n.svg-map-map.map--selected-5 .svg-map-layer-animated.svg-map-layer--5,\r\n.svg-map-map.map--selected-5 .svg-map-layer-animated.svg-map-layer--4,\r\n.svg-map-map.map--selected-5 .svg-map-layer-animated.svg-map-layer--3,\r\n.svg-map-map.map--selected-5 .svg-map-layer-animated.svg-map-layer--2,\r\n.svg-map-map.map--selected-5 .svg-map-layer-animated.svg-map-layer--1,\r\n.svg-map-map.map--selected-5 .svg-map-layer-animated.svg-map-layer-0,\r\n.svg-map-map.map--selected-5 .svg-map-layer-animated.svg-map-layer-0-5,\r\n.svg-map-map.map--selected-5 .svg-map-layer-animated.svg-map-layer-1,\r\n.svg-map-map.map--selected-5 .svg-map-layer-animated.svg-map-layer-2,\r\n.svg-map-map.map--selected-5 .svg-map-layer-animated.svg-map-layer-3,\r\n.svg-map-map.map--selected-5 .svg-map-layer-animated.svg-map-layer-4,\r\n.svg-map-map.map--selected-6 .svg-map-layer-animated.svg-map-layer--5,\r\n.svg-map-map.map--selected-6 .svg-map-layer-animated.svg-map-layer--4,\r\n.svg-map-map.map--selected-6 .svg-map-layer-animated.svg-map-layer--3,\r\n.svg-map-map.map--selected-6 .svg-map-layer-animated.svg-map-layer--2,\r\n.svg-map-map.map--selected-6 .svg-map-layer-animated.svg-map-layer--1,\r\n.svg-map-map.map--selected-6 .svg-map-layer-animated.svg-map-layer-0,\r\n.svg-map-map.map--selected-6 .svg-map-layer-animated.svg-map-layer-0-5,\r\n.svg-map-map.map--selected-6 .svg-map-layer-animated.svg-map-layer-1,\r\n.svg-map-map.map--selected-6 .svg-map-layer-animated.svg-map-layer-2,\r\n.svg-map-map.map--selected-6 .svg-map-layer-animated.svg-map-layer-3,\r\n.svg-map-map.map--selected-6 .svg-map-layer-animated.svg-map-layer-4,\r\n.svg-map-map.map--selected-6 .svg-map-layer-animated.svg-map-layer-5,\r\n.svg-map-map.map--selected-7 .svg-map-layer-animated.svg-map-layer--5,\r\n.svg-map-map.map--selected-7 .svg-map-layer-animated.svg-map-layer--4,\r\n.svg-map-map.map--selected-7 .svg-map-layer-animated.svg-map-layer--3,\r\n.svg-map-map.map--selected-7 .svg-map-layer-animated.svg-map-layer--2,\r\n.svg-map-map.map--selected-7 .svg-map-layer-animated.svg-map-layer--1,\r\n.svg-map-map.map--selected-7 .svg-map-layer-animated.svg-map-layer-0,\r\n.svg-map-map.map--selected-7 .svg-map-layer-animated.svg-map-layer-0-5,\r\n.svg-map-map.map--selected-7 .svg-map-layer-animated.svg-map-layer-1,\r\n.svg-map-map.map--selected-7 .svg-map-layer-animated.svg-map-layer-2,\r\n.svg-map-map.map--selected-7 .svg-map-layer-animated.svg-map-layer-3,\r\n.svg-map-map.map--selected-7 .svg-map-layer-animated.svg-map-layer-4,\r\n.svg-map-map.map--selected-7 .svg-map-layer-animated.svg-map-layer-5,\r\n.svg-map-map.map--selected-7 .svg-map-layer-animated.svg-map-layer-6,\r\n.svg-map-map.map--selected-8 .svg-map-layer-animated.svg-map-layer--5,\r\n.svg-map-map.map--selected-8 .svg-map-layer-animated.svg-map-layer--4,\r\n.svg-map-map.map--selected-8 .svg-map-layer-animated.svg-map-layer--3,\r\n.svg-map-map.map--selected-8 .svg-map-layer-animated.svg-map-layer--2,\r\n.svg-map-map.map--selected-8 .svg-map-layer-animated.svg-map-layer--1,\r\n.svg-map-map.map--selected-8 .svg-map-layer-animated.svg-map-layer-0,\r\n.svg-map-map.map--selected-8 .svg-map-layer-animated.svg-map-layer-0-5,\r\n.svg-map-map.map--selected-8 .svg-map-layer-animated.svg-map-layer-1,\r\n.svg-map-map.map--selected-8 .svg-map-layer-animated.svg-map-layer-2,\r\n.svg-map-map.map--selected-8 .svg-map-layer-animated.svg-map-layer-3,\r\n.svg-map-map.map--selected-8 .svg-map-layer-animated.svg-map-layer-4,\r\n.svg-map-map.map--selected-8 .svg-map-layer-animated.svg-map-layer-5,\r\n.svg-map-map.map--selected-8 .svg-map-layer-animated.svg-map-layer-6,\r\n.svg-map-map.map--selected-8 .svg-map-layer-animated.svg-map-layer-7,\r\n.svg-map-map.map--selected-9 .svg-map-layer-animated.svg-map-layer--5,\r\n.svg-map-map.map--selected-9 .svg-map-layer-animated.svg-map-layer--4,\r\n.svg-map-map.map--selected-9 .svg-map-layer-animated.svg-map-layer--3,\r\n.svg-map-map.map--selected-9 .svg-map-layer-animated.svg-map-layer--2,\r\n.svg-map-map.map--selected-9 .svg-map-layer-animated.svg-map-layer--1,\r\n.svg-map-map.map--selected-9 .svg-map-layer-animated.svg-map-layer-0,\r\n.svg-map-map.map--selected-9 .svg-map-layer-animated.svg-map-layer-0-5,\r\n.svg-map-map.map--selected-9 .svg-map-layer-animated.svg-map-layer-1,\r\n.svg-map-map.map--selected-9 .svg-map-layer-animated.svg-map-layer-2,\r\n.svg-map-map.map--selected-9 .svg-map-layer-animated.svg-map-layer-3,\r\n.svg-map-map.map--selected-9 .svg-map-layer-animated.svg-map-layer-4,\r\n.svg-map-map.map--selected-9 .svg-map-layer-animated.svg-map-layer-5,\r\n.svg-map-map.map--selected-9 .svg-map-layer-animated.svg-map-layer-6,\r\n.svg-map-map.map--selected-9 .svg-map-layer-animated.svg-map-layer-7,\r\n.svg-map-map.map--selected-9 .svg-map-layer-animated.svg-map-layer-8,\r\n.svg-map-map.map--selected-10 .svg-map-layer-animated.svg-map-layer--5,\r\n.svg-map-map.map--selected-10 .svg-map-layer-animated.svg-map-layer--4,\r\n.svg-map-map.map--selected-10 .svg-map-layer-animated.svg-map-layer--3,\r\n.svg-map-map.map--selected-10 .svg-map-layer-animated.svg-map-layer--2,\r\n.svg-map-map.map--selected-10 .svg-map-layer-animated.svg-map-layer--1,\r\n.svg-map-map.map--selected-10 .svg-map-layer-animated.svg-map-layer-0,\r\n.svg-map-map.map--selected-10 .svg-map-layer-animated.svg-map-layer-0-5,\r\n.svg-map-map.map--selected-10 .svg-map-layer-animated.svg-map-layer-1,\r\n.svg-map-map.map--selected-10 .svg-map-layer-animated.svg-map-layer-2,\r\n.svg-map-map.map--selected-10 .svg-map-layer-animated.svg-map-layer-3,\r\n.svg-map-map.map--selected-10 .svg-map-layer-animated.svg-map-layer-4,\r\n.svg-map-map.map--selected-10 .svg-map-layer-animated.svg-map-layer-5,\r\n.svg-map-map.map--selected-10 .svg-map-layer-animated.svg-map-layer-6,\r\n.svg-map-map.map--selected-10 .svg-map-layer-animated.svg-map-layer-7,\r\n.svg-map-map.map--selected-10 .svg-map-layer-animated.svg-map-layer-8,\r\n.svg-map-map.map--selected-10 .svg-map-layer-animated.svg-map-layer-9 {\r\n /* move downwards */\r\n -webkit-transform: translateZ(-60vmin) translateY(-60vmin) !important;\r\n transform: translateZ(-60vmin) translateY(-60vmin) !important;\r\n}\r\n\r\n.svg-map-map.map--selected-9 .svg-map-layer-animated.svg-map-layer-10,\r\n.svg-map-map.map--selected-8 .svg-map-layer-animated.svg-map-layer-10,\r\n.svg-map-map.map--selected-8 .svg-map-layer-animated.svg-map-layer-9,\r\n.svg-map-map.map--selected-7 .svg-map-layer-animated.svg-map-layer-10,\r\n.svg-map-map.map--selected-7 .svg-map-layer-animated.svg-map-layer-9,\r\n.svg-map-map.map--selected-7 .svg-map-layer-animated.svg-map-layer-8,\r\n.svg-map-map.map--selected-6 .svg-map-layer-animated.svg-map-layer-10,\r\n.svg-map-map.map--selected-6 .svg-map-layer-animated.svg-map-layer-9,\r\n.svg-map-map.map--selected-6 .svg-map-layer-animated.svg-map-layer-8,\r\n.svg-map-map.map--selected-6 .svg-map-layer-animated.svg-map-layer-7,\r\n.svg-map-map.map--selected-5 .svg-map-layer-animated.svg-map-layer-10,\r\n.svg-map-map.map--selected-5 .svg-map-layer-animated.svg-map-layer-9,\r\n.svg-map-map.map--selected-5 .svg-map-layer-animated.svg-map-layer-8,\r\n.svg-map-map.map--selected-5 .svg-map-layer-animated.svg-map-layer-7,\r\n.svg-map-map.map--selected-5 .svg-map-layer-animated.svg-map-layer-6,\r\n.svg-map-map.map--selected-4 .svg-map-layer-animated.svg-map-layer-10,\r\n.svg-map-map.map--selected-4 .svg-map-layer-animated.svg-map-layer-9,\r\n.svg-map-map.map--selected-4 .svg-map-layer-animated.svg-map-layer-8,\r\n.svg-map-map.map--selected-4 .svg-map-layer-animated.svg-map-layer-7,\r\n.svg-map-map.map--selected-4 .svg-map-layer-animated.svg-map-layer-6,\r\n.svg-map-map.map--selected-4 .svg-map-layer-animated.svg-map-layer-5,\r\n.svg-map-map.map--selected-3 .svg-map-layer-animated.svg-map-layer-10,\r\n.svg-map-map.map--selected-3 .svg-map-layer-animated.svg-map-layer-9,\r\n.svg-map-map.map--selected-3 .svg-map-layer-animated.svg-map-layer-8,\r\n.svg-map-map.map--selected-3 .svg-map-layer-animated.svg-map-layer-7,\r\n.svg-map-map.map--selected-3 .svg-map-layer-animated.svg-map-layer-6,\r\n.svg-map-map.map--selected-3 .svg-map-layer-animated.svg-map-layer-5,\r\n.svg-map-map.map--selected-3 .svg-map-layer-animated.svg-map-layer-4,\r\n.svg-map-map.map--selected-2 .svg-map-layer-animated.svg-map-layer-10,\r\n.svg-map-map.map--selected-2 .svg-map-layer-animated.svg-map-layer-9,\r\n.svg-map-map.map--selected-2 .svg-map-layer-animated.svg-map-layer-8,\r\n.svg-map-map.map--selected-2 .svg-map-layer-animated.svg-map-layer-7,\r\n.svg-map-map.map--selected-2 .svg-map-layer-animated.svg-map-layer-6,\r\n.svg-map-map.map--selected-2 .svg-map-layer-animated.svg-map-layer-5,\r\n.svg-map-map.map--selected-2 .svg-map-layer-animated.svg-map-layer-4,\r\n.svg-map-map.map--selected-2 .svg-map-layer-animated.svg-map-layer-3,\r\n.svg-map-map.map--selected-1 .svg-map-layer-animated.svg-map-layer-10,\r\n.svg-map-map.map--selected-1 .svg-map-layer-animated.svg-map-layer-9,\r\n.svg-map-map.map--selected-1 .svg-map-layer-animated.svg-map-layer-8,\r\n.svg-map-map.map--selected-1 .svg-map-layer-animated.svg-map-layer-7,\r\n.svg-map-map.map--selected-1 .svg-map-layer-animated.svg-map-layer-6,\r\n.svg-map-map.map--selected-1 .svg-map-layer-animated.svg-map-layer-5,\r\n.svg-map-map.map--selected-1 .svg-map-layer-animated.svg-map-layer-4,\r\n.svg-map-map.map--selected-1 .svg-map-layer-animated.svg-map-layer-3,\r\n.svg-map-map.map--selected-1 .svg-map-layer-animated.svg-map-layer-2,\r\n.svg-map-map.map--selected-0-5 .svg-map-layer-animated.svg-map-layer-10,\r\n.svg-map-map.map--selected-0-5 .svg-map-layer-animated.svg-map-layer-9,\r\n.svg-map-map.map--selected-0-5 .svg-map-layer-animated.svg-map-layer-8,\r\n.svg-map-map.map--selected-0-5 .svg-map-layer-animated.svg-map-layer-7,\r\n.svg-map-map.map--selected-0-5 .svg-map-layer-animated.svg-map-layer-6,\r\n.svg-map-map.map--selected-0-5 .svg-map-layer-animated.svg-map-layer-5,\r\n.svg-map-map.map--selected-0-5 .svg-map-layer-animated.svg-map-layer-4,\r\n.svg-map-map.map--selected-0-5 .svg-map-layer-animated.svg-map-layer-3,\r\n.svg-map-map.map--selected-0-5 .svg-map-layer-animated.svg-map-layer-2,\r\n.svg-map-map.map--selected-0-5 .svg-map-layer-animated.svg-map-layer-1,\r\n.svg-map-map.map--selected-0 .svg-map-layer-animated.svg-map-layer-10,\r\n.svg-map-map.map--selected-0 .svg-map-layer-animated.svg-map-layer-9,\r\n.svg-map-map.map--selected-0 .svg-map-layer-animated.svg-map-layer-8,\r\n.svg-map-map.map--selected-0 .svg-map-layer-animated.svg-map-layer-7,\r\n.svg-map-map.map--selected-0 .svg-map-layer-animated.svg-map-layer-6,\r\n.svg-map-map.map--selected-0 .svg-map-layer-animated.svg-map-layer-5,\r\n.svg-map-map.map--selected-0 .svg-map-layer-animated.svg-map-layer-4,\r\n.svg-map-map.map--selected-0 .svg-map-layer-animated.svg-map-layer-3,\r\n.svg-map-map.map--selected-0 .svg-map-layer-animated.svg-map-layer-2,\r\n.svg-map-map.map--selected-0 .svg-map-layer-animated.svg-map-layer-1,\r\n.svg-map-map.map--selected-0 .svg-map-layer-animated.svg-map-layer-0-5,\r\n.svg-map-map.map--selected--1 .svg-map-layer-animated.svg-map-layer-10,\r\n.svg-map-map.map--selected--1 .svg-map-layer-animated.svg-map-layer-9,\r\n.svg-map-map.map--selected--1 .svg-map-layer-animated.svg-map-layer-8,\r\n.svg-map-map.map--selected--1 .svg-map-layer-animated.svg-map-layer-7,\r\n.svg-map-map.map--selected--1 .svg-map-layer-animated.svg-map-layer-6,\r\n.svg-map-map.map--selected--1 .svg-map-layer-animated.svg-map-layer-5,\r\n.svg-map-map.map--selected--1 .svg-map-layer-animated.svg-map-layer-4,\r\n.svg-map-map.map--selected--1 .svg-map-layer-animated.svg-map-layer-3,\r\n.svg-map-map.map--selected--1 .svg-map-layer-animated.svg-map-layer-2,\r\n.svg-map-map.map--selected--1 .svg-map-layer-animated.svg-map-layer-1,\r\n.svg-map-map.map--selected--1 .svg-map-layer-animated.svg-map-layer-0-5,\r\n.svg-map-map.map--selected--1 .svg-map-layer-animated.svg-map-layer-0,\r\n.svg-map-map.map--selected--2 .svg-map-layer-animated.svg-map-layer-10,\r\n.svg-map-map.map--selected--2 .svg-map-layer-animated.svg-map-layer-9,\r\n.svg-map-map.map--selected--2 .svg-map-layer-animated.svg-map-layer-8,\r\n.svg-map-map.map--selected--2 .svg-map-layer-animated.svg-map-layer-7,\r\n.svg-map-map.map--selected--2 .svg-map-layer-animated.svg-map-layer-6,\r\n.svg-map-map.map--selected--2 .svg-map-layer-animated.svg-map-layer-5,\r\n.svg-map-map.map--selected--2 .svg-map-layer-animated.svg-map-layer-4,\r\n.svg-map-map.map--selected--2 .svg-map-layer-animated.svg-map-layer-3,\r\n.svg-map-map.map--selected--2 .svg-map-layer-animated.svg-map-layer-2,\r\n.svg-map-map.map--selected--2 .svg-map-layer-animated.svg-map-layer-1,\r\n.svg-map-map.map--selected--2 .svg-map-layer-animated.svg-map-layer-0-5,\r\n.svg-map-map.map--selected--2 .svg-map-layer-animated.svg-map-layer-0,\r\n.svg-map-map.map--selected--2 .svg-map-layer-animated.svg-map-layer--1,\r\n.svg-map-map.map--selected--3 .svg-map-layer-animated.svg-map-layer-10,\r\n.svg-map-map.map--selected--3 .svg-map-layer-animated.svg-map-layer-9,\r\n.svg-map-map.map--selected--3 .svg-map-layer-animated.svg-map-layer-8,\r\n.svg-map-map.map--selected--3 .svg-map-layer-animated.svg-map-layer-7,\r\n.svg-map-map.map--selected--3 .svg-map-layer-animated.svg-map-layer-6,\r\n.svg-map-map.map--selected--3 .svg-map-layer-animated.svg-map-layer-5,\r\n.svg-map-map.map--selected--3 .svg-map-layer-animated.svg-map-layer-4,\r\n.svg-map-map.map--selected--3 .svg-map-layer-animated.svg-map-layer-3,\r\n.svg-map-map.map--selected--3 .svg-map-layer-animated.svg-map-layer-2,\r\n.svg-map-map.map--selected--3 .svg-map-layer-animated.svg-map-layer-1,\r\n.svg-map-map.map--selected--3 .svg-map-layer-animated.svg-map-layer-0-5,\r\n.svg-map-map.map--selected--3 .svg-map-layer-animated.svg-map-layer-0,\r\n.svg-map-map.map--selected--3 .svg-map-layer-animated.svg-map-layer--1,\r\n.svg-map-map.map--selected--3 .svg-map-layer-animated.svg-map-layer--2,\r\n.svg-map-map.map--selected--4 .svg-map-layer-animated.svg-map-layer-10,\r\n.svg-map-map.map--selected--4 .svg-map-layer-animated.svg-map-layer-9,\r\n.svg-map-map.map--selected--4 .svg-map-layer-animated.svg-map-layer-8,\r\n.svg-map-map.map--selected--4 .svg-map-layer-animated.svg-map-layer-7,\r\n.svg-map-map.map--selected--4 .svg-map-layer-animated.svg-map-layer-6,\r\n.svg-map-map.map--selected--4 .svg-map-layer-animated.svg-map-layer-5,\r\n.svg-map-map.map--selected--4 .svg-map-layer-animated.svg-map-layer-4,\r\n.svg-map-map.map--selected--4 .svg-map-layer-animated.svg-map-layer-3,\r\n.svg-map-map.map--selected--4 .svg-map-layer-animated.svg-map-layer-2,\r\n.svg-map-map.map--selected--4 .svg-map-layer-animated.svg-map-layer-1,\r\n.svg-map-map.map--selected--4 .svg-map-layer-animated.svg-map-layer-0-5,\r\n.svg-map-map.map--selected--4 .svg-map-layer-animated.svg-map-layer-0,\r\n.svg-map-map.map--selected--4 .svg-map-layer-animated.svg-map-layer--1,\r\n.svg-map-map.map--selected--4 .svg-map-layer-animated.svg-map-layer--2,\r\n.svg-map-map.map--selected--4 .svg-map-layer-animated.svg-map-layer--3,\r\n.svg-map-map.map--selected--5 .svg-map-layer-animated.svg-map-layer-10,\r\n.svg-map-map.map--selected--5 .svg-map-layer-animated.svg-map-layer-9,\r\n.svg-map-map.map--selected--5 .svg-map-layer-animated.svg-map-layer-8,\r\n.svg-map-map.map--selected--5 .svg-map-layer-animated.svg-map-layer-7,\r\n.svg-map-map.map--selected--5 .svg-map-layer-animated.svg-map-layer-6,\r\n.svg-map-map.map--selected--5 .svg-map-layer-animated.svg-map-layer-5,\r\n.svg-map-map.map--selected--5 .svg-map-layer-animated.svg-map-layer-4,\r\n.svg-map-map.map--selected--5 .svg-map-layer-animated.svg-map-layer-3,\r\n.svg-map-map.map--selected--5 .svg-map-layer-animated.svg-map-layer-2,\r\n.svg-map-map.map--selected--5 .svg-map-layer-animated.svg-map-layer-1,\r\n.svg-map-map.map--selected--5 .svg-map-layer-animated.svg-map-layer-0-5,\r\n.svg-map-map.map--selected--5 .svg-map-layer-animated.svg-map-layer-0,\r\n.svg-map-map.map--selected--5 .svg-map-layer-animated.svg-map-layer--1,\r\n.svg-map-map.map--selected--5 .svg-map-layer-animated.svg-map-layer--2,\r\n.svg-map-map.map--selected--5 .svg-map-layer-animated.svg-map-layer--3,\r\n.svg-map-map.map--selected--5 .svg-map-layer-animated.svg-map-layer--4 {\r\n /* move upwards */\r\n -webkit-transform: translateZ(60vmin) translateY(60vmin) !important;\r\n transform: translateZ(60vmin) translateY(60vmin) !important;\r\n}\r\n\r\n.svg-map-map.map--selected--5 .svg-map-layer-animated:not(.svg-map-layer--5),\r\n.svg-map-map.map--selected--4 .svg-map-layer-animated:not(.svg-map-layer--4),\r\n.svg-map-map.map--selected--3 .svg-map-layer-animated:not(.svg-map-layer--3),\r\n.svg-map-map.map--selected--2 .svg-map-layer-animated:not(.svg-map-layer--2),\r\n.svg-map-map.map--selected--1 .svg-map-layer-animated:not(.svg-map-layer--1),\r\n.svg-map-map.map--selected-0 .svg-map-layer-animated:not(.svg-map-layer-0),\r\n.svg-map-map.map--selected-0-5 .svg-map-layer-animated:not(.svg-map-layer-0-5),\r\n.svg-map-map.map--selected-1 .svg-map-layer-animated:not(.svg-map-layer-1),\r\n.svg-map-map.map--selected-2 .svg-map-layer-animated:not(.svg-map-layer-2),\r\n.svg-map-map.map--selected-3 .svg-map-layer-animated:not(.svg-map-layer-3),\r\n.svg-map-map.map--selected-4 .svg-map-layer-animated:not(.svg-map-layer-4),\r\n.svg-map-map.map--selected-5 .svg-map-layer-animated:not(.svg-map-layer-5),\r\n.svg-map-map.map--selected-6 .svg-map-layer-animated:not(.svg-map-layer-6),\r\n.svg-map-map.map--selected-7 .svg-map-layer-animated:not(.svg-map-layer-7),\r\n.svg-map-map.map--selected-8 .svg-map-layer-animated:not(.svg-map-layer-8),\r\n.svg-map-map.map--selected-9 .svg-map-layer-animated:not(.svg-map-layer-9),\r\n.svg-map-map.map--selected-10 .svg-map-layer-animated:not(.svg-map-layer-10) {\r\n opacity: 0;\r\n visibility: hidden;\r\n}\r\n\r\n.svg-map-map.map--selected--5 .svg-map-layer-animated.svg-map-layer--5,\r\n.svg-map-map.map--selected--4 .svg-map-layer-animated.svg-map-layer--4,\r\n.svg-map-map.map--selected--3 .svg-map-layer-animated.svg-map-layer--3,\r\n.svg-map-map.map--selected--2 .svg-map-layer-animated.svg-map-layer--2,\r\n.svg-map-map.map--selected--1 .svg-map-layer-animated.svg-map-layer--1,\r\n.svg-map-map.map--selected-0 .svg-map-layer-animated.svg-map-layer-0,\r\n.svg-map-map.map--selected-0-5 .svg-map-layer-animated.svg-map-layer-0-5,\r\n.svg-map-map.map--selected-1 .svg-map-layer-animated.svg-map-layer-1,\r\n.svg-map-map.map--selected-2 .svg-map-layer-animated.svg-map-layer-2,\r\n.svg-map-map.map--selected-3 .svg-map-layer-animated.svg-map-layer-3,\r\n.svg-map-map.map--selected-4 .svg-map-layer-animated.svg-map-layer-4,\r\n.svg-map-map.map--selected-5 .svg-map-layer-animated.svg-map-layer-5,\r\n.svg-map-map.map--selected-6 .svg-map-layer-animated.svg-map-layer-6,\r\n.svg-map-map.map--selected-7 .svg-map-layer-animated.svg-map-layer-7,\r\n.svg-map-map.map--selected-8 .svg-map-layer-animated.svg-map-layer-8,\r\n.svg-map-map.map--selected-9 .svg-map-layer-animated.svg-map-layer-9,\r\n.svg-map-map.map--selected-10 .svg-map-layer-animated.svg-map-layer-10 {\r\n opacity: 1;\r\n visibility: visible;\r\n}\r\n\r\na.circle.walking {\r\n position: absolute;\r\n z-index: 10;\r\n background-color: #8C3753;\r\n /*background-color: #3F2B2F;*/\r\n width: 10px;\r\n height: 10px;\r\n border-radius: 50%;\r\n transition: none !important;\r\n}\r\n\r\na.circle.walking.with-pulse:before {\r\n content: '';\r\n border: 2px solid #8C3753;\r\n /*border: 2px solid #3F2B2F;*/\r\n border-radius: 50%;\r\n height: inherit;\r\n width: inherit;\r\n top: -2px;\r\n left: -2px;\r\n position: absolute;\r\n animation: pulsate2 1.8s ease-out;\r\n animation-iteration-count: infinite;\r\n animation-delay: 1s;\r\n opacity: 0;\r\n box-sizing: content-box;\r\n transition: none !important;\r\n}\r\n\r\na.arrow {\r\n position: absolute;\r\n z-index: 10;\r\n background: transparent url("+k+");\r\n width: 12px;\r\n height: 12px;\r\n transition: none !important;\r\n}\r\n\r\na.arrow.fuchsia {\r\n background-image: url("+Y+");\r\n}\r\n\r\na.arrow.dark-grey {\r\n background-image: url("+W+");\r\n}\r\n\r\nimg.foot {\r\n position: absolute;\r\n z-index: 10;\r\n /*transition: none !important;*/\r\n /*width: 12px;*/\r\n /*height: 15px;*/\r\n width: 10px;\r\n height: 22px;\r\n /*visibility: hidden;*/\r\n /*opacity: 0*/\r\n background-image: url("+L+");\r\n\r\n}\r\n\r\n.foot.foot-left {\r\n /*margin-left: -7px;*/\r\n /*margin-top: -2px;*/\r\n margin-left: -7px;\r\n margin-top: -6px;\r\n background-image: url("+S+");\r\n}\r\n\r\n.foot.foot-right {\r\n margin-left: 8px;\r\n /*margin-top: 6px;*/\r\n margin-top: 9px;\r\n background-image: url("+F+');\r\n}\r\n\r\n.debug-container {\r\n padding: 10px;\r\n background: #42427d;\r\n height: 70px;\r\n}\r\n\r\n.ui-slider {\r\n background: #B3B5B8;\r\n}\r\n\r\n.ui-slider-horizontal .ui-slider-handle {\r\n background: #D7D8DA;\r\n}\r\n\r\n#sliderWrapper {\r\n width: 100%;\r\n float: left;\r\n margin-top: 10px;\r\n}\r\n\r\n#navigatingTextWrapper {\r\n width: 100%;\r\n float: left;\r\n margin-top: 15px;\r\n}\r\n\r\n.line {\r\n visibility: hidden;\r\n opacity: 0\r\n}\r\n\r\n.line.navigation-line-animation {\r\n visibility: visible;\r\n opacity: 1;\r\n animation: navigation-line-animation 2s infinite;\r\n}\r\n\r\n.stack-mode-on .svg-map-layer {\r\n visibility: visible;\r\n opacity: 1;\r\n -webkit-transition: transform 1s, opacity 1s;\r\n -moz-transition: transform 1s, opacity 1s;\r\n -o-transition: transform 1s, opacity 1s;\r\n transition: transform 1s, opacity 1s;\r\n -webkit-transition-delay: 1s;\r\n transition-delay: 1s;\r\n}\r\n\r\n.stack-mode-off .svg-map-layer {\r\n visibility: hidden;\r\n opacity: 0;\r\n -webkit-transition: transform 1s, opacity 1s, visibility 1s;\r\n -moz-transition: transform 1s, opacity 1s, visibility 1s;\r\n -o-transition: transform 1s, opacity 1s, visibility 1s;\r\n transition: transform 1s, opacity 1s, visibility 1s;\r\n -webkit-transition-delay: 0s;\r\n transition-delay: 0s;\r\n}\r\n\r\n.stack-mode-on {\r\n transform-style: preserve-3d;\r\n transform: rotateX(70deg) rotateZ(-45deg) translateZ(-20vmin) scale(0.5) !important;\r\n -webkit-transition: transform 1s, opacity 1s;\r\n -moz-transition: transform 1s, opacity 1s;\r\n -o-transition: transform 1s, opacity 1s;\r\n transition: transform 1s, opacity 1s;\r\n -webkit-transition-delay: 0s;\r\n transition-delay: 0s;\r\n}\r\n\r\n.stack-mode-off {\r\n transform-style: preserve-3d;\r\n transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);\r\n transform: rotateX(0deg) rotateZ(0deg) translateZ(0vmin) scale(1) !important;\r\n -webkit-transition: transform 1s, opacity 0s;\r\n -moz-transition: transform 1s, opacity 0s;\r\n -o-transition: transform 1s, opacity 0s;\r\n transition: transform 1s, opacity 0s;\r\n -webkit-transition-delay: 1s;\r\n transition-delay: 1s;\r\n}\r\n\r\nsvg-map-layer:first-child {\r\n position: relative;\r\n top: 0 !important;\r\n}\r\n\r\n.svg-map-layer {\r\n background: #ffffff;\r\n -webkit-box-shadow: 31px 32px 59px -18px rgba(51, 39, 51, 0.34);\r\n -moz-box-shadow: 31px 32px 59px -18px rgba(51, 39, 51, 0.34);\r\n box-shadow: -26px 32px 59px -18px rgba(51, 39, 51, 0.34);\r\n border: 8px solid #d0d8ce;\r\n opacity: 0;\r\n visibility: hidden;\r\n top: 0;\r\n left: 0;\r\n position: absolute;\r\n}\r\n\r\n.stack-mode-on .svg-map-layer-up {\r\n -webkit-transition-delay: 1s;\r\n transition-delay: 1s;\r\n transform: translateZ(60vmin) !important;\r\n -webkit-transition: transform 1s, opacity 1s;\r\n -moz-transition: transform 1s, opacity 1s;\r\n -o-transition: transform 1s, opacity 1s;\r\n transition: transform 1s, opacity 1s;\r\n}\r\n\r\n.stack-mode-on .svg-map-layer-down {\r\n -webkit-transition-delay: 1s;\r\n transition-delay: 1s;\r\n transform: translateZ(-60vmin) !important;\r\n -webkit-transition: transform 1s, opacity 1s;\r\n -moz-transition: transform 1s, opacity 1s;\r\n -o-transition: transform 1s, opacity 1s;\r\n transition: transform 1s, opacity 1s;\r\n}\r\n\r\n.stack-mode-off .svg-map-layer-up {\r\n -webkit-transition-delay: 0s;\r\n transition-delay: 0s;\r\n}\r\n\r\n.stack-mode-off .svg-map-layer-down {\r\n -webkit-transition-delay: 0s;\r\n transition-delay: 0s;\r\n}\r\n\r\n.svg-map-layer::after {\r\n visibility: hidden;\r\n opacity: 0;\r\n font-size: 3vmin;\r\n line-height: 0;\r\n position: absolute;\r\n z-index: 100;\r\n top: -2em;\r\n left: -3em;\r\n white-space: nowrap;\r\n color: #7d7d86;\r\n -webkit-transition: -webkit-transform 1s, color 0.3s, visibility 1s, opacity 1s;\r\n transition: transform 1s, color 0.3s, visibility 1s, opacity 1s;\r\n -webkit-transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);\r\n transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);\r\n -webkit-transform: rotateZ(45deg) rotateX(-70deg) translateZ(5vmin);\r\n transform: rotateZ(45deg) rotateX(-70deg) translateZ(5vmin);\r\n /*-webkit-transform: rotateZ(45deg) rotateX(0deg) translateZ(5vmin);*/\r\n /*transform: rotateZ(45deg) rotateX(0deg) translateZ(5vmin);*/\r\n content: attr(data-value);\r\n}\r\n\r\n.stack-mode-on .svg-map-layer::after {\r\n visibility: visible;\r\n opacity: 1;\r\n transition-delay: 2s;\r\n}\r\n\r\n/*.svg-map-layer.active::after {*/\r\n/* -webkit-transform: rotateZ(-60deg) rotateZ(60deg) rotateX(-25deg) translateZ(25vmin) translateX(5vmin) translateY(-5vmin);*/\r\n/* transform: rotateZ(-60deg) rotateZ(60deg) rotateX(-25deg) translateZ(25vmin) translateX(5vmin) translateY(-5vmin);*/\r\n/*}*/\r\n\r\n.svg-map-layer.active {\r\n visibility: visible !important;\r\n opacity: 1 !important;\r\n transform: translateZ(0vmin) !important;\r\n}\r\n\r\n.stack-mode-on .svg-map-layer svg {\r\n pointer-events: none;\r\n}\r\n\r\n.svg-map-tooltip-triangle {\r\n border-color: #272727 transparent transparent transparent;\r\n}\r\n\r\n.svg-map-layer.escalator-down::before, .svg-map-layer.escalator-down::after, .svg-map-layer.escalator-up::before, .svg-map-layer.escalator-up::after {\r\n -webkit-transition: -webkit-transform 1s;\r\n transition: transform 1s;\r\n content: " ";\r\n line-height: 0;\r\n position: absolute;\r\n z-index: 100;\r\n width: 20px;\r\n height: 80px;\r\n}\r\n\r\n.svg-map-layer.escalator-down::before, .svg-map-layer.escalator-down::after {\r\n -webkit-transform: rotateZ(45deg) rotateX(-70deg) translateY(8vmin) translateZ(0vmin);\r\n transform: rotateZ(45deg) rotateX(-70deg) translateY(8vmin) translateZ(0vmin);\r\n}\r\n\r\n.svg-map-layer.escalator-up::before, .svg-map-layer.escalator-up::after {\r\n -webkit-transform: rotateZ(45deg) rotateX(-70deg) translateY(-4vmin) translateZ(0vmin);\r\n transform: rotateZ(45deg) rotateX(-70deg) translateY(-4vmin) translateZ(0vmin);\r\n}\r\n\r\n.svg-map-layer.escalator-down::before {\r\n background: url('+V+") no-repeat center;\r\n bottom: 0vmin;\r\n right: 10vmin;\r\n}\r\n\r\n.svg-map-layer.escalator-down::after {\r\n background: url("+V+") no-repeat center;\r\n top: 5vmin;\r\n left: 10vmin;\r\n}\r\n\r\n.svg-map-layer.escalator-up::before {\r\n background: url("+U+") no-repeat center;\r\n bottom: 10vmin;\r\n right: 5vmin;\r\n}\r\n\r\n.svg-map-layer.escalator-up::after {\r\n background: url("+U+") no-repeat center;\r\n top: 0vmin;\r\n left: 15vmin;\r\n}\r\n\r\ng#stores > * {\r\n /*stroke: none;*/\r\n /*fill: #7b8c94;*/\r\n}\r\n\r\ng#shadow > * {\r\n /*stroke: none;*/\r\n /*fill: #000;*/\r\n}\r\n\r\ng#rects > *, g#Rects > * {\r\n stroke-width: 0.5;\r\n stroke: #0e0e0e;\r\n fill: none;\r\n opacity: 0;\r\n visibility: hidden;\r\n}\r\n\r\ng#paths > path {\r\n /*stroke: none;*/\r\n stroke: #d0d8ce;\r\n /*fill: #7b8c94;*/\r\n fill: #d0d8ce;\r\n}\r\n\r\ng#services > path {\r\n fill: #D8D8D8;\r\n}\r\n\r\ng#floorbackup > path {\r\n /*fill: #ededed;*/\r\n /*stroke-width: 6px;*/\r\n}\r\n",""])},
|
|
190
|
+
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(A,g,I){g=A.exports=I(/*! ../../node_modules/css-loader/dist/runtime/api.js */13)(!1);var C=I(/*! ../../node_modules/css-loader/dist/runtime/url-escape.js */14),t=C(I(/*! ../images/loader.gif */15)),e=C(I(/*! ../images/error-icon.png */16)),n=C(I(/*! ../images/openhand.png */17)),i=C(I(/*! ../images/closedhand.png */18)),r=C(I(/*! ../images/pin.png */19)),a=C(I(/*! ../images/pin-large.png */20)),o=C(I(/*! ../images/start-green-pin.png */21)),s=C(I(/*! ../images/end-red-pin.png */22)),l=C(I(/*! ../images/pin-orange.png */23)),c=C(I(/*! ../images/pin-yellow.png */24)),u=C(I(/*! ../images/pin-green.png */25)),v=C(I(/*! ../images/pin-blue.png */26)),p=C(I(/*! ../images/pin-purple.png */27)),f=C(I(/*! ../images/pin-orange-large.png */28)),d=C(I(/*! ../images/pin-yellow-large.png */29)),h=C(I(/*! ../images/pin-green-large.png */30)),m=C(I(/*! ../images/pin-blue-large.png */31)),b=C(I(/*! ../images/pin-purple-large.png */32)),y=C(I(/*! ../images/man.png */33)),z=C(I(/*! ../images/close.png */34)),P=C(I(/*! ../images/close@2x.png */35)),R=C(I(/*! ../images/pin@2x.png */36)),x=C(I(/*! ../images/pin-orange@2x.png */37)),w=C(I(/*! ../images/pin-yellow@2x.png */38)),M=C(I(/*! ../images/pin-green@2x.png */39)),Z=C(I(/*! ../images/pin-blue@2x.png */40)),D=C(I(/*! ../images/pin-purple@2x.png */41)),T=C(I(/*! ../images/pin-large@2x.png */42)),O=C(I(/*! ../images/pin-orange-large@2x.png */43)),j=C(I(/*! ../images/pin-yellow-large@2x.png */44)),N=C(I(/*! ../images/pin-green-large@2x.png */45)),E=C(I(/*! ../images/pin-blue-large@2x.png */46)),G=C(I(/*! ../images/pin-purple-large@2x.png */47)),X=C(I(/*! ../images/start-green-pin@2x.png */48)),H=C(I(/*! ../images/end-red-pin@2x.png */49)),k=C(I(/*! ../images/right-arrow-black.png */50)),Y=C(I(/*! ../images/right-arrow-fuchsia.png */51)),W=C(I(/*! ../images/right-arrow-dark-grey.png */52)),L=C(I(/*! ../images/foot-icon.png */53)),S=C(I(/*! ../images/foot-left.png */54)),F=C(I(/*! ../images/foot-right.png */55)),V=C(I(/*! ../images/down.gif */56)),B=C(I(/*! ../images/up.gif */57));g.push([A.i,"#svg-map a:hover, #svg-map a:focus, #svg-map a:active {\r\n text-decoration: none !important;\r\n color: #fff;\r\n}\r\n\r\n.menu-section {\r\n display: flex;\r\n height: 50px;\r\n align-items: center;\r\n justify-content: center;\r\n margin-bottom: 20px;\r\n}\r\n\r\n@keyframes navigation-line-animation {\r\n 0% {\r\n stroke: #2cc197;\r\n }\r\n 50% {\r\n stroke: #2cc197;\r\n }\r\n 100% {\r\n stroke: #2cc197;\r\n }\r\n}\r\n\r\n.svg-map-element {\r\n font-size: 0;\r\n height: 820px;\r\n}\r\n\r\n.svg-map-element input,\r\n.svg-map-element button {\r\n outline: none;\r\n}\r\n\r\n/* Preloader & Error */\r\n.svg-map-element.svg-map-loading {\r\n background: url("+t+") no-repeat center;\r\n}\r\n\r\n.svg-map-element.svg-map-error {\r\n background: url("+e+") no-repeat center;\r\n}\r\n\r\n.svg-map-element > * {\r\n opacity: 1;\r\n transition: opacity 0.6s;\r\n}\r\n\r\n.svg-map-element.svg-map-loading > * {\r\n opacity: 0;\r\n}\r\n\r\n/* Map container */\r\n.svg-map-container {\r\n display: inline-block;\r\n overflow: hidden;\r\n position: relative;\r\n width: 75%;\r\n height: 100%;\r\n -webkit-perspective: 3500px;\r\n perspective: 3500px;\r\n -webkit-perspective-origin: 0% 50%;\r\n perspective-origin: 0% 50%;\r\n -webkit-transition: -webkit-transform 0.8s;\r\n transition: transform 0.8s;\r\n -webkit-transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);\r\n transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);\r\n}\r\n\r\n:-webkit-full-screen .svg-map-container {\r\n width: 80%;\r\n}\r\n\r\n.svg-map-map {\r\n width: 100%;\r\n height: 100%;\r\n position: absolute;\r\n left: 0;\r\n top: 0;\r\n overflow: visible !important;\r\n}\r\n\r\n/* Map layer */\r\n.svg-map-layer img {\r\n width: 100%;\r\n}\r\n\r\n.svg-map-layer {\r\n width: 100%;\r\n height: 100%;\r\n position: absolute;\r\n opacity: 0;\r\n visibility: hidden;\r\n}\r\n\r\n.svg-map-layer.layer-visible {\r\n opacity: 1 !important;\r\n visibility: visible !important;\r\n}\r\n\r\n.svg-map-map .svg-map-map-image {\r\n position: absolute;\r\n width: 100%;\r\n height: 100%;\r\n -webkit-touch-callout: none;\r\n -webkit-user-select: none;\r\n -khtml-user-select: none;\r\n -moz-user-select: none;\r\n -ms-user-select: none;\r\n user-select: none;\r\n}\r\n\r\n.svg-map-map.svg-map-zoomable .svg-map-map-image {\r\n cursor: url("+n+"), default;\r\n}\r\n\r\n.svg-map-map.svg-map-zoomable.svg-map-dragging .svg-map-map-image {\r\n cursor: url("+i+'), move;\r\n}\r\n\r\n/* Pin types */\r\n.svg-map-pin {\r\n /*background-image: url("../images/pin.png");*/\r\n /*background-size: 18px 24px;*/\r\n /*background-repeat: no-repeat;*/\r\n /*background-position: center;*/\r\n background: transparent url('+r+") no-repeat center;\r\n background-size: cover !important;\r\n outline: none !important;\r\n width: 18px;\r\n height: 24px;\r\n margin-top: -23px;\r\n margin-left: -9px;\r\n position: absolute;\r\n font-size: 0;\r\n -webkit-transition: background-color 0.2s;\r\n -moz-transition: background-color 0.2s;\r\n transition: background-color 0.2s;\r\n z-index: 11;\r\n}\r\n\r\n.svg-map-pin.pin-classic {\r\n background-color: #f23543;\r\n background-image: none;\r\n border-color: #f23543;\r\n border-radius: 10px;\r\n line-height: 22px !important;\r\n width: 20px;\r\n height: 20px;\r\n margin-top: -20px;\r\n margin-left: -10px;\r\n transform-origin: 50% 100%;\r\n}\r\n\r\n.svg-map-pin.pin-classic:before {\r\n border-style: solid;\r\n border-width: 9px 8px 0 8px;\r\n border-color: inherit;\r\n border-right-color: transparent;\r\n border-bottom-color: transparent;\r\n border-left-color: transparent;\r\n content: '';\r\n display: block;\r\n position: absolute;\r\n top: 16px;\r\n left: 2px;\r\n}\r\n\r\n.svg-map-pin:before {\r\n box-sizing: content-box !important;\r\n}\r\n\r\n.svg-map-pin.iconpin {\r\n background-image: url("+a+");\r\n background-size: 30px 42px;\r\n color: #fff;\r\n font-size: 14px;\r\n font-weight: normal;\r\n line-height: 36px;\r\n text-align: center;\r\n width: 42px;\r\n height: 42px;\r\n margin-top: -42px;\r\n margin-left: -21px;\r\n}\r\n\r\n.svg-map-pin.pin-marker {\r\n background-color: #fdca2a;\r\n background-image: none;\r\n border-color: #fdca2a;\r\n border-radius: 8px;\r\n width: 16px;\r\n height: 16px;\r\n margin-top: -8px;\r\n margin-left: -8px;\r\n transform-origin: 50% 50%;\r\n}\r\n\r\n.svg-map-pin.pin-marker:before {\r\n border-color: inherit;\r\n border-style: solid;\r\n border-width: 6px;\r\n border-radius: 16px;\r\n content: '';\r\n display: block;\r\n opacity: 0.4;\r\n width: 16px;\r\n height: 16px;\r\n position: absolute;\r\n left: -6px;\r\n top: -6px;\r\n}\r\n\r\n.svg-map-pin.pin-dot {\r\n background-color: transparent !important;\r\n background-image: none;\r\n border-color: #29afa1;\r\n color: #333 !important;\r\n height: 16px;\r\n min-width: 10px;\r\n width: auto;\r\n padding: 0 3px;\r\n margin-left: 4px;\r\n margin-top: -8px;\r\n transform-origin: -4px 8px;\r\n}\r\n\r\n.svg-map-pin.pin-dot:before {\r\n border-color: inherit;\r\n border-style: solid;\r\n border-width: 3px;\r\n border-radius: 12px;\r\n content: '';\r\n display: block;\r\n width: 0px;\r\n height: 0px;\r\n position: absolute;\r\n top: 5px;\r\n left: -7px;\r\n}\r\n\r\n/* Image pin */\r\n.svg-map-pin.pin-image {\r\n background-size: 32px;\r\n border-radius: 50%;\r\n box-sizing: border-box;\r\n box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);\r\n border: 2px solid #fff;\r\n width: 32px;\r\n height: 32px;\r\n margin-top: -16px;\r\n margin-left: -16px;\r\n transform-origin: 50%;\r\n}\r\n\r\n.svg-map-pin.green-start {\r\n background-image: url("+o+");\r\n}\r\n\r\n.svg-map-pin.red-end {\r\n background-image: url("+s+");\r\n}\r\n\r\n.svg-map-pin.orange {\r\n background-image: url("+l+");\r\n}\r\n\r\n.svg-map-pin.yellow {\r\n background-image: url("+c+");\r\n}\r\n\r\n.svg-map-pin.green {\r\n background-image: url("+u+");\r\n}\r\n\r\n.svg-map-pin.blue {\r\n background-image: url("+v+");\r\n}\r\n\r\n.svg-map-pin.purple {\r\n background-image: url("+p+");\r\n}\r\n\r\n.svg-map-pin.iconpin.orange {\r\n background-image: url("+f+");\r\n}\r\n\r\n.svg-map-pin.iconpin.yellow {\r\n background-image: url("+d+");\r\n}\r\n\r\n.svg-map-pin.iconpin.green {\r\n background-image: url("+h+");\r\n}\r\n\r\n.svg-map-pin.iconpin.blue {\r\n background-image: url("+m+");\r\n}\r\n\r\n.svg-map-pin.iconpin.purple {\r\n background-image: url("+b+");\r\n}\r\n\r\n.svg-map-pin.iconpin.man {\r\n background-image: url("+y+");\r\n}\r\n\r\n.svg-map-pin.circular {\r\n background-image: none;\r\n background-color: #288a13;\r\n border-radius: 6px;\r\n width: 12px;\r\n height: 12px;\r\n margin-left: -6px;\r\n margin-top: -6px;\r\n}\r\n\r\n.svg-map-pin.circular.black {\r\n background-image: none;\r\n background-color: #000;\r\n}\r\n\r\n.svg-map-pin.circular.red {\r\n background-image: none;\r\n background-color: #ad0909;\r\n}\r\n\r\n.svg-map-pin.circle {\r\n background: none !important;\r\n border: 2px solid #288a13;\r\n width: 8px;\r\n height: 8px;\r\n margin-left: -6px;\r\n margin-top: -6px;\r\n}\r\n\r\n.svg-map-pin.transparent {\r\n background-image: none;\r\n background-color: #288a13;\r\n border-radius: 10px;\r\n width: 20px;\r\n height: 20px;\r\n margin-left: -10px;\r\n margin-top: -10px;\r\n opacity: 0.5 !important;\r\n}\r\n\r\n.svg-map-pin.pin-label {\r\n color: #fff;\r\n font-size: 9px;\r\n font-weight: 600;\r\n text-align: center;\r\n text-decoration: none;\r\n line-height: 20px;\r\n}\r\n\r\n.svg-map-pin.pin-xs {\r\n border-radius: 50%;\r\n margin-left: -5px;\r\n margin-top: -5px;\r\n line-height: 15px;\r\n width: 10px;\r\n height: 10px;\r\n}\r\n\r\n.svg-map-pin.pin-md {\r\n border-radius: 50%;\r\n margin-left: -10px;\r\n margin-top: -10px;\r\n line-height: 20px;\r\n width: 20px;\r\n height: 20px;\r\n}\r\n\r\n.svg-map-pin.pin-lg {\r\n border-radius: 50%;\r\n margin-left: -15px;\r\n margin-top: -15px;\r\n line-height: 30px;\r\n width: 30px;\r\n height: 30px;\r\n}\r\n\r\n.svg-map-pin.pin-xl {\r\n border-radius: 50%;\r\n margin-left: -20px;\r\n margin-top: -20px;\r\n line-height: 40px;\r\n width: 40px;\r\n height: 40px;\r\n}\r\n\r\n/*.svg-map-pin.svg-map-active:before,*/ /* <- uncomment this selector for pulsing active pins */\r\n.svg-map-pin.pin-pulse:before {\r\n content: '';\r\n border: 4px solid #288a13;\r\n border-radius: 30px;\r\n height: inherit;\r\n width: inherit;\r\n top: -4px;\r\n left: -4px;\r\n position: absolute;\r\n animation: pulsate 2.0s ease-out;\r\n animation-iteration-count: infinite;\r\n animation-delay: 1s;\r\n opacity: 0;\r\n box-sizing: content-box;\r\n}\r\n\r\n.svg-map-pin.pin-pulse.red:before {\r\n border-color: #ad0909;\r\n}\r\n\r\n.svg-map-pin.pin-pulse.red-end:before {\r\n border-color: #ad0909;\r\n}\r\n\r\n.svg-map-pin.pin-pulse.black:before {\r\n border-color: #000;\r\n}\r\n\r\n@-webkit-keyframes pulsate {\r\n 0% {\r\n -webkit-transform: scale(1, 1);\r\n opacity: 0.1;\r\n }\r\n 25% {\r\n opacity: 0.6;\r\n }\r\n 50% {\r\n -webkit-transform: scale(1.6, 1.6);\r\n opacity: 0.1;\r\n }\r\n}\r\n\r\n@-webkit-keyframes pulsate2 {\r\n 0% {\r\n -webkit-transform: scale(1, 1);\r\n opacity: 0.4;\r\n }\r\n 25% {\r\n opacity: 0.8;\r\n }\r\n 50% {\r\n -webkit-transform: scale(1.6, 1.6);\r\n opacity: 0.6;\r\n }\r\n}\r\n\r\n.svg-map-pin.circular.pin-pulse:before {\r\n animation: pulsate2 1.2s ease-out;\r\n animation-iteration-count: infinite;\r\n animation-delay: 0s;\r\n}\r\n\r\n.svg-map-pin.pin3 {\r\n width: 24px;\r\n height: 24px;\r\n border-radius: 50% 50% 50% 0;\r\n background: #288a13;\r\n margin-left: -12px;\r\n margin-top: -28.97px;\r\n transform: rotate(-45deg);\r\n}\r\n\r\n.svg-map-pin.pin3:after {\r\n content: '';\r\n width: 10px;\r\n height: 10px;\r\n margin: 7px 0 0 7px;\r\n background: rgba(0, 0, 0, 0.2);\r\n position: absolute;\r\n border-radius: 50%;\r\n}\r\n\r\n/* Tooltip */\r\n.svg-map-tooltip {\r\n background-color: #272727;\r\n border-radius: 2px;\r\n box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);\r\n display: none;\r\n max-width: 240px;\r\n min-width: 80px;\r\n z-index: 12;\r\n margin-top: -76px;\r\n padding: 4px 12px;\r\n position: absolute;\r\n -webkit-transition: margin 0.1s;\r\n -moz-transition: margin 0.1s;\r\n transition: margin 0.1s;\r\n}\r\n\r\n.svg-map-tooltip-title {\r\n color: #fff;\r\n font-size: 18px;\r\n font-weight: normal;\r\n max-height: 56px;\r\n overflow: hidden;\r\n width: 100%;\r\n float: left;\r\n margin: 6px 0;\r\n line-height: 20px;\r\n}\r\n\r\n.svg-map-tooltip.svg-map-you-are-here-hovertip {\r\n background-color: #288a13;\r\n}\r\n\r\n.svg-map-tooltip-navigation-button {\r\n width: 200px;\r\n background: #288a13;\r\n height: 34px;\r\n line-height: 34px;\r\n font-size: 16px;\r\n margin-bottom: 10px;\r\n color: #fff;\r\n display: inline-block;\r\n}\r\n\r\n.svg-map-tooltip-navigation-button.active {\r\n background: #ad0909;\r\n}\r\n\r\n.svg-map-tooltip-navigation-button img {\r\n width: 14%;\r\n margin: 3px 6px;\r\n vertical-align: middle;\r\n}\r\n\r\n.svg-map-tooltip-navigation-button span {\r\n vertical-align: middle;\r\n}\r\n\r\n.svg-map-tooltip-detail-button {\r\n width: 200px;\r\n background: #3f3e8a;\r\n height: 34px;\r\n line-height: 34px;\r\n font-size: 16px;\r\n margin-bottom: 10px;\r\n color: #fff;\r\n display: inline-block;\r\n}\r\n\r\n.svg-map-tooltip-detail-button.active {\r\n background: #ad0909;\r\n}\r\n\r\n.svg-map-tooltip-detail-button img {\r\n width: 14%;\r\n margin: 3px 6px;\r\n vertical-align: middle;\r\n}\r\n\r\n.svg-map-tooltip-detail-button span {\r\n vertical-align: middle;\r\n}\r\n\r\n.svg-map-tooltip-enter-building-button {\r\n width: 200px;\r\n background: #3f3e8a;\r\n height: 34px;\r\n line-height: 34px;\r\n font-size: 16px;\r\n margin-bottom: 10px;\r\n color: #fff;\r\n display: inline-block;\r\n}\r\n\r\n.svg-map-tooltip-enter-building-button.active {\r\n background: #ad0909;\r\n}\r\n\r\n.svg-map-tooltip-enter-building-button img {\r\n width: 14%;\r\n margin: 3px 6px;\r\n vertical-align: middle;\r\n}\r\n\r\n.svg-map-tooltip-enter-building-button span {\r\n vertical-align: middle;\r\n}\r\n\r\n.svg-map-hovertip {\r\n min-width: 30px;\r\n padding: 6px 14px;\r\n pointer-events: none;\r\n}\r\n\r\n.svg-map-service-hovertip {\r\n /*width: 150px;*/\r\n}\r\n\r\n.svg-map-you-are-here-hovertip {\r\n /*width: 150px;*/\r\n}\r\n\r\n.svg-map-hovertip .svg-map-tooltip-title {\r\n margin: 0 !important;\r\n font-size: 16px;\r\n line-height: 24px;\r\n text-align: center;\r\n}\r\n\r\n.svg-map-bottom .svg-map-tooltip-triangle {\r\n border-color: transparent transparent #272727 transparent;\r\n border-width: 0 7px 8px 7px;\r\n top: 0;\r\n margin-top: -8px;\r\n}\r\n\r\n.svg-map-tooltip-content {\r\n max-height: 164px;\r\n width: 100%;\r\n float: left;\r\n display: block;\r\n margin: 24px 0 0;\r\n text-align: center;\r\n}\r\n\r\n.svg-map-tooltip-landmarkmode {\r\n margin-top: 0;\r\n}\r\n\r\n.svg-map-tooltip-content p {\r\n margin-top: 10px;\r\n margin-bottom: 0;\r\n}\r\n\r\n.svg-map-tooltip-thumbnail {\r\n border-radius: 50%;\r\n float: left;\r\n width: 48px;\r\n height: 48px;\r\n margin-right: 12px;\r\n}\r\n\r\n.svg-map-tooltip-description,\r\n.svg-map-tooltip p {\r\n color: #f1f1f1;\r\n font-size: 13px;\r\n line-height: 20px;\r\n}\r\n\r\n.svg-map-popup-link {\r\n background-color: #6CB5F4;\r\n border-radius: 0;\r\n color: #fff !important;\r\n float: right;\r\n font-size: 14px;\r\n line-height: 28px;\r\n padding: 0 10px;\r\n margin-top: 12px;\r\n -webkit-transition: background-color 0.2s;\r\n -moz-transition: background-color 0.2s;\r\n transition: background-color 0.2s;\r\n}\r\n\r\n.svg-map-popup-link:hover {\r\n background-color: #888;\r\n}\r\n\r\n.svg-map-tooltip img {\r\n max-width: 100%;\r\n}\r\n\r\n.svg-map-tooltip-close {\r\n background-image: url("+z+");\r\n background-position: center;\r\n background-repeat: no-repeat;\r\n background-color: transparent;\r\n border: none;\r\n cursor: pointer;\r\n position: absolute;\r\n right: 10px;\r\n top: 10px;\r\n padding: 5px;\r\n width: 16px;\r\n height: 16px;\r\n opacity: 0.8;\r\n -webkit-transition: opacity 0.2s;\r\n -moz-transition: opacity 0.2s;\r\n transition: opacity 0.2s;\r\n}\r\n\r\n.svg-map-tooltip-close:hover {\r\n opacity: 1.0;\r\n}\r\n\r\n.svg-map-tooltip-triangle {\r\n border-color: #272727 transparent transparent transparent;\r\n border-style: solid;\r\n border-width: 8px 7px 0 7px;\r\n width: 0;\r\n height: 0;\r\n position: absolute;\r\n bottom: 0;\r\n left: 50%;\r\n margin-bottom: -8px;\r\n margin-left: -7px;\r\n -webkit-transition: left 0.1s;\r\n -moz-transition: left 0.1s;\r\n transition: left 0.1s;\r\n}\r\n\r\n.svg-map-you-are-here-hovertip .svg-map-tooltip-triangle {\r\n border-color: #288a13 transparent transparent transparent;\r\n}\r\n\r\n.svg-map-you-are-here-hovertip.svg-map-bottom .svg-map-tooltip-triangle {\r\n border-color: transparent transparent #288a13 transparent;\r\n}\r\n\r\n/* Tooltip down */\r\n.svg-map-tooltip-down .svg-map-tooltip-triangle {\r\n border-width: 0 7px 8px 7px;\r\n border-color: transparent transparent #272727 transparent;\r\n top: 0;\r\n margin-top: -8px;\r\n}\r\n\r\n/* Developer tools */\r\n.svg-map-coordinates {\r\n background-color: rgba(255, 255, 255, 0.9);\r\n color: #333;\r\n position: absolute;\r\n margin: 10px 10px 10px -80px;\r\n padding: 4px 6px;\r\n font-size: 14px;\r\n top: 0;\r\n left: 50%;\r\n pointer-events: none;\r\n}\r\n\r\n.svg-map-coordinates code {\r\n min-width: 20px;\r\n display: inline-block;\r\n}\r\n\r\n/* Responsive layout */\r\n@media all and (max-width: 667px) {\r\n .svg-map-container,\r\n .svg-map-sidebar {\r\n width: 100%;\r\n }\r\n\r\n .svg-map-tooltip {\r\n max-width: 240px;\r\n }\r\n}\r\n\r\n/* Retina */\r\n@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi), (min-resolution: 2dppx) {\r\n .svg-map-search-clear,\r\n .svg-map-tooltip-close {\r\n background-image: url("+P+");\r\n }\r\n .svg-map-pin {\r\n background-image: url("+R+");\r\n }\r\n\r\n .svg-map-pin.orange {\r\n background-image: url("+x+");\r\n }\r\n\r\n .svg-map-pin.yellow {\r\n background-image: url("+w+");\r\n }\r\n\r\n .svg-map-pin.green {\r\n background-image: url("+M+");\r\n }\r\n\r\n .svg-map-pin.blue {\r\n background-image: url("+Z+");\r\n }\r\n\r\n .svg-map-pin.purple {\r\n background-image: url("+D+");\r\n }\r\n\r\n .svg-map-pin.iconpin {\r\n background-image: url("+T+");\r\n }\r\n\r\n .svg-map-pin.iconpin.orange {\r\n background-image: url("+O+");\r\n }\r\n\r\n .svg-map-pin.iconpin.yellow {\r\n background-image: url("+j+");\r\n }\r\n\r\n .svg-map-pin.iconpin.green {\r\n background-image: url("+N+");\r\n }\r\n\r\n .svg-map-pin.iconpin.blue {\r\n background-image: url("+E+");\r\n }\r\n\r\n .svg-map-pin.iconpin.purple {\r\n background-image: url("+G+");\r\n }\r\n .svg-map-pin.green-start {\r\n background-image: url("+X+");\r\n }\r\n\r\n .svg-map-pin.red-end {\r\n background-image: url("+H+");\r\n }\r\n}\r\n\r\n/* Map */\r\n.svg-map-element svg.svg-map-real-svg {\r\n width: 100%;\r\n height: 100%;\r\n}\r\n\r\n.svg-map-element svg.svg-map-real-svg a {\r\n cursor: pointer;\r\n}\r\n\r\n.svg-map-element svg:not(.svg-map-real-svg) {\r\n /*position: relative;*/\r\n}\r\n\r\n.svg-map-clickable:not(g),\r\ng.svg-map-clickable > * {\r\n cursor: pointer;\r\n -webkit-transition: opacity 0.2s;\r\n -moz-transition: opacity 0.2s;\r\n transition: opacity 0.2s;\r\n}\r\n\r\n.svg-map-map-image *[id^=nopointer] {\r\n pointer-events: none;\r\n}\r\n\r\n[id^=landmarks] .svg-map-clickable {\r\n cursor: pointer;\r\n}\r\n\r\n/* LANGUAGE SPECIFIC RENDERING */\r\n/* EN-TR case */\r\n.svg-map-map-image.tr *[id$=_en] {\r\n opacity: 0;\r\n visibility: hidden;\r\n}\r\n\r\n.svg-map-map-image.en *[id$=_tr] {\r\n opacity: 0;\r\n visibility: hidden;\r\n}\r\n\r\n/* EN-RU-KZ-AR case */\r\n.svg-map-map-image.en *[id$=_ru], .svg-map-map-image.en *[id$=_kz], .svg-map-map-image.en *[id$=_ar] {\r\n opacity: 0;\r\n visibility: hidden;\r\n}\r\n\r\n.svg-map-map-image.ru *[id$=_en], .svg-map-map-image.ru *[id$=_ru], .svg-map-map-image.ru *[id$=_ar] {\r\n opacity: 0;\r\n visibility: hidden;\r\n}\r\n\r\n.svg-map-map-image.kz *[id$=_en], .svg-map-map-image.kz *[id$=_ru], .svg-map-map-image.kz *[id$=_ar] {\r\n opacity: 0;\r\n visibility: hidden;\r\n}\r\n\r\n.svg-map-map-image.ar *[id$=_en], .svg-map-map-image.ar *[id$=_ru], .svg-map-map-image.ar *[id$=_kz] {\r\n opacity: 0;\r\n visibility: hidden;\r\n}\r\n\r\n/* INTERACTIVE ELEMENTS */\r\n/* clickable elements */\r\n.svg-map-not-clickable:not(g),\r\ng.svg-map-not-clickable > * {\r\n fill: #d0d8ce;\r\n stroke: #d0d8ce;\r\n}\r\n\r\n.svg-map-not-clickable.svg-map-active:not(g),\r\ng.svg-map-not-clickable.svg-map-active > * {\r\n /*fill: #b62025;*/\r\n}\r\n\r\ng:not(#services) .svg-map-clickable:not(g),\r\ng:not(#services) g.svg-map-clickable > * {\r\n fill: #d8ecf8;\r\n stroke-width: 3px;\r\n}\r\n\r\n/* hovered elements */\r\ng:not(#services) .svg-map-clickable:not(g):hover,\r\ng:not(#services) g.svg-map-clickable:hover > * {\r\n fill: #ff0013;\r\n}\r\n\r\ng:not(#services) .svg-map-clickable.svg-map-active:not(g),\r\ng:not(#services) g.svg-map-clickable.svg-map-active > * {\r\n fill: #ff0013;\r\n stroke: #ff0013;\r\n}\r\n\r\ng:not(#services) .svg-map-clickable.svg-map-active.svg-map-navigation-start:not(g),\r\ng:not(#services) g.svg-map-clickable.svg-map-active.svg-map-navigation-start > * {\r\n /*fill: #466777;*/\r\n animation: navigation-fill-start 2s infinite;\r\n}\r\n\r\ng:not(#services) .svg-map-clickable.svg-map-active.svg-map-navigation-end:not(g),\r\ng:not(#services) g.svg-map-clickable.svg-map-active.svg-map-navigation-end > * {\r\n /*fill: #466777;*/\r\n animation: navigation-fill-end 2s infinite;\r\n}\r\n\r\n@keyframes navigation-fill-start {\r\n 0% {\r\n fill: #208F27;\r\n stroke: #208F27;\r\n }\r\n 50% {\r\n fill: #42A047;\r\n stroke: rgba(66, 160, 71, 0.8);\r\n /*fill: #ff0013;*/\r\n }\r\n 100% {\r\n fill: #208F27;\r\n stroke: #208F27;\r\n }\r\n}\r\n\r\n@keyframes navigation-fill-end {\r\n 0% {\r\n /*fill: #4FD4F5;*/\r\n /*stroke: #4FD4F5;*/\r\n }\r\n 50% {\r\n fill: #b62025;\r\n stroke: rgba(182, 32, 37, 0.8);\r\n }\r\n 100% {\r\n /*fill: #4FD4F5;*/\r\n /*stroke: #4FD4F5;*/\r\n }\r\n}\r\n\r\n@keyframes navigation-fill-services {\r\n 0% {\r\n fill: #EDEDED;\r\n stroke: #EDEDED;\r\n }\r\n 50% {\r\n /*fill: #b62025;*/\r\n fill: rgba(182, 32, 37, 0.8);\r\n stroke: rgba(182, 32, 37, 0.8);\r\n }\r\n 100% {\r\n fill: #EDEDED;\r\n stroke: #EDEDED;\r\n }\r\n}\r\n\r\ng#services .svg-map-clickable.svg-map-active:not(g),\r\ng#services g.svg-map-clickable.svg-map-active > * {\r\n animation: navigation-fill-services 2s infinite;\r\n fill: rgba(182, 32, 37, 0.8);\r\n stroke: rgba(182, 32, 37, 0.8);\r\n}\r\n\r\n/* ACTIVE PIN HIGHLIGHT */\r\n.svg-map-pin.svg-map-active {\r\n /*background-color: #91bf39;*/\r\n}\r\n\r\n.no-fill {\r\n background-color: transparent !important;\r\n}\r\n\r\ntext.text-hidden {\r\n opacity: 0;\r\n visibility: hidden;\r\n}\r\n\r\ntext.text-visible {\r\n opacity: 1;\r\n visibility: visible;\r\n}\r\n\r\ng[id^=text] > text {\r\n fill: #020202;\r\n}\r\n\r\n.svg-map-layer-animated {\r\n opacity: 0;\r\n visibility: hidden;\r\n -webkit-transition: opacity 1s, visibility 1s, -webkit-transform 1s;\r\n -moz-transition: opacity 1s, visibility 1s, -moz-transform 1s;\r\n -o-transition: opacity 1s, visibility 1s, -o-transform 1s;\r\n transition: opacity 1s, visibility 1s, transform 1s;\r\n -webkit-transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);\r\n -moz-transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);\r\n -o-transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);\r\n transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);\r\n -webkit-transform-style: preserve-3d;\r\n transform-style: preserve-3d;\r\n}\r\n\r\n.svg-map-map.map--selected--4 .svg-map-layer-animated.svg-map-layer--5,\r\n.svg-map-map.map--selected--3 .svg-map-layer-animated.svg-map-layer--5,\r\n.svg-map-map.map--selected--3 .svg-map-layer-animated.svg-map-layer--4,\r\n.svg-map-map.map--selected--2 .svg-map-layer-animated.svg-map-layer--5,\r\n.svg-map-map.map--selected--2 .svg-map-layer-animated.svg-map-layer--4,\r\n.svg-map-map.map--selected--2 .svg-map-layer-animated.svg-map-layer--3,\r\n.svg-map-map.map--selected--1 .svg-map-layer-animated.svg-map-layer--5,\r\n.svg-map-map.map--selected--1 .svg-map-layer-animated.svg-map-layer--4,\r\n.svg-map-map.map--selected--1 .svg-map-layer-animated.svg-map-layer--3,\r\n.svg-map-map.map--selected--1 .svg-map-layer-animated.svg-map-layer--2,\r\n.svg-map-map.map--selected-0 .svg-map-layer-animated.svg-map-layer--5,\r\n.svg-map-map.map--selected-0 .svg-map-layer-animated.svg-map-layer--4,\r\n.svg-map-map.map--selected-0 .svg-map-layer-animated.svg-map-layer--3,\r\n.svg-map-map.map--selected-0 .svg-map-layer-animated.svg-map-layer--2,\r\n.svg-map-map.map--selected-0 .svg-map-layer-animated.svg-map-layer--1,\r\n.svg-map-map.map--selected-0-5 .svg-map-layer-animated.svg-map-layer--5,\r\n.svg-map-map.map--selected-0-5 .svg-map-layer-animated.svg-map-layer--4,\r\n.svg-map-map.map--selected-0-5 .svg-map-layer-animated.svg-map-layer--3,\r\n.svg-map-map.map--selected-0-5 .svg-map-layer-animated.svg-map-layer--2,\r\n.svg-map-map.map--selected-0-5 .svg-map-layer-animated.svg-map-layer--1,\r\n.svg-map-map.map--selected-0-5 .svg-map-layer-animated.svg-map-layer-0,\r\n.svg-map-map.map--selected-1 .svg-map-layer-animated.svg-map-layer--5,\r\n.svg-map-map.map--selected-1 .svg-map-layer-animated.svg-map-layer--4,\r\n.svg-map-map.map--selected-1 .svg-map-layer-animated.svg-map-layer--3,\r\n.svg-map-map.map--selected-1 .svg-map-layer-animated.svg-map-layer--2,\r\n.svg-map-map.map--selected-1 .svg-map-layer-animated.svg-map-layer--1,\r\n.svg-map-map.map--selected-1 .svg-map-layer-animated.svg-map-layer-0,\r\n.svg-map-map.map--selected-1 .svg-map-layer-animated.svg-map-layer-0-5,\r\n.svg-map-map.map--selected-2 .svg-map-layer-animated.svg-map-layer--5,\r\n.svg-map-map.map--selected-2 .svg-map-layer-animated.svg-map-layer--4,\r\n.svg-map-map.map--selected-2 .svg-map-layer-animated.svg-map-layer--3,\r\n.svg-map-map.map--selected-2 .svg-map-layer-animated.svg-map-layer--2,\r\n.svg-map-map.map--selected-2 .svg-map-layer-animated.svg-map-layer--1,\r\n.svg-map-map.map--selected-2 .svg-map-layer-animated.svg-map-layer-0,\r\n.svg-map-map.map--selected-2 .svg-map-layer-animated.svg-map-layer-0-5,\r\n.svg-map-map.map--selected-2 .svg-map-layer-animated.svg-map-layer-1,\r\n.svg-map-map.map--selected-3 .svg-map-layer-animated.svg-map-layer--5,\r\n.svg-map-map.map--selected-3 .svg-map-layer-animated.svg-map-layer--4,\r\n.svg-map-map.map--selected-3 .svg-map-layer-animated.svg-map-layer--3,\r\n.svg-map-map.map--selected-3 .svg-map-layer-animated.svg-map-layer--2,\r\n.svg-map-map.map--selected-3 .svg-map-layer-animated.svg-map-layer--1,\r\n.svg-map-map.map--selected-3 .svg-map-layer-animated.svg-map-layer-0,\r\n.svg-map-map.map--selected-3 .svg-map-layer-animated.svg-map-layer-0-5,\r\n.svg-map-map.map--selected-3 .svg-map-layer-animated.svg-map-layer-1,\r\n.svg-map-map.map--selected-3 .svg-map-layer-animated.svg-map-layer-2,\r\n.svg-map-map.map--selected-4 .svg-map-layer-animated.svg-map-layer--5,\r\n.svg-map-map.map--selected-4 .svg-map-layer-animated.svg-map-layer--4,\r\n.svg-map-map.map--selected-4 .svg-map-layer-animated.svg-map-layer--3,\r\n.svg-map-map.map--selected-4 .svg-map-layer-animated.svg-map-layer--2,\r\n.svg-map-map.map--selected-4 .svg-map-layer-animated.svg-map-layer--1,\r\n.svg-map-map.map--selected-4 .svg-map-layer-animated.svg-map-layer-0,\r\n.svg-map-map.map--selected-4 .svg-map-layer-animated.svg-map-layer-0-5,\r\n.svg-map-map.map--selected-4 .svg-map-layer-animated.svg-map-layer-1,\r\n.svg-map-map.map--selected-4 .svg-map-layer-animated.svg-map-layer-2,\r\n.svg-map-map.map--selected-4 .svg-map-layer-animated.svg-map-layer-3,\r\n.svg-map-map.map--selected-5 .svg-map-layer-animated.svg-map-layer--5,\r\n.svg-map-map.map--selected-5 .svg-map-layer-animated.svg-map-layer--4,\r\n.svg-map-map.map--selected-5 .svg-map-layer-animated.svg-map-layer--3,\r\n.svg-map-map.map--selected-5 .svg-map-layer-animated.svg-map-layer--2,\r\n.svg-map-map.map--selected-5 .svg-map-layer-animated.svg-map-layer--1,\r\n.svg-map-map.map--selected-5 .svg-map-layer-animated.svg-map-layer-0,\r\n.svg-map-map.map--selected-5 .svg-map-layer-animated.svg-map-layer-0-5,\r\n.svg-map-map.map--selected-5 .svg-map-layer-animated.svg-map-layer-1,\r\n.svg-map-map.map--selected-5 .svg-map-layer-animated.svg-map-layer-2,\r\n.svg-map-map.map--selected-5 .svg-map-layer-animated.svg-map-layer-3,\r\n.svg-map-map.map--selected-5 .svg-map-layer-animated.svg-map-layer-4,\r\n.svg-map-map.map--selected-6 .svg-map-layer-animated.svg-map-layer--5,\r\n.svg-map-map.map--selected-6 .svg-map-layer-animated.svg-map-layer--4,\r\n.svg-map-map.map--selected-6 .svg-map-layer-animated.svg-map-layer--3,\r\n.svg-map-map.map--selected-6 .svg-map-layer-animated.svg-map-layer--2,\r\n.svg-map-map.map--selected-6 .svg-map-layer-animated.svg-map-layer--1,\r\n.svg-map-map.map--selected-6 .svg-map-layer-animated.svg-map-layer-0,\r\n.svg-map-map.map--selected-6 .svg-map-layer-animated.svg-map-layer-0-5,\r\n.svg-map-map.map--selected-6 .svg-map-layer-animated.svg-map-layer-1,\r\n.svg-map-map.map--selected-6 .svg-map-layer-animated.svg-map-layer-2,\r\n.svg-map-map.map--selected-6 .svg-map-layer-animated.svg-map-layer-3,\r\n.svg-map-map.map--selected-6 .svg-map-layer-animated.svg-map-layer-4,\r\n.svg-map-map.map--selected-6 .svg-map-layer-animated.svg-map-layer-5,\r\n.svg-map-map.map--selected-7 .svg-map-layer-animated.svg-map-layer--5,\r\n.svg-map-map.map--selected-7 .svg-map-layer-animated.svg-map-layer--4,\r\n.svg-map-map.map--selected-7 .svg-map-layer-animated.svg-map-layer--3,\r\n.svg-map-map.map--selected-7 .svg-map-layer-animated.svg-map-layer--2,\r\n.svg-map-map.map--selected-7 .svg-map-layer-animated.svg-map-layer--1,\r\n.svg-map-map.map--selected-7 .svg-map-layer-animated.svg-map-layer-0,\r\n.svg-map-map.map--selected-7 .svg-map-layer-animated.svg-map-layer-0-5,\r\n.svg-map-map.map--selected-7 .svg-map-layer-animated.svg-map-layer-1,\r\n.svg-map-map.map--selected-7 .svg-map-layer-animated.svg-map-layer-2,\r\n.svg-map-map.map--selected-7 .svg-map-layer-animated.svg-map-layer-3,\r\n.svg-map-map.map--selected-7 .svg-map-layer-animated.svg-map-layer-4,\r\n.svg-map-map.map--selected-7 .svg-map-layer-animated.svg-map-layer-5,\r\n.svg-map-map.map--selected-7 .svg-map-layer-animated.svg-map-layer-6,\r\n.svg-map-map.map--selected-8 .svg-map-layer-animated.svg-map-layer--5,\r\n.svg-map-map.map--selected-8 .svg-map-layer-animated.svg-map-layer--4,\r\n.svg-map-map.map--selected-8 .svg-map-layer-animated.svg-map-layer--3,\r\n.svg-map-map.map--selected-8 .svg-map-layer-animated.svg-map-layer--2,\r\n.svg-map-map.map--selected-8 .svg-map-layer-animated.svg-map-layer--1,\r\n.svg-map-map.map--selected-8 .svg-map-layer-animated.svg-map-layer-0,\r\n.svg-map-map.map--selected-8 .svg-map-layer-animated.svg-map-layer-0-5,\r\n.svg-map-map.map--selected-8 .svg-map-layer-animated.svg-map-layer-1,\r\n.svg-map-map.map--selected-8 .svg-map-layer-animated.svg-map-layer-2,\r\n.svg-map-map.map--selected-8 .svg-map-layer-animated.svg-map-layer-3,\r\n.svg-map-map.map--selected-8 .svg-map-layer-animated.svg-map-layer-4,\r\n.svg-map-map.map--selected-8 .svg-map-layer-animated.svg-map-layer-5,\r\n.svg-map-map.map--selected-8 .svg-map-layer-animated.svg-map-layer-6,\r\n.svg-map-map.map--selected-8 .svg-map-layer-animated.svg-map-layer-7,\r\n.svg-map-map.map--selected-9 .svg-map-layer-animated.svg-map-layer--5,\r\n.svg-map-map.map--selected-9 .svg-map-layer-animated.svg-map-layer--4,\r\n.svg-map-map.map--selected-9 .svg-map-layer-animated.svg-map-layer--3,\r\n.svg-map-map.map--selected-9 .svg-map-layer-animated.svg-map-layer--2,\r\n.svg-map-map.map--selected-9 .svg-map-layer-animated.svg-map-layer--1,\r\n.svg-map-map.map--selected-9 .svg-map-layer-animated.svg-map-layer-0,\r\n.svg-map-map.map--selected-9 .svg-map-layer-animated.svg-map-layer-0-5,\r\n.svg-map-map.map--selected-9 .svg-map-layer-animated.svg-map-layer-1,\r\n.svg-map-map.map--selected-9 .svg-map-layer-animated.svg-map-layer-2,\r\n.svg-map-map.map--selected-9 .svg-map-layer-animated.svg-map-layer-3,\r\n.svg-map-map.map--selected-9 .svg-map-layer-animated.svg-map-layer-4,\r\n.svg-map-map.map--selected-9 .svg-map-layer-animated.svg-map-layer-5,\r\n.svg-map-map.map--selected-9 .svg-map-layer-animated.svg-map-layer-6,\r\n.svg-map-map.map--selected-9 .svg-map-layer-animated.svg-map-layer-7,\r\n.svg-map-map.map--selected-9 .svg-map-layer-animated.svg-map-layer-8,\r\n.svg-map-map.map--selected-10 .svg-map-layer-animated.svg-map-layer--5,\r\n.svg-map-map.map--selected-10 .svg-map-layer-animated.svg-map-layer--4,\r\n.svg-map-map.map--selected-10 .svg-map-layer-animated.svg-map-layer--3,\r\n.svg-map-map.map--selected-10 .svg-map-layer-animated.svg-map-layer--2,\r\n.svg-map-map.map--selected-10 .svg-map-layer-animated.svg-map-layer--1,\r\n.svg-map-map.map--selected-10 .svg-map-layer-animated.svg-map-layer-0,\r\n.svg-map-map.map--selected-10 .svg-map-layer-animated.svg-map-layer-0-5,\r\n.svg-map-map.map--selected-10 .svg-map-layer-animated.svg-map-layer-1,\r\n.svg-map-map.map--selected-10 .svg-map-layer-animated.svg-map-layer-2,\r\n.svg-map-map.map--selected-10 .svg-map-layer-animated.svg-map-layer-3,\r\n.svg-map-map.map--selected-10 .svg-map-layer-animated.svg-map-layer-4,\r\n.svg-map-map.map--selected-10 .svg-map-layer-animated.svg-map-layer-5,\r\n.svg-map-map.map--selected-10 .svg-map-layer-animated.svg-map-layer-6,\r\n.svg-map-map.map--selected-10 .svg-map-layer-animated.svg-map-layer-7,\r\n.svg-map-map.map--selected-10 .svg-map-layer-animated.svg-map-layer-8,\r\n.svg-map-map.map--selected-10 .svg-map-layer-animated.svg-map-layer-9 {\r\n /* move downwards */\r\n -webkit-transform: translateZ(-60vmin) translateY(-60vmin) !important;\r\n transform: translateZ(-60vmin) translateY(-60vmin) !important;\r\n}\r\n\r\n.svg-map-map.map--selected-9 .svg-map-layer-animated.svg-map-layer-10,\r\n.svg-map-map.map--selected-8 .svg-map-layer-animated.svg-map-layer-10,\r\n.svg-map-map.map--selected-8 .svg-map-layer-animated.svg-map-layer-9,\r\n.svg-map-map.map--selected-7 .svg-map-layer-animated.svg-map-layer-10,\r\n.svg-map-map.map--selected-7 .svg-map-layer-animated.svg-map-layer-9,\r\n.svg-map-map.map--selected-7 .svg-map-layer-animated.svg-map-layer-8,\r\n.svg-map-map.map--selected-6 .svg-map-layer-animated.svg-map-layer-10,\r\n.svg-map-map.map--selected-6 .svg-map-layer-animated.svg-map-layer-9,\r\n.svg-map-map.map--selected-6 .svg-map-layer-animated.svg-map-layer-8,\r\n.svg-map-map.map--selected-6 .svg-map-layer-animated.svg-map-layer-7,\r\n.svg-map-map.map--selected-5 .svg-map-layer-animated.svg-map-layer-10,\r\n.svg-map-map.map--selected-5 .svg-map-layer-animated.svg-map-layer-9,\r\n.svg-map-map.map--selected-5 .svg-map-layer-animated.svg-map-layer-8,\r\n.svg-map-map.map--selected-5 .svg-map-layer-animated.svg-map-layer-7,\r\n.svg-map-map.map--selected-5 .svg-map-layer-animated.svg-map-layer-6,\r\n.svg-map-map.map--selected-4 .svg-map-layer-animated.svg-map-layer-10,\r\n.svg-map-map.map--selected-4 .svg-map-layer-animated.svg-map-layer-9,\r\n.svg-map-map.map--selected-4 .svg-map-layer-animated.svg-map-layer-8,\r\n.svg-map-map.map--selected-4 .svg-map-layer-animated.svg-map-layer-7,\r\n.svg-map-map.map--selected-4 .svg-map-layer-animated.svg-map-layer-6,\r\n.svg-map-map.map--selected-4 .svg-map-layer-animated.svg-map-layer-5,\r\n.svg-map-map.map--selected-3 .svg-map-layer-animated.svg-map-layer-10,\r\n.svg-map-map.map--selected-3 .svg-map-layer-animated.svg-map-layer-9,\r\n.svg-map-map.map--selected-3 .svg-map-layer-animated.svg-map-layer-8,\r\n.svg-map-map.map--selected-3 .svg-map-layer-animated.svg-map-layer-7,\r\n.svg-map-map.map--selected-3 .svg-map-layer-animated.svg-map-layer-6,\r\n.svg-map-map.map--selected-3 .svg-map-layer-animated.svg-map-layer-5,\r\n.svg-map-map.map--selected-3 .svg-map-layer-animated.svg-map-layer-4,\r\n.svg-map-map.map--selected-2 .svg-map-layer-animated.svg-map-layer-10,\r\n.svg-map-map.map--selected-2 .svg-map-layer-animated.svg-map-layer-9,\r\n.svg-map-map.map--selected-2 .svg-map-layer-animated.svg-map-layer-8,\r\n.svg-map-map.map--selected-2 .svg-map-layer-animated.svg-map-layer-7,\r\n.svg-map-map.map--selected-2 .svg-map-layer-animated.svg-map-layer-6,\r\n.svg-map-map.map--selected-2 .svg-map-layer-animated.svg-map-layer-5,\r\n.svg-map-map.map--selected-2 .svg-map-layer-animated.svg-map-layer-4,\r\n.svg-map-map.map--selected-2 .svg-map-layer-animated.svg-map-layer-3,\r\n.svg-map-map.map--selected-1 .svg-map-layer-animated.svg-map-layer-10,\r\n.svg-map-map.map--selected-1 .svg-map-layer-animated.svg-map-layer-9,\r\n.svg-map-map.map--selected-1 .svg-map-layer-animated.svg-map-layer-8,\r\n.svg-map-map.map--selected-1 .svg-map-layer-animated.svg-map-layer-7,\r\n.svg-map-map.map--selected-1 .svg-map-layer-animated.svg-map-layer-6,\r\n.svg-map-map.map--selected-1 .svg-map-layer-animated.svg-map-layer-5,\r\n.svg-map-map.map--selected-1 .svg-map-layer-animated.svg-map-layer-4,\r\n.svg-map-map.map--selected-1 .svg-map-layer-animated.svg-map-layer-3,\r\n.svg-map-map.map--selected-1 .svg-map-layer-animated.svg-map-layer-2,\r\n.svg-map-map.map--selected-0-5 .svg-map-layer-animated.svg-map-layer-10,\r\n.svg-map-map.map--selected-0-5 .svg-map-layer-animated.svg-map-layer-9,\r\n.svg-map-map.map--selected-0-5 .svg-map-layer-animated.svg-map-layer-8,\r\n.svg-map-map.map--selected-0-5 .svg-map-layer-animated.svg-map-layer-7,\r\n.svg-map-map.map--selected-0-5 .svg-map-layer-animated.svg-map-layer-6,\r\n.svg-map-map.map--selected-0-5 .svg-map-layer-animated.svg-map-layer-5,\r\n.svg-map-map.map--selected-0-5 .svg-map-layer-animated.svg-map-layer-4,\r\n.svg-map-map.map--selected-0-5 .svg-map-layer-animated.svg-map-layer-3,\r\n.svg-map-map.map--selected-0-5 .svg-map-layer-animated.svg-map-layer-2,\r\n.svg-map-map.map--selected-0-5 .svg-map-layer-animated.svg-map-layer-1,\r\n.svg-map-map.map--selected-0 .svg-map-layer-animated.svg-map-layer-10,\r\n.svg-map-map.map--selected-0 .svg-map-layer-animated.svg-map-layer-9,\r\n.svg-map-map.map--selected-0 .svg-map-layer-animated.svg-map-layer-8,\r\n.svg-map-map.map--selected-0 .svg-map-layer-animated.svg-map-layer-7,\r\n.svg-map-map.map--selected-0 .svg-map-layer-animated.svg-map-layer-6,\r\n.svg-map-map.map--selected-0 .svg-map-layer-animated.svg-map-layer-5,\r\n.svg-map-map.map--selected-0 .svg-map-layer-animated.svg-map-layer-4,\r\n.svg-map-map.map--selected-0 .svg-map-layer-animated.svg-map-layer-3,\r\n.svg-map-map.map--selected-0 .svg-map-layer-animated.svg-map-layer-2,\r\n.svg-map-map.map--selected-0 .svg-map-layer-animated.svg-map-layer-1,\r\n.svg-map-map.map--selected-0 .svg-map-layer-animated.svg-map-layer-0-5,\r\n.svg-map-map.map--selected--1 .svg-map-layer-animated.svg-map-layer-10,\r\n.svg-map-map.map--selected--1 .svg-map-layer-animated.svg-map-layer-9,\r\n.svg-map-map.map--selected--1 .svg-map-layer-animated.svg-map-layer-8,\r\n.svg-map-map.map--selected--1 .svg-map-layer-animated.svg-map-layer-7,\r\n.svg-map-map.map--selected--1 .svg-map-layer-animated.svg-map-layer-6,\r\n.svg-map-map.map--selected--1 .svg-map-layer-animated.svg-map-layer-5,\r\n.svg-map-map.map--selected--1 .svg-map-layer-animated.svg-map-layer-4,\r\n.svg-map-map.map--selected--1 .svg-map-layer-animated.svg-map-layer-3,\r\n.svg-map-map.map--selected--1 .svg-map-layer-animated.svg-map-layer-2,\r\n.svg-map-map.map--selected--1 .svg-map-layer-animated.svg-map-layer-1,\r\n.svg-map-map.map--selected--1 .svg-map-layer-animated.svg-map-layer-0-5,\r\n.svg-map-map.map--selected--1 .svg-map-layer-animated.svg-map-layer-0,\r\n.svg-map-map.map--selected--2 .svg-map-layer-animated.svg-map-layer-10,\r\n.svg-map-map.map--selected--2 .svg-map-layer-animated.svg-map-layer-9,\r\n.svg-map-map.map--selected--2 .svg-map-layer-animated.svg-map-layer-8,\r\n.svg-map-map.map--selected--2 .svg-map-layer-animated.svg-map-layer-7,\r\n.svg-map-map.map--selected--2 .svg-map-layer-animated.svg-map-layer-6,\r\n.svg-map-map.map--selected--2 .svg-map-layer-animated.svg-map-layer-5,\r\n.svg-map-map.map--selected--2 .svg-map-layer-animated.svg-map-layer-4,\r\n.svg-map-map.map--selected--2 .svg-map-layer-animated.svg-map-layer-3,\r\n.svg-map-map.map--selected--2 .svg-map-layer-animated.svg-map-layer-2,\r\n.svg-map-map.map--selected--2 .svg-map-layer-animated.svg-map-layer-1,\r\n.svg-map-map.map--selected--2 .svg-map-layer-animated.svg-map-layer-0-5,\r\n.svg-map-map.map--selected--2 .svg-map-layer-animated.svg-map-layer-0,\r\n.svg-map-map.map--selected--2 .svg-map-layer-animated.svg-map-layer--1,\r\n.svg-map-map.map--selected--3 .svg-map-layer-animated.svg-map-layer-10,\r\n.svg-map-map.map--selected--3 .svg-map-layer-animated.svg-map-layer-9,\r\n.svg-map-map.map--selected--3 .svg-map-layer-animated.svg-map-layer-8,\r\n.svg-map-map.map--selected--3 .svg-map-layer-animated.svg-map-layer-7,\r\n.svg-map-map.map--selected--3 .svg-map-layer-animated.svg-map-layer-6,\r\n.svg-map-map.map--selected--3 .svg-map-layer-animated.svg-map-layer-5,\r\n.svg-map-map.map--selected--3 .svg-map-layer-animated.svg-map-layer-4,\r\n.svg-map-map.map--selected--3 .svg-map-layer-animated.svg-map-layer-3,\r\n.svg-map-map.map--selected--3 .svg-map-layer-animated.svg-map-layer-2,\r\n.svg-map-map.map--selected--3 .svg-map-layer-animated.svg-map-layer-1,\r\n.svg-map-map.map--selected--3 .svg-map-layer-animated.svg-map-layer-0-5,\r\n.svg-map-map.map--selected--3 .svg-map-layer-animated.svg-map-layer-0,\r\n.svg-map-map.map--selected--3 .svg-map-layer-animated.svg-map-layer--1,\r\n.svg-map-map.map--selected--3 .svg-map-layer-animated.svg-map-layer--2,\r\n.svg-map-map.map--selected--4 .svg-map-layer-animated.svg-map-layer-10,\r\n.svg-map-map.map--selected--4 .svg-map-layer-animated.svg-map-layer-9,\r\n.svg-map-map.map--selected--4 .svg-map-layer-animated.svg-map-layer-8,\r\n.svg-map-map.map--selected--4 .svg-map-layer-animated.svg-map-layer-7,\r\n.svg-map-map.map--selected--4 .svg-map-layer-animated.svg-map-layer-6,\r\n.svg-map-map.map--selected--4 .svg-map-layer-animated.svg-map-layer-5,\r\n.svg-map-map.map--selected--4 .svg-map-layer-animated.svg-map-layer-4,\r\n.svg-map-map.map--selected--4 .svg-map-layer-animated.svg-map-layer-3,\r\n.svg-map-map.map--selected--4 .svg-map-layer-animated.svg-map-layer-2,\r\n.svg-map-map.map--selected--4 .svg-map-layer-animated.svg-map-layer-1,\r\n.svg-map-map.map--selected--4 .svg-map-layer-animated.svg-map-layer-0-5,\r\n.svg-map-map.map--selected--4 .svg-map-layer-animated.svg-map-layer-0,\r\n.svg-map-map.map--selected--4 .svg-map-layer-animated.svg-map-layer--1,\r\n.svg-map-map.map--selected--4 .svg-map-layer-animated.svg-map-layer--2,\r\n.svg-map-map.map--selected--4 .svg-map-layer-animated.svg-map-layer--3,\r\n.svg-map-map.map--selected--5 .svg-map-layer-animated.svg-map-layer-10,\r\n.svg-map-map.map--selected--5 .svg-map-layer-animated.svg-map-layer-9,\r\n.svg-map-map.map--selected--5 .svg-map-layer-animated.svg-map-layer-8,\r\n.svg-map-map.map--selected--5 .svg-map-layer-animated.svg-map-layer-7,\r\n.svg-map-map.map--selected--5 .svg-map-layer-animated.svg-map-layer-6,\r\n.svg-map-map.map--selected--5 .svg-map-layer-animated.svg-map-layer-5,\r\n.svg-map-map.map--selected--5 .svg-map-layer-animated.svg-map-layer-4,\r\n.svg-map-map.map--selected--5 .svg-map-layer-animated.svg-map-layer-3,\r\n.svg-map-map.map--selected--5 .svg-map-layer-animated.svg-map-layer-2,\r\n.svg-map-map.map--selected--5 .svg-map-layer-animated.svg-map-layer-1,\r\n.svg-map-map.map--selected--5 .svg-map-layer-animated.svg-map-layer-0-5,\r\n.svg-map-map.map--selected--5 .svg-map-layer-animated.svg-map-layer-0,\r\n.svg-map-map.map--selected--5 .svg-map-layer-animated.svg-map-layer--1,\r\n.svg-map-map.map--selected--5 .svg-map-layer-animated.svg-map-layer--2,\r\n.svg-map-map.map--selected--5 .svg-map-layer-animated.svg-map-layer--3,\r\n.svg-map-map.map--selected--5 .svg-map-layer-animated.svg-map-layer--4 {\r\n /* move upwards */\r\n -webkit-transform: translateZ(60vmin) translateY(60vmin) !important;\r\n transform: translateZ(60vmin) translateY(60vmin) !important;\r\n}\r\n\r\n.svg-map-map.map--selected--5 .svg-map-layer-animated:not(.svg-map-layer--5),\r\n.svg-map-map.map--selected--4 .svg-map-layer-animated:not(.svg-map-layer--4),\r\n.svg-map-map.map--selected--3 .svg-map-layer-animated:not(.svg-map-layer--3),\r\n.svg-map-map.map--selected--2 .svg-map-layer-animated:not(.svg-map-layer--2),\r\n.svg-map-map.map--selected--1 .svg-map-layer-animated:not(.svg-map-layer--1),\r\n.svg-map-map.map--selected-0 .svg-map-layer-animated:not(.svg-map-layer-0),\r\n.svg-map-map.map--selected-0-5 .svg-map-layer-animated:not(.svg-map-layer-0-5),\r\n.svg-map-map.map--selected-1 .svg-map-layer-animated:not(.svg-map-layer-1),\r\n.svg-map-map.map--selected-2 .svg-map-layer-animated:not(.svg-map-layer-2),\r\n.svg-map-map.map--selected-3 .svg-map-layer-animated:not(.svg-map-layer-3),\r\n.svg-map-map.map--selected-4 .svg-map-layer-animated:not(.svg-map-layer-4),\r\n.svg-map-map.map--selected-5 .svg-map-layer-animated:not(.svg-map-layer-5),\r\n.svg-map-map.map--selected-6 .svg-map-layer-animated:not(.svg-map-layer-6),\r\n.svg-map-map.map--selected-7 .svg-map-layer-animated:not(.svg-map-layer-7),\r\n.svg-map-map.map--selected-8 .svg-map-layer-animated:not(.svg-map-layer-8),\r\n.svg-map-map.map--selected-9 .svg-map-layer-animated:not(.svg-map-layer-9),\r\n.svg-map-map.map--selected-10 .svg-map-layer-animated:not(.svg-map-layer-10) {\r\n opacity: 0;\r\n visibility: hidden;\r\n}\r\n\r\n.svg-map-map.map--selected--5 .svg-map-layer-animated.svg-map-layer--5,\r\n.svg-map-map.map--selected--4 .svg-map-layer-animated.svg-map-layer--4,\r\n.svg-map-map.map--selected--3 .svg-map-layer-animated.svg-map-layer--3,\r\n.svg-map-map.map--selected--2 .svg-map-layer-animated.svg-map-layer--2,\r\n.svg-map-map.map--selected--1 .svg-map-layer-animated.svg-map-layer--1,\r\n.svg-map-map.map--selected-0 .svg-map-layer-animated.svg-map-layer-0,\r\n.svg-map-map.map--selected-0-5 .svg-map-layer-animated.svg-map-layer-0-5,\r\n.svg-map-map.map--selected-1 .svg-map-layer-animated.svg-map-layer-1,\r\n.svg-map-map.map--selected-2 .svg-map-layer-animated.svg-map-layer-2,\r\n.svg-map-map.map--selected-3 .svg-map-layer-animated.svg-map-layer-3,\r\n.svg-map-map.map--selected-4 .svg-map-layer-animated.svg-map-layer-4,\r\n.svg-map-map.map--selected-5 .svg-map-layer-animated.svg-map-layer-5,\r\n.svg-map-map.map--selected-6 .svg-map-layer-animated.svg-map-layer-6,\r\n.svg-map-map.map--selected-7 .svg-map-layer-animated.svg-map-layer-7,\r\n.svg-map-map.map--selected-8 .svg-map-layer-animated.svg-map-layer-8,\r\n.svg-map-map.map--selected-9 .svg-map-layer-animated.svg-map-layer-9,\r\n.svg-map-map.map--selected-10 .svg-map-layer-animated.svg-map-layer-10 {\r\n opacity: 1;\r\n visibility: visible;\r\n}\r\n\r\na.circle.walking {\r\n position: absolute;\r\n z-index: 10;\r\n background-color: #8C3753;\r\n /*background-color: #3F2B2F;*/\r\n width: 10px;\r\n height: 10px;\r\n border-radius: 50%;\r\n transition: none !important;\r\n}\r\n\r\na.circle.walking.with-pulse:before {\r\n content: '';\r\n border: 2px solid #8C3753;\r\n /*border: 2px solid #3F2B2F;*/\r\n border-radius: 50%;\r\n height: inherit;\r\n width: inherit;\r\n top: -2px;\r\n left: -2px;\r\n position: absolute;\r\n animation: pulsate2 1.8s ease-out;\r\n animation-iteration-count: infinite;\r\n animation-delay: 1s;\r\n opacity: 0;\r\n box-sizing: content-box;\r\n transition: none !important;\r\n}\r\n\r\na.arrow {\r\n position: absolute;\r\n z-index: 10;\r\n background: transparent url("+k+");\r\n width: 12px;\r\n height: 12px;\r\n transition: none !important;\r\n}\r\n\r\na.arrow.fuchsia {\r\n background-image: url("+Y+");\r\n}\r\n\r\na.arrow.dark-grey {\r\n background-image: url("+W+");\r\n}\r\n\r\nimg.foot {\r\n position: absolute;\r\n z-index: 10;\r\n /*transition: none !important;*/\r\n /*width: 12px;*/\r\n /*height: 15px;*/\r\n width: 10px;\r\n height: 22px;\r\n /*visibility: hidden;*/\r\n /*opacity: 0*/\r\n background-image: url("+L+");\r\n\r\n}\r\n\r\n.foot.foot-left {\r\n /*margin-left: -7px;*/\r\n /*margin-top: -2px;*/\r\n margin-left: -7px;\r\n margin-top: -6px;\r\n background-image: url("+S+");\r\n}\r\n\r\n.foot.foot-right {\r\n margin-left: 8px;\r\n /*margin-top: 6px;*/\r\n margin-top: 9px;\r\n background-image: url("+F+');\r\n}\r\n\r\n.debug-container {\r\n padding: 10px;\r\n background: #42427d;\r\n height: 70px;\r\n}\r\n\r\n.ui-slider {\r\n background: #B3B5B8;\r\n}\r\n\r\n.ui-slider-horizontal .ui-slider-handle {\r\n background: #D7D8DA;\r\n}\r\n\r\n#sliderWrapper {\r\n width: 100%;\r\n float: left;\r\n margin-top: 10px;\r\n}\r\n\r\n#navigatingTextWrapper {\r\n width: 100%;\r\n float: left;\r\n margin-top: 15px;\r\n}\r\n\r\n.line {\r\n visibility: hidden;\r\n opacity: 0\r\n}\r\n\r\n.line.navigation-line-animation {\r\n visibility: visible;\r\n opacity: 1;\r\n animation: navigation-line-animation 2s infinite;\r\n}\r\n\r\n.stack-mode-on .svg-map-layer {\r\n visibility: visible;\r\n opacity: 1;\r\n -webkit-transition: transform 1s, opacity 1s;\r\n -moz-transition: transform 1s, opacity 1s;\r\n -o-transition: transform 1s, opacity 1s;\r\n transition: transform 1s, opacity 1s;\r\n -webkit-transition-delay: 1s;\r\n transition-delay: 1s;\r\n}\r\n\r\n.stack-mode-off .svg-map-layer {\r\n visibility: hidden;\r\n opacity: 0;\r\n -webkit-transition: transform 1s, opacity 1s, visibility 1s;\r\n -moz-transition: transform 1s, opacity 1s, visibility 1s;\r\n -o-transition: transform 1s, opacity 1s, visibility 1s;\r\n transition: transform 1s, opacity 1s, visibility 1s;\r\n -webkit-transition-delay: 0s;\r\n transition-delay: 0s;\r\n}\r\n\r\n.stack-mode-on {\r\n transform-style: preserve-3d;\r\n transform: rotateX(70deg) rotateZ(-45deg) translateZ(-20vmin) scale(0.5) !important;\r\n -webkit-transition: transform 1s, opacity 1s;\r\n -moz-transition: transform 1s, opacity 1s;\r\n -o-transition: transform 1s, opacity 1s;\r\n transition: transform 1s, opacity 1s;\r\n -webkit-transition-delay: 0s;\r\n transition-delay: 0s;\r\n}\r\n\r\n.stack-mode-off {\r\n transform-style: preserve-3d;\r\n transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);\r\n transform: rotateX(0deg) rotateZ(0deg) translateZ(0vmin) scale(1) !important;\r\n -webkit-transition: transform 1s, opacity 0s;\r\n -moz-transition: transform 1s, opacity 0s;\r\n -o-transition: transform 1s, opacity 0s;\r\n transition: transform 1s, opacity 0s;\r\n -webkit-transition-delay: 1s;\r\n transition-delay: 1s;\r\n}\r\n\r\nsvg-map-layer:first-child {\r\n position: relative;\r\n top: 0 !important;\r\n}\r\n\r\n.svg-map-layer {\r\n background: #ffffff;\r\n -webkit-box-shadow: 31px 32px 59px -18px rgba(51, 39, 51, 0.34);\r\n -moz-box-shadow: 31px 32px 59px -18px rgba(51, 39, 51, 0.34);\r\n box-shadow: -26px 32px 59px -18px rgba(51, 39, 51, 0.34);\r\n border: 8px solid #d0d8ce;\r\n opacity: 0;\r\n visibility: hidden;\r\n top: 0;\r\n left: 0;\r\n position: absolute;\r\n}\r\n\r\n.stack-mode-on .svg-map-layer-up {\r\n -webkit-transition-delay: 1s;\r\n transition-delay: 1s;\r\n transform: translateZ(60vmin) !important;\r\n -webkit-transition: transform 1s, opacity 1s;\r\n -moz-transition: transform 1s, opacity 1s;\r\n -o-transition: transform 1s, opacity 1s;\r\n transition: transform 1s, opacity 1s;\r\n}\r\n\r\n.stack-mode-on .svg-map-layer-down {\r\n -webkit-transition-delay: 1s;\r\n transition-delay: 1s;\r\n transform: translateZ(-60vmin) !important;\r\n -webkit-transition: transform 1s, opacity 1s;\r\n -moz-transition: transform 1s, opacity 1s;\r\n -o-transition: transform 1s, opacity 1s;\r\n transition: transform 1s, opacity 1s;\r\n}\r\n\r\n.stack-mode-off .svg-map-layer-up {\r\n -webkit-transition-delay: 0s;\r\n transition-delay: 0s;\r\n}\r\n\r\n.stack-mode-off .svg-map-layer-down {\r\n -webkit-transition-delay: 0s;\r\n transition-delay: 0s;\r\n}\r\n\r\n.svg-map-layer::after {\r\n visibility: hidden;\r\n opacity: 0;\r\n font-size: 3vmin;\r\n line-height: 0;\r\n position: absolute;\r\n z-index: 100;\r\n top: -2em;\r\n left: -3em;\r\n white-space: nowrap;\r\n color: #7d7d86;\r\n -webkit-transition: -webkit-transform 1s, color 0.3s, visibility 1s, opacity 1s;\r\n transition: transform 1s, color 0.3s, visibility 1s, opacity 1s;\r\n -webkit-transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);\r\n transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);\r\n -webkit-transform: rotateZ(45deg) rotateX(-70deg) translateZ(5vmin);\r\n transform: rotateZ(45deg) rotateX(-70deg) translateZ(5vmin);\r\n /*-webkit-transform: rotateZ(45deg) rotateX(0deg) translateZ(5vmin);*/\r\n /*transform: rotateZ(45deg) rotateX(0deg) translateZ(5vmin);*/\r\n content: attr(data-value);\r\n}\r\n\r\n.stack-mode-on .svg-map-layer::after {\r\n visibility: visible;\r\n opacity: 1;\r\n transition-delay: 2s;\r\n}\r\n\r\n/*.svg-map-layer.active::after {*/\r\n/* -webkit-transform: rotateZ(-60deg) rotateZ(60deg) rotateX(-25deg) translateZ(25vmin) translateX(5vmin) translateY(-5vmin);*/\r\n/* transform: rotateZ(-60deg) rotateZ(60deg) rotateX(-25deg) translateZ(25vmin) translateX(5vmin) translateY(-5vmin);*/\r\n/*}*/\r\n\r\n.svg-map-layer.active {\r\n visibility: visible !important;\r\n opacity: 1 !important;\r\n transform: translateZ(0vmin) !important;\r\n}\r\n\r\n.stack-mode-on .svg-map-layer svg {\r\n pointer-events: none;\r\n}\r\n\r\n.svg-map-tooltip-triangle {\r\n border-color: #272727 transparent transparent transparent;\r\n}\r\n\r\n.svg-map-layer.escalator-down::before, .svg-map-layer.escalator-down::after, .svg-map-layer.escalator-up::before, .svg-map-layer.escalator-up::after {\r\n -webkit-transition: -webkit-transform 1s;\r\n transition: transform 1s;\r\n content: " ";\r\n line-height: 0;\r\n position: absolute;\r\n z-index: 100;\r\n width: 20px;\r\n height: 80px;\r\n}\r\n\r\n.svg-map-layer.escalator-down::before, .svg-map-layer.escalator-down::after {\r\n -webkit-transform: rotateZ(45deg) rotateX(-70deg) translateY(8vmin) translateZ(0vmin);\r\n transform: rotateZ(45deg) rotateX(-70deg) translateY(8vmin) translateZ(0vmin);\r\n}\r\n\r\n.svg-map-layer.escalator-up::before, .svg-map-layer.escalator-up::after {\r\n -webkit-transform: rotateZ(45deg) rotateX(-70deg) translateY(-4vmin) translateZ(0vmin);\r\n transform: rotateZ(45deg) rotateX(-70deg) translateY(-4vmin) translateZ(0vmin);\r\n}\r\n\r\n.svg-map-layer.escalator-down::before {\r\n background: url('+V+") no-repeat center;\r\n bottom: 0vmin;\r\n right: 10vmin;\r\n}\r\n\r\n.svg-map-layer.escalator-down::after {\r\n background: url("+V+") no-repeat center;\r\n top: 5vmin;\r\n left: 10vmin;\r\n}\r\n\r\n.svg-map-layer.escalator-up::before {\r\n background: url("+B+") no-repeat center;\r\n bottom: 10vmin;\r\n right: 5vmin;\r\n}\r\n\r\n.svg-map-layer.escalator-up::after {\r\n background: url("+B+") no-repeat center;\r\n top: 0vmin;\r\n left: 15vmin;\r\n}\r\n\r\ng#stores > * {\r\n /*stroke: none;*/\r\n /*fill: #7b8c94;*/\r\n}\r\n\r\ng#shadow > * {\r\n /*stroke: none;*/\r\n /*fill: #000;*/\r\n}\r\n\r\ng#rects > *, g#Rects > * {\r\n stroke-width: 0.5;\r\n stroke: #0e0e0e;\r\n fill: none;\r\n opacity: 0;\r\n visibility: hidden;\r\n}\r\n\r\ng#paths > path {\r\n /*stroke: none;*/\r\n stroke: #d0d8ce;\r\n /*fill: #7b8c94;*/\r\n fill: #d0d8ce;\r\n}\r\n\r\ng#services > path {\r\n fill: #D8D8D8;\r\n}\r\n\r\ng#floorbackup > path {\r\n /*fill: #ededed;*/\r\n /*stroke-width: 6px;*/\r\n}\r\n",""])},
|
|
191
191
|
/*!*****************************************************!*\
|
|
192
192
|
!*** ./node_modules/css-loader/dist/runtime/api.js ***!
|
|
193
193
|
\*****************************************************/
|
|
@@ -480,7 +480,7 @@ C.e._gsDefine("easing.Back",["easing.Ease"],(function(){var A,g,I,t,e=C.e.GreenS
|
|
|
480
480
|
* http://hammerjs.github.io/
|
|
481
481
|
*
|
|
482
482
|
* Copyright (c) 2016 Jorik Tangelder;
|
|
483
|
-
* Licensed under the MIT license */!function(t,e,n,i){"use strict";var r,a=["","webkit","Moz","MS","ms","o"],o=e.createElement("div"),s="function",l=Math.round,c=Math.abs,u=Date.now;function v(A,g,I){return setTimeout(y(A,I),g)}function p(A,g,I){return!!Array.isArray(A)&&(f(A,I[g],I),!0)}function f(A,g,I){var C;if(A)if(A.forEach)A.forEach(g,I);else if(A.length!==i)for(C=0;C<A.length;)g.call(I,A[C],C,A),C++;else for(C in A)A.hasOwnProperty(C)&&g.call(I,A[C],C,A)}function d(A,g,I){var C="DEPRECATED METHOD: "+g+"\n"+I+" AT \n";return function(){var g=new Error("get-stack-trace"),I=g&&g.stack?g.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",e=t.console&&(t.console.warn||t.console.log);return e&&e.call(t.console,C,I),A.apply(this,arguments)}}r="function"!=typeof Object.assign?function(A){if(A===i||null===A)throw new TypeError("Cannot convert undefined or null to object");for(var g=Object(A),I=1;I<arguments.length;I++){var C=arguments[I];if(C!==i&&null!==C)for(var t in C)C.hasOwnProperty(t)&&(g[t]=C[t])}return g}:Object.assign;var h=d((function(A,g,I){for(var C=Object.keys(g),t=0;t<C.length;)(!I||I&&A[C[t]]===i)&&(A[C[t]]=g[C[t]]),t++;return A}),"extend","Use `assign`."),m=d((function(A,g){return h(A,g,!0)}),"merge","Use `assign`.");function b(A,g,I){var C,t=g.prototype;(C=A.prototype=Object.create(t)).constructor=A,C._super=t,I&&r(C,I)}function y(A,g){return function(){return A.apply(g,arguments)}}function z(A,g){return typeof A==s?A.apply(g&&g[0]||i,g):A}function P(A,g){return A===i?g:A}function R(A,g,I){f(Z(g),(function(g){A.addEventListener(g,I,!1)}))}function x(A,g,I){f(Z(g),(function(g){A.removeEventListener(g,I,!1)}))}function w(A,g){for(;A;){if(A==g)return!0;A=A.parentNode}return!1}function M(A,g){return A.indexOf(g)>-1}function Z(A){return A.trim().split(/\s+/g)}function D(A,g,I){if(A.indexOf&&!I)return A.indexOf(g);for(var C=0;C<A.length;){if(I&&A[C][I]==g||!I&&A[C]===g)return C;C++}return-1}function T(A){return Array.prototype.slice.call(A,0)}function O(A,g,I){for(var C=[],t=[],e=0;e<A.length;){var n=g?A[e][g]:A[e];D(t,n)<0&&C.push(A[e]),t[e]=n,e++}return I&&(C=g?C.sort((function(A,I){return A[g]>I[g]})):C.sort()),C}function j(A,g){for(var I,C,t=g[0].toUpperCase()+g.slice(1),e=0;e<a.length;){if((C=(I=a[e])?I+t:g)in A)return C;e++}return i}var N=1;function E(A){var g=A.ownerDocument||A;return g.defaultView||g.parentWindow||t}var G="ontouchstart"in t,X=j(t,"PointerEvent")!==i,H=G&&/mobile|tablet|ip(ad|hone|od)|android/i.test(navigator.userAgent),k=25,Y=1,W=2,L=4,S=8,F=1,V=2,U=4,B=8,J=16,K=V|U,Q=B|J,q=K|Q,_=["x","y"],$=["clientX","clientY"];function AA(A,g){var I=this;this.manager=A,this.callback=g,this.element=A.element,this.target=A.options.inputTarget,this.domHandler=function(g){z(A.options.enable,[A])&&I.handler(g)},this.init()}function gA(A,g,I){var C=I.pointers.length,t=I.changedPointers.length,e=g&Y&&C-t==0,n=g&(L|S)&&C-t==0;I.isFirst=!!e,I.isFinal=!!n,e&&(A.session={}),I.eventType=g,function(A,g){var I=A.session,C=g.pointers,t=C.length;I.firstInput||(I.firstInput=IA(g));t>1&&!I.firstMultiple?I.firstMultiple=IA(g):1===t&&(I.firstMultiple=!1);var e=I.firstInput,n=I.firstMultiple,r=n?n.center:e.center,a=g.center=CA(C);g.timeStamp=u(),g.deltaTime=g.timeStamp-e.timeStamp,g.angle=iA(r,a),g.distance=nA(r,a),function(A,g){var I=g.center,C=A.offsetDelta||{},t=A.prevDelta||{},e=A.prevInput||{};g.eventType!==Y&&e.eventType!==L||(t=A.prevDelta={x:e.deltaX||0,y:e.deltaY||0},C=A.offsetDelta={x:I.x,y:I.y});g.deltaX=t.x+(I.x-C.x),g.deltaY=t.y+(I.y-C.y)}(I,g),g.offsetDirection=eA(g.deltaX,g.deltaY);var o=tA(g.deltaTime,g.deltaX,g.deltaY);g.overallVelocityX=o.x,g.overallVelocityY=o.y,g.overallVelocity=c(o.x)>c(o.y)?o.x:o.y,g.scale=n?(s=n.pointers,l=C,nA(l[0],l[1],$)/nA(s[0],s[1],$)):1,g.rotation=n?function(A,g){return iA(g[1],g[0],$)+iA(A[1],A[0],$)}(n.pointers,C):0,g.maxPointers=I.prevInput?g.pointers.length>I.prevInput.maxPointers?g.pointers.length:I.prevInput.maxPointers:g.pointers.length,function(A,g){var I,C,t,e,n=A.lastInterval||g,r=g.timeStamp-n.timeStamp;if(g.eventType!=S&&(r>k||n.velocity===i)){var a=g.deltaX-n.deltaX,o=g.deltaY-n.deltaY,s=tA(r,a,o);C=s.x,t=s.y,I=c(s.x)>c(s.y)?s.x:s.y,e=eA(a,o),A.lastInterval=g}else I=n.velocity,C=n.velocityX,t=n.velocityY,e=n.direction;g.velocity=I,g.velocityX=C,g.velocityY=t,g.direction=e}(I,g);var s,l;var v=A.element;w(g.srcEvent.target,v)&&(v=g.srcEvent.target);g.target=v}(A,I),A.emit("hammer.input",I),A.recognize(I),A.session.prevInput=I}function IA(A){for(var g=[],I=0;I<A.pointers.length;)g[I]={clientX:l(A.pointers[I].clientX),clientY:l(A.pointers[I].clientY)},I++;return{timeStamp:u(),pointers:g,center:CA(g),deltaX:A.deltaX,deltaY:A.deltaY}}function CA(A){var g=A.length;if(1===g)return{x:l(A[0].clientX),y:l(A[0].clientY)};for(var I=0,C=0,t=0;t<g;)I+=A[t].clientX,C+=A[t].clientY,t++;return{x:l(I/g),y:l(C/g)}}function tA(A,g,I){return{x:g/A||0,y:I/A||0}}function eA(A,g){return A===g?F:c(A)>=c(g)?A<0?V:U:g<0?B:J}function nA(A,g,I){I||(I=_);var C=g[I[0]]-A[I[0]],t=g[I[1]]-A[I[1]];return Math.sqrt(C*C+t*t)}function iA(A,g,I){I||(I=_);var C=g[I[0]]-A[I[0]],t=g[I[1]]-A[I[1]];return 180*Math.atan2(t,C)/Math.PI}AA.prototype={handler:function(){},init:function(){this.evEl&&R(this.element,this.evEl,this.domHandler),this.evTarget&&R(this.target,this.evTarget,this.domHandler),this.evWin&&R(E(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&x(this.element,this.evEl,this.domHandler),this.evTarget&&x(this.target,this.evTarget,this.domHandler),this.evWin&&x(E(this.element),this.evWin,this.domHandler)}};var rA={mousedown:Y,mousemove:W,mouseup:L},aA="mousedown",oA="mousemove mouseup";function sA(){this.evEl=aA,this.evWin=oA,this.pressed=!1,AA.apply(this,arguments)}b(sA,AA,{handler:function(A){var g=rA[A.type];g&Y&&0===A.button&&(this.pressed=!0),g&W&&1!==A.which&&(g=L),this.pressed&&(g&L&&(this.pressed=!1),this.callback(this.manager,g,{pointers:[A],changedPointers:[A],pointerType:"mouse",srcEvent:A}))}});var lA={pointerdown:Y,pointermove:W,pointerup:L,pointercancel:S,pointerout:S},cA={2:"touch",3:"pen",4:"mouse",5:"kinect"},uA="pointerdown",vA="pointermove pointerup pointercancel";function pA(){this.evEl=uA,this.evWin=vA,AA.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}t.MSPointerEvent&&!t.PointerEvent&&(uA="MSPointerDown",vA="MSPointerMove MSPointerUp MSPointerCancel"),b(pA,AA,{handler:function(A){var g=this.store,I=!1,C=A.type.toLowerCase().replace("ms",""),t=lA[C],e=cA[A.pointerType]||A.pointerType,n="touch"==e,i=D(g,A.pointerId,"pointerId");t&Y&&(0===A.button||n)?i<0&&(g.push(A),i=g.length-1):t&(L|S)&&(I=!0),i<0||(g[i]=A,this.callback(this.manager,t,{pointers:g,changedPointers:[A],pointerType:e,srcEvent:A}),I&&g.splice(i,1))}});var fA={touchstart:Y,touchmove:W,touchend:L,touchcancel:S},dA="touchstart",hA="touchstart touchmove touchend touchcancel";function mA(){this.evTarget=dA,this.evWin=hA,this.started=!1,AA.apply(this,arguments)}function bA(A,g){var I=T(A.touches),C=T(A.changedTouches);return g&(L|S)&&(I=O(I.concat(C),"identifier",!0)),[I,C]}b(mA,AA,{handler:function(A){var g=fA[A.type];if(g===Y&&(this.started=!0),this.started){var I=bA.call(this,A,g);g&(L|S)&&I[0].length-I[1].length==0&&(this.started=!1),this.callback(this.manager,g,{pointers:I[0],changedPointers:I[1],pointerType:"touch",srcEvent:A})}}});var yA={touchstart:Y,touchmove:W,touchend:L,touchcancel:S},zA="touchstart touchmove touchend touchcancel";function PA(){this.evTarget=zA,this.targetIds={},AA.apply(this,arguments)}function RA(A,g){var I=T(A.touches),C=this.targetIds;if(g&(Y|W)&&1===I.length)return C[I[0].identifier]=!0,[I,I];var t,e,n=T(A.changedTouches),i=[],r=this.target;if(e=I.filter((function(A){return w(A.target,r)})),g===Y)for(t=0;t<e.length;)C[e[t].identifier]=!0,t++;for(t=0;t<n.length;)C[n[t].identifier]&&i.push(n[t]),g&(L|S)&&delete C[n[t].identifier],t++;return i.length?[O(e.concat(i),"identifier",!0),i]:void 0}b(PA,AA,{handler:function(A){var g=yA[A.type],I=RA.call(this,A,g);I&&this.callback(this.manager,g,{pointers:I[0],changedPointers:I[1],pointerType:"touch",srcEvent:A})}});var xA=2500,wA=25;function MA(){AA.apply(this,arguments);var A=y(this.handler,this);this.touch=new PA(this.manager,A),this.mouse=new sA(this.manager,A),this.primaryTouch=null,this.lastTouches=[]}function ZA(A,g){A&Y?(this.primaryTouch=g.changedPointers[0].identifier,DA.call(this,g)):A&(L|S)&&DA.call(this,g)}function DA(A){var g=A.changedPointers[0];if(g.identifier===this.primaryTouch){var I={x:g.clientX,y:g.clientY};this.lastTouches.push(I);var C=this.lastTouches;setTimeout((function(){var A=C.indexOf(I);A>-1&&C.splice(A,1)}),xA)}}function TA(A){for(var g=A.srcEvent.clientX,I=A.srcEvent.clientY,C=0;C<this.lastTouches.length;C++){var t=this.lastTouches[C],e=Math.abs(g-t.x),n=Math.abs(I-t.y);if(e<=wA&&n<=wA)return!0}return!1}b(MA,AA,{handler:function(A,g,I){var C="touch"==I.pointerType,t="mouse"==I.pointerType;if(!(t&&I.sourceCapabilities&&I.sourceCapabilities.firesTouchEvents)){if(C)ZA.call(this,g,I);else if(t&&TA.call(this,I))return;this.callback(A,g,I)}},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});var OA=j(o.style,"touchAction"),jA=OA!==i,NA="auto",EA="manipulation",GA="none",XA="pan-x",HA="pan-y",kA=function(){if(!jA)return!1;var A={},g=t.CSS&&t.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach((function(I){A[I]=!g||t.CSS.supports("touch-action",I)})),A}();function YA(A,g){this.manager=A,this.set(g)}YA.prototype={set:function(A){"compute"==A&&(A=this.compute()),jA&&this.manager.element.style&&kA[A]&&(this.manager.element.style[OA]=A),this.actions=A.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var A=[];return f(this.manager.recognizers,(function(g){z(g.options.enable,[g])&&(A=A.concat(g.getTouchAction()))})),function(A){if(M(A,GA))return GA;var g=M(A,XA),I=M(A,HA);if(g&&I)return GA;if(g||I)return g?XA:HA;if(M(A,EA))return EA;return NA}(A.join(" "))},preventDefaults:function(A){var g=A.srcEvent,I=A.offsetDirection;if(this.manager.session.prevented)g.preventDefault();else{var C=this.actions,t=M(C,GA)&&!kA[GA],e=M(C,HA)&&!kA[HA],n=M(C,XA)&&!kA[XA];if(t){var i=1===A.pointers.length,r=A.distance<2,a=A.deltaTime<250;if(i&&r&&a)return}if(!n||!e)return t||e&&I&K||n&&I&Q?this.preventSrc(g):void 0}},preventSrc:function(A){this.manager.session.prevented=!0,A.preventDefault()}};var WA=1,LA=2,SA=4,FA=8,VA=FA,UA=16;function BA(A){this.options=r({},this.defaults,A||{}),this.id=N++,this.manager=null,this.options.enable=P(this.options.enable,!0),this.state=WA,this.simultaneous={},this.requireFail=[]}function JA(A){return A&UA?"cancel":A&FA?"end":A&SA?"move":A&LA?"start":""}function KA(A){return A==J?"down":A==B?"up":A==V?"left":A==U?"right":""}function QA(A,g){var I=g.manager;return I?I.get(A):A}function qA(){BA.apply(this,arguments)}function _A(){qA.apply(this,arguments),this.pX=null,this.pY=null}function $A(){qA.apply(this,arguments)}function Ag(){BA.apply(this,arguments),this._timer=null,this._input=null}function gg(){qA.apply(this,arguments)}function Ig(){qA.apply(this,arguments)}function Cg(){BA.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}function tg(A,g){return(g=g||{}).recognizers=P(g.recognizers,tg.defaults.preset),new eg(A,g)}BA.prototype={defaults:{},set:function(A){return r(this.options,A),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(A){if(p(A,"recognizeWith",this))return this;var g=this.simultaneous;return g[(A=QA(A,this)).id]||(g[A.id]=A,A.recognizeWith(this)),this},dropRecognizeWith:function(A){return p(A,"dropRecognizeWith",this)?this:(A=QA(A,this),delete this.simultaneous[A.id],this)},requireFailure:function(A){if(p(A,"requireFailure",this))return this;var g=this.requireFail;return-1===D(g,A=QA(A,this))&&(g.push(A),A.requireFailure(this)),this},dropRequireFailure:function(A){if(p(A,"dropRequireFailure",this))return this;A=QA(A,this);var g=D(this.requireFail,A);return g>-1&&this.requireFail.splice(g,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(A){return!!this.simultaneous[A.id]},emit:function(A){var g=this,I=this.state;function C(I){g.manager.emit(I,A)}I<FA&&C(g.options.event+JA(I)),C(g.options.event),A.additionalEvent&&C(A.additionalEvent),I>=FA&&C(g.options.event+JA(I))},tryEmit:function(A){if(this.canEmit())return this.emit(A);this.state=32},canEmit:function(){for(var A=0;A<this.requireFail.length;){if(!(this.requireFail[A].state&(32|WA)))return!1;A++}return!0},recognize:function(A){var g=r({},A);if(!z(this.options.enable,[this,g]))return this.reset(),void(this.state=32);this.state&(VA|UA|32)&&(this.state=WA),this.state=this.process(g),this.state&(LA|SA|FA|UA)&&this.tryEmit(g)},process:function(A){},getTouchAction:function(){},reset:function(){}},b(qA,BA,{defaults:{pointers:1},attrTest:function(A){var g=this.options.pointers;return 0===g||A.pointers.length===g},process:function(A){var g=this.state,I=A.eventType,C=g&(LA|SA),t=this.attrTest(A);return C&&(I&S||!t)?g|UA:C||t?I&L?g|FA:g&LA?g|SA:LA:32}}),b(_A,qA,{defaults:{event:"pan",threshold:10,pointers:1,direction:q},getTouchAction:function(){var A=this.options.direction,g=[];return A&K&&g.push(HA),A&Q&&g.push(XA),g},directionTest:function(A){var g=this.options,I=!0,C=A.distance,t=A.direction,e=A.deltaX,n=A.deltaY;return t&g.direction||(g.direction&K?(t=0===e?F:e<0?V:U,I=e!=this.pX,C=Math.abs(A.deltaX)):(t=0===n?F:n<0?B:J,I=n!=this.pY,C=Math.abs(A.deltaY))),A.direction=t,I&&C>g.threshold&&t&g.direction},attrTest:function(A){return qA.prototype.attrTest.call(this,A)&&(this.state&LA||!(this.state&LA)&&this.directionTest(A))},emit:function(A){this.pX=A.deltaX,this.pY=A.deltaY;var g=KA(A.direction);g&&(A.additionalEvent=this.options.event+g),this._super.emit.call(this,A)}}),b($A,qA,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[GA]},attrTest:function(A){return this._super.attrTest.call(this,A)&&(Math.abs(A.scale-1)>this.options.threshold||this.state&LA)},emit:function(A){if(1!==A.scale){var g=A.scale<1?"in":"out";A.additionalEvent=this.options.event+g}this._super.emit.call(this,A)}}),b(Ag,BA,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return[NA]},process:function(A){var g=this.options,I=A.pointers.length===g.pointers,C=A.distance<g.threshold,t=A.deltaTime>g.time;if(this._input=A,!C||!I||A.eventType&(L|S)&&!t)this.reset();else if(A.eventType&Y)this.reset(),this._timer=v((function(){this.state=VA,this.tryEmit()}),g.time,this);else if(A.eventType&L)return VA;return 32},reset:function(){clearTimeout(this._timer)},emit:function(A){this.state===VA&&(A&&A.eventType&L?this.manager.emit(this.options.event+"up",A):(this._input.timeStamp=u(),this.manager.emit(this.options.event,this._input)))}}),b(gg,qA,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[GA]},attrTest:function(A){return this._super.attrTest.call(this,A)&&(Math.abs(A.rotation)>this.options.threshold||this.state&LA)}}),b(Ig,qA,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:K|Q,pointers:1},getTouchAction:function(){return _A.prototype.getTouchAction.call(this)},attrTest:function(A){var g,I=this.options.direction;return I&(K|Q)?g=A.overallVelocity:I&K?g=A.overallVelocityX:I&Q&&(g=A.overallVelocityY),this._super.attrTest.call(this,A)&&I&A.offsetDirection&&A.distance>this.options.threshold&&A.maxPointers==this.options.pointers&&c(g)>this.options.velocity&&A.eventType&L},emit:function(A){var g=KA(A.offsetDirection);g&&this.manager.emit(this.options.event+g,A),this.manager.emit(this.options.event,A)}}),b(Cg,BA,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[EA]},process:function(A){var g=this.options,I=A.pointers.length===g.pointers,C=A.distance<g.threshold,t=A.deltaTime<g.time;if(this.reset(),A.eventType&Y&&0===this.count)return this.failTimeout();if(C&&t&&I){if(A.eventType!=L)return this.failTimeout();var e=!this.pTime||A.timeStamp-this.pTime<g.interval,n=!this.pCenter||nA(this.pCenter,A.center)<g.posThreshold;if(this.pTime=A.timeStamp,this.pCenter=A.center,n&&e?this.count+=1:this.count=1,this._input=A,0===this.count%g.taps)return this.hasRequireFailures()?(this._timer=v((function(){this.state=VA,this.tryEmit()}),g.interval,this),LA):VA}return 32},failTimeout:function(){return this._timer=v((function(){this.state=32}),this.options.interval,this),32},reset:function(){clearTimeout(this._timer)},emit:function(){this.state==VA&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}}),tg.VERSION="2.0.7",tg.defaults={domEvents:!1,touchAction:"compute",enable:!0,inputTarget:null,inputClass:null,preset:[[gg,{enable:!1}],[$A,{enable:!1},["rotate"]],[Ig,{direction:K}],[_A,{direction:K},["swipe"]],[Cg],[Cg,{event:"doubletap",taps:2},["tap"]],[Ag]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}};function eg(A,g){var I;this.options=r({},tg.defaults,g||{}),this.options.inputTarget=this.options.inputTarget||A,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=A,this.input=new((I=this).options.inputClass||(X?pA:H?PA:G?MA:sA))(I,gA),this.touchAction=new YA(this,this.options.touchAction),ng(this,!0),f(this.options.recognizers,(function(A){var g=this.add(new A[0](A[1]));A[2]&&g.recognizeWith(A[2]),A[3]&&g.requireFailure(A[3])}),this)}function ng(A,g){var I,C=A.element;C.style&&(f(A.options.cssProps,(function(t,e){I=j(C.style,e),g?(A.oldCssProps[I]=C.style[I],C.style[I]=t):C.style[I]=A.oldCssProps[I]||""})),g||(A.oldCssProps={}))}eg.prototype={set:function(A){return r(this.options,A),A.touchAction&&this.touchAction.update(),A.inputTarget&&(this.input.destroy(),this.input.target=A.inputTarget,this.input.init()),this},stop:function(A){this.session.stopped=A?2:1},recognize:function(A){var g=this.session;if(!g.stopped){var I;this.touchAction.preventDefaults(A);var C=this.recognizers,t=g.curRecognizer;(!t||t&&t.state&VA)&&(t=g.curRecognizer=null);for(var e=0;e<C.length;)I=C[e],2===g.stopped||t&&I!=t&&!I.canRecognizeWith(t)?I.reset():I.recognize(A),!t&&I.state&(LA|SA|FA)&&(t=g.curRecognizer=I),e++}},get:function(A){if(A instanceof BA)return A;for(var g=this.recognizers,I=0;I<g.length;I++)if(g[I].options.event==A)return g[I];return null},add:function(A){if(p(A,"add",this))return this;var g=this.get(A.options.event);return g&&this.remove(g),this.recognizers.push(A),A.manager=this,this.touchAction.update(),A},remove:function(A){if(p(A,"remove",this))return this;if(A=this.get(A)){var g=this.recognizers,I=D(g,A);-1!==I&&(g.splice(I,1),this.touchAction.update())}return this},on:function(A,g){if(A!==i&&g!==i){var I=this.handlers;return f(Z(A),(function(A){I[A]=I[A]||[],I[A].push(g)})),this}},off:function(A,g){if(A!==i){var I=this.handlers;return f(Z(A),(function(A){g?I[A]&&I[A].splice(D(I[A],g),1):delete I[A]})),this}},emit:function(A,g){this.options.domEvents&&function(A,g){var I=e.createEvent("Event");I.initEvent(A,!0,!0),I.gesture=g,g.target.dispatchEvent(I)}(A,g);var I=this.handlers[A]&&this.handlers[A].slice();if(I&&I.length){g.type=A,g.preventDefault=function(){g.srcEvent.preventDefault()};for(var C=0;C<I.length;)I[C](g),C++}},destroy:function(){this.element&&ng(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}},r(tg,{INPUT_START:Y,INPUT_MOVE:W,INPUT_END:L,INPUT_CANCEL:S,STATE_POSSIBLE:WA,STATE_BEGAN:LA,STATE_CHANGED:SA,STATE_ENDED:FA,STATE_RECOGNIZED:VA,STATE_CANCELLED:UA,STATE_FAILED:32,DIRECTION_NONE:F,DIRECTION_LEFT:V,DIRECTION_RIGHT:U,DIRECTION_UP:B,DIRECTION_DOWN:J,DIRECTION_HORIZONTAL:K,DIRECTION_VERTICAL:Q,DIRECTION_ALL:q,Manager:eg,Input:AA,TouchAction:YA,TouchInput:PA,MouseInput:sA,PointerEventInput:pA,TouchMouseInput:MA,SingleTouchInput:mA,Recognizer:BA,AttrRecognizer:qA,Tap:Cg,Pan:_A,Swipe:Ig,Pinch:$A,Rotate:gg,Press:Ag,on:R,off:x,each:f,merge:m,extend:h,assign:r,inherit:b,bindFn:y,prefixed:j}),(void 0!==t?t:"undefined"!=typeof self?self:{}).Hammer=tg,(C=function(){return tg}.call(g,I,g,A))===i||(A.exports=C)}(window,document)},
|
|
483
|
+
* Licensed under the MIT license */!function(t,e,n,i){"use strict";var r,a=["","webkit","Moz","MS","ms","o"],o=e.createElement("div"),s="function",l=Math.round,c=Math.abs,u=Date.now;function v(A,g,I){return setTimeout(y(A,I),g)}function p(A,g,I){return!!Array.isArray(A)&&(f(A,I[g],I),!0)}function f(A,g,I){var C;if(A)if(A.forEach)A.forEach(g,I);else if(A.length!==i)for(C=0;C<A.length;)g.call(I,A[C],C,A),C++;else for(C in A)A.hasOwnProperty(C)&&g.call(I,A[C],C,A)}function d(A,g,I){var C="DEPRECATED METHOD: "+g+"\n"+I+" AT \n";return function(){var g=new Error("get-stack-trace"),I=g&&g.stack?g.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",e=t.console&&(t.console.warn||t.console.log);return e&&e.call(t.console,C,I),A.apply(this,arguments)}}r="function"!=typeof Object.assign?function(A){if(A===i||null===A)throw new TypeError("Cannot convert undefined or null to object");for(var g=Object(A),I=1;I<arguments.length;I++){var C=arguments[I];if(C!==i&&null!==C)for(var t in C)C.hasOwnProperty(t)&&(g[t]=C[t])}return g}:Object.assign;var h=d((function(A,g,I){for(var C=Object.keys(g),t=0;t<C.length;)(!I||I&&A[C[t]]===i)&&(A[C[t]]=g[C[t]]),t++;return A}),"extend","Use `assign`."),m=d((function(A,g){return h(A,g,!0)}),"merge","Use `assign`.");function b(A,g,I){var C,t=g.prototype;(C=A.prototype=Object.create(t)).constructor=A,C._super=t,I&&r(C,I)}function y(A,g){return function(){return A.apply(g,arguments)}}function z(A,g){return typeof A==s?A.apply(g&&g[0]||i,g):A}function P(A,g){return A===i?g:A}function R(A,g,I){f(Z(g),(function(g){A.addEventListener(g,I,!1)}))}function x(A,g,I){f(Z(g),(function(g){A.removeEventListener(g,I,!1)}))}function w(A,g){for(;A;){if(A==g)return!0;A=A.parentNode}return!1}function M(A,g){return A.indexOf(g)>-1}function Z(A){return A.trim().split(/\s+/g)}function D(A,g,I){if(A.indexOf&&!I)return A.indexOf(g);for(var C=0;C<A.length;){if(I&&A[C][I]==g||!I&&A[C]===g)return C;C++}return-1}function T(A){return Array.prototype.slice.call(A,0)}function O(A,g,I){for(var C=[],t=[],e=0;e<A.length;){var n=g?A[e][g]:A[e];D(t,n)<0&&C.push(A[e]),t[e]=n,e++}return I&&(C=g?C.sort((function(A,I){return A[g]>I[g]})):C.sort()),C}function j(A,g){for(var I,C,t=g[0].toUpperCase()+g.slice(1),e=0;e<a.length;){if((C=(I=a[e])?I+t:g)in A)return C;e++}return i}var N=1;function E(A){var g=A.ownerDocument||A;return g.defaultView||g.parentWindow||t}var G="ontouchstart"in t,X=j(t,"PointerEvent")!==i,H=G&&/mobile|tablet|ip(ad|hone|od)|android/i.test(navigator.userAgent),k=25,Y=1,W=2,L=4,S=8,F=1,V=2,B=4,U=8,J=16,K=V|B,Q=U|J,q=K|Q,_=["x","y"],$=["clientX","clientY"];function AA(A,g){var I=this;this.manager=A,this.callback=g,this.element=A.element,this.target=A.options.inputTarget,this.domHandler=function(g){z(A.options.enable,[A])&&I.handler(g)},this.init()}function gA(A,g,I){var C=I.pointers.length,t=I.changedPointers.length,e=g&Y&&C-t==0,n=g&(L|S)&&C-t==0;I.isFirst=!!e,I.isFinal=!!n,e&&(A.session={}),I.eventType=g,function(A,g){var I=A.session,C=g.pointers,t=C.length;I.firstInput||(I.firstInput=IA(g));t>1&&!I.firstMultiple?I.firstMultiple=IA(g):1===t&&(I.firstMultiple=!1);var e=I.firstInput,n=I.firstMultiple,r=n?n.center:e.center,a=g.center=CA(C);g.timeStamp=u(),g.deltaTime=g.timeStamp-e.timeStamp,g.angle=iA(r,a),g.distance=nA(r,a),function(A,g){var I=g.center,C=A.offsetDelta||{},t=A.prevDelta||{},e=A.prevInput||{};g.eventType!==Y&&e.eventType!==L||(t=A.prevDelta={x:e.deltaX||0,y:e.deltaY||0},C=A.offsetDelta={x:I.x,y:I.y});g.deltaX=t.x+(I.x-C.x),g.deltaY=t.y+(I.y-C.y)}(I,g),g.offsetDirection=eA(g.deltaX,g.deltaY);var o=tA(g.deltaTime,g.deltaX,g.deltaY);g.overallVelocityX=o.x,g.overallVelocityY=o.y,g.overallVelocity=c(o.x)>c(o.y)?o.x:o.y,g.scale=n?(s=n.pointers,l=C,nA(l[0],l[1],$)/nA(s[0],s[1],$)):1,g.rotation=n?function(A,g){return iA(g[1],g[0],$)+iA(A[1],A[0],$)}(n.pointers,C):0,g.maxPointers=I.prevInput?g.pointers.length>I.prevInput.maxPointers?g.pointers.length:I.prevInput.maxPointers:g.pointers.length,function(A,g){var I,C,t,e,n=A.lastInterval||g,r=g.timeStamp-n.timeStamp;if(g.eventType!=S&&(r>k||n.velocity===i)){var a=g.deltaX-n.deltaX,o=g.deltaY-n.deltaY,s=tA(r,a,o);C=s.x,t=s.y,I=c(s.x)>c(s.y)?s.x:s.y,e=eA(a,o),A.lastInterval=g}else I=n.velocity,C=n.velocityX,t=n.velocityY,e=n.direction;g.velocity=I,g.velocityX=C,g.velocityY=t,g.direction=e}(I,g);var s,l;var v=A.element;w(g.srcEvent.target,v)&&(v=g.srcEvent.target);g.target=v}(A,I),A.emit("hammer.input",I),A.recognize(I),A.session.prevInput=I}function IA(A){for(var g=[],I=0;I<A.pointers.length;)g[I]={clientX:l(A.pointers[I].clientX),clientY:l(A.pointers[I].clientY)},I++;return{timeStamp:u(),pointers:g,center:CA(g),deltaX:A.deltaX,deltaY:A.deltaY}}function CA(A){var g=A.length;if(1===g)return{x:l(A[0].clientX),y:l(A[0].clientY)};for(var I=0,C=0,t=0;t<g;)I+=A[t].clientX,C+=A[t].clientY,t++;return{x:l(I/g),y:l(C/g)}}function tA(A,g,I){return{x:g/A||0,y:I/A||0}}function eA(A,g){return A===g?F:c(A)>=c(g)?A<0?V:B:g<0?U:J}function nA(A,g,I){I||(I=_);var C=g[I[0]]-A[I[0]],t=g[I[1]]-A[I[1]];return Math.sqrt(C*C+t*t)}function iA(A,g,I){I||(I=_);var C=g[I[0]]-A[I[0]],t=g[I[1]]-A[I[1]];return 180*Math.atan2(t,C)/Math.PI}AA.prototype={handler:function(){},init:function(){this.evEl&&R(this.element,this.evEl,this.domHandler),this.evTarget&&R(this.target,this.evTarget,this.domHandler),this.evWin&&R(E(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&x(this.element,this.evEl,this.domHandler),this.evTarget&&x(this.target,this.evTarget,this.domHandler),this.evWin&&x(E(this.element),this.evWin,this.domHandler)}};var rA={mousedown:Y,mousemove:W,mouseup:L},aA="mousedown",oA="mousemove mouseup";function sA(){this.evEl=aA,this.evWin=oA,this.pressed=!1,AA.apply(this,arguments)}b(sA,AA,{handler:function(A){var g=rA[A.type];g&Y&&0===A.button&&(this.pressed=!0),g&W&&1!==A.which&&(g=L),this.pressed&&(g&L&&(this.pressed=!1),this.callback(this.manager,g,{pointers:[A],changedPointers:[A],pointerType:"mouse",srcEvent:A}))}});var lA={pointerdown:Y,pointermove:W,pointerup:L,pointercancel:S,pointerout:S},cA={2:"touch",3:"pen",4:"mouse",5:"kinect"},uA="pointerdown",vA="pointermove pointerup pointercancel";function pA(){this.evEl=uA,this.evWin=vA,AA.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}t.MSPointerEvent&&!t.PointerEvent&&(uA="MSPointerDown",vA="MSPointerMove MSPointerUp MSPointerCancel"),b(pA,AA,{handler:function(A){var g=this.store,I=!1,C=A.type.toLowerCase().replace("ms",""),t=lA[C],e=cA[A.pointerType]||A.pointerType,n="touch"==e,i=D(g,A.pointerId,"pointerId");t&Y&&(0===A.button||n)?i<0&&(g.push(A),i=g.length-1):t&(L|S)&&(I=!0),i<0||(g[i]=A,this.callback(this.manager,t,{pointers:g,changedPointers:[A],pointerType:e,srcEvent:A}),I&&g.splice(i,1))}});var fA={touchstart:Y,touchmove:W,touchend:L,touchcancel:S},dA="touchstart",hA="touchstart touchmove touchend touchcancel";function mA(){this.evTarget=dA,this.evWin=hA,this.started=!1,AA.apply(this,arguments)}function bA(A,g){var I=T(A.touches),C=T(A.changedTouches);return g&(L|S)&&(I=O(I.concat(C),"identifier",!0)),[I,C]}b(mA,AA,{handler:function(A){var g=fA[A.type];if(g===Y&&(this.started=!0),this.started){var I=bA.call(this,A,g);g&(L|S)&&I[0].length-I[1].length==0&&(this.started=!1),this.callback(this.manager,g,{pointers:I[0],changedPointers:I[1],pointerType:"touch",srcEvent:A})}}});var yA={touchstart:Y,touchmove:W,touchend:L,touchcancel:S},zA="touchstart touchmove touchend touchcancel";function PA(){this.evTarget=zA,this.targetIds={},AA.apply(this,arguments)}function RA(A,g){var I=T(A.touches),C=this.targetIds;if(g&(Y|W)&&1===I.length)return C[I[0].identifier]=!0,[I,I];var t,e,n=T(A.changedTouches),i=[],r=this.target;if(e=I.filter((function(A){return w(A.target,r)})),g===Y)for(t=0;t<e.length;)C[e[t].identifier]=!0,t++;for(t=0;t<n.length;)C[n[t].identifier]&&i.push(n[t]),g&(L|S)&&delete C[n[t].identifier],t++;return i.length?[O(e.concat(i),"identifier",!0),i]:void 0}b(PA,AA,{handler:function(A){var g=yA[A.type],I=RA.call(this,A,g);I&&this.callback(this.manager,g,{pointers:I[0],changedPointers:I[1],pointerType:"touch",srcEvent:A})}});var xA=2500,wA=25;function MA(){AA.apply(this,arguments);var A=y(this.handler,this);this.touch=new PA(this.manager,A),this.mouse=new sA(this.manager,A),this.primaryTouch=null,this.lastTouches=[]}function ZA(A,g){A&Y?(this.primaryTouch=g.changedPointers[0].identifier,DA.call(this,g)):A&(L|S)&&DA.call(this,g)}function DA(A){var g=A.changedPointers[0];if(g.identifier===this.primaryTouch){var I={x:g.clientX,y:g.clientY};this.lastTouches.push(I);var C=this.lastTouches;setTimeout((function(){var A=C.indexOf(I);A>-1&&C.splice(A,1)}),xA)}}function TA(A){for(var g=A.srcEvent.clientX,I=A.srcEvent.clientY,C=0;C<this.lastTouches.length;C++){var t=this.lastTouches[C],e=Math.abs(g-t.x),n=Math.abs(I-t.y);if(e<=wA&&n<=wA)return!0}return!1}b(MA,AA,{handler:function(A,g,I){var C="touch"==I.pointerType,t="mouse"==I.pointerType;if(!(t&&I.sourceCapabilities&&I.sourceCapabilities.firesTouchEvents)){if(C)ZA.call(this,g,I);else if(t&&TA.call(this,I))return;this.callback(A,g,I)}},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});var OA=j(o.style,"touchAction"),jA=OA!==i,NA="auto",EA="manipulation",GA="none",XA="pan-x",HA="pan-y",kA=function(){if(!jA)return!1;var A={},g=t.CSS&&t.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach((function(I){A[I]=!g||t.CSS.supports("touch-action",I)})),A}();function YA(A,g){this.manager=A,this.set(g)}YA.prototype={set:function(A){"compute"==A&&(A=this.compute()),jA&&this.manager.element.style&&kA[A]&&(this.manager.element.style[OA]=A),this.actions=A.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var A=[];return f(this.manager.recognizers,(function(g){z(g.options.enable,[g])&&(A=A.concat(g.getTouchAction()))})),function(A){if(M(A,GA))return GA;var g=M(A,XA),I=M(A,HA);if(g&&I)return GA;if(g||I)return g?XA:HA;if(M(A,EA))return EA;return NA}(A.join(" "))},preventDefaults:function(A){var g=A.srcEvent,I=A.offsetDirection;if(this.manager.session.prevented)g.preventDefault();else{var C=this.actions,t=M(C,GA)&&!kA[GA],e=M(C,HA)&&!kA[HA],n=M(C,XA)&&!kA[XA];if(t){var i=1===A.pointers.length,r=A.distance<2,a=A.deltaTime<250;if(i&&r&&a)return}if(!n||!e)return t||e&&I&K||n&&I&Q?this.preventSrc(g):void 0}},preventSrc:function(A){this.manager.session.prevented=!0,A.preventDefault()}};var WA=1,LA=2,SA=4,FA=8,VA=FA,BA=16;function UA(A){this.options=r({},this.defaults,A||{}),this.id=N++,this.manager=null,this.options.enable=P(this.options.enable,!0),this.state=WA,this.simultaneous={},this.requireFail=[]}function JA(A){return A&BA?"cancel":A&FA?"end":A&SA?"move":A&LA?"start":""}function KA(A){return A==J?"down":A==U?"up":A==V?"left":A==B?"right":""}function QA(A,g){var I=g.manager;return I?I.get(A):A}function qA(){UA.apply(this,arguments)}function _A(){qA.apply(this,arguments),this.pX=null,this.pY=null}function $A(){qA.apply(this,arguments)}function Ag(){UA.apply(this,arguments),this._timer=null,this._input=null}function gg(){qA.apply(this,arguments)}function Ig(){qA.apply(this,arguments)}function Cg(){UA.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}function tg(A,g){return(g=g||{}).recognizers=P(g.recognizers,tg.defaults.preset),new eg(A,g)}UA.prototype={defaults:{},set:function(A){return r(this.options,A),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(A){if(p(A,"recognizeWith",this))return this;var g=this.simultaneous;return g[(A=QA(A,this)).id]||(g[A.id]=A,A.recognizeWith(this)),this},dropRecognizeWith:function(A){return p(A,"dropRecognizeWith",this)?this:(A=QA(A,this),delete this.simultaneous[A.id],this)},requireFailure:function(A){if(p(A,"requireFailure",this))return this;var g=this.requireFail;return-1===D(g,A=QA(A,this))&&(g.push(A),A.requireFailure(this)),this},dropRequireFailure:function(A){if(p(A,"dropRequireFailure",this))return this;A=QA(A,this);var g=D(this.requireFail,A);return g>-1&&this.requireFail.splice(g,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(A){return!!this.simultaneous[A.id]},emit:function(A){var g=this,I=this.state;function C(I){g.manager.emit(I,A)}I<FA&&C(g.options.event+JA(I)),C(g.options.event),A.additionalEvent&&C(A.additionalEvent),I>=FA&&C(g.options.event+JA(I))},tryEmit:function(A){if(this.canEmit())return this.emit(A);this.state=32},canEmit:function(){for(var A=0;A<this.requireFail.length;){if(!(this.requireFail[A].state&(32|WA)))return!1;A++}return!0},recognize:function(A){var g=r({},A);if(!z(this.options.enable,[this,g]))return this.reset(),void(this.state=32);this.state&(VA|BA|32)&&(this.state=WA),this.state=this.process(g),this.state&(LA|SA|FA|BA)&&this.tryEmit(g)},process:function(A){},getTouchAction:function(){},reset:function(){}},b(qA,UA,{defaults:{pointers:1},attrTest:function(A){var g=this.options.pointers;return 0===g||A.pointers.length===g},process:function(A){var g=this.state,I=A.eventType,C=g&(LA|SA),t=this.attrTest(A);return C&&(I&S||!t)?g|BA:C||t?I&L?g|FA:g&LA?g|SA:LA:32}}),b(_A,qA,{defaults:{event:"pan",threshold:10,pointers:1,direction:q},getTouchAction:function(){var A=this.options.direction,g=[];return A&K&&g.push(HA),A&Q&&g.push(XA),g},directionTest:function(A){var g=this.options,I=!0,C=A.distance,t=A.direction,e=A.deltaX,n=A.deltaY;return t&g.direction||(g.direction&K?(t=0===e?F:e<0?V:B,I=e!=this.pX,C=Math.abs(A.deltaX)):(t=0===n?F:n<0?U:J,I=n!=this.pY,C=Math.abs(A.deltaY))),A.direction=t,I&&C>g.threshold&&t&g.direction},attrTest:function(A){return qA.prototype.attrTest.call(this,A)&&(this.state&LA||!(this.state&LA)&&this.directionTest(A))},emit:function(A){this.pX=A.deltaX,this.pY=A.deltaY;var g=KA(A.direction);g&&(A.additionalEvent=this.options.event+g),this._super.emit.call(this,A)}}),b($A,qA,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[GA]},attrTest:function(A){return this._super.attrTest.call(this,A)&&(Math.abs(A.scale-1)>this.options.threshold||this.state&LA)},emit:function(A){if(1!==A.scale){var g=A.scale<1?"in":"out";A.additionalEvent=this.options.event+g}this._super.emit.call(this,A)}}),b(Ag,UA,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return[NA]},process:function(A){var g=this.options,I=A.pointers.length===g.pointers,C=A.distance<g.threshold,t=A.deltaTime>g.time;if(this._input=A,!C||!I||A.eventType&(L|S)&&!t)this.reset();else if(A.eventType&Y)this.reset(),this._timer=v((function(){this.state=VA,this.tryEmit()}),g.time,this);else if(A.eventType&L)return VA;return 32},reset:function(){clearTimeout(this._timer)},emit:function(A){this.state===VA&&(A&&A.eventType&L?this.manager.emit(this.options.event+"up",A):(this._input.timeStamp=u(),this.manager.emit(this.options.event,this._input)))}}),b(gg,qA,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[GA]},attrTest:function(A){return this._super.attrTest.call(this,A)&&(Math.abs(A.rotation)>this.options.threshold||this.state&LA)}}),b(Ig,qA,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:K|Q,pointers:1},getTouchAction:function(){return _A.prototype.getTouchAction.call(this)},attrTest:function(A){var g,I=this.options.direction;return I&(K|Q)?g=A.overallVelocity:I&K?g=A.overallVelocityX:I&Q&&(g=A.overallVelocityY),this._super.attrTest.call(this,A)&&I&A.offsetDirection&&A.distance>this.options.threshold&&A.maxPointers==this.options.pointers&&c(g)>this.options.velocity&&A.eventType&L},emit:function(A){var g=KA(A.offsetDirection);g&&this.manager.emit(this.options.event+g,A),this.manager.emit(this.options.event,A)}}),b(Cg,UA,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[EA]},process:function(A){var g=this.options,I=A.pointers.length===g.pointers,C=A.distance<g.threshold,t=A.deltaTime<g.time;if(this.reset(),A.eventType&Y&&0===this.count)return this.failTimeout();if(C&&t&&I){if(A.eventType!=L)return this.failTimeout();var e=!this.pTime||A.timeStamp-this.pTime<g.interval,n=!this.pCenter||nA(this.pCenter,A.center)<g.posThreshold;if(this.pTime=A.timeStamp,this.pCenter=A.center,n&&e?this.count+=1:this.count=1,this._input=A,0===this.count%g.taps)return this.hasRequireFailures()?(this._timer=v((function(){this.state=VA,this.tryEmit()}),g.interval,this),LA):VA}return 32},failTimeout:function(){return this._timer=v((function(){this.state=32}),this.options.interval,this),32},reset:function(){clearTimeout(this._timer)},emit:function(){this.state==VA&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}}),tg.VERSION="2.0.7",tg.defaults={domEvents:!1,touchAction:"compute",enable:!0,inputTarget:null,inputClass:null,preset:[[gg,{enable:!1}],[$A,{enable:!1},["rotate"]],[Ig,{direction:K}],[_A,{direction:K},["swipe"]],[Cg],[Cg,{event:"doubletap",taps:2},["tap"]],[Ag]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}};function eg(A,g){var I;this.options=r({},tg.defaults,g||{}),this.options.inputTarget=this.options.inputTarget||A,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=A,this.input=new((I=this).options.inputClass||(X?pA:H?PA:G?MA:sA))(I,gA),this.touchAction=new YA(this,this.options.touchAction),ng(this,!0),f(this.options.recognizers,(function(A){var g=this.add(new A[0](A[1]));A[2]&&g.recognizeWith(A[2]),A[3]&&g.requireFailure(A[3])}),this)}function ng(A,g){var I,C=A.element;C.style&&(f(A.options.cssProps,(function(t,e){I=j(C.style,e),g?(A.oldCssProps[I]=C.style[I],C.style[I]=t):C.style[I]=A.oldCssProps[I]||""})),g||(A.oldCssProps={}))}eg.prototype={set:function(A){return r(this.options,A),A.touchAction&&this.touchAction.update(),A.inputTarget&&(this.input.destroy(),this.input.target=A.inputTarget,this.input.init()),this},stop:function(A){this.session.stopped=A?2:1},recognize:function(A){var g=this.session;if(!g.stopped){var I;this.touchAction.preventDefaults(A);var C=this.recognizers,t=g.curRecognizer;(!t||t&&t.state&VA)&&(t=g.curRecognizer=null);for(var e=0;e<C.length;)I=C[e],2===g.stopped||t&&I!=t&&!I.canRecognizeWith(t)?I.reset():I.recognize(A),!t&&I.state&(LA|SA|FA)&&(t=g.curRecognizer=I),e++}},get:function(A){if(A instanceof UA)return A;for(var g=this.recognizers,I=0;I<g.length;I++)if(g[I].options.event==A)return g[I];return null},add:function(A){if(p(A,"add",this))return this;var g=this.get(A.options.event);return g&&this.remove(g),this.recognizers.push(A),A.manager=this,this.touchAction.update(),A},remove:function(A){if(p(A,"remove",this))return this;if(A=this.get(A)){var g=this.recognizers,I=D(g,A);-1!==I&&(g.splice(I,1),this.touchAction.update())}return this},on:function(A,g){if(A!==i&&g!==i){var I=this.handlers;return f(Z(A),(function(A){I[A]=I[A]||[],I[A].push(g)})),this}},off:function(A,g){if(A!==i){var I=this.handlers;return f(Z(A),(function(A){g?I[A]&&I[A].splice(D(I[A],g),1):delete I[A]})),this}},emit:function(A,g){this.options.domEvents&&function(A,g){var I=e.createEvent("Event");I.initEvent(A,!0,!0),I.gesture=g,g.target.dispatchEvent(I)}(A,g);var I=this.handlers[A]&&this.handlers[A].slice();if(I&&I.length){g.type=A,g.preventDefault=function(){g.srcEvent.preventDefault()};for(var C=0;C<I.length;)I[C](g),C++}},destroy:function(){this.element&&ng(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}},r(tg,{INPUT_START:Y,INPUT_MOVE:W,INPUT_END:L,INPUT_CANCEL:S,STATE_POSSIBLE:WA,STATE_BEGAN:LA,STATE_CHANGED:SA,STATE_ENDED:FA,STATE_RECOGNIZED:VA,STATE_CANCELLED:BA,STATE_FAILED:32,DIRECTION_NONE:F,DIRECTION_LEFT:V,DIRECTION_RIGHT:B,DIRECTION_UP:U,DIRECTION_DOWN:J,DIRECTION_HORIZONTAL:K,DIRECTION_VERTICAL:Q,DIRECTION_ALL:q,Manager:eg,Input:AA,TouchAction:YA,TouchInput:PA,MouseInput:sA,PointerEventInput:pA,TouchMouseInput:MA,SingleTouchInput:mA,Recognizer:UA,AttrRecognizer:qA,Tap:Cg,Pan:_A,Swipe:Ig,Pinch:$A,Rotate:gg,Press:Ag,on:R,off:x,each:f,merge:m,extend:h,assign:r,inherit:b,bindFn:y,prefixed:j}),(void 0!==t?t:"undefined"!=typeof self?self:{}).Hammer=tg,(C=function(){return tg}.call(g,I,g,A))===i||(A.exports=C)}(window,document)},
|
|
484
484
|
/*!*********************************************************************************************************!*\
|
|
485
485
|
!*** ./node_modules/imports-loader?define=>false!./node_modules/jquery-mousewheel/jquery.mousewheel.js ***!
|
|
486
486
|
\*********************************************************************************************************/
|