(function(h,g){function w(gb,w){function Z(b){return c.preferFlash&&A&&!c.ignoreFlash&&c.flash[b]!==g&&c.flash[b]}function r(b){return function(c){var d=this._s;return d&&d._a?b.call(this,c):null}}this.setupOptions={url:gb||null,flashVersion:8,debugMode:!0,debugFlash:!1,useConsole:!0,consoleOnly:!0,waitForWindowLoad:!1,bgColor:"#ffffff",useHighPerformance:!1,flashPollingInterval:null,html5PollingInterval:null,flashLoadTimeout:1E3,wmode:null,allowScriptAccess:"always",useFlashBlock:!1,useHTML5Audio:!0,
forceUseGlobalHTML5Audio:!1,ignoreMobileRestrictions:!1,html5Test:/^(probably|maybe)$/i,preferFlash:!1,noSWFCache:!1,idPrefix:"sound"};this.defaultOptions={autoLoad:!1,autoPlay:!1,from:null,loops:1,onid3:null,onload:null,whileloading:null,onplay:null,onpause:null,onresume:null,whileplaying:null,onposition:null,onstop:null,onfailure:null,onfinish:null,multiShot:!0,multiShotEvents:!1,position:null,pan:0,stream:!0,to:null,type:null,usePolicyFile:!1,volume:100};this.flash9Options={isMovieStar:null,usePeakData:!1,
useWaveformData:!1,useEQData:!1,onbufferchange:null,ondataerror:null};this.movieStarOptions={bufferTime:3,serverURL:null,onconnect:null,duration:null};this.audioFormats={mp3:{type:['audio/mpeg; codecs="mp3"',"audio/mpeg","audio/mp3","audio/MPA","audio/mpa-robust"],required:!0},mp4:{related:["aac","m4a","m4b"],type:['audio/mp4; codecs="mp4a.40.2"',"audio/aac","audio/x-m4a","audio/MP4A-LATM","audio/mpeg4-generic"],required:!1},ogg:{type:["audio/ogg; codecs=vorbis"],required:!1},opus:{type:["audio/ogg; codecs=opus",
"audio/opus"],required:!1},wav:{type:['audio/wav; codecs="1"',"audio/wav","audio/wave","audio/x-wav"],required:!1}};this.movieID="sm2-container";this.id=w||"sm2movie";this.debugID="soundmanager-debug";this.debugURLParam=/([#?&])debug=1/i;this.versionNumber="V2.97a.20150601";this.altURL=this.movieURL=this.version=null;this.enabled=this.swfLoaded=!1;this.oMC=null;this.sounds={};this.soundIDs=[];this.didFlashBlock=this.muted=!1;this.filePattern=null;this.filePatterns={flash8:/\.mp3(\?.*)?$/i,flash9:/\.mp3(\?.*)?$/i};
this.features={buffering:!1,peakData:!1,waveformData:!1,eqData:!1,movieStar:!1};this.sandbox={};this.html5={usingFlash:null};this.flash={};this.ignoreFlash=this.html5Only=!1;var N,c=this,Oa=null,k=null,aa,u=navigator.userAgent,Pa=h.location.href.toString(),p=document,pa,Qa,qa,m,y=[],O=!1,P=!1,l=!1,B=!1,ra=!1,Q,x,sa,ba,ta,F,H,I,Ra,ua,va,ca,J,da,G,wa,R,xa,ea,K,Sa,ya,Ta,za,Ua,S=null,Aa=null,T,Ba,L,fa,ga,q,U=!1,Ca=!1,Va,Wa,Xa,ha=0,V=null,ia,W=[],X,v=null,Ya,ja,Y,D,ka,Da,Za,t,hb=Array.prototype.slice,
z=!1,Ea,A,Fa,$a,C,la,ab=0,Ga,Ha=u.match(/(ipad|iphone|ipod)/i),Ia=u.match(/android/i),E=u.match(/msie/i),ib=u.match(/webkit/i),ma=u.match(/safari/i)&&!u.match(/chrome/i),Ja=u.match(/opera/i),na=u.match(/(mobile|pre\/|xoom)/i)||Ha||Ia,bb=!Pa.match(/usehtml5audio/i)&&!Pa.match(/sm2\-ignorebadua/i)&&ma&&!u.match(/silk/i)&&u.match(/OS X 10_6_([3-7])/i),Ka=p.hasFocus!==g?p.hasFocus():null,oa=ma&&(p.hasFocus===g||!p.hasFocus()),cb=!oa,db=/(mp3|mp4|mpa|m4a|m4b)/i,La=p.location?p.location.protocol.match(/http/i):
null,jb=La?"":"http://",eb=/^\s*audio\/(?:x-)?(?:mpeg4|aac|flv|mov|mp4||m4v|m4a|m4b|mp4v|3gp|3g2)\s*(?:$|;)/i,fb="mpeg4 aac flv mov mp4 m4v f4v m4a m4b mp4v 3gp 3g2".split(" "),kb=new RegExp("\\.("+fb.join("|")+")(\\?.*)?$","i");this.mimePattern=/^\s*audio\/(?:x-)?(?:mp(?:eg|3))\s*(?:$|;)/i;this.useAltURL=!La;var Ma;try{Ma=Audio!==g&&(Ja&&opera!==g&&10>opera.version()?new Audio(null):new Audio).canPlayType!==g}catch(lb){Ma=!1}this.hasHTML5=Ma;this.setup=function(b){var e=!c.url;b!==g&&l&&v&&c.ok();
sa(b);if(!z)if(na){if(!c.setupOptions.ignoreMobileRestrictions||c.setupOptions.forceUseGlobalHTML5Audio)W.push(J.globalHTML5),z=!0}else c.setupOptions.forceUseGlobalHTML5Audio&&(W.push(J.globalHTML5),z=!0);if(!Ga&&na)if(c.setupOptions.ignoreMobileRestrictions)W.push(J.ignoreMobile);else if(c.setupOptions.useHTML5Audio=!0,c.setupOptions.preferFlash=!1,Ha)c.ignoreFlash=!0;else if(Ia&&!u.match(/android\s2\.3/i)||!Ia)z=!0;b&&(e&&R&&b.url!==g&&c.beginDelayedInit(),R||b.url===g||"complete"!==p.readyState||
setTimeout(G,1));Ga=!0;return c};this.supported=this.ok=function(){return v?l&&!B:c.useHTML5Audio&&c.hasHTML5};this.getMovie=function(b){return aa(b)||p[b]||h[b]};this.createSound=function(b,e){function d(){a=fa(a);c.sounds[a.id]=new N(a);c.soundIDs.push(a.id);return c.sounds[a.id]}var a,f=null;if(!l||!c.ok())return!1;e!==g&&(b={id:b,url:e});a=x(b);a.url=ia(a.url);a.id===g&&(a.id=c.setupOptions.idPrefix+ab++);if(q(a.id,!0))return c.sounds[a.id];if(ja(a))f=d(),f._setup_html5(a);else{if(c.html5Only||
c.html5.usingFlash&&a.url&&a.url.match(/data\:/i))return d();8<m&&null===a.isMovieStar&&(a.isMovieStar=!!(a.serverURL||a.type&&a.type.match(eb)||a.url&&a.url.match(kb)));a=ga(a,void 0);f=d();8===m?k._createSound(a.id,a.loops||1,a.usePolicyFile):(k._createSound(a.id,a.url,a.usePeakData,a.useWaveformData,a.useEQData,a.isMovieStar,a.isMovieStar?a.bufferTime:!1,a.loops||1,a.serverURL,a.duration||null,a.autoPlay,!0,a.autoLoad,a.usePolicyFile),a.serverURL||(f.connected=!0,a.onconnect&&a.onconnect.apply(f)));
a.serverURL||!a.autoLoad&&!a.autoPlay||f.load(a)}!a.serverURL&&a.autoPlay&&f.play();return f};this.destroySound=function(b,e){if(!q(b))return!1;var d=c.sounds[b],a;d.stop();d._iO={};d.unload();for(a=0;a<c.soundIDs.length;a++)if(c.soundIDs[a]===b){c.soundIDs.splice(a,1);break}e||d.destruct(!0);delete c.sounds[b];return!0};this.load=function(b,e){return q(b)?c.sounds[b].load(e):!1};this.unload=function(b){return q(b)?c.sounds[b].unload():!1};this.onposition=this.onPosition=function(b,e,d,a){return q(b)?
c.sounds[b].onposition(e,d,a):!1};this.clearOnPosition=function(b,e,d){return q(b)?c.sounds[b].clearOnPosition(e,d):!1};this.start=this.play=function(b,e){var d=null,a=e&&!(e instanceof Object);if(!l||!c.ok())return!1;if(q(b,a))a&&(e={url:e});else{if(!a)return!1;a&&(e={url:e});e&&e.url&&(e.id=b,d=c.createSound(e).play())}null===d&&(d=c.sounds[b].play(e));return d};this.setPosition=function(b,e){return q(b)?c.sounds[b].setPosition(e):!1};this.stop=function(b){return q(b)?c.sounds[b].stop():!1};this.stopAll=
function(){for(var b in c.sounds)c.sounds.hasOwnProperty(b)&&c.sounds[b].stop()};this.pause=function(b){return q(b)?c.sounds[b].pause():!1};this.pauseAll=function(){var b;for(b=c.soundIDs.length-1;0<=b;b--)c.sounds[c.soundIDs[b]].pause()};this.resume=function(b){return q(b)?c.sounds[b].resume():!1};this.resumeAll=function(){var b;for(b=c.soundIDs.length-1;0<=b;b--)c.sounds[c.soundIDs[b]].resume()};this.togglePause=function(b){return q(b)?c.sounds[b].togglePause():!1};this.setPan=function(b,e){return q(b)?
c.sounds[b].setPan(e):!1};this.setVolume=function(b,e){var d,a;if(b===g||isNaN(b)||e!==g)return q(b)?c.sounds[b].setVolume(e):!1;d=0;for(a=c.soundIDs.length;d<a;d++)c.sounds[c.soundIDs[d]].setVolume(b)};this.mute=function(b){var e=0;b instanceof String&&(b=null);if(b)return q(b)?c.sounds[b].mute():!1;for(e=c.soundIDs.length-1;0<=e;e--)c.sounds[c.soundIDs[e]].mute();return c.muted=!0};this.muteAll=function(){c.mute()};this.unmute=function(b){b instanceof String&&(b=null);if(b)return q(b)?c.sounds[b].unmute():
!1;for(b=c.soundIDs.length-1;0<=b;b--)c.sounds[c.soundIDs[b]].unmute();c.muted=!1;return!0};this.unmuteAll=function(){c.unmute()};this.toggleMute=function(b){return q(b)?c.sounds[b].toggleMute():!1};this.getMemoryUse=function(){var b=0;k&&8!==m&&(b=parseInt(k._getMemoryUse(),10));return b};this.disable=function(b){var e;b===g&&(b=!1);if(B)return!1;B=!0;for(e=c.soundIDs.length-1;0<=e;e--)Ta(c.sounds[c.soundIDs[e]]);Q(b);t.remove(h,"load",H);return!0};this.canPlayMIME=function(b){var e;c.hasHTML5&&
(e=Y({type:b}));!e&&v&&(e=b&&c.ok()?!!(8<m&&b.match(eb)||b.match(c.mimePattern)):null);return e};this.canPlayURL=function(b){var e;c.hasHTML5&&(e=Y({url:b}));!e&&v&&(e=b&&c.ok()?!!b.match(c.filePattern):null);return e};this.canPlayLink=function(b){return b.type!==g&&b.type&&c.canPlayMIME(b.type)?!0:c.canPlayURL(b.href)};this.getSoundById=function(b,e){return b?c.sounds[b]:null};this.onready=function(b,c){if("function"===typeof b)c||(c=h),ta("onready",b,c),F();else throw T("needFunction","onready");
return!0};this.ontimeout=function(b,c){if("function"===typeof b)c||(c=h),ta("ontimeout",b,c),F({type:"ontimeout"});else throw T("needFunction","ontimeout");return!0};this._wD=this._writeDebug=function(b,c){return!0};this._debug=function(){};this.reboot=function(b,e){var d,a,f;for(d=c.soundIDs.length-1;0<=d;d--)c.sounds[c.soundIDs[d]].destruct();if(k)try{E&&(Aa=k.innerHTML),S=k.parentNode.removeChild(k)}catch(g){}Aa=S=v=k=null;c.enabled=R=l=U=Ca=O=P=B=z=c.swfLoaded=!1;c.soundIDs=[];c.sounds={};ab=
0;Ga=!1;if(b)y=[];else for(d in y)if(y.hasOwnProperty(d))for(a=0,f=y[d].length;a<f;a++)y[d][a].fired=!1;c.html5={usingFlash:null};c.flash={};c.html5Only=!1;c.ignoreFlash=!1;h.setTimeout(function(){e||c.beginDelayedInit()},20);return c};this.reset=function(){return c.reboot(!0,!0)};this.getMoviePercent=function(){return k&&"PercentLoaded"in k?k.PercentLoaded():null};this.beginDelayedInit=function(){ra=!0;G();setTimeout(function(){if(Ca)return!1;ea();da();return Ca=!0},20);I()};this.destruct=function(){c.disable(!0)};
N=function(b){var e,d,a=this,f,n,h,M,p,r,u=!1,l=[],v=0,y,B,w=null,A;d=e=null;this.sID=this.id=b.id;this.url=b.url;this._iO=this.instanceOptions=this.options=x(b);this.pan=this.options.pan;this.volume=this.options.volume;this.isHTML5=!1;this._a=null;A=this.url?!1:!0;this.id3={};this._debug=function(){};this.load=function(b){var e=null,d;b!==g?a._iO=x(b,a.options):(b=a.options,a._iO=b,w&&w!==a.url&&(a._iO.url=a.url,a.url=null));a._iO.url||(a._iO.url=a.url);a._iO.url=ia(a._iO.url);d=a.instanceOptions=
a._iO;if(!d.url&&!a.url)return a;if(d.url===a.url&&0!==a.readyState&&2!==a.readyState)return 3===a.readyState&&d.onload&&la(a,function(){d.onload.apply(a,[!!a.duration])}),a;a.loaded=!1;a.readyState=1;a.playState=0;a.id3={};if(ja(d))e=a._setup_html5(d),e._called_load||(a._html5_canplay=!1,a.url!==d.url&&(a._a.src=d.url,a.setPosition(0)),a._a.autobuffer="auto",a._a.preload="auto",a._a._called_load=!0);else{if(c.html5Only||a._iO.url&&a._iO.url.match(/data\:/i))return a;try{a.isHTML5=!1,a._iO=ga(fa(d)),
a._iO.autoPlay&&(a._iO.position||a._iO.from)&&(a._iO.autoPlay=!1),d=a._iO,8===m?k._load(a.id,d.url,d.stream,d.autoPlay,d.usePolicyFile):k._load(a.id,d.url,!!d.stream,!!d.autoPlay,d.loops||1,!!d.autoLoad,d.usePolicyFile)}catch(f){K({type:"SMSOUND_LOAD_JS_EXCEPTION",fatal:!0})}}a.url=d.url;return a};this.unload=function(){0!==a.readyState&&(a.isHTML5?(M(),a._a&&(a._a.pause(),w=ka(a._a))):8===m?k._unload(a.id,"about:blank"):k._unload(a.id),f());return a};this.destruct=function(b){a.isHTML5?(M(),a._a&&
(a._a.pause(),ka(a._a),z||h(),a._a._s=null,a._a=null)):(a._iO.onfailure=null,k._destroySound(a.id));b||c.destroySound(a.id,!0)};this.start=this.play=function(b,e){var d,f,n,h,Na;f=!0;f=null;e=e===g?!0:e;b||(b={});a.url&&(a._iO.url=a.url);a._iO=x(a._iO,a.options);a._iO=x(b,a._iO);a._iO.url=ia(a._iO.url);a.instanceOptions=a._iO;if(!a.isHTML5&&a._iO.serverURL&&!a.connected)return a.getAutoPlay()||a.setAutoPlay(!0),a;ja(a._iO)&&(a._setup_html5(a._iO),p());1!==a.playState||a.paused||(d=a._iO.multiShot,
d||(a.isHTML5&&a.setPosition(a._iO.position),f=a));if(null!==f)return f;b.url&&b.url!==a.url&&(a.readyState||a.isHTML5||8!==m||!A?a.load(a._iO):A=!1);a.loaded||(0===a.readyState?(a.isHTML5||c.html5Only?a.isHTML5?a.load(a._iO):f=a:(a._iO.autoPlay=!0,a.load(a._iO)),a.instanceOptions=a._iO):2===a.readyState&&(f=a));if(null!==f)return f;!a.isHTML5&&9===m&&0<a.position&&a.position===a.duration&&(b.position=0);if(a.paused&&0<=a.position&&(!a._iO.serverURL||0<a.position))a.resume();else{a._iO=x(b,a._iO);
if((!a.isHTML5&&null!==a._iO.position&&0<a._iO.position||null!==a._iO.from&&0<a._iO.from||null!==a._iO.to)&&0===a.instanceCount&&0===a.playState&&!a._iO.serverURL){d=function(){a._iO=x(b,a._iO);a.play(a._iO)};a.isHTML5&&!a._html5_canplay?(a.load({_oncanplay:d}),f=!1):a.isHTML5||a.loaded||a.readyState&&2===a.readyState||(a.load({onload:d}),f=!1);if(null!==f)return f;a._iO=B()}(!a.instanceCount||a._iO.multiShotEvents||a.isHTML5&&a._iO.multiShot&&!z||!a.isHTML5&&8<m&&!a.getAutoPlay())&&a.instanceCount++;
a._iO.onposition&&0===a.playState&&r(a);a.playState=1;a.paused=!1;a.position=a._iO.position===g||isNaN(a._iO.position)?0:a._iO.position;a.isHTML5||(a._iO=ga(fa(a._iO)));a._iO.onplay&&e&&(a._iO.onplay.apply(a),u=!0);a.setVolume(a._iO.volume,!0);a.setPan(a._iO.pan,!0);a.isHTML5?2>a.instanceCount?(p(),f=a._setup_html5(),a.setPosition(a._iO.position),f.play()):(n=new Audio(a._iO.url),h=function(){t.remove(n,"ended",h);a._onfinish(a);ka(n);n=null},Na=function(){t.remove(n,"canplay",Na);try{n.currentTime=
a._iO.position/1E3}catch(b){}n.play()},t.add(n,"ended",h),a._iO.volume!==g&&(n.volume=Math.max(0,Math.min(1,a._iO.volume/100))),a.muted&&(n.muted=!0),a._iO.position?t.add(n,"canplay",Na):n.play()):(f=k._start(a.id,a._iO.loops||1,9===m?a.position:a.position/1E3,a._iO.multiShot||!1),9!==m||f||a._iO.onplayerror&&a._iO.onplayerror.apply(a))}return a};this.stop=function(b){var c=a._iO;1===a.playState&&(a._onbufferchange(0),a._resetOnPosition(0),a.paused=!1,a.isHTML5||(a.playState=0),y(),c.to&&a.clearOnPosition(c.to),
a.isHTML5?a._a&&(b=a.position,a.setPosition(0),a.position=b,a._a.pause(),a.playState=0,a._onTimer(),M()):(k._stop(a.id,b),c.serverURL&&a.unload()),a.instanceCount=0,a._iO={},c.onstop&&c.onstop.apply(a));return a};this.setAutoPlay=function(b){a._iO.autoPlay=b;a.isHTML5||(k._setAutoPlay(a.id,b),b&&(a.instanceCount||1!==a.readyState||a.instanceCount++))};this.getAutoPlay=function(){return a._iO.autoPlay};this.setPosition=function(b){b===g&&(b=0);var c=a.isHTML5?Math.max(b,0):Math.min(a.duration||a._iO.duration,
Math.max(b,0));a.position=c;b=a.position/1E3;a._resetOnPosition(a.position);a._iO.position=c;if(!a.isHTML5)b=9===m?a.position:b,a.readyState&&2!==a.readyState&&k._setPosition(a.id,b,a.paused||!a.playState,a._iO.multiShot);else if(a._a){if(a._html5_canplay){if(a._a.currentTime!==b)try{a._a.currentTime=b,(0===a.playState||a.paused)&&a._a.pause()}catch(e){}}else if(b)return a;a.paused&&a._onTimer(!0)}return a};this.pause=function(b){if(a.paused||0===a.playState&&1!==a.readyState)return a;a.paused=!0;
a.isHTML5?(a._setup_html5().pause(),M()):(b||b===g)&&k._pause(a.id,a._iO.multiShot);a._iO.onpause&&a._iO.onpause.apply(a);return a};this.resume=function(){var b=a._iO;if(!a.paused)return a;a.paused=!1;a.playState=1;a.isHTML5?(a._setup_html5().play(),p()):(b.isMovieStar&&!b.serverURL&&a.setPosition(a.position),k._pause(a.id,b.multiShot));!u&&b.onplay?(b.onplay.apply(a),u=!0):b.onresume&&b.onresume.apply(a);return a};this.togglePause=function(){if(0===a.playState)return a.play({position:9!==m||a.isHTML5?
a.position/1E3:a.position}),a;a.paused?a.resume():a.pause();return a};this.setPan=function(b,c){b===g&&(b=0);c===g&&(c=!1);a.isHTML5||k._setPan(a.id,b);a._iO.pan=b;c||(a.pan=b,a.options.pan=b);return a};this.setVolume=function(b,e){b===g&&(b=100);e===g&&(e=!1);a.isHTML5?a._a&&(c.muted&&!a.muted&&(a.muted=!0,a._a.muted=!0),a._a.volume=Math.max(0,Math.min(1,b/100))):k._setVolume(a.id,c.muted&&!a.muted||a.muted?0:b);a._iO.volume=b;e||(a.volume=b,a.options.volume=b);return a};this.mute=function(){a.muted=
!0;a.isHTML5?a._a&&(a._a.muted=!0):k._setVolume(a.id,0);return a};this.unmute=function(){a.muted=!1;var b=a._iO.volume!==g;a.isHTML5?a._a&&(a._a.muted=!1):k._setVolume(a.id,b?a._iO.volume:a.options.volume);return a};this.toggleMute=function(){return a.muted?a.unmute():a.mute()};this.onposition=this.onPosition=function(b,c,e){l.push({position:parseInt(b,10),method:c,scope:e!==g?e:a,fired:!1});return a};this.clearOnPosition=function(a,b){var c;a=parseInt(a,10);if(isNaN(a))return!1;for(c=0;c<l.length;c++)a!==
l[c].position||b&&b!==l[c].method||(l[c].fired&&v--,l.splice(c,1))};this._processOnPosition=function(){var b,c;b=l.length;if(!b||!a.playState||v>=b)return!1;for(--b;0<=b;b--)c=l[b],!c.fired&&a.position>=c.position&&(c.fired=!0,v++,c.method.apply(c.scope,[c.position]));return!0};this._resetOnPosition=function(a){var b,c;b=l.length;if(!b)return!1;for(--b;0<=b;b--)c=l[b],c.fired&&a<=c.position&&(c.fired=!1,v--);return!0};B=function(){var b=a._iO,c=b.from,e=b.to,d,f;f=function(){a.clearOnPosition(e,f);
a.stop()};d=function(){if(null!==e&&!isNaN(e))a.onPosition(e,f)};null===c||isNaN(c)||(b.position=c,b.multiShot=!1,d());return b};r=function(){var b,c=a._iO.onposition;if(c)for(b in c)if(c.hasOwnProperty(b))a.onPosition(parseInt(b,10),c[b])};y=function(){var b,c=a._iO.onposition;if(c)for(b in c)c.hasOwnProperty(b)&&a.clearOnPosition(parseInt(b,10))};p=function(){a.isHTML5&&Va(a)};M=function(){a.isHTML5&&Wa(a)};f=function(b){b||(l=[],v=0);u=!1;a._hasTimer=null;a._a=null;a._html5_canplay=!1;a.bytesLoaded=
null;a.bytesTotal=null;a.duration=a._iO&&a._iO.duration?a._iO.duration:null;a.durationEstimate=null;a.buffered=[];a.eqData=[];a.eqData.left=[];a.eqData.right=[];a.failures=0;a.isBuffering=!1;a.instanceOptions={};a.instanceCount=0;a.loaded=!1;a.metadata={};a.readyState=0;a.muted=!1;a.paused=!1;a.peakData={left:0,right:0};a.waveformData={left:[],right:[]};a.playState=0;a.position=null;a.id3={}};f();this._onTimer=function(b){var c,f=!1,g={};if(a._hasTimer||b)return a._a&&(b||(0<a.playState||1===a.readyState)&&
!a.paused)&&(c=a._get_html5_duration(),c!==e&&(e=c,a.duration=c,f=!0),a.durationEstimate=a.duration,c=1E3*a._a.currentTime||0,c!==d&&(d=c,f=!0),(f||b)&&a._whileplaying(c,g,g,g,g)),f};this._get_html5_duration=function(){var b=a._iO;return(b=a._a&&a._a.duration?1E3*a._a.duration:b&&b.duration?b.duration:null)&&!isNaN(b)&&Infinity!==b?b:null};this._apply_loop=function(a,b){a.loop=1<b?"loop":""};this._setup_html5=function(b){b=x(a._iO,b);var c=z?Oa:a._a,e=decodeURI(b.url),d;z?e===decodeURI(Ea)&&(d=!0):
e===decodeURI(w)&&(d=!0);if(c){if(c._s)if(z)c._s&&c._s.playState&&!d&&c._s.stop();else if(!z&&e===decodeURI(w))return a._apply_loop(c,b.loops),c;d||(w&&f(!1),c.src=b.url,Ea=w=a.url=b.url,c._called_load=!1)}else b.autoLoad||b.autoPlay?(a._a=new Audio(b.url),a._a.load()):a._a=Ja&&10>opera.version()?new Audio(null):new Audio,c=a._a,c._called_load=!1,z&&(Oa=c);a.isHTML5=!0;a._a=c;c._s=a;n();a._apply_loop(c,b.loops);b.autoLoad||b.autoPlay?a.load():(c.autobuffer=!1,c.preload="auto");return c};n=function(){if(a._a._added_events)return!1;
var b;a._a._added_events=!0;for(b in C)C.hasOwnProperty(b)&&a._a&&a._a.addEventListener(b,C[b],!1);return!0};h=function(){var b;a._a._added_events=!1;for(b in C)C.hasOwnProperty(b)&&a._a&&a._a.removeEventListener(b,C[b],!1)};this._onload=function(b){var c=!!b||!a.isHTML5&&8===m&&a.duration;a.loaded=c;a.readyState=c?3:2;a._onbufferchange(0);a._iO.onload&&la(a,function(){a._iO.onload.apply(a,[c])});return!0};this._onbufferchange=function(b){if(0===a.playState||b&&a.isBuffering||!b&&!a.isBuffering)return!1;
a.isBuffering=1===b;a._iO.onbufferchange&&a._iO.onbufferchange.apply(a,[b]);return!0};this._onsuspend=function(){a._iO.onsuspend&&a._iO.onsuspend.apply(a);return!0};this._onfailure=function(b,c,e){a.failures++;if(a._iO.onfailure&&1===a.failures)a._iO.onfailure(b,c,e)};this._onwarning=function(b,c,e){if(a._iO.onwarning)a._iO.onwarning(b,c,e)};this._onfinish=function(){var b=a._iO.onfinish;a._onbufferchange(0);a._resetOnPosition(0);a.instanceCount&&(a.instanceCount--,a.instanceCount||(y(),a.playState=
0,a.paused=!1,a.instanceCount=0,a.instanceOptions={},a._iO={},M(),a.isHTML5&&(a.position=0)),(!a.instanceCount||a._iO.multiShotEvents)&&b&&la(a,function(){b.apply(a)}))};this._whileloading=function(b,c,e,d){var f=a._iO;a.bytesLoaded=b;a.bytesTotal=c;a.duration=Math.floor(e);a.bufferLength=d;a.durationEstimate=a.isHTML5||f.isMovieStar?a.duration:f.duration?a.duration>f.duration?a.duration:f.duration:parseInt(a.bytesTotal/a.bytesLoaded*a.duration,10);a.isHTML5||(a.buffered=[{start:0,end:a.duration}]);
(3!==a.readyState||a.isHTML5)&&f.whileloading&&f.whileloading.apply(a)};this._whileplaying=function(b,c,e,d,f){var n=a._iO;if(isNaN(b)||null===b)return!1;a.position=Math.max(0,b);a._processOnPosition();!a.isHTML5&&8<m&&(n.usePeakData&&c!==g&&c&&(a.peakData={left:c.leftPeak,right:c.rightPeak}),n.useWaveformData&&e!==g&&e&&(a.waveformData={left:e.split(","),right:d.split(",")}),n.useEQData&&f!==g&&f&&f.leftEQ&&(b=f.leftEQ.split(","),a.eqData=b,a.eqData.left=b,f.rightEQ!==g&&f.rightEQ&&(a.eqData.right=
f.rightEQ.split(","))));1===a.playState&&(a.isHTML5||8!==m||a.position||!a.isBuffering||a._onbufferchange(0),n.whileplaying&&n.whileplaying.apply(a));return!0};this._oncaptiondata=function(b){a.captiondata=b;a._iO.oncaptiondata&&a._iO.oncaptiondata.apply(a,[b])};this._onmetadata=function(b,c){var e={},d,f;d=0;for(f=b.length;d<f;d++)e[b[d]]=c[d];a.metadata=e;a._iO.onmetadata&&a._iO.onmetadata.call(a,a.metadata)};this._onid3=function(b,c){var e=[],d,f;d=0;for(f=b.length;d<f;d++)e[b[d]]=c[d];a.id3=x(a.id3,
e);a._iO.onid3&&a._iO.onid3.apply(a)};this._onconnect=function(b){b=1===b;if(a.connected=b)a.failures=0,q(a.id)&&(a.getAutoPlay()?a.play(g,a.getAutoPlay()):a._iO.autoLoad&&a.load()),a._iO.onconnect&&a._iO.onconnect.apply(a,[b])};this._ondataerror=function(b){0<a.playState&&a._iO.ondataerror&&a._iO.ondataerror.apply(a)}};xa=function(){return p.body||p.getElementsByTagName("div")[0]};aa=function(b){return p.getElementById(b)};x=function(b,e){var d=b||{},a,f;a=e===g?c.defaultOptions:e;for(f in a)a.hasOwnProperty(f)&&
d[f]===g&&(d[f]="object"!==typeof a[f]||null===a[f]?a[f]:x(d[f],a[f]));return d};la=function(b,c){b.isHTML5||8!==m?c():h.setTimeout(c,0)};ba={onready:1,ontimeout:1,defaultOptions:1,flash9Options:1,movieStarOptions:1};sa=function(b,e){var d,a=!0,f=e!==g,n=c.setupOptions;for(d in b)if(b.hasOwnProperty(d))if("object"!==typeof b[d]||null===b[d]||b[d]instanceof Array||b[d]instanceof RegExp)f&&ba[e]!==g?c[e][d]=b[d]:n[d]!==g?(c.setupOptions[d]=b[d],c[d]=b[d]):ba[d]===g?a=!1:c[d]instanceof Function?c[d].apply(c,
b[d]instanceof Array?b[d]:[b[d]]):c[d]=b[d];else if(ba[d]===g)a=!1;else return sa(b[d],d);return a};t=function(){function b(a){a=hb.call(a);var b=a.length;d?(a[1]="on"+a[1],3<b&&a.pop()):3===b&&a.push(!1);return a}function c(b,e){var g=b.shift(),h=[a[e]];if(d)g[h](b[0],b[1]);else g[h].apply(g,b)}var d=h.attachEvent,a={add:d?"attachEvent":"addEventListener",remove:d?"detachEvent":"removeEventListener"};return{add:function(){c(b(arguments),"add")},remove:function(){c(b(arguments),"remove")}}}();C={abort:r(function(){}),
canplay:r(function(){var b=this._s,c;if(b._html5_canplay)return!0;b._html5_canplay=!0;b._onbufferchange(0);c=b._iO.position===g||isNaN(b._iO.position)?null:b._iO.position/1E3;if(this.currentTime!==c)try{this.currentTime=c}catch(d){}b._iO._oncanplay&&b._iO._oncanplay()}),canplaythrough:r(function(){var b=this._s;b.loaded||(b._onbufferchange(0),b._whileloading(b.bytesLoaded,b.bytesTotal,b._get_html5_duration()),b._onload(!0))}),durationchange:r(function(){var b=this._s,c;c=b._get_html5_duration();isNaN(c)||
c===b.duration||(b.durationEstimate=b.duration=c)}),ended:r(function(){this._s._onfinish()}),error:r(function(){this._s._onload(!1)}),loadeddata:r(function(){var b=this._s;b._loaded||ma||(b.duration=b._get_html5_duration())}),loadedmetadata:r(function(){}),loadstart:r(function(){this._s._onbufferchange(1)}),play:r(function(){this._s._onbufferchange(0)}),playing:r(function(){this._s._onbufferchange(0)}),progress:r(function(b){var c=this._s,d,a,f=0,f=b.target.buffered;d=b.loaded||0;var g=b.total||1;
c.buffered=[];if(f&&f.length){d=0;for(a=f.length;d<a;d++)c.buffered.push({start:1E3*f.start(d),end:1E3*f.end(d)});f=1E3*(f.end(0)-f.start(0));d=Math.min(1,f/(1E3*b.target.duration))}isNaN(d)||(c._whileloading(d,g,c._get_html5_duration()),d&&g&&d===g&&C.canplaythrough.call(this,b))}),ratechange:r(function(){}),suspend:r(function(b){var c=this._s;C.progress.call(this,b);c._onsuspend()}),stalled:r(function(){}),timeupdate:r(function(){this._s._onTimer()}),waiting:r(function(){this._s._onbufferchange(1)})};
ja=function(b){return b&&(b.type||b.url||b.serverURL)?b.serverURL||b.type&&Z(b.type)?!1:b.type?Y({type:b.type}):Y({url:b.url})||c.html5Only||b.url.match(/data\:/i):!1};ka=function(b){var e;b&&(e=ma?"about:blank":c.html5.canPlayType("audio/wav")?"data:audio/wave;base64,/UklGRiYAAABXQVZFZm10IBAAAAABAAEARKwAAIhYAQACABAAZGF0YQIAAAD//w==":"about:blank",b.src=e,b._called_unload!==g&&(b._called_load=!1));z&&(Ea=null);return e};Y=function(b){if(!c.useHTML5Audio||!c.hasHTML5)return!1;var e=b.url||null;b=b.type||
null;var d=c.audioFormats,a;if(b&&c.html5[b]!==g)return c.html5[b]&&!Z(b);if(!D){D=[];for(a in d)d.hasOwnProperty(a)&&(D.push(a),d[a].related&&(D=D.concat(d[a].related)));D=new RegExp("\\.("+D.join("|")+")(\\?.*)?$","i")}(a=e?e.toLowerCase().match(D):null)&&a.length?a=a[1]:b&&(e=b.indexOf(";"),a=(-1!==e?b.substr(0,e):b).substr(6));a&&c.html5[a]!==g?e=c.html5[a]&&!Z(a):(b="audio/"+a,e=c.html5.canPlayType({type:b}),e=(c.html5[a]=e)&&c.html5[b]&&!Z(b));return e};Za=function(){function b(a){var b,d=b=
!1;if(!e||"function"!==typeof e.canPlayType)return b;if(a instanceof Array){h=0;for(b=a.length;h<b;h++)if(c.html5[a[h]]||e.canPlayType(a[h]).match(c.html5Test))d=!0,c.html5[a[h]]=!0,c.flash[a[h]]=!!a[h].match(db);b=d}else a=e&&"function"===typeof e.canPlayType?e.canPlayType(a):!1,b=!(!a||!a.match(c.html5Test));return b}if(!c.useHTML5Audio||!c.hasHTML5)return v=c.html5.usingFlash=!0,!1;var e=Audio!==g?Ja&&10>opera.version()?new Audio(null):new Audio:null,d,a,f={},n,h;n=c.audioFormats;for(d in n)if(n.hasOwnProperty(d)&&
(a="audio/"+d,f[d]=b(n[d].type),f[a]=f[d],d.match(db)?(c.flash[d]=!0,c.flash[a]=!0):(c.flash[d]=!1,c.flash[a]=!1),n[d]&&n[d].related))for(h=n[d].related.length-1;0<=h;h--)f["audio/"+n[d].related[h]]=f[d],c.html5[n[d].related[h]]=f[d],c.flash[n[d].related[h]]=f[d];f.canPlayType=e?b:null;c.html5=x(c.html5,f);c.html5.usingFlash=Ya();v=c.html5.usingFlash;return!0};J={};T=function(){};fa=function(b){8===m&&1<b.loops&&b.stream&&(b.stream=!1);return b};ga=function(b,c){b&&!b.usePolicyFile&&(b.onid3||b.usePeakData||
b.useWaveformData||b.useEQData)&&(b.usePolicyFile=!0);return b};pa=function(){return!1};Ta=function(b){for(var c in b)b.hasOwnProperty(c)&&"function"===typeof b[c]&&(b[c]=pa)};za=function(b){b===g&&(b=!1);(B||b)&&c.disable(b)};Ua=function(b){var e=null;if(b)if(b.match(/\.swf(\?.*)?$/i)){if(e=b.substr(b.toLowerCase().lastIndexOf(".swf?")+4))return b}else b.lastIndexOf("/")!==b.length-1&&(b+="/");b=(b&&-1!==b.lastIndexOf("/")?b.substr(0,b.lastIndexOf("/")+1):"./")+c.movieURL;c.noSWFCache&&(b+="?ts="+
(new Date).getTime());return b};va=function(){m=parseInt(c.flashVersion,10);8!==m&&9!==m&&(c.flashVersion=m=8);var b=c.debugMode||c.debugFlash?"_debug.swf":".swf";c.useHTML5Audio&&!c.html5Only&&c.audioFormats.mp4.required&&9>m&&(c.flashVersion=m=9);c.version=c.versionNumber+(c.html5Only?" (HTML5-only mode)":9===m?" (AS3/Flash 9)":" (AS2/Flash 8)");8<m?(c.defaultOptions=x(c.defaultOptions,c.flash9Options),c.features.buffering=!0,c.defaultOptions=x(c.defaultOptions,c.movieStarOptions),c.filePatterns.flash9=
new RegExp("\\.(mp3|"+fb.join("|")+")(\\?.*)?$","i"),c.features.movieStar=!0):c.features.movieStar=!1;c.filePattern=c.filePatterns[8!==m?"flash9":"flash8"];c.movieURL=(8===m?"soundmanager2.swf":"soundmanager2_flash9.swf").replace(".swf",b);c.features.peakData=c.features.waveformData=c.features.eqData=8<m};Sa=function(b,c){if(!k)return!1;k._setPolling(b,c)};ya=function(){};q=this.getSoundById;L=function(){var b=[];c.debugMode&&b.push("sm2_debug");c.debugFlash&&b.push("flash_debug");c.useHighPerformance&&
b.push("high_performance");return b.join(" ")};Ba=function(){T("fbHandler");var b=c.getMoviePercent(),e={type:"FLASHBLOCK"};if(c.html5Only)return!1;c.ok()?c.oMC&&(c.oMC.className=[L(),"movieContainer","swf_loaded"+(c.didFlashBlock?" swf_unblocked":"")].join(" ")):(v&&(c.oMC.className=L()+" movieContainer "+(null===b?"swf_timedout":"swf_error")),c.didFlashBlock=!0,F({type:"ontimeout",ignoreInit:!0,error:e}),K(e))};ta=function(b,c,d){y[b]===g&&(y[b]=[]);y[b].push({method:c,scope:d||null,fired:!1})};
F=function(b){b||(b={type:c.ok()?"onready":"ontimeout"});if(!l&&b&&!b.ignoreInit||"ontimeout"===b.type&&(c.ok()||B&&!b.ignoreInit))return!1;var e={success:b&&b.ignoreInit?c.ok():!B},d=b&&b.type?y[b.type]||[]:[],a=[],f,e=[e],g=v&&!c.ok();b.error&&(e[0].error=b.error);b=0;for(f=d.length;b<f;b++)!0!==d[b].fired&&a.push(d[b]);if(a.length)for(b=0,f=a.length;b<f;b++)a[b].scope?a[b].method.apply(a[b].scope,e):a[b].method.apply(this,e),g||(a[b].fired=!0);return!0};H=function(){h.setTimeout(function(){c.useFlashBlock&&
Ba();F();"function"===typeof c.onload&&c.onload.apply(h);c.waitForWindowLoad&&t.add(h,"load",H)},1)};Fa=function(){if(A!==g)return A;var b=!1,c=navigator,d=c.plugins,a,f=h.ActiveXObject;if(d&&d.length)(c=c.mimeTypes)&&c["application/x-shockwave-flash"]&&c["application/x-shockwave-flash"].enabledPlugin&&c["application/x-shockwave-flash"].enabledPlugin.description&&(b=!0);else if(f!==g&&!u.match(/MSAppHost/i)){try{a=new f("ShockwaveFlash.ShockwaveFlash")}catch(n){a=null}b=!!a}return A=b};Ya=function(){var b,
e,d=c.audioFormats;Ha&&u.match(/os (1|2|3_0|3_1)\s/i)?(c.hasHTML5=!1,c.html5Only=!0,c.oMC&&(c.oMC.style.display="none")):!c.useHTML5Audio||c.html5&&c.html5.canPlayType||(c.hasHTML5=!1);if(c.useHTML5Audio&&c.hasHTML5)for(e in X=!0,d)d.hasOwnProperty(e)&&d[e].required&&(c.html5.canPlayType(d[e].type)?c.preferFlash&&(c.flash[e]||c.flash[d[e].type])&&(b=!0):(X=!1,b=!0));c.ignoreFlash&&(b=!1,X=!0);c.html5Only=c.hasHTML5&&c.useHTML5Audio&&!b;return!c.html5Only};ia=function(b){var e,d,a=0;if(b instanceof
Array){e=0;for(d=b.length;e<d;e++)if(b[e]instanceof Object){if(c.canPlayMIME(b[e].type)){a=e;break}}else if(c.canPlayURL(b[e])){a=e;break}b[a].url&&(b[a]=b[a].url);b=b[a]}return b};Va=function(b){b._hasTimer||(b._hasTimer=!0,!na&&c.html5PollingInterval&&(null===V&&0===ha&&(V=setInterval(Xa,c.html5PollingInterval)),ha++))};Wa=function(b){b._hasTimer&&(b._hasTimer=!1,!na&&c.html5PollingInterval&&ha--)};Xa=function(){var b;if(null!==V&&!ha)return clearInterval(V),V=null,!1;for(b=c.soundIDs.length-1;0<=
b;b--)c.sounds[c.soundIDs[b]].isHTML5&&c.sounds[c.soundIDs[b]]._hasTimer&&c.sounds[c.soundIDs[b]]._onTimer()};K=function(b){b=b!==g?b:{};"function"===typeof c.onerror&&c.onerror.apply(h,[{type:b.type!==g?b.type:null}]);b.fatal!==g&&b.fatal&&c.disable()};$a=function(){if(!bb||!Fa())return!1;var b=c.audioFormats,e,d;for(d in b)if(b.hasOwnProperty(d)&&("mp3"===d||"mp4"===d)&&(c.html5[d]=!1,b[d]&&b[d].related))for(e=b[d].related.length-1;0<=e;e--)c.html5[b[d].related[e]]=!1};this._setSandboxType=function(b){};
this._externalInterfaceOK=function(b){if(c.swfLoaded)return!1;c.swfLoaded=!0;oa=!1;bb&&$a();setTimeout(qa,E?100:1)};ea=function(b,e){function d(a,b){return'<param name="'+a+'" value="'+b+'" />'}if(O&&P)return!1;if(c.html5Only)return va(),c.oMC=aa(c.movieID),qa(),P=O=!0,!1;var a=e||c.url,f=c.altURL||a,h=xa(),k=L(),m=null,m=p.getElementsByTagName("html")[0],l,r,q,m=m&&m.dir&&m.dir.match(/rtl/i);b=b===g?c.id:b;va();c.url=Ua(La?a:f);e=c.url;c.wmode=!c.wmode&&c.useHighPerformance?"transparent":c.wmode;
null!==c.wmode&&(u.match(/msie 8/i)||!E&&!c.useHighPerformance)&&navigator.platform.match(/win32|win64/i)&&(W.push(J.spcWmode),c.wmode=null);h={name:b,id:b,src:e,quality:"high",allowScriptAccess:c.allowScriptAccess,bgcolor:c.bgColor,pluginspage:jb+"www.macromedia.com/go/getflashplayer",title:"JS/Flash audio component (SoundManager 2)",type:"application/x-shockwave-flash",wmode:c.wmode,hasPriority:"true"};c.debugFlash&&(h.FlashVars="debug=1");c.wmode||delete h.wmode;if(E)a=p.createElement("div"),r=
['<object id="'+b+'" data="'+e+'" type="'+h.type+'" title="'+h.title+'" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0">',d("movie",e),d("AllowScriptAccess",c.allowScriptAccess),d("quality",h.quality),c.wmode?d("wmode",c.wmode):"",d("bgcolor",c.bgColor),d("hasPriority","true"),c.debugFlash?d("FlashVars",h.FlashVars):"","</object>"].join("");else for(l in a=p.createElement("embed"),h)h.hasOwnProperty(l)&&
a.setAttribute(l,h[l]);ya();k=L();if(h=xa())if(c.oMC=aa(c.movieID)||p.createElement("div"),c.oMC.id)q=c.oMC.className,c.oMC.className=(q?q+" ":"movieContainer")+(k?" "+k:""),c.oMC.appendChild(a),E&&(l=c.oMC.appendChild(p.createElement("div")),l.className="sm2-object-box",l.innerHTML=r),P=!0;else{c.oMC.id=c.movieID;c.oMC.className="movieContainer "+k;l=k=null;c.useFlashBlock||(c.useHighPerformance?k={position:"fixed",width:"8px",height:"8px",bottom:"0px",left:"0px",overflow:"hidden"}:(k={position:"absolute",
width:"6px",height:"6px",top:"-9999px",left:"-9999px"},m&&(k.left=Math.abs(parseInt(k.left,10))+"px")));ib&&(c.oMC.style.zIndex=1E4);if(!c.debugFlash)for(q in k)k.hasOwnProperty(q)&&(c.oMC.style[q]=k[q]);try{E||c.oMC.appendChild(a),h.appendChild(c.oMC),E&&(l=c.oMC.appendChild(p.createElement("div")),l.className="sm2-object-box",l.innerHTML=r),P=!0}catch(t){throw Error(T("domError")+" \n"+t.toString());}}return O=!0};da=function(){if(c.html5Only)return ea(),!1;if(k||!c.url)return!1;k=c.getMovie(c.id);
k||(S?(E?c.oMC.innerHTML=Aa:c.oMC.appendChild(S),S=null,O=!0):ea(c.id,c.url),k=c.getMovie(c.id));"function"===typeof c.oninitmovie&&setTimeout(c.oninitmovie,1);return!0};I=function(){setTimeout(Ra,1E3)};ua=function(){h.setTimeout(function(){c.setup({preferFlash:!1}).reboot();c.didFlashBlock=!0;c.beginDelayedInit()},1)};Ra=function(){var b,e=!1;if(!c.url||U)return!1;U=!0;t.remove(h,"load",I);if(A&&oa&&!Ka)return!1;l||(b=c.getMoviePercent(),0<b&&100>b&&(e=!0));setTimeout(function(){b=c.getMoviePercent();
if(e)return U=!1,h.setTimeout(I,1),!1;!l&&cb&&(null===b?c.useFlashBlock||0===c.flashLoadTimeout?c.useFlashBlock&&Ba():!c.useFlashBlock&&X?ua():F({type:"ontimeout",ignoreInit:!0,error:{type:"INIT_FLASHBLOCK"}}):0!==c.flashLoadTimeout&&(!c.useFlashBlock&&X?ua():za(!0)))},c.flashLoadTimeout)};ca=function(){if(Ka||!oa)return t.remove(h,"focus",ca),!0;Ka=cb=!0;U=!1;I();t.remove(h,"focus",ca);return!0};Q=function(b){if(l)return!1;if(c.html5Only)return l=!0,H(),!0;var e=!0,d;c.useFlashBlock&&c.flashLoadTimeout&&
!c.getMoviePercent()||(l=!0);d={type:!A&&v?"NO_FLASH":"INIT_TIMEOUT"};if(B||b)c.useFlashBlock&&c.oMC&&(c.oMC.className=L()+" "+(null===c.getMoviePercent()?"swf_timedout":"swf_error")),F({type:"ontimeout",error:d,ignoreInit:!0}),K(d),e=!1;B||(c.waitForWindowLoad&&!ra?t.add(h,"load",H):H());return e};Qa=function(){var b,e=c.setupOptions;for(b in e)e.hasOwnProperty(b)&&(c[b]===g?c[b]=e[b]:c[b]!==e[b]&&(c.setupOptions[b]=c[b]))};qa=function(){if(l)return!1;if(c.html5Only)return l||(t.remove(h,"load",
c.beginDelayedInit),c.enabled=!0,Q()),!0;da();try{k._externalInterfaceTest(!1),Sa(!0,c.flashPollingInterval||(c.useHighPerformance?10:50)),c.debugMode||k._disableDebug(),c.enabled=!0,c.html5Only||t.add(h,"unload",pa)}catch(b){return K({type:"JS_TO_FLASH_EXCEPTION",fatal:!0}),za(!0),Q(),!1}Q();t.remove(h,"load",c.beginDelayedInit);return!0};G=function(){if(R)return!1;R=!0;Qa();ya();!A&&c.hasHTML5&&c.setup({useHTML5Audio:!0,preferFlash:!1});Za();!A&&v&&(W.push(J.needFlash),c.setup({flashLoadTimeout:1}));
p.removeEventListener&&p.removeEventListener("DOMContentLoaded",G,!1);da();return!0};Da=function(){"complete"===p.readyState&&(G(),p.detachEvent("onreadystatechange",Da));return!0};wa=function(){ra=!0;G();t.remove(h,"load",wa)};Fa();t.add(h,"focus",ca);t.add(h,"load",I);t.add(h,"load",wa);p.addEventListener?p.addEventListener("DOMContentLoaded",G,!1):p.attachEvent?p.attachEvent("onreadystatechange",Da):K({type:"NO_DOM2_EVENTS",fatal:!0})}if(!h||!h.document)throw Error("SoundManager requires a browser with window and document objects.");
var N=null;h.SM2_DEFER!==g&&SM2_DEFER||(N=new w);"object"===typeof module&&module&&"object"===typeof module.exports?(module.exports.SoundManager=w,module.exports.soundManager=N):"function"===typeof define&&define.amd&&define(function(){return{constructor:w,getInstance:function(g){!h.soundManager&&g instanceof Function&&(g=g(w),g instanceof w&&(h.soundManager=g));return h.soundManager}}});h.SoundManager=w;h.soundManager=N})(window);
;var MonsterInsights=function(){var e=[],i='',r=!1;this.setLastClicked=function(t,n,i){t=typeof t!=='undefined'?t:[];n=typeof n!=='undefined'?n:[];i=typeof i!=='undefined'?i:!1;e.valuesArray=t;e.fieldsArray=n};this.getLastClicked=function(){return e};this.setInternalAsOutboundCategory=function(e){i=e};this.getInternalAsOutboundCategory=function(){return i};this.sendEvent=function(e,t,n){b(e,t,n,[])};function d(){if(window.monsterinsights_debug_mode){return!0}
else{return!1}};function v(e,t,n){var l={};for(var i in e){if(!e.hasOwnProperty(i)){continue};if(t&&t.indexOf(i)===-1){continue};if(n&&n.indexOf(i)>-1){continue};l[i]=e[i]};return l};function y(e,t,n){if(!monsterinsights_frontend.v4_id||e!=='event'){return};var i=n.event_category||'',a=['event_name','event_category','event_label','value',],l=v(n,null,a);l.action=t;l.send_to=monsterinsights_frontend.v4_id;let hitType=i.replace('-','_');if(i.indexOf('outbound-link')!==-1){hitType='click'}
else if(i==='download'){hitType='file_download'};__gtagTracker(e,hitType,l)};function l(t,i,l,a){t=typeof t!=='undefined'?t:'event';i=typeof i!=='undefined'?i:'';a=typeof a!=='undefined'?a:[];l=typeof l!=='undefined'?l:{};y(t,i,l);e.valuesArray=a;e.fieldsArray=l;e.fieldsArray.event_action=i;e.tracked=!0;n('Tracked: '+a.type);n(e)};function b(t,i,l,a){t=typeof t!=='undefined'?t:'event';i=typeof i!=='undefined'?i:'';a=typeof a!=='undefined'?a:[];l=typeof l!=='undefined'?l:{};__gtagTracker(t,i,l);e.valuesArray=a;e.fieldsArray=l;e.fieldsArray.event_action=i;e.tracked=!0;n('Tracked: '+a.type);n(e)};function t(t){t=typeof t!=='undefined'?t:[];e.valuesArray=t;e.fieldsArray=[];e.tracked=!1;n('Not Tracked: '+t.exit);n(e)};function n(e){if(d()){console.dir(e)}};function o(e){return e.replace(/^\s+|\s+$/gm,'')};function u(){var n=0,e=document.domain,i=e.split('.'),t='_gd'+(new Date()).getTime();while(n<(i.length-1)&&document.cookie.indexOf(t+'='+t)==-1){e=i.slice(-1-(++n)).join('.');document.cookie=t+'='+t+';domain='+e+';'};document.cookie=t+'=;expires=Thu, 01 Jan 1970 00:00:01 GMT;domain='+e+';';return e};function c(e){e=e.toString();e=e.substring(0,(e.indexOf('#')==-1)?e.length:e.indexOf('#'));e=e.substring(0,(e.indexOf('?')==-1)?e.length:e.indexOf('?'));e=e.substring(e.lastIndexOf('/')+1,e.length);if(e.length>0&&e.indexOf('.')!==-1){e=e.substring(e.lastIndexOf('.')+1);return e}
else{return''}};function x(e){return e.which==1||e.which==2||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey};function h(){var e=[];if(typeof monsterinsights_frontend.download_extensions=='string'){e=monsterinsights_frontend.download_extensions.split(',')};return e};function g(){var e=[];if(typeof monsterinsights_frontend.inbound_paths=='string'){e=JSON.parse(monsterinsights_frontend.inbound_paths)};return e};function w(e){if(e.which==1){return'event.which=1'}
else if(e.which==2){return'event.which=2'}
else if(e.metaKey){return'metaKey'}
else if(e.ctrlKey){return'ctrlKey'}
else if(e.shiftKey){return'shiftKey'}
else if(e.altKey){return'altKey'}
else{return''}};function A(e){var f=h(),l=g(),t='unknown',d=e.href,p=c(e.href),k=u(),r=e.hostname,a=e.protocol,m=e.pathname;d=d.toString();var s,v,y=e.getAttribute('data-vars-ga-category');if(y){return y};if(d.match(/^javascript\:/i)){t='internal'}
else if(a&&a.length>0&&(o(a)=='tel'||o(a)=='tel:')){t='tel'}
else if(a&&a.length>0&&(o(a)=='mailto'||o(a)=='mailto:')){t='mailto'}
else if(r&&k&&r.length>0&&k.length>0&&!r.endsWith('.'+k)&&r!==k){t='external'}
else if(m&&JSON.stringify(l)!='{}'&&m.length>0){var b=l.length;for(var n=0;n<b;n++){if(l[n].path&&l[n].label&&l[n].path.length>0&&l[n].label.length>0&&m.startsWith(l[n].path)){t='internal-as-outbound';i='outbound-link-'+l[n].label;break}}}
else if(r&&window.monsterinsights_experimental_mode&&r.length>0&&document.domain.length>0&&r!==document.domain){t='cross-hostname'};if(p&&(t==='unknown'||'external'===t)&&f.length>0&&p.length>0){for(s=0,v=f.length;s<v;++s){if(f[s].length>0&&(d.endsWith(f[s])||f[s]==p)){t='download';break}}};if(t==='unknown'){t='internal'};return t};function T(e,t){var n=(e.target&&!e.target.match(/^_(self|parent|top)$/i))?e.target:!1;if(t.ctrlKey||t.shiftKey||t.metaKey||t.which==2){n='_blank'};return n};function k(e){if(e.getAttribute('data-vars-ga-label')&&e.getAttribute('data-vars-ga-label').replace(/\n/ig,'')){return e.getAttribute('data-vars-ga-label').replace(/\n/ig,'')}
else if(e.title&&e.title.replace(/\n/ig,'')){return e.title.replace(/\n/ig,'')}
else if(e.innerText&&e.innerText.replace(/\n/ig,'')){return e.innerText.replace(/\n/ig,'')}
else if(e.getAttribute('aria-label')&&e.getAttribute('aria-label').replace(/\n/ig,'')){return e.getAttribute('aria-label').replace(/\n/ig,'')}
else if(e.alt&&e.alt.replace(/\n/ig,'')){return e.alt.replace(/\n/ig,'')}
else if(e.textContent&&e.textContent.replace(/\n/ig,'')){return e.textContent.replace(/\n/ig,'')}
else if(e.firstChild&&e.firstChild.tagName=='IMG'){return e.firstChild.src}
else{return undefined}};function O(e){var i=e.children,l=0,a,n;for(var t=0;t<i.length;t++){a=i[t];n=k(a);if(n){return n};if(l==99){return undefined};l++};return undefined};function p(n){var a=n.srcElement||n.target,e=[],m;e.el=a;e.click_type=w(n);if('undefined'===typeof __gtagTracker||!x(n)){e.exit='loaded';t(e);return}
while(a&&(typeof a.tagName=='undefined'||a.tagName.toLowerCase()!='a'||!a.href)){a=a.parentNode};if(a&&a.href&&!a.hasAttribute('xlink:href')){var p=a.href,M=c(a.href),N=h(),S=g(),D=monsterinsights_frontend.home_url,L=u(),o=A(a),K=T(a,n),y=a.getAttribute('data-vars-ga-action'),f=a.getAttribute('data-vars-ga-label');e.el=a;e.el_href=a.href;e.el_protocol=a.protocol;e.el_hostname=a.hostname;e.el_port=a.port;e.el_pathname=a.pathname;e.el_search=a.search;e.el_hash=a.hash;e.el_host=a.host;e.el_classes=a.getAttribute('class');e.el_id=a.id;e.debug_mode=d();e.download_extensions=N;e.inbound_paths=S;e.home_url=D;e.link=p;e.extension=M;e.type=o;e.target=K;e.title=k(a);if(!e.label&&!e.title){e.title=O(a)};if(o!=='internal'&&o!=='javascript'){var b=!1,v=function(){if(b){return};s();b=!0;if(a.attributes.download){var e=document.createElement('a');e.href=a.href;e.download=a.download;e.click()}
else{window.location.href=p}},E=function(){e.exit='external';t(e)},C=function(){e.exit='internal-as-outbound';t(e)},I=function(){e.exit='cross-hostname';t(e)};if(K||o=='mailto'||o=='tel'){if(o=='download'){m={event_category:'download',event_label:f||e.title,file_extension:e.extension,file_name:e.link.replace(/^.*\//g,''),link_text:f||e.title,link_url:p,link_type:'download',link_domain:e.el_hostname,link_classes:e.el_classes,link_id:e.el_id,}}
else if(o=='tel'){m={event_category:'tel',event_label:f||e.title.replace('tel:',''),tel_number:p.replace('tel:',''),link_text:f||e.title,link_url:p,link_type:'tel',link_classes:e.el_classes,link_id:e.el_id,}}
else if(o=='mailto'){m={event_category:'mailto',event_label:f||e.title.replace('mailto:',''),email_address:p.replace('mailto:',''),link_text:f||e.title.replace('mailto:',''),link_url:p,link_type:'mailto',link_classes:e.el_classes,link_id:e.el_id,}}
else if(o=='internal-as-outbound'){m={event_category:i,event_label:f||e.title,event_name:'click',is_affiliate_link:!0,affiliate_label:i.replace('outbound-link-',''),link_text:f||e.title,link_url:p,link_type:'affiliate',link_domain:e.el_hostname,link_classes:e.el_classes,link_id:e.el_id,outbound:!0,}}
else if(o=='external'){m={event_category:'outbound-link',event_label:f||e.title,is_affiliate_link:!1,link_text:f||e.title,link_url:p,link_type:'outbound',link_domain:e.el_hostname,link_classes:e.el_classes,link_id:e.el_id,outbound:!0,}}
else if(o=='cross-hostname'){m={event_category:'cross-hostname',event_label:f||e.title,link_text:f||e.title,link_url:p,link_domain:e.el_hostname,link_classes:e.el_classes,link_id:e.el_id,}};if(m){l('event',y||p,m,e)}
else{if(o&&o!='internal'){m={event_category:o,event_label:f||e.title,link_text:f||e.title,link_url:p,link_type:'internal',link_domain:e.el_hostname,link_classes:e.el_classes,link_id:e.el_id,};l('event',y||p,m,e)}
else{e.exit='type';t(e)}}}
else{if(o!='cross-hostname'&&o!='external'&&o!='internal-as-outbound'){if(!n.defaultPrevented){if(n.preventDefault){n.preventDefault()}
else{n.returnValue=!1}}};if(o=='download'){m={event_category:'download',event_label:f||e.title,event_callback:v,file_extension:e.extension,file_name:e.link.replace(/^.*\//g,''),link_text:f||e.title,link_url:p,link_type:'download',link_domain:e.el_hostname,link_classes:e.el_classes,link_id:e.el_id,};l('event',y||p,m,e)}
else if(o=='internal-as-outbound'){r=!0;window.onbeforeunload=function(t){if(!n.defaultPrevented){if(n.preventDefault){n.preventDefault()}
else{n.returnValue=!1}};m={event_category:i,event_label:f||e.title,event_callback:v,is_affiliate_link:!0,affiliate_label:i.replace('outbound-link-',''),link_text:f||e.title,link_url:p,link_type:'affiliate',link_domain:e.el_hostname,link_classes:e.el_classes,link_id:e.el_id,outbound:!0,};if(navigator.sendBeacon){m.transport='beacon'};l('event',y||p,m,e);setTimeout(v,1000)}}
else if(o=='external'){r=!0;window.onbeforeunload=function(t){m={event_category:'outbound-link',event_label:f||e.title,event_callback:v,is_affiliate_link:!1,link_text:f||e.title,link_url:p,link_type:'outbound',link_domain:e.el_hostname,link_classes:e.el_classes,link_id:e.el_id,outbound:!0,};if(navigator.sendBeacon){m.transport='beacon'};l('event',y||p,m,e)}}
else if(o=='cross-hostname'){r=!0;window.onbeforeunload=function(t){if(!n.defaultPrevented){if(n.preventDefault){n.preventDefault()}
else{n.returnValue=!1}};m={event_category:'cross-hostname',event_label:f||e.title,event_callback:v,link_text:f||e.title,link_url:p,link_domain:e.el_hostname,link_classes:e.el_classes,link_id:e.el_id,};if(navigator.sendBeacon){m.transport='beacon'};l('event',y||p,m,e);setTimeout(v,1000)}}
else{if(o&&o!=='internal'){m={event_category:o,event_label:f||e.title,event_callback:v,link_text:f||e.title,link_url:p,link_type:'internal',link_domain:e.el_hostname,link_classes:e.el_classes,link_id:e.el_id,};l('event',y||p,m,e)}
else{e.exit='type';t(e)}};if(o!='external'&&o!='cross-hostname'&&o!='internal-as-outbound'){setTimeout(v,1000)}
else{if(o=='external'){setTimeout(E,1100)}
else if(o=='cross-hostname'){setTimeout(I,1100)}
else{setTimeout(C,1100)}};setTimeout(s,100)}}
else{s();e.exit='internal';t(e)}}
else{e.exit='notlink';t(e)}};var f=window.location.hash;function m(){if(monsterinsights_frontend.hash_tracking==='true'&&f!=window.location.hash&&monsterinsights_frontend.v4_id){f=window.location.hash;__gtagTracker('config',monsterinsights_frontend.v4_id,{page_path:location.pathname+location.search+location.hash,});n('Hash change to: '+location.pathname+location.search+location.hash)}
else{n('Hash change to (untracked): '+location.pathname+location.search+location.hash)}};function s(){if(r){window.onbeforeunload=null}};var a=window;if(a.addEventListener){a.addEventListener('load',function(){document.body.addEventListener('click',p,!1)},!1);window.addEventListener('hashchange',m,!1)}
else{if(a.attachEvent){a.attachEvent('onload',function(){document.body.attachEvent('onclick',p)});window.attachEvent('onhashchange',m)}};if(typeof String.prototype.endsWith!=='function'){String.prototype.endsWith=function(e){return this.indexOf(e,this.length-e.length)!==-1}};if(typeof String.prototype.startsWith!=='function'){String.prototype.startsWith=function(e){return this.indexOf(e)===0}};if(typeof Array.prototype.lastIndexOf!=='function'){Array.prototype.lastIndexOf=function(e){'use strict';if(this===void 0||this===null){throw new TypeError()};var t,n,l=Object(this),i=l.length>>>0;if(i===0){return-1};t=i-1;if(arguments.length>1){t=Number(arguments[1]);if(t!=t){t=0}
else if(t!=0&&t!=(1/0)&&t!=-(1/0)){t=(t>0||-1)*Math.floor(Math.abs(t))}};for(n=t>=0?Math.min(t,i-1):i-Math.abs(t);n>=0;n--){if(n in l&&l[n]===e){return n}};return-1}}},MonsterInsightsObject=new MonsterInsights();
"function"==typeof jQuery&&jQuery(document).ready(function(a){a("body").on("post-load",function(){window.a2a&&a2a.init_all()})});
!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t){function n(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null==n)return;var r,o,l=[],a=!0,i=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(l.push(r.value),!t||l.length!==t);a=!0);}catch(e){i=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(i)throw o}}return l}(e,t)||r(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r(e,t){if(e){if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function l(e,t,n){if(n){var r=e.getElementsByClassName(t)[0];r&&(r.textContent=n)}}function a(e,t){for(var r=0,o=Object.entries(t);r<o.length;r++){var a=n(o[r],2);l(e,a[0],a[1])}}!function(){var e,t=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=r(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var o=0,l=function(){};return{s:l,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:l}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){u=!0,a=e},f:function(){try{i||null==n.return||n.return()}finally{if(u)throw a}}}}(document.getElementsByClassName("cm-contact-form"));try{for(t.s();!(e=t.n()).done;){e.value.onsubmit=function(e){var t,n,r,o,l,i,u,s;e.preventDefault();var f=e.target,c=null===(t=f.getElementsByClassName("firstName")[0])||void 0===t?void 0:t.value,m=null===(n=f.getElementsByClassName("lastName")[0])||void 0===n?void 0:n.value,d=null===(r=f.getElementsByClassName("email")[0])||void 0===r?void 0:r.value,y=null===(o=f.getElementsByClassName("telephone")[0])||void 0===o?void 0:o.value,v=null===(l=f.getElementsByClassName("consent_check")[0])||void 0===l?void 0:l.checked,p=(null===(i=f.getElementsByClassName("list_id")[0])||void 0===i?void 0:i.value)||null;jQuery.post(null===(u=ce4wp_form_submit_data)||void 0===u?void 0:u.url,{action:"ce4wp_form_submission",nonce:null===(s=ce4wp_form_submit_data)||void 0===s?void 0:s.nonce,first_name:c,last_name:m,email:d,telephone:y,consent:v,list_id:p}).done((function(){var e,t=f.parentElement,n=null===(e=t.getElementsByClassName("onSubmissionSetting")[0])||void 0===e?void 0:e.value;if("redirect"===n){var r,o=new RegExp("^(https?)://"),l=null===(r=t.getElementsByClassName("redirect")[0])||void 0===r?void 0:r.value;o.test(l)||(l="https://"+l),window.location.href=l}else{f.style.visibility="hidden","summary"===n&&a(t,{firstNameSummary:c?c+" ":null,lastNameSummary:m,telephoneSummary:y,emailSummary:d}),t.getElementsByClassName("onSubmission")[0].style.display="block"}}))}}}catch(e){t.e(e)}finally{t.f()}}()}]);
/*!
 * jQuery blockUI plugin
 * Version 2.70.0-2014.11.23
 * Requires jQuery v1.7 or later
 *
 * Examples at: http://malsup.com/jquery/block/
 * Copyright (c) 2007-2013 M. Alsup
 * Dual licensed under the MIT and GPL licenses:
 * http://www.opensource.org/licenses/mit-license.php
 * http://www.gnu.org/licenses/gpl.html
 *
 * Thanks to Amir-Hossein Sobhi for some excellent contributions!
 */
!function(){"use strict";function e(p){p.fn._fadeIn=p.fn.fadeIn;var b=p.noop||function(){},h=/MSIE/.test(navigator.userAgent),k=/MSIE 6.0/.test(navigator.userAgent)&&!/MSIE 8.0/.test(navigator.userAgent),y=(document.documentMode,"function"==typeof document.createElement("div").style.setExpression&&document.createElement("div").style.setExpression),m=(p.blockUI=function(e){o(window,e)},p.unblockUI=function(e){v(window,e)},p.growlUI=function(e,t,o,n){var i=p('<div class="growlUI"></div>'),s=(e&&i.append("<h1>"+e+"</h1>"),t&&i.append("<h2>"+t+"</h2>"),o===undefined&&(o=3e3),function(e){p.blockUI({message:i,fadeIn:"undefined"!=typeof(e=e||{}).fadeIn?e.fadeIn:700,fadeOut:"undefined"!=typeof e.fadeOut?e.fadeOut:1e3,timeout:"undefined"!=typeof e.timeout?e.timeout:o,centerY:!1,showOverlay:!1,onUnblock:n,css:p.blockUI.defaults.growlCSS})});s(),i.css("opacity");i.on("mouseover",function(){s({fadeIn:0,timeout:3e4});var e=p(".blockMsg");e.stop(),e.fadeTo(300,1)}).on("mouseout",function(){p(".blockMsg").fadeOut(1e3)})},p.fn.block=function(e){var t;return this[0]===window?(p.blockUI(e),this):(t=p.extend({},p.blockUI.defaults,e||{}),this.each(function(){var e=p(this);t.ignoreIfBlocked&&e.data("blockUI.isBlocked")||e.unblock({fadeOut:0})}),this.each(function(){"static"==p.css(this,"position")&&(this.style.position="relative",p(this).data("blockUI.static",!0)),this.style.zoom=1,o(this,e)}))},p.fn.unblock=function(e){return this[0]===window?(p.unblockUI(e),this):this.each(function(){v(this,e)})},p.blockUI.version=2.7,p.blockUI.defaults={message:"<h1>Please wait...</h1>",title:null,draggable:!0,theme:!1,css:{padding:0,margin:0,width:"30%",top:"40%",left:"35%",textAlign:"center",color:"#000",border:"3px solid #aaa",backgroundColor:"#fff",cursor:"wait"},themedCSS:{width:"30%",top:"40%",left:"35%"},overlayCSS:{backgroundColor:"#000",opacity:.6,cursor:"wait"},cursorReset:"default",growlCSS:{width:"350px",top:"10px",left:"",right:"10px",border:"none",padding:"5px",opacity:.6,cursor:"default",color:"#fff",backgroundColor:"#000","-webkit-border-radius":"10px","-moz-border-radius":"10px","border-radius":"10px"},iframeSrc:/^https/i.test(window.location.href||"")?"javascript:false":"about:blank",forceIframe:!1,baseZ:1e3,centerX:!0,centerY:!0,allowBodyStretch:!0,bindEvents:!0,constrainTabKey:!0,fadeIn:200,fadeOut:400,timeout:0,showOverlay:!0,focusInput:!0,focusableElements:":input:enabled:visible",onBlock:null,onUnblock:null,onOverlayClick:null,quirksmodeOffsetHack:4,blockMsgClass:"blockMsg",ignoreIfBlocked:!1},null),g=[];function o(e,o){var n=e==window,t=o&&o.message!==undefined?o.message:undefined;if(!(o=p.extend({},p.blockUI.defaults,o||{})).ignoreIfBlocked||!p(e).data("blockUI.isBlocked")){o.overlayCSS=p.extend({},p.blockUI.defaults.overlayCSS,o.overlayCSS||{}),f=p.extend({},p.blockUI.defaults.css,o.css||{}),o.onOverlayClick&&(o.overlayCSS.cursor="pointer"),u=p.extend({},p.blockUI.defaults.themedCSS,o.themedCSS||{}),t=t===undefined?o.message:t,n&&m&&v(window,{fadeOut:0}),t&&"string"!=typeof t&&(t.parentNode||t.jquery)&&(l=t.jquery?t[0]:t,d={},p(e).data("blockUI.history",d),d.el=l,d.parent=l.parentNode,d.display=l.style.display,d.position=l.style.position,d.parent&&d.parent.removeChild(l)),p(e).data("blockUI.onUnblock",o.onUnblock);var i,s,l=o.baseZ,d=h||o.forceIframe?p('<iframe class="blockUI" style="z-index:'+l+++';display:none;border:none;margin:0;padding:0;position:absolute;width:100%;height:100%;top:0;left:0" src="'+o.iframeSrc+'"></iframe>'):p('<div class="blockUI" style="display:none"></div>'),a=o.theme?p('<div class="blockUI blockOverlay ui-widget-overlay" style="z-index:'+l+++';display:none"></div>'):p('<div class="blockUI blockOverlay" style="z-index:'+l+++';display:none;border:none;margin:0;padding:0;width:100%;height:100%;top:0;left:0"></div>'),c=(o.theme&&n?(c='<div class="blockUI '+o.blockMsgClass+' blockPage ui-dialog ui-widget ui-corner-all" style="z-index:'+(l+10)+';display:none;position:fixed">',o.title&&(c+='<div class="ui-widget-header ui-dialog-titlebar ui-corner-all blockTitle">'+(o.title||"&nbsp;")+"</div>"),c+='<div class="ui-widget-content ui-dialog-content"></div></div>'):o.theme?(c='<div class="blockUI '+o.blockMsgClass+' blockElement ui-dialog ui-widget ui-corner-all" style="z-index:'+(l+10)+';display:none;position:absolute">',o.title&&(c+='<div class="ui-widget-header ui-dialog-titlebar ui-corner-all blockTitle">'+(o.title||"&nbsp;")+"</div>"),c+='<div class="ui-widget-content ui-dialog-content"></div></div>'):c=n?'<div class="blockUI '+o.blockMsgClass+' blockPage" style="z-index:'+(l+10)+';display:none;position:fixed"></div>':'<div class="blockUI '+o.blockMsgClass+' blockElement" style="z-index:'+(l+10)+';display:none;position:absolute"></div>',l=p(c),t&&(o.theme?(l.css(u),l.addClass("ui-widget-content")):l.css(f)),o.theme||a.css(o.overlayCSS),a.css("position",n?"fixed":"absolute"),(h||o.forceIframe)&&d.css("opacity",0),[d,a,l]),r=p(n?"body":e),u=(p.each(c,function(){this.appendTo(r)}),o.theme&&o.draggable&&p.fn.draggable&&l.draggable({handle:".ui-dialog-titlebar",cancel:"li"}),y&&(!p.support.boxModel||0<p("object,embed",n?null:e).length));if((k||u)&&(n&&o.allowBodyStretch&&p.support.boxModel&&p("html,body").css("height","100%"),!k&&p.support.boxModel||n||(f=U(e,"borderTopWidth"),u=U(e,"borderLeftWidth"),i=f?"(0 - "+f+")":0,s=u?"(0 - "+u+")":0),p.each(c,function(e,t){t=t[0].style;t.position="absolute",e<2?(n?t.setExpression("height","Math.max(document.body.scrollHeight, document.body.offsetHeight) - (jQuery.support.boxModel?0:"+o.quirksmodeOffsetHack+') + "px"'):t.setExpression("height",'this.parentNode.offsetHeight + "px"'),n?t.setExpression("width",'jQuery.support.boxModel && document.documentElement.clientWidth || document.body.clientWidth + "px"'):t.setExpression("width",'this.parentNode.offsetWidth + "px"'),s&&t.setExpression("left",s),i&&t.setExpression("top",i)):o.centerY?(n&&t.setExpression("top",'(document.documentElement.clientHeight || document.body.clientHeight) / 2 - (this.offsetHeight / 2) + (blah = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "px"'),t.marginTop=0):!o.centerY&&n&&(e=o.css&&o.css.top?parseInt(o.css.top,10):0,t.setExpression("top","((document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "+e+') + "px"'))})),t&&((o.theme?l.find(".ui-widget-content"):l).append(t),(t.jquery||t.nodeType)&&p(t).show()),(h||o.forceIframe)&&o.showOverlay&&d.show(),o.fadeIn?(f=o.onBlock||b,u=o.showOverlay&&!t?f:b,c=t?f:b,o.showOverlay&&a._fadeIn(o.fadeIn,u),t&&l._fadeIn(o.fadeIn,c)):(o.showOverlay&&a.show(),t&&l.show(),o.onBlock&&o.onBlock.bind(l)()),I(1,e,o),n)m=l[0],g=p(o.focusableElements,m),o.focusInput&&setTimeout(w,20);else{var d=l[0],f=o.centerX,u=o.centerY,c=d.parentNode,a=d.style,t=(c.offsetWidth-d.offsetWidth)/2-U(c,"borderLeftWidth"),d=(c.offsetHeight-d.offsetHeight)/2-U(c,"borderTopWidth");f&&(a.left=0<t?t+"px":"0"),u&&(a.top=0<d?d+"px":"0")}o.timeout&&(l=setTimeout(function(){n?p.unblockUI(o):p(e).unblock(o)},o.timeout),p(e).data("blockUI.timeout",l))}}function v(e,t){var o,n,i=e==window,s=p(e),l=s.data("blockUI.history"),d=s.data("blockUI.timeout");d&&(clearTimeout(d),s.removeData("blockUI.timeout")),t=p.extend({},p.blockUI.defaults,t||{}),I(0,e,t),null===t.onUnblock&&(t.onUnblock=s.data("blockUI.onUnblock"),s.removeData("blockUI.onUnblock")),n=i?p(document.body).children().filter(".blockUI").add("body > .blockUI"):s.find(">.blockUI"),t.cursorReset&&(1<n.length&&(n[1].style.cursor=t.cursorReset),2<n.length&&(n[2].style.cursor=t.cursorReset)),i&&(m=g=null),t.fadeOut?(o=n.length,n.stop().fadeOut(t.fadeOut,function(){0==--o&&a(n,l,t,e)})):a(n,l,t,e)}function a(e,t,o,n){var i=p(n);i.data("blockUI.isBlocked")||(e.each(function(e,t){this.parentNode&&this.parentNode.removeChild(this)}),t&&t.el&&(t.el.style.display=t.display,t.el.style.position=t.position,t.el.style.cursor="default",t.parent&&t.parent.appendChild(t.el),i.removeData("blockUI.history")),i.data("blockUI.static")&&i.css("position","static"),"function"==typeof o.onUnblock&&o.onUnblock(n,o),t=(e=p(document.body)).width(),i=e[0].style.width,e.width(t-1).width(t),e[0].style.width=i)}function I(e,t,o){var n=t==window,t=p(t);!e&&(n&&!m||!n&&!t.data("blockUI.isBlocked"))||(t.data("blockUI.isBlocked",e),n&&o.bindEvents&&(!e||o.showOverlay)&&(t="mousedown mouseup keydown keypress keyup touchstart touchend touchmove",e?p(document).on(t,o,i):p(document).off(t,i)))}function i(e){if("keydown"===e.type&&e.keyCode&&9==e.keyCode&&m&&e.data.constrainTabKey){var t=g,o=!e.shiftKey&&e.target===t[t.length-1],n=e.shiftKey&&e.target===t[0];if(o||n)return setTimeout(function(){w(n)},10),!1}t=e.data,o=p(e.target);return o.hasClass("blockOverlay")&&t.onOverlayClick&&t.onOverlayClick(e),0<o.parents("div."+t.blockMsgClass).length||0===o.parents().children().filter("div.blockUI").length}function w(e){!g||(e=g[!0===e?g.length-1:0])&&e.trigger("focus")}function U(e,t){return parseInt(p.css(e,t),10)||0}}"function"==typeof define&&define.amd&&define.amd.jQuery?define(["jquery"],e):e(jQuery)}();
jQuery(function(d){if("undefined"==typeof wc_add_to_cart_params)return!1;var t=function(){this.requests=[],this.addRequest=this.addRequest.bind(this),this.run=this.run.bind(this),d(document.body).on("click",".add_to_cart_button",{addToCartHandler:this},this.onAddToCart).on("click",".remove_from_cart_button",{addToCartHandler:this},this.onRemoveFromCart).on("added_to_cart",this.updateButton).on("ajax_request_not_sent.adding_to_cart",this.updateButton).on("added_to_cart removed_from_cart",{addToCartHandler:this},this.updateFragments)};t.prototype.addRequest=function(t){this.requests.push(t),1===this.requests.length&&this.run()},t.prototype.run=function(){var t=this,a=t.requests[0].complete;t.requests[0].complete=function(){"function"==typeof a&&a(),t.requests.shift(),0<t.requests.length&&t.run()},d.ajax(this.requests[0])},t.prototype.onAddToCart=function(t){var e,a=d(this);if(a.is(".ajax_add_to_cart"))return!a.attr("data-product_id")||(t.preventDefault(),a.removeClass("added"),a.addClass("loading"),!1===d(document.body).triggerHandler("should_send_ajax_request.adding_to_cart",[a])?(d(document.body).trigger("ajax_request_not_sent.adding_to_cart",[!1,!1,a]),!0):(e={},d.each(a.data(),function(t,a){e[t]=a}),d.each(a[0].dataset,function(t,a){e[t]=a}),d(document.body).trigger("adding_to_cart",[a,e]),void t.data.addToCartHandler.addRequest({type:"POST",url:wc_add_to_cart_params.wc_ajax_url.toString().replace("%%endpoint%%","add_to_cart"),data:e,success:function(t){t&&(t.error&&t.product_url?window.location=t.product_url:"yes"===wc_add_to_cart_params.cart_redirect_after_add?window.location=wc_add_to_cart_params.cart_url:d(document.body).trigger("added_to_cart",[t.fragments,t.cart_hash,a]))},dataType:"json"})))},t.prototype.onRemoveFromCart=function(t){var a=d(this),e=a.closest(".woocommerce-mini-cart-item");t.preventDefault(),e.block({message:null,overlayCSS:{opacity:.6}}),t.data.addToCartHandler.addRequest({type:"POST",url:wc_add_to_cart_params.wc_ajax_url.toString().replace("%%endpoint%%","remove_from_cart"),data:{cart_item_key:a.data("cart_item_key")},success:function(t){t&&t.fragments?d(document.body).trigger("removed_from_cart",[t.fragments,t.cart_hash,a]):window.location=a.attr("href")},error:function(){window.location=a.attr("href")},dataType:"json"})},t.prototype.updateButton=function(t,a,e,r){(r=void 0!==r&&r)&&(r.removeClass("loading"),a&&r.addClass("added"),a&&!wc_add_to_cart_params.is_cart&&0===r.parent().find(".added_to_cart").length&&r.after('<a href="'+wc_add_to_cart_params.cart_url+'" class="added_to_cart wc-forward" title="'+wc_add_to_cart_params.i18n_view_cart+'">'+wc_add_to_cart_params.i18n_view_cart+"</a>"),d(document.body).trigger("wc_cart_button_updated",[r]))},t.prototype.updateFragments=function(t,a){a&&(d.each(a,function(t){d(t).addClass("updating").fadeTo("400","0.6").block({message:null,overlayCSS:{opacity:.6}})}),d.each(a,function(t,a){d(t).replaceWith(a),d(t).stop(!0).css("opacity","1").unblock()}),d(document.body).trigger("wc_fragments_loaded"))},new t});
/*!
 * JavaScript Cookie v2.1.4
 * https://github.com/js-cookie/js-cookie
 *
 * Copyright 2006, 2015 Klaus Hartl & Fagner Brack
 * Released under the MIT license
 */
!function(e){var n,o,t=!1;"function"==typeof define&&define.amd&&(define(e),t=!0),"object"==typeof exports&&(module.exports=e(),t=!0),t||(n=window.Cookies,(o=window.Cookies=e()).noConflict=function(){return window.Cookies=n,o})}(function(){function m(){for(var e=0,n={};e<arguments.length;e++){var o,t=arguments[e];for(o in t)n[o]=t[o]}return n}return function e(C){function g(e,n,o){var t,r;if("undefined"!=typeof document){if(1<arguments.length){"number"==typeof(o=m({path:"/"},g.defaults,o)).expires&&((r=new Date).setMilliseconds(r.getMilliseconds()+864e5*o.expires),o.expires=r),o.expires=o.expires?o.expires.toUTCString():"";try{t=JSON.stringify(n),/^[\{\[]/.test(t)&&(n=t)}catch(l){}n=C.write?C.write(n,e):encodeURIComponent(String(n)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),e=(e=(e=encodeURIComponent(String(e))).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent)).replace(/[\(\)]/g,escape);var i,c="";for(i in o)o[i]&&(c+="; "+i,!0!==o[i]&&(c+="="+o[i]));return document.cookie=e+"="+n+c}e||(t={});for(var s=document.cookie?document.cookie.split("; "):[],f=/(%[0-9A-Z]{2})+/g,p=0;p<s.length;p++){var a=s[p].split("=");'"'===(u=a.slice(1).join("=")).charAt(0)&&(u=u.slice(1,-1));try{var d=a[0].replace(f,decodeURIComponent),u=C.read?C.read(u,d):C(u,d)||u.replace(f,decodeURIComponent);if(this.json)try{u=JSON.parse(u)}catch(l){}if(e===d){t=u;break}e||(t[d]=u)}catch(l){}}return t}}return(g.set=g).get=function(e){return g.call(g,e)},g.getJSON=function(){return g.apply({json:!0},[].slice.call(arguments))},g.defaults={},g.remove=function(e,n){g(e,"",m(n,{expires:-1}))},g.withConverter=e,g}(function(){})});
jQuery(function(s){s(".woocommerce-ordering").on("change","select.orderby",function(){s(this).closest("form").trigger("submit")}),s("input.qty:not(.product-quantity input.qty)").each(function(){var o=parseFloat(s(this).attr("min"));0<=o&&parseFloat(s(this).val())<o&&s(this).val(o)});var e="store_notice"+(s(".woocommerce-store-notice").data("noticeId")||"");"hidden"===Cookies.get(e)?s(".woocommerce-store-notice").hide():s(".woocommerce-store-notice").show(),s(".woocommerce-store-notice__dismiss-link").on("click",function(o){Cookies.set(e,"hidden",{path:"/"}),s(".woocommerce-store-notice").hide(),o.preventDefault()}),s(".woocommerce-input-wrapper span.description").length&&s(document.body).on("click",function(){s(".woocommerce-input-wrapper span.description:visible").prop("aria-hidden",!0).slideUp(250)}),s(".woocommerce-input-wrapper").on("click",function(o){o.stopPropagation()}),s(".woocommerce-input-wrapper :input").on("keydown",function(o){var e=s(this).parent().find("span.description");if(27===o.which&&e.length&&e.is(":visible"))return e.prop("aria-hidden",!0).slideUp(250),o.preventDefault(),!1}).on("click focus",function(){var o=s(this).parent(),e=o.find("span.description");o.addClass("currentTarget"),s(".woocommerce-input-wrapper:not(.currentTarget) span.description:visible").prop("aria-hidden",!0).slideUp(250),e.length&&e.is(":hidden")&&e.prop("aria-hidden",!1).slideDown(250),o.removeClass("currentTarget")}),s.scroll_to_notices=function(o){o.length&&s("html, body").animate({scrollTop:o.offset().top-100},1e3)},s('.woocommerce form .woocommerce-Input[type="password"]').wrap('<span class="password-input"></span>'),s(".woocommerce form input").filter(":password").parent("span").addClass("password-input"),s(".password-input").append('<span class="show-password-input"></span>'),s(".show-password-input").on("click",function(){s(this).hasClass("display-password")?s(this).removeClass("display-password"):s(this).addClass("display-password"),s(this).hasClass("display-password")?s(this).siblings(['input[type="password"]']).prop("type","text"):s(this).siblings('input[type="text"]').prop("type","password")})});
jQuery(function(r){if("undefined"==typeof wc_cart_fragments_params)return!1;var t=!0,o=wc_cart_fragments_params.cart_hash_key;try{t="sessionStorage"in window&&null!==window.sessionStorage,window.sessionStorage.setItem("wc","test"),window.sessionStorage.removeItem("wc"),window.localStorage.setItem("wc","test"),window.localStorage.removeItem("wc")}catch(f){t=!1}function a(){t&&sessionStorage.setItem("wc_cart_created",(new Date).getTime())}function s(e){t&&(localStorage.setItem(o,e),sessionStorage.setItem(o,e))}var e={url:wc_cart_fragments_params.wc_ajax_url.toString().replace("%%endpoint%%","get_refreshed_fragments"),type:"POST",data:{time:(new Date).getTime()},timeout:wc_cart_fragments_params.request_timeout,success:function(e){e&&e.fragments&&(r.each(e.fragments,function(e,t){r(e).replaceWith(t)}),t&&(sessionStorage.setItem(wc_cart_fragments_params.fragment_name,JSON.stringify(e.fragments)),s(e.cart_hash),e.cart_hash&&a()),r(document.body).trigger("wc_fragments_refreshed"))},error:function(){r(document.body).trigger("wc_fragments_ajax_error")}};function n(){r.ajax(e)}if(t){var i=null;r(document.body).on("wc_fragment_refresh updated_wc_div",function(){n()}),r(document.body).on("added_to_cart removed_from_cart",function(e,t,r){var n=sessionStorage.getItem(o);null!==n&&n!==undefined&&""!==n||a(),sessionStorage.setItem(wc_cart_fragments_params.fragment_name,JSON.stringify(t)),s(r)}),r(document.body).on("wc_fragments_refreshed",function(){clearTimeout(i),i=setTimeout(n,864e5)}),r(window).on("storage onstorage",function(e){o===e.originalEvent.key&&localStorage.getItem(o)!==sessionStorage.getItem(o)&&n()}),r(window).on("pageshow",function(e){e.originalEvent.persisted&&(r(".widget_shopping_cart_content").empty(),r(document.body).trigger("wc_fragment_refresh"))});try{var c=JSON.parse(sessionStorage.getItem(wc_cart_fragments_params.fragment_name)),_=sessionStorage.getItem(o),g=Cookies.get("woocommerce_cart_hash"),m=sessionStorage.getItem("wc_cart_created");if(null!==_&&_!==undefined&&""!==_||(_=""),null!==g&&g!==undefined&&""!==g||(g=""),_&&(null===m||m===undefined||""===m))throw"No cart_created";if(m){var d=+m+864e5,w=(new Date).getTime();if(d<w)throw"Fragment expired";i=setTimeout(n,d-w)}if(!c||!c["div.widget_shopping_cart_content"]||_!==g)throw"No fragment";r.each(c,function(e,t){r(e).replaceWith(t)}),r(document.body).trigger("wc_fragments_loaded")}catch(f){n()}}else n();0<Cookies.get("woocommerce_items_in_cart")?r(".hide_cart_widget_if_empty").closest(".widget_shopping_cart").show():r(".hide_cart_widget_if_empty").closest(".widget_shopping_cart").hide(),r(document.body).on("adding_to_cart",function(){r(".hide_cart_widget_if_empty").closest(".widget_shopping_cart").show()}),"undefined"!=typeof wp&&wp.customize&&wp.customize.selectiveRefresh&&wp.customize.widgetsPreview&&wp.customize.widgetsPreview.WidgetPartial&&wp.customize.selectiveRefresh.bind("partial-content-rendered",function(){n()})});
/*!
 * Vue.js v2.6.10
 * (c) 2014-2019 Evan You
 * Released under the MIT License.
 */
(function(global,factory){typeof exports==='object'&&typeof module!=='undefined'?module.exports=factory():typeof define==='function'&&define.amd?define(factory):(global=global||self,global.Vue=factory());}(this,function(){'use strict';var emptyObject=Object.freeze({});function isUndef(v){return v===undefined||v===null}
function isDef(v){return v!==undefined&&v!==null}
function isTrue(v){return v===true}
function isFalse(v){return v===false}
function isPrimitive(value){return(typeof value==='string'||typeof value==='number'||typeof value==='symbol'||typeof value==='boolean')}
function isObject(obj){return obj!==null&&typeof obj==='object'}
var _toString=Object.prototype.toString;function toRawType(value){return _toString.call(value).slice(8,-1)}
function isPlainObject(obj){return _toString.call(obj)==='[object Object]'}
function isRegExp(v){return _toString.call(v)==='[object RegExp]'}
function isValidArrayIndex(val){var n=parseFloat(String(val));return n>=0&&Math.floor(n)===n&&isFinite(val)}
function isPromise(val){return(isDef(val)&&typeof val.then==='function'&&typeof val.catch==='function')}
function toString(val){return val==null?'':Array.isArray(val)||(isPlainObject(val)&&val.toString===_toString)?JSON.stringify(val,null,2):String(val)}
function toNumber(val){var n=parseFloat(val);return isNaN(n)?val:n}
function makeMap(str,expectsLowerCase){var map=Object.create(null);var list=str.split(',');for(var i=0;i<list.length;i++){map[list[i]]=true;}
return expectsLowerCase?function(val){return map[val.toLowerCase()];}:function(val){return map[val];}}
var isBuiltInTag=makeMap('slot,component',true);var isReservedAttribute=makeMap('key,ref,slot,slot-scope,is');function remove(arr,item){if(arr.length){var index=arr.indexOf(item);if(index>-1){return arr.splice(index,1)}}}
var hasOwnProperty=Object.prototype.hasOwnProperty;function hasOwn(obj,key){return hasOwnProperty.call(obj,key)}
function cached(fn){var cache=Object.create(null);return(function cachedFn(str){var hit=cache[str];return hit||(cache[str]=fn(str))})}
var camelizeRE=/-(\w)/g;var camelize=cached(function(str){return str.replace(camelizeRE,function(_,c){return c?c.toUpperCase():'';})});var capitalize=cached(function(str){return str.charAt(0).toUpperCase()+str.slice(1)});var hyphenateRE=/\B([A-Z])/g;var hyphenate=cached(function(str){return str.replace(hyphenateRE,'-$1').toLowerCase()});function polyfillBind(fn,ctx){function boundFn(a){var l=arguments.length;return l?l>1?fn.apply(ctx,arguments):fn.call(ctx,a):fn.call(ctx)}
boundFn._length=fn.length;return boundFn}
function nativeBind(fn,ctx){return fn.bind(ctx)}
var bind=Function.prototype.bind?nativeBind:polyfillBind;function toArray(list,start){start=start||0;var i=list.length-start;var ret=new Array(i);while(i--){ret[i]=list[i+start];}
return ret}
function extend(to,_from){for(var key in _from){to[key]=_from[key];}
return to}
function toObject(arr){var res={};for(var i=0;i<arr.length;i++){if(arr[i]){extend(res,arr[i]);}}
return res}
function noop(a,b,c){}
var no=function(a,b,c){return false;};var identity=function(_){return _;};function genStaticKeys(modules){return modules.reduce(function(keys,m){return keys.concat(m.staticKeys||[])},[]).join(',')}
function looseEqual(a,b){if(a===b){return true}
var isObjectA=isObject(a);var isObjectB=isObject(b);if(isObjectA&&isObjectB){try{var isArrayA=Array.isArray(a);var isArrayB=Array.isArray(b);if(isArrayA&&isArrayB){return a.length===b.length&&a.every(function(e,i){return looseEqual(e,b[i])})}else if(a instanceof Date&&b instanceof Date){return a.getTime()===b.getTime()}else if(!isArrayA&&!isArrayB){var keysA=Object.keys(a);var keysB=Object.keys(b);return keysA.length===keysB.length&&keysA.every(function(key){return looseEqual(a[key],b[key])})}else{return false}}catch(e){return false}}else if(!isObjectA&&!isObjectB){return String(a)===String(b)}else{return false}}
function looseIndexOf(arr,val){for(var i=0;i<arr.length;i++){if(looseEqual(arr[i],val)){return i}}
return-1}
function once(fn){var called=false;return function(){if(!called){called=true;fn.apply(this,arguments);}}}
var SSR_ATTR='data-server-rendered';var ASSET_TYPES=['component','directive','filter'];var LIFECYCLE_HOOKS=['beforeCreate','created','beforeMount','mounted','beforeUpdate','updated','beforeDestroy','destroyed','activated','deactivated','errorCaptured','serverPrefetch'];var config=({optionMergeStrategies:Object.create(null),silent:false,productionTip:"development"!=='production',devtools:"development"!=='production',performance:false,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:no,isReservedAttr:no,isUnknownElement:no,getTagNamespace:noop,parsePlatformTagName:identity,mustUseProp:no,async:true,_lifecycleHooks:LIFECYCLE_HOOKS});var unicodeRegExp=/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/;function isReserved(str){var c=(str+'').charCodeAt(0);return c===0x24||c===0x5F}
function def(obj,key,val,enumerable){Object.defineProperty(obj,key,{value:val,enumerable:!!enumerable,writable:true,configurable:true});}
var bailRE=new RegExp(("[^"+(unicodeRegExp.source)+".$_\\d]"));function parsePath(path){if(bailRE.test(path)){return}
var segments=path.split('.');return function(obj){for(var i=0;i<segments.length;i++){if(!obj){return}
obj=obj[segments[i]];}
return obj}}
var hasProto='__proto__'in{};var inBrowser=typeof window!=='undefined';var inWeex=typeof WXEnvironment!=='undefined'&&!!WXEnvironment.platform;var weexPlatform=inWeex&&WXEnvironment.platform.toLowerCase();var UA=inBrowser&&window.navigator.userAgent.toLowerCase();var isIE=UA&&/msie|trident/.test(UA);var isIE9=UA&&UA.indexOf('msie 9.0')>0;var isEdge=UA&&UA.indexOf('edge/')>0;var isAndroid=(UA&&UA.indexOf('android')>0)||(weexPlatform==='android');var isIOS=(UA&&/iphone|ipad|ipod|ios/.test(UA))||(weexPlatform==='ios');var isChrome=UA&&/chrome\/\d+/.test(UA)&&!isEdge;var isPhantomJS=UA&&/phantomjs/.test(UA);var isFF=UA&&UA.match(/firefox\/(\d+)/);var nativeWatch=({}).watch;var supportsPassive=false;if(inBrowser){try{var opts={};Object.defineProperty(opts,'passive',({get:function get(){supportsPassive=true;}}));window.addEventListener('test-passive',null,opts);}catch(e){}}
var _isServer;var isServerRendering=function(){if(_isServer===undefined){if(!inBrowser&&!inWeex&&typeof global!=='undefined'){_isServer=global['process']&&global['process'].env.VUE_ENV==='server';}else{_isServer=false;}}
return _isServer};var devtools=inBrowser&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function isNative(Ctor){return typeof Ctor==='function'&&/native code/.test(Ctor.toString())}
var hasSymbol=typeof Symbol!=='undefined'&&isNative(Symbol)&&typeof Reflect!=='undefined'&&isNative(Reflect.ownKeys);var _Set;if(typeof Set!=='undefined'&&isNative(Set)){_Set=Set;}else{_Set=(function(){function Set(){this.set=Object.create(null);}
Set.prototype.has=function has(key){return this.set[key]===true};Set.prototype.add=function add(key){this.set[key]=true;};Set.prototype.clear=function clear(){this.set=Object.create(null);};return Set;}());}
var warn=noop;var tip=noop;var generateComponentTrace=(noop);var formatComponentName=(noop);{var hasConsole=typeof console!=='undefined';var classifyRE=/(?:^|[-_])(\w)/g;var classify=function(str){return str.replace(classifyRE,function(c){return c.toUpperCase();}).replace(/[-_]/g,'');};warn=function(msg,vm){var trace=vm?generateComponentTrace(vm):'';if(config.warnHandler){config.warnHandler.call(null,msg,vm,trace);}else if(hasConsole&&(!config.silent)){console.error(("[Vue warn]: "+msg+trace));}};tip=function(msg,vm){if(hasConsole&&(!config.silent)){console.warn("[Vue tip]: "+msg+(vm?generateComponentTrace(vm):''));}};formatComponentName=function(vm,includeFile){if(vm.$root===vm){return'<Root>'}
var options=typeof vm==='function'&&vm.cid!=null?vm.options:vm._isVue?vm.$options||vm.constructor.options:vm;var name=options.name||options._componentTag;var file=options.__file;if(!name&&file){var match=file.match(/([^/\\]+)\.vue$/);name=match&&match[1];}
return((name?("<"+(classify(name))+">"):"<Anonymous>")+
(file&&includeFile!==false?(" at "+file):''))};var repeat=function(str,n){var res='';while(n){if(n%2===1){res+=str;}
if(n>1){str+=str;}
n>>=1;}
return res};generateComponentTrace=function(vm){if(vm._isVue&&vm.$parent){var tree=[];var currentRecursiveSequence=0;while(vm){if(tree.length>0){var last=tree[tree.length-1];if(last.constructor===vm.constructor){currentRecursiveSequence++;vm=vm.$parent;continue}else if(currentRecursiveSequence>0){tree[tree.length-1]=[last,currentRecursiveSequence];currentRecursiveSequence=0;}}
tree.push(vm);vm=vm.$parent;}
return'\n\nfound in\n\n'+tree.map(function(vm,i){return(""+(i===0?'---> ':repeat(' ',5+i*2))+(Array.isArray(vm)?((formatComponentName(vm[0]))+"... ("+(vm[1])+" recursive calls)"):formatComponentName(vm)));}).join('\n')}else{return("\n\n(found in "+(formatComponentName(vm))+")")}};}
var uid=0;var Dep=function Dep(){this.id=uid++;this.subs=[];};Dep.prototype.addSub=function addSub(sub){this.subs.push(sub);};Dep.prototype.removeSub=function removeSub(sub){remove(this.subs,sub);};Dep.prototype.depend=function depend(){if(Dep.target){Dep.target.addDep(this);}};Dep.prototype.notify=function notify(){var subs=this.subs.slice();if(!config.async){subs.sort(function(a,b){return a.id-b.id;});}
for(var i=0,l=subs.length;i<l;i++){subs[i].update();}};Dep.target=null;var targetStack=[];function pushTarget(target){targetStack.push(target);Dep.target=target;}
function popTarget(){targetStack.pop();Dep.target=targetStack[targetStack.length-1];}
var VNode=function VNode(tag,data,children,text,elm,context,componentOptions,asyncFactory){this.tag=tag;this.data=data;this.children=children;this.text=text;this.elm=elm;this.ns=undefined;this.context=context;this.fnContext=undefined;this.fnOptions=undefined;this.fnScopeId=undefined;this.key=data&&data.key;this.componentOptions=componentOptions;this.componentInstance=undefined;this.parent=undefined;this.raw=false;this.isStatic=false;this.isRootInsert=true;this.isComment=false;this.isCloned=false;this.isOnce=false;this.asyncFactory=asyncFactory;this.asyncMeta=undefined;this.isAsyncPlaceholder=false;};var prototypeAccessors={child:{configurable:true}};prototypeAccessors.child.get=function(){return this.componentInstance};Object.defineProperties(VNode.prototype,prototypeAccessors);var createEmptyVNode=function(text){if(text===void 0)text='';var node=new VNode();node.text=text;node.isComment=true;return node};function createTextVNode(val){return new VNode(undefined,undefined,undefined,String(val))}
function cloneVNode(vnode){var cloned=new VNode(vnode.tag,vnode.data,vnode.children&&vnode.children.slice(),vnode.text,vnode.elm,vnode.context,vnode.componentOptions,vnode.asyncFactory);cloned.ns=vnode.ns;cloned.isStatic=vnode.isStatic;cloned.key=vnode.key;cloned.isComment=vnode.isComment;cloned.fnContext=vnode.fnContext;cloned.fnOptions=vnode.fnOptions;cloned.fnScopeId=vnode.fnScopeId;cloned.asyncMeta=vnode.asyncMeta;cloned.isCloned=true;return cloned}
var arrayProto=Array.prototype;var arrayMethods=Object.create(arrayProto);var methodsToPatch=['push','pop','shift','unshift','splice','sort','reverse'];methodsToPatch.forEach(function(method){var original=arrayProto[method];def(arrayMethods,method,function mutator(){var args=[],len=arguments.length;while(len--)args[len]=arguments[len];var result=original.apply(this,args);var ob=this.__ob__;var inserted;switch(method){case'push':case'unshift':inserted=args;break
case'splice':inserted=args.slice(2);break}
if(inserted){ob.observeArray(inserted);}
ob.dep.notify();return result});});var arrayKeys=Object.getOwnPropertyNames(arrayMethods);var shouldObserve=true;function toggleObserving(value){shouldObserve=value;}
var Observer=function Observer(value){this.value=value;this.dep=new Dep();this.vmCount=0;def(value,'__ob__',this);if(Array.isArray(value)){if(hasProto){protoAugment(value,arrayMethods);}else{copyAugment(value,arrayMethods,arrayKeys);}
this.observeArray(value);}else{this.walk(value);}};Observer.prototype.walk=function walk(obj){var keys=Object.keys(obj);for(var i=0;i<keys.length;i++){defineReactive$$1(obj,keys[i]);}};Observer.prototype.observeArray=function observeArray(items){for(var i=0,l=items.length;i<l;i++){observe(items[i]);}};function protoAugment(target,src){target.__proto__=src;}
function copyAugment(target,src,keys){for(var i=0,l=keys.length;i<l;i++){var key=keys[i];def(target,key,src[key]);}}
function observe(value,asRootData){if(!isObject(value)||value instanceof VNode){return}
var ob;if(hasOwn(value,'__ob__')&&value.__ob__ instanceof Observer){ob=value.__ob__;}else if(shouldObserve&&!isServerRendering()&&(Array.isArray(value)||isPlainObject(value))&&Object.isExtensible(value)&&!value._isVue){ob=new Observer(value);}
if(asRootData&&ob){ob.vmCount++;}
return ob}
function defineReactive$$1(obj,key,val,customSetter,shallow){var dep=new Dep();var property=Object.getOwnPropertyDescriptor(obj,key);if(property&&property.configurable===false){return}
var getter=property&&property.get;var setter=property&&property.set;if((!getter||setter)&&arguments.length===2){val=obj[key];}
var childOb=!shallow&&observe(val);Object.defineProperty(obj,key,{enumerable:true,configurable:true,get:function reactiveGetter(){var value=getter?getter.call(obj):val;if(Dep.target){dep.depend();if(childOb){childOb.dep.depend();if(Array.isArray(value)){dependArray(value);}}}
return value},set:function reactiveSetter(newVal){var value=getter?getter.call(obj):val;if(newVal===value||(newVal!==newVal&&value!==value)){return}
if(customSetter){customSetter();}
if(getter&&!setter){return}
if(setter){setter.call(obj,newVal);}else{val=newVal;}
childOb=!shallow&&observe(newVal);dep.notify();}});}
function set(target,key,val){if(isUndef(target)||isPrimitive(target)){warn(("Cannot set reactive property on undefined, null, or primitive value: "+((target))));}
if(Array.isArray(target)&&isValidArrayIndex(key)){target.length=Math.max(target.length,key);target.splice(key,1,val);return val}
if(key in target&&!(key in Object.prototype)){target[key]=val;return val}
var ob=(target).__ob__;if(target._isVue||(ob&&ob.vmCount)){warn('Avoid adding reactive properties to a Vue instance or its root $data '+'at runtime - declare it upfront in the data option.');return val}
if(!ob){target[key]=val;return val}
defineReactive$$1(ob.value,key,val);ob.dep.notify();return val}
function del(target,key){if(isUndef(target)||isPrimitive(target)){warn(("Cannot delete reactive property on undefined, null, or primitive value: "+((target))));}
if(Array.isArray(target)&&isValidArrayIndex(key)){target.splice(key,1);return}
var ob=(target).__ob__;if(target._isVue||(ob&&ob.vmCount)){warn('Avoid deleting properties on a Vue instance or its root $data '+'- just set it to null.');return}
if(!hasOwn(target,key)){return}
delete target[key];if(!ob){return}
ob.dep.notify();}
function dependArray(value){for(var e=(void 0),i=0,l=value.length;i<l;i++){e=value[i];e&&e.__ob__&&e.__ob__.dep.depend();if(Array.isArray(e)){dependArray(e);}}}
var strats=config.optionMergeStrategies;{strats.el=strats.propsData=function(parent,child,vm,key){if(!vm){warn("option \""+key+"\" can only be used during instance "+'creation with the `new` keyword.');}
return defaultStrat(parent,child)};}
function mergeData(to,from){if(!from){return to}
var key,toVal,fromVal;var keys=hasSymbol?Reflect.ownKeys(from):Object.keys(from);for(var i=0;i<keys.length;i++){key=keys[i];if(key==='__ob__'){continue}
toVal=to[key];fromVal=from[key];if(!hasOwn(to,key)){set(to,key,fromVal);}else if(toVal!==fromVal&&isPlainObject(toVal)&&isPlainObject(fromVal)){mergeData(toVal,fromVal);}}
return to}
function mergeDataOrFn(parentVal,childVal,vm){if(!vm){if(!childVal){return parentVal}
if(!parentVal){return childVal}
return function mergedDataFn(){return mergeData(typeof childVal==='function'?childVal.call(this,this):childVal,typeof parentVal==='function'?parentVal.call(this,this):parentVal)}}else{return function mergedInstanceDataFn(){var instanceData=typeof childVal==='function'?childVal.call(vm,vm):childVal;var defaultData=typeof parentVal==='function'?parentVal.call(vm,vm):parentVal;if(instanceData){return mergeData(instanceData,defaultData)}else{return defaultData}}}}
strats.data=function(parentVal,childVal,vm){if(!vm){if(childVal&&typeof childVal!=='function'){warn('The "data" option should be a function '+'that returns a per-instance value in component '+'definitions.',vm);return parentVal}
return mergeDataOrFn(parentVal,childVal)}
return mergeDataOrFn(parentVal,childVal,vm)};function mergeHook(parentVal,childVal){var res=childVal?parentVal?parentVal.concat(childVal):Array.isArray(childVal)?childVal:[childVal]:parentVal;return res?dedupeHooks(res):res}
function dedupeHooks(hooks){var res=[];for(var i=0;i<hooks.length;i++){if(res.indexOf(hooks[i])===-1){res.push(hooks[i]);}}
return res}
LIFECYCLE_HOOKS.forEach(function(hook){strats[hook]=mergeHook;});function mergeAssets(parentVal,childVal,vm,key){var res=Object.create(parentVal||null);if(childVal){assertObjectType(key,childVal,vm);return extend(res,childVal)}else{return res}}
ASSET_TYPES.forEach(function(type){strats[type+'s']=mergeAssets;});strats.watch=function(parentVal,childVal,vm,key){if(parentVal===nativeWatch){parentVal=undefined;}
if(childVal===nativeWatch){childVal=undefined;}
if(!childVal){return Object.create(parentVal||null)}
{assertObjectType(key,childVal,vm);}
if(!parentVal){return childVal}
var ret={};extend(ret,parentVal);for(var key$1 in childVal){var parent=ret[key$1];var child=childVal[key$1];if(parent&&!Array.isArray(parent)){parent=[parent];}
ret[key$1]=parent?parent.concat(child):Array.isArray(child)?child:[child];}
return ret};strats.props=strats.methods=strats.inject=strats.computed=function(parentVal,childVal,vm,key){if(childVal&&"development"!=='production'){assertObjectType(key,childVal,vm);}
if(!parentVal){return childVal}
var ret=Object.create(null);extend(ret,parentVal);if(childVal){extend(ret,childVal);}
return ret};strats.provide=mergeDataOrFn;var defaultStrat=function(parentVal,childVal){return childVal===undefined?parentVal:childVal};function checkComponents(options){for(var key in options.components){validateComponentName(key);}}
function validateComponentName(name){if(!new RegExp(("^[a-zA-Z][\\-\\.0-9_"+(unicodeRegExp.source)+"]*$")).test(name)){warn('Invalid component name: "'+name+'". Component names '+'should conform to valid custom element name in html5 specification.');}
if(isBuiltInTag(name)||config.isReservedTag(name)){warn('Do not use built-in or reserved HTML elements as component '+'id: '+name);}}
function normalizeProps(options,vm){var props=options.props;if(!props){return}
var res={};var i,val,name;if(Array.isArray(props)){i=props.length;while(i--){val=props[i];if(typeof val==='string'){name=camelize(val);res[name]={type:null};}else{warn('props must be strings when using array syntax.');}}}else if(isPlainObject(props)){for(var key in props){val=props[key];name=camelize(key);res[name]=isPlainObject(val)?val:{type:val};}}else{warn("Invalid value for option \"props\": expected an Array or an Object, "+"but got "+(toRawType(props))+".",vm);}
options.props=res;}
function normalizeInject(options,vm){var inject=options.inject;if(!inject){return}
var normalized=options.inject={};if(Array.isArray(inject)){for(var i=0;i<inject.length;i++){normalized[inject[i]]={from:inject[i]};}}else if(isPlainObject(inject)){for(var key in inject){var val=inject[key];normalized[key]=isPlainObject(val)?extend({from:key},val):{from:val};}}else{warn("Invalid value for option \"inject\": expected an Array or an Object, "+"but got "+(toRawType(inject))+".",vm);}}
function normalizeDirectives(options){var dirs=options.directives;if(dirs){for(var key in dirs){var def$$1=dirs[key];if(typeof def$$1==='function'){dirs[key]={bind:def$$1,update:def$$1};}}}}
function assertObjectType(name,value,vm){if(!isPlainObject(value)){warn("Invalid value for option \""+name+"\": expected an Object, "+"but got "+(toRawType(value))+".",vm);}}
function mergeOptions(parent,child,vm){{checkComponents(child);}
if(typeof child==='function'){child=child.options;}
normalizeProps(child,vm);normalizeInject(child,vm);normalizeDirectives(child);if(!child._base){if(child.extends){parent=mergeOptions(parent,child.extends,vm);}
if(child.mixins){for(var i=0,l=child.mixins.length;i<l;i++){parent=mergeOptions(parent,child.mixins[i],vm);}}}
var options={};var key;for(key in parent){mergeField(key);}
for(key in child){if(!hasOwn(parent,key)){mergeField(key);}}
function mergeField(key){var strat=strats[key]||defaultStrat;options[key]=strat(parent[key],child[key],vm,key);}
return options}
function resolveAsset(options,type,id,warnMissing){if(typeof id!=='string'){return}
var assets=options[type];if(hasOwn(assets,id)){return assets[id]}
var camelizedId=camelize(id);if(hasOwn(assets,camelizedId)){return assets[camelizedId]}
var PascalCaseId=capitalize(camelizedId);if(hasOwn(assets,PascalCaseId)){return assets[PascalCaseId]}
var res=assets[id]||assets[camelizedId]||assets[PascalCaseId];if(warnMissing&&!res){warn('Failed to resolve '+type.slice(0,-1)+': '+id,options);}
return res}
function validateProp(key,propOptions,propsData,vm){var prop=propOptions[key];var absent=!hasOwn(propsData,key);var value=propsData[key];var booleanIndex=getTypeIndex(Boolean,prop.type);if(booleanIndex>-1){if(absent&&!hasOwn(prop,'default')){value=false;}else if(value===''||value===hyphenate(key)){var stringIndex=getTypeIndex(String,prop.type);if(stringIndex<0||booleanIndex<stringIndex){value=true;}}}
if(value===undefined){value=getPropDefaultValue(vm,prop,key);var prevShouldObserve=shouldObserve;toggleObserving(true);observe(value);toggleObserving(prevShouldObserve);}
{assertProp(prop,key,value,vm,absent);}
return value}
function getPropDefaultValue(vm,prop,key){if(!hasOwn(prop,'default')){return undefined}
var def=prop.default;if(isObject(def)){warn('Invalid default value for prop "'+key+'": '+'Props with type Object/Array must use a factory function '+'to return the default value.',vm);}
if(vm&&vm.$options.propsData&&vm.$options.propsData[key]===undefined&&vm._props[key]!==undefined){return vm._props[key]}
return typeof def==='function'&&getType(prop.type)!=='Function'?def.call(vm):def}
function assertProp(prop,name,value,vm,absent){if(prop.required&&absent){warn('Missing required prop: "'+name+'"',vm);return}
if(value==null&&!prop.required){return}
var type=prop.type;var valid=!type||type===true;var expectedTypes=[];if(type){if(!Array.isArray(type)){type=[type];}
for(var i=0;i<type.length&&!valid;i++){var assertedType=assertType(value,type[i]);expectedTypes.push(assertedType.expectedType||'');valid=assertedType.valid;}}
if(!valid){warn(getInvalidTypeMessage(name,value,expectedTypes),vm);return}
var validator=prop.validator;if(validator){if(!validator(value)){warn('Invalid prop: custom validator check failed for prop "'+name+'".',vm);}}}
var simpleCheckRE=/^(String|Number|Boolean|Function|Symbol)$/;function assertType(value,type){var valid;var expectedType=getType(type);if(simpleCheckRE.test(expectedType)){var t=typeof value;valid=t===expectedType.toLowerCase();if(!valid&&t==='object'){valid=value instanceof type;}}else if(expectedType==='Object'){valid=isPlainObject(value);}else if(expectedType==='Array'){valid=Array.isArray(value);}else{valid=value instanceof type;}
return{valid:valid,expectedType:expectedType}}
function getType(fn){var match=fn&&fn.toString().match(/^\s*function (\w+)/);return match?match[1]:''}
function isSameType(a,b){return getType(a)===getType(b)}
function getTypeIndex(type,expectedTypes){if(!Array.isArray(expectedTypes)){return isSameType(expectedTypes,type)?0:-1}
for(var i=0,len=expectedTypes.length;i<len;i++){if(isSameType(expectedTypes[i],type)){return i}}
return-1}
function getInvalidTypeMessage(name,value,expectedTypes){var message="Invalid prop: type check failed for prop \""+name+"\"."+" Expected "+(expectedTypes.map(capitalize).join(', '));var expectedType=expectedTypes[0];var receivedType=toRawType(value);var expectedValue=styleValue(value,expectedType);var receivedValue=styleValue(value,receivedType);if(expectedTypes.length===1&&isExplicable(expectedType)&&!isBoolean(expectedType,receivedType)){message+=" with value "+expectedValue;}
message+=", got "+receivedType+" ";if(isExplicable(receivedType)){message+="with value "+receivedValue+".";}
return message}
function styleValue(value,type){if(type==='String'){return("\""+value+"\"")}else if(type==='Number'){return(""+(Number(value)))}else{return(""+value)}}
function isExplicable(value){var explicitTypes=['string','number','boolean'];return explicitTypes.some(function(elem){return value.toLowerCase()===elem;})}
function isBoolean(){var args=[],len=arguments.length;while(len--)args[len]=arguments[len];return args.some(function(elem){return elem.toLowerCase()==='boolean';})}
function handleError(err,vm,info){pushTarget();try{if(vm){var cur=vm;while((cur=cur.$parent)){var hooks=cur.$options.errorCaptured;if(hooks){for(var i=0;i<hooks.length;i++){try{var capture=hooks[i].call(cur,err,vm,info)===false;if(capture){return}}catch(e){globalHandleError(e,cur,'errorCaptured hook');}}}}}
globalHandleError(err,vm,info);}finally{popTarget();}}
function invokeWithErrorHandling(handler,context,args,vm,info){var res;try{res=args?handler.apply(context,args):handler.call(context);if(res&&!res._isVue&&isPromise(res)&&!res._handled){res.catch(function(e){return handleError(e,vm,info+" (Promise/async)");});res._handled=true;}}catch(e){handleError(e,vm,info);}
return res}
function globalHandleError(err,vm,info){if(config.errorHandler){try{return config.errorHandler.call(null,err,vm,info)}catch(e){if(e!==err){logError(e,null,'config.errorHandler');}}}
logError(err,vm,info);}
function logError(err,vm,info){{warn(("Error in "+info+": \""+(err.toString())+"\""),vm);}
if((inBrowser||inWeex)&&typeof console!=='undefined'){console.error(err);}else{throw err}}
var isUsingMicroTask=false;var callbacks=[];var pending=false;function flushCallbacks(){pending=false;var copies=callbacks.slice(0);callbacks.length=0;for(var i=0;i<copies.length;i++){copies[i]();}}
var timerFunc;if(typeof Promise!=='undefined'&&isNative(Promise)){var p=Promise.resolve();timerFunc=function(){p.then(flushCallbacks);if(isIOS){setTimeout(noop);}};isUsingMicroTask=true;}else if(!isIE&&typeof MutationObserver!=='undefined'&&(isNative(MutationObserver)||MutationObserver.toString()==='[object MutationObserverConstructor]')){var counter=1;var observer=new MutationObserver(flushCallbacks);var textNode=document.createTextNode(String(counter));observer.observe(textNode,{characterData:true});timerFunc=function(){counter=(counter+1)%2;textNode.data=String(counter);};isUsingMicroTask=true;}else if(typeof setImmediate!=='undefined'&&isNative(setImmediate)){timerFunc=function(){setImmediate(flushCallbacks);};}else{timerFunc=function(){setTimeout(flushCallbacks,0);};}
function nextTick(cb,ctx){var _resolve;callbacks.push(function(){if(cb){try{cb.call(ctx);}catch(e){handleError(e,ctx,'nextTick');}}else if(_resolve){_resolve(ctx);}});if(!pending){pending=true;timerFunc();}
if(!cb&&typeof Promise!=='undefined'){return new Promise(function(resolve){_resolve=resolve;})}}
var mark;var measure;{var perf=inBrowser&&window.performance;if(perf&&perf.mark&&perf.measure&&perf.clearMarks&&perf.clearMeasures){mark=function(tag){return perf.mark(tag);};measure=function(name,startTag,endTag){perf.measure(name,startTag,endTag);perf.clearMarks(startTag);perf.clearMarks(endTag);};}}
var initProxy;{var allowedGlobals=makeMap('Infinity,undefined,NaN,isFinite,isNaN,'+'parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,'+'Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,'+'require');var warnNonPresent=function(target,key){warn("Property or method \""+key+"\" is not defined on the instance but "+'referenced during render. Make sure that this property is reactive, '+'either in the data option, or for class-based components, by '+'initializing the property. '+'See: https://vuejs.org/v2/guide/reactivity.html#Declaring-Reactive-Properties.',target);};var warnReservedPrefix=function(target,key){warn("Property \""+key+"\" must be accessed with \"$data."+key+"\" because "+'properties starting with "$" or "_" are not proxied in the Vue instance to '+'prevent conflicts with Vue internals'+'See: https://vuejs.org/v2/api/#data',target);};var hasProxy=typeof Proxy!=='undefined'&&isNative(Proxy);if(hasProxy){var isBuiltInModifier=makeMap('stop,prevent,self,ctrl,shift,alt,meta,exact');config.keyCodes=new Proxy(config.keyCodes,{set:function set(target,key,value){if(isBuiltInModifier(key)){warn(("Avoid overwriting built-in modifier in config.keyCodes: ."+key));return false}else{target[key]=value;return true}}});}
var hasHandler={has:function has(target,key){var has=key in target;var isAllowed=allowedGlobals(key)||(typeof key==='string'&&key.charAt(0)==='_'&&!(key in target.$data));if(!has&&!isAllowed){if(key in target.$data){warnReservedPrefix(target,key);}
else{warnNonPresent(target,key);}}
return has||!isAllowed}};var getHandler={get:function get(target,key){if(typeof key==='string'&&!(key in target)){if(key in target.$data){warnReservedPrefix(target,key);}
else{warnNonPresent(target,key);}}
return target[key]}};initProxy=function initProxy(vm){if(hasProxy){var options=vm.$options;var handlers=options.render&&options.render._withStripped?getHandler:hasHandler;vm._renderProxy=new Proxy(vm,handlers);}else{vm._renderProxy=vm;}};}
var seenObjects=new _Set();function traverse(val){_traverse(val,seenObjects);seenObjects.clear();}
function _traverse(val,seen){var i,keys;var isA=Array.isArray(val);if((!isA&&!isObject(val))||Object.isFrozen(val)||val instanceof VNode){return}
if(val.__ob__){var depId=val.__ob__.dep.id;if(seen.has(depId)){return}
seen.add(depId);}
if(isA){i=val.length;while(i--){_traverse(val[i],seen);}}else{keys=Object.keys(val);i=keys.length;while(i--){_traverse(val[keys[i]],seen);}}}
var normalizeEvent=cached(function(name){var passive=name.charAt(0)==='&';name=passive?name.slice(1):name;var once$$1=name.charAt(0)==='~';name=once$$1?name.slice(1):name;var capture=name.charAt(0)==='!';name=capture?name.slice(1):name;return{name:name,once:once$$1,capture:capture,passive:passive}});function createFnInvoker(fns,vm){function invoker(){var arguments$1=arguments;var fns=invoker.fns;if(Array.isArray(fns)){var cloned=fns.slice();for(var i=0;i<cloned.length;i++){invokeWithErrorHandling(cloned[i],null,arguments$1,vm,"v-on handler");}}else{return invokeWithErrorHandling(fns,null,arguments,vm,"v-on handler")}}
invoker.fns=fns;return invoker}
function updateListeners(on,oldOn,add,remove$$1,createOnceHandler,vm){var name,def$$1,cur,old,event;for(name in on){def$$1=cur=on[name];old=oldOn[name];event=normalizeEvent(name);if(isUndef(cur)){warn("Invalid handler for event \""+(event.name)+"\": got "+String(cur),vm);}else if(isUndef(old)){if(isUndef(cur.fns)){cur=on[name]=createFnInvoker(cur,vm);}
if(isTrue(event.once)){cur=on[name]=createOnceHandler(event.name,cur,event.capture);}
add(event.name,cur,event.capture,event.passive,event.params);}else if(cur!==old){old.fns=cur;on[name]=old;}}
for(name in oldOn){if(isUndef(on[name])){event=normalizeEvent(name);remove$$1(event.name,oldOn[name],event.capture);}}}
function mergeVNodeHook(def,hookKey,hook){if(def instanceof VNode){def=def.data.hook||(def.data.hook={});}
var invoker;var oldHook=def[hookKey];function wrappedHook(){hook.apply(this,arguments);remove(invoker.fns,wrappedHook);}
if(isUndef(oldHook)){invoker=createFnInvoker([wrappedHook]);}else{if(isDef(oldHook.fns)&&isTrue(oldHook.merged)){invoker=oldHook;invoker.fns.push(wrappedHook);}else{invoker=createFnInvoker([oldHook,wrappedHook]);}}
invoker.merged=true;def[hookKey]=invoker;}
function extractPropsFromVNodeData(data,Ctor,tag){var propOptions=Ctor.options.props;if(isUndef(propOptions)){return}
var res={};var attrs=data.attrs;var props=data.props;if(isDef(attrs)||isDef(props)){for(var key in propOptions){var altKey=hyphenate(key);{var keyInLowerCase=key.toLowerCase();if(key!==keyInLowerCase&&attrs&&hasOwn(attrs,keyInLowerCase)){tip("Prop \""+keyInLowerCase+"\" is passed to component "+
(formatComponentName(tag||Ctor))+", but the declared prop name is"+" \""+key+"\". "+"Note that HTML attributes are case-insensitive and camelCased "+"props need to use their kebab-case equivalents when using in-DOM "+"templates. You should probably use \""+altKey+"\" instead of \""+key+"\".");}}
checkProp(res,props,key,altKey,true)||checkProp(res,attrs,key,altKey,false);}}
return res}
function checkProp(res,hash,key,altKey,preserve){if(isDef(hash)){if(hasOwn(hash,key)){res[key]=hash[key];if(!preserve){delete hash[key];}
return true}else if(hasOwn(hash,altKey)){res[key]=hash[altKey];if(!preserve){delete hash[altKey];}
return true}}
return false}
function simpleNormalizeChildren(children){for(var i=0;i<children.length;i++){if(Array.isArray(children[i])){return Array.prototype.concat.apply([],children)}}
return children}
function normalizeChildren(children){return isPrimitive(children)?[createTextVNode(children)]:Array.isArray(children)?normalizeArrayChildren(children):undefined}
function isTextNode(node){return isDef(node)&&isDef(node.text)&&isFalse(node.isComment)}
function normalizeArrayChildren(children,nestedIndex){var res=[];var i,c,lastIndex,last;for(i=0;i<children.length;i++){c=children[i];if(isUndef(c)||typeof c==='boolean'){continue}
lastIndex=res.length-1;last=res[lastIndex];if(Array.isArray(c)){if(c.length>0){c=normalizeArrayChildren(c,((nestedIndex||'')+"_"+i));if(isTextNode(c[0])&&isTextNode(last)){res[lastIndex]=createTextVNode(last.text+(c[0]).text);c.shift();}
res.push.apply(res,c);}}else if(isPrimitive(c)){if(isTextNode(last)){res[lastIndex]=createTextVNode(last.text+c);}else if(c!==''){res.push(createTextVNode(c));}}else{if(isTextNode(c)&&isTextNode(last)){res[lastIndex]=createTextVNode(last.text+c.text);}else{if(isTrue(children._isVList)&&isDef(c.tag)&&isUndef(c.key)&&isDef(nestedIndex)){c.key="__vlist"+nestedIndex+"_"+i+"__";}
res.push(c);}}}
return res}
function initProvide(vm){var provide=vm.$options.provide;if(provide){vm._provided=typeof provide==='function'?provide.call(vm):provide;}}
function initInjections(vm){var result=resolveInject(vm.$options.inject,vm);if(result){toggleObserving(false);Object.keys(result).forEach(function(key){{defineReactive$$1(vm,key,result[key],function(){warn("Avoid mutating an injected value directly since the changes will be "+"overwritten whenever the provided component re-renders. "+"injection being mutated: \""+key+"\"",vm);});}});toggleObserving(true);}}
function resolveInject(inject,vm){if(inject){var result=Object.create(null);var keys=hasSymbol?Reflect.ownKeys(inject):Object.keys(inject);for(var i=0;i<keys.length;i++){var key=keys[i];if(key==='__ob__'){continue}
var provideKey=inject[key].from;var source=vm;while(source){if(source._provided&&hasOwn(source._provided,provideKey)){result[key]=source._provided[provideKey];break}
source=source.$parent;}
if(!source){if('default'in inject[key]){var provideDefault=inject[key].default;result[key]=typeof provideDefault==='function'?provideDefault.call(vm):provideDefault;}else{warn(("Injection \""+key+"\" not found"),vm);}}}
return result}}
function resolveSlots(children,context){if(!children||!children.length){return{}}
var slots={};for(var i=0,l=children.length;i<l;i++){var child=children[i];var data=child.data;if(data&&data.attrs&&data.attrs.slot){delete data.attrs.slot;}
if((child.context===context||child.fnContext===context)&&data&&data.slot!=null){var name=data.slot;var slot=(slots[name]||(slots[name]=[]));if(child.tag==='template'){slot.push.apply(slot,child.children||[]);}else{slot.push(child);}}else{(slots.default||(slots.default=[])).push(child);}}
for(var name$1 in slots){if(slots[name$1].every(isWhitespace)){delete slots[name$1];}}
return slots}
function isWhitespace(node){return(node.isComment&&!node.asyncFactory)||node.text===' '}
function normalizeScopedSlots(slots,normalSlots,prevSlots){var res;var hasNormalSlots=Object.keys(normalSlots).length>0;var isStable=slots?!!slots.$stable:!hasNormalSlots;var key=slots&&slots.$key;if(!slots){res={};}else if(slots._normalized){return slots._normalized}else if(isStable&&prevSlots&&prevSlots!==emptyObject&&key===prevSlots.$key&&!hasNormalSlots&&!prevSlots.$hasNormal){return prevSlots}else{res={};for(var key$1 in slots){if(slots[key$1]&&key$1[0]!=='$'){res[key$1]=normalizeScopedSlot(normalSlots,key$1,slots[key$1]);}}}
for(var key$2 in normalSlots){if(!(key$2 in res)){res[key$2]=proxyNormalSlot(normalSlots,key$2);}}
if(slots&&Object.isExtensible(slots)){(slots)._normalized=res;}
def(res,'$stable',isStable);def(res,'$key',key);def(res,'$hasNormal',hasNormalSlots);return res}
function normalizeScopedSlot(normalSlots,key,fn){var normalized=function(){var res=arguments.length?fn.apply(null,arguments):fn({});res=res&&typeof res==='object'&&!Array.isArray(res)?[res]:normalizeChildren(res);return res&&(res.length===0||(res.length===1&&res[0].isComment))?undefined:res};if(fn.proxy){Object.defineProperty(normalSlots,key,{get:normalized,enumerable:true,configurable:true});}
return normalized}
function proxyNormalSlot(slots,key){return function(){return slots[key];}}
function renderList(val,render){var ret,i,l,keys,key;if(Array.isArray(val)||typeof val==='string'){ret=new Array(val.length);for(i=0,l=val.length;i<l;i++){ret[i]=render(val[i],i);}}else if(typeof val==='number'){ret=new Array(val);for(i=0;i<val;i++){ret[i]=render(i+1,i);}}else if(isObject(val)){if(hasSymbol&&val[Symbol.iterator]){ret=[];var iterator=val[Symbol.iterator]();var result=iterator.next();while(!result.done){ret.push(render(result.value,ret.length));result=iterator.next();}}else{keys=Object.keys(val);ret=new Array(keys.length);for(i=0,l=keys.length;i<l;i++){key=keys[i];ret[i]=render(val[key],key,i);}}}
if(!isDef(ret)){ret=[];}
(ret)._isVList=true;return ret}
function renderSlot(name,fallback,props,bindObject){var scopedSlotFn=this.$scopedSlots[name];var nodes;if(scopedSlotFn){props=props||{};if(bindObject){if(!isObject(bindObject)){warn('slot v-bind without argument expects an Object',this);}
props=extend(extend({},bindObject),props);}
nodes=scopedSlotFn(props)||fallback;}else{nodes=this.$slots[name]||fallback;}
var target=props&&props.slot;if(target){return this.$createElement('template',{slot:target},nodes)}else{return nodes}}
function resolveFilter(id){return resolveAsset(this.$options,'filters',id,true)||identity}
function isKeyNotMatch(expect,actual){if(Array.isArray(expect)){return expect.indexOf(actual)===-1}else{return expect!==actual}}
function checkKeyCodes(eventKeyCode,key,builtInKeyCode,eventKeyName,builtInKeyName){var mappedKeyCode=config.keyCodes[key]||builtInKeyCode;if(builtInKeyName&&eventKeyName&&!config.keyCodes[key]){return isKeyNotMatch(builtInKeyName,eventKeyName)}else if(mappedKeyCode){return isKeyNotMatch(mappedKeyCode,eventKeyCode)}else if(eventKeyName){return hyphenate(eventKeyName)!==key}}
function bindObjectProps(data,tag,value,asProp,isSync){if(value){if(!isObject(value)){warn('v-bind without argument expects an Object or Array value',this);}else{if(Array.isArray(value)){value=toObject(value);}
var hash;var loop=function(key){if(key==='class'||key==='style'||isReservedAttribute(key)){hash=data;}else{var type=data.attrs&&data.attrs.type;hash=asProp||config.mustUseProp(tag,type,key)?data.domProps||(data.domProps={}):data.attrs||(data.attrs={});}
var camelizedKey=camelize(key);var hyphenatedKey=hyphenate(key);if(!(camelizedKey in hash)&&!(hyphenatedKey in hash)){hash[key]=value[key];if(isSync){var on=data.on||(data.on={});on[("update:"+key)]=function($event){value[key]=$event;};}}};for(var key in value)loop(key);}}
return data}
function renderStatic(index,isInFor){var cached=this._staticTrees||(this._staticTrees=[]);var tree=cached[index];if(tree&&!isInFor){return tree}
tree=cached[index]=this.$options.staticRenderFns[index].call(this._renderProxy,null,this);markStatic(tree,("__static__"+index),false);return tree}
function markOnce(tree,index,key){markStatic(tree,("__once__"+index+(key?("_"+key):"")),true);return tree}
function markStatic(tree,key,isOnce){if(Array.isArray(tree)){for(var i=0;i<tree.length;i++){if(tree[i]&&typeof tree[i]!=='string'){markStaticNode(tree[i],(key+"_"+i),isOnce);}}}else{markStaticNode(tree,key,isOnce);}}
function markStaticNode(node,key,isOnce){node.isStatic=true;node.key=key;node.isOnce=isOnce;}
function bindObjectListeners(data,value){if(value){if(!isPlainObject(value)){warn('v-on without argument expects an Object value',this);}else{var on=data.on=data.on?extend({},data.on):{};for(var key in value){var existing=on[key];var ours=value[key];on[key]=existing?[].concat(existing,ours):ours;}}}
return data}
function resolveScopedSlots(fns,res,hasDynamicKeys,contentHashKey){res=res||{$stable:!hasDynamicKeys};for(var i=0;i<fns.length;i++){var slot=fns[i];if(Array.isArray(slot)){resolveScopedSlots(slot,res,hasDynamicKeys);}else if(slot){if(slot.proxy){slot.fn.proxy=true;}
res[slot.key]=slot.fn;}}
if(contentHashKey){(res).$key=contentHashKey;}
return res}
function bindDynamicKeys(baseObj,values){for(var i=0;i<values.length;i+=2){var key=values[i];if(typeof key==='string'&&key){baseObj[values[i]]=values[i+1];}else if(key!==''&&key!==null){warn(("Invalid value for dynamic directive argument (expected string or null): "+key),this);}}
return baseObj}
function prependModifier(value,symbol){return typeof value==='string'?symbol+value:value}
function installRenderHelpers(target){target._o=markOnce;target._n=toNumber;target._s=toString;target._l=renderList;target._t=renderSlot;target._q=looseEqual;target._i=looseIndexOf;target._m=renderStatic;target._f=resolveFilter;target._k=checkKeyCodes;target._b=bindObjectProps;target._v=createTextVNode;target._e=createEmptyVNode;target._u=resolveScopedSlots;target._g=bindObjectListeners;target._d=bindDynamicKeys;target._p=prependModifier;}
function FunctionalRenderContext(data,props,children,parent,Ctor){var this$1=this;var options=Ctor.options;var contextVm;if(hasOwn(parent,'_uid')){contextVm=Object.create(parent);contextVm._original=parent;}else{contextVm=parent;parent=parent._original;}
var isCompiled=isTrue(options._compiled);var needNormalization=!isCompiled;this.data=data;this.props=props;this.children=children;this.parent=parent;this.listeners=data.on||emptyObject;this.injections=resolveInject(options.inject,parent);this.slots=function(){if(!this$1.$slots){normalizeScopedSlots(data.scopedSlots,this$1.$slots=resolveSlots(children,parent));}
return this$1.$slots};Object.defineProperty(this,'scopedSlots',({enumerable:true,get:function get(){return normalizeScopedSlots(data.scopedSlots,this.slots())}}));if(isCompiled){this.$options=options;this.$slots=this.slots();this.$scopedSlots=normalizeScopedSlots(data.scopedSlots,this.$slots);}
if(options._scopeId){this._c=function(a,b,c,d){var vnode=createElement(contextVm,a,b,c,d,needNormalization);if(vnode&&!Array.isArray(vnode)){vnode.fnScopeId=options._scopeId;vnode.fnContext=parent;}
return vnode};}else{this._c=function(a,b,c,d){return createElement(contextVm,a,b,c,d,needNormalization);};}}
installRenderHelpers(FunctionalRenderContext.prototype);function createFunctionalComponent(Ctor,propsData,data,contextVm,children){var options=Ctor.options;var props={};var propOptions=options.props;if(isDef(propOptions)){for(var key in propOptions){props[key]=validateProp(key,propOptions,propsData||emptyObject);}}else{if(isDef(data.attrs)){mergeProps(props,data.attrs);}
if(isDef(data.props)){mergeProps(props,data.props);}}
var renderContext=new FunctionalRenderContext(data,props,children,contextVm,Ctor);var vnode=options.render.call(null,renderContext._c,renderContext);if(vnode instanceof VNode){return cloneAndMarkFunctionalResult(vnode,data,renderContext.parent,options,renderContext)}else if(Array.isArray(vnode)){var vnodes=normalizeChildren(vnode)||[];var res=new Array(vnodes.length);for(var i=0;i<vnodes.length;i++){res[i]=cloneAndMarkFunctionalResult(vnodes[i],data,renderContext.parent,options,renderContext);}
return res}}
function cloneAndMarkFunctionalResult(vnode,data,contextVm,options,renderContext){var clone=cloneVNode(vnode);clone.fnContext=contextVm;clone.fnOptions=options;{(clone.devtoolsMeta=clone.devtoolsMeta||{}).renderContext=renderContext;}
if(data.slot){(clone.data||(clone.data={})).slot=data.slot;}
return clone}
function mergeProps(to,from){for(var key in from){to[camelize(key)]=from[key];}}
var componentVNodeHooks={init:function init(vnode,hydrating){if(vnode.componentInstance&&!vnode.componentInstance._isDestroyed&&vnode.data.keepAlive){var mountedNode=vnode;componentVNodeHooks.prepatch(mountedNode,mountedNode);}else{var child=vnode.componentInstance=createComponentInstanceForVnode(vnode,activeInstance);child.$mount(hydrating?vnode.elm:undefined,hydrating);}},prepatch:function prepatch(oldVnode,vnode){var options=vnode.componentOptions;var child=vnode.componentInstance=oldVnode.componentInstance;updateChildComponent(child,options.propsData,options.listeners,vnode,options.children);},insert:function insert(vnode){var context=vnode.context;var componentInstance=vnode.componentInstance;if(!componentInstance._isMounted){componentInstance._isMounted=true;callHook(componentInstance,'mounted');}
if(vnode.data.keepAlive){if(context._isMounted){queueActivatedComponent(componentInstance);}else{activateChildComponent(componentInstance,true);}}},destroy:function destroy(vnode){var componentInstance=vnode.componentInstance;if(!componentInstance._isDestroyed){if(!vnode.data.keepAlive){componentInstance.$destroy();}else{deactivateChildComponent(componentInstance,true);}}}};var hooksToMerge=Object.keys(componentVNodeHooks);function createComponent(Ctor,data,context,children,tag){if(isUndef(Ctor)){return}
var baseCtor=context.$options._base;if(isObject(Ctor)){Ctor=baseCtor.extend(Ctor);}
if(typeof Ctor!=='function'){{warn(("Invalid Component definition: "+(String(Ctor))),context);}
return}
var asyncFactory;if(isUndef(Ctor.cid)){asyncFactory=Ctor;Ctor=resolveAsyncComponent(asyncFactory,baseCtor);if(Ctor===undefined){return createAsyncPlaceholder(asyncFactory,data,context,children,tag)}}
data=data||{};resolveConstructorOptions(Ctor);if(isDef(data.model)){transformModel(Ctor.options,data);}
var propsData=extractPropsFromVNodeData(data,Ctor,tag);if(isTrue(Ctor.options.functional)){return createFunctionalComponent(Ctor,propsData,data,context,children)}
var listeners=data.on;data.on=data.nativeOn;if(isTrue(Ctor.options.abstract)){var slot=data.slot;data={};if(slot){data.slot=slot;}}
installComponentHooks(data);var name=Ctor.options.name||tag;var vnode=new VNode(("vue-component-"+(Ctor.cid)+(name?("-"+name):'')),data,undefined,undefined,undefined,context,{Ctor:Ctor,propsData:propsData,listeners:listeners,tag:tag,children:children},asyncFactory);return vnode}
function createComponentInstanceForVnode(vnode,parent){var options={_isComponent:true,_parentVnode:vnode,parent:parent};var inlineTemplate=vnode.data.inlineTemplate;if(isDef(inlineTemplate)){options.render=inlineTemplate.render;options.staticRenderFns=inlineTemplate.staticRenderFns;}
return new vnode.componentOptions.Ctor(options)}
function installComponentHooks(data){var hooks=data.hook||(data.hook={});for(var i=0;i<hooksToMerge.length;i++){var key=hooksToMerge[i];var existing=hooks[key];var toMerge=componentVNodeHooks[key];if(existing!==toMerge&&!(existing&&existing._merged)){hooks[key]=existing?mergeHook$1(toMerge,existing):toMerge;}}}
function mergeHook$1(f1,f2){var merged=function(a,b){f1(a,b);f2(a,b);};merged._merged=true;return merged}
function transformModel(options,data){var prop=(options.model&&options.model.prop)||'value';var event=(options.model&&options.model.event)||'input';(data.attrs||(data.attrs={}))[prop]=data.model.value;var on=data.on||(data.on={});var existing=on[event];var callback=data.model.callback;if(isDef(existing)){if(Array.isArray(existing)?existing.indexOf(callback)===-1:existing!==callback){on[event]=[callback].concat(existing);}}else{on[event]=callback;}}
var SIMPLE_NORMALIZE=1;var ALWAYS_NORMALIZE=2;function createElement(context,tag,data,children,normalizationType,alwaysNormalize){if(Array.isArray(data)||isPrimitive(data)){normalizationType=children;children=data;data=undefined;}
if(isTrue(alwaysNormalize)){normalizationType=ALWAYS_NORMALIZE;}
return _createElement(context,tag,data,children,normalizationType)}
function _createElement(context,tag,data,children,normalizationType){if(isDef(data)&&isDef((data).__ob__)){warn("Avoid using observed data object as vnode data: "+(JSON.stringify(data))+"\n"+'Always create fresh vnode data objects in each render!',context);return createEmptyVNode()}
if(isDef(data)&&isDef(data.is)){tag=data.is;}
if(!tag){return createEmptyVNode()}
if(isDef(data)&&isDef(data.key)&&!isPrimitive(data.key)){{warn('Avoid using non-primitive value as key, '+'use string/number value instead.',context);}}
if(Array.isArray(children)&&typeof children[0]==='function'){data=data||{};data.scopedSlots={default:children[0]};children.length=0;}
if(normalizationType===ALWAYS_NORMALIZE){children=normalizeChildren(children);}else if(normalizationType===SIMPLE_NORMALIZE){children=simpleNormalizeChildren(children);}
var vnode,ns;if(typeof tag==='string'){var Ctor;ns=(context.$vnode&&context.$vnode.ns)||config.getTagNamespace(tag);if(config.isReservedTag(tag)){vnode=new VNode(config.parsePlatformTagName(tag),data,children,undefined,undefined,context);}else if((!data||!data.pre)&&isDef(Ctor=resolveAsset(context.$options,'components',tag))){vnode=createComponent(Ctor,data,context,children,tag);}else{vnode=new VNode(tag,data,children,undefined,undefined,context);}}else{vnode=createComponent(tag,data,context,children);}
if(Array.isArray(vnode)){return vnode}else if(isDef(vnode)){if(isDef(ns)){applyNS(vnode,ns);}
if(isDef(data)){registerDeepBindings(data);}
return vnode}else{return createEmptyVNode()}}
function applyNS(vnode,ns,force){vnode.ns=ns;if(vnode.tag==='foreignObject'){ns=undefined;force=true;}
if(isDef(vnode.children)){for(var i=0,l=vnode.children.length;i<l;i++){var child=vnode.children[i];if(isDef(child.tag)&&(isUndef(child.ns)||(isTrue(force)&&child.tag!=='svg'))){applyNS(child,ns,force);}}}}
function registerDeepBindings(data){if(isObject(data.style)){traverse(data.style);}
if(isObject(data.class)){traverse(data.class);}}
function initRender(vm){vm._vnode=null;vm._staticTrees=null;var options=vm.$options;var parentVnode=vm.$vnode=options._parentVnode;var renderContext=parentVnode&&parentVnode.context;vm.$slots=resolveSlots(options._renderChildren,renderContext);vm.$scopedSlots=emptyObject;vm._c=function(a,b,c,d){return createElement(vm,a,b,c,d,false);};vm.$createElement=function(a,b,c,d){return createElement(vm,a,b,c,d,true);};var parentData=parentVnode&&parentVnode.data;{defineReactive$$1(vm,'$attrs',parentData&&parentData.attrs||emptyObject,function(){!isUpdatingChildComponent&&warn("$attrs is readonly.",vm);},true);defineReactive$$1(vm,'$listeners',options._parentListeners||emptyObject,function(){!isUpdatingChildComponent&&warn("$listeners is readonly.",vm);},true);}}
var currentRenderingInstance=null;function renderMixin(Vue){installRenderHelpers(Vue.prototype);Vue.prototype.$nextTick=function(fn){return nextTick(fn,this)};Vue.prototype._render=function(){var vm=this;var ref=vm.$options;var render=ref.render;var _parentVnode=ref._parentVnode;if(_parentVnode){vm.$scopedSlots=normalizeScopedSlots(_parentVnode.data.scopedSlots,vm.$slots,vm.$scopedSlots);}
vm.$vnode=_parentVnode;var vnode;try{currentRenderingInstance=vm;vnode=render.call(vm._renderProxy,vm.$createElement);}catch(e){handleError(e,vm,"render");if(vm.$options.renderError){try{vnode=vm.$options.renderError.call(vm._renderProxy,vm.$createElement,e);}catch(e){handleError(e,vm,"renderError");vnode=vm._vnode;}}else{vnode=vm._vnode;}}finally{currentRenderingInstance=null;}
if(Array.isArray(vnode)&&vnode.length===1){vnode=vnode[0];}
if(!(vnode instanceof VNode)){if(Array.isArray(vnode)){warn('Multiple root nodes returned from render function. Render function '+'should return a single root node.',vm);}
vnode=createEmptyVNode();}
vnode.parent=_parentVnode;return vnode};}
function ensureCtor(comp,base){if(comp.__esModule||(hasSymbol&&comp[Symbol.toStringTag]==='Module')){comp=comp.default;}
return isObject(comp)?base.extend(comp):comp}
function createAsyncPlaceholder(factory,data,context,children,tag){var node=createEmptyVNode();node.asyncFactory=factory;node.asyncMeta={data:data,context:context,children:children,tag:tag};return node}
function resolveAsyncComponent(factory,baseCtor){if(isTrue(factory.error)&&isDef(factory.errorComp)){return factory.errorComp}
if(isDef(factory.resolved)){return factory.resolved}
var owner=currentRenderingInstance;if(owner&&isDef(factory.owners)&&factory.owners.indexOf(owner)===-1){factory.owners.push(owner);}
if(isTrue(factory.loading)&&isDef(factory.loadingComp)){return factory.loadingComp}
if(owner&&!isDef(factory.owners)){var owners=factory.owners=[owner];var sync=true;var timerLoading=null;var timerTimeout=null;(owner).$on('hook:destroyed',function(){return remove(owners,owner);});var forceRender=function(renderCompleted){for(var i=0,l=owners.length;i<l;i++){(owners[i]).$forceUpdate();}
if(renderCompleted){owners.length=0;if(timerLoading!==null){clearTimeout(timerLoading);timerLoading=null;}
if(timerTimeout!==null){clearTimeout(timerTimeout);timerTimeout=null;}}};var resolve=once(function(res){factory.resolved=ensureCtor(res,baseCtor);if(!sync){forceRender(true);}else{owners.length=0;}});var reject=once(function(reason){warn("Failed to resolve async component: "+(String(factory))+
(reason?("\nReason: "+reason):''));if(isDef(factory.errorComp)){factory.error=true;forceRender(true);}});var res=factory(resolve,reject);if(isObject(res)){if(isPromise(res)){if(isUndef(factory.resolved)){res.then(resolve,reject);}}else if(isPromise(res.component)){res.component.then(resolve,reject);if(isDef(res.error)){factory.errorComp=ensureCtor(res.error,baseCtor);}
if(isDef(res.loading)){factory.loadingComp=ensureCtor(res.loading,baseCtor);if(res.delay===0){factory.loading=true;}else{timerLoading=setTimeout(function(){timerLoading=null;if(isUndef(factory.resolved)&&isUndef(factory.error)){factory.loading=true;forceRender(false);}},res.delay||200);}}
if(isDef(res.timeout)){timerTimeout=setTimeout(function(){timerTimeout=null;if(isUndef(factory.resolved)){reject("timeout ("+(res.timeout)+"ms)");}},res.timeout);}}}
sync=false;return factory.loading?factory.loadingComp:factory.resolved}}
function isAsyncPlaceholder(node){return node.isComment&&node.asyncFactory}
function getFirstComponentChild(children){if(Array.isArray(children)){for(var i=0;i<children.length;i++){var c=children[i];if(isDef(c)&&(isDef(c.componentOptions)||isAsyncPlaceholder(c))){return c}}}}
function initEvents(vm){vm._events=Object.create(null);vm._hasHookEvent=false;var listeners=vm.$options._parentListeners;if(listeners){updateComponentListeners(vm,listeners);}}
var target;function add(event,fn){target.$on(event,fn);}
function remove$1(event,fn){target.$off(event,fn);}
function createOnceHandler(event,fn){var _target=target;return function onceHandler(){var res=fn.apply(null,arguments);if(res!==null){_target.$off(event,onceHandler);}}}
function updateComponentListeners(vm,listeners,oldListeners){target=vm;updateListeners(listeners,oldListeners||{},add,remove$1,createOnceHandler,vm);target=undefined;}
function eventsMixin(Vue){var hookRE=/^hook:/;Vue.prototype.$on=function(event,fn){var vm=this;if(Array.isArray(event)){for(var i=0,l=event.length;i<l;i++){vm.$on(event[i],fn);}}else{(vm._events[event]||(vm._events[event]=[])).push(fn);if(hookRE.test(event)){vm._hasHookEvent=true;}}
return vm};Vue.prototype.$once=function(event,fn){var vm=this;function on(){vm.$off(event,on);fn.apply(vm,arguments);}
on.fn=fn;vm.$on(event,on);return vm};Vue.prototype.$off=function(event,fn){var vm=this;if(!arguments.length){vm._events=Object.create(null);return vm}
if(Array.isArray(event)){for(var i$1=0,l=event.length;i$1<l;i$1++){vm.$off(event[i$1],fn);}
return vm}
var cbs=vm._events[event];if(!cbs){return vm}
if(!fn){vm._events[event]=null;return vm}
var cb;var i=cbs.length;while(i--){cb=cbs[i];if(cb===fn||cb.fn===fn){cbs.splice(i,1);break}}
return vm};Vue.prototype.$emit=function(event){var vm=this;{var lowerCaseEvent=event.toLowerCase();if(lowerCaseEvent!==event&&vm._events[lowerCaseEvent]){tip("Event \""+lowerCaseEvent+"\" is emitted in component "+
(formatComponentName(vm))+" but the handler is registered for \""+event+"\". "+"Note that HTML attributes are case-insensitive and you cannot use "+"v-on to listen to camelCase events when using in-DOM templates. "+"You should probably use \""+(hyphenate(event))+"\" instead of \""+event+"\".");}}
var cbs=vm._events[event];if(cbs){cbs=cbs.length>1?toArray(cbs):cbs;var args=toArray(arguments,1);var info="event handler for \""+event+"\"";for(var i=0,l=cbs.length;i<l;i++){invokeWithErrorHandling(cbs[i],vm,args,vm,info);}}
return vm};}
var activeInstance=null;var isUpdatingChildComponent=false;function setActiveInstance(vm){var prevActiveInstance=activeInstance;activeInstance=vm;return function(){activeInstance=prevActiveInstance;}}
function initLifecycle(vm){var options=vm.$options;var parent=options.parent;if(parent&&!options.abstract){while(parent.$options.abstract&&parent.$parent){parent=parent.$parent;}
parent.$children.push(vm);}
vm.$parent=parent;vm.$root=parent?parent.$root:vm;vm.$children=[];vm.$refs={};vm._watcher=null;vm._inactive=null;vm._directInactive=false;vm._isMounted=false;vm._isDestroyed=false;vm._isBeingDestroyed=false;}
function lifecycleMixin(Vue){Vue.prototype._update=function(vnode,hydrating){var vm=this;var prevEl=vm.$el;var prevVnode=vm._vnode;var restoreActiveInstance=setActiveInstance(vm);vm._vnode=vnode;if(!prevVnode){vm.$el=vm.__patch__(vm.$el,vnode,hydrating,false);}else{vm.$el=vm.__patch__(prevVnode,vnode);}
restoreActiveInstance();if(prevEl){prevEl.__vue__=null;}
if(vm.$el){vm.$el.__vue__=vm;}
if(vm.$vnode&&vm.$parent&&vm.$vnode===vm.$parent._vnode){vm.$parent.$el=vm.$el;}};Vue.prototype.$forceUpdate=function(){var vm=this;if(vm._watcher){vm._watcher.update();}};Vue.prototype.$destroy=function(){var vm=this;if(vm._isBeingDestroyed){return}
callHook(vm,'beforeDestroy');vm._isBeingDestroyed=true;var parent=vm.$parent;if(parent&&!parent._isBeingDestroyed&&!vm.$options.abstract){remove(parent.$children,vm);}
if(vm._watcher){vm._watcher.teardown();}
var i=vm._watchers.length;while(i--){vm._watchers[i].teardown();}
if(vm._data.__ob__){vm._data.__ob__.vmCount--;}
vm._isDestroyed=true;vm.__patch__(vm._vnode,null);callHook(vm,'destroyed');vm.$off();if(vm.$el){vm.$el.__vue__=null;}
if(vm.$vnode){vm.$vnode.parent=null;}};}
function mountComponent(vm,el,hydrating){vm.$el=el;if(!vm.$options.render){vm.$options.render=createEmptyVNode;{if((vm.$options.template&&vm.$options.template.charAt(0)!=='#')||vm.$options.el||el){warn('You are using the runtime-only build of Vue where the template '+'compiler is not available. Either pre-compile the templates into '+'render functions, or use the compiler-included build.',vm);}else{warn('Failed to mount component: template or render function not defined.',vm);}}}
callHook(vm,'beforeMount');var updateComponent;if(config.performance&&mark){updateComponent=function(){var name=vm._name;var id=vm._uid;var startTag="vue-perf-start:"+id;var endTag="vue-perf-end:"+id;mark(startTag);var vnode=vm._render();mark(endTag);measure(("vue "+name+" render"),startTag,endTag);mark(startTag);vm._update(vnode,hydrating);mark(endTag);measure(("vue "+name+" patch"),startTag,endTag);};}else{updateComponent=function(){vm._update(vm._render(),hydrating);};}
new Watcher(vm,updateComponent,noop,{before:function before(){if(vm._isMounted&&!vm._isDestroyed){callHook(vm,'beforeUpdate');}}},true);hydrating=false;if(vm.$vnode==null){vm._isMounted=true;callHook(vm,'mounted');}
return vm}
function updateChildComponent(vm,propsData,listeners,parentVnode,renderChildren){{isUpdatingChildComponent=true;}
var newScopedSlots=parentVnode.data.scopedSlots;var oldScopedSlots=vm.$scopedSlots;var hasDynamicScopedSlot=!!((newScopedSlots&&!newScopedSlots.$stable)||(oldScopedSlots!==emptyObject&&!oldScopedSlots.$stable)||(newScopedSlots&&vm.$scopedSlots.$key!==newScopedSlots.$key));var needsForceUpdate=!!(renderChildren||vm.$options._renderChildren||hasDynamicScopedSlot);vm.$options._parentVnode=parentVnode;vm.$vnode=parentVnode;if(vm._vnode){vm._vnode.parent=parentVnode;}
vm.$options._renderChildren=renderChildren;vm.$attrs=parentVnode.data.attrs||emptyObject;vm.$listeners=listeners||emptyObject;if(propsData&&vm.$options.props){toggleObserving(false);var props=vm._props;var propKeys=vm.$options._propKeys||[];for(var i=0;i<propKeys.length;i++){var key=propKeys[i];var propOptions=vm.$options.props;props[key]=validateProp(key,propOptions,propsData,vm);}
toggleObserving(true);vm.$options.propsData=propsData;}
listeners=listeners||emptyObject;var oldListeners=vm.$options._parentListeners;vm.$options._parentListeners=listeners;updateComponentListeners(vm,listeners,oldListeners);if(needsForceUpdate){vm.$slots=resolveSlots(renderChildren,parentVnode.context);vm.$forceUpdate();}
{isUpdatingChildComponent=false;}}
function isInInactiveTree(vm){while(vm&&(vm=vm.$parent)){if(vm._inactive){return true}}
return false}
function activateChildComponent(vm,direct){if(direct){vm._directInactive=false;if(isInInactiveTree(vm)){return}}else if(vm._directInactive){return}
if(vm._inactive||vm._inactive===null){vm._inactive=false;for(var i=0;i<vm.$children.length;i++){activateChildComponent(vm.$children[i]);}
callHook(vm,'activated');}}
function deactivateChildComponent(vm,direct){if(direct){vm._directInactive=true;if(isInInactiveTree(vm)){return}}
if(!vm._inactive){vm._inactive=true;for(var i=0;i<vm.$children.length;i++){deactivateChildComponent(vm.$children[i]);}
callHook(vm,'deactivated');}}
function callHook(vm,hook){pushTarget();var handlers=vm.$options[hook];var info=hook+" hook";if(handlers){for(var i=0,j=handlers.length;i<j;i++){invokeWithErrorHandling(handlers[i],vm,null,vm,info);}}
if(vm._hasHookEvent){vm.$emit('hook:'+hook);}
popTarget();}
var MAX_UPDATE_COUNT=100;var queue=[];var activatedChildren=[];var has={};var circular={};var waiting=false;var flushing=false;var index=0;function resetSchedulerState(){index=queue.length=activatedChildren.length=0;has={};{circular={};}
waiting=flushing=false;}
var currentFlushTimestamp=0;var getNow=Date.now;if(inBrowser&&!isIE){var performance=window.performance;if(performance&&typeof performance.now==='function'&&getNow()>document.createEvent('Event').timeStamp){getNow=function(){return performance.now();};}}
function flushSchedulerQueue(){currentFlushTimestamp=getNow();flushing=true;var watcher,id;queue.sort(function(a,b){return a.id-b.id;});for(index=0;index<queue.length;index++){watcher=queue[index];if(watcher.before){watcher.before();}
id=watcher.id;has[id]=null;watcher.run();if(has[id]!=null){circular[id]=(circular[id]||0)+1;if(circular[id]>MAX_UPDATE_COUNT){warn('You may have an infinite update loop '+(watcher.user?("in watcher with expression \""+(watcher.expression)+"\""):"in a component render function."),watcher.vm);break}}}
var activatedQueue=activatedChildren.slice();var updatedQueue=queue.slice();resetSchedulerState();callActivatedHooks(activatedQueue);callUpdatedHooks(updatedQueue);if(devtools&&config.devtools){devtools.emit('flush');}}
function callUpdatedHooks(queue){var i=queue.length;while(i--){var watcher=queue[i];var vm=watcher.vm;if(vm._watcher===watcher&&vm._isMounted&&!vm._isDestroyed){callHook(vm,'updated');}}}
function queueActivatedComponent(vm){vm._inactive=false;activatedChildren.push(vm);}
function callActivatedHooks(queue){for(var i=0;i<queue.length;i++){queue[i]._inactive=true;activateChildComponent(queue[i],true);}}
function queueWatcher(watcher){var id=watcher.id;if(has[id]==null){has[id]=true;if(!flushing){queue.push(watcher);}else{var i=queue.length-1;while(i>index&&queue[i].id>watcher.id){i--;}
queue.splice(i+1,0,watcher);}
if(!waiting){waiting=true;if(!config.async){flushSchedulerQueue();return}
nextTick(flushSchedulerQueue);}}}
var uid$2=0;var Watcher=function Watcher(vm,expOrFn,cb,options,isRenderWatcher){this.vm=vm;if(isRenderWatcher){vm._watcher=this;}
vm._watchers.push(this);if(options){this.deep=!!options.deep;this.user=!!options.user;this.lazy=!!options.lazy;this.sync=!!options.sync;this.before=options.before;}else{this.deep=this.user=this.lazy=this.sync=false;}
this.cb=cb;this.id=++uid$2;this.active=true;this.dirty=this.lazy;this.deps=[];this.newDeps=[];this.depIds=new _Set();this.newDepIds=new _Set();this.expression=expOrFn.toString();if(typeof expOrFn==='function'){this.getter=expOrFn;}else{this.getter=parsePath(expOrFn);if(!this.getter){this.getter=noop;warn("Failed watching path: \""+expOrFn+"\" "+'Watcher only accepts simple dot-delimited paths. '+'For full control, use a function instead.',vm);}}
this.value=this.lazy?undefined:this.get();};Watcher.prototype.get=function get(){pushTarget(this);var value;var vm=this.vm;try{value=this.getter.call(vm,vm);}catch(e){if(this.user){handleError(e,vm,("getter for watcher \""+(this.expression)+"\""));}else{throw e}}finally{if(this.deep){traverse(value);}
popTarget();this.cleanupDeps();}
return value};Watcher.prototype.addDep=function addDep(dep){var id=dep.id;if(!this.newDepIds.has(id)){this.newDepIds.add(id);this.newDeps.push(dep);if(!this.depIds.has(id)){dep.addSub(this);}}};Watcher.prototype.cleanupDeps=function cleanupDeps(){var i=this.deps.length;while(i--){var dep=this.deps[i];if(!this.newDepIds.has(dep.id)){dep.removeSub(this);}}
var tmp=this.depIds;this.depIds=this.newDepIds;this.newDepIds=tmp;this.newDepIds.clear();tmp=this.deps;this.deps=this.newDeps;this.newDeps=tmp;this.newDeps.length=0;};Watcher.prototype.update=function update(){if(this.lazy){this.dirty=true;}else if(this.sync){this.run();}else{queueWatcher(this);}};Watcher.prototype.run=function run(){if(this.active){var value=this.get();if(value!==this.value||isObject(value)||this.deep){var oldValue=this.value;this.value=value;if(this.user){try{this.cb.call(this.vm,value,oldValue);}catch(e){handleError(e,this.vm,("callback for watcher \""+(this.expression)+"\""));}}else{this.cb.call(this.vm,value,oldValue);}}}};Watcher.prototype.evaluate=function evaluate(){this.value=this.get();this.dirty=false;};Watcher.prototype.depend=function depend(){var i=this.deps.length;while(i--){this.deps[i].depend();}};Watcher.prototype.teardown=function teardown(){if(this.active){if(!this.vm._isBeingDestroyed){remove(this.vm._watchers,this);}
var i=this.deps.length;while(i--){this.deps[i].removeSub(this);}
this.active=false;}};var sharedPropertyDefinition={enumerable:true,configurable:true,get:noop,set:noop};function proxy(target,sourceKey,key){sharedPropertyDefinition.get=function proxyGetter(){return this[sourceKey][key]};sharedPropertyDefinition.set=function proxySetter(val){this[sourceKey][key]=val;};Object.defineProperty(target,key,sharedPropertyDefinition);}
function initState(vm){vm._watchers=[];var opts=vm.$options;if(opts.props){initProps(vm,opts.props);}
if(opts.methods){initMethods(vm,opts.methods);}
if(opts.data){initData(vm);}else{observe(vm._data={},true);}
if(opts.computed){initComputed(vm,opts.computed);}
if(opts.watch&&opts.watch!==nativeWatch){initWatch(vm,opts.watch);}}
function initProps(vm,propsOptions){var propsData=vm.$options.propsData||{};var props=vm._props={};var keys=vm.$options._propKeys=[];var isRoot=!vm.$parent;if(!isRoot){toggleObserving(false);}
var loop=function(key){keys.push(key);var value=validateProp(key,propsOptions,propsData,vm);{var hyphenatedKey=hyphenate(key);if(isReservedAttribute(hyphenatedKey)||config.isReservedAttr(hyphenatedKey)){warn(("\""+hyphenatedKey+"\" is a reserved attribute and cannot be used as component prop."),vm);}
defineReactive$$1(props,key,value,function(){if(!isRoot&&!isUpdatingChildComponent){warn("Avoid mutating a prop directly since the value will be "+"overwritten whenever the parent component re-renders. "+"Instead, use a data or computed property based on the prop's "+"value. Prop being mutated: \""+key+"\"",vm);}});}
if(!(key in vm)){proxy(vm,"_props",key);}};for(var key in propsOptions)loop(key);toggleObserving(true);}
function initData(vm){var data=vm.$options.data;data=vm._data=typeof data==='function'?getData(data,vm):data||{};if(!isPlainObject(data)){data={};warn('data functions should return an object:\n'+'https://vuejs.org/v2/guide/components.html#data-Must-Be-a-Function',vm);}
var keys=Object.keys(data);var props=vm.$options.props;var methods=vm.$options.methods;var i=keys.length;while(i--){var key=keys[i];{if(methods&&hasOwn(methods,key)){warn(("Method \""+key+"\" has already been defined as a data property."),vm);}}
if(props&&hasOwn(props,key)){warn("The data property \""+key+"\" is already declared as a prop. "+"Use prop default value instead.",vm);}else if(!isReserved(key)){proxy(vm,"_data",key);}}
observe(data,true);}
function getData(data,vm){pushTarget();try{return data.call(vm,vm)}catch(e){handleError(e,vm,"data()");return{}}finally{popTarget();}}
var computedWatcherOptions={lazy:true};function initComputed(vm,computed){var watchers=vm._computedWatchers=Object.create(null);var isSSR=isServerRendering();for(var key in computed){var userDef=computed[key];var getter=typeof userDef==='function'?userDef:userDef.get;if(getter==null){warn(("Getter is missing for computed property \""+key+"\"."),vm);}
if(!isSSR){watchers[key]=new Watcher(vm,getter||noop,noop,computedWatcherOptions);}
if(!(key in vm)){defineComputed(vm,key,userDef);}else{if(key in vm.$data){warn(("The computed property \""+key+"\" is already defined in data."),vm);}else if(vm.$options.props&&key in vm.$options.props){warn(("The computed property \""+key+"\" is already defined as a prop."),vm);}}}}
function defineComputed(target,key,userDef){var shouldCache=!isServerRendering();if(typeof userDef==='function'){sharedPropertyDefinition.get=shouldCache?createComputedGetter(key):createGetterInvoker(userDef);sharedPropertyDefinition.set=noop;}else{sharedPropertyDefinition.get=userDef.get?shouldCache&&userDef.cache!==false?createComputedGetter(key):createGetterInvoker(userDef.get):noop;sharedPropertyDefinition.set=userDef.set||noop;}
if(sharedPropertyDefinition.set===noop){sharedPropertyDefinition.set=function(){warn(("Computed property \""+key+"\" was assigned to but it has no setter."),this);};}
Object.defineProperty(target,key,sharedPropertyDefinition);}
function createComputedGetter(key){return function computedGetter(){var watcher=this._computedWatchers&&this._computedWatchers[key];if(watcher){if(watcher.dirty){watcher.evaluate();}
if(Dep.target){watcher.depend();}
return watcher.value}}}
function createGetterInvoker(fn){return function computedGetter(){return fn.call(this,this)}}
function initMethods(vm,methods){var props=vm.$options.props;for(var key in methods){{if(typeof methods[key]!=='function'){warn("Method \""+key+"\" has type \""+(typeof methods[key])+"\" in the component definition. "+"Did you reference the function correctly?",vm);}
if(props&&hasOwn(props,key)){warn(("Method \""+key+"\" has already been defined as a prop."),vm);}
if((key in vm)&&isReserved(key)){warn("Method \""+key+"\" conflicts with an existing Vue instance method. "+"Avoid defining component methods that start with _ or $.");}}
vm[key]=typeof methods[key]!=='function'?noop:bind(methods[key],vm);}}
function initWatch(vm,watch){for(var key in watch){var handler=watch[key];if(Array.isArray(handler)){for(var i=0;i<handler.length;i++){createWatcher(vm,key,handler[i]);}}else{createWatcher(vm,key,handler);}}}
function createWatcher(vm,expOrFn,handler,options){if(isPlainObject(handler)){options=handler;handler=handler.handler;}
if(typeof handler==='string'){handler=vm[handler];}
return vm.$watch(expOrFn,handler,options)}
function stateMixin(Vue){var dataDef={};dataDef.get=function(){return this._data};var propsDef={};propsDef.get=function(){return this._props};{dataDef.set=function(){warn('Avoid replacing instance root $data. '+'Use nested data properties instead.',this);};propsDef.set=function(){warn("$props is readonly.",this);};}
Object.defineProperty(Vue.prototype,'$data',dataDef);Object.defineProperty(Vue.prototype,'$props',propsDef);Vue.prototype.$set=set;Vue.prototype.$delete=del;Vue.prototype.$watch=function(expOrFn,cb,options){var vm=this;if(isPlainObject(cb)){return createWatcher(vm,expOrFn,cb,options)}
options=options||{};options.user=true;var watcher=new Watcher(vm,expOrFn,cb,options);if(options.immediate){try{cb.call(vm,watcher.value);}catch(error){handleError(error,vm,("callback for immediate watcher \""+(watcher.expression)+"\""));}}
return function unwatchFn(){watcher.teardown();}};}
var uid$3=0;function initMixin(Vue){Vue.prototype._init=function(options){var vm=this;vm._uid=uid$3++;var startTag,endTag;if(config.performance&&mark){startTag="vue-perf-start:"+(vm._uid);endTag="vue-perf-end:"+(vm._uid);mark(startTag);}
vm._isVue=true;if(options&&options._isComponent){initInternalComponent(vm,options);}else{vm.$options=mergeOptions(resolveConstructorOptions(vm.constructor),options||{},vm);}
{initProxy(vm);}
vm._self=vm;initLifecycle(vm);initEvents(vm);initRender(vm);callHook(vm,'beforeCreate');initInjections(vm);initState(vm);initProvide(vm);callHook(vm,'created');if(config.performance&&mark){vm._name=formatComponentName(vm,false);mark(endTag);measure(("vue "+(vm._name)+" init"),startTag,endTag);}
if(vm.$options.el){vm.$mount(vm.$options.el);}};}
function initInternalComponent(vm,options){var opts=vm.$options=Object.create(vm.constructor.options);var parentVnode=options._parentVnode;opts.parent=options.parent;opts._parentVnode=parentVnode;var vnodeComponentOptions=parentVnode.componentOptions;opts.propsData=vnodeComponentOptions.propsData;opts._parentListeners=vnodeComponentOptions.listeners;opts._renderChildren=vnodeComponentOptions.children;opts._componentTag=vnodeComponentOptions.tag;if(options.render){opts.render=options.render;opts.staticRenderFns=options.staticRenderFns;}}
function resolveConstructorOptions(Ctor){var options=Ctor.options;if(Ctor.super){var superOptions=resolveConstructorOptions(Ctor.super);var cachedSuperOptions=Ctor.superOptions;if(superOptions!==cachedSuperOptions){Ctor.superOptions=superOptions;var modifiedOptions=resolveModifiedOptions(Ctor);if(modifiedOptions){extend(Ctor.extendOptions,modifiedOptions);}
options=Ctor.options=mergeOptions(superOptions,Ctor.extendOptions);if(options.name){options.components[options.name]=Ctor;}}}
return options}
function resolveModifiedOptions(Ctor){var modified;var latest=Ctor.options;var sealed=Ctor.sealedOptions;for(var key in latest){if(latest[key]!==sealed[key]){if(!modified){modified={};}
modified[key]=latest[key];}}
return modified}
function Vue(options){if(!(this instanceof Vue)){warn('Vue is a constructor and should be called with the `new` keyword');}
this._init(options);}
initMixin(Vue);stateMixin(Vue);eventsMixin(Vue);lifecycleMixin(Vue);renderMixin(Vue);function initUse(Vue){Vue.use=function(plugin){var installedPlugins=(this._installedPlugins||(this._installedPlugins=[]));if(installedPlugins.indexOf(plugin)>-1){return this}
var args=toArray(arguments,1);args.unshift(this);if(typeof plugin.install==='function'){plugin.install.apply(plugin,args);}else if(typeof plugin==='function'){plugin.apply(null,args);}
installedPlugins.push(plugin);return this};}
function initMixin$1(Vue){Vue.mixin=function(mixin){this.options=mergeOptions(this.options,mixin);return this};}
function initExtend(Vue){Vue.cid=0;var cid=1;Vue.extend=function(extendOptions){extendOptions=extendOptions||{};var Super=this;var SuperId=Super.cid;var cachedCtors=extendOptions._Ctor||(extendOptions._Ctor={});if(cachedCtors[SuperId]){return cachedCtors[SuperId]}
var name=extendOptions.name||Super.options.name;if(name){validateComponentName(name);}
var Sub=function VueComponent(options){this._init(options);};Sub.prototype=Object.create(Super.prototype);Sub.prototype.constructor=Sub;Sub.cid=cid++;Sub.options=mergeOptions(Super.options,extendOptions);Sub['super']=Super;if(Sub.options.props){initProps$1(Sub);}
if(Sub.options.computed){initComputed$1(Sub);}
Sub.extend=Super.extend;Sub.mixin=Super.mixin;Sub.use=Super.use;ASSET_TYPES.forEach(function(type){Sub[type]=Super[type];});if(name){Sub.options.components[name]=Sub;}
Sub.superOptions=Super.options;Sub.extendOptions=extendOptions;Sub.sealedOptions=extend({},Sub.options);cachedCtors[SuperId]=Sub;return Sub};}
function initProps$1(Comp){var props=Comp.options.props;for(var key in props){proxy(Comp.prototype,"_props",key);}}
function initComputed$1(Comp){var computed=Comp.options.computed;for(var key in computed){defineComputed(Comp.prototype,key,computed[key]);}}
function initAssetRegisters(Vue){ASSET_TYPES.forEach(function(type){Vue[type]=function(id,definition){if(!definition){return this.options[type+'s'][id]}else{if(type==='component'){validateComponentName(id);}
if(type==='component'&&isPlainObject(definition)){definition.name=definition.name||id;definition=this.options._base.extend(definition);}
if(type==='directive'&&typeof definition==='function'){definition={bind:definition,update:definition};}
this.options[type+'s'][id]=definition;return definition}};});}
function getComponentName(opts){return opts&&(opts.Ctor.options.name||opts.tag)}
function matches(pattern,name){if(Array.isArray(pattern)){return pattern.indexOf(name)>-1}else if(typeof pattern==='string'){return pattern.split(',').indexOf(name)>-1}else if(isRegExp(pattern)){return pattern.test(name)}
return false}
function pruneCache(keepAliveInstance,filter){var cache=keepAliveInstance.cache;var keys=keepAliveInstance.keys;var _vnode=keepAliveInstance._vnode;for(var key in cache){var cachedNode=cache[key];if(cachedNode){var name=getComponentName(cachedNode.componentOptions);if(name&&!filter(name)){pruneCacheEntry(cache,key,keys,_vnode);}}}}
function pruneCacheEntry(cache,key,keys,current){var cached$$1=cache[key];if(cached$$1&&(!current||cached$$1.tag!==current.tag)){cached$$1.componentInstance.$destroy();}
cache[key]=null;remove(keys,key);}
var patternTypes=[String,RegExp,Array];var KeepAlive={name:'keep-alive',abstract:true,props:{include:patternTypes,exclude:patternTypes,max:[String,Number]},created:function created(){this.cache=Object.create(null);this.keys=[];},destroyed:function destroyed(){for(var key in this.cache){pruneCacheEntry(this.cache,key,this.keys);}},mounted:function mounted(){var this$1=this;this.$watch('include',function(val){pruneCache(this$1,function(name){return matches(val,name);});});this.$watch('exclude',function(val){pruneCache(this$1,function(name){return!matches(val,name);});});},render:function render(){var slot=this.$slots.default;var vnode=getFirstComponentChild(slot);var componentOptions=vnode&&vnode.componentOptions;if(componentOptions){var name=getComponentName(componentOptions);var ref=this;var include=ref.include;var exclude=ref.exclude;if((include&&(!name||!matches(include,name)))||(exclude&&name&&matches(exclude,name))){return vnode}
var ref$1=this;var cache=ref$1.cache;var keys=ref$1.keys;var key=vnode.key==null?componentOptions.Ctor.cid+(componentOptions.tag?("::"+(componentOptions.tag)):''):vnode.key;if(cache[key]){vnode.componentInstance=cache[key].componentInstance;remove(keys,key);keys.push(key);}else{cache[key]=vnode;keys.push(key);if(this.max&&keys.length>parseInt(this.max)){pruneCacheEntry(cache,keys[0],keys,this._vnode);}}
vnode.data.keepAlive=true;}
return vnode||(slot&&slot[0])}};var builtInComponents={KeepAlive:KeepAlive};function initGlobalAPI(Vue){var configDef={};configDef.get=function(){return config;};{configDef.set=function(){warn('Do not replace the Vue.config object, set individual fields instead.');};}
Object.defineProperty(Vue,'config',configDef);Vue.util={warn:warn,extend:extend,mergeOptions:mergeOptions,defineReactive:defineReactive$$1};Vue.set=set;Vue.delete=del;Vue.nextTick=nextTick;Vue.observable=function(obj){observe(obj);return obj};Vue.options=Object.create(null);ASSET_TYPES.forEach(function(type){Vue.options[type+'s']=Object.create(null);});Vue.options._base=Vue;extend(Vue.options.components,builtInComponents);initUse(Vue);initMixin$1(Vue);initExtend(Vue);initAssetRegisters(Vue);}
initGlobalAPI(Vue);Object.defineProperty(Vue.prototype,'$isServer',{get:isServerRendering});Object.defineProperty(Vue.prototype,'$ssrContext',{get:function get(){return this.$vnode&&this.$vnode.ssrContext}});Object.defineProperty(Vue,'FunctionalRenderContext',{value:FunctionalRenderContext});Vue.version='2.6.10';var isReservedAttr=makeMap('style,class');var acceptValue=makeMap('input,textarea,option,select,progress');var mustUseProp=function(tag,type,attr){return((attr==='value'&&acceptValue(tag))&&type!=='button'||(attr==='selected'&&tag==='option')||(attr==='checked'&&tag==='input')||(attr==='muted'&&tag==='video'))};var isEnumeratedAttr=makeMap('contenteditable,draggable,spellcheck');var isValidContentEditableValue=makeMap('events,caret,typing,plaintext-only');var convertEnumeratedValue=function(key,value){return isFalsyAttrValue(value)||value==='false'?'false':key==='contenteditable'&&isValidContentEditableValue(value)?value:'true'};var isBooleanAttr=makeMap('allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,'+'default,defaultchecked,defaultmuted,defaultselected,defer,disabled,'+'enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,'+'muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,'+'required,reversed,scoped,seamless,selected,sortable,translate,'+'truespeed,typemustmatch,visible');var xlinkNS='http://www.w3.org/1999/xlink';var isXlink=function(name){return name.charAt(5)===':'&&name.slice(0,5)==='xlink'};var getXlinkProp=function(name){return isXlink(name)?name.slice(6,name.length):''};var isFalsyAttrValue=function(val){return val==null||val===false};function genClassForVnode(vnode){var data=vnode.data;var parentNode=vnode;var childNode=vnode;while(isDef(childNode.componentInstance)){childNode=childNode.componentInstance._vnode;if(childNode&&childNode.data){data=mergeClassData(childNode.data,data);}}
while(isDef(parentNode=parentNode.parent)){if(parentNode&&parentNode.data){data=mergeClassData(data,parentNode.data);}}
return renderClass(data.staticClass,data.class)}
function mergeClassData(child,parent){return{staticClass:concat(child.staticClass,parent.staticClass),class:isDef(child.class)?[child.class,parent.class]:parent.class}}
function renderClass(staticClass,dynamicClass){if(isDef(staticClass)||isDef(dynamicClass)){return concat(staticClass,stringifyClass(dynamicClass))}
return''}
function concat(a,b){return a?b?(a+' '+b):a:(b||'')}
function stringifyClass(value){if(Array.isArray(value)){return stringifyArray(value)}
if(isObject(value)){return stringifyObject(value)}
if(typeof value==='string'){return value}
return''}
function stringifyArray(value){var res='';var stringified;for(var i=0,l=value.length;i<l;i++){if(isDef(stringified=stringifyClass(value[i]))&&stringified!==''){if(res){res+=' ';}
res+=stringified;}}
return res}
function stringifyObject(value){var res='';for(var key in value){if(value[key]){if(res){res+=' ';}
res+=key;}}
return res}
var namespaceMap={svg:'http://www.w3.org/2000/svg',math:'http://www.w3.org/1998/Math/MathML'};var isHTMLTag=makeMap('html,body,base,head,link,meta,style,title,'+'address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,'+'div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,'+'a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,'+'s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,'+'embed,object,param,source,canvas,script,noscript,del,ins,'+'caption,col,colgroup,table,thead,tbody,td,th,tr,'+'button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,'+'output,progress,select,textarea,'+'details,dialog,menu,menuitem,summary,'+'content,element,shadow,template,blockquote,iframe,tfoot');var isSVG=makeMap('svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,'+'foreignObject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,'+'polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view',true);var isPreTag=function(tag){return tag==='pre';};var isReservedTag=function(tag){return isHTMLTag(tag)||isSVG(tag)};function getTagNamespace(tag){if(isSVG(tag)){return'svg'}
if(tag==='math'){return'math'}}
var unknownElementCache=Object.create(null);function isUnknownElement(tag){if(!inBrowser){return true}
if(isReservedTag(tag)){return false}
tag=tag.toLowerCase();if(unknownElementCache[tag]!=null){return unknownElementCache[tag]}
var el=document.createElement(tag);if(tag.indexOf('-')>-1){return(unknownElementCache[tag]=(el.constructor===window.HTMLUnknownElement||el.constructor===window.HTMLElement))}else{return(unknownElementCache[tag]=/HTMLUnknownElement/.test(el.toString()))}}
var isTextInputType=makeMap('text,number,password,search,email,tel,url');function query(el){if(typeof el==='string'){var selected=document.querySelector(el);if(!selected){warn('Cannot find element: '+el);return document.createElement('div')}
return selected}else{return el}}
function createElement$1(tagName,vnode){var elm=document.createElement(tagName);if(tagName!=='select'){return elm}
if(vnode.data&&vnode.data.attrs&&vnode.data.attrs.multiple!==undefined){elm.setAttribute('multiple','multiple');}
return elm}
function createElementNS(namespace,tagName){return document.createElementNS(namespaceMap[namespace],tagName)}
function createTextNode(text){return document.createTextNode(text)}
function createComment(text){return document.createComment(text)}
function insertBefore(parentNode,newNode,referenceNode){parentNode.insertBefore(newNode,referenceNode);}
function removeChild(node,child){node.removeChild(child);}
function appendChild(node,child){node.appendChild(child);}
function parentNode(node){return node.parentNode}
function nextSibling(node){return node.nextSibling}
function tagName(node){return node.tagName}
function setTextContent(node,text){node.textContent=text;}
function setStyleScope(node,scopeId){node.setAttribute(scopeId,'');}
var nodeOps=Object.freeze({createElement:createElement$1,createElementNS:createElementNS,createTextNode:createTextNode,createComment:createComment,insertBefore:insertBefore,removeChild:removeChild,appendChild:appendChild,parentNode:parentNode,nextSibling:nextSibling,tagName:tagName,setTextContent:setTextContent,setStyleScope:setStyleScope});var ref={create:function create(_,vnode){registerRef(vnode);},update:function update(oldVnode,vnode){if(oldVnode.data.ref!==vnode.data.ref){registerRef(oldVnode,true);registerRef(vnode);}},destroy:function destroy(vnode){registerRef(vnode,true);}};function registerRef(vnode,isRemoval){var key=vnode.data.ref;if(!isDef(key)){return}
var vm=vnode.context;var ref=vnode.componentInstance||vnode.elm;var refs=vm.$refs;if(isRemoval){if(Array.isArray(refs[key])){remove(refs[key],ref);}else if(refs[key]===ref){refs[key]=undefined;}}else{if(vnode.data.refInFor){if(!Array.isArray(refs[key])){refs[key]=[ref];}else if(refs[key].indexOf(ref)<0){refs[key].push(ref);}}else{refs[key]=ref;}}}
var emptyNode=new VNode('',{},[]);var hooks=['create','activate','update','remove','destroy'];function sameVnode(a,b){return(a.key===b.key&&((a.tag===b.tag&&a.isComment===b.isComment&&isDef(a.data)===isDef(b.data)&&sameInputType(a,b))||(isTrue(a.isAsyncPlaceholder)&&a.asyncFactory===b.asyncFactory&&isUndef(b.asyncFactory.error))))}
function sameInputType(a,b){if(a.tag!=='input'){return true}
var i;var typeA=isDef(i=a.data)&&isDef(i=i.attrs)&&i.type;var typeB=isDef(i=b.data)&&isDef(i=i.attrs)&&i.type;return typeA===typeB||isTextInputType(typeA)&&isTextInputType(typeB)}
function createKeyToOldIdx(children,beginIdx,endIdx){var i,key;var map={};for(i=beginIdx;i<=endIdx;++i){key=children[i].key;if(isDef(key)){map[key]=i;}}
return map}
function createPatchFunction(backend){var i,j;var cbs={};var modules=backend.modules;var nodeOps=backend.nodeOps;for(i=0;i<hooks.length;++i){cbs[hooks[i]]=[];for(j=0;j<modules.length;++j){if(isDef(modules[j][hooks[i]])){cbs[hooks[i]].push(modules[j][hooks[i]]);}}}
function emptyNodeAt(elm){return new VNode(nodeOps.tagName(elm).toLowerCase(),{},[],undefined,elm)}
function createRmCb(childElm,listeners){function remove$$1(){if(--remove$$1.listeners===0){removeNode(childElm);}}
remove$$1.listeners=listeners;return remove$$1}
function removeNode(el){var parent=nodeOps.parentNode(el);if(isDef(parent)){nodeOps.removeChild(parent,el);}}
function isUnknownElement$$1(vnode,inVPre){return(!inVPre&&!vnode.ns&&!(config.ignoredElements.length&&config.ignoredElements.some(function(ignore){return isRegExp(ignore)?ignore.test(vnode.tag):ignore===vnode.tag}))&&config.isUnknownElement(vnode.tag))}
var creatingElmInVPre=0;function createElm(vnode,insertedVnodeQueue,parentElm,refElm,nested,ownerArray,index){if(isDef(vnode.elm)&&isDef(ownerArray)){vnode=ownerArray[index]=cloneVNode(vnode);}
vnode.isRootInsert=!nested;if(createComponent(vnode,insertedVnodeQueue,parentElm,refElm)){return}
var data=vnode.data;var children=vnode.children;var tag=vnode.tag;if(isDef(tag)){{if(data&&data.pre){creatingElmInVPre++;}
if(isUnknownElement$$1(vnode,creatingElmInVPre)){warn('Unknown custom element: <'+tag+'> - did you '+'register the component correctly? For recursive components, '+'make sure to provide the "name" option.',vnode.context);}}
vnode.elm=vnode.ns?nodeOps.createElementNS(vnode.ns,tag):nodeOps.createElement(tag,vnode);setScope(vnode);{createChildren(vnode,children,insertedVnodeQueue);if(isDef(data)){invokeCreateHooks(vnode,insertedVnodeQueue);}
insert(parentElm,vnode.elm,refElm);}
if(data&&data.pre){creatingElmInVPre--;}}else if(isTrue(vnode.isComment)){vnode.elm=nodeOps.createComment(vnode.text);insert(parentElm,vnode.elm,refElm);}else{vnode.elm=nodeOps.createTextNode(vnode.text);insert(parentElm,vnode.elm,refElm);}}
function createComponent(vnode,insertedVnodeQueue,parentElm,refElm){var i=vnode.data;if(isDef(i)){var isReactivated=isDef(vnode.componentInstance)&&i.keepAlive;if(isDef(i=i.hook)&&isDef(i=i.init)){i(vnode,false);}
if(isDef(vnode.componentInstance)){initComponent(vnode,insertedVnodeQueue);insert(parentElm,vnode.elm,refElm);if(isTrue(isReactivated)){reactivateComponent(vnode,insertedVnodeQueue,parentElm,refElm);}
return true}}}
function initComponent(vnode,insertedVnodeQueue){if(isDef(vnode.data.pendingInsert)){insertedVnodeQueue.push.apply(insertedVnodeQueue,vnode.data.pendingInsert);vnode.data.pendingInsert=null;}
vnode.elm=vnode.componentInstance.$el;if(isPatchable(vnode)){invokeCreateHooks(vnode,insertedVnodeQueue);setScope(vnode);}else{registerRef(vnode);insertedVnodeQueue.push(vnode);}}
function reactivateComponent(vnode,insertedVnodeQueue,parentElm,refElm){var i;var innerNode=vnode;while(innerNode.componentInstance){innerNode=innerNode.componentInstance._vnode;if(isDef(i=innerNode.data)&&isDef(i=i.transition)){for(i=0;i<cbs.activate.length;++i){cbs.activate[i](emptyNode,innerNode);}
insertedVnodeQueue.push(innerNode);break}}
insert(parentElm,vnode.elm,refElm);}
function insert(parent,elm,ref$$1){if(isDef(parent)){if(isDef(ref$$1)){if(nodeOps.parentNode(ref$$1)===parent){nodeOps.insertBefore(parent,elm,ref$$1);}}else{nodeOps.appendChild(parent,elm);}}}
function createChildren(vnode,children,insertedVnodeQueue){if(Array.isArray(children)){{checkDuplicateKeys(children);}
for(var i=0;i<children.length;++i){createElm(children[i],insertedVnodeQueue,vnode.elm,null,true,children,i);}}else if(isPrimitive(vnode.text)){nodeOps.appendChild(vnode.elm,nodeOps.createTextNode(String(vnode.text)));}}
function isPatchable(vnode){while(vnode.componentInstance){vnode=vnode.componentInstance._vnode;}
return isDef(vnode.tag)}
function invokeCreateHooks(vnode,insertedVnodeQueue){for(var i$1=0;i$1<cbs.create.length;++i$1){cbs.create[i$1](emptyNode,vnode);}
i=vnode.data.hook;if(isDef(i)){if(isDef(i.create)){i.create(emptyNode,vnode);}
if(isDef(i.insert)){insertedVnodeQueue.push(vnode);}}}
function setScope(vnode){var i;if(isDef(i=vnode.fnScopeId)){nodeOps.setStyleScope(vnode.elm,i);}else{var ancestor=vnode;while(ancestor){if(isDef(i=ancestor.context)&&isDef(i=i.$options._scopeId)){nodeOps.setStyleScope(vnode.elm,i);}
ancestor=ancestor.parent;}}
if(isDef(i=activeInstance)&&i!==vnode.context&&i!==vnode.fnContext&&isDef(i=i.$options._scopeId)){nodeOps.setStyleScope(vnode.elm,i);}}
function addVnodes(parentElm,refElm,vnodes,startIdx,endIdx,insertedVnodeQueue){for(;startIdx<=endIdx;++startIdx){createElm(vnodes[startIdx],insertedVnodeQueue,parentElm,refElm,false,vnodes,startIdx);}}
function invokeDestroyHook(vnode){var i,j;var data=vnode.data;if(isDef(data)){if(isDef(i=data.hook)&&isDef(i=i.destroy)){i(vnode);}
for(i=0;i<cbs.destroy.length;++i){cbs.destroy[i](vnode);}}
if(isDef(i=vnode.children)){for(j=0;j<vnode.children.length;++j){invokeDestroyHook(vnode.children[j]);}}}
function removeVnodes(parentElm,vnodes,startIdx,endIdx){for(;startIdx<=endIdx;++startIdx){var ch=vnodes[startIdx];if(isDef(ch)){if(isDef(ch.tag)){removeAndInvokeRemoveHook(ch);invokeDestroyHook(ch);}else{removeNode(ch.elm);}}}}
function removeAndInvokeRemoveHook(vnode,rm){if(isDef(rm)||isDef(vnode.data)){var i;var listeners=cbs.remove.length+1;if(isDef(rm)){rm.listeners+=listeners;}else{rm=createRmCb(vnode.elm,listeners);}
if(isDef(i=vnode.componentInstance)&&isDef(i=i._vnode)&&isDef(i.data)){removeAndInvokeRemoveHook(i,rm);}
for(i=0;i<cbs.remove.length;++i){cbs.remove[i](vnode,rm);}
if(isDef(i=vnode.data.hook)&&isDef(i=i.remove)){i(vnode,rm);}else{rm();}}else{removeNode(vnode.elm);}}
function updateChildren(parentElm,oldCh,newCh,insertedVnodeQueue,removeOnly){var oldStartIdx=0;var newStartIdx=0;var oldEndIdx=oldCh.length-1;var oldStartVnode=oldCh[0];var oldEndVnode=oldCh[oldEndIdx];var newEndIdx=newCh.length-1;var newStartVnode=newCh[0];var newEndVnode=newCh[newEndIdx];var oldKeyToIdx,idxInOld,vnodeToMove,refElm;var canMove=!removeOnly;{checkDuplicateKeys(newCh);}
while(oldStartIdx<=oldEndIdx&&newStartIdx<=newEndIdx){if(isUndef(oldStartVnode)){oldStartVnode=oldCh[++oldStartIdx];}else if(isUndef(oldEndVnode)){oldEndVnode=oldCh[--oldEndIdx];}else if(sameVnode(oldStartVnode,newStartVnode)){patchVnode(oldStartVnode,newStartVnode,insertedVnodeQueue,newCh,newStartIdx);oldStartVnode=oldCh[++oldStartIdx];newStartVnode=newCh[++newStartIdx];}else if(sameVnode(oldEndVnode,newEndVnode)){patchVnode(oldEndVnode,newEndVnode,insertedVnodeQueue,newCh,newEndIdx);oldEndVnode=oldCh[--oldEndIdx];newEndVnode=newCh[--newEndIdx];}else if(sameVnode(oldStartVnode,newEndVnode)){patchVnode(oldStartVnode,newEndVnode,insertedVnodeQueue,newCh,newEndIdx);canMove&&nodeOps.insertBefore(parentElm,oldStartVnode.elm,nodeOps.nextSibling(oldEndVnode.elm));oldStartVnode=oldCh[++oldStartIdx];newEndVnode=newCh[--newEndIdx];}else if(sameVnode(oldEndVnode,newStartVnode)){patchVnode(oldEndVnode,newStartVnode,insertedVnodeQueue,newCh,newStartIdx);canMove&&nodeOps.insertBefore(parentElm,oldEndVnode.elm,oldStartVnode.elm);oldEndVnode=oldCh[--oldEndIdx];newStartVnode=newCh[++newStartIdx];}else{if(isUndef(oldKeyToIdx)){oldKeyToIdx=createKeyToOldIdx(oldCh,oldStartIdx,oldEndIdx);}
idxInOld=isDef(newStartVnode.key)?oldKeyToIdx[newStartVnode.key]:findIdxInOld(newStartVnode,oldCh,oldStartIdx,oldEndIdx);if(isUndef(idxInOld)){createElm(newStartVnode,insertedVnodeQueue,parentElm,oldStartVnode.elm,false,newCh,newStartIdx);}else{vnodeToMove=oldCh[idxInOld];if(sameVnode(vnodeToMove,newStartVnode)){patchVnode(vnodeToMove,newStartVnode,insertedVnodeQueue,newCh,newStartIdx);oldCh[idxInOld]=undefined;canMove&&nodeOps.insertBefore(parentElm,vnodeToMove.elm,oldStartVnode.elm);}else{createElm(newStartVnode,insertedVnodeQueue,parentElm,oldStartVnode.elm,false,newCh,newStartIdx);}}
newStartVnode=newCh[++newStartIdx];}}
if(oldStartIdx>oldEndIdx){refElm=isUndef(newCh[newEndIdx+1])?null:newCh[newEndIdx+1].elm;addVnodes(parentElm,refElm,newCh,newStartIdx,newEndIdx,insertedVnodeQueue);}else if(newStartIdx>newEndIdx){removeVnodes(parentElm,oldCh,oldStartIdx,oldEndIdx);}}
function checkDuplicateKeys(children){var seenKeys={};for(var i=0;i<children.length;i++){var vnode=children[i];var key=vnode.key;if(isDef(key)){if(seenKeys[key]){warn(("Duplicate keys detected: '"+key+"'. This may cause an update error."),vnode.context);}else{seenKeys[key]=true;}}}}
function findIdxInOld(node,oldCh,start,end){for(var i=start;i<end;i++){var c=oldCh[i];if(isDef(c)&&sameVnode(node,c)){return i}}}
function patchVnode(oldVnode,vnode,insertedVnodeQueue,ownerArray,index,removeOnly){if(oldVnode===vnode){return}
if(isDef(vnode.elm)&&isDef(ownerArray)){vnode=ownerArray[index]=cloneVNode(vnode);}
var elm=vnode.elm=oldVnode.elm;if(isTrue(oldVnode.isAsyncPlaceholder)){if(isDef(vnode.asyncFactory.resolved)){hydrate(oldVnode.elm,vnode,insertedVnodeQueue);}else{vnode.isAsyncPlaceholder=true;}
return}
if(isTrue(vnode.isStatic)&&isTrue(oldVnode.isStatic)&&vnode.key===oldVnode.key&&(isTrue(vnode.isCloned)||isTrue(vnode.isOnce))){vnode.componentInstance=oldVnode.componentInstance;return}
var i;var data=vnode.data;if(isDef(data)&&isDef(i=data.hook)&&isDef(i=i.prepatch)){i(oldVnode,vnode);}
var oldCh=oldVnode.children;var ch=vnode.children;if(isDef(data)&&isPatchable(vnode)){for(i=0;i<cbs.update.length;++i){cbs.update[i](oldVnode,vnode);}
if(isDef(i=data.hook)&&isDef(i=i.update)){i(oldVnode,vnode);}}
if(isUndef(vnode.text)){if(isDef(oldCh)&&isDef(ch)){if(oldCh!==ch){updateChildren(elm,oldCh,ch,insertedVnodeQueue,removeOnly);}}else if(isDef(ch)){{checkDuplicateKeys(ch);}
if(isDef(oldVnode.text)){nodeOps.setTextContent(elm,'');}
addVnodes(elm,null,ch,0,ch.length-1,insertedVnodeQueue);}else if(isDef(oldCh)){removeVnodes(elm,oldCh,0,oldCh.length-1);}else if(isDef(oldVnode.text)){nodeOps.setTextContent(elm,'');}}else if(oldVnode.text!==vnode.text){nodeOps.setTextContent(elm,vnode.text);}
if(isDef(data)){if(isDef(i=data.hook)&&isDef(i=i.postpatch)){i(oldVnode,vnode);}}}
function invokeInsertHook(vnode,queue,initial){if(isTrue(initial)&&isDef(vnode.parent)){vnode.parent.data.pendingInsert=queue;}else{for(var i=0;i<queue.length;++i){queue[i].data.hook.insert(queue[i]);}}}
var hydrationBailed=false;var isRenderedModule=makeMap('attrs,class,staticClass,staticStyle,key');function hydrate(elm,vnode,insertedVnodeQueue,inVPre){var i;var tag=vnode.tag;var data=vnode.data;var children=vnode.children;inVPre=inVPre||(data&&data.pre);vnode.elm=elm;if(isTrue(vnode.isComment)&&isDef(vnode.asyncFactory)){vnode.isAsyncPlaceholder=true;return true}
{if(!assertNodeMatch(elm,vnode,inVPre)){return false}}
if(isDef(data)){if(isDef(i=data.hook)&&isDef(i=i.init)){i(vnode,true);}
if(isDef(i=vnode.componentInstance)){initComponent(vnode,insertedVnodeQueue);return true}}
if(isDef(tag)){if(isDef(children)){if(!elm.hasChildNodes()){createChildren(vnode,children,insertedVnodeQueue);}else{if(isDef(i=data)&&isDef(i=i.domProps)&&isDef(i=i.innerHTML)){if(i!==elm.innerHTML){if(typeof console!=='undefined'&&!hydrationBailed){hydrationBailed=true;console.warn('Parent: ',elm);console.warn('server innerHTML: ',i);console.warn('client innerHTML: ',elm.innerHTML);}
return false}}else{var childrenMatch=true;var childNode=elm.firstChild;for(var i$1=0;i$1<children.length;i$1++){if(!childNode||!hydrate(childNode,children[i$1],insertedVnodeQueue,inVPre)){childrenMatch=false;break}
childNode=childNode.nextSibling;}
if(!childrenMatch||childNode){if(typeof console!=='undefined'&&!hydrationBailed){hydrationBailed=true;console.warn('Parent: ',elm);console.warn('Mismatching childNodes vs. VNodes: ',elm.childNodes,children);}
return false}}}}
if(isDef(data)){var fullInvoke=false;for(var key in data){if(!isRenderedModule(key)){fullInvoke=true;invokeCreateHooks(vnode,insertedVnodeQueue);break}}
if(!fullInvoke&&data['class']){traverse(data['class']);}}}else if(elm.data!==vnode.text){elm.data=vnode.text;}
return true}
function assertNodeMatch(node,vnode,inVPre){if(isDef(vnode.tag)){return vnode.tag.indexOf('vue-component')===0||(!isUnknownElement$$1(vnode,inVPre)&&vnode.tag.toLowerCase()===(node.tagName&&node.tagName.toLowerCase()))}else{return node.nodeType===(vnode.isComment?8:3)}}
return function patch(oldVnode,vnode,hydrating,removeOnly){if(isUndef(vnode)){if(isDef(oldVnode)){invokeDestroyHook(oldVnode);}
return}
var isInitialPatch=false;var insertedVnodeQueue=[];if(isUndef(oldVnode)){isInitialPatch=true;createElm(vnode,insertedVnodeQueue);}else{var isRealElement=isDef(oldVnode.nodeType);if(!isRealElement&&sameVnode(oldVnode,vnode)){patchVnode(oldVnode,vnode,insertedVnodeQueue,null,null,removeOnly);}else{if(isRealElement){if(oldVnode.nodeType===1&&oldVnode.hasAttribute(SSR_ATTR)){oldVnode.removeAttribute(SSR_ATTR);hydrating=true;}
if(isTrue(hydrating)){if(hydrate(oldVnode,vnode,insertedVnodeQueue)){invokeInsertHook(vnode,insertedVnodeQueue,true);return oldVnode}else{warn('The client-side rendered virtual DOM tree is not matching '+'server-rendered content. This is likely caused by incorrect '+'HTML markup, for example nesting block-level elements inside '+'<p>, or missing <tbody>. Bailing hydration and performing '+'full client-side render.');}}
oldVnode=emptyNodeAt(oldVnode);}
var oldElm=oldVnode.elm;var parentElm=nodeOps.parentNode(oldElm);createElm(vnode,insertedVnodeQueue,oldElm._leaveCb?null:parentElm,nodeOps.nextSibling(oldElm));if(isDef(vnode.parent)){var ancestor=vnode.parent;var patchable=isPatchable(vnode);while(ancestor){for(var i=0;i<cbs.destroy.length;++i){cbs.destroy[i](ancestor);}
ancestor.elm=vnode.elm;if(patchable){for(var i$1=0;i$1<cbs.create.length;++i$1){cbs.create[i$1](emptyNode,ancestor);}
var insert=ancestor.data.hook.insert;if(insert.merged){for(var i$2=1;i$2<insert.fns.length;i$2++){insert.fns[i$2]();}}}else{registerRef(ancestor);}
ancestor=ancestor.parent;}}
if(isDef(parentElm)){removeVnodes(parentElm,[oldVnode],0,0);}else if(isDef(oldVnode.tag)){invokeDestroyHook(oldVnode);}}}
invokeInsertHook(vnode,insertedVnodeQueue,isInitialPatch);return vnode.elm}}
var directives={create:updateDirectives,update:updateDirectives,destroy:function unbindDirectives(vnode){updateDirectives(vnode,emptyNode);}};function updateDirectives(oldVnode,vnode){if(oldVnode.data.directives||vnode.data.directives){_update(oldVnode,vnode);}}
function _update(oldVnode,vnode){var isCreate=oldVnode===emptyNode;var isDestroy=vnode===emptyNode;var oldDirs=normalizeDirectives$1(oldVnode.data.directives,oldVnode.context);var newDirs=normalizeDirectives$1(vnode.data.directives,vnode.context);var dirsWithInsert=[];var dirsWithPostpatch=[];var key,oldDir,dir;for(key in newDirs){oldDir=oldDirs[key];dir=newDirs[key];if(!oldDir){callHook$1(dir,'bind',vnode,oldVnode);if(dir.def&&dir.def.inserted){dirsWithInsert.push(dir);}}else{dir.oldValue=oldDir.value;dir.oldArg=oldDir.arg;callHook$1(dir,'update',vnode,oldVnode);if(dir.def&&dir.def.componentUpdated){dirsWithPostpatch.push(dir);}}}
if(dirsWithInsert.length){var callInsert=function(){for(var i=0;i<dirsWithInsert.length;i++){callHook$1(dirsWithInsert[i],'inserted',vnode,oldVnode);}};if(isCreate){mergeVNodeHook(vnode,'insert',callInsert);}else{callInsert();}}
if(dirsWithPostpatch.length){mergeVNodeHook(vnode,'postpatch',function(){for(var i=0;i<dirsWithPostpatch.length;i++){callHook$1(dirsWithPostpatch[i],'componentUpdated',vnode,oldVnode);}});}
if(!isCreate){for(key in oldDirs){if(!newDirs[key]){callHook$1(oldDirs[key],'unbind',oldVnode,oldVnode,isDestroy);}}}}
var emptyModifiers=Object.create(null);function normalizeDirectives$1(dirs,vm){var res=Object.create(null);if(!dirs){return res}
var i,dir;for(i=0;i<dirs.length;i++){dir=dirs[i];if(!dir.modifiers){dir.modifiers=emptyModifiers;}
res[getRawDirName(dir)]=dir;dir.def=resolveAsset(vm.$options,'directives',dir.name,true);}
return res}
function getRawDirName(dir){return dir.rawName||((dir.name)+"."+(Object.keys(dir.modifiers||{}).join('.')))}
function callHook$1(dir,hook,vnode,oldVnode,isDestroy){var fn=dir.def&&dir.def[hook];if(fn){try{fn(vnode.elm,dir,vnode,oldVnode,isDestroy);}catch(e){handleError(e,vnode.context,("directive "+(dir.name)+" "+hook+" hook"));}}}
var baseModules=[ref,directives];function updateAttrs(oldVnode,vnode){var opts=vnode.componentOptions;if(isDef(opts)&&opts.Ctor.options.inheritAttrs===false){return}
if(isUndef(oldVnode.data.attrs)&&isUndef(vnode.data.attrs)){return}
var key,cur,old;var elm=vnode.elm;var oldAttrs=oldVnode.data.attrs||{};var attrs=vnode.data.attrs||{};if(isDef(attrs.__ob__)){attrs=vnode.data.attrs=extend({},attrs);}
for(key in attrs){cur=attrs[key];old=oldAttrs[key];if(old!==cur){setAttr(elm,key,cur);}}
if((isIE||isEdge)&&attrs.value!==oldAttrs.value){setAttr(elm,'value',attrs.value);}
for(key in oldAttrs){if(isUndef(attrs[key])){if(isXlink(key)){elm.removeAttributeNS(xlinkNS,getXlinkProp(key));}else if(!isEnumeratedAttr(key)){elm.removeAttribute(key);}}}}
function setAttr(el,key,value){if(el.tagName.indexOf('-')>-1){baseSetAttr(el,key,value);}else if(isBooleanAttr(key)){if(isFalsyAttrValue(value)){el.removeAttribute(key);}else{value=key==='allowfullscreen'&&el.tagName==='EMBED'?'true':key;el.setAttribute(key,value);}}else if(isEnumeratedAttr(key)){el.setAttribute(key,convertEnumeratedValue(key,value));}else if(isXlink(key)){if(isFalsyAttrValue(value)){el.removeAttributeNS(xlinkNS,getXlinkProp(key));}else{el.setAttributeNS(xlinkNS,key,value);}}else{baseSetAttr(el,key,value);}}
function baseSetAttr(el,key,value){if(isFalsyAttrValue(value)){el.removeAttribute(key);}else{if(isIE&&!isIE9&&el.tagName==='TEXTAREA'&&key==='placeholder'&&value!==''&&!el.__ieph){var blocker=function(e){e.stopImmediatePropagation();el.removeEventListener('input',blocker);};el.addEventListener('input',blocker);el.__ieph=true;}
el.setAttribute(key,value);}}
var attrs={create:updateAttrs,update:updateAttrs};function updateClass(oldVnode,vnode){var el=vnode.elm;var data=vnode.data;var oldData=oldVnode.data;if(isUndef(data.staticClass)&&isUndef(data.class)&&(isUndef(oldData)||(isUndef(oldData.staticClass)&&isUndef(oldData.class)))){return}
var cls=genClassForVnode(vnode);var transitionClass=el._transitionClasses;if(isDef(transitionClass)){cls=concat(cls,stringifyClass(transitionClass));}
if(cls!==el._prevClass){el.setAttribute('class',cls);el._prevClass=cls;}}
var klass={create:updateClass,update:updateClass};var validDivisionCharRE=/[\w).+\-_$\]]/;function parseFilters(exp){var inSingle=false;var inDouble=false;var inTemplateString=false;var inRegex=false;var curly=0;var square=0;var paren=0;var lastFilterIndex=0;var c,prev,i,expression,filters;for(i=0;i<exp.length;i++){prev=c;c=exp.charCodeAt(i);if(inSingle){if(c===0x27&&prev!==0x5C){inSingle=false;}}else if(inDouble){if(c===0x22&&prev!==0x5C){inDouble=false;}}else if(inTemplateString){if(c===0x60&&prev!==0x5C){inTemplateString=false;}}else if(inRegex){if(c===0x2f&&prev!==0x5C){inRegex=false;}}else if(c===0x7C&&exp.charCodeAt(i+1)!==0x7C&&exp.charCodeAt(i-1)!==0x7C&&!curly&&!square&&!paren){if(expression===undefined){lastFilterIndex=i+1;expression=exp.slice(0,i).trim();}else{pushFilter();}}else{switch(c){case 0x22:inDouble=true;break
case 0x27:inSingle=true;break
case 0x60:inTemplateString=true;break
case 0x28:paren++;break
case 0x29:paren--;break
case 0x5B:square++;break
case 0x5D:square--;break
case 0x7B:curly++;break
case 0x7D:curly--;break}
if(c===0x2f){var j=i-1;var p=(void 0);for(;j>=0;j--){p=exp.charAt(j);if(p!==' '){break}}
if(!p||!validDivisionCharRE.test(p)){inRegex=true;}}}}
if(expression===undefined){expression=exp.slice(0,i).trim();}else if(lastFilterIndex!==0){pushFilter();}
function pushFilter(){(filters||(filters=[])).push(exp.slice(lastFilterIndex,i).trim());lastFilterIndex=i+1;}
if(filters){for(i=0;i<filters.length;i++){expression=wrapFilter(expression,filters[i]);}}
return expression}
function wrapFilter(exp,filter){var i=filter.indexOf('(');if(i<0){return("_f(\""+filter+"\")("+exp+")")}else{var name=filter.slice(0,i);var args=filter.slice(i+1);return("_f(\""+name+"\")("+exp+(args!==')'?','+args:args))}}
function baseWarn(msg,range){console.error(("[Vue compiler]: "+msg));}
function pluckModuleFunction(modules,key){return modules?modules.map(function(m){return m[key];}).filter(function(_){return _;}):[]}
function addProp(el,name,value,range,dynamic){(el.props||(el.props=[])).push(rangeSetItem({name:name,value:value,dynamic:dynamic},range));el.plain=false;}
function addAttr(el,name,value,range,dynamic){var attrs=dynamic?(el.dynamicAttrs||(el.dynamicAttrs=[])):(el.attrs||(el.attrs=[]));attrs.push(rangeSetItem({name:name,value:value,dynamic:dynamic},range));el.plain=false;}
function addRawAttr(el,name,value,range){el.attrsMap[name]=value;el.attrsList.push(rangeSetItem({name:name,value:value},range));}
function addDirective(el,name,rawName,value,arg,isDynamicArg,modifiers,range){(el.directives||(el.directives=[])).push(rangeSetItem({name:name,rawName:rawName,value:value,arg:arg,isDynamicArg:isDynamicArg,modifiers:modifiers},range));el.plain=false;}
function prependModifierMarker(symbol,name,dynamic){return dynamic?("_p("+name+",\""+symbol+"\")"):symbol+name}
function addHandler(el,name,value,modifiers,important,warn,range,dynamic){modifiers=modifiers||emptyObject;if(warn&&modifiers.prevent&&modifiers.passive){warn('passive and prevent can\'t be used together. '+'Passive handler can\'t prevent default event.',range);}
if(modifiers.right){if(dynamic){name="("+name+")==='click'?'contextmenu':("+name+")";}else if(name==='click'){name='contextmenu';delete modifiers.right;}}else if(modifiers.middle){if(dynamic){name="("+name+")==='click'?'mouseup':("+name+")";}else if(name==='click'){name='mouseup';}}
if(modifiers.capture){delete modifiers.capture;name=prependModifierMarker('!',name,dynamic);}
if(modifiers.once){delete modifiers.once;name=prependModifierMarker('~',name,dynamic);}
if(modifiers.passive){delete modifiers.passive;name=prependModifierMarker('&',name,dynamic);}
var events;if(modifiers.native){delete modifiers.native;events=el.nativeEvents||(el.nativeEvents={});}else{events=el.events||(el.events={});}
var newHandler=rangeSetItem({value:value.trim(),dynamic:dynamic},range);if(modifiers!==emptyObject){newHandler.modifiers=modifiers;}
var handlers=events[name];if(Array.isArray(handlers)){important?handlers.unshift(newHandler):handlers.push(newHandler);}else if(handlers){events[name]=important?[newHandler,handlers]:[handlers,newHandler];}else{events[name]=newHandler;}
el.plain=false;}
function getRawBindingAttr(el,name){return el.rawAttrsMap[':'+name]||el.rawAttrsMap['v-bind:'+name]||el.rawAttrsMap[name]}
function getBindingAttr(el,name,getStatic){var dynamicValue=getAndRemoveAttr(el,':'+name)||getAndRemoveAttr(el,'v-bind:'+name);if(dynamicValue!=null){return parseFilters(dynamicValue)}else if(getStatic!==false){var staticValue=getAndRemoveAttr(el,name);if(staticValue!=null){return JSON.stringify(staticValue)}}}
function getAndRemoveAttr(el,name,removeFromMap){var val;if((val=el.attrsMap[name])!=null){var list=el.attrsList;for(var i=0,l=list.length;i<l;i++){if(list[i].name===name){list.splice(i,1);break}}}
if(removeFromMap){delete el.attrsMap[name];}
return val}
function getAndRemoveAttrByRegex(el,name){var list=el.attrsList;for(var i=0,l=list.length;i<l;i++){var attr=list[i];if(name.test(attr.name)){list.splice(i,1);return attr}}}
function rangeSetItem(item,range){if(range){if(range.start!=null){item.start=range.start;}
if(range.end!=null){item.end=range.end;}}
return item}
function genComponentModel(el,value,modifiers){var ref=modifiers||{};var number=ref.number;var trim=ref.trim;var baseValueExpression='$$v';var valueExpression=baseValueExpression;if(trim){valueExpression="(typeof "+baseValueExpression+" === 'string'"+"? "+baseValueExpression+".trim()"+": "+baseValueExpression+")";}
if(number){valueExpression="_n("+valueExpression+")";}
var assignment=genAssignmentCode(value,valueExpression);el.model={value:("("+value+")"),expression:JSON.stringify(value),callback:("function ("+baseValueExpression+") {"+assignment+"}")};}
function genAssignmentCode(value,assignment){var res=parseModel(value);if(res.key===null){return(value+"="+assignment)}else{return("$set("+(res.exp)+", "+(res.key)+", "+assignment+")")}}
var len,str,chr,index$1,expressionPos,expressionEndPos;function parseModel(val){val=val.trim();len=val.length;if(val.indexOf('[')<0||val.lastIndexOf(']')<len-1){index$1=val.lastIndexOf('.');if(index$1>-1){return{exp:val.slice(0,index$1),key:'"'+val.slice(index$1+1)+'"'}}else{return{exp:val,key:null}}}
str=val;index$1=expressionPos=expressionEndPos=0;while(!eof()){chr=next();if(isStringStart(chr)){parseString(chr);}else if(chr===0x5B){parseBracket(chr);}}
return{exp:val.slice(0,expressionPos),key:val.slice(expressionPos+1,expressionEndPos)}}
function next(){return str.charCodeAt(++index$1)}
function eof(){return index$1>=len}
function isStringStart(chr){return chr===0x22||chr===0x27}
function parseBracket(chr){var inBracket=1;expressionPos=index$1;while(!eof()){chr=next();if(isStringStart(chr)){parseString(chr);continue}
if(chr===0x5B){inBracket++;}
if(chr===0x5D){inBracket--;}
if(inBracket===0){expressionEndPos=index$1;break}}}
function parseString(chr){var stringQuote=chr;while(!eof()){chr=next();if(chr===stringQuote){break}}}
var warn$1;var RANGE_TOKEN='__r';var CHECKBOX_RADIO_TOKEN='__c';function model(el,dir,_warn){warn$1=_warn;var value=dir.value;var modifiers=dir.modifiers;var tag=el.tag;var type=el.attrsMap.type;{if(tag==='input'&&type==='file'){warn$1("<"+(el.tag)+" v-model=\""+value+"\" type=\"file\">:\n"+"File inputs are read only. Use a v-on:change listener instead.",el.rawAttrsMap['v-model']);}}
if(el.component){genComponentModel(el,value,modifiers);return false}else if(tag==='select'){genSelect(el,value,modifiers);}else if(tag==='input'&&type==='checkbox'){genCheckboxModel(el,value,modifiers);}else if(tag==='input'&&type==='radio'){genRadioModel(el,value,modifiers);}else if(tag==='input'||tag==='textarea'){genDefaultModel(el,value,modifiers);}else if(!config.isReservedTag(tag)){genComponentModel(el,value,modifiers);return false}else{warn$1("<"+(el.tag)+" v-model=\""+value+"\">: "+"v-model is not supported on this element type. "+'If you are working with contenteditable, it\'s recommended to '+'wrap a library dedicated for that purpose inside a custom component.',el.rawAttrsMap['v-model']);}
return true}
function genCheckboxModel(el,value,modifiers){var number=modifiers&&modifiers.number;var valueBinding=getBindingAttr(el,'value')||'null';var trueValueBinding=getBindingAttr(el,'true-value')||'true';var falseValueBinding=getBindingAttr(el,'false-value')||'false';addProp(el,'checked',"Array.isArray("+value+")"+"?_i("+value+","+valueBinding+")>-1"+(trueValueBinding==='true'?(":("+value+")"):(":_q("+value+","+trueValueBinding+")")));addHandler(el,'change',"var $$a="+value+","+'$$el=$event.target,'+"$$c=$$el.checked?("+trueValueBinding+"):("+falseValueBinding+");"+'if(Array.isArray($$a)){'+"var $$v="+(number?'_n('+valueBinding+')':valueBinding)+","+'$$i=_i($$a,$$v);'+"if($$el.checked){$$i<0&&("+(genAssignmentCode(value,'$$a.concat([$$v])'))+")}"+"else{$$i>-1&&("+(genAssignmentCode(value,'$$a.slice(0,$$i).concat($$a.slice($$i+1))'))+")}"+"}else{"+(genAssignmentCode(value,'$$c'))+"}",null,true);}
function genRadioModel(el,value,modifiers){var number=modifiers&&modifiers.number;var valueBinding=getBindingAttr(el,'value')||'null';valueBinding=number?("_n("+valueBinding+")"):valueBinding;addProp(el,'checked',("_q("+value+","+valueBinding+")"));addHandler(el,'change',genAssignmentCode(value,valueBinding),null,true);}
function genSelect(el,value,modifiers){var number=modifiers&&modifiers.number;var selectedVal="Array.prototype.filter"+".call($event.target.options,function(o){return o.selected})"+".map(function(o){var val = \"_value\" in o ? o._value : o.value;"+"return "+(number?'_n(val)':'val')+"})";var assignment='$event.target.multiple ? $$selectedVal : $$selectedVal[0]';var code="var $$selectedVal = "+selectedVal+";";code=code+" "+(genAssignmentCode(value,assignment));addHandler(el,'change',code,null,true);}
function genDefaultModel(el,value,modifiers){var type=el.attrsMap.type;{var value$1=el.attrsMap['v-bind:value']||el.attrsMap[':value'];var typeBinding=el.attrsMap['v-bind:type']||el.attrsMap[':type'];if(value$1&&!typeBinding){var binding=el.attrsMap['v-bind:value']?'v-bind:value':':value';warn$1(binding+"=\""+value$1+"\" conflicts with v-model on the same element "+'because the latter already expands to a value binding internally',el.rawAttrsMap[binding]);}}
var ref=modifiers||{};var lazy=ref.lazy;var number=ref.number;var trim=ref.trim;var needCompositionGuard=!lazy&&type!=='range';var event=lazy?'change':type==='range'?RANGE_TOKEN:'input';var valueExpression='$event.target.value';if(trim){valueExpression="$event.target.value.trim()";}
if(number){valueExpression="_n("+valueExpression+")";}
var code=genAssignmentCode(value,valueExpression);if(needCompositionGuard){code="if($event.target.composing)return;"+code;}
addProp(el,'value',("("+value+")"));addHandler(el,event,code,null,true);if(trim||number){addHandler(el,'blur','$forceUpdate()');}}
function normalizeEvents(on){if(isDef(on[RANGE_TOKEN])){var event=isIE?'change':'input';on[event]=[].concat(on[RANGE_TOKEN],on[event]||[]);delete on[RANGE_TOKEN];}
if(isDef(on[CHECKBOX_RADIO_TOKEN])){on.change=[].concat(on[CHECKBOX_RADIO_TOKEN],on.change||[]);delete on[CHECKBOX_RADIO_TOKEN];}}
var target$1;function createOnceHandler$1(event,handler,capture){var _target=target$1;return function onceHandler(){var res=handler.apply(null,arguments);if(res!==null){remove$2(event,onceHandler,capture,_target);}}}
var useMicrotaskFix=isUsingMicroTask&&!(isFF&&Number(isFF[1])<=53);function add$1(name,handler,capture,passive){if(useMicrotaskFix){var attachedTimestamp=currentFlushTimestamp;var original=handler;handler=original._wrapper=function(e){if(e.target===e.currentTarget||e.timeStamp>=attachedTimestamp||e.timeStamp<=0||e.target.ownerDocument!==document){return original.apply(this,arguments)}};}
target$1.addEventListener(name,handler,supportsPassive?{capture:capture,passive:passive}:capture);}
function remove$2(name,handler,capture,_target){(_target||target$1).removeEventListener(name,handler._wrapper||handler,capture);}
function updateDOMListeners(oldVnode,vnode){if(isUndef(oldVnode.data.on)&&isUndef(vnode.data.on)){return}
var on=vnode.data.on||{};var oldOn=oldVnode.data.on||{};target$1=vnode.elm;normalizeEvents(on);updateListeners(on,oldOn,add$1,remove$2,createOnceHandler$1,vnode.context);target$1=undefined;}
var events={create:updateDOMListeners,update:updateDOMListeners};var svgContainer;function updateDOMProps(oldVnode,vnode){if(isUndef(oldVnode.data.domProps)&&isUndef(vnode.data.domProps)){return}
var key,cur;var elm=vnode.elm;var oldProps=oldVnode.data.domProps||{};var props=vnode.data.domProps||{};if(isDef(props.__ob__)){props=vnode.data.domProps=extend({},props);}
for(key in oldProps){if(!(key in props)){elm[key]='';}}
for(key in props){cur=props[key];if(key==='textContent'||key==='innerHTML'){if(vnode.children){vnode.children.length=0;}
if(cur===oldProps[key]){continue}
if(elm.childNodes.length===1){elm.removeChild(elm.childNodes[0]);}}
if(key==='value'&&elm.tagName!=='PROGRESS'){elm._value=cur;var strCur=isUndef(cur)?'':String(cur);if(shouldUpdateValue(elm,strCur)){elm.value=strCur;}}else if(key==='innerHTML'&&isSVG(elm.tagName)&&isUndef(elm.innerHTML)){svgContainer=svgContainer||document.createElement('div');svgContainer.innerHTML="<svg>"+cur+"</svg>";var svg=svgContainer.firstChild;while(elm.firstChild){elm.removeChild(elm.firstChild);}
while(svg.firstChild){elm.appendChild(svg.firstChild);}}else if(cur!==oldProps[key]){try{elm[key]=cur;}catch(e){}}}}
function shouldUpdateValue(elm,checkVal){return(!elm.composing&&(elm.tagName==='OPTION'||isNotInFocusAndDirty(elm,checkVal)||isDirtyWithModifiers(elm,checkVal)))}
function isNotInFocusAndDirty(elm,checkVal){var notInFocus=true;try{notInFocus=document.activeElement!==elm;}catch(e){}
return notInFocus&&elm.value!==checkVal}
function isDirtyWithModifiers(elm,newVal){var value=elm.value;var modifiers=elm._vModifiers;if(isDef(modifiers)){if(modifiers.number){return toNumber(value)!==toNumber(newVal)}
if(modifiers.trim){return value.trim()!==newVal.trim()}}
return value!==newVal}
var domProps={create:updateDOMProps,update:updateDOMProps};var parseStyleText=cached(function(cssText){var res={};var listDelimiter=/;(?![^(]*\))/g;var propertyDelimiter=/:(.+)/;cssText.split(listDelimiter).forEach(function(item){if(item){var tmp=item.split(propertyDelimiter);tmp.length>1&&(res[tmp[0].trim()]=tmp[1].trim());}});return res});function normalizeStyleData(data){var style=normalizeStyleBinding(data.style);return data.staticStyle?extend(data.staticStyle,style):style}
function normalizeStyleBinding(bindingStyle){if(Array.isArray(bindingStyle)){return toObject(bindingStyle)}
if(typeof bindingStyle==='string'){return parseStyleText(bindingStyle)}
return bindingStyle}
function getStyle(vnode,checkChild){var res={};var styleData;if(checkChild){var childNode=vnode;while(childNode.componentInstance){childNode=childNode.componentInstance._vnode;if(childNode&&childNode.data&&(styleData=normalizeStyleData(childNode.data))){extend(res,styleData);}}}
if((styleData=normalizeStyleData(vnode.data))){extend(res,styleData);}
var parentNode=vnode;while((parentNode=parentNode.parent)){if(parentNode.data&&(styleData=normalizeStyleData(parentNode.data))){extend(res,styleData);}}
return res}
var cssVarRE=/^--/;var importantRE=/\s*!important$/;var setProp=function(el,name,val){if(cssVarRE.test(name)){el.style.setProperty(name,val);}else if(importantRE.test(val)){el.style.setProperty(hyphenate(name),val.replace(importantRE,''),'important');}else{var normalizedName=normalize(name);if(Array.isArray(val)){for(var i=0,len=val.length;i<len;i++){el.style[normalizedName]=val[i];}}else{el.style[normalizedName]=val;}}};var vendorNames=['Webkit','Moz','ms'];var emptyStyle;var normalize=cached(function(prop){emptyStyle=emptyStyle||document.createElement('div').style;prop=camelize(prop);if(prop!=='filter'&&(prop in emptyStyle)){return prop}
var capName=prop.charAt(0).toUpperCase()+prop.slice(1);for(var i=0;i<vendorNames.length;i++){var name=vendorNames[i]+capName;if(name in emptyStyle){return name}}});function updateStyle(oldVnode,vnode){var data=vnode.data;var oldData=oldVnode.data;if(isUndef(data.staticStyle)&&isUndef(data.style)&&isUndef(oldData.staticStyle)&&isUndef(oldData.style)){return}
var cur,name;var el=vnode.elm;var oldStaticStyle=oldData.staticStyle;var oldStyleBinding=oldData.normalizedStyle||oldData.style||{};var oldStyle=oldStaticStyle||oldStyleBinding;var style=normalizeStyleBinding(vnode.data.style)||{};vnode.data.normalizedStyle=isDef(style.__ob__)?extend({},style):style;var newStyle=getStyle(vnode,true);for(name in oldStyle){if(isUndef(newStyle[name])){setProp(el,name,'');}}
for(name in newStyle){cur=newStyle[name];if(cur!==oldStyle[name]){setProp(el,name,cur==null?'':cur);}}}
var style={create:updateStyle,update:updateStyle};var whitespaceRE=/\s+/;function addClass(el,cls){if(!cls||!(cls=cls.trim())){return}
if(el.classList){if(cls.indexOf(' ')>-1){cls.split(whitespaceRE).forEach(function(c){return el.classList.add(c);});}else{el.classList.add(cls);}}else{var cur=" "+(el.getAttribute('class')||'')+" ";if(cur.indexOf(' '+cls+' ')<0){el.setAttribute('class',(cur+cls).trim());}}}
function removeClass(el,cls){if(!cls||!(cls=cls.trim())){return}
if(el.classList){if(cls.indexOf(' ')>-1){cls.split(whitespaceRE).forEach(function(c){return el.classList.remove(c);});}else{el.classList.remove(cls);}
if(!el.classList.length){el.removeAttribute('class');}}else{var cur=" "+(el.getAttribute('class')||'')+" ";var tar=' '+cls+' ';while(cur.indexOf(tar)>=0){cur=cur.replace(tar,' ');}
cur=cur.trim();if(cur){el.setAttribute('class',cur);}else{el.removeAttribute('class');}}}
function resolveTransition(def$$1){if(!def$$1){return}
if(typeof def$$1==='object'){var res={};if(def$$1.css!==false){extend(res,autoCssTransition(def$$1.name||'v'));}
extend(res,def$$1);return res}else if(typeof def$$1==='string'){return autoCssTransition(def$$1)}}
var autoCssTransition=cached(function(name){return{enterClass:(name+"-enter"),enterToClass:(name+"-enter-to"),enterActiveClass:(name+"-enter-active"),leaveClass:(name+"-leave"),leaveToClass:(name+"-leave-to"),leaveActiveClass:(name+"-leave-active")}});var hasTransition=inBrowser&&!isIE9;var TRANSITION='transition';var ANIMATION='animation';var transitionProp='transition';var transitionEndEvent='transitionend';var animationProp='animation';var animationEndEvent='animationend';if(hasTransition){if(window.ontransitionend===undefined&&window.onwebkittransitionend!==undefined){transitionProp='WebkitTransition';transitionEndEvent='webkitTransitionEnd';}
if(window.onanimationend===undefined&&window.onwebkitanimationend!==undefined){animationProp='WebkitAnimation';animationEndEvent='webkitAnimationEnd';}}
var raf=inBrowser?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(fn){return fn();};function nextFrame(fn){raf(function(){raf(fn);});}
function addTransitionClass(el,cls){var transitionClasses=el._transitionClasses||(el._transitionClasses=[]);if(transitionClasses.indexOf(cls)<0){transitionClasses.push(cls);addClass(el,cls);}}
function removeTransitionClass(el,cls){if(el._transitionClasses){remove(el._transitionClasses,cls);}
removeClass(el,cls);}
function whenTransitionEnds(el,expectedType,cb){var ref=getTransitionInfo(el,expectedType);var type=ref.type;var timeout=ref.timeout;var propCount=ref.propCount;if(!type){return cb()}
var event=type===TRANSITION?transitionEndEvent:animationEndEvent;var ended=0;var end=function(){el.removeEventListener(event,onEnd);cb();};var onEnd=function(e){if(e.target===el){if(++ended>=propCount){end();}}};setTimeout(function(){if(ended<propCount){end();}},timeout+1);el.addEventListener(event,onEnd);}
var transformRE=/\b(transform|all)(,|$)/;function getTransitionInfo(el,expectedType){var styles=window.getComputedStyle(el);var transitionDelays=(styles[transitionProp+'Delay']||'').split(', ');var transitionDurations=(styles[transitionProp+'Duration']||'').split(', ');var transitionTimeout=getTimeout(transitionDelays,transitionDurations);var animationDelays=(styles[animationProp+'Delay']||'').split(', ');var animationDurations=(styles[animationProp+'Duration']||'').split(', ');var animationTimeout=getTimeout(animationDelays,animationDurations);var type;var timeout=0;var propCount=0;if(expectedType===TRANSITION){if(transitionTimeout>0){type=TRANSITION;timeout=transitionTimeout;propCount=transitionDurations.length;}}else if(expectedType===ANIMATION){if(animationTimeout>0){type=ANIMATION;timeout=animationTimeout;propCount=animationDurations.length;}}else{timeout=Math.max(transitionTimeout,animationTimeout);type=timeout>0?transitionTimeout>animationTimeout?TRANSITION:ANIMATION:null;propCount=type?type===TRANSITION?transitionDurations.length:animationDurations.length:0;}
var hasTransform=type===TRANSITION&&transformRE.test(styles[transitionProp+'Property']);return{type:type,timeout:timeout,propCount:propCount,hasTransform:hasTransform}}
function getTimeout(delays,durations){while(delays.length<durations.length){delays=delays.concat(delays);}
return Math.max.apply(null,durations.map(function(d,i){return toMs(d)+toMs(delays[i])}))}
function toMs(s){return Number(s.slice(0,-1).replace(',','.'))*1000}
function enter(vnode,toggleDisplay){var el=vnode.elm;if(isDef(el._leaveCb)){el._leaveCb.cancelled=true;el._leaveCb();}
var data=resolveTransition(vnode.data.transition);if(isUndef(data)){return}
if(isDef(el._enterCb)||el.nodeType!==1){return}
var css=data.css;var type=data.type;var enterClass=data.enterClass;var enterToClass=data.enterToClass;var enterActiveClass=data.enterActiveClass;var appearClass=data.appearClass;var appearToClass=data.appearToClass;var appearActiveClass=data.appearActiveClass;var beforeEnter=data.beforeEnter;var enter=data.enter;var afterEnter=data.afterEnter;var enterCancelled=data.enterCancelled;var beforeAppear=data.beforeAppear;var appear=data.appear;var afterAppear=data.afterAppear;var appearCancelled=data.appearCancelled;var duration=data.duration;var context=activeInstance;var transitionNode=activeInstance.$vnode;while(transitionNode&&transitionNode.parent){context=transitionNode.context;transitionNode=transitionNode.parent;}
var isAppear=!context._isMounted||!vnode.isRootInsert;if(isAppear&&!appear&&appear!==''){return}
var startClass=isAppear&&appearClass?appearClass:enterClass;var activeClass=isAppear&&appearActiveClass?appearActiveClass:enterActiveClass;var toClass=isAppear&&appearToClass?appearToClass:enterToClass;var beforeEnterHook=isAppear?(beforeAppear||beforeEnter):beforeEnter;var enterHook=isAppear?(typeof appear==='function'?appear:enter):enter;var afterEnterHook=isAppear?(afterAppear||afterEnter):afterEnter;var enterCancelledHook=isAppear?(appearCancelled||enterCancelled):enterCancelled;var explicitEnterDuration=toNumber(isObject(duration)?duration.enter:duration);if(explicitEnterDuration!=null){checkDuration(explicitEnterDuration,'enter',vnode);}
var expectsCSS=css!==false&&!isIE9;var userWantsControl=getHookArgumentsLength(enterHook);var cb=el._enterCb=once(function(){if(expectsCSS){removeTransitionClass(el,toClass);removeTransitionClass(el,activeClass);}
if(cb.cancelled){if(expectsCSS){removeTransitionClass(el,startClass);}
enterCancelledHook&&enterCancelledHook(el);}else{afterEnterHook&&afterEnterHook(el);}
el._enterCb=null;});if(!vnode.data.show){mergeVNodeHook(vnode,'insert',function(){var parent=el.parentNode;var pendingNode=parent&&parent._pending&&parent._pending[vnode.key];if(pendingNode&&pendingNode.tag===vnode.tag&&pendingNode.elm._leaveCb){pendingNode.elm._leaveCb();}
enterHook&&enterHook(el,cb);});}
beforeEnterHook&&beforeEnterHook(el);if(expectsCSS){addTransitionClass(el,startClass);addTransitionClass(el,activeClass);nextFrame(function(){removeTransitionClass(el,startClass);if(!cb.cancelled){addTransitionClass(el,toClass);if(!userWantsControl){if(isValidDuration(explicitEnterDuration)){setTimeout(cb,explicitEnterDuration);}else{whenTransitionEnds(el,type,cb);}}}});}
if(vnode.data.show){toggleDisplay&&toggleDisplay();enterHook&&enterHook(el,cb);}
if(!expectsCSS&&!userWantsControl){cb();}}
function leave(vnode,rm){var el=vnode.elm;if(isDef(el._enterCb)){el._enterCb.cancelled=true;el._enterCb();}
var data=resolveTransition(vnode.data.transition);if(isUndef(data)||el.nodeType!==1){return rm()}
if(isDef(el._leaveCb)){return}
var css=data.css;var type=data.type;var leaveClass=data.leaveClass;var leaveToClass=data.leaveToClass;var leaveActiveClass=data.leaveActiveClass;var beforeLeave=data.beforeLeave;var leave=data.leave;var afterLeave=data.afterLeave;var leaveCancelled=data.leaveCancelled;var delayLeave=data.delayLeave;var duration=data.duration;var expectsCSS=css!==false&&!isIE9;var userWantsControl=getHookArgumentsLength(leave);var explicitLeaveDuration=toNumber(isObject(duration)?duration.leave:duration);if(isDef(explicitLeaveDuration)){checkDuration(explicitLeaveDuration,'leave',vnode);}
var cb=el._leaveCb=once(function(){if(el.parentNode&&el.parentNode._pending){el.parentNode._pending[vnode.key]=null;}
if(expectsCSS){removeTransitionClass(el,leaveToClass);removeTransitionClass(el,leaveActiveClass);}
if(cb.cancelled){if(expectsCSS){removeTransitionClass(el,leaveClass);}
leaveCancelled&&leaveCancelled(el);}else{rm();afterLeave&&afterLeave(el);}
el._leaveCb=null;});if(delayLeave){delayLeave(performLeave);}else{performLeave();}
function performLeave(){if(cb.cancelled){return}
if(!vnode.data.show&&el.parentNode){(el.parentNode._pending||(el.parentNode._pending={}))[(vnode.key)]=vnode;}
beforeLeave&&beforeLeave(el);if(expectsCSS){addTransitionClass(el,leaveClass);addTransitionClass(el,leaveActiveClass);nextFrame(function(){removeTransitionClass(el,leaveClass);if(!cb.cancelled){addTransitionClass(el,leaveToClass);if(!userWantsControl){if(isValidDuration(explicitLeaveDuration)){setTimeout(cb,explicitLeaveDuration);}else{whenTransitionEnds(el,type,cb);}}}});}
leave&&leave(el,cb);if(!expectsCSS&&!userWantsControl){cb();}}}
function checkDuration(val,name,vnode){if(typeof val!=='number'){warn("<transition> explicit "+name+" duration is not a valid number - "+"got "+(JSON.stringify(val))+".",vnode.context);}else if(isNaN(val)){warn("<transition> explicit "+name+" duration is NaN - "+'the duration expression might be incorrect.',vnode.context);}}
function isValidDuration(val){return typeof val==='number'&&!isNaN(val)}
function getHookArgumentsLength(fn){if(isUndef(fn)){return false}
var invokerFns=fn.fns;if(isDef(invokerFns)){return getHookArgumentsLength(Array.isArray(invokerFns)?invokerFns[0]:invokerFns)}else{return(fn._length||fn.length)>1}}
function _enter(_,vnode){if(vnode.data.show!==true){enter(vnode);}}
var transition=inBrowser?{create:_enter,activate:_enter,remove:function remove$$1(vnode,rm){if(vnode.data.show!==true){leave(vnode,rm);}else{rm();}}}:{};var platformModules=[attrs,klass,events,domProps,style,transition];var modules=platformModules.concat(baseModules);var patch=createPatchFunction({nodeOps:nodeOps,modules:modules});if(isIE9){document.addEventListener('selectionchange',function(){var el=document.activeElement;if(el&&el.vmodel){trigger(el,'input');}});}
var directive={inserted:function inserted(el,binding,vnode,oldVnode){if(vnode.tag==='select'){if(oldVnode.elm&&!oldVnode.elm._vOptions){mergeVNodeHook(vnode,'postpatch',function(){directive.componentUpdated(el,binding,vnode);});}else{setSelected(el,binding,vnode.context);}
el._vOptions=[].map.call(el.options,getValue);}else if(vnode.tag==='textarea'||isTextInputType(el.type)){el._vModifiers=binding.modifiers;if(!binding.modifiers.lazy){el.addEventListener('compositionstart',onCompositionStart);el.addEventListener('compositionend',onCompositionEnd);el.addEventListener('change',onCompositionEnd);if(isIE9){el.vmodel=true;}}}},componentUpdated:function componentUpdated(el,binding,vnode){if(vnode.tag==='select'){setSelected(el,binding,vnode.context);var prevOptions=el._vOptions;var curOptions=el._vOptions=[].map.call(el.options,getValue);if(curOptions.some(function(o,i){return!looseEqual(o,prevOptions[i]);})){var needReset=el.multiple?binding.value.some(function(v){return hasNoMatchingOption(v,curOptions);}):binding.value!==binding.oldValue&&hasNoMatchingOption(binding.value,curOptions);if(needReset){trigger(el,'change');}}}}};function setSelected(el,binding,vm){actuallySetSelected(el,binding,vm);if(isIE||isEdge){setTimeout(function(){actuallySetSelected(el,binding,vm);},0);}}
function actuallySetSelected(el,binding,vm){var value=binding.value;var isMultiple=el.multiple;if(isMultiple&&!Array.isArray(value)){warn("<select multiple v-model=\""+(binding.expression)+"\"> "+"expects an Array value for its binding, but got "+(Object.prototype.toString.call(value).slice(8,-1)),vm);return}
var selected,option;for(var i=0,l=el.options.length;i<l;i++){option=el.options[i];if(isMultiple){selected=looseIndexOf(value,getValue(option))>-1;if(option.selected!==selected){option.selected=selected;}}else{if(looseEqual(getValue(option),value)){if(el.selectedIndex!==i){el.selectedIndex=i;}
return}}}
if(!isMultiple){el.selectedIndex=-1;}}
function hasNoMatchingOption(value,options){return options.every(function(o){return!looseEqual(o,value);})}
function getValue(option){return'_value'in option?option._value:option.value}
function onCompositionStart(e){e.target.composing=true;}
function onCompositionEnd(e){if(!e.target.composing){return}
e.target.composing=false;trigger(e.target,'input');}
function trigger(el,type){var e=document.createEvent('HTMLEvents');e.initEvent(type,true,true);el.dispatchEvent(e);}
function locateNode(vnode){return vnode.componentInstance&&(!vnode.data||!vnode.data.transition)?locateNode(vnode.componentInstance._vnode):vnode}
var show={bind:function bind(el,ref,vnode){var value=ref.value;vnode=locateNode(vnode);var transition$$1=vnode.data&&vnode.data.transition;var originalDisplay=el.__vOriginalDisplay=el.style.display==='none'?'':el.style.display;if(value&&transition$$1){vnode.data.show=true;enter(vnode,function(){el.style.display=originalDisplay;});}else{el.style.display=value?originalDisplay:'none';}},update:function update(el,ref,vnode){var value=ref.value;var oldValue=ref.oldValue;if(!value===!oldValue){return}
vnode=locateNode(vnode);var transition$$1=vnode.data&&vnode.data.transition;if(transition$$1){vnode.data.show=true;if(value){enter(vnode,function(){el.style.display=el.__vOriginalDisplay;});}else{leave(vnode,function(){el.style.display='none';});}}else{el.style.display=value?el.__vOriginalDisplay:'none';}},unbind:function unbind(el,binding,vnode,oldVnode,isDestroy){if(!isDestroy){el.style.display=el.__vOriginalDisplay;}}};var platformDirectives={model:directive,show:show};var transitionProps={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function getRealChild(vnode){var compOptions=vnode&&vnode.componentOptions;if(compOptions&&compOptions.Ctor.options.abstract){return getRealChild(getFirstComponentChild(compOptions.children))}else{return vnode}}
function extractTransitionData(comp){var data={};var options=comp.$options;for(var key in options.propsData){data[key]=comp[key];}
var listeners=options._parentListeners;for(var key$1 in listeners){data[camelize(key$1)]=listeners[key$1];}
return data}
function placeholder(h,rawChild){if(/\d-keep-alive$/.test(rawChild.tag)){return h('keep-alive',{props:rawChild.componentOptions.propsData})}}
function hasParentTransition(vnode){while((vnode=vnode.parent)){if(vnode.data.transition){return true}}}
function isSameChild(child,oldChild){return oldChild.key===child.key&&oldChild.tag===child.tag}
var isNotTextNode=function(c){return c.tag||isAsyncPlaceholder(c);};var isVShowDirective=function(d){return d.name==='show';};var Transition={name:'transition',props:transitionProps,abstract:true,render:function render(h){var this$1=this;var children=this.$slots.default;if(!children){return}
children=children.filter(isNotTextNode);if(!children.length){return}
if(children.length>1){warn('<transition> can only be used on a single element. Use '+'<transition-group> for lists.',this.$parent);}
var mode=this.mode;if(mode&&mode!=='in-out'&&mode!=='out-in'){warn('invalid <transition> mode: '+mode,this.$parent);}
var rawChild=children[0];if(hasParentTransition(this.$vnode)){return rawChild}
var child=getRealChild(rawChild);if(!child){return rawChild}
if(this._leaving){return placeholder(h,rawChild)}
var id="__transition-"+(this._uid)+"-";child.key=child.key==null?child.isComment?id+'comment':id+child.tag:isPrimitive(child.key)?(String(child.key).indexOf(id)===0?child.key:id+child.key):child.key;var data=(child.data||(child.data={})).transition=extractTransitionData(this);var oldRawChild=this._vnode;var oldChild=getRealChild(oldRawChild);if(child.data.directives&&child.data.directives.some(isVShowDirective)){child.data.show=true;}
if(oldChild&&oldChild.data&&!isSameChild(child,oldChild)&&!isAsyncPlaceholder(oldChild)&&!(oldChild.componentInstance&&oldChild.componentInstance._vnode.isComment)){var oldData=oldChild.data.transition=extend({},data);if(mode==='out-in'){this._leaving=true;mergeVNodeHook(oldData,'afterLeave',function(){this$1._leaving=false;this$1.$forceUpdate();});return placeholder(h,rawChild)}else if(mode==='in-out'){if(isAsyncPlaceholder(child)){return oldRawChild}
var delayedLeave;var performLeave=function(){delayedLeave();};mergeVNodeHook(data,'afterEnter',performLeave);mergeVNodeHook(data,'enterCancelled',performLeave);mergeVNodeHook(oldData,'delayLeave',function(leave){delayedLeave=leave;});}}
return rawChild}};var props=extend({tag:String,moveClass:String},transitionProps);delete props.mode;var TransitionGroup={props:props,beforeMount:function beforeMount(){var this$1=this;var update=this._update;this._update=function(vnode,hydrating){var restoreActiveInstance=setActiveInstance(this$1);this$1.__patch__(this$1._vnode,this$1.kept,false,true);this$1._vnode=this$1.kept;restoreActiveInstance();update.call(this$1,vnode,hydrating);};},render:function render(h){var tag=this.tag||this.$vnode.data.tag||'span';var map=Object.create(null);var prevChildren=this.prevChildren=this.children;var rawChildren=this.$slots.default||[];var children=this.children=[];var transitionData=extractTransitionData(this);for(var i=0;i<rawChildren.length;i++){var c=rawChildren[i];if(c.tag){if(c.key!=null&&String(c.key).indexOf('__vlist')!==0){children.push(c);map[c.key]=c;(c.data||(c.data={})).transition=transitionData;}else{var opts=c.componentOptions;var name=opts?(opts.Ctor.options.name||opts.tag||''):c.tag;warn(("<transition-group> children must be keyed: <"+name+">"));}}}
if(prevChildren){var kept=[];var removed=[];for(var i$1=0;i$1<prevChildren.length;i$1++){var c$1=prevChildren[i$1];c$1.data.transition=transitionData;c$1.data.pos=c$1.elm.getBoundingClientRect();if(map[c$1.key]){kept.push(c$1);}else{removed.push(c$1);}}
this.kept=h(tag,null,kept);this.removed=removed;}
return h(tag,null,children)},updated:function updated(){var children=this.prevChildren;var moveClass=this.moveClass||((this.name||'v')+'-move');if(!children.length||!this.hasMove(children[0].elm,moveClass)){return}
children.forEach(callPendingCbs);children.forEach(recordPosition);children.forEach(applyTranslation);this._reflow=document.body.offsetHeight;children.forEach(function(c){if(c.data.moved){var el=c.elm;var s=el.style;addTransitionClass(el,moveClass);s.transform=s.WebkitTransform=s.transitionDuration='';el.addEventListener(transitionEndEvent,el._moveCb=function cb(e){if(e&&e.target!==el){return}
if(!e||/transform$/.test(e.propertyName)){el.removeEventListener(transitionEndEvent,cb);el._moveCb=null;removeTransitionClass(el,moveClass);}});}});},methods:{hasMove:function hasMove(el,moveClass){if(!hasTransition){return false}
if(this._hasMove){return this._hasMove}
var clone=el.cloneNode();if(el._transitionClasses){el._transitionClasses.forEach(function(cls){removeClass(clone,cls);});}
addClass(clone,moveClass);clone.style.display='none';this.$el.appendChild(clone);var info=getTransitionInfo(clone);this.$el.removeChild(clone);return(this._hasMove=info.hasTransform)}}};function callPendingCbs(c){if(c.elm._moveCb){c.elm._moveCb();}
if(c.elm._enterCb){c.elm._enterCb();}}
function recordPosition(c){c.data.newPos=c.elm.getBoundingClientRect();}
function applyTranslation(c){var oldPos=c.data.pos;var newPos=c.data.newPos;var dx=oldPos.left-newPos.left;var dy=oldPos.top-newPos.top;if(dx||dy){c.data.moved=true;var s=c.elm.style;s.transform=s.WebkitTransform="translate("+dx+"px,"+dy+"px)";s.transitionDuration='0s';}}
var platformComponents={Transition:Transition,TransitionGroup:TransitionGroup};Vue.config.mustUseProp=mustUseProp;Vue.config.isReservedTag=isReservedTag;Vue.config.isReservedAttr=isReservedAttr;Vue.config.getTagNamespace=getTagNamespace;Vue.config.isUnknownElement=isUnknownElement;extend(Vue.options.directives,platformDirectives);extend(Vue.options.components,platformComponents);Vue.prototype.__patch__=inBrowser?patch:noop;Vue.prototype.$mount=function(el,hydrating){el=el&&inBrowser?query(el):undefined;return mountComponent(this,el,hydrating)};if(inBrowser){setTimeout(function(){if(config.devtools){if(devtools){devtools.emit('init',Vue);}else{console[console.info?'info':'log']('Download the Vue Devtools extension for a better development experience:\n'+'https://github.com/vuejs/vue-devtools');}}
if(config.productionTip!==false&&typeof console!=='undefined'){console[console.info?'info':'log']("You are running Vue in development mode.\n"+"Make sure to turn on production mode when deploying for production.\n"+"See more tips at https://vuejs.org/guide/deployment.html");}},0);}
var defaultTagRE=/\{\{((?:.|\r?\n)+?)\}\}/g;var regexEscapeRE=/[-.*+?^${}()|[\]\/\\]/g;var buildRegex=cached(function(delimiters){var open=delimiters[0].replace(regexEscapeRE,'\\$&');var close=delimiters[1].replace(regexEscapeRE,'\\$&');return new RegExp(open+'((?:.|\\n)+?)'+close,'g')});function parseText(text,delimiters){var tagRE=delimiters?buildRegex(delimiters):defaultTagRE;if(!tagRE.test(text)){return}
var tokens=[];var rawTokens=[];var lastIndex=tagRE.lastIndex=0;var match,index,tokenValue;while((match=tagRE.exec(text))){index=match.index;if(index>lastIndex){rawTokens.push(tokenValue=text.slice(lastIndex,index));tokens.push(JSON.stringify(tokenValue));}
var exp=parseFilters(match[1].trim());tokens.push(("_s("+exp+")"));rawTokens.push({'@binding':exp});lastIndex=index+match[0].length;}
if(lastIndex<text.length){rawTokens.push(tokenValue=text.slice(lastIndex));tokens.push(JSON.stringify(tokenValue));}
return{expression:tokens.join('+'),tokens:rawTokens}}
function transformNode(el,options){var warn=options.warn||baseWarn;var staticClass=getAndRemoveAttr(el,'class');if(staticClass){var res=parseText(staticClass,options.delimiters);if(res){warn("class=\""+staticClass+"\": "+'Interpolation inside attributes has been removed. '+'Use v-bind or the colon shorthand instead. For example, '+'instead of <div class="{{ val }}">, use <div :class="val">.',el.rawAttrsMap['class']);}}
if(staticClass){el.staticClass=JSON.stringify(staticClass);}
var classBinding=getBindingAttr(el,'class',false);if(classBinding){el.classBinding=classBinding;}}
function genData(el){var data='';if(el.staticClass){data+="staticClass:"+(el.staticClass)+",";}
if(el.classBinding){data+="class:"+(el.classBinding)+",";}
return data}
var klass$1={staticKeys:['staticClass'],transformNode:transformNode,genData:genData};function transformNode$1(el,options){var warn=options.warn||baseWarn;var staticStyle=getAndRemoveAttr(el,'style');if(staticStyle){{var res=parseText(staticStyle,options.delimiters);if(res){warn("style=\""+staticStyle+"\": "+'Interpolation inside attributes has been removed. '+'Use v-bind or the colon shorthand instead. For example, '+'instead of <div style="{{ val }}">, use <div :style="val">.',el.rawAttrsMap['style']);}}
el.staticStyle=JSON.stringify(parseStyleText(staticStyle));}
var styleBinding=getBindingAttr(el,'style',false);if(styleBinding){el.styleBinding=styleBinding;}}
function genData$1(el){var data='';if(el.staticStyle){data+="staticStyle:"+(el.staticStyle)+",";}
if(el.styleBinding){data+="style:("+(el.styleBinding)+"),";}
return data}
var style$1={staticKeys:['staticStyle'],transformNode:transformNode$1,genData:genData$1};var decoder;var he={decode:function decode(html){decoder=decoder||document.createElement('div');decoder.innerHTML=html;return decoder.textContent}};var isUnaryTag=makeMap('area,base,br,col,embed,frame,hr,img,input,isindex,keygen,'+'link,meta,param,source,track,wbr');var canBeLeftOpenTag=makeMap('colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source');var isNonPhrasingTag=makeMap('address,article,aside,base,blockquote,body,caption,col,colgroup,dd,'+'details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,'+'h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,'+'optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,'+'title,tr,track');var attribute=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/;var dynamicArgAttribute=/^\s*((?:v-[\w-]+:|@|:|#)\[[^=]+\][^\s"'<>\/=]*)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/;var ncname="[a-zA-Z_][\\-\\.0-9_a-zA-Z"+(unicodeRegExp.source)+"]*";var qnameCapture="((?:"+ncname+"\\:)?"+ncname+")";var startTagOpen=new RegExp(("^<"+qnameCapture));var startTagClose=/^\s*(\/?)>/;var endTag=new RegExp(("^<\\/"+qnameCapture+"[^>]*>"));var doctype=/^<!DOCTYPE [^>]+>/i;var comment=/^<!\--/;var conditionalComment=/^<!\[/;var isPlainTextElement=makeMap('script,style,textarea',true);var reCache={};var decodingMap={'&lt;':'<','&gt;':'>','&quot;':'"','&amp;':'&','&#10;':'\n','&#9;':'\t','&#39;':"'"};var encodedAttr=/&(?:lt|gt|quot|amp|#39);/g;var encodedAttrWithNewLines=/&(?:lt|gt|quot|amp|#39|#10|#9);/g;var isIgnoreNewlineTag=makeMap('pre,textarea',true);var shouldIgnoreFirstNewline=function(tag,html){return tag&&isIgnoreNewlineTag(tag)&&html[0]==='\n';};function decodeAttr(value,shouldDecodeNewlines){var re=shouldDecodeNewlines?encodedAttrWithNewLines:encodedAttr;return value.replace(re,function(match){return decodingMap[match];})}
function parseHTML(html,options){var stack=[];var expectHTML=options.expectHTML;var isUnaryTag$$1=options.isUnaryTag||no;var canBeLeftOpenTag$$1=options.canBeLeftOpenTag||no;var index=0;var last,lastTag;while(html){last=html;if(!lastTag||!isPlainTextElement(lastTag)){var textEnd=html.indexOf('<');if(textEnd===0){if(comment.test(html)){var commentEnd=html.indexOf('-->');if(commentEnd>=0){if(options.shouldKeepComment){options.comment(html.substring(4,commentEnd),index,index+commentEnd+3);}
advance(commentEnd+3);continue}}
if(conditionalComment.test(html)){var conditionalEnd=html.indexOf(']>');if(conditionalEnd>=0){advance(conditionalEnd+2);continue}}
var doctypeMatch=html.match(doctype);if(doctypeMatch){advance(doctypeMatch[0].length);continue}
var endTagMatch=html.match(endTag);if(endTagMatch){var curIndex=index;advance(endTagMatch[0].length);parseEndTag(endTagMatch[1],curIndex,index);continue}
var startTagMatch=parseStartTag();if(startTagMatch){handleStartTag(startTagMatch);if(shouldIgnoreFirstNewline(startTagMatch.tagName,html)){advance(1);}
continue}}
var text=(void 0),rest=(void 0),next=(void 0);if(textEnd>=0){rest=html.slice(textEnd);while(!endTag.test(rest)&&!startTagOpen.test(rest)&&!comment.test(rest)&&!conditionalComment.test(rest)){next=rest.indexOf('<',1);if(next<0){break}
textEnd+=next;rest=html.slice(textEnd);}
text=html.substring(0,textEnd);}
if(textEnd<0){text=html;}
if(text){advance(text.length);}
if(options.chars&&text){options.chars(text,index-text.length,index);}}else{var endTagLength=0;var stackedTag=lastTag.toLowerCase();var reStackedTag=reCache[stackedTag]||(reCache[stackedTag]=new RegExp('([\\s\\S]*?)(</'+stackedTag+'[^>]*>)','i'));var rest$1=html.replace(reStackedTag,function(all,text,endTag){endTagLength=endTag.length;if(!isPlainTextElement(stackedTag)&&stackedTag!=='noscript'){text=text.replace(/<!\--([\s\S]*?)-->/g,'$1').replace(/<!\[CDATA\[([\s\S]*?)]]>/g,'$1');}
if(shouldIgnoreFirstNewline(stackedTag,text)){text=text.slice(1);}
if(options.chars){options.chars(text);}
return''});index+=html.length-rest$1.length;html=rest$1;parseEndTag(stackedTag,index-endTagLength,index);}
if(html===last){options.chars&&options.chars(html);if(!stack.length&&options.warn){options.warn(("Mal-formatted tag at end of template: \""+html+"\""),{start:index+html.length});}
break}}
parseEndTag();function advance(n){index+=n;html=html.substring(n);}
function parseStartTag(){var start=html.match(startTagOpen);if(start){var match={tagName:start[1],attrs:[],start:index};advance(start[0].length);var end,attr;while(!(end=html.match(startTagClose))&&(attr=html.match(dynamicArgAttribute)||html.match(attribute))){attr.start=index;advance(attr[0].length);attr.end=index;match.attrs.push(attr);}
if(end){match.unarySlash=end[1];advance(end[0].length);match.end=index;return match}}}
function handleStartTag(match){var tagName=match.tagName;var unarySlash=match.unarySlash;if(expectHTML){if(lastTag==='p'&&isNonPhrasingTag(tagName)){parseEndTag(lastTag);}
if(canBeLeftOpenTag$$1(tagName)&&lastTag===tagName){parseEndTag(tagName);}}
var unary=isUnaryTag$$1(tagName)||!!unarySlash;var l=match.attrs.length;var attrs=new Array(l);for(var i=0;i<l;i++){var args=match.attrs[i];var value=args[3]||args[4]||args[5]||'';var shouldDecodeNewlines=tagName==='a'&&args[1]==='href'?options.shouldDecodeNewlinesForHref:options.shouldDecodeNewlines;attrs[i]={name:args[1],value:decodeAttr(value,shouldDecodeNewlines)};if(options.outputSourceRange){attrs[i].start=args.start+args[0].match(/^\s*/).length;attrs[i].end=args.end;}}
if(!unary){stack.push({tag:tagName,lowerCasedTag:tagName.toLowerCase(),attrs:attrs,start:match.start,end:match.end});lastTag=tagName;}
if(options.start){options.start(tagName,attrs,unary,match.start,match.end);}}
function parseEndTag(tagName,start,end){var pos,lowerCasedTagName;if(start==null){start=index;}
if(end==null){end=index;}
if(tagName){lowerCasedTagName=tagName.toLowerCase();for(pos=stack.length-1;pos>=0;pos--){if(stack[pos].lowerCasedTag===lowerCasedTagName){break}}}else{pos=0;}
if(pos>=0){for(var i=stack.length-1;i>=pos;i--){if(i>pos||!tagName&&options.warn){options.warn(("tag <"+(stack[i].tag)+"> has no matching end tag."),{start:stack[i].start,end:stack[i].end});}
if(options.end){options.end(stack[i].tag,start,end);}}
stack.length=pos;lastTag=pos&&stack[pos-1].tag;}else if(lowerCasedTagName==='br'){if(options.start){options.start(tagName,[],true,start,end);}}else if(lowerCasedTagName==='p'){if(options.start){options.start(tagName,[],false,start,end);}
if(options.end){options.end(tagName,start,end);}}}}
var onRE=/^@|^v-on:/;var dirRE=/^v-|^@|^:/;var forAliasRE=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/;var forIteratorRE=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/;var stripParensRE=/^\(|\)$/g;var dynamicArgRE=/^\[.*\]$/;var argRE=/:(.*)$/;var bindRE=/^:|^\.|^v-bind:/;var modifierRE=/\.[^.\]]+(?=[^\]]*$)/g;var slotRE=/^v-slot(:|$)|^#/;var lineBreakRE=/[\r\n]/;var whitespaceRE$1=/\s+/g;var invalidAttributeRE=/[\s"'<>\/=]/;var decodeHTMLCached=cached(he.decode);var emptySlotScopeToken="_empty_";var warn$2;var delimiters;var transforms;var preTransforms;var postTransforms;var platformIsPreTag;var platformMustUseProp;var platformGetTagNamespace;var maybeComponent;function createASTElement(tag,attrs,parent){return{type:1,tag:tag,attrsList:attrs,attrsMap:makeAttrsMap(attrs),rawAttrsMap:{},parent:parent,children:[]}}
function parse(template,options){warn$2=options.warn||baseWarn;platformIsPreTag=options.isPreTag||no;platformMustUseProp=options.mustUseProp||no;platformGetTagNamespace=options.getTagNamespace||no;var isReservedTag=options.isReservedTag||no;maybeComponent=function(el){return!!el.component||!isReservedTag(el.tag);};transforms=pluckModuleFunction(options.modules,'transformNode');preTransforms=pluckModuleFunction(options.modules,'preTransformNode');postTransforms=pluckModuleFunction(options.modules,'postTransformNode');delimiters=options.delimiters;var stack=[];var preserveWhitespace=options.preserveWhitespace!==false;var whitespaceOption=options.whitespace;var root;var currentParent;var inVPre=false;var inPre=false;var warned=false;function warnOnce(msg,range){if(!warned){warned=true;warn$2(msg,range);}}
function closeElement(element){trimEndingWhitespace(element);if(!inVPre&&!element.processed){element=processElement(element,options);}
if(!stack.length&&element!==root){if(root.if&&(element.elseif||element.else)){{checkRootConstraints(element);}
addIfCondition(root,{exp:element.elseif,block:element});}else{warnOnce("Component template should contain exactly one root element. "+"If you are using v-if on multiple elements, "+"use v-else-if to chain them instead.",{start:element.start});}}
if(currentParent&&!element.forbidden){if(element.elseif||element.else){processIfConditions(element,currentParent);}else{if(element.slotScope){var name=element.slotTarget||'"default"';(currentParent.scopedSlots||(currentParent.scopedSlots={}))[name]=element;}
currentParent.children.push(element);element.parent=currentParent;}}
element.children=element.children.filter(function(c){return!(c).slotScope;});trimEndingWhitespace(element);if(element.pre){inVPre=false;}
if(platformIsPreTag(element.tag)){inPre=false;}
for(var i=0;i<postTransforms.length;i++){postTransforms[i](element,options);}}
function trimEndingWhitespace(el){if(!inPre){var lastNode;while((lastNode=el.children[el.children.length-1])&&lastNode.type===3&&lastNode.text===' '){el.children.pop();}}}
function checkRootConstraints(el){if(el.tag==='slot'||el.tag==='template'){warnOnce("Cannot use <"+(el.tag)+"> as component root element because it may "+'contain multiple nodes.',{start:el.start});}
if(el.attrsMap.hasOwnProperty('v-for')){warnOnce('Cannot use v-for on stateful component root element because '+'it renders multiple elements.',el.rawAttrsMap['v-for']);}}
parseHTML(template,{warn:warn$2,expectHTML:options.expectHTML,isUnaryTag:options.isUnaryTag,canBeLeftOpenTag:options.canBeLeftOpenTag,shouldDecodeNewlines:options.shouldDecodeNewlines,shouldDecodeNewlinesForHref:options.shouldDecodeNewlinesForHref,shouldKeepComment:options.comments,outputSourceRange:options.outputSourceRange,start:function start(tag,attrs,unary,start$1,end){var ns=(currentParent&&currentParent.ns)||platformGetTagNamespace(tag);if(isIE&&ns==='svg'){attrs=guardIESVGBug(attrs);}
var element=createASTElement(tag,attrs,currentParent);if(ns){element.ns=ns;}
{if(options.outputSourceRange){element.start=start$1;element.end=end;element.rawAttrsMap=element.attrsList.reduce(function(cumulated,attr){cumulated[attr.name]=attr;return cumulated},{});}
attrs.forEach(function(attr){if(invalidAttributeRE.test(attr.name)){warn$2("Invalid dynamic argument expression: attribute names cannot contain "+"spaces, quotes, <, >, / or =.",{start:attr.start+attr.name.indexOf("["),end:attr.start+attr.name.length});}});}
if(isForbiddenTag(element)&&!isServerRendering()){element.forbidden=true;warn$2('Templates should only be responsible for mapping the state to the '+'UI. Avoid placing tags with side-effects in your templates, such as '+"<"+tag+">"+', as they will not be parsed.',{start:element.start});}
for(var i=0;i<preTransforms.length;i++){element=preTransforms[i](element,options)||element;}
if(!inVPre){processPre(element);if(element.pre){inVPre=true;}}
if(platformIsPreTag(element.tag)){inPre=true;}
if(inVPre){processRawAttrs(element);}else if(!element.processed){processFor(element);processIf(element);processOnce(element);}
if(!root){root=element;{checkRootConstraints(root);}}
if(!unary){currentParent=element;stack.push(element);}else{closeElement(element);}},end:function end(tag,start,end$1){var element=stack[stack.length-1];stack.length-=1;currentParent=stack[stack.length-1];if(options.outputSourceRange){element.end=end$1;}
closeElement(element);},chars:function chars(text,start,end){if(!currentParent){{if(text===template){warnOnce('Component template requires a root element, rather than just text.',{start:start});}else if((text=text.trim())){warnOnce(("text \""+text+"\" outside root element will be ignored."),{start:start});}}
return}
if(isIE&&currentParent.tag==='textarea'&&currentParent.attrsMap.placeholder===text){return}
var children=currentParent.children;if(inPre||text.trim()){text=isTextTag(currentParent)?text:decodeHTMLCached(text);}else if(!children.length){text='';}else if(whitespaceOption){if(whitespaceOption==='condense'){text=lineBreakRE.test(text)?'':' ';}else{text=' ';}}else{text=preserveWhitespace?' ':'';}
if(text){if(!inPre&&whitespaceOption==='condense'){text=text.replace(whitespaceRE$1,' ');}
var res;var child;if(!inVPre&&text!==' '&&(res=parseText(text,delimiters))){child={type:2,expression:res.expression,tokens:res.tokens,text:text};}else if(text!==' '||!children.length||children[children.length-1].text!==' '){child={type:3,text:text};}
if(child){if(options.outputSourceRange){child.start=start;child.end=end;}
children.push(child);}}},comment:function comment(text,start,end){if(currentParent){var child={type:3,text:text,isComment:true};if(options.outputSourceRange){child.start=start;child.end=end;}
currentParent.children.push(child);}}});return root}
function processPre(el){if(getAndRemoveAttr(el,'v-pre')!=null){el.pre=true;}}
function processRawAttrs(el){var list=el.attrsList;var len=list.length;if(len){var attrs=el.attrs=new Array(len);for(var i=0;i<len;i++){attrs[i]={name:list[i].name,value:JSON.stringify(list[i].value)};if(list[i].start!=null){attrs[i].start=list[i].start;attrs[i].end=list[i].end;}}}else if(!el.pre){el.plain=true;}}
function processElement(element,options){processKey(element);element.plain=(!element.key&&!element.scopedSlots&&!element.attrsList.length);processRef(element);processSlotContent(element);processSlotOutlet(element);processComponent(element);for(var i=0;i<transforms.length;i++){element=transforms[i](element,options)||element;}
processAttrs(element);return element}
function processKey(el){var exp=getBindingAttr(el,'key');if(exp){{if(el.tag==='template'){warn$2("<template> cannot be keyed. Place the key on real elements instead.",getRawBindingAttr(el,'key'));}
if(el.for){var iterator=el.iterator2||el.iterator1;var parent=el.parent;if(iterator&&iterator===exp&&parent&&parent.tag==='transition-group'){warn$2("Do not use v-for index as key on <transition-group> children, "+"this is the same as not using keys.",getRawBindingAttr(el,'key'),true);}}}
el.key=exp;}}
function processRef(el){var ref=getBindingAttr(el,'ref');if(ref){el.ref=ref;el.refInFor=checkInFor(el);}}
function processFor(el){var exp;if((exp=getAndRemoveAttr(el,'v-for'))){var res=parseFor(exp);if(res){extend(el,res);}else{warn$2(("Invalid v-for expression: "+exp),el.rawAttrsMap['v-for']);}}}
function parseFor(exp){var inMatch=exp.match(forAliasRE);if(!inMatch){return}
var res={};res.for=inMatch[2].trim();var alias=inMatch[1].trim().replace(stripParensRE,'');var iteratorMatch=alias.match(forIteratorRE);if(iteratorMatch){res.alias=alias.replace(forIteratorRE,'').trim();res.iterator1=iteratorMatch[1].trim();if(iteratorMatch[2]){res.iterator2=iteratorMatch[2].trim();}}else{res.alias=alias;}
return res}
function processIf(el){var exp=getAndRemoveAttr(el,'v-if');if(exp){el.if=exp;addIfCondition(el,{exp:exp,block:el});}else{if(getAndRemoveAttr(el,'v-else')!=null){el.else=true;}
var elseif=getAndRemoveAttr(el,'v-else-if');if(elseif){el.elseif=elseif;}}}
function processIfConditions(el,parent){var prev=findPrevElement(parent.children);if(prev&&prev.if){addIfCondition(prev,{exp:el.elseif,block:el});}else{warn$2("v-"+(el.elseif?('else-if="'+el.elseif+'"'):'else')+" "+"used on element <"+(el.tag)+"> without corresponding v-if.",el.rawAttrsMap[el.elseif?'v-else-if':'v-else']);}}
function findPrevElement(children){var i=children.length;while(i--){if(children[i].type===1){return children[i]}else{if(children[i].text!==' '){warn$2("text \""+(children[i].text.trim())+"\" between v-if and v-else(-if) "+"will be ignored.",children[i]);}
children.pop();}}}
function addIfCondition(el,condition){if(!el.ifConditions){el.ifConditions=[];}
el.ifConditions.push(condition);}
function processOnce(el){var once$$1=getAndRemoveAttr(el,'v-once');if(once$$1!=null){el.once=true;}}
function processSlotContent(el){var slotScope;if(el.tag==='template'){slotScope=getAndRemoveAttr(el,'scope');if(slotScope){warn$2("the \"scope\" attribute for scoped slots have been deprecated and "+"replaced by \"slot-scope\" since 2.5. The new \"slot-scope\" attribute "+"can also be used on plain elements in addition to <template> to "+"denote scoped slots.",el.rawAttrsMap['scope'],true);}
el.slotScope=slotScope||getAndRemoveAttr(el,'slot-scope');}else if((slotScope=getAndRemoveAttr(el,'slot-scope'))){if(el.attrsMap['v-for']){warn$2("Ambiguous combined usage of slot-scope and v-for on <"+(el.tag)+"> "+"(v-for takes higher priority). Use a wrapper <template> for the "+"scoped slot to make it clearer.",el.rawAttrsMap['slot-scope'],true);}
el.slotScope=slotScope;}
var slotTarget=getBindingAttr(el,'slot');if(slotTarget){el.slotTarget=slotTarget==='""'?'"default"':slotTarget;el.slotTargetDynamic=!!(el.attrsMap[':slot']||el.attrsMap['v-bind:slot']);if(el.tag!=='template'&&!el.slotScope){addAttr(el,'slot',slotTarget,getRawBindingAttr(el,'slot'));}}
{if(el.tag==='template'){var slotBinding=getAndRemoveAttrByRegex(el,slotRE);if(slotBinding){{if(el.slotTarget||el.slotScope){warn$2("Unexpected mixed usage of different slot syntaxes.",el);}
if(el.parent&&!maybeComponent(el.parent)){warn$2("<template v-slot> can only appear at the root level inside "+"the receiving the component",el);}}
var ref=getSlotName(slotBinding);var name=ref.name;var dynamic=ref.dynamic;el.slotTarget=name;el.slotTargetDynamic=dynamic;el.slotScope=slotBinding.value||emptySlotScopeToken;}}else{var slotBinding$1=getAndRemoveAttrByRegex(el,slotRE);if(slotBinding$1){{if(!maybeComponent(el)){warn$2("v-slot can only be used on components or <template>.",slotBinding$1);}
if(el.slotScope||el.slotTarget){warn$2("Unexpected mixed usage of different slot syntaxes.",el);}
if(el.scopedSlots){warn$2("To avoid scope ambiguity, the default slot should also use "+"<template> syntax when there are other named slots.",slotBinding$1);}}
var slots=el.scopedSlots||(el.scopedSlots={});var ref$1=getSlotName(slotBinding$1);var name$1=ref$1.name;var dynamic$1=ref$1.dynamic;var slotContainer=slots[name$1]=createASTElement('template',[],el);slotContainer.slotTarget=name$1;slotContainer.slotTargetDynamic=dynamic$1;slotContainer.children=el.children.filter(function(c){if(!c.slotScope){c.parent=slotContainer;return true}});slotContainer.slotScope=slotBinding$1.value||emptySlotScopeToken;el.children=[];el.plain=false;}}}}
function getSlotName(binding){var name=binding.name.replace(slotRE,'');if(!name){if(binding.name[0]!=='#'){name='default';}else{warn$2("v-slot shorthand syntax requires a slot name.",binding);}}
return dynamicArgRE.test(name)?{name:name.slice(1,-1),dynamic:true}:{name:("\""+name+"\""),dynamic:false}}
function processSlotOutlet(el){if(el.tag==='slot'){el.slotName=getBindingAttr(el,'name');if(el.key){warn$2("`key` does not work on <slot> because slots are abstract outlets "+"and can possibly expand into multiple elements. "+"Use the key on a wrapping element instead.",getRawBindingAttr(el,'key'));}}}
function processComponent(el){var binding;if((binding=getBindingAttr(el,'is'))){el.component=binding;}
if(getAndRemoveAttr(el,'inline-template')!=null){el.inlineTemplate=true;}}
function processAttrs(el){var list=el.attrsList;var i,l,name,rawName,value,modifiers,syncGen,isDynamic;for(i=0,l=list.length;i<l;i++){name=rawName=list[i].name;value=list[i].value;if(dirRE.test(name)){el.hasBindings=true;modifiers=parseModifiers(name.replace(dirRE,''));if(modifiers){name=name.replace(modifierRE,'');}
if(bindRE.test(name)){name=name.replace(bindRE,'');value=parseFilters(value);isDynamic=dynamicArgRE.test(name);if(isDynamic){name=name.slice(1,-1);}
if(value.trim().length===0){warn$2(("The value for a v-bind expression cannot be empty. Found in \"v-bind:"+name+"\""));}
if(modifiers){if(modifiers.prop&&!isDynamic){name=camelize(name);if(name==='innerHtml'){name='innerHTML';}}
if(modifiers.camel&&!isDynamic){name=camelize(name);}
if(modifiers.sync){syncGen=genAssignmentCode(value,"$event");if(!isDynamic){addHandler(el,("update:"+(camelize(name))),syncGen,null,false,warn$2,list[i]);if(hyphenate(name)!==camelize(name)){addHandler(el,("update:"+(hyphenate(name))),syncGen,null,false,warn$2,list[i]);}}else{addHandler(el,("\"update:\"+("+name+")"),syncGen,null,false,warn$2,list[i],true);}}}
if((modifiers&&modifiers.prop)||(!el.component&&platformMustUseProp(el.tag,el.attrsMap.type,name))){addProp(el,name,value,list[i],isDynamic);}else{addAttr(el,name,value,list[i],isDynamic);}}else if(onRE.test(name)){name=name.replace(onRE,'');isDynamic=dynamicArgRE.test(name);if(isDynamic){name=name.slice(1,-1);}
addHandler(el,name,value,modifiers,false,warn$2,list[i],isDynamic);}else{name=name.replace(dirRE,'');var argMatch=name.match(argRE);var arg=argMatch&&argMatch[1];isDynamic=false;if(arg){name=name.slice(0,-(arg.length+1));if(dynamicArgRE.test(arg)){arg=arg.slice(1,-1);isDynamic=true;}}
addDirective(el,name,rawName,value,arg,isDynamic,modifiers,list[i]);if(name==='model'){checkForAliasModel(el,value);}}}else{{var res=parseText(value,delimiters);if(res){warn$2(name+"=\""+value+"\": "+'Interpolation inside attributes has been removed. '+'Use v-bind or the colon shorthand instead. For example, '+'instead of <div id="{{ val }}">, use <div :id="val">.',list[i]);}}
addAttr(el,name,JSON.stringify(value),list[i]);if(!el.component&&name==='muted'&&platformMustUseProp(el.tag,el.attrsMap.type,name)){addProp(el,name,'true',list[i]);}}}}
function checkInFor(el){var parent=el;while(parent){if(parent.for!==undefined){return true}
parent=parent.parent;}
return false}
function parseModifiers(name){var match=name.match(modifierRE);if(match){var ret={};match.forEach(function(m){ret[m.slice(1)]=true;});return ret}}
function makeAttrsMap(attrs){var map={};for(var i=0,l=attrs.length;i<l;i++){if(map[attrs[i].name]&&!isIE&&!isEdge){warn$2('duplicate attribute: '+attrs[i].name,attrs[i]);}
map[attrs[i].name]=attrs[i].value;}
return map}
function isTextTag(el){return el.tag==='script'||el.tag==='style'}
function isForbiddenTag(el){return(el.tag==='style'||(el.tag==='script'&&(!el.attrsMap.type||el.attrsMap.type==='text/javascript')))}
var ieNSBug=/^xmlns:NS\d+/;var ieNSPrefix=/^NS\d+:/;function guardIESVGBug(attrs){var res=[];for(var i=0;i<attrs.length;i++){var attr=attrs[i];if(!ieNSBug.test(attr.name)){attr.name=attr.name.replace(ieNSPrefix,'');res.push(attr);}}
return res}
function checkForAliasModel(el,value){var _el=el;while(_el){if(_el.for&&_el.alias===value){warn$2("<"+(el.tag)+" v-model=\""+value+"\">: "+"You are binding v-model directly to a v-for iteration alias. "+"This will not be able to modify the v-for source array because "+"writing to the alias is like modifying a function local variable. "+"Consider using an array of objects and use v-model on an object property instead.",el.rawAttrsMap['v-model']);}
_el=_el.parent;}}
function preTransformNode(el,options){if(el.tag==='input'){var map=el.attrsMap;if(!map['v-model']){return}
var typeBinding;if(map[':type']||map['v-bind:type']){typeBinding=getBindingAttr(el,'type');}
if(!map.type&&!typeBinding&&map['v-bind']){typeBinding="("+(map['v-bind'])+").type";}
if(typeBinding){var ifCondition=getAndRemoveAttr(el,'v-if',true);var ifConditionExtra=ifCondition?("&&("+ifCondition+")"):"";var hasElse=getAndRemoveAttr(el,'v-else',true)!=null;var elseIfCondition=getAndRemoveAttr(el,'v-else-if',true);var branch0=cloneASTElement(el);processFor(branch0);addRawAttr(branch0,'type','checkbox');processElement(branch0,options);branch0.processed=true;branch0.if="("+typeBinding+")==='checkbox'"+ifConditionExtra;addIfCondition(branch0,{exp:branch0.if,block:branch0});var branch1=cloneASTElement(el);getAndRemoveAttr(branch1,'v-for',true);addRawAttr(branch1,'type','radio');processElement(branch1,options);addIfCondition(branch0,{exp:"("+typeBinding+")==='radio'"+ifConditionExtra,block:branch1});var branch2=cloneASTElement(el);getAndRemoveAttr(branch2,'v-for',true);addRawAttr(branch2,':type',typeBinding);processElement(branch2,options);addIfCondition(branch0,{exp:ifCondition,block:branch2});if(hasElse){branch0.else=true;}else if(elseIfCondition){branch0.elseif=elseIfCondition;}
return branch0}}}
function cloneASTElement(el){return createASTElement(el.tag,el.attrsList.slice(),el.parent)}
var model$1={preTransformNode:preTransformNode};var modules$1=[klass$1,style$1,model$1];function text(el,dir){if(dir.value){addProp(el,'textContent',("_s("+(dir.value)+")"),dir);}}
function html(el,dir){if(dir.value){addProp(el,'innerHTML',("_s("+(dir.value)+")"),dir);}}
var directives$1={model:model,text:text,html:html};var baseOptions={expectHTML:true,modules:modules$1,directives:directives$1,isPreTag:isPreTag,isUnaryTag:isUnaryTag,mustUseProp:mustUseProp,canBeLeftOpenTag:canBeLeftOpenTag,isReservedTag:isReservedTag,getTagNamespace:getTagNamespace,staticKeys:genStaticKeys(modules$1)};var isStaticKey;var isPlatformReservedTag;var genStaticKeysCached=cached(genStaticKeys$1);function optimize(root,options){if(!root){return}
isStaticKey=genStaticKeysCached(options.staticKeys||'');isPlatformReservedTag=options.isReservedTag||no;markStatic$1(root);markStaticRoots(root,false);}
function genStaticKeys$1(keys){return makeMap('type,tag,attrsList,attrsMap,plain,parent,children,attrs,start,end,rawAttrsMap'+
(keys?','+keys:''))}
function markStatic$1(node){node.static=isStatic(node);if(node.type===1){if(!isPlatformReservedTag(node.tag)&&node.tag!=='slot'&&node.attrsMap['inline-template']==null){return}
for(var i=0,l=node.children.length;i<l;i++){var child=node.children[i];markStatic$1(child);if(!child.static){node.static=false;}}
if(node.ifConditions){for(var i$1=1,l$1=node.ifConditions.length;i$1<l$1;i$1++){var block=node.ifConditions[i$1].block;markStatic$1(block);if(!block.static){node.static=false;}}}}}
function markStaticRoots(node,isInFor){if(node.type===1){if(node.static||node.once){node.staticInFor=isInFor;}
if(node.static&&node.children.length&&!(node.children.length===1&&node.children[0].type===3)){node.staticRoot=true;return}else{node.staticRoot=false;}
if(node.children){for(var i=0,l=node.children.length;i<l;i++){markStaticRoots(node.children[i],isInFor||!!node.for);}}
if(node.ifConditions){for(var i$1=1,l$1=node.ifConditions.length;i$1<l$1;i$1++){markStaticRoots(node.ifConditions[i$1].block,isInFor);}}}}
function isStatic(node){if(node.type===2){return false}
if(node.type===3){return true}
return!!(node.pre||(!node.hasBindings&&!node.if&&!node.for&&!isBuiltInTag(node.tag)&&isPlatformReservedTag(node.tag)&&!isDirectChildOfTemplateFor(node)&&Object.keys(node).every(isStaticKey)))}
function isDirectChildOfTemplateFor(node){while(node.parent){node=node.parent;if(node.tag!=='template'){return false}
if(node.for){return true}}
return false}
var fnExpRE=/^([\w$_]+|\([^)]*?\))\s*=>|^function\s*(?:[\w$]+)?\s*\(/;var fnInvokeRE=/\([^)]*?\);*$/;var simplePathRE=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/;var keyCodes={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,'delete':[8,46]};var keyNames={esc:['Esc','Escape'],tab:'Tab',enter:'Enter',space:[' ','Spacebar'],up:['Up','ArrowUp'],left:['Left','ArrowLeft'],right:['Right','ArrowRight'],down:['Down','ArrowDown'],'delete':['Backspace','Delete','Del']};var genGuard=function(condition){return("if("+condition+")return null;");};var modifierCode={stop:'$event.stopPropagation();',prevent:'$event.preventDefault();',self:genGuard("$event.target !== $event.currentTarget"),ctrl:genGuard("!$event.ctrlKey"),shift:genGuard("!$event.shiftKey"),alt:genGuard("!$event.altKey"),meta:genGuard("!$event.metaKey"),left:genGuard("'button' in $event && $event.button !== 0"),middle:genGuard("'button' in $event && $event.button !== 1"),right:genGuard("'button' in $event && $event.button !== 2")};function genHandlers(events,isNative){var prefix=isNative?'nativeOn:':'on:';var staticHandlers="";var dynamicHandlers="";for(var name in events){var handlerCode=genHandler(events[name]);if(events[name]&&events[name].dynamic){dynamicHandlers+=name+","+handlerCode+",";}else{staticHandlers+="\""+name+"\":"+handlerCode+",";}}
staticHandlers="{"+(staticHandlers.slice(0,-1))+"}";if(dynamicHandlers){return prefix+"_d("+staticHandlers+",["+(dynamicHandlers.slice(0,-1))+"])"}else{return prefix+staticHandlers}}
function genHandler(handler){if(!handler){return'function(){}'}
if(Array.isArray(handler)){return("["+(handler.map(function(handler){return genHandler(handler);}).join(','))+"]")}
var isMethodPath=simplePathRE.test(handler.value);var isFunctionExpression=fnExpRE.test(handler.value);var isFunctionInvocation=simplePathRE.test(handler.value.replace(fnInvokeRE,''));if(!handler.modifiers){if(isMethodPath||isFunctionExpression){return handler.value}
return("function($event){"+(isFunctionInvocation?("return "+(handler.value)):handler.value)+"}")}else{var code='';var genModifierCode='';var keys=[];for(var key in handler.modifiers){if(modifierCode[key]){genModifierCode+=modifierCode[key];if(keyCodes[key]){keys.push(key);}}else if(key==='exact'){var modifiers=(handler.modifiers);genModifierCode+=genGuard(['ctrl','shift','alt','meta'].filter(function(keyModifier){return!modifiers[keyModifier];}).map(function(keyModifier){return("$event."+keyModifier+"Key");}).join('||'));}else{keys.push(key);}}
if(keys.length){code+=genKeyFilter(keys);}
if(genModifierCode){code+=genModifierCode;}
var handlerCode=isMethodPath?("return "+(handler.value)+"($event)"):isFunctionExpression?("return ("+(handler.value)+")($event)"):isFunctionInvocation?("return "+(handler.value)):handler.value;return("function($event){"+code+handlerCode+"}")}}
function genKeyFilter(keys){return("if(!$event.type.indexOf('key')&&"+
(keys.map(genFilterCode).join('&&'))+")return null;")}
function genFilterCode(key){var keyVal=parseInt(key,10);if(keyVal){return("$event.keyCode!=="+keyVal)}
var keyCode=keyCodes[key];var keyName=keyNames[key];return("_k($event.keyCode,"+
(JSON.stringify(key))+","+
(JSON.stringify(keyCode))+","+"$event.key,"+""+(JSON.stringify(keyName))+")")}
function on(el,dir){if(dir.modifiers){warn("v-on without argument does not support modifiers.");}
el.wrapListeners=function(code){return("_g("+code+","+(dir.value)+")");};}
function bind$1(el,dir){el.wrapData=function(code){return("_b("+code+",'"+(el.tag)+"',"+(dir.value)+","+(dir.modifiers&&dir.modifiers.prop?'true':'false')+(dir.modifiers&&dir.modifiers.sync?',true':'')+")")};}
var baseDirectives={on:on,bind:bind$1,cloak:noop};var CodegenState=function CodegenState(options){this.options=options;this.warn=options.warn||baseWarn;this.transforms=pluckModuleFunction(options.modules,'transformCode');this.dataGenFns=pluckModuleFunction(options.modules,'genData');this.directives=extend(extend({},baseDirectives),options.directives);var isReservedTag=options.isReservedTag||no;this.maybeComponent=function(el){return!!el.component||!isReservedTag(el.tag);};this.onceId=0;this.staticRenderFns=[];this.pre=false;};function generate(ast,options){var state=new CodegenState(options);var code=ast?genElement(ast,state):'_c("div")';return{render:("with(this){return "+code+"}"),staticRenderFns:state.staticRenderFns}}
function genElement(el,state){if(el.parent){el.pre=el.pre||el.parent.pre;}
if(el.staticRoot&&!el.staticProcessed){return genStatic(el,state)}else if(el.once&&!el.onceProcessed){return genOnce(el,state)}else if(el.for&&!el.forProcessed){return genFor(el,state)}else if(el.if&&!el.ifProcessed){return genIf(el,state)}else if(el.tag==='template'&&!el.slotTarget&&!state.pre){return genChildren(el,state)||'void 0'}else if(el.tag==='slot'){return genSlot(el,state)}else{var code;if(el.component){code=genComponent(el.component,el,state);}else{var data;if(!el.plain||(el.pre&&state.maybeComponent(el))){data=genData$2(el,state);}
var children=el.inlineTemplate?null:genChildren(el,state,true);code="_c('"+(el.tag)+"'"+(data?(","+data):'')+(children?(","+children):'')+")";}
for(var i=0;i<state.transforms.length;i++){code=state.transforms[i](el,code);}
return code}}
function genStatic(el,state){el.staticProcessed=true;var originalPreState=state.pre;if(el.pre){state.pre=el.pre;}
state.staticRenderFns.push(("with(this){return "+(genElement(el,state))+"}"));state.pre=originalPreState;return("_m("+(state.staticRenderFns.length-1)+(el.staticInFor?',true':'')+")")}
function genOnce(el,state){el.onceProcessed=true;if(el.if&&!el.ifProcessed){return genIf(el,state)}else if(el.staticInFor){var key='';var parent=el.parent;while(parent){if(parent.for){key=parent.key;break}
parent=parent.parent;}
if(!key){state.warn("v-once can only be used inside v-for that is keyed. ",el.rawAttrsMap['v-once']);return genElement(el,state)}
return("_o("+(genElement(el,state))+","+(state.onceId++)+","+key+")")}else{return genStatic(el,state)}}
function genIf(el,state,altGen,altEmpty){el.ifProcessed=true;return genIfConditions(el.ifConditions.slice(),state,altGen,altEmpty)}
function genIfConditions(conditions,state,altGen,altEmpty){if(!conditions.length){return altEmpty||'_e()'}
var condition=conditions.shift();if(condition.exp){return("("+(condition.exp)+")?"+(genTernaryExp(condition.block))+":"+(genIfConditions(conditions,state,altGen,altEmpty)))}else{return(""+(genTernaryExp(condition.block)))}
function genTernaryExp(el){return altGen?altGen(el,state):el.once?genOnce(el,state):genElement(el,state)}}
function genFor(el,state,altGen,altHelper){var exp=el.for;var alias=el.alias;var iterator1=el.iterator1?(","+(el.iterator1)):'';var iterator2=el.iterator2?(","+(el.iterator2)):'';if(state.maybeComponent(el)&&el.tag!=='slot'&&el.tag!=='template'&&!el.key){state.warn("<"+(el.tag)+" v-for=\""+alias+" in "+exp+"\">: component lists rendered with "+"v-for should have explicit keys. "+"See https://vuejs.org/guide/list.html#key for more info.",el.rawAttrsMap['v-for'],true);}
el.forProcessed=true;return(altHelper||'_l')+"(("+exp+"),"+"function("+alias+iterator1+iterator2+"){"+"return "+((altGen||genElement)(el,state))+'})'}
function genData$2(el,state){var data='{';var dirs=genDirectives(el,state);if(dirs){data+=dirs+',';}
if(el.key){data+="key:"+(el.key)+",";}
if(el.ref){data+="ref:"+(el.ref)+",";}
if(el.refInFor){data+="refInFor:true,";}
if(el.pre){data+="pre:true,";}
if(el.component){data+="tag:\""+(el.tag)+"\",";}
for(var i=0;i<state.dataGenFns.length;i++){data+=state.dataGenFns[i](el);}
if(el.attrs){data+="attrs:"+(genProps(el.attrs))+",";}
if(el.props){data+="domProps:"+(genProps(el.props))+",";}
if(el.events){data+=(genHandlers(el.events,false))+",";}
if(el.nativeEvents){data+=(genHandlers(el.nativeEvents,true))+",";}
if(el.slotTarget&&!el.slotScope){data+="slot:"+(el.slotTarget)+",";}
if(el.scopedSlots){data+=(genScopedSlots(el,el.scopedSlots,state))+",";}
if(el.model){data+="model:{value:"+(el.model.value)+",callback:"+(el.model.callback)+",expression:"+(el.model.expression)+"},";}
if(el.inlineTemplate){var inlineTemplate=genInlineTemplate(el,state);if(inlineTemplate){data+=inlineTemplate+",";}}
data=data.replace(/,$/,'')+'}';if(el.dynamicAttrs){data="_b("+data+",\""+(el.tag)+"\","+(genProps(el.dynamicAttrs))+")";}
if(el.wrapData){data=el.wrapData(data);}
if(el.wrapListeners){data=el.wrapListeners(data);}
return data}
function genDirectives(el,state){var dirs=el.directives;if(!dirs){return}
var res='directives:[';var hasRuntime=false;var i,l,dir,needRuntime;for(i=0,l=dirs.length;i<l;i++){dir=dirs[i];needRuntime=true;var gen=state.directives[dir.name];if(gen){needRuntime=!!gen(el,dir,state.warn);}
if(needRuntime){hasRuntime=true;res+="{name:\""+(dir.name)+"\",rawName:\""+(dir.rawName)+"\""+(dir.value?(",value:("+(dir.value)+"),expression:"+(JSON.stringify(dir.value))):'')+(dir.arg?(",arg:"+(dir.isDynamicArg?dir.arg:("\""+(dir.arg)+"\""))):'')+(dir.modifiers?(",modifiers:"+(JSON.stringify(dir.modifiers))):'')+"},";}}
if(hasRuntime){return res.slice(0,-1)+']'}}
function genInlineTemplate(el,state){var ast=el.children[0];if(el.children.length!==1||ast.type!==1){state.warn('Inline-template components must have exactly one child element.',{start:el.start});}
if(ast&&ast.type===1){var inlineRenderFns=generate(ast,state.options);return("inlineTemplate:{render:function(){"+(inlineRenderFns.render)+"},staticRenderFns:["+(inlineRenderFns.staticRenderFns.map(function(code){return("function(){"+code+"}");}).join(','))+"]}")}}
function genScopedSlots(el,slots,state){var needsForceUpdate=el.for||Object.keys(slots).some(function(key){var slot=slots[key];return(slot.slotTargetDynamic||slot.if||slot.for||containsSlotChild(slot))});var needsKey=!!el.if;if(!needsForceUpdate){var parent=el.parent;while(parent){if((parent.slotScope&&parent.slotScope!==emptySlotScopeToken)||parent.for){needsForceUpdate=true;break}
if(parent.if){needsKey=true;}
parent=parent.parent;}}
var generatedSlots=Object.keys(slots).map(function(key){return genScopedSlot(slots[key],state);}).join(',');return("scopedSlots:_u(["+generatedSlots+"]"+(needsForceUpdate?",null,true":"")+(!needsForceUpdate&&needsKey?(",null,false,"+(hash(generatedSlots))):"")+")")}
function hash(str){var hash=5381;var i=str.length;while(i){hash=(hash*33)^str.charCodeAt(--i);}
return hash>>>0}
function containsSlotChild(el){if(el.type===1){if(el.tag==='slot'){return true}
return el.children.some(containsSlotChild)}
return false}
function genScopedSlot(el,state){var isLegacySyntax=el.attrsMap['slot-scope'];if(el.if&&!el.ifProcessed&&!isLegacySyntax){return genIf(el,state,genScopedSlot,"null")}
if(el.for&&!el.forProcessed){return genFor(el,state,genScopedSlot)}
var slotScope=el.slotScope===emptySlotScopeToken?"":String(el.slotScope);var fn="function("+slotScope+"){"+"return "+(el.tag==='template'?el.if&&isLegacySyntax?("("+(el.if)+")?"+(genChildren(el,state)||'undefined')+":undefined"):genChildren(el,state)||'undefined':genElement(el,state))+"}";var reverseProxy=slotScope?"":",proxy:true";return("{key:"+(el.slotTarget||"\"default\"")+",fn:"+fn+reverseProxy+"}")}
function genChildren(el,state,checkSkip,altGenElement,altGenNode){var children=el.children;if(children.length){var el$1=children[0];if(children.length===1&&el$1.for&&el$1.tag!=='template'&&el$1.tag!=='slot'){var normalizationType=checkSkip?state.maybeComponent(el$1)?",1":",0":"";return(""+((altGenElement||genElement)(el$1,state))+normalizationType)}
var normalizationType$1=checkSkip?getNormalizationType(children,state.maybeComponent):0;var gen=altGenNode||genNode;return("["+(children.map(function(c){return gen(c,state);}).join(','))+"]"+(normalizationType$1?(","+normalizationType$1):''))}}
function getNormalizationType(children,maybeComponent){var res=0;for(var i=0;i<children.length;i++){var el=children[i];if(el.type!==1){continue}
if(needsNormalization(el)||(el.ifConditions&&el.ifConditions.some(function(c){return needsNormalization(c.block);}))){res=2;break}
if(maybeComponent(el)||(el.ifConditions&&el.ifConditions.some(function(c){return maybeComponent(c.block);}))){res=1;}}
return res}
function needsNormalization(el){return el.for!==undefined||el.tag==='template'||el.tag==='slot'}
function genNode(node,state){if(node.type===1){return genElement(node,state)}else if(node.type===3&&node.isComment){return genComment(node)}else{return genText(node)}}
function genText(text){return("_v("+(text.type===2?text.expression:transformSpecialNewlines(JSON.stringify(text.text)))+")")}
function genComment(comment){return("_e("+(JSON.stringify(comment.text))+")")}
function genSlot(el,state){var slotName=el.slotName||'"default"';var children=genChildren(el,state);var res="_t("+slotName+(children?(","+children):'');var attrs=el.attrs||el.dynamicAttrs?genProps((el.attrs||[]).concat(el.dynamicAttrs||[]).map(function(attr){return({name:camelize(attr.name),value:attr.value,dynamic:attr.dynamic});})):null;var bind$$1=el.attrsMap['v-bind'];if((attrs||bind$$1)&&!children){res+=",null";}
if(attrs){res+=","+attrs;}
if(bind$$1){res+=(attrs?'':',null')+","+bind$$1;}
return res+')'}
function genComponent(componentName,el,state){var children=el.inlineTemplate?null:genChildren(el,state,true);return("_c("+componentName+","+(genData$2(el,state))+(children?(","+children):'')+")")}
function genProps(props){var staticProps="";var dynamicProps="";for(var i=0;i<props.length;i++){var prop=props[i];var value=transformSpecialNewlines(prop.value);if(prop.dynamic){dynamicProps+=(prop.name)+","+value+",";}else{staticProps+="\""+(prop.name)+"\":"+value+",";}}
staticProps="{"+(staticProps.slice(0,-1))+"}";if(dynamicProps){return("_d("+staticProps+",["+(dynamicProps.slice(0,-1))+"])")}else{return staticProps}}
function transformSpecialNewlines(text){return text.replace(/\u2028/g,'\\u2028').replace(/\u2029/g,'\\u2029')}
var prohibitedKeywordRE=new RegExp('\\b'+('do,if,for,let,new,try,var,case,else,with,await,break,catch,class,const,'+'super,throw,while,yield,delete,export,import,return,switch,default,'+'extends,finally,continue,debugger,function,arguments').split(',').join('\\b|\\b')+'\\b');var unaryOperatorsRE=new RegExp('\\b'+('delete,typeof,void').split(',').join('\\s*\\([^\\)]*\\)|\\b')+'\\s*\\([^\\)]*\\)');var stripStringRE=/'(?:[^'\\]|\\.)*'|"(?:[^"\\]|\\.)*"|`(?:[^`\\]|\\.)*\$\{|\}(?:[^`\\]|\\.)*`|`(?:[^`\\]|\\.)*`/g;function detectErrors(ast,warn){if(ast){checkNode(ast,warn);}}
function checkNode(node,warn){if(node.type===1){for(var name in node.attrsMap){if(dirRE.test(name)){var value=node.attrsMap[name];if(value){var range=node.rawAttrsMap[name];if(name==='v-for'){checkFor(node,("v-for=\""+value+"\""),warn,range);}else if(onRE.test(name)){checkEvent(value,(name+"=\""+value+"\""),warn,range);}else{checkExpression(value,(name+"=\""+value+"\""),warn,range);}}}}
if(node.children){for(var i=0;i<node.children.length;i++){checkNode(node.children[i],warn);}}}else if(node.type===2){checkExpression(node.expression,node.text,warn,node);}}
function checkEvent(exp,text,warn,range){var stipped=exp.replace(stripStringRE,'');var keywordMatch=stipped.match(unaryOperatorsRE);if(keywordMatch&&stipped.charAt(keywordMatch.index-1)!=='$'){warn("avoid using JavaScript unary operator as property name: "+"\""+(keywordMatch[0])+"\" in expression "+(text.trim()),range);}
checkExpression(exp,text,warn,range);}
function checkFor(node,text,warn,range){checkExpression(node.for||'',text,warn,range);checkIdentifier(node.alias,'v-for alias',text,warn,range);checkIdentifier(node.iterator1,'v-for iterator',text,warn,range);checkIdentifier(node.iterator2,'v-for iterator',text,warn,range);}
function checkIdentifier(ident,type,text,warn,range){if(typeof ident==='string'){try{new Function(("var "+ident+"=_"));}catch(e){warn(("invalid "+type+" \""+ident+"\" in expression: "+(text.trim())),range);}}}
function checkExpression(exp,text,warn,range){try{new Function(("return "+exp));}catch(e){var keywordMatch=exp.replace(stripStringRE,'').match(prohibitedKeywordRE);if(keywordMatch){warn("avoid using JavaScript keyword as property name: "+"\""+(keywordMatch[0])+"\"\n  Raw expression: "+(text.trim()),range);}else{warn("invalid expression: "+(e.message)+" in\n\n"+"    "+exp+"\n\n"+"  Raw expression: "+(text.trim())+"\n",range);}}}
var range=2;function generateCodeFrame(source,start,end){if(start===void 0)start=0;if(end===void 0)end=source.length;var lines=source.split(/\r?\n/);var count=0;var res=[];for(var i=0;i<lines.length;i++){count+=lines[i].length+1;if(count>=start){for(var j=i-range;j<=i+range||end>count;j++){if(j<0||j>=lines.length){continue}
res.push((""+(j+1)+(repeat$1(" ",3-String(j+1).length))+"|  "+(lines[j])));var lineLength=lines[j].length;if(j===i){var pad=start-(count-lineLength)+1;var length=end>count?lineLength-pad:end-start;res.push("   |  "+repeat$1(" ",pad)+repeat$1("^",length));}else if(j>i){if(end>count){var length$1=Math.min(end-count,lineLength);res.push("   |  "+repeat$1("^",length$1));}
count+=lineLength+1;}}
break}}
return res.join('\n')}
function repeat$1(str,n){var result='';if(n>0){while(true){if(n&1){result+=str;}
n>>>=1;if(n<=0){break}
str+=str;}}
return result}
function createFunction(code,errors){try{return new Function(code)}catch(err){errors.push({err:err,code:code});return noop}}
function createCompileToFunctionFn(compile){var cache=Object.create(null);return function compileToFunctions(template,options,vm){options=extend({},options);var warn$$1=options.warn||warn;delete options.warn;{try{new Function('return 1');}catch(e){if(e.toString().match(/unsafe-eval|CSP/)){warn$$1('It seems you are using the standalone build of Vue.js in an '+'environment with Content Security Policy that prohibits unsafe-eval. '+'The template compiler cannot work in this environment. Consider '+'relaxing the policy to allow unsafe-eval or pre-compiling your '+'templates into render functions.');}}}
var key=options.delimiters?String(options.delimiters)+template:template;if(cache[key]){return cache[key]}
var compiled=compile(template,options);{if(compiled.errors&&compiled.errors.length){if(options.outputSourceRange){compiled.errors.forEach(function(e){warn$$1("Error compiling template:\n\n"+(e.msg)+"\n\n"+
generateCodeFrame(template,e.start,e.end),vm);});}else{warn$$1("Error compiling template:\n\n"+template+"\n\n"+
compiled.errors.map(function(e){return("- "+e);}).join('\n')+'\n',vm);}}
if(compiled.tips&&compiled.tips.length){if(options.outputSourceRange){compiled.tips.forEach(function(e){return tip(e.msg,vm);});}else{compiled.tips.forEach(function(msg){return tip(msg,vm);});}}}
var res={};var fnGenErrors=[];res.render=createFunction(compiled.render,fnGenErrors);res.staticRenderFns=compiled.staticRenderFns.map(function(code){return createFunction(code,fnGenErrors)});{if((!compiled.errors||!compiled.errors.length)&&fnGenErrors.length){warn$$1("Failed to generate render function:\n\n"+
fnGenErrors.map(function(ref){var err=ref.err;var code=ref.code;return((err.toString())+" in\n\n"+code+"\n");}).join('\n'),vm);}}
return(cache[key]=res)}}
function createCompilerCreator(baseCompile){return function createCompiler(baseOptions){function compile(template,options){var finalOptions=Object.create(baseOptions);var errors=[];var tips=[];var warn=function(msg,range,tip){(tip?tips:errors).push(msg);};if(options){if(options.outputSourceRange){var leadingSpaceLength=template.match(/^\s*/)[0].length;warn=function(msg,range,tip){var data={msg:msg};if(range){if(range.start!=null){data.start=range.start+leadingSpaceLength;}
if(range.end!=null){data.end=range.end+leadingSpaceLength;}}
(tip?tips:errors).push(data);};}
if(options.modules){finalOptions.modules=(baseOptions.modules||[]).concat(options.modules);}
if(options.directives){finalOptions.directives=extend(Object.create(baseOptions.directives||null),options.directives);}
for(var key in options){if(key!=='modules'&&key!=='directives'){finalOptions[key]=options[key];}}}
finalOptions.warn=warn;var compiled=baseCompile(template.trim(),finalOptions);{detectErrors(compiled.ast,warn);}
compiled.errors=errors;compiled.tips=tips;return compiled}
return{compile:compile,compileToFunctions:createCompileToFunctionFn(compile)}}}
var createCompiler=createCompilerCreator(function baseCompile(template,options){var ast=parse(template.trim(),options);if(options.optimize!==false){optimize(ast,options);}
var code=generate(ast,options);return{ast:ast,render:code.render,staticRenderFns:code.staticRenderFns}});var ref$1=createCompiler(baseOptions);var compile=ref$1.compile;var compileToFunctions=ref$1.compileToFunctions;var div;function getShouldDecode(href){div=div||document.createElement('div');div.innerHTML=href?"<a href=\"\n\"/>":"<div a=\"\n\"/>";return div.innerHTML.indexOf('&#10;')>0}
var shouldDecodeNewlines=inBrowser?getShouldDecode(false):false;var shouldDecodeNewlinesForHref=inBrowser?getShouldDecode(true):false;var idToTemplate=cached(function(id){var el=query(id);return el&&el.innerHTML});var mount=Vue.prototype.$mount;Vue.prototype.$mount=function(el,hydrating){el=el&&query(el);if(el===document.body||el===document.documentElement){warn("Do not mount Vue to <html> or <body> - mount to normal elements instead.");return this}
var options=this.$options;if(!options.render){var template=options.template;if(template){if(typeof template==='string'){if(template.charAt(0)==='#'){template=idToTemplate(template);if(!template){warn(("Template element not found or is empty: "+(options.template)),this);}}}else if(template.nodeType){template=template.innerHTML;}else{{warn('invalid template option:'+template,this);}
return this}}else if(el){template=getOuterHTML(el);}
if(template){if(config.performance&&mark){mark('compile');}
var ref=compileToFunctions(template,{outputSourceRange:"development"!=='production',shouldDecodeNewlines:shouldDecodeNewlines,shouldDecodeNewlinesForHref:shouldDecodeNewlinesForHref,delimiters:options.delimiters,comments:options.comments},this);var render=ref.render;var staticRenderFns=ref.staticRenderFns;options.render=render;options.staticRenderFns=staticRenderFns;if(config.performance&&mark){mark('compile end');measure(("vue "+(this._name)+" compile"),'compile','compile end');}}}
return mount.call(this,el,hydrating)};function getOuterHTML(el){if(el.outerHTML){return el.outerHTML}else{var container=document.createElement('div');container.appendChild(el.cloneNode(true));return container.innerHTML}}
Vue.compile=compileToFunctions;return Vue;}));
(function webpackUniversalModuleDefinition(root,factory){if(typeof exports==='object'&&typeof module==='object')
module.exports=factory();else if(typeof define==='function'&&define.amd)
define([],factory);else if(typeof exports==='object')
exports["axios"]=factory();else
root["axios"]=factory();})(this,function(){return(function(modules){var installedModules={};function __webpack_require__(moduleId){if(installedModules[moduleId])
return installedModules[moduleId].exports;var module=installedModules[moduleId]={exports:{},id:moduleId,loaded:false};modules[moduleId].call(module.exports,module,module.exports,__webpack_require__);module.loaded=true;return module.exports;}
__webpack_require__.m=modules;__webpack_require__.c=installedModules;__webpack_require__.p="";return __webpack_require__(0);})
([(function(module,exports,__webpack_require__){module.exports=__webpack_require__(1);}),(function(module,exports,__webpack_require__){'use strict';var utils=__webpack_require__(2);var bind=__webpack_require__(3);var Axios=__webpack_require__(5);var mergeConfig=__webpack_require__(22);var defaults=__webpack_require__(11);function createInstance(defaultConfig){var context=new Axios(defaultConfig);var instance=bind(Axios.prototype.request,context);utils.extend(instance,Axios.prototype,context);utils.extend(instance,context);return instance;}
var axios=createInstance(defaults);axios.Axios=Axios;axios.create=function create(instanceConfig){return createInstance(mergeConfig(axios.defaults,instanceConfig));};axios.Cancel=__webpack_require__(23);axios.CancelToken=__webpack_require__(24);axios.isCancel=__webpack_require__(10);axios.all=function all(promises){return Promise.all(promises);};axios.spread=__webpack_require__(25);module.exports=axios;module.exports.default=axios;}),(function(module,exports,__webpack_require__){'use strict';var bind=__webpack_require__(3);var isBuffer=__webpack_require__(4);var toString=Object.prototype.toString;function isArray(val){return toString.call(val)==='[object Array]';}
function isArrayBuffer(val){return toString.call(val)==='[object ArrayBuffer]';}
function isFormData(val){return(typeof FormData!=='undefined')&&(val instanceof FormData);}
function isArrayBufferView(val){var result;if((typeof ArrayBuffer!=='undefined')&&(ArrayBuffer.isView)){result=ArrayBuffer.isView(val);}else{result=(val)&&(val.buffer)&&(val.buffer instanceof ArrayBuffer);}
return result;}
function isString(val){return typeof val==='string';}
function isNumber(val){return typeof val==='number';}
function isUndefined(val){return typeof val==='undefined';}
function isObject(val){return val!==null&&typeof val==='object';}
function isDate(val){return toString.call(val)==='[object Date]';}
function isFile(val){return toString.call(val)==='[object File]';}
function isBlob(val){return toString.call(val)==='[object Blob]';}
function isFunction(val){return toString.call(val)==='[object Function]';}
function isStream(val){return isObject(val)&&isFunction(val.pipe);}
function isURLSearchParams(val){return typeof URLSearchParams!=='undefined'&&val instanceof URLSearchParams;}
function trim(str){return str.replace(/^\s*/,'').replace(/\s*$/,'');}
function isStandardBrowserEnv(){if(typeof navigator!=='undefined'&&(navigator.product==='ReactNative'||navigator.product==='NativeScript'||navigator.product==='NS')){return false;}
return(typeof window!=='undefined'&&typeof document!=='undefined');}
function forEach(obj,fn){if(obj===null||typeof obj==='undefined'){return;}
if(typeof obj!=='object'){obj=[obj];}
if(isArray(obj)){for(var i=0,l=obj.length;i<l;i++){fn.call(null,obj[i],i,obj);}}else{for(var key in obj){if(Object.prototype.hasOwnProperty.call(obj,key)){fn.call(null,obj[key],key,obj);}}}}
function merge(){var result={};function assignValue(val,key){if(typeof result[key]==='object'&&typeof val==='object'){result[key]=merge(result[key],val);}else{result[key]=val;}}
for(var i=0,l=arguments.length;i<l;i++){forEach(arguments[i],assignValue);}
return result;}
function deepMerge(){var result={};function assignValue(val,key){if(typeof result[key]==='object'&&typeof val==='object'){result[key]=deepMerge(result[key],val);}else if(typeof val==='object'){result[key]=deepMerge({},val);}else{result[key]=val;}}
for(var i=0,l=arguments.length;i<l;i++){forEach(arguments[i],assignValue);}
return result;}
function extend(a,b,thisArg){forEach(b,function assignValue(val,key){if(thisArg&&typeof val==='function'){a[key]=bind(val,thisArg);}else{a[key]=val;}});return a;}
module.exports={isArray:isArray,isArrayBuffer:isArrayBuffer,isBuffer:isBuffer,isFormData:isFormData,isArrayBufferView:isArrayBufferView,isString:isString,isNumber:isNumber,isObject:isObject,isUndefined:isUndefined,isDate:isDate,isFile:isFile,isBlob:isBlob,isFunction:isFunction,isStream:isStream,isURLSearchParams:isURLSearchParams,isStandardBrowserEnv:isStandardBrowserEnv,forEach:forEach,merge:merge,deepMerge:deepMerge,extend:extend,trim:trim};}),(function(module,exports){'use strict';module.exports=function bind(fn,thisArg){return function wrap(){var args=new Array(arguments.length);for(var i=0;i<args.length;i++){args[i]=arguments[i];}
return fn.apply(thisArg,args);};};}),(function(module,exports){
/*!
	 * Determine if an object is a Buffer
	 *
	 * @author   Feross Aboukhadijeh <https://feross.org>
	 * @license  MIT
	 */
module.exports=function isBuffer(obj){return obj!=null&&obj.constructor!=null&&typeof obj.constructor.isBuffer==='function'&&obj.constructor.isBuffer(obj)}}),(function(module,exports,__webpack_require__){'use strict';var utils=__webpack_require__(2);var buildURL=__webpack_require__(6);var InterceptorManager=__webpack_require__(7);var dispatchRequest=__webpack_require__(8);var mergeConfig=__webpack_require__(22);function Axios(instanceConfig){this.defaults=instanceConfig;this.interceptors={request:new InterceptorManager(),response:new InterceptorManager()};}
Axios.prototype.request=function request(config){if(typeof config==='string'){config=arguments[1]||{};config.url=arguments[0];}else{config=config||{};}
config=mergeConfig(this.defaults,config);config.method=config.method?config.method.toLowerCase():'get';var chain=[dispatchRequest,undefined];var promise=Promise.resolve(config);this.interceptors.request.forEach(function unshiftRequestInterceptors(interceptor){chain.unshift(interceptor.fulfilled,interceptor.rejected);});this.interceptors.response.forEach(function pushResponseInterceptors(interceptor){chain.push(interceptor.fulfilled,interceptor.rejected);});while(chain.length){promise=promise.then(chain.shift(),chain.shift());}
return promise;};Axios.prototype.getUri=function getUri(config){config=mergeConfig(this.defaults,config);return buildURL(config.url,config.params,config.paramsSerializer).replace(/^\?/,'');};utils.forEach(['delete','get','head','options'],function forEachMethodNoData(method){Axios.prototype[method]=function(url,config){return this.request(utils.merge(config||{},{method:method,url:url}));};});utils.forEach(['post','put','patch'],function forEachMethodWithData(method){Axios.prototype[method]=function(url,data,config){return this.request(utils.merge(config||{},{method:method,url:url,data:data}));};});module.exports=Axios;}),(function(module,exports,__webpack_require__){'use strict';var utils=__webpack_require__(2);function encode(val){return encodeURIComponent(val).replace(/%40/gi,'@').replace(/%3A/gi,':').replace(/%24/g,'$').replace(/%2C/gi,',').replace(/%20/g,'+').replace(/%5B/gi,'[').replace(/%5D/gi,']');}
module.exports=function buildURL(url,params,paramsSerializer){if(!params){return url;}
var serializedParams;if(paramsSerializer){serializedParams=paramsSerializer(params);}else if(utils.isURLSearchParams(params)){serializedParams=params.toString();}else{var parts=[];utils.forEach(params,function serialize(val,key){if(val===null||typeof val==='undefined'){return;}
if(utils.isArray(val)){key=key+'[]';}else{val=[val];}
utils.forEach(val,function parseValue(v){if(utils.isDate(v)){v=v.toISOString();}else if(utils.isObject(v)){v=JSON.stringify(v);}
parts.push(encode(key)+'='+encode(v));});});serializedParams=parts.join('&');}
if(serializedParams){var hashmarkIndex=url.indexOf('#');if(hashmarkIndex!==-1){url=url.slice(0,hashmarkIndex);}
url+=(url.indexOf('?')===-1?'?':'&')+serializedParams;}
return url;};}),(function(module,exports,__webpack_require__){'use strict';var utils=__webpack_require__(2);function InterceptorManager(){this.handlers=[];}
InterceptorManager.prototype.use=function use(fulfilled,rejected){this.handlers.push({fulfilled:fulfilled,rejected:rejected});return this.handlers.length-1;};InterceptorManager.prototype.eject=function eject(id){if(this.handlers[id]){this.handlers[id]=null;}};InterceptorManager.prototype.forEach=function forEach(fn){utils.forEach(this.handlers,function forEachHandler(h){if(h!==null){fn(h);}});};module.exports=InterceptorManager;}),(function(module,exports,__webpack_require__){'use strict';var utils=__webpack_require__(2);var transformData=__webpack_require__(9);var isCancel=__webpack_require__(10);var defaults=__webpack_require__(11);var isAbsoluteURL=__webpack_require__(20);var combineURLs=__webpack_require__(21);function throwIfCancellationRequested(config){if(config.cancelToken){config.cancelToken.throwIfRequested();}}
module.exports=function dispatchRequest(config){throwIfCancellationRequested(config);if(config.baseURL&&!isAbsoluteURL(config.url)){config.url=combineURLs(config.baseURL,config.url);}
config.headers=config.headers||{};config.data=transformData(config.data,config.headers,config.transformRequest);config.headers=utils.merge(config.headers.common||{},config.headers[config.method]||{},config.headers||{});utils.forEach(['delete','get','head','post','put','patch','common'],function cleanHeaderConfig(method){delete config.headers[method];});var adapter=config.adapter||defaults.adapter;return adapter(config).then(function onAdapterResolution(response){throwIfCancellationRequested(config);response.data=transformData(response.data,response.headers,config.transformResponse);return response;},function onAdapterRejection(reason){if(!isCancel(reason)){throwIfCancellationRequested(config);if(reason&&reason.response){reason.response.data=transformData(reason.response.data,reason.response.headers,config.transformResponse);}}
return Promise.reject(reason);});};}),(function(module,exports,__webpack_require__){'use strict';var utils=__webpack_require__(2);module.exports=function transformData(data,headers,fns){utils.forEach(fns,function transform(fn){data=fn(data,headers);});return data;};}),(function(module,exports){'use strict';module.exports=function isCancel(value){return!!(value&&value.__CANCEL__);};}),(function(module,exports,__webpack_require__){'use strict';var utils=__webpack_require__(2);var normalizeHeaderName=__webpack_require__(12);var DEFAULT_CONTENT_TYPE={'Content-Type':'application/x-www-form-urlencoded'};function setContentTypeIfUnset(headers,value){if(!utils.isUndefined(headers)&&utils.isUndefined(headers['Content-Type'])){headers['Content-Type']=value;}}
function getDefaultAdapter(){var adapter;if(typeof process!=='undefined'&&Object.prototype.toString.call(process)==='[object process]'){adapter=__webpack_require__(13);}else if(typeof XMLHttpRequest!=='undefined'){adapter=__webpack_require__(13);}
return adapter;}
var defaults={adapter:getDefaultAdapter(),transformRequest:[function transformRequest(data,headers){normalizeHeaderName(headers,'Accept');normalizeHeaderName(headers,'Content-Type');if(utils.isFormData(data)||utils.isArrayBuffer(data)||utils.isBuffer(data)||utils.isStream(data)||utils.isFile(data)||utils.isBlob(data)){return data;}
if(utils.isArrayBufferView(data)){return data.buffer;}
if(utils.isURLSearchParams(data)){setContentTypeIfUnset(headers,'application/x-www-form-urlencoded;charset=utf-8');return data.toString();}
if(utils.isObject(data)){setContentTypeIfUnset(headers,'application/json;charset=utf-8');return JSON.stringify(data);}
return data;}],transformResponse:[function transformResponse(data){if(typeof data==='string'){try{data=JSON.parse(data);}catch(e){}}
return data;}],timeout:0,xsrfCookieName:'XSRF-TOKEN',xsrfHeaderName:'X-XSRF-TOKEN',maxContentLength:-1,validateStatus:function validateStatus(status){return status>=200&&status<300;}};defaults.headers={common:{'Accept':'application/json, text/plain, */*'}};utils.forEach(['delete','get','head'],function forEachMethodNoData(method){defaults.headers[method]={};});utils.forEach(['post','put','patch'],function forEachMethodWithData(method){defaults.headers[method]=utils.merge(DEFAULT_CONTENT_TYPE);});module.exports=defaults;}),(function(module,exports,__webpack_require__){'use strict';var utils=__webpack_require__(2);module.exports=function normalizeHeaderName(headers,normalizedName){utils.forEach(headers,function processHeader(value,name){if(name!==normalizedName&&name.toUpperCase()===normalizedName.toUpperCase()){headers[normalizedName]=value;delete headers[name];}});};}),(function(module,exports,__webpack_require__){'use strict';var utils=__webpack_require__(2);var settle=__webpack_require__(14);var buildURL=__webpack_require__(6);var parseHeaders=__webpack_require__(17);var isURLSameOrigin=__webpack_require__(18);var createError=__webpack_require__(15);module.exports=function xhrAdapter(config){return new Promise(function dispatchXhrRequest(resolve,reject){var requestData=config.data;var requestHeaders=config.headers;if(utils.isFormData(requestData)){delete requestHeaders['Content-Type'];}
var request=new XMLHttpRequest();if(config.auth){var username=config.auth.username||'';var password=config.auth.password||'';requestHeaders.Authorization='Basic '+btoa(username+':'+password);}
request.open(config.method.toUpperCase(),buildURL(config.url,config.params,config.paramsSerializer),true);request.timeout=config.timeout;request.onreadystatechange=function handleLoad(){if(!request||request.readyState!==4){return;}
if(request.status===0&&!(request.responseURL&&request.responseURL.indexOf('file:')===0)){return;}
var responseHeaders='getAllResponseHeaders'in request?parseHeaders(request.getAllResponseHeaders()):null;var responseData=!config.responseType||config.responseType==='text'?request.responseText:request.response;var response={data:responseData,status:request.status,statusText:request.statusText,headers:responseHeaders,config:config,request:request};settle(resolve,reject,response);request=null;};request.onabort=function handleAbort(){if(!request){return;}
reject(createError('Request aborted',config,'ECONNABORTED',request));request=null;};request.onerror=function handleError(){reject(createError('Network Error',config,null,request));request=null;};request.ontimeout=function handleTimeout(){reject(createError('timeout of '+config.timeout+'ms exceeded',config,'ECONNABORTED',request));request=null;};if(utils.isStandardBrowserEnv()){var cookies=__webpack_require__(19);var xsrfValue=(config.withCredentials||isURLSameOrigin(config.url))&&config.xsrfCookieName?cookies.read(config.xsrfCookieName):undefined;if(xsrfValue){requestHeaders[config.xsrfHeaderName]=xsrfValue;}}
if('setRequestHeader'in request){utils.forEach(requestHeaders,function setRequestHeader(val,key){if(typeof requestData==='undefined'&&key.toLowerCase()==='content-type'){delete requestHeaders[key];}else{request.setRequestHeader(key,val);}});}
if(config.withCredentials){request.withCredentials=true;}
if(config.responseType){try{request.responseType=config.responseType;}catch(e){if(config.responseType!=='json'){throw e;}}}
if(typeof config.onDownloadProgress==='function'){request.addEventListener('progress',config.onDownloadProgress);}
if(typeof config.onUploadProgress==='function'&&request.upload){request.upload.addEventListener('progress',config.onUploadProgress);}
if(config.cancelToken){config.cancelToken.promise.then(function onCanceled(cancel){if(!request){return;}
request.abort();reject(cancel);request=null;});}
if(requestData===undefined){requestData=null;}
request.send(requestData);});};}),(function(module,exports,__webpack_require__){'use strict';var createError=__webpack_require__(15);module.exports=function settle(resolve,reject,response){var validateStatus=response.config.validateStatus;if(!validateStatus||validateStatus(response.status)){resolve(response);}else{reject(createError('Request failed with status code '+response.status,response.config,null,response.request,response));}};}),(function(module,exports,__webpack_require__){'use strict';var enhanceError=__webpack_require__(16);module.exports=function createError(message,config,code,request,response){var error=new Error(message);return enhanceError(error,config,code,request,response);};}),(function(module,exports){'use strict';module.exports=function enhanceError(error,config,code,request,response){error.config=config;if(code){error.code=code;}
error.request=request;error.response=response;error.isAxiosError=true;error.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code};};return error;};}),(function(module,exports,__webpack_require__){'use strict';var utils=__webpack_require__(2);var ignoreDuplicateOf=['age','authorization','content-length','content-type','etag','expires','from','host','if-modified-since','if-unmodified-since','last-modified','location','max-forwards','proxy-authorization','referer','retry-after','user-agent'];module.exports=function parseHeaders(headers){var parsed={};var key;var val;var i;if(!headers){return parsed;}
utils.forEach(headers.split('\n'),function parser(line){i=line.indexOf(':');key=utils.trim(line.substr(0,i)).toLowerCase();val=utils.trim(line.substr(i+1));if(key){if(parsed[key]&&ignoreDuplicateOf.indexOf(key)>=0){return;}
if(key==='set-cookie'){parsed[key]=(parsed[key]?parsed[key]:[]).concat([val]);}else{parsed[key]=parsed[key]?parsed[key]+', '+val:val;}}});return parsed;};}),(function(module,exports,__webpack_require__){'use strict';var utils=__webpack_require__(2);module.exports=(utils.isStandardBrowserEnv()?(function standardBrowserEnv(){var msie=/(msie|trident)/i.test(navigator.userAgent);var urlParsingNode=document.createElement('a');var originURL;function resolveURL(url){var href=url;if(msie){urlParsingNode.setAttribute('href',href);href=urlParsingNode.href;}
urlParsingNode.setAttribute('href',href);return{href:urlParsingNode.href,protocol:urlParsingNode.protocol?urlParsingNode.protocol.replace(/:$/,''):'',host:urlParsingNode.host,search:urlParsingNode.search?urlParsingNode.search.replace(/^\?/,''):'',hash:urlParsingNode.hash?urlParsingNode.hash.replace(/^#/,''):'',hostname:urlParsingNode.hostname,port:urlParsingNode.port,pathname:(urlParsingNode.pathname.charAt(0)==='/')?urlParsingNode.pathname:'/'+urlParsingNode.pathname};}
originURL=resolveURL(window.location.href);return function isURLSameOrigin(requestURL){var parsed=(utils.isString(requestURL))?resolveURL(requestURL):requestURL;return(parsed.protocol===originURL.protocol&&parsed.host===originURL.host);};})():(function nonStandardBrowserEnv(){return function isURLSameOrigin(){return true;};})());}),(function(module,exports,__webpack_require__){'use strict';var utils=__webpack_require__(2);module.exports=(utils.isStandardBrowserEnv()?(function standardBrowserEnv(){return{write:function write(name,value,expires,path,domain,secure){var cookie=[];cookie.push(name+'='+encodeURIComponent(value));if(utils.isNumber(expires)){cookie.push('expires='+new Date(expires).toGMTString());}
if(utils.isString(path)){cookie.push('path='+path);}
if(utils.isString(domain)){cookie.push('domain='+domain);}
if(secure===true){cookie.push('secure');}
document.cookie=cookie.join('; ');},read:function read(name){var match=document.cookie.match(new RegExp('(^|;\\s*)('+name+')=([^;]*)'));return(match?decodeURIComponent(match[3]):null);},remove:function remove(name){this.write(name,'',Date.now()-86400000);}};})():(function nonStandardBrowserEnv(){return{write:function write(){},read:function read(){return null;},remove:function remove(){}};})());}),(function(module,exports){'use strict';module.exports=function isAbsoluteURL(url){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(url);};}),(function(module,exports){'use strict';module.exports=function combineURLs(baseURL,relativeURL){return relativeURL?baseURL.replace(/\/+$/,'')+'/'+relativeURL.replace(/^\/+/,''):baseURL;};}),(function(module,exports,__webpack_require__){'use strict';var utils=__webpack_require__(2);module.exports=function mergeConfig(config1,config2){config2=config2||{};var config={};utils.forEach(['url','method','params','data'],function valueFromConfig2(prop){if(typeof config2[prop]!=='undefined'){config[prop]=config2[prop];}});utils.forEach(['headers','auth','proxy'],function mergeDeepProperties(prop){if(utils.isObject(config2[prop])){config[prop]=utils.deepMerge(config1[prop],config2[prop]);}else if(typeof config2[prop]!=='undefined'){config[prop]=config2[prop];}else if(utils.isObject(config1[prop])){config[prop]=utils.deepMerge(config1[prop]);}else if(typeof config1[prop]!=='undefined'){config[prop]=config1[prop];}});utils.forEach(['baseURL','transformRequest','transformResponse','paramsSerializer','timeout','withCredentials','adapter','responseType','xsrfCookieName','xsrfHeaderName','onUploadProgress','onDownloadProgress','maxContentLength','validateStatus','maxRedirects','httpAgent','httpsAgent','cancelToken','socketPath'],function defaultToConfig2(prop){if(typeof config2[prop]!=='undefined'){config[prop]=config2[prop];}else if(typeof config1[prop]!=='undefined'){config[prop]=config1[prop];}});return config;};}),(function(module,exports){'use strict';function Cancel(message){this.message=message;}
Cancel.prototype.toString=function toString(){return'Cancel'+(this.message?': '+this.message:'');};Cancel.prototype.__CANCEL__=true;module.exports=Cancel;}),(function(module,exports,__webpack_require__){'use strict';var Cancel=__webpack_require__(23);function CancelToken(executor){if(typeof executor!=='function'){throw new TypeError('executor must be a function.');}
var resolvePromise;this.promise=new Promise(function promiseExecutor(resolve){resolvePromise=resolve;});var token=this;executor(function cancel(message){if(token.reason){return;}
token.reason=new Cancel(message);resolvePromise(token.reason);});}
CancelToken.prototype.throwIfRequested=function throwIfRequested(){if(this.reason){throw this.reason;}};CancelToken.source=function source(){var cancel;var token=new CancelToken(function executor(c){cancel=c;});return{token:token,cancel:cancel};};module.exports=CancelToken;}),(function(module,exports){'use strict';module.exports=function spread(callback){return function wrap(arr){return callback.apply(null,arr);};};})])});;
Vue.config.devtools=true;if(document.getElementById('vue-berater-anker')!=null){var app=new Vue({el:'#vue-berater-anker',data:{json_url:'https://cmd1.akte.de/_akte/cmd/voice/listmitarbeiter/?line=703&pw=FuerDieNeue881&json=1',kaskadaData:[],autointervall:null,},watch:{kaskadaData:function(){this.updateAllBeraters();}},methods:{getDataOfKaskadaBerater:function(id){var self=this;for(var i=0;i<self.kaskadaData.length;i++)
{if(self.kaskadaData[i].MitNr==id){return self.kaskadaData[i];}}},updateAllBeraters:function(){var self=this;let berater=document.getElementsByClassName("type-berater");for(var i=0;i<berater.length;i++)
{let beraterID=berater.item(i).getElementsByClassName("berater-id")[0].innerText.split(' ')[1];let kaskadaBeraterData=this.getDataOfKaskadaBerater(beraterID);if(kaskadaBeraterData["Status"]=='online'&&kaskadaBeraterData["Sprechend"]=='0'){berater.item(i).getElementsByClassName("berater-sort")[0].innerHTML=1;berater.item(i).getElementsByClassName("berater-ampel-red")[0].style.display="none";berater.item(i).getElementsByClassName("berater-ampel-orange")[0].style.display="none";berater.item(i).getElementsByClassName("berater-ampel-green")[0].style.display="block";}else if(kaskadaBeraterData["Status"]=='online'&&kaskadaBeraterData["Sprechend"]=='1'){berater.item(i).getElementsByClassName("berater-sort")[0].innerHTML=2;berater.item(i).getElementsByClassName("berater-ampel-red")[0].style.display="none";berater.item(i).getElementsByClassName("berater-ampel-orange")[0].style.display="block";berater.item(i).getElementsByClassName("berater-ampel-green")[0].style.display="none";}else{berater.item(i).getElementsByClassName("berater-sort")[0].innerHTML=3;berater.item(i).getElementsByClassName("berater-ampel-red")[0].style.display="block";berater.item(i).getElementsByClassName("berater-ampel-orange")[0].style.display="none";berater.item(i).getElementsByClassName("berater-ampel-green")[0].style.display="none";}}
let beraterArr=[].slice.call(document.querySelectorAll('.type-berater')).sort(function(a,b){return a.getElementsByClassName("berater-sort")[0].innerHTML>b.getElementsByClassName("berater-sort")[0].innerHTML?1:-1;});let beraterListSel=document.querySelector('.berater-grid-tkl .w-grid-list');let count=0;beraterArr.forEach(function(article){if(document.getElementById('vue-8-berater')!=null){if(count<8){article.style.display='block';beraterListSel.appendChild(article);}else{article.style.display='none';}
count=count+1;}else{beraterListSel.appendChild(article);}});},fetchKaskadaData:function(){var self=this;axios.get(this.json_url).then(function(response){self.kaskadaData=response.data.Mitarbeiter;}).catch(function(error){console.log(error);});},startIntervall:function(){this.autointervall=setInterval(()=>{this.fetchKaskadaData();},60000);}},mounted:function(){this.fetchKaskadaData();this.startIntervall();},beforeDestroy(){clearInterval(this.autointervall)}})};
Vue.config.devtools=true;if(document.getElementById('vue-berater-anker-single')!=null){var app=new Vue({el:'#vue-berater-anker-single',data:{json_url:'https://cmd1.akte.de/_akte/cmd/voice/listmitarbeiter/?line=703&pw=FuerDieNeue881&json=1',kaskadaData:[],autointervall:null,},watch:{kaskadaData:function(){this.updateAllBeraters();}},methods:{getDataOfKaskadaBerater:function(id){var self=this;for(var i=0;i<self.kaskadaData.length;i++)
{if(self.kaskadaData[i].MitNr==id){return self.kaskadaData[i];}}},updateAllBeraters:function(){var self=this;let beraterID=document.getElementById("berater-id").innerText.split(' ')[1];let kaskadaBeraterData=this.getDataOfKaskadaBerater(beraterID);if(kaskadaBeraterData["Status"]=='online'&&kaskadaBeraterData["Sprechend"]=='0'){document.getElementsByClassName("berater-ampel-red")[0].style.display="none";document.getElementsByClassName("berater-ampel-orange")[0].style.display="none";document.getElementsByClassName("berater-ampel-green")[0].style.display="block";}else if(kaskadaBeraterData["Status"]=='online'&&kaskadaBeraterData["Sprechend"]=='1'){document.getElementsByClassName("berater-ampel-red")[0].style.display="none";document.getElementsByClassName("berater-ampel-orange")[0].style.display="block";document.getElementsByClassName("berater-ampel-green")[0].style.display="none";}else{document.getElementsByClassName("berater-ampel-red")[0].style.display="block";document.getElementsByClassName("berater-ampel-orange")[0].style.display="none";document.getElementsByClassName("berater-ampel-green")[0].style.display="none";}
if(kaskadaBeraterData["UserText"]==""&&document.getElementById("berater-text-wrapper")!=null){document.getElementById("berater-text-wrapper").remove();}else if(kaskadaBeraterData["UserText"]!=""){document.getElementById("berater-text").innerHTML=kaskadaBeraterData["UserText"];}
let teleNumbers=document.getElementsByClassName("tkl-tele");for(var i=0;i<teleNumbers.length;i++){let realTeleNumber=teleNumbers[i].innerText;teleNumbers[i].innerHTML='<a onclick="ga(\'send\', \'event\', \'telefonlink\', \'click\', window.location.pathname);" href="tel:'+realTeleNumber.replace(/\s/g,'')+'">'+realTeleNumber+'</a>';}
let teleRauteNumbers=document.getElementsByClassName("tkl-tele-raute");for(var i=0;i<teleRauteNumbers.length;i++){let realTeleRauteNumber=teleRauteNumbers[i].innerText;let numberBeforeRaute=realTeleRauteNumber.split('#')[0];teleRauteNumbers[i].innerHTML='<a onclick="ga(\'send\', \'event\', \'telefonlink\', \'click\', window.location.pathname);" href="tel:'+numberBeforeRaute.replace(/\s/g,'')+'">'+realTeleRauteNumber+'</a>';}
var telelinks=document.querySelectorAll('telelink');var telelinkItem=[].slice.call(telelinks);telelinkItem.forEach(function(item,idx){item.addEventListener('click',function(){ga("send","event","telefonlink","click",window.location.pathname);});});},fetchKaskadaData:function(){var self=this;axios.get(this.json_url).then(function(response){self.kaskadaData=response.data.Mitarbeiter;}).catch(function(error){console.log(error);});},startIntervall:function(){this.autointervall=setInterval(()=>{this.fetchKaskadaData();},5000);}},mounted:function(){this.fetchKaskadaData();this.startIntervall();},beforeDestroy(){clearInterval(this.autointervall)}})};
/*! Magnific Popup - v1.1.0 - 2016-02-20
* http://dimsemenov.com/plugins/magnific-popup/
* Copyright (c) 2016 Dmitry Semenov; */
!function(a){"function"==typeof define&&define.amd?define(["jquery"],a):a("object"==typeof exports?require("jquery"):window.jQuery||window.Zepto)}(function(a){var b,c,d,e,f,g,h="Close",i="BeforeClose",j="AfterClose",k="BeforeAppend",l="MarkupParse",m="Open",n="Change",o="mfp",p="."+o,q="mfp-ready",r="mfp-removing",s="mfp-prevent-close",t=function(){},u=!!window.jQuery,v=a(window),w=function(a,c){b.ev.on(o+a+p,c)},x=function(b,c,d,e){var f=document.createElement("div");return f.className="mfp-"+b,d&&(f.innerHTML=d),e?c&&c.appendChild(f):(f=a(f),c&&f.appendTo(c)),f},y=function(c,d){b.ev.triggerHandler(o+c,d),b.st.callbacks&&(c=c.charAt(0).toLowerCase()+c.slice(1),b.st.callbacks[c]&&b.st.callbacks[c].apply(b,a.isArray(d)?d:[d]))},z=function(c){return c===g&&b.currTemplate.closeBtn||(b.currTemplate.closeBtn=a(b.st.closeMarkup.replace("%title%",b.st.tClose)),g=c),b.currTemplate.closeBtn},A=function(){a.magnificPopup.instance||(b=new t,b.init(),a.magnificPopup.instance=b)},B=function(){var a=document.createElement("p").style,b=["ms","O","Moz","Webkit"];if(void 0!==a.transition)return!0;for(;b.length;)if(b.pop()+"Transition"in a)return!0;return!1};t.prototype={constructor:t,init:function(){var c=navigator.appVersion;b.isLowIE=b.isIE8=document.all&&!document.addEventListener,b.isAndroid=/android/gi.test(c),b.isIOS=/iphone|ipad|ipod/gi.test(c),b.supportsTransition=B(),b.probablyMobile=b.isAndroid||b.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),d=a(document),b.popupsCache={}},open:function(c){var e;if(c.isObj===!1){b.items=c.items.toArray(),b.index=0;var g,h=c.items;for(e=0;e<h.length;e++)if(g=h[e],g.parsed&&(g=g.el[0]),g===c.el[0]){b.index=e;break}}else b.items=a.isArray(c.items)?c.items:[c.items],b.index=c.index||0;if(b.isOpen)return void b.updateItemHTML();b.types=[],f="",c.mainEl&&c.mainEl.length?b.ev=c.mainEl.eq(0):b.ev=d,c.key?(b.popupsCache[c.key]||(b.popupsCache[c.key]={}),b.currTemplate=b.popupsCache[c.key]):b.currTemplate={},b.st=a.extend(!0,{},a.magnificPopup.defaults,c),b.fixedContentPos="auto"===b.st.fixedContentPos?!b.probablyMobile:b.st.fixedContentPos,b.st.modal&&(b.st.closeOnContentClick=!1,b.st.closeOnBgClick=!1,b.st.showCloseBtn=!1,b.st.enableEscapeKey=!1),b.bgOverlay||(b.bgOverlay=x("bg").on("click"+p,function(){b.close()}),b.wrap=x("wrap").attr("tabindex",-1).on("click"+p,function(a){b._checkIfClose(a.target)&&b.close()}),b.container=x("container",b.wrap)),b.contentContainer=x("content"),b.st.preloader&&(b.preloader=x("preloader",b.container,b.st.tLoading));var i=a.magnificPopup.modules;for(e=0;e<i.length;e++){var j=i[e];j=j.charAt(0).toUpperCase()+j.slice(1),b["init"+j].call(b)}y("BeforeOpen"),b.st.showCloseBtn&&(b.st.closeBtnInside?(w(l,function(a,b,c,d){c.close_replaceWith=z(d.type)}),f+=" mfp-close-btn-in"):b.wrap.append(z())),b.st.alignTop&&(f+=" mfp-align-top"),b.fixedContentPos?b.wrap.css({overflow:b.st.overflowY,overflowX:"hidden",overflowY:b.st.overflowY}):b.wrap.css({top:v.scrollTop(),position:"absolute"}),(b.st.fixedBgPos===!1||"auto"===b.st.fixedBgPos&&!b.fixedContentPos)&&b.bgOverlay.css({height:d.height(),position:"absolute"}),b.st.enableEscapeKey&&d.on("keyup"+p,function(a){27===a.keyCode&&b.close()}),v.on("resize"+p,function(){b.updateSize()}),b.st.closeOnContentClick||(f+=" mfp-auto-cursor"),f&&b.wrap.addClass(f);var k=b.wH=v.height(),n={};if(b.fixedContentPos&&b._hasScrollBar(k)){var o=b._getScrollbarSize();o&&(n.marginRight=o)}b.fixedContentPos&&(b.isIE7?a("body, html").css("overflow","hidden"):n.overflow="hidden");var r=b.st.mainClass;return b.isIE7&&(r+=" mfp-ie7"),r&&b._addClassToMFP(r),b.updateItemHTML(),y("BuildControls"),a("html").css(n),b.bgOverlay.add(b.wrap).prependTo(b.st.prependTo||a(document.body)),b._lastFocusedEl=document.activeElement,setTimeout(function(){b.content?(b._addClassToMFP(q),b._setFocus()):b.bgOverlay.addClass(q),d.on("focusin"+p,b._onFocusIn)},16),b.isOpen=!0,b.updateSize(k),y(m),c},close:function(){b.isOpen&&(y(i),b.isOpen=!1,b.st.removalDelay&&!b.isLowIE&&b.supportsTransition?(b._addClassToMFP(r),setTimeout(function(){b._close()},b.st.removalDelay)):b._close())},_close:function(){y(h);var c=r+" "+q+" ";if(b.bgOverlay.detach(),b.wrap.detach(),b.container.empty(),b.st.mainClass&&(c+=b.st.mainClass+" "),b._removeClassFromMFP(c),b.fixedContentPos){var e={marginRight:""};b.isIE7?a("body, html").css("overflow",""):e.overflow="",a("html").css(e)}d.off("keyup"+p+" focusin"+p),b.ev.off(p),b.wrap.attr("class","mfp-wrap").removeAttr("style"),b.bgOverlay.attr("class","mfp-bg"),b.container.attr("class","mfp-container"),!b.st.showCloseBtn||b.st.closeBtnInside&&b.currTemplate[b.currItem.type]!==!0||b.currTemplate.closeBtn&&b.currTemplate.closeBtn.detach(),b.st.autoFocusLast&&b._lastFocusedEl&&a(b._lastFocusedEl).focus(),b.currItem=null,b.content=null,b.currTemplate=null,b.prevHeight=0,y(j)},updateSize:function(a){if(b.isIOS){var c=document.documentElement.clientWidth/window.innerWidth,d=window.innerHeight*c;b.wrap.css("height",d),b.wH=d}else b.wH=a||v.height();b.fixedContentPos||b.wrap.css("height",b.wH),y("Resize")},updateItemHTML:function(){var c=b.items[b.index];b.contentContainer.detach(),b.content&&b.content.detach(),c.parsed||(c=b.parseEl(b.index));var d=c.type;if(y("BeforeChange",[b.currItem?b.currItem.type:"",d]),b.currItem=c,!b.currTemplate[d]){var f=b.st[d]?b.st[d].markup:!1;y("FirstMarkupParse",f),f?b.currTemplate[d]=a(f):b.currTemplate[d]=!0}e&&e!==c.type&&b.container.removeClass("mfp-"+e+"-holder");var g=b["get"+d.charAt(0).toUpperCase()+d.slice(1)](c,b.currTemplate[d]);b.appendContent(g,d),c.preloaded=!0,y(n,c),e=c.type,b.container.prepend(b.contentContainer),y("AfterChange")},appendContent:function(a,c){b.content=a,a?b.st.showCloseBtn&&b.st.closeBtnInside&&b.currTemplate[c]===!0?b.content.find(".mfp-close").length||b.content.append(z()):b.content=a:b.content="",y(k),b.container.addClass("mfp-"+c+"-holder"),b.contentContainer.append(b.content)},parseEl:function(c){var d,e=b.items[c];if(e.tagName?e={el:a(e)}:(d=e.type,e={data:e,src:e.src}),e.el){for(var f=b.types,g=0;g<f.length;g++)if(e.el.hasClass("mfp-"+f[g])){d=f[g];break}e.src=e.el.attr("data-mfp-src"),e.src||(e.src=e.el.attr("href"))}return e.type=d||b.st.type||"inline",e.index=c,e.parsed=!0,b.items[c]=e,y("ElementParse",e),b.items[c]},addGroup:function(a,c){var d=function(d){d.mfpEl=this,b._openClick(d,a,c)};c||(c={});var e="click.magnificPopup";c.mainEl=a,c.items?(c.isObj=!0,a.off(e).on(e,d)):(c.isObj=!1,c.delegate?a.off(e).on(e,c.delegate,d):(c.items=a,a.off(e).on(e,d)))},_openClick:function(c,d,e){var f=void 0!==e.midClick?e.midClick:a.magnificPopup.defaults.midClick;if(f||!(2===c.which||c.ctrlKey||c.metaKey||c.altKey||c.shiftKey)){var g=void 0!==e.disableOn?e.disableOn:a.magnificPopup.defaults.disableOn;if(g)if(a.isFunction(g)){if(!g.call(b))return!0}else if(v.width()<g)return!0;c.type&&(c.preventDefault(),b.isOpen&&c.stopPropagation()),e.el=a(c.mfpEl),e.delegate&&(e.items=d.find(e.delegate)),b.open(e)}},updateStatus:function(a,d){if(b.preloader){c!==a&&b.container.removeClass("mfp-s-"+c),d||"loading"!==a||(d=b.st.tLoading);var e={status:a,text:d};y("UpdateStatus",e),a=e.status,d=e.text,b.preloader.html(d),b.preloader.find("a").on("click",function(a){a.stopImmediatePropagation()}),b.container.addClass("mfp-s-"+a),c=a}},_checkIfClose:function(c){if(!a(c).hasClass(s)){var d=b.st.closeOnContentClick,e=b.st.closeOnBgClick;if(d&&e)return!0;if(!b.content||a(c).hasClass("mfp-close")||b.preloader&&c===b.preloader[0])return!0;if(c===b.content[0]||a.contains(b.content[0],c)){if(d)return!0}else if(e&&a.contains(document,c))return!0;return!1}},_addClassToMFP:function(a){b.bgOverlay.addClass(a),b.wrap.addClass(a)},_removeClassFromMFP:function(a){this.bgOverlay.removeClass(a),b.wrap.removeClass(a)},_hasScrollBar:function(a){return(b.isIE7?d.height():document.body.scrollHeight)>(a||v.height())},_setFocus:function(){(b.st.focus?b.content.find(b.st.focus).eq(0):b.wrap).focus()},_onFocusIn:function(c){return c.target===b.wrap[0]||a.contains(b.wrap[0],c.target)?void 0:(b._setFocus(),!1)},_parseMarkup:function(b,c,d){var e;d.data&&(c=a.extend(d.data,c)),y(l,[b,c,d]),a.each(c,function(c,d){if(void 0===d||d===!1)return!0;if(e=c.split("_"),e.length>1){var f=b.find(p+"-"+e[0]);if(f.length>0){var g=e[1];"replaceWith"===g?f[0]!==d[0]&&f.replaceWith(d):"img"===g?f.is("img")?f.attr("src",d):f.replaceWith(a("<img>").attr("src",d).attr("class",f.attr("class"))):f.attr(e[1],d)}}else b.find(p+"-"+c).html(d)})},_getScrollbarSize:function(){if(void 0===b.scrollbarSize){var a=document.createElement("div");a.style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(a),b.scrollbarSize=a.offsetWidth-a.clientWidth,document.body.removeChild(a)}return b.scrollbarSize}},a.magnificPopup={instance:null,proto:t.prototype,modules:[],open:function(b,c){return A(),b=b?a.extend(!0,{},b):{},b.isObj=!0,b.index=c||0,this.instance.open(b)},close:function(){return a.magnificPopup.instance&&a.magnificPopup.instance.close()},registerModule:function(b,c){c.options&&(a.magnificPopup.defaults[b]=c.options),a.extend(this.proto,c.proto),this.modules.push(b)},defaults:{disableOn:0,key:null,midClick:!1,mainClass:"",preloader:!0,focus:"",closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:!0,showCloseBtn:!0,enableEscapeKey:!0,modal:!1,alignTop:!1,removalDelay:0,prependTo:null,fixedContentPos:"auto",fixedBgPos:"auto",overflowY:"auto",closeMarkup:'<button title="%title%" type="button" class="mfp-close">&#215;</button>',tClose:"Close (Esc)",tLoading:"Loading...",autoFocusLast:!0}},a.fn.magnificPopup=function(c){A();var d=a(this);if("string"==typeof c)if("open"===c){var e,f=u?d.data("magnificPopup"):d[0].magnificPopup,g=parseInt(arguments[1],10)||0;f.items?e=f.items[g]:(e=d,f.delegate&&(e=e.find(f.delegate)),e=e.eq(g)),b._openClick({mfpEl:e},d,f)}else b.isOpen&&b[c].apply(b,Array.prototype.slice.call(arguments,1));else c=a.extend(!0,{},c),u?d.data("magnificPopup",c):d[0].magnificPopup=c,b.addGroup(d,c);return d};var C,D,E,F="inline",G=function(){E&&(D.after(E.addClass(C)).detach(),E=null)};a.magnificPopup.registerModule(F,{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){b.types.push(F),w(h+"."+F,function(){G()})},getInline:function(c,d){if(G(),c.src){var e=b.st.inline,f=a(c.src);if(f.length){var g=f[0].parentNode;g&&g.tagName&&(D||(C=e.hiddenClass,D=x(C),C="mfp-"+C),E=f.after(D).detach().removeClass(C)),b.updateStatus("ready")}else b.updateStatus("error",e.tNotFound),f=a("<div>");return c.inlineElement=f,f}return b.updateStatus("ready"),b._parseMarkup(d,{},c),d}}});var H,I="ajax",J=function(){H&&a(document.body).removeClass(H)},K=function(){J(),b.req&&b.req.abort()};a.magnificPopup.registerModule(I,{options:{settings:null,cursor:"mfp-ajax-cur",tError:'<a href="%url%">The content</a> could not be loaded.'},proto:{initAjax:function(){b.types.push(I),H=b.st.ajax.cursor,w(h+"."+I,K),w("BeforeChange."+I,K)},getAjax:function(c){H&&a(document.body).addClass(H),b.updateStatus("loading");var d=a.extend({url:c.src,success:function(d,e,f){var g={data:d,xhr:f};y("ParseAjax",g),b.appendContent(a(g.data),I),c.finished=!0,J(),b._setFocus(),setTimeout(function(){b.wrap.addClass(q)},16),b.updateStatus("ready"),y("AjaxContentAdded")},error:function(){J(),c.finished=c.loadError=!0,b.updateStatus("error",b.st.ajax.tError.replace("%url%",c.src))}},b.st.ajax.settings);return b.req=a.ajax(d),""}}});var L,M=function(c){if(c.data&&void 0!==c.data.title)return c.data.title;var d=b.st.image.titleSrc;if(d){if(a.isFunction(d))return d.call(b,c);if(c.el)return c.el.attr(d)||""}return""};a.magnificPopup.registerModule("image",{options:{markup:'<div class="mfp-figure"><div class="mfp-close"></div><figure><div class="mfp-img"></div><figcaption><div class="mfp-bottom-bar"><div class="mfp-title"></div><div class="mfp-counter"></div></div></figcaption></figure></div>',cursor:"mfp-zoom-out-cur",titleSrc:"title",verticalFit:!0,tError:'<a href="%url%">The image</a> could not be loaded.'},proto:{initImage:function(){var c=b.st.image,d=".image";b.types.push("image"),w(m+d,function(){"image"===b.currItem.type&&c.cursor&&a(document.body).addClass(c.cursor)}),w(h+d,function(){c.cursor&&a(document.body).removeClass(c.cursor),v.off("resize"+p)}),w("Resize"+d,b.resizeImage),b.isLowIE&&w("AfterChange",b.resizeImage)},resizeImage:function(){var a=b.currItem;if(a&&a.img&&b.st.image.verticalFit){var c=0;b.isLowIE&&(c=parseInt(a.img.css("padding-top"),10)+parseInt(a.img.css("padding-bottom"),10)),a.img.css("max-height",b.wH-c)}},_onImageHasSize:function(a){a.img&&(a.hasSize=!0,L&&clearInterval(L),a.isCheckingImgSize=!1,y("ImageHasSize",a),a.imgHidden&&(b.content&&b.content.removeClass("mfp-loading"),a.imgHidden=!1))},findImageSize:function(a){var c=0,d=a.img[0],e=function(f){L&&clearInterval(L),L=setInterval(function(){return d.naturalWidth>0?void b._onImageHasSize(a):(c>200&&clearInterval(L),c++,void(3===c?e(10):40===c?e(50):100===c&&e(500)))},f)};e(1)},getImage:function(c,d){var e=0,f=function(){c&&(c.img[0].complete?(c.img.off(".mfploader"),c===b.currItem&&(b._onImageHasSize(c),b.updateStatus("ready")),c.hasSize=!0,c.loaded=!0,y("ImageLoadComplete")):(e++,200>e?setTimeout(f,100):g()))},g=function(){c&&(c.img.off(".mfploader"),c===b.currItem&&(b._onImageHasSize(c),b.updateStatus("error",h.tError.replace("%url%",c.src))),c.hasSize=!0,c.loaded=!0,c.loadError=!0)},h=b.st.image,i=d.find(".mfp-img");if(i.length){var j=document.createElement("img");j.className="mfp-img",c.el&&c.el.find("img").length&&(j.alt=c.el.find("img").attr("alt")),c.img=a(j).on("load.mfploader",f).on("error.mfploader",g),j.src=c.src,i.is("img")&&(c.img=c.img.clone()),j=c.img[0],j.naturalWidth>0?c.hasSize=!0:j.width||(c.hasSize=!1)}return b._parseMarkup(d,{title:M(c),img_replaceWith:c.img},c),b.resizeImage(),c.hasSize?(L&&clearInterval(L),c.loadError?(d.addClass("mfp-loading"),b.updateStatus("error",h.tError.replace("%url%",c.src))):(d.removeClass("mfp-loading"),b.updateStatus("ready")),d):(b.updateStatus("loading"),c.loading=!0,c.hasSize||(c.imgHidden=!0,d.addClass("mfp-loading"),b.findImageSize(c)),d)}}});var N,O=function(){return void 0===N&&(N=void 0!==document.createElement("p").style.MozTransform),N};a.magnificPopup.registerModule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(a){return a.is("img")?a:a.find("img")}},proto:{initZoom:function(){var a,c=b.st.zoom,d=".zoom";if(c.enabled&&b.supportsTransition){var e,f,g=c.duration,j=function(a){var b=a.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),d="all "+c.duration/1e3+"s "+c.easing,e={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},f="transition";return e["-webkit-"+f]=e["-moz-"+f]=e["-o-"+f]=e[f]=d,b.css(e),b},k=function(){b.content.css("visibility","visible")};w("BuildControls"+d,function(){if(b._allowZoom()){if(clearTimeout(e),b.content.css("visibility","hidden"),a=b._getItemToZoom(),!a)return void k();f=j(a),f.css(b._getOffset()),b.wrap.append(f),e=setTimeout(function(){f.css(b._getOffset(!0)),e=setTimeout(function(){k(),setTimeout(function(){f.remove(),a=f=null,y("ZoomAnimationEnded")},16)},g)},16)}}),w(i+d,function(){if(b._allowZoom()){if(clearTimeout(e),b.st.removalDelay=g,!a){if(a=b._getItemToZoom(),!a)return;f=j(a)}f.css(b._getOffset(!0)),b.wrap.append(f),b.content.css("visibility","hidden"),setTimeout(function(){f.css(b._getOffset())},16)}}),w(h+d,function(){b._allowZoom()&&(k(),f&&f.remove(),a=null)})}},_allowZoom:function(){return"image"===b.currItem.type},_getItemToZoom:function(){return b.currItem.hasSize?b.currItem.img:!1},_getOffset:function(c){var d;d=c?b.currItem.img:b.st.zoom.opener(b.currItem.el||b.currItem);var e=d.offset(),f=parseInt(d.css("padding-top"),10),g=parseInt(d.css("padding-bottom"),10);e.top-=a(window).scrollTop()-f;var h={width:d.width(),height:(u?d.innerHeight():d[0].offsetHeight)-g-f};return O()?h["-moz-transform"]=h.transform="translate("+e.left+"px,"+e.top+"px)":(h.left=e.left,h.top=e.top),h}}});var P="iframe",Q="//about:blank",R=function(a){if(b.currTemplate[P]){var c=b.currTemplate[P].find("iframe");c.length&&(a||(c[0].src=Q),b.isIE8&&c.css("display",a?"block":"none"))}};a.magnificPopup.registerModule(P,{options:{markup:'<div class="mfp-iframe-scaler"><div class="mfp-close"></div><iframe class="mfp-iframe" src="//about:blank" frameborder="0" allowfullscreen></iframe></div>',srcAction:"iframe_src",patterns:{youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}}},proto:{initIframe:function(){b.types.push(P),w("BeforeChange",function(a,b,c){b!==c&&(b===P?R():c===P&&R(!0))}),w(h+"."+P,function(){R()})},getIframe:function(c,d){var e=c.src,f=b.st.iframe;a.each(f.patterns,function(){return e.indexOf(this.index)>-1?(this.id&&(e="string"==typeof this.id?e.substr(e.lastIndexOf(this.id)+this.id.length,e.length):this.id.call(this,e)),e=this.src.replace("%id%",e),!1):void 0});var g={};return f.srcAction&&(g[f.srcAction]=e),b._parseMarkup(d,g,c),b.updateStatus("ready"),d}}});var S=function(a){var c=b.items.length;return a>c-1?a-c:0>a?c+a:a},T=function(a,b,c){return a.replace(/%curr%/gi,b+1).replace(/%total%/gi,c)};a.magnificPopup.registerModule("gallery",{options:{enabled:!1,arrowMarkup:'<button title="%title%" type="button" class="mfp-arrow mfp-arrow-%dir%"></button>',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:"Previous (Left arrow key)",tNext:"Next (Right arrow key)",tCounter:"%curr% of %total%"},proto:{initGallery:function(){var c=b.st.gallery,e=".mfp-gallery";return b.direction=!0,c&&c.enabled?(f+=" mfp-gallery",w(m+e,function(){c.navigateByImgClick&&b.wrap.on("click"+e,".mfp-img",function(){return b.items.length>1?(b.next(),!1):void 0}),d.on("keydown"+e,function(a){37===a.keyCode?b.prev():39===a.keyCode&&b.next()})}),w("UpdateStatus"+e,function(a,c){c.text&&(c.text=T(c.text,b.currItem.index,b.items.length))}),w(l+e,function(a,d,e,f){var g=b.items.length;e.counter=g>1?T(c.tCounter,f.index,g):""}),w("BuildControls"+e,function(){if(b.items.length>1&&c.arrows&&!b.arrowLeft){var d=c.arrowMarkup,e=b.arrowLeft=a(d.replace(/%title%/gi,c.tPrev).replace(/%dir%/gi,"left")).addClass(s),f=b.arrowRight=a(d.replace(/%title%/gi,c.tNext).replace(/%dir%/gi,"right")).addClass(s);e.click(function(){b.prev()}),f.click(function(){b.next()}),b.container.append(e.add(f))}}),w(n+e,function(){b._preloadTimeout&&clearTimeout(b._preloadTimeout),b._preloadTimeout=setTimeout(function(){b.preloadNearbyImages(),b._preloadTimeout=null},16)}),void w(h+e,function(){d.off(e),b.wrap.off("click"+e),b.arrowRight=b.arrowLeft=null})):!1},next:function(){b.direction=!0,b.index=S(b.index+1),b.updateItemHTML()},prev:function(){b.direction=!1,b.index=S(b.index-1),b.updateItemHTML()},goTo:function(a){b.direction=a>=b.index,b.index=a,b.updateItemHTML()},preloadNearbyImages:function(){var a,c=b.st.gallery.preload,d=Math.min(c[0],b.items.length),e=Math.min(c[1],b.items.length);for(a=1;a<=(b.direction?e:d);a++)b._preloadItem(b.index+a);for(a=1;a<=(b.direction?d:e);a++)b._preloadItem(b.index-a)},_preloadItem:function(c){if(c=S(c),!b.items[c].preloaded){var d=b.items[c];d.parsed||(d=b.parseEl(c)),y("LazyLoad",d),"image"===d.type&&(d.img=a('<img class="mfp-img" />').on("load.mfploader",function(){d.hasSize=!0}).on("error.mfploader",function(){d.hasSize=!0,d.loadError=!0,y("LazyLoadError",d)}).attr("src",d.src)),d.preloaded=!0}}}});var U="retina";a.magnificPopup.registerModule(U,{options:{replaceSrc:function(a){return a.src.replace(/\.\w+$/,function(a){return"@2x"+a})},ratio:1},proto:{initRetina:function(){if(window.devicePixelRatio>1){var a=b.st.retina,c=a.ratio;c=isNaN(c)?c():c,c>1&&(w("ImageHasSize."+U,function(a,b){b.img.css({"max-width":b.img[0].naturalWidth/c,width:"100%"})}),w("ElementParse."+U,function(b,d){d.src=a.replaceSrc(d,c)}))}}}}),A()});
!function($,undefined){"use strict";var _window=window,_document=document,_navigator=navigator,_undefined=undefined,isPlainObject=$.isPlainObject;var max=Math.max,min=Math.min,pow=Math.pow;if(isPlainObject(_window.$ush)){return}
_window.$ush=_window.$ush||{};var ua=_navigator.userAgent.toLowerCase(),base64Chars='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=',fromCharCode=String.fromCharCode;$ush.ua=ua;$ush.isMacOS=/(Mac|iPhone|iPod|iPad)/i.test(_navigator.platform);$ush.isFirefox=ua.indexOf('firefox')>-1;$ush.isSafari=/^((?!chrome|android).)*safari/i.test(ua);$ush.isTouchend=('ontouchend' in _document);$ush.safariVersion=function(){var self=this;if(self.isSafari){return self.parseInt((ua.match(/version\/([\d]+)/i)||[])[1])}
return 0}
$ush.fn=function(fn){if($.isFunction(fn)){fn()}};$ush.isUndefined=function(value){return ''+_undefined===''+value};$ush.isRtl=function(){return this.toString(_document.body.className).split(/\p{Zs}/u).indexOf('rtl')>-1};$ush.isNode=function(node){return!!node&&node.nodeType};$ush.uniqid=function(prefix){return(prefix||'')+Math.random().toString(36).substr(2,9)};$ush.utf8Decode=function(data){var tmp_arr=[],i=0,ac=0,c1=0,c2=0,c3=0;data+='';while(i<data.length){c1=data.charCodeAt(i);if(c1<128){tmp_arr[ac ++]=fromCharCode(c1);i ++}else if(c1>191&&c1<224){c2=data.charCodeAt(i+1);tmp_arr[ac ++]=fromCharCode(((c1&31)<<6)|(c2&63));i+=2}else{c2=data.charCodeAt(i+1);c3=data.charCodeAt(i+2);tmp_arr[ac ++]=fromCharCode(((c1&15)<<12)|((c2&63)<<6)|(c3&63));i+=3}}
return tmp_arr.join('')};$ush.utf8Encode=function(data){if(data===null||this.isUndefined(data)){return ''}
var string=(''+data),utftext='',start,end,stringl=0;start=end=0;stringl=string.length;for(var n=0;n<stringl;n ++){var c1=string.charCodeAt(n);var enc=null;if(c1<128){end ++}else if(c1>127&&c1<2048){enc=fromCharCode((c1>>6)|192)+fromCharCode((c1&63)|128)}else{enc=fromCharCode((c1>>12)|224)+fromCharCode(((c1>>6)&63)|128)+fromCharCode((c1&63)|128)}
if(enc!==null){if(end>start){utftext+=string.slice(start,end)}
utftext+=enc;start=end=n+1}}
if(end>start){utftext+=string.slice(start,stringl)}
return utftext};$ush.base64Decode=function(data){var o1,o2,o3,h1,h2,h3,h4,bits,i=0,ac=0,dec='',tmp_arr=[],self=this;if(!data){return data}
data+='';do{h1=base64Chars.indexOf(data.charAt(i ++));h2=base64Chars.indexOf(data.charAt(i ++));h3=base64Chars.indexOf(data.charAt(i ++));h4=base64Chars.indexOf(data.charAt(i ++));bits=h1<<18|h2<<12|h3<<6|h4;o1=bits>>16&0xff;o2=bits>>8&0xff;o3=bits&0xff;if(h3==64){tmp_arr[ac ++]=fromCharCode(o1)}else if(h4==64){tmp_arr[ac ++]=fromCharCode(o1,o2)}else{tmp_arr[ac ++]=fromCharCode(o1,o2,o3)}}while(i<data.length);return self.utf8Decode(tmp_arr.join(''))};$ush.base64Encode=function(data){var o1,o2,o3,h1,h2,h3,h4,bits,i=0,ac=0,enc='',tmp_arr=[],self=this;if(!data){return data}
data=self.utf8Encode(''+data);do{o1=data.charCodeAt(i ++);o2=data.charCodeAt(i ++);o3=data.charCodeAt(i ++);bits=o1<<16|o2<<8|o3;h1=bits>>18&0x3f;h2=bits>>12&0x3f;h3=bits>>6&0x3f;h4=bits&0x3f;tmp_arr[ac ++]=base64Chars.charAt(h1)+base64Chars.charAt(h2)+base64Chars.charAt(h3)+base64Chars.charAt(h4)}while(i<data.length);enc=tmp_arr.join('');var r=data.length%3;return(r?enc.slice(0,r-3):enc)+'==='.slice(r||3)};$ush.stripTags=function(input){return $ush.toString(input).replace(/(<([^>]+)>)/ig,'').replace('"','&quot;')};$ush.rawurldecode=function(str){return decodeURIComponent(''+str)};$ush.rawurlencode=function(str){return encodeURIComponent(''+str).replace(/!/g,'%21').replace(/'/g,'%27').replace(/\(/g,'%28').replace(/\)/g,'%29').replace(/\*/g,'%2A')};$ush.timeout=function(fn,delay){var handle={},start=new Date().getTime(),requestAnimationFrame=_window.requestAnimationFrame;function loop(){var current=new Date().getTime(),delta=current-start;delta>=delay?fn.call():handle.value=requestAnimationFrame(loop)}
handle.value=requestAnimationFrame(loop);return handle};$ush.clearTimeout=function(handle){if(isPlainObject(handle)){handle=handle.value}
if($.isNumeric(handle)){_window.cancelAnimationFrame(handle)}};$ush.throttle=function(fn,wait,no_trailing,debounce_mode){var self=this;if(!$.isFunction(fn)){return $.noop}
if(!$.isNumeric(wait)){wait=0}
if(typeof no_trailing!=='boolean'){no_trailing=_undefined}
var last_exec=0,timeout,context,args;return function(){context=this;args=arguments;var elapsed=+new Date()-last_exec;function exec(){last_exec=+new Date();fn.apply(context,args)}
function clear(){timeout=_undefined}
if(debounce_mode&&!timeout){exec()}
timeout&&self.clearTimeout(timeout);if(self.isUndefined(debounce_mode)&&elapsed>wait){exec()}else if(no_trailing!==!0){timeout=self.timeout(debounce_mode?clear:exec,self.isUndefined(debounce_mode)?wait-elapsed:wait)}}};$ush.debounce=function(fn,wait,at_begin){var self=this;return self.isUndefined(at_begin)?self.throttle(fn,wait,_undefined,!1):self.throttle(fn,wait,at_begin!==!1)};$ush.debounce_fn_1ms=$ush.debounce($ush.fn,1);$ush.debounce_fn_10ms=$ush.debounce($ush.fn,10);$ush.parseInt=function(value){value=parseInt(value,10);return!isNaN(value)?value:0};$ush.parseFloat=function(value){value=parseFloat(value);return!isNaN(value)?value:0};$ush.limitValueByRange=function(value,minValue,maxValue){return $ush.parseFloat(min(maxValue,max(minValue,value)))};$ush.toArray=function(data){try{data=[].slice.call(data||[])}catch(err){console.error(err);data=[]}
return data};$ush.toString=function(value){var self=this;if(self.isUndefined(value)||value===null){return ''}
else if(isPlainObject(value)||$.isArray(value)){return self.rawurlencode(JSON.stringify(value))}
return ''+value};$ush.toPlainObject=function(value){var self=this;try{value=JSON.parse(self.rawurldecode(''+value)||'{}')}catch(err){}
if(!isPlainObject(value)){value={}}
return value};$ush.toLowerCase=function(value){return(''+value).toLowerCase()};$ush.clone=function(_object,_default){return $.extend(!0,{},_default||{},_object||{})};$ush.escapePcre=function(value){return this.toString(value).replace(/[.*+?^${}()|\:[\]\\]/g,'\\$&')};$ush.removeSpaces=function(text){return(''+text).replace(/\p{Zs}/gu,'')};$ush.$rect=function(node){return this.isNode(node)?node.getBoundingClientRect():{}};$ush.setCaretPosition=function(node,position){var self=this;if(!self.isNode(node)){return}
if(self.isUndefined(position)){position=node.value.length}
if(node.createTextRange){var range=node.createTextRange();range.move('character',position);range.select()}else{if(node.selectionStart){node.focus();node.setSelectionRange(position,position)}else{node.focus()}}};$ush.copyTextToClipboard=function(text){var self=this;try{var textarea=_document.createElement('textarea');textarea.value=self.toString(text);textarea.setAttribute('readonly','');textarea.setAttribute('css','position:absolute;top:-9999px;left:-9999px');_document.body.append(textarea);textarea.select();_document.execCommand('copy');if(_window.getSelection){_window.getSelection().removeAllRanges()}else if(_document.selection){_document.selection.empty()}
textarea.remove();return!0}catch(err){return!1}};$ush.storage=function(namespace){if(namespace=$ush.toString(namespace)){namespace+='_'}
var _localStorage=_window.localStorage;return{set:function(key,value){_localStorage.setItem(namespace+key,value)},get:function(key){return _localStorage.getItem(namespace+key)},remove:function(key){_localStorage.removeItem(namespace+key)}}};$ush.setCookie=function(name,value,expiry){var date=new Date()
date.setTime(date.getTime()+(expiry*86400000));_document.cookie=name+'='+value+';expires='+date.toUTCString()+';path=/'};$ush.getCookie=function(name){name+='='
var decodedCookie=decodeURIComponent(_document.cookie),cookies=decodedCookie.split(';');for(var i=0;i<cookies.length;i++){var cookie=cookies[i];while(cookie.charAt(0)==' '){cookie=cookie.substring(1)}
if(cookie.indexOf(name)==0){return cookie.substring(name.length,cookie.length)}}
return null};$ush.removeCookie=function(name){var self=this;if(self.getCookie(name)!==null){self.setCookie(name,1,-1)}};$ush.mixinEvents={on:function(eventType,handler,one){var self=this;if(self.$$events===_undefined){self.$$events={}}
if(self.$$events[eventType]===_undefined){self.$$events[eventType]=[]}
self.$$events[eventType].push({handler:handler,one:!!one,});return self},one:function(eventType,handler){return this.on(eventType,handler,!0)},off:function(eventType,handler){var self=this;if(self.$$events===_undefined||self.$$events[eventType]===_undefined){return self}
if(handler!==_undefined){for(var handlerPos in self.$$events[eventType]){if(handler===self.$$events[eventType][handlerPos].handler){self.$$events[eventType].splice(handlerPos,1)}}}else{self.$$events[eventType]=[]}
return self},trigger:function(eventType,extraParams){var self=this;if(self.$$events===_undefined||self.$$events[eventType]===_undefined||self.$$events[eventType].length===0){return self}
var args=arguments,params=(args.length>2||!$.isArray(extraParams))?[].slice.call(args,1):extraParams;for(var i=0;i<self.$$events[eventType].length;i++){var event=self.$$events[eventType][i];event.handler.apply(event.handler,params);if(!!event.one){self.off(eventType,event.handler)}}
return self}}}(jQuery);['touchstart','touchmove','wheel','mousewheel'].map(function(type){jQuery.event.special[type]={setup:function(_,ns,handle){var self=this;if(!!self.addEventListener){self.addEventListener(type,handle,{passive:type.indexOf('touch')===0?!ns.includes('noPreventDefault'):!0})}}}});!function(a,b){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",b):"object"==typeof module&&module.exports?module.exports=b():a.EvEmitter=b()}("undefined"==typeof window?this:window,function(){function a(){}var b=a.prototype;return b.on=function(a,b){if(a&&b){var c=this._events=this._events||{},d=c[a]=c[a]||[];return-1==d.indexOf(b)&&d.push(b),this}},b.once=function(a,b){if(a&&b){this.on(a,b);var c=this._onceEvents=this._onceEvents||{},d=c[a]=c[a]||{};return d[b]=!0,this}},b.off=function(a,b){var c=this._events&&this._events[a];if(c&&c.length){var d=c.indexOf(b);return-1!=d&&c.splice(d,1),this}},b.emitEvent=function(a,b){var c=this._events&&this._events[a];if(c&&c.length){c=c.slice(0),b=b||[];for(var d=this._onceEvents&&this._onceEvents[a],e=0;e<c.length;e++){var f=c[e],g=d&&d[f];g&&(this.off(a,f),delete d[f]),f.apply(this,b)}return this}},b.allOff=function(){delete this._events,delete this._onceEvents},a}),function(a,b){"use strict";"function"==typeof define&&define.amd?define(["ev-emitter/ev-emitter"],function(c){return b(a,c)}):"object"==typeof module&&module.exports?module.exports=b(a,require("ev-emitter")):a.imagesLoaded=b(a,a.EvEmitter)}("undefined"==typeof window?this:window,function(b,c){function f(a,b){for(var c in b)a[c]=b[c];return a}function g(b){if(Array.isArray(b))return b;var c="object"==typeof b&&"number"==typeof b.length;return c?a.call(b):[b]}function j(a,b,c){if(!(this instanceof j))return new j(a,b,c);var d=a;return"string"==typeof a&&(d=document.querySelectorAll(a)),d?(this.elements=g(d),this.options=f({},this.options),"function"==typeof b?c=b:f(this.options,b),c&&this.on("always",c),this.getImages(),l&&(this.jqDeferred=new l.Deferred),void setTimeout(this.check.bind(this))):void m.error("Bad element for imagesLoaded "+(d||a))}function i(a){this.img=a}function k(a,b){this.url=a,this.element=b,this.img=new Image}var l=b.jQuery,m=b.console,a=Array.prototype.slice;j.prototype=Object.create(c.prototype),j.prototype.options={},j.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)},j.prototype.addElementImages=function(a){"IMG"==a.nodeName&&this.addImage(a),!0===this.options.background&&this.addElementBackgroundImages(a);var b=a.nodeType;if(b&&d[b]){for(var c,e=a.querySelectorAll("img"),f=0;f<e.length;f++)c=e[f],this.addImage(c);if("string"==typeof this.options.background){var g=a.querySelectorAll(this.options.background);for(f=0;f<g.length;f++){var h=g[f];this.addElementBackgroundImages(h)}}}};var d={1:!0,9:!0,11:!0};return j.prototype.addElementBackgroundImages=function(a){var b=getComputedStyle(a);if(b)for(var c,d=/url\((['"])?(.*?)\1\)/gi,e=d.exec(b.backgroundImage);null!==e;)c=e&&e[2],c&&this.addBackground(c,a),e=d.exec(b.backgroundImage)},j.prototype.addImage=function(a){var b=new i(a);this.images.push(b)},j.prototype.addBackground=function(a,b){var c=new k(a,b);this.images.push(c)},j.prototype.check=function(){function a(a,c,d){setTimeout(function(){b.progress(a,c,d)})}var b=this;return this.progressedCount=0,this.hasAnyBroken=!1,this.images.length?void this.images.forEach(function(b){b.once("progress",a),b.check()}):void this.complete()},j.prototype.progress=function(a,b,c){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!a.isLoaded,this.emitEvent("progress",[this,a,b]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,a),this.progressedCount==this.images.length&&this.complete(),this.options.debug&&m&&m.log("progress: "+c,a,b)},j.prototype.complete=function(){var a=this.hasAnyBroken?"fail":"done";if(this.isComplete=!0,this.emitEvent(a,[this]),this.emitEvent("always",[this]),this.jqDeferred){var b=this.hasAnyBroken?"reject":"resolve";this.jqDeferred[b](this)}},i.prototype=Object.create(c.prototype),i.prototype.check=function(){var a=this.getIsImageComplete();return a?void this.confirm(0!==this.img.naturalWidth,"naturalWidth"):(this.proxyImage=new Image,this.proxyImage.addEventListener("load",this),this.proxyImage.addEventListener("error",this),this.img.addEventListener("load",this),this.img.addEventListener("error",this),void(this.proxyImage.src=this.img.src))},i.prototype.getIsImageComplete=function(){return this.img.complete&&this.img.naturalWidth},i.prototype.confirm=function(a,b){this.isLoaded=a,this.emitEvent("progress",[this,this.img,b])},i.prototype.handleEvent=function(a){var b="on"+a.type;this[b]&&this[b](a)},i.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},i.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},i.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},k.prototype=Object.create(i.prototype),k.prototype.check=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.img.src=this.url;var a=this.getIsImageComplete();a&&(this.confirm(0!==this.img.naturalWidth,"naturalWidth"),this.unbindEvents())},k.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},k.prototype.confirm=function(a,b){this.isLoaded=a,this.emitEvent("progress",[this,this.element,b])},j.makeJQueryPlugin=function(a){a=a||b.jQuery,a&&(l=a,l.fn.imagesLoaded=function(a,b){var c=new j(this,a,b);return c.jqDeferred.promise(l(this))})},j.makeJQueryPlugin(),j});jQuery.easing.jswing=jQuery.easing.swing;var pow=Math.pow;jQuery.extend(jQuery.easing,{def:"easeOutExpo",easeInExpo:function(a){return 0===a?0:pow(2,10*a-10)},easeOutExpo:function(a){return 1===a?1:1-pow(2,-10*a)},easeInOutExpo:function(a){return 0===a?0:1===a?1:.5>a?pow(2,20*a-10)/2:(2-pow(2,-20*a+10))/2}});var _document=document,_navigator=navigator,_undefined=undefined,_window=window;_window.$ush=_window.$ush||{};_window.$us=_window.$us||{};$us.iOS=(/^iPad|iPhone|iPod/.test(_navigator.platform)||(_navigator.userAgent.indexOf('Mac')>-1&&_navigator.maxTouchPoints>1&&$ush.isTouchend));$us.mobileNavOpened=0;$us.header={};['getCurrentHeight','getHeaderInitialPos','getHeight','getScrollDirection','getScrollTop','isFixed','isHidden','isHorizontal','isStatic','isSticky','isStickyAutoHidden','isStickyAutoHideEnabled','isStickyEnabled','isTransparent','isVertical','on'].map(function(name){$us.header[name]=jQuery.noop});jQuery.fn.usMod=function(mod,value){var self=this;if(self.length==0)return self;if(value===_undefined){var pcre=new RegExp('^.*?'+mod+'\_([a-zA-Z0-9\_\-]+).*?$');return(pcre.exec(self.get(0).className)||[])[1]||!1}
self.each(function(_,item){item.className=item.className.replace(new RegExp('(^| )'+mod+'\_[a-zA-Z0-9\_\-]+( |$)'),'$2');if(value!==!1){item.className+=' '+mod+'_'+value}});return self};$us.toBool=function(value){if(typeof value=='boolean'){return value}
if(typeof value=='string'){value=value.trim();return(value.toLocaleLowerCase()=='true'||value=='1')}
return!!parseInt(value)};$us.getAnimationName=function(animationName,defaultAnimationName){if(jQuery.easing.hasOwnProperty(animationName)){return animationName}
return defaultAnimationName?defaultAnimationName:jQuery.easing._default};$us.mixins={};$us.mixins.Events={on:function(eventType,handler){var self=this;if(self.$$events===_undefined){self.$$events={}}
if(self.$$events[eventType]===_undefined){self.$$events[eventType]=[]}
self.$$events[eventType].push(handler);return self},off:function(eventType,handler){var self=this;if(self.$$events===_undefined||self.$$events[eventType]===_undefined){return self}
if(handler!==_undefined){var handlerPos=jQuery.inArray(handler,self.$$events[eventType]);if(handlerPos!=-1){self.$$events[eventType].splice(handlerPos,1)}}else{self.$$events[eventType]=[]}
return self},trigger:function(eventType,extraParameters){var self=this;if(self.$$events===_undefined||self.$$events[eventType]===_undefined||self.$$events[eventType].length==0){return self}
var args=arguments,params=(args.length>2||!jQuery.isArray(extraParameters))?Array.prototype.slice.call(args,1):extraParameters;params.unshift(self);for(var index=0;index<self.$$events[eventType].length;index ++){self.$$events[eventType][index].apply(self.$$events[eventType][index],params)}
return self}};jQuery.isMobile=(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(_navigator.userAgent)||(_navigator.platform=='MacIntel'&&_navigator.maxTouchPoints>1));!function($){$us.$window=$(_window);$us.$document=$(_document);$us.$html=$('html');$us.$body=$('.l-body:first');$us.$htmlBody=$us.$html.add($us.$body);$us.$canvas=$('.l-canvas:first');$us.usbPreview=function(){return $us.$body.hasClass('usb_preview')};if($us.iOS){$us.$html.removeClass('no-touch').addClass('ios-touch')}else if($.isMobile||$ush.isTouchend){$us.$html.removeClass('no-touch').addClass('touch')}else{}}(jQuery);!function($){$us.getCurrentState=function(){return ''+$us.$body.usMod('state')};$us.currentStateIs=function(state){if(!state){return!1}
if(!$.isArray(state)){state=[''+state]}
return $.inArray($us.getCurrentState(),state)!==-1};$us.getAdminBarHeight=function(){return(_document.getElementById('wpadminbar')||{}).offsetHeight||0}}(jQuery);!function($,undefined){"use strict";function USCanvas(options){var self=this;var defaults={disableEffectsWidth:900,backToTopDisplay:100};self.options=$.extend({},defaults,options||{});self.$header=$('.l-header',$us.$canvas);self.$main=$('.l-main',$us.$canvas);self.$sections=$('> *:not(.l-header) .l-section',$us.$canvas);self.$firstSection=self.$sections.first();self.$secondSection=self.$sections.eq(1);self.$stickySections=self.$sections.filter('.type_sticky:visible');self.$fullscreenSections=self.$sections.filter('.full_height');self.$topLink=$('.w-toplink');self.type=$us.$canvas.usMod('type');self._headerPos=self.$header.usMod('pos');self.headerPos=self._headerPos;self.headerBg=self.$header.usMod('bg');self.rtl=$us.$body.hasClass('rtl');self.isScrolling=!1;self.isAndroid=/Android/i.test(_navigator.userAgent);if($us.$body.hasClass('us_iframe')){$('a:not([target])').each(function(){$(this).attr('target','_parent')});$(function($){var $framePreloader=$('.l-popup-box-content .g-preloader',_window.parent.document);$framePreloader.hide()})}
if(self.hasStickyFirstSection()){$us.$body.addClass('sticky_first_section')}
$us.$window.on('scroll',self._events.scroll.bind(self)).on('resize load',self._events.resize.bind(self)).on('scroll resize load',self._events.toggleClassIsSticky.bind(self));$ush.timeout(self._events.resize.bind(self),25);$ush.timeout(self._events.resize.bind(self),75)}
USCanvas.prototype={getOffsetTop:function(){var top=Math.ceil($us.$canvas.offset().top);if($us.currentStateIs('mobiles')){top-=$us.getAdminBarHeight()}
return top},isStickySection:function(){var self=this;return!!self.$stickySections.length},hasStickySection:function(){var self=this;if(self.isStickySection()){return self.$stickySections.hasClass('is_sticky')}
return!1},hasPositionStickySections:function(){var self=this;if(self.isStickySection()){return self.$stickySections.filter(function(){return $(this).css('position')=='sticky'}).length}
return!1},getStickySectionHeight:function(){var self=this,stickySectionHeight=0;if(self.isStickySection()){var header=$us.header,$stickySection=self.$stickySections.first();stickySectionHeight=$stickySection.outerHeight(!0);if(self.hasStickyFirstSection()&&header.isHorizontal()&&!header.isStatic()){stickySectionHeight-=header.getCurrentHeight()}}
return stickySectionHeight},hasStickyFirstSection:function(){var self=this,$first=self.$stickySections.first();return self.isStickySection()&&$first.index()===0&&$first.hasClass('is_sticky')},isAfterStickySection:function(node){var $node=$(node);if(!$node.length){return!1}
if(!$node.hasClass('l-section')){$node=$node.closest('.l-section')}
return $node.index()>this.$stickySections.index()},getHeightFirstSection:function(){return this.$firstSection.length?parseFloat(this.$firstSection.outerHeight(!0)):0},_events:{scroll:function(){var self=this,scrollTop=parseInt($us.$window.scrollTop());self.$topLink.toggleClass('active',(scrollTop>=self.winHeight*self.options.backToTopDisplay/100));if(self.isAndroid){if(self.pid){$ush.clearTimeout(self.pid)}
self.isScrolling=!0;self.pid=$ush.timeout(function(){self.isScrolling=!1},100)}},resize:function(){var self=this;self.winHeight=parseInt($us.$window.height());self.winWidth=parseInt($us.$window.width());$us.$body.toggleClass('disable_effects',(self.winWidth<self.options.disableEffectsWidth));if($us.$body.hasClass('us_iframe')){var $frameContent=$('.l-popup-box-content',_window.parent.document),outerHeight=$us.$body.outerHeight(!0);if(outerHeight>0&&$(_window.parent).height()>outerHeight){$frameContent.css('height',outerHeight)}else{$frameContent.css('height','')}}
self._events.scroll.call(self)},toggleClassIsSticky:function(){var self=this;if(!self.isStickySection()){return}
self.$stickySections.each(function(_,section){var $section=$(section),offsetTop=section.getBoundingClientRect().top-parseInt($section.css('top'));$section.toggleClass('is_sticky',(parseInt(offsetTop)===0&&$section.css('position')=='sticky'))})}}};$us.canvas=new USCanvas($us.canvasOptions||{})}(jQuery);!function($){$.fn.resetInlineCSS=function(){var self=this,args=[].slice.call(arguments);if(args.length&&$.isArray(args[0])){args=args[0]}
for(var index=0;index<args.length;index ++){self.css(args[index],'')}
return self};$.fn.clearPreviousTransitions=function(){var self=this,prevTimers=(self.data('animation-timers')||'').split(',');if(prevTimers.length>=2){self.resetInlineCSS('transition');prevTimers.map(clearTimeout);self.removeData('animation-timers')}
return self};$.fn.performCSSTransition=function(css,duration,onFinish,easing,delay){duration=duration||250;delay=delay||25;easing=easing||'ease';var self=this,transition=[];self.clearPreviousTransitions();for(var attr in css){if(!css.hasOwnProperty(attr)){continue}
transition.push(attr+' '+(duration/1000)+'s '+easing)}
transition=transition.join(', ');self.css({transition:transition});var timer1=setTimeout(function(){self.css(css)},delay);var timer2=setTimeout(function(){self.resetInlineCSS('transition');if($.isFunction(onFinish)){onFinish()}},duration+delay);self.data('animation-timers',timer1+','+timer2)};$.fn.slideDownCSS=function(duration,onFinish,easing,delay){var self=this;if(self.length==0){return}
self.clearPreviousTransitions();self.resetInlineCSS('padding-top','padding-bottom');var timer1=setTimeout(function(){var paddingTop=parseInt(self.css('padding-top')),paddingBottom=parseInt(self.css('padding-bottom'));self.css({visibility:'hidden',position:'absolute',height:'auto','padding-top':0,'padding-bottom':0,display:'block'});var height=self.height();self.css({overflow:'hidden',height:'0px',opacity:0,visibility:'',position:''});self.performCSSTransition({opacity:1,height:height+paddingTop+paddingBottom,'padding-top':paddingTop,'padding-bottom':paddingBottom},duration,function(){self.resetInlineCSS('overflow').css('height','auto');if(typeof onFinish=='function'){onFinish()}},easing,delay)},25);self.data('animation-timers',timer1+',null')};$.fn.slideUpCSS=function(duration,onFinish,easing,delay){var self=this;if(self.length==0){return}
self.clearPreviousTransitions();self.css({height:self.outerHeight(),overflow:'hidden','padding-top':self.css('padding-top'),'padding-bottom':self.css('padding-bottom')});self.performCSSTransition({height:0,opacity:0,'padding-top':0,'padding-bottom':0},duration,function(){self.resetInlineCSS('overflow','padding-top','padding-bottom').css({display:'none'});if(typeof onFinish=='function'){onFinish()}},easing,delay)};$.fn.fadeInCSS=function(duration,onFinish,easing,delay){var self=this;if(self.length==0){return}
self.clearPreviousTransitions();self.css({opacity:0,display:'block'});self.performCSSTransition({opacity:1},duration,onFinish,easing,delay)};$.fn.fadeOutCSS=function(duration,onFinish,easing,delay){var self=this;if(self.length==0){return}
self.performCSSTransition({opacity:0},duration,function(){self.css('display','none');if($.isFunction(onFinish)){onFinish()}},easing,delay)}}(jQuery);jQuery(function($){"use strict";if(_document.cookie.indexOf('us_cookie_notice_accepted=true')!==-1){$('.l-cookie').remove()}else{$us.$document.on('click','#us-set-cookie',function(e){e.preventDefault();e.stopPropagation();var d=new Date();d.setFullYear(d.getFullYear()+1);_document.cookie='us_cookie_notice_accepted=true; expires='+d.toUTCString()+'; path=/;';if(location.protocol==='https:'){_document.cookie+=' secure;'}
$('.l-cookie').remove()})}
let $allSchemeSwitchCheckboxes=$('.w-color-switch input[name=us-color-scheme-switch]');$allSchemeSwitchCheckboxes.prop('checked',$ush.getCookie('us_color_scheme_switch_is_on')==='true');$us.$document.on('click','.w-color-switch > label',function(e){e.preventDefault();e.stopPropagation();let $currentCheckbox=$(this).find('input[name=us-color-scheme-switch]');if($currentCheckbox.is(':checked')){$us.$html.removeClass('us-color-scheme-on');$ush.removeCookie('us_color_scheme_switch_is_on');$allSchemeSwitchCheckboxes.prop('checked',!1)}else{$us.$html.addClass('us-color-scheme-on');$ush.setCookie('us_color_scheme_switch_is_on','true',30);$allSchemeSwitchCheckboxes.prop('checked',!0)}});var USPopupLink=function(context,options){var $links=$('a[ref=magnificPopup][class!=direct-link]:not(.inited)',context||_document),defaultOptions={fixedContentPos:!0,mainClass:'mfp-fade',removalDelay:300,type:'image'};if($links.length){$links.addClass('inited').magnificPopup($.extend({},defaultOptions,options||{}))}};$.fn.wPopupLink=function(options){return this.each(function(){$(this).data('wPopupLink',new USPopupLink(this,options))})};$us.$document.wPopupLink();(function(){var $footer=$('.l-footer');if($us.$body.hasClass('footer_reveal')&&$footer.length&&$footer.html().trim().length){var usFooterReveal=function(){var footerHeight=$footer.innerHeight();if(_window.innerWidth>parseInt($us.canvasOptions.columnsStackingWidth)-1){$us.$canvas.css('margin-bottom',Math.round(footerHeight)-1)}else{$us.$canvas.css('margin-bottom','')}};usFooterReveal();$us.$window.on('resize load',usFooterReveal)}})();var $usYTVimeoVideoContainer=$('.with_youtube, .with_vimeo');if($usYTVimeoVideoContainer.length){$us.$window.on('resize load',function(){$usYTVimeoVideoContainer.each(function(){var $container=$(this),$frame=$container.find('iframe').first(),cHeight=$container.innerHeight(),cWidth=$container.innerWidth(),fWidth='',fHeight='';if(cWidth/cHeight<16/9){fWidth=cHeight*(16/9);fHeight=cHeight}else{fWidth=cWidth;fHeight=fWidth*(9/16)}
$frame.css({'width':Math.round(fWidth),'height':Math.round(fHeight),})})})}});(function($,undefined){"use strict";function USWaypoints(){var self=this;self.waypoints=[];$us.$canvas.on('contentChange',self._countAll.bind(self));$us.$window.on('resize load',self._events.resize.bind(self)).on('scroll scroll.waypoints',self._events.scroll.bind(self));$ush.timeout(self._events.resize.bind(self),75);$ush.timeout(self._events.scroll.bind(self),75)}
USWaypoints.prototype={_events:{scroll:function(){var self=this,scrollTop=parseInt($us.$window.scrollTop());scrollTop=(scrollTop>=0)?scrollTop:0;for(var i=0;i<self.waypoints.length;i ++){if(self.waypoints[i].scrollPos<scrollTop){self.waypoints[i].fn(self.waypoints[i].$node);self.waypoints.splice(i,1);i --}}},resize:function(){var self=this;$ush.timeout(function(){self._countAll.call(self);self._events.scroll.call(self)},150);self._countAll.call(self);self._events.scroll.call(self)}},add:function($node,offset,fn){var self=this;$node=($node instanceof $)?$node:$($node);if($node.length==0){return}
if(typeof offset!='string'||offset.indexOf('%')==-1){offset=parseInt(offset)}
if($node.offset().top<($us.$window.height()+$us.$window.scrollTop())){offset=0}
var waypoint={$node:$node,offset:offset,fn:fn};self._count(waypoint);self.waypoints.push(waypoint)},_count:function(waypoint){var elmTop=waypoint.$node.offset().top,winHeight=$us.$window.height();if(typeof waypoint.offset=='number'){waypoint.scrollPos=elmTop-winHeight+waypoint.offset}else{waypoint.scrollPos=elmTop-winHeight+winHeight*parseInt(waypoint.offset)/100}},_countAll:function(){var self=this;for(var i=0;i<self.waypoints.length;i ++){self._count(self.waypoints[i])}}};$us.waypoints=new USWaypoints})(jQuery);(function(){var lastTime=0,vendors=['ms','moz','webkit','o'];for(var x=0;x<vendors.length&&!_window.requestAnimationFrame;++ x){_window.requestAnimationFrame=_window[vendors[x]+'RequestAnimationFrame'];_window.cancelAnimationFrame=_window[vendors[x]+'CancelAnimationFrame']||_window[vendors[x]+'CancelRequestAnimationFrame']}
if(!_window.requestAnimationFrame){_window.requestAnimationFrame=function(callback,element){var currTime=new Date().getTime(),timeToCall=Math.max(0,16-(currTime-lastTime)),id=_window.setTimeout(function(){callback(currTime+timeToCall)},timeToCall);lastTime=currTime+timeToCall;return id}}
if(!_window.cancelAnimationFrame){_window.cancelAnimationFrame=function(id){clearTimeout(id)}}}());if($us.$body.hasClass('single-format-video')){figure=$us.$body.find('figure.wp-block-embed div.wp-block-embed__wrapper');if(figure.length){figure.each(function(){if(this.firstElementChild===null){this.remove()}})}}
!function($,undefined){"use strict";$us.collapsibleContent=function(container){this.init(container)};$us.collapsibleContent.prototype={init:function(container){var self=this;self.$container=$(container);self.$firstElm=$('> *:first',self.$container);self.contentHeight=self.$container.data('content-height')||200;self.$container.on('click','.collapsible-content-more, .collapsible-content-less',self._events.toggleContent.bind(self));if(!self.$container.closest('.owl-carousel').length){self.initHeightCheck.call(self)}},initHeightCheck:function(){var self=this;var height=self.$firstElm.css('height',self.contentHeight).height();self.$firstElm.css('height','');var elmHeight=self.$firstElm.height();if(elmHeight&&elmHeight<=height){$('.toggle-links',self.$container).hide();self.$firstElm.css('height','');self.$container.removeClass('with_collapsible_content')}else{$('.toggle-links',self.$container).show();self.$firstElm.css('height',self.contentHeight)}},_isVisible:function(){var self=this;if(!self.$container.length){return!1}
var w=_window,d=_document,rect=self.$container[0].getBoundingClientRect(),containerPosition={top:w.pageYOffset+rect.top,left:w.pageXOffset+rect.left,right:w.pageXOffset+rect.right,bottom:w.pageYOffset+rect.bottom},windowPosition={top:w.pageYOffset,left:w.pageXOffset,right:w.pageXOffset+d.documentElement.clientWidth,bottom:w.pageYOffset+d.documentElement.clientHeight};return(containerPosition.bottom>windowPosition.top&&containerPosition.top<windowPosition.bottom&&containerPosition.right>windowPosition.left&&containerPosition.left<windowPosition.right)},_events:{toggleContent:function(e){e.preventDefault();e.stopPropagation();var self=this;self.$container.toggleClass('show_content',$(e.target).hasClass('collapsible-content-more')).trigger('toggleContent');$ush.timeout(function(){$us.$canvas.trigger('contentChange');if($.isMobile&&!self._isVisible()){$us.$htmlBody.stop(!0,!1).scrollTop(self.$container.offset().top-$us.header.getCurrentHeight(!0))}},1)}}};$.fn.usCollapsibleContent=function(){return this.each(function(){$(this).data('usCollapsibleContent',new $us.collapsibleContent(this))})};$('[data-content-height]',$us.$canvas).usCollapsibleContent();if($('.owl-carousel',$us.$canvas).length){$us.$canvas.on('click','.collapsible-content-more, .collapsible-content-less',function(e){var $target=$(e.target),$container=$target.closest('[data-content-height]');if(!$container.data('usCollapsibleContent')){$container.usCollapsibleContent();$target.trigger('click')}})}}(jQuery);!function($,undefined){$us.$window.on('us.wpopup.afterShow',function(_,WPopup){if(WPopup instanceof $us.WPopup&&$('video.wp-video-shortcode',WPopup.$box).length){var handle=$ush.timeout(function(){$ush.clearTimeout(handle);_window.dispatchEvent(new Event('resize'))},1)}})}(jQuery);!function($){"use strict";var _window=window,_document=document,_location=location,_undefined=undefined;_window.$ush=_window.$ush||{};_window.$us=_window.$us||{};function USScroll(options){var self=this;var defaults={attachOnInit:'\
				.menu-item a[href*="#"],\
				.menu-item[href*="#"],\
				.post_custom_field a[href*="#"],\
				.post_title a[href*="#"],\
				.w-ibanner a[href*="#"],\
				.vc_custom_heading a[href*="#"],\
				.vc_icon_element a[href*="#"],\
				.w-comments-title a[href*="#"],\
				.w-iconbox a[href*="#"],\
				.w-image a[href*="#"]:not([onclick]),\
				.w-text a[href*="#"],\
				.w-toplink,\
				a.smooth-scroll[href*="#"],\
				a.w-btn[href*="#"]:not([onclick]),\
				a.w-grid-item-anchor[href*="#"]',buttonActiveClass:'active',menuItemActiveClass:'current-menu-item',menuItemAncestorActiveClass:'current-menu-ancestor',animationDuration:($us.canvasOptions||{}).scrollDuration||0,animationEasing:$us.getAnimationName('easeInOutExpo'),endAnimationEasing:$us.getAnimationName('easeOutExpo')};self.options=$.extend({},defaults,options||{});self.blocks={};self.isScrolling=!1;self._events={cancel:self.cancel.bind(self),scroll:self.scroll.bind(self),resize:self.resize.bind(self)};$us.$window.on('resize load',$ush.debounce(self._events.resize,1));$ush.timeout(self._events.resize,75);$us.$window.on('scroll',self._events.scroll);$ush.timeout(self._events.scroll,75);if(self.options.attachOnInit){self.attach(self.options.attachOnInit)}
$us.$canvas.on('contentChange',self._countAllPositions.bind(self));if(_document.location.hash&&_document.location.hash.indexOf('#!')==-1){var hash=_document.location.hash,scrollPlace=(self.blocks[hash]!==_undefined)?hash:_undefined;if(scrollPlace===_undefined){try{var $target=$(hash);if($target.length!=0){scrollPlace=$target}}
catch(error){}}
if(scrollPlace!==_undefined){var keepScrollPositionTimer=setInterval(function(){self.scrollTo(scrollPlace);if(_document.readyState!=='loading'){clearInterval(keepScrollPositionTimer)}},100);var clearHashEvents=function(){$us.$window.off('load touchstart mousewheel DOMMouseScroll touchstart',clearHashEvents);$ush.timeout(function(){$us.canvas._events.resize.call($us.canvas);self._countAllPositions();if($us.hasOwnProperty('waypoints')){$us.waypoints._countAll()}
self.scrollTo(scrollPlace)},100)};$us.$window.on('load touchstart mousewheel DOMMouseScroll touchstart',clearHashEvents)}}
self.animationOptions={duration:self.options.animationDuration,easing:self.options.animationEasing,start:function(){self.isScrolling=!0},complete:function(){self.cancel.call(self)},}}
USScroll.prototype={_countPosition:function(hash){var self=this,$target=self.blocks[hash].target,targetTop=$target.offset().top;if($target.hasClass('type_sticky')){var key='realTop';if(!$target.hasClass('is_sticky')){$target.removeData(key)}
if(!$target.data(key)){$target.data(key,targetTop)}
targetTop=$target.data(key)||targetTop}
if($us.$body.hasClass('footer_reveal')&&$target.closest('footer').length){targetTop=$us.$body.outerHeight(!0)+(targetTop-$us.$window.scrollTop())}
self.blocks[hash].top=Math.ceil(targetTop-$us.canvas.getOffsetTop())},_countAllPositions:function(){var self=this;for(var hash in self.blocks){if(self.blocks[hash]){self._countPosition(hash)}}},_indicatePosition:function(activeHash){var self=this;for(var hash in self.blocks){if(!self.blocks[hash]){continue}
var block=self.blocks[hash];if(block.buttons!==_undefined){block.buttons.toggleClass(self.options.buttonActiveClass,hash===activeHash)}
if(block.menuItems!==_undefined){block.menuItems.toggleClass(self.options.menuItemActiveClass,hash===activeHash)}
if(block.menuAncestors!==_undefined){block.menuAncestors.removeClass(self.options.menuItemAncestorActiveClass)}}
if(self.blocks[activeHash]!==_undefined&&self.blocks[activeHash].menuAncestors!==_undefined){self.blocks[activeHash].menuAncestors.addClass(self.options.menuItemAncestorActiveClass)}},attach:function(anchors){var self=this,$anchors=$(anchors);if($anchors.length==0){return}
var _pathname=decodeURIComponent(_location.pathname),patternPathname=new RegExp('^'+_pathname.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")+'#'),patternPageId=/^\/?(\?page_id=\d+).*?/;$anchors.each(function(index,anchor){var $anchor=$(anchor),href=(''+$anchor.attr('href')).replace(_location.origin,''),hash=$anchor.prop('hash'),hasProtocol=/^(https?:\/\/)/.test(href),hasPageId=patternPageId.test(href);if(hash.indexOf('#!')>-1||href.indexOf('#')<0||(href.substr(0,2)=='/#'&&_location.search&&_pathname=='/')||(hasProtocol&&href.indexOf(_location.origin)!==0)||(hasPageId&&href.indexOf((_location.search.match(patternPageId)||[])[1])==-1)||(href.charAt(0)=='/'&&!hasPageId&&!patternPathname.test(href))){return}
if(hash!=''&&hash!='#'){if(self.blocks[hash]===_undefined){var $target=$(hash),$type='';if($target.length==0){return}
if($target.hasClass('g-cols')&&$target.parent().children().length==1){$target=$target.closest('.l-section')}
if($target.hasClass('w-tabs-section')){var $newTarget=$target.closest('.w-tabs');if(!$newTarget.hasClass('accordion')){$target=$newTarget}
$type='tab'}else if($target.hasClass('w-tabs')){$type='tabs'}
self.blocks[hash]={target:$target,type:$type};self._countPosition(hash)}
if($anchor.parent().length>0&&$anchor.parent().hasClass('menu-item')){var $menuIndicator=$anchor.closest('.menu-item');self.blocks[hash].menuItems=(self.blocks[hash].menuItems||$()).add($menuIndicator);var $menuAncestors=$menuIndicator.parents('.menu-item-has-children');if($menuAncestors.length>0){self.blocks[hash].menuAncestors=(self.blocks[hash].menuAncestors||$()).add($menuAncestors)}}else{self.blocks[hash].buttons=(self.blocks[hash].buttons||$()).add($anchor)}}
$anchor.on('click',function(event){event.preventDefault();if($anchor.hasClass('w-nav-anchor')&&$anchor.closest('.menu-item').hasClass('menu-item-has-children')&&$anchor.closest('.w-nav').hasClass('type_mobile')){var menuOptions=$anchor.closest('.w-nav').find('.w-nav-options:first')[0].onclick()||{},dropByLabel=$anchor.parents('.menu-item').hasClass('mobile-drop-by_label'),dropByArrow=$anchor.parents('.menu-item').hasClass('mobile-drop-by_arrow');if(dropByLabel||(menuOptions.mobileBehavior&&!dropByArrow)){return!1}}
if($anchor.attr('href')==='#'&&$anchor.closest('.w-popup-wrap').length){return!1}
self.scrollTo(hash,!0);if(typeof self.blocks[hash]!=='undefined'){var block=self.blocks[hash];if($.inArray(block.type,['tab','tabs'])!==-1){var $linkedSection=block.target.find('.w-tabs-section[id="'+hash.substr(1)+'"]');if(block.type==='tabs'){$linkedSection=block.target.find('.w-tabs-section:first')}else if(block.target.hasClass('w-tabs-section')){$linkedSection=block.target}
if($linkedSection.length){$linkedSection.find('.w-tabs-section-header').trigger('click')}}else if(block.menuItems!==_undefined&&$us.currentStateIs(['mobiles','tablets'])&&$us.$body.hasClass('header-show')){$us.$body.removeClass('header-show')}}})})},getPlacePosition:function(place){var self=this,data={newY:0,type:''};if(place===''||place==='#'){data.newY=0;data.placeType='top'}
else if(self.blocks[place]!==_undefined){self._countPosition(place);data.newY=self.blocks[place].top;data.placeType='hash';place=self.blocks[place].target}else if(place instanceof $){if(place.hasClass('w-tabs-section')){var newPlace=place.closest('.w-tabs');if(!newPlace.hasClass('accordion')){place=newPlace}}
data.newY=place.offset().top;data.placeType='element'}else{data.newY=place}
if($us.canvas.isStickySection()&&$us.canvas.hasPositionStickySections()&&!$(place).hasClass('type_sticky')&&$us.canvas.isAfterStickySection(place)){data.newY-=$us.canvas.getStickySectionHeight()}
return data},scrollTo:function(place,animate){var self=this,$place=$(place);if($place.closest('.w-popup-wrap').length){self.scrollToPopupContent(place);return!0}
var offset=self.getPlacePosition.call(self,place),indicateActive=function(){if(offset.type==='hash'){self._indicatePosition(place)}else{self.scroll()}};if(animate){if(navigator.userAgent.match(/iPad/i)!=null&&$('.us_iframe').length&&offset.type=='hash'){$place[0].scrollIntoView({behavior:"smooth",block:"start"})}
var scrollTop=$us.$window.scrollTop(),scrollDirections=scrollTop<offset.newY?'down':'up';if(scrollTop===offset.newY){return}
var animateOptions=$.extend({},self.animationOptions,{always:function(){self.isScrolling=!1;indicateActive()}});animateOptions.step=function(now,fx){var newY=self.getPlacePosition(place).newY;if($us.header.isHorizontal()&&$us.header.isStickyEnabled()){newY-=$us.header.getCurrentHeight()}
fx.end=newY};if($place.hasClass('us_animate_this')){$place.trigger('us_startAnimate')}
$us.$htmlBody.stop(!0,!1).animate({scrollTop:offset.newY+'px'},animateOptions);$us.$window.on('keydown mousewheel DOMMouseScroll touchstart',self._events.cancel)}else{if($us.header.isStickyEnabled()&&$us.header.isHorizontal()){offset.newY-=$us.header.getCurrentHeight(!0)}
$us.$htmlBody.stop(!0,!1).scrollTop(offset.newY);indicateActive()}},scrollToPopupContent:function(place){var self=this,id=place.replace('#',''),elm=_document.getElementById(id);var animateOptions=$.extend({},self.animationOptions,{always:function(){self.isScrolling=!1},});$(elm).closest('.w-popup-wrap').stop(!0,!1).animate({scrollTop:elm.offsetTop+'px'},animateOptions);$us.$window.on('keydown mousewheel DOMMouseScroll touchstart',self._events.cancel)},cancel:function(){$us.$htmlBody.stop(!0,!1);$us.$window.off('keydown mousewheel DOMMouseScroll touchstart',this._events.cancel);this.isScrolling=!1},scroll:function(){var self=this,scrollTop=Math.ceil($us.header.getScrollTop());scrollTop=(scrollTop>=0)?scrollTop:0;if(!self.isScrolling){var activeHash;for(var hash in self.blocks){if(!self.blocks[hash]){continue}
var top=self.blocks[hash].top,$target=self.blocks[hash].target;if(!$us.header.isHorizontal()){top-=$us.canvas.getOffsetTop()}else{if($us.header.isStickyEnabled()){top-=$us.header.getCurrentHeight(!0)}
if($us.canvas.hasStickySection()){top-=$us.canvas.getStickySectionHeight()}}
top=$ush.parseInt(top.toFixed(0));if(scrollTop>=top&&scrollTop<=(top+$target.outerHeight(!1))){activeHash=hash}}
$ush.debounce_fn_1ms(self._indicatePosition.bind(self,activeHash))}},resize:function(){var self=this;$ush.timeout(function(){self._countAllPositions();self.scroll()},150);self._countAllPositions();self.scroll()}};$(function(){$us.scroll=new USScroll($us.scrollOptions||{})})}(jQuery);(function($){"use strict";var USAnimate=function(container){var self=this;self.$container=$(container);self.$items=$('[class*="us_animate_"]:not(.off_autostart)',self.$container);self.$items.each(function(_,item){var $item=$(item);if($item.data('_animate_inited')||$item.hasClass('off_autostart')){return}
$item.data('_animate_inited',!0);$us.waypoints.add($item,'12%',function($node){if(!$node.hasClass('start')){$ush.timeout(function(){$node.addClass('start')},20)}});$item.one('us_startAnimate',function(){if(!$item.hasClass('start')){$item.addClass('start')}})})};window.USAnimate=USAnimate;new USAnimate(document);$('.wpb_animate_when_almost_visible').each(function(){$us.waypoints.add($(this),'12%',function($node){if(!$node.hasClass('wpb_start_animation')){$ush.timeout(function(){$node.addClass('wpb_start_animation')},20)}})})})(jQuery);!function($,undefined){"use strict";window.$us=window.$us||{};function usContentCarousel(container){let self=this;let $carouselContainer=$('.owl-carousel',container);let carouselOptions={navElement:'button',navText:['',''],responsiveRefreshRate:50,}
if($carouselContainer.is('[onclick]')){$.extend(carouselOptions,$carouselContainer[0].onclick()||{});if(!$us.usbPreview()){$carouselContainer.removeAttr('onclick')}}
if($us.usbPreview()){$.extend(carouselOptions,{autoplayHoverPause:!0,mouseDrag:!1,touchDrag:!1,loop:!1,});$carouselContainer.one('initialized.owl.carousel',()=>{$('.owl-item',$carouselContainer).each((_,node)=>{let $node=$(node),$element=$('> *',node),usbid=$element.data('usbid')||$element.data('usbid2');$node.attr('data-usbid',usbid);$element.data('usbid2',usbid).removeAttr('data-usbid')});$ush.timeout(()=>{$('.owl-dots *, .owl-prev, .owl-next',$carouselContainer).addClass('usb_skip_elmSelected')},1)});$('style[data-for]',$carouselContainer).each((_,node)=>{$(node).next().prepend(node)})}
if(carouselOptions.autoplayContinual){carouselOptions.slideTransition='linear';carouselOptions.autoplaySpeed=carouselOptions.autoplayTimeout;carouselOptions.smartSpeed=carouselOptions.autoplayTimeout;carouselOptions.slideBy=1}
if($carouselContainer.data('owl.carousel')){$carouselContainer.trigger('destroy.owl.carousel')}
$carouselContainer.owlCarousel(carouselOptions);if($carouselContainer&&carouselOptions.autoplayContinual){$carouselContainer.trigger('next.owl.carousel')}
if($carouselContainer&&carouselOptions.aria_labels.prev&&carouselOptions.aria_labels.next){$('.owl-prev',$carouselContainer).attr('aria-label',carouselOptions.aria_labels.prev);$('.owl-next',$carouselContainer).attr('aria-label',carouselOptions.aria_labels.next)}}
$.fn.usContentCarousel=function(options){return this.each(function(){$(this).data('usContentCarousel',new usContentCarousel(this,options))})};$(function(){$('.w-content-carousel').usContentCarousel()})}(jQuery);!function($){"use strict";$us.USVCCharts=function(container,options){this.init(container,options)};$us.USVCCharts.prototype={init:function(container,options){this.$container=$(container);this.charts={line:{class:'vc_line-chart',},round:{class:'vc_round-chart',}};$us.$canvas.on('contentChange',this.redraw.bind(this))},redraw:function(event,data={}){if(!data||!data.elm){return}
for(const chart in this.charts){const $wrapper=$(data.elm).hasClass('w-popup')?'.w-popup-wrap':$(data.elm);if(this.$container.closest($wrapper).length){if(this.$container.hasClass(this.charts.line.class)){$.fn.vcLineChart&&this.$container.vcLineChart({reload:!1})}else if(this.$container.hasClass(this.charts.round.class)){$.fn.vcRoundChart&&this.$container.vcRoundChart({reload:!1})}}}},};$.fn.USVCCharts=function(options){return this.each(function(){$(this).data('USVCCharts',new $us.USVCCharts(this,options))})};$(function(){$('.vc_line-chart, .vc_round-chart').USVCCharts()})}(jQuery);!function($){"use strict";$us.CommnentsForm=function(container,options){this.init(container,options)};$us.CommnentsForm.prototype={init:function(container,options){this.$container=$(container);this.$form=this.$container.find('form.comment-form');if(!this.$form.length){return}
this.$jsonContainer=this.$container.find('.us-comments-json');if(!this.$jsonContainer.length){return}
this.jsonData=this.$jsonContainer[0].onclick()||{};this.$jsonContainer.remove();this.$fields={content:{field:this.$form.find('textarea'),msg:this.jsonData.no_content_msg||'Please enter a Message'},name:{field:this.$form.find('.for_text input[type="text"]'),msg:this.jsonData.no_name_msg||'Please enter your Name'},email:{field:this.$form.find('.for_email input[type="email"]'),msg:this.jsonData.no_email_msg||'Please enter a valid email address.'}};this._events={formSubmit:this.formSubmit.bind(this)};this.$form.on('submit',this._events.formSubmit)},formSubmit:function(event){this.$form.find('.w-form-row.check_wrong').removeClass('check_wrong');this.$form.find('.w-form-state').html('');for(var i in this.$fields){if(this.$fields[i].field.length==0){continue}
if(this.$fields[i].field.val()==''&&this.$fields[i].field.attr('data-required')){this.$fields[i].field.closest('.w-form-row').toggleClass('check_wrong');this.$fields[i].field.closest('.w-form-row').find('.w-form-row-state').html(this.$fields[i].msg);event.preventDefault()}}}};$.fn.CommnentsForm=function(options){return this.each(function(){$(this).data('CommnentsForm',new $us.CommnentsForm(this,options))})};$(function(){$('.w-post-elm.post_comments.layout_comments_template').CommnentsForm();$('.l-section.for_comments').CommnentsForm()})}(jQuery);!function($,undefined){var
_parseFloat=parseFloat,_parseInt=parseInt,_undefined=undefined,_window=window
var USCounterNumber=function(container){var self=this;self.$container=$(container);self.initialString=self.$container.html()+'';self.finalString=self.$container.data('final')+'';self.format=self.getFormat(self.initialString,self.finalString);if(self.format.decMark){var pattern=new RegExp('[^0-9\/'+self.format.decMark+']+','g');self.initial=_parseFloat(self.initialString.replace(pattern,'').replace(self.format.decMark,'.'));self.final=_parseFloat(self.finalString.replace(pattern,'').replace(self.format.decMark,'.'))}else{self.initial=_parseInt(self.initialString.replace(/[^0-9]+/g,''));self.final=_parseInt(self.finalString.replace(/[^0-9]+/g,''))}
if(self.format.accounting){if(self.initialString.length>0&&self.initialString[0]=='('){self.initial=-self.initial}
if(self.finalString.length>0&&self.finalString[0]=='('){self.final=-self.final}}};USCounterNumber.prototype={step:function(now){var self=this,value=(1-now)*self.initial+self.final*now,intPart=Math[self.format.decMark?'floor':'round'](value).toString(),result='';if(self.format.zerofill){var amountOfZeros=(self.format.intDigits-intPart.length);if(amountOfZeros>0){intPart='0'.repeat(amountOfZeros)+intPart}}
if(self.format.groupMark){if(self.format.indian){result+=intPart.replace(/(\d)(?=(\d\d)+\d$)/g,'$1'+self.format.groupMark)}else{result+=intPart.replace(/\B(?=(\d{3})+(?!\d))/g,self.format.groupMark)}}else{result+=intPart}
if(self.format.decMark){var decimalPart=(value%1).toFixed(self.format.decDigits).substring(2);result+=self.format.decMark+decimalPart}
if(self.format.accounting&&result.length>0&&result[0]=='-'){result='('+result.substring(1)+')'}
self.$container.html(result)},getFormat:function(initial,final){var self=this,iFormat=self._getFormat(initial),fFormat=self._getFormat(final),format=$.extend({},iFormat,fFormat);if(format.groupMark==format.decMark){delete format.groupMark}
return format},_getFormat:function(str){var marks=str.replace(/[0-9\(\)\-]+/g,''),format={};if(str.charAt(0)=='('){format.accounting=!0}
if(/^0[0-9]/.test(str)){format.zerofill=!0}
str=str.replace(/[\(\)\-]/g,'');if(marks.length!=0){if(marks.length>1){format.groupMark=marks.charAt(0);if(marks.charAt(0)!=marks.charAt(marks.length-1)){format.decMark=marks.charAt(marks.length-1)}
if(str.split(format.groupMark).length>2&&str.split(format.groupMark)[1].length==2){format.indian=!0}}else{format[(((str.length-1)-str.indexOf(marks))==3&&marks!=='.')?'groupMark':'decMark']=marks}
if(format.decMark){format.decDigits=str.length-str.indexOf(format.decMark)-1}}
if(format.zerofill){format.intDigits=str.replace(/[^\d]+/g,'').length-(format.decDigits||0)}
return format}};var USCounterText=function(container){var self=this;self.$container=$(container);self.initial=self.$container.text()+'';self.final=self.$container.data('final')+'';self.partsStates=self.getStates(self.initial,self.final);self.len=1/(self.partsStates.length-1);self.curState=0};USCounterText.prototype={step:function(now){var self=this,state=Math.round(Math.max(0,now/self.len));if(state==self.curState){return}
self.$container.html(self.partsStates[state]);self.curState=state},getStates:function(initial,final){var min=Math.min,dist=[],i,j;for(i=0;i<=initial.length;i ++){dist[i]=[i]}
for(j=1;j<=final.length;j ++){dist[0][j]=j;for(i=1;i<=initial.length;i ++){dist[i][j]=(initial[i-1]===final[j-1])?dist[i-1][j-1]:(Math.min(dist[i-1][j],dist[i][j-1],dist[i-1][j-1])+1)}}
var states=[final];for(i=initial.length,j=final.length;i>0||j>0;i --,j --){var min=dist[i][j];if(i>0){min=Math.min(min,dist[i-1][j],(j>0)?dist[i-1][j-1]:min)}
if(j>0){min=Math.min(min,dist[i][j-1])}
if(min>=dist[i][j]){continue}
if(min==dist[i][j-1]){states.unshift(states[0].substring(0,j-1)+states[0].substring(j));i ++}else if(min==dist[i-1][j-1]){states.unshift(states[0].substring(0,j-1)+initial[i-1]+states[0].substring(j))}else if(min==dist[i-1][j]){states.unshift(states[0].substring(0,j)+initial[i-1]+states[0].substring(j));j ++}}
return states}};var USCounter=function(container){var self=this;self.$container=$(container);self.parts=[];self.duration=_parseFloat(self.$container.data('duration')||2)*1000;self.$container.find('.w-counter-value-part').each(function(index,part){var $part=$(part);if($part.html()+''==$part.data('final')+''){return}
var type=$part.usMod('type');if(type=='number'){self.parts.push(new USCounterNumber($part))}else{self.parts.push(new USCounterText($part))}});if(_window.$us!==_undefined&&_window.$us.scroll!==_undefined){$us.waypoints.add(self.$container,'15%',self.animate.bind(self))}else{self.animate()}};USCounter.prototype={animate:function(duration){var self=this;self.$container.css('w-counter',0).animate({'w-counter':1},{duration:self.duration,step:self.step.bind(self)})},step:function(now){var self=this;for(var i=0;i<self.parts.length;i ++){self.parts[i].step(now)}}};$.fn.wCounter=function(options){return this.each(function(){var self=this;$(self).data('wCounter',new USCounter(self,options))})};$(function(){$('.w-counter').wCounter()})}(jQuery);(function($){"use strict";$.fn.wDropdown=function(){return this.each(function(){var $self=$(this),$current=$self.find('.w-dropdown-current'),$anchors=$self.find('a'),openEventName='click',closeEventName='mouseup touchstart mousewheel DOMMouseScroll touchstart',justOpened=!1;if($self.hasClass('open_on_hover')){openEventName='mouseenter';closeEventName='mouseleave'}
var closeList=function(){$self.removeClass('opened');$us.$window.off(closeEventName,closeListEvent)};var closeListEvent=function(e){if(closeEventName!='mouseleave'&&$self.has(e.target).length!==0){return}
e.stopPropagation();e.preventDefault();closeList()};var openList=function(){$self.addClass('opened');if(closeEventName=='mouseleave'){$self.on(closeEventName,closeListEvent)}else{$us.$window.on(closeEventName,closeListEvent)}
justOpened=!0;$ush.timeout(function(){justOpened=!1},500)};var openListEvent=function(e){if(openEventName=='click'&&$self.hasClass('opened')&&!justOpened){closeList();return}
openList()};$current.on(openEventName,openListEvent);$anchors.on('focus.upsolution',openList);$self.on('click','a[href$="#"]',function(e){e.preventDefault()}).on('keydown',function(e){var keyCode=e.keyCode||e.which;if(keyCode==9){var $target=$(e.target)||{},index=$anchors.index($target);if(e.shiftKey){if(index===0){closeList()}}else{if(index===$anchors.length-1){closeList()}}}
if(keyCode==27){closeList()}})})};$(function(){$('.w-dropdown').wDropdown()})})(jQuery);!function($,undefined){var _window=window,_document=document,_undefined=undefined;_window.$us=_window.$us||{};$us.WForm=function(container){var self=this;self.$form=$(container);if(!self.$form.hasClass('for_cform')){self.$form=$('.w-form.for_cform',container)}
self.$dateFields=$('.w-form-row.for_date input',self.$form);self.$message=$('.w-form-message',self.$form);self.$submit=$('.w-btn',self.$form);self.options={};self.isFileValid=!0;self.pickerOptions={};var $formJson=$('.w-form-json',self.$form);if($formJson.is('[onclick]')){self.options=$formJson[0].onclick()||{};if(!$us.usbPreview()){$formJson.remove()}}
if(self.$dateFields.length){$(function(){self._initDateField()})}
$('input[type=text],\
			input[type=email],\
			input[type=tel],\
			input[type=number],\
			input[type=date],\
			input[type=search],\
			input[type=url],\
			input[type=password],\
			textarea',self.$form).each(function(_,input){var $input=$(input),$row=$input.closest('.w-form-row');if($input.attr('type')==='hidden'){return}
$row.toggleClass('not-empty',$input.val()!='');$input.on('input change',function(){$row.toggleClass('not-empty',$input.val()!='')})});self._events={changeFile:self._changeFile.bind(self),submit:self._submit.bind(self)};self.$form.on('change','input[type=file]:visible',self._events.changeFile).on('submit',self._events.submit)};$.extend($us.WForm.prototype,{getExtension:function(name){return(''+name).split('.').pop()},_validExtension:function(file,accepts){if(!accepts){return!0}
var self=this;accepts=(''+accepts).split(',');for(var i in accepts){var accept=(''+accepts[i]).trim();if(!accept){continue}
if(accept.indexOf('/')>-1){var acceptMatches=accept.split('/');if(file.type===accept||(acceptMatches[1]==='*'&&(''+file.type).indexOf(acceptMatches[0])===0)){return!0}}else if(self.getExtension(file.name)===accept.replace(/[^A-z\d]+/,'')){return!0}}
return!1},_requiredValidation:function(){var self=this;var errors=0;$('[data-required=true]',self.$form).each(function(_,input){var $input=$(input),isEmpty=$input.is('[type=checkbox]')?!$input.is(':checked'):$input.val()=='',$row=$input.closest('.w-form-row');if($row.hasClass('for_checkboxes')){return!0}
if(input.type==='file'){isEmpty=isEmpty||!self.isFileValid}
$row.toggleClass('check_wrong',isEmpty);if(isEmpty){errors ++}});$('.for_checkboxes.required',self.$form).each(function(_,elm){var $input=$('input[type=checkbox]',elm),$row=$input.closest('.w-form-row'),isEmpty=!$input.is(':checked');$row.toggleClass('check_wrong',isEmpty);if(isEmpty){errors ++}});return!errors},_initDateField:function(){var self=this;$.each(self.$dateFields,function(_,input){var $input=$(input);self.pickerOptions.dateFormat=$input.data('date-format');self.pickerOptions.onClose=function(){$input.closest('.w-form-row').removeClass('focused')};try{$input.datepicker(self.pickerOptions);if($input.closest('.w-popup-wrap').length){$input.on('click',function(e){let $datepicker=$('#ui-datepicker-div'),datepickerHeight=$datepicker.outerHeight(),inputBounds=e.currentTarget.getBoundingClientRect();if(_window.innerHeight-(inputBounds.bottom+datepickerHeight)>0){$datepicker.css({position:'fixed',left:inputBounds.left,top:(inputBounds.top+inputBounds.height)})}else{$datepicker.css({position:'fixed',left:inputBounds.left,top:(inputBounds.top-datepickerHeight),})}})}}catch(e){}})},_changeFile:function(e){var self=this,errMessage='',input=e.target,$input=$(input),accept=$input.attr('accept')||'',maxSize=$input.data('max_size')||$input.data('std')||0;if(input.files.length){for(var i in input.files){if(errMessage){break}
var file=input.files[i];if(!(file instanceof File)){continue}
if(!self._validExtension(file,accept)){errMessage=(self.options.messages.err_extension||'').replace('%s',self.getExtension(file.name))}
if(!errMessage&&file.size>(parseFloat(maxSize)*1048576)){errMessage=(self.options.messages.err_size||'').replace('%s',maxSize)}}}
$input.closest('.for_file').toggleClass('check_wrong',!(self.isFileValid=!errMessage)).find('.w-form-row-state').html(errMessage||self.options.messages.err_empty)},_submit:function(e){e.preventDefault();var self=this;self.$message.usMod('type',!1).html('');if(self.$submit.hasClass('loading')||!self._requiredValidation()||!self.isFileValid){return}
self.$submit.addClass('loading');$.ajax({type:'POST',url:self.options.ajaxurl,data:_window.FormData?new FormData(self.$form[0]):self.$form.serialize(),cache:!1,processData:!1,contentType:!1,dataType:'json',success:function(res){$('.w-form-row.check_wrong',self.$form).removeClass('check_wrong');if(res.success){self.$message.usMod('type','success').html(res.data);$('.w-form-row.not-empty',self.$form).removeClass('not-empty');$('input[type=text], input[type=email], textarea',self.$form).val('');self.$form.trigger('usCformSuccess',res).get(0).reset()}else{if($.isPlainObject(res.data)){for(var fieldName in res.data){if(fieldName==='empty_message'){$resultField.usMod('type','error');continue}
$('[name="'+fieldName+'"]',self.$form).closest('.w-form-row').addClass('check_wrong').find('.w-form-row-state').html(res.data[fieldName].error_message||'');}}else{self.$message.usMod('type','error').html(res.data)}}},complete:function(){self.$submit.removeClass('loading')}})}});$.fn.wForm=function(){return this.each(function(){$(this).data('wForm',new $us.WForm(this))})};$('.w-form.for_cform').wForm();$(_document).on('focus blur','.w-form-row-field:not(.for_date) input, .w-form-row-field textarea',function(e){$(e.target).closest('.w-form-row').toggleClass('focused',e.type=='focusin')})}(jQuery);!function($){"use strict";$us.WFlipBox=function(container){this.$container=$(container);this.$front=this.$container.find('.w-flipbox-front');this.$frontH=this.$container.find('.w-flipbox-front-h');this.$back=this.$container.find('.w-flipbox-back');this.$backH=this.$container.find('.w-flipbox-back-h');this.$xFlank=this.$container.find('.w-flipbox-xflank');this.$yFlank=this.$container.find('.w-flipbox-yflank');this.$btn=this.$container.find('.w-btn');var isWebkit='WebkitAppearance' in document.documentElement.style;if(isWebkit&&this.$container.usMod('animation')==='cubeflip'&&this.$btn.length){this.$container.usMod('animation','cubetilt')}
var animation=this.$container.usMod('animation'),direction=this.$container.usMod('direction');this.forceSquare=(animation=='cubeflip'&&['ne','se','sw','nw'].indexOf(direction)!=-1);this.autoSize=(this.$front[0].style.height==''&&!this.forceSquare);this.centerContent=(this.$container.usMod('valign')=='center');if(this._events===undefined){this._events={}}
$.extend(this._events,{resize:this.resize.bind(this)});if(this.centerContent||this.forceSquare||this.autoSize){$us.$window.bind('resize load',this._events.resize);this.resize()}
this.makeHoverable('.w-btn');$ush.timeout(function(){this.$back.css('display','');this.$yFlank.css('display','');this.$xFlank.css('display','');this.resize()}.bind(this),250);$us.$canvas.on('contentChange',this._events.resize)};$us.WFlipBox.prototype={resize:function(){var width=this.$container.width(),height;if(this.centerContent||this.autoSize||this.forceSquare){this.padding=parseInt(this.$front.css('padding-top'))}
if(this.autoSize||this.centerContent){var frontContentHeight=this.$frontH.height(),backContentHeight=this.$backH.height()}
if(this.forceSquare||this.autoSize){height=this.forceSquare?width:(Math.max(frontContentHeight,backContentHeight)+2*this.padding);this.$front.css('height',height+'px')}else{height=this.$container.height()}
if(this.centerContent){this.$front.css('padding-top',Math.max(this.padding,(height-frontContentHeight)/2));this.$back.css('padding-top',Math.max(this.padding,(height-backContentHeight)/2))}},makeHoverable:function(exclude){if(this._events===undefined){this._events={}}
if(jQuery.isMobile){this._events.touchHoverStart=function(){this.$container.toggleClass('hover')}.bind(this);this.$container.on('touchstart',this._events.touchHoverStart);if(exclude){this._events.touchHoverPrevent=function(e){e.stopPropagation()};this.$container.find(exclude).on('touchstart',this._events.touchHoverPrevent)}}else{this._mouseInside=!1;this._focused=!1;$.extend(this._events,{mouseHoverStart:function(){this.$container.addClass('hover');this._mouseInside=!0}.bind(this),mouseHoverEnd:function(){if(!this._focused){this.$container.removeClass('hover')}
this._mouseInside=!1}.bind(this),focus:function(){this.$container.addClass('hover');this._focused=!0}.bind(this),blur:function(){if(!this._mouseInside){this.$container.removeClass('hover')}
this._focused=!1}.bind(this)});this.$container.on('mouseenter',this._events.mouseHoverStart);this.$container.on('mouseleave',this._events.mouseHoverEnd);this.$focusable=this.$container.find('a').addBack('a');this.$focusable.on('focus',this._events.focus);this.$focusable.on('blur',this._events.blur)}}};$.fn.wFlipBox=function(options){return this.each(function(){$(this).data('wFlipBox',new $us.WFlipBox(this,options))})};$(function(){$('.w-flipbox').wFlipBox()})}(jQuery);(function($,undefined){"use strict";$us.WGallery=function(container,options){this.init(container,options)};$us.WGallery.prototype={init:function(container,options){var self=this;self.$container=$(container);self.$list=$('.w-gallery-list',container);self.$itemsImg=$('.w-gallery-item-img',container);self.$loadmore=$('.w-gallery-loadmore',container);self.$jsonContainer=$('.w-gallery-json',container);self.currentPage=1;self.ajaxData={};self.allImageIds=[];self._events={showNumberOfHiddenImages:$ush.debounce(self.showNumberOfHiddenImages.bind(self),5),getItems:self._getItems.bind(self),};if(self.$jsonContainer.length&&!$us.usbPreview()){self.ajaxData=self.$jsonContainer[0].onclick()||{};self.allImageIds=self.ajaxData.template_vars.ids||[]}
if(self.$container.hasClass('type_masonry')){self.initMasonry()}
if(self.$container.hasClass('action_popup_image')){self.initMagnificPopup()}
$us.$window.on('resize',self._events.showNumberOfHiddenImages);self.showNumberOfHiddenImages();if(!self.allImageIds.length){return}
$('button',self.$loadmore).on('click',self._events.getItems);if(self.ajaxData.template_vars.pagination=='load_on_scroll'){$us.waypoints.add(self.$loadmore,'-70%',self._events.getItems)}},initMagnificPopup:function(){$('a.w-gallery-item-link',this.$container).magnificPopup({type:'image',gallery:{enabled:!0,navigateByImgClick:!0,preload:[0,1],tPrev:$us.langOptions.magnificPopup.tPrev,tNext:$us.langOptions.magnificPopup.tNext,tCounter:$us.langOptions.magnificPopup.tCounter},removalDelay:300,mainClass:'mfp-fade',fixedContentPos:!0})},initMasonry:function(){var self=this,isotopeOptions={itemSelector:'.w-gallery-item:not(.hidden)',layoutMode:'masonry',isOriginLeft:!$ush.isRtl(),};if(self.$list.parents('.w-tabs-section-content-h').length){isotopeOptions.transitionDuration=0}
$('>*:not(.hidden)',self.$list).imagesLoaded(function(){self.$list.isotope(isotopeOptions);self.$list.isotope()});$us.$canvas.on('contentChange',function(){$('>*:not(.hidden)',self.$list).imagesLoaded(function(){self.$list.isotope()})})},showNumberOfHiddenImages:function(){var self=this,hiddenImagesNumber=self.$itemsImg.filter(':hidden').length;self.$itemsImg.removeAttr('data-hidden-images-number');if(hiddenImagesNumber){self.$itemsImg.filter(':visible:last').attr('data-hidden-images-number',hiddenImagesNumber)}},_getItems:function(){var self=this;if(self.$loadmore.hasClass('done')){return}
self.currentPage+=1;self.ajaxData.template_vars.ids=self.allImageIds.slice(self.ajaxData.template_vars.quantity*(self.currentPage-1),self.ajaxData.template_vars.quantity*self.currentPage);if(!self.ajaxData.template_vars.ids.length){self.$loadmore.addClass('done');return}
self.$loadmore.addClass('loading');$.ajax({type:'post',url:$us.ajaxUrl,data:{action:self.ajaxData.action,template_vars:JSON.stringify(self.ajaxData.template_vars),},success:function(html){var $result=$(html),$items=$('.w-gallery-list > *',$result);if(!$items.length||self.currentPage===self.ajaxData.template_vars.max_num_pages){self.$loadmore.addClass('done')}
self.$list.append($items);if(self.$container.hasClass('action_popup_image')){self.initMagnificPopup()}
if(self.$container.hasClass('type_masonry')){var isotope=self.$list.data('isotope');if(isotope){isotope.insert($items);isotope.reloadItems()}}
if(self.ajaxData.template_vars.pagination=='load_on_scroll'){$us.waypoints.add(self.$loadmore,'-70%',self._events.getItems)}
self.$loadmore.removeClass('loading')},error:function(){self.$loadmore.removeClass('loading')}})},};$.fn.wGallery=function(options){return this.each(function(){$(this).data('WGallery',new $us.WGallery(this,options))})};$(function(){$('.w-gallery').wGallery()})})(jQuery);!function($,undefined){"use strict";var _document=document,_window=window,_null=null;_window.$us=_window.$us||{};const _REGEXP_EXTRACT_COORDINATES_=/^(-?[\d\.]+),(-?[\d\.]+)$/;_window.usGmapLoaded=function(){$us.$document.trigger('usGmapLoaded')};$us._wGmapsGeocodes={_maxAttempts:5,_tasks:{},add:function(key,callback){var self=this;self._tasks[''+key]={counter:0,running:!1,callback:callback,};return self.run.bind(self,key)},remove:function(key){var self=this;if(self._tasks[key]){delete self._tasks[key]}},run:function(key){var self=this,task=self._tasks[key];if($ush.isUndefined(task)||task.running){return}
if(task.counter>=self._maxAttempts){self.remove(key)}
if($.isFunction(task.callback)){task.counter++;task.running=!0;task.callback(function(){task.running=!1})}}};$us.wGmaps=function(container,options){var self=this;self.$container=$(container);if(self.$container.data('_inited')){return}
self.$container.data('_inited',1);self._mapInstance=_null;self.cookieName=self.$container.data('cookie-name');self.options=options||{};self.style={};self.uniqid=$ush.uniqid();var attributeName='data-api-key';if(self.$container.is('['+attributeName+']')){self._apiKey=self.$container.attr(attributeName);self.$container.removeAttr(attributeName)}
self._events={confirm:self._confirm.bind(self),redraw:self._redraw.bind(self),init:self._init.bind(self),};$us.$document.on('usGmapLoaded',self._events.init);if(self.cookieName){self.$container.on('click','.action_confirm_load',self._events.confirm);return}
if(!self.cookieName||$ush.getCookie(self.cookieName)){self[self.isGmapLoaded()?'_init':'_initAftetGmapLoaded']()}};$.extend($us.wGmaps.prototype,{isGmapLoaded:function(){return!!(_window.google||{})['maps']},_confirm:function(){var self=this;if($('input[name^='+self.cookieName+']:checked',self.$container).length){$ush.setCookie(self.cookieName,1,365)}
self.$container.html($ush.base64Decode(''+$('script[type="text/template"]',self.$container).text())).removeAttr('data-cookie-name');self[self.isGmapLoaded()?'_init':'_initAftetGmapLoaded']()},_init:function(){var self=this;if(self.$container.is('[data-cookie-name]')||!self.isGmapLoaded()){return}
var $mapJson=$('.w-map-json',self.$container);if($mapJson.is('[onclick]')){$.extend(self.options,$mapJson[0].onclick()||{});$mapJson.remove()}
var $styleJson=$('.w-map-style-json',self.$container);if($styleJson.is('[onclick]')){self.style=$styleJson[0].onclick()||{};$styleJson.remove()}
var mapOptions={el:'#'+self.$container.attr('id'),lat:0,lng:0,mapTypeId:google.maps.MapTypeId[self.options.maptype],type:self.options.type,zoom:self.options.zoom};if(self.options.hideControls){mapOptions.disableDefaultUI=!0}
if(self.options.disableZoom){mapOptions.scrollwheel=!1}
if(self.options.disableDragging&&(!$us.$html.hasClass('no-touch'))){mapOptions.draggable=!1}
self._mapInstance=new GMaps(mapOptions);if(self.style!=_null&&self.style!={}){self._mapInstance.map.setOptions({styles:self.style})}
var shouldRunGeoCode,matches=$ush.removeSpaces(''+self.options.address).match(_REGEXP_EXTRACT_COORDINATES_);if(matches){self.options.latitude=matches[1];self.options.longitude=matches[2];$ush.timeout(function(){self._mapInstance.setCenter(self.options.latitude,self.options.longitude)},1)}else{$us._wGmapsGeocodes.add(self.uniqid,function(stopGeocodeTask){self._mapGeoCode(self.uniqid,self.options.address,function(latitude,longitude){self.options.latitude=latitude;self.options.longitude=longitude;self._mapInstance.setCenter(latitude,longitude);if($.isFunction(stopGeocodeTask)){stopGeocodeTask()}},self.uniqid)})()}
$.each(self.options.markers,function(i,_){var markerOptions={};if(self.options.icon!=_null||self.options.markers[i].marker_img!=_null){var url,width,height;if(self.options.markers[i].marker_img!=_null){url=self.options.markers[i].marker_img[0];width=self.options.markers[i].marker_size[0];height=self.options.markers[i].marker_size[1]}else{url=self.options.icon.url;width=self.options.icon.size[0];height=self.options.icon.size[1]}
var size=new google.maps.Size($ush.parseInt(width),$ush.parseInt(height));markerOptions.icon={url:url,size:size,scaledSize:size,}}
if(self.options.markers[i]!=_null){var matches=$ush.removeSpaces(self.options.markers[i].address).match(_REGEXP_EXTRACT_COORDINATES_);if(matches){markerOptions.lat=matches[1];markerOptions.lng=matches[2];if(self.options.markers[i].html){markerOptions.infoWindow={content:self.options.markers[i].html}}
var marker=self._mapInstance.addMarker(markerOptions);if(self.options.markers[i].infowindow){marker.infoWindow.open(self._mapInstance.map,marker)}}else{var markerGeocodeId=self.uniqid+':'+i;$us._wGmapsGeocodes.add(markerGeocodeId,function(stopGeocodeTask){self._mapGeoCode(markerGeocodeId,self.options.markers[i].address,function(latitude,longitude){markerOptions.lat=latitude;markerOptions.lng=longitude;if(self.options.markers[i].html){markerOptions.infoWindow={content:self.options.markers[i].html}}
var marker=self._mapInstance.addMarker(markerOptions);if(self.options.markers[i].infowindow){marker.infoWindow.open($ush.clone(self._mapInstance.map,{shouldFocus:!1}),marker)}
if($.isFunction(stopGeocodeTask)){stopGeocodeTask()}})})()}}});$us.$canvas.on('contentChange',self._events.redraw);$us.$window.on('load',self._events.redraw)},_mapGeoCode:function(uniqid,address,callback){var self=this;GMaps.geocode({address:address,callback:function(results,status){if(status=='OK'){var location=results[0].geometry.location;if($.isFunction(callback)){callback.call(_null,location.lat(),location.lng(),results)}
$us._wGmapsGeocodes.remove(uniqid)}else if(status=='OVER_QUERY_LIMIT'){$ush.timeout($us._wGmapsGeocodes.bind(_null,uniqid),2000)}}})},_redraw:function(){var self=this;if(self.$container.is(':hidden')){return}
self.$container.css({height:'',width:''});self._mapInstance.refresh();var latitude=$ush.parseFloat(self.options.latitude),longitude=$ush.parseFloat(self.options.longitude);if(latitude&&longitude){self._mapInstance.setCenter(latitude,longitude)}},_initAftetGmapLoaded:function(){var $script=$('script#us-google-maps:first');if(!$script.is('[data-src]')){return}
$script.attr('src',(''+$script.data('src')).replace('&#038;','&')).removeAttr('data-src')}});$.fn.wGmaps=function(options){options=options||{};return this.each(function(){this._wGmaps=new $us.wGmaps(this,$ush.clone(options))})};$(function(){$('.w-map.provider_google').wGmaps()})}(jQuery);(function($,undefined){"use strict";var _document=document,_undefined=undefined,_window=window;$us.WGrid=function(container,options){this.init(container,options)};$us.WGrid.prototype={init:function(container,options){this.$container=$(container);this.$filters=$('.g-filters-item',this.$container);this.$list=$('.w-grid-list',this.$container);this.$loadmore=$('.g-loadmore',this.$container);this.$pagination=$('> .pagination',this.$container);this.$preloader=$('.w-grid-preloader',this.$container);this.$style=$('> style:first',this.$container);this.loading=!1;this.changeUpdateState=!1;this.gridFilter=null;this.curFilterTaxonomy='';this.paginationType=this.$pagination.length?'regular':(this.$loadmore.length?'ajax':'none');this.filterTaxonomyName=this.$list.data('filter_taxonomy_name')?this.$list.data('filter_taxonomy_name'):'category';if(this.$container.data('gridInit')==1){return}
this.$container.data('gridInit',1);var $jsonContainer=$('.w-grid-json',this.$container);if($jsonContainer.length&&$jsonContainer.is('[onclick]')){this.ajaxData=$jsonContainer[0].onclick()||{};if(!$us.usbPreview())$jsonContainer.remove()}else{this.ajaxData={};this.ajaxUrl=''}
this.carouselSettings=this.ajaxData.carousel_settings;this.breakpoints=this.ajaxData.carousel_breakpoints||{};if(this.$list.hasClass('owl-carousel')){this.carouselOptions={autoHeight:this.carouselSettings.autoHeight,autoplay:this.carouselSettings.autoplay,autoplayHoverPause:!0,autoplayTimeout:this.carouselSettings.timeout,center:this.carouselSettings.center,dots:this.carouselSettings.dots,items:parseInt(this.carouselSettings.items),loop:this.carouselSettings.loop,mouseDrag:!$.isMobile&&!$us.usbPreview(),nav:this.carouselSettings.nav,navElement:'button',navText:['',''],responsive:{},rewind:this.carouselSettings.loop,rtl:$('.l-body').hasClass('rtl'),slideBy:this.carouselSettings.slideby,slideTransition:this.carouselSettings.transition,smartSpeed:this.carouselSettings.speed};if(this.carouselSettings.smooth_play==1){this.carouselOptions.slideTransition='linear';this.carouselOptions.autoplaySpeed=this.carouselSettings.timeout;this.carouselOptions.smartSpeed=this.carouselSettings.timeout;this.carouselOptions.slideBy=1}
if(this.carouselSettings.carousel_fade){$.extend(this.carouselOptions,{animateOut:'fadeOut',animateIn:'fadeIn',})}
$.each(this.breakpoints,function(breakpointWidth,breakpointArgs){if(breakpointArgs!==_undefined&&breakpointArgs.items!==_undefined){this.carouselOptions.responsive[breakpointWidth]=breakpointArgs;this.carouselOptions.responsive[breakpointWidth].items=parseInt(breakpointArgs.items)}}.bind(this));this.$list.on('initialized.owl.carousel',function(e){var $list=this.$list,$toggleLinks=$('[data-content-height]',e.currentTarget);$toggleLinks.each(function(_,item){var $item=$(item),collapsibleContent=$item.data('usCollapsibleContent');if(collapsibleContent===_undefined){$item.usCollapsibleContent();collapsibleContent=$item.data('usCollapsibleContent')}
if(collapsibleContent instanceof $us.collapsibleContent){collapsibleContent.initHeightCheck();$ush.timeout(function(){$list.trigger('refresh.owl.carousel')},1)}});if($.isMobile&&$list.closest('.w-tabs-section.active').length){$ush.timeout(function(){$list.trigger('refresh.owl.carousel')},50)}
if(this.carouselSettings.autoHeight){$toggleLinks.on('toggleContent',function(){$list.trigger('refresh.owl.carousel')})}}.bind(this)).on('mousedown.owl.core',function(){var $target=$(this);if($('[data-content-height]',$target).length&&!jQuery.isMobile){var owlCarousel=$target.data('owl.carousel');owlCarousel.$stage.off('mousedown.owl.core')}});this.$list.owlCarousel(this.carouselOptions);var owlCarousel=this.$list.data('owl.carousel');if(owlCarousel&&this.carouselSettings.smooth_play){this.$list.trigger('next.owl.carousel')}
if(owlCarousel&&this.carouselSettings.aria_labels.prev&&this.carouselSettings.aria_labels.next){owlCarousel.$element.find('.owl-prev').attr('aria-label',this.carouselSettings.aria_labels.prev);owlCarousel.$element.find('.owl-next').attr('aria-label',this.carouselSettings.aria_labels.next)}}
if(this.$container.hasClass('open_items_in_popup')&&!this.$container.hasClass('us_post_list')&&!this.$container.hasClass('us_product_list')&&!$ush.isUndefined(this.ajaxData)){this.lightboxOpened=!1;this.lightboxTimer=null;this.originalURL=_window.location.href;this.$popup=$('.l-popup',this.$container);this.$popupBox=$('.l-popup-box',this.$popup);this.$popupContentPreloader=$('.l-popup-box-content .g-preloader',this.$popup);this.$popupContentFrame=$('.l-popup-box-content-frame',this.$popup);this.$popupNextArrow=$('.l-popup-arrow.to_next',this.$popup);this.$popupPrevArrow=$('.l-popup-arrow.to_prev',this.$popup);$us.$body.append(this.$popup);this.initLightboxAnchors();this.$popup.on('click','.l-popup-closer',this.hideLightbox.bind(this)).on('click','.l-popup-box',this.hideLightbox.bind(this)).on('click','.l-popup-box-content',function(e){e.stopPropagation()});$us.$window.on('resize',function(){if(this.lightboxOpened&&$us.$window.width()<$us.canvasOptions.disableEffectsWidth){this.hideLightbox()}}.bind(this))}
if(this.$list.hasClass('owl-carousel')){return}
if(this.paginationType!='none'||this.$filters.length){if(this.ajaxData==_undefined){return}
this.templateVars=this.ajaxData.template_vars||{};if(this.filterTaxonomyName){this.initialFilterTaxonomy=this.$list.data('filter_default_taxonomies')?this.$list.data('filter_default_taxonomies').toString().split(','):'';this.curFilterTaxonomy=this.initialFilterTaxonomy}
this.curPage=this.ajaxData.current_page||1;this.infiniteScroll=this.ajaxData.infinite_scroll||0}
if(this.$container.hasClass('with_isotope')){this.$list.imagesLoaded(function(){var smallestItemSelector,isotopeOptions={itemSelector:'.w-grid-item',layoutMode:(this.$container.hasClass('isotope_fit_rows'))?'fitRows':'masonry',isOriginLeft:!$('.l-body').hasClass('rtl'),transitionDuration:0};if(this.$list.find('.size_1x1').length){smallestItemSelector='.size_1x1'}else if(this.$list.find('.size_1x2').length){smallestItemSelector='.size_1x2'}else if(this.$list.find('.size_2x1').length){smallestItemSelector='.size_2x1'}else if(this.$list.find('.size_2x2').length){smallestItemSelector='.size_2x2'}
if(smallestItemSelector){smallestItemSelector=smallestItemSelector||'.w-grid-item';isotopeOptions.masonry={columnWidth:smallestItemSelector}}
this.$list.on('layoutComplete',function(){if(_window.USAnimate){$('.w-grid-item.off_autostart',this.$list).removeClass('off_autostart');new USAnimate(this.$list)}
$us.$window.trigger('scroll.waypoints')}.bind(this));this.$list.isotope(isotopeOptions);if(this.paginationType=='ajax'){this.initAjaxPagination()}
$us.$canvas.on('contentChange',function(){this.$list.imagesLoaded(function(){this.$list.isotope('layout')}.bind(this))}.bind(this))}.bind(this))}else if(this.paginationType=='ajax'){this.initAjaxPagination()}
this.$filters.each(function(index,filter){var $filter=$(filter),taxonomy=$filter.data('taxonomy');$filter.on('click',function(){if(taxonomy!=this.curFilterTaxonomy){if(this.loading){return}
this.setState(1,taxonomy);this.$filters.removeClass('active');$filter.addClass('active')}}.bind(this))}.bind(this));if(this.$container.closest('.l-main').length){$us.$body.on('us_grid.updateState',this._events.updateState.bind(this)).on('us_grid.updateOrderBy',this._events.updateOrderBy.bind(this))}
this.$list.on('click','[ref=magnificPopup]',this._events.initMagnificPopup.bind(this))},_events:{updateState:function(e,queryString,page,gridFilter){var $container=this.$container;if(!$container.is('[data-filterable="true"]')||!$container.hasClass('used_by_grid_filter')||(!$container.is(':visible')&&!$container.hasClass('hidden'))){return}
page=page||1;this.changeUpdateState=!0;this.gridFilter=gridFilter;if(this.ajaxData===_undefined){this.ajaxData={}}
if(!this.hasOwnProperty('templateVars')){this.templateVars=this.ajaxData.template_vars||{query_args:{}}}
this.templateVars.us_grid_filter_query_string=queryString;if(this.templateVars.query_args!==!1){this.templateVars.query_args.paged=page}
this.templateVars.filters_args=gridFilter.filtersArgs||{};this.setState(page);if(this.paginationType==='regular'&&/page(=|\/)/.test(location.href)){var url=location.href.replace(/(page(=|\/))(\d+)(\/?)/,'$1'+page+'$2');if(history.replaceState){history.replaceState(_document.title,_document.title,url)}}},updateOrderBy:function(e,orderby,page,gridOrder){if(!this.$container.is('[data-filterable="true"]')||!this.$container.hasClass('used_by_grid_order')){return}
page=page||1;this.changeUpdateState=!0;if(!this.hasOwnProperty('templateVars')){this.templateVars=this.ajaxData.template_vars||{query_args:{}}}
if(this.templateVars.query_args!==!1){this.templateVars.query_args.paged=page}
this.templateVars.grid_orderby=orderby;this.setState(page)},initMagnificPopup:function(e){e.stopPropagation();e.preventDefault();var $target=$(e.currentTarget);if($target.data('magnificPopup')===_undefined){$target.magnificPopup({type:'image',mainClass:'mfp-fade'});$target.trigger('click')}}},initLightboxAnchors:function(){var self=this;$('.w-grid-item-anchor:not(.lightbox_init)',self.$list).on('click',function(e){var $item=$(e.target).closest('.w-grid-item'),url=$('.w-grid-item-anchor',$item).attr('href');if(!$item.hasClass('custom-link')){if($us.$window.width()>=$us.canvasOptions.disableEffectsWidth){e.stopPropagation();e.preventDefault();self.openLightboxItem(url,$item);$item.addClass('lightbox_init')}}})},initAjaxPagination:function(){this.$loadmore.on('click',function(){if(this.curPage<this.ajaxData.max_num_pages){this.setState(this.curPage+1)}}.bind(this));if(this.infiniteScroll){$us.waypoints.add(this.$loadmore,'-70%',function(){if(!this.loading){this.$loadmore.click()}}.bind(this))}},setState:function(page,taxonomy){if(this.loading&&!this.changeUpdateState){return}
if(page!==1&&this.paginationType=='ajax'&&this.none!==_undefined&&this.none==!0){return}
this.none=!1;this.loading=!0;this.$container.next('.w-grid-none').addClass('hidden');if(this.$filters.length&&!this.changeUpdateState){taxonomy=taxonomy||this.curFilterTaxonomy;if(taxonomy=='*'){taxonomy=this.initialFilterTaxonomy}
if(taxonomy!=''){var newTaxArgs={'taxonomy':this.filterTaxonomyName,'field':'slug','terms':taxonomy},taxQueryFound=!1;if(this.templateVars.query_args.tax_query==_undefined){this.templateVars.query_args.tax_query=[]}else{$.each(this.templateVars.query_args.tax_query,function(index,taxArgs){if(taxArgs!=null&&taxArgs.taxonomy==this.filterTaxonomyName){this.templateVars.query_args.tax_query[index]=newTaxArgs;taxQueryFound=!0;return!1}}.bind(this))}
if(!taxQueryFound){this.templateVars.query_args.tax_query.push(newTaxArgs)}}else if(this.templateVars.query_args.tax_query!=_undefined){$.each(this.templateVars.query_args.tax_query,function(index,taxArgs){if(taxArgs!=null&&taxArgs.taxonomy==this.filterTaxonomyName){this.templateVars.query_args.tax_query[index]=null;return!1}}.bind(this))}}
if(this.templateVars.query_args!==!1){this.templateVars.query_args.paged=page}
if(this.paginationType=='ajax'){if(page==1){this.$loadmore.addClass('done')}else{this.$loadmore.addClass('loading')}
if(!this.infiniteScroll){this.prevScrollTop=$us.$window.scrollTop()}}
if(this.paginationType!='ajax'||page==1){this.$preloader.addClass('active');if(this.$list.data('isotope')){this.$list.isotope('remove',this.$container.find('.w-grid-item'));this.$list.isotope('layout')}else{this.$container.find('.w-grid-item').remove()}}
this.ajaxData.template_vars=JSON.stringify(this.templateVars);var isotope=this.$list.data('isotope');if(isotope&&page==1){this.$list.html('');isotope.remove(isotope.items);isotope.reloadItems()}
if(this.xhr!==_undefined){this.xhr.abort()}
this.xhr=$.ajax({type:'post',url:$us.ajaxUrl,data:this.ajaxData,cache:!1,beforeSend:function(){this.$container.removeClass('hidden')}.bind(this),success:function(html){var $result=$(html),$container=$('.w-grid-list',$result).first(),$pagination=$('.pagination > *',$result),$items=$container.children(),smallestItemSelector;this.$container.toggleClass('hidden',!$items.length);$container.imagesLoaded(function(){this.beforeAppendItems($items);$items.appendTo(this.$list);$container.html('');var $sliders=$items.find('.w-slider');if(isotope){isotope.insert($items);isotope.reloadItems()}
if($sliders.length){$sliders.each(function(index,slider){$(slider).wSlider().find('.royalSlider').data('royalSlider').ev.on('rsAfterInit',function(){if(isotope){this.$list.isotope('layout')}})}.bind(this))}
if(isotope){if(this.$list.find('.size_1x1').length){smallestItemSelector='.size_1x1'}else if(this.$list.find('.size_1x2').length){smallestItemSelector='.size_1x2'}else if(this.$list.find('.size_2x1').length){smallestItemSelector='.size_2x1'}else if(this.$list.find('.size_2x2').length){smallestItemSelector='.size_2x2'}
if(isotope.options.masonry){isotope.options.masonry.columnWidth=smallestItemSelector||'.w-grid-item'}
this.$list.isotope('layout');this.$list.trigger('layoutComplete')}
var $tabs=$('.w-tabs',$items);if($tabs.length>0){$tabs.wTabs()}
if(this.paginationType=='ajax'){var $video=$('.w-video',$items);if($video.length>0){$video.wVideo()}
if(page==1){var $jsonContainer=$result.find('.w-grid-json');if($jsonContainer.length){var ajaxData=$jsonContainer[0].onclick()||{};this.ajaxData.max_num_pages=ajaxData.max_num_pages||this.ajaxData.max_num_pages}else{this.ajaxData.max_num_pages=1}}
if(this.templateVars.query_args.paged>=this.ajaxData.max_num_pages||!$items.length){this.$loadmore.addClass('done')}else{this.$loadmore.removeClass('done').removeClass('loading')}
if(this.infiniteScroll){$us.waypoints.add(this.$loadmore,'-70%',function(){if(!this.loading){this.$loadmore.click()}}.bind(this))}else if(Math.round(this.prevScrollTop)!=Math.round($us.$window.scrollTop())){$us.$window.scrollTop(this.prevScrollTop)}}else if(this.paginationType==='regular'&&this.changeUpdateState){$('a[href]',$pagination).each(function(_,item){var $item=$(item),pathname=location.pathname.replace(/((\/page.*)?)\/$/,'');$item.attr('href',pathname+$item.attr('href'))});this.$pagination.html($pagination)}
if(this.$container.hasClass('open_items_in_popup')){this.initLightboxAnchors()}
var $result_none=$result.next('.w-grid-none');if(this.changeUpdateState&&$result_none.length){var $none=this.$container.next('.w-grid-none');if($none.length){$none.removeClass('hidden')}else{this.$container.after($result_none)}
var $nextGrid=$('.w-grid:first',this.$container.next('.w-grid-none'));if($nextGrid.length){$nextGrid.wGrid()}
this.none=!0}
if(this.changeUpdateState&&this.gridFilter){var $jsonData=$result.filter('.w-grid-filter-json-data:first');if($jsonData.length){this.gridFilter.trigger('us_grid_filter.update-items-amount',$jsonData[0].onclick()||{})}
$jsonData.remove()}
var customStyles=$('style#grid-post-content-css',$result).html()||'';if(customStyles){if(!this.$style.length){this.$style=$('<style></style>');this.$container.append(this.$style)}
this.$style.text(this.$style.text()+customStyles)}
$us.$canvas.resize();this.$preloader.removeClass('active');if(_window.USAnimate&&this.$container.hasClass('with_css_animation')){new USAnimate(this.$container)}}.bind(this));this._scrollToGrid();this.loading=!1;this.$container.trigger('USGridItemsLoaded')}.bind(this),error:function(){this.$loadmore.removeClass('loading')}.bind(this)});this.curPage=page;this.curFilterTaxonomy=taxonomy},_scrollToGrid:function(){var self=this;if(self.curPage!==1){return}
var gridPos=$ush.parseInt(this.$container.offset().top),scrollTop=$us.$window.scrollTop();if(scrollTop>=gridPos||gridPos>=(scrollTop+_window.innerHeight)){$us.$htmlBody.stop(!0,!1).animate({scrollTop:(gridPos-$us.header.getCurrentHeight())},500)}},_hasScrollbar:function(){return _document.documentElement.scrollHeight>_document.documentElement.clientHeight},_getScrollbarSize:function(){if($us.scrollbarSize===_undefined){var scrollDiv=_document.createElement('div');scrollDiv.style.cssText='width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;';_document.body.appendChild(scrollDiv);$us.scrollbarSize=scrollDiv.offsetWidth-scrollDiv.clientWidth;_document.body.removeChild(scrollDiv)}
return $us.scrollbarSize},openLightboxItem:function(itemUrl,$item){this.showLightbox();var prevIndex,nextIndex,currentIndex=0,items=$('.w-grid-item:visible:not(.custom-link)',this.$container).toArray();for(var i in items){if($item.is(items[i])){currentIndex=parseInt(i);break}}
if(currentIndex>0){prevIndex=currentIndex-1}
if(currentIndex<items.length){nextIndex=currentIndex+1}
var $prevItem=$($.isNumeric(prevIndex)?items[prevIndex]:''),$nextItem=$($.isNumeric(nextIndex)?items[nextIndex]:'');if($nextItem.length>0){this.$popupNextArrow.removeClass('hidden');this.$popupNextArrow.attr('title',$nextItem.find('.w-grid-item-title').text());this.$popupNextArrow.off('click').click(function(e){var $nextItemAnchor=$nextItem.find('.w-grid-item-anchor'),nextItemUrl=$nextItemAnchor.attr('href');e.stopPropagation();e.preventDefault();this.openLightboxItem(nextItemUrl,$nextItem)}.bind(this))}else{this.$popupNextArrow.attr('title','');this.$popupNextArrow.addClass('hidden')}
if($prevItem.length>0){this.$popupPrevArrow.removeClass('hidden');this.$popupPrevArrow.attr('title',$prevItem.find('.w-grid-item-title').text());this.$popupPrevArrow.off('click').on('click',function(e){var $prevItemAnchor=$prevItem.find('.w-grid-item-anchor'),prevItemUrl=$prevItemAnchor.attr('href');e.stopPropagation();e.preventDefault();this.openLightboxItem(prevItemUrl,$prevItem)}.bind(this))}else{this.$popupPrevArrow.attr('title','');this.$popupPrevArrow.addClass('hidden')}
if(itemUrl.indexOf('?')!==-1){this.$popupContentFrame.attr('src',itemUrl+'&us_iframe=1')}else{this.$popupContentFrame.attr('src',itemUrl+'?us_iframe=1')}
if(history.replaceState){history.replaceState(null,null,itemUrl)}
this.$popupContentFrame.off('load').on('load',function(){this.lightboxContentLoaded()}.bind(this))},lightboxContentLoaded:function(){this.$popupContentPreloader.css('display','none');this.$popupContentFrame.contents().find('body').off('keyup.usCloseLightbox').on('keyup.usCloseLightbox',function(e){if($ush.toLowerCase(e.key)==='escape'){this.hideLightbox()}}.bind(this))},showLightbox:function(){clearTimeout(this.lightboxTimer);this.$popup.addClass('active');this.lightboxOpened=!0;this.$popupContentPreloader.css('display','block');$us.$html.addClass('usoverlay_fixed');if(!$.isMobile){this.windowHasScrollbar=this._hasScrollbar();if(this.windowHasScrollbar&&this._getScrollbarSize()){$us.$html.css('margin-right',this._getScrollbarSize())}}
this.lightboxTimer=setTimeout(function(){this.afterShowLightbox()}.bind(this),25)},afterShowLightbox:function(){clearTimeout(this.lightboxTimer);this.$container.on('keyup',function(e){if(this.$container.hasClass('open_items_in_popup')){if($ush.toLowerCase(e.key)==='escape'){this.hideLightbox()}}}.bind(this));this.$popupBox.addClass('show');$us.$canvas.trigger('contentChange');$us.$window.trigger('resize')},hideLightbox:function(){clearTimeout(this.lightboxTimer);this.lightboxOpened=!1;this.$popupBox.removeClass('show');if(history.replaceState){history.replaceState(null,null,this.originalURL)}
this.lightboxTimer=setTimeout(function(){this.afterHideLightbox()}.bind(this),500)},afterHideLightbox:function(){this.$container.off('keyup');clearTimeout(this.lightboxTimer);this.$popup.removeClass('active');this.$popupContentFrame.attr('src','about:blank');$us.$html.removeClass('usoverlay_fixed');if(!$.isMobile){if(this.windowHasScrollbar){$us.$html.css('margin-right','')}}},beforeAppendItems:function($items){if($('[data-content-height]',$items).length){var handle=$ush.timeout(function(){$('[data-content-height]',$items).usCollapsibleContent();$ush.clearTimeout(handle)},1)}}};$.fn.wGrid=function(options){return this.each(function(){$(this).data('wGrid',new $us.WGrid(this,options))})};$(function(){$('.w-grid').wGrid()});$('.w-grid-list').each(function(){var $list=$(this);if(!$list.find('[ref=magnificPopupGrid]').length){return}
var delegateStr='a[ref=magnificPopupGrid]:visible',popupOptions;if($list.hasClass('owl-carousel')){delegateStr='.owl-item:not(.cloned) a[ref=magnificPopupGrid]'}
popupOptions={type:'image',delegate:delegateStr,gallery:{enabled:!0,navigateByImgClick:!0,preload:[0,1],tPrev:$us.langOptions.magnificPopup.tPrev,tNext:$us.langOptions.magnificPopup.tNext,tCounter:$us.langOptions.magnificPopup.tCounter},image:{titleSrc:'aria-label'},removalDelay:300,mainClass:'mfp-fade',fixedContentPos:!0,callbacks:{beforeOpen:function(){var owlCarousel=$list.data('owl.carousel');if(owlCarousel&&owlCarousel.settings.autoplay){$list.trigger('stop.owl.autoplay')}},beforeClose:function(){var owlCarousel=$list.data('owl.carousel');if(owlCarousel&&owlCarousel.settings.autoplay){$list.trigger('play.owl.autoplay')}}}};$list.magnificPopup(popupOptions);if($list.hasClass('owl-carousel')){$list.on('initialized.owl.carousel',function(initEvent){var $currentList=$(initEvent.currentTarget),items={};$('.owl-item:not(.cloned)',$currentList).each(function(_,item){var $item=$(item),id=$item.find('[data-id]').data('id');if(!items.hasOwnProperty(id)){items[id]=$item}});$currentList.on('click','.owl-item.cloned',function(e){e.preventDefault();e.stopPropagation();var id=$('[data-id]',e.currentTarget).data('id');if(items.hasOwnProperty(id)){$('a[ref=magnificPopupGrid]',items[id]).trigger('click')}})})}})})(jQuery);!function($,undefined){"use strict";var _document=document,_undefined=undefined;var abs=Math.abs;function usGridFilter(container,options){var self=this;self.filtersArgs={};self.options={filterPrefix:'filter',gridNotFoundMessage:!1,gridPaginationSelector:'.w-grid-pagination',gridSelector:'.w-grid[data-filterable="true"]:first',layout:'hor',mobileWidth:600,use_grid:'first'};self.$container=$(container);self.$filtersItem=$('.w-filter-item',container);if(self.$container.is('[onclick]')){$.extend(self.options,self.$container[0].onclick()||{});if(!$us.usbPreview()){self.$container.removeAttr('onclick')}}
if(self.options.use_grid!=='first'){var $use_grid=$(self.options.use_grid);if($use_grid.length&&$use_grid.hasClass('w-grid')){self.$grid=$use_grid}}
if($ush.isUndefined(self.$grid)){self.$grid=$('.l-main '+self.options.gridSelector,$us.$canvas)}
var $filtersArgs=$('.w-filter-json-filters-args:first',self.$container);if($filtersArgs.length){self.filtersArgs=$filtersArgs[0].onclick()||{};$filtersArgs.remove()}
if(!self.$grid.length&&self.options.gridNotFoundMessage){self.$container.prepend('<div class="w-filter-message">'+self.options.gridNotFoundMessage+'</div>')}
self._events={changeFilter:self._changeFilter.bind(self),filterListCloser:self._filterListCloser.bind(self),filterOpener:self._filterOpener.bind(self),hideItem:self._hideItem.bind(self),loadPageNumber:self._loadPageNumber.bind(self),resetItem:self._resetItem.bind(self),resize:self._resize.bind(self),showHideAccordionItem:self._showHideAccordionItem.bind(self),showItem:self._showItem.bind(self),toggleItemValue:self._toggleItemValue.bind(self),updateItemsAmount:self._updateItemsAmount.bind(self),woocommerceOrdering:self._woocommerceOrdering.bind(self),};self.$grid.addClass('used_by_grid_filter');self.$container.on('click','.w-filter-opener',self._events.filterOpener).on('click','.w-filter-list-closer, .w-filter-list-panel > .w-btn',self._events.filterListCloser);self.$filtersItem.on('change','input, select',self._events.changeFilter).on('click','.w-filter-item-reset',self._events.resetItem);$(self.options.gridPaginationSelector,self.$grid).on('click','.page-numbers',self._events.loadPageNumber);$us.$window.on('resize load',$ush.debounce(self._events.resize,10));self.on('changeItemValue',self._events.toggleItemValue);if(self.$container.hasClass('show_on_click')){self.$filtersItem.on('click','.w-filter-item-title',self._events.showItem);$(_document).mouseup(self._events.hideItem)}
$us.$document.keyup(function(e){if(e.keyCode==27){this._hideItem({})}}.bind(self));$('form.woocommerce-ordering',$us.$canvas).off('change','select.orderby').on('change','select.orderby',self._events.woocommerceOrdering);$('.ui-slider',self.$container).each(function(_,node){var $node=$(node),$parent=$node.parent(),valueFormat=function(value){value=$ush.toString(value);if(options.priceFormat){var priceFormat=$ush.toPlainObject(options.priceFormat),decimals=$ush.parseInt(abs(priceFormat.decimals));if(decimals){value=$ush.toString($ush.parseFloat(value).toFixed(decimals)).replace(/^(\d+)(\.)(\d+)$/,'$1'+priceFormat.decimal_separator+'$3')}
value=value.replace(/\B(?=(\d{3})+(?!\d))/g,priceFormat.thousand_separator)}
return $ush.toString(options.unitFormat).replace('%d',value)},showRangeResult=function(e,ui){$('.for_min_value',$parent).html(valueFormat(ui.values[0]));$('.for_max_value',$parent).html(valueFormat(ui.values[1]))};var options=$.extend(!0,{slider:{animate:!0,max:100,min:0,range:!0,step:1,values:[0,100],},unitFormat:'%d',priceFormat:null,},node.onclick()||{});$node.data('defautlValues',[options.slider.min,options.slider.max].join('-')).removeAttr('onclick').slider($.extend(options.slider,{slide:showRangeResult,change:$ush.debounce(function(e,ui){showRangeResult(e,ui);$('input[type=hidden]',$parent).val(ui.values.join('-')).trigger('change')}),}))});self.checkItemValues();self.$container.toggleClass('active',self.$filtersItem.hasClass('has_value'));self.on('us_grid_filter.update-items-amount',self._events.updateItemsAmount);self._events.resize();if(self.$container.hasClass('togglable')){self.$filtersItem.on('click','.w-filter-item-title',self._events.showHideAccordionItem)}};$.extend(usGridFilter.prototype,$us.mixins.Events,{isMobile:function(){return $ush.parseInt($us.$window.width())<=$ush.parseInt(this.options.mobileWidth)},_changeFilter:function(e){var self=this,$target=$(e.currentTarget),$item=$target.closest('.w-filter-item'),type=$ush.toString($item.usMod('type'));$item.removeClass('disabled');self.$filtersItem.not($item).addClass('disabled');if(['radio','checkbox'].indexOf(type)>-1){if(type==='radio'){$('.w-filter-item-value',$item).removeClass('selected')}
$target.closest('.w-filter-item-value').toggleClass('selected',$target.is(':checked '))}else if(type==='range'){var $inputs=$('input[type!=hidden]',$item),rangeValues=[];$inputs.each(function(i,input){var $input=$(input),value=$ush.parseInt(input.value),handle=$ush.toString(input.dataset.handle);if(!value&&handle==['min_value','max_value'][i]&&rangeValues.length==i){value=$input.attr('placeholder')}
rangeValues.push($ush.parseInt(value))});rangeValues=rangeValues.join('-');$('input[type="hidden"]',$item).val(rangeValues!=='0-0'?rangeValues:'')}else if(type==='slider'){var $input=$('input[type="hidden"]',$item);if($input.val()==$ush.toString($('.ui-slider',$item).data('defautlValues'))){$input.val('')}}
var value=self.getValue();$ush.debounce_fn_1ms(self.URLSearchParams.bind(self,value));self.triggerGrid('us_grid.updateState',[value,1,self]);self.trigger('changeItemValue',$item);self.$container.toggleClass('active',self.$filtersItem.hasClass('has_value'))},_loadPageNumber:function(e){e.preventDefault();e.stopPropagation();var self=this,$target=$(e.currentTarget),href=$ush.toString($target.attr('href')),page=$ush.parseInt((href.match(/page(=|\/)(\d+)(\/?)/)||[])[2]||1);history.replaceState(_document.title,_document.title,href);self.triggerGrid('us_grid.updateState',[self.getValue(),page,self])},_resetItem:function(e){e.preventDefault();e.stopPropagation();var self=this,$item=$(e.currentTarget).closest('.w-filter-item'),type=$ush.toString($item.usMod('type'));if(!type){return}
if(['checkbox','radio'].indexOf(type)>-1){$('input:checked',$item).prop('checked',!1);$('input[value="*"]:first',$item).each(function(_,input){$(input).prop('checked',!0).closest('.w-filter-item').addClass('selected')})}
if(type==='range'){$('input',$item).val('')}
if(type==='dropdown'){$('option',$item).prop('selected',!1)}
if(type==='slider'){var $uiSlider=$('.ui-slider',$item);$uiSlider.slider('values',$ush.toString($uiSlider.data('defautlValues')).split('-'))}
$('.w-filter-item-value',$item).removeClass('selected');self.trigger('changeItemValue',$item);self.$container.toggleClass('active',self.$filtersItem.hasClass('has_value'));var value=self.getValue();$ush.debounce_fn_1ms(self.URLSearchParams.bind(self,value));self.URLSearchParams(value);self.triggerGrid('us_grid.updateState',[value,1,self])},_toggleItemValue:function(_,item){var self=this,$item=$(item),title='',hasValue=!1,type=$ush.toString($item.usMod('type')),$selected=$('input:not([value="*"]):checked',$item);if(!type){return}
if(['checkbox','radio'].indexOf(type)>-1){hasValue=$selected.length;if(self.options.layout=='hor'){var title='';if($selected.length===1){title+=': '+$selected.nextAll('.w-filter-item-value-label:first').text()}else if($selected.length>1){title+=': '+$selected.length}}}
if(type==='dropdown'){var value=$('select:first',$item).val();hasValue=(value!=='*')?value:''}
if(type==='range'){var value=$('input[type="hidden"]:first',$item).val();hasValue=value;if(self.options.layout=='hor'&&value){title+=': '+value}}
if(type==='slider'){var value=$('input[type="hidden"]:first',$item).val();hasValue=value&&value!=$ush.toString($('.ui-slider',$item).data('defautlValues'))}
$item.toggleClass('has_value',!!hasValue);if(self.$container.hasClass('togglable')&&hasValue){$item.addClass('open')}
$('> .w-filter-item-title > span:not(.w-filter-item-reset)',item).html(title)},_resize:function(){var self=this;self.$container.usMod('state',self.isMobile()?'mobile':'desktop');if(!self.isMobile()){$us.$body.removeClass('us_filter_open');self.$container.removeClass('open')}},_filterOpener:function(){$us.$body.addClass('us_filter_open');this.$container.addClass('open')},_filterListCloser:function(){$us.$body.removeClass('us_filter_open');this.$container.removeClass('open')},_showItem:function(e){this._hideItem(e);$(e.currentTarget).closest('.w-filter-item').addClass('show')},_hideItem:function(e){var self=this;if(self.$filtersItem.hasClass('show')){self.$filtersItem.filter('.show').each(function(_,node){var $node=$(node);if(!$node.is(e.target)&&$node.has(e.target).length===0){$node.removeClass('show')}})}},_showHideAccordionItem:function(e){$(e.currentTarget).closest('.w-filter-item').toggleClass('open')},_woocommerceOrdering:function(e){e.stopPropagation();var self=this,$form=$(e.currentTarget).closest('form');$('input[name^="'+self.options.filterPrefix+'"]',$form).remove();$.each(self.getValue().split('&'),function(_,value){value=value.split('=');if(value.length===2){$form.append('<input type="hidden" name="'+value[0]+'" value="'+value[1]+'"/>')}});$form.trigger('submit')},_updateItemsAmount:function(_,data){var self=this;self.$filtersItem.removeClass('disabled');$.each((data.taxonomies_query_args||{}),function(key,items){var $item=self.$filtersItem.filter('[data-source="'+key+'"]'),type=$ush.toString($item.usMod('type')),showCount=0;$.each(items,function(value,amount){var disabled=!amount;if(!disabled){showCount++}
if(type==='dropdown'){var $option=$('select:first option[value="'+value+'"]',$item),template=$option.data('template')||'';if(template){template=template.replace('%s',(amount?'('+amount+')':''));$option.text(template)}
$option.prop('disabled',disabled).toggleClass('disabled',disabled)}else{var $input=$('input[value="'+value+'"]',$item);$input.prop('disabled',disabled).nextAll('.w-filter-item-value-amount').text(amount);$input.closest('.w-filter-item-value').toggleClass('disabled',disabled);if(disabled&&$input.is(':checked')){$input.prop('checked',!1)}}});if(!showCount&&self.options.hideDisabledValues){$item.addClass('disabled')}});if(data.hasOwnProperty('wc_min_max_price')&&data.wc_min_max_price instanceof Object){var $price=self.$filtersItem.filter('[data-source$="|_price"]');$.each((data.wc_min_max_price||{}),function(name,value){var $input=$('input.type_'+name,$price);$input.attr('placeholder',value?value:$input.attr('aria-label'))})}
if(!$.isEmptyObject(data)){if(self.handle){$ush.clearTimeout(self.handle)}
self.handle=$ush.timeout(function(){$ush.debounce_fn_1ms(self.URLSearchParams.bind(self,self.getValue()));self.checkItemValues()},100)}},triggerGrid:function(eventType,extraParams){$ush.debounce_fn_10ms(function(){$us.$body.trigger(eventType,extraParams)})},checkItemValues:function(){var self=this;self.$filtersItem.each(function(_,node){self.trigger('changeItemValue',node)})},getValue:function(){var value='',filters={};$.each(this.$container.serializeArray(),function(_,filter){if(filter.value==='*'||!filter.value){return}
if(!filters.hasOwnProperty(filter.name)){filters[filter.name]=[]}
filters[filter.name].push(filter.value)});for(var k in filters){if(value){value+='&'}
if($.isArray(filters[k])){value+=k+'='+filters[k].join(',')}}
return encodeURI(value);},URLSearchParams:function(params){var url=location.origin+location.pathname+(location.pathname.slice(-1)!='/'?'/':''),search=location.search.replace(new RegExp(this.options.filterPrefix+"(.+?)(&|$)","g"),'');if(!search||search.substr(0,1)!=='?'){search+='?'}else if('?&'.indexOf(search.slice(-1))===-1){search+='&'}
if(!params&&'?&'.indexOf(search.slice(-1))!==-1){search=search.slice(0,-1)}
history.replaceState(_document.title,_document.title,url+search+params)}});$.fn.usGridFilter=function(options){return this.each(function(){$(this).data('usGridFilter',new usGridFilter(this,options))})};$(function(){$('.w-filter',$us.$canvas).usGridFilter()})}(jQuery);(function($,undefined){"use strict";$us.WGridOrder=function(container){this.init(container)};$.extend($us.WGridOrder.prototype,$us.mixins.Events,{init:function(container){this.$container=$(container);this.$select=$('select',this.$container);this.$grid=$('.w-grid[data-filterable="true"]:first',$us.$canvas.find('.l-main'));this.name=this.$select.attr('name')||'order';this.$container.on('change','select',this._events.changeSelect.bind(this));this.$grid.addClass('used_by_grid_order')},_events:{changeSelect:function(){var value=this.$select.val()||'',matches=(location.href.match(/page(=|\/)(\d+)(\/?)/)||[]),page=parseInt(matches[2]||1);this.URLSearchValue(value);this.triggerGrid('us_grid.updateOrderBy',[value,page,this])}},triggerGrid:function(eventType,extraParameters){$ush.debounce_fn_10ms(function(){$us.$body.trigger(eventType,extraParameters)})},URLSearchValue:function(value){var orderby_search='',url=location.origin+location.pathname+(location.pathname.slice(-1)!='/'?'/':''),search=location.search.replace(new RegExp('[?&]'+this.name+'=[^&#]*(#.*)?$'),'$1').replace(new RegExp('([?&])'+this.name+'=[^&]*&'),'$1');if(search&&search.substr(0,1)==='?'){search=search.slice(1)}
if(value){orderby_search+=this.name+'='+value}
if(orderby_search&&search){orderby_search+='&'}
orderby_search+=search;history.replaceState(document.title,document.title,url+(orderby_search?'?'+orderby_search:''))}});$.fn.wGridOrder=function(options){return this.each(function(){$(this).data('wGridOrder',new $us.WGridOrder(this))})};$(function(){$('.w-order.for_grid',$us.$canvas).wGridOrder()})})(jQuery);!function($,undefined){"use strict";var _window=window,_undefined=undefined;_window.$ush=_window.$ush||{};_window.$us.canvas=_window.$us.canvas||{};function USHeader(settings){var self=this;self.$container=$('.l-header',$us.$canvas);self.$showBtn=$('.w-header-show:first',$us.$body);self.settings=settings||{};self.state='default';self.$elms={};self.canvasOffset=0;self.bodyHeight=$us.$body.height();self.adminBarHeight=0;self._states={init_height:0,scroll_direction:'down',sticky:!1,sticky_auto_hide:!1,vertical_scrollable:!1};if(self.$container.length===0){return}
self._states.init_height=self.getHeight();self.$places={hidden:$('.l-subheader.for_hidden',self.$container)};self.breakpoints={laptops:1280,tablets:1024,mobiles:600};for(var k in self.breakpoints){self.breakpoints[k]=parseInt(((settings[k]||{}).options||{}).breakpoint)||self.breakpoints[k]}
$('.l-subheader-cell',self.$container).each(function(_,place){var $place=$(place),key=$place.parent().parent().usMod('at')+'_'+$place.usMod('at');self.$places[key]=$place});$('[class*=ush_]',self.$container).each(function(_,elm){var $elm=$(elm),matches=/(^| )ush_([a-z_]+)_([0-9]+)(\s|$)/.exec(elm.className);if(!matches){return}
var id=matches[2]+':'+matches[3];self.$elms[id]=$elm;if($elm.is('.w-vwrapper, .w-hwrapper')){self.$places[id]=$elm}});$us.$window.on('scroll',$ush.debounce(self._events.scroll.bind(self),1)).on('resize load',$ush.debounce(self._events.resize.bind(self),1));self.$container.on('contentChange',self._events.contentChange.bind(self));self.$showBtn.on('click',self._events.showBtn.bind(self));self.on('changeSticky',self._events._changeSticky.bind(self)).on('swichVerticalScrollable',self._events._swichVerticalScrollable.bind(self));self.setState('default',!0);self._events.resize.call(self);if(self.isStickyAutoHideEnabled()){self.$container.addClass('sticky_auto_hide')}
self.$container.on('transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd',$ush.debounce(function(){self.trigger.call(self,'transitionEnd')},1))}
$.extend(USHeader.prototype,$us.mixins.Events,{prevScrollTop:0,currentStateIs:function(state){var self=this;return(state&&(['default'].concat(Object.keys(self.breakpoints))).indexOf(state)!==-1&&self.state===state)},isVertical:function(){return this.orientation==='ver'},isHorizontal:function(){return this.orientation==='hor'},isFixed:function(){return this.pos==='fixed'},isStatic:function(){return this.pos==='static'},isTransparent:function(){return this.bg==='transparent'},_isWithinScrollBoundaries:function(scrollTop){scrollTop=Math.ceil(scrollTop);return(scrollTop+_window.innerHeight>=$us.$document.height())||scrollTop<=0},isHidden:function(){return!!$us.header.settings.is_hidden},isStickyEnabled:function(){var self=this;return((self.settings[self.state]||{}).options||{}).sticky||!1},isStickyAutoHideEnabled:function(){var self=this;return self.isStickyEnabled()&&(((self.settings[self.state]||{}).options||{}).sticky_auto_hide||!1)},isSticky:function(){return this._states.sticky||!1},isStickyAutoHidden:function(){return this._states.sticky_auto_hide||!1},getHeaderInitialPos:function(){return $us.$body.usMod('headerinpos')||''},getScrollDirection:function(){return this._states.scroll_direction||'down'},getHeight:function(){var self=this;if(!self.$container.length){return 0}
var beforeContent=getComputedStyle(self.$container.get(0),':before').content,height=0;if(beforeContent&&['none','auto'].indexOf(beforeContent)===-1){height=beforeContent.replace(/[^+\d]/g,'')}
if(!height){height=self.$container.outerHeight()}
return!isNaN(height)?$ush.parseFloat(height):0},getInitHeight:function(){var self=this;return parseInt(self._states.init_height)||self.getHeight()},getCurrentHeight:function(adminBar){var self=this,height=0;if(adminBar&&self.isHorizontal()&&(!self.currentStateIs('mobiles')||(self.adminBarHeight&&self.adminBarHeight>=self.getScrollTop()))){height+=self.adminBarHeight}
if(!self.isStickyAutoHidden()){height+=self.getHeight()}
return height},getScrollTop:function(){return $us.$window.scrollTop()||this.prevScrollTop},prevOffsetTop:0,getOffsetTop:function(){var self=this;var top=parseFloat(self.$container.css('top')||0);return(self.prevOffsetTop=Math.max(self.prevOffsetTop,top))},isScrollAtTopPosition:function(){return $ush.parseInt($us.$window.scrollTop())===0},setState:function(state,force){var self=this;if(!force&&self.currentStateIs(state)){return}
var options=(self.settings[state]||{}).options||{},orientation=options.orientation||'hor',pos=($us.toBool(options.sticky)?'fixed':'static'),bg=($us.toBool(options.transparent)?'transparent':'solid'),shadow=options.shadow||'thin';if(orientation==='ver'){pos='fixed';bg='solid'}
self._setOrientation(orientation);self._setPos(pos);self._setBg(bg);self._setShadow(shadow);self._setLayout((self.settings[state]||{}).layout||{});$us.$body.usMod('state',self.state=state);if(self.currentStateIs('default')||self.currentStateIs('laptops')){$us.$body.removeClass('header-show')}
if($us.nav!==_undefined){$us.nav.resize()}
if(self.isStickyAutoHideEnabled()){self.$container.removeClass('down')}},_setPos:function(pos){var self=this;if(pos===self.pos){return}
self.$container.usMod('pos',self.pos=pos);if(self.pos==='static'){self.trigger('changeSticky',!1)}},_setBg:function(bg){var self=this;if(bg!=self.bg){self.$container.usMod('bg',self.bg=bg)}},_setShadow:function(shadow){var self=this;if(shadow!=self.shadow){self.$container.usMod('shadow',self.shadow=shadow)}},_setLayout:function(layout){var self=this;for(var place in layout){if(!layout[place]||!self.$places[place]){if(place.indexOf('wrapper')>-1){self.$places[place]=self.$places.hidden}else{continue}}
self._placeElements(layout[place],self.$places[place]);}},_setOrientation:function(orientation){var self=this;if(orientation!=self.orientation){$us.$body.usMod('header',self.orientation=orientation)}},_placeElements:function(elms,$place){var self=this;for(var i=0;i<elms.length;i ++){var elmId;if(typeof elms[i]=='object'){elmId=elms[i][0];if(!self.$places[elmId]||!self.$elms[elmId]){continue}
self.$elms[elmId].appendTo($place);self._placeElements(elms[i].shift(),self.$places[elmId])}else{elmId=elms[i];if(!self.$elms[elmId]){continue}
self.$elms[elmId].appendTo($place)}}},_isVerticalScrollable:function(){var self=this;if(!self.isVertical()){return}
if((self.currentStateIs('default')||self.currentStateIs('laptops'))&&self.isFixed()){self.$container.addClass('scrollable');var headerHeight=self.getHeight(),canvasHeight=parseInt($us.canvas.winHeight),documentHeight=parseInt($us.$document.height());self.$container.removeClass('scrollable');if(headerHeight>canvasHeight){self.trigger('swichVerticalScrollable',!0)}else if(self._states.vertical_scrollable){self.trigger('swichVerticalScrollable',!1)}
if(headerHeight>documentHeight){self.$container.css({position:'absolute',top:0})}}else if(self._states.vertical_scrollable){self.trigger('swichVerticalScrollable',!1)}},_events:{_swichVerticalScrollable:function(_,state){var self=this;self.$container.toggleClass('scrollable',self._states.vertical_scrollable=!!state);if(!self._states.vertical_scrollable){self.$container.resetInlineCSS('position','top','bottom');delete self._headerScrollRange}},_changeSticky:function(_,state){var self=this;self._states.sticky=!!state;var currentHeight=self.getCurrentHeight(!0),resetCss=['position','top','bottom'];if($us.canvas.hasStickyFirstSection()&&self.getHeaderInitialPos()=='bottom'&&!self.isStickyAutoHideEnabled()){resetCss=resetCss.filter(function(value){return value!=='top'})}
self.$container.toggleClass('sticky',self._states.sticky).resetInlineCSS(resetCss);if(currentHeight==self.getCurrentHeight(!0)){self.trigger('transitionEnd')}},contentChange:function(){var self=this;self._isVerticalScrollable.call(self)},showBtn:function(e){var self=this;if($us.$body.hasClass('header-show')){return}
e.stopPropagation();$us.$body.addClass('header-show').on(($.isMobile?'touchstart':'click'),self._events.hideMobileVerticalHeader.bind(self))},hideMobileVerticalHeader:function(e){var self=this;if($.contains(self.$container[0],e.target)){return}
$us.$body.off(($.isMobile?'touchstart':'click'),self._events.hideMobileVerticalHeader.bind(self));$ush.timeout(function(){$us.$body.removeClass('header-show')},10)},scroll:function(){var self=this,scrollTop=self.getScrollTop(),headerAbovePosition=(self.getHeaderInitialPos()==='above');if(self.prevScrollTop!=scrollTop){self._states.scroll_direction=(self.prevScrollTop<=scrollTop)?'down':'up'}
self.prevScrollTop=scrollTop;if(self.isScrollAtTopPosition()){self._states.scroll_direction='up'}
if(self.isStickyAutoHideEnabled()&&self.isSticky()&&!self._isWithinScrollBoundaries(scrollTop)&&!headerAbovePosition){self._states.sticky_auto_hide=(self.getScrollDirection()==='down');self.$container.toggleClass('down',self._states.sticky_auto_hide)}
if(!self.isFixed()){return}
var headerAttachedFirstSection=['bottom','below'].indexOf(self.getHeaderInitialPos())!==-1;if(self.isHorizontal()&&(headerAbovePosition||(headerAttachedFirstSection&&(self.currentStateIs('tablets')||self.currentStateIs('mobiles')))||!headerAttachedFirstSection)){if(self.isStickyEnabled()){var scrollBreakpoint=parseInt(((self.settings[self.state]||{}).options||{}).scroll_breakpoint)||100,isSticky=Math.ceil(scrollTop)>=scrollBreakpoint;if(isSticky!=self.isSticky()){self.trigger('changeSticky',isSticky)}}
if(self.isSticky()){if(!$us.$window.scrollTop()){self.trigger('changeSticky',!1)}}}
if(self.isHorizontal()&&headerAttachedFirstSection&&!headerAbovePosition&&(self.currentStateIs('default')||self.currentStateIs('laptops'))){var top=($us.canvas.getHeightFirstSection()+self.adminBarHeight);if(self.getHeaderInitialPos()=='bottom'){top-=self.getInitHeight()}
if(self.isStickyEnabled()){var isSticky=scrollTop>=top;if(isSticky!=self.isSticky()){self.trigger('changeSticky',isSticky)}}
if(!self.isSticky()&&top!=self.getOffsetTop()){self.$container.css('top',top)}}
if(self.isVertical()&&!headerAttachedFirstSection&&!headerAbovePosition&&self._states.vertical_scrollable){var headerHeight=self.getHeight(),documentHeight=parseInt($us.$document.height());if(documentHeight>headerHeight){var canvasHeight=parseInt($us.canvas.winHeight)+self.canvasOffset,scrollRangeDiff=(headerHeight-canvasHeight),cssProps;if(self._headerScrollRange===_undefined){self._headerScrollRange=[0,scrollRangeDiff]}
if(self.bodyHeight>headerHeight){if(scrollTop<self._headerScrollRange[0]){self._headerScrollRange[0]=Math.max(0,scrollTop);self._headerScrollRange[1]=(self._headerScrollRange[0]+scrollRangeDiff);cssProps={position:'fixed',top:self.adminBarHeight}}else if(self._headerScrollRange[0]<scrollTop&&scrollTop<self._headerScrollRange[1]){cssProps={position:'absolute',top:self._headerScrollRange[0]}}else if(self._headerScrollRange[1]<=scrollTop){self._headerScrollRange[1]=Math.min(documentHeight-canvasHeight,scrollTop);self._headerScrollRange[0]=(self._headerScrollRange[1]-scrollRangeDiff);cssProps={position:'fixed',top:(canvasHeight-headerHeight)}}}else{cssProps={position:'absolute',top:self.adminBarHeight,}}
if(cssProps){self.$container.css(cssProps)}}}},resize:function(){var self=this;var newState='default';for(var state in self.breakpoints){if(_window.innerWidth<=self.breakpoints[state]){newState=state}else{break}}
self.setState(newState||'default',!1);self.canvasOffset=$us.$window.outerHeight()-$us.$window.innerHeight();self.bodyHeight=$us.$body.height();self.adminBarHeight=$us.getAdminBarHeight()||0;if(self.isFixed()&&self.isHorizontal()){self.$container.addClass('notransition');$ush.timeout(function(){self.$container.removeClass('notransition')},50)}
self._isVerticalScrollable.call(self);self._events.scroll.call(self)}}});window.USHeader=USHeader;$us.header=new USHeader($us.headerSettings||{})}(window.jQuery);!function($){var Horparallax=function(container,options){var that=this;this.$window=$(window);this.container=$(container);if(container.onclick!=undefined){options=$.extend({},container.onclick()||{},typeof options=='object'&&options);if(!$us.usbPreview())this.container.removeProp('onclick')}
options=$.extend({},$.fn.horparallax.defaults,typeof options=='object'&&options);this.options=options;this.bg=this.container.find(options.bgSelector);this.containerWidth=this.container.outerWidth();this.containerHeight=this.container.outerHeight();this.bgWidth=this.bg.outerWidth();this.windowHeight=this.$window.height();this._frameRate=Math.round(1000/this.options.fps);if(!('ontouchstart' in window)||!('DeviceOrientationEvent' in window)){this.container.mouseenter(function(e){var offset=that.container.offset(),coord=(e.pageX-offset.left)/that.containerWidth;that.cancel();that._hoverAnimation=!0;that._hoverFrom=that.now;that._hoverTo=coord;that.start(that._hoverTo)}).mousemove(function(e){if(that._lastFrame+that._frameRate>Date.now()){return}
var offset=that.container.offset(),coord=(e.pageX-offset.left)/that.containerWidth;if(that._hoverAnimation){that._hoverTo=coord;return}
that.set(coord);that._lastFrame=Date.now()}).mouseleave(function(e){that.cancel();that.start(that.options.basePoint)})}
this.$window.resize(function(){that.handleResize()});this._orientationDriven=('ontouchstart' in window&&'DeviceOrientationEvent' in window);if(this._orientationDriven){this._checkIfVisible();window.addEventListener("deviceorientation",function(e){if(!that.visible||that._lastFrame+that._frameRate>Date.now()){return}
that._deviceOrientationChange(e);that._lastFrame=Date.now()});this.$window.resize(function(){that._checkIfVisible()});this.$window.scroll(function(){that._checkIfVisible()})}
this.set(this.options.basePoint);this._lastFrame=Date.now()};Horparallax.prototype={_deviceOrientationChange:function(e){var gamma=e.gamma,beta=e.beta,x,y;switch(window.orientation){case-90:beta=Math.max(-45,Math.min(45,beta));x=(beta+45)/90;break;case 90:beta=Math.max(-45,Math.min(45,beta));x=(45-beta)/90;break;case 180:gamma=Math.max(-45,Math.min(45,gamma));x=(gamma+45)/90;break;case 0:default:if(gamma<-90||gamma>90){gamma=Math.abs(e.gamma)/e.gamma*(180-Math.abs(e.gamma))}
gamma=Math.max(-45,Math.min(45,gamma));x=(45-gamma)/90;break}
this.set(x)},handleResize:function(){this.containerWidth=this.container.outerWidth();this.containerHeight=this.container.outerHeight();this.bgWidth=this.bg.outerWidth();this.windowHeight=this.$window.height();this.set(this.now)},_checkIfVisible:function(){var scrollTop=this.$window.scrollTop(),containerTop=this.container.offset().top;this.visible=(containerTop+this.containerHeight>scrollTop&&containerTop<scrollTop+this.windowHeight)},set:function(x){this.bg.css('left',(this.containerWidth-this.bgWidth)*x);this.now=x;return this},compute:function(from,to,delta){if(this._hoverAnimation){return(this._hoverTo-this._hoverFrom)*delta+this._hoverFrom}
return(to-from)*delta+from},start:function(to){var from=this.now,that=this;this.container.css('delta',0).animate({delta:1},{duration:this.options.duration,easing:this.options.easing,complete:function(){that._hoverAnimation=!1},step:function(delta){that.set(that.compute(from,to,delta))},queue:!1});return this},cancel:function(){this._hoverAnimation=!1;this.container.stop(!0,!1);return this}};if($.easing.easeOutElastic==undefined){$.easing.easeOutElastic=function(x,t,b,c,d){var s=1.70158,p=0,a=c;if(t==0){return b}
if((t/=d)==1){return b+c}
if(!p){p=d*.3}
if(a<Math.abs(c)){a=c;var s=p/4}
else{var s=p/(2*Math.PI)*Math.asin(c/a)}
return a*Math.pow(2,-10*t)*Math.sin((t*d-s)*(2*Math.PI)/p)+c+b}}
$.fn.horparallax=function(options){return this.each(function(){var $this=$(this),data=$this.data('horparallax');if(!data){$this.data('horparallax',(data=new Horparallax(this,options)))}})};$.fn.horparallax.defaults={fps:60,basePoint:.5,duration:500,bgSelector:'.l-section-img',easing:$us.getAnimationName('swing')};$.fn.horparallax.Constructor=Horparallax;$(function(){jQuery('.parallax_hor').horparallax()})}(jQuery);!function($,_undefined){"use strict";function usImageSlider(container){let self=this,$container=$(container),$frame=$('.w-slider-h',container),$royalSlider=$('.royalSlider',container),options={};if(!$.fn.royalSlider||$container.data('usImageSlider')){return}
let $jsonData=$('.w-slider-json',container);if($jsonData.length){$.extend(options,$jsonData[0].onclick()||{})}
$jsonData.remove();if($container.parent().hasClass('w-post-elm')){options.imageScaleMode='fill'}
options.usePreloader=!1;$royalSlider.royalSlider(options);let royalSlider=$royalSlider.data('royalSlider');if(options.fullscreen&&options.fullscreen.enabled){var rsEnterFullscreen=function(){$royalSlider.appendTo($us.$body);royalSlider.ev.off('rsEnterFullscreen',rsEnterFullscreen);royalSlider.ev.on('rsExitFullscreen',rsExitFullscreen);royalSlider.updateSliderSize()};royalSlider.ev.on('rsEnterFullscreen',rsEnterFullscreen);var rsExitFullscreen=function(){$royalSlider.prependTo($frame);royalSlider.ev.off('rsExitFullscreen',rsExitFullscreen);royalSlider.ev.on('rsEnterFullscreen',rsEnterFullscreen)}}
royalSlider.ev.on('rsAfterContentSet',function(){royalSlider.slides.forEach(function(slide){$(slide.content.find('img')[0]).attr('alt',slide.caption.attr('data-alt'))})});$us.$canvas.on('contentChange',function(){$royalSlider.parent().imagesLoaded(function(){royalSlider.updateSliderSize()})});self.royalSlider=royalSlider};$.fn.usImageSlider=function(){return this.each(function(){$(this).data('usImageSlider',new usImageSlider(this))})};$(function(){$('.w-slider').usImageSlider()})}(jQuery);!function($){"use strict";$us.WItext=function(container){var defaultOptions={html_nbsp_char:!0};this.$container=$(container);var $parts=this.$container.find('.w-itext-part');if($parts.length===0){return}
var options=$.extend(defaultOptions,this.$container[0].onclick()||{});if(!$us.usbPreview())this.$container.removeAttr('onclick');var type=this.$container.usMod('type');this.animateChars=(type.substring(type.length-'chars'.length).toLowerCase()==='chars');this.duration=parseInt(options.duration)||1000;this.delay=parseInt(options.delay)||5000;this.dynamicColor=(options.dynamicColor||'');this.disablePartAnimation=options.disablePartAnimation||!1;this.animateDurations=[];this.type=this.animateChars?type.substring(0,type.length-'chars'.length):type;this.nbsp_char=options.html_nbsp_char?'&nbsp;':' ';this.parts=[];$parts.css({transitionDuration:this.duration+'ms'}).each(function(index,part){var part={$node:$(part),currentState:0,states:part.onclick()||[]};if(!$us.usbPreview())part.$node.removeAttr('onclick');if(this.dynamicColor){part.$node.css('color',this.dynamicColor)}
this.parts[index]=part}.bind(this));var timer=$ush.timeout(function(){this.parts.map(function(part){this._events.startAnimate.call(this,part)}.bind(this));$ush.clearTimeout(timer)}.bind(this),this.delay)};$us.WItext.prototype={_events:{startAnimate:function(part){part.currentState=(part.currentState===part.states.length-1)?0:(part.currentState+1);this.render.call(this,part)},restartAnimate:function(part){$ush.timeout(this._events.startAnimate.bind(this,part),this.delay)},clearAnimation:function(part){var text=part.states[part.currentState].replace(' ',this.nbsp_char);part.$node.html(text).css('width','');if(this.type==='typing'&&$.trim(text)&&text!==this.nbsp_char){part.$node.append('<i class="w-itext-cursor"></i>')}
if(part.curDuration===Math.max.apply(null,this.animateDurations)){this.animateDurations=[];this.parts.map(function(_part){this._events.restartAnimate.call(this,_part)}.bind(this))}}},render:function(part){var nextValue=part.states[part.currentState],$curSpan=part.$node.wrapInner('<span></span>').children('span'),$nextSpan=$('<span class="measure"></span>').html(nextValue.replace(' ',this.nbsp_char)).appendTo(part.$node),nextWidth=$nextSpan.width(),outType='fadeOut',startDelay=0;part.curDuration=this.duration;if(this.type==='typing'){var oldValue=$.trim($curSpan.text())+' ',removeDuration=Math.floor(part.curDuration/3);startDelay=Math.max.apply(null,[startDelay,(removeDuration*oldValue.length)]);for(var i=0;i<oldValue.length;i ++){$curSpan.text(oldValue);$ush.timeout(function(){var text=$curSpan.text();$curSpan.text(text.substring(0,text.length-1))}.bind(this),removeDuration*i)}}
$ush.timeout(function(){part.$node.addClass('notransition');if(!this.disablePartAnimation){part.$node.css('width',part.$node.width())}
$ush.timeout(function(){part.$node.removeClass('notransition');if(!this.disablePartAnimation){part.$node.css('width',nextWidth)}}.bind(this),25);if(this.type!=='typing'){$curSpan.css({position:'absolute',top:0,left:0,width:!this.disablePartAnimation?nextWidth:'',transitionDuration:(this.duration/5)+'ms'}).addClass('animated_'+outType)}
if(!this.disablePartAnimation){$nextSpan.css('width',nextWidth)}
$nextSpan.removeClass('measure').prependTo(part.$node);if(this.animateChars){$nextSpan.empty();if(this.type==='typing'){$nextSpan.append('<span class="w-itext-part-nospan"></span>')}
for(var i=0;i<nextValue.length;i ++){var $char=((nextValue[i]!==' ')?nextValue[i]:this.nbsp_char);if(this.type!=='typing'){$char=$('<span>'+$char+'</span>');$char.css('transition-duration',part.curDuration+'ms').appendTo($nextSpan);$char.appendTo($nextSpan)}
$ush.timeout(function($char){if(this.type!=='typing'){$char.addClass('animated_'+this.type)}else{var $text=$('> span:first',$nextSpan);$text.html($text.html()+$char)}}.bind(this,$char),part.curDuration*i)}
if(this.type==='typing'&&$.trim(nextValue)&&nextValue!==this.nbsp_char){$nextSpan.append('<i class="w-itext-cursor"></i>')}
part.curDuration*=(nextValue.length+1)}else{$nextSpan.wrapInner('<span></span>').children('span').css({'animation-duration':this.duration+'ms'}).addClass('animated_'+this.type)}
this.animateDurations.push(part.curDuration);$ush.timeout(this._events.clearAnimation.bind(this,part),part.curDuration+Math.floor(this.delay/3))}.bind(this),startDelay)}};$.fn.wItext=function(options){return this.each(function(){$(this).data('wItext',new $us.WItext(this,options))})};$(function(){$('.w-itext').wItext()})}(jQuery);!function($){"use strict";$us.WLogin=function(container,options){this.init(container,options)};$us.WLogin.prototype={init:function(container,options){this.$container=$(container);if(this.$container.data('loginInit')==1){return}
this.$container.data('loginInit',1);this.$submitBtn=this.$container.find('.w-btn');this.$username=this.$container.find('.for_text input[type="text"]');this.$password=this.$container.find('.for_password input[type="password"]');this.$preloader=this.$container.siblings('.g-preloader');this.$nonceVal=this.$container.find('#us_login_nonce').val();this.$resultField=this.$container.find('.w-form-message');this.$jsonContainer=this.$container.find('.w-form-json');this.jsonData=this.$jsonContainer[0].onclick()||{};this.$jsonContainer.remove();this.ajaxUrl=this.jsonData.ajaxurl||'';this.loginRedirect=this.jsonData.login_redirect||'';this.logoutRedirect=this.jsonData.logout_redirect||window.location.href;this.use_ajax=!!this.jsonData.use_ajax;this._events={formSubmit:this.formSubmit.bind(this)};this.$container.on('submit',this._events.formSubmit);if(this.use_ajax){$.ajax({type:'post',url:this.ajaxUrl,data:{action:'us_ajax_user_info',logout_redirect:this.logoutRedirect},success:function(result){if(result.success){this.$container.closest('.w-login').html(result.data)}else{this.$container.removeClass('hidden')}
this.$preloader.addClass('hidden')}.bind(this)})}},formSubmit:function(event){event.preventDefault();if(this.$submitBtn.hasClass('loading')){return}
this.$resultField.usMod('type',!1).html('');this.$container.find('.w-form-row.check_wrong').removeClass('check_wrong');this.$container.find('.w-form-state').html('');if(this.$container.find('.for_text input[type="text"]').val()==''){this.$username.closest('.w-form-row').toggleClass('check_wrong');return}
this.$submitBtn.addClass('loading');$.ajax({type:'post',url:this.ajaxUrl,dataType:'json',data:{action:'us_ajax_login',username:this.$username.val(),password:this.$password.val(),us_login_nonce:this.$nonceVal},success:function(result){if(result.success){document.location.href=this.loginRedirect}else{if(result.data.code=='invalid_username'){var $rowLog=this.$username.closest('.w-form-row');$rowLog.toggleClass('check_wrong');$rowLog.find('.w-form-row-state').html(result.data.message?result.data.message:'')}else if(result.data.code=='incorrect_password'||result.data.code=='empty_password'){var $rowPwd=this.$password.closest('.w-form-row');$rowPwd.toggleClass('check_wrong');$rowPwd.find('.w-form-row-state').html(result.data.message?result.data.message:'')}else{this.$resultField.usMod('type','error').html(result.data.message)}
this.$submitBtn.removeClass('loading')}}.bind(this),})}};$.fn.wUsLogin=function(options){return this.each(function(){$(this).data('wUsLogin',new $us.WLogin(this,options))})};$(function(){$('.w-login > .w-form').wUsLogin()})}(jQuery);!function($){$us.Nav=function(container,options){this.init(container,options)};$us.mobileNavOpened=0;$us.Nav.prototype={init:function(container,options){this.$nav=$(container);if(this.$nav.length==0){return}
this.$control=this.$nav.find('.w-nav-control');this.$close=this.$nav.find('.w-nav-close');this.$items=this.$nav.find('.menu-item');this.$list=this.$nav.find('.w-nav-list.level_1');this.$subItems=this.$list.find('.menu-item-has-children');this.$subLists=this.$list.find('.menu-item-has-children > .w-nav-list');this.$anchors=this.$nav.find('.w-nav-anchor');this.$arrows=$('.w-nav-arrow');this.$reusableBlocksLinks=this.$nav.find('.menu-item-object-us_page_block a');this.options={};var $navOptions=$('.w-nav-options:first',this.$nav);if($navOptions.is('[onclick]')){$.extend(this.options,$navOptions[0].onclick()||{});$navOptions.remove()}
if(this.$nav.length==0){return}
if(this.$reusableBlocksLinks.length!==0){this.$reusableBlocksLinks.each(function(index,elm){let $elm=$(elm);if(!$elm.parents('.w-popup-wrap').length){this.$anchors.push(elm)}}.bind(this))}
this.type=this.$nav.usMod('type');this.layout=this.$nav.usMod('layout');this.mobileOpened=!1;if($.isMobile&&this.type=='desktop'){this.$list.on('click','.w-nav-anchor[class*="level_"]',function(e){var $target=$(e.currentTarget),$item=$target.closest('.menu-item');if($target.usMod('level')>1&&!$item.hasClass('menu-item-has-children')){$target.parents('.menu-item.opened').removeClass('opened')}})}
this.$control.on('click',function(e){e.preventDefault();this.mobileOpened=!this.mobileOpened;this.setTabIndex(!0);this.$anchors.each(function(){if($(this).attr('href')==undefined){$(this).attr('href','javascript:void(0)')}});if(this.layout!='dropdown'){this.$anchors.removeAttr('tabindex')}
if(this.mobileOpened){$('.l-header .w-nav').not(container).each(function(){$(this).trigger('USNavClose')});this.$control.addClass('active');this.$items.filter('.opened').removeClass('opened');this.$subLists.resetInlineCSS('display','height');if(this.layout=='dropdown'){this.$list.slideDownCSS(250,this._events.contentChanged)}
$us.$html.addClass('w-nav-open');$us.mobileNavOpened ++}else{this.$control.removeClass('active');if(this.layout=='dropdown'){this.$list.slideUpCSS(250,this._events.contentChanged)}
this.setTabIndex();if(this.layout!='dropdown'){this.$anchors.attr('tabindex',-1)}
$us.$html.removeClass('w-nav-open');$us.mobileNavOpened --}
$us.$canvas.trigger('contentChange')}.bind(this));this.$control.on('focusin',function(e){if(this.type!='mobile'||this.layout=='dropdown'){return}
this.$anchors.attr('tabindex',-1)}.bind(this));this.$close.on('click',function(){this.mobileOpened=!1;this.$control.removeClass('active');$us.$html.removeClass('w-nav-open');$us.mobileNavOpened --;$us.$canvas.trigger('contentChange')}.bind(this));$us.$document.keyup(function(e){if(e.keyCode==27){if(this.mobileOpened){if(this.layout=='dropdown'){this.$list.slideUpCSS(250,this._events.contentChanged)}
this.mobileOpened=!1;this.$control.removeClass('active');this.setTabIndex();if(this.layout!='dropdown'){this.$anchors.attr('tabindex',-1)}
$us.$html.removeClass('w-nav-open');$us.mobileNavOpened --;$us.$canvas.trigger('contentChange')}}
if(e.keyCode==9){if(this.type=='desktop'&&!$(e.target).parents('.w-nav').length){this.$items.removeClass('opened')}}}.bind(this));this._events={menuToggler:function($item,show){if(this.type!='mobile'){return}
var $sublist=$item.children('.w-nav-list');if(show){$item.addClass('opened');$sublist.slideDownCSS(250,this._events.contentChanged)}else{$item.removeClass('opened');$sublist.slideUpCSS(250,this._events.contentChanged)}}.bind(this),focusHandler:function(e){if(this.type=='mobile'){return}
var $item=$(e.target).closest('.menu-item'),$target=$(e.target);$item.parents('.menu-item').addClass('opened');$item.on('mouseleave',function(){$target.blur()})}.bind(this),blurHandler:function(e){if(this.type=='mobile'){return}
var $item=$(e.target).closest('.menu-item');$item.parents('.menu-item').removeClass('opened')}.bind(this),clickHandler:function(e){if(this.type!='mobile'){return}
e.stopPropagation();e.preventDefault();var $item=$(e.currentTarget).closest('.menu-item'),isOpened=$item.hasClass('opened');this._events.menuToggler($item,!isOpened)}.bind(this),keyDownHandler:function(e){if(this.type!='mobile'){return}
var keyCode=e.keyCode||e.which;if(keyCode==13){var $target=$(e.target),$item=$target.closest('.menu-item'),isOpened=$item.hasClass('opened');if(!$target.is(this.$arrows)){return}
e.stopPropagation();e.preventDefault();this._events.menuToggler($item,!isOpened)}
if(keyCode==9){var $target=$(e.target)?$(e.target):{},i=this.$anchors.index($target),isDropdownLayout=this.layout=='dropdown'?!0:!1,closeMenu=function(){if(this.mobileOpened){if(isDropdownLayout){this.$list.slideUpCSS(250,this._events.contentChanged)}
this.mobileOpened=!1;this.$control.removeClass('active');$us.$html.removeClass('w-nav-open');$us.mobileNavOpened --;$us.$canvas.trigger('contentChange');this.setTabIndex();if(this.layout!='dropdown'){this.$anchors.attr('tabindex',-1)}}}.bind(this);if(e.shiftKey){if((i===this.$anchors.length-1)&&this.layout!='dropdown'){this.$anchors.attr('tabindex',-1)}
if(i===0){closeMenu()}}else{if(i===this.$anchors.length-1){closeMenu()}}}}.bind(this),keyUpHandler:function(e){if(this.type=='mobile'){return}
var $target=$(e.target),$item=$target.closest('.menu-item.level_1',this.$items);if(e.keyCode==9){$item.addClass('opened').siblings().removeClass('opened')}
if(e.keyCode==27){this.$items.removeClass('opened');$target.blur()}}.bind(this),resize:this.resize.bind(this),contentChanged:function(){if(this.type=='mobile'&&$us.header.isHorizontal()&&$us.header.isFixed()&&this.layout=='fixed'){this.setFixedMobileMaxHeight()}
$us.header.$container.trigger('contentChange')}.bind(this),close:function(){if(this.$list!=undefined&&jQuery.fn.slideUpCSS!=undefined&&this.mobileOpened&&this.type=='mobile'){this.mobileOpened=!1;if(this.layout=='dropdown'&&this.headerOrientation=='hor'){this.$list.slideUpCSS(250)}
$us.mobileNavOpened --;$us.$canvas.trigger('contentChange')}}.bind(this),detachAnimation:function(){this.$nav.removeClass('us_animate_this')}.bind(this),};this.$subItems.each(function(index){var $item=$(this.$subItems[index]),$arrow=$item.find('.w-nav-arrow').first(),$subAnchor=$item.find('.w-nav-anchor').first(),dropByLabel=$item.hasClass('mobile-drop-by_label')||$item.parents('.menu-item').hasClass('mobile-drop-by_label'),dropByArrow=$item.hasClass('mobile-drop-by_arrow')||$item.parents('.menu-item').hasClass('mobile-drop-by_arrow');if(dropByLabel||(this.options.mobileBehavior&&!dropByArrow)){$subAnchor.on('click',this._events.clickHandler)}else if(dropByArrow||(!this.options.mobileBehavior&&!dropByLabel)){$arrow.on('click',this._events.clickHandler);$arrow.on('click',this._events.keyDownHandler)}}.bind(this));this.$subItems.each(function(){var $this=$(this),$parentItem=$this.parent().closest('.menu-item');if($parentItem.length==0||$parentItem.usMod('columns')===!1){$this.addClass('togglable')}});if(!$us.$html.hasClass('no-touch')){this.$list.find('.menu-item-has-children.togglable > .w-nav-anchor').on('click',function(e){if(this.type=='mobile'){return}
e.preventDefault();var $this=$(e.currentTarget),$item=$this.parent();if($item.hasClass('opened')){return location.assign($this.attr('href'))}
$item.addClass('opened');var outsideClickEvent=function(e){if($.contains($item[0],e.target)){return}
$item.removeClass('opened');$us.$body.off('touchstart',outsideClickEvent)};$us.$body.on('touchstart',outsideClickEvent)}.bind(this))}
$($us.$document).on('mouseup touchend',function(e){if(this.mobileOpened&&this.type=='mobile'){if(!this.$control.is(e.target)&&this.$control.has(e.target).length===0&&!this.$list.is(e.target)&&this.$list.has(e.target).length===0){this.mobileOpened=!1;this.$control.removeClass('active');this.$items.filter('.opened').removeClass('opened');this.$subLists.slideUpCSS(250);if(this.layout=='dropdown'&&this.headerOrientation=='hor'){this.$list.slideUpCSS(250)}
$us.$html.removeClass('w-nav-open');$us.mobileNavOpened --;$us.$canvas.trigger('contentChange')}}}.bind(this));this.$anchors.on('focus.upsolution',this._events.focusHandler);this.$anchors.on('blur.upsolution',this._events.blurHandler);this.$nav.on('keydown.upsolution',this._events.keyDownHandler);this.$nav.on('keyup.upsolution',this._events.keyUpHandler);this.$nav.on('transitionend',this._events.detachAnimation);this.$anchors.on('click',function(e){var $item=$(e.currentTarget).closest('.menu-item'),dropByLabel=$item.hasClass('mobile-drop-by_label')||$item.parents('.menu-item').hasClass('mobile-drop-by_label'),dropByArrow=$item.hasClass('mobile-drop-by_arrow')||$item.parents('.menu-item').hasClass('mobile-drop-by_arrow');if(this.type!='mobile'||$us.header.isVertical()){return}
if(dropByLabel||(this.options.mobileBehavior&&$item.hasClass('menu-item-has-children')&&!dropByArrow)){return}
this.mobileOpened=!1;this.$control.removeClass('active');if(this.layout=='dropdown'){this.$list.slideUpCSS(250)}
$us.$html.removeClass('w-nav-open');$us.mobileNavOpened --;$us.$canvas.trigger('contentChange')}.bind(this));$us.$window.on('resize',$ush.debounce(this._events.resize,5));$ush.timeout(function(){this.resize();$us.header.$container.trigger('contentChange')}.bind(this),50);this.$nav.on('USNavClose',this._events.close)},setTabIndex:function(add){this.$subItems.each(function(index){var $item=$(this.$subItems[index]);if($item.hasClass('mobile-drop-by_arrow')||$item.parents('.menu-item').hasClass('mobile-drop-by_arrow')||(!$item.hasClass('mobile-drop-by_label')&&!this.options.mobileBehavior)){if(add){$item.find('.w-nav-arrow').attr('tabindex',0)}else{$item.find('.w-nav-arrow').removeAttr('tabindex')}}}.bind(this))},setFixedMobileMaxHeight:function(){this.$list.css('max-height',$us.canvas.winHeight-$us.header.getCurrentHeight(!0)+'px')},resize:function(){if(this.$nav.length==0){return}
var nextType=(window.innerWidth<this.options.mobileWidth)?'mobile':'desktop';if($us.header.orientation!=this.headerOrientation||nextType!=this.type){this.$subLists.resetInlineCSS('display','height');if(this.headerOrientation=='hor'&&this.type=='mobile'){this.$list.resetInlineCSS('display','height','max-height','opacity')}
this.$items.removeClass('opened');this.headerOrientation=$us.header.orientation;this.type=nextType;this.$nav.usMod('type',nextType);this.setTabIndex();if(this.layout!='dropdown'){this.$anchors.removeAttr('tabindex')}}
if($us.header.isHorizontal()&&this.type=='mobile'&&this.layout=='dropdown'&&$us.header.isFixed()){this.setFixedMobileMaxHeight()}
this.$list.removeClass('hide_for_mobiles')}};$.fn.usNav=function(options){return this.each(function(){$(this).data('usNav',new $us.Nav(this,options))})};$('.l-header .w-nav').usNav()}(jQuery);(function($){"use strict";$.fn.usMessage=function(){return this.each(function(){var $this=$(this),$closer=$this.find('.w-message-close');$closer.click(function(){$this.wrap('<div></div>');var $wrapper=$this.parent();$wrapper.css({overflow:'hidden',height:$this.outerHeight(!0)});$wrapper.performCSSTransition({height:0},300,function(){$wrapper.remove();$us.$canvas.trigger('contentChange')},'cubic-bezier(.4,0,.2,1)')})})};$(function(){$('.w-message').usMessage()})})(jQuery);!function($,undefined){"use strict";var _document=document,_window=window,_null=null;_window.$us=_window.$us||{};const _REGEXP_EXTRACT_COORDINATES_=/^(-?[\d\.]+),(-?[\d\.]+)$/;$us.wLmaps=function(container,options){var self=this;self.$container=$(container);if(self.$container.data('_inited')){return}
self.$container.data('_inited',1);self._mapInstance=_null;self.cookieName=self.$container.data('cookie-name');self.options=options||{};self._events={confirmInit:self._confirmInit.bind(self),redraw:self._redraw.bind(self)};if(self.cookieName){self.$container.on('click','.action_confirm_load',self._events.confirmInit);return}
self._init()};$.extend($us.wLmaps.prototype,{_confirmInit:function(){var self=this;if($('input[name^='+self.cookieName+']:checked',self.$container).length){$ush.setCookie(self.cookieName,1,365)}
self.$container.html($ush.base64Decode($('script[type="text/template"]',self.$container).text())).removeAttr('data-cookie-name');self._init()},_init:function(){var self=this;var $mapJson=$('.w-map-json',self.$container);if($mapJson.is('[onclick]')){$.extend(self.options,$mapJson[0].onclick()||{});$mapJson.remove()}
$us.$canvas.on('contentChange',self._events.redraw);self._beforeRender()},_beforeRender:function(){var self=this,address=(''+self.options.address),matches=$ush.removeSpaces(address).match(_REGEXP_EXTRACT_COORDINATES_);if(matches){self.center=[matches[1],matches[2]];self._render()}else{self._geocoder(address)}},_render:function(){var self=this,mapId=self.$container.attr('id'),lmapsOptions={center:self.center,zoom:self.options.zoom};if(self.options.hideControls){lmapsOptions.zoomControl=!1}
if(self.options.disableZoom){lmapsOptions.scrollWheelZoom=!1}
self._mapInstance=L.map(mapId,lmapsOptions);L.tileLayer(self.options.style,{attribution:'&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'}).addTo(self._mapInstance);self._renderMarkers();if($us.usbPreview()||self.options.disableDragging&&!$us.$html.hasClass('no-touch')){self._mapInstance.dragging.disable()}},_geocoder:function(text,markerOptions,popup){var self=this,osmUrl='https://nominatim.openstreetmap.org/search?format=json&limit=1&q='+encodeURI(text);$.getJSON(osmUrl,$.noop).done(function(json){if(!json.length){return}
var boundingBox=json[0].boundingbox;if(!markerOptions){self.center=[boundingBox[1],boundingBox[3]];self._render()}else{self.marker=L.marker([boundingBox[1],boundingBox[3]],markerOptions).addTo(self._mapInstance);if(popup){self.marker.bindPopup(popup)}}})},_redraw:function(){var self=this;if(!self._mapInstance||self.$container.is(':hidden')){return}
$ush.timeout(self._mapInstance.invalidateSize.bind(self._mapInstance,!0),100)},_renderMarkers:function(){var self=this;if(!self.options.markers.length){return}
var mainOptions={};for(var i=0;i<self.options.markers.length;i++){var item=self.options.markers[i];if(i==0){if(self.options.icon!=_null){var mainMarkerSizes=self.options.icon.size[0],markerImg=L.icon({iconUrl:self.options.icon.url,iconSize:mainMarkerSizes,});markerImg.options.iconAnchor=[mainMarkerSizes/2,mainMarkerSizes];markerImg.options.popupAnchor=[0,-mainMarkerSizes];mainOptions.icon=markerImg}
var marker=L.marker(self.center,mainOptions).addTo(self._mapInstance);if(item.html){if(item.infowindow){marker.bindPopup(item.html).openPopup()}else{marker.bindPopup(item.html)}}}
else{var markerOptions={};if(item.marker_img!=_null){var markerSizes=item.marker_size[0],markerImg=L.icon({iconUrl:item.marker_img[0],iconSize:markerSizes,});markerImg.options.iconAnchor=[markerSizes/2,markerSizes];markerImg.options.popupAnchor=[0,-markerSizes];markerOptions.icon=markerImg}else{markerOptions=mainOptions}
var matches=$ush.removeSpaces(item.address).match(_REGEXP_EXTRACT_COORDINATES_);if(matches){self.marker=L.marker([matches[1],matches[2]],markerOptions).addTo(self._mapInstance);if(item.html){self.marker.bindPopup(item.html)}}else{self._geocoder(item.address,markerOptions,item.html)}}}}});$.fn.wLmaps=function(options){options=options||{};return this.each(function(){this._wLmaps=new $us.wLmaps(this,$ush.clone(options))})};$(function(){$('.w-map.provider_osm').wLmaps()})}(jQuery);(function($,undefined){"use strict";var _window=window,_document=document,_undefined=undefined;var __debounce_fn_500ms=$ush.debounce($ush.fn,500);$us.PageScroller=function(container,options){this.init(container,options)};$us.PageScroller.prototype={init:function(container,options){var defaults={coolDown:100,animationDuration:1000,animationEasing:$us.getAnimationName('easeInOutExpo'),endAnimationEasing:$us.getAnimationName('easeOutExpo'),};this.options=$.extend({},defaults,options);this.$container=$(container);this.activeSection=0;this.sections=[];this.initialSections=[];this.hiddenSections=[];this.currHidden=[];this.dots=[];this.scrolls=[];this.usingDots=!1;this.footerReveal=$us.$body.hasClass('footer_reveal');this.isTouch=(('ontouchstart' in _window)||(navigator.msMaxTouchPoints>0)||(navigator.maxTouchPoints));this.disableWidth=(this.$container.data('disablewidth')!==_undefined)?this.$container.data('disablewidth'):768;this.hiddenClasses={'uvc_hidden-xs':[0,479],'uvc_hidden-xsl':[480,767],'uvc_hidden-sm':[768,991],'uvc_hidden-md':[992,1199],'uvc_hidden-ml':[1200,1823],'uvc_hidden-lg':[1824,99999],'vc_hidden-xs':[0,767],'vc_hidden-sm':[768,991],'vc_hidden-md':[992,1199],'vc_hidden-lg':[1200,99999],};if(this.$container.data('speed')!==_undefined){this.options.animationDuration=this.$container.data('speed')}
this._events={destroy:this._destroy.bind(this),mouseWheelHandler:this._mouseWheelHandler.bind(this),resize:this.resize.bind(this),scroll:this.scroll.bind(this)};this._attachEvents();this.$container.on('usb.removeHtml',this._events.destroy)
$us.$canvas.on('contentChange',$ush.debounce(this._events.resize,5));var _resize=$ush.debounce(this._events.resize,50);$us.$window.on('scroll',$ush.debounce(this._events.scroll,5)).on('resize',function(_,stopExecute){if(!stopExecute){_resize()}});$ush.timeout(this._init.bind(this),100)},is_popup:function(){return $us.$html.hasClass('usoverlay_fixed')},_add_dynamic_breakpoints:function(){var custom_breakpoints=$us.responsiveBreakpoints,default_breakpoints={'hide_on_mobiles':[0,767],'hide_on_tablets':[768,991],'hide_on_laptops':[992,1199],'hide_on_default':[1200,99999],};if(custom_breakpoints){default_breakpoints={'hide_on_mobiles':[0,custom_breakpoints.mobiles],'hide_on_tablets':[(custom_breakpoints.mobiles+1),custom_breakpoints.tablets],'hide_on_laptops':[(custom_breakpoints.tablets+1),custom_breakpoints.laptops],'hide_on_default':[(custom_breakpoints.laptops+1),9999]}}
this.hiddenClasses=Object.assign(this.hiddenClasses,default_breakpoints)},_init:function(){if($us.header.isStatic()&&$us.header.isHorizontal()&&!$us.header.isTransparent()){$us.canvas.$header.each(function(){var $section=$us.canvas.$header,section={$section:$section,area:'header',};this._countPosition(section);this.sections.push(section);this.initialSections.push(section)}.bind(this))}
this._add_dynamic_breakpoints();$('.l-main > .l-section, .l-footer > .l-section',$us.$canvas).each(function(key,elm){var $section=$(elm),section={$section:$section,hiddenBoundaries:[],area:'content',isSticky:$section.hasClass('type_sticky')},addedWidths=[];hidden:for(var i in this.hiddenClasses){if(this.hiddenClasses.hasOwnProperty(i)){var low=this.hiddenClasses[i][0],high=this.hiddenClasses[i][1];if($section.hasClass(i)){var addedWidthLength=addedWidths.length,j;addedWidths.push([low,high]);for(j=0;j<addedWidthLength;j ++){if(addedWidths[j][0]===low&&addedWidths[j][1]===high){break hidden}}
section.hiddenBoundaries.push([low,high]);if(this.hiddenSections.indexOf(key)===-1){this.hiddenSections.push(key)}}}}
this._countPosition(section,key);this.sections.push(section);this.initialSections.push(section)}.bind(this));this.lastContentSectionIndex=this.sections.length-1;$('.l-footer > .l-section').each(function(key,elm){var $section=$(elm),section={$section:$section,area:'footer',isSticky:$section.hasClass('type_sticky')};this._countPosition(section,key);this.sections.push(section);this.initialSections.push(section)}.bind(this));$ush.timeout(this.resize.bind(this),100);this.$dotsContainer=this.$container.find('.w-scroller-dots');if(this.$dotsContainer.length){this.usingDots=!0;this.$firstDot=this.$dotsContainer.find('.w-scroller-dot').first();this.redrawDots(!0);this.scroll()}},_destroy:function(){var self=this;$us.$document.off('mousewheel DOMMouseScroll MozMousePixelScroll');_document.removeEventListener('mousewheel',self._events.mouseWheelHandler);_document.removeEventListener('DOMMouseScroll',self._events.mouseWheelHandler);_document.removeEventListener('MozMousePixelScroll',self._events.mouseWheelHandler);$us.$canvas.off('touchstart touchmove')},isSectionHidden:function(section){if(!this.initialSections[section].hiddenBoundaries||!this.initialSections[section].hiddenBoundaries.length){return!1}
var currWidth=_window.innerWidth,isHidden=!1;for(var i=0;i<this.initialSections[section].hiddenBoundaries.length;i ++){var low=this.initialSections[section].hiddenBoundaries[i][0],high=this.initialSections[section].hiddenBoundaries[i][1];if(currWidth>=low&&currWidth<=high){isHidden=!0;break}}
return isHidden},redrawDots:function(inited){if(!this.usingDots||!this.$dotsContainer||!this.$dotsContainer.length){return!1}
this.$dotsContainer.html('');for(var i=0;i<this.sections.length;i ++){if(this.sections[i].area==='footer'&&!this.$container.data('footer-dots')){continue}
this.$firstDot.clone().appendTo(this.$dotsContainer)}
this.$dots=this.$dotsContainer.find('.w-scroller-dot');this.$dots.each(function(key,elm){var $dot=$(elm);this.dots[key]=$dot;$dot.click(function(){this.scrollTo(key);this.$dots.removeClass('active');$dot.addClass('active')}.bind(this)).toggleClass('hidden',this.sections[key].isSticky&&$us.$window.width()>$us.canvas.options.columnsStackingWidth)}.bind(this));if(!!inited&&this.dots[this.activeSection]){this.dots[this.activeSection].addClass('active')}
this.$dotsContainer.addClass('show')},recountSections:function(){if(this.currHidden){for(var initialSection in this.initialSections){this.sections[initialSection]=this.initialSections[initialSection]}}
for(var i=this.hiddenSections.length-1;i>=0;i --){var indexOfTheItem=this.currHidden.indexOf(this.hiddenSections[i]);if(this.isSectionHidden(this.hiddenSections[i])){if(indexOfTheItem===-1){this.currHidden.push(this.hiddenSections[i])}
this.sections.splice(this.hiddenSections[i],1)}else{this.currHidden.splice(indexOfTheItem,1)}}
this.redrawDots(!0)},getScrollSpeed:function(number){var sum=0,lastElements=this.scrolls.slice(Math.max(this.scrolls.length-number,1));for(var i=0;i<lastElements.length;i ++){sum=sum+lastElements[i]}
return Math.ceil(sum/number)},_mouseWheelHandler:function(e){var self=this;if($us.usbPreview()||self.is_popup()){return}
e.preventDefault();var currentTime=new Date().getTime(),target=self.activeSection,direction=e.wheelDelta||-e.detail,speedEnd,speedMiddle,isAccelerating;if(self.scrolls.length>149){self.scrolls.shift()}
self.scrolls.push(Math.abs(direction));if((currentTime-self.previousMouseWheelTime)>self.options.coolDown){self.scrolls=[]}
self.previousMouseWheelTime=currentTime;speedEnd=self.getScrollSpeed(10);speedMiddle=self.getScrollSpeed(70);isAccelerating=speedEnd>=speedMiddle;if(isAccelerating){if(direction<0){target ++}else if(direction>0){target --}
if(self.sections[target]===_undefined){return}
self.scrollTo(target);self.lastScroll=currentTime}},_attachEvents:function(){var self=this;self._destroy();if($us.$window.width()>self.disableWidth&&$us.mobileNavOpened<=0&&(!$us.$html.hasClass('cloverlay_fixed'))){_document.addEventListener('mousewheel',self._events.mouseWheelHandler,{passive:!1});_document.addEventListener('DOMMouseScroll',self._events.mouseWheelHandler,{passive:!1});_document.addEventListener('MozMousePixelScroll',self._events.mouseWheelHandler,{passive:!1});if($.isMobile||self.isTouch){$us.$canvas.on('touchstart',function(event){var e=event.originalEvent;if(typeof e.pointerType==='undefined'||e.pointerType!=='mouse'){self.touchStartY=e.touches[0].pageY}});$us.$canvas.on('touchmove',function(event){event.preventDefault();var currentTime=new Date().getTime(),e=event.originalEvent,target=self.activeSection;self.touchEndY=e.touches[0].pageY;if(Math.abs(self.touchStartY-self.touchEndY)>($us.$window.height()/50)){if(self.touchStartY>self.touchEndY){target ++}else if(self.touchEndY>self.touchStartY){target --}
if(self.sections[target]===_undefined){return}
self.scrollTo(target);self.lastScroll=currentTime}})}}},_countPosition:function(section,key){section.top=section.$section.offset().top-$us.canvas.getOffsetTop();if(this.footerReveal&&section.area==='footer'&&key!==_undefined){if(_window.innerWidth>parseInt($us.canvasOptions.columnsStackingWidth)-1){if(this.sections[key-1]!==_undefined&&this.sections[key-1].area==='footer'){section.top=this.sections[key-1].bottom}else{var rowIndex=(this.sections[this.lastContentSectionIndex+key]!==_undefined)?this.lastContentSectionIndex+key:key-1;section.top=this.sections[rowIndex].bottom}}}
section.bottom=section.top+section.$section.outerHeight(!1)},_countAllPositions:function(){var counter=0;for(var section in this.sections){if(this.sections[section].$section.length){this._countPosition(this.sections[section],counter)}
counter ++}},scrollTo:function(target){var currentTime=new Date().getTime();if(this.previousScrollTime!==_undefined&&(currentTime-this.previousScrollTime<this.options.animationDuration)){return}
this.previousScrollTime=currentTime;if(this.sections[target].isSticky&&$us.$window.width()>$us.canvas.options.columnsStackingWidth){if(target>this.activeSection){target+=1}else{target-=1}}
if(this.usingDots){this.$dots.removeClass('active');if(this.dots[target]!==_undefined){this.dots[target].addClass('active')}}
var top=Math.ceil(this.sections[target].top||0);if(top===Math.ceil($us.header.getScrollTop())){return}
var animateOptions={duration:this.options.animationDuration,easing:this.options.animationEasing,start:function(){this.isScrolling=!0}.bind(this),always:function(){this.isScrolling=!1;this.activeSection=target}.bind(this),step:function(now,fx){var newTop=top;if($us.header.isStickyEnabled()){newTop-=$us.header.getCurrentHeight(!0)}
if(fx.end!==newTop){$us.$htmlBody.stop(!0,!1).animate({scrollTop:newTop},$.extend(animateOptions,{easing:this.options.endAnimationEasing}))}}.bind(this)};$us.$htmlBody.stop(!0,!1).animate({scrollTop:top},animateOptions)},resize:function(e){if(this.is_popup()){return!1}
this._attachEvents();this.recountSections();$ush.timeout(this._countAllPositions.bind(this),150)},scroll:function(){if(this.is_popup()){return!1}
var currentTime=new Date().getTime();if((currentTime-this.lastScroll)<(this.options.coolDown+this.options.animationDuration)){return}
__debounce_fn_500ms(function(){var scrollTop=$ush.parseInt($us.$window.scrollTop());if($us.header.isSticky()){scrollTop+=$us.header.getCurrentHeight(!0)}
for(var index in this.sections){var section=this.sections[index];if(scrollTop>=$ush.parseInt(section.top-1)&&scrollTop<$ush.parseInt(section.bottom-1)&&section.area==='content'&&this.activeSection!==index){this.activeSection=index}}
if(this.usingDots){this.$dots.removeClass('active');if(this.dots[this.activeSection]!==_undefined){this.dots[this.activeSection].addClass('active')}}}.bind(this))}};$.fn.usPageScroller=function(options){return this.each(function(){$(this).data('usPageScroller',new $us.PageScroller(this,options))})};$(function(){$ush.timeout(function(){$('.w-scroller').usPageScroller()},0)})})(jQuery);!function($){"use strict";if($('.l-preloader').length){$('document').ready(function(){$ush.timeout(function(){$('.l-preloader').addClass('done')},500);$ush.timeout(function(){$('.l-preloader').addClass('hidden')},1000)})}}(jQuery);!function($,undefined){"use strict";$us.WPopup=function(container){var self=this;this.$container=$(container);this.$content=$('.w-popup-box-content',this.$container);this._events={show:this.show.bind(this),afterShow:this.afterShow.bind(this),hide:this.hide.bind(this),hideOnLinkClick:this.hideOnLinkClick.bind(this),preventHide:function(e){e.stopPropagation()},afterHide:this.afterHide.bind(this),keyup:function(e){if(e.key=="Escape"){this.hide()}}.bind(this),scroll:function(){$us.$document.trigger('scroll')},touchmove:function(e){this.savePopupSizes();if((this.popupSizes.wrapHeight>this.popupSizes.contentHeight)||!$(e.target).closest('.w-popup-box').length){e.preventDefault()}}.bind(this),};this.transitionEndEvent=(navigator.userAgent.search(/webkit/i)>0)?'webkitTransitionEnd':'transitionend';this.isFixed=!jQuery.isMobile;self.$trigger=$('.w-popup-trigger',self.$container);self.triggerType=self.$trigger.usMod('type');self.triggerOptions=$ush.toPlainObject(self.$trigger.data('options'));if(self.triggerType=='load'){var _timeoutHandle;if(self.$container.css('display')!='none'){var delay=$ush.parseInt(self.triggerOptions.delay);_timeoutHandle=$ush.timeout(self.show.bind(self),delay*1000)}
self.$container.on('usb.refreshedEntireNode',function(){if(_timeoutHandle){$ush.clearTimeout(_timeoutHandle)}
self.$overlay.remove();self.$wrap.remove()})}else if(this.triggerType=='selector'){var selector=this.$trigger.data('selector');if(selector){$us.$body.on('click',selector,this._events.show)}}else{this.$trigger.on('click',this._events.show)}
this.$wrap=this.$container.find('.w-popup-wrap').usMod('pos',this.isFixed?'fixed':'absolute').on('click',this._events.hide);this.$box=this.$container.find('.w-popup-box');this.$overlay=this.$container.find('.w-popup-overlay').usMod('pos',this.isFixed?'fixed':'absolute').on('click',this._events.hide);this.$container.find('.w-popup-closer').on('click',this._events.hide);this.$box.on('click',this._events.preventHide);this.$wrap.find('a').on('click',this._events.hideOnLinkClick.bind(this));this.$media=$('video,audio',this.$box);this.$wVideos=$('.w-video',this.$box);this.timer=null;this.popupSizes={boxHeight:0,wrapHeight:0,contentHeight:0,initialWindowHeight:window.innerHeight,openedWindowHeight:0,}};$us.WPopup.prototype={_hasScrollbar:function(){return document.documentElement.scrollHeight>document.documentElement.clientHeight},_getScrollbarSize:function(){if($us.scrollbarSize===undefined){var scrollDiv=document.createElement('div');scrollDiv.style.cssText='width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;';document.body.appendChild(scrollDiv);$us.scrollbarSize=scrollDiv.offsetWidth-scrollDiv.clientWidth;document.body.removeChild(scrollDiv)}
return $us.scrollbarSize},show:function(e){var self=this;if(e!==undefined){e.preventDefault()}
if(self.triggerType=='load'&&!$us.usbPreview()){var uniqueId=$ush.toString(self.triggerOptions.uniqueId),cookieName='us_popup_'+uniqueId;if(uniqueId){if($ush.getCookie(cookieName)!==null){return}
var daysUntilNextShow=$ush.parseInt(self.triggerOptions.daysUntilNextShow);$ush.setCookie(cookieName,'shown',daysUntilNextShow||365)}}
this.saveWindowSizes();clearTimeout(this.timer);this.$overlay.appendTo($us.$body).show();this.$wrap.appendTo($us.$body).css('display','flex');if(this.isFixed){$us.$html.addClass('usoverlay_fixed');this.windowHasScrollbar=this._hasScrollbar();if(this.windowHasScrollbar&&this._getScrollbarSize()){$us.$html.css('margin-right',this._getScrollbarSize())}}else{this.$wrap.css('top',$us.$window.scrollTop());$us.$body.addClass('popup-active');this.savePopupSizes();if((this.popupSizes.initialWindowHeight===this.popupSizes.openedWindowHeight)&&(this.popupSizes.boxHeight>=this.popupSizes.wrapHeight)){this.$wrap.addClass('popup-ios-height')}
this.$wrap.on('touchmove',this._events.touchmove);$us.$document.on('touchmove',this._events.touchmove)}
$us.$body.on('keyup',this._events.keyup);this.$wrap.on('scroll',this._events.scroll);this.timer=setTimeout(this._events.afterShow,25)},afterShow:function(){clearTimeout(this.timer);this.$overlay.addClass('active');this.$box.addClass('active');if(window.$us!==undefined&&$us.$canvas!==undefined){$us.$canvas.trigger('contentChange',{elm:this.$container})}
if(this.$wVideos.length){this.$wVideos.each(function(_,wVideo){var $wVideoSource=$(wVideo).find('[data-src]'),$videoTag=$wVideoSource.parent('video'),src=$wVideoSource.data('src');if(!src){return}
$wVideoSource.attr('src',src);if($videoTag.length){$videoTag[0].load()}})}
$us.$body.addClass('has_uspopup');$us.$window.trigger('resize').trigger('us.wpopup.afterShow',this)},hide:function(){clearTimeout(this.timer);$us.$body.off('keyup',this._events.keyup);this.$box.on(this.transitionEndEvent,this._events.afterHide);this.$overlay.removeClass('active');this.$box.removeClass('active');this.$wrap.off('scroll',this._events.scroll);$us.$document.off('touchmove',this._events.touchmove);this.timer=setTimeout(this._events.afterHide,1000)},hideOnLinkClick:function(event){var $item=$(event.currentTarget),place=$item.attr('href');if((place.indexOf('#')===-1)||(place!=='#'&&place.indexOf('#')===0&&this.$wrap.find(place).length)){return}
this.hide()},afterHide:function(){clearTimeout(this.timer);this.$box.off(this.transitionEndEvent,this._events.afterHide);this.$overlay.appendTo(this.$container).hide();this.$wrap.appendTo(this.$container).hide();if(this.isFixed){$us.$html.removeClass('usoverlay_fixed');if(this.windowHasScrollbar){$us.$html.css('margin-right','')}
$us.$window.trigger('resize',!0).trigger('us.wpopup.afterHide',this)}else{$us.$body.removeClass('popup-active');this.$wrap.removeClass('popup-ios-height')}
if(this.$media.length){this.$media.trigger('pause')}
if(this.$wVideos.length){this.$wVideos.each(function(_,wVideo){var $wVideoSource=$(wVideo).find('[src]');if(!$wVideoSource.data('src')){$wVideoSource.attr('data-src',$wVideoSource.attr('src'))}
$wVideoSource.attr('src','')})}
$us.$body.removeClass('has_uspopup')},savePopupSizes:function(){this.popupSizes.boxHeight=this.$box.height();this.popupSizes.wrapHeight=this.$wrap.height();this.popupSizes.contentHeight=this.$content.outerHeight(!0)},saveWindowSizes:function(){this.popupSizes.openedWindowHeight=window.innerHeight}};$.fn.wPopup=function(options){return this.each(function(){$(this).data('wPopup',new $us.WPopup(this,options))})};$(function(){$('.w-popup').wPopup()})}(jQuery);(function($){"use strict";var _history=history;var _originalURL;$us.WPostList=function(container){var self=this;self.data={paged:1,max_num_pages:1,pagination:'none',ajaxUrl:$us.ajaxUrl,ajaxData:{us_ajax_list_pagination:1,},};self.xhr;self.$container=$(container);self.$list=$('.w-grid-list',container);self.$loadmore=$('.g-loadmore',container);var $elmSettings=$('.w-grid-list-json:first',container);if($elmSettings.is('[onclick]')){$.extend(self.data,$elmSettings[0].onclick()||{})}
$elmSettings.remove();self.paginationType=$ush.toString(self.data.pagination);self._events={addNextPage:self._addNextPage.bind(self),closePostInPopup:self.closePostInPopup.bind(self),loadPostInPopup:self._loadPostInPopup.bind(self),navigationInPopup:self._navigationInPopup.bind(self),openPostInPopup:self._openPostInPopup.bind(self),usListOrder:self._usListOrder.bind(self),usListSearch:self._usListSearch.bind(self),};if(self.paginationType==='load_on_btn'){self.$loadmore.on('mousedown','button',self._events.addNextPage)}else if(self.paginationType==='load_on_scroll'){$us.waypoints.add(self.$loadmore,'-70%',self._events.addNextPage)}
self.$container.on('usListSearch',self._events.usListSearch).on('usListOrder',self._events.usListOrder);if(self.$container.hasClass('open_items_in_popup')){self.$popup=$('.l-popup',container);self.$popupBox=$('.l-popup-box',self.$popup);self.$popupPreloader=$('.g-preloader',self.$popup);self.$popupFrame=$('.l-popup-box-content-frame',self.$popup);self.$popupToPrev=$('.l-popup-arrow.to_prev',self.$popup);self.$popupToNext=$('.l-popup-arrow.to_next',self.$popup);$us.$body.append(self.$popup);self.$list.on('click','.w-grid-item:not(.custom-link) .w-grid-item-anchor',self._events.openPostInPopup);self.$popupFrame.on('load',self._events.loadPostInPopup);self.$popup.on('click','.l-popup-arrow',self._events.navigationInPopup).on('click','.l-popup-closer, .l-popup-box',self._events.closePostInPopup)}};var prototype=$us.WPostList.prototype;$.extend(prototype,{_usListSearch:function(e,value,key){this.applyFilter('list_search',value)},_usListOrder:function(e,value,key){this.applyFilter('list_order',value)},_addNextPage:function(e){var self=this;if($ush.isUndefined(self.xhr)){self.addItems()}},applyFilter:function(name,value){var self=this;value=$ush.toString(value);self.data.paged=0;if(self.$container.hasClass('for_current_wp_query')){var ajaxUrl=new URL(self.data.ajaxUrl);ajaxUrl.searchParams.set(name,value);self.data.ajaxUrl=ajaxUrl.toString()}else{self.data.ajaxData[name]=value}
self.$list.html('');self.$loadmore.removeClass('hidden');$('.w-grid-none',self.$container).remove();if(!$ush.isUndefined(self.xhr)){self.xhr.abort()}
self.addItems()},addItems:function(){var self=this;self.data.paged+=1;self.$loadmore.addClass('loading');var ajaxUrl=$ush.toString(self.data.ajaxUrl),ajaxData=$ush.clone(self.data.ajaxData),numPage=$ush.rawurlencode('{num_page}');if(ajaxUrl.includes(numPage)){ajaxUrl=ajaxUrl.replace(numPage,self.data.paged)}else if(ajaxData.template_vars){ajaxData.template_vars=JSON.stringify(ajaxData.template_vars);ajaxData.paged=self.data.paged}
self.xhr=$.ajax({type:'post',url:ajaxUrl,dataType:'html',data:ajaxData,success:function(html){var $items=$('.w-grid-list:first > *',html);if($items.length){if(self.$container.hasClass('type_masonry')){self.$list.isotope('insert',$items).isotope('reloadItems')}else{self.$list.append($items)}
if(self.$container.hasClass('with_css_animation')){new USAnimate(self.$list);$us.$window.trigger('scroll.waypoints')}
$ush.timeout(function(){$('[data-content-height]',$items).usCollapsibleContent();$('.w-slider',$items).wSlider()},1);var $listJson=$('.w-grid-list-json:first',html);if($listJson.is('[onclick]')){$.extend(!0,self.data,$listJson[0].onclick()||{})}}
else if(self.data.paged===1){var $listNone=$('.w-grid-none:first',html);if(!$listNone.length){$listNone=$(html).filter('.w-grid-none:first')}
self.$container.append($listNone);self.$loadmore.addClass('hidden');return}
if(!$items.length||self.data.paged>=self.data.max_num_pages){self.$loadmore.addClass('hidden');return}
if(self.paginationType=='load_on_scroll'){$us.waypoints.add(self.$loadmore,'-70%',self._events.addNextPage)}
$us.$canvas.trigger('contentChange');self.$loadmore.removeClass('loading');delete self.xhr},error:function(){self.$loadmore.removeClass('loading');delete self.xhr}})}});$.extend(prototype,{_openPostInPopup:function(e){var self=this;if($us.$window.width()<=$us.canvasOptions.disableEffectsWidth){return}
e.stopPropagation();e.preventDefault();_originalURL=location.href;self.setPostInPopup($(e.target).closest('.w-grid-item').index());$us.$html.addClass('usoverlay_fixed');self.$popup.addClass('active');$ush.timeout(function(){self.$popupBox.addClass('show')},25)},_loadPostInPopup:function(){var self=this;function checkEscape(e){if($ush.toLowerCase(e.key)==='escape'&&self.$popup.hasClass('active')){self.closePostInPopup()}}
self.$container.on('keyup',checkEscape);$('body',self.$popupFrame.contents()).one('keyup.usCloseLightbox',checkEscape)},_navigationInPopup:function(e){this.setPostInPopup($(e.target).data('index'))},setPostInPopup:function(index){var self=this;var $node=$('> *:eq('+$ush.parseInt(index)+')',self.$list),url=$ush.toString($('[href]:first',$node).attr('href'));if(!url){console.error('No url to loaded post');return}
var $prev=$node.prev(':not(.custom-link)'),$next=$node.next(':not(.custom-link)');self.$popupToPrev.data('index',$prev.index()).attr('title',$('.post_title',$prev).text()).toggleClass('hidden',!$prev.length);self.$popupToNext.data('index',$next.index()).attr('title',$('.post_title',$next).text()).toggleClass('hidden',!$next.length);self.$popupPreloader.show();self.$popupFrame.attr('src',url+(url.indexOf('?')>-1?'&':'?')+'us_iframe=1');_history.replaceState(null,null,url)},closePostInPopup:function(){var self=this;self.$popupBox.removeClass('show').one('transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd',function(){self.$popup.removeClass('active');self.$popupFrame.attr('src','about:blank');self.$popupToPrev.addClass('hidden');self.$popupToNext.addClass('hidden');self.$popupPreloader.show();$us.$html.removeClass('usoverlay_fixed')});if(_originalURL){_history.replaceState(null,null,_originalURL)}}});$.fn.wPostList=function(options){return this.each(function(){$(this).data('WPostList',new $us.WPostList(this,options))})};$('.w-grid.us_post_list, .w-grid.us_product_list').wPostList()})(jQuery);!function($,undefined){"use strict";const ENTER_KEY_CODE=13;function usListSearch(container){let self=this;self._events={changedSearchText:self._changedSearchText.bind(self),sendForm:self._sendForm.bind(self),};self.$container=$(container);self.$input=$('input',container);self.$pageContent=$('main#page-content');self.$message=$('.w-search-message',container);self.name=self.$input.attr('name');self.lastValue='';self.$container.on('input','input',$ush.throttle(self._events.changedSearchText,300,!1)).on('click','buttom',self._events.changedSearchText).on('submit','form',self._events.sendForm);$us.$document.on('keypress',function(e){if(self.$input.is(':focus')&&e.keyCode===ENTER_KEY_CODE){e.preventDefault();self._events.changedSearchText(e)}})}
$.extend(usListSearch.prototype,{_sendForm:function(e){e.preventDefault();this._events.changedSearchText(e)},_changedSearchText:function(e){var self=this,$firstList=$(`
					.w-grid.us_post_list:not(.pagination_numbered):visible,
					.w-grid.us_product_list:not(.pagination_numbered):visible,
					.w-grid-none:visible
				`,self.$pageContent).first();if($firstList.hasClass('w-grid')){self.$message.addClass('hidden').text('');$firstList.addClass('used_by_list_search')}else if(!$firstList.hasClass('w-grid-none')){self.$message.html('No suitable list found. Add <b>Post List</b> or <b>Product List</b> elements.').removeClass('hidden')}
if(e.type==='input'&&!self.$container.hasClass('live_search')){return}
let value=self.$input.val();if(value===self.lastValue||!self.name){return}
self.lastValue=value;$firstList.trigger('usListSearch',[value,self.name])}});$.fn.usListSearch=function(options){return this.each(function(){$(this).data('usListSearch',new usListSearch(this,options))})};$(function(){$('.w-search.for_list').usListSearch()})}(jQuery);!function($,undefined){"use strict";function usListOrder(container){let self=this;self._events={changeSelect:self._changeSelect.bind(self),};self.$container=$(container);self.$pageContent=$('main#page-content');self.$container.on('change','select',self._events.changeSelect)}
$.extend(usListOrder.prototype,{_changeSelect:function(e){var self=this,value=e.target.value,name=e.target.getAttribute('name'),$firstList=$(`
					.w-grid.us_post_list:not(.pagination_numbered):visible,
					.w-grid.us_product_list:not(.pagination_numbered):visible,
					.w-grid-none:visible
				`,self.$pageContent).first();if($firstList.hasClass('w-grid')){$firstList.addClass('used_by_list_order')}
if(value===self.lastValue||!name){return}
$firstList.trigger('usListOrder',[self.lastValue=value,name])}});$.fn.usListOrder=function(options){return this.each(function(){$(this).data('usListOrder',new usListOrder(this,options))})};$(function(){$('.w-order.for_list').usListOrder()})}(jQuery);(function($,undefined){"use strict";$us.WProgbar=function(container,options){this.$container=$(container);this.$bar=$('.w-progbar-bar-h',this.$container);this.$count=$('.w-progbar-title-count, .w-progbar-bar-count',this.$container);this.$title=$('.w-progbar-title',this.$container);this.options={delay:100,duration:800,finalValue:100,offset:'10%',startValue:0,value:50};if(this.$container.is('[onclick]')){$.extend(this.options,this.$container[0].onclick()||{});if(!$us.usbPreview())this.$container.removeAttr('onclick')}
$.extend(this.options,options||{});if(/bot|googlebot|crawler|spider|robot|crawling/i.test(navigator.userAgent)){this.$container.removeClass('initial')}
this.$count.text('');$us.waypoints.add(this.$container,this.options.offset,this.init.bind(this))};$.extend($us.WProgbar.prototype,{init:function(){if(this.running){return}
this.running=!0;if(this.$container.hasClass('initial')){this.$container.removeClass('initial')}
var loops=Math.ceil(this.options.duration/this.options.delay),increment=parseFloat(this.options.value)/loops,loopCount=0,handle=null,startValue=0;var funLoop=function(){startValue+=increment;loopCount++;if(handle){$ush.clearTimeout(handle)}
if(loopCount>=loops){var result=this.options.template;if(this.options.hasOwnProperty('showFinalValue')){result+=' '+this.options.showFinalValue}
this.$count.text(result);return}
this.render.call(this,startValue);handle=$ush.timeout(funLoop.bind(this),this.options.delay)};funLoop.call(this);var finalValue=parseFloat(this.options.finalValue),width=((parseFloat(parseFloat(this.options.value))/parseFloat(finalValue))*100).toFixed(0);this.$bar.on('transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd',this._events.transitionEnd.bind(this)).css({width:width+'%',transitionDuration:parseInt(this.options.duration)+'ms'})},_events:{transitionEnd:function(){var result=this.options.template;if(this.options.hasOwnProperty('showFinalValue')){result+=' '+this.options.showFinalValue}
this.$count.text(result);this.running=!1}},render:function(value){var index=0,result=(''+this.options.template).replace(/([\-\d\.])/g,function(match){value+='';if(index===0&&match==='0'){if(value.charAt(index+1)==='.'||match==='.'){index++}
return match}
return value.charAt(index++)||''}.bind(this));if(result.charAt(index-1)==='.'){result=result.substr(0,index-1)+result.substr(index)}
if(this.options.hasOwnProperty('showFinalValue')){result+=' '+this.options.showFinalValue}
this.$count.text(result)}});$.fn.wProgbar=function(options){this.each(function(){$(this).data('wProgbar',new $us.WProgbar(this,options))})};$(function(){jQuery('.w-progbar').wProgbar()})})(jQuery);!function($,undefined){"use strict";var _window=window,_body=document.body;var abs=Math.abs,max=Math.max,min=Math.min,floor=Math.floor,round=Math.round;_window.$us=_window.$us||{};_window.$ush=_window.$ush||{};const _TRANSLATE_FACTOR_=7;function scroll(){return{top:_window.scrollY||_window.pageYOffset,}}
function areEffectsDisabled(){return $us.canvasOptions.disableEffectsWidth>=_body.clientWidth}
var _lastState={bodyHeight:$ush.parseInt(_body.clientHeight),effectsDisabled:areEffectsDisabled(),};function ScrollEffects(){var self=this;self.elms=[];self._events={scroll:self._handleScroll.bind(self),handleСontentChange:self._handleСontentChange.bind(self),};$us.$window.on('scroll',self._events.scroll).on('resize',$ush.debounce(self._events.handleСontentChange,25));$us.$canvas.on('contentChange',$ush.debounce(self._events.handleСontentChange,1))}
ScrollEffects.prototype={addElms:function(elms){var self=this;if(!$.isArray(elms)){elms=[elms]}
elms.map(function(element){if($ush.isNode(element)){for(var i in self.elms){if(self.elms[i].node===element){self.elms[i].removeEffects();self.elms.splice(i,1);break}}
self.elms.push(new SE_Manager(element))}})},_handleСontentChange:function(){var self=this;var effectsDisabled=areEffectsDisabled();if(_lastState.effectsDisabled!==effectsDisabled){_lastState.effectsDisabled=effectsDisabled;self.elms.map(function(element){element[effectsDisabled?'removeEffects':'applyEffects']()})}
var bodyHeight=$ush.parseInt(_body.clientHeight);if(_lastState.bodyHeight!==bodyHeight){_lastState.bodyHeight=bodyHeight;self.elms.map(function(element){element.setInitialData()})}},_handleScroll:function(){var self=this;if(areEffectsDisabled()){return}
self.elms.map(function(element){if(!element.isInViewport()){element.node.classList.remove('in_viewport');return}
element.node.classList.add('in_viewport');element.applyEffects()})}};$us.scrollEffects=new ScrollEffects;function SE_Manager(node){var self=this;self.node=node;self.offsetTop=-0;self.nearestTop=-0;self.currentHeight=-0;self.initialData={top:-0,height:-0,};self._config={start_position:'0%',end_position:'100%',from_initial_position:0,translate_y:0,translate_y_direction:'up',translate_y_speed:'0.5x',translate_x:0,translate_x_direction:'left',translate_x_speed:'0.5x',opacity:0,opacity_direction:'out-in',scale:0,scale_direction:'up',scale_speed:'0.5x',delay:'0.1s',};var $node=$(node);$.extend(self._config,$node.data('us-scroll')||{});$node.removeAttr('data-us-scroll');self.setInitialData();node.classList.toggle('in_viewport',self.isInViewport());if(!areEffectsDisabled()){self.applyEffects()}
$ush.timeout(function(){node.style.setProperty('--scroll-delay',self.getParam('delay'))},100)}
SE_Manager.prototype={setInitialData:function(){var self=this,rect=$ush.$rect(self.node);self.currentHeight=rect.height;self.initialData.height=rect.height;self.initialData.top=scroll().top+rect.top-$ush.parseFloat(self.style('--translateY'));self.translateSpeedY=$ush.parseFloat(self.getParam('translate_y_speed'));self.translateSpeedX=$ush.parseFloat(self.getParam('translate_x_speed'));if($ush.parseInt(self.getParam('from_initial_position'))!=1){var startPosition=$ush.parseInt(self.getParam('start_position')),endPosition=$ush.parseInt(self.getParam('end_position')),centerPosition=50;self.centerScrollTop=$ush.parseInt(self.initialData.top+self.initialData.height/2-_window.innerHeight/2);self.startScrollTop=self.centerScrollTop-_window.innerHeight/2+(startPosition/100*_window.innerHeight)-self.initialData.height*(centerPosition-startPosition)/100;self.endScrollTop=self.centerScrollTop-_window.innerHeight/2+(endPosition/100*_window.innerHeight)+self.initialData.height*(endPosition-centerPosition)/100}},isInViewport:function(){var self=this,rect=$ush.$rect(self.node),initialTop=self.initialData.top-scroll().top,nearestTop=min(initialTop,rect.top)-_window.innerHeight;self.offsetTop=rect.top;self.nearestTop=nearestTop;self.currentHeight=rect.height;return(nearestTop<=0&&(max(initialTop,rect.top)+rect.height)>=0)},hasClass:function(className){return className&&this.node.classList.contains(className)},style:function(prop,value){var elmStyle=this.node.style;if($ush.isUndefined(value)){return elmStyle.getPropertyValue(prop)}else{elmStyle.setProperty(prop,$ush.toString(value))}},getParam:function(name,defaultValue){var self=this;return(self.node.dataset[name]||self._config[name]||defaultValue)},getPositionData:function(offsetY,distanceInPx){var self=this,currentPosition=100-($ush.parseFloat(offsetY)/$ush.parseFloat(distanceInPx)*100),startPosition=$ush.parseInt(self.getParam('start_position')),endPosition=$ush.parseInt(self.getParam('end_position'));return{start:startPosition,current:$ush.limitValueByRange(currentPosition,0,100),end:endPosition,diff:(endPosition-startPosition),}},applyEffects:function(){var self=this;self.setTranslateY();self.setTranslateX();self.setOpacity();self.setScale()},removeEffects:function(){var self=this;['--translateY','--translateX','--opacity','--scale'].map(function(varName){self.style(varName,'')})},getPosition:function(translateSpeed){var self=this,position=-0;if($ush.parseInt(self.getParam('from_initial_position'))==1){position=scroll().top*translateSpeed}else{if(self.startScrollTop<scroll().top&&scroll().top<self.endScrollTop){position=(scroll().top-self.centerScrollTop)*translateSpeed}else if(self.startScrollTop>=scroll().top){position=(self.startScrollTop-self.centerScrollTop)*translateSpeed}else if(self.endScrollTop<=scroll().top){position=(self.endScrollTop-self.centerScrollTop)*translateSpeed}}
if(self.initialData.top+self.initialData.height+position>=_lastState.bodyHeight){return _lastState.bodyHeight-self.initialData.top-self.initialData.height-1}
return position},setTranslateY:function(){var self=this;if(!self.hasClass('has_translate_y')||!self.translateSpeedY){return}
var translateSpeed=self.translateSpeedY,translateY;if(self.getParam('translate_y_direction')!=='down'){translateSpeed=-translateSpeed}
self.style('--translateY',self.getPosition(translateSpeed)+'px')},setTranslateX:function(){var self=this;if(!self.hasClass('has_translate_x')||!self.translateSpeedX){return}
var translateSpeed=self.translateSpeedX,translateX;if(self.getParam('translate_x_direction')!=='right'){translateSpeed=-translateSpeed}
self.style('--translateX',self.getPosition(translateSpeed)+'px')},setOpacity:function(){var self=this;var opacityDirection=self.getParam('opacity_direction'),opacity;if(!self.hasClass('has_opacity')||!opacityDirection){return}
if($ush.parseInt(self.getParam('from_initial_position'))==1){var initialPosition=$ush.parseInt(self.initialData.top+self.initialData.height/2);opacity=min(1,scroll().top/initialPosition)}else{var elmHeight=self.initialData.height,viewportHeight=_window.innerHeight,offsetTop=viewportHeight+self.nearestTop+elmHeight,position=self.getPositionData(offsetTop,viewportHeight+elmHeight),startPosition=position.start,currentPosition=$ush.limitValueByRange(round(position.current),startPosition,position.end);opacity=((100/position.diff)*(currentPosition-startPosition))/100}
if(opacityDirection==='in-out'){opacity=1-opacity}else if(opacityDirection==='in-out-in'){opacity=(2*opacity)-1}else if(opacityDirection==='out-in-out'){opacity=(opacity>0.5?2:0)-(2*opacity)}
self.style('--opacity',$ush.limitValueByRange(abs(opacity).toFixed(3),0,1))},setScale:function(){var self=this;var scaleSpeed=$ush.parseFloat(self.getParam('scale_speed'));if(!self.hasClass('has_scale')||!scaleSpeed){return}
if(self.getParam('scale_direction')==='down'){scaleSpeed=-scaleSpeed}
if($ush.parseInt(self.getParam('from_initial_position'))==1){var scale=1+(scroll().top/_window.innerHeight*100)/50*scaleSpeed}else{var elmHeight=max(self.initialData.height,self.currentHeight),viewportHeight=_window.innerHeight,offsetTop=viewportHeight+self.nearestTop+elmHeight,position=self.getPositionData(offsetTop,viewportHeight+elmHeight),currentPosition=$ush.limitValueByRange(round(position.current),position.start,position.end);var scale=1-(50-currentPosition)/50*scaleSpeed}
if(scale<0){scale=0}
self.style('--scale',scale)}};$.fn.usScrollEffects=function(){return this.each(function(){$us.scrollEffects.addElms(this)})};$(function(){$('[data-us-scroll]').usScrollEffects()})}(jQuery);!function($){"use strict";var __debounce_fn_600ms=$ush.debounce($ush.fn,600);$.fn.wSearch=function(){return this.each(function(){var $container=$(this),$form=$container.find('.w-search-form'),$btnOpen=$container.find('.w-search-open'),$btnClose=$container.find('.w-search-close'),$input=$form.find('[name="s"]'),$overlay=$container.find('.w-search-background'),$window=$(window),searchOverlayInitRadius=25,isFullScreen=$container.hasClass('layout_fullscreen'),isWithRipple=$container.hasClass('with_ripple'),searchHide=function(e){e.preventDefault();e.stopPropagation();$container.removeClass('active');$input.blur();if(isWithRipple&&isFullScreen){$form.css({transition:'opacity 0.4s'});$ush.timeout(function(){$overlay.removeClass('overlay-on').addClass('overlay-out').css({'transform':'scale(0.1)'});$form.css('opacity',0);__debounce_fn_600ms(function(){$form.css('display','none');$overlay.css('display','none')})},25)}},searchShow=function(e){e.preventDefault();$container.addClass('active');if(isWithRipple&&isFullScreen){var searchPos=$btnOpen.offset(),searchWidth=$btnOpen.width(),searchHeight=$btnOpen.height();searchPos.top-=$window.scrollTop();searchPos.left-=$window.scrollLeft();var overlayX=searchPos.left+searchWidth/2,overlayY=searchPos.top+searchHeight/2,winWidth=$us.canvas.winWidth,winHeight=$us.canvas.winHeight,overlayRadius=Math.sqrt(Math.pow(Math.max(winWidth-overlayX,overlayX),2)+Math.pow(Math.max(winHeight-overlayY,overlayY),2)),overlayScale=(overlayRadius+15)/searchOverlayInitRadius;$overlay.css({width:searchOverlayInitRadius*2,height:searchOverlayInitRadius*2,left:overlayX,top:overlayY,"margin-left":-searchOverlayInitRadius,"margin-top":-searchOverlayInitRadius});$overlay.removeClass('overlay-out').show();$form.css({opacity:0,display:'block',transition:'opacity 0.4s 0.3s'});$ush.timeout(function(){$overlay.addClass('overlay-on').css({"transform":"scale("+overlayScale+")"});$form.css('opacity',1)},25);$input.trigger('focus')}else{$input.trigger('focus')}};$btnOpen.on('click',searchShow);$btnClose.on('click touchstart',searchHide);$input.keyup(function(e){if(e.keyCode===27){searchHide(e)}})})};$(function(){jQuery('.l-header .w-search').wSearch()})}(jQuery);!function($){"use strict";$us.UsSharing=function(container,options){this.init(container,options)};$us.UsSharing.prototype={init:function(container,options){this.$container=$(container);if(!!$('.w-sharing-list',this.$container).data('content-image')){if($('.l-canvas img:first-child').length){this.sharingImage=$('.l-canvas img:first-child').attr('src')}else{this.sharingImage=''}
this.setSharingImage()}
if(!this.$container.hasClass('w-sharing-tooltip')){if($('.whatsapp',this.$container).length&&$.isMobile){this.setWhatsAppUrl(this.$container.find('.whatsapp'))}}else{this.$copy2clipboard=$('.w-sharing-item.copy2clipboard',this.$container);this.selectedText='';this.activeArea='.l-main';if(this.$container.data('sharing-area')==='post_content'){this.activeArea='.w-post-elm.post_content'}
this.$container.appendTo("body");$('body').not(this.activeArea).bind('mouseup',function(){var selection=this.getSelection();if(selection===''){this.$container.hide()}}.bind(this));$(this.activeArea).on('mouseup',function(e){var selection=this.getSelection();if(selection!==''){this.selectedText=selection;this.showTooltip(e)}else{this.selectedText='';this.hideTooltip()}}.bind(this));this.$copy2clipboard.on('click',function(){this.copyToClipboard()}.bind(this))}},showTooltip:function(e){$('.w-sharing-item',this.$container).each(function(index,elm){if($(elm).hasClass('copy2clipboard')){return}
if($.isMobile&&$(elm).hasClass('whatsapp')){this.setWhatsAppUrl($(elm))}
$(elm).attr('href',($(elm).data('url')||'').replace('{{text}}',this.selectedText))}.bind(this));this.$container.css({"display":"inline-block","left":e.pageX,"top":e.pageY-50,})},setSharingImage:function(){$('.w-sharing-item',this.$container).each(function(index,elm){if($(elm).hasClass('copy2clipboard')){return}
$(elm).attr('href',($(elm).attr('href')||'').replace('{{image}}',this.sharingImage));if($(elm).attr('data-url')){$(elm).attr('data-url',($(elm).attr('data-url')||'').replace('{{image}}',this.sharingImage))}}.bind(this))},setWhatsAppUrl:function($elm){$elm.attr('href',($elm.attr('href')||'').replace('https://web','https://api'))},hideTooltip:function(){this.$container.hide()},copyToClipboard:function(){var url,el=document.createElement('textarea');if(this.$copy2clipboard.parent().data('sharing-url')!==undefined&&this.$copy2clipboard.parent().data('sharing-url')!==''){url=this.$copy2clipboard.parent().attr('data-sharing-url')}else{url=window.location}
el.value=this.selectedText+' '+url;el.setAttribute('readonly','');el.style.position='absolute';el.style.left='-9999px';document.body.appendChild(el);el.select();document.execCommand('copy');document.body.removeChild(el);this.hideTooltip()},getSelection:function(){var selection='';if(window.getSelection){selection=window.getSelection()}else if(document.selection){selection=document.selection.createRange()}
return selection.toString().trim()},};$.fn.UsSharing=function(options){return this.each(function(){$(this).data('UsSharing',new $us.UsSharing(this,options))})};$(function(){$('.w-sharing-tooltip, .w-sharing').UsSharing()})}(jQuery);!function($,undefined){"use strict";var _undefined=undefined;$us.WTabs=function(container,options){this.init(container,options)};$us.WTabs.prototype={init:function(container,options){var _defaults={duration:300,easing:'cubic-bezier(.78,.13,.15,.86)'};this.options=$.extend({},_defaults,options);this.isRtl=$('.l-body').hasClass('rtl');this.$container=$(container);this.$tabsList=$('> .w-tabs-list:first',this.$container);this.$tabs=$('.w-tabs-item',this.$tabsList);this.$sectionsWrapper=$('> .w-tabs-sections:first',this.$container);this.$sections=$('> .w-tabs-section',this.$sectionsWrapper);this.$headers=this.$sections.children('.w-tabs-section-header');this.$contents=this.$sections.children('.w-tabs-section-content');this.$tabsBar=$();if(this.$container.hasClass('accordion')){this.$tabs=this.$headers}
this.accordionAtWidth=this.$container.data('accordion-at-width');this.align=this.$tabsList.usMod('align');this.count=this.$tabs.length;this.hasScrolling=this.$container.hasClass('has_scrolling')||!1;this.isAccordionAtWidth=$.isNumeric(parseInt(this.accordionAtWidth));this.isScrolling=!1;this.isTogglable=(this.$container.usMod('type')==='togglable');this.minWidth=0;this.tabHeights=[];this.tabLefts=[];this.tabTops=[];this.tabWidths=[];this.width=0;if(this.count===0){return}
this.basicLayout=this.$container.hasClass('accordion')?'accordion':(this.$container.usMod('layout')||'hor');this.curLayout=this.basicLayout;this.active=[];this.activeOnInit=[];this.definedActive=[];this.tabs=$.map(this.$tabs.toArray(),$);this.sections=$.map(this.$sections.toArray(),$);this.headers=$.map(this.$headers.toArray(),$);this.contents=$.map(this.$contents.toArray(),$);if(!this.sections.length){return}
$.each(this.tabs,function(index){if(this.sections[index].hasClass('content-empty')){this.tabs[index].hide();this.sections[index].hide()}
if(this.tabs[index].hasClass('active')){this.active.push(index);this.activeOnInit.push(index)}
if(this.tabs[index].hasClass('defined-active')){this.definedActive.push(index)}
this.tabs[index].add(this.headers[index]).on('click mouseover',function(e){var $link=this.tabs[index];if(!$link.is('a')){$link=$link.find('a')}
if(!$link.length||($link.is('[href]')&&$link.attr('href').indexOf('http')===-1)){e.preventDefault()}
if(e.type=='mouseover'&&(this.$container.hasClass('accordion')||!this.$container.hasClass('switch_hover'))){return}
if(this.curLayout==='accordion'&&this.isTogglable){this.toggleSection(index)}
else{if(index!=this.active[0]){this.headerClicked=!0;this.openSection(index)}else if(this.curLayout==='accordion'){this.contents[index].css('display','block').slideUp(this.options.duration,this._events.contentChanged);this.tabs[index].attr('aria-expanded','true').removeClass('active');this.sections[index].removeClass('active');this.active[0]=_undefined}}}.bind(this))}.bind(this));this._events={resize:this.resize.bind(this),hashchange:this.hashchange.bind(this),contentChanged:function(){$.each(this.tabs,function(_,item){var $content=$(item);$content.attr('aria-expanded',$content.is('.active'))})
$us.$canvas.trigger('contentChange',{elm:this.$container})}.bind(this),wheel:function(){if(this.isScrolling){$us.$htmlBody.stop(!0,!1)}}};this.switchLayout(this.curLayout);$us.$window.on('resize',$ush.debounce(this._events.resize,5)).on('hashchange',this._events.hashchange).on('wheel',$ush.debounce(this._events.wheel.bind(this),5));$us.$document.ready(function(){this.resize();$ush.timeout(this._events.resize,50);$ush.timeout(function(){if(window.location.hash){var hash=window.location.hash.substr(1),$linkedSection=this.$sectionsWrapper.find('.w-tabs-section[id="'+hash+'"]');if($linkedSection.length&&(!$linkedSection.hasClass('active'))){$linkedSection.find('.w-tabs-section-header').trigger('click')}}}.bind(this),150)}.bind(this));$.each(this.tabs,function(index){if(this.headers.length&&this.headers[index].attr('href')!=_undefined){var tabHref=this.headers[index].attr('href'),tabHeader=this.headers[index];$('a[href="'+tabHref+'"]',this.$container).on('click',function(e){e.preventDefault();if($(this).hasClass('w-tabs-section-header','w-tabs-item')){return}
if(!$(tabHeader).parent('.w-tabs-section').hasClass('active')){tabHeader.trigger('click')}})}}.bind(this));this.$container.addClass('initialized');this.headerHeight=0;$us.header.on('transitionEnd',function(header){this.headerHeight=header.getCurrentHeight(!0)}.bind(this));if($us.usbPreview()){var usbContentChange=function(){if(!this.isTrendy()||this.curLayout=='accordion'){return}
this.measure();this.setBarPosition(this.active[0]||0)}.bind(this);this.$container.on('usb.contentChange',$ush.debounce(usbContentChange,1))}},isTrendy:function(){return this.$container.hasClass('style_trendy')},hashchange:function(){if(window.location.hash){var hash=window.location.hash.substr(1),$linkedSection=this.$sectionsWrapper.find('.w-tabs-section[id="'+hash+'"]');if($linkedSection.length&&(!$linkedSection.hasClass('active'))){var $header=$linkedSection.find('.w-tabs-section-header');$header.click()}}},switchLayout:function(to){this.cleanUpLayout(this.curLayout);this.prepareLayout(to);this.curLayout=to},cleanUpLayout:function(from){this.$sections.resetInlineCSS('display');if(from==='accordion'){this.$container.removeClass('accordion');this.$contents.resetInlineCSS('height','padding-top','padding-bottom','display','opacity')}
if(this.isTrendy()&&'hor|ver'.indexOf(from)>-1){this.$tabsBar.remove()}},prepareLayout:function(to){if(to!=='accordion'&&this.active[0]===_undefined){this.active[0]=this.activeOnInit[0];if(this.active[0]!==_undefined){this.tabs[this.active[0]].addClass('active');this.sections[this.active[0]].addClass('active')}}
if(to==='accordion'){this.$container.addClass('accordion');this.$contents.hide();if(this.curLayout!=='accordion'&&this.active[0]!==_undefined&&this.active[0]!==this.definedActive[0]){this.headers[this.active[0]].removeClass('active');this.tabs[this.active[0]].removeClass('active');this.sections[this.active[0]].removeClass('active');this.active[0]=this.definedActive[0]}
for(var i=0;i<this.active.length;i ++){if(this.contents[this.active[i]]!==_undefined){this.tabs[this.active[i]].attr('aria-expanded','true').addClass('active');this.sections[this.active[i]].addClass('active');this.contents[this.active[i]].show()}}}else if(to==='ver'){this.$contents.hide();this.contents[this.active[0]].show()}
if(this.isTrendy()&&'hor|ver'.indexOf(this.curLayout)>-1){this.$tabsBar=$('<div class="w-tabs-list-bar"></div>').appendTo(this.$tabsList)}},measure:function(){if(this.basicLayout==='ver'){if(this.isAccordionAtWidth){this.minWidth=this.accordionAtWidth}else{var
minTabWidth=this.$tabsList.outerWidth(!0),minContentWidth=300,navWidth=this.$container.usMod('navwidth');if(navWidth!=='auto'){minTabWidth=Math.max(minTabWidth,minContentWidth*parseInt(navWidth)/(100-parseInt(navWidth)))}
this.minWidth=Math.max(480,minContentWidth+minTabWidth+1)}
if(this.isTrendy()){this.tabHeights=[];this.tabTops=[];for(var index=0;index<this.tabs.length;index ++){this.tabHeights.push(this.tabs[index].outerHeight(!0));this.tabTops.push(index?(this.tabTops[index-1]+this.tabHeights[index-1]):0)}}}else{if(this.basicLayout==='hor'){this.$container.addClass('measure');if(this.isAccordionAtWidth){this.minWidth=this.accordionAtWidth}else{this.minWidth=0;for(var index=0;index<this.tabs.length;index ++){this.minWidth+=this.tabs[index].outerWidth(!0)}}
this.$container.removeClass('measure')}
if(this.isTrendy()){this.tabWidths=[];this.tabLefts=[];for(var index=0;index<this.tabs.length;index ++){this.tabWidths.push(this.tabs[index].outerWidth(!0));this.tabLefts.push(index?(this.tabLefts[index-1]+this.tabWidths[index-1]):this.tabs[index].position().left)}
if(this.isRtl){var
firstTabWidth=this.tabWidths[0],offset=('none'==this.align)?this.$tabsList.outerWidth(!0):this.tabWidths.reduce(function(a,b){return a+b},0);this.tabLefts=this.tabLefts.map(function(left){return Math.abs(left-offset+firstTabWidth)})}}}},setBarPosition:function(index,animated){if(index===_undefined||!this.isTrendy()||'hor|ver'.indexOf(this.curLayout)==-1){return}
if(!this.$tabsBar.length){this.$tabsBar=$('<div class="w-tabs-list-bar"></div>').appendTo(this.$tabsList)}
var css={};if(this.curLayout==='hor'){css={width:this.tabWidths[index]};css[this.isRtl?'right':'left']=this.tabLefts[index]}else if(this.curLayout==='ver'){css={top:this.tabTops[index],height:this.tabHeights[index]}}
if(!animated){this.$tabsBar.css(css)}else{this.$tabsBar.performCSSTransition(css,this.options.duration,null,this.options.easing)}},openSection:function(index){if(this.sections[index]===_undefined){return}
if(this.curLayout==='hor'){this.$sections.removeClass('active').css('display','none');this.sections[index].stop(!0,!0).fadeIn(this.options.duration,function(){$(this).addClass('active')})}else if(this.curLayout==='accordion'){if(this.contents[this.active[0]]!==_undefined){this.contents[this.active[0]].css('display','block').stop(!0,!1).slideUp(this.options.duration)}
this.contents[index].css('display','none').stop(!0,!1).slideDown(this.options.duration,function(){this._events.contentChanged.call(this);if(this.hasScrolling&&this.curLayout==='accordion'&&this.headerClicked==!0){var top=this.headers[index].offset().top;if(!jQuery.isMobile){top-=$us.$canvas.offset().top||0}
var $prevStickySection=this.$container.closest('.l-section').prevAll('.l-section.type_sticky');if($prevStickySection.length){top-=parseInt($prevStickySection.outerHeight(!0))}
var animateOptions={duration:$us.canvasOptions.scrollDuration,easing:$us.getAnimationName('easeInOutExpo'),start:function(){this.isScrolling=!0}.bind(this),always:function(){this.isScrolling=!1}.bind(this),step:function(now,fx){var newTop=top;if($us.header.isHorizontal()&&$us.header.isStickyEnabled()){newTop-=this.headerHeight}
if(fx.end!==newTop){$us.$htmlBody.stop(!0,!1).animate({scrollTop:newTop},$.extend(animateOptions,{easing:$us.getAnimationName('easeOutExpo')}))}}.bind(this)};$us.$htmlBody.stop(!0,!1).animate({scrollTop:top},animateOptions);this.headerClicked=!1}}.bind(this));this.$sections.removeClass('active');this.sections[index].addClass('active')}else if(this.curLayout==='ver'){if(this.contents[this.active[0]]!==_undefined){this.contents[this.active[0]].css('display','none')}
this.contents[index].css('display','none').stop(!0,!0).fadeIn(this.options.duration,this._events.contentChanged);this.$sections.removeClass('active');this.sections[index].addClass('active')}
this._events.contentChanged();this.$tabs.attr('aria-expanded','false').removeClass('active');this.tabs[index].attr('aria-expanded','true').addClass('active');this.active[0]=index;this.setBarPosition(index,!0)},toggleSection:function(index){var indexPos=$.inArray(index,this.active);if(indexPos!=-1){this.contents[index].css('display','block').slideUp(this.options.duration,this._events.contentChanged);this.tabs[index].attr('aria-expanded','true').removeClass('active');this.sections[index].removeClass('active');this.active.splice(indexPos,1)}else{this.contents[index].css('display','none').slideDown(this.options.duration,this._events.contentChanged);this.tabs[index].attr('aria-expanded','false').addClass('active');this.sections[index].addClass('active');this.active.push(index)}},resize:function(){this.width=this.isAccordionAtWidth?$us.$window.outerWidth():this.$container.width();if(this.curLayout!=='accordion'&&!this.width&&this.$container.closest('.w-nav').length&&!jQuery.isMobile){return}
var nextLayout=(this.width<=this.minWidth)?'accordion':this.basicLayout;if(nextLayout!==this.curLayout){this.switchLayout(nextLayout)}
if(this.curLayout!=='accordion'){this.measure()}
this._events.contentChanged();this.setBarPosition(this.active[0])}};$.fn.wTabs=function(options){return this.each(function(){$(this).data('wTabs',new $us.WTabs(this,options))})};jQuery('.w-tabs').wTabs()}(jQuery);jQuery(function($){$('.w-tabs .rev_slider').each(function(){var $slider=$(this);$slider.bind("revolution.slide.onloaded",function(e){$us.$canvas.on('contentChange',function(){$slider.revredraw()})})})});(function($,undefined){window.$us.YTPlayers=window.$us.YTPlayers||{};"use strict";$us.wVideo=function(container){var self=this;self.$container=$(container);self.$videoH=$('.w-video-h',self.$container);self.$videoTag='';self.cookieName=self.$container.data('cookie-name');self.isWithOverlay=self.$container.hasClass('with_overlay');if(!self.cookieName&&!self.isWithOverlay){return}
self.data={};if(self.$container.is('[onclick]')){self.data=self.$container[0].onclick()||{};if(!$us.usbPreview())self.$container.removeAttr('onclick')}
self._events={hideOverlay:self._hideOverlay.bind(self),confirm:self._confirm.bind(self)};if(self.cookieName){self.$container.on('click','.action_confirm_load',self._events.confirm)}
self.$container.one('click','> *',self._events.hideOverlay)};$.extend($us.wVideo.prototype,{_confirm:function(){var self=this;if($('input[name^='+self.cookieName+']:checked',self.$container).length){$ush.setCookie(self.cookieName,1,365)}
if(self.isWithOverlay){self.insertPlayer()}else{self.$videoH.html($ush.base64Decode(''+$('script[type="text/template"]',self.$container).text())).removeAttr('data-cookie-name')}},_hideOverlay:function(e){e.preventDefault();var self=this;if(self.$container.is('.with_overlay')){self.$container.removeAttr('style').removeClass('with_overlay')}
if(!self.cookieName){self.insertPlayer()}},insertPlayer:function(){var self=this,data=$.extend({player_id:'',player_api:'',player_html:''},self.data||{});if(data.player_api&&!$('script[src="'+data.player_api+'"]',document.head).length){$('head').append('<script src="'+data.player_api+'"></script>')}
self.$videoH.html(data.player_html);self.$videoTag=self.getVideo();if(!data.player_api&&self.$videoTag){if(self.isWithOverlay&&$ush.isSafari&&/(iPhone|iPod|iPad)/i.test(navigator.platform)){self.$videoTag.setAttribute('preload','metadata')}
self.$videoTag.play()}},getVideo:function(){return this.$videoH.find('video')[0]||!1}});$.fn.wVideo=function(options){return this.each(function(){$(this).data('wVideo',new $us.wVideo(this,options))})};$(function(){$('.w-video').wVideo()})})(jQuery);(function($){var $window=$(window),windowHeight=$window.height();$.fn.parallax=function(xposParam){this.each(function(){var $container=$(this),$this=$container.children('.l-section-img'),speedFactor,offsetFactor=0,getHeight,topOffset=0,containerHeight=0,containerWidth=0,disableParallax=!1,parallaxIsDisabled=!1,baseImgHeight=0,baseImgWidth=0,isBgCover=($this.css('background-size')=='cover'),originalBgPos=$this.css('background-position'),curImgHeight=0,reversed=$container.hasClass('parallaxdir_reversed'),baseSpeedFactor=reversed?-0.1:0.61,xpos,outerHeight=!0;if($this.length==0){return}
if(xposParam===undefined){xpos="50%"}else{xpos=xposParam}
if($container.hasClass('parallax_xpos_right')){xpos="100%"}else if($container.hasClass('parallax_xpos_left')){xpos="0%"}
if(outerHeight){getHeight=function(jqo){return jqo.outerHeight(!0)}}else{getHeight=function(jqo){return jqo.height()}}
function getBackgroundSize(callback){var img=new Image(),width,height,backgroundSize=($this.css('background-size')||' ').split(' '),backgroundWidthAttr=$this.attr('data-img-width'),backgroundHeightAttr=$this.attr('data-img-height');if(backgroundWidthAttr!=''){width=parseInt(backgroundWidthAttr)}
if(backgroundHeightAttr!=''){height=parseInt(backgroundHeightAttr)}
if(width!==undefined&&height!==undefined){return callback({width:width,height:height})}
if(/px/.test(backgroundSize[0])){width=parseInt(backgroundSize[0])}
if(/%/.test(backgroundSize[0])){width=$this.parent().width()*(parseInt(backgroundSize[0])/100)}
if(/px/.test(backgroundSize[1])){height=parseInt(backgroundSize[1])}
if(/%/.test(backgroundSize[1])){height=$this.parent().height()*(parseInt(backgroundSize[0])/100)}
if(width!==undefined&&height!==undefined){return callback({width:width,height:height})}
img.onload=function(){if(typeof width=='undefined'){width=this.width}
if(typeof height=='undefined'){height=this.height}
callback({width:width,height:height})};img.src=($this.css('background-image')||'').replace(/url\(['"]*(.*?)['"]*\)/g,'$1')}
function update(){if($us.$html.hasClass('ios-touch')){return}
if(disableParallax){if(!parallaxIsDisabled){$this.css('backgroundPosition',originalBgPos);$container.usMod('parallax','fixed');parallaxIsDisabled=!0}
return}else{if(parallaxIsDisabled){$container.usMod('parallax','ver');parallaxIsDisabled=!1}}
if(isNaN(speedFactor)){return}
var pos=$window.scrollTop();if((topOffset+containerHeight<pos)||(pos<topOffset-windowHeight)){return}
$this.css('backgroundPosition',xpos+" "+(offsetFactor+speedFactor*(topOffset-pos))+"px")}
function resize(){$ush.timeout(function(){windowHeight=$window.height();containerHeight=getHeight($this);containerWidth=$this.width();if($window.width()<$us.canvasOptions.disableEffectsWidth){disableParallax=!0}else{disableParallax=!1;if(isBgCover){if(baseImgWidth/baseImgHeight<=containerWidth/containerHeight){curImgHeight=baseImgHeight*($this.width()/baseImgWidth);disableParallax=!1}
else{disableParallax=!0}}}
if(curImgHeight!==0){if(baseSpeedFactor>=0){speedFactor=Math.min(baseSpeedFactor,curImgHeight/windowHeight);offsetFactor=.5*(windowHeight-curImgHeight-speedFactor*(windowHeight-containerHeight));if(offsetFactor>0){offsetFactor=-offsetFactor}}else{speedFactor=Math.min(baseSpeedFactor,(windowHeight-containerHeight)/(windowHeight+containerHeight));offsetFactor=Math.max(0,speedFactor*containerHeight)}}else{speedFactor=baseSpeedFactor;offsetFactor=0}
topOffset=$this.offset().top;update()},10)}
getBackgroundSize(function(sz){curImgHeight=baseImgHeight=sz.height;baseImgWidth=sz.width;resize()});$window.bind({scroll:update,load:resize,resize:resize});resize()})};jQuery('.parallax_ver').parallax('50%')})(jQuery);jQuery(function($){"use strict";jQuery('.upb_bg_img, .upb_color, .upb_grad, .upb_content_iframe, .upb_content_video, .upb_no_bg').each(function(){var $bg=jQuery(this),$prev=$bg.prev();if($prev.length==0){var $parent=$bg.parent(),$parentParent=$parent.parent(),$prevParentParent=$parentParent.prev();if($prevParentParent.length){$bg.insertAfter($prevParentParent);if($parent.children().length==0){$parentParent.remove()}}}});$('.g-cols > .ult-item-wrap').each(function(index,elm){var $elm=jQuery(elm);$elm.replaceWith($elm.children())});jQuery('.overlay-show').click(function(){window.setTimeout(function(){$us.$canvas.trigger('contentChange')},1000)})});!(function($,_undefined){let _document=document;const ENTER_KEY_CODE=13;function WooCommerce(){let self=this;self.$cart=$('.w-cart');self._activeJqXHR={};self._cartOpened=!1;self._removeProcesses=0;self._events={addToCart:self._addToCart.bind(self),applyCouponCode:self._applyCouponCode.bind(self),changeCartQuantity:self._changeCartQuantity.bind(self),changedFragments:self._changedFragments.bind(self),couponCodeChange:self._couponCodeChange.bind(self),couponDisplaySwitch:self._couponDisplaySwitch.bind(self),enterCouponCode:self._enterCouponCode.bind(self),minusCartQuantity:self._minusCartQuantity.bind(self),moveNotifications:self._moveNotifications.bind(self),outsideClickEvent:self._outsideClickEvent.bind(self),plusCartQuantity:self._plusCartQuantity.bind(self),removeCartItem:self._removeCartItem.bind(self),updateCart:self._updateCart.bind(self),updatedCartTotals:self._updatedCartTotals.bind(self),showLoginForm:self._showLoginForm.bind(self),submitLoginForm:self._submitLoginForm.bind(self),loginFieldKeydown:self._loginFieldKeydown.bind(self)};if(self.isCart()){self.$cartNotification=$('.w-cart-notification',self.$cart);self.$cartNotification.on('click',function(){self.$cartNotification.fadeOutCSS()});if($.isMobile){self.$cart.on('click','.w-cart-link',function(e){if(!self._cartOpened){e.preventDefault();self.$cart.addClass('opened');$us.$body.on('touchstart',self._events.outsideClickEvent)}else{self.$cart.removeClass('opened');$us.$body.off('touchstart',self._events.outsideClickEvent)}
self._cartOpened=!self._cartOpened})}
$us.$body.on('wc_fragments_loaded wc_fragments_refreshed',self._events.changedFragments).on('added_to_cart',self._events.addToCart).on('removed_from_cart',self._events.updateCart)}
if(self.isCartPage()){$us.$body.on('change initControls','input.qty',self._events.changeCartQuantity).on('change','.w-wc-coupon-form input',self._events.couponCodeChange).on('keyup','.w-wc-coupon-form input',self._events.enterCouponCode).on('click','.w-wc-coupon-form button',self._events.applyCouponCode).on('click','a.remove',self._events.removeCartItem).on('click','input.minus',self._events.minusCartQuantity).on('click','input.plus',self._events.plusCartQuantity).on('applied_coupon removed_coupon',self._events.couponDisplaySwitch).on('updated_cart_totals',self._events.updatedCartTotals);$('input.qty',$us.$canvas).trigger('initControls');$.ajaxPrefilter(function(_,originalOptions,jqXHR){let data=(''+originalOptions.data);if(data.indexOf('&update_cart')>-1){self._activeJqXHR.updateCart=jqXHR}
if(data.indexOf('&us_calc_shipping')>-1){jqXHR.done(function(res){$('.w-cart-shipping .woocommerce-shipping-destination').html($('.w-cart-shipping:first .woocommerce-shipping-destination',res).html())})}});$('.w-cart-shipping form.woocommerce-shipping-calculator',$us.$canvas).append('<input type="hidden" name="us_calc_shipping">')}
if(self.isCheckoutPage()){$us.$body.on('change','.w-wc-coupon-form input',self._events.couponCodeChange).on('keyup','.w-wc-coupon-form input',self._events.enterCouponCode).on('click','.w-wc-coupon-form button',self._events.applyCouponCode).on('applied_coupon_in_checkout removed_coupon_in_checkout',self._events.couponDisplaySwitch).on('applied_coupon_in_checkout removed_coupon_in_checkout checkout_error',self._events.moveNotifications).on('click','.w-checkout-login .showlogin',self._events.showLoginForm).on('click','.w-checkout-login button',self._events.submitLoginForm).on('keydown','.w-checkout-login input, .w-checkout-login button',self._events.loginFieldKeydown);let $couponField=$('.w-wc-coupon-form input',$us.$canvas);$us.$document.on('keypress',function(e){if(e.keyCode===ENTER_KEY_CODE&&$couponField.is(':focus')){e.preventDefault()}})}};$.extend(WooCommerce.prototype,{isCart:function(){return!!this.$cart.length},isCartPage:function(){return $us.$body.hasClass('woocommerce-cart')},isCheckoutPage:function(){return $us.$body.hasClass('woocommerce-checkout')},toNumValue:function(value){value=Math.abs(value);return!isNaN(value)?value:0},_switchCart:function(){this.$cart.on('focus.upsolution blur.upsolution',function(e){$(e.target)[e.type==='focus.upsolution'?'addClass':'removeClass']('opened')})},_updateCart:function(){let self=this;$.each(self.$cart,function(_,cart){let $cart=$(cart),$cartQuantity=$('.w-cart-quantity',$cart),miniCartAmount=$('.us_mini_cart_amount:first',$cart).text();if($cart.hasClass('opened')){$cart.removeClass('opened')}
if(miniCartAmount!==_undefined){miniCartAmount=(miniCartAmount+'').match(/\d+/g);$cartQuantity.html(miniCartAmount>0?miniCartAmount:'0');$cart[miniCartAmount>0?'removeClass':'addClass']('empty')}else{let total=0;$('.quantity',$cart).each(function(_,quantity){let matches=(''+quantity.innerText).match(/\d+/g);if(matches){total+=parseInt(matches[0],10)}});$cartQuantity.html(total>0?total:'0');$cart[total>0?'removeClass':'addClass']('empty')}})},_changedFragments:function(){let self=this;self._updateCart();self._switchCart()},_addToCart:function(e,fragments,_,$button){if(e===_undefined){return}
let self=this;self._updateCart();let $notification=self.$cartNotification,$productName=$('.product-name',$notification),productName=$productName.text();productName=$button.closest('.product').find('.woocommerce-loop-product__title').text();$productName.html(productName);$notification.addClass('shown');$notification.on('mouseenter',function(){$notification.removeClass('shown')});$ush.timeout(function(){$notification.removeClass('shown').off('mouseenter')},3000)},_outsideClickEvent:function(e){let self=this;if($.contains(self.$cart[0],e.target)){return}
self.$cart.removeClass('opened');$us.$body.off('touchstart',self._events.outsideClickEvent);self._cartOpened=!1},_removeCartItem:function(e){let $item=$(e.target).closest('.cart_item').addClass('change_process');if(!$item.siblings('.cart_item:not(.change_process)').length){$('.w-cart-table',$us.$canvas).remove()}},_changeCartQuantity:function(e){if($us.usbPreview()){return}
let self=this,$input=$(e.target),max=(self.toNumValue($input.attr('max'))||-1),min=(self.toNumValue($input.attr('min'))||1),value=self.toNumValue($input.val());if($input.is(':disabled')){return}
if(min>=value){value=min}
if(max>1&&value>=max){value=max}
if(value!=$input.val()){$input.val(value)}
$input.siblings('input.plus:first').prop('disabled',(max>0&&value>=max));$input.siblings('input.minus:first').prop('disabled',(value<=min));if(e.type=='initControls'){return}
$('input[name=us_cart_quantity]',$us.$canvas).val(!0);if(!$('.w-cart-table',$us.$canvas).hasClass('processing')){self.__updateCartForm_long(self._updateCartForm.bind(self))}else{self._updateCartForm()}},_minusCartQuantity:function(e){let self=this,$target=$(e.target),$input=$target.siblings('input.qty:first');if(!$input.length){return}
let step=self.toNumValue($input.attr('step')||1);$input.val(self.toNumValue($input.val())-step).trigger('change')},_plusCartQuantity:function(e){let self=this,$target=$(e.target),$input=$target.siblings('input.qty:first');if(!$input.length){return}
let step=self.toNumValue($input.attr('step')||1);$input.val(self.toNumValue($input.val())+step).trigger('change')},__updateCartForm_long:$ush.debounce($ush.fn,50),_updateCartForm:function(){let self=this;if($.isFunction((self._activeJqXHR.updateCart||{}).abort)){self._activeJqXHR.updateCart.abort()}
$('.w-cart-table > button[name=update_cart]',$us.$canvas).removeAttr('disabled').trigger('click')},_updatedCartTotals:function(){let self=this;if(!!self._activeJqXHR.updateCart){self._activeJqXHR.updateCart=_undefined}
let wooElementClasses=['w-cart-shipping','w-cart-table','w-cart-totals','w-checkout-billing','w-checkout-order-review','w-checkout-payment','w-wc-coupon-form',];for(let i in wooElementClasses){$('.'+wooElementClasses[i]+'.us_animate_this',$us.$canvas).removeClass('us_animate_this')}
let $elm=$('.w-cart-shipping .shipping',$us.$canvas);if(!$elm.length){return}
$elm.html($('.w-cart-totals .shipping:first',$us.$canvas).html())},_couponCodeChange:function(e){$('.w-cart-table, form.checkout_coupon',$us.$canvas).find('input[name=coupon_code]').val(e.target.value)},_enterCouponCode:function(e){if(e.keyCode===ENTER_KEY_CODE){$(e.target).trigger('change').siblings('button:first').trigger('click')}},_applyCouponCode:function(e){e.stopPropagation();e.preventDefault();$('.w-cart-table, form.checkout_coupon',$us.$canvas).find('button[name=apply_coupon]').trigger('click');$(e.target).closest('.w-wc-coupon-form').find('input:first').val('')},_couponDisplaySwitch:function(e){let $coupon=$('.w-wc-coupon-form',$us.$canvas);if(!$coupon.length){return}
if(e.type.indexOf('applied_coupon')>-1&&!$('.woocommerce-error',$us.$canvas).length){$coupon.addClass('coupon_applied')}
if(e.type.indexOf('removed_coupon')>-1&&$('.woocommerce-remove-coupon',$us.$canvas).length<=1){$coupon.removeClass('coupon_applied')}},_moveNotifications:function(e){let $wcNotices=$('.w-wc-notices.woocommerce-notices-wrapper:first',$us.$canvas),args=arguments;if(!$wcNotices.length){let $cartTotals=$('.w-cart-totals',$us.$canvas),$checkoutPayment=$('.w-checkout-payment',$us.$canvas);if(!$cartTotals.length&&!$checkoutPayment.length){return}}
let $message;if(e.type==='checkout_error'&&!!args[1]){$message=$(args[1])}else{$message=$('.woocommerce-error, .woocommerce-message',$us.$canvas)}
if($message.length){$wcNotices.html($message.clone())}
$message.remove();if(e.type==='checkout_error'){$('.woocommerce-NoticeGroup-checkout').remove()}},_showLoginForm:function(){$('.woocommerce-form-login').toggleClass('hidden');return!1},_submitLoginForm:function(){let self=this;if(self.isSubmittingLoginForm){return!1}
self.isSubmittingLoginForm=!0;let $formView=$('.w-checkout-login'),$usernameField=$formView.find('#us_checkout_login_username'),$passwordField=$formView.find('#us_checkout_login_password'),$redirectField=$formView.find('#us_checkout_login_redirect'),$nonceField=$formView.find('#us_checkout_login_nonce');if($usernameField.length==0||$passwordField.length==0||$redirectField.length==0||$nonceField.length==0){return!1}
let fields={'login':'Login','rememberme':'forever','username':$usernameField.val(),'password':$passwordField.val(),'redirect':$redirectField.val(),'woocommerce-login-nonce':$nonceField.val(),},$form=$('<form>',{method:'post'});$.each(fields,function(key,val){$('<input>').attr({type:"hidden",name:key,value:val}).appendTo($form)});$form.appendTo('body').submit();return!1},_loginFieldKeydown:function(e){if(e.keyCode===ENTER_KEY_CODE){e.stopPropagation();e.preventDefault();this._submitLoginForm()}}});$us.woocommerce=new WooCommerce;function us_wc_variations_image_update(variation){let $slider=$('.w-slider.for_product_image_gallery',$(this).closest('.product')),royalSlider=($slider.data('usImageSlider')||{}).royalSlider;if($ush.isUndefined(royalSlider)){return}
royalSlider.goTo(0);let $image=$('.rsImg',royalSlider.slidesJQ[0]),$thumb=$('.rsThumb:first img',$slider);if(variation===!1){if(!$slider.data('orig-img')){let src=$image.attr('src');$slider.data('orig-img',{src:src,srcset:src,full_src:src,thumb_src:$thumb.attr('srcset'),gallery_thumbnail_src:$thumb.attr('src'),});return}
variation={image:$slider.data('orig-img'),}}
if($.isPlainObject(variation.image)){$image.attr('src',$ush.toString(variation.image.src)).attr('srcset',$ush.toString(variation.image.srcset));$thumb.attr('src',$ush.toString(variation.image.gallery_thumbnail_src)).attr('srcset',$ush.toString(variation.image.thumb_src));$.extend(royalSlider.currSlide,{bigImage:$ush.toString(variation.image.full_src),image:$ush.toString(variation.image.src),});if($.isFunction(royalSlider.updateSliderSize)){royalSlider.updateSliderSize(!0)}}};$(function(){if($('.w-slider.for_product_image_gallery').length){$ush.timeout(function(){$.fn.wc_variations_image_update=us_wc_variations_image_update},1)}})})(jQuery);
jQuery(function(c){"use strict";var p,e=(document.body||document.documentElement).style,u=void 0!==e.transition||void 0!==e.WebkitTransition;c.fn.mdRipple=function(){return this.each(function(){var a,r,s=c(this);s.find(".ripple-container").length||s.append('<span class="ripple-container"></span>'),a=s.find(".ripple-container");var l=null;c.isMobile&&s.on("touchstart touchmove",function(e){1===(e=e.originalEvent).touches.length&&(l=e.touches[0])}),s.on(c.isMobile?"touchstart":"mousedown",function(e){if(2===e.button)return!1;var t,n,i=c('<span class="ripple"></span>'),o=Math.max(s.outerWidth(),s.outerHeight())/Math.max(20,i.outerWidth())*2.5;if(r=a.offset(),a.append(i),c.isMobile){if(null===l)return;t=l.pageX-r.left,n=l.pageY-r.top,l=null}else t=e.pageX-r.left,n=e.pageY-r.top;c("body").hasClass("rtl")?(e=a.width()-t,i.css({right:e,top:n})):i.css({left:t,top:n}),window.getComputedStyle(i[0]).opacity,s.on(c.isMobile?"touchend":"mouseup mouseleave",function(){var e;(e=i).off(),p=Date.now()-+e.data("ripple-time"),p=p<400?400-p:100,u?setTimeout(function(){e.addClass("ripple-out")},p):e.animate({opacity:0},100,function(){e.trigger("transitionend")}),e.on("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd",function(){setTimeout(function(){e.remove()},300)})}),i.css({transform:"scale("+o+")"}),i.addClass("ripple-on"),i.data("ripple-time",Date.now())})})},jQuery(".w-btn[href], a.w-nav-anchor[href], .w-grid-item-anchor[rel], .w-image-h[href],  .w-gallery-item[href], .g-filters-item, .w-iconbox.style_circle a[href] .w-iconbox-icon, .w-socials-item-link[href], .w-sharing-item[href], .w-tabs-item, .w-message-close").mdRipple()});
!function(a,b,c,d){function e(b,c){this.settings=null,this.options=a.extend({},e.Defaults,c),this.$element=a(b),this._handlers={},this._plugins={},this._supress={},this._current=null,this._speed=null,this._coordinates=[],this._breakpoint=null,this._width=null,this._items=[],this._clones=[],this._mergers=[],this._widths=[],this._invalidated={},this._pipe=[],this._drag={time:null,target:null,pointer:null,stage:{start:null,current:null},direction:null},this._states={current:{},tags:{initializing:["busy"],animating:["busy"],dragging:["interacting"]}},a.each(["onResize","onThrottledResize"],a.proxy(function(b,c){this._handlers[c]=a.proxy(this[c],this)},this)),a.each(e.Plugins,a.proxy(function(a,b){this._plugins[a.charAt(0).toLowerCase()+a.slice(1)]=new b(this)},this)),a.each(e.Workers,a.proxy(function(b,c){this._pipe.push({filter:c.filter,run:a.proxy(c.run,this)})},this)),this.setup(),this.initialize()}e.Defaults={items:3,loop:!1,center:!1,rewind:!1,checkVisibility:!0,mouseDrag:!0,touchDrag:!0,pullDrag:!0,freeDrag:!1,margin:0,stagePadding:0,merge:!1,mergeFit:!0,autoWidth:!1,startPosition:0,rtl:!1,smartSpeed:250,fluidSpeed:!1,dragEndSpeed:!1,responsive:{},responsiveRefreshRate:200,responsiveBaseElement:b,fallbackEasing:"swing",slideTransition:"",info:!1,nestedItemSelector:!1,itemElement:"div",stageElement:"div",refreshClass:"owl-refresh",loadedClass:"owl-loaded",loadingClass:"owl-loading",rtlClass:"owl-rtl",responsiveClass:"owl-responsive",dragClass:"owl-drag",itemClass:"owl-item",stageClass:"owl-stage",stageOuterClass:"owl-stage-outer",grabClass:"owl-grab"},e.Width={Default:"default",Inner:"inner",Outer:"outer"},e.Type={Event:"event",State:"state"},e.Plugins={},e.Workers=[{filter:["width","settings"],run:function(){this._width=this.$element.width()}},{filter:["width","items","settings"],run:function(a){a.current=this._items&&this._items[this.relative(this._current)]}},{filter:["items","settings"],run:function(){this.$stage.children(".cloned").remove()}},{filter:["width","items","settings"],run:function(a){var b=this.settings.margin||"",c=!this.settings.autoWidth,d=this.settings.rtl,e={width:"auto","margin-left":d?b:"","margin-right":d?"":b};!c&&this.$stage.children().css(e),a.css=e}},{filter:["width","items","settings"],run:function(a){var b=(this.width()/this.settings.items).toFixed(3)-this.settings.margin,c=null,d=this._items.length,e=!this.settings.autoWidth,f=[];for(a.items={merge:!1,width:b};d--;)c=this._mergers[d],c=this.settings.mergeFit&&Math.min(c,this.settings.items)||c,a.items.merge=c>1||a.items.merge,f[d]=e?b*c:this._items[d].width();this._widths=f}},{filter:["items","settings"],run:function(){var b=[],c=this._items,d=this.settings,e=Math.max(2*d.items,4),f=2*Math.ceil(c.length/2),g=d.loop&&c.length?d.rewind?e:Math.max(e,f):0,h="",i="";for(g/=2;g>0;)b.push(this.normalize(b.length/2,!0)),h+=c[b[b.length-1]][0].outerHTML,b.push(this.normalize(c.length-1-(b.length-1)/2,!0)),i=c[b[b.length-1]][0].outerHTML+i,g-=1;this._clones=b,a(h).addClass("cloned").appendTo(this.$stage),a(i).addClass("cloned").prependTo(this.$stage)}},{filter:["width","items","settings"],run:function(){for(var a=this.settings.rtl?1:-1,b=this._clones.length+this._items.length,c=-1,d=0,e=0,f=[];++c<b;)d=f[c-1]||0,e=this._widths[this.relative(c)]+this.settings.margin,f.push(d+e*a);this._coordinates=f}},{filter:["width","items","settings"],run:function(){var a=this.settings.stagePadding,b=this._coordinates,c={width:Math.ceil(Math.abs(b[b.length-1]))+2*a,"padding-left":a||"","padding-right":a||""};this.$stage.css(c)}},{filter:["width","items","settings"],run:function(a){var b=this._coordinates.length,c=!this.settings.autoWidth,d=this.$stage.children();if(c&&a.items.merge)for(;b--;)a.css.width=this._widths[this.relative(b)],d.eq(b).css(a.css);else c&&(a.css.width=a.items.width,d.css(a.css))}},{filter:["items"],run:function(){this._coordinates.length<1&&this.$stage.removeAttr("style")}},{filter:["width","items","settings"],run:function(a){a.current=a.current?this.$stage.children().index(a.current):0,a.current=Math.max(this.minimum(),Math.min(this.maximum(),a.current)),this.reset(a.current)}},{filter:["position"],run:function(){this.animate(this.coordinates(this._current))}},{filter:["width","position","items","settings"],run:function(){var a,b,c,d,e=this.settings.rtl?1:-1,f=2*this.settings.stagePadding,g=this.coordinates(this.current())+f,h=g+this.width()*e,i=[];for(c=0,d=this._coordinates.length;c<d;c++)a=this._coordinates[c-1]||0,b=Math.abs(this._coordinates[c])+f*e,(this.op(a,"<=",g)&&this.op(a,">",h)||this.op(b,"<",g)&&this.op(b,">",h))&&i.push(c);this.$stage.children(".active").removeClass("active"),this.$stage.children(":eq("+i.join("), :eq(")+")").addClass("active"),this.$stage.children(".center").removeClass("center"),this.settings.center&&this.$stage.children().eq(this.current()).addClass("center")}}],e.prototype.initializeStage=function(){this.$stage=this.$element.find("."+this.settings.stageClass),this.$stage.length||(this.$element.addClass(this.options.loadingClass),this.$stage=a("<"+this.settings.stageElement+">",{class:this.settings.stageClass}).wrap(a("<div/>",{class:this.settings.stageOuterClass})),this.$element.append(this.$stage.parent()))},e.prototype.initializeItems=function(){var b=this.$element.find(".owl-item");if(b.length)return this._items=b.get().map(function(b){return a(b)}),this._mergers=this._items.map(function(){return 1}),void this.refresh();this.replace(this.$element.children().not(this.$stage.parent())),this.isVisible()?this.refresh():this.invalidate("width"),this.$element.removeClass(this.options.loadingClass).addClass(this.options.loadedClass)},e.prototype.initialize=function(){if(this.enter("initializing"),this.trigger("initialize"),this.$element.toggleClass(this.settings.rtlClass,this.settings.rtl),this.settings.autoWidth&&!this.is("pre-loading")){var a,b,c;a=this.$element.find("img"),b=this.settings.nestedItemSelector?"."+this.settings.nestedItemSelector:d,c=this.$element.children(b).width(),a.length&&c<=0&&this.preloadAutoWidthImages(a)}this.initializeStage(),this.initializeItems(),this.registerEventHandlers(),this.leave("initializing"),this.trigger("initialized")},e.prototype.isVisible=function(){return!this.settings.checkVisibility||this.$element.is(":visible")},e.prototype.setup=function(){var b=this.viewport(),c=this.options.responsive,d=-1,e=null;c?(a.each(c,function(a){a<=b&&a>d&&(d=Number(a))}),e=a.extend({},this.options,c[d]),"function"==typeof e.stagePadding&&(e.stagePadding=e.stagePadding()),delete e.responsive,e.responsiveClass&&this.$element.attr("class",this.$element.attr("class").replace(new RegExp("("+this.options.responsiveClass+"-)\\S+\\s","g"),"$1"+d+' '))):e=a.extend({},this.options),this.trigger("change",{property:{name:"settings",value:e}}),this._breakpoint=d,this.settings=e,this.invalidate("settings"),this.trigger("changed",{property:{name:"settings",value:this.settings}})},e.prototype.optionsLogic=function(){this.settings.autoWidth&&(this.settings.stagePadding=!1,this.settings.merge=!1)},e.prototype.prepare=function(b){var c=this.trigger("prepare",{content:b});return c.data||(c.data=a("<"+this.settings.itemElement+"/>").addClass(this.options.itemClass).append(b)),this.trigger("prepared",{content:c.data}),c.data},e.prototype.update=function(){for(var b=0,c=this._pipe.length,d=a.proxy(function(a){return this[a]},this._invalidated),e={};b<c;)(this._invalidated.all||a.grep(this._pipe[b].filter,d).length>0)&&this._pipe[b].run(e),b++;this._invalidated={},!this.is("valid")&&this.enter("valid")},e.prototype.width=function(a){switch(a=a||e.Width.Default){case e.Width.Inner:case e.Width.Outer:return this._width;default:return this._width-2*this.settings.stagePadding+this.settings.margin}},e.prototype.refresh=function(){this.enter("refreshing"),this.trigger("refresh"),this.setup(),this.optionsLogic(),this.$element.addClass(this.options.refreshClass),this.update(),this.$element.removeClass(this.options.refreshClass),this.leave("refreshing"),this.trigger("refreshed")},e.prototype.onThrottledResize=function(){b.clearTimeout(this.resizeTimer),this.resizeTimer=b.setTimeout(this._handlers.onResize,this.settings.responsiveRefreshRate)},e.prototype.onResize=function(){return!!this._items.length&&(this._width!==this.$element.width()&&(!!this.isVisible()&&(this.enter("resizing"),this.trigger("resize").isDefaultPrevented()?(this.leave("resizing"),!1):(this.invalidate("width"),this.refresh(),this.leave("resizing"),void this.trigger("resized")))))},e.prototype.registerEventHandlers=function(){a.support.transition&&this.$stage.on(a.support.transition.end+".owl.core",a.proxy(this.onTransitionEnd,this)),!1!==this.settings.responsive&&this.on(b,"resize",this._handlers.onThrottledResize),this.settings.mouseDrag&&(this.$element.addClass(this.options.dragClass),this.$stage.on("mousedown.owl.core",a.proxy(this.onDragStart,this)),this.$stage.on("dragstart.owl.core selectstart.owl.core",function(){return!1})),this.settings.touchDrag&&(this.$stage.on("touchstart.owl.core",a.proxy(this.onDragStart,this)),this.$stage.on("touchcancel.owl.core",a.proxy(this.onDragEnd,this)))},e.prototype.onDragStart=function(b){var d=null;3!==b.which&&(a.support.transform?(d=this.$stage.css("transform").replace(/.*\(|\)| /g,"").split(","),d={x:d[16===d.length?12:4],y:d[16===d.length?13:5]}):(d=this.$stage.position(),d={x:this.settings.rtl?d.left+this.$stage.width()-this.width()+this.settings.margin:d.left,y:d.top}),this.is("animating")&&(a.support.transform?this.animate(d.x):this.$stage.stop(),this.invalidate("position")),this.$element.toggleClass(this.options.grabClass,"mousedown"===b.type),this.speed(0),this._drag.time=(new Date).getTime(),this._drag.target=a(b.target),this._drag.stage.start=d,this._drag.stage.current=d,this._drag.pointer=this.pointer(b),a(c).on("mouseup.owl.core touchend.owl.core",a.proxy(this.onDragEnd,this)),a(c).one("mousemove.owl.core touchmove.owl.core",a.proxy(function(b){var d=this.difference(this._drag.pointer,this.pointer(b));a(c).on("mousemove.owl.core touchmove.owl.core",a.proxy(this.onDragMove,this)),Math.abs(d.x)<Math.abs(d.y)&&this.is("valid")||(b.preventDefault(),this.enter("dragging"),this.trigger("drag"))},this)))},e.prototype.onDragMove=function(a){var b=null,c=null,d=null,e=this.difference(this._drag.pointer,this.pointer(a)),f=this.difference(this._drag.stage.start,e);this.is("dragging")&&(a.preventDefault(),this.settings.loop?(b=this.coordinates(this.minimum()),c=this.coordinates(this.maximum()+1)-b,f.x=((f.x-b)%c+c)%c+b):(b=this.settings.rtl?this.coordinates(this.maximum()):this.coordinates(this.minimum()),c=this.settings.rtl?this.coordinates(this.minimum()):this.coordinates(this.maximum()),d=this.settings.pullDrag?-1*e.x/5:0,f.x=Math.max(Math.min(f.x,b+d),c+d)),this._drag.stage.current=f,this.animate(f.x))},e.prototype.onDragEnd=function(b){var d=this.difference(this._drag.pointer,this.pointer(b)),e=this._drag.stage.current,f=d.x>0^this.settings.rtl?"left":"right";a(c).off(".owl.core"),this.$element.removeClass(this.options.grabClass),(0!==d.x&&this.is("dragging")||!this.is("valid"))&&(this.speed(this.settings.dragEndSpeed||this.settings.smartSpeed),this.current(this.closest(e.x,0!==d.x?f:this._drag.direction)),this.invalidate("position"),this.update(),this._drag.direction=f,(Math.abs(d.x)>3||(new Date).getTime()-this._drag.time>300)&&this._drag.target.one("click.owl.core",function(){return!1})),this.is("dragging")&&(this.leave("dragging"),this.trigger("dragged"))},e.prototype.closest=function(b,c){var e=-1,f=30,g=this.width(),h=this.coordinates();return this.settings.freeDrag||a.each(h,a.proxy(function(a,i){return"left"===c&&b>i-f&&b<i+f?e=a:"right"===c&&b>i-g-f&&b<i-g+f?e=a+1:this.op(b,"<",i)&&this.op(b,">",h[a+1]!==d?h[a+1]:i-g)&&(e="left"===c?a+1:a),-1===e},this)),this.settings.loop||(this.op(b,">",h[this.minimum()])?e=b=this.minimum():this.op(b,"<",h[this.maximum()])&&(e=b=this.maximum())),e},e.prototype.animate=function(b){var c=this.speed()>0;this.is("animating")&&this.onTransitionEnd(),c&&(this.enter("animating"),this.trigger("translate")),a.support.transform3d&&a.support.transition?this.$stage.css({transform:"translate3d("+b+"px,0px,0px)",transition:this.speed()/1e3+"s"+(this.settings.slideTransition?" "+this.settings.slideTransition:"")}):c?this.$stage.animate({left:b+"px"},this.speed(),this.settings.fallbackEasing,a.proxy(this.onTransitionEnd,this)):this.$stage.css({left:b+"px"})},e.prototype.is=function(a){return this._states.current[a]&&this._states.current[a]>0},e.prototype.current=function(a){if(a===d)return this._current;if(0===this._items.length)return d;if(a=this.normalize(a),this._current!==a){var b=this.trigger("change",{property:{name:"position",value:a}});b.data!==d&&(a=this.normalize(b.data)),this._current=a,this.invalidate("position"),this.trigger("changed",{property:{name:"position",value:this._current}})}return this._current},e.prototype.invalidate=function(b){return"string"===a.type(b)&&(this._invalidated[b]=!0,this.is("valid")&&this.leave("valid")),a.map(this._invalidated,function(a,b){return b})},e.prototype.reset=function(a){(a=this.normalize(a))!==d&&(this._speed=0,this._current=a,this.suppress(["translate","translated"]),this.animate(this.coordinates(a)),this.release(["translate","translated"]))},e.prototype.normalize=function(a,b){var c=this._items.length,e=b?0:this._clones.length;return!this.isNumeric(a)||c<1?a=d:(a<0||a>=c+e)&&(a=((a-e/2)%c+c)%c+e/2),a},e.prototype.relative=function(a){return a-=this._clones.length/2,this.normalize(a,!0)},e.prototype.maximum=function(a){var b,c,d,e=this.settings,f=this._coordinates.length;if(e.loop)f=this._clones.length/2+this._items.length-1;else if(e.autoWidth||e.merge){if(b=this._items.length)for(c=this._items[--b].width(),d=this.$element.width();b--&&!((c+=this._items[b].width()+this.settings.margin)>d););f=b+1}else f=e.center?this._items.length-1:this._items.length-e.items;return a&&(f-=this._clones.length/2),Math.max(f,0)},e.prototype.minimum=function(a){return a?0:this._clones.length/2},e.prototype.items=function(a){return a===d?this._items.slice():(a=this.normalize(a,!0),this._items[a])},e.prototype.mergers=function(a){return a===d?this._mergers.slice():(a=this.normalize(a,!0),this._mergers[a])},e.prototype.clones=function(b){var c=this._clones.length/2,e=c+this._items.length,f=function(a){return a%2==0?e+a/2:c-(a+1)/2};return b===d?a.map(this._clones,function(a,b){return f(b)}):a.map(this._clones,function(a,c){return a===b?f(c):null})},e.prototype.speed=function(a){return a!==d&&(this._speed=a),this._speed},e.prototype.coordinates=function(b){var c,e=1,f=b-1;return b===d?a.map(this._coordinates,a.proxy(function(a,b){return this.coordinates(b)},this)):(this.settings.center?(this.settings.rtl&&(e=-1,f=b+1),c=this._coordinates[b],c+=(this.width()-c+(this._coordinates[f]||0))/2*e):c=this._coordinates[f]||0,c=Math.ceil(c))},e.prototype.duration=function(a,b,c){return 0===c?0:Math.min(Math.max(Math.abs(b-a),1),6)*Math.abs(c||this.settings.smartSpeed)},e.prototype.to=function(a,b){var c=this.current(),d=null,e=a-this.relative(c),f=(e>0)-(e<0),g=this._items.length,h=this.minimum(),i=this.maximum();this.settings.loop?(!this.settings.rewind&&Math.abs(e)>g/2&&(e+=-1*f*g),a=c+e,(d=((a-h)%g+g)%g+h)!==a&&d-e<=i&&d-e>0&&(c=d-e,a=d,this.reset(c))):this.settings.rewind?(i+=1,a=(a%i+i)%i):a=Math.max(h,Math.min(i,a)),this.speed(this.duration(c,a,b)),this.current(a),this.isVisible()&&this.update()},e.prototype.next=function(a){a=a||!1,this.to(this.relative(this.current())+1,a)},e.prototype.prev=function(a){a=a||!1,this.to(this.relative(this.current())-1,a)},e.prototype.onTransitionEnd=function(a){if(a!==d&&(a.stopPropagation(),(a.target||a.srcElement||a.originalTarget)!==this.$stage.get(0)))return!1;this.leave("animating"),this.trigger("translated")},e.prototype.viewport=function(){var d;return this.options.responsiveBaseElement!==b?d=a(this.options.responsiveBaseElement).width():b.innerWidth?d=b.innerWidth:c.documentElement&&c.documentElement.clientWidth?d=c.documentElement.clientWidth:console.warn("Can not detect viewport width."),d},e.prototype.replace=function(b){this.$stage.empty(),this._items=[],b&&(b=b instanceof jQuery?b:a(b)),this.settings.nestedItemSelector&&(b=b.find("."+this.settings.nestedItemSelector)),b.filter(function(){return 1===this.nodeType}).each(a.proxy(function(a,b){b=this.prepare(b),this.$stage.append(b),this._items.push(b),this._mergers.push(1*b.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)},this)),this.reset(this.isNumeric(this.settings.startPosition)?this.settings.startPosition:0),this.invalidate("items")},e.prototype.add=function(b,c){var e=this.relative(this._current);c=c===d?this._items.length:this.normalize(c,!0),b=b instanceof jQuery?b:a(b),this.trigger("add",{content:b,position:c}),b=this.prepare(b),0===this._items.length||c===this._items.length?(0===this._items.length&&this.$stage.append(b),0!==this._items.length&&this._items[c-1].after(b),this._items.push(b),this._mergers.push(1*b.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)):(this._items[c].before(b),this._items.splice(c,0,b),this._mergers.splice(c,0,1*b.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)),this._items[e]&&this.reset(this._items[e].index()),this.invalidate("items"),this.trigger("added",{content:b,position:c})},e.prototype.remove=function(a){(a=this.normalize(a,!0))!==d&&(this.trigger("remove",{content:this._items[a],position:a}),this._items[a].remove(),this._items.splice(a,1),this._mergers.splice(a,1),this.invalidate("items"),this.trigger("removed",{content:null,position:a}))},e.prototype.preloadAutoWidthImages=function(b){b.each(a.proxy(function(b,c){this.enter("pre-loading"),c=a(c),a(new Image).one("load",a.proxy(function(a){c.attr("src",a.target.src),c.css("opacity",1),this.leave("pre-loading"),!this.is("pre-loading")&&!this.is("initializing")&&this.refresh()},this)).attr("src",c.attr("src")||c.attr("data-src")||c.attr("data-src-retina"))},this))},e.prototype.destroy=function(){this.$element.off(".owl.core"),this.$stage.off(".owl.core"),a(c).off(".owl.core"),!1!==this.settings.responsive&&(b.clearTimeout(this.resizeTimer),this.off(b,"resize",this._handlers.onThrottledResize));for(var d in this._plugins)this._plugins[d].destroy();this.$stage.children(".cloned").remove(),this.$stage.unwrap(),this.$stage.children().contents().unwrap(),this.$stage.children().unwrap(),this.$stage.remove(),this.$element.removeClass(this.options.refreshClass).removeClass(this.options.loadingClass).removeClass(this.options.loadedClass).removeClass(this.options.rtlClass).removeClass(this.options.dragClass).removeClass(this.options.grabClass).attr("class",this.$element.attr("class").replace(new RegExp(this.options.responsiveClass+"-\\S+\\s","g"),"")).removeData("owl.carousel")},e.prototype.op=function(a,b,c){var d=this.settings.rtl;switch(b){case"<":return d?a>c:a<c;case">":return d?a<c:a>c;case">=":return d?a<=c:a>=c;case"<=":return d?a>=c:a<=c}},e.prototype.on=function(a,b,c,d){a.addEventListener?a.addEventListener(b,c,d):a.attachEvent&&a.attachEvent("on"+b,c)},e.prototype.off=function(a,b,c,d){a.removeEventListener?a.removeEventListener(b,c,d):a.detachEvent&&a.detachEvent("on"+b,c)},e.prototype.trigger=function(b,c,d,f,g){var h={item:{count:this._items.length,index:this.current()}},i=a.camelCase(a.grep(["on",b,d],function(a){return a}).join("-").toLowerCase()),j=a.Event([b,"owl",d||"carousel"].join(".").toLowerCase(),a.extend({relatedTarget:this},h,c));return this._supress[b]||(a.each(this._plugins,function(a,b){b.onTrigger&&b.onTrigger(j)}),this.register({type:e.Type.Event,name:b}),this.$element.trigger(j),this.settings&&"function"==typeof this.settings[i]&&this.settings[i].call(this,j)),j},e.prototype.enter=function(b){a.each([b].concat(this._states.tags[b]||[]),a.proxy(function(a,b){this._states.current[b]===d&&(this._states.current[b]=0),this._states.current[b]++},this))},e.prototype.leave=function(b){a.each([b].concat(this._states.tags[b]||[]),a.proxy(function(a,b){this._states.current[b]--},this))},e.prototype.register=function(b){if(b.type===e.Type.Event){if(a.event.special[b.name]||(a.event.special[b.name]={}),!a.event.special[b.name].owl){var c=a.event.special[b.name]._default;a.event.special[b.name]._default=function(a){return!c||!c.apply||a.namespace&&-1!==a.namespace.indexOf("owl")?a.namespace&&a.namespace.indexOf("owl")>-1:c.apply(this,arguments)},a.event.special[b.name].owl=!0}}else b.type===e.Type.State&&(this._states.tags[b.name]?this._states.tags[b.name]=this._states.tags[b.name].concat(b.tags):this._states.tags[b.name]=b.tags,this._states.tags[b.name]=a.grep(this._states.tags[b.name],a.proxy(function(c,d){return a.inArray(c,this._states.tags[b.name])===d},this)))},e.prototype.suppress=function(b){a.each(b,a.proxy(function(a,b){this._supress[b]=!0},this))},e.prototype.release=function(b){a.each(b,a.proxy(function(a,b){delete this._supress[b]},this))},e.prototype.pointer=function(a){var c={x:null,y:null};return a=a.originalEvent||a||b.event,a=a.touches&&a.touches.length?a.touches[0]:a.changedTouches&&a.changedTouches.length?a.changedTouches[0]:a,a.pageX?(c.x=a.pageX,c.y=a.pageY):(c.x=a.clientX,c.y=a.clientY),c},e.prototype.isNumeric=function(a){return!isNaN(parseFloat(a))},e.prototype.difference=function(a,b){return{x:a.x-b.x,y:a.y-b.y}},a.fn.owlCarousel=function(b){var c=Array.prototype.slice.call(arguments,1);return this.each(function(){var d=a(this),f=d.data("owl.carousel");f||(f=new e(this,"object"==typeof b&&b),d.data("owl.carousel",f),a.each(["next","prev","to","destroy","refresh","replace","add","remove"],function(b,c){f.register({type:e.Type.Event,name:c}),f.$element.on(c+".owl.carousel.core",a.proxy(function(a){a.namespace&&a.relatedTarget!==this&&(this.suppress([c]),f[c].apply(this,[].slice.call(arguments,1)),this.release([c]))},f))})),"string"==typeof b&&"_"!==b.charAt(0)&&f[b].apply(f,c)})},a.fn.owlCarousel.Constructor=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){var e=function(b){this._core=b,this._interval=null,this._visible=null,this._handlers={"initialized.owl.carousel":a.proxy(function(a){a.namespace&&this._core.settings.autoRefresh&&this.watch()},this)},this._core.options=a.extend({},e.Defaults,this._core.options),this._core.$element.on(this._handlers)};e.Defaults={autoRefresh:!0,autoRefreshInterval:500},e.prototype.watch=function(){this._interval||(this._visible=this._core.isVisible(),this._interval=b.setInterval(a.proxy(this.refresh,this),this._core.settings.autoRefreshInterval))},e.prototype.refresh=function(){this._core.isVisible()!==this._visible&&(this._visible=!this._visible,this._core.$element.toggleClass("owl-hidden",!this._visible),this._visible&&this._core.invalidate("width")&&this._core.refresh())},e.prototype.destroy=function(){var a,c;b.clearInterval(this._interval);for(a in this._handlers)this._core.$element.off(a,this._handlers[a]);for(c in Object.getOwnPropertyNames(this))"function"!=typeof this[c]&&(this[c]=null)},a.fn.owlCarousel.Constructor.Plugins.AutoRefresh=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){var e=function(b){this._core=b,this._loaded=[],this._handlers={"initialized.owl.carousel change.owl.carousel resized.owl.carousel":a.proxy(function(b){if(b.namespace&&this._core.settings&&this._core.settings.lazyLoad&&(b.property&&"position"==b.property.name||"initialized"==b.type)){var c=this._core.settings,e=c.center&&Math.ceil(c.items/2)||c.items,f=c.center&&-1*e||0,g=(b.property&&b.property.value!==d?b.property.value:this._core.current())+f,h=this._core.clones().length,i=a.proxy(function(a,b){this.load(b)},this);for(c.lazyLoadEager>0&&(e+=c.lazyLoadEager,c.loop&&(g-=c.lazyLoadEager,e++));f++<e;)this.load(h/2+this._core.relative(g)),h&&a.each(this._core.clones(this._core.relative(g)),i),g++}},this)},this._core.options=a.extend({},e.Defaults,this._core.options),this._core.$element.on(this._handlers)};e.Defaults={lazyLoad:!1,lazyLoadEager:0},e.prototype.load=function(c){var d=this._core.$stage.children().eq(c),e=d&&d.find(".owl-lazy");!e||a.inArray(d.get(0),this._loaded)>-1||(e.each(a.proxy(function(c,d){var e,f=a(d),g=b.devicePixelRatio>1&&f.attr("data-src-retina")||f.attr("data-src")||f.attr("data-srcset");this._core.trigger("load",{element:f,url:g},"lazy"),f.is("img")?f.one("load.owl.lazy",a.proxy(function(){f.css("opacity",1),this._core.trigger("loaded",{element:f,url:g},"lazy")},this)).attr("src",g):f.is("source")?f.one("load.owl.lazy",a.proxy(function(){this._core.trigger("loaded",{element:f,url:g},"lazy")},this)).attr("srcset",g):(e=new Image,e.onload=a.proxy(function(){f.css({"background-image":'url("'+g+'")',opacity:"1"}),this._core.trigger("loaded",{element:f,url:g},"lazy")},this),e.src=g)},this)),this._loaded.push(d.get(0)))},e.prototype.destroy=function(){var a,b;for(a in this.handlers)this._core.$element.off(a,this.handlers[a]);for(b in Object.getOwnPropertyNames(this))"function"!=typeof this[b]&&(this[b]=null)},a.fn.owlCarousel.Constructor.Plugins.Lazy=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){var e=function(c){this._core=c,this._previousHeight=null,this._handlers={"initialized.owl.carousel refreshed.owl.carousel":a.proxy(function(a){a.namespace&&this._core.settings.autoHeight&&this.update()},this),"changed.owl.carousel":a.proxy(function(a){a.namespace&&this._core.settings.autoHeight&&"position"===a.property.name&&this.update()},this),"loaded.owl.lazy":a.proxy(function(a){a.namespace&&this._core.settings.autoHeight&&a.element.closest("."+this._core.settings.itemClass).index()===this._core.current()&&this.update()},this)},this._core.options=a.extend({},e.Defaults,this._core.options),this._core.$element.on(this._handlers),this._intervalId=null;var d=this;a(b).on("load",function(){d._core.settings.autoHeight&&d.update()}),a(b).resize(function(){d._core.settings.autoHeight&&(null!=d._intervalId&&clearTimeout(d._intervalId),d._intervalId=setTimeout(function(){d.update()},250))})};e.Defaults={autoHeight:!1,autoHeightClass:"owl-height"},e.prototype.update=function(){var b=this._core._current,c=b+this._core.settings.items,d=this._core.settings.lazyLoad,e=this._core.$stage.children().toArray().slice(b,c),f=[],g=0;a.each(e,function(b,c){f.push(a(c).height())}),g=Math.max.apply(null,f),g<=1&&d&&this._previousHeight&&(g=this._previousHeight),this._previousHeight=g,this._core.$stage.parent().height(g).addClass(this._core.settings.autoHeightClass)},e.prototype.destroy=function(){var a,b;for(a in this._handlers)this._core.$element.off(a,this._handlers[a]);for(b in Object.getOwnPropertyNames(this))"function"!=typeof this[b]&&(this[b]=null)},a.fn.owlCarousel.Constructor.Plugins.AutoHeight=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){var e=function(b){this._core=b,this._videos={},this._playing=null,this._handlers={"initialized.owl.carousel":a.proxy(function(a){a.namespace&&this._core.register({type:"state",name:"playing",tags:["interacting"]})},this),"resize.owl.carousel":a.proxy(function(a){a.namespace&&this._core.settings.video&&this.isInFullScreen()&&a.preventDefault()},this),"refreshed.owl.carousel":a.proxy(function(a){a.namespace&&this._core.is("resizing")&&this._core.$stage.find(".cloned .owl-video-frame").remove()},this),"changed.owl.carousel":a.proxy(function(a){a.namespace&&"position"===a.property.name&&this._playing&&this.stop()},this),"prepared.owl.carousel":a.proxy(function(b){if(b.namespace){var c=a(b.content).find(".owl-video");c.length&&(c.css("display","none"),this.fetch(c,a(b.content)))}},this)},this._core.options=a.extend({},e.Defaults,this._core.options),this._core.$element.on(this._handlers),this._core.$element.on("click.owl.video",".owl-video-play-icon",a.proxy(function(a){this.play(a)},this))};e.Defaults={video:!1,videoHeight:!1,videoWidth:!1},e.prototype.fetch=function(a,b){var c=function(){return a.attr("data-vimeo-id")?"vimeo":a.attr("data-vzaar-id")?"vzaar":"youtube"}(),d=a.attr("data-vimeo-id")||a.attr("data-youtube-id")||a.attr("data-vzaar-id"),e=a.attr("data-width")||this._core.settings.videoWidth,f=a.attr("data-height")||this._core.settings.videoHeight,g=a.attr("href");if(!g)throw new Error("Missing video URL.");if(d=g.match(/(http:|https:|)\/\/(player.|www.|app.)?(vimeo\.com|youtu(be\.com|\.be|be\.googleapis\.com|be\-nocookie\.com)|vzaar\.com)\/(video\/|videos\/|embed\/|channels\/.+\/|groups\/.+\/|watch\?v=|v\/)?([A-Za-z0-9._%-]*)(\&\S+)?/),d[3].indexOf("youtu")>-1)c="youtube";else if(d[3].indexOf("vimeo")>-1)c="vimeo";else{if(!(d[3].indexOf("vzaar")>-1))throw new Error("Video URL not supported.");c="vzaar"}d=d[6],this._videos[g]={type:c,id:d,width:e,height:f},b.attr("data-video",g),this.thumbnail(a,this._videos[g])},e.prototype.thumbnail=function(b,c){var d,e,f,g=c.width&&c.height?"width:"+c.width+"px;height:"+c.height+"px;":"",h=b.find("img"),i="src",j="",k=this._core.settings,l=function(c){e='<div class="owl-video-play-icon"></div>',d=k.lazyLoad?a("<div/>",{class:"owl-video-tn "+j,srcType:c}):a("<div/>",{class:"owl-video-tn",style:"opacity:1;background-image:url("+c+")"}),b.after(d),b.after(e)};if(b.wrap(a("<div/>",{class:"owl-video-wrapper",style:g})),this._core.settings.lazyLoad&&(i="data-src",j="owl-lazy"),h.length)return l(h.attr(i)),h.remove(),!1;"youtube"===c.type?(f="//img.youtube.com/vi/"+c.id+"/hqdefault.jpg",l(f)):"vimeo"===c.type?a.ajax({type:"GET",url:"//vimeo.com/api/v2/video/"+c.id+".json",jsonp:"callback",dataType:"jsonp",success:function(a){f=a[0].thumbnail_large,l(f)}}):"vzaar"===c.type&&a.ajax({type:"GET",url:"//vzaar.com/api/videos/"+c.id+".json",jsonp:"callback",dataType:"jsonp",success:function(a){f=a.framegrab_url,l(f)}})},e.prototype.stop=function(){this._core.trigger("stop",null,"video"),this._playing.find(".owl-video-frame").remove(),this._playing.removeClass("owl-video-playing"),this._playing=null,this._core.leave("playing"),this._core.trigger("stopped",null,"video")},e.prototype.play=function(b){var c,d=a(b.target),e=d.closest("."+this._core.settings.itemClass),f=this._videos[e.attr("data-video")],g=f.width||"100%",h=f.height||this._core.$stage.height();this._playing||(this._core.enter("playing"),this._core.trigger("play",null,"video"),e=this._core.items(this._core.relative(e.index())),this._core.reset(e.index()),c=a('<iframe frameborder="0" allowfullscreen mozallowfullscreen webkitAllowFullScreen ></iframe>'),c.attr("height",h),c.attr("width",g),"youtube"===f.type?c.attr("src","//www.youtube.com/embed/"+f.id+"?autoplay=1&rel=0&v="+f.id):"vimeo"===f.type?c.attr("src","//player.vimeo.com/video/"+f.id+"?autoplay=1"):"vzaar"===f.type&&c.attr("src","//view.vzaar.com/"+f.id+"/player?autoplay=true"),a(c).wrap('<div class="owl-video-frame" />').insertAfter(e.find(".owl-video")),this._playing=e.addClass("owl-video-playing"))},e.prototype.isInFullScreen=function(){var b=c.fullscreenElement||c.mozFullScreenElement||c.webkitFullscreenElement;return b&&a(b).parent().hasClass("owl-video-frame")},e.prototype.destroy=function(){var a,b;this._core.$element.off("click.owl.video");for(a in this._handlers)this._core.$element.off(a,this._handlers[a]);for(b in Object.getOwnPropertyNames(this))"function"!=typeof this[b]&&(this[b]=null)},a.fn.owlCarousel.Constructor.Plugins.Video=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){var e=function(b){this.core=b,this.core.options=a.extend({},e.Defaults,this.core.options),this.swapping=!0,this.previous=d,this.next=d,this.handlers={"change.owl.carousel":a.proxy(function(a){a.namespace&&"position"==a.property.name&&(this.previous=this.core.current(),this.next=a.property.value)},this),"drag.owl.carousel dragged.owl.carousel translated.owl.carousel":a.proxy(function(a){a.namespace&&(this.swapping="translated"==a.type)},this),"translate.owl.carousel":a.proxy(function(a){a.namespace&&this.swapping&&(this.core.options.animateOut||this.core.options.animateIn)&&this.swap()},this)},this.core.$element.on(this.handlers)};e.Defaults={animateOut:!1,animateIn:!1},e.prototype.swap=function(){if(1===this.core.settings.items&&a.support.animation&&a.support.transition){this.core.speed(0);var b,c=a.proxy(this.clear,this),d=this.core.$stage.children().eq(this.previous),e=this.core.$stage.children().eq(this.next),f=this.core.settings.animateIn,g=this.core.settings.animateOut;this.core.current()!==this.previous&&(g&&(b=this.core.coordinates(this.previous)-this.core.coordinates(this.next),d.one(a.support.animation.end,c).css({left:b+"px"}).addClass("animated owl-animated-out").addClass(g)),f&&e.one(a.support.animation.end,c).addClass("animated owl-animated-in").addClass(f))}},e.prototype.clear=function(b){a(b.target).css({left:""}).removeClass("animated owl-animated-out owl-animated-in").removeClass(this.core.settings.animateIn).removeClass(this.core.settings.animateOut),this.core.onTransitionEnd()},e.prototype.destroy=function(){var a,b;for(a in this.handlers)this.core.$element.off(a,this.handlers[a]);for(b in Object.getOwnPropertyNames(this))"function"!=typeof this[b]&&(this[b]=null)},a.fn.owlCarousel.Constructor.Plugins.Animate=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){var e=function(b){this._core=b,this._call=null,this._time=0,this._timeout=0,this._paused=!0,this._handlers={"changed.owl.carousel":a.proxy(function(a){a.namespace&&"settings"===a.property.name?this._core.settings.autoplay?this.play():this.stop():a.namespace&&"position"===a.property.name&&this._paused&&(this._time=0)},this),"initialized.owl.carousel":a.proxy(function(a){a.namespace&&this._core.settings.autoplay&&this.play()},this),"play.owl.autoplay":a.proxy(function(a,b,c){a.namespace&&this.play(b,c)},this),"stop.owl.autoplay":a.proxy(function(a){a.namespace&&this.stop()},this),"mouseover.owl.autoplay":a.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"mouseleave.owl.autoplay":a.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.play()},this),"touchstart.owl.core":a.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"touchend.owl.core":a.proxy(function(){this._core.settings.autoplayHoverPause&&this.play()},this)},this._core.$element.on(this._handlers),this._core.options=a.extend({},e.Defaults,this._core.options)};e.Defaults={autoplay:!1,autoplayTimeout:5e3,autoplayHoverPause:!1,autoplaySpeed:!1},e.prototype._next=function(d){this._call=b.setTimeout(a.proxy(this._next,this,d),this._timeout*(Math.round(this.read()/this._timeout)+1)-this.read()),this._core.is("interacting")||c.hidden||this._core.next(d||this._core.settings.autoplaySpeed)},e.prototype.read=function(){return(new Date).getTime()-this._time},e.prototype.play=function(c,d){var e;this._core.is("rotating")||this._core.enter("rotating"),c=c||this._core.settings.autoplayTimeout,e=Math.min(this._time%(this._timeout||c),c),this._paused?(this._time=this.read(),this._paused=!1):b.clearTimeout(this._call),this._time+=this.read()%c-e,this._timeout=c,this._call=b.setTimeout(a.proxy(this._next,this,d),c-e)},e.prototype.stop=function(){this._core.is("rotating")&&(this._time=0,this._paused=!0,b.clearTimeout(this._call),this._core.leave("rotating"))},e.prototype.pause=function(){this._core.is("rotating")&&!this._paused&&(this._time=this.read(),this._paused=!0,b.clearTimeout(this._call))},e.prototype.destroy=function(){var a,b;this.stop();for(a in this._handlers)this._core.$element.off(a,this._handlers[a]);for(b in Object.getOwnPropertyNames(this))"function"!=typeof this[b]&&(this[b]=null)},a.fn.owlCarousel.Constructor.Plugins.autoplay=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){"use strict";var e=function(b){this._core=b,this._initialized=!1,this._pages=[],this._controls={},this._templates=[],this.$element=this._core.$element,this._overrides={next:this._core.next,prev:this._core.prev,to:this._core.to},this._handlers={"prepared.owl.carousel":a.proxy(function(b){b.namespace&&this._core.settings.dotsData&&this._templates.push('<div class="'+this._core.settings.dotClass+'">'+a(b.content).find("[data-dot]").addBack("[data-dot]").attr("data-dot")+"</div>")},this),"added.owl.carousel":a.proxy(function(a){a.namespace&&this._core.settings.dotsData&&this._templates.splice(a.position,0,this._templates.pop())},this),"remove.owl.carousel":a.proxy(function(a){a.namespace&&this._core.settings.dotsData&&this._templates.splice(a.position,1)},this),"changed.owl.carousel":a.proxy(function(a){a.namespace&&"position"==a.property.name&&this.draw()},this),"initialized.owl.carousel":a.proxy(function(a){a.namespace&&!this._initialized&&(this._core.trigger("initialize",null,"navigation"),this.initialize(),this.update(),this.draw(),this._initialized=!0,this._core.trigger("initialized",null,"navigation"))},this),"refreshed.owl.carousel":a.proxy(function(a){a.namespace&&this._initialized&&(this._core.trigger("refresh",null,"navigation"),this.update(),this.draw(),this._core.trigger("refreshed",null,"navigation"))},this)},this._core.options=a.extend({},e.Defaults,this._core.options),this.$element.on(this._handlers)};e.Defaults={nav:!1,navText:['<span aria-label="Previous">&#x2039;</span>','<span aria-label="Next">&#x203a;</span>'],navSpeed:!1,navElement:'button type="button" role="presentation"',navContainer:!1,navContainerClass:"owl-nav",navClass:["owl-prev","owl-next"],slideBy:1,dotClass:"owl-dot",dotsClass:"owl-dots",dots:!0,dotsEach:!1,dotsData:!1,dotsSpeed:!1,dotsContainer:!1},e.prototype.initialize=function(){var b,c=this._core.settings;this._controls.$relative=(c.navContainer?a(c.navContainer):a("<div>").addClass(c.navContainerClass).appendTo(this.$element)).addClass("disabled"),this._controls.$previous=a("<"+c.navElement+">").addClass(c.navClass[0]).html(c.navText[0]).prependTo(this._controls.$relative).on("click",a.proxy(function(a){this.prev(c.navSpeed)},this)),this._controls.$next=a("<"+c.navElement+">").addClass(c.navClass[1]).html(c.navText[1]).appendTo(this._controls.$relative).on("click",a.proxy(function(a){this.next(c.navSpeed)},this)),c.dotsData||(this._templates=[a('<button role="button" aria-hidden="true" tabindex="-1">').addClass(c.dotClass).append(a("<span>")).prop("outerHTML")]),this._controls.$absolute=(c.dotsContainer?a(c.dotsContainer):a("<div>").addClass(c.dotsClass).appendTo(this.$element)).addClass("disabled"),this._controls.$absolute.on("click","button",a.proxy(function(b){var d=a(b.target).parent().is(this._controls.$absolute)?a(b.target).index():a(b.target).parent().index();b.preventDefault(),this.to(d,c.dotsSpeed)},this));for(b in this._overrides)this._core[b]=a.proxy(this[b],this)},e.prototype.destroy=function(){var a,b,c,d,e;e=this._core.settings;for(a in this._handlers)this.$element.off(a,this._handlers[a]);for(b in this._controls)"$relative"===b&&e.navContainer?this._controls[b].html(""):this._controls[b].remove();for(d in this.overides)this._core[d]=this._overrides[d];for(c in Object.getOwnPropertyNames(this))"function"!=typeof this[c]&&(this[c]=null)},e.prototype.update=function(){var a,b,c,d=this._core.clones().length/2,e=d+this._core.items().length,f=this._core.maximum(!0),g=this._core.settings,h=g.center||g.autoWidth||g.dotsData?1:g.dotsEach||g.items;if("page"!==g.slideBy&&(g.slideBy=Math.min(g.slideBy,g.items)),g.dots||"page"==g.slideBy)for(this._pages=[],a=d,b=0,c=0;a<e;a++){if(b>=h||0===b){if(this._pages.push({start:Math.min(f,a-d),end:a-d+h-1}),Math.min(f,a-d)===f)break;b=0,++c}b+=this._core.mergers(this._core.relative(a))}},e.prototype.draw=function(){var b,c=this._core.settings,d=this._core.items().length<=c.items,e=this._core.relative(this._core.current()),f=c.loop||c.rewind;this._controls.$relative.toggleClass("disabled",!c.nav||d),c.nav&&(this._controls.$previous.toggleClass("disabled",!f&&e<=this._core.minimum(!0)),this._controls.$next.toggleClass("disabled",!f&&e>=this._core.maximum(!0))),this._controls.$absolute.toggleClass("disabled",!c.dots||d),c.dots&&(b=this._pages.length-this._controls.$absolute.children().length,c.dotsData&&0!==b?this._controls.$absolute.html(this._templates.join("")):b>0?this._controls.$absolute.append(new Array(b+1).join(this._templates[0])):b<0&&this._controls.$absolute.children().slice(b).remove(),this._controls.$absolute.find(".active").removeClass("active"),this._controls.$absolute.children().eq(a.inArray(this.current(),this._pages)).addClass("active"))},e.prototype.onTrigger=function(b){var c=this._core.settings;b.page={index:a.inArray(this.current(),this._pages),count:this._pages.length,size:c&&(c.center||c.autoWidth||c.dotsData?1:c.dotsEach||c.items)}},e.prototype.current=function(){var b=this._core.relative(this._core.current());return a.grep(this._pages,a.proxy(function(a,c){return a.start<=b&&a.end>=b},this)).pop()},e.prototype.getPosition=function(b){var c,d,e=this._core.settings;return"page"==e.slideBy?(c=a.inArray(this.current(),this._pages),d=this._pages.length,b?++c:--c,c=this._pages[(c%d+d)%d].start):(c=this._core.relative(this._core.current()),d=this._core.items().length,b?c+=e.slideBy:c-=e.slideBy),c},e.prototype.next=function(b){a.proxy(this._overrides.to,this._core)(this.getPosition(!0),b)},e.prototype.prev=function(b){a.proxy(this._overrides.to,this._core)(this.getPosition(!1),b)},e.prototype.to=function(b,c,d){var e;!d&&this._pages.length?(e=this._pages.length,a.proxy(this._overrides.to,this._core)(this._pages[(b%e+e)%e].start,c)):a.proxy(this._overrides.to,this._core)(b,c)},a.fn.owlCarousel.Constructor.Plugins.Navigation=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){"use strict";var e=function(c){this._core=c,this._hashes={},this.$element=this._core.$element,this._handlers={"initialized.owl.carousel":a.proxy(function(c){c.namespace&&"URLHash"===this._core.settings.startPosition&&a(b).trigger("hashchange.owl.navigation")},this),"prepared.owl.carousel":a.proxy(function(b){if(b.namespace){var c=a(b.content).find("[data-hash]").addBack("[data-hash]").attr("data-hash");if(!c)return;this._hashes[c]=b.content}},this),"changed.owl.carousel":a.proxy(function(c){if(c.namespace&&"position"===c.property.name){var d=this._core.items(this._core.relative(this._core.current())),e=a.map(this._hashes,function(a,b){return a===d?b:null}).join();if(!e||b.location.hash.slice(1)===e)return;b.location.hash=e}},this)},this._core.options=a.extend({},e.Defaults,this._core.options),this.$element.on(this._handlers),a(b).on("hashchange.owl.navigation",a.proxy(function(a){var c=b.location.hash.substring(1),e=this._core.$stage.children(),f=this._hashes[c]&&e.index(this._hashes[c]);f!==d&&f!==this._core.current()&&this._core.to(this._core.relative(f),!1,!0)},this))};e.Defaults={URLhashListener:!1},e.prototype.destroy=function(){var c,d;a(b).off("hashchange.owl.navigation");for(c in this._handlers)this._core.$element.off(c,this._handlers[c]);for(d in Object.getOwnPropertyNames(this))"function"!=typeof this[d]&&(this[d]=null)},a.fn.owlCarousel.Constructor.Plugins.Hash=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){function e(b,c){var e=!1,f=b.charAt(0).toUpperCase()+b.slice(1);return a.each((b+" "+h.join(f+" ")+f).split(" "),function(a,b){if(g[b]!==d)return e=!c||b,!1}),e}function f(a){return e(a,!0)}var g=a("<support>").get(0).style,h="Webkit Moz O ms".split(" "),i={transition:{end:{WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd",transition:"transitionend"}},animation:{end:{WebkitAnimation:"webkitAnimationEnd",MozAnimation:"animationend",OAnimation:"oAnimationEnd",animation:"animationend"}}},j={csstransforms:function(){return!!e("transform")},csstransforms3d:function(){return!!e("perspective")},csstransitions:function(){return!!e("transition")},cssanimations:function(){return!!e("animation")}};j.csstransitions()&&(a.support.transition=new String(f("transition")),a.support.transition.end=i.transition.end[a.support.transition]),j.cssanimations()&&(a.support.animation=new String(f("animation")),a.support.animation.end=i.animation.end[a.support.animation]),j.csstransforms()&&(a.support.transform=new String(f("transform")),a.support.transform3d=j.csstransforms3d())}(window.Zepto||window.jQuery,window,document);
!function(){var t={1989:function(t,n,e){var r=e(1789),o=e(401),a=e(7667),c=e(1327),i=e(1866);function u(t){var n=-1,e=null==t?0:t.length;for(this.clear();++n<e;){var r=t[n];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=o,u.prototype.get=a,u.prototype.has=c,u.prototype.set=i,t.exports=u},8407:function(t,n,e){var r=e(7040),o=e(4125),a=e(2117),c=e(7518),i=e(4705);function u(t){var n=-1,e=null==t?0:t.length;for(this.clear();++n<e;){var r=t[n];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=o,u.prototype.get=a,u.prototype.has=c,u.prototype.set=i,t.exports=u},7071:function(t,n,e){var r=e(852)(e(5639),"Map");t.exports=r},3369:function(t,n,e){var r=e(4785),o=e(1285),a=e(6e3),c=e(9916),i=e(5265);function u(t){var n=-1,e=null==t?0:t.length;for(this.clear();++n<e;){var r=t[n];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=o,u.prototype.get=a,u.prototype.has=c,u.prototype.set=i,t.exports=u},2705:function(t,n,e){var r=e(5639).Symbol;t.exports=r},6874:function(t){t.exports=function(t,n,e){switch(e.length){case 0:return t.call(n);case 1:return t.call(n,e[0]);case 2:return t.call(n,e[0],e[1]);case 3:return t.call(n,e[0],e[1],e[2])}return t.apply(n,e)}},9932:function(t){t.exports=function(t,n){for(var e=-1,r=null==t?0:t.length,o=Array(r);++e<r;)o[e]=n(t[e],e,t);return o}},2488:function(t){t.exports=function(t,n){for(var e=-1,r=n.length,o=t.length;++e<r;)t[o+e]=n[e];return t}},4865:function(t,n,e){var r=e(9465),o=e(7813),a=Object.prototype.hasOwnProperty;t.exports=function(t,n,e){var c=t[n];a.call(t,n)&&o(c,e)&&(void 0!==e||n in t)||r(t,n,e)}},8470:function(t,n,e){var r=e(7813);t.exports=function(t,n){for(var e=t.length;e--;)if(r(t[e][0],n))return e;return-1}},9465:function(t,n,e){var r=e(8777);t.exports=function(t,n,e){"__proto__"==n&&r?r(t,n,{configurable:!0,enumerable:!0,value:e,writable:!0}):t[n]=e}},1078:function(t,n,e){var r=e(2488),o=e(7285);t.exports=function t(n,e,a,c,i){var u=-1,s=n.length;for(a||(a=o),i||(i=[]);++u<s;){var p=n[u];e>0&&a(p)?e>1?t(p,e-1,a,c,i):r(i,p):c||(i[i.length]=p)}return i}},7786:function(t,n,e){var r=e(1811),o=e(327);t.exports=function(t,n){for(var e=0,a=(n=r(n,t)).length;null!=t&&e<a;)t=t[o(n[e++])];return e&&e==a?t:void 0}},4239:function(t,n,e){var r=e(2705),o=e(9607),a=e(2333),c=r?r.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":c&&c in Object(t)?o(t):a(t)}},13:function(t){t.exports=function(t,n){return null!=t&&n in Object(t)}},9454:function(t,n,e){var r=e(4239),o=e(7005);t.exports=function(t){return o(t)&&"[object Arguments]"==r(t)}},8458:function(t,n,e){var r=e(3560),o=e(5346),a=e(3218),c=e(346),i=/^\[object .+?Constructor\]$/,u=Function.prototype,s=Object.prototype,p=u.toString,f=s.hasOwnProperty,l=RegExp("^"+p.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!a(t)||o(t))&&(r(t)?l:i).test(c(t))}},5970:function(t,n,e){var r=e(3012),o=e(9095);t.exports=function(t,n){return r(t,n,(function(n,e){return o(t,e)}))}},3012:function(t,n,e){var r=e(7786),o=e(611),a=e(1811);t.exports=function(t,n,e){for(var c=-1,i=n.length,u={};++c<i;){var s=n[c],p=r(t,s);e(p,s)&&o(u,a(s,t),p)}return u}},611:function(t,n,e){var r=e(4865),o=e(1811),a=e(5776),c=e(3218),i=e(327);t.exports=function(t,n,e,u){if(!c(t))return t;for(var s=-1,p=(n=o(n,t)).length,f=p-1,l=t;null!=l&&++s<p;){var v=i(n[s]),d=e;if(s!=f){var _=l[v];void 0===(d=u?u(_,v,l):void 0)&&(d=c(_)?_:a(n[s+1])?[]:{})}r(l,v,d),l=l[v]}return t}},6560:function(t,n,e){var r=e(5703),o=e(8777),a=e(6557),c=o?function(t,n){return o(t,"toString",{configurable:!0,enumerable:!1,value:r(n),writable:!0})}:a;t.exports=c},531:function(t,n,e){var r=e(2705),o=e(9932),a=e(1469),c=e(3448),i=r?r.prototype:void 0,u=i?i.toString:void 0;t.exports=function t(n){if("string"==typeof n)return n;if(a(n))return o(n,t)+"";if(c(n))return u?u.call(n):"";var e=n+"";return"0"==e&&1/n==-1/0?"-0":e}},1811:function(t,n,e){var r=e(1469),o=e(5403),a=e(5514),c=e(9833);t.exports=function(t,n){return r(t)?t:o(t,n)?[t]:a(c(t))}},4429:function(t,n,e){var r=e(5639)["__core-js_shared__"];t.exports=r},8777:function(t,n,e){var r=e(852),o=function(){try{var t=r(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=o},9021:function(t,n,e){var r=e(5564),o=e(5357),a=e(61);t.exports=function(t){return a(o(t,void 0,r),t+"")}},1957:function(t,n,e){var r="object"==typeof e.g&&e.g&&e.g.Object===Object&&e.g;t.exports=r},5050:function(t,n,e){var r=e(7019);t.exports=function(t,n){var e=t.__data__;return r(n)?e["string"==typeof n?"string":"hash"]:e.map}},852:function(t,n,e){var r=e(8458),o=e(7801);t.exports=function(t,n){var e=o(t,n);return r(e)?e:void 0}},9607:function(t,n,e){var r=e(2705),o=Object.prototype,a=o.hasOwnProperty,c=o.toString,i=r?r.toStringTag:void 0;t.exports=function(t){var n=a.call(t,i),e=t[i];try{t[i]=void 0;var r=!0}catch(t){}var o=c.call(t);return r&&(n?t[i]=e:delete t[i]),o}},7801:function(t){t.exports=function(t,n){return null==t?void 0:t[n]}},222:function(t,n,e){var r=e(1811),o=e(5694),a=e(1469),c=e(5776),i=e(1780),u=e(327);t.exports=function(t,n,e){for(var s=-1,p=(n=r(n,t)).length,f=!1;++s<p;){var l=u(n[s]);if(!(f=null!=t&&e(t,l)))break;t=t[l]}return f||++s!=p?f:!!(p=null==t?0:t.length)&&i(p)&&c(l,p)&&(a(t)||o(t))}},1789:function(t,n,e){var r=e(4536);t.exports=function(){this.__data__=r?r(null):{},this.size=0}},401:function(t){t.exports=function(t){var n=this.has(t)&&delete this.__data__[t];return this.size-=n?1:0,n}},7667:function(t,n,e){var r=e(4536),o=Object.prototype.hasOwnProperty;t.exports=function(t){var n=this.__data__;if(r){var e=n[t];return"__lodash_hash_undefined__"===e?void 0:e}return o.call(n,t)?n[t]:void 0}},1327:function(t,n,e){var r=e(4536),o=Object.prototype.hasOwnProperty;t.exports=function(t){var n=this.__data__;return r?void 0!==n[t]:o.call(n,t)}},1866:function(t,n,e){var r=e(4536);t.exports=function(t,n){var e=this.__data__;return this.size+=this.has(t)?0:1,e[t]=r&&void 0===n?"__lodash_hash_undefined__":n,this}},7285:function(t,n,e){var r=e(2705),o=e(5694),a=e(1469),c=r?r.isConcatSpreadable:void 0;t.exports=function(t){return a(t)||o(t)||!!(c&&t&&t[c])}},5776:function(t){var n=/^(?:0|[1-9]\d*)$/;t.exports=function(t,e){var r=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==r||"symbol"!=r&&n.test(t))&&t>-1&&t%1==0&&t<e}},5403:function(t,n,e){var r=e(1469),o=e(3448),a=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,c=/^\w*$/;t.exports=function(t,n){if(r(t))return!1;var e=typeof t;return!("number"!=e&&"symbol"!=e&&"boolean"!=e&&null!=t&&!o(t))||c.test(t)||!a.test(t)||null!=n&&t in Object(n)}},7019:function(t){t.exports=function(t){var n=typeof t;return"string"==n||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==t:null===t}},5346:function(t,n,e){var r,o=e(4429),a=(r=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";t.exports=function(t){return!!a&&a in t}},7040:function(t){t.exports=function(){this.__data__=[],this.size=0}},4125:function(t,n,e){var r=e(8470),o=Array.prototype.splice;t.exports=function(t){var n=this.__data__,e=r(n,t);return!(e<0||(e==n.length-1?n.pop():o.call(n,e,1),--this.size,0))}},2117:function(t,n,e){var r=e(8470);t.exports=function(t){var n=this.__data__,e=r(n,t);return e<0?void 0:n[e][1]}},7518:function(t,n,e){var r=e(8470);t.exports=function(t){return r(this.__data__,t)>-1}},4705:function(t,n,e){var r=e(8470);t.exports=function(t,n){var e=this.__data__,o=r(e,t);return o<0?(++this.size,e.push([t,n])):e[o][1]=n,this}},4785:function(t,n,e){var r=e(1989),o=e(8407),a=e(7071);t.exports=function(){this.size=0,this.__data__={hash:new r,map:new(a||o),string:new r}}},1285:function(t,n,e){var r=e(5050);t.exports=function(t){var n=r(this,t).delete(t);return this.size-=n?1:0,n}},6e3:function(t,n,e){var r=e(5050);t.exports=function(t){return r(this,t).get(t)}},9916:function(t,n,e){var r=e(5050);t.exports=function(t){return r(this,t).has(t)}},5265:function(t,n,e){var r=e(5050);t.exports=function(t,n){var e=r(this,t),o=e.size;return e.set(t,n),this.size+=e.size==o?0:1,this}},4523:function(t,n,e){var r=e(8306);t.exports=function(t){var n=r(t,(function(t){return 500===e.size&&e.clear(),t})),e=n.cache;return n}},4536:function(t,n,e){var r=e(852)(Object,"create");t.exports=r},2333:function(t){var n=Object.prototype.toString;t.exports=function(t){return n.call(t)}},5357:function(t,n,e){var r=e(6874),o=Math.max;t.exports=function(t,n,e){return n=o(void 0===n?t.length-1:n,0),function(){for(var a=arguments,c=-1,i=o(a.length-n,0),u=Array(i);++c<i;)u[c]=a[n+c];c=-1;for(var s=Array(n+1);++c<n;)s[c]=a[c];return s[n]=e(u),r(t,this,s)}}},5639:function(t,n,e){var r=e(1957),o="object"==typeof self&&self&&self.Object===Object&&self,a=r||o||Function("return this")();t.exports=a},61:function(t,n,e){var r=e(6560),o=e(1275)(r);t.exports=o},1275:function(t){var n=Date.now;t.exports=function(t){var e=0,r=0;return function(){var o=n(),a=16-(o-r);if(r=o,a>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}},5514:function(t,n,e){var r=e(4523),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,a=/\\(\\)?/g,c=r((function(t){var n=[];return 46===t.charCodeAt(0)&&n.push(""),t.replace(o,(function(t,e,r,o){n.push(r?o.replace(a,"$1"):e||t)})),n}));t.exports=c},327:function(t,n,e){var r=e(3448);t.exports=function(t){if("string"==typeof t||r(t))return t;var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}},346:function(t){var n=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return n.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},5703:function(t){t.exports=function(t){return function(){return t}}},7813:function(t){t.exports=function(t,n){return t===n||t!=t&&n!=n}},5564:function(t,n,e){var r=e(1078);t.exports=function(t){return null!=t&&t.length?r(t,1):[]}},9095:function(t,n,e){var r=e(13),o=e(222);t.exports=function(t,n){return null!=t&&o(t,n,r)}},6557:function(t){t.exports=function(t){return t}},5694:function(t,n,e){var r=e(9454),o=e(7005),a=Object.prototype,c=a.hasOwnProperty,i=a.propertyIsEnumerable,u=r(function(){return arguments}())?r:function(t){return o(t)&&c.call(t,"callee")&&!i.call(t,"callee")};t.exports=u},1469:function(t){var n=Array.isArray;t.exports=n},3560:function(t,n,e){var r=e(4239),o=e(3218);t.exports=function(t){if(!o(t))return!1;var n=r(t);return"[object Function]"==n||"[object GeneratorFunction]"==n||"[object AsyncFunction]"==n||"[object Proxy]"==n}},1780:function(t){t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},3218:function(t){t.exports=function(t){var n=typeof t;return null!=t&&("object"==n||"function"==n)}},7005:function(t){t.exports=function(t){return null!=t&&"object"==typeof t}},3448:function(t,n,e){var r=e(4239),o=e(7005);t.exports=function(t){return"symbol"==typeof t||o(t)&&"[object Symbol]"==r(t)}},8306:function(t,n,e){var r=e(3369);function o(t,n){if("function"!=typeof t||null!=n&&"function"!=typeof n)throw new TypeError("Expected a function");var e=function(){var r=arguments,o=n?n.apply(this,r):r[0],a=e.cache;if(a.has(o))return a.get(o);var c=t.apply(this,r);return e.cache=a.set(o,c)||a,c};return e.cache=new(o.Cache||r),e}o.Cache=r,t.exports=o},8718:function(t,n,e){var r=e(5970),o=e(9021)((function(t,n){return null==t?{}:r(t,n)}));t.exports=o},9833:function(t,n,e){var r=e(531);t.exports=function(t){return null==t?"":r(t)}},3609:function(t){"use strict";t.exports=jQuery}},n={};function e(r){if(n[r])return n[r].exports;var o=n[r]={exports:{}};return t[r](o,o.exports,e),o.exports}e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,{a:n}),n},e.d=function(t,n){for(var r in n)e.o(n,r)&&!e.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:n[r]})},e.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},function(){"use strict";var t=e(3609),n=e.n(t),r=function t(){for(var e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];var a;window.fbq?((a=window).fbq.apply(a,r),aepc_pixel_events.ss_in_ajax&&n().ajax({url:aepc_pixel_events.api.root+"aepc/v1/fbq",method:"POST",dataType:"json",beforeSend:function(t){t.setRequestHeader("X-WP-Nonce",aepc_pixel_events.api.nonce)},data:{query:r}})):setTimeout((function(){return t.apply(void 0,r)}),500)},o=e(8718),a=e.n(o);e(3609)(document).ready((function(t){t(document.body);var n=function(t){return aepc_extend_args(t)},e=function(t,n){n?setTimeout(t,1e3*n):t()};aepc_pixel_events.standard_events&&t.each(aepc_pixel_events.standard_events,(function(o,a){t.each(a,(function(t,a){e((function(){r("track",o,n(a.params?a.params:{}),a.event_id?{eventID:a.event_id}:{})}),a.delay)}))})),void 0!==aepc_pixel_events.custom_events&&t.each(aepc_pixel_events.custom_events,(function(o,a){t.each(a,(function(t,a){e((function(){r("trackCustom",o,n(a.params?a.params:{}),a.event_id?{eventID:a.event_id}:{})}),a.delay)}))})),void 0!==aepc_pixel_events.css_events&&t.each(aepc_pixel_events.css_events,(function(e,o){t.each(o,(function(o,a){t(e).on("click",(function(){r(a.trackType,a.trackName,n(a.trackParams))}))}))})),void 0!==aepc_pixel_events.link_clicks&&t.each(aepc_pixel_events.link_clicks,(function(e,o){t.each(o,(function(o,a){t("a").filter((function(){var n=t(this).attr("href");if(void 0===n)return!1;if("contains"===o)return n.match(new RegExp(e.replace(/\*/g,"[^/]+").replace(/([./?])/gm,"\\$1")));if("exact"===o){var r=e+(e.match(/\/+$/)?"":"/");return r.match(/^http(s)?:\/\//)||(r="/"+r.replace(/^\/+/,""),r=window.location.protocol+"//"+window.location.host+r),(n+=n.match(/\/+$/)?"":"/").match(/^http(s)?:\/\//)||(n="/"+n.replace(/^\/+/,""),n=window.location.protocol+"//"+window.location.host+n),r===n}return!1})).on("click",(function(e){t.each(a,(function(t,e){r(e.trackType,e.trackName,n(e.trackParams))}))}))}))})),void 0!==aepc_pixel_events.js_events&&t.each(aepc_pixel_events.js_events,(function(e,o){t.each(o,(function(o,a){t(e).on(o,(function(){t.each(a,(function(t,e){r(e.trackType,e.trackName,n(e.trackParams))}))}))}))})),t(document.body).on("added_to_cart",(function(t,e,o,c){if("no"===aepc_pixel.enable_addtocart)return t;var i=c.closest(".product, .wc-block-grid__product"),u="yes"===aepc_pixel.can_use_sku&&c.data("product_sku")?c.data("product_sku"):c.data("product_id"),s=i.find('input[name="quantity"]').length?i.find('input[name="quantity"]').val():1;if(c.closest("form").length){var p=c.closest("form"),f=p.find('[name="variation_id"]'),l=p.find('[name="add-to-cart"]');f.length?u=f.val():l.length&&(u=l.val())}r("track","AddToCart",n(a()({content_ids:[u],content_type:"product",content_name:i.find("h3, .woocommerce-loop-product__title, .wc-block-grid__product-title").text(),content_category:i.find("span[data-content_category]").data("content_category"),value:parseFloat(i.find("span.amount:last, span.amount:last bdi").clone().children().remove().end().text())*s,currency:woocommerce_params.currency},aepc_pixel.allowed_params.AddToCart)),{eventID:o})})),t(".add_to_wishlist, .wl-add-to").on("click",(function(e){if("no"===aepc_pixel.enable_wishlist)return e;var o=t(this),a=o.data("product-sku")?o.data("product-sku"):o.data("product-id");r("track","AddToWishlist",n(aepc_wc_add_to_wishlist[a]))})),t("body.woocommerce-page form.checkout").on("checkout_place_order",(function(t){"yes"===aepc_pixel.enable_addpaymentinfo&&r("track","AddPaymentInfo",n(aepc_add_payment_info_params))})),t(document.body).on("edd_cart_item_added",(function(t,e){var o=e.pixel;if("no"===aepc_pixel.enable_addtocart)return t;r("track","AddToCart",n(o.params?o.params:{}),o.event_id?{eventID:o.event_id}:{})})),t(".edd-checkout").on("click",'form#edd_purchase_form input[type="submit"]',(function(t){return"no"===aepc_pixel.enable_addpaymentinfo?t:(r("track","AddPaymentInfo",n(aepc_add_payment_info_params)),!0)}))}))}()}();