uix-kit
Version:
A free web kits for fast web design and development, compatible with Bootstrap v5.
2 lines • 706 kB
JavaScript
/*! For license information please see uix-kit.min.js.LICENSE.txt */
(()=>{var __webpack_modules__={826:(e,t,i)=>{"use strict";i.d(t,{uW:()=>a});var n=i(284);e=i.hmd(e);var a="undefined"!=typeof window?window:e.exports&&void 0!==i.g?i.g:{},r=(function(e){var t={},i=e.document,a=e.GreenSockGlobals=e.GreenSockGlobals||e;if(a.TweenLite)return a.TweenLite;var r,s,o,l,d,c,u,h=function(e){var t,i=e.split("."),n=a;for(t=0;t<i.length;t++)n[i[t]]=n=n[i[t]]||{};return n},p=h("com.greensock"),f=1e-8,m=function(e){var t,i=[],n=e.length;for(t=0;t!==n;i.push(e[t++]));return i},v=function(){},g=(c=Object.prototype.toString,u=c.call([]),function(e){return null!=e&&(e instanceof Array||"object"===(0,n.A)(e)&&!!e.push&&c.call(e)===u)}),_={},x=function e(i,n,r,s){this.sc=_[i]?_[i].sc:[],_[i]=this,this.gsClass=null,this.func=r;var o=[];this.check=function(l){for(var d,c,u,p,f=n.length,m=f;--f>-1;)(d=_[n[f]]||new e(n[f],[])).gsClass?(o[f]=d.gsClass,m--):l&&d.sc.push(this);if(0===m&&r)for(u=(c=("com.greensock."+i).split(".")).pop(),p=h(c.join("."))[u]=this.gsClass=r.apply(r,o),s&&(a[u]=t[u]=p),f=0;f<this.sc.length;f++)this.sc[f].check()},this.check(!0)},y=e._gsDefine=function(e,t,i,n){return new x(e,t,i,n)},w=p._class=function(e,t,i){return t=t||function(){},y(e,[],(function(){return t}),i),t};y.globals=a;var b=[0,0,1,1],E=w("easing.Ease",(function(e,t,i,n){this._func=e,this._type=i||0,this._power=n||0,this._params=t?b.concat(t):b}),!0),T=E.map={},S=E.register=function(e,t,i,n){for(var a,r,s,o,l=t.split(","),d=l.length,c=(i||"easeIn,easeOut,easeInOut").split(",");--d>-1;)for(r=l[d],a=n?w("easing."+r,null,!0):p.easing[r]||{},s=c.length;--s>-1;)o=c[s],T[r+"."+o]=T[o+r]=a[o]=e.getRatio?e:e[o]||new e};for((o=E.prototype)._calcEnd=!1,o.getRatio=function(e){if(this._func)return this._params[0]=e,this._func.apply(null,this._params);var t=this._type,i=this._power,n=1===t?1-e:2===t?e:e<.5?2*e:2*(1-e);return 1===i?n*=n:2===i?n*=n*n:3===i?n*=n*n*n:4===i&&(n*=n*n*n*n),1===t?1-n:2===t?n:e<.5?n/2:1-n/2},s=(r=["Linear","Quad","Cubic","Quart","Quint,Strong"]).length;--s>-1;)o=r[s]+",Power"+s,S(new E(null,null,1,s),o,"easeOut",!0),S(new E(null,null,2,s),o,"easeIn"+(0===s?",easeNone":"")),S(new E(null,null,3,s),o,"easeInOut");T.linear=p.easing.Linear.easeIn,T.swing=p.easing.Quad.easeInOut;var A=w("events.EventDispatcher",(function(e){this._listeners={},this._eventTarget=e||this}));(o=A.prototype).addEventListener=function(e,t,i,n,a){a=a||0;var r,s,o=this._listeners[e],c=0;for(this!==l||d||l.wake(),null==o&&(this._listeners[e]=o=[]),s=o.length;--s>-1;)(r=o[s]).c===t&&r.s===i?o.splice(s,1):0===c&&r.pr<a&&(c=s+1);o.splice(c,0,{c:t,s:i,up:n,pr:a})},o.removeEventListener=function(e,t){var i,n=this._listeners[e];if(n)for(i=n.length;--i>-1;)if(n[i].c===t)return void n.splice(i,1)},o.dispatchEvent=function(e){var t,i,n,a=this._listeners[e];if(a)for((t=a.length)>1&&(a=a.slice(0)),i=this._eventTarget;--t>-1;)(n=a[t])&&(n.up?n.c.call(n.s||i,{type:e,target:i}):n.c.call(n.s||i))};var C=e.requestAnimationFrame,O=e.cancelAnimationFrame,R=Date.now||function(){return(new Date).getTime()},M=R();for(s=(r=["ms","moz","webkit","o"]).length;--s>-1&&!C;)C=e[r[s]+"RequestAnimationFrame"],O=e[r[s]+"CancelAnimationFrame"]||e[r[s]+"CancelRequestAnimationFrame"];w("Ticker",(function(e,t){var n,a,r,s,o,c=this,u=R(),h=!(!1===t||!C)&&"auto",p=500,f=33,m=function e(t){var i,l,d=R()-M;d>p&&(u+=d-f),M+=d,c.time=(M-u)/1e3,i=c.time-o,(!n||i>0||!0===t)&&(c.frame++,o+=i+(i>=s?.004:s-i),l=!0),!0!==t&&(r=a(e)),l&&c.dispatchEvent("tick")};A.call(c),c.time=c.frame=0,c.tick=function(){m(!0)},c.lagSmoothing=function(e,t){if(!arguments.length)return p<1e8;p=e||1e8,f=Math.min(t,p,0)},c.sleep=function(){null!=r&&(h&&O?O(r):clearTimeout(r),a=v,r=null,c===l&&(d=!1))},c.wake=function(e){null!==r?c.sleep():e?u+=-M+(M=R()):c.frame>10&&(M=R()-p+5),a=0===n?v:h&&C?C:function(e){return setTimeout(e,1e3*(o-c.time)+1|0)},c===l&&(d=!0),m(2)},c.fps=function(e){if(!arguments.length)return n;s=1/((n=e)||60),o=this.time+s,c.wake()},c.useRAF=function(e){if(!arguments.length)return h;c.sleep(),h=e,c.fps(n)},c.fps(e),setTimeout((function(){"auto"===h&&c.frame<5&&"hidden"!==(i||{}).visibilityState&&c.useRAF(!1)}),1500)})),(o=p.Ticker.prototype=new p.events.EventDispatcher).constructor=p.Ticker;var L=w("core.Animation",(function(e,t){if(this.vars=t=t||{},this._duration=this._totalDuration=e||0,this._delay=Number(t.delay)||0,this._timeScale=1,this._active=!!t.immediateRender,this.data=t.data,this._reversed=!!t.reversed,K){d||l.wake();var i=this.vars.useFrames?$:K;i.add(this,i._time),this.vars.paused&&this.paused(!0)}}));l=L.ticker=new p.Ticker,(o=L.prototype)._dirty=o._gc=o._initted=o._paused=!1,o._totalTime=o._time=0,o._rawPrevTime=-1,o._next=o._last=o._onUpdate=o._timeline=o.timeline=null,o._paused=!1;!function e(){d&&R()-M>2e3&&("hidden"!==(i||{}).visibilityState||!l.lagSmoothing())&&l.wake();var t=setTimeout(e,2e3);t.unref&&t.unref()}(),o.play=function(e,t){return null!=e&&this.seek(e,t),this.reversed(!1).paused(!1)},o.pause=function(e,t){return null!=e&&this.seek(e,t),this.paused(!0)},o.resume=function(e,t){return null!=e&&this.seek(e,t),this.paused(!1)},o.seek=function(e,t){return this.totalTime(Number(e),!1!==t)},o.restart=function(e,t){return this.reversed(!1).paused(!1).totalTime(e?-this._delay:0,!1!==t,!0)},o.reverse=function(e,t){return null!=e&&this.seek(e||this.totalDuration(),t),this.reversed(!0).paused(!1)},o.render=function(e,t,i){},o.invalidate=function(){return this._time=this._totalTime=0,this._initted=this._gc=!1,this._rawPrevTime=-1,!this._gc&&this.timeline||this._enabled(!0),this},o.isActive=function(){var e,t=this._timeline,i=this._startTime;return!t||!this._gc&&!this._paused&&t.isActive()&&(e=t.rawTime(!0))>=i&&e<i+this.totalDuration()/this._timeScale-f},o._enabled=function(e,t){return d||l.wake(),this._gc=!e,this._active=this.isActive(),!0!==t&&(e&&!this.timeline?this._timeline.add(this,this._startTime-this._delay):!e&&this.timeline&&this._timeline._remove(this,!0)),!1},o._kill=function(e,t){return this._enabled(!1,!1)},o.kill=function(e,t){return this._kill(e,t),this},o._uncache=function(e){for(var t=e?this:this.timeline;t;)t._dirty=!0,t=t.timeline;return this},o._swapSelfInParams=function(e){for(var t=e.length,i=e.concat();--t>-1;)"{self}"===e[t]&&(i[t]=this);return i},o._callback=function(e){var t=this.vars,i=t[e],n=t[e+"Params"],a=t[e+"Scope"]||t.callbackScope||this;switch(n?n.length:0){case 0:i.call(a);break;case 1:i.call(a,n[0]);break;case 2:i.call(a,n[0],n[1]);break;default:i.apply(a,n)}},o.eventCallback=function(e,t,i,n){if("on"===(e||"").substr(0,2)){var a=this.vars;if(1===arguments.length)return a[e];null==t?delete a[e]:(a[e]=t,a[e+"Params"]=g(i)&&-1!==i.join("").indexOf("{self}")?this._swapSelfInParams(i):i,a[e+"Scope"]=n),"onUpdate"===e&&(this._onUpdate=t)}return this},o.delay=function(e){return arguments.length?(this._timeline.smoothChildTiming&&this.startTime(this._startTime+e-this._delay),this._delay=e,this):this._delay},o.duration=function(e){return arguments.length?(this._duration=this._totalDuration=e,this._uncache(!0),this._timeline.smoothChildTiming&&this._time>0&&this._time<this._duration&&0!==e&&this.totalTime(this._totalTime*(e/this._duration),!0),this):(this._dirty=!1,this._duration)},o.totalDuration=function(e){return this._dirty=!1,arguments.length?this.duration(e):this._totalDuration},o.time=function(e,t){return arguments.length?(this._dirty&&this.totalDuration(),this.totalTime(e>this._duration?this._duration:e,t)):this._time},o.totalTime=function(e,t,i){if(d||l.wake(),!arguments.length)return this._totalTime;if(this._timeline){if(e<0&&!i&&(e+=this.totalDuration()),this._timeline.smoothChildTiming){this._dirty&&this.totalDuration();var n=this._totalDuration,a=this._timeline;if(e>n&&!i&&(e=n),this._startTime=(this._paused?this._pauseTime:a._time)-(this._reversed?n-e:e)/this._timeScale,a._dirty||this._uncache(!1),a._timeline)for(;a._timeline;)a._timeline._time!==(a._startTime+a._totalTime)/a._timeScale&&a.totalTime(a._totalTime,!0),a=a._timeline}this._gc&&this._enabled(!0,!1),this._totalTime===e&&0!==this._duration||(I.length&&J(),this.render(e,t,!1),I.length&&J())}return this},o.progress=o.totalProgress=function(e,t){var i=this.duration();return arguments.length?this.totalTime(i*e,t):i?this._time/i:this.ratio},o.startTime=function(e){return arguments.length?(e!==this._startTime&&(this._startTime=e,this.timeline&&this.timeline._sortChildren&&this.timeline.add(this,e-this._delay)),this):this._startTime},o.endTime=function(e){return this._startTime+(0!=e?this.totalDuration():this.duration())/this._timeScale},o.timeScale=function(e){if(!arguments.length)return this._timeScale;var t,i;for(e=e||f,this._timeline&&this._timeline.smoothChildTiming&&(i=(t=this._pauseTime)||0===t?t:this._timeline.totalTime(),this._startTime=i-(i-this._startTime)*this._timeScale/e),this._timeScale=e,i=this.timeline;i&&i.timeline;)i._dirty=!0,i.totalDuration(),i=i.timeline;return this},o.reversed=function(e){return arguments.length?(e!=this._reversed&&(this._reversed=e,this.totalTime(this._timeline&&!this._timeline.smoothChildTiming?this.totalDuration()-this._totalTime:this._totalTime,!0)),this):this._reversed},o.paused=function(e){if(!arguments.length)return this._paused;var t,i,n=this._timeline;return e!=this._paused&&n&&(d||e||l.wake(),i=(t=n.rawTime())-this._pauseTime,!e&&n.smoothChildTiming&&(this._startTime+=i,this._uncache(!1)),this._pauseTime=e?t:null,this._paused=e,this._active=this.isActive(),!e&&0!==i&&this._initted&&this.duration()&&(t=n.smoothChildTiming?this._totalTime:(t-this._startTime)/this._timeScale,this.render(t,t===this._totalTime,!0))),this._gc&&!e&&this._enabled(!0,!1),this};var D=w("core.SimpleTimeline",(function(e){L.call(this,0,e),this.autoRemoveChildren=this.smoothChildTiming=!0}));(o=D.prototype=new L).constructor=D,o.kill()._gc=!1,o._first=o._last=o._recent=null,o._sortChildren=!1,o.add=o.insert=function(e,t,i,n){var a,r;if(e._startTime=Number(t||0)+e._delay,e._paused&&this!==e._timeline&&(e._pauseTime=this.rawTime()-(e._timeline.rawTime()-e._pauseTime)),e.timeline&&e.timeline._remove(e,!0),e.timeline=e._timeline=this,e._gc&&e._enabled(!0,!0),a=this._last,this._sortChildren)for(r=e._startTime;a&&a._startTime>r;)a=a._prev;return a?(e._next=a._next,a._next=e):(e._next=this._first,this._first=e),e._next?e._next._prev=e:this._last=e,e._prev=a,this._recent=e,this._timeline&&this._uncache(!0),this},o._remove=function(e,t){return e.timeline===this&&(t||e._enabled(!1,!0),e._prev?e._prev._next=e._next:this._first===e&&(this._first=e._next),e._next?e._next._prev=e._prev:this._last===e&&(this._last=e._prev),e._next=e._prev=e.timeline=null,e===this._recent&&(this._recent=this._last),this._timeline&&this._uncache(!0)),this},o.render=function(e,t,i){var n,a=this._first;for(this._totalTime=this._time=this._rawPrevTime=e;a;)n=a._next,(a._active||e>=a._startTime&&!a._paused&&!a._gc)&&(a._reversed?a.render((a._dirty?a.totalDuration():a._totalDuration)-(e-a._startTime)*a._timeScale,t,i):a.render((e-a._startTime)*a._timeScale,t,i)),a=n},o.rawTime=function(){return d||l.wake(),this._totalTime};var P=w("TweenLite",(function(t,i,n){if(L.call(this,i,n),this.render=P.prototype.render,null==t)throw"Cannot tween a null target.";this.target=t="string"!=typeof t?t:P.selector(t)||t;var a,r,s,o=t.jquery||t.length&&t!==e&&t[0]&&(t[0]===e||t[0].nodeType&&t[0].style&&!t.nodeType),l=this.vars.overwrite;if(this._overwrite=l=null==l?V[P.defaultOverwrite]:"number"==typeof l?l|0:V[l],(o||t instanceof Array||t.push&&g(t))&&"number"!=typeof t[0])for(this._targets=s=m(t),this._propLookup=[],this._siblings=[],a=0;a<s.length;a++)(r=s[a])?"string"!=typeof r?r.length&&r!==e&&r[0]&&(r[0]===e||r[0].nodeType&&r[0].style&&!r.nodeType)?(s.splice(a--,1),this._targets=s=s.concat(m(r))):(this._siblings[a]=Z(r,this,!1),1===l&&this._siblings[a].length>1&&te(r,this,null,1,this._siblings[a])):"string"==typeof(r=s[a--]=P.selector(r))&&s.splice(a+1,1):s.splice(a--,1);else this._propLookup={},this._siblings=Z(t,this,!1),1===l&&this._siblings.length>1&&te(t,this,null,1,this._siblings);(this.vars.immediateRender||0===i&&0===this._delay&&!1!==this.vars.immediateRender)&&(this._time=-1e-8,this.render(Math.min(0,-this._delay)))}),!0),k=function(t){return t&&t.length&&t!==e&&t[0]&&(t[0]===e||t[0].nodeType&&t[0].style&&!t.nodeType)};(o=P.prototype=new L).constructor=P,o.kill()._gc=!1,o.ratio=0,o._firstPT=o._targets=o._overwrittenProps=o._startAt=null,o._notifyPluginsOfEnabled=o._lazy=!1,P.version="2.1.3",P.defaultEase=o._ease=new E(null,null,1,1),P.defaultOverwrite="auto",P.ticker=l,P.autoSleep=120,P.lagSmoothing=function(e,t){l.lagSmoothing(e,t)},P.selector=e.$||e.jQuery||function(t){var n=e.$||e.jQuery;return n?(P.selector=n,n(t)):(i||(i=e.document),i?i.querySelectorAll?i.querySelectorAll(t):i.getElementById("#"===t.charAt(0)?t.substr(1):t):t)};var I=[],H={},N=/(?:(-|-=|\+=)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,j=/[\+-]=-?[\.\d]/,z=function(e){for(var t,i=this._firstPT,n=1e-6;i;)t=i.blob?1===e&&null!=this.end?this.end:e?this.join(""):this.start:i.c*e+i.s,i.m?t=i.m.call(this._tween,t,this._target||i.t,this._tween):t<n&&t>-n&&!i.blob&&(t=0),i.f?i.fp?i.t[i.p](i.fp,t):i.t[i.p](t):i.t[i.p]=t,i=i._next},F=function(e){return(1e3*e|0)/1e3+""},G=function(e,t,i,n){var a,r,s,o,l,d,c,u=[],h=0,p="",f=0;for(u.start=e,u.end=t,e=u[0]=e+"",t=u[1]=t+"",i&&(i(u),e=u[0],t=u[1]),u.length=0,a=e.match(N)||[],r=t.match(N)||[],n&&(n._next=null,n.blob=1,u._firstPT=u._applyPT=n),l=r.length,o=0;o<l;o++)c=r[o],p+=(d=t.substr(h,t.indexOf(c,h)-h))||!o?d:",",h+=d.length,f?f=(f+1)%5:"rgba("===d.substr(-5)&&(f=1),c===a[o]||a.length<=o?p+=c:(p&&(u.push(p),p=""),s=parseFloat(a[o]),u.push(s),u._firstPT={_next:u._firstPT,t:u,p:u.length-1,s,c:("="===c.charAt(1)?parseInt(c.charAt(0)+"1",10)*parseFloat(c.substr(2)):parseFloat(c)-s)||0,f:0,m:f&&f<4?Math.round:F}),h+=c.length;return(p+=t.substr(h))&&u.push(p),u.setRatio=z,j.test(t)&&(u.end=null),u},B=function(e,t,i,a,r,s,o,l,d){"function"==typeof a&&(a=a(d||0,e));var c=(0,n.A)(e[t]),u="function"!==c?"":t.indexOf("set")||"function"!=typeof e["get"+t.substr(3)]?t:"get"+t.substr(3),h="get"!==i?i:u?o?e[u](o):e[u]():e[t],p="string"==typeof a&&"="===a.charAt(1),f={t:e,p:t,s:h,f:"function"===c,pg:0,n:r||t,m:s?"function"==typeof s?s:Math.round:0,pr:0,c:p?parseInt(a.charAt(0)+"1",10)*parseFloat(a.substr(2)):parseFloat(a)-h||0};if(("number"!=typeof h||"number"!=typeof a&&!p)&&(o||isNaN(h)||!p&&isNaN(a)||"boolean"==typeof h||"boolean"==typeof a?(f.fp=o,f={t:G(h,p?parseFloat(f.s)+f.c+(f.s+"").replace(/[0-9\-\.]/g,""):a,l||P.defaultStringFilter,f),p:"setRatio",s:0,c:1,f:2,pg:0,n:r||t,pr:0,m:0}):(f.s=parseFloat(h),p||(f.c=parseFloat(a)-f.s||0))),f.c)return(f._next=this._firstPT)&&(f._next._prev=f),this._firstPT=f,f},W=P._internals={isArray:g,isSelector:k,lazyTweens:I,blobDif:G},U=P._plugins={},Y=W.tweenLookup={},X=0,q=W.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,stagger:1},V={none:0,all:1,auto:2,concurrent:3,allOnStart:4,preexisting:5,true:1,false:0},$=L._rootFramesTimeline=new D,K=L._rootTimeline=new D,Q=30,J=W.lazyRender=function(){var e,t,i=I.length;for(H={},e=0;e<i;e++)(t=I[e])&&!1!==t._lazy&&(t.render(t._lazy[0],t._lazy[1],!0),t._lazy=!1);I.length=0};K._startTime=l.time,$._startTime=l.frame,K._active=$._active=!0,setTimeout(J,1),L._updateRoot=P.render=function(){var e,t,i;if(I.length&&J(),K.render((l.time-K._startTime)*K._timeScale,!1,!1),$.render((l.frame-$._startTime)*$._timeScale,!1,!1),I.length&&J(),l.frame>=Q){for(i in Q=l.frame+(parseInt(P.autoSleep,10)||120),Y){for(e=(t=Y[i].tweens).length;--e>-1;)t[e]._gc&&t.splice(e,1);0===t.length&&delete Y[i]}if((!(i=K._first)||i._paused)&&P.autoSleep&&!$._first&&1===l._listeners.tick.length){for(;i&&i._paused;)i=i._next;i||l.sleep()}}},l.addEventListener("tick",L._updateRoot);var Z=function(e,t,i){var n,a,r=e._gsTweenID;if(Y[r||(e._gsTweenID=r="t"+X++)]||(Y[r]={target:e,tweens:[]}),t&&((n=Y[r].tweens)[a=n.length]=t,i))for(;--a>-1;)n[a]===t&&n.splice(a,1);return Y[r].tweens},ee=function(e,t,i,n){var a,r,s=e.vars.onOverwrite;return s&&(a=s(e,t,i,n)),(s=P.onOverwrite)&&(r=s(e,t,i,n)),!1!==a&&!1!==r},te=function(e,t,i,n,a){var r,s,o,l;if(1===n||n>=4){for(l=a.length,r=0;r<l;r++)if((o=a[r])!==t)o._gc||o._kill(null,e,t)&&(s=!0);else if(5===n)break;return s}var d,c=t._startTime+f,u=[],h=0,p=0===t._duration;for(r=a.length;--r>-1;)(o=a[r])===t||o._gc||o._paused||(o._timeline!==t._timeline?(d=d||ie(t,0,p),0===ie(o,d,p)&&(u[h++]=o)):o._startTime<=c&&o._startTime+o.totalDuration()/o._timeScale>c&&((p||!o._initted)&&c-o._startTime<=2e-8||(u[h++]=o)));for(r=h;--r>-1;)if(l=(o=u[r])._firstPT,2===n&&o._kill(i,e,t)&&(s=!0),2!==n||!o._firstPT&&o._initted&&l){if(2!==n&&!ee(o,t))continue;o._enabled(!1,!1)&&(s=!0)}return s},ie=function(e,t,i){for(var n=e._timeline,a=n._timeScale,r=e._startTime;n._timeline;){if(r+=n._startTime,a*=n._timeScale,n._paused)return-100;n=n._timeline}return(r/=a)>t?r-t:i&&r===t||!e._initted&&r-t<2e-8?f:(r+=e.totalDuration()/e._timeScale/a)>t+f?0:r-t-f};o._init=function(){var e,t,i,n,a,r,s=this.vars,o=this._overwrittenProps,l=this._duration,d=!!s.immediateRender,c=s.ease,u=this._startAt;if(s.startAt){for(n in u&&(u.render(-1,!0),u.kill()),a={},s.startAt)a[n]=s.startAt[n];if(a.data="isStart",a.overwrite=!1,a.immediateRender=!0,a.lazy=d&&!1!==s.lazy,a.startAt=a.delay=null,a.onUpdate=s.onUpdate,a.onUpdateParams=s.onUpdateParams,a.onUpdateScope=s.onUpdateScope||s.callbackScope||this,this._startAt=P.to(this.target||{},0,a),d)if(this._time>0)this._startAt=null;else if(0!==l)return}else if(s.runBackwards&&0!==l)if(u)u.render(-1,!0),u.kill(),this._startAt=null;else{for(n in 0!==this._time&&(d=!1),i={},s)q[n]&&"autoCSS"!==n||(i[n]=s[n]);if(i.overwrite=0,i.data="isFromStart",i.lazy=d&&!1!==s.lazy,i.immediateRender=d,this._startAt=P.to(this.target,0,i),d){if(0===this._time)return}else this._startAt._init(),this._startAt._enabled(!1),this.vars.immediateRender&&(this._startAt=null)}if(this._ease=c=c?c instanceof E?c:"function"==typeof c?new E(c,s.easeParams):T[c]||P.defaultEase:P.defaultEase,s.easeParams instanceof Array&&c.config&&(this._ease=c.config.apply(c,s.easeParams)),this._easeType=this._ease._type,this._easePower=this._ease._power,this._firstPT=null,this._targets)for(r=this._targets.length,e=0;e<r;e++)this._initProps(this._targets[e],this._propLookup[e]={},this._siblings[e],o?o[e]:null,e)&&(t=!0);else t=this._initProps(this.target,this._propLookup,this._siblings,o,0);if(t&&P._onPluginEvent("_onInitAllProps",this),o&&(this._firstPT||"function"!=typeof this.target&&this._enabled(!1,!1)),s.runBackwards)for(i=this._firstPT;i;)i.s+=i.c,i.c=-i.c,i=i._next;this._onUpdate=s.onUpdate,this._initted=!0},o._initProps=function(t,i,n,a,r){var s,o,l,d,c,u;if(null==t)return!1;for(s in H[t._gsTweenID]&&J(),this.vars.css||t.style&&t!==e&&t.nodeType&&U.css&&!1!==this.vars.autoCSS&&function(e,t){var i,n={};for(i in e)q[i]||i in t&&"transform"!==i&&"x"!==i&&"y"!==i&&"width"!==i&&"height"!==i&&"className"!==i&&"border"!==i||!(!U[i]||U[i]&&U[i]._autoCSS)||(n[i]=e[i],delete e[i]);e.css=n}(this.vars,t),this.vars)if(u=this.vars[s],q[s])u&&(u instanceof Array||u.push&&g(u))&&-1!==u.join("").indexOf("{self}")&&(this.vars[s]=u=this._swapSelfInParams(u,this));else if(U[s]&&(d=new U[s])._onInitTween(t,this.vars[s],this,r)){for(this._firstPT=c={_next:this._firstPT,t:d,p:"setRatio",s:0,c:1,f:1,n:s,pg:1,pr:d._priority,m:0},o=d._overwriteProps.length;--o>-1;)i[d._overwriteProps[o]]=this._firstPT;(d._priority||d._onInitAllProps)&&(l=!0),(d._onDisable||d._onEnable)&&(this._notifyPluginsOfEnabled=!0),c._next&&(c._next._prev=c)}else i[s]=B.call(this,t,s,"get",u,s,0,null,this.vars.stringFilter,r);return a&&this._kill(a,t)?this._initProps(t,i,n,a,r):this._overwrite>1&&this._firstPT&&n.length>1&&te(t,this,i,this._overwrite,n)?(this._kill(i,t),this._initProps(t,i,n,a,r)):(this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration)&&(H[t._gsTweenID]=!0),l)},o.render=function(e,t,i){var n,a,r,s,o=this,l=o._time,d=o._duration,c=o._rawPrevTime;if(e>=d-f&&e>=0)o._totalTime=o._time=d,o.ratio=o._ease._calcEnd?o._ease.getRatio(1):1,o._reversed||(n=!0,a="onComplete",i=i||o._timeline.autoRemoveChildren),0===d&&(o._initted||!o.vars.lazy||i)&&(o._startTime===o._timeline._duration&&(e=0),(c<0||e<=0&&e>=-1e-8||c===f&&"isPause"!==o.data)&&c!==e&&(i=!0,c>f&&(a="onReverseComplete")),o._rawPrevTime=s=!t||e||c===e?e:f);else if(e<f)o._totalTime=o._time=0,o.ratio=o._ease._calcEnd?o._ease.getRatio(0):0,(0!==l||0===d&&c>0)&&(a="onReverseComplete",n=o._reversed),e>-1e-8?e=0:e<0&&(o._active=!1,0===d&&(o._initted||!o.vars.lazy||i)&&(c>=0&&(c!==f||"isPause"!==o.data)&&(i=!0),o._rawPrevTime=s=!t||e||c===e?e:f)),(!o._initted||o._startAt&&o._startAt.progress())&&(i=!0);else if(o._totalTime=o._time=e,o._easeType){var u=e/d,h=o._easeType,p=o._easePower;(1===h||3===h&&u>=.5)&&(u=1-u),3===h&&(u*=2),1===p?u*=u:2===p?u*=u*u:3===p?u*=u*u*u:4===p&&(u*=u*u*u*u),o.ratio=1===h?1-u:2===h?u:e/d<.5?u/2:1-u/2}else o.ratio=o._ease.getRatio(e/d);if(o._time!==l||i){if(!o._initted){if(o._init(),!o._initted||o._gc)return;if(!i&&o._firstPT&&(!1!==o.vars.lazy&&o._duration||o.vars.lazy&&!o._duration))return o._time=o._totalTime=l,o._rawPrevTime=c,I.push(o),void(o._lazy=[e,t]);o._time&&!n?o.ratio=o._ease.getRatio(o._time/d):n&&o._ease._calcEnd&&(o.ratio=o._ease.getRatio(0===o._time?0:1))}for(!1!==o._lazy&&(o._lazy=!1),o._active||!o._paused&&o._time!==l&&e>=0&&(o._active=!0),0===l&&(o._startAt&&(e>=0?o._startAt.render(e,!0,i):a||(a="_dummyGS")),o.vars.onStart&&(0===o._time&&0!==d||t||o._callback("onStart"))),r=o._firstPT;r;)r.f?r.t[r.p](r.c*o.ratio+r.s):r.t[r.p]=r.c*o.ratio+r.s,r=r._next;o._onUpdate&&(e<0&&o._startAt&&-1e-4!==e&&o._startAt.render(e,!0,i),t||(o._time!==l||n||i)&&o._callback("onUpdate")),a&&(o._gc&&!i||(e<0&&o._startAt&&!o._onUpdate&&-1e-4!==e&&o._startAt.render(e,!0,i),n&&(o._timeline.autoRemoveChildren&&o._enabled(!1,!1),o._active=!1),!t&&o.vars[a]&&o._callback(a),0===d&&o._rawPrevTime===f&&s!==f&&(o._rawPrevTime=0)))}},o._kill=function(e,t,i){if("all"===e&&(e=null),null==e&&(null==t||t===this.target))return this._lazy=!1,this._enabled(!1,!1);t="string"!=typeof t?t||this._targets||this.target:P.selector(t)||t;var a,r,s,o,l,d,c,u,h,p=i&&this._time&&i._startTime===this._startTime&&this._timeline===i._timeline,f=this._firstPT;if((g(t)||k(t))&&"number"!=typeof t[0])for(a=t.length;--a>-1;)this._kill(e,t[a],i)&&(d=!0);else{if(this._targets){for(a=this._targets.length;--a>-1;)if(t===this._targets[a]){l=this._propLookup[a]||{},this._overwrittenProps=this._overwrittenProps||[],r=this._overwrittenProps[a]=e?this._overwrittenProps[a]||{}:"all";break}}else{if(t!==this.target)return!1;l=this._propLookup,r=this._overwrittenProps=e?this._overwrittenProps||{}:"all"}if(l){if(c=e||l,u=e!==r&&"all"!==r&&e!==l&&("object"!==(0,n.A)(e)||!e._tempKill),i&&(P.onOverwrite||this.vars.onOverwrite)){for(s in c)l[s]&&(h||(h=[]),h.push(s));if((h||!e)&&!ee(this,i,t,h))return!1}for(s in c)(o=l[s])&&(p&&(o.f?o.t[o.p](o.s):o.t[o.p]=o.s,d=!0),o.pg&&o.t._kill(c)&&(d=!0),o.pg&&0!==o.t._overwriteProps.length||(o._prev?o._prev._next=o._next:o===this._firstPT&&(this._firstPT=o._next),o._next&&(o._next._prev=o._prev),o._next=o._prev=null),delete l[s]),u&&(r[s]=1);!this._firstPT&&this._initted&&f&&this._enabled(!1,!1)}}return d},o.invalidate=function(){this._notifyPluginsOfEnabled&&P._onPluginEvent("_onDisable",this);var e=this._time;return this._firstPT=this._overwrittenProps=this._startAt=this._onUpdate=null,this._notifyPluginsOfEnabled=this._active=this._lazy=!1,this._propLookup=this._targets?{}:[],L.prototype.invalidate.call(this),this.vars.immediateRender&&(this._time=-1e-8,this.render(e,!1,!1!==this.vars.lazy)),this},o._enabled=function(e,t){if(d||l.wake(),e&&this._gc){var i,n=this._targets;if(n)for(i=n.length;--i>-1;)this._siblings[i]=Z(n[i],this,!0);else this._siblings=Z(this.target,this,!0)}return L.prototype._enabled.call(this,e,t),!(!this._notifyPluginsOfEnabled||!this._firstPT)&&P._onPluginEvent(e?"_onEnable":"_onDisable",this)},P.to=function(e,t,i){return new P(e,t,i)},P.from=function(e,t,i){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,new P(e,t,i)},P.fromTo=function(e,t,i,n){return n.startAt=i,n.immediateRender=0!=n.immediateRender&&0!=i.immediateRender,new P(e,t,n)},P.delayedCall=function(e,t,i,n,a){return new P(t,0,{delay:e,onComplete:t,onCompleteParams:i,callbackScope:n,onReverseComplete:t,onReverseCompleteParams:i,immediateRender:!1,lazy:!1,useFrames:a,overwrite:0})},P.set=function(e,t){return new P(e,0,t)},P.getTweensOf=function(e,t){if(null==e)return[];var i,n,a,r;if(e="string"!=typeof e?e:P.selector(e)||e,(g(e)||k(e))&&"number"!=typeof e[0]){for(i=e.length,n=[];--i>-1;)n=n.concat(P.getTweensOf(e[i],t));for(i=n.length;--i>-1;)for(r=n[i],a=i;--a>-1;)r===n[a]&&n.splice(i,1)}else if(e._gsTweenID)for(i=(n=Z(e).concat()).length;--i>-1;)(n[i]._gc||t&&!n[i].isActive())&&n.splice(i,1);return n||[]},P.killTweensOf=P.killDelayedCallsTo=function(e,t,i){"object"===(0,n.A)(t)&&(i=t,t=!1);for(var a=P.getTweensOf(e,t),r=a.length;--r>-1;)a[r]._kill(i,e)};var ne=w("plugins.TweenPlugin",(function(e,t){this._overwriteProps=(e||"").split(","),this._propName=this._overwriteProps[0],this._priority=t||0,this._super=ne.prototype}),!0);if(o=ne.prototype,ne.version="1.19.0",ne.API=2,o._firstPT=null,o._addTween=B,o.setRatio=z,o._kill=function(e){var t,i=this._overwriteProps,n=this._firstPT;if(null!=e[this._propName])this._overwriteProps=[];else for(t=i.length;--t>-1;)null!=e[i[t]]&&i.splice(t,1);for(;n;)null!=e[n.n]&&(n._next&&(n._next._prev=n._prev),n._prev?(n._prev._next=n._next,n._prev=null):this._firstPT===n&&(this._firstPT=n._next)),n=n._next;return!1},o._mod=o._roundProps=function(e){for(var t,i=this._firstPT;i;)(t=e[this._propName]||null!=i.n&&e[i.n.split(this._propName+"_").join("")])&&"function"==typeof t&&(2===i.f?i.t._applyPT.m=t:i.m=t),i=i._next},P._onPluginEvent=function(e,t){var i,n,a,r,s,o=t._firstPT;if("_onInitAllProps"===e){for(;o;){for(s=o._next,n=a;n&&n.pr>o.pr;)n=n._next;(o._prev=n?n._prev:r)?o._prev._next=o:a=o,(o._next=n)?n._prev=o:r=o,o=s}o=t._firstPT=a}for(;o;)o.pg&&"function"==typeof o.t[e]&&o.t[e]()&&(i=!0),o=o._next;return i},ne.activate=function(e){for(var t=e.length;--t>-1;)e[t].API===ne.API&&(U[(new e[t])._propName]=e[t]);return!0},y.plugin=function(e){if(!(e&&e.propName&&e.init&&e.API))throw"illegal plugin definition.";var t,i=e.propName,n=e.priority||0,a=e.overwriteProps,r={init:"_onInitTween",set:"setRatio",kill:"_kill",round:"_mod",mod:"_mod",initAll:"_onInitAllProps"},s=w("plugins."+i.charAt(0).toUpperCase()+i.substr(1)+"Plugin",(function(){ne.call(this,i,n),this._overwriteProps=a||[]}),!0===e.global),o=s.prototype=new ne(i);for(t in o.constructor=s,s.API=e.API,r)"function"==typeof e[t]&&(o[r[t]]=e[t]);return s.version=e.version,ne.activate([s]),s},r=e._gsQueue){for(s=0;s<r.length;s++)r[s]();for(o in _)_[o].func||e.console.log("GSAP encountered missing dependency: "+o)}d=!1}(a),a.GreenSockGlobals),s=r.com.greensock;s.core.SimpleTimeline,s.core.Animation,r.Ease,r.Linear,r.Power1,r.Power2,r.Power3,r.Power4,r.TweenPlugin,s.events.EventDispatcher},376:()=>{var e;e=$.fn.attr,$.fn.attr=function(){if(0===arguments.length){if(0===this.length)return null;var t={};return $.each(this[0].attributes,(function(){this.specified&&(t[this.name]=this.value)})),t}return e.apply(this,arguments)}},786:()=>{!function(e){"use strict";e.scrollLock=function(){var t=e("html"),i=!1,n={scrollLeft:e(window).scrollLeft(),scrollTop:e(window).scrollTop()},a={},r={"overflow-y":"scroll",position:"fixed",width:"100%"};function s(){var i,n=t.attr("style"),r={};n&&(i=n.split(/;\s/),e.each(i,(function(e){if(e){var t=e.split(/\s:\s/);t.length<2||(r[t[0]]=t[1])}})),e.extend(a,r))}function o(){var a={};i||(n={scrollLeft:e(window).scrollLeft(),scrollTop:e(window).scrollTop()},s(),e.extend(a,r,{left:-n.scrollLeft+"px",top:-n.scrollTop+"px"}),t.css(a),e(window).scrollLeft(0).scrollTop(0),i=!0)}function l(){i&&(t.attr("style",e("<x>").css(a).attr("style")||""),e(window).scrollLeft(n.scrollLeft).scrollTop(n.scrollTop),i=!1)}return s(),function(e){arguments.length?e?o():l():i?l():o()}}()}(jQuery)},79:()=>{!function(e){e.fn.UixCountTo=function(t){return t=t||{},e(this).each((function(){var i=e.extend({},e.fn.UixCountTo.defaults,{from:e(this).data("counter-start"),to:e(this).data("counter-number"),fixed:e(this).data("counter-fixed"),speed:e(this).data("counter-duration"),refreshInterval:e(this).data("counter-refresh-interval"),dilimiter:e(this).data("counter-dilimiter"),doubleDigits:e(this).data("counter-double-digits"),onUpdate:null,onComplete:null},t),n=Math.ceil(i.speed/i.refreshInterval),a=(i.to-i.from)/n,r=this,s=e(this),o=0,l=i.from,d=s.data("count-to")||{};function c(e){var t=Number(e).toFixed(i.fixed);i.dilimiter&&t>0&&(t=t.toString().replace(/\B(?=(?:\d{3})+\b)/g,",")),i.doubleDigits&&t<10&&(t="0"+t),s.html(t)}s.data("count-to",d),d.interval&&clearInterval(d.interval),d.interval=setInterval((function(){o++,c(l+=a),"function"==typeof i.onUpdate&&i.onUpdate.call(r,l);o>=n&&(s.removeData("count-to"),clearInterval(d.interval),l=i.to,"function"==typeof i.onComplete&&i.onComplete.call(r,l))}),i.refreshInterval),c(l)}))},e.fn.UixCountTo.defaults={from:0,to:0,fixed:0,speed:500,refreshInterval:1,dilimiter:!0,doubleDigits:!1,onUpdate:null,onComplete:null}}(jQuery)},867:()=>{!function(e){"use strict";e.fn.UixRenderControlsDisable=function(t){var i=e.extend({controls:"input.is-disabled"},t);this.each((function(){e(i.controls).prop("disabled",!0)}))}}(jQuery)},85:()=>{!function(e){"use strict";e.fn.UixRenderControlsHover=function(t){var i=e.extend({controls:".js-uix-float-label"},t);this.each((function(){e(i.controls).each((function(){var t=e(this);t.on("focus",(function(){e(this).closest("div").find("label, .uix-controls__bar").addClass("is-active")})),t.on("blur change",(function(i){""!==t.val()&&"blank"!==t.val()||e(this).closest("div").find("label").removeClass("is-active"),(""===t.val()||"blank"===t.val()||""!=t.val()&&"blank"!=t.val())&&e(this).closest("div").find(".uix-controls__bar").removeClass("is-active")})),""!=t.val()&&"blank"!=t.val()&&e(this).closest("div").find("label").addClass("is-active")}))}))}}(jQuery)},924:()=>{!function(e){"use strict";e.fn.UixRenderCustomFileDropzone=function(t){var i=e.extend({controls:".uix-controls__file-field-container"},t);this.each((function(){e(i.controls).each((function(){var t=e(this).find('input[type="file"]');e(document).on("dragover",(function(e){var i=window.dropZoneTimeout;i?clearTimeout(i):t.addClass("in");var n=!1,a=e.target;do{if(a===t[0]){n=!0;break}a=a.parentNode}while(null!=a);n?t.addClass("hover"):t.removeClass("hover"),window.dropZoneTimeout=setTimeout((function(){window.dropZoneTimeout=null,t.removeClass("in hover")}),100)})),t.on("change",(function(t){var i=e(this)[0];if(i.files&&i.files[0]){var n=new FileReader;n.onload=function(e){e.target.result;var t=i.files[0].name;i.setAttribute("data-title",t)},n.readAsDataURL(i.files[0])}}))}))}))}}(jQuery)},809:()=>{!function(e){"use strict";e.fn.UixRenderCustomFile=function(t){var i=e.extend({controls:".uix-controls__file-container"},t);this.each((function(){e(i.controls).each((function(){var t=e(this).find('input[type="file"]'),i=e(this).find(".uix-controls__file-trigger"),n=e(this).next(".uix-controls__file-return");i.off("click").on("click",(function(){t.focusin()})),t.on("change",(function(){n.text(e(this).val())}))}))}))}}(jQuery)},849:()=>{!function(e){var t,i,n=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],a="onwheel"in document||document.documentMode>=9?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],r=Array.prototype.slice;if(e.event.fixHooks)for(var s=n.length;s;)e.event.fixHooks[n[--s]]=e.event.mouseHooks;var o=e.event.special.mousewheel={version:"3.1.12",setup:function(){if(this.addEventListener)for(var t=a.length;t;)this.addEventListener(a[--t],l,!1);else this.onmousewheel=l;e.data(this,"mousewheel-line-height",o.getLineHeight(this)),e.data(this,"mousewheel-page-height",o.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var t=a.length;t;)this.removeEventListener(a[--t],l,!1);else this.onmousewheel=null;e.removeData(this,"mousewheel-line-height"),e.removeData(this,"mousewheel-page-height")},getLineHeight:function(t){var i=e(t),n=i["offsetParent"in e.fn?"offsetParent":"parent"]();return n.length||(n=e("body")),parseInt(n.css("fontSize"),10)||parseInt(i.css("fontSize"),10)||16},getPageHeight:function(t){return e(t).height()},settings:{adjustOldDeltas:!0,normalizeOffset:!0}};function l(n){var a,s=n||window.event,l=r.call(arguments,1),u=0,h=0,p=0,f=0,m=0;if((n=e.event.fix(s)).type="mousewheel","detail"in s&&(p=-1*s.detail),"wheelDelta"in s&&(p=s.wheelDelta),"wheelDeltaY"in s&&(p=s.wheelDeltaY),"wheelDeltaX"in s&&(h=-1*s.wheelDeltaX),"axis"in s&&s.axis===s.HORIZONTAL_AXIS&&(h=-1*p,p=0),u=0===p?h:p,"deltaY"in s&&(u=p=-1*s.deltaY),"deltaX"in s&&(h=s.deltaX,0===p&&(u=-1*h)),0!==p||0!==h){if(1===s.deltaMode){var v=e.data(this,"mousewheel-line-height");u*=v,p*=v,h*=v}else if(2===s.deltaMode){var g=e.data(this,"mousewheel-page-height");u*=g,p*=g,h*=g}if(a=Math.max(Math.abs(p),Math.abs(h)),(!i||a<i)&&(i=a,c(s,a)&&(i/=40)),c(s,a)&&(u/=40,h/=40,p/=40),u=Math[u>=1?"floor":"ceil"](u/i),h=Math[h>=1?"floor":"ceil"](h/i),p=Math[p>=1?"floor":"ceil"](p/i),o.settings.normalizeOffset&&this.getBoundingClientRect){var _=this.getBoundingClientRect();f=n.clientX-_.left,m=n.clientY-_.top}return n.deltaX=h,n.deltaY=p,n.deltaFactor=i,n.offsetX=f,n.offsetY=m,n.deltaMode=0,l.unshift(n,u,h,p),t&&clearTimeout(t),t=setTimeout(d,200),(e.event.dispatch||e.event.handle).apply(this,l)}}function d(){i=null}function c(e,t){return o.settings.adjustOldDeltas&&"mousewheel"===e.type&&t%120==0}e.fn.extend({mousewheel:function(e){return e?this.bind("mousewheel",e):this.trigger("mousewheel")},unmousewheel:function(e){return this.unbind("mousewheel",e)}})}(jQuery)},548:(e,t,i)=>{"use strict";var n,a,r=i(284);e=i.hmd(e),n=void 0,a=function(){var e={},t="swap",i="move",n="layoutStart",a="layoutEnd",s="remove",o="filter",l="sort",d="move",c="send",u="beforeSend",h="receive",p="beforeReceive",f="dragReleaseEnd";function m(){this._events={},this._queue=[],this._counter=0,this._isDestroyed=!1}m.prototype.on=function(e,t){if(this._isDestroyed)return this;var i=this._events[e];return i||(i=this._events[e]=[]),i.push(t),this},m.prototype.off=function(e,t){if(this._isDestroyed)return this;var i=this._events[e];if(!i||!i.length)return this;if(!t)return i.length=0,this;for(var n=i.length;n--;)t===i[n]&&i.splice(n,1);return this},m.prototype.emit=function(e,t,i,n){if(this._isDestroyed)return this;var a=this._events[e];if(!a||!a.length)return this;var r,s=this._queue,o=s.length,l=arguments.length-1;for(r=0;r<a.length;r++)s.push(a[r]);for(++this._counter,r=o,o=s.length;r<o;r++)if(0===l?s[r]():1===l?s[r](t):2===l?s[r](t,i):s[r](t,i,n),this._isDestroyed)return this;return--this._counter,this._counter||(s.length=0),this},m.prototype.destroy=function(){if(this._isDestroyed)return this;var e,t=this._events;for(e in this._isDestroyed=!0,this._queue.length=this._counter=0,t)t[e]&&(t[e].length=0,t[e]=void 0);return this};var v="transform",g="transform",_=window.document.documentElement.style,x="transform",y=!1;["","Webkit","Moz","O","ms"].forEach((function(e){if(!y){var t=e?e+"Transform":x;void 0!==_[t]&&(e=e.toLowerCase(),v=e?"-"+e+"-"+x:x,g=t,y=!0)}}));var w="function"==typeof WeakMap?new WeakMap:null;function b(e,t){var i=w&&w.get(e);return i||(i=window.getComputedStyle(e,null),w&&w.set(e,i)),i.getPropertyValue("transform"===t?v:t)}var E=/([A-Z])/g;function T(e){return e.replace(E,"-$1").toLowerCase()}var S="function";function A(e){return(0,r.A)(e)===S}var C="transform";function O(e,t){for(var i in t)e.style[i===C?g:i]=t[i]}function R(e){this._element=e,this._animation=null,this._callback=null,this._props=[],this._values=[],this._keyframes=[],this._options={},this._isDestroyed=!1,this._onFinish=this._onFinish.bind(this)}R.prototype.start=function(e,t,i){if(!this._isDestroyed){var n=this._animation,a=this._props,r=this._values,s=i||0,o=!1;if(n){var l,d=0;for(var c in t)if(++d,-1===(l=a.indexOf(c))||t[c]!==r[l]){o=!0;break}o||d===a.length||(o=!0)}if(o&&n.cancel(),this._callback=A(s.onFinish)?s.onFinish:null,!n||o){for(c in a.length=r.length=0,t)a.push(c),r.push(t[c]);var u=this._keyframes;u[0]=e,u[1]=t;var h=this._options;h.duration=s.duration||300,h.easing=s.easing||"ease";var p=this._element;(n=p.animate(u,h)).onfinish=this._onFinish,this._animation=n,O(p,t)}}},R.prototype.stop=function(e){if(!this._isDestroyed&&this._animation){var t,i,n,a=this._element,r=this._props,s=this._values;if(e)O(a,e);else for(n=0;n<r.length;n++)i=b(a,T(t=r[n])),a.style["transform"===t?g:t]=i;this._animation.cancel(),this._animation=this._callback=null,r.length=s.length=0}},R.prototype.isAnimating=function(){return!!this._animation},R.prototype.destroy=function(){this._isDestroyed||(this.stop(),this._element=this._options=this._keyframes=null,this._isDestroyed=!0)},R.prototype._onFinish=function(){var e=this._callback;this._animation=this._callback=null,this._props.length=this._values.length=0,e&&e()};var M=["","webkit","moz","ms","o","Webkit","Moz","MS","O"];function L(e,t){for(var i,n,a=t[0].toUpperCase()+t.slice(1),r=0;r<M.length;){if((n=(i=M[r])?i+a:t)in e)return n;++r}return null}var D=1e3/60,P=(window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return this.setTimeout((function(){e(D)}),D)}).bind(window),k=!1;try{var I=Object.defineProperty({},"passive",{get:function(){k=!0}});window.addEventListener("testPassive",null,I),window.removeEventListener("testPassive",null,I)}catch(e){}var H="start",N="move",j="end",z="cancel",F=!(!("ontouchstart"in window)&&!window.TouchEvent),G=!!window.PointerEvent,B=!!window.navigator.msPointerEnabled,W=/(android)/i.test(window.navigator.userAgent),U=!!k&&{passive:!0},Y="touchAction",X=L(window.document.documentElement.style,Y),q="auto";function V(e,t){this._element=e,this._emitter=new m,this._isDestroyed=!1,this._cssProps={},this._touchAction="",this._startEvent=null,this._pointerId=null,this._startTime=0,this._startX=0,this._startY=0,this._currentX=0,this._currentY=0,this._preStartCheck=this._preStartCheck.bind(this),this._abortNonCancelable=this._abortNonCancelable.bind(this),this._onStart=this._onStart.bind(this),this._onMove=this._onMove.bind(this),this._onCancel=this._onCancel.bind(this),this._onEnd=this._onEnd.bind(this),this.setCssProps(t),this._touchAction||this.setTouchAction(q),e.addEventListener("dragstart",V._preventDefault,!1),e.addEventListener(V._events.start,this._preStartCheck,U),!F||G||B||e.addEventListener(V._mouseEvents.start,this._preStartCheck,U)}function $(){this._nextStep=null,this._queue=[],this._reads={},this._writes={},this._batch=[],this._batchReads={},this._batchWrites={},this._step=this._step.bind(this)}V._pointerEvents={start:"pointerdown",move:"pointermove",cancel:"pointercancel",end:"pointerup"},V._msPointerEvents={start:"MSPointerDown",move:"MSPointerMove",cancel:"MSPointerCancel",end:"MSPointerUp"},V._touchEvents={start:"touchstart",move:"touchmove",cancel:"touchcancel",end:"touchend"},V._mouseEvents={start:"mousedown",move:"mousemove",cancel:"",end:"mouseup"},V._events=G?V._pointerEvents:B?V._msPointerEvents:F?V._touchEvents:V._mouseEvents,V._emitter=new m,V._activeInstances=[],V._preventDefault=function(e){e.preventDefault&&!1!==e.cancelable&&e.preventDefault()},V._activateInstance=function(e){V._activeInstances.indexOf(e)>-1||(V._activeInstances.push(e),V._emitter.on(N,e._onMove),V._emitter.on(z,e._onCancel),V._emitter.on(j,e._onEnd),1===V._activeInstances.length&&V._bindListeners())},V._deactivateInstance=function(e){var t=V._activeInstances.indexOf(e);-1!==t&&(V._activeInstances.splice(t,1),V._emitter.off(N,e._onMove),V._emitter.off(z,e._onCancel),V._emitter.off(j,e._onEnd),V._activeInstances.length||V._unbindListeners())},V._bindListeners=function(){var e=V._events;window.addEventListener(e.move,V._onMove,U),window.addEventListener(e.end,V._onEnd,U),e.cancel&&window.addEventListener(e.cancel,V._onCancel,U)},V._unbindListeners=function(){var e=V._events;window.removeEventListener(e.move,V._onMove,U),window.removeEventListener(e.end,V._onEnd,U),e.cancel&&window.removeEventListener(e.cancel,V._onCancel,U)},V._getEventPointerId=function(e){return"number"==typeof e.pointerId?e.pointerId:e.changedTouches?e.changedTouches[0]?e.changedTouches[0].identifier:null:1},V._getTouchById=function(e,t){if("number"==typeof e.pointerId)return e.pointerId===t?e:null;if(e.changedTouches){for(var i=0;i<e.changedTouches.length;i++)if(e.changedTouches[i].identifier===t)return e.changedTouches[i];return null}return e},V._onMove=function(e){V._emitter.emit(N,e)},V._onCancel=function(e){V._emitter.emit(z,e)},V._onEnd=function(e){V._emitter.emit(j,e)},V.prototype._reset=function(){this._isDestroyed||(this._pointerId=null,this._startTime=0,this._startX=0,this._startY=0,this._currentX=0,this._currentY=0,this._startEvent=null,this._element.removeEventListener(V._touchEvents.start,this._abortNonCancelable,U),V._deactivateInstance(this))},V.prototype._createEvent=function(e,t){var i=this._getTrackedTouch(t);return{type:e,srcEvent:t,distance:this.getDistance(),deltaX:this.getDeltaX(),deltaY:this.getDeltaY(),deltaTime:e===H?0:this.getDeltaTime(),isFirst:e===H,isFinal:e===j||e===z,identifier:this._pointerId,screenX:i.screenX,screenY:i.screenY,clientX:i.clientX,clientY:i.clientY,pageX:i.pageX,pageY:i.pageY,target:i.target}},V.prototype._emit=function(e,t){this._emitter.emit(e,this._createEvent(e,t))},V.prototype._getTrackedTouch=function(e){return null===this._pointerId?null:V._getTouchById(e,this._pointerId)},V.prototype._preStartCheck=function(e){this._isDestroyed||this.isDragging()||W&&!1===e.cancelable||e.button||(this._pointerId=V._getEventPointerId(e),null!==this._pointerId&&(this._startEvent=e,F&&(G||B)?(W&&this._element.addEventListener(V._touchEvents.start,this._abortNonCancelable,U),P(this._onStart)):this._onStart()))},V.prototype._abortNonCancelable=function(e){this._element.removeEventListener(V._touchEvents.start,this._abortNonCancelable,U),this._startEvent&&!1===e.cancelable&&(this._pointerId=null,this._startEvent=null)},V.prototype._onStart=function(){var e=this._startEvent;if(e){this._startEvent=null;var t=this._getTrackedTouch(e);t&&(this._startX=this._currentX=t.clientX,this._startY=this._currentY=t.clientY,this._startTime=Date.now(),this._emit(H,e),V._activateInstance(this))}},V.prototype._onMove=function(e){var t=this._getTrackedTouch(e);t&&(this._currentX=t.clientX,this._currentY=t.clientY,this._emit(N,e))},V.prototype._onCancel=function(e){this._getTrackedTouch(e)&&(this._emit(z,e),this._reset())},V.prototype._onEnd=function(e){this._getTrackedTouch(e)&&(this._emit(j,e),this._reset())},V.prototype.isDragging=function(){return null!==this._pointerId},V.prototype.setTouchAction=function(e){this._touchAction=e,X&&(this._cssProps[X]="",this._element.style[X]=e),F&&(this._element.removeEventListener(V._touchEvents.start,V._preventDefault,!1),this._element.style[X]!==e&&this._element.addEventListener(V._touchEvents.start,V._preventDefault,!1))},V.prototype.setCssProps=function(e){if(e){var t,i,n=this._cssProps,a=this._element;for(t in n)a.style[t]=n[t],delete n[t];for(t in e)e[t]&&(t!==Y?(i=L(a.style,t))&&(n[i]="",a.style[i]=e[t]):this.setTouchAction(e[t]))}},V.prototype.getDeltaX=function(){return this._currentX-this._startX},V.prototype.getDeltaY=function(){return this._currentY-this._startY},V.prototype.getDistance=function(){var e=this.getDeltaX(),t=this.getDeltaY();return Math.sqrt(e*e+t*t)},V.prototype.getDeltaTime=function(){return this._startTime?Date.now()-this._startTime:0},V.prototype.on=function(e,t){this._emitter.on(e,t)},V.prototype.off=function(e,t){this._emitter.off(eventName,t)},V.prototype.destroy=function(){if(!this._isDestroyed){var e=this._element,t=V._events;for(var i in this._reset(),this._emitter.destroy(),e.removeEventListener(t.start,this._preStartCheck,U),e.removeEventListener(V._mouseEvents.start,this._preStartCheck,U),e.removeEventListener("dragstart",V._preventDefault,!1),e.removeEventListener(V._touchEvents.start,V._preventDefault,!1),this._cssProps)e.style[i]=this._cssProps[i],delete this._cssProps[i];this._element=null,this._isDestroyed=!0}},$.prototype.add=function(e,t,i,n){var a=this._queue.indexOf(e);a>-1&&(this._queue[a]=void 0),n?this._queue.unshift(e):this._queue.push(e),this._reads[e]=t,this._writes[e]=i,this._nextStep||(this._nextStep=P(this._step))},$.prototype.cancel=function(e){var t=this._queue.indexOf(e);t>-1&&(this._queue[t]=void 0,delete this._reads[e],delete this._writes[e])},$.prototype._step=function(){var e,t,i=this._queue,n=this._reads,a=this._writes,r=this._batch,s=this._batchReads,o=this._batchWrites,l=i.length;for(this._nextStep=null,t=0;t<l;t++)(e=i[t])&&(r.push(e),s[e]=n[e],delete n[e],o[e]=a[e],delete a[e]);for(i.length=0,t=0;t<l;t++)s[e=r[t]]&&(s[e](),delete s[e]);for(t=0;t<l;t++)o[e=r[t]]&&(o[e](),delete o[e]);r.length=0,!this._nextStep&&i.length&&(this._nextStep=P(this._step))};var K=new $,Q="layout",J="visibility",Z="move",ee="scroll",te="placeholder";function ie(e){return K.cancel(e+J)}function ne(e){return K.cancel(e+Z)}function ae(e){return K.cancel(e+ee)}function re(e){return K.cancel(e+te)}var se=window.Element.prototype,oe=se.matches||se.matchesSelector||se.webkitMatchesSelector||se.mozMatchesSelector||se.msMatchesSelector||se.oMatchesSelector||function(){return!1};function le(e,t){return oe.call(e,t)}function de(e,t){e.classList?e.classList.add(t):le(e,"."+t)||(e.className+=" "+t)}var ce=[];function ue(e,t,i){var n="number"===(0,r.A)(i)?i:-1;n<0&&(n=e.length-n+1),e.splice.apply(e,ce.concat(n,0,t)),ce.length=0}function he(e,t,i){var n=e.length,a=Math.max(0,i?n:n-1);return t>a?a:t<0?Math.max(a+t+1,0):t}function pe(e,t,i){if(!(e.length<2)){var n=he(e,t),a=he(e,i);n!==a&&e.splice(a,0,e.splice(n,1)[0])}}function fe(e,t,i){if(!(e.length<2)){var n,a=he(e,t),r=he(e,i);a!==r&&(n=e[a],e[a]=e[r],e[r]=n)}}var me="cancel",ve="finish",ge="debounce",_e=0;function xe(e,t){var i,n=++_e+ge;return t>0?function(a){void 0!==i&&(i=window.clearTimeout(i),K.cancel(n),a===ve&&e()),a!==me&&a!==ve&&(i=window.setTimeout((function(){i=void 0,K.add(n,e,null,!0)}),t))}:function(t){t!==me&&e()}}function ye(e){var t=b(e,"transform");if(!t||"none"===t)return!1;var i=b(e,"display");return"inline"!==i&&"none"!==i}function we(e,t){for(var i=window.document,n=(t?e:e.parentElement)||i;n&&n!==i&&"static"===b(n,"position")&&!ye(n);)n=n.parentElement||i;return n}function be(e,t){return parseFloat(b(e,t))||0}var Ee={},Te={},Se={};function Ae(e,t){var i,n=t||{};return n.left=0,n.top=0,e===document||(n.left=window.pageXOffset||0,n.top=window.pageYOffset||0,e.self===window.self||(i=e.getBoundingClientRect(),n.left+=i.left,n.top+=i.top,n.left+=be(e,"border-left-width"),n.top+=be(e,"border-top-width"))),n}function Ce(e,t,i){return Se.left=0,Se.top=0,e===t||i&&(e=we(e,!0))===(t=we(t,!0))||(Ae(e,Ee),Ae(t,Te),Se.left=Te.left-Ee.left,Se.top=Te.top-Ee.top),Se}var Oe="overflow",Re="overflow-x",Me="overflow-y",Le="auto",De="scroll";function Pe(e){var t=b(e,Oe);return t===Le||t===De||(t=b(e,Re))===Le||t===De||(t=b(e,Me))===Le||t===De}function ke(e,t,i){for(var n=i||[],a=t?e:e.parentNode;a&&a!==document;)a.getRootNode&&a instanceof DocumentFragment?a=a.getRootNode().host:(Pe(a)&&n.push(a),a=a.parentNode);return n.push(window),n}var Ie={},He=/^matrix3d/,Ne=/([^,]*,){4}/,je=/([^,]*,){12}/,ze=/[^,]*,/;function Fe(e){Ie.x=0,Ie.y=0;var t=b(e,"transform");if(!t||"none"===t)return Ie;var i=He.test(t),n=t.replace(i?je:Ne,""),a=n.replace(ze,"");return Ie.x=parseFloat(n)||0,Ie.y=parseFloat(a)||0,Ie}function Ge(e,t){return"translateX("+e+"px) translateY("+t+"px)"}function Be(e,t){e.classList?e.classList.remove(t):le(e,"."+t)&&(e.className=(" "+e.className+" ").replace(" "+t+" "," ").trim())}var We,Ue,Ye,Xe,qe=0;function Ve(e){var t=e._element,i=e.getGrid(),n=i._settings;this._item=e,this._gridId=i._id,this._isDestroyed=!1,this._isMigrating=!1,this._startPredicate=A(n.dragStartPredicate)?n.dragStartPredicate:Ve.defaultStartPredicate,this._startPredicateState=qe,this._startPredicateResult=void 0,this._hBlockedIndex=null,this._hX1=0,this._hX2=0,this._hY1=0,this._hY2=0,this._reset(),this._preStartCheck=this._preStartCheck.bind(this),this._preEndCheck=this._preEndCheck.bind(this),this._onScroll=this._onScroll.bind(this),this._prepareMove=this._prepareMove.bind(this),this._applyMove=this._applyMove.bind(this),this._prepareScroll=this._prepareScroll.bind(this),this._applyScroll=this._applyScroll.bind(this),this._checkOverlap=this._checkOverlap.bind(this);var a=n.dragSortHeuristics.sortInterval;this._checkOverlapDebounce=xe(this._checkOverlap,a),this._dragger=new V(t,n.dragCssProps),this._dragger.on("start",this._preStartCheck),this._dragger.on("move",this._preStartCheck),this._dragger.on("cancel",this._preEndCheck),this._dragger.on("end",this._preEndCheck)}function $e(e,t){return e.left+e.width<=t.left||t.left+t.width<=e.left||e.top+e.height<=t.top||t.top+t.height<=e.top?0:(Math.min(e.left+e.width,t.left+t.width)-Math.max(e.left,t.left))*(Math.min(e.top+e.height,t.top+t.height)-Math.max(e.top,t.top))/(Math.min(e.width,t.width)*Math.min(e.height,t.height))*100}function Ke(e){this._item=e,this._animate=new R,this._element=null,this._className=