
/*!
 * modernizr v3.2.0
 * Build http://modernizr.com/download?-applicationcache-audio-backgroundsize-bgsizecover-borderimage-borderradius-boxshadow-canvas-canvastext-cssanimations-csscolumns-cssgradients-cssreflections-csstransforms-csstransforms3d-csstransitions-flexbox-fontface-generatedcontent-geolocation-hashchange-history-hsla-indexeddb-inlinesvg-input-inputtypes-localstorage-multiplebgs-opacity-postmessage-preserve3d-requestanimationframe-rgba-sessionstorage-smil-svg-svgclippaths-svgfilters-textshadow-touchevents-video-webgl-webglextensions-websockets-websqldatabase-webworkers-addtest-domprefixes-hasevent-mq-prefixed-prefixes-shiv-testallprops-testprop-teststyles-dontmin
 *
 * Copyright (c)
 *  Faruk Ates
 *  Paul Irish
 *  Alex Sexton
 *  Ryan Seddon
 *  Patrick Kettner
 *  Stu Cox
 *  Richard Herrera

 * MIT License
 */
(function(N,d,l){var f=[];var Y=d.documentElement;var a=Y.nodeName.toLowerCase()==="svg";var L;if(!a){(function(ai,ak){var ae="3.7.3";var ab=ai.html5||{};var af=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i;var aa=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i;var ap;var ag="_html5shiv";var i=0;var am={};var ac;(function(){try{var at=ak.createElement("a");at.innerHTML="<xyz></xyz>";ap=("hidden" in at);ac=at.childNodes.length==1||(function(){(ak.createElement)("a");var av=ak.createDocumentFragment();return(typeof av.cloneNode=="undefined"||typeof av.createDocumentFragment=="undefined"||typeof av.createElement=="undefined")}())}catch(au){ap=!0;ac=!0}}());function ad(at,av){var aw=at.createElement("p"),au=at.getElementsByTagName("head")[0]||at.documentElement;aw.innerHTML="x<style>"+av+"</style>";return au.insertBefore(aw.lastChild,au.firstChild)}function aj(){var at=ah.elements;return typeof at=="string"?at.split(" "):at}function an(at,au){var av=ah.elements;if(typeof av!="string"){av=av.join(" ")}if(typeof at!="string"){at=at.join(" ")}ah.elements=av+" "+at;Z(au)}function ao(at){var au=am[at[ag]];if(!au){au={};i++;at[ag]=i;am[i]=au}return au}function al(aw,at,av){if(!at){at=ak}if(ac){return at.createElement(aw)}if(!av){av=ao(at)}var au;if(av.cache[aw]){au=av.cache[aw].cloneNode()}else{if(aa.test(aw)){au=(av.cache[aw]=av.createElem(aw)).cloneNode()}else{au=av.createElem(aw)}}return au.canHaveChildren&&!af.test(aw)&&!au.tagUrn?av.frag.appendChild(au):au}function aq(av,ax){if(!av){av=ak}if(ac){return av.createDocumentFragment()}ax=ax||ao(av);var ay=ax.frag.cloneNode(),aw=0,au=aj(),at=au.length;for(;aw<at;aw++){ay.createElement(au[aw])}return ay}function ar(at,au){if(!au.cache){au.cache={};au.createElem=at.createElement;au.createFrag=at.createDocumentFragment;au.frag=au.createFrag()}at.createElement=function(av){if(!ah.shivMethods){return au.createElem(av)}return al(av,at,au)};at.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+aj().join().replace(/[\w\-:]+/g,function(av){au.createElem(av);au.frag.createElement(av);return'c("'+av+'")'})+");return n}")(ah,au.frag)}function Z(at){if(!at){at=ak}var au=ao(at);if(ah.shivCSS&&!ap&&!au.hasCSS){au.hasCSS=!!ad(at,"article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}")}if(!ac){ar(at,au)}return at}var ah={elements:ab.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output picture progress section summary template time video",version:ae,shivCSS:(ab.shivCSS!==!1),supportsUnknownElements:ac,shivMethods:(ab.shivMethods!==!1),type:"default",shivDocument:Z,createElement:al,createDocumentFragment:aq,addElements:an};ai.html5=ah;Z(ak);if(typeof module=="object"&&module.exports){module.exports=ah}}(typeof N!=="undefined"?N:this,d))}var p=[];var R={_version:"3.2.0",_config:{classPrefix:"",enableClasses:!0,enableJSClass:!0,usePrefixes:!0},_q:[],on:function(aa,i){var Z=this;setTimeout(function(){i(Z[aa])},0)},addTest:function(Z,aa,i){p.push({name:Z,fn:aa,options:i})},addAsyncTest:function(i){p.push({name:null,fn:i})}};var I=function(){};I.prototype=R;I=new I();function b(aa){var ab=Y.className;var Z=I._config.classPrefix||"";if(a){ab=ab.baseVal}if(I._config.enableJSClass){var i=new RegExp("(^|\\s)"+Z+"no-js(\\s|$)");ab=ab.replace(i,"$1"+Z+"js$2")}if(I._config.enableClasses){ab+=" "+Z+aa.join(" "+Z);a?Y.className.baseVal=ab:Y.className=ab}}
/*!
{
  "name": "Application Cache",
  "property": "applicationcache",
  "caniuse": "offline-apps",
  "tags": ["storage", "offline"],
  "notes": [{
    "name": "MDN documentation",
    "href": "https://developer.mozilla.org/en/docs/HTML/Using_the_application_cache"
  }],
  "polyfills": ["html5gears"]
}
!*/
I.addTest("applicationcache","applicationCache" in N);
/*!
{
  "name": "Geolocation API",
  "property": "geolocation",
  "caniuse": "geolocation",
  "tags": ["media"],
  "notes": [{
    "name": "MDN documentation",
    "href": "https://developer.mozilla.org/en-US/docs/WebAPI/Using_geolocation"
  }],
  "polyfills": [
    "joshuabell-polyfill",
    "webshims",
    "geo-location-javascript",
    "geolocation-api-polyfill"
  ]
}
!*/
I.addTest("geolocation","geolocation" in navigator);
/*!
{
  "name": "History API",
  "property": "history",
  "caniuse": "history",
  "tags": ["history"],
  "authors": ["Hay Kranen", "Alexander Farkas"],
  "notes": [{
    "name": "W3C Spec",
    "href": "http://www.w3.org/TR/html51/browsers.html#the-history-interface"
  }, {
    "name": "MDN documentation",
    "href": "https://developer.mozilla.org/en-US/docs/Web/API/window.history"
  }],
  "polyfills": ["historyjs", "html5historyapi"]
}
!*/
I.addTest("history",function(){var i=navigator.userAgent;if((i.indexOf("Android 2.")!==-1||(i.indexOf("Android 4.0")!==-1))&&i.indexOf("Mobile Safari")!==-1&&i.indexOf("Chrome")===-1&&i.indexOf("Windows Phone")===-1){return!1}return(N.history&&"pushState" in N.history)});
/*!
{
  "name": "postMessage",
  "property": "postmessage",
  "caniuse": "x-doc-messaging",
  "notes": [{
    "name": "W3C Spec",
    "href": "http://www.w3.org/TR/html5/comms.html#posting-messages"
  }],
  "polyfills": ["easyxdm", "postmessage-jquery"]
}
!*/
I.addTest("postmessage","postMessage" in N);
/*!
{
  "name": "SVG",
  "property": "svg",
  "caniuse": "svg",
  "tags": ["svg"],
  "authors": ["Erik Dahlstrom"],
  "polyfills": [
    "svgweb",
    "raphael",
    "amplesdk",
    "canvg",
    "svg-boilerplate",
    "sie",
    "dojogfx",
    "fabricjs"
  ]
}
!*/
I.addTest("svg",!!d.createElementNS&&!!d.createElementNS("http://www.w3.org/2000/svg","svg").createSVGRect);
/*!
{
  "name": "WebSockets Support",
  "property": "websockets",
  "authors": ["Phread [fearphage]", "Mike Sherov [mikesherov]", "Burak Yigit Kaya [BYK]"],
  "caniuse": "websockets",
  "tags": ["html5"],
  "warnings": [
    "This test will reject any old version of WebSockets even if it is not prefixed such as in Safari 5.1"
  ],
  "notes": [{
    "name": "CLOSING State and Spec",
    "href": "http://www.w3.org/TR/websockets/#the-websocket-interface"
  }],
  "polyfills": [
    "sockjs",
    "socketio",
    "kaazing-websocket-gateway",
    "websocketjs",
    "atmosphere",
    "graceful-websocket",
    "portal",
    "datachannel"
  ]
}
!*/
I.addTest("websockets","WebSocket" in N&&N.WebSocket.CLOSING===2);
/*!
{
  "name": "Local Storage",
  "property": "localstorage",
  "caniuse": "namevalue-storage",
  "tags": ["storage"],
  "knownBugs": [],
  "notes": [],
  "warnings": [],
  "polyfills": [
    "joshuabell-polyfill",
    "cupcake",
    "storagepolyfill",
    "amplifyjs",
    "yui-cacheoffline"
  ]
}
!*/
I.addTest("localstorage",function(){var i="modernizr";try{localStorage.setItem(i,i);localStorage.removeItem(i);return!0}catch(Z){return!1}});
/*!
{
  "name": "Session Storage",
  "property": "sessionstorage",
  "tags": ["storage"],
  "polyfills": ["joshuabell-polyfill", "cupcake", "sessionstorage"]
}
!*/
I.addTest("sessionstorage",function(){var i="modernizr";try{sessionStorage.setItem(i,i);sessionStorage.removeItem(i);return!0}catch(Z){return!1}});
/*!
{
  "name": "Web SQL Database",
  "property": "websqldatabase",
  "caniuse": "sql-storage",
  "tags": ["storage"]
}
!*/
I.addTest("websqldatabase","openDatabase" in N);
/*!
{
  "name": "SVG filters",
  "property": "svgfilters",
  "caniuse": "svg-filters",
  "tags": ["svg"],
  "builderAliases": ["svg_filters"],
  "authors": ["Erik Dahlstrom"],
  "notes": [{
    "name": "W3C Spec",
    "href": "http://www.w3.org/TR/SVG11/filters.html"
  }]
}
!*/
I.addTest("svgfilters",function(){var i=!1;try{i="SVGFEColorMatrixElement" in N&&SVGFEColorMatrixElement.SVG_FECOLORMATRIX_TYPE_SATURATE==2}catch(Z){}return i});
/*!
{
  "name": "Web Workers",
  "property": "webworkers",
  "caniuse" : "webworkers",
  "tags": ["performance", "workers"],
  "notes": [{
    "name": "W3C Reference",
    "href": "http://www.w3.org/TR/workers/"
  }, {
    "name": "HTML5 Rocks article",
    "href": "http://www.html5rocks.com/en/tutorials/workers/basics/"
  }, {
    "name": "MDN documentation",
    "href": "https://developer.mozilla.org/en-US/docs/Web/Guide/Performance/Using_web_workers"
  }],
  "polyfills": ["fakeworker", "html5shims"]
}
!*/
I.addTest("webworkers","Worker" in N);var o=(R._config.usePrefixes?" -webkit- -moz- -o- -ms- ".split(" "):[]);R._prefixes=o;function D(Z,i){return typeof Z===i}function W(){var ac;var ad;var aa;var i;var Z;var ab;var af;for(var ae in p){if(p.hasOwnProperty(ae)){ac=[];ad=p[ae];if(ad.name){ac.push(ad.name.toLowerCase());if(ad.options&&ad.options.aliases&&ad.options.aliases.length){for(aa=0;aa<ad.options.aliases.length;aa++){ac.push(ad.options.aliases[aa].toLowerCase())}}}i=D(ad.fn,"function")?ad.fn():ad.fn;for(Z=0;Z<ac.length;Z++){ab=ac[Z];af=ab.split(".");if(af.length===1){I[af[0]]=i}else{if(I[af[0]]&&!(I[af[0]]instanceof Boolean)){I[af[0]]=new Boolean(I[af[0]])}I[af[0]][af[1]]=i}f.push((i?"":"no-")+af.join("-"))}}}}var m="Moz O ms Webkit";var U=(R._config.usePrefixes?m.toLowerCase().split(" "):[]);R._domPrefixes=U;function G(){if(typeof d.createElement!=="function"){return d.createElement(arguments[0])}else{if(a){return d.createElementNS.call(d,"http://www.w3.org/2000/svg",arguments[0])}else{return d.createElement.apply(d,arguments)}}}var y=(function(aa){var Z=!("onblur" in d.documentElement);function i(ab,ad){var ac;if(!ab){return!1}if(!ad||typeof ad==="string"){ad=G(ad||"div")}ab="on"+ab;ac=ab in ad;if(!ac&&Z){if(!ad.setAttribute){ad=G("div")}ad.setAttribute(ab,"");ac=typeof ad[ab]==="function";if(ad[ab]!==aa){ad[ab]=aa}ad.removeAttribute(ab)}return ac}return i})();R.hasEvent=y;
/*!
{
  "name": "Hashchange event",
  "property": "hashchange",
  "caniuse": "hashchange",
  "tags": ["history"],
  "notes": [{
    "name": "MDN documentation",
    "href": "https://developer.mozilla.org/en-US/docs/Web/API/window.onhashchange"
  }],
  "polyfills": [
    "jquery-hashchange",
    "moo-historymanager",
    "jquery-ajaxy",
    "hasher",
    "shistory"
  ]
}
!*/
I.addTest("hashchange",function(){if(y("hashchange",N)===!1){return!1}return(d.documentMode===l||d.documentMode>7)});
/*!
{
  "name" : "HTML5 Audio Element",
  "property": "audio",
  "tags" : ["html5", "audio", "media"]
}
!*/
I.addTest("audio",function(){var Z=G("audio");var i=!1;try{if(i=!!Z.canPlayType){i=new Boolean(i);i.ogg=Z.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,"");i.mp3=Z.canPlayType('audio/mpeg; codecs="mp3"').replace(/^no$/,"");i.opus=Z.canPlayType('audio/ogg; codecs="opus"').replace(/^no$/,"");i.wav=Z.canPlayType('audio/wav; codecs="1"').replace(/^no$/,"");i.m4a=(Z.canPlayType("audio/x-m4a;")||Z.canPlayType("audio/aac;")).replace(/^no$/,"")}}catch(aa){}return i});
/*!
{
  "name": "Canvas",
  "property": "canvas",
  "caniuse": "canvas",
  "tags": ["canvas", "graphics"],
  "polyfills": ["flashcanvas", "excanvas", "slcanvas", "fxcanvas"]
}
!*/
I.addTest("canvas",function(){var i=G("canvas");return!!(i.getContext&&i.getContext("2d"))});
/*!
{
  "name": "Canvas text",
  "property": "canvastext",
  "caniuse": "canvas-text",
  "tags": ["canvas", "graphics"],
  "polyfills": ["canvastext"]
}
!*/
I.addTest("canvastext",function(){if(I.canvas===!1){return!1}return typeof G("canvas").getContext("2d").fillText=="function"});
/*!
{
  "name": "HTML5 Video",
  "property": "video",
  "caniuse": "video",
  "tags": ["html5"],
  "knownBugs": [
    "Without QuickTime, `Modernizr.video.h264` will be `undefined`; http://github.com/Modernizr/Modernizr/issues/546"
  ],
  "polyfills": [
    "html5media",
    "mediaelementjs",
    "sublimevideo",
    "videojs",
    "leanbackplayer",
    "videoforeverybody"
  ]
}
!*/
I.addTest("video",function(){var Z=G("video");var i=!1;try{if(i=!!Z.canPlayType){i=new Boolean(i);i.ogg=Z.canPlayType('video/ogg; codecs="theora"').replace(/^no$/,"");i.h264=Z.canPlayType('video/mp4; codecs="avc1.42E01E"').replace(/^no$/,"");i.webm=Z.canPlayType('video/webm; codecs="vp8, vorbis"').replace(/^no$/,"");i.vp9=Z.canPlayType('video/webm; codecs="vp9"').replace(/^no$/,"");i.hls=Z.canPlayType('application/x-mpegURL; codecs="avc1.42E01E"').replace(/^no$/,"")}}catch(aa){}return i});
/*!
{
  "name": "WebGL",
  "property": "webgl",
  "caniuse": "webgl",
  "tags": ["webgl", "graphics"],
  "polyfills": ["jebgl", "cwebgl", "iewebgl"]
}
!*/
I.addTest("webgl",function(){var Z=G("canvas");var i="probablySupportsContext" in Z?"probablySupportsContext":"supportsContext";if(i in Z){return Z[i]("webgl")||Z[i]("experimental-webgl")}return"WebGLRenderingContext" in N});
/*!
{
  "name": "CSS Gradients",
  "caniuse": "css-gradients",
  "property": "cssgradients",
  "tags": ["css"],
  "knownBugs": ["False-positives on webOS (https://github.com/Modernizr/Modernizr/issues/202)"],
  "notes": [{
    "name": "Webkit Gradient Syntax",
    "href": "http://webkit.org/blog/175/introducing-css-gradients/"
  },{
    "name": "Mozilla Linear Gradient Syntax",
    "href": "http://developer.mozilla.org/en/CSS/-moz-linear-gradient"
  },{
    "name": "Mozilla Radial Gradient Syntax",
    "href": "http://developer.mozilla.org/en/CSS/-moz-radial-gradient"
  },{
    "name": "W3C Gradient Spec",
    "href": "dev.w3.org/csswg/css3-images/#gradients-"
  }]
}
!*/
I.addTest("cssgradients",function(){var af="background-image:";var ae="gradient(linear,left top,right bottom,from(#9f9),to(white));";var ab="";var ag;for(var aa=0,Z=o.length-1;aa<Z;aa++){ag=(aa===0?"to ":"");ab+=af+o[aa]+"linear-gradient("+ag+"left top, #9f9, white);"}if(I._config.usePrefixes){ab+=af+"-webkit-"+ae}var ad=G("a");var ac=ad.style;ac.cssText=ab;return(""+ac.backgroundImage).indexOf("gradient")>-1});
/*!
{
  "name": "CSS Multiple Backgrounds",
  "caniuse": "multibackgrounds",
  "property": "multiplebgs",
  "tags": ["css"]
}
!*/
I.addTest("multiplebgs",function(){var i=G("a").style;i.cssText="background:url(https://),url(https://),red url(https://)";return(/(url\s*\(.*?){3}/).test(i.background)});
/*!
{
  "name": "CSS Opacity",
  "caniuse": "css-opacity",
  "property": "opacity",
  "tags": ["css"]
}
!*/
I.addTest("opacity",function(){var i=G("a").style;i.cssText=o.join("opacity:.55;");return(/^0.55$/).test(i.opacity)});
/*!
{
  "name": "CSS rgba",
  "caniuse": "css3-colors",
  "property": "rgba",
  "tags": ["css"],
  "notes": [{
    "name": "CSSTricks Tutorial",
    "href": "http://css-tricks.com/rgba-browser-support/"
  }]
}
!*/
I.addTest("rgba",function(){var i=G("a").style;i.cssText="background-color:rgba(150,255,150,.5)";return(""+i.backgroundColor).indexOf("rgba")>-1});
/*!
{
  "name": "Inline SVG",
  "property": "inlinesvg",
  "caniuse": "svg-html5",
  "tags": ["svg"],
  "notes": [{
    "name": "Test page",
    "href": "http://paulirish.com/demo/inline-svg"
  }, {
    "name": "Test page and results",
    "href": "http://codepen.io/eltonmesquita/full/GgXbvo/"
  }],
  "polyfills": ["inline-svg-polyfill"],
  "knownBugs": ["False negative on some Chromia browsers."]
}
!*/
I.addTest("inlinesvg",function(){var i=G("div");i.innerHTML="<svg/>";return(typeof SVGRect!="undefined"&&i.firstChild&&i.firstChild.namespaceURI)=="http://www.w3.org/2000/svg"});
/*!
{
  "name": "WebGL Extensions",
  "property": "webglextensions",
  "tags": ["webgl", "graphics"],
  "builderAliases": ["webgl_extensions"],
  "async" : true,
  "authors": ["Ilmari Heikkinen"],
  "knownBugs": [],
  "notes": [{
    "name": "Kronos extensions registry",
    "href": "http://www.khronos.org/registry/webgl/extensions/"
  }]
}
!*/
I.addAsyncTest(function(){I.webglextensions=new Boolean(!1);if(!I.webgl){return}var ab;var aa;var ad;try{ab=G("canvas");aa=ab.getContext("webgl")||ab.getContext("experimental-webgl");ad=aa.getSupportedExtensions()}catch(ae){return}if(aa!==l){I.webglextensions=new Boolean(!0)}for(var ac=-1,Z=ad.length;++ac<Z;){I.webglextensions[ad[ac]]=!0}ab=l});var J;(function(){var i=({}).hasOwnProperty;if(!D(i,"undefined")&&!D(i.call,"undefined")){J=function(Z,aa){return i.call(Z,aa)}}else{J=function(Z,aa){return((aa in Z)&&D(Z.constructor.prototype[aa],"undefined"))}}})();R._l={};R.on=function(Z,i){if(!this._l[Z]){this._l[Z]=[]}this._l[Z].push(i);if(I.hasOwnProperty(Z)){setTimeout(function(){I._trigger(Z,I[Z])},0)}};R._trigger=function(aa,Z){if(!this._l[aa]){return}var i=this._l[aa];setTimeout(function(){var ac,ab;for(ac=0;ac<i.length;ac++){ab=i[ac];ab(Z)}},0);delete this._l[aa]};function C(Z,ac){if(typeof Z=="object"){for(var i in Z){if(J(Z,i)){C(i,Z[i])}}}else{Z=Z.toLowerCase();var ab=Z.split(".");var aa=I[ab[0]];if(ab.length==2){aa=aa[ab[1]]}if(typeof aa!="undefined"){return I}ac=typeof ac=="function"?ac():ac;if(ab.length==1){I[ab[0]]=ac}else{if(I[ab[0]]&&!(I[ab[0]]instanceof Boolean)){I[ab[0]]=new Boolean(I[ab[0]])}I[ab[0]][ab[1]]=ac}b([(!!ac&&ac!=!1?"":"no-")+ab.join("-")]);I._trigger(Z,ac)}return I}I._q.push(function(){R.addTest=C});function z(i){return i.replace(/([a-z])-([a-z])/g,function(ab,aa,Z){return aa+Z.toUpperCase()}).replace(/^-/,"")}function H(Z,i){return!!~(""+Z).indexOf(i)}
/*!
{
  "name": "CSS HSLA Colors",
  "caniuse": "css3-colors",
  "property": "hsla",
  "tags": ["css"]
}
!*/
I.addTest("hsla",function(){var i=G("a").style;i.cssText="background-color:hsla(120,40%,100%,.5)";return H(i.backgroundColor,"rgba")||H(i.backgroundColor,"hsla")});var X=G("input");
/*!
{
  "name": "Input attributes",
  "property": "input",
  "tags": ["forms"],
  "authors": ["Mike Taylor"],
  "notes": [{
    "name": "WHATWG spec",
    "href": "http://www.whatwg.org/specs/web-apps/current-work/multipage/the-input-element.html#input-type-attr-summary"
  }],
  "knownBugs": ["Some blackberry devices report false positive for input.multiple"]
}
!*/
var O="autocomplete autofocus list placeholder max min multiple pattern required step".split(" ");var j={};I.input=(function(ab){for(var aa=0,Z=ab.length;aa<Z;aa++){j[ab[aa]]=!!(ab[aa]in X)}if(j.list){j.list=!!(G("datalist")&&N.HTMLDataListElement)}return j})(O);
/*!
{
  "name": "Form input types",
  "property": "inputtypes",
  "caniuse": "forms",
  "tags": ["forms"],
  "authors": ["Mike Taylor"],
  "polyfills": [
    "jquerytools",
    "webshims",
    "h5f",
    "webforms2",
    "nwxforms",
    "fdslider",
    "html5slider",
    "galleryhtml5forms",
    "jscolor",
    "html5formshim",
    "selectedoptionsjs",
    "formvalidationjs"
  ]
}
!*/
var s="search tel url email datetime date month week time datetime-local number range color".split(" ");var t={};I.inputtypes=(function(ad){var Z=ad.length;var ab=":)";var af;var ae;var aa;for(var ac=0;ac<Z;ac++){X.setAttribute("type",af=ad[ac]);aa=X.type!=="text"&&"style" in X;if(aa){X.value=ab;X.style.cssText="position:absolute;visibility:hidden;";if(/^range$/.test(af)&&X.style.WebkitAppearance!==l){Y.appendChild(X);ae=d.defaultView;aa=ae.getComputedStyle&&ae.getComputedStyle(X,null).WebkitAppearance!=="textfield"&&(X.offsetHeight!==0);Y.removeChild(X)}else{if(/^(search|tel)$/.test(af)){}else{if(/^(url|email|number)$/.test(af)){aa=X.checkValidity&&X.checkValidity()===!1}else{aa=X.value!=ab}}}}t[ad[ac]]=!!aa}return t})(s);
/*!
{
  "name": "CSS Supports",
  "property": "supports",
  "caniuse": "css-featurequeries",
  "tags": ["css"],
  "builderAliases": ["css_supports"],
  "notes": [{
    "name": "W3 Spec",
    "href": "http://dev.w3.org/csswg/css3-conditional/#at-supports"
  },{
    "name": "Related Github Issue",
    "href": "github.com/Modernizr/Modernizr/issues/648"
  },{
    "name": "W3 Info",
    "href": "http://dev.w3.org/csswg/css3-conditional/#the-csssupportsrule-interface"
  }]
}
!*/
var F="CSS" in N&&"supports" in N.CSS;var A="supportsCSS" in N;I.addTest("supports",F||A);var x=({}).toString;
/*!
{
  "name": "SVG clip paths",
  "property": "svgclippaths",
  "tags": ["svg"],
  "notes": [{
    "name": "Demo",
    "href": "http://srufaculty.sru.edu/david.dailey/svg/newstuff/clipPath4.svg"
  }]
}
!*/
I.addTest("svgclippaths",function(){return!!d.createElementNS&&/SVGClipPath/.test(x.call(d.createElementNS("http://www.w3.org/2000/svg","clipPath")))});
/*!
{
  "name": "SVG SMIL animation",
  "property": "smil",
  "caniuse": "svg-smil",
  "tags": ["svg"],
  "notes": [{
  "name": "W3C Synchronised Multimedia spec",
  "href": "http://www.w3.org/AudioVideo/"
  }]
}
!*/
I.addTest("smil",function(){return!!d.createElementNS&&/SVGAnimate/.test(x.call(d.createElementNS("http://www.w3.org/2000/svg","animate")))});var Q=(R._config.usePrefixes?m.split(" "):[]);R._cssomPrefixes=Q;var e=function(af){var ab=o.length;var ad=N.CSSRule;var ae;if(typeof ad==="undefined"){return l}if(!af){return!1}af=af.replace(/^@/,"");ae=af.replace(/-/g,"_").toUpperCase()+"_RULE";if(ae in ad){return"@"+af}for(var Z=0;Z<ab;Z++){var ac=o[Z];var aa=ac.toUpperCase()+"_"+ae;if(aa in ad){return"@-"+ac.toLowerCase()+"-"+af}}return!1};R.atRule=e;function V(){var i=d.body;if(!i){i=G(a?"svg":"body");i.fake=!0}return i}function r(af,ai,aa,ah){var ag="modernizr";var Z;var ae;var ab;var ac;var i=G("div");var ad=V();if(parseInt(aa,10)){while(aa--){ab=G("div");ab.id=ah?ah[aa]:ag+(aa+1);i.appendChild(ab)}}Z=G("style");Z.type="text/css";Z.id="s"+ag;(!ad.fake?i:ad).appendChild(Z);ad.appendChild(i);if(Z.styleSheet){Z.styleSheet.cssText=af}else{Z.appendChild(d.createTextNode(af))}i.id=ag;if(ad.fake){ad.style.background="";ad.style.overflow="hidden";ac=Y.style.overflow;Y.style.overflow="hidden";Y.appendChild(ad)}ae=ai(i,af);if(ad.fake){ad.parentNode.removeChild(ad);Y.style.overflow=ac;Y.offsetHeight}else{i.parentNode.removeChild(i)}return!!ae}var k=(function(){var i=N.matchMedia||N.msMatchMedia;if(i){return function(aa){var Z=i(aa);return Z&&Z.matches||!1}}return function(aa){var Z=!1;r("@media "+aa+" { #modernizr { position: absolute; } }",function(ab){Z=(N.getComputedStyle?N.getComputedStyle(ab,null):ab.currentStyle)["position"]=="absolute"});return Z}})();R.mq=k;var w=R.testStyles=r;
/*!
{
  "name": "Touch Events",
  "property": "touchevents",
  "caniuse" : "touch",
  "tags": ["media", "attribute"],
  "notes": [{
    "name": "Touch Events spec",
    "href": "http://www.w3.org/TR/2013/WD-touch-events-20130124/"
  }],
  "warnings": [
    "Indicates if the browser supports the Touch Events spec, and does not necessarily reflect a touchscreen device"
  ],
  "knownBugs": [
    "False-positive on some configurations of Nokia N900",
    "False-positive on some BlackBerry 6.0 builds � https://github.com/Modernizr/Modernizr/issues/372#issuecomment-3112695"
  ]
}
!*/
I.addTest("touchevents",function(){var i;if(("ontouchstart" in N)||N.DocumentTouch&&d instanceof DocumentTouch){i=!0}else{var Z=["@media (",o.join("touch-enabled),("),"heartz",")","{#modernizr{top:9px;position:absolute}}"].join("");w(Z,function(aa){i=aa.offsetTop===9})}return i});
/*!
{
  "name": "@font-face",
  "property": "fontface",
  "authors": ["Diego Perini", "Mat Marquis"],
  "tags": ["css"],
  "knownBugs": [
    "False Positive: WebOS http://github.com/Modernizr/Modernizr/issues/342",
    "False Postive: WP7 http://github.com/Modernizr/Modernizr/issues/538"
  ],
  "notes": [{
    "name": "@font-face detection routine by Diego Perini",
    "href": "http://javascript.nwbox.com/CSSSupport/"
  },{
    "name": "Filament Group @font-face compatibility research",
    "href": "https://docs.google.com/presentation/d/1n4NyG4uPRjAA8zn_pSQ_Ket0RhcWC6QlZ6LMjKeECo0/edit#slide=id.p"
  },{
    "name": "Filament Grunticon/@font-face device testing results",
    "href": "https://docs.google.com/spreadsheet/ccc?key=0Ag5_yGvxpINRdHFYeUJPNnZMWUZKR2ItMEpRTXZPdUE#gid=0"
  },{
    "name": "CSS fonts on Android",
    "href": "http://stackoverflow.com/questions/3200069/css-fonts-on-android"
  },{
    "name": "@font-face and Android",
    "href": "http://archivist.incutio.com/viewlist/css-discuss/115960"
  }]
}
!*/
var K=(function(){var ab=navigator.userAgent;var i=ab.match(/applewebkit\/([0-9]+)/gi)&&parseFloat(RegExp.$1);var aa=ab.match(/w(eb)?osbrowser/gi);var ac=ab.match(/windows phone/gi)&&ab.match(/iemobile\/([0-9])+/gi)&&parseFloat(RegExp.$1)>=9;var Z=i<533&&ab.match(/android/gi);return aa||Z||ac}());if(K){I.addTest("fontface",!1)}else{w('@font-face {font-family:"font";src:url("https://")}',function(ac,ad){var ab=d.getElementById("smodernizr");var Z=ab.sheet||ab.styleSheet;var aa=Z?(Z.cssRules&&Z.cssRules[0]?Z.cssRules[0].cssText:Z.cssText||""):"";var i=/src/i.test(aa)&&aa.indexOf(ad.split(" ")[0])===0;I.addTest("fontface",i)})}
/*!
{
  "name": "CSS Generated Content",
  "property": "generatedcontent",
  "tags": ["css"],
  "warnings": ["Android won't return correct height for anything below 7px #738"],
  "notes": [{
    "name": "W3C CSS Selectors Level 3 spec",
    "href": "http://www.w3.org/TR/css3-selectors/#gen-content"
  },{
    "name": "MDN article on :before",
    "href": "https://developer.mozilla.org/en-US/docs/Web/CSS/::before"
  },{
    "name": "MDN article on :after",
    "href": "https://developer.mozilla.org/en-US/docs/Web/CSS/::before"
  }]
}
!*/
w('#modernizr{font:0/0 a}#modernizr:after{content:":)";visibility:hidden;font:7px/1 a}',function(i){I.addTest("generatedcontent",i.offsetHeight>=7)});var T={elem:G("modernizr")};I._q.push(function(){delete T.elem});var P={style:T.elem.style};I._q.unshift(function(){delete P.style});function B(i,Z){return function(){return i.apply(Z,arguments)}}function v(aa,ad,ac){var ab;for(var Z in aa){if(aa[Z]in ad){if(ac===!1){return aa[Z]}ab=ad[aa[Z]];if(D(ab,"function")){return B(ab,ac||ad)}return ab}}return!1}function h(i){return i.replace(/([A-Z])/g,function(aa,Z){return"-"+Z.toLowerCase()}).replace(/^ms-/,"-ms-")}function E(aa,ab){var Z=aa.length;if("CSS" in N&&"supports" in N.CSS){while(Z--){if(N.CSS.supports(h(aa[Z]),ab)){return!0}}return!1}else{if("CSSSupportsRule" in N){var ac=[];while(Z--){ac.push("("+h(aa[Z])+":"+ab+")")}ac=ac.join(" or ");return r("@supports ("+ac+") { #modernizr { position: absolute; } }",function(i){return getComputedStyle(i,null).position=="absolute"})}}return l}function M(ag,ac,aj,ah){ah=D(ah,"undefined")?false:ah;if(!D(aj,"undefined")){var al=E(ag,aj);if(!D(al,"undefined")){return al}}var ak,ad,Z,ab,ai;var aa=["modernizr","tspan"];while(!P.style){ak=!0;P.modElem=G(aa.shift());P.style=P.modElem.style}function ae(){if(ak){delete P.style;delete P.modElem}}Z=ag.length;for(ad=0;ad<Z;ad++){ab=ag[ad];ai=P.style[ab];if(H(ab,"-")){ab=z(ab)}if(P.style[ab]!==l){if(!ah&&!D(aj,"undefined")){try{P.style[ab]=aj}catch(af){}if(P.style[ab]!=ai){ae();return ac=="pfx"?ab:!0}}else{ae();return ac=="pfx"?ab:!0}}}ae();return!1}var g=R.testProp=function(aa,Z,i){return M([aa],l,Z,i)};
/*!
{
  "name": "CSS textshadow",
  "property": "textshadow",
  "caniuse": "css-textshadow",
  "tags": ["css"],
  "knownBugs": ["FF3.0 will false positive on this test"]
}
!*/
I.addTest("textshadow",g("textShadow","1px 1px"));function q(ae,i,ab,ac,ad){var Z=ae.charAt(0).toUpperCase()+ae.slice(1),aa=(ae+" "+Q.join(Z+" ")+Z).split(" ");if(D(i,"string")||D(i,"undefined")){return M(aa,i,ac,ad)}else{aa=(ae+" "+(U).join(Z+" ")+Z).split(" ");return v(aa,i,ab)}}R.testAllProps=q;function n(aa,i,Z){return q(aa,l,l,i,Z)}R.testAllProps=n;
/*!
{
  "name": "CSS Animations",
  "property": "cssanimations",
  "caniuse": "css-animation",
  "polyfills": ["transformie", "csssandpaper"],
  "tags": ["css"],
  "warnings": ["Android < 4 will pass this test, but can only animate a single property at a time"],
  "notes": [{
    "name" : "Article: 'Dispelling the Android CSS animation myths'",
    "href": "http://goo.gl/OGw5Gm"
  }]
}
!*/
I.addTest("cssanimations",n("animationName","a",!0));
/*!
{
  "name": "Background Size",
  "property": "backgroundsize",
  "tags": ["css"],
  "knownBugs": ["This will false positive in Opera Mini - http://github.com/Modernizr/Modernizr/issues/396"],
  "notes": [{
    "name": "Related Issue",
    "href": "http://github.com/Modernizr/Modernizr/issues/396"
  }]
}
!*/
I.addTest("backgroundsize",n("backgroundSize","100%",!0));
/*!
{
  "name": "Background Size Cover",
  "property": "bgsizecover",
  "tags": ["css"],
  "builderAliases": ["css_backgroundsizecover"],
  "notes": [{
    "name" : "MDN Docs",
    "href": "http://developer.mozilla.org/en/CSS/background-size"
  }]
}
!*/
I.addTest("bgsizecover",n("backgroundSize","cover"));
/*!
{
  "name": "Border Image",
  "property": "borderimage",
  "caniuse": "border-image",
  "polyfills": ["css3pie"],
   "knownBugs": ["Android < 2.0 is true, but has a broken implementation"],
  "tags": ["css"]
}
!*/
I.addTest("borderimage",n("borderImage","url() 1",!0));
/*!
{
  "name": "Border Radius",
  "property": "borderradius",
  "caniuse": "border-radius",
  "polyfills": ["css3pie"],
  "tags": ["css"],
  "notes": [{
    "name": "Comprehensive Compat Chart",
    "href": "http://muddledramblings.com/table-of-css3-border-radius-compliance"
  }]
}
!*/
I.addTest("borderradius",n("borderRadius","0px",!0));
/*!
{
  "name": "Box Shadow",
  "property": "boxshadow",
  "caniuse": "css-boxshadow",
  "tags": ["css"],
  "knownBugs": [
    "WebOS false positives on this test.",
    "The Kindle Silk browser false positives"
  ]
}
!*/
I.addTest("boxshadow",n("boxShadow","1px 1px",!0));
/*!
{
  "name": "CSS Columns",
  "property": "csscolumns",
  "caniuse": "multicolumn",
  "polyfills": ["css3multicolumnjs"],
  "tags": ["css"]
}
!*/
(function(){I.addTest("csscolumns",function(){var i=!1;var ae=n("columnCount");try{if(i=!!ae){i=new Boolean(i)}}catch(ad){}return i});var ab=["Width","Span","Fill","Gap","Rule","RuleColor","RuleStyle","RuleWidth","BreakBefore","BreakAfter","BreakInside"];var Z,ac;for(var aa=0;aa<ab.length;aa++){Z=ab[aa].toLowerCase();ac=n("column"+ab[aa]);if(Z==="breakbefore"||Z==="breakafter"||Z=="breakinside"){ac=ac||n(ab[aa])}I.addTest("csscolumns."+Z,ac)}})();
/*!
{
  "name": "Flexbox",
  "property": "flexbox",
  "caniuse": "flexbox",
  "tags": ["css"],
  "notes": [{
    "name": "The _new_ flexbox",
    "href": "http://dev.w3.org/csswg/css3-flexbox"
  }],
  "warnings": [
    "A `true` result for this detect does not imply that the `flex-wrap` property is supported; see the `flexwrap` detect."
  ]
}
!*/
I.addTest("flexbox",n("flexBasis","1px",!0));
/*!
{
  "name": "CSS Reflections",
  "caniuse": "css-reflections",
  "property": "cssreflections",
  "tags": ["css"]
}
!*/
I.addTest("cssreflections",n("boxReflect","above",!0));
/*!
{
  "name": "CSS Transforms",
  "property": "csstransforms",
  "caniuse": "transforms2d",
  "tags": ["css"]
}
!*/
I.addTest("csstransforms",function(){return navigator.userAgent.indexOf("Android 2.")===-1&&n("transform","scale(1)",!0)});
/*!
{
  "name": "CSS Transforms 3D",
  "property": "csstransforms3d",
  "caniuse": "transforms3d",
  "tags": ["css"],
  "warnings": [
    "Chrome may occassionally fail this test on some systems; more info: https://code.google.com/p/chromium/issues/detail?id=129004"
  ]
}
!*/
I.addTest("csstransforms3d",function(){var Z=!!n("perspective","1px",!0);var i=I._config.usePrefixes;if(Z&&(!i||"webkitPerspective" in Y.style)){var aa;var ab="#modernizr{width:0;height:0}";if(I.supports){aa="@supports (perspective: 1px)"}else{aa="@media (transform-3d)";if(i){aa+=",(-webkit-transform-3d)"}}aa+="{#modernizr{width:7px;height:18px;margin:0;padding:0;border:0}}";w(ab+aa,function(ac){Z=ac.offsetWidth===7&&ac.offsetHeight===18})}return Z});
/*!
{
  "name": "CSS Transform Style preserve-3d",
  "property": "preserve3d",
  "authors": ["edmellum"],
  "tags": ["css"],
  "notes": [{
    "name": "MDN Docs",
    "href": "https://developer.mozilla.org/en-US/docs/Web/CSS/transform-style"
  },{
    "name": "Related Github Issue",
    "href": "https://github.com/Modernizr/Modernizr/issues/762"
  }]
}
!*/
I.addTest("preserve3d",n("transformStyle","preserve-3d"));
/*!
{
  "name": "CSS Transitions",
  "property": "csstransitions",
  "caniuse": "css-transitions",
  "tags": ["css"]
}
!*/
I.addTest("csstransitions",n("transition","all",!0));var u=R.prefixed=function(aa,Z,i){if(aa.indexOf("@")===0){return e(aa)}if(aa.indexOf("-")!=-1){aa=z(aa)}if(!Z){return q(aa,"pfx")}else{return q(aa,Z,i)}};
/*!
{
  "name": "IndexedDB",
  "property": "indexeddb",
  "caniuse": "indexeddb",
  "tags": ["storage"],
  "polyfills": ["indexeddb"]
}
!*/
var c=u("indexedDB",N);I.addTest("indexeddb",!!c);if(!!c){I.addTest("indexeddb.deletedatabase","deleteDatabase" in c)}
/*!
{
  "name": "requestAnimationFrame",
  "property": "requestanimationframe",
  "aliases": ["raf"],
  "caniuse": "requestanimationframe",
  "tags": ["animation"],
  "authors": ["Addy Osmani"],
  "notes": [{
    "name": "W3C spec",
    "href": "http://www.w3.org/TR/animation-timing/"
  }],
  "polyfills": ["raf"]
}
!*/
I.addTest("requestanimationframe",!!u("requestAnimationFrame",N),{aliases:["raf"]});W();b(f);delete R.addTest;delete R.addAsyncTest;for(var S=0;S<I._q.length;S++){I._q[S]()}N.Modernizr=I})(window,document);!function(a,b){"object"==typeof module&&module.exports?module.exports=b():"function"==typeof define&&define.amd?define(b):a.Spinner=b()}(this,function(){"use strict";function a(a,b){var c,d=document.createElement(a||"div");for(c in b)d[c]=b[c];return d}function b(a){for(var b=1,c=arguments.length;c>b;b++)a.appendChild(arguments[b]);return a}function c(a,b,c,d){var e=["opacity",b,~~(100*a),c,d].join("-"),f=.01+c/d*100,g=Math.max(1-(1-a)/b*(100-f),a),h=j.substring(0,j.indexOf("Animation")).toLowerCase(),i=h&&"-"+h+"-"||"";return m[e]||(k.insertRule("@"+i+"keyframes "+e+"{0%{opacity:"+g+"}"+f+"%{opacity:"+a+"}"+(f+.01)+"%{opacity:1}"+(f+b)%100+"%{opacity:"+a+"}100%{opacity:"+g+"}}",k.cssRules.length),m[e]=1),e}function d(a,b){var c,d,e=a.style;if(b=b.charAt(0).toUpperCase()+b.slice(1),void 0!==e[b])return b;for(d=0;d<l.length;d++)if(c=l[d]+b,void 0!==e[c])return c}function e(a,b){for(var c in b)a.style[d(a,c)||c]=b[c];return a}function f(a){for(var b=1;b<arguments.length;b++){var c=arguments[b];for(var d in c)void 0===a[d]&&(a[d]=c[d])}return a}function g(a,b){return"string"==typeof a?a:a[b%a.length]}function h(a){this.opts=f(a||{},h.defaults,n)}function i(){function c(b,c){return a("<"+b+' xmlns="urn:schemas-microsoft.com:vml" class="spin-vml">',c)}k.addRule(".spin-vml","behavior:url(#default#VML)"),h.prototype.lines=function(a,d){function f(){return e(c("group",{coordsize:k+" "+k,coordorigin:-j+" "+-j}),{width:k,height:k})}function h(a,h,i){b(m,b(e(f(),{rotation:360/d.lines*a+"deg",left:~~h}),b(e(c("roundrect",{arcsize:d.corners}),{width:j,height:d.scale*d.width,left:d.scale*d.radius,top:-d.scale*d.width>>1,filter:i}),c("fill",{color:g(d.color,a),opacity:d.opacity}),c("stroke",{opacity:0}))))}var i,j=d.scale*(d.length+d.width),k=2*d.scale*j,l=-(d.width+d.length)*d.scale*2+"px",m=e(f(),{position:"absolute",top:l,left:l});if(d.shadow)for(i=1;i<=d.lines;i++)h(i,-2,"progid:DXImageTransform.Microsoft.Blur(pixelradius=2,makeshadow=1,shadowopacity=.3)");for(i=1;i<=d.lines;i++)h(i);return b(a,m)},h.prototype.opacity=function(a,b,c,d){var e=a.firstChild;d=d.shadow&&d.lines||0,e&&b+d<e.childNodes.length&&(e=e.childNodes[b+d],e=e&&e.firstChild,e=e&&e.firstChild,e&&(e.opacity=c))}}var j,k,l=["webkit","Moz","ms","O"],m={},n={lines:12,length:7,width:5,radius:10,scale:1,corners:1,color:"#000",opacity:.25,rotate:0,direction:1,speed:1,trail:100,fps:20,zIndex:2e9,className:"spinner",top:"50%",left:"50%",shadow:!1,hwaccel:!1,position:"absolute"};if(h.defaults={},f(h.prototype,{spin:function(b){this.stop();var c=this,d=c.opts,f=c.el=a(null,{className:d.className});if(e(f,{position:d.position,width:0,zIndex:d.zIndex,left:d.left,top:d.top}),b&&b.insertBefore(f,b.firstChild||null),f.setAttribute("role","progressbar"),c.lines(f,c.opts),!j){var g,h=0,i=(d.lines-1)*(1-d.direction)/2,k=d.fps,l=k/d.speed,m=(1-d.opacity)/(l*d.trail/100),n=l/d.lines;!function o(){h++;for(var a=0;a<d.lines;a++)g=Math.max(1-(h+(d.lines-a)*n)%l*m,d.opacity),c.opacity(f,a*d.direction+i,g,d);c.timeout=c.el&&setTimeout(o,~~(1e3/k))}()}return c},stop:function(){var a=this.el;return a&&(clearTimeout(this.timeout),a.parentNode&&a.parentNode.removeChild(a),this.el=void 0),this},lines:function(d,f){function h(b,c){return e(a(),{position:"absolute",width:f.scale*(f.length+f.width)+"px",height:f.scale*f.width+"px",background:b,boxShadow:c,transformOrigin:"left",transform:"rotate("+~~(360/f.lines*k+f.rotate)+"deg) translate("+f.scale*f.radius+"px,0)",borderRadius:(f.corners*f.scale*f.width>>1)+"px"})}for(var i,k=0,l=(f.lines-1)*(1-f.direction)/2;k<f.lines;k++)i=e(a(),{position:"absolute",top:1+~(f.scale*f.width/2)+"px",transform:f.hwaccel?"translate3d(0,0,0)":"",opacity:f.opacity,animation:j&&c(f.opacity,f.trail,l+k*f.direction,f.lines)+" "+1/f.speed+"s linear infinite"}),f.shadow&&b(i,e(h("#000","0 0 4px #000"),{top:"2px"})),b(d,b(i,h(g(f.color,k),"0 0 1px rgba(0,0,0,.1)")));return d},opacity:function(a,b,c){b<a.childNodes.length&&(a.childNodes[b].style.opacity=c)}}),"undefined"!=typeof document){k=function(){var c=a("style",{type:"text/css"});return b(document.getElementsByTagName("head")[0],c),c.sheet||c.styleSheet}();var o=e(a("group"),{behavior:"url(#default#VML)"});!d(o,"transform")&&o.adj?i():j=d(o,"animation")}return h});/*!
 * Ladda 0.9.8 (2015-08-04, 11:23)
 * http://lab.hakim.se/ladda
 * MIT licensed
 *
 * Copyright (C) 2015 Hakim El Hattab, http://hakim.se
 */
(function(t,e){"object"==typeof exports?module.exports=e(require("spin.js")):"function"==typeof define&&define.amd?define(["spin"],e):t.Ladda=e(t.Spinner)})(this,function(t){"use strict";function e(t){if(t===void 0)return console.warn("Ladda button target must be defined."),void 0;if(/ladda-button/i.test(t.className)||(t.className+=" ladda-button"),t.hasAttribute("data-style")||t.setAttribute("data-style","expand-right"),!t.querySelector(".ladda-label")){var e=document.createElement("span");e.className="ladda-label",u(t,e)}var a,n=t.querySelector(".ladda-spinner");n||(n=document.createElement("span"),n.className="ladda-spinner"),t.appendChild(n);var r,i={start:function(){return a||(a=o(t)),t.setAttribute("disabled",""),t.setAttribute("data-loading",""),clearTimeout(r),a.spin(n),this.setProgress(0),this},startAfter:function(t){return clearTimeout(r),r=setTimeout(function(){i.start()},t),this},stop:function(){return t.removeAttribute("disabled"),t.removeAttribute("data-loading"),clearTimeout(r),a&&(r=setTimeout(function(){a.stop()},1e3)),this},toggle:function(){return this.isLoading()?this.stop():this.start(),this},setProgress:function(e){e=Math.max(Math.min(e,1),0);var a=t.querySelector(".ladda-progress");0===e&&a&&a.parentNode?a.parentNode.removeChild(a):(a||(a=document.createElement("div"),a.className="ladda-progress",t.appendChild(a)),a.style.width=(e||0)*t.offsetWidth+"px")},enable:function(){return this.stop(),this},disable:function(){return this.stop(),t.setAttribute("disabled",""),this},isLoading:function(){return t.hasAttribute("data-loading")},remove:function(){clearTimeout(r),t.removeAttribute("disabled",""),t.removeAttribute("data-loading",""),a&&(a.stop(),a=null);for(var e=0,n=d.length;n>e;e++)if(i===d[e]){d.splice(e,1);break}}};return d.push(i),i}function a(t,e){for(;t.parentNode&&t.tagName!==e;)t=t.parentNode;return e===t.tagName?t:void 0}function n(t){for(var e=["input","textarea","select"],a=[],n=0;e.length>n;n++)for(var r=t.getElementsByTagName(e[n]),i=0;r.length>i;i++)r[i].hasAttribute("required")&&a.push(r[i]);return a}function r(t,r){r=r||{};var i=[];"string"==typeof t?i=s(document.querySelectorAll(t)):"object"==typeof t&&"string"==typeof t.nodeName&&(i=[t]);for(var o=0,u=i.length;u>o;o++)(function(){var t=i[o];if("function"==typeof t.addEventListener){var s=e(t),u=-1;t.addEventListener("click",function(){var e=!0,i=a(t,"FORM");if(i!==void 0)for(var o=n(i),d=0;o.length>d;d++)""===o[d].value.replace(/^\s+|\s+$/g,"")&&(e=!1),"checkbox"!==o[d].type&&"radio"!==o[d].type||o[d].checked||(e=!1),"email"===o[d].type&&(e=/^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\.[a-zA-Z0-9-.]+$/.test(o[d].value));e&&(s.startAfter(1),"number"==typeof r.timeout&&(clearTimeout(u),u=setTimeout(s.stop,r.timeout)),"function"==typeof r.callback&&r.callback.apply(null,[s]))},!1)}})()}function i(){for(var t=0,e=d.length;e>t;t++)d[t].stop()}function o(e){var a,n,r=e.offsetHeight;0===r&&(r=parseFloat(window.getComputedStyle(e).height)),r>32&&(r*=.8),e.hasAttribute("data-spinner-size")&&(r=parseInt(e.getAttribute("data-spinner-size"),10)),e.hasAttribute("data-spinner-color")&&(a=e.getAttribute("data-spinner-color")),e.hasAttribute("data-spinner-lines")&&(n=parseInt(e.getAttribute("data-spinner-lines"),10));var i=.2*r,o=.6*i,s=7>i?2:3;return new t({color:a||"#fff",lines:n||12,radius:i,length:o,width:s,zIndex:"auto",top:"auto",left:"auto",className:""})}function s(t){for(var e=[],a=0;t.length>a;a++)e.push(t[a]);return e}function u(t,e){var a=document.createRange();a.selectNodeContents(t),a.surroundContents(e),t.appendChild(e)}var d=[];return{bind:r,create:e,stopAll:i}});!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.moment=t()}(this,function(){"use strict";var H;function f(){return H.apply(null,arguments)}function a(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function F(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function c(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function L(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;for(var t in e)if(c(e,t))return;return 1}function o(e){return void 0===e}function u(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function V(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function G(e,t){for(var n=[],s=e.length,i=0;i<s;++i)n.push(t(e[i],i));return n}function E(e,t){for(var n in t)c(t,n)&&(e[n]=t[n]);return c(t,"toString")&&(e.toString=t.toString),c(t,"valueOf")&&(e.valueOf=t.valueOf),e}function l(e,t,n,s){return Pt(e,t,n,s,!0).utc()}function m(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function A(e){if(null==e._isValid){var t=m(e),n=j.call(t.parsedDateParts,function(e){return null!=e}),n=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(n=n&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return n;e._isValid=n}return e._isValid}function I(e){var t=l(NaN);return null!=e?E(m(t),e):m(t).userInvalidated=!0,t}var j=Array.prototype.some||function(e){for(var t=Object(this),n=t.length>>>0,s=0;s<n;s++)if(s in t&&e.call(this,t[s],s,t))return!0;return!1},Z=f.momentProperties=[],z=!1;function $(e,t){var n,s,i,r=Z.length;if(o(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),o(t._i)||(e._i=t._i),o(t._f)||(e._f=t._f),o(t._l)||(e._l=t._l),o(t._strict)||(e._strict=t._strict),o(t._tzm)||(e._tzm=t._tzm),o(t._isUTC)||(e._isUTC=t._isUTC),o(t._offset)||(e._offset=t._offset),o(t._pf)||(e._pf=m(t)),o(t._locale)||(e._locale=t._locale),0<r)for(n=0;n<r;n++)o(i=t[s=Z[n]])||(e[s]=i);return e}function q(e){$(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===z&&(z=!0,f.updateOffset(this),z=!1)}function h(e){return e instanceof q||null!=e&&null!=e._isAMomentObject}function B(e){!1===f.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function e(r,a){var o=!0;return E(function(){if(null!=f.deprecationHandler&&f.deprecationHandler(null,r),o){for(var e,t,n=[],s=arguments.length,i=0;i<s;i++){if(e="","object"==typeof arguments[i]){for(t in e+="\n["+i+"] ",arguments[0])c(arguments[0],t)&&(e+=t+": "+arguments[0][t]+", ");e=e.slice(0,-2)}else e=arguments[i];n.push(e)}B(r+"\nArguments: "+Array.prototype.slice.call(n).join("")+"\n"+(new Error).stack),o=!1}return a.apply(this,arguments)},a)}var J={};function Q(e,t){null!=f.deprecationHandler&&f.deprecationHandler(e,t),J[e]||(B(t),J[e]=!0)}function d(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function X(e,t){var n,s=E({},e);for(n in t)c(t,n)&&(F(e[n])&&F(t[n])?(s[n]={},E(s[n],e[n]),E(s[n],t[n])):null!=t[n]?s[n]=t[n]:delete s[n]);for(n in e)c(e,n)&&!c(t,n)&&F(e[n])&&(s[n]=E({},s[n]));return s}function K(e){null!=e&&this.set(e)}f.suppressDeprecationWarnings=!1,f.deprecationHandler=null;var ee=Object.keys||function(e){var t,n=[];for(t in e)c(e,t)&&n.push(t);return n};function r(e,t,n){var s=""+Math.abs(e);return(0<=e?n?"+":"":"-")+Math.pow(10,Math.max(0,t-s.length)).toString().substr(1)+s}var te=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,ne=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,se={},ie={};function s(e,t,n,s){var i="string"==typeof s?function(){return this[s]()}:s;e&&(ie[e]=i),t&&(ie[t[0]]=function(){return r(i.apply(this,arguments),t[1],t[2])}),n&&(ie[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function re(e,t){return e.isValid()?(t=ae(t,e.localeData()),se[t]=se[t]||function(s){for(var e,i=s.match(te),t=0,r=i.length;t<r;t++)ie[i[t]]?i[t]=ie[i[t]]:i[t]=(e=i[t]).match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"");return function(e){for(var t="",n=0;n<r;n++)t+=d(i[n])?i[n].call(e,s):i[n];return t}}(t),se[t](e)):e.localeData().invalidDate()}function ae(e,t){var n=5;function s(e){return t.longDateFormat(e)||e}for(ne.lastIndex=0;0<=n&&ne.test(e);)e=e.replace(ne,s),ne.lastIndex=0,--n;return e}var oe={};function t(e,t){var n=e.toLowerCase();oe[n]=oe[n+"s"]=oe[t]=e}function _(e){return"string"==typeof e?oe[e]||oe[e.toLowerCase()]:void 0}function ue(e){var t,n,s={};for(n in e)c(e,n)&&(t=_(n))&&(s[t]=e[n]);return s}var le={};function n(e,t){le[e]=t}function he(e){return e%4==0&&e%100!=0||e%400==0}function y(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function g(e){var e=+e,t=0;return t=0!=e&&isFinite(e)?y(e):t}function de(t,n){return function(e){return null!=e?(fe(this,t,e),f.updateOffset(this,n),this):ce(this,t)}}function ce(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function fe(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&he(e.year())&&1===e.month()&&29===e.date()?(n=g(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),We(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}var i=/\d/,w=/\d\d/,me=/\d{3}/,_e=/\d{4}/,ye=/[+-]?\d{6}/,p=/\d\d?/,ge=/\d\d\d\d?/,we=/\d\d\d\d\d\d?/,pe=/\d{1,3}/,ke=/\d{1,4}/,ve=/[+-]?\d{1,6}/,Me=/\d+/,De=/[+-]?\d+/,Se=/Z|[+-]\d\d:?\d\d/gi,Ye=/Z|[+-]\d\d(?::?\d\d)?/gi,k=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function v(e,n,s){be[e]=d(n)?n:function(e,t){return e&&s?s:n}}function Oe(e,t){return c(be,e)?be[e](t._strict,t._locale):new RegExp(M(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,s,i){return t||n||s||i})))}function M(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var be={},xe={};function D(e,n){var t,s,i=n;for("string"==typeof e&&(e=[e]),u(n)&&(i=function(e,t){t[n]=g(e)}),s=e.length,t=0;t<s;t++)xe[e[t]]=i}function Te(e,i){D(e,function(e,t,n,s){n._w=n._w||{},i(e,n._w,n,s)})}var S,Y=0,O=1,b=2,x=3,T=4,N=5,Ne=6,Pe=7,Re=8;function We(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=(t%(n=12)+n)%n;return e+=(t-n)/12,1==n?he(e)?29:28:31-n%7%2}S=Array.prototype.indexOf||function(e){for(var t=0;t<this.length;++t)if(this[t]===e)return t;return-1},s("M",["MM",2],"Mo",function(){return this.month()+1}),s("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),s("MMMM",0,0,function(e){return this.localeData().months(this,e)}),t("month","M"),n("month",8),v("M",p),v("MM",p,w),v("MMM",function(e,t){return t.monthsShortRegex(e)}),v("MMMM",function(e,t){return t.monthsRegex(e)}),D(["M","MM"],function(e,t){t[O]=g(e)-1}),D(["MMM","MMMM"],function(e,t,n,s){s=n._locale.monthsParse(e,s,n._strict);null!=s?t[O]=s:m(n).invalidMonth=e});var Ce="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Ue="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),He=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Fe=k,Le=k;function Ve(e,t){var n;if(e.isValid()){if("string"==typeof t)if(/^\d+$/.test(t))t=g(t);else if(!u(t=e.localeData().monthsParse(t)))return;n=Math.min(e.date(),We(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n)}}function Ge(e){return null!=e?(Ve(this,e),f.updateOffset(this,!0),this):ce(this,"Month")}function Ee(){function e(e,t){return t.length-e.length}for(var t,n=[],s=[],i=[],r=0;r<12;r++)t=l([2e3,r]),n.push(this.monthsShort(t,"")),s.push(this.months(t,"")),i.push(this.months(t,"")),i.push(this.monthsShort(t,""));for(n.sort(e),s.sort(e),i.sort(e),r=0;r<12;r++)n[r]=M(n[r]),s[r]=M(s[r]);for(r=0;r<24;r++)i[r]=M(i[r]);this._monthsRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+n.join("|")+")","i")}function Ae(e){return he(e)?366:365}s("Y",0,0,function(){var e=this.year();return e<=9999?r(e,4):"+"+e}),s(0,["YY",2],0,function(){return this.year()%100}),s(0,["YYYY",4],0,"year"),s(0,["YYYYY",5],0,"year"),s(0,["YYYYYY",6,!0],0,"year"),t("year","y"),n("year",1),v("Y",De),v("YY",p,w),v("YYYY",ke,_e),v("YYYYY",ve,ye),v("YYYYYY",ve,ye),D(["YYYYY","YYYYYY"],Y),D("YYYY",function(e,t){t[Y]=2===e.length?f.parseTwoDigitYear(e):g(e)}),D("YY",function(e,t){t[Y]=f.parseTwoDigitYear(e)}),D("Y",function(e,t){t[Y]=parseInt(e,10)}),f.parseTwoDigitYear=function(e){return g(e)+(68<g(e)?1900:2e3)};var Ie=de("FullYear",!0);function je(e,t,n,s,i,r,a){var o;return e<100&&0<=e?(o=new Date(e+400,t,n,s,i,r,a),isFinite(o.getFullYear())&&o.setFullYear(e)):o=new Date(e,t,n,s,i,r,a),o}function Ze(e){var t;return e<100&&0<=e?((t=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,t)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function ze(e,t,n){n=7+t-n;return n-(7+Ze(e,0,n).getUTCDay()-t)%7-1}function $e(e,t,n,s,i){var r,t=1+7*(t-1)+(7+n-s)%7+ze(e,s,i),n=t<=0?Ae(r=e-1)+t:t>Ae(e)?(r=e+1,t-Ae(e)):(r=e,t);return{year:r,dayOfYear:n}}function qe(e,t,n){var s,i,r=ze(e.year(),t,n),r=Math.floor((e.dayOfYear()-r-1)/7)+1;return r<1?s=r+P(i=e.year()-1,t,n):r>P(e.year(),t,n)?(s=r-P(e.year(),t,n),i=e.year()+1):(i=e.year(),s=r),{week:s,year:i}}function P(e,t,n){var s=ze(e,t,n),t=ze(e+1,t,n);return(Ae(e)-s+t)/7}s("w",["ww",2],"wo","week"),s("W",["WW",2],"Wo","isoWeek"),t("week","w"),t("isoWeek","W"),n("week",5),n("isoWeek",5),v("w",p),v("ww",p,w),v("W",p),v("WW",p,w),Te(["w","ww","W","WW"],function(e,t,n,s){t[s.substr(0,1)]=g(e)});function Be(e,t){return e.slice(t,7).concat(e.slice(0,t))}s("d",0,"do","day"),s("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),s("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),s("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),s("e",0,0,"weekday"),s("E",0,0,"isoWeekday"),t("day","d"),t("weekday","e"),t("isoWeekday","E"),n("day",11),n("weekday",11),n("isoWeekday",11),v("d",p),v("e",p),v("E",p),v("dd",function(e,t){return t.weekdaysMinRegex(e)}),v("ddd",function(e,t){return t.weekdaysShortRegex(e)}),v("dddd",function(e,t){return t.weekdaysRegex(e)}),Te(["dd","ddd","dddd"],function(e,t,n,s){s=n._locale.weekdaysParse(e,s,n._strict);null!=s?t.d=s:m(n).invalidWeekday=e}),Te(["d","e","E"],function(e,t,n,s){t[s]=g(e)});var Je="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Qe="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Xe="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Ke=k,et=k,tt=k;function nt(){function e(e,t){return t.length-e.length}for(var t,n,s,i=[],r=[],a=[],o=[],u=0;u<7;u++)s=l([2e3,1]).day(u),t=M(this.weekdaysMin(s,"")),n=M(this.weekdaysShort(s,"")),s=M(this.weekdays(s,"")),i.push(t),r.push(n),a.push(s),o.push(t),o.push(n),o.push(s);i.sort(e),r.sort(e),a.sort(e),o.sort(e),this._weekdaysRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+i.join("|")+")","i")}function st(){return this.hours()%12||12}function it(e,t){s(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function rt(e,t){return t._meridiemParse}s("H",["HH",2],0,"hour"),s("h",["hh",2],0,st),s("k",["kk",2],0,function(){return this.hours()||24}),s("hmm",0,0,function(){return""+st.apply(this)+r(this.minutes(),2)}),s("hmmss",0,0,function(){return""+st.apply(this)+r(this.minutes(),2)+r(this.seconds(),2)}),s("Hmm",0,0,function(){return""+this.hours()+r(this.minutes(),2)}),s("Hmmss",0,0,function(){return""+this.hours()+r(this.minutes(),2)+r(this.seconds(),2)}),it("a",!0),it("A",!1),t("hour","h"),n("hour",13),v("a",rt),v("A",rt),v("H",p),v("h",p),v("k",p),v("HH",p,w),v("hh",p,w),v("kk",p,w),v("hmm",ge),v("hmmss",we),v("Hmm",ge),v("Hmmss",we),D(["H","HH"],x),D(["k","kk"],function(e,t,n){e=g(e);t[x]=24===e?0:e}),D(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),D(["h","hh"],function(e,t,n){t[x]=g(e),m(n).bigHour=!0}),D("hmm",function(e,t,n){var s=e.length-2;t[x]=g(e.substr(0,s)),t[T]=g(e.substr(s)),m(n).bigHour=!0}),D("hmmss",function(e,t,n){var s=e.length-4,i=e.length-2;t[x]=g(e.substr(0,s)),t[T]=g(e.substr(s,2)),t[N]=g(e.substr(i)),m(n).bigHour=!0}),D("Hmm",function(e,t,n){var s=e.length-2;t[x]=g(e.substr(0,s)),t[T]=g(e.substr(s))}),D("Hmmss",function(e,t,n){var s=e.length-4,i=e.length-2;t[x]=g(e.substr(0,s)),t[T]=g(e.substr(s,2)),t[N]=g(e.substr(i))});k=de("Hours",!0);var at,ot={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Ce,monthsShort:Ue,week:{dow:0,doy:6},weekdays:Je,weekdaysMin:Xe,weekdaysShort:Qe,meridiemParse:/[ap]\.?m?\.?/i},R={},ut={};function lt(e){return e&&e.toLowerCase().replace("_","-")}function ht(e){for(var t,n,s,i,r=0;r<e.length;){for(t=(i=lt(e[r]).split("-")).length,n=(n=lt(e[r+1]))?n.split("-"):null;0<t;){if(s=dt(i.slice(0,t).join("-")))return s;if(n&&n.length>=t&&function(e,t){for(var n=Math.min(e.length,t.length),s=0;s<n;s+=1)if(e[s]!==t[s])return s;return n}(i,n)>=t-1)break;t--}r++}return at}function dt(t){var e;if(void 0===R[t]&&"undefined"!=typeof module&&module&&module.exports&&null!=t.match("^[^/\\\\]*$"))try{e=at._abbr,require("./locale/"+t),ct(e)}catch(e){R[t]=null}return R[t]}function ct(e,t){return e&&((t=o(t)?mt(e):ft(e,t))?at=t:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),at._abbr}function ft(e,t){if(null===t)return delete R[e],null;var n,s=ot;if(t.abbr=e,null!=R[e])Q("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),s=R[e]._config;else if(null!=t.parentLocale)if(null!=R[t.parentLocale])s=R[t.parentLocale]._config;else{if(null==(n=dt(t.parentLocale)))return ut[t.parentLocale]||(ut[t.parentLocale]=[]),ut[t.parentLocale].push({name:e,config:t}),null;s=n._config}return R[e]=new K(X(s,t)),ut[e]&&ut[e].forEach(function(e){ft(e.name,e.config)}),ct(e),R[e]}function mt(e){var t;if(!(e=e&&e._locale&&e._locale._abbr?e._locale._abbr:e))return at;if(!a(e)){if(t=dt(e))return t;e=[e]}return ht(e)}function _t(e){var t=e._a;return t&&-2===m(e).overflow&&(t=t[O]<0||11<t[O]?O:t[b]<1||t[b]>We(t[Y],t[O])?b:t[x]<0||24<t[x]||24===t[x]&&(0!==t[T]||0!==t[N]||0!==t[Ne])?x:t[T]<0||59<t[T]?T:t[N]<0||59<t[N]?N:t[Ne]<0||999<t[Ne]?Ne:-1,m(e)._overflowDayOfYear&&(t<Y||b<t)&&(t=b),m(e)._overflowWeeks&&-1===t&&(t=Pe),m(e)._overflowWeekday&&-1===t&&(t=Re),m(e).overflow=t),e}var yt=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,gt=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,wt=/Z|[+-]\d\d(?::?\d\d)?/,pt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],kt=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],vt=/^\/?Date\((-?\d+)/i,Mt=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Dt={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function St(e){var t,n,s,i,r,a,o=e._i,u=yt.exec(o)||gt.exec(o),o=pt.length,l=kt.length;if(u){for(m(e).iso=!0,t=0,n=o;t<n;t++)if(pt[t][1].exec(u[1])){i=pt[t][0],s=!1!==pt[t][2];break}if(null==i)e._isValid=!1;else{if(u[3]){for(t=0,n=l;t<n;t++)if(kt[t][1].exec(u[3])){r=(u[2]||" ")+kt[t][0];break}if(null==r)return void(e._isValid=!1)}if(s||null==r){if(u[4]){if(!wt.exec(u[4]))return void(e._isValid=!1);a="Z"}e._f=i+(r||"")+(a||""),Tt(e)}else e._isValid=!1}}else e._isValid=!1}function Yt(e,t,n,s,i,r){e=[function(e){e=parseInt(e,10);{if(e<=49)return 2e3+e;if(e<=999)return 1900+e}return e}(e),Ue.indexOf(t),parseInt(n,10),parseInt(s,10),parseInt(i,10)];return r&&e.push(parseInt(r,10)),e}function Ot(e){var t,n,s,i,r=Mt.exec(e._i.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));r?(t=Yt(r[4],r[3],r[2],r[5],r[6],r[7]),n=r[1],s=t,i=e,n&&Qe.indexOf(n)!==new Date(s[0],s[1],s[2]).getDay()?(m(i).weekdayMismatch=!0,i._isValid=!1):(e._a=t,e._tzm=(n=r[8],s=r[9],i=r[10],n?Dt[n]:s?0:60*(((n=parseInt(i,10))-(s=n%100))/100)+s),e._d=Ze.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),m(e).rfc2822=!0)):e._isValid=!1}function bt(e,t,n){return null!=e?e:null!=t?t:n}function xt(e){var t,n,s,i,r,a,o,u,l,h,d,c=[];if(!e._d){for(s=e,i=new Date(f.now()),n=s._useUTC?[i.getUTCFullYear(),i.getUTCMonth(),i.getUTCDate()]:[i.getFullYear(),i.getMonth(),i.getDate()],e._w&&null==e._a[b]&&null==e._a[O]&&(null!=(i=(s=e)._w).GG||null!=i.W||null!=i.E?(u=1,l=4,r=bt(i.GG,s._a[Y],qe(W(),1,4).year),a=bt(i.W,1),((o=bt(i.E,1))<1||7<o)&&(h=!0)):(u=s._locale._week.dow,l=s._locale._week.doy,d=qe(W(),u,l),r=bt(i.gg,s._a[Y],d.year),a=bt(i.w,d.week),null!=i.d?((o=i.d)<0||6<o)&&(h=!0):null!=i.e?(o=i.e+u,(i.e<0||6<i.e)&&(h=!0)):o=u),a<1||a>P(r,u,l)?m(s)._overflowWeeks=!0:null!=h?m(s)._overflowWeekday=!0:(d=$e(r,a,o,u,l),s._a[Y]=d.year,s._dayOfYear=d.dayOfYear)),null!=e._dayOfYear&&(i=bt(e._a[Y],n[Y]),(e._dayOfYear>Ae(i)||0===e._dayOfYear)&&(m(e)._overflowDayOfYear=!0),h=Ze(i,0,e._dayOfYear),e._a[O]=h.getUTCMonth(),e._a[b]=h.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=c[t]=n[t];for(;t<7;t++)e._a[t]=c[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[x]&&0===e._a[T]&&0===e._a[N]&&0===e._a[Ne]&&(e._nextDay=!0,e._a[x]=0),e._d=(e._useUTC?Ze:je).apply(null,c),r=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[x]=24),e._w&&void 0!==e._w.d&&e._w.d!==r&&(m(e).weekdayMismatch=!0)}}function Tt(e){if(e._f===f.ISO_8601)St(e);else if(e._f===f.RFC_2822)Ot(e);else{e._a=[],m(e).empty=!0;for(var t,n,s,i,r,a=""+e._i,o=a.length,u=0,l=ae(e._f,e._locale).match(te)||[],h=l.length,d=0;d<h;d++)n=l[d],(t=(a.match(Oe(n,e))||[])[0])&&(0<(s=a.substr(0,a.indexOf(t))).length&&m(e).unusedInput.push(s),a=a.slice(a.indexOf(t)+t.length),u+=t.length),ie[n]?(t?m(e).empty=!1:m(e).unusedTokens.push(n),s=n,r=e,null!=(i=t)&&c(xe,s)&&xe[s](i,r._a,r,s)):e._strict&&!t&&m(e).unusedTokens.push(n);m(e).charsLeftOver=o-u,0<a.length&&m(e).unusedInput.push(a),e._a[x]<=12&&!0===m(e).bigHour&&0<e._a[x]&&(m(e).bigHour=void 0),m(e).parsedDateParts=e._a.slice(0),m(e).meridiem=e._meridiem,e._a[x]=function(e,t,n){if(null==n)return t;return null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((e=e.isPM(n))&&t<12&&(t+=12),t=e||12!==t?t:0):t}(e._locale,e._a[x],e._meridiem),null!==(o=m(e).era)&&(e._a[Y]=e._locale.erasConvertYear(o,e._a[Y])),xt(e),_t(e)}}function Nt(e){var t,n,s,i=e._i,r=e._f;if(e._locale=e._locale||mt(e._l),null===i||void 0===r&&""===i)return I({nullInput:!0});if("string"==typeof i&&(e._i=i=e._locale.preparse(i)),h(i))return new q(_t(i));if(V(i))e._d=i;else if(a(r))!function(e){var t,n,s,i,r,a,o=!1,u=e._f.length;if(0===u)return m(e).invalidFormat=!0,e._d=new Date(NaN);for(i=0;i<u;i++)r=0,a=!1,t=$({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],Tt(t),A(t)&&(a=!0),r=(r+=m(t).charsLeftOver)+10*m(t).unusedTokens.length,m(t).score=r,o?r<s&&(s=r,n=t):(null==s||r<s||a)&&(s=r,n=t,a&&(o=!0));E(e,n||t)}(e);else if(r)Tt(e);else if(o(r=(i=e)._i))i._d=new Date(f.now());else V(r)?i._d=new Date(r.valueOf()):"string"==typeof r?(n=i,null!==(t=vt.exec(n._i))?n._d=new Date(+t[1]):(St(n),!1===n._isValid&&(delete n._isValid,Ot(n),!1===n._isValid&&(delete n._isValid,n._strict?n._isValid=!1:f.createFromInputFallback(n))))):a(r)?(i._a=G(r.slice(0),function(e){return parseInt(e,10)}),xt(i)):F(r)?(t=i)._d||(s=void 0===(n=ue(t._i)).day?n.date:n.day,t._a=G([n.year,n.month,s,n.hour,n.minute,n.second,n.millisecond],function(e){return e&&parseInt(e,10)}),xt(t)):u(r)?i._d=new Date(r):f.createFromInputFallback(i);return A(e)||(e._d=null),e}function Pt(e,t,n,s,i){var r={};return!0!==t&&!1!==t||(s=t,t=void 0),!0!==n&&!1!==n||(s=n,n=void 0),(F(e)&&L(e)||a(e)&&0===e.length)&&(e=void 0),r._isAMomentObject=!0,r._useUTC=r._isUTC=i,r._l=n,r._i=e,r._f=t,r._strict=s,(i=new q(_t(Nt(i=r))))._nextDay&&(i.add(1,"d"),i._nextDay=void 0),i}function W(e,t,n,s){return Pt(e,t,n,s,!1)}f.createFromInputFallback=e("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),f.ISO_8601=function(){},f.RFC_2822=function(){};ge=e("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=W.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:I()}),we=e("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=W.apply(null,arguments);return this.isValid()&&e.isValid()?this<e?this:e:I()});function Rt(e,t){var n,s;if(!(t=1===t.length&&a(t[0])?t[0]:t).length)return W();for(n=t[0],s=1;s<t.length;++s)t[s].isValid()&&!t[s][e](n)||(n=t[s]);return n}var Wt=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Ct(e){var e=ue(e),t=e.year||0,n=e.quarter||0,s=e.month||0,i=e.week||e.isoWeek||0,r=e.day||0,a=e.hour||0,o=e.minute||0,u=e.second||0,l=e.millisecond||0;this._isValid=function(e){var t,n,s=!1,i=Wt.length;for(t in e)if(c(e,t)&&(-1===S.call(Wt,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<i;++n)if(e[Wt[n]]){if(s)return!1;parseFloat(e[Wt[n]])!==g(e[Wt[n]])&&(s=!0)}return!0}(e),this._milliseconds=+l+1e3*u+6e4*o+1e3*a*60*60,this._days=+r+7*i,this._months=+s+3*n+12*t,this._data={},this._locale=mt(),this._bubble()}function Ut(e){return e instanceof Ct}function Ht(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Ft(e,n){s(e,0,0,function(){var e=this.utcOffset(),t="+";return e<0&&(e=-e,t="-"),t+r(~~(e/60),2)+n+r(~~e%60,2)})}Ft("Z",":"),Ft("ZZ",""),v("Z",Ye),v("ZZ",Ye),D(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Vt(Ye,e)});var Lt=/([\+\-]|\d\d)/gi;function Vt(e,t){var t=(t||"").match(e);return null===t?null:0===(t=60*(e=((t[t.length-1]||[])+"").match(Lt)||["-",0,0])[1]+g(e[2]))?0:"+"===e[0]?t:-t}function Gt(e,t){var n;return t._isUTC?(t=t.clone(),n=(h(e)||V(e)?e:W(e)).valueOf()-t.valueOf(),t._d.setTime(t._d.valueOf()+n),f.updateOffset(t,!1),t):W(e).local()}function Et(e){return-Math.round(e._d.getTimezoneOffset())}function At(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}f.updateOffset=function(){};var It=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,jt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function C(e,t){var n,s=e,i=null;return Ut(e)?s={ms:e._milliseconds,d:e._days,M:e._months}:u(e)||!isNaN(+e)?(s={},t?s[t]=+e:s.milliseconds=+e):(i=It.exec(e))?(n="-"===i[1]?-1:1,s={y:0,d:g(i[b])*n,h:g(i[x])*n,m:g(i[T])*n,s:g(i[N])*n,ms:g(Ht(1e3*i[Ne]))*n}):(i=jt.exec(e))?(n="-"===i[1]?-1:1,s={y:Zt(i[2],n),M:Zt(i[3],n),w:Zt(i[4],n),d:Zt(i[5],n),h:Zt(i[6],n),m:Zt(i[7],n),s:Zt(i[8],n)}):null==s?s={}:"object"==typeof s&&("from"in s||"to"in s)&&(t=function(e,t){var n;if(!e.isValid()||!t.isValid())return{milliseconds:0,months:0};t=Gt(t,e),e.isBefore(t)?n=zt(e,t):((n=zt(t,e)).milliseconds=-n.milliseconds,n.months=-n.months);return n}(W(s.from),W(s.to)),(s={}).ms=t.milliseconds,s.M=t.months),i=new Ct(s),Ut(e)&&c(e,"_locale")&&(i._locale=e._locale),Ut(e)&&c(e,"_isValid")&&(i._isValid=e._isValid),i}function Zt(e,t){e=e&&parseFloat(e.replace(",","."));return(isNaN(e)?0:e)*t}function zt(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function $t(s,i){return function(e,t){var n;return null===t||isNaN(+t)||(Q(i,"moment()."+i+"(period, number) is deprecated. Please use moment()."+i+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),n=e,e=t,t=n),qt(this,C(e,t),s),this}}function qt(e,t,n,s){var i=t._milliseconds,r=Ht(t._days),t=Ht(t._months);e.isValid()&&(s=null==s||s,t&&Ve(e,ce(e,"Month")+t*n),r&&fe(e,"Date",ce(e,"Date")+r*n),i&&e._d.setTime(e._d.valueOf()+i*n),s&&f.updateOffset(e,r||t))}C.fn=Ct.prototype,C.invalid=function(){return C(NaN)};Ce=$t(1,"add"),Je=$t(-1,"subtract");function Bt(e){return"string"==typeof e||e instanceof String}function Jt(e){return h(e)||V(e)||Bt(e)||u(e)||function(t){var e=a(t),n=!1;e&&(n=0===t.filter(function(e){return!u(e)&&Bt(t)}).length);return e&&n}(e)||function(e){var t,n,s=F(e)&&!L(e),i=!1,r=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],a=r.length;for(t=0;t<a;t+=1)n=r[t],i=i||c(e,n);return s&&i}(e)||null==e}function Qt(e,t){if(e.date()<t.date())return-Qt(t,e);var n=12*(t.year()-e.year())+(t.month()-e.month()),s=e.clone().add(n,"months"),t=t-s<0?(t-s)/(s-e.clone().add(n-1,"months")):(t-s)/(e.clone().add(1+n,"months")-s);return-(n+t)||0}function Xt(e){return void 0===e?this._locale._abbr:(null!=(e=mt(e))&&(this._locale=e),this)}f.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",f.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";Xe=e("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});function Kt(){return this._locale}var en=126227808e5;function tn(e,t){return(e%t+t)%t}function nn(e,t,n){return e<100&&0<=e?new Date(e+400,t,n)-en:new Date(e,t,n).valueOf()}function sn(e,t,n){return e<100&&0<=e?Date.UTC(e+400,t,n)-en:Date.UTC(e,t,n)}function rn(e,t){return t.erasAbbrRegex(e)}function an(){for(var e=[],t=[],n=[],s=[],i=this.eras(),r=0,a=i.length;r<a;++r)t.push(M(i[r].name)),e.push(M(i[r].abbr)),n.push(M(i[r].narrow)),s.push(M(i[r].name)),s.push(M(i[r].abbr)),s.push(M(i[r].narrow));this._erasRegex=new RegExp("^("+s.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+n.join("|")+")","i")}function on(e,t){s(0,[e,e.length],0,t)}function un(e,t,n,s,i){var r;return null==e?qe(this,s,i).year:(r=P(e,s,i),function(e,t,n,s,i){e=$e(e,t,n,s,i),t=Ze(e.year,0,e.dayOfYear);return this.year(t.getUTCFullYear()),this.month(t.getUTCMonth()),this.date(t.getUTCDate()),this}.call(this,e,t=r<t?r:t,n,s,i))}s("N",0,0,"eraAbbr"),s("NN",0,0,"eraAbbr"),s("NNN",0,0,"eraAbbr"),s("NNNN",0,0,"eraName"),s("NNNNN",0,0,"eraNarrow"),s("y",["y",1],"yo","eraYear"),s("y",["yy",2],0,"eraYear"),s("y",["yyy",3],0,"eraYear"),s("y",["yyyy",4],0,"eraYear"),v("N",rn),v("NN",rn),v("NNN",rn),v("NNNN",function(e,t){return t.erasNameRegex(e)}),v("NNNNN",function(e,t){return t.erasNarrowRegex(e)}),D(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,s){s=n._locale.erasParse(e,s,n._strict);s?m(n).era=s:m(n).invalidEra=e}),v("y",Me),v("yy",Me),v("yyy",Me),v("yyyy",Me),v("yo",function(e,t){return t._eraYearOrdinalRegex||Me}),D(["y","yy","yyy","yyyy"],Y),D(["yo"],function(e,t,n,s){var i;n._locale._eraYearOrdinalRegex&&(i=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[Y]=n._locale.eraYearOrdinalParse(e,i):t[Y]=parseInt(e,10)}),s(0,["gg",2],0,function(){return this.weekYear()%100}),s(0,["GG",2],0,function(){return this.isoWeekYear()%100}),on("gggg","weekYear"),on("ggggg","weekYear"),on("GGGG","isoWeekYear"),on("GGGGG","isoWeekYear"),t("weekYear","gg"),t("isoWeekYear","GG"),n("weekYear",1),n("isoWeekYear",1),v("G",De),v("g",De),v("GG",p,w),v("gg",p,w),v("GGGG",ke,_e),v("gggg",ke,_e),v("GGGGG",ve,ye),v("ggggg",ve,ye),Te(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,s){t[s.substr(0,2)]=g(e)}),Te(["gg","GG"],function(e,t,n,s){t[s]=f.parseTwoDigitYear(e)}),s("Q",0,"Qo","quarter"),t("quarter","Q"),n("quarter",7),v("Q",i),D("Q",function(e,t){t[O]=3*(g(e)-1)}),s("D",["DD",2],"Do","date"),t("date","D"),n("date",9),v("D",p),v("DD",p,w),v("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),D(["D","DD"],b),D("Do",function(e,t){t[b]=g(e.match(p)[0])});ke=de("Date",!0);s("DDD",["DDDD",3],"DDDo","dayOfYear"),t("dayOfYear","DDD"),n("dayOfYear",4),v("DDD",pe),v("DDDD",me),D(["DDD","DDDD"],function(e,t,n){n._dayOfYear=g(e)}),s("m",["mm",2],0,"minute"),t("minute","m"),n("minute",14),v("m",p),v("mm",p,w),D(["m","mm"],T);var ln,_e=de("Minutes",!1),ve=(s("s",["ss",2],0,"second"),t("second","s"),n("second",15),v("s",p),v("ss",p,w),D(["s","ss"],N),de("Seconds",!1));for(s("S",0,0,function(){return~~(this.millisecond()/100)}),s(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),s(0,["SSS",3],0,"millisecond"),s(0,["SSSS",4],0,function(){return 10*this.millisecond()}),s(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),s(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),s(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),s(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),s(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),t("millisecond","ms"),n("millisecond",16),v("S",pe,i),v("SS",pe,w),v("SSS",pe,me),ln="SSSS";ln.length<=9;ln+="S")v(ln,Me);function hn(e,t){t[Ne]=g(1e3*("0."+e))}for(ln="S";ln.length<=9;ln+="S")D(ln,hn);ye=de("Milliseconds",!1),s("z",0,0,"zoneAbbr"),s("zz",0,0,"zoneName");i=q.prototype;function dn(e){return e}i.add=Ce,i.calendar=function(e,t){1===arguments.length&&(arguments[0]?Jt(arguments[0])?(e=arguments[0],t=void 0):function(e){for(var t=F(e)&&!L(e),n=!1,s=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],i=0;i<s.length;i+=1)n=n||c(e,s[i]);return t&&n}(arguments[0])&&(t=arguments[0],e=void 0):t=e=void 0);var e=e||W(),n=Gt(e,this).startOf("day"),n=f.calendarFormat(this,n)||"sameElse",t=t&&(d(t[n])?t[n].call(this,e):t[n]);return this.format(t||this.localeData().calendar(n,this,W(e)))},i.clone=function(){return new q(this)},i.diff=function(e,t,n){var s,i,r;if(!this.isValid())return NaN;if(!(s=Gt(e,this)).isValid())return NaN;switch(i=6e4*(s.utcOffset()-this.utcOffset()),t=_(t)){case"year":r=Qt(this,s)/12;break;case"month":r=Qt(this,s);break;case"quarter":r=Qt(this,s)/3;break;case"second":r=(this-s)/1e3;break;case"minute":r=(this-s)/6e4;break;case"hour":r=(this-s)/36e5;break;case"day":r=(this-s-i)/864e5;break;case"week":r=(this-s-i)/6048e5;break;default:r=this-s}return n?r:y(r)},i.endOf=function(e){var t,n;if(void 0===(e=_(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?sn:nn,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=36e5-tn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-tn(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-tn(t,1e3)-1;break}return this._d.setTime(t),f.updateOffset(this,!0),this},i.format=function(e){return e=e||(this.isUtc()?f.defaultFormatUtc:f.defaultFormat),e=re(this,e),this.localeData().postformat(e)},i.from=function(e,t){return this.isValid()&&(h(e)&&e.isValid()||W(e).isValid())?C({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},i.fromNow=function(e){return this.from(W(),e)},i.to=function(e,t){return this.isValid()&&(h(e)&&e.isValid()||W(e).isValid())?C({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},i.toNow=function(e){return this.to(W(),e)},i.get=function(e){return d(this[e=_(e)])?this[e]():this},i.invalidAt=function(){return m(this).overflow},i.isAfter=function(e,t){return e=h(e)?e:W(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=_(t)||"millisecond")?this.valueOf()>e.valueOf():e.valueOf()<this.clone().startOf(t).valueOf())},i.isBefore=function(e,t){return e=h(e)?e:W(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=_(t)||"millisecond")?this.valueOf()<e.valueOf():this.clone().endOf(t).valueOf()<e.valueOf())},i.isBetween=function(e,t,n,s){return e=h(e)?e:W(e),t=h(t)?t:W(t),!!(this.isValid()&&e.isValid()&&t.isValid())&&(("("===(s=s||"()")[0]?this.isAfter(e,n):!this.isBefore(e,n))&&(")"===s[1]?this.isBefore(t,n):!this.isAfter(t,n)))},i.isSame=function(e,t){var e=h(e)?e:W(e);return!(!this.isValid()||!e.isValid())&&("millisecond"===(t=_(t)||"millisecond")?this.valueOf()===e.valueOf():(e=e.valueOf(),this.clone().startOf(t).valueOf()<=e&&e<=this.clone().endOf(t).valueOf()))},i.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},i.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},i.isValid=function(){return A(this)},i.lang=Xe,i.locale=Xt,i.localeData=Kt,i.max=we,i.min=ge,i.parsingFlags=function(){return E({},m(this))},i.set=function(e,t){if("object"==typeof e)for(var n=function(e){var t,n=[];for(t in e)c(e,t)&&n.push({unit:t,priority:le[t]});return n.sort(function(e,t){return e.priority-t.priority}),n}(e=ue(e)),s=n.length,i=0;i<s;i++)this[n[i].unit](e[n[i].unit]);else if(d(this[e=_(e)]))return this[e](t);return this},i.startOf=function(e){var t,n;if(void 0===(e=_(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?sn:nn,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=tn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":t=this._d.valueOf(),t-=tn(t,6e4);break;case"second":t=this._d.valueOf(),t-=tn(t,1e3);break}return this._d.setTime(t),f.updateOffset(this,!0),this},i.subtract=Je,i.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},i.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},i.toDate=function(){return new Date(this.valueOf())},i.toISOString=function(e){if(!this.isValid())return null;var t=(e=!0!==e)?this.clone().utc():this;return t.year()<0||9999<t.year()?re(t,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):d(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",re(t,"Z")):re(t,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},i.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t="moment",n="";return this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",n="Z"),t="["+t+'("]',e=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(t+e+"-MM-DD[T]HH:mm:ss.SSS"+(n+'[")]'))},"undefined"!=typeof Symbol&&null!=Symbol.for&&(i[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),i.toJSON=function(){return this.isValid()?this.toISOString():null},i.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},i.unix=function(){return Math.floor(this.valueOf()/1e3)},i.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},i.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},i.eraName=function(){for(var e,t=this.localeData().eras(),n=0,s=t.length;n<s;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].name;if(t[n].until<=e&&e<=t[n].since)return t[n].name}return""},i.eraNarrow=function(){for(var e,t=this.localeData().eras(),n=0,s=t.length;n<s;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].narrow;if(t[n].until<=e&&e<=t[n].since)return t[n].narrow}return""},i.eraAbbr=function(){for(var e,t=this.localeData().eras(),n=0,s=t.length;n<s;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].abbr;if(t[n].until<=e&&e<=t[n].since)return t[n].abbr}return""},i.eraYear=function(){for(var e,t,n=this.localeData().eras(),s=0,i=n.length;s<i;++s)if(e=n[s].since<=n[s].until?1:-1,t=this.clone().startOf("day").valueOf(),n[s].since<=t&&t<=n[s].until||n[s].until<=t&&t<=n[s].since)return(this.year()-f(n[s].since).year())*e+n[s].offset;return this.year()},i.year=Ie,i.isLeapYear=function(){return he(this.year())},i.weekYear=function(e){return un.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},i.isoWeekYear=function(e){return un.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},i.quarter=i.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},i.month=Ge,i.daysInMonth=function(){return We(this.year(),this.month())},i.week=i.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},i.isoWeek=i.isoWeeks=function(e){var t=qe(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},i.weeksInYear=function(){var e=this.localeData()._week;return P(this.year(),e.dow,e.doy)},i.weeksInWeekYear=function(){var e=this.localeData()._week;return P(this.weekYear(),e.dow,e.doy)},i.isoWeeksInYear=function(){return P(this.year(),1,4)},i.isoWeeksInISOWeekYear=function(){return P(this.isoWeekYear(),1,4)},i.date=ke,i.day=i.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t,n,s=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(t=e,n=this.localeData(),e="string"!=typeof t?t:isNaN(t)?"number"==typeof(t=n.weekdaysParse(t))?t:null:parseInt(t,10),this.add(e-s,"d")):s},i.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},i.isoWeekday=function(e){return this.isValid()?null!=e?(t=e,n=this.localeData(),n="string"==typeof t?n.weekdaysParse(t)%7||7:isNaN(t)?null:t,this.day(this.day()%7?n:n-7)):this.day()||7:null!=e?this:NaN;var t,n},i.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},i.hour=i.hours=k,i.minute=i.minutes=_e,i.second=i.seconds=ve,i.millisecond=i.milliseconds=ye,i.utcOffset=function(e,t,n){var s,i=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null==e)return this._isUTC?i:Et(this);if("string"==typeof e){if(null===(e=Vt(Ye,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(s=Et(this)),this._offset=e,this._isUTC=!0,null!=s&&this.add(s,"m"),i!==e&&(!t||this._changeInProgress?qt(this,C(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,f.updateOffset(this,!0),this._changeInProgress=null)),this},i.utc=function(e){return this.utcOffset(0,e)},i.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Et(this),"m")),this},i.parseZone=function(){var e;return null!=this._tzm?this.utcOffset(this._tzm,!1,!0):"string"==typeof this._i&&(null!=(e=Vt(Se,this._i))?this.utcOffset(e):this.utcOffset(0,!0)),this},i.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?W(e).utcOffset():0,(this.utcOffset()-e)%60==0)},i.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},i.isLocal=function(){return!!this.isValid()&&!this._isUTC},i.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},i.isUtc=At,i.isUTC=At,i.zoneAbbr=function(){return this._isUTC?"UTC":""},i.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},i.dates=e("dates accessor is deprecated. Use date instead.",ke),i.months=e("months accessor is deprecated. Use month instead",Ge),i.years=e("years accessor is deprecated. Use year instead",Ie),i.zone=e("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){return null!=e?(this.utcOffset(e="string"!=typeof e?-e:e,t),this):-this.utcOffset()}),i.isDSTShifted=e("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!o(this._isDSTShifted))return this._isDSTShifted;var e,t={};return $(t,this),(t=Nt(t))._a?(e=(t._isUTC?l:W)(t._a),this._isDSTShifted=this.isValid()&&0<function(e,t,n){for(var s=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),r=0,a=0;a<s;a++)(n&&e[a]!==t[a]||!n&&g(e[a])!==g(t[a]))&&r++;return r+i}(t._a,e.toArray())):this._isDSTShifted=!1,this._isDSTShifted});w=K.prototype;function cn(e,t,n,s){var i=mt(),s=l().set(s,t);return i[n](s,e)}function fn(e,t,n){if(u(e)&&(t=e,e=void 0),e=e||"",null!=t)return cn(e,t,n,"month");for(var s=[],i=0;i<12;i++)s[i]=cn(e,i,n,"month");return s}function mn(e,t,n,s){t=("boolean"==typeof e?u(t)&&(n=t,t=void 0):(t=e,e=!1,u(n=t)&&(n=t,t=void 0)),t||"");var i,r=mt(),a=e?r._week.dow:0,o=[];if(null!=n)return cn(t,(n+a)%7,s,"day");for(i=0;i<7;i++)o[i]=cn(t,(i+a)%7,s,"day");return o}w.calendar=function(e,t,n){return d(e=this._calendar[e]||this._calendar.sameElse)?e.call(t,n):e},w.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(te).map(function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e}).join(""),this._longDateFormat[e])},w.invalidDate=function(){return this._invalidDate},w.ordinal=function(e){return this._ordinal.replace("%d",e)},w.preparse=dn,w.postformat=dn,w.relativeTime=function(e,t,n,s){var i=this._relativeTime[n];return d(i)?i(e,t,n,s):i.replace(/%d/i,e)},w.pastFuture=function(e,t){return d(e=this._relativeTime[0<e?"future":"past"])?e(t):e.replace(/%s/i,t)},w.set=function(e){var t,n;for(n in e)c(e,n)&&(d(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},w.eras=function(e,t){for(var n,s=this._eras||mt("en")._eras,i=0,r=s.length;i<r;++i){switch(typeof s[i].since){case"string":n=f(s[i].since).startOf("day"),s[i].since=n.valueOf();break}switch(typeof s[i].until){case"undefined":s[i].until=1/0;break;case"string":n=f(s[i].until).startOf("day").valueOf(),s[i].until=n.valueOf();break}}return s},w.erasParse=function(e,t,n){var s,i,r,a,o,u=this.eras();for(e=e.toUpperCase(),s=0,i=u.length;s<i;++s)if(r=u[s].name.toUpperCase(),a=u[s].abbr.toUpperCase(),o=u[s].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(a===e)return u[s];break;case"NNNN":if(r===e)return u[s];break;case"NNNNN":if(o===e)return u[s];break}else if(0<=[r,a,o].indexOf(e))return u[s]},w.erasConvertYear=function(e,t){var n=e.since<=e.until?1:-1;return void 0===t?f(e.since).year():f(e.since).year()+(t-e.offset)*n},w.erasAbbrRegex=function(e){return c(this,"_erasAbbrRegex")||an.call(this),e?this._erasAbbrRegex:this._erasRegex},w.erasNameRegex=function(e){return c(this,"_erasNameRegex")||an.call(this),e?this._erasNameRegex:this._erasRegex},w.erasNarrowRegex=function(e){return c(this,"_erasNarrowRegex")||an.call(this),e?this._erasNarrowRegex:this._erasRegex},w.months=function(e,t){return e?(a(this._months)?this._months:this._months[(this._months.isFormat||He).test(t)?"format":"standalone"])[e.month()]:a(this._months)?this._months:this._months.standalone},w.monthsShort=function(e,t){return e?(a(this._monthsShort)?this._monthsShort:this._monthsShort[He.test(t)?"format":"standalone"])[e.month()]:a(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},w.monthsParse=function(e,t,n){var s,i;if(this._monthsParseExact)return function(e,t,n){var s,i,r,e=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],s=0;s<12;++s)r=l([2e3,s]),this._shortMonthsParse[s]=this.monthsShort(r,"").toLocaleLowerCase(),this._longMonthsParse[s]=this.months(r,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(i=S.call(this._shortMonthsParse,e))?i:null:-1!==(i=S.call(this._longMonthsParse,e))?i:null:"MMM"===t?-1!==(i=S.call(this._shortMonthsParse,e))||-1!==(i=S.call(this._longMonthsParse,e))?i:null:-1!==(i=S.call(this._longMonthsParse,e))||-1!==(i=S.call(this._shortMonthsParse,e))?i:null}.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),s=0;s<12;s++){if(i=l([2e3,s]),n&&!this._longMonthsParse[s]&&(this._longMonthsParse[s]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[s]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[s]||(i="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[s]=new RegExp(i.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[s].test(e))return s;if(n&&"MMM"===t&&this._shortMonthsParse[s].test(e))return s;if(!n&&this._monthsParse[s].test(e))return s}},w.monthsRegex=function(e){return this._monthsParseExact?(c(this,"_monthsRegex")||Ee.call(this),e?this._monthsStrictRegex:this._monthsRegex):(c(this,"_monthsRegex")||(this._monthsRegex=Le),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},w.monthsShortRegex=function(e){return this._monthsParseExact?(c(this,"_monthsRegex")||Ee.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(c(this,"_monthsShortRegex")||(this._monthsShortRegex=Fe),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},w.week=function(e){return qe(e,this._week.dow,this._week.doy).week},w.firstDayOfYear=function(){return this._week.doy},w.firstDayOfWeek=function(){return this._week.dow},w.weekdays=function(e,t){return t=a(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"],!0===e?Be(t,this._week.dow):e?t[e.day()]:t},w.weekdaysMin=function(e){return!0===e?Be(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},w.weekdaysShort=function(e){return!0===e?Be(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},w.weekdaysParse=function(e,t,n){var s,i;if(this._weekdaysParseExact)return function(e,t,n){var s,i,r,e=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],s=0;s<7;++s)r=l([2e3,1]).day(s),this._minWeekdaysParse[s]=this.weekdaysMin(r,"").toLocaleLowerCase(),this._shortWeekdaysParse[s]=this.weekdaysShort(r,"").toLocaleLowerCase(),this._weekdaysParse[s]=this.weekdays(r,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(i=S.call(this._weekdaysParse,e))?i:null:"ddd"===t?-1!==(i=S.call(this._shortWeekdaysParse,e))?i:null:-1!==(i=S.call(this._minWeekdaysParse,e))?i:null:"dddd"===t?-1!==(i=S.call(this._weekdaysParse,e))||-1!==(i=S.call(this._shortWeekdaysParse,e))||-1!==(i=S.call(this._minWeekdaysParse,e))?i:null:"ddd"===t?-1!==(i=S.call(this._shortWeekdaysParse,e))||-1!==(i=S.call(this._weekdaysParse,e))||-1!==(i=S.call(this._minWeekdaysParse,e))?i:null:-1!==(i=S.call(this._minWeekdaysParse,e))||-1!==(i=S.call(this._weekdaysParse,e))||-1!==(i=S.call(this._shortWeekdaysParse,e))?i:null}.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),s=0;s<7;s++){if(i=l([2e3,1]).day(s),n&&!this._fullWeekdaysParse[s]&&(this._fullWeekdaysParse[s]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[s]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[s]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[s]||(i="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[s]=new RegExp(i.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[s].test(e))return s;if(n&&"ddd"===t&&this._shortWeekdaysParse[s].test(e))return s;if(n&&"dd"===t&&this._minWeekdaysParse[s].test(e))return s;if(!n&&this._weekdaysParse[s].test(e))return s}},w.weekdaysRegex=function(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||nt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(c(this,"_weekdaysRegex")||(this._weekdaysRegex=Ke),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},w.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||nt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(c(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=et),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},w.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||nt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(c(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=tt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},w.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},w.meridiem=function(e,t,n){return 11<e?n?"pm":"PM":n?"am":"AM"},ct("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===g(e%100/10)?"th":1==t?"st":2==t?"nd":3==t?"rd":"th")}}),f.lang=e("moment.lang is deprecated. Use moment.locale instead.",ct),f.langData=e("moment.langData is deprecated. Use moment.localeData instead.",mt);var _n=Math.abs;function yn(e,t,n,s){t=C(t,n);return e._milliseconds+=s*t._milliseconds,e._days+=s*t._days,e._months+=s*t._months,e._bubble()}function gn(e){return e<0?Math.floor(e):Math.ceil(e)}function wn(e){return 4800*e/146097}function pn(e){return 146097*e/4800}function kn(e){return function(){return this.as(e)}}pe=kn("ms"),me=kn("s"),Ce=kn("m"),we=kn("h"),ge=kn("d"),Je=kn("w"),k=kn("M"),_e=kn("Q"),ve=kn("y");function vn(e){return function(){return this.isValid()?this._data[e]:NaN}}var ye=vn("milliseconds"),ke=vn("seconds"),Ie=vn("minutes"),w=vn("hours"),Mn=vn("days"),Dn=vn("months"),Sn=vn("years");var Yn=Math.round,On={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function bn(e,t,n,s){var i=C(e).abs(),r=Yn(i.as("s")),a=Yn(i.as("m")),o=Yn(i.as("h")),u=Yn(i.as("d")),l=Yn(i.as("M")),h=Yn(i.as("w")),i=Yn(i.as("y")),r=(r<=n.ss?["s",r]:r<n.s&&["ss",r])||a<=1&&["m"]||a<n.m&&["mm",a]||o<=1&&["h"]||o<n.h&&["hh",o]||u<=1&&["d"]||u<n.d&&["dd",u];return(r=(r=null!=n.w?r||h<=1&&["w"]||h<n.w&&["ww",h]:r)||l<=1&&["M"]||l<n.M&&["MM",l]||i<=1&&["y"]||["yy",i])[2]=t,r[3]=0<+e,r[4]=s,function(e,t,n,s,i){return i.relativeTime(t||1,!!n,e,s)}.apply(null,r)}var xn=Math.abs;function Tn(e){return(0<e)-(e<0)||+e}function Nn(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,s,i,r,a,o=xn(this._milliseconds)/1e3,u=xn(this._days),l=xn(this._months),h=this.asSeconds();return h?(e=y(o/60),t=y(e/60),o%=60,e%=60,n=y(l/12),l%=12,s=o?o.toFixed(3).replace(/\.?0+$/,""):"",i=Tn(this._months)!==Tn(h)?"-":"",r=Tn(this._days)!==Tn(h)?"-":"",a=Tn(this._milliseconds)!==Tn(h)?"-":"",(h<0?"-":"")+"P"+(n?i+n+"Y":"")+(l?i+l+"M":"")+(u?r+u+"D":"")+(t||e||o?"T":"")+(t?a+t+"H":"")+(e?a+e+"M":"")+(o?a+s+"S":"")):"P0D"}var U=Ct.prototype;return U.isValid=function(){return this._isValid},U.abs=function(){var e=this._data;return this._milliseconds=_n(this._milliseconds),this._days=_n(this._days),this._months=_n(this._months),e.milliseconds=_n(e.milliseconds),e.seconds=_n(e.seconds),e.minutes=_n(e.minutes),e.hours=_n(e.hours),e.months=_n(e.months),e.years=_n(e.years),this},U.add=function(e,t){return yn(this,e,t,1)},U.subtract=function(e,t){return yn(this,e,t,-1)},U.as=function(e){if(!this.isValid())return NaN;var t,n,s=this._milliseconds;if("month"===(e=_(e))||"quarter"===e||"year"===e)switch(t=this._days+s/864e5,n=this._months+wn(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(pn(this._months)),e){case"week":return t/7+s/6048e5;case"day":return t+s/864e5;case"hour":return 24*t+s/36e5;case"minute":return 1440*t+s/6e4;case"second":return 86400*t+s/1e3;case"millisecond":return Math.floor(864e5*t)+s;default:throw new Error("Unknown unit "+e)}},U.asMilliseconds=pe,U.asSeconds=me,U.asMinutes=Ce,U.asHours=we,U.asDays=ge,U.asWeeks=Je,U.asMonths=k,U.asQuarters=_e,U.asYears=ve,U.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*g(this._months/12):NaN},U._bubble=function(){var e=this._milliseconds,t=this._days,n=this._months,s=this._data;return 0<=e&&0<=t&&0<=n||e<=0&&t<=0&&n<=0||(e+=864e5*gn(pn(n)+t),n=t=0),s.milliseconds=e%1e3,e=y(e/1e3),s.seconds=e%60,e=y(e/60),s.minutes=e%60,e=y(e/60),s.hours=e%24,t+=y(e/24),n+=e=y(wn(t)),t-=gn(pn(e)),e=y(n/12),n%=12,s.days=t,s.months=n,s.years=e,this},U.clone=function(){return C(this)},U.get=function(e){return e=_(e),this.isValid()?this[e+"s"]():NaN},U.milliseconds=ye,U.seconds=ke,U.minutes=Ie,U.hours=w,U.days=Mn,U.weeks=function(){return y(this.days()/7)},U.months=Dn,U.years=Sn,U.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var n=!1,s=On;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(n=e),"object"==typeof t&&(s=Object.assign({},On,t),null!=t.s&&null==t.ss&&(s.ss=t.s-1)),e=this.localeData(),t=bn(this,!n,s,e),n&&(t=e.pastFuture(+this,t)),e.postformat(t)},U.toISOString=Nn,U.toString=Nn,U.toJSON=Nn,U.locale=Xt,U.localeData=Kt,U.toIsoString=e("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Nn),U.lang=Xe,s("X",0,0,"unix"),s("x",0,0,"valueOf"),v("x",De),v("X",/[+-]?\d+(\.\d{1,3})?/),D("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e))}),D("x",function(e,t,n){n._d=new Date(g(e))}),f.version="2.29.4",H=W,f.fn=i,f.min=function(){return Rt("isBefore",[].slice.call(arguments,0))},f.max=function(){return Rt("isAfter",[].slice.call(arguments,0))},f.now=function(){return Date.now?Date.now():+new Date},f.utc=l,f.unix=function(e){return W(1e3*e)},f.months=function(e,t){return fn(e,t,"months")},f.isDate=V,f.locale=ct,f.invalid=I,f.duration=C,f.isMoment=h,f.weekdays=function(e,t,n){return mn(e,t,n,"weekdays")},f.parseZone=function(){return W.apply(null,arguments).parseZone()},f.localeData=mt,f.isDuration=Ut,f.monthsShort=function(e,t){return fn(e,t,"monthsShort")},f.weekdaysMin=function(e,t,n){return mn(e,t,n,"weekdaysMin")},f.defineLocale=ft,f.updateLocale=function(e,t){var n,s;return null!=t?(s=ot,null!=R[e]&&null!=R[e].parentLocale?R[e].set(X(R[e]._config,t)):(t=X(s=null!=(n=dt(e))?n._config:s,t),null==n&&(t.abbr=e),(s=new K(t)).parentLocale=R[e],R[e]=s),ct(e)):null!=R[e]&&(null!=R[e].parentLocale?(R[e]=R[e].parentLocale,e===ct()&&ct(e)):null!=R[e]&&delete R[e]),R[e]},f.locales=function(){return ee(R)},f.weekdaysShort=function(e,t,n){return mn(e,t,n,"weekdaysShort")},f.normalizeUnits=_,f.relativeTimeRounding=function(e){return void 0===e?Yn:"function"==typeof e&&(Yn=e,!0)},f.relativeTimeThreshold=function(e,t){return void 0!==On[e]&&(void 0===t?On[e]:(On[e]=t,"s"===e&&(On.ss=t-1),!0))},f.calendarFormat=function(e,t){return(e=e.diff(t,"days",!0))<-6?"sameElse":e<-1?"lastWeek":e<0?"lastDay":e<1?"sameDay":e<2?"nextDay":e<7?"nextWeek":"sameElse"},f.prototype=i,f.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},f});/*! Hammer.JS - v2.0.6 - 2016-01-06
 * http://hammerjs.github.io/
 *
 * Copyright (c) 2016 Jorik Tangelder;
 * Licensed under the  license */
!function(a,b,c,d){"use strict";function e(a,b,c){return setTimeout(j(a,c),b)}function f(a,b,c){return Array.isArray(a)?(g(a,c[b],c),!0):!1}function g(a,b,c){var e;if(a)if(a.forEach)a.forEach(b,c);else if(a.length!==d)for(e=0;e<a.length;)b.call(c,a[e],e,a),e++;else for(e in a)a.hasOwnProperty(e)&&b.call(c,a[e],e,a)}function h(b,c,d){var e="DEPRECATED METHOD: "+c+"\n"+d+" AT \n";return function(){var c=new Error("get-stack-trace"),d=c&&c.stack?c.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",f=a.console&&(a.console.warn||a.console.log);return f&&f.call(a.console,e,d),b.apply(this,arguments)}}function i(a,b,c){var d,e=b.prototype;d=a.prototype=Object.create(e),d.constructor=a,d._super=e,c&&ha(d,c)}function j(a,b){return function(){return a.apply(b,arguments)}}function k(a,b){return typeof a==ka?a.apply(b?b[0]||d:d,b):a}function l(a,b){return a===d?b:a}function m(a,b,c){g(q(b),function(b){a.addEventListener(b,c,!1)})}function n(a,b,c){g(q(b),function(b){a.removeEventListener(b,c,!1)})}function o(a,b){for(;a;){if(a==b)return!0;a=a.parentNode}return!1}function p(a,b){return a.indexOf(b)>-1}function q(a){return a.trim().split(/\s+/g)}function r(a,b,c){if(a.indexOf&&!c)return a.indexOf(b);for(var d=0;d<a.length;){if(c&&a[d][c]==b||!c&&a[d]===b)return d;d++}return-1}function s(a){return Array.prototype.slice.call(a,0)}function t(a,b,c){for(var d=[],e=[],f=0;f<a.length;){var g=b?a[f][b]:a[f];r(e,g)<0&&d.push(a[f]),e[f]=g,f++}return c&&(d=b?d.sort(function(a,c){return a[b]>c[b]}):d.sort()),d}function u(a,b){for(var c,e,f=b[0].toUpperCase()+b.slice(1),g=0;g<ia.length;){if(c=ia[g],e=c?c+f:b,e in a)return e;g++}return d}function v(){return qa++}function w(b){var c=b.ownerDocument||b;return c.defaultView||c.parentWindow||a}function x(a,b){var c=this;this.manager=a,this.callback=b,this.element=a.element,this.target=a.options.inputTarget,this.domHandler=function(b){k(a.options.enable,[a])&&c.handler(b)},this.init()}function y(a){var b,c=a.options.inputClass;return new(b=c?c:ta?M:ua?P:sa?R:L)(a,z)}function z(a,b,c){var d=c.pointers.length,e=c.changedPointers.length,f=b&Aa&&d-e===0,g=b&(Ca|Da)&&d-e===0;c.isFirst=!!f,c.isFinal=!!g,f&&(a.session={}),c.eventType=b,A(a,c),a.emit("hammer.input",c),a.recognize(c),a.session.prevInput=c}function A(a,b){var c=a.session,d=b.pointers,e=d.length;c.firstInput||(c.firstInput=D(b)),e>1&&!c.firstMultiple?c.firstMultiple=D(b):1===e&&(c.firstMultiple=!1);var f=c.firstInput,g=c.firstMultiple,h=g?g.center:f.center,i=b.center=E(d);b.timeStamp=na(),b.deltaTime=b.timeStamp-f.timeStamp,b.angle=I(h,i),b.distance=H(h,i),B(c,b),b.offsetDirection=G(b.deltaX,b.deltaY);var j=F(b.deltaTime,b.deltaX,b.deltaY);b.overallVelocityX=j.x,b.overallVelocityY=j.y,b.overallVelocity=ma(j.x)>ma(j.y)?j.x:j.y,b.scale=g?K(g.pointers,d):1,b.rotation=g?J(g.pointers,d):0,b.maxPointers=c.prevInput?b.pointers.length>c.prevInput.maxPointers?b.pointers.length:c.prevInput.maxPointers:b.pointers.length,C(c,b);var k=a.element;o(b.srcEvent.target,k)&&(k=b.srcEvent.target),b.target=k}function B(a,b){var c=b.center,d=a.offsetDelta||{},e=a.prevDelta||{},f=a.prevInput||{};(b.eventType===Aa||f.eventType===Ca)&&(e=a.prevDelta={x:f.deltaX||0,y:f.deltaY||0},d=a.offsetDelta={x:c.x,y:c.y}),b.deltaX=e.x+(c.x-d.x),b.deltaY=e.y+(c.y-d.y)}function C(a,b){var c,e,f,g,h=a.lastInterval||b,i=b.timeStamp-h.timeStamp;if(b.eventType!=Da&&(i>za||h.velocity===d)){var j=b.deltaX-h.deltaX,k=b.deltaY-h.deltaY,l=F(i,j,k);e=l.x,f=l.y,c=ma(l.x)>ma(l.y)?l.x:l.y,g=G(j,k),a.lastInterval=b}else c=h.velocity,e=h.velocityX,f=h.velocityY,g=h.direction;b.velocity=c,b.velocityX=e,b.velocityY=f,b.direction=g}function D(a){for(var b=[],c=0;c<a.pointers.length;)b[c]={clientX:la(a.pointers[c].clientX),clientY:la(a.pointers[c].clientY)},c++;return{timeStamp:na(),pointers:b,center:E(b),deltaX:a.deltaX,deltaY:a.deltaY}}function E(a){var b=a.length;if(1===b)return{x:la(a[0].clientX),y:la(a[0].clientY)};for(var c=0,d=0,e=0;b>e;)c+=a[e].clientX,d+=a[e].clientY,e++;return{x:la(c/b),y:la(d/b)}}function F(a,b,c){return{x:b/a||0,y:c/a||0}}function G(a,b){return a===b?Ea:ma(a)>=ma(b)?0>a?Fa:Ga:0>b?Ha:Ia}function H(a,b,c){c||(c=Ma);var d=b[c[0]]-a[c[0]],e=b[c[1]]-a[c[1]];return Math.sqrt(d*d+e*e)}function I(a,b,c){c||(c=Ma);var d=b[c[0]]-a[c[0]],e=b[c[1]]-a[c[1]];return 180*Math.atan2(e,d)/Math.PI}function J(a,b){return I(b[1],b[0],Na)+I(a[1],a[0],Na)}function K(a,b){return H(b[0],b[1],Na)/H(a[0],a[1],Na)}function L(){this.evEl=Pa,this.evWin=Qa,this.allow=!0,this.pressed=!1,x.apply(this,arguments)}function M(){this.evEl=Ta,this.evWin=Ua,x.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}function N(){this.evTarget=Wa,this.evWin=Xa,this.started=!1,x.apply(this,arguments)}function O(a,b){var c=s(a.touches),d=s(a.changedTouches);return b&(Ca|Da)&&(c=t(c.concat(d),"identifier",!0)),[c,d]}function P(){this.evTarget=Za,this.targetIds={},x.apply(this,arguments)}function Q(a,b){var c=s(a.touches),d=this.targetIds;if(b&(Aa|Ba)&&1===c.length)return d[c[0].identifier]=!0,[c,c];var e,f,g=s(a.changedTouches),h=[],i=this.target;if(f=c.filter(function(a){return o(a.target,i)}),b===Aa)for(e=0;e<f.length;)d[f[e].identifier]=!0,e++;for(e=0;e<g.length;)d[g[e].identifier]&&h.push(g[e]),b&(Ca|Da)&&delete d[g[e].identifier],e++;return h.length?[t(f.concat(h),"identifier",!0),h]:void 0}function R(){x.apply(this,arguments);var a=j(this.handler,this);this.touch=new P(this.manager,a),this.mouse=new L(this.manager,a)}function S(a,b){this.manager=a,this.set(b)}function T(a){if(p(a,db))return db;var b=p(a,eb),c=p(a,fb);return b&&c?db:b||c?b?eb:fb:p(a,cb)?cb:bb}function U(a){this.options=ha({},this.defaults,a||{}),this.id=v(),this.manager=null,this.options.enable=l(this.options.enable,!0),this.state=gb,this.simultaneous={},this.requireFail=[]}function V(a){return a&lb?"cancel":a&jb?"end":a&ib?"move":a&hb?"start":""}function W(a){return a==Ia?"down":a==Ha?"up":a==Fa?"left":a==Ga?"right":""}function X(a,b){var c=b.manager;return c?c.get(a):a}function Y(){U.apply(this,arguments)}function Z(){Y.apply(this,arguments),this.pX=null,this.pY=null}function $(){Y.apply(this,arguments)}function _(){U.apply(this,arguments),this._timer=null,this._input=null}function aa(){Y.apply(this,arguments)}function ba(){Y.apply(this,arguments)}function ca(){U.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}function da(a,b){return b=b||{},b.recognizers=l(b.recognizers,da.defaults.preset),new ea(a,b)}function ea(a,b){this.options=ha({},da.defaults,b||{}),this.options.inputTarget=this.options.inputTarget||a,this.handlers={},this.session={},this.recognizers=[],this.element=a,this.input=y(this),this.touchAction=new S(this,this.options.touchAction),fa(this,!0),g(this.options.recognizers,function(a){var b=this.add(new a[0](a[1]));a[2]&&b.recognizeWith(a[2]),a[3]&&b.requireFailure(a[3])},this)}function fa(a,b){var c=a.element;c.style&&g(a.options.cssProps,function(a,d){c.style[u(c.style,d)]=b?a:""})}function ga(a,c){var d=b.createEvent("Event");d.initEvent(a,!0,!0),d.gesture=c,c.target.dispatchEvent(d)}var ha,ia=["","webkit","Moz","MS","ms","o"],ja=b.createElement("div"),ka="function",la=Math.round,ma=Math.abs,na=Date.now;ha="function"!=typeof Object.assign?function(a){if(a===d||null===a)throw new TypeError("Cannot convert undefined or null to object");for(var b=Object(a),c=1;c<arguments.length;c++){var e=arguments[c];if(e!==d&&null!==e)for(var f in e)e.hasOwnProperty(f)&&(b[f]=e[f])}return b}:Object.assign;var oa=h(function(a,b,c){for(var e=Object.keys(b),f=0;f<e.length;)(!c||c&&a[e[f]]===d)&&(a[e[f]]=b[e[f]]),f++;return a},"extend","Use `assign`."),pa=h(function(a,b){return oa(a,b,!0)},"merge","Use `assign`."),qa=1,ra=/mobile|tablet|ip(ad|hone|od)|android/i,sa="ontouchstart"in a,ta=u(a,"PointerEvent")!==d,ua=sa&&ra.test(navigator.userAgent),va="touch",wa="pen",xa="mouse",ya="kinect",za=25,Aa=1,Ba=2,Ca=4,Da=8,Ea=1,Fa=2,Ga=4,Ha=8,Ia=16,Ja=Fa|Ga,Ka=Ha|Ia,La=Ja|Ka,Ma=["x","y"],Na=["clientX","clientY"];x.prototype={handler:function(){},init:function(){this.evEl&&m(this.element,this.evEl,this.domHandler),this.evTarget&&m(this.target,this.evTarget,this.domHandler),this.evWin&&m(w(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&n(this.element,this.evEl,this.domHandler),this.evTarget&&n(this.target,this.evTarget,this.domHandler),this.evWin&&n(w(this.element),this.evWin,this.domHandler)}};var Oa={mousedown:Aa,mousemove:Ba,mouseup:Ca},Pa="mousedown",Qa="mousemove mouseup";i(L,x,{handler:function(a){var b=Oa[a.type];b&Aa&&0===a.button&&(this.pressed=!0),b&Ba&&1!==a.which&&(b=Ca),this.pressed&&this.allow&&(b&Ca&&(this.pressed=!1),this.callback(this.manager,b,{pointers:[a],changedPointers:[a],pointerType:xa,srcEvent:a}))}});var Ra={pointerdown:Aa,pointermove:Ba,pointerup:Ca,pointercancel:Da,pointerout:Da},Sa={2:va,3:wa,4:xa,5:ya},Ta="pointerdown",Ua="pointermove pointerup pointercancel";a.MSPointerEvent&&!a.PointerEvent&&(Ta="MSPointerDown",Ua="MSPointerMove MSPointerUp MSPointerCancel"),i(M,x,{handler:function(a){var b=this.store,c=!1,d=a.type.toLowerCase().replace("ms",""),e=Ra[d],f=Sa[a.pointerType]||a.pointerType,g=f==va,h=r(b,a.pointerId,"pointerId");e&Aa&&(0===a.button||g)?0>h&&(b.push(a),h=b.length-1):e&(Ca|Da)&&(c=!0),0>h||(b[h]=a,this.callback(this.manager,e,{pointers:b,changedPointers:[a],pointerType:f,srcEvent:a}),c&&b.splice(h,1))}});var Va={touchstart:Aa,touchmove:Ba,touchend:Ca,touchcancel:Da},Wa="touchstart",Xa="touchstart touchmove touchend touchcancel";i(N,x,{handler:function(a){var b=Va[a.type];if(b===Aa&&(this.started=!0),this.started){var c=O.call(this,a,b);b&(Ca|Da)&&c[0].length-c[1].length===0&&(this.started=!1),this.callback(this.manager,b,{pointers:c[0],changedPointers:c[1],pointerType:va,srcEvent:a})}}});var Ya={touchstart:Aa,touchmove:Ba,touchend:Ca,touchcancel:Da},Za="touchstart touchmove touchend touchcancel";i(P,x,{handler:function(a){var b=Ya[a.type],c=Q.call(this,a,b);c&&this.callback(this.manager,b,{pointers:c[0],changedPointers:c[1],pointerType:va,srcEvent:a})}}),i(R,x,{handler:function(a,b,c){var d=c.pointerType==va,e=c.pointerType==xa;if(d)this.mouse.allow=!1;else if(e&&!this.mouse.allow)return;b&(Ca|Da)&&(this.mouse.allow=!0),this.callback(a,b,c)},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});var $a=u(ja.style,"touchAction"),_a=$a!==d,ab="compute",bb="auto",cb="manipulation",db="none",eb="pan-x",fb="pan-y";S.prototype={set:function(a){a==ab&&(a=this.compute()),_a&&this.manager.element.style&&(this.manager.element.style[$a]=a),this.actions=a.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var a=[];return g(this.manager.recognizers,function(b){k(b.options.enable,[b])&&(a=a.concat(b.getTouchAction()))}),T(a.join(" "))},preventDefaults:function(a){if(!_a){var b=a.srcEvent,c=a.offsetDirection;if(this.manager.session.prevented)return void b.preventDefault();var d=this.actions,e=p(d,db),f=p(d,fb),g=p(d,eb);if(e){var h=1===a.pointers.length,i=a.distance<2,j=a.deltaTime<250;if(h&&i&&j)return}if(!g||!f)return e||f&&c&Ja||g&&c&Ka?this.preventSrc(b):void 0}},preventSrc:function(a){this.manager.session.prevented=!0,a.preventDefault()}};var gb=1,hb=2,ib=4,jb=8,kb=jb,lb=16,mb=32;U.prototype={defaults:{},set:function(a){return ha(this.options,a),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(a){if(f(a,"recognizeWith",this))return this;var b=this.simultaneous;return a=X(a,this),b[a.id]||(b[a.id]=a,a.recognizeWith(this)),this},dropRecognizeWith:function(a){return f(a,"dropRecognizeWith",this)?this:(a=X(a,this),delete this.simultaneous[a.id],this)},requireFailure:function(a){if(f(a,"requireFailure",this))return this;var b=this.requireFail;return a=X(a,this),-1===r(b,a)&&(b.push(a),a.requireFailure(this)),this},dropRequireFailure:function(a){if(f(a,"dropRequireFailure",this))return this;a=X(a,this);var b=r(this.requireFail,a);return b>-1&&this.requireFail.splice(b,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(a){return!!this.simultaneous[a.id]},emit:function(a){function b(b){c.manager.emit(b,a)}var c=this,d=this.state;jb>d&&b(c.options.event+V(d)),b(c.options.event),a.additionalEvent&&b(a.additionalEvent),d>=jb&&b(c.options.event+V(d))},tryEmit:function(a){return this.canEmit()?this.emit(a):void(this.state=mb)},canEmit:function(){for(var a=0;a<this.requireFail.length;){if(!(this.requireFail[a].state&(mb|gb)))return!1;a++}return!0},recognize:function(a){var b=ha({},a);return k(this.options.enable,[this,b])?(this.state&(kb|lb|mb)&&(this.state=gb),this.state=this.process(b),void(this.state&(hb|ib|jb|lb)&&this.tryEmit(b))):(this.reset(),void(this.state=mb))},process:function(a){},getTouchAction:function(){},reset:function(){}},i(Y,U,{defaults:{pointers:1},attrTest:function(a){var b=this.options.pointers;return 0===b||a.pointers.length===b},process:function(a){var b=this.state,c=a.eventType,d=b&(hb|ib),e=this.attrTest(a);return d&&(c&Da||!e)?b|lb:d||e?c&Ca?b|jb:b&hb?b|ib:hb:mb}}),i(Z,Y,{defaults:{event:"pan",threshold:10,pointers:1,direction:La},getTouchAction:function(){var a=this.options.direction,b=[];return a&Ja&&b.push(fb),a&Ka&&b.push(eb),b},directionTest:function(a){var b=this.options,c=!0,d=a.distance,e=a.direction,f=a.deltaX,g=a.deltaY;return e&b.direction||(b.direction&Ja?(e=0===f?Ea:0>f?Fa:Ga,c=f!=this.pX,d=Math.abs(a.deltaX)):(e=0===g?Ea:0>g?Ha:Ia,c=g!=this.pY,d=Math.abs(a.deltaY))),a.direction=e,c&&d>b.threshold&&e&b.direction},attrTest:function(a){return Y.prototype.attrTest.call(this,a)&&(this.state&hb||!(this.state&hb)&&this.directionTest(a))},emit:function(a){this.pX=a.deltaX,this.pY=a.deltaY;var b=W(a.direction);b&&(a.additionalEvent=this.options.event+b),this._super.emit.call(this,a)}}),i($,Y,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[db]},attrTest:function(a){return this._super.attrTest.call(this,a)&&(Math.abs(a.scale-1)>this.options.threshold||this.state&hb)},emit:function(a){if(1!==a.scale){var b=a.scale<1?"in":"out";a.additionalEvent=this.options.event+b}this._super.emit.call(this,a)}}),i(_,U,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return[bb]},process:function(a){var b=this.options,c=a.pointers.length===b.pointers,d=a.distance<b.threshold,f=a.deltaTime>b.time;if(this._input=a,!d||!c||a.eventType&(Ca|Da)&&!f)this.reset();else if(a.eventType&Aa)this.reset(),this._timer=e(function(){this.state=kb,this.tryEmit()},b.time,this);else if(a.eventType&Ca)return kb;return mb},reset:function(){clearTimeout(this._timer)},emit:function(a){this.state===kb&&(a&&a.eventType&Ca?this.manager.emit(this.options.event+"up",a):(this._input.timeStamp=na(),this.manager.emit(this.options.event,this._input)))}}),i(aa,Y,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[db]},attrTest:function(a){return this._super.attrTest.call(this,a)&&(Math.abs(a.rotation)>this.options.threshold||this.state&hb)}}),i(ba,Y,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:Ja|Ka,pointers:1},getTouchAction:function(){return Z.prototype.getTouchAction.call(this)},attrTest:function(a){var b,c=this.options.direction;return c&(Ja|Ka)?b=a.overallVelocity:c&Ja?b=a.overallVelocityX:c&Ka&&(b=a.overallVelocityY),this._super.attrTest.call(this,a)&&c&a.offsetDirection&&a.distance>this.options.threshold&&a.maxPointers==this.options.pointers&&ma(b)>this.options.velocity&&a.eventType&Ca},emit:function(a){var b=W(a.offsetDirection);b&&this.manager.emit(this.options.event+b,a),this.manager.emit(this.options.event,a)}}),i(ca,U,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[cb]},process:function(a){var b=this.options,c=a.pointers.length===b.pointers,d=a.distance<b.threshold,f=a.deltaTime<b.time;if(this.reset(),a.eventType&Aa&&0===this.count)return this.failTimeout();if(d&&f&&c){if(a.eventType!=Ca)return this.failTimeout();var g=this.pTime?a.timeStamp-this.pTime<b.interval:!0,h=!this.pCenter||H(this.pCenter,a.center)<b.posThreshold;this.pTime=a.timeStamp,this.pCenter=a.center,h&&g?this.count+=1:this.count=1,this._input=a;var i=this.count%b.taps;if(0===i)return this.hasRequireFailures()?(this._timer=e(function(){this.state=kb,this.tryEmit()},b.interval,this),hb):kb}return mb},failTimeout:function(){return this._timer=e(function(){this.state=mb},this.options.interval,this),mb},reset:function(){clearTimeout(this._timer)},emit:function(){this.state==kb&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}}),da.VERSION="2.0.6",da.defaults={domEvents:!1,touchAction:ab,enable:!0,inputTarget:null,inputClass:null,preset:[[aa,{enable:!1}],[$,{enable:!1},["rotate"]],[ba,{direction:Ja}],[Z,{direction:Ja},["swipe"]],[ca],[ca,{event:"doubletap",taps:2},["tap"]],[_]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}};var nb=1,ob=2;ea.prototype={set:function(a){return ha(this.options,a),a.touchAction&&this.touchAction.update(),a.inputTarget&&(this.input.destroy(),this.input.target=a.inputTarget,this.input.init()),this},stop:function(a){this.session.stopped=a?ob:nb},recognize:function(a){var b=this.session;if(!b.stopped){this.touchAction.preventDefaults(a);var c,d=this.recognizers,e=b.curRecognizer;(!e||e&&e.state&kb)&&(e=b.curRecognizer=null);for(var f=0;f<d.length;)c=d[f],b.stopped===ob||e&&c!=e&&!c.canRecognizeWith(e)?c.reset():c.recognize(a),!e&&c.state&(hb|ib|jb)&&(e=b.curRecognizer=c),f++}},get:function(a){if(a instanceof U)return a;for(var b=this.recognizers,c=0;c<b.length;c++)if(b[c].options.event==a)return b[c];return null},add:function(a){if(f(a,"add",this))return this;var b=this.get(a.options.event);return b&&this.remove(b),this.recognizers.push(a),a.manager=this,this.touchAction.update(),a},remove:function(a){if(f(a,"remove",this))return this;if(a=this.get(a)){var b=this.recognizers,c=r(b,a);-1!==c&&(b.splice(c,1),this.touchAction.update())}return this},on:function(a,b){var c=this.handlers;return g(q(a),function(a){c[a]=c[a]||[],c[a].push(b)}),this},off:function(a,b){var c=this.handlers;return g(q(a),function(a){b?c[a]&&c[a].splice(r(c[a],b),1):delete c[a]}),this},emit:function(a,b){this.options.domEvents&&ga(a,b);var c=this.handlers[a]&&this.handlers[a].slice();if(c&&c.length){b.type=a,b.preventDefault=function(){b.srcEvent.preventDefault()};for(var d=0;d<c.length;)c[d](b),d++}},destroy:function(){this.element&&fa(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}},ha(da,{INPUT_START:Aa,INPUT_MOVE:Ba,INPUT_END:Ca,INPUT_CANCEL:Da,STATE_POSSIBLE:gb,STATE_BEGAN:hb,STATE_CHANGED:ib,STATE_ENDED:jb,STATE_RECOGNIZED:kb,STATE_CANCELLED:lb,STATE_FAILED:mb,DIRECTION_NONE:Ea,DIRECTION_LEFT:Fa,DIRECTION_RIGHT:Ga,DIRECTION_UP:Ha,DIRECTION_DOWN:Ia,DIRECTION_HORIZONTAL:Ja,DIRECTION_VERTICAL:Ka,DIRECTION_ALL:La,Manager:ea,Input:x,TouchAction:S,TouchInput:P,MouseInput:L,PointerEventInput:M,TouchMouseInput:R,SingleTouchInput:N,Recognizer:U,AttrRecognizer:Y,Tap:ca,Pan:Z,Swipe:ba,Pinch:$,Rotate:aa,Press:_,on:m,off:n,each:g,merge:pa,extend:oa,assign:ha,inherit:i,bindFn:j,prefixed:u});var pb="undefined"!=typeof a?a:"undefined"!=typeof self?self:{};pb.Hammer=da,"function"==typeof define&&define.amd?define(function(){return da}):"undefined"!=typeof module&&module.exports?module.exports=da:a[c]=da}(window,document,"Hammer");(function(factory){if(typeof define==='function'&&define.amd){define(['jquery','hammerjs'],factory)}else if(typeof exports==='object'){factory(require('jquery'),require('hammerjs'))}else{factory(jQuery,Hammer)}}(function($,Hammer){function hammerify(el,options){var $el=$(el);if(!$el.data("hammer")){$el.data("hammer",new Hammer($el[0],options))}}
$.fn.hammer=function(options){return this.each(function(){hammerify(this,options)})};Hammer.Manager.prototype.emit=(function(originalEmit){return function(type,data){originalEmit.call(this,type,data);$(this.element).trigger({type:type,gesture:data})}})(Hammer.Manager.prototype.emit)}));var QRCode;(function(){function QR8bitByte(data){this.mode=QRMode.MODE_8BIT_BYTE;this.data=data;this.parsedData=[];for(var i=0,l=this.data.length;i<l;i++){var byteArray=[];var code=this.data.charCodeAt(i);if(code>0x10000){byteArray[0]=0xF0|((code&0x1C0000)>>>18);byteArray[1]=0x80|((code&0x3F000)>>>12);byteArray[2]=0x80|((code&0xFC0)>>>6);byteArray[3]=0x80|(code&0x3F)}else if(code>0x800){byteArray[0]=0xE0|((code&0xF000)>>>12);byteArray[1]=0x80|((code&0xFC0)>>>6);byteArray[2]=0x80|(code&0x3F)}else if(code>0x80){byteArray[0]=0xC0|((code&0x7C0)>>>6);byteArray[1]=0x80|(code&0x3F)}else{byteArray[0]=code}
this.parsedData.push(byteArray)}
this.parsedData=Array.prototype.concat.apply([],this.parsedData);if(this.parsedData.length!=this.data.length){this.parsedData.unshift(191);this.parsedData.unshift(187);this.parsedData.unshift(239)}}
QR8bitByte.prototype={getLength:function(buffer){return this.parsedData.length},write:function(buffer){for(var i=0,l=this.parsedData.length;i<l;i++){buffer.put(this.parsedData[i],8)}}};function QRCodeModel(typeNumber,errorCorrectLevel){this.typeNumber=typeNumber;this.errorCorrectLevel=errorCorrectLevel;this.modules=null;this.moduleCount=0;this.dataCache=null;this.dataList=[]}
QRCodeModel.prototype={addData:function(data){var newData=new QR8bitByte(data);this.dataList.push(newData);this.dataCache=null},isDark:function(row,col){if(row<0||this.moduleCount<=row||col<0||this.moduleCount<=col){throw new Error(row+","+col)}
return this.modules[row][col]},getModuleCount:function(){return this.moduleCount},make:function(){this.makeImpl(!1,this.getBestMaskPattern())},makeImpl:function(test,maskPattern){this.moduleCount=this.typeNumber*4+17;this.modules=new Array(this.moduleCount);for(var row=0;row<this.moduleCount;row++){this.modules[row]=new Array(this.moduleCount);for(var col=0;col<this.moduleCount;col++){this.modules[row][col]=null}}
this.setupPositionProbePattern(0,0);this.setupPositionProbePattern(this.moduleCount-7,0);this.setupPositionProbePattern(0,this.moduleCount-7);this.setupPositionAdjustPattern();this.setupTimingPattern();this.setupTypeInfo(test,maskPattern);if(this.typeNumber>=7){this.setupTypeNumber(test)}
if(this.dataCache==null){this.dataCache=QRCodeModel.createData(this.typeNumber,this.errorCorrectLevel,this.dataList)}
this.mapData(this.dataCache,maskPattern)},setupPositionProbePattern:function(row,col){for(var r=-1;r<=7;r++){if(row+r<=-1||this.moduleCount<=row+r)continue;for(var c=-1;c<=7;c++){if(col+c<=-1||this.moduleCount<=col+c)continue;if((0<=r&&r<=6&&(c==0||c==6))||(0<=c&&c<=6&&(r==0||r==6))||(2<=r&&r<=4&&2<=c&&c<=4)){this.modules[row+r][col+c]=!0}else{this.modules[row+r][col+c]=!1}}}},getBestMaskPattern:function(){var minLostPoint=0;var pattern=0;for(var i=0;i<8;i++){this.makeImpl(!0,i);var lostPoint=QRUtil.getLostPoint(this);if(i==0||minLostPoint>lostPoint){minLostPoint=lostPoint;pattern=i}}
return pattern},createMovieClip:function(target_mc,instance_name,depth){var qr_mc=target_mc.createEmptyMovieClip(instance_name,depth);var cs=1;this.make();for(var row=0;row<this.modules.length;row++){var y=row*cs;for(var col=0;col<this.modules[row].length;col++){var x=col*cs;var dark=this.modules[row][col];if(dark){qr_mc.beginFill(0,100);qr_mc.moveTo(x,y);qr_mc.lineTo(x+cs,y);qr_mc.lineTo(x+cs,y+cs);qr_mc.lineTo(x,y+cs);qr_mc.endFill()}}}
return qr_mc},setupTimingPattern:function(){for(var r=8;r<this.moduleCount-8;r++){if(this.modules[r][6]!=null){continue}
this.modules[r][6]=(r%2==0)}
for(var c=8;c<this.moduleCount-8;c++){if(this.modules[6][c]!=null){continue}
this.modules[6][c]=(c%2==0)}},setupPositionAdjustPattern:function(){var pos=QRUtil.getPatternPosition(this.typeNumber);for(var i=0;i<pos.length;i++){for(var j=0;j<pos.length;j++){var row=pos[i];var col=pos[j];if(this.modules[row][col]!=null){continue}
for(var r=-2;r<=2;r++){for(var c=-2;c<=2;c++){if(r==-2||r==2||c==-2||c==2||(r==0&&c==0)){this.modules[row+r][col+c]=!0}else{this.modules[row+r][col+c]=!1}}}}}},setupTypeNumber:function(test){var bits=QRUtil.getBCHTypeNumber(this.typeNumber);for(var i=0;i<18;i++){var mod=(!test&&((bits>>i)&1)==1);this.modules[Math.floor(i/3)][i%3+this.moduleCount-8-3]=mod}
for(var i=0;i<18;i++){var mod=(!test&&((bits>>i)&1)==1);this.modules[i%3+this.moduleCount-8-3][Math.floor(i/3)]=mod}},setupTypeInfo:function(test,maskPattern){var data=(this.errorCorrectLevel<<3)|maskPattern;var bits=QRUtil.getBCHTypeInfo(data);for(var i=0;i<15;i++){var mod=(!test&&((bits>>i)&1)==1);if(i<6){this.modules[i][8]=mod}else if(i<8){this.modules[i+1][8]=mod}else{this.modules[this.moduleCount-15+i][8]=mod}}
for(var i=0;i<15;i++){var mod=(!test&&((bits>>i)&1)==1);if(i<8){this.modules[8][this.moduleCount-i-1]=mod}else if(i<9){this.modules[8][15-i-1+1]=mod}else{this.modules[8][15-i-1]=mod}}
this.modules[this.moduleCount-8][8]=(!test)},mapData:function(data,maskPattern){var inc=-1;var row=this.moduleCount-1;var bitIndex=7;var byteIndex=0;for(var col=this.moduleCount-1;col>0;col-=2){if(col==6)col--;for(;;){for(var c=0;c<2;c++){if(this.modules[row][col-c]==null){var dark=!1;if(byteIndex<data.length){dark=(((data[byteIndex]>>>bitIndex)&1)==1)}
var mask=QRUtil.getMask(maskPattern,row,col-c);if(mask){dark=!dark}
this.modules[row][col-c]=dark;bitIndex--;if(bitIndex==-1){byteIndex++;bitIndex=7}}}
row+=inc;if(row<0||this.moduleCount<=row){row-=inc;inc=-inc;break}}}}};QRCodeModel.PAD0=0xEC;QRCodeModel.PAD1=0x11;QRCodeModel.createData=function(typeNumber,errorCorrectLevel,dataList){var rsBlocks=QRRSBlock.getRSBlocks(typeNumber,errorCorrectLevel);var buffer=new QRBitBuffer();for(var i=0;i<dataList.length;i++){var data=dataList[i];buffer.put(data.mode,4);buffer.put(data.getLength(),QRUtil.getLengthInBits(data.mode,typeNumber));data.write(buffer)}
var totalDataCount=0;for(var i=0;i<rsBlocks.length;i++){totalDataCount+=rsBlocks[i].dataCount}
if(buffer.getLengthInBits()>totalDataCount*8){throw new Error("code length overflow. ("+buffer.getLengthInBits()+">"+totalDataCount*8+")")}
if(buffer.getLengthInBits()+4<=totalDataCount*8){buffer.put(0,4)}
while(buffer.getLengthInBits()%8!=0){buffer.putBit(!1)}
for(;;){if(buffer.getLengthInBits()>=totalDataCount*8){break}
buffer.put(QRCodeModel.PAD0,8);if(buffer.getLengthInBits()>=totalDataCount*8){break}
buffer.put(QRCodeModel.PAD1,8)}
return QRCodeModel.createBytes(buffer,rsBlocks)};QRCodeModel.createBytes=function(buffer,rsBlocks){var offset=0;var maxDcCount=0;var maxEcCount=0;var dcdata=new Array(rsBlocks.length);var ecdata=new Array(rsBlocks.length);for(var r=0;r<rsBlocks.length;r++){var dcCount=rsBlocks[r].dataCount;var ecCount=rsBlocks[r].totalCount-dcCount;maxDcCount=Math.max(maxDcCount,dcCount);maxEcCount=Math.max(maxEcCount,ecCount);dcdata[r]=new Array(dcCount);for(var i=0;i<dcdata[r].length;i++){dcdata[r][i]=0xff&buffer.buffer[i+offset]}
offset+=dcCount;var rsPoly=QRUtil.getErrorCorrectPolynomial(ecCount);var rawPoly=new QRPolynomial(dcdata[r],rsPoly.getLength()-1);var modPoly=rawPoly.mod(rsPoly);ecdata[r]=new Array(rsPoly.getLength()-1);for(var i=0;i<ecdata[r].length;i++){var modIndex=i+modPoly.getLength()-ecdata[r].length;ecdata[r][i]=(modIndex>=0)?modPoly.get(modIndex):0}}
var totalCodeCount=0;for(var i=0;i<rsBlocks.length;i++){totalCodeCount+=rsBlocks[i].totalCount}
var data=new Array(totalCodeCount);var index=0;for(var i=0;i<maxDcCount;i++){for(var r=0;r<rsBlocks.length;r++){if(i<dcdata[r].length){data[index++]=dcdata[r][i]}}}
for(var i=0;i<maxEcCount;i++){for(var r=0;r<rsBlocks.length;r++){if(i<ecdata[r].length){data[index++]=ecdata[r][i]}}}
return data};var QRMode={MODE_NUMBER:1<<0,MODE_ALPHA_NUM:1<<1,MODE_8BIT_BYTE:1<<2,MODE_KANJI:1<<3};var QRErrorCorrectLevel={L:1,M:0,Q:3,H:2};var QRMaskPattern={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};var QRUtil={PATTERN_POSITION_TABLE:[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],G15:(1<<10)|(1<<8)|(1<<5)|(1<<4)|(1<<2)|(1<<1)|(1<<0),G18:(1<<12)|(1<<11)|(1<<10)|(1<<9)|(1<<8)|(1<<5)|(1<<2)|(1<<0),G15_MASK:(1<<14)|(1<<12)|(1<<10)|(1<<4)|(1<<1),getBCHTypeInfo:function(data){var d=data<<10;while(QRUtil.getBCHDigit(d)-QRUtil.getBCHDigit(QRUtil.G15)>=0){d^=(QRUtil.G15<<(QRUtil.getBCHDigit(d)-QRUtil.getBCHDigit(QRUtil.G15)))}
return((data<<10)|d)^QRUtil.G15_MASK},getBCHTypeNumber:function(data){var d=data<<12;while(QRUtil.getBCHDigit(d)-QRUtil.getBCHDigit(QRUtil.G18)>=0){d^=(QRUtil.G18<<(QRUtil.getBCHDigit(d)-QRUtil.getBCHDigit(QRUtil.G18)))}
return(data<<12)|d},getBCHDigit:function(data){var digit=0;while(data!=0){digit++;data>>>=1}
return digit},getPatternPosition:function(typeNumber){return QRUtil.PATTERN_POSITION_TABLE[typeNumber-1]},getMask:function(maskPattern,i,j){switch(maskPattern){case QRMaskPattern.PATTERN000:return(i+j)%2==0;case QRMaskPattern.PATTERN001:return i%2==0;case QRMaskPattern.PATTERN010:return j%3==0;case QRMaskPattern.PATTERN011:return(i+j)%3==0;case QRMaskPattern.PATTERN100:return(Math.floor(i/2)+Math.floor(j/3))%2==0;case QRMaskPattern.PATTERN101:return(i*j)%2+(i*j)%3==0;case QRMaskPattern.PATTERN110:return((i*j)%2+(i*j)%3)%2==0;case QRMaskPattern.PATTERN111:return((i*j)%3+(i+j)%2)%2==0;default:throw new Error("bad maskPattern:"+maskPattern)}},getErrorCorrectPolynomial:function(errorCorrectLength){var a=new QRPolynomial([1],0);for(var i=0;i<errorCorrectLength;i++){a=a.multiply(new QRPolynomial([1,QRMath.gexp(i)],0))}
return a},getLengthInBits:function(mode,type){if(1<=type&&type<10){switch(mode){case QRMode.MODE_NUMBER:return 10;case QRMode.MODE_ALPHA_NUM:return 9;case QRMode.MODE_8BIT_BYTE:return 8;case QRMode.MODE_KANJI:return 8;default:throw new Error("mode:"+mode)}}else if(type<27){switch(mode){case QRMode.MODE_NUMBER:return 12;case QRMode.MODE_ALPHA_NUM:return 11;case QRMode.MODE_8BIT_BYTE:return 16;case QRMode.MODE_KANJI:return 10;default:throw new Error("mode:"+mode)}}else if(type<41){switch(mode){case QRMode.MODE_NUMBER:return 14;case QRMode.MODE_ALPHA_NUM:return 13;case QRMode.MODE_8BIT_BYTE:return 16;case QRMode.MODE_KANJI:return 12;default:throw new Error("mode:"+mode)}}else{throw new Error("type:"+type)}},getLostPoint:function(qrCode){var moduleCount=qrCode.getModuleCount();var lostPoint=0;for(var row=0;row<moduleCount;row++){for(var col=0;col<moduleCount;col++){var sameCount=0;var dark=qrCode.isDark(row,col);for(var r=-1;r<=1;r++){if(row+r<0||moduleCount<=row+r){continue}
for(var c=-1;c<=1;c++){if(col+c<0||moduleCount<=col+c){continue}
if(r==0&&c==0){continue}
if(dark==qrCode.isDark(row+r,col+c)){sameCount++}}}
if(sameCount>5){lostPoint+=(3+sameCount-5)}}}
for(var row=0;row<moduleCount-1;row++){for(var col=0;col<moduleCount-1;col++){var count=0;if(qrCode.isDark(row,col))count++;if(qrCode.isDark(row+1,col))count++;if(qrCode.isDark(row,col+1))count++;if(qrCode.isDark(row+1,col+1))count++;if(count==0||count==4){lostPoint+=3}}}
for(var row=0;row<moduleCount;row++){for(var col=0;col<moduleCount-6;col++){if(qrCode.isDark(row,col)&&!qrCode.isDark(row,col+1)&&qrCode.isDark(row,col+2)&&qrCode.isDark(row,col+3)&&qrCode.isDark(row,col+4)&&!qrCode.isDark(row,col+5)&&qrCode.isDark(row,col+6)){lostPoint+=40}}}
for(var col=0;col<moduleCount;col++){for(var row=0;row<moduleCount-6;row++){if(qrCode.isDark(row,col)&&!qrCode.isDark(row+1,col)&&qrCode.isDark(row+2,col)&&qrCode.isDark(row+3,col)&&qrCode.isDark(row+4,col)&&!qrCode.isDark(row+5,col)&&qrCode.isDark(row+6,col)){lostPoint+=40}}}
var darkCount=0;for(var col=0;col<moduleCount;col++){for(var row=0;row<moduleCount;row++){if(qrCode.isDark(row,col)){darkCount++}}}
var ratio=Math.abs(100*darkCount/moduleCount/moduleCount-50)/5;lostPoint+=ratio*10;return lostPoint}};var QRMath={glog:function(n){if(n<1){throw new Error("glog("+n+")")}
return QRMath.LOG_TABLE[n]},gexp:function(n){while(n<0){n+=255}
while(n>=256){n-=255}
return QRMath.EXP_TABLE[n]},EXP_TABLE:new Array(256),LOG_TABLE:new Array(256)};for(var i=0;i<8;i++){QRMath.EXP_TABLE[i]=1<<i}
for(var i=8;i<256;i++){QRMath.EXP_TABLE[i]=QRMath.EXP_TABLE[i-4]^QRMath.EXP_TABLE[i-5]^QRMath.EXP_TABLE[i-6]^QRMath.EXP_TABLE[i-8]}
for(var i=0;i<255;i++){QRMath.LOG_TABLE[QRMath.EXP_TABLE[i]]=i}
function QRPolynomial(num,shift){if(num.length==undefined){throw new Error(num.length+"/"+shift)}
var offset=0;while(offset<num.length&&num[offset]==0){offset++}
this.num=new Array(num.length-offset+shift);for(var i=0;i<num.length-offset;i++){this.num[i]=num[i+offset]}}
QRPolynomial.prototype={get:function(index){return this.num[index]},getLength:function(){return this.num.length},multiply:function(e){var num=new Array(this.getLength()+e.getLength()-1);for(var i=0;i<this.getLength();i++){for(var j=0;j<e.getLength();j++){num[i+j]^=QRMath.gexp(QRMath.glog(this.get(i))+QRMath.glog(e.get(j)))}}
return new QRPolynomial(num,0)},mod:function(e){if(this.getLength()-e.getLength()<0){return this}
var ratio=QRMath.glog(this.get(0))-QRMath.glog(e.get(0));var num=new Array(this.getLength());for(var i=0;i<this.getLength();i++){num[i]=this.get(i)}
for(var i=0;i<e.getLength();i++){num[i]^=QRMath.gexp(QRMath.glog(e.get(i))+ratio)}
return new QRPolynomial(num,0).mod(e)}};function QRRSBlock(totalCount,dataCount){this.totalCount=totalCount;this.dataCount=dataCount}
QRRSBlock.RS_BLOCK_TABLE=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16],[4,101,81],[1,80,50,4,81,51],[4,50,22,4,51,23],[3,36,12,8,37,13],[2,116,92,2,117,93],[6,58,36,2,59,37],[4,46,20,6,47,21],[7,42,14,4,43,15],[4,133,107],[8,59,37,1,60,38],[8,44,20,4,45,21],[12,33,11,4,34,12],[3,145,115,1,146,116],[4,64,40,5,65,41],[11,36,16,5,37,17],[11,36,12,5,37,13],[5,109,87,1,110,88],[5,65,41,5,66,42],[5,54,24,7,55,25],[11,36,12],[5,122,98,1,123,99],[7,73,45,3,74,46],[15,43,19,2,44,20],[3,45,15,13,46,16],[1,135,107,5,136,108],[10,74,46,1,75,47],[1,50,22,15,51,23],[2,42,14,17,43,15],[5,150,120,1,151,121],[9,69,43,4,70,44],[17,50,22,1,51,23],[2,42,14,19,43,15],[3,141,113,4,142,114],[3,70,44,11,71,45],[17,47,21,4,48,22],[9,39,13,16,40,14],[3,135,107,5,136,108],[3,67,41,13,68,42],[15,54,24,5,55,25],[15,43,15,10,44,16],[4,144,116,4,145,117],[17,68,42],[17,50,22,6,51,23],[19,46,16,6,47,17],[2,139,111,7,140,112],[17,74,46],[7,54,24,16,55,25],[34,37,13],[4,151,121,5,152,122],[4,75,47,14,76,48],[11,54,24,14,55,25],[16,45,15,14,46,16],[6,147,117,4,148,118],[6,73,45,14,74,46],[11,54,24,16,55,25],[30,46,16,2,47,17],[8,132,106,4,133,107],[8,75,47,13,76,48],[7,54,24,22,55,25],[22,45,15,13,46,16],[10,142,114,2,143,115],[19,74,46,4,75,47],[28,50,22,6,51,23],[33,46,16,4,47,17],[8,152,122,4,153,123],[22,73,45,3,74,46],[8,53,23,26,54,24],[12,45,15,28,46,16],[3,147,117,10,148,118],[3,73,45,23,74,46],[4,54,24,31,55,25],[11,45,15,31,46,16],[7,146,116,7,147,117],[21,73,45,7,74,46],[1,53,23,37,54,24],[19,45,15,26,46,16],[5,145,115,10,146,116],[19,75,47,10,76,48],[15,54,24,25,55,25],[23,45,15,25,46,16],[13,145,115,3,146,116],[2,74,46,29,75,47],[42,54,24,1,55,25],[23,45,15,28,46,16],[17,145,115],[10,74,46,23,75,47],[10,54,24,35,55,25],[19,45,15,35,46,16],[17,145,115,1,146,116],[14,74,46,21,75,47],[29,54,24,19,55,25],[11,45,15,46,46,16],[13,145,115,6,146,116],[14,74,46,23,75,47],[44,54,24,7,55,25],[59,46,16,1,47,17],[12,151,121,7,152,122],[12,75,47,26,76,48],[39,54,24,14,55,25],[22,45,15,41,46,16],[6,151,121,14,152,122],[6,75,47,34,76,48],[46,54,24,10,55,25],[2,45,15,64,46,16],[17,152,122,4,153,123],[29,74,46,14,75,47],[49,54,24,10,55,25],[24,45,15,46,46,16],[4,152,122,18,153,123],[13,74,46,32,75,47],[48,54,24,14,55,25],[42,45,15,32,46,16],[20,147,117,4,148,118],[40,75,47,7,76,48],[43,54,24,22,55,25],[10,45,15,67,46,16],[19,148,118,6,149,119],[18,75,47,31,76,48],[34,54,24,34,55,25],[20,45,15,61,46,16]];QRRSBlock.getRSBlocks=function(typeNumber,errorCorrectLevel){var rsBlock=QRRSBlock.getRsBlockTable(typeNumber,errorCorrectLevel);if(rsBlock==undefined){throw new Error("bad rs block @ typeNumber:"+typeNumber+"/errorCorrectLevel:"+errorCorrectLevel)}
var length=rsBlock.length/3;var list=[];for(var i=0;i<length;i++){var count=rsBlock[i*3+0];var totalCount=rsBlock[i*3+1];var dataCount=rsBlock[i*3+2];for(var j=0;j<count;j++){list.push(new QRRSBlock(totalCount,dataCount))}}
return list};QRRSBlock.getRsBlockTable=function(typeNumber,errorCorrectLevel){switch(errorCorrectLevel){case QRErrorCorrectLevel.L:return QRRSBlock.RS_BLOCK_TABLE[(typeNumber-1)*4+0];case QRErrorCorrectLevel.M:return QRRSBlock.RS_BLOCK_TABLE[(typeNumber-1)*4+1];case QRErrorCorrectLevel.Q:return QRRSBlock.RS_BLOCK_TABLE[(typeNumber-1)*4+2];case QRErrorCorrectLevel.H:return QRRSBlock.RS_BLOCK_TABLE[(typeNumber-1)*4+3];default:return undefined}};function QRBitBuffer(){this.buffer=[];this.length=0}
QRBitBuffer.prototype={get:function(index){var bufIndex=Math.floor(index/8);return((this.buffer[bufIndex]>>>(7-index%8))&1)==1},put:function(num,length){for(var i=0;i<length;i++){this.putBit(((num>>>(length-i-1))&1)==1)}},getLengthInBits:function(){return this.length},putBit:function(bit){var bufIndex=Math.floor(this.length/8);if(this.buffer.length<=bufIndex){this.buffer.push(0)}
if(bit){this.buffer[bufIndex]|=(0x80>>>(this.length%8))}
this.length++}};var QRCodeLimitLength=[[17,14,11,7],[32,26,20,14],[53,42,32,24],[78,62,46,34],[106,84,60,44],[134,106,74,58],[154,122,86,64],[192,152,108,84],[230,180,130,98],[271,213,151,119],[321,251,177,137],[367,287,203,155],[425,331,241,177],[458,362,258,194],[520,412,292,220],[586,450,322,250],[644,504,364,280],[718,560,394,310],[792,624,442,338],[858,666,482,382],[929,711,509,403],[1003,779,565,439],[1091,857,611,461],[1171,911,661,511],[1273,997,715,535],[1367,1059,751,593],[1465,1125,805,625],[1528,1190,868,658],[1628,1264,908,698],[1732,1370,982,742],[1840,1452,1030,790],[1952,1538,1112,842],[2068,1628,1168,898],[2188,1722,1228,958],[2303,1809,1283,983],[2431,1911,1351,1051],[2563,1989,1423,1093],[2699,2099,1499,1139],[2809,2213,1579,1219],[2953,2331,1663,1273]];function _isSupportCanvas(){return typeof CanvasRenderingContext2D!="undefined"}
function _getAndroid(){var android=!1;var sAgent=navigator.userAgent;if(/android/i.test(sAgent)){android=!0;var aMat=sAgent.toString().match(/android ([0-9]\.[0-9])/i);if(aMat&&aMat[1]){android=parseFloat(aMat[1])}}
return android}
var svgDrawer=(function(){var Drawing=function(el,htOption){this._el=el;this._htOption=htOption};Drawing.prototype.draw=function(oQRCode){var _htOption=this._htOption;var _el=this._el;var nCount=oQRCode.getModuleCount();var nWidth=Math.floor(_htOption.width/nCount);var nHeight=Math.floor(_htOption.height/nCount);this.clear();function makeSVG(tag,attrs){var el=document.createElementNS('http://www.w3.org/2000/svg',tag);for(var k in attrs)
if(attrs.hasOwnProperty(k))el.setAttribute(k,attrs[k]);return el}
var svg=makeSVG("svg",{'viewBox':'0 0 '+String(nCount)+" "+String(nCount),'width':'100%','height':'100%','fill':_htOption.colorLight});svg.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xlink","http://www.w3.org/1999/xlink");_el.appendChild(svg);svg.appendChild(makeSVG("rect",{"fill":_htOption.colorLight,"width":"100%","height":"100%"}));svg.appendChild(makeSVG("rect",{"fill":_htOption.colorDark,"width":"1","height":"1","id":"template"}));for(var row=0;row<nCount;row++){for(var col=0;col<nCount;col++){if(oQRCode.isDark(row,col)){var child=makeSVG("use",{"x":String(col),"y":String(row)});child.setAttributeNS("http://www.w3.org/1999/xlink","href","#template")
svg.appendChild(child)}}}};Drawing.prototype.clear=function(){while(this._el.hasChildNodes())
this._el.removeChild(this._el.lastChild);};return Drawing})();var useSVG=document.documentElement.tagName.toLowerCase()==="svg";var Drawing=useSVG?svgDrawer:!_isSupportCanvas()?(function(){var Drawing=function(el,htOption){this._el=el;this._htOption=htOption};Drawing.prototype.draw=function(oQRCode){var _htOption=this._htOption;var _el=this._el;var nCount=oQRCode.getModuleCount();var nWidth=Math.floor(_htOption.width/nCount);var nHeight=Math.floor(_htOption.height/nCount);var aHTML=['<table style="border:0;border-collapse:collapse;">'];for(var row=0;row<nCount;row++){aHTML.push('<tr>');for(var col=0;col<nCount;col++){aHTML.push('<td style="border:0;border-collapse:collapse;padding:0;margin:0;width:'+nWidth+'px;height:'+nHeight+'px;background-color:'+(oQRCode.isDark(row,col)?_htOption.colorDark:_htOption.colorLight)+';"></td>')}
aHTML.push('</tr>')}
aHTML.push('</table>');_el.innerHTML=aHTML.join('');var elTable=_el.childNodes[0];var nLeftMarginTable=(_htOption.width-elTable.offsetWidth)/2;var nTopMarginTable=(_htOption.height-elTable.offsetHeight)/2;if(nLeftMarginTable>0&&nTopMarginTable>0){elTable.style.margin=nTopMarginTable+"px "+nLeftMarginTable+"px"}};Drawing.prototype.clear=function(){this._el.innerHTML=''};return Drawing})():(function(){function _onMakeImage(){this._elImage.src=this._elCanvas.toDataURL("image/png");this._elImage.style.display="block";this._elCanvas.style.display="none"}
if(this._android&&this._android<=2.1){var factor=1/window.devicePixelRatio;var drawImage=CanvasRenderingContext2D.prototype.drawImage;CanvasRenderingContext2D.prototype.drawImage=function(image,sx,sy,sw,sh,dx,dy,dw,dh){if(("nodeName" in image)&&/img/i.test(image.nodeName)){for(var i=arguments.length-1;i>=1;i--){arguments[i]=arguments[i]*factor}}else if(typeof dw=="undefined"){arguments[1]*=factor;arguments[2]*=factor;arguments[3]*=factor;arguments[4]*=factor}
drawImage.apply(this,arguments)}}
function _safeSetDataURI(fSuccess,fFail){var self=this;self._fFail=fFail;self._fSuccess=fSuccess;if(self._bSupportDataURI===null){var el=document.createElement("img");var fOnError=function(){self._bSupportDataURI=!1;if(self._fFail){self._fFail.call(self)}};var fOnSuccess=function(){self._bSupportDataURI=!0;if(self._fSuccess){self._fSuccess.call(self)}};el.onabort=fOnError;el.onerror=fOnError;el.onload=fOnSuccess;el.src="data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==";return}else if(self._bSupportDataURI===!0&&self._fSuccess){self._fSuccess.call(self)}else if(self._bSupportDataURI===!1&&self._fFail){self._fFail.call(self)}};var Drawing=function(el,htOption){this._bIsPainted=!1;this._android=_getAndroid();this._htOption=htOption;this._elCanvas=document.createElement("canvas");this._elCanvas.width=htOption.width;this._elCanvas.height=htOption.height;el.appendChild(this._elCanvas);this._el=el;this._oContext=this._elCanvas.getContext("2d");this._bIsPainted=!1;this._elImage=document.createElement("img");this._elImage.alt="Scan me!";this._elImage.style.display="none";this._el.appendChild(this._elImage);this._bSupportDataURI=null};Drawing.prototype.draw=function(oQRCode){var _elImage=this._elImage;var _oContext=this._oContext;var _htOption=this._htOption;var nCount=oQRCode.getModuleCount();var nWidth=_htOption.width/nCount;var nHeight=_htOption.height/nCount;var nRoundedWidth=Math.round(nWidth);var nRoundedHeight=Math.round(nHeight);_elImage.style.display="none";this.clear();for(var row=0;row<nCount;row++){for(var col=0;col<nCount;col++){var bIsDark=oQRCode.isDark(row,col);var nLeft=col*nWidth;var nTop=row*nHeight;_oContext.strokeStyle=bIsDark?_htOption.colorDark:_htOption.colorLight;_oContext.lineWidth=1;_oContext.fillStyle=bIsDark?_htOption.colorDark:_htOption.colorLight;_oContext.fillRect(nLeft,nTop,nWidth,nHeight);_oContext.strokeRect(Math.floor(nLeft)+0.5,Math.floor(nTop)+0.5,nRoundedWidth,nRoundedHeight);_oContext.strokeRect(Math.ceil(nLeft)-0.5,Math.ceil(nTop)-0.5,nRoundedWidth,nRoundedHeight)}}
this._bIsPainted=!0};Drawing.prototype.makeImage=function(){if(this._bIsPainted){_safeSetDataURI.call(this,_onMakeImage)}};Drawing.prototype.isPainted=function(){return this._bIsPainted};Drawing.prototype.clear=function(){this._oContext.clearRect(0,0,this._elCanvas.width,this._elCanvas.height);this._bIsPainted=!1};Drawing.prototype.round=function(nNumber){if(!nNumber){return nNumber}
return Math.floor(nNumber*1000)/1000};return Drawing})();function _getTypeNumber(sText,nCorrectLevel){var nType=1;var length=_getUTF8Length(sText);for(var i=0,len=QRCodeLimitLength.length;i<=len;i++){var nLimit=0;switch(nCorrectLevel){case QRErrorCorrectLevel.L:nLimit=QRCodeLimitLength[i][0];break;case QRErrorCorrectLevel.M:nLimit=QRCodeLimitLength[i][1];break;case QRErrorCorrectLevel.Q:nLimit=QRCodeLimitLength[i][2];break;case QRErrorCorrectLevel.H:nLimit=QRCodeLimitLength[i][3];break}
if(length<=nLimit){break}else{nType++}}
if(nType>QRCodeLimitLength.length){throw new Error("Too long data")}
return nType}
function _getUTF8Length(sText){var replacedText=encodeURI(sText).toString().replace(/\%[0-9a-fA-F]{2}/g,'a');return replacedText.length+(replacedText.length!=sText?3:0)}
QRCode=function(el,vOption){this._htOption={width:256,height:256,typeNumber:4,colorDark:"#000000",colorLight:"#ffffff",correctLevel:QRErrorCorrectLevel.H};if(typeof vOption==='string'){vOption={text:vOption}}
if(vOption){for(var i in vOption){this._htOption[i]=vOption[i]}}
if(typeof el=="string"){el=document.getElementById(el)}
if(this._htOption.useSVG){Drawing=svgDrawer}
this._android=_getAndroid();this._el=el;this._oQRCode=null;this._oDrawing=new Drawing(this._el,this._htOption);if(this._htOption.text){this.makeCode(this._htOption.text)}};QRCode.prototype.makeCode=function(sText){this._oQRCode=new QRCodeModel(_getTypeNumber(sText,this._htOption.correctLevel),this._htOption.correctLevel);this._oQRCode.addData(sText);this._oQRCode.make();this._el.title=sText;this._oDrawing.draw(this._oQRCode);this.makeImage()};QRCode.prototype.makeImage=function(){if(typeof this._oDrawing.makeImage=="function"&&(!this._android||this._android>=3)){this._oDrawing.makeImage()}};QRCode.prototype.clear=function(){this._oDrawing.clear()};QRCode.CorrectLevel=QRErrorCorrectLevel})();const booklyJsVersion="24.2";
/*!*/var bookly=function(e){"use strict";var t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function o(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var n=function(e){try{return!!e()}catch(e){return!0}},r=!n((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})),i=r,a=Function.prototype,l=a.call,s=i&&a.bind.bind(l,l),c=i?s:function(e){return function(){return l.apply(e,arguments)}},u=c({}.isPrototypeOf),d=function(e){return e&&e.Math===Math&&e},f=d("object"==typeof globalThis&&globalThis)||d("object"==typeof window&&window)||d("object"==typeof self&&self)||d("object"==typeof t&&t)||d("object"==typeof t&&t)||function(){return this}()||Function("return this")(),y=r,p=Function.prototype,h=p.apply,m=p.call,b="object"==typeof Reflect&&Reflect.apply||(y?m.bind(h):function(){return m.apply(h,arguments)}),v=c,k=v({}.toString),g=v("".slice),_=function(e){return g(k(e),8,-1)},w=_,x=c,$=function(e){if("Function"===w(e))return x(e)},j="object"==typeof document&&document.all,S=void 0===j&&void 0!==j?function(e){return"function"==typeof e||e===j}:function(e){return"function"==typeof e},O={},P=!n((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})),E=r,D=Function.prototype.call,T=E?D.bind(D):function(){return D.apply(D,arguments)},C={},A={}.propertyIsEnumerable,M=Object.getOwnPropertyDescriptor,L=M&&!A.call({1:2},1);C.f=L?function(e){var t=M(this,e);return!!t&&t.enumerable}:A;var I,R,F=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},N=n,z=_,B=Object,q=c("".split),G=N((function(){return!B("z").propertyIsEnumerable(0)}))?function(e){return"String"===z(e)?q(e,""):B(e)}:B,Y=function(e){return null==e},W=Y,H=TypeError,V=function(e){if(W(e))throw new H("Can't call method on "+e);return e},U=G,Z=V,Q=function(e){return U(Z(e))},J=S,X=function(e){return"object"==typeof e?null!==e:J(e)},K={},ee=K,te=f,oe=S,ne=function(e){return oe(e)?e:void 0},re=function(e,t){return arguments.length<2?ne(ee[e])||ne(te[e]):ee[e]&&ee[e][t]||te[e]&&te[e][t]},ie="undefined"!=typeof navigator&&String(navigator.userAgent)||"",ae=f,le=ie,se=ae.process,ce=ae.Deno,ue=se&&se.versions||ce&&ce.version,de=ue&&ue.v8;de&&(R=(I=de.split("."))[0]>0&&I[0]<4?1:+(I[0]+I[1])),!R&&le&&(!(I=le.match(/Edge\/(\d+)/))||I[1]>=74)&&(I=le.match(/Chrome\/(\d+)/))&&(R=+I[1]);var fe=R,ye=fe,pe=n,he=f.String,me=!!Object.getOwnPropertySymbols&&!pe((function(){var e=Symbol("symbol detection");return!he(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&ye&&ye<41})),be=me&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,ve=re,ke=S,ge=u,_e=Object,we=be?function(e){return"symbol"==typeof e}:function(e){var t=ve("Symbol");return ke(t)&&ge(t.prototype,_e(e))},xe=String,$e=function(e){try{return xe(e)}catch(e){return"Object"}},je=S,Se=$e,Oe=TypeError,Pe=function(e){if(je(e))return e;throw new Oe(Se(e)+" is not a function")},Ee=Pe,De=Y,Te=function(e,t){var o=e[t];return De(o)?void 0:Ee(o)},Ce=T,Ae=S,Me=X,Le=TypeError,Ie={exports:{}},Re=f,Fe=Object.defineProperty,Ne=function(e,t){try{Fe(Re,e,{value:t,configurable:!0,writable:!0})}catch(o){Re[e]=t}return t},ze="__core-js_shared__",Be=f[ze]||Ne(ze,{}),qe=Be;(Ie.exports=function(e,t){return qe[e]||(qe[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.35.0",mode:"pure",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.35.0/LICENSE",source:"https://github.com/zloirock/core-js"});var Ge=Ie.exports,Ye=V,We=Object,He=function(e){return We(Ye(e))},Ve=He,Ue=c({}.hasOwnProperty),Ze=Object.hasOwn||function(e,t){return Ue(Ve(e),t)},Qe=c,Je=0,Xe=Math.random(),Ke=Qe(1..toString),et=function(e){return"Symbol("+(void 0===e?"":e)+")_"+Ke(++Je+Xe,36)},tt=Ge,ot=Ze,nt=et,rt=me,it=be,at=f.Symbol,lt=tt("wks"),st=it?at.for||at:at&&at.withoutSetter||nt,ct=function(e){return ot(lt,e)||(lt[e]=rt&&ot(at,e)?at[e]:st("Symbol."+e)),lt[e]},ut=T,dt=X,ft=we,yt=Te,pt=function(e,t){var o,n;if("string"===t&&Ae(o=e.toString)&&!Me(n=Ce(o,e)))return n;if(Ae(o=e.valueOf)&&!Me(n=Ce(o,e)))return n;if("string"!==t&&Ae(o=e.toString)&&!Me(n=Ce(o,e)))return n;throw new Le("Can't convert object to primitive value")},ht=TypeError,mt=ct("toPrimitive"),bt=function(e,t){if(!dt(e)||ft(e))return e;var o,n=yt(e,mt);if(n){if(void 0===t&&(t="default"),o=ut(n,e,t),!dt(o)||ft(o))return o;throw new ht("Can't convert object to primitive value")}return void 0===t&&(t="number"),pt(e,t)},vt=we,kt=function(e){var t=bt(e,"string");return vt(t)?t:t+""},gt=X,_t=f.document,wt=gt(_t)&&gt(_t.createElement),xt=function(e){return wt?_t.createElement(e):{}},$t=xt,jt=!P&&!n((function(){return 7!==Object.defineProperty($t("div"),"a",{get:function(){return 7}}).a})),St=P,Ot=T,Pt=C,Et=F,Dt=Q,Tt=kt,Ct=Ze,At=jt,Mt=Object.getOwnPropertyDescriptor;O.f=St?Mt:function(e,t){if(e=Dt(e),t=Tt(t),At)try{return Mt(e,t)}catch(e){}if(Ct(e,t))return Et(!Ot(Pt.f,e,t),e[t])};var Lt=n,It=S,Rt=/#|\.prototype\./,Ft=function(e,t){var o=zt[Nt(e)];return o===qt||o!==Bt&&(It(t)?Lt(t):!!t)},Nt=Ft.normalize=function(e){return String(e).replace(Rt,".").toLowerCase()},zt=Ft.data={},Bt=Ft.NATIVE="N",qt=Ft.POLYFILL="P",Gt=Ft,Yt=Pe,Wt=r,Ht=$($.bind),Vt=function(e,t){return Yt(e),void 0===t?e:Wt?Ht(e,t):function(){return e.apply(t,arguments)}},Ut={},Zt=P&&n((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Qt=X,Jt=String,Xt=TypeError,Kt=function(e){if(Qt(e))return e;throw new Xt(Jt(e)+" is not an object")},eo=P,to=jt,oo=Zt,no=Kt,ro=kt,io=TypeError,ao=Object.defineProperty,lo=Object.getOwnPropertyDescriptor,so="enumerable",co="configurable",uo="writable";Ut.f=eo?oo?function(e,t,o){if(no(e),t=ro(t),no(o),"function"==typeof e&&"prototype"===t&&"value"in o&&uo in o&&!o[uo]){var n=lo(e,t);n&&n[uo]&&(e[t]=o.value,o={configurable:co in o?o[co]:n[co],enumerable:so in o?o[so]:n[so],writable:!1})}return ao(e,t,o)}:ao:function(e,t,o){if(no(e),t=ro(t),no(o),to)try{return ao(e,t,o)}catch(e){}if("get"in o||"set"in o)throw new io("Accessors not supported");return"value"in o&&(e[t]=o.value),e};var fo=Ut,yo=F,po=P?function(e,t,o){return fo.f(e,t,yo(1,o))}:function(e,t,o){return e[t]=o,e},ho=f,mo=b,bo=$,vo=S,ko=O.f,go=Gt,_o=K,wo=Vt,xo=po,$o=Ze,jo=function(e){var t=function(o,n,r){if(this instanceof t){switch(arguments.length){case 0:return new e;case 1:return new e(o);case 2:return new e(o,n)}return new e(o,n,r)}return mo(e,this,arguments)};return t.prototype=e.prototype,t},So=function(e,t){var o,n,r,i,a,l,s,c,u,d=e.target,f=e.global,y=e.stat,p=e.proto,h=f?ho:y?ho[d]:(ho[d]||{}).prototype,m=f?_o:_o[d]||xo(_o,d,{})[d],b=m.prototype;for(i in t)n=!(o=go(f?i:d+(y?".":"#")+i,e.forced))&&h&&$o(h,i),l=m[i],n&&(s=e.dontCallGetSet?(u=ko(h,i))&&u.value:h[i]),a=n&&s?s:t[i],n&&typeof l==typeof a||(c=e.bind&&n?wo(a,ho):e.wrap&&n?jo(a):p&&vo(a)?bo(a):a,(e.sham||a&&a.sham||l&&l.sham)&&xo(c,"sham",!0),xo(m,i,c),p&&($o(_o,r=d+"Prototype")||xo(_o,r,{}),xo(_o[r],i,a),e.real&&b&&(o||!b[i])&&xo(b,i,a)))},Oo=Math.ceil,Po=Math.floor,Eo=Math.trunc||function(e){var t=+e;return(t>0?Po:Oo)(t)},Do=function(e){var t=+e;return t!=t||0===t?0:Eo(t)},To=Do,Co=Math.max,Ao=Math.min,Mo=function(e,t){var o=To(e);return o<0?Co(o+t,0):Ao(o,t)},Lo=Do,Io=Math.min,Ro=function(e){return e>0?Io(Lo(e),9007199254740991):0},Fo=Ro,No=function(e){return Fo(e.length)},zo=Q,Bo=Mo,qo=No,Go=function(e){return function(t,o,n){var r,i=zo(t),a=qo(i),l=Bo(n,a);if(e&&o!=o){for(;a>l;)if((r=i[l++])!=r)return!0}else for(;a>l;l++)if((e||l in i)&&i[l]===o)return e||l||0;return!e&&-1}},Yo={includes:Go(!0),indexOf:Go(!1)},Wo=Yo.includes;So({target:"Array",proto:!0,forced:n((function(){return!Array(1).includes()}))},{includes:function(e){return Wo(this,e,arguments.length>1?arguments[1]:void 0)}});var Ho=f,Vo=K,Uo=function(e,t){var o=Vo[e+"Prototype"],n=o&&o[t];if(n)return n;var r=Ho[e],i=r&&r.prototype;return i&&i[t]},Zo=Uo("Array","includes"),Qo=X,Jo=_,Xo=ct("match"),Ko=function(e){var t;return Qo(e)&&(void 0!==(t=e[Xo])?!!t:"RegExp"===Jo(e))},en=TypeError,tn={};tn[ct("toStringTag")]="z";var on="[object z]"===String(tn),nn=on,rn=S,an=_,ln=ct("toStringTag"),sn=Object,cn="Arguments"===an(function(){return arguments}()),un=nn?an:function(e){var t,o,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(o=function(e,t){try{return e[t]}catch(e){}}(t=sn(e),ln))?o:cn?an(t):"Object"===(n=an(t))&&rn(t.callee)?"Arguments":n},dn=un,fn=String,yn=function(e){if("Symbol"===dn(e))throw new TypeError("Cannot convert a Symbol value to a string");return fn(e)},pn=ct("match"),hn=So,mn=function(e){if(Ko(e))throw new en("The method doesn't accept regular expressions");return e},bn=V,vn=yn,kn=function(e){var t=/./;try{"/./"[e](t)}catch(o){try{return t[pn]=!1,"/./"[e](t)}catch(e){}}return!1},gn=c("".indexOf);hn({target:"String",proto:!0,forced:!kn("includes")},{includes:function(e){return!!~gn(vn(bn(this)),vn(mn(e)),arguments.length>1?arguments[1]:void 0)}});var _n=Uo("String","includes"),wn=u,xn=Zo,$n=_n,jn=Array.prototype,Sn=String.prototype,On=o((function(e){var t=e.includes;return e===jn||wn(jn,e)&&t===jn.includes?xn:"string"==typeof e||e===Sn||wn(Sn,e)&&t===Sn.includes?$n:t})),Pn=et,En=Ge("keys"),Dn=function(e){return En[e]||(En[e]=Pn(e))},Tn=!n((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),Cn=Ze,An=S,Mn=He,Ln=Tn,In=Dn("IE_PROTO"),Rn=Object,Fn=Rn.prototype,Nn=Ln?Rn.getPrototypeOf:function(e){var t=Mn(e);if(Cn(t,In))return t[In];var o=t.constructor;return An(o)&&t instanceof o?o.prototype:t instanceof Rn?Fn:null},zn=c,Bn=Pe,qn=X,Gn=function(e){return qn(e)||null===e},Yn=String,Wn=TypeError,Hn=function(e,t,o){try{return zn(Bn(Object.getOwnPropertyDescriptor(e,t)[o]))}catch(e){}},Vn=Kt,Un=function(e){if(Gn(e))return e;throw new Wn("Can't set "+Yn(e)+" as a prototype")},Zn=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,o={};try{(e=Hn(Object.prototype,"__proto__","set"))(o,[]),t=o instanceof Array}catch(e){}return function(o,n){return Vn(o),Un(n),t?e(o,n):o.__proto__=n,o}}():void 0),Qn={},Jn={},Xn=Ze,Kn=Q,er=Yo.indexOf,tr=Jn,or=c([].push),nr=function(e,t){var o,n=Kn(e),r=0,i=[];for(o in n)!Xn(tr,o)&&Xn(n,o)&&or(i,o);for(;t.length>r;)Xn(n,o=t[r++])&&(~er(i,o)||or(i,o));return i},rr=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],ir=nr,ar=rr.concat("length","prototype");Qn.f=Object.getOwnPropertyNames||function(e){return ir(e,ar)};var lr={};lr.f=Object.getOwnPropertySymbols;var sr=re,cr=Qn,ur=lr,dr=Kt,fr=c([].concat),yr=sr("Reflect","ownKeys")||function(e){var t=cr.f(dr(e)),o=ur.f;return o?fr(t,o(e)):t},pr=Ze,hr=yr,mr=O,br=Ut,vr={},kr=nr,gr=rr,_r=Object.keys||function(e){return kr(e,gr)},wr=P,xr=Zt,$r=Ut,jr=Kt,Sr=Q,Or=_r;vr.f=wr&&!xr?Object.defineProperties:function(e,t){jr(e);for(var o,n=Sr(t),r=Or(t),i=r.length,a=0;i>a;)$r.f(e,o=r[a++],n[o]);return e};var Pr,Er=re("document","documentElement"),Dr=Kt,Tr=vr,Cr=rr,Ar=Jn,Mr=Er,Lr=xt,Ir="prototype",Rr="script",Fr=Dn("IE_PROTO"),Nr=function(){},zr=function(e){return"<"+Rr+">"+e+"</"+Rr+">"},Br=function(e){e.write(zr("")),e.close();var t=e.parentWindow.Object;return e=null,t},qr=function(){try{Pr=new ActiveXObject("htmlfile")}catch(e){}var e,t,o;qr="undefined"!=typeof document?document.domain&&Pr?Br(Pr):(t=Lr("iframe"),o="java"+Rr+":",t.style.display="none",Mr.appendChild(t),t.src=String(o),(e=t.contentWindow.document).open(),e.write(zr("document.F=Object")),e.close(),e.F):Br(Pr);for(var n=Cr.length;n--;)delete qr[Ir][Cr[n]];return qr()};Ar[Fr]=!0;var Gr=Object.create||function(e,t){var o;return null!==e?(Nr[Ir]=Dr(e),o=new Nr,Nr[Ir]=null,o[Fr]=e):o=qr(),void 0===t?o:Tr.f(o,t)},Yr=X,Wr=po,Hr=Error,Vr=c("".replace),Ur=String(new Hr("zxcasd").stack),Zr=/\n\s*at [^:]*:[^\n]*/,Qr=Zr.test(Ur),Jr=F,Xr=!n((function(){var e=new Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",Jr(1,7)),7!==e.stack)})),Kr=po,ei=function(e,t){if(Qr&&"string"==typeof e&&!Hr.prepareStackTrace)for(;t--;)e=Vr(e,Zr,"");return e},ti=Xr,oi=Error.captureStackTrace,ni={},ri=ni,ii=ct("iterator"),ai=Array.prototype,li=function(e){return void 0!==e&&(ri.Array===e||ai[ii]===e)},si=un,ci=Te,ui=Y,di=ni,fi=ct("iterator"),yi=function(e){if(!ui(e))return ci(e,fi)||ci(e,"@@iterator")||di[si(e)]},pi=T,hi=Pe,mi=Kt,bi=$e,vi=yi,ki=TypeError,gi=function(e,t){var o=arguments.length<2?vi(e):t;if(hi(o))return mi(pi(o,e));throw new ki(bi(e)+" is not iterable")},_i=T,wi=Kt,xi=Te,$i=function(e,t,o){var n,r;wi(e);try{if(!(n=xi(e,"return"))){if("throw"===t)throw o;return o}n=_i(n,e)}catch(e){r=!0,n=e}if("throw"===t)throw o;if(r)throw n;return wi(n),o},ji=Vt,Si=T,Oi=Kt,Pi=$e,Ei=li,Di=No,Ti=u,Ci=gi,Ai=yi,Mi=$i,Li=TypeError,Ii=function(e,t){this.stopped=e,this.result=t},Ri=Ii.prototype,Fi=function(e,t,o){var n,r,i,a,l,s,c,u=o&&o.that,d=!(!o||!o.AS_ENTRIES),f=!(!o||!o.IS_RECORD),y=!(!o||!o.IS_ITERATOR),p=!(!o||!o.INTERRUPTED),h=ji(t,u),m=function(e){return n&&Mi(n,"normal",e),new Ii(!0,e)},b=function(e){return d?(Oi(e),p?h(e[0],e[1],m):h(e[0],e[1])):p?h(e,m):h(e)};if(f)n=e.iterator;else if(y)n=e;else{if(!(r=Ai(e)))throw new Li(Pi(e)+" is not iterable");if(Ei(r)){for(i=0,a=Di(e);a>i;i++)if((l=b(e[i]))&&Ti(Ri,l))return l;return new Ii(!1)}n=Ci(e,r)}for(s=f?e.next:n.next;!(c=Si(s,n)).done;){try{l=b(c.value)}catch(e){Mi(n,"throw",e)}if("object"==typeof l&&l&&Ti(Ri,l))return l}return new Ii(!1)},Ni=yn,zi=So,Bi=u,qi=Nn,Gi=Zn,Yi=function(e,t,o){for(var n=hr(t),r=br.f,i=mr.f,a=0;a<n.length;a++){var l=n[a];pr(e,l)||o&&pr(o,l)||r(e,l,i(t,l))}},Wi=Gr,Hi=po,Vi=F,Ui=function(e,t){Yr(t)&&"cause"in t&&Wr(e,"cause",t.cause)},Zi=function(e,t,o,n){ti&&(oi?oi(e,t):Kr(e,"stack",ei(o,n)))},Qi=Fi,Ji=function(e,t){return void 0===e?arguments.length<2?"":t:Ni(e)},Xi=ct("toStringTag"),Ki=Error,ea=[].push,ta=function(e,t){var o,n=Bi(oa,this);Gi?o=Gi(new Ki,n?qi(this):oa):(o=n?this:Wi(oa),Hi(o,Xi,"Error")),void 0!==t&&Hi(o,"message",Ji(t)),Zi(o,ta,o.stack,1),arguments.length>2&&Ui(o,arguments[2]);var r=[];return Qi(e,ea,{that:r}),Hi(o,"errors",r),o};Gi?Gi(ta,Ki):Yi(ta,Ki,{name:!0});var oa=ta.prototype=Wi(Ki.prototype,{constructor:Vi(1,ta),message:Vi(1,""),name:Vi(1,"AggregateError")});zi({global:!0,constructor:!0,arity:2},{AggregateError:ta});var na,ra,ia,aa=S,la=f.WeakMap,sa=aa(la)&&/native code/.test(String(la)),ca=sa,ua=f,da=X,fa=po,ya=Ze,pa=Be,ha=Dn,ma=Jn,ba="Object already initialized",va=ua.TypeError,ka=ua.WeakMap;if(ca||pa.state){var ga=pa.state||(pa.state=new ka);ga.get=ga.get,ga.has=ga.has,ga.set=ga.set,na=function(e,t){if(ga.has(e))throw new va(ba);return t.facade=e,ga.set(e,t),t},ra=function(e){return ga.get(e)||{}},ia=function(e){return ga.has(e)}}else{var _a=ha("state");ma[_a]=!0,na=function(e,t){if(ya(e,_a))throw new va(ba);return t.facade=e,fa(e,_a,t),t},ra=function(e){return ya(e,_a)?e[_a]:{}},ia=function(e){return ya(e,_a)}}var wa,xa,$a,ja={set:na,get:ra,has:ia,enforce:function(e){return ia(e)?ra(e):na(e,{})},getterFor:function(e){return function(t){var o;if(!da(t)||(o=ra(t)).type!==e)throw new va("Incompatible receiver, "+e+" required");return o}}},Sa=P,Oa=Ze,Pa=Function.prototype,Ea=Sa&&Object.getOwnPropertyDescriptor,Da=Oa(Pa,"name"),Ta={EXISTS:Da,PROPER:Da&&"something"===function(){}.name,CONFIGURABLE:Da&&(!Sa||Sa&&Ea(Pa,"name").configurable)},Ca=po,Aa=function(e,t,o,n){return n&&n.enumerable?e[t]=o:Ca(e,t,o),e},Ma=n,La=S,Ia=X,Ra=Gr,Fa=Nn,Na=Aa,za=ct("iterator"),Ba=!1;[].keys&&("next"in($a=[].keys())?(xa=Fa(Fa($a)))!==Object.prototype&&(wa=xa):Ba=!0);var qa=!Ia(wa)||Ma((function(){var e={};return wa[za].call(e)!==e}));La((wa=qa?{}:Ra(wa))[za])||Na(wa,za,(function(){return this}));var Ga={IteratorPrototype:wa,BUGGY_SAFARI_ITERATORS:Ba},Ya=un,Wa=on?{}.toString:function(){return"[object "+Ya(this)+"]"},Ha=on,Va=Ut.f,Ua=po,Za=Ze,Qa=Wa,Ja=ct("toStringTag"),Xa=function(e,t,o,n){var r=o?e:e&&e.prototype;r&&(Za(r,Ja)||Va(r,Ja,{configurable:!0,value:t}),n&&!Ha&&Ua(r,"toString",Qa))},Ka=Ga.IteratorPrototype,el=Gr,tl=F,ol=Xa,nl=ni,rl=function(){return this},il=So,al=T,ll=Ta,sl=function(e,t,o,n){var r=t+" Iterator";return e.prototype=el(Ka,{next:tl(+!n,o)}),ol(e,r,!1,!0),nl[r]=rl,e},cl=Nn,ul=Xa,dl=Aa,fl=ni,yl=Ga,pl=ll.PROPER,hl=yl.BUGGY_SAFARI_ITERATORS,ml=ct("iterator"),bl="keys",vl="values",kl="entries",gl=function(){return this},_l=function(e,t,o,n,r,i,a){sl(o,t,n);var l,s,c,u=function(e){if(e===r&&h)return h;if(!hl&&e&&e in y)return y[e];switch(e){case bl:case vl:case kl:return function(){return new o(this,e)}}return function(){return new o(this)}},d=t+" Iterator",f=!1,y=e.prototype,p=y[ml]||y["@@iterator"]||r&&y[r],h=!hl&&p||u(r),m="Array"===t&&y.entries||p;if(m&&(l=cl(m.call(new e)))!==Object.prototype&&l.next&&(ul(l,d,!0,!0),fl[d]=gl),pl&&r===vl&&p&&p.name!==vl&&(f=!0,h=function(){return al(p,this)}),r)if(s={values:u(vl),keys:i?h:u(bl),entries:u(kl)},a)for(c in s)(hl||f||!(c in y))&&dl(y,c,s[c]);else il({target:t,proto:!0,forced:hl||f},s);return a&&y[ml]!==h&&dl(y,ml,h,{name:r}),fl[t]=h,s},wl=function(e,t){return{value:e,done:t}},xl=Q,$l=ni,jl=ja;Ut.f;var Sl=_l,Ol=wl,Pl="Array Iterator",El=jl.set,Dl=jl.getterFor(Pl);Sl(Array,"Array",(function(e,t){El(this,{type:Pl,target:xl(e),index:0,kind:t})}),(function(){var e=Dl(this),t=e.target,o=e.index++;if(!t||o>=t.length)return e.target=void 0,Ol(void 0,!0);switch(e.kind){case"keys":return Ol(o,!1);case"values":return Ol(t[o],!1)}return Ol([o,t[o]],!1)}),"values"),$l.Arguments=$l.Array;var Tl="process"===_(f.process),Cl=Ut,Al=function(e,t,o){return Cl.f(e,t,o)},Ml=re,Ll=Al,Il=P,Rl=ct("species"),Fl=function(e){var t=Ml(e);Il&&t&&!t[Rl]&&Ll(t,Rl,{configurable:!0,get:function(){return this}})},Nl=u,zl=TypeError,Bl=function(e,t){if(Nl(t,e))return e;throw new zl("Incorrect invocation")},ql=S,Gl=Be,Yl=c(Function.toString);ql(Gl.inspectSource)||(Gl.inspectSource=function(e){return Yl(e)});var Wl=Gl.inspectSource,Hl=c,Vl=n,Ul=S,Zl=un,Ql=Wl,Jl=function(){},Xl=[],Kl=re("Reflect","construct"),es=/^\s*(?:class|function)\b/,ts=Hl(es.exec),os=!es.test(Jl),ns=function(e){if(!Ul(e))return!1;try{return Kl(Jl,Xl,e),!0}catch(e){return!1}},rs=function(e){if(!Ul(e))return!1;switch(Zl(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return os||!!ts(es,Ql(e))}catch(e){return!0}};rs.sham=!0;var is,as,ls,ss,cs=!Kl||Vl((function(){var e;return ns(ns.call)||!ns(Object)||!ns((function(){e=!0}))||e}))?rs:ns,us=cs,ds=$e,fs=TypeError,ys=Kt,ps=function(e){if(us(e))return e;throw new fs(ds(e)+" is not a constructor")},hs=Y,ms=ct("species"),bs=function(e,t){var o,n=ys(e).constructor;return void 0===n||hs(o=ys(n)[ms])?t:ps(o)},vs=c([].slice),ks=TypeError,gs=function(e,t){if(e<t)throw new ks("Not enough arguments");return e},_s=/(?:ipad|iphone|ipod).*applewebkit/i.test(ie),ws=f,xs=b,$s=Vt,js=S,Ss=Ze,Os=n,Ps=Er,Es=vs,Ds=xt,Ts=gs,Cs=_s,As=Tl,Ms=ws.setImmediate,Ls=ws.clearImmediate,Is=ws.process,Rs=ws.Dispatch,Fs=ws.Function,Ns=ws.MessageChannel,zs=ws.String,Bs=0,qs={},Gs="onreadystatechange";Os((function(){is=ws.location}));var Ys=function(e){if(Ss(qs,e)){var t=qs[e];delete qs[e],t()}},Ws=function(e){return function(){Ys(e)}},Hs=function(e){Ys(e.data)},Vs=function(e){ws.postMessage(zs(e),is.protocol+"//"+is.host)};Ms&&Ls||(Ms=function(e){Ts(arguments.length,1);var t=js(e)?e:Fs(e),o=Es(arguments,1);return qs[++Bs]=function(){xs(t,void 0,o)},as(Bs),Bs},Ls=function(e){delete qs[e]},As?as=function(e){Is.nextTick(Ws(e))}:Rs&&Rs.now?as=function(e){Rs.now(Ws(e))}:Ns&&!Cs?(ss=(ls=new Ns).port2,ls.port1.onmessage=Hs,as=$s(ss.postMessage,ss)):ws.addEventListener&&js(ws.postMessage)&&!ws.importScripts&&is&&"file:"!==is.protocol&&!Os(Vs)?(as=Vs,ws.addEventListener("message",Hs,!1)):as=Gs in Ds("script")?function(e){Ps.appendChild(Ds("script"))[Gs]=function(){Ps.removeChild(this),Ys(e)}}:function(e){setTimeout(Ws(e),0)});var Us={set:Ms,clear:Ls},Zs=f,Qs=P,Js=Object.getOwnPropertyDescriptor,Xs=function(){this.head=null,this.tail=null};Xs.prototype={add:function(e){var t={item:e,next:null},o=this.tail;o?o.next=t:this.head=t,this.tail=t},get:function(){var e=this.head;if(e)return null===(this.head=e.next)&&(this.tail=null),e.item}};var Ks,ec,tc,oc,nc,rc=Xs,ic=/ipad|iphone|ipod/i.test(ie)&&"undefined"!=typeof Pebble,ac=/web0s(?!.*chrome)/i.test(ie),lc=f,sc=function(e){if(!Qs)return Zs[e];var t=Js(Zs,e);return t&&t.value},cc=Vt,uc=Us.set,dc=rc,fc=_s,yc=ic,pc=ac,hc=Tl,mc=lc.MutationObserver||lc.WebKitMutationObserver,bc=lc.document,vc=lc.process,kc=lc.Promise,gc=sc("queueMicrotask");if(!gc){var _c=new dc,wc=function(){var e,t;for(hc&&(e=vc.domain)&&e.exit();t=_c.get();)try{t()}catch(e){throw _c.head&&Ks(),e}e&&e.enter()};fc||hc||pc||!mc||!bc?!yc&&kc&&kc.resolve?((oc=kc.resolve(void 0)).constructor=kc,nc=cc(oc.then,oc),Ks=function(){nc(wc)}):hc?Ks=function(){vc.nextTick(wc)}:(uc=cc(uc,lc),Ks=function(){uc(wc)}):(ec=!0,tc=bc.createTextNode(""),new mc(wc).observe(tc,{characterData:!0}),Ks=function(){tc.data=ec=!ec}),gc=function(e){_c.head||Ks(),_c.add(e)}}var xc=gc,$c=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}},jc=f.Promise,Sc="object"==typeof Deno&&Deno&&"object"==typeof Deno.version,Oc=!Sc&&!Tl&&"object"==typeof window&&"object"==typeof document,Pc=f,Ec=jc,Dc=S,Tc=Gt,Cc=Wl,Ac=ct,Mc=Oc,Lc=Sc,Ic=fe,Rc=Ec&&Ec.prototype,Fc=Ac("species"),Nc=!1,zc=Dc(Pc.PromiseRejectionEvent),Bc=Tc("Promise",(function(){var e=Cc(Ec),t=e!==String(Ec);if(!t&&66===Ic)return!0;if(!Rc.catch||!Rc.finally)return!0;if(!Ic||Ic<51||!/native code/.test(e)){var o=new Ec((function(e){e(1)})),n=function(e){e((function(){}),(function(){}))};if((o.constructor={})[Fc]=n,!(Nc=o.then((function(){}))instanceof n))return!0}return!t&&(Mc||Lc)&&!zc})),qc={CONSTRUCTOR:Bc,REJECTION_EVENT:zc,SUBCLASSING:Nc},Gc={},Yc=Pe,Wc=TypeError,Hc=function(e){var t,o;this.promise=new e((function(e,n){if(void 0!==t||void 0!==o)throw new Wc("Bad Promise constructor");t=e,o=n})),this.resolve=Yc(t),this.reject=Yc(o)};Gc.f=function(e){return new Hc(e)};var Vc,Uc,Zc=So,Qc=Tl,Jc=f,Xc=T,Kc=Aa,eu=Xa,tu=Fl,ou=Pe,nu=S,ru=X,iu=Bl,au=bs,lu=Us.set,su=xc,cu=function(e,t){try{1===arguments.length?console.error(e):console.error(e,t)}catch(e){}},uu=$c,du=rc,fu=ja,yu=jc,pu=qc,hu=Gc,mu="Promise",bu=pu.CONSTRUCTOR,vu=pu.REJECTION_EVENT,ku=fu.getterFor(mu),gu=fu.set,_u=yu&&yu.prototype,wu=yu,xu=_u,$u=Jc.TypeError,ju=Jc.document,Su=Jc.process,Ou=hu.f,Pu=Ou,Eu=!!(ju&&ju.createEvent&&Jc.dispatchEvent),Du="unhandledrejection",Tu=function(e){var t;return!(!ru(e)||!nu(t=e.then))&&t},Cu=function(e,t){var o,n,r,i=t.value,a=1===t.state,l=a?e.ok:e.fail,s=e.resolve,c=e.reject,u=e.domain;try{l?(a||(2===t.rejection&&Ru(t),t.rejection=1),!0===l?o=i:(u&&u.enter(),o=l(i),u&&(u.exit(),r=!0)),o===e.promise?c(new $u("Promise-chain cycle")):(n=Tu(o))?Xc(n,o,s,c):s(o)):c(i)}catch(e){u&&!r&&u.exit(),c(e)}},Au=function(e,t){e.notified||(e.notified=!0,su((function(){for(var o,n=e.reactions;o=n.get();)Cu(o,e);e.notified=!1,t&&!e.rejection&&Lu(e)})))},Mu=function(e,t,o){var n,r;Eu?((n=ju.createEvent("Event")).promise=t,n.reason=o,n.initEvent(e,!1,!0),Jc.dispatchEvent(n)):n={promise:t,reason:o},!vu&&(r=Jc["on"+e])?r(n):e===Du&&cu("Unhandled promise rejection",o)},Lu=function(e){Xc(lu,Jc,(function(){var t,o=e.facade,n=e.value;if(Iu(e)&&(t=uu((function(){Qc?Su.emit("unhandledRejection",n,o):Mu(Du,o,n)})),e.rejection=Qc||Iu(e)?2:1,t.error))throw t.value}))},Iu=function(e){return 1!==e.rejection&&!e.parent},Ru=function(e){Xc(lu,Jc,(function(){var t=e.facade;Qc?Su.emit("rejectionHandled",t):Mu("rejectionhandled",t,e.value)}))},Fu=function(e,t,o){return function(n){e(t,n,o)}},Nu=function(e,t,o){e.done||(e.done=!0,o&&(e=o),e.value=t,e.state=2,Au(e,!0))},zu=function(e,t,o){if(!e.done){e.done=!0,o&&(e=o);try{if(e.facade===t)throw new $u("Promise can't be resolved itself");var n=Tu(t);n?su((function(){var o={done:!1};try{Xc(n,t,Fu(zu,o,e),Fu(Nu,o,e))}catch(t){Nu(o,t,e)}})):(e.value=t,e.state=1,Au(e,!1))}catch(t){Nu({done:!1},t,e)}}};bu&&(xu=(wu=function(e){iu(this,xu),ou(e),Xc(Vc,this);var t=ku(this);try{e(Fu(zu,t),Fu(Nu,t))}catch(e){Nu(t,e)}}).prototype,(Vc=function(e){gu(this,{type:mu,done:!1,notified:!1,parent:!1,reactions:new du,rejection:!1,state:0,value:void 0})}).prototype=Kc(xu,"then",(function(e,t){var o=ku(this),n=Ou(au(this,wu));return o.parent=!0,n.ok=!nu(e)||e,n.fail=nu(t)&&t,n.domain=Qc?Su.domain:void 0,0===o.state?o.reactions.add(n):su((function(){Cu(n,o)})),n.promise})),Uc=function(){var e=new Vc,t=ku(e);this.promise=e,this.resolve=Fu(zu,t),this.reject=Fu(Nu,t)},hu.f=Ou=function(e){return e===wu||undefined===e?new Uc(e):Pu(e)}),Zc({global:!0,constructor:!0,wrap:!0,forced:bu},{Promise:wu}),eu(wu,mu,!1,!0),tu(mu);var Bu=ct("iterator"),qu=!1;try{var Gu=0,Yu={next:function(){return{done:!!Gu++}},return:function(){qu=!0}};Yu[Bu]=function(){return this},Array.from(Yu,(function(){throw 2}))}catch(e){}var Wu=function(e,t){try{if(!t&&!qu)return!1}catch(e){return!1}var o=!1;try{var n={};n[Bu]=function(){return{next:function(){return{done:o=!0}}}},e(n)}catch(e){}return o},Hu=jc,Vu=qc.CONSTRUCTOR||!Wu((function(e){Hu.all(e).then(void 0,(function(){}))})),Uu=T,Zu=Pe,Qu=Gc,Ju=$c,Xu=Fi;So({target:"Promise",stat:!0,forced:Vu},{all:function(e){var t=this,o=Qu.f(t),n=o.resolve,r=o.reject,i=Ju((function(){var o=Zu(t.resolve),i=[],a=0,l=1;Xu(e,(function(e){var s=a++,c=!1;l++,Uu(o,t,e).then((function(e){c||(c=!0,i[s]=e,--l||n(i))}),r)})),--l||n(i)}));return i.error&&r(i.value),o.promise}});var Ku=So,ed=qc.CONSTRUCTOR;jc&&jc.prototype,Ku({target:"Promise",proto:!0,forced:ed,real:!0},{catch:function(e){return this.then(void 0,e)}});var td=T,od=Pe,nd=Gc,rd=$c,id=Fi;So({target:"Promise",stat:!0,forced:Vu},{race:function(e){var t=this,o=nd.f(t),n=o.reject,r=rd((function(){var r=od(t.resolve);id(e,(function(e){td(r,t,e).then(o.resolve,n)}))}));return r.error&&n(r.value),o.promise}});var ad=Gc;So({target:"Promise",stat:!0,forced:qc.CONSTRUCTOR},{reject:function(e){var t=ad.f(this);return(0,t.reject)(e),t.promise}});var ld=Kt,sd=X,cd=Gc,ud=function(e,t){if(ld(e),sd(t)&&t.constructor===e)return t;var o=cd.f(e);return(0,o.resolve)(t),o.promise},dd=So,fd=jc,yd=qc.CONSTRUCTOR,pd=ud,hd=re("Promise"),md=!yd;dd({target:"Promise",stat:!0,forced:!0},{resolve:function(e){return pd(md&&this===hd?fd:this,e)}});var bd=T,vd=Pe,kd=Gc,gd=$c,_d=Fi;So({target:"Promise",stat:!0,forced:Vu},{allSettled:function(e){var t=this,o=kd.f(t),n=o.resolve,r=o.reject,i=gd((function(){var o=vd(t.resolve),r=[],i=0,a=1;_d(e,(function(e){var l=i++,s=!1;a++,bd(o,t,e).then((function(e){s||(s=!0,r[l]={status:"fulfilled",value:e},--a||n(r))}),(function(e){s||(s=!0,r[l]={status:"rejected",reason:e},--a||n(r))}))})),--a||n(r)}));return i.error&&r(i.value),o.promise}});var wd=T,xd=Pe,$d=re,jd=Gc,Sd=$c,Od=Fi,Pd="No one promise resolved";So({target:"Promise",stat:!0,forced:Vu},{any:function(e){var t=this,o=$d("AggregateError"),n=jd.f(t),r=n.resolve,i=n.reject,a=Sd((function(){var n=xd(t.resolve),a=[],l=0,s=1,c=!1;Od(e,(function(e){var u=l++,d=!1;s++,wd(n,t,e).then((function(e){d||c||(c=!0,r(e))}),(function(e){d||c||(d=!0,a[u]=e,--s||i(new o(a,Pd)))}))})),--s||i(new o(a,Pd))}));return a.error&&i(a.value),n.promise}});var Ed=Gc;So({target:"Promise",stat:!0},{withResolvers:function(){var e=Ed.f(this);return{promise:e.promise,resolve:e.resolve,reject:e.reject}}});var Dd=So,Td=jc,Cd=n,Ad=re,Md=S,Ld=bs,Id=ud,Rd=Td&&Td.prototype;Dd({target:"Promise",proto:!0,real:!0,forced:!!Td&&Cd((function(){Rd.finally.call({then:function(){}},(function(){}))}))},{finally:function(e){var t=Ld(this,Ad("Promise")),o=Md(e);return this.then(o?function(o){return Id(t,e()).then((function(){return o}))}:e,o?function(o){return Id(t,e()).then((function(){throw o}))}:e)}});var Fd=c,Nd=Do,zd=yn,Bd=V,qd=Fd("".charAt),Gd=Fd("".charCodeAt),Yd=Fd("".slice),Wd=function(e){return function(t,o){var n,r,i=zd(Bd(t)),a=Nd(o),l=i.length;return a<0||a>=l?e?"":void 0:(n=Gd(i,a))<55296||n>56319||a+1===l||(r=Gd(i,a+1))<56320||r>57343?e?qd(i,a):n:e?Yd(i,a,a+2):r-56320+(n-55296<<10)+65536}},Hd={codeAt:Wd(!1),charAt:Wd(!0)}.charAt,Vd=yn,Ud=ja,Zd=_l,Qd=wl,Jd="String Iterator",Xd=Ud.set,Kd=Ud.getterFor(Jd);Zd(String,"String",(function(e){Xd(this,{type:Jd,string:Vd(e),index:0})}),(function(){var e,t=Kd(this),o=t.string,n=t.index;return n>=o.length?Qd(void 0,!0):(e=Hd(o,n),t.index+=e.length,Qd(e,!1))}));var ef=K.Promise,tf={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},of=f,nf=Xa,rf=ni;for(var af in tf)nf(of[af],af),rf[af]=rf.Array;var lf=o(ef),sf="\t\n\v\f\r                　\u2028\u2029\ufeff",cf=V,uf=yn,df=sf,ff=c("".replace),yf=RegExp("^["+df+"]+"),pf=RegExp("(^|[^"+df+"])["+df+"]+$"),hf=function(e){return function(t){var o=uf(cf(t));return 1&e&&(o=ff(o,yf,"")),2&e&&(o=ff(o,pf,"$1")),o}},mf={start:hf(1),end:hf(2),trim:hf(3)},bf=f,vf=n,kf=yn,gf=mf.trim,_f=sf,wf=c("".charAt),xf=bf.parseFloat,$f=bf.Symbol,jf=$f&&$f.iterator,Sf=1/xf(_f+"-0")!=-1/0||jf&&!vf((function(){xf(Object(jf))}))?function(e){var t=gf(kf(e)),o=xf(t);return 0===o&&"-"===wf(t,0)?-0:o}:xf;So({global:!0,forced:parseFloat!==Sf},{parseFloat:Sf});var Of=o(K.parseFloat),Pf=f,Ef=n,Df=c,Tf=yn,Cf=mf.trim,Af=sf,Mf=Pf.parseInt,Lf=Pf.Symbol,If=Lf&&Lf.iterator,Rf=/^[+-]?0x/i,Ff=Df(Rf.exec),Nf=8!==Mf(Af+"08")||22!==Mf(Af+"0x16")||If&&!Ef((function(){Mf(Object(If))}))?function(e,t){var o=Cf(Tf(e));return Mf(o,t>>>0||(Ff(Rf,o)?16:10))}:Mf;So({global:!0,forced:parseInt!==Nf},{parseInt:Nf});var zf=o(K.parseInt),Bf=_,qf=Array.isArray||function(e){return"Array"===Bf(e)},Gf=kt,Yf=Ut,Wf=F,Hf=function(e,t,o){var n=Gf(t);n in e?Yf.f(e,n,Wf(0,o)):e[n]=o},Vf=n,Uf=fe,Zf=ct("species"),Qf=function(e){return Uf>=51||!Vf((function(){var t=[];return(t.constructor={})[Zf]=function(){return{foo:1}},1!==t[e](Boolean).foo}))},Jf=So,Xf=qf,Kf=cs,ey=X,ty=Mo,oy=No,ny=Q,ry=Hf,iy=ct,ay=vs,ly=Qf("slice"),sy=iy("species"),cy=Array,uy=Math.max;Jf({target:"Array",proto:!0,forced:!ly},{slice:function(e,t){var o,n,r,i=ny(this),a=oy(i),l=ty(e,a),s=ty(void 0===t?a:t,a);if(Xf(i)&&(o=i.constructor,(Kf(o)&&(o===cy||Xf(o.prototype))||ey(o)&&null===(o=o[sy]))&&(o=void 0),o===cy||void 0===o))return ay(i,l,s);for(n=new(void 0===o?cy:o)(uy(s-l,0)),r=0;l<s;l++,r++)l in i&&ry(n,r,i[l]);return n.length=r,n}});var dy=Uo("Array","slice"),fy=u,yy=dy,py=Array.prototype,hy=o((function(e){var t=e.slice;return e===py||fy(py,e)&&t===py.slice?yy:t})),my="function"==typeof Bun&&Bun&&"string"==typeof Bun.version,by=f,vy=b,ky=S,gy=my,_y=ie,wy=vs,xy=gs,$y=by.Function,jy=/MSIE .\./.test(_y)||gy&&function(){var e=by.Bun.version.split(".");return e.length<3||"0"===e[0]&&(e[1]<3||"3"===e[1]&&"0"===e[2])}(),Sy=function(e,t){var o=t?2:1;return jy?function(n,r){var i=xy(arguments.length,1)>o,a=ky(n)?n:$y(n),l=i?wy(arguments,o):[],s=i?function(){vy(a,this,l)}:a;return t?e(s,r):e(s)}:e},Oy=So,Py=f,Ey=Sy(Py.setInterval,!0);Oy({global:!0,bind:!0,forced:Py.setInterval!==Ey},{setInterval:Ey});var Dy=So,Ty=f,Cy=Sy(Ty.setTimeout,!0);Dy({global:!0,bind:!0,forced:Ty.setTimeout!==Cy},{setTimeout:Cy});var Ay=o(K.setTimeout),My={};function Ly(e){var t=Ladda.create(e);return t.start(),t}function Iy(t,o){if(My[o].scroll){if(t.length){var n=t.offset().top,r=e(window).scrollTop();(n<e(window).scrollTop()||n>r+window.innerHeight)&&e("html,body").animate({scrollTop:n-50},500)}}else My[o].scroll=!0}function Ry(){const e={xhr:null,booklyAjax:()=>{},cancel:()=>{}};return e.booklyAjax=t=>new lf(((o,n)=>{e.cancel=()=>{null!=e.xhr&&(e.xhr.abort(),e.xhr=null)},e.xhr=By(t,o,n)})),e}function Fy(e){return new lf(((t,o)=>{By(e,t,o)}))}function Ny(e,t){return moment(e).locale("bookly-daterange").format(t||BooklyL10nGlobal.datePicker.format)}class zy{#e;constructor(e){this.#e=e}price(e){let t=this.#e.format_price.format;return e=Of(e),t=t.replace("{sign}",e<0?"-":""),t=t.replace("{price}",this._formatNumber(Math.abs(e),this.#e.format_price.decimals,this.#e.format_price.decimal_separator,this.#e.format_price.thousands_separator)),t}_formatNumber(e,t,o,n){var r;e=Math.abs(Number(e)||0).toFixed(t),t=isNaN(t=Math.abs(t))?2:t,o=void 0===o?".":o,n=void 0===n?",":n;let i=e<0?"-":"",a=String(zf(e)),l=a.length>3?a.length%3:0;return i+(l?a.substr(0,l)+n:"")+a.substr(l).replace(/(\d{3})(?=\d)/g,"$1"+n)+(t?o+hy(r=Math.abs(e-a).toFixed(t)).call(r,2):"")}}function By(t,o,n){return t.data.csrf_token=BooklyL10n.csrf_token,e.ajax(jQuery.extend({url:BooklyL10n.ajaxurl,dataType:"json",xhrFields:{withCredentials:!0},crossDomain:"withCredentials"in new XMLHttpRequest,beforeSend(e,t){}},t)).always((e=>{(function(e){if(!e.success&&"session_error"===e?.error)return Ladda.stopAll(),Ay((function(){confirm(BooklyL10n.sessionHasExpired)&&location.reload()}),100),!1;return!0})(e)&&(e.success?o(e):n(e))}))}var qy=Do,Gy=yn,Yy=V,Wy=RangeError,Hy=function(e){var t=Gy(Yy(this)),o="",n=qy(e);if(n<0||n===1/0)throw new Wy("Wrong number of repetitions");for(;n>0;(n>>>=1)&&(t+=t))1&n&&(o+=t);return o},Vy=c,Uy=Ro,Zy=yn,Qy=V,Jy=Vy(Hy),Xy=Vy("".slice),Ky=Math.ceil,ep=function(e){return function(t,o,n){var r,i,a=Zy(Qy(t)),l=Uy(o),s=a.length,c=void 0===n?" ":Zy(n);return l<=s||""===c?a:((i=Jy(c,Ky((r=l-s)/c.length))).length>r&&(i=Xy(i,0,r)),e?a+i:i+a)}},tp={start:ep(!1),end:ep(!0)},op=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(ie),np=tp.start;So({target:"String",proto:!0,forced:op},{padStart:function(e){return np(this,e,arguments.length>1?arguments[1]:void 0)}});var rp=Uo("String","padStart"),ip=u,ap=rp,lp=String.prototype,sp=o((function(e){var t=e.padStart;return"string"==typeof e||e===lp||ip(lp,e)&&t===lp.padStart?ap:t})),cp=qf,up=cs,dp=X,fp=ct("species"),yp=Array,pp=function(e){var t;return cp(e)&&(t=e.constructor,(up(t)&&(t===yp||cp(t.prototype))||dp(t)&&null===(t=t[fp]))&&(t=void 0)),void 0===t?yp:t},hp=function(e,t){return new(pp(e))(0===t?0:t)},mp=Vt,bp=G,vp=He,kp=No,gp=hp,_p=c([].push),wp=function(e){var t=1===e,o=2===e,n=3===e,r=4===e,i=6===e,a=7===e,l=5===e||i;return function(s,c,u,d){for(var f,y,p=vp(s),h=bp(p),m=kp(h),b=mp(c,u),v=0,k=d||gp,g=t?k(s,m):o||a?k(s,0):void 0;m>v;v++)if((l||v in h)&&(y=b(f=h[v],v,p),e))if(t)g[v]=y;else if(y)switch(e){case 3:return!0;case 5:return f;case 6:return v;case 2:_p(g,f)}else switch(e){case 4:return!1;case 7:_p(g,f)}return i?-1:n||r?r:g}},xp={forEach:wp(0),map:wp(1),filter:wp(2),some:wp(3),every:wp(4),find:wp(5),findIndex:wp(6),filterReject:wp(7)},$p=So,jp=xp.find,Sp="find",Op=!0;Sp in[]&&Array(1)[Sp]((function(){Op=!1})),$p({target:"Array",proto:!0,forced:Op},{find:function(e){return jp(this,e,arguments.length>1?arguments[1]:void 0)}});var Pp=Uo("Array","find"),Ep=u,Dp=Pp,Tp=Array.prototype,Cp=o((function(e){var t=e.find;return e===Tp||Ep(Tp,e)&&t===Tp.find?Dp:t})),Ap=qf,Mp=S,Lp=_,Ip=yn,Rp=c([].push),Fp=So,Np=re,zp=b,Bp=T,qp=c,Gp=n,Yp=S,Wp=we,Hp=vs,Vp=function(e){if(Mp(e))return e;if(Ap(e)){for(var t=e.length,o=[],n=0;n<t;n++){var r=e[n];"string"==typeof r?Rp(o,r):"number"!=typeof r&&"Number"!==Lp(r)&&"String"!==Lp(r)||Rp(o,Ip(r))}var i=o.length,a=!0;return function(e,t){if(a)return a=!1,t;if(Ap(this))return t;for(var n=0;n<i;n++)if(o[n]===e)return t}}},Up=me,Zp=String,Qp=Np("JSON","stringify"),Jp=qp(/./.exec),Xp=qp("".charAt),Kp=qp("".charCodeAt),eh=qp("".replace),th=qp(1..toString),oh=/[\uD800-\uDFFF]/g,nh=/^[\uD800-\uDBFF]$/,rh=/^[\uDC00-\uDFFF]$/,ih=!Up||Gp((function(){var e=Np("Symbol")("stringify detection");return"[null]"!==Qp([e])||"{}"!==Qp({a:e})||"{}"!==Qp(Object(e))})),ah=Gp((function(){return'"\\udf06\\ud834"'!==Qp("\udf06\ud834")||'"\\udead"'!==Qp("\udead")})),lh=function(e,t){var o=Hp(arguments),n=Vp(t);if(Yp(n)||void 0!==e&&!Wp(e))return o[1]=function(e,t){if(Yp(n)&&(t=Bp(n,this,Zp(e),t)),!Wp(t))return t},zp(Qp,null,o)},sh=function(e,t,o){var n=Xp(o,t-1),r=Xp(o,t+1);return Jp(nh,e)&&!Jp(rh,r)||Jp(rh,e)&&!Jp(nh,n)?"\\u"+th(Kp(e,0),16):e};Qp&&Fp({target:"JSON",stat:!0,arity:3,forced:ih||ah},{stringify:function(e,t,o){var n=Hp(arguments),r=zp(ih?lh:Qp,null,n);return ah&&"string"==typeof r?eh(r,oh,sh):r}});var ch=K,uh=b;ch.JSON||(ch.JSON={stringify:JSON.stringify});var dh=function(e,t,o){return uh(ch.JSON.stringify,null,arguments)},fh=o(dh);So({target:"String",proto:!0},{repeat:Hy});var yh=Uo("String","repeat"),ph=u,hh=yh,mh=String.prototype,bh=o((function(e){var t=e.repeat;return"string"==typeof e||e===mh||ph(mh,e)&&t===mh.repeat?hh:t})),vh=n,kh=function(e,t){var o=[][e];return!!o&&vh((function(){o.call(null,t||function(){return 1},1)}))},gh=xp.forEach,_h=kh("forEach")?[].forEach:function(e){return gh(this,e,arguments.length>1?arguments[1]:void 0)};So({target:"Array",proto:!0,forced:[].forEach!==_h},{forEach:_h});var wh=Uo("Array","forEach"),xh=un,$h=Ze,jh=u,Sh=wh,Oh=Array.prototype,Ph={DOMTokenList:!0,NodeList:!0},Eh=o((function(e){var t=e.forEach;return e===Oh||jh(Oh,e)&&t===Oh.forEach||$h(Ph,xh(e))?Sh:t})),Dh=P,Th=qf,Ch=TypeError,Ah=Object.getOwnPropertyDescriptor,Mh=Dh&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}(),Lh=TypeError,Ih=function(e){if(e>9007199254740991)throw Lh("Maximum allowed index exceeded");return e},Rh=$e,Fh=TypeError,Nh=function(e,t){if(!delete e[t])throw new Fh("Cannot delete property "+Rh(t)+" of "+Rh(e))},zh=So,Bh=He,qh=Mo,Gh=Do,Yh=No,Wh=Mh?function(e,t){if(Th(e)&&!Ah(e,"length").writable)throw new Ch("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t},Hh=Ih,Vh=hp,Uh=Hf,Zh=Nh,Qh=Qf("splice"),Jh=Math.max,Xh=Math.min;zh({target:"Array",proto:!0,forced:!Qh},{splice:function(e,t){var o,n,r,i,a,l,s=Bh(this),c=Yh(s),u=qh(e,c),d=arguments.length;for(0===d?o=n=0:1===d?(o=0,n=c-u):(o=d-2,n=Xh(Jh(Gh(t),0),c-u)),Hh(c+o-n),r=Vh(s,n),i=0;i<n;i++)(a=u+i)in s&&Uh(r,i,s[a]);if(r.length=n,o<n){for(i=u;i<c-n;i++)l=i+o,(a=i+n)in s?s[l]=s[a]:Zh(s,l);for(i=c;i>c-n+o;i--)Zh(s,i-1)}else if(o>n)for(i=c-n;i>u;i--)l=i+o-1,(a=i+n-1)in s?s[l]=s[a]:Zh(s,l);for(i=0;i<o;i++)s[i+u]=arguments[i+2];return Wh(s,c-n+o),r}});var Kh=Uo("Array","splice"),em=u,tm=Kh,om=Array.prototype,nm=o((function(e){var t=e.splice;return e===om||em(om,e)&&t===om.splice?tm:t})),rm=xp.every;So({target:"Array",proto:!0,forced:!kh("every")},{every:function(e){return rm(this,e,arguments.length>1?arguments[1]:void 0)}});var im=Uo("Array","every"),am=u,lm=im,sm=Array.prototype,cm=o((function(e){var t=e.every;return e===sm||am(sm,e)&&t===sm.every?lm:t})),um=So,dm=n,fm=qf,ym=X,pm=He,hm=No,mm=Ih,bm=Hf,vm=hp,km=Qf,gm=fe,_m=ct("isConcatSpreadable"),wm=gm>=51||!dm((function(){var e=[];return e[_m]=!1,e.concat()[0]!==e})),xm=function(e){if(!ym(e))return!1;var t=e[_m];return void 0!==t?!!t:fm(e)};um({target:"Array",proto:!0,arity:1,forced:!wm||!km("concat")},{concat:function(e){var t,o,n,r,i,a=pm(this),l=vm(a,0),s=0;for(t=-1,n=arguments.length;t<n;t++)if(xm(i=-1===t?a:arguments[t]))for(r=hm(i),mm(s+r),o=0;o<r;o++,s++)o in i&&bm(l,s,i[o]);else mm(s+1),bm(l,s++,i);return l.length=s,l}});var $m=Uo("Array","concat"),jm=u,Sm=$m,Om=Array.prototype,Pm=o((function(e){var t=e.concat;return e===Om||jm(Om,e)&&t===Om.concat?Sm:t})),Em=xp.map;So({target:"Array",proto:!0,forced:!Qf("map")},{map:function(e){return Em(this,e,arguments.length>1?arguments[1]:void 0)}});var Dm=Uo("Array","map"),Tm=u,Cm=Dm,Am=Array.prototype,Mm=o((function(e){var t=e.map;return e===Am||Tm(Am,e)&&t===Am.map?Cm:t})),Lm=xp.filter;So({target:"Array",proto:!0,forced:!Qf("filter")},{filter:function(e){return Lm(this,e,arguments.length>1?arguments[1]:void 0)}});var Im=Uo("Array","filter"),Rm=u,Fm=Im,Nm=Array.prototype,zm=o((function(e){var t=e.filter;return e===Nm||Rm(Nm,e)&&t===Nm.filter?Fm:t})),Bm=He,qm=_r;So({target:"Object",stat:!0,forced:n((function(){qm(1)}))},{keys:function(e){return qm(Bm(e))}});var Gm=o(K.Object.keys),Ym=Ta.PROPER,Wm=n,Hm=sf,Vm=mf.trim;So({target:"String",proto:!0,forced:function(e){return Wm((function(){return!!Hm[e]()||"​᠎"!=="​᠎"[e]()||Ym&&Hm[e].name!==e}))}("trim")},{trim:function(){return Vm(this)}});var Um=Uo("String","trim"),Zm=u,Qm=Um,Jm=String.prototype,Xm=o((function(e){var t=e.trim;return"string"==typeof e||e===Jm||Zm(Jm,e)&&t===Jm.trim?Qm:t})),Km=So,eb=Yo.indexOf,tb=kh,ob=$([].indexOf),nb=!!ob&&1/ob([1],1,-0)<0;Km({target:"Array",proto:!0,forced:nb||!tb("indexOf")},{indexOf:function(e){var t=arguments.length>1?arguments[1]:void 0;return nb?ob(this,e,t)||0:eb(this,e,t)}});var rb=Uo("Array","indexOf"),ib=u,ab=rb,lb=Array.prototype,sb=o((function(e){var t=e.indexOf;return e===lb||ib(lb,e)&&t===lb.indexOf?ab:t}));function cb(t){let o=e.extend({action:"bookly_render_complete"},t),n=My[t.form_id].$container;Fy({data:o}).then((r=>{if(r.final_step_url&&!o.error)document.location.href=r.final_step_url;else{var i;n.html(r.html);let o=e(".bookly-js-qr",n),a=BooklyL10n.ajaxurl+(sb(i=BooklyL10n.ajaxurl).call(i,"?")>0?"&":"?")+"bookly_order="+r.bookly_order+"&csrf_token="+BooklyL10n.csrf_token;new QRCode(o.get(0),{text:r.qr,width:256,height:256,useSVG:!0,correctLevel:1}),Iy(n,t.form_id),e(".bookly-js-start-over",n).on("click",(function(e){e.stopPropagation(),e.preventDefault(),Ly(this),eL({form_id:t.form_id,reset_form:!0,new_chain:!0})})),e(".bookly-js-download-ics",n).on("click",(function(e){let t=Ly(this);window.location=a+"&action=bookly_add_to_calendar&calendar=ics",Ay((()=>t.stop()),1500)})),e(".bookly-js-download-invoice",n).on("click",(function(e){let t=Ly(this);window.location=a+"&action=bookly_invoices_download_invoice",Ay((()=>t.stop()),1500)})),e(".bookly-js-add-to-calendar",n).on("click",(function(t){t.preventDefault();let o=Ly(this);window.open(a+"&action=bookly_add_to_calendar&calendar="+e(this).data("calendar"),"_blank"),Ay((()=>o.stop()),1500)}))}}))}function ub(t){var o=My[t.form_id].$container;Fy({type:"POST",data:{action:"bookly_render_payment",form_id:t.form_id,page_url:document.URL.split("#")[0]}}).then((n=>{if(n.disabled)return void Fy({type:"POST",data:{action:"bookly_save_appointment",form_id:r=t.form_id}}).then((e=>{cb({form_id:r})})).catch((e=>{"cart_item_not_available"==e.error&&db(e,r)}));var r;o.html(n.html),Iy(o,t.form_id),"cancelled"==My[t.form_id].status.booking&&(My[t.form_id].status.booking="ok");const i=n.custom_js;let a=e("#bookly-stripe-card-field",o);if(a.length)if(n.stripe_publishable_key){var l=Stripe(n.stripe_publishable_key,{betas:["payment_intent_beta_3"]}),s=l.elements(),c=s.create("cardNumber");c.mount("#bookly-form-"+t.form_id+" #bookly-stripe-card-field"),s.create("cardExpiry").mount("#bookly-form-"+t.form_id+" #bookly-stripe-card-expiry-field"),s.create("cardCvc").mount("#bookly-form-"+t.form_id+" #bookly-stripe-card-cvc-field")}else{e(".pay-card .bookly-js-next-step",o).prop("disabled",!0);let t=a.closest(".bookly-js-details");e(".bookly-form-group",t).hide(),e(".bookly-js-card-error",t).text("Please call Stripe() with your publishable key. You used an empty string.")}var u,d=e(".bookly-js-payment",o),f=e(".bookly-js-apply-coupon",o),y=e("input.bookly-user-coupon",o),p=e(".bookly-js-apply-gift-card",o),h=e("input.bookly-user-gift",o),m=e(".bookly-js-apply-tips",o),b=e(".bookly-js-applied-tips",o),v=e("input.bookly-user-tips",o),k=e(".bookly-js-tips-error",o),g=e("input[type=radio][name=bookly-full-payment]",o),_=e(".bookly-info-text-coupon",o),w=e(".bookly-gateway-buttons,.bookly-js-details",o);d.on("click",(function(){if(w.hide(),e(".bookly-gateway-buttons.pay-"+e(this).val(),o).show(),1==e(this).data("with-details")){let t=e(this).closest(".bookly-list");u=e(".bookly-js-details",t),e(".bookly-js-details",t).show()}else u=null})),d.eq(0).trigger("click"),g.on("change",(function(){let o={action:"bookly_deposit_payments_apply_payment_method",form_id:t.form_id,deposit_full:e(this).val()};e(this).hide(),e(this).prev().css("display","inline-block"),Fy({type:"POST",data:o}).then((e=>{ub({form_id:t.form_id})}))})),f.on("click",(function(o){var n=Ly(this);y.removeClass("bookly-error"),Fy({type:"POST",data:{action:"bookly_coupons_apply_coupon",form_id:t.form_id,coupon_code:y.val()},error:function(){n.stop()}}).then((e=>{ub({form_id:t.form_id})})).catch((o=>{y.addClass("bookly-error"),_.html(o.text),f.next(".bookly-label-error").remove();let n=e("<div>",{class:"bookly-label-error",text:o?.error||"Error"});n.insertAfter(f),Iy(n,t.form_id)})).finally((()=>{n.stop()}))})),p.on("click",(function(n){var r=Ly(this);h.removeClass("bookly-error"),Fy({type:"POST",data:{action:"bookly_pro_apply_gift_card",form_id:t.form_id,gift_card:h.val()},error:function(){r.stop()}}).then((e=>{ub({form_id:t.form_id})})).catch((n=>{if(e(".bookly-js-payment[value!=free]",o).length>0){h.addClass("bookly-error"),p.next(".bookly-label-error").remove();let o=e("<div>",{class:"bookly-label-error",text:n?.error||"Error"});o.insertAfter(p),Iy(o,t.form_id)}else ub({form_id:t.form_id})})).finally((()=>{r.stop()}))})),v.on("keyup",(function(){b.hide(),m.css("display","inline-block")})),m.on("click",(function(e){var o=Ly(this);k.text(""),v.removeClass("bookly-error"),Fy({type:"POST",data:{action:"bookly_pro_apply_tips",form_id:t.form_id,tips:v.val()},error:function(){o.stop()}}).then((e=>{ub({form_id:t.form_id})})).catch((e=>{k.html(e.error),v.addClass("bookly-error"),Iy(k,t.form_id),o.stop()}))})),e(".bookly-js-next-step",o).on("click",(function(o){o.stopPropagation(),o.preventDefault();var n=Ly(this),r=zm(d).call(d,":checked");if(i)try{e.globalEval(i.next_button)}catch(o){}if("card"===r.val()){let o=r.data("gateway");"authorize_net"===o?Fy({type:"POST",data:{action:"bookly_create_payment_intent",card:{number:e('input[name="card_number"]',u).val(),cvc:e('input[name="card_cvc"]',u).val(),exp_month:e('select[name="card_exp_month"]',u).val(),exp_year:e('select[name="card_exp_year"]',u).val()},response_url:window.location.pathname+window.location.search.split("#")[0],form_id:t.form_id,gateway:o}}).then((e=>{yb(e.data,t.form_id)})).catch((e=>{fb(e,t.form_id,r.closest(".bookly-list")),n.stop()})):"stripe"===o&&Fy({type:"POST",data:{action:"bookly_create_payment_intent",form_id:t.form_id,response_url:window.location.pathname+window.location.search.split("#")[0],gateway:o}}).then((o=>{l.confirmCardPayment(o.data.intent_secret,{payment_method:{card:c}}).then((function(i){i.error?Fy({type:"POST",data:{action:"bookly_rollback_order",form_id:t.form_id,bookly_order:o.data.bookly_order}}).then((t=>{n.stop();let o=r.closest(".bookly-list");e(".bookly-label-error",o).remove(),o.append(e("<div>",{class:"bookly-label-error",text:i.error.message||"Error"}))})):yb(o.data,t.form_id)}))})).catch((e=>{fb(e,t.form_id,r.closest(".bookly-list")),n.stop()}))}else Fy({type:"POST",data:{action:"bookly_create_payment_intent",form_id:t.form_id,gateway:r.val(),response_url:window.location.pathname+window.location.search.split("#")[0]}}).then((e=>{yb(e.data,t.form_id)})).catch((e=>{fb(e,t.form_id,r.closest(".bookly-list")),n.stop()}))})),e(".bookly-js-back-step",o).on("click",(function(e){e.stopPropagation(),e.preventDefault(),Ly(this),rM({form_id:t.form_id})}))}))}function db(e,t){My[t].skip_steps.cart?lM({form_id:t},My[t].errors[e.error]):iM({form_id:t},{failed_key:e.failed_cart_key,message:My[t].errors[e.error]})}function fb(t,o,n){"cart_item_not_available"==t.error?db(t,o):t.error&&(e(".bookly-label-error",n).remove(),n.append(e("<div>",{class:"bookly-label-error",text:t?.error_message||"Error"})))}function yb(t,o){t.on_site?e.ajax({type:"GET",url:t.target_url,xhrFields:{withCredentials:!0},crossDomain:"withCredentials"in new XMLHttpRequest}).always((function(){cb({form_id:o})})):document.location.href=t.target_url}var pb=function(e){try{return!!e()}catch(e){return!0}},hb=!pb((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})),mb=hb,bb=Function.prototype,vb=bb.call,kb=mb&&bb.bind.bind(vb,vb),gb=mb?kb:function(e){return function(){return vb.apply(e,arguments)}},_b=gb({}.isPrototypeOf),wb=function(e){return e&&e.Math==Math&&e},xb=wb("object"==typeof globalThis&&globalThis)||wb("object"==typeof window&&window)||wb("object"==typeof self&&self)||wb("object"==typeof t&&t)||function(){return this}()||t||Function("return this")(),$b=hb,jb=Function.prototype,Sb=jb.apply,Ob=jb.call,Pb="object"==typeof Reflect&&Reflect.apply||($b?Ob.bind(Sb):function(){return Ob.apply(Sb,arguments)}),Eb=gb,Db=Eb({}.toString),Tb=Eb("".slice),Cb=function(e){return Tb(Db(e),8,-1)},Ab=Cb,Mb=gb,Lb=function(e){if("Function"===Ab(e))return Mb(e)},Ib="object"==typeof document&&document.all,Rb={all:Ib,IS_HTMLDDA:void 0===Ib&&void 0!==Ib},Fb=Rb.all,Nb=Rb.IS_HTMLDDA?function(e){return"function"==typeof e||e===Fb}:function(e){return"function"==typeof e},zb={},Bb=!pb((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),qb=hb,Gb=Function.prototype.call,Yb=qb?Gb.bind(Gb):function(){return Gb.apply(Gb,arguments)},Wb={},Hb={}.propertyIsEnumerable,Vb=Object.getOwnPropertyDescriptor,Ub=Vb&&!Hb.call({1:2},1);Wb.f=Ub?function(e){var t=Vb(this,e);return!!t&&t.enumerable}:Hb;var Zb,Qb,Jb=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},Xb=pb,Kb=Cb,ev=Object,tv=gb("".split),ov=Xb((function(){return!ev("z").propertyIsEnumerable(0)}))?function(e){return"String"==Kb(e)?tv(e,""):ev(e)}:ev,nv=function(e){return null==e},rv=nv,iv=TypeError,av=function(e){if(rv(e))throw iv("Can't call method on "+e);return e},lv=ov,sv=av,cv=function(e){return lv(sv(e))},uv=Nb,dv=Rb.all,fv=Rb.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:uv(e)||e===dv}:function(e){return"object"==typeof e?null!==e:uv(e)},yv={},pv=yv,hv=xb,mv=Nb,bv=function(e){return mv(e)?e:void 0},vv=function(e,t){return arguments.length<2?bv(pv[e])||bv(hv[e]):pv[e]&&pv[e][t]||hv[e]&&hv[e][t]},kv=xb,gv="undefined"!=typeof navigator&&String(navigator.userAgent)||"",_v=kv.process,wv=kv.Deno,xv=_v&&_v.versions||wv&&wv.version,$v=xv&&xv.v8;$v&&(Qb=(Zb=$v.split("."))[0]>0&&Zb[0]<4?1:+(Zb[0]+Zb[1])),!Qb&&gv&&(!(Zb=gv.match(/Edge\/(\d+)/))||Zb[1]>=74)&&(Zb=gv.match(/Chrome\/(\d+)/))&&(Qb=+Zb[1]);var jv=Qb,Sv=jv,Ov=pb,Pv=xb.String,Ev=!!Object.getOwnPropertySymbols&&!Ov((function(){var e=Symbol();return!Pv(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&Sv&&Sv<41})),Dv=Ev&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Tv=vv,Cv=Nb,Av=_b,Mv=Object,Lv=Dv?function(e){return"symbol"==typeof e}:function(e){var t=Tv("Symbol");return Cv(t)&&Av(t.prototype,Mv(e))},Iv=String,Rv=function(e){try{return Iv(e)}catch(e){return"Object"}},Fv=Nb,Nv=Rv,zv=TypeError,Bv=function(e){if(Fv(e))return e;throw zv(Nv(e)+" is not a function")},qv=Bv,Gv=nv,Yv=function(e,t){var o=e[t];return Gv(o)?void 0:qv(o)},Wv=Yb,Hv=Nb,Vv=fv,Uv=TypeError,Zv={exports:{}},Qv=xb,Jv=Object.defineProperty,Xv=function(e,t){try{Jv(Qv,e,{value:t,configurable:!0,writable:!0})}catch(o){Qv[e]=t}return t},Kv="__core-js_shared__",ek=xb[Kv]||Xv(Kv,{}),tk=ek;(Zv.exports=function(e,t){return tk[e]||(tk[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.31.0",mode:"pure",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.31.0/LICENSE",source:"https://github.com/zloirock/core-js"});var ok=Zv.exports,nk=av,rk=Object,ik=function(e){return rk(nk(e))},ak=ik,lk=gb({}.hasOwnProperty),sk=Object.hasOwn||function(e,t){return lk(ak(e),t)},ck=gb,uk=0,dk=Math.random(),fk=ck(1..toString),yk=function(e){return"Symbol("+(void 0===e?"":e)+")_"+fk(++uk+dk,36)},pk=ok,hk=sk,mk=yk,bk=Ev,vk=Dv,kk=xb.Symbol,gk=pk("wks"),_k=vk?kk.for||kk:kk&&kk.withoutSetter||mk,wk=function(e){return hk(gk,e)||(gk[e]=bk&&hk(kk,e)?kk[e]:_k("Symbol."+e)),gk[e]},xk=Yb,$k=fv,jk=Lv,Sk=Yv,Ok=function(e,t){var o,n;if("string"===t&&Hv(o=e.toString)&&!Vv(n=Wv(o,e)))return n;if(Hv(o=e.valueOf)&&!Vv(n=Wv(o,e)))return n;if("string"!==t&&Hv(o=e.toString)&&!Vv(n=Wv(o,e)))return n;throw Uv("Can't convert object to primitive value")},Pk=TypeError,Ek=wk("toPrimitive"),Dk=function(e,t){if(!$k(e)||jk(e))return e;var o,n=Sk(e,Ek);if(n){if(void 0===t&&(t="default"),o=xk(n,e,t),!$k(o)||jk(o))return o;throw Pk("Can't convert object to primitive value")}return void 0===t&&(t="number"),Ok(e,t)},Tk=Lv,Ck=function(e){var t=Dk(e,"string");return Tk(t)?t:t+""},Ak=fv,Mk=xb.document,Lk=Ak(Mk)&&Ak(Mk.createElement),Ik=function(e){return Lk?Mk.createElement(e):{}},Rk=Ik,Fk=!Bb&&!pb((function(){return 7!=Object.defineProperty(Rk("div"),"a",{get:function(){return 7}}).a})),Nk=Bb,zk=Yb,Bk=Wb,qk=Jb,Gk=cv,Yk=Ck,Wk=sk,Hk=Fk,Vk=Object.getOwnPropertyDescriptor;zb.f=Nk?Vk:function(e,t){if(e=Gk(e),t=Yk(t),Hk)try{return Vk(e,t)}catch(e){}if(Wk(e,t))return qk(!zk(Bk.f,e,t),e[t])};var Uk=pb,Zk=Nb,Qk=/#|\.prototype\./,Jk=function(e,t){var o=Kk[Xk(e)];return o==tg||o!=eg&&(Zk(t)?Uk(t):!!t)},Xk=Jk.normalize=function(e){return String(e).replace(Qk,".").toLowerCase()},Kk=Jk.data={},eg=Jk.NATIVE="N",tg=Jk.POLYFILL="P",og=Jk,ng=Bv,rg=hb,ig=Lb(Lb.bind),ag=function(e,t){return ng(e),void 0===t?e:rg?ig(e,t):function(){return e.apply(t,arguments)}},lg={},sg=Bb&&pb((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),cg=fv,ug=String,dg=TypeError,fg=function(e){if(cg(e))return e;throw dg(ug(e)+" is not an object")},yg=Bb,pg=Fk,hg=sg,mg=fg,bg=Ck,vg=TypeError,kg=Object.defineProperty,gg=Object.getOwnPropertyDescriptor,_g="enumerable",wg="configurable",xg="writable";lg.f=yg?hg?function(e,t,o){if(mg(e),t=bg(t),mg(o),"function"==typeof e&&"prototype"===t&&"value"in o&&xg in o&&!o[xg]){var n=gg(e,t);n&&n[xg]&&(e[t]=o.value,o={configurable:wg in o?o[wg]:n[wg],enumerable:_g in o?o[_g]:n[_g],writable:!1})}return kg(e,t,o)}:kg:function(e,t,o){if(mg(e),t=bg(t),mg(o),pg)try{return kg(e,t,o)}catch(e){}if("get"in o||"set"in o)throw vg("Accessors not supported");return"value"in o&&(e[t]=o.value),e};var $g=lg,jg=Jb,Sg=Bb?function(e,t,o){return $g.f(e,t,jg(1,o))}:function(e,t,o){return e[t]=o,e},Og=xb,Pg=Pb,Eg=Lb,Dg=Nb,Tg=zb.f,Cg=og,Ag=yv,Mg=ag,Lg=Sg,Ig=sk,Rg=function(e){var t=function(o,n,r){if(this instanceof t){switch(arguments.length){case 0:return new e;case 1:return new e(o);case 2:return new e(o,n)}return new e(o,n,r)}return Pg(e,this,arguments)};return t.prototype=e.prototype,t},Fg=function(e,t){var o,n,r,i,a,l,s,c,u,d=e.target,f=e.global,y=e.stat,p=e.proto,h=f?Og:y?Og[d]:(Og[d]||{}).prototype,m=f?Ag:Ag[d]||Lg(Ag,d,{})[d],b=m.prototype;for(i in t)n=!(o=Cg(f?i:d+(y?".":"#")+i,e.forced))&&h&&Ig(h,i),l=m[i],n&&(s=e.dontCallGetSet?(u=Tg(h,i))&&u.value:h[i]),a=n&&s?s:t[i],n&&typeof l==typeof a||(c=e.bind&&n?Mg(a,Og):e.wrap&&n?Rg(a):p&&Dg(a)?Eg(a):a,(e.sham||a&&a.sham||l&&l.sham)&&Lg(c,"sham",!0),Lg(m,i,c),p&&(Ig(Ag,r=d+"Prototype")||Lg(Ag,r,{}),Lg(Ag[r],i,a),e.real&&b&&(o||!b[i])&&Lg(b,i,a)))},Ng=Cb,zg=Array.isArray||function(e){return"Array"==Ng(e)},Bg={};Bg[wk("toStringTag")]="z";var qg="[object z]"===String(Bg),Gg=qg,Yg=Nb,Wg=Cb,Hg=wk("toStringTag"),Vg=Object,Ug="Arguments"==Wg(function(){return arguments}()),Zg=Gg?Wg:function(e){var t,o,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(o=function(e,t){try{return e[t]}catch(e){}}(t=Vg(e),Hg))?o:Ug?Wg(t):"Object"==(n=Wg(t))&&Yg(t.callee)?"Arguments":n},Qg=Nb,Jg=ek,Xg=gb(Function.toString);Qg(Jg.inspectSource)||(Jg.inspectSource=function(e){return Xg(e)});var Kg=Jg.inspectSource,e_=gb,t_=pb,o_=Nb,n_=Zg,r_=Kg,i_=function(){},a_=[],l_=vv("Reflect","construct"),s_=/^\s*(?:class|function)\b/,c_=e_(s_.exec),u_=!s_.exec(i_),d_=function(e){if(!o_(e))return!1;try{return l_(i_,a_,e),!0}catch(e){return!1}},f_=function(e){if(!o_(e))return!1;switch(n_(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return u_||!!c_(s_,r_(e))}catch(e){return!0}};f_.sham=!0;var y_=!l_||t_((function(){var e;return d_(d_.call)||!d_(Object)||!d_((function(){e=!0}))||e}))?f_:d_,p_=Math.ceil,h_=Math.floor,m_=Math.trunc||function(e){var t=+e;return(t>0?h_:p_)(t)},b_=function(e){var t=+e;return t!=t||0===t?0:m_(t)},v_=b_,k_=Math.max,g_=Math.min,__=function(e,t){var o=v_(e);return o<0?k_(o+t,0):g_(o,t)},w_=b_,x_=Math.min,$_=function(e){return e>0?x_(w_(e),9007199254740991):0},j_=function(e){return $_(e.length)},S_=Ck,O_=lg,P_=Jb,E_=function(e,t,o){var n=S_(t);n in e?O_.f(e,n,P_(0,o)):e[n]=o},D_=pb,T_=jv,C_=wk("species"),A_=function(e){return T_>=51||!D_((function(){var t=[];return(t.constructor={})[C_]=function(){return{foo:1}},1!==t[e](Boolean).foo}))},M_=gb([].slice),L_=Fg,I_=zg,R_=y_,F_=fv,N_=__,z_=j_,B_=cv,q_=E_,G_=wk,Y_=M_,W_=A_("slice"),H_=G_("species"),V_=Array,U_=Math.max;L_({target:"Array",proto:!0,forced:!W_},{slice:function(e,t){var o,n,r,i=B_(this),a=z_(i),l=N_(e,a),s=N_(void 0===t?a:t,a);if(I_(i)&&(o=i.constructor,(R_(o)&&(o===V_||I_(o.prototype))||F_(o)&&null===(o=o[H_]))&&(o=void 0),o===V_||void 0===o))return Y_(i,l,s);for(n=new(void 0===o?V_:o)(U_(s-l,0)),r=0;l<s;l++,r++)l in i&&q_(n,r,i[l]);return n.length=r,n}});var Z_=yv,Q_=function(e){return Z_[e+"Prototype"]},J_=Q_("Array").slice,X_=_b,K_=J_,ew=Array.prototype,tw=o((function(e){var t=e.slice;return e===ew||X_(ew,e)&&t===ew.slice?K_:t})),ow=zg,nw=y_,rw=fv,iw=wk("species"),aw=Array,lw=function(e){var t;return ow(e)&&(t=e.constructor,(nw(t)&&(t===aw||ow(t.prototype))||rw(t)&&null===(t=t[iw]))&&(t=void 0)),void 0===t?aw:t},sw=ag,cw=ov,uw=ik,dw=j_,fw=function(e,t){return new(lw(e))(0===t?0:t)},yw=gb([].push),pw=function(e){var t=1==e,o=2==e,n=3==e,r=4==e,i=6==e,a=7==e,l=5==e||i;return function(s,c,u,d){for(var f,y,p=uw(s),h=cw(p),m=sw(c,u),b=dw(h),v=0,k=d||fw,g=t?k(s,b):o||a?k(s,0):void 0;b>v;v++)if((l||v in h)&&(y=m(f=h[v],v,p),e))if(t)g[v]=y;else if(y)switch(e){case 3:return!0;case 5:return f;case 6:return v;case 2:yw(g,f)}else switch(e){case 4:return!1;case 7:yw(g,f)}return i?-1:n||r?r:g}},hw={forEach:pw(0),map:pw(1),filter:pw(2),some:pw(3),every:pw(4),find:pw(5),findIndex:pw(6),filterReject:pw(7)},mw=hw.filter;Fg({target:"Array",proto:!0,forced:!A_("filter")},{filter:function(e){return mw(this,e,arguments.length>1?arguments[1]:void 0)}});var bw=Q_("Array").filter,vw=_b,kw=bw,gw=Array.prototype,_w=o((function(e){var t=e.filter;return e===gw||vw(gw,e)&&t===gw.filter?kw:t})),ww=Zg,xw=String,$w=function(e){if("Symbol"===ww(e))throw TypeError("Cannot convert a Symbol value to a string");return xw(e)},jw="\t\n\v\f\r                　\u2028\u2029\ufeff",Sw=av,Ow=$w,Pw=jw,Ew=gb("".replace),Dw=RegExp("^["+Pw+"]+"),Tw=RegExp("(^|[^"+Pw+"])["+Pw+"]+$"),Cw=function(e){return function(t){var o=Ow(Sw(t));return 1&e&&(o=Ew(o,Dw,"")),2&e&&(o=Ew(o,Tw,"$1")),o}},Aw={start:Cw(1),end:Cw(2),trim:Cw(3)},Mw=xb,Lw=pb,Iw=gb,Rw=$w,Fw=Aw.trim,Nw=jw,zw=Mw.parseInt,Bw=Mw.Symbol,qw=Bw&&Bw.iterator,Gw=/^[+-]?0x/i,Yw=Iw(Gw.exec),Ww=8!==zw(Nw+"08")||22!==zw(Nw+"0x16")||qw&&!Lw((function(){zw(Object(qw))}))?function(e,t){var o=Fw(Rw(e));return zw(o,t>>>0||(Yw(Gw,o)?16:10))}:zw;Fg({global:!0,forced:parseInt!=Ww},{parseInt:Ww});var Hw=o(yv.parseInt),Vw=cv,Uw=__,Zw=j_,Qw=function(e){return function(t,o,n){var r,i=Vw(t),a=Zw(i),l=Uw(n,a);if(e&&o!=o){for(;a>l;)if((r=i[l++])!=r)return!0}else for(;a>l;l++)if((e||l in i)&&i[l]===o)return e||l||0;return!e&&-1}},Jw={includes:Qw(!0),indexOf:Qw(!1)},Xw=Jw.includes;Fg({target:"Array",proto:!0,forced:pb((function(){return!Array(1).includes()}))},{includes:function(e){return Xw(this,e,arguments.length>1?arguments[1]:void 0)}});var Kw=Q_("Array").includes,ex=fv,tx=Cb,ox=wk("match"),nx=function(e){var t;return ex(e)&&(void 0!==(t=e[ox])?!!t:"RegExp"==tx(e))},rx=TypeError,ix=wk("match"),ax=Fg,lx=function(e){if(nx(e))throw rx("The method doesn't accept regular expressions");return e},sx=av,cx=$w,ux=function(e){var t=/./;try{"/./"[e](t)}catch(o){try{return t[ix]=!1,"/./"[e](t)}catch(e){}}return!1},dx=gb("".indexOf);ax({target:"String",proto:!0,forced:!ux("includes")},{includes:function(e){return!!~dx(cx(sx(this)),cx(lx(e)),arguments.length>1?arguments[1]:void 0)}});var fx,yx,px,hx=Q_("String").includes,mx=_b,bx=Kw,vx=hx,kx=Array.prototype,gx=String.prototype,_x=o((function(e){var t=e.includes;return e===kx||mx(kx,e)&&t===kx.includes?bx:"string"==typeof e||e===gx||mx(gx,e)&&t===gx.includes?vx:t})),wx={},xx=Nb,$x=xb.WeakMap,jx=xx($x)&&/native code/.test(String($x)),Sx=yk,Ox=ok("keys"),Px=function(e){return Ox[e]||(Ox[e]=Sx(e))},Ex={},Dx=jx,Tx=xb,Cx=fv,Ax=Sg,Mx=sk,Lx=ek,Ix=Px,Rx=Ex,Fx="Object already initialized",Nx=Tx.TypeError,zx=Tx.WeakMap;if(Dx||Lx.state){var Bx=Lx.state||(Lx.state=new zx);Bx.get=Bx.get,Bx.has=Bx.has,Bx.set=Bx.set,fx=function(e,t){if(Bx.has(e))throw Nx(Fx);return t.facade=e,Bx.set(e,t),t},yx=function(e){return Bx.get(e)||{}},px=function(e){return Bx.has(e)}}else{var qx=Ix("state");Rx[qx]=!0,fx=function(e,t){if(Mx(e,qx))throw Nx(Fx);return t.facade=e,Ax(e,qx,t),t},yx=function(e){return Mx(e,qx)?e[qx]:{}},px=function(e){return Mx(e,qx)}}var Gx={set:fx,get:yx,has:px,enforce:function(e){return px(e)?yx(e):fx(e,{})},getterFor:function(e){return function(t){var o;if(!Cx(t)||(o=yx(t)).type!==e)throw Nx("Incompatible receiver, "+e+" required");return o}}},Yx=Bb,Wx=sk,Hx=Function.prototype,Vx=Yx&&Object.getOwnPropertyDescriptor,Ux=Wx(Hx,"name"),Zx={EXISTS:Ux,PROPER:Ux&&"something"===function(){}.name,CONFIGURABLE:Ux&&(!Yx||Yx&&Vx(Hx,"name").configurable)},Qx={},Jx=sk,Xx=cv,Kx=Jw.indexOf,e$=Ex,t$=gb([].push),o$=function(e,t){var o,n=Xx(e),r=0,i=[];for(o in n)!Jx(e$,o)&&Jx(n,o)&&t$(i,o);for(;t.length>r;)Jx(n,o=t[r++])&&(~Kx(i,o)||t$(i,o));return i},n$=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],r$=o$,i$=n$,a$=Object.keys||function(e){return r$(e,i$)},l$=Bb,s$=sg,c$=lg,u$=fg,d$=cv,f$=a$;Qx.f=l$&&!s$?Object.defineProperties:function(e,t){u$(e);for(var o,n=d$(t),r=f$(t),i=r.length,a=0;i>a;)c$.f(e,o=r[a++],n[o]);return e};var y$,p$=vv("document","documentElement"),h$=fg,m$=Qx,b$=n$,v$=Ex,k$=p$,g$=Ik,_$="prototype",w$="script",x$=Px("IE_PROTO"),$$=function(){},j$=function(e){return"<"+w$+">"+e+"</"+w$+">"},S$=function(e){e.write(j$("")),e.close();var t=e.parentWindow.Object;return e=null,t},O$=function(){try{y$=new ActiveXObject("htmlfile")}catch(e){}var e,t,o;O$="undefined"!=typeof document?document.domain&&y$?S$(y$):(t=g$("iframe"),o="java"+w$+":",t.style.display="none",k$.appendChild(t),t.src=String(o),(e=t.contentWindow.document).open(),e.write(j$("document.F=Object")),e.close(),e.F):S$(y$);for(var n=b$.length;n--;)delete O$[_$][b$[n]];return O$()};v$[x$]=!0;var P$,E$,D$,T$=Object.create||function(e,t){var o;return null!==e?($$[_$]=h$(e),o=new $$,$$[_$]=null,o[x$]=e):o=O$(),void 0===t?o:m$.f(o,t)},C$=!pb((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),A$=sk,M$=Nb,L$=ik,I$=C$,R$=Px("IE_PROTO"),F$=Object,N$=F$.prototype,z$=I$?F$.getPrototypeOf:function(e){var t=L$(e);if(A$(t,R$))return t[R$];var o=t.constructor;return M$(o)&&t instanceof o?o.prototype:t instanceof F$?N$:null},B$=Sg,q$=function(e,t,o,n){return n&&n.enumerable?e[t]=o:B$(e,t,o),e},G$=pb,Y$=Nb,W$=fv,H$=T$,V$=z$,U$=q$,Z$=wk("iterator"),Q$=!1;[].keys&&("next"in(D$=[].keys())?(E$=V$(V$(D$)))!==Object.prototype&&(P$=E$):Q$=!0);var J$=!W$(P$)||G$((function(){var e={};return P$[Z$].call(e)!==e}));Y$((P$=J$?{}:H$(P$))[Z$])||U$(P$,Z$,(function(){return this}));var X$={IteratorPrototype:P$,BUGGY_SAFARI_ITERATORS:Q$},K$=Zg,ej=qg?{}.toString:function(){return"[object "+K$(this)+"]"},tj=qg,oj=lg.f,nj=Sg,rj=sk,ij=ej,aj=wk("toStringTag"),lj=function(e,t,o,n){if(e){var r=o?e:e.prototype;rj(r,aj)||oj(r,aj,{configurable:!0,value:t}),n&&!tj&&nj(r,"toString",ij)}},sj=X$.IteratorPrototype,cj=T$,uj=Jb,dj=lj,fj=wx,yj=function(){return this},pj=Fg,hj=Yb,mj=Zx,bj=function(e,t,o,n){var r=t+" Iterator";return e.prototype=cj(sj,{next:uj(+!n,o)}),dj(e,r,!1,!0),fj[r]=yj,e},vj=z$,kj=lj,gj=q$,_j=wx,wj=X$,xj=mj.PROPER,$j=wj.BUGGY_SAFARI_ITERATORS,jj=wk("iterator"),Sj="keys",Oj="values",Pj="entries",Ej=function(){return this},Dj=function(e,t,o,n,r,i,a){bj(o,t,n);var l,s,c,u=function(e){if(e===r&&h)return h;if(!$j&&e in y)return y[e];switch(e){case Sj:case Oj:case Pj:return function(){return new o(this,e)}}return function(){return new o(this)}},d=t+" Iterator",f=!1,y=e.prototype,p=y[jj]||y["@@iterator"]||r&&y[r],h=!$j&&p||u(r),m="Array"==t&&y.entries||p;if(m&&(l=vj(m.call(new e)))!==Object.prototype&&l.next&&(kj(l,d,!0,!0),_j[d]=Ej),xj&&r==Oj&&p&&p.name!==Oj&&(f=!0,h=function(){return hj(p,this)}),r)if(s={values:u(Oj),keys:i?h:u(Sj),entries:u(Pj)},a)for(c in s)($j||f||!(c in y))&&gj(y,c,s[c]);else pj({target:t,proto:!0,forced:$j||f},s);return a&&y[jj]!==h&&gj(y,jj,h,{name:r}),_j[t]=h,s},Tj=function(e,t){return{value:e,done:t}},Cj=cv,Aj=wx,Mj=Gx;lg.f;var Lj=Dj,Ij=Tj,Rj="Array Iterator",Fj=Mj.set,Nj=Mj.getterFor(Rj);Lj(Array,"Array",(function(e,t){Fj(this,{type:Rj,target:Cj(e),index:0,kind:t})}),(function(){var e=Nj(this),t=e.target,o=e.kind,n=e.index++;return!t||n>=t.length?(e.target=void 0,Ij(void 0,!0)):Ij("keys"==o?n:"values"==o?t[n]:[n,t[n]],!1)}),"values"),Aj.Arguments=Aj.Array;var zj={exports:{}},Bj={},qj=o$,Gj=n$.concat("length","prototype");Bj.f=Object.getOwnPropertyNames||function(e){return qj(e,Gj)};var Yj={},Wj=__,Hj=j_,Vj=E_,Uj=Array,Zj=Math.max,Qj=Cb,Jj=cv,Xj=Bj.f,Kj=function(e,t,o){for(var n=Hj(e),r=Wj(t,n),i=Wj(void 0===o?n:o,n),a=Uj(Zj(i-r,0)),l=0;r<i;r++,l++)Vj(a,l,e[r]);return a.length=l,a},eS="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];Yj.f=function(e){return eS&&"Window"==Qj(e)?function(e){try{return Xj(e)}catch(e){return Kj(eS)}}(e):Xj(Jj(e))};var tS=pb((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}})),oS=pb,nS=fv,rS=Cb,iS=tS,aS=Object.isExtensible,lS=oS((function(){aS(1)}))||iS?function(e){return!!nS(e)&&((!iS||"ArrayBuffer"!=rS(e))&&(!aS||aS(e)))}:aS,sS=!pb((function(){return Object.isExtensible(Object.preventExtensions({}))})),cS=Fg,uS=gb,dS=Ex,fS=fv,yS=sk,pS=lg.f,hS=Bj,mS=Yj,bS=lS,vS=sS,kS=!1,gS=yk("meta"),_S=0,wS=function(e){pS(e,gS,{value:{objectID:"O"+_S++,weakData:{}}})},xS=zj.exports={enable:function(){xS.enable=function(){},kS=!0;var e=hS.f,t=uS([].splice),o={};o[gS]=1,e(o).length&&(hS.f=function(o){for(var n=e(o),r=0,i=n.length;r<i;r++)if(n[r]===gS){t(n,r,1);break}return n},cS({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:mS.f}))},fastKey:function(e,t){if(!fS(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!yS(e,gS)){if(!bS(e))return"F";if(!t)return"E";wS(e)}return e[gS].objectID},getWeakData:function(e,t){if(!yS(e,gS)){if(!bS(e))return!0;if(!t)return!1;wS(e)}return e[gS].weakData},onFreeze:function(e){return vS&&kS&&bS(e)&&!yS(e,gS)&&wS(e),e}};dS[gS]=!0;var $S=zj.exports,jS=wx,SS=wk("iterator"),OS=Array.prototype,PS=Zg,ES=Yv,DS=nv,TS=wx,CS=wk("iterator"),AS=function(e){if(!DS(e))return ES(e,CS)||ES(e,"@@iterator")||TS[PS(e)]},MS=Yb,LS=Bv,IS=fg,RS=Rv,FS=AS,NS=TypeError,zS=Yb,BS=fg,qS=Yv,GS=ag,YS=Yb,WS=fg,HS=Rv,VS=function(e){return void 0!==e&&(jS.Array===e||OS[SS]===e)},US=j_,ZS=_b,QS=function(e,t){var o=arguments.length<2?FS(e):t;if(LS(o))return IS(MS(o,e));throw NS(RS(e)+" is not iterable")},JS=AS,XS=function(e,t,o){var n,r;BS(e);try{if(!(n=qS(e,"return"))){if("throw"===t)throw o;return o}n=zS(n,e)}catch(e){r=!0,n=e}if("throw"===t)throw o;if(r)throw n;return BS(n),o},KS=TypeError,eO=function(e,t){this.stopped=e,this.result=t},tO=eO.prototype,oO=function(e,t,o){var n,r,i,a,l,s,c,u=o&&o.that,d=!(!o||!o.AS_ENTRIES),f=!(!o||!o.IS_RECORD),y=!(!o||!o.IS_ITERATOR),p=!(!o||!o.INTERRUPTED),h=GS(t,u),m=function(e){return n&&XS(n,"normal",e),new eO(!0,e)},b=function(e){return d?(WS(e),p?h(e[0],e[1],m):h(e[0],e[1])):p?h(e,m):h(e)};if(f)n=e.iterator;else if(y)n=e;else{if(!(r=JS(e)))throw KS(HS(e)+" is not iterable");if(VS(r)){for(i=0,a=US(e);a>i;i++)if((l=b(e[i]))&&ZS(tO,l))return l;return new eO(!1)}n=QS(e,r)}for(s=f?e.next:n.next;!(c=YS(s,n)).done;){try{l=b(c.value)}catch(e){XS(n,"throw",e)}if("object"==typeof l&&l&&ZS(tO,l))return l}return new eO(!1)},nO=_b,rO=TypeError,iO=function(e,t){if(nO(t,e))return e;throw rO("Incorrect invocation")},aO=Fg,lO=xb,sO=$S,cO=pb,uO=Sg,dO=oO,fO=iO,yO=Nb,pO=fv,hO=lj,mO=lg.f,bO=hw.forEach,vO=Bb,kO=Gx.set,gO=Gx.getterFor,_O=lg,wO=function(e,t,o){return _O.f(e,t,o)},xO=q$,$O=vv,jO=wO,SO=Bb,OO=wk("species"),PO=T$,EO=wO,DO=function(e,t,o){for(var n in t)o&&o.unsafe&&e[n]?e[n]=t[n]:xO(e,n,t[n],o);return e},TO=ag,CO=iO,AO=nv,MO=oO,LO=Dj,IO=Tj,RO=function(e){var t=$O(e);SO&&t&&!t[OO]&&jO(t,OO,{configurable:!0,get:function(){return this}})},FO=Bb,NO=$S.fastKey,zO=Gx.set,BO=Gx.getterFor,qO={getConstructor:function(e,t,o,n){var r=e((function(e,r){CO(e,i),zO(e,{type:t,index:PO(null),first:void 0,last:void 0,size:0}),FO||(e.size=0),AO(r)||MO(r,e[n],{that:e,AS_ENTRIES:o})})),i=r.prototype,a=BO(t),l=function(e,t,o){var n,r,i=a(e),l=s(e,t);return l?l.value=o:(i.last=l={index:r=NO(t,!0),key:t,value:o,previous:n=i.last,next:void 0,removed:!1},i.first||(i.first=l),n&&(n.next=l),FO?i.size++:e.size++,"F"!==r&&(i.index[r]=l)),e},s=function(e,t){var o,n=a(e),r=NO(t);if("F"!==r)return n.index[r];for(o=n.first;o;o=o.next)if(o.key==t)return o};return DO(i,{clear:function(){for(var e=a(this),t=e.index,o=e.first;o;)o.removed=!0,o.previous&&(o.previous=o.previous.next=void 0),delete t[o.index],o=o.next;e.first=e.last=void 0,FO?e.size=0:this.size=0},delete:function(e){var t=this,o=a(t),n=s(t,e);if(n){var r=n.next,i=n.previous;delete o.index[n.index],n.removed=!0,i&&(i.next=r),r&&(r.previous=i),o.first==n&&(o.first=r),o.last==n&&(o.last=i),FO?o.size--:t.size--}return!!n},forEach:function(e){for(var t,o=a(this),n=TO(e,arguments.length>1?arguments[1]:void 0);t=t?t.next:o.first;)for(n(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!s(this,e)}}),DO(i,o?{get:function(e){var t=s(this,e);return t&&t.value},set:function(e,t){return l(this,0===e?0:e,t)}}:{add:function(e){return l(this,e=0===e?0:e,e)}}),FO&&EO(i,"size",{configurable:!0,get:function(){return a(this).size}}),r},setStrong:function(e,t,o){var n=t+" Iterator",r=BO(t),i=BO(n);LO(e,t,(function(e,t){zO(this,{type:n,target:e,state:r(e),kind:t,last:void 0})}),(function(){for(var e=i(this),t=e.kind,o=e.last;o&&o.removed;)o=o.previous;return e.target&&(e.last=o=o?o.next:e.state.first)?IO("keys"==t?o.key:"values"==t?o.value:[o.key,o.value],!1):(e.target=void 0,IO(void 0,!0))}),o?"entries":"values",!o,!0),RO(t)}},GO=function(e,t,o){var n,r=-1!==e.indexOf("Map"),i=-1!==e.indexOf("Weak"),a=r?"set":"add",l=lO[e],s=l&&l.prototype,c={};if(vO&&yO(l)&&(i||s.forEach&&!cO((function(){(new l).entries().next()})))){var u=(n=t((function(t,o){kO(fO(t,u),{type:e,collection:new l}),null!=o&&dO(o,t[a],{that:t,AS_ENTRIES:r})}))).prototype,d=gO(e);bO(["add","clear","delete","forEach","get","has","set","keys","values","entries"],(function(e){var t="add"==e||"set"==e;!(e in s)||i&&"clear"==e||uO(u,e,(function(o,n){var r=d(this).collection;if(!t&&i&&!pO(o))return"get"==e&&void 0;var a=r[e](0===o?0:o,n);return t?this:a}))})),i||mO(u,"size",{configurable:!0,get:function(){return d(this).collection.size}})}else n=o.getConstructor(t,e,r,a),sO.enable();return hO(n,e,!1,!0),c[e]=n,aO({global:!0,forced:!0},c),i||o.setStrong(n,e,r),n};GO("Set",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),qO);var YO=gb,WO=b_,HO=$w,VO=av,UO=YO("".charAt),ZO=YO("".charCodeAt),QO=YO("".slice),JO=function(e){return function(t,o){var n,r,i=HO(VO(t)),a=WO(o),l=i.length;return a<0||a>=l?e?"":void 0:(n=ZO(i,a))<55296||n>56319||a+1===l||(r=ZO(i,a+1))<56320||r>57343?e?UO(i,a):n:e?QO(i,a,a+2):r-56320+(n-55296<<10)+65536}},XO={codeAt:JO(!1),charAt:JO(!0)}.charAt,KO=$w,eP=Gx,tP=Dj,oP=Tj,nP="String Iterator",rP=eP.set,iP=eP.getterFor(nP);tP(String,"String",(function(e){rP(this,{type:nP,string:KO(e),index:0})}),(function(){var e,t=iP(this),o=t.string,n=t.index;return n>=o.length?oP(void 0,!0):(e=XO(o,n),t.index+=e.length,oP(e,!1))}));var aP=yv.Set,lP={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},sP=xb,cP=Zg,uP=Sg,dP=wx,fP=wk("toStringTag");for(var yP in lP){var pP=sP[yP],hP=pP&&pP.prototype;hP&&cP(hP)!==fP&&uP(hP,fP,yP),dP[yP]=dP.Array}var mP=o(aP);So({target:"Object",stat:!0,sham:!P},{create:Gr});var bP=K.Object,vP=o((function(e,t){return bP.create(e,t)})),kP={exports:{}},gP={},_P=_,wP=Q,xP=Qn.f,$P=vs,jP="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];gP.f=function(e){return jP&&"Window"===_P(e)?function(e){try{return xP(e)}catch(e){return $P(jP)}}(e):xP(wP(e))};var SP=n((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}})),OP=n,PP=X,EP=_,DP=SP,TP=Object.isExtensible,CP=OP((function(){TP(1)}))||DP?function(e){return!!PP(e)&&((!DP||"ArrayBuffer"!==EP(e))&&(!TP||TP(e)))}:TP,AP=!n((function(){return Object.isExtensible(Object.preventExtensions({}))})),MP=So,LP=c,IP=Jn,RP=X,FP=Ze,NP=Ut.f,zP=Qn,BP=gP,qP=CP,GP=AP,YP=!1,WP=et("meta"),HP=0,VP=function(e){NP(e,WP,{value:{objectID:"O"+HP++,weakData:{}}})},UP=kP.exports={enable:function(){UP.enable=function(){},YP=!0;var e=zP.f,t=LP([].splice),o={};o[WP]=1,e(o).length&&(zP.f=function(o){for(var n=e(o),r=0,i=n.length;r<i;r++)if(n[r]===WP){t(n,r,1);break}return n},MP({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:BP.f}))},fastKey:function(e,t){if(!RP(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!FP(e,WP)){if(!qP(e))return"F";if(!t)return"E";VP(e)}return e[WP].objectID},getWeakData:function(e,t){if(!FP(e,WP)){if(!qP(e))return!0;if(!t)return!1;VP(e)}return e[WP].weakData},onFreeze:function(e){return GP&&YP&&qP(e)&&!FP(e,WP)&&VP(e),e}};IP[WP]=!0;var ZP=kP.exports,QP=So,JP=f,XP=ZP,KP=n,eE=po,tE=Fi,oE=Bl,nE=S,rE=X,iE=Y,aE=Xa,lE=Ut.f,sE=xp.forEach,cE=P,uE=ja.set,dE=ja.getterFor,fE=function(e,t,o){var n,r=-1!==e.indexOf("Map"),i=-1!==e.indexOf("Weak"),a=r?"set":"add",l=JP[e],s=l&&l.prototype,c={};if(cE&&nE(l)&&(i||s.forEach&&!KP((function(){(new l).entries().next()})))){var u=(n=t((function(t,o){uE(oE(t,u),{type:e,collection:new l}),iE(o)||tE(o,t[a],{that:t,AS_ENTRIES:r})}))).prototype,d=dE(e);sE(["add","clear","delete","forEach","get","has","set","keys","values","entries"],(function(e){var t="add"===e||"set"===e;!(e in s)||i&&"clear"===e||eE(u,e,(function(o,n){var r=d(this).collection;if(!t&&i&&!rE(o))return"get"===e&&void 0;var a=r[e](0===o?0:o,n);return t?this:a}))})),i||lE(u,"size",{configurable:!0,get:function(){return d(this).collection.size}})}else n=o.getConstructor(t,e,r,a),XP.enable();return aE(n,e,!1,!0),c[e]=n,QP({global:!0,forced:!0},c),i||o.setStrong(n,e,r),n},yE=Aa,pE=function(e,t,o){for(var n in t)o&&o.unsafe&&e[n]?e[n]=t[n]:yE(e,n,t[n],o);return e},hE=Gr,mE=Al,bE=pE,vE=Vt,kE=Bl,gE=Y,_E=Fi,wE=_l,xE=wl,$E=Fl,jE=P,SE=ZP.fastKey,OE=ja.set,PE=ja.getterFor,EE={getConstructor:function(e,t,o,n){var r=e((function(e,r){kE(e,i),OE(e,{type:t,index:hE(null),first:void 0,last:void 0,size:0}),jE||(e.size=0),gE(r)||_E(r,e[n],{that:e,AS_ENTRIES:o})})),i=r.prototype,a=PE(t),l=function(e,t,o){var n,r,i=a(e),l=s(e,t);return l?l.value=o:(i.last=l={index:r=SE(t,!0),key:t,value:o,previous:n=i.last,next:void 0,removed:!1},i.first||(i.first=l),n&&(n.next=l),jE?i.size++:e.size++,"F"!==r&&(i.index[r]=l)),e},s=function(e,t){var o,n=a(e),r=SE(t);if("F"!==r)return n.index[r];for(o=n.first;o;o=o.next)if(o.key===t)return o};return bE(i,{clear:function(){for(var e=a(this),t=e.first;t;)t.removed=!0,t.previous&&(t.previous=t.previous.next=void 0),t=t.next;e.first=e.last=void 0,e.index=hE(null),jE?e.size=0:this.size=0},delete:function(e){var t=this,o=a(t),n=s(t,e);if(n){var r=n.next,i=n.previous;delete o.index[n.index],n.removed=!0,i&&(i.next=r),r&&(r.previous=i),o.first===n&&(o.first=r),o.last===n&&(o.last=i),jE?o.size--:t.size--}return!!n},forEach:function(e){for(var t,o=a(this),n=vE(e,arguments.length>1?arguments[1]:void 0);t=t?t.next:o.first;)for(n(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!s(this,e)}}),bE(i,o?{get:function(e){var t=s(this,e);return t&&t.value},set:function(e,t){return l(this,0===e?0:e,t)}}:{add:function(e){return l(this,e=0===e?0:e,e)}}),jE&&mE(i,"size",{configurable:!0,get:function(){return a(this).size}}),r},setStrong:function(e,t,o){var n=t+" Iterator",r=PE(t),i=PE(n);wE(e,t,(function(e,t){OE(this,{type:n,target:e,state:r(e),kind:t,last:void 0})}),(function(){for(var e=i(this),t=e.kind,o=e.last;o&&o.removed;)o=o.previous;return e.target&&(e.last=o=o?o.next:e.state.first)?xE("keys"===t?o.key:"values"===t?o.value:[o.key,o.value],!1):(e.target=void 0,xE(void 0,!0))}),o?"entries":"values",!o,!0),$E(t)}};fE("Set",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),EE);var DE=o(K.Set);function TE(){}const CE=e=>e;function AE(e,t){for(const o in t)e[o]=t[o];return e}function ME(e){return e()}function LE(){return vP(null)}function IE(e){Eh(e).call(e,ME)}function RE(e){return"function"==typeof e}function FE(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}function NE(e,t,o,n){if(e){const r=zE(e,t,o,n);return e[0](r)}}function zE(e,t,o,n){var r;return e[1]&&n?AE(hy(r=o.ctx).call(r),e[1](n(t))):o.ctx}function BE(e,t,o,n){if(e[2]&&n){const r=e[2](n(o));if(void 0===t.dirty)return r;if("object"==typeof r){const e=[],o=Math.max(t.dirty.length,r.length);for(let n=0;n<o;n+=1)e[n]=t.dirty[n]|r[n];return e}return t.dirty|r}return t.dirty}function qE(e,t,o,n,r,i){if(r){const a=zE(t,o,n,i);e.p(a,r)}}function GE(e){if(e.ctx.length>32){const t=[],o=e.ctx.length/32;for(let e=0;e<o;e++)t[e]=-1;return t}return-1}var YE=So,WE=Date,HE=c(WE.prototype.getTime);YE({target:"Date",stat:!0},{now:function(){return HE(new WE)}});var VE=o(K.Date.now);const UE="undefined"!=typeof window;let ZE=UE?()=>window.performance.now():()=>VE(),QE=UE?e=>requestAnimationFrame(e):TE;const JE=new DE;function XE(e){Eh(JE).call(JE,(t=>{t.c(e)||(JE.delete(t),t.f())})),0!==JE.size&&QE(XE)}function KE(e){let t;return 0===JE.size&&QE(XE),{promise:new lf((o=>{JE.add(t={c:e,f:o})})),abort(){JE.delete(t)}}}fE("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),EE);var eD=function(e,t){return 1===t?function(t,o){return t[e](o)}:function(t,o,n){return t[e](o,n)}},tD=re("Map"),oD={Map:tD,set:eD("set",2),get:eD("get",1),has:eD("has",1),remove:eD("delete",1),proto:tD.prototype},nD=So,rD=Pe,iD=V,aD=Fi,lD=oD.Map,sD=oD.has,cD=oD.get,uD=oD.set,dD=c([].push);nD({target:"Map",stat:!0,forced:!0},{groupBy:function(e,t){iD(e),rD(t);var o=new lD,n=0;return aD(e,(function(e){var r=t(e,n++);sD(o,r)?dD(cD(o,r),e):uD(o,r,[e])})),o}});var fD=o(K.Map),yD=vs,pD=Math.floor,hD=function(e,t){var o=e.length;if(o<8)for(var n,r,i=1;i<o;){for(r=i,n=e[i];r&&t(e[r-1],n)>0;)e[r]=e[--r];r!==i++&&(e[r]=n)}else for(var a=pD(o/2),l=hD(yD(e,0,a),t),s=hD(yD(e,a),t),c=l.length,u=s.length,d=0,f=0;d<c||f<u;)e[d+f]=d<c&&f<u?t(l[d],s[f])<=0?l[d++]:s[f++]:d<c?l[d++]:s[f++];return e},mD=hD,bD=ie.match(/firefox\/(\d+)/i),vD=!!bD&&+bD[1],kD=/MSIE|Trident/.test(ie),gD=ie.match(/AppleWebKit\/(\d+)\./),_D=!!gD&&+gD[1],wD=So,xD=c,$D=Pe,jD=He,SD=No,OD=Nh,PD=yn,ED=n,DD=mD,TD=kh,CD=vD,AD=kD,MD=fe,LD=_D,ID=[],RD=xD(ID.sort),FD=xD(ID.push),ND=ED((function(){ID.sort(void 0)})),zD=ED((function(){ID.sort(null)})),BD=TD("sort"),qD=!ED((function(){if(MD)return MD<70;if(!(CD&&CD>3)){if(AD)return!0;if(LD)return LD<603;var e,t,o,n,r="";for(e=65;e<76;e++){switch(t=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:o=3;break;case 68:case 71:o=4;break;default:o=2}for(n=0;n<47;n++)ID.push({k:t+n,v:o})}for(ID.sort((function(e,t){return t.v-e.v})),n=0;n<ID.length;n++)t=ID[n].k.charAt(0),r.charAt(r.length-1)!==t&&(r+=t);return"DGBEFHACIJK"!==r}}));wD({target:"Array",proto:!0,forced:ND||!zD||!BD||!qD},{sort:function(e){void 0!==e&&$D(e);var t=jD(this);if(qD)return void 0===e?RD(t):RD(t,e);var o,n,r=[],i=SD(t);for(n=0;n<i;n++)n in t&&FD(r,t[n]);for(DD(r,function(e){return function(t,o){return void 0===o?-1:void 0===t?1:void 0!==e?+e(t,o)||0:PD(t)>PD(o)?1:-1}}(e)),o=SD(r),n=0;n<o;)t[n]=r[n++];for(;n<i;)OD(t,n++);return t}});var GD=Uo("Array","sort"),YD=u,WD=GD,HD=Array.prototype,VD=o((function(e){var t=e.sort;return e===HD||YD(HD,e)&&t===HD.sort?WD:t})),UD=Kt,ZD=$i,QD=Vt,JD=T,XD=He,KD=function(e,t,o,n){try{return n?t(UD(o)[0],o[1]):t(o)}catch(t){ZD(e,"throw",t)}},eT=li,tT=cs,oT=No,nT=Hf,rT=gi,iT=yi,aT=Array,lT=function(e){var t=XD(e),o=tT(this),n=arguments.length,r=n>1?arguments[1]:void 0,i=void 0!==r;i&&(r=QD(r,n>2?arguments[2]:void 0));var a,l,s,c,u,d,f=iT(t),y=0;if(!f||this===aT&&eT(f))for(a=oT(t),l=o?new this(a):aT(a);a>y;y++)d=i?r(t[y],y):t[y],nT(l,y,d);else for(u=(c=rT(t,f)).next,l=o?new this:[];!(s=JD(u,c)).done;y++)d=i?KD(c,r,[s.value,y],!0):s.value,nT(l,y,d);return l.length=y,l};So({target:"Array",stat:!0,forced:!Wu((function(e){Array.from(e)}))},{from:lT});var sT=o(K.Array.from),cT=c,uT=pE,dT=ZP.getWeakData,fT=Bl,yT=Kt,pT=Y,hT=X,mT=Fi,bT=Ze,vT=ja.set,kT=ja.getterFor,gT=xp.find,_T=xp.findIndex,wT=cT([].splice),xT=0,$T=function(e){return e.frozen||(e.frozen=new jT)},jT=function(){this.entries=[]},ST=function(e,t){return gT(e.entries,(function(e){return e[0]===t}))};jT.prototype={get:function(e){var t=ST(this,e);if(t)return t[1]},has:function(e){return!!ST(this,e)},set:function(e,t){var o=ST(this,e);o?o[1]=t:this.entries.push([e,t])},delete:function(e){var t=_T(this.entries,(function(t){return t[0]===e}));return~t&&wT(this.entries,t,1),!!~t}};var OT,PT={getConstructor:function(e,t,o,n){var r=e((function(e,r){fT(e,i),vT(e,{type:t,id:xT++,frozen:void 0}),pT(r)||mT(r,e[n],{that:e,AS_ENTRIES:o})})),i=r.prototype,a=kT(t),l=function(e,t,o){var n=a(e),r=dT(yT(t),!0);return!0===r?$T(n).set(t,o):r[n.id]=o,e};return uT(i,{delete:function(e){var t=a(this);if(!hT(e))return!1;var o=dT(e);return!0===o?$T(t).delete(e):o&&bT(o,t.id)&&delete o[t.id]},has:function(e){var t=a(this);if(!hT(e))return!1;var o=dT(e);return!0===o?$T(t).has(e):o&&bT(o,t.id)}}),uT(i,o?{get:function(e){var t=a(this);if(hT(e)){var o=dT(e);return!0===o?$T(t).get(e):o?o[t.id]:void 0}},set:function(e,t){return l(this,e,t)}}:{add:function(e){return l(this,e,!0)}}),r}},ET=AP,DT=f,TT=c,CT=pE,AT=ZP,MT=fE,LT=PT,IT=X,RT=ja.enforce,FT=n,NT=sa,zT=Object,BT=Array.isArray,qT=zT.isExtensible,GT=zT.isFrozen,YT=zT.isSealed,WT=zT.freeze,HT=zT.seal,VT=!DT.ActiveXObject&&"ActiveXObject"in DT,UT=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},ZT=MT("WeakMap",UT,LT),QT=ZT.prototype,JT=TT(QT.set);if(NT)if(VT){OT=LT.getConstructor(UT,"WeakMap",!0),AT.enable();var XT=TT(QT.delete),KT=TT(QT.has),eC=TT(QT.get);CT(QT,{delete:function(e){if(IT(e)&&!qT(e)){var t=RT(this);return t.frozen||(t.frozen=new OT),XT(this,e)||t.frozen.delete(e)}return XT(this,e)},has:function(e){if(IT(e)&&!qT(e)){var t=RT(this);return t.frozen||(t.frozen=new OT),KT(this,e)||t.frozen.has(e)}return KT(this,e)},get:function(e){if(IT(e)&&!qT(e)){var t=RT(this);return t.frozen||(t.frozen=new OT),KT(this,e)?eC(this,e):t.frozen.get(e)}return eC(this,e)},set:function(e,t){if(IT(e)&&!qT(e)){var o=RT(this);o.frozen||(o.frozen=new OT),KT(this,e)?JT(this,e,t):o.frozen.set(e,t)}else JT(this,e,t);return this}})}else ET&&FT((function(){var e=WT([]);return JT(new ZT,e,1),!GT(e)}))&&CT(QT,{set:function(e,t){var o;return BT(e)&&(GT(e)?o=WT:YT(e)&&(o=HT)),JT(this,e,t),o&&o(e),this}});var tC=o(K.WeakMap),oC=f;So({global:!0,forced:oC.globalThis!==oC},{globalThis:oC});var nC=o(f);function rC(e,t){e.appendChild(t)}function iC(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function aC(e){const t=uC("style");return t.textContent="/* empty */",function(e,t){rC(e.head||e,t),t.sheet}(iC(e),t),t.sheet}function lC(e,t,o){e.insertBefore(t,o||null)}function sC(e){e.parentNode&&e.parentNode.removeChild(e)}function cC(e,t){for(let o=0;o<e.length;o+=1)e[o]&&e[o].d(t)}function uC(e){return document.createElement(e)}function dC(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function fC(e){return document.createTextNode(e)}function yC(){return fC(" ")}function pC(){return fC("")}function hC(e,t,o,n){return e.addEventListener(t,o,n),()=>e.removeEventListener(t,o,n)}function mC(e){return function(t){return t.stopPropagation(),e.call(this,t)}}function bC(e,t,o){null==o?e.removeAttribute(t):e.getAttribute(t)!==o&&e.setAttribute(t,o)}function vC(e,t){t=""+t,e.data!==t&&(e.data=t)}function kC(e,t){e.value=null==t?"":t}function gC(e,t,o){for(let o=0;o<e.options.length;o+=1){const n=e.options[o];if(n.__value===t)return void(n.selected=!0)}o&&void 0===t||(e.selectedIndex=-1)}function _C(e,t,o){e.classList.toggle(t,!!o)}function wC(e,t){let{bubbles:o=!1,cancelable:n=!1}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return new CustomEvent(e,{detail:t,bubbles:o,cancelable:n})}"WeakMap"in("undefined"!=typeof window?window:void 0!==nC?nC:global)&&new tC;const xC=new fD;let $C,jC=0;function SC(e,t,o,n,r,i,a){let l=arguments.length>7&&void 0!==arguments[7]?arguments[7]:0;const s=16.666/n;let c="{\n";for(let e=0;e<=1;e+=s){const n=t+(o-t)*i(e);c+=100*e+`%{${a(n,1-n)}}\n`}const u=c+`100% {${a(o,1-o)}}\n}`,d=`__svelte_${function(e){let t=5381,o=e.length;for(;o--;)t=(t<<5)-t^e.charCodeAt(o);return t>>>0}(u)}_${l}`,f=iC(e),{stylesheet:y,rules:p}=xC.get(f)||function(e,t){const o={stylesheet:aC(t),rules:{}};return xC.set(e,o),o}(f,e);p[d]||(p[d]=!0,y.insertRule(`@keyframes ${d} ${u}`,y.cssRules.length));const h=e.style.animation||"";return e.style.animation=`${h?`${h},`:""}${d} ${n}ms linear ${r}ms 1 both`,jC+=1,d}function OC(e,t){const o=(e.style.animation||"").split(", "),n=zm(o).call(o,t?e=>sb(e).call(e,t)<0:e=>-1===sb(e).call(e,"__svelte")),r=o.length-n.length;r&&(e.style.animation=n.join(", "),jC-=r,jC||QE((()=>{jC||(Eh(xC).call(xC,(e=>{const{ownerNode:t}=e.stylesheet;t&&sC(t)})),xC.clear())})))}function PC(e){$C=e}function EC(){const e=function(){if(!$C)throw new Error("Function called outside component initialization");return $C}();return function(t,o){let{cancelable:n=!1}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const r=e.$$.callbacks[t];if(r){var i;const a=wC(t,o,{cancelable:n});return Eh(i=hy(r).call(r)).call(i,(t=>{t.call(e,a)})),!a.defaultPrevented}return!0}}function DC(e,t){const o=e.$$.callbacks[t.type];var n;o&&Eh(n=hy(o).call(o)).call(n,(e=>e.call(this,t)))}const TC=[],CC=[];let AC=[];const MC=[],LC=lf.resolve();let IC=!1;function RC(){IC||(IC=!0,LC.then(GC))}function FC(e){AC.push(e)}function NC(e){MC.push(e)}const zC=new DE;let BC,qC=0;function GC(){if(0!==qC)return;const e=$C;do{try{for(;qC<TC.length;){const e=TC[qC];qC++,PC(e),YC(e.$$)}}catch(e){throw TC.length=0,qC=0,e}for(PC(null),TC.length=0,qC=0;CC.length;)CC.pop()();for(let e=0;e<AC.length;e+=1){const t=AC[e];zC.has(t)||(zC.add(t),t())}AC.length=0}while(TC.length);for(;MC.length;)MC.pop()();IC=!1,zC.clear(),PC(e)}function YC(e){if(null!==e.fragment){var t;e.update(),IE(e.before_update);const o=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,o),Eh(t=e.after_update).call(t,FC)}}function WC(){return BC||(BC=lf.resolve(),BC.then((()=>{BC=null}))),BC}function HC(e,t,o){e.dispatchEvent(wC(`${t?"intro":"outro"}${o}`))}const VC=new DE;let UC;function ZC(){UC={r:0,c:[],p:UC}}function QC(){UC.r||IE(UC.c),UC=UC.p}function JC(e,t){e&&e.i&&(VC.delete(e),e.i(t))}function XC(e,t,o,n){if(e&&e.o){if(VC.has(e))return;VC.add(e),UC.c.push((()=>{VC.delete(e),n&&(o&&e.d(1),n())})),e.o(t)}else n&&n()}const KC={duration:0};function eA(e,t,o,n){let r,i=t(e,o,{direction:"both"}),a=n?0:1,l=null,s=null,c=null;function u(){c&&OC(e,c)}function d(e,t){const o=e.b-a;return t*=Math.abs(o),{a:a,b:e.b,d:o,duration:t,start:e.start,end:e.start+t,group:e.group}}function f(t){const{delay:o=0,duration:n=300,easing:f=CE,tick:y=TE,css:p}=i||KC,h={start:ZE()+o,b:t};t||(h.group=UC,UC.r+=1),"inert"in e&&(t?void 0!==r&&(e.inert=r):(r=e.inert,e.inert=!0)),l||s?s=h:(p&&(u(),c=SC(e,a,t,n,o,f,p)),t&&y(0,1),l=d(h,n),FC((()=>HC(e,t,"start"))),KE((t=>{if(s&&t>s.start&&(l=d(s,n),s=null,HC(e,l.b,"start"),p&&(u(),c=SC(e,a,l.b,l.duration,0,f,i.css))),l)if(t>=l.end)y(a=l.b,1-a),HC(e,l.b,"end"),s||(l.b?u():--l.group.r||IE(l.group.c)),l=null;else if(t>=l.start){const e=t-l.start;a=l.a+l.d*f(e/l.duration),y(a,1-a)}return!(!l&&!s)})))}return{run(e){RE(i)?WC().then((()=>{i=i({direction:e?"in":"out"}),f(e)})):f(e)},end(){u(),l=s=null}}}function tA(e){return void 0!==e?.length?e:sT(e)}function oA(e,t){XC(e,1,1,(()=>{t.delete(e.key)}))}new DE(["allowfullscreen","allowpaymentrequest","async","autofocus","autoplay","checked","controls","default","defer","disabled","formnovalidate","hidden","inert","ismap","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","selected"]);var nA=He,rA=Mo,iA=No,aA=function(e){for(var t=nA(this),o=iA(t),n=arguments.length,r=rA(n>1?arguments[1]:void 0,o),i=n>2?arguments[2]:void 0,a=void 0===i?o:rA(i,o);a>r;)t[r++]=e;return t};So({target:"Array",proto:!0},{fill:aA});var lA=Uo("Array","fill"),sA=u,cA=lA,uA=Array.prototype,dA=o((function(e){var t=e.fill;return e===uA||sA(uA,e)&&t===uA.fill?cA:t}));function fA(e,t,o){const n=e.$$.props[t];void 0!==n&&(e.$$.bound[n]=o,o(e.$$.ctx[n]))}function yA(e){e&&e.c()}function pA(e,t,o){const{fragment:n,after_update:r}=e.$$;n&&n.m(t,o),FC((()=>{var t,o;const n=zm(t=Mm(o=e.$$.on_mount).call(o,ME)).call(t,RE);e.$$.on_destroy?e.$$.on_destroy.push(...n):IE(n),e.$$.on_mount=[]})),Eh(r).call(r,FC)}function hA(e,t){const o=e.$$;null!==o.fragment&&(!function(e){const t=[],o=[];Eh(AC).call(AC,(n=>-1===sb(e).call(e,n)?t.push(n):o.push(n))),Eh(o).call(o,(e=>e())),AC=t}(o.after_update),IE(o.on_destroy),o.fragment&&o.fragment.d(t),o.on_destroy=o.fragment=null,o.ctx=[])}function mA(e,t,o,n,r,i){let a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null,l=arguments.length>7&&void 0!==arguments[7]?arguments[7]:[-1];const s=$C;PC(e);const c=e.$$={fragment:null,ctx:[],props:i,update:TE,not_equal:r,bound:LE(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new fD(t.context||(s?s.$$.context:[])),callbacks:LE(),dirty:l,skip_bound:!1,root:t.target||s.$$.root};a&&a(c.root);let u=!1;if(c.ctx=o?o(e,t.props||{},(function(t,o){const n=!(arguments.length<=2)&&arguments.length-2?arguments.length<=2?void 0:arguments[2]:o;return c.ctx&&r(c.ctx[t],c.ctx[t]=n)&&(!c.skip_bound&&c.bound[t]&&c.bound[t](n),u&&function(e,t){var o;-1===e.$$.dirty[0]&&(TC.push(e),RC(),dA(o=e.$$.dirty).call(o,0)),e.$$.dirty[t/31|0]|=1<<t%31}(e,t)),o})):[],c.update(),u=!0,IE(c.before_update),c.fragment=!!n&&n(c.ctx),t.target){if(t.hydrate){const e=function(e){return sT(e.childNodes)}(t.target);c.fragment&&c.fragment.l(e),Eh(e).call(e,sC)}else c.fragment&&c.fragment.c();t.intro&&JC(e.$$.fragment),pA(e,t.target,t.anchor),GC()}PC(s)}class bA{$$=void 0;$$set=void 0;$destroy(){hA(this,1),this.$destroy=TE}$on(e,t){if(!RE(t))return TE;const o=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return o.push(t),()=>{const e=sb(o).call(o,t);-1!==e&&nm(o).call(o,e,1)}}$set(e){this.$$set&&0!==Gm(e).length&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}function vA(e){const t=e-1;return t*t*t+1}function kA(e){let{delay:t=0,duration:o=400,easing:n=vA,axis:r="y"}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const i=getComputedStyle(e),a=+i.opacity,l="y"===r?"height":"width",s=Of(i[l]),c="y"===r?["top","bottom"]:["left","right"],u=Mm(c).call(c,(e=>`${e[0].toUpperCase()}${hy(e).call(e,1)}`)),d=Of(i[`padding${u[0]}`]),f=Of(i[`padding${u[1]}`]),y=Of(i[`margin${u[0]}`]),p=Of(i[`margin${u[1]}`]),h=Of(i[`border${u[0]}Width`]),m=Of(i[`border${u[1]}Width`]);return{delay:t,duration:o,easing:n,css:e=>`overflow: hidden;opacity: ${Math.min(20*e,1)*a};${l}: ${e*s}px;padding-${c[0]}: ${e*d}px;padding-${c[1]}: ${e*f}px;margin-${c[0]}: ${e*y}px;margin-${c[1]}: ${e*p}px;border-${c[0]}-width: ${e*h}px;border-${c[1]}-width: ${e*m}px;`}}function gA(e){let t,o,n,r,i,a;return{c(){t=uC("div"),o=dC("svg"),n=dC("path"),r=dC("path"),bC(n,"d","M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z"),bC(n,"fill","currentColor"),bC(r,"d","M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z"),bC(r,"fill","currentFill"),bC(o,"aria-hidden","true"),bC(o,"class",i="bookly-inline bookly-text-gray-200 bookly-animate-spin fill-bookly "+(e[1]?"bookly-absolute bookly-inset-0 bookly-h-full bookly-w-full":"bookly-w-8 bookly-h-8")),bC(o,"viewBox","0 0 100 101"),bC(o,"fill","none"),bC(o,"xmlns","http://www.w3.org/2000/svg"),bC(t,"class","bookly-flex bookly-flex-col bookly-justify-center bookly-items-center bookly-w-full bookly-loading-mark"),bC(t,"style",a=e[0]?"min-height: "+e[0]+"px;":"min-height: 100%;")},m(e,i){lC(e,t,i),rC(t,o),rC(o,n),rC(o,r)},p(e,n){let[r]=n;2&r&&i!==(i="bookly-inline bookly-text-gray-200 bookly-animate-spin fill-bookly "+(e[1]?"bookly-absolute bookly-inset-0 bookly-h-full bookly-w-full":"bookly-w-8 bookly-h-8"))&&bC(o,"class",i),1&r&&a!==(a=e[0]?"min-height: "+e[0]+"px;":"min-height: 100%;")&&bC(t,"style",a)},i:TE,o:TE,d(e){e&&sC(t)}}}function _A(e,t,o){let{height:n=null}=t,{full_size:r=!1}=t;return e.$$set=e=>{"height"in e&&o(0,n=e.height),"full_size"in e&&o(1,r=e.full_size)},[n,r]}"undefined"!=typeof window&&(window.__svelte||(window.__svelte={v:new DE})).v.add("4");let wA=class extends bA{constructor(e){super(),mA(this,e,_A,gA,FE,{height:0,full_size:1})}};function xA(e){let t,o,n,r,i,a,l,s=e[3]&&jA();const c=e[17].default,u=NE(c,e,e[16],null);return{c(){t=uC("button"),s&&s.c(),o=yC(),n=uC("span"),u&&u.c(),_C(n,"bookly-opacity-0",e[3]),bC(t,"type","button"),bC(t,"title",e[2]),bC(t,"class",r=e[5]+" "+e[6]+" bookly-drop-shadow-none bookly-box-border"),bC(t,"style",e[4]),t.disabled=e[0],_C(t,"pointer-events-none",e[0]),_C(t,"bookly-opacity-50",e[0])},m(r,c){lC(r,t,c),s&&s.m(t,null),rC(t,o),rC(t,n),u&&u.m(n,null),i=!0,a||(l=hC(t,"click",mC(e[20])),a=!0)},p(e,a){e[3]?s?8&a&&JC(s,1):(s=jA(),s.c(),JC(s,1),s.m(t,o)):s&&(ZC(),XC(s,1,1,(()=>{s=null})),QC()),u&&u.p&&(!i||65536&a)&&qE(u,c,e,e[16],i?BE(c,e[16],a,null):GE(e[16]),null),(!i||8&a)&&_C(n,"bookly-opacity-0",e[3]),(!i||4&a)&&bC(t,"title",e[2]),(!i||96&a&&r!==(r=e[5]+" "+e[6]+" bookly-drop-shadow-none bookly-box-border"))&&bC(t,"class",r),(!i||16&a)&&bC(t,"style",e[4]),(!i||1&a)&&(t.disabled=e[0]),(!i||97&a)&&_C(t,"pointer-events-none",e[0]),(!i||97&a)&&_C(t,"bookly-opacity-50",e[0])},i(e){i||(JC(s),JC(u,e),i=!0)},o(e){XC(s),XC(u,e),i=!1},d(e){e&&sC(t),s&&s.d(),u&&u.d(e),a=!1,l()}}}function $A(e){let t,o,n,r;const i=[OA,SA],a=[];function l(e,t){return e[0]?1:0}return t=l(e),o=a[t]=i[t](e),{c(){o.c(),n=pC()},m(e,o){a[t].m(e,o),lC(e,n,o),r=!0},p(e,r){let s=t;t=l(e),t===s?a[t].p(e,r):(ZC(),XC(a[s],1,1,(()=>{a[s]=null})),QC(),o=a[t],o?o.p(e,r):(o=a[t]=i[t](e),o.c()),JC(o,1),o.m(n.parentNode,n))},i(e){r||(JC(o),r=!0)},o(e){XC(o),r=!1},d(e){e&&sC(n),a[t].d(e)}}}function jA(e){let t,o,n;return o=new wA({props:{full_size:!0}}),{c(){t=uC("span"),yA(o.$$.fragment),bC(t,"class","bookly-absolute bookly-inset-1")},m(e,r){lC(e,t,r),pA(o,t,null),n=!0},i(e){n||(JC(o.$$.fragment,e),n=!0)},o(e){XC(o.$$.fragment,e),n=!1},d(e){e&&sC(t),hA(o)}}}function SA(e){let t,o,n,r,i,a=e[3]&&PA();const l=e[17].default,s=NE(l,e,e[16],null);return{c(){t=uC("div"),a&&a.c(),o=yC(),n=uC("span"),s&&s.c(),_C(n,"bookly-opacity-0",e[3]),bC(t,"title",e[2]),bC(t,"class",r=e[5]+" "+e[6]+" bookly-drop-shadow-none bookly-box-border bookly-text-center bookly-flex bookly-items-center bookly-justify-center pointer-events-none bookly-opacity-50 bookly-pointer-events-none"),bC(t,"style",e[4]),bC(t,"disabled",e[0])},m(e,r){lC(e,t,r),a&&a.m(t,null),rC(t,o),rC(t,n),s&&s.m(n,null),i=!0},p(e,c){e[3]?a?8&c&&JC(a,1):(a=PA(),a.c(),JC(a,1),a.m(t,o)):a&&(ZC(),XC(a,1,1,(()=>{a=null})),QC()),s&&s.p&&(!i||65536&c)&&qE(s,l,e,e[16],i?BE(l,e[16],c,null):GE(e[16]),null),(!i||8&c)&&_C(n,"bookly-opacity-0",e[3]),(!i||4&c)&&bC(t,"title",e[2]),(!i||96&c&&r!==(r=e[5]+" "+e[6]+" bookly-drop-shadow-none bookly-box-border bookly-text-center bookly-flex bookly-items-center bookly-justify-center pointer-events-none bookly-opacity-50 bookly-pointer-events-none"))&&bC(t,"class",r),(!i||16&c)&&bC(t,"style",e[4]),(!i||1&c)&&bC(t,"disabled",e[0])},i(e){i||(JC(a),JC(s,e),i=!0)},o(e){XC(a),XC(s,e),i=!1},d(e){e&&sC(t),a&&a.d(),s&&s.d(e)}}}function OA(e){let t,o,n,r,i,a,l,s=e[3]&&EA();const c=e[17].default,u=NE(c,e,e[16],null);return{c(){t=uC("div"),s&&s.c(),o=yC(),n=uC("span"),u&&u.c(),_C(n,"bookly-opacity-0",e[3]),bC(t,"title",e[2]),bC(t,"class",r=e[5]+" "+e[6]+" bookly-drop-shadow-none bookly-box-border bookly-text-center bookly-flex bookly-items-center bookly-justify-center"),bC(t,"style",e[4]),bC(t,"disabled",e[0]),bC(t,"role","button"),bC(t,"tabindex","0")},m(r,c){lC(r,t,c),s&&s.m(t,null),rC(t,o),rC(t,n),u&&u.m(n,null),i=!0,a||(l=[hC(t,"click",mC(e[18])),hC(t,"keypress",mC(e[19]))],a=!0)},p(e,a){e[3]?s?8&a&&JC(s,1):(s=EA(),s.c(),JC(s,1),s.m(t,o)):s&&(ZC(),XC(s,1,1,(()=>{s=null})),QC()),u&&u.p&&(!i||65536&a)&&qE(u,c,e,e[16],i?BE(c,e[16],a,null):GE(e[16]),null),(!i||8&a)&&_C(n,"bookly-opacity-0",e[3]),(!i||4&a)&&bC(t,"title",e[2]),(!i||96&a&&r!==(r=e[5]+" "+e[6]+" bookly-drop-shadow-none bookly-box-border bookly-text-center bookly-flex bookly-items-center bookly-justify-center"))&&bC(t,"class",r),(!i||16&a)&&bC(t,"style",e[4]),(!i||1&a)&&bC(t,"disabled",e[0])},i(e){i||(JC(s),JC(u,e),i=!0)},o(e){XC(s),XC(u,e),i=!1},d(e){e&&sC(t),s&&s.d(),u&&u.d(e),a=!1,IE(l)}}}function PA(e){let t,o,n;return o=new wA({props:{full_size:!0}}),{c(){t=uC("span"),yA(o.$$.fragment),bC(t,"class","bookly-absolute bookly-inset-1")},m(e,r){lC(e,t,r),pA(o,t,null),n=!0},i(e){n||(JC(o.$$.fragment,e),n=!0)},o(e){XC(o.$$.fragment,e),n=!1},d(e){e&&sC(t),hA(o)}}}function EA(e){let t,o,n;return o=new wA({props:{full_size:!0}}),{c(){t=uC("span"),yA(o.$$.fragment),bC(t,"class","bookly-absolute bookly-inset-1")},m(e,r){lC(e,t,r),pA(o,t,null),n=!0},i(e){n||(JC(o.$$.fragment,e),n=!0)},o(e){XC(o.$$.fragment,e),n=!1},d(e){e&&sC(t),hA(o)}}}function DA(e){let t,o,n,r;const i=[$A,xA],a=[];function l(e,t){return"div"===e[1]?0:1}return t=l(e),o=a[t]=i[t](e),{c(){o.c(),n=pC()},m(e,o){a[t].m(e,o),lC(e,n,o),r=!0},p(e,r){let[s]=r,c=t;t=l(e),t===c?a[t].p(e,s):(ZC(),XC(a[c],1,1,(()=>{a[c]=null})),QC(),o=a[t],o?o.p(e,s):(o=a[t]=i[t](e),o.c()),JC(o,1),o.m(n.parentNode,n))},i(e){r||(JC(o),r=!0)},o(e){XC(o),r=!1},d(e){e&&sC(n),a[t].d(e)}}}function TA(e,t,o){let n,r,{$$slots:i={},$$scope:a}=t,{disabled:l=!1}=t,{type:s="default"}=t,{container:c="button"}=t,{title:u=""}=t,{rounded:d=!0}=t,{bordered:f=!0}=t,{paddings:y=!0}=t,{margins:p=!0}=t,{shadows:h=!0}=t,{loading:m=!1}=t,{color:b=!1}=t,{size:v="normal"}=t,{styles:k=""}=t,{class:g=""}=t;return e.$$set=e=>{"disabled"in e&&o(0,l=e.disabled),"type"in e&&o(13,s=e.type),"container"in e&&o(1,c=e.container),"title"in e&&o(2,u=e.title),"rounded"in e&&o(7,d=e.rounded),"bordered"in e&&o(8,f=e.bordered),"paddings"in e&&o(9,y=e.paddings),"margins"in e&&o(10,p=e.margins),"shadows"in e&&o(11,h=e.shadows),"loading"in e&&o(3,m=e.loading),"color"in e&&o(14,b=e.color),"size"in e&&o(12,v=e.size),"styles"in e&&o(4,k=e.styles),"class"in e&&o(5,g=e.class),"$$scope"in e&&o(16,a=e.$$scope)},e.$$.update=()=>{if(65481&e.$$.dirty){switch(s){case"secondary":o(6,r="bookly-text-slate-600 bookly-bg-white bookly-border-slate-600"),o(15,n="hover:bookly-text-slate-50 hover:bookly-bg-slate-400 hover:bookly-border-slate-400");break;case"white":o(6,r="bookly-text-slate-600 bookly-bg-white bookly-border-slate-600"),o(15,n="hover:bookly-text-slate-50 hover:bookly-bg-gray-400 hover:bookly-border-gray-400");break;case"transparent":o(6,r=(b||"bookly-text-slate-600")+" bookly-bg-transparent bookly-border-slate-600"),o(15,n="hover:bookly-text-slate-50 hover:bookly-bg-gray-400 hover:bookly-border-gray-400");break;case"bookly":o(6,r="text-bookly bookly-bg-white border-bookly"),o(15,n="hover:bookly-text-white hover:bg-bookly hover:bookly-opacity-80 hover:border-bookly");break;case"bookly-active":o(6,r="bg-bookly bookly-text-white border-bookly"),o(15,n="hover:bookly-text-slate-100 hover:bg-bookly hover:border-bookly");break;case"bookly-gray":o(6,r="text-bookly bookly-bg-gray-200 border-bookly"),o(15,n="hover:bookly-text-white hover:bg-bookly hover:border-bookly");break;case"link":o(6,r="bookly-border-none bookly-rounded-none bookly-p-0 "+(l?"bookly-text-gray-600":"text-bookly")),o(15,n="hover:bookly-text-gray-600"),o(7,d=!1),o(8,f=!1),o(9,y=!1),o(10,p=!1),o(11,h=!1),o(12,v="link");break;case"calendar":o(6,r=""),o(15,n="hover:bookly-opacity-80"),o(7,d=!1),o(8,f=!1),o(9,y=!1),o(10,p=!1),o(11,h=!1);break;case"calendar-normal":o(6,r="text-bookly border-bookly bookly-rounded-none bookly-m-0 "+(l?"bookly-bg-slate-50 hover:text-bookly":"bookly-bg-white")),o(15,n="hover:bg-bookly hover:border-bookly "+(l?"hover:text-bookly":"hover:bookly-text-white")),o(7,d=!1),o(8,f=!1),o(9,y=!1),o(10,p=!1),o(11,h=!1);break;case"calendar-active":o(6,r="bg-bookly bookly-text-white border-bookly bookly-rounded-none bookly-m-0"),o(15,n="hover:bookly-text-slate-200"),o(7,d=!1),o(8,f=!1),o(9,y=!1),o(10,p=!1),o(11,h=!1);break;case"calendar-inactive":o(6,r="bookly-text-gray-400 border-bookly bookly-rounded-none bookly-m-0 "+(l?"bookly-bg-slate-50":"bookly-bg-white")),o(15,n="hover:bookly-text-white hover:bookly-bg-gray-400 hover:border-bookly"),o(7,d=!1),o(8,f=!1),o(9,y=!1),o(10,p=!1),o(11,h=!1);break;default:o(6,r="bookly-text-black bookly-bg-gray-100 bookly-border-gray"),o(15,n="hover:bookly-text-slate-50 hover:bookly-bg-gray-400")}if(h||o(6,r+=" bookly-shadow-none"),l||m||!h||o(6,r+=" active:bookly-shadow-md"),l||m||o(6,r+=" "+n),d&&o(6,r+=" bookly-rounded"),f&&o(6,r+=" bookly-border bookly-border-solid"),y)if("lg"===v)o(6,r+=" bookly-px-5 bookly-py-0");else o(6,r+=" bookly-px-4 bookly-py-0");switch(p&&o(6,r+=" bookly-ms-2 bookly-my-0 bookly-me-0"),v){case"link":case"custom":break;case"lg":o(6,r+=" bookly-text-xl bookly-h-14");break;default:o(6,r+=" bookly-text-lg bookly-h-10")}p&&o(6,r+=" bookly-relative")}},[l,c,u,m,k,g,r,d,f,y,p,h,v,s,b,n,a,i,function(t){DC.call(this,e,t)},function(t){DC.call(this,e,t)},function(t){DC.call(this,e,t)}]}class CA extends bA{constructor(e){super(),mA(this,e,TA,DA,FE,{disabled:0,type:13,container:1,title:2,rounded:7,bordered:8,paddings:9,margins:10,shadows:11,loading:3,color:14,size:12,styles:4,class:5})}}function AA(e,t,o){const n=tw(e).call(e);n[45]=t[o],n[59]=o;const r=n[1]+n[59]-4;n[57]=r;const i=new Date(n[57],12,0);n[53]=i;const a=n[0]&&(n[0].hasOwnProperty("start")&&n[0].start.getFullYear()>n[53].getFullYear()||n[0].hasOwnProperty("end")&&n[0].end.getFullYear()<n[53].getFullYear());return n[49]=a,n}function MA(e,t,o){const n=tw(e).call(e);n[45]=t[o],n[56]=o;const r=new Date(n[1],n[56]+1,0);n[53]=r;const i=new Date(n[1],n[56],1);n[54]=i;const a=n[0]&&(n[0].hasOwnProperty("start")&&n[0].start>n[53]||n[0].hasOwnProperty("end")&&n[0].end<n[54]);return n[49]=a,n}function LA(e,t,o){const n=tw(e).call(e);return n[45]=t[o],n[47]=o,n}function IA(e,t,o){const n=tw(e).call(e);n[45]=t[o],n[51]=o;const r=n[9][7*n[47]+n[51]];n[48]=r;const i=n[48].disabled;return n[49]=i,n}function RA(e,t,o){const n=tw(e).call(e);return n[45]=t[o],n[47]=o,n}function FA(e){let t,o,n,r,i,a,l,s,c,u,d,f,y,p,h,m,b,v=e[3]&&NA();i=new CA({props:{class:"bookly-grow-0 bookly-border-none focus:bookly-border-none focus:bookly-outline-none bookly-leading-normal bookly-calendar-left-button-mark bookly-m-0 bookly-px-4 bookly-text-xl bookly-shadow-none "+e[18],type:"calendar",bordered:!1,rounded:!1,margins:!1,disabled:e[3]||e[0]&&e[0].hasOwnProperty("start")&&e[2]<=e[0].start.getMonth()&&e[1]===e[0].start.getFullYear(),container:"div",$$slots:{default:[zA]},$$scope:{ctx:e}}}),i.$on("click",e[22]),i.$on("keypress",e[22]),l=new CA({props:{class:"bookly-grow bookly-border-none focus:bookly-border-none focus:bookly-outline-none bookly-leading-normal bookly-calendar-middle-button-mark bookly-m-0 bookly-text-lg bookly-shadow-none "+e[18],type:"calendar",bordered:!1,rounded:!1,margins:!1,container:"div",$$slots:{default:[BA]},$$scope:{ctx:e}}}),l.$on("click",e[21]),l.$on("keypress",e[21]),c=new CA({props:{class:"bookly-grow-0 bookly-border-none focus:bookly-border-none focus:bookly-outline-none bookly-leading-normal bookly-calendar-right-button-mark bookly-m-0 bookly-px-4 bookly-text-xl bookly-shadow-none "+e[18],type:"calendar",bordered:!1,rounded:!1,margins:!1,disabled:e[3]||e[0]&&e[0].hasOwnProperty("end")&&e[2]>=e[0].end.getMonth()&&e[1]===e[0].end.getFullYear(),container:"div",$$slots:{default:[qA]},$$scope:{ctx:e}}}),c.$on("click",e[23]),c.$on("keypress",e[23]);const k=[WA,YA,GA],g=[];function _(e,t){return"calendar"===e[8]?0:"month"===e[8]?1:2}return y=_(e),p=g[y]=k[y](e),{c(){t=uC("div"),v&&v.c(),o=yC(),n=uC("div"),r=uC("div"),yA(i.$$.fragment),a=yC(),yA(l.$$.fragment),s=yC(),yA(c.$$.fragment),d=yC(),f=uC("div"),p.c(),bC(r,"class","bookly-flex bookly-text-gray-400"),bC(r,"role","group"),bC(n,"class",u="bookly-w-full bookly-border-b "+e[13]+" bookly-mb-0.5 bookly-pb-0.5 bookly-calendar-controls-mark svelte-trnmqx"),bC(f,"class","bookly-w-full"),bC(t,"class",h="bookly-w-full bookly-min-h-full bookly-p-0.5 bookly-relative "+e[11]+" "+e[13]+" bookly-rounded "+(e[6]?"bookly-border bookly-p-0.5 bookly-rounded":"")+" svelte-trnmqx")},m(u,p){lC(u,t,p),v&&v.m(t,null),rC(t,o),rC(t,n),rC(n,r),pA(i,r,null),rC(r,a),pA(l,r,null),rC(r,s),pA(c,r,null),rC(t,d),rC(t,f),g[y].m(f,null),e[42](t),b=!0},p(e,r){e[3]?v?8&r[0]&&JC(v,1):(v=NA(),v.c(),JC(v,1),v.m(t,o)):v&&(ZC(),XC(v,1,1,(()=>{v=null})),QC());const a={};262144&r[0]&&(a.class="bookly-grow-0 bookly-border-none focus:bookly-border-none focus:bookly-outline-none bookly-leading-normal bookly-calendar-left-button-mark bookly-m-0 bookly-px-4 bookly-text-xl bookly-shadow-none "+e[18]),15&r[0]&&(a.disabled=e[3]||e[0]&&e[0].hasOwnProperty("start")&&e[2]<=e[0].start.getMonth()&&e[1]===e[0].start.getFullYear()),1024&r[0]|536870912&r[1]&&(a.$$scope={dirty:r,ctx:e}),i.$set(a);const s={};262144&r[0]&&(s.class="bookly-grow bookly-border-none focus:bookly-border-none focus:bookly-outline-none bookly-leading-normal bookly-calendar-middle-button-mark bookly-m-0 bookly-text-lg bookly-shadow-none "+e[18]),524288&r[0]|536870912&r[1]&&(s.$$scope={dirty:r,ctx:e}),l.$set(s);const d={};262144&r[0]&&(d.class="bookly-grow-0 bookly-border-none focus:bookly-border-none focus:bookly-outline-none bookly-leading-normal bookly-calendar-right-button-mark bookly-m-0 bookly-px-4 bookly-text-xl bookly-shadow-none "+e[18]),15&r[0]&&(d.disabled=e[3]||e[0]&&e[0].hasOwnProperty("end")&&e[2]>=e[0].end.getMonth()&&e[1]===e[0].end.getFullYear()),1024&r[0]|536870912&r[1]&&(d.$$scope={dirty:r,ctx:e}),c.$set(d),(!b||8192&r[0]&&u!==(u="bookly-w-full bookly-border-b "+e[13]+" bookly-mb-0.5 bookly-pb-0.5 bookly-calendar-controls-mark svelte-trnmqx"))&&bC(n,"class",u);let m=y;y=_(e),y===m?g[y].p(e,r):(ZC(),XC(g[m],1,1,(()=>{g[m]=null})),QC(),p=g[y],p?p.p(e,r):(p=g[y]=k[y](e),p.c()),JC(p,1),p.m(f,null)),(!b||10304&r[0]&&h!==(h="bookly-w-full bookly-min-h-full bookly-p-0.5 bookly-relative "+e[11]+" "+e[13]+" bookly-rounded "+(e[6]?"bookly-border bookly-p-0.5 bookly-rounded":"")+" svelte-trnmqx"))&&bC(t,"class",h)},i(e){b||(JC(v),JC(i.$$.fragment,e),JC(l.$$.fragment,e),JC(c.$$.fragment,e),JC(p),e&&(m||FC((()=>{m=function(e,t,o){const n={direction:"in"};let r,i,a=t(e,o,n),l=!1,s=0;function c(){r&&OC(e,r)}function u(){const{delay:t=0,duration:o=300,easing:n=CE,tick:u=TE,css:d}=a||KC;d&&(r=SC(e,0,1,o,t,n,d,s++)),u(0,1);const f=ZE()+t,y=f+o;i&&i.abort(),l=!0,FC((()=>HC(e,!0,"start"))),i=KE((t=>{if(l){if(t>=y)return u(1,0),HC(e,!0,"end"),c(),l=!1;if(t>=f){const e=n((t-f)/o);u(e,1-e)}}return l}))}let d=!1;return{start(){d||(d=!0,OC(e),RE(a)?(a=a(n),WC().then(u)):u())},invalidate(){d=!1},end(){l&&(c(),l=!1)}}}(t,kA,{duration:200}),m.start()}))),b=!0)},o(e){XC(v),XC(i.$$.fragment,e),XC(l.$$.fragment,e),XC(c.$$.fragment,e),XC(p),b=!1},d(o){o&&sC(t),v&&v.d(),hA(i),hA(l),hA(c),g[y].d(),e[42](null)}}}function NA(e){let t,o,n;return o=new wA({}),{c(){t=uC("div"),yA(o.$$.fragment),bC(t,"class","bookly-calendar-overlay svelte-trnmqx")},m(e,r){lC(e,t,r),pA(o,t,null),n=!0},i(e){n||(JC(o.$$.fragment,e),n=!0)},o(e){XC(o.$$.fragment,e),n=!1},d(e){e&&sC(t),hA(o)}}}function zA(e){let t;return{c(){t=uC("i"),bC(t,"class","bi"),_C(t,"bi-chevron-left",!e[10]),_C(t,"bi-chevron-right",e[10])},m(e,o){lC(e,t,o)},p(e,o){1024&o[0]&&_C(t,"bi-chevron-left",!e[10]),1024&o[0]&&_C(t,"bi-chevron-right",e[10])},d(e){e&&sC(t)}}}function BA(e){let t;return{c(){t=fC(e[19])},m(e,o){lC(e,t,o)},p(e,o){524288&o[0]&&vC(t,e[19])},d(e){e&&sC(t)}}}function qA(e){let t;return{c(){t=uC("i"),bC(t,"class","bi"),_C(t,"bi-chevron-left",e[10]),_C(t,"bi-chevron-right",!e[10])},m(e,o){lC(e,t,o)},p(e,o){1024&o[0]&&_C(t,"bi-chevron-left",e[10]),1024&o[0]&&_C(t,"bi-chevron-right",!e[10])},d(e){e&&sC(t)}}}function GA(e){let t,o,n,r=tA({length:9}),i=[];for(let t=0;t<r.length;t+=1)i[t]=VA(AA(e,r,t));const a=e=>XC(i[e],1,1,(()=>{i[e]=null}));return{c(){t=uC("div");for(let e=0;e<i.length;e+=1)i[e].c();bC(t,"class","bookly-w-full bookly-text-center bookly-grid bookly-grid-cols-3 bookly-calendar-years-mark")},m(e,o){lC(e,t,o);for(let e=0;e<i.length;e+=1)i[e]&&i[e].m(t,null);n=!0},p(e,o){if(82179&o[0]){let n;for(r=tA({length:9}),n=0;n<r.length;n+=1){const a=AA(e,r,n);i[n]?(i[n].p(a,o),JC(i[n],1)):(i[n]=VA(a),i[n].c(),JC(i[n],1),i[n].m(t,null))}for(ZC(),n=r.length;n<i.length;n+=1)a(n);QC()}},i(e){if(!n){for(let e=0;e<r.length;e+=1)JC(i[e]);e&&FC((()=>{n&&(o||(o=eA(t,kA,{},!0)),o.run(1))})),n=!0}},o(e){i=_w(i).call(i,Boolean);for(let e=0;e<i.length;e+=1)XC(i[e]);e&&(o||(o=eA(t,kA,{},!1)),o.run(0)),n=!1},d(e){e&&sC(t),cC(i,e),e&&o&&o.end()}}}function YA(e){let t,o,n,r=tA({length:12}),i=[];for(let t=0;t<r.length;t+=1)i[t]=ZA(MA(e,r,t));const a=e=>XC(i[e],1,1,(()=>{i[e]=null}));return{c(){t=uC("div");for(let e=0;e<i.length;e+=1)i[e].c();bC(t,"class","bookly-w-full bookly-text-center bookly-grid bookly-grid-cols-4 bookly-calendar-months-mark")},m(e,o){lC(e,t,o);for(let e=0;e<i.length;e+=1)i[e]&&i[e].m(t,null);n=!0},p(e,o){if(1130775&o[0]){let n;for(r=tA({length:12}),n=0;n<r.length;n+=1){const a=MA(e,r,n);i[n]?(i[n].p(a,o),JC(i[n],1)):(i[n]=ZA(a),i[n].c(),JC(i[n],1),i[n].m(t,null))}for(ZC(),n=r.length;n<i.length;n+=1)a(n);QC()}},i(e){if(!n){for(let e=0;e<r.length;e+=1)JC(i[e]);e&&FC((()=>{n&&(o||(o=eA(t,kA,{},!0)),o.run(1))})),n=!0}},o(e){i=_w(i).call(i,Boolean);for(let e=0;e<i.length;e+=1)XC(i[e]);e&&(o||(o=eA(t,kA,{},!1)),o.run(0)),n=!1},d(e){e&&sC(t),cC(i,e),e&&o&&o.end()}}}function WA(e){let t,o,n,r,i,a,l,s=tA({length:7}),c=[];for(let t=0;t<s.length;t+=1)c[t]=QA(RA(e,s,t));let u=tA({length:Hw(e[9].length/7)}),d=[];for(let t=0;t<u.length;t+=1)d[t]=KA(LA(e,u,t));const f=e=>XC(d[e],1,1,(()=>{d[e]=null}));return{c(){t=uC("div"),o=uC("div");for(let e=0;e<c.length;e+=1)c[e].c();r=yC(),i=uC("div");for(let e=0;e<d.length;e+=1)d[e].c();bC(o,"class",n="bookly-flex bookly-flex-row fw-bold bookly-text-center bookly-text-muted bookly-w-full bookly-border-b "+e[13]+" bookly-mb-0.5 bookly-py-2 bookly-max-w-full svelte-trnmqx"),bC(i,"class","bookly-relative bookly-rounded"),bC(t,"class","bookly-w-full bookly-calendar-dates-mark")},m(e,n){lC(e,t,n),rC(t,o);for(let e=0;e<c.length;e+=1)c[e]&&c[e].m(o,null);rC(t,r),rC(t,i);for(let e=0;e<d.length;e+=1)d[e]&&d[e].m(i,null);l=!0},p(e,t){if(4112&t[0]){let n;for(s=tA({length:7}),n=0;n<s.length;n+=1){const r=RA(e,s,n);c[n]?c[n].p(r,t):(c[n]=QA(r),c[n].c(),c[n].m(o,null))}for(;n<c.length;n+=1)c[n].d(1);c.length=s.length}if((!l||8192&t[0]&&n!==(n="bookly-flex bookly-flex-row fw-bold bookly-text-center bookly-text-muted bookly-w-full bookly-border-b "+e[13]+" bookly-mb-0.5 bookly-py-2 bookly-max-w-full svelte-trnmqx"))&&bC(o,"class",n),17023488&t[0]){let o;for(u=tA({length:Hw(e[9].length/7)}),o=0;o<u.length;o+=1){const n=LA(e,u,o);d[o]?(d[o].p(n,t),JC(d[o],1)):(d[o]=KA(n),d[o].c(),JC(d[o],1),d[o].m(i,null))}for(ZC(),o=u.length;o<d.length;o+=1)f(o);QC()}},i(e){if(!l){for(let e=0;e<u.length;e+=1)JC(d[e]);e&&FC((()=>{l&&(a||(a=eA(t,kA,{},!0)),a.run(1))})),l=!0}},o(e){d=_w(d).call(d,Boolean);for(let e=0;e<d.length;e+=1)XC(d[e]);e&&(a||(a=eA(t,kA,{},!1)),a.run(0)),l=!1},d(e){e&&sC(t),cC(c,e),cC(d,e),e&&a&&a.end()}}}function HA(e){let t,o=e[57]+"";return{c(){t=fC(o)},m(e,o){lC(e,t,o)},p(e,n){2&n[0]&&o!==(o=e[57]+"")&&vC(t,o)},d(e){e&&sC(t)}}}function VA(e){let t,o,n,r;return o=new CA({props:{type:"calendar",bordered:!1,rounded:!1,paddings:!1,margins:!1,class:"bookly-border-none focus:bookly-border-none focus:bookly-outline-none bookly-leading-normal bookly-px-2 bookly-py-0 bookly-m-0 bookly-text-xl bookly-h-16 "+(e[49]?e[16]:"")+" "+e[14],disabled:e[49],container:"div",size:"custom",$$slots:{default:[HA]},$$scope:{ctx:e}}}),o.$on("click",(function(){return e[40](e[57])})),o.$on("keypress",(function(){return e[41](e[57])})),{c(){t=uC("div"),yA(o.$$.fragment),n=yC(),bC(t,"class","col-4")},m(e,i){lC(e,t,i),pA(o,t,null),rC(t,n),r=!0},p(t,n){e=t;const r={};81923&n[0]&&(r.class="bookly-border-none focus:bookly-border-none focus:bookly-outline-none bookly-leading-normal bookly-px-2 bookly-py-0 bookly-m-0 bookly-text-xl bookly-h-16 "+(e[49]?e[16]:"")+" "+e[14]),3&n[0]&&(r.disabled=e[49]),2&n[0]|536870912&n[1]&&(r.$$scope={dirty:n,ctx:e}),o.$set(r)},i(e){r||(JC(o.$$.fragment,e),r=!0)},o(e){XC(o.$$.fragment,e),r=!1},d(e){e&&sC(t),hA(o)}}}function UA(e){let t,o=e[4].monthNamesShort[e[56]]+"";return{c(){t=fC(o)},m(e,o){lC(e,t,o)},p(e,n){16&n[0]&&o!==(o=e[4].monthNamesShort[e[56]]+"")&&vC(t,o)},d(e){e&&sC(t)}}}function ZA(e){let t,o,n,r;return o=new CA({props:{type:"calendar",class:"bookly-border-none focus:bookly-border-none focus:bookly-outline-none bookly-leading-normal bookly-px-2 bookly-py-0 bookly-m-0 bookly-text-xl bookly-h-16 "+(e[49]?e[16]:"")+" "+e[14],bordered:!1,rounded:!1,margins:!1,paddings:!1,disabled:e[49],container:"div",size:"custom",$$slots:{default:[UA]},$$scope:{ctx:e}}}),o.$on("click",(function(){return e[38](e[56])})),o.$on("keypress",(function(){return e[39](e[56])})),{c(){t=uC("div"),yA(o.$$.fragment),n=yC()},m(e,i){lC(e,t,i),pA(o,t,null),rC(t,n),r=!0},p(t,n){e=t;const r={};81923&n[0]&&(r.class="bookly-border-none focus:bookly-border-none focus:bookly-outline-none bookly-leading-normal bookly-px-2 bookly-py-0 bookly-m-0 bookly-text-xl bookly-h-16 "+(e[49]?e[16]:"")+" "+e[14]),3&n[0]&&(r.disabled=e[49]),16&n[0]|536870912&n[1]&&(r.$$scope={dirty:n,ctx:e}),o.$set(r)},i(e){r||(JC(o.$$.fragment,e),r=!0)},o(e){XC(o.$$.fragment,e),r=!1},d(e){e&&sC(t),hA(o)}}}function QA(e){let t,o,n,r=e[4].dayNamesShort[(e[47]+e[4].firstDay)%7]+"";return{c(){t=uC("div"),o=fC(r),bC(t,"class",n="bookly-flex-1 bookly-px-0 bookly-overflow-hidden bookly-text-sm "+e[12]+" bookly-cursor-default svelte-trnmqx")},m(e,n){lC(e,t,n),rC(t,o)},p(e,i){16&i[0]&&r!==(r=e[4].dayNamesShort[(e[47]+e[4].firstDay)%7]+"")&&vC(o,r),4096&i[0]&&n!==(n="bookly-flex-1 bookly-px-0 bookly-overflow-hidden bookly-text-sm "+e[12]+" bookly-cursor-default svelte-trnmqx")&&bC(t,"class",n)},d(e){e&&sC(t)}}}function JA(e){let t,o=e[48].title+"";return{c(){t=fC(o)},m(e,o){lC(e,t,o)},p(e,n){512&n[0]&&o!==(o=e[48].title+"")&&vC(t,o)},d(e){e&&sC(t)}}}function XA(e){let t,o;return t=new CA({props:{type:"calendar",class:"bookly-text-sm bookly-h-10 bookly-leading-4 bookly-shadow-none bookly-flex-1 bookly-py-2 bookly-px-0 bookly-border-none focus:bookly-border-none focus:bookly-outline-none "+(e[49]?e[16]:"")+" "+(e[48].active?e[15]:e[48].current?e[14]:e[17])+" "+(e[48].current?"bookly-calendar-current-month-mark":""),bordered:!1,margins:!1,disabled:e[49],container:"div",size:"custom",$$slots:{default:[JA]},$$scope:{ctx:e}}}),t.$on("click",(function(){return e[36](e[49],e[48])})),t.$on("keypress",(function(){return e[37](e[49],e[48])})),{c(){yA(t.$$.fragment)},m(e,n){pA(t,e,n),o=!0},p(o,n){e=o;const r={};246272&n[0]&&(r.class="bookly-text-sm bookly-h-10 bookly-leading-4 bookly-shadow-none bookly-flex-1 bookly-py-2 bookly-px-0 bookly-border-none focus:bookly-border-none focus:bookly-outline-none "+(e[49]?e[16]:"")+" "+(e[48].active?e[15]:e[48].current?e[14]:e[17])+" "+(e[48].current?"bookly-calendar-current-month-mark":"")),512&n[0]&&(r.disabled=e[49]),512&n[0]|536870912&n[1]&&(r.$$scope={dirty:n,ctx:e}),t.$set(r)},i(e){o||(JC(t.$$.fragment,e),o=!0)},o(e){XC(t.$$.fragment,e),o=!1},d(e){hA(t,e)}}}function KA(e){let t,o,n,r=tA({length:7}),i=[];for(let t=0;t<r.length;t+=1)i[t]=XA(IA(e,r,t));const a=e=>XC(i[e],1,1,(()=>{i[e]=null}));return{c(){t=uC("div");for(let e=0;e<i.length;e+=1)i[e].c();o=yC(),bC(t,"class","bookly-flex bookly-w-full")},m(e,r){lC(e,t,r);for(let e=0;e<i.length;e+=1)i[e]&&i[e].m(t,null);rC(t,o),n=!0},p(e,n){if(17023488&n[0]){let l;for(r=tA({length:7}),l=0;l<r.length;l+=1){const a=IA(e,r,l);i[l]?(i[l].p(a,n),JC(i[l],1)):(i[l]=XA(a),i[l].c(),JC(i[l],1),i[l].m(t,o))}for(ZC(),l=r.length;l<i.length;l+=1)a(l);QC()}},i(e){if(!n){for(let e=0;e<r.length;e+=1)JC(i[e]);n=!0}},o(e){i=_w(i).call(i,Boolean);for(let e=0;e<i.length;e+=1)XC(i[e]);n=!1},d(e){e&&sC(t),cC(i,e)}}}function eM(e){let t,o,n=e[5]&&FA(e);return{c(){n&&n.c(),t=pC()},m(e,r){n&&n.m(e,r),lC(e,t,r),o=!0},p(e,o){e[5]?n?(n.p(e,o),32&o[0]&&JC(n,1)):(n=FA(e),n.c(),JC(n,1),n.m(t.parentNode,t)):n&&(ZC(),XC(n,1,1,(()=>{n=null})),QC())},i(e){o||(JC(n),o=!0)},o(e){XC(n),o=!1},d(e){e&&sC(t),n&&n.d(e)}}}function tM(e){let t=e.getMonth()+1,o=e.getDate();return e.getFullYear()+"-"+(t<10?"0"+t:t)+"-"+(o<10?"0"+o:o)}function oM(e,t,o){const n=EC();let r,i,a,l,s,c,u,d,f,{layout:y="text-accent"}=t,{date:p=null}=t,{startDate:h=null}=t,{holidays:m=[]}=t,{datePicker:b}=t,{maxDays:v=0}=t,{limits:k={}}=t,{disabledWeekDays:g=[]}=t,{loadSchedule:_=!1}=t,w=!1;if("bg-accent"===y)i="bg-bookly",a="bookly-text-white",l="border-bookly",s="bookly-text-white bg-bookly-not-hover hover:bookly-bg-white hover:text-bookly",d="bookly-text-slate-300 bg-bookly-not-hover hover:bookly-bg-white hover:text-bookly",c="bookly-bg-white text-bookly hover:text-bookly",u="",f="bookly-text-white bg-bookly-not-hover hover:bookly-bg-white hover:text-bookly";else i="bookly-bg-white",a="bookly-text-slate-600 hover:bookly-text-slate-600",l="bookly-border-slate-100",s="text-bookly hover:bg-bookly hover:bookly-text-white",d="bookly-text-slate-400 hover:bg-bookly hover:bookly-text-white",c="bookly-text-white bg-bookly",u="bookly-bg-slate-100",f="bookly-text-slate-600 hover:bg-bookly hover:bookly-text-white";v&&(k.end=new Date,k.end.setDate(k.end.getDate()+Hw(v)));let x,$,j="calendar",S=new Date,{year:O=S.getFullYear()}=t,{month:P=S.getMonth()}=t,E="",{loadedMonths:D=[]}=t,{loading:T=!0}=t,{show:C=!0}=t,{border:A=!1}=t;let M=$;function L(e){document.activeElement&&document.activeElement.blur(),o(2,P=e.date.getMonth()),o(1,O=e.date.getFullYear()),o(25,p=tM(e.date)),n("change")}return e.$$set=e=>{"layout"in e&&o(29,y=e.layout),"date"in e&&o(25,p=e.date),"startDate"in e&&o(26,h=e.startDate),"holidays"in e&&o(27,m=e.holidays),"datePicker"in e&&o(4,b=e.datePicker),"maxDays"in e&&o(30,v=e.maxDays),"limits"in e&&o(0,k=e.limits),"disabledWeekDays"in e&&o(31,g=e.disabledWeekDays),"loadSchedule"in e&&o(32,_=e.loadSchedule),"year"in e&&o(1,O=e.year),"month"in e&&o(2,P=e.month),"loadedMonths"in e&&o(28,D=e.loadedMonths),"loading"in e&&o(3,T=e.loading),"show"in e&&o(5,C=e.show),"border"in e&&o(6,A=e.border)},e.$$.update=()=>{if(128&e.$$.dirty[0]&&r&&o(10,w="rtl"===getComputedStyle(r).direction),67108864&e.$$.dirty[0]&&(null===h?o(26,h=new Date):(o(1,O=h.getFullYear()),o(2,P=h.getMonth()))),6&e.$$.dirty[0]&&o(34,$=P+"-"+O),262&e.$$.dirty[0]|26&e.$$.dirty[1]&&!1!==_&&"calendar"===j&&(O||P)&&M!==$&&(o(35,M=$),o(3,T=!0)),8&e.$$.dirty[0]|2&e.$$.dirty[1]&&!1!==_&&T&&(_x(D).call(D,$)?o(3,T=!1):_(P+1,O).then((e=>{if(o(28,D=[...new mP([...D,...e?.data.parsed_months||[]])]),o(27,m=[...new mP([...m,...e?.data.holidays||[]])]),null===p){let e=new Date;for(;_x(m).call(m,o(25,p=tM(e)));)e.setDate(e.getDate()+1);o(25,p=tM(e)),o(2,P=e.getMonth()),o(1,O=e.getFullYear()),n("change")}})).catch((()=>{if(null===p){let e=new Date;o(25,p=tM(e)),o(2,P=e.getMonth()),o(1,O=e.getFullYear()),n("change")}})).finally((()=>o(3,T=!1)))),436208151&e.$$.dirty[0]|9&e.$$.dirty[1]){let e=new Date(O,P,1);e.setDate(e.getDate()-((e.getDay()-b.firstDay)%7+7)%7);let t=new Date(O,P+1,0);t.setDate(t.getDate()-((t.getDay()-b.firstDay)%7+7)%7+6),o(9,x=[]);do{let t=tM(e);x.push({title:e.getDate(),current:e.getMonth()===P,disabled:k&&k.hasOwnProperty("start")&&e<k.start||k&&k.hasOwnProperty("end")&&e>k.end||_x(g).call(g,e.getDay())||_x(D).call(D,$)&&_x(m).call(m,t),active:p===t,date:new Date(e.getTime())}),e.setDate(e.getDate()+1)}while(t>=e)}if(278&e.$$.dirty[0]&&j)switch(j){case"calendar":o(19,E=b.monthNamesShort[P]+" "+O);break;case"month":case"year":o(19,E=O)}},[k,O,P,T,b,C,A,r,j,x,w,i,a,l,s,c,u,d,f,E,n,function(){switch(j){case"calendar":o(8,j="month");break;case"month":o(8,j="year");break;case"year":o(8,j="calendar")}},function(){switch(j){case"calendar":0===P?(o(2,P=11),o(1,O--,O)):o(2,P--,P),n("month-change","prev");break;case"month":o(1,O--,O);break;case"year":o(1,O-=9)}},function(){switch(j){case"calendar":11===P?(o(2,P=0),o(1,O++,O)):o(2,P++,P),n("month-change","next");break;case"month":o(1,O++,O);break;case"year":o(1,O+=9)}},L,p,h,m,D,y,v,g,_,function(){o(27,m=[]),o(28,D=[]),o(3,T=!0)},$,M,(e,t)=>!e&&L(t),(e,t)=>!e&&L(t),e=>{o(2,P=e),n("month-change"),o(8,j="calendar")},e=>{o(2,P=e),n("month-change"),o(8,j="calendar")},e=>{o(1,O=e),o(8,j="month")},e=>{o(1,O=e),o(8,j="month")},function(e){CC[e?"unshift":"push"]((()=>{r=e,o(7,r)}))}]}class nM extends bA{constructor(e){super(),mA(this,e,oM,eM,FE,{layout:29,date:25,startDate:26,holidays:27,datePicker:4,maxDays:30,limits:0,disabledWeekDays:31,loadSchedule:32,forceLoadSchedule:33,year:1,month:2,loadedMonths:28,loading:3,show:5,border:6},null,[-1,-1])}get layout(){return this.$$.ctx[29]}set layout(e){this.$$set({layout:e}),GC()}get date(){return this.$$.ctx[25]}set date(e){this.$$set({date:e}),GC()}get startDate(){return this.$$.ctx[26]}set startDate(e){this.$$set({startDate:e}),GC()}get holidays(){return this.$$.ctx[27]}set holidays(e){this.$$set({holidays:e}),GC()}get datePicker(){return this.$$.ctx[4]}set datePicker(e){this.$$set({datePicker:e}),GC()}get maxDays(){return this.$$.ctx[30]}set maxDays(e){this.$$set({maxDays:e}),GC()}get limits(){return this.$$.ctx[0]}set limits(e){this.$$set({limits:e}),GC()}get disabledWeekDays(){return this.$$.ctx[31]}set disabledWeekDays(e){this.$$set({disabledWeekDays:e}),GC()}get loadSchedule(){return this.$$.ctx[32]}set loadSchedule(e){this.$$set({loadSchedule:e}),GC()}get forceLoadSchedule(){return this.$$.ctx[33]}get year(){return this.$$.ctx[1]}set year(e){this.$$set({year:e}),GC()}get month(){return this.$$.ctx[2]}set month(e){this.$$set({month:e}),GC()}get loadedMonths(){return this.$$.ctx[28]}set loadedMonths(e){this.$$set({loadedMonths:e}),GC()}get loading(){return this.$$.ctx[3]}set loading(e){this.$$set({loading:e}),GC()}get show(){return this.$$.ctx[5]}set show(e){this.$$set({show:e}),GC()}get border(){return this.$$.ctx[6]}set border(e){this.$$set({border:e}),GC()}}function rM(t){let o=e.extend({action:"bookly_render_details"},t),n=My[t.form_id].$container;Fy({data:o}).then((o=>{var r,i;n.html(o.html),Iy(n,t.form_id);let a=o.intlTelInput,l=o.update_details_dialog,s=o.woocommerce,c=o.custom_js,u=o.custom_fields_conditions||[],d=o.l10n.terms_error;My[t.form_id].hasOwnProperty("google_maps")&&My[t.form_id].google_maps.enabled&&(n||e(".bookly-form .bookly-details-step")).each((function(){!function(e){var t=Cp(e).call(e,".bookly-js-cst-address-autocomplete");if(!t.length)return!1;var o=new google.maps.places.Autocomplete(t[0],{types:["geocode"]}),n=[{selector:".bookly-js-address-country",val:function(){return r("country")},short:function(){return r("country",!0)}},{selector:".bookly-js-address-postcode",val:function(){return r("postal_code")}},{selector:".bookly-js-address-city",val:function(){return r("locality")||r("administrative_area_level_3")||r("postal_town")}},{selector:".bookly-js-address-state",val:function(){return r("administrative_area_level_1")},short:function(){return r("administrative_area_level_1",!0)}},{selector:".bookly-js-address-street",val:function(){return r("route")}},{selector:".bookly-js-address-street_number",val:function(){return r("street_number")}},{selector:".bookly-js-address-additional_address",val:function(){return r("subpremise")||r("neighborhood")||r("sublocality")}}],r=function(e,t){for(var n=o.getPlace().address_components,r=0;r<n.length;r++)if(n[r].types[0]===e)return t?n[r].short_name:n[r].long_name;return""};o.addListener("place_changed",(function(){Eh(n).call(n,(function(t){var o=Cp(e).call(e,t.selector);0!==o.length&&(o.val(t.val()),"function"==typeof t.short&&o.data("short",t.short()))}))}))}(e(this))})),e(document.body).trigger("bookly.render.step_detail",[n]);let f=e(".bookly-js-guest",n),y=e(".bookly-js-user-phone-input",n),p=e(".bookly-js-user-email",n),h=e(".bookly-js-user-email-confirm",n),m=e(".bookly-js-select-birthday-day",n),b=e(".bookly-js-select-birthday-month",n),v=e(".bookly-js-select-birthday-year",n),k=e(".bookly-js-address-country",n),g=e(".bookly-js-address-state",n),_=e(".bookly-js-address-postcode",n),w=e(".bookly-js-address-city",n),x=e(".bookly-js-address-street",n),$=e(".bookly-js-address-street_number",n),j=e(".bookly-js-address-additional_address",n),S=e(".bookly-js-address-country-error",n),O=e(".bookly-js-address-state-error",n),P=e(".bookly-js-address-postcode-error",n),E=e(".bookly-js-address-city-error",n),D=e(".bookly-js-address-street-error",n),T=e(".bookly-js-address-street_number-error",n),C=e(".bookly-js-address-additional_address-error",n),A=e(".bookly-js-select-birthday-day-error",n),M=e(".bookly-js-select-birthday-month-error",n),L=e(".bookly-js-select-birthday-year-error",n),I=e(".bookly-js-full-name",n),R=e(".bookly-js-first-name",n),F=e(".bookly-js-last-name",n),N=e(".bookly-js-user-notes",n),z=e(".bookly-js-custom-field",n),B=e(".bookly-js-info-field",n),q=e(".bookly-js-user-phone-error",n),G=e(".bookly-js-user-email-error",n),Y=e(".bookly-js-user-email-confirm-error",n),W=e(".bookly-js-full-name-error",n),H=e(".bookly-js-first-name-error",n),V=e(".bookly-js-last-name-error",n),U=e(".bookly-js-captcha-img",n),Z=e(".bookly-custom-field-error",n),Q=e(".bookly-js-info-field-error",n),J=e(".bookly-js-modal",n),X=e(".bookly-js-login",n),K=e(".bookly-js-cst-duplicate",n),ee=e(".bookly-js-verification-code",n),te=e("#bookly-verification-code",n),oe=e(".bookly-js-next-step",n),ne=Mm(r=e([A,M,L,S,O,P,E,D,T,C,W,H,V,q,G,Y,Z,Q])).call(r,e.fn.toArray),re=Mm(i=e([m,b,v,w,k,_,g,x,$,j,I,R,F,y,p,h,z,B])).call(i,e.fn.toArray);var ie=function(e){if(I.val(e.data.full_name).removeClass("bookly-error"),R.val(e.data.first_name).removeClass("bookly-error"),F.val(e.data.last_name).removeClass("bookly-error"),e.data.birthday){var t=e.data.birthday.split("-"),o=zf(t[0]),r=zf(t[1]),i=zf(t[2]);m.val(i).removeClass("bookly-error"),b.val(r).removeClass("bookly-error"),v.val(o).removeClass("bookly-error")}if(e.data.phone)if(y.removeClass("bookly-error"),a.enabled){window.booklyIntlTelInput.getInstance(y.get(0)).setNumber(e.data.phone)}else y.val(e.data.phone);var l;(e.data.country&&k.val(e.data.country).removeClass("bookly-error"),e.data.state&&g.val(e.data.state).removeClass("bookly-error"),e.data.postcode&&_.val(e.data.postcode).removeClass("bookly-error"),e.data.city&&w.val(e.data.city).removeClass("bookly-error"),e.data.street&&x.val(e.data.street).removeClass("bookly-error"),e.data.street_number&&$.val(e.data.street_number).removeClass("bookly-error"),e.data.additional_address&&j.val(e.data.additional_address).removeClass("bookly-error"),p.val(e.data.email).removeClass("bookly-error"),e.data.info_fields)&&Eh(l=e.data.info_fields).call(l,(function(e){var t,o,r=Cp(n).call(n,'.bookly-js-info-field-row[data-id="'+e.id+'"]');switch(r.data("type")){case"checkboxes":Eh(t=e.value).call(t,(function(e){var t;zm(t=Cp(r).call(r,".bookly-js-info-field")).call(t,(function(){return this.value==e})).prop("checked",!0)}));break;case"radio-buttons":zm(o=Cp(r).call(r,".bookly-js-info-field")).call(o,(function(){return this.value==e.value})).prop("checked",!0);break;default:Cp(r).call(r,".bookly-js-info-field").val(e.value)}}));zm(ne).call(ne,":not(.bookly-custom-field-error)").html("")};let ae=function(t){let o=t.data("id"),n=[];switch(t.data("type")){case"drop-down":n.push(Cp(t).call(t,"select").val());break;case"radio-buttons":n.push(Cp(t).call(t,"input:checked").val());break;case"checkboxes":Cp(t).call(t,"input").each((function(){e(this).prop("checked")&&n.push(e(this).val())}))}e.each(u,(function(r,i){let a=e('.bookly-custom-field-row[data-id="'+i.target+'"]'),l=a.is(":visible");if(zf(i.source)===o){let o=!1;e.each(n,(function(e,n){var r,a;t.is(":visible")&&(On(r=i.value).call(r,n)&&"1"===i.equal||!On(a=i.value).call(a,n)&&"1"!==i.equal)&&(o=!0)})),a.toggle(o),a.is(":visible")!==l&&ae(a)}}))};e(".bookly-custom-field-row").on("change",'select, input[type="checkbox"], input[type="radio"]',(function(){ae(e(this).closest(".bookly-custom-field-row"))})),e(".bookly-custom-field-row").each((function(){var t;const o=e(this).data("type");var n,r;On(t=["drop-down","radio-buttons","checkboxes"]).call(t,o)&&("drop-down"===o?Cp(n=e(this)).call(n,"select").trigger("change"):Cp(r=e(this)).call(r,"input:checked").trigger("change"))}));let le={};e(document).on("click",(function(t){var o;let n,r=e(t.target).closest(".bookly-js-datepicker-calendar-wrap");0!==r.length&&(n=r.data("id")),Eh(o=Gm(le)).call(o,(e=>{e!==n&&(le[e].show=!1)}))})),e(".bookly-js-cf-date",n).each((function(){var o;let n=e(this),r=n.attr("id"),i={datePicker:BooklyL10nGlobal.datePicker,loading:!1,show:!1,border:!0,limits:{},layout:My[t.form_id].datepicker_mode};n.data("value")&&(i.date=n.data("value"),n.val(Ny(n.data("value"))));let a=new Date;if(""!==e(this).data("min")){let t=new Date(e(this).data("min"));i.limits.start=t,t>a&&(i.month=t.getMonth(),i.year=t.getFullYear())}if(""!==e(this).data("max")){let t=new Date(e(this).data("max"));i.limits.end=new Date(e(this).data("max")),t<a&&(i.month=t.getMonth(),i.year=t.getFullYear())}le[r]=new nM({target:Cp(o=n.parent()).call(o,".bookly-js-datepicker-calendar").get(0),props:i}),e(this).on("focus",(function(e){le[r].show=!0})),le[r].$on("change",(function(){le[r].show=!1,n.val(Ny(le[r].date))}))})),a.enabled&&window.booklyIntlTelInput(y.get(0),{preferredCountries:[a.country],initialCountry:a.country,geoIpLookup:function(t){e.get("https://ipinfo.io",(function(){}),"jsonp").always((function(e){var o=e&&e.country?e.country:"";t(o)}))}}),Cp(n).call(n,".bookly-js-modal."+t.form_id).remove(),J.addClass(t.form_id).appendTo(n).on("click",".bookly-js-close",(function(t){var o,n,r;t.preventDefault(),Cp(o=Cp(n=Cp(r=e(t.delegateTarget).removeClass("bookly-in")).call(r,"form").trigger("reset").end()).call(n,"input").removeClass("bookly-error").end()).call(o,".bookly-label-error").html("")})),e(".bookly-js-login-show",n).on("click",(function(e){e.preventDefault(),X.addClass("bookly-in")})),e("button:submit",X).on("click",(function(e){e.preventDefault();var o=Ladda.create(this);o.start(),Fy({type:"POST",data:{action:"bookly_wp_user_login",form_id:t.form_id,log:Cp(X).call(X,'[name="log"]').val(),pwd:Cp(X).call(X,'[name="pwd"]').val(),rememberme:Cp(X).call(X,'[name="rememberme"]').prop("checked")?1:0}}).then((e=>{BooklyL10n.csrf_token=e.data.csrf_token,f.fadeOut("slow"),ie(e),X.removeClass("bookly-in")})).catch((e=>{"incorrect_username_password"==e.error&&(Cp(X).call(X,"input").addClass("bookly-error"),Cp(X).call(X,".bookly-label-error").html(My[t.form_id].errors[e.error]))})).finally((()=>{o.stop()}))})),e("button:submit",K).on("click",(function(e){e.preventDefault(),K.removeClass("bookly-in"),oe.trigger("click",[1])})),e("button:submit",ee).on("click",(function(e){e.preventDefault(),ee.removeClass("bookly-in"),oe.trigger("click")})),My[t.form_id].hasOwnProperty("facebook")&&My[t.form_id].facebook.enabled&&"undefined"!=typeof FB&&(FB.XFBML.parse(e(".bookly-js-fb-login-button",n).parent().get(0)),My[t.form_id].facebook.onStatusChange=function(o){"connected"===o.status&&(My[t.form_id].facebook.enabled=!1,My[t.form_id].facebook.onStatusChange=void 0,f.fadeOut("slow",(function(){e(".bookly-js-fb-login-button").hide()})),FB.api("/me",{fields:"id,name,first_name,last_name,email"},(function(o){Fy({type:"POST",data:e.extend(o,{action:"bookly_pro_facebook_login",form_id:t.form_id})}).then((e=>{ie(e)}))})))}),oe.on("click",(function(o,r){o.stopPropagation(),o.preventDefault();let i=e(".bookly-js-terms",n),u=e(".bookly-js-terms-error",n);if(u.html(""),i.length&&!i.prop("checked"))u.html(d);else{var f,z,B,U=[],Z={},Q=[],J=Ly(this);if(c)try{e.globalEval(c.next_button)}catch(o){}e("div.bookly-js-info-field-row",n).each((function(){var t=e(this);switch(t.data("type")){case"text-field":case"file":case"number":U.push({id:t.data("id"),value:Cp(t).call(t,"input.bookly-js-info-field").val()});break;case"textarea":U.push({id:t.data("id"),value:Cp(t).call(t,"textarea.bookly-js-info-field").val()});break;case"checkboxes":B=[],Cp(t).call(t,"input.bookly-js-info-field:checked").each((function(){B.push(this.value)})),U.push({id:t.data("id"),value:B});break;case"radio-buttons":U.push({id:t.data("id"),value:Cp(t).call(t,"input.bookly-js-info-field:checked").val()||null});break;case"drop-down":case"time":U.push({id:t.data("id"),value:Cp(t).call(t,"select.bookly-js-info-field").val()});break;case"date":U.push({id:t.data("id"),value:le[Cp(t).call(t,".bookly-js-datepicker-calendar-wrap").data("id")].date})}})),e(".bookly-custom-fields-container",n).each((function(){let t=e(this),o=t.data("key"),n=[];e("div.bookly-custom-field-row",t).each((function(){var t=e(this);if("none"!==t.css("display"))switch(t.data("type")){case"text-field":case"file":case"number":n.push({id:t.data("id"),value:Cp(t).call(t,"input.bookly-js-custom-field").val()});break;case"textarea":n.push({id:t.data("id"),value:Cp(t).call(t,"textarea.bookly-js-custom-field").val()});break;case"checkboxes":B=[],Cp(t).call(t,"input.bookly-js-custom-field:checked").each((function(){B.push(this.value)})),n.push({id:t.data("id"),value:B});break;case"radio-buttons":n.push({id:t.data("id"),value:Cp(t).call(t,"input.bookly-js-custom-field:checked").val()||null});break;case"drop-down":case"time":n.push({id:t.data("id"),value:Cp(t).call(t,"select.bookly-js-custom-field").val()});break;case"date":n.push({id:t.data("id"),value:le[Cp(t).call(t,".bookly-js-datepicker-calendar-wrap").data("id")].date});break;case"captcha":n.push({id:t.data("id"),value:Cp(t).call(t,"input.bookly-js-custom-field").val()}),Q.push(t.data("id"))}})),Z[o]={custom_fields:n}}));var X={action:"bookly_session_save",form_id:t.form_id,full_name:I.val(),first_name:R.val(),last_name:F.val(),phone:a.enabled?booklyGetPhoneNumber(y.get(0)):y.val(),email:Xm(f=p.val()).call(f),email_confirm:1===h.length?Xm(z=h.val()).call(z):void 0,birthday:{day:m.val(),month:b.val(),year:v.val()},full_address:e(".bookly-js-cst-address-autocomplete",n).val(),country:k.val(),state:g.val(),postcode:_.val(),city:w.val(),street:x.val(),street_number:$.val(),additional_address:j.val(),address_iso:{country:k.data("short"),state:g.data("short")},info_fields:U,notes:N.val(),cart:Z,captcha_ids:fh(Q),force_update_customer:!l||r,verification_code:te.val()};ne.empty(),re.removeClass("bookly-error"),Fy({type:"POST",data:X}).then((e=>{s.enabled?Fy({type:"POST",data:{action:"bookly_pro_add_to_woocommerce_cart",form_id:t.form_id}}).then((e=>{window.location.href=e.data.target_url})).catch((e=>{J.stop(),db(e.data,t.form_id)})):ub({form_id:t.form_id})})).catch((o=>{var r=null;if(o.appointments_limit_reached)cb({form_id:t.form_id,error:"appointments_limit_reached"});else if(o.hasOwnProperty("verify")){J.stop(),Cp(ee).call(ee,"#bookly-verification-code-text").html(o.verify_text).end().addClass("bookly-in");let e=Cp(ee).call(ee,".bookly-js-verification-code-error");!1===o.success&&te.val()?(Cp(ee).call(ee,"#bookly-verification-code").addClass("bookly-error"),e.html(o.incorrect_code_text).show()):e.hide()}else if(o.group_skip_payment)Fy({type:"POST",data:{action:"bookly_save_appointment",form_id:t.form_id}}).then((e=>{cb({form_id:t.form_id,error:"group_skip_payment"})}));else{J.stop();var i=[{name:"full_name",errorElement:W,formElement:I},{name:"first_name",errorElement:H,formElement:R},{name:"last_name",errorElement:V,formElement:F},{name:"phone",errorElement:q,formElement:y},{name:"email",errorElement:G,formElement:p},{name:"email_confirm",errorElement:Y,formElement:h},{name:"birthday_day",errorElement:A,formElement:m},{name:"birthday_month",errorElement:M,formElement:b},{name:"birthday_year",errorElement:L,formElement:v},{name:"country",errorElement:S,formElement:k},{name:"state",errorElement:O,formElement:g},{name:"postcode",errorElement:P,formElement:_},{name:"city",errorElement:E,formElement:w},{name:"street",errorElement:D,formElement:x},{name:"street_number",errorElement:T,formElement:$},{name:"additional_address",errorElement:C,formElement:j}];Eh(i).call(i,(function(e){o[e.name]&&(e.errorElement.html(o[e.name]),e.formElement.addClass("bookly-error"),null===r&&(r=e.formElement))})),o.info_fields&&e.each(o.info_fields,(function(t,o){var i=e('div.bookly-js-info-field-row[data-id="'+t+'"]',n);Cp(i).call(i,".bookly-js-info-field-error").html(o),Cp(i).call(i,".bookly-js-info-field").addClass("bookly-error"),null===r&&(r=Cp(i).call(i,".bookly-js-info-field"))})),o.custom_fields&&e.each(o.custom_fields,(function(t,o){e.each(o,(function(o,i){var a=e('.bookly-custom-fields-container[data-key="'+t+'"]',n),l=e('[data-id="'+o+'"]',a);Cp(l).call(l,".bookly-custom-field-error").html(i),Cp(l).call(l,".bookly-js-custom-field").addClass("bookly-error"),null===r&&(r=Cp(l).call(l,".bookly-js-custom-field"))}))})),o.customer&&Cp(K).call(K,".bookly-js-modal-body").html(o.customer).end().addClass("bookly-in")}null!==r&&Iy(r,t.form_id)}))}})),e(".bookly-js-back-step",n).on("click",(function(e){e.stopPropagation(),e.preventDefault(),Ly(this),My[t.form_id].skip_steps.cart?My[t.form_id].no_time||My[t.form_id].skip_steps.time?My[t.form_id].no_extras||My[t.form_id].skip_steps.extras?eL({form_id:t.form_id}):sM({form_id:t.form_id}):!bh(My[t.form_id].skip_steps)&&My[t.form_id].recurrence_enabled?aM({form_id:t.form_id}):My[t.form_id].skip_steps.extras||"after_step_time"!=My[t.form_id].step_extras||My[t.form_id].no_extras?lM({form_id:t.form_id}):sM({form_id:t.form_id}):iM({form_id:t.form_id})})),e(".bookly-js-captcha-refresh",n).on("click",(function(){U.css("opacity","0.5"),Fy({type:"POST",data:{action:"bookly_custom_fields_captcha_refresh",form_id:t.form_id}}).then((e=>{U.attr("src",e.data.captcha_url).on("load",(function(){U.css("opacity","1")}))}))}))}))}function iM(t,o){if(My[t.form_id].skip_steps.cart)rM(t);else{t&&t.from_step&&(My[t.form_id].cart_prev_step=t.from_step);let n=e.extend({action:"bookly_render_cart"},t),r=My[t.form_id].$container;Fy({data:n}).then((n=>{r.html(n.html),o?(e(".bookly-label-error",r).html(o.message),e('tr[data-cart-key="'+o.failed_key+'"]',r).addClass("bookly-label-error")):e(".bookly-label-error",r).hide(),Iy(r,t.form_id);const i=n.custom_js;e(".bookly-js-next-step",r).on("click",(function(o){if(o.stopPropagation(),o.preventDefault(),Ly(this),i)try{e.globalEval(i.next_button)}catch(o){}rM({form_id:t.form_id})})),e(".bookly-add-item",r).on("click",(function(e){e.stopPropagation(),e.preventDefault(),Ly(this),eL({form_id:t.form_id,new_chain:!0})})),e(".bookly-js-back-step",r).on("click",(function(e){switch(e.stopPropagation(),e.preventDefault(),Ly(this),My[t.form_id].cart_prev_step){case"service":default:eL({form_id:t.form_id});break;case"extras":sM({form_id:t.form_id});break;case"time":lM({form_id:t.form_id});break;case"repeat":aM({form_id:t.form_id})}})),e(".bookly-js-actions button",r).on("click",(function(){Ly(this);let o=e(this),n=o.closest("tr");switch(o.data("action")){case"drop":Fy({data:{action:"bookly_cart_drop_item",form_id:t.form_id,cart_key:n.data("cart-key")}}).then((t=>{let o=n.data("cart-key"),i=e('tr[data-cart-key="'+o+'"]',r);n.delay(300).fadeOut(200,(function(){t.data.total_waiting_list?(e(".bookly-js-waiting-list-price",r).html(t.data.waiting_list_price),e(".bookly-js-waiting-list-deposit",r).html(t.data.waiting_list_deposit)):e(".bookly-js-waiting-list-price",r).closest("tr").remove(),e(".bookly-js-subtotal-price",r).html(t.data.subtotal_price),e(".bookly-js-subtotal-deposit",r).html(t.data.subtotal_deposit),e(".bookly-js-pay-now-deposit",r).html(t.data.pay_now_deposit),e(".bookly-js-pay-now-tax",r).html(t.data.pay_now_tax),e(".bookly-js-total-price",r).html(t.data.total_price),e(".bookly-js-total-tax",r).html(t.data.total_tax),i.remove(),0==e("tr[data-cart-key]").length&&(e(".bookly-js-back-step",r).hide(),e(".bookly-js-next-step",r).hide())}))}));break;case"edit":eL({form_id:t.form_id,edit_cart_item:n.data("cart-key")})}}))}))}}function aM(t,o){if(bh(My[t.form_id].skip_steps))iM(t,o);else{let o=e.extend({action:"bookly_render_repeat"},t),n=My[t.form_id].$container;Fy({data:o}).then((o=>{var r,i;n.html(o.html),Iy(n,t.form_id);let a,l=e(".bookly-js-repeat-appointment-enabled",n),s=e(".bookly-js-next-step",n),c=e(".bookly-js-repeat-variants-container",n),u=e('[class^="bookly-js-variant"]',c),d=e(".bookly-js-repeat-variant",c),f=e(".bookly-js-get-schedule",c),y=e(".bookly-js-variant-weekly",c),p=e(".bookly-js-repeat-variant-monthly",c),h=e(".bookly-js-repeat-until",c),m=e(".bookly-js-repeat-times",c),b=e(".bookly-js-monthly-specific-day",c),v=e(".bookly-js-monthly-week-day",c),k=e(".bookly-js-repeat-daily-every",c),g=e(".bookly-js-schedule-container",n),_=e(".bookly-js-days-error",c),w=e(".bookly-js-schedule-slots",g),x=e(".bookly-js-intersection-info",g),$=e(".bookly-js-schedule-help",g),j=e(".bookly-well",g),S=e(".bookly-pagination",g),O=e(".bookly-schedule-row-template .bookly-schedule-row",g),P=o.pages_warning_info,E=o.short_date_format,D={min:o.date_min||!0,max:o.date_max||!0},T=[],C=o.custom_js;var A={prepareButtonNextState:function(){for(var e=s.prop("disabled"),t=0==T.length,o=0;o<T.length;o++)if(e){if(!T[o].deleted){t=!1;break}}else{if(!T[o].deleted){t=!1;break}t=!0}s.prop("disabled",t)},addTimeSlotControl:function(t,o,n,r){var i,a="";o.length&&(a=e("<select/>"),e.each(o,(function(t,o){var l=e("<option/>");l.text(o.title).val(o.value),o.disabled&&l.attr("disabled","disabled"),a.append(l),i||o.disabled||(o.title==n?(a.val(o.value),i=!0):o.title==r&&a.val(o.value))})));Cp(t).call(t,".bookly-js-schedule-time").html(a),Cp(t).call(t,"div.bookly-label-error").toggle(!o.length)},renderSchedulePage:function(t){let o,n=T.length,r=5*t-5,i=[],a=function(e){e.preventDefault();let t=zf(Cp(S).call(S,".active").data("page"));t>1&&A.renderSchedulePage(t-1)},l=function(e){e.preventDefault();let t=zf(Cp(S).call(S,".active").data("page"));t<n/5&&A.renderSchedulePage(t+1)};w.html("");for(var s=r,c=0;c<5&&s<n;s++,c++)o=O.clone(),o.data("datetime",T[s].datetime),o.data("index",T[s].index),e("> div:first-child",o).html(T[s].index),e(".bookly-schedule-date",o).html(T[s].display_date),void 0!==T[s].all_day_service_time?(e(".bookly-js-schedule-time",o).hide(),e(".bookly-js-schedule-all-day-time",o).html(T[s].all_day_service_time).show()):(e(".bookly-js-schedule-time",o).html(T[s].display_time).show(),e(".bookly-js-schedule-all-day-time",o).hide()),T[s].another_time&&e(".bookly-schedule-intersect",o).show(),T[s].deleted&&Cp(o).call(o,".bookly-schedule-appointment").addClass("bookly-appointment-hidden"),w.append(o);if(n>5){var u=e("<li/>").append(e("<a>",{href:"#",text:"«"}));for(u.on("click",a).keypress((function(e){e.preventDefault(),13!=e.which&&32!=e.which||a(e)})),S.html(u),s=0,c=1;s<n;s+=5,c++)u=e("<li/>",{"data-page":c}).append(e("<a>",{href:"#",text:c})),S.append(u),u.on("click",(function(t){t.preventDefault(),A.renderSchedulePage(e(this).data("page"))})).keypress((function(t){t.preventDefault(),13!=t.which&&32!=t.which||A.renderSchedulePage(e(this).data("page"))}));for(Cp(S).call(S,"li:eq("+t+")").addClass("active"),(u=e("<li/>").append(e("<a>",{href:"#",text:"»"}))).on("click",l).keypress((function(e){e.preventDefault(),13!=e.which&&32!=e.which||l(e)})),S.append(u).show(),s=0;s<n;s++)T[s].another_time&&(t=zf(s/5)+1,i.push(t),s=5*t-1);i.length>0&&x.html(P.replace("{list}",i.join(", "))),j.toggle(i.length>0),S.toggle(n>5)}else for(S.hide(),j.hide(),s=0;s<n;s++)if(T[s].another_time){$.show();break}},renderFullSchedule:function(o){T=o;var n=null;e.each(T,(function(e,t){n||t.another_time||(n=t.display_time)})),A.renderSchedulePage(1),g.show(),s.prop("disabled",0==T.length),w.on("click","button[data-action]",(function(){var o=e(this).closest(".bookly-schedule-row"),r=o.data("index")-1;switch(e(this).data("action")){case"drop":T[r].deleted=!0,Cp(o).call(o,".bookly-schedule-appointment").addClass("bookly-appointment-hidden"),A.prepareButtonNextState();break;case"restore":T[r].deleted=!1,Cp(o).call(o,".bookly-schedule-appointment").removeClass("bookly-appointment-hidden"),s.prop("disabled",!1);break;case"edit":Cp(w).call(w,".bookly-schedule-row .bookly-js-datepicker-container").each((function(){let t=e(this).closest(".bookly-schedule-row"),o=t.data("index")-1;Cp(t).call(t,'button[data-action="edit"]').show(),Cp(t).call(t,'button[data-action="save"]').hide(),Cp(t).call(t,".bookly-schedule-date").html(T[o].display_date),Cp(t).call(t,".bookly-js-schedule-time").html(T[o].display_time)}));let d=JSON.parse(T[r].slots)[0][2].split(" ")[0],f=e("<input/>",{type:"text",value:Ny(d,E)}),y=e(this),p=Ly(this);f.data("date",d),Cp(o).call(o,".bookly-schedule-date").html(e.merge(f,e('<div class="bookly-relative bookly-w-full bookly-z-10 bookly-js-datepicker-container" style="font-weight: normal;"><div class="bookly-absolute bookly-top-1 bookly-w-72 bookly-p-0 bookly-bg-white bookly-js-datepicker-calendar"></div></div>'))),f=Cp(o).call(o,".bookly-schedule-date input"),a&&a.$destroy(),e(document).on("click",(function(t){0===e(t.target).closest(".bookly-schedule-date").length&&(a.show=!1)})),a=new nM({target:Cp(o).call(o,".bookly-js-datepicker-calendar").get(0),props:{datePicker:BooklyL10nGlobal.datePicker,loading:!1,show:!1,border:!0,date:d,startDate:new Date(d),layout:My[t.form_id].datepicker_mode}}),f.on("focus",(function(e){a.show=!0})),f.on("change",(function(){var i=[];e.each(T,(function(e,t){r==e||t.deleted||i.push(t.slots)})),Fy({type:"POST",data:{action:"bookly_recurring_appointments_get_daily_customer_schedule",date:e(this).data("date"),form_id:t.form_id,exclude:i}}).then((e=>{y.hide(),p.stop(),e.data.length?(A.addTimeSlotControl(o,e.data[0].options,n,T[r].display_time,e.data[0].all_day_service_time),Cp(o).call(o,'button[data-action="save"]').show()):(A.addTimeSlotControl(o,[]),Cp(o).call(o,'button[data-action="save"]').hide())}))})),a.$on("change",(function(){a.show=!1,f.data("date",a.date),f.val(Ny(a.date,E)),f.trigger("change")})),f.trigger("change");break;case"save":e(this).hide(),Cp(o).call(o,'button[data-action="edit"]').show();var i=Cp(o).call(o,".bookly-schedule-date"),l=Cp(o).call(o,".bookly-js-schedule-time"),c=Cp(l).call(l,"select"),u=Cp(c).call(c,"option:selected");T[r].slots=c.val(),T[r].display_date=Cp(i).call(i,"input").val(),T[r].display_time=u.text(),i.html(T[r].display_date),l.html(T[r].display_time)}}))},isDateMatchesSelections:function(t){switch(d.val()){case"daily":if((k.val()>6||-1!=e.inArray(t.format("ddd").toLowerCase(),A.week_days))&&t.diff(A.date_from,"days")%k.val()==0)return!0;break;case"weekly":case"biweekly":if(("weekly"==d.val()||t.diff(A.date_from.clone().startOf("isoWeek"),"weeks")%2==0)&&-1!=e.inArray(t.format("ddd").toLowerCase(),A.checked_week_days))return!0;break;case"monthly":switch(p.val()){case"specific":if(t.format("D")==b.val())return!0;break;case"last":if(t.format("ddd").toLowerCase()==v.val()&&t.clone().endOf("month").diff(t,"days")<7)return!0;break;default:var o=t.diff(t.clone().startOf("month"),"days");if(t.format("ddd").toLowerCase()==v.val()&&o>=7*(p.prop("selectedIndex")-1)&&o<7*p.prop("selectedIndex"))return!0}}return!1},updateRepeatDate:function(){var t,o=0,n=m.val(),r=hy(t=D.min).call(t),i=moment(M.date).add(5,"years");r[1]++,A.date_from=moment(r.join(","),"YYYY,M,D"),A.week_days=[],Cp(v).call(v,"option").each((function(){A.week_days.push(e(this).val())})),A.checked_week_days=[],e(".bookly-js-week-days input:checked",c).each((function(){A.checked_week_days.push(this.value)}));var a=A.date_from.clone();do{A.isDateMatchesSelections(a)&&o++,a.add(1,"days")}while(o<n&&a.isBefore(i));a.subtract(1,"days"),M.date=a.format("YYYY-MM-DD"),M.startDate=new Date(a.format("YYYY-MM-DD")),h.val(a.format(BooklyL10nGlobal.datePicker.format))},updateRepeatTimes:function(){var t,o=0,n=hy(t=D.min).call(t),r=moment(M.date).add(1,"days");n[1]++,A.date_from=moment(n.join(","),"YYYY,M,D"),A.week_days=[],Cp(v).call(v,"option").each((function(){A.week_days.push(e(this).val())})),A.checked_week_days=[],e(".bookly-js-week-days input:checked",c).each((function(){A.checked_week_days.push(this.value)}));var i=A.date_from.clone();do{A.isDateMatchesSelections(i)&&o++,i.add(1,"days")}while(i.isBefore(r));m.val(o)}};let M=new nM({target:Cp(r=h.parent()).call(r,".bookly-js-datepicker-calendar").get(0),props:{datePicker:BooklyL10nGlobal.datePicker,loading:!1,show:!1,border:!0,date:h.data("value"),startDate:new Date(h.data("value")),limits:{start:o.date_min?new Date(o.date_min[0],o.date_min[1],o.date_min[2]):new Date,end:!!o.date_max&&new Date(o.date_max[0],o.date_max[1],o.date_max[2])},layout:My[t.form_id].datepicker_mode}});h.val(Ny(h.data("value"))),e(document).on("click",(function(t){0===e(t.target).closest(".bookly-js-repeat-until-wrap").length&&(M.show=!1)})),h.on("focus",(function(e){M.show=!0})),M.$on("change",(function(){M.show=!1,h.val(Ny(M.date))}));var L=l.on("change",(function(){c.toggle(e(this).prop("checked")),e(this).prop("checked")?A.prepareButtonNextState():s.prop("disabled",!1)}));if(o.repeated){var I=o.repeat_data,R=I.params;switch(l.prop("checked",!0),d.val(bh(I)),M.date=I.until,h.val(Ny(I.until)),bh(I)){case"daily":k.val(cm(R));break;case"weekly":case"biweekly":e('.bookly-js-week-days input[type="checkbox"]',c).prop("checked",!1).parent().removeClass("active"),Eh(i=R.on).call(i,(function(t){e(".bookly-js-week-days input:checkbox[value="+t+"]",c).prop("checked",!0)}));break;case"monthly":"day"===R.on?(p.val("specific"),e(".bookly-js-monthly-specific-day[value="+R.day+"]",c).prop("checked",!0)):(p.val(R.on),v.val(R.weekday))}A.renderFullSchedule(o.schedule)}L.trigger("change"),o.could_be_repeated||l.attr("disabled",!0),d.on("change",(function(){u.hide(),Cp(c).call(c,".bookly-js-variant-"+this.value).show(),A.updateRepeatTimes()})).trigger("change"),p.on("change",(function(){v.toggle("specific"!=this.value),b.toggle("specific"==this.value),A.updateRepeatTimes()})).trigger("change"),e(".bookly-js-week-days input",c).on("change",(function(){A.updateRepeatTimes()})),b.val(o.date_min[2]),b.on("change",(function(){A.updateRepeatTimes()})),v.on("change",(function(){A.updateRepeatTimes()})),M.$on("change",(function(){A.updateRepeatTimes()})),k.on("change",(function(){A.updateRepeatTimes()})),m.on("change",(function(){A.updateRepeatDate()})),f.on("click",(function(){g.hide();let o={action:"bookly_recurring_appointments_get_customer_schedule",form_id:t.form_id,repeat:d.val(),until:M.date,params:{}},n=Ly(this);switch(bh(o)){case"daily":o.params={every:k.val()};break;case"weekly":case"biweekly":if(o.params.on=[],e('.bookly-js-week-days input[type="checkbox"]:checked',y).each((function(){o.params.on.push(this.value)})),0==o.params.on.length)return _.toggle(!0),n.stop(),!1;_.toggle(!1);break;case"monthly":"specific"==p.val()?o.params={on:"day",day:b.val()}:o.params={on:p.val(),weekday:v.val()}}w.off("click"),Fy({type:"POST",data:o}).then((e=>{A.renderFullSchedule(e.data),n.stop()}))})),e(".bookly-js-back-step",n).on("click",(function(e){e.stopPropagation(),e.preventDefault(),Ly(this),Fy({type:"POST",data:{action:"bookly_session_save",form_id:t.form_id,unrepeat:1}}).then((e=>{My[t.form_id].skip_steps.extras||"after_step_time"!=My[t.form_id].step_extras||My[t.form_id].no_extras?lM({form_id:t.form_id}):sM({form_id:t.form_id})}))})),e(".bookly-js-go-to-cart",n).on("click",(function(e){e.stopPropagation(),e.preventDefault(),Ly(this),iM({form_id:t.form_id,from_step:"repeat"})})),e(".bookly-js-next-step",n).on("click",(function(o){if(o.stopPropagation(),o.preventDefault(),Ly(this),C)try{e.globalEval(C.next_button)}catch(o){}if(l.is(":checked")){var n=[],r=0;Eh(T).call(T,(function(e){if(!e.deleted){var t=JSON.parse(e.slots);n=Pm(n).call(n,t),r++}})),Fy({type:"POST",data:{action:"bookly_session_save",form_id:t.form_id,slots:fh(n),repeat:r}}).then((e=>{iM({form_id:t.form_id,add_to_cart:!0,from_step:"repeat"})}))}else Fy({type:"POST",data:{action:"bookly_session_save",form_id:t.form_id,unrepeat:1}}).then((e=>{iM({form_id:t.form_id,add_to_cart:!0,from_step:"repeat"})}))}))}))}}function lM(t,o){if(My[t.form_id].no_time||My[t.form_id].skip_steps.time)return void(My[t.form_id].skip_steps.extras||"after_step_time"!=My[t.form_id].step_extras||My[t.form_id].no_extras?My[t.form_id].skip_steps.cart?rM({form_id:t.form_id,add_to_cart:!0}):iM({form_id:t.form_id,add_to_cart:!0,from_step:t&&t.prev_step?t.prev_step:"service"}):sM({form_id:t.form_id}));var n={action:"bookly_render_time"},r=My[t.form_id].$container;My[t.form_id].skip_steps.service&&My[t.form_id].use_client_time_zone&&(n.time_zone=My[t.form_id].timeZone,n.time_zone_offset=My[t.form_id].timeZoneOffset),e.extend(n,t);let i=!1,a=0,l=0,s=[];function c(t,o){var n={};return e.each(t,(function(t,r){var i='<button class="bookly-day" value="'+t+'">'+r.title+"</button>";e.each(r.slots,(function(e,n){i+='<button value="'+fh(n.data).replace(/"/g,"&quot;")+'" data-group="'+t+'" class="bookly-hour'+(n.special_hour?" bookly-slot-in-special-hour":"")+("waiting-list"==n.status?" bookly-slot-in-waiting-list":"booked"==n.status?" booked":"")+'"'+("booked"==n.status?" disabled":"")+'><span class="ladda-label bookly-time-main'+(n.data[0][2]==o?" bookly-bold":"")+'"><i class="bookly-hour-icon"><span></span></i>'+n.time_text+'</span><span class="bookly-time-additional'+("waiting-list"==n.status?" bookly-waiting-list":"")+'"> '+n.additional_text+"</span></button>"})),n[t]=i})),n}let u=Ry(),d=Ry();u.booklyAjax({data:n}).then((n=>{BooklyL10n.csrf_token=n.csrf_token,r.html(n.html);var f,y,p,h=e(".bookly-columnizer-wrap",r),m=e(".bookly-columnizer",h),b=e(".bookly-time-next",r),v=e(".bookly-time-prev",r),k=null,g=n.time_slots_wide?205:127,_=n.time_slots_wide?"bookly-column bookly-column-wide":"bookly-column",w=0,x=0,$=n.has_more_slots,j=n.show_calendar,S=n.is_rtl,O=n.day_one_column,P=c(n.slots_data,n.selected_date),E=n.custom_js;if(e(".bookly-js-back-step",r).on("click",(function(e){e.stopPropagation(),e.preventDefault(),Ly(this),My[t.form_id].skip_steps.extras||My[t.form_id].no_extras?eL({form_id:t.form_id}):"before_step_time"==My[t.form_id].step_extras?sM({form_id:t.form_id}):eL({form_id:t.form_id})})).toggle(!My[t.form_id].skip_steps.service||!My[t.form_id].skip_steps.extras),e(".bookly-js-go-to-cart",r).on("click",(function(e){e.stopPropagation(),e.preventDefault(),Ly(this),iM({form_id:t.form_id,from_step:"time"})})),e(".bookly-js-time-zone-switcher",r).on("change",(function(e){My[t.form_id].timeZone=this.value,My[t.form_id].timeZoneOffset=void 0,C(),u.cancel(),i&&i.disconnect(),lM({form_id:t.form_id,time_zone:My[t.form_id].timeZone})})),j){let L=n.current_date?n.first_available_date?n.first_available_date:n.current_date:n.selected_date?n.selected_date.substring(0,10):e(".bookly-js-selected-date",r).data("value");s.push(moment(L).month()+"-"+moment(L).year());let I=new nM({target:e(".bookly-js-slot-calendar",r).get(0),props:{datePicker:BooklyL10nGlobal.datePicker,date:L,startDate:moment(L).toDate(),limits:{start:n.date_min?new Date(n.date_min[0],n.date_min[1],n.date_min[2]):new Date,end:!!n.date_max&&new Date(n.date_max[0],n.date_max[1],n.date_max[2])},holidays:n.disabled_days,loadedMonths:s,loading:!1,border:!0,layout:My[t.form_id].datepicker_mode,disabledWeekDays:n.has_slots?[]:[0,1,2,3,4,5,6]}});function R(e,o){I.loading=!0,u.cancel(),lM({form_id:t.form_id,selected_date:e,dir:o}),C()}I.$on("change",(function(){moment(I.date).month()!==moment(L).month()?R(I.date,null):(m.html(P[I.date]).css("left","0"),w=0,x=0,k=null,A(),v.hide(),b.toggle(1!=f.length))})),I.$on("month-change",(function(e){R(I.year+"-"+(I.month<9?"0"+(I.month+1):I.month+1)+"-01",e.detail)})),m.html(P[L])}else{var D="";e.each(P,(function(e,t){D+=t})),m.html(D)}if(n.has_slots){o?Cp(r).call(r,".bookly-label-error").html(o):Cp(r).call(r,".bookly-label-error").hide(),(y=zf(e(window).height()/36,10))<4?y=4:y>10&&(y=10);var T=e(".bookly-time-step",r).hammer({swipe_velocity:.1});T.on("swipeleft",(function(){b.is(":visible")&&b.trigger("click")})),T.on("swiperight",(function(){v.is(":visible")&&v.trigger("click")})),b.on("click",(function(o){if(v.show(),f.eq(x+1).length)m.animate({left:(S?"+":"-")+(x+1)*k.width()},{duration:800}),k=f.eq(++x),h.animate({height:k.height()},{duration:800}),x+1!==f.length||$||b.hide();else if($){var n=e("> button:last",m);0===n.length&&0===(n=e(".bookly-column:hidden:last > button:last",m)).length&&(n=e(".bookly-column:last > button:last",m));var i={action:"bookly_render_next_time",form_id:t.form_id,last_slot:n.val()},a=Ly(this);Fy({type:"POST",data:i}).then((t=>{if(t.has_slots){$=t.has_more_slots;var o="";e.each(c(t.slots_data,t.selected_date),(function(e,t){o+=t}));var n=e(o),i=n.eq(0);e('button.bookly-day[value="'+i.attr("value")+'"]',r).length&&(n=n.not(":first")),m.append(n),A(),b.trigger("click")}else b.hide();a.stop()})).catch((e=>{b.hide(),a.stop()}))}})),v.on("click",(function(){b.show(),k=f.eq(--x),m.animate({left:(S?"+":"-")+x*k.width()},{duration:800}),h.animate({height:k.height()},{duration:800}),0===x&&v.hide()}))}function C(){e(".bookly-time-screen,.bookly-not-time-screen",r).addClass("bookly-spin-overlay");var t={lines:11,length:11,width:4,radius:5};f?new Spinner(t).spin(f.eq(x).get(0)):new Spinner(t).spin(e(".bookly-not-time-screen",r).get(0))}function A(){var o,n,i,a=e("> button",m),l=0,s=0;if(O)for(;a.length>0;)a.eq(0).hasClass("bookly-day")?(l=1,n=e('<div class="'+_+'" />'),(o=e(nm(a).call(a,0,1))).addClass("bookly-js-first-child"),n.append(o)):(l++,o=e(nm(a).call(a,0,1)),!a.length||a.eq(0).hasClass("bookly-day")?(o.addClass("bookly-last-child"),n.append(o),m.append(n)):n.append(o)),l>s&&(s=l);else for(;$?a.length>y:a.length;){n=e('<div class="'+_+'" />'),s=y,w%p!=0||a.eq(0).hasClass("bookly-day")||--s;for(var c=0;c<s&&(c+1!=s||!a.eq(0).hasClass("bookly-day"));++c)o=e(nm(a).call(a,0,1)),0==c?o.addClass("bookly-js-first-child"):c+1==s&&o.addClass("bookly-last-child"),n.append(o);m.append(n),++w}for(var u=e("> .bookly-column",m);$?u.length>=p:u.length;){i=e('<div class="bookly-time-screen"/>');for(c=0;c<p;++c){if(n=e(nm(u).call(u,0,1)),0==c){n.addClass("bookly-js-first-column");var b=Cp(n).call(n,".bookly-js-first-child");if(!b.hasClass("bookly-day")){var v=b.data("group"),x=e('button.bookly-day[value="'+v+'"]:last',r);n.prepend(x.clone())}}i.append(n)}m.append(i)}f=e(".bookly-time-screen",m),null===k&&(k=f.eq(0)),e("button.bookly-time-skip",r).off("click").on("click",(function(e){e.stopPropagation(),e.preventDefault(),Ly(this),My[t.form_id].no_extras||"after_step_time"!==My[t.form_id].step_extras?My[t.form_id].skip_steps.cart?rM({form_id:t.form_id,add_to_cart:!0}):iM({form_id:t.form_id,add_to_cart:!0,from_step:"time"}):sM({form_id:t.form_id})})),e("button.bookly-hour",r).off("click").on("click",(function(o){d.cancel(),o.stopPropagation(),o.preventDefault();var n=e(this),r={action:"bookly_session_save",form_id:t.form_id,slots:this.value};if(n.attr({"data-style":"zoom-in","data-spinner-color":"#333","data-spinner-size":"40"}),Ly(this),E)try{e.globalEval(E.next_button)}catch(o){}d.booklyAjax({type:"POST",data:r}).then((e=>{My[t.form_id].skip_steps.extras||"after_step_time"!=My[t.form_id].step_extras||My[t.form_id].no_extras?!bh(My[t.form_id].skip_steps)&&My[t.form_id].recurrence_enabled?aM({form_id:t.form_id}):My[t.form_id].skip_steps.cart?rM({form_id:t.form_id,add_to_cart:!0}):iM({form_id:t.form_id,add_to_cart:!0,from_step:"time"}):sM({form_id:t.form_id})}))})),e(".bookly-time-step",r).width(p*g),h.height(k.height())}function M(){if(m.html(D).css("left","0px"),w=0,x=0,k=null,g>0){let t=h.closest(".bookly-form").width();if(j){let o=e(".bookly-js-slot-calendar",r).width();p=zf(t>o+g+24?(t-o-24)/g:t/g,10)}else p=zf(t/g,10)}p>10&&(p=10),p=Math.max(p,1),A(),v.hide(),$||1!==f.length?b.show():b.hide()}Iy(r,t.form_id),"undefined"==typeof ResizeObserver||void 0===typeof ResizeObserver?M():(i=new ResizeObserver((function(){if(e(".bookly-time-step",r).length>0){let e=(new Date).getTime();if(e-a>200){let t=h.closest(".bookly-form").width();t!==l&&(M(),l=t,a=e)}}else i.disconnect()})),i.observe(r.get(0)))})).catch((e=>{eL({form_id:t.form_id})}))}function sM(t){var o={action:"bookly_render_extras"},n=My[t.form_id].$container;My[t.form_id].skip_steps.service&&My[t.form_id].use_client_time_zone&&(o.time_zone=My[t.form_id].timeZone,o.time_zone_offset=My[t.form_id].timeZoneOffset),e.extend(o,t),Fy({data:o}).then((o=>{BooklyL10n.csrf_token=o.csrf_token,n.html(o.html),Iy(n,t.form_id);let r,i,a=e(".bookly-js-next-step",n),l=e(".bookly-js-back-step",n),s=e(".bookly-js-go-to-cart",n),c=e(".bookly-js-extras-item",n),u=e(".bookly-js-extras-summary span",n),d=o.custom_js,f=new zy(o);var y=function(t,o){var n=Cp(t).call(t,"input"),r=Cp(t).call(t,".bookly-js-extras-total-price"),i=o*Of(t.data("price"));r.text(f.price(i)),n.val(o),Cp(t).call(t,".bookly-js-extras-thumb").toggleClass("bookly-extras-selected",o>0);var a=0;c.each((function(t,o){var n=e(this),r=n.closest(".bookly-js-extras-container").data("multiplier");a+=Of(n.data("price"))*Cp(n).call(n,"input").val()*r})),a?u.html(" + "+f.price(a)):u.html("")};c.each((function(t,o){var n,r,i,a=e(this),l=Cp(a).call(a,"input");e(".bookly-js-extras-thumb",a).on("click",(function(){y(a,l.val()>a.data("min_quantity")?a.data("min_quantity"):"0"==a.data("min_quantity")?1:a.data("min_quantity"))})).keypress((function(e){e.preventDefault(),13!=e.which&&32!=e.which||y(a,l.val()>a.data("min_quantity")?a.data("min_quantity"):"0"==a.data("min_quantity")?1:a.data("min_quantity"))})),Cp(a).call(a,".bookly-js-count-control").on("click",(function(){var t=zf(l.val());t=e(this).hasClass("bookly-js-extras-increment")?Math.min(a.data("max_quantity"),t+1):Math.max(a.data("min_quantity"),t-1),y(a,t)})),n=l.get(0),r=function(e){let t=/^\d*$/.test(e)&&(""===e||zf(e)<=a.data("max_quantity")&&zf(e)>=a.data("min_quantity"));return t&&y(a,""===e?a.data("min_quantity"):zf(e)),t},Eh(i=["input","keydown","keyup","mousedown","mouseup","select","contextmenu","drop"]).call(i,(function(e){n.addEventListener(e,(function(){r(this.value)?(this.oldValue=this.value,this.oldSelectionStart=this.selectionStart,this.oldSelectionEnd=this.selectionEnd):this.hasOwnProperty("oldValue")?(this.value=this.oldValue,this.setSelectionRange(this.oldSelectionStart,this.oldSelectionEnd)):this.value=""}))})),y(a,l.val())})),s.on("click",(function(e){e.stopPropagation(),e.preventDefault(),Ly(this),iM({form_id:t.form_id,from_step:"extras"})})),a.on("click",(function(o){if(o.stopPropagation(),o.preventDefault(),Ly(this),d)try{e.globalEval(d.next_button)}catch(o){}var a={};e(".bookly-js-extras-container",n).each((function(){var t=e(this),o=t.data("chain"),n={};Cp(t).call(t,".bookly-js-extras-item").each((function(t,o){r=e(this),i=Cp(r).call(r,"input"),i.val()>0&&(n[r.data("id")]=i.val())})),a[o]=fh(n)})),Fy({type:"POST",data:{action:"bookly_session_save",form_id:t.form_id,extras:a}}).then((e=>{"before_step_time"!=My[t.form_id].step_extras||My[t.form_id].skip_steps.time?!bh(My[t.form_id].skip_steps)&&My[t.form_id].recurrence_enabled?aM({form_id:t.form_id}):My[t.form_id].skip_steps.cart?rM({form_id:t.form_id,add_to_cart:!0}):iM({form_id:t.form_id,add_to_cart:!0,from_step:"time"}):lM({form_id:t.form_id,prev_step:"extras"})}))})),l.on("click",(function(e){e.stopPropagation(),e.preventDefault(),Ly(this),"after_step_time"!=My[t.form_id].step_extras||My[t.form_id].no_time?eL({form_id:t.form_id}):lM({form_id:t.form_id,prev_step:"extras"})}))}))}var cM=P,uM=n,dM=c,fM=Nn,yM=_r,pM=Q,hM=dM(C.f),mM=dM([].push),bM=cM&&uM((function(){var e=Object.create(null);return e[2]=2,!hM(e,2)})),vM=function(e){return function(t){for(var o,n=pM(t),r=yM(n),i=bM&&null===fM(n),a=r.length,l=0,s=[];a>l;)o=r[l++],cM&&!(i?o in n:hM(n,o))||mM(s,e?[o,n[o]]:n[o]);return s}},kM={entries:vM(!0),values:vM(!1)}.values;So({target:"Object",stat:!0},{values:function(e){return kM(e)}});var gM=o(K.Object.values);function _M(e,t,o){const n=hy(e).call(e);return n[11]=t[o],n}function wM(e){let t,o,n,r=e[3].name+"";return{c(){t=uC("option"),o=fC(r),t.__value=n=e[3].id,kC(t,t.__value)},m(e,n){lC(e,t,n),rC(t,o)},p(e,i){8&i&&r!==(r=e[3].name+"")&&vC(o,r),8&i&&n!==(n=e[3].id)&&(t.__value=n,kC(t,t.__value))},d(e){e&&sC(t)}}}function xM(e){let t,o,n,r=e[11].name+"";return{c(){t=uC("option"),o=fC(r),t.__value=n=e[11].id,kC(t,t.__value)},m(e,n){lC(e,t,n),rC(t,o)},p(e,i){16&i&&r!==(r=e[11].name+"")&&vC(o,r),16&i&&n!==(n=e[11].id)&&(t.__value=n,kC(t,t.__value))},d(e){e&&sC(t)}}}function $M(e){let t,o=!e[11].hidden&&xM(e);return{c(){o&&o.c(),t=pC()},m(e,n){o&&o.m(e,n),lC(e,t,n)},p(e,n){e[11].hidden?o&&(o.d(1),o=null):o?o.p(e,n):(o=xM(e),o.c(),o.m(t.parentNode,t))},d(e){e&&sC(t),o&&o.d(e)}}}function jM(e){let t,o;return{c(){t=uC("div"),o=fC(e[5]),bC(t,"class","bookly-label-error")},m(e,n){lC(e,t,n),rC(t,o)},p(e,t){32&t&&vC(o,e[5])},d(e){e&&sC(t)}}}function SM(e){let t,o,n,r,i,a,l,s,c,u,d=e[3]&&wM(e),f=tA(e[4]),y=[];for(let t=0;t<f.length;t+=1)y[t]=$M(_M(e,f,t));let p=e[5]&&jM(e);return{c(){t=uC("label"),o=fC(e[2]),n=yC(),r=uC("div"),i=uC("select"),d&&d.c(),a=pC();for(let e=0;e<y.length;e+=1)y[e].c();l=yC(),p&&p.c(),s=pC(),bC(t,"for","bookly-rnd-"+e[6]),bC(i,"id","bookly-rnd-"+e[6]),void 0===e[1]&&FC((()=>e[9].call(i)))},m(f,h){lC(f,t,h),rC(t,o),e[8](t),lC(f,n,h),lC(f,r,h),rC(r,i),d&&d.m(i,null),rC(i,a);for(let e=0;e<y.length;e+=1)y[e]&&y[e].m(i,null);gC(i,e[1],!0),lC(f,l,h),p&&p.m(f,h),lC(f,s,h),c||(u=[hC(i,"change",e[9]),hC(i,"change",e[7])],c=!0)},p(e,t){let[n]=t;if(4&n&&vC(o,e[2]),e[3]?d?d.p(e,n):(d=wM(e),d.c(),d.m(i,a)):d&&(d.d(1),d=null),16&n){let t;for(f=tA(e[4]),t=0;t<f.length;t+=1){const o=_M(e,f,t);y[t]?y[t].p(o,n):(y[t]=$M(o),y[t].c(),y[t].m(i,null))}for(;t<y.length;t+=1)y[t].d(1);y.length=f.length}26&n&&gC(i,e[1]),e[5]?p?p.p(e,n):(p=jM(e),p.c(),p.m(s.parentNode,s)):p&&(p.d(1),p=null)},i:TE,o:TE,d(o){o&&(sC(t),sC(n),sC(r),sC(l),sC(s)),e[8](null),d&&d.d(),cC(y,o),p&&p.d(o),c=!1,IE(u)}}}function OM(e,t){return e.pos<t.pos?-1:e.pos>t.pos?1:0}function PM(e,t,o){let{el:n=null}=t,{label:r=""}=t,{placeholder:i=null}=t,{items:a=[]}=t,{selected:l=""}=t,{error:s=null}=t,c=Math.random().toString(36).substr(2,9);const u=EC();return e.$$set=e=>{"el"in e&&o(0,n=e.el),"label"in e&&o(2,r=e.label),"placeholder"in e&&o(3,i=e.placeholder),"items"in e&&o(4,a=e.items),"selected"in e&&o(1,l=e.selected),"error"in e&&o(5,s=e.error)},e.$$.update=()=>{16&e.$$.dirty&&VD(a).call(a,OM)},[n,l,r,i,a,s,c,function(){u("change",l)},function(e){CC[e?"unshift":"push"]((()=>{n=e,o(0,n)}))},function(){l=function(e){const t=e.querySelector(":checked");return t&&t.__value}(this),o(1,l),o(4,a),o(3,i)}]}class EM extends bA{constructor(e){super(),mA(this,e,PM,SM,FE,{el:0,label:2,placeholder:3,items:4,selected:1,error:5})}}function DM(e){let t,o,n,r;function i(t){e[66](t)}let a={label:e[16].location_label,placeholder:e[30],items:gM(e[0]),selected:e[17],error:e[34]};return void 0!==e[35]&&(a.el=e[35]),o=new EM({props:a}),CC.push((()=>fA(o,"el",i))),o.$on("change",e[40]),{c(){t=uC("div"),yA(o.$$.fragment),bC(t,"class","bookly-form-group"),bC(t,"data-type","location")},m(e,n){lC(e,t,n),pA(o,t,null),r=!0},p(e,t){const r={};65536&t[0]&&(r.label=e[16].location_label),1073741824&t[0]&&(r.placeholder=e[30]),1&t[0]&&(r.items=gM(e[0])),131072&t[0]&&(r.selected=e[17]),8&t[1]&&(r.error=e[34]),!n&&16&t[1]&&(n=!0,r.el=e[35],NC((()=>n=!1))),o.$set(r)},i(e){r||(JC(o.$$.fragment,e),r=!0)},o(e){XC(o.$$.fragment,e),r=!1},d(e){e&&sC(t),hA(o)}}}function TM(e){let t,o,n,r,i,a=e[4]&&e[18]&&e[1][e[18]].hasOwnProperty("info")&&""!==e[1][e[18]].info;o=new EM({props:{label:e[16].category_label,placeholder:e[31],items:gM(e[26]),selected:e[18]}}),o.$on("change",e[41]);let l=a&&CM(e);return{c(){t=uC("div"),yA(o.$$.fragment),n=yC(),l&&l.c(),r=pC(),bC(t,"class","bookly-form-group"),bC(t,"data-type","category")},m(e,a){lC(e,t,a),pA(o,t,null),lC(e,n,a),l&&l.m(e,a),lC(e,r,a),i=!0},p(e,t){const n={};65536&t[0]&&(n.label=e[16].category_label),1&t[1]&&(n.placeholder=e[31]),67108864&t[0]&&(n.items=gM(e[26])),262144&t[0]&&(n.selected=e[18]),o.$set(n),262162&t[0]&&(a=e[4]&&e[18]&&e[1][e[18]].hasOwnProperty("info")&&""!==e[1][e[18]].info),a?l?(l.p(e,t),262162&t[0]&&JC(l,1)):(l=CM(e),l.c(),JC(l,1),l.m(r.parentNode,r)):l&&(ZC(),XC(l,1,1,(()=>{l=null})),QC())},i(e){i||(JC(o.$$.fragment,e),JC(l),i=!0)},o(e){XC(o.$$.fragment,e),XC(l),i=!1},d(e){e&&(sC(t),sC(n),sC(r)),hA(o),l&&l.d(e)}}}function CM(e){let t,o,n,r=e[1][e[18]].info+"";return{c(){t=uC("div"),bC(t,"class","bookly-box bookly-visible-sm bookly-category-info")},m(e,o){lC(e,t,o),t.innerHTML=r,n=!0},p(e,o){(!n||262146&o[0])&&r!==(r=e[1][e[18]].info+"")&&(t.innerHTML=r)},i(e){n||(e&&FC((()=>{n&&(o||(o=eA(t,kA,{},!0)),o.run(1))})),n=!0)},o(e){e&&(o||(o=eA(t,kA,{},!1)),o.run(0)),n=!1},d(e){e&&sC(t),e&&o&&o.end()}}}function AM(e){let t,o,n,r,i,a,l=e[5]&&e[19]&&e[2][e[19]].hasOwnProperty("info")&&""!==e[2][e[19]].info;function s(t){e[67](t)}let c={label:e[16].service_label,placeholder:e[32],items:gM(e[27]),selected:e[19],error:e[36]};void 0!==e[37]&&(c.el=e[37]),o=new EM({props:c}),CC.push((()=>fA(o,"el",s))),o.$on("change",e[42]);let u=l&&MM(e);return{c(){t=uC("div"),yA(o.$$.fragment),r=yC(),u&&u.c(),i=pC(),bC(t,"class","bookly-form-group"),bC(t,"data-type","service")},m(e,n){lC(e,t,n),pA(o,t,null),lC(e,r,n),u&&u.m(e,n),lC(e,i,n),a=!0},p(e,t){const r={};65536&t[0]&&(r.label=e[16].service_label),2&t[1]&&(r.placeholder=e[32]),134217728&t[0]&&(r.items=gM(e[27])),524288&t[0]&&(r.selected=e[19]),32&t[1]&&(r.error=e[36]),!n&&64&t[1]&&(n=!0,r.el=e[37],NC((()=>n=!1))),o.$set(r),524324&t[0]&&(l=e[5]&&e[19]&&e[2][e[19]].hasOwnProperty("info")&&""!==e[2][e[19]].info),l?u?(u.p(e,t),524324&t[0]&&JC(u,1)):(u=MM(e),u.c(),JC(u,1),u.m(i.parentNode,i)):u&&(ZC(),XC(u,1,1,(()=>{u=null})),QC())},i(e){a||(JC(o.$$.fragment,e),JC(u),a=!0)},o(e){XC(o.$$.fragment,e),XC(u),a=!1},d(e){e&&(sC(t),sC(r),sC(i)),hA(o),u&&u.d(e)}}}function MM(e){let t,o,n,r=e[2][e[19]].info+"";return{c(){t=uC("div"),bC(t,"class","bookly-box bookly-visible-sm bookly-service-info")},m(e,o){lC(e,t,o),t.innerHTML=r,n=!0},p(e,o){(!n||524292&o[0])&&r!==(r=e[2][e[19]].info+"")&&(t.innerHTML=r)},i(e){n||(e&&FC((()=>{n&&(o||(o=eA(t,kA,{},!0)),o.run(1))})),n=!0)},o(e){e&&(o||(o=eA(t,kA,{},!1)),o.run(0)),n=!1},d(e){e&&sC(t),e&&o&&o.end()}}}function LM(e){let t,o,n,r,i,a,l=e[6]&&e[20]&&e[3][e[20]].hasOwnProperty("info")&&""!==e[3][e[20]].info;function s(t){e[68](t)}let c={label:e[16].staff_label,placeholder:e[33],items:gM(e[23]),selected:e[20],error:e[38]};void 0!==e[39]&&(c.el=e[39]),o=new EM({props:c}),CC.push((()=>fA(o,"el",s))),o.$on("change",e[43]);let u=l&&IM(e);return{c(){t=uC("div"),yA(o.$$.fragment),r=yC(),u&&u.c(),i=pC(),bC(t,"class","bookly-form-group"),bC(t,"data-type","staff")},m(e,n){lC(e,t,n),pA(o,t,null),lC(e,r,n),u&&u.m(e,n),lC(e,i,n),a=!0},p(e,t){const r={};65536&t[0]&&(r.label=e[16].staff_label),4&t[1]&&(r.placeholder=e[33]),8388608&t[0]&&(r.items=gM(e[23])),1048576&t[0]&&(r.selected=e[20]),128&t[1]&&(r.error=e[38]),!n&&256&t[1]&&(n=!0,r.el=e[39],NC((()=>n=!1))),o.$set(r),1048648&t[0]&&(l=e[6]&&e[20]&&e[3][e[20]].hasOwnProperty("info")&&""!==e[3][e[20]].info),l?u?(u.p(e,t),1048648&t[0]&&JC(u,1)):(u=IM(e),u.c(),JC(u,1),u.m(i.parentNode,i)):u&&(ZC(),XC(u,1,1,(()=>{u=null})),QC())},i(e){a||(JC(o.$$.fragment,e),JC(u),a=!0)},o(e){XC(o.$$.fragment,e),XC(u),a=!1},d(e){e&&(sC(t),sC(r),sC(i)),hA(o),u&&u.d(e)}}}function IM(e){let t,o,n,r=e[3][e[20]].info+"";return{c(){t=uC("div"),bC(t,"class","bookly-box bookly-visible-sm bookly-staff-info")},m(e,o){lC(e,t,o),t.innerHTML=r,n=!0},p(e,o){(!n||1048584&o[0])&&r!==(r=e[3][e[20]].info+"")&&(t.innerHTML=r)},i(e){n||(e&&FC((()=>{n&&(o||(o=eA(t,kA,{},!0)),o.run(1))})),n=!0)},o(e){e&&(o||(o=eA(t,kA,{},!1)),o.run(0)),n=!1},d(e){e&&sC(t),e&&o&&o.end()}}}function RM(e){let t,o,n;return o=new EM({props:{label:e[16].duration_label,items:gM(e[24]),selected:e[21]}}),o.$on("change",e[44]),{c(){t=uC("div"),yA(o.$$.fragment),bC(t,"class","bookly-form-group"),bC(t,"data-type","duration")},m(e,r){lC(e,t,r),pA(o,t,null),n=!0},p(e,t){const n={};65536&t[0]&&(n.label=e[16].duration_label),16777216&t[0]&&(n.items=gM(e[24])),2097152&t[0]&&(n.selected=e[21]),o.$set(n)},i(e){n||(JC(o.$$.fragment,e),n=!0)},o(e){XC(o.$$.fragment,e),n=!1},d(e){e&&sC(t),hA(o)}}}function FM(e){let t,o,n;return o=new EM({props:{label:e[16].nop_label,items:gM(e[28]),selected:e[22]}}),o.$on("change",e[45]),{c(){t=uC("div"),yA(o.$$.fragment),bC(t,"class","bookly-form-group"),bC(t,"data-type","nop")},m(e,r){lC(e,t,r),pA(o,t,null),n=!0},p(e,t){const n={};65536&t[0]&&(n.label=e[16].nop_label),268435456&t[0]&&(n.items=gM(e[28])),4194304&t[0]&&(n.selected=e[22]),o.$set(n)},i(e){n||(JC(o.$$.fragment,e),n=!0)},o(e){XC(o.$$.fragment,e),n=!1},d(e){e&&sC(t),hA(o)}}}function NM(e){let t,o,n;return o=new EM({props:{label:e[16].quantity_label,items:gM(e[29]),selected:e[25]}}),o.$on("change",e[46]),{c(){t=uC("div"),yA(o.$$.fragment),bC(t,"class","bookly-form-group"),bC(t,"data-type","quantity")},m(e,r){lC(e,t,r),pA(o,t,null),n=!0},p(e,t){const n={};65536&t[0]&&(n.label=e[16].quantity_label),536870912&t[0]&&(n.items=gM(e[29])),33554432&t[0]&&(n.selected=e[25]),o.$set(n)},i(e){n||(JC(o.$$.fragment,e),n=!0)},o(e){XC(o.$$.fragment,e),n=!1},d(e){e&&sC(t),hA(o)}}}function zM(e){let t,o,n,r,i=e[15]&&BM(e);return{c(){t=uC("div"),o=uC("label"),n=yC(),r=uC("div"),i&&i.c(),bC(t,"class","bookly-form-group bookly-chain-actions")},m(e,a){lC(e,t,a),rC(t,o),rC(t,n),rC(t,r),i&&i.m(r,null)},p(e,t){e[15]?i?i.p(e,t):(i=BM(e),i.c(),i.m(r,null)):i&&(i.d(1),i=null)},d(e){e&&sC(t),i&&i.d()}}}function BM(e){let t,o,n;return{c(){t=uC("button"),t.innerHTML='<i class="bookly-icon-sm bookly-icon-drop"></i>',bC(t,"class","bookly-round")},m(r,i){lC(r,t,i),o||(n=hC(t,"click",e[47]),o=!0)},p:TE,d(e){e&&sC(t),o=!1,n()}}}function qM(e){let t,o,n,r=e[1][e[18]].info+"";return{c(){t=uC("div"),bC(t,"class","bookly-box bookly-visible-md bookly-category-info")},m(e,o){lC(e,t,o),t.innerHTML=r,n=!0},p(e,o){(!n||262146&o[0])&&r!==(r=e[1][e[18]].info+"")&&(t.innerHTML=r)},i(e){n||(e&&FC((()=>{n&&(o||(o=eA(t,kA,{},!0)),o.run(1))})),n=!0)},o(e){e&&(o||(o=eA(t,kA,{},!1)),o.run(0)),n=!1},d(e){e&&sC(t),e&&o&&o.end()}}}function GM(e){let t,o,n,r=e[2][e[19]].info+"";return{c(){t=uC("div"),bC(t,"class","bookly-box bookly-visible-md bookly-service-info")},m(e,o){lC(e,t,o),t.innerHTML=r,n=!0},p(e,o){(!n||524292&o[0])&&r!==(r=e[2][e[19]].info+"")&&(t.innerHTML=r)},i(e){n||(e&&FC((()=>{n&&(o||(o=eA(t,kA,{},!0)),o.run(1))})),n=!0)},o(e){e&&(o||(o=eA(t,kA,{},!1)),o.run(0)),n=!1},d(e){e&&sC(t),e&&o&&o.end()}}}function YM(e){let t,o,n,r=e[3][e[20]].info+"";return{c(){t=uC("div"),bC(t,"class","bookly-box bookly-visible-md bookly-staff-info")},m(e,o){lC(e,t,o),t.innerHTML=r,n=!0},p(e,o){(!n||1048584&o[0])&&r!==(r=e[3][e[20]].info+"")&&(t.innerHTML=r)},i(e){n||(e&&FC((()=>{n&&(o||(o=eA(t,kA,{},!0)),o.run(1))})),n=!0)},o(e){e&&(o||(o=eA(t,kA,{},!1)),o.run(0)),n=!1},d(e){e&&sC(t),e&&o&&o.end()}}}function WM(e){let t,o,n,r,i,a,l,s,c,u,d,f,y,p=e[4]&&e[18]&&e[1][e[18]].hasOwnProperty("info")&&""!==e[1][e[18]].info,h=e[5]&&e[19]&&e[2][e[19]].hasOwnProperty("info")&&""!==e[2][e[19]].info,m=e[6]&&e[20]&&e[3][e[20]].hasOwnProperty("info")&&""!==e[3][e[20]].info,b=e[7]&&DM(e),v=e[8]&&TM(e),k=e[9]&&AM(e),g=e[10]&&LM(e),_=e[11]&&RM(e),w=e[12]&&FM(e),x=e[13]&&NM(e),$=e[14]&&zM(e),j=p&&qM(e),S=h&&GM(e),O=m&&YM(e);return{c(){t=uC("div"),b&&b.c(),o=yC(),v&&v.c(),n=yC(),k&&k.c(),r=yC(),g&&g.c(),i=yC(),_&&_.c(),a=yC(),w&&w.c(),l=yC(),x&&x.c(),s=yC(),$&&$.c(),c=yC(),j&&j.c(),u=yC(),S&&S.c(),d=yC(),O&&O.c(),f=pC(),bC(t,"class","bookly-table bookly-box")},m(e,p){lC(e,t,p),b&&b.m(t,null),rC(t,o),v&&v.m(t,null),rC(t,n),k&&k.m(t,null),rC(t,r),g&&g.m(t,null),rC(t,i),_&&_.m(t,null),rC(t,a),w&&w.m(t,null),rC(t,l),x&&x.m(t,null),rC(t,s),$&&$.m(t,null),lC(e,c,p),j&&j.m(e,p),lC(e,u,p),S&&S.m(e,p),lC(e,d,p),O&&O.m(e,p),lC(e,f,p),y=!0},p(e,c){e[7]?b?(b.p(e,c),128&c[0]&&JC(b,1)):(b=DM(e),b.c(),JC(b,1),b.m(t,o)):b&&(ZC(),XC(b,1,1,(()=>{b=null})),QC()),e[8]?v?(v.p(e,c),256&c[0]&&JC(v,1)):(v=TM(e),v.c(),JC(v,1),v.m(t,n)):v&&(ZC(),XC(v,1,1,(()=>{v=null})),QC()),e[9]?k?(k.p(e,c),512&c[0]&&JC(k,1)):(k=AM(e),k.c(),JC(k,1),k.m(t,r)):k&&(ZC(),XC(k,1,1,(()=>{k=null})),QC()),e[10]?g?(g.p(e,c),1024&c[0]&&JC(g,1)):(g=LM(e),g.c(),JC(g,1),g.m(t,i)):g&&(ZC(),XC(g,1,1,(()=>{g=null})),QC()),e[11]?_?(_.p(e,c),2048&c[0]&&JC(_,1)):(_=RM(e),_.c(),JC(_,1),_.m(t,a)):_&&(ZC(),XC(_,1,1,(()=>{_=null})),QC()),e[12]?w?(w.p(e,c),4096&c[0]&&JC(w,1)):(w=FM(e),w.c(),JC(w,1),w.m(t,l)):w&&(ZC(),XC(w,1,1,(()=>{w=null})),QC()),e[13]?x?(x.p(e,c),8192&c[0]&&JC(x,1)):(x=NM(e),x.c(),JC(x,1),x.m(t,s)):x&&(ZC(),XC(x,1,1,(()=>{x=null})),QC()),e[14]?$?$.p(e,c):($=zM(e),$.c(),$.m(t,null)):$&&($.d(1),$=null),262162&c[0]&&(p=e[4]&&e[18]&&e[1][e[18]].hasOwnProperty("info")&&""!==e[1][e[18]].info),p?j?(j.p(e,c),262162&c[0]&&JC(j,1)):(j=qM(e),j.c(),JC(j,1),j.m(u.parentNode,u)):j&&(ZC(),XC(j,1,1,(()=>{j=null})),QC()),524324&c[0]&&(h=e[5]&&e[19]&&e[2][e[19]].hasOwnProperty("info")&&""!==e[2][e[19]].info),h?S?(S.p(e,c),524324&c[0]&&JC(S,1)):(S=GM(e),S.c(),JC(S,1),S.m(d.parentNode,d)):S&&(ZC(),XC(S,1,1,(()=>{S=null})),QC()),1048648&c[0]&&(m=e[6]&&e[20]&&e[3][e[20]].hasOwnProperty("info")&&""!==e[3][e[20]].info),m?O?(O.p(e,c),1048648&c[0]&&JC(O,1)):(O=YM(e),O.c(),JC(O,1),O.m(f.parentNode,f)):O&&(ZC(),XC(O,1,1,(()=>{O=null})),QC())},i(e){y||(JC(b),JC(v),JC(k),JC(g),JC(_),JC(w),JC(x),JC(j),JC(S),JC(O),y=!0)},o(e){XC(b),XC(v),XC(k),XC(g),XC(_),XC(w),XC(x),XC(j),XC(S),XC(O),y=!1},d(e){e&&(sC(t),sC(c),sC(u),sC(d),sC(f)),b&&b.d(),v&&v.d(),k&&k.d(),g&&g.d(),_&&_.d(),w&&w.d(),x&&x.d(),$&&$.d(),j&&j.d(e),S&&S.d(e),O&&O.d(e)}}}function HM(t,o,n){let{item:r={}}=o,{index:i=0}=o,{locations:a=[]}=o,{categories:l=[]}=o,{services:s=[]}=o,{staff:c=[]}=o,{defaults:u={}}=o,{required:d={}}=o,{servicesPerLocation:f=!1}=o,{staffNameWithPrice:y=!1}=o,{collaborativeHideStaff:p=!1}=o,{showRatings:h=!1}=o,{showCategoryInfo:m=!1}=o,{showServiceInfo:b=!1}=o,{showStaffInfo:v=!1}=o,{maxQuantity:k=1}=o,{hasLocationSelect:g=!1}=o,{hasCategorySelect:_=!0}=o,{hasServiceSelect:w=!0}=o,{hasStaffSelect:x=!0}=o,{hasDurationSelect:$=!1}=o,{hasNopSelect:j=!1}=o,{hasQuantitySelect:S=!1}=o,{hasDropBtn:O=!1}=o,{showDropBtn:P=!1}=o,{l10n:E={}}=o,{date_from_element:D=null}=o;const T=EC();let C,A,M,L,I,R,F,N,z,B,q,G,Y,W,H,V,U,Z,Q,J,X,K,ee=0,te=0,oe=0,ne=0,re=1,ie=1,ae=1;function le(t){if(n(17,ee=t.detail),ee in a||n(17,ee=0),0!=ee&&n(34,q=null),ee){let t=f?ee:0;if(ne&&(ne in a[ee].staff?oe&&!(t in c[ne].services[oe].locations)&&n(20,ne=0):n(20,ne=0)),oe){let o=!1;e.each(a[ee].staff,(e=>{if(oe in c[e].services&&t in c[e].services[oe].locations)return o=!0,!1})),o||n(19,oe=0)}if(te){let t=!1;e.each(a[ee].staff,(o=>{if(e.each(c[o].services,(e=>{if(s[e].category_id===te)return t=!0,!1})),t)return!1})),t||n(18,te=0)}}}function se(t){if(n(18,te=t.detail),te in C||n(18,te=0),te){if(n(61,Z=!0),oe&&s[oe].category_id!==te&&n(19,oe=0),ne){let t=!1;e.each(c[ne].services,(e=>{if(s[e].category_id===te)return t=!0,!1})),t||n(20,ne=0)}}else n(61,Z=!1)}function ce(e){let t=!1;n(65,K=!1),n(64,X=!1),n(19,oe=e.detail),oe in A||n(19,oe=0),oe?(n(18,te=s[oe].category_id),ne&&!(oe in c[ne].services)&&n(20,ne=0),D[0]&&(t=s[oe].hasOwnProperty("min_time_prior_booking")?s[oe].min_time_prior_booking:D.data("date_min")),n(36,Y=null)):Z||(n(18,te=0),D[0]&&(t=D.data("date_min"))),T("changeMinDate",t)}function ue(e){n(20,ne=e.detail),ne in M||n(20,ne=0),0!=ne&&n(38,H=null)}function de(e){n(21,re=e.detail),re in L||n(21,re=1)}function fe(e){n(22,ie=e.detail),ie in I||n(22,ie=1)}function ye(e){n(25,ae=e.detail),ae in R||n(25,ae=1)}return(RC(),LC).then((()=>{let e=r.location_id||u.location_id;e&&le({detail:e})})).then((()=>{u.category_id&&se({detail:u.category_id})})).then((()=>{let e=r.service_id||u.service_id;e&&ce({detail:e})})).then((()=>{let e;e=x&&r.staff_ids&&r.staff_ids.length?r.staff_ids.length>1?0:r.staff_ids[0]:u.staff_id,e&&ue({detail:e})})).then((()=>{r.units>1&&de({detail:r.units})})).then((()=>{r.number_of_persons>1&&fe({detail:r.number_of_persons})})).then((()=>{r.quantity>1&&ye({detail:r.quantity})})),t.$$set=e=>{"item"in e&&n(48,r=e.item),"index"in e&&n(49,i=e.index),"locations"in e&&n(0,a=e.locations),"categories"in e&&n(1,l=e.categories),"services"in e&&n(2,s=e.services),"staff"in e&&n(3,c=e.staff),"defaults"in e&&n(50,u=e.defaults),"required"in e&&n(51,d=e.required),"servicesPerLocation"in e&&n(52,f=e.servicesPerLocation),"staffNameWithPrice"in e&&n(53,y=e.staffNameWithPrice),"collaborativeHideStaff"in e&&n(54,p=e.collaborativeHideStaff),"showRatings"in e&&n(55,h=e.showRatings),"showCategoryInfo"in e&&n(4,m=e.showCategoryInfo),"showServiceInfo"in e&&n(5,b=e.showServiceInfo),"showStaffInfo"in e&&n(6,v=e.showStaffInfo),"maxQuantity"in e&&n(56,k=e.maxQuantity),"hasLocationSelect"in e&&n(7,g=e.hasLocationSelect),"hasCategorySelect"in e&&n(8,_=e.hasCategorySelect),"hasServiceSelect"in e&&n(9,w=e.hasServiceSelect),"hasStaffSelect"in e&&n(10,x=e.hasStaffSelect),"hasDurationSelect"in e&&n(11,$=e.hasDurationSelect),"hasNopSelect"in e&&n(12,j=e.hasNopSelect),"hasQuantitySelect"in e&&n(13,S=e.hasQuantitySelect),"hasDropBtn"in e&&n(14,O=e.hasDropBtn),"showDropBtn"in e&&n(15,P=e.showDropBtn),"l10n"in e&&n(16,E=e.l10n),"date_from_element"in e&&n(57,D=e.date_from_element)},t.$$.update=()=>{if(33493007&t.$$.dirty[0]|1675624448&t.$$.dirty[1]|15&t.$$.dirty[2]){if(n(60,U=f&&ee?ee:0),n(26,C={}),n(27,A={}),n(23,M={}),n(28,I={}),e.each(c,((t,o)=>{ee&&!(t in a[ee].staff)||(oe?oe in o.services&&e.each(o.services[oe].locations,((r,i)=>{if(U&&U!==zf(r))return!0;n(65,K=K?Math.min(K,i.min_capacity):i.min_capacity),n(64,X=X?Math.max(X,i.max_capacity):i.max_capacity),n(23,M[t]=e.extend({},o,{name:o.name+(!y||null===i.price||!U&&f?"":" ("+i.price+")"),hidden:p&&"collaborative"===s[oe].type}),M),p&&"collaborative"===s[oe].type&&n(20,ne=0)})):te?e.each(o.services,(r=>{if(s[r].category_id===te)return n(23,M[t]=e.extend({},o),M),!1})):n(23,M[t]=e.extend({},o),M))})),h&&e.each(c,((e,t)=>{t.id in M&&(oe?oe in t.services&&t.services[oe].rating&&n(23,M[t.id].name="★"+t.services[oe].rating+" "+M[t.id].name,M):t.rating&&n(23,M[t.id].name="★"+t.rating+" "+M[t.id].name,M))})),ee){let t=[],o=[];f?e.each(c,(n=>{e.each(c[n].services,(e=>{U in c[n].services[e].locations&&(t.push(s[e].category_id),o.push(e))}))})):e.each(a[ee].staff,(n=>{e.each(c[n].services,(e=>{t.push(s[e].category_id),o.push(e)}))})),e.each(l,((o,r)=>{e.inArray(zf(o),t)>-1&&n(26,C[o]=r,C)})),te&&-1===e.inArray(te,t)&&(n(18,te=0),n(61,Z=!1)),e.each(s,((t,r)=>{e.inArray(t,o)>-1&&(te&&Z&&r.category_id!==te||ne&&!(t in c[ne].services)||n(27,A[t]=r,A))}))}else n(26,C=l),e.each(s,((e,t)=>{te&&Z&&t.category_id!==te||ne&&!(e in c[ne].services)||n(27,A[e]=t,A)}));n(62,Q=oe?ne?U in c[ne].services[oe].locations?c[ne].services[oe].locations[U].max_capacity:1:X||1:1),n(63,J=oe?ne?U in c[ne].services[oe].locations?c[ne].services[oe].locations[U].min_capacity:1:K||1:1);for(let e=J;e<=Q;++e)n(28,I[e]={id:e,name:e},I);if(ie>Q&&n(22,ie=Q),(ie<J||!j)&&n(22,ie=J),n(24,L={1:{id:1,name:"-"}}),oe)if(!ne||f&&!ee)"units"in s[oe]&&n(24,L=s[oe].units);else{let e=ee||0,t=c[ne].services[oe].locations;if(t){let o=e in t?t[e]:t[0];"units"in o&&n(24,L=o.units)}}re in L||(Gm(L).length>0?n(21,re=gM(L)[0].id):n(21,re=1)),n(29,R={});for(let e=1;e<=k;++e)n(29,R[e]={id:e,name:e},R);n(30,F={id:0,name:E.location_option}),n(31,N={id:0,name:E.category_option}),n(32,z={id:0,name:E.service_option}),n(33,B={id:0,name:E.staff_option})}},[a,l,s,c,m,b,v,g,_,w,x,$,j,S,O,P,E,ee,te,oe,ne,re,ie,M,L,ae,C,A,I,R,F,N,z,B,q,G,Y,W,H,V,le,se,ce,ue,de,fe,ye,function(){T("dropItem",i)},r,i,u,d,f,y,p,h,k,D,function(){let e=!0,t=null;return n(38,H=n(36,Y=n(34,q=null))),!d.staff||ne||p&&oe&&"collaborative"===s[oe].type||(e=!1,n(38,H=E.staff_error),t=V),oe||(e=!1,n(36,Y=E.service_error),t=W),d.location&&!ee&&(e=!1,n(34,q=E.location_error),t=G),{valid:e,el:t}},function(){return{locationId:ee,categoryId:te,serviceId:oe,staffIds:ne?[ne]:Mm(e).call(e,M,(e=>e.id)),duration:re,nop:ie,quantity:ae}},U,Z,Q,J,X,K,function(e){G=e,n(35,G)},function(e){W=e,n(37,W)},function(e){V=e,n(39,V)}]}class VM extends bA{constructor(e){super(),mA(this,e,HM,WM,FE,{item:48,index:49,locations:0,categories:1,services:2,staff:3,defaults:50,required:51,servicesPerLocation:52,staffNameWithPrice:53,collaborativeHideStaff:54,showRatings:55,showCategoryInfo:4,showServiceInfo:5,showStaffInfo:6,maxQuantity:56,hasLocationSelect:7,hasCategorySelect:8,hasServiceSelect:9,hasStaffSelect:10,hasDurationSelect:11,hasNopSelect:12,hasQuantitySelect:13,hasDropBtn:14,showDropBtn:15,l10n:16,date_from_element:57,validate:58,getValues:59},null,[-1,-1,-1])}get validate(){return this.$$.ctx[58]}get getValues(){return this.$$.ctx[59]}}function UM(e,t,o){const n=hy(e).call(e);return n[11]=t[o],n[12]=t,n[13]=o,n}function ZM(e,t){let o,n,r,i=t[13];const a=[t[1],{item:t[11]},{index:t[13]},{hasDropBtn:t[2]},{showDropBtn:t[13]>0}],l=()=>t[9](n,i),s=()=>t[9](null,i);let c={};for(let e=0;e<a.length;e+=1)c=AE(c,a[e]);return n=new VM({props:c}),l(),n.$on("dropItem",t[6]),n.$on("changeMinDate",t[10]),{key:e,first:null,c(){o=pC(),yA(n.$$.fragment),this.first=o},m(e,t){lC(e,o,t),pA(n,e,t),r=!0},p(e,o){i!==(t=e)[13]&&(s(),i=t[13],l());const r=7&o?function(e,t){const o={},n={},r={$$scope:1};let i=e.length;for(;i--;){const a=e[i],l=t[i];if(l){for(const e in a)e in l||(n[e]=1);for(const e in l)r[e]||(o[e]=l[e],r[e]=1);e[i]=l}else for(const e in a)r[e]=1}for(const e in n)e in o||(o[e]=void 0);return o}(a,[2&o&&(c=t[1],"object"==typeof c&&null!==c?c:{}),1&o&&{item:t[11]},1&o&&{index:t[13]},4&o&&{hasDropBtn:t[2]},1&o&&{showDropBtn:t[13]>0}]):{};var c;n.$set(r)},i(e){r||(JC(n.$$.fragment,e),r=!0)},o(e){XC(n.$$.fragment,e),r=!1},d(e){e&&sC(o),s(),hA(n,e)}}}function QM(e){let t,o,n,r,i,a,l=e[1].l10n.add_service+"";return{c(){t=uC("div"),o=uC("button"),n=uC("span"),r=fC(l),bC(n,"class","ladda-label"),bC(o,"class","bookly-btn ladda-button"),bC(o,"data-style","zoom-in"),bC(o,"data-spinner-size","40"),bC(t,"class","bookly-box")},m(l,s){lC(l,t,s),rC(t,o),rC(o,n),rC(n,r),i||(a=hC(o,"click",e[5]),i=!0)},p(e,t){2&t&&l!==(l=e[1].l10n.add_service+"")&&vC(r,l)},d(e){e&&sC(t),i=!1,a()}}}function JM(e){let t,o,n,r=[],i=new fD,a=tA(e[0]);const l=e=>e[11];for(let t=0;t<a.length;t+=1){let o=UM(e,a,t),n=l(o);i.set(n,r[t]=ZM(n,o))}let s=e[2]&&QM(e);return{c(){for(let e=0;e<r.length;e+=1)r[e].c();t=yC(),s&&s.c(),o=pC()},m(e,i){for(let t=0;t<r.length;t+=1)r[t]&&r[t].m(e,i);lC(e,t,i),s&&s.m(e,i),lC(e,o,i),n=!0},p(e,n){let[c]=n;95&c&&(a=tA(e[0]),ZC(),r=function(e,t,o,n,r,i,a,l,s,c,u,d){let f=e.length,y=i.length,p=f;const h={};for(;p--;)h[e[p].key]=p;const m=[],b=new fD,v=new fD,k=[];for(p=y;p--;){const e=d(r,i,p),n=o(e);let l=a.get(n);l?k.push((()=>l.p(e,t))):(l=c(n,e),l.c()),b.set(n,m[p]=l),n in h&&v.set(n,Math.abs(p-h[n]))}const g=new DE,_=new DE;function w(e){JC(e,1),e.m(l,u),a.set(e.key,e),u=e.first,y--}for(;f&&y;){const t=m[y-1],o=e[f-1],n=t.key,r=o.key;t===o?(u=t.first,f--,y--):b.has(r)?!a.has(n)||g.has(n)?w(t):_.has(r)?f--:v.get(n)>v.get(r)?(_.add(n),w(t)):(g.add(r),f--):(s(o,a),f--)}for(;f--;){const t=e[f];b.has(t.key)||s(t,a)}for(;y;)w(m[y-1]);return IE(k),m}(r,c,l,0,e,a,i,t.parentNode,oA,ZM,t,UM),QC()),e[2]?s?s.p(e,c):(s=QM(e),s.c(),s.m(o.parentNode,o)):s&&(s.d(1),s=null)},i(e){if(!n){for(let e=0;e<a.length;e+=1)JC(r[e]);n=!0}},o(e){for(let e=0;e<r.length;e+=1)XC(r[e]);n=!1},d(e){e&&(sC(t),sC(o));for(let t=0;t<r.length;t+=1)r[t].d(e);s&&s.d(e)}}}function XM(e,t,o){let{items:n=[]}=t,{data:r={}}=t,{multiple:i=!1}=t,a=[];const l=EC();return e.$$set=e=>{"items"in e&&o(0,n=e.items),"data"in e&&o(1,r=e.data),"multiple"in e&&o(2,i=e.multiple)},[n,r,i,a,l,function(){n.push({}),o(0,n)},function(e){nm(n).call(n,e.detail,1),o(0,n),nm(a).call(a,e.detail,1)},function(){var e;return Mm(e=zm(a).call(a,(e=>!!e))).call(e,(e=>e.validate()))},function(){var e;return Mm(e=zm(a).call(a,(e=>!!e))).call(e,(e=>e.getValues()))},function(e,t){CC[e?"unshift":"push"]((()=>{a[t]=e,o(3,a)}))},e=>l("changeMinDate",e.detail)]}class KM extends bA{constructor(e){super(),mA(this,e,XM,JM,FE,{items:0,data:1,multiple:2,validate:7,getValues:8})}get validate(){return this.$$.ctx[7]}get getValues(){return this.$$.ctx[8]}}function eL(t){if(My[t.form_id].skip_steps.service)My[t.form_id].skip_steps.extras||"before_step_time"!=My[t.form_id].step_extras?lM(t):sM(t);else{var o={action:"bookly_render_service"},n=My[t.form_id].$container;My[t.form_id].use_client_time_zone&&(o.time_zone=My[t.form_id].timeZone,o.time_zone_offset=My[t.form_id].timeZoneOffset),e.extend(o,t),Fy({data:o}).then((o=>{BooklyL10n.csrf_token=o.csrf_token,n.html(o.html),Iy(n,t.form_id);var r=e(".bookly-js-chain",n),i=e(".bookly-js-date-from",n),a=e(".bookly-js-week-days",n),l=e(".bookly-js-select-time-from",n),s=e(".bookly-js-select-time-to",n),c=e(".bookly-js-next-step",n),u=e(".bookly-js-mobile-next-step",n),d=e(".bookly-js-mobile-prev-step",n),f=o.locations,y=o.categories,p=o.services,h=o.staff,m=o.chain,b=o.required,v=My[t.form_id].defaults,k=o.services_per_location||!1,g=o.service_name_with_duration,_=o.staff_name_with_price,w=o.collaborative_hide_staff,x=o.show_ratings,$=o.show_category_info,j=o.show_service_info,S=o.show_staff_info,O=o.max_quantity||1,P=o.multi_service||!1,E=o.l10n,D=o.custom_js;g&&e.each(p,(function(e,t){t.name=t.name+" ( "+t.duration+" )"}));let T=new KM({target:r.get(0),props:{items:m,data:{locations:f,categories:y,services:p,staff:h,defaults:v,required:b,servicesPerLocation:k,staffNameWithPrice:_,collaborativeHideStaff:w,showRatings:x,showCategoryInfo:$,showServiceInfo:j,showStaffInfo:S,maxQuantity:O,date_from_element:i,hasLocationSelect:!My[t.form_id].form_attributes.hide_locations,hasCategorySelect:!My[t.form_id].form_attributes.hide_categories,hasServiceSelect:!(My[t.form_id].form_attributes.hide_services&&v.service_id),hasStaffSelect:!My[t.form_id].form_attributes.hide_staff_members,hasDurationSelect:!My[t.form_id].form_attributes.hide_service_duration,hasNopSelect:My[t.form_id].form_attributes.show_number_of_persons,hasQuantitySelect:!My[t.form_id].form_attributes.hide_quantity,l10n:E},multiple:P}});T.$on("changeMinDate",(function(e){let t=new Date(e.detail[0],e.detail[1],e.detail[2]);var n,r;(C.limits={start:t,end:!!o.date_max&&new Date(o.date_max[0],o.date_max[1],o.date_max[2])},!i.data("changed")||t>new Date(i.val()))&&(C.date=e.detail[0]+"-"+sp(n=String(e.detail[1]+1)).call(n,2,"0")+"-"+sp(r=String(e.detail[2])).call(r,2,"0"),i.val(Ny(C.date)))})),i.data("date_min",o.date_min||!0);let C=new nM({target:e(".bookly-js-datepicker-calendar",n).get(0),props:{datePicker:BooklyL10nGlobal.datePicker,date:i.data("value"),startDate:new Date(i.data("value")),loading:!1,show:!1,border:!0,layout:My[t.form_id].datepicker_mode,limits:{start:o.date_min?new Date(o.date_min[0],o.date_min[1],o.date_min[2]):new Date,end:!!o.date_max&&new Date(o.date_max[0],o.date_max[1],o.date_max[2])}}});i.val(Ny(i.data("value"))),e(document).on("click",(function(t){0===e(t.target).closest(".bookly-js-available-date").length&&(C.show=!1)})),i.on("focus",(function(e){C.show=!0})),C.$on("change",(function(){C.show=!1,i.data("changed",!0),i.val(Ny(C.date))})),e(".bookly-js-go-to-cart",n).on("click",(function(e){e.stopPropagation(),e.preventDefault(),Ly(this),iM({form_id:t.form_id,from_step:"service"})})),My[t.form_id].form_attributes.hide_date&&e(".bookly-js-available-date",n).hide(),My[t.form_id].form_attributes.hide_week_days&&e(".bookly-js-week-days",n).hide(),My[t.form_id].form_attributes.hide_time_range&&e(".bookly-js-time-range",n).hide(),l.on("change",(function(){var t=e(this).val(),o=s.val(),n=e("option:last",l);s.empty(),l[0].selectedIndex<n.index()?e("option",this).each((function(){e(this).val()>t&&s.append(e(this).clone())})):s.append(n.clone()).val(n.val());var r=e("option:first",s).val();s.val(o>=r?o:r)}));let A=function(){let o=!0,n=null;return e(T.validate()).each((function(t,r){if(!r.valid){o=!1;let t=e(r.el);if(t.is(":visible"))return n=t,!1}})),i.removeClass("bookly-error"),i.val()||(o=!1,i.addClass("bookly-error"),null===n&&(n=i)),a.length&&!e(":checked",a).length?(o=!1,a.addClass("bookly-error"),null===n&&(n=a)):a.removeClass("bookly-error"),null!==n&&Iy(n,t.form_id),o};c.on("click",(function(o){if(o.stopPropagation(),o.preventDefault(),A()){if(Ly(this),D)try{e.globalEval(D.next_button)}catch(o){}let i=[],a=0,c=0,u=1,d={required:2,optional:1,off:0};e.each(T.getValues(),(function(e,t){let o=p[t.serviceId];i.push({location_id:t.locationId,service_id:t.serviceId,staff_ids:t.staffIds,units:t.duration,number_of_persons:t.nop,quantity:t.quantity}),c=Math.max(c,d[o.hasOwnProperty("time_requirements")?o.time_requirements:"required"]),u=Math.min(u,o.recurrence_enabled),a+=o.has_extras}));var r=[];e(".bookly-js-week-days input:checked",n).each((function(){r.push(this.value)})),Fy({type:"POST",data:{action:"bookly_session_save",form_id:t.form_id,chain:i,date_from:C.date,days:r,time_from:My[t.form_id].form_attributes.hide_time_range?null:l.val(),time_to:My[t.form_id].form_attributes.hide_time_range?null:s.val(),no_extras:0==a}}).then((e=>{My[t.form_id].no_time=0==c,My[t.form_id].no_extras=0==a,My[t.form_id].recurrence_enabled=1==u,My[t.form_id].skip_steps.extras||0==a||"after_step_time"==My[t.form_id].step_extras?lM({form_id:t.form_id}):sM({form_id:t.form_id})}))}})),u.on("click",(function(o){return o.stopPropagation(),o.preventDefault(),A()&&(My[t.form_id].skip_steps.service_part2?(Ly(this),c.trigger("click")):(e(".bookly-js-mobile-step-1",n).hide(),e(".bookly-stepper li:eq(1)",n).addClass("bookly-step-active"),e(".bookly-stepper li:eq(0)",n).removeClass("bookly-step-active"),e(".bookly-js-mobile-step-2",n).css("display","block"),Iy(n,t.form_id))),!1})),My[t.form_id].skip_steps.service_part1?(Ay((function(){My[t.form_id].scroll=!1,u.trigger("click"),e(".bookly-stepper li:eq(0)",n).addClass("bookly-step-active"),e(".bookly-stepper li:eq(1)",n).removeClass("bookly-step-active")}),0),d.remove()):d.on("click",(function(t){return t.stopPropagation(),t.preventDefault(),e(".bookly-js-mobile-step-1",n).show(),e(".bookly-js-mobile-step-2",n).hide(),e(".bookly-stepper li:eq(0)",n).addClass("bookly-step-active"),e(".bookly-stepper li:eq(1)",n).removeClass("bookly-step-active"),!1}))}))}}function tL(e,t,o){var n=document.createElement("script");n.type="text/javascript",n.async=t,o instanceof Function&&(n.onload=o),document.head.appendChild(n),n.src=e}return function(t){var o;let n=e("#bookly-form-"+t.form_id);if(n.length){if(My[t.form_id]=t,My[t.form_id].$container=n,My[t.form_id].timeZone="object"==typeof Intl?Intl.DateTimeFormat().resolvedOptions().timeZone:void 0,My[t.form_id].timeZoneOffset=(new Date).getTimezoneOffset(),My[t.form_id].skip_steps.service=t.skip_steps.service_part1&&t.skip_steps.service_part2,!On(o=moment.locales()).call(o,"bookly-daterange")){let e=moment.locale();moment.defineLocale("bookly-daterange",{months:BooklyL10n.months,monthsShort:BooklyL10n.monthsShort,weekdays:BooklyL10n.days,weekdaysShort:BooklyL10n.daysShort}),moment.locale(e)}if("finished"==t.status.booking?(My[t.form_id].scroll=!0,cb({form_id:t.form_id})):"cancelled"==t.status.booking?(My[t.form_id].scroll=!0,ub({form_id:t.form_id})):(My[t.form_id].scroll=!1,eL({form_id:t.form_id,new_chain:!0})),t.hasOwnProperty("facebook")&&t.facebook.enabled&&function(t){"undefined"!=typeof FB&&(FB.init({appId:t.facebook.appId,status:!0,version:"v2.12"}),FB.getLoginStatus((function(o){"connected"===o.status?(t.facebook.enabled=!1,FB.api("/me",{fields:"id,name,first_name,last_name,email,link"},(function(o){Fy({type:"POST",data:e.extend(o,{action:"bookly_pro_facebook_login",form_id:t.form_id})})}))):FB.Event.subscribe("auth.statusChange",(function(e){t.facebook.onStatusChange&&t.facebook.onStatusChange(e)}))})))}(t),t.hasOwnProperty("google_maps")&&t.google_maps.enabled)tL("https://maps.googleapis.com/maps/api/js?key="+t.google_maps.api_key+"&libraries=places",!0);t.hasOwnProperty("stripe")&&t.stripe.enabled&&tL("https://js.stripe.com/v3/",!0)}}}(jQuery);function booklyGetPhoneNumber(element){let result;try{let iti=window.booklyIntlTelInput.getInstance(element);if(iti.isValidNumber()){result=iti.getNumber()}else{let _phone=element.value.replace(/[^\d+]/g,'');if(_phone.length>0){if(_phone.startsWith('+')){if(_phone.length>1){result=_phone}else{result='+'+(iti.getSelectedCountryData().dialCode||'')}}else{result='+'+(iti.getSelectedCountryData().dialCode||'')+_phone}}else{result=''}}
if(result===''){result=element.value}}catch(error){result=element.value}
return result}(function(factory){if(typeof module==='object'&&module.exports){module.exports=factory()}else{window.booklyIntlTelInput=factory()}}(()=>{var factoryOutput=(()=>{var C1=Object.defineProperty;var D2=Object.getOwnPropertyDescriptor;var x2=Object.getOwnPropertyNames;var P2=Object.prototype.hasOwnProperty;var R2=(C,n)=>{for(var $ in n)C1(C,$,{get:n[$],enumerable:!0})},k2=(C,n,$,r)=>{if(n&&typeof n=="object"||typeof n=="function")for(let a of x2(n))!P2.call(C,a)&&a!==$&&C1(C,a,{get:()=>n[a],enumerable:!(r=D2(n,a))||r.enumerable});return C};var O2=C=>k2(C1({},"__esModule",{value:!0}),C);var j2={};R2(j2,{default:()=>K2});var n2=[["af","93"],["al","355"],["dz","213"],["as","1",5,["684"]],["ad","376"],["ao","244"],["ai","1",6,["264"]],["ag","1",7,["268"]],["ar","54"],["am","374"],["aw","297"],["ac","247"],["au","61",0],["at","43"],["az","994"],["bs","1",8,["242"]],["bh","973"],["bd","880"],["bb","1",9,["246"]],["by","375"],["be","32"],["bz","501"],["bj","229"],["bm","1",10,["441"]],["bt","975"],["bo","591"],["ba","387"],["bw","267"],["br","55"],["io","246"],["vg","1",11,["284"]],["bn","673"],["bg","359"],["bf","226"],["bi","257"],["kh","855"],["cm","237"],["ca","1",1,["204","226","236","249","250","263","289","306","343","354","365","367","368","382","387","403","416","418","428","431","437","438","450","584","468","474","506","514","519","548","579","581","584","587","604","613","639","647","672","683","705","709","742","753","778","780","782","807","819","825","867","873","879","902","905"]],["cv","238"],["bq","599",1,["3","4","7"]],["ky","1",12,["345"]],["cf","236"],["td","235"],["cl","56"],["cn","86"],["cx","61",2,["89164"]],["cc","61",1,["89162"]],["co","57"],["km","269"],["cg","242"],["cd","243"],["ck","682"],["cr","506"],["ci","225"],["hr","385"],["cu","53"],["cw","599",0],["cy","357"],["cz","420"],["dk","45"],["dj","253"],["dm","1",13,["767"]],["do","1",2,["809","829","849"]],["ec","593"],["eg","20"],["sv","503"],["gq","240"],["er","291"],["ee","372"],["sz","268"],["et","251"],["fk","500"],["fo","298"],["fj","679"],["fi","358",0],["fr","33"],["gf","594"],["pf","689"],["ga","241"],["gm","220"],["ge","995"],["de","49"],["gh","233"],["gi","350"],["gr","30"],["gl","299"],["gd","1",14,["473"]],["gp","590",0],["gu","1",15,["671"]],["gt","502"],["gg","44",1,["1481","7781","7839","7911"]],["gn","224"],["gw","245"],["gy","592"],["ht","509"],["hn","504"],["hk","852"],["hu","36"],["is","354"],["in","91"],["id","62"],["ir","98"],["iq","964"],["ie","353"],["im","44",2,["1624","74576","7524","7924","7624"]],["il","972"],["it","39",0],["jm","1",4,["876","658"]],["jp","81"],["je","44",3,["1534","7509","7700","7797","7829","7937"]],["jo","962"],["kz","7",1,["33","7"]],["ke","254"],["ki","686"],["xk","383"],["kw","965"],["kg","996"],["la","856"],["lv","371"],["lb","961"],["ls","266"],["lr","231"],["ly","218"],["li","423"],["lt","370"],["lu","352"],["mo","853"],["mg","261"],["mw","265"],["my","60"],["mv","960"],["ml","223"],["mt","356"],["mh","692"],["mq","596"],["mr","222"],["mu","230"],["yt","262",1,["269","639"]],["mx","52"],["fm","691"],["md","373"],["mc","377"],["mn","976"],["me","382"],["ms","1",16,["664"]],["ma","212",0],["mz","258"],["mm","95"],["na","264"],["nr","674"],["np","977"],["nl","31"],["nc","687"],["nz","64"],["ni","505"],["ne","227"],["ng","234"],["nu","683"],["nf","672"],["kp","850"],["mk","389"],["mp","1",17,["670"]],["no","47",0],["om","968"],["pk","92"],["pw","680"],["ps","970"],["pa","507"],["pg","675"],["py","595"],["pe","51"],["ph","63"],["pl","48"],["pt","351"],["pr","1",3,["787","939"]],["qa","974"],["re","262",0],["ro","40"],["ru","7",0],["rw","250"],["ws","685"],["sm","378"],["st","239"],["sa","966"],["sn","221"],["rs","381"],["sc","248"],["sl","232"],["sg","65"],["sx","1",21,["721"]],["sk","421"],["si","386"],["sb","677"],["so","252"],["za","27"],["kr","82"],["ss","211"],["es","34"],["lk","94"],["bl","590",1],["sh","290"],["kn","1",18,["869"]],["lc","1",19,["758"]],["mf","590",2],["pm","508"],["vc","1",20,["784"]],["sd","249"],["sr","597"],["sj","47",1,["79"]],["se","46"],["ch","41"],["sy","963"],["tw","886"],["tj","992"],["tz","255"],["th","66"],["tl","670"],["tg","228"],["tk","690"],["to","676"],["tt","1",22,["868"]],["tn","216"],["tr","90"],["tm","993"],["tc","1",23,["649"]],["tv","688"],["ug","256"],["ua","380"],["ae","971"],["gb","44",0],["us","1",0],["uy","598"],["vi","1",24,["340"]],["uz","998"],["vu","678"],["va","39",1,["06698"]],["ve","58"],["vn","84"],["wf","681"],["eh","212",1,["5288","5289"]],["ye","967"],["zm","260"],["zw","263"],["ax","358",1,["18"]]],$2=[];for(let C=0;C<n2.length;C++){let n=n2[C];$2[C]={name:"",iso2:n[0],dialCode:n[1],priority:n[2]||0,areaCodes:n[3]||null,nodeById:{}}}var K=$2;var i2={ad:"Andorra",ae:"United Arab Emirates",af:"Afghanistan",ag:"Antigua & Barbuda",ai:"Anguilla",al:"Albania",am:"Armenia",ao:"Angola",aq:"Antarctica",ar:"Argentina",as:"American Samoa",at:"Austria",au:"Australia",aw:"Aruba",ax:"\xC5land Islands",az:"Azerbaijan",ba:"Bosnia & Herzegovina",bb:"Barbados",bd:"Bangladesh",be:"Belgium",bf:"Burkina Faso",bg:"Bulgaria",bh:"Bahrain",bi:"Burundi",bj:"Benin",bl:"St. Barth\xE9lemy",bm:"Bermuda",bn:"Brunei",bo:"Bolivia",bq:"Caribbean Netherlands",br:"Brazil",bs:"Bahamas",bt:"Bhutan",bv:"Bouvet Island",bw:"Botswana",by:"Belarus",bz:"Belize",ca:"Canada",cc:"Cocos (Keeling) Islands",cd:"Congo - Kinshasa",cf:"Central African Republic",cg:"Congo - Brazzaville",ch:"Switzerland",ci:"C\xF4te d\u2019Ivoire",ck:"Cook Islands",cl:"Chile",cm:"Cameroon",cn:"China",co:"Colombia",cr:"Costa Rica",cu:"Cuba",cv:"Cape Verde",cw:"Cura\xE7ao",cx:"Christmas Island",cy:"Cyprus",cz:"Czechia",de:"Germany",dj:"Djibouti",dk:"Denmark",dm:"Dominica",do:"Dominican Republic",dz:"Algeria",ec:"Ecuador",ee:"Estonia",eg:"Egypt",eh:"Western Sahara",er:"Eritrea",es:"Spain",et:"Ethiopia",fi:"Finland",fj:"Fiji",fk:"Falkland Islands",fm:"Micronesia",fo:"Faroe Islands",fr:"France",ga:"Gabon",gb:"United Kingdom",gd:"Grenada",ge:"Georgia",gf:"French Guiana",gg:"Guernsey",gh:"Ghana",gi:"Gibraltar",gl:"Greenland",gm:"Gambia",gn:"Guinea",gp:"Guadeloupe",gq:"Equatorial Guinea",gr:"Greece",gs:"South Georgia & South Sandwich Islands",gt:"Guatemala",gu:"Guam",gw:"Guinea-Bissau",gy:"Guyana",hk:"Hong Kong SAR China",hm:"Heard & McDonald Islands",hn:"Honduras",hr:"Croatia",ht:"Haiti",hu:"Hungary",id:"Indonesia",ie:"Ireland",il:"Israel",im:"Isle of Man",in:"India",io:"British Indian Ocean Territory",iq:"Iraq",ir:"Iran",is:"Iceland",it:"Italy",je:"Jersey",jm:"Jamaica",jo:"Jordan",jp:"Japan",ke:"Kenya",kg:"Kyrgyzstan",kh:"Cambodia",ki:"Kiribati",km:"Comoros",kn:"St. Kitts & Nevis",kp:"North Korea",kr:"South Korea",kw:"Kuwait",ky:"Cayman Islands",kz:"Kazakhstan",la:"Laos",lb:"Lebanon",lc:"St. Lucia",li:"Liechtenstein",lk:"Sri Lanka",lr:"Liberia",ls:"Lesotho",lt:"Lithuania",lu:"Luxembourg",lv:"Latvia",ly:"Libya",ma:"Morocco",mc:"Monaco",md:"Moldova",me:"Montenegro",mf:"St. Martin",mg:"Madagascar",mh:"Marshall Islands",mk:"North Macedonia",ml:"Mali",mm:"Myanmar (Burma)",mn:"Mongolia",mo:"Macao SAR China",mp:"Northern Mariana Islands",mq:"Martinique",mr:"Mauritania",ms:"Montserrat",mt:"Malta",mu:"Mauritius",mv:"Maldives",mw:"Malawi",mx:"Mexico",my:"Malaysia",mz:"Mozambique",na:"Namibia",nc:"New Caledonia",ne:"Niger",nf:"Norfolk Island",ng:"Nigeria",ni:"Nicaragua",nl:"Netherlands",no:"Norway",np:"Nepal",nr:"Nauru",nu:"Niue",nz:"New Zealand",om:"Oman",pa:"Panama",pe:"Peru",pf:"French Polynesia",pg:"Papua New Guinea",ph:"Philippines",pk:"Pakistan",pl:"Poland",pm:"St. Pierre & Miquelon",pn:"Pitcairn Islands",pr:"Puerto Rico",ps:"Palestinian Territories",pt:"Portugal",pw:"Palau",py:"Paraguay",qa:"Qatar",re:"R\xE9union",ro:"Romania",rs:"Serbia",ru:"Russia",rw:"Rwanda",sa:"Saudi Arabia",sb:"Solomon Islands",sc:"Seychelles",sd:"Sudan",se:"Sweden",sg:"Singapore",sh:"St. Helena",si:"Slovenia",sj:"Svalbard & Jan Mayen",sk:"Slovakia",sl:"Sierra Leone",sm:"San Marino",sn:"Senegal",so:"Somalia",sr:"Suriname",ss:"South Sudan",st:"S\xE3o Tom\xE9 & Pr\xEDncipe",sv:"El Salvador",sx:"Sint Maarten",sy:"Syria",sz:"Eswatini",tc:"Turks & Caicos Islands",td:"Chad",tf:"French Southern Territories",tg:"Togo",th:"Thailand",tj:"Tajikistan",tk:"Tokelau",tl:"Timor-Leste",tm:"Turkmenistan",tn:"Tunisia",to:"Tonga",tr:"Turkey",tt:"Trinidad & Tobago",tv:"Tuvalu",tw:"Taiwan",tz:"Tanzania",ua:"Ukraine",ug:"Uganda",um:"U.S. Outlying Islands",us:"United States",uy:"Uruguay",uz:"Uzbekistan",va:"Vatican City",vc:"St. Vincent & Grenadines",ve:"Venezuela",vg:"British Virgin Islands",vi:"U.S. Virgin Islands",vn:"Vietnam",vu:"Vanuatu",wf:"Wallis & Futuna",ws:"Samoa",ye:"Yemen",yt:"Mayotte",za:"South Africa",zm:"Zambia",zw:"Zimbabwe"};var r2={selectedCountryAriaLabel:"Selected country",noCountrySelected:"No country selected",countryListAriaLabel:"List of countries",searchPlaceholder:"Search",zeroSearchResults:"No results found",oneSearchResult:"1 result found",multipleSearchResults:"${count} results found",ac:"Ascension Island",xk:"Kosovo"};var y1={...i2,...r2};for(let C=0;C<K.length;C++)K[C].name=y1[K[C].iso2];var B2=0,u2={allowDropdown:!0,autoPlaceholder:"polite",containerClass:"",countryOrder:null,countrySearch:!0,customPlaceholder:null,dropdownContainer:null,excludeCountries:[],fixDropdownWidth:!0,formatAsYouType:!0,formatOnDisplay:!0,geoIpLookup:null,hiddenInput:null,i18n:{},initialCountry:"",nationalMode:!0,onlyCountries:[],placeholderNumberType:"MOBILE",showFlags:!0,separateDialCode:!1,strictMode:!1,useFullscreenPopup:typeof navigator<"u"&&typeof window<"u"?/Android.+Mobile|webOS|iPhone|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)||window.innerWidth<=500:!1,utilsScript:"",validationNumberType:"MOBILE"},G2=["800","822","833","844","855","866","877","880","881","882","883","884","885","886","887","888","889"],h1=C=>C.replace(/\D/g,""),s2=(C="")=>C.normalize("NFD").replace(/[\u0300-\u036f]/g,"").toLowerCase(),o2=C=>{let n=h1(C);if(n.charAt(0)==="1"){let $=n.substr(1,3);return G2.indexOf($)!==-1}return!1},H2=(C,n,$,r)=>{if($===0&&!r)return 0;let a=0;for(let l=0;l<n.length;l++){if(/[+0-9]/.test(n[l])&&a++,a===C&&!r)return l+1;if(r&&a===C+1)return l}return n.length},L=(C,n,$)=>{let r=document.createElement(C);return n&&Object.entries(n).forEach(([a,l])=>r.setAttribute(a,l)),$&&$.appendChild(r),r},t1=C=>{let{instances:n}=m;Object.values(n).forEach($=>$[C]())},v1=class{constructor(n,$={}){this.id=B2++,this.telInput=n,this.highlightedItem=null,this.options=Object.assign({},u2,$),this.hadInitialPlaceholder=!!n.getAttribute("placeholder")}_init(){this.options.useFullscreenPopup&&(this.options.fixDropdownWidth=!1),this.options.separateDialCode&&(this.options.allowDropdown=!0,this.options.nationalMode=!1,this.options.countrySearch=!0),!this.options.showFlags&&!this.options.separateDialCode&&(this.options.nationalMode=!1),this.options.useFullscreenPopup&&!this.options.dropdownContainer&&(this.options.dropdownContainer=document.body),this.isAndroid=typeof navigator<"u"?/Android/i.test(navigator.userAgent):!1,this.isRTL=!!this.telInput.closest("[dir=rtl]"),this.options.separateDialCode&&(this.isRTL?this.originalPaddingRight=this.telInput.style.paddingRight:this.originalPaddingLeft=this.telInput.style.paddingLeft),this.options.i18n={...y1,...this.options.i18n};let n=new Promise((r,a)=>{this.resolveAutoCountryPromise=r,this.rejectAutoCountryPromise=a}),$=new Promise((r,a)=>{this.resolveUtilsScriptPromise=r,this.rejectUtilsScriptPromise=a});this.promise=Promise.all([n,$]),this.selectedCountryData={},this._processCountryData(),this._generateMarkup(),this._setInitialState(),this._initListeners(),this._initRequests()}_processCountryData(){this._processAllCountries(),this._processDialCodes(),this._translateCountryNames(),this._sortCountries()}_sortCountries(){this.options.countryOrder&&(this.options.countryOrder=this.options.countryOrder.map(n=>n.toLowerCase())),this.countries.sort((n,$)=>{let{countryOrder:r}=this.options;if(r){let a=r.indexOf(n.iso2),l=r.indexOf($.iso2),g=a>-1,p=l>-1;if(g||p)return g&&p?a-l:g?-1:1}return n.name.localeCompare($.name)})}_addToDialCodeMap(n,$,r){$.length>this.dialCodeMaxLen&&(this.dialCodeMaxLen=$.length),this.dialCodeToIso2Map.hasOwnProperty($)||(this.dialCodeToIso2Map[$]=[]);for(let l=0;l<this.dialCodeToIso2Map[$].length;l++)if(this.dialCodeToIso2Map[$][l]===n)return;let a=r!==void 0?r:this.dialCodeToIso2Map[$].length;this.dialCodeToIso2Map[$][a]=n}_processAllCountries(){let{onlyCountries:n,excludeCountries:$}=this.options;if(n.length){let r=n.map(a=>a.toLowerCase());this.countries=K.filter(a=>r.indexOf(a.iso2)>-1)}else if($.length){let r=$.map(a=>a.toLowerCase());this.countries=K.filter(a=>r.indexOf(a.iso2)===-1)}else this.countries=K}_translateCountryNames(){for(let n=0;n<this.countries.length;n++){let $=this.countries[n].iso2.toLowerCase();this.options.i18n.hasOwnProperty($)&&(this.countries[n].name=this.options.i18n[$])}}_processDialCodes(){this.dialCodes={},this.dialCodeMaxLen=0,this.dialCodeToIso2Map={};for(let n=0;n<this.countries.length;n++){let $=this.countries[n];this.dialCodes[$.dialCode]||(this.dialCodes[$.dialCode]=!0),this._addToDialCodeMap($.iso2,$.dialCode,$.priority)}for(let n=0;n<this.countries.length;n++){let $=this.countries[n];if($.areaCodes){let r=this.dialCodeToIso2Map[$.dialCode][0];for(let a=0;a<$.areaCodes.length;a++){let l=$.areaCodes[a];for(let g=1;g<l.length;g++){let p=$.dialCode+l.substr(0,g);this._addToDialCodeMap(r,p),this._addToDialCodeMap($.iso2,p)}this._addToDialCodeMap($.iso2,$.dialCode+l)}}}}_generateMarkup(){this.telInput.classList.add("iti__tel-input"),!this.telInput.hasAttribute("autocomplete")&&!(this.telInput.form&&this.telInput.form.hasAttribute("autocomplete"))&&this.telInput.setAttribute("autocomplete","off");let{allowDropdown:n,separateDialCode:$,showFlags:r,containerClass:a,hiddenInput:l,dropdownContainer:g,fixDropdownWidth:p,useFullscreenPopup:y,countrySearch:_,i18n:w}=this.options,I="iti";n&&(I+=" iti--allow-dropdown"),r&&(I+=" iti--show-flags"),a&&(I+=` ${a}`),y||(I+=" iti--inline-dropdown");let S=L("div",{class:I});if(this.telInput.parentNode?.insertBefore(S,this.telInput),n||r){this.countryContainer=L("div",{class:"iti__country-container"},S),n?(this.selectedCountry=L("div",{type:"non-button",class:"iti__selected-country","aria-expanded":"false","aria-label":this.options.i18n.selectedCountryAriaLabel,"aria-haspopup":"true","aria-controls":`iti-${this.id}__dropdown-content`,role:"combobox"},this.countryContainer),this.telInput.disabled&&this.selectedCountry.setAttribute("disabled","true")):this.selectedCountry=L("div",{class:"iti__selected-country"},this.countryContainer);let P=L("div",{class:"iti__selected-country-primary"},this.selectedCountry);if(this.selectedCountryInner=L("div",null,P),this.selectedCountryA11yText=L("span",{class:"iti__a11y-text"},this.selectedCountryInner),n&&(this.dropdownArrow=L("div",{class:"iti__arrow","aria-hidden":"true"},P)),$&&(this.selectedDialCode=L("div",{class:"iti__selected-dial-code"},this.selectedCountry)),n){let R=p?"":"iti--flexible-dropdown-width";if(this.dropdownContent=L("div",{id:`iti-${this.id}__dropdown-content`,class:`iti__dropdown-content iti__hide ${R}`}),_&&(this.searchInput=L("input",{type:"text",class:"iti__search-input",placeholder:w.searchPlaceholder,role:"combobox","aria-expanded":"true","aria-label":w.searchPlaceholder,"aria-controls":`iti-${this.id}__country-listbox`,"aria-autocomplete":"list",autocomplete:"off"},this.dropdownContent),this.searchResultsA11yText=L("span",{class:"iti__a11y-text"},this.dropdownContent)),this.countryList=L("ul",{class:"iti__country-list",id:`iti-${this.id}__country-listbox`,role:"listbox","aria-label":w.countryListAriaLabel},this.dropdownContent),this._appendListItems(),_&&this._updateSearchResultsText(),g){let O="iti iti--container";y?O+=" iti--fullscreen-popup":O+=" iti--inline-dropdown",this.dropdown=L("div",{class:O}),this.dropdown.appendChild(this.dropdownContent)}else this.countryContainer.appendChild(this.dropdownContent)}}if(S.appendChild(this.telInput),l){let P=this.telInput.getAttribute("name")||"",R=l(P);R.phone&&(this.hiddenInput=L("input",{type:"hidden",name:R.phone}),S.appendChild(this.hiddenInput)),R.country&&(this.hiddenInputCountry=L("input",{type:"hidden",name:R.country}),S.appendChild(this.hiddenInputCountry))}}_appendListItems(){for(let n=0;n<this.countries.length;n++){let $=this.countries[n],r=n===0?"iti__highlight":"",a=L("li",{id:`iti-${this.id}__item-${$.iso2}`,class:`iti__country ${r}`,tabindex:"-1",role:"option","data-dial-code":$.dialCode,"data-country-code":$.iso2,"aria-selected":"false"},this.countryList);$.nodeById[this.id]=a;let l="";this.options.showFlags&&(l+=`<div class='iti__flag-box'><div class='iti__flag iti__${$.iso2}'></div></div>`),l+=`<span class='iti__country-name'>${$.name}</span>`,l+=`<span class='iti__dial-code'>+${$.dialCode}</span>`,a.insertAdjacentHTML("beforeend",l)}}_setInitialState(n=!1){let $=this.telInput.getAttribute("value"),r=this.telInput.value,l=$&&$.charAt(0)==="+"&&(!r||r.charAt(0)!=="+")?$:r,g=this._getDialCode(l),p=o2(l),{initialCountry:y,geoIpLookup:_}=this.options,w=y==="auto"&&_;if(g&&!p)this._updateCountryFromNumber(l);else if(!w||n){let I=y?y.toLowerCase():"";I&&this._getCountryData(I,!0)?this._setCountry(I):g&&p?this._setCountry("us"):this._setCountry()}l&&this._updateValFromNumber(l)}_initListeners(){this._initTelInputListeners(),this.options.allowDropdown&&this._initDropdownListeners(),(this.hiddenInput||this.hiddenInputCountry)&&this.telInput.form&&this._initHiddenInputListener()}_initHiddenInputListener(){this._handleHiddenInputSubmit=()=>{this.hiddenInput&&(this.hiddenInput.value=this.getNumber()),this.hiddenInputCountry&&(this.hiddenInputCountry.value=this.getSelectedCountryData().iso2||"")},this.telInput.form?.addEventListener("submit",this._handleHiddenInputSubmit)}_initDropdownListeners(){this._handleLabelClick=$=>{this.dropdownContent.classList.contains("iti__hide")?this.telInput.focus():$.preventDefault()};let n=this.telInput.closest("label");n&&n.addEventListener("click",this._handleLabelClick),this._handleClickSelectedCountry=()=>{this.dropdownContent.classList.contains("iti__hide")&&!this.telInput.disabled&&!this.telInput.readOnly&&this._openDropdown()},this.selectedCountry.addEventListener("click",this._handleClickSelectedCountry),this._handleCountryContainerKeydown=$=>{this.dropdownContent.classList.contains("iti__hide")&&["ArrowUp","ArrowDown"," ","Enter"].includes($.key)&&($.preventDefault(),$.stopPropagation(),this._openDropdown()),$.key==="Tab"&&this._closeDropdown()},this.countryContainer.addEventListener("keydown",this._handleCountryContainerKeydown)}_initRequests(){let{utilsScript:n,initialCountry:$,geoIpLookup:r}=this.options;n&&!m.utils?m.documentReady()?m.loadUtils(n):window.addEventListener("load",()=>{m.loadUtils(n)}):this.resolveUtilsScriptPromise(),$==="auto"&&r&&!this.selectedCountryData.iso2?this._loadAutoCountry():this.resolveAutoCountryPromise()}_loadAutoCountry(){m.autoCountry?this.handleAutoCountry():m.startedLoadingAutoCountry||(m.startedLoadingAutoCountry=!0,typeof this.options.geoIpLookup=="function"&&this.options.geoIpLookup((n="")=>{let $=n.toLowerCase();$&&this._getCountryData($,!0)?(m.autoCountry=$,setTimeout(()=>t1("handleAutoCountry"))):(this._setInitialState(!0),t1("rejectAutoCountryPromise"))},()=>{this._setInitialState(!0),t1("rejectAutoCountryPromise")}))}_initTelInputListeners(){let{strictMode:n,formatAsYouType:$,separateDialCode:r,formatOnDisplay:a}=this.options,l=!1,g=()=>{this._openDropdown(),this.searchInput.value="+",this._filterCountries("",!0)};this._handleInputEvent=p=>{if(this.isAndroid&&p?.data==="+"&&r){let I=this.telInput.selectionStart||0,S=this.telInput.value.substring(0,I-1),P=this.telInput.value.substring(I);this.telInput.value=S+P,g();return}this._updateCountryFromNumber(this.telInput.value)&&this._triggerCountryChange();let y=p?.data&&/[^+0-9]/.test(p.data),_=p?.inputType==="insertFromPaste"&&this.telInput.value;y||_&&!n?l=!0:/[^+0-9]/.test(this.telInput.value)||(l=!1);let w=p?.detail&&p.detail.isSetNumber&&!a;if($&&!l&&!w){let I=this.telInput.selectionStart||0,P=this.telInput.value.substring(0,I).replace(/[^+0-9]/g,"").length,R=p?.inputType==="deleteContentForward",O=this._formatNumberAsYouType(),e1=H2(P,O,I,R);this.telInput.value=O,this.telInput.setSelectionRange(e1,e1)}},this.telInput.addEventListener("input",this._handleInputEvent),(n||r)&&(this._handleKeydownEvent=p=>{if(p.key&&p.key.length===1&&!p.altKey&&!p.ctrlKey&&!p.metaKey){if(r&&p.key==="+"){p.preventDefault(),g();return}if(n){let y=this.telInput.selectionStart===0&&p.key==="+",_=/^[0-9]$/.test(p.key),w=y||_,I=this._getFullNumber(),S=m.utils.getCoreNumber(I,this.selectedCountryData.iso2),P=this.maxCoreNumberLength&&S.length>=this.maxCoreNumberLength,R=this.telInput.value.substring(this.telInput.selectionStart,this.telInput.selectionEnd),O=/\d/.test(R);(!w||P&&!O)&&p.preventDefault()}}},this.telInput.addEventListener("keydown",this._handleKeydownEvent))}_cap(n){let $=parseInt(this.telInput.getAttribute("maxlength")||"",10);return $&&n.length>$?n.substr(0,$):n}_trigger(n,$={}){let r=new CustomEvent(n,{bubbles:!0,cancelable:!0,detail:$});this.telInput.dispatchEvent(r)}_openDropdown(){let{fixDropdownWidth:n,countrySearch:$}=this.options;if(n&&(this.dropdownContent.style.width=`${this.telInput.offsetWidth}px`),this.dropdownContent.classList.remove("iti__hide"),this.selectedCountry.setAttribute("aria-expanded","true"),this._setDropdownPosition(),$){let r=this.countryList.firstElementChild;r&&(this._highlightListItem(r,!1),this.countryList.scrollTop=0),this.searchInput.focus()}this._bindDropdownListeners(),this.dropdownArrow.classList.add("iti__arrow--up"),this._trigger("open:countrydropdown")}_setDropdownPosition(){if(this.options.dropdownContainer&&this.options.dropdownContainer.appendChild(this.dropdown),!this.options.useFullscreenPopup){let n=this.telInput.getBoundingClientRect(),$=this.telInput.offsetHeight;this.options.dropdownContainer&&(this.dropdown.style.top=`${n.top+$}px`,this.dropdown.style.left=`${n.left}px`,this._handleWindowScroll=()=>this._closeDropdown(),window.addEventListener("scroll",this._handleWindowScroll))}}_bindDropdownListeners(){this._handleMouseoverCountryList=a=>{let l=a.target?.closest(".iti__country");l&&this._highlightListItem(l,!1)},this.countryList.addEventListener("mouseover",this._handleMouseoverCountryList),this._handleClickCountryList=a=>{let l=a.target?.closest(".iti__country");l&&this._selectListItem(l)},this.countryList.addEventListener("click",this._handleClickCountryList);let n=!0;this._handleClickOffToClose=()=>{n||this._closeDropdown(),n=!1},document.documentElement.addEventListener("click",this._handleClickOffToClose);let $="",r=null;if(this._handleKeydownOnDropdown=a=>{["ArrowUp","ArrowDown","Enter","Escape"].includes(a.key)&&(a.preventDefault(),a.stopPropagation(),a.key==="ArrowUp"||a.key==="ArrowDown"?this._handleUpDownKey(a.key):a.key==="Enter"?this._handleEnterKey():a.key==="Escape"&&this._closeDropdown()),!this.options.countrySearch&&/^[a-zA-ZÀ-ÿа-яА-Я ]$/.test(a.key)&&(a.stopPropagation(),r&&clearTimeout(r),$+=a.key.toLowerCase(),this._searchForCountry($),r=setTimeout(()=>{$=""},1e3))},document.addEventListener("keydown",this._handleKeydownOnDropdown),this.options.countrySearch){let a=()=>{let g=this.searchInput.value.trim();g?this._filterCountries(g):this._filterCountries("",!0)},l=null;this._handleSearchChange=()=>{l&&clearTimeout(l),l=setTimeout(()=>{a(),l=null},100)},this.searchInput.addEventListener("input",this._handleSearchChange),this.searchInput.addEventListener("click",g=>g.stopPropagation())}}_searchForCountry(n){for(let $=0;$<this.countries.length;$++){let r=this.countries[$];if(r.name.substr(0,n.length).toLowerCase()===n){let l=r.nodeById[this.id];this._highlightListItem(l,!1),this._scrollTo(l);break}}}_filterCountries(n,$=!1){let r=!0;this.countryList.innerHTML="";let a=s2(n);for(let l=0;l<this.countries.length;l++){let g=this.countries[l],p=s2(g.name),y=`+${g.dialCode}`;if($||p.includes(a)||y.includes(a)||g.iso2.includes(a)){let _=g.nodeById[this.id];_&&this.countryList.appendChild(_),r&&(this._highlightListItem(_,!1),r=!1)}}r&&this._highlightListItem(null,!1),this.countryList.scrollTop=0,this._updateSearchResultsText()}_updateSearchResultsText(){let{i18n:n}=this.options,$=this.countryList.childElementCount,r;$===0?r=n.zeroSearchResults:$===1?r=n.oneSearchResult:r=n.multipleSearchResults.replace("${count}",$.toString()),this.searchResultsA11yText.textContent=r}_handleUpDownKey(n){let $=n==="ArrowUp"?this.highlightedItem?.previousElementSibling:this.highlightedItem?.nextElementSibling;!$&&this.countryList.childElementCount>1&&($=n==="ArrowUp"?this.countryList.lastElementChild:this.countryList.firstElementChild),$&&(this._scrollTo($),this._highlightListItem($,!1))}_handleEnterKey(){this.highlightedItem&&this._selectListItem(this.highlightedItem)}_updateValFromNumber(n){let $=n;if(this.options.formatOnDisplay&&m.utils&&this.selectedCountryData){let r=this.options.nationalMode||$.charAt(0)!=="+"&&!this.options.separateDialCode,{NATIONAL:a,INTERNATIONAL:l}=m.utils.numberFormat,g=r?a:l;$=m.utils.formatNumber($,this.selectedCountryData.iso2,g)}$=this._beforeSetNumber($),this.telInput.value=$}_updateCountryFromNumber(n){let $=n.indexOf("+"),r=$?n.substring($):n,a=this.selectedCountryData.dialCode;r&&a==="1"&&r.charAt(0)!=="+"&&(r.charAt(0)!=="1"&&(r=`1${r}`),r=`+${r}`),this.options.separateDialCode&&a&&r.charAt(0)!=="+"&&(r=`+${a}${r}`);let g=this._getDialCode(r,!0),p=h1(r),y=null;if(g){let _=this.dialCodeToIso2Map[h1(g)],w=_.indexOf(this.selectedCountryData.iso2)!==-1&&p.length<=g.length-1;if(!(a==="1"&&o2(p))&&!w){for(let S=0;S<_.length;S++)if(_[S]){y=_[S];break}}}else r.charAt(0)==="+"&&p.length?y="":(!r||r==="+")&&!this.selectedCountryData.iso2&&(y=this.defaultCountry);return y!==null?this._setCountry(y):!1}_highlightListItem(n,$){let r=this.highlightedItem;if(r&&(r.classList.remove("iti__highlight"),r.setAttribute("aria-selected","false")),this.highlightedItem=n,this.highlightedItem){this.highlightedItem.classList.add("iti__highlight"),this.highlightedItem.setAttribute("aria-selected","true");let a=this.highlightedItem.getAttribute("id")||"";this.selectedCountry.setAttribute("aria-activedescendant",a),this.options.countrySearch&&this.searchInput.setAttribute("aria-activedescendant",a)}$&&this.highlightedItem.focus()}_getCountryData(n,$){for(let r=0;r<this.countries.length;r++)if(this.countries[r].iso2===n)return this.countries[r];if($)return null;throw new Error(`No country data for '${n}'`)}_setCountry(n){let{separateDialCode:$,showFlags:r,i18n:a}=this.options,l=this.selectedCountryData.iso2?this.selectedCountryData:{};if(this.selectedCountryData=n?this._getCountryData(n,!1)||{}:{},this.selectedCountryData.iso2&&(this.defaultCountry=this.selectedCountryData.iso2),this.selectedCountryInner){let g="",p="";n&&r?(g=`iti__flag iti__${n}`,p=`${this.selectedCountryData.name} +${this.selectedCountryData.dialCode}`):(g="iti__flag iti__globe",p=a.noCountrySelected),this.selectedCountryInner.className=g,this.selectedCountryA11yText.textContent=p}if(this._setSelectedCountryTitleAttribute(n,$),$){let g=this.selectedCountryData.dialCode?`+${this.selectedCountryData.dialCode}`:"";this.selectedDialCode.innerHTML=g;let y=(this.selectedCountry.offsetWidth||this._getHiddenSelectedCountryWidth())+8;this.isRTL?this.telInput.style.paddingRight=`${y}px`:this.telInput.style.paddingLeft=`${y}px`}return this._updatePlaceholder(),this._updateMaxLength(),l.iso2!==n}_updateMaxLength(){let{strictMode:n,placeholderNumberType:$,validationNumberType:r}=this.options;if(n&&m.utils)if(this.selectedCountryData.iso2){let a=m.utils.numberType[$],l=m.utils.getExampleNumber(this.selectedCountryData.iso2,!1,a,!0),g=l;for(;m.utils.isPossibleNumber(l,this.selectedCountryData.iso2,r);)g=l,l+="0";let p=m.utils.getCoreNumber(g,this.selectedCountryData.iso2);this.maxCoreNumberLength=p.length}else this.maxCoreNumberLength=null}_setSelectedCountryTitleAttribute(n=null,$){if(!this.selectedCountry)return;let r;n&&!$?r=`${this.selectedCountryData.name}: +${this.selectedCountryData.dialCode}`:n?r=this.selectedCountryData.name:r="Unknown",this.selectedCountry.setAttribute("title",r)}_getHiddenSelectedCountryWidth(){if(this.telInput.parentNode){let n=this.telInput.parentNode.cloneNode(!1);n.style.visibility="hidden",document.body.appendChild(n);let $=this.countryContainer.cloneNode();n.appendChild($);let r=this.selectedCountry.cloneNode(!0);$.appendChild(r);let a=r.offsetWidth;return document.body.removeChild(n),a}return 0}_updatePlaceholder(){let{autoPlaceholder:n,placeholderNumberType:$,nationalMode:r,customPlaceholder:a}=this.options,l=n==="aggressive"||!this.hadInitialPlaceholder&&n==="polite";if(m.utils&&l){let g=m.utils.numberType[$],p=this.selectedCountryData.iso2?m.utils.getExampleNumber(this.selectedCountryData.iso2,r,g):"";p=this._beforeSetNumber(p),typeof a=="function"&&(p=a(p,this.selectedCountryData)),this.telInput.setAttribute("placeholder",p)}}_selectListItem(n){let $=this._setCountry(n.getAttribute("data-country-code"));this._closeDropdown(),this._updateDialCode(n.getAttribute("data-dial-code")),this.telInput.focus(),$&&this._triggerCountryChange()}_closeDropdown(){this.dropdownContent.classList.add("iti__hide"),this.selectedCountry.setAttribute("aria-expanded","false"),this.selectedCountry.removeAttribute("aria-activedescendant"),this.highlightedItem&&this.highlightedItem.setAttribute("aria-selected","false"),this.options.countrySearch&&this.searchInput.removeAttribute("aria-activedescendant"),this.dropdownArrow.classList.remove("iti__arrow--up"),document.removeEventListener("keydown",this._handleKeydownOnDropdown),this.options.countrySearch&&this.searchInput.removeEventListener("input",this._handleSearchChange),document.documentElement.removeEventListener("click",this._handleClickOffToClose),this.countryList.removeEventListener("mouseover",this._handleMouseoverCountryList),this.countryList.removeEventListener("click",this._handleClickCountryList),this.options.dropdownContainer&&(this.options.useFullscreenPopup||window.removeEventListener("scroll",this._handleWindowScroll),this.dropdown.parentNode&&this.dropdown.parentNode.removeChild(this.dropdown)),this._trigger("close:countrydropdown")}_scrollTo(n){let $=this.countryList,r=document.documentElement.scrollTop,a=$.offsetHeight,l=$.getBoundingClientRect().top+r,g=l+a,p=n.offsetHeight,y=n.getBoundingClientRect().top+r,_=y+p,w=y-l+$.scrollTop;if(y<l)$.scrollTop=w;else if(_>g){let I=a-p;$.scrollTop=w-I}}_updateDialCode(n){let $=this.telInput.value,r=`+${n}`,a;if($.charAt(0)==="+"){let l=this._getDialCode($);l?a=$.replace(l,r):a=r,this.telInput.value=a}}_getDialCode(n,$){let r="";if(n.charAt(0)==="+"){let a="";for(let l=0;l<n.length;l++){let g=n.charAt(l);if(!isNaN(parseInt(g,10))){if(a+=g,$)this.dialCodeToIso2Map[a]&&(r=n.substr(0,l+1));else if(this.dialCodes[a]){r=n.substr(0,l+1);break}if(a.length===this.dialCodeMaxLen)break}}}return r}_getFullNumber(){let n=this.telInput.value.trim(),{dialCode:$}=this.selectedCountryData,r,a=h1(n);return this.options.separateDialCode&&n.charAt(0)!=="+"&&$&&a?r=`+${$}`:r="",r+n}_beforeSetNumber(n){let $=n;if(this.options.separateDialCode){let r=this._getDialCode($);if(r){r=`+${this.selectedCountryData.dialCode}`;let a=$[r.length]===" "||$[r.length]==="-"?r.length+1:r.length;$=$.substr(a)}}return this._cap($)}_triggerCountryChange(){this._trigger("countrychange")}_formatNumberAsYouType(){let n=this._getFullNumber(),$=m.utils?m.utils.formatNumberAsYouType(n,this.selectedCountryData.iso2):n,{dialCode:r}=this.selectedCountryData;return this.options.separateDialCode&&this.telInput.value.charAt(0)!=="+"&&$.includes(`+${r}`)?($.split(`+${r}`)[1]||"").trim():$}handleAutoCountry(){this.options.initialCountry==="auto"&&m.autoCountry&&(this.defaultCountry=m.autoCountry,this.selectedCountryData.iso2||this.selectedCountryInner.classList.contains("iti__globe")||this.setCountry(this.defaultCountry),this.resolveAutoCountryPromise())}handleUtils(){m.utils&&(this.telInput.value&&this._updateValFromNumber(this.telInput.value),this.selectedCountryData.iso2&&(this._updatePlaceholder(),this._updateMaxLength())),this.resolveUtilsScriptPromise()}destroy(){let{allowDropdown:n,separateDialCode:$}=this.options;if(n){this._closeDropdown(),this.selectedCountry.removeEventListener("click",this._handleClickSelectedCountry),this.countryContainer.removeEventListener("keydown",this._handleCountryContainerKeydown);let l=this.telInput.closest("label");l&&l.removeEventListener("click",this._handleLabelClick)}let{form:r}=this.telInput;this._handleHiddenInputSubmit&&r&&r.removeEventListener("submit",this._handleHiddenInputSubmit),this.telInput.removeEventListener("input",this._handleInputEvent),this._handleKeydownEvent&&this.telInput.removeEventListener("keydown",this._handleKeydownEvent),this.telInput.removeAttribute("data-intl-tel-input-id"),$&&(this.isRTL?this.telInput.style.paddingRight=this.originalPaddingRight:this.telInput.style.paddingLeft=this.originalPaddingLeft);let a=this.telInput.parentNode;a?.parentNode?.insertBefore(this.telInput,a),a?.parentNode?.removeChild(a),delete m.instances[this.id]}getExtension(){return m.utils?m.utils.getExtension(this._getFullNumber(),this.selectedCountryData.iso2):""}getNumber(n){if(m.utils){let{iso2:$}=this.selectedCountryData;return m.utils.formatNumber(this._getFullNumber(),$,n)}return""}getNumberType(){return m.utils?m.utils.getNumberType(this._getFullNumber(),this.selectedCountryData.iso2):-99}getSelectedCountryData(){return this.selectedCountryData}getValidationError(){if(m.utils){let{iso2:n}=this.selectedCountryData;return m.utils.getValidationError(this._getFullNumber(),n)}return-99}isValidNumber(){let n=this._getFullNumber();return/\p{L}/u.test(n)?!1:m.utils?m.utils.isPossibleNumber(n,this.selectedCountryData.iso2,this.options.validationNumberType):null}isValidNumberPrecise(){let n=this._getFullNumber();return/\p{L}/u.test(n)?!1:m.utils?m.utils.isValidNumber(n,this.selectedCountryData.iso2):null}setCountry(n){let $=n?.toLowerCase(),r=this.selectedCountryData.iso2;(n&&$!==r||!n&&r)&&(this._setCountry($),this._updateDialCode(this.selectedCountryData.dialCode),this._triggerCountryChange())}setNumber(n){let $=this._updateCountryFromNumber(n);this._updateValFromNumber(n),$&&this._triggerCountryChange(),this._trigger("input",{isSetNumber:!0})}setPlaceholderNumberType(n){this.options.placeholderNumberType=n,this._updatePlaceholder()}},U2=C=>!m.utils&&!m.startedLoadingUtilsScript?(m.startedLoadingUtilsScript=!0,new Promise((n,$)=>{import_INTENTIONALLY_BROKEN(C).then(({default:r})=>{m.utils=r,t1("handleUtils"),n(!0)}).catch(()=>{t1("rejectUtilsScriptPromise"),$()})})):null,m=Object.assign((C,n)=>{let $=new v1(C,n);return $._init(),C.setAttribute("data-intl-tel-input-id",$.id.toString()),m.instances[$.id]=$,$},{defaults:u2,documentReady:()=>document.readyState==="complete",getCountryData:()=>K,getInstance:C=>{let n=C.getAttribute("data-intl-tel-input-id");return n?m.instances[n]:null},instances:{},loadUtils:U2,version:"23.7.3"}),I1=m;(function(){var C=this||self;function n(d,t){d=d.split(".");var e=C;d[0]in e||typeof e.execScript>"u"||e.execScript("var "+d[0]);for(var i;d.length&&(i=d.shift());)d.length||t===void 0?e[i]&&e[i]!==Object.prototype[i]?e=e[i]:e=e[i]={}:e[i]=t}function $(d,t){function e(){}e.prototype=t.prototype,d.ma=t.prototype,d.prototype=new e,d.prototype.constructor=d,d.sa=function(i,s,o){for(var u=Array(arguments.length-2),h=2;h<arguments.length;h++)u[h-2]=arguments[h];return t.prototype[s].apply(i,u)}}function r(d){let t=[],e=0;for(let i in d)t[e++]=d[i];return t}var a=class{constructor(d){if(l!==l)throw Error("SafeUrl is not meant to be built directly");this.g=d}toString(){return this.g.toString()}},l={};new a("about:invalid#zClosurez"),new a("about:blank");let g={};class p{constructor(){if(g!==g)throw Error("SafeStyle is not meant to be built directly")}toString(){return""}}new p;let y={};class _{constructor(){if(y!==y)throw Error("SafeStyleSheet is not meant to be built directly")}toString(){return""}}new _;let w={};class I{constructor(){var t=C.trustedTypes&&C.trustedTypes.emptyHTML||"";if(w!==w)throw Error("SafeHtml is not meant to be built directly");this.g=t}toString(){return this.g.toString()}}new I;function S(d,t){switch(this.g=d,this.l=!!t.aa,this.h=t.i,this.s=t.type,this.o=!1,this.h){case O:case e1:case l2:case h2:case c2:case R:case P:this.o=!0}this.j=t.defaultValue}var P=1,R=2,O=3,e1=4,l2=6,h2=16,c2=18;function p2(d,t){for(this.h=d,this.g={},d=0;d<t.length;d++){var e=t[d];this.g[e.g]=e}}function g2(d){return d=r(d.g),d.sort(function(t,e){return t.g-e.g}),d}function M(){this.h={},this.j=this.m().g,this.g=this.l=null}M.prototype.has=function(d){return D(this,d.g)},M.prototype.get=function(d,t){return c(this,d.g,t)},M.prototype.set=function(d,t){E(this,d.g,t)},M.prototype.add=function(d,t){_1(this,d.g,t)};function b1(d,t){for(var e=g2(d.m()),i=0;i<e.length;i++){var s=e[i],o=s.g;if(D(t,o)){d.g&&delete d.g[s.g];var u=s.h==11||s.h==10;if(s.l){s=N(t,o);for(var h=0;h<s.length;h++)_1(d,o,u?s[h].clone():s[h])}else s=n1(t,o),u?(u=n1(d,o))?b1(u,s):E(d,o,s.clone()):E(d,o,s)}}}M.prototype.clone=function(){var d=new this.constructor;return d!=this&&(d.h={},d.g&&(d.g={}),b1(d,this)),d};function D(d,t){return d.h[t]!=null}function n1(d,t){var e=d.h[t];if(e==null)return null;if(d.l){if(!(t in d.g)){var i=d.l,s=d.j[t];if(e!=null)if(s.l){for(var o=[],u=0;u<e.length;u++)o[u]=i.h(s,e[u]);e=o}else e=i.h(s,e);return d.g[t]=e}return d.g[t]}return e}function c(d,t,e){var i=n1(d,t);return d.j[t].l?i[e||0]:i}function v(d,t){if(D(d,t))d=c(d,t);else d:{if(d=d.j[t],d.j===void 0)if(t=d.s,t===Boolean)d.j=!1;else if(t===Number)d.j=0;else if(t===String)d.j=d.o?"0":"";else{d=new t;break d}d=d.j}return d}function N(d,t){return n1(d,t)||[]}function H(d,t){return d.j[t].l?D(d,t)?d.h[t].length:0:D(d,t)?1:0}function E(d,t,e){d.h[t]=e,d.g&&(d.g[t]=e)}function _1(d,t,e){d.h[t]||(d.h[t]=[]),d.h[t].push(e),d.g&&delete d.g[t]}function $1(d,t){var e=[],i;for(i in t)i!=0&&e.push(new S(i,t[i]));return new p2(d,e)}function i1(){}i1.prototype.g=function(d){throw new d.h,Error("Unimplemented")},i1.prototype.h=function(d,t){if(d.h==11||d.h==10)return t instanceof M?t:this.g(d.s.prototype.m(),t);if(d.h==14)return typeof t=="string"&&S1.test(t)&&(d=Number(t),0<d)?d:t;if(!d.o)return t;if(d=d.s,d===String){if(typeof t=="number")return String(t)}else if(d===Number&&typeof t=="string"&&(t==="Infinity"||t==="-Infinity"||t==="NaN"||S1.test(t)))return Number(t);return t};var S1=/^-?[0-9]+$/;function c1(){}$(c1,i1),c1.prototype.g=function(d,t){return d=new d.h,d.l=this,d.h=t,d.g={},d};function Y(){}$(Y,c1),Y.prototype.h=function(d,t){return d.h==8?!!t:i1.prototype.h.apply(this,arguments)},Y.prototype.g=function(d,t){return Y.ma.g.call(this,d,t)};function T(d,t){d!=null&&this.g.apply(this,arguments)}T.prototype.h="",T.prototype.set=function(d){this.h=""+d},T.prototype.g=function(d,t,e){if(this.h+=String(d),t!=null)for(let i=1;i<arguments.length;i++)this.h+=arguments[i];return this};function x(d){d.h=""}T.prototype.toString=function(){return this.h};function j(){M.call(this)}$(j,M);var w1=null;function b(){M.call(this)}$(b,M);var T1=null;function V(){M.call(this)}$(V,M);var L1=null;j.prototype.m=function(){var d=w1;return d||(w1=d=$1(j,{0:{name:"NumberFormat",ia:"i18n.phonenumbers.NumberFormat"},1:{name:"pattern",required:!0,i:9,type:String},2:{name:"format",required:!0,i:9,type:String},3:{name:"leading_digits_pattern",aa:!0,i:9,type:String},4:{name:"national_prefix_formatting_rule",i:9,type:String},6:{name:"national_prefix_optional_when_formatting",i:8,defaultValue:!1,type:Boolean},5:{name:"domestic_carrier_code_formatting_rule",i:9,type:String}})),d},j.m=j.prototype.m,b.prototype.m=function(){var d=T1;return d||(T1=d=$1(b,{0:{name:"PhoneNumberDesc",ia:"i18n.phonenumbers.PhoneNumberDesc"},2:{name:"national_number_pattern",i:9,type:String},9:{name:"possible_length",aa:!0,i:5,type:Number},10:{name:"possible_length_local_only",aa:!0,i:5,type:Number},6:{name:"example_number",i:9,type:String}})),d},b.m=b.prototype.m,V.prototype.m=function(){var d=L1;return d||(L1=d=$1(V,{0:{name:"PhoneMetadata",ia:"i18n.phonenumbers.PhoneMetadata"},1:{name:"general_desc",i:11,type:b},2:{name:"fixed_line",i:11,type:b},3:{name:"mobile",i:11,type:b},4:{name:"toll_free",i:11,type:b},5:{name:"premium_rate",i:11,type:b},6:{name:"shared_cost",i:11,type:b},7:{name:"personal_number",i:11,type:b},8:{name:"voip",i:11,type:b},21:{name:"pager",i:11,type:b},25:{name:"uan",i:11,type:b},27:{name:"emergency",i:11,type:b},28:{name:"voicemail",i:11,type:b},29:{name:"short_code",i:11,type:b},30:{name:"standard_rate",i:11,type:b},31:{name:"carrier_specific",i:11,type:b},33:{name:"sms_services",i:11,type:b},24:{name:"no_international_dialling",i:11,type:b},9:{name:"id",required:!0,i:9,type:String},10:{name:"country_code",i:5,type:Number},11:{name:"international_prefix",i:9,type:String},17:{name:"preferred_international_prefix",i:9,type:String},12:{name:"national_prefix",i:9,type:String},13:{name:"preferred_extn_prefix",i:9,type:String},15:{name:"national_prefix_for_parsing",i:9,type:String},16:{name:"national_prefix_transform_rule",i:9,type:String},18:{name:"same_mobile_and_fixed_line_pattern",i:8,defaultValue:!1,type:Boolean},19:{name:"number_format",aa:!0,i:11,type:j},20:{name:"intl_number_format",aa:!0,i:11,type:j},22:{name:"main_country_for_code",i:8,defaultValue:!1,type:Boolean},23:{name:"leading_digits",i:9,type:String}})),d},V.m=V.prototype.m;function U(){M.call(this)}$(U,M);var E1=null,f2={ra:0,qa:1,pa:5,oa:10,na:20};U.prototype.m=function(){var d=E1;return d||(E1=d=$1(U,{0:{name:"PhoneNumber",ia:"i18n.phonenumbers.PhoneNumber"},1:{name:"country_code",required:!0,i:5,type:Number},2:{name:"national_number",required:!0,i:4,type:Number},3:{name:"extension",i:9,type:String},4:{name:"italian_leading_zero",i:8,type:Boolean},8:{name:"number_of_leading_zeros",i:5,defaultValue:1,type:Number},5:{name:"raw_input",i:9,type:String},6:{name:"country_code_source",i:14,defaultValue:0,type:f2},7:{name:"preferred_domestic_carrier_code",i:9,type:String}})),d},U.ctor=U,U.ctor.m=U.prototype.m;var J={1:"US AG AI AS BB BM BS CA DM DO GD GU JM KN KY LC MP MS PR SX TC TT VC VG VI".split(" "),7:["RU","KZ"],20:["EG"],27:["ZA"],30:["GR"],31:["NL"],32:["BE"],33:["FR"],34:["ES"],36:["HU"],39:["IT","VA"],40:["RO"],41:["CH"],43:["AT"],44:["GB","GG","IM","JE"],45:["DK"],46:["SE"],47:["NO","SJ"],48:["PL"],49:["DE"],51:["PE"],52:["MX"],53:["CU"],54:["AR"],55:["BR"],56:["CL"],57:["CO"],58:["VE"],60:["MY"],61:["AU","CC","CX"],62:["ID"],63:["PH"],64:["NZ"],65:["SG"],66:["TH"],81:["JP"],82:["KR"],84:["VN"],86:["CN"],90:["TR"],91:["IN"],92:["PK"],93:["AF"],94:["LK"],95:["MM"],98:["IR"],211:["SS"],212:["MA","EH"],213:["DZ"],216:["TN"],218:["LY"],220:["GM"],221:["SN"],222:["MR"],223:["ML"],224:["GN"],225:["CI"],226:["BF"],227:["NE"],228:["TG"],229:["BJ"],230:["MU"],231:["LR"],232:["SL"],233:["GH"],234:["NG"],235:["TD"],236:["CF"],237:["CM"],238:["CV"],239:["ST"],240:["GQ"],241:["GA"],242:["CG"],243:["CD"],244:["AO"],245:["GW"],246:["IO"],247:["AC"],248:["SC"],249:["SD"],250:["RW"],251:["ET"],252:["SO"],253:["DJ"],254:["KE"],255:["TZ"],256:["UG"],257:["BI"],258:["MZ"],260:["ZM"],261:["MG"],262:["RE","YT"],263:["ZW"],264:["NA"],265:["MW"],266:["LS"],267:["BW"],268:["SZ"],269:["KM"],290:["SH","TA"],291:["ER"],297:["AW"],298:["FO"],299:["GL"],350:["GI"],351:["PT"],352:["LU"],353:["IE"],354:["IS"],355:["AL"],356:["MT"],357:["CY"],358:["FI","AX"],359:["BG"],370:["LT"],371:["LV"],372:["EE"],373:["MD"],374:["AM"],375:["BY"],376:["AD"],377:["MC"],378:["SM"],380:["UA"],381:["RS"],382:["ME"],383:["XK"],385:["HR"],386:["SI"],387:["BA"],389:["MK"],420:["CZ"],421:["SK"],423:["LI"],500:["FK"],501:["BZ"],502:["GT"],503:["SV"],504:["HN"],505:["NI"],506:["CR"],507:["PA"],508:["PM"],509:["HT"],590:["GP","BL","MF"],591:["BO"],592:["GY"],593:["EC"],594:["GF"],595:["PY"],596:["MQ"],597:["SR"],598:["UY"],599:["CW","BQ"],670:["TL"],672:["NF"],673:["BN"],674:["NR"],675:["PG"],676:["TO"],677:["SB"],678:["VU"],679:["FJ"],680:["PW"],681:["WF"],682:["CK"],683:["NU"],685:["WS"],686:["KI"],687:["NC"],688:["TV"],689:["PF"],690:["TK"],691:["FM"],692:["MH"],800:["001"],808:["001"],850:["KP"],852:["HK"],853:["MO"],855:["KH"],856:["LA"],870:["001"],878:["001"],880:["BD"],881:["001"],882:["001"],883:["001"],886:["TW"],888:["001"],960:["MV"],961:["LB"],962:["JO"],963:["SY"],964:["IQ"],965:["KW"],966:["SA"],967:["YE"],968:["OM"],970:["PS"],971:["AE"],972:["IL"],973:["BH"],974:["QA"],975:["BT"],976:["MN"],977:["NP"],979:["001"],992:["TJ"],993:["TM"],994:["AZ"],995:["GE"],996:["KG"],998:["UZ"]},A1={AC:[,[,,"(?:[01589]\\d|[46])\\d{4}",,,,,,,[5,6]],[,,"6[2-467]\\d{3}",,,,"62889",,,[5]],[,,"4\\d{4}",,,,"40123",,,[5]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AC",247,"00",,,,,,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"(?:0[1-9]|[1589]\\d)\\d{4}",,,,"542011",,,[6]],,,[,,,,,,,,,[-1]]],AD:[,[,,"(?:1|6\\d)\\d{7}|[135-9]\\d{5}",,,,,,,[6,8,9]],[,,"[78]\\d{5}",,,,"712345",,,[6]],[,,"690\\d{6}|[356]\\d{5}",,,,"312345",,,[6,9]],[,,"180[02]\\d{4}",,,,"18001234",,,[8]],[,,"[19]\\d{5}",,,,"912345",,,[6]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AD",376,"00",,,,,,,,[[,"(\\d{3})(\\d{3})","$1 $2",["[135-9]"]],[,"(\\d{4})(\\d{4})","$1 $2",["1"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]]],,[,,,,,,,,,[-1]],,,[,,"1800\\d{4}",,,,,,,[8]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AE:[,[,,"(?:[4-7]\\d|9[0-689])\\d{7}|800\\d{2,9}|[2-4679]\\d{7}",,,,,,,[5,6,7,8,9,10,11,12]],[,,"[2-4679][2-8]\\d{6}",,,,"22345678",,,[8],[7]],[,,"5[024-68]\\d{7}",,,,"501234567",,,[9]],[,,"400\\d{6}|800\\d{2,9}",,,,"800123456"],[,,"900[02]\\d{5}",,,,"900234567",,,[9]],[,,"700[05]\\d{5}",,,,"700012345",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AE",971,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2,9})","$1 $2",["60|8"]],[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[236]|[479][2-8]"],"0$1"],[,"(\\d{3})(\\d)(\\d{5})","$1 $2 $3",["[479]"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"600[25]\\d{5}",,,,"600212345",,,[9]],,,[,,,,,,,,,[-1]]],AF:[,[,,"[2-7]\\d{8}",,,,,,,[9],[7]],[,,"(?:[25][0-8]|[34][0-4]|6[0-5])[2-9]\\d{6}",,,,"234567890",,,,[7]],[,,"7\\d{8}",,,,"701234567",,,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AF",93,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[1-9]"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"]],[[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AG:[,[,,"(?:268|[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"268(?:4(?:6[0-38]|84)|56[0-2])\\d{4}",,,,"2684601234",,,,[7]],[,,"268(?:464|7(?:1[3-9]|[28]\\d|3[0246]|64|7[0-689]))\\d{4}",,,,"2684641234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,"26848[01]\\d{4}",,,,"2684801234",,,,[7]],"AG",1,"011","1",,,"([457]\\d{6})$|1","268$1",,,,,[,,"26840[69]\\d{4}",,,,"2684061234",,,,[7]],,"268",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AI:[,[,,"(?:264|[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"264(?:292|4(?:6[12]|9[78]))\\d{4}",,,,"2644612345",,,,[7]],[,,"264(?:235|4(?:69|76)|5(?:3[6-9]|8[1-4])|7(?:29|72))\\d{4}",,,,"2642351234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"AI",1,"011","1",,,"([2457]\\d{6})$|1","264$1",,,,,[,,"264724\\d{4}",,,,"2647241234",,,,[7]],,"264",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AL:[,[,,"(?:700\\d\\d|900)\\d{3}|8\\d{5,7}|(?:[2-5]|6\\d)\\d{7}",,,,,,,[6,7,8,9],[5]],[,,"4505[0-2]\\d{3}|(?:[2358][16-9]\\d[2-9]|4410)\\d{4}|(?:[2358][2-5][2-9]|4(?:[2-57-9][2-9]|6\\d))\\d{5}",,,,"22345678",,,[8],[5,6,7]],[,,"6(?:[78][2-9]|9\\d)\\d{6}",,,,"672123456",,,[9]],[,,"800\\d{4}",,,,"8001234",,,[7]],[,,"900[1-9]\\d\\d",,,,"900123",,,[6]],[,,"808[1-9]\\d\\d",,,,"808123",,,[6]],[,,"700[2-9]\\d{4}",,,,"70021234",,,[8]],[,,,,,,,,,[-1]],"AL",355,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3,4})","$1 $2",["80|9"],"0$1"],[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["4[2-6]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2358][2-5]|4"],"0$1"],[,"(\\d{3})(\\d{5})","$1 $2",["[23578]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["6"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AM:[,[,,"(?:[1-489]\\d|55|60|77)\\d{6}",,,,,,,[8],[5,6]],[,,"(?:(?:1[0-25]|47)\\d|2(?:2[2-46]|3[1-8]|4[2-69]|5[2-7]|6[1-9]|8[1-7])|3[12]2)\\d{5}",,,,"10123456",,,,[5,6]],[,,"(?:33|4[1349]|55|77|88|9[13-9])\\d{6}",,,,"77123456"],[,,"800\\d{5}",,,,"80012345"],[,,"90[016]\\d{5}",,,,"90012345"],[,,"80[1-4]\\d{5}",,,,"80112345"],[,,,,,,,,,[-1]],[,,"60(?:2[78]|3[5-9]|4[02-9]|5[0-46-9]|[6-8]\\d|9[0-2])\\d{4}",,,,"60271234"],"AM",374,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[89]0"],"0 $1"],[,"(\\d{3})(\\d{5})","$1 $2",["2|3[12]"],"(0$1)"],[,"(\\d{2})(\\d{6})","$1 $2",["1|47"],"(0$1)"],[,"(\\d{2})(\\d{6})","$1 $2",["[3-9]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AO:[,[,,"[29]\\d{8}",,,,,,,[9]],[,,"2\\d(?:[0134][25-9]|[25-9]\\d)\\d{5}",,,,"222123456"],[,,"9[1-579]\\d{7}",,,,"923123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AO",244,"00",,,,,,,,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[29]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AR:[,[,,"(?:11|[89]\\d\\d)\\d{8}|[2368]\\d{9}",,,,,,,[10,11],[6,7,8]],[,,"3(?:7(?:1[15]|81)|8(?:21|4[16]|69|9[12]))[46]\\d{5}|(?:2(?:657|9(?:54|66))|3(?:7(?:55|77)|865))[2-8]\\d{5}|(?:2(?:2(?:2[59]|44|52)|3(?:26|44)|473|9(?:[07]2|2[26]|34|46))|3327)[45]\\d{5}|(?:2(?:284|3(?:02|23)|920)|3(?:4(?:46|8[27]|92)|541|878))[2-7]\\d{5}|(?:2(?:(?:26|62)2|320|477|9(?:42|83))|3(?:329|4(?:62|76|89)|564))[2-6]\\d{5}|(?:(?:11[1-8]|670)\\d|2(?:2(?:0[45]|1[2-6]|3[3-6])|3(?:[06]4|7[45])|494|6(?:04|1[2-8]|[36][45]|4[3-6])|80[45]|9(?:[17][4-6]|[48][45]|9[3-6]))|3(?:364|4(?:1[2-8]|[235][4-6]|84)|5(?:1[2-9]|[38][4-6])|6(?:2[45]|44)|7[069][45]|8(?:0[45]|[17][2-6]|3[4-6]|5[3-6]|8[3-68])))\\d{6}|2(?:2(?:21|4[23]|6[145]|7[1-4]|8[356]|9[267])|3(?:16|3[13-8]|43|5[346-8]|9[3-5])|475|6(?:2[46]|4[78]|5[1568])|9(?:03|2[1457-9]|3[1356]|4[08]|[56][23]|82))4\\d{5}|(?:2(?:2(?:57|81)|3(?:24|46|92)|9(?:01|23|64))|3(?:4(?:42|71)|5(?:25|37|4[347]|71)|7(?:18|5[17])))[3-6]\\d{5}|(?:2(?:2(?:02|2[3467]|4[156]|5[45]|6[6-8]|91)|3(?:1[47]|25|[45][25]|96)|47[48]|625|932)|3(?:38[2578]|4(?:0[0-24-9]|3[78]|4[457]|58|6[03-9]|72|83|9[136-8])|5(?:2[124]|[368][23]|4[2689]|7[2-6])|7(?:16|2[15]|3[145]|4[13]|5[468]|7[2-5]|8[26])|8(?:2[5-7]|3[278]|4[3-5]|5[78]|6[1-378]|[78]7|94)))[4-6]\\d{5}",,,,"1123456789",,,[10],[6,7,8]],[,,"93(?:7(?:1[15]|81)|8(?:21|4[16]|69|9[12]))[46]\\d{5}|9(?:2(?:657|9(?:54|66))|3(?:7(?:55|77)|865))[2-8]\\d{5}|9(?:2(?:2(?:2[59]|44|52)|3(?:26|44)|473|9(?:[07]2|2[26]|34|46))|3327)[45]\\d{5}|9(?:2(?:284|3(?:02|23)|920)|3(?:4(?:46|8[27]|92)|541|878))[2-7]\\d{5}|9(?:2(?:(?:26|62)2|320|477|9(?:42|83))|3(?:329|4(?:62|76|89)|564))[2-6]\\d{5}|(?:675\\d|9(?:11[1-8]\\d|2(?:2(?:0[45]|1[2-6]|3[3-6])|3(?:[06]4|7[45])|494|6(?:04|1[2-8]|[36][45]|4[3-6])|80[45]|9(?:[17][4-6]|[48][45]|9[3-6]))|3(?:364|4(?:1[2-8]|[235][4-6]|84)|5(?:1[2-9]|[38][4-6])|6(?:2[45]|44)|7[069][45]|8(?:0[45]|[17][2-6]|3[4-6]|5[3-6]|8[3-68]))))\\d{6}|92(?:2(?:21|4[23]|6[145]|7[1-4]|8[356]|9[267])|3(?:16|3[13-8]|43|5[346-8]|9[3-5])|475|6(?:2[46]|4[78]|5[1568])|9(?:03|2[1457-9]|3[1356]|4[08]|[56][23]|82))4\\d{5}|9(?:2(?:2(?:57|81)|3(?:24|46|92)|9(?:01|23|64))|3(?:4(?:42|71)|5(?:25|37|4[347]|71)|7(?:18|5[17])))[3-6]\\d{5}|9(?:2(?:2(?:02|2[3467]|4[156]|5[45]|6[6-8]|91)|3(?:1[47]|25|[45][25]|96)|47[48]|625|932)|3(?:38[2578]|4(?:0[0-24-9]|3[78]|4[457]|58|6[03-9]|72|83|9[136-8])|5(?:2[124]|[368][23]|4[2689]|7[2-6])|7(?:16|2[15]|3[145]|4[13]|5[468]|7[2-5]|8[26])|8(?:2[5-7]|3[278]|4[3-5]|5[78]|6[1-378]|[78]7|94)))[4-6]\\d{5}",,,,"91123456789",,,,[6,7,8]],[,,"800\\d{7,8}",,,,"8001234567"],[,,"60[04579]\\d{7}",,,,"6001234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AR",54,"00","0",,,"0?(?:(11|2(?:2(?:02?|[13]|2[13-79]|4[1-6]|5[2457]|6[124-8]|7[1-4]|8[13-6]|9[1267])|3(?:02?|1[467]|2[03-6]|3[13-8]|[49][2-6]|5[2-8]|[67])|4(?:7[3-578]|9)|6(?:[0136]|2[24-6]|4[6-8]?|5[15-8])|80|9(?:0[1-3]|[19]|2\\d|3[1-6]|4[02568]?|5[2-4]|6[2-46]|72?|8[23]?))|3(?:3(?:2[79]|6|8[2578])|4(?:0[0-24-9]|[12]|3[5-8]?|4[24-7]|5[4-68]?|6[02-9]|7[126]|8[2379]?|9[1-36-8])|5(?:1|2[1245]|3[237]?|4[1-46-9]|6[2-4]|7[1-6]|8[2-5]?)|6[24]|7(?:[069]|1[1568]|2[15]|3[145]|4[13]|5[14-8]|7[2-57]|8[126])|8(?:[01]|2[15-7]|3[2578]?|4[13-6]|5[4-8]?|6[1-357-9]|7[36-8]?|8[5-8]?|9[124])))15)?","9$1",,,[[,"(\\d{3})","$1",["0|1(?:0[0-35-7]|1[02-5]|2[015]|3[47]|4[478])|911"]],[,"(\\d{2})(\\d{4})","$1-$2",["[1-9]"]],[,"(\\d{3})(\\d{4})","$1-$2",["[2-9]"]],[,"(\\d{4})(\\d{4})","$1-$2",["[1-8]"]],[,"(\\d{4})(\\d{2})(\\d{4})","$1 $2-$3",["2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9])","2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8]))|2(?:2[24-9]|3[1-59]|47)","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5[56][46]|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|58|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|54(?:4|5[13-7]|6[89])|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:454|85[56])[46]|3(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",,1],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["1"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[68]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2-$3",["[23]"],"0$1",,1],[,"(\\d)(\\d{4})(\\d{2})(\\d{4})","$2 15-$3-$4",["9(?:2[2-469]|3[3-578])","9(?:2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9]))","9(?:2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8])))|92(?:2[24-9]|3[1-59]|47)","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5(?:[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|5(?:4(?:4|5[13-7]|6[89])|[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1"],[,"(\\d)(\\d{2})(\\d{4})(\\d{4})","$2 15-$3-$4",["91"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{5})","$1-$2-$3",["8"],"0$1"],[,"(\\d)(\\d{3})(\\d{3})(\\d{4})","$2 15-$3-$4",["9"],"0$1"]],[[,"(\\d{4})(\\d{2})(\\d{4})","$1 $2-$3",["2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9])","2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8]))|2(?:2[24-9]|3[1-59]|47)","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5[56][46]|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|58|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|54(?:4|5[13-7]|6[89])|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:454|85[56])[46]|3(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",,1],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["1"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[68]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2-$3",["[23]"],"0$1",,1],[,"(\\d)(\\d{4})(\\d{2})(\\d{4})","$1 $2 $3-$4",["9(?:2[2-469]|3[3-578])","9(?:2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9]))","9(?:2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8])))|92(?:2[24-9]|3[1-59]|47)","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5(?:[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|5(?:4(?:4|5[13-7]|6[89])|[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"]],[,"(\\d)(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3-$4",["91"]],[,"(\\d{3})(\\d{3})(\\d{5})","$1-$2-$3",["8"],"0$1"],[,"(\\d)(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3-$4",["9"]]],[,,,,,,,,,[-1]],,,[,,"810\\d{7}",,,,,,,[10]],[,,"810\\d{7}",,,,"8101234567",,,[10]],,,[,,,,,,,,,[-1]]],AS:[,[,,"(?:[58]\\d\\d|684|900)\\d{7}",,,,,,,[10],[7]],[,,"6846(?:22|33|44|55|77|88|9[19])\\d{4}",,,,"6846221234",,,,[7]],[,,"684(?:2(?:48|5[2468]|7[26])|7(?:3[13]|70|82))\\d{4}",,,,"6847331234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"AS",1,"011","1",,,"([267]\\d{6})$|1","684$1",,,,,[,,,,,,,,,[-1]],,"684",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AT:[,[,,"1\\d{3,12}|2\\d{6,12}|43(?:(?:0\\d|5[02-9])\\d{3,9}|2\\d{4,5}|[3467]\\d{4}|8\\d{4,6}|9\\d{4,7})|5\\d{4,12}|8\\d{7,12}|9\\d{8,12}|(?:[367]\\d|4[0-24-9])\\d{4,11}",,,,,,,[4,5,6,7,8,9,10,11,12,13],[3]],[,,"1(?:11\\d|[2-9]\\d{3,11})|(?:316|463|(?:51|66|73)2)\\d{3,10}|(?:2(?:1[467]|2[13-8]|5[2357]|6[1-46-8]|7[1-8]|8[124-7]|9[1458])|3(?:1[1-578]|3[23568]|4[5-7]|5[1378]|6[1-38]|8[3-68])|4(?:2[1-8]|35|7[1368]|8[2457])|5(?:2[1-8]|3[357]|4[147]|5[12578]|6[37])|6(?:13|2[1-47]|4[135-8]|5[468])|7(?:2[1-8]|35|4[13478]|5[68]|6[16-8]|7[1-6]|9[45]))\\d{4,10}",,,,"1234567890",,,,[3]],[,,"6(?:5[0-3579]|6[013-9]|[7-9]\\d)\\d{4,10}",,,,"664123456",,,[7,8,9,10,11,12,13]],[,,"800\\d{6,10}",,,,"800123456",,,[9,10,11,12,13]],[,,"(?:8[69][2-68]|9(?:0[01]|3[019]))\\d{6,10}",,,,"900123456",,,[9,10,11,12,13]],[,,"8(?:10|2[018])\\d{6,10}|828\\d{5}",,,,"810123456",,,[8,9,10,11,12,13]],[,,,,,,,,,[-1]],[,,"5(?:0[1-9]|17|[79]\\d)\\d{2,10}|7[28]0\\d{6,10}",,,,"780123456",,,[5,6,7,8,9,10,11,12,13]],"AT",43,"00","0",,,"0",,,,[[,"(\\d{4})","$1",["14"]],[,"(\\d)(\\d{3,12})","$1 $2",["1(?:11|[2-9])"],"0$1"],[,"(\\d{3})(\\d{2})","$1 $2",["517"],"0$1"],[,"(\\d{2})(\\d{3,5})","$1 $2",["5[079]"],"0$1"],[,"(\\d{6})","$1",["[18]"]],[,"(\\d{3})(\\d{3,10})","$1 $2",["(?:31|4)6|51|6(?:5[0-3579]|[6-9])|7(?:20|32|8)|[89]"],"0$1"],[,"(\\d{4})(\\d{3,9})","$1 $2",["[2-467]|5[2-6]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["5"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4,7})","$1 $2 $3",["5"],"0$1"]],[[,"(\\d)(\\d{3,12})","$1 $2",["1(?:11|[2-9])"],"0$1"],[,"(\\d{3})(\\d{2})","$1 $2",["517"],"0$1"],[,"(\\d{2})(\\d{3,5})","$1 $2",["5[079]"],"0$1"],[,"(\\d{3})(\\d{3,10})","$1 $2",["(?:31|4)6|51|6(?:5[0-3579]|[6-9])|7(?:20|32|8)|[89]"],"0$1"],[,"(\\d{4})(\\d{3,9})","$1 $2",["[2-467]|5[2-6]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["5"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4,7})","$1 $2 $3",["5"],"0$1"]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AU:[,[,,"1(?:[0-79]\\d{7}(?:\\d(?:\\d{2})?)?|8[0-24-9]\\d{7})|[2-478]\\d{8}|1\\d{4,7}",,,,,,,[5,6,7,8,9,10,12]],[,,"(?:(?:(?:2(?:[0-26-9]\\d|3[0-8]|4[02-9]|5[0135-9])|7(?:[013-57-9]\\d|2[0-8]))\\d|3(?:(?:[0-3589]\\d|6[1-9]|7[0-35-9])\\d|4(?:[0-578]\\d|90)))\\d\\d|8(?:51(?:0(?:0[03-9]|[12479]\\d|3[2-9]|5[0-8]|6[1-9]|8[0-7])|1(?:[0235689]\\d|1[0-69]|4[0-589]|7[0-47-9])|2(?:0[0-79]|[18][13579]|2[14-9]|3[0-46-9]|[4-6]\\d|7[89]|9[0-4])|3\\d\\d)|(?:6[0-8]|[78]\\d)\\d{3}|9(?:[02-9]\\d{3}|1(?:(?:[0-58]\\d|6[0135-9])\\d|7(?:0[0-24-9]|[1-9]\\d)|9(?:[0-46-9]\\d|5[0-79])))))\\d{3}",,,,"212345678",,,[9],[8]],[,,"4(?:79[01]|83[0-389]|94[0-4])\\d{5}|4(?:[0-36]\\d|4[047-9]|5[0-25-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}",,,,"412345678",,,[9]],[,,"180(?:0\\d{3}|2)\\d{3}",,,,"1800123456",,,[7,10]],[,,"190[0-26]\\d{6}",,,,"1900123456",,,[10]],[,,"13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",,,,"1300123456",,,[6,8,10,12]],[,,,,,,,,,[-1]],[,,"14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",,,,"147101234",,,[9]],"AU",61,"001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","0",,,"(183[12])|0",,"0011",,[[,"(\\d{2})(\\d{3,4})","$1 $2",["16"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["13"]],[,"(\\d{3})(\\d{3})","$1 $2",["19"]],[,"(\\d{3})(\\d{4})","$1 $2",["180","1802"]],[,"(\\d{4})(\\d{3,4})","$1 $2",["19"]],[,"(\\d{2})(\\d{3})(\\d{2,4})","$1 $2 $3",["16"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["14|4"],"0$1"],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[2378]"],"(0$1)","$CC ($1)"],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:30|[89])"]],[,"(\\d{4})(\\d{4})(\\d{4})","$1 $2 $3",["130"]]],[[,"(\\d{2})(\\d{3,4})","$1 $2",["16"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2,4})","$1 $2 $3",["16"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["14|4"],"0$1"],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[2378]"],"(0$1)","$CC ($1)"],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:30|[89])"]]],[,,"163\\d{2,6}",,,,"1631234",,,[5,6,7,8,9]],1,,[,,"1(?:3(?:00\\d{5}|45[0-4])|802)\\d{3}|1[38]00\\d{6}|13\\d{4}",,,,,,,[6,7,8,10,12]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AW:[,[,,"(?:[25-79]\\d\\d|800)\\d{4}",,,,,,,[7]],[,,"5(?:2\\d|8[1-9])\\d{4}",,,,"5212345"],[,,"(?:290|5[69]\\d|6(?:[03]0|22|4[0-2]|[69]\\d)|7(?:[34]\\d|7[07])|9(?:6[45]|9[4-8]))\\d{4}",,,,"5601234"],[,,"800\\d{4}",,,,"8001234"],[,,"900\\d{4}",,,,"9001234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:28\\d|501)\\d{4}",,,,"5011234"],"AW",297,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[25-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AX:[,[,,"2\\d{4,9}|35\\d{4,5}|(?:60\\d\\d|800)\\d{4,6}|7\\d{5,11}|(?:[14]\\d|3[0-46-9]|50)\\d{4,8}",,,,,,,[5,6,7,8,9,10,11,12]],[,,"18[1-8]\\d{3,6}",,,,"181234567",,,[6,7,8,9]],[,,"4946\\d{2,6}|(?:4[0-8]|50)\\d{4,8}",,,,"412345678",,,[6,7,8,9,10]],[,,"800\\d{4,6}",,,,"800123456",,,[7,8,9]],[,,"[67]00\\d{5,6}",,,,"600123456",,,[8,9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AX",358,"00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","0",,,"0",,"00",,,,[,,,,,,,,,[-1]],,"18",[,,,,,,,,,[-1]],[,,"20\\d{4,8}|60[12]\\d{5,6}|7(?:099\\d{4,5}|5[03-9]\\d{3,7})|20[2-59]\\d\\d|(?:606|7(?:0[78]|1|3\\d))\\d{7}|(?:10|29|3[09]|70[1-5]\\d)\\d{4,8}",,,,"10112345"],,,[,,,,,,,,,[-1]]],AZ:[,[,,"365\\d{6}|(?:[124579]\\d|60|88)\\d{7}",,,,,,,[9],[7]],[,,"(?:2[12]428|3655[02])\\d{4}|(?:2(?:22[0-79]|63[0-28])|3654)\\d{5}|(?:(?:1[28]|46)\\d|2(?:[014-6]2|[23]3))\\d{6}",,,,"123123456",,,,[7]],[,,"36554\\d{4}|(?:[16]0|4[04]|5[015]|7[07]|99)\\d{7}",,,,"401234567"],[,,"88\\d{7}",,,,"881234567"],[,,"900200\\d{3}",,,,"900200123"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AZ",994,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[1-9]"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["90"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[28]|2|365|46","1[28]|2|365[45]|46","1[28]|2|365(?:4|5[02])|46"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[13-9]"],"0$1"]],[[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["90"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[28]|2|365|46","1[28]|2|365[45]|46","1[28]|2|365(?:4|5[02])|46"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[13-9]"],"0$1"]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BA:[,[,,"6\\d{8}|(?:[35689]\\d|49|70)\\d{6}",,,,,,,[8,9],[6]],[,,"(?:3(?:[05-79][2-9]|1[4579]|[23][24-9]|4[2-4689]|8[2457-9])|49[2-579]|5(?:0[2-49]|[13][2-9]|[268][2-4679]|4[4689]|5[2-79]|7[2-69]|9[2-4689]))\\d{5}",,,,"30212345",,,[8],[6]],[,,"6040\\d{5}|6(?:03|[1-356]|44|7\\d)\\d{6}",,,,"61123456"],[,,"8[08]\\d{6}",,,,"80123456",,,[8]],[,,"9[0246]\\d{6}",,,,"90123456",,,[8]],[,,"8[12]\\d{6}",,,,"82123456",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BA",387,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3})","$1-$2",["[2-9]"]],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["6[1-3]|[7-9]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2-$3",["[3-5]|6[56]"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["6"],"0$1"]],[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["6[1-3]|[7-9]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2-$3",["[3-5]|6[56]"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["6"],"0$1"]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"703[235]0\\d{3}|70(?:2[0-5]|3[0146]|[56]0)\\d{4}",,,,"70341234",,,[8]],,,[,,,,,,,,,[-1]]],BB:[,[,,"(?:246|[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"246521[0369]\\d{3}|246(?:2(?:2[78]|7[0-4])|4(?:1[024-6]|2\\d|3[2-9])|5(?:20|[34]\\d|54|7[1-3])|6(?:2\\d|38)|7[35]7|9(?:1[89]|63))\\d{4}",,,,"2464123456",,,,[7]],[,,"246(?:(?:2(?:[3568]\\d|4[0-57-9])|3(?:5[2-9]|6[0-6])|4(?:46|5\\d)|69[5-7]|8(?:[2-5]\\d|83))\\d|52(?:1[147]|20))\\d{3}",,,,"2462501234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"(?:246976|900[2-9]\\d\\d)\\d{4}",,,,"9002123456",,,,[7]],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,"24631\\d{5}",,,,"2463101234",,,,[7]],"BB",1,"011","1",,,"([2-9]\\d{6})$|1","246$1",,,,,[,,,,,,,,,[-1]],,"246",[,,,,,,,,,[-1]],[,,"246(?:292|367|4(?:1[7-9]|3[01]|4[47-9]|67)|7(?:1[2-9]|2\\d|3[016]|53))\\d{4}",,,,"2464301234",,,,[7]],,,[,,,,,,,,,[-1]]],BD:[,[,,"[1-469]\\d{9}|8[0-79]\\d{7,8}|[2-79]\\d{8}|[2-9]\\d{7}|[3-9]\\d{6}|[57-9]\\d{5}",,,,,,,[6,7,8,9,10]],[,,"(?:4(?:31\\d\\d|423)|5222)\\d{3}(?:\\d{2})?|8332[6-9]\\d\\d|(?:3(?:03[56]|224)|4(?:22[25]|653))\\d{3,4}|(?:3(?:42[47]|529|823)|4(?:027|525|65(?:28|8))|562|6257|7(?:1(?:5[3-5]|6[12]|7[156]|89)|22[589]56|32|42675|52(?:[25689](?:56|8)|[347]8)|71(?:6[1267]|75|89)|92374)|82(?:2[59]|32)56|9(?:03[23]56|23(?:256|373)|31|5(?:1|2[4589]56)))\\d{3}|(?:3(?:02[348]|22[35]|324|422)|4(?:22[67]|32[236-9]|6(?:2[46]|5[57])|953)|5526|6(?:024|6655)|81)\\d{4,5}|(?:2(?:7(?:1[0-267]|2[0-289]|3[0-29]|4[01]|5[1-3]|6[013]|7[0178]|91)|8(?:0[125]|1[1-6]|2[0157-9]|3[1-69]|41|6[1-35]|7[1-5]|8[1-8]|9[0-6])|9(?:0[0-2]|1[0-4]|2[568]|3[3-6]|5[5-7]|6[0136-9]|7[0-7]|8[014-9]))|3(?:0(?:2[025-79]|3[2-4])|181|22[12]|32[2356]|824)|4(?:02[09]|22[348]|32[045]|523|6(?:27|54))|666(?:22|53)|7(?:22[57-9]|42[56]|82[35])8|8(?:0[124-9]|2(?:181|2[02-4679]8)|4[12]|[5-7]2)|9(?:[04]2|2(?:2|328)|81))\\d{4}|(?:2(?:2\\d|[45])\\d\\d|3(?:1(?:2[5-7]|[5-7])|425|822)|4(?:033|1\\d|[257]1|332|4(?:2[246]|5[25])|6(?:2[35]|56|62)|8(?:23|54)|92[2-5])|5(?:02[03489]|22[457]|32[35-79]|42[46]|6(?:[18]|53)|724|826)|6(?:023|2(?:2[2-5]|5[3-5]|8)|32[3478]|42[34]|52[47]|6(?:[18]|6(?:2[34]|5[24]))|[78]2[2-5]|92[2-6])|7(?:02|21\\d|[3-589]1|6[12]|72[24])|8(?:217|3[12]|[5-7]1)|9[24]1)\\d{5}|(?:(?:3[2-8]|5[2-57-9]|6[03-589])1|4[4689][18])\\d{5}|[59]1\\d{5}",,,,"27111234"],[,,"(?:1[13-9]\\d|644)\\d{7}|(?:3[78]|44|66)[02-9]\\d{7}",,,,"1812345678",,,[10]],[,,"80[03]\\d{7}",,,,"8001234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"96(?:0[469]|1[0-47]|3[389]|43|6[69]|7[78])\\d{6}",,,,"9604123456",,,[10]],"BD",880,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{4,6})","$1-$2",["31[5-8]|[459]1"],"0$1"],[,"(\\d{3})(\\d{3,7})","$1-$2",["3(?:[67]|8[013-9])|4(?:6[168]|7|[89][18])|5(?:6[128]|9)|6(?:[15]|28|4[14])|7[2-589]|8(?:0[014-9]|[12])|9[358]|(?:3[2-5]|4[235]|5[2-578]|6[0389]|76|8[3-7]|9[24])1|(?:44|66)[01346-9]"],"0$1"],[,"(\\d{4})(\\d{3,6})","$1-$2",["[13-9]|22"],"0$1"],[,"(\\d)(\\d{7,8})","$1-$2",["2"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BE:[,[,,"4\\d{8}|[1-9]\\d{7}",,,,,,,[8,9]],[,,"80[2-8]\\d{5}|(?:1[0-69]|[23][2-8]|4[23]|5\\d|6[013-57-9]|71|8[1-79]|9[2-4])\\d{6}",,,,"12345678",,,[8]],[,,"4[5-9]\\d{7}",,,,"470123456",,,[9]],[,,"800[1-9]\\d{4}",,,,"80012345",,,[8]],[,,"(?:70(?:2[0-57]|3[04-7]|44|6[4-69]|7[0579])|90\\d\\d)\\d{4}",,,,"90012345",,,[8]],[,,"7879\\d{4}",,,,"78791234",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BE",32,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:80|9)0"],"0$1"],[,"(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[239]|4[23]"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[15-8]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"78(?:0[57]|1[014-8]|2[25]|3[15-8]|48|[56]0|7[06-8]|9\\d)\\d{4}",,,,"78102345",,,[8]],,,[,,,,,,,,,[-1]]],BF:[,[,,"[025-7]\\d{7}",,,,,,,[8]],[,,"2(?:0(?:49|5[23]|6[5-7]|9[016-9])|4(?:4[569]|5[4-6]|6[5-7]|7[0179])|5(?:[34]\\d|50|6[5-7]))\\d{4}",,,,"20491234"],[,,"(?:0[1-35-7]|5[0-8]|[67]\\d)\\d{6}",,,,"70123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BF",226,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[025-7]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BG:[,[,,"00800\\d{7}|[2-7]\\d{6,7}|[89]\\d{6,8}|2\\d{5}",,,,,,,[6,7,8,9,12],[4,5]],[,,"2\\d{5,7}|(?:43[1-6]|70[1-9])\\d{4,5}|(?:[36]\\d|4[124-7]|[57][1-9]|8[1-6]|9[1-7])\\d{5,6}",,,,"2123456",,,[6,7,8],[4,5]],[,,"(?:43[07-9]|99[69]\\d)\\d{5}|(?:8[7-9]|98)\\d{7}",,,,"43012345",,,[8,9]],[,,"(?:00800\\d\\d|800)\\d{5}",,,,"80012345",,,[8,12]],[,,"90\\d{6}",,,,"90123456",,,[8]],[,,"700\\d{5}",,,,"70012345",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BG",359,"00","0",,,"0",,,,[[,"(\\d{6})","$1",["1"]],[,"(\\d)(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["2"],"0$1"],[,"(\\d{3})(\\d{4})","$1 $2",["43[1-6]|70[1-9]"],"0$1"],[,"(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["2"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["[356]|4[124-7]|7[1-9]|8[1-6]|9[1-7]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:70|8)0"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3",["43[1-7]|7"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[48]|9[08]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"]],[[,"(\\d)(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["2"],"0$1"],[,"(\\d{3})(\\d{4})","$1 $2",["43[1-6]|70[1-9]"],"0$1"],[,"(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["2"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["[356]|4[124-7]|7[1-9]|8[1-6]|9[1-7]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:70|8)0"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3",["43[1-7]|7"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[48]|9[08]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BH:[,[,,"[136-9]\\d{7}",,,,,,,[8]],[,,"(?:1(?:3[1356]|6[0156]|7\\d)\\d|6(?:1[16]\\d|500|6(?:0\\d|3[12]|44|55|7[7-9]|88)|9[69][69])|7(?:[07]\\d\\d|1(?:11|78)))\\d{4}",,,,"17001234"],[,,"(?:3(?:[0-79]\\d|8[0-57-9])\\d|6(?:3(?:00|33|6[16])|441|6(?:3[03-9]|[69]\\d|7[0-689])))\\d{4}",,,,"36001234"],[,,"8[02369]\\d{6}",,,,"80123456"],[,,"(?:87|9[0-8])\\d{6}",,,,"90123456"],[,,"84\\d{6}",,,,"84123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BH",973,"00",,,,,,,,[[,"(\\d{4})(\\d{4})","$1 $2",["[13679]|8[02-4679]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BI:[,[,,"(?:[267]\\d|31)\\d{6}",,,,,,,[8]],[,,"(?:22|31)\\d{6}",,,,"22201234"],[,,"(?:29|[67][125-9])\\d{6}",,,,"79561234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BI",257,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2367]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BJ:[,[,,"[24-689]\\d{7}",,,,,,,[8]],[,,"2(?:02|1[037]|2[45]|3[68]|4\\d)\\d{5}",,,,"20211234"],[,,"(?:4[0-7]|[56]\\d|9[013-9])\\d{6}",,,,"90011234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"857[58]\\d{4}",,,,"85751234"],"BJ",229,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24-689]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"81\\d{6}",,,,"81123456"],,,[,,,,,,,,,[-1]]],BL:[,[,,"590\\d{6}|(?:69|80|9\\d)\\d{7}",,,,,,,[9]],[,,"590(?:2[7-9]|3[3-7]|5[12]|87)\\d{4}",,,,"590271234"],[,,"69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))\\d{4}",,,,"690001234"],[,,"80[0-5]\\d{6}",,,,"800012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"9(?:(?:39[5-7]|76[018])\\d|475[0-5])\\d{4}",,,,"976012345"],"BL",590,"00","0",,,"0",,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BM:[,[,,"(?:441|[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"441(?:[46]\\d\\d|5(?:4\\d|60|89))\\d{4}",,,,"4414123456",,,,[7]],[,,"441(?:[2378]\\d|5[0-39]|9[02])\\d{5}",,,,"4413701234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"BM",1,"011","1",,,"([2-9]\\d{6})$|1","441$1",,,,,[,,,,,,,,,[-1]],,"441",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BN:[,[,,"[2-578]\\d{6}",,,,,,,[7]],[,,"22[0-7]\\d{4}|(?:2[013-9]|[34]\\d|5[0-25-9])\\d{5}",,,,"2345678"],[,,"(?:22[89]|[78]\\d\\d)\\d{4}",,,,"7123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"5[34]\\d{5}",,,,"5345678"],"BN",673,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[2-578]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BO:[,[,,"8001\\d{5}|(?:[2-467]\\d|50)\\d{6}",,,,,,,[8,9],[7]],[,,"(?:2(?:2\\d\\d|5(?:11|[258]\\d|9[67])|6(?:12|2\\d|9[34])|8(?:2[34]|39|62))|3(?:3\\d\\d|4(?:6\\d|8[24])|8(?:25|42|5[257]|86|9[25])|9(?:[27]\\d|3[2-4]|4[248]|5[24]|6[2-6]))|4(?:4\\d\\d|6(?:11|[24689]\\d|72)))\\d{4}",,,,"22123456",,,[8],[7]],[,,"[67]\\d{7}",,,,"71234567",,,[8]],[,,"8001[07]\\d{4}",,,,"800171234",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"50\\d{6}",,,,"50123456",,,[8],[7]],"BO",591,"00(?:1\\d)?","0",,,"0(1\\d)?",,,,[[,"(\\d)(\\d{7})","$1 $2",["[235]|4[46]"],,"0$CC $1"],[,"(\\d{8})","$1",["[67]"],,"0$CC $1"],[,"(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["8"],,"0$CC $1"]],,[,,,,,,,,,[-1]],,,[,,"8001[07]\\d{4}",,,,,,,[9]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BQ:[,[,,"(?:[34]1|7\\d)\\d{5}",,,,,,,[7]],[,,"(?:318[023]|41(?:6[023]|70)|7(?:1[578]|2[05]|50)\\d)\\d{3}",,,,"7151234"],[,,"(?:31(?:8[14-8]|9[14578])|416[14-9]|7(?:0[01]|7[07]|8\\d|9[056])\\d)\\d{3}",,,,"3181234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BQ",599,"00",,,,,,,,,,[,,,,,,,,,[-1]],,"[347]",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BR:[,[,,"(?:[1-46-9]\\d\\d|5(?:[0-46-9]\\d|5[0-46-9]))\\d{8}|[1-9]\\d{9}|[3589]\\d{8}|[34]\\d{7}",,,,,,,[8,9,10,11]],[,,"(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-5]\\d{7}",,,,"1123456789",,,[10],[8]],[,,"(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])(?:7|9\\d)\\d{7}",,,,"11961234567",,,[10,11],[8,9]],[,,"800\\d{6,7}",,,,"800123456",,,[9,10]],[,,"300\\d{6}|[59]00\\d{6,7}",,,,"300123456",,,[9,10]],[,,"(?:30[03]\\d{3}|4(?:0(?:0\\d|20)|370))\\d{4}|300\\d{5}",,,,"40041234",,,[8,10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BR",55,"00(?:1[245]|2[1-35]|31|4[13]|[56]5|99)","0",,,"(?:0|90)(?:(1[245]|2[1-35]|31|4[13]|[56]5|99)(\\d{10,11}))?","$2",,,[[,"(\\d{3,6})","$1",["1(?:1[25-8]|2[357-9]|3[02-68]|4[12568]|5|6[0-8]|8[015]|9[0-47-9])|321|610"]],[,"(\\d{4})(\\d{4})","$1-$2",["300|4(?:0[02]|37)","4(?:02|37)0|[34]00"]],[,"(\\d{4})(\\d{4})","$1-$2",["[2-57]","[2357]|4(?:[0-24-9]|3(?:[0-689]|7[1-9]))"]],[,"(\\d{3})(\\d{2,3})(\\d{4})","$1 $2 $3",["(?:[358]|90)0"],"0$1"],[,"(\\d{5})(\\d{4})","$1-$2",["9"]],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-57]"],"($1)","0 $CC ($1)"],[,"(\\d{2})(\\d{5})(\\d{4})","$1 $2-$3",["[16][1-9]|[2-57-9]"],"($1)","0 $CC ($1)"]],[[,"(\\d{4})(\\d{4})","$1-$2",["300|4(?:0[02]|37)","4(?:02|37)0|[34]00"]],[,"(\\d{3})(\\d{2,3})(\\d{4})","$1 $2 $3",["(?:[358]|90)0"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-57]"],"($1)","0 $CC ($1)"],[,"(\\d{2})(\\d{5})(\\d{4})","$1 $2-$3",["[16][1-9]|[2-57-9]"],"($1)","0 $CC ($1)"]],[,,,,,,,,,[-1]],,,[,,"30(?:0\\d{5,7}|3\\d{7})|40(?:0\\d|20)\\d{4}|800\\d{6,7}",,,,,,,[8,9,10]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BS:[,[,,"(?:242|[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"242(?:3(?:02|[236][1-9]|4[0-24-9]|5[0-68]|7[347]|8[0-4]|9[2-467])|461|502|6(?:0[1-5]|12|2[013]|[45]0|7[67]|8[78]|9[89])|7(?:02|88))\\d{4}",,,,"2423456789",,,,[7]],[,,"242(?:3(?:5[79]|7[56]|95)|4(?:[23][1-9]|4[1-35-9]|5[1-8]|6[2-8]|7\\d|81)|5(?:2[45]|3[35]|44|5[1-46-9]|65|77)|6[34]6|7(?:27|38)|8(?:0[1-9]|1[02-9]|2\\d|3[0-4]|[89]9))\\d{4}",,,,"2423591234",,,,[7]],[,,"242300\\d{4}|8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456",,,,[7]],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"BS",1,"011","1",,,"([3-8]\\d{6})$|1","242$1",,,,,[,,,,,,,,,[-1]],,"242",[,,,,,,,,,[-1]],[,,"242225\\d{4}",,,,"2422250123"],,,[,,,,,,,,,[-1]]],BT:[,[,,"[17]\\d{7}|[2-8]\\d{6}",,,,,,,[7,8],[6]],[,,"(?:2[3-6]|[34][5-7]|5[236]|6[2-46]|7[246]|8[2-4])\\d{5}",,,,"2345678",,,[7],[6]],[,,"(?:1[67]|77)\\d{6}",,,,"17123456",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BT",975,"00",,,,,,,,[[,"(\\d{3})(\\d{3})","$1 $2",["[2-7]"]],[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[2-68]|7[246]"]],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[67]|7"]]],[[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[2-68]|7[246]"]],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[67]|7"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BW:[,[,,"(?:0800|(?:[37]|800)\\d)\\d{6}|(?:[2-6]\\d|90)\\d{5}",,,,,,,[7,8,10]],[,,"(?:2(?:4[0-48]|6[0-24]|9[0578])|3(?:1[0-35-9]|55|[69]\\d|7[013]|81)|4(?:6[03]|7[1267]|9[0-5])|5(?:3[03489]|4[0489]|7[1-47]|88|9[0-49])|6(?:2[1-35]|5[149]|8[013467]))\\d{4}",,,,"2401234",,,[7]],[,,"(?:321|7[1-8]\\d)\\d{5}",,,,"71123456",,,[8]],[,,"(?:0800|800\\d)\\d{6}",,,,"0800012345",,,[10]],[,,"90\\d{5}",,,,"9012345",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"79(?:1(?:[0-2]\\d|3[0-3])|2[0-7]\\d)\\d{3}",,,,"79101234",,,[8]],"BW",267,"00",,,,,,,,[[,"(\\d{2})(\\d{5})","$1 $2",["90"]],[,"(\\d{3})(\\d{4})","$1 $2",["[24-6]|3[15-9]"]],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37]"]],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["0"]],[,"(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["8"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BY:[,[,,"(?:[12]\\d|33|44|902)\\d{7}|8(?:0[0-79]\\d{5,7}|[1-7]\\d{9})|8(?:1[0-489]|[5-79]\\d)\\d{7}|8[1-79]\\d{6,7}|8[0-79]\\d{5}|8\\d{5}",,,,,,,[6,7,8,9,10,11],[5]],[,,"(?:1(?:5(?:1[1-5]|[24]\\d|6[2-4]|9[1-7])|6(?:[235]\\d|4[1-7])|7\\d\\d)|2(?:1(?:[246]\\d|3[0-35-9]|5[1-9])|2(?:[235]\\d|4[0-8])|3(?:[26]\\d|3[02-79]|4[024-7]|5[03-7])))\\d{5}",,,,"152450911",,,[9],[5,6,7]],[,,"(?:2(?:5[5-79]|9[1-9])|(?:33|44)\\d)\\d{6}",,,,"294911911",,,[9]],[,,"800\\d{3,7}|8(?:0[13]|20\\d)\\d{7}",,,,"8011234567"],[,,"(?:810|902)\\d{7}",,,,"9021234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"249\\d{6}",,,,"249123456",,,[9]],"BY",375,"810","8",,,"0|80?",,"8~10",,[[,"(\\d{3})(\\d{3})","$1 $2",["800"],"8 $1"],[,"(\\d{3})(\\d{2})(\\d{2,4})","$1 $2 $3",["800"],"8 $1"],[,"(\\d{4})(\\d{2})(\\d{3})","$1 $2-$3",["1(?:5[169]|6[3-5]|7[179])|2(?:1[35]|2[34]|3[3-5])","1(?:5[169]|6(?:3[1-3]|4|5[125])|7(?:1[3-9]|7[0-24-6]|9[2-7]))|2(?:1[35]|2[34]|3[3-5])"],"8 0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["1(?:[56]|7[467])|2[1-3]"],"8 0$1"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-4]"],"8 0$1"],[,"(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["[89]"],"8 $1"]],,[,,,,,,,,,[-1]],,,[,,"800\\d{3,7}|(?:8(?:0[13]|10|20\\d)|902)\\d{7}"],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BZ:[,[,,"(?:0800\\d|[2-8])\\d{6}",,,,,,,[7,11]],[,,"(?:2(?:[02]\\d|36|[68]0)|[3-58](?:[02]\\d|[68]0)|7(?:[02]\\d|32|[68]0))\\d{4}",,,,"2221234",,,[7]],[,,"6[0-35-7]\\d{5}",,,,"6221234",,,[7]],[,,"0800\\d{7}",,,,"08001234123",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BZ",501,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1-$2",["[2-8]"]],[,"(\\d)(\\d{3})(\\d{4})(\\d{3})","$1-$2-$3-$4",["0"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CA:[,[,,"(?:[2-8]\\d|90)\\d{8}|3\\d{6}",,,,,,,[7,10]],[,,"(?:2(?:04|[23]6|[48]9|50|63)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|[26]8|3[178]|50|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|7[39])|90[25])[2-9]\\d{6}",,,,"5062345678",,,[10],[7]],[,,"(?:2(?:04|[23]6|[48]9|50|63)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|[26]8|3[178]|50|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|7[39])|90[25])[2-9]\\d{6}",,,,"5062345678",,,[10],[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456",,,[10]],[,,"900[2-9]\\d{6}",,,,"9002123456",,,[10]],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|(?:5(?:00|2[125-9]|33|44|66|77|88)|622)[2-9]\\d{6}",,,,"5002345678",,,[10]],[,,"600[2-9]\\d{6}",,,,"6002012345",,,[10]],"CA",1,"011","1",,,"1",,,1,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"310\\d{4}",,,,"3101234",,,[7]],,,[,,,,,,,,,[-1]]],CC:[,[,,"1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",,,,,,,[6,7,8,9,10,12]],[,,"8(?:51(?:0(?:02|31|60|89)|1(?:18|76)|223)|91(?:0(?:1[0-2]|29)|1(?:[28]2|50|79)|2(?:10|64)|3(?:[06]8|22)|4[29]8|62\\d|70[23]|959))\\d{3}",,,,"891621234",,,[9],[8]],[,,"4(?:79[01]|83[0-389]|94[0-4])\\d{5}|4(?:[0-36]\\d|4[047-9]|5[0-25-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}",,,,"412345678",,,[9]],[,,"180(?:0\\d{3}|2)\\d{3}",,,,"1800123456",,,[7,10]],[,,"190[0-26]\\d{6}",,,,"1900123456",,,[10]],[,,"13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",,,,"1300123456",,,[6,8,10,12]],[,,,,,,,,,[-1]],[,,"14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",,,,"147101234",,,[9]],"CC",61,"001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","0",,,"([59]\\d{7})$|0","8$1","0011",,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CD:[,[,,"[189]\\d{8}|[1-68]\\d{6}",,,,,,,[7,9]],[,,"12\\d{7}|[1-6]\\d{6}",,,,"1234567"],[,,"88\\d{5}|(?:8[0-69]|9[017-9])\\d{7}",,,,"991234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CD",243,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["88"],"0$1"],[,"(\\d{2})(\\d{5})","$1 $2",["[1-6]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CF:[,[,,"(?:[27]\\d{3}|8776)\\d{4}",,,,,,,[8]],[,,"2[12]\\d{6}",,,,"21612345"],[,,"7[024-7]\\d{6}",,,,"70012345"],[,,,,,,,,,[-1]],[,,"8776\\d{4}",,,,"87761234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CF",236,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[278]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CG:[,[,,"222\\d{6}|(?:0\\d|80)\\d{7}",,,,,,,[9]],[,,"222[1-589]\\d{5}",,,,"222123456"],[,,"026(?:1[0-5]|6[6-9])\\d{4}|0(?:[14-6]\\d\\d|2(?:40|5[5-8]|6[07-9]))\\d{5}",,,,"061234567"],[,,,,,,,,,[-1]],[,,"80[0-2]\\d{6}",,,,"800123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CG",242,"00",,,,,,,,[[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["8"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[02]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CH:[,[,,"8\\d{11}|[2-9]\\d{8}",,,,,,,[9,12]],[,,"(?:2[12467]|3[1-4]|4[134]|5[256]|6[12]|[7-9]1)\\d{7}",,,,"212345678",,,[9]],[,,"(?:6[89]|7[235-9])\\d{7}",,,,"781234567",,,[9]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,"90[016]\\d{6}",,,,"900123456",,,[9]],[,,"84[0248]\\d{6}",,,,"840123456",,,[9]],[,,"878\\d{6}",,,,"878123456",,,[9]],[,,,,,,,,,[-1]],"CH",41,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8[047]|90"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-79]|81"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["8"],"0$1"]],,[,,"74[0248]\\d{6}",,,,"740123456",,,[9]],,,[,,,,,,,,,[-1]],[,,"5[18]\\d{7}",,,,"581234567",,,[9]],,,[,,"860\\d{9}",,,,"860123456789",,,[12]]],CI:[,[,,"[02]\\d{9}",,,,,,,[10]],[,,"2(?:[15]\\d{3}|7(?:2(?:0[23]|1[2357]|2[245]|3[45]|4[3-5])|3(?:06|1[69]|[2-6]7)))\\d{5}",,,,"2123456789"],[,,"0[157]\\d{8}",,,,"0123456789"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CI",225,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d)(\\d{5})","$1 $2 $3 $4",["2"]],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3 $4",["0"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CK:[,[,,"[2-578]\\d{4}",,,,,,,[5]],[,,"(?:2\\d|3[13-7]|4[1-5])\\d{3}",,,,"21234"],[,,"[578]\\d{4}",,,,"71234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CK",682,"00",,,,,,,,[[,"(\\d{2})(\\d{3})","$1 $2",["[2-578]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CL:[,[,,"12300\\d{6}|6\\d{9,10}|[2-9]\\d{8}",,,,,,,[9,10,11]],[,,"2(?:1982[0-6]|3314[05-9])\\d{3}|(?:2(?:1(?:160|962)|3(?:2\\d\\d|3(?:[03467]\\d|1[0-35-9]|2[1-9]|5[0-24-9]|8[0-3])|600)|646[59])|80[1-9]\\d\\d|9(?:3(?:[0-57-9]\\d\\d|6(?:0[02-9]|[1-9]\\d))|6(?:[0-8]\\d\\d|9(?:[02-79]\\d|1[05-9]))|7[1-9]\\d\\d|9(?:[03-9]\\d\\d|1(?:[0235-9]\\d|4[0-24-9])|2(?:[0-79]\\d|8[0-46-9]))))\\d{4}|(?:22|3[2-5]|[47][1-35]|5[1-3578]|6[13-57]|8[1-9]|9[2458])\\d{7}",,,,"221234567",,,[9]],[,,"2(?:1982[0-6]|3314[05-9])\\d{3}|(?:2(?:1(?:160|962)|3(?:2\\d\\d|3(?:[03467]\\d|1[0-35-9]|2[1-9]|5[0-24-9]|8[0-3])|600)|646[59])|80[1-9]\\d\\d|9(?:3(?:[0-57-9]\\d\\d|6(?:0[02-9]|[1-9]\\d))|6(?:[0-8]\\d\\d|9(?:[02-79]\\d|1[05-9]))|7[1-9]\\d\\d|9(?:[03-9]\\d\\d|1(?:[0235-9]\\d|4[0-24-9])|2(?:[0-79]\\d|8[0-46-9]))))\\d{4}|(?:22|3[2-5]|[47][1-35]|5[1-3578]|6[13-57]|8[1-9]|9[2458])\\d{7}",,,,"221234567",,,[9]],[,,"(?:123|8)00\\d{6}",,,,"800123456",,,[9,11]],[,,,,,,,,,[-1]],[,,"600\\d{7,8}",,,,"6001234567",,,[10,11]],[,,,,,,,,,[-1]],[,,"44\\d{7}",,,,"441234567",,,[9]],"CL",56,"(?:0|1(?:1[0-69]|2[02-5]|5[13-58]|69|7[0167]|8[018]))0",,,,,,,1,[[,"(\\d{4})","$1",["1(?:[03-589]|21)|[29]0|78"]],[,"(\\d{5})(\\d{4})","$1 $2",["219","2196"],"($1)"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["44"]],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2[1-36]"],"($1)"],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["9[2-9]"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-9]|[1-9])"],"($1)"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["60|8"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],[,"(\\d{3})(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3 $4",["60"]]],[[,"(\\d{5})(\\d{4})","$1 $2",["219","2196"],"($1)"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["44"]],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2[1-36]"],"($1)"],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["9[2-9]"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-9]|[1-9])"],"($1)"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["60|8"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],[,"(\\d{3})(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3 $4",["60"]]],[,,,,,,,,,[-1]],,,[,,"600\\d{7,8}",,,,,,,[10,11]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CM:[,[,,"[26]\\d{8}|88\\d{6,7}",,,,,,,[8,9]],[,,"2(?:22|33)\\d{6}",,,,"222123456",,,[9]],[,,"(?:24[23]|6[25-9]\\d)\\d{6}",,,,"671234567",,,[9]],[,,"88\\d{6,7}",,,,"88012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CM",237,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["88"]],[,"(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[26]|88"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CN:[,[,,"1[127]\\d{8,9}|2\\d{9}(?:\\d{2})?|[12]\\d{6,7}|86\\d{6}|(?:1[03-689]\\d|6)\\d{7,9}|(?:[3-579]\\d|8[0-57-9])\\d{6,9}",,,,,,,[7,8,9,10,11,12],[5,6]],[,,"(?:10(?:[02-79]\\d\\d|[18](?:0[1-9]|[1-9]\\d))|21(?:[18](?:0[1-9]|[1-9]\\d)|[2-79]\\d\\d))\\d{5}|(?:43[35]|754)\\d{7,8}|8(?:078\\d{7}|51\\d{7,8})|(?:10|(?:2|85)1|43[35]|754)(?:100\\d\\d|95\\d{3,4})|(?:2[02-57-9]|3(?:11|7[179])|4(?:[15]1|3[12])|5(?:1\\d|2[37]|3[12]|51|7[13-79]|9[15])|7(?:[39]1|5[57]|6[09])|8(?:71|98))(?:[02-8]\\d{7}|1(?:0(?:0\\d\\d(?:\\d{3})?|[1-9]\\d{5})|[1-9]\\d{6})|9(?:[0-46-9]\\d{6}|5\\d{3}(?:\\d(?:\\d{2})?)?))|(?:3(?:1[02-9]|35|49|5\\d|7[02-68]|9[1-68])|4(?:1[02-9]|2[179]|3[46-9]|5[2-9]|6[47-9]|7\\d|8[23])|5(?:3[03-9]|4[36]|5[02-9]|6[1-46]|7[028]|80|9[2-46-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[17]\\d|2[248]|3[04-9]|4[3-6]|5[0-3689]|6[2368]|9[02-9])|8(?:1[236-8]|2[5-7]|3\\d|5[2-9]|7[02-9]|8[36-8]|9[1-7])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:[02-8]\\d{6}|1(?:0(?:0\\d\\d(?:\\d{2})?|[1-9]\\d{4})|[1-9]\\d{5})|9(?:[0-46-9]\\d{5}|5\\d{3,5}))",,,,"1012345678",,,[7,8,9,10,11],[5,6]],[,,"1740[0-5]\\d{6}|1(?:[38]\\d|4[57]|[59][0-35-9]|6[25-7]|7[0-35-8])\\d{8}",,,,"13123456789",,,[11]],[,,"(?:(?:10|21)8|8)00\\d{7}",,,,"8001234567",,,[10,12]],[,,"16[08]\\d{5}",,,,"16812345",,,[8]],[,,"10(?:10\\d{4}|96\\d{3,4})|400\\d{7}|950\\d{7,8}|(?:2[0-57-9]|3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))96\\d{3,4}",,,,"4001234567",,,[7,8,9,10,11],[5,6]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CN",86,"00|1(?:[12]\\d|79)\\d\\d00","0",,,"(1(?:[12]\\d|79)\\d\\d)|0",,"00",,[[,"(\\d{5,6})","$1",["1(?:00|2[13])|9[56]","1(?:00|2(?:1|39))|9[56]","1(?:00|2(?:1|395))|9[56]"]],[,"(\\d{5,6})","$1",["10"]],[,"(\\d{2})(\\d{5,6})","$1 $2",["(?:10|2[0-57-9])[19]","(?:10|2[0-57-9])(?:10|9[56])","10(?:10|9[56])|2[0-57-9](?:100|9[56])"],"0$1","$CC $1"],[,"(\\d{3})(\\d{4})","$1 $2",["[1-9]","1[1-9]|26|[3-9]|(?:10|2[0-57-9])(?:[0-8]|9[0-47-9])","1(?:0(?:[0-8]|9[0-47-9])|[1-9])|2(?:[0-57-9](?:[02-8]|1(?:0[1-9]|[1-9])|9[0-47-9])|6)|[3-9]"]],[,"(\\d{4})(\\d{4})","$1 $2",["16[08]"]],[,"(\\d{3})(\\d{5,6})","$1 $2",["3(?:[157]|35|49|9[1-68])|4(?:[17]|2[179]|6[47-9]|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])|(?:4[35]|59|85)[1-9]","(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))[19]","85[23](?:10|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:10|9[56])","85[23](?:100|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:100|9[56])"],"0$1","$CC $1"],[,"(\\d{4})(\\d{4})","$1 $2",["[1-9]","1(?:0(?:[02-8]|1[1-9]|9[0-47-9])|[1-9])|2(?:[0-57-9](?:[0-8]|9[0-47-9])|6)|[3-9]","1(?:0(?:[02-8]|1[1-9]|9[0-47-9])|[1-9])|26|3(?:[0268]|4[0-8]|9[079])|4(?:[049]|2[02-68]|[35]0|6[0-356]|8[014-9])|5(?:0|2[0-24-689]|4[0-2457-9]|6[057-9]|8[1-9]|90)|6(?:[0-24578]|3[06-9]|6[14-79]|9[03-9])|7(?:0[02-9]|2[0135-79]|3[23]|4[0-27-9]|6[1457]|8)|8(?:[046]|1[01459]|2[0-489]|5(?:0|[23][0-8])|8[0-2459]|9[09])|9(?:0[0457]|1[08]|[268]|4[024-9]|5[06-9])|(?:33|85[23]9)[0-46-9]|(?:2[0-57-9]|3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:[0-8]|9[0-47-9])","1(?:0[02-8]|[1-9])|2(?:[0-57-9][0-8]|6)|3(?:[0268]|3[0-46-9]|4[0-8]|9[079])|4(?:[049]|2[02-68]|[35]0|6[0-356]|8[014-9])|5(?:0|2[0-24-689]|4[0-2457-9]|6[057-9]|90)|6(?:[0-24578]|3[06-9]|6[14-79]|9[03-9])|7(?:0[02-9]|2[0135-79]|3[23]|4[0-27-9]|6[1457]|8)|8(?:[046]|1[01459]|2[0-489]|5(?:0|[23](?:[02-8]|1[1-9]|9[0-46-9]))|8[0-2459]|9[09])|9(?:0[0457]|1[08]|[268]|4[024-9]|5[06-9])|(?:10|2[0-57-9])9[0-47-9]|(?:101|58|85[23]10)[1-9]|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:[02-8]|1(?:0[1-9]|[1-9])|9[0-47-9])"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["(?:4|80)0"]],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|2(?:[02-57-9]|1[1-9])","10|2(?:[02-57-9]|1[1-9])","10[0-79]|2(?:[02-57-9]|1[1-79])|(?:10|21)8(?:0[1-9]|[1-9])"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["3(?:[3-59]|7[02-68])|4(?:[26-8]|3[3-9]|5[2-9])|5(?:3[03-9]|[468]|7[028]|9[2-46-9])|6|7(?:[0-247]|3[04-9]|5[0-4689]|6[2368])|8(?:[1-358]|9[1-7])|9(?:[013479]|5[1-5])|(?:[34]1|55|79|87)[02-9]"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{7,8})","$1 $2",["9"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["80"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[3-578]"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["1[3-9]"],,"$CC $1"],[,"(\\d{2})(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3 $4",["[12]"],"0$1",,1]],[[,"(\\d{2})(\\d{5,6})","$1 $2",["(?:10|2[0-57-9])[19]","(?:10|2[0-57-9])(?:10|9[56])","10(?:10|9[56])|2[0-57-9](?:100|9[56])"],"0$1","$CC $1"],[,"(\\d{3})(\\d{5,6})","$1 $2",["3(?:[157]|35|49|9[1-68])|4(?:[17]|2[179]|6[47-9]|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])|(?:4[35]|59|85)[1-9]","(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))[19]","85[23](?:10|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:10|9[56])","85[23](?:100|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:100|9[56])"],"0$1","$CC $1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["(?:4|80)0"]],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|2(?:[02-57-9]|1[1-9])","10|2(?:[02-57-9]|1[1-9])","10[0-79]|2(?:[02-57-9]|1[1-79])|(?:10|21)8(?:0[1-9]|[1-9])"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["3(?:[3-59]|7[02-68])|4(?:[26-8]|3[3-9]|5[2-9])|5(?:3[03-9]|[468]|7[028]|9[2-46-9])|6|7(?:[0-247]|3[04-9]|5[0-4689]|6[2368])|8(?:[1-358]|9[1-7])|9(?:[013479]|5[1-5])|(?:[34]1|55|79|87)[02-9]"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{7,8})","$1 $2",["9"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["80"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[3-578]"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["1[3-9]"],,"$CC $1"],[,"(\\d{2})(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3 $4",["[12]"],"0$1",,1]],[,,,,,,,,,[-1]],,,[,,"(?:(?:10|21)8|[48])00\\d{7}|950\\d{7,8}",,,,,,,[10,11,12]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CO:[,[,,"(?:60\\d\\d|9101)\\d{6}|(?:1\\d|3)\\d{9}",,,,,,,[10,11],[7]],[,,"601055(?:[0-4]\\d|50)\\d\\d|6010(?:[0-4]\\d|5[0-4])\\d{4}|60(?:[124-7][2-9]|8[1-9])\\d{6}",,,,"6012345678",,,[10],[7]],[,,"333301[0-5]\\d{3}|3333(?:00|2[5-9]|[3-9]\\d)\\d{4}|(?:3(?:24[1-9]|3(?:00|3[0-24-9]))|9101)\\d{6}|3(?:0[0-5]|1\\d|2[0-3]|5[01]|70)\\d{7}",,,,"3211234567",,,[10]],[,,"1800\\d{7}",,,,"18001234567",,,[11]],[,,"19(?:0[01]|4[78])\\d{7}",,,,"19001234567",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CO",57,"00(?:4(?:[14]4|56)|[579])","0",,,"0([3579]|4(?:[14]4|56))?",,,,[[,"(\\d{3})(\\d{7})","$1 $2",["6"],"($1)","0$CC $1"],[,"(\\d{3})(\\d{7})","$1 $2",["3[0-357]|91"],,"0$CC $1"],[,"(\\d)(\\d{3})(\\d{7})","$1-$2-$3",["1"],"0$1"]],[[,"(\\d{3})(\\d{7})","$1 $2",["6"],"($1)","0$CC $1"],[,"(\\d{3})(\\d{7})","$1 $2",["3[0-357]|91"],,"0$CC $1"],[,"(\\d)(\\d{3})(\\d{7})","$1 $2 $3",["1"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CR:[,[,,"(?:8\\d|90)\\d{8}|(?:[24-8]\\d{3}|3005)\\d{4}",,,,,,,[8,10]],[,,"210[7-9]\\d{4}|2(?:[024-7]\\d|1[1-9])\\d{5}",,,,"22123456",,,[8]],[,,"(?:3005\\d|6500[01])\\d{3}|(?:5[07]|6[0-4]|7[0-3]|8[3-9])\\d{6}",,,,"83123456",,,[8]],[,,"800\\d{7}",,,,"8001234567",,,[10]],[,,"90[059]\\d{7}",,,,"9001234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:210[0-6]|4\\d{3}|5100)\\d{4}",,,,"40001234",,,[8]],"CR",506,"00",,,,"(19(?:0[0-2468]|1[09]|20|66|77|99))",,,,[[,"(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[3-9]"],,"$CC $1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[89]"],,"$CC $1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CU:[,[,,"(?:[2-7]|8\\d\\d)\\d{7}|[2-47]\\d{6}|[34]\\d{5}",,,,,,,[6,7,8,10],[4,5]],[,,"(?:3[23]|4[89])\\d{4,6}|(?:31|4[36]|8(?:0[25]|78)\\d)\\d{6}|(?:2[1-4]|4[1257]|7\\d)\\d{5,6}",,,,"71234567",,,,[4,5]],[,,"(?:5\\d|6[2-4])\\d{6}",,,,"51234567",,,[8]],[,,"800\\d{7}",,,,"8001234567",,,[10]],[,,,,,,,,,[-1]],[,,"807\\d{7}",,,,"8071234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CU",53,"119","0",,,"0",,,,[[,"(\\d{2})(\\d{4,6})","$1 $2",["2[1-4]|[34]"],"(0$1)"],[,"(\\d)(\\d{6,7})","$1 $2",["7"],"(0$1)"],[,"(\\d)(\\d{7})","$1 $2",["[56]"],"0$1"],[,"(\\d{3})(\\d{7})","$1 $2",["8"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CV:[,[,,"(?:[2-59]\\d\\d|800)\\d{4}",,,,,,,[7]],[,,"2(?:2[1-7]|3[0-8]|4[12]|5[1256]|6\\d|7[1-3]|8[1-5])\\d{4}",,,,"2211234"],[,,"(?:36|5[1-389]|9\\d)\\d{5}",,,,"9911234"],[,,"800\\d{4}",,,,"8001234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:3[3-5]|4[356])\\d{5}",,,,"3401234"],"CV",238,"0",,,,,,,,[[,"(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2-589]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CW:[,[,,"(?:[34]1|60|(?:7|9\\d)\\d)\\d{5}",,,,,,,[7,8]],[,,"9(?:4(?:3[0-5]|4[14]|6\\d)|50\\d|7(?:2[014]|3[02-9]|4[4-9]|6[357]|77|8[7-9])|8(?:3[39]|[46]\\d|7[01]|8[57-9]))\\d{4}",,,,"94351234"],[,,"953[01]\\d{4}|9(?:5[12467]|6[5-9])\\d{5}",,,,"95181234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"60[0-2]\\d{4}",,,,"6001234",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CW",599,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[3467]"]],[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["9[4-8]"]]],,[,,"955\\d{5}",,,,"95581234",,,[8]],1,"[69]",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CX:[,[,,"1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",,,,,,,[6,7,8,9,10,12]],[,,"8(?:51(?:0(?:01|30|59|88)|1(?:17|46|75)|2(?:22|35))|91(?:00[6-9]|1(?:[28]1|49|78)|2(?:09|63)|3(?:12|26|75)|4(?:56|97)|64\\d|7(?:0[01]|1[0-2])|958))\\d{3}",,,,"891641234",,,[9],[8]],[,,"4(?:79[01]|83[0-389]|94[0-4])\\d{5}|4(?:[0-36]\\d|4[047-9]|5[0-25-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}",,,,"412345678",,,[9]],[,,"180(?:0\\d{3}|2)\\d{3}",,,,"1800123456",,,[7,10]],[,,"190[0-26]\\d{6}",,,,"1900123456",,,[10]],[,,"13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",,,,"1300123456",,,[6,8,10,12]],[,,,,,,,,,[-1]],[,,"14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",,,,"147101234",,,[9]],"CX",61,"001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","0",,,"([59]\\d{7})$|0","8$1","0011",,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CY:[,[,,"(?:[279]\\d|[58]0)\\d{6}",,,,,,,[8]],[,,"2[2-6]\\d{6}",,,,"22345678"],[,,"9(?:10|[4-79]\\d)\\d{5}",,,,"96123456"],[,,"800\\d{5}",,,,"80001234"],[,,"90[09]\\d{5}",,,,"90012345"],[,,"80[1-9]\\d{5}",,,,"80112345"],[,,"700\\d{5}",,,,"70012345"],[,,,,,,,,,[-1]],"CY",357,"00",,,,,,,,[[,"(\\d{2})(\\d{6})","$1 $2",["[257-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"(?:50|77)\\d{6}",,,,"77123456"],,,[,,,,,,,,,[-1]]],CZ:[,[,,"(?:[2-578]\\d|60)\\d{7}|9\\d{8,11}",,,,,,,[9,10,11,12]],[,,"(?:2\\d|3[1257-9]|4[16-9]|5[13-9])\\d{7}",,,,"212345678",,,[9]],[,,"(?:60[1-8]\\d|7(?:0(?:[2-5]\\d|60)|190|[2379]\\d\\d))\\d{5}",,,,"601123456",,,[9]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,"9(?:0[05689]|76)\\d{6}",,,,"900123456",,,[9]],[,,"8[134]\\d{7}",,,,"811234567",,,[9]],[,,"70[01]\\d{6}",,,,"700123456",,,[9]],[,,"9[17]0\\d{6}",,,,"910123456",,,[9]],"CZ",420,"00",,,,,,,,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]|9[015-7]"]],[,"(\\d{2})(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3 $4",["96"]],[,"(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]],[,"(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"9(?:5\\d|7[2-4])\\d{6}",,,,"972123456",,,[9]],,,[,,"9(?:3\\d{9}|6\\d{7,10})",,,,"93123456789"]],DE:[,[,,"[2579]\\d{5,14}|49(?:[34]0|69|8\\d)\\d\\d?|49(?:37|49|60|7[089]|9\\d)\\d{1,3}|49(?:2[024-9]|3[2-689]|7[1-7])\\d{1,8}|(?:1|[368]\\d|4[0-8])\\d{3,13}|49(?:[015]\\d|2[13]|31|[46][1-8])\\d{1,9}",,,,,,,[4,5,6,7,8,9,10,11,12,13,14,15],[2,3]],[,,"32\\d{9,11}|49[1-6]\\d{10}|322\\d{6}|49[0-7]\\d{3,9}|(?:[34]0|[68]9)\\d{3,13}|(?:2(?:0[1-689]|[1-3569]\\d|4[0-8]|7[1-7]|8[0-7])|3(?:[3569]\\d|4[0-79]|7[1-7]|8[1-8])|4(?:1[02-9]|[2-48]\\d|5[0-6]|6[0-8]|7[0-79])|5(?:0[2-8]|[124-6]\\d|[38][0-8]|[79][0-7])|6(?:0[02-9]|[1-358]\\d|[47][0-8]|6[1-9])|7(?:0[2-8]|1[1-9]|[27][0-7]|3\\d|[4-6][0-8]|8[0-5]|9[013-7])|8(?:0[2-9]|1[0-79]|2\\d|3[0-46-9]|4[0-6]|5[013-9]|6[1-8]|7[0-8]|8[0-24-6])|9(?:0[6-9]|[1-4]\\d|[589][0-7]|6[0-8]|7[0-467]))\\d{3,12}",,,,"30123456",,,[5,6,7,8,9,10,11,12,13,14,15],[2,3,4]],[,,"15(?:[0-25-9]\\d\\d|310)\\d{6}|1(?:6[023]|7\\d)\\d{7,8}",,,,"15123456789",,,[10,11]],[,,"800\\d{7,12}",,,,"8001234567890",,,[10,11,12,13,14,15]],[,,"(?:137[7-9]|900(?:[135]|9\\d))\\d{6}",,,,"9001234567",,,[10,11]],[,,"180\\d{5,11}|13(?:7[1-6]\\d\\d|8)\\d{4}",,,,"18012345",,,[7,8,9,10,11,12,13,14]],[,,"700\\d{8}",,,,"70012345678",,,[11]],[,,,,,,,,,[-1]],"DE",49,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3,13})","$1 $2",["3[02]|40|[68]9"],"0$1"],[,"(\\d{3})(\\d{3,12})","$1 $2",["2(?:0[1-389]|1[124]|2[18]|3[14])|3(?:[35-9][15]|4[015])|906|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1","2(?:0[1-389]|12[0-8])|3(?:[35-9][15]|4[015])|906|2(?:[13][14]|2[18])|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1"],"0$1"],[,"(\\d{4})(\\d{2,11})","$1 $2",["[24-6]|3(?:[3569][02-46-9]|4[2-4679]|7[2-467]|8[2-46-8])|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]","[24-6]|3(?:3(?:0[1-467]|2[127-9]|3[124578]|7[1257-9]|8[1256]|9[145])|4(?:2[135]|4[13578]|9[1346])|5(?:0[14]|2[1-3589]|6[1-4]|7[13468]|8[13568])|6(?:2[1-489]|3[124-6]|6[13]|7[12579]|8[1-356]|9[135])|7(?:2[1-7]|4[145]|6[1-5]|7[1-4])|8(?:21|3[1468]|6|7[1467]|8[136])|9(?:0[12479]|2[1358]|4[134679]|6[1-9]|7[136]|8[147]|9[1468]))|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]|3[68]4[1347]|3(?:47|60)[1356]|3(?:3[46]|46|5[49])[1246]|3[4579]3[1357]"],"0$1"],[,"(\\d{3})(\\d{4})","$1 $2",["138"],"0$1"],[,"(\\d{5})(\\d{2,10})","$1 $2",["3"],"0$1"],[,"(\\d{3})(\\d{5,11})","$1 $2",["181"],"0$1"],[,"(\\d{3})(\\d)(\\d{4,10})","$1 $2 $3",["1(?:3|80)|9"],"0$1"],[,"(\\d{3})(\\d{7,8})","$1 $2",["1[67]"],"0$1"],[,"(\\d{3})(\\d{7,12})","$1 $2",["8"],"0$1"],[,"(\\d{5})(\\d{6})","$1 $2",["185","1850","18500"],"0$1"],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["7"],"0$1"],[,"(\\d{4})(\\d{7})","$1 $2",["18[68]"],"0$1"],[,"(\\d{4})(\\d{7})","$1 $2",["15[1279]"],"0$1"],[,"(\\d{5})(\\d{6})","$1 $2",["15[03568]","15(?:[0568]|31)"],"0$1"],[,"(\\d{3})(\\d{8})","$1 $2",["18"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{7,8})","$1 $2 $3",["1(?:6[023]|7)"],"0$1"],[,"(\\d{4})(\\d{2})(\\d{7})","$1 $2 $3",["15[279]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{8})","$1 $2 $3",["15"],"0$1"]],,[,,"16(?:4\\d{1,10}|[89]\\d{1,11})",,,,"16412345",,,[4,5,6,7,8,9,10,11,12,13,14]],,,[,,,,,,,,,[-1]],[,,"18(?:1\\d{5,11}|[2-9]\\d{8})",,,,"18500123456",,,[8,9,10,11,12,13,14]],,,[,,"1(?:6(?:013|255|399)|7(?:(?:[015]1|[69]3)3|[2-4]55|[78]99))\\d{7,8}|15(?:(?:[03-68]00|113)\\d|2\\d55|7\\d99|9\\d33)\\d{7}",,,,"177991234567",,,[12,13]]],DJ:[,[,,"(?:2\\d|77)\\d{6}",,,,,,,[8]],[,,"2(?:1[2-5]|7[45])\\d{5}",,,,"21360003"],[,,"77\\d{6}",,,,"77831001"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"DJ",253,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[27]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],DK:[,[,,"[2-9]\\d{7}",,,,,,,[8]],[,,"(?:(?:2\\d|9[1-46-9])\\d|3(?:[0-37]\\d|4[013]|5[0-58]|6[01347-9]|8[0-8]|9[0-79])|4(?:[0-25]\\d|[34][02-9]|6[013-579]|7[013579]|8[0-47]|9[0-27])|5(?:[0-36]\\d|4[0146-9]|5[03-57-9]|7[0568]|8[0-358]|9[0-69])|6(?:[013578]\\d|2[0-68]|4[02-8]|6[01689]|9[015689])|7(?:[0-69]\\d|7[03-9]|8[0147])|8(?:[16-9]\\d|2[0-58]))\\d{5}",,,,"32123456"],[,,"(?:[2-7]\\d|8[126-9]|9[1-46-9])\\d{6}",,,,"34412345"],[,,"80\\d{6}",,,,"80123456"],[,,"90\\d{6}",,,,"90123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"DK",45,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],DM:[,[,,"(?:[58]\\d\\d|767|900)\\d{7}",,,,,,,[10],[7]],[,,"767(?:2(?:55|66)|4(?:2[01]|4[0-25-9])|50[0-4])\\d{4}",,,,"7674201234",,,,[7]],[,,"767(?:2(?:[2-4689]5|7[5-7])|31[5-7]|61[1-8]|70[1-6])\\d{4}",,,,"7672251234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"DM",1,"011","1",,,"([2-7]\\d{6})$|1","767$1",,,,,[,,,,,,,,,[-1]],,"767",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],DO:[,[,,"(?:[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"8(?:[04]9[2-9]\\d\\d|29(?:2(?:[0-59]\\d|6[04-9]|7[0-27]|8[0237-9])|3(?:[0-35-9]\\d|4[7-9])|[45]\\d\\d|6(?:[0-27-9]\\d|[3-5][1-9]|6[0135-8])|7(?:0[013-9]|[1-37]\\d|4[1-35689]|5[1-4689]|6[1-57-9]|8[1-79]|9[1-8])|8(?:0[146-9]|1[0-48]|[248]\\d|3[1-79]|5[01589]|6[013-68]|7[124-8]|9[0-8])|9(?:[0-24]\\d|3[02-46-9]|5[0-79]|60|7[0169]|8[57-9]|9[02-9])))\\d{4}",,,,"8092345678",,,,[7]],[,,"8[024]9[2-9]\\d{6}",,,,"8092345678",,,,[7]],[,,"8(?:00(?:14|[2-9]\\d)|(?:33|44|55|66|77|88)[2-9]\\d)\\d{5}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"DO",1,"011","1",,,"1",,,,,,[,,,,,,,,,[-1]],,"8001|8[024]9",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],DZ:[,[,,"(?:[1-4]|[5-79]\\d|80)\\d{7}",,,,,,,[8,9]],[,,"9619\\d{5}|(?:1\\d|2[013-79]|3[0-8]|4[013-689])\\d{6}",,,,"12345678"],[,,"(?:5(?:4[0-29]|5\\d|6[0-2])|6(?:[569]\\d|7[0-6])|7[7-9]\\d)\\d{6}",,,,"551234567",,,[9]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,"80[3-689]1\\d{5}",,,,"808123456",,,[9]],[,,"80[12]1\\d{5}",,,,"801123456",,,[9]],[,,,,,,,,,[-1]],[,,"98[23]\\d{6}",,,,"983123456",,,[9]],"DZ",213,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-4]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["9"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-8]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],EC:[,[,,"1\\d{9,10}|(?:[2-7]|9\\d)\\d{7}",,,,,,,[8,9,10,11],[7]],[,,"[2-7][2-7]\\d{6}",,,,"22123456",,,[8],[7]],[,,"964[0-2]\\d{5}|9(?:39|[57][89]|6[0-36-9]|[89]\\d)\\d{6}",,,,"991234567",,,[9]],[,,"1800\\d{7}|1[78]00\\d{6}",,,,"18001234567",,,[10,11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"[2-7]890\\d{4}",,,,"28901234",,,[8]],"EC",593,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{4})","$1-$2",["[2-7]"]],[,"(\\d)(\\d{3})(\\d{4})","$1 $2-$3",["[2-7]"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["9"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{3,4})","$1 $2 $3",["1"]]],[[,"(\\d)(\\d{3})(\\d{4})","$1-$2-$3",["[2-7]"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["9"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{3,4})","$1 $2 $3",["1"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],EE:[,[,,"8\\d{9}|[4578]\\d{7}|(?:[3-8]\\d|90)\\d{5}",,,,,,,[7,8,10]],[,,"(?:3[23589]|4[3-8]|6\\d|7[1-9]|88)\\d{5}",,,,"3212345",,,[7]],[,,"(?:5\\d{5}|8(?:1(?:0(?:0(?:00|[178]\\d)|[3-9]\\d\\d)|(?:1(?:0[236]|1\\d)|(?:2[0-59]|[3-79]\\d)\\d)\\d)|2(?:0(?:0(?:00|4\\d)|(?:19|[2-7]\\d)\\d)|(?:(?:[124-6]\\d|3[5-9])\\d|7(?:[0-79]\\d|8[13-9])|8(?:[2-6]\\d|7[01]))\\d)|[349]\\d{4}))\\d\\d|5(?:(?:[02]\\d|5[0-478])\\d|1(?:[0-8]\\d|95)|6(?:4[0-4]|5[1-589]))\\d{3}",,,,"51234567",,,[7,8]],[,,"800(?:(?:0\\d\\d|1)\\d|[2-9])\\d{3}",,,,"80012345"],[,,"(?:40\\d\\d|900)\\d{4}",,,,"9001234",,,[7,8]],[,,,,,,,,,[-1]],[,,"70[0-2]\\d{5}",,,,"70012345",,,[8]],[,,,,,,,,,[-1]],"EE",372,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[369]|4[3-8]|5(?:[0-2]|5[0-478]|6[45])|7[1-9]|88","[369]|4[3-8]|5(?:[02]|1(?:[0-8]|95)|5[0-478]|6(?:4[0-4]|5[1-589]))|7[1-9]|88"]],[,"(\\d{4})(\\d{3,4})","$1 $2",["[45]|8(?:00|[1-49])","[45]|8(?:00[1-9]|[1-49])"]],[,"(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["7"]],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]],,[,,,,,,,,,[-1]],,,[,,"800[2-9]\\d{3}",,,,,,,[7]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],EG:[,[,,"[189]\\d{8,9}|[24-6]\\d{8}|[135]\\d{7}",,,,,,,[8,9,10],[6,7]],[,,"13[23]\\d{6}|(?:15|57)\\d{6,7}|(?:2[2-4]|3|4[05-8]|5[05]|6[24-689]|8[2468]|9[235-7])\\d{7}",,,,"234567890",,,[8,9],[6,7]],[,,"1[0-25]\\d{8}",,,,"1001234567",,,[10]],[,,"800\\d{7}",,,,"8001234567",,,[10]],[,,"900\\d{7}",,,,"9001234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"EG",20,"00","0",,,"0",,,,[[,"(\\d)(\\d{7,8})","$1 $2",["[23]"],"0$1"],[,"(\\d{2})(\\d{6,7})","$1 $2",["1[35]|[4-6]|8[2468]|9[235-7]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],[,"(\\d{2})(\\d{8})","$1 $2",["1"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],EH:[,[,,"[5-8]\\d{8}",,,,,,,[9]],[,,"528[89]\\d{5}",,,,"528812345"],[,,"(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[0167]\\d|2[0-4]|5[01]|8[0-3]))\\d{6}",,,,"650123456"],[,,"80[0-7]\\d{6}",,,,"801234567"],[,,"89\\d{7}",,,,"891234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:592(?:4[0-2]|93)|80[89]\\d\\d)\\d{4}",,,,"592401234"],"EH",212,"00","0",,,"0",,,,,,[,,,,,,,,,[-1]],,"528[89]",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],ER:[,[,,"[178]\\d{6}",,,,,,,[7],[6]],[,,"(?:1(?:1[12568]|[24]0|55|6[146])|8\\d\\d)\\d{4}",,,,"8370362",,,,[6]],[,,"(?:17[1-3]|7\\d\\d)\\d{4}",,,,"7123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"ER",291,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[178]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],ES:[,[,,"[5-9]\\d{8}",,,,,,,[9]],[,,"96906(?:0[0-8]|1[1-9]|[2-9]\\d)\\d\\d|9(?:69(?:0[0-57-9]|[1-9]\\d)|73(?:[0-8]\\d|9[1-9]))\\d{4}|(?:8(?:[1356]\\d|[28][0-8]|[47][1-9])|9(?:[135]\\d|[268][0-8]|4[1-9]|7[124-9]))\\d{6}",,,,"810123456"],[,,"(?:590[16]00\\d|9(?:6906(?:09|10)|7390\\d\\d))\\d\\d|(?:6\\d|7[1-48])\\d{7}",,,,"612345678"],[,,"[89]00\\d{6}",,,,"800123456"],[,,"80[367]\\d{6}",,,,"803123456"],[,,"90[12]\\d{6}",,,,"901123456"],[,,"70\\d{7}",,,,"701234567"],[,,,,,,,,,[-1]],"ES",34,"00",,,,,,,,[[,"(\\d{4})","$1",["905"]],[,"(\\d{6})","$1",["[79]9"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]00"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-9]"]]],[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]00"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-9]"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"51\\d{7}",,,,"511234567"],,,[,,,,,,,,,[-1]]],ET:[,[,,"(?:11|[2-579]\\d)\\d{7}",,,,,,,[9],[7]],[,,"11667[01]\\d{3}|(?:11(?:1(?:1[124]|2[2-7]|3[1-5]|5[5-8]|8[6-8])|2(?:13|3[6-8]|5[89]|7[05-9]|8[2-6])|3(?:2[01]|3[0-289]|4[1289]|7[1-4]|87)|4(?:1[69]|3[2-49]|4[0-3]|6[5-8])|5(?:1[578]|44|5[0-4])|6(?:1[578]|2[69]|39|4[5-7]|5[0-5]|6[0-59]|8[015-8]))|2(?:2(?:11[1-9]|22[0-7]|33\\d|44[1467]|66[1-68])|5(?:11[124-6]|33[2-8]|44[1467]|55[14]|66[1-3679]|77[124-79]|880))|3(?:3(?:11[0-46-8]|(?:22|55)[0-6]|33[0134689]|44[04]|66[01467])|4(?:44[0-8]|55[0-69]|66[0-3]|77[1-5]))|4(?:6(?:119|22[0-24-7]|33[1-5]|44[13-69]|55[14-689]|660|88[1-4])|7(?:(?:11|22)[1-9]|33[13-7]|44[13-6]|55[1-689]))|5(?:7(?:227|55[05]|(?:66|77)[14-8])|8(?:11[149]|22[013-79]|33[0-68]|44[013-8]|550|66[1-5]|77\\d)))\\d{4}",,,,"111112345",,,,[7]],[,,"700[1-9]\\d{5}|(?:7(?:0[1-9]|1[0-8]|22|77|86|99)|9\\d\\d)\\d{6}",,,,"911234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"ET",251,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-579]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],FI:[,[,,"[1-35689]\\d{4}|7\\d{10,11}|(?:[124-7]\\d|3[0-46-9])\\d{8}|[1-9]\\d{5,8}",,,,,,,[5,6,7,8,9,10,11,12]],[,,"1[35-7][1-8]\\d{3,6}|(?:1[49][1-8]|[23568][1-8]\\d|9(?:00|[1-8]\\d))\\d{2,6}",,,,"131234567",,,[5,6,7,8,9]],[,,"4946\\d{2,6}|(?:4[0-8]|50)\\d{4,8}",,,,"412345678",,,[6,7,8,9,10]],[,,"800\\d{4,6}",,,,"800123456",,,[7,8,9]],[,,"[67]00\\d{5,6}",,,,"600123456",,,[8,9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"FI",358,"00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","0",,,"0",,"00",,[[,"(\\d{5})","$1",["75[12]"],"0$1"],[,"(\\d{5})","$1",["20[2-59]"],"0$1"],[,"(\\d{6})","$1",["11"]],[,"(\\d{3})(\\d{3,7})","$1 $2",["(?:[1-3]0|[68])0|70[07-9]"],"0$1"],[,"(\\d{2})(\\d{4,8})","$1 $2",["[14]|2[09]|50|7[135]"],"0$1"],[,"(\\d{2})(\\d{6,10})","$1 $2",["7"],"0$1"],[,"(\\d)(\\d{4,9})","$1 $2",["(?:1[49]|[2568])[1-8]|3(?:0[1-9]|[1-9])|9"],"0$1"]],[[,"(\\d{5})","$1",["20[2-59]"],"0$1"],[,"(\\d{3})(\\d{3,7})","$1 $2",["(?:[1-3]0|[68])0|70[07-9]"],"0$1"],[,"(\\d{2})(\\d{4,8})","$1 $2",["[14]|2[09]|50|7[135]"],"0$1"],[,"(\\d{2})(\\d{6,10})","$1 $2",["7"],"0$1"],[,"(\\d)(\\d{4,9})","$1 $2",["(?:1[49]|[2568])[1-8]|3(?:0[1-9]|[1-9])|9"],"0$1"]],[,,,,,,,,,[-1]],1,"1[03-79]|[2-9]",[,,"20(?:2[023]|9[89])\\d{1,6}|(?:60[12]\\d|7099)\\d{4,5}|(?:606|7(?:0[78]|1|3\\d))\\d{7}|(?:[1-3]00|7(?:0[1-5]\\d\\d|5[03-9]))\\d{3,7}"],[,,"20\\d{4,8}|60[12]\\d{5,6}|7(?:099\\d{4,5}|5[03-9]\\d{3,7})|20[2-59]\\d\\d|(?:606|7(?:0[78]|1|3\\d))\\d{7}|(?:10|29|3[09]|70[1-5]\\d)\\d{4,8}",,,,"10112345"],,,[,,,,,,,,,[-1]]],FJ:[,[,,"45\\d{5}|(?:0800\\d|[235-9])\\d{6}",,,,,,,[7,11]],[,,"603\\d{4}|(?:3[0-5]|6[25-7]|8[58])\\d{5}",,,,"3212345",,,[7]],[,,"(?:[279]\\d|45|5[01568]|8[034679])\\d{5}",,,,"7012345",,,[7]],[,,"0800\\d{7}",,,,"08001234567",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"FJ",679,"0(?:0|52)",,,,,,"00",,[[,"(\\d{3})(\\d{4})","$1 $2",["[235-9]|45"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],FK:[,[,,"[2-7]\\d{4}",,,,,,,[5]],[,,"[2-47]\\d{4}",,,,"31234"],[,,"[56]\\d{4}",,,,"51234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"FK",500,"00",,,,,,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],FM:[,[,,"(?:[39]\\d\\d|820)\\d{4}",,,,,,,[7]],[,,"31(?:00[67]|208|309)\\d\\d|(?:3(?:[2357]0[1-9]|602|804|905)|(?:820|9[2-6]\\d)\\d)\\d{3}",,,,"3201234"],[,,"31(?:00[67]|208|309)\\d\\d|(?:3(?:[2357]0[1-9]|602|804|905)|(?:820|9[2-7]\\d)\\d)\\d{3}",,,,"3501234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"FM",691,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[389]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],FO:[,[,,"[2-9]\\d{5}",,,,,,,[6]],[,,"(?:20|[34]\\d|8[19])\\d{4}",,,,"201234"],[,,"(?:[27][1-9]|5\\d|9[16])\\d{4}",,,,"211234"],[,,"80[257-9]\\d{3}",,,,"802123"],[,,"90(?:[13-5][15-7]|2[125-7]|9\\d)\\d\\d",,,,"901123"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:6[0-36]|88)\\d{4}",,,,"601234"],"FO",298,"00",,,,"(10(?:01|[12]0|88))",,,,[[,"(\\d{6})","$1",["[2-9]"],,"$CC $1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],FR:[,[,,"[1-9]\\d{8}",,,,,,,[9]],[,,"(?:26[013-9]|59[1-35-9])\\d{6}|(?:[13]\\d|2[0-57-9]|4[1-9]|5[0-8])\\d{7}",,,,"123456789"],[,,"(?:6(?:[0-24-8]\\d|3[0-8]|9[589])|7[3-9]\\d)\\d{6}",,,,"612345678"],[,,"80[0-5]\\d{6}",,,,"801234567"],[,,"836(?:0[0-36-9]|[1-9]\\d)\\d{4}|8(?:1[2-9]|2[2-47-9]|3[0-57-9]|[569]\\d|8[0-35-9])\\d{6}",,,,"891123456"],[,,"8(?:1[01]|2[0156]|4[02]|84)\\d{6}",,,,"884012345"],[,,,,,,,,,[-1]],[,,"9\\d{8}",,,,"912345678"],"FR",33,"00","0",,,"0",,,,[[,"(\\d{4})","$1",["10"]],[,"(\\d{3})(\\d{3})","$1 $2",["1"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0 $1"],[,"(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[1-79]"],"0$1"]],[[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0 $1"],[,"(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[1-79]"],"0$1"]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"80[6-9]\\d{6}",,,,"806123456"],,,[,,,,,,,,,[-1]]],GA:[,[,,"(?:[067]\\d|11)\\d{6}|[2-7]\\d{6}",,,,,,,[7,8]],[,,"[01]1\\d{6}",,,,"01441234",,,[8]],[,,"(?:(?:0[2-7]|7[467])\\d|6(?:0[0-4]|10|[256]\\d))\\d{5}|[2-7]\\d{6}",,,,"06031234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"GA",241,"00",,,,"0(11\\d{6}|60\\d{6}|61\\d{6}|6[256]\\d{6}|7[467]\\d{6})","$1",,,[[,"(\\d)(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-7]"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["11|[67]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GB:[,[,,"[1-357-9]\\d{9}|[18]\\d{8}|8\\d{6}",,,,,,,[7,9,10],[4,5,6,8]],[,,"(?:1(?:1(?:3(?:[0-58]\\d\\d|73[0-35])|4(?:(?:[0-5]\\d|70)\\d|69[7-9])|(?:(?:5[0-26-9]|[78][0-49])\\d|6(?:[0-4]\\d|50))\\d)|(?:2(?:(?:0[024-9]|2[3-9]|3[3-79]|4[1-689]|[58][02-9]|6[0-47-9]|7[013-9]|9\\d)\\d|1(?:[0-7]\\d|8[0-3]))|(?:3(?:0\\d|1[0-8]|[25][02-9]|3[02-579]|[468][0-46-9]|7[1-35-79]|9[2-578])|4(?:0[03-9]|[137]\\d|[28][02-57-9]|4[02-69]|5[0-8]|[69][0-79])|5(?:0[1-35-9]|[16]\\d|2[024-9]|3[015689]|4[02-9]|5[03-9]|7[0-35-9]|8[0-468]|9[0-57-9])|6(?:0[034689]|1\\d|2[0-35689]|[38][013-9]|4[1-467]|5[0-69]|6[13-9]|7[0-8]|9[0-24578])|7(?:0[0246-9]|2\\d|3[0236-8]|4[03-9]|5[0-46-9]|6[013-9]|7[0-35-9]|8[024-9]|9[02-9])|8(?:0[35-9]|2[1-57-9]|3[02-578]|4[0-578]|5[124-9]|6[2-69]|7\\d|8[02-9]|9[02569])|9(?:0[02-589]|[18]\\d|2[02-689]|3[1-57-9]|4[2-9]|5[0-579]|6[2-47-9]|7[0-24578]|9[2-57]))\\d)\\d)|2(?:0[013478]|3[0189]|4[017]|8[0-46-9]|9[0-2])\\d{3})\\d{4}|1(?:2(?:0(?:46[1-4]|87[2-9])|545[1-79]|76(?:2\\d|3[1-8]|6[1-6])|9(?:7(?:2[0-4]|3[2-5])|8(?:2[2-8]|7[0-47-9]|8[3-5])))|3(?:6(?:38[2-5]|47[23])|8(?:47[04-9]|64[0157-9]))|4(?:044[1-7]|20(?:2[23]|8\\d)|6(?:0(?:30|5[2-57]|6[1-8]|7[2-8])|140)|8(?:052|87[1-3]))|5(?:2(?:4(?:3[2-79]|6\\d)|76\\d)|6(?:26[06-9]|686))|6(?:06(?:4\\d|7[4-79])|295[5-7]|35[34]\\d|47(?:24|61)|59(?:5[08]|6[67]|74)|9(?:55[0-4]|77[23]))|7(?:26(?:6[13-9]|7[0-7])|(?:442|688)\\d|50(?:2[0-3]|[3-68]2|76))|8(?:27[56]\\d|37(?:5[2-5]|8[239])|843[2-58])|9(?:0(?:0(?:6[1-8]|85)|52\\d)|3583|4(?:66[1-8]|9(?:2[01]|81))|63(?:23|3[1-4])|9561))\\d{3}",,,,"1212345678",,,[9,10],[4,5,6,7,8]],[,,"7(?:457[0-57-9]|700[01]|911[028])\\d{5}|7(?:[1-3]\\d\\d|4(?:[0-46-9]\\d|5[0-689])|5(?:0[0-8]|[13-9]\\d|2[0-35-9])|7(?:0[1-9]|[1-7]\\d|8[02-9]|9[0-689])|8(?:[014-9]\\d|[23][0-8])|9(?:[024-9]\\d|1[02-9]|3[0-689]))\\d{6}",,,,"7400123456",,,[10]],[,,"80[08]\\d{7}|800\\d{6}|8001111",,,,"8001234567"],[,,"(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[2-49]))\\d{7}|845464\\d",,,,"9012345678",,,[7,10]],[,,,,,,,,,[-1]],[,,"70\\d{8}",,,,"7012345678",,,[10]],[,,"56\\d{8}",,,,"5612345678",,,[10]],"GB",44,"00","0"," x",,"0",,,,[[,"(\\d{3})(\\d{4})","$1 $2",["800","8001","80011","800111","8001111"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["845","8454","84546","845464"],"0$1"],[,"(\\d{3})(\\d{6})","$1 $2",["800"],"0$1"],[,"(\\d{5})(\\d{4,5})","$1 $2",["1(?:38|5[23]|69|76|94)","1(?:(?:38|69)7|5(?:24|39)|768|946)","1(?:3873|5(?:242|39[4-6])|(?:697|768)[347]|9467)"],"0$1"],[,"(\\d{4})(\\d{5,6})","$1 $2",["1(?:[2-69][02-9]|[78])"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[25]|7(?:0|6[02-9])","[25]|7(?:0|6(?:[03-9]|2[356]))"],"0$1"],[,"(\\d{4})(\\d{6})","$1 $2",["7"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[1389]"],"0$1"]],,[,,"76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",,,,"7640123456",,,[10]],1,,[,,,,,,,,,[-1]],[,,"(?:3[0347]|55)\\d{8}",,,,"5512345678",,,[10]],,,[,,,,,,,,,[-1]]],GD:[,[,,"(?:473|[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"473(?:2(?:3[0-2]|69)|3(?:2[89]|86)|4(?:[06]8|3[5-9]|4[0-4]|5[579]|73|90)|63[68]|7(?:58|84)|800|938)\\d{4}",,,,"4732691234",,,,[7]],[,,"473(?:4(?:0[2-79]|1[04-9]|2[0-5]|49|5[68])|5(?:2[01]|3[3-8])|901)\\d{4}",,,,"4734031234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"GD",1,"011","1",,,"([2-9]\\d{6})$|1","473$1",,,,,[,,,,,,,,,[-1]],,"473",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GE:[,[,,"(?:[3-57]\\d\\d|800)\\d{6}",,,,,,,[9],[6,7]],[,,"(?:3(?:[256]\\d|4[124-9]|7[0-4])|4(?:1\\d|2[2-7]|3[1-79]|4[2-8]|7[239]|9[1-7]))\\d{6}",,,,"322123456",,,,[6,7]],[,,"5(?:(?:(?:0555|1(?:[17]77|555))[5-9]|757(?:7[7-9]|8[01]))\\d|22252[0-4])\\d\\d|(?:5(?:0(?:0(?:0\\d|11|22|3[0-6]|44|5[05]|77|88|9[09])|111|22[02]|77\\d)|1(?:1(?:[03][01]|[124]\\d)|4\\d\\d)|[23]555|4(?:4\\d\\d|555)|5(?:[0157-9]\\d\\d|200)|6[89]\\d\\d|7(?:[0147-9]\\d\\d|5(?:00|[57]5))|8(?:0(?:[018]\\d|2[0-4])|5(?:55|8[89])|8(?:55|88))|9(?:090|[1-35-9]\\d\\d))|790\\d\\d)\\d{4}|5(?:0(?:0[17]0|505)|1(?:0[01]0|1(?:07|33|51))|2(?:0[02]0|2[25]2)|3(?:0[03]0|3[35]3)|(?:40[04]|900)0|5222)[0-4]\\d{3}",,,,"555123456"],[,,"800\\d{6}",,,,"800123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"70[67]\\d{6}",,,,"706123456"],"GE",995,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["32"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[57]"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[348]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,"70[67]\\d{6}"],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GF:[,[,,"[56]94\\d{6}|(?:80|9\\d)\\d{7}",,,,,,,[9]],[,,"594(?:[02-49]\\d|1[0-5]|5[6-9]|6[0-3]|80)\\d{4}",,,,"594101234"],[,,"694(?:[0-249]\\d|3[0-8])\\d{4}",,,,"694201234"],[,,"80[0-5]\\d{6}",,,,"800012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"9(?:(?:396|76\\d)\\d|476[0-5])\\d{4}",,,,"976012345"],"GF",594,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[56]|9[47]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[89]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GG:[,[,,"(?:1481|[357-9]\\d{3})\\d{6}|8\\d{6}(?:\\d{2})?",,,,,,,[7,9,10],[6]],[,,"1481[25-9]\\d{5}",,,,"1481256789",,,[10],[6]],[,,"7(?:(?:781|839)\\d|911[17])\\d{5}",,,,"7781123456",,,[10]],[,,"80[08]\\d{7}|800\\d{6}|8001111",,,,"8001234567"],[,,"(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[0-3]))\\d{7}|845464\\d",,,,"9012345678",,,[7,10]],[,,,,,,,,,[-1]],[,,"70\\d{8}",,,,"7012345678",,,[10]],[,,"56\\d{8}",,,,"5612345678",,,[10]],"GG",44,"00","0",,,"([25-9]\\d{5})$|0","1481$1",,,,,[,,"76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",,,,"7640123456",,,[10]],,,[,,,,,,,,,[-1]],[,,"(?:3[0347]|55)\\d{8}",,,,"5512345678",,,[10]],,,[,,,,,,,,,[-1]]],GH:[,[,,"(?:[235]\\d{3}|800)\\d{5}",,,,,,,[8,9],[7]],[,,"3082[0-5]\\d{4}|3(?:0(?:[237]\\d|8[01])|[167](?:2[0-6]|7\\d|80)|2(?:2[0-5]|7\\d|80)|3(?:2[0-3]|7\\d|80)|4(?:2[013-9]|3[01]|7\\d|80)|5(?:2[0-7]|7\\d|80)|8(?:2[0-2]|7\\d|80)|9(?:[28]0|7\\d))\\d{5}",,,,"302345678",,,[9],[7]],[,,"(?:2(?:[0346-9]\\d|5[67])|5(?:[03-7]\\d|9[1-9]))\\d{6}",,,,"231234567",,,[9]],[,,"800\\d{5}",,,,"80012345",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"GH",233,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[237]|8[0-2]"]],[,"(\\d{3})(\\d{5})","$1 $2",["8"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[235]"],"0$1"]],[[,"(\\d{3})(\\d{5})","$1 $2",["8"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[235]"],"0$1"]],[,,,,,,,,,[-1]],,,[,,"800\\d{5}",,,,,,,[8]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GI:[,[,,"(?:[25]\\d|60)\\d{6}",,,,,,,[8]],[,,"2190[0-2]\\d{3}|2(?:0(?:[02]\\d|3[01])|16[24-9]|2[2-5]\\d)\\d{4}",,,,"20012345"],[,,"5251[0-4]\\d{3}|(?:5(?:[146-8]\\d\\d|250)|60(?:1[01]|6\\d))\\d{4}",,,,"57123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"GI",350,"00",,,,,,,,[[,"(\\d{3})(\\d{5})","$1 $2",["2"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GL:[,[,,"(?:19|[2-689]\\d|70)\\d{4}",,,,,,,[6]],[,,"(?:19|3[1-7]|[68][1-9]|70|9\\d)\\d{4}",,,,"321000"],[,,"[245]\\d{5}",,,,"221234"],[,,"80\\d{4}",,,,"801234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"3[89]\\d{4}",,,,"381234"],"GL",299,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["19|[2-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GM:[,[,,"[2-9]\\d{6}",,,,,,,[7]],[,,"(?:4(?:[23]\\d\\d|4(?:1[024679]|[6-9]\\d))|5(?:5(?:3\\d|4[0-7])|6[67]\\d|7(?:1[04]|2[035]|3[58]|48))|8\\d{3})\\d{3}",,,,"5661234"],[,,"(?:[23679]\\d|5[0-489])\\d{5}",,,,"3012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"GM",220,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GN:[,[,,"722\\d{6}|(?:3|6\\d)\\d{7}",,,,,,,[8,9]],[,,"3(?:0(?:24|3[12]|4[1-35-7]|5[13]|6[189]|[78]1|9[1478])|1\\d\\d)\\d{4}",,,,"30241234",,,[8]],[,,"6[0-356]\\d{7}",,,,"601123456",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"722\\d{6}",,,,"722123456",,,[9]],"GN",224,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["3"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[67]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GP:[,[,,"590\\d{6}|(?:69|80|9\\d)\\d{7}",,,,,,,[9]],[,,"590(?:0[1-68]|[14][0-24-9]|2[0-68]|3[1-9]|5[3-579]|[68][0-689]|7[08]|9\\d)\\d{4}",,,,"590201234"],[,,"69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))\\d{4}",,,,"690001234"],[,,"80[0-5]\\d{6}",,,,"800012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"9(?:(?:39[5-7]|76[018])\\d|475[0-5])\\d{4}",,,,"976012345"],"GP",590,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[569]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],,[,,,,,,,,,[-1]],1,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GQ:[,[,,"222\\d{6}|(?:3\\d|55|[89]0)\\d{7}",,,,,,,[9]],[,,"33[0-24-9]\\d[46]\\d{4}|3(?:33|5\\d)\\d[7-9]\\d{4}",,,,"333091234"],[,,"(?:222|55\\d)\\d{6}",,,,"222123456"],[,,"80\\d[1-9]\\d{5}",,,,"800123456"],[,,"90\\d[1-9]\\d{5}",,,,"900123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"GQ",240,"00",,,,,,,,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235]"]],[,"(\\d{3})(\\d{6})","$1 $2",["[89]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GR:[,[,,"5005000\\d{3}|8\\d{9,11}|(?:[269]\\d|70)\\d{8}",,,,,,,[10,11,12]],[,,"2(?:1\\d\\d|2(?:2[1-46-9]|[36][1-8]|4[1-7]|5[1-4]|7[1-5]|[89][1-9])|3(?:1\\d|2[1-57]|[35][1-3]|4[13]|7[1-7]|8[124-6]|9[1-79])|4(?:1\\d|2[1-8]|3[1-4]|4[13-5]|6[1-578]|9[1-5])|5(?:1\\d|[29][1-4]|3[1-5]|4[124]|5[1-6])|6(?:1\\d|[269][1-6]|3[1245]|4[1-7]|5[13-9]|7[14]|8[1-5])|7(?:1\\d|2[1-5]|3[1-6]|4[1-7]|5[1-57]|6[135]|9[125-7])|8(?:1\\d|2[1-5]|[34][1-4]|9[1-57]))\\d{6}",,,,"2123456789",,,[10]],[,,"68[57-9]\\d{7}|(?:69|94)\\d{8}",,,,"6912345678",,,[10]],[,,"800\\d{7,9}",,,,"8001234567"],[,,"90[19]\\d{7}",,,,"9091234567",,,[10]],[,,"8(?:0[16]|12|[27]5|50)\\d{7}",,,,"8011234567",,,[10]],[,,"70\\d{8}",,,,"7012345678",,,[10]],[,,,,,,,,,[-1]],"GR",30,"00",,,,,,,,[[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["21|7"]],[,"(\\d{4})(\\d{6})","$1 $2",["2(?:2|3[2-57-9]|4[2-469]|5[2-59]|6[2-9]|7[2-69]|8[2-49])|5"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2689]"]],[,"(\\d{3})(\\d{3,4})(\\d{5})","$1 $2 $3",["8"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"5005000\\d{3}",,,,"5005000123",,,[10]],,,[,,,,,,,,,[-1]]],GT:[,[,,"80\\d{6}|(?:1\\d{3}|[2-7])\\d{7}",,,,,,,[8,11]],[,,"[267][2-9]\\d{6}",,,,"22456789",,,[8]],[,,"(?:[3-5]\\d\\d|80[0-4])\\d{5}",,,,"51234567",,,[8]],[,,"18[01]\\d{8}",,,,"18001112222",,,[11]],[,,"19\\d{9}",,,,"19001112222",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"GT",502,"00",,,,,,,,[[,"(\\d{4})(\\d{4})","$1 $2",["[2-8]"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GU:[,[,,"(?:[58]\\d\\d|671|900)\\d{7}",,,,,,,[10],[7]],[,,"671(?:2\\d\\d|3(?:00|3[39]|4[349]|55|6[26])|4(?:00|56|7[1-9]|8[02-46-9])|5(?:55|6[2-5]|88)|6(?:3[2-578]|4[24-9]|5[34]|78|8[235-9])|7(?:[0479]7|2[0167]|3[45]|8[7-9])|8(?:[2-57-9]8|6[48])|9(?:2[29]|6[79]|7[1279]|8[7-9]|9[78]))\\d{4}",,,,"6713001234",,,,[7]],[,,"671(?:2\\d\\d|3(?:00|3[39]|4[349]|55|6[26])|4(?:00|56|7[1-9]|8[02-46-9])|5(?:55|6[2-5]|88)|6(?:3[2-578]|4[24-9]|5[34]|78|8[235-9])|7(?:[0479]7|2[0167]|3[45]|8[7-9])|8(?:[2-57-9]8|6[48])|9(?:2[29]|6[79]|7[1279]|8[7-9]|9[78]))\\d{4}",,,,"6713001234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"GU",1,"011","1",,,"([2-9]\\d{6})$|1","671$1",,1,,,[,,,,,,,,,[-1]],,"671",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GW:[,[,,"[49]\\d{8}|4\\d{6}",,,,,,,[7,9]],[,,"443\\d{6}",,,,"443201234",,,[9]],[,,"9(?:5\\d|6[569]|77)\\d{6}",,,,"955012345",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"40\\d{5}",,,,"4012345",,,[7]],"GW",245,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["40"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GY:[,[,,"(?:[2-8]\\d{3}|9008)\\d{3}",,,,,,,[7]],[,,"(?:2(?:1[6-9]|2[0-35-9]|3[1-4]|5[3-9]|6\\d|7[0-79])|3(?:2[25-9]|3\\d)|4(?:4[0-24]|5[56])|50[0-6]|77[1-57])\\d{4}",,,,"2201234"],[,,"510\\d{4}|(?:6\\d|7[0-5])\\d{5}",,,,"6091234"],[,,"(?:289|8(?:00|6[28]|88|99))\\d{4}",,,,"2891234"],[,,"9008\\d{3}",,,,"9008123"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"515\\d{4}",,,,"5151234"],"GY",592,"001",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],HK:[,[,,"8[0-46-9]\\d{6,7}|9\\d{4,7}|(?:[2-7]|9\\d{3})\\d{7}",,,,,,,[5,6,7,8,9,11]],[,,"(?:2(?:[13-9]\\d|2[013-9])\\d|3(?:(?:[1569][0-24-9]|4[0-246-9]|7[0-24-69])\\d|8(?:4[0-8]|[59]\\d|6[0-2]))|58(?:0[1-9]|1[2-9]))\\d{4}",,,,"21234567",,,[8]],[,,"(?:4(?:44[0-25-9]|6(?:1[0-7]|4[0-57-9]|6[0-4]))|5(?:73[0-6]|95[0-8])|6(?:26[013-8]|66[0-3])|70(?:7[1-8]|8[0-4])|848[0-35-9]|9(?:29[013-9]|39[01]|59[0-4]|899))\\d{4}|(?:4(?:4[0-35-8]|6[02357-9]|70)|5(?:[1-59][0-46-9]|6[0-4689]|7[0-246-9])|6(?:0[1-9]|[13-59]\\d|[268][0-57-9]|7[0-79])|70[1-39]|84[0-29]|9(?:0[1-9]|1[02-9]|[2358][0-8]|[467]\\d))\\d{5}",,,,"51234567",,,[8]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,"900(?:[0-24-9]\\d{7}|3\\d{1,4})",,,,"90012345678",,,[5,6,7,8,11]],[,,,,,,,,,[-1]],[,,"8(?:1[0-4679]\\d|2(?:[0-36]\\d|7[0-4])|3(?:[034]\\d|2[09]|70))\\d{4}",,,,"81123456",,,[8]],[,,,,,,,,,[-1]],"HK",852,"00(?:30|5[09]|[126-9]?)",,,,,,"00",,[[,"(\\d{3})(\\d{2,5})","$1 $2",["900","9003"]],[,"(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[1-4]|9(?:0[1-9]|[1-8])"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],[,"(\\d{3})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]],,[,,"7(?:1(?:0[0-38]|1[0-3679]|3[013]|69|9[0136])|2(?:[02389]\\d|1[18]|7[27-9])|3(?:[0-38]\\d|7[0-369]|9[2357-9])|47\\d|5(?:[178]\\d|5[0-5])|6(?:0[0-7]|2[236-9]|[35]\\d)|7(?:[27]\\d|8[7-9])|8(?:[23689]\\d|7[1-9])|9(?:[025]\\d|6[0-246-8]|7[0-36-9]|8[238]))\\d{4}",,,,"71123456",,,[8]],,,[,,,,,,,,,[-1]],[,,"30(?:0[1-9]|[15-7]\\d|2[047]|89)\\d{4}",,,,"30161234",,,[8]],,,[,,,,,,,,,[-1]]],HN:[,[,,"8\\d{10}|[237-9]\\d{7}",,,,,,,[8,11]],[,,"2(?:2(?:0[0-59]|1[1-9]|[23]\\d|4[02-6]|5[57]|6[245]|7[0135689]|8[01346-9]|9[0-2])|4(?:0[578]|2[3-59]|3[13-9]|4[0-68]|5[1-3589])|5(?:0[2357-9]|1[1-356]|4[03-5]|5\\d|6[014-69]|7[04]|80)|6(?:[056]\\d|17|2[067]|3[047]|4[0-378]|[78][0-8]|9[01])|7(?:0[5-79]|6[46-9]|7[02-9]|8[034]|91)|8(?:79|8[0-357-9]|9[1-57-9]))\\d{4}",,,,"22123456",,,[8]],[,,"[37-9]\\d{7}",,,,"91234567",,,[8]],[,,"8002\\d{7}",,,,"80021234567",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"HN",504,"00",,,,,,,,[[,"(\\d{4})(\\d{4})","$1-$2",["[237-9]"]],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["8"]]],[[,"(\\d{4})(\\d{4})","$1-$2",["[237-9]"]]],[,,,,,,,,,[-1]],,,[,,"8002\\d{7}",,,,,,,[11]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],HR:[,[,,"(?:[24-69]\\d|3[0-79])\\d{7}|80\\d{5,7}|[1-79]\\d{7}|6\\d{5,6}",,,,,,,[6,7,8,9]],[,,"1\\d{7}|(?:2[0-3]|3[1-5]|4[02-47-9]|5[1-3])\\d{6,7}",,,,"12345678",,,[8,9],[6,7]],[,,"9(?:(?:0[1-9]|[12589]\\d)\\d\\d|7(?:[0679]\\d\\d|5(?:[01]\\d|44|55|77|9[5-7])))\\d{4}|98\\d{6}",,,,"921234567",,,[8,9]],[,,"80\\d{5,7}",,,,"800123456",,,[7,8,9]],[,,"6[01459]\\d{6}|6[01]\\d{4,5}",,,,"611234",,,[6,7,8]],[,,,,,,,,,[-1]],[,,"7[45]\\d{6}",,,,"74123456",,,[8]],[,,,,,,,,,[-1]],"HR",385,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{2})(\\d{2,3})","$1 $2 $3",["6[01]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["8"],"0$1"],[,"(\\d)(\\d{4})(\\d{3})","$1 $2 $3",["1"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["6|7[245]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-57]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"62\\d{6,7}|72\\d{6}",,,,"62123456",,,[8,9]],,,[,,,,,,,,,[-1]]],HT:[,[,,"(?:[2-489]\\d|55)\\d{6}",,,,,,,[8]],[,,"2(?:2\\d|5[1-5]|81|9[149])\\d{5}",,,,"22453300"],[,,"(?:[34]\\d|55)\\d{6}",,,,"34101234"],[,,"8\\d{7}",,,,"80012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"9(?:[67][0-4]|8[0-3589]|9\\d)\\d{5}",,,,"98901234"],"HT",509,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[2-589]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],HU:[,[,,"[235-7]\\d{8}|[1-9]\\d{7}",,,,,,,[8,9],[6,7]],[,,"(?:1\\d|[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6[23689]|8[2-57-9]|9[2-69])\\d{6}",,,,"12345678",,,[8],[6,7]],[,,"(?:[257]0|3[01])\\d{7}",,,,"201234567",,,[9]],[,,"(?:[48]0\\d|680[29])\\d{5}",,,,"80123456"],[,,"9[01]\\d{6}",,,,"90123456",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"21\\d{7}",,,,"211234567",,,[9]],"HU",36,"00","06",,,"06",,,,[[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"(06 $1)"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6|8[2-57-9]|9[2-69]"],"(06 $1)"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"06 $1"]],,[,,,,,,,,,[-1]],,,[,,"(?:[48]0\\d|680[29])\\d{5}"],[,,"38\\d{7}",,,,"381234567",,,[9]],,,[,,,,,,,,,[-1]]],ID:[,[,,"(?:(?:00[1-9]|8\\d)\\d{4}|[1-36])\\d{6}|00\\d{10}|[1-9]\\d{8,10}|[2-9]\\d{7}",,,,,,,[7,8,9,10,11,12,13],[5,6]],[,,"2[124]\\d{7,8}|619\\d{8}|2(?:1(?:14|500)|2\\d{3})\\d{3}|61\\d{5,8}|(?:2(?:[35][1-4]|6[0-8]|7[1-6]|8\\d|9[1-8])|3(?:1|[25][1-8]|3[1-68]|4[1-3]|6[1-3568]|7[0-469]|8\\d)|4(?:0[1-589]|1[01347-9]|2[0-36-8]|3[0-24-68]|43|5[1-378]|6[1-5]|7[134]|8[1245])|5(?:1[1-35-9]|2[25-8]|3[124-9]|4[1-3589]|5[1-46]|6[1-8])|6(?:[25]\\d|3[1-69]|4[1-6])|7(?:02|[125][1-9]|[36]\\d|4[1-8]|7[0-36-9])|9(?:0[12]|1[013-8]|2[0-479]|5[125-8]|6[23679]|7[159]|8[01346]))\\d{5,8}",,,,"218350123",,,[7,8,9,10,11],[5,6]],[,,"8[1-35-9]\\d{7,10}",,,,"812345678",,,[9,10,11,12]],[,,"00[17]803\\d{7}|(?:177\\d|800)\\d{5,7}|001803\\d{6}",,,,"8001234567",,,[8,9,10,11,12,13]],[,,"809\\d{7}",,,,"8091234567",,,[10]],[,,"804\\d{7}",,,,"8041234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"ID",62,"00[89]","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["15"]],[,"(\\d{2})(\\d{5,9})","$1 $2",["2[124]|[36]1"],"(0$1)"],[,"(\\d{3})(\\d{5,7})","$1 $2",["800"],"0$1"],[,"(\\d{3})(\\d{5,8})","$1 $2",["[2-79]"],"(0$1)"],[,"(\\d{3})(\\d{3,4})(\\d{3})","$1-$2-$3",["8[1-35-9]"],"0$1"],[,"(\\d{3})(\\d{6,8})","$1 $2",["1"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["804"],"0$1"],[,"(\\d{3})(\\d)(\\d{3})(\\d{3})","$1 $2 $3 $4",["80"],"0$1"],[,"(\\d{3})(\\d{4})(\\d{4,5})","$1-$2-$3",["8"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["001"]],[,"(\\d{2})(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3 $4",["0"]]],[[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["15"]],[,"(\\d{2})(\\d{5,9})","$1 $2",["2[124]|[36]1"],"(0$1)"],[,"(\\d{3})(\\d{5,7})","$1 $2",["800"],"0$1"],[,"(\\d{3})(\\d{5,8})","$1 $2",["[2-79]"],"(0$1)"],[,"(\\d{3})(\\d{3,4})(\\d{3})","$1-$2-$3",["8[1-35-9]"],"0$1"],[,"(\\d{3})(\\d{6,8})","$1 $2",["1"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["804"],"0$1"],[,"(\\d{3})(\\d)(\\d{3})(\\d{3})","$1 $2 $3 $4",["80"],"0$1"],[,"(\\d{3})(\\d{4})(\\d{4,5})","$1-$2-$3",["8"],"0$1"]],[,,,,,,,,,[-1]],,,[,,"001803\\d{6,7}|(?:007803\\d|8071)\\d{6}",,,,,,,[10,12,13]],[,,"(?:1500|8071\\d{3})\\d{3}",,,,"8071123456",,,[7,10]],,,[,,,,,,,,,[-1]]],IE:[,[,,"(?:1\\d|[2569])\\d{6,8}|4\\d{6,9}|7\\d{8}|8\\d{8,9}",,,,,,,[7,8,9,10],[5,6]],[,,"(?:1\\d|21)\\d{6,7}|(?:2[24-9]|4(?:0[24]|5\\d|7)|5(?:0[45]|1\\d|8)|6(?:1\\d|[237-9])|9(?:1\\d|[35-9]))\\d{5}|(?:23|4(?:[1-469]|8\\d)|5[23679]|6[4-6]|7[14]|9[04])\\d{7}",,,,"2212345",,,,[5,6]],[,,"8(?:22|[35-9]\\d)\\d{6}",,,,"850123456",,,[9]],[,,"1800\\d{6}",,,,"1800123456",,,[10]],[,,"15(?:1[2-8]|[2-8]0|9[089])\\d{6}",,,,"1520123456",,,[10]],[,,"18[59]0\\d{6}",,,,"1850123456",,,[10]],[,,"700\\d{6}",,,,"700123456",,,[9]],[,,"76\\d{7}",,,,"761234567",,,[9]],"IE",353,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{5})","$1 $2",["2[24-9]|47|58|6[237-9]|9[35-9]"],"(0$1)"],[,"(\\d{3})(\\d{5})","$1 $2",["[45]0"],"(0$1)"],[,"(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["1"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2569]|4[1-69]|7[14]"],"(0$1)"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["81"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[78]"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["4"],"(0$1)"],[,"(\\d{2})(\\d)(\\d{3})(\\d{4})","$1 $2 $3 $4",["8"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,"18[59]0\\d{6}",,,,,,,[10]],[,,"818\\d{6}",,,,"818123456",,,[9]],,,[,,"88210[1-9]\\d{4}|8(?:[35-79]5\\d\\d|8(?:[013-9]\\d\\d|2(?:[01][1-9]|[2-9]\\d)))\\d{5}",,,,"8551234567",,,[10]]],IL:[,[,,"1\\d{6}(?:\\d{3,5})?|[57]\\d{8}|[1-489]\\d{7}",,,,,,,[7,8,9,10,11,12]],[,,"153\\d{8,9}|29[1-9]\\d{5}|(?:2[0-8]|[3489]\\d)\\d{6}",,,,"21234567",,,[8,11,12],[7]],[,,"55(?:410|57[0-289])\\d{4}|5(?:(?:[02][02-9]|[149][2-9]|[36]\\d|8[3-7])\\d|5(?:01|2\\d|3[0-3]|4[34]|5[0-25689]|6[6-8]|7[0-267]|8[7-9]|9[1-9]))\\d{5}",,,,"502345678",,,[9]],[,,"1(?:255|80[019]\\d{3})\\d{3}",,,,"1800123456",,,[7,10]],[,,"1212\\d{4}|1(?:200|9(?:0[0-2]|19))\\d{6}",,,,"1919123456",,,[8,10]],[,,"1700\\d{6}",,,,"1700123456",,,[10]],[,,,,,,,,,[-1]],[,,"7(?:38(?:0\\d|5[0-259]|88)|8(?:33|55|77|81)\\d)\\d{4}|7(?:18|2[23]|3[237]|47|6[258]|7\\d|82|9[2-9])\\d{6}",,,,"771234567",,,[9]],"IL",972,"0(?:0|1[2-9])","0",,,"0",,,,[[,"(\\d{4})(\\d{3})","$1-$2",["125"]],[,"(\\d{4})(\\d{2})(\\d{2})","$1-$2-$3",["121"]],[,"(\\d)(\\d{3})(\\d{4})","$1-$2-$3",["[2-489]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[57]"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{3})","$1-$2-$3",["12"]],[,"(\\d{4})(\\d{6})","$1-$2",["159"]],[,"(\\d)(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3-$4",["1[7-9]"]],[,"(\\d{3})(\\d{1,2})(\\d{3})(\\d{4})","$1-$2 $3-$4",["15"]]],,[,,,,,,,,,[-1]],,,[,,"1700\\d{6}",,,,,,,[10]],[,,"1599\\d{6}",,,,"1599123456",,,[10]],,,[,,"151\\d{8,9}",,,,"15112340000",,,[11,12]]],IM:[,[,,"1624\\d{6}|(?:[3578]\\d|90)\\d{8}",,,,,,,[10],[6]],[,,"1624(?:230|[5-8]\\d\\d)\\d{3}",,,,"1624756789",,,,[6]],[,,"76245[06]\\d{4}|7(?:4576|[59]24\\d|624[0-4689])\\d{5}",,,,"7924123456"],[,,"808162\\d{4}",,,,"8081624567"],[,,"8(?:440[49]06|72299\\d)\\d{3}|(?:8(?:45|70)|90[0167])624\\d{4}",,,,"9016247890"],[,,,,,,,,,[-1]],[,,"70\\d{8}",,,,"7012345678"],[,,"56\\d{8}",,,,"5612345678"],"IM",44,"00","0",,,"([25-8]\\d{5})$|0","1624$1",,,,,[,,,,,,,,,[-1]],,"74576|(?:16|7[56])24",[,,,,,,,,,[-1]],[,,"3440[49]06\\d{3}|(?:3(?:08162|3\\d{4}|45624|7(?:0624|2299))|55\\d{4})\\d{4}",,,,"5512345678"],,,[,,,,,,,,,[-1]]],IN:[,[,,"(?:000800|[2-9]\\d\\d)\\d{7}|1\\d{7,12}",,,,,,,[8,9,10,11,12,13],[6,7]],[,,"2717(?:[2-7]\\d|95)\\d{4}|(?:271[0-689]|782[0-6])[2-7]\\d{5}|(?:170[24]|2(?:(?:[02][2-79]|90)\\d|80[13468])|(?:3(?:23|80)|683|79[1-7])\\d|4(?:20[24]|72[2-8])|552[1-7])\\d{6}|(?:11|33|4[04]|80)[2-7]\\d{7}|(?:342|674|788)(?:[0189][2-7]|[2-7]\\d)\\d{5}|(?:1(?:2[0-249]|3[0-25]|4[145]|[59][14]|6[014]|7[1257]|8[01346])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568]|9[14])|3(?:26|4[13]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[014-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|2[14]|3[134]|4[47]|5[15]|[67]1)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91))[2-7]\\d{6}|(?:1(?:2[35-8]|3[346-9]|4[236-9]|[59][0235-9]|6[235-9]|7[34689]|8[257-9])|2(?:1[134689]|3[24-8]|4[2-8]|5[25689]|6[2-4679]|7[3-79]|8[2-479]|9[235-9])|3(?:01|1[79]|2[1245]|4[5-8]|5[125689]|6[235-7]|7[157-9]|8[2-46-8])|4(?:1[14578]|2[5689]|3[2-467]|5[4-7]|6[35]|73|8[2689]|9[2389])|5(?:[16][146-9]|2[14-8]|3[1346]|4[14-69]|5[46]|7[2-4]|8[2-8]|9[246])|6(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[124-6])|7(?:1[013-9]|2[0235-9]|3[2679]|4[1-35689]|5[2-46-9]|[67][02-9]|8[013-7]|9[089])|8(?:1[1357-9]|2[235-8]|3[03-57-9]|4[0-24-9]|5\\d|6[2457-9]|7[1-6]|8[1256]|9[2-4]))\\d[2-7]\\d{5}",,,,"7410410123",,,[10],[6,7,8]],[,,"(?:61279|7(?:887[02-9]|9(?:313|79[07-9]))|8(?:079[04-9]|(?:84|91)7[02-8]))\\d{5}|(?:6(?:12|[2-47]1|5[17]|6[13]|80)[0189]|7(?:1(?:2[0189]|9[0-5])|2(?:[14][017-9]|8[0-59])|3(?:2[5-8]|[34][017-9]|9[016-9])|4(?:1[015-9]|[29][89]|39|8[389])|5(?:[15][017-9]|2[04-9]|9[7-9])|6(?:0[0-47]|1[0-257-9]|2[0-4]|3[19]|5[4589])|70[0289]|88[089]|97[02-8])|8(?:0(?:6[67]|7[02-8])|70[017-9]|84[01489]|91[0-289]))\\d{6}|(?:7(?:31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[0189]\\d|7[02-8])\\d{5}|(?:6(?:[09]\\d|1[04679]|2[03689]|3[05-9]|4[0489]|50|6[069]|7[07]|8[7-9])|7(?:0\\d|2[0235-79]|3[05-8]|40|5[0346-8]|6[6-9]|7[1-9]|8[0-79]|9[089])|8(?:0[01589]|1[0-57-9]|2[235-9]|3[03-57-9]|[45]\\d|6[02457-9]|7[1-69]|8[0-25-9]|9[02-9])|9\\d\\d)\\d{7}|(?:6(?:(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|8[124-6])\\d|7(?:[235689]\\d|4[0189]))|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-5])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]|881))[0189]\\d{5}",,,,"8123456789",,,[10]],[,,"000800\\d{7}|1(?:600\\d{6}|80(?:0\\d{4,9}|3\\d{9}))",,,,"1800123456"],[,,"186[12]\\d{9}",,,,"1861123456789",,,[13]],[,,"1860\\d{7}",,,,"18603451234",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"IN",91,"00","0",,,"0",,,,[[,"(\\d{7})","$1",["575"]],[,"(\\d{8})","$1",["5(?:0|2[23]|3[03]|[67]1|88)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|888)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|8888)"],,,1],[,"(\\d{4})(\\d{4,5})","$1 $2",["180","1800"],,,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["140"],,,1],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["11|2[02]|33|4[04]|79[1-7]|80[2-46]","11|2[02]|33|4[04]|79(?:[1-6]|7[19])|80(?:[2-4]|6[0-589])","11|2[02]|33|4[04]|79(?:[124-6]|3(?:[02-9]|1[0-24-9])|7(?:1|9[1-6]))|80(?:[2-4]|6[0-589])"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1(?:2[0-249]|3[0-25]|4[145]|[68]|7[1257])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|5[12]|[78]1)|6(?:12|[2-4]1|5[17]|6[13]|80)|7(?:12|3[134]|4[47]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67|72)[14]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|674|7(?:(?:2[14]|3[34]|5[15])[2-6]|61[346]|88[0-8])|8(?:70[2-6]|84[235-7]|91[3-7])|(?:1(?:29|60|8[06])|261|552|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))[2-7]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12(?:[2-6]|7[0-8])|74[2-7])|7(?:(?:2[14]|5[15])[2-6]|3171|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|(?:74[47]|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[2-6]|7[19])|(?:1(?:29|60|8[06])|261|552|6(?:[2-4]1|5[17]|6[13]|7(?:1|4[0189])|80)|7(?:12|88[01]))[2-7]"],"0$1",,1],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2[2457-9]|3[2-5]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1[013-9]|28|3[129]|4[1-35689]|5[29]|6[02-5]|70)|807","1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2(?:[2457]|84|95)|3(?:[2-4]|55)|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1(?:[013-8]|9[6-9])|28[6-8]|3(?:17|2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4|5[0-367])|70[13-7])|807[19]","1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|83)|73179|807(?:1|9[1-3])|(?:1552|6(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[124-6])\\d|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]))[2-7]"],"0$1",,1],[,"(\\d{5})(\\d{5})","$1 $2",["[6-9]"],"0$1",,1],[,"(\\d{4})(\\d{2,4})(\\d{4})","$1 $2 $3",["1(?:6|8[06])","1(?:6|8[06]0)"],,,1],[,"(\\d{3})(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3 $4",["0"]],[,"(\\d{4})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["18"],,,1]],[[,"(\\d{8})","$1",["5(?:0|2[23]|3[03]|[67]1|88)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|888)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|8888)"],,,1],[,"(\\d{4})(\\d{4,5})","$1 $2",["180","1800"],,,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["140"],,,1],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["11|2[02]|33|4[04]|79[1-7]|80[2-46]","11|2[02]|33|4[04]|79(?:[1-6]|7[19])|80(?:[2-4]|6[0-589])","11|2[02]|33|4[04]|79(?:[124-6]|3(?:[02-9]|1[0-24-9])|7(?:1|9[1-6]))|80(?:[2-4]|6[0-589])"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1(?:2[0-249]|3[0-25]|4[145]|[68]|7[1257])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|5[12]|[78]1)|6(?:12|[2-4]1|5[17]|6[13]|80)|7(?:12|3[134]|4[47]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67|72)[14]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|674|7(?:(?:2[14]|3[34]|5[15])[2-6]|61[346]|88[0-8])|8(?:70[2-6]|84[235-7]|91[3-7])|(?:1(?:29|60|8[06])|261|552|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))[2-7]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12(?:[2-6]|7[0-8])|74[2-7])|7(?:(?:2[14]|5[15])[2-6]|3171|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|(?:74[47]|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[2-6]|7[19])|(?:1(?:29|60|8[06])|261|552|6(?:[2-4]1|5[17]|6[13]|7(?:1|4[0189])|80)|7(?:12|88[01]))[2-7]"],"0$1",,1],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2[2457-9]|3[2-5]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1[013-9]|28|3[129]|4[1-35689]|5[29]|6[02-5]|70)|807","1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2(?:[2457]|84|95)|3(?:[2-4]|55)|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1(?:[013-8]|9[6-9])|28[6-8]|3(?:17|2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4|5[0-367])|70[13-7])|807[19]","1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|83)|73179|807(?:1|9[1-3])|(?:1552|6(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[124-6])\\d|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]))[2-7]"],"0$1",,1],[,"(\\d{5})(\\d{5})","$1 $2",["[6-9]"],"0$1",,1],[,"(\\d{4})(\\d{2,4})(\\d{4})","$1 $2 $3",["1(?:6|8[06])","1(?:6|8[06]0)"],,,1],[,"(\\d{4})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["18"],,,1]],[,,,,,,,,,[-1]],,,[,,"1(?:600\\d{6}|800\\d{4,9})|(?:000800|18(?:03\\d\\d|6(?:0|[12]\\d\\d)))\\d{7}"],[,,"140\\d{7}",,,,"1409305260",,,[10]],,,[,,,,,,,,,[-1]]],IO:[,[,,"3\\d{6}",,,,,,,[7]],[,,"37\\d{5}",,,,"3709100"],[,,"38\\d{5}",,,,"3801234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"IO",246,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["3"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],IQ:[,[,,"(?:1|7\\d\\d)\\d{7}|[2-6]\\d{7,8}",,,,,,,[8,9,10],[6,7]],[,,"1\\d{7}|(?:2[13-5]|3[02367]|4[023]|5[03]|6[026])\\d{6,7}",,,,"12345678",,,[8,9],[6,7]],[,,"7[3-9]\\d{8}",,,,"7912345678",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"IQ",964,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-6]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],IR:[,[,,"[1-9]\\d{9}|(?:[1-8]\\d\\d|9)\\d{3,4}",,,,,,,[4,5,6,7,10],[8]],[,,"(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])(?:[03-57]\\d{7}|[16]\\d{3}(?:\\d{4})?|[289]\\d{3}(?:\\d(?:\\d{3})?)?)|94(?:000[09]|(?:12\\d|30[0-2])\\d|2(?:121|[2689]0\\d)|4(?:111|40\\d))\\d{4}",,,,"2123456789",,,[6,7,10],[4,5,8]],[,,"9(?:(?:0(?:[0-35]\\d|4[4-6])|(?:[13]\\d|2[0-3])\\d)\\d|9(?:[0-46]\\d\\d|5[15]0|8(?:[12]\\d|88)|9(?:0[0-3]|[19]\\d|21|69|77|8[7-9])))\\d{5}",,,,"9123456789",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"IR",98,"00","0",,,"0",,,,[[,"(\\d{4,5})","$1",["96"],"0$1"],[,"(\\d{2})(\\d{4,5})","$1 $2",["(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])[12689]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[1-8]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,"9(?:4440\\d{5}|6(?:0[12]|2[16-8]|3(?:08|[14]5|[23]|66)|4(?:0|80)|5[01]|6[89]|86|9[19]))",,,,,,,[4,5,10]],[,,"96(?:0[12]|2[16-8]|3(?:08|[14]5|[23]|66)|4(?:0|80)|5[01]|6[89]|86|9[19])",,,,"9601",,,[4,5]],,,[,,,,,,,,,[-1]]],IS:[,[,,"(?:38\\d|[4-9])\\d{6}",,,,,,,[7,9]],[,,"(?:4(?:1[0-24-69]|2[0-7]|[37][0-8]|4[0-24589]|5[0-68]|6\\d|8[0-36-8])|5(?:05|[156]\\d|2[02578]|3[0-579]|4[03-7]|7[0-2578]|8[0-35-9]|9[013-689])|872)\\d{4}",,,,"4101234",,,[7]],[,,"(?:38[589]\\d\\d|6(?:1[1-8]|2[0-6]|3[026-9]|4[014679]|5[0159]|6[0-69]|70|8[06-8]|9\\d)|7(?:5[057]|[6-9]\\d)|8(?:2[0-59]|[3-69]\\d|8[238]))\\d{4}",,,,"6111234"],[,,"80[0-8]\\d{4}",,,,"8001234",,,[7]],[,,"90(?:0\\d|1[5-79]|2[015-79]|3[135-79]|4[125-7]|5[25-79]|7[1-37]|8[0-35-7])\\d{3}",,,,"9001234",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"49[0-24-79]\\d{4}",,,,"4921234",,,[7]],"IS",354,"00|1(?:0(?:01|[12]0)|100)",,,,,,"00",,[[,"(\\d{3})(\\d{4})","$1 $2",["[4-9]"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["3"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"809\\d{4}",,,,"8091234",,,[7]],,,[,,"(?:689|8(?:7[18]|80)|95[48])\\d{4}",,,,"6891234",,,[7]]],IT:[,[,,"0\\d{5,10}|1\\d{8,10}|3(?:[0-8]\\d{7,10}|9\\d{7,8})|(?:43|55|70)\\d{8}|8\\d{5}(?:\\d{2,4})?",,,,,,,[6,7,8,9,10,11,12]],[,,"0669[0-79]\\d{1,6}|0(?:1(?:[0159]\\d|[27][1-5]|31|4[1-4]|6[1356]|8[2-57])|2\\d\\d|3(?:[0159]\\d|2[1-4]|3[12]|[48][1-6]|6[2-59]|7[1-7])|4(?:[0159]\\d|[23][1-9]|4[245]|6[1-5]|7[1-4]|81)|5(?:[0159]\\d|2[1-5]|3[2-6]|4[1-79]|6[4-6]|7[1-578]|8[3-8])|6(?:[0-57-9]\\d|6[0-8])|7(?:[0159]\\d|2[12]|3[1-7]|4[2-46]|6[13569]|7[13-6]|8[1-59])|8(?:[0159]\\d|2[3-578]|3[1-356]|[6-8][1-5])|9(?:[0159]\\d|[238][1-5]|4[12]|6[1-8]|7[1-6]))\\d{2,7}",,,,"0212345678",,,[6,7,8,9,10,11]],[,,"3[2-9]\\d{7,8}|(?:31|43)\\d{8}",,,,"3123456789",,,[9,10]],[,,"80(?:0\\d{3}|3)\\d{3}",,,,"800123456",,,[6,9]],[,,"(?:0878\\d{3}|89(?:2\\d|3[04]|4(?:[0-4]|[5-9]\\d\\d)|5[0-4]))\\d\\d|(?:1(?:44|6[346])|89(?:38|5[5-9]|9))\\d{6}",,,,"899123456",,,[6,8,9,10]],[,,"84(?:[08]\\d{3}|[17])\\d{3}",,,,"848123456",,,[6,9]],[,,"1(?:78\\d|99)\\d{6}",,,,"1781234567",,,[9,10]],[,,"55\\d{8}",,,,"5512345678",,,[10]],"IT",39,"00",,,,,,,,[[,"(\\d{4,5})","$1",["1(?:0|9[246])","1(?:0|9(?:2[2-9]|[46]))"]],[,"(\\d{6})","$1",["1(?:1|92)"]],[,"(\\d{2})(\\d{4,6})","$1 $2",["0[26]"]],[,"(\\d{3})(\\d{3,6})","$1 $2",["0[13-57-9][0159]|8(?:03|4[17]|9[2-5])","0[13-57-9][0159]|8(?:03|4[17]|9(?:2|3[04]|[45][0-4]))"]],[,"(\\d{4})(\\d{2,6})","$1 $2",["0(?:[13-579][2-46-8]|8[236-8])"]],[,"(\\d{4})(\\d{4})","$1 $2",["894"]],[,"(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[26]|5"]],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["1(?:44|[679])|[378]|43"]],[,"(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[13-57-9][0159]|14"]],[,"(\\d{2})(\\d{4})(\\d{5})","$1 $2 $3",["0[26]"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]],[,"(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["3"]]],[[,"(\\d{2})(\\d{4,6})","$1 $2",["0[26]"]],[,"(\\d{3})(\\d{3,6})","$1 $2",["0[13-57-9][0159]|8(?:03|4[17]|9[2-5])","0[13-57-9][0159]|8(?:03|4[17]|9(?:2|3[04]|[45][0-4]))"]],[,"(\\d{4})(\\d{2,6})","$1 $2",["0(?:[13-579][2-46-8]|8[236-8])"]],[,"(\\d{4})(\\d{4})","$1 $2",["894"]],[,"(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[26]|5"]],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["1(?:44|[679])|[378]|43"]],[,"(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[13-57-9][0159]|14"]],[,"(\\d{2})(\\d{4})(\\d{5})","$1 $2 $3",["0[26]"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]],[,"(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["3"]]],[,,,,,,,,,[-1]],1,,[,,"848\\d{6}",,,,,,,[9]],[,,,,,,,,,[-1]],,,[,,"3[2-8]\\d{9,10}",,,,"33101234501",,,[11,12]]],JE:[,[,,"1534\\d{6}|(?:[3578]\\d|90)\\d{8}",,,,,,,[10],[6]],[,,"1534[0-24-8]\\d{5}",,,,"1534456789",,,,[6]],[,,"7(?:(?:(?:50|82)9|937)\\d|7(?:00[378]|97\\d))\\d{5}",,,,"7797712345"],[,,"80(?:07(?:35|81)|8901)\\d{4}",,,,"8007354567"],[,,"(?:8(?:4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|90(?:066[59]|1810|71(?:07|55)))\\d{4}",,,,"9018105678"],[,,,,,,,,,[-1]],[,,"701511\\d{4}",,,,"7015115678"],[,,"56\\d{8}",,,,"5612345678"],"JE",44,"00","0",,,"([0-24-8]\\d{5})$|0","1534$1",,,,,[,,"76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",,,,"7640123456"],,,[,,,,,,,,,[-1]],[,,"(?:3(?:0(?:07(?:35|81)|8901)|3\\d{4}|4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|55\\d{4})\\d{4}",,,,"5512345678"],,,[,,,,,,,,,[-1]]],JM:[,[,,"(?:[58]\\d\\d|658|900)\\d{7}",,,,,,,[10],[7]],[,,"8766060\\d{3}|(?:658(?:2(?:[0-8]\\d|9[0-46-9])|[3-9]\\d\\d)|876(?:52[35]|6(?:0[1-3579]|1[0235-9]|[23]\\d|40|5[06]|6[2-589]|7[0-25-9]|8[04]|9[4-9])|7(?:0[2-689]|[1-6]\\d|8[056]|9[45])|9(?:0[1-8]|1[02378]|[2-8]\\d|9[2-468])))\\d{4}",,,,"8765230123",,,,[7]],[,,"(?:658295|876(?:2(?:0[1-9]|[13-9]\\d|2[013-9])|[348]\\d\\d|5(?:0[1-9]|[1-9]\\d)|6(?:4[89]|6[67])|7(?:0[07]|7\\d|8[1-47-9]|9[0-36-9])|9(?:[01]9|9[0579])))\\d{4}",,,,"8762101234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"JM",1,"011","1",,,"1",,,,,,[,,,,,,,,,[-1]],,"658|876",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],JO:[,[,,"(?:(?:[2689]|7\\d)\\d|32|53)\\d{6}",,,,,,,[8,9]],[,,"87(?:000|90[01])\\d{3}|(?:2(?:6(?:2[0-35-9]|3[0-578]|4[24-7]|5[0-24-8]|[6-8][023]|9[0-3])|7(?:0[1-79]|10|2[014-7]|3[0-689]|4[019]|5[0-3578]))|32(?:0[1-69]|1[1-35-7]|2[024-7]|3\\d|4[0-3]|[5-7][023])|53(?:0[0-3]|[13][023]|2[0-59]|49|5[0-35-9]|6[15]|7[45]|8[1-6]|9[0-36-9])|6(?:2(?:[05]0|22)|3(?:00|33)|4(?:0[0-25]|1[2-7]|2[0569]|[38][07-9]|4[025689]|6[0-589]|7\\d|9[0-2])|5(?:[01][056]|2[034]|3[0-57-9]|4[178]|5[0-69]|6[0-35-9]|7[1-379]|8[0-68]|9[0239]))|87(?:20|7[078]|99))\\d{4}",,,,"62001234",,,[8]],[,,"7(?:[78][0-25-9]|9\\d)\\d{6}",,,,"790123456",,,[9]],[,,"80\\d{6}",,,,"80012345",,,[8]],[,,"9\\d{7}",,,,"90012345",,,[8]],[,,"85\\d{6}",,,,"85012345",,,[8]],[,,"70\\d{7}",,,,"700123456",,,[9]],[,,,,,,,,,[-1]],"JO",962,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2356]|87"],"(0$1)"],[,"(\\d{3})(\\d{5,6})","$1 $2",["[89]"],"0$1"],[,"(\\d{2})(\\d{7})","$1 $2",["70"],"0$1"],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["7"],"0$1"]],,[,,"74(?:66|77)\\d{5}",,,,"746612345",,,[9]],,,[,,,,,,,,,[-1]],[,,"8(?:10|8\\d)\\d{5}",,,,"88101234",,,[8]],,,[,,,,,,,,,[-1]]],JP:[,[,,"00[1-9]\\d{6,14}|[257-9]\\d{9}|(?:00|[1-9]\\d\\d)\\d{6}",,,,,,,[8,9,10,11,12,13,14,15,16,17]],[,,"(?:1(?:1[235-8]|2[3-6]|3[3-9]|4[2-6]|[58][2-8]|6[2-7]|7[2-9]|9[1-9])|(?:2[2-9]|[36][1-9])\\d|4(?:[2-578]\\d|6[02-8]|9[2-59])|5(?:[2-589]\\d|6[1-9]|7[2-8])|7(?:[25-9]\\d|3[4-9]|4[02-9])|8(?:[2679]\\d|3[2-9]|4[5-9]|5[1-9]|8[03-9])|9(?:[2-58]\\d|[679][1-9]))\\d{6}",,,,"312345678",,,[9]],[,,"[7-9]0[1-9]\\d{7}",,,,"9012345678",,,[10]],[,,"00777(?:[01]|5\\d)\\d\\d|(?:00(?:7778|882[1245])|(?:120|800\\d)\\d\\d)\\d{4}|00(?:37|66|78)\\d{6,13}",,,,"120123456"],[,,"990\\d{6}",,,,"990123456",,,[9]],[,,,,,,,,,[-1]],[,,"60\\d{7}",,,,"601234567",,,[9]],[,,"50[1-9]\\d{7}",,,,"5012345678",,,[10]],"JP",81,"010","0",,,"(000[259]\\d{6})$|(?:(?:003768)0?)|0","$1",,,[[,"(\\d{4})(\\d{4})","$1-$2",["007","0077","00777","00777[01]"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3",["(?:12|57|99)0"],"0$1"],[,"(\\d{4})(\\d)(\\d{4})","$1-$2-$3",["1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|499|5(?:76|97)|746|8(?:3[89]|47|51)|9(?:80|9[16])","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:76|97)9|7468|8(?:3(?:8[7-9]|96)|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:769|979[2-69])|7468|8(?:3(?:8[7-9]|96[2457-9])|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["60"],"0$1"],[,"(\\d)(\\d{4})(\\d{4})","$1-$2-$3",["[36]|4(?:2[09]|7[01])","[36]|4(?:2(?:0|9[02-69])|7(?:0[019]|1))"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["1(?:1|5[45]|77|88|9[69])|2(?:2[1-37]|3[0-269]|4[59]|5|6[24]|7[1-358]|8[1369]|9[0-38])|4(?:[28][1-9]|3[0-57]|[45]|6[248]|7[2-579]|9[29])|5(?:2|3[0459]|4[0-369]|5[29]|8[02389]|9[0-389])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9[2-6])|8(?:2[124589]|3[26-9]|49|51|6|7[0-468]|8[68]|9[019])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9[1-489])","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2(?:[127]|3[014-9])|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9[19])|62|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|8[1-9]|9[29])|5(?:2|3(?:[045]|9[0-8])|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0-2469])|3(?:[29]|60)|49|51|6(?:[0-24]|36|5[0-3589]|7[23]|9[01459])|7[0-468]|8[68])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3[34]|4[0178]))|(?:264|837)[016-9]|2(?:57|93)[015-9]|(?:25[0468]|422|838)[01]|(?:47[59]|59[89]|8(?:6[68]|9))[019]","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3(?:[045]|9(?:[0-58]|6[4-9]|7[0-35689]))|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0169])|3(?:[29]|60|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[2-57-9]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|7(?:2[2-468]|3[78])|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:8294|96)[1-3]|2(?:57|93)[015-9]|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|8292|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3",["[14]|[289][2-9]|5[3-9]|7[2-4679]"],"0$1"],[,"(\\d{4})(\\d{2})(\\d{3,4})","$1-$2-$3",["007","0077"]],[,"(\\d{4})(\\d{2})(\\d{4})","$1-$2-$3",["008"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["800"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[257-9]"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{3,4})","$1-$2-$3",["0"]],[,"(\\d{4})(\\d{4})(\\d{4,5})","$1-$2-$3",["0"]],[,"(\\d{4})(\\d{5})(\\d{5,6})","$1-$2-$3",["0"]],[,"(\\d{4})(\\d{6})(\\d{6,7})","$1-$2-$3",["0"]]],[[,"(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3",["(?:12|57|99)0"],"0$1"],[,"(\\d{4})(\\d)(\\d{4})","$1-$2-$3",["1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|499|5(?:76|97)|746|8(?:3[89]|47|51)|9(?:80|9[16])","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:76|97)9|7468|8(?:3(?:8[7-9]|96)|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:769|979[2-69])|7468|8(?:3(?:8[7-9]|96[2457-9])|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["60"],"0$1"],[,"(\\d)(\\d{4})(\\d{4})","$1-$2-$3",["[36]|4(?:2[09]|7[01])","[36]|4(?:2(?:0|9[02-69])|7(?:0[019]|1))"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["1(?:1|5[45]|77|88|9[69])|2(?:2[1-37]|3[0-269]|4[59]|5|6[24]|7[1-358]|8[1369]|9[0-38])|4(?:[28][1-9]|3[0-57]|[45]|6[248]|7[2-579]|9[29])|5(?:2|3[0459]|4[0-369]|5[29]|8[02389]|9[0-389])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9[2-6])|8(?:2[124589]|3[26-9]|49|51|6|7[0-468]|8[68]|9[019])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9[1-489])","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2(?:[127]|3[014-9])|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9[19])|62|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|8[1-9]|9[29])|5(?:2|3(?:[045]|9[0-8])|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0-2469])|3(?:[29]|60)|49|51|6(?:[0-24]|36|5[0-3589]|7[23]|9[01459])|7[0-468]|8[68])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3[34]|4[0178]))|(?:264|837)[016-9]|2(?:57|93)[015-9]|(?:25[0468]|422|838)[01]|(?:47[59]|59[89]|8(?:6[68]|9))[019]","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3(?:[045]|9(?:[0-58]|6[4-9]|7[0-35689]))|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0169])|3(?:[29]|60|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[2-57-9]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|7(?:2[2-468]|3[78])|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:8294|96)[1-3]|2(?:57|93)[015-9]|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|8292|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3",["[14]|[289][2-9]|5[3-9]|7[2-4679]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["800"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[257-9]"],"0$1"]],[,,"20\\d{8}",,,,"2012345678",,,[10]],,,[,,"00(?:777(?:[01]|(?:5|8\\d)\\d)|882[1245]\\d\\d)\\d\\d|00(?:37|66|78)\\d{6,13}"],[,,"570\\d{6}",,,,"570123456",,,[9]],,,[,,,,,,,,,[-1]]],KE:[,[,,"(?:[17]\\d\\d|900)\\d{6}|(?:2|80)0\\d{6,7}|[4-6]\\d{6,8}",,,,,,,[7,8,9,10]],[,,"(?:4[245]|5[1-79]|6[01457-9])\\d{5,7}|(?:4[136]|5[08]|62)\\d{7}|(?:[24]0|66)\\d{6,7}",,,,"202012345",,,[7,8,9]],[,,"(?:1(?:0[0-8]|1[0-7]|2[014]|30)|7\\d\\d)\\d{6}",,,,"712123456",,,[9]],[,,"800[02-8]\\d{5,6}",,,,"800223456",,,[9,10]],[,,"900[02-9]\\d{5}",,,,"900223456",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"KE",254,"000","0",,,"0",,,,[[,"(\\d{2})(\\d{5,7})","$1 $2",["[24-6]"],"0$1"],[,"(\\d{3})(\\d{6})","$1 $2",["[17]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KG:[,[,,"8\\d{9}|[235-9]\\d{8}",,,,,,,[9,10],[5,6]],[,,"312(?:5[0-79]\\d|9(?:[0-689]\\d|7[0-24-9]))\\d{3}|(?:3(?:1(?:2[0-46-8]|3[1-9]|47|[56]\\d)|2(?:22|3[0-479]|6[0-7])|4(?:22|5[6-9]|6\\d)|5(?:22|3[4-7]|59|6\\d)|6(?:22|5[35-7]|6\\d)|7(?:22|3[468]|4[1-9]|59|[67]\\d)|9(?:22|4[1-8]|6\\d))|6(?:09|12|2[2-4])\\d)\\d{5}",,,,"312123456",,,[9],[5,6]],[,,"312(?:58\\d|973)\\d{3}|(?:2(?:0[0-35]|2\\d)|5[0-24-7]\\d|600|7(?:[07]\\d|55)|88[08]|9(?:12|9[05-9]))\\d{6}",,,,"700123456",,,[9]],[,,"800\\d{6,7}",,,,"800123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"KG",996,"00","0",,,"0",,,,[[,"(\\d{4})(\\d{5})","$1 $2",["3(?:1[346]|[24-79])"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235-79]|88"],"0$1"],[,"(\\d{3})(\\d{3})(\\d)(\\d{2,3})","$1 $2 $3 $4",["8"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KH:[,[,,"1\\d{9}|[1-9]\\d{7,8}",,,,,,,[8,9,10],[6,7]],[,,"23(?:4(?:[2-4]|[56]\\d)|[568]\\d\\d)\\d{4}|23[236-9]\\d{5}|(?:2[4-6]|3[2-6]|4[2-4]|[5-7][2-5])(?:(?:[237-9]|4[56]|5\\d)\\d{5}|6\\d{5,6})",,,,"23756789",,,[8,9],[6,7]],[,,"(?:(?:1[28]|3[18]|9[67])\\d|6[016-9]|7(?:[07-9]|[16]\\d)|8(?:[013-79]|8\\d))\\d{6}|(?:1\\d|9[0-57-9])\\d{6}|(?:2[3-6]|3[2-6]|4[2-4]|[5-7][2-5])48\\d{5}",,,,"91234567",,,[8,9]],[,,"1800(?:1\\d|2[019])\\d{4}",,,,"1800123456",,,[10]],[,,"1900(?:1\\d|2[09])\\d{4}",,,,"1900123456",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"KH",855,"00[14-9]","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-9]"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KI:[,[,,"(?:[37]\\d|6[0-79])\\d{6}|(?:[2-48]\\d|50)\\d{3}",,,,,,,[5,8]],[,,"(?:[24]\\d|3[1-9]|50|65(?:02[12]|12[56]|22[89]|[3-5]00)|7(?:27\\d\\d|3100|5(?:02[12]|12[56]|22[89]|[34](?:00|81)|500))|8[0-5])\\d{3}",,,,"31234"],[,,"(?:6200[01]|7(?:310[1-9]|5(?:02[03-9]|12[0-47-9]|22[0-7]|[34](?:0[1-9]|8[02-9])|50[1-9])))\\d{3}|(?:63\\d\\d|7(?:(?:[0146-9]\\d|2[0-689])\\d|3(?:[02-9]\\d|1[1-9])|5(?:[0-2][013-9]|[34][1-79]|5[1-9]|[6-9]\\d)))\\d{4}",,,,"72001234",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"30(?:0[01]\\d\\d|12(?:11|20))\\d\\d",,,,"30010000",,,[8]],"KI",686,"00","0",,,"0",,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KM:[,[,,"[3478]\\d{6}",,,,,,,[7],[4]],[,,"7[4-7]\\d{5}",,,,"7712345",,,,[4]],[,,"[34]\\d{6}",,,,"3212345"],[,,,,,,,,,[-1]],[,,"8\\d{6}",,,,"8001234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"KM",269,"00",,,,,,,,[[,"(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[3478]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KN:[,[,,"(?:[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"869(?:2(?:29|36)|302|4(?:6[015-9]|70)|56[5-7])\\d{4}",,,,"8692361234",,,,[7]],[,,"869(?:48[89]|55[6-8]|66\\d|76[02-7])\\d{4}",,,,"8697652917",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"KN",1,"011","1",,,"([2-7]\\d{6})$|1","869$1",,,,,[,,,,,,,,,[-1]],,"869",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KP:[,[,,"85\\d{6}|(?:19\\d|[2-7])\\d{7}",,,,,,,[8,10],[6,7]],[,,"(?:(?:195|2)\\d|3[19]|4[159]|5[37]|6[17]|7[39]|85)\\d{6}",,,,"21234567",,,,[6,7]],[,,"19[1-3]\\d{7}",,,,"1921234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"KP",850,"00|99","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"],[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,"238[02-9]\\d{4}|2(?:[0-24-9]\\d|3[0-79])\\d{5}",,,,,,,[8]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KR:[,[,,"00[1-9]\\d{8,11}|(?:[12]|5\\d{3})\\d{7}|[13-6]\\d{9}|(?:[1-6]\\d|80)\\d{7}|[3-6]\\d{4,5}|(?:00|7)0\\d{8}",,,,,,,[5,6,8,9,10,11,12,13,14],[3,4,7]],[,,"(?:2|3[1-3]|[46][1-4]|5[1-5])[1-9]\\d{6,7}|(?:3[1-3]|[46][1-4]|5[1-5])1\\d{2,3}",,,,"22123456",,,[5,6,8,9,10],[3,4,7]],[,,"1(?:05(?:[0-8]\\d|9[0-6])|22[13]\\d)\\d{4,5}|1(?:0[0-46-9]|[16-9]\\d|2[013-9])\\d{6,7}",,,,"1020000000",,,[9,10]],[,,"00(?:308\\d{6,7}|798\\d{7,9})|(?:00368|[38]0)\\d{7}",,,,"801234567",,,[9,11,12,13,14]],[,,"60[2-9]\\d{6}",,,,"602345678",,,[9]],[,,,,,,,,,[-1]],[,,"50\\d{8,9}",,,,"5012345678",,,[10,11]],[,,"70\\d{8}",,,,"7012345678",,,[10]],"KR",82,"00(?:[125689]|3(?:[46]5|91)|7(?:00|27|3|55|6[126]))","0",,,"0(8(?:[1-46-8]|5\\d\\d))?",,,,[[,"(\\d{5})","$1",["1[016-9]1","1[016-9]11","1[016-9]114"],"0$1"],[,"(\\d{2})(\\d{3,4})","$1-$2",["(?:3[1-3]|[46][1-4]|5[1-5])1"],"0$1","0$CC-$1"],[,"(\\d{4})(\\d{4})","$1-$2",["1"]],[,"(\\d)(\\d{3,4})(\\d{4})","$1-$2-$3",["2"],"0$1","0$CC-$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[36]0|8"],"0$1","0$CC-$1"],[,"(\\d{2})(\\d{3,4})(\\d{4})","$1-$2-$3",["[1346]|5[1-5]"],"0$1","0$CC-$1"],[,"(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[57]"],"0$1","0$CC-$1"],[,"(\\d{5})(\\d{3})(\\d{3})","$1 $2 $3",["003","0030"]],[,"(\\d{2})(\\d{5})(\\d{4})","$1-$2-$3",["5"],"0$1","0$CC-$1"],[,"(\\d{5})(\\d{3,4})(\\d{4})","$1 $2 $3",["0"]],[,"(\\d{5})(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3 $4",["0"]]],[[,"(\\d{2})(\\d{3,4})","$1-$2",["(?:3[1-3]|[46][1-4]|5[1-5])1"],"0$1","0$CC-$1"],[,"(\\d{4})(\\d{4})","$1-$2",["1"]],[,"(\\d)(\\d{3,4})(\\d{4})","$1-$2-$3",["2"],"0$1","0$CC-$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[36]0|8"],"0$1","0$CC-$1"],[,"(\\d{2})(\\d{3,4})(\\d{4})","$1-$2-$3",["[1346]|5[1-5]"],"0$1","0$CC-$1"],[,"(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[57]"],"0$1","0$CC-$1"],[,"(\\d{2})(\\d{5})(\\d{4})","$1-$2-$3",["5"],"0$1","0$CC-$1"]],[,,"15\\d{7,8}",,,,"1523456789",,,[9,10]],,,[,,"00(?:3(?:08\\d{6,7}|68\\d{7})|798\\d{7,9})",,,,,,,[11,12,13,14]],[,,"1(?:5(?:22|33|44|66|77|88|99)|6(?:[07]0|44|6[0168]|88)|8(?:00|33|55|77|99))\\d{4}",,,,"15441234",,,[8]],,,[,,,,,,,,,[-1]]],KW:[,[,,"18\\d{5}|(?:[2569]\\d|41)\\d{6}",,,,,,,[7,8]],[,,"2(?:[23]\\d\\d|4(?:[1-35-9]\\d|44)|5(?:0[034]|[2-46]\\d|5[1-3]|7[1-7]))\\d{4}",,,,"22345678",,,[8]],[,,"(?:41\\d\\d|5(?:(?:[05]\\d|1[0-7]|6[56])\\d|2(?:22|5[25])|7(?:55|77)|88[58])|6(?:(?:0[034679]|5[015-9]|6\\d)\\d|1(?:00|11|6[16])|2[26]2|3[36]3|4[46]4|7(?:0[013-9]|[67]\\d)|8[68]8|9(?:[069]\\d|3[039]))|9(?:(?:[04679]\\d|8[057-9])\\d|1(?:1[01]|99)|2(?:00|2\\d)|3(?:00|3[03])|5(?:00|5\\d)))\\d{4}",,,,"50012345",,,[8]],[,,"18\\d{5}",,,,"1801234",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"KW",965,"00",,,,,,,,[[,"(\\d{4})(\\d{3,4})","$1 $2",["[169]|2(?:[235]|4[1-35-9])|52"]],[,"(\\d{3})(\\d{5})","$1 $2",["[245]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KY:[,[,,"(?:345|[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"345(?:2(?:22|3[23]|44|66)|333|444|6(?:23|38|40)|7(?:30|4[35-79]|6[6-9]|77)|8(?:00|1[45]|[48]8)|9(?:14|4[035-9]))\\d{4}",,,,"3452221234",,,,[7]],[,,"345(?:32[1-9]|42[0-4]|5(?:1[67]|2[5-79]|4[6-9]|50|76)|649|82[56]|9(?:1[679]|2[2-9]|3[06-9]|90))\\d{4}",,,,"3453231234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"(?:345976|900[2-9]\\d\\d)\\d{4}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"KY",1,"011","1",,,"([2-9]\\d{6})$|1","345$1",,,,,[,,"345849\\d{4}",,,,"3458491234"],,"345",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KZ:[,[,,"(?:33622|8\\d{8})\\d{5}|[78]\\d{9}",,,,,,,[10,14],[5,6,7]],[,,"(?:33622|7(?:1(?:0(?:[23]\\d|4[0-3]|59|63)|1(?:[23]\\d|4[0-79]|59)|2(?:[23]\\d|59)|3(?:2\\d|3[0-79]|4[0-35-9]|59)|4(?:[24]\\d|3[013-9]|5[1-9]|97)|5(?:2\\d|3[1-9]|4[0-7]|59)|6(?:[2-4]\\d|5[19]|61)|72\\d|8(?:[27]\\d|3[1-46-9]|4[0-5]|59))|2(?:1(?:[23]\\d|4[46-9]|5[3469])|2(?:2\\d|3[0679]|46|5[12679])|3(?:[2-4]\\d|5[139])|4(?:2\\d|3[1-35-9]|59)|5(?:[23]\\d|4[0-8]|59|61)|6(?:2\\d|3[1-9]|4[0-4]|59)|7(?:[2379]\\d|40|5[279])|8(?:[23]\\d|4[0-3]|59)|9(?:2\\d|3[124578]|59))))\\d{5}",,,,"7123456789",,,[10],[5,6,7]],[,,"7(?:0[0-25-8]|47|6[0-4]|7[15-8]|85)\\d{7}",,,,"7710009998",,,[10]],[,,"8(?:00|108\\d{3})\\d{7}",,,,"8001234567"],[,,"809\\d{7}",,,,"8091234567",,,[10]],[,,,,,,,,,[-1]],[,,"808\\d{7}",,,,"8081234567",,,[10]],[,,"751\\d{7}",,,,"7511234567",,,[10]],"KZ",7,"810","8",,,"8",,"8~10",,,,[,,,,,,,,,[-1]],,"33|7",[,,"751\\d{7}",,,,,,,[10]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LA:[,[,,"[23]\\d{9}|3\\d{8}|(?:[235-8]\\d|41)\\d{6}",,,,,,,[8,9,10],[6]],[,,"(?:2[13]|[35-7][14]|41|8[1468])\\d{6}",,,,"21212862",,,[8],[6]],[,,"208[78]\\d{6}|(?:20[23579]|30[24])\\d{7}",,,,"2023123456",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LA",856,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2[13]|3[14]|[4-8]"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["30[0135-9]"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[23]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"30[0135-9]\\d{6}",,,,"301234567",,,[9]],,,[,,,,,,,,,[-1]]],LB:[,[,,"[27-9]\\d{7}|[13-9]\\d{6}",,,,,,,[7,8]],[,,"7(?:62|8[0-7]|9[04-9])\\d{4}|(?:[14-69]\\d|2(?:[14-69]\\d|[78][1-9])|7[2-57]|8[02-9])\\d{5}",,,,"1123456"],[,,"793(?:[01]\\d|2[0-4])\\d{3}|(?:(?:3|81)\\d|7(?:[01]\\d|6[013-9]|8[89]|9[12]))\\d{5}",,,,"71123456"],[,,,,,,,,,[-1]],[,,"9[01]\\d{6}",,,,"90123456",,,[8]],[,,"80\\d{6}",,,,"80123456",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LB",961,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[13-69]|7(?:[2-57]|62|8[0-7]|9[04-9])|8[02-9]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LC:[,[,,"(?:[58]\\d\\d|758|900)\\d{7}",,,,,,,[10],[7]],[,,"758(?:234|4(?:30|5\\d|6[2-9]|8[0-2])|57[0-2]|(?:63|75)8)\\d{4}",,,,"7584305678",,,,[7]],[,,"758(?:28[4-7]|384|4(?:6[01]|8[4-9])|5(?:1[89]|20|84)|7(?:1[2-9]|2\\d|3[0-3])|812)\\d{4}",,,,"7582845678",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"LC",1,"011","1",,,"([2-8]\\d{6})$|1","758$1",,,,,[,,,,,,,,,[-1]],,"758",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LI:[,[,,"[68]\\d{8}|(?:[2378]\\d|90)\\d{5}",,,,,,,[7,9]],[,,"(?:2(?:01|1[27]|2[02]|3\\d|6[02-578]|96)|3(?:[24]0|33|7[0135-7]|8[048]|9[0269]))\\d{4}",,,,"2345678",,,[7]],[,,"(?:6(?:(?:4[5-9]|5[0-469])\\d|6(?:[024-6]\\d|[17]0|3[7-9]))\\d|7(?:[37-9]\\d|42|56))\\d{4}",,,,"660234567"],[,,"8002[28]\\d\\d|80(?:05\\d|9)\\d{4}",,,,"8002222"],[,,"90(?:02[258]|1(?:23|3[14])|66[136])\\d\\d",,,,"9002222",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LI",423,"00","0",,,"(1001)|0",,,,[[,"(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2379]|8(?:0[09]|7)","[2379]|8(?:0(?:02|9)|7)"],,"$CC $1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["69"],,"$CC $1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"],,"$CC $1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"870(?:28|87)\\d\\d",,,,"8702812",,,[7]],,,[,,"697(?:42|56|[78]\\d)\\d{4}",,,,"697861234",,,[9]]],LK:[,[,,"[1-9]\\d{8}",,,,,,,[9],[7]],[,,"(?:12[2-9]|602|8[12]\\d|9(?:1\\d|22|9[245]))\\d{6}|(?:11|2[13-7]|3[1-8]|4[157]|5[12457]|6[35-7])[2-57]\\d{6}",,,,"112345678",,,,[7]],[,,"7(?:[0-25-8]\\d|4[0-4])\\d{6}",,,,"712345678"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LK",94,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[1-689]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"1973\\d{5}",,,,"197312345"],,,[,,,,,,,,,[-1]]],LR:[,[,,"(?:[245]\\d|33|77|88)\\d{7}|(?:2\\d|[4-6])\\d{6}",,,,,,,[7,8,9]],[,,"2\\d{7}",,,,"21234567",,,[8]],[,,"(?:(?:(?:22|33)0|555|(?:77|88)\\d)\\d|4(?:240|[67]))\\d{5}|[56]\\d{6}",,,,"770123456",,,[7,9]],[,,,,,,,,,[-1]],[,,"332(?:02|[34]\\d)\\d{4}",,,,"332021234",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LR",231,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["4[67]|[56]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-578]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LS:[,[,,"(?:[256]\\d\\d|800)\\d{5}",,,,,,,[8]],[,,"2\\d{7}",,,,"22123456"],[,,"[56]\\d{7}",,,,"50123456"],[,,"800[1256]\\d{4}",,,,"80021234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LS",266,"00",,,,,,,,[[,"(\\d{4})(\\d{4})","$1 $2",["[2568]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LT:[,[,,"(?:[3469]\\d|52|[78]0)\\d{6}",,,,,,,[8]],[,,"(?:3[1478]|4[124-6]|52)\\d{6}",,,,"31234567"],[,,"6\\d{7}",,,,"61234567"],[,,"80[02]\\d{5}",,,,"80012345"],[,,"9(?:0[0239]|10)\\d{5}",,,,"90012345"],[,,"808\\d{5}",,,,"80812345"],[,,"70[05]\\d{5}",,,,"70012345"],[,,"[89]01\\d{5}",,,,"80123456"],"LT",370,"00","0",,,"[08]",,,,[[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["52[0-7]"],"(0-$1)",,1],[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[7-9]"],"0 $1",,1],[,"(\\d{2})(\\d{6})","$1 $2",["37|4(?:[15]|6[1-8])"],"(0-$1)",,1],[,"(\\d{3})(\\d{5})","$1 $2",["[3-6]"],"(0-$1)",,1]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"70[67]\\d{5}",,,,"70712345"],,,[,,,,,,,,,[-1]]],LU:[,[,,"35[013-9]\\d{4,8}|6\\d{8}|35\\d{2,4}|(?:[2457-9]\\d|3[0-46-9])\\d{2,9}",,,,,,,[4,5,6,7,8,9,10,11]],[,,"(?:35[013-9]|80[2-9]|90[89])\\d{1,8}|(?:2[2-9]|3[0-46-9]|[457]\\d|8[13-9]|9[2-579])\\d{2,9}",,,,"27123456"],[,,"6(?:[269][18]|5[1568]|7[189]|81)\\d{6}",,,,"628123456",,,[9]],[,,"800\\d{5}",,,,"80012345",,,[8]],[,,"90[015]\\d{5}",,,,"90012345",,,[8]],[,,"801\\d{5}",,,,"80112345",,,[8]],[,,,,,,,,,[-1]],[,,"20(?:1\\d{5}|[2-689]\\d{1,7})",,,,"20201234",,,[4,5,6,7,8,9,10]],"LU",352,"00",,,,"(15(?:0[06]|1[12]|[35]5|4[04]|6[26]|77|88|99)\\d)",,,,[[,"(\\d{2})(\\d{3})","$1 $2",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"],,"$CC $1"],[,"(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"],,"$CC $1"],[,"(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["20[2-689]"],,"$CC $1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4",["2(?:[0367]|4[3-8])"],,"$CC $1"],[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["80[01]|90[015]"],,"$CC $1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["20"],,"$CC $1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"],,"$CC $1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4 $5",["2(?:[0367]|4[3-8])"],,"$CC $1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{1,5})","$1 $2 $3 $4",["[3-57]|8[13-9]|9(?:0[89]|[2-579])|(?:2|80)[2-9]"],,"$CC $1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LV:[,[,,"(?:[268]\\d|90)\\d{6}",,,,,,,[8]],[,,"6\\d{7}",,,,"63123456"],[,,"23(?:23[0-57-9]|33[0238])\\d{3}|2(?:[0-24-9]\\d\\d|3(?:0[07]|[14-9]\\d|2[024-9]|3[0-24-9]))\\d{4}",,,,"21234567"],[,,"80\\d{6}",,,,"80123456"],[,,"90\\d{6}",,,,"90123456"],[,,"81\\d{6}",,,,"81123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LV",371,"00",,,,,,,,[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[269]|8[01]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LY:[,[,,"[2-9]\\d{8}",,,,,,,[9],[7]],[,,"(?:2(?:0[56]|[1-6]\\d|7[124579]|8[124])|3(?:1\\d|2[2356])|4(?:[17]\\d|2[1-357]|5[2-4]|8[124])|5(?:[1347]\\d|2[1-469]|5[13-5]|8[1-4])|6(?:[1-479]\\d|5[2-57]|8[1-5])|7(?:[13]\\d|2[13-79])|8(?:[124]\\d|5[124]|84))\\d{6}",,,,"212345678",,,,[7]],[,,"9[1-6]\\d{7}",,,,"912345678"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LY",218,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{7})","$1-$2",["[2-9]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MA:[,[,,"[5-8]\\d{8}",,,,,,,[9]],[,,"5(?:2(?:[0-25-79]\\d|3[1-578]|4[02-46-8]|8[0235-7])|3(?:[0-47]\\d|5[02-9]|6[02-8]|8[014-9]|9[3-9])|(?:4[067]|5[03])\\d)\\d{5}",,,,"520123456"],[,,"(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[0167]\\d|2[0-4]|5[01]|8[0-3]))\\d{6}",,,,"650123456"],[,,"80[0-7]\\d{6}",,,,"801234567"],[,,"89\\d{7}",,,,"891234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:592(?:4[0-2]|93)|80[89]\\d\\d)\\d{4}",,,,"592401234"],"MA",212,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5[45]"],"0$1"],[,"(\\d{4})(\\d{5})","$1-$2",["5(?:2[2-46-9]|3[3-9]|9)|8(?:0[89]|92)"],"0$1"],[,"(\\d{2})(\\d{7})","$1-$2",["8"],"0$1"],[,"(\\d{3})(\\d{6})","$1-$2",["[5-7]"],"0$1"]],,[,,,,,,,,,[-1]],1,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MC:[,[,,"(?:[3489]|6\\d)\\d{7}",,,,,,,[8,9]],[,,"(?:870|9[2-47-9]\\d)\\d{5}",,,,"99123456",,,[8]],[,,"4(?:[469]\\d|5[1-9])\\d{5}|(?:3|6\\d)\\d{7}",,,,"612345678"],[,,"(?:800|90\\d)\\d{5}",,,,"90123456",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"MC",377,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3",["87"]],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["4"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[389]"]],[,"(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["6"],"0$1"]],[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["4"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[389]"]],[,"(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["6"],"0$1"]],[,,,,,,,,,[-1]],,,[,,"8[07]0\\d{5}",,,,,,,[8]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MD:[,[,,"(?:[235-7]\\d|[89]0)\\d{6}",,,,,,,[8]],[,,"(?:(?:2[1-9]|3[1-79])\\d|5(?:33|5[257]))\\d{5}",,,,"22212345"],[,,"562\\d{5}|(?:6\\d|7[16-9])\\d{6}",,,,"62112345"],[,,"800\\d{5}",,,,"80012345"],[,,"90[056]\\d{5}",,,,"90012345"],[,,"808\\d{5}",,,,"80812345"],[,,,,,,,,,[-1]],[,,"3[08]\\d{6}",,,,"30123456"],"MD",373,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["22|3"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[25-7]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"803\\d{5}",,,,"80312345"],,,[,,,,,,,,,[-1]]],ME:[,[,,"(?:20|[3-79]\\d)\\d{6}|80\\d{6,7}",,,,,,,[8,9],[6]],[,,"(?:20[2-8]|3(?:[0-2][2-7]|3[24-7])|4(?:0[2-467]|1[2467])|5(?:0[2467]|1[24-7]|2[2-467]))\\d{5}",,,,"30234567",,,[8],[6]],[,,"6(?:[07-9]\\d|3[024]|6[0-25])\\d{5}",,,,"67622901",,,[8]],[,,"80(?:[0-2578]|9\\d)\\d{5}",,,,"80080002"],[,,"9(?:4[1568]|5[178])\\d{5}",,,,"94515151",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"78[1-49]\\d{5}",,,,"78108780",,,[8]],"ME",382,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"77[1-9]\\d{5}",,,,"77273012",,,[8]],,,[,,,,,,,,,[-1]]],MF:[,[,,"590\\d{6}|(?:69|80|9\\d)\\d{7}",,,,,,,[9]],[,,"590(?:0[079]|[14]3|[27][79]|3[03-7]|5[0-268]|87)\\d{4}",,,,"590271234"],[,,"69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))\\d{4}",,,,"690001234"],[,,"80[0-5]\\d{6}",,,,"800012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"9(?:(?:39[5-7]|76[018])\\d|475[0-5])\\d{4}",,,,"976012345"],"MF",590,"00","0",,,"0",,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MG:[,[,,"[23]\\d{8}",,,,,,,[9],[7]],[,,"2072[29]\\d{4}|20(?:2\\d|4[47]|5[3467]|6[279]|7[35]|8[268]|9[245])\\d{5}",,,,"202123456",,,,[7]],[,,"3[2-47-9]\\d{7}",,,,"321234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"22\\d{7}",,,,"221234567"],"MG",261,"00","0",,,"([24-9]\\d{6})$|0","20$1",,,[[,"(\\d{2})(\\d{2})(\\d{3})(\\d{2})","$1 $2 $3 $4",["[23]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MH:[,[,,"329\\d{4}|(?:[256]\\d|45)\\d{5}",,,,,,,[7]],[,,"(?:247|528|625)\\d{4}",,,,"2471234"],[,,"(?:(?:23|54)5|329|45[35-8])\\d{4}",,,,"2351234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"635\\d{4}",,,,"6351234"],"MH",692,"011","1",,,"1",,,,[[,"(\\d{3})(\\d{4})","$1-$2",["[2-6]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MK:[,[,,"[2-578]\\d{7}",,,,,,,[8],[6,7]],[,,"(?:(?:2(?:62|77)0|3444)\\d|4[56]440)\\d{3}|(?:34|4[357])700\\d{3}|(?:2(?:[0-3]\\d|5[0-578]|6[01]|82)|3(?:1[3-68]|[23][2-68]|4[23568])|4(?:[23][2-68]|4[3-68]|5[2568]|6[25-8]|7[24-68]|8[4-68]))\\d{5}",,,,"22012345",,,,[6,7]],[,,"7(?:3555|(?:474|9[019]7)7)\\d{3}|7(?:[0-25-8]\\d\\d|3(?:[1-48]\\d|6[01]|7[01578])|4(?:2\\d|60|7[01578])|9(?:[2-4]\\d|5[01]|7[015]))\\d{4}",,,,"72345678"],[,,"800\\d{5}",,,,"80012345"],[,,"5\\d{7}",,,,"50012345"],[,,"8(?:0[1-9]|[1-9]\\d)\\d{5}",,,,"80123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"MK",389,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2|34[47]|4(?:[37]7|5[47]|64)"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[347]"],"0$1"],[,"(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["[58]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],ML:[,[,,"[24-9]\\d{7}",,,,,,,[8]],[,,"2(?:07[0-8]|12[67])\\d{4}|(?:2(?:02|1[4-689])|4(?:0[0-4]|4[1-39]))\\d{5}",,,,"20212345"],[,,"2(?:0(?:01|79)|17\\d)\\d{4}|(?:5[01]|[679]\\d|8[2-49])\\d{6}",,,,"65012345"],[,,"80\\d{6}",,,,"80012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"ML",223,"00",,,,,,,,[[,"(\\d{4})","$1",["67[057-9]|74[045]","67(?:0[09]|[59]9|77|8[89])|74(?:0[02]|44|55)"]],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24-9]"]]],[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24-9]"]]],[,,,,,,,,,[-1]],,,[,,"80\\d{6}"],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MM:[,[,,"1\\d{5,7}|95\\d{6}|(?:[4-7]|9[0-46-9])\\d{6,8}|(?:2|8\\d)\\d{5,8}",,,,,,,[6,7,8,9,10],[5]],[,,"(?:1(?:(?:2\\d|3[56]|[89][0-6])\\d|4(?:2[29]|62|7[0-2]|83)|6)|2(?:2(?:00|8[34])|4(?:0\\d|[26]2|7[0-2]|83)|51\\d\\d)|4(?:2(?:2\\d\\d|48[013])|3(?:20\\d|4(?:70|83)|56)|420\\d|5470)|6(?:0(?:[23]|88\\d)|(?:124|[56]2\\d)\\d|2472|3(?:20\\d|470)|4(?:2[04]\\d|472)|7(?:(?:3\\d|8[01459])\\d|4[67]0)))\\d{4}|5(?:2(?:2\\d{5,6}|47[02]\\d{4})|(?:3472|4(?:2(?:1|86)|470)|522\\d|6(?:20\\d|483)|7(?:20\\d|48[01])|8(?:20\\d|47[02])|9(?:20\\d|470))\\d{4})|7(?:(?:0470|4(?:25\\d|470)|5(?:202|470|96\\d))\\d{4}|1(?:20\\d{4,5}|4(?:70|83)\\d{4}))|8(?:1(?:2\\d{5,6}|4(?:10|7[01]\\d)\\d{3})|2(?:2\\d{5,6}|(?:320|490\\d)\\d{3})|(?:3(?:2\\d\\d|470)|4[24-7]|5(?:(?:2\\d|51)\\d|4(?:[1-35-9]\\d|4[0-57-9]))|6[23])\\d{4})|(?:1[2-6]\\d|4(?:2[24-8]|3[2-7]|[46][2-6]|5[3-5])|5(?:[27][2-8]|3[2-68]|4[24-8]|5[23]|6[2-4]|8[24-7]|9[2-7])|6(?:[19]20|42[03-6]|(?:52|7[45])\\d)|7(?:[04][24-8]|[15][2-7]|22|3[2-4])|8(?:1[2-689]|2[2-8]|[35]2\\d))\\d{4}|25\\d{5,6}|(?:2[2-9]|6(?:1[2356]|[24][2-6]|3[24-6]|5[2-4]|6[2-8]|7[235-7]|8[245]|9[24])|8(?:3[24]|5[245]))\\d{4}",,,,"1234567",,,[6,7,8,9],[5]],[,,"(?:17[01]|9(?:2(?:[0-4]|[56]\\d\\d)|(?:3(?:[0-36]|4\\d)|(?:6\\d|8[89]|9[4-8])\\d|7(?:3|40|[5-9]\\d))\\d|4(?:(?:[0245]\\d|[1379])\\d|88)|5[0-6])\\d)\\d{4}|9[69]1\\d{6}|9(?:[68]\\d|9[089])\\d{5}",,,,"92123456",,,[7,8,9,10]],[,,"80080(?:0[1-9]|2\\d)\\d{3}",,,,"8008001234",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"1333\\d{4}|[12]468\\d{4}",,,,"13331234",,,[8]],"MM",95,"00","0",,,"0",,,,[[,"(\\d)(\\d{2})(\\d{3})","$1 $2 $3",["16|2"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["[45]|6(?:0[23]|[1-689]|7[235-7])|7(?:[0-4]|5[2-7])|8[1-6]"],"0$1"],[,"(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[12]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[4-7]|8[1-35]"],"0$1"],[,"(\\d)(\\d{3})(\\d{4,6})","$1 $2 $3",["9(?:2[0-4]|[35-9]|4[137-9])"],"0$1"],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"],[,"(\\d)(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["92"],"0$1"],[,"(\\d)(\\d{5})(\\d{4})","$1 $2 $3",["9"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MN:[,[,,"[12]\\d{7,9}|[5-9]\\d{7}",,,,,,,[8,9,10],[4,5,6]],[,,"[12]2[1-3]\\d{5,6}|(?:(?:[12](?:1|27)|5[368])\\d\\d|7(?:0(?:[0-5]\\d|7[078]|80)|128))\\d{4}|[12](?:3[2-8]|4[2-68]|5[1-4689])\\d{6,7}",,,,"53123456",,,,[4,5,6]],[,,"(?:83[01]|92[039])\\d{5}|(?:5[05]|6[069]|8[015689]|9[013-9])\\d{6}",,,,"88123456",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"712[0-79]\\d{4}|7(?:1[013-9]|[25-9]\\d)\\d{5}",,,,"75123456",,,[8]],"MN",976,"001","0",,,"0",,,,[[,"(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[12]1"],"0$1"],[,"(\\d{4})(\\d{4})","$1 $2",["[5-9]"]],[,"(\\d{3})(\\d{5,6})","$1 $2",["[12]2[1-3]"],"0$1"],[,"(\\d{4})(\\d{5,6})","$1 $2",["[12](?:27|3[2-8]|4[2-68]|5[1-4689])","[12](?:27|3[2-8]|4[2-68]|5[1-4689])[0-3]"],"0$1"],[,"(\\d{5})(\\d{4,5})","$1 $2",["[12]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MO:[,[,,"0800\\d{3}|(?:28|[68]\\d)\\d{6}",,,,,,,[7,8]],[,,"(?:28[2-9]|8(?:11|[2-57-9]\\d))\\d{5}",,,,"28212345",,,[8]],[,,"6800[0-79]\\d{3}|6(?:[235]\\d\\d|6(?:0[0-5]|[1-9]\\d)|8(?:0[1-9]|[14-8]\\d|2[5-9]|[39][0-4]))\\d{4}",,,,"66123456",,,[8]],[,,"0800\\d{3}",,,,"0800501",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"MO",853,"00",,,,,,,,[[,"(\\d{4})(\\d{3})","$1 $2",["0"]],[,"(\\d{4})(\\d{4})","$1 $2",["[268]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MP:[,[,,"[58]\\d{9}|(?:67|90)0\\d{7}",,,,,,,[10],[7]],[,,"670(?:2(?:3[3-7]|56|8[4-8])|32[1-38]|4(?:33|8[348])|5(?:32|55|88)|6(?:64|70|82)|78[3589]|8[3-9]8|989)\\d{4}",,,,"6702345678",,,,[7]],[,,"670(?:2(?:3[3-7]|56|8[4-8])|32[1-38]|4(?:33|8[348])|5(?:32|55|88)|6(?:64|70|82)|78[3589]|8[3-9]8|989)\\d{4}",,,,"6702345678",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"MP",1,"011","1",,,"([2-9]\\d{6})$|1","670$1",,1,,,[,,,,,,,,,[-1]],,"670",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MQ:[,[,,"596\\d{6}|(?:69|80|9\\d)\\d{7}",,,,,,,[9]],[,,"596(?:[03-7]\\d|1[05]|2[7-9]|8[0-39]|9[04-9])\\d{4}",,,,"596301234"],[,,"69(?:6(?:[0-46-9]\\d|5[0-6])|727)\\d{4}",,,,"696201234"],[,,"80[0-5]\\d{6}",,,,"800012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"9(?:397[0-3]|477[0-5]|76(?:6\\d|7[0-367]))\\d{4}",,,,"976612345"],"MQ",596,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[569]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MR:[,[,,"(?:[2-4]\\d\\d|800)\\d{5}",,,,,,,[8]],[,,"(?:25[08]|35\\d|45[1-7])\\d{5}",,,,"35123456"],[,,"[2-4][0-46-9]\\d{6}",,,,"22123456"],[,,"800\\d{5}",,,,"80012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"MR",222,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-48]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MS:[,[,,"(?:[58]\\d\\d|664|900)\\d{7}",,,,,,,[10],[7]],[,,"6644(?:1[0-3]|91)\\d{4}",,,,"6644912345",,,,[7]],[,,"664(?:3(?:49|9[1-6])|49[2-6])\\d{4}",,,,"6644923456",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"MS",1,"011","1",,,"([34]\\d{6})$|1","664$1",,,,,[,,,,,,,,,[-1]],,"664",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MT:[,[,,"3550\\d{4}|(?:[2579]\\d\\d|800)\\d{5}",,,,,,,[8]],[,,"20(?:3[1-4]|6[059])\\d{4}|2(?:0[19]|[1-357]\\d|60)\\d{5}",,,,"21001234"],[,,"(?:7(?:210|[79]\\d\\d)|9(?:[29]\\d\\d|69[67]|8(?:1[1-3]|89|97)))\\d{4}",,,,"96961234"],[,,"800(?:02|[3467]\\d)\\d{3}",,,,"80071234"],[,,"5(?:0(?:0(?:37|43)|(?:6\\d|70|9[0168])\\d)|[12]\\d0[1-5])\\d{3}",,,,"50037123"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"3550\\d{4}",,,,"35501234"],"MT",356,"00",,,,,,,,[[,"(\\d{4})(\\d{4})","$1 $2",["[2357-9]"]]],,[,,"7117\\d{4}",,,,"71171234"],,,[,,,,,,,,,[-1]],[,,"501\\d{5}",,,,"50112345"],,,[,,,,,,,,,[-1]]],MU:[,[,,"(?:[57]|8\\d\\d)\\d{7}|[2-468]\\d{6}",,,,,,,[7,8,10]],[,,"(?:2(?:[0346-8]\\d|1[0-7])|4(?:[013568]\\d|2[4-8]|71)|54(?:[3-5]\\d|71)|6\\d\\d|8(?:14|3[129]))\\d{4}",,,,"54480123",,,[7,8]],[,,"5(?:4(?:2[1-389]|7[1-9])|87[15-8])\\d{4}|(?:5(?:2[5-9]|4[3-689]|[57]\\d|8[0-689]|9[0-8])|7(?:0[0-4]|3[013]))\\d{5}",,,,"52512345",,,[8]],[,,"802\\d{7}|80[0-2]\\d{4}",,,,"8001234",,,[7,10]],[,,"30\\d{5}",,,,"3012345",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"3(?:20|9\\d)\\d{4}",,,,"3201234",,,[7]],"MU",230,"0(?:0|[24-7]0|3[03])",,,,,,"020",,[[,"(\\d{3})(\\d{4})","$1 $2",["[2-46]|8[013]"]],[,"(\\d{4})(\\d{4})","$1 $2",["[57]"]],[,"(\\d{5})(\\d{5})","$1 $2",["8"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MV:[,[,,"(?:800|9[0-57-9]\\d)\\d{7}|[34679]\\d{6}",,,,,,,[7,10]],[,,"(?:3(?:0[0-3]|3[0-59])|6(?:[58][024689]|6[024-68]|7[02468]))\\d{4}",,,,"6701234",,,[7]],[,,"(?:46[46]|[79]\\d\\d)\\d{4}",,,,"7712345",,,[7]],[,,"800\\d{7}",,,,"8001234567",,,[10]],[,,"900\\d{7}",,,,"9001234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"MV",960,"0(?:0|19)",,,,,,"00",,[[,"(\\d{3})(\\d{4})","$1-$2",["[34679]"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"4(?:0[01]|50)\\d{4}",,,,"4001234",,,[7]],,,[,,,,,,,,,[-1]]],MW:[,[,,"(?:[1289]\\d|31|77)\\d{7}|1\\d{6}",,,,,,,[7,9]],[,,"(?:1[2-9]|2[12]\\d\\d)\\d{5}",,,,"1234567"],[,,"111\\d{6}|(?:31|77|[89][89])\\d{7}",,,,"991234567",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"MW",265,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["1[2-9]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[137-9]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MX:[,[,,"[2-9]\\d{9}",,,,,,,[10],[7,8]],[,,"657[12]\\d{6}|(?:2(?:0[01]|2\\d|3[1-35-8]|4[13-9]|7[1-689]|8[1-578]|9[467])|3(?:1[1-79]|[2458][1-9]|3\\d|7[1-8]|9[1-5])|4(?:1[1-57-9]|[25-7][1-9]|3[1-8]|4\\d|8[1-35-9]|9[2-689])|5(?:[56]\\d|88|9[1-79])|6(?:1[2-68]|[2-4][1-9]|5[1-3689]|6[0-57-9]|7[1-7]|8[67]|9[4-8])|7(?:[1346][1-9]|[27]\\d|5[13-9]|8[1-69]|9[17])|8(?:1\\d|2[13-689]|3[1-6]|4[124-6]|6[1246-9]|7[0-378]|9[12479])|9(?:1[346-9]|2[1-4]|3[2-46-8]|5[1348]|[69]\\d|7[12]|8[1-8]))\\d{7}",,,,"2001234567",,,,[7,8]],[,,"657[12]\\d{6}|(?:2(?:2\\d|3[1-35-8]|4[13-9]|7[1-689]|8[1-578]|9[467])|3(?:1[1-79]|[2458][1-9]|3\\d|7[1-8]|9[1-5])|4(?:1[1-57-9]|[25-7][1-9]|3[1-8]|4\\d|8[1-35-9]|9[2-689])|5(?:[56]\\d|88|9[1-79])|6(?:1[2-68]|[2-4][1-9]|5[1-3689]|6[0-57-9]|7[1-7]|8[67]|9[4-8])|7(?:[1346][1-9]|[27]\\d|5[13-9]|8[1-69]|9[17])|8(?:1\\d|2[13-689]|3[1-6]|4[124-6]|6[1246-9]|7[0-378]|9[12479])|9(?:1[346-9]|2[1-4]|3[2-46-8]|5[1348]|[69]\\d|7[12]|8[1-8]))\\d{7}",,,,"2221234567",,,,[7,8]],[,,"8(?:00|88)\\d{7}",,,,"8001234567"],[,,"900\\d{7}",,,,"9001234567"],[,,"300\\d{7}",,,,"3001234567"],[,,"500\\d{7}",,,,"5001234567"],[,,,,,,,,,[-1]],"MX",52,"0[09]",,,,,,"00",,[[,"(\\d{5})","$1",["53"]],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["33|5[56]|81"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2-9]"]]],[[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["33|5[56]|81"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2-9]"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MY:[,[,,"1\\d{8,9}|(?:3\\d|[4-9])\\d{7}",,,,,,,[8,9,10],[6,7]],[,,"4270\\d{4}|(?:3(?:2[0-36-9]|3[0-368]|4[0-278]|5[0-24-8]|6[0-467]|7[1246-9]|8\\d|9[0-57])\\d|4(?:2[0-689]|[3-79]\\d|8[1-35689])|5(?:2[0-589]|[3468]\\d|5[0-489]|7[1-9]|9[23])|6(?:2[2-9]|3[1357-9]|[46]\\d|5[0-6]|7[0-35-9]|85|9[015-8])|7(?:[2579]\\d|3[03-68]|4[0-8]|6[5-9]|8[0-35-9])|8(?:[24][2-8]|3[2-5]|5[2-7]|6[2-589]|7[2-578]|[89][2-9])|9(?:0[57]|13|[25-7]\\d|[3489][0-8]))\\d{5}",,,,"323856789",,,[8,9],[6,7]],[,,"1(?:1888[689]|4400|8(?:47|8[27])[0-4])\\d{4}|1(?:0(?:[23568]\\d|4[0-6]|7[016-9]|9[0-8])|1(?:[1-5]\\d\\d|6(?:0[5-9]|[1-9]\\d)|7(?:[0-4]\\d|5[0-7]))|(?:[269]\\d|[37][1-9]|4[235-9])\\d|5(?:31|9\\d\\d)|8(?:1[23]|[236]\\d|4[06]|5(?:46|[7-9])|7[016-9]|8[01]|9[0-8]))\\d{5}",,,,"123456789",,,[9,10]],[,,"1[378]00\\d{6}",,,,"1300123456",,,[10]],[,,"1600\\d{6}",,,,"1600123456",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"15(?:4(?:6[0-4]\\d|8(?:0[125]|[17]\\d|21|3[01]|4[01589]|5[014]|6[02]))|6(?:32[0-6]|78\\d))\\d{4}",,,,"1546012345",,,[10]],"MY",60,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{4})","$1-$2 $3",["[4-79]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1-$2 $3",["1(?:[02469]|[378][1-9]|53)|8","1(?:[02469]|[37][1-9]|53|8(?:[1-46-9]|5[7-9]))|8"],"0$1"],[,"(\\d)(\\d{4})(\\d{4})","$1-$2 $3",["3"],"0$1"],[,"(\\d)(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3-$4",["1(?:[367]|80)"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1-$2 $3",["15"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4})","$1-$2 $3",["1"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MZ:[,[,,"(?:2|8\\d)\\d{7}",,,,,,,[8,9]],[,,"2(?:[1346]\\d|5[0-2]|[78][12]|93)\\d{5}",,,,"21123456",,,[8]],[,,"8[2-79]\\d{7}",,,,"821234567",,,[9]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"MZ",258,"00",,,,,,,,[[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2|8[2-79]"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NA:[,[,,"[68]\\d{7,8}",,,,,,,[8,9]],[,,"64426\\d{3}|6(?:1(?:2[2-7]|3[01378]|4[0-4])|254|32[0237]|4(?:27|41|5[25])|52[236-8]|626|7(?:2[2-4]|30))\\d{4,5}|6(?:1(?:(?:0\\d|2[0189]|3[24-69]|4[5-9])\\d|17|69|7[014])|2(?:17|5[0-36-8]|69|70)|3(?:17|2[14-689]|34|6[289]|7[01]|81)|4(?:17|2[0-2]|4[06]|5[0137]|69|7[01])|5(?:17|2[0459]|69|7[01])|6(?:17|25|38|42|69|7[01])|7(?:17|2[569]|3[13]|6[89]|7[01]))\\d{4}",,,,"61221234"],[,,"(?:60|8[1245])\\d{7}",,,,"811234567",,,[9]],[,,"80\\d{7}",,,,"800123456",,,[9]],[,,"8701\\d{5}",,,,"870123456",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"8(?:3\\d\\d|86)\\d{5}",,,,"88612345"],"NA",264,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["88"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["6"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["87"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NC:[,[,,"(?:050|[2-57-9]\\d\\d)\\d{3}",,,,,,,[6]],[,,"(?:2[03-9]|3[0-5]|4[1-7]|88)\\d{4}",,,,"201234"],[,,"(?:5[0-4]|[79]\\d|8[0-79])\\d{4}",,,,"751234"],[,,"050\\d{3}",,,,"050012"],[,,"36\\d{4}",,,,"366711"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NC",687,"00",,,,,,,,[[,"(\\d{3})","$1",["5[6-8]"]],[,"(\\d{2})(\\d{2})(\\d{2})","$1.$2.$3",["[02-57-9]"]]],[[,"(\\d{2})(\\d{2})(\\d{2})","$1.$2.$3",["[02-57-9]"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NE:[,[,,"[027-9]\\d{7}",,,,,,,[8]],[,,"2(?:0(?:20|3[1-8]|4[13-5]|5[14]|6[14578]|7[1-578])|1(?:4[145]|5[14]|6[14-68]|7[169]|88))\\d{4}",,,,"20201234"],[,,"(?:23|7[0467]|[89]\\d)\\d{6}",,,,"93123456"],[,,"08\\d{6}",,,,"08123456"],[,,"09\\d{6}",,,,"09123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NE",227,"00",,,,,,,,[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["08"]],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[089]|2[013]|7[0467]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NF:[,[,,"[13]\\d{5}",,,,,,,[6],[5]],[,,"(?:1(?:06|17|28|39)|3[0-2]\\d)\\d{3}",,,,"106609",,,,[5]],[,,"(?:14|3[58])\\d{4}",,,,"381234",,,,[5]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NF",672,"00",,,,"([0-258]\\d{4})$","3$1",,,[[,"(\\d{2})(\\d{4})","$1 $2",["1[0-3]"]],[,"(\\d)(\\d{5})","$1 $2",["[13]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NG:[,[,,"2[0-24-9]\\d{8}|[78]\\d{10,13}|[7-9]\\d{9}|[1-9]\\d{7}|[124-7]\\d{6}",,,,,,,[7,8,10,11,12,13,14],[5,6]],[,,"20(?:[1259]\\d|3[013-9]|4[1-8]|6[024-689]|7[1-79]|8[2-9])\\d{6}|(?:(?:[1-356]\\d|4[02-8]|8[2-9])\\d|9(?:0[3-9]|[1-9]\\d))\\d{5}|7(?:0(?:[013-689]\\d|2[0-24-9])\\d{3,4}|[1-79]\\d{6})|(?:[12]\\d|4[147]|5[14579]|6[1578]|7[1-3578])\\d{5}",,,,"18040123",,,[7,8,10],[5,6]],[,,"(?:702[0-24-9]|819[01])\\d{6}|(?:7(?:0[13-9]|[12]\\d)|8(?:0[1-9]|1[0-8])|9(?:0[1-9]|1[1-6]))\\d{7}",,,,"8021234567",,,[10]],[,,"800\\d{7,11}",,,,"80017591759",,,[10,11,12,13,14]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NG",234,"009","0",,,"0",,,,[[,"(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["78"],"0$1"],[,"(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[12]|9(?:0[3-9]|[1-9])"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["[3-6]|7(?:0[0-689]|[1-79])|8[2-9]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[7-9]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["20[129]"],"0$1"],[,"(\\d{4})(\\d{2})(\\d{4})","$1 $2 $3",["2"],"0$1"],[,"(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["[78]"],"0$1"],[,"(\\d{3})(\\d{5})(\\d{5,6})","$1 $2 $3",["[78]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"700\\d{7,11}",,,,"7001234567",,,[10,11,12,13,14]],,,[,,,,,,,,,[-1]]],NI:[,[,,"(?:1800|[25-8]\\d{3})\\d{4}",,,,,,,[8]],[,,"2\\d{7}",,,,"21234567"],[,,"(?:5(?:5[0-7]|[78]\\d)|6(?:20|3[035]|4[045]|5[05]|77|8[1-9]|9[059])|(?:7[5-8]|8\\d)\\d)\\d{5}",,,,"81234567"],[,,"1800\\d{4}",,,,"18001234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NI",505,"00",,,,,,,,[[,"(\\d{4})(\\d{4})","$1 $2",["[125-8]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NL:[,[,,"(?:[124-7]\\d\\d|3(?:[02-9]\\d|1[0-8]))\\d{6}|8\\d{6,9}|9\\d{6,10}|1\\d{4,5}",,,,,,,[5,6,7,8,9,10,11]],[,,"(?:1(?:[035]\\d|1[13-578]|6[124-8]|7[24]|8[0-467])|2(?:[0346]\\d|2[2-46-9]|5[125]|9[479])|3(?:[03568]\\d|1[3-8]|2[01]|4[1-8])|4(?:[0356]\\d|1[1-368]|7[58]|8[15-8]|9[23579])|5(?:[0358]\\d|[19][1-9]|2[1-57-9]|4[13-8]|6[126]|7[0-3578])|7\\d\\d)\\d{6}",,,,"101234567",,,[9]],[,,"(?:6[1-58]|970\\d)\\d{7}",,,,"612345678",,,[9,11]],[,,"800\\d{4,7}",,,,"8001234",,,[7,8,9,10]],[,,"90[069]\\d{4,7}",,,,"9061234",,,[7,8,9,10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:85|91)\\d{7}",,,,"851234567",,,[9]],"NL",31,"00","0",,,"0",,,,[[,"(\\d{4})","$1",["1[238]|[34]"]],[,"(\\d{2})(\\d{3,4})","$1 $2",["14"]],[,"(\\d{6})","$1",["1"]],[,"(\\d{3})(\\d{4,7})","$1 $2",["[89]0"],"0$1"],[,"(\\d{2})(\\d{7})","$1 $2",["66"],"0$1"],[,"(\\d)(\\d{8})","$1 $2",["6"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["1[16-8]|2[259]|3[124]|4[17-9]|5[124679]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-578]|91"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3",["9"],"0$1"]],[[,"(\\d{3})(\\d{4,7})","$1 $2",["[89]0"],"0$1"],[,"(\\d{2})(\\d{7})","$1 $2",["66"],"0$1"],[,"(\\d)(\\d{8})","$1 $2",["6"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["1[16-8]|2[259]|3[124]|4[17-9]|5[124679]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-578]|91"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3",["9"],"0$1"]],[,,"66\\d{7}",,,,"662345678",,,[9]],,,[,,"140(?:1[035]|2[0346]|3[03568]|4[0356]|5[0358]|8[458])|140(?:1[16-8]|2[259]|3[124]|4[17-9]|5[124679]|7)\\d",,,,,,,[5,6]],[,,"140(?:1[035]|2[0346]|3[03568]|4[0356]|5[0358]|8[458])|(?:140(?:1[16-8]|2[259]|3[124]|4[17-9]|5[124679]|7)|8[478]\\d{6})\\d",,,,"14020",,,[5,6,9]],,,[,,,,,,,,,[-1]]],NO:[,[,,"(?:0|[2-9]\\d{3})\\d{4}",,,,,,,[5,8]],[,,"(?:2[1-4]|3[1-3578]|5[1-35-7]|6[1-4679]|7[0-8])\\d{6}",,,,"21234567",,,[8]],[,,"(?:4[015-8]|9\\d)\\d{6}",,,,"40612345",,,[8]],[,,"80[01]\\d{5}",,,,"80012345",,,[8]],[,,"82[09]\\d{5}",,,,"82012345",,,[8]],[,,"810(?:0[0-6]|[2-8]\\d)\\d{3}",,,,"81021234",,,[8]],[,,"880\\d{5}",,,,"88012345",,,[8]],[,,"85[0-5]\\d{5}",,,,"85012345",,,[8]],"NO",47,"00",,,,,,,,[[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["8"]],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-79]"]]],,[,,,,,,,,,[-1]],1,"[02-689]|7[0-8]",[,,,,,,,,,[-1]],[,,"(?:0[2-9]|81(?:0(?:0[7-9]|1\\d)|5\\d\\d))\\d{3}",,,,"02000"],,,[,,"81[23]\\d{5}",,,,"81212345",,,[8]]],NP:[,[,,"(?:1\\d|9)\\d{9}|[1-9]\\d{7}",,,,,,,[8,10,11],[6,7]],[,,"(?:1[0-6]\\d|99[02-6])\\d{5}|(?:2[13-79]|3[135-8]|4[146-9]|5[135-7]|6[13-9]|7[15-9]|8[1-46-9]|9[1-7])[2-6]\\d{5}",,,,"14567890",,,[8],[6,7]],[,,"9(?:00|6[0-3]|7[024-6]|8[0-24-68])\\d{7}",,,,"9841234567",,,[10]],[,,"1(?:66001|800\\d\\d)\\d{5}",,,,"16600101234",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NP",977,"00","0",,,"0",,,,[[,"(\\d)(\\d{7})","$1-$2",["1[2-6]"],"0$1"],[,"(\\d{2})(\\d{6})","$1-$2",["1[01]|[2-8]|9(?:[1-59]|[67][2-6])"],"0$1"],[,"(\\d{3})(\\d{7})","$1-$2",["9"]],[,"(\\d{4})(\\d{2})(\\d{5})","$1-$2-$3",["1"]]],[[,"(\\d)(\\d{7})","$1-$2",["1[2-6]"],"0$1"],[,"(\\d{2})(\\d{6})","$1-$2",["1[01]|[2-8]|9(?:[1-59]|[67][2-6])"],"0$1"],[,"(\\d{3})(\\d{7})","$1-$2",["9"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NR:[,[,,"(?:444|(?:55|8\\d)\\d|666)\\d{4}",,,,,,,[7]],[,,"444\\d{4}",,,,"4441234"],[,,"(?:55[3-9]|666|8\\d\\d)\\d{4}",,,,"5551234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NR",674,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[4-68]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NU:[,[,,"(?:[4-7]|888\\d)\\d{3}",,,,,,,[4,7]],[,,"[47]\\d{3}",,,,"7012",,,[4]],[,,"(?:[56]|888[1-9])\\d{3}",,,,"8884012"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NU",683,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["8"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NZ:[,[,,"[1289]\\d{9}|50\\d{5}(?:\\d{2,3})?|[27-9]\\d{7,8}|(?:[34]\\d|6[0-35-9])\\d{6}|8\\d{4,6}",,,,,,,[5,6,7,8,9,10]],[,,"24099\\d{3}|(?:3[2-79]|[49][2-9]|6[235-9]|7[2-57-9])\\d{6}",,,,"32345678",,,[8],[7]],[,,"2(?:[0-27-9]\\d|6)\\d{6,7}|2(?:1\\d|75)\\d{5}",,,,"211234567",,,[8,9,10]],[,,"508\\d{6,7}|80\\d{6,8}",,,,"800123456",,,[8,9,10]],[,,"(?:1[13-57-9]\\d{5}|50(?:0[08]|30|66|77|88))\\d{3}|90\\d{6,8}",,,,"900123456",,,[7,8,9,10]],[,,,,,,,,,[-1]],[,,"70\\d{7}",,,,"701234567",,,[9]],[,,,,,,,,,[-1]],"NZ",64,"0(?:0|161)","0",,,"0",,"00",,[[,"(\\d{2})(\\d{3,8})","$1 $2",["8[1-79]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["50[036-8]|8|90","50(?:[0367]|88)|8|90"],"0$1"],[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["24|[346]|7[2-57-9]|9[2-9]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:10|74)|[589]"],"0$1"],[,"(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["1|2[028]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,5})","$1 $2 $3",["2(?:[169]|7[0-35-9])|7"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"8(?:1[16-9]|22|3\\d|4[045]|5[459]|6[235-9]|7[0-3579]|90)\\d{2,7}",,,,"83012378"],,,[,,,,,,,,,[-1]]],OM:[,[,,"(?:1505|[279]\\d{3}|500)\\d{4}|800\\d{5,6}",,,,,,,[7,8,9]],[,,"2[1-6]\\d{6}",,,,"23123456",,,[8]],[,,"(?:1505|90[1-9]\\d)\\d{4}|(?:7[126-9]|9[1-9])\\d{6}",,,,"92123456",,,[8]],[,,"8007\\d{4,5}|(?:500|800[05])\\d{4}",,,,"80071234"],[,,"900\\d{5}",,,,"90012345",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"OM",968,"00",,,,,,,,[[,"(\\d{3})(\\d{4,6})","$1 $2",["[58]"]],[,"(\\d{2})(\\d{6})","$1 $2",["2"]],[,"(\\d{4})(\\d{4})","$1 $2",["[179]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PA:[,[,,"(?:00800|8\\d{3})\\d{6}|[68]\\d{7}|[1-57-9]\\d{6}",,,,,,,[7,8,10,11]],[,,"(?:1(?:0\\d|1[479]|2[37]|3[0137]|4[17]|5[05]|6[058]|7[0167]|8[2358]|9[1389])|2(?:[0235-79]\\d|1[0-7]|4[013-9]|8[02-9])|3(?:[089]\\d|1[0-7]|2[0-5]|33|4[0-79]|5[0-35]|6[068]|7[0-8])|4(?:00|3[0-579]|4\\d|7[0-57-9])|5(?:[01]\\d|2[0-7]|[56]0|79)|7(?:0[09]|2[0-26-8]|3[03]|4[04]|5[05-9]|6[0156]|7[0-24-9]|8[5-9]|90)|8(?:09|2[89]|3\\d|4[0-24-689]|5[014]|8[02])|9(?:0[5-9]|1[0135-8]|2[036-9]|3[35-79]|40|5[0457-9]|6[05-9]|7[04-9]|8[35-8]|9\\d))\\d{4}",,,,"2001234",,,[7]],[,,"(?:1[16]1|21[89]|6\\d{3}|8(?:1[01]|7[23]))\\d{4}",,,,"61234567",,,[7,8]],[,,"800\\d{4,5}|(?:00800|800\\d)\\d{6}",,,,"8001234"],[,,"(?:8(?:22|55|60|7[78]|86)|9(?:00|81))\\d{4}",,,,"8601234",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"PA",507,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1-$2",["[1-57-9]"]],[,"(\\d{4})(\\d{4})","$1-$2",["[68]"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PE:[,[,,"(?:[14-8]|9\\d)\\d{7}",,,,,,,[8,9],[6,7]],[,,"(?:(?:4[34]|5[14])[0-8]\\d|7(?:173|3[0-8]\\d)|8(?:10[05689]|6(?:0[06-9]|1[6-9]|29)|7(?:0[569]|[56]0)))\\d{4}|(?:1[0-8]|4[12]|5[236]|6[1-7]|7[246]|8[2-4])\\d{6}",,,,"11234567",,,[8],[6,7]],[,,"9\\d{8}",,,,"912345678",,,[9]],[,,"800\\d{5}",,,,"80012345",,,[8]],[,,"805\\d{5}",,,,"80512345",,,[8]],[,,"801\\d{5}",,,,"80112345",,,[8]],[,,"80[24]\\d{5}",,,,"80212345",,,[8]],[,,,,,,,,,[-1]],"PE",51,"00|19(?:1[124]|77|90)00","0"," Anexo ",,"0",,"00",,[[,"(\\d{3})(\\d{5})","$1 $2",["80"],"(0$1)"],[,"(\\d)(\\d{7})","$1 $2",["1"],"(0$1)"],[,"(\\d{2})(\\d{6})","$1 $2",["[4-8]"],"(0$1)"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PF:[,[,,"4\\d{5}(?:\\d{2})?|8\\d{7,8}",,,,,,,[6,8,9]],[,,"4(?:0[4-689]|9[4-68])\\d{5}",,,,"40412345",,,[8]],[,,"8[7-9]\\d{6}",,,,"87123456",,,[8]],[,,"80[0-5]\\d{6}",,,,"800012345",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"499\\d{5}",,,,"49901234",,,[8]],"PF",689,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["44"]],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4|8[7-9]"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]],,[,,,,,,,,,[-1]],,,[,,"44\\d{4}",,,,,,,[6]],[,,"44\\d{4}",,,,"440123",,,[6]],,,[,,,,,,,,,[-1]]],PG:[,[,,"(?:180|[78]\\d{3})\\d{4}|(?:[2-589]\\d|64)\\d{5}",,,,,,,[7,8]],[,,"(?:(?:3[0-2]|4[257]|5[34]|9[78])\\d|64[1-9]|85[02-46-9])\\d{4}",,,,"3123456",,,[7]],[,,"(?:7\\d|8[1-38])\\d{6}",,,,"70123456",,,[8]],[,,"180\\d{4}",,,,"1801234",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"2(?:0[0-57]|7[568])\\d{4}",,,,"2751234",,,[7]],"PG",675,"00|140[1-3]",,,,,,"00",,[[,"(\\d{3})(\\d{4})","$1 $2",["18|[2-69]|85"]],[,"(\\d{4})(\\d{4})","$1 $2",["[78]"]]],,[,,"27[01]\\d{4}",,,,"2700123",,,[7]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PH:[,[,,"(?:[2-7]|9\\d)\\d{8}|2\\d{5}|(?:1800|8)\\d{7,9}",,,,,,,[6,8,9,10,11,12,13],[4,5,7]],[,,"(?:(?:2[3-8]|3[2-68]|4[2-9]|5[2-6]|6[2-58]|7[24578])\\d{3}|88(?:22\\d\\d|42))\\d{4}|(?:2|8[2-8]\\d\\d)\\d{5}",,,,"232345678",,,[6,8,9,10],[4,5,7]],[,,"(?:8(?:1[37]|9[5-8])|9(?:0[5-9]|1[0-24-9]|[235-7]\\d|4[2-9]|8[135-9]|9[1-9]))\\d{7}",,,,"9051234567",,,[10]],[,,"1800\\d{7,9}",,,,"180012345678",,,[11,12,13]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"PH",63,"00","0",,,"0",,,,[[,"(\\d)(\\d{5})","$1 $2",["2"],"(0$1)"],[,"(\\d{4})(\\d{4,6})","$1 $2",["3(?:23|39|46)|4(?:2[3-6]|[35]9|4[26]|76)|544|88[245]|(?:52|64|86)2","3(?:230|397|461)|4(?:2(?:35|[46]4|51)|396|4(?:22|63)|59[347]|76[15])|5(?:221|446)|642[23]|8(?:622|8(?:[24]2|5[13]))"],"(0$1)"],[,"(\\d{5})(\\d{4})","$1 $2",["346|4(?:27|9[35])|883","3469|4(?:279|9(?:30|56))|8834"],"(0$1)"],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3-7]|8[2-8]"],"(0$1)"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],[,"(\\d{4})(\\d{1,2})(\\d{3})(\\d{4})","$1 $2 $3 $4",["1"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PK:[,[,,"122\\d{6}|[24-8]\\d{10,11}|9(?:[013-9]\\d{8,10}|2(?:[01]\\d\\d|2(?:[06-8]\\d|1[01]))\\d{7})|(?:[2-8]\\d{3}|92(?:[0-7]\\d|8[1-9]))\\d{6}|[24-9]\\d{8}|[89]\\d{7}",,,,,,,[8,9,10,11,12],[5,6,7]],[,,"(?:(?:21|42)[2-9]|58[126])\\d{7}|(?:2[25]|4[0146-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]\\d{6,7}|(?:2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:2[2-8]|3[27-9]|4[2-6]|6[3569]|9[25-8]))[2-9]\\d{5,6}",,,,"2123456789",,,[9,10],[5,6,7,8]],[,,"3(?:[0-247]\\d|3[0-79]|55|64)\\d{7}",,,,"3012345678",,,[10]],[,,"800\\d{5}(?:\\d{3})?",,,,"80012345",,,[8,11]],[,,"900\\d{5}",,,,"90012345",,,[8]],[,,,,,,,,,[-1]],[,,"122\\d{6}",,,,"122044444",,,[9]],[,,,,,,,,,[-1]],"PK",92,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3})(\\d{2,7})","$1 $2 $3",["[89]0"],"0$1"],[,"(\\d{4})(\\d{5})","$1 $2",["1"]],[,"(\\d{3})(\\d{6,7})","$1 $2",["2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:2[2-8]|3[27-9]|4[2-6]|6[3569]|9[25-8])","9(?:2[3-8]|98)|(?:2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:22|3[27-9]|4[2-6]|6[3569]|9[25-7]))[2-9]"],"(0$1)"],[,"(\\d{2})(\\d{7,8})","$1 $2",["(?:2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]"],"(0$1)"],[,"(\\d{5})(\\d{5})","$1 $2",["58"],"(0$1)"],[,"(\\d{3})(\\d{7})","$1 $2",["3"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91"],"(0$1)"],[,"(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[24-9]"],"(0$1)"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"(?:2(?:[125]|3[2358]|4[2-4]|9[2-8])|4(?:[0-246-9]|5[3479])|5(?:[1-35-7]|4[2-467])|6(?:0[468]|[1-8])|7(?:[14]|2[236])|8(?:[16]|2[2-689]|3[23578]|4[3478]|5[2356])|9(?:1|22|3[27-9]|4[2-6]|6[3569]|9[2-7]))111\\d{6}",,,,"21111825888",,,[11,12]],,,[,,,,,,,,,[-1]]],PL:[,[,,"(?:6|8\\d\\d)\\d{7}|[1-9]\\d{6}(?:\\d{2})?|[26]\\d{5}",,,,,,,[6,7,8,9,10]],[,,"47\\d{7}|(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])(?:[02-9]\\d{6}|1(?:[0-8]\\d{5}|9\\d{3}(?:\\d{2})?))",,,,"123456789",,,[7,9]],[,,"21(?:1[013-5]|2\\d)\\d{5}|(?:45|5[0137]|6[069]|7[2389]|88)\\d{7}",,,,"512345678",,,[9]],[,,"800\\d{6,7}",,,,"800123456",,,[9,10]],[,,"70[01346-8]\\d{6}",,,,"701234567",,,[9]],[,,"801\\d{6}",,,,"801234567",,,[9]],[,,,,,,,,,[-1]],[,,"39\\d{7}",,,,"391234567",,,[9]],"PL",48,"00",,,,,,,,[[,"(\\d{5})","$1",["19"]],[,"(\\d{3})(\\d{3})","$1 $2",["11|20|64"]],[,"(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])1","(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])19"]],[,"(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["64"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["21|39|45|5[0137]|6[0469]|7[02389]|8(?:0[14]|8)"]],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[2-8]|[2-7]|8[1-79]|9[145]"]],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["8"]]],,[,,"64\\d{4,7}",,,,"641234567",,,[6,7,8,9]],,,[,,,,,,,,,[-1]],[,,"804\\d{6}",,,,"804123456",,,[9]],,,[,,,,,,,,,[-1]]],PM:[,[,,"[45]\\d{5}|(?:708|80\\d)\\d{6}",,,,,,,[6,9]],[,,"(?:4[1-35-7]|5[01])\\d{4}",,,,"430123",,,[6]],[,,"(?:4[02-4]|5[056]|708[45][0-5])\\d{4}",,,,"551234"],[,,"80[0-5]\\d{6}",,,,"800012345",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"PM",508,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[45]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["7"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PR:[,[,,"(?:[589]\\d\\d|787)\\d{7}",,,,,,,[10],[7]],[,,"(?:787|939)[2-9]\\d{6}",,,,"7872345678",,,,[7]],[,,"(?:787|939)[2-9]\\d{6}",,,,"7872345678",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"900[2-9]\\d{6}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"PR",1,"011","1",,,"1",,,1,,,[,,,,,,,,,[-1]],,"787|939",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PS:[,[,,"[2489]2\\d{6}|(?:1\\d|5)\\d{8}",,,,,,,[8,9,10],[7]],[,,"(?:22[2-47-9]|42[45]|82[014-68]|92[3569])\\d{5}",,,,"22234567",,,[8],[7]],[,,"5[69]\\d{7}",,,,"599123456",,,[9]],[,,"1800\\d{6}",,,,"1800123456",,,[10]],[,,,,,,,,,[-1]],[,,"1700\\d{6}",,,,"1700123456",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"PS",970,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2489]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["5"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PT:[,[,,"1693\\d{5}|(?:[26-9]\\d|30)\\d{7}",,,,,,,[9]],[,,"2(?:[12]\\d|3[1-689]|4[1-59]|[57][1-9]|6[1-35689]|8[1-69]|9[1256])\\d{6}",,,,"212345678"],[,,"6(?:[06]92(?:30|9\\d)|[35]92(?:[049]\\d|3[034]))\\d{3}|(?:(?:16|6[0356])93|9(?:[1-36]\\d\\d|480))\\d{5}",,,,"912345678"],[,,"80[02]\\d{6}",,,,"800123456"],[,,"(?:6(?:0[178]|4[68])\\d|76(?:0[1-57]|1[2-47]|2[237]))\\d{5}",,,,"760123456"],[,,"80(?:8\\d|9[1579])\\d{5}",,,,"808123456"],[,,"884[0-4689]\\d{5}",,,,"884123456"],[,,"30\\d{7}",,,,"301234567"],"PT",351,"00",,,,,,,,[[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["2[12]"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["16|[236-9]"]]],,[,,"6(?:222\\d|8988)\\d{4}",,,,"622212345"],,,[,,,,,,,,,[-1]],[,,"70(?:38[01]|596|(?:7\\d|8[17])\\d)\\d{4}",,,,"707123456"],,,[,,"600\\d{6}|6[06]92(?:0\\d|3[349]|49)\\d{3}",,,,"600110000"]],PW:[,[,,"(?:[24-8]\\d\\d|345|900)\\d{4}",,,,,,,[7]],[,,"(?:2(?:55|77)|345|488|5(?:35|44|87)|6(?:22|54|79)|7(?:33|47)|8(?:24|55|76)|900)\\d{4}",,,,"2771234"],[,,"(?:(?:46|83)[0-5]|6[2-4689]0)\\d{4}|(?:45|77|88)\\d{5}",,,,"6201234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"PW",680,"01[12]",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PY:[,[,,"59\\d{4,6}|9\\d{5,10}|(?:[2-46-8]\\d|5[0-8])\\d{4,7}",,,,,,,[6,7,8,9,10,11],[5]],[,,"(?:[26]1|3[289]|4[1246-8]|7[1-3]|8[1-36])\\d{5,7}|(?:2(?:2[4-68]|[4-68]\\d|7[15]|9[1-5])|3(?:18|3[167]|4[2357]|51|[67]\\d)|4(?:3[12]|5[13]|9[1-47])|5(?:[1-4]\\d|5[02-4])|6(?:3[1-3]|44|7[1-8])|7(?:4[0-4]|5\\d|6[1-578]|75|8[0-8])|858)\\d{5,6}",,,,"212345678",,,[7,8,9],[5,6]],[,,"9(?:51|6[129]|7[1-6]|8[1-7]|9[1-5])\\d{6}",,,,"961456789",,,[9]],[,,"9800\\d{5,7}",,,,"98000123456",,,[9,10,11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"8700[0-4]\\d{4}",,,,"870012345",,,[9]],"PY",595,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3,6})","$1 $2",["[2-9]0"],"0$1"],[,"(\\d{2})(\\d{5})","$1 $2",["[26]1|3[289]|4[1246-8]|7[1-3]|8[1-36]"],"(0$1)"],[,"(\\d{3})(\\d{4,5})","$1 $2",["2[279]|3[13-5]|4[359]|5|6(?:[34]|7[1-46-8])|7[46-8]|85"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2[14-68]|3[26-9]|4[1246-8]|6(?:1|75)|7[1-35]|8[1-36]"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["87"]],[,"(\\d{3})(\\d{6})","$1 $2",["9(?:[5-79]|8[1-7])"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["9"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"[2-9]0\\d{4,7}",,,,"201234567",,,[6,7,8,9]],,,[,,,,,,,,,[-1]]],QA:[,[,,"800\\d{4}|(?:2|800)\\d{6}|(?:0080|[3-7])\\d{7}",,,,,,,[7,8,9,11]],[,,"4(?:1111|2022)\\d{3}|4(?:[04]\\d\\d|14[0-6]|999)\\d{4}",,,,"44123456",,,[8]],[,,"[35-7]\\d{7}",,,,"33123456",,,[8]],[,,"800\\d{4}|(?:0080[01]|800)\\d{6}",,,,"8001234",,,[7,9,11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"QA",974,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["2[16]|8"]],[,"(\\d{4})(\\d{4})","$1 $2",["[3-7]"]]],,[,,"2[16]\\d{5}",,,,"2123456",,,[7]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],RE:[,[,,"(?:26|[689]\\d)\\d{7}",,,,,,,[9]],[,,"26(?:2\\d\\d|3(?:0\\d|1[0-6]))\\d{4}",,,,"262161234"],[,,"69(?:2\\d\\d|3(?:[06][0-6]|1[013]|2[0-2]|3[0-39]|4\\d|5[0-5]|7[0-37]|8[0-8]|9[0-479]))\\d{4}",,,,"692123456"],[,,"80\\d{7}",,,,"801234567"],[,,"89[1-37-9]\\d{6}",,,,"891123456"],[,,"8(?:1[019]|2[0156]|84|90)\\d{6}",,,,"810123456"],[,,,,,,,,,[-1]],[,,"9(?:399[0-3]|479[0-5]|76(?:2[278]|3[0-37]))\\d{4}",,,,"939901234"],"RE",262,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2689]"],"0$1"]],,[,,,,,,,,,[-1]],1,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],RO:[,[,,"(?:[236-8]\\d|90)\\d{7}|[23]\\d{5}",,,,,,,[6,9]],[,,"[23][13-6]\\d{7}|(?:2(?:19\\d|[3-6]\\d9)|31\\d\\d)\\d\\d",,,,"211234567"],[,,"(?:630|702)0\\d{5}|(?:6(?:[04]0|2\\d)|7(?:0[013-9]|1[0-3]|[2-7]\\d|8[03-8]|9[0-39]))\\d{6}",,,,"712034567",,,[9]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,"90[0136]\\d{6}",,,,"900123456",,,[9]],[,,"801\\d{6}",,,,"801123456",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"RO",40,"00","0"," int ",,"0",,,,[[,"(\\d{3})(\\d{3})","$1 $2",["2[3-6]","2[3-6]\\d9"],"0$1"],[,"(\\d{2})(\\d{4})","$1 $2",["219|31"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[23]1"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[236-9]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"(?:37\\d|80[578])\\d{6}",,,,"372123456",,,[9]],,,[,,,,,,,,,[-1]]],RS:[,[,,"38[02-9]\\d{6,9}|6\\d{7,9}|90\\d{4,8}|38\\d{5,6}|(?:7\\d\\d|800)\\d{3,9}|(?:[12]\\d|3[0-79])\\d{5,10}",,,,,,,[6,7,8,9,10,11,12],[4,5]],[,,"(?:11[1-9]\\d|(?:2[389]|39)(?:0[2-9]|[2-9]\\d))\\d{3,8}|(?:1[02-9]|2[0-24-7]|3[0-8])[2-9]\\d{4,9}",,,,"10234567",,,[7,8,9,10,11,12],[4,5,6]],[,,"6(?:[0-689]|7\\d)\\d{6,7}",,,,"601234567",,,[8,9,10]],[,,"800\\d{3,9}",,,,"80012345"],[,,"(?:78\\d|90[0169])\\d{3,7}",,,,"90012345",,,[6,7,8,9,10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"RS",381,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3,9})","$1 $2",["(?:2[389]|39)0|[7-9]"],"0$1"],[,"(\\d{2})(\\d{5,10})","$1 $2",["[1-36]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"7[06]\\d{4,10}",,,,"700123456"],,,[,,,,,,,,,[-1]]],RU:[,[,,"8\\d{13}|[347-9]\\d{9}",,,,,,,[10,14],[7]],[,,"(?:3(?:0[12]|4[1-35-79]|5[1-3]|65|8[1-58]|9[0145])|4(?:01|1[1356]|2[13467]|7[1-5]|8[1-7]|9[1-689])|8(?:1[1-8]|2[01]|3[13-6]|4[0-8]|5[15]|6[1-35-79]|7[1-37-9]))\\d{7}",,,,"3011234567",,,[10],[7]],[,,"9\\d{9}",,,,"9123456789",,,[10]],[,,"8(?:0[04]|108\\d{3})\\d{7}",,,,"8001234567"],[,,"80[39]\\d{7}",,,,"8091234567",,,[10]],[,,,,,,,,,[-1]],[,,"808\\d{7}",,,,"8081234567",,,[10]],[,,,,,,,,,[-1]],"RU",7,"810","8",,,"8",,"8~10",,[[,"(\\d{3})(\\d{2})(\\d{2})","$1-$2-$3",["[0-79]"]],[,"(\\d{4})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-8]|2[1-9])","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:1[23]|[2-9]2))","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:13[03-69]|62[013-9]))|72[1-57-9]2"],"8 ($1)",,1],[,"(\\d{5})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-68]|2[1-9])","7(?:1(?:[06][3-6]|[18]|2[35]|[3-5][3-5])|2(?:[13][3-5]|[24-689]|7[457]))","7(?:1(?:0(?:[356]|4[023])|[18]|2(?:3[013-9]|5)|3[45]|43[013-79]|5(?:3[1-8]|4[1-7]|5)|6(?:3[0-35-9]|[4-6]))|2(?:1(?:3[178]|[45])|[24-689]|3[35]|7[457]))|7(?:14|23)4[0-8]|71(?:33|45)[1-79]"],"8 ($1)",,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"8 ($1)",,1],[,"(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[349]|8(?:[02-7]|1[1-8])"],"8 ($1)",,1],[,"(\\d{4})(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3 $4",["8"],"8 ($1)"]],[[,"(\\d{4})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-8]|2[1-9])","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:1[23]|[2-9]2))","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:13[03-69]|62[013-9]))|72[1-57-9]2"],"8 ($1)",,1],[,"(\\d{5})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-68]|2[1-9])","7(?:1(?:[06][3-6]|[18]|2[35]|[3-5][3-5])|2(?:[13][3-5]|[24-689]|7[457]))","7(?:1(?:0(?:[356]|4[023])|[18]|2(?:3[013-9]|5)|3[45]|43[013-79]|5(?:3[1-8]|4[1-7]|5)|6(?:3[0-35-9]|[4-6]))|2(?:1(?:3[178]|[45])|[24-689]|3[35]|7[457]))|7(?:14|23)4[0-8]|71(?:33|45)[1-79]"],"8 ($1)",,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"8 ($1)",,1],[,"(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[349]|8(?:[02-7]|1[1-8])"],"8 ($1)",,1],[,"(\\d{4})(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3 $4",["8"],"8 ($1)"]],[,,,,,,,,,[-1]],1,"3[04-689]|[489]",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],RW:[,[,,"(?:06|[27]\\d\\d|[89]00)\\d{6}",,,,,,,[8,9]],[,,"(?:06|2[23568]\\d)\\d{6}",,,,"250123456"],[,,"7[237-9]\\d{7}",,,,"720123456",,,[9]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,"900\\d{6}",,,,"900123456",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"RW",250,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[7-9]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SA:[,[,,"92\\d{7}|(?:[15]|8\\d)\\d{8}",,,,,,,[9,10],[7]],[,,"1(?:1\\d|2[24-8]|3[35-8]|4[3-68]|6[2-5]|7[235-7])\\d{6}",,,,"112345678",,,[9],[7]],[,,"579[01]\\d{5}|5(?:[013-689]\\d|7[0-8])\\d{6}",,,,"512345678",,,[9]],[,,"800\\d{7}",,,,"8001234567",,,[10]],[,,"925\\d{6}",,,,"925012345",,,[9]],[,,"920\\d{6}",,,,"920012345",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"SA",966,"00","0",,,"0",,,,[[,"(\\d{4})(\\d{5})","$1 $2",["9"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["81"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"811\\d{7}",,,,"8110123456",,,[10]],,,[,,,,,,,,,[-1]]],SB:[,[,,"[6-9]\\d{6}|[1-6]\\d{4}",,,,,,,[5,7]],[,,"(?:1[4-79]|[23]\\d|4[0-2]|5[03]|6[0-37])\\d{3}",,,,"40123",,,[5]],[,,"48\\d{3}|(?:(?:6[89]|7[1-9]|8[4-9])\\d|9(?:1[2-9]|2[013-9]|3[0-2]|[46]\\d|5[0-46-9]|7[0-689]|8[0-79]|9[0-8]))\\d{4}",,,,"7421234"],[,,"1[38]\\d{3}",,,,"18123",,,[5]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"5[12]\\d{3}",,,,"51123",,,[5]],"SB",677,"0[01]",,,,,,,,[[,"(\\d{2})(\\d{5})","$1 $2",["6[89]|7|8[4-9]|9(?:[1-8]|9[0-8])"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SC:[,[,,"(?:[2489]\\d|64)\\d{5}",,,,,,,[7]],[,,"4[2-46]\\d{5}",,,,"4217123"],[,,"2[125-8]\\d{5}",,,,"2510123"],[,,"800[08]\\d{3}",,,,"8000000"],[,,"85\\d{5}",,,,"8512345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"971\\d{4}|(?:64|95)\\d{5}",,,,"6412345"],"SC",248,"010|0[0-2]",,,,,,"00",,[[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[246]|9[57]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SD:[,[,,"[19]\\d{8}",,,,,,,[9]],[,,"1(?:5\\d|8[35-7])\\d{6}",,,,"153123456"],[,,"(?:1[0-2]|9[0-3569])\\d{7}",,,,"911231234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"SD",249,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[19]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SE:[,[,,"(?:[26]\\d\\d|9)\\d{9}|[1-9]\\d{8}|[1-689]\\d{7}|[1-4689]\\d{6}|2\\d{5}",,,,,,,[6,7,8,9,10,12]],[,,"(?:(?:[12][136]|3[356]|4[0246]|6[03]|8\\d)\\d|90[1-9])\\d{4,6}|(?:1(?:2[0-35]|4[0-4]|5[0-25-9]|7[13-6]|[89]\\d)|2(?:2[0-7]|4[0136-8]|5[0138]|7[018]|8[01]|9[0-57])|3(?:0[0-4]|1\\d|2[0-25]|4[056]|7[0-2]|8[0-3]|9[023])|4(?:1[013-8]|3[0135]|5[14-79]|7[0-246-9]|8[0156]|9[0-689])|5(?:0[0-6]|[15][0-5]|2[0-68]|3[0-4]|4\\d|6[03-5]|7[013]|8[0-79]|9[01])|6(?:1[1-3]|2[0-4]|4[02-57]|5[0-37]|6[0-3]|7[0-2]|8[0247]|9[0-356])|9(?:1[0-68]|2\\d|3[02-5]|4[0-3]|5[0-4]|[68][01]|7[0135-8]))\\d{5,6}",,,,"8123456",,,[7,8,9]],[,,"7[02369]\\d{7}",,,,"701234567",,,[9]],[,,"20\\d{4,7}",,,,"20123456",,,[6,7,8,9]],[,,"649\\d{6}|99[1-59]\\d{4}(?:\\d{3})?|9(?:00|39|44)[1-8]\\d{3,6}",,,,"9001234567",,,[7,8,9,10]],[,,"77[0-7]\\d{6}",,,,"771234567",,,[9]],[,,"75[1-8]\\d{6}",,,,"751234567",,,[9]],[,,,,,,,,,[-1]],"SE",46,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{2,3})(\\d{2})","$1-$2 $3",["20"],"0$1"],[,"(\\d{3})(\\d{4})","$1-$2",["9(?:00|39|44|9)"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2})","$1-$2 $3",["[12][136]|3[356]|4[0246]|6[03]|90[1-9]"],"0$1"],[,"(\\d)(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["8"],"0$1"],[,"(\\d{3})(\\d{2,3})(\\d{2})","$1-$2 $3",["1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[125689]|4[02-57]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1"],[,"(\\d{3})(\\d{2,3})(\\d{3})","$1-$2 $3",["9(?:00|39|44)"],"0$1"],[,"(\\d{2})(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["1[13689]|2[0136]|3[1356]|4[0246]|54|6[03]|90[1-9]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["10|7"],"0$1"],[,"(\\d)(\\d{3})(\\d{3})(\\d{2})","$1-$2 $3 $4",["8"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1-$2 $3 $4",["[13-5]|2(?:[247-9]|5[0138])|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{3})","$1-$2 $3 $4",["9"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4 $5",["[26]"],"0$1"]],[[,"(\\d{2})(\\d{2,3})(\\d{2})","$1 $2 $3",["20"]],[,"(\\d{3})(\\d{4})","$1 $2",["9(?:00|39|44|9)"]],[,"(\\d{2})(\\d{3})(\\d{2})","$1 $2 $3",["[12][136]|3[356]|4[0246]|6[03]|90[1-9]"]],[,"(\\d)(\\d{2,3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]],[,"(\\d{3})(\\d{2,3})(\\d{2})","$1 $2 $3",["1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[125689]|4[02-57]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"]],[,"(\\d{3})(\\d{2,3})(\\d{3})","$1 $2 $3",["9(?:00|39|44)"]],[,"(\\d{2})(\\d{2,3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[13689]|2[0136]|3[1356]|4[0246]|54|6[03]|90[1-9]"]],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["10|7"]],[,"(\\d)(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3 $4",["8"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[13-5]|2(?:[247-9]|5[0138])|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["9"]],[,"(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[26]"]]],[,,"74[02-9]\\d{6}",,,,"740123456",,,[9]],,,[,,,,,,,,,[-1]],[,,"10[1-8]\\d{6}",,,,"102345678",,,[9]],,,[,,"(?:25[245]|67[3-68])\\d{9}",,,,"254123456789",,,[12]]],SG:[,[,,"(?:(?:1\\d|8)\\d\\d|7000)\\d{7}|[3689]\\d{7}",,,,,,,[8,10,11]],[,,"662[0-24-9]\\d{4}|6(?:[0-578]\\d|6[013-57-9]|9[0-35-9])\\d{5}",,,,"61234567",,,[8]],[,,"8(?:09[0-68]|95[0-2])\\d{4}|(?:8(?:0[1-8]|[1-8]\\d|9[0-4])|9[0-8]\\d)\\d{5}",,,,"81234567",,,[8]],[,,"(?:18|8)00\\d{7}",,,,"18001234567",,,[10,11]],[,,"1900\\d{7}",,,,"19001234567",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:3[12]\\d|666)\\d{5}",,,,"31234567",,,[8]],"SG",65,"0[0-3]\\d",,,,,,,,[[,"(\\d{4,5})","$1",["1[013-9]|77","1(?:[013-8]|9(?:0[1-9]|[1-9]))|77"]],[,"(\\d{4})(\\d{4})","$1 $2",["[369]|8(?:0[1-9]|[1-9])"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]],[,"(\\d{4})(\\d{4})(\\d{3})","$1 $2 $3",["7"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]],[[,"(\\d{4})(\\d{4})","$1 $2",["[369]|8(?:0[1-9]|[1-9])"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]],[,"(\\d{4})(\\d{4})(\\d{3})","$1 $2 $3",["7"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"7000\\d{7}",,,,"70001234567",,,[11]],,,[,,,,,,,,,[-1]]],SH:[,[,,"(?:[256]\\d|8)\\d{3}",,,,,,,[4,5]],[,,"2(?:[0-57-9]\\d|6[4-9])\\d\\d",,,,"22158"],[,,"[56]\\d{4}",,,,"51234",,,[5]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"262\\d\\d",,,,"26212",,,[5]],"SH",290,"00",,,,,,,,,,[,,,,,,,,,[-1]],1,"[256]",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SI:[,[,,"[1-7]\\d{7}|8\\d{4,7}|90\\d{4,6}",,,,,,,[5,6,7,8]],[,,"(?:[1-357][2-8]|4[24-8])\\d{6}",,,,"12345678",,,[8],[7]],[,,"65(?:[178]\\d|5[56]|6[01])\\d{4}|(?:[37][01]|4[0139]|51|6[489])\\d{6}",,,,"31234567",,,[8]],[,,"80\\d{4,6}",,,,"80123456",,,[6,7,8]],[,,"89[1-3]\\d{2,5}|90\\d{4,6}",,,,"90123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:59\\d\\d|8(?:1(?:[67]\\d|8[0-589])|2(?:0\\d|2[0-37-9]|8[0-2489])|3[389]\\d))\\d{4}",,,,"59012345",,,[8]],"SI",386,"00|10(?:22|66|88|99)","0",,,"0",,"00",,[[,"(\\d{2})(\\d{3,6})","$1 $2",["8[09]|9"],"0$1"],[,"(\\d{3})(\\d{5})","$1 $2",["59|8"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37][01]|4[0139]|51|6"],"0$1"],[,"(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-57]"],"(0$1)"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SJ:[,[,,"0\\d{4}|(?:[489]\\d|79)\\d{6}",,,,,,,[5,8]],[,,"79\\d{6}",,,,"79123456",,,[8]],[,,"(?:4[015-8]|9\\d)\\d{6}",,,,"41234567",,,[8]],[,,"80[01]\\d{5}",,,,"80012345",,,[8]],[,,"82[09]\\d{5}",,,,"82012345",,,[8]],[,,"810(?:0[0-6]|[2-8]\\d)\\d{3}",,,,"81021234",,,[8]],[,,"880\\d{5}",,,,"88012345",,,[8]],[,,"85[0-5]\\d{5}",,,,"85012345",,,[8]],"SJ",47,"00",,,,,,,,,,[,,,,,,,,,[-1]],,"79",[,,,,,,,,,[-1]],[,,"(?:0[2-9]|81(?:0(?:0[7-9]|1\\d)|5\\d\\d))\\d{3}",,,,"02000"],,,[,,"81[23]\\d{5}",,,,"81212345",,,[8]]],SK:[,[,,"[2-689]\\d{8}|[2-59]\\d{6}|[2-5]\\d{5}",,,,,,,[6,7,9]],[,,"(?:2(?:16|[2-9]\\d{3})|(?:(?:[3-5][1-8]\\d|819)\\d|601[1-5])\\d)\\d{4}|(?:2|[3-5][1-8])1[67]\\d{3}|[3-5][1-8]16\\d\\d",,,,"221234567"],[,,"909[1-9]\\d{5}|9(?:0[1-8]|1[0-24-9]|4[03-57-9]|5\\d)\\d{6}",,,,"912123456",,,[9]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,"9(?:00|[78]\\d)\\d{6}",,,,"900123456",,,[9]],[,,"8[5-9]\\d{7}",,,,"850123456",,,[9]],[,,,,,,,,,[-1]],[,,"6(?:02|5[0-4]|9[0-6])\\d{6}",,,,"690123456",,,[9]],"SK",421,"00","0",,,"0",,,,[[,"(\\d)(\\d{2})(\\d{3,4})","$1 $2 $3",["21"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2,3})","$1 $2 $3",["[3-5][1-8]1","[3-5][1-8]1[67]"],"0$1"],[,"(\\d{4})(\\d{3})","$1 $2",["909","9090"],"0$1"],[,"(\\d)(\\d{3})(\\d{3})(\\d{2})","$1/$2 $3 $4",["2"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[689]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1/$2 $3 $4",["[3-5]"],"0$1"]],[[,"(\\d)(\\d{2})(\\d{3,4})","$1 $2 $3",["21"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2,3})","$1 $2 $3",["[3-5][1-8]1","[3-5][1-8]1[67]"],"0$1"],[,"(\\d)(\\d{3})(\\d{3})(\\d{2})","$1/$2 $3 $4",["2"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[689]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1/$2 $3 $4",["[3-5]"],"0$1"]],[,,"9090\\d{3}",,,,"9090123",,,[7]],,,[,,"9090\\d{3}|(?:602|8(?:00|[5-9]\\d)|9(?:00|[78]\\d))\\d{6}",,,,,,,[7,9]],[,,"96\\d{7}",,,,"961234567",,,[9]],,,[,,,,,,,,,[-1]]],SL:[,[,,"(?:[237-9]\\d|66)\\d{6}",,,,,,,[8],[6]],[,,"22[2-4][2-9]\\d{4}",,,,"22221234",,,,[6]],[,,"(?:25|3[0-5]|66|7[2-9]|8[08]|9[09])\\d{6}",,,,"25123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"SL",232,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{6})","$1 $2",["[236-9]"],"(0$1)"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SM:[,[,,"(?:0549|[5-7]\\d)\\d{6}",,,,,,,[8,10],[6]],[,,"0549(?:8[0157-9]|9\\d)\\d{4}",,,,"0549886377",,,[10],[6]],[,,"6[16]\\d{6}",,,,"66661212",,,[8]],[,,,,,,,,,[-1]],[,,"7[178]\\d{6}",,,,"71123456",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"5[158]\\d{6}",,,,"58001110",,,[8]],"SM",378,"00",,,,"([89]\\d{5})$","0549$1",,,[[,"(\\d{6})","$1",["[89]"]],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]"]],[,"(\\d{4})(\\d{6})","$1 $2",["0"]]],[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]"]],[,"(\\d{4})(\\d{6})","$1 $2",["0"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SN:[,[,,"(?:[378]\\d|93)\\d{7}",,,,,,,[9]],[,,"3(?:0(?:1[0-2]|80)|282|3(?:8[1-9]|9[3-9])|611)\\d{5}",,,,"301012345"],[,,"7(?:(?:[06-8]\\d|21|90)\\d|5(?:01|[19]0|25|[38]3|[4-7]\\d))\\d{5}",,,,"701234567"],[,,"800\\d{6}",,,,"800123456"],[,,"88[4689]\\d{6}",,,,"884123456"],[,,"81[02468]\\d{6}",,,,"810123456"],[,,,,,,,,,[-1]],[,,"(?:3(?:392|9[01]\\d)\\d|93(?:3[13]0|929))\\d{4}",,,,"933301234"],"SN",221,"00",,,,,,,,[[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[379]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SO:[,[,,"[346-9]\\d{8}|[12679]\\d{7}|[1-5]\\d{6}|[1348]\\d{5}",,,,,,,[6,7,8,9]],[,,"(?:1\\d|2[0-79]|3[0-46-8]|4[0-7]|5[57-9])\\d{5}|(?:[134]\\d|8[125])\\d{4}",,,,"4012345",,,[6,7]],[,,"(?:(?:15|(?:3[59]|4[89]|6\\d|7[79]|8[08])\\d|9(?:0\\d|[2-9]))\\d|2(?:4\\d|8))\\d{5}|(?:[67]\\d\\d|904)\\d{5}",,,,"71123456",,,[7,8,9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"SO",252,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{4})","$1 $2",["8[125]"]],[,"(\\d{6})","$1",["[134]"]],[,"(\\d)(\\d{6})","$1 $2",["[15]|2[0-79]|3[0-46-8]|4[0-7]"]],[,"(\\d)(\\d{7})","$1 $2",["(?:2|90)4|[67]"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[348]|64|79|90"]],[,"(\\d{2})(\\d{5,7})","$1 $2",["1|28|6[0-35-9]|77|9[2-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SR:[,[,,"(?:[2-5]|68|[78]\\d)\\d{5}",,,,,,,[6,7]],[,,"(?:2[1-3]|3[0-7]|(?:4|68)\\d|5[2-58])\\d{4}",,,,"211234"],[,,"(?:7[124-7]|8[124-9])\\d{5}",,,,"7412345",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"56\\d{4}",,,,"561234",,,[6]],"SR",597,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})","$1-$2-$3",["56"]],[,"(\\d{3})(\\d{3})","$1-$2",["[2-5]"]],[,"(\\d{3})(\\d{4})","$1-$2",["[6-8]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SS:[,[,,"[19]\\d{8}",,,,,,,[9]],[,,"1[89]\\d{7}",,,,"181234567"],[,,"(?:12|9[1257-9])\\d{7}",,,,"977123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"SS",211,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[19]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],ST:[,[,,"(?:22|9\\d)\\d{5}",,,,,,,[7]],[,,"22\\d{5}",,,,"2221234"],[,,"900[5-9]\\d{3}|9(?:0[1-9]|[89]\\d)\\d{4}",,,,"9812345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"ST",239,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[29]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SV:[,[,,"[267]\\d{7}|(?:80\\d|900)\\d{4}(?:\\d{4})?",,,,,,,[7,8,11]],[,,"2(?:79(?:0[0347-9]|[1-9]\\d)|89(?:0[024589]|[1-9]\\d))\\d{3}|2(?:[1-69]\\d|[78][0-8])\\d{5}",,,,"21234567",,,[8]],[,,"[67]\\d{7}",,,,"70123456",,,[8]],[,,"800\\d{8}|80[01]\\d{4}",,,,"8001234",,,[7,11]],[,,"900\\d{4}(?:\\d{4})?",,,,"9001234",,,[7,11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"SV",503,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[89]"]],[,"(\\d{4})(\\d{4})","$1 $2",["[267]"]],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[89]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SX:[,[,,"7215\\d{6}|(?:[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"7215(?:4[2-8]|8[239]|9[056])\\d{4}",,,,"7215425678",,,,[7]],[,,"7215(?:1[02]|2\\d|5[034679]|8[014-8])\\d{4}",,,,"7215205678",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"SX",1,"011","1",,,"(5\\d{6})$|1","721$1",,,,,[,,,,,,,,,[-1]],,"721",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SY:[,[,,"[1-39]\\d{8}|[1-5]\\d{7}",,,,,,,[8,9],[6,7]],[,,"21\\d{6,7}|(?:1(?:[14]\\d|[2356])|2[235]|3(?:[13]\\d|4)|4[134]|5[1-3])\\d{6}",,,,"112345678",,,,[6,7]],[,,"9[1-689]\\d{7}",,,,"944567890",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"SY",963,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-5]"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1",,1]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SZ:[,[,,"0800\\d{4}|(?:[237]\\d|900)\\d{6}",,,,,,,[8,9]],[,,"[23][2-5]\\d{6}",,,,"22171234",,,[8]],[,,"7[6-9]\\d{6}",,,,"76123456",,,[8]],[,,"0800\\d{4}",,,,"08001234",,,[8]],[,,"900\\d{6}",,,,"900012345",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"70\\d{6}",,,,"70012345",,,[8]],"SZ",268,"00",,,,,,,,[[,"(\\d{4})(\\d{4})","$1 $2",["[0237]"]],[,"(\\d{5})(\\d{4})","$1 $2",["9"]]],,[,,,,,,,,,[-1]],,,[,,"0800\\d{4}",,,,,,,[8]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TA:[,[,,"8\\d{3}",,,,,,,[4]],[,,"8\\d{3}",,,,"8999"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TA",290,"00",,,,,,,,,,[,,,,,,,,,[-1]],,"8",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TC:[,[,,"(?:[58]\\d\\d|649|900)\\d{7}",,,,,,,[10],[7]],[,,"649(?:266|712|9(?:4\\d|50))\\d{4}",,,,"6497121234",,,,[7]],[,,"649(?:2(?:3[129]|4[1-79])|3\\d\\d|4[34][1-3])\\d{4}",,,,"6492311234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"900[2-9]\\d{6}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,"649(?:71[01]|966)\\d{4}",,,,"6497101234",,,,[7]],"TC",1,"011","1",,,"([2-479]\\d{6})$|1","649$1",,,,,[,,,,,,,,,[-1]],,"649",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TD:[,[,,"(?:22|[689]\\d|77)\\d{6}",,,,,,,[8]],[,,"22(?:[37-9]0|5[0-5]|6[89])\\d{4}",,,,"22501234"],[,,"(?:[69]\\d|77|8[56])\\d{6}",,,,"63012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TD",235,"00|16",,,,,,"00",,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[26-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TG:[,[,,"[279]\\d{7}",,,,,,,[8]],[,,"2(?:2[2-7]|3[23]|4[45]|55|6[67]|77)\\d{5}",,,,"22212345"],[,,"(?:7[019]|9[0-36-9])\\d{6}",,,,"90112345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TG",228,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[279]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TH:[,[,,"(?:001800|[2-57]|[689]\\d)\\d{7}|1\\d{7,9}",,,,,,,[8,9,10,13]],[,,"(?:1[0689]|2\\d|3[2-9]|4[2-5]|5[2-6]|7[3-7])\\d{6}",,,,"21234567",,,[8]],[,,"67(?:1[0-8]|2[4-7])\\d{5}|(?:14|6[1-6]|[89]\\d)\\d{7}",,,,"812345678",,,[9]],[,,"(?:001800\\d|1800)\\d{6}",,,,"1800123456",,,[10,13]],[,,"1900\\d{6}",,,,"1900123456",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"6[08]\\d{7}",,,,"601234567",,,[9]],"TH",66,"00[1-9]","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[13-9]"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TJ:[,[,,"[0-57-9]\\d{8}",,,,,,,[9],[3,5,6,7]],[,,"(?:3(?:1[3-5]|2[245]|3[12]|4[24-7]|5[25]|72)|4(?:46|74|87))\\d{6}",,,,"372123456",,,,[3,5,6,7]],[,,"(?:33[03-9]|4(?:1[18]|4[02-479])|81[1-9])\\d{6}|(?:0[0-57-9]|1[017]|2[02]|[34]0|5[05]|7[01578]|8[078]|9\\d)\\d{7}",,,,"917123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TJ",992,"810",,,,,,"8~10",,[[,"(\\d{6})(\\d)(\\d{2})","$1 $2 $3",["331","3317"]],[,"(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["44[02-479]|[34]7"]],[,"(\\d{4})(\\d)(\\d{4})","$1 $2 $3",["3(?:[1245]|3[12])"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[0-57-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TK:[,[,,"[2-47]\\d{3,6}",,,,,,,[4,5,6,7]],[,,"(?:2[2-4]|[34]\\d)\\d{2,5}",,,,"3101"],[,,"7[2-4]\\d{2,5}",,,,"7290"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TK",690,"00",,,,,,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TL:[,[,,"7\\d{7}|(?:[2-47]\\d|[89]0)\\d{5}",,,,,,,[7,8]],[,,"(?:2[1-5]|3[1-9]|4[1-4])\\d{5}",,,,"2112345",,,[7]],[,,"7[2-8]\\d{6}",,,,"77212345",,,[8]],[,,"80\\d{5}",,,,"8012345",,,[7]],[,,"90\\d{5}",,,,"9012345",,,[7]],[,,,,,,,,,[-1]],[,,"70\\d{5}",,,,"7012345",,,[7]],[,,,,,,,,,[-1]],"TL",670,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[2-489]|70"]],[,"(\\d{4})(\\d{4})","$1 $2",["7"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TM:[,[,,"(?:[1-6]\\d|71)\\d{6}",,,,,,,[8]],[,,"(?:1(?:2\\d|3[1-9])|2(?:22|4[0-35-8])|3(?:22|4[03-9])|4(?:22|3[128]|4\\d|6[15])|5(?:22|5[7-9]|6[014-689]))\\d{5}",,,,"12345678"],[,,"(?:6\\d|71)\\d{6}",,,,"66123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TM",993,"810","8",,,"8",,"8~10",,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["12"],"(8 $1)"],[,"(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-5]"],"(8 $1)"],[,"(\\d{2})(\\d{6})","$1 $2",["[67]"],"8 $1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TN:[,[,,"[2-57-9]\\d{7}",,,,,,,[8]],[,,"81200\\d{3}|(?:3[0-2]|7\\d)\\d{6}",,,,"30010123"],[,,"3(?:001|[12]40)\\d{4}|(?:(?:[259]\\d|4[0-8])\\d|3(?:1[1-35]|6[0-4]|91))\\d{5}",,,,"20123456"],[,,"8010\\d{4}",,,,"80101234"],[,,"88\\d{6}",,,,"88123456"],[,,"8[12]10\\d{4}",,,,"81101234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TN",216,"00",,,,,,,,[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-57-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TO:[,[,,"(?:0800|(?:[5-8]\\d\\d|999)\\d)\\d{3}|[2-8]\\d{4}",,,,,,,[5,7]],[,,"(?:2\\d|3[0-8]|4[0-4]|50|6[09]|7[0-24-69]|8[05])\\d{3}",,,,"20123",,,[5]],[,,"(?:5(?:4[0-5]|5[4-6])|6(?:[09]\\d|3[02]|8[15-9])|(?:7\\d|8[46-9])\\d|999)\\d{4}",,,,"7715123",,,[7]],[,,"0800\\d{3}",,,,"0800222",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"55[0-37-9]\\d{4}",,,,"5510123",,,[7]],"TO",676,"00",,,,,,,,[[,"(\\d{2})(\\d{3})","$1-$2",["[2-4]|50|6[09]|7[0-24-69]|8[05]"]],[,"(\\d{4})(\\d{3})","$1 $2",["0"]],[,"(\\d{3})(\\d{4})","$1 $2",["[5-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TR:[,[,,"4\\d{6}|8\\d{11,12}|(?:[2-58]\\d\\d|900)\\d{7}",,,,,,,[7,10,12,13]],[,,"(?:2(?:[13][26]|[28][2468]|[45][268]|[67][246])|3(?:[13][28]|[24-6][2468]|[78][02468]|92)|4(?:[16][246]|[23578][2468]|4[26]))\\d{7}",,,,"2123456789",,,[10]],[,,"561(?:011|61\\d)\\d{4}|5(?:0[15-7]|1[06]|24|[34]\\d|5[1-59]|9[46])\\d{7}",,,,"5012345678",,,[10]],[,,"8(?:00\\d{7}(?:\\d{2,3})?|11\\d{7})",,,,"8001234567",,,[10,12,13]],[,,"(?:8[89]8|900)\\d{7}",,,,"9001234567",,,[10]],[,,,,,,,,,[-1]],[,,"592(?:21[12]|461)\\d{4}",,,,"5922121234",,,[10]],[,,"850\\d{7}",,,,"8500123456",,,[10]],"TR",90,"00","0",,,"0",,,,[[,"(\\d{3})(\\d)(\\d{3})","$1 $2 $3",["444"],,,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["512|8[01589]|90"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5(?:[0-59]|61)","5(?:[0-59]|61[06])","5(?:[0-59]|61[06]1)"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24][1-8]|3[1-9]"],"(0$1)",,1],[,"(\\d{3})(\\d{3})(\\d{6,7})","$1 $2 $3",["80"],"0$1",,1]],[[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["512|8[01589]|90"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5(?:[0-59]|61)","5(?:[0-59]|61[06])","5(?:[0-59]|61[06]1)"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24][1-8]|3[1-9]"],"(0$1)",,1],[,"(\\d{3})(\\d{3})(\\d{6,7})","$1 $2 $3",["80"],"0$1",,1]],[,,"512\\d{7}",,,,"5123456789",,,[10]],,,[,,"(?:444|811\\d{3})\\d{4}",,,,,,,[7,10]],[,,"444\\d{4}",,,,"4441444",,,[7]],,,[,,,,,,,,,[-1]]],TT:[,[,,"(?:[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"868(?:2(?:01|1[5-9]|[23]\\d|4[0-2])|6(?:0[7-9]|1[02-8]|2[1-9]|[3-69]\\d|7[0-79])|82[124])\\d{4}",,,,"8682211234",,,,[7]],[,,"868(?:(?:2[5-9]|3\\d)\\d|4(?:3[0-6]|[6-9]\\d)|6(?:20|78|8\\d)|7(?:0[1-9]|1[02-9]|[2-9]\\d))\\d{4}",,,,"8682911234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"900[2-9]\\d{6}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"TT",1,"011","1",,,"([2-46-8]\\d{6})$|1","868$1",,,,,[,,,,,,,,,[-1]],,"868",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,"868619\\d{4}",,,,"8686191234",,,,[7]]],TV:[,[,,"(?:2|7\\d\\d|90)\\d{4}",,,,,,,[5,6,7]],[,,"2[02-9]\\d{3}",,,,"20123",,,[5]],[,,"(?:7[01]\\d|90)\\d{4}",,,,"901234",,,[6,7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TV",688,"00",,,,,,,,[[,"(\\d{2})(\\d{3})","$1 $2",["2"]],[,"(\\d{2})(\\d{4})","$1 $2",["90"]],[,"(\\d{2})(\\d{5})","$1 $2",["7"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TW:[,[,,"[2-689]\\d{8}|7\\d{9,10}|[2-8]\\d{7}|2\\d{6}",,,,,,,[7,8,9,10,11]],[,,"(?:2[2-8]\\d|370|55[01]|7[1-9])\\d{6}|4(?:(?:0(?:0[1-9]|[2-48]\\d)|1[023]\\d)\\d{4,5}|(?:[239]\\d\\d|4(?:0[56]|12|49))\\d{5})|6(?:[01]\\d{7}|4(?:0[56]|12|24|4[09])\\d{4,5})|8(?:(?:2(?:3\\d|4[0-269]|[578]0|66)|36[24-9]|90\\d\\d)\\d{4}|4(?:0[56]|12|24|4[09])\\d{4,5})|(?:2(?:2(?:0\\d\\d|4(?:0[68]|[249]0|3[0-467]|5[0-25-9]|6[0235689]))|(?:3(?:[09]\\d|1[0-4])|(?:4\\d|5[0-49]|6[0-29]|7[0-5])\\d)\\d)|(?:(?:3[2-9]|5[2-8]|6[0-35-79]|8[7-9])\\d\\d|4(?:2(?:[089]\\d|7[1-9])|(?:3[0-4]|[78]\\d|9[01])\\d))\\d)\\d{3}",,,,"221234567",,,[8,9]],[,,"(?:40001[0-2]|9[0-8]\\d{4})\\d{3}",,,,"912345678",,,[9]],[,,"80[0-79]\\d{6}|800\\d{5}",,,,"800123456",,,[8,9]],[,,"20(?:[013-9]\\d\\d|2)\\d{4}",,,,"203123456",,,[7,9]],[,,,,,,,,,[-1]],[,,"99\\d{7}",,,,"990123456",,,[9]],[,,"7010(?:[0-2679]\\d|3[0-7]|8[0-5])\\d{5}|70\\d{8}",,,,"7012345678",,,[10,11]],"TW",886,"0(?:0[25-79]|19)","0","#",,"0",,,,[[,"(\\d{2})(\\d)(\\d{4})","$1 $2 $3",["202"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[258]0"],"0$1"],[,"(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["[23568]|4(?:0[02-48]|[1-47-9])|7[1-9]","[23568]|4(?:0[2-48]|[1-47-9])|(?:400|7)[1-9]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4,5})","$1 $2 $3",["7"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"50[0-46-9]\\d{6}",,,,"500123456",,,[9]],,,[,,,,,,,,,[-1]]],TZ:[,[,,"(?:[25-8]\\d|41|90)\\d{7}",,,,,,,[9]],[,,"2[2-8]\\d{7}",,,,"222345678"],[,,"(?:6[125-9]|7[13-9])\\d{7}",,,,"621234567"],[,,"80[08]\\d{6}",,,,"800123456"],[,,"90\\d{7}",,,,"900123456"],[,,"8(?:40|6[01])\\d{6}",,,,"840123456"],[,,,,,,,,,[-1]],[,,"41\\d{7}",,,,"412345678"],"TZ",255,"00[056]","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[24]"],"0$1"],[,"(\\d{2})(\\d{7})","$1 $2",["5"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[67]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,"(?:8(?:[04]0|6[01])|90\\d)\\d{6}"],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],UA:[,[,,"[89]\\d{9}|[3-9]\\d{8}",,,,,,,[9,10],[5,6,7]],[,,"(?:3[1-8]|4[13-8]|5[1-7]|6[12459])\\d{7}",,,,"311234567",,,[9],[5,6,7]],[,,"(?:39|50|6[36-8]|7[1-357]|9[1-9])\\d{7}",,,,"501234567",,,[9]],[,,"800[1-8]\\d{5,6}",,,,"800123456"],[,,"900[239]\\d{5,6}",,,,"900212345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"89[1-579]\\d{6}",,,,"891234567",,,[9]],"UA",380,"00","0",,,"0",,"0~0",,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6[12][29]|(?:3[1-8]|4[136-8]|5[12457]|6[49])2|(?:56|65)[24]","6[12][29]|(?:35|4[1378]|5[12457]|6[49])2|(?:56|65)[24]|(?:3[1-46-8]|46)2[013-9]"],"0$1"],[,"(\\d{4})(\\d{5})","$1 $2",["3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6[0135689]|7[4-6])|6(?:[12][3-7]|[459])","3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6(?:[015689]|3[02389])|7[4-6])|6(?:[12][3-7]|[459])"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3-7]|89|9[1-9]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],UG:[,[,,"800\\d{6}|(?:[29]0|[347]\\d)\\d{7}",,,,,,,[9],[5,6,7]],[,,"20(?:(?:240|30[67])\\d|6(?:00[0-2]|30[0-4]))\\d{3}|(?:20(?:[017]\\d|2[5-9]|3[1-4]|5[0-4]|6[15-9])|[34]\\d{3})\\d{5}",,,,"312345678",,,,[5,6,7]],[,,"72(?:[48]0|6[01])\\d{5}|7(?:[015-8]\\d|20|36|4[0-5]|9[89])\\d{6}",,,,"712345678"],[,,"800[1-3]\\d{5}",,,,"800123456"],[,,"90[1-3]\\d{6}",,,,"901123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"UG",256,"00[057]","0",,,"0",,,,[[,"(\\d{4})(\\d{5})","$1 $2",["202","2024"],"0$1"],[,"(\\d{3})(\\d{6})","$1 $2",["[27-9]|4(?:6[45]|[7-9])"],"0$1"],[,"(\\d{2})(\\d{7})","$1 $2",["[34]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],US:[,[,,"[2-9]\\d{9}|3\\d{6}",,,,,,,[10],[7]],[,,"(?:3052(?:0[0-8]|[1-9]\\d)|5056(?:[0-35-9]\\d|4[468])|7302[0-4]\\d)\\d{4}|(?:305[3-9]|472[24]|505[2-57-9]|7306|983[2-47-9])\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-57-9]|3[1459]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-47-9]|1[02-9]|2[013569]|3[0-24679]|4[167]|5[0-2]|6[01349]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-47-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[0156]|5[01679]|6[0-279]|78|8[0-29])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[1247]|4[037]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[068]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-389]|8[04-69]))[2-9]\\d{6}",,,,"2015550123",,,,[7]],[,,"(?:3052(?:0[0-8]|[1-9]\\d)|5056(?:[0-35-9]\\d|4[468])|7302[0-4]\\d)\\d{4}|(?:305[3-9]|472[24]|505[2-57-9]|7306|983[2-47-9])\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-57-9]|3[1459]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-47-9]|1[02-9]|2[013569]|3[0-24679]|4[167]|5[0-2]|6[01349]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-47-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[0156]|5[01679]|6[0-279]|78|8[0-29])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[1247]|4[037]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[068]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-389]|8[04-69]))[2-9]\\d{6}",,,,"2015550123",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"900[2-9]\\d{6}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,"305209\\d{4}",,,,"3052090123",,,,[7]],"US",1,"011","1",,,"1",,,1,[[,"(\\d{3})(\\d{4})","$1-$2",["310"],,,1],[,"(\\d{3})(\\d{4})","$1-$2",["[24-9]|3(?:[02-9]|1[1-9])"]],[,"(\\d{3})(\\d{3})(\\d{4})","($1) $2-$3",["[2-9]"],,,1]],[[,"(\\d{3})(\\d{4})","$1-$2",["310"],,,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[2-9]"]]],[,,,,,,,,,[-1]],1,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],UY:[,[,,"0004\\d{2,9}|[1249]\\d{7}|(?:[49]\\d|80)\\d{5}",,,,,,,[6,7,8,9,10,11,12,13]],[,,"(?:1(?:770|9(?:20|87))|(?:2\\d|4[2-7])\\d\\d)\\d{4}",,,,"21231234",,,[8],[7]],[,,"9[1-9]\\d{6}",,,,"94231234",,,[8]],[,,"0004\\d{2,9}|(?:405|80[05])\\d{4}",,,,"8001234"],[,,"90[0-8]\\d{4}",,,,"9001234",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"UY",598,"0(?:0|1[3-9]\\d)","0"," int. ",,"0",,"00",,[[,"(\\d{3})(\\d{3,4})","$1 $2",["0"]],[,"(\\d{3})(\\d{4})","$1 $2",["[49]0|8"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"],[,"(\\d{4})(\\d{4})","$1 $2",["[124]"]],[,"(\\d{3})(\\d{3})(\\d{2,4})","$1 $2 $3",["0"]],[,"(\\d{3})(\\d{3})(\\d{3})(\\d{2,4})","$1 $2 $3 $4",["0"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],UZ:[,[,,"(?:20|33|[5-79]\\d|88)\\d{7}",,,,,,,[9]],[,,"(?:55\\d\\d|6(?:1(?:22|3[124]|4[1-4]|5[1-3578]|64)|2(?:22|3[0-57-9]|41)|5(?:22|3[3-7]|5[024-8])|6\\d\\d|7(?:[23]\\d|7[69])|9(?:22|4[1-8]|6[135]))|7(?:0(?:5[4-9]|6[0146]|7[124-6]|9[135-8])|(?:1[12]|[68]\\d)\\d|2(?:22|3[13-57-9]|4[1-3579]|5[14])|3(?:2\\d|3[1578]|4[1-35-7]|5[1-57]|61)|4(?:2\\d|3[1-579]|7[1-79])|5(?:22|5[1-9]|6[1457])|9(?:22|5[1-9])))\\d{5}",,,,"669050123"],[,,"(?:(?:[25]0|33|88|9[0-57-9])\\d{3}|6(?:1(?:2(?:2[01]|98)|35[0-4]|50\\d|61[23]|7(?:[01][017]|4\\d|55|9[5-9]))|2(?:(?:11|7\\d)\\d|2(?:[12]1|9[01379])|5(?:[126]\\d|3[0-4]))|5(?:19[01]|2(?:27|9[26])|(?:30|59|7\\d)\\d)|6(?:2(?:1[5-9]|2[0367]|38|41|52|60)|(?:3[79]|9[0-3])\\d|4(?:56|83)|7(?:[07]\\d|1[017]|3[07]|4[047]|5[057]|67|8[0178]|9[79]))|7(?:2(?:24|3[237]|4[5-9]|7[15-8])|5(?:7[12]|8[0589])|7(?:0\\d|[39][07])|9(?:0\\d|7[079]))|9(?:2(?:1[1267]|3[01]|5\\d|7[0-4])|(?:5[67]|7\\d)\\d|6(?:2[0-26]|8\\d)))|7(?:[07]\\d{3}|1(?:13[01]|6(?:0[47]|1[67]|66)|71[3-69]|98\\d)|2(?:2(?:2[79]|95)|3(?:2[5-9]|6[0-6])|57\\d|7(?:0\\d|1[17]|2[27]|3[37]|44|5[057]|66|88))|3(?:2(?:1[0-6]|21|3[469]|7[159])|(?:33|9[4-6])\\d|5(?:0[0-4]|5[579]|9\\d)|7(?:[0-3579]\\d|4[0467]|6[67]|8[078]))|4(?:2(?:29|5[0257]|6[0-7]|7[1-57])|5(?:1[0-4]|8\\d|9[5-9])|7(?:0\\d|1[024589]|2[0-27]|3[0137]|[46][07]|5[01]|7[5-9]|9[079])|9(?:7[015-9]|[89]\\d))|5(?:112|2(?:0\\d|2[29]|[49]4)|3[1568]\\d|52[6-9]|7(?:0[01578]|1[017]|[23]7|4[047]|[5-7]\\d|8[78]|9[079]))|9(?:22[128]|3(?:2[0-4]|7\\d)|57[02569]|7(?:2[05-9]|3[37]|4\\d|60|7[2579]|87|9[07]))))\\d{4}",,,,"912345678"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"UZ",998,"00",,,,,,,,[[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[235-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],VA:[,[,,"0\\d{5,10}|3[0-8]\\d{7,10}|55\\d{8}|8\\d{5}(?:\\d{2,4})?|(?:1\\d|39)\\d{7,8}",,,,,,,[6,7,8,9,10,11,12]],[,,"06698\\d{1,6}",,,,"0669812345",,,[6,7,8,9,10,11]],[,,"3[1-9]\\d{8}|3[2-9]\\d{7}",,,,"3123456789",,,[9,10]],[,,"80(?:0\\d{3}|3)\\d{3}",,,,"800123456",,,[6,9]],[,,"(?:0878\\d{3}|89(?:2\\d|3[04]|4(?:[0-4]|[5-9]\\d\\d)|5[0-4]))\\d\\d|(?:1(?:44|6[346])|89(?:38|5[5-9]|9))\\d{6}",,,,"899123456",,,[6,8,9,10]],[,,"84(?:[08]\\d{3}|[17])\\d{3}",,,,"848123456",,,[6,9]],[,,"1(?:78\\d|99)\\d{6}",,,,"1781234567",,,[9,10]],[,,"55\\d{8}",,,,"5512345678",,,[10]],"VA",39,"00",,,,,,,,,,[,,,,,,,,,[-1]],,"06698",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,"3[2-8]\\d{9,10}",,,,"33101234501",,,[11,12]]],VC:[,[,,"(?:[58]\\d\\d|784|900)\\d{7}",,,,,,,[10],[7]],[,,"784(?:266|3(?:6[6-9]|7\\d|8[0-6])|4(?:38|5[0-36-8]|8[0-8])|5(?:55|7[0-2]|93)|638|784)\\d{4}",,,,"7842661234",,,,[7]],[,,"784(?:4(?:3[0-5]|5[45]|89|9[0-8])|5(?:2[6-9]|3[0-4])|720)\\d{4}",,,,"7844301234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"900[2-9]\\d{6}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,"78451[0-2]\\d{4}",,,,"7845101234",,,,[7]],"VC",1,"011","1",,,"([2-7]\\d{6})$|1","784$1",,,,,[,,,,,,,,,[-1]],,"784",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],VE:[,[,,"[68]00\\d{7}|(?:[24]\\d|[59]0)\\d{8}",,,,,,,[10],[7]],[,,"(?:2(?:12|3[457-9]|[467]\\d|[58][1-9]|9[1-6])|[4-6]00)\\d{7}",,,,"2121234567",,,,[7]],[,,"4(?:1[24-8]|2[46])\\d{7}",,,,"4121234567"],[,,"800\\d{7}",,,,"8001234567"],[,,"90[01]\\d{7}",,,,"9001234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"VE",58,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{7})","$1-$2",["[24-689]"],"0$1","$CC $1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"501\\d{7}",,,,"5010123456",,,,[7]],,,[,,,,,,,,,[-1]]],VG:[,[,,"(?:284|[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"284(?:229|4(?:22|9[45])|774|8(?:52|6[459]))\\d{4}",,,,"2842291234",,,,[7]],[,,"284(?:245|3(?:0[0-3]|4[0-7]|68|9[34])|4(?:4[0-6]|68|9[69])|5(?:4[0-7]|68|9[69]))\\d{4}",,,,"2843001234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"900[2-9]\\d{6}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"VG",1,"011","1",,,"([2-578]\\d{6})$|1","284$1",,,,,[,,,,,,,,,[-1]],,"284",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],VI:[,[,,"[58]\\d{9}|(?:34|90)0\\d{7}",,,,,,,[10],[7]],[,,"340(?:2(?:0\\d|10|2[06-8]|4[49]|77)|3(?:32|44)|4(?:2[23]|44|7[34]|89)|5(?:1[34]|55)|6(?:2[56]|4[23]|77|9[023])|7(?:1[2-57-9]|2[57]|7\\d)|884|998)\\d{4}",,,,"3406421234",,,,[7]],[,,"340(?:2(?:0\\d|10|2[06-8]|4[49]|77)|3(?:32|44)|4(?:2[23]|44|7[34]|89)|5(?:1[34]|55)|6(?:2[56]|4[23]|77|9[023])|7(?:1[2-57-9]|2[57]|7\\d)|884|998)\\d{4}",,,,"3406421234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"900[2-9]\\d{6}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"VI",1,"011","1",,,"([2-9]\\d{6})$|1","340$1",,1,,,[,,,,,,,,,[-1]],,"340",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],VN:[,[,,"[12]\\d{9}|[135-9]\\d{8}|[16]\\d{7}|[16-8]\\d{6}",,,,,,,[7,8,9,10]],[,,"2(?:0[3-9]|1[0-689]|2[0-25-9]|[38][2-9]|4[2-8]|5[124-9]|6[0-39]|7[0-7]|9[0-4679])\\d{7}",,,,"2101234567",,,[10]],[,,"(?:5(?:2[238]|59)|89[6-9]|99[013-9])\\d{6}|(?:3\\d|5[1689]|7[06-9]|8[1-8]|9[0-8])\\d{7}",,,,"912345678",,,[9]],[,,"1800\\d{4,6}|12(?:0[13]|28)\\d{4}",,,,"1800123456",,,[8,9,10]],[,,"1900\\d{4,6}",,,,"1900123456",,,[8,9,10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"672\\d{6}",,,,"672012345",,,[9]],"VN",84,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[17]99"],"0$1",,1],[,"(\\d{2})(\\d{5})","$1 $2",["80"],"0$1",,1],[,"(\\d{3})(\\d{4,5})","$1 $2",["69"],"0$1",,1],[,"(\\d{4})(\\d{4,6})","$1 $2",["1"],,,1],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["6"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[357-9]"],"0$1",,1],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["2[48]"],"0$1",,1],[,"(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["2"],"0$1",,1]],[[,"(\\d{2})(\\d{5})","$1 $2",["80"],"0$1",,1],[,"(\\d{4})(\\d{4,6})","$1 $2",["1"],,,1],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["6"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[357-9]"],"0$1",,1],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["2[48]"],"0$1",,1],[,"(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["2"],"0$1",,1]],[,,,,,,,,,[-1]],,,[,,"[17]99\\d{4}|69\\d{5,6}",,,,,,,[7,8]],[,,"(?:[17]99|80\\d)\\d{4}|69\\d{5,6}",,,,"1992000",,,[7,8]],,,[,,,,,,,,,[-1]]],VU:[,[,,"[57-9]\\d{6}|(?:[238]\\d|48)\\d{3}",,,,,,,[5,7]],[,,"(?:38[0-8]|48[4-9])\\d\\d|(?:2[02-9]|3[4-7]|88)\\d{3}",,,,"22123",,,[5]],[,,"(?:[58]\\d|7[013-7])\\d{5}",,,,"5912345",,,[7]],[,,"81[18]\\d\\d",,,,"81123",,,[5]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"9(?:0[1-9]|1[01])\\d{4}",,,,"9010123",,,[7]],"VU",678,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[57-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"(?:3[03]|900\\d)\\d{3}",,,,"30123"],,,[,,,,,,,,,[-1]]],WF:[,[,,"(?:40|72)\\d{4}|8\\d{5}(?:\\d{3})?",,,,,,,[6,9]],[,,"72\\d{4}",,,,"721234",,,[6]],[,,"(?:72|8[23])\\d{4}",,,,"821234",,,[6]],[,,"80[0-5]\\d{6}",,,,"800012345",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"WF",681,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[478]"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,"[48]0\\d{4}",,,,"401234",,,[6]]],WS:[,[,,"(?:[2-6]|8\\d{5})\\d{4}|[78]\\d{6}|[68]\\d{5}",,,,,,,[5,6,7,10]],[,,"6[1-9]\\d{3}|(?:[2-5]|60)\\d{4}",,,,"22123",,,[5,6]],[,,"(?:7[1-35-7]|8(?:[3-7]|9\\d{3}))\\d{5}",,,,"7212345",,,[7,10]],[,,"800\\d{3}",,,,"800123",,,[6]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"WS",685,"0",,,,,,,,[[,"(\\d{5})","$1",["[2-5]|6[1-9]"]],[,"(\\d{3})(\\d{3,7})","$1 $2",["[68]"]],[,"(\\d{2})(\\d{5})","$1 $2",["7"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],XK:[,[,,"2\\d{7,8}|3\\d{7,11}|(?:4\\d\\d|[89]00)\\d{5}",,,,,,,[8,9,10,11,12]],[,,"38\\d{6,10}|(?:2[89]|39)(?:0\\d{5,6}|[1-9]\\d{5})",,,,"28012345"],[,,"4[3-9]\\d{6}",,,,"43201234",,,[8]],[,,"800\\d{5}",,,,"80001234",,,[8]],[,,"900\\d{5}",,,,"90001234",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"XK",383,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-4]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2|39"],"0$1"],[,"(\\d{2})(\\d{7,10})","$1 $2",["3"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],YE:[,[,,"(?:1|7\\d)\\d{7}|[1-7]\\d{6}",,,,,,,[7,8,9],[6]],[,,"78[0-7]\\d{4}|17\\d{6}|(?:[12][2-68]|3[2358]|4[2-58]|5[2-6]|6[3-58]|7[24-6])\\d{5}",,,,"1234567",,,[7,8],[6]],[,,"7[01378]\\d{7}",,,,"712345678",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"YE",967,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-6]|7(?:[24-6]|8[0-7])"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["7"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],YT:[,[,,"(?:80|9\\d)\\d{7}|(?:26|63)9\\d{6}",,,,,,,[9]],[,,"269(?:0[0-467]|15|5[0-4]|6\\d|[78]0)\\d{4}",,,,"269601234"],[,,"639(?:0[0-79]|1[019]|[267]\\d|3[09]|40|5[05-9]|9[04-79])\\d{4}",,,,"639012345"],[,,"80\\d{7}",,,,"801234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"9(?:(?:39|47)8[01]|769\\d)\\d{4}",,,,"939801234"],"YT",262,"00","0",,,"0",,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],ZA:[,[,,"[1-79]\\d{8}|8\\d{4,9}",,,,,,,[5,6,7,8,9,10]],[,,"(?:2(?:0330|4302)|52087)0\\d{3}|(?:1[0-8]|2[1-378]|3[1-69]|4\\d|5[1346-8])\\d{7}",,,,"101234567",,,[9]],[,,"(?:1(?:3492[0-25]|4495[0235]|549(?:20|5[01]))|4[34]492[01])\\d{3}|8[1-4]\\d{3,7}|(?:2[27]|47|54)4950\\d{3}|(?:1(?:049[2-4]|9[12]\\d\\d)|(?:6\\d|7[0-46-9])\\d{3}|8(?:5\\d{3}|7(?:08[67]|158|28[5-9]|310)))\\d{4}|(?:1[6-8]|28|3[2-69]|4[025689]|5[36-8])4920\\d{3}|(?:12|[2-5]1)492\\d{4}",,,,"711234567",,,[5,6,7,8,9]],[,,"80\\d{7}",,,,"801234567",,,[9]],[,,"(?:86[2-9]|9[0-2]\\d)\\d{6}",,,,"862345678",,,[9]],[,,"860\\d{6}",,,,"860123456",,,[9]],[,,,,,,,,,[-1]],[,,"87(?:08[0-589]|15[0-79]|28[0-4]|31[1-9])\\d{4}|87(?:[02][0-79]|1[0-46-9]|3[02-9]|[4-9]\\d)\\d{5}",,,,"871234567",,,[9]],"ZA",27,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3,4})","$1 $2",["8[1-4]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["8[1-4]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["860"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-9]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"861\\d{6,7}",,,,"861123456",,,[9,10]],,,[,,,,,,,,,[-1]]],ZM:[,[,,"800\\d{6}|(?:21|63|[79]\\d)\\d{7}",,,,,,,[9],[6]],[,,"21[1-8]\\d{6}",,,,"211234567",,,,[6]],[,,"(?:7[5-79]|9[5-8])\\d{7}",,,,"955123456"],[,,"800\\d{6}",,,,"800123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"63\\d{7}",,,,"630123456"],"ZM",260,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3})","$1 $2",["[1-9]"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[28]"],"0$1"],[,"(\\d{2})(\\d{7})","$1 $2",["[79]"],"0$1"]],[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[28]"],"0$1"],[,"(\\d{2})(\\d{7})","$1 $2",["[79]"],"0$1"]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],ZW:[,[,,"2(?:[0-57-9]\\d{6,8}|6[0-24-9]\\d{6,7})|[38]\\d{9}|[35-8]\\d{8}|[3-6]\\d{7}|[1-689]\\d{6}|[1-3569]\\d{5}|[1356]\\d{4}",,,,,,,[5,6,7,8,9,10],[3,4]],[,,"(?:1(?:(?:3\\d|9)\\d|[4-8])|2(?:(?:(?:0(?:2[014]|5)|(?:2[0157]|31|84|9)\\d\\d|[56](?:[14]\\d\\d|20)|7(?:[089]|2[03]|[35]\\d\\d))\\d|4(?:2\\d\\d|8))\\d|1(?:2|[39]\\d{4}))|3(?:(?:123|(?:29\\d|92)\\d)\\d\\d|7(?:[19]|[56]\\d))|5(?:0|1[2-478]|26|[37]2|4(?:2\\d{3}|83)|5(?:25\\d\\d|[78])|[689]\\d)|6(?:(?:[16-8]21|28|52[013])\\d\\d|[39])|8(?:[1349]28|523)\\d\\d)\\d{3}|(?:4\\d\\d|9[2-9])\\d{4,5}|(?:(?:2(?:(?:(?:0|8[146])\\d|7[1-7])\\d|2(?:[278]\\d|92)|58(?:2\\d|3))|3(?:[26]|9\\d{3})|5(?:4\\d|5)\\d\\d)\\d|6(?:(?:(?:[0-246]|[78]\\d)\\d|37)\\d|5[2-8]))\\d\\d|(?:2(?:[569]\\d|8[2-57-9])|3(?:[013-59]\\d|8[37])|6[89]8)\\d{3}",,,,"1312345",,,,[3,4]],[,,"7(?:[1278]\\d|3[1-9])\\d{6}",,,,"712345678",,,[9]],[,,"80(?:[01]\\d|20|8[0-8])\\d{3}",,,,"8001234",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"86(?:1[12]|22|30|44|55|77|8[368])\\d{6}",,,,"8686123456",,,[10]],"ZW",263,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3,5})","$1 $2",["2(?:0[45]|2[278]|[49]8)|3(?:[09]8|17)|6(?:[29]8|37|75)|[23][78]|(?:33|5[15]|6[68])[78]"],"0$1"],[,"(\\d)(\\d{3})(\\d{2,4})","$1 $2 $3",["[49]"],"0$1"],[,"(\\d{3})(\\d{4})","$1 $2",["80"],"0$1"],[,"(\\d{2})(\\d{7})","$1 $2",["24|8[13-59]|(?:2[05-79]|39|5[45]|6[15-8])2","2(?:02[014]|4|[56]20|[79]2)|392|5(?:42|525)|6(?:[16-8]21|52[013])|8[13-59]"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:1[39]|2[0157]|[378]|[56][14])|3(?:12|29)","2(?:1[39]|2[0157]|[378]|[56][14])|3(?:123|29)"],"0$1"],[,"(\\d{4})(\\d{6})","$1 $2",["8"],"0$1"],[,"(\\d{2})(\\d{3,5})","$1 $2",["1|2(?:0[0-36-9]|12|29|[56])|3(?:1[0-689]|[24-6])|5(?:[0236-9]|1[2-4])|6(?:[013-59]|7[0-46-9])|(?:33|55|6[68])[0-69]|(?:29|3[09]|62)[0-79]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["29[013-9]|39|54"],"0$1"],[,"(\\d{4})(\\d{3,5})","$1 $2",["(?:25|54)8","258|5483"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],800:[,[,,"(?:00|[1-9]\\d)\\d{6}",,,,,,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:00|[1-9]\\d)\\d{6}",,,,"12345678"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"001",800,,,,,,,,1,[[,"(\\d{4})(\\d{4})","$1 $2",["\\d"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],808:[,[,,"[1-9]\\d{7}",,,,,,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"[1-9]\\d{7}",,,,"12345678"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"001",808,,,,,,,,1,[[,"(\\d{4})(\\d{4})","$1 $2",["[1-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],870:[,[,,"7\\d{11}|[35-7]\\d{8}",,,,,,,[9,12]],[,,,,,,,,,[-1]],[,,"(?:[356]|774[45])\\d{8}|7[6-8]\\d{7}",,,,"301234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"001",870,,,,,,,,,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[35-7]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],878:[,[,,"10\\d{10}",,,,,,,[12]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"10\\d{10}",,,,"101234567890"],"001",878,,,,,,,,1,[[,"(\\d{2})(\\d{5})(\\d{5})","$1 $2 $3",["1"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],881:[,[,,"6\\d{9}|[0-36-9]\\d{8}",,,,,,,[9,10]],[,,,,,,,,,[-1]],[,,"6\\d{9}|[0-36-9]\\d{8}",,,,"612345678"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"001",881,,,,,,,,,[[,"(\\d)(\\d{3})(\\d{5})","$1 $2 $3",["[0-37-9]"]],[,"(\\d)(\\d{3})(\\d{5,6})","$1 $2 $3",["6"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],882:[,[,,"[13]\\d{6}(?:\\d{2,5})?|[19]\\d{7}|(?:[25]\\d\\d|4)\\d{7}(?:\\d{2})?",,,,,,,[7,8,9,10,11,12]],[,,,,,,,,,[-1]],[,,"342\\d{4}|(?:337|49)\\d{6}|(?:3(?:2|47|7\\d{3})|50\\d{3})\\d{7}",,,,"3421234",,,[7,8,9,10,12]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"1(?:3(?:0[0347]|[13][0139]|2[035]|4[013568]|6[0459]|7[06]|8[15-8]|9[0689])\\d{4}|6\\d{5,10})|(?:345\\d|9[89])\\d{6}|(?:10|2(?:3|85\\d)|3(?:[15]|[69]\\d\\d)|4[15-8]|51)\\d{8}",,,,"390123456789"],"001",882,,,,,,,,,[[,"(\\d{2})(\\d{5})","$1 $2",["16|342"]],[,"(\\d{2})(\\d{6})","$1 $2",["49"]],[,"(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["1[36]|9"]],[,"(\\d{2})(\\d{4})(\\d{3})","$1 $2 $3",["3[23]"]],[,"(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["16"]],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|23|3(?:[15]|4[57])|4|51"]],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["34"]],[,"(\\d{2})(\\d{4,5})(\\d{5})","$1 $2 $3",["[1-35]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,"348[57]\\d{7}",,,,"34851234567",,,[11]]],883:[,[,,"(?:[1-4]\\d|51)\\d{6,10}",,,,,,,[8,9,10,11,12]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:2(?:00\\d\\d|10)|(?:370[1-9]|51\\d0)\\d)\\d{7}|51(?:00\\d{5}|[24-9]0\\d{4,7})|(?:1[0-79]|2[24-689]|3[02-689]|4[0-4])0\\d{5,9}",,,,"510012345"],"001",883,,,,,,,,1,[[,"(\\d{3})(\\d{3})(\\d{2,8})","$1 $2 $3",["[14]|2[24-689]|3[02-689]|51[24-9]"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["510"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["21"]],[,"(\\d{4})(\\d{4})(\\d{4})","$1 $2 $3",["51[13]"]],[,"(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[235]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],888:[,[,,"\\d{11}",,,,,,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"001",888,,,,,,,,1,[[,"(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"\\d{11}",,,,"12345678901"],,,[,,,,,,,,,[-1]]],979:[,[,,"[1359]\\d{8}",,,,,,,[9],[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"[1359]\\d{8}",,,,"123456789",,,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"001",979,,,,,,,,1,[[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[1359]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]]};function A(){this.g={}}A.h=void 0,A.g=function(){return A.h?A.h:A.h=new A};var p1={0:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9","\uFF10":"0","\uFF11":"1","\uFF12":"2","\uFF13":"3","\uFF14":"4","\uFF15":"5","\uFF16":"6","\uFF17":"7","\uFF18":"8","\uFF19":"9","\u0660":"0","\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u06F0":"0","\u06F1":"1","\u06F2":"2","\u06F3":"3","\u06F4":"4","\u06F5":"5","\u06F6":"6","\u06F7":"7","\u06F8":"8","\u06F9":"9"},m2={0:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9","+":"+","*":"*","#":"#"},C2={0:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9","\uFF10":"0","\uFF11":"1","\uFF12":"2","\uFF13":"3","\uFF14":"4","\uFF15":"5","\uFF16":"6","\uFF17":"7","\uFF18":"8","\uFF19":"9","\u0660":"0","\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u06F0":"0","\u06F1":"1","\u06F2":"2","\u06F3":"3","\u06F4":"4","\u06F5":"5","\u06F6":"6","\u06F7":"7","\u06F8":"8","\u06F9":"9",A:"2",B:"2",C:"2",D:"3",E:"3",F:"3",G:"4",H:"4",I:"4",J:"5",K:"5",L:"5",M:"6",N:"6",O:"6",P:"7",Q:"7",R:"7",S:"7",T:"8",U:"8",V:"8",W:"9",X:"9",Y:"9",Z:"9"},y2=RegExp("[+\uFF0B]+"),q=RegExp("^[+\uFF0B]+"),N1=RegExp("([0-9\uFF10-\uFF19\u0660-\u0669\u06F0-\u06F9])"),v2=RegExp("[+\uFF0B0-9\uFF10-\uFF19\u0660-\u0669\u06F0-\u06F9]"),I2=/[\\\/] *x/,b2=RegExp("[^0-9\uFF10-\uFF19\u0660-\u0669\u06F0-\u06F9A-Za-z#]+$"),_2=/(?:.*?[A-Za-z]){3}.*/,S2=RegExp("^\\+([0-9\uFF10-\uFF19\u0660-\u0669\u06F0-\u06F9]|[\\-\\.\\(\\)]?)*[0-9\uFF10-\uFF19\u0660-\u0669\u06F0-\u06F9]([0-9\uFF10-\uFF19\u0660-\u0669\u06F0-\u06F9]|[\\-\\.\\(\\)]?)*$"),w2=RegExp("^([A-Za-z0-9\uFF10-\uFF19\u0660-\u0669\u06F0-\u06F9]+((\\-)*[A-Za-z0-9\uFF10-\uFF19\u0660-\u0669\u06F0-\u06F9])*\\.)*[A-Za-z]+((\\-)*[A-Za-z0-9\uFF10-\uFF19\u0660-\u0669\u06F0-\u06F9])*\\.?$");function W(d){return"([0-9\uFF10-\uFF19\u0660-\u0669\u06F0-\u06F9]{1,"+d+"})"}function M1(){return";ext="+W("20")+"|[ \xA0\\t,]*(?:e?xt(?:ensi(?:o\u0301?|\xF3))?n?|\uFF45?\uFF58\uFF54\uFF4E?|\u0434\u043E\u0431|anexo)[:\\.\uFF0E]?[ \xA0\\t,-]*"+(W("20")+"#?|[ \xA0\\t,]*(?:[x\uFF58#\uFF03~\uFF5E]|int|\uFF49\uFF4E\uFF54)[:\\.\uFF0E]?[ \xA0\\t,-]*")+(W("9")+"#?|[- ]+")+(W("6")+"#|[ \xA0\\t]*(?:,{2}|;)[:\\.\uFF0E]?[ \xA0\\t,-]*")+(W("15")+"#?|[ \xA0\\t]*(?:,)+[:\\.\uFF0E]?[ \xA0\\t,-]*")+(W("9")+"#?")}var D1=new RegExp("(?:"+M1()+")$","i"),T2=new RegExp("^[0-9\uFF10-\uFF19\u0660-\u0669\u06F0-\u06F9]{2}$|^[+\uFF0B]*(?:[-x\u2010-\u2015\u2212\u30FC\uFF0D-\uFF0F \xA0\xAD\u200B\u2060\u3000()\uFF08\uFF09\uFF3B\uFF3D.\\[\\]/~\u2053\u223C\uFF5E*]*[0-9\uFF10-\uFF19\u0660-\u0669\u06F0-\u06F9]){3,}[-x\u2010-\u2015\u2212\u30FC\uFF0D-\uFF0F \xA0\xAD\u200B\u2060\u3000()\uFF08\uFF09\uFF3B\uFF3D.\\[\\]/~\u2053\u223C\uFF5E*A-Za-z0-9\uFF10-\uFF19\u0660-\u0669\u06F0-\u06F9]*(?:"+M1()+")?$","i"),L2=/(\$\d)/,E2=/^\(?\$1\)?$/;function x1(d){return 2>d.length?!1:B(T2,d)}function P1(d){return B(_2,d)?r1(d,C2):r1(d,p1)}function R1(d){var t=P1(d.toString());x(d),d.g(t)}function k1(d){return d!=null&&(H(d,9)!=1||N(d,9)[0]!=-1)}function r1(d,t){for(var e=new T,i,s=d.length,o=0;o<s;++o)i=d.charAt(o),i=t[i.toUpperCase()],i!=null&&e.g(i);return e.toString()}function O1(d){return d.length==0||E2.test(d)}function s1(d){return d!=null&&isNaN(d)&&d.toUpperCase()in A1}A.prototype.format=function(d,t){if(c(d,2)==0&&D(d,5)){var e=v(d,5);if(0<e.length)return e}e=v(d,1);var i=Q(d);if(t==0)return B1(e,0,i,"");if(!(e in J))return i;var s=X(this,e,d1(e));d=D(d,3)&&c(d,3).length!=0?t==3?";ext="+c(d,3):D(s,13)?c(s,13)+v(d,3):" ext. "+v(d,3):"";d:{s=N(s,20).length==0||t==2?N(s,19):N(s,20);for(var o,u=s.length,h=0;h<u;++h){o=s[h];var f=H(o,3);if((f==0||i.search(c(o,3,f-1))==0)&&(f=new RegExp(c(o,1)),B(f,i))){s=o;break d}}s=null}return s!=null&&(u=s,s=v(u,2),o=new RegExp(c(u,1)),v(u,5),u=v(u,4),i=t==2&&u!=null&&0<u.length?i.replace(o,s.replace(L2,u)):i.replace(o,s),t==3&&(i=i.replace(RegExp("^[-x\u2010-\u2015\u2212\u30FC\uFF0D-\uFF0F \xA0\xAD\u200B\u2060\u3000()\uFF08\uFF09\uFF3B\uFF3D.\\[\\]/~\u2053\u223C\uFF5E]+"),""),i=i.replace(RegExp("[-x\u2010-\u2015\u2212\u30FC\uFF0D-\uFF0F \xA0\xAD\u200B\u2060\u3000()\uFF08\uFF09\uFF3B\uFF3D.\\[\\]/~\u2053\u223C\uFF5E]+","g"),"-"))),B1(e,t,i,d)};function X(d,t,e){return e=="001"?F(d,""+t):F(d,e)}function Q(d){if(!D(d,2))return"";var t=""+c(d,2);return D(d,4)&&c(d,4)&&0<v(d,8)?Array(v(d,8)+1).join("0")+t:t}function B1(d,t,e,i){switch(t){case 0:return"+"+d+e+i;case 1:return"+"+d+" "+e+i;case 3:return"tel:+"+d+"-"+e+i;default:return e+i}}function o1(d,t){switch(t){case 4:return c(d,5);case 3:return c(d,4);case 1:return c(d,3);case 0:case 2:return c(d,2);case 5:return c(d,6);case 6:return c(d,8);case 7:return c(d,7);case 8:return c(d,21);case 9:return c(d,25);case 10:return c(d,28);default:return c(d,1)}}function g1(d,t){return k(d,c(t,1))?k(d,c(t,5))?4:k(d,c(t,4))?3:k(d,c(t,6))?5:k(d,c(t,8))?6:k(d,c(t,7))?7:k(d,c(t,21))?8:k(d,c(t,25))?9:k(d,c(t,28))?10:k(d,c(t,2))?c(t,18)||k(d,c(t,3))?2:0:!c(t,18)&&k(d,c(t,3))?1:-1:-1}function F(d,t){if(t==null)return null;t=t.toUpperCase();var e=d.g[t];if(e==null){if(e=A1[t],e==null)return null;e=new Y().g(V.m(),e),d.g[t]=e}return e}function k(d,t){var e=d.length;return 0<H(t,9)&&N(t,9).indexOf(e)==-1?!1:B(v(t,2),d)}function G1(d,t){if(t==null)return null;var e=v(t,1);if(e=J[e],e==null)d=null;else if(e.length==1)d=e[0];else d:{t=Q(t);for(var i,s=e.length,o=0;o<s;o++){i=e[o];var u=F(d,i);if(D(u,23)){if(t.search(c(u,23))==0){d=i;break d}}else if(g1(t,u)!=-1){d=i;break d}}d=null}return d}function d1(d){return d=J[d],d==null?"ZZ":d[0]}function H1(d,t){if(d=F(d,t),d==null)throw Error("Invalid region code: "+t);return v(d,10)}function u1(d,t,e,i){var s=o1(e,i),o=H(s,9)==0?N(c(e,1),9):N(s,9);if(s=N(s,10),i==2)if(k1(o1(e,0)))d=o1(e,1),k1(d)&&(o=o.concat(H(d,9)==0?N(c(e,1),9):N(d,9)),o.sort(),s.length==0?s=N(d,10):(s=s.concat(N(d,10)),s.sort()));else return u1(d,t,e,1);return o[0]==-1?5:(t=t.length,-1<s.indexOf(t)?4:(e=o[0],e==t?0:e>t?2:o[o.length-1]<t?3:-1<o.indexOf(t,1)?0:5))}function Z(d,t,e){var i=Q(t);return t=v(t,1),t in J?(t=X(d,t,d1(t)),u1(d,i,t,e)):1}function U1(d,t){if(d=d.toString(),d.length==0||d.charAt(0)=="0")return 0;for(var e,i=d.length,s=1;3>=s&&s<=i;++s)if(e=parseInt(d.substring(0,s),10),e in J)return t.g(d.substring(s)),e;return 0}function F1(d,t,e,i,s,o){if(t.length==0)return 0;t=new T(t);var u;e!=null&&(u=c(e,11)),u==null&&(u="NonMatch");var h=t.toString();if(h.length==0)u=20;else if(q.test(h))h=h.replace(q,""),x(t),t.g(P1(h)),u=1;else{if(h=new RegExp(u),R1(t),u=t.toString(),u.search(h)==0){h=u.match(h)[0].length;var f=u.substring(h).match(N1);f&&f[1]!=null&&0<f[1].length&&r1(f[1],p1)=="0"?u=!1:(x(t),t.g(u.substring(h)),u=!0)}else u=!1;u=u?5:20}if(s&&E(o,6,u),u!=20){if(2>=t.h.length)throw Error("Phone number too short after IDD");if(d=U1(t,i),d!=0)return E(o,1,d),d;throw Error("Invalid country calling code")}return e!=null&&(u=v(e,10),h=""+u,f=t.toString(),f.lastIndexOf(h,0)==0&&(h=new T(f.substring(h.length)),f=c(e,1),f=new RegExp(v(f,2)),K1(h,e,null),h=h.toString(),!B(f,t.toString())&&B(f,h)||u1(d,t.toString(),e,-1)==3))?(i.g(h),s&&E(o,6,10),E(o,1,u),u):(E(o,1,0),0)}function K1(d,t,e){var i=d.toString(),s=i.length,o=c(t,15);if(s!=0&&o!=null&&o.length!=0){var u=new RegExp("^(?:"+o+")");if(s=u.exec(i)){o=new RegExp(v(c(t,1),2));var h=B(o,i),f=s.length-1;t=c(t,16),t==null||t.length==0||s[f]==null||s[f].length==0?(!h||B(o,i.substring(s[0].length)))&&(e!=null&&0<f&&s[f]!=null&&e.g(s[1]),d.set(i.substring(s[0].length))):(i=i.replace(u,t),(!h||B(o,i))&&(e!=null&&0<f&&e.g(s[1]),d.set(i)))}}}function z(d,t,e){if(!s1(e)&&0<t.length&&t.charAt(0)!="+")throw Error("Invalid country calling code");return j1(d,t,e,!0)}function j1(d,t,e,i){if(t==null)throw Error("The string supplied did not seem to be a phone number");if(250<t.length)throw Error("The string supplied is too long to be a phone number");var s=new T,o=t.indexOf(";phone-context=");if(o===-1)o=null;else if(o+=15,o>=t.length)o="";else{var u=t.indexOf(";",o);o=u!==-1?t.substring(o,u):t.substring(o)}var h=o;if(h==null?u=!0:h.length===0?u=!1:(u=S2.exec(h),h=w2.exec(h),u=u!==null||h!==null),!u||(o!=null?(o.charAt(0)==="+"&&s.g(o),o=t.indexOf("tel:"),s.g(t.substring(0<=o?o+4:0,t.indexOf(";phone-context=")))):(o=s.g,u=t??"",h=u.search(v2),0<=h?(u=u.substring(h),u=u.replace(b2,""),h=u.search(I2),0<=h&&(u=u.substring(0,h))):u="",o.call(s,u)),o=s.toString(),u=o.indexOf(";isub="),0<u&&(x(s),s.g(o.substring(0,u))),!x1(s.toString())))throw Error("The string supplied did not seem to be a phone number");if(o=s.toString(),!(s1(e)||o!=null&&0<o.length&&q.test(o)))throw Error("Invalid country calling code");o=new U,i&&E(o,5,t);d:{if(t=s.toString(),u=t.search(D1),0<=u&&x1(t.substring(0,u))){h=t.match(D1);for(var f=h.length,G=1;G<f;++G)if(h[G]!=null&&0<h[G].length){x(s),s.g(t.substring(0,u)),t=h[G];break d}}t=""}0<t.length&&E(o,3,t),u=F(d,e),t=new T,h=0,f=s.toString();try{h=F1(d,f,u,t,i,o)}catch(m1){if(m1.message=="Invalid country calling code"&&q.test(f)){if(f=f.replace(q,""),h=F1(d,f,u,t,i,o),h==0)throw m1}else throw m1}if(h!=0?(s=d1(h),s!=e&&(u=X(d,h,s))):(R1(s),t.g(s.toString()),e!=null?(h=v(u,10),E(o,1,h)):i&&(delete o.h[6],o.g&&delete o.g[6])),2>t.h.length||(u!=null&&(e=new T,s=new T(t.toString()),K1(s,u,e),d=u1(d,s.toString(),u,-1),d!=2&&d!=4&&d!=5&&(t=s,i&&0<e.toString().length&&E(o,7,e.toString()))),i=t.toString(),d=i.length,2>d))throw Error("The string supplied is too short to be a phone number");if(17<d)throw Error("The string supplied is too long to be a phone number");if(1<i.length&&i.charAt(0)=="0"){for(E(o,4,!0),d=1;d<i.length-1&&i.charAt(d)=="0";)d++;d!=1&&E(o,8,d)}return E(o,2,parseInt(i,10)),o}function B(d,t){return!!((d=typeof d=="string"?t.match("^(?:"+d+")$"):t.match(d))&&d[0].length==t.length)}function A2(d){this.fa=RegExp("\u2008"),this.ja="",this.v=new T,this.da="",this.s=new T,this.ba=new T,this.u=!0,this.ea=this.ca=this.la=!1,this.ga=A.g(),this.$=0,this.h=new T,this.ha=!1,this.o="",this.g=new T,this.j=[],this.ka=d,this.l=W1(this,this.ka)}var V1=new V;E(V1,11,"NA");var N2=RegExp("^[-x\u2010-\u2015\u2212\u30FC\uFF0D-\uFF0F \xA0\xAD\u200B\u2060\u3000()\uFF08\uFF09\uFF3B\uFF3D.\\[\\]/~\u2053\u223C\uFF5E]*\\$1[-x\u2010-\u2015\u2212\u30FC\uFF0D-\uFF0F \xA0\xAD\u200B\u2060\u3000()\uFF08\uFF09\uFF3B\uFF3D.\\[\\]/~\u2053\u223C\uFF5E]*(\\$\\d[-x\u2010-\u2015\u2212\u30FC\uFF0D-\uFF0F \xA0\xAD\u200B\u2060\u3000()\uFF08\uFF09\uFF3B\uFF3D.\\[\\]/~\u2053\u223C\uFF5E]*)*$"),z1=/[- ]/;function W1(d,t){var e=d.ga;return t=s1(t)?H1(e,t):0,d=F(d.ga,d1(t)),d??V1}function Z1(d){for(var t=d.j.length,e=0;e<t;++e){var i=d.j[e],s=v(i,1);if(d.da==s)return!1;var o=d,u=i,h=v(u,1);x(o.v);var f=o;u=v(u,2);var G="999999999999999".match(h)[0];if(G.length<f.g.h.length?f="":(f=G.replace(new RegExp(h,"g"),u),f=f.replace(RegExp("9","g"),"\u2008")),0<f.length?(o.v.g(f),o=!0):o=!1,o)return d.da=s,d.ha=z1.test(c(i,4)),d.$=0,!0}return d.u=!1}function Y1(d,t){for(var e=[],i=t.length-3,s=d.j.length,o=0;o<s;++o){var u=d.j[o];H(u,3)==0?e.push(d.j[o]):(u=c(u,3,Math.min(i,H(u,3)-1)),t.search(u)==0&&e.push(d.j[o]))}d.j=e}function M2(d,t){d.s.g(t);var e=t;if(N1.test(e)||d.s.h.length==1&&y2.test(e)?(t=="+"?(e=t,d.ba.g(t)):(e=p1[t],d.ba.g(e),d.g.g(e)),t=e):(d.u=!1,d.la=!0),!d.u){if(!d.la){if(d2(d)){if(t2(d))return J1(d)}else if(0<d.o.length&&(t=d.g.toString(),x(d.g),d.g.g(d.o),d.g.g(t),t=d.h.toString(),e=t.lastIndexOf(d.o),x(d.h),d.h.g(t.substring(0,e))),d.o!=Q1(d))return d.h.g(" "),J1(d)}return d.s.toString()}switch(d.ba.h.length){case 0:case 1:case 2:return d.s.toString();case 3:if(d2(d))d.ea=!0;else return d.o=Q1(d),f1(d);default:return d.ea?(t2(d)&&(d.ea=!1),d.h.toString()+d.g.toString()):0<d.j.length?(t=e2(d,t),e=q1(d),0<e.length?e:(Y1(d,d.g.toString()),Z1(d)?X1(d):d.u?a1(d,t):d.s.toString())):f1(d)}}function J1(d){return d.u=!0,d.ea=!1,d.j=[],d.$=0,x(d.v),d.da="",f1(d)}function q1(d){for(var t=d.g.toString(),e=d.j.length,i=0;i<e;++i){var s=d.j[i],o=v(s,1);if(new RegExp("^(?:"+o+")$").test(t)&&(d.ha=z1.test(c(s,4)),s=t.replace(new RegExp(o,"g"),c(s,2)),s=a1(d,s),r1(s,m2)==d.ba))return s}return""}function a1(d,t){var e=d.h.h.length;return d.ha&&0<e&&d.h.toString().charAt(e-1)!=" "?d.h+" "+t:d.h+t}function f1(d){var t=d.g.toString();if(3<=t.length){for(var e=d.ca&&d.o.length==0&&0<H(d.l,20)?N(d.l,20):N(d.l,19),i=e.length,s=0;s<i;++s){var o=e[s];0<d.o.length&&O1(v(o,4))&&!c(o,6)&&!D(o,5)||(d.o.length!=0||d.ca||O1(v(o,4))||c(o,6))&&N2.test(v(o,2))&&d.j.push(o)}return Y1(d,t),t=q1(d),0<t.length?t:Z1(d)?X1(d):d.s.toString()}return a1(d,t)}function X1(d){var t=d.g.toString(),e=t.length;if(0<e){for(var i="",s=0;s<e;s++)i=e2(d,t.charAt(s));return d.u?a1(d,i):d.s.toString()}return d.h.toString()}function Q1(d){var t=d.g.toString(),e=0;if(c(d.l,10)!=1)var i=!1;else i=d.g.toString(),i=i.charAt(0)=="1"&&i.charAt(1)!="0"&&i.charAt(1)!="1";return i?(e=1,d.h.g("1").g(" "),d.ca=!0):D(d.l,15)&&(i=new RegExp("^(?:"+c(d.l,15)+")"),i=t.match(i),i!=null&&i[0]!=null&&0<i[0].length&&(d.ca=!0,e=i[0].length,d.h.g(t.substring(0,e)))),x(d.g),d.g.g(t.substring(e)),t.substring(0,e)}function d2(d){var t=d.ba.toString(),e=new RegExp("^(?:\\+|"+c(d.l,11)+")");return e=t.match(e),e!=null&&e[0]!=null&&0<e[0].length?(d.ca=!0,e=e[0].length,x(d.g),d.g.g(t.substring(e)),x(d.h),d.h.g(t.substring(0,e)),t.charAt(0)!="+"&&d.h.g(" "),!0):!1}function t2(d){if(d.g.h.length==0)return!1;var t=new T,e=U1(d.g,t);return e==0?!1:(x(d.g),d.g.g(t.toString()),t=d1(e),t=="001"?d.l=F(d.ga,""+e):t!=d.ka&&(d.l=W1(d,t)),d.h.g(""+e).g(" "),d.o="",!0)}function e2(d,t){var e=d.v.toString();if(0<=e.substring(d.$).search(d.fa)){var i=e.search(d.fa);return t=e.replace(d.fa,t),x(d.v),d.v.g(t),d.$=i,t.substring(0,d.$+1)}return d.j.length==1&&(d.u=!1),d.da="",d.s.toString()}let l1={FIXED_LINE:0,MOBILE:1,FIXED_LINE_OR_MOBILE:2,TOLL_FREE:3,PREMIUM_RATE:4,SHARED_COST:5,VOIP:6,PERSONAL_NUMBER:7,PAGER:8,UAN:9,VOICEMAIL:10,UNKNOWN:-1};n("intlTelInputUtilsTemp",{}),n("intlTelInputUtilsTemp.formatNumberAsYouType",(d,t)=>{try{let e=d.replace(/[^+0-9]/g,""),i=new A2(t);t="";for(let s=0;s<e.length;s++)i.ja=M2(i,e.charAt(s)),t=i.ja;return t}catch{return d}}),n("intlTelInputUtilsTemp.formatNumber",(d,t,e)=>{try{let s=A.g(),o=z(s,d,t);var i=Z(s,o,-1);return i==0||i==4?s.format(o,typeof e>"u"?0:e):d}catch{return d}}),n("intlTelInputUtilsTemp.getExampleNumber",(d,t,e,i)=>{try{let f=A.g();d:{var s=f;if(s1(d)){var o=o1(F(s,d),e);try{if(D(o,6)){var u=c(o,6),h=j1(s,u,d,!1);break d}}catch{}}h=null}return f.format(h,i?0:t?2:1)}catch{return""}}),n("intlTelInputUtilsTemp.getExtension",(d,t)=>{try{return c(z(A.g(),d,t),3)}catch{return""}}),n("intlTelInputUtilsTemp.getNumberType",(d,t)=>{try{let u=A.g(),h=z(u,d,t);var e=G1(u,h),i=X(u,v(h,1),e);if(i==null)var s=-1;else{var o=Q(h);s=g1(o,i)}return s}catch{return-99}}),n("intlTelInputUtilsTemp.getValidationError",(d,t)=>{try{let e=A.g(),i=z(e,d,t);return Z(e,i,-1)}catch(e){return e.message==="Invalid country calling code"?1:3>=d.length||e.message==="Phone number too short after IDD"||e.message==="The string supplied is too short to be a phone number"?2:e.message==="The string supplied is too long to be a phone number"?3:-99}}),n("intlTelInputUtilsTemp.isValidNumber",(d,t)=>{try{let f=A.g();var e=z(f,d,t),i=G1(f,e);d=f;var s=v(e,1),o=X(d,s,i);if(o==null||i!="001"&&s!=H1(d,i))var u=!1;else{var h=Q(e);u=g1(h,o)!=-1}return u}catch{return!1}}),n("intlTelInputUtilsTemp.isPossibleNumber",(d,t,e)=>{try{let i=A.g(),s=z(i,d,t);if(e){let o=Z(i,s,l1[e])===0;if(e==="FIXED_LINE_OR_MOBILE"){let u=Z(i,s,l1.MOBILE)===0,h=Z(i,s,l1.FIXED_LINE)===0;return u||h||o}return o}return Z(i,s,-1)===0}catch{return!1}}),n("intlTelInputUtilsTemp.getCoreNumber",(d,t)=>{try{return c(z(A.g(),d,t),2).toString()}catch{return""}}),n("intlTelInputUtilsTemp.numberFormat",{E164:0,INTERNATIONAL:1,NATIONAL:2,RFC3966:3}),n("intlTelInputUtilsTemp.numberType",l1),n("intlTelInputUtilsTemp.validationError",{IS_POSSIBLE:0,INVALID_COUNTRY_CODE:1,TOO_SHORT:2,TOO_LONG:3,IS_POSSIBLE_LOCAL_ONLY:4,INVALID_LENGTH:5})})();var F2=window.intlTelInputUtilsTemp;delete window.intlTelInputUtilsTemp;var a2=F2;I1.utils=a2;var K2=I1;return O2(j2)})();return factoryOutput.default}));!function(){"use strict";for(var t=0,e=["webkit","moz"],i=0;i<e.length&&!window.requestAnimationFrame;++i)window.requestAnimationFrame=window[e[i]+"RequestAnimationFrame"],window.cancelAnimationFrame=window[e[i]+"CancelAnimationFrame"]||window[e[i]+"CancelRequestAnimationFrame"];window.requestAnimationFrame||(window.requestAnimationFrame=function(e,i){var r=(new Date).getTime(),n=Math.max(0,16-(r-t)),s=window.setTimeout((function(){e(r+n)}),n);return t=r+n,s}),window.cancelAnimationFrame||(window.cancelAnimationFrame=function(t){clearTimeout(t)})}(),function(t,e){"use strict";if("IntersectionObserver"in t&&"IntersectionObserverEntry"in t&&"intersectionRatio"in t.IntersectionObserverEntry.prototype)"isIntersecting"in t.IntersectionObserverEntry.prototype||Object.defineProperty(t.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});else{var i=[];n.prototype.THROTTLE_TIMEOUT=100,n.prototype.POLL_INTERVAL=null,n.prototype.USE_MUTATION_OBSERVER=!0,n.prototype.observe=function(t){if(!this._observationTargets.some((function(e){return e.element==t}))){if(!t||1!=t.nodeType)throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:t,entry:null}),this._monitorIntersections(),this._checkForIntersections()}},n.prototype.unobserve=function(t){this._observationTargets=this._observationTargets.filter((function(e){return e.element!=t})),this._observationTargets.length||(this._unmonitorIntersections(),this._unregisterInstance())},n.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorIntersections(),this._unregisterInstance()},n.prototype.takeRecords=function(){var t=this._queuedEntries.slice();return this._queuedEntries=[],t},n.prototype._initThresholds=function(t){var e=t||[0];return Array.isArray(e)||(e=[e]),e.sort().filter((function(t,e,i){if("number"!=typeof t||isNaN(t)||t<0||t>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return t!==i[e-1]}))},n.prototype._parseRootMargin=function(t){var e=(t||"0px").split(/\s+/).map((function(t){var e=/^(-?\d*\.?\d+)(px|%)$/.exec(t);if(!e)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(e[1]),unit:e[2]}}));return e[1]=e[1]||e[0],e[2]=e[2]||e[0],e[3]=e[3]||e[1],e},n.prototype._monitorIntersections=function(){this._monitoringIntersections||(this._monitoringIntersections=!0,this.POLL_INTERVAL?this._monitoringInterval=setInterval(this._checkForIntersections,this.POLL_INTERVAL):(s(t,"resize",this._checkForIntersections,!0),s(e,"scroll",this._checkForIntersections,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in t&&(this._domObserver=new MutationObserver(this._checkForIntersections),this._domObserver.observe(e,{attributes:!0,childList:!0,characterData:!0,subtree:!0}))))},n.prototype._unmonitorIntersections=function(){this._monitoringIntersections&&(this._monitoringIntersections=!1,clearInterval(this._monitoringInterval),this._monitoringInterval=null,o(t,"resize",this._checkForIntersections,!0),o(e,"scroll",this._checkForIntersections,!0),this._domObserver&&(this._domObserver.disconnect(),this._domObserver=null))},n.prototype._checkForIntersections=function(){var e=this._rootIsInDom(),i=e?this._getRootRect():{top:0,bottom:0,left:0,right:0,width:0,height:0};this._observationTargets.forEach((function(n){var s=n.element,o=a(s),l=this._rootContainsTarget(s),u=n.entry,c=e&&l&&this._computeTargetAndRootIntersection(s,i),h=n.entry=new r({time:t.performance&&performance.now&&performance.now(),target:s,boundingClientRect:o,rootBounds:i,intersectionRect:c});u?e&&l?this._hasCrossedThreshold(u,h)&&this._queuedEntries.push(h):u&&u.isIntersecting&&this._queuedEntries.push(h):this._queuedEntries.push(h)}),this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)},n.prototype._computeTargetAndRootIntersection=function(i,r){if("none"!=t.getComputedStyle(i).display){for(var n,s,o,l,c,h,f,p,d=a(i),_=u(i),m=!1;!m;){var g=null,v=1==_.nodeType?t.getComputedStyle(_):{};if("none"==v.display)return;if(_==this.root||_==e?(m=!0,g=r):_!=e.body&&_!=e.documentElement&&"visible"!=v.overflow&&(g=a(_)),g&&(n=g,s=d,o=void 0,l=void 0,c=void 0,h=void 0,f=void 0,p=void 0,o=Math.max(n.top,s.top),l=Math.min(n.bottom,s.bottom),c=Math.max(n.left,s.left),h=Math.min(n.right,s.right),p=l-o,!(d=(f=h-c)>=0&&p>=0&&{top:o,bottom:l,left:c,right:h,width:f,height:p})))break;_=u(_)}return d}},n.prototype._getRootRect=function(){var t;if(this.root)t=a(this.root);else{var i=e.documentElement,r=e.body;t={top:0,left:0,right:i.clientWidth||r.clientWidth,width:i.clientWidth||r.clientWidth,bottom:i.clientHeight||r.clientHeight,height:i.clientHeight||r.clientHeight}}return this._expandRectByRootMargin(t)},n.prototype._expandRectByRootMargin=function(t){var e=this._rootMarginValues.map((function(e,i){return"px"==e.unit?e.value:e.value*(i%2?t.width:t.height)/100})),i={top:t.top-e[0],right:t.right+e[1],bottom:t.bottom+e[2],left:t.left-e[3]};return i.width=i.right-i.left,i.height=i.bottom-i.top,i},n.prototype._hasCrossedThreshold=function(t,e){var i=t&&t.isIntersecting?t.intersectionRatio||0:-1,r=e.isIntersecting?e.intersectionRatio||0:-1;if(i!==r)for(var n=0;n<this.thresholds.length;n++){var s=this.thresholds[n];if(s==i||s==r||s<i!=s<r)return!0}},n.prototype._rootIsInDom=function(){return!this.root||l(e,this.root)},n.prototype._rootContainsTarget=function(t){return l(this.root||e,t)},n.prototype._registerInstance=function(){i.indexOf(this)<0&&i.push(this)},n.prototype._unregisterInstance=function(){var t=i.indexOf(this);-1!=t&&i.splice(t,1)},t.IntersectionObserver=n,t.IntersectionObserverEntry=r}function r(t){this.time=t.time,this.target=t.target,this.rootBounds=t.rootBounds,this.boundingClientRect=t.boundingClientRect,this.intersectionRect=t.intersectionRect||{top:0,bottom:0,left:0,right:0,width:0,height:0},this.isIntersecting=!!t.intersectionRect;var e=this.boundingClientRect,i=e.width*e.height,r=this.intersectionRect,n=r.width*r.height;this.intersectionRatio=i?n/i:this.isIntersecting?1:0}function n(t,e){var i,r,n,s=e||{};if("function"!=typeof t)throw new Error("callback must be a function");if(s.root&&1!=s.root.nodeType)throw new Error("root must be an Element");this._checkForIntersections=(i=this._checkForIntersections.bind(this),r=this.THROTTLE_TIMEOUT,n=null,function(){n||(n=setTimeout((function(){i(),n=null}),r))}),this._callback=t,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(s.rootMargin),this.thresholds=this._initThresholds(s.threshold),this.root=s.root||null,this.rootMargin=this._rootMarginValues.map((function(t){return t.value+t.unit})).join(" ")}function s(t,e,i,r){"function"==typeof t.addEventListener?t.addEventListener(e,i,r||!1):"function"==typeof t.attachEvent&&t.attachEvent("on"+e,i)}function o(t,e,i,r){"function"==typeof t.removeEventListener?t.removeEventListener(e,i,r||!1):"function"==typeof t.detatchEvent&&t.detatchEvent("on"+e,i)}function a(t){var e;try{e=t.getBoundingClientRect()}catch(t){}return e?(e.width&&e.height||(e={top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.right-e.left,height:e.bottom-e.top}),e):{top:0,bottom:0,left:0,right:0,width:0,height:0}}function l(t,e){for(var i=e;i;){if(i==t)return!0;i=u(i)}return!1}function u(t){var e=t.parentNode;return e&&11==e.nodeType&&e.host?e.host:e}}(window,document),Object.assign||Object.defineProperty(Object,"assign",{enumerable:!1,configurable:!0,writable:!0,value:function(t){"use strict";if(null==t)throw new TypeError("Cannot convert first argument to object");for(var e=Object(t),i=1;i<arguments.length;i++){var r=arguments[i];if(null!=r){r=Object(r);for(var n=Object.keys(Object(r)),s=0,o=n.length;s<o;s++){var a=n[s],l=Object.getOwnPropertyDescriptor(r,a);void 0!==l&&l.enumerable&&(e[a]=r[a])}}}return e}})/*! lozad.js - v1.14.0 - 2019-10-31
    * https://github.com/ApoorvSaxena/lozad.js
    * Copyright (c) 2019 Apoorv Saxena; Licensed MIT */,function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.lozad=e()}(this,(function(){"use strict";var t="undefined"!=typeof document&&document.documentMode,e={rootMargin:"0px",threshold:0,load:function(e){if("picture"===e.nodeName.toLowerCase()){var i=document.createElement("img");t&&e.getAttribute("data-iesrc")&&(i.src=e.getAttribute("data-iesrc")),e.getAttribute("data-alt")&&(i.alt=e.getAttribute("data-alt")),e.append(i)}if("video"===e.nodeName.toLowerCase()&&!e.getAttribute("data-src")&&e.children){for(var r=e.children,n=void 0,s=0;s<=r.length-1;s++)(n=r[s].getAttribute("data-src"))&&(r[s].src=n);e.load()}if(e.getAttribute("data-poster")&&(e.poster=e.getAttribute("data-poster")),e.getAttribute("data-src")&&(e.src=e.getAttribute("data-src")),e.getAttribute("data-srcset")&&e.setAttribute("srcset",e.getAttribute("data-srcset")),e.getAttribute("data-background-image"))e.style.backgroundImage="url('"+e.getAttribute("data-background-image").split(",").join("'),url('")+"')";else if(e.getAttribute("data-background-image-set")){var o=e.getAttribute("data-background-image-set").split(","),a=o[0].substr(0,o[0].indexOf(" "))||o[0];a=-1===a.indexOf("url(")?"url("+a+")":a,1===o.length?e.style.backgroundImage=a:e.setAttribute("style",(e.getAttribute("style")||"")+"background-image: "+a+"; background-image: -webkit-image-set("+o+"); background-image: image-set("+o+")")}e.getAttribute("data-toggle-class")&&e.classList.toggle(e.getAttribute("data-toggle-class"))},loaded:function(){}};function i(t){t.setAttribute("data-loaded",!0)}var r=function(t){return"true"===t.getAttribute("data-loaded")};return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:".lozad",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},s=Object.assign({},e,n),o=s.root,a=s.rootMargin,l=s.threshold,u=s.load,c=s.loaded,h=void 0;return"undefined"!=typeof window&&window.IntersectionObserver&&(h=new IntersectionObserver(function(t,e){return function(n,s){n.forEach((function(n){(n.intersectionRatio>0||n.isIntersecting)&&(s.unobserve(n.target),r(n.target)||(t(n.target),i(n.target),e(n.target)))}))}}(u,c),{root:o,rootMargin:a,threshold:l})),{observe:function(){for(var e=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document;return t instanceof Element?[t]:t instanceof NodeList?t:e.querySelectorAll(t)}(t,o),n=0;n<e.length;n++)r(e[n])||(h?h.observe(e[n]):(u(e[n]),i(e[n]),c(e[n])))},triggerLoad:function(t){r(t)||(u(t),i(t),c(t))},observer:h}}})),window.ut_global_wait=!1,function(t){var e,i,r=[],n=!1,s=!1,o={interval:100,force_process:!1,support_seamless_iframes:!1},a=t(window),l=!1,u=[];function c(){s=!1;for(var e=0,i=r.length;e<i;e++){var n=t(r[e]).filter((function(){return t(this).is(":appeared")}));if(n.trigger("appear",[n]),u[e]){var o=u[e].not(n);o.trigger("disappear",[o])}u[e]=n}}t.expr[":"].appeared=function(r){var n=t(r);if("undefined"==typeof preloader_settings||!preloader_settings.loader_active){if(!n.is(":visible"))return!1;if(1===n.data("ut-wait"))return n.data("ut-remove-wait")&&!wait_timer&&(s=n,wait_timer=setTimeout((function(){s.data("ut-wait",0),wait_timer=!1}),s.data("ut-remove-wait"))),!1;var s;if(window.ut_global_wait)return!1;if(n.hasClass("ut-element-revealer")&&1===n.parent(".ut-element-revealer-parent").length&&1===n.parent().parent(".ut-element-revealer-parent:not(.ut-element-revealer-in-back-parent):not(.ut-element-revealer-ready)").length)return!1;if(n.hasClass("ut-element-revealer")&&1===n.parent().closest(".ut-element-revealer-parent").length&&1===n.parent().parent().closest(".ut-element-revealer-parent:not(.ut-element-revealer-ready)").length)return!1;if(!n.hasClass("ut-element-revealer")&&1===n.closest(".ut-element-revealer-parent:not(.ut-element-revealer-ready)").not(this).length)return!1;var o=a.scrollLeft(),u=o+a.width(),c=a.scrollTop(),h=c+a.height(),f=n.offset(),p=f.left,d=f.top;if(l){var _=t(window.top).scrollTop(),m=_+t(window.top).height(),g=t(window.top).scrollLeft(),v=g+t(window.top).width(),y=i.top,w=y+e.height(),b=i.left,x=b+e.width();if(_>w||y>m||g>x||b>v)return!1;_>y&&(c+=_-y),w>m&&(h-=w-m),g>b&&(o+=g-b),x>v&&(u-=x-v)}return d+n.height()>=c&&d-(n.data("appear-top-offset")||0)<=h&&p+n.width()>=o&&p-(n.data("appear-left-offset")||0)<=u}},t.fn.extend({appear:function(a){var h=t.extend({},o,a||{}),f=this.selector||this;if(!n){var p=function(){s||(s=!0,setTimeout(c,h.interval))};h.support_seamless_iframes&&window.frameElement&&(e=t(window.frameElement),l="no"===e.attr("scrolling")||e.is("[seamless]")),l?(i=e.offset(),t(window.top).scroll(p).resize(p)):t(window).scroll(p).resize(p),n=!0}return h.force_process&&setTimeout(c,h.interval),function(t){r.push(t),u.push()}(f),t(f)}}),t.extend({force_appear:function(){return!!n&&(c(),!0)}})}("undefined"!=typeof module?require("jquery"):jQuery),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof exports?module.exports=t(require("jquery")):t(jQuery)}((function(t){var e,i,r,n=[],s=document,o=window,a=(t(o),s.documentElement),l=!1;function u(t){l=setTimeout((function(){t.data("ut-wait",0),l=!1}),t.data("ut-remove-wait"))}function c(){if(n.length&&("undefined"==typeof preloader_settings||!preloader_settings.loader_active)){var r,c,h,f=0,p=t.map(n,(function(t){var e=t.data.selector,i=t.$element;return e?i.find(e):i}));for(e=e||((h={height:o.innerHeight,width:o.innerWidth}).height||!(r=s.compatMode)&&t.support.boxModel||(h={height:(c="CSS1Compat"===r?a:s.body).clientHeight,width:c.clientWidth}),h),i=i||{top:o.pageYOffset||a.scrollTop||s.body.scrollTop};f<n.length;f++)if(t.contains(a,p[f][0])){var d=t(p[f]),_={height:d[0].offsetHeight,width:d[0].offsetWidth},m=d.offset(),g=d.data("appear-top-offset"),v=d.data("inview");if(d.is(":visible"))if(d.hasClass("ut-has-background-video"),1!==d.data("ut-wait")){if(!window.ut_global_wait){if(!i||!e)return;void 0!==g&&"full"===g&&_.height<e.height?m.top>=i.top&&m.top+_.height<=i.top+e.height?v||d.data("inview",!0).trigger("inview",[!0]):v&&d.data("inview",!1).trigger("inview",[!1]):(void 0===g||"none"!==g||v||(g=0),void 0===g||"auto"!==g||v||(g=.5*_.height),void 0===g||"almost"!==g||v||(g=.75*_.height),void 0===g||"partial"!==g||v||(g=.33*_.height),(void 0!==g&&"auto"===g&&v||void 0===g)&&(g=0),g=-Math.abs(g),m.top+_.height>=i.top&&m.top-(g||0)<=i.top+e.height?v||d.data("inview",!0).trigger("inview",[!0]):v&&d.data("inview",!1).trigger("inview",[!1]))}}else d.data("ut-remove-wait")&&!l&&u(d);else d.data("inview",!1).trigger("inview",[!1])}}}t.event.special.inview={add:function(e){n.push({data:e,$element:t(this),element:this}),!r&&n.length&&(r=setInterval(c,100))},remove:function(t){for(var e=0;e<n.length;e++){var i=n[e];if(i.element===this&&i.data.guid===t.guid){n.splice(e,1);break}}n.length||(clearInterval(r),r=null)}},t(o).on("scroll resize scrollstop",(function(){e=i=null}))})),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof exports?module.exports=t(require("jquery")):t(jQuery)}((function(t){var e,i="waitForImages",r=(e=new Image).srcset&&e.sizes;t.waitForImages={hasImageProperties:["backgroundImage","listStyleImage","borderImage","borderCornerImage","cursor"],hasImageAttributes:["srcset"]},t.expr.pseudos["has-src"]=function(e){return t(e).is('img[src][src!=""]')},t.expr.pseudos.uncached=function(e){return!!t(e).is(":has-src")&&!e.complete},t.fn.waitForImages=function(){var e,n,s,o,a=0,l=t.Deferred(),u=this,c=[],h=t.waitForImages.hasImageProperties||[],f=t.waitForImages.hasImageAttributes||[],p=/url\(\s*(['"]?)(.*?)\1\s*\)/g;if(t.isPlainObject(arguments[0])?(o=arguments[0].waitForAll,s=arguments[0].each,n=arguments[0].finished):1===arguments.length&&"boolean"===t.type(arguments[0])?o=arguments[0]:(n=arguments[0],s=arguments[1],o=arguments[2]),n=n||t.noop,s=s||t.noop,o=!!o,!t.isFunction(n)||!t.isFunction(s))throw new TypeError("An invalid callback was supplied.");return this.each((function(){var e=t(this);o?e.find("*").addBack().each((function(){var e=t(this);e.is("img:has-src")&&!e.is("[srcset]")&&c.push({src:e.attr("src"),element:e[0]}),t.each(h,(function(t,i){var r,n=e.css(i);if(!n)return!0;for(;r=p.exec(n);)c.push({src:r[2],element:e[0]})})),t.each(f,(function(t,i){if(!e.attr(i))return!0;c.push({src:e.attr("src"),srcset:e.attr("srcset"),element:e[0]})}))})):e.find("img:has-src").each((function(){c.push({src:this.src,element:this})}))})),e=c.length,a=0,0===e&&(n.call(u),l.resolveWith(u)),t.each(c,(function(o,c){var h=new Image,f="load."+i+" error."+i;t(h).one(f,(function i(r){var o=[a,e,"load"==r.type];if(a++,s.apply(c.element,o),l.notifyWith(c.element,o),t(this).off(f,i),a==e)return n.call(u[0]),l.resolveWith(u[0]),!1})),r&&c.srcset&&(h.srcset=c.srcset,h.sizes=c.sizes),h.src=c.src})),l.promise()}})),/*!
     * imagesLoaded PACKAGED v4.1.3
     * JavaScript is all like "You images are done yet or what?"
     * MIT License
     */
function(t,e){"function"==typeof define&&define.amd?(H,define("ev-emitter/ev-emitter",e)):"object"==typeof module&&module.exports?module.exports=e():t.EvEmitter=e()}("undefined"!=typeof window?window:this,(function(){function t(){}var e=t.prototype;return e.on=function(t,e){if(t&&e){var i=this._events=this._events||{},r=i[t]=i[t]||[];return-1==r.indexOf(e)&&r.push(e),this}},e.once=function(t,e){if(t&&e){this.on(t,e);var i=this._onceEvents=this._onceEvents||{};return(i[t]=i[t]||{})[e]=!0,this}},e.off=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){var r=i.indexOf(e);return-1!=r&&i.splice(r,1),this}},e.emitEvent=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){var r=0,n=i[r];e=e||[];for(var s=this._onceEvents&&this._onceEvents[t];n;){var o=s&&s[n];o&&(this.off(t,n),delete s[n]),n.apply(this,e),n=i[r+=o?0:1]}return this}},e.allOff=e.removeAllListeners=function(){delete this._events,delete this._onceEvents},t})),/*!
     * imagesLoaded v4.1.3
     * JavaScript is all like "You images are done yet or what?"
     * MIT License
     */
function(t,e){"use strict";"function"==typeof define&&define.amd?define(["ev-emitter/ev-emitter"],(function(i){return e(t,i)})):"object"==typeof module&&module.exports?module.exports=e(t,require("ev-emitter")):t.imagesLoaded=e(t,t.EvEmitter)}("undefined"!=typeof window?window:this,(function(t,e){var i=t.jQuery,r=t.console;function n(t,e){for(var i in e)t[i]=e[i];return t}function s(t,e,r){if(!(this instanceof s))return new s(t,e,r);"string"==typeof t&&(t=document.querySelectorAll(t)),this.elements=function(t){var e=[];if(Array.isArray(t))e=t;else if("number"==typeof t.length)for(var i=0;i<t.length;i++)e.push(t[i]);else e.push(t);return e}(t),this.options=n({},this.options),"function"==typeof e?r=e:n(this.options,e),r&&this.on("always",r),this.getImages(),i&&(this.jqDeferred=new i.Deferred),setTimeout(function(){this.check()}.bind(this))}s.prototype=Object.create(e.prototype),s.prototype.options={},s.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)},s.prototype.addElementImages=function(t){"IMG"==t.nodeName&&this.addImage(t),!0===this.options.background&&this.addElementBackgroundImages(t);var e=t.nodeType;if(e&&o[e]){for(var i=t.querySelectorAll("img"),r=0;r<i.length;r++){var n=i[r];this.addImage(n)}if("string"==typeof this.options.background){var s=t.querySelectorAll(this.options.background);for(r=0;r<s.length;r++){var a=s[r];this.addElementBackgroundImages(a)}}}};var o={1:!0,9:!0,11:!0};function a(t){this.img=t}function l(t,e){this.url=t,this.element=e,this.img=new Image}return s.prototype.addElementBackgroundImages=function(t){var e=getComputedStyle(t);if(e)for(var i=/url\((['"])?(.*?)\1\)/gi,r=i.exec(e.backgroundImage);null!==r;){var n=r&&r[2];n&&this.addBackground(n,t),r=i.exec(e.backgroundImage)}},s.prototype.addImage=function(t){var e=new a(t);this.images.push(e)},s.prototype.addBackground=function(t,e){var i=new l(t,e);this.images.push(i)},s.prototype.check=function(){var t=this;function e(e,i,r){setTimeout((function(){t.progress(e,i,r)}))}this.progressedCount=0,this.hasAnyBroken=!1,this.images.length?this.images.forEach((function(t){t.once("progress",e),t.check()})):this.complete()},s.prototype.progress=function(t,e,i){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!t.isLoaded,this.emitEvent("progress",[this,t,e]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,t),this.progressedCount==this.images.length&&this.complete(),this.options.debug&&r&&r.log("progress: "+i,t,e)},s.prototype.complete=function(){var t=this.hasAnyBroken?"fail":"done";if(this.isComplete=!0,this.emitEvent(t,[this]),this.emitEvent("always",[this]),this.jqDeferred){var e=this.hasAnyBroken?"reject":"resolve";this.jqDeferred[e](this)}},a.prototype=Object.create(e.prototype),a.prototype.check=function(){this.getIsImageComplete()?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),this.proxyImage.src=this.img.src)},a.prototype.getIsImageComplete=function(){return this.img.complete&&void 0!==this.img.naturalWidth},a.prototype.confirm=function(t,e){this.isLoaded=t,this.emitEvent("progress",[this,this.img,e])},a.prototype.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},a.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},a.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},a.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},l.prototype=Object.create(a.prototype),l.prototype.check=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.img.src=this.url,this.getIsImageComplete()&&(this.confirm(0!==this.img.naturalWidth,"naturalWidth"),this.unbindEvents())},l.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},l.prototype.confirm=function(t,e){this.isLoaded=t,this.emitEvent("progress",[this,this.element,e])},s.makeJQueryPlugin=function(e){(e=e||t.jQuery)&&((i=e).fn.imagesLoaded=function(t,e){return new s(this,t,e).jqDeferred.promise(i(this))})},s.makeJQueryPlugin(),s})),/*! Keyframes
     */
function(t){var e=!1,i="animation",r=prefix="",n=["Webkit","Moz","O","ms","Khtml"];t(document).ready((function(){var t=document.body.style;if(void 0!==t.animationName&&(e=!0),!1===e)for(var s=0;s<n.length;s++)if(void 0!==t[n[s]+"AnimationName"]){prefix=n[s],i=prefix+"Animation",r="-"+prefix.toLowerCase()+"-",e=!0;break}}));var s=function(e,i){return t.keyframe.debug&&console.log(e+" "+i),t("<style>"+i+"</style>").attr({class:"keyframe-style",id:e,type:"text/css"}).appendTo("head")};t.keyframe={debug:!1,getVendorPrefix:function(){return r},isSupported:function(){return e},generate:function(e){var n=e.name||"",o="@"+r+"keyframes "+n+" {";for(var a in e)if("name"!==a&&"media"!==a&&"complete"!==a){for(var l in o+=a+" {",e[a])o+=l+":"+e[a][l]+";";o+="}"}window.PrefixFree?o=PrefixFree.prefixCSS(o+"}"):o+="}",e.media&&(o="@media "+e.media+"{"+o+"}");var u=t("style#"+e.name);u.length>0?(u.html(o),t("*").filter((function(){return this.style[i+"Name"]===n})).each((function(){var e=t(this),i=e.data("keyframeOptions");e.resetKeyframe((function(){e.playKeyframe(i)}))}))):s(n,o)},define:function(t){if(t.length)for(var e=0;e<t.length;e++){var i=t[e];this.generate(i)}else this.generate(t)}};var o="animation-play-state",a="running";t.fn.resetKeyframe=function(e){t(this).css(r+o,a).css(r+"animation","none");e&&setTimeout(e,1)},t.fn.pauseKeyframe=function(){t(this).css(r+o,"paused")},t.fn.resumeKeyframe=function(){t(this).css(r+o,a)},t.fn.playKeyframe=function(e,i){var n=function(e){return[(e=t.extend({duration:"0s",timingFunction:"ease",delay:"0s",iterationCount:1,direction:"normal",fillMode:"forwards"},e)).name,e.duration,e.timingFunction,e.delay,e.iterationCount,e.direction,e.fillMode].join(" ")},s="";if(t.isArray(e)){for(var l=[],u=0;u<e.length;u++)"string"==typeof e[u]?l.push(e[u]):l.push(n(e[u]));s=l.join(", ")}else s="string"==typeof e?e:n(e);var c=r+"animation",h=["webkit","moz","MS","o",""];!i&&e.complete&&(i=e.complete);var f=function(t,e,i){for(var r=0;r<h.length;r++){h[r]||(e=e.toLowerCase());var n=h[r]+e;t.off(n).on(n,i)}};return this.each((function(){var n=t(this).addClass("boostKeyframe").css(r+o,a).css(c,s).data("keyframeOptions",e);if(t.keyframe.debug){console.group(),r&&console.log("Vendor Prefix: "+r),console.log("Style Applied: "+s);var l=n.css(c);console.log("Rendered Style: "+(l||n[0].style.animation)),console.groupEnd()}i&&(f(n,"AnimationIteration",i),f(n,"AnimationEnd",i))})),this},s("boost-keyframe"," .boostKeyframe{"+r+"transform:scale3d(1,1,1);}")}(jQuery),/*! Picturefill - v3.0.1 - 2015-09-30
     * http://scottjehl.github.io/picturefill
     * Copyright (c) 2015 https://github.com/scottjehl/picturefill/blob/master/Authors.txt; Licensed MIT
     */
/*! Gecko-Picture - v1.0
     * https://github.com/scottjehl/picturefill/tree/3.0/src/plugins/gecko-picture
     * Firefox's early picture implementation (prior to FF41) is static and does
     * not react to viewport changes. This tiny module fixes this.
     */
function(t){var e,i,r,n,s,o,a,l=navigator.userAgent;t.HTMLPictureElement&&/ecko/.test(l)&&l.match(/rv\:(\d+)/)&&RegExp.$1<41&&addEventListener("resize",(i=document.createElement("source"),r=function(t){var e,r,n=t.parentNode;"PICTURE"===n.nodeName.toUpperCase()?(e=i.cloneNode(),n.insertBefore(e,n.firstElementChild),setTimeout((function(){n.removeChild(e)}))):(!t._pfLastSize||t.offsetWidth>t._pfLastSize)&&(t._pfLastSize=t.offsetWidth,r=t.sizes,t.sizes+=",100vw",setTimeout((function(){t.sizes=r})))},n=function(){var t,e=document.querySelectorAll("picture > img, img[srcset][sizes]");for(t=0;t<e.length;t++)r(e[t])},s=function(){clearTimeout(e),e=setTimeout(n,99)},o=t.matchMedia&&matchMedia("(orientation: landscape)"),a=function(){s(),o&&o.addListener&&o.addListener(s)},i.srcset="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",/^[c|i]|d$/.test(document.readyState||"")?a():document.addEventListener("DOMContentLoaded",a),s))}(window),/*! Picturefill - v3.0.1
     * http://scottjehl.github.io/picturefill
     * Copyright (c) 2015 https://github.com/scottjehl/picturefill/blob/master/Authors.txt;
     *  License: MIT
     */
function(t,e,i){"use strict";var r,n,s;e.createElement("picture");var o={},a=function(){},l=e.createElement("img"),u=l.getAttribute,c=l.setAttribute,h=l.removeAttribute,f=e.documentElement,p={},d={algorithm:""},_="data-pfsrc",m=_+"set",g=navigator.userAgent,v=/rident/.test(g)||/ecko/.test(g)&&g.match(/rv\:(\d+)/)&&RegExp.$1>35,y="currentSrc",w=/\s+\+?\d+(e\d+)?w/,b=/(\([^)]+\))?\s*(.+)/,x=t.picturefillCFG,T="font-size:100%!important;",A=!0,S={},P={},k=t.devicePixelRatio,O={px:1,in:96},C=e.createElement("a"),R=!1,E=/^[ \t\n\r\u000c]+/,I=/^[, \t\n\r\u000c]+/,M=/^[^ \t\n\r\u000c]+/,z=/[,]+$/,D=/^\d+$/,F=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,L=function(t,e,i,r){t.addEventListener?t.addEventListener(e,i,r||!1):t.attachEvent&&t.attachEvent("on"+e,i)},j=function(t){var e={};return function(i){return i in e||(e[i]=t(i)),e[i]}};function N(t){return" "===t||"\t"===t||"\n"===t||"\f"===t||"\r"===t}var B,X,q,U,W,Q,Y,V,H,$,G,Z,K,J=(B=/^([\d\.]+)(em|vw|px)$/,X=j((function(t){return"return "+function(){for(var t=arguments,e=0,i=t[0];++e in t;)i=i.replace(t[e],t[++e]);return i}((t||"").toLowerCase(),/\band\b/g,"&&",/,/g,"||",/min-([a-z-\s]+):/g,"e.$1>=",/max-([a-z-\s]+):/g,"e.$1<=",/calc([^)]+)/g,"($1)",/(\d+[\.]*[\d]*)([a-z]+)/g,"($1 * e.$2)",/^(?!(e.[a-z]|[0-9\.&=|><\+\-\*\(\)\/])).*/gi,"")+";"})),function(t,e){var i;if(!(t in S))if(S[t]=!1,e&&(i=t.match(B)))S[t]=i[1]*O[i[2]];else try{S[t]=new Function("e",X(t))(O)}catch(t){}return S[t]}),tt=function(t,e){return t.w?(t.cWidth=o.calcListLength(e||"100vw"),t.res=t.w/t.cWidth):t.res=t.d,t},et=function(t){var i,r,n,s=t||{};if(s.elements&&1===s.elements.nodeType&&("IMG"===s.elements.nodeName.toUpperCase()?s.elements=[s.elements]:(s.context=s.elements,s.elements=null)),n=(i=s.elements||o.qsa(s.context||e,s.reevaluate||s.reselect?o.sel:o.selShort)).length){for(o.setupRun(s),R=!0,r=0;r<n;r++)o.fillImg(i[r],s);o.teardownRun(s)}};function it(t,e){return t.res-e.res}function rt(t,e){var i,r,n;if(t&&e)for(n=o.parseSet(e),t=o.makeUrl(t),i=0;i<n.length;i++)if(t===o.makeUrl(n[i].url)){r=n[i];break}return r}t.console&&console.warn,y in l||(y="src"),p["image/jpeg"]=!0,p["image/gif"]=!0,p["image/png"]=!0,p["image/svg+xml"]=e.implementation.hasFeature("http://wwwindow.w3.org/TR/SVG11/feature#Image","1.1"),o.ns=("pf"+(new Date).getTime()).substr(0,9),o.supSrcset="srcset"in l,o.supSizes="sizes"in l,o.supPicture=!!t.HTMLPictureElement,o.supSrcset&&o.supPicture&&!o.supSizes&&(q=e.createElement("img"),l.srcset="data:,a",q.src="data:,a",o.supSrcset=l.complete===q.complete,o.supPicture=o.supSrcset&&o.supPicture),o.selShort="picture>img,img[srcset]",o.sel=o.selShort,o.cfg=d,o.supSrcset&&(o.sel+=",img["+m+"]"),o.DPR=k||1,o.u=O,o.types=p,n=o.supSrcset&&!o.supSizes,o.setSize=a,o.makeUrl=j((function(t){return C.href=t,C.href})),o.qsa=function(t,e){return t.querySelectorAll(e)},o.matchesMedia=function(){return t.matchMedia&&(matchMedia("(min-width: 0.1em)")||{}).matches?o.matchesMedia=function(t){return!t||matchMedia(t).matches}:o.matchesMedia=o.mMQ,o.matchesMedia.apply(this,arguments)},o.mMQ=function(t){return!t||J(t)},o.calcLength=function(t){var e=J(t,!0)||!1;return e<0&&(e=!1),e},o.supportsType=function(t){return!t||p[t]},o.parseSize=j((function(t){var e=(t||"").match(b);return{media:e&&e[1],length:e&&e[2]}})),o.parseSet=function(t){return t.cands||(t.cands=function(t,e){function i(e){var i,r=e.exec(t.substring(u));if(r)return i=r[0],u+=i.length,i}var r,n,s,o,a,l=t.length,u=0,c=[];function h(){var t,i,s,o,a,l,u,h,f,p=!1,d={};for(o=0;o<n.length;o++)l=(a=n[o])[a.length-1],u=a.substring(0,a.length-1),h=parseInt(u,10),f=parseFloat(u),D.test(u)&&"w"===l?((t||i)&&(p=!0),0===h?p=!0:t=h):F.test(u)&&"x"===l?((t||i||s)&&(p=!0),f<0?p=!0:i=f):D.test(u)&&"h"===l?((s||i)&&(p=!0),0===h?p=!0:s=h):p=!0;p||(d.url=r,t&&(d.w=t),i&&(d.d=i),s&&(d.h=s),s||i||t||(d.d=1),1===d.d&&(e.has1x=!0),d.set=e,c.push(d))}function f(){for(i(E),s="",o="in descriptor";;){if(a=t.charAt(u),"in descriptor"===o)if(N(a))s&&(n.push(s),s="",o="after descriptor");else{if(","===a)return u+=1,s&&n.push(s),void h();if("("===a)s+=a,o="in parens";else{if(""===a)return s&&n.push(s),void h();s+=a}}else if("in parens"===o)if(")"===a)s+=a,o="in descriptor";else{if(""===a)return n.push(s),void h();s+=a}else if("after descriptor"===o)if(N(a));else{if(""===a)return void h();o="in descriptor",u-=1}u+=1}}for(;;){if(i(I),u>=l)return c;r=i(M),n=[],","===r.slice(-1)?(r=r.replace(z,""),h()):f()}}(t.srcset,t)),t.cands},o.getEmValue=function(){var t;if(!r&&(t=e.body)){var i=e.createElement("div"),n=f.style.cssText,s=t.style.cssText;i.style.cssText="position:absolute;left:0;visibility:hidden;display:block;padding:0;border:none;font-size:1em;width:1em;overflow:hidden;clip:rect(0px, 0px, 0px, 0px)",f.style.cssText=T,t.style.cssText=T,t.appendChild(i),r=i.offsetWidth,t.removeChild(i),r=parseFloat(r,10),f.style.cssText=n,t.style.cssText=s}return r||16},o.calcListLength=function(t){if(!(t in P)||d.uT){var e=o.calcLength(function(t){var e,i,r,n,s,a,l,u=/^(?:[+-]?[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?(?:ch|cm|em|ex|in|mm|pc|pt|px|rem|vh|vmin|vmax|vw)$/i,c=/^calc\((?:[0-9a-z \.\+\-\*\/\(\)]+)\)$/i;for(r=(i=function(t){var e,i="",r=[],n=[],s=0,o=0,a=!1;function l(){i&&(r.push(i),i="")}function u(){r[0]&&(n.push(r),r=[])}for(;;){if(""===(e=t.charAt(o)))return l(),u(),n;if(a){if("*"===e&&"/"===t[o+1]){a=!1,o+=2,l();continue}o+=1}else{if(N(e)){if(t.charAt(o-1)&&N(t.charAt(o-1))||!i){o+=1;continue}if(0===s){l(),o+=1;continue}e=" "}else if("("===e)s+=1;else if(")"===e)s-=1;else{if(","===e){l(),u(),o+=1;continue}if("/"===e&&"*"===t.charAt(o+1)){a=!0,o+=2;continue}}i+=e,o+=1}}}(t)).length,e=0;e<r;e++)if(s=(n=i[e])[n.length-1],l=s,u.test(l)&&parseFloat(l)>=0||c.test(l)||"0"===l||"-0"===l||"+0"===l){if(a=s,n.pop(),0===n.length)return a;if(n=n.join(" "),o.matchesMedia(n))return a}return"100vw"}(t));P[t]=e||O.width}return P[t]},o.setRes=function(t){var e;if(t)for(var i=0,r=(e=o.parseSet(t)).length;i<r;i++)tt(e[i],t.sizes);return e},o.setRes.res=tt,o.applySetCandidate=function(t,e){if(t.length){var i,r,n,s,a,l,u,c,h,f,p,_,m,g,w,b,x=e[o.ns],T=o.DPR;if(l=x.curSrc||e[y],u=x.curCan||function(t,e,i){var r;return!i&&e&&(i=(i=t[o.ns].sets)&&i[i.length-1]),(r=rt(e,i))&&(e=o.makeUrl(e),t[o.ns].curSrc=e,t[o.ns].curCan=r,r.res||tt(r,r.set.sizes)),r}(e,l,t[0].set),u&&u.set===t[0].set&&((h=v&&!e.complete&&u.res-.1>T)||(u.cached=!0,u.res>=T&&(a=u))),!a)for(t.sort(it),a=t[(s=t.length)-1],r=0;r<s;r++)if((i=t[r]).res>=T){a=t[n=r-1]&&(h||l!==o.makeUrl(i.url))&&(f=t[n].res,p=i.res,_=T,m=t[n].cached,g=void 0,w=void 0,b=void 0,"saveData"===d.algorithm?f>2.7?b=_+1:(w=(p-_)*(g=Math.pow(f-.6,1.5)),m&&(w+=.1*g),b=f+w):b=_>1?Math.sqrt(f*p):f,b>_)?t[n]:i;break}a&&(c=o.makeUrl(a.url),x.curSrc=c,x.curCan=a,c!==l&&o.setSrc(e,a),o.setSize(e))}},o.setSrc=function(t,e){var i;t.src=e.url,"image/svg+xml"===e.set.type&&(i=t.style.width,t.style.width=t.offsetWidth+1+"px",t.offsetWidth+1&&(t.style.width=i))},o.getSet=function(t){var e,i,r,n=!1,s=t[o.ns].sets;for(e=0;e<s.length&&!n;e++)if((i=s[e]).srcset&&o.matchesMedia(i.media)&&(r=o.supportsType(i.type))){"pending"===r&&(i=r),n=i;break}return n},o.parseSets=function(t,e,r){var s,a,l,f,p=e&&"PICTURE"===e.nodeName.toUpperCase(),d=t[o.ns];(d.src===i||r.src)&&(d.src=u.call(t,"src"),d.src?c.call(t,_,d.src):h.call(t,_)),(d.srcset===i||r.srcset||!o.supSrcset||t.srcset)&&(s=u.call(t,"srcset"),d.srcset=s,f=!0),d.sets=[],p&&(d.pic=!0,function(t,e){var i,r,n,s,a=t.getElementsByTagName("source");for(i=0,r=a.length;i<r;i++)(n=a[i])[o.ns]=!0,(s=n.getAttribute("srcset"))&&e.push({srcset:s,media:n.getAttribute("media"),type:n.getAttribute("type"),sizes:n.getAttribute("sizes")})}(e,d.sets)),d.srcset?(a={srcset:d.srcset,sizes:u.call(t,"sizes")},d.sets.push(a),(l=(n||d.src)&&w.test(d.srcset||""))||!d.src||rt(d.src,a)||a.has1x||(a.srcset+=", "+d.src,a.cands.push({url:d.src,d:1,set:a}))):d.src&&d.sets.push({srcset:d.src,sizes:null}),d.curCan=null,d.curSrc=i,d.supported=!(p||a&&!o.supSrcset||l),f&&o.supSrcset&&!d.supported&&(s?(c.call(t,m,s),t.srcset=""):h.call(t,m)),d.supported&&!d.srcset&&(!d.src&&t.src||t.src!==o.makeUrl(d.src))&&(null===d.src?t.removeAttribute("src"):t.src=d.src),d.parsed=!0},o.fillImg=function(t,e){var i,r,n,a,l,u=e.reselect||e.reevaluate;(t[o.ns]||(t[o.ns]={}),i=t[o.ns],u||i.evaled!==s)&&(i.parsed&&!e.reevaluate||o.parseSets(t,t.parentNode,e),i.supported?i.evaled=s:(r=t,a=o.getSet(r),l=!1,"pending"!==a&&(l=s,a&&(n=o.setRes(a),o.applySetCandidate(n,r))),r[o.ns].evaled=l))},o.setupRun=function(){R&&!A&&k===t.devicePixelRatio||(A=!1,k=t.devicePixelRatio,S={},P={},o.DPR=k||1,O.width=Math.max(t.innerWidth||0,f.clientWidth),O.height=Math.max(t.innerHeight||0,f.clientHeight),O.vw=O.width/100,O.vh=O.height/100,s=[O.height,O.width,k].join("-"),O.em=o.getEmValue(),O.rem=O.em)},o.supPicture?(et=a,o.fillImg=a):($=t.attachEvent?/d$|^c/:/d$|^c|^i/,G=function(){var t=e.readyState||"";Z=setTimeout(G,"loading"===t?200:999),e.body&&(o.fillImgs(),(U=U||$.test(t))&&clearTimeout(Z))},Z=setTimeout(G,e.body?9:99),K=f.clientHeight,L(t,"resize",(W=function(){A=Math.max(t.innerWidth||0,f.clientWidth)!==O.width||f.clientHeight!==K,K=f.clientHeight,A&&o.fillImgs()},Q=99,H=function(){var t=new Date-V;t<Q?Y=setTimeout(H,Q-t):(Y=null,W())},function(){V=new Date,Y||(Y=setTimeout(H,Q))})),L(e,"readystatechange",G)),o.picturefill=et,o.fillImgs=et,o.teardownRun=a,et._=o,t.picturefillCFG={pf:o,push:function(t){var e=t.shift();"function"==typeof o[e]?o[e].apply(o,t):(d[e]=t[0],R&&o.fillImgs({reselect:!0}))}};for(;x&&x.length;)t.picturefillCFG.push(x.shift());t.picturefill=et,"object"==typeof module&&"object"==typeof module.exports?module.exports=et:"function"==typeof define&&define.amd&&define("picturefill",(function(){return et})),o.supPicture||(p["image/webp"]=function(e,i){var r=new t.Image;return r.onerror=function(){p[e]=!1,et()},r.onload=function(){p[e]=1===r.width,et()},r.src=i,"pending"}("image/webp","data:image/webp;base64,UklGRkoAAABXRUJQVlA4WAoAAAAQAAAAAAAAAAAAQUxQSAwAAAABBxAR/Q9ERP8DAABWUDggGAAAADABAJ0BKgEAAQADADQlpAADcAD++/1QAA=="))}(window,document),function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):"undefined"!=typeof module&&module.exports?module.exports=t(require("jquery")):t(jQuery)}((function(t){"use strict";var e=t.scrollTo=function(e,i,r){return t(window).scrollTo(e,i,r)};function i(e){return!e.nodeName||-1!==t.inArray(e.nodeName.toLowerCase(),["iframe","#document","html","body"])}function r(e){return t.isFunction(e)||t.isPlainObject(e)?e:{top:e,left:e}}return e.defaults={axis:"xy",duration:0,limit:!0},t.fn.scrollTo=function(n,s,o){"object"==typeof s&&(o=s,s=0),"function"==typeof o&&(o={onAfter:o}),"max"===n&&(n=9e9),o=t.extend({},e.defaults,o),s=s||o.duration;var a=o.queue&&o.axis.length>1;return a&&(s/=2),o.offset=r(o.offset),o.over=r(o.over),this.each((function(){if(null!==n){var l,u=i(this),c=u?this.contentWindow||window:this,h=t(c),f=n,p={};switch(typeof f){case"number":case"string":if(/^([+-]=?)?\d+(\.\d+)?(px|%)?$/.test(f)){f=r(f);break}f=u?t(f):t(f,c);case"object":if(0===f.length)return;(f.is||f.style)&&(l=(f=t(f)).offset())}var d=t.isFunction(o.offset)&&o.offset(c,f)||o.offset;t.each(o.axis.split(""),(function(t,i){var r="x"===i?"Left":"Top",n=r.toLowerCase(),s="scroll"+r,m=h[s](),g=e.max(c,i);if(l)p[s]=l[n]+(u?0:m-h.offset()[n]),o.margin&&(p[s]-=parseInt(f.css("margin"+r),10)||0,p[s]-=parseInt(f.css("border"+r+"Width"),10)||0),p[s]+=d[n]||0,o.over[n]&&(p[s]+=f["x"===i?"width":"height"]()*o.over[n]);else{var v=f[n];p[s]=v.slice&&"%"===v.slice(-1)?parseFloat(v)/100*g:v}o.limit&&/^\d+$/.test(p[s])&&(p[s]=p[s]<=0?0:Math.min(p[s],g)),!t&&o.axis.length>1&&(m===p[s]?p={}:a&&(_(o.onAfterFirst),p={}))})),_(o.onAfter)}function _(e){var i=t.extend({},o,{queue:!0,duration:s,complete:e&&function(){e.call(c,f,o)}});h.animate(p,i)}}))},e.max=function(e,r){var n="x"===r?"Width":"Height",s="scroll"+n;if(!i(e))return e[s]-t(e)[n.toLowerCase()]();var o="client"+n,a=e.ownerDocument||e.document,l=a.documentElement,u=a.body;return Math.max(l[s],u[s])-Math.min(l[o],u[o])},t.Tween.propHooks.scrollLeft=t.Tween.propHooks.scrollTop={get:function(e){return t(e.elem)[e.prop]()},set:function(e){var i=this.get(e);if(e.options.interrupt&&e._last&&e._last!==i)return t(e.elem).stop();var r=Math.round(e.now);i!==r&&(t(e.elem)[e.prop](r),e._last=this.get(e))}},e})),/*!
     * jQuery.utresize
     * @author UnitedThemes
     * @version 1.0
     *
     */
function(t,e){"use strict";jQuery.fn[e]=function(t){return t?this.on("resize",(i=t,s="",function(){var t=this,e=arguments;s?clearTimeout(s):n&&i.apply(t,e),s=setTimeout((function(){n||i.apply(t,e),s=null}),r||100)})):this.trigger(e);var i,r,n,s}}(jQuery,"utresize"),jQuery.fn.isOnScreen=function(){var t=jQuery(window),e={top:t.scrollTop(),left:t.scrollLeft()};e.right=e.left+t.width(),e.bottom=e.top+t.height();var i=this.offset();return i.right=i.left+this.outerWidth(),i.bottom=i.top+this.outerHeight(),!(e.right<i.left||e.left>i.right||e.bottom<i.top||e.top>i.bottom)},/*!
     * jQuery.utresize_faster
     * @author UnitedThemes
     * @version 1.0
     *
     */
function(t,e){"use strict";jQuery.fn[e]=function(t){return t?this.on("resize",(i=t,s="",function(){var t=this,e=arguments;s?clearTimeout(s):n&&i.apply(t,e),s=setTimeout((function(){n||i.apply(t,e),s=null}),r||50)})):this.trigger(e);var i,r,n,s}}(jQuery,"utresize_fast"),function(t){"function"==typeof define&&define.amd?define(["jquery"],(function(e){return t(e)})):"object"==typeof module&&"object"==typeof module.exports?exports=t(require("jquery")):t(jQuery)}((function(t){t.easing.jswing=t.easing.swing;var e=Math.pow,i=Math.sqrt,r=Math.sin,n=Math.cos,s=Math.PI,o=1.70158,a=1.525*o,l=o+1,u=2*s/3,c=2*s/4.5;function h(t){var e=7.5625,i=2.75;return t<1/i?e*t*t:t<2/i?e*(t-=1.5/i)*t+.75:t<2.5/i?e*(t-=2.25/i)*t+.9375:e*(t-=2.625/i)*t+.984375}t.extend(t.easing,{def:"easeOutQuad",swing:function(e){return t.easing[t.easing.def](e)},easeInQuad:function(t){return t*t},easeOutQuad:function(t){return 1-(1-t)*(1-t)},easeInOutQuad:function(t){return t<.5?2*t*t:1-e(-2*t+2,2)/2},easeInCubic:function(t){return t*t*t},easeOutCubic:function(t){return 1-e(1-t,3)},easeInOutCubic:function(t){return t<.5?4*t*t*t:1-e(-2*t+2,3)/2},easeInQuart:function(t){return t*t*t*t},easeOutQuart:function(t){return 1-e(1-t,4)},easeInOutQuart:function(t){return t<.5?8*t*t*t*t:1-e(-2*t+2,4)/2},easeInQuint:function(t){return t*t*t*t*t},easeOutQuint:function(t){return 1-e(1-t,5)},easeInOutQuint:function(t){return t<.5?16*t*t*t*t*t:1-e(-2*t+2,5)/2},easeInSine:function(t){return 1-n(t*s/2)},easeOutSine:function(t){return r(t*s/2)},easeInOutSine:function(t){return-(n(s*t)-1)/2},easeInExpo:function(t){return 0===t?0:e(2,10*t-10)},easeOutExpo:function(t){return 1===t?1:1-e(2,-10*t)},easeInOutExpo:function(t){return 0===t?0:1===t?1:t<.5?e(2,20*t-10)/2:(2-e(2,-20*t+10))/2},easeInCirc:function(t){return 1-i(1-e(t,2))},easeOutCirc:function(t){return i(1-e(t-1,2))},easeInOutCirc:function(t){return t<.5?(1-i(1-e(2*t,2)))/2:(i(1-e(-2*t+2,2))+1)/2},easeInElastic:function(t){return 0===t?0:1===t?1:-e(2,10*t-10)*r((10*t-10.75)*u)},easeOutElastic:function(t){return 0===t?0:1===t?1:e(2,-10*t)*r((10*t-.75)*u)+1},easeInOutElastic:function(t){return 0===t?0:1===t?1:t<.5?-e(2,20*t-10)*r((20*t-11.125)*c)/2:e(2,-20*t+10)*r((20*t-11.125)*c)/2+1},easeInBack:function(t){return l*t*t*t-o*t*t},easeOutBack:function(t){return 1+l*e(t-1,3)+o*e(t-1,2)},easeInOutBack:function(t){return t<.5?e(2*t,2)*(7.189819*t-a)/2:(e(2*t-2,2)*((a+1)*(2*t-2)+a)+2)/2},easeInBounce:function(t){return 1-h(1-t)},easeOutBounce:h,easeInOutBounce:function(t){return t<.5?(1-h(1-2*t))/2:(1+h(2*t-1))/2}})})),/*!
     * Lazy Load - jQuery plugin for lazy loading images
     *
     * Copyright (c) 2007-2015 Mika Tuupola
     *
     * Licensed under the MIT license:
     *   http://www.opensource.org/licenses/mit-license.php
     *
     * Project home:
     *   http://www.appelsiini.net/projects/lazyload
     *
     * Version:  1.9.7
     *
     */
function(t,e,i,r){var n=t(e);t.fn.lazyload=function(s){var o,a=this,l={threshold:0,failure_limit:0,event:"scroll",effect:"show",container:e,data_attribute:"original",skip_invisible:!1,appear:null,load:null,placeholder:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB/AAffA0nNPuCLAAAAAElFTkSuQmCC"};function u(){var e=0;a.each((function(){var i=t(this);if(!l.skip_invisible||i.is(":visible"))if(t.abovethetop(this,l)||t.leftofbegin(this,l));else if(t.belowthefold(this,l)||t.rightoffold(this,l)){if(++e>l.failure_limit)return!1}else i.trigger("appear"),e=0}))}return s&&(r!==s.failurelimit&&(s.failure_limit=s.failurelimit,delete s.failurelimit),r!==s.effectspeed&&(s.effect_speed=s.effectspeed,delete s.effectspeed),t.extend(l,s)),o=l.container===r||l.container===e?n:t(l.container),0===l.event.indexOf("scroll")&&o.on(l.event,(function(){return u()})),this.each((function(){var e=this,i=t(e);e.loaded=!1,i.attr("src")!==r&&!1!==i.attr("src")||i.is("img")&&i.attr("src",l.placeholder),i.one("appear",(function(){if(!this.loaded){if(l.appear){var r=a.length;l.appear.call(e,r,l)}t("<img />").on("load",(function(){var r=i.attr("data-"+l.data_attribute);i.hide(),i.is("img")?i.attr("src",r):i.css({"background-image":"url('"+r+"')","background-size":"cover","background-position":"center center"}),e.loaded=!0;var n=t.grep(a,(function(t){return!t.loaded}));if(a=t(n),l.load){var s=a.length;l.load.call(e,s,l)}})).attr("src",i.attr("data-"+l.data_attribute))}})),0!==l.event.indexOf("scroll")&&i.on(l.event,(function(){e.loaded||i.trigger("appear")}))})),n.on("resize",(function(){u()})),/(?:iphone|ipod|ipad).*os 5/gi.test(navigator.appVersion)&&n.on("pageshow",(function(e){e.originalEvent&&e.originalEvent.persisted&&a.each((function(){t(this).trigger("appear")}))})),t(i).ready((function(){u()})),this},t.belowthefold=function(i,s){return(s.container===r||s.container===e?(e.innerHeight?e.innerHeight:n.height())+n.scrollTop():t(s.container).offset().top+t(s.container).height())<=t(i).offset().top-s.threshold},t.rightoffold=function(i,s){return(s.container===r||s.container===e?n.width()+n.scrollLeft():t(s.container).offset().left+t(s.container).width())<=t(i).offset().left-s.threshold},t.abovethetop=function(i,s){return(s.container===r||s.container===e?n.scrollTop():t(s.container).offset().top)>=t(i).offset().top+s.threshold+t(i).height()},t.leftofbegin=function(i,s){return(s.container===r||s.container===e?n.scrollLeft():t(s.container).offset().left)>=t(i).offset().left+s.threshold+t(i).width()},t.inviewport=function(e,i){return!(t.rightoffold(e,i)||t.leftofbegin(e,i)||t.belowthefold(e,i)||t.abovethetop(e,i))},t.extend(t.expr[":"],{"below-the-fold":function(e){return t.belowthefold(e,{threshold:0})},"above-the-top":function(e){return!t.belowthefold(e,{threshold:0})},"right-of-screen":function(e){return t.rightoffold(e,{threshold:0})},"left-of-screen":function(e){return!t.rightoffold(e,{threshold:0})},"in-viewport":function(e){return t.inviewport(e,{threshold:0})},"above-the-fold":function(e){return!t.belowthefold(e,{threshold:0})},"right-of-fold":function(e){return t.rightoffold(e,{threshold:0})},"left-of-fold":function(e){return!t.rightoffold(e,{threshold:0})}})}(jQuery,window,document),/*!
     * jQuery Waypoints - v2.0.5
     * Copyright (c) 2011-2014 Caleb Troughton
     * Licensed under the MIT license.
     * https://github.com/imakewebthings/jquery-waypoints/blob/master/licenses.txt
    */
function(){var t,e,i=[].indexOf||function(t){for(var e=0,i=this.length;e<i;e++)if(e in this&&this[e]===t)return e;return-1},r=[].slice;t=window,e=function(t,e){var n,s,o,a,l,u,c,h,f,p,d,_,m,g,v,y;return n=t(e),h=i.call(e,"ontouchstart")>=0,a={horizontal:{},vertical:{}},l=1,c={},u="waypoints-context-id",d="resize.waypoints",_="scroll.waypoints",m=1,g="waypoints-waypoint-ids",v="waypoint",y="waypoints",s=function(){function i(i){var r=this;this.$element=i,this.element=i[0],this.didResize=!1,this.didScroll=!1,this.id="context"+l++,this.oldScroll={x:i.scrollLeft(),y:i.scrollTop()},this.waypoints={horizontal:{},vertical:{}},this.element[u]=this.id,c[this.id]=this,i.on(_,(function(){var i;if(!r.didScroll&&!h)return r.didScroll=!0,i=function(){return r.doScroll(),r.didScroll=!1},e.setTimeout(i,t[y].settings.scrollThrottle)})),i.on(d,(function(){var i;if(!r.didResize)return r.didResize=!0,i=function(){return t[y]("refresh"),r.didResize=!1},e.setTimeout(i,t[y].settings.resizeThrottle)}))}return i.prototype.doScroll=function(){var e,i=this;return e={horizontal:{newScroll:this.$element.scrollLeft(),oldScroll:this.oldScroll.x,forward:"right",backward:"left"},vertical:{newScroll:this.$element.scrollTop(),oldScroll:this.oldScroll.y,forward:"down",backward:"up"}},!h||e.vertical.oldScroll&&e.vertical.newScroll||t[y]("refresh"),t.each(e,(function(e,r){var n,s,o;return o=[],s=r.newScroll>r.oldScroll,n=s?r.forward:r.backward,t.each(i.waypoints[e],(function(t,e){var i,n;return r.oldScroll<(i=e.offset)&&i<=r.newScroll||r.newScroll<(n=e.offset)&&n<=r.oldScroll?o.push(e):void 0})),o.sort((function(t,e){return t.offset-e.offset})),s||o.reverse(),t.each(o,(function(t,e){if(e.options.continuous||t===o.length-1)return e.trigger([n])}))})),this.oldScroll={x:e.horizontal.newScroll,y:e.vertical.newScroll}},i.prototype.refresh=function(){var e,i,r,n=this;return r=t.isWindow(this.element),i=this.$element.offset(),this.doScroll(),e={horizontal:{contextOffset:r?0:i.left,contextScroll:r?0:this.oldScroll.x,contextDimension:this.$element.width(),oldScroll:this.oldScroll.x,forward:"right",backward:"left",offsetProp:"left"},vertical:{contextOffset:r?0:i.top,contextScroll:r?0:this.oldScroll.y,contextDimension:r?t[y]("viewportHeight"):this.$element.height(),oldScroll:this.oldScroll.y,forward:"down",backward:"up",offsetProp:"top"}},t.each(e,(function(e,i){return t.each(n.waypoints[e],(function(e,r){var n,s,o,a,l;if(n=r.options.offset,o=r.offset,s=t.isWindow(r.element)?0:r.$element.offset()[i.offsetProp],t.isFunction(n)?n=n.apply(r.element):"string"==typeof n&&(n=parseFloat(n),r.options.offset.indexOf("%")>-1&&(n=Math.ceil(i.contextDimension*n/100))),r.offset=s-i.contextOffset+i.contextScroll-n,(!r.options.onlyOnScroll||null==o)&&r.enabled)return null!==o&&o<(a=i.oldScroll)&&a<=r.offset?r.trigger([i.backward]):null!==o&&o>(l=i.oldScroll)&&l>=r.offset||null===o&&i.oldScroll>=r.offset?r.trigger([i.forward]):void 0}))}))},i.prototype.checkEmpty=function(){if(t.isEmptyObject(this.waypoints.horizontal)&&t.isEmptyObject(this.waypoints.vertical))return this.$element.unbind([d,_].join(" ")),delete c[this.id]},i}(),o=function(){function e(e,i,r){var n,s;"bottom-in-view"===r.offset&&(r.offset=function(){var e;return e=t[y]("viewportHeight"),t.isWindow(i.element)||(e=i.$element.height()),e-t(this).outerHeight()}),this.$element=e,this.element=e[0],this.axis=r.horizontal?"horizontal":"vertical",this.callback=r.handler,this.context=i,this.enabled=r.enabled,this.id="waypoints"+m++,this.offset=null,this.options=r,i.waypoints[this.axis][this.id]=this,a[this.axis][this.id]=this,(n=null!=(s=this.element[g])?s:[]).push(this.id),this.element[g]=n}return e.prototype.trigger=function(t){if(this.enabled)return null!=this.callback&&this.callback.apply(this.element,t),this.options.triggerOnce?this.destroy():void 0},e.prototype.disable=function(){return this.enabled=!1},e.prototype.enable=function(){return this.context.refresh(),this.enabled=!0},e.prototype.destroy=function(){return delete a[this.axis][this.id],delete this.context.waypoints[this.axis][this.id],this.context.checkEmpty()},e.getWaypointsByElement=function(e){var i,r;return(r=e[g])?(i=t.extend({},a.horizontal,a.vertical),t.map(r,(function(t){return i[t]}))):[]},e}(),p={init:function(e,i){return null==(i=t.extend({},t.fn[v].defaults,i)).handler&&(i.handler=e),this.each((function(){var e,r,n,a;return e=t(this),n=null!=(a=i.context)?a:t.fn[v].defaults.context,t.isWindow(n)||(n=e.closest(n)),n=t(n),(r=c[n[0][u]])||(r=new s(n)),new o(e,r,i)})),t[y]("refresh"),this},disable:function(){return p._invoke.call(this,"disable")},enable:function(){return p._invoke.call(this,"enable")},destroy:function(){return p._invoke.call(this,"destroy")},prev:function(t,e){return p._traverse.call(this,t,e,(function(t,e,i){if(e>0)return t.push(i[e-1])}))},next:function(t,e){return p._traverse.call(this,t,e,(function(t,e,i){if(e<i.length-1)return t.push(i[e+1])}))},_traverse:function(i,r,n){var s,o;return null==i&&(i="vertical"),null==r&&(r=e),o=f.aggregate(r),s=[],this.each((function(){var e;return e=t.inArray(this,o[i]),n(s,e,o[i])})),this.pushStack(s)},_invoke:function(e){return this.each((function(){var i;return i=o.getWaypointsByElement(this),t.each(i,(function(t,i){return i[e](),!0}))})),this}},t.fn[v]=function(){var e,i;return i=arguments[0],e=2<=arguments.length?r.call(arguments,1):[],p[i]?p[i].apply(this,e):t.isFunction(i)?p.init.apply(this,arguments):t.isPlainObject(i)?p.init.apply(this,[null,i]):i?t.error("The "+i+" method does not exist in jQuery Waypoints."):t.error("jQuery Waypoints needs a callback function or handler option.")},t.fn[v].defaults={context:e,continuous:!0,enabled:!0,horizontal:!1,offset:0,triggerOnce:!1},f={refresh:function(){return t.each(c,(function(t,e){return e.refresh()}))},viewportHeight:function(){var t;return null!=(t=e.innerHeight)?t:n.height()},aggregate:function(e){var i,r,n;return i=a,e&&(i=null!=(n=c[t(e)[0][u]])?n.waypoints:void 0),i?(r={horizontal:[],vertical:[]},t.each(r,(function(e,n){return t.each(i[e],(function(t,e){return n.push(e)})),n.sort((function(t,e){return t.offset-e.offset})),r[e]=t.map(n,(function(t){return t.element})),r[e]=t.unique(r[e])})),r):[]},above:function(t){return null==t&&(t=e),f._filter(t,"vertical",(function(t,e){return e.offset<=t.oldScroll.y}))},below:function(t){return null==t&&(t=e),f._filter(t,"vertical",(function(t,e){return e.offset>t.oldScroll.y}))},left:function(t){return null==t&&(t=e),f._filter(t,"horizontal",(function(t,e){return e.offset<=t.oldScroll.x}))},right:function(t){return null==t&&(t=e),f._filter(t,"horizontal",(function(t,e){return e.offset>t.oldScroll.x}))},enable:function(){return f._invoke("enable")},disable:function(){return f._invoke("disable")},destroy:function(){return f._invoke("destroy")},extendFn:function(t,e){return p[t]=e},_invoke:function(e){var i;return i=t.extend({},a.vertical,a.horizontal),t.each(i,(function(t,i){return i[e](),!0}))},_filter:function(e,i,r){var n,s;return(n=c[t(e)[0][u]])?(s=[],t.each(n.waypoints[i],(function(t,e){if(r(n,e))return s.push(e)})),s.sort((function(t,e){return t.offset-e.offset})),t.map(s,(function(t){return t.element}))):[]}},t[y]=function(){var t,e;return e=arguments[0],t=2<=arguments.length?r.call(arguments,1):[],f[e]?f[e].apply(null,t):f.aggregate.call(null,e)},t[y].settings={resizeThrottle:100,scrollThrottle:30},n.on("load.waypoints",(function(){return t[y]("refresh")}))},"function"==typeof define&&define.amd?define("waypoints",["jquery"],(function(i){return e(i,t)})):e(t.jQuery,t)}.call(this),function(t,e){"function"==typeof define&&define.amd?define(e):"object"==typeof exports?module.exports=e():t.ResizeSensor=e()}(this,(function(){var t=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||function(t){return window.setTimeout(t,20)};function e(t,e){var i=Object.prototype.toString.call(t),r="[object Array]"===i||"[object NodeList]"===i||"[object HTMLCollection]"===i||"undefined"!=typeof jQuery&&t instanceof jQuery||"undefined"!=typeof Elements&&t instanceof Elements,n=0,s=t.length;if(r)for(;n<s;n++)e(t[n]);else e(t)}var i=function(r,n){function s(){var t,e,i=[];this.add=function(t){i.push(t)},this.call=function(){for(t=0,e=i.length;t<e;t++)i[t].call()},this.remove=function(r){var n=[];for(t=0,e=i.length;t<e;t++)i[t]!==r&&n.push(i[t]);i=n},this.length=function(){return i.length}}function o(e,i){if(e.resizedAttached){if(e.resizedAttached)return void e.resizedAttached.add(i)}else e.resizedAttached=new s,e.resizedAttached.add(i);e.resizeSensor=document.createElement("div"),e.resizeSensor.className="resize-sensor";var r="position: absolute; left: 0; top: 0; right: 0; bottom: 0; overflow: hidden; z-index: -1; visibility: hidden;",n="position: absolute; left: 0; top: 0; transition: 0s;";e.resizeSensor.style.cssText=r,e.resizeSensor.innerHTML='<div class="resize-sensor-expand" style="'+r+'"><div style="'+n+'"></div></div><div class="resize-sensor-shrink" style="'+r+'"><div style="'+n+' width: 200%; height: 200%"></div></div>',e.appendChild(e.resizeSensor),"static"==function(t,e){return t.currentStyle?t.currentStyle[e]:window.getComputedStyle?window.getComputedStyle(t,null).getPropertyValue(e):t.style[e]}(e,"position")&&(e.style.position="relative");var o=e.resizeSensor.childNodes[0],a=o.childNodes[0],l=e.resizeSensor.childNodes[1],u=function(){a.style.width="100000px",a.style.height="100000px",o.scrollLeft=1e5,o.scrollTop=1e5,l.scrollLeft=1e5,l.scrollTop=1e5};u();var c,h,f,p,d=!1,_=function(){e.resizedAttached&&(d&&(e.resizedAttached.call(),d=!1),t(_))};t(_);var m=function(){(f=e.offsetWidth)==c&&(p=e.offsetHeight)==h||(d=!0,c=f,h=p),u()},g=function(t,e,i){t.attachEvent?t.attachEvent("on"+e,i):t.addEventListener(e,i)};g(o,"scroll",m),g(l,"scroll",m)}e(r,(function(t){o(t,n)})),this.detach=function(t){i.detach(r,t)}};return i.detach=function(t,i){e(t,(function(t){t.resizedAttached&&"function"==typeof i&&(t.resizedAttached.remove(i),t.resizedAttached.length())||t.resizeSensor&&(t.contains(t.resizeSensor)&&t.removeChild(t.resizeSensor),delete t.resizeSensor,delete t.resizedAttached)}))},i})),function(t){"use strict";var e,i,r,n,s,o,a,l,u,c,h,f,p,d,_,m,g=(i="sf-breadcrumb",r="sf-js-enabled",n="sf-with-ul",s="sf-arrows",o=function(){var e=/iPhone|iPad|iPod/i.test(navigator.userAgent);return e&&t(window).on("load",(function(){t("body").children().on("click",t.noop)})),e}(),a="behavior"in(e=document.documentElement.style)&&"fill"in e&&/iemobile/i.test(navigator.userAgent),l=function(t,e){var i=r;e.cssArrows&&(i+=" "+s),t.toggleClass(i)},u=function(t){t.children("a").toggleClass(n)},c=function(t){var e=t.css("ms-touch-action");e="pan-y"===e?"auto":"pan-y",t.css("ms-touch-action",e)},h=function(e){var i=t(this),r=i.siblings(e.data.popUpSelector);r.length>0&&r.is(":hidden")&&(i.one("click.superfish",!1),"MSPointerDown"===e.type?i.trigger("focus"):t.proxy(f,i.parent("li"))())},f=function(){var e=t(this),i=m(e);clearTimeout(i.sfTimer),e.siblings().superfish("hide").end().superfish("show")},p=function(){var e=t(this),i=m(e);o?t.proxy(d,e,i)():(clearTimeout(i.sfTimer),i.sfTimer=setTimeout(t.proxy(d,e,i),i.delay))},d=function(e){e.retainPath=t.inArray(this[0],e.$path)>-1,this.superfish("hide"),this.parents("."+e.hoverClass).length||(e.onIdle.call(_(this)),e.$path.length&&t.proxy(f,e.$path)())},_=function(t){return t.closest("."+r)},m=function(t){return _(t).data("sf-options")},{hide:function(t){if(this.length){var e=m(this);if(!e)return this;var i=!0===e.retainPath?e.$path:"",r=this.find("li."+e.hoverClass).add(this).not(i).removeClass(e.hoverClass).children(e.popUpSelector);e.speedOut,t&&r.show(),e.retainPath=!1,e.onBeforeHide.call(r),e.onHide.call(r)}return this},show:function(){var t=m(this);if(!t)return this;var e=this.addClass(t.hoverClass).children(t.popUpSelector);return t.onBeforeShow.call(e),t.onShow.call(e),this},destroy:function(){return this.each((function(){var e,r=t(this),n=r.data("sf-options");if(!n)return!1;e=r.find(n.popUpSelector).parent("li"),clearTimeout(n.sfTimer),l(r,n),u(e),c(r),r.off(".superfish").off(".hoverIntent"),e.children(n.popUpSelector).attr("style",(function(t,e){return e.replace(/display[^;]+;?/g,"")})),n.$path.removeClass(n.hoverClass+" "+i).addClass(n.pathClass),r.find("."+n.hoverClass).removeClass(n.hoverClass),n.onDestroy.call(r),r.removeData("sf-options")}))},init:function(e){return this.each((function(){var r=t(this);if(r.data("sf-options"))return!1;var n=t.extend({},t.fn.superfish.defaults,e),s=r.find(n.popUpSelector).parent("li");n.$path=function(e,r){return e.find("li."+r.pathClass).slice(0,r.pathLevels).addClass(r.hoverClass+" "+i).filter((function(){return t(this).children(r.popUpSelector).hide().show().length})).removeClass(r.pathClass)}(r,n),r.data("sf-options",n),l(r,n),u(s),c(r),function(e,i){var r="li:has("+i.popUpSelector+")";t.fn.hoverIntent&&!i.disableHI?e.hoverIntent(f,p,r):e.on("mouseenter.superfish",r,f).on("mouseleave.superfish",r,p);var n="MSPointerDown.superfish";o||(n+=" touchend.superfish"),a&&(n+=" mousedown.superfish"),e.on(n,"a",i,h)}(r,n),s.not("."+i).superfish("hide",!0),n.onInit.call(this)}))}});t.fn.superfish=function(e,i){return g[e]?g[e].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof e&&e?t.error("Method "+e+" does not exist on jQuery.fn.superfish"):g.init.apply(this,arguments)},t.fn.superfish.defaults={popUpSelector:"ul,.sf-mega",hoverClass:"sfHover",pathClass:"overrideThisToUse",pathLevels:1,delay:400,animation:{opacity:"show"},animationOut:{opacity:"hide"},speed:"normal",speedOut:"fast",cssArrows:!0,disableHI:!1,onInit:t.noop,onBeforeShow:t.noop,onShow:t.noop,onBeforeHide:t.noop,onHide:t.noop,onIdle:t.noop,onDestroy:t.noop},t.fn.extend({hideSuperfishUl:g.hide,showSuperfishUl:g.show})}(jQuery),/*!
    * FitVids 1.1
    *
    * Copyright 2013, Chris Coyier - http://css-tricks.com + Dave Rupert - http://daverupert.com
    * Credit to Thierry Koblentz - http://www.alistapart.com/articles/creating-intrinsic-ratios-for-video/
    * Released under the WTFPL license - http://sam.zoy.org/wtfpl/
    *
    */
function(t){"use strict";t.fn.fitVids=function(e){var i={customSelector:null,ignore:null};if(!document.getElementById("fit-vids-style")){var r=document.head||document.getElementsByTagName("head")[0],n=document.createElement("div");n.innerHTML='<p>x</p><style id="fit-vids-style">.fluid-width-video-wrapper{width:100%;position:relative;padding:0;}.fluid-width-video-wrapper iframe,.fluid-width-video-wrapper object,.fluid-width-video-wrapper embed {position:absolute;top:0;left:0;width:100%;height:100%;}</style>',r.appendChild(n.childNodes[1])}return e&&t.extend(i,e),this.each((function(){var e=["iframe[src*='player.vimeo.com']","iframe[src*='youtube.com']","iframe[src*='twitch.tv']","iframe[src*='youtube-nocookie.com']","iframe[src*='kickstarter.com'][src*='video.html']","object","embed"];i.customSelector&&e.push(i.customSelector);var r=".fitvidsignore";i.ignore&&(r=r+", "+i.ignore);var n=t(this).find(e.join(","));(n=(n=n.not("object object")).not(r)).each((function(){var e=t(this);if(!e.hasClass("jwswf")&&!e.hasClass("embed-pdf-viewer")&&!(e.parents(r).length>0||"embed"===this.tagName.toLowerCase()&&e.parent("object").length||e.parent(".fluid-width-video-wrapper").length)){e.css("height")||e.css("width")||!isNaN(e.attr("height"))&&!isNaN(e.attr("width"))||(e.attr("height",9),e.attr("width",16));var i=("object"===this.tagName.toLowerCase()||e.attr("height")&&!isNaN(parseInt(e.attr("height"),10))?parseInt(e.attr("height"),10):e.height())/(isNaN(parseInt(e.attr("width"),10))?e.width():parseInt(e.attr("width"),10));if(!e.attr("id")){var n="fitvid"+t.fn.fitVids._count;e.attr("name",n),t.fn.fitVids._count++}e.wrap('<div class="fluid-width-video-wrapper"></div>').parent(".fluid-width-video-wrapper").css("padding-top",100*i+"%"),e.removeAttr("height").removeAttr("width")}}))}))},t.fn.fitVids._count=0}(window.jQuery||window.Zepto);
/*!
 * VERSION: 2.1.3
 * DATE: 2019-05-17
 * UPDATES AND DOCS AT: http://greensock.com
 *
 * Includes all of the following: TweenLite, TweenMax, TimelineLite, TimelineMax, EasePack, CSSPlugin, RoundPropsPlugin, BezierPlugin, AttrPlugin, DirectionalRotationPlugin
 *
 * @license Copyright (c) 2008-2019, GreenSock. All rights reserved.
 * This work is subject to the terms at http://greensock.com/standard-license or for
 * Club GreenSock members, the software agreement that was issued with your membership.
 *
 * @author: Jack Doyle, jack@greensock.com
 **/
var _gsScope="undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window;(_gsScope._gsQueue||(_gsScope._gsQueue=[])).push((function(){"use strict";var t,e,i,r,n,s,o,a,l,u,c,h,f,p,d,_;_gsScope._gsDefine("TweenMax",["core.Animation","core.SimpleTimeline","TweenLite"],(function(t,e,i){var r=function(t){var e,i=[],r=t.length;for(e=0;e!==r;i.push(t[e++]));return i},n=function(t,e,i){var r,n,s=t.cycle;for(r in s)n=s[r],t[r]="function"==typeof n?n(i,e[i],e):n[i%n.length];delete t.cycle},s=function(t){if("function"==typeof t)return t;var e="object"==typeof t?t:{each:t},i=e.ease,r=e.from||0,n=e.base||0,s={},o=isNaN(r),a=e.axis,l={center:.5,end:1}[r]||0;return function(t,u,c){var h,f,p,d,_,m,g,v,y,w=(c||e).length,b=s[w];if(!b){if(!(y="auto"===e.grid?0:(e.grid||[1/0])[0])){for(g=-1/0;g<(g=c[y++].getBoundingClientRect().left)&&w>y;);y--}for(b=s[w]=[],h=o?Math.min(y,w)*l-.5:r%y,f=o?w*l/y-.5:r/y|0,g=0,v=1/0,m=0;w>m;m++)p=m%y-h,d=f-(m/y|0),b[m]=_=a?Math.abs("y"===a?d:p):Math.sqrt(p*p+d*d),_>g&&(g=_),v>_&&(v=_);b.max=g-v,b.min=v,b.v=w=e.amount||e.each*(y>w?w-1:a?"y"===a?w/y:y:Math.max(y,w/y))||0,b.b=0>w?n-w:n}return w=(b[t]-b.min)/b.max,b.b+(i?i.getRatio(w):w)*b.v}},o=function(t,e,r){i.call(this,t,e,r),this._cycle=0,this._yoyo=!0===this.vars.yoyo||!!this.vars.yoyoEase,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._repeat&&this._uncache(!0),this.render=o.prototype.render},a=1e-8,l=i._internals,u=l.isSelector,c=l.isArray,h=o.prototype=i.to({},.1,{}),f=[];o.version="2.1.3",h.constructor=o,h.kill()._gc=!1,o.killTweensOf=o.killDelayedCallsTo=i.killTweensOf,o.getTweensOf=i.getTweensOf,o.lagSmoothing=i.lagSmoothing,o.ticker=i.ticker,o.render=i.render,o.distribute=s,h.invalidate=function(){return this._yoyo=!0===this.vars.yoyo||!!this.vars.yoyoEase,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._yoyoEase=null,this._uncache(!0),i.prototype.invalidate.call(this)},h.updateTo=function(t,e){var r,n=this,s=n.ratio,o=n.vars.immediateRender||t.immediateRender;for(r in e&&n._startTime<n._timeline._time&&(n._startTime=n._timeline._time,n._uncache(!1),n._gc?n._enabled(!0,!1):n._timeline.insert(n,n._startTime-n._delay)),t)n.vars[r]=t[r];if(n._initted||o)if(e)n._initted=!1,o&&n.render(0,!0,!0);else if(n._gc&&n._enabled(!0,!1),n._notifyPluginsOfEnabled&&n._firstPT&&i._onPluginEvent("_onDisable",n),n._time/n._duration>.998){var a=n._totalTime;n.render(0,!0,!1),n._initted=!1,n.render(a,!0,!1)}else if(n._initted=!1,n._init(),n._time>0||o)for(var l,u=1/(1-s),c=n._firstPT;c;)l=c.s+c.c,c.c*=u,c.s=l-c.c,c=c._next;return n},h.render=function(t,e,r){this._initted||0===this._duration&&this.vars.repeat&&this.invalidate();var n,s,o,u,c,h,f,p,d,_=this,m=_._dirty?_.totalDuration():_._totalDuration,g=_._time,v=_._totalTime,y=_._cycle,w=_._duration,b=_._rawPrevTime;if(t>=m-a&&t>=0?(_._totalTime=m,_._cycle=_._repeat,_._yoyo&&0!=(1&_._cycle)?(_._time=0,_.ratio=_._ease._calcEnd?_._ease.getRatio(0):0):(_._time=w,_.ratio=_._ease._calcEnd?_._ease.getRatio(1):1),_._reversed||(n=!0,s="onComplete",r=r||_._timeline.autoRemoveChildren),0===w&&(_._initted||!_.vars.lazy||r)&&(_._startTime===_._timeline._duration&&(t=0),(0>b||0>=t&&t>=-a||b===a&&"isPause"!==_.data)&&b!==t&&(r=!0,b>a&&(s="onReverseComplete")),_._rawPrevTime=p=!e||t||b===t?t:a)):a>t?(_._totalTime=_._time=_._cycle=0,_.ratio=_._ease._calcEnd?_._ease.getRatio(0):0,(0!==v||0===w&&b>0)&&(s="onReverseComplete",n=_._reversed),t>-a?t=0:0>t&&(_._active=!1,0===w&&(_._initted||!_.vars.lazy||r)&&(b>=0&&(r=!0),_._rawPrevTime=p=!e||t||b===t?t:a)),_._initted||(r=!0)):(_._totalTime=_._time=t,0!==_._repeat&&(u=w+_._repeatDelay,_._cycle=_._totalTime/u>>0,0!==_._cycle&&_._cycle===_._totalTime/u&&t>=v&&_._cycle--,_._time=_._totalTime-_._cycle*u,_._yoyo&&0!=(1&_._cycle)&&(_._time=w-_._time,(d=_._yoyoEase||_.vars.yoyoEase)&&(_._yoyoEase||(!0!==d||_._initted?_._yoyoEase=d=!0===d?_._ease:d instanceof Ease?d:Ease.map[d]:(d=_.vars.ease,_._yoyoEase=d=d?d instanceof Ease?d:"function"==typeof d?new Ease(d,_.vars.easeParams):Ease.map[d]||i.defaultEase:i.defaultEase)),_.ratio=d?1-d.getRatio((w-_._time)/w):0)),_._time>w?_._time=w:_._time<0&&(_._time=0)),_._easeType&&!d?(c=_._time/w,(1===(h=_._easeType)||3===h&&c>=.5)&&(c=1-c),3===h&&(c*=2),1===(f=_._easePower)?c*=c:2===f?c*=c*c:3===f?c*=c*c*c:4===f&&(c*=c*c*c*c),_.ratio=1===h?1-c:2===h?c:_._time/w<.5?c/2:1-c/2):d||(_.ratio=_._ease.getRatio(_._time/w))),g!==_._time||r||y!==_._cycle){if(!_._initted){if(_._init(),!_._initted||_._gc)return;if(!r&&_._firstPT&&(!1!==_.vars.lazy&&_._duration||_.vars.lazy&&!_._duration))return _._time=g,_._totalTime=v,_._rawPrevTime=b,_._cycle=y,l.lazyTweens.push(_),void(_._lazy=[t,e]);!_._time||n||d?n&&this._ease._calcEnd&&!d&&(_.ratio=_._ease.getRatio(0===_._time?0:1)):_.ratio=_._ease.getRatio(_._time/w)}for(!1!==_._lazy&&(_._lazy=!1),_._active||!_._paused&&_._time!==g&&t>=0&&(_._active=!0),0===v&&(2===_._initted&&t>0&&_._init(),_._startAt&&(t>=0?_._startAt.render(t,!0,r):s||(s="_dummyGS")),_.vars.onStart&&(0!==_._totalTime||0===w)&&(e||_._callback("onStart"))),o=_._firstPT;o;)o.f?o.t[o.p](o.c*_.ratio+o.s):o.t[o.p]=o.c*_.ratio+o.s,o=o._next;_._onUpdate&&(0>t&&_._startAt&&_._startTime&&_._startAt.render(t,!0,r),e||(_._totalTime!==v||s)&&_._callback("onUpdate")),_._cycle!==y&&(e||_._gc||_.vars.onRepeat&&_._callback("onRepeat")),s&&(!_._gc||r)&&(0>t&&_._startAt&&!_._onUpdate&&_._startTime&&_._startAt.render(t,!0,r),n&&(_._timeline.autoRemoveChildren&&_._enabled(!1,!1),_._active=!1),!e&&_.vars[s]&&_._callback(s),0===w&&_._rawPrevTime===a&&p!==a&&(_._rawPrevTime=0))}else v!==_._totalTime&&_._onUpdate&&(e||_._callback("onUpdate"))},o.to=function(t,e,i){return new o(t,e,i)},o.from=function(t,e,i){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,new o(t,e,i)},o.fromTo=function(t,e,i,r){return r.startAt=i,r.immediateRender=0!=r.immediateRender&&0!=i.immediateRender,new o(t,e,r)},o.staggerTo=o.allTo=function(t,e,a,l,h,p,d){var _,m,g,v,y=[],w=s(a.stagger||l),b=a.cycle,x=(a.startAt||f).cycle;for(c(t)||("string"==typeof t&&(t=i.selector(t)||t),u(t)&&(t=r(t))),_=(t=t||[]).length-1,g=0;_>=g;g++){for(v in m={},a)m[v]=a[v];if(b&&(n(m,t,g),null!=m.duration&&(e=m.duration,delete m.duration)),x){for(v in x=m.startAt={},a.startAt)x[v]=a.startAt[v];n(m.startAt,t,g)}m.delay=w(g,t[g],t)+(m.delay||0),g===_&&h&&(m.onComplete=function(){a.onComplete&&a.onComplete.apply(a.onCompleteScope||this,arguments),h.apply(d||a.callbackScope||this,p||f)}),y[g]=new o(t[g],e,m)}return y},o.staggerFrom=o.allFrom=function(t,e,i,r,n,s,a){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,o.staggerTo(t,e,i,r,n,s,a)},o.staggerFromTo=o.allFromTo=function(t,e,i,r,n,s,a,l){return r.startAt=i,r.immediateRender=0!=r.immediateRender&&0!=i.immediateRender,o.staggerTo(t,e,r,n,s,a,l)},o.delayedCall=function(t,e,i,r,n){return new o(e,0,{delay:t,onComplete:e,onCompleteParams:i,callbackScope:r,onReverseComplete:e,onReverseCompleteParams:i,immediateRender:!1,useFrames:n,overwrite:0})},o.set=function(t,e){return new o(t,0,e)},o.isTweening=function(t){return i.getTweensOf(t,!0).length>0};var p=function(t,e){for(var r=[],n=0,s=t._first;s;)s instanceof i?r[n++]=s:(e&&(r[n++]=s),n=(r=r.concat(p(s,e))).length),s=s._next;return r},d=o.getAllTweens=function(e){return p(t._rootTimeline,e).concat(p(t._rootFramesTimeline,e))};o.killAll=function(t,i,r,n){null==i&&(i=!0),null==r&&(r=!0);var s,o,a,l=d(0!=n),u=l.length,c=i&&r&&n;for(a=0;u>a;a++)o=l[a],(c||o instanceof e||(s=o.target===o.vars.onComplete)&&r||i&&!s)&&(t?o.totalTime(o._reversed?0:o.totalDuration()):o._enabled(!1,!1))},o.killChildTweensOf=function(t,e){if(null!=t){var n,s,a,h,f,p=l.tweenLookup;if("string"==typeof t&&(t=i.selector(t)||t),u(t)&&(t=r(t)),c(t))for(h=t.length;--h>-1;)o.killChildTweensOf(t[h],e);else{for(a in n=[],p)for(s=p[a].target.parentNode;s;)s===t&&(n=n.concat(p[a].tweens)),s=s.parentNode;for(f=n.length,h=0;f>h;h++)e&&n[h].totalTime(n[h].totalDuration()),n[h]._enabled(!1,!1)}}};var _=function(t,i,r,n){i=!1!==i,r=!1!==r;for(var s,o,a=d(n=!1!==n),l=i&&r&&n,u=a.length;--u>-1;)o=a[u],(l||o instanceof e||(s=o.target===o.vars.onComplete)&&r||i&&!s)&&o.paused(t)};return o.pauseAll=function(t,e,i){_(!0,t,e,i)},o.resumeAll=function(t,e,i){_(!1,t,e,i)},o.globalTimeScale=function(e){var r=t._rootTimeline,n=i.ticker.time;return arguments.length?(e=e||a,r._startTime=n-(n-r._startTime)*r._timeScale/e,r=t._rootFramesTimeline,n=i.ticker.frame,r._startTime=n-(n-r._startTime)*r._timeScale/e,r._timeScale=t._rootTimeline._timeScale=e,e):r._timeScale},h.progress=function(t,e){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&0!=(1&this._cycle)?1-t:t)+this._cycle*(this._duration+this._repeatDelay),e):this.duration()?this._time/this._duration:this.ratio},h.totalProgress=function(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this._totalTime/this.totalDuration()},h.time=function(t,e){if(!arguments.length)return this._time;this._dirty&&this.totalDuration();var i=this._duration,r=this._cycle,n=r*(i+this._repeatDelay);return t>i&&(t=i),this.totalTime(this._yoyo&&1&r?i-t+n:this._repeat?t+n:t,e)},h.duration=function(e){return arguments.length?t.prototype.duration.call(this,e):this._duration},h.totalDuration=function(t){return arguments.length?-1===this._repeat?this:this.duration((t-this._repeat*this._repeatDelay)/(this._repeat+1)):(this._dirty&&(this._totalDuration=-1===this._repeat?999999999999:this._duration*(this._repeat+1)+this._repeatDelay*this._repeat,this._dirty=!1),this._totalDuration)},h.repeat=function(t){return arguments.length?(this._repeat=t,this._uncache(!0)):this._repeat},h.repeatDelay=function(t){return arguments.length?(this._repeatDelay=t,this._uncache(!0)):this._repeatDelay},h.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},o}),!0),_gsScope._gsDefine("TimelineLite",["core.Animation","core.SimpleTimeline","TweenLite"],(function(t,e,i){var r=function(t){e.call(this,t);var i,r,n=this,s=n.vars;for(r in n._labels={},n.autoRemoveChildren=!!s.autoRemoveChildren,n.smoothChildTiming=!!s.smoothChildTiming,n._sortChildren=!0,n._onUpdate=s.onUpdate,s)i=s[r],l(i)&&-1!==i.join("").indexOf("{self}")&&(s[r]=n._swapSelfInParams(i));l(s.tweens)&&n.add(s.tweens,0,s.align,s.stagger)},n=1e-8,s=i._internals,o=r._internals={},a=s.isSelector,l=s.isArray,u=s.lazyTweens,c=s.lazyRender,h=_gsScope._gsDefine.globals,f=function(t){var e,i={};for(e in t)i[e]=t[e];return i},p=function(t,e,i){var r,n,s=t.cycle;for(r in s)n=s[r],t[r]="function"==typeof n?n(i,e[i],e):n[i%n.length];delete t.cycle},d=o.pauseCallback=function(){},_=function(t,e,i,r){var n="immediateRender";return n in e||(e[n]=!(i&&!1===i[n]||r)),e},m=function(t){if("function"==typeof t)return t;var e="object"==typeof t?t:{each:t},i=e.ease,r=e.from||0,n=e.base||0,s={},o=isNaN(r),a=e.axis,l={center:.5,end:1}[r]||0;return function(t,u,c){var h,f,p,d,_,m,g,v,y,w=(c||e).length,b=s[w];if(!b){if(!(y="auto"===e.grid?0:(e.grid||[1/0])[0])){for(g=-1/0;g<(g=c[y++].getBoundingClientRect().left)&&w>y;);y--}for(b=s[w]=[],h=o?Math.min(y,w)*l-.5:r%y,f=o?w*l/y-.5:r/y|0,g=0,v=1/0,m=0;w>m;m++)p=m%y-h,d=f-(m/y|0),b[m]=_=a?Math.abs("y"===a?d:p):Math.sqrt(p*p+d*d),_>g&&(g=_),v>_&&(v=_);b.max=g-v,b.min=v,b.v=w=e.amount||e.each*(y>w?w-1:a?"y"===a?w/y:y:Math.max(y,w/y))||0,b.b=0>w?n-w:n}return w=(b[t]-b.min)/b.max,b.b+(i?i.getRatio(w):w)*b.v}},g=r.prototype=new e;return r.version="2.1.3",r.distribute=m,g.constructor=r,g.kill()._gc=g._forcingPlayhead=g._hasPause=!1,g.to=function(t,e,r,n){var s=r.repeat&&h.TweenMax||i;return e?this.add(new s(t,e,r),n):this.set(t,r,n)},g.from=function(t,e,r,n){return this.add((r.repeat&&h.TweenMax||i).from(t,e,_(0,r)),n)},g.fromTo=function(t,e,r,n,s){var o=n.repeat&&h.TweenMax||i;return n=_(0,n,r),e?this.add(o.fromTo(t,e,r,n),s):this.set(t,n,s)},g.staggerTo=function(t,e,n,s,o,l,u,c){var h,d,_=new r({onComplete:l,onCompleteParams:u,callbackScope:c,smoothChildTiming:this.smoothChildTiming}),g=m(n.stagger||s),v=n.startAt,y=n.cycle;for("string"==typeof t&&(t=i.selector(t)||t),a(t=t||[])&&(t=function(t){var e,i=[],r=t.length;for(e=0;e!==r;i.push(t[e++]));return i}(t)),d=0;d<t.length;d++)h=f(n),v&&(h.startAt=f(v),v.cycle&&p(h.startAt,t,d)),y&&(p(h,t,d),null!=h.duration&&(e=h.duration,delete h.duration)),_.to(t[d],e,h,g(d,t[d],t));return this.add(_,o)},g.staggerFrom=function(t,e,i,r,n,s,o,a){return i.runBackwards=!0,this.staggerTo(t,e,_(0,i),r,n,s,o,a)},g.staggerFromTo=function(t,e,i,r,n,s,o,a,l){return r.startAt=i,this.staggerTo(t,e,_(0,r,i),n,s,o,a,l)},g.call=function(t,e,r,n){return this.add(i.delayedCall(0,t,e,r),n)},g.set=function(t,e,r){return this.add(new i(t,0,_(0,e,null,!0)),r)},r.exportRoot=function(t,e){null==(t=t||{}).smoothChildTiming&&(t.smoothChildTiming=!0);var n,s,o,a,l=new r(t),u=l._timeline;for(null==e&&(e=!0),u._remove(l,!0),l._startTime=0,l._rawPrevTime=l._time=l._totalTime=u._time,o=u._first;o;)a=o._next,e&&o instanceof i&&o.target===o.vars.onComplete||(0>(s=o._startTime-o._delay)&&(n=1),l.add(o,s)),o=a;return u.add(l,0),n&&l.totalDuration(),l},g.add=function(n,s,o,a){var u,c,h,f,p,d,_=this;if("number"!=typeof s&&(s=_._parseTimeOrLabel(s,0,!0,n)),!(n instanceof t)){if(n instanceof Array||n&&n.push&&l(n)){for(o=o||"normal",a=a||0,u=s,c=n.length,h=0;c>h;h++)l(f=n[h])&&(f=new r({tweens:f})),_.add(f,u),"string"!=typeof f&&"function"!=typeof f&&("sequence"===o?u=f._startTime+f.totalDuration()/f._timeScale:"start"===o&&(f._startTime-=f.delay())),u+=a;return _._uncache(!0)}if("string"==typeof n)return _.addLabel(n,s);if("function"!=typeof n)throw"Cannot add "+n+" into the timeline; it is not a tween, timeline, function, or string.";n=i.delayedCall(0,n)}if(e.prototype.add.call(_,n,s),(n._time||!n._duration&&n._initted)&&(u=(_.rawTime()-n._startTime)*n._timeScale,(!n._duration||Math.abs(Math.max(0,Math.min(n.totalDuration(),u)))-n._totalTime>1e-5)&&n.render(u,!1,!1)),(_._gc||_._time===_._duration)&&!_._paused&&_._duration<_.duration())for(d=(p=_).rawTime()>n._startTime;p._timeline;)d&&p._timeline.smoothChildTiming?p.totalTime(p._totalTime,!0):p._gc&&p._enabled(!0,!1),p=p._timeline;return _},g.remove=function(e){if(e instanceof t){this._remove(e,!1);var i=e._timeline=e.vars.useFrames?t._rootFramesTimeline:t._rootTimeline;return e._startTime=(e._paused?e._pauseTime:i._time)-(e._reversed?e.totalDuration()-e._totalTime:e._totalTime)/e._timeScale,this}if(e instanceof Array||e&&e.push&&l(e)){for(var r=e.length;--r>-1;)this.remove(e[r]);return this}return"string"==typeof e?this.removeLabel(e):this.kill(null,e)},g._remove=function(t,i){return e.prototype._remove.call(this,t,i),this._last?this._time>this.duration()&&(this._time=this._duration,this._totalTime=this._totalDuration):this._time=this._totalTime=this._duration=this._totalDuration=0,this},g.append=function(t,e){return this.add(t,this._parseTimeOrLabel(null,e,!0,t))},g.insert=g.insertMultiple=function(t,e,i,r){return this.add(t,e||0,i,r)},g.appendMultiple=function(t,e,i,r){return this.add(t,this._parseTimeOrLabel(null,e,!0,t),i,r)},g.addLabel=function(t,e){return this._labels[t]=this._parseTimeOrLabel(e),this},g.addPause=function(t,e,r,n){var s=i.delayedCall(0,d,r,n||this);return s.vars.onComplete=s.vars.onReverseComplete=e,s.data="isPause",this._hasPause=!0,this.add(s,t)},g.removeLabel=function(t){return delete this._labels[t],this},g.getLabelTime=function(t){return null!=this._labels[t]?this._labels[t]:-1},g._parseTimeOrLabel=function(e,i,r,n){var s,o;if(n instanceof t&&n.timeline===this)this.remove(n);else if(n&&(n instanceof Array||n.push&&l(n)))for(o=n.length;--o>-1;)n[o]instanceof t&&n[o].timeline===this&&this.remove(n[o]);if(s="number"!=typeof e||i?this.duration()>99999999999?this.recent().endTime(!1):this._duration:0,"string"==typeof i)return this._parseTimeOrLabel(i,r&&"number"==typeof e&&null==this._labels[i]?e-s:0,r);if(i=i||0,"string"!=typeof e||!isNaN(e)&&null==this._labels[e])null==e&&(e=s);else{if(-1===(o=e.indexOf("=")))return null==this._labels[e]?r?this._labels[e]=s+i:i:this._labels[e]+i;i=parseInt(e.charAt(o-1)+"1",10)*Number(e.substr(o+1)),e=o>1?this._parseTimeOrLabel(e.substr(0,o-1),0,r):s}return Number(e)+i},g.seek=function(t,e){return this.totalTime("number"==typeof t?t:this._parseTimeOrLabel(t),!1!==e)},g.stop=function(){return this.paused(!0)},g.gotoAndPlay=function(t,e){return this.play(t,e)},g.gotoAndStop=function(t,e){return this.pause(t,e)},g.render=function(t,e,i){this._gc&&this._enabled(!0,!1);var r,s,o,a,l,h,f,p,d=this,_=d._time,m=d._dirty?d.totalDuration():d._totalDuration,g=d._startTime,v=d._timeScale,y=d._paused;if(_!==d._time&&(t+=d._time-_),d._hasPause&&!d._forcingPlayhead&&!e){if(t>_)for(r=d._first;r&&r._startTime<=t&&!h;)r._duration||"isPause"!==r.data||r.ratio||0===r._startTime&&0===d._rawPrevTime||(h=r),r=r._next;else for(r=d._last;r&&r._startTime>=t&&!h;)r._duration||"isPause"===r.data&&r._rawPrevTime>0&&(h=r),r=r._prev;h&&(d._time=d._totalTime=t=h._startTime,p=d._startTime+(d._reversed?d._duration-t:t)/d._timeScale)}if(t>=m-n&&t>=0)d._totalTime=d._time=m,d._reversed||d._hasPausedChild()||(s=!0,a="onComplete",l=!!d._timeline.autoRemoveChildren,0===d._duration&&(0>=t&&t>=-n||d._rawPrevTime<0||d._rawPrevTime===n)&&d._rawPrevTime!==t&&d._first&&(l=!0,d._rawPrevTime>n&&(a="onReverseComplete"))),d._rawPrevTime=d._duration||!e||t||d._rawPrevTime===t?t:n,t=m+1e-4;else if(n>t)if(d._totalTime=d._time=0,t>-n&&(t=0),(0!==_||0===d._duration&&d._rawPrevTime!==n&&(d._rawPrevTime>0||0>t&&d._rawPrevTime>=0))&&(a="onReverseComplete",s=d._reversed),0>t)d._active=!1,d._timeline.autoRemoveChildren&&d._reversed?(l=s=!0,a="onReverseComplete"):d._rawPrevTime>=0&&d._first&&(l=!0),d._rawPrevTime=t;else{if(d._rawPrevTime=d._duration||!e||t||d._rawPrevTime===t?t:n,0===t&&s)for(r=d._first;r&&0===r._startTime;)r._duration||(s=!1),r=r._next;t=0,d._initted||(l=!0)}else d._totalTime=d._time=d._rawPrevTime=t;if(d._time!==_&&d._first||i||l||h){if(d._initted||(d._initted=!0),d._active||!d._paused&&d._time!==_&&t>0&&(d._active=!0),0===_&&d.vars.onStart&&(0===d._time&&d._duration||e||d._callback("onStart")),(f=d._time)>=_)for(r=d._first;r&&(o=r._next,f===d._time&&(!d._paused||y));)(r._active||r._startTime<=f&&!r._paused&&!r._gc)&&(h===r&&(d.pause(),d._pauseTime=p),r._reversed?r.render((r._dirty?r.totalDuration():r._totalDuration)-(t-r._startTime)*r._timeScale,e,i):r.render((t-r._startTime)*r._timeScale,e,i)),r=o;else for(r=d._last;r&&(o=r._prev,f===d._time&&(!d._paused||y));){if(r._active||r._startTime<=_&&!r._paused&&!r._gc){if(h===r){for(h=r._prev;h&&h.endTime()>d._time;)h.render(h._reversed?h.totalDuration()-(t-h._startTime)*h._timeScale:(t-h._startTime)*h._timeScale,e,i),h=h._prev;h=null,d.pause(),d._pauseTime=p}r._reversed?r.render((r._dirty?r.totalDuration():r._totalDuration)-(t-r._startTime)*r._timeScale,e,i):r.render((t-r._startTime)*r._timeScale,e,i)}r=o}d._onUpdate&&(e||(u.length&&c(),d._callback("onUpdate"))),a&&(d._gc||(g===d._startTime||v!==d._timeScale)&&(0===d._time||m>=d.totalDuration())&&(s&&(u.length&&c(),d._timeline.autoRemoveChildren&&d._enabled(!1,!1),d._active=!1),!e&&d.vars[a]&&d._callback(a)))}},g._hasPausedChild=function(){for(var t=this._first;t;){if(t._paused||t instanceof r&&t._hasPausedChild())return!0;t=t._next}return!1},g.getChildren=function(t,e,r,n){n=n||-9999999999;for(var s=[],o=this._first,a=0;o;)o._startTime<n||(o instanceof i?!1!==e&&(s[a++]=o):(!1!==r&&(s[a++]=o),!1!==t&&(a=(s=s.concat(o.getChildren(!0,e,r))).length))),o=o._next;return s},g.getTweensOf=function(t,e){var r,n,s=this._gc,o=[],a=0;for(s&&this._enabled(!0,!0),n=(r=i.getTweensOf(t)).length;--n>-1;)(r[n].timeline===this||e&&this._contains(r[n]))&&(o[a++]=r[n]);return s&&this._enabled(!1,!0),o},g.recent=function(){return this._recent},g._contains=function(t){for(var e=t.timeline;e;){if(e===this)return!0;e=e.timeline}return!1},g.shiftChildren=function(t,e,i){i=i||0;for(var r,n=this._first,s=this._labels;n;)n._startTime>=i&&(n._startTime+=t),n=n._next;if(e)for(r in s)s[r]>=i&&(s[r]+=t);return this._uncache(!0)},g._kill=function(t,e){if(!t&&!e)return this._enabled(!1,!1);for(var i=e?this.getTweensOf(e):this.getChildren(!0,!0,!1),r=i.length,n=!1;--r>-1;)i[r]._kill(t,e)&&(n=!0);return n},g.clear=function(t){var e=this.getChildren(!1,!0,!0),i=e.length;for(this._time=this._totalTime=0;--i>-1;)e[i]._enabled(!1,!1);return!1!==t&&(this._labels={}),this._uncache(!0)},g.invalidate=function(){for(var e=this._first;e;)e.invalidate(),e=e._next;return t.prototype.invalidate.call(this)},g._enabled=function(t,i){if(t===this._gc)for(var r=this._first;r;)r._enabled(t,!0),r=r._next;return e.prototype._enabled.call(this,t,i)},g.totalTime=function(e,i,r){this._forcingPlayhead=!0;var n=t.prototype.totalTime.apply(this,arguments);return this._forcingPlayhead=!1,n},g.duration=function(t){return arguments.length?(0!==this.duration()&&0!==t&&this.timeScale(this._duration/t),this):(this._dirty&&this.totalDuration(),this._duration)},g.totalDuration=function(t){if(!arguments.length){if(this._dirty){for(var e,i,r=0,n=this,s=n._last,o=999999999999;s;)e=s._prev,s._dirty&&s.totalDuration(),s._startTime>o&&n._sortChildren&&!s._paused&&!n._calculatingDuration?(n._calculatingDuration=1,n.add(s,s._startTime-s._delay),n._calculatingDuration=0):o=s._startTime,s._startTime<0&&!s._paused&&(r-=s._startTime,n._timeline.smoothChildTiming&&(n._startTime+=s._startTime/n._timeScale,n._time-=s._startTime,n._totalTime-=s._startTime,n._rawPrevTime-=s._startTime),n.shiftChildren(-s._startTime,!1,-9999999999),o=0),(i=s._startTime+s._totalDuration/s._timeScale)>r&&(r=i),s=e;n._duration=n._totalDuration=r,n._dirty=!1}return this._totalDuration}return t&&this.totalDuration()?this.timeScale(this._totalDuration/t):this},g.paused=function(e){if(!1===e&&this._paused)for(var i=this._first;i;)i._startTime===this._time&&"isPause"===i.data&&(i._rawPrevTime=0),i=i._next;return t.prototype.paused.apply(this,arguments)},g.usesFrames=function(){for(var e=this._timeline;e._timeline;)e=e._timeline;return e===t._rootFramesTimeline},g.rawTime=function(t){return t&&(this._paused||this._repeat&&this.time()>0&&this.totalProgress()<1)?this._totalTime%(this._duration+this._repeatDelay):this._paused?this._totalTime:(this._timeline.rawTime(t)-this._startTime)*this._timeScale},r}),!0),_gsScope._gsDefine("TimelineMax",["TimelineLite","TweenLite","easing.Ease"],(function(t,e,i){var r=function(e){t.call(this,e),this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._cycle=0,this._yoyo=!!this.vars.yoyo,this._dirty=!0},n=1e-8,s=e._internals,o=s.lazyTweens,a=s.lazyRender,l=_gsScope._gsDefine.globals,u=new i(null,null,1,0),c=r.prototype=new t;return c.constructor=r,c.kill()._gc=!1,r.version="2.1.3",c.invalidate=function(){return this._yoyo=!!this.vars.yoyo,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._uncache(!0),t.prototype.invalidate.call(this)},c.addCallback=function(t,i,r,n){return this.add(e.delayedCall(0,t,r,n),i)},c.removeCallback=function(t,e){if(t)if(null==e)this._kill(null,t);else for(var i=this.getTweensOf(t,!1),r=i.length,n=this._parseTimeOrLabel(e);--r>-1;)i[r]._startTime===n&&i[r]._enabled(!1,!1);return this},c.removePause=function(e){return this.removeCallback(t._internals.pauseCallback,e)},c.tweenTo=function(t,i){i=i||{};var r,n,s,o={ease:u,useFrames:this.usesFrames(),immediateRender:!1,lazy:!1},a=i.repeat&&l.TweenMax||e;for(n in i)o[n]=i[n];return o.time=this._parseTimeOrLabel(t),r=Math.abs(Number(o.time)-this._time)/this._timeScale||.001,s=new a(this,r,o),o.onStart=function(){s.target.paused(!0),s.vars.time===s.target.time()||r!==s.duration()||s.isFromTo||s.duration(Math.abs(s.vars.time-s.target.time())/s.target._timeScale).render(s.time(),!0,!0),i.onStart&&i.onStart.apply(i.onStartScope||i.callbackScope||s,i.onStartParams||[])},s},c.tweenFromTo=function(t,e,i){i=i||{},t=this._parseTimeOrLabel(t),i.startAt={onComplete:this.seek,onCompleteParams:[t],callbackScope:this},i.immediateRender=!1!==i.immediateRender;var r=this.tweenTo(e,i);return r.isFromTo=1,r.duration(Math.abs(r.vars.time-t)/this._timeScale||.001)},c.render=function(t,e,i){this._gc&&this._enabled(!0,!1);var r,s,l,u,c,h,f,p,d,_=this,m=_._time,g=_._dirty?_.totalDuration():_._totalDuration,v=_._duration,y=_._totalTime,w=_._startTime,b=_._timeScale,x=_._rawPrevTime,T=_._paused,A=_._cycle;if(m!==_._time&&(t+=_._time-m),t>=g-n&&t>=0)_._locked||(_._totalTime=g,_._cycle=_._repeat),_._reversed||_._hasPausedChild()||(s=!0,u="onComplete",c=!!_._timeline.autoRemoveChildren,0===_._duration&&(0>=t&&t>=-n||0>x||x===n)&&x!==t&&_._first&&(c=!0,x>n&&(u="onReverseComplete"))),_._rawPrevTime=_._duration||!e||t||_._rawPrevTime===t?t:n,_._yoyo&&1&_._cycle?_._time=t=0:(_._time=v,t=v+1e-4);else if(n>t)if(_._locked||(_._totalTime=_._cycle=0),_._time=0,t>-n&&(t=0),(0!==m||0===v&&x!==n&&(x>0||0>t&&x>=0)&&!_._locked)&&(u="onReverseComplete",s=_._reversed),0>t)_._active=!1,_._timeline.autoRemoveChildren&&_._reversed?(c=s=!0,u="onReverseComplete"):x>=0&&_._first&&(c=!0),_._rawPrevTime=t;else{if(_._rawPrevTime=v||!e||t||_._rawPrevTime===t?t:n,0===t&&s)for(r=_._first;r&&0===r._startTime;)r._duration||(s=!1),r=r._next;t=0,_._initted||(c=!0)}else 0===v&&0>x&&(c=!0),_._time=_._rawPrevTime=t,_._locked||(_._totalTime=t,0!==_._repeat&&(h=v+_._repeatDelay,_._cycle=_._totalTime/h>>0,_._cycle&&_._cycle===_._totalTime/h&&t>=y&&_._cycle--,_._time=_._totalTime-_._cycle*h,_._yoyo&&1&_._cycle&&(_._time=v-_._time),_._time>v?(_._time=v,t=v+1e-4):_._time<0?_._time=t=0:t=_._time));if(_._hasPause&&!_._forcingPlayhead&&!e){if((t=_._time)>m||_._repeat&&A!==_._cycle)for(r=_._first;r&&r._startTime<=t&&!f;)r._duration||"isPause"!==r.data||r.ratio||0===r._startTime&&0===_._rawPrevTime||(f=r),r=r._next;else for(r=_._last;r&&r._startTime>=t&&!f;)r._duration||"isPause"===r.data&&r._rawPrevTime>0&&(f=r),r=r._prev;f&&(d=_._startTime+(_._reversed?_._duration-f._startTime:f._startTime)/_._timeScale,f._startTime<v&&(_._time=_._rawPrevTime=t=f._startTime,_._totalTime=t+_._cycle*(_._totalDuration+_._repeatDelay)))}if(_._cycle!==A&&!_._locked){var S=_._yoyo&&0!=(1&A),P=S===(_._yoyo&&0!=(1&_._cycle)),k=_._totalTime,O=_._cycle,C=_._rawPrevTime,R=_._time;if(_._totalTime=A*v,_._cycle<A?S=!S:_._totalTime+=v,_._time=m,_._rawPrevTime=0===v?x-1e-4:x,_._cycle=A,_._locked=!0,m=S?0:v,_.render(m,e,0===v),e||_._gc||_.vars.onRepeat&&(_._cycle=O,_._locked=!1,_._callback("onRepeat")),m!==_._time)return;if(P&&(_._cycle=A,_._locked=!0,m=S?v+1e-4:-1e-4,_.render(m,!0,!1)),_._locked=!1,_._paused&&!T)return;_._time=R,_._totalTime=k,_._cycle=O,_._rawPrevTime=C}if(_._time!==m&&_._first||i||c||f){if(_._initted||(_._initted=!0),_._active||!_._paused&&_._totalTime!==y&&t>0&&(_._active=!0),0===y&&_.vars.onStart&&(0===_._totalTime&&_._totalDuration||e||_._callback("onStart")),(p=_._time)>=m)for(r=_._first;r&&(l=r._next,p===_._time&&(!_._paused||T));)(r._active||r._startTime<=_._time&&!r._paused&&!r._gc)&&(f===r&&(_.pause(),_._pauseTime=d),r._reversed?r.render((r._dirty?r.totalDuration():r._totalDuration)-(t-r._startTime)*r._timeScale,e,i):r.render((t-r._startTime)*r._timeScale,e,i)),r=l;else for(r=_._last;r&&(l=r._prev,p===_._time&&(!_._paused||T));){if(r._active||r._startTime<=m&&!r._paused&&!r._gc){if(f===r){for(f=r._prev;f&&f.endTime()>_._time;)f.render(f._reversed?f.totalDuration()-(t-f._startTime)*f._timeScale:(t-f._startTime)*f._timeScale,e,i),f=f._prev;f=null,_.pause(),_._pauseTime=d}r._reversed?r.render((r._dirty?r.totalDuration():r._totalDuration)-(t-r._startTime)*r._timeScale,e,i):r.render((t-r._startTime)*r._timeScale,e,i)}r=l}_._onUpdate&&(e||(o.length&&a(),_._callback("onUpdate"))),u&&(_._locked||_._gc||(w===_._startTime||b!==_._timeScale)&&(0===_._time||g>=_.totalDuration())&&(s&&(o.length&&a(),_._timeline.autoRemoveChildren&&_._enabled(!1,!1),_._active=!1),!e&&_.vars[u]&&_._callback(u)))}else y!==_._totalTime&&_._onUpdate&&(e||_._callback("onUpdate"))},c.getActive=function(t,e,i){var r,n,s=[],o=this.getChildren(t||null==t,e||null==t,!!i),a=0,l=o.length;for(r=0;l>r;r++)(n=o[r]).isActive()&&(s[a++]=n);return s},c.getLabelAfter=function(t){t||0!==t&&(t=this._time);var e,i=this.getLabelsArray(),r=i.length;for(e=0;r>e;e++)if(i[e].time>t)return i[e].name;return null},c.getLabelBefore=function(t){null==t&&(t=this._time);for(var e=this.getLabelsArray(),i=e.length;--i>-1;)if(e[i].time<t)return e[i].name;return null},c.getLabelsArray=function(){var t,e=[],i=0;for(t in this._labels)e[i++]={time:this._labels[t],name:t};return e.sort((function(t,e){return t.time-e.time})),e},c.invalidate=function(){return this._locked=!1,t.prototype.invalidate.call(this)},c.progress=function(t,e){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&0!=(1&this._cycle)?1-t:t)+this._cycle*(this._duration+this._repeatDelay),e):this._time/this.duration()||0},c.totalProgress=function(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this._totalTime/this.totalDuration()||0},c.totalDuration=function(e){return arguments.length?-1!==this._repeat&&e?this.timeScale(this.totalDuration()/e):this:(this._dirty&&(t.prototype.totalDuration.call(this),this._totalDuration=-1===this._repeat?999999999999:this._duration*(this._repeat+1)+this._repeatDelay*this._repeat),this._totalDuration)},c.time=function(t,e){if(!arguments.length)return this._time;this._dirty&&this.totalDuration();var i=this._duration,r=this._cycle,n=r*(i+this._repeatDelay);return t>i&&(t=i),this.totalTime(this._yoyo&&1&r?i-t+n:this._repeat?t+n:t,e)},c.repeat=function(t){return arguments.length?(this._repeat=t,this._uncache(!0)):this._repeat},c.repeatDelay=function(t){return arguments.length?(this._repeatDelay=t,this._uncache(!0)):this._repeatDelay},c.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},c.currentLabel=function(t){return arguments.length?this.seek(t,!0):this.getLabelBefore(this._time+n)},r}),!0),t=180/Math.PI,e=[],i=[],r=[],n={},s=_gsScope._gsDefine.globals,o=function(t,e,i,r){i===r&&(i=r-(r-e)/1e6),t===e&&(e=t+(i-t)/1e6),this.a=t,this.b=e,this.c=i,this.d=r,this.da=r-t,this.ca=i-t,this.ba=e-t},a=function(t,e,i,r){var n={a:t},s={},o={},a={c:r},l=(t+e)/2,u=(e+i)/2,c=(i+r)/2,h=(l+u)/2,f=(u+c)/2,p=(f-h)/8;return n.b=l+(t-l)/4,s.b=h+p,n.c=s.a=(n.b+s.b)/2,s.c=o.a=(h+f)/2,o.b=f-p,a.b=c+(r-c)/4,o.c=a.a=(o.b+a.b)/2,[n,s,o,a]},l=function(t,n,s,o,l){var u,c,h,f,p,d,_,m,g,v,y,w,b,x=t.length-1,T=0,A=t[0].a;for(u=0;x>u;u++)c=(p=t[T]).a,h=p.d,f=t[T+1].d,l?(y=e[u],b=((w=i[u])+y)*n*.25/(o?.5:r[u]||.5),m=h-((d=h-(h-c)*(o?.5*n:0!==y?b/y:0))+(((_=h+(f-h)*(o?.5*n:0!==w?b/w:0))-d)*(3*y/(y+w)+.5)/4||0))):m=h-((d=h-(h-c)*n*.5)+(_=h+(f-h)*n*.5))/2,d+=m,_+=m,p.c=g=d,p.b=0!==u?A:A=p.a+.6*(p.c-p.a),p.da=h-c,p.ca=g-c,p.ba=A-c,s?(v=a(c,A,g,h),t.splice(T,1,v[0],v[1],v[2],v[3]),T+=4):T++,A=_;(p=t[T]).b=A,p.c=A+.4*(p.d-A),p.da=p.d-p.a,p.ca=p.c-p.a,p.ba=A-p.a,s&&(v=a(p.a,A,p.c,p.d),t.splice(T,1,v[0],v[1],v[2],v[3]))},u=function(t,r,n,s){var a,l,u,c,h,f,p=[];if(s)for(l=(t=[s].concat(t)).length;--l>-1;)"string"==typeof(f=t[l][r])&&"="===f.charAt(1)&&(t[l][r]=s[r]+Number(f.charAt(0)+f.substr(2)));if(0>(a=t.length-2))return p[0]=new o(t[0][r],0,0,t[0][r]),p;for(l=0;a>l;l++)u=t[l][r],c=t[l+1][r],p[l]=new o(u,0,0,c),n&&(h=t[l+2][r],e[l]=(e[l]||0)+(c-u)*(c-u),i[l]=(i[l]||0)+(h-c)*(h-c));return p[l]=new o(t[l][r],0,0,t[l+1][r]),p},c=function(t,s,o,a,c,h){var f,p,d,_,m,g,v,y,w={},b=[],x=h||t[0];for(p in c="string"==typeof c?","+c+",":",x,y,z,left,top,right,bottom,marginTop,marginLeft,marginRight,marginBottom,paddingLeft,paddingTop,paddingRight,paddingBottom,backgroundPosition,backgroundPosition_y,",null==s&&(s=1),t[0])b.push(p);if(t.length>1){for(y=t[t.length-1],v=!0,f=b.length;--f>-1;)if(p=b[f],Math.abs(x[p]-y[p])>.05){v=!1;break}v&&(t=t.concat(),h&&t.unshift(h),t.push(t[1]),h=t[t.length-3])}for(e.length=i.length=r.length=0,f=b.length;--f>-1;)p=b[f],n[p]=-1!==c.indexOf(","+p+","),w[p]=u(t,p,n[p],h);for(f=e.length;--f>-1;)e[f]=Math.sqrt(e[f]),i[f]=Math.sqrt(i[f]);if(!a){for(f=b.length;--f>-1;)if(n[p])for(g=(d=w[b[f]]).length-1,_=0;g>_;_++)m=d[_+1].da/i[_]+d[_].da/e[_]||0,r[_]=(r[_]||0)+m*m;for(f=r.length;--f>-1;)r[f]=Math.sqrt(r[f])}for(f=b.length,_=o?4:1;--f>-1;)d=w[p=b[f]],l(d,s,o,a,n[p]),v&&(d.splice(0,_),d.splice(d.length-_,_));return w},h=function(t,e,i){var r,n,s,a,l,u,c,h,f,p,d,_={},m="cubic"===(e=e||"soft")?3:2,g="soft"===e,v=[];if(g&&i&&(t=[i].concat(t)),null==t||t.length<m+1)throw"invalid Bezier data";for(f in t[0])v.push(f);for(u=v.length;--u>-1;){for(_[f=v[u]]=l=[],p=0,h=t.length,c=0;h>c;c++)r=null==i?t[c][f]:"string"==typeof(d=t[c][f])&&"="===d.charAt(1)?i[f]+Number(d.charAt(0)+d.substr(2)):Number(d),g&&c>1&&h-1>c&&(l[p++]=(r+l[p-2])/2),l[p++]=r;for(h=p-m+1,p=0,c=0;h>c;c+=m)r=l[c],n=l[c+1],s=l[c+2],a=2===m?0:l[c+3],l[p++]=d=3===m?new o(r,n,s,a):new o(r,(2*n+r)/3,(2*n+s)/3,s);l.length=p}return _},f=function(t,e,i){for(var r,n,s,o,a,l,u,c,h,f,p,d=1/i,_=t.length;--_>-1;)for(s=(f=t[_]).a,o=f.d-s,a=f.c-s,l=f.b-s,r=n=0,c=1;i>=c;c++)r=n-(n=((u=d*c)*u*o+3*(h=1-u)*(u*a+h*l))*u),e[p=_*i+c-1]=(e[p]||0)+r*r},p=function(t,e){var i,r,n,s,o=[],a=[],l=0,u=0,c=(e=e>>0||6)-1,h=[],p=[];for(i in t)f(t[i],o,e);for(n=o.length,r=0;n>r;r++)l+=Math.sqrt(o[r]),p[s=r%e]=l,s===c&&(u+=l,h[s=r/e>>0]=p,a[s]=u,l=0,p=[]);return{length:u,lengths:a,segments:h}},d=_gsScope._gsDefine.plugin({propName:"bezier",priority:-1,version:"1.3.9",API:2,global:!0,init:function(t,e,i){this._target=t,e instanceof Array&&(e={values:e}),this._func={},this._mod={},this._props=[],this._timeRes=null==e.timeResolution?6:parseInt(e.timeResolution,10);var r,n,s,o,a,l=e.values||[],u={},f=l[0],d=e.autoRotate||i.vars.orientToBezier;for(r in this._autoRotate=d?d instanceof Array?d:[["x","y","rotation",!0===d?0:Number(d)||0]]:null,f)this._props.push(r);for(s=this._props.length;--s>-1;)r=this._props[s],this._overwriteProps.push(r),n=this._func[r]="function"==typeof t[r],u[r]=n?t[r.indexOf("set")||"function"!=typeof t["get"+r.substr(3)]?r:"get"+r.substr(3)]():parseFloat(t[r]),a||u[r]!==l[0][r]&&(a=u);if(this._beziers="cubic"!==e.type&&"quadratic"!==e.type&&"soft"!==e.type?c(l,isNaN(e.curviness)?1:e.curviness,!1,"thruBasic"===e.type,e.correlate,a):h(l,e.type,u),this._segCount=this._beziers[r].length,this._timeRes){var _=p(this._beziers,this._timeRes);this._length=_.length,this._lengths=_.lengths,this._segments=_.segments,this._l1=this._li=this._s1=this._si=0,this._l2=this._lengths[0],this._curSeg=this._segments[0],this._s2=this._curSeg[0],this._prec=1/this._curSeg.length}if(d=this._autoRotate)for(this._initialRotations=[],d[0]instanceof Array||(this._autoRotate=d=[d]),s=d.length;--s>-1;){for(o=0;3>o;o++)r=d[s][o],this._func[r]="function"==typeof t[r]&&t[r.indexOf("set")||"function"!=typeof t["get"+r.substr(3)]?r:"get"+r.substr(3)];r=d[s][2],this._initialRotations[s]=(this._func[r]?this._func[r].call(this._target):this._target[r])||0,this._overwriteProps.push(r)}return this._startRatio=i.vars.runBackwards?1:0,!0},set:function(e){var i,r,n,s,o,a,l,u,c,h,f,p=this._segCount,d=this._func,_=this._target,m=e!==this._startRatio;if(this._timeRes){if(c=this._lengths,h=this._curSeg,f=e*this._length,n=this._li,f>this._l2&&p-1>n){for(u=p-1;u>n&&(this._l2=c[++n])<=f;);this._l1=c[n-1],this._li=n,this._curSeg=h=this._segments[n],this._s2=h[this._s1=this._si=0]}else if(f<this._l1&&n>0){for(;n>0&&(this._l1=c[--n])>=f;);0===n&&f<this._l1?this._l1=0:n++,this._l2=c[n],this._li=n,this._curSeg=h=this._segments[n],this._s1=h[(this._si=h.length-1)-1]||0,this._s2=h[this._si]}if(i=n,f-=this._l1,n=this._si,f>this._s2&&n<h.length-1){for(u=h.length-1;u>n&&(this._s2=h[++n])<=f;);this._s1=h[n-1],this._si=n}else if(f<this._s1&&n>0){for(;n>0&&(this._s1=h[--n])>=f;);0===n&&f<this._s1?this._s1=0:n++,this._s2=h[n],this._si=n}a=1===e?1:(n+(f-this._s1)/(this._s2-this._s1))*this._prec||0}else a=(e-(i=0>e?0:e>=1?p-1:p*e>>0)*(1/p))*p;for(r=1-a,n=this._props.length;--n>-1;)s=this._props[n],l=(a*a*(o=this._beziers[s][i]).da+3*r*(a*o.ca+r*o.ba))*a+o.a,this._mod[s]&&(l=this._mod[s](l,_)),d[s]?_[s](l):_[s]=l;if(this._autoRotate){var g,v,y,w,b,x,T,A=this._autoRotate;for(n=A.length;--n>-1;)s=A[n][2],x=A[n][3]||0,T=!0===A[n][4]?1:t,o=this._beziers[A[n][0]],g=this._beziers[A[n][1]],o&&g&&(o=o[i],g=g[i],v=o.a+(o.b-o.a)*a,v+=((w=o.b+(o.c-o.b)*a)-v)*a,w+=(o.c+(o.d-o.c)*a-w)*a,y=g.a+(g.b-g.a)*a,y+=((b=g.b+(g.c-g.b)*a)-y)*a,b+=(g.c+(g.d-g.c)*a-b)*a,l=m?Math.atan2(b-y,w-v)*T+x:this._initialRotations[n],this._mod[s]&&(l=this._mod[s](l,_)),d[s]?_[s](l):_[s]=l)}}}),_=d.prototype,d.bezierThrough=c,d.cubicToQuadratic=a,d._autoCSS=!0,d.quadraticToCubic=function(t,e,i){return new o(t,(2*e+t)/3,(2*e+i)/3,i)},d._cssRegister=function(){var t=s.CSSPlugin;if(t){var e=t._internals,i=e._parseToProxy,r=e._setPluginRatio,n=e.CSSPropTween;e._registerComplexSpecialProp("bezier",{parser:function(t,e,s,o,a,l){e instanceof Array&&(e={values:e}),l=new d;var u,c,h,f=e.values,p=f.length-1,_=[],m={};if(0>p)return a;for(u=0;p>=u;u++)h=i(t,f[u],o,a,l,p!==u),_[u]=h.end;for(c in e)m[c]=e[c];return m.values=_,(a=new n(t,"bezier",0,0,h.pt,2)).data=h,a.plugin=l,a.setRatio=r,0===m.autoRotate&&(m.autoRotate=!0),!m.autoRotate||m.autoRotate instanceof Array||(u=!0===m.autoRotate?0:Number(m.autoRotate),m.autoRotate=null!=h.end.left?[["left","top","rotation",u,!1]]:null!=h.end.x&&[["x","y","rotation",u,!1]]),m.autoRotate&&(o._transform||o._enableTransforms(!1),h.autoRotate=o._target._gsTransform,h.proxy.rotation=h.autoRotate.rotation||0,o._overwriteProps.push("rotation")),l._onInitTween(h.proxy,m,o._tween),a}})}},_._mod=function(t){for(var e,i=this._overwriteProps,r=i.length;--r>-1;)(e=t[i[r]])&&"function"==typeof e&&(this._mod[i[r]]=e)},_._kill=function(t){var e,i,r=this._props;for(e in this._beziers)if(e in t)for(delete this._beziers[e],delete this._func[e],i=r.length;--i>-1;)r[i]===e&&r.splice(i,1);if(r=this._autoRotate)for(i=r.length;--i>-1;)t[r[i][2]]&&r.splice(i,1);return this._super._kill.call(this,t)},_gsScope._gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],(function(t,e){var i,r,n,s,o=function(){t.call(this,"css"),this._overwriteProps.length=0,this.setRatio=o.prototype.setRatio},a=_gsScope._gsDefine.globals,l={},u=o.prototype=new t("css");u.constructor=o,o.version="2.1.3",o.API=2,o.defaultTransformPerspective=0,o.defaultSkewType="compensated",o.defaultSmoothOrigin=!0,u="px",o.suffixMap={top:u,right:u,bottom:u,left:u,width:u,height:u,fontSize:u,padding:u,margin:u,perspective:u,lineHeight:""};var c,h,f,p,d,_,m,g,v=/(?:\-|\.|\b)(\d|\.|e\-)+/g,y=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,w=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,b=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b),?/gi,x=/(?![+-]?\d*\.?\d+|[+-]|e[+-]\d+)[^0-9]/g,T=/(?:\d|\-|\+|=|#|\.)*/g,A=/opacity *= *([^)]*)/i,S=/opacity:([^;]*)/i,P=/alpha\(opacity *=.+?\)/i,k=/^(rgb|hsl)/,O=/([A-Z])/g,C=/-([a-z])/gi,R=/(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi,E=function(t,e){return e.toUpperCase()},I=/(?:Left|Right|Width)/i,M=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,z=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,D=/,(?=[^\)]*(?:\(|$))/gi,F=/[\s,\(]/i,L=Math.PI/180,j=180/Math.PI,N={},B={style:{}},X=_gsScope.document||{createElement:function(){return B}},q=function(t,e){var i=X.createElementNS?X.createElementNS(e||"http://www.w3.org/1999/xhtml",t):X.createElement(t);return i.style?i:X.createElement(t)},U=q("div"),W=q("img"),Q=o._internals={_specialProps:l},Y=(_gsScope.navigator||{}).userAgent||"",V=function(){var t=Y.indexOf("Android"),e=q("a");return f=-1!==Y.indexOf("Safari")&&-1===Y.indexOf("Chrome")&&(-1===t||parseFloat(Y.substr(t+8,2))>3),d=f&&parseFloat(Y.substr(Y.indexOf("Version/")+8,2))<6,p=-1!==Y.indexOf("Firefox"),(/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(Y)||/Trident\/.*rv:([0-9]{1,}[\.0-9]{0,})/.exec(Y))&&(_=parseFloat(RegExp.$1)),!!e&&(e.style.cssText="top:1px;opacity:.55;",/^0.55/.test(e.style.opacity))}(),H=function(t){return A.test("string"==typeof t?t:(t.currentStyle?t.currentStyle.filter:t.style.filter)||"")?parseFloat(RegExp.$1)/100:1},$=function(t){_gsScope.console&&console.log(t)},G="",Z="",K=function(t,e){var i,r,n=(e=e||U).style;if(void 0!==n[t])return t;for(t=t.charAt(0).toUpperCase()+t.substr(1),i=["O","Moz","ms","Ms","Webkit"],r=5;--r>-1&&void 0===n[i[r]+t];);return r>=0?(G="-"+(Z=3===r?"ms":i[r]).toLowerCase()+"-",Z+t):null},J="undefined"!=typeof window?window:X.defaultView||{getComputedStyle:function(){}},tt=function(t){return J.getComputedStyle(t)},et=o.getStyle=function(t,e,i,r,n){var s;return V||"opacity"!==e?(!r&&t.style[e]?s=t.style[e]:(i=i||tt(t))?s=i[e]||i.getPropertyValue(e)||i.getPropertyValue(e.replace(O,"-$1").toLowerCase()):t.currentStyle&&(s=t.currentStyle[e]),null==n||s&&"none"!==s&&"auto"!==s&&"auto auto"!==s?s:n):H(t)},it=Q.convertToPixels=function(t,i,r,n,s){if("px"===n||!n&&"lineHeight"!==i)return r;if("auto"===n||!r)return 0;var a,l,u,c=I.test(i),h=t,f=U.style,p=0>r,d=1===r;if(p&&(r=-r),d&&(r*=100),"lineHeight"!==i||n)if("%"===n&&-1!==i.indexOf("border"))a=r/100*(c?t.clientWidth:t.clientHeight);else{if(f.cssText="border:0 solid red;position:"+et(t,"position")+";line-height:0;","%"!==n&&h.appendChild&&"v"!==n.charAt(0)&&"rem"!==n)f[c?"borderLeftWidth":"borderTopWidth"]=r+n;else{if(h=t.parentNode||X.body,-1!==et(h,"display").indexOf("flex")&&(f.position="absolute"),l=h._gsCache,u=e.ticker.frame,l&&c&&l.time===u)return l.width*r/100;f[c?"width":"height"]=r+n}h.appendChild(U),a=parseFloat(U[c?"offsetWidth":"offsetHeight"]),h.removeChild(U),c&&"%"===n&&!1!==o.cacheWidths&&((l=h._gsCache=h._gsCache||{}).time=u,l.width=a/r*100),0!==a||s||(a=it(t,i,r,n,!0))}else l=tt(t).lineHeight,t.style.lineHeight=r,a=parseFloat(tt(t).lineHeight),t.style.lineHeight=l;return d&&(a/=100),p?-a:a},rt=Q.calculateOffset=function(t,e,i){if("absolute"!==et(t,"position",i))return 0;var r="left"===e?"Left":"Top",n=et(t,"margin"+r,i);return t["offset"+r]-(it(t,e,parseFloat(n),n.replace(T,""))||0)},nt=function(t,e){var i,r,n,s={};if(e=e||tt(t))if(i=e.length)for(;--i>-1;)(-1===(n=e[i]).indexOf("-transform")||Et===n)&&(s[n.replace(C,E)]=e.getPropertyValue(n));else for(i in e)(-1===i.indexOf("Transform")||Rt===i)&&(s[i]=e[i]);else if(e=t.currentStyle||t.style)for(i in e)"string"==typeof i&&void 0===s[i]&&(s[i.replace(C,E)]=e[i]);return V||(s.opacity=H(t)),r=Wt(t,e,!1),s.rotation=r.rotation,s.skewX=r.skewX,s.scaleX=r.scaleX,s.scaleY=r.scaleY,s.x=r.x,s.y=r.y,Mt&&(s.z=r.z,s.rotationX=r.rotationX,s.rotationY=r.rotationY,s.scaleZ=r.scaleZ),s.filters&&delete s.filters,s},st=function(t,e,i,r,n){var s,o,a,l={},u=t.style;for(o in i)"cssText"!==o&&"length"!==o&&isNaN(o)&&(e[o]!==(s=i[o])||n&&n[o])&&-1===o.indexOf("Origin")&&("number"==typeof s||"string"==typeof s)&&(l[o]="auto"!==s||"left"!==o&&"top"!==o?""!==s&&"auto"!==s&&"none"!==s||"string"!=typeof e[o]||""===e[o].replace(x,"")?s:0:rt(t,o),void 0!==u[o]&&(a=new wt(u,o,u[o],a)));if(r)for(o in r)"className"!==o&&(l[o]=r[o]);return{difs:l,firstMPT:a}},ot={width:["Left","Right"],height:["Top","Bottom"]},at=["marginLeft","marginRight","marginTop","marginBottom"],lt=function(t,e,i){if("svg"===(t.nodeName+"").toLowerCase())return(i||tt(t))[e]||0;if(t.getCTM&&Xt(t))return t.getBBox()[e]||0;var r=parseFloat("width"===e?t.offsetWidth:t.offsetHeight),n=ot[e],s=n.length;for(i=i||tt(t);--s>-1;)r-=parseFloat(et(t,"padding"+n[s],i,!0))||0,r-=parseFloat(et(t,"border"+n[s]+"Width",i,!0))||0;return r},ut=function(t,e){if("contain"===t||"auto"===t||"auto auto"===t)return t+" ";(null==t||""===t)&&(t="0 0");var i,r=t.split(" "),n=-1!==t.indexOf("left")?"0%":-1!==t.indexOf("right")?"100%":r[0],s=-1!==t.indexOf("top")?"0%":-1!==t.indexOf("bottom")?"100%":r[1];if(r.length>3&&!e){for(r=t.split(", ").join(",").split(","),t=[],i=0;i<r.length;i++)t.push(ut(r[i]));return t.join(",")}return null==s?s="center"===n?"50%":"0":"center"===s&&(s="50%"),("center"===n||isNaN(parseFloat(n))&&-1===(n+"").indexOf("="))&&(n="50%"),t=n+" "+s+(r.length>2?" "+r[2]:""),e&&(e.oxp=-1!==n.indexOf("%"),e.oyp=-1!==s.indexOf("%"),e.oxr="="===n.charAt(1),e.oyr="="===s.charAt(1),e.ox=parseFloat(n.replace(x,"")),e.oy=parseFloat(s.replace(x,"")),e.v=t),e||t},ct=function(t,e){return"function"==typeof t&&(t=t(g,m)),"string"==typeof t&&"="===t.charAt(1)?parseInt(t.charAt(0)+"1",10)*parseFloat(t.substr(2)):parseFloat(t)-parseFloat(e)||0},ht=function(t,e){"function"==typeof t&&(t=t(g,m));var i="string"==typeof t&&"="===t.charAt(1);return"string"==typeof t&&"v"===t.charAt(t.length-2)&&(t=(i?t.substr(0,2):0)+window["inner"+("vh"===t.substr(-2)?"Height":"Width")]*(parseFloat(i?t.substr(2):t)/100)),null==t?e:i?parseInt(t.charAt(0)+"1",10)*parseFloat(t.substr(2))+e:parseFloat(t)||0},ft=function(t,e,i,r){var n,s,o,a,l,u=1e-6;return"function"==typeof t&&(t=t(g,m)),null==t?a=e:"number"==typeof t?a=t:(n=360,s=t.split("_"),o=((l="="===t.charAt(1))?parseInt(t.charAt(0)+"1",10)*parseFloat(s[0].substr(2)):parseFloat(s[0]))*(-1===t.indexOf("rad")?1:j)-(l?0:e),s.length&&(r&&(r[i]=e+o),-1!==t.indexOf("short")&&((o%=n)!==o%180&&(o=0>o?o+n:o-n)),-1!==t.indexOf("_cw")&&0>o?o=(o+9999999999*n)%n-(o/n|0)*n:-1!==t.indexOf("ccw")&&o>0&&(o=(o-9999999999*n)%n-(o/n|0)*n)),a=e+o),u>a&&a>-u&&(a=0),a},pt={aqua:[0,255,255],lime:[0,255,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,255],navy:[0,0,128],white:[255,255,255],fuchsia:[255,0,255],olive:[128,128,0],yellow:[255,255,0],orange:[255,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[255,0,0],pink:[255,192,203],cyan:[0,255,255],transparent:[255,255,255,0]},dt=function(t,e,i){return 255*(1>6*(t=0>t?t+1:t>1?t-1:t)?e+(i-e)*t*6:.5>t?i:2>3*t?e+(i-e)*(2/3-t)*6:e)+.5|0},_t=o.parseColor=function(t,e){var i,r,n,s,o,a,l,u,c,h,f;if(t)if("number"==typeof t)i=[t>>16,t>>8&255,255&t];else{if(","===t.charAt(t.length-1)&&(t=t.substr(0,t.length-1)),pt[t])i=pt[t];else if("#"===t.charAt(0))4===t.length&&(r=t.charAt(1),n=t.charAt(2),s=t.charAt(3),t="#"+r+r+n+n+s+s),i=[(t=parseInt(t.substr(1),16))>>16,t>>8&255,255&t];else if("hsl"===t.substr(0,3))if(i=f=t.match(v),e){if(-1!==t.indexOf("="))return t.match(y)}else o=Number(i[0])%360/360,a=Number(i[1])/100,r=2*(l=Number(i[2])/100)-(n=.5>=l?l*(a+1):l+a-l*a),i.length>3&&(i[3]=Number(i[3])),i[0]=dt(o+1/3,r,n),i[1]=dt(o,r,n),i[2]=dt(o-1/3,r,n);else i=t.match(v)||pt.transparent;i[0]=Number(i[0]),i[1]=Number(i[1]),i[2]=Number(i[2]),i.length>3&&(i[3]=Number(i[3]))}else i=pt.black;return e&&!f&&(r=i[0]/255,n=i[1]/255,s=i[2]/255,l=((u=Math.max(r,n,s))+(c=Math.min(r,n,s)))/2,u===c?o=a=0:(h=u-c,a=l>.5?h/(2-u-c):h/(u+c),o=u===r?(n-s)/h+(s>n?6:0):u===n?(s-r)/h+2:(r-n)/h+4,o*=60),i[0]=o+.5|0,i[1]=100*a+.5|0,i[2]=100*l+.5|0),i},mt=function(t,e){var i,r,n,s=t.match(gt)||[],o=0,a="";if(!s.length)return t;for(i=0;i<s.length;i++)r=s[i],o+=(n=t.substr(o,t.indexOf(r,o)-o)).length+r.length,3===(r=_t(r,e)).length&&r.push(1),a+=n+(e?"hsla("+r[0]+","+r[1]+"%,"+r[2]+"%,"+r[3]:"rgba("+r.join(","))+")";return a+t.substr(o)},gt="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3}){1,2}\\b";for(u in pt)gt+="|"+u+"\\b";gt=new RegExp(gt+")","gi"),o.colorStringFilter=function(t){var e,i=t[0]+" "+t[1];gt.test(i)&&(e=-1!==i.indexOf("hsl(")||-1!==i.indexOf("hsla("),t[0]=mt(t[0],e),t[1]=mt(t[1],e)),gt.lastIndex=0},e.defaultStringFilter||(e.defaultStringFilter=o.colorStringFilter);var vt=function(t,e,i,r){if(null==t)return function(t){return t};var n,s=e?(t.match(gt)||[""])[0]:"",o=t.split(s).join("").match(w)||[],a=t.substr(0,t.indexOf(o[0])),l=")"===t.charAt(t.length-1)?")":"",u=-1!==t.indexOf(" ")?" ":",",c=o.length,h=c>0?o[0].replace(v,""):"";return c?n=e?function(t){var e,f,p,d;if("number"==typeof t)t+=h;else if(r&&D.test(t)){for(d=t.replace(D,"|").split("|"),p=0;p<d.length;p++)d[p]=n(d[p]);return d.join(",")}if(e=(t.match(gt)||[s])[0],p=(f=t.split(e).join("").match(w)||[]).length,c>p--)for(;++p<c;)f[p]=i?f[(p-1)/2|0]:o[p];return a+f.join(u)+u+e+l+(-1!==t.indexOf("inset")?" inset":"")}:function(t){var e,s,f;if("number"==typeof t)t+=h;else if(r&&D.test(t)){for(s=t.replace(D,"|").split("|"),f=0;f<s.length;f++)s[f]=n(s[f]);return s.join(",")}if(f=(e=t.match(","===u?w:b)||[]).length,c>f--)for(;++f<c;)e[f]=i?e[(f-1)/2|0]:o[f];return(a&&"none"!==t&&t.substr(0,t.indexOf(e[0]))||a)+e.join(u)+l}:function(t){return t}},yt=function(t){return t=t.split(","),function(e,i,r,n,s,o,a){var l,u=(i+"").split(" ");for(a={},l=0;4>l;l++)a[t[l]]=u[l]=u[l]||u[(l-1)/2>>0];return n.parse(e,a,s,o)}},wt=(Q._setPluginRatio=function(t){this.plugin.setRatio(t);for(var e,i,r,n,s,o=this.data,a=o.proxy,l=o.firstMPT,u=1e-6;l;)e=a[l.v],l.r?e=l.r(e):u>e&&e>-u&&(e=0),l.t[l.p]=e,l=l._next;if(o.autoRotate&&(o.autoRotate.rotation=o.mod?o.mod.call(this._tween,a.rotation,this.t,this._tween):a.rotation),1===t||0===t)for(l=o.firstMPT,s=1===t?"e":"b";l;){if((i=l.t).type){if(1===i.type){for(n=i.xs0+i.s+i.xs1,r=1;r<i.l;r++)n+=i["xn"+r]+i["xs"+(r+1)];i[s]=n}}else i[s]=i.s+i.xs0;l=l._next}},function(t,e,i,r,n){this.t=t,this.p=e,this.v=i,this.r=n,r&&(r._prev=this,this._next=r)}),bt=(Q._parseToProxy=function(t,e,i,r,n,s){var o,a,l,u,c,h=r,f={},p={},d=i._transform,_=N;for(i._transform=null,N=e,r=c=i.parse(t,e,r,n),N=_,s&&(i._transform=d,h&&(h._prev=null,h._prev&&(h._prev._next=null)));r&&r!==h;){if(r.type<=1&&(p[a=r.p]=r.s+r.c,f[a]=r.s,s||(u=new wt(r,"s",a,u,r.r),r.c=0),1===r.type))for(o=r.l;--o>0;)l="xn"+o,p[a=r.p+"_"+l]=r.data[l],f[a]=r[l],s||(u=new wt(r,l,a,u,r.rxp[l]));r=r._next}return{proxy:f,end:p,firstMPT:u,pt:c}},Q.CSSPropTween=function(t,e,r,n,o,a,l,u,c,h,f){this.t=t,this.p=e,this.s=r,this.c=n,this.n=l||e,t instanceof bt||s.push(this.n),this.r=u?"function"==typeof u?u:Math.round:u,this.type=a||0,c&&(this.pr=c,i=!0),this.b=void 0===h?r:h,this.e=void 0===f?r+n:f,o&&(this._next=o,o._prev=this)}),xt=function(t,e,i,r,n,s){var o=new bt(t,e,i,r-i,n,-1,s);return o.b=i,o.e=o.xs0=r,o},Tt=o.parseComplex=function(t,e,i,r,n,s,a,l,u,h){i=i||s||"","function"==typeof r&&(r=r(g,m)),a=new bt(t,e,0,0,a,h?2:1,null,!1,l,i,r),r+="",n&&gt.test(r+i)&&(r=[i,r],o.colorStringFilter(r),i=r[0],r=r[1]);var f,p,d,_,w,b,x,T,A,S,P,k,O,C=i.split(", ").join(",").split(" "),R=r.split(", ").join(",").split(" "),E=C.length,I=!1!==c;for((-1!==r.indexOf(",")||-1!==i.indexOf(","))&&(-1!==(r+i).indexOf("rgb")||-1!==(r+i).indexOf("hsl")?(C=C.join(" ").replace(D,", ").split(" "),R=R.join(" ").replace(D,", ").split(" ")):(C=C.join(" ").split(",").join(", ").split(" "),R=R.join(" ").split(",").join(", ").split(" ")),E=C.length),E!==R.length&&(E=(C=(s||"").split(" ")).length),a.plugin=u,a.setRatio=h,gt.lastIndex=0,f=0;E>f;f++)if(_=C[f],w=R[f]+"",(T=parseFloat(_))||0===T)a.appendXtra("",T,ct(w,T),w.replace(y,""),!(!I||-1===w.indexOf("px"))&&Math.round,!0);else if(n&&gt.test(_))k=")"+((k=w.indexOf(")")+1)?w.substr(k):""),O=-1!==w.indexOf("hsl")&&V,S=w,_=_t(_,O),w=_t(w,O),(A=_.length+w.length>6)&&!V&&0===w[3]?(a["xs"+a.l]+=a.l?" transparent":"transparent",a.e=a.e.split(R[f]).join("transparent")):(V||(A=!1),O?a.appendXtra(S.substr(0,S.indexOf("hsl"))+(A?"hsla(":"hsl("),_[0],ct(w[0],_[0]),",",!1,!0).appendXtra("",_[1],ct(w[1],_[1]),"%,",!1).appendXtra("",_[2],ct(w[2],_[2]),A?"%,":"%"+k,!1):a.appendXtra(S.substr(0,S.indexOf("rgb"))+(A?"rgba(":"rgb("),_[0],w[0]-_[0],",",Math.round,!0).appendXtra("",_[1],w[1]-_[1],",",Math.round).appendXtra("",_[2],w[2]-_[2],A?",":k,Math.round),A&&(_=_.length<4?1:_[3],a.appendXtra("",_,(w.length<4?1:w[3])-_,k,!1))),gt.lastIndex=0;else if(b=_.match(v)){if(!(x=w.match(y))||x.length!==b.length)return a;for(d=0,p=0;p<b.length;p++)P=b[p],S=_.indexOf(P,d),a.appendXtra(_.substr(d,S-d),Number(P),ct(x[p],P),"",!(!I||"px"!==_.substr(S+P.length,2))&&Math.round,0===p),d=S+P.length;a["xs"+a.l]+=_.substr(d)}else a["xs"+a.l]+=a.l||a["xs"+a.l]?" "+w:w;if(-1!==r.indexOf("=")&&a.data){for(k=a.xs0+a.data.s,f=1;f<a.l;f++)k+=a["xs"+f]+a.data["xn"+f];a.e=k+a["xs"+f]}return a.l||(a.type=-1,a.xs0=a.e),a.xfirst||a},At=9;for((u=bt.prototype).l=u.pr=0;--At>0;)u["xn"+At]=0,u["xs"+At]="";u.xs0="",u._next=u._prev=u.xfirst=u.data=u.plugin=u.setRatio=u.rxp=null,u.appendXtra=function(t,e,i,r,n,s){var o=this,a=o.l;return o["xs"+a]+=s&&(a||o["xs"+a])?" "+t:t||"",i||0===a||o.plugin?(o.l++,o.type=o.setRatio?2:1,o["xs"+o.l]=r||"",a>0?(o.data["xn"+a]=e+i,o.rxp["xn"+a]=n,o["xn"+a]=e,o.plugin||(o.xfirst=new bt(o,"xn"+a,e,i,o.xfirst||o,0,o.n,n,o.pr),o.xfirst.xs0=0),o):(o.data={s:e+i},o.rxp={},o.s=e,o.c=i,o.r=n,o)):(o["xs"+a]+=e+(r||""),o)};var St=function(t,e){e=e||{},this.p=e.prefix&&K(t)||t,l[t]=l[this.p]=this,this.format=e.formatter||vt(e.defaultValue,e.color,e.collapsible,e.multi),e.parser&&(this.parse=e.parser),this.clrs=e.color,this.multi=e.multi,this.keyword=e.keyword,this.dflt=e.defaultValue,this.allowFunc=e.allowFunc,this.pr=e.priority||0},Pt=Q._registerComplexSpecialProp=function(t,e,i){"object"!=typeof e&&(e={parser:i});var r,n=t.split(","),s=e.defaultValue;for(i=i||[s],r=0;r<n.length;r++)e.prefix=0===r&&e.prefix,e.defaultValue=i[r]||s,new St(n[r],e)},kt=Q._registerPluginProp=function(t){if(!l[t]){var e=t.charAt(0).toUpperCase()+t.substr(1)+"Plugin";Pt(t,{parser:function(t,i,r,n,s,o,u){var c=a.com.greensock.plugins[e];return c?(c._cssRegister(),l[r].parse(t,i,r,n,s,o,u)):($("Error: "+e+" js file not loaded."),s)}})}};(u=St.prototype).parseComplex=function(t,e,i,r,n,s){var o,a,l,u,c,h,f=this.keyword;if(this.multi&&(D.test(i)||D.test(e)?(a=e.replace(D,"|").split("|"),l=i.replace(D,"|").split("|")):f&&(a=[e],l=[i])),l){for(u=l.length>a.length?l.length:a.length,o=0;u>o;o++)e=a[o]=a[o]||this.dflt,i=l[o]=l[o]||this.dflt,f&&((c=e.indexOf(f))!==(h=i.indexOf(f))&&(-1===h?a[o]=a[o].split(f).join(""):-1===c&&(a[o]+=" "+f)));e=a.join(", "),i=l.join(", ")}return Tt(t,this.p,e,i,this.clrs,this.dflt,r,this.pr,n,s)},u.parse=function(t,e,i,r,s,o,a){return this.parseComplex(t.style,this.format(et(t,this.p,n,!1,this.dflt)),this.format(e),s,o)},o.registerSpecialProp=function(t,e,i){Pt(t,{parser:function(t,r,n,s,o,a,l){var u=new bt(t,n,0,0,o,2,n,!1,i);return u.plugin=a,u.setRatio=e(t,r,s._tween,n),u},priority:i})},o.useSVGTransformAttr=!0;var Ot,Ct="scaleX,scaleY,scaleZ,x,y,z,skewX,skewY,rotation,rotationX,rotationY,perspective,xPercent,yPercent".split(","),Rt=K("transform"),Et=G+"transform",It=K("transformOrigin"),Mt=null!==K("perspective"),zt=Q.Transform=function(){this.perspective=parseFloat(o.defaultTransformPerspective)||0,this.force3D=!(!1===o.defaultForce3D||!Mt)&&(o.defaultForce3D||"auto")},Dt=_gsScope.SVGElement,Ft=function(t,e,i){var r,n=X.createElementNS("http://www.w3.org/2000/svg",t),s=/([a-z])([A-Z])/g;for(r in i)n.setAttributeNS(null,r.replace(s,"$1-$2").toLowerCase(),i[r]);return e.appendChild(n),n},Lt=X.documentElement||{},jt=function(){var t,e,i,r=_||/Android/i.test(Y)&&!_gsScope.chrome;return X.createElementNS&&Lt.appendChild&&!r&&(t=Ft("svg",Lt),i=(e=Ft("rect",t,{width:100,height:50,x:100})).getBoundingClientRect().width,e.style[It]="50% 50%",e.style[Rt]="scaleX(0.5)",r=i===e.getBoundingClientRect().width&&!(p&&Mt),Lt.removeChild(t)),r}(),Nt=function(t,e,i,r,n,s){var a,l,u,c,h,f,p,d,_,m,g,v,y,w,b=t._gsTransform,x=Ut(t,!0);b&&(y=b.xOrigin,w=b.yOrigin),(!r||(a=r.split(" ")).length<2)&&(0===(p=t.getBBox()).x&&0===p.y&&p.width+p.height===0&&(p={x:parseFloat(t.hasAttribute("x")?t.getAttribute("x"):t.hasAttribute("cx")?t.getAttribute("cx"):0)||0,y:parseFloat(t.hasAttribute("y")?t.getAttribute("y"):t.hasAttribute("cy")?t.getAttribute("cy"):0)||0,width:0,height:0}),a=[(-1!==(e=ut(e).split(" "))[0].indexOf("%")?parseFloat(e[0])/100*p.width:parseFloat(e[0]))+p.x,(-1!==e[1].indexOf("%")?parseFloat(e[1])/100*p.height:parseFloat(e[1]))+p.y]),i.xOrigin=c=parseFloat(a[0]),i.yOrigin=h=parseFloat(a[1]),r&&x!==qt&&(f=x[0],p=x[1],d=x[2],_=x[3],m=x[4],g=x[5],(v=f*_-p*d)&&(l=c*(_/v)+h*(-d/v)+(d*g-_*m)/v,u=c*(-p/v)+h*(f/v)-(f*g-p*m)/v,c=i.xOrigin=a[0]=l,h=i.yOrigin=a[1]=u)),b&&(s&&(i.xOffset=b.xOffset,i.yOffset=b.yOffset,b=i),n||!1!==n&&!1!==o.defaultSmoothOrigin?(l=c-y,u=h-w,b.xOffset+=l*x[0]+u*x[2]-l,b.yOffset+=l*x[1]+u*x[3]-u):b.xOffset=b.yOffset=0),s||t.setAttribute("data-svg-origin",a.join(" "))},Bt=function(t){var e,i=q("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),r=this.parentNode,n=this.nextSibling,s=this.style.cssText;if(Lt.appendChild(i),i.appendChild(this),this.style.display="block",t)try{e=this.getBBox(),this._originalGetBBox=this.getBBox,this.getBBox=Bt}catch(t){}else this._originalGetBBox&&(e=this._originalGetBBox());return n?r.insertBefore(this,n):r.appendChild(this),Lt.removeChild(i),this.style.cssText=s,e},Xt=function(t){return!(!Dt||!t.getCTM||t.parentNode&&!t.ownerSVGElement||!function(t){try{return t.getBBox()}catch(e){return Bt.call(t,!0)}}(t))},qt=[1,0,0,1,0,0],Ut=function(t,e){var i,r,n,s,o,a,l,u=t._gsTransform||new zt,c=1e5,h=t.style;if(Rt?r=et(t,Et,null,!0):t.currentStyle&&(r=(r=t.currentStyle.filter.match(M))&&4===r.length?[r[0].substr(4),Number(r[2].substr(4)),Number(r[1].substr(4)),r[3].substr(4),u.x||0,u.y||0].join(","):""),i=!r||"none"===r||"matrix(1, 0, 0, 1, 0, 0)"===r,Rt&&i&&!t.offsetParent&&t!==Lt&&(s=h.display,h.display="block",(l=t.parentNode)&&t.offsetParent||(o=1,a=t.nextSibling,Lt.appendChild(t)),i=!(r=et(t,Et,null,!0))||"none"===r||"matrix(1, 0, 0, 1, 0, 0)"===r,s?h.display=s:Ht(h,"display"),o&&(a?l.insertBefore(t,a):l?l.appendChild(t):Lt.removeChild(t))),(u.svg||t.getCTM&&Xt(t))&&(i&&-1!==(h[Rt]+"").indexOf("matrix")&&(r=h[Rt],i=0),n=t.getAttribute("transform"),i&&n&&(r="matrix("+(n=t.transform.baseVal.consolidate().matrix).a+","+n.b+","+n.c+","+n.d+","+n.e+","+n.f+")",i=0)),i)return qt;for(n=(r||"").match(v)||[],At=n.length;--At>-1;)s=Number(n[At]),n[At]=(o=s-(s|=0))?(o*c+(0>o?-.5:.5)|0)/c+s:s;return e&&n.length>6?[n[0],n[1],n[4],n[5],n[12],n[13]]:n},Wt=Q.getTransform=function(t,i,r,n){if(t._gsTransform&&r&&!n)return t._gsTransform;var s,a,l,u,c,h,f=r&&t._gsTransform||new zt,p=f.scaleX<0,d=2e-5,_=1e5,m=Mt&&(parseFloat(et(t,It,i,!1,"0 0 0").split(" ")[2])||f.zOrigin)||0,g=parseFloat(o.defaultTransformPerspective)||0;if(f.svg=!(!t.getCTM||!Xt(t)),f.svg&&(Nt(t,et(t,It,i,!1,"50% 50%")+"",f,t.getAttribute("data-svg-origin")),Ot=o.useSVGTransformAttr||jt),(s=Ut(t))!==qt){if(16===s.length){var v,y,w,b,x,T=s[0],A=s[1],S=s[2],P=s[3],k=s[4],O=s[5],C=s[6],R=s[7],E=s[8],I=s[9],M=s[10],z=s[12],D=s[13],F=s[14],L=s[11],N=Math.atan2(C,M);f.zOrigin&&(z=E*(F=-f.zOrigin)-s[12],D=I*F-s[13],F=M*F+f.zOrigin-s[14]),f.rotationX=N*j,N&&(v=k*(b=Math.cos(-N))+E*(x=Math.sin(-N)),y=O*b+I*x,w=C*b+M*x,E=k*-x+E*b,I=O*-x+I*b,M=C*-x+M*b,L=R*-x+L*b,k=v,O=y,C=w),N=Math.atan2(-S,M),f.rotationY=N*j,N&&(y=A*(b=Math.cos(-N))-I*(x=Math.sin(-N)),w=S*b-M*x,I=A*x+I*b,M=S*x+M*b,L=P*x+L*b,T=v=T*b-E*x,A=y,S=w),N=Math.atan2(A,T),f.rotation=N*j,N&&(v=T*(b=Math.cos(N))+A*(x=Math.sin(N)),y=k*b+O*x,w=E*b+I*x,A=A*b-T*x,O=O*b-k*x,I=I*b-E*x,T=v,k=y,E=w),f.rotationX&&Math.abs(f.rotationX)+Math.abs(f.rotation)>359.9&&(f.rotationX=f.rotation=0,f.rotationY=180-f.rotationY),N=Math.atan2(k,O),f.scaleX=(Math.sqrt(T*T+A*A+S*S)*_+.5|0)/_,f.scaleY=(Math.sqrt(O*O+C*C)*_+.5|0)/_,f.scaleZ=(Math.sqrt(E*E+I*I+M*M)*_+.5|0)/_,T/=f.scaleX,k/=f.scaleY,A/=f.scaleX,O/=f.scaleY,Math.abs(N)>d?(f.skewX=N*j,k=0,"simple"!==f.skewType&&(f.scaleY*=1/Math.cos(N))):f.skewX=0,f.perspective=L?1/(0>L?-L:L):0,f.x=z,f.y=D,f.z=F,f.svg&&(f.x-=f.xOrigin-(f.xOrigin*T-f.yOrigin*k),f.y-=f.yOrigin-(f.yOrigin*A-f.xOrigin*O))}else if(!Mt||n||!s.length||f.x!==s[4]||f.y!==s[5]||!f.rotationX&&!f.rotationY){var B=s.length>=6,X=B?s[0]:1,q=s[1]||0,U=s[2]||0,W=B?s[3]:1;f.x=s[4]||0,f.y=s[5]||0,l=Math.sqrt(X*X+q*q),u=Math.sqrt(W*W+U*U),c=X||q?Math.atan2(q,X)*j:f.rotation||0,h=U||W?Math.atan2(U,W)*j+c:f.skewX||0,f.scaleX=l,f.scaleY=u,f.rotation=c,f.skewX=h,Mt&&(f.rotationX=f.rotationY=f.z=0,f.perspective=g,f.scaleZ=1),f.svg&&(f.x-=f.xOrigin-(f.xOrigin*X+f.yOrigin*U),f.y-=f.yOrigin-(f.xOrigin*q+f.yOrigin*W))}for(a in Math.abs(f.skewX)>90&&Math.abs(f.skewX)<270&&(p?(f.scaleX*=-1,f.skewX+=f.rotation<=0?180:-180,f.rotation+=f.rotation<=0?180:-180):(f.scaleY*=-1,f.skewX+=f.skewX<=0?180:-180)),f.zOrigin=m,f)f[a]<d&&f[a]>-d&&(f[a]=0)}return r&&(t._gsTransform=f,f.svg&&(Ot&&t.style[Rt]?e.delayedCall(.001,(function(){Ht(t.style,Rt)})):!Ot&&t.getAttribute("transform")&&e.delayedCall(.001,(function(){t.removeAttribute("transform")})))),f},Qt=function(t){var e,i,r=this.data,n=-r.rotation*L,s=n+r.skewX*L,o=1e5,a=(Math.cos(n)*r.scaleX*o|0)/o,l=(Math.sin(n)*r.scaleX*o|0)/o,u=(Math.sin(s)*-r.scaleY*o|0)/o,c=(Math.cos(s)*r.scaleY*o|0)/o,h=this.t.style,f=this.t.currentStyle;if(f){i=l,l=-u,u=-i,e=f.filter,h.filter="";var p,d,m=this.t.offsetWidth,g=this.t.offsetHeight,v="absolute"!==f.position,y="progid:DXImageTransform.Microsoft.Matrix(M11="+a+", M12="+l+", M21="+u+", M22="+c,w=r.x+m*r.xPercent/100,b=r.y+g*r.yPercent/100;if(null!=r.ox&&(w+=(p=(r.oxp?m*r.ox*.01:r.ox)-m/2)-(p*a+(d=(r.oyp?g*r.oy*.01:r.oy)-g/2)*l),b+=d-(p*u+d*c)),v?y+=", Dx="+((p=m/2)-(p*a+(d=g/2)*l)+w)+", Dy="+(d-(p*u+d*c)+b)+")":y+=", sizingMethod='auto expand')",-1!==e.indexOf("DXImageTransform.Microsoft.Matrix(")?h.filter=e.replace(z,y):h.filter=y+" "+e,(0===t||1===t)&&1===a&&0===l&&0===u&&1===c&&(v&&-1===y.indexOf("Dx=0, Dy=0")||A.test(e)&&100!==parseFloat(RegExp.$1)||-1===e.indexOf(e.indexOf("Alpha"))&&h.removeAttribute("filter")),!v){var x,S,P,k=8>_?1:-1;for(p=r.ieOffsetX||0,d=r.ieOffsetY||0,r.ieOffsetX=Math.round((m-((0>a?-a:a)*m+(0>l?-l:l)*g))/2+w),r.ieOffsetY=Math.round((g-((0>c?-c:c)*g+(0>u?-u:u)*m))/2+b),At=0;4>At;At++)P=(i=-1!==(x=f[S=at[At]]).indexOf("px")?parseFloat(x):it(this.t,S,parseFloat(x),x.replace(T,""))||0)!==r[S]?2>At?-r.ieOffsetX:-r.ieOffsetY:2>At?p-r.ieOffsetX:d-r.ieOffsetY,h[S]=(r[S]=Math.round(i-P*(0===At||2===At?1:k)))+"px"}}},Yt=Q.set3DTransformRatio=Q.setTransformRatio=function(t){var e,i,r,n,s,o,a,l,u,c,h,f,d,_,m,g,v,y,w,b,x,T,A,S=this.data,P=this.t.style,k=S.rotation,O=S.rotationX,C=S.rotationY,R=S.scaleX,E=S.scaleY,I=S.scaleZ,M=S.x,z=S.y,D=S.z,F=S.svg,j=S.perspective,N=S.force3D,B=S.skewY,X=S.skewX;if(B&&(X+=B,k+=B),!((1!==t&&0!==t||"auto"!==N||this.tween._totalTime!==this.tween._totalDuration&&this.tween._totalTime)&&N||D||j||C||O||1!==I)||Ot&&F||!Mt)k||X||F?(k*=L,T=X*L,A=1e5,i=Math.cos(k)*R,s=Math.sin(k)*R,r=Math.sin(k-T)*-E,o=Math.cos(k-T)*E,T&&"simple"===S.skewType&&(e=Math.tan(T-B*L),r*=e=Math.sqrt(1+e*e),o*=e,B&&(e=Math.tan(B*L),i*=e=Math.sqrt(1+e*e),s*=e)),F&&(M+=S.xOrigin-(S.xOrigin*i+S.yOrigin*r)+S.xOffset,z+=S.yOrigin-(S.xOrigin*s+S.yOrigin*o)+S.yOffset,Ot&&(S.xPercent||S.yPercent)&&(m=this.t.getBBox(),M+=.01*S.xPercent*m.width,z+=.01*S.yPercent*m.height),(m=1e-6)>M&&M>-m&&(M=0),m>z&&z>-m&&(z=0)),w=(i*A|0)/A+","+(s*A|0)/A+","+(r*A|0)/A+","+(o*A|0)/A+","+M+","+z+")",F&&Ot?this.t.setAttribute("transform","matrix("+w):P[Rt]=(S.xPercent||S.yPercent?"translate("+S.xPercent+"%,"+S.yPercent+"%) matrix(":"matrix(")+w):P[Rt]=(S.xPercent||S.yPercent?"translate("+S.xPercent+"%,"+S.yPercent+"%) matrix(":"matrix(")+R+",0,0,"+E+","+M+","+z+")";else{if(p&&((m=1e-4)>R&&R>-m&&(R=I=2e-5),m>E&&E>-m&&(E=I=2e-5),!j||S.z||S.rotationX||S.rotationY||(j=0)),k||X)k*=L,g=i=Math.cos(k),v=s=Math.sin(k),X&&(k-=X*L,g=Math.cos(k),v=Math.sin(k),"simple"===S.skewType&&(e=Math.tan((X-B)*L),g*=e=Math.sqrt(1+e*e),v*=e,S.skewY&&(e=Math.tan(B*L),i*=e=Math.sqrt(1+e*e),s*=e))),r=-v,o=g;else{if(!(C||O||1!==I||j||F))return void(P[Rt]=(S.xPercent||S.yPercent?"translate("+S.xPercent+"%,"+S.yPercent+"%) translate3d(":"translate3d(")+M+"px,"+z+"px,"+D+"px)"+(1!==R||1!==E?" scale("+R+","+E+")":""));i=o=1,r=s=0}c=1,n=a=l=u=h=f=0,d=j?-1/j:0,_=S.zOrigin,m=1e-6,b=",",x="0",(k=C*L)&&(g=Math.cos(k),l=-(v=Math.sin(k)),h=d*-v,n=i*v,a=s*v,c=g,d*=g,i*=g,s*=g),(k=O*L)&&(e=r*(g=Math.cos(k))+n*(v=Math.sin(k)),y=o*g+a*v,u=c*v,f=d*v,n=r*-v+n*g,a=o*-v+a*g,c*=g,d*=g,r=e,o=y),1!==I&&(n*=I,a*=I,c*=I,d*=I),1!==E&&(r*=E,o*=E,u*=E,f*=E),1!==R&&(i*=R,s*=R,l*=R,h*=R),(_||F)&&(_&&(M+=n*-_,z+=a*-_,D+=c*-_+_),F&&(M+=S.xOrigin-(S.xOrigin*i+S.yOrigin*r)+S.xOffset,z+=S.yOrigin-(S.xOrigin*s+S.yOrigin*o)+S.yOffset),m>M&&M>-m&&(M=x),m>z&&z>-m&&(z=x),m>D&&D>-m&&(D=0)),w=S.xPercent||S.yPercent?"translate("+S.xPercent+"%,"+S.yPercent+"%) matrix3d(":"matrix3d(",w+=(m>i&&i>-m?x:i)+b+(m>s&&s>-m?x:s)+b+(m>l&&l>-m?x:l),w+=b+(m>h&&h>-m?x:h)+b+(m>r&&r>-m?x:r)+b+(m>o&&o>-m?x:o),O||C||1!==I?(w+=b+(m>u&&u>-m?x:u)+b+(m>f&&f>-m?x:f)+b+(m>n&&n>-m?x:n),w+=b+(m>a&&a>-m?x:a)+b+(m>c&&c>-m?x:c)+b+(m>d&&d>-m?x:d)+b):w+=",0,0,0,0,1,0,",w+=M+b+z+b+D+b+(j?1+-D/j:1)+")",P[Rt]=w}};(u=zt.prototype).x=u.y=u.z=u.skewX=u.skewY=u.rotation=u.rotationX=u.rotationY=u.zOrigin=u.xPercent=u.yPercent=u.xOffset=u.yOffset=0,u.scaleX=u.scaleY=u.scaleZ=1,Pt("transform,scale,scaleX,scaleY,scaleZ,x,y,z,rotation,rotationX,rotationY,rotationZ,skewX,skewY,shortRotation,shortRotationX,shortRotationY,shortRotationZ,transformOrigin,svgOrigin,transformPerspective,directionalRotation,parseTransform,force3D,skewType,xPercent,yPercent,smoothOrigin",{parser:function(t,e,i,r,s,a,l){if(r._lastParsedTransform===l)return s;r._lastParsedTransform=l;var u=l.scale&&"function"==typeof l.scale?l.scale:0;u&&(l.scale=u(g,t));var c,h,f,p,d,_,v,y,w,b=t._gsTransform,x=t.style,T=1e-6,A=Ct.length,S=l,P={},k="transformOrigin",O=Wt(t,n,!0,S.parseTransform),C=S.transform&&("function"==typeof S.transform?S.transform(g,m):S.transform);if(O.skewType=S.skewType||O.skewType||o.defaultSkewType,r._transform=O,"rotationZ"in S&&(S.rotation=S.rotationZ),C&&"string"==typeof C&&Rt)(h=U.style)[Rt]=C,h.display="block",h.position="absolute",-1!==C.indexOf("%")&&(h.width=et(t,"width"),h.height=et(t,"height")),X.body.appendChild(U),c=Wt(U,null,!1),"simple"===O.skewType&&(c.scaleY*=Math.cos(c.skewX*L)),O.svg&&(_=O.xOrigin,v=O.yOrigin,c.x-=O.xOffset,c.y-=O.yOffset,(S.transformOrigin||S.svgOrigin)&&(C={},Nt(t,ut(S.transformOrigin),C,S.svgOrigin,S.smoothOrigin,!0),_=C.xOrigin,v=C.yOrigin,c.x-=C.xOffset-O.xOffset,c.y-=C.yOffset-O.yOffset),(_||v)&&(y=Ut(U,!0),c.x-=_-(_*y[0]+v*y[2]),c.y-=v-(_*y[1]+v*y[3]))),X.body.removeChild(U),c.perspective||(c.perspective=O.perspective),null!=S.xPercent&&(c.xPercent=ht(S.xPercent,O.xPercent)),null!=S.yPercent&&(c.yPercent=ht(S.yPercent,O.yPercent));else if("object"==typeof S){if(c={scaleX:ht(null!=S.scaleX?S.scaleX:S.scale,O.scaleX),scaleY:ht(null!=S.scaleY?S.scaleY:S.scale,O.scaleY),scaleZ:ht(S.scaleZ,O.scaleZ),x:ht(S.x,O.x),y:ht(S.y,O.y),z:ht(S.z,O.z),xPercent:ht(S.xPercent,O.xPercent),yPercent:ht(S.yPercent,O.yPercent),perspective:ht(S.transformPerspective,O.perspective)},null!=(d=S.directionalRotation))if("object"==typeof d)for(h in d)S[h]=d[h];else S.rotation=d;"string"==typeof S.x&&-1!==S.x.indexOf("%")&&(c.x=0,c.xPercent=ht(S.x,O.xPercent)),"string"==typeof S.y&&-1!==S.y.indexOf("%")&&(c.y=0,c.yPercent=ht(S.y,O.yPercent)),c.rotation=ft("rotation"in S?S.rotation:"shortRotation"in S?S.shortRotation+"_short":O.rotation,O.rotation,"rotation",P),Mt&&(c.rotationX=ft("rotationX"in S?S.rotationX:"shortRotationX"in S?S.shortRotationX+"_short":O.rotationX||0,O.rotationX,"rotationX",P),c.rotationY=ft("rotationY"in S?S.rotationY:"shortRotationY"in S?S.shortRotationY+"_short":O.rotationY||0,O.rotationY,"rotationY",P)),c.skewX=ft(S.skewX,O.skewX),c.skewY=ft(S.skewY,O.skewY)}for(Mt&&null!=S.force3D&&(O.force3D=S.force3D,p=!0),(f=O.force3D||O.z||O.rotationX||O.rotationY||c.z||c.rotationX||c.rotationY||c.perspective)||null==S.scale||(c.scaleZ=1);--A>-1;)((C=c[w=Ct[A]]-O[w])>T||-T>C||null!=S[w]||null!=N[w])&&(p=!0,s=new bt(O,w,O[w],C,s),w in P&&(s.e=P[w]),s.xs0=0,s.plugin=a,r._overwriteProps.push(s.n));return C="function"==typeof S.transformOrigin?S.transformOrigin(g,m):S.transformOrigin,O.svg&&(C||S.svgOrigin)&&(_=O.xOffset,v=O.yOffset,Nt(t,ut(C),c,S.svgOrigin,S.smoothOrigin),s=xt(O,"xOrigin",(b?O:c).xOrigin,c.xOrigin,s,k),s=xt(O,"yOrigin",(b?O:c).yOrigin,c.yOrigin,s,k),(_!==O.xOffset||v!==O.yOffset)&&(s=xt(O,"xOffset",b?_:O.xOffset,O.xOffset,s,k),s=xt(O,"yOffset",b?v:O.yOffset,O.yOffset,s,k)),C="0px 0px"),(C||Mt&&f&&O.zOrigin)&&(Rt?(p=!0,w=It,C||(C=(C=(et(t,w,n,!1,"50% 50%")+"").split(" "))[0]+" "+C[1]+" "+O.zOrigin+"px"),C+="",(s=new bt(x,w,0,0,s,-1,k)).b=x[w],s.plugin=a,Mt?(h=O.zOrigin,C=C.split(" "),O.zOrigin=(C.length>2?parseFloat(C[2]):h)||0,s.xs0=s.e=C[0]+" "+(C[1]||"50%")+" 0px",(s=new bt(O,"zOrigin",0,0,s,-1,s.n)).b=h,s.xs0=s.e=O.zOrigin):s.xs0=s.e=C):ut(C+"",O)),p&&(r._transformType=O.svg&&Ot||!f&&3!==this._transformType?2:3),u&&(l.scale=u),s},allowFunc:!0,prefix:!0}),Pt("boxShadow",{defaultValue:"0px 0px 0px 0px #999",prefix:!0,color:!0,multi:!0,keyword:"inset"}),Pt("clipPath",{defaultValue:"inset(0%)",prefix:!0,multi:!0,formatter:vt("inset(0% 0% 0% 0%)",!1,!0)}),Pt("borderRadius",{defaultValue:"0px",parser:function(t,e,i,s,o,a){e=this.format(e);var l,u,c,h,f,p,d,_,m,g,v,y,w,b,x,T,A=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],S=t.style;for(m=parseFloat(t.offsetWidth),g=parseFloat(t.offsetHeight),l=e.split(" "),u=0;u<A.length;u++)this.p.indexOf("border")&&(A[u]=K(A[u])),-1!==(f=h=et(t,A[u],n,!1,"0px")).indexOf(" ")&&(h=f.split(" "),f=h[0],h=h[1]),p=c=l[u],d=parseFloat(f),y=f.substr((d+"").length),(w="="===p.charAt(1))?(_=parseInt(p.charAt(0)+"1",10),p=p.substr(2),_*=parseFloat(p),v=p.substr((_+"").length-(0>_?1:0))||""):(_=parseFloat(p),v=p.substr((_+"").length)),""===v&&(v=r[i]||y),v!==y&&(b=it(t,"borderLeft",d,y),x=it(t,"borderTop",d,y),"%"===v?(f=b/m*100+"%",h=x/g*100+"%"):"em"===v?(f=b/(T=it(t,"borderLeft",1,"em"))+"em",h=x/T+"em"):(f=b+"px",h=x+"px"),w&&(p=parseFloat(f)+_+v,c=parseFloat(h)+_+v)),o=Tt(S,A[u],f+" "+h,p+" "+c,!1,"0px",o);return o},prefix:!0,formatter:vt("0px 0px 0px 0px",!1,!0)}),Pt("borderBottomLeftRadius,borderBottomRightRadius,borderTopLeftRadius,borderTopRightRadius",{defaultValue:"0px",parser:function(t,e,i,r,s,o){return Tt(t.style,i,this.format(et(t,i,n,!1,"0px 0px")),this.format(e),!1,"0px",s)},prefix:!0,formatter:vt("0px 0px",!1,!0)}),Pt("backgroundPosition",{defaultValue:"0 0",parser:function(t,e,i,r,s,o){var a,l,u,c,h,f,p="background-position",d=n||tt(t),m=this.format((d?_?d.getPropertyValue(p+"-x")+" "+d.getPropertyValue(p+"-y"):d.getPropertyValue(p):t.currentStyle.backgroundPositionX+" "+t.currentStyle.backgroundPositionY)||"0 0"),g=this.format(e);if(-1!==m.indexOf("%")!=(-1!==g.indexOf("%"))&&g.split(",").length<2&&((f=et(t,"backgroundImage").replace(R,""))&&"none"!==f)){for(a=m.split(" "),l=g.split(" "),W.setAttribute("src",f),u=2;--u>-1;)(c=-1!==(m=a[u]).indexOf("%"))!==(-1!==l[u].indexOf("%"))&&(h=0===u?t.offsetWidth-W.width:t.offsetHeight-W.height,a[u]=c?parseFloat(m)/100*h+"px":parseFloat(m)/h*100+"%");m=a.join(" ")}return this.parseComplex(t.style,m,g,s,o)},formatter:ut}),Pt("backgroundSize",{defaultValue:"0 0",formatter:function(t){return"co"===(t+="").substr(0,2)?t:ut(-1===t.indexOf(" ")?t+" "+t:t)}}),Pt("perspective",{defaultValue:"0px",prefix:!0}),Pt("perspectiveOrigin",{defaultValue:"50% 50%",prefix:!0}),Pt("transformStyle",{prefix:!0}),Pt("backfaceVisibility",{prefix:!0}),Pt("userSelect",{prefix:!0}),Pt("margin",{parser:yt("marginTop,marginRight,marginBottom,marginLeft")}),Pt("padding",{parser:yt("paddingTop,paddingRight,paddingBottom,paddingLeft")}),Pt("clip",{defaultValue:"rect(0px,0px,0px,0px)",parser:function(t,e,i,r,s,o){var a,l,u;return 9>_?(l=t.currentStyle,u=8>_?" ":",",a="rect("+l.clipTop+u+l.clipRight+u+l.clipBottom+u+l.clipLeft+")",e=this.format(e).split(",").join(u)):(a=this.format(et(t,this.p,n,!1,this.dflt)),e=this.format(e)),this.parseComplex(t.style,a,e,s,o)}}),Pt("textShadow",{defaultValue:"0px 0px 0px #999",color:!0,multi:!0}),Pt("autoRound,strictUnits",{parser:function(t,e,i,r,n){return n}}),Pt("border",{defaultValue:"0px solid #000",parser:function(t,e,i,r,s,o){var a=et(t,"borderTopWidth",n,!1,"0px"),l=this.format(e).split(" "),u=l[0].replace(T,"");return"px"!==u&&(a=parseFloat(a)/it(t,"borderTopWidth",1,u)+u),this.parseComplex(t.style,this.format(a+" "+et(t,"borderTopStyle",n,!1,"solid")+" "+et(t,"borderTopColor",n,!1,"#000")),l.join(" "),s,o)},color:!0,formatter:function(t){var e=t.split(" ");return e[0]+" "+(e[1]||"solid")+" "+(t.match(gt)||["#000"])[0]}}),Pt("borderWidth",{parser:yt("borderTopWidth,borderRightWidth,borderBottomWidth,borderLeftWidth")}),Pt("float,cssFloat,styleFloat",{parser:function(t,e,i,r,n,s){var o=t.style,a="cssFloat"in o?"cssFloat":"styleFloat";return new bt(o,a,0,0,n,-1,i,!1,0,o[a],e)}});var Vt=function(t){var e,i=this.t,r=i.filter||et(this.data,"filter")||"",n=this.s+this.c*t|0;100===n&&(-1===r.indexOf("atrix(")&&-1===r.indexOf("radient(")&&-1===r.indexOf("oader(")?(i.removeAttribute("filter"),e=!et(this.data,"filter")):(i.filter=r.replace(P,""),e=!0)),e||(this.xn1&&(i.filter=r=r||"alpha(opacity="+n+")"),-1===r.indexOf("pacity")?0===n&&this.xn1||(i.filter=r+" alpha(opacity="+n+")"):i.filter=r.replace(A,"opacity="+n))};Pt("opacity,alpha,autoAlpha",{defaultValue:"1",parser:function(t,e,i,r,s,o){var a=parseFloat(et(t,"opacity",n,!1,"1")),l=t.style,u="autoAlpha"===i;return"string"==typeof e&&"="===e.charAt(1)&&(e=("-"===e.charAt(0)?-1:1)*parseFloat(e.substr(2))+a),u&&1===a&&"hidden"===et(t,"visibility",n)&&0!==e&&(a=0),V?s=new bt(l,"opacity",a,e-a,s):((s=new bt(l,"opacity",100*a,100*(e-a),s)).xn1=u?1:0,l.zoom=1,s.type=2,s.b="alpha(opacity="+s.s+")",s.e="alpha(opacity="+(s.s+s.c)+")",s.data=t,s.plugin=o,s.setRatio=Vt),u&&((s=new bt(l,"visibility",0,0,s,-1,null,!1,0,0!==a?"inherit":"hidden",0===e?"hidden":"inherit")).xs0="inherit",r._overwriteProps.push(s.n),r._overwriteProps.push(i)),s}});var Ht=function(t,e){e&&(t.removeProperty?(("ms"===e.substr(0,2)||"webkit"===e.substr(0,6))&&(e="-"+e),t.removeProperty(e.replace(O,"-$1").toLowerCase())):t.removeAttribute(e))},$t=function(t){if(this.t._gsClassPT=this,1===t||0===t){this.t.setAttribute("class",0===t?this.b:this.e);for(var e=this.data,i=this.t.style;e;)e.v?i[e.p]=e.v:Ht(i,e.p),e=e._next;1===t&&this.t._gsClassPT===this&&(this.t._gsClassPT=null)}else this.t.getAttribute("class")!==this.e&&this.t.setAttribute("class",this.e)};Pt("className",{parser:function(t,e,r,s,o,a,l){var u,c,h,f,p,d=t.getAttribute("class")||"",_=t.style.cssText;if((o=s._classNamePT=new bt(t,r,0,0,o,2)).setRatio=$t,o.pr=-11,i=!0,o.b=d,c=nt(t,n),h=t._gsClassPT){for(f={},p=h.data;p;)f[p.p]=1,p=p._next;h.setRatio(1)}return t._gsClassPT=o,o.e="="!==e.charAt(1)?e:d.replace(new RegExp("(?:\\s|^)"+e.substr(2)+"(?![\\w-])"),"")+("+"===e.charAt(0)?" "+e.substr(2):""),t.setAttribute("class",o.e),u=st(t,c,nt(t),l,f),t.setAttribute("class",d),o.data=u.firstMPT,t.style.cssText!==_&&(t.style.cssText=_),o.xfirst=s.parse(t,u.difs,o,a)}});var Gt=function(t){if((1===t||0===t)&&this.data._totalTime===this.data._totalDuration&&"isFromStart"!==this.data.data){var e,i,r,n,s,o=this.t.style,a=l.transform.parse;if("all"===this.e)o.cssText="",n=!0;else for(r=(e=this.e.split(" ").join("").split(",")).length;--r>-1;)i=e[r],l[i]&&(l[i].parse===a?n=!0:i="transformOrigin"===i?It:l[i].p),Ht(o,i);n&&(Ht(o,Rt),(s=this.t._gsTransform)&&(s.svg&&(this.t.removeAttribute("data-svg-origin"),this.t.removeAttribute("transform")),delete this.t._gsTransform))}};for(Pt("clearProps",{parser:function(t,e,r,n,s){return(s=new bt(t,r,0,0,s,2)).setRatio=Gt,s.e=e,s.pr=-10,s.data=n._tween,i=!0,s}}),u="bezier,throwProps,physicsProps,physics2D".split(","),At=u.length;At--;)kt(u[At]);(u=o.prototype)._firstPT=u._lastParsedTransform=u._transform=null,u._onInitTween=function(t,e,a,u){if(!t.nodeType)return!1;this._target=m=t,this._tween=a,this._vars=e,g=u,c=e.autoRound,i=!1,r=e.suffixMap||o.suffixMap,n=tt(t),s=this._overwriteProps;var p,_,v,y,w,b,x,T,A,P=t.style;if(h&&""===P.zIndex&&(("auto"===(p=et(t,"zIndex",n))||""===p)&&this._addLazySet(P,"zIndex",0)),"string"==typeof e&&(y=P.cssText,p=nt(t,n),P.cssText=y+";"+e,p=st(t,p,nt(t)).difs,!V&&S.test(e)&&(p.opacity=parseFloat(RegExp.$1)),e=p,P.cssText=y),e.className?this._firstPT=_=l.className.parse(t,e.className,"className",this,null,null,e):this._firstPT=_=this.parse(t,e,null),this._transformType){for(A=3===this._transformType,Rt?f&&(h=!0,""===P.zIndex&&(("auto"===(x=et(t,"zIndex",n))||""===x)&&this._addLazySet(P,"zIndex",0)),d&&this._addLazySet(P,"WebkitBackfaceVisibility",this._vars.WebkitBackfaceVisibility||(A?"visible":"hidden"))):P.zoom=1,v=_;v&&v._next;)v=v._next;T=new bt(t,"transform",0,0,null,2),this._linkCSSP(T,null,v),T.setRatio=Rt?Yt:Qt,T.data=this._transform||Wt(t,n,!0),T.tween=a,T.pr=-1,s.pop()}if(i){for(;_;){for(b=_._next,v=y;v&&v.pr>_.pr;)v=v._next;(_._prev=v?v._prev:w)?_._prev._next=_:y=_,(_._next=v)?v._prev=_:w=_,_=b}this._firstPT=y}return!0},u.parse=function(t,e,i,s){var o,a,u,h,f,p,d,_,v,y,w=t.style;for(o in e){if(p=e[o],a=l[o],"function"!=typeof p||a&&a.allowFunc||(p=p(g,m)),a)i=a.parse(t,p,o,this,i,s,e);else{if("--"===o.substr(0,2)){this._tween._propLookup[o]=this._addTween.call(this._tween,t.style,"setProperty",tt(t).getPropertyValue(o)+"",p+"",o,!1,o);continue}f=et(t,o,n)+"",v="string"==typeof p,"color"===o||"fill"===o||"stroke"===o||-1!==o.indexOf("Color")||v&&k.test(p)?(v||(p=((p=_t(p)).length>3?"rgba(":"rgb(")+p.join(",")+")"),i=Tt(w,o,f,p,!0,"transparent",i,0,s)):v&&F.test(p)?i=Tt(w,o,f,p,!0,null,i,0,s):(d=(u=parseFloat(f))||0===u?f.substr((u+"").length):"",(""===f||"auto"===f)&&("width"===o||"height"===o?(u=lt(t,o,n),d="px"):"left"===o||"top"===o?(u=rt(t,o,n),d="px"):(u="opacity"!==o?0:1,d="")),(y=v&&"="===p.charAt(1))?(h=parseInt(p.charAt(0)+"1",10),p=p.substr(2),h*=parseFloat(p),_=p.replace(T,"")):(h=parseFloat(p),_=v?p.replace(T,""):""),""===_&&(_=o in r?r[o]:d),p=h||0===h?(y?h+u:h)+_:e[o],d!==_&&(""!==_||"lineHeight"===o)&&(h||0===h)&&u&&(u=it(t,o,u,d),"%"===_?(u/=it(t,o,100,"%")/100,!0!==e.strictUnits&&(f=u+"%")):"em"===_||"rem"===_||"vw"===_||"vh"===_?u/=it(t,o,1,_):"px"!==_&&(h=it(t,o,h,_),_="px"),y&&(h||0===h)&&(p=h+u+_)),y&&(h+=u),!u&&0!==u||!h&&0!==h?void 0!==w[o]&&(p||p+""!="NaN"&&null!=p)?(i=new bt(w,o,h||u||0,0,i,-1,o,!1,0,f,p)).xs0="none"!==p||"display"!==o&&-1===o.indexOf("Style")?p:f:$("invalid "+o+" tween value: "+e[o]):(i=new bt(w,o,u,h-u,i,0,o,!1!==c&&("px"===_||"zIndex"===o),0,f,p)).xs0=_)}s&&i&&!i.plugin&&(i.plugin=s)}return i},u.setRatio=function(t){var e,i,r,n=this._firstPT,s=1e-6;if(1!==t||this._tween._time!==this._tween._duration&&0!==this._tween._time)if(t||this._tween._time!==this._tween._duration&&0!==this._tween._time||-1e-6===this._tween._rawPrevTime)for(;n;){if(e=n.c*t+n.s,n.r?e=n.r(e):s>e&&e>-s&&(e=0),n.type)if(1===n.type)if(2===(r=n.l))n.t[n.p]=n.xs0+e+n.xs1+n.xn1+n.xs2;else if(3===r)n.t[n.p]=n.xs0+e+n.xs1+n.xn1+n.xs2+n.xn2+n.xs3;else if(4===r)n.t[n.p]=n.xs0+e+n.xs1+n.xn1+n.xs2+n.xn2+n.xs3+n.xn3+n.xs4;else if(5===r)n.t[n.p]=n.xs0+e+n.xs1+n.xn1+n.xs2+n.xn2+n.xs3+n.xn3+n.xs4+n.xn4+n.xs5;else{for(i=n.xs0+e+n.xs1,r=1;r<n.l;r++)i+=n["xn"+r]+n["xs"+(r+1)];n.t[n.p]=i}else-1===n.type?n.t[n.p]=n.xs0:n.setRatio&&n.setRatio(t);else n.t[n.p]=e+n.xs0;n=n._next}else for(;n;)2!==n.type?n.t[n.p]=n.b:n.setRatio(t),n=n._next;else for(;n;){if(2!==n.type)if(n.r&&-1!==n.type)if(e=n.r(n.s+n.c),n.type){if(1===n.type){for(r=n.l,i=n.xs0+e+n.xs1,r=1;r<n.l;r++)i+=n["xn"+r]+n["xs"+(r+1)];n.t[n.p]=i}}else n.t[n.p]=e+n.xs0;else n.t[n.p]=n.e;else n.setRatio(t);n=n._next}},u._enableTransforms=function(t){this._transform=this._transform||Wt(this._target,n,!0),this._transformType=this._transform.svg&&Ot||!t&&3!==this._transformType?2:3};var Zt=function(t){this.t[this.p]=this.e,this.data._linkCSSP(this,this._next,null,!0)};u._addLazySet=function(t,e,i){var r=this._firstPT=new bt(t,e,0,0,this._firstPT,2);r.e=i,r.setRatio=Zt,r.data=this},u._linkCSSP=function(t,e,i,r){return t&&(e&&(e._prev=t),t._next&&(t._next._prev=t._prev),t._prev?t._prev._next=t._next:this._firstPT===t&&(this._firstPT=t._next,r=!0),i?i._next=t:r||null!==this._firstPT||(this._firstPT=t),t._next=e,t._prev=i),t},u._mod=function(t){for(var e=this._firstPT;e;)"function"==typeof t[e.p]&&(e.r=t[e.p]),e=e._next},u._kill=function(e){var i,r,n,s=e;if(e.autoAlpha||e.alpha){for(r in s={},e)s[r]=e[r];s.opacity=1,s.autoAlpha&&(s.visibility=1)}for(e.className&&(i=this._classNamePT)&&((n=i.xfirst)&&n._prev?this._linkCSSP(n._prev,i._next,n._prev._prev):n===this._firstPT&&(this._firstPT=i._next),i._next&&this._linkCSSP(i._next,i._next._next,n._prev),this._classNamePT=null),i=this._firstPT;i;)i.plugin&&i.plugin!==r&&i.plugin._kill&&(i.plugin._kill(e),r=i.plugin),i=i._next;return t.prototype._kill.call(this,s)};var Kt=function(t,e,i){var r,n,s,o;if(t.slice)for(n=t.length;--n>-1;)Kt(t[n],e,i);else for(n=(r=t.childNodes).length;--n>-1;)o=(s=r[n]).type,s.style&&(e.push(nt(s)),i&&i.push(s)),1!==o&&9!==o&&11!==o||!s.childNodes.length||Kt(s,e,i)};return o.cascadeTo=function(t,i,r){var n,s,o,a,l=e.to(t,i,r),u=[l],c=[],h=[],f=[],p=e._internals.reservedProps;for(t=l._targets||l.target,Kt(t,c,f),l.render(i,!0,!0),Kt(t,h),l.render(0,!0,!0),l._enabled(!0),n=f.length;--n>-1;)if((s=st(f[n],c[n],h[n])).firstMPT){for(o in s=s.difs,r)p[o]&&(s[o]=r[o]);for(o in a={},s)a[o]=c[n][o];u.push(e.fromTo(f[n],i,a,s))}return u},t.activate([o]),o}),!0),function(){var t=_gsScope._gsDefine.plugin({propName:"roundProps",version:"1.7.0",priority:-1,API:2,init:function(t,e,i){return this._tween=i,!0}}),e=function(t){var e=1>t?Math.pow(10,(t+"").length-2):1;return function(i){return(Math.round(i/t)*t*e|0)/e}},i=function(t,e){for(;t;)t.f||t.blob||(t.m=e||Math.round),t=t._next},r=t.prototype;r._onInitAllProps=function(){var t,r,n,s,o=this._tween,a=o.vars.roundProps,l={},u=o._propLookup.roundProps;if("object"!=typeof a||a.push)for("string"==typeof a&&(a=a.split(",")),n=a.length;--n>-1;)l[a[n]]=Math.round;else for(s in a)l[s]=e(a[s]);for(s in l)for(t=o._firstPT;t;)r=t._next,t.pg?t.t._mod(l):t.n===s&&(2===t.f&&t.t?i(t.t._firstPT,l[s]):(this._add(t.t,s,t.s,t.c,l[s]),r&&(r._prev=t._prev),t._prev?t._prev._next=r:o._firstPT===t&&(o._firstPT=r),t._next=t._prev=null,o._propLookup[s]=u)),t=r;return!1},r._add=function(t,e,i,r,n){this._addTween(t,e,i,i+r,e,n||Math.round),this._overwriteProps.push(e)}}(),_gsScope._gsDefine.plugin({propName:"attr",API:2,version:"0.6.1",init:function(t,e,i,r){var n,s;if("function"!=typeof t.setAttribute)return!1;for(n in e)"function"==typeof(s=e[n])&&(s=s(r,t)),this._addTween(t,"setAttribute",t.getAttribute(n)+"",s+"",n,!1,n),this._overwriteProps.push(n);return!0}}),_gsScope._gsDefine.plugin({propName:"directionalRotation",version:"0.3.1",API:2,init:function(t,e,i,r){"object"!=typeof e&&(e={rotation:e}),this.finals={};var n,s,o,a,l,u,c=!0===e.useRadians?2*Math.PI:360,h=1e-6;for(n in e)"useRadians"!==n&&("function"==typeof(a=e[n])&&(a=a(r,t)),s=(u=(a+"").split("_"))[0],o=parseFloat("function"!=typeof t[n]?t[n]:t[n.indexOf("set")||"function"!=typeof t["get"+n.substr(3)]?n:"get"+n.substr(3)]()),l=(a=this.finals[n]="string"==typeof s&&"="===s.charAt(1)?o+parseInt(s.charAt(0)+"1",10)*Number(s.substr(2)):Number(s)||0)-o,u.length&&(-1!==(s=u.join("_")).indexOf("short")&&((l%=c)!==l%(c/2)&&(l=0>l?l+c:l-c)),-1!==s.indexOf("_cw")&&0>l?l=(l+9999999999*c)%c-(l/c|0)*c:-1!==s.indexOf("ccw")&&l>0&&(l=(l-9999999999*c)%c-(l/c|0)*c)),(l>h||-h>l)&&(this._addTween(t,n,o,o+l,n),this._overwriteProps.push(n)));return!0},set:function(t){var e;if(1!==t)this._super.setRatio.call(this,t);else for(e=this._firstPT;e;)e.f?e.t[e.p](this.finals[e.p]):e.t[e.p]=this.finals[e.p],e=e._next}})._autoCSS=!0,_gsScope._gsDefine("easing.Back",["easing.Ease"],(function(t){var e,i,r,n,s=_gsScope.GreenSockGlobals||_gsScope,o=s.com.greensock,a=2*Math.PI,l=Math.PI/2,u=o._class,c=function(e,i){var r=u("easing."+e,(function(){}),!0),n=r.prototype=new t;return n.constructor=r,n.getRatio=i,r},h=t.register||function(){},f=function(t,e,i,r,n){var s=u("easing."+t,{easeOut:new e,easeIn:new i,easeInOut:new r},!0);return h(s,t),s},p=function(t,e,i){this.t=t,this.v=e,i&&(this.next=i,i.prev=this,this.c=i.v-e,this.gap=i.t-t)},d=function(e,i){var r=u("easing."+e,(function(t){this._p1=t||0===t?t:1.70158,this._p2=1.525*this._p1}),!0),n=r.prototype=new t;return n.constructor=r,n.getRatio=i,n.config=function(t){return new r(t)},r},_=f("Back",d("BackOut",(function(t){return(t-=1)*t*((this._p1+1)*t+this._p1)+1})),d("BackIn",(function(t){return t*t*((this._p1+1)*t-this._p1)})),d("BackInOut",(function(t){return(t*=2)<1?.5*t*t*((this._p2+1)*t-this._p2):.5*((t-=2)*t*((this._p2+1)*t+this._p2)+2)}))),m=u("easing.SlowMo",(function(t,e,i){e=e||0===e?e:.7,null==t?t=.7:t>1&&(t=1),this._p=1!==t?e:0,this._p1=(1-t)/2,this._p2=t,this._p3=this._p1+this._p2,this._calcEnd=!0===i}),!0),g=m.prototype=new t;return g.constructor=m,g.getRatio=function(t){var e=t+(.5-t)*this._p;return t<this._p1?this._calcEnd?1-(t=1-t/this._p1)*t:e-(t=1-t/this._p1)*t*t*t*e:t>this._p3?this._calcEnd?1===t?0:1-(t=(t-this._p3)/this._p1)*t:e+(t-e)*(t=(t-this._p3)/this._p1)*t*t*t:this._calcEnd?1:e},m.ease=new m(.7,.7),g.config=m.config=function(t,e,i){return new m(t,e,i)},e=u("easing.SteppedEase",(function(t,e){t=t||1,this._p1=1/t,this._p2=t+(e?0:1),this._p3=e?1:0}),!0),(g=e.prototype=new t).constructor=e,g.getRatio=function(t){return 0>t?t=0:t>=1&&(t=.999999999),((this._p2*t|0)+this._p3)*this._p1},g.config=e.config=function(t,i){return new e(t,i)},i=u("easing.ExpoScaleEase",(function(t,e,i){this._p1=Math.log(e/t),this._p2=e-t,this._p3=t,this._ease=i}),!0),(g=i.prototype=new t).constructor=i,g.getRatio=function(t){return this._ease&&(t=this._ease.getRatio(t)),(this._p3*Math.exp(this._p1*t)-this._p3)/this._p2},g.config=i.config=function(t,e,r){return new i(t,e,r)},r=u("easing.RoughEase",(function(e){for(var i,r,n,s,o,a,l=(e=e||{}).taper||"none",u=[],c=0,h=0|(e.points||20),f=h,d=!1!==e.randomize,_=!0===e.clamp,m=e.template instanceof t?e.template:null,g="number"==typeof e.strength?.4*e.strength:.4;--f>-1;)i=d?Math.random():1/h*f,r=m?m.getRatio(i):i,"none"===l?n=g:"out"===l?n=(s=1-i)*s*g:"in"===l?n=i*i*g:.5>i?n=(s=2*i)*s*.5*g:n=(s=2*(1-i))*s*.5*g,d?r+=Math.random()*n-.5*n:f%2?r+=.5*n:r-=.5*n,_&&(r>1?r=1:0>r&&(r=0)),u[c++]={x:i,y:r};for(u.sort((function(t,e){return t.x-e.x})),a=new p(1,1,null),f=h;--f>-1;)o=u[f],a=new p(o.x,o.y,a);this._prev=new p(0,0,0!==a.t?a:a.next)}),!0),(g=r.prototype=new t).constructor=r,g.getRatio=function(t){var e=this._prev;if(t>e.t){for(;e.next&&t>=e.t;)e=e.next;e=e.prev}else for(;e.prev&&t<=e.t;)e=e.prev;return this._prev=e,e.v+(t-e.t)/e.gap*e.c},g.config=function(t){return new r(t)},r.ease=new r,f("Bounce",c("BounceOut",(function(t){return 1/2.75>t?7.5625*t*t:2/2.75>t?7.5625*(t-=1.5/2.75)*t+.75:2.5/2.75>t?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375})),c("BounceIn",(function(t){return(t=1-t)<1/2.75?1-7.5625*t*t:2/2.75>t?1-(7.5625*(t-=1.5/2.75)*t+.75):2.5/2.75>t?1-(7.5625*(t-=2.25/2.75)*t+.9375):1-(7.5625*(t-=2.625/2.75)*t+.984375)})),c("BounceInOut",(function(t){var e=.5>t;return t=1/2.75>(t=e?1-2*t:2*t-1)?7.5625*t*t:2/2.75>t?7.5625*(t-=1.5/2.75)*t+.75:2.5/2.75>t?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375,e?.5*(1-t):.5*t+.5}))),f("Circ",c("CircOut",(function(t){return Math.sqrt(1-(t-=1)*t)})),c("CircIn",(function(t){return-(Math.sqrt(1-t*t)-1)})),c("CircInOut",(function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)}))),n=function(e,i,r){var n=u("easing."+e,(function(t,e){this._p1=t>=1?t:1,this._p2=(e||r)/(1>t?t:1),this._p3=this._p2/a*(Math.asin(1/this._p1)||0),this._p2=a/this._p2}),!0),s=n.prototype=new t;return s.constructor=n,s.getRatio=i,s.config=function(t,e){return new n(t,e)},n},f("Elastic",n("ElasticOut",(function(t){return this._p1*Math.pow(2,-10*t)*Math.sin((t-this._p3)*this._p2)+1}),.3),n("ElasticIn",(function(t){return-this._p1*Math.pow(2,10*(t-=1))*Math.sin((t-this._p3)*this._p2)}),.3),n("ElasticInOut",(function(t){return(t*=2)<1?this._p1*Math.pow(2,10*(t-=1))*Math.sin((t-this._p3)*this._p2)*-.5:this._p1*Math.pow(2,-10*(t-=1))*Math.sin((t-this._p3)*this._p2)*.5+1}),.45)),f("Expo",c("ExpoOut",(function(t){return 1-Math.pow(2,-10*t)})),c("ExpoIn",(function(t){return Math.pow(2,10*(t-1))-.001})),c("ExpoInOut",(function(t){return(t*=2)<1?.5*Math.pow(2,10*(t-1)):.5*(2-Math.pow(2,-10*(t-1)))}))),f("Sine",c("SineOut",(function(t){return Math.sin(t*l)})),c("SineIn",(function(t){return 1-Math.cos(t*l)})),c("SineInOut",(function(t){return-.5*(Math.cos(Math.PI*t)-1)}))),u("easing.EaseLookup",{find:function(e){return t.map[e]}},!0),h(s.SlowMo,"SlowMo","ease,"),h(r,"RoughEase","ease,"),h(e,"SteppedEase","ease,"),_}),!0)})),_gsScope._gsDefine&&_gsScope._gsQueue.pop()(),function(t,e){"use strict";var i={},r=t.document,n=t.GreenSockGlobals=t.GreenSockGlobals||t,s=n[e];if(s)return"undefined"!=typeof module&&module.exports&&(module.exports=s),s;var o,a,l,u,c,h=function(t){var e,i=t.split("."),r=n;for(e=0;e<i.length;e++)r[i[e]]=r=r[i[e]]||{};return r},f=h("com.greensock"),p=1e-8,d=function(t){var e,i=[],r=t.length;for(e=0;e!==r;i.push(t[e++]));return i},_=function(){},m=function(){var t=Object.prototype.toString,e=t.call([]);return function(i){return null!=i&&(i instanceof Array||"object"==typeof i&&!!i.push&&t.call(i)===e)}}(),g={},v=function(r,s,o,a){this.sc=g[r]?g[r].sc:[],g[r]=this,this.gsClass=null,this.func=o;var l=[];this.check=function(u){for(var c,f,p,d,_=s.length,m=_;--_>-1;)(c=g[s[_]]||new v(s[_],[])).gsClass?(l[_]=c.gsClass,m--):u&&c.sc.push(this);if(0===m&&o){if(p=(f=("com.greensock."+r).split(".")).pop(),d=h(f.join("."))[p]=this.gsClass=o.apply(o,l),a)if(n[p]=i[p]=d,"undefined"!=typeof module&&module.exports)if(r===e)for(_ in module.exports=i[e]=d,i)d[_]=i[_];else i[e]&&(i[e][p]=d);else"function"==typeof define&&define.amd&&define((t.GreenSockAMDPath?t.GreenSockAMDPath+"/":"")+r.split(".").pop(),[],(function(){return d}));for(_=0;_<this.sc.length;_++)this.sc[_].check()}},this.check(!0)},y=t._gsDefine=function(t,e,i,r){return new v(t,e,i,r)},w=f._class=function(t,e,i){return e=e||function(){},y(t,[],(function(){return e}),i),e};y.globals=n;var b=[0,0,1,1],x=w("easing.Ease",(function(t,e,i,r){this._func=t,this._type=i||0,this._power=r||0,this._params=e?b.concat(e):b}),!0),T=x.map={},A=x.register=function(t,e,i,r){for(var n,s,o,a,l=e.split(","),u=l.length,c=(i||"easeIn,easeOut,easeInOut").split(",");--u>-1;)for(s=l[u],n=r?w("easing."+s,null,!0):f.easing[s]||{},o=c.length;--o>-1;)a=c[o],T[s+"."+a]=T[a+s]=n[a]=t.getRatio?t:t[a]||new t};for((l=x.prototype)._calcEnd=!1,l.getRatio=function(t){if(this._func)return this._params[0]=t,this._func.apply(null,this._params);var e=this._type,i=this._power,r=1===e?1-t:2===e?t:.5>t?2*t:2*(1-t);return 1===i?r*=r:2===i?r*=r*r:3===i?r*=r*r*r:4===i&&(r*=r*r*r*r),1===e?1-r:2===e?r:.5>t?r/2:1-r/2},a=(o=["Linear","Quad","Cubic","Quart","Quint,Strong"]).length;--a>-1;)l=o[a]+",Power"+a,A(new x(null,null,1,a),l,"easeOut",!0),A(new x(null,null,2,a),l,"easeIn"+(0===a?",easeNone":"")),A(new x(null,null,3,a),l,"easeInOut");T.linear=f.easing.Linear.easeIn,T.swing=f.easing.Quad.easeInOut;var S=w("events.EventDispatcher",(function(t){this._listeners={},this._eventTarget=t||this}));(l=S.prototype).addEventListener=function(t,e,i,r,n){n=n||0;var s,o,a=this._listeners[t],l=0;for(this!==u||c||u.wake(),null==a&&(this._listeners[t]=a=[]),o=a.length;--o>-1;)(s=a[o]).c===e&&s.s===i?a.splice(o,1):0===l&&s.pr<n&&(l=o+1);a.splice(l,0,{c:e,s:i,up:r,pr:n})},l.removeEventListener=function(t,e){var i,r=this._listeners[t];if(r)for(i=r.length;--i>-1;)if(r[i].c===e)return void r.splice(i,1)},l.dispatchEvent=function(t){var e,i,r,n=this._listeners[t];if(n)for((e=n.length)>1&&(n=n.slice(0)),i=this._eventTarget;--e>-1;)(r=n[e])&&(r.up?r.c.call(r.s||i,{type:t,target:i}):r.c.call(r.s||i))};var P=t.requestAnimationFrame,k=t.cancelAnimationFrame,O=Date.now||function(){return(new Date).getTime()},C=O();for(a=(o=["ms","moz","webkit","o"]).length;--a>-1&&!P;)P=t[o[a]+"RequestAnimationFrame"],k=t[o[a]+"CancelAnimationFrame"]||t[o[a]+"CancelRequestAnimationFrame"];w("Ticker",(function(t,e){var i,n,s,o,a,l=this,h=O(),f=!(!1===e||!P)&&"auto",d=500,m=33,g=function(t){var e,r,u=O()-C;u>d&&(h+=u-m),C+=u,l.time=(C-h)/1e3,e=l.time-a,(!i||e>0||!0===t)&&(l.frame++,a+=e+(e>=o?.004:o-e),r=!0),!0!==t&&(s=n(g)),r&&l.dispatchEvent("tick")};S.call(l),l.time=l.frame=0,l.tick=function(){g(!0)},l.lagSmoothing=function(t,e){return arguments.length?(d=t||1/p,void(m=Math.min(e,d,0))):1/p>d},l.sleep=function(){null!=s&&(f&&k?k(s):clearTimeout(s),n=_,s=null,l===u&&(c=!1))},l.wake=function(t){null!==s?l.sleep():t?h+=-C+(C=O()):l.frame>10&&(C=O()-d+5),n=0===i?_:f&&P?P:function(t){return setTimeout(t,1e3*(a-l.time)+1|0)},l===u&&(c=!0),g(2)},l.fps=function(t){return arguments.length?(o=1/((i=t)||60),a=this.time+o,void l.wake()):i},l.useRAF=function(t){return arguments.length?(l.sleep(),f=t,void l.fps(i)):f},l.fps(t),setTimeout((function(){"auto"===f&&l.frame<5&&"hidden"!==(r||{}).visibilityState&&l.useRAF(!1)}),1500)})),(l=f.Ticker.prototype=new f.events.EventDispatcher).constructor=f.Ticker;var R=w("core.Animation",(function(t,e){if(this.vars=e=e||{},this._duration=this._totalDuration=t||0,this._delay=Number(e.delay)||0,this._timeScale=1,this._active=!!e.immediateRender,this.data=e.data,this._reversed=!!e.reversed,G){c||u.wake();var i=this.vars.useFrames?$:G;i.add(this,i._time),this.vars.paused&&this.paused(!0)}}));u=R.ticker=new f.Ticker,(l=R.prototype)._dirty=l._gc=l._initted=l._paused=!1,l._totalTime=l._time=0,l._rawPrevTime=-1,l._next=l._last=l._onUpdate=l._timeline=l.timeline=null,l._paused=!1;var E=function(){c&&O()-C>2e3&&("hidden"!==(r||{}).visibilityState||!u.lagSmoothing())&&u.wake();var t=setTimeout(E,2e3);t.unref&&t.unref()};E(),l.play=function(t,e){return null!=t&&this.seek(t,e),this.reversed(!1).paused(!1)},l.pause=function(t,e){return null!=t&&this.seek(t,e),this.paused(!0)},l.resume=function(t,e){return null!=t&&this.seek(t,e),this.paused(!1)},l.seek=function(t,e){return this.totalTime(Number(t),!1!==e)},l.restart=function(t,e){return this.reversed(!1).paused(!1).totalTime(t?-this._delay:0,!1!==e,!0)},l.reverse=function(t,e){return null!=t&&this.seek(t||this.totalDuration(),e),this.reversed(!0).paused(!1)},l.render=function(t,e,i){},l.invalidate=function(){return this._time=this._totalTime=0,this._initted=this._gc=!1,this._rawPrevTime=-1,(this._gc||!this.timeline)&&this._enabled(!0),this},l.isActive=function(){var t,e=this._timeline,i=this._startTime;return!e||!this._gc&&!this._paused&&e.isActive()&&(t=e.rawTime(!0))>=i&&t<i+this.totalDuration()/this._timeScale-p},l._enabled=function(t,e){return c||u.wake(),this._gc=!t,this._active=this.isActive(),!0!==e&&(t&&!this.timeline?this._timeline.add(this,this._startTime-this._delay):!t&&this.timeline&&this._timeline._remove(this,!0)),!1},l._kill=function(t,e){return this._enabled(!1,!1)},l.kill=function(t,e){return this._kill(t,e),this},l._uncache=function(t){for(var e=t?this:this.timeline;e;)e._dirty=!0,e=e.timeline;return this},l._swapSelfInParams=function(t){for(var e=t.length,i=t.concat();--e>-1;)"{self}"===t[e]&&(i[e]=this);return i},l._callback=function(t){var e=this.vars,i=e[t],r=e[t+"Params"],n=e[t+"Scope"]||e.callbackScope||this;switch(r?r.length:0){case 0:i.call(n);break;case 1:i.call(n,r[0]);break;case 2:i.call(n,r[0],r[1]);break;default:i.apply(n,r)}},l.eventCallback=function(t,e,i,r){if("on"===(t||"").substr(0,2)){var n=this.vars;if(1===arguments.length)return n[t];null==e?delete n[t]:(n[t]=e,n[t+"Params"]=m(i)&&-1!==i.join("").indexOf("{self}")?this._swapSelfInParams(i):i,n[t+"Scope"]=r),"onUpdate"===t&&(this._onUpdate=e)}return this},l.delay=function(t){return arguments.length?(this._timeline.smoothChildTiming&&this.startTime(this._startTime+t-this._delay),this._delay=t,this):this._delay},l.duration=function(t){return arguments.length?(this._duration=this._totalDuration=t,this._uncache(!0),this._timeline.smoothChildTiming&&this._time>0&&this._time<this._duration&&0!==t&&this.totalTime(this._totalTime*(t/this._duration),!0),this):(this._dirty=!1,this._duration)},l.totalDuration=function(t){return this._dirty=!1,arguments.length?this.duration(t):this._totalDuration},l.time=function(t,e){return arguments.length?(this._dirty&&this.totalDuration(),this.totalTime(t>this._duration?this._duration:t,e)):this._time},l.totalTime=function(t,e,i){if(c||u.wake(),!arguments.length)return this._totalTime;if(this._timeline){if(0>t&&!i&&(t+=this.totalDuration()),this._timeline.smoothChildTiming){this._dirty&&this.totalDuration();var r=this._totalDuration,n=this._timeline;if(t>r&&!i&&(t=r),this._startTime=(this._paused?this._pauseTime:n._time)-(this._reversed?r-t:t)/this._timeScale,n._dirty||this._uncache(!1),n._timeline)for(;n._timeline;)n._timeline._time!==(n._startTime+n._totalTime)/n._timeScale&&n.totalTime(n._totalTime,!0),n=n._timeline}this._gc&&this._enabled(!0,!1),(this._totalTime!==t||0===this._duration)&&(D.length&&K(),this.render(t,e,!1),D.length&&K())}return this},l.progress=l.totalProgress=function(t,e){var i=this.duration();return arguments.length?this.totalTime(i*t,e):i?this._time/i:this.ratio},l.startTime=function(t){return arguments.length?(t!==this._startTime&&(this._startTime=t,this.timeline&&this.timeline._sortChildren&&this.timeline.add(this,t-this._delay)),this):this._startTime},l.endTime=function(t){return this._startTime+(0!=t?this.totalDuration():this.duration())/this._timeScale},l.timeScale=function(t){if(!arguments.length)return this._timeScale;var e,i;for(t=t||p,this._timeline&&this._timeline.smoothChildTiming&&(i=(e=this._pauseTime)||0===e?e:this._timeline.totalTime(),this._startTime=i-(i-this._startTime)*this._timeScale/t),this._timeScale=t,i=this.timeline;i&&i.timeline;)i._dirty=!0,i.totalDuration(),i=i.timeline;return this},l.reversed=function(t){return arguments.length?(t!=this._reversed&&(this._reversed=t,this.totalTime(this._timeline&&!this._timeline.smoothChildTiming?this.totalDuration()-this._totalTime:this._totalTime,!0)),this):this._reversed},l.paused=function(t){if(!arguments.length)return this._paused;var e,i,r=this._timeline;return t!=this._paused&&r&&(c||t||u.wake(),i=(e=r.rawTime())-this._pauseTime,!t&&r.smoothChildTiming&&(this._startTime+=i,this._uncache(!1)),this._pauseTime=t?e:null,this._paused=t,this._active=this.isActive(),!t&&0!==i&&this._initted&&this.duration()&&(e=r.smoothChildTiming?this._totalTime:(e-this._startTime)/this._timeScale,this.render(e,e===this._totalTime,!0))),this._gc&&!t&&this._enabled(!0,!1),this};var I=w("core.SimpleTimeline",(function(t){R.call(this,0,t),this.autoRemoveChildren=this.smoothChildTiming=!0}));(l=I.prototype=new R).constructor=I,l.kill()._gc=!1,l._first=l._last=l._recent=null,l._sortChildren=!1,l.add=l.insert=function(t,e,i,r){var n,s;if(t._startTime=Number(e||0)+t._delay,t._paused&&this!==t._timeline&&(t._pauseTime=this.rawTime()-(t._timeline.rawTime()-t._pauseTime)),t.timeline&&t.timeline._remove(t,!0),t.timeline=t._timeline=this,t._gc&&t._enabled(!0,!0),n=this._last,this._sortChildren)for(s=t._startTime;n&&n._startTime>s;)n=n._prev;return n?(t._next=n._next,n._next=t):(t._next=this._first,this._first=t),t._next?t._next._prev=t:this._last=t,t._prev=n,this._recent=t,this._timeline&&this._uncache(!0),this},l._remove=function(t,e){return t.timeline===this&&(e||t._enabled(!1,!0),t._prev?t._prev._next=t._next:this._first===t&&(this._first=t._next),t._next?t._next._prev=t._prev:this._last===t&&(this._last=t._prev),t._next=t._prev=t.timeline=null,t===this._recent&&(this._recent=this._last),this._timeline&&this._uncache(!0)),this},l.render=function(t,e,i){var r,n=this._first;for(this._totalTime=this._time=this._rawPrevTime=t;n;)r=n._next,(n._active||t>=n._startTime&&!n._paused&&!n._gc)&&(n._reversed?n.render((n._dirty?n.totalDuration():n._totalDuration)-(t-n._startTime)*n._timeScale,e,i):n.render((t-n._startTime)*n._timeScale,e,i)),n=r},l.rawTime=function(){return c||u.wake(),this._totalTime};var M=w("TweenLite",(function(e,i,r){if(R.call(this,i,r),this.render=M.prototype.render,null==e)throw"Cannot tween a null target.";this.target=e="string"!=typeof e?e:M.selector(e)||e;var n,s,o,a=e.jquery||e.length&&e!==t&&e[0]&&(e[0]===t||e[0].nodeType&&e[0].style&&!e.nodeType),l=this.vars.overwrite;if(this._overwrite=l=null==l?H[M.defaultOverwrite]:"number"==typeof l?l>>0:H[l],(a||e instanceof Array||e.push&&m(e))&&"number"!=typeof e[0])for(this._targets=o=d(e),this._propLookup=[],this._siblings=[],n=0;n<o.length;n++)(s=o[n])?"string"!=typeof s?s.length&&s!==t&&s[0]&&(s[0]===t||s[0].nodeType&&s[0].style&&!s.nodeType)?(o.splice(n--,1),this._targets=o=o.concat(d(s))):(this._siblings[n]=J(s,this,!1),1===l&&this._siblings[n].length>1&&et(s,this,null,1,this._siblings[n])):"string"==typeof(s=o[n--]=M.selector(s))&&o.splice(n+1,1):o.splice(n--,1);else this._propLookup={},this._siblings=J(e,this,!1),1===l&&this._siblings.length>1&&et(e,this,null,1,this._siblings);(this.vars.immediateRender||0===i&&0===this._delay&&!1!==this.vars.immediateRender)&&(this._time=-p,this.render(Math.min(0,-this._delay)))}),!0),z=function(e){return e&&e.length&&e!==t&&e[0]&&(e[0]===t||e[0].nodeType&&e[0].style&&!e.nodeType)};(l=M.prototype=new R).constructor=M,l.kill()._gc=!1,l.ratio=0,l._firstPT=l._targets=l._overwrittenProps=l._startAt=null,l._notifyPluginsOfEnabled=l._lazy=!1,M.version="2.1.3",M.defaultEase=l._ease=new x(null,null,1,1),M.defaultOverwrite="auto",M.ticker=u,M.autoSleep=120,M.lagSmoothing=function(t,e){u.lagSmoothing(t,e)},M.selector=t.$||t.jQuery||function(e){var i=t.$||t.jQuery;return i?(M.selector=i,i(e)):(r||(r=t.document),r?r.querySelectorAll?r.querySelectorAll(e):r.getElementById("#"===e.charAt(0)?e.substr(1):e):e)};var D=[],F={},L=/(?:(-|-=|\+=)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,j=/[\+-]=-?[\.\d]/,N=function(t){for(var e,i=this._firstPT,r=1e-6;i;)e=i.blob?1===t&&null!=this.end?this.end:t?this.join(""):this.start:i.c*t+i.s,i.m?e=i.m.call(this._tween,e,this._target||i.t,this._tween):r>e&&e>-r&&!i.blob&&(e=0),i.f?i.fp?i.t[i.p](i.fp,e):i.t[i.p](e):i.t[i.p]=e,i=i._next},B=function(t){return(1e3*t|0)/1e3+""},X=function(t,e,i,r){var n,s,o,a,l,u,c,h=[],f=0,p="",d=0;for(h.start=t,h.end=e,t=h[0]=t+"",e=h[1]=e+"",i&&(i(h),t=h[0],e=h[1]),h.length=0,n=t.match(L)||[],s=e.match(L)||[],r&&(r._next=null,r.blob=1,h._firstPT=h._applyPT=r),l=s.length,a=0;l>a;a++)c=s[a],p+=(u=e.substr(f,e.indexOf(c,f)-f))||!a?u:",",f+=u.length,d?d=(d+1)%5:"rgba("===u.substr(-5)&&(d=1),c===n[a]||n.length<=a?p+=c:(p&&(h.push(p),p=""),o=parseFloat(n[a]),h.push(o),h._firstPT={_next:h._firstPT,t:h,p:h.length-1,s:o,c:("="===c.charAt(1)?parseInt(c.charAt(0)+"1",10)*parseFloat(c.substr(2)):parseFloat(c)-o)||0,f:0,m:d&&4>d?Math.round:B}),f+=c.length;return(p+=e.substr(f))&&h.push(p),h.setRatio=N,j.test(e)&&(h.end=null),h},q=function(t,e,i,r,n,s,o,a,l){"function"==typeof r&&(r=r(l||0,t));var u=typeof t[e],c="function"!==u?"":e.indexOf("set")||"function"!=typeof t["get"+e.substr(3)]?e:"get"+e.substr(3),h="get"!==i?i:c?o?t[c](o):t[c]():t[e],f="string"==typeof r&&"="===r.charAt(1),p={t:t,p:e,s:h,f:"function"===u,pg:0,n:n||e,m:s?"function"==typeof s?s:Math.round:0,pr:0,c:f?parseInt(r.charAt(0)+"1",10)*parseFloat(r.substr(2)):parseFloat(r)-h||0};return("number"!=typeof h||"number"!=typeof r&&!f)&&(o||isNaN(h)||!f&&isNaN(r)||"boolean"==typeof h||"boolean"==typeof r?(p.fp=o,p={t:X(h,f?parseFloat(p.s)+p.c+(p.s+"").replace(/[0-9\-\.]/g,""):r,a||M.defaultStringFilter,p),p:"setRatio",s:0,c:1,f:2,pg:0,n:n||e,pr:0,m:0}):(p.s=parseFloat(h),f||(p.c=parseFloat(r)-p.s||0))),p.c?((p._next=this._firstPT)&&(p._next._prev=p),this._firstPT=p,p):void 0},U=M._internals={isArray:m,isSelector:z,lazyTweens:D,blobDif:X},W=M._plugins={},Q=U.tweenLookup={},Y=0,V=U.reservedProps={ease:1,delay:1,overwrite:1,onComplete:1,onCompleteParams:1,onCompleteScope:1,useFrames:1,runBackwards:1,startAt:1,onUpdate:1,onUpdateParams:1,onUpdateScope:1,onStart:1,onStartParams:1,onStartScope:1,onReverseComplete:1,onReverseCompleteParams:1,onReverseCompleteScope:1,onRepeat:1,onRepeatParams:1,onRepeatScope:1,easeParams:1,yoyo:1,immediateRender:1,repeat:1,repeatDelay:1,data:1,paused:1,reversed:1,autoCSS:1,lazy:1,onOverwrite:1,callbackScope:1,stringFilter:1,id:1,yoyoEase:1,stagger:1},H={none:0,all:1,auto:2,concurrent:3,allOnStart:4,preexisting:5,true:1,false:0},$=R._rootFramesTimeline=new I,G=R._rootTimeline=new I,Z=30,K=U.lazyRender=function(){var t,e,i=D.length;for(F={},t=0;i>t;t++)(e=D[t])&&!1!==e._lazy&&(e.render(e._lazy[0],e._lazy[1],!0),e._lazy=!1);D.length=0};G._startTime=u.time,$._startTime=u.frame,G._active=$._active=!0,setTimeout(K,1),R._updateRoot=M.render=function(){var t,e,i;if(D.length&&K(),G.render((u.time-G._startTime)*G._timeScale,!1,!1),$.render((u.frame-$._startTime)*$._timeScale,!1,!1),D.length&&K(),u.frame>=Z){for(i in Z=u.frame+(parseInt(M.autoSleep,10)||120),Q){for(t=(e=Q[i].tweens).length;--t>-1;)e[t]._gc&&e.splice(t,1);0===e.length&&delete Q[i]}if((!(i=G._first)||i._paused)&&M.autoSleep&&!$._first&&1===u._listeners.tick.length){for(;i&&i._paused;)i=i._next;i||u.sleep()}}},u.addEventListener("tick",R._updateRoot);var J=function(t,e,i){var r,n,s=t._gsTweenID;if(Q[s||(t._gsTweenID=s="t"+Y++)]||(Q[s]={target:t,tweens:[]}),e&&((r=Q[s].tweens)[n=r.length]=e,i))for(;--n>-1;)r[n]===e&&r.splice(n,1);return Q[s].tweens},tt=function(t,e,i,r){var n,s,o=t.vars.onOverwrite;return o&&(n=o(t,e,i,r)),(o=M.onOverwrite)&&(s=o(t,e,i,r)),!1!==n&&!1!==s},et=function(t,e,i,r,n){var s,o,a,l;if(1===r||r>=4){for(l=n.length,s=0;l>s;s++)if((a=n[s])!==e)a._gc||a._kill(null,t,e)&&(o=!0);else if(5===r)break;return o}var u,c=e._startTime+p,h=[],f=0,d=0===e._duration;for(s=n.length;--s>-1;)(a=n[s])===e||a._gc||a._paused||(a._timeline!==e._timeline?(u=u||it(e,0,d),0===it(a,u,d)&&(h[f++]=a)):a._startTime<=c&&a._startTime+a.totalDuration()/a._timeScale>c&&((d||!a._initted)&&c-a._startTime<=2*p||(h[f++]=a)));for(s=f;--s>-1;)if(l=(a=h[s])._firstPT,2===r&&a._kill(i,t,e)&&(o=!0),2!==r||!a._firstPT&&a._initted&&l){if(2!==r&&!tt(a,e))continue;a._enabled(!1,!1)&&(o=!0)}return o},it=function(t,e,i){for(var r=t._timeline,n=r._timeScale,s=t._startTime;r._timeline;){if(s+=r._startTime,n*=r._timeScale,r._paused)return-100;r=r._timeline}return(s/=n)>e?s-e:i&&s===e||!t._initted&&2*p>s-e?p:(s+=t.totalDuration()/t._timeScale/n)>e+p?0:s-e-p};l._init=function(){var t,e,i,r,n,s,o=this.vars,a=this._overwrittenProps,l=this._duration,u=!!o.immediateRender,c=o.ease,h=this._startAt;if(o.startAt){for(r in h&&(h.render(-1,!0),h.kill()),n={},o.startAt)n[r]=o.startAt[r];if(n.data="isStart",n.overwrite=!1,n.immediateRender=!0,n.lazy=u&&!1!==o.lazy,n.startAt=n.delay=null,n.onUpdate=o.onUpdate,n.onUpdateParams=o.onUpdateParams,n.onUpdateScope=o.onUpdateScope||o.callbackScope||this,this._startAt=M.to(this.target||{},0,n),u)if(this._time>0)this._startAt=null;else if(0!==l)return}else if(o.runBackwards&&0!==l)if(h)h.render(-1,!0),h.kill(),this._startAt=null;else{for(r in 0!==this._time&&(u=!1),i={},o)V[r]&&"autoCSS"!==r||(i[r]=o[r]);if(i.overwrite=0,i.data="isFromStart",i.lazy=u&&!1!==o.lazy,i.immediateRender=u,this._startAt=M.to(this.target,0,i),u){if(0===this._time)return}else this._startAt._init(),this._startAt._enabled(!1),this.vars.immediateRender&&(this._startAt=null)}if(this._ease=c=c?c instanceof x?c:"function"==typeof c?new x(c,o.easeParams):T[c]||M.defaultEase:M.defaultEase,o.easeParams instanceof Array&&c.config&&(this._ease=c.config.apply(c,o.easeParams)),this._easeType=this._ease._type,this._easePower=this._ease._power,this._firstPT=null,this._targets)for(s=this._targets.length,t=0;s>t;t++)this._initProps(this._targets[t],this._propLookup[t]={},this._siblings[t],a?a[t]:null,t)&&(e=!0);else e=this._initProps(this.target,this._propLookup,this._siblings,a,0);if(e&&M._onPluginEvent("_onInitAllProps",this),a&&(this._firstPT||"function"!=typeof this.target&&this._enabled(!1,!1)),o.runBackwards)for(i=this._firstPT;i;)i.s+=i.c,i.c=-i.c,i=i._next;this._onUpdate=o.onUpdate,this._initted=!0},l._initProps=function(e,i,r,n,s){var o,a,l,u,c,h;if(null==e)return!1;for(o in F[e._gsTweenID]&&K(),this.vars.css||e.style&&e!==t&&e.nodeType&&W.css&&!1!==this.vars.autoCSS&&function(t,e){var i,r={};for(i in t)V[i]||i in e&&"transform"!==i&&"x"!==i&&"y"!==i&&"width"!==i&&"height"!==i&&"className"!==i&&"border"!==i||!(!W[i]||W[i]&&W[i]._autoCSS)||(r[i]=t[i],delete t[i]);t.css=r}(this.vars,e),this.vars)if(h=this.vars[o],V[o])h&&(h instanceof Array||h.push&&m(h))&&-1!==h.join("").indexOf("{self}")&&(this.vars[o]=h=this._swapSelfInParams(h,this));else if(W[o]&&(u=new W[o])._onInitTween(e,this.vars[o],this,s)){for(this._firstPT=c={_next:this._firstPT,t:u,p:"setRatio",s:0,c:1,f:1,n:o,pg:1,pr:u._priority,m:0},a=u._overwriteProps.length;--a>-1;)i[u._overwriteProps[a]]=this._firstPT;(u._priority||u._onInitAllProps)&&(l=!0),(u._onDisable||u._onEnable)&&(this._notifyPluginsOfEnabled=!0),c._next&&(c._next._prev=c)}else i[o]=q.call(this,e,o,"get",h,o,0,null,this.vars.stringFilter,s);return n&&this._kill(n,e)?this._initProps(e,i,r,n,s):this._overwrite>1&&this._firstPT&&r.length>1&&et(e,this,i,this._overwrite,r)?(this._kill(i,e),this._initProps(e,i,r,n,s)):(this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration)&&(F[e._gsTweenID]=!0),l)},l.render=function(t,e,i){var r,n,s,o,a=this,l=a._time,u=a._duration,c=a._rawPrevTime;if(t>=u-p&&t>=0)a._totalTime=a._time=u,a.ratio=a._ease._calcEnd?a._ease.getRatio(1):1,a._reversed||(r=!0,n="onComplete",i=i||a._timeline.autoRemoveChildren),0===u&&(a._initted||!a.vars.lazy||i)&&(a._startTime===a._timeline._duration&&(t=0),(0>c||0>=t&&t>=-p||c===p&&"isPause"!==a.data)&&c!==t&&(i=!0,c>p&&(n="onReverseComplete")),a._rawPrevTime=o=!e||t||c===t?t:p);else if(p>t)a._totalTime=a._time=0,a.ratio=a._ease._calcEnd?a._ease.getRatio(0):0,(0!==l||0===u&&c>0)&&(n="onReverseComplete",r=a._reversed),t>-p?t=0:0>t&&(a._active=!1,0===u&&(a._initted||!a.vars.lazy||i)&&(c>=0&&(c!==p||"isPause"!==a.data)&&(i=!0),a._rawPrevTime=o=!e||t||c===t?t:p)),(!a._initted||a._startAt&&a._startAt.progress())&&(i=!0);else if(a._totalTime=a._time=t,a._easeType){var h=t/u,f=a._easeType,d=a._easePower;(1===f||3===f&&h>=.5)&&(h=1-h),3===f&&(h*=2),1===d?h*=h:2===d?h*=h*h:3===d?h*=h*h*h:4===d&&(h*=h*h*h*h),a.ratio=1===f?1-h:2===f?h:.5>t/u?h/2:1-h/2}else a.ratio=a._ease.getRatio(t/u);if(a._time!==l||i){if(!a._initted){if(a._init(),!a._initted||a._gc)return;if(!i&&a._firstPT&&(!1!==a.vars.lazy&&a._duration||a.vars.lazy&&!a._duration))return a._time=a._totalTime=l,a._rawPrevTime=c,D.push(a),void(a._lazy=[t,e]);a._time&&!r?a.ratio=a._ease.getRatio(a._time/u):r&&a._ease._calcEnd&&(a.ratio=a._ease.getRatio(0===a._time?0:1))}for(!1!==a._lazy&&(a._lazy=!1),a._active||!a._paused&&a._time!==l&&t>=0&&(a._active=!0),0===l&&(a._startAt&&(t>=0?a._startAt.render(t,!0,i):n||(n="_dummyGS")),a.vars.onStart&&(0!==a._time||0===u)&&(e||a._callback("onStart"))),s=a._firstPT;s;)s.f?s.t[s.p](s.c*a.ratio+s.s):s.t[s.p]=s.c*a.ratio+s.s,s=s._next;a._onUpdate&&(0>t&&a._startAt&&-1e-4!==t&&a._startAt.render(t,!0,i),e||(a._time!==l||r||i)&&a._callback("onUpdate")),n&&(!a._gc||i)&&(0>t&&a._startAt&&!a._onUpdate&&-1e-4!==t&&a._startAt.render(t,!0,i),r&&(a._timeline.autoRemoveChildren&&a._enabled(!1,!1),a._active=!1),!e&&a.vars[n]&&a._callback(n),0===u&&a._rawPrevTime===p&&o!==p&&(a._rawPrevTime=0))}},l._kill=function(t,e,i){if("all"===t&&(t=null),null==t&&(null==e||e===this.target))return this._lazy=!1,this._enabled(!1,!1);e="string"!=typeof e?e||this._targets||this.target:M.selector(e)||e;var r,n,s,o,a,l,u,c,h,f=i&&this._time&&i._startTime===this._startTime&&this._timeline===i._timeline,p=this._firstPT;if((m(e)||z(e))&&"number"!=typeof e[0])for(r=e.length;--r>-1;)this._kill(t,e[r],i)&&(l=!0);else{if(this._targets){for(r=this._targets.length;--r>-1;)if(e===this._targets[r]){a=this._propLookup[r]||{},this._overwrittenProps=this._overwrittenProps||[],n=this._overwrittenProps[r]=t?this._overwrittenProps[r]||{}:"all";break}}else{if(e!==this.target)return!1;a=this._propLookup,n=this._overwrittenProps=t?this._overwrittenProps||{}:"all"}if(a){if(u=t||a,c=t!==n&&"all"!==n&&t!==a&&("object"!=typeof t||!t._tempKill),i&&(M.onOverwrite||this.vars.onOverwrite)){for(s in u)a[s]&&(h||(h=[]),h.push(s));if((h||!t)&&!tt(this,i,e,h))return!1}for(s in u)(o=a[s])&&(f&&(o.f?o.t[o.p](o.s):o.t[o.p]=o.s,l=!0),o.pg&&o.t._kill(u)&&(l=!0),o.pg&&0!==o.t._overwriteProps.length||(o._prev?o._prev._next=o._next:o===this._firstPT&&(this._firstPT=o._next),o._next&&(o._next._prev=o._prev),o._next=o._prev=null),delete a[s]),c&&(n[s]=1);!this._firstPT&&this._initted&&p&&this._enabled(!1,!1)}}return l},l.invalidate=function(){this._notifyPluginsOfEnabled&&M._onPluginEvent("_onDisable",this);var t=this._time;return this._firstPT=this._overwrittenProps=this._startAt=this._onUpdate=null,this._notifyPluginsOfEnabled=this._active=this._lazy=!1,this._propLookup=this._targets?{}:[],R.prototype.invalidate.call(this),this.vars.immediateRender&&(this._time=-p,this.render(t,!1,!1!==this.vars.lazy)),this},l._enabled=function(t,e){if(c||u.wake(),t&&this._gc){var i,r=this._targets;if(r)for(i=r.length;--i>-1;)this._siblings[i]=J(r[i],this,!0);else this._siblings=J(this.target,this,!0)}return R.prototype._enabled.call(this,t,e),!(!this._notifyPluginsOfEnabled||!this._firstPT)&&M._onPluginEvent(t?"_onEnable":"_onDisable",this)},M.to=function(t,e,i){return new M(t,e,i)},M.from=function(t,e,i){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,new M(t,e,i)},M.fromTo=function(t,e,i,r){return r.startAt=i,r.immediateRender=0!=r.immediateRender&&0!=i.immediateRender,new M(t,e,r)},M.delayedCall=function(t,e,i,r,n){return new M(e,0,{delay:t,onComplete:e,onCompleteParams:i,callbackScope:r,onReverseComplete:e,onReverseCompleteParams:i,immediateRender:!1,lazy:!1,useFrames:n,overwrite:0})},M.set=function(t,e){return new M(t,0,e)},M.getTweensOf=function(t,e){if(null==t)return[];var i,r,n,s;if(t="string"!=typeof t?t:M.selector(t)||t,(m(t)||z(t))&&"number"!=typeof t[0]){for(i=t.length,r=[];--i>-1;)r=r.concat(M.getTweensOf(t[i],e));for(i=r.length;--i>-1;)for(s=r[i],n=i;--n>-1;)s===r[n]&&r.splice(i,1)}else if(t._gsTweenID)for(i=(r=J(t).concat()).length;--i>-1;)(r[i]._gc||e&&!r[i].isActive())&&r.splice(i,1);return r||[]},M.killTweensOf=M.killDelayedCallsTo=function(t,e,i){"object"==typeof e&&(i=e,e=!1);for(var r=M.getTweensOf(t,e),n=r.length;--n>-1;)r[n]._kill(i,t)};var rt=w("plugins.TweenPlugin",(function(t,e){this._overwriteProps=(t||"").split(","),this._propName=this._overwriteProps[0],this._priority=e||0,this._super=rt.prototype}),!0);if(l=rt.prototype,rt.version="1.19.0",rt.API=2,l._firstPT=null,l._addTween=q,l.setRatio=N,l._kill=function(t){var e,i=this._overwriteProps,r=this._firstPT;if(null!=t[this._propName])this._overwriteProps=[];else for(e=i.length;--e>-1;)null!=t[i[e]]&&i.splice(e,1);for(;r;)null!=t[r.n]&&(r._next&&(r._next._prev=r._prev),r._prev?(r._prev._next=r._next,r._prev=null):this._firstPT===r&&(this._firstPT=r._next)),r=r._next;return!1},l._mod=l._roundProps=function(t){for(var e,i=this._firstPT;i;)(e=t[this._propName]||null!=i.n&&t[i.n.split(this._propName+"_").join("")])&&"function"==typeof e&&(2===i.f?i.t._applyPT.m=e:i.m=e),i=i._next},M._onPluginEvent=function(t,e){var i,r,n,s,o,a=e._firstPT;if("_onInitAllProps"===t){for(;a;){for(o=a._next,r=n;r&&r.pr>a.pr;)r=r._next;(a._prev=r?r._prev:s)?a._prev._next=a:n=a,(a._next=r)?r._prev=a:s=a,a=o}a=e._firstPT=n}for(;a;)a.pg&&"function"==typeof a.t[t]&&a.t[t]()&&(i=!0),a=a._next;return i},rt.activate=function(t){for(var e=t.length;--e>-1;)t[e].API===rt.API&&(W[(new t[e])._propName]=t[e]);return!0},y.plugin=function(t){if(!(t&&t.propName&&t.init&&t.API))throw"illegal plugin definition.";var e,i=t.propName,r=t.priority||0,n=t.overwriteProps,s={init:"_onInitTween",set:"setRatio",kill:"_kill",round:"_mod",mod:"_mod",initAll:"_onInitAllProps"},o=w("plugins."+i.charAt(0).toUpperCase()+i.substr(1)+"Plugin",(function(){rt.call(this,i,r),this._overwriteProps=n||[]}),!0===t.global),a=o.prototype=new rt(i);for(e in a.constructor=o,o.API=t.API,s)"function"==typeof t[e]&&(a[s[e]]=t[e]);return o.version=t.version,rt.activate([o]),o},o=t._gsQueue){for(a=0;a<o.length;a++)o[a]();for(l in g)g[l].func||t.console.log("GSAP encountered missing dependency: "+l)}c=!1}("undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window,"TweenMax");;;(function($){"use strict";let html=document.documentElement;html.classList.remove('ut-no-js');html.classList.add('ut-js');$.fn.reverse=function(){return this.pushStack(this.get().reverse(),arguments)};$(document).ready(function(){var $sitebody=$("#ut-sitebody");var wait_for_images=!0;var check_preloader_status=setInterval(function(){if(typeof preloader_settings!="undefined"&&!preloader_settings.loader_active&&!wait_for_images){$sitebody.addClass("ut-hero-image-preloaded");clearInterval(check_preloader_status)}else if(typeof preloader_settings==="undefined"&&!wait_for_images){$sitebody.addClass("ut-hero-image-preloaded");clearInterval(check_preloader_status)}},50);window.start_hero_animation_process=function(element){$sitebody.addClass("ut-hero-image-animated");$(document.body).on('webkitAnimationStart mozAnimationStart MSAnimationStart oanimationstart animationstart','#ut-hero .hero-inner .ut-hero-animation-element',function(){$('#ut-hero .hero-title').delay(500).queue(function(){$(this).addClass('hero-title-animated');$(this).parent().addClass('ut-hth-ready')})});$(element).delay(600).queue(function(){$('#ut-hero .ut-hero-animation-element').not('.hero-down-arrow').addClass('ut-hero-animation-element-start');$('#ut-hero .hero-down-arrow').delay(200).queue(function(){$(this).addClass('ut-hero-animation-element-start')})})}
var $hero_image_container=$(".parallax-scroll-container","#ut-hero");if($hero_image_container.length){if($hero_image_container.children('.parallax-image-container').length){$hero_image_container.children('.parallax-image-container').waitForImages(function(){wait_for_images=!1})}else{$hero_image_container.waitForImages(function(){wait_for_images=!1})}
$(document.body).on('webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend','#ut-hero .parallax-scroll-container',function(){start_hero_animation_process(this)});$(document.body).on('webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend','#ut-hero .parallax-image-container:not(.parallax-image-container-ready)',function(){$(this).addClass('parallax-image-finished')})}
var $hero_slider_container=$(".slides","#ut-hero-slider");if($hero_slider_container.length){$hero_slider_container.find('.parallax-image-container').waitForImages(function(){wait_for_images=!1});$(document.body).on('webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend','#ut-hero-slider',function(){start_hero_animation_process(this)})}
var $hero_imagefader_container=$(".ut-image-fader li","#ut-hero");if($hero_imagefader_container.length){$hero_imagefader_container.waitForImages(function(){$sitebody.addClass("ut-hero-image-preloaded")});$(document.body).on('webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend','#ut-hero .ut-image-fader',function(){start_hero_animation_process(this)})}
let $hero_rain_background_container=$("#ut-rain-background","#ut-hero");if($hero_rain_background_container.length){$hero_rain_background_container.waitForImages(function(){$sitebody.addClass("ut-hero-image-preloaded")});$(document.body).on('webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend','#ut-hero canvas',function(){start_hero_animation_process(this)})}})})(jQuery);window.RS_MODULES=window.RS_MODULES||{};window.RS_MODULES.modules=window.RS_MODULES.modules||{};window.RS_MODULES.waiting=window.RS_MODULES.waiting||[];window.RS_MODULES.defered=!0;window.RS_MODULES.moduleWaiting=window.RS_MODULES.moduleWaiting||{};window.RS_MODULES.type='compiled';const lazyloadRunObserver=()=>{const lazyloadBackgrounds=document.querySelectorAll(`.e-con.e-parent:not(.e-lazyloaded)`);const lazyloadBackgroundObserver=new IntersectionObserver((entries)=>{entries.forEach((entry)=>{if(entry.isIntersecting){let lazyloadBackground=entry.target;if(lazyloadBackground){lazyloadBackground.classList.add('e-lazyloaded')}
lazyloadBackgroundObserver.unobserve(entry.target)}})},{rootMargin:'200px 0px 200px 0px'});lazyloadBackgrounds.forEach((lazyloadBackground)=>{lazyloadBackgroundObserver.observe(lazyloadBackground)})};const events=['DOMContentLoaded','elementor/lazyload/observe',];events.forEach((event)=>{document.addEventListener(event,lazyloadRunObserver)});wp.i18n.setLocaleData({'text direction\u0004ltr':['ltr']});(()=>{"use strict";var t={d:(e,i)=>{for(var s in i)t.o(i,s)&&!t.o(e,s)&&Object.defineProperty(e,s,{enumerable:!0,get:i[s]})},o:(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r:t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}},e={};function i(t){if(this.formData={},this.tree={},!(t instanceof FormData))return this;this.formData=t;const e=()=>{const t=new Map;return t.largestIndex=0,t.set=function(e,i){""===e?e=t.largestIndex++:/^[0-9]+$/.test(e)&&(e=parseInt(e),t.largestIndex<=e&&(t.largestIndex=e+1)),Map.prototype.set.call(t,e,i)},t};this.tree=e();const i=/^(?<name>[a-z][-a-z0-9_:]*)(?<array>(?:\[(?:[a-z][-a-z0-9_:]*|[0-9]*)\])*)/i;for(const[t,s]of this.formData){const o=t.match(i);if(o)if(""===o.groups.array)this.tree.set(o.groups.name,s);else{const t=[...o.groups.array.matchAll(/\[([a-z][-a-z0-9_:]*|[0-9]*)\]/gi)].map((([t,e])=>e));t.unshift(o.groups.name);const i=t.pop();t.reduce(((t,i)=>{if(/^[0-9]+$/.test(i)&&(i=parseInt(i)),t.get(i)instanceof Map)return t.get(i);const s=e();return t.set(i,s),s}),this.tree).set(i,s)}}}t.r(e),t.d(e,{all:()=>D,any:()=>M,date:()=>f,dayofweek:()=>u,email:()=>r,enum:()=>h,file:()=>m,maxdate:()=>z,maxfilesize:()=>$,maxitems:()=>v,maxlength:()=>x,maxnumber:()=>b,mindate:()=>A,minfilesize:()=>j,minitems:()=>w,minlength:()=>g,minnumber:()=>y,number:()=>c,required:()=>n,requiredfile:()=>a,tel:()=>l,time:()=>d,url:()=>p}),i.prototype.entries=function(){return this.tree.entries()},i.prototype.get=function(t){return this.tree.get(t)},i.prototype.getAll=function(t){if(!this.has(t))return[];const e=t=>{const i=[];if(t instanceof Map)for(const[s,o]of t)i.push(...e(o));else""!==t&&i.push(t);return i};return e(this.get(t))},i.prototype.has=function(t){return this.tree.has(t)},i.prototype.keys=function(){return this.tree.keys()},i.prototype.values=function(){return this.tree.values()};const s=i;function o({rule:t,field:e,error:i,...s}){this.rule=t,this.field=e,this.error=i,this.properties=s}const n=function(t){if(0===t.getAll(this.field).length)throw new o(this)},a=function(t){if(0===t.getAll(this.field).length)throw new o(this)},r=function(t){if(!t.getAll(this.field).every((t=>{if((t=t.trim()).length<6)return!1;if(-1===t.indexOf("@",1))return!1;if(t.indexOf("@")!==t.lastIndexOf("@"))return!1;const[e,i]=t.split("@",2);if(!/^[a-zA-Z0-9!#$%&\'*+\/=?^_`{|}~\.-]+$/.test(e))return!1;if(/\.{2,}/.test(i))return!1;if(/(?:^[ \t\n\r\0\x0B.]|[ \t\n\r\0\x0B.]$)/.test(i))return!1;const s=i.split(".");if(s.length<2)return!1;for(const t of s){if(/(?:^[ \t\n\r\0\x0B-]|[ \t\n\r\0\x0B-]$)/.test(t))return!1;if(!/^[a-z0-9-]+$/i.test(t))return!1}return!0})))throw new o(this)},p=function(t){const e=t.getAll(this.field);if(!e.every((t=>{if(""===(t=t.trim()))return!1;try{return(t=>-1!==["http","https","ftp","ftps","mailto","news","irc","irc6","ircs","gopher","nntp","feed","telnet","mms","rtsp","sms","svn","tel","fax","xmpp","webcal","urn"].indexOf(t))(new URL(t).protocol.replace(/:$/,""))}catch{return!1}})))throw new o(this)},l=function(t){if(!t.getAll(this.field).every((t=>(t=(t=t.trim()).replaceAll(/[()/.*#\s-]+/g,""),/^[+]?[0-9]+$/.test(t)))))throw new o(this)},c=function(t){if(!t.getAll(this.field).every((t=>(t=t.trim(),!!/^[-]?[0-9]+(?:[eE][+-]?[0-9]+)?$/.test(t)||!!/^[-]?(?:[0-9]+)?[.][0-9]+(?:[eE][+-]?[0-9]+)?$/.test(t)))))throw new o(this)},f=function(t){if(!t.getAll(this.field).every((t=>{if(t=t.trim(),!/^[0-9]{4,}-[0-9]{2}-[0-9]{2}$/.test(t))return!1;const e=new Date(t);return!Number.isNaN(e.valueOf())})))throw new o(this)},d=function(t){if(!t.getAll(this.field).every((t=>{const e=t.trim().match(/^([0-9]{2})\:([0-9]{2})(?:\:([0-9]{2}))?$/);if(!e)return!1;const i=parseInt(e[1]),s=parseInt(e[2]),o=e[3]?parseInt(e[3]):0;return 0<=i&&i<=23&&0<=s&&s<=59&&0<=o&&o<=59})))throw new o(this)},m=function(t){if(!t.getAll(this.field).every((t=>t instanceof File&&this.accept?.some((e=>/^\.[a-z0-9]+$/i.test(e)?t.name.toLowerCase().endsWith(e.toLowerCase()):(t=>{const e=[],i=t.match(/^(?<toplevel>[a-z]+)\/(?<sub>[*]|[a-z0-9.+-]+)$/i);if(i){const t=i.groups.toplevel.toLowerCase(),s=i.groups.sub.toLowerCase();for(const[o,n]of(()=>{const t=new Map;return t.set("jpg|jpeg|jpe","image/jpeg"),t.set("gif","image/gif"),t.set("png","image/png"),t.set("bmp","image/bmp"),t.set("tiff|tif","image/tiff"),t.set("webp","image/webp"),t.set("ico","image/x-icon"),t.set("heic","image/heic"),t.set("asf|asx","video/x-ms-asf"),t.set("wmv","video/x-ms-wmv"),t.set("wmx","video/x-ms-wmx"),t.set("wm","video/x-ms-wm"),t.set("avi","video/avi"),t.set("divx","video/divx"),t.set("flv","video/x-flv"),t.set("mov|qt","video/quicktime"),t.set("mpeg|mpg|mpe","video/mpeg"),t.set("mp4|m4v","video/mp4"),t.set("ogv","video/ogg"),t.set("webm","video/webm"),t.set("mkv","video/x-matroska"),t.set("3gp|3gpp","video/3gpp"),t.set("3g2|3gp2","video/3gpp2"),t.set("txt|asc|c|cc|h|srt","text/plain"),t.set("csv","text/csv"),t.set("tsv","text/tab-separated-values"),t.set("ics","text/calendar"),t.set("rtx","text/richtext"),t.set("css","text/css"),t.set("htm|html","text/html"),t.set("vtt","text/vtt"),t.set("dfxp","application/ttaf+xml"),t.set("mp3|m4a|m4b","audio/mpeg"),t.set("aac","audio/aac"),t.set("ra|ram","audio/x-realaudio"),t.set("wav","audio/wav"),t.set("ogg|oga","audio/ogg"),t.set("flac","audio/flac"),t.set("mid|midi","audio/midi"),t.set("wma","audio/x-ms-wma"),t.set("wax","audio/x-ms-wax"),t.set("mka","audio/x-matroska"),t.set("rtf","application/rtf"),t.set("js","application/javascript"),t.set("pdf","application/pdf"),t.set("swf","application/x-shockwave-flash"),t.set("class","application/java"),t.set("tar","application/x-tar"),t.set("zip","application/zip"),t.set("gz|gzip","application/x-gzip"),t.set("rar","application/rar"),t.set("7z","application/x-7z-compressed"),t.set("exe","application/x-msdownload"),t.set("psd","application/octet-stream"),t.set("xcf","application/octet-stream"),t.set("doc","application/msword"),t.set("pot|pps|ppt","application/vnd.ms-powerpoint"),t.set("wri","application/vnd.ms-write"),t.set("xla|xls|xlt|xlw","application/vnd.ms-excel"),t.set("mdb","application/vnd.ms-access"),t.set("mpp","application/vnd.ms-project"),t.set("docx","application/vnd.openxmlformats-officedocument.wordprocessingml.document"),t.set("docm","application/vnd.ms-word.document.macroEnabled.12"),t.set("dotx","application/vnd.openxmlformats-officedocument.wordprocessingml.template"),t.set("dotm","application/vnd.ms-word.template.macroEnabled.12"),t.set("xlsx","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"),t.set("xlsm","application/vnd.ms-excel.sheet.macroEnabled.12"),t.set("xlsb","application/vnd.ms-excel.sheet.binary.macroEnabled.12"),t.set("xltx","application/vnd.openxmlformats-officedocument.spreadsheetml.template"),t.set("xltm","application/vnd.ms-excel.template.macroEnabled.12"),t.set("xlam","application/vnd.ms-excel.addin.macroEnabled.12"),t.set("pptx","application/vnd.openxmlformats-officedocument.presentationml.presentation"),t.set("pptm","application/vnd.ms-powerpoint.presentation.macroEnabled.12"),t.set("ppsx","application/vnd.openxmlformats-officedocument.presentationml.slideshow"),t.set("ppsm","application/vnd.ms-powerpoint.slideshow.macroEnabled.12"),t.set("potx","application/vnd.openxmlformats-officedocument.presentationml.template"),t.set("potm","application/vnd.ms-powerpoint.template.macroEnabled.12"),t.set("ppam","application/vnd.ms-powerpoint.addin.macroEnabled.12"),t.set("sldx","application/vnd.openxmlformats-officedocument.presentationml.slide"),t.set("sldm","application/vnd.ms-powerpoint.slide.macroEnabled.12"),t.set("onetoc|onetoc2|onetmp|onepkg","application/onenote"),t.set("oxps","application/oxps"),t.set("xps","application/vnd.ms-xpsdocument"),t.set("odt","application/vnd.oasis.opendocument.text"),t.set("odp","application/vnd.oasis.opendocument.presentation"),t.set("ods","application/vnd.oasis.opendocument.spreadsheet"),t.set("odg","application/vnd.oasis.opendocument.graphics"),t.set("odc","application/vnd.oasis.opendocument.chart"),t.set("odb","application/vnd.oasis.opendocument.database"),t.set("odf","application/vnd.oasis.opendocument.formula"),t.set("wp|wpd","application/wordperfect"),t.set("key","application/vnd.apple.keynote"),t.set("numbers","application/vnd.apple.numbers"),t.set("pages","application/vnd.apple.pages"),t})())("*"===s&&n.startsWith(t+"/")||n===i[0])&&e.push(...o.split("|"))}return e})(e).some((e=>(e="."+e.trim(),t.name.toLowerCase().endsWith(e.toLowerCase())))))))))throw new o(this)},h=function(t){if(!t.getAll(this.field).every((t=>this.accept?.some((e=>t===String(e))))))throw new o(this)},u=function(t){if(!t.getAll(this.field).every((t=>{const e=0===(i=new Date(t).getDay())?7:i;var i;return this.accept?.some((t=>e===parseInt(t)))})))throw new o(this)},w=function(t){if(t.getAll(this.field).length<parseInt(this.threshold))throw new o(this)},v=function(t){const e=t.getAll(this.field);if(parseInt(this.threshold)<e.length)throw new o(this)},g=function(t){const e=t.getAll(this.field);let i=0;if(e.forEach((t=>{"string"==typeof t&&(i+=t.length)})),0!==i&&i<parseInt(this.threshold))throw new o(this)},x=function(t){const e=t.getAll(this.field);let i=0;if(e.forEach((t=>{"string"==typeof t&&(i+=t.length)})),parseInt(this.threshold)<i)throw new o(this)},y=function(t){if(!t.getAll(this.field).every((t=>!(parseFloat(t)<parseFloat(this.threshold)))))throw new o(this)},b=function(t){if(!t.getAll(this.field).every((t=>!(parseFloat(this.threshold)<parseFloat(t)))))throw new o(this)},A=function(t){if(!t.getAll(this.field).every((t=>(t=t.trim(),!(/^[0-9]{4,}-[0-9]{2}-[0-9]{2}$/.test(t)&&/^[0-9]{4,}-[0-9]{2}-[0-9]{2}$/.test(this.threshold)&&t<this.threshold)))))throw new o(this)},z=function(t){if(!t.getAll(this.field).every((t=>(t=t.trim(),!(/^[0-9]{4,}-[0-9]{2}-[0-9]{2}$/.test(t)&&/^[0-9]{4,}-[0-9]{2}-[0-9]{2}$/.test(this.threshold)&&this.threshold<t)))))throw new o(this)},j=function(t){const e=t.getAll(this.field);let i=0;if(e.forEach((t=>{t instanceof File&&(i+=t.size)})),i<parseInt(this.threshold))throw new o(this)},$=function(t){const e=t.getAll(this.field);let i=0;if(e.forEach((t=>{t instanceof File&&(i+=t.size)})),parseInt(this.threshold)<i)throw new o(this)},I=({ruleObj:t,options:i})=>{const{rule:s,...o}=t;return"function"==typeof e[s]&&("function"!=typeof e[s].matches||e[s].matches(o,i))},O=({ruleObj:t,formDataTree:i,options:s})=>{const{rule:o}=t;e[o].call(t,i,s)},E=[],k=t=>[...E].reduce(((t,e)=>i=>e(i,t)),t),D=function(t,e={}){const i=(this.rules??[]).filter((t=>I({ruleObj:t,options:e}))),s=k(O);if(!i.every((i=>{try{s({ruleObj:i,formDataTree:t,options:e})}catch(t){if(!(t instanceof o))throw t;if(void 0!==t.error)throw t;return!1}return!0})))throw new o(this)},M=function(t,e={}){const i=(this.rules??[]).filter((t=>I({ruleObj:t,options:e}))),s=k(O);if(!i.some((i=>{try{s({ruleObj:i,formDataTree:t,options:e})}catch(t){if(!(t instanceof o))throw t;return!1}return!0})))throw new o(this)};var F;window.swv={validators:e,validate:(t,e,i={})=>{const n=(t.rules??[]).filter((t=>I({ruleObj:t,options:i})));if(!n.length)return new Map;const a=k(O),r=new s(e),p=n.reduce(((t,e)=>{try{a({ruleObj:e,formDataTree:r,options:i})}catch(e){if(!(e instanceof o))throw e;if(void 0!==e.field&&!t.has(e.field)&&void 0!==e.error)return t.set(e.field,e)}return t}),new Map);for(const t of r.keys())p.has(t)||p.set(t,{validInputs:r.getAll(t)});return p},use:t=>{E.push(t)},...null!==(F=window.swv)&&void 0!==F?F:{}}})();var wpcf7={"api":{"root":"https:\/\/www.nouvelageclinic.com\/wp-json\/","namespace":"contact-form-7\/v1"},"cached":"1"};(()=>{"use strict";const e=window.wp.i18n,t=e=>Math.abs(parseInt(e,10)),a=(e,t,a)=>{const n=new CustomEvent(`wpcf7${t}`,{bubbles:!0,detail:a});"string"==typeof e&&(e=document.querySelector(e)),e.dispatchEvent(n)},n=(e,t)=>{const n=new Map([["init","init"],["validation_failed","invalid"],["acceptance_missing","unaccepted"],["spam","spam"],["aborted","aborted"],["mail_sent","sent"],["mail_failed","failed"],["submitting","submitting"],["resetting","resetting"],["validating","validating"],["payment_required","payment-required"]]);n.has(t)&&(t=n.get(t)),Array.from(n.values()).includes(t)||(t=`custom-${t=(t=t.replace(/[^0-9a-z]+/i," ").trim()).replace(/\s+/,"-")}`);const r=e.getAttribute("data-status");if(e.wpcf7.status=t,e.setAttribute("data-status",t),e.classList.add(t),r&&r!==t){e.classList.remove(r);const t={contactFormId:e.wpcf7.id,pluginVersion:e.wpcf7.pluginVersion,contactFormLocale:e.wpcf7.locale,unitTag:e.wpcf7.unitTag,containerPostId:e.wpcf7.containerPost,status:e.wpcf7.status,prevStatus:r};a(e,"statuschanged",t)}return t},r=e=>{const{root:t,namespace:a="contact-form-7/v1"}=wpcf7.api;return o.reduceRight(((e,t)=>a=>t(a,e)),(e=>{let n,r,{url:o,path:c,endpoint:s,headers:i,body:l,data:p,...d}=e;"string"==typeof s&&(n=a.replace(/^\/|\/$/g,""),r=s.replace(/^\//,""),c=r?n+"/"+r:n),"string"==typeof c&&(-1!==t.indexOf("?")&&(c=c.replace("?","&")),c=c.replace(/^\//,""),o=t+c),i={Accept:"application/json, */*;q=0.1",...i},delete i["X-WP-Nonce"],p&&(l=JSON.stringify(p),i["Content-Type"]="application/json");const f={code:"fetch_error",message:"You are probably offline."},u={code:"invalid_json",message:"The response is not a valid JSON response."};return window.fetch(o||c||window.location.href,{...d,headers:i,body:l}).then((e=>Promise.resolve(e).then((e=>{if(e.status>=200&&e.status<300)return e;throw e})).then((e=>{if(204===e.status)return null;if(e&&e.json)return e.json().catch((()=>{throw u}));throw u}))),(()=>{throw f}))}))(e)},o=[];function c(e,t={}){const{target:a,scope:r=e,...o}=t;if(void 0===e.wpcf7?.schema)return;const c={...e.wpcf7.schema};if(void 0!==a){if(!e.contains(a))return;if(!a.closest(".wpcf7-form-control-wrap[data-name]"))return;if(a.closest(".novalidate"))return}const p=r.querySelectorAll(".wpcf7-form-control-wrap"),d=Array.from(p).reduce(((e,t)=>(t.closest(".novalidate")||t.querySelectorAll(":where( input, textarea, select ):enabled").forEach((t=>{if(t.name)switch(t.type){case"button":case"image":case"reset":case"submit":break;case"checkbox":case"radio":t.checked&&e.append(t.name,t.value);break;case"select-multiple":for(const a of t.selectedOptions)e.append(t.name,a.value);break;case"file":for(const a of t.files)e.append(t.name,a);break;default:e.append(t.name,t.value)}})),e)),new FormData),f=e.getAttribute("data-status");Promise.resolve(n(e,"validating")).then((n=>{if(void 0!==swv){const n=swv.validate(c,d,t);for(const t of p){if(void 0===t.dataset.name)continue;const o=t.dataset.name;if(n.has(o)){const{error:t,validInputs:a}=n.get(o);i(e,o),void 0!==t&&s(e,o,t,{scope:r}),l(e,o,null!=a?a:[])}if(t.contains(a))break}}})).finally((()=>{n(e,f)}))}r.use=e=>{o.unshift(e)};const s=(e,t,a,n)=>{const{scope:r=e,...o}=null!=n?n:{},c=`${e.wpcf7?.unitTag}-ve-${t}`.replaceAll(/[^0-9a-z_-]+/gi,""),s=e.querySelector(`.wpcf7-form-control-wrap[data-name="${t}"] .wpcf7-form-control`);(()=>{const t=document.createElement("li");t.setAttribute("id",c),s&&s.id?t.insertAdjacentHTML("beforeend",`<a href="#${s.id}">${a}</a>`):t.insertAdjacentText("beforeend",a),e.wpcf7.parent.querySelector(".screen-reader-response ul").appendChild(t)})(),r.querySelectorAll(`.wpcf7-form-control-wrap[data-name="${t}"]`).forEach((e=>{const t=document.createElement("span");t.classList.add("wpcf7-not-valid-tip"),t.setAttribute("aria-hidden","true"),t.insertAdjacentText("beforeend",a),e.appendChild(t),e.querySelectorAll("[aria-invalid]").forEach((e=>{e.setAttribute("aria-invalid","true")})),e.querySelectorAll(".wpcf7-form-control").forEach((e=>{e.classList.add("wpcf7-not-valid"),e.setAttribute("aria-describedby",c),"function"==typeof e.setCustomValidity&&e.setCustomValidity(a),e.closest(".use-floating-validation-tip")&&(e.addEventListener("focus",(e=>{t.setAttribute("style","display: none")})),t.addEventListener("click",(e=>{t.setAttribute("style","display: none")})))}))}))},i=(e,t)=>{const a=`${e.wpcf7?.unitTag}-ve-${t}`.replaceAll(/[^0-9a-z_-]+/gi,"");e.wpcf7.parent.querySelector(`.screen-reader-response ul li#${a}`)?.remove(),e.querySelectorAll(`.wpcf7-form-control-wrap[data-name="${t}"]`).forEach((e=>{e.querySelector(".wpcf7-not-valid-tip")?.remove(),e.querySelectorAll("[aria-invalid]").forEach((e=>{e.setAttribute("aria-invalid","false")})),e.querySelectorAll(".wpcf7-form-control").forEach((e=>{e.removeAttribute("aria-describedby"),e.classList.remove("wpcf7-not-valid"),"function"==typeof e.setCustomValidity&&e.setCustomValidity("")}))}))},l=(e,t,a)=>{e.querySelectorAll(`[data-reflection-of="${t}"]`).forEach((e=>{if("output"===e.tagName.toLowerCase()){const t=e;0===a.length&&a.push(t.dataset.default),a.slice(0,1).forEach((e=>{e instanceof File&&(e=e.name),t.textContent=e}))}else e.querySelectorAll("output").forEach((e=>{e.hasAttribute("data-default")?0===a.length?e.removeAttribute("hidden"):e.setAttribute("hidden","hidden"):e.remove()})),a.forEach((a=>{a instanceof File&&(a=a.name);const n=document.createElement("output");n.setAttribute("name",t),n.textContent=a,e.appendChild(n)}))}))};function p(e,t={}){if(wpcf7.blocked)return d(e),void n(e,"submitting");const o=new FormData(e);t.submitter&&t.submitter.name&&o.append(t.submitter.name,t.submitter.value);const c={contactFormId:e.wpcf7.id,pluginVersion:e.wpcf7.pluginVersion,contactFormLocale:e.wpcf7.locale,unitTag:e.wpcf7.unitTag,containerPostId:e.wpcf7.containerPost,status:e.wpcf7.status,inputs:Array.from(o,(e=>{const t=e[0],a=e[1];return!t.match(/^_/)&&{name:t,value:a}})).filter((e=>!1!==e)),formData:o};r({endpoint:`contact-forms/${e.wpcf7.id}/feedback`,method:"POST",body:o,wpcf7:{endpoint:"feedback",form:e,detail:c}}).then((t=>{const r=n(e,t.status);return c.status=t.status,c.apiResponse=t,["invalid","unaccepted","spam","aborted"].includes(r)?a(e,r,c):["sent","failed"].includes(r)&&a(e,`mail${r}`,c),a(e,"submit",c),t})).then((t=>{t.posted_data_hash&&(e.querySelector('input[name="_wpcf7_posted_data_hash"]').value=t.posted_data_hash),"mail_sent"===t.status&&(e.reset(),e.wpcf7.resetOnMailSent=!0),t.invalid_fields&&t.invalid_fields.forEach((t=>{s(e,t.field,t.message)})),e.wpcf7.parent.querySelector('.screen-reader-response [role="status"]').insertAdjacentText("beforeend",t.message),e.querySelectorAll(".wpcf7-response-output").forEach((e=>{e.innerText=t.message}))})).catch((e=>console.error(e)))}r.use(((e,t)=>{if(e.wpcf7&&"feedback"===e.wpcf7.endpoint){const{form:t,detail:r}=e.wpcf7;d(t),a(t,"beforesubmit",r),n(t,"submitting")}return t(e)}));const d=e=>{e.querySelectorAll(".wpcf7-form-control-wrap").forEach((t=>{t.dataset.name&&i(e,t.dataset.name)})),e.wpcf7.parent.querySelector('.screen-reader-response [role="status"]').innerText="",e.querySelectorAll(".wpcf7-response-output").forEach((e=>{e.innerText=""}))};function f(e){const t=new FormData(e),o={contactFormId:e.wpcf7.id,pluginVersion:e.wpcf7.pluginVersion,contactFormLocale:e.wpcf7.locale,unitTag:e.wpcf7.unitTag,containerPostId:e.wpcf7.containerPost,status:e.wpcf7.status,inputs:Array.from(t,(e=>{const t=e[0],a=e[1];return!t.match(/^_/)&&{name:t,value:a}})).filter((e=>!1!==e)),formData:t};r({endpoint:`contact-forms/${e.wpcf7.id}/refill`,method:"GET",wpcf7:{endpoint:"refill",form:e,detail:o}}).then((t=>{e.wpcf7.resetOnMailSent?(delete e.wpcf7.resetOnMailSent,n(e,"mail_sent")):n(e,"init"),o.apiResponse=t,a(e,"reset",o)})).catch((e=>console.error(e)))}r.use(((e,t)=>{if(e.wpcf7&&"refill"===e.wpcf7.endpoint){const{form:t,detail:a}=e.wpcf7;d(t),n(t,"resetting")}return t(e)}));const u=(e,t)=>{for(const a in t){const n=t[a];e.querySelectorAll(`input[name="${a}"]`).forEach((e=>{e.value=""})),e.querySelectorAll(`img.wpcf7-captcha-${a.replaceAll(":","")}`).forEach((e=>{e.setAttribute("src",n)}));const r=/([0-9]+)\.(png|gif|jpeg)$/.exec(n);r&&e.querySelectorAll(`input[name="_wpcf7_captcha_challenge_${a}"]`).forEach((e=>{e.value=r[1]}))}},m=(e,t)=>{for(const a in t){const n=t[a][0],r=t[a][1];e.querySelectorAll(`.wpcf7-form-control-wrap[data-name="${a}"]`).forEach((e=>{e.querySelector(`input[name="${a}"]`).value="",e.querySelector(".wpcf7-quiz-label").textContent=n,e.querySelector(`input[name="_wpcf7_quiz_answer_${a}"]`).value=r}))}};function w(e){const a=new FormData(e);e.wpcf7={id:t(a.get("_wpcf7")),status:e.getAttribute("data-status"),pluginVersion:a.get("_wpcf7_version"),locale:a.get("_wpcf7_locale"),unitTag:a.get("_wpcf7_unit_tag"),containerPost:t(a.get("_wpcf7_container_post")),parent:e.closest(".wpcf7"),get schema(){return wpcf7.schemas.get(this.id)}},wpcf7.schemas.set(e.wpcf7.id,void 0),e.querySelectorAll(".has-spinner").forEach((e=>{e.insertAdjacentHTML("afterend",'<span class="wpcf7-spinner"></span>')})),(e=>{e.querySelectorAll(".wpcf7-exclusive-checkbox").forEach((t=>{t.addEventListener("change",(t=>{const a=t.target.getAttribute("name");e.querySelectorAll(`input[type="checkbox"][name="${a}"]`).forEach((e=>{e!==t.target&&(e.checked=!1)}))}))}))})(e),(e=>{e.querySelectorAll(".has-free-text").forEach((t=>{const a=t.querySelector("input.wpcf7-free-text"),n=t.querySelector('input[type="checkbox"], input[type="radio"]');a.disabled=!n.checked,e.addEventListener("change",(e=>{a.disabled=!n.checked,e.target===n&&n.checked&&a.focus()}))}))})(e),(e=>{e.querySelectorAll(".wpcf7-validates-as-url").forEach((e=>{e.addEventListener("change",(t=>{let a=e.value.trim();a&&!a.match(/^[a-z][a-z0-9.+-]*:/i)&&-1!==a.indexOf(".")&&(a=a.replace(/^\/+/,""),a="http://"+a),e.value=a}))}))})(e),(e=>{if(!e.querySelector(".wpcf7-acceptance")||e.classList.contains("wpcf7-acceptance-as-validation"))return;const t=()=>{let t=!0;e.querySelectorAll(".wpcf7-acceptance").forEach((e=>{if(!t||e.classList.contains("optional"))return;const a=e.querySelector('input[type="checkbox"]');(e.classList.contains("invert")&&a.checked||!e.classList.contains("invert")&&!a.checked)&&(t=!1)})),e.querySelectorAll(".wpcf7-submit").forEach((e=>{e.disabled=!t}))};t(),e.addEventListener("change",(e=>{t()})),e.addEventListener("wpcf7reset",(e=>{t()}))})(e),(e=>{const a=(e,a)=>{const n=t(e.getAttribute("data-starting-value")),r=t(e.getAttribute("data-maximum-value")),o=t(e.getAttribute("data-minimum-value")),c=e.classList.contains("down")?n-a.value.length:a.value.length;e.setAttribute("data-current-value",c),e.innerText=c,r&&r<a.value.length?e.classList.add("too-long"):e.classList.remove("too-long"),o&&a.value.length<o?e.classList.add("too-short"):e.classList.remove("too-short")},n=t=>{t={init:!1,...t},e.querySelectorAll(".wpcf7-character-count").forEach((n=>{const r=n.getAttribute("data-target-name"),o=e.querySelector(`[name="${r}"]`);o&&(o.value=o.defaultValue,a(n,o),t.init&&o.addEventListener("keyup",(e=>{a(n,o)})))}))};n({init:!0}),e.addEventListener("wpcf7reset",(e=>{n()}))})(e),window.addEventListener("load",(t=>{wpcf7.cached&&e.reset()})),e.addEventListener("reset",(t=>{wpcf7.reset(e)})),e.addEventListener("submit",(t=>{wpcf7.submit(e,{submitter:t.submitter}),t.preventDefault()})),e.addEventListener("wpcf7submit",(t=>{t.detail.apiResponse.captcha&&u(e,t.detail.apiResponse.captcha),t.detail.apiResponse.quiz&&m(e,t.detail.apiResponse.quiz)})),e.addEventListener("wpcf7reset",(t=>{t.detail.apiResponse.captcha&&u(e,t.detail.apiResponse.captcha),t.detail.apiResponse.quiz&&m(e,t.detail.apiResponse.quiz)})),e.addEventListener("change",(t=>{t.target.closest(".wpcf7-form-control")&&wpcf7.validate(e,{target:t.target})})),e.addEventListener("wpcf7statuschanged",(t=>{const a=t.detail.status;e.querySelectorAll(".active-on-any").forEach((e=>{e.removeAttribute("inert"),e.classList.remove("active-on-any")})),e.querySelectorAll(`.inert-on-${a}`).forEach((e=>{e.setAttribute("inert","inert"),e.classList.add("active-on-any")}))}))}document.addEventListener("DOMContentLoaded",(t=>{var a;if("undefined"!=typeof wpcf7)if(void 0!==wpcf7.api)if("function"==typeof window.fetch)if("function"==typeof window.FormData)if("function"==typeof NodeList.prototype.forEach)if("function"==typeof String.prototype.replaceAll){wpcf7={init:w,submit:p,reset:f,validate:c,schemas:new Map,...null!==(a=wpcf7)&&void 0!==a?a:{}},document.querySelectorAll("form .wpcf7").forEach((t=>{const a=document.createElement("p");a.setAttribute("class","wpcf7-form-in-wrong-place");const n=document.createElement("strong");n.append((0,e.__)("Error:","contact-form-7"));const r=(0,e.__)("This contact form is placed in the wrong place.","contact-form-7");a.append(n," ",r),t.replaceWith(a)})),document.querySelectorAll(".wpcf7 > form").forEach((e=>{wpcf7.init(e),e.closest(".wpcf7").classList.replace("no-js","js")}));for(const e of wpcf7.schemas.keys())r({endpoint:`contact-forms/${e}/feedback/schema`,method:"GET"}).then((t=>{wpcf7.schemas.set(e,t)}))}else console.error("Your browser does not support String.replaceAll().");else console.error("Your browser does not support NodeList.forEach().");else console.error("Your browser does not support window.FormData().");else console.error("Your browser does not support window.fetch().");else console.error("wpcf7.api is not defined.");else console.error("wpcf7 is not defined.")}))})();!function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=1)}([function(t,e){t.exports=jQuery},function(t,e,n){n(2),n(6),t.exports=n(4)},function(t,e,n){var r,i,o,s;
/*!
 * @fileOverview TouchSwipe - jQuery Plugin @version 1.6.18 / SANDBOXED VERSION FOR TP
 * @author Matt Bryson http://www.github.com/mattbryson
 * @see https://github.com/mattbryson/TouchSwipe-Jquery-Plugin
 * @see http://labs.rampinteractive.co.uk/touchSwipe/
 * @see http://plugins.jquery.com/project/touchSwipe
 * @license
 * Copyright (c) 2010-2015 Matt Bryson
 * Dual licensed under the MIT or GPL Version 2 licenses.
 *
 */s=function(t){"use strict";var e="left",n="right",r="up",i="down",o="none",s="doubletap",a="longtap",u="horizontal",l="vertical",h="all",c="move",f="end",p="cancel",d="ontouchstart"in window,g=window.navigator.msPointerEnabled&&!window.PointerEvent&&!d,D=(window.PointerEvent||window.navigator.msPointerEnabled)&&!d,m="TouchSwipe";function v(v,_){_=t.extend({},_);var y=d||D||!_.fallbackToMouseEvents,x=y?D?g?"MSPointerDown":"pointerdown":"touchstart":"mousedown",w=y?D?g?"MSPointerMove":"pointermove":"touchmove":"mousemove",C=y?D?g?"MSPointerUp":"pointerup":"touchend":"mouseup",F=y?D?"mouseleave":null:"mouseleave",E=D?g?"MSPointerCancel":"pointercancel":"touchcancel",b=0,T=null,M=null,A=0,P=0,S=0,O=1,k=0,B=0,L=null,N=t(v),R="start",X=0,Y={},I=0,z=0,H=0,W=0,V=0,j=null,U=null;try{N.on(x,q),N.on(E,Q)}catch(v){t.error("events not supported "+x+","+E+" on jQuery.swipe")}function q(o){if(!0!==N.data(m+"_intouch")&&!(0<t(o.target).closest(_.excludedElements,N).length)){var s=o.originalEvent?o.originalEvent:o;if(!s.pointerType||"mouse"!=s.pointerType||0!=_.fallbackToMouseEvents){var a,u,l=s.touches,c=l?l[0]:s;return R="start",l?X=l.length:!1!==_.preventDefaultEvents&&o.preventDefault(),B=M=T=null,O=1,k=S=P=A=b=0,(u={})[e]=yt(e),u[n]=yt(n),u.up=yt(r),u[i]=yt(i),L=u,dt(),mt(0,c),!l||X===_.fingers||_.fingers===h||st()?(I=Ft(),2==X&&(mt(1,l[1]),P=S=wt(Y[0].start,Y[1].start)),(_.swipeStatus||_.pinchStatus)&&(a=tt(s,R))):a=!1,!1===a?(tt(s,R=p),a):(_.hold&&(U=setTimeout(t.proxy((function(){N.trigger("hold",[s.target]),_.hold&&(a=_.hold.call(N,s,s.target))}),this),_.longTapThreshold)),Dt(!0),null)}}}function G(s){var a=s.originalEvent?s.originalEvent:s;if(R!==f&&R!==p&&!gt()){var d,g,D,m,v,y,x,w=a.touches,C=vt(w?w[0]:a);if(z=Ft(),w&&(X=w.length),_.hold&&clearTimeout(U),R=c,2==X&&(0==P?(mt(1,w[1]),P=S=wt(Y[0].start,Y[1].start)):(vt(w[1]),S=wt(Y[0].end,Y[1].end),Y[0].end,Y[1].end,B=O<1?"out":"in"),O=(S/P*1).toFixed(2),k=Math.abs(P-S)),X===_.fingers||_.fingers===h||!w||st()){if(T=Ct(C.start,C.end),function(t,s){if(!1!==_.preventDefaultEvents)if(_.allowPageScroll===o)t.preventDefault();else{var a="auto"===_.allowPageScroll;switch(s){case e:(_.swipeLeft&&a||!a&&_.allowPageScroll!=u)&&t.preventDefault();break;case n:(_.swipeRight&&a||!a&&_.allowPageScroll!=u)&&t.preventDefault();break;case r:(_.swipeUp&&a||!a&&_.allowPageScroll!=l)&&t.preventDefault();break;case i:(_.swipeDown&&a||!a&&_.allowPageScroll!=l)&&t.preventDefault()}}}(s,M=Ct(C.last,C.end)),y=C.start,x=C.end,b=Math.round(Math.sqrt(Math.pow(x.x-y.x,2)+Math.pow(x.y-y.y,2))),A=xt(),function(t,e){t!=o&&(e=Math.max(e,_t(t)),L[t].distance=e)}(T,b),d=tt(a,R),!_.triggerOnTouchEnd||_.triggerOnTouchLeave){var F=!0;_.triggerOnTouchLeave&&(D={left:(v=(m=t(m=this)).offset()).left,right:v.left+m.outerWidth(),top:v.top,bottom:v.top+m.outerHeight()},F=(g=C.end).x>D.left&&g.x<D.right&&g.y>D.top&&g.y<D.bottom),!_.triggerOnTouchEnd&&F?R=J(c):_.triggerOnTouchLeave&&!F&&(R=J(f)),R!=p&&R!=f||tt(a,R)}}else tt(a,R=p);!1===d&&tt(a,R=p)}}function K(t){var e,n=t.originalEvent?t.originalEvent:t,r=n.touches;if(r){if(r.length&&!gt())return e=n,H=Ft(),W=e.touches.length+1,!0;if(r.length&&gt())return!0}return gt()&&(X=W),z=Ft(),A=xt(),rt()||!nt()?tt(n,R=p):_.triggerOnTouchEnd||!1===_.triggerOnTouchEnd&&R===c?(!1!==_.preventDefaultEvents&&!1!==t.cancelable&&t.preventDefault(),tt(n,R=f)):!_.triggerOnTouchEnd&&ct()?et(n,R=f,"tap"):R===c&&tt(n,R=p),Dt(!1),null}function Q(){S=P=I=z=X=0,O=1,dt(),Dt(!1)}function Z(t){var e=t.originalEvent?t.originalEvent:t;_.triggerOnTouchLeave&&tt(e,R=J(f))}function $(){N.off(x,q),N.off(E,Q),N.off(w,G),N.off(C,K),F&&N.off(F,Z),Dt(!1)}function J(t){var e=t,n=it(),r=nt(),i=rt();return!n||i?e=p:!r||t!=c||_.triggerOnTouchEnd&&!_.triggerOnTouchLeave?!r&&t==f&&_.triggerOnTouchLeave&&(e=p):e=f,e}function tt(t,e){var n,r=t.touches;return(at()&&ut()||ut())&&(n=et(t,e,"swipe")),(ot()&&st()||st())&&!1!==n&&(n=et(t,e,"pinch")),pt()&&ft()&&!1!==n?n=et(t,e,s):A>_.longTapThreshold&&b<10&&_.longTap&&!1!==n?n=et(t,e,a):1!==X&&d||!(isNaN(b)||b<_.threshold)||!ct()||!1===n||(n=et(t,e,"tap")),e===p&&Q(),e===f&&(r&&r.length||Q()),n}function et(o,u,l){var h;if("swipe"==l){if(N.trigger("swipeStatus",[u,T||null,b||0,A||0,X,Y,M]),_.swipeStatus&&!1===(h=_.swipeStatus.call(N,o,u,T||null,b||0,A||0,X,Y,M)))return!1;if(u==f&&at()){if(clearTimeout(j),clearTimeout(U),N.trigger("swipe",[T,b,A,X,Y,M]),_.swipe&&!1===(h=_.swipe.call(N,o,T,b,A,X,Y,M)))return!1;switch(T){case e:N.trigger("swipeLeft",[T,b,A,X,Y,M]),_.swipeLeft&&(h=_.swipeLeft.call(N,o,T,b,A,X,Y,M));break;case n:N.trigger("swipeRight",[T,b,A,X,Y,M]),_.swipeRight&&(h=_.swipeRight.call(N,o,T,b,A,X,Y,M));break;case r:N.trigger("swipeUp",[T,b,A,X,Y,M]),_.swipeUp&&(h=_.swipeUp.call(N,o,T,b,A,X,Y,M));break;case i:N.trigger("swipeDown",[T,b,A,X,Y,M]),_.swipeDown&&(h=_.swipeDown.call(N,o,T,b,A,X,Y,M))}}}if("pinch"==l){if(N.trigger("pinchStatus",[u,B||null,k||0,A||0,X,O,Y]),_.pinchStatus&&!1===(h=_.pinchStatus.call(N,o,u,B||null,k||0,A||0,X,O,Y)))return!1;if(u==f&&ot())switch(B){case"in":N.trigger("pinchIn",[B||null,k||0,A||0,X,O,Y]),_.pinchIn&&(h=_.pinchIn.call(N,o,B||null,k||0,A||0,X,O,Y));break;case"out":N.trigger("pinchOut",[B||null,k||0,A||0,X,O,Y]),_.pinchOut&&(h=_.pinchOut.call(N,o,B||null,k||0,A||0,X,O,Y))}}return"tap"==l?u!==p&&u!==f||(clearTimeout(j),clearTimeout(U),ft()&&!pt()?(V=Ft(),j=setTimeout(t.proxy((function(){V=null,N.trigger("tap",[o.target]),_.tap&&(h=_.tap.call(N,o,o.target))}),this),_.doubleTapThreshold)):(V=null,N.trigger("tap",[o.target]),_.tap&&(h=_.tap.call(N,o,o.target)))):l==s?u!==p&&u!==f||(clearTimeout(j),clearTimeout(U),V=null,N.trigger("doubletap",[o.target]),_.doubleTap&&(h=_.doubleTap.call(N,o,o.target))):l==a&&(u!==p&&u!==f||(clearTimeout(j),V=null,N.trigger("longtap",[o.target]),_.longTap&&(h=_.longTap.call(N,o,o.target)))),h}function nt(){var t=!0;return null!==_.threshold&&(t=b>=_.threshold),t}function rt(){var t=!1;return null!==_.cancelThreshold&&null!==T&&(t=_t(T)-b>=_.cancelThreshold),t}function it(){return!(_.maxTimeThreshold&&A>=_.maxTimeThreshold)}function ot(){var t=lt(),e=ht(),n=null===_.pinchThreshold||k>=_.pinchThreshold;return t&&e&&n}function st(){return _.pinchStatus||_.pinchIn||_.pinchOut}function at(){var t=it(),e=nt(),n=lt(),r=ht();return!rt()&&r&&n&&e&&t}function ut(){return _.swipe||_.swipeStatus||_.swipeLeft||_.swipeRight||_.swipeUp||_.swipeDown}function lt(){return X===_.fingers||_.fingers===h||!d}function ht(){return 0!==Y[0].end.x}function ct(){return _.tap}function ft(){return!!_.doubleTap}function pt(){if(null==V)return!1;var t=Ft();return ft()&&t-V<=_.doubleTapThreshold}function dt(){W=H=0}function gt(){var t=!1;return H&&Ft()-H<=_.fingerReleaseThreshold&&(t=!0),t}function Dt(t){N&&(!0===t?(N.on(w,G),N.on(C,K),F&&N.on(F,Z)):(N.off(w,G,!1),N.off(C,K,!1),F&&N.off(F,Z,!1)),N.data(m+"_intouch",!0===t))}function mt(t,e){var n={start:{x:0,y:0},last:{x:0,y:0},end:{x:0,y:0}};return n.start.x=n.last.x=n.end.x=e.pageX||e.clientX,n.start.y=n.last.y=n.end.y=e.pageY||e.clientY,Y[t]=n}function vt(t){var e=void 0!==t.identifier?t.identifier:0,n=Y[e]||null;return null===n&&(n=mt(e,t)),n.last.x=n.end.x,n.last.y=n.end.y,n.end.x=t.pageX||t.clientX,n.end.y=t.pageY||t.clientY,n}function _t(t){if(L[t])return L[t].distance}function yt(t){return{direction:t,distance:0}}function xt(){return z-I}function wt(t,e){var n=Math.abs(t.x-e.x),r=Math.abs(t.y-e.y);return Math.round(Math.sqrt(n*n+r*r))}function Ct(t,s){if(u=s,(a=t).x==u.x&&a.y==u.y)return o;var a,u,l,h,c,f,p,d,g=(h=s,c=(l=t).x-h.x,f=h.y-l.y,p=Math.atan2(f,c),(d=Math.round(180*p/Math.PI))<0&&(d=360-Math.abs(d)),d);return g<=45&&0<=g||g<=360&&315<=g?e:135<=g&&g<=225?n:45<g&&g<135?i:r}function Ft(){return(new Date).getTime()}this.enable=function(){return this.disable(),N.on(x,q),N.on(E,Q),N},this.disable=function(){return $(),N},this.destroy=function(){$(),N.data(m,null),N=null},this.option=function(e,n){if("object"==typeof e)_=t.extend(_,e);else if(void 0!==_[e]){if(void 0===n)return _[e];_[e]=n}else{if(!e)return _;t.error("Option "+e+" does not exist on jQuery.swipe.options")}return null}}t.fn.rsswipe=function(e){var n=t(this),r=n.data(m);if(r&&"string"==typeof e){if(r[e])return r[e].apply(r,Array.prototype.slice.call(arguments,1));t.error("Method "+e+" does not exist on jQuery.rsswipe")}else if(r&&"object"==typeof e)r.option.apply(r,arguments);else if(!(r||"object"!=typeof e&&e))return function(e){return!e||void 0!==e.allowPageScroll||void 0===e.swipe&&void 0===e.swipeStatus||(e.allowPageScroll=o),void 0!==e.click&&void 0===e.tap&&(e.tap=e.click),e=e||{},e=t.extend({},t.fn.rsswipe.defaults,e),this.each((function(){var n=t(this),r=n.data(m);r||(r=new v(this,e),n.data(m,r))}))}.apply(this,arguments);return n},t.fn.rsswipe.version="1.6.18",t.fn.rsswipe.defaults={fingers:1,threshold:75,cancelThreshold:null,pinchThreshold:20,maxTimeThreshold:null,fingerReleaseThreshold:250,longTapThreshold:500,doubleTapThreshold:200,swipe:null,swipeLeft:null,swipeRight:null,swipeUp:null,swipeDown:null,swipeStatus:null,pinchIn:null,pinchOut:null,pinchStatus:null,click:null,tap:null,doubleTap:null,longTap:null,hold:null,triggerOnTouchEnd:!0,triggerOnTouchLeave:!1,allowPageScroll:"auto",fallbackToMouseEvents:!0,excludedElements:".noSwipe",preventDefaultEvents:!0},t.fn.rsswipe.phases={PHASE_START:"start",PHASE_MOVE:c,PHASE_END:f,PHASE_CANCEL:p},t.fn.rsswipe.directions={LEFT:e,RIGHT:n,UP:r,DOWN:i,IN:"in",OUT:"out"},t.fn.rsswipe.pageScroll={NONE:o,HORIZONTAL:u,VERTICAL:l,AUTO:"auto"},t.fn.rsswipe.fingers={ONE:1,TWO:2,THREE:3,FOUR:4,FIVE:5,ALL:h}},n(3).jQuery?(i=[n(0)],void 0===(o="function"==typeof(r=s)?r.apply(e,i):r)||(t.exports=o)):t.exports?s(n(0)):s(jQuery)},function(t,e){(function(e){t.exports=e}).call(this,{})},function(t,e){var n;(n=jQuery).waitForImages={hasImageProperties:["backgroundImage","listStyleImage","borderImage","borderCornerImage"]},n.expr.pseudos.uncached=function(t){var e=document.createElement("img");return e.src=t.src,n(t).is('img[src!=""]')&&!e.complete},n.fn.waitForImages=function(t,e,r){if(n.isPlainObject(t)&&(e=t.each,r=t.waitForAll,t=t.finished),t=t||n.noop,e=e||n.noop,r=!!r,!n.isFunction(t)||!n.isFunction(e))throw new TypeError("An invalid callback was supplied.");return this.each((function(){var i=n(this),o=[];if(r){var s=n.waitForImages.hasImageProperties||[],a=/url\((['"]?)(.*?)\1\)/g;i.find("*").each((function(){var t=n(this);t.is("img:uncached")&&o.push({src:t.attr("src"),element:t[0]}),n.each(s,(function(e,n){var r,i=t.css(n);if(!i)return!0;for(;r=a.exec(i);)o.push({src:r[2],element:t[0]})}))}))}else i.find("img:uncached").each((function(){o.push({src:this.src,element:this})}));var u=o.length,l=0;0==u&&t.call(i[0]),n.each(o,(function(r,o){var s=new Image;n(s).bind("load error",(function(n){if(l++,e.call(o.element,l,u,"load"==n.type),l==u)return t.call(i[0]),!1})),s.src=o.src}))}))}},,function(t,e,n){"use strict";function r(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function i(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}
/*!
 * GSAP 3.9.1
 * https://greensock.com
 *
 * @license Copyright 2008-2021, GreenSock. All rights reserved.
 * Subject to the terms at https://greensock.com/standard-license or for
 * Club GreenSock members, the agreement issued with that membership.
 * @author: Jack Doyle, jack@greensock.com
*/n.r(e);var o,s,a,u,l,h,c,f,p,d,g,D,m,v={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},_={duration:.5,overwrite:!1,delay:0},y=1e8,x=2*Math.PI,w=x/4,C=0,F=Math.sqrt,E=Math.cos,b=Math.sin,T=function(t){return"string"==typeof t},M=function(t){return"function"==typeof t},A=function(t){return"number"==typeof t},P=function(t){return void 0===t},S=function(t){return"object"==typeof t},O=function(t){return!1!==t},k=function(){return"undefined"!=typeof window},B=function(t){return M(t)||T(t)},L="function"==typeof ArrayBuffer&&ArrayBuffer.isView||function(){},N=Array.isArray,R=/(?:-?\.?\d|\.)+/gi,X=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,Y=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,I=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,z=/[+-]=-?[.\d]+/,H=/[^,'"\[\]\s]+/gi,W=/[\d.+\-=]+(?:e[-+]\d*)*/i,V={},j={},U=function(t){return(j=mt(t,V))&&nn},q=function(t,e){return console.warn("Invalid property",t,"set to",e,"Missing plugin? gsap.registerPlugin()")},G=function(t,e){return!e&&console.warn(t)},K=function(t,e){return t&&(V[t]=e)&&j&&(j[t]=e)||V},Q=function(){return 0},Z={},$=[],J={},tt={},et={},nt=30,rt=[],it="",ot=function(t){var e,n,r=t[0];if(S(r)||M(r)||(t=[t]),!(e=(r._gsap||{}).harness)){for(n=rt.length;n--&&!rt[n].targetTest(r););e=rt[n]}for(n=t.length;n--;)t[n]&&(t[n]._gsap||(t[n]._gsap=new be(t[n],e)))||t.splice(n,1);return t},st=function(t){return t._gsap||ot(Ut(t))[0]._gsap},at=function(t,e,n){return(n=t[e])&&M(n)?t[e]():P(n)&&t.getAttribute&&t.getAttribute(e)||n},ut=function(t,e){return(t=t.split(",")).forEach(e)||t},lt=function(t){return Math.round(1e5*t)/1e5||0},ht=function(t){return Math.round(1e7*t)/1e7||0},ct=function(t,e){for(var n=e.length,r=0;t.indexOf(e[r])<0&&++r<n;);return r<n},ft=function(){var t,e,n=$.length,r=$.slice(0);for(J={},$.length=0,t=0;t<n;t++)(e=r[t])&&e._lazy&&(e.render(e._lazy[0],e._lazy[1],!0)._lazy=0)},pt=function(t,e,n,r){$.length&&ft(),t.render(e,n,r),$.length&&ft()},dt=function(t){var e=parseFloat(t);return(e||0===e)&&(t+"").match(H).length<2?e:T(t)?t.trim():t},gt=function(t){return t},Dt=function(t,e){for(var n in e)n in t||(t[n]=e[n]);return t},mt=function(t,e){for(var n in e)t[n]=e[n];return t},vt=function t(e,n){for(var r in n)"__proto__"!==r&&"constructor"!==r&&"prototype"!==r&&(e[r]=S(n[r])?t(e[r]||(e[r]={}),n[r]):n[r]);return e},_t=function(t,e){var n,r={};for(n in t)n in e||(r[n]=t[n]);return r},yt=function(t){var e,n=t.parent||s,r=t.keyframes?(e=N(t.keyframes),function(t,n){for(var r in n)r in t||"duration"===r&&e||"ease"===r||(t[r]=n[r])}):Dt;if(O(t.inherit))for(;n;)r(t,n.vars.defaults),n=n.parent||n._dp;return t},xt=function(t,e,n,r){void 0===n&&(n="_first"),void 0===r&&(r="_last");var i=e._prev,o=e._next;i?i._next=o:t[n]===e&&(t[n]=o),o?o._prev=i:t[r]===e&&(t[r]=i),e._next=e._prev=e.parent=null},wt=function(t,e){t.parent&&(!e||t.parent.autoRemoveChildren)&&t.parent.remove(t),t._act=0},Ct=function(t,e){if(t&&(!e||e._end>t._dur||e._start<0))for(var n=t;n;)n._dirty=1,n=n.parent;return t},Ft=function(t){for(var e=t.parent;e&&e.parent;)e._dirty=1,e.totalDuration(),e=e.parent;return t},Et=function(t){return t._repeat?bt(t._tTime,t=t.duration()+t._rDelay)*t:0},bt=function(t,e){var n=Math.floor(t/=e);return t&&n===t?n-1:n},Tt=function(t,e){return(t-e._start)*e._ts+(e._ts>=0?0:e._dirty?e.totalDuration():e._tDur)},Mt=function(t){return t._end=ht(t._start+(t._tDur/Math.abs(t._ts||t._rts||1e-8)||0))},At=function(t,e){var n=t._dp;return n&&n.smoothChildTiming&&t._ts&&(t._start=ht(n._time-(t._ts>0?e/t._ts:((t._dirty?t.totalDuration():t._tDur)-e)/-t._ts)),Mt(t),n._dirty||Ct(n,t)),t},Pt=function(t,e){var n;if((e._time||e._initted&&!e._dur)&&(n=Tt(t.rawTime(),e),(!e._dur||zt(0,e.totalDuration(),n)-e._tTime>1e-8)&&e.render(n,!0)),Ct(t,e)._dp&&t._initted&&t._time>=t._dur&&t._ts){if(t._dur<t.duration())for(n=t;n._dp;)n.rawTime()>=0&&n.totalTime(n._tTime),n=n._dp;t._zTime=-1e-8}},St=function(t,e,n,r){return e.parent&&wt(e),e._start=ht((A(n)?n:n||t!==s?Xt(t,n,e):t._time)+e._delay),e._end=ht(e._start+(e.totalDuration()/Math.abs(e.timeScale())||0)),function(t,e,n,r,i){void 0===n&&(n="_first"),void 0===r&&(r="_last");var o,s=t[r];if(i)for(o=e[i];s&&s[i]>o;)s=s._prev;s?(e._next=s._next,s._next=e):(e._next=t[n],t[n]=e),e._next?e._next._prev=e:t[r]=e,e._prev=s,e.parent=e._dp=t}(t,e,"_first","_last",t._sort?"_start":0),Bt(e)||(t._recent=e),r||Pt(t,e),t},Ot=function(t,e){return(V.ScrollTrigger||q("scrollTrigger",e))&&V.ScrollTrigger.create(e,t)},kt=function(t,e,n,r){return ke(t,e),t._initted?!n&&t._pt&&(t._dur&&!1!==t.vars.lazy||!t._dur&&t.vars.lazy)&&c!==pe.frame?($.push(t),t._lazy=[e,r],1):void 0:1},Bt=function(t){var e=t.data;return"isFromStart"===e||"isStart"===e},Lt=function(t,e,n,r){var i=t._repeat,o=ht(e)||0,s=t._tTime/t._tDur;return s&&!r&&(t._time*=o/t._dur),t._dur=o,t._tDur=i?i<0?1e10:ht(o*(i+1)+t._rDelay*i):o,s>0&&!r?At(t,t._tTime=t._tDur*s):t.parent&&Mt(t),n||Ct(t.parent,t),t},Nt=function(t){return t instanceof Me?Ct(t):Lt(t,t._dur)},Rt={_start:0,endTime:Q,totalDuration:Q},Xt=function t(e,n,r){var i,o,s,a=e.labels,u=e._recent||Rt,l=e.duration()>=y?u.endTime(!1):e._dur;return T(n)&&(isNaN(n)||n in a)?(o=n.charAt(0),s="%"===n.substr(-1),i=n.indexOf("="),"<"===o||">"===o?(i>=0&&(n=n.replace(/=/,"")),("<"===o?u._start:u.endTime(u._repeat>=0))+(parseFloat(n.substr(1))||0)*(s?(i<0?u:r).totalDuration()/100:1)):i<0?(n in a||(a[n]=l),a[n]):(o=parseFloat(n.charAt(i-1)+n.substr(i+1)),s&&r&&(o=o/100*(N(r)?r[0]:r).totalDuration()),i>1?t(e,n.substr(0,i-1),r)+o:l+o)):null==n?l:+n},Yt=function(t,e,n){var r,i,o=A(e[1]),s=(o?2:1)+(t<2?0:1),a=e[s];if(o&&(a.duration=e[1]),a.parent=n,t){for(r=a,i=n;i&&!("immediateRender"in r);)r=i.vars.defaults||{},i=O(i.vars.inherit)&&i.parent;a.immediateRender=O(r.immediateRender),t<2?a.runBackwards=1:a.startAt=e[s-1]}return new Xe(e[0],a,e[s+1])},It=function(t,e){return t||0===t?e(t):e},zt=function(t,e,n){return n<t?t:n>e?e:n},Ht=function(t,e){return T(t)&&(e=W.exec(t))?t.substr(e.index+e[0].length):""},Wt=[].slice,Vt=function(t,e){return t&&S(t)&&"length"in t&&(!e&&!t.length||t.length-1 in t&&S(t[0]))&&!t.nodeType&&t!==a},jt=function(t,e,n){return void 0===n&&(n=[]),t.forEach((function(t){var r;return T(t)&&!e||Vt(t,1)?(r=n).push.apply(r,Ut(t)):n.push(t)}))||n},Ut=function(t,e,n){return!T(t)||n||!u&&de()?N(t)?jt(t,n):Vt(t)?Wt.call(t,0):t?[t]:[]:Wt.call((e||l).querySelectorAll(t),0)},qt=function(t){return t.sort((function(){return.5-Math.random()}))},Gt=function(t){if(M(t))return t;var e=S(t)?t:{each:t},n=xe(e.ease),r=e.from||0,i=parseFloat(e.base)||0,o={},s=r>0&&r<1,a=isNaN(r)||s,u=e.axis,l=r,h=r;return T(r)?l=h={center:.5,edges:.5,end:1}[r]||0:!s&&a&&(l=r[0],h=r[1]),function(t,s,c){var f,p,d,g,D,m,v,_,x,w=(c||e).length,C=o[w];if(!C){if(!(x="auto"===e.grid?0:(e.grid||[1,y])[1])){for(v=-y;v<(v=c[x++].getBoundingClientRect().left)&&x<w;);x--}for(C=o[w]=[],f=a?Math.min(x,w)*l-.5:r%x,p=x===y?0:a?w*h/x-.5:r/x|0,v=0,_=y,m=0;m<w;m++)d=m%x-f,g=p-(m/x|0),C[m]=D=u?Math.abs("y"===u?g:d):F(d*d+g*g),D>v&&(v=D),D<_&&(_=D);"random"===r&&qt(C),C.max=v-_,C.min=_,C.v=w=(parseFloat(e.amount)||parseFloat(e.each)*(x>w?w-1:u?"y"===u?w/x:x:Math.max(x,w/x))||0)*("edges"===r?-1:1),C.b=w<0?i-w:i,C.u=Ht(e.amount||e.each)||0,n=n&&w<0?_e(n):n}return w=(C[t]-C.min)/C.max||0,ht(C.b+(n?n(w):w)*C.v)+C.u}},Kt=function(t){var e=Math.pow(10,((t+"").split(".")[1]||"").length);return function(n){var r=Math.round(parseFloat(n)/t)*t*e;return(r-r%1)/e+(A(n)?0:Ht(n))}},Qt=function(t,e){var n,r,i=N(t);return!i&&S(t)&&(n=i=t.radius||y,t.values?(t=Ut(t.values),(r=!A(t[0]))&&(n*=n)):t=Kt(t.increment)),It(e,i?M(t)?function(e){return r=t(e),Math.abs(r-e)<=n?r:e}:function(e){for(var i,o,s=parseFloat(r?e.x:e),a=parseFloat(r?e.y:0),u=y,l=0,h=t.length;h--;)(i=r?(i=t[h].x-s)*i+(o=t[h].y-a)*o:Math.abs(t[h]-s))<u&&(u=i,l=h);return l=!n||u<=n?t[l]:e,r||l===e||A(e)?l:l+Ht(e)}:Kt(t))},Zt=function(t,e,n,r){return It(N(t)?!e:!0===n?!!(n=0):!r,(function(){return N(t)?t[~~(Math.random()*t.length)]:(n=n||1e-5)&&(r=n<1?Math.pow(10,(n+"").length-2):1)&&Math.floor(Math.round((t-n/2+Math.random()*(e-t+.99*n))/n)*n*r)/r}))},$t=function(t,e,n){return It(n,(function(n){return t[~~e(n)]}))},Jt=function(t){for(var e,n,r,i,o=0,s="";~(e=t.indexOf("random(",o));)r=t.indexOf(")",e),i="["===t.charAt(e+7),n=t.substr(e+7,r-e-7).match(i?H:R),s+=t.substr(o,e-o)+Zt(i?n:+n[0],i?0:+n[1],+n[2]||1e-5),o=r+1;return s+t.substr(o,t.length-o)},te=function(t,e,n,r,i){var o=e-t,s=r-n;return It(i,(function(e){return n+((e-t)/o*s||0)}))},ee=function(t,e,n){var r,i,o,s=t.labels,a=y;for(r in s)(i=s[r]-e)<0==!!n&&i&&a>(i=Math.abs(i))&&(o=r,a=i);return o},ne=function(t,e,n){var r,i,o=t.vars,s=o[e];if(s)return r=o[e+"Params"],i=o.callbackScope||t,n&&$.length&&ft(),r?s.apply(i,r):s.call(i)},re=function(t){return wt(t),t.scrollTrigger&&t.scrollTrigger.kill(!1),t.progress()<1&&ne(t,"onInterrupt"),t},ie=function(t){var e=(t=!t.name&&t.default||t).name,n=M(t),r=e&&!n&&t.init?function(){this._props=[]}:t,i={init:Q,render:qe,add:Se,kill:Ke,modifier:Ge,rawVars:0},o={targetTest:0,get:0,getSetter:We,aliases:{},register:0};if(de(),t!==r){if(tt[e])return;Dt(r,Dt(_t(t,i),o)),mt(r.prototype,mt(i,_t(t,o))),tt[r.prop=e]=r,t.targetTest&&(rt.push(r),Z[e]=1),e=("css"===e?"CSS":e.charAt(0).toUpperCase()+e.substr(1))+"Plugin"}K(e,r),t.register&&t.register(nn,r,$e)},oe={aqua:[0,255,255],lime:[0,255,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,255],navy:[0,0,128],white:[255,255,255],olive:[128,128,0],yellow:[255,255,0],orange:[255,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[255,0,0],pink:[255,192,203],cyan:[0,255,255],transparent:[255,255,255,0]},se=function(t,e,n){return 255*(6*(t+=t<0?1:t>1?-1:0)<1?e+(n-e)*t*6:t<.5?n:3*t<2?e+(n-e)*(2/3-t)*6:e)+.5|0},ae=function(t,e,n){var r,i,o,s,a,u,l,h,c,f,p=t?A(t)?[t>>16,t>>8&255,255&t]:0:oe.black;if(!p){if(","===t.substr(-1)&&(t=t.substr(0,t.length-1)),oe[t])p=oe[t];else if("#"===t.charAt(0)){if(t.length<6&&(r=t.charAt(1),i=t.charAt(2),o=t.charAt(3),t="#"+r+r+i+i+o+o+(5===t.length?t.charAt(4)+t.charAt(4):"")),9===t.length)return[(p=parseInt(t.substr(1,6),16))>>16,p>>8&255,255&p,parseInt(t.substr(7),16)/255];p=[(t=parseInt(t.substr(1),16))>>16,t>>8&255,255&t]}else if("hsl"===t.substr(0,3))if(p=f=t.match(R),e){if(~t.indexOf("="))return p=t.match(X),n&&p.length<4&&(p[3]=1),p}else s=+p[0]%360/360,a=+p[1]/100,r=2*(u=+p[2]/100)-(i=u<=.5?u*(a+1):u+a-u*a),p.length>3&&(p[3]*=1),p[0]=se(s+1/3,r,i),p[1]=se(s,r,i),p[2]=se(s-1/3,r,i);else p=t.match(R)||oe.transparent;p=p.map(Number)}return e&&!f&&(r=p[0]/255,i=p[1]/255,o=p[2]/255,u=((l=Math.max(r,i,o))+(h=Math.min(r,i,o)))/2,l===h?s=a=0:(c=l-h,a=u>.5?c/(2-l-h):c/(l+h),s=l===r?(i-o)/c+(i<o?6:0):l===i?(o-r)/c+2:(r-i)/c+4,s*=60),p[0]=~~(s+.5),p[1]=~~(100*a+.5),p[2]=~~(100*u+.5)),n&&p.length<4&&(p[3]=1),p},ue=function(t){var e=[],n=[],r=-1;return t.split(he).forEach((function(t){var i=t.match(Y)||[];e.push.apply(e,i),n.push(r+=i.length+1)})),e.c=n,e},le=function(t,e,n){var r,i,o,s,a="",u=(t+a).match(he),l=e?"hsla(":"rgba(",h=0;if(!u)return t;if(u=u.map((function(t){return(t=ae(t,e,1))&&l+(e?t[0]+","+t[1]+"%,"+t[2]+"%,"+t[3]:t.join(","))+")"})),n&&(o=ue(t),(r=n.c).join(a)!==o.c.join(a)))for(s=(i=t.replace(he,"1").split(Y)).length-1;h<s;h++)a+=i[h]+(~r.indexOf(h)?u.shift()||l+"0,0,0,0)":(o.length?o:u.length?u:n).shift());if(!i)for(s=(i=t.split(he)).length-1;h<s;h++)a+=i[h]+u[h];return a+i[s]},he=function(){var t,e="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b";for(t in oe)e+="|"+t+"\\b";return new RegExp(e+")","gi")}(),ce=/hsl[a]?\(/,fe=function(t){var e,n=t.join(" ");if(he.lastIndex=0,he.test(n))return e=ce.test(n),t[1]=le(t[1],e),t[0]=le(t[0],e,ue(t[1])),!0},pe=function(){var t,e,n,r,i,o,s=Date.now,c=500,f=33,d=s(),g=d,D=1e3/240,m=D,v=[],_=function n(a){var u,l,h,p,_=s()-g,y=!0===a;if(_>c&&(d+=_-f),((u=(h=(g+=_)-d)-m)>0||y)&&(p=++r.frame,i=h-1e3*r.time,r.time=h/=1e3,m+=u+(u>=D?4:D-u),l=1),y||(t=e(n)),l)for(o=0;o<v.length;o++)v[o](h,i,p,a)};return r={time:0,frame:0,tick:function(){_(!0)},deltaRatio:function(t){return i/(1e3/(t||60))},wake:function(){h&&(!u&&k()&&(a=u=window,l=a.document||{},V.gsap=nn,(a.gsapVersions||(a.gsapVersions=[])).push(nn.version),U(j||a.GreenSockGlobals||!a.gsap&&a||{}),n=a.requestAnimationFrame),t&&r.sleep(),e=n||function(t){return setTimeout(t,m-1e3*r.time+1|0)},p=1,_(2))},sleep:function(){(n?a.cancelAnimationFrame:clearTimeout)(t),p=0,e=Q},lagSmoothing:function(t,e){c=t||1/1e-8,f=Math.min(e,c,0)},fps:function(t){D=1e3/(t||240),m=1e3*r.time+D},add:function(t){v.indexOf(t)<0&&v.push(t),de()},remove:function(t,e){~(e=v.indexOf(t))&&v.splice(e,1)&&o>=e&&o--},_listeners:v}}(),de=function(){return!p&&pe.wake()},ge={},De=/^[\d.\-M][\d.\-,\s]/,me=/["']/g,ve=function(t){for(var e,n,r,i={},o=t.substr(1,t.length-3).split(":"),s=o[0],a=1,u=o.length;a<u;a++)n=o[a],e=a!==u-1?n.lastIndexOf(","):n.length,r=n.substr(0,e),i[s]=isNaN(r)?r.replace(me,"").trim():+r,s=n.substr(e+1).trim();return i},_e=function(t){return function(e){return 1-t(1-e)}},ye=function t(e,n){for(var r,i=e._first;i;)i instanceof Me?t(i,n):!i.vars.yoyoEase||i._yoyo&&i._repeat||i._yoyo===n||(i.timeline?t(i.timeline,n):(r=i._ease,i._ease=i._yEase,i._yEase=r,i._yoyo=n)),i=i._next},xe=function(t,e){return t&&(M(t)?t:ge[t]||function(t){var e,n,r,i,o=(t+"").split("("),s=ge[o[0]];return s&&o.length>1&&s.config?s.config.apply(null,~t.indexOf("{")?[ve(o[1])]:(e=t,n=e.indexOf("(")+1,r=e.indexOf(")"),i=e.indexOf("(",n),e.substring(n,~i&&i<r?e.indexOf(")",r+1):r)).split(",").map(dt)):ge._CE&&De.test(t)?ge._CE("",t):s}(t))||e},we=function(t,e,n,r){void 0===n&&(n=function(t){return 1-e(1-t)}),void 0===r&&(r=function(t){return t<.5?e(2*t)/2:1-e(2*(1-t))/2});var i,o={easeIn:e,easeOut:n,easeInOut:r};return ut(t,(function(t){for(var e in ge[t]=V[t]=o,ge[i=t.toLowerCase()]=n,o)ge[i+("easeIn"===e?".in":"easeOut"===e?".out":".inOut")]=ge[t+"."+e]=o[e]})),o},Ce=function(t){return function(e){return e<.5?(1-t(1-2*e))/2:.5+t(2*(e-.5))/2}},Fe=function t(e,n,r){var i=n>=1?n:1,o=(r||(e?.3:.45))/(n<1?n:1),s=o/x*(Math.asin(1/i)||0),a=function(t){return 1===t?1:i*Math.pow(2,-10*t)*b((t-s)*o)+1},u="out"===e?a:"in"===e?function(t){return 1-a(1-t)}:Ce(a);return o=x/o,u.config=function(n,r){return t(e,n,r)},u},Ee=function t(e,n){void 0===n&&(n=1.70158);var r=function(t){return t?--t*t*((n+1)*t+n)+1:0},i="out"===e?r:"in"===e?function(t){return 1-r(1-t)}:Ce(r);return i.config=function(n){return t(e,n)},i};ut("Linear,Quad,Cubic,Quart,Quint,Strong",(function(t,e){var n=e<5?e+1:e;we(t+",Power"+(n-1),e?function(t){return Math.pow(t,n)}:function(t){return t},(function(t){return 1-Math.pow(1-t,n)}),(function(t){return t<.5?Math.pow(2*t,n)/2:1-Math.pow(2*(1-t),n)/2}))})),ge.Linear.easeNone=ge.none=ge.Linear.easeIn,we("Elastic",Fe("in"),Fe("out"),Fe()),d=7.5625,D=1/(g=2.75),we("Bounce",(function(t){return 1-m(1-t)}),m=function(t){return t<D?d*t*t:t<.7272727272727273?d*Math.pow(t-1.5/g,2)+.75:t<.9090909090909092?d*(t-=2.25/g)*t+.9375:d*Math.pow(t-2.625/g,2)+.984375}),we("Expo",(function(t){return t?Math.pow(2,10*(t-1)):0})),we("Circ",(function(t){return-(F(1-t*t)-1)})),we("Sine",(function(t){return 1===t?1:1-E(t*w)})),we("Back",Ee("in"),Ee("out"),Ee()),ge.SteppedEase=ge.steps=V.SteppedEase={config:function(t,e){void 0===t&&(t=1);var n=1/t,r=t+(e?0:1),i=e?1:0;return function(t){return((r*zt(0,1-1e-8,t)|0)+i)*n}}},_.ease=ge["quad.out"],ut("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",(function(t){return it+=t+","+t+"Params,"}));var be=function(t,e){this.id=C++,t._gsap=this,this.target=t,this.harness=e,this.get=e?e.get:at,this.set=e?e.getSetter:We},Te=function(){function t(t){this.vars=t,this._delay=+t.delay||0,(this._repeat=t.repeat===1/0?-2:t.repeat||0)&&(this._rDelay=t.repeatDelay||0,this._yoyo=!!t.yoyo||!!t.yoyoEase),this._ts=1,Lt(this,+t.duration,1,1),this.data=t.data,p||pe.wake()}var e=t.prototype;return e.delay=function(t){return t||0===t?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+t-this._delay),this._delay=t,this):this._delay},e.duration=function(t){return arguments.length?this.totalDuration(this._repeat>0?t+(t+this._rDelay)*this._repeat:t):this.totalDuration()&&this._dur},e.totalDuration=function(t){return arguments.length?(this._dirty=0,Lt(this,this._repeat<0?t:(t-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(t,e){if(de(),!arguments.length)return this._tTime;var n=this._dp;if(n&&n.smoothChildTiming&&this._ts){for(At(this,t),!n._dp||n.parent||Pt(n,this);n&&n.parent;)n.parent._time!==n._start+(n._ts>=0?n._tTime/n._ts:(n.totalDuration()-n._tTime)/-n._ts)&&n.totalTime(n._tTime,!0),n=n.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&t<this._tDur||this._ts<0&&t>0||!this._tDur&&!t)&&St(this._dp,this,this._start-this._delay)}return(this._tTime!==t||!this._dur&&!e||this._initted&&1e-8===Math.abs(this._zTime)||!t&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=t),pt(this,t,e)),this},e.time=function(t,e){return arguments.length?this.totalTime(Math.min(this.totalDuration(),t+Et(this))%(this._dur+this._rDelay)||(t?this._dur:0),e):this._time},e.totalProgress=function(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.ratio},e.progress=function(t,e){return arguments.length?this.totalTime(this.duration()*(!this._yoyo||1&this.iteration()?t:1-t)+Et(this),e):this.duration()?Math.min(1,this._time/this._dur):this.ratio},e.iteration=function(t,e){var n=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(t-1)*n,e):this._repeat?bt(this._tTime,n)+1:1},e.timeScale=function(t){if(!arguments.length)return-1e-8===this._rts?0:this._rts;if(this._rts===t)return this;var e=this.parent&&this._ts?Tt(this.parent._time,this):this._tTime;return this._rts=+t||0,this._ts=this._ps||-1e-8===t?0:this._rts,Ft(this.totalTime(zt(-this._delay,this._tDur,e),!0)),Mt(this),this},e.paused=function(t){return arguments.length?(this._ps!==t&&(this._ps=t,t?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(de(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,1===this.progress()&&1e-8!==Math.abs(this._zTime)&&(this._tTime-=1e-8)))),this):this._ps},e.startTime=function(t){if(arguments.length){this._start=t;var e=this.parent||this._dp;return e&&(e._sort||!this.parent)&&St(e,this,t-this._delay),this}return this._start},e.endTime=function(t){return this._start+(O(t)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},e.rawTime=function(t){var e=this.parent||this._dp;return e?t&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?Tt(e.rawTime(t),this):this._tTime:this._tTime},e.globalTime=function(t){for(var e=this,n=arguments.length?t:e.rawTime();e;)n=e._start+n/(e._ts||1),e=e._dp;return n},e.repeat=function(t){return arguments.length?(this._repeat=t===1/0?-2:t,Nt(this)):-2===this._repeat?1/0:this._repeat},e.repeatDelay=function(t){if(arguments.length){var e=this._time;return this._rDelay=t,Nt(this),e?this.time(e):this}return this._rDelay},e.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},e.seek=function(t,e){return this.totalTime(Xt(this,t),O(e))},e.restart=function(t,e){return this.play().totalTime(t?-this._delay:0,O(e))},e.play=function(t,e){return null!=t&&this.seek(t,e),this.reversed(!1).paused(!1)},e.reverse=function(t,e){return null!=t&&this.seek(t||this.totalDuration(),e),this.reversed(!0).paused(!1)},e.pause=function(t,e){return null!=t&&this.seek(t,e),this.paused(!0)},e.resume=function(){return this.paused(!1)},e.reversed=function(t){return arguments.length?(!!t!==this.reversed()&&this.timeScale(-this._rts||(t?-1e-8:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-1e-8,this},e.isActive=function(){var t,e=this.parent||this._dp,n=this._start;return!(e&&!(this._ts&&this._initted&&e.isActive()&&(t=e.rawTime(!0))>=n&&t<this.endTime(!0)-1e-8))},e.eventCallback=function(t,e,n){var r=this.vars;return arguments.length>1?(e?(r[t]=e,n&&(r[t+"Params"]=n),"onUpdate"===t&&(this._onUpdate=e)):delete r[t],this):r[t]},e.then=function(t){var e=this;return new Promise((function(n){var r=M(t)?t:gt,i=function(){var t=e.then;e.then=null,M(r)&&(r=r(e))&&(r.then||r===e)&&(e.then=t),n(r),e.then=t};e._initted&&1===e.totalProgress()&&e._ts>=0||!e._tTime&&e._ts<0?i():e._prom=i}))},e.kill=function(){re(this)},t}();Dt(Te.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-1e-8,_prom:0,_ps:!1,_rts:1});var Me=function(t){function e(e,n){var i;return void 0===e&&(e={}),(i=t.call(this,e)||this).labels={},i.smoothChildTiming=!!e.smoothChildTiming,i.autoRemoveChildren=!!e.autoRemoveChildren,i._sort=O(e.sortChildren),s&&St(e.parent||s,r(i),n),e.reversed&&i.reverse(),e.paused&&i.paused(!0),e.scrollTrigger&&Ot(r(i),e.scrollTrigger),i}i(e,t);var n=e.prototype;return n.to=function(t,e,n){return Yt(0,arguments,this),this},n.from=function(t,e,n){return Yt(1,arguments,this),this},n.fromTo=function(t,e,n,r){return Yt(2,arguments,this),this},n.set=function(t,e,n){return e.duration=0,e.parent=this,yt(e).repeatDelay||(e.repeat=0),e.immediateRender=!!e.immediateRender,new Xe(t,e,Xt(this,n),1),this},n.call=function(t,e,n){return St(this,Xe.delayedCall(0,t,e),n)},n.staggerTo=function(t,e,n,r,i,o,s){return n.duration=e,n.stagger=n.stagger||r,n.onComplete=o,n.onCompleteParams=s,n.parent=this,new Xe(t,n,Xt(this,i)),this},n.staggerFrom=function(t,e,n,r,i,o,s){return n.runBackwards=1,yt(n).immediateRender=O(n.immediateRender),this.staggerTo(t,e,n,r,i,o,s)},n.staggerFromTo=function(t,e,n,r,i,o,s,a){return r.startAt=n,yt(r).immediateRender=O(r.immediateRender),this.staggerTo(t,e,r,i,o,s,a)},n.render=function(t,e,n){var r,i,o,a,u,l,h,c,f,p,d,g,D=this._time,m=this._dirty?this.totalDuration():this._tDur,v=this._dur,_=t<=0?0:ht(t),y=this._zTime<0!=t<0&&(this._initted||!v);if(this!==s&&_>m&&t>=0&&(_=m),_!==this._tTime||n||y){if(D!==this._time&&v&&(_+=this._time-D,t+=this._time-D),r=_,f=this._start,l=!(c=this._ts),y&&(v||(D=this._zTime),(t||!e)&&(this._zTime=t)),this._repeat){if(d=this._yoyo,u=v+this._rDelay,this._repeat<-1&&t<0)return this.totalTime(100*u+t,e,n);if(r=ht(_%u),_===m?(a=this._repeat,r=v):((a=~~(_/u))&&a===_/u&&(r=v,a--),r>v&&(r=v)),p=bt(this._tTime,u),!D&&this._tTime&&p!==a&&(p=a),d&&1&a&&(r=v-r,g=1),a!==p&&!this._lock){var x=d&&1&p,w=x===(d&&1&a);if(a<p&&(x=!x),D=x?0:v,this._lock=1,this.render(D||(g?0:ht(a*u)),e,!v)._lock=0,this._tTime=_,!e&&this.parent&&ne(this,"onRepeat"),this.vars.repeatRefresh&&!g&&(this.invalidate()._lock=1),D&&D!==this._time||l!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(v=this._dur,m=this._tDur,w&&(this._lock=2,D=x?v:-1e-4,this.render(D,!0),this.vars.repeatRefresh&&!g&&this.invalidate()),this._lock=0,!this._ts&&!l)return this;ye(this,g)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(h=function(t,e,n){var r;if(n>e)for(r=t._first;r&&r._start<=n;){if("isPause"===r.data&&r._start>e)return r;r=r._next}else for(r=t._last;r&&r._start>=n;){if("isPause"===r.data&&r._start<e)return r;r=r._prev}}(this,ht(D),ht(r)))&&(_-=r-(r=h._start)),this._tTime=_,this._time=r,this._act=!c,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=t,D=0),!D&&r&&!e&&(ne(this,"onStart"),this._tTime!==_))return this;if(r>=D&&t>=0)for(i=this._first;i;){if(o=i._next,(i._act||r>=i._start)&&i._ts&&h!==i){if(i.parent!==this)return this.render(t,e,n);if(i.render(i._ts>0?(r-i._start)*i._ts:(i._dirty?i.totalDuration():i._tDur)+(r-i._start)*i._ts,e,n),r!==this._time||!this._ts&&!l){h=0,o&&(_+=this._zTime=-1e-8);break}}i=o}else{i=this._last;for(var C=t<0?t:r;i;){if(o=i._prev,(i._act||C<=i._end)&&i._ts&&h!==i){if(i.parent!==this)return this.render(t,e,n);if(i.render(i._ts>0?(C-i._start)*i._ts:(i._dirty?i.totalDuration():i._tDur)+(C-i._start)*i._ts,e,n),r!==this._time||!this._ts&&!l){h=0,o&&(_+=this._zTime=C?-1e-8:1e-8);break}}i=o}}if(h&&!e&&(this.pause(),h.render(r>=D?0:-1e-8)._zTime=r>=D?1:-1,this._ts))return this._start=f,Mt(this),this.render(t,e,n);this._onUpdate&&!e&&ne(this,"onUpdate",!0),(_===m&&m>=this.totalDuration()||!_&&D)&&(f!==this._start&&Math.abs(c)===Math.abs(this._ts)||this._lock||((t||!v)&&(_===m&&this._ts>0||!_&&this._ts<0)&&wt(this,1),e||t<0&&!D||!_&&!D&&m||(ne(this,_===m&&t>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(_<m&&this.timeScale()>0)&&this._prom())))}return this},n.add=function(t,e){var n=this;if(A(e)||(e=Xt(this,e,t)),!(t instanceof Te)){if(N(t))return t.forEach((function(t){return n.add(t,e)})),this;if(T(t))return this.addLabel(t,e);if(!M(t))return this;t=Xe.delayedCall(0,t)}return this!==t?St(this,t,e):this},n.getChildren=function(t,e,n,r){void 0===t&&(t=!0),void 0===e&&(e=!0),void 0===n&&(n=!0),void 0===r&&(r=-y);for(var i=[],o=this._first;o;)o._start>=r&&(o instanceof Xe?e&&i.push(o):(n&&i.push(o),t&&i.push.apply(i,o.getChildren(!0,e,n)))),o=o._next;return i},n.getById=function(t){for(var e=this.getChildren(1,1,1),n=e.length;n--;)if(e[n].vars.id===t)return e[n]},n.remove=function(t){return T(t)?this.removeLabel(t):M(t)?this.killTweensOf(t):(xt(this,t),t===this._recent&&(this._recent=this._last),Ct(this))},n.totalTime=function(e,n){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=ht(pe.time-(this._ts>0?e/this._ts:(this.totalDuration()-e)/-this._ts))),t.prototype.totalTime.call(this,e,n),this._forcing=0,this):this._tTime},n.addLabel=function(t,e){return this.labels[t]=Xt(this,e),this},n.removeLabel=function(t){return delete this.labels[t],this},n.addPause=function(t,e,n){var r=Xe.delayedCall(0,e||Q,n);return r.data="isPause",this._hasPause=1,St(this,r,Xt(this,t))},n.removePause=function(t){var e=this._first;for(t=Xt(this,t);e;)e._start===t&&"isPause"===e.data&&wt(e),e=e._next},n.killTweensOf=function(t,e,n){for(var r=this.getTweensOf(t,n),i=r.length;i--;)Ae!==r[i]&&r[i].kill(t,e);return this},n.getTweensOf=function(t,e){for(var n,r=[],i=Ut(t),o=this._first,s=A(e);o;)o instanceof Xe?ct(o._targets,i)&&(s?(!Ae||o._initted&&o._ts)&&o.globalTime(0)<=e&&o.globalTime(o.totalDuration())>e:!e||o.isActive())&&r.push(o):(n=o.getTweensOf(i,e)).length&&r.push.apply(r,n),o=o._next;return r},n.tweenTo=function(t,e){e=e||{};var n,r=this,i=Xt(r,t),o=e,s=o.startAt,a=o.onStart,u=o.onStartParams,l=o.immediateRender,h=Xe.to(r,Dt({ease:e.ease||"none",lazy:!1,immediateRender:!1,time:i,overwrite:"auto",duration:e.duration||Math.abs((i-(s&&"time"in s?s.time:r._time))/r.timeScale())||1e-8,onStart:function(){if(r.pause(),!n){var t=e.duration||Math.abs((i-(s&&"time"in s?s.time:r._time))/r.timeScale());h._dur!==t&&Lt(h,t,0,1).render(h._time,!0,!0),n=1}a&&a.apply(h,u||[])}},e));return l?h.render(0):h},n.tweenFromTo=function(t,e,n){return this.tweenTo(e,Dt({startAt:{time:Xt(this,t)}},n))},n.recent=function(){return this._recent},n.nextLabel=function(t){return void 0===t&&(t=this._time),ee(this,Xt(this,t))},n.previousLabel=function(t){return void 0===t&&(t=this._time),ee(this,Xt(this,t),1)},n.currentLabel=function(t){return arguments.length?this.seek(t,!0):this.previousLabel(this._time+1e-8)},n.shiftChildren=function(t,e,n){void 0===n&&(n=0);for(var r,i=this._first,o=this.labels;i;)i._start>=n&&(i._start+=t,i._end+=t),i=i._next;if(e)for(r in o)o[r]>=n&&(o[r]+=t);return Ct(this)},n.invalidate=function(){var e=this._first;for(this._lock=0;e;)e.invalidate(),e=e._next;return t.prototype.invalidate.call(this)},n.clear=function(t){void 0===t&&(t=!0);for(var e,n=this._first;n;)e=n._next,this.remove(n),n=e;return this._dp&&(this._time=this._tTime=this._pTime=0),t&&(this.labels={}),Ct(this)},n.totalDuration=function(t){var e,n,r,i=0,o=this,a=o._last,u=y;if(arguments.length)return o.timeScale((o._repeat<0?o.duration():o.totalDuration())/(o.reversed()?-t:t));if(o._dirty){for(r=o.parent;a;)e=a._prev,a._dirty&&a.totalDuration(),(n=a._start)>u&&o._sort&&a._ts&&!o._lock?(o._lock=1,St(o,a,n-a._delay,1)._lock=0):u=n,n<0&&a._ts&&(i-=n,(!r&&!o._dp||r&&r.smoothChildTiming)&&(o._start+=n/o._ts,o._time-=n,o._tTime-=n),o.shiftChildren(-n,!1,-Infinity),u=0),a._end>i&&a._ts&&(i=a._end),a=e;Lt(o,o===s&&o._time>i?o._time:i,1,1),o._dirty=0}return o._tDur},e.updateRoot=function(t){if(s._ts&&(pt(s,Tt(t,s)),c=pe.frame),pe.frame>=nt){nt+=v.autoSleep||120;var e=s._first;if((!e||!e._ts)&&v.autoSleep&&pe._listeners.length<2){for(;e&&!e._ts;)e=e._next;e||pe.sleep()}}},e}(Te);Dt(Me.prototype,{_lock:0,_hasPause:0,_forcing:0});var Ae,Pe=function(t,e,n,r,i,o,s){var a,u,l,h,c,f,p,d,g=new $e(this._pt,t,e,0,1,Ue,null,i),D=0,m=0;for(g.b=n,g.e=r,n+="",(p=~(r+="").indexOf("random("))&&(r=Jt(r)),o&&(o(d=[n,r],t,e),n=d[0],r=d[1]),u=n.match(I)||[];a=I.exec(r);)h=a[0],c=r.substring(D,a.index),l?l=(l+1)%5:"rgba("===c.substr(-5)&&(l=1),h!==u[m++]&&(f=parseFloat(u[m-1])||0,g._pt={_next:g._pt,p:c||1===m?c:",",s:f,c:"="===h.charAt(1)?parseFloat(h.substr(2))*("-"===h.charAt(0)?-1:1):parseFloat(h)-f,m:l&&l<4?Math.round:0},D=I.lastIndex);return g.c=D<r.length?r.substring(D,r.length):"",g.fp=s,(z.test(r)||p)&&(g.e=0),this._pt=g,g},Se=function(t,e,n,r,i,o,s,a,u){M(r)&&(r=r(i||0,t,o));var l,h=t[e],c="get"!==n?n:M(h)?u?t[e.indexOf("set")||!M(t["get"+e.substr(3)])?e:"get"+e.substr(3)](u):t[e]():h,f=M(h)?u?ze:Ie:Ye;if(T(r)&&(~r.indexOf("random(")&&(r=Jt(r)),"="===r.charAt(1)&&((l=parseFloat(c)+parseFloat(r.substr(2))*("-"===r.charAt(0)?-1:1)+(Ht(c)||0))||0===l)&&(r=l)),c!==r)return isNaN(c*r)||""===r?(!h&&!(e in t)&&q(e,r),Pe.call(this,t,e,c,r,f,a||v.stringFilter,u)):(l=new $e(this._pt,t,e,+c||0,r-(c||0),"boolean"==typeof h?je:Ve,0,f),u&&(l.fp=u),s&&l.modifier(s,this,t),this._pt=l)},Oe=function(t,e,n,r,i,o){var s,a,u,l;if(tt[t]&&!1!==(s=new tt[t]).init(i,s.rawVars?e[t]:function(t,e,n,r,i){if(M(t)&&(t=Le(t,i,e,n,r)),!S(t)||t.style&&t.nodeType||N(t)||L(t))return T(t)?Le(t,i,e,n,r):t;var o,s={};for(o in t)s[o]=Le(t[o],i,e,n,r);return s}(e[t],r,i,o,n),n,r,o)&&(n._pt=a=new $e(n._pt,i,t,0,1,s.render,s,0,s.priority),n!==f))for(u=n._ptLookup[n._targets.indexOf(i)],l=s._props.length;l--;)u[s._props[l]]=a;return s},ke=function t(e,n){var r,i,a,u,l,h,c,f,p,d,g,D,m,v=e.vars,x=v.ease,w=v.startAt,C=v.immediateRender,F=v.lazy,E=v.onUpdate,b=v.onUpdateParams,T=v.callbackScope,M=v.runBackwards,A=v.yoyoEase,P=v.keyframes,S=v.autoRevert,k=e._dur,B=e._startAt,L=e._targets,N=e.parent,R=N&&"nested"===N.data?N.parent._targets:L,X="auto"===e._overwrite&&!o,Y=e.timeline;if(Y&&(!P||!x)&&(x="none"),e._ease=xe(x,_.ease),e._yEase=A?_e(xe(!0===A?x:A,_.ease)):0,A&&e._yoyo&&!e._repeat&&(A=e._yEase,e._yEase=e._ease,e._ease=A),e._from=!Y&&!!v.runBackwards,!Y||P&&!v.stagger){if(D=(f=L[0]?st(L[0]).harness:0)&&v[f.prop],r=_t(v,Z),B&&wt(B.render(-1,!0)),w)if(wt(e._startAt=Xe.set(L,Dt({data:"isStart",overwrite:!1,parent:N,immediateRender:!0,lazy:O(F),startAt:null,delay:0,onUpdate:E,onUpdateParams:b,callbackScope:T,stagger:0},w))),n<0&&!C&&!S&&e._startAt.render(-1,!0),C){if(n>0&&!S&&(e._startAt=0),k&&n<=0)return void(n&&(e._zTime=n))}else!1===S&&(e._startAt=0);else if(M&&k)if(B)!S&&(e._startAt=0);else if(n&&(C=!1),a=Dt({overwrite:!1,data:"isFromStart",lazy:C&&O(F),immediateRender:C,stagger:0,parent:N},r),D&&(a[f.prop]=D),wt(e._startAt=Xe.set(L,a)),n<0&&e._startAt.render(-1,!0),e._zTime=n,C){if(!n)return}else t(e._startAt,1e-8);for(e._pt=0,F=k&&O(F)||F&&!k,i=0;i<L.length;i++){if(c=(l=L[i])._gsap||ot(L)[i]._gsap,e._ptLookup[i]=d={},J[c.id]&&$.length&&ft(),g=R===L?i:R.indexOf(l),f&&!1!==(p=new f).init(l,D||r,e,g,R)&&(e._pt=u=new $e(e._pt,l,p.name,0,1,p.render,p,0,p.priority),p._props.forEach((function(t){d[t]=u})),p.priority&&(h=1)),!f||D)for(a in r)tt[a]&&(p=Oe(a,r,e,g,l,R))?p.priority&&(h=1):d[a]=u=Se.call(e,l,a,"get",r[a],g,R,0,v.stringFilter);e._op&&e._op[i]&&e.kill(l,e._op[i]),X&&e._pt&&(Ae=e,s.killTweensOf(l,d,e.globalTime(n)),m=!e.parent,Ae=0),e._pt&&F&&(J[c.id]=1)}h&&Ze(e),e._onInit&&e._onInit(e)}e._onUpdate=E,e._initted=(!e._op||e._pt)&&!m,P&&n<=0&&Y.render(y,!0,!0)},Be=function(t,e,n,r){var i,o,s=e.ease||r||"power1.inOut";if(N(e))o=n[t]||(n[t]=[]),e.forEach((function(t,n){return o.push({t:n/(e.length-1)*100,v:t,e:s})}));else for(i in e)o=n[i]||(n[i]=[]),"ease"===i||o.push({t:parseFloat(t),v:e[i],e:s})},Le=function(t,e,n,r,i){return M(t)?t.call(e,n,r,i):T(t)&&~t.indexOf("random(")?Jt(t):t},Ne=it+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase",Re={};ut(Ne+",id,stagger,delay,duration,paused,scrollTrigger",(function(t){return Re[t]=1}));var Xe=function(t){function e(e,n,i,a){var u;"number"==typeof n&&(i.duration=n,n=i,i=null);var l,h,c,f,p,d,g,D,m=(u=t.call(this,a?n:yt(n))||this).vars,_=m.duration,y=m.delay,x=m.immediateRender,w=m.stagger,C=m.overwrite,F=m.keyframes,E=m.defaults,b=m.scrollTrigger,T=m.yoyoEase,M=n.parent||s,P=(N(e)||L(e)?A(e[0]):"length"in n)?[e]:Ut(e);if(u._targets=P.length?ot(P):G("GSAP target "+e+" not found. https://greensock.com",!v.nullTargetWarn)||[],u._ptLookup=[],u._overwrite=C,F||w||B(_)||B(y)){if(n=u.vars,(l=u.timeline=new Me({data:"nested",defaults:E||{}})).kill(),l.parent=l._dp=r(u),l._start=0,w||B(_)||B(y)){if(f=P.length,g=w&&Gt(w),S(w))for(p in w)~Ne.indexOf(p)&&(D||(D={}),D[p]=w[p]);for(h=0;h<f;h++)(c=_t(n,Re)).stagger=0,T&&(c.yoyoEase=T),D&&mt(c,D),d=P[h],c.duration=+Le(_,r(u),h,d,P),c.delay=(+Le(y,r(u),h,d,P)||0)-u._delay,!w&&1===f&&c.delay&&(u._delay=y=c.delay,u._start+=y,c.delay=0),l.to(d,c,g?g(h,d,P):0),l._ease=ge.none;l.duration()?_=y=0:u.timeline=0}else if(F){yt(Dt(l.vars.defaults,{ease:"none"})),l._ease=xe(F.ease||n.ease||"none");var k,R,X,Y=0;if(N(F))F.forEach((function(t){return l.to(P,t,">")}));else{for(p in c={},F)"ease"===p||"easeEach"===p||Be(p,F[p],c,F.easeEach);for(p in c)for(k=c[p].sort((function(t,e){return t.t-e.t})),Y=0,h=0;h<k.length;h++)(X={ease:(R=k[h]).e,duration:(R.t-(h?k[h-1].t:0))/100*_})[p]=R.v,l.to(P,X,Y),Y+=X.duration;l.duration()<_&&l.to({},{duration:_-l.duration()})}}_||u.duration(_=l.duration())}else u.timeline=0;return!0!==C||o||(Ae=r(u),s.killTweensOf(P),Ae=0),St(M,r(u),i),n.reversed&&u.reverse(),n.paused&&u.paused(!0),(x||!_&&!F&&u._start===ht(M._time)&&O(x)&&function t(e){return!e||e._ts&&t(e.parent)}(r(u))&&"nested"!==M.data)&&(u._tTime=-1e-8,u.render(Math.max(0,-y))),b&&Ot(r(u),b),u}i(e,t);var n=e.prototype;return n.render=function(t,e,n){var r,i,o,s,a,u,l,h,c,f=this._time,p=this._tDur,d=this._dur,g=t>p-1e-8&&t>=0?p:t<1e-8?0:t;if(d){if(g!==this._tTime||!t||n||!this._initted&&this._tTime||this._startAt&&this._zTime<0!=t<0){if(r=g,h=this.timeline,this._repeat){if(s=d+this._rDelay,this._repeat<-1&&t<0)return this.totalTime(100*s+t,e,n);if(r=ht(g%s),g===p?(o=this._repeat,r=d):((o=~~(g/s))&&o===g/s&&(r=d,o--),r>d&&(r=d)),(u=this._yoyo&&1&o)&&(c=this._yEase,r=d-r),a=bt(this._tTime,s),r===f&&!n&&this._initted)return this;o!==a&&(h&&this._yEase&&ye(h,u),!this.vars.repeatRefresh||u||this._lock||(this._lock=n=1,this.render(ht(s*o),!0).invalidate()._lock=0))}if(!this._initted){if(kt(this,t<0?t:r,n,e))return this._tTime=0,this;if(d!==this._dur)return this.render(t,e,n)}if(this._tTime=g,this._time=r,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=l=(c||this._ease)(r/d),this._from&&(this.ratio=l=1-l),r&&!f&&!e&&(ne(this,"onStart"),this._tTime!==g))return this;for(i=this._pt;i;)i.r(l,i.d),i=i._next;h&&h.render(t<0?t:!r&&u?-1e-8:h._dur*h._ease(r/this._dur),e,n)||this._startAt&&(this._zTime=t),this._onUpdate&&!e&&(t<0&&this._startAt&&this._startAt.render(t,!0,n),ne(this,"onUpdate")),this._repeat&&o!==a&&this.vars.onRepeat&&!e&&this.parent&&ne(this,"onRepeat"),g!==this._tDur&&g||this._tTime!==g||(t<0&&this._startAt&&!this._onUpdate&&this._startAt.render(t,!0,!0),(t||!d)&&(g===this._tDur&&this._ts>0||!g&&this._ts<0)&&wt(this,1),e||t<0&&!f||!g&&!f||(ne(this,g===p?"onComplete":"onReverseComplete",!0),this._prom&&!(g<p&&this.timeScale()>0)&&this._prom()))}}else!function(t,e,n,r){var i,o,s,a=t.ratio,u=e<0||!e&&(!t._start&&function t(e){var n=e.parent;return n&&n._ts&&n._initted&&!n._lock&&(n.rawTime()<0||t(n))}(t)&&(t._initted||!Bt(t))||(t._ts<0||t._dp._ts<0)&&!Bt(t))?0:1,l=t._rDelay,h=0;if(l&&t._repeat&&(h=zt(0,t._tDur,e),o=bt(h,l),t._yoyo&&1&o&&(u=1-u),o!==bt(t._tTime,l)&&(a=1-u,t.vars.repeatRefresh&&t._initted&&t.invalidate())),u!==a||r||1e-8===t._zTime||!e&&t._zTime){if(!t._initted&&kt(t,e,r,n))return;for(s=t._zTime,t._zTime=e||(n?1e-8:0),n||(n=e&&!s),t.ratio=u,t._from&&(u=1-u),t._time=0,t._tTime=h,i=t._pt;i;)i.r(u,i.d),i=i._next;t._startAt&&e<0&&t._startAt.render(e,!0,!0),t._onUpdate&&!n&&ne(t,"onUpdate"),h&&t._repeat&&!n&&t.parent&&ne(t,"onRepeat"),(e>=t._tDur||e<0)&&t.ratio===u&&(u&&wt(t,1),n||(ne(t,u?"onComplete":"onReverseComplete",!0),t._prom&&t._prom()))}else t._zTime||(t._zTime=e)}(this,t,e,n);return this},n.targets=function(){return this._targets},n.invalidate=function(){return this._pt=this._op=this._startAt=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(),t.prototype.invalidate.call(this)},n.kill=function(t,e){if(void 0===e&&(e="all"),!(t||e&&"all"!==e))return this._lazy=this._pt=0,this.parent?re(this):this;if(this.timeline){var n=this.timeline.totalDuration();return this.timeline.killTweensOf(t,e,Ae&&!0!==Ae.vars.overwrite)._first||re(this),this.parent&&n!==this.timeline.totalDuration()&&Lt(this,this._dur*this.timeline._tDur/n,0,1),this}var r,i,o,s,a,u,l,h=this._targets,c=t?Ut(t):h,f=this._ptLookup,p=this._pt;if((!e||"all"===e)&&function(t,e){for(var n=t.length,r=n===e.length;r&&n--&&t[n]===e[n];);return n<0}(h,c))return"all"===e&&(this._pt=0),re(this);for(r=this._op=this._op||[],"all"!==e&&(T(e)&&(a={},ut(e,(function(t){return a[t]=1})),e=a),e=function(t,e){var n,r,i,o,s=t[0]?st(t[0]).harness:0,a=s&&s.aliases;if(!a)return e;for(r in n=mt({},e),a)if(r in n)for(i=(o=a[r].split(",")).length;i--;)n[o[i]]=n[r];return n}(h,e)),l=h.length;l--;)if(~c.indexOf(h[l]))for(a in i=f[l],"all"===e?(r[l]=e,s=i,o={}):(o=r[l]=r[l]||{},s=e),s)(u=i&&i[a])&&("kill"in u.d&&!0!==u.d.kill(a)||xt(this,u,"_pt"),delete i[a]),"all"!==o&&(o[a]=1);return this._initted&&!this._pt&&p&&re(this),this},e.to=function(t,n){return new e(t,n,arguments[2])},e.from=function(t,e){return Yt(1,arguments)},e.delayedCall=function(t,n,r,i){return new e(n,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:t,onComplete:n,onReverseComplete:n,onCompleteParams:r,onReverseCompleteParams:r,callbackScope:i})},e.fromTo=function(t,e,n){return Yt(2,arguments)},e.set=function(t,n){return n.duration=0,n.repeatDelay||(n.repeat=0),new e(t,n)},e.killTweensOf=function(t,e,n){return s.killTweensOf(t,e,n)},e}(Te);Dt(Xe.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),ut("staggerTo,staggerFrom,staggerFromTo",(function(t){Xe[t]=function(){var e=new Me,n=Wt.call(arguments,0);return n.splice("staggerFromTo"===t?5:4,0,0),e[t].apply(e,n)}}));var Ye=function(t,e,n){return t[e]=n},Ie=function(t,e,n){return t[e](n)},ze=function(t,e,n,r){return t[e](r.fp,n)},He=function(t,e,n){return t.setAttribute(e,n)},We=function(t,e){return M(t[e])?Ie:P(t[e])&&t.setAttribute?He:Ye},Ve=function(t,e){return e.set(e.t,e.p,Math.round(1e6*(e.s+e.c*t))/1e6,e)},je=function(t,e){return e.set(e.t,e.p,!!(e.s+e.c*t),e)},Ue=function(t,e){var n=e._pt,r="";if(!t&&e.b)r=e.b;else if(1===t&&e.e)r=e.e;else{for(;n;)r=n.p+(n.m?n.m(n.s+n.c*t):Math.round(1e4*(n.s+n.c*t))/1e4)+r,n=n._next;r+=e.c}e.set(e.t,e.p,r,e)},qe=function(t,e){for(var n=e._pt;n;)n.r(t,n.d),n=n._next},Ge=function(t,e,n,r){for(var i,o=this._pt;o;)i=o._next,o.p===r&&o.modifier(t,e,n),o=i},Ke=function(t){for(var e,n,r=this._pt;r;)n=r._next,r.p===t&&!r.op||r.op===t?xt(this,r,"_pt"):r.dep||(e=1),r=n;return!e},Qe=function(t,e,n,r){r.mSet(t,e,r.m.call(r.tween,n,r.mt),r)},Ze=function(t){for(var e,n,r,i,o=t._pt;o;){for(e=o._next,n=r;n&&n.pr>o.pr;)n=n._next;(o._prev=n?n._prev:i)?o._prev._next=o:r=o,(o._next=n)?n._prev=o:i=o,o=e}t._pt=r},$e=function(){function t(t,e,n,r,i,o,s,a,u){this.t=e,this.s=r,this.c=i,this.p=n,this.r=o||Ve,this.d=s||this,this.set=a||Ye,this.pr=u||0,this._next=t,t&&(t._prev=this)}return t.prototype.modifier=function(t,e,n){this.mSet=this.mSet||this.set,this.set=Qe,this.m=t,this.mt=n,this.tween=e},t}();ut(it+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",(function(t){return Z[t]=1})),V.TweenMax=V.TweenLite=Xe,V.TimelineLite=V.TimelineMax=Me,s=new Me({sortChildren:!1,defaults:_,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),v.stringFilter=fe;var Je={registerPlugin:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];e.forEach((function(t){return ie(t)}))},timeline:function(t){return new Me(t)},getTweensOf:function(t,e){return s.getTweensOf(t,e)},getProperty:function(t,e,n,r){T(t)&&(t=Ut(t)[0]);var i=st(t||{}).get,o=n?gt:dt;return"native"===n&&(n=""),t?e?o((tt[e]&&tt[e].get||i)(t,e,n,r)):function(e,n,r){return o((tt[e]&&tt[e].get||i)(t,e,n,r))}:t},quickSetter:function(t,e,n){if((t=Ut(t)).length>1){var r=t.map((function(t){return nn.quickSetter(t,e,n)})),i=r.length;return function(t){for(var e=i;e--;)r[e](t)}}t=t[0]||{};var o=tt[e],s=st(t),a=s.harness&&(s.harness.aliases||{})[e]||e,u=o?function(e){var r=new o;f._pt=0,r.init(t,n?e+n:e,f,0,[t]),r.render(1,r),f._pt&&qe(1,f)}:s.set(t,a);return o?u:function(e){return u(t,a,n?e+n:e,s,1)}},isTweening:function(t){return s.getTweensOf(t,!0).length>0},defaults:function(t){return t&&t.ease&&(t.ease=xe(t.ease,_.ease)),vt(_,t||{})},config:function(t){return vt(v,t||{})},registerEffect:function(t){var e=t.name,n=t.effect,r=t.plugins,i=t.defaults,o=t.extendTimeline;(r||"").split(",").forEach((function(t){return t&&!tt[t]&&!V[t]&&G(e+" effect requires "+t+" plugin.")})),et[e]=function(t,e,r){return n(Ut(t),Dt(e||{},i),r)},o&&(Me.prototype[e]=function(t,n,r){return this.add(et[e](t,S(n)?n:(r=n)&&{},this),r)})},registerEase:function(t,e){ge[t]=xe(e)},parseEase:function(t,e){return arguments.length?xe(t,e):ge},getById:function(t){return s.getById(t)},exportRoot:function(t,e){void 0===t&&(t={});var n,r,i=new Me(t);for(i.smoothChildTiming=O(t.smoothChildTiming),s.remove(i),i._dp=0,i._time=i._tTime=s._time,n=s._first;n;)r=n._next,!e&&!n._dur&&n instanceof Xe&&n.vars.onComplete===n._targets[0]||St(i,n,n._start-n._delay),n=r;return St(s,i,0),i},utils:{wrap:function t(e,n,r){var i=n-e;return N(e)?$t(e,t(0,e.length),n):It(r,(function(t){return(i+(t-e)%i)%i+e}))},wrapYoyo:function t(e,n,r){var i=n-e,o=2*i;return N(e)?$t(e,t(0,e.length-1),n):It(r,(function(t){return e+((t=(o+(t-e)%o)%o||0)>i?o-t:t)}))},distribute:Gt,random:Zt,snap:Qt,normalize:function(t,e,n){return te(t,e,0,1,n)},getUnit:Ht,clamp:function(t,e,n){return It(n,(function(n){return zt(t,e,n)}))},splitColor:ae,toArray:Ut,selector:function(t){return t=Ut(t)[0]||G("Invalid scope")||{},function(e){var n=t.current||t.nativeElement||t;return Ut(e,n.querySelectorAll?n:n===t?G("Invalid scope")||l.createElement("div"):t)}},mapRange:te,pipe:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return function(t){return e.reduce((function(t,e){return e(t)}),t)}},unitize:function(t,e){return function(n){return t(parseFloat(n))+(e||Ht(n))}},interpolate:function t(e,n,r,i){var o=isNaN(e+n)?0:function(t){return(1-t)*e+t*n};if(!o){var s,a,u,l,h,c=T(e),f={};if(!0===r&&(i=1)&&(r=null),c)e={p:e},n={p:n};else if(N(e)&&!N(n)){for(u=[],l=e.length,h=l-2,a=1;a<l;a++)u.push(t(e[a-1],e[a]));l--,o=function(t){t*=l;var e=Math.min(h,~~t);return u[e](t-e)},r=n}else i||(e=mt(N(e)?[]:{},e));if(!u){for(s in n)Se.call(f,e,s,"get",n[s]);o=function(t){return qe(t,f)||(c?e.p:e)}}}return It(r,o)},shuffle:qt},install:U,effects:et,ticker:pe,updateRoot:Me.updateRoot,plugins:tt,globalTimeline:s,core:{PropTween:$e,globals:K,Tween:Xe,Timeline:Me,Animation:Te,getCache:st,_removeLinkedListItem:xt,suppressOverwrites:function(t){return o=t}}};ut("to,from,fromTo,delayedCall,set,killTweensOf",(function(t){return Je[t]=Xe[t]})),pe.add(Me.updateRoot),f=Je.to({},{duration:0});var tn=function(t,e){for(var n=t._pt;n&&n.p!==e&&n.op!==e&&n.fp!==e;)n=n._next;return n},en=function(t,e){return{name:t,rawVars:1,init:function(t,n,r){r._onInit=function(t){var r,i;if(T(n)&&(r={},ut(n,(function(t){return r[t]=1})),n=r),e){for(i in r={},n)r[i]=e(n[i]);n=r}!function(t,e){var n,r,i,o=t._targets;for(n in e)for(r=o.length;r--;)(i=t._ptLookup[r][n])&&(i=i.d)&&(i._pt&&(i=tn(i,n)),i&&i.modifier&&i.modifier(e[n],t,o[r],n))}(t,n)}}}},nn=Je.registerPlugin({name:"attr",init:function(t,e,n,r,i){var o,s;for(o in e)(s=this.add(t,"setAttribute",(t.getAttribute(o)||0)+"",e[o],r,i,0,0,o))&&(s.op=o),this._props.push(o)}},{name:"endArray",init:function(t,e){for(var n=e.length;n--;)this.add(t,n,t[n]||0,e[n])}},en("roundProps",Kt),en("modifiers"),en("snap",Qt))||Je;Xe.version=Me.version=nn.version="3.9.1",h=1,k()&&de();ge.Power0,ge.Power1,ge.Power2,ge.Power3,ge.Power4,ge.Linear,ge.Quad,ge.Cubic,ge.Quart,ge.Quint,ge.Strong,ge.Elastic,ge.Back,ge.SteppedEase,ge.Bounce,ge.Sine,ge.Expo,ge.Circ;
/*!
 * CSSPlugin 3.9.1
 * https://greensock.com
 *
 * Copyright 2008-2021, GreenSock. All rights reserved.
 * Subject to the terms at https://greensock.com/standard-license or for
 * Club GreenSock members, the agreement issued with that membership.
 * @author: Jack Doyle, jack@greensock.com
*/var rn,on,sn,an,un,ln,hn,cn={},fn=180/Math.PI,pn=Math.PI/180,dn=Math.atan2,gn=/([A-Z])/g,Dn=/(?:left|right|width|margin|padding|x)/i,mn=/[\s,\(]\S/,vn={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},_n=function(t,e){return e.set(e.t,e.p,Math.round(1e4*(e.s+e.c*t))/1e4+e.u,e)},yn=function(t,e){return e.set(e.t,e.p,1===t?e.e:Math.round(1e4*(e.s+e.c*t))/1e4+e.u,e)},xn=function(t,e){return e.set(e.t,e.p,t?Math.round(1e4*(e.s+e.c*t))/1e4+e.u:e.b,e)},wn=function(t,e){var n=e.s+e.c*t;e.set(e.t,e.p,~~(n+(n<0?-.5:.5))+e.u,e)},Cn=function(t,e){return e.set(e.t,e.p,t?e.e:e.b,e)},Fn=function(t,e){return e.set(e.t,e.p,1!==t?e.b:e.e,e)},En=function(t,e,n){return t.style[e]=n},bn=function(t,e,n){return t.style.setProperty(e,n)},Tn=function(t,e,n){return t._gsap[e]=n},Mn=function(t,e,n){return t._gsap.scaleX=t._gsap.scaleY=n},An=function(t,e,n,r,i){var o=t._gsap;o.scaleX=o.scaleY=n,o.renderTransform(i,o)},Pn=function(t,e,n,r,i){var o=t._gsap;o[e]=n,o.renderTransform(i,o)},Sn="transform",On=Sn+"Origin",kn=function(t,e){var n=on.createElementNS?on.createElementNS((e||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),t):on.createElement(t);return n.style?n:on.createElement(t)},Bn=function t(e,n,r){var i=getComputedStyle(e);return i[n]||i.getPropertyValue(n.replace(gn,"-$1").toLowerCase())||i.getPropertyValue(n)||!r&&t(e,Nn(n)||n,1)||""},Ln="O,Moz,ms,Ms,Webkit".split(","),Nn=function(t,e,n){var r=(e||un).style,i=5;if(t in r&&!n)return t;for(t=t.charAt(0).toUpperCase()+t.substr(1);i--&&!(Ln[i]+t in r););return i<0?null:(3===i?"ms":i>=0?Ln[i]:"")+t},Rn=function(){"undefined"!=typeof window&&window.document&&(rn=window,on=rn.document,sn=on.documentElement,un=kn("div")||{style:{}},kn("div"),Sn=Nn(Sn),On=Sn+"Origin",un.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",hn=!!Nn("perspective"),an=1)},Xn=function t(e){var n,r=kn("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),i=this.parentNode,o=this.nextSibling,s=this.style.cssText;if(sn.appendChild(r),r.appendChild(this),this.style.display="block",e)try{n=this.getBBox(),this._gsapBBox=this.getBBox,this.getBBox=t}catch(t){}else this._gsapBBox&&(n=this._gsapBBox());return i&&(o?i.insertBefore(this,o):i.appendChild(this)),sn.removeChild(r),this.style.cssText=s,n},Yn=function(t,e){for(var n=e.length;n--;)if(t.hasAttribute(e[n]))return t.getAttribute(e[n])},In=function(t){var e;try{e=t.getBBox()}catch(n){e=Xn.call(t,!0)}return e&&(e.width||e.height)||t.getBBox===Xn||(e=Xn.call(t,!0)),!e||e.width||e.x||e.y?e:{x:+Yn(t,["x","cx","x1"])||0,y:+Yn(t,["y","cy","y1"])||0,width:0,height:0}},zn=function(t){return!(!t.getCTM||t.parentNode&&!t.ownerSVGElement||!In(t))},Hn=function(t,e){if(e){var n=t.style;e in cn&&e!==On&&(e=Sn),n.removeProperty?("ms"!==e.substr(0,2)&&"webkit"!==e.substr(0,6)||(e="-"+e),n.removeProperty(e.replace(gn,"-$1").toLowerCase())):n.removeAttribute(e)}},Wn=function(t,e,n,r,i,o){var s=new $e(t._pt,e,n,0,1,o?Fn:Cn);return t._pt=s,s.b=r,s.e=i,t._props.push(n),s},Vn={deg:1,rad:1,turn:1},jn=function t(e,n,r,i){var o,s,a,u,l=parseFloat(r)||0,h=(r+"").trim().substr((l+"").length)||"px",c=un.style,f=Dn.test(n),p="svg"===e.tagName.toLowerCase(),d=(p?"client":"offset")+(f?"Width":"Height"),g="px"===i,D="%"===i;return i===h||!l||Vn[i]||Vn[h]?l:("px"!==h&&!g&&(l=t(e,n,r,"px")),u=e.getCTM&&zn(e),!D&&"%"!==h||!cn[n]&&!~n.indexOf("adius")?(c[f?"width":"height"]=100+(g?h:i),s=~n.indexOf("adius")||"em"===i&&e.appendChild&&!p?e:e.parentNode,u&&(s=(e.ownerSVGElement||{}).parentNode),s&&s!==on&&s.appendChild||(s=on.body),(a=s._gsap)&&D&&a.width&&f&&a.time===pe.time?lt(l/a.width*100):((D||"%"===h)&&(c.position=Bn(e,"position")),s===e&&(c.position="static"),s.appendChild(un),o=un[d],s.removeChild(un),c.position="absolute",f&&D&&((a=st(s)).time=pe.time,a.width=s[d]),lt(g?o*l/100:o&&l?100/o*l:0))):(o=u?e.getBBox()[f?"width":"height"]:e[d],lt(D?l/o*100:l/100*o)))},Un=function(t,e,n,r){var i;return an||Rn(),e in vn&&"transform"!==e&&~(e=vn[e]).indexOf(",")&&(e=e.split(",")[0]),cn[e]&&"transform"!==e?(i=rr(t,r),i="transformOrigin"!==e?i[e]:i.svg?i.origin:ir(Bn(t,On))+" "+i.zOrigin+"px"):(!(i=t.style[e])||"auto"===i||r||~(i+"").indexOf("calc("))&&(i=Qn[e]&&Qn[e](t,e,n)||Bn(t,e)||at(t,e)||("opacity"===e?1:0)),n&&!~(i+"").trim().indexOf(" ")?jn(t,e,i,n)+n:i},qn=function(t,e,n,r){if(!n||"none"===n){var i=Nn(e,t,1),o=i&&Bn(t,i,1);o&&o!==n?(e=i,n=o):"borderColor"===e&&(n=Bn(t,"borderTopColor"))}var s,a,u,l,h,c,f,p,d,g,D,m,_=new $e(this._pt,t.style,e,0,1,Ue),y=0,x=0;if(_.b=n,_.e=r,n+="","auto"===(r+="")&&(t.style[e]=r,r=Bn(t,e)||r,t.style[e]=n),fe(s=[n,r]),r=s[1],u=(n=s[0]).match(Y)||[],(r.match(Y)||[]).length){for(;a=Y.exec(r);)f=a[0],d=r.substring(y,a.index),h?h=(h+1)%5:"rgba("!==d.substr(-5)&&"hsla("!==d.substr(-5)||(h=1),f!==(c=u[x++]||"")&&(l=parseFloat(c)||0,D=c.substr((l+"").length),(m="="===f.charAt(1)?+(f.charAt(0)+"1"):0)&&(f=f.substr(2)),p=parseFloat(f),g=f.substr((p+"").length),y=Y.lastIndex-g.length,g||(g=g||v.units[e]||D,y===r.length&&(r+=g,_.e+=g)),D!==g&&(l=jn(t,e,c,g)||0),_._pt={_next:_._pt,p:d||1===x?d:",",s:l,c:m?m*p:p-l,m:h&&h<4||"zIndex"===e?Math.round:0});_.c=y<r.length?r.substring(y,r.length):""}else _.r="display"===e&&"none"===r?Fn:Cn;return z.test(r)&&(_.e=0),this._pt=_,_},Gn={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},Kn=function(t,e){if(e.tween&&e.tween._time===e.tween._dur){var n,r,i,o=e.t,s=o.style,a=e.u,u=o._gsap;if("all"===a||!0===a)s.cssText="",r=1;else for(i=(a=a.split(",")).length;--i>-1;)n=a[i],cn[n]&&(r=1,n="transformOrigin"===n?On:Sn),Hn(o,n);r&&(Hn(o,Sn),u&&(u.svg&&o.removeAttribute("transform"),rr(o,1),u.uncache=1))}},Qn={clearProps:function(t,e,n,r,i){if("isFromStart"!==i.data){var o=t._pt=new $e(t._pt,e,n,0,0,Kn);return o.u=r,o.pr=-10,o.tween=i,t._props.push(n),1}}},Zn=[1,0,0,1,0,0],$n={},Jn=function(t){return"matrix(1, 0, 0, 1, 0, 0)"===t||"none"===t||!t},tr=function(t){var e=Bn(t,Sn);return Jn(e)?Zn:e.substr(7).match(X).map(lt)},er=function(t,e){var n,r,i,o,s=t._gsap||st(t),a=t.style,u=tr(t);return s.svg&&t.getAttribute("transform")?"1,0,0,1,0,0"===(u=[(i=t.transform.baseVal.consolidate().matrix).a,i.b,i.c,i.d,i.e,i.f]).join(",")?Zn:u:(u!==Zn||t.offsetParent||t===sn||s.svg||(i=a.display,a.display="block",(n=t.parentNode)&&t.offsetParent||(o=1,r=t.nextSibling,sn.appendChild(t)),u=tr(t),i?a.display=i:Hn(t,"display"),o&&(r?n.insertBefore(t,r):n?n.appendChild(t):sn.removeChild(t))),e&&u.length>6?[u[0],u[1],u[4],u[5],u[12],u[13]]:u)},nr=function(t,e,n,r,i,o){var s,a,u,l=t._gsap,h=i||er(t,!0),c=l.xOrigin||0,f=l.yOrigin||0,p=l.xOffset||0,d=l.yOffset||0,g=h[0],D=h[1],m=h[2],v=h[3],_=h[4],y=h[5],x=e.split(" "),w=parseFloat(x[0])||0,C=parseFloat(x[1])||0;n?h!==Zn&&(a=g*v-D*m)&&(u=w*(-D/a)+C*(g/a)-(g*y-D*_)/a,w=w*(v/a)+C*(-m/a)+(m*y-v*_)/a,C=u):(w=(s=In(t)).x+(~x[0].indexOf("%")?w/100*s.width:w),C=s.y+(~(x[1]||x[0]).indexOf("%")?C/100*s.height:C)),r||!1!==r&&l.smooth?(_=w-c,y=C-f,l.xOffset=p+(_*g+y*m)-_,l.yOffset=d+(_*D+y*v)-y):l.xOffset=l.yOffset=0,l.xOrigin=w,l.yOrigin=C,l.smooth=!!r,l.origin=e,l.originIsAbsolute=!!n,t.style[On]="0px 0px",o&&(Wn(o,l,"xOrigin",c,w),Wn(o,l,"yOrigin",f,C),Wn(o,l,"xOffset",p,l.xOffset),Wn(o,l,"yOffset",d,l.yOffset)),t.setAttribute("data-svg-origin",w+" "+C)},rr=function(t,e){var n=t._gsap||new be(t);if("x"in n&&!e&&!n.uncache)return n;var r,i,o,s,a,u,l,h,c,f,p,d,g,D,m,_,y,x,w,C,F,E,b,T,M,A,P,S,O,k,B,L,N=t.style,R=n.scaleX<0,X=Bn(t,On)||"0";return r=i=o=u=l=h=c=f=p=0,s=a=1,n.svg=!(!t.getCTM||!zn(t)),D=er(t,n.svg),n.svg&&(T=(!n.uncache||"0px 0px"===X)&&!e&&t.getAttribute("data-svg-origin"),nr(t,T||X,!!T||n.originIsAbsolute,!1!==n.smooth,D)),d=n.xOrigin||0,g=n.yOrigin||0,D!==Zn&&(x=D[0],w=D[1],C=D[2],F=D[3],r=E=D[4],i=b=D[5],6===D.length?(s=Math.sqrt(x*x+w*w),a=Math.sqrt(F*F+C*C),u=x||w?dn(w,x)*fn:0,(c=C||F?dn(C,F)*fn+u:0)&&(a*=Math.abs(Math.cos(c*pn))),n.svg&&(r-=d-(d*x+g*C),i-=g-(d*w+g*F))):(L=D[6],k=D[7],P=D[8],S=D[9],O=D[10],B=D[11],r=D[12],i=D[13],o=D[14],l=(m=dn(L,O))*fn,m&&(T=E*(_=Math.cos(-m))+P*(y=Math.sin(-m)),M=b*_+S*y,A=L*_+O*y,P=E*-y+P*_,S=b*-y+S*_,O=L*-y+O*_,B=k*-y+B*_,E=T,b=M,L=A),h=(m=dn(-C,O))*fn,m&&(_=Math.cos(-m),B=F*(y=Math.sin(-m))+B*_,x=T=x*_-P*y,w=M=w*_-S*y,C=A=C*_-O*y),u=(m=dn(w,x))*fn,m&&(T=x*(_=Math.cos(m))+w*(y=Math.sin(m)),M=E*_+b*y,w=w*_-x*y,b=b*_-E*y,x=T,E=M),l&&Math.abs(l)+Math.abs(u)>359.9&&(l=u=0,h=180-h),s=lt(Math.sqrt(x*x+w*w+C*C)),a=lt(Math.sqrt(b*b+L*L)),m=dn(E,b),c=Math.abs(m)>2e-4?m*fn:0,p=B?1/(B<0?-B:B):0),n.svg&&(T=t.getAttribute("transform"),n.forceCSS=t.setAttribute("transform","")||!Jn(Bn(t,Sn)),T&&t.setAttribute("transform",T))),Math.abs(c)>90&&Math.abs(c)<270&&(R?(s*=-1,c+=u<=0?180:-180,u+=u<=0?180:-180):(a*=-1,c+=c<=0?180:-180)),n.x=r-((n.xPercent=r&&(n.xPercent||(Math.round(t.offsetWidth/2)===Math.round(-r)?-50:0)))?t.offsetWidth*n.xPercent/100:0)+"px",n.y=i-((n.yPercent=i&&(n.yPercent||(Math.round(t.offsetHeight/2)===Math.round(-i)?-50:0)))?t.offsetHeight*n.yPercent/100:0)+"px",n.z=o+"px",n.scaleX=lt(s),n.scaleY=lt(a),n.rotation=lt(u)+"deg",n.rotationX=lt(l)+"deg",n.rotationY=lt(h)+"deg",n.skewX=c+"deg",n.skewY=f+"deg",n.transformPerspective=p+"px",(n.zOrigin=parseFloat(X.split(" ")[2])||0)&&(N[On]=ir(X)),n.xOffset=n.yOffset=0,n.force3D=v.force3D,n.renderTransform=n.svg?ur:hn?ar:sr,n.uncache=0,n},ir=function(t){return(t=t.split(" "))[0]+" "+t[1]},or=function(t,e,n){var r=Ht(e);return lt(parseFloat(e)+parseFloat(jn(t,"x",n+"px",r)))+r},sr=function(t,e){e.z="0px",e.rotationY=e.rotationX="0deg",e.force3D=0,ar(t,e)},ar=function(t,e){var n=e||this,r=n.xPercent,i=n.yPercent,o=n.x,s=n.y,a=n.z,u=n.rotation,l=n.rotationY,h=n.rotationX,c=n.skewX,f=n.skewY,p=n.scaleX,d=n.scaleY,g=n.transformPerspective,D=n.force3D,m=n.target,v=n.zOrigin,_="",y="auto"===D&&t&&1!==t||!0===D;if(v&&("0deg"!==h||"0deg"!==l)){var x,w=parseFloat(l)*pn,C=Math.sin(w),F=Math.cos(w);w=parseFloat(h)*pn,x=Math.cos(w),o=or(m,o,C*x*-v),s=or(m,s,-Math.sin(w)*-v),a=or(m,a,F*x*-v+v)}"0px"!==g&&(_+="perspective("+g+") "),(r||i)&&(_+="translate("+r+"%, "+i+"%) "),(y||"0px"!==o||"0px"!==s||"0px"!==a)&&(_+="0px"!==a||y?"translate3d("+o+", "+s+", "+a+") ":"translate("+o+", "+s+") "),"0deg"!==u&&(_+="rotate("+u+") "),"0deg"!==l&&(_+="rotateY("+l+") "),"0deg"!==h&&(_+="rotateX("+h+") "),"0deg"===c&&"0deg"===f||(_+="skew("+c+", "+f+") "),1===p&&1===d||(_+="scale("+p+", "+d+") "),m.style[Sn]=_||"translate(0, 0)"},ur=function(t,e){var n,r,i,o,s,a=e||this,u=a.xPercent,l=a.yPercent,h=a.x,c=a.y,f=a.rotation,p=a.skewX,d=a.skewY,g=a.scaleX,D=a.scaleY,m=a.target,v=a.xOrigin,_=a.yOrigin,y=a.xOffset,x=a.yOffset,w=a.forceCSS,C=parseFloat(h),F=parseFloat(c);f=parseFloat(f),p=parseFloat(p),(d=parseFloat(d))&&(p+=d=parseFloat(d),f+=d),f||p?(f*=pn,p*=pn,n=Math.cos(f)*g,r=Math.sin(f)*g,i=Math.sin(f-p)*-D,o=Math.cos(f-p)*D,p&&(d*=pn,s=Math.tan(p-d),i*=s=Math.sqrt(1+s*s),o*=s,d&&(s=Math.tan(d),n*=s=Math.sqrt(1+s*s),r*=s)),n=lt(n),r=lt(r),i=lt(i),o=lt(o)):(n=g,o=D,r=i=0),(C&&!~(h+"").indexOf("px")||F&&!~(c+"").indexOf("px"))&&(C=jn(m,"x",h,"px"),F=jn(m,"y",c,"px")),(v||_||y||x)&&(C=lt(C+v-(v*n+_*i)+y),F=lt(F+_-(v*r+_*o)+x)),(u||l)&&(s=m.getBBox(),C=lt(C+u/100*s.width),F=lt(F+l/100*s.height)),s="matrix("+n+","+r+","+i+","+o+","+C+","+F+")",m.setAttribute("transform",s),w&&(m.style[Sn]=s)},lr=function(t,e,n,r,i,o){var s,a,u=T(i),l=parseFloat(i)*(u&&~i.indexOf("rad")?fn:1),h=o?l*o:l-r,c=r+h+"deg";return u&&("short"===(s=i.split("_")[1])&&(h%=360)!==h%180&&(h+=h<0?360:-360),"cw"===s&&h<0?h=(h+36e9)%360-360*~~(h/360):"ccw"===s&&h>0&&(h=(h-36e9)%360-360*~~(h/360))),t._pt=a=new $e(t._pt,e,n,r,h,yn),a.e=c,a.u="deg",t._props.push(n),a},hr=function(t,e){for(var n in e)t[n]=e[n];return t},cr=function(t,e,n){var r,i,o,s,a,u,l,h=hr({},n._gsap),c=n.style;for(i in h.svg?(o=n.getAttribute("transform"),n.setAttribute("transform",""),c[Sn]=e,r=rr(n,1),Hn(n,Sn),n.setAttribute("transform",o)):(o=getComputedStyle(n)[Sn],c[Sn]=e,r=rr(n,1),c[Sn]=o),cn)(o=h[i])!==(s=r[i])&&"perspective,force3D,transformOrigin,svgOrigin".indexOf(i)<0&&(a=Ht(o)!==(l=Ht(s))?jn(n,i,o,l):parseFloat(o),u=parseFloat(s),t._pt=new $e(t._pt,r,i,a,u-a,_n),t._pt.u=l||0,t._props.push(i));hr(r,h)};ut("padding,margin,Width,Radius",(function(t,e){var n="Top",r="Right",i="Bottom",o="Left",s=(e<3?[n,r,i,o]:[n+o,n+r,i+r,i+o]).map((function(n){return e<2?t+n:"border"+n+t}));Qn[e>1?"border"+t:t]=function(t,e,n,r,i){var o,a;if(arguments.length<4)return o=s.map((function(e){return Un(t,e,n)})),5===(a=o.join(" ")).split(o[0]).length?o[0]:a;o=(r+"").split(" "),a={},s.forEach((function(t,e){return a[t]=o[e]=o[e]||o[(e-1)/2|0]})),t.init(e,a,i)}}));var fr,pr,dr={name:"css",register:Rn,targetTest:function(t){return t.style&&t.nodeType},init:function(t,e,n,r,i){var o,s,a,u,l,h,c,f,p,d,g,D,m,_,y,x,w,C,F,E=this._props,b=t.style,M=n.vars.startAt;for(c in an||Rn(),e)if("autoRound"!==c&&(s=e[c],!tt[c]||!Oe(c,e,n,r,t,i)))if(l=typeof s,h=Qn[c],"function"===l&&(l=typeof(s=s.call(n,r,t,i))),"string"===l&&~s.indexOf("random(")&&(s=Jt(s)),h)h(this,t,c,s,n)&&(y=1);else if("--"===c.substr(0,2))o=(getComputedStyle(t).getPropertyValue(c)+"").trim(),s+="",he.lastIndex=0,he.test(o)||(f=Ht(o),p=Ht(s)),p?f!==p&&(o=jn(t,c,o,p)+p):f&&(s+=f),this.add(b,"setProperty",o,s,r,i,0,0,c),E.push(c);else if("undefined"!==l){if(M&&c in M?(o="function"==typeof M[c]?M[c].call(n,r,t,i):M[c],T(o)&&~o.indexOf("random(")&&(o=Jt(o)),Ht(o+"")||(o+=v.units[c]||Ht(Un(t,c))||""),"="===(o+"").charAt(1)&&(o=Un(t,c))):o=Un(t,c),u=parseFloat(o),(d="string"===l&&"="===s.charAt(1)?+(s.charAt(0)+"1"):0)&&(s=s.substr(2)),a=parseFloat(s),c in vn&&("autoAlpha"===c&&(1===u&&"hidden"===Un(t,"visibility")&&a&&(u=0),Wn(this,b,"visibility",u?"inherit":"hidden",a?"inherit":"hidden",!a)),"scale"!==c&&"transform"!==c&&~(c=vn[c]).indexOf(",")&&(c=c.split(",")[0])),g=c in cn)if(D||((m=t._gsap).renderTransform&&!e.parseTransform||rr(t,e.parseTransform),_=!1!==e.smoothOrigin&&m.smooth,(D=this._pt=new $e(this._pt,b,Sn,0,1,m.renderTransform,m,0,-1)).dep=1),"scale"===c)this._pt=new $e(this._pt,m,"scaleY",m.scaleY,(d?d*a:a-m.scaleY)||0),E.push("scaleY",c),c+="X";else{if("transformOrigin"===c){w=void 0,C=void 0,F=void 0,w=(x=s).split(" "),C=w[0],F=w[1]||"50%","top"!==C&&"bottom"!==C&&"left"!==F&&"right"!==F||(x=C,C=F,F=x),w[0]=Gn[C]||C,w[1]=Gn[F]||F,s=w.join(" "),m.svg?nr(t,s,0,_,0,this):((p=parseFloat(s.split(" ")[2])||0)!==m.zOrigin&&Wn(this,m,"zOrigin",m.zOrigin,p),Wn(this,b,c,ir(o),ir(s)));continue}if("svgOrigin"===c){nr(t,s,1,_,0,this);continue}if(c in $n){lr(this,m,c,u,s,d);continue}if("smoothOrigin"===c){Wn(this,m,"smooth",m.smooth,s);continue}if("force3D"===c){m[c]=s;continue}if("transform"===c){cr(this,s,t);continue}}else c in b||(c=Nn(c)||c);if(g||(a||0===a)&&(u||0===u)&&!mn.test(s)&&c in b)a||(a=0),(f=(o+"").substr((u+"").length))!==(p=Ht(s)||(c in v.units?v.units[c]:f))&&(u=jn(t,c,o,p)),this._pt=new $e(this._pt,g?m:b,c,u,d?d*a:a-u,g||"px"!==p&&"zIndex"!==c||!1===e.autoRound?_n:wn),this._pt.u=p||0,f!==p&&"%"!==p&&(this._pt.b=o,this._pt.r=xn);else if(c in b)qn.call(this,t,c,o,s);else{if(!(c in t)){q(c,s);continue}this.add(t,c,o||t[c],s,r,i)}E.push(c)}y&&Ze(this)},get:Un,aliases:vn,getSetter:function(t,e,n){var r=vn[e];return r&&r.indexOf(",")<0&&(e=r),e in cn&&e!==On&&(t._gsap.x||Un(t,"x"))?n&&ln===n?"scale"===e?Mn:Tn:(ln=n||{})&&("scale"===e?An:Pn):t.style&&!P(t.style[e])?En:~e.indexOf("-")?bn:We(t,e)},core:{_removeProperty:Hn,_getMatrix:er}};nn.utils.checkPrefix=Nn,pr=ut("x,y,z,scale,scaleX,scaleY,xPercent,yPercent,"+(fr="rotation,rotationX,rotationY,skewX,skewY")+",transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective",(function(t){cn[t]=1})),ut(fr,(function(t){v.units[t]="deg",$n[t]=1})),vn[pr[13]]="x,y,z,scale,scaleX,scaleY,xPercent,yPercent,"+fr,ut("0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY",(function(t){var e=t.split(":");vn[e[1]]=pr[e[0]]})),ut("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",(function(t){v.units[t]="px"})),nn.registerPlugin(dr);var gr,Dr,mr,vr=nn.registerPlugin(dr)||nn,_r=vr.core.Tween,yr=function(){return gr||"undefined"!=typeof window&&(gr=window.gsap)&&gr.registerPlugin&&gr},xr=function(t){gr=yr(),(mr=gr&&gr.parseEase("_CE"))?(Dr=1,gr.parseEase("bounce").config=function(t){return"object"==typeof t?Cr("",t):Cr("bounce("+t+")",{strength:+t})}):t&&console.warn("Please gsap.registerPlugin(CustomEase, CustomBounce)")},wr=function(t){var e,n=t.length,r=1/t[n-2];for(e=2;e<n;e+=2)t[e]=~~(t[e]*r*1e3)/1e3;t[n-2]=1},Cr=function(t,e){Dr||xr(1),e=e||{};var n,r,i,o,s,a,u,l=Math.min(.999,e.strength||.7),h=l,c=(e.squash||0)/100,f=c,p=1/.03,d=.2,g=1,D=.1,m=[0,0,.07,0,.1,1,.1,1],v=[0,0,0,0,.1,0,.1,0];for(s=0;s<200&&(a=D+(d*=h*((h+1)/2)),o=1-(g*=l*l),r=(i=D+.49*d)+.8*(i-(n=D+g/p)),c&&(D+=c,n+=c,i+=c,r+=c,a+=c,u=c/f,v.push(D-c,0,D-c,u,D-c/2,u,D,u,D,0,D,0,D,-.6*u,D+(a-D)/6,0,a,0),m.push(D-c,1,D,1,D,1),c*=l*l),m.push(D,1,n,o,i,o,r,o,a,1,a,1),l*=.95,p=g/(a-r),D=a,!(o>.999));s++);if(e.endAtStart&&"false"!==e.endAtStart){if(i=-.1,m.unshift(i,1,i,1,-.07,0),f)for(i-=c=2.5*f,m.unshift(i,1,i,1,i,1),v.splice(0,6),v.unshift(i,0,i,0,i,1,i+c/2,1,i+c,1,i+c,0,i+c,0,i+c,-.6,i+c+.033,0),s=0;s<v.length;s+=2)v[s]-=i;for(s=0;s<m.length;s+=2)m[s]-=i,m[s+1]=1-m[s+1]}return c&&(wr(v),v[2]="C"+v[2],mr(e.squashID||t+"-squash","M"+v.join(","))),wr(m),m[2]="C"+m[2],mr(t,"M"+m.join(","))},Fr=function(){function t(t,e){this.ease=Cr(t,e)}return t.create=function(t,e){return Cr(t,e)},t.register=function(t){gr=t,xr()},t}();
/*!
 * CustomBounce 3.9.1
 * https://greensock.com
 *
 * @license Copyright 2008-2021, GreenSock. All rights reserved.
 * Subject to the terms at https://greensock.com/standard-license or for
 * Club GreenSock members, the agreement issued with that membership.
 * @author: Jack Doyle, jack@greensock.com
*/yr()&&gr.registerPlugin(Fr),Fr.version="3.9.1";
/*!
 * paths 3.9.1
 * https://greensock.com
 *
 * Copyright 2008-2021, GreenSock. All rights reserved.
 * Subject to the terms at https://greensock.com/standard-license or for
 * Club GreenSock members, the agreement issued with that membership.
 * @author: Jack Doyle, jack@greensock.com
*/
var Er=/[achlmqstvz]|(-?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,br=/(?:(-)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,Tr=/[\+\-]?\d*\.?\d+e[\+\-]?\d+/gi,Mr=/(^[#\.][a-z]|[a-y][a-z])/i,Ar=Math.PI/180,Pr=180/Math.PI,Sr=Math.sin,Or=Math.cos,kr=Math.abs,Br=Math.sqrt,Lr=Math.atan2,Nr=function(t){return"string"==typeof t},Rr=function(t){return"number"==typeof t},Xr={},Yr={},Ir=function(t){return Math.round((t+1e8)%1*1e5)/1e5||(t<0?0:1)},zr=function(t){return Math.round(1e5*t)/1e5||0},Hr=function(t){return Math.round(1e10*t)/1e10||0},Wr=function(t,e,n,r){var i=t[e],o=1===r?6:ei(i,n,r);if(o&&o+n+2<i.length)return t.splice(e,0,i.slice(0,n+o+2)),i.splice(0,n+o),1},Vr=function(t,e,n){var r=t.length,i=~~(n*r);if(t[i]>e)for(;--i&&t[i]>e;);else for(;t[++i]<e&&i<r;);return i<r?i:r-1},jr=function(t,e){return e.totalLength=t.totalLength,t.samples?(e.samples=t.samples.slice(0),e.lookup=t.lookup.slice(0),e.minLength=t.minLength,e.resolution=t.resolution):t.totalPoints&&(e.totalPoints=t.totalPoints),e},Ur=function(t,e){var n=t.length,r=t[n-1]||[],i=r.length;n&&e[0]===r[i-2]&&e[1]===r[i-1]&&(e=r.concat(e.slice(2)),n--),t[n]=e};function qr(t){var e,n=(t=Nr(t)&&Mr.test(t)&&document.querySelector(t)||t).getAttribute?t:0;return n&&(t=t.getAttribute("d"))?(n._gsPath||(n._gsPath={}),(e=n._gsPath[t])&&!e._dirty?e:n._gsPath[t]=si(t)):t?Nr(t)?si(t):Rr(t[0])?[t]:t:console.warn("Expecting a <path> element or an SVG path data string")}function Gr(t){var e,n=0;for(t.reverse();n<t.length;n+=2)e=t[n],t[n]=t[n+1],t[n+1]=e;t.reversed=!t.reversed}var Kr={rect:"rx,ry,x,y,width,height",circle:"r,cx,cy",ellipse:"rx,ry,cx,cy",line:"x1,x2,y1,y2"};function Qr(t,e){var n,r,i,o,s,a,u,l,h,c,f,p,d,g,D,m,v,_,y,x,w,C,F=t.tagName.toLowerCase(),E=.552284749831;return"path"!==F&&t.getBBox?(a=function(t,e){var n,r=document.createElementNS("http://www.w3.org/2000/svg","path"),i=[].slice.call(t.attributes),o=i.length;for(e=","+e+",";--o>-1;)n=i[o].nodeName.toLowerCase(),e.indexOf(","+n+",")<0&&r.setAttributeNS(null,n,i[o].nodeValue);return r}(t,"x,y,width,height,cx,cy,rx,ry,r,x1,x2,y1,y2,points"),C=function(t,e){for(var n=e?e.split(","):[],r={},i=n.length;--i>-1;)r[n[i]]=+t.getAttribute(n[i])||0;return r}(t,Kr[F]),"rect"===F?(o=C.rx,s=C.ry||o,r=C.x,i=C.y,c=C.width-2*o,f=C.height-2*s,n=o||s?"M"+(m=(g=(d=r+o)+c)+o)+","+(_=i+s)+" V"+(y=_+f)+" C"+[m,x=y+s*E,D=g+o*E,w=y+s,g,w,g-(g-d)/3,w,d+(g-d)/3,w,d,w,p=r+o*(1-E),w,r,x,r,y,r,y-(y-_)/3,r,_+(y-_)/3,r,_,r,v=i+s*(1-E),p,i,d,i,d+(g-d)/3,i,g-(g-d)/3,i,g,i,D,i,m,v,m,_].join(",")+"z":"M"+(r+c)+","+i+" v"+f+" h"+-c+" v"+-f+" h"+c+"z"):"circle"===F||"ellipse"===F?("circle"===F?l=(o=s=C.r)*E:(o=C.rx,l=(s=C.ry)*E),n="M"+((r=C.cx)+o)+","+(i=C.cy)+" C"+[r+o,i+l,r+(u=o*E),i+s,r,i+s,r-u,i+s,r-o,i+l,r-o,i,r-o,i-l,r-u,i-s,r,i-s,r+u,i-s,r+o,i-l,r+o,i].join(",")+"z"):"line"===F?n="M"+C.x1+","+C.y1+" L"+C.x2+","+C.y2:"polyline"!==F&&"polygon"!==F||(n="M"+(r=(h=(t.getAttribute("points")+"").match(br)||[]).shift())+","+(i=h.shift())+" L"+h.join(","),"polygon"===F&&(n+=","+r+","+i+"z")),a.setAttribute("d",li(a._gsRawPath=si(n))),e&&t.parentNode&&(t.parentNode.insertBefore(a,t),t.parentNode.removeChild(t)),a):t}function Zr(t,e,n){var r,i=t[e],o=t[e+2],s=t[e+4];return i+=(o-i)*n,i+=((o+=(s-o)*n)-i)*n,r=o+(s+(t[e+6]-s)*n-o)*n-i,i=t[e+1],i+=((o=t[e+3])-i)*n,i+=((o+=((s=t[e+5])-o)*n)-i)*n,zr(Lr(o+(s+(t[e+7]-s)*n-o)*n-i,r)*Pr)}function $r(t,e,n){n=void 0===n?1:Hr(n)||0,e=Hr(e)||0;var r=Math.max(0,~~(kr(n-e)-1e-8)),i=function(t){for(var e=[],n=0;n<t.length;n++)e[n]=jr(t[n],t[n].slice(0));return jr(t,e)}(t);if(e>n&&(e=1-e,n=1-n,function(t,e){var n=t.length;for(e||t.reverse();n--;)t[n].reversed||Gr(t[n])}(i),i.totalLength=0),e<0||n<0){var o=Math.abs(~~Math.min(e,n))+1;e+=o,n+=o}i.totalLength||ti(i);var s,a,u,l,h,c,f,p,d=n>1,g=ni(i,e,Xr,!0),D=ni(i,n,Yr),m=D.segment,v=g.segment,_=D.segIndex,y=g.segIndex,x=D.i,w=g.i,C=y===_,F=x===w&&C;if(d||r){for(s=_<y||C&&x<w||F&&D.t<g.t,Wr(i,y,w,g.t)&&(y++,s||(_++,F?(D.t=(D.t-g.t)/(1-g.t),x=0):C&&(x-=w))),Math.abs(1-(n-e))<1e-5?_=y-1:!D.t&&_?_--:Wr(i,_,x,D.t)&&s&&y++,1===g.t&&(y=(y+1)%i.length),h=[],f=1+(c=i.length)*r,p=y,f+=(c-y+_)%c,l=0;l<f;l++)Ur(h,i[p++%c]);i=h}else if(u=1===D.t?6:ei(m,x,D.t),e!==n)for(a=ei(v,w,F?g.t/D.t:g.t),C&&(u+=a),m.splice(x+u+2),(a||w)&&v.splice(0,w+a),l=i.length;l--;)(l<y||l>_)&&i.splice(l,1);else m.angle=Zr(m,x+u,0),g=m[x+=u],D=m[x+1],m.length=m.totalLength=0,m.totalPoints=i.totalPoints=8,m.push(g,D,g,D,g,D,g,D);return i.totalLength=0,i}function Jr(t,e,n){e=e||0,t.samples||(t.samples=[],t.lookup=[]);var r,i,o,s,a,u,l,h,c,f,p,d,g,D,m,v,_,y=~~t.resolution||12,x=1/y,w=n?e+6*n+1:t.length,C=t[e],F=t[e+1],E=e?e/6*y:0,b=t.samples,T=t.lookup,M=(e?t.minLength:1e8)||1e8,A=b[E+n*y-1],P=e?b[E-1]:0;for(b.length=T.length=0,i=e+2;i<w;i+=6){if(o=t[i+4]-C,s=t[i+2]-C,a=t[i]-C,h=t[i+5]-F,c=t[i+3]-F,f=t[i+1]-F,u=l=p=d=0,kr(o)<.01&&kr(h)<.01&&kr(a)+kr(f)<.01)t.length>8&&(t.splice(i,6),i-=6,w-=6);else for(r=1;r<=y;r++)u=l-(l=((D=x*r)*D*o+3*(g=1-D)*(D*s+g*a))*D),p=d-(d=(D*D*h+3*g*(D*c+g*f))*D),(v=Br(p*p+u*u))<M&&(M=v),P+=v,b[E++]=P;C+=o,F+=h}if(A)for(A-=P;E<b.length;E++)b[E]+=A;if(b.length&&M){if(t.totalLength=_=b[b.length-1]||0,t.minLength=M,_/M<9999)for(v=m=0,r=0;r<_;r+=M)T[v++]=b[m]<r?++m:m}else t.totalLength=b[0]=0;return e?P-b[e/2-1]:P}function ti(t,e){var n,r,i;for(i=n=r=0;i<t.length;i++)t[i].resolution=~~e||12,r+=t[i].length,n+=Jr(t[i]);return t.totalPoints=r,t.totalLength=n,t}function ei(t,e,n){if(n<=0||n>=1)return 0;var r=t[e],i=t[e+1],o=t[e+2],s=t[e+3],a=t[e+4],u=t[e+5],l=r+(o-r)*n,h=o+(a-o)*n,c=i+(s-i)*n,f=s+(u-s)*n,p=l+(h-l)*n,d=c+(f-c)*n,g=a+(t[e+6]-a)*n,D=u+(t[e+7]-u)*n;return h+=(g-h)*n,f+=(D-f)*n,t.splice(e+2,4,zr(l),zr(c),zr(p),zr(d),zr(p+(h-p)*n),zr(d+(f-d)*n),zr(h),zr(f),zr(g),zr(D)),t.samples&&t.samples.splice(e/6*t.resolution|0,0,0,0,0,0,0,0),6}function ni(t,e,n,r){n=n||{},t.totalLength||ti(t),(e<0||e>1)&&(e=Ir(e));var i,o,s,a,u,l,h,c=0,f=t[0];if(e)if(1===e)h=1,l=(f=t[c=t.length-1]).length-8;else{if(t.length>1){for(s=t.totalLength*e,u=l=0;(u+=t[l++].totalLength)<s;)c=l;e=(s-(a=u-(f=t[c]).totalLength))/(u-a)||0}i=f.samples,o=f.resolution,s=f.totalLength*e,a=(l=f.lookup.length?f.lookup[~~(s/f.minLength)]||0:Vr(i,s,e))?i[l-1]:0,(u=i[l])<s&&(a=u,u=i[++l]),h=1/o*((s-a)/(u-a)+l%o),l=6*~~(l/o),r&&1===h&&(l+6<f.length?(l+=6,h=0):c+1<t.length&&(l=h=0,f=t[++c]))}else h=l=c=0,f=t[0];return n.t=h,n.i=l,n.path=t,n.segment=f,n.segIndex=c,n}function ri(t,e,n,r){var i,o,s,a,u,l,h,c,f,p=t[0],d=r||{};if((e<0||e>1)&&(e=Ir(e)),t.length>1){for(s=t.totalLength*e,u=l=0;(u+=t[l++].totalLength)<s;)p=t[l];e=(s-(a=u-p.totalLength))/(u-a)||0}return i=p.samples,o=p.resolution,s=p.totalLength*e,a=(l=p.lookup.length?p.lookup[e<1?~~(s/p.minLength):p.lookup.length-1]||0:Vr(i,s,e))?i[l-1]:0,(u=i[l])<s&&(a=u,u=i[++l]),f=1-(h=1/o*((s-a)/(u-a)+l%o)||0),c=p[l=6*~~(l/o)],d.x=zr((h*h*(p[l+6]-c)+3*f*(h*(p[l+4]-c)+f*(p[l+2]-c)))*h+c),d.y=zr((h*h*(p[l+7]-(c=p[l+1]))+3*f*(h*(p[l+5]-c)+f*(p[l+3]-c)))*h+c),n&&(d.angle=p.totalLength?Zr(p,l,h>=1?1-1e-9:h||1e-9):p.angle||0),d}function ii(t,e,n,r,i,o,s){for(var a,u,l,h,c,f=t.length;--f>-1;)for(u=(a=t[f]).length,l=0;l<u;l+=2)h=a[l],c=a[l+1],a[l]=h*e+c*r+o,a[l+1]=h*n+c*i+s;return t._dirty=1,t}function oi(t,e,n,r,i,o,s,a,u){if(t!==a||e!==u){n=kr(n),r=kr(r);var l=i%360*Ar,h=Or(l),c=Sr(l),f=Math.PI,p=2*f,d=(t-a)/2,g=(e-u)/2,D=h*d+c*g,m=-c*d+h*g,v=D*D,_=m*m,y=v/(n*n)+_/(r*r);y>1&&(n=Br(y)*n,r=Br(y)*r);var x=n*n,w=r*r,C=(x*w-x*_-w*v)/(x*_+w*v);C<0&&(C=0);var F=(o===s?-1:1)*Br(C),E=F*(n*m/r),b=F*(-r*D/n),T=(t+a)/2+(h*E-c*b),M=(e+u)/2+(c*E+h*b),A=(D-E)/n,P=(m-b)/r,S=(-D-E)/n,O=(-m-b)/r,k=A*A+P*P,B=(P<0?-1:1)*Math.acos(A/Br(k)),L=(A*O-P*S<0?-1:1)*Math.acos((A*S+P*O)/Br(k*(S*S+O*O)));isNaN(L)&&(L=f),!s&&L>0?L-=p:s&&L<0&&(L+=p),B%=p,L%=p;var N,R=Math.ceil(kr(L)/(p/4)),X=[],Y=L/R,I=4/3*Sr(Y/2)/(1+Or(Y/2)),z=h*n,H=c*n,W=c*-r,V=h*r;for(N=0;N<R;N++)D=Or(i=B+N*Y),m=Sr(i),A=Or(i+=Y),P=Sr(i),X.push(D-I*m,m+I*D,A+I*P,P-I*A,A,P);for(N=0;N<X.length;N+=2)D=X[N],m=X[N+1],X[N]=D*z+m*W+T,X[N+1]=D*H+m*V+M;return X[N-2]=a,X[N-1]=u,X}}function si(t){var e,n,r,i,o,s,a,u,l,h,c,f,p,d,g,D=(t+"").replace(Tr,(function(t){var e=+t;return e<1e-4&&e>-1e-4?0:e})).match(Er)||[],m=[],v=0,_=0,y=D.length,x=0,w="ERROR: malformed path: "+t,C=function(t,e,n,r){h=(n-t)/3,c=(r-e)/3,a.push(t+h,e+c,n-h,r-c,n,r)};if(!t||!isNaN(D[0])||isNaN(D[1]))return console.log(w),m;for(e=0;e<y;e++)if(p=o,isNaN(D[e])?s=(o=D[e].toUpperCase())!==D[e]:e--,r=+D[e+1],i=+D[e+2],s&&(r+=v,i+=_),e||(u=r,l=i),"M"===o)a&&(a.length<8?m.length-=1:x+=a.length),v=u=r,_=l=i,a=[r,i],m.push(a),e+=2,o="L";else if("C"===o)a||(a=[0,0]),s||(v=_=0),a.push(r,i,v+1*D[e+3],_+1*D[e+4],v+=1*D[e+5],_+=1*D[e+6]),e+=6;else if("S"===o)h=v,c=_,"C"!==p&&"S"!==p||(h+=v-a[a.length-4],c+=_-a[a.length-3]),s||(v=_=0),a.push(h,c,r,i,v+=1*D[e+3],_+=1*D[e+4]),e+=4;else if("Q"===o)h=v+2/3*(r-v),c=_+2/3*(i-_),s||(v=_=0),v+=1*D[e+3],_+=1*D[e+4],a.push(h,c,v+2/3*(r-v),_+2/3*(i-_),v,_),e+=4;else if("T"===o)h=v-a[a.length-4],c=_-a[a.length-3],a.push(v+h,_+c,r+2/3*(v+1.5*h-r),i+2/3*(_+1.5*c-i),v=r,_=i),e+=2;else if("H"===o)C(v,_,v=r,_),e+=1;else if("V"===o)C(v,_,v,_=r+(s?_-v:0)),e+=1;else if("L"===o||"Z"===o)"Z"===o&&(r=u,i=l,a.closed=!0),("L"===o||kr(v-r)>.5||kr(_-i)>.5)&&(C(v,_,r,i),"L"===o&&(e+=2)),v=r,_=i;else if("A"===o){if(d=D[e+4],g=D[e+5],h=D[e+6],c=D[e+7],n=7,d.length>1&&(d.length<3?(c=h,h=g,n--):(c=g,h=d.substr(2),n-=2),g=d.charAt(1),d=d.charAt(0)),f=oi(v,_,+D[e+1],+D[e+2],+D[e+3],+d,+g,(s?v:0)+1*h,(s?_:0)+1*c),e+=n,f)for(n=0;n<f.length;n++)a.push(f[n]);v=a[a.length-2],_=a[a.length-1]}else console.log(w);return(e=a.length)<6?(m.pop(),e=0):a[0]===a[e-2]&&a[1]===a[e-1]&&(a.closed=!0),m.totalPoints=x+e,m}function ai(t,e){void 0===e&&(e=1);for(var n=t[0],r=0,i=[n,r],o=2;o<t.length;o+=2)i.push(n,r,t[o],r=(t[o]-n)*e/2,n=t[o],-r);return i}function ui(t,e,n){kr(t[0]-t[2])<1e-4&&kr(t[1]-t[3])<1e-4&&(t=t.slice(2));var r,i,o,s,a,u,l,h,c,f,p,d,g,D,m=t.length-2,v=+t[0],_=+t[1],y=+t[2],x=+t[3],w=[v,_,v,_],C=y-v,F=x-_,E=Math.abs(t[m]-v)<.001&&Math.abs(t[m+1]-_)<.001;for(isNaN(n)&&(n=Math.PI/10),E&&(t.push(y,x),y=v,x=_,v=t[m-2],_=t[m-1],t.unshift(v,_),m+=4),e=e||0===e?+e:1,a=2;a<m;a+=2)r=v,i=_,v=y,_=x,y=+t[a+2],x=+t[a+3],v===y&&_===x||(d=(u=C)*u+(h=F)*h,g=(C=y-v)*C+(F=x-_)*F,D=(l=y-r)*l+(c=x-i)*c,p=(o=Math.acos((d+g-D)/Br(4*d*g)))/Math.PI*e,f=Br(d)*p,p*=Br(g),v===r&&_===i||(o>n?(s=Lr(c,l),w.push(zr(v-Or(s)*f),zr(_-Sr(s)*f),zr(v),zr(_),zr(v+Or(s)*p),zr(_+Sr(s)*p))):(s=Lr(h,u),w.push(zr(v-Or(s)*f),zr(_-Sr(s)*f)),s=Lr(F,C),w.push(zr(v),zr(_),zr(v+Or(s)*p),zr(_+Sr(s)*p)))));return v!==y||_!==x||w.length<4?w.push(zr(y),zr(x),zr(y),zr(x)):w.length-=2,E&&(w.splice(0,6),w.length=w.length-6),w}function li(t){Rr(t[0])&&(t=[t]);var e,n,r,i,o="",s=t.length;for(n=0;n<s;n++){for(i=t[n],o+="M"+zr(i[0])+","+zr(i[1])+" C",e=i.length,r=2;r<e;r++)o+=zr(i[r++])+","+zr(i[r++])+" "+zr(i[r++])+","+zr(i[r++])+" "+zr(i[r++])+","+zr(i[r])+" ";i.closed&&(o+="z")}return o}
/*!
 * CustomEase 3.9.1
 * https://greensock.com
 *
 * @license Copyright 2008-2021, GreenSock. All rights reserved.
 * Subject to the terms at https://greensock.com/standard-license or for
 * Club GreenSock members, the agreement issued with that membership.
 * @author: Jack Doyle, jack@greensock.com
*/var hi,ci,fi=function(){return hi||"undefined"!=typeof window&&(hi=window.gsap)&&hi.registerPlugin&&hi},pi=function(){(hi=fi())?(hi.registerEase("_CE",vi.create),ci=1):console.warn("Please gsap.registerPlugin(CustomEase)")},di=function(t){return~~(1e3*t+(t<0?-.5:.5))/1e3},gi=/[-+=\.]*\d+[\.e\-\+]*\d*[e\-\+]*\d*/gi,Di=/[cLlsSaAhHvVtTqQ]/g,mi=function t(e,n,r,i,o,s,a,u,l,h,c){var f,p=(e+r)/2,d=(n+i)/2,g=(r+o)/2,D=(i+s)/2,m=(o+a)/2,v=(s+u)/2,_=(p+g)/2,y=(d+D)/2,x=(g+m)/2,w=(D+v)/2,C=(_+x)/2,F=(y+w)/2,E=a-e,b=u-n,T=Math.abs((r-a)*b-(i-u)*E),M=Math.abs((o-a)*b-(s-u)*E);return h||(h=[{x:e,y:n},{x:a,y:u}],c=1),h.splice(c||h.length-1,0,{x:C,y:F}),(T+M)*(T+M)>l*(E*E+b*b)&&(f=h.length,t(e,n,p,d,_,y,C,F,l,h,c),t(C,F,x,w,m,v,a,u,l,h,c+1+(h.length-f))),h},vi=function(){function t(t,e,n){ci||pi(),this.id=t,this.setData(e,n)}var e=t.prototype;return e.setData=function(t,e){e=e||{};var n,r,i,o,s,a,u,l,h,c=(t=t||"0,0,1,1").match(gi),f=1,p=[],d=[],g=e.precision||1,D=g<=1;if(this.data=t,(Di.test(t)||~t.indexOf("M")&&t.indexOf("C")<0)&&(c=si(t)[0]),4===(n=c.length))c.unshift(0,0),c.push(1,1),n=8;else if((n-2)%6)throw"Invalid CustomEase";for(0==+c[0]&&1==+c[n-2]||function(t,e,n){n||0===n||(n=Math.max(+t[t.length-1],+t[1]));var r,i=-1*+t[0],o=-n,s=t.length,a=1/(+t[s-2]+i),u=-e||(Math.abs(+t[s-1]-+t[1])<.01*(+t[s-2]-+t[0])?function(t){var e,n=t.length,r=1e20;for(e=1;e<n;e+=6)+t[e]<r&&(r=+t[e]);return r}(t)+o:+t[s-1]+o);for(u=u?1/u:-a,r=0;r<s;r+=2)t[r]=(+t[r]+i)*a,t[r+1]=(+t[r+1]+o)*u}(c,e.height,e.originY),this.segment=c,o=2;o<n;o+=6)r={x:+c[o-2],y:+c[o-1]},i={x:+c[o+4],y:+c[o+5]},p.push(r,i),mi(r.x,r.y,+c[o],+c[o+1],+c[o+2],+c[o+3],i.x,i.y,1/(2e5*g),p,p.length-1);for(n=p.length,o=0;o<n;o++)u=p[o],l=p[o-1]||u,(u.x>l.x||l.y!==u.y&&l.x===u.x||u===l)&&u.x<=1?(l.cx=u.x-l.x,l.cy=u.y-l.y,l.n=u,l.nx=u.x,D&&o>1&&Math.abs(l.cy/l.cx-p[o-2].cy/p[o-2].cx)>2&&(D=0),l.cx<f&&(l.cx?f=l.cx:(l.cx=.001,o===n-1&&(l.x-=.001,f=Math.min(f,.001),D=0)))):(p.splice(o--,1),n--);if(s=1/(n=1/f+1|0),a=0,u=p[0],D){for(o=0;o<n;o++)h=o*s,u.nx<h&&(u=p[++a]),r=u.y+(h-u.x)/u.cx*u.cy,d[o]={x:h,cx:s,y:r,cy:0,nx:9},o&&(d[o-1].cy=r-d[o-1].y);d[n-1].cy=p[p.length-1].y-r}else{for(o=0;o<n;o++)u.nx<o*s&&(u=p[++a]),d[o]=u;a<p.length-1&&(d[o-1]=p[p.length-2])}return this.ease=function(t){var e=d[t*n|0]||d[n-1];return e.nx<t&&(e=e.n),e.y+(t-e.x)/e.cx*e.cy},this.ease.custom=this,this.id&&hi&&hi.registerEase(this.id,this.ease),this},e.getSVGData=function(e){return t.getSVGData(this,e)},t.create=function(e,n,r){return new t(e,n,r).ease},t.register=function(t){hi=t,pi()},t.get=function(t){return hi.parseEase(t)},t.getSVGData=function(e,n){var r,i,o,s,a,u,l,h,c,f,p=(n=n||{}).width||100,d=n.height||100,g=n.x||0,D=(n.y||0)+d,m=hi.utils.toArray(n.path)[0];if(n.invert&&(d=-d,D=0),"string"==typeof e&&(e=hi.parseEase(e)),e.custom&&(e=e.custom),e instanceof t)r=li(ii([e.segment],p,0,0,-d,g,D));else{for(r=[g,D],s=1/(l=Math.max(5,200*(n.precision||1))),h=5/(l+=2),c=di(g+s*p),i=((f=di(D+e(s)*-d))-D)/(c-g),o=2;o<l;o++)a=di(g+o*s*p),u=di(D+e(o*s)*-d),(Math.abs((u-f)/(a-c)-i)>h||o===l-1)&&(r.push(c,f),i=(u-f)/(a-c)),c=a,f=u;r="M"+r.join(",")}return m&&m.setAttribute("d",r),r},t}();fi()&&hi.registerPlugin(vi),vi.version="3.9.1";
/*!
 * CustomWiggle 3.9.1
 * https://greensock.com
 *
 * @license Copyright 2008-2021, GreenSock. All rights reserved.
 * Subject to the terms at https://greensock.com/standard-license or for
 * Club GreenSock members, the agreement issued with that membership.
 * @author: Jack Doyle, jack@greensock.com
*/
var _i,yi,xi,wi=function(){return _i||"undefined"!=typeof window&&(_i=window.gsap)&&_i.registerPlugin&&_i},Ci={easeOut:"M0,1,C0.7,1,0.6,0,1,0",easeInOut:"M0,0,C0.1,0,0.24,1,0.444,1,0.644,1,0.6,0,1,0",anticipate:"M0,0,C0,0.222,0.024,0.386,0,0.4,0.18,0.455,0.65,0.646,0.7,0.67,0.9,0.76,1,0.846,1,1",uniform:"M0,0,C0,0.95,0,1,0,1,0,1,1,1,1,1,1,1,1,0,1,0"},Fi=function(t){return t},Ei=function(t){if(!yi)if(_i=wi(),xi=_i&&_i.parseEase("_CE")){for(var e in Ci)Ci[e]=xi("",Ci[e]);yi=1,Ti("wiggle").config=function(t){return"object"==typeof t?Ti("",t):Ti("wiggle("+t+")",{wiggles:+t})}}else t&&console.warn("Please gsap.registerPlugin(CustomEase, CustomWiggle)")},bi=function(t,e){return"function"!=typeof t&&(t=_i.parseEase(t)||xi("",t)),t.custom||!e?t:function(e){return 1-t(e)}},Ti=function(t,e){yi||Ei(1);var n,r,i,o,s,a,u,l,h,c=0|((e=e||{}).wiggles||10),f=1/c,p=f/2,d="anticipate"===e.type,g=Ci[e.type]||Ci.easeOut,D=Fi;if(d&&(D=g,g=Ci.easeOut),e.timingEase&&(D=bi(e.timingEase)),e.amplitudeEase&&(g=bi(e.amplitudeEase,!0)),l=[0,0,(a=D(p))/4,0,a/2,u=d?-g(p):g(p),a,u],"random"===e.type){for(l.length=4,n=D(f),r=2*Math.random()-1,h=2;h<c;h++)p=n,u=r,n=D(f*h),r=2*Math.random()-1,i=Math.atan2(r-l[l.length-3],n-l[l.length-4]),o=Math.cos(i)*f,s=Math.sin(i)*f,l.push(p-o,u-s,p,u,p+o,u+s);l.push(n,0,1,0)}else{for(h=1;h<c;h++)l.push(D(p+f/2),u),p+=f,u=(u>0?-1:1)*g(h*f),a=D(p),l.push(D(p-f/2),u,a,u);l.push(D(p+f/4),u,D(p+f/4),0,1,0)}for(h=l.length;--h>-1;)l[h]=~~(1e3*l[h])/1e3;return l[2]="C"+l[2],xi(t,"M"+l.join(","))},Mi=function(){function t(t,e){this.ease=Ti(t,e)}return t.create=function(t,e){return Ti(t,e)},t.register=function(t){_i=t,Ei()},t}();wi()&&_i.registerPlugin(Mi),Mi.version="3.9.1";
/*!
 * DrawSVGPlugin 3.9.1
 * https://greensock.com
 *
 * @license Copyright 2008-2021, GreenSock. All rights reserved.
 * Subject to the terms at https://greensock.com/standard-license or for
 * Club GreenSock members, the agreement issued with that membership.
 * @author: Jack Doyle, jack@greensock.com
*/
var Ai,Pi,Si,Oi,ki,Bi=function(){return"undefined"!=typeof window},Li=function(){return Ai||Bi()&&(Ai=window.gsap)&&Ai.registerPlugin&&Ai},Ni=/[-+=\.]*\d+[\.e\-\+]*\d*[e\-\+]*\d*/gi,Ri={rect:["width","height"],circle:["r","r"],ellipse:["rx","ry"],line:["x2","y2"]},Xi=function(t){return Math.round(1e4*t)/1e4},Yi=function(t){return parseFloat(t)||0},Ii=function(t,e){var n=Yi(t);return~t.indexOf("%")?n/100*e:n},zi=function(t,e){return Yi(t.getAttribute(e))},Hi=Math.sqrt,Wi=function(t,e,n,r,i,o){return Hi(Math.pow((Yi(n)-Yi(t))*i,2)+Math.pow((Yi(r)-Yi(e))*o,2))},Vi=function(t){return console.warn(t)},ji=function(t){return"non-scaling-stroke"===t.getAttribute("vector-effect")},Ui=function(t){if(!(t=Pi(t)[0]))return 0;var e,n,r,i,o,s,a,u=t.tagName.toLowerCase(),l=t.style,h=1,c=1;ji(t)&&(c=t.getScreenCTM(),h=Hi(c.a*c.a+c.b*c.b),c=Hi(c.d*c.d+c.c*c.c));try{n=t.getBBox()}catch(t){Vi("Some browsers won't measure invisible elements (like display:none or masks inside defs).")}var f=n||{x:0,y:0,width:0,height:0},p=f.x,d=f.y,g=f.width,D=f.height;if(n&&(g||D)||!Ri[u]||(g=zi(t,Ri[u][0]),D=zi(t,Ri[u][1]),"rect"!==u&&"line"!==u&&(g*=2,D*=2),"line"===u&&(p=zi(t,"x1"),d=zi(t,"y1"),g=Math.abs(g-p),D=Math.abs(D-d))),"path"===u)i=l.strokeDasharray,l.strokeDasharray="none",e=t.getTotalLength()||0,h!==c&&Vi("Warning: <path> length cannot be measured when vector-effect is non-scaling-stroke and the element isn't proportionally scaled."),e*=(h+c)/2,l.strokeDasharray=i;else if("rect"===u)e=2*g*h+2*D*c;else if("line"===u)e=Wi(p,d,p+g,d+D,h,c);else if("polyline"===u||"polygon"===u)for(r=t.getAttribute("points").match(Ni)||[],"polygon"===u&&r.push(r[0],r[1]),e=0,o=2;o<r.length;o+=2)e+=Wi(r[o-2],r[o-1],r[o],r[o+1],h,c)||0;else"circle"!==u&&"ellipse"!==u||(s=g/2*h,a=D/2*c,e=Math.PI*(3*(s+a)-Hi((3*s+a)*(s+3*a))));return e||0},qi=function(t,e){if(!(t=Pi(t)[0]))return[0,0];e||(e=Ui(t)+1);var n=Si.getComputedStyle(t),r=n.strokeDasharray||"",i=Yi(n.strokeDashoffset),o=r.indexOf(",");return o<0&&(o=r.indexOf(" ")),(r=o<0?e:Yi(r.substr(0,o)))>e&&(r=e),[-i||0,r-i||0]},Gi=function(){Bi()&&(document,Si=window,ki=Ai=Li(),Pi=Ai.utils.toArray,Oi=-1!==((Si.navigator||{}).userAgent||"").indexOf("Edge"))},Ki={version:"3.9.1",name:"drawSVG",register:function(t){Ai=t,Gi()},init:function(t,e,n,r,i){if(!t.getBBox)return!1;ki||Gi();var o,s,a,u=Ui(t);return this._style=t.style,this._target=t,e+""=="true"?e="0 100%":e?-1===(e+"").indexOf(" ")&&(e="0 "+e):e="0 0",s=function(t,e,n){var r,i,o=t.indexOf(" ");return o<0?(r=void 0!==n?n+"":t,i=t):(r=t.substr(0,o),i=t.substr(o+1)),(r=Ii(r,e))>(i=Ii(i,e))?[i,r]:[r,i]}(e,u,(o=qi(t,u))[0]),this._length=Xi(u),this._dash=Xi(o[1]-o[0]),this._offset=Xi(-o[0]),this._dashPT=this.add(this,"_dash",this._dash,Xi(s[1]-s[0])),this._offsetPT=this.add(this,"_offset",this._offset,Xi(-s[0])),Oi&&(a=Si.getComputedStyle(t)).strokeLinecap!==a.strokeLinejoin&&(s=Yi(a.strokeMiterlimit),this.add(t.style,"strokeMiterlimit",s,s+.01)),this._live=ji(t)||~(e+"").indexOf("live"),this._nowrap=~(e+"").indexOf("nowrap"),this._props.push("drawSVG"),1},render:function(t,e){var n,r,i,o,s=e._pt,a=e._style;if(s){for(e._live&&(n=Ui(e._target))!==e._length&&(r=n/e._length,e._length=n,e._offsetPT&&(e._offsetPT.s*=r,e._offsetPT.c*=r),e._dashPT?(e._dashPT.s*=r,e._dashPT.c*=r):e._dash*=r);s;)s.r(t,s.d),s=s._next;i=e._dash||t&&1!==t&&1e-4||0,n=e._length-i+.1,o=e._offset,i&&o&&i+Math.abs(o%e._length)>e._length-.2&&(o+=o<0?.1:-.1)&&(n+=.1),a.strokeDashoffset=i?o:o+.001,a.strokeDasharray=n<.2?"none":i?i+"px,"+(e._nowrap?999999:n)+"px":"0px, 999999px"}},getLength:Ui,getPosition:qi};Li()&&Ai.registerPlugin(Ki);
/*!
 * matrix 3.9.1
 * https://greensock.com
 *
 * Copyright 2008-2021, GreenSock. All rights reserved.
 * Subject to the terms at https://greensock.com/standard-license or for
 * Club GreenSock members, the agreement issued with that membership.
 * @author: Jack Doyle, jack@greensock.com
*/
var Qi,Zi,$i,Ji,to,eo,no,ro,io,oo="transform",so=oo+"Origin",ao=function(t){var e=t.ownerDocument||t;!(oo in t.style)&&"msTransform"in t.style&&(so=(oo="msTransform")+"Origin");for(;e.parentNode&&(e=e.parentNode););if(Zi=window,no=new go,e){Qi=e,$i=e.documentElement,Ji=e.body,(ro=Qi.createElementNS("http://www.w3.org/2000/svg","g")).style.transform="none";var n=e.createElement("div"),r=e.createElement("div");Ji.appendChild(n),n.appendChild(r),n.style.position="static",n.style[oo]="translate3d(0,0,1px)",io=r.offsetParent!==n,Ji.removeChild(n)}return e},uo=[],lo=[],ho=function(t){return t.ownerSVGElement||("svg"===(t.tagName+"").toLowerCase()?t:null)},co=function t(e,n){if(e.parentNode&&(Qi||ao(e))){var r=ho(e),i=r?r.getAttribute("xmlns")||"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",o=r?n?"rect":"g":"div",s=2!==n?0:100,a=3===n?100:0,u="position:absolute;display:block;pointer-events:none;margin:0;padding:0;",l=Qi.createElementNS?Qi.createElementNS(i.replace(/^https/,"http"),o):Qi.createElement(o);return n&&(r?(eo||(eo=t(e)),l.setAttribute("width",.01),l.setAttribute("height",.01),l.setAttribute("transform","translate("+s+","+a+")"),eo.appendChild(l)):(to||((to=t(e)).style.cssText=u),l.style.cssText=u+"width:0.1px;height:0.1px;top:"+a+"px;left:"+s+"px",to.appendChild(l))),l}throw"Need document and parent."},fo=function(t,e){var n,r,i,o,s,a,u=ho(t),l=t===u,h=u?uo:lo,c=t.parentNode;if(t===Zi)return t;if(h.length||h.push(co(t,1),co(t,2),co(t,3)),n=u?eo:to,u)l?(o=-(i=function(t){var e,n=t.getCTM();return n||(e=t.style[oo],t.style[oo]="none",t.appendChild(ro),n=ro.getCTM(),t.removeChild(ro),e?t.style[oo]=e:t.style.removeProperty(oo.replace(/([A-Z])/g,"-$1").toLowerCase())),n||no.clone()}(t)).e/i.a,s=-i.f/i.d,r=no):(i=t.getBBox(),o=(r=(r=t.transform?t.transform.baseVal:{}).numberOfItems?r.numberOfItems>1?function(t){for(var e=new go,n=0;n<t.numberOfItems;n++)e.multiply(t.getItem(n).matrix);return e}(r):r.getItem(0).matrix:no).a*i.x+r.c*i.y,s=r.b*i.x+r.d*i.y),e&&"g"===t.tagName.toLowerCase()&&(o=s=0),(l?u:c).appendChild(n),n.setAttribute("transform","matrix("+r.a+","+r.b+","+r.c+","+r.d+","+(r.e+o)+","+(r.f+s)+")");else{if(o=s=0,io)for(r=t.offsetParent,i=t;i&&(i=i.parentNode)&&i!==r&&i.parentNode;)(Zi.getComputedStyle(i)[oo]+"").length>4&&(o=i.offsetLeft,s=i.offsetTop,i=0);if("absolute"!==(a=Zi.getComputedStyle(t)).position&&"fixed"!==a.position)for(r=t.offsetParent;c&&c!==r;)o+=c.scrollLeft||0,s+=c.scrollTop||0,c=c.parentNode;(i=n.style).top=t.offsetTop-s+"px",i.left=t.offsetLeft-o+"px",i[oo]=a[oo],i[so]=a[so],i.position="fixed"===a.position?"fixed":"absolute",t.parentNode.appendChild(n)}return n},po=function(t,e,n,r,i,o,s){return t.a=e,t.b=n,t.c=r,t.d=i,t.e=o,t.f=s,t},go=function(){function t(t,e,n,r,i,o){void 0===t&&(t=1),void 0===e&&(e=0),void 0===n&&(n=0),void 0===r&&(r=1),void 0===i&&(i=0),void 0===o&&(o=0),po(this,t,e,n,r,i,o)}var e=t.prototype;return e.inverse=function(){var t=this.a,e=this.b,n=this.c,r=this.d,i=this.e,o=this.f,s=t*r-e*n||1e-10;return po(this,r/s,-e/s,-n/s,t/s,(n*o-r*i)/s,-(t*o-e*i)/s)},e.multiply=function(t){var e=this.a,n=this.b,r=this.c,i=this.d,o=this.e,s=this.f,a=t.a,u=t.c,l=t.b,h=t.d,c=t.e,f=t.f;return po(this,a*e+l*r,a*n+l*i,u*e+h*r,u*n+h*i,o+c*e+f*r,s+c*n+f*i)},e.clone=function(){return new t(this.a,this.b,this.c,this.d,this.e,this.f)},e.equals=function(t){var e=this.a,n=this.b,r=this.c,i=this.d,o=this.e,s=this.f;return e===t.a&&n===t.b&&r===t.c&&i===t.d&&o===t.e&&s===t.f},e.apply=function(t,e){void 0===e&&(e={});var n=t.x,r=t.y,i=this.a,o=this.b,s=this.c,a=this.d,u=this.e,l=this.f;return e.x=n*i+r*s+u||0,e.y=n*o+r*a+l||0,e},t}();function Do(t,e,n,r){if(!t||!t.parentNode||(Qi||ao(t)).documentElement===t)return new go;var i=function(t){for(var e,n;t&&t!==Ji;)(n=t._gsap)&&n.uncache&&n.get(t,"x"),n&&!n.scaleX&&!n.scaleY&&n.renderTransform&&(n.scaleX=n.scaleY=1e-4,n.renderTransform(1,n),e?e.push(n):e=[n]),t=t.parentNode;return e}(t),o=ho(t)?uo:lo,s=fo(t,n),a=o[0].getBoundingClientRect(),u=o[1].getBoundingClientRect(),l=o[2].getBoundingClientRect(),h=s.parentNode,c=!r&&function t(e){return"fixed"===Zi.getComputedStyle(e).position||((e=e.parentNode)&&1===e.nodeType?t(e):void 0)}(t),f=new go((u.left-a.left)/100,(u.top-a.top)/100,(l.left-a.left)/100,(l.top-a.top)/100,a.left+(c?0:Zi.pageXOffset||Qi.scrollLeft||$i.scrollLeft||Ji.scrollLeft||0),a.top+(c?0:Zi.pageYOffset||Qi.scrollTop||$i.scrollTop||Ji.scrollTop||0));if(h.removeChild(s),i)for(a=i.length;a--;)(u=i[a]).scaleX=u.scaleY=0,u.renderTransform(1,u);return e?f.inverse():f}
/*!
 * MotionPathPlugin 3.9.1
 * https://greensock.com
 *
 * @license Copyright 2008-2021, GreenSock. All rights reserved.
 * Subject to the terms at https://greensock.com/standard-license or for
 * Club GreenSock members, the agreement issued with that membership.
 * @author: Jack Doyle, jack@greensock.com
*/var mo,vo,_o,yo,xo="x,translateX,left,marginLeft,xPercent".split(","),wo="y,translateY,top,marginTop,yPercent".split(","),Co=Math.PI/180,Fo=function(t,e,n,r){for(var i=e.length,o=2===r?0:r,s=0;s<i;s++)t[o]=parseFloat(e[s][n]),2===r&&(t[o+1]=0),o+=2;return t},Eo=function(t,e,n){return parseFloat(t._gsap.get(t,e,n||"px"))||0},bo=function(t){var e,n=t[0],r=t[1];for(e=2;e<t.length;e+=2)n=t[e]+=n,r=t[e+1]+=r},To=function(t,e,n,r,i,o,s,a,u){"cubic"===s.type?e=[e]:(!1!==s.fromCurrent&&e.unshift(Eo(n,r,a),i?Eo(n,i,u):0),s.relative&&bo(e),e=[(i?ui:ai)(e,s.curviness)]);return e=o(Oo(e,n,s)),ko(t,n,r,e,"x",a),i&&ko(t,n,i,e,"y",u),ti(e,s.resolution||(0===s.curviness?20:12))},Mo=function(t){return t},Ao=/[-+\.]*\d+\.?(?:e-|e\+)?\d*/g,Po=function(t,e,n){var r,i=Do(t),o=0,s=0;return"svg"===(t.tagName+"").toLowerCase()?(r=t.viewBox.baseVal).width||(r={width:+t.getAttribute("width"),height:+t.getAttribute("height")}):r=e&&t.getBBox&&t.getBBox(),e&&"auto"!==e&&(o=e.push?e[0]*(r?r.width:t.offsetWidth||0):e.x,s=e.push?e[1]*(r?r.height:t.offsetHeight||0):e.y),n.apply(o||s?i.apply({x:o,y:s}):{x:i.e,y:i.f})},So=function(t,e,n,r){var i,o=Do(t.parentNode,!0,!0),s=o.clone().multiply(Do(e)),a=Po(t,n,o),u=Po(e,r,o),l=u.x,h=u.y;return s.e=s.f=0,"auto"===r&&e.getTotalLength&&"path"===e.tagName.toLowerCase()&&(i=e.getAttribute("d").match(Ao)||[],l+=(i=s.apply({x:+i[0],y:+i[1]})).x,h+=i.y),(i||e.getBBox&&t.getBBox&&e.ownerSVGElement===t.ownerSVGElement)&&(l-=(i=s.apply(e.getBBox())).x,h-=i.y),s.e=l-a.x,s.f=h-a.y,s},Oo=function(t,e,n){var r,i,o,s=n.align,a=n.matrix,u=n.offsetX,l=n.offsetY,h=n.alignOrigin,c=t[0][0],f=t[0][1],p=Eo(e,"x"),d=Eo(e,"y");return t&&t.length?(s&&("self"===s||(r=yo(s)[0]||e)===e?ii(t,1,0,0,1,p-c,d-f):(h&&!1!==h[2]?mo.set(e,{transformOrigin:100*h[0]+"% "+100*h[1]+"%"}):h=[Eo(e,"xPercent")/-100,Eo(e,"yPercent")/-100],o=(i=So(e,r,h,"auto")).apply({x:c,y:f}),ii(t,i.a,i.b,i.c,i.d,p+i.e-(o.x-i.e),d+i.f-(o.y-i.f)))),a?ii(t,a.a,a.b,a.c,a.d,a.e,a.f):(u||l)&&ii(t,1,0,0,1,u||0,l||0),t):qr("M0,0L0,0")},ko=function(t,e,n,r,i,o){var s=e._gsap,a=s.harness,u=a&&a.aliases&&a.aliases[n],l=u&&u.indexOf(",")<0?u:n,h=t._pt=new vo(t._pt,e,l,0,0,Mo,0,s.set(e,l,t));h.u=_o(s.get(e,l,o))||0,h.path=r,h.pp=i,t._props.push(l)},Bo={version:"3.9.1",name:"motionPath",register:function(t,e,n){_o=(mo=t).utils.getUnit,yo=mo.utils.toArray,vo=n},init:function(t,e){if(!mo)return console.warn("Please gsap.registerPlugin(MotionPathPlugin)"),!1;"object"==typeof e&&!e.style&&e.path||(e={path:e});var n,r,i,o,s=[],a=e,u=a.path,l=a.autoRotate,h=a.unitX,c=a.unitY,f=a.x,p=a.y,d=u[0],g=(i=e.start,o="end"in e?e.end:1,function(t){return i||1!==o?$r(t,i,o):t});if(this.rawPaths=s,this.target=t,(this.rotate=l||0===l)&&(this.rOffset=parseFloat(l)||0,this.radians=!!e.useRadians,this.rProp=e.rotation||"rotation",this.rSet=t._gsap.set(t,this.rProp,this),this.ru=_o(t._gsap.get(t,this.rProp))||0),Array.isArray(u)&&!("closed"in u)&&"number"!=typeof d){for(r in d)!f&&~xo.indexOf(r)?f=r:!p&&~wo.indexOf(r)&&(p=r);for(r in f&&p?s.push(To(this,Fo(Fo([],u,f,0),u,p,1),t,f,p,g,e,h||_o(u[0][f]),c||_o(u[0][p]))):f=p=0,d)r!==f&&r!==p&&s.push(To(this,Fo([],u,r,2),t,r,0,g,e,_o(u[0][r])))}else ti(n=g(Oo(qr(e.path),t,e)),e.resolution),s.push(n),ko(this,t,e.x||"x",n,"x",e.unitX||"px"),ko(this,t,e.y||"y",n,"y",e.unitY||"px")},render:function(t,e){var n=e.rawPaths,r=n.length,i=e._pt;for(t>1?t=1:t<0&&(t=0);r--;)ri(n[r],t,!r&&e.rotate,n[r]);for(;i;)i.set(i.t,i.p,i.path[i.pp]+i.u,i.d,t),i=i._next;e.rotate&&e.rSet(e.target,e.rProp,n[0].angle*(e.radians?Co:1)+e.rOffset+e.ru,e,t)},getLength:function(t){return ti(qr(t)).totalLength},sliceRawPath:$r,getRawPath:qr,pointsToSegment:ui,stringToRawPath:si,rawPathToString:li,transformRawPath:ii,getGlobalMatrix:Do,getPositionOnPath:ri,cacheRawPathMeasurements:ti,convertToPath:function(t,e){return yo(t).map((function(t){return Qr(t,!1!==e)}))},convertCoordinates:function(t,e,n){var r=Do(e,!0,!0).multiply(Do(t));return n?r.apply(n):r},getAlignMatrix:So,getRelativePosition:function(t,e,n,r){var i=So(t,e,n,r);return{x:i.e,y:i.f}},arrayToRawPath:function(t,e){var n=Fo(Fo([],t,(e=e||{}).x||"x",0),t,e.y||"y",1);return e.relative&&bo(n),["cubic"===e.type?n:ui(n,e.curviness)]}};(mo||"undefined"!=typeof window&&(mo=window.gsap)&&mo.registerPlugin&&mo)&&mo.registerPlugin(Bo);
/*!
 * ScrollToPlugin 3.9.1
 * https://greensock.com
 *
 * @license Copyright 2008-2021, GreenSock. All rights reserved.
 * Subject to the terms at https://greensock.com/standard-license or for
 * Club GreenSock members, the agreement issued with that membership.
 * @author: Jack Doyle, jack@greensock.com
*/
var Lo,No,Ro,Xo,Yo,Io,zo,Ho=function(){return"undefined"!=typeof window},Wo=function(){return Lo||Ho()&&(Lo=window.gsap)&&Lo.registerPlugin&&Lo},Vo=function(t){return"string"==typeof t},jo=function(t){return"function"==typeof t},Uo=function(t,e){var n="x"===e?"Width":"Height",r="scroll"+n,i="client"+n;return t===Ro||t===Xo||t===Yo?Math.max(Xo[r],Yo[r])-(Ro["inner"+n]||Xo[i]||Yo[i]):t[r]-t["offset"+n]},qo=function(t,e){var n="scroll"+("x"===e?"Left":"Top");return t===Ro&&(null!=t.pageXOffset?n="page"+e.toUpperCase()+"Offset":t=null!=Xo[n]?Xo:Yo),function(){return t[n]}},Go=function(t,e){if(!(t=Io(t)[0])||!t.getBoundingClientRect)return console.warn("scrollTo target doesn't exist. Using 0")||{x:0,y:0};var n=t.getBoundingClientRect(),r=!e||e===Ro||e===Yo,i=r?{top:Xo.clientTop-(Ro.pageYOffset||Xo.scrollTop||Yo.scrollTop||0),left:Xo.clientLeft-(Ro.pageXOffset||Xo.scrollLeft||Yo.scrollLeft||0)}:e.getBoundingClientRect(),o={x:n.left-i.left,y:n.top-i.top};return!r&&e&&(o.x+=qo(e,"x")(),o.y+=qo(e,"y")()),o},Ko=function(t,e,n,r,i){return isNaN(t)||"object"==typeof t?Vo(t)&&"="===t.charAt(1)?parseFloat(t.substr(2))*("-"===t.charAt(0)?-1:1)+r-i:"max"===t?Uo(e,n)-i:Math.min(Uo(e,n),Go(t,e)[n]-i):parseFloat(t)-i},Qo=function(){Lo=Wo(),Ho()&&Lo&&document.body&&(Ro=window,Yo=document.body,Xo=document.documentElement,Io=Lo.utils.toArray,Lo.config({autoKillThreshold:7}),zo=Lo.config(),No=1)},Zo={version:"3.9.1",name:"scrollTo",rawVars:1,register:function(t){Lo=t,Qo()},init:function(t,e,n,r,i){No||Qo();var o=Lo.getProperty(t,"scrollSnapType");this.isWin=t===Ro,this.target=t,this.tween=n,e=function(t,e,n,r){if(jo(t)&&(t=t(e,n,r)),"object"!=typeof t)return Vo(t)&&"max"!==t&&"="!==t.charAt(1)?{x:t,y:t}:{y:t};if(t.nodeType)return{y:t,x:t};var i,o={};for(i in t)o[i]="onAutoKill"!==i&&jo(t[i])?t[i](e,n,r):t[i];return o}(e,r,t,i),this.vars=e,this.autoKill=!!e.autoKill,this.getX=qo(t,"x"),this.getY=qo(t,"y"),this.x=this.xPrev=this.getX(),this.y=this.yPrev=this.getY(),o&&"none"!==o&&(this.snap=1,this.snapInline=t.style.scrollSnapType,t.style.scrollSnapType="none"),null!=e.x?(this.add(this,"x",this.x,Ko(e.x,t,"x",this.x,e.offsetX||0),r,i),this._props.push("scrollTo_x")):this.skipX=1,null!=e.y?(this.add(this,"y",this.y,Ko(e.y,t,"y",this.y,e.offsetY||0),r,i),this._props.push("scrollTo_y")):this.skipY=1},render:function(t,e){for(var n,r,i,o,s,a=e._pt,u=e.target,l=e.tween,h=e.autoKill,c=e.xPrev,f=e.yPrev,p=e.isWin,d=e.snap,g=e.snapInline;a;)a.r(t,a.d),a=a._next;n=p||!e.skipX?e.getX():c,i=(r=p||!e.skipY?e.getY():f)-f,o=n-c,s=zo.autoKillThreshold,e.x<0&&(e.x=0),e.y<0&&(e.y=0),h&&(!e.skipX&&(o>s||o<-s)&&n<Uo(u,"x")&&(e.skipX=1),!e.skipY&&(i>s||i<-s)&&r<Uo(u,"y")&&(e.skipY=1),e.skipX&&e.skipY&&(l.kill(),e.vars.onAutoKill&&e.vars.onAutoKill.apply(l,e.vars.onAutoKillParams||[]))),p?Ro.scrollTo(e.skipX?n:e.x,e.skipY?r:e.y):(e.skipY||(u.scrollTop=e.y),e.skipX||(u.scrollLeft=e.x)),!d||1!==t&&0!==t||(r=u.scrollTop,n=u.scrollLeft,g?u.style.scrollSnapType=g:u.style.removeProperty("scroll-snap-type"),u.scrollTop=r+1,u.scrollLeft=n+1,u.scrollTop=r,u.scrollLeft=n),e.xPrev=e.x,e.yPrev=e.y},kill:function(t){var e="scrollTo"===t;(e||"scrollTo_x"===t)&&(this.skipX=1),(e||"scrollTo_y"===t)&&(this.skipY=1)}};Zo.max=Uo,Zo.getOffset=Go,Zo.buildGetter=qo,Wo()&&Lo.registerPlugin(Zo);
/*!
 * Draggable 3.9.1
 * https://greensock.com
 *
 * @license Copyright 2008-2021, GreenSock. All rights reserved.
 * Subject to the terms at https://greensock.com/standard-license or for
 * Club GreenSock members, the agreement issued with that membership.
 * @author: Jack Doyle, jack@greensock.com
 */
var $o,Jo,ts,es,ns,rs,is,os,ss,as,us,ls,hs,cs,fs,ps,ds,gs,Ds,ms,vs,_s=function(){return"undefined"!=typeof window},ys=function(){return $o||_s()&&($o=window.gsap)&&$o.registerPlugin&&$o},xs=function(t){return"function"==typeof t},ws=function(t){return"object"==typeof t},Cs=function(t){return void 0===t},Fs=function(){return!1},Es="transform",bs="transformOrigin",Ts=function(t){return Math.round(1e4*t)/1e4},Ms=Array.isArray,As=function(t,e){var n=ts.createElementNS?ts.createElementNS((e||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),t):ts.createElement(t);return n.style?n:ts.createElement(t)},Ps=180/Math.PI,Ss=new go,Os=Date.now||function(){return(new Date).getTime()},ks=[],Bs={},Ls=0,Ns=/^(?:a|input|textarea|button|select)$/i,Rs=0,Xs={},Ys={},Is=function(t,e){var n,r={};for(n in t)r[n]=e?t[n]*e:t[n];return r},zs=function t(e,n){for(var r,i=e.length;i--;)n?e[i].style.touchAction=n:e[i].style.removeProperty("touch-action"),(r=e[i].children)&&r.length&&t(r,n)},Hs=function(){return ks.forEach((function(t){return t()}))},Ws=function(){return!ks.length&&$o.ticker.remove(Hs)},Vs=function(t){for(var e=ks.length;e--;)ks[e]===t&&ks.splice(e,1);$o.to(Ws,{overwrite:!0,delay:15,duration:0,onComplete:Ws,data:"_draggable"})},js=function(t,e,n,r){if(t.addEventListener){var i=hs[e];r=r||(us?{passive:!1}:null),t.addEventListener(i||e,n,r),i&&e!==i&&t.addEventListener(e,n,r)}},Us=function(t,e,n){if(t.removeEventListener){var r=hs[e];t.removeEventListener(r||e,n),r&&e!==r&&t.removeEventListener(e,n)}},qs=function(t){t.preventDefault&&t.preventDefault(),t.preventManipulation&&t.preventManipulation()},Gs=function t(e){fs=e.touches&&cs<e.touches.length,Us(e.target,"touchend",t)},Ks=function(t){fs=t.touches&&cs<t.touches.length,js(t.target,"touchend",Gs)},Qs=function(t){return Jo.pageYOffset||t.scrollTop||t.documentElement.scrollTop||t.body.scrollTop||0},Zs=function(t){return Jo.pageXOffset||t.scrollLeft||t.documentElement.scrollLeft||t.body.scrollLeft||0},$s=function t(e,n){js(e,"scroll",n),ta(e.parentNode)||t(e.parentNode,n)},Js=function t(e,n){Us(e,"scroll",n),ta(e.parentNode)||t(e.parentNode,n)},ta=function(t){return!(t&&t!==es&&9!==t.nodeType&&t!==ts.body&&t!==Jo&&t.nodeType&&t.parentNode)},ea=function(t,e){var n="x"===e?"Width":"Height",r="scroll"+n,i="client"+n;return Math.max(0,ta(t)?Math.max(es[r],ns[r])-(Jo["inner"+n]||es[i]||ns[i]):t[r]-t[i])},na=function t(e,n){var r=ea(e,"x"),i=ea(e,"y");ta(e)?e=Ys:t(e.parentNode,n),e._gsMaxScrollX=r,e._gsMaxScrollY=i,n||(e._gsScrollX=e.scrollLeft||0,e._gsScrollY=e.scrollTop||0)},ra=function(t,e,n){var r=t.style;r&&(Cs(r[e])&&(e=ss(e,t)||e),null==n?r.removeProperty&&r.removeProperty(e.replace(/([A-Z])/g,"-$1").toLowerCase()):r[e]=n)},ia=function(t){return Jo.getComputedStyle(t instanceof Element?t:t.host||(t.parentNode||{}).host||t)},oa={},sa=function(t){if(t===Jo)return oa.left=oa.top=0,oa.width=oa.right=es.clientWidth||t.innerWidth||ns.clientWidth||0,oa.height=oa.bottom=(t.innerHeight||0)-20<es.clientHeight?es.clientHeight:t.innerHeight||ns.clientHeight||0,oa;var e=t.ownerDocument||ts,n=Cs(t.pageX)?t.nodeType||Cs(t.left)||Cs(t.top)?as(t)[0].getBoundingClientRect():t:{left:t.pageX-Zs(e),top:t.pageY-Qs(e),right:t.pageX-Zs(e)+1,bottom:t.pageY-Qs(e)+1};return Cs(n.right)&&!Cs(n.width)?(n.right=n.left+n.width,n.bottom=n.top+n.height):Cs(n.width)&&(n={width:n.right-n.left,height:n.bottom-n.top,right:n.right,left:n.left,bottom:n.bottom,top:n.top}),n},aa=function(t,e,n){var r,i=t.vars,o=i[n],s=t._listeners[e];return xs(o)&&(r=o.apply(i.callbackScope||t,i[n+"Params"]||[t.pointerEvent])),s&&!1===t.dispatchEvent(e)&&(r=!1),r},ua=function(t,e){var n,r,i,o=as(t)[0];return o.nodeType||o===Jo?ha(o,e):Cs(t.left)?{left:r=t.min||t.minX||t.minRotation||0,top:n=t.min||t.minY||0,width:(t.max||t.maxX||t.maxRotation||0)-r,height:(t.max||t.maxY||0)-n}:(i={x:0,y:0},{left:t.left-i.x,top:t.top-i.y,width:t.width,height:t.height})},la={},ha=function(t,e){e=as(e)[0];var n,r,i,o,s,a,u,l,h,c,f,p,d,g,D=t.getBBox&&t.ownerSVGElement,m=t.ownerDocument||ts;if(t===Jo)i=Qs(m),r=(n=Zs(m))+(m.documentElement.clientWidth||t.innerWidth||m.body.clientWidth||0),o=i+((t.innerHeight||0)-20<m.documentElement.clientHeight?m.documentElement.clientHeight:t.innerHeight||m.body.clientHeight||0);else{if(e===Jo||Cs(e))return t.getBoundingClientRect();n=i=0,D?(f=(c=t.getBBox()).width,p=c.height):(t.viewBox&&(c=t.viewBox.baseVal)&&(n=c.x||0,i=c.y||0,f=c.width,p=c.height),f||(c="border-box"===(d=ia(t)).boxSizing,f=(parseFloat(d.width)||t.clientWidth||0)+(c?0:parseFloat(d.borderLeftWidth)+parseFloat(d.borderRightWidth)),p=(parseFloat(d.height)||t.clientHeight||0)+(c?0:parseFloat(d.borderTopWidth)+parseFloat(d.borderBottomWidth)))),r=f,o=p}return t===e?{left:n,top:i,width:r-n,height:o-i}:(a=(s=Do(e,!0).multiply(Do(t))).apply({x:n,y:i}),u=s.apply({x:r,y:i}),l=s.apply({x:r,y:o}),h=s.apply({x:n,y:o}),n=Math.min(a.x,u.x,l.x,h.x),i=Math.min(a.y,u.y,l.y,h.y),{left:n+((g=e.parentNode||{}).scrollLeft||0),top:i+(g.scrollTop||0),width:Math.max(a.x,u.x,l.x,h.x)-n,height:Math.max(a.y,u.y,l.y,h.y)-i})},ca=function(t,e,n,r,i,o){var s,a,u,l={};if(e)if(1!==i&&e instanceof Array){if(l.end=s=[],u=e.length,ws(e[0]))for(a=0;a<u;a++)s[a]=Is(e[a],i);else for(a=0;a<u;a++)s[a]=e[a]*i;n+=1.1,r-=1.1}else xs(e)?l.end=function(n){var r,o,s=e.call(t,n);if(1!==i)if(ws(s)){for(o in r={},s)r[o]=s[o]*i;s=r}else s*=i;return s}:l.end=e;return(n||0===n)&&(l.max=n),(r||0===r)&&(l.min=r),o&&(l.velocity=0),l},fa=function t(e){var n;return!(!e||!e.getAttribute||e===ns)&&(!("true"!==(n=e.getAttribute("data-clickable"))&&("false"===n||!e.onclick&&!Ns.test(e.nodeName+"")&&"true"!==e.getAttribute("contentEditable")))||t(e.parentNode))},pa=function(t,e){for(var n,r=t.length;r--;)(n=t[r]).ondragstart=n.onselectstart=e?null:Fs,$o.set(n,{lazy:!0,userSelect:e?"text":"none"})},da=function(t,e){t=$o.utils.toArray(t)[0],e=e||{};var n,r,i,o,s,a,u=document.createElement("div"),l=u.style,h=t.firstChild,c=0,f=0,p=t.scrollTop,d=t.scrollLeft,g=t.scrollWidth,D=t.scrollHeight,m=0,v=0,_=0;ms&&!1!==e.force3D?(s="translate3d(",a="px,0px)"):Es&&(s="translate(",a="px)"),this.scrollTop=function(t,e){if(!arguments.length)return-this.top();this.top(-t,e)},this.scrollLeft=function(t,e){if(!arguments.length)return-this.left();this.left(-t,e)},this.left=function(n,r){if(!arguments.length)return-(t.scrollLeft+f);var i=t.scrollLeft-d,o=f;if((i>2||i<-2)&&!r)return d=t.scrollLeft,$o.killTweensOf(this,{left:1,scrollLeft:1}),this.left(-d),void(e.onKill&&e.onKill());(n=-n)<0?(f=n-.5|0,n=0):n>v?(f=n-v|0,n=v):f=0,(f||o)&&(this._skip||(l[Es]=s+-f+"px,"+-c+a),f+m>=0&&(l.paddingRight=f+m+"px")),t.scrollLeft=0|n,d=t.scrollLeft},this.top=function(n,r){if(!arguments.length)return-(t.scrollTop+c);var i=t.scrollTop-p,o=c;if((i>2||i<-2)&&!r)return p=t.scrollTop,$o.killTweensOf(this,{top:1,scrollTop:1}),this.top(-p),void(e.onKill&&e.onKill());(n=-n)<0?(c=n-.5|0,n=0):n>_?(c=n-_|0,n=_):c=0,(c||o)&&(this._skip||(l[Es]=s+-f+"px,"+-c+a)),t.scrollTop=0|n,p=t.scrollTop},this.maxScrollTop=function(){return _},this.maxScrollLeft=function(){return v},this.disable=function(){for(h=u.firstChild;h;)o=h.nextSibling,t.appendChild(h),h=o;t===u.parentNode&&t.removeChild(u)},this.enable=function(){if((h=t.firstChild)!==u){for(;h;)o=h.nextSibling,u.appendChild(h),h=o;t.appendChild(u),this.calibrate()}},this.calibrate=function(e){var o,s,a,h=t.clientWidth===n;p=t.scrollTop,d=t.scrollLeft,h&&t.clientHeight===r&&u.offsetHeight===i&&g===t.scrollWidth&&D===t.scrollHeight&&!e||((c||f)&&(s=this.left(),a=this.top(),this.left(-t.scrollLeft),this.top(-t.scrollTop)),o=ia(t),h&&!e||(l.display="block",l.width="auto",l.paddingRight="0px",(m=Math.max(0,t.scrollWidth-t.clientWidth))&&(m+=parseFloat(o.paddingLeft)+(vs?parseFloat(o.paddingRight):0))),l.display="inline-block",l.position="relative",l.overflow="visible",l.verticalAlign="top",l.boxSizing="content-box",l.width="100%",l.paddingRight=m+"px",vs&&(l.paddingBottom=o.paddingBottom),n=t.clientWidth,r=t.clientHeight,g=t.scrollWidth,D=t.scrollHeight,v=t.scrollWidth-n,_=t.scrollHeight-r,i=u.offsetHeight,l.display="block",(s||a)&&(this.left(s),this.top(a)))},this.content=u,this.element=t,this._skip=!1,this.enable()},ga=function(t){if(_s()&&document.body){var e=window&&window.navigator;Jo=window,ts=document,es=ts.documentElement,ns=ts.body,rs=As("div"),Ds=!!window.PointerEvent,(is=As("div")).style.cssText="visibility:hidden;height:1px;top:-1px;pointer-events:none;position:relative;clear:both;cursor:grab",gs="grab"===is.style.cursor?"grab":"move",ps=e&&-1!==e.userAgent.toLowerCase().indexOf("android"),ls="ontouchstart"in es&&"orientation"in Jo||e&&(e.MaxTouchPoints>0||e.msMaxTouchPoints>0),r=As("div"),i=As("div"),o=i.style,s=ns,o.display="inline-block",o.position="relative",r.style.cssText=i.innerHTML="width:90px;height:40px;padding:10px;overflow:auto;visibility:hidden",r.appendChild(i),s.appendChild(r),n=i.offsetHeight+18>r.scrollHeight,s.removeChild(r),vs=n,hs=function(t){for(var e=t.split(","),n=(("onpointerdown"in rs?"pointerdown,pointermove,pointerup,pointercancel":"onmspointerdown"in rs?"MSPointerDown,MSPointerMove,MSPointerUp,MSPointerCancel":t).split(",")),r={},i=4;--i>-1;)r[e[i]]=n[i],r[n[i]]=e[i];try{es.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){us=1}}))}catch(t){}return r}("touchstart,touchmove,touchend,touchcancel"),js(ts,"touchcancel",Fs),js(Jo,"touchmove",Fs),ns&&ns.addEventListener("touchstart",Fs),js(ts,"contextmenu",(function(){for(var t in Bs)Bs[t].isPressed&&Bs[t].endDrag()})),$o=os=ys()}var n,r,i,o,s;$o?(ds=$o.plugins.inertia,ss=$o.utils.checkPrefix,Es=ss(Es),bs=ss(bs),as=$o.utils.toArray,ms=!!ss("perspective")):t&&console.warn("Please gsap.registerPlugin(Draggable)")},Da=function(t){var e,n;function r(e,n){var i;i=t.call(this)||this,os||ga(1),e=as(e)[0],ds||(ds=$o.plugins.inertia),i.vars=n=Is(n||{}),i.target=e,i.x=i.y=i.rotation=0,i.dragResistance=parseFloat(n.dragResistance)||0,i.edgeResistance=isNaN(n.edgeResistance)?1:parseFloat(n.edgeResistance)||0,i.lockAxis=n.lockAxis,i.autoScroll=n.autoScroll||0,i.lockedAxis=null,i.allowEventDefault=!!n.allowEventDefault,$o.getProperty(e,"x");var o,s,a,u,l,h,c,f,p,d,g,D,m,v,_,y,x,w,C,F,E,b,T,M,A,P,S,O,k,B,L,N,R=(n.type||"x,y").toLowerCase(),X=~R.indexOf("x")||~R.indexOf("y"),Y=-1!==R.indexOf("rotation"),I=Y?"rotation":X?"x":"left",z=X?"y":"top",H=!(!~R.indexOf("x")&&!~R.indexOf("left")&&"scroll"!==R),W=!(!~R.indexOf("y")&&!~R.indexOf("top")&&"scroll"!==R),V=n.minimumMovement||2,j=function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(i),U=as(n.trigger||n.handle||e),q={},G=0,K=!1,Q=n.autoScrollMarginTop||40,Z=n.autoScrollMarginRight||40,$=n.autoScrollMarginBottom||40,J=n.autoScrollMarginLeft||40,tt=n.clickableTest||fa,et=0,nt=e._gsap||$o.core.getCache(e),rt=function t(e){return"fixed"===ia(e).position||((e=e.parentNode)&&1===e.nodeType?t(e):void 0)}(e),it=function(t,n){return parseFloat(nt.get(e,t,n))},ot=e.ownerDocument||ts,st=function(t){return qs(t),t.stopImmediatePropagation&&t.stopImmediatePropagation(),!1},at=function t(n){if(j.autoScroll&&j.isDragging&&(K||x)){var r,i,o,a,u,l,h,c,p=e,d=15*j.autoScroll;for(K=!1,Ys.scrollTop=null!=Jo.pageYOffset?Jo.pageYOffset:null!=ot.documentElement.scrollTop?ot.documentElement.scrollTop:ot.body.scrollTop,Ys.scrollLeft=null!=Jo.pageXOffset?Jo.pageXOffset:null!=ot.documentElement.scrollLeft?ot.documentElement.scrollLeft:ot.body.scrollLeft,a=j.pointerX-Ys.scrollLeft,u=j.pointerY-Ys.scrollTop;p&&!i;)r=(i=ta(p.parentNode))?Ys:p.parentNode,o=i?{bottom:Math.max(es.clientHeight,Jo.innerHeight||0),right:Math.max(es.clientWidth,Jo.innerWidth||0),left:0,top:0}:r.getBoundingClientRect(),l=h=0,W&&((c=r._gsMaxScrollY-r.scrollTop)<0?h=c:u>o.bottom-$&&c?(K=!0,h=Math.min(c,d*(1-Math.max(0,o.bottom-u)/$)|0)):u<o.top+Q&&r.scrollTop&&(K=!0,h=-Math.min(r.scrollTop,d*(1-Math.max(0,u-o.top)/Q)|0)),h&&(r.scrollTop+=h)),H&&((c=r._gsMaxScrollX-r.scrollLeft)<0?l=c:a>o.right-Z&&c?(K=!0,l=Math.min(c,d*(1-Math.max(0,o.right-a)/Z)|0)):a<o.left+J&&r.scrollLeft&&(K=!0,l=-Math.min(r.scrollLeft,d*(1-Math.max(0,a-o.left)/J)|0)),l&&(r.scrollLeft+=l)),i&&(l||h)&&(Jo.scrollTo(r.scrollLeft,r.scrollTop),yt(j.pointerX+l,j.pointerY+h)),p=r}if(x){var g=j.x,D=j.y;Y?(j.deltaX=g-parseFloat(nt.rotation),j.rotation=g,nt.rotation=g+"deg",nt.renderTransform(1,nt)):s?(W&&(j.deltaY=D-s.top(),s.top(D)),H&&(j.deltaX=g-s.left(),s.left(g))):X?(W&&(j.deltaY=D-parseFloat(nt.y),nt.y=D+"px"),H&&(j.deltaX=g-parseFloat(nt.x),nt.x=g+"px"),nt.renderTransform(1,nt)):(W&&(j.deltaY=D-parseFloat(e.style.top||0),e.style.top=D+"px"),H&&(j.deltaX=g-parseFloat(e.style.left||0),e.style.left=g+"px")),!f||n||O||(O=!0,!1===aa(j,"drag","onDrag")&&(H&&(j.x-=j.deltaX),W&&(j.y-=j.deltaY),t(!0)),O=!1)}x=!1},ut=function(t,n){var r,i,o=j.x,a=j.y;e._gsap||(nt=$o.core.getCache(e)),nt.uncache&&$o.getProperty(e,"x"),X?(j.x=parseFloat(nt.x),j.y=parseFloat(nt.y)):Y?j.x=j.rotation=parseFloat(nt.rotation):s?(j.y=s.top(),j.x=s.left()):(j.y=parseFloat(e.style.top||(i=ia(e))&&i.top)||0,j.x=parseFloat(e.style.left||(i||{}).left)||0),(C||F||E)&&!n&&(j.isDragging||j.isThrowing)&&(E&&(Xs.x=j.x,Xs.y=j.y,(r=E(Xs)).x!==j.x&&(j.x=r.x,x=!0),r.y!==j.y&&(j.y=r.y,x=!0)),C&&(r=C(j.x))!==j.x&&(j.x=r,Y&&(j.rotation=r),x=!0),F&&((r=F(j.y))!==j.y&&(j.y=r),x=!0)),x&&at(!0),t||(j.deltaX=j.x-o,j.deltaY=j.y-a,aa(j,"throwupdate","onThrowUpdate"))},lt=function(t,e,n,r){return null==e&&(e=-1e20),null==n&&(n=1e20),xs(t)?function(i){var o=j.isPressed?1-j.edgeResistance:1;return t.call(j,i>n?n+(i-n)*o:i<e?e+(i-e)*o:i)*r}:Ms(t)?function(r){for(var i,o,s=t.length,a=0,u=1e20;--s>-1;)(o=(i=t[s])-r)<0&&(o=-o),o<u&&i>=e&&i<=n&&(a=s,u=o);return t[a]}:isNaN(t)?function(t){return t}:function(){return t*r}},ht=function(){var t,r,i,o;c=!1,s?(s.calibrate(),j.minX=g=-s.maxScrollLeft(),j.minY=m=-s.maxScrollTop(),j.maxX=d=j.maxY=D=0,c=!0):n.bounds&&(t=ua(n.bounds,e.parentNode),Y?(j.minX=g=t.left,j.maxX=d=t.left+t.width,j.minY=m=j.maxY=D=0):Cs(n.bounds.maxX)&&Cs(n.bounds.maxY)?(r=ua(e,e.parentNode),j.minX=g=Math.round(it(I,"px")+t.left-r.left),j.minY=m=Math.round(it(z,"px")+t.top-r.top),j.maxX=d=Math.round(g+(t.width-r.width)),j.maxY=D=Math.round(m+(t.height-r.height))):(t=n.bounds,j.minX=g=t.minX,j.minY=m=t.minY,j.maxX=d=t.maxX,j.maxY=D=t.maxY),g>d&&(j.minX=d,j.maxX=d=g,g=j.minX),m>D&&(j.minY=D,j.maxY=D=m,m=j.minY),Y&&(j.minRotation=g,j.maxRotation=d),c=!0),n.liveSnap&&(i=!0===n.liveSnap?n.snap||{}:n.liveSnap,o=Ms(i)||xs(i),Y?(C=lt(o?i:i.rotation,g,d,1),F=null):i.points?E=function(t,e,n,r,i,o,s){return o=o&&o<1e20?o*o:1e20,xs(t)?function(a){var u,l,h,c=j.isPressed?1-j.edgeResistance:1,f=a.x,p=a.y;return a.x=f=f>n?n+(f-n)*c:f<e?e+(f-e)*c:f,a.y=p=p>i?i+(p-i)*c:p<r?r+(p-r)*c:p,(u=t.call(j,a))!==a&&(a.x=u.x,a.y=u.y),1!==s&&(a.x*=s,a.y*=s),o<1e20&&(l=a.x-f)*l+(h=a.y-p)*h>o&&(a.x=f,a.y=p),a}:Ms(t)?function(e){for(var n,r,i,s,a=t.length,u=0,l=1e20;--a>-1;)(s=(n=(i=t[a]).x-e.x)*n+(r=i.y-e.y)*r)<l&&(u=a,l=s);return l<=o?t[u]:e}:function(t){return t}}(o?i:i.points,g,d,m,D,i.radius,s?-1:1):(H&&(C=lt(o?i:i.x||i.left||i.scrollLeft,g,d,s?-1:1)),W&&(F=lt(o?i:i.y||i.top||i.scrollTop,m,D,s?-1:1))))},ct=function(){j.isThrowing=!1,aa(j,"throwcomplete","onThrowComplete")},ft=function(){j.isThrowing=!1},pt=function(t,r){var i,o,a,u;t&&ds?(!0===t&&(i=n.snap||n.liveSnap||{},o=Ms(i)||xs(i),t={resistance:(n.throwResistance||n.resistance||1e3)/(Y?10:1)},Y?t.rotation=ca(j,o?i:i.rotation,d,g,1,r):(H&&(t[I]=ca(j,o?i:i.points||i.x||i.left,d,g,s?-1:1,r||"x"===j.lockedAxis)),W&&(t[z]=ca(j,o?i:i.points||i.y||i.top,D,m,s?-1:1,r||"y"===j.lockedAxis)),(i.points||Ms(i)&&ws(i[0]))&&(t.linkedProps=I+","+z,t.radius=i.radius))),j.isThrowing=!0,u=isNaN(n.overshootTolerance)?1===n.edgeResistance?0:1-j.edgeResistance+.2:n.overshootTolerance,t.duration||(t.duration={max:Math.max(n.minDuration||0,"maxDuration"in n?n.maxDuration:2),min:isNaN(n.minDuration)?0===u||ws(t)&&t.resistance>1e3?0:.5:n.minDuration,overshoot:u}),j.tween=a=$o.to(s||e,{inertia:t,data:"_draggable",onComplete:ct,onInterrupt:ft,onUpdate:n.fastMode?aa:ut,onUpdateParams:n.fastMode?[j,"onthrowupdate","onThrowUpdate"]:i&&i.radius?[!1,!0]:[]}),n.fastMode||(s&&(s._skip=!0),a.render(1e9,!0,!0),ut(!0,!0),j.endX=j.x,j.endY=j.y,Y&&(j.endRotation=j.x),a.play(0),ut(!0,!0),s&&(s._skip=!1))):c&&j.applyBounds()},dt=function(t){var n,r=M;M=Do(e.parentNode,!0),t&&j.isPressed&&!M.equals(r||new go)&&(n=r.inverse().apply({x:a,y:u}),M.apply(n,n),a=n.x,u=n.y),M.equals(Ss)&&(M=null)},gt=function(){var t,n,r,i=1-j.edgeResistance,o=rt?Zs(ot):0,f=rt?Qs(ot):0;dt(!1),la.x=j.pointerX-o,la.y=j.pointerY-f,M&&M.apply(la,la),a=la.x,u=la.y,x&&(yt(j.pointerX,j.pointerY),at(!0)),N=Do(e),s?(ht(),h=s.top(),l=s.left()):(Dt()?(ut(!0,!0),ht()):j.applyBounds(),Y?(t=e.ownerSVGElement?[nt.xOrigin-e.getBBox().x,nt.yOrigin-e.getBBox().y]:(ia(e)[bs]||"0 0").split(" "),y=j.rotationOrigin=Do(e).apply({x:parseFloat(t[0])||0,y:parseFloat(t[1])||0}),ut(!0,!0),n=j.pointerX-y.x-o,r=y.y-j.pointerY+f,l=j.x,h=j.y=Math.atan2(r,n)*Ps):(h=it(z,"px"),l=it(I,"px"))),c&&i&&(l>d?l=d+(l-d)/i:l<g&&(l=g-(g-l)/i),Y||(h>D?h=D+(h-D)/i:h<m&&(h=m-(m-h)/i))),j.startX=l=Ts(l),j.startY=h=Ts(h)},Dt=function(){return j.tween&&j.tween.isActive()},mt=function(){!is.parentNode||Dt()||j.isDragging||is.parentNode.removeChild(is)},vt=function(t,i){var l;if(!o||j.isPressed||!t||!("mousedown"!==t.type&&"pointerdown"!==t.type||i)&&Os()-et<30&&hs[j.pointerEvent.type])L&&t&&o&&qs(t);else{if(A=Dt(),j.pointerEvent=t,hs[t.type]?(T=~t.type.indexOf("touch")?t.currentTarget||t.target:ot,js(T,"touchend",xt),js(T,"touchmove",_t),js(T,"touchcancel",xt),js(ot,"touchstart",Ks)):(T=null,js(ot,"mousemove",_t)),S=null,Ds&&T||(js(ot,"mouseup",xt),t&&t.target&&js(t.target,"mouseup",xt)),b=tt.call(j,t.target)&&!1===n.dragClickables&&!i)return js(t.target,"change",xt),aa(j,"pressInit","onPressInit"),aa(j,"press","onPress"),pa(U,!0),void(L=!1);var h;if(P=!(!T||H===W||!1===j.vars.allowNativeTouchScrolling||j.vars.allowContextMenu&&t&&(t.ctrlKey||t.which>2))&&(H?"y":"x"),(L=!P&&!j.allowEventDefault)&&(qs(t),js(Jo,"touchforcechange",qs)),t.changedTouches?(t=v=t.changedTouches[0],_=t.identifier):t.pointerId?_=t.pointerId:v=_=null,cs++,h=at,ks.push(h),1===ks.length&&$o.ticker.add(Hs),u=j.pointerY=t.pageY,a=j.pointerX=t.pageX,aa(j,"pressInit","onPressInit"),(P||j.autoScroll)&&na(e.parentNode),!e.parentNode||!j.autoScroll||s||Y||!e.parentNode._gsMaxScrollX||is.parentNode||e.getBBox||(is.style.width=e.parentNode.scrollWidth+"px",e.parentNode.appendChild(is)),gt(),j.tween&&j.tween.kill(),j.isThrowing=!1,$o.killTweensOf(s||e,q,!0),s&&$o.killTweensOf(e,{scrollTo:1},!0),j.tween=j.lockedAxis=null,(n.zIndexBoost||!Y&&!s&&!1!==n.zIndexBoost)&&(e.style.zIndex=r.zIndex++),j.isPressed=!0,f=!(!n.onDrag&&!j._listeners.drag),p=!(!n.onMove&&!j._listeners.move),!1!==n.cursor||n.activeCursor)for(l=U.length;--l>-1;)$o.set(U[l],{cursor:n.activeCursor||n.cursor||("grab"===gs?"grabbing":gs)});aa(j,"press","onPress")}},_t=function(t){var n,r,i,s,l,h,c=t;if(o&&!fs&&j.isPressed&&t){if(j.pointerEvent=t,n=t.changedTouches){if((t=n[0])!==v&&t.identifier!==_){for(s=n.length;--s>-1&&(t=n[s]).identifier!==_&&t.target!==e;);if(s<0)return}}else if(t.pointerId&&_&&t.pointerId!==_)return;T&&P&&!S&&(la.x=t.pageX-(rt?Zs(ot):0),la.y=t.pageY-(rt?Qs(ot):0),M&&M.apply(la,la),r=la.x,i=la.y,((l=Math.abs(r-a))!==(h=Math.abs(i-u))&&(l>V||h>V)||ps&&P===S)&&(S=l>h&&H?"x":"y",P&&S!==P&&js(Jo,"touchforcechange",qs),!1!==j.vars.lockAxisOnTouchScroll&&H&&W&&(j.lockedAxis="x"===S?"y":"x",xs(j.vars.onLockAxis)&&j.vars.onLockAxis.call(j,c)),ps&&P===S))?xt(c):(j.allowEventDefault||P&&(!S||P===S)||!1===c.cancelable?L&&(L=!1):(qs(c),L=!0),j.autoScroll&&(K=!0),yt(t.pageX,t.pageY,p))}else L&&t&&o&&qs(t)},yt=function(t,e,n){var r,i,o,s,f,p,v=1-j.dragResistance,_=1-j.edgeResistance,w=j.pointerX,b=j.pointerY,T=h,A=j.x,P=j.y,S=j.endX,O=j.endY,k=j.endRotation,B=x;j.pointerX=t,j.pointerY=e,rt&&(t-=Zs(ot),e-=Qs(ot)),Y?(s=Math.atan2(y.y-e,t-y.x)*Ps,(f=j.y-s)>180?(h-=360,j.y=s):f<-180&&(h+=360,j.y=s),j.x!==l||Math.abs(h-s)>V?(j.y=s,o=l+(h-s)*v):o=l):(M&&(p=t*M.a+e*M.c+M.e,e=t*M.b+e*M.d+M.f,t=p),(i=e-u)<V&&i>-V&&(i=0),(r=t-a)<V&&r>-V&&(r=0),(j.lockAxis||j.lockedAxis)&&(r||i)&&((p=j.lockedAxis)||(j.lockedAxis=p=H&&Math.abs(r)>Math.abs(i)?"y":W?"x":null,p&&xs(j.vars.onLockAxis)&&j.vars.onLockAxis.call(j,j.pointerEvent)),"y"===p?i=0:"x"===p&&(r=0)),o=Ts(l+r*v),s=Ts(h+i*v)),(C||F||E)&&(j.x!==o||j.y!==s&&!Y)&&(E&&(Xs.x=o,Xs.y=s,p=E(Xs),o=Ts(p.x),s=Ts(p.y)),C&&(o=Ts(C(o))),F&&(s=Ts(F(s)))),c&&(o>d?o=d+Math.round((o-d)*_):o<g&&(o=g+Math.round((o-g)*_)),Y||(s>D?s=Math.round(D+(s-D)*_):s<m&&(s=Math.round(m+(s-m)*_)))),(j.x!==o||j.y!==s&&!Y)&&(Y?(j.endRotation=j.x=j.endX=o,x=!0):(W&&(j.y=j.endY=s,x=!0),H&&(j.x=j.endX=o,x=!0)),n&&!1===aa(j,"move","onMove")?(j.pointerX=w,j.pointerY=b,h=T,j.x=A,j.y=P,j.endX=S,j.endY=O,j.endRotation=k,x=B):!j.isDragging&&j.isPressed&&(j.isDragging=!0,aa(j,"dragstart","onDragStart")))},xt=function t(r,i){if(o&&j.isPressed&&(!r||null==_||i||!(r.pointerId&&r.pointerId!==_&&r.target!==e||r.changedTouches&&!function(t,e){for(var n=t.length;n--;)if(t[n].identifier===e)return!0}(r.changedTouches,_)))){j.isPressed=!1;var s,a,u,l,h,c=r,f=j.isDragging,p=j.vars.allowContextMenu&&r&&(r.ctrlKey||r.which>2),d=$o.delayedCall(.001,mt);if(T?(Us(T,"touchend",t),Us(T,"touchmove",_t),Us(T,"touchcancel",t),Us(ot,"touchstart",Ks)):Us(ot,"mousemove",_t),Us(Jo,"touchforcechange",qs),Ds&&T||(Us(ot,"mouseup",t),r&&r.target&&Us(r.target,"mouseup",t)),x=!1,f&&(G=Rs=Os(),j.isDragging=!1),b&&!p)return r&&(Us(r.target,"change",t),j.pointerEvent=c),pa(U,!1),aa(j,"release","onRelease"),aa(j,"click","onClick"),void(b=!1);for(Vs(at),a=U.length;--a>-1;)ra(U[a],"cursor",n.cursor||(!1!==n.cursor?gs:null));if(cs--,r){if((s=r.changedTouches)&&(r=s[0])!==v&&r.identifier!==_){for(a=s.length;--a>-1&&(r=s[a]).identifier!==_&&r.target!==e;);if(a<0)return}j.pointerEvent=c,j.pointerX=r.pageX,j.pointerY=r.pageY}return p&&c?(qs(c),L=!0,aa(j,"release","onRelease")):c&&!f?(L=!1,A&&(n.snap||n.bounds)&&pt(n.inertia||n.throwProps),aa(j,"release","onRelease"),ps&&"touchmove"===c.type||-1!==c.type.indexOf("cancel")||(aa(j,"click","onClick"),Os()-et<300&&aa(j,"doubleclick","onDoubleClick"),l=c.target||e,et=Os(),h=function(){et===k||!j.enabled()||j.isPressed||c.defaultPrevented||(l.click?l.click():ot.createEvent&&((u=ot.createEvent("MouseEvents")).initMouseEvent("click",!0,!0,Jo,1,j.pointerEvent.screenX,j.pointerEvent.screenY,j.pointerX,j.pointerY,!1,!1,!1,!1,0,null),l.dispatchEvent(u)))},ps||c.defaultPrevented||$o.delayedCall(.05,h))):(pt(n.inertia||n.throwProps),j.allowEventDefault||!c||!1===n.dragClickables&&tt.call(j,c.target)||!f||P&&(!S||P!==S)||!1===c.cancelable?L=!1:(L=!0,qs(c)),aa(j,"release","onRelease")),Dt()&&d.duration(j.tween.duration()),f&&aa(j,"dragend","onDragEnd"),!0}L&&r&&o&&qs(r)},wt=function(t){if(t&&j.isDragging&&!s){var n=t.target||e.parentNode,r=n.scrollLeft-n._gsScrollX,i=n.scrollTop-n._gsScrollY;(r||i)&&(M?(a-=r*M.a+i*M.c,u-=i*M.d+r*M.b):(a-=r,u-=i),n._gsScrollX+=r,n._gsScrollY+=i,yt(j.pointerX,j.pointerY))}},Ct=function(t){var e=Os(),n=e-et<100,r=e-G<50,i=n&&k===et,o=j.pointerEvent&&j.pointerEvent.defaultPrevented,s=n&&B===et,a=t.isTrusted||null==t.isTrusted&&n&&i;if((i||r&&!1!==j.vars.suppressClickOnDrag)&&t.stopImmediatePropagation&&t.stopImmediatePropagation(),n&&(!j.pointerEvent||!j.pointerEvent.defaultPrevented)&&(!i||a&&!s))return a&&i&&(B=et),void(k=et);(j.isPressed||r||n)&&(a&&t.detail&&n&&!o||qs(t)),n||r||(t&&t.target&&(j.pointerEvent=t),aa(j,"click","onClick"))},Ft=function(t){return M?{x:t.x*M.a+t.y*M.c+M.e,y:t.x*M.b+t.y*M.d+M.f}:{x:t.x,y:t.y}};return(w=r.get(e))&&w.kill(),i.startDrag=function(t,n){var r,i,o,s;vt(t||j.pointerEvent,!0),n&&!j.hitTest(t||j.pointerEvent)&&(r=sa(t||j.pointerEvent),i=sa(e),o=Ft({x:r.left+r.width/2,y:r.top+r.height/2}),s=Ft({x:i.left+i.width/2,y:i.top+i.height/2}),a-=o.x-s.x,u-=o.y-s.y),j.isDragging||(j.isDragging=!0,aa(j,"dragstart","onDragStart"))},i.drag=_t,i.endDrag=function(t){return xt(t||j.pointerEvent,!0)},i.timeSinceDrag=function(){return j.isDragging?0:(Os()-G)/1e3},i.timeSinceClick=function(){return(Os()-et)/1e3},i.hitTest=function(t,e){return r.hitTest(j.target,t,e)},i.getDirection=function(t,n){var r,i,o,s,a,u,c="velocity"===t&&ds?t:ws(t)&&!Y?"element":"start";return"element"===c&&(a=sa(j.target),u=sa(t)),r="start"===c?j.x-l:"velocity"===c?ds.getVelocity(e,I):a.left+a.width/2-(u.left+u.width/2),Y?r<0?"counter-clockwise":"clockwise":(n=n||2,i="start"===c?j.y-h:"velocity"===c?ds.getVelocity(e,z):a.top+a.height/2-(u.top+u.height/2),s=(o=Math.abs(r/i))<1/n?"":r<0?"left":"right",o<n&&(""!==s&&(s+="-"),s+=i<0?"up":"down"),s)},i.applyBounds=function(t,r){var i,o,s,a,u,l;if(t&&n.bounds!==t)return n.bounds=t,j.update(!0,r);if(ut(!0),ht(),c&&!Dt()){if(i=j.x,o=j.y,i>d?i=d:i<g&&(i=g),o>D?o=D:o<m&&(o=m),(j.x!==i||j.y!==o)&&(s=!0,j.x=j.endX=i,Y?j.endRotation=i:j.y=j.endY=o,x=!0,at(!0),j.autoScroll&&!j.isDragging))for(na(e.parentNode),a=e,Ys.scrollTop=null!=Jo.pageYOffset?Jo.pageYOffset:null!=ot.documentElement.scrollTop?ot.documentElement.scrollTop:ot.body.scrollTop,Ys.scrollLeft=null!=Jo.pageXOffset?Jo.pageXOffset:null!=ot.documentElement.scrollLeft?ot.documentElement.scrollLeft:ot.body.scrollLeft;a&&!l;)u=(l=ta(a.parentNode))?Ys:a.parentNode,W&&u.scrollTop>u._gsMaxScrollY&&(u.scrollTop=u._gsMaxScrollY),H&&u.scrollLeft>u._gsMaxScrollX&&(u.scrollLeft=u._gsMaxScrollX),a=u;j.isThrowing&&(s||j.endX>d||j.endX<g||j.endY>D||j.endY<m)&&pt(n.inertia||n.throwProps,s)}return j},i.update=function(t,n,r){if(n&&j.isPressed){var i=Do(e),o=N.apply({x:j.x-l,y:j.y-h}),s=Do(e.parentNode,!0);s.apply({x:i.e-o.x,y:i.f-o.y},o),j.x-=o.x-s.e,j.y-=o.y-s.f,at(!0),gt()}var a=j.x,u=j.y;return dt(!n),t?j.applyBounds():(x&&r&&at(!0),ut(!0)),n&&(yt(j.pointerX,j.pointerY),x&&at(!0)),j.isPressed&&!n&&(H&&Math.abs(a-j.x)>.01||W&&Math.abs(u-j.y)>.01&&!Y)&&gt(),j.autoScroll&&(na(e.parentNode,j.isDragging),K=j.isDragging,at(!0),Js(e,wt),$s(e,wt)),j},i.enable=function(t){var r,i,a,u={lazy:!0};if(!1!==n.cursor&&(u.cursor=n.cursor||gs),$o.utils.checkPrefix("touchCallout")&&(u.touchCallout="none"),"soft"!==t){for(zs(U,H===W?"none":n.allowNativeTouchScrolling&&e.scrollHeight===e.clientHeight==(e.scrollWidth===e.clientHeight)||n.allowEventDefault?"manipulation":H?"pan-y":"pan-x"),i=U.length;--i>-1;)a=U[i],Ds||js(a,"mousedown",vt),js(a,"touchstart",vt),js(a,"click",Ct,!0),$o.set(a,u),a.getBBox&&a.ownerSVGElement&&$o.set(a.ownerSVGElement,{touchAction:H===W?"none":n.allowNativeTouchScrolling||n.allowEventDefault?"manipulation":H?"pan-y":"pan-x"}),n.allowContextMenu||js(a,"contextmenu",st);pa(U,!1)}return $s(e,wt),o=!0,ds&&"soft"!==t&&ds.track(s||e,X?"x,y":Y?"rotation":"top,left"),e._gsDragID=r="d"+Ls++,Bs[r]=j,s&&(s.enable(),s.element._gsDragID=r),(n.bounds||Y)&&gt(),n.bounds&&j.applyBounds(),j},i.disable=function(t){for(var n,r=j.isDragging,i=U.length;--i>-1;)ra(U[i],"cursor",null);if("soft"!==t){for(zs(U,null),i=U.length;--i>-1;)n=U[i],ra(n,"touchCallout",null),Us(n,"mousedown",vt),Us(n,"touchstart",vt),Us(n,"click",Ct),Us(n,"contextmenu",st);pa(U,!0),T&&(Us(T,"touchcancel",xt),Us(T,"touchend",xt),Us(T,"touchmove",_t)),Us(ot,"mouseup",xt),Us(ot,"mousemove",_t)}return Js(e,wt),o=!1,ds&&"soft"!==t&&ds.untrack(s||e,X?"x,y":Y?"rotation":"top,left"),s&&s.disable(),Vs(at),j.isDragging=j.isPressed=b=!1,r&&aa(j,"dragend","onDragEnd"),j},i.enabled=function(t,e){return arguments.length?t?j.enable(e):j.disable(e):o},i.kill=function(){return j.isThrowing=!1,j.tween&&j.tween.kill(),j.disable(),$o.set(U,{clearProps:"userSelect"}),delete Bs[e._gsDragID],j},~R.indexOf("scroll")&&(s=i.scrollProxy=new da(e,function(t,e){for(var n in e)n in t||(t[n]=e[n]);return t}({onKill:function(){j.isPressed&&xt(null)}},n)),e.style.overflowY=W&&!ls?"auto":"hidden",e.style.overflowX=H&&!ls?"auto":"hidden",e=s.content),Y?q.rotation=1:(H&&(q[I]=1),W&&(q[z]=1)),nt.force3D=!("force3D"in n)||n.force3D,i.enable(),i}return n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n,r.register=function(t){$o=t,ga()},r.create=function(t,e){return os||ga(!0),as(t).map((function(t){return new r(t,e)}))},r.get=function(t){return Bs[(as(t)[0]||{})._gsDragID]},r.timeSinceDrag=function(){return(Os()-Rs)/1e3},r.hitTest=function(t,e,n){if(t===e)return!1;var r,i,o,s=sa(t),a=sa(e),u=s.top,l=s.left,h=s.right,c=s.bottom,f=s.width,p=s.height,d=a.left>h||a.right<l||a.top>c||a.bottom<u;return d||!n?!d:(o=-1!==(n+"").indexOf("%"),n=parseFloat(n)||0,(r={left:Math.max(l,a.left),top:Math.max(u,a.top)}).width=Math.min(h,a.right)-r.left,r.height=Math.min(c,a.bottom)-r.top,!(r.width<0||r.height<0)&&(o?(n*=.01,(i=r.width*r.height)>=f*p*n||i>=a.width*a.height*n):r.width>n&&r.height>n))},r}(function(){function t(t){this._listeners={},this.target=t||this}var e=t.prototype;return e.addEventListener=function(t,e){var n=this._listeners[t]||(this._listeners[t]=[]);~n.indexOf(e)||n.push(e)},e.removeEventListener=function(t,e){var n=this._listeners[t],r=n&&n.indexOf(e)||-1;r>-1&&n.splice(r,1)},e.dispatchEvent=function(t){var e,n=this;return(this._listeners[t]||[]).forEach((function(r){return!1===r.call(n,{type:t,target:n.target})&&(e=!1)})),e},t}());!function(t,e){for(var n in e)n in t||(t[n]=e[n])}(Da.prototype,{pointerX:0,pointerY:0,startX:0,startY:0,deltaX:0,deltaY:0,isDragging:!1,isPressed:!1}),Da.zIndex=1e3,Da.version="3.9.1",ys()&&$o.registerPlugin(Da);
/*!
 * VelocityTracker: 3.9.1
 * https://greensock.com
 *
 * Copyright 2008-2021, GreenSock. All rights reserved.
 * Subject to the terms at https://greensock.com/standard-license or for
 * Club GreenSock members, the agreement issued with that membership.
 * @author: Jack Doyle, jack@greensock.com
*/
var ma,va,_a,ya,xa,wa,Ca,Fa,Ea=function(){return ma||"undefined"!=typeof window&&(ma=window.gsap)},ba={},Ta=function(t){return Fa(t).id},Ma=function(t){return ba[Ta("string"==typeof t?_a(t)[0]:t)]},Aa=function(t){var e,n=xa;if(t-Ca>=.05)for(Ca,Ca=t;n;)((e=n.g(n.t,n.p))!==n.v1||t-n.t1>.2)&&(n.v2=n.v1,n.v1=e,n.t2=n.t1,n.t1=t),n=n._next},Pa={deg:360,rad:2*Math.PI},Sa=function(){(ma=Ea())&&(_a=ma.utils.toArray,ya=ma.utils.getUnit,Fa=ma.core.getCache,wa=ma.ticker,va=1)},Oa=function(t,e,n,r){this.t=t,this.p=e,this.g=t._gsap.get,this.rCap=Pa[n||ya(this.g(t,e))],this.v1=this.v2=0,this.t1=this.t2=wa.time,r&&(this._next=r,r._prev=this)},ka=function(){function t(t,e){va||Sa(),this.target=_a(t)[0],ba[Ta(this.target)]=this,this._props={},e&&this.add(e)}t.register=function(t){ma=t,Sa()};var e=t.prototype;return e.get=function(t,e){var n,r,i,o=this._props[t]||console.warn("Not tracking "+t+" velocity.");return n=parseFloat(e?o.v1:o.g(o.t,o.p))-parseFloat(o.v2),(r=o.rCap)&&(n%=r)!==n%(r/2)&&(n=n<0?n+r:n-r),i=n/((e?o.t1:wa.time)-o.t2),Math.round(1e4*i)/1e4},e.getAll=function(){var t,e={},n=this._props;for(t in n)e[t]=this.get(t);return e},e.isTracking=function(t){return t in this._props},e.add=function(t,e){t in this._props||(xa||(wa.add(Aa),Ca=wa.time),xa=this._props[t]=new Oa(this.target,t,e,xa))},e.remove=function(t){var e,n,r=this._props[t];r&&(e=r._prev,n=r._next,e&&(e._next=n),n?n._prev=e:xa===r&&(wa.remove(Aa),xa=0),delete this._props[t])},e.kill=function(t){for(var e in this._props)this.remove(e);t||delete ba[Ta(this.target)]},t.track=function(e,n,r){va||Sa();for(var i,o,s=[],a=_a(e),u=n.split(","),l=(r||"").split(","),h=a.length;h--;){for(i=Ma(a[h])||new t(a[h]),o=u.length;o--;)i.add(u[o],l[o]||l[0]);s.push(i)}return s},t.untrack=function(t,e){var n=(e||"").split(",");_a(t).forEach((function(t){var e=Ma(t);e&&(n.length?n.forEach((function(t){return e.remove(t)})):e.kill(1))}))},t.isTracking=function(t,e){var n=Ma(t);return n&&n.isTracking(e)},t.getVelocity=function(t,e){var n=Ma(t);return n&&n.isTracking(e)?n.get(e):console.warn("Not tracking velocity of "+e)},t}();ka.getByTarget=Ma,Ea()&&ma.registerPlugin(ka);
/*!
 * InertiaPlugin 3.9.1
 * https://greensock.com
 *
 * @license Copyright 2008-2021, GreenSock. All rights reserved.
 * Subject to the terms at https://greensock.com/standard-license or for
 * Club GreenSock members, the agreement issued with that membership.
 * @author: Jack Doyle, jack@greensock.com
*/
var Ba,La,Na,Ra,Xa,Ya,Ia,za,Ha,Wa,Va,ja,Ua=ka.getByTarget,qa=function(){return Ba||"undefined"!=typeof window&&(Ba=window.gsap)&&Ba.registerPlugin&&Ba},Ga=function(t){return"number"==typeof t},Ka=function(t){return"object"==typeof t},Qa=function(t){return"function"==typeof t},Za=Array.isArray,$a=function(t){return t},Ja=function(t,e,n){for(var r in e)r in t||r===n||(t[r]=e[r]);return t},tu=function t(e){var n,r,i={};for(n in e)i[n]=Ka(r=e[n])&&!Za(r)?t(r):r;return i},eu=function(t,e,n,r,i){var o,s,a,u,l=e.length,h=0,c=1e10;if(Ka(t)){for(;l--;){for(a in o=e[l],s=0,t)s+=(u=o[a]-t[a])*u;s<c&&(h=l,c=s)}if((i||1e10)<1e10&&i<Math.sqrt(c))return t}else for(;l--;)(s=(o=e[l])-t)<0&&(s=-s),s<c&&o>=r&&o<=n&&(h=l,c=s);return e[h]},nu=function(t,e,n,r,i,o,s){if("auto"===t.end)return t;var a,u,l=t.end;if(n=isNaN(n)?1e10:n,r=isNaN(r)?-1e10:r,Ka(e)){if(a=e.calculated?e:(Qa(l)?l(e,s):eu(e,l,n,r,o))||e,!e.calculated){for(u in a)e[u]=a[u];e.calculated=!0}a=a[i]}else a=Qa(l)?l(e,s):Za(l)?eu(e,l,n,r,o):parseFloat(l);return a>n?a=n:a<r&&(a=r),{max:a,min:a,unitFactor:t.unitFactor}},ru=function(t,e,n){return isNaN(t[e])?n:+t[e]},iu=function(t,e){return.05*e*t/Wa},ou=function(t,e,n){return Math.abs((e-t)*Wa/n/.05)},su={resistance:1,checkpoint:1,preventOvershoot:1,linkedProps:1,radius:1,duration:1},au=function(t,e,n,r){if(e.linkedProps){var i,o,s,a,u,l,h=e.linkedProps.split(","),c={};for(i=0;i<h.length;i++)(s=e[o=h[i]])&&(a=Ga(s.velocity)?s.velocity:(u=u||Ua(t))&&u.isTracking(o)?u.get(o):0,l=Math.abs(a/ru(s,"resistance",r)),c[o]=parseFloat(n(t,o))+iu(a,l));return c}},uu=function(){(Ba=qa())&&(Na=Ba.parseEase,Ra=Ba.utils.toArray,Ia=Ba.utils.getUnit,Ha=Ba.core.getCache,Va=Ba.utils.clamp,Xa=Na("power3"),Wa=Xa(.05),za=Ba.core.PropTween,Ba.config({resistance:100,unitFactors:{time:1e3,totalTime:1e3,progress:1e3,totalProgress:1e3}}),Ya=Ba.config(),Ba.registerPlugin(ka),La=1)},lu={version:"3.9.1",name:"inertia",register:function(t){Ba=t,uu()},init:function(t,e,n,r,i){La||uu();var o=Ua(t);if("auto"===e){if(!o)return void console.warn("No inertia tracking on "+t+". InertiaPlugin.track(target) first.");e=o.getAll()}this.target=t,this.tween=n,ja=e;var s,a,u,l,h,c,f,p,d,g=t._gsap,D=g.get,m=e.duration,v=Ka(m),_=e.preventOvershoot||v&&0===m.overshoot,y=ru(e,"resistance",Ya.resistance),x=Ga(m)?m:function(t,e,n,r,i,o){if(void 0===n&&(n=10),void 0===r&&(r=.2),void 0===i&&(i=1),void 0===o&&(o=0),"string"==typeof t&&(t=Ra(t)[0]),!t)return 0;var s,a,u,l,h,c,f,p,d,g,D=0,m=1e10,v=e.inertia||e,_=Ha(t).get,y=ru(v,"resistance",Ya.resistance);for(s in g=au(t,v,_,y),v)su[s]||(a=v[s],Ka(a)||((p=p||Ua(t))&&p.isTracking(s)?a=Ga(a)?{velocity:a}:{velocity:p.get(s)}:(l=+a||0,u=Math.abs(l/y))),Ka(a)&&(l=Ga(a.velocity)?a.velocity:(p=p||Ua(t))&&p.isTracking(s)?p.get(s):0,u=Va(r,n,Math.abs(l/ru(a,"resistance",y))),c=(h=parseFloat(_(t,s))||0)+iu(l,u),"end"in a&&(a=nu(a,g&&s in g?g:c,a.max,a.min,s,v.radius,l),o&&(ja===e&&(ja=v=tu(e)),v[s]=Ja(a,v[s],"end"))),"max"in a&&c>+a.max+1e-10?(d=a.unitFactor||Ya.unitFactors[s]||1,(f=h>a.max&&a.min!==a.max||l*d>-15&&l*d<45?r+.1*(n-r):ou(h,a.max,l))+i<m&&(m=f+i)):"min"in a&&c<+a.min-1e-10&&(d=a.unitFactor||Ya.unitFactors[s]||1,(f=h<a.min&&a.min!==a.max||l*d>-45&&l*d<15?r+.1*(n-r):ou(h,a.min,l))+i<m&&(m=f+i)),f>D&&(D=f)),u>D&&(D=u));return D>m&&(D=m),D>n?n:D<r?r:D}(t,e,v&&m.max||10,v&&m.min||.2,v&&"overshoot"in m?+m.overshoot:_?0:1,!0);for(s in e=ja,ja=0,d=au(t,e,D,y),e)su[s]||(a=e[s],Qa(a)&&(a=a(r,t,i)),Ga(a)?h=a:Ka(a)&&!isNaN(a.velocity)?h=+a.velocity:o&&o.isTracking(s)?h=o.get(s):console.warn("ERROR: No velocity was defined for "+t+" property: "+s),c=iu(h,x),p=0,u=D(t,s),l=Ia(u),u=parseFloat(u),Ka(a)&&(f=u+c,"end"in a&&(a=nu(a,d&&s in d?d:f,a.max,a.min,s,e.radius,h)),"max"in a&&+a.max<f?_||a.preventOvershoot?c=a.max-u:p=a.max-u-c:"min"in a&&+a.min>f&&(_||a.preventOvershoot?c=a.min-u:p=a.min-u-c)),this._props.push(s),this._pt=new za(this._pt,t,s,u,0,$a,0,g.set(t,s,this)),this._pt.u=l||0,this._pt.c1=c,this._pt.c2=p);return n.duration(x),1},render:function(t,e){var n,r=e._pt;for(t=Xa(e.tween._time/e.tween._dur);r;)r.set(r.t,r.p,(n=r.s+r.c1*t+r.c2*t*t,Math.round(1e4*n)/1e4+r.u),r.d,t),r=r._next}};"track,untrack,isTracking,getVelocity,getByTarget".split(",").forEach((function(t){return lu[t]=ka[t]})),qa()&&Ba.registerPlugin(lu);
/*!
 * strings: 3.9.1
 * https://greensock.com
 *
 * Copyright 2008-2021, GreenSock. All rights reserved.
 * Subject to the terms at https://greensock.com/standard-license or for
 * Club GreenSock members, the agreement issued with that membership.
 * @author: Jack Doyle, jack@greensock.com
*/
var hu=/([\uD800-\uDBFF][\uDC00-\uDFFF](?:[\u200D\uFE0F][\uD800-\uDBFF][\uDC00-\uDFFF]){2,}|\uD83D\uDC69(?:\u200D(?:(?:\uD83D\uDC69\u200D)?\uD83D\uDC67|(?:\uD83D\uDC69\u200D)?\uD83D\uDC66)|\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC69\u200D(?:\uD83D\uDC69\u200D)?\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D(?:\uD83D\uDC69\u200D)?\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]\uFE0F|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92])|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC6F\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3C-\uDD3E\uDDD6-\uDDDF])\u200D[\u2640\u2642]\uFE0F|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF6\uD83C\uDDE6|\uD83C\uDDF4\uD83C\uDDF2|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F\u200D[\u2640\u2642]|(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642])\uFE0F|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2695\u2696\u2708]|\uD83D\uDC69\u200D[\u2695\u2696\u2708]|\uD83D\uDC68(?:(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708]))\uFE0F|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83D\uDC69\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69]))|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|[#\*0-9]\uFE0F\u20E3|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67)\uDB40\uDC7F|\uD83D\uDC68(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:(?:\uD83D[\uDC68\uDC69])\u200D)?\uD83D\uDC66\u200D\uD83D\uDC66|(?:(?:\uD83D[\uDC68\uDC69])\u200D)?\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92])|(?:\uD83C[\uDFFB-\uDFFF])\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]))|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270A-\u270D]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC70\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDCAA\uDD74\uDD7A\uDD90\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD36\uDDD1-\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\u200D(?:(?:(?:\uD83D[\uDC68\uDC69])\u200D)?\uD83D\uDC67|(?:(?:\uD83D[\uDC68\uDC69])\u200D)?\uD83D\uDC66)|\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC69\uDC6E\uDC70-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD18-\uDD1C\uDD1E\uDD1F\uDD26\uDD30-\uDD39\uDD3D\uDD3E\uDDD1-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])?|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDEEB\uDEEC\uDEF4-\uDEF8]|\uD83E[\uDD10-\uDD3A\uDD3C-\uDD3E\uDD40-\uDD45\uDD47-\uDD4C\uDD50-\uDD6B\uDD80-\uDD97\uDDC0\uDDD0-\uDDE6])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u2660\u2663\u2665\u2666\u2668\u267B\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEF8]|\uD83E[\uDD10-\uDD3A\uDD3C-\uDD3E\uDD40-\uDD45\uDD47-\uDD4C\uDD50-\uDD6B\uDD80-\uDD97\uDDC0\uDDD0-\uDDE6])\uFE0F)/;
/*!
 * SplitText: 3.9.1
 * https://greensock.com
 *
 * @license Copyright 2008-2021, GreenSock. All rights reserved.
 * Subject to the terms at https://greensock.com/standard-license or for
 * Club GreenSock members, the agreement issued with that membership.
 * @author: Jack Doyle, jack@greensock.com
*/
var cu,fu,pu,du,gu=/(?:\r|\n|\t\t)/g,Du=/(?:\s\s+)/g,mu=function(t){return fu.getComputedStyle(t)},vu=Array.isArray,_u=[].slice,yu=function(t,e){var n;return vu(t)?t:"string"==(n=typeof t)&&!e&&t?_u.call(cu.querySelectorAll(t),0):t&&"object"===n&&"length"in t?_u.call(t,0):t?[t]:[]},xu=function(t){return"absolute"===t.position||!0===t.absolute},wu=function(t,e){for(var n,r=e.length;--r>-1;)if(n=e[r],t.substr(0,n.length)===n)return n.length},Cu=function(t,e){void 0===t&&(t="");var n=~t.indexOf("++"),r=1;return n&&(t=t.split("++").join("")),function(){return"<"+e+" style='position:relative;display:inline-block;'"+(t?" class='"+t+(n?r++:"")+"'>":">")}},Fu=function t(e,n,r){var i=e.nodeType;if(1===i||9===i||11===i)for(e=e.firstChild;e;e=e.nextSibling)t(e,n,r);else 3!==i&&4!==i||(e.nodeValue=e.nodeValue.split(n).join(r))},Eu=function(t,e){for(var n=e.length;--n>-1;)t.push(e[n])},bu=function(t,e,n){for(var r;t&&t!==e;){if(r=t._next||t.nextSibling)return r.textContent.charAt(0)===n;t=t.parentNode||t._parent}},Tu=function t(e){var n,r,i=yu(e.childNodes),o=i.length;for(n=0;n<o;n++)(r=i[n])._isSplit?t(r):n&&r.previousSibling&&3===r.previousSibling.nodeType?(r.previousSibling.nodeValue+=3===r.nodeType?r.nodeValue:r.firstChild.nodeValue,e.removeChild(r)):3!==r.nodeType&&(e.insertBefore(r.firstChild,r),e.removeChild(r))},Mu=function(t,e){return parseFloat(e[t])||0},Au=function(t,e,n,r,i,o,s){var a,u,l,h,c,f,p,d,g,D,m,v,_=mu(t),y=Mu("paddingLeft",_),x=-999,w=Mu("borderBottomWidth",_)+Mu("borderTopWidth",_),C=Mu("borderLeftWidth",_)+Mu("borderRightWidth",_),F=Mu("paddingTop",_)+Mu("paddingBottom",_),E=Mu("paddingLeft",_)+Mu("paddingRight",_),b=Mu("fontSize",_)*(e.lineThreshold||.2),T=_.textAlign,M=[],A=[],P=[],S=e.wordDelimiter||" ",O=e.tag?e.tag:e.span?"span":"div",k=e.type||e.split||"chars,words,lines",B=i&&~k.indexOf("lines")?[]:null,L=~k.indexOf("words"),N=~k.indexOf("chars"),R=xu(e),X=e.linesClass,Y=~(X||"").indexOf("++"),I=[],z="flex"===_.display,H=t.style.display;for(Y&&(X=X.split("++").join("")),z&&(t.style.display="block"),l=(u=t.getElementsByTagName("*")).length,c=[],a=0;a<l;a++)c[a]=u[a];if(B||R)for(a=0;a<l;a++)((f=(h=c[a]).parentNode===t)||R||N&&!L)&&(v=h.offsetTop,B&&f&&Math.abs(v-x)>b&&("BR"!==h.nodeName||0===a)&&(p=[],B.push(p),x=v),R&&(h._x=h.offsetLeft,h._y=v,h._w=h.offsetWidth,h._h=h.offsetHeight),B&&((h._isSplit&&f||!N&&f||L&&f||!L&&h.parentNode.parentNode===t&&!h.parentNode._isSplit)&&(p.push(h),h._x-=y,bu(h,t,S)&&(h._wordEnd=!0)),"BR"===h.nodeName&&(h.nextSibling&&"BR"===h.nextSibling.nodeName||0===a)&&B.push([])));for(a=0;a<l;a++)if(f=(h=c[a]).parentNode===t,"BR"!==h.nodeName)if(R&&(g=h.style,L||f||(h._x+=h.parentNode._x,h._y+=h.parentNode._y),g.left=h._x+"px",g.top=h._y+"px",g.position="absolute",g.display="block",g.width=h._w+1+"px",g.height=h._h+"px"),!L&&N)if(h._isSplit)for(h._next=u=h.nextSibling,h.parentNode.appendChild(h);u&&3===u.nodeType&&" "===u.textContent;)h._next=u.nextSibling,h.parentNode.appendChild(u),u=u.nextSibling;else h.parentNode._isSplit?(h._parent=h.parentNode,!h.previousSibling&&h.firstChild&&(h.firstChild._isFirst=!0),h.nextSibling&&" "===h.nextSibling.textContent&&!h.nextSibling.nextSibling&&I.push(h.nextSibling),h._next=h.nextSibling&&h.nextSibling._isFirst?null:h.nextSibling,h.parentNode.removeChild(h),c.splice(a--,1),l--):f||(v=!h.nextSibling&&bu(h.parentNode,t,S),h.parentNode._parent&&h.parentNode._parent.appendChild(h),v&&h.parentNode.appendChild(cu.createTextNode(" ")),"span"===O&&(h.style.display="inline"),M.push(h));else h.parentNode._isSplit&&!h._isSplit&&""!==h.innerHTML?A.push(h):N&&!h._isSplit&&("span"===O&&(h.style.display="inline"),M.push(h));else B||R?(h.parentNode&&h.parentNode.removeChild(h),c.splice(a--,1),l--):L||t.appendChild(h);for(a=I.length;--a>-1;)I[a].parentNode.removeChild(I[a]);if(B){for(R&&(D=cu.createElement(O),t.appendChild(D),m=D.offsetWidth+"px",v=D.offsetParent===t?0:t.offsetLeft,t.removeChild(D)),g=t.style.cssText,t.style.cssText="display:none;";t.firstChild;)t.removeChild(t.firstChild);for(d=" "===S&&(!R||!L&&!N),a=0;a<B.length;a++){for(p=B[a],(D=cu.createElement(O)).style.cssText="display:block;text-align:"+T+";position:"+(R?"absolute;":"relative;"),X&&(D.className=X+(Y?a+1:"")),P.push(D),l=p.length,u=0;u<l;u++)"BR"!==p[u].nodeName&&(h=p[u],D.appendChild(h),d&&h._wordEnd&&D.appendChild(cu.createTextNode(" ")),R&&(0===u&&(D.style.top=h._y+"px",D.style.left=y+v+"px"),h.style.top="0px",v&&(h.style.left=h._x-v+"px")));0===l?D.innerHTML="&nbsp;":L||N||(Tu(D),Fu(D,String.fromCharCode(160)," ")),R&&(D.style.width=m,D.style.height=h._h+"px"),t.appendChild(D)}t.style.cssText=g}R&&(s>t.clientHeight&&(t.style.height=s-F+"px",t.clientHeight<s&&(t.style.height=s+w+"px")),o>t.clientWidth&&(t.style.width=o-E+"px",t.clientWidth<o&&(t.style.width=o+C+"px"))),z&&(H?t.style.display=H:t.style.removeProperty("display")),Eu(n,M),L&&Eu(r,A),Eu(i,P)},Pu=function(t,e,n,r){var i,o,s,a,u,l,h,c,f=e.tag?e.tag:e.span?"span":"div",p=~(e.type||e.split||"chars,words,lines").indexOf("chars"),d=xu(e),g=e.wordDelimiter||" ",D=" "!==g?"":d?"&#173; ":" ",m="</"+f+">",v=1,_=e.specialChars?"function"==typeof e.specialChars?e.specialChars:wu:null,y=cu.createElement("div"),x=t.parentNode;for(x.insertBefore(y,t),y.textContent=t.nodeValue,x.removeChild(t),h=-1!==(i=function t(e){var n=e.nodeType,r="";if(1===n||9===n||11===n){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)r+=t(e)}else if(3===n||4===n)return e.nodeValue;return r}(t=y)).indexOf("<"),!1!==e.reduceWhiteSpace&&(i=i.replace(Du," ").replace(gu,"")),h&&(i=i.split("<").join("{{LT}}")),u=i.length,o=(" "===i.charAt(0)?D:"")+n(),s=0;s<u;s++)if(l=i.charAt(s),_&&(c=_(i.substr(s),e.specialChars)))l=i.substr(s,c||1),o+=p&&" "!==l?r()+l+"</"+f+">":l,s+=c-1;else if(l===g&&i.charAt(s-1)!==g&&s){for(o+=v?m:"",v=0;i.charAt(s+1)===g;)o+=D,s++;s===u-1?o+=D:")"!==i.charAt(s+1)&&(o+=D+n(),v=1)}else"{"===l&&"{{LT}}"===i.substr(s,6)?(o+=p?r()+"{{LT}}</"+f+">":"{{LT}}",s+=5):l.charCodeAt(0)>=55296&&l.charCodeAt(0)<=56319||i.charCodeAt(s+1)>=65024&&i.charCodeAt(s+1)<=65039?(a=((i.substr(s,12).split(hu)||[])[1]||"").length||2,o+=p&&" "!==l?r()+i.substr(s,a)+"</"+f+">":i.substr(s,a),s+=a-1):o+=p&&" "!==l?r()+l+"</"+f+">":l;t.outerHTML=o+(v?m:""),h&&Fu(x,"{{LT}}","<")},Su=function t(e,n,r,i){var o,s,a=yu(e.childNodes),u=a.length,l=xu(n);if(3!==e.nodeType||u>1){for(n.absolute=!1,o=0;o<u;o++)(s=a[o])._next=s._isFirst=s._parent=s._wordEnd=null,(3!==s.nodeType||/\S+/.test(s.nodeValue))&&(l&&3!==s.nodeType&&"inline"===mu(s).display&&(s.style.display="inline-block",s.style.position="relative"),s._isSplit=!0,t(s,n,r,i));return n.absolute=l,void(e._isSplit=!0)}Pu(e,n,r,i)},Ou=function(){function t(t,e){pu||(cu=document,fu=window,pu=1),this.elements=yu(t),this.chars=[],this.words=[],this.lines=[],this._originals=[],this.vars=e||{},this.split(e)}var e=t.prototype;return e.split=function(t){this.isSplit&&this.revert(),this.vars=t=t||this.vars,this._originals.length=this.chars.length=this.words.length=this.lines.length=0;for(var e,n,r,i=this.elements.length,o=t.tag?t.tag:t.span?"span":"div",s=Cu(t.wordsClass,o),a=Cu(t.charsClass,o);--i>-1;)r=this.elements[i],this._originals[i]=r.innerHTML,e=r.clientHeight,n=r.clientWidth,Su(r,t,s,a),Au(r,t,this.chars,this.words,this.lines,n,e);return this.chars.reverse(),this.words.reverse(),this.lines.reverse(),this.isSplit=!0,this},e.revert=function(){var t=this._originals;if(!t)throw"revert() call wasn't scoped properly.";return this.elements.forEach((function(e,n){return e.innerHTML=t[n]})),this.chars=[],this.words=[],this.lines=[],this.isSplit=!1,this},t.create=function(e,n){return new t(e,n)},t}();Ou.version="3.9.1",vr.registerPlugin(Xe,_r,Me,Me,Fr,vi,Mi,Ki,Bo,Zo,dr,Da,lu);var ku=du=window.punchgs=window.tpGS={};for(var Bu in ku.gsap=vr,ku.TweenLite=Xe,ku.TweenMax=_r,ku.TimelineLite=Me,ku.TimelineMax=Me,ku.CustomBounce=Fr,ku.CustomEase=vi,ku.CustomWiggle=Mi,ku.DrawSVGPlugin=Ki,ku.MotionPathPlugin=Bo,ku.ScrollToPlugin=Zo,ku.CSSPlugin=dr,ku.draggable=Da,ku.inertia=lu,
/*! Map SplitText to tpGS TPGSSPLITTEXT */
ku.SplitText=Ou,ku.RAD2DEG=180/Math.PI,ku.DEG2RAD=Math.PI/180,
/*! REGISTER MOTION PATH (BEZIER) */
ku.gsap.registerPlugin(ku.MotionPathPlugin),ku.gsap.config({nullTargetWarn:!1}),
/*!FallBack for old and new Eases*/
ku.eases=ku.gsap.parseEase(),ku.eases)ku.eases.hasOwnProperty(Bu)&&void 0===ku[Bu]&&(ku[Bu]=ku.eases[Bu])
/*! FallBack for Essential Grid */;void 0!==du&&void 0!==du.TweenLite&&void 0===du.TweenLite.lagSmoothing&&(du.TweenLite.lagSmoothing=function(){});var Lu=[];function Nu(t,e,n){var r=document.createElement("canvas"),i=r.getContext("2d");if(r.width=100,r.height=200,0===t.length)i.fillStyle=n;else{for(var o=i.createLinearGradient(0,0,100,0),s=0;s<t.length;s++)o.addColorStop(t[s].stop/100,t[s].color);i.fillStyle=o}i.fillRect(0,0,100,200);var a=i.getImageData(0,0,100,2).data,u="";for(s=0;s<e.length;s++){var l=Math.ceil(e[s]),h=4*(0!==l?l-1:l);u+="rgba("+a[h]+","+a[h+1]+","+a[h+2]+","+a[h+3]/255+")",u+=" "+l+(e.length-1===s?"%":"%,")}return r.remove(),u}function Ru(t,e,n,r){for(var i="",o=ku.gsap.utils.mapRange(0,r.length-1,0,t.length-1),s=0;s<r.length;s++){var a=Math.round(o(s));i+=t[a].color,i+=" "+t[a].stop+(r.length-1===s?"%":"%,")}return i}function Xu(t){var e=/rgb([\s\S]*?)%/g,n=[],r=[],i=[];do{(s=e.exec(t))&&n.push(s[0])}while(s);for(var o=0;o<n.length;o++){var s=n[o],a=(t=/rgb([\s\S]*?)\)/.exec(s),/\)([\s\S]*?)%/.exec(s));t[0]&&(t=t[0]),a[1]&&(a=a[1]),i.push(parseFloat(a)),r.push({color:t,stop:parseFloat(a)})}return 0===r.length&&(r.push({color:t,stop:0}),i.push(0),r.push({color:t,stop:100}),i.push(100)),{points:r,stops:i}}ku.getSSGColors=function(t,e,n){if(n=void 0===n?"fading":n,-1===t.indexOf("gradient")&&-1===e.indexOf("gradient"))return{from:t,to:e};for(var r={from:t,to:e},i=0;i<Lu.length;i++){if(Lu[i].from===t&&Lu[i].to===e&&Lu[i].type===n)return{from:Lu[i].rFrom,to:Lu[i].rTo};if(Lu[i].from===e&&Lu[i].to===t&&Lu[i].type===n)return{from:Lu[i].rTo,to:Lu[i].rFrom}}var o=Xu(t),s=Xu(e);if(o.stops.length===s.stops.length&&-1!==t.indexOf("gradient")&&-1!==e.indexOf("gradient"))return{from:t,to:e};var a,u,l=o.stops;for(i=0;i<s.stops.length;i++)-1===l.indexOf(s.stops[i])&&l.push(s.stops[i]);if(l.sort((function(t,e){return t-e})),-1!==t.indexOf("gradient(")){var h=-1!==t.indexOf("deg,")?t.indexOf("deg,")+4:-1!==t.indexOf("at center,")?t.indexOf("at center,")+10:t.indexOf("gradient(")+9;a=t.substring(0,h),-1===e.indexOf("gradient(")&&(u=t.substring(0,h))}if(-1!==e.indexOf("gradient(")){h=-1!==e.indexOf("deg,")?e.indexOf("deg,")+4:-1!==e.indexOf("at center,")?e.indexOf("at center,")+10:e.indexOf("gradient(")+9;u=e.substring(0,h),-1===t.indexOf("gradient(")&&(a=e.substring(0,h))}return"fading"===n?(o.stops.length,s.stops.length,a+=Nu(o.points,l,t),u+=Nu(s.points,l,e)):"sliding"===n&&(o.stops.length>s.stops.length?u+=Ru(s.points,l,e,o.points):a+=Ru(o.points,l,t,s.points)),a+=")",u+=")","sliding"===n&&(o.stops.length>s.stops.length?a=t:u=e),r.rFrom=a,r.rTo=u,r.tyep=n,Lu.push(r),{from:a,to:u}}}]);window.RS_MODULES=window.RS_MODULES||{};window.RS_MODULES.tpGS={loaded:!0,version:"6.6.1"};if(window.RS_MODULES.checkMinimal)window.RS_MODULES.checkMinimal();/*!

  - Slider Revolution JavaScript Plugin -

..........................xXXXXX.................
................. xXXXXX..xXXXXX..xXXXXX.........
..................xXXXXX..xXXXXX..xXXXXX.........
..........xXXXXX..xXXXXX..xXXXXX..xXXXXX.........
..........xXXXXX..xXXXXX..xXXXXX..xXXXXX.........
..........xXXXXX..xXXXXX..xXXXXX..xXXXXX.........
..........xXXXXX..xXXXXX..xXXXXX..xXXXXX.........
..........xXXXXX..xXXXXX..xXXXXX..xXXXXX.........
.........,xXXXXX..xXXXXX..xXXXXX..xXXXXX.........
.........,xXXXXX..xXXXXX..xXXXXX..xXXXXX.........
.........,xXXXXX..xXXXXX..xXXXXX..xXXXXX.........
..........xXXXXX..xXXXXX..xXXXXX..xXXXXX.........
.....................xxxxxxxxxxxxxxxxxxx.........
.....................xxxxxxxxxxxxxxxxxxx.........
.....................xxxxxxxxxxxxxxxxxxx.........

			   DATE: 2023-12-07
	@author: Krisztian Horvath, ThemePunch OHG.

INTRODUCING GIT
UPDATES AND DOCS AT:
https://www.themepunch.com/support-center

GET LICENSE AT:
https://www.themepunch.com/links/slider_revolution_wordpress_regular_license

LICENSE:
Copyright (c) 2009-2019, ThemePunch. All rights reserved.
This work is subject to the terms at https://www.themepunch.com/links/slider_revolution_wordpress_regular_license (Regular / Extended)

*/
!function(e,t){"use strict";var i="Slider Revolution 6.6.19";window.RSANYID=window.RSANYID===t?[]:window.RSANYID,window.RSANYID_sliderID=window.RSANYID_sliderID===t?[]:window.RSANYID_sliderID,e.fn.revolution=e.fn.revolution||{};var a=e.fn.revolution;e.fn.revolutionInit=function(i){return this.each((function(){a.ISM=a.ISM||a.is_mobile();for(var s=document.getElementsByClassName("rs-p-wp-fix");s[0];)s[0].parentNode.removeChild(s[0]);this.id!==t?(a[n]={anyid:[]},this.id=a.revCheckIDS(n,this,!0)):this.id="rs_module_"+Math.round(1e7*Math.random());var n=this.id,l=a.clone(i);a[n]=W(i),a[n].ignoreHeightChange=a.ISM&&"fullscreen"===a[n].sliderLayout&&a[n].ignoreHeightChange,a[n].option_export=l,a[n].anyid=[],a[n]._Lshortcuts={},a[n].computedStyle={},a[n].c=e(this),a[n].cpar=a[n].c.parent(),a[n].canvas=a[n].c.find("rs-slides"),a[n].caches={calcResponsiveLayersList:[],contWidthManager:{},middleHeights:{}},a[n].sbgs={},window.RSBrowser=window.RSBrowser===t?a.get_browser():window.RSBrowser,a.setIsIOS(),a.setIsChrome8889(),a.useBackdrop===t&&a.checkBackdrop(),a[n].noDetach=a[n].BUG_ie_clipPath="Edge"===window.RSBrowser||"IE"===window.RSBrowser,a.getByTag=r(),a[n].indexhelper=0,a[n].fullScreenOffsetResult=0,a[n].level=0,a[n].rtl=e("body").hasClass("rtl")||"rtl"==document.dir,a[n]._L=a[n]._L===t?{}:a[n]._L,a[n].emptyObject="{}",a[n].dimensionReCheck={},a.globalListener===t&&a.pageHandler(n),a[n].stopAfterLoops!=t&&a[n].stopAfterLoops>-1?a[n].looptogo=a[n].stopAfterLoops:a[n].looptogo="disabled",window.T=a[n],a[n].BUG_safari_clipPath="Safari"===a.get_browser()&&a.get_browser_version()>"12",a[n].minHeight="fullwidth"===a[n].sliderLayout||"carousel"===a[n].sliderType?0:a[n].minHeight!=t&&""!==a[n].minHeight?parseInt(a[n].minHeight,0):0,a[n].minHeight=a[n].minHeight===t?0:a[n].minHeight,a[n].isEdge="Edge"===a.get_browser(),o(n),a.updateVisibleArea(n),H(n),a.mesuredScrollBarDone||a.mesureScrollBar(),window.requestAnimationFrame((function(){if("fullscreen"===a[n].sliderLayout){var e=a.getFullscreenOffsets(n);0!==e&&a[n].cpar.height(a.getWinH(n)-e)}a[n].cpar[0].style.visibility="visible"})),"hero"==a[n].sliderType&&a[n].c.find("rs-slide").each((function(t){t>0&&e(this).remove()})),a[n].navigation.use="hero"!==a[n].sliderType&&("carousel"==a[n].sliderType||a[n].navigation.keyboardNavigation||"on"==a[n].navigation.mouseScrollNavigation||"carousel"==a[n].navigation.mouseScrollNavigation||a[n].navigation.touch.touchenabled||a[n].navigation.arrows.enable||a[n].navigation.bullets.enable||a[n].navigation.thumbnails.enable||a[n].navigation.tabs.enable),a[n].c.find("rs-bgvideo").each((function(){"RS-BGVIDEO"!==this.tagName||this.id!==t&&""!==this.id||(this.id="rs-bg-video-"+Math.round(1e6*Math.random()))})),tpGS.force3D="auto",!0===a[n].modal.useAsModal&&-1===a.RS_prioList.indexOf(n)&&(a.RS_toInit[n]=!1,a.RS_prioList.push(n)),a.RS_killedlist!==t&&-1!==a.RS_killedlist.indexOf(n)&&(a.RS_toInit[n]=!1,a.RS_prioList.push(n)),!0===a.RS_prioListFirstInit&&!0!==a[n].modal.useAsModal&&-1===a.RS_prioList.indexOf(n)&&(a.RS_toInit[n]=!1,a.RS_prioList.push(n)),a.initNextRevslider(n)}))};a=window.RS_F;e.fn.extend({getRSJASONOptions:function(e){console.log(JSON.stringify(a[e].option_export))},getRSVersion:function(e){var t,i,a=window.SliderRevolutionVersion;if(!e){for(var r in t=i="---------------------------------------------------------\n",t+="    Currently Loaded Slider Revolution & SR Modules :\n"+i,a)a.hasOwnProperty(r)&&(t+=a[r].alias+": "+a[r].ver+"\n");t+=i}return e?a:t},revremoveslide:function(t){return this.each((function(){var i=this.id;if(!(t<0||t>a[i].slideamount)&&a[i]&&a[i].slides.length>0&&(t>0||t<=a[i].slides.length)){var r=a.gA(a[i].slides[t],"key");a[i].slideamount=a[i].slideamount-1,a[i].realslideamount=a[i].realslideamount-1,n("rs-bullet",r,i),n("rs-tab",r,i),n("rs-thumb",r,i),e(a[i].slides[t]).remove(),a[i].thumbs=s(a[i].thumbs,t),a.updateNavIndexes&&a.updateNavIndexes(i),t<=a[i].pr_active_key&&(a[i].pr_active_key=a[i].pr_active_key-1)}}))},revaddcallback:function(e){return this.each((function(){a[this.id]&&(a[this.id].callBackArray===t&&(a[this.id].callBackArray=[]),a[this.id].callBackArray.push(e))}))},revgetparallaxproc:function(){if(a[this[0].id])return a[this[0].id].scrollproc},revdebugmode:function(){},revscroll:function(t){return this.each((function(){var i=e(this);e("body,html").animate({scrollTop:i.offset().top+i.height()-t+"px"},{duration:400})}))},revredraw:function(){return this.each((function(){v(this.id,t,!0)}))},revGoToFrame:function(i){if(i.layerid!=t&&i.frame!=t&&this!=t&&null!=this&&(i.moduleid=this[0].id,i.targetlayer=e("#"+i.layerid),i.targetlayer!=t&&0!=i.targetlayer.length)){var r={layer:i.targetlayer,frame:i.frame,mode:"trigger",id:i.moduleid};!0===i.children&&(r.updateChildren=!0,r.fastforward=!0),a.renderLayerAnimation&&a.renderLayerAnimation(r)}},revkill:function(){return this.each((function(){if(this!=t&&null!=this){var i=this.id;a[i].c.data("conthover",1),a[i].c.data("conthoverchanged",1),a[i].c.trigger("revolution.slide.onpause"),a[i].tonpause=!0,a[i].c.trigger("stoptimer"),a[i].sliderisrunning=!1;var r="updateContainerSizes."+a[i].c.attr("id");a.window.off(r),tpGS.gsap.killTweensOf(a[i].c.find("*"),!1),tpGS.gsap.killTweensOf(a[i].c,!1),a[i].c.off("hover, mouseover, mouseenter,mouseleave, resize"),a[i].c.find("*").each((function(){var i=e(this);i.off("on, hover, mouseenter,mouseleave,mouseover, resize,restarttimer, stoptimer"),i.data("mySplitText",null),i.data("ctl",null),i.data("tween")!=t&&i.data("tween").kill(),i.data("pztl")!=t&&i.data("pztl").kill(),i.data("timeline_out")!=t&&i.data("timeline_out").kill(),i.data("timeline")!=t&&i.data("timeline").kill(),i.remove(),i.empty(),i=null})),tpGS.gsap.killTweensOf(a[i].c.find("*"),!1),tpGS.gsap.killTweensOf(a[i].c,!1),a[i].progressC.remove();try{a[i].c.closest(".rev_slider_wrapper").detach()}catch(e){}try{a[i].c.closest("rs-fullwidth-wrap").remove()}catch(e){}try{a[i].c.closest("rs-module-wrap").remove()}catch(e){}try{a[i].c.remove()}catch(e){}a[i].cpar.detach(),a[i].c.html(""),a[i].c=null,window[a[i].revapi]=t,delete a[i],delete a.RS_swapList[i],delete a.slidersToScroll[i],delete a.RS_toInit[i],a.nextSlider==i&&delete a.nextSlider,a.RS_prioList.splice(a.RS_prioList.indexOf(i),1),a.RS_killedlist=a.RS_killedlist===t?[]:a.RS_killedlist,-1===a.RS_killedlist.indexOf(i)&&a.RS_killedlist.push(i)}}))},revpause:function(){return this.each((function(){var i=e(this);i!=t&&i.length>0&&e("body").find("#"+i.attr("id")).length>0&&(i.data("conthover",1),i.data("conthoverchanged",1),i.trigger("revolution.slide.onpause"),a[this.id].tonpause=!0,i.trigger("stoptimer"))}))},revresume:function(){return this.each((function(){if(a[this.id]!==t){var i=e(this);i.data("conthover",0),i.data("conthoverchanged",1),i.trigger("revolution.slide.onresume"),a[this.id].tonpause=!1,i.trigger("starttimer")}}))},revmodal:function(i){var r=this instanceof e?this[0]:this,o=r.id;a[r.id]!==t&&a.revModal(o,i)},revstart:function(){var i=this instanceof e?this[0]:this;return a[i.id]===t?(console.log("Slider is Not Existing"),!1):a[i.id].sliderisrunning||!0===a[i.id].initEnded?(console.log("Slider Is Running Already"),!1):(a[i.id].c=e(i),a[i.id].canvas=a[i.id].c.find("rs-slides"),h(i.id),!0)},revnext:function(){return this.each((function(){a[this.id]!==t&&a.callingNewSlide(this.id,1,"carousel"===a[this.id].sliderType)}))},revprev:function(){return this.each((function(){a[this.id]!==t&&a.callingNewSlide(this.id,-1,"carousel"===a[this.id].sliderType)}))},revmaxslide:function(){return e(this).find("rs-slide").length},revcurrentslide:function(){if(a[e(this)[0].id]!==t)return parseInt(a[e(this)[0].id].pr_active_key,0)+1},revlastslide:function(){return e(this).find("rs-slide").length},revshowslide:function(e){return this.each((function(){a[this.id]!==t&&e!==t&&a.callingNewSlide(this.id,"to"+(e-1))}))},revcallslidewithid:function(e){return this.each((function(){a[this.id]!==t&&a.callingNewSlide(this.id,e,"carousel"===a[this.id].sliderType)}))}}),a=e.fn.revolution,e.extend(!0,a,{isNumeric:function(e){return!isNaN(parseFloat(e))&&isFinite(e)},trim:function(e){return e!==t&&null!==e&&"string"==typeof e?e.trim():e},setCookie:function(e,t,i){var a=new Date;a.setTime(a.getTime()+60*i*60*1e3);var r="expires="+a.toUTCString();document.cookie=e+"="+t+";"+r+";path=/"},getCookie:function(e){for(var t=e+"=",i=document.cookie.split(";"),a=0;a<i.length;a++){for(var r=i[a];" "==r.charAt(0);)r=r.substring(1);if(0==r.indexOf(t))return decodeURIComponent(r.substring(t.length,r.length))}return""},mesureScrollBar:function(){a.mesuredScrollBarDone=!0,requestAnimationFrame((function(){var e=document.createElement("div");e.className="RSscrollbar-measure",document.body.appendChild(e),a.mesuredScrollbarWidth=e.offsetWidth-e.clientWidth,document.body.removeChild(e)}))},mobileTimedHeightCheck:function(){requestAnimationFrame((function(){a.mobileTimedHeightCheck()})),a.mobileHeights.now=Date.now(),a.mobileHeights.elapsed=a.mobileHeights.now-a.mobileHeights.then,a.mobileHeights.elapsed>a.mobileHeights.fpsInterval&&(a.mobileHeights.then=a.mobileHeights.now-a.mobileHeights.elapsed%a.mobileHeights.fpsInterval,a.getWindowDimension())},pageHandler:function(i){a.globalListener=!0,a.window=e(window),a.document=e(document),a.RS_toInit={},a.RS_prioList=[],a.RS_swapping=[],a.RS_swapList={},window.isSafari11===t&&(window.isSafari11=a.isSafari11(),document.body.classList.add("rs-safari")),a.ISM?(window.addEventListener("orientationchange",(function(){a.getWindowDimension(!1,!0),setTimeout((function(){a.getWindowDimension(!0,!0)}),400)})),window.addEventListener("resize",a.getWindowDimension),tpGS.gsap.delayedCall(3,(function(){window.removeEventListener("resize",a.getWindowDimension)})),a.mobileHeights={fpsInterval:500,then:Date.now()},a[i].ignoreHeightChange||a.mobileHeights.checking||(a.mobileHeights.checking=!0,a.mobileTimedHeightCheck())):window.addEventListener("resize",a.getWindowDimension),a.getWindowDimension(!1),a.stickySupported=!1,"IE"!==window.RSBrowser&&(a.stickySupported=!0),a.checkParrentOverflows(i);var r=a.getByTag(document,"RS-MODULE");for(var o in r)r.hasOwnProperty(o)&&(a.RS_toInit[r[o].id]=!1,a.RS_prioList.push(r[o].id));a.nextSlider=i,a.RS_prioListFirstInit=!0,a.document.one("click",(function(){a.clickedOnce=!0})),document.addEventListener("visibilitychange",B),a.hasNavClickListener===t&&(a.document.on(a.is_mobile()?"touchstart":"mouseenter",".tparrows, .tp-bullets, .tp-bullet, .tp-tab, .tp-thumb, .tp-thumbs, .tp-tabs, .tp-rightarrow, .tp-leftarrow",(function(e){this.classList.add("rs-touchhover")})),a.document.on(a.is_mobile()?"touchend":"mouseleave",".tparrows, .tp-bullets, .tp-bullet, .tp-tab, .tp-thumb, .tp-tabs,  .tp-rightarrow, .tp-leftarrow",(function(e){var t=this;requestAnimationFrame((function(){t.classList.remove("rs-touchhover")}))})),a.hasNavClickListener=!0)},destroyCanvas:function(e){e&&(e.width=e.height=0,e.remove(),e=null)},checkParrentOverflows:function(e){window.requestAnimationFrame((function(){for(var t=a[e].cpar[0];t.parentNode&&!1!==a.stickySupported;){if("RS-MODULE-WRAP"!==t.tagName&&"RS-FULLWIDTH-WRAP"!==t.tagName&&"RS-MODULE-WRAP"!==t.tagName&&-1===t.className.indexOf("wp-block-themepunch-revslider")){var i=window.getComputedStyle(t);a.stickySupported="hidden"!==i.overflow&&"hidden"!==i.overflowX&&"hidden"!==i.overflowY}t=t.parentNode}}))},observeRemoved:function(e){new MutationObserver((function(t){try{document.body.contains(t[0].target)||a[e].c.revkill()}catch(t){}})).observe(a[e].cpar[0],{childList:!0})},initNextRevslider:function(e){a.RS_prioList[0]===e&&!1===a.RS_toInit[e]?(a.RS_toInit[e]="waiting",c(e),setTimeout((function(){a.initNextRevslider(e)}),19)):a.RS_prioList[0]===e&&"waiting"===a.RS_toInit[e]?setTimeout((function(){a.initNextRevslider(e)}),19):a.RS_prioList[0]===e&&!0===a.RS_toInit[e]?(a.RS_prioList.shift(),0!==a.RS_prioList.length&&setTimeout((function(){a.initNextRevslider(e)}),19)):a.RS_prioList[0]!==e&&!1===a.RS_toInit[e]?setTimeout((function(){a.initNextRevslider(e)}),19):0===a.RS_prioList.length&&!0===a.RS_toInit[e]&&c(e)},scrollTicker:function(e){1!=a.scrollTickerAdded&&(a.slidersToScroll=[],a.scrollTickerAdded=!0,a.ISM?(tpGS.gsap.ticker.fps(150),tpGS.gsap.ticker.add((function(){a.generalObserver()}))):document.addEventListener("scroll",(function(e){a.scrollRaF===t&&(a.scrollRaF=requestAnimationFrame(a.generalObserver.bind(this,!0)))}),{passive:!0})),a.slidersToScroll.push(e),a.generalObserver(a.ISM)},generalObserver:function(e,i){for(var r in a.scrollRaF&&(a.scrollRaF=cancelAnimationFrame(a.scrollRaF)),a.lastwindowheight=a.lastwindowheight||a.winH,a.scrollY=window.scrollY,a.slidersToScroll)a.slidersToScroll.hasOwnProperty(r)&&a.scrollHandling(a.slidersToScroll[r],e,t,i)},wrapObserver:{targets:[],init:function(e){var t=0,i=0,r=o.bind(a.wrapObserver);function o(){if(i++,requestAnimationFrame(r),!(i-t<30)){t=i;for(var o=0;o<a.wrapObserver.targets.length;o++)if(a.wrapObserver.targets.hasOwnProperty(o)){var s=a.wrapObserver.targets[o],n=s.elem.getBoundingClientRect();s.lw===n.width&&s.lh===n.height||0===n.width||(s.callback&&(s.callback.pause(),s.callback.kill(),s.callback=null),s.callback=tpGS.gsap.to({},{duration:.2,onComplete:e.bind(window,s.elem,s.id)})),s.lw=n.width,s.lh=n.height}}}o()},observe:function(e,t){if(""!==(e=e.getBoundingClientRect?e:e[0].getBoundingClientRect?e[0]:"")){var i=e.getBoundingClientRect();a.wrapObserver.targets.push({elem:e,id:t,lw:i.width,lh:i.height})}}},enterViewPort:function(i,r){!0!==a[i].started?(a[i].started=!0,a.lazyLoadAllSlides(i),a[i].c.trigger("revolution.slide.firstrun"),setTimeout((function(){R(i),"hero"!==a[i].sliderType&&a.manageNavigation&&a[i].navigation.use&&!0===a[i].navigation.createNavigationDone&&a.manageNavigation(i),a[i].slideamount>1&&A(i),setTimeout((function(){a[i]!==t&&(a[i].revolutionSlideOnLoaded=!0,a[i].c.trigger("revolution.slide.onloaded"),a.calcScrollToId())}),50)}),a[i].startDelay),a[i].startDelay=0,window.requestAnimationFrame((function(){m(i)}))):(a[i].waitForCountDown&&(A(i),a[i].waitForCountDown=!1),"playing"!=a[i].sliderlaststatus&&a[i].sliderlaststatus!=t||a[i].c.trigger("starttimer"),a[i].lastplayedvideos!=t&&a[i].lastplayedvideos.length>0&&e.each(a[i].lastplayedvideos,(function(e,t){a.playVideo(t,i)})))},leaveViewPort:function(i){a[i].sliderlaststatus=a[i].sliderstatus,a[i].c.trigger("stoptimer"),a[i].playingvideos!=t&&a[i].playingvideos.length>0&&(a[i].lastplayedvideos=e.extend(!0,[],a[i].playingvideos),a[i].playingvideos&&e.each(a[i].playingvideos,(function(e,t){a[i].leaveViewPortBasedStop=!0,a.stopVideo&&a.stopVideo(t,i)})))},scrollHandling:function(e,i,r,o){if(a[e]!==t){var s=a[e].topc!==t?a[e].topc[0].getBoundingClientRect():0===a[e].canv.height?a[e].cpar[0].getBoundingClientRect():a[e].c[0].getBoundingClientRect(),n=a.ISM?window.innerHeight:a.lastwindowheight;s.hheight=0===s.height?0===a[e].canv.height?a[e].module.height:a[e].canv.height:s.height,a[e].scrollproc=s.top<0||s.hheight>n&&s.top<n?s.top/s.hheight:s.bottom>n?(s.bottom-n)/s.hheight:0;var l=Math.max(0,1-Math.abs(a[e].scrollproc));a[e].viewPort.enable&&("%"===a[e].viewPort.vaType[a[e].level]&&(a[e].viewPort.visible_area[a[e].level]<=l||l>0&&l<=1&&a[e].sbtimeline.fixed)||"px"===a[e].viewPort.vaType[a[e].level]&&(s.top<=0&&s.bottom>=a.lastwindowheight||s.top>=0&&s.bottom<=a.lastwindowheight||s.top>=0&&s.top<a.lastwindowheight-a[e].viewPort.visible_area[a[e].level]||s.bottom>=a[e].viewPort.visible_area[a[e].level]&&s.bottom<a.lastwindowheight)?a[e].inviewport||(a[e].inviewport=!0,a.enterViewPort(e,!0),a[e].c.trigger("enterviewport")):a[e].inviewport&&(a[e].inviewport=!1,a.leaveViewPort(e),a[e].c.trigger("leftviewport"))),a[e].inviewport?(a.callBackHandling&&a.callBackHandling(e,"parallax","start"),requestAnimationFrame((function(){"fullscreen"===a[e].sliderLayout&&a.getFullscreenOffsets(e)})),a.parallaxProcesses(e,s,o,r),a.callBackHandling&&a.callBackHandling(e,"parallax","end")):!0!==a.stickySupported&&!1!==a[e].fixedScrollOnState&&(a[e].topc.removeClass("rs-fixedscrollon"),tpGS.gsap.set(a[e].cpar,{top:0,y:0}),a[e].fixedScrollOnState=!1)}},clone:function(e,i){if(i===t&&e===t)return{};return function e(i,a){var r=Array.isArray(i)?[]:{};for(var o in i)i.hasOwnProperty(o)&&(i[o]!==t&&"object"==typeof i[o]&&a?r[o]=e(i[o],!0):i[o]!==t&&(r[o]=i[o]));return r}(e,i)},closest:function(e,t){return e&&(t(e)?e:a.closest(e.parentNode,t))},closestNode:function(e,t){return a.closest(e,(function(e){return e.nodeName===t}))},closestClass:function(e,t){return a.closest(e,(function(e){return(" "+e.className+" ").indexOf(" "+t+" ")>=0}))},getWinH:function(e){return a[e].ignoreHeightChange?a.mobileWinH:a.winH},getWindowDimension:function(e,i){!1===e?(a.rAfScrollbar="skip",a.winWAll=a.ISM&&window.visualViewport?document.documentElement.clientWidth:window.innerWidth,a.winWSbar=document.documentElement.clientWidth,a.ISM?(a.zoom=i?1:a.winWSbar/a.winWAll,a.winW=1!==a.zoom?a.winWSbar*a.zoom:Math.min(a.winWAll,a.winWSbar),a.winH=1!==a.zoom?window.innerHeight*a.zoom:window.innerHeight,i&&window.visualViewport&&(a.winH*=window.visualViewport.scale,a.winWAll*=window.visualViewport.scale),a.scrollBarWidth=0):(a.isModalOpen&&a.openModalId!==t&&a[a.openModalId]!==t&&a[a.openModalId].canv.height>a.winH?a.scrollBarWidth=a.mesuredScrollbarWidth:a.scrollBarWidth=a.winWAll-a.winWSbar,a.winW=Math.min(a.winWAll,a.winWSbar),a.winH=window.innerHeight),a.ISM&&a.winH>125&&(a.lastwindowheight!==t&&Math.abs(a.lastwindowheight-a.winH)<125?a.mobileWinH=a.lastwindowheight:a.mobileWinH=a.winH)):clearTimeout(a.windowDimenstionDelay),a.windowDimenstionDelay=setTimeout((function(){a.rAfScrollbar=t,a.winWAll=a.ISM&&window.visualViewport?document.documentElement.clientWidth:window.innerWidth,a.winWSbar=document.documentElement.clientWidth,a.ISM?(a.zoom=i?1:a.winWSbar/a.winWAll,a.RS_px_ratio=window.devicePixelRatio||window.screen.availWidth/document.documentElement.clientWidth,a.winW=1!==a.zoom?a.winWSbar*a.zoom:Math.min(a.winWAll,a.winWSbar),a.winH=1!==a.zoom?window.innerHeight*a.zoom:window.innerHeight,i&&window.visualViewport&&(a.winH*=window.visualViewport.scale,a.winWAll*=window.visualViewport.scale),a.scrollBarWidth=0,i&&tpGS.gsap.delayedCall(.1,(function(){a.getWindowDimension()}))):(a.isModalOpen&&a.openModalId!==t&&a[a.openModalId]!==t&&a[a.openModalId].canv.height>a.winH?a.scrollBarWidth=a.mesuredScrollbarWidth:a.scrollBarWidth=a.winWAll-a.winWSbar,a.winW=Math.min(a.winWAll,a.winWSbar),a.winH=window.innerHeight),a.ISM&&a.winH>125&&(a.lastwindowheight!==t&&Math.abs(a.lastwindowheight-a.winH)<125?a.mobileWinH=a.lastwindowheight:a.mobileWinH=a.winH),!1!==e&&a.document.trigger("updateContainerSizes")}),100)},aC:function(t,i){t&&(t.classList&&t.classList.add?t.classList.add(""+i):e(t).addClass(i))},rC:function(t,i){t&&(t.classList&&t.classList.remove?t.classList.remove(""+i):e(t).removeClass(i))},sA:function(e,t,i){e&&e.setAttribute&&e.setAttribute("data-"+t,i)},gA:function(e,i,a){return e===t?t:e.hasAttribute&&e.hasAttribute("data-"+i)&&e.getAttribute("data-"+i)!==t&&null!==e.getAttribute("data-"+i)?e.getAttribute("data-"+i):a!==t?a:t},rA:function(e,t){e&&e.removeAttribute&&e.removeAttribute("data-"+t)},iWA:function(e,i){return a[e].justifyCarousel?"static"===i?a[e].carousel.wrapwidth:a[e].carousel.slide_widths[i!==t?i:a[e].carousel.focused]:a[e].gridwidth[a[e].level]},iHE:function(e,t){return a[e].useFullScreenHeight?a[e].canv.height:Math.max(a[e].currentRowsHeight,a[e].gridheight[a[e].level])},updateFixedScrollTimes:function(e){!0===a[e].sbtimeline.set&&!0===a[e].sbtimeline.fixed&&"auto"!==a[e].sliderLayout&&(a[e].sbtimeline.rest=a[e].duration-a[e].sbtimeline.fixEnd,a[e].sbtimeline.time=a[e].duration-(a[e].sbtimeline.fixStart+a[e].sbtimeline.rest),a[e].sbtimeline.extended=a[e].sbtimeline.time/10)},addSafariFix:function(e){!0===window.isSafari11&&!0!==a[e].safari3dFix&&(a[e].safari3dFix=!0,a[e].c[0].className+=" safarifix")},openModalAPI:function(i,r,o,s,n,l){if(window.RS_60_MODALS!==t&&-1!=e.inArray(i,window.RS_60_MODALS)||window.RS_60_MODAL_API_CALLS!==t&&-1!=e.inArray(i,window.RS_60_MODAL_API_CALLS))e.inArray(i,window.RS_60_MODALS)>=0&&e.fn.revolution.document.trigger("RS_OPENMODAL_"+i,r);else{window.RS_60_MODAL_API_CALLS=window.RS_60_MODAL_API_CALLS||[],window.RS_60_MODAL_API_CALLS.push(i),l===t&&(l={}),l.alias===t&&(l.alias=i),s&&a.showModalCover(n,l,"show"),o.indexOf("?")>0?o+="&srengine=6":o+="?srengine=6";var d={action:"revslider_ajax_call_front",client_action:"get_slider_html",alias:i,usage:"modal"};e.ajax({type:"post",url:o,dataType:"json",data:d,success:function(o,d,c){if(null!==o&&1==o.success){var p;if(n=n==t?o.htmlid:n,o.waiting!==t)for(p in o.waiting)-1==e.inArray(o.waiting[p],RS_MODULES.waiting)&&(RS_MODULES.waiting.push(o.waiting[p]),window.RS_MODULES.minimal=!1);if(o.toload!==t){var g="";for(p in RS_MODULES=RS_MODULES||{},RS_MODULES.requestedScripts=[],o.toload)o.toload.hasOwnProperty(p)&&(RS_MODULES!=t&&RS_MODULES[p]!=t&&!0===RS_MODULES[p].loaded||-1===e.inArray(p,RS_MODULES.requestedScripts)&&(RS_MODULES.requestedScripts.push(p),g+=o.toload[p]));""!==g&&e("body").append(g)}RS_MODULES!==t&&RS_MODULES.modules[o.htmlid]!=t||e("body").append(o.data),s&&a.showModalCover(n,l,"hide"),a[i]!==t&&a[i].openModalApiListener?e.fn.revolution.document.trigger("RS_OPENMODAL_"+i,r):e(document).on("RS_MODALOPENLISTENER_"+i,(function(t){e.fn.revolution.document.trigger("RS_OPENMODAL_"+i,r)}))}else s&&a.showModalCover(n,l,"hide")},error:function(e){s&&a.showModalCover(n,l,"hide"),console.log("Modal Can not be Loaded"),console.log(e)}})}},showModalCover:function(i,r,o){switch(o){case"show":var s;if(r.spin!==t&&"off"!==r.spin&&(s=a.buildSpinner(i,"spinner"+r.spin,r.spinc,"modalspinner")),r.bg!==t&&!1!==r.bg&&"false"!==r.bg&&"transparent"!==r.bg){var n=e('<rs-modal-cover data-alias="'+r.alias+'" data-rid="'+i+'" id="'+i+'_modal_bg" style="display:none;opacity:0;background:'+r.bg+'"></rs-modal-cover>');e("body").append(n),r.speed=parseFloat(r.speed),r.speed=r.speed>200?r.speed/1e3:r.speed,r.speed=Math.max(Math.min(3,r.speed),.3),tpGS.gsap.to(n,r.speed,{display:"block",opacity:1,ease:"power3.inOut"}),a.isModalOpen=!0,s!==t&&n.append(s)}else s!==t&&a[i].c.append(s);break;case"hide":(n=e('rs-modal-cover[data-alias="'+r.alias+'"] .modalspinner'))!==t&&n.length>0?n.remove():i!==t&&a[i].c.find(".modalspinner").remove()}},revModal:function(i,r){if(i!==t&&a[i]!==t&&"clicked"!==a[i].modal.closeProtection){if(!0===a[i].modal.closeProtection)return a[i].modal.closeProtection,void setTimeout((function(){a[i].modal.closeProtection=!1,a.revModal(i,r)}),750);switch(a[i].modal.lastModalCall=r.mode,r.mode){case"show":if(!0===a[i].modal.isLive)return;if(!0===a.anyModalclosing)return;a.document.trigger("RS_MODALOPENED"),a[i].modal.isLive=!0,r.slide=r.slide===t?"to0":r.slide,a[i].modal.bodyclass!==t&&a[i].modal.bodyclass.length>=0&&document.body.classList.add(a[i].modal.bodyclass),a[i].modal.bg.attr("data-rid",i),tpGS.gsap.to(a[i].modal.bg,a[i].modal.coverSpeed,{display:"block",opacity:1,ease:"power3.inOut"}),tpGS.gsap.set(a[i].modal.c,{display:"auto"===a[i].sliderLayout?"inline-block":"block",opacity:0}),a[i].cpar.removeClass("hideallscrollbars"),tpGS.gsap.set(a[i].cpar,{display:"block",opacity:1});var o={a:0};a.isModalOpen=!0,a[i].clearModalBG=!0,"carousel"===a[i].sliderType&&a[i].pr_active_bg!==t&&a[i].pr_active_bg.length>0&&tpGS.gsap.to(a[i].pr_active_bg,.5,{opacity:1}),tpGS.gsap.fromTo(o,a[i].modal.coverSpeed/5,{a:0},{a:10,ease:"power3.inOut",onComplete:function(){if(a.openModalId=i,a[i].sliderisrunning){if("to0"!==r.slide&&(a[i].startedWithOtherSlide=!0),"carousel"===a[i].sliderType&&"all"===a[i].carousel.showLayersAllTime)for(var e=0;e<a[i].slides.length;e++){var t=a[i].slides[e].dataset.key;e!==r.slide&&a[i].layers&&a[i].layers[t]&&0!==a[i].layers[t].length&&a.animateTheLayers({slide:e,id:i,mode:"start"})}a.callingNewSlide(i,r.slide)}else"to0"!==r.slide&&(a[i].startWithSlideKey=r.slide),h(i)}}),setTimeout((function(){tpGS.gsap.fromTo([a[i].modal.c],.01,{opacity:0},{opacity:1,delay:a[i].modal.coverSpeed/4,ease:"power3.inOut",onComplete:function(){}}),window.overscrollhistory=document.body.style.overflow,a[i].modal.allowPageScroll||(document.body.style.overflow="hidden"),"fullscreen"===a[i].sliderLayout&&a.getWindowDimension()}),250),"fullscreen"!==a[i].sliderLayout&&a.getWindowDimension();break;case"close":if(!0===a.anyModalclosing)return;a.anyModalclosing=!0,a.openModalId=t,k(i),document.body.style.overflow=window.overscrollhistory,a[i].cpar.addClass("hideallscrollbars"),a[i].c.trigger("stoptimer"),a[i].modal.bodyclass!==t&&a[i].modal.bodyclass.length>=0&&document.body.classList.remove(a[i].modal.bodyclass),tpGS.gsap.to(a[i].modal.bg,a[i].modal.coverSpeed,{display:"none",opacity:0,ease:"power3.inOut"}),tpGS.gsap.to(a[i].modal.c,a[i].modal.coverSpeed/6.5,{display:"none",delay:a[i].modal.coverSpeed/4,opacity:0,onComplete:function(){tpGS.gsap.set(a[i].cpar,{display:"none",opacity:0}),a.document.trigger("revolution.all.resize"),a.document.trigger("revolution.modal.close",[a[i].modal]),a.getWindowDimension(),a.isModalOpen=!1}}),a[i].modal.closeProtection=!0,clearTimeout(a[i].modal.closeTimer),a[i].modal.closeTimer=setTimeout((function(){a.anyModalclosing=!1,a[i].modal.isLive=!1,a[i].modal.closeProtection=!1}),Math.max(750,1020*a[i].modal.coverSpeed));break;case"init":if(window.RS_60_MODALS=window.RS_60_MODALS===t?[]:window.RS_60_MODALS,-1===e.inArray(a[i].modal.alias,window.RS_60_MODALS)&&window.RS_60_MODALS.push(a[i].modal.alias),a[i].modal.listener===t&&(a[i].modal.c=e("#"+i+"_modal"),!1!==a[i].modal.cover&&"false"!==a[i].modal.cover||(a[i].modal.coverColor="transparent"),a[i].modal.bg=e('rs-modal-cover[data-alias="'+a[i].modal.alias+'"]'),a[i].modal.bg===t||0===a[i].modal.bg.length?(a[i].modal.bg=e('<rs-modal-cover style="display:none;opacity:0;background:'+a[i].modal.coverColor+'" data-rid="'+i+'" id="'+i+'_modal_bg"></rs-modal-cover>'),"auto"===a[i].sliderLayout&&a[i].modal.cover?e("body").append(a[i].modal.bg):a[i].modal.c.append(a[i].modal.bg)):a[i].modal.bg.attr("data-rid",i),a[i].modal.c[0].className+="rs-modal-"+a[i].sliderLayout,a[i].modal.calibration={left:"auto"===a[i].sliderLayout?"center"===a[i].modal.horizontal?"50%":"left"===a[i].modal.horizontal?"0px":"auto":"0px",right:"auto"===a[i].sliderLayout&&("center"===a[i].modal.horizontal||"left"===a[i].modal.horizontal)?"auto":"0px",top:"auto"===a[i].sliderLayout||"fullwidth"===a[i].sliderLayout?"middle"===a[i].modal.vertical?"50%":"top"===a[i].modal.vertical?"0px":"auto":"0px",bottom:!("auto"!==a[i].sliderLayout&&"fullwidth"!==a[i].sliderLayout||"middle"!==a[i].modal.vertical&&"top"!==a[i].modal.vertical)?"auto":"0px",y:("auto"===a[i].sliderLayout||"fullwidth"===a[i].sliderLayout)&&"middle"===a[i].modal.vertical?"-50%":0,x:"auto"===a[i].sliderLayout&&"center"===a[i].modal.horizontal?"-50%":0},"-50%"===a[i].modal.calibration.y&&(a[i].modal.calibration.filter="blur(0px)"),tpGS.gsap.set(a[i].modal.c,"auto"===a[i].sliderLayout||"fullscreen"===a[i].sliderLayout?e.extend(!0,a[i].modal.calibration,{opacity:0,display:"none"}):{opacity:0,display:"none"}),"fullwidth"===a[i].sliderLayout&&tpGS.gsap.set(a[i].modal.c.find("rs-module-wrap"),a[i].modal.calibration),a.document.on("RS_OPENMODAL_"+a[i].modal.alias,(function(e,r){e!==t&&e.detail!==t&&e.detail.slide!==t&&r==t&&(r=e.detail.slide),a[i].initEnded=!0,a.revModal(i,{mode:"show",slide:r})})),a[a[i].modal.alias]=a[a[i].modal.alias]||{},a[a[i].modal.alias].openModalApiListener=!0,a.document.trigger("RS_MODALOPENLISTENER_"+a[i].modal.alias),a.document.on("click","rs-modal-cover",(function(){a.revModal(a.gA(this,"rid"),{mode:"close"})})),a[i].modal.listener=!0,a[i].modal.trigger!==t)){var s,n=a[i].modal.trigger.split(";");for(o in a[i].modal.trigger={},n)if(n.hasOwnProperty(o))switch((s=n[o].split(":"))[0]){case"t":a[i].modal.trigger.time=parseInt(s[1],0);break;case"s":a[i].modal.trigger.scroll=s[1];break;case"so":a[i].modal.trigger.scrollo=parseInt(s[1],0);break;case"e":a[i].modal.trigger.event=s[1];break;case"ha":a[i].modal.trigger.hash=s[1];break;case"co":a[i].modal.trigger.cookie=s[1]}var l=!0;if(a[i].modal.trigger.cookie!==t?l="true"!==a.getCookie(a[i].modal.alias+"_modal_one_time"):"true"==a.getCookie(a[i].modal.alias+"_modal_one_time")&&a.setCookie(a[i].modal.alias+"_modal_one_time",!1,10),l&&(a[i].modal.trigger.time!==t&&0!==a[i].modal.trigger.time&&(a[i].modal.trigger.cookie!==t&&a.setCookie(a[i].modal.alias+"_modal_one_time",!0,a[i].modal.trigger.cookie),setTimeout((function(){a.document.trigger("RS_OPENMODAL_"+a[i].modal.alias)}),a[i].modal.trigger.time)),a[i].modal.trigger.scrollo!==t||a[i].modal.trigger.scroll!==t)){a[i].modal.trigger.scroll!==t&&e(a[i].modal.trigger.scroll)[0]!==t&&(a[i].modal.trigger.scroll=e(a[i].modal.trigger.scroll)[0]);var d=function(){if(a[i].modal.trigger.scroll!==t)var e="string"==typeof a[i].modal.trigger.scroll?document.getElementById(a[i].modal.trigger.scroll):"object"==typeof a[i].modal.trigger.scroll?a[i].modal.trigger.scroll:t,r=e!==t&&null!==e?a[i].modal.trigger.scroll.getBoundingClientRect():t;(a[i].modal.trigger.scroll!==t&&r!==t&&Math.abs(r.top+(r.bottom-r.top)/2-a.getWinH(i)/2)<50||a[i].modal.trigger.scrollo!==t&&Math.abs(a[i].modal.trigger.scrollo-(a.scrollY!==t?a.scrollY:window.scrollY))<100)&&(a.document.trigger("RS_OPENMODAL_"+a[i].modal.alias),a[i].modal.trigger.cookie!==t&&a.setCookie(a[i].modal.alias+"_modal_one_time",!0,a[i].modal.trigger.cookie),document.removeEventListener("scroll",d))};document.addEventListener("scroll",d,{id:i,passive:!0})}a[i].modal.trigger.event!==t&&a.document.on(a[i].modal.trigger.event,(function(){a.document.trigger("RS_OPENMODAL_"+a[i].modal.alias)})),"t"==a[i].modal.trigger.hash&&window.location.hash.substring(1)==a[i].modal.alias&&a.document.trigger("RS_OPENMODAL_"+a[i].modal.alias)}}}},smartConvertDivs:function(e){var t="";if("string"==typeof e&&e.indexOf("#")>=0){var i=e.split(","),a=i.length-1;for(var r in i)t="string"==typeof i[r]&&"#"===i[r][0]?t+i[r][1]/i[r][3]*100+"%"+(r<a?",":""):t+i[r]+(r<a?",":"")}else t=e;return t},revToResp:function(e,i,a,r){if((e=e===t?a:e)!==t){if(r=r===t?",":r,"boolean"!=typeof e&&("object"!=typeof e||Array.isArray(e))){try{e=e.replace(/[[\]]/g,"").replace(/\'/g,"").split(r)}catch(e){}for(e=Array.isArray(e)?e:[e];e.length<i;)e[e.length]=e[e.length-1]}return e}},loadImages:function(i,r,o,s){if(i!==t&&0!==i.length){var n=[];if(Array.isArray(i))for(var l in i)i.hasOwnProperty(l)&&i[l]!==t&&n.push(i[l]);else n.push(i);for(var d in n)if(n.hasOwnProperty(d)){var c=n[d].querySelectorAll("img, rs-sbg, .rs-svg"),p=a[r].lazyOnBg?n[d].querySelectorAll("rs-bg-elem, rs-column, rs-layer"):[];for(var l in c)if(c.hasOwnProperty(l)){c[l]!==t&&c[l].dataset!==t&&c[l].dataset.src!==t&&c[l].dataset.src.indexOf("dummy.png")>=0&&c[l].src.indexOf("data")>=0&&delete c[l].dataset.src,c[l]?.dataset?.srcRsRef&&(c[l].dataset.srcRsRef=c[l].dataset.srcRsRef.replace("/revslider/public/assets/assets/svg/","/revslider/public/assets/svg/")),c[l]?.dataset?.svg_src&&(c[l].dataset.svg_src=c[l].dataset.svg_src.replace("/revslider/public/assets/assets/svg/","/revslider/public/assets/svg/"));var u=g(c[l],t,r),h=u!==t?u:a.gA(c[l],"svg_src")!=t?a.gA(c[l],"svg_src"):c[l].src===t?e(c[l]).data("src"):c[l].src,m=a.gA(c[l],"svg_src")!=t?"svg":"img";h!==t&&a[r].loadqueue!==t&&0==a[r].loadqueue.filter((function(e){return e.src===h})).length&&a[r].loadqueue.push({src:h,img:c[l],index:l,starttoload:Date.now(),type:m||"img",prio:o,progress:c[l].complete&&h===c[l].src?"loaded":"prepared",static:s,width:c[l].complete&&h===c[l].src?c[l].width:t,height:c[l].complete&&h===c[l].src?c[l].height:t})}for(var l in p)p.hasOwnProperty(l)&&p[l]!==t&&p[l].dataset!==t&&p[l].dataset.bglazy!==t&&p[l].style.backgroundImage.indexOf("dummy.png")>=0&&(p[l].style.backgroundImage='url("'+p[l].dataset.bglazy+'")');p[l]!==t&&p[l].dataset!==t&&p[l].dataset.bglazy!==t&&p[l].style.backgroundImage.indexOf("dummy.png")>=0&&(p[l].style.backgroundImage='url("'+p[l].dataset.bglazy+'")')}!a[r].cparBgChecked&&a[r].cpar[0]!==t&&a[r].cpar[0].dataset!==t&&a[r].cpar[0].dataset.bglazy!==t&&a[r].cpar[0].style.backgroundImage.indexOf("dummy.png")>=0&&(a[r].cparBgChecked=!0,a[r].cpar[0].style.backgroundImage='url("'+a[r].cpar[0].dataset.bglazy+'")'),_(r)}},waitForCurrentImages:function(i,r,o){if(i!==t&&0!==i.length&&a[r]!==t){var s=!1,n=[];if(Array.isArray(i))for(var l in i)i.hasOwnProperty(l)&&i[l]!==t&&n.push(i[l]);else n.push(i);for(var d in n)if(n.hasOwnProperty(d)){var c=n[d].querySelectorAll("img, rs-sbg, .rs-svg");for(l in c)if(c.hasOwnProperty(l)&&"length"!==l&&!(c[l].className.indexOf("rs-pzimg")>=0)){var p=e(c[l]).data(),u=g(c[l],t,r),h=u!==t?u:a.gA(c[l],"svg_src")!=t?a.gA(c[l],"svg_src"):c[l].src===t?p.src:c[l].src,m=a.getLoadObj(r,h);if(a.sA(c[l],"src-rs-ref",h),p.loaded===t&&m!==t&&m.progress&&"loaded"==m.progress){if("img"==m.type){if(c[l].src.slice(c[l].src.length-10)!==m.src.slice(m.src.length-10)&&(c[l].src=m.src),p.slidebgimage){-1==m.src.indexOf("images/transparent.png")&&-1==m.src.indexOf("assets/transparent.png")||p.bgcolor===t||p.bgcolor!==t&&"transparent"!==p.bgcolor&&(m.bgColor=!0,m.useBGColor=!0),a.sA(n[d],"owidth",m.width),a.sA(n[d],"oheight",m.height);var v=a.getByTag(n[d],"RS-SBG-WRAP"),f=a.gA(n[d],"key");if(a[r].sbgs[f].loadobj=m,v.length>0&&(a.sA(v[0],"owidth",m.width),a.sA(v[0],"oheight",m.height)),"carousel"===a[r].sliderType){var y=e(v),w=a.getSlideIndex(r,f);(a[r].carousel.justify&&a[r].carousel.slide_widths===t||a[r].carousel.slide_width===t)&&a.setCarouselDefaults(r,!0),y.data("panzoom")===t||a[r].panzoomTLs!==t&&a[r].panzoomTLs[w]!==t||a.startPanZoom(y,r,0,w,"prepare",f),a[r].sbgs[f].isHTML5&&!a[r].sbgs[f].videoisplaying&&(a[r].sbgs[f].video=a[r].sbgs[f].loadobj.img),n[d].getAttribute("data-iratio")!==t&&!n[d].getAttribute("data-iratio")&&m.img&&m.img.naturalWidth&&(n[d].setAttribute("data-iratio",m.img.naturalWidth/m.img.naturalHeight),a.setCarouselDefaults(r,"redraw",!0),!0===a[r].carousel.ocfirsttun&&a.organiseCarousel(r,"right",!0,!1,!1)),a.updateSlideBGs(r,f,a[r].sbgs[f])}}}else"svg"==m.type&&"loaded"==m.progress&&(c[l].innerHTML=m.innerHTML);p.loaded=!0}m&&m.progress&&m.progress.match(/inprogress|inload|prepared/g)&&(!m.error&&Date.now()-m.starttoload<15e3?s=!0:(m.progress="failed",m.reported_img||(m.reported_img=!0,console.log(h+"  Could not be loaded !")))),1!=a[r].youtubeapineeded||window.YT&&YT.Player!=t||(s=x("youtube",r)),1!=a[r].vimeoapineeded||window.Vimeo||(s=x("vimeo",r))}}e.each(a[r].loadqueue,(function(e,t){!0===t.static&&("loaded"!=t.progress&&"done"!==t.progress||"failed"===t.progress)&&("failed"!=t.progress||t.reported?!t.error&&Date.now()-t.starttoload<5e3?s=!0:t.reported||(t.reported=S(t.src,t.error)):t.reported=S(t.src,t.error))})),s?tpGS.gsap.delayedCall(.02,a.waitForCurrentImages,[i,r,o]):o!==t&&tpGS.gsap.delayedCall(1e-4,o)}},updateVisibleArea:function(e){for(var i in a[e].viewPort.visible_area=a.revToResp(a[e].viewPort.visible_area,a[e].rle,"0px"),a[e].viewPort.vaType=new Array(4),a[e].viewPort.visible_area)a[e].viewPort.visible_area.hasOwnProperty(i)&&(!1===a[e].viewPort.local&&!0===a[e].viewPort.global?(a[e].viewPort.vaType[i]=a[e].viewPort.globalDist.indexOf("%")>=0?"%":"px",a[e].viewPort.visible_area[i]=parseInt(a[e].viewPort.globalDist)):(a.isNumeric(a[e].viewPort.visible_area[i])&&(a[e].viewPort.visible_area[i]+="%"),a[e].viewPort.visible_area[i]!==t&&(a[e].viewPort.vaType[i]=a[e].viewPort.visible_area[i].indexOf("%")>=0?"%":"px"),a[e].viewPort.visible_area[i]=parseInt(a[e].viewPort.visible_area[i],0)),a[e].viewPort.visible_area[i]="%"==a[e].viewPort.vaType[i]?a[e].viewPort.visible_area[i]/100:a[e].viewPort.visible_area[i])},observeFonts:function(e,i,r){r=r===t?0:r,a.fonts===t&&(a.fonts={},a.monoWidth=l("monospace"),a.sansWidth=l("sans-serif"),a.serifWidth=l("serif")),r++;var o=a.fonts[e];!0!==a.fonts[e]&&(a.fonts[e]=a.monoWidth!==l(e+",monospace")||a.sansWidth!==l(e+",sans-serif")||a.serifWidth!==l(e+",serif")),100===r||(!1===o||o===t)&&!0===a.fonts[e]?(l(e+",monospace",!0),l(e+",sans-serif",!0),l(e+",serif",!0),i()):setTimeout((function(){a.observeFonts(e,i,r)}),19)},getversion:function(){return i},currentSlideIndex:function(e){return a[e].pr_active_key},iOSVersion:function(){return!!(navigator.userAgent.match(/iPhone/i)||navigator.userAgent.match(/iPod/i)||navigator.userAgent.match(/iPad/i))&&navigator.userAgent.match(/OS 4_\d like Mac OS X/i)},setIsIOS:function(){a.isiPhone=/iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream,a.isIOS=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream||"MacIntel"===navigator.platform&&void 0!==navigator.standalone},setIsChrome8889:function(){a.isChrome8889=a.isChrome8889===t?navigator.userAgent.indexOf("Chrome/88")>=0||navigator.userAgent.indexOf("Chrome/89")>=0:a.isChrome8889},isIE:function(){if(a.isIERes===t){var i=e('<div style="display:none;"/>').appendTo(e("body"));i.html("\x3c!--[if IE 8]><a>&nbsp;</a><![endif]--\x3e"),a.isIERes=i.find("a").length,i.remove()}return a.isIERes},is_mobile:function(){var e=["android","webos","iphone","ipad","blackberry","Android","webos","iPod","iPhone","iPad","Blackberry","BlackBerry"],i=!1;if(window.orientation!==t)i=!0;else for(var a in e)e.hasOwnProperty(a)&&(i=!!(i||navigator.userAgent.split(e[a]).length>1)||i);return i&&document.body&&-1===document.body.className.indexOf("rs-ISM")&&(document.body.className+=" rs-ISM"),i},is_android:function(){var e=["android","Android"],t=!1;for(var i in e)e.hasOwnProperty(i)&&(t=!!(t||navigator.userAgent.split(e[i]).length>1)||t);return t},callBackHandling:function(t,i,r){a[t].callBackArray&&e.each(a[t].callBackArray,(function(e,t){t&&t.inmodule&&t.inmodule===i&&t.atposition&&t.atposition===r&&t.callback&&t.callback.call()}))},get_browser:function(){var e,t=navigator.userAgent,i=t.match(/(opera|chrome|safari|firefox|msie|trident(?=\/))\/?\s*(\d+)/i)||[];return/trident/i.test(i[1])?(e=/\brv[ :]+(\d+)/g.exec(t)||[],"IE"):"Chrome"===i[1]&&null!=(e=t.match(/\b(OPR|Edge)\/(\d+)/))?e[1].replace("OPR","Opera"):(i=i[2]?[i[1],i[2]]:[navigator.appName,navigator.appVersion,"-?"],null!=(e=t.match(/version\/(\d+)/i))&&i.splice(1,1,e[1]),i[0])},get_browser_version:function(){var e,t=navigator.appName,i=navigator.userAgent,a=i.match(/(edge|opera|chrome|safari|firefox|msie)\/?\s*(\.?\d+(\.\d+)*)/i);return a&&null!=(e=i.match(/version\/([\.\d]+)/i))&&(a[2]=e[1]),(a=a?[a[1],a[2]]:[t,navigator.appVersion,"-?"])[1]},isFaceBook:function(){return a.isFaceBookApp==t&&(a.isFaceBookApp=navigator.userAgent||navigator.vendor||window.opera,a.isFaceBookApp=a.isFaceBookApp.indexOf("FBAN")>-1||a.isFaceBookApp.indexOf("FBAV")>-1),a.isFaceBookApp},isFirefox:function(e){return a[e].isFirefox=a[e].isFirefox===t?"Firefox"===a.get_browser():a[e].isFirefox,a.isFF=a[e].isFirefox,a[e].isFirefox},isSafari11:function(){return"safari"===a.trim(a.get_browser().toLowerCase())&&parseFloat(a.get_browser_version())>=11},isWebkit:function(){var e=/(webkit)[ \/]([\w.]+)/.exec(navigator.userAgent.toLowerCase());return e&&e[1]&&"webkit"===e[1]},isIE11:function(){return a.IE11=a.IE11===t?!!navigator.userAgent.match(/Trident.*rv\:11\./):a.IE11,a.IE11},checkBackdrop:function(){var e=document.createElement("div");e.style.cssText="-webkit-backdrop-filter: blur(2px)";var i=0!=e.style.length,r=document.documentMode===t||document.documentMode>9;i&&r||(e.style.cssText="backdrop-filter: blur(2px)",i=0!=e.style.length),e=null,a.useBackdrop=i&&r},deepLink:function(e,i){if(i!==t){var r=parseInt(i.toString().replace(/^slide/,"").replace("-",""),10);if(isNaN(r))for(var o in a[e].slides)if(a[e].slides.hasOwnProperty(o)&&a.gA(a[e].slides[o],"deeplink")===i){r=parseInt(a.gA(a[e].slides[o],"originalindex"),10);break}return isNaN(r)||r<1||r>a[e].realslideamount?void 0:r}},getHorizontalOffset:function(e,t){var i=d(e,".outer-left"),a=d(e,".outer-right");return"left"==t?i:"right"==t?a:"all"==t?{left:i,right:a,both:i+a,inuse:i+a!=0}:i+a},getComingSlide:function(e,i){var r=a[e].pr_next_key!==t?a[e].pr_next_key:a[e].pr_processing_key!==t?a[e].pr_processing_key:a[e].pr_active_key,o=0;if(o=0,a[e].pr_active_slide!==t&&"true"==a.gA(a[e].pr_active_slide[0],"not_in_nav")&&(r=a[e].pr_lastshown_key),i!==t&&a.isNumeric(i)||i!==t&&i.match(/to/g))o=1===i||-1===i?parseInt(r,0)+i<0?a[e].slideamount-1:parseInt(r,0)+i>=a[e].slideamount?0:parseInt(r,0)+i:(i=a.isNumeric(i)?i:parseInt(i.split("to")[1],0))<0?0:i>a[e].slideamount-1?a[e].slideamount-1:i;else if(i)for(var s in a[e].slides)a[e].slides.hasOwnProperty(s)&&(o=a[e].slides&&a[e].slides[s]&&(a.gA(a[e].slides[s],"key")===i||a[e].slides[s].id===i)?s:o);return{nindex:o,aindex:r}},callingNewSlide:function(e,i,r,o){var s=a.getComingSlide(e,i);a[e].pr_next_key=s.nindex,a[e].sdir="bullet"!==a[e].sc_indicator&&a[e].pr_active_key==a[e].slideamount-1&&0==a[e].pr_next_key?0:a[e].pr_next_key<a[e].pr_active_key?1:0,r&&a[e].carousel!==t&&(a[e].carousel.focused=a[e].pr_next_key),"carousel"===a[e].sliderType&&a[e].startedWithOtherSlide&&(a[e].carousel.focused=a[e].pr_next_key,delete a[e].startedWithOtherSlide),a[e].ctNavElement?a[e].ctNavElement=!1:a[e].c.trigger("revolution.nextslide.waiting"),(a[e].started&&s.aindex===a[e].pr_next_key&&s.aindex===a[e].pr_lastshown_key||a[e].pr_next_key!==s.aindex&&-1!=a[e].pr_next_key&&a[e].pr_lastshown_key!==t)&&R(e,r,o)},getLoadObj:function(e,i){var r=a[e].loadqueue!==t&&a[e].loadqueue.filter((function(e){return e.src===i}))[0];return r===t?{src:i}:r},getResponsiveLevel:function(e){var t=9999,i=0,r=0,o=0;if(a[e].responsiveLevels&&a[e].responsiveLevels.length)for(var s in a[e].responsiveLevels)a[e].responsiveLevels.hasOwnProperty(s)&&(a.winWAll<a[e].responsiveLevels[s]&&(0==i||i>parseInt(a[e].responsiveLevels[s]))&&(t=parseInt(a[e].responsiveLevels[s]),o=parseInt(s),i=parseInt(a[e].responsiveLevels[s])),a.winWAll>a[e].responsiveLevels[s]&&i<a[e].responsiveLevels[s]&&(i=parseInt(a[e].responsiveLevels[s]),r=parseInt(s)));return i<t?r:o},getSizeMultpilicator:function(e,t,i){var r={h:0,w:0};return a[e].justifyCarousel?r.h=r.w=1:(r.w=i.width/a[e].gridwidth[a[e].level],r.h=i.height/a[e].gridheight[a[e].level],r.w=isNaN(r.w)?1:r.w,r.h=isNaN(r.h)?1:r.h,1==a[e].enableUpscaling?r.h=r.w:(r.h>r.w?r.h=r.w:r.w=r.h,(r.h>1||r.w>1)&&(r.w=1,r.h=1))),r},updateDims:function(e,i){var r=a[e].pr_processing_key||a[e].pr_active_key||0,o=a[e].pr_active_key||0,s=a[e].modal!==t&&a[e].modal.useAsModal,n=s?a.winWAll:a.winW,l=!1;if(a[e].lastScrollBarWidth=a.scrollBarWidth,a[e].redraw=a[e].redraw===t?{}:a[e].redraw,a[e].module=a[e].module===t?{}:a[e].module,a[e].canv=a[e].canv===t?{}:a[e].canv,a[e].content=a[e].content===t?{}:a[e].content,a[e].drawUpdates={c:{},cpar:{},canv:{}},"carousel"==a[e].sliderType?a[e].module.margins={top:parseInt(a[e].carousel.padding_top||0,0),bottom:parseInt(a[e].carousel.padding_bottom||0,0)}:a[e].module.margins={top:0,bottom:0},a[e].module.paddings===t&&(a[e].module.paddings={top:parseInt(a[e].cpar.css("paddingTop"),0)||0,bottom:parseInt(a[e].cpar.css("paddingBottom"),0)||0}),a[e].blockSpacing!==t?(a[e].block={bottom:a[e].blockSpacing.bottom!==t?parseInt(a[e].blockSpacing.bottom[a[e].level],0):0,top:a[e].blockSpacing.top!==t?parseInt(a[e].blockSpacing.top[a[e].level],0):0,left:a[e].blockSpacing.left!==t?parseInt(a[e].blockSpacing.left[a[e].level],0):0,right:a[e].blockSpacing.right!==t?parseInt(a[e].blockSpacing.right[a[e].level],0):0},a[e].block.hor=a[e].block.left+a[e].block.right,a[e].block.ver=a[e].block.top+a[e].block.bottom):a[e].block===t&&(a[e].block={top:0,left:0,right:0,bottom:0,hor:0,ver:0}),a[e].blockSpacing!==t){var d={paddingLeft:a[e].block.left,paddingRight:a[e].block.right,marginTop:a[e].block.top,marginBottom:a[e].block.bottom},c=JSON.stringify(d);d!==a[e].emptyObject&&c!==a[e].caches.setsizeBLOCKOBJ&&(tpGS.gsap.set(a[e].blockSpacing.block,d),a[e].caches.setsizeBLOCKOBJ=c,l=!0)}if(a[e].levelForced=a[e].level=a.getResponsiveLevel(e),a[e].rowHeights=a.getRowHeights(e),a[e].aratio=a[e].gridheight[a[e].level]/a[e].gridwidth[a[e].level],a[e].module.width="auto"===a[e].sliderLayout||1==a[e].disableForceFullWidth?a[e].cpar.width():n-a[e].block.hor,a[e].outNavDims=a.getOuterNavDimension(e),a[e].canv.width=a[e].module.width-a[e].outNavDims.horizontal-(s?a.scrollBarWidth:0),s&&"auto"===a[e].sliderLayout&&(a[e].canv.width=Math.min(a[e].gridwidth[a[e].level],n)),"fullscreen"===a[e].sliderLayout||a[e].infullscreenmode){var p=a.getWinH(e)-(!0===a[e].modal.useAsModal?0:a.getFullscreenOffsets(e));a[e].canv.height=Math.max(a[e].rowHeights.cur,Math.max(p-a[e].outNavDims.vertical,a[e].minHeight)),"carousel"===a[e].sliderType&&"v"!==a[e].carousel.orientation&&(a[e].canv.height=a[e].canv.height-parseInt(a[e].carousel.padding_top)-parseInt(a[e].carousel.padding_bottom)),o!==r&&(a[e].currentSlideHeight=Math.max(a[e].rowHeights.last,Math.max(p-a[e].outNavDims.vertical,a[e].minHeight)),a[e].redraw.maxHeightOld=!0),a[e].drawUpdates.c.height="100%"}else a[e].canv.height=a[e].keepBPHeight?a[e].gridheight[a[e].level]:Math.round(a[e].canv.width*a[e].aratio),a[e].canv.height=a[e].autoHeight?a[e].canv.height:Math.min(a[e].canv.height,a[e].gridheight[a[e].level]),a[e].carousel.prevNextVisCalculated="carousel"==a[e].sliderType&&"v"==a[e].carousel.orientation?"%"==a[e].carousel.prevNextVisType?a[e].canv.height*a[e].carousel.prevNextVis:a[e].carousel.prevNextVis:0,a[e].canv.height=Math.max(Math.max(a[e].rowHeights.cur,a[e].canv.height),a[e].minHeight)+a[e].carousel.prevNextVisCalculated,"carousel"==a[e].sliderType&&"v"==a[e].carousel.orientation&&(a[e].canv.height=Math.min(a[e].canv.height,a.winH)),a[e].drawUpdates.c.height=a[e].canv.height;"fullscreen"!==a[e].sliderLayout&&"fullwidth"!==a[e].sliderLayout||(a[e].canv.width-=a[e].cpar.outerWidth()-a[e].cpar.width(),"fullscreen"===a[e].sliderLayout&&(a[e].canv.height-=a[e].cpar.outerHeight()-a[e].cpar.height())),a[e].module.height=a[e].canv.height,"fullwidth"!=a[e].sliderLayout||a[e].fixedOnTop||(a[e].drawUpdates.c.maxHeight=0!=a[e].maxHeight?Math.min(a[e].canv.height,a[e].maxHeight):a[e].canv.height),a[e].CM=a.getSizeMultpilicator(e,a[e].enableUpscaling,{width:a[e].canv.width,height:a[e].canv.height}),a[e].content.width=a[e].gridwidth[a[e].level]*a[e].CM.w,a[e].content.height=Math.round(Math.max(a[e].rowHeights.cur,a[e].gridheight[a[e].level]*a[e].CM.h));var g=a[e].module.margins.top+a[e].module.margins.bottom+("fullscreen"===a[e].sliderLayout?0:a[e].outNavDims.vertical)+a[e].canv.height+a[e].module.paddings.top+a[e].module.paddings.bottom;a[e].drawUpdates.cpar.height=g,a[e].drawUpdates.cpar.width="auto"===a[e].sliderLayout?"auto":a[e].module.width,"auto"===a[e].sliderLayout||"fullscreen"===a[e].sliderLayout&&!0===a[e].disableForceFullWidth||a[e].rsFullWidthWrap===t?"fullscreen"==a[e].sliderLayout&&1==a[e].disableForceFullWidth&&(a[e].drawUpdates.cpar.left=0):a[e].drawUpdates.cpar.left=0-Math.ceil(a[e].rsFullWidthWrap.offset().left-(a[e].outNavDims.left+a[e].block.left)),a[e].sbtimeline.set&&a[e].sbtimeline.fixed?(a[e].sbtimeline.extended===t&&a.updateFixedScrollTimes(e),a[e].forcerHeight=2*g+a[e].sbtimeline.extended,a[e].sbtimeline.pullc&&a[e].rsFullWidthWrap!==t&&null!==a[e].rsFullWidthWrap[0]&&requestAnimationFrame((function(){var t=a[e].rsFullWidthWrapMarginBottom+-1*a[e].forcerHeight;a[e].rsFullWidthWrap[0].style.marginBottom=(isNaN(t)?a[e].rsFullWidthBottomMarginPush:a[e].rsFullWidthBottomMarginPush+t)+"px"})),a[e].rsFullWidthWrap!==t&&null!==a[e].rsFullWidthWrap[0]&&"fullscreen"==a[e].sliderLayout&&(a[e].rsFullWidthBottomMarginPush=a.getFullscreenOffsets(e),a[e].rsFullWidthWrap[0].style.marginBottom=a[e].rsFullWidthBottomMarginPush+"px")):a[e].forcerHeight=g,a[e].forcerHeight!==a[e].caches.setsizeForcerHeight&&a[e].forcer!==t&&(a[e].caches.setsizeForcerHeight=a[e].forcerHeight,l=!0,a[e].redraw.forcer=!0),a[e].drawUpdates.c.width=a[e].canv.width,"auto"===a[e].sliderLayout&&(a[e].drawUpdates.c.left=a[e].outNavDims.left),a[e].drawUpdates.c!==a[e].emptyObject&&JSON.stringify(a[e].drawUpdates.c)!==a[e].caches.setsizeCOBJ&&(a[e].caches.setsizeCOBJ=JSON.stringify(a[e].drawUpdates.c),l=!0,a[e].redraw.c=!0),a[e].drawUpdates.cpar!==a[e].emptyObject&&JSON.stringify(a[e].drawUpdates.cpar)!==a[e].caches.setsizeCPAROBJ&&(a[e].caches.setsizeCPAROBJ=JSON.stringify(a[e].drawUpdates.cpar),l=!0,a[e].redraw.cpar=!0),s&&"auto"===a[e].sliderLayout&&a[e].caches.canWidth!==a[e].canv.width&&(a[e].caches.canWidth=a[e].canv.width,l=!0,a[e].redraw.modalcanvas=!0),a[e].slayers&&a[e].slayers.length>0&&a[e].outNavDims.left!==a[e].caches.outNavDimsLeft&&"fullwidth"!=a[e].sliderLayout&&"fullscreen"!=a[e].sliderLayout&&(a[e].caches.outNavDimsLeft=a[e].outNavDims.left,a[e].redraw.slayers=!0),s&&a[e].modal.calibration!==t&&"middle"===a[e].modal.vertical&&(a[e].modal.calibration.top=a.getWinH(e)<g?"0%":"50%",a[e].modal.calibration.y=a.getWinH(e)<g?"0px":"-50%","fullwidth"===a[e].sliderLayout&&(l=!0,a[e].redraw.modulewrap=!0)),a[e].gridOffsetWidth=(a[e].module.width-a[e].gridwidth[a[e].level])/2,a[e].gridOffsetHeight=(a[e].module.height-a[e].content.height)/2,a[e].caches.curRowsHeight=a[e].currentRowsHeight=a[e].rowHeights.cur,a[e].caches.moduleWidth=a[e].width=a[e].module.width,a[e].caches.moduleHeight=a[e].height=a[e].module.height,a[e].caches.canWidth=a[e].conw=a[e].canv.width,a[e].caches.canHeight=a[e].conh=a[e].canv.height,a[e].bw=a[e].CM.w,a[e].bh=a[e].CM.h,a[e].caches.outNavDimsLeft=a[e].outNavDims.left,window.requestAnimationFrame((function(){a[e].redraw.forcer&&tpGS.gsap.set(a[e].forcer,{height:a[e].forcerHeight}),a[e].redraw.c&&tpGS.gsap.set(a[e].c,a[e].drawUpdates.c),a[e].redraw.cpar&&tpGS.gsap.set(a[e].cpar,a[e].drawUpdates.cpar),a[e].redraw.modalcanvas&&a[e]!==t&&(a[e].modal!==t&&a[e].modal.c!==t&&tpGS.gsap.set(a[e].modal.c,{width:a[e].canv.width}),a[e].canvas!==t&&tpGS.gsap.set(a[e].canvas,{width:a[e].canv.width})),a[e].redraw.maxHeightOld&&(a[e].slides[o].style.maxHeight=a[e].currentSlideHeight!==a[e].canv.height?a[e].currentSlideHeight+"px":"none"),a[e].redraw.slayers&&tpGS.gsap.set(a[e].slayers,{left:a[e].outNavDims.left}),a[e].redraw.modulewrap&&tpGS.gsap.set(a[e].modal.c.find("rs-module-wrap"),a[e].modal.calibration),!0!==a[e].navigation.initialised&&"prepared"===i&&("hero"!==a[e].sliderType&&a.createNavigation&&a[e].navigation.use&&!0!==a[e].navigation.createNavigationDone&&a.createNavigation(e),a.resizeThumbsTabs&&a.resizeThumbsTabs&&a[e].navigation.use&&a.resizeThumbsTabs(e)),a[e].rebuildProgressBar&&M(e),a.putRowsInPosition(e),a[e].redraw={}}));var u=a[e].inviewport&&(a[e].heightInLayers!==t&&a[e].module.height!==a[e].heightInLayers||a[e].widthInLayers!==t&&a[e].module.width!==a[e].widthInLayers);return"ignore"!==i&&u&&(a[e].heightInLayers=t,a[e].widthInLayers=t,"carousel"!==a[e].sliderType&&(a[e].pr_next_key!==t?a.animateTheLayers({slide:a[e].pr_next_key,id:e,mode:"rebuild",caller:"swapSlideProgress_1"}):a[e].pr_processing_key!==t?a.animateTheLayers({slide:a[e].pr_processing_key,id:e,mode:"rebuild",caller:"swapSlideProgress_2"}):a[e].pr_active_key!==t&&a.animateTheLayers({slide:a[e].pr_active_key,id:e,mode:"rebuild",caller:"swapSlideProgress_3"})),l=!0),l&&"ignore"!==i&&a.requestLayerUpdates(e,"enterstage"),a[e].module.height!==a[e].module.lastHeight&&(a[e].module.lastHeight=a[e].module.height,window.requestAnimationFrame((function(){window.innerHeight!==screen.height&&Math.round(window.innerHeight*window.devicePixelRatio)!==screen.height&&v(e,t,!1)}))),tpGS.gsap.delayedCall(.1,(function(){a[e].lastScrollBarWidth!==a.scrollBarWidth?(a.updateDims(e,"ignore"),v(e)):a.isModalOpen||a.scrollBarWidth===window.innerWidth-document.documentElement.clientWidth||a.rAfScrollbar===t&&(a.rAfScrollbar=requestAnimationFrame((function(){a.rAfScrollbar=t,a.getWindowDimension(e,!1)})))})),l},putMiddleZoneInPosition:function(e,i){a[e].middleZones==t||a[e].middleZones[i]==t||a[e].rowMiddleHeights==t||a[e].rowMiddleHeights[i]==t||a[e].caches.middleHeights[i]===a[e].rowMiddleHeights[i]&&a[e].caches.lastModuleHeight===a[e].module.height||(tpGS.gsap.set(a[e].middleZones[i],{top:Math.round(a[e].module.height/2-a[e].rowMiddleHeights[i]/2)}),a[e].caches.middleHeights[i]=a[e].rowMiddleHeights[i])},putRowsInPosition:function(e){var i=a[e].activeRSSlide||0,r=a[e].pr_processing_key;a.putMiddleZoneInPosition(e,i),i!==r&&r!==t&&a.putMiddleZoneInPosition(e,r),a[e].smiddleZones==t||a[e].rowMiddleHeights==t||a[e].rowMiddleHeights.static==t||a[e].caches.middleHeights.static===a[e].rowMiddleHeights.static&&a[e].caches.lastModuleHeight===a[e].module.height||(tpGS.gsap.set(a[e].smiddleZones[0],{top:Math.round(a[e].module.height/2-a[e].rowMiddleHeights.static/2)}),a[e].caches.middleHeights.static=a[e].rowMiddleHeights.static),a[e].caches.lastModuleHeight=a[e].module.height},getSlideIndex:function(e,t){var i=!1;for(var r in a[e].slides){if(!a[e].slides.hasOwnProperty(r)||!1!==i)continue;i=a.gA(a[e].slides[r],"key")===t?r:i}return!1===i?0:i},loadUpcomingContent:function(e){if("smart"==a[e].lazyType){var t=[],i=parseInt(a.getSlideIndex(e,a.gA(a[e].pr_next_slide[0],"key")),0),r=i-1<0?a[e].realslideamount-1:i-1,o=i+1==a[e].realslideamount?0:i+1;r!==i&&t.push(a[e].slides[r]),o!==i&&t.push(a[e].slides[o]),t.length>0&&(a.loadImages(t,e,2),a.waitForCurrentImages(t,e,(function(){})))}},lazyLoadAllSlides:function(e){if("all"==a[e].lazyType&&!0!==a[e].lazyLoad_AllDone&&(a[e].viewPort.enable&&a[e].inviewport||!a[e].viewPort.enable)){for(var t in a[e].slides)a[e].slides.hasOwnProperty(t)&&(a.loadImages(a[e].slides[t],e,t),a.waitForCurrentImages(a[e].slides[t],e,(function(){})));a[e].lazyLoad_AllDone=!0}},getFullscreenOffsets:function(i){var r=0;if(a[i].fullScreenOffsetContainer!=t){var o=(""+a[i].fullScreenOffsetContainer).split(",");for(var s in o)o.hasOwnProperty(s)&&(r+=e(o[s]).outerHeight(!0)||0)}return a[i].fullScreenOffset!=t&&(!a.isNumeric(a[i].fullScreenOffset)&&a[i].fullScreenOffset.split("%").length>1?r+=a.getWinH(i)*parseInt(a[i].fullScreenOffset,0)/100:a.isNumeric(parseInt(a[i].fullScreenOffset,0))&&(r+=parseInt(a[i].fullScreenOffset,0)||0)),a[i].fullScreenOffsetResult=r,r},unToggleState:function(e){if(e!==t)for(var i=0;i<e.length;i++)try{document.getElementById(e[i]).classList.remove("rs-tc-active")}catch(e){}},toggleState:function(e){if(e!==t)for(var i=0;i<e.length;i++)try{document.getElementById(e[i]).classList.add("rs-tc-active")}catch(e){}},swaptoggleState:function(e){if(e!=t&&e.length>0)for(var i=0;i<e.length;i++){var r=document.getElementById(e[i]);if(a.gA(r,"toggletimestamp")!==t&&(new Date).getTime()-a.gA(r,"toggletimestamp")<250)return;a.sA(r,"toggletimestamp",(new Date).getTime()),null!==r&&(r.className.indexOf("rs-tc-active")>=0?r.classList.remove("rs-tc-active"):r.classList.add("rs-tc-active"))}},lastToggleState:function(e){var i;if(e!==t)for(var a=0;a<e.length;a++){var r=document.getElementById(e[a]);i=!0===i||null!==r&&r.className.indexOf("rs-tc-active")>=0||i}return i},revCheckIDS:function(i,r){if(a.gA(r,"idcheck")===t){var o=r.id,s=e.inArray(r.id,window.RSANYID),n=-1;-1!==s&&(n=e.inArray(r.id,a[i].anyid),window.RSANYID_sliderID[s]===i&&-1===n||(r.id=r.id+"_"+Math.round(9999*Math.random()),console.log("Warning - ID:"+o+" exists already. New Runtime ID:"+r.id),s=n=-1)),-1===n&&a[i].anyid.push(r.id),-1===s&&(window.RSANYID.push(r.id),window.RSANYID_sliderID.push(i))}return a.sA(r,"idcheck",!0),r.id},buildSpinner:function(i,a,r,o){var s;if("off"!==a){o=o===t?"":o,r=r===t?"#ffffff":r;var n=parseInt(a.replace("spinner",""),10);if(isNaN(n)||n<6){var l='style="background-color:'+r+'"',d=o===t||3!==n&&4!=n?"":l;s=e("<rs-loader "+(o===t||1!==n&&2!=n?"":l)+' class="'+a+" "+o+'"><div '+d+' class="dot1"></div><div '+d+' class="dot2"></div><div '+d+' class="bounce1"></div><div '+d+' class="bounce2"></div><div '+d+' class="bounce3"></div></rs-loader>')}else{var c,p='<div class="rs-spinner-inner"';if(7===n)-1!==r.search("#")?(c=r.replace("#",""),c="rgba("+parseInt(c.substring(0,2),16)+", "+parseInt(c.substring(2,4),16)+", "+parseInt(c.substring(4,6),16)+", "):-1!==r.search("rgb")&&(c=r.substring(r.indexOf("(")+1,r.lastIndexOf(")")).split(",")).length>2&&(c="rgba("+c[0].trim()+", "+c[1].trim()+", "+c[2].trim()+", "),c&&"string"==typeof c&&(p+=' style="border-top-color: '+c+"0.65); border-bottom-color: "+c+"0.15); border-left-color: "+c+"0.65); border-right-color: "+c+'0.15)"');else 12===n&&(p+=' style="background:'+r+'"');p+=">";for(var g=[10,0,4,2,5,9,0,4,4,2][n-6],u=0;u<g;u++)u>0&&(p+=" "),p+='<span style="background:'+r+'"></span>';s=e('<rs-loader class="'+a+" "+o+'">'+(p+="</div>")+"</div></rs-loader>")}return s}},addStaticLayerTo:function(e,t,i){if(a[e].slayers.length<2){var r=document.createElement("rs-static-layers");r.className="rs-stl-"+t,r.appendChild(i[0]),a[e].c[0].appendChild(r),a[e].slayers.push(r)}else a[e].slayers[1].appendChild(i[0])}});var r=function(){return a.isIE11()?function(e,t){return e.querySelectorAll(t)}:function(e,t){return e.getElementsByTagName(t)}},o=function(e){a[e].responsiveLevels=a.revToResp(a[e].responsiveLevels,a[e].rle),a[e].visibilityLevels=a.revToResp(a[e].visibilityLevels,a[e].rle),a[e].responsiveLevels[0]=9999,a[e].rle=a[e].responsiveLevels.length||1,a[e].gridwidth=a.revToResp(a[e].gridwidth,a[e].rle),a[e].gridheight=a.revToResp(a[e].gridheight,a[e].rle),a[e].editorheight!==t&&(a[e].editorheight=a.revToResp(a[e].editorheight,a[e].rle)),a.updateDims(e)},s=function(t,i){var a=[];return e.each(t,(function(e,t){e!=i&&a.push(t)})),a},n=function(t,i,r){a[r].c.find(t).each((function(){var t=e(this);t.data("key")===i&&t.remove()}))},l=function(e,i){if(a["rsfont_"+e]==t&&(a["rsfont_"+e]=document.createElement("span"),a["rsfont_"+e].innerHTML=Array(100).join("wi"),a["rsfont_"+e].style.cssText=["position:absolute","width:auto","font-size:128px","left:-99999px"].join(" !important;"),a["rsfont_"+e].style.fontFamily=e,document.body.appendChild(a["rsfont_"+e])),i===t)return a["rsfont_"+e].clientWidth;document.body.removeChild(a["rsfont_"+e])},d=function(t,i){var a=0;return t.find(i).each((function(){var t=e(this);!t.hasClass("tp-forcenotvisible")&&a<t.outerWidth()&&(a=t.outerWidth())})),a},c=function(i){if(i===t||a[i]===t||a[i].c===t)return!1;if(a[i].cpar!==t&&a[i].cpar.data("aimg")!=t&&("enabled"==a[i].cpar.data("aie8")&&a.isIE(8)||"enabled"==a[i].cpar.data("amobile")&&a.ISM))a[i].c.html('<img class="tp-slider-alternative-image" src="'+a[i].cpar.data("aimg")+'">');else{window._rs_firefox13=!1,window._rs_firefox=a.isFirefox(),window._rs_ie=window._rs_ie===t?!e.support.opacity:window._rs_ie,window._rs_ie9=window._rs_ie9===t?9==document.documentMode:window._rs_ie9;var r=e.fn.jquery.split("."),o=parseFloat(r[0]),s=parseFloat(r[1]);1==o&&s<7&&a[i].c.html('<div style="text-align:center; padding:40px 0px; font-size:20px; color:#992222;"> The Current Version of jQuery:'+r+" <br>Please update your jQuery Version to min. 1.7 in Case you wish to use the Revolution Slider Plugin</div>"),o>1&&(window._rs_ie=!1),a[i].realslideamount=a[i].slideamount=0;var n=a.getByTag(a[i].canvas[0],"RS-SLIDE"),l=[];for(var d in a[i].notInNav=[],a[i].slides=[],n)n.hasOwnProperty(d)&&("on"==a.gA(n[d],"hsom")&&a.ISM?l.push(n[d]):(a.gA(n[d],"invisible")||1==a.gA(n[d],"invisible")?a[i].notInNav.push(n[d]):(a[i].slides.push(n[d]),a[i].slideamount++),a[i].realslideamount++,a.sA(n[d],"originalindex",a[i].realslideamount),a.sA(n[d],"origindex",a[i].realslideamount-1)));for(d in l)l.hasOwnProperty(d)&&l[d].remove();for(d in a[i].notInNav)a[i].notInNav.hasOwnProperty(d)&&(a.sA(a[i].notInNav[d],"not_in_nav",!0),a[i].canvas[0].appendChild(a[i].notInNav[d]));if(a[i].canvas.css({visibility:"visible"}),a[i].slayers=a[i].c.find("rs-static-layers"),a[i].slayers[0]&&a[i].slayers.className&&-1!==a[i].slayers[0].className.indexOf("rs-stl-visible")&&a[i].c.addClass("rs-stl-visible"),a[i].slayers.length>0&&a.sA(a[i].slayers[0],"key","staticlayers"),!0===a[i].modal.useAsModal&&(a[i].cpar.wrap('<rs-modal id="'+a[i].c[0].id+'_modal"></rs-modal>'),a[i].modal.c=e(a.closestNode(a[i].cpar[0],"RS-MODAL")),a[i].modal.c.appendTo(e("body")),a[i].modal!==t&&a[i].modal.alias!==t&&a.revModal(i,{mode:"init"})),1==a[i].waitForInit||1==a[i].modal.useAsModal)return a.RS_toInit!==t&&(a.RS_toInit[i]=!0),a[i].c.trigger("revolution.slide.waitingforinit"),void(a[i].waitingForInit=!0);window.requestAnimationFrame((function(){h(i)})),a[i].initEnded=!0}},p=function(){e("body").data("rs-fullScreenMode",!e("body").data("rs-fullScreenMode")),e("body").data("rs-fullScreenMode")&&setTimeout((function(){a.window.trigger("resize")}),200)},g=function(e,i,r){return a.gA(e,"lazyload")!==t?a.gA(e,"lazyload"):a[r].lazyloaddata!==t&&a[r].lazyloaddata.length>0&&a.gA(e,a[r].lazyloaddata)!==t?a.gA(e,a[r].lazyloaddata):a.gA(e,"lazy-src")!==t?a.gA(e,"lazy-src"):a.gA(e,"lazy-wpfc-original-src")!==t?a.gA(e,"lazy-wpfc-original-src"):a.gA(e,"lazy")!==t?a.gA(e,"lazy"):i},u=function(t,i){return e(0==i?t:1==i?t.parentNode:2==i?t.parentNode.parentNode:3==i?t.parentNode.parentNode.parentNode:4==i?t.parentNode.parentNode.parentNode.parentNode:t.parentNode.parentNode.parentNode.parentNode.parentNode)},h=function(i){if(a[i]!==t){a[i].sliderisrunning=!0,!0!==a[i].noDetach&&a[i].c.detach();var r=a[i].canvas.find("rs-slide:first-child");if(a[i].shuffle){for(var o=a.gA(r[0],"firstanim"),s=0;s<a[i].slideamount;s++)a[i].canvas.find("rs-slide:eq("+Math.round(Math.random()*a[i].slideamount)+")").prependTo(a[i].canvas);a.sA(a[i].canvas.find("rs-slide:first-child")[0],"firstanim",o)}a[i].slides=a.getByTag(a[i].canvas[0],"RS-SLIDE"),a[i].thumbs=new Array(a[i].slides.length),a[i].slots=1,a[i].firststart=1,a[i].loadqueue=[],a[i].syncload=0;var n=0,l="carousel"===a[i].sliderType&&a[i].carousel.border_radius!==t?parseInt(a[i].carousel.border_radius,0):0;for(var d in"carousel"!==a[i].sliderType&&tpGS.gsap.set(a[i].slides,{display:"none"}),"carousel"!==a[i].sliderType&&tpGS.gsap.set(r,{display:"block"}),a[i].slides)if(a[i].slides.hasOwnProperty(d)&&"length"!==d){var c=a[i].slides[d],h=a.getByTag(c,"IMG")[0];a.gA(c,"key")===t&&a.sA(c,"key","rs-"+Math.round(999999*Math.random()));var m={params:Array(12),id:a.gA(c,"key"),src:a.gA(c,"thumb")!==t?a.gA(c,"thumb"):g(h,h!==t?h.src:t,i)};a.gA(c,"title")===t&&a.sA(c,"title",""),a.gA(c,"description")===t&&a.sA(c,"description",""),m.params[0]={from:RegExp("\\{\\{title\\}\\}","g"),to:a.gA(c,"title")},m.params[1]={from:RegExp("\\{\\{description\\}\\}","g"),to:a.gA(c,"description")};for(var f=1;f<=10;f++)a.gA(c,"p"+f)!==t?m.params[f+1]={from:RegExp("\\{\\{param"+f+"\\}\\}","g"),to:a.gA(c,"p"+f)}:m.params[f+1]={from:RegExp("\\{\\{param"+f+"\\}\\}","g"),to:""};if(a[i].thumbs[n]=e.extend({},!0,m),l>0&&tpGS.gsap.set(c,{borderRadius:l+"px"}),a.gA(c,"link")!=t||a.gA(c,"linktoslide")!==t){var w=a.gA(c,"link"),b=w!==t?w:"slide",_="slide"!=b?"no":a.gA(c,"linktoslide"),S=a.gA(c,"seoz"),x=a.gA(c,"tag");if(_!=t&&"no"!=_&&"next"!=_&&"prev"!=_)for(var k in a[i].slides)a[i].slides.hasOwnProperty(k)&&parseInt(a.gA(a[i].slides[k],"origindex"),0)+1==a.gA(c,"linktoslide")&&(_=a.gA(a[i].slides[k],"key"));"slide"==b||"a"!=x?e(c).prepend('<rs-layer class="rs-layer slidelink" id="rs_slidelink_'+Math.round(1e5*Math.random())+'" data-zindex="'+("back"===S?0:"front"===S?95:S!==t?parseInt(S,0):100)+'" dataxy="x:c;y:c" data-dim="w:100%;h:100%" data-basealign="slide"'+("no"==_?"slide"==b||a.ISM?"":"  data-actions='o:click;a:simplelink;target:"+(a.gA(c,"target")||"_self")+";url:"+b+";'":"  data-actions='"+("scroll_under"===_?"o:click;a:scrollbelow;offset:100px;":"prev"===_?"o:click;a:jumptoslide;slide:prev;d:0.2;":"next"===_?"o:click;a:jumptoslide;slide:next;d:0.2;":"o:click;a:jumptoslide;slide:"+_+";d:0.2;")+"'")+" data-frame_1='e:power3.inOut;st:100;sp:100' data-frame_999='e:power3.inOut;o:0;st:w;sp:100'>"+(a.ISM?"<a "+("slide"!=b?("_blank"===a.gA(c,"target")?'rel="noopener" ':"")+'target="'+(a.gA(c,"target")||"_self")+'" href="'+b+'"':"")+"><span></span></a>":"")+"</rs-layer>"):e(c).prepend('<a class="rs-layer slidelink" id="rs_slidelink_'+Math.round(1e5*Math.random())+'" data-zindex="'+("back"===S?0:"front"===S?95:S!==t?parseInt(S,0):100)+'" dataxy="x:c;y:c" data-dim="w:100%;h:100%" data-basealign="slide" href="'+b+'" target="'+(a.gA(c,"target")||"_self")+'" rel="noopener" data-frame_1="e:power3.inOut;st:100;sp:100" data-frame_999="e:power3.inOut;o:0;st:w;sp:100"><span></span></a>')}n++}if(a[i].simplifyAll&&(a.isIE(8)||a.iOSVersion())&&(a[i].c.find(".rs-layer").each((function(){var t=e(this);t.removeClass("customin customout").addClass("fadein fadeout"),t.data("splitin",""),t.data("speed",400)})),a[i].c.find("rs-slide").each((function(){var t=e(this);t.data("transition","fade"),t.data("masterspeed",500),t.data("slotamount",1),(t.find(".rev-slidebg")||t.find(">img").first()).data("panzoom",null)}))),window._rs_desktop=window._rs_desktop===t?!navigator.userAgent.match(/(iPhone|iPod|iPad|Android|BlackBerry|BB10|mobi|tablet|opera mini|nexus 7)/i):window._rs_desktop,a[i].autoHeight="fullscreen"==a[i].sliderLayout||a[i].autoHeight,"fullwidth"!=a[i].sliderLayout||a[i].autoHeight||"carousel"===a[i].sliderType&&"v"===a[i].carousel.orientation||a[i].c.css({maxHeight:a[i].gridheight[a[i].level]+"px"}),"auto"==a[i].sliderLayout||null!==a.closestNode(a[i].c[0],"RS-FULLWIDTH-WRAP")||"fullscreen"===a[i].sliderLayout&&1==a[i].disableForceFullWidth)a[i].topc=a[i].cpar;else{var R=a[i].cpar[0].style.marginTop,O=a[i].cpar[0].style.marginBottom;a[i].rsFullWidthWrapMarginBottom=parseInt(O,0),R=R===t||""===R?"":"margin-top:"+R+";",O=O===t||""===O?"":"margin-bottom:"+O+";",a[i].rsFullWidthWrap=a[i].topc=e('<rs-fullwidth-wrap id="'+a[i].c[0].id+'_forcefullwidth" style="'+R+O+'"></rs-fullwidth-wrap>'),a[i].forcer=e('<rs-fw-forcer style="height:'+(a[i].forcerHeight===t?a[i].cpar.height():a[i].forcerHeight)+'px"></rs-fw-forcer>'),a[i].topc.append(a[i].forcer),a[i].topc.insertBefore(a[i].cpar),a[i].cpar.detach(),a[i].cpar.css({marginTop:"0px",marginBottom:"0px",position:"absolute"}),a[i].cpar.prependTo(a[i].topc)}if(a[i].forceOverflow?a[i].topc[0].classList.add("rs-forceoverflow"):"3D"===a[i].parallax.type&&a[i].topc[0].classList.add("rs-parallax-hidden-of"),"carousel"===a[i].sliderType&&!0!==a[i].overflowHidden&&a[i].c.css({overflow:"visible"}),0!==a[i].maxHeight&&tpGS.gsap.set([a[i].cpar,a[i].c,a[i].topc],{maxHeight:a[i].maxHeight+"px"}),a[i].fixedOnTop&&tpGS.gsap.set(a[i].blockSpacing!==t&&a[i].blockSpacing.block!==t?a[i].blockSpacing.block:a[i].topc,{position:"fixed",top:"0px",left:"0px",pointerEvents:"none",zIndex:5e3}),a[i].shadow!==t&&a[i].shadow>0&&a[i].cpar.addClass("tp-shadow"+a[i].shadow).append('<div class="tp-shadowcover" style="background-color:'+a[i].cpar.css("backgroundColor")+";background-image:"+a[i].cpar.css("backgroundImage")+'"></div>'),a.updateDims(i,"prepared"),a.observeWraps===t&&(a.observeWraps=new a.wrapObserver.init((function(e,i){v(i,t,!0)}))),!a[i].c.hasClass("revslider-initialised")){a[i].c[0].classList.add("revslider-initialised"),a[i].c[0].id=a[i].c[0].id===t?"revslider-"+Math.round(1e3*Math.random()+5):a[i].c[0].id,a.revCheckIDS(i,a[i].c[0]),a[i].origcd=parseInt(a[i].duration,0),a[i].scrolleffect._L=[],a[i].sbas=a[i].sbas===t?{}:a[i].sbas,a[i].layers=a[i].layers||{},a[i].sortedLayers=a[i].sortedLayers||{};var L=a[i].c[0].querySelectorAll("rs-layer, rs-row, rs-column, rs-group,  rs-bgvideo, .rs-layer");for(var I in L)if(L.hasOwnProperty(I)){!a.ISM&&L[I].classList.contains("iospermaccwait")&&L[I].remove();var M,T,C=e(L[I]),A=C.data();if(A.startclasses=L[I].className,A.startclasses=A.startclasses===t||null===A.startclasses?"":A.startclasses,A.animationonscroll=!!a[i].sbtimeline.set&&a[i].sbtimeline.layers,A.animationonscroll=!0===A.animationonscroll||"true"==A.animationonscroll,A.filteronscroll=!!a[i].scrolleffect.set&&a[i].scrolleffect.layers,A.pxundermask=A.startclasses.indexOf("rs-pxmask")>=0&&"off"!==a[i].parallax.type&&A.startclasses.indexOf("rs-pxl-")>=0,A.noPevents=A.startclasses.indexOf("rs-noevents")>=0,A.sba)for(var f in M=A.sba.split(";"))M.hasOwnProperty(f)&&("t"==(T=M[f].split(":"))[0]&&(A.animationonscroll=T[1],"false"==T[1]&&(A.animOnScrollForceDisable=!0)),"e"==T[0]&&(A.filteronscroll=T[1]),"so"==T[0]&&(A.scrollBasedOffset=parseInt(T[1])/1e3));if("true"!=A.animationonscroll&&1!=A.animationonscroll||(A.startclasses+=" rs-sba",C[0].className+=" rs-sba"),A.startclasses.indexOf("rs-layer-static")>=0&&a.handleStaticLayers&&a.handleStaticLayers(C,i),"RS-BGVIDEO"!==C[0].tagName){if(C[0].classList.add("rs-layer"),"column"===A.type&&(A.columnwidth="33.33%",A.verticalalign="top",A.column!==t))for(var D in M=A.column.split(";"))M.hasOwnProperty(D)&&("w"===(T=M[D].split(":"))[0]&&(A.columnwidth=T[1]),"a"===T[0]&&(A.verticalalign=T[1]));if("group"===A.type&&(A.verticalalign="top",A.column!==t))for(var D in M=A.column.split(";"))M.hasOwnProperty(D)&&"a"===(T=M[D].split(":"))[0]&&(A.verticalalign=T[1]);var P=A.startclasses.indexOf("slidelink")>=0?"z-index:"+A.zindex+";width:100% !important;height:100% !important;":"",B="column"!==A.type&&"group"!==A.type?"":A.verticalalign===t?" vertical-align:top;":" vertical-align:"+A.verticalalign+";",H="row"===A.type||"column"===A.type||"r"===A.pos?"position:relative;":"position:absolute;",z="",W="row"===A.type?"rs-row-wrap":"column"===A.type?"rs-column-wrap":"group"===A.type?"rs-group-wrap":"rs-layer-wrap",E="",N="",j=(A.noPevents,";pointer-events:none");"row"===A.type||"column"===A.type||"group"===A.type?(C[0].classList.remove("tp-resizeme"),"column"===A.type&&(A.width="auto",C[0].group="row",tpGS.gsap.set(C,{width:"auto"}),A.filteronscroll=!1)):(E="display:"+("inline-block"===C[0].style.display?"inline-block":"block")+";",null!==a.closestNode(C[0],"RS-COLUMN")?(C[0].group="column",A.filteronscroll=!1):null!==a.closestNode(C[0],"RS-GROUP-WRAP")&&(C[0].group="group",A.filteronscroll=!1)),A.wrpcls!==t&&(z=z+" "+A.wrpcls),A.wrpid!==t&&(N='id="'+A.wrpid+'"'),A.thFixed=A.wrpcls!==t&&A.wrpcls.includes("th-fixed")||A.startclasses!==t&&A.startclasses.includes("ddd_mousebox"),A.reqWrp={loop:!(1!=a[i].rtl&&!A.thFixed&&A.loop_0===t&&A.loop_999===t),level:{m:0,lp:0,p:0}},A.perspFix=window.isSafari11&&(A.btrans!==t&&A.btrans.includes("iosfx:p")||"carousel"===a[i].sliderType&&!L[I].classList.contains("rs-mtrap")),A.reqWrp.mask=!!(A.perspFix||A.reqWrp.loop||1==a[i].rtl||A.pxundermask||A.thFixed||A.btrans!==t||A.frame_hover!==t&&A.frame_hover.includes("m:t")||A.clip!==t||A.sba!==t||A.frame_0_sfx!==t||A.frame_1_sfx!==t||A.frame_999_sfx!==t||A.frame_0_mask!==t||A.frame_1_mask!==t||A.frame_2_mask!==t||A.frame_3_mask!==t||A.frame_4_mask!==t||A.frame_999_mask!==t),A.reqWrp.level.m=A.pxundermask?2:A.reqWrp.mask?1:0,A.reqWrp.level.lp=A.reqWrp.level.m+(A.reqWrp.loop?1:0),A.reqWrp.level.p=A.reqWrp.level.lp+1,A.perspFix&&(P+="transform:perspective(600px);"),C.wrap("<"+W+" "+N+' class="rs-parallax-wrap '+z+'" style="'+B+" "+P+H+E+j+'">'+(A.reqWrp.loop?'<rs-loop-wrap style="'+P+H+E+'">':"")+(A.reqWrp.mask?'<rs-mask-wrap style="'+P+H+E+'">':"")+(A.pxundermask?"<rs-px-mask></rs-px-mask>":"")+(A.reqWrp.mask?"</rs-mask-wrap>":"")+(A.reqWrp.loop?"</rs-loop-wrap>":"")+"</"+W+">"),!0!==A.filteronscroll&&"true"!=A.filteronscroll||a[i].scrolleffect._L.push(C.parent()),C[0].id=C[0].id===t?"layer-"+Math.round(999999999*Math.random()):C[0].id,a.revCheckIDS(i,C[0]),a[i]._Lshortcuts[C[0].id]={p:u(C[0],A.reqWrp.level.p),lp:u(C[0],A.reqWrp.level.lp),m:u(C[0],A.reqWrp.level.m)},"column"!==A.type||""==C[0].style.background&&""===C[0].style.backgroundColor&&""===C[0].style.backgroundImage&&A.border===t?A.cbgexists=!1:(a[i]._Lshortcuts[C[0].id].p.append('<rs-cbg-mask-wrap><rs-column-bg id="'+C[0].id+'_rs_cbg"></rs-column-bg></rs-cbg-mask-wrap>'),A.cbgexists=!0),"text"===A.type&&a.getByTag(C[0],"IFRAME").length>0&&(a[i].slideHasIframe=!0,C[0].classList.add("rs-ii-o")),a[i].BUG_safari_clipPath&&"true"!=A.animationonscroll&&1!=A.animationonscroll&&C[0].classList.add("rs-pelock"),C[0].dataset.staticz!==t&&"row"!==A.type&&"row"!==C[0].group&&"column"!==C[0].group&&a.addStaticLayerTo(i,C[0].dataset.staticz,a[i]._Lshortcuts[C[0].id].p)}a.gA(C[0],"actions")&&a.checkActions&&a.checkActions(C,i,a[i]),!a.checkVideoApis||window.rs_addedvim&&window.rs_addedyt||a[i].youtubeapineeded&&a[i].vimeoapineeded||a.checkVideoApis(C,i)}a.checkActions&&a.checkActions(t,i),a[i].c[0].addEventListener("mousedown",(function(){if(!0!==a[i].onceClicked&&(a[i].onceClicked=!0,!0!==a[i].onceVideoPlayed&&a[i].activeRSSlide!==t&&a[i].slides!==t&&a[i].slides[a[i].activeRSSlide]!==t)){var r=e(a[i].slides[a[i].activeRSSlide]).find("rs-bgvideo");r!==t&&null!==r&&r.length>0&&a.playVideo(r,i)}})),a[i].c[0].addEventListener("mouseenter",(function(){a[i].c.trigger("tp-mouseenter"),a[i].overcontainer=!0}),{passive:!0}),a[i].c[0].addEventListener("mouseover",(function(){a[i].c.trigger("tp-mouseover"),a[i].overcontainer=!0}),{passive:!0}),a[i].c[0].addEventListener("mouseleave",(function(){a[i].c.trigger("tp-mouseleft"),a[i].overcontainer=!1}),{passive:!0}),a[i].c.find(".rs-layer video").each((function(t){var i=e(this);i.removeClass("video-js vjs-default-skin"),i.attr("preload",""),i.css({display:"none"})})),a[i].rs_static_layer=a.getByTag(a[i].c[0],"RS-STATIC-LAYERS"),a.preLoadAudio&&a[i].rs_static_layer.length>0&&a.preLoadAudio(e(a[i].rs_static_layer),i,1),a[i].rs_static_layer.length>0&&(a.loadImages(a[i].rs_static_layer[0],i,0,!0),a.waitForCurrentImages(a[i].rs_static_layer[0],i,(function(){a[i]!==t&&a[i].c.find("rs-static-layers img").each((function(){this.src=a.getLoadObj(i,a.gA(this,"src")!=t?a.gA(this,"src"):this.src).src}))}))),a[i].rowzones=[],a[i].rowzonesHeights=[],a[i].topZones=[],a[i].middleZones=[],a[i].bottomZones=[],a[i].rowMiddleHeights={};var V=a.deepLink(i,F("#")[0]);V!==t&&(a[i].startWithSlide=V,a[i].deepLinkListener=!0,window.addEventListener("hashchange",(function(){if(!0!==a[i].ignoreDeeplinkChange){var e=a.deepLink(i,F("#")[0]);e!==t&&a.callingNewSlide(i,e,!0)}a[i].ignoreDeeplinkChange=!1}))),a[i].loader=a.buildSpinner(i,a[i].spinner,a[i].spinnerclr),a[i].loaderVisible=!0,a[i].c.append(a[i].loader),y(i),("off"!==a[i].parallax.type||a[i].scrolleffect.set||a[i].sbtimeline.set)&&a.checkForParallax&&a.checkForParallax(i),a[i].fallbacks.disableFocusListener||"true"==a[i].fallbacks.disableFocusListener||!0===a[i].fallbacks.disableFocusListener||(a[i].c.addClass("rev_redraw_on_blurfocus"),G());var X=a[i].viewPort;for(var f in"on"===a[i].navigation.mouseScrollNavigation&&(X.enable=!0),a[i].slides)if(a[i].slides.hasOwnProperty(f)){var U=e(a[i].slides[f]);a[i].rowzones[f]=[],a[i].rowzonesHeights[f]=[],a[i].topZones[f]=[],a[i].middleZones[f]=[],a[i].bottomZones[f]=[],U.find("rs-zone").each((function(){a[i].rowzones[f].push(e(this)),this.className.indexOf("rev_row_zone_top")>=0&&a[i].topZones[f].push(this),this.className.indexOf("rev_row_zone_middle")>=0&&(a[i].middleZones[f].push(this),this.dataset.middle="true"),this.className.indexOf("rev_row_zone_bottom")>=0&&a[i].bottomZones[f].push(this)}))}a.lazyLoadAllSlides(i),a[i].srowzones=[],a[i].smiddleZones=[],a[i].slayers&&a[i].slayers.find("rs-zone").each((function(){a[i].srowzones.push(e(this)),this.className.indexOf("rev_row_zone_middle")>=0&&(a[i].smiddleZones.push(this),this.dataset.middle="true")})),"carousel"===a[i].sliderType&&tpGS.gsap.set(a[i].canvas,{scale:1,perspective:1200,transformStyle:"flat",opacity:0}),a[i].c.prependTo(a[i].cpar),e("body").data("rs-fullScreenMode",!1),window.addEventListener("fullscreenchange",p,{passive:!0}),window.addEventListener("mozfullscreenchange",p,{passive:!0}),window.addEventListener("webkitfullscreenchange",p,{passive:!0}),a.document.on("updateContainerSizes."+a[i].c.attr("id"),(function(){if(a[i]!==t)return a[i].c!=t&&void(a.updateDims(i,"ignore")&&window.requestAnimationFrame((function(){a.updateDims(i,"ignore"),a[i].fullScreenMode=a.checkfullscreenEnabled(i),a.lastwindowheight=a.getWinH(i),v(i)})))})),X.presize&&(a[i].pr_next_slide=e(a[i].slides[0]),a.loadImages(a[i].pr_next_slide[0],i,0,!0),a.waitForCurrentImages(a[i].pr_next_slide.find(".tp-layers"),i,(function(){a.animateTheLayers&&a.animateTheLayers({slide:a[i].pr_next_key,id:i,mode:"preset",caller:"runSlider"})}))),("off"!=a[i].parallax.type||a[i].sbtimeline.set||!0===X.enable)&&a.scrollTicker(i),!0!==X.enable&&(a[i].inviewport=!0,a.enterViewPort(i)),a.RS_toInit!==t&&(a.RS_toInit[i]=!0),a[i].observeWrap&&a.observeWraps&&a.wrapObserver.observe(a[i].rsFullWidthWrap!==t?a[i].rsFullWidthWrap[0]:a[i].cpar[0],i)}}},m=function(e,i){a.winW<a[e].hideSliderAtLimit?(a[e].c.trigger("stoptimer"),!0!==a[e].sliderIsHidden&&(a.sA(a[e].cpar[0],"displaycache","none"!=a[e].cpar.css("display")?a[e].cpar.css("display"):a.gA(a[e].cpar[0],"displaycache")),a[e].cpar.css({display:"none"}),a[e].sliderIsHidden=!0)):(!0===a[e].sliderIsHidden||a[e].sliderIsHidden===t&&a[e].c.is(":hidden"))&&i&&(a[e].cpar[0].style.display=a.gA(a[e].cpar[0],"displaycache")!=t&&"none"!=a.gA(a[e].cpar[0],"displaycache")?a.gA(a[e].cpar[0],"displaycache"):"block",a[e].sliderIsHidden=!1,a[e].c.trigger("restarttimer"),window.requestAnimationFrame((function(){v(e,!0)}))),a.hideUnHideNav&&a[e].navigation.use&&a.hideUnHideNav(e)},v=function(e,i,r){if(a[e].c===t)return!1;if(a[e].dimensionReCheck={},a[e].c.trigger("revolution.slide.beforeredraw"),1==a[e].infullscreenmode&&(a[e].minHeight=a.getWinH(e)),a.ISM&&(a[e].lastMobileHeight=a.getWinH(e)),r&&a.updateDims(e),!a.resizeThumbsTabs||!0===a.resizeThumbsTabs(e)){if(window.requestAnimationFrame((function(){m(e,!0!==i),M(e)})),a[e].started){if("carousel"==a[e].sliderType)for(var o in a.prepareCarousel(e),a[e].sbgs)a[e].sbgs.hasOwnProperty(o)&&a[e].sbgs[o].mDIM!==t&&a.updateSlideBGs(e,a[e].sbgs[o].key,a[e].sbgs[o]);else a.updateSlideBGs(e);if("carousel"===a[e].sliderType&&(a[e].carCheckconW!=a[e].canv.width||"fullscreen"==a[e].sliderLayout&&a[e].carCheckconH!=a[e].canv.height)){for(var s in clearTimeout(a[e].pcartimer),a[e].sbgs)a[e].sbgs[s].loadobj!==t&&a.updateSlideBGs(e,a[e].sbgs[s].key,a[e].sbgs[s]);"v"==a[e].carousel.orientation&&tpGS.gsap.set(a[e].canvas,{height:a[e].carousel.slide_height}),requestAnimationFrame((function(){a.prepareCarousel(e),a.animateTheLayers({slide:"individual",id:e,mode:"rebuild",caller:"containerResized_1"}),a[e].carCheckconW=a[e].canv.width,a[e].carCheckconH=a[e].canv.height})),a[e].lastconw=a[e].canv.width}if(a[e].pr_processing_key!==t?a.animateTheLayers({slide:a[e].pr_processing_key,id:e,mode:"rebuild",caller:"containerResized_2"}):a[e].pr_active_key!==t&&a.animateTheLayers({slide:a[e].pr_active_key,id:e,mode:"rebuild",caller:"containerResized_3"}),"carousel"===a[e].sliderType){for(var s in a[e].panzoomTLs)if(a[e].panzoomTLs.hasOwnProperty(s)){var n=a.gA(a[e].panzoomBGs[s][0],"key");a.startPanZoom(a[e].panzoomBGs[s],e,a[e].panzoomTLs[s].progress(),s,a[e].panzoomTLs[s].isActive()?"play":"reset",n)}}else a[e].pr_active_bg!==t&&a[e].pr_active_bg[0]!==t&&f(e,a[e].pr_active_bg,a[e].pr_active_bg[0].dataset.key),a[e].pr_next_bg!==t&&a[e].pr_next_bg[0]!==t&&f(e,a[e].pr_next_bg,a[e].pr_next_bg[0].dataset.key);clearTimeout(a[e].mNavigTimeout),a.manageNavigation&&(a[e].mNavigTimeout=setTimeout((function(){a.manageNavigation(e)}),20))}a.prepareCoveredVideo(e)}a[e].c.trigger("revolution.slide.afterdraw",[{id:e}])},f=function(e,i,r){if(a[e].panzoomTLs!==t){var o=a.getSlideIndex(e,r);a.startPanZoom(i,e,a[e].panzoomTLs[o]!==t?a[e].panzoomTLs[o].progress():0,o,"play",r)}},y=function(i){!0!==a[i].noDetach&&a[i].canvas.detach();var r=a.isFaceBook()?"visible":"hidden";if(a[i].autoHeight&&tpGS.gsap.set([a[i].c,a[i].cpar],{maxHeight:"none"}),tpGS.gsap.set(a[i].canvas,a[i].modal!==t&&a[i].modal.useAsModal?{overflow:r,width:"100%",height:"100%"}:{overflow:r,width:"100%",height:"100%",maxHeight:a[i].autoHeight?"none":a[i].cpar.css("maxHeight")}),"carousel"===a[i].sliderType){var o="margin-top:"+parseInt(a[i].carousel.padding_top||0,0)+"px;";a[i].canvas.css({overflow:"visible"}).wrap('<rs-carousel-wrap style="'+o+'"></rs-carousel-wrap>'),a[i].cpar.prepend("<rs-carousel-space></rs-carousel-space>").append("<rs-carousel-space></rs-carousel-space>"),a.defineCarouselElements(i)}a[i].startWithSlide=a[i].startWithSlide===t?t:Math.max(1,(a[i].sliderType,parseInt(a[i].startWithSlide))),a[i].cpar.css({overflow:"visible"}),a[i].scrolleffect.bgs=[];for(var s=0;s<a[i].slides.length;s++){var n=e(a[i].slides[s]),l=a.gA(n[0],"key"),d=n.find(".rev-slidebg")||n.find(">img"),c=a[i].sbgs[l]=w(d.data(),i),p=n.data("mediafilter");if(c.skeyindex=a.getSlideIndex(i,l),c.bgvid=n.find("rs-bgvideo"),d.detach(),c.bgvid.detach(),(a[i].startWithSlide!=t&&a.gA(a[i].slides[s],"originalindex")==a[i].startWithSlide||a[i].startWithSlide===t&&0==s)&&(a[i].pr_next_key=a[i].carousel.focused=n.index()),tpGS.gsap.set(n,{width:"100%",height:"100%",overflow:r}),d.wrap('<rs-sbg-px><rs-sbg-wrap data-key="'+l+'"></rs-sbg-wrap></rs-sbg-px>'),c.wrap=e(a.closestNode(d[0],"RS-SBG-WRAP")),c.src=d[0].src,c.lazyload=c.lazyload=g(d[0],t,i),c.slidebgimage=!0,c.loadobj=c.loadobj===t?{}:c.loadobj,c.mediafilter=p="none"===p||p===t?"":p,c.sbg=document.createElement("rs-sbg"),c.sbg.alt=d[0].alt,a[i].overlay!==t&&"none"!=a[i].overlay.type&&a[i].overlay.type!=t){var u=a.createOverlay(i,a[i].overlay.type,a[i].overlay.size,{0:a[i].overlay.colora,1:a[i].overlay.colorb}),h=document.createElement("rs-dotted");h.style.backgroundImage=u,c.wrap.append(h),c.overlay=h}d.data("mediafilter",p),c.canvas=document.createElement("canvas"),c.sbg.appendChild(c.canvas),c.canvas.style.width="100%",c.canvas.style.height="100%",c.ctx=c.canvas.getContext("2d"),c.lazyload!==t&&(c.sbg.dataset.lazyload=c.lazyload),c.sbg.className=p,c.sbg.src=c.src,c.sbg.dataset.bgcolor=c.bgcolor,c.sbg.style.width="100%",c.sbg.style.height="100%",c.key=l,c.wrap[0].dataset.key=l,e(c.sbg).data(c),c.wrap.data(c),c.wrap[0].appendChild(c.sbg);var m=document.createComment("Runtime Modification - Img tag is Still Available for SEO Goals in Source - "+d.get(0).outerHTML);d.replaceWith(m),a.gA(n[0],"sba")===t&&a.sA(n[0],"sba","");var v={},f=a.gA(n[0],"sba").split(";");for(var y in f)if(f.hasOwnProperty(y)){var b=f[y].split(":");switch(b[0]){case"f":v.f=b[1];break;case"b":v.b=b[1];break;case"g":v.g=b[1];break;case"t":v.s=b[1]}}a.sA(n[0],"scroll-based",!!a[i].sbtimeline.set&&(v.s!==t&&v.s)),c.bgvid.length>0&&(c.bgvidid=c.bgvid[0].id,c.animateDirection="idle",c.bgvid.addClass("defaultvid").css({zIndex:30}),p!==t&&""!==p&&"none"!==p&&c.bgvid.addClass(p),c.bgvid.appendTo(c.wrap),c.parallax!=t&&(c.bgvid.data("parallax",c.parallax),c.bgvid.data("showcoveronpause","on"),c.bgvid.data("mediafilter",p)),c.poster=!1,(c.src!==t&&-1==c.src.indexOf("assets/dummy.png")&&-1==c.src.indexOf("assets/transparent.png")||c.lazyload!==t&&-1==c.lazyload.indexOf("assets/transparent.png")&&-1==c.lazyload.indexOf("assets/dummy.png"))&&(c.poster=!0),c.bgvid.data("bgvideo",1),c.bgvid[0].dataset.key=l,0==c.bgvid.find(".rs-fullvideo-cover").length&&c.bgvid.append('<div class="rs-fullvideo-cover"></div>')),a[i].scrolleffect.set?(a[i].scrolleffect.bgs.push({fade:v.f!==t?v.f:!!a[i].scrolleffect.slide&&a[i].scrolleffect.fade,blur:v.b!==t?v.b:!!a[i].scrolleffect.slide&&a[i].scrolleffect.blur,grayscale:v.g!==t?v.g:!!a[i].scrolleffect.slide&&a[i].scrolleffect.grayscale,c:c.wrap.wrap("<rs-sbg-effectwrap></rs-sbg-effectwrap>").parent()}),n.prepend(c.wrap.parent().parent())):n.prepend(c.wrap.parent())}"carousel"===a[i].sliderType?(tpGS.gsap.set(a[i].carousel.wrap,{opacity:0}),a[i].c[0].appendChild(a[i].carousel.wrap[0])):a[i].c[0].appendChild(a[i].canvas[0])},w=function(i,r){i.bg=i.bg===t?"":i.bg;var o=i.bg.split(";"),s={bgposition:"50% 50%",bgfit:"cover",bgrepeat:"no-repeat",bgcolor:"transparent"};for(var n in o)if(o.hasOwnProperty(n)){var l=o[n].split(":"),d=l[0],c=l[1],p="";switch(d){case"p":p="bgposition";break;case"f":p="bgfit";break;case"r":p="bgrepeat";break;case"c":p="bgcolor"}p!==t&&(s[p]=c)}return a[r].fallbacks.panZoomDisableOnMobile&&a.ISM&&(s.panzoom=t,s.bgfit="cover",i.panzoom=t),e.extend(!0,i,s)},b=function(e,i,r){if(a[i]!==t){a[i].syncload--;var o=a.gA(e,"reference");for(var s in a[i].loadqueue)a[i].loadqueue.hasOwnProperty(s)&&"loaded"!==a[i].loadqueue[s].progress&&o==a[i].loadqueue[s].src&&(a[i].loadqueue[s].img=e,a[i].loadqueue[s].progress=r,a[i].loadqueue[s].width=e.naturalWidth,a[i].loadqueue[s].height=e.naturalHeight);_(i)}},_=function(i){4!=a[i].syncload&&a[i].loadqueue&&e.each(a[i].loadqueue,(function(r,o){if("prepared"==o.progress&&a[i].syncload<=4){if(a[i].syncload++,"img"==o.type){var s=new Image;a.sA(s,"reference",o.src),"RS-SBG"==o.img.tagName&&o.img&&o.img.alt&&(s.alt=o.img.alt),!/^([\w]+\:)?\/\//.test(o.src)||-1!==o.src.indexOf(location.host)&&-1===o.src.indexOf("."+location.host)||""===a[i].imgCrossOrigin||a[i].imgCrossOrigin===t||(s.crossOrigin=a[i].imgCrossOrigin),s.onload=function(){b(this,i,"loaded"),o.error=!1},s.onerror=function(){s.failedOnce||(s.failedOnce=!0,delete s.crossOrigin,s.removeAttribute("crossorigin"),s.src=o.src,b(this,i,"failed"),o.error=!0)},s.src=o.src,o.starttoload=Date.now()}else e.get(o.src,(function(e){o.innerHTML=(new XMLSerializer).serializeToString(e.documentElement),o.progress="loaded",a[i].syncload--,_(i)})).fail((function(){o.progress="failed",a[i].syncload--,_(i)}));o.progress="inload"}}))},S=function(e,t){return console.log("Static Image "+e+"  Could not be loaded in time. Error Exists:"+t),!0},x=function(e,t){if(Date.now()-a[t][e+"starttime"]>5e3&&1!=a[t][e+"warning"]){a[t][e+"warning"]=!0;var i=e+" Api Could not be loaded !";"https:"===location.protocol&&(i+=" Please Check and Renew SSL Certificate !"),console.error(i),a[t].c.append('<div style="position:absolute;top:50%;width:100%;color:#e74c3c;  font-size:16px; text-align:center; padding:15px;background:#000; display:block;"><strong>'+i+"</strong></div>")}return!0},k=function(i){if(a[i]!==t){var r=a[i];if(a[i].pr_active_slide=e(a[i].slides[a[i].pr_active_key]),a[i].pr_next_slide=e(a[i].slides[a[i].pr_processing_key]),a[i].pr_active_bg=a[i].pr_active_slide.find("rs-sbg-wrap"),a[i].pr_next_bg=a[i].pr_next_slide.find("rs-sbg-wrap"),a[i].pr_active_bg!==t&&a[i].pr_active_bg.length>0&&tpGS.gsap.to(a[i].pr_active_bg,.5,{opacity:0}),a[i].pr_next_bg!==t&&a[i].pr_next_bg.length>0&&tpGS.gsap.to(a[i].pr_next_bg,.5,{opacity:0}),tpGS.gsap.set(a[i].pr_active_slide,{zIndex:18}),a[i].pr_next_slide!==t&&a[i].pr_next_slide.length>0&&tpGS.gsap.set(a[i].pr_next_slide,{autoAlpha:0,zIndex:20}),a[i].tonpause=!1,"carousel"===r.sliderType&&"all"===r.carousel.showLayersAllTime)for(var o=0;o<a[i].slides.length;o++){var s=a[i].slides[o].dataset.key;a[i].layers[s]=a.getLayersInSlide(e(a[i].slides[o]),"rs-layer","carousel"),a[i].pr_active_key!==s&&a.removeTheLayers(e(a[i].slides[o]),i,!0)}a[i].pr_active_key!==t&&a.removeTheLayers(a[i].pr_active_slide,i,!0),a[i].firststart=1,setTimeout((function(){delete a[i].pr_active_key,delete a[i].pr_processing_key}),200)}},R=function(i,r,o){if(a[i]!==t)if(clearTimeout(a[i].waitWithSwapSlide),a[i].pr_processing_key===t||!0!==a[i].firstSlideShown){if(clearTimeout(a[i].waitWithSwapSlide),a[i].startWithSlideKey!==t&&(a[i].pr_next_key=a.getComingSlide(i,a[i].startWithSlideKey).nindex,a[i].startedWithOtherSlide=!0,delete a[i].startWithSlideKey),a[i].pr_active_slide=e(a[i].slides[a[i].pr_active_key]),a[i].pr_next_slide=e(a[i].slides[a[i].pr_next_key]),a[i].pr_next_key==a[i].pr_active_key)return delete a[i].pr_next_key;var s=a.gA(a[i].pr_next_slide[0],"key");a[i].sbgs[s]!==t&&a[i].sbgs[s].bgvid&&a[i].sbgs[s].bgvid.length>0&&(a[i].videos==t||a[i].videos[a[i].sbgs[s].bgvid[0].id]===t)&&a.manageVideoLayer(a[i].sbgs[s].bgvid,i,s),a[i].pr_processing_key=a[i].pr_next_key,a[i].pr_cache_pr_next_key=a[i].pr_next_key,delete a[i].pr_next_key,a[i].pr_next_slide!==t&&a[i].pr_next_slide[0]!==t&&a.gA(a[i].pr_next_slide[0],"hal")!==t&&a.sA(a[i].pr_next_slide[0],"sofacounter",a.gA(a[i].pr_next_slide[0],"sofacounter")===t?1:parseInt(a.gA(a[i].pr_next_slide[0],"sofacounter"),0)+1),a[i].stopLoop&&a[i].pr_processing_key==a[i].lastslidetoshow-1&&(a[i].progressC.css({visibility:"hidden"}),a[i].c.trigger("revolution.slide.onstop"),a[i].noloopanymore=1),a[i].pr_next_slide.index()===a[i].slideamount-1&&a[i].looptogo>0&&"disabled"!==a[i].looptogo&&(a[i].looptogo--,a[i].looptogo<=0&&(a[i].stopLoop=!0)),a[i].tonpause=!0,a[i].slideInSwapTimer=!0,a[i].c.trigger("stoptimer"),"off"===a[i].spinner?a[i].loader!==t&&!0===a[i].loaderVisible&&(a[i].loader.css({display:"none"}),a[i].loaderVisible=!1):a[i].loadertimer=setTimeout((function(){a[i].loader!==t&&!0!==a[i].loaderVisible&&(a[i].loader.css({display:"block"}),a[i].loaderVisible=!0)}),100);var n="carousel"===a[i].sliderType&&"all"!==a[i].lazyType?a.loadVisibleCarouselItems(i):a[i].pr_next_slide[0];a.loadImages(n,i,1),a.preLoadAudio&&a.preLoadAudio(a[i].pr_next_slide,i,1),a.waitForCurrentImages(n,i,(function(){a[i].firstSlideShown=!0,a[i].pr_next_slide.find("rs-bgvideo").each((function(){a.prepareCoveredVideo(i)})),a.loadUpcomingContent(i),window.requestAnimationFrame((function(){O(a[i].pr_next_slide.find("rs-sbg"),i,r,o)}))}))}else a[i].waitWithSwapSlide=setTimeout((function(){R(i,r)}),18)},O=function(i,r,o,s){if(a[r]!==t){M(r),a[r].pr_active_slide=e(a[r].slides[a[r].pr_active_key]),a[r].pr_next_slide=e(a[r].slides[a[r].pr_processing_key]),a[r].pr_active_bg=a[r].pr_active_slide.find("rs-sbg-wrap"),a[r].pr_next_bg=a[r].pr_next_slide.find("rs-sbg-wrap"),a[r].tonpause=!1,clearTimeout(a[r].loadertimer),a[r].loader!==t&&!0===a[r].loaderVisible&&(window.requestAnimationFrame((function(){a[r].loader.css({display:"none"})})),a[r].loaderVisible=!1),a[r].onBeforeSwap={slider:r,slideIndex:parseInt(a[r].pr_active_key,0)+1,slideLIIndex:a[r].pr_active_key,nextSlideIndex:parseInt(a[r].pr_processing_key,0)+1,nextSlideLIIndex:a[r].pr_processing_key,nextslide:a[r].pr_next_slide,slide:a[r].pr_active_slide,currentslide:a[r].pr_active_slide,prevslide:a[r].pr_lastshown_key!==t?a[r].slides[a[r].pr_lastshown_key]:""},"carousel"!==a[r].sliderType&&tpGS.gsap.set(a[r].pr_next_slide,{display:"block"}),a[r].c.trigger("revolution.slide.onbeforeswap",a[r].onBeforeSwap);var n=a.gA(a[r].pr_active_slide[0],"key"),l=a[r].sbgs[n];if(l&&l.panzoom&&l.pzAnim&&(l.pzLastFrame=!0,a.pzDrawShadow(r,l,l.pzAnim.start)),a[r].sbgs[a.gA(a[r].pr_next_slide[0],"key")]&&tpGS.gsap.fromTo(a[r].sbgs[a.gA(a[r].pr_next_slide[0],"key")].overlay,{opacity:0},{opacity:1,duration:1,ease:"none"}),l&&tpGS.gsap.to(l.overlay,{opacity:0,duration:1,ease:"none"}),a[r].transition=1,a[r].stopByVideo=!1,a[r].pr_next_slide[0]!==t&&a.gA(a[r].pr_next_slide[0],"duration")!=t&&""!=a.gA(a[r].pr_next_slide[0],"duration")?a[r].duration=parseInt(a.gA(a[r].pr_next_slide[0],"duration"),0):a[r].duration=a[r].origcd,a[r].pr_next_slide[0]===t||"true"!=a.gA(a[r].pr_next_slide[0],"ssop")&&!0!==a.gA(a[r].pr_next_slide[0],"ssop")?a[r].ssop=!1:a[r].ssop=!0,a[r].sbtimeline.set&&a[r].sbtimeline.fixed&&a.updateFixedScrollTimes(r),a[r].c.trigger("nulltimer"),a[r].sdir="bullet"!==a[r].sc_indicator&&a[r].pr_active_key==a[r].slideamount-1&&0==a[r].pr_processing_key?0:a[r].pr_processing_key<a[r].pr_active_key?1:0,"arrow"==a[r].sc_indicator&&(a[r].sdir=a[r].sc_indicator_dir),a[r].lsdir=a[r].sdir,a[r].pr_active_key!=a[r].pr_processing_key&&1!=a[r].firststart&&"carousel"!==a[r].sliderType&&a.removeTheLayers&&a.removeTheLayers(a[r].pr_active_slide,r),1!==a.gA(a[r].pr_next_slide[0],"rspausetimeronce")&&1!==a.gA(a[r].pr_next_slide[0],"rspausetimeralways")?a[r].c.trigger("restarttimer"):(a[r].stopByVideo=!0,a.unToggleState(a[r].slidertoggledby)),a.sA(a[r].pr_next_slide[0],"rspausetimeronce",0),a[r].pr_next_slide[0]!==t&&a.sA(a[r].c[0],"slideactive",a.gA(a[r].pr_next_slide[0],"key")),"carousel"==a[r].sliderType){if(a[r].mtl=tpGS.gsap.timeline(),a[r].carousel.focused=a[r].pr_processing_key,a.prepareCarousel(r),"v"!=a[r].carousel.orientation&&"fullscreen"!==a[r].sliderLayout||tpGS.gsap.set(a[r].canvas,{height:a[r].carousel.slide_height}),L(r,s),a.updateSlideBGs(r),!0!==a[r].carousel.checkFVideo){var d=a.gA(a[r].pr_next_slide[0],"key");a[r].sbgs[d]!==t&&a[r].sbgs[d].bgvid!==t&&0!==a[r].sbgs[d].bgvid.length&&a.playBGVideo(r,d),a[r].carousel.checkFVideo=!0}a[r].transition=0,a[r].startedWithOtherSlide&&(setTimeout((function(){a[r].carousel.focused=a[r].pr_active_key,a.positionCarousel(r)})),delete a[r].startedWithOtherSlide)}else{a[r].pr_lastshown_key=a[r].pr_lastshown_key===t?a[r].pr_next_key!==t?a[r].pr_next_key:a[r].pr_processing_key!==t?a[r].pr_processing_key:a[r].pr_active_key!==t?a[r].pr_active_key:a[r].pr_lastshown_key:a[r].pr_lastshown_key,a[r].mtl=tpGS.gsap.timeline({paused:!0,onComplete:function(){L(r)}}),a[r].pr_next_key!==t?a.animateTheLayers({slide:a[r].pr_next_key,id:r,mode:"preset",caller:"swapSlideProgress_1"}):a[r].pr_processing_key!==t?a.animateTheLayers({slide:a[r].pr_processing_key,id:r,mode:"preset",caller:"swapSlideProgress_2"}):a[r].pr_active_key!==t&&a.animateTheLayers({slide:a[r].pr_active_key,id:r,mode:"preset",caller:"swapSlideProgress_3"}),1==a[r].firststart&&(a[r].pr_active_slide[0]!==t&&tpGS.gsap.set(a[r].pr_active_slide,{autoAlpha:0}),a[r].firststart=0),a[r].pr_active_slide[0]!==t&&tpGS.gsap.set(a[r].pr_active_slide,{zIndex:18}),a[r].pr_next_slide[0]!==t&&tpGS.gsap.set(a[r].pr_next_slide,{autoAlpha:0,zIndex:20});d=a.gA(a[r].pr_next_slide[0],"key");a[r].sbgs[d]!==t&&a[r].sbgs[d].alt===t&&(a[r].sbgs[d].alt=a.gA(a[r].pr_next_slide[0],"alttrans")||!1,a[r].sbgs[d].alt=!1!==a[r].sbgs[d].alt&&a[r].sbgs[d].alt.split(","),a[r].sbgs[d].altIndex=0,a[r].sbgs[d].altLen=!1!==a[r].sbgs[d].alt?a[r].sbgs[d].alt.length:0);a[r].firstSlideAnimDone===t&&a[r].fanim!==t&&!1!==a[r].fanim||(a[r].sbgs[d].slideanimation===t||a[r].sbgs[d].slideanimationRebuild||(a[r].sbgs[d].random!==t&&a.SLTR!==t||a[r].sbgs[d].altLen>0&&a.SLTR));a[r].sbgs[d].slideanimation=a[r].firstSlideAnimDone===t&&a[r].fanim!==t&&!1!==a[r].fanim?a.convertSlideAnimVals(e.extend(!0,{},a.getSlideAnim_EmptyObject(),a[r].fanim)):a[r].sbgs[d].slideanimation===t||a[r].sbgs[d].slideanimationRebuild||a[r].sbgs[d].altLen>0&&"default_first_anim"==a[r].sbgs[d].alt[a[r].sbgs[d].altIndex]?a.getSlideAnimationObj(r,{anim:a.gA(a[r].pr_next_slide[0],"anim"),filter:a.gA(a[r].pr_next_slide[0],"filter"),in:a.gA(a[r].pr_next_slide[0],"in"),out:a.gA(a[r].pr_next_slide[0],"out"),d3:a.gA(a[r].pr_next_slide[0],"d3")},d):a[r].sbgs[d].random!==t&&a.SLTR!==t?a.convertSlideAnimVals(e.extend(!0,{},a.getSlideAnim_EmptyObject(),a.getAnimObjectByKey(a.getRandomSlideTrans(a[r].sbgs[d].random.rndmain,a[r].sbgs[d].random.rndgrp,a.SLTR),a.SLTR))):a[r].sbgs[d].altLen>0&&a.SLTR!==t?a.convertSlideAnimVals(e.extend(!0,{altAnim:a[r].sbgs[d].alt[a[r].sbgs[d].altIndex]},a.getSlideAnim_EmptyObject(),a.getAnimObjectByKey(a[r].sbgs[d].alt[a[r].sbgs[d].altIndex],a.SLTR))):a[r].sbgs[d].slideanimation,a[r].sbgs[d].altLen>0&&(a[r].sbgs[d].firstSlideAnimDone!==t?(a[r].sbgs[d].altIndex++,a[r].sbgs[d].altIndex=a[r].sbgs[d].altIndex>=a[r].sbgs[d].altLen?0:a[r].sbgs[d].altIndex):(a[r].sbgs[d].firstSlideAnimDone=!0,a.SLTR===t&&a.SLTR_loading===t&&a.loadSlideAnimLibrary(r),a[r].sbgs[d].alt.push("default_first_anim"),a[r].sbgs[d].altLen++)),a[r].sbgs[d].currentState="animating",a.animateSlide(r,a[r].sbgs[d].slideanimation),a[r].firstSlideAnimDone===t&&a[r].fanim!==t&&!1!==a[r].fanim&&(a[r].sbgs[d].slideanimationRebuild=!0),a[r].firstSlideAnimDone=!0,a[r].pr_next_bg.data("panzoom")!==t&&requestAnimationFrame((function(){var e=a.gA(a[r].pr_next_slide[0],"key");a.startPanZoom(a[r].pr_next_bg,r,0,a.getSlideIndex(r,e),"first",e)})),a[r].mtl.pause()}if(a.animateTheLayers?"carousel"===a[r].sliderType?(!1!==a[r].carousel.showLayersAllTime&&(a[r].carousel.allLayersStarted?a.animateTheLayers({slide:"individual",id:r,mode:"rebuild",caller:"swapSlideProgress_5"}):a.animateTheLayers({slide:"individual",id:r,mode:"start",caller:"swapSlideProgress_4"}),a[r].carousel.allLayersStarted==t&&(a.updateCarouselRows(r),a[r].carousel.allLayersStarted=!0)),0!==a[r].firststart?a.animateTheLayers({slide:0,id:r,mode:"start",caller:"swapSlideProgress_6"}):!0!==o&&a.animateTheLayers({slide:a[r].pr_next_key!==t?a[r].pr_next_key:a[r].pr_processing_key!==t?a[r].pr_processing_key:a[r].pr_active_key,id:r,mode:"start",caller:"swapSlideProgress_7"}),a[r].firststart=0):a.animateTheLayers({slide:a[r].pr_next_key!==t?a[r].pr_next_key:a[r].pr_processing_key!==t?a[r].pr_processing_key:a[r].pr_active_key,id:r,mode:"start",caller:"swapSlideProgress_8"}):a[r].mtl!=t&&setTimeout((function(){a[r].mtl.resume()}),18),"carousel"!==a[r].sliderType)if(a[r].scwDur=.001,Array.isArray(a[r].scwCallback)&&a[r].scwCallback.length>0&&a[r].pr_next_slide[0].classList.contains("rs-addon-pano-active")){a[r].scwDone=!1,a[r].scwCount=a[r].scwCallback.length;for(var c=0;c<a[r].scwCallback.length;c++)a[r].scwCallback[c]();a[r].scwTimeout=tpGS.gsap.delayedCall(2,(function(){a[r].scwCount>0&&(a[r].scwTween&&"function"==typeof a[r].scwTween.kill&&(a[r].scwTween.kill(),a[r].scwTween=null),a[r].scwTween=tpGS.gsap.to(a[r].pr_next_slide,{duration:a[r].scwDur,autoAlpha:1}))}))}else tpGS.gsap.to(a[r].pr_next_slide,{duration:a[r].scwDur,autoAlpha:1})}},L=function(i){if(a[i]!==t){if("done"!==a.RS_swapList[i]){a.RS_swapList[i]="done";var r=e.inArray(i,a.RS_swapping);a.RS_swapping.splice(r,1)}if(a[i].firstSlideAvailable===t&&(a[i].firstSlideAvailable=!0,window.requestAnimationFrame((function(){"hero"!==a[i].sliderType&&a.createNavigation&&a[i].navigation.use&&!0!==a[i].navigation.createNavigationDone&&a.createNavigation(i)}))),"carousel"===a[i].sliderType&&tpGS.gsap.to(a[i].carousel.wrap,1,{opacity:1}),a[i].pr_active_key=a[i].pr_processing_key!==t?a[i].pr_processing_key:a[i].pr_active_key,delete a[i].pr_processing_key,"scroll"!=a[i].parallax.type&&"scroll+mouse"!=a[i].parallax.type&&"mouse+scroll"!=a[i].parallax.type||(a[i].lastscrolltop=-999,a.generalObserver(a.ISM)),a[i].mtldiff=a[i].mtl.time(),delete a[i].mtl,a[i].pr_active_key!==t){a.gA(a[i].slides[a[i].pr_active_key],"sloop")!==t&&function(e){if(a[e]!==t){a[e].sloops=a[e].sloops===t?{}:a[e].sloops;var i=a.gA(a[e].slides[a[e].pr_active_key],"key"),r=a[e].sloops[i];if(r===t){r={s:2500,e:4500,r:"unlimited"};var o=a.gA(a[e].slides[a[e].pr_active_key],"sloop").split(";");for(var s in o)if(o.hasOwnProperty(s)){var n=o[s].split(":");switch(n[0]){case"s":r.s=parseInt(n[1],0)/1e3;break;case"e":r.e=parseInt(n[1],0)/1e3;break;case"r":r.r=n[1]}}r.r="unlimited"===r.r?-1:parseInt(r.r,0),a[e].sloops[i]=r,r.key=i}r.ct={time:r.s},r.tl=tpGS.gsap.timeline({}),r.timer=tpGS.gsap.fromTo(r.ct,r.e-r.s,{time:r.s},{time:r.e,ease:"none",onRepeat:function(){for(var i in a[e].layers[r.key])a[e].layers[r.key].hasOwnProperty(i)&&a[e]._L[i].timeline.play(r.s);var o=a[e].progressC;o!==t&&o[0]!==t&&o[0].tween!==t&&o[0].tween.time(r.s)},onUpdate:function(){},onComplete:function(){}}).repeat(r.r),r.tl.add(r.timer,r.s),r.tl.time(a[e].mtldiff)}}(i),a.sA(a[i].slides[a[i].activeRSSlide],"isactiveslide",!1),a[i].activeRSSlide=a[i].pr_active_key,a.sA(a[i].slides[a[i].activeRSSlide],"isactiveslide",!0);var o=a.gA(a[i].slides[a[i].pr_active_key],"key"),s=a.gA(a[i].slides[a[i].pr_lastshown_key],"key");a.sA(a[i].c[0],"slideactive",o),s!==t&&a[i].panzoomTLs!==t&&a[i].panzoomTLs[a.getSlideIndex(i,s)]!==t&&("carousel"===a[i].sliderType?(a[i].panzoomTLs[a.getSlideIndex(i,s)].timeScale(3),a[i].panzoomTLs[a.getSlideIndex(i,s)].reverse()):a[i].panzoomTLs[a.getSlideIndex(i,s)].pause()),I(i,o);var n={slider:i,slideIndex:parseInt(a[i].pr_active_key,0)+1,slideLIIndex:a[i].pr_active_key,slide:a[i].pr_next_slide,currentslide:a[i].pr_next_slide,prevSlideIndex:a[i].pr_lastshown_key!==t&&parseInt(a[i].pr_lastshown_key,0)+1,prevSlideLIIndex:a[i].pr_lastshown_key!==t&&parseInt(a[i].pr_lastshown_key,0),prevSlide:a[i].pr_lastshown_key!==t&&a[i].slides[a[i].pr_lastshown_key]};if(a[i].c.trigger("revolution.slide.onchange",n),a[i].c.trigger("revolution.slide.onafterswap",n),""+a[i].pr_lastshown_key!=""+a[i].pr_active_key&&"carousel"!==a[i].sliderType&&tpGS.gsap.set(n.prevSlide,{display:"none",delay:.01}),a[i].deepLinkListener||a[i].enableDeeplinkHash){var l=a.gA(a[i].slides[a[i].pr_active_key],"deeplink");l!==t&&l.length>0&&(a[i].ignoreDeeplinkChange=!0,window.location.hash=a.gA(a[i].slides[a[i].pr_active_key],"deeplink"))}a[i].pr_lastshown_key=a[i].pr_active_key,a[i].startWithSlide!==t&&"done"!==a[i].startWithSlide&&"carousel"===a[i].sliderType&&(a[i].firststart=0),a[i].duringslidechange=!1,a[i].pr_active_slide.length>0&&0!=a.gA(a[i].pr_active_slide[0],"hal")&&a.gA(a[i].pr_active_slide[0],"hal")<=a.gA(a[i].pr_active_slide[0],"sofacounter")&&a[i].c.revremoveslide(a[i].pr_active_slide.index());var d=a[i].pr_processing_key||a[i].pr_active_key||0;a[i].rowzones!=t&&(d=d>a[i].rowzones.length?a[i].rowzones.length:d),(a[i].rowzones!=t&&a[i].rowzones.length>0&&a[i].rowzones[d]!=t&&d>=0&&d<=a[i].rowzones.length&&a[i].rowzones[d].length>0||a.winH<a[i].module.height)&&a.updateDims(i),a[i].firstLetItFree===t&&(a.generalObserver(a.ISM),a[i].firstLetItFree=!0),a[i].skipAttachDetach=!1}}},I=function(e,i){a[e].sbgs[i]===t||a[e].sbgs[i].loadobj.img?a[e].pr_next_bg.data("panzoom")!==t&&(a[e].panzoomTLs!==t&&a[e].panzoomTLs[a.getSlideIndex(e,i)]!==t?(a[e].panzoomTLs[a.getSlideIndex(e,i)].timeScale(1),a[e].panzoomTLs[a.getSlideIndex(e,i)].play()):a.startPanZoom(a[e].pr_next_bg,e,0,a.getSlideIndex(e,i),"play",i)):tpGS.gsap.delayedCall(.1,(function(){I(e,i)}))},M=function(i){var r=a[i].progressBar;if(a[i].progressC===t||0==a[i].progressC.length)if(a[i].progressC=e('<rs-progress style="visibility:hidden;"></rs-progress>'),"horizontal"===r.style||"vertical"===r.style){if("module"===r.basedon){for(var o="",s=0;s<a[i].slideamount;s++)o+="<rs-progress-bar></rs-progress-bar>";o+="<rs-progress-bgs>";for(s=0;s<a[i].slideamount;s++)o+="<rs-progress-bg></rs-progress-bg>";if(o+="</rs-progress-bgs>","nogap"!==r.gaptype)for(s=0;s<a[i].slideamount;s++)o+="<rs-progress-gap></rs-progress-gap>";a[i].progressC[0].innerHTML=o,!0===a[i].noDetach&&a[i].c.append(a[i].progressC),a[i].progressCBarBGS=a.getByTag(a[i].progressC[0],"RS-PROGRESS-BG"),a[i].progressCBarGAPS=a.getByTag(a[i].progressC[0],"RS-PROGRESS-GAP"),"nogap"!==r.gaptype&&tpGS.gsap.set(a[i].progressCBarGAPS,{backgroundColor:r.gapcolor,zIndex:"gapbg"===r.gaptype?17:27}),tpGS.gsap.set(a[i].progressCBarBGS,{backgroundColor:r.bgcolor})}else a[i].progressC[0].innerHTML="<rs-progress-bar></rs-progress-bar>",!0===a[i].noDetach&&a[i].c.append(a[i].progressC);a[i].progressCBarInner=a.getByTag(a[i].progressC[0],"RS-PROGRESS-BAR"),tpGS.gsap.set(a[i].progressCBarInner,{background:r.color})}else a[i].progressC[0].innerHTML='<canvas width="'+2*r.radius+'" height="'+2*r.radius+'" style="position:absolute" class="rs-progress-bar"></canvas>',!0===a[i].noDetach&&a[i].c.append(a[i].progressC),a[i].progressCBarInner=a[i].progressC[0].getElementsByClassName("rs-progress-bar")[0],a[i].progressBCanvas=a[i].progressCBarInner.getContext("2d"),a[i].progressBar.degree="cw"===a[i].progressBar.style?360:0,T(i);if(!0!==a[i].noDetach&&a[i].progressC.detach(),a[i].progressBar.visibility[a[i].level]&&1!=a[i].progressBar.disableProgressBar)if("horizontal"===r.style||"vertical"===r.style){var n,l,d=a[i].slideamount-1;if("horizontal"===r.style){var c="grid"===r.alignby?a[i].gridwidth[a[i].level]:a[i].module.width;n=Math.ceil(c/a[i].slideamount),l=Math.ceil((c-d*r.gapsize)/a[i].slideamount),tpGS.gsap.set(a[i].progressC,{visibility:"visible",top:"top"===r.vertical?r.y+("grid"===r.alignby&&a[i].gridOffsetHeight!==t?Math.max(0,a[i].gridOffsetHeight):0):"center"===r.vertical?"50%":"auto",bottom:"top"===r.vertical||"center"===r.vertical?"auto":r.y+("grid"===r.alignby&&a[i].gridOffsetHeight!==t?Math.max(0,a[i].gridOffsetHeight):0),left:"left"===r.horizontal&&"grid"===r.alignby&&a[i].gridOffsetWidth!==t?Math.max(0,a[i].gridOffsetWidth):"auto",right:"right"===r.horizontal&&"grid"===r.alignby&&a[i].gridOffsetWidth!==t?Math.max(0,a[i].gridOffsetWidth):"auto",y:"center"===r.vertical?r.y:0,height:r.size,backgroundColor:"module"===r.basedon?"transparent":r.bgcolor,marginTop:"bottom"===r.vertical||"top"===r.vertical?0:parseInt(r.size,0)/2,width:"grid"===r.alignby?a[i].gridwidth[a[i].level]:"100%"}),tpGS.gsap.set(a[i].progressCBarInner,{x:"module"===r.basedon?r.gap?function(e){return("right"===r.horizontal?d-e:e)*(l+r.gapsize)}:function(e){return("right"===r.horizontal?d-e:e)*n}:0,width:"module"===r.basedon?r.gap?l+"px":100/a[i].slideamount+"%":"100%"}),"module"===r.basedon&&(tpGS.gsap.set(a[i].progressCBarBGS,{x:"module"===r.basedon?r.gap?function(e){return e*(l+r.gapsize)}:function(e){return e*n}:0,width:"module"===r.basedon?r.gap?l+"px":100/a[i].slideamount+"%":"100%"}),tpGS.gsap.set(a[i].progressCBarGAPS,{width:r.gap?r.gapsize+"px":0,x:r.gap?function(e){return(e+1)*l+parseInt(r.gapsize,0)*e}:0}))}else if("vertical"===r.style){c="grid"===r.alignby?a[i].gridheight[a[i].level]:a[i].module.height;n=Math.ceil(c/a[i].slideamount),l=Math.ceil((c-d*r.gapsize)/a[i].slideamount),tpGS.gsap.set(a[i].progressC,{visibility:"visible",left:"left"===r.horizontal?r.x+("grid"===r.alignby&&a[i].gridOffsetWidth!==t?Math.max(0,a[i].gridOffsetWidth):0):"center"===r.horizontal?"50%":"auto",right:"left"===r.horizontal||"center"===r.horizontal?"auto":r.x+("grid"===r.alignby&&a[i].gridOffsetWidth!==t?Math.max(0,a[i].gridOffsetWidth):0),x:"center"===r.horizontal?r.x:0,top:"top"===r.vertical&&"grid"===r.alignby&&a[i].gridOffsetHeight!==t?Math.max(a[i].gridOffsetHeight,0):"auto",bottom:"bottom"===r.vertical&&"grid"===r.alignby&&a[i].gridOffsetHeight!==t?Math.max(a[i].gridOffsetHeight,0):"auto",width:r.size,marginLeft:"left"===r.horizontal||"right"===r.horizontal?0:parseInt(r.size,0)/2,backgroundColor:"module"===r.basedon?"transparent":r.bgcolor,height:"grid"===r.alignby?a[i].gridheight[a[i].level]:"100%"}),tpGS.gsap.set(a[i].progressCBarInner,{y:"module"===r.basedon?r.gap?function(e){return("bottom"===r.vertical?d-e:e)*(l+r.gapsize)}:function(e){return("bottom"===r.vertical?d-e:e)*n}:0,height:"module"===r.basedon?r.gap?l+"px":100/a[i].slideamount+"%":"100%"}),"module"===r.basedon&&(tpGS.gsap.set(a[i].progressCBarBGS,{y:"module"===r.basedon?r.gap?function(e){return e*(l+r.gapsize)}:function(e){return e*n}:0,height:"module"===r.basedon?r.gap?l+"px":100/a[i].slideamount+"%":"100%"}),tpGS.gsap.set(a[i].progressCBarGAPS,{height:r.gap?r.gapsize+"px":0,y:r.gap?function(e){return(e+1)*l+parseInt(r.gapsize,0)*e}:0}))}}else tpGS.gsap.set(a[i].progressC,{top:"top"===r.vertical?r.y+("grid"===r.alignby&&a[i].gridOffsetHeight!==t?Math.max(0,a[i].gridOffsetHeight):0):"center"===r.vertical?"50%":"auto",bottom:"top"===r.vertical||"center"===r.vertical?"auto":r.y+("grid"===r.alignby&&a[i].gridOffsetHeight!==t?Math.max(0,a[i].gridOffsetHeight):0),left:"left"===r.horizontal?r.x+("grid"===r.alignby&&a[i].gridOffsetWidth!==t?Math.max(0,a[i].gridOffsetWidth):0):"center"===r.horizontal?"50%":"auto",right:"left"===r.horizontal||"center"===r.horizontal?"auto":r.x+("grid"===r.alignby&&a[i].gridOffsetWidth!==t?Math.max(0,a[i].gridOffsetWidth):0),y:"center"===r.vertical?r.y:0,x:"center"===r.horizontal?r.x:0,width:2*r.radius,height:2*r.radius,marginTop:"center"===r.vertical?0-r.radius:0,marginLeft:"center"===r.horizontal?0-r.radius:0,backgroundColor:"transparent",visibility:"visible"});else a[i].progressC[0].style.visibility="hidden";!0!==a[i].noDetach&&a[i].c.append(a[i].progressC),a[i].gridOffsetWidth===t&&"grid"===r.alignby?a[i].rebuildProgressBar=!0:a[i].rebuildProgressBar=!1},T=function(e){var t=a[e].progressBar;t.radius-parseInt(t.size,0)<=0&&(t.size=t.radius/4);var i=parseInt(t.radius),r=parseInt(t.radius);a[e].progressBCanvas.lineCap="round",a[e].progressBCanvas.clearRect(0,0,2*t.radius,2*t.radius),a[e].progressBCanvas.beginPath(),a[e].progressBCanvas.arc(i,r,t.radius-parseInt(t.size,0),Math.PI/180*270,Math.PI/180*630),a[e].progressBCanvas.strokeStyle=t.bgcolor,a[e].progressBCanvas.lineWidth=parseInt(t.size,0)-1,a[e].progressBCanvas.stroke(),a[e].progressBCanvas.beginPath(),a[e].progressBCanvas.strokeStyle=t.color,a[e].progressBCanvas.lineWidth=parseInt(t.size,0),a[e].progressBCanvas.arc(i,r,t.radius-parseInt(t.size,0),Math.PI/180*270,Math.PI/180*(270+a[e].progressBar.degree),"cw"!==t.style),a[e].progressBCanvas.stroke()},C=function(i){var r=function(){i!==t&&a!==t&&a[i]!==t&&(0==e("body").find(a[i].c).length||null===a[i]||null===a[i].c||a[i].c===t||0===a[i].length?(!function(t){a[t].c.children().each((function(){try{e(this).die("click")}catch(e){}try{e(this).die("mouseenter")}catch(e){}try{e(this).die("mouseleave")}catch(e){}try{e(this).off("hover")}catch(e){}}));try{a[t].c.die("click","mouseenter","mouseleave")}catch(e){}clearInterval(a[t].cdint),a[t].c=null}(i),clearInterval(a[i].cdint)):(a[i].c.trigger("revolution.slide.slideatend"),1==a[i].c.data("conthoverchanged")&&(a[i].conthover=a[i].c.data("conthover"),a[i].c.data("conthoverchanged",0)),a.callingNewSlide(i,1,!0)))},o=tpGS.gsap.timeline({paused:!0}),s="reset"===a[i].progressBar.reset||a[i].progressBar.notnew===t?0:.2,n="slide"===a[i].progressBar.basedon?0:a[i].pr_processing_key!==t?a[i].pr_processing_key:a[i].pr_active_key;if(n=n===t?0:n,"horizontal"===a[i].progressBar.style){if(o.add(tpGS.gsap.to(a[i].progressCBarInner[n],s,{scaleX:0,transformOrigin:"right"===a[i].progressBar.horizontal?"100% 50%":"0% 50%"})),o.add(tpGS.gsap.to(a[i].progressCBarInner[n],a[i].duration/1e3,{transformOrigin:"right"===a[i].progressBar.horizontal?"100% 50%":"0% 50%",force3D:"auto",scaleX:1,onComplete:r,delay:.5,ease:a[i].progressBar.ease})),"module"===a[i].progressBar.basedon)for(var l=0;l<a[i].slideamount;l++)l!==n&&o.add(tpGS.gsap.set(a[i].progressCBarInner[l],{scaleX:l<n?1:0,transformOrigin:"right"===a[i].progressBar.horizontal?"100% 50%":"0% 50%"}),0)}else if("vertical"===a[i].progressBar.style){if(a[i].progressCBarInner[n]!==t&&o.add(tpGS.gsap.to(a[i].progressCBarInner[n],s,{scaleY:0,transformOrigin:"bottom"===a[i].progressBar.vertical?"50% 100%":"50% 0%"})),a[i].progressCBarInner[n]!==t&&o.add(tpGS.gsap.to(a[i].progressCBarInner[n],a[i].duration/1e3,{transformOrigin:"bottom"===a[i].progressBar.vertical?"50% 100%":"50% 0%",force3D:"auto",scaleY:1,onComplete:r,delay:.5,ease:a[i].progressBar.ease})),"module"===a[i].progressBar.basedon)for(l=0;l<a[i].slideamount;l++)l!==n&&a[i].progressCBarInner[l]!==t&&o.add(tpGS.gsap.set(a[i].progressCBarInner[l],{scaleY:l<n?1:0,transformOrigin:"botton"===a[i].progressBar.vertical?"50% 100%":"50% 0%"}),0)}else{var d="slide"===a[i].progressBar.basedon?0:Math.max(0,360/a[i].slideamount*n),c="slide"===a[i].progressBar.basedon?360:360/a[i].slideamount*(n+1);"ccw"===a[i].progressBar.style&&"slide"!==a[i].progressBar.basedon&&(d=360-c,c=360-360/a[i].slideamount*n),o.add(tpGS.gsap.to(a[i].progressBar,s,{degree:"cw"===a[i].progressBar.style?d:c,onUpdate:function(){T(i)}})),o.add(tpGS.gsap.to(a[i].progressBar,a[i].duration/1e3,{degree:"cw"===a[i].progressBar.style?c:d,onUpdate:function(){T(i)},onComplete:r,delay:.5,ease:a[i].progressBar.ease}))}return a[i].progressBar.notnew=!0,o},A=function(e){a[e].progressC==t&&M(e),a[e].loop=0,a[e].stopAtSlide!=t&&a[e].stopAtSlide>-1?a[e].lastslidetoshow=a[e].stopAtSlide:a[e].lastslidetoshow=999,a[e].stopLoop=!1,0==a[e].looptogo&&(a[e].stopLoop=!0),a[e].c.on("stoptimer",(function(){a[e].progressC!=t&&(a[e].progressC[0].tween.pause(),a[e].progressBar.disableProgressBar&&(a[e].progressC[0].style.visibility="hidden"),a[e].sliderstatus="paused",a[e].slideInSwapTimer||a.unToggleState(a[e].slidertoggledby),a[e].slideInSwapTimer=!1)})),a[e].c.on("starttimer",(function(){a[e].progressC!=t&&(a[e].forcepaused||(1!=a[e].conthover&&1!=a[e].stopByVideo&&a[e].module.width>a[e].hideSliderAtLimit&&1!=a[e].tonpause&&1!=a[e].overnav&&1!=a[e].ssop&&(1===a[e].noloopanymore||a[e].viewPort.enable&&!a[e].inviewport||(a[e].progressBar.visibility[a[e].level]||(a[e].progressC[0].style.visibility="visible"),a[e].progressC[0].tween.resume(),a[e].sliderstatus="playing")),!a[e].progressBar.disableProgressBar&&a[e].progressBar.visibility[a[e].level]||(a[e].progressC[0].style.visibility="hidden"),a.toggleState(a[e].slidertoggledby)))})),a[e].c.on("restarttimer",(function(){if(!(a[e].modal!==t&&a[e].modal.useAsModal&&"close"==a[e].modal.lastModalCall||a[e].progressC==t||a[e].forcepaused)){if(a[e].mouseoncontainer&&"on"==a[e].navigation.onHoverStop&&!a.ISM)return!1;1===a[e].noloopanymore||a[e].viewPort.enable&&!a[e].inviewport||1==a[e].ssop?a.unToggleState(a[e].slidertoggledby):(a[e].progressBar.visibility[a[e].level]||(a[e].progressC[0].style.visibility="visible"),a[e].progressC[0].tween!==t&&a[e].progressC[0].tween.kill(),a[e].progressC[0].tween=C(e),a[e].progressC[0].tween.play(),a[e].sliderstatus="playing",a.toggleState(a[e].slidertoggledby)),!a[e].progressBar.disableProgressBar&&a[e].progressBar.visibility[a[e].level]||(a[e].progressC[0].style.visibility="hidden"),a[e].mouseoncontainer&&1==a[e].navigation.onHoverStop&&!a.ISM&&(a[e].c.trigger("stoptimer"),a[e].c.trigger("revolution.slide.onpause"))}})),a[e].c.on("nulltimer",(function(){a[e].progressC!=t&&a[e].progressC[0]!==t&&(a[e].progressC[0].tween!==t&&a[e].progressC[0].tween.kill(),a[e].progressC[0].tween=C(e),a[e].progressC[0].tween.pause(0),!a[e].progressBar.disableProgressBar&&a[e].progressBar.visibility[a[e].level]||(a[e].progressC[0].style.visibility="hidden"),a[e].sliderstatus="paused")})),a[e].progressC!==t&&(a[e].progressC[0].tween=C(e)),a[e].slideamount>1&&(0!=a[e].stopAfterLoops||1!=a[e].stopAtSlide)?a[e].c.trigger("starttimer"):(a[e].noloopanymore=1,a[e].c.trigger("nulltimer")),a[e].c.on("tp-mouseenter",(function(){a[e].mouseoncontainer=!0,1!=a[e].navigation.onHoverStop||a.ISM||(a[e].c.trigger("stoptimer"),a[e].c.trigger("revolution.slide.onpause"))})),a[e].c.on("tp-mouseleft",(function(){a[e].mouseoncontainer=!1,1!=a[e].c.data("conthover")&&1==a[e].navigation.onHoverStop&&(1==a[e].viewPort.enable&&a[e].inviewport||0==a[e].viewPort.enable)&&(a[e].c.trigger("revolution.slide.onresume"),a[e].c.trigger("starttimer"))}))},D=function(){e(".rev_redraw_on_blurfocus").each((function(){var e=this.id;if(a[e]==t||a[e].c==t||0===a[e].c.length)return!1;1!=a[e].windowfocused&&(a[e].windowfocused=!0,tpGS.gsap.delayedCall(.1,(function(){a[e].fallbacks.nextSlideOnWindowFocus&&a[e].c.revnext(),a[e].c.revredraw(),"playing"==a[e].lastsliderstatus&&a[e].c.revresume(),a[e].c.trigger("revolution.slide.tabfocused")})))}))},P=function(){document.hasFocus()||e(".rev_redraw_on_blurfocus").each((function(e){var t=this.id;a[t].windowfocused=!1,a[t].lastsliderstatus=a[t].sliderstatus,a[t].c.revpause(),a[t].c.trigger("revolution.slide.tabblured")}))},B=function(){e("rs-module").each((function(){var e=this.id;if(a[e].inviewport||!a[e].viewPort.enable){var i=a[e].pr_active_slide!==t&&a[e].pr_active_slide.data("key")!==t?a[e].pr_active_slide.data("key"):a[e].pr_next_slide!==t&&a[e].pr_next_slide.data("key")!==t?a[e].pr_next_slide.data("key"):t;if(i==t)return;a[e].sbgs[i].bgvid.length>0&&a[e].videos[a[e].sbgs[i].bgvid[0].id].loop&&("visible"===document.visibilityState?a.playVideo(a[e].sbgs[i].bgvid,e):a.stopVideo(a[e].sbgs[i].bgvid,e))}}))},G=function(){var e=document.documentMode===t,i=window.chrome;1!==a.revslider_focus_blur_listener&&(a.revslider_focus_blur_listener=1,e&&!i?a.window.on("focusin",(function(){!0!==a.windowIsFocused&&D(),a.windowIsFocused=!0})).on("focusout",(function(){!0!==a.windowIsFocused&&a.windowIsFocused!==t||P(),a.windowIsFocused=!1})):window.addEventListener?(window.addEventListener("focus",(function(e){!0!==a.windowIsFocused&&D(),a.windowIsFocused=!0}),{capture:!1,passive:!0}),window.addEventListener("blur",(function(e){!0!==a.windowIsFocused&&a.windowIsFocused!==t||P(),a.windowIsFocused=!1}),{capture:!1,passive:!0})):(window.attachEvent("focus",(function(e){!0!==a.windowIsFocused&&D(),a.windowIsFocused=!0})),window.attachEvent("blur",(function(e){!0!==a.windowIsFocused&&a.windowIsFocused!==t||P(),a.windowIsFocused=!1}))))},F=function(e){for(var t,i=[],a=window.location.href.slice(window.location.href.indexOf(e)+1).split("_"),r=0;r<a.length;r++)a[r]=a[r].replace("%3D","="),t=a[r].split("="),i.push(t[0]),i[t[0]]=t[1];return i},H=function(i){if(a[i].blockSpacing!==t){var r=a[i].blockSpacing.split(";");for(var o in a[i].blockSpacing={},r)if(r.hasOwnProperty(o)){var s=r[o].split(":");switch(s[0]){case"t":a[i].blockSpacing.top=a.revToResp(s[1],4,0);break;case"b":a[i].blockSpacing.bottom=a.revToResp(s[1],4,0);break;case"l":a[i].blockSpacing.left=a.revToResp(s[1],4,0);break;case"r":a[i].blockSpacing.right=a.revToResp(s[1],4,0)}}a[i].blockSpacing.block=e(a.closestClass(a[i].c[0],"wp-block-themepunch-revslider")),a[i].level!==t&&a[i].blockSpacing!==t&&tpGS.gsap.set(a[i].blockSpacing.block,{paddingLeft:a[i].blockSpacing.left[a[i].level],paddingRight:a[i].blockSpacing.right[a[i].level],marginTop:a[i].blockSpacing.top[a[i].level],marginBottom:a[i].blockSpacing.bottom[a[i].level]})}},z=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},W=function(i){return function(e){for(var i in e.minHeight=e.minHeight!==t?"none"===e.minHeight||"0"===e.minHeight||"0px"===e.minHeight||""==e.minHeight||" "==e.minHeight?0:parseInt(e.minHeight,0):0,e.maxHeight="none"===e.maxHeight||"0"===e.maxHeight?0:parseInt(e.maxHeight,0),e.carousel.maxVisibleItems=e.carousel.maxVisibleItems<1?999:e.carousel.maxVisibleItems,e.carousel.vertical_align="top"===e.carousel.vertical_align?"0%":"bottom"===e.carousel.vertical_align?"100%":"50%",e.carousel.space=parseInt(e.carousel.space,0),e.carousel.maxOpacity=parseInt(e.carousel.maxOpacity,0),e.carousel.maxOpacity=e.carousel.maxOpacity>1?e.carousel.maxOpacity/100:e.carousel.maxOpacity,e.carousel.showLayersAllTime="true"===e.carousel.showLayersAllTime||!0===e.carousel.showLayersAllTime?"all":e.carousel.showLayersAllTime,e.carousel.maxRotation=parseInt(e.carousel.maxRotation,0),e.carousel.minScale=parseInt(e.carousel.minScale,0),e.carousel.minScale=e.carousel.minScale>.9?e.carousel.minScale/100:e.carousel.minScale,e.carousel.speed=parseInt(e.carousel.speed,0),e.carousel.skewX=parseFloat(e.carousel.skewX),e.carousel.skewY=parseFloat(e.carousel.skewY),e.carousel.spinAngle=parseFloat(e.carousel.spinAngle),0===e.carousel.spinAngle&&(e.carousel.spinAngle=1),"v"===e.carousel.orientation&&(e.carousel.justify=!1),e.navigation.maintypes=["arrows","tabs","thumbnails","bullets"],e.perspective=parseInt(e.perspective,0),e.navigation.maintypes)e.navigation.maintypes.hasOwnProperty(i)&&e.navigation[e.navigation.maintypes[i]]!==t&&(e.navigation[e.navigation.maintypes[i]].animDelay=e.navigation[e.navigation.maintypes[i]].animDelay===t?1e3:e.navigation[e.navigation.maintypes[i]].animDelay,e.navigation[e.navigation.maintypes[i]].animSpeed=e.navigation[e.navigation.maintypes[i]].animSpeed===t?1e3:e.navigation[e.navigation.maintypes[i]].animSpeed,e.navigation[e.navigation.maintypes[i]].animDelay=parseInt(e.navigation[e.navigation.maintypes[i]].animDelay,0)/1e3,e.navigation[e.navigation.maintypes[i]].animSpeed=parseInt(e.navigation[e.navigation.maintypes[i]].animSpeed,0)/1e3);if(a.isNumeric(e.scrolleffect.tilt)||-1!==e.scrolleffect.tilt.indexOf("%")&&(e.scrolleffect.tilt=parseInt(e.scrolleffect.tilt)),e.scrolleffect.tilt=e.scrolleffect.tilt/100,e.navigation.thumbnails.position="outer-horizontal"==e.navigation.thumbnails.position?"bottom"==e.navigation.thumbnails.v_align?"outer-bottom":"outer-top":"outer-vertical"==e.navigation.thumbnails.position?"left"==e.navigation.thumbnails.h_align?"outer-left":"outer-right":e.navigation.thumbnails.position,e.navigation.tabs.position="outer-horizontal"==e.navigation.tabs.position?"bottom"==e.navigation.tabs.v_align?"outer-bottom":"outer-top":"outer-vertical"==e.navigation.tabs.position?"left"==e.navigation.tabs.h_align?"outer-left":"outer-right":e.navigation.tabs.position,e.sbtimeline.speed=parseInt(e.sbtimeline.speed,0)/1e3||.5,!0===e.sbtimeline.set&&!0===e.sbtimeline.fixed&&"auto"!==e.sliderLayout?(e.sbtimeline.fixStart=parseInt(e.sbtimeline.fixStart),e.sbtimeline.fixEnd=parseInt(e.sbtimeline.fixEnd)):e.sbtimeline.fixed=!1,e.progressBar===t||"true"!=e.progressBar.disableProgressBar&&1!=e.progressBar.disableProgressBar||(e.progressBar.disableProgressBar=!0),e.startDelay=parseInt(e.startDelay,0)||0,e.navigation!==t&&e.navigation.arrows!=t&&e.navigation.arrows.hide_under!=t&&(e.navigation.arrows.hide_under=parseInt(e.navigation.arrows.hide_under)),e.navigation!==t&&e.navigation.bullets!=t&&e.navigation.bullets.hide_under!=t&&(e.navigation.bullets.hide_under=parseInt(e.navigation.bullets.hide_under)),e.navigation!==t&&e.navigation.thumbnails!=t&&e.navigation.thumbnails.hide_under!=t&&(e.navigation.thumbnails.hide_under=parseInt(e.navigation.thumbnails.hide_under)),e.navigation!==t&&e.navigation.tabs!=t&&e.navigation.tabs.hide_under!=t&&(e.navigation.tabs.hide_under=parseInt(e.navigation.tabs.hide_under)),e.navigation!==t&&e.navigation.arrows!=t&&e.navigation.arrows.hide_over!=t&&(e.navigation.arrows.hide_over=parseInt(e.navigation.arrows.hide_over)),e.navigation!==t&&e.navigation.bullets!=t&&e.navigation.bullets.hide_over!=t&&(e.navigation.bullets.hide_over=parseInt(e.navigation.bullets.hide_over)),e.navigation!==t&&e.navigation.thumbnails!=t&&e.navigation.thumbnails.hide_over!=t&&(e.navigation.thumbnails.hide_over=parseInt(e.navigation.thumbnails.hide_over)),e.navigation!==t&&e.navigation.tabs!=t&&e.navigation.tabs.hide_over!=t&&(e.navigation.tabs.hide_over=parseInt(e.navigation.tabs.hide_over)),e.lazyloaddata!==t&&e.lazyloaddata.length>0&&e.lazyloaddata.indexOf("-")>0){var r=e.lazyloaddata.split("-");for(e.lazyloaddata=r[0],i=1;i<r.length;i++)e.lazyloaddata+=z(r[i])}return e.duration=parseInt(e.duration),"single"===e.lazyType&&"carousel"===e.sliderType&&(e.lazyType="smart"),"carousel"===e.sliderType&&e.carousel.justify&&(e.justifyCarousel=!0,e.keepBPHeight=!0),e.enableUpscaling=1==e.enableUpscaling&&"carousel"!==e.sliderType&&"fullwidth"===e.sliderLayout,e.useFullScreenHeight="carousel"===e.sliderType&&"fullscreen"===e.sliderLayout&&!0===e.useFullScreenHeight&&"v"!==e.carousel.orientation,e.progressBar.y=parseInt(e.progressBar.y,0),e.progressBar.x=parseInt(e.progressBar.x,0),
/*! Custom Eases */
"IE"!==window.RSBrowser&&e.customEases!==t&&(!e.customEases.SFXBounceLite&&"true"!=e.customEases.SFXBounceLite||tpGS.SFXBounceLite!==t||(tpGS.SFXBounceLite=tpGS.CustomBounce.create("SFXBounceLite",{strength:.3,squash:1,squashID:"SFXBounceLite-squash"})),!e.customEases.SFXBounceSolid&&"true"!=e.customEases.SFXBounceSolid||tpGS.SFXBounceSolid!==t||(tpGS.SFXBounceSolid=tpGS.CustomBounce.create("SFXBounceSolid",{strength:.5,squash:2,squashID:"SFXBounceSolid-squash"})),!e.customEases.SFXBounceStrong&&"true"!=e.customEases.SFXBounceStrong||tpGS.SFXBounceStrong!==t||(tpGS.SFXBounceStrong=tpGS.CustomBounce.create("SFXBounceStrong",{strength:.7,squash:3,squashID:"SFXBounceStrong-squash"})),!e.customEases.SFXBounceExtrem&&"true"!=e.customEases.SFXBounceExtrem||tpGS.SFXBounceExtrem!==t||(tpGS.SFXBounceExtrem=tpGS.CustomBounce.create("SFXBounceExtrem",{strength:.9,squash:4,squashID:"SFXBounceExtrem-squash"})),!e.customEases.BounceLite&&"true"!=e.customEases.BounceLite||tpGS.BounceLite!==t||(tpGS.BounceLite=tpGS.CustomBounce.create("BounceLite",{strength:.3})),!e.customEases.BounceSolid&&"true"!=e.customEases.BounceSolid||tpGS.BounceSolid!==t||(tpGS.BounceSolid=tpGS.CustomBounce.create("BounceSolid",{strength:.5})),!e.customEases.BounceStrong&&"true"!=e.customEases.BounceStrong||tpGS.BounceStrong!==t||(tpGS.BounceStrong=tpGS.CustomBounce.create("BounceStrong",{strength:.7})),!e.customEases.BounceExtrem&&"true"!=e.customEases.BounceExtrem||tpGS.BounceExtrem!==t||(tpGS.BounceExtrem=tpGS.CustomBounce.create("BounceExtrem",{strength:.9}))),e.modal.coverSpeed=parseFloat(e.modal.coverSpeed),e.modal.coverSpeed=e.modal.coverSpeed>200?e.modal.coverSpeed/1e3:e.modal.coverSpeed,e.modal.coverSpeed=Math.max(Math.min(3,e.modal.coverSpeed),.3),e.navigation.wheelViewPort=e.navigation.wheelViewPort===t?.5:e.navigation.wheelViewPort/100,e.navigation.wheelCallDelay=e.navigation.wheelCallDelay===t?1e3:parseInt(e.navigation.wheelCallDelay),e.autoDPR="string"==typeof e.DPR&&-1!==e.DPR.indexOf("ax"),e.DPR=e.DPR.replace("ax",""),e.DPR=parseInt(e.DPR.replace("x","")),e.DPR=isNaN(e.DPR)?window.devicePixelRatio:e.autoDPR?Math.min(window.devicePixelRatio,e.DPR):e.DPR,e.DPR=1!=e.onedpronmobile&&"true"!=e.onedpronmobile||!a.ISM?e.DPR:1,!1===e.viewPort.global?e.viewPort.enable=!1:!0===e.viewPort.global&&(e.viewPort.local=e.viewPort.enable,e.viewPort.enable=!0),e.carousel!==t&&"v"==e.carousel.orientation&&(e.carousel.prevNextVisType=(""+e.carousel.prevNextVis).includes("%")?"%":"px",e.carousel.prevNextVis=parseInt(e.carousel.prevNextVis,0)/("%"==e.carousel.prevNextVisType?100:1)),e}(e.extend(!0,{DPR:"dpr",sliderType:"standard",sliderLayout:"auto",overlay:{type:"none",size:1,colora:"transparent",colorb:"#000000"},duration:9e3,imgCrossOrigin:"",modal:{useAsModal:!1,cover:!0,coverColor:"rgba(0,0,0,0.5)",horizontal:"center",vertical:"middle",coverSpeed:1},navigation:{keyboardNavigation:!1,keyboard_direction:"horizontal",mouseScrollNavigation:"off",wheelViewPort:50,wheelCallDelay:"1000ms",onHoverStop:!0,mouseScrollReverse:"default",target:"window",threshold:50,touch:{touchenabled:!1,touchOnDesktop:!1,swipe_treshold:75,swipe_min_touches:1,swipe_direction:"horizontal",drag_block_vertical:!1,mobileCarousel:!0,desktopCarousel:!0},arrows:{style:"",enable:!1,hide_onmobile:!1,hide_under:0,hide_onleave:!1,hide_delay:200,hide_delay_mobile:1200,hide_over:9999,tmp:"",rtl:!1,left:{h_align:"left",v_align:"center",h_offset:20,v_offset:0,container:"slider"},right:{h_align:"right",v_align:"center",h_offset:20,v_offset:0,container:"slider"}},bullets:{enable:!1,hide_onmobile:!1,hide_onleave:!1,hide_delay:200,hide_delay_mobile:1200,hide_under:0,hide_over:9999,direction:"horizontal",h_align:"center",v_align:"bottom",space:5,h_offset:0,v_offset:20,tmp:'<span class="tp-bullet-image"></span><span class="tp-bullet-title"></span>',container:"slider",rtl:!1,style:""},thumbnails:{container:"slider",rtl:!1,style:"",enable:!1,width:100,height:50,min_width:100,wrapper_padding:2,wrapper_color:"transparent",tmp:'<span class="tp-thumb-image"></span><span class="tp-thumb-title"></span>',visibleAmount:5,hide_onmobile:!1,hide_onleave:!1,hide_delay:200,hide_delay_mobile:1200,hide_under:0,hide_over:9999,direction:"horizontal",span:!1,position:"inner",space:2,h_align:"center",v_align:"bottom",h_offset:0,v_offset:20,mhoff:0,mvoff:0},tabs:{container:"slider",rtl:!1,style:"",enable:!1,width:100,min_width:100,height:50,wrapper_padding:10,wrapper_color:"transparent",tmp:'<span class="tp-tab-image"></span>',visibleAmount:5,hide_onmobile:!1,hide_onleave:!1,hide_delay:200,hide_delay_mobile:1200,hide_under:0,hide_over:9999,direction:"horizontal",span:!1,space:0,position:"inner",h_align:"center",v_align:"bottom",h_offset:0,v_offset:20,mhoff:0,mvoff:0}},responsiveLevels:4064,visibilityLevels:[2048,1024,778,480],gridwidth:960,gridheight:500,minHeight:0,maxHeight:0,keepBPHeight:!1,useFullScreenHeight:!0,overflowHidden:!1,forceOverflow:!1,fixedOnTop:!1,autoHeight:!1,gridEQModule:!1,disableForceFullWidth:!1,fullScreenOffsetContainer:"",fullScreenOffset:"0",hideLayerAtLimit:0,hideAllLayerAtLimit:0,hideSliderAtLimit:0,progressBar:{disableProgressBar:!1,style:"horizontal",size:"5px",radius:10,vertical:"bottom",horizontal:"left",x:0,y:0,color:"rgba(255,255,255,0.5)",bgcolor:"transparent",basedon:"slide",gapsize:0,reset:"reset",gaptype:"gapboth",gapcolor:"rgba(255,255,255,0.5)",ease:"none",visibility:{0:!0,1:!0,2:!0,3:!0}},stopAtSlide:-1,stopAfterLoops:0,shadow:0,startDelay:0,lazyType:"none",lazyOnBg:!1,spinner:"off",shuffle:!1,perspective:"600px",perspectiveType:"local",viewPort:{enable:!1,global:!1,globalDist:"-400px",outof:"wait",visible_area:"200px",presize:!1},fallbacks:{isJoomla:!1,panZoomDisableOnMobile:!1,simplifyAll:!0,nextSlideOnWindowFocus:!1,disableFocusListener:!1,allowHTML5AutoPlayOnAndroid:!0},fanim:!1,parallax:{type:"off",levels:[10,15,20,25,30,35,40,45,50,55,60,65,70,75,80,85],origo:"enterpoint",disable_onmobile:!1,ddd_shadow:!1,ddd_bgfreeze:!1,ddd_overflow:"visible",ddd_layer_overflow:"visible",ddd_z_correction:65,speed:400,speedbg:0,speedls:0},scrolleffect:{set:!1,fade:!1,blur:!1,scale:!1,grayscale:!1,maxblur:10,layers:!1,slide:!1,direction:"both",multiplicator:1.35,multiplicator_layers:.5,tilt:30,disable_onmobile:!1},sbtimeline:{set:!1,fixed:!1,fixStart:0,fixEnd:0,layers:!1,slide:!1,ease:"none",speed:500},carousel:{orientation:"h",prevNextVis:"50px",easing:"power3.inOut",speed:800,showLayersAllTime:!1,horizontal_align:"center",vertical_align:"center",snap:!0,infinity:!1,stopOnClick:!0,space:0,maxVisibleItems:3,stretch:!1,fadeout:!0,maxRotation:0,maxOpacity:100,minScale:0,offsetScale:!1,vary_fade:!1,vary_rotation:!1,vary_scale:!1,border_radius:"0px",padding_top:0,padding_bottom:0,skewX:0,skewY:0,spin:"off",spinAngle:0,overshoot:!1},observeWrap:!1,extensions:"extensions/",extensions_suffix:".min.js",stopLoop:!1,waitForInit:!1,ignoreHeightChange:!0,onedpronmobile:!1},i))};window.RS_MODULES=window.RS_MODULES||{},window.RS_MODULES.waiting=window.RS_MODULES.waiting||[];var E=["DOM","main","parallax","video","slideanims","actions","layeranimation","navigation","carousel","panzoom"];for(var N in E)-1==window.RS_MODULES.waiting.indexOf(E[N])&&window.RS_MODULES.waiting.push(E[N]);function j(e){window.elementorFrontend!==t&&elementorFrontend.hooks!==t&&elementorFrontend.hooks.removeAction("frontend/element_ready/global",j),window.RS_MODULES.elementor={loaded:!0,version:"6.5.0"},window.RS_MODULES.checkMinimal&&window.RS_MODULES.checkMinimal()}function V(){if(window.elementorFrontend===t||window.elementorFrontend.hooks===t||window.elementorFrontend.hooks.addAction===t)return window.RS_MODULES.elementorCounter++,window.RS_MODULES.elementorCounterCheck&&window.RS_MODULES.elementorCounter>20?void j():void requestAnimationFrame(V);window.elementorFrontend.config.environmentMode.edit?elementorFrontend.hooks.addAction("frontend/element_ready/widget",j):j()}function X(){1!=RS_MODULES.checkElementorCalled&&(RS_MODULES.checkElementorCalled=!0,document.body&&(document.body.className.indexOf("elementor-page")>=0||document.body.className.indexOf("elementor-default")>=0)&&(window.RS_MODULES.waiting=window.RS_MODULES.waiting===t?[]:window.RS_MODULES.waiting,-1==window.RS_MODULES.waiting.indexOf("elementor")&&window.RS_MODULES.waiting.push("elementor"),document.body&&-1==document.body.className.indexOf("elementor-editor-active")&&(window.RS_MODULES.elementorCounterCheck=!0),window.RS_MODULES.elementorCounter=0,V()))}window.RS_MODULES.main={loaded:!0,version:i},window.RS_MODULES.minimal=!1,window.RS_MODULES.callSliders=function(){for(var e in RS_MODULES.modules)!0!==RS_MODULES.modules[e].once&&window.RS_MODULES!==t&&window.RS_MODULES.minimal&&(RS_MODULES.modules[e].once=!0,RS_MODULES.modules[e].init())},"loading"===document.readyState?document.addEventListener("readystatechange",(function(){"interactive"!==document.readyState&&"complete"!==document.readyState||(X(),window.RS_MODULES.DOM={loaded:!0},window.RS_MODULES.checkMinimal())})):"complete"!==document.readyState&&"interactive"!==document.readyState||(X(),window.RS_MODULES.DOM={loaded:!0}),window.RS_MODULES.checkMinimal=function(){if(0==window.RS_MODULES.minimal){var i=1==window.RS_MODULES.minimal||window.RS_MODULES.waiting!==t&&e.fn.revolution!==t&&window.tpGS!==t&&window.tpGS.gsap!==t;if(i)for(var a in window.RS_MODULES.waiting)window.RS_MODULES.waiting.hasOwnProperty(a)&&"function"!=typeof window.RS_MODULES.waiting[a]&&i&&window.RS_MODULES[window.RS_MODULES.waiting[a]]===t&&(i=!1);i&&(!0!==window.RS_MODULES.minimal&&e(document).trigger("REVSLIDER_READY_TO_USE"),window.RS_MODULES.minimal=!0)}else window.RS_MODULES.minimal=!0;!0===window.RS_MODULES.minimal&&window.RS_MODULES.callSliders()},window.RS_MODULES.checkMinimal()}(jQuery),function($,undefined){"use strict";var version="6.6.0";jQuery.fn.revolution=jQuery.fn.revolution||{};var _R=jQuery.fn.revolution;jQuery.extend(!0,_R,{checkActions:function(e,t){e===undefined?moduleEnterLeaveActions(t):checkActions_intern(e,t)},delayer:function(e,t,i){_R[e].timeStamps=_R[e].timeStamps===undefined?{}:_R[e].timeStamps;var a=(new Date).getTime(),r=_R[e].timeStamps[i]===undefined?parseInt(t)+100:a-_R[e].timeStamps[i],o=parseInt(r)>t;return o&&(_R[e].timeStamps[i]=a),o},getURLDetails:function(e){(e=e===undefined?{}:e).url=e.url===undefined?window.location.href:e.url,e.url=e.url.replace("www",""),e.protocol=0===e.url.indexOf("http://")?"http://":0===e.url.indexOf("https://")?"https://":0===e.url.indexOf("//")?"//":"relative";var t=e.url.replace("https://","");t=t.replace("http://",""),"relative"===e.protocol&&(t=t.replace("//","")),t=t.split("#"),e.anchor=(e.anchor===undefined||""==e.anchor||0==e.anchor.length)&&t.length>1?t[1]:e.anchor===undefined?"":e.anchor.replace("#",""),e.anchor=e.anchor.split("?"),e.queries=t[0].split("?"),e.queries=e.queries.length>1?e.queries[1]:"",e.queries=e.queries.length>1?e.queries[1]:e.anchor.length>1?e.anchor[1]:e.queries,e.anchor=e.anchor[0];(t=t[0]).split("/");var i=t.split("/");return e.host=i[0],i.splice(0,1),e.path="/"+i.join("/"),"/"==e.path[e.path.length-1]&&(e.path=e.path.slice(0,-1)),e.origin="relative"!==e.protocol?e.protocol+e.host:window.location.origin.replace("www","")+window.location.pathname,e.hash=(""!==e.queries&&e.queries!==undefined?"?"+e.queries:"")+(""!==e.anchor&&e.anchor!==undefined?"#"+e.anchor:""),e},scrollToId:function(e){if(_R.scrollToObj=e,!window.isSafari11){var t=tpGS.gsap.getProperty("html","scrollBehavior"),i=tpGS.gsap.getProperty("body","scrollBehavior");tpGS.gsap.set("html,body",{scrollBehavior:"auto"}),e.scrollBehaviorHtml=t,e.scrollBehaviorBody=i}_R.calcScrollToId()},calcScrollToId:function(){if(_R.scrollToObj){var e=_R.scrollToObj,t=e.tween&&e.tween.progress?e.tween.progress():0;e.tween&&e.tween.kill&&e.tween.kill(),e.startScrollPos!==undefined&&null!==e.startScrollPos||(e.startScrollPos=_R[e.id].modal.useAsModal?_R[e.id].cpar.scrollTop():_R.document.scrollTop());var i="scrollbelow"===e.action?(getOffContH(_R[e.id].fullScreenOffsetContainer)||0)-(parseInt(e.offset,0)||0)||0:0-(parseInt(e.offset,0)||0),a="scrollbelow"===e.action?_R[e.id].c:jQuery("#"+e.anchor),r=a.length>0?a.offset().top:0,o={_y:_R[e.id].modal.useAsModal?_R[e.id].cpar[0].scrollTop:window.pageYOffset!==document.documentElement.scrollTop?0!==window.pageYOffset?window.pageYOffset:document.documentElement.scrollTop:window.pageYOffset};r+="scrollbelow"===e.action?_R[e.id].sbtimeline.fixed?_R[e.id].cpar.parent().height()+_R[e.id].fullScreenOffsetResult:jQuery(_R[e.id].slides[0]).height():0,e.tween=tpGS.gsap.fromTo(o,e.speed/1e3,{_y:e.startScrollPos},{_y:r-i,ease:e.ease,onUpdate:function(){_R[e.id].modal.useAsModal?_R[e.id].cpar.scrollTop(o._y):_R.document.scrollTop(o._y)},onComplete:function(){e.hash!==undefined&&history.pushState(null,null,e.hash),window.isSafari11||(tpGS.gsap.set("html",{scrollBehavior:e.scrollBehaviorHtml}),tpGS.gsap.set("body",{scrollBehavior:e.scrollBehaviorBody})),_R.scrollToObj&&(_R.scrollToObj.tween&&(_R.scrollToObj.tween.kill(),_R.scrollToObj.tween=null),_R.scrollToObj.startScrollPos=null,_R.scrollToObj=null)}}),e.tween.progress(t)}}});var moduleEnterLeaveActions=function(e){!_R[e].moduleActionsPrepared&&_R[e].c[0].getElementsByClassName("rs-on-sh").length>0&&(_R[e].c.on("tp-mouseenter",(function(){_R[e].mouseoncontainer=!0;var t,i=_R[e].pr_next_key!==undefined?_R[e].pr_next_key:_R[e].pr_processing_key!==undefined?_R[e].pr_processing_key:_R[e].pr_active_key!==undefined?_R[e].pr_active_key:_R[e].pr_next_key;if("none"!==i&&i!==undefined){if((i=_R.gA(_R[e].slides[i],"key"))!==undefined&&_R[e].layers[i])for(t in _R[e].layers[i])_R[e].layers[i][t].className.indexOf("rs-on-sh")>=0&&_R.renderLayerAnimation({layer:jQuery(_R[e].layers[i][t]),frame:"frame_1",mode:"trigger",id:e});for(t in _R[e].layers.static)_R[e].layers.static[t].className.indexOf("rs-on-sh")>=0&&_R.renderLayerAnimation({layer:jQuery(_R[e].layers.static[t]),frame:"frame_1",mode:"trigger",id:e})}})),_R[e].c.on("tp-mouseleft",(function(){_R[e].mouseoncontainer=!0;var t,i=_R[e].pr_next_key!==undefined?_R[e].pr_next_key:_R[e].pr_processing_key!==undefined?_R[e].pr_processing_key:_R[e].pr_active_key!==undefined?_R[e].pr_active_key:_R[e].pr_next_key;if("none"!==i&&i!==undefined){if((i=_R.gA(_R[e].slides[i],"key"))!==undefined&&_R[e].layers[i])for(t in _R[e].layers[i])_R[e].layers[i][t].className.indexOf("rs-on-sh")>=0&&_R.renderLayerAnimation({layer:jQuery(_R[e].layers[i][t]),frame:"frame_999",mode:"trigger",id:e});for(t in _R[e].layers.static)_R[e].layers.static[t].className.indexOf("rs-on-sh")>=0&&_R.renderLayerAnimation({layer:jQuery(_R[e].layers.static[t]),frame:"frame_999",mode:"trigger",id:e})}}))),_R[e].moduleActionsPrepared=!0},checkActions_intern=function(layer,id){var actions=_R.gA(layer[0],"actions");if("RS-COLUMN"==layer[0].tagName){var wrap=_R.closestNode(layer[0],"RS-COLUMN-WRAP");null!==wrap&&wrap!==undefined&&(_R.sA(wrap,"action",actions),layer=jQuery(wrap))}var _L=layer.data();for(var ei in actions=actions.split("||"),layer.addClass("rs-waction"),_L.events=_L.events===undefined?[]:_L.events,actions)if(actions.hasOwnProperty(ei)){var event=getEventParams(actions[ei].split(";"));_L.events.push(event),"click"===event.on&&layer[0].classList.add("rs-wclickaction"),_R[id].fullscreen_esclistener||"exitfullscreen"!=event.action&&"togglefullscreen"!=event.action||(_R.document.keyup((function(e){27==e.keyCode&&jQuery("#rs-go-fullscreen").length>0&&layer.trigger(event.on)})),_R[id].fullscreen_esclistener=!0);var targetlayer="backgroundvideo"==event.layer?jQuery("rs-bgvideo"):"firstvideo"==event.layer?jQuery("rs-slide").find(".rs-layer-video"):jQuery("#"+event.layer);switch(-1!=jQuery.inArray(event.action,["toggleslider","toggle_mute_video","toggle_global_mute_video","togglefullscreen"])&&(_L._togglelisteners=!0),event.action){case"togglevideo":jQuery.each(targetlayer,(function(){updateToggleByList(jQuery(this),"videotoggledby",layer[0].id)}));break;case"togglelayer":jQuery.each(targetlayer,(function(){updateToggleByList(jQuery(this),"layertoggledby",layer[0].id),jQuery(this).data("triggered_startstatus",event.togglestate)}));break;case"toggle_global_mute_video":case"toggle_mute_video":jQuery.each(targetlayer,(function(){updateToggleByList(jQuery(this),"videomutetoggledby",layer[0].id)}));break;case"toggleslider":_R[id].slidertoggledby==undefined&&(_R[id].slidertoggledby=[]),_R[id].slidertoggledby.push(layer[0].id);break;case"togglefullscreen":_R[id].fullscreentoggledby==undefined&&(_R[id].fullscreentoggledby=[]),_R[id].fullscreentoggledby.push(layer[0].id)}}_R[id].actionsPrepared=!0,_R[id].actionListenerHook=_R[id].actionListenerHook==undefined?{_on:""}:_R[id].actionListenerHook,layer.on("click mouseenter mouseleave "+_R[id].actionListenerHook._on,(function(e){for(var i in _L.events)if(_L.events.hasOwnProperty(i)&&_L.events[i].on.includes(e.type)){var event=_L.events[i];if(!(event.repeat!==undefined&&event.repeat>0)||_R.delayer(id,1e3*event.repeat,_L.c[0].id+"_"+event.action)){if("click"===event.on&&layer.hasClass("tp-temporarydisabled"))return!1;(""+event.layer).includes("layer-sta_")&&(_R[id].staticPrefix=_R[id].staticPrefix?_R[id].staticPrefix:Object.keys(_R[id].layers.static)[0],(""+_R[id].staticPrefix).includes("layer-")&&(event.layer=_R[id].staticPrefix.split("layer-")[0]+"layer-"+event.layer.split("layer-sta_")[1]));var targetlayer="backgroundvideo"==event.layer?jQuery(_R[id].slides[_R[id].pr_active_key]).find("rs-sbg-wrap rs-bgvideo"):"firstvideo"==event.layer?jQuery(_R[id].slides[_R[id].pr_active_key]).find(".rs-layer-video").first():jQuery("#"+event.layer),tex=targetlayer.length>0;if(""!=_R[id].actionListenerHook._on&&"click"!==e.type&&"mouseenter"!==e.type&&"mouseleave"!==e.type){var keepgoing=!0;for(var cbs in _R[id].actionListenerHook.callBacks){if(!0!==keepgoing)break;_R[id].actionListenerHook.callBacks.hasOwnProperty(cbs)&&"function"==typeof _R[id].actionListenerHook.callBacks[cbs]&&(keepgoing=_R[id].actionListenerHook.callBacks[cbs]({event:event,layer:layer,targetlayer:targetlayer,L:_L}))}if(!keepgoing)continue}switch(event.action){case"menulink":var linkto=_R.getURLDetails({url:event.url,anchor:event.anchor}),linkfrom=_R.getURLDetails();linkto.host==linkfrom.host&&linkto.path==linkfrom.path&&"_self"===event.target?_R.scrollToId({id:id,offset:event.offset,action:event.action,anchor:event.anchor,hash:linkto.hash,speed:event.speed,ease:event.ease}):"_self"===event.target?window.location=linkto.url+(linkto.anchor!==undefined&&""!==linkto.anchor?"#"+linkto.anchor:""):window.open(linkto.url+(linkto.anchor!==undefined&&""!==linkto.anchor?"#"+linkto.anchor:"")),e.preventDefault();break;case"getAccelerationPermission":_R.getAccelerationPermission(id);break;case"nextframe":case"prevframe":case"gotoframe":case"togglelayer":case"toggleframes":case"startlayer":case"stoplayer":if(targetlayer[0]===undefined)continue;var _=_R[id]._L[targetlayer[0].id],frame=event.frame,tou="triggerdelay";if("click"===e.type&&_.clicked_time_stamp!==undefined&&(new Date).getTime()-_.clicked_time_stamp<300)return;if("mouseenter"===e.type&&_.mouseentered_time_stamp!==undefined&&(new Date).getTime()-_.mouseentered_time_stamp<300)return;if(clearTimeout(_.triggerdelayIn),clearTimeout(_.triggerdelayOut),clearTimeout(_.triggerdelay),"click"===e.type&&(_.clicked_time_stamp=(new Date).getTime()),"mouseenter"===e.type&&(_.mouseentered_time_stamp=(new Date).getTime()),"mouseleave"===e.type&&(_.mouseentered_time_stamp=undefined),"nextframe"===event.action||"prevframe"===event.action){_.forda=_.forda===undefined?getFordWithAction(_):_.forda;var inx=jQuery.inArray(_.currentframe,_.ford);for("nextframe"===event.action&&inx++,"prevframe"===event.action&&inx--;"skip"!==_.forda[inx]&&inx>0&&inx<_.forda.length-1;)"nextframe"===event.action&&inx++,"prevframe"===event.action&&inx--,inx=Math.min(Math.max(0,inx),_.forda.length-1);frame=_.ford[inx]}jQuery.inArray(event.action,["toggleframes","togglelayer","startlayer","stoplayer"])>=0&&(_.triggeredstate="startlayer"===event.action||"togglelayer"===event.action&&"frame_1"!==_.currentframe||"toggleframes"===event.action&&_.currentframe!==event.frameN,"togglelayer"===event.action&&!0===_.triggeredstate&&_.currentframe!==undefined&&"frame_999"!==_.currentframe&&(_.triggeredstate=!1),frame=_.triggeredstate?"toggleframes"===event.action?event.frameN:"frame_1":"toggleframes"===event.action?event.frameM:"frame_999",tou=_.triggeredstate?"triggerdelayIn":"triggerdelayOut",_.triggeredstate?_R.toggleState(_.layertoggledby):(_R.stopVideo&&_R.stopVideo(targetlayer,id),_R.unToggleState(_.layertoggledby)));var pars={layer:targetlayer,frame:frame,mode:"trigger",id:id};!0===event.children&&(pars.updateChildren=!0,pars.fastforward=!0),_R.renderLayerAnimation&&(clearTimeout(_[tou]),_[tou]=setTimeout((function(e){_R.renderLayerAnimation(e)}),1e3*event.delay,pars));break;case"playvideo":tex&&_R.playVideo(targetlayer,id);break;case"stopvideo":tex&&_R.stopVideo&&_R.stopVideo(targetlayer,id);break;case"togglevideo":tex&&(_R.isVideoPlaying(targetlayer,id)?_R.stopVideo&&_R.stopVideo(targetlayer,id):_R.playVideo(targetlayer,id));break;case"mutevideo":tex&&_R.Mute(targetlayer,id,!0);break;case"unmutevideo":tex&&_R.Mute&&_R.Mute(targetlayer,id,!1);break;case"toggle_mute_video":tex&&(_R.Mute(targetlayer,id)?_R.Mute(targetlayer,id,!1):_R.Mute&&_R.Mute(targetlayer,id,!0));break;case"toggle_global_mute_video":var pvl=_R[id].playingvideos!=undefined&&_R[id].playingvideos.length>0;pvl&&(_R[id].globalmute?jQuery.each(_R[id].playingvideos,(function(e,t){_R.Mute&&_R.Mute(t,id,!1)})):jQuery.each(_R[id].playingvideos,(function(e,t){_R.Mute&&_R.Mute(t,id,!0)}))),_R[id].globalmute=!_R[id].globalmute;break;default:tpGS.gsap.delayedCall(event.delay,(function(targetlayer,id,event,layer){switch(event.action){case"openmodal":_R.openModalAPI(event.modal,event.modalslide===undefined?0:event.modalslide,_R[id].ajaxUrl,!0,id,event);break;case"closemodal":_R.revModal(id,{mode:"close"});break;case"callback":eval(event.callback);break;case"simplelink":window.open(event.url,event.target);break;case"simulateclick":targetlayer.length>0&&targetlayer.trigger("click");break;case"toggleclass":targetlayer.length>0&&targetlayer.toggleClass(event.classname);break;case"scrollbelow":case"scrollto":"scrollbelow"===event.action&&layer.addClass("tp-scrollbelowslider"),_R.scrollToId({id:id,offset:event.offset,action:event.action,anchor:event.id,speed:event.speed,ease:event.ease});break;case"jumptoslide":switch(_R[id].skipAttachDetach=!0,event.slide.toLowerCase()){case"rs-random":var ts=Math.min(Math.max(0,Math.ceil(Math.random()*_R[id].realslideamount)-1));ts=_R[id].activeRSSlide==ts?ts>0?ts-1:ts+1:ts,_R.callingNewSlide(id,_R[id].slides[ts].dataset.key,"carousel"===_R[id].sliderType);break;case"+1":case"next":case"rs-next":_R[id].sc_indicator="arrow",_R[id].sc_indicator_dir=0,_R.callingNewSlide(id,1,"carousel"===_R[id].sliderType);break;case"rs-previous":case"rs-prev":case"previous":case"prev":case"-1":_R[id].sc_indicator="arrow",_R[id].sc_indicator_dir=1,_R.callingNewSlide(id,-1,"carousel"===_R[id].sliderType);break;case"first":case"rs-first":_R[id].sc_indicator="arrow",_R[id].sc_indicator_dir=1,_R.callingNewSlide(id,0,"carousel"===_R[id].sliderType);break;case"last":case"rs-last":_R[id].sc_indicator="arrow",_R[id].sc_indicator_dir=0,_R.callingNewSlide(id,_R[id].slideamount-1,"carousel"===_R[id].sliderType);break;default:var ts=_R.isNumeric(event.slide)?parseInt(event.slide,0):event.slide;_R.callingNewSlide(id,ts,"carousel"===_R[id].sliderType)}break;case"toggleslider":_R[id].noloopanymore=0,"playing"==_R[id].sliderstatus?(_R[id].c.revpause(),_R[id].forcepaused=!0,_R.unToggleState(_R[id].slidertoggledby)):(_R[id].forcepaused=!1,_R[id].c.revresume(),_R.toggleState(_R[id].slidertoggledby));break;case"pauseslider":_R[id].c.revpause(),_R.unToggleState(_R[id].slidertoggledby);break;case"playslider":_R[id].noloopanymore=0,_R[id].c.revresume(),_R.toggleState(_R[id].slidertoggledby);break;case"gofullscreen":case"exitfullscreen":case"togglefullscreen":var gf;tpGS.gsap.set(_R[id].parallax.bgcontainers,{y:0}),jQuery(".rs-go-fullscreen").length>0&&("togglefullscreen"==event.action||"exitfullscreen"==event.action)?(jQuery(".rs-go-fullscreen").removeClass("rs-go-fullscreen"),gf=_R[id].c.closest("rs-fullwidth-wrap").length>0?_R[id].c.closest("rs-fullwidth-wrap"):_R[id].c.closest("rs-module-wrap"),_R[id].minHeight=_R[id].oldminheight,_R[id].infullscreenmode=!1,_R[id].c.revredraw(),_R[id].c.revredraw(),jQuery(window).trigger("resize"),_R.unToggleState(_R[id].fullscreentoggledby)):0!=jQuery(".rs-go-fullscreen").length||"togglefullscreen"!=event.action&&"gofullscreen"!=event.action||(gf=_R[id].c.closest("rs-fullwidth-wrap").length>0?_R[id].c.closest("rs-fullwidth-wrap"):_R[id].c.closest("rs-module-wrap"),gf.addClass("rs-go-fullscreen"),_R[id].oldminheight=_R[id].minHeight,_R[id].minHeight=_R.getWinH(id),_R[id].infullscreenmode=!0,jQuery(window).trigger("resize"),_R.toggleState(_R[id].fullscreentoggledby),_R[id].c.revredraw());break;default:_R[id].c.trigger("layeraction",[event.action,layer,event])}}),[targetlayer,id,event,layer])}}}}))};function getFordWithAction(e){var t=[];for(var i in e.ford)e.frames[e.ford[i]].timeline.waitoncall?t.push(e.ford[i]):t.push("skip");return t}function updateToggleByList(e,t,i){var a=e.data(t);a===undefined&&(a=[]),a.push(i),e.data(t,a)}function getEventParams(e){var t={on:"click",delay:0,ease:"power2.out",speed:400};for(var i in e)if(e.hasOwnProperty(i)){var a=e[i].split(":");switch(a.length>2&&"call"===a[0]&&(a[1]=a.join(":").replace(a[0]+":","")),a[0]){case"modal":t.modal=a[1];break;case"ms":t.modalslide=a[1];break;case"m":t.frameM=a[1];break;case"n":t.frameN=a[1];break;case"o":t.on="click"===a[1]||"c"===a[1]?"click":"ml"===a[1]||"mouseleave"===a[1]?"mouseleave":"mouseenter"===a[1]||"me"===a[1]?"mouseenter":a[1];break;case"d":t.delay=parseInt(a[1],0)/1e3,t.delay="NaN"===t.delay||isNaN(t.delay)?0:t.delay;break;case"rd":t.repeat=parseInt(a[1],0)/1e3,t.repeat="NaN"===t.repeat||isNaN(t.repeat)?0:t.repeat;break;case"a":t.action=a[1];break;case"f":t.frame=a[1];break;case"slide":t.slide=a[1];break;case"layer":t.layer=a[1];break;case"sp":t.speed=parseInt(a[1],0);break;case"e":t.ease=a[1];break;case"ls":t.togglestate=a[1];break;case"offset":t.offset=a[1];break;case"call":t.callback=a[1];break;case"url":t.url="";for(var r=1;r<a.length;r++)t.url+=a[r]+(r===a.length-1?"":":");break;case"target":t.target=a[1];break;case"class":t.classname=a[1];break;case"ch":t.children="true"==a[1]||1==a[1]||"t"==a[1];break;default:a[0].length>0&&""!==a[0]&&(t[a[0]]=a[1])}}return t}var getOffContH=function(e){if(e==undefined)return 0;if(e.split(",").length>1){var t=e.split(","),i=0;return t&&jQuery.each(t,(function(e,t){jQuery(t).length>0&&(i+=jQuery(t).outerHeight(!0))})),i}return jQuery(e).height()};window.RS_MODULES=window.RS_MODULES||{},window.RS_MODULES.actions={loaded:!0,version:version},window.RS_MODULES.checkMinimal&&window.RS_MODULES.checkMinimal()}(jQuery),function(e){"use strict";jQuery.fn.revolution=jQuery.fn.revolution||{};var t=jQuery.fn.revolution;jQuery.extend(!0,t,{prepareCarousel:function(e,i,a,r){if(void 0!==e){var s=t[e].carousel;s.slidesWithRowAdjustions={},i=s.lastdirection=o(i,s.lastdirection),t.setCarouselDefaults(e,void 0,r),t.organiseCarousel(e,"right",!0,!1,!1),void 0!==s.swipeTo&&t.isNumeric(s.swipeTo)?void 0!==a?t.swipeAnimate({id:e,to:s.swipeTo,distance:s.swipeToDistance,direction:i,fix:!0,speed:a}):t.swipeAnimate({id:e,to:s.swipeTo,distance:s.swipeToDistance,direction:i,fix:!0}):t.swipeAnimate({id:e,to:0,direction:i,speed:0}),"carousel"!==t[e].sliderType||s.fadein||(tpGS.gsap.to(t[e].canvas,1,{scale:1,opacity:1}),s.fadein=!0)}},setupCarousel:function(e){var o=t[e].carousel;"v"==o.orientation?(o.length="height",o.translate="y",o.slide_dims="slide_heights",o.deltaT="deltaY",o.sliderLength="sliderHeight",o.slide_length="slide_height",o.wraplength="wrapheight",o.align="0%"===o.vertical_align?"start":"50%"===o.vertical_align?"center":"end",!o.snap||o.justify||o.infinity||(o.forceBAlign=!0)):(o.length="width",o.translate="x",o.slide_dims="slide_widths",o.deltaT="deltaX",o.sliderLength="sliderWidth",o.slide_length="slide_width",o.wraplength="wrapwidth",o.align="left"===o.horizontal_align?"start":"center"===o.horizontal_align?"center":"end"),o[o.sliderLength]=t[e].canv[o.length],o.proxy=document.createElement("div"),o.follower=document.createElement("div"),o.slideamount=t[e].slideamount,o.infinity||o.snap||(t[e].carousel.align="start"),r(e),a(e,o.align),o.inited=!0,o.lerpHandler=t.carLerpHandler.bind(this,e),void 0===o.animInList&&(o.animInList=[]),o.draggableObj={trigger:t[e].c[0],type:o.translate,edgeResistance:.5,zIndexBoost:!1,cursor:"grab",activeCursor:"grabbing",allowContextMenu:!0,inertia:!0,throwResistance:o.snap?8e3:500,onPress:function(i){t.closestClass(i.target,"rs-nav-element")?(o.draggable.endDrag(),o.draggable.disable()):t[e].c.trigger("stoptimer"),o.focusedOnPress=o.focused,o.isPressed=!0,o.fromWheel=!1,o.cX=o.lerpX=this.pointerX,o.cY=o.lerpY=this.pointerY,o.tween&&o.tween.kill&&(o.tween.kill(),delete o.tween)},onClick:function(i){o.isPressed=!1,t.closestClass(i.target,"rs-nav-element")||t.closestClass(i.target,"rs-waction")||o.draggable.enabled()&&!1===t[e].carousel.stopOnClick&&t[e].c.trigger("starttimer")},onDragStart:function(){o.lerpSpeed=.1,o.lerp||(o.lerp=requestAnimationFrame(o.lerpHandler)),t.ISM&&o.forceBAlign&&("up"===this.getDirection()&&o.focused==o.slideamount-1||"down"===this.getDirection()&&0==o.focused?o.forceScroll=!0:o.forceScroll=!1)},onDrag:function(){o.cX=this.pointerX,o.cY=this.pointerY},snap:function(i){var a;return t.getLastPos(e),o.isPressed=!1,o.forceScroll&&o.forceBAlign?(a="up"===this.getDirection()?t[e].cpar.offset().top+t[e].module.height:t.document.scrollTop()-(window.innerHeight-t[e].cpar[0].getBoundingClientRect().top),t[e].modal.useAsModal||tpGS.gsap.to([window,"body"],{scrollTo:a}),o.focused!=o.slideamount-1||o.infinity?o.lastPos:o[o.wraplength]-o.totalWidth):(t.calculateSnap(e,i),i)}},o.draggable=tpGS.draggable.create(o.proxy,o.draggableObj)[0],t[e].c.one("revolution.slide.onchange",(function(){i(e)}))},positionCarousel:function(e){var i=t[e].carousel;if(i[i.sliderLength]=t[e].canv[i.length],i.draggable&&!i.draggable.isPressed){for(var a=0,o=0;o<i.slideamount;o++)i.arr[o].elem===t[e].slides[i.closest]&&(a=i.arr[o].prog);if(Number.isNaN(a)&&(a=0),r(e),t.ISM&&t[e].navigation.touch.mobileCarousel||!0!==t.ISM&&t[e].navigation.touch.desktopCarousel?(i.draggable.vars.cursor="grab",i.draggable.enable()):(i.draggable.vars.cursor="pointer",i.draggable.disable()),t[e].carousel.justify){i.wrapperWidth=0;for(o=0;o<t[e].carousel[i.slide_dims].length;o++)i.wrapperWidth+=t[e].carousel[i.slide_dims][o]}else i.wrapperWidth=i.slide_width*t[e].slides.length;void 0===i.focused&&(i.focused=0),i.activeSlide=i.oldfocused=void 0===i.focused||void 0===i.closest?0:i.closest;for(o=0;o<i.arr.length;o++)t.updateSlideWidth(e,o);var s,n,l=0;i.lastWrapwidth=i.wrapwidth,i.lastWrapheight=i.wrapheight,n=s="start"===t[e].carousel.align?0:"center"===t[e].carousel.align?(i[i.wraplength]-i.arr[i.activeSlide][i.length])/2:i[i.wraplength]-i.arr[i.activeSlide][i.length],i.infinity||"v"!==i.orientation||i.activeSlide!=i.slideamount-1||(s=i[i.wraplength]-i.arr[i.activeSlide][i.length]),tpGS.gsap.set([i.proxy,i.follower],{x:s,y:s});var d=i.arr[0][i.length]*a;if(i.infinity){for(o=i.activeSlide;o<i.arr.length;o++)o!==i.activeSlide&&(l+=i.space),"h"===i.orientation?tpGS.gsap.set(i.arr[o].elem,{x:l+s+d}):tpGS.gsap.set(i.arr[o].elem,{y:l+s+d}),i.arr[o].posX=l+s+d,i.arr[o][i.translate]=l+s+d,l+=i.arr[o][i.length];var c=s+d;for(o=i.activeSlide-1;o>=0;o--)c-=i.arr[o][i.length]+i.space,i.arr[o].posX=c+d,i.arr[o][i.translate]=c,"h"===i.orientation?tpGS.gsap.set(i.arr[o].elem,{x:c}):tpGS.gsap.set(i.arr[o].elem,{y:c}),l+=i.arr[o][i.length]+i.space}else{var p=0;for(o=0;o<i.arr.length;o++)o>0&&(l+=i.space),o==i.activeSlide&&(p+=l),i.arr[o].posX=l+s+d,i.arr[o][i.translate]=l+s+d,"h"===i.orientation?tpGS.gsap.set(i.arr[o].elem,{x:l+s+d}):tpGS.gsap.set(i.arr[o].elem,{y:l+s+d}),l+=i.arr[o][i.length];tpGS.gsap.set([i.proxy,i.follower],{x:s-p,y:s-p}),"h"===i.orientation?tpGS.gsap.set([t[e].slides],{x:"-="+p}):tpGS.gsap.set([t[e].slides],{y:"-="+p});for(o=0;o<i.arr.length;o++)i.arr[o].posX-=p,i.arr[o][i.translate]-=p}if(i.startOffset=n,t.swapCarouselSlides(e,!0),i.infinity?i.draggable.applyBounds({minX:-1/0,maxX:1/0}):!i.infinity&&i.snap?i.draggable.applyBounds({minX:-(i.startOffset+l),maxX:i.startOffset}):i.infinity||i.snap||i.draggable.applyBounds({minX:i.wrapwidth-l,maxX:0}),i.lastActiveSlide=i.activeSlide,i.totalWidth=l,i.lastTotalWidth=l,"off"!==i.spin){var g=i[i.slide_length]/2;i.spinAngle=Math.max(Math.min(i.spinAngle,360/i.arr.length),-360/i.arr.length);var u=g/Math.sin(i.spinAngle/2*Math.PI/180);i.spinR=(Math.sqrt(u*u-g*g)+i.space)*Math.sign(i.spinAngle),"2d"===i.spin&&"h"===i.orientation?i.spinR+=(i.spinAngle<=0?0:1)*("fullscreen"===t[e].sliderLayout?i.wrapheight:i.slide_height):"2d"===i.spin&&(i.spinR+=(i.spinAngle<=0?0:1)*("fullscreen"===t[e].sliderLayout?i.wrapwidth:i.slide_width))}for(o=0;o<i.trackArr.length;o++)for(var h=0;h<i.arr.length;h++)i.trackArr[o].elem===i.arr[h].elem&&(i.trackArr[o].width=i.arr[h].width,i.trackArr[o].height=i.arr[h].height);t.swapCarouselSlides(e,!0),t.applyDistanceEffect(e),t.swipeAnimate({id:e,from:"none"})}},updateSlideWidth:function(e,i){var a=t[e].carousel;if(a.justify)for(var r=0;r<t[e].slides.length;r++)t[e].slides[r]===a.arr[i].elem&&(a.arr[i][a.length]=a[a.slide_dims][r]);else a.arr[i][a.length]=a[a.slide_length]},swapCarouselSlides:function(e){var i=t[e].carousel,a=!0;if(i.infinity&&!(i.totalWidth<i[i.wraplength]))for(var r;a;){var o=parseFloat(i.arr[0][i.translate])>0||void 0!==i.arr[0].progress&&i.arr[0].progress<=i.maxVisibleItems/2&&!(i.arr[i.arr.length-1].progress<=i.maxVisibleItems/2)&&parseFloat(i.arr[i.arr.length-1][i.translate])>=i[i.wraplength],s=parseFloat(i.arr[i.arr.length-1][i.translate])<i[i.wraplength]-i.arr[i.arr.length-1][i.length]||void 0!==i.arr[i.arr.length-1].progress&&i.arr[i.arr.length-1].progress<=i.maxVisibleItems/2&&!(i.arr[0].progress<=i.maxVisibleItems/2)&&parseFloat(i.arr[0][i.translate])+i.arr[0][i.length]<=0;if(o){var n=parseFloat(i.arr[0][i.translate])-i.space,l=i.arr.pop();i.arr.unshift(l),r===l&&(a=!1),r=l,i.arr[0].posX=i.arr[0][i.translate]=n-i.arr[0][i.length],t.getCarActiveSlide(e)}else if(s){n=parseFloat(i.arr[i.arr.length-1][i.translate])+i.space,l=i.arr.shift();i.arr.push(l),r===l&&(a=!1),r=l,i.arr[i.arr.length-1].posX=i.arr[i.arr.length-1][i.translate]=n+i.arr[i.arr.length-2][i.length],t.getCarActiveSlide(e)}else a=!1}},onThrowComplete:function(e){var a=t[e].carousel;"carousel"!==t[e].sliderType||a.fadein||(tpGS.gsap.to(t[e].canvas,1,{scale:1,opacity:1}),a.fadein=!0),t.getCarActiveSlide(e,!0);for(var r=a.arr[a.activeSlide],o=0;o<t[e].slides.length;o++){if(t[e].slides[o]===r.elem){if(a.focused=parseFloat(o),t[e].pr_next_key=a.focused,a.animInList.includes(a.oldfocused.toString())||a.animInList.push(a.oldfocused.toString()),"all"!==a.showLayersAllTime)for(;a.animInList.length>=1;){var s=a.animInList.pop();a.focused!=s&&t.removeTheLayers(jQuery(t[e].slides[s]),e)}for(var n in t.callingNewSlide(e,t[e].slides[o].getAttribute("data-key"),!0,!0),t[e].c.trigger("revolution.nextslide.waiting"),i(e),a.focused!=a.oldfocused&&"all"!==a.showLayersAllTime&&(a.animInList.includes(a.focused.toString())||a.animInList.push(a.focused.toString()),t.animateTheLayers({slide:a.focused,id:e,mode:"start"}),t.animateTheLayers({slide:"individual",id:e,mode:t[e].carousel.allLayersStarted?"rebuild":"start"})),t[e].sbgs)t[e].sbgs.hasOwnProperty(n)&&void 0!==t[e].sbgs[n].bgvid&&0!==t[e].sbgs[n].bgvid.length&&(""+t[e].sbgs[n].skeyindex==""+a.focused?t.playBGVideo(e,t.gA(t[e].pr_next_slide[0],"key")):t.stopBGVideo(e,t[e].sbgs[n].key));a.oldfocused=a.focused}for(var l=t[e].slides[o].querySelectorAll(".rs-on-car"),d=0;d<l.length;d++)t[e].slides[o]!==r.elem&&l[d].classList.contains("rs-layer-video")&&t[e].videos[l[d].id].pauseOnSlideChange&&t.stopVideo(jQuery(l[d]),e)}a.draggable[a.deltaT]=0,t[e].c.trigger("restarttimer")},calculateSnap:function(e,i){var a=t[e].carousel;tpGS.gsap.killTweensOf(a.proxy,a.translate);var r="v"===a.orientation?i-a.draggable.endY:i-a.draggable.endX;Math.abs(r)<3&&(r=0);var o,s=!0,n="v"===a.orientation?Math.abs(a.draggable.endY-a.draggable.startY):Math.abs(a.draggable.endX-a.draggable.startX);if(a.focusedPreSnap=a.focused,a.snap){o=a.direction=a.draggable[a.deltaT]>=0?"right":"left";var l=t.getNextSlide(e,r,o,!0,n<300);r=l.delta,s=l.overshoot,a.target=l.target}else a.target=i;if((!a.infinity&&!a.snap||!a.infinity&&"v"===a.orientation)&&(a.target<=a[a.wraplength]-a.totalWidth?a.target=a[a.wraplength]-a.totalWidth:a.target>=0&&!a.snap&&(a.target=0)),a.swiped=!0,a.overshoot&&s){tpGS.gsap.to(a,{duration:a.snap?.3:.5,lerpSpeed:.8}),s=Math.min(0===a.draggable[a.deltaT]?Math.abs(r)/20:Math.abs(a.draggable[a.deltaT])/2,a[a.wraplength]/4)*Math.sign(r);var d=Math.abs(s/100);a.time=Math.min(Math.max(d/10,a.speed/1e3*.6),a.speed/1e3),a.tween=tpGS.gsap.timeline({onComplete:function(){t.snapCompleted(e)}}),a.tween.to(a.proxy,{x:a.target+s,y:a.target+s,duration:a.time,ease:"power2.out"}).to(a.proxy,{x:a.target,y:a.target,duration:Math.min(2*a.time,.6),ease:a.easing.replace(".inOut",".out").replace(".in",".out")},"overshoot").to(a,{duration:Math.min(2*a.time,.6),lerpSpeed:1},"overshoot")}else d=Math.abs(r/100),a.time=Math.min(Math.max(d/10,a.speed/1e3*.6),a.speed/1e3),a.tween=tpGS.gsap.to(a.proxy,{x:a.target,y:a.target,duration:a.time,ease:a.easing.replace(".inOut",".out").replace(".in",".out"),onComplete:function(){t.snapCompleted(e)}}),tpGS.gsap.to(a,{duration:a.time,lerpSpeed:1})},carLerpHandler:function(e,i){var a=t[e].carousel;"skip"!==i&&(a.lerp=requestAnimationFrame(a.lerpHandler));var r=parseFloat(a.proxy._gsap[a.translate]),o=parseFloat(a.follower._gsap[a.translate]),s=o+(r-o)*a.lerpSpeed-o;"mousedrag"==t[e].parallax.type&&(a.delta=s,a.lerpX=a.lerpX+(a.cX-a.lerpX)*a.lerpSpeed,a.lerpY=a.lerpY+(a.cY-a.lerpY)*a.lerpSpeed,t[e].parallax.frame=window.requestAnimationFrame(t[e].parallax.parallaxHandler)),tpGS.gsap.set(t[e].canvas,{skewX:a.skewX*Math.max(-1,Math.min(1,s/100)),skewY:a.skewY*Math.max(-1,Math.min(1,s/100))}),"h"===a.orientation?(tpGS.gsap.set(a.follower,{x:"+="+s}),tpGS.gsap.set(a.arr,{x:"+="+s})):(tpGS.gsap.set(a.follower,{y:"+="+s}),tpGS.gsap.set(a.arr,{y:"+="+s})),t.swapCarouselSlides(e),t.applyDistanceEffect(e)},snapCompleted:function(e){var i=t[e].carousel;i.lerp=cancelAnimationFrame(i.lerp),i.scrollFrame=cancelAnimationFrame(i.scrollFrame),i.swiped=!1,tpGS.gsap.set(i.follower,{x:i.proxy._gsap[i.translate],y:i.proxy._gsap[i.translate]}),t.onThrowComplete(e)},applyDistanceEffect:function(e){var r=t[e].carousel,o=1/0,s=0,n=0;void 0===r.lastSlideProgress&&(r.lastSlideProgress=1);var l=r.startOffset;for(var d in r.startOffsetCache=r.startOffset,void 0===r.tempAlign&&(r.tempAlign=r.align),"v"!==r.orientation||r.infinity||r.justify||(l=r.startOffset+(r[r.wraplength]-r[r.slide_length]-r.startOffset)*(1-r.lastSlideProgress)),r.arr){var c=parseFloat(r.arr[d][r.translate])-l;if(r.infinity&&(c%=r.totalWidth),Math.abs(c)<o){for(var p=0;p<t[e].slides.length;p++)t[e].slides[p]===r.arr[d].elem&&(n=p,r.closestArr=d);o=Math.abs(c)}r.arr[d].loaded&&s++,r.infinity||r.snap||(0===r.activeSlide?c=parseFloat(r.arr[d][r.translate]):r.activeSlide===r.arr.length-1&&(c=parseFloat(r.arr[d][r.translate])-(r[r.wraplength]-r.arr[d][r.length])));var g=Math.sign(c),u=r.arr[d].progress=Math.abs(c)/(r[r.slide_length]+r.space);if(r.arr[d].prog=c/(r[r.slide_length]+r.space),!r.justify&&"mousedrag"===t[e].parallax.type)for(p=0;p<t[e].slides.length;p++)t[e].slides[p]===r.arr[d].elem&&(r.trackArr[p].progress=u);"v"!==r.orientation||r.infinity||d!=r.slideamount-1||(u<=("left"===r.direction?.9:.1)&&!r.vertAlignBottom?(tpGS.gsap.to(r,{lastSlideProgress:0,duration:.2}),r.vertAlignDefault=!1,r.vertAlignBottom=!0,r.tempAlign="end",a(e,"end")):u>("left"===r.direction?.9:.1)&&!r.vertAlignDefault&&(tpGS.gsap.to(r,{lastSlideProgress:1,duration:.2}),r.vertAlignDefault=!0,r.vertAlignBottom=!1,r.tempAlign=r.align,a(e,r.align))),r.arr[d].sign=g;var h=r.arr[d].progress;h=h/Math.ceil(r.pDiv)*("center"===r.tempAlign?1:"start"===r.tempAlign?g:-g);var m=Math.min(r.arr[d].progress,1)/1,v=100-5*Math.round(r.arr[d].progress),f={};if(r.justify||"off"===r.spin)if(0===r.minScale||r.justify)f[r.translate]=r.arr[d][r.translate];else{var y=1-(r.vary_scale?h:m)*(1-r.minScale),w=r.offsetScale?r.arr[d].sign*(r[r.slide_length]+r.space-(r[r.slide_length]+r.space)*y)/2*r.arr[d].progress:r.arr[d].sign*(r[r.slide_length]-r[r.slide_length]*y)/2*r.arr[d].progress;f[r.translate]=r.arr[d][r.translate]-w,window.isSafari11&&(f.z=-150*(1-y)),f.scale=y}else f[r.translate]=l,"2d"===r.spin?(f.rotation=r.spinAngle*u*("h"===r.orientation?g:-g),"h"===r.orientation?f.transformOrigin="center "+r.spinR+"px 0":f.transformOrigin=r.spinR+"px center 0"):("h"===r.orientation?f.rotationY=r.spinAngle*r.arr[d].progress*-g:f.rotationX=r.spinAngle*r.arr[d].progress*g,f.transformOrigin="center center "+r.spinR+"px");f.opacity=1,r.justify||(0!==r.maxRotation&&(f.rotationY=r.maxRotation*(r.vary_rotation?h:m)*-g),f.opacity=1+(r.maxOpacity-1)*(r.vary_fade?h:m),h>r.edgeRatio?f.opacity=r.oRange(h):h<0?f.opacity=r.oRangeMin(h):1===r.maxOpacity&&(f.opacity=1)),f.zIndex=v,f.opacity>0?("visible"!==r.arr[d].elem.style.visibility&&(f.visibility="visible"),tpGS.gsap.set(r.arr[d].elem,f)):("hidden"!==r.arr[d].elem.style.visibility&&(f.visibility="hidden"),tpGS.gsap.set(r.arr[d].elem,{visibility:f.visibility,opacity:f.opacity}))}if(n!==r.closest){if(r.closest=n,s!==r.arr.length&&t.loadVisibleCarouselItems(e,!0,r.closest),r.draggable.isPressed){if(r.focused=r.closest,t[e].pr_next_key=r.focused,r.oldfocused=void 0===r.oldfocused?0:r.oldfocused,t[e].carousel.allLayersStarted?t.updateCarouselRows(e):t.carouselRowAdjustment(r,e,r.focused),"all"!==r.showLayersAllTime)for(r.animInList.includes(r.oldfocused.toString())||r.animInList.push(r.oldfocused.toString());r.animInList.length>=1;){var b=r.animInList.pop();r.focused!=b&&t.removeTheLayers(jQuery(t[e].slides[b]),e)}r.focused!=r.oldfocused&&("all"!==r.showLayersAllTime&&(r.animInList.includes(r.focused.toString())||r.animInList.push(r.focused.toString()),t.animateTheLayers({slide:r.focused,id:e,mode:"start"}),t.animateTheLayers({slide:"individual",id:e,mode:t[e].carousel.allLayersStarted?"rebuild":"start"})),i(e,!0),r.oldfocused=r.focused),t[e].c.trigger("revolution.nextslide.waiting")}for(var _ in t[e].sbgs)t[e].sbgs.hasOwnProperty(_)&&void 0!==t[e].sbgs[_].bgvid&&0!==t[e].sbgs[_].bgvid.length&&""+t[e].sbgs[_].skeyindex!=""+r.focused&&t.stopBGVideo(e,t[e].sbgs[_].key)}},getCarActiveSlide:function(e){var i,a=t[e].carousel,r=999999,o=0;for(var s in a.arr){var n;if(a.arr.hasOwnProperty(s))n="center"===t[e].carousel.align?Math.abs(parseFloat(a.arr[s][a.translate])-(a[a.wraplength]-a.arr[s][a.length])/2):"start"===t[e].carousel.align?Math.abs(parseFloat(a.arr[s][a.translate])):Math.abs(parseFloat(a.arr[s][a.translate])-(a[a.wraplength]-a.arr[s][a.length])),a.vertAlignBottom&&(n=Math.abs(parseFloat(a.arr[s][a.translate])-(a[a.wraplength]-a.arr[s][a.length]))),n<r&&(i=a.arr[s],r=n,o=s)}return o=parseInt(o),a.activeSlide=o,i},loadVisibleCarouselItems:function(e,i,a){var r=t[e].carousel,o=[],s=a?r.closest:r.focused;r.focused=parseInt(s,0),r.focused=t.isNumeric(s)?s:0;for(var n=0;n<Math.ceil(t[e].carousel.maxVisibleItems/2);n++){var l="end"===t[e].carousel.align?s-n:s+n,d="center"===t[e].carousel.align?s-n:"start"===t[e].carousel.align?t[e].carousel.maxVisibleItems+l-1:l-t[e].carousel.maxVisibleItems+1;if(l=l>=t[e].slideamount?l-t[e].slideamount+0:l,d=d>=t[e].slideamount?d-t[e].slideamount+0:d,l=l<0?t[e].slideamount+l:l,d=d<0?t[e].slideamount+d:d,o.push(t[e].slides[l]),l!==d&&o.push(t[e].slides[d]),r.arr)for(var c=0;c<r.arr.length;c++)t[e].slides[l]===r.arr[c].elem&&(r.arr[c].loaded=!0),t[e].slides[d]===r.arr[c].elem&&(r.arr[c].loaded=!0)}return i&&(t.loadImages(o,e,1),t.waitForCurrentImages(o,e)),o},organiseCarousel:function(e,i,a,r,o){var s=t[e].carousel;if(t[e].slides)for(var n=0;n<t[e].slides.length;n++){var l={width:!0===s.justify?s.slide_widths[n]:s.slide_width};"off"===s.spin&&(l.transformOrigin="50% "+("h"===s.orientation?s.vertical_align:"center")),l.force3D=!0,l.transformStyle="3D"!=t[e].parallax.type&&"3d"!=t[e].parallax.type?"flat":"preserve-3d",!0!==o&&tpGS.gsap.set(t[e].slides[n],l)}},updateCarouselRows:function(e){if("carousel"===t[e].sliderType)for(var i=0;i<t[e].slideamount;i++)t.carouselRowAdjustment(t[e].carousel,e,i)},carouselRowAdjustment:function(e,i,a){void 0!==e.slidesWithRowAdjustions&&void 0===e.slidesWithRowAdjustions[a]&&(e.slidesWithRowAdjustions[a]=!0,t.getRowHeights(i,a),t.putMiddleZoneInPosition(i,a))},getNextSlide:function(e,i,a,r,o){var s,n=t[e].carousel,l=0,d=!1,c=i,p=i;if(void 0===n.trackIndex){for(var g=0;g<n.trackArr.length;g++)if(n.arr[n.activeSlide].elem===n.trackArr[g].elem){s=g;break}}else s=n.trackIndex;void 0===a&&(d=!0);for(var u=!1;(n.snap||!r)&&!d;){if(u||r&&Math.abs(l)>=Math.abs(i)||void 0===i&&t[e].slides[n.focused]===n.trackArr[s].elem){i=l;break}c=l;var h=t.getNext(e,a,l,s,void 0===r);(u=h.breakLoop)||(l=h.tempDelta,s=h.trackIndex)}var m=n.lastPos+i;return r&&n.focusedOnPress!=n.focusedPreSnap&&(m=Math.abs(p+n.lastPos-m)<=Math.abs(p+n.lastPos-(c+n.lastPos))?m:c+n.lastPos),d&&(m=n.lastPos,i=-n.arr[n.closestArr][n.translate]),{target:m,overshoot:!0,delta:i,trackIndex:s}},getNext:function(e,i,a,r,o){var s=t[e].carousel,n="right"===i?1:-1,l=!1;return"start"===s.align&&"left"===i?a+=(s.trackArr[r][s.length]+s.space)*n:"center"===s.align?a+=(s.trackArr[r][s.length]+s.space)/2*n:"end"===s.align&&"right"===i&&(a+=(s.trackArr[r][s.length]+s.space)*n),"right"===i?--r<0&&(r=s.infinity?s.trackArr.length-1:r+1,s.infinity||(l=!0)):++r>=s.trackArr.length&&(r=s.infinity?0:r-1,s.infinity||(l=!0)),l||("start"===s.align&&"right"===i&&(a+=(s.trackArr[r][s.length]+s.space)*n),"center"===s.align?a+=(s.trackArr[r][s.length]+s.space)/2*n:"end"===s.align&&"left"===i&&(a+=(s.trackArr[r][s.length]+s.space)*n)),{tempDelta:a,trackIndex:r,breakLoop:l}},getCarDir:function(e,i,a){var r=t[e].carousel,o=a-i,s="right";r.sameSlide=!1;var n=0,l=0;if(r.infinity){for(var d=i;d!=a;)l+=1,d=++d>=r.slideamount?0:d;for(d=i;d!=a;)n+=1,d=--d<0?r.slideamount-1:d;s=l<=n?"left":"right"}else r.infinity||(s=a-i>=0?"left":"right",l=Math.abs(a-i),0===o&&(s="right",r.sameSlide=!0));return r.steps=l<=n?l:n,r.direction=s,s},getLastPos:function(e){var i=t[e].carousel;if(i.trackArr){for(var a=0,r=0,o=0;o<i.trackArr.length;o++)t[e].slides[i.closest]===i.trackArr[o].elem&&(i.trackIndex=o),t[e].slides[i.closest]===i.arr[o].elem&&(a=i.arr[o][i.translate],"center"===i.align&&(r=(i[i.wraplength]-i.arr[o][i.length])/2),"end"===i.align&&(r=i[i.wraplength]-i.arr[o][i.length]),i.lastOffset=r);i.lastPos=parseFloat(i.proxy._gsap[i.translate])-a-(parseFloat(i.proxy._gsap[i.translate])-parseFloat(i.follower._gsap[i.translate])),i.lastPos+=r}},swipeAnimate:function(e){var i=t[e.id].carousel,a=e.id;if(t.getLastPos(a),i.arr&&i.arr[i.closestArr]&&i.arr[i.closestArr].elem!=t[e.id].slides[i.focused]){var r=t.getCarDir(a,i.trackIndex,i.focused),o=t.getNextSlide(e.id,void 0,r,!1);i.target=o.target,(!i.infinity&&!i.snap||!i.infinity&&"v"===i.orientation)&&(i.target<=i[i.wraplength]-i.totalWidth?i.target=i[i.wraplength]-i.totalWidth:i.target>=0&&!i.snap&&(i.target=0)),i.lerpSpeed=1,i.fromWheel=!1,i.tween&&i.tween.kill&&(i.tween.kill(),delete i.tween),i.tween=tpGS.gsap.to(i.proxy,{x:i.target,y:i.target,ease:i.easing,duration:i.speed/1e3+(i.steps>=2?(i.steps-1)*i.speed/2e3:0),onComplete:function(){i.lerp=cancelAnimationFrame(i.lerp),i.scrollFrame=cancelAnimationFrame(i.scrollFrame),t.carLerpHandler(a,"skip"),i.activeSlide=i.closestArr,t.snapCompleted(a)}}),i.lerp=cancelAnimationFrame(i.lerp),i.scrollFrame=cancelAnimationFrame(i.scrollFrame),i.lerp||(i.lerp=requestAnimationFrame(i.lerpHandler))}},carScrollTicker:function(e){var i=t[e].carousel;i.scrollFrame=requestAnimationFrame(i.scrollTicker);var a=parseFloat(i.proxy._gsap[i.translate]),r=a+.5*(i.scrollProxy-a),o=r-a;tpGS.gsap.set(i.proxy,{[i.translate]:r}),Math.abs(o)<.03&&(i.scrollFrame=cancelAnimationFrame(i.scrollFrame),i.lerp=cancelAnimationFrame(i.lerp),i.activeSlide=i.closestArr,t.snapCompleted(e))},scrollCar:function(e,i,a){var r=t[e].carousel;r.scrollFrame=cancelAnimationFrame(r.scrollFrame),r.lerp=cancelAnimationFrame(r.lerp),tpGS.gsap.to(r,{lerpSpeed:1}),r.fromWheel=!0;var o,s=Math.round(parseFloat(r.proxy._gsap[r.translate]));if(r.tween&&r.tween.kill&&(r.tween.kill(),delete r.tween),1==a&&r.focused==r.slideamount-1&&s<=r[r.wraplength]-r.totalWidth&&!r.infinity||-1==a&&0==r.focused&&s>=0&&!r.infinity)return o=1==a?t[e].cpar.offset().top+t[e].module.height:t.document.scrollTop()-(window.innerHeight-t[e].cpar[0].getBoundingClientRect().top),void(t[e].modal.useAsModal||tpGS.gsap.to([window,"body"],{scrollTo:o}));var n=s+-8*i;(!r.infinity&&!r.snap||!r.infinity&&"v"===r.orientation)&&(n<=r[r.wraplength]-r.totalWidth?n=r[r.wraplength]-r.totalWidth:n>=0&&!r.snap&&(n=0)),r.tween=tpGS.gsap.to(r,{scrollProxy:n,duration:.5,ease:r.easing}),r.scrollFrame=requestAnimationFrame(r.scrollTicker),r.lerp||(r.lerp=requestAnimationFrame(r.lerpHandler))},defineCarouselElements:function(e){var i=t[e].carousel;i.infbackup=i.infinity,i.maxVisiblebackup=i.maxVisibleItems,i.slide_offset="none",i.slide_offset=0,i.cached_slide_offset=0,i.wrap=jQuery(t[e].canvas[0].parentNode),0!==i.maxRotation&&("3D"!==t[e].parallax.type&&"3d"!==t[e].parallax.type||tpGS.gsap.set(i.wrap,{perspective:"1600px",transformStyle:"preserve-3d"}))},setCarouselDefaults:function(e,i,a){var r=t[e].carousel;if(r.stretchCache=void 0===r.stretchCache?r.stretch:r.stretchCache,r.stretch=!!t[e].infullscreenmode||r.stretchCache,r.slide_width=Math.round(!0!==r.stretch&&"v"!==r.orientation?t[e].gridwidth[t[e].level]*(0===t[e].CM.w?1:t[e].CM.w):t[e].canv.width),r.slide_height=Math.round(!0!==r.stretch?"fullscreen"===t[e].sliderLayout||t[e].infullscreenmode?t.getWinH(e)-t.getFullscreenOffsets(e):t[e].gridheight[t[e].level]*(0===t[e].CM.w?1:t[e].CM.w):t[e].canv.height),r.ratio=r.slide_width/r.slide_height,r.len=t[e].slides.length,r.maxwidth=t[e].slideamount*r.slide_width,r.maxheight=t[e].slideamount*r.slide_height,1!=r.justify&&r.maxVisiblebackup>r.len&&(r.maxVisibleItems=r.len%2?r.len:r.len+1),r.spaceCache=void 0===r.gapCache?r.space:r.spaceCache,r.space=r.spaceCache<-1*r[r.slide_length]?-.8*r[r.slide_length]:r.spaceCache,r.wrapwidth=r.maxVisibleItems*r.slide_width+(r.maxVisibleItems-1)*r.space,r.wrapheight=r.maxVisibleItems*r.slide_height+(r.maxVisibleItems-1)*r.space,r.wrapwidth="auto"!=t[e].sliderLayout?r.wrapwidth>t[e].canv.width?t[e].canv.width:r.wrapwidth:r.wrapwidth>t[e].module.width?0!==t[e].module.width?t[e].module.width:t[e].canv.width:r.wrapwidth,r.wrapheight="auto"!=t[e].sliderLayout?r.wrapheight>t[e].canv.height?t[e].canv.height:r.wrapheight:r.wrapheight>t[e].module.height?0!==t[e].module.height?t[e].module.height:t[e].canv.height:r.wrapheight,!0===r.justify){r.slide_height=Math.round("fullscreen"===t[e].sliderLayout?t[e].module.height:t[e].gridheight[t[e].level]),r.slide_widths=[],r.slide_heights=[],r.slide_widthsCache=void 0===r.slide_widthsCache?[]:r.slide_widthsCache,r.slide_heightsCache=void 0===r.slide_heightsCache?[]:r.slide_heightsCache,r.maxwidth=0;for(var o=0;o<r.len;o++)if(t[e].slides.hasOwnProperty(o)){var s=t.gA(t[e].slides[o],"iratio");s=void 0===s||0===s||null===s?r.ratio:s,s=parseFloat(s),r.slide_widths[o]=Math.round(r.slide_height*s),r.slide_heights[o]=Math.round(r.slide_height),!1!==r.justifyMaxWidth&&(r.slide_widths[o]=Math.min(r.wrapwidth,r.slide_widths[o])),!1!==r.justifyMaxWidth&&(r.slide_heights[o]=Math.min(r.wrapheight,r.slide_heights[o])),r.slide_widths[o]!==r.slide_widthsCache[o]&&(r.slide_widthsCache[o]=r.slide_widths[o],!0!==i&&tpGS.gsap.set(t[e].slides[o],{width:r.slide_widths[o]})),r.slide_heights[o]!==r.slide_heightsCache[o]&&(r.slide_heightsCache[o]=r.slide_heights[o],!0!==i&&tpGS.gsap.set(t[e].slides[o],{height:r.slide_heights[o]})),r.maxwidth+=r.slide_widths[o]+r.space,r.maxheight+=r.slide_heights[o]+r.space}}if(r.infinity=!(r.wrapwidth>=r.maxwidth)&&r.infbackup,r.forceBAlign&&r.slide_height<.6*r.wrapheight&&r.wrapwidth<r.maxwidth?r.infinity=!0:r.forceBAlign&&(r.infinity=!1),!0!==r.quickmode){r.wrapoffset="center"===r.horizontal_align?(t[e].canv.width-t[e].outNavDims.right-t[e].outNavDims.left-r.wrapwidth)/2:0,r.wrapoffset="auto"!=t[e].sliderLayout&&t[e].outernav?0:r.wrapoffset<t[e].outNavDims.left?t[e].outNavDims.left:r.wrapoffset;var n="3D"==t[e].parallax.type||"3d"==t[e].parallax.type?"visible":"hidden",l="right"===r.horizontal_align?{left:"auto",right:r.wrapoffset+"px",width:r.wrapwidth,overflow:n}:"left"===r.horizontal_align||r.wrapwidth<t.winW?{right:"auto",left:r.wrapoffset+"px",width:r.wrapwidth,overflow:n}:{right:"auto",left:"auto",width:"100%",overflow:n};void 0!==r.cacheWrapObj&&l.left===r.cacheWrapObj.left&&l.right===r.cacheWrapObj.right&&l.width===r.cacheWrapObj.width||(window.requestAnimationFrame((function(){tpGS.gsap.set(r.wrap,l),t[e].carousel.wrapoffset>0&&tpGS.gsap.set(t[e].canvas,{left:0})})),r.cacheWrapObj=jQuery.extend(!0,{},l)),r.inneroffset="right"===r.horizontal_align?r.wrapwidth-r.slide_width:0,r.windhalf="auto"===t[e].sliderLayout?t[e].module.width/2:t.winW/2}r.lastWrapwidth===r.wrapwidth&&r.lastWrapheight===r.wrapheight||window.requestAnimationFrame((function(){t.positionCarousel(e)}))}});var i=function(e,i){var a=t[e].carousel,r=i&&t[e].slides[t[e].pr_next_key]?jQuery(t[e].slides[t[e].pr_next_key]):t[e].pr_next_slide;t[e].c.trigger("revolution.slide.carouselchange",{slider:e,slideIndex:parseInt(t[e].pr_active_key,0)+1,slideLIIndex:t[e].pr_active_key,slide:r,currentslide:r,prevSlideIndex:void 0!==t[e].pr_lastshown_key&&parseInt(t[e].pr_lastshown_key,0)+1,prevSlideLIIndex:void 0!==t[e].pr_lastshown_key&&parseInt(t[e].pr_lastshown_key,0),prevSlide:void 0!==a.oldfocused&&t[e].slides[a.oldfocused]})},a=function(e,i){var a=t[e].carousel;void 0!==e&&void 0!==a&&(a.pDiv="center"===i?a.maxVisibleItems/2:a.maxVisibleItems,a.edgeRatio=Math.floor(a.pDiv-("center"===i?0:1))/Math.ceil(a.pDiv),1===a.maxVisibleItems&&(a.edgeRatio=1),a.oEdge=1===a.maxOpacity?1:a.vary_fade?1+(a.maxOpacity-1)*a.edgeRatio:a.maxOpacity,a.oEdge=1===a.maxVisibleItems?a.maxOpacity:a.oEdge,a.oRange=a.maxVisibleItems>1?tpGS.gsap.utils.mapRange(a.edgeRatio,1,a.oEdge,0):tpGS.gsap.utils.mapRange(1,1.1,a.oEdge,0),a.oRangeMin=tpGS.gsap.utils.mapRange(-1/a.maxVisibleItems,-1.1/a.maxVisibleItems,1,0))},r=function(e){var i=t[e].carousel;if(void 0!==e&&void 0!==i){tpGS.gsap.set([i.proxy,i.follower],{x:"+=0",y:"+=0"}),i.arr=[],i.trackArr=[];for(var a=0;a<t[e].slides.length;a++)i.arr.push({elem:t[e].slides[a]}),i.trackArr.push({elem:t[e].slides[a]})}},o=function(e,t){return null===e||jQuery.isEmptyObject(e)?t:void 0===e?"right":e};window.RS_MODULES=window.RS_MODULES||{},window.RS_MODULES.carousel={loaded:!0,version:"6.6.17"},window.RS_MODULES.checkMinimal&&window.RS_MODULES.checkMinimal()}(jQuery),function(e){"use strict";var t=["chars","words","lines"],i=["Top","Right","Bottom","Left"],a=["TopLeft","TopRight","BottomRight","BottomLeft"],r=["top","right","bottom","left"];jQuery.fn.revolution=jQuery.fn.revolution||{};var o=jQuery.fn.revolution;jQuery.extend(!0,o,{checkLayerDimensions:function(e){var t=!1;for(var i in o[e.id].layers[e.skey])if(o[e.id].layers[e.skey].hasOwnProperty(i)){var a=o[e.id].layers[e.skey][i],r=o[e.id]._L[a.id];r.eow!==a.offsetWidth&&"true"!==o.gA(a,"vary-layer-dims")&&(t=!0),r.lastknownwidth=r.eow,r.lastknownheight=r.eoh,r._slidelink||o[e.id].caches.calcResponsiveLayersList.push({a:o[e.id]._L[a.id].c,b:e.id,c:0,d:r.rsp_bd,e:e.slideIndex})}return t},requestLayerUpdates:function(e,t,i,a){var r,s,n;if(void 0!==i){let l=o[e]._L[i],d=void 0!==l._ligid?o[e]._L[l._ligid]:void 0;l.pVisRequest!==l.pVisStatus&&(null==d||!0!==d.childrenAtStartNotVisible?(l.pVisStatus=l.pVisRequest,n=("row"===l.type||"column"===l.type||"group"===l.type)&&void 0!==l.frames&&void 0!==l.frames.frame_999&&void 0!==l.frames.frame_999.transform&&""+l.frames.frame_999.transform.opacity!="0",s=1===l.pVisRequest?"remove":n?s:"add",r=1===l.pVisRequest?"remove":n?"add":r):(s="add",r="remove"),"group"===l.type&&"add"==r&&"hidden"==(1===l.pVisStatus?"visible":0===l.pVisStatus?"hidden":l.pVisStatus)&&(s="add"),void 0!==r&&l.p[0].classList[r]("rs-forceuntouchable"),void 0!==s&&l.p[0].classList[s]("rs-forcehidden")),l.pPointerStatus!==l.pPeventsRequest&&(l.pPointerStatus=l.pPeventsRequest,tpGS.gsap.set(l.p[0],{pointerEvents:l.pPointerStatus,visibility:1===l.pVisStatus?"visible":0===l.pVisStatus?"hidden":l.pVisStatus})),void 0!==a&&"ignore"!==a&&0!==a&&(a++,"enterstage"===t||"leavestage"===t||"framestarted"===t?o.isFirefox(e)?-1===l.p[0].style.transform.indexOf("perspective")&&(l.p[0].style.transform+=(0===l.p[0].style.transform.length?" ":"")+"perspective("+a+"px)"):(!window.isSafari11&&!0!==l.maskHasPerspective&&0===l.p[0].style.perspective.length||"none"==l.p[0].style.perspective)&&(l.p[0].style.perspective=a+"px"):"frameended"===t&&(o.isFirefox(e)?l.p[0].style.transform=l.p[0].style.transform.replace("perspective("+a+"px)",""):window.isSafari11||(l.p[0].style.perspective=l.p[0].style.perspective.replace(a-1+"px",""))))}else for(let t in o[e]._L)o[e]._L.hasOwnProperty(t)&&(o[e]._L[t].pVisRequest!==o[e]._L[t].pVisStatus&&(o[e]._L[t].pVisStatus=o[e]._L[t].pVisRequest,0===o[e]._L[t].pVisStatus?o[e]._L[t].p[0].classList.add("rs-forcehidden"):o[e]._L[t].p[0].classList.remove("rs-forcehidden")),o[e]._L[t].pPointerStatus!==o[e]._L[t].pPeventsRequest&&(o[e]._L[t].pPointerStatus=o[e]._L[t].pPeventsRequest,tpGS.gsap.set(o[e]._L[t].p[0],{pointerEvents:o[e]._L[t].pPointerStatus,visibility:o[e]._L[t].pVisStatus})));"enterstage"===t&&void 0!==i&&void 0!==o[e]._L[i].esginside&&o[e]._L[i].esginside.length>0&&void 0!==o[e]._L[i].esginside.esredraw&&o[e]._L[i].esginside.esredraw()},updateMiddleZonesAndESG:function(e){var t,i=o[e].pr_processing_key||o[e].pr_active_key||0;if(o[e].middleZones&&o[e].middleZones.length>0&&void 0!==o[e].middleZones[i])for(t=0;t<o[e].middleZones[i].length;t++)tpGS.gsap.set(o[e].middleZones[i][t],{y:Math.round(o[e].module.height/2-o[e].middleZones[i][t].offsetHeight/2)+"px"});if(o[e].smiddleZones&&o[e].smiddleZones.length>0)for(t=0;t<o[e].smiddleZones.length;t++)tpGS.gsap.set(o[e].smiddleZones[t],{y:Math.round(o[e].module.height/2-o[e].smiddleZones[t].offsetHeight/2)+"px"})},getRowHeights:function(e,t){if(!o[e].firstLayerCalculated)return{cur:0,last:0,cache:[],tz:0};var i=0,a=0,r=0,s=void 0!==t?t:o[e].pr_processing_key||o[e].pr_active_key||0,n=void 0!==t?t:o[e].pr_active_key||0;if(o[e].rowMiddleHeights=null==o[e].rowMiddleHeights?{}:o[e].rowMiddleHeights,o[e].rowMiddleHeights[s]=0,o[e].rowzones&&o[e].rowzones.length>0){if(void 0!==o[e].rowzones[s])for(var l=0;l<o[e].rowzones[s].length;l++)o[e].rowzonesHeights[s][l]=o[e].rowzones[s][l][0].offsetHeight,i+=o[e].rowzonesHeights[s][l],"true"==o[e].rowzones[s][l][0].dataset.middle&&(o[e].rowMiddleHeights[s]+=o[e].rowzonesHeights[s][l]);if(n!==s)for(o[e].rowMiddleHeights[n]=0,l=0;l<o[e].rowzones[n].length;l++)o[e].rowzonesHeights[n][l]=o[e].rowzones[n][l][0].offsetHeight,a+=o[e].rowzonesHeights[n][l],"true"==o[e].rowzones[n][l][0].dataset.middle&&(o[e].rowMiddleHeights[n]+=o[e].rowzonesHeights[n][l])}if(o[e].srowzones&&o[e].srowzones.length>0)for(o[e].rowMiddleHeights.static=0,l=0;l<o[e].srowzones.length;l++)r+=o[e].srowzones[l][0].offsetHeight,"true"==o[e].srowzones[l][0].dataset.middle&&(o[e].rowMiddleHeights.static+=o[e].srowzones[l][0].offsetHeight);i=i<r?r:i;var d=void 0===o[e].rowHeights?[]:o[e].rowHeights.cache,c=(new Date).getTime();return void 0!==o[e].rowHeights&&c-o[e].rowHeights.tz<300?o[e].rowHeights.cache.length>5&&(i=o[e].rowHeights.cache[o[e].rowHeights.cache.length-1]===i?o[e].rowHeights.cache[o[e].rowHeights.cache.length-2]:o[e].rowHeights.cache[o[e].rowHeights.cache.length-1],c=o[e].rowHeights.tz):d=[],{cur:i,last:a,cache:d,tz:c}},getGridOffset:function(e,t,i,a){var r="grid"===i||"carousel"!==o[e].sliderType||a?o[e].canv.width:o[e].carousel.slide_width,s=o[e].useFullScreenHeight?o[e].module.height:"grid"===i?o[e].content.height:"carousel"!==o[e].sliderType||a?o[e].module.height:o[e].canv.height,n="slide"===i||"carousel"==o[e].sliderType&&"v"==o[e].carousel.orientation?0:Math.max(0,"fullscreen"==o[e].sliderLayout?o[e].module.height/2-o.iHE(e)*(o[e].keepBPHeight?1:o[e].CM.h)/2:o[e].autoHeight||null!=o[e].minHeight&&o[e].minHeight>0||o[e].keepBPHeight?o[e].canv.height/2-o.iHE(e)*o[e].CM.h/2:0),l="slide"===i?0:Math.max(0,"carousel"===o[e].sliderType&&"v"!==o[e].carousel.orientation?0:o[e].canv.width/2-o.iWA(e,t)*o[e].CM.w/2);return"slide"!==i&&"carousel"===o[e].sliderType&&a&&void 0!==o[e].carousel&&void 0!==o[e].carousel.horizontal_align&&(l=Math.max(0,"center"===o[e].carousel.horizontal_align?0+(o[e].module.width-o.iWA(e,"static")*o[e].CM.w)/2:"right"===o[e].carousel.horizontal_align?o[e].module.width-o[e].gridwidth[o[e].level]*o[e].CM.w:l)),[r,s,l,n]},initLayer:function(e){var t,i,a,r=e.id,s=e.skey;for(var n in o[r].layers[e.skey])if(o[r].layers[e.skey].hasOwnProperty(n)){var l=o[r].layers[e.skey][n],d=jQuery(l),c=o.gA(l,"initialised"),p=c?o[r]._L[l.id]:d.data();if("individual"===e.skey&&(p.slideKey=void 0===p.slideKey?o.gA(d.closest("rs-slide")[0],"key"):p.slideKey,p.slideIndex=void 0===p.slideIndex?o.getSlideIndex(r,p.slideKey):p.slideIndex,e.slideIndex=p.slideIndex,s=p.slideKey),void 0===c){if(o.revCheckIDS(r,l),o[r]._L[l.id]=p,p.ford=void 0===p.ford?"frame_0;frame_1;frame_999":p.ford,p.ford=";"==p.ford[p.ford.length-1]?p.ford.substring(0,p.ford.length-1):p.ford,p.ford=p.ford.split(";"),void 0!==p.clip)for(t in p.clipPath={use:!1,origin:"l",type:"rectangle"},p.clip=p.clip.split(";"),p.clip)p.clip.hasOwnProperty(t)&&("u"==(i=p.clip[t].split(":"))[0]&&(p.clipPath.use="true"==i[1]),"o"==i[0]&&(p.clipPath.origin=i[1]),"t"==i[0]&&(p.clipPath.type=i[1]));let n;if(p.frames=k(p,r),p.caches={},p.OBJUPD={},p.c=d,p.p=o[r]._Lshortcuts[l.id].p,p.lp=p.reqWrp.loop?o[r]._Lshortcuts[l.id].lp:void 0,p.m=p.reqWrp.mask?o[r]._Lshortcuts[l.id].m:void 0,p.triggercache=void 0===p.triggercache?"reset":p.triggercache,p.rsp_bd=void 0===p.rsp_bd?"column"===p.type||"row"===p.type?"off":"on":p.rsp_bd,p.rsp_o=void 0===p.rsp_o?"on":p.rsp_o,p.basealign=void 0===p.basealign?"grid":p.basealign,p.group="group"!==p.type&&null!==(n=o.closestNode(d[0],"RS-GROUP"))||"group"===p.type&&null!==(n=o.closestNode(d[0].parentNode,"RS-GROUP"))?"group":"column"!==p.type&&null!==(n=o.closestNode(d[0],"RS-COLUMN"))?"column":"row"!==p.type&&null!==(n=o.closestNode(d[0],"RS-ROW"))?"row":void 0,p._lig=null!=n?jQuery(n):void 0,p._ligid=void 0!==p._lig?p._lig[0].id:void 0,p._column="RS-COLUMN"===d[0].tagName?jQuery(o.closestNode(d[0],"RS-COLUMN-WRAP")):"none",p._row="RS-COLUMN"===d[0].tagName&&jQuery(o.closestNode(d[0],"RS-ROW")),p._ingroup="group"===p.group,p._incolumn="column"===p.group,p._inrow="row"===p.group,p.fsom="true"==p.fsom||1==p.fsom,p.fullinset=""+p.fullinset=="true",p.position=void 0!==p.pos?"r"==p.pos?"relative":"absolute":p._incolumn?"relative":"absolute",(p._ingroup||p._incolumn)&&p._lig[0].className.indexOf("rs-sba")>=0&&(!1!==p.animationonscroll||void 0===p.frames.loop)&&!0!==p.animOnScrollForceDisable&&(p.animationonscroll=!0,d[0].className+=" rs-sba",o[r].sbas[s][l.id]=d[0]),p.animOnScrollRepeats=0,p._isgroup="RS-GROUP"===d[0].tagName,p.type=p.type||"none","row"===p.type&&(void 0===p.cbreak&&(p.cbreak=2),void 0===p.zone&&(p.zone=o.closestNode(d[0],"RS-ZONE"),p.zone=null!==p.zone&&void 0!==p.zone?p.zone.className:"")),p.esginside=jQuery(d[0].getElementsByClassName("esg-grid")[0]),p._isnotext=-1!==jQuery.inArray(p.type,["video","image","audio","shape","row","group"]),p._mediatag="html5"==p.audio?"audio":"video",p.img=d.find("img"),p.deepiframe=o.getByTag(d[0],"iframe"),p.deepmedia=o.getByTag(d[0],p._mediatag),p.layertype="image"===p.type?"image":d[0].className.indexOf("rs-layer-video")>=0||d[0].className.indexOf("rs-layer-audio")>=0||p.deepiframe.length>0&&(p.deepiframe[0].src.toLowerCase().indexOf("youtube")>0||p.deepiframe[0].src.toLowerCase().indexOf("vimeo")>0)||p.deepmedia.length>0?"video":"html",p.deepiframe.length>0&&o.sA(p.deepiframe[0],"layertype",p.layertype),"column"===p.type&&p.cbgexists&&(p.cbg=jQuery(o.getByTag(p.p[0],"RS-COLUMN-BG")[0]),p.cbgmask=jQuery(o.getByTag(p.p[0],"RS-CBG-MASK-WRAP")[0])),p._slidelink=d[0].className.indexOf("slidelink")>=0,p._isstatic=d[0].className.indexOf("rs-layer-static")>=0,p.slidekey=p._isstatic?"staticlayers":s,p._togglelisteners=d[0].getElementsByClassName("rs-toggled-content").length>0,"text"===p.type&&(-1!==p.c[0].innerHTML.indexOf("{{total_slide_count}}")&&(p.c[0].innerHTML=p.c[0].innerHTML.replace("{{total_slide_count}}",o[r].realslideamount)),p.c[0].innerHTML.indexOf("{{current_slide_index}}")>=0))if(p._isstatic)p.metas=p.metas||{},p.metas.csi={},p.c[0].innerHTML=p.c[0].innerHTML.replace("{{current_slide_index}}","<cusli>"+o[r].realslideamount+"</cusli>"),p.metas.csi.c=p.c[0].getElementsByTagName("CUSLI")[0];else{var g=parseInt(e.slideIndex)+1;p.c[0].innerHTML=p.c[0].innerHTML.replace("{{current_slide_index}}",(g<10&&o[r].realslideamount>9?"0":"")+g)}if(p.bgcol=void 0===p.bgcol?d[0].style.background.indexOf("gradient")>=0?d[0].style.background:d[0].style.backgroundColor:p.bgcol,p.bgcol=""===p.bgcol?"rgba(0, 0, 0, 0)":p.bgcol,p.bgcol=0===p.bgcol.indexOf("rgba(0, 0, 0, 0)")&&p.bgcol.length>18?p.bgcol.replace("rgba(0, 0, 0, 0)",""):p.bgcol,p.zindex=void 0===p.zindex?parseInt(d[0].style.zIndex):parseInt(p.zindex),p._isgroup&&(p.frames.frame_1.timeline.waitoncall&&(p.childrenAtStartNotVisible=!0),p.pVisRequest=0),p._togglelisteners&&d.on("click",(function(){o.swaptoggleState([this.id])})),void 0!==p.border)for(t in p.border=p.border.split(";"),p.bordercolor="transparent",p.border)if(p.border.hasOwnProperty(t))switch((i=p.border[t].split(":"))[0]){case"boc":p.bordercolor=i[1];break;case"bow":p.borderwidth=o.revToResp(i[1],4,0);break;case"bos":p.borderstyle=o.revToResp(i[1],4,0);break;case"bor":p.borderradius=o.revToResp(i[1],4,0)}if("svg"===p.type&&(p.svg=d.find("svg"),p.svgI=f(p.svgi,r),p.svgPath=p.svg.find(p.svgI.svgAll?"path, circle, ellipse, line, polygon, polyline, rect":"path"),p.svgH=void 0!==p.svgi&&-1===p.svgi.indexOf("oc:t")?f(p.svgh,r):{}),void 0!==p.btrans){var u=p.btrans;for(t in p.btrans={rX:0,rY:0,rZ:0,o:1},u=u.split(";"))if(u.hasOwnProperty(t))switch((i=u[t].split(":"))[0]){case"rX":p.btrans.rX=i[1];break;case"rY":p.btrans.rY=i[1];break;case"rZ":p.btrans.rZ=i[1];break;case"o":p.btrans.o=i[1];break;case"iosfx":p.iOSFix="default"==i[1]?"d":"r"==i[1]?"rotationX":"p"==i[1]?"d":i[1]}}if(void 0!==p.tsh)for(t in p.tshadow={c:"rgba(0,0,0,0.25)",v:0,h:0,b:0},p.tsh=p.tsh.split(";"),p.tsh)if(p.tsh.hasOwnProperty(t))switch((i=p.tsh[t].split(":"))[0]){case"c":p.tshadow.c=i[1];break;case"h":p.tshadow.h=i[1];break;case"v":p.tshadow.v=i[1];break;case"b":p.tshadow.b=i[1]}if(void 0!==p.tst)for(t in p.tstroke={c:"rgba(0,0,0,0.25)",w:1},p.tst=p.tst.split(";"),p.tst)if(p.tst.hasOwnProperty(t))switch((i=p.tst[t].split(":"))[0]){case"c":p.tstroke.c=i[1];break;case"w":p.tstroke.w=i[1]}if(void 0!==p.bsh)for(t in p.bshadow={e:"c",c:"rgba(0,0,0,0.25)",v:0,h:0,b:0,s:0},p.bsh=p.bsh.split(";"),p.bsh)if(p.bsh.hasOwnProperty(t))switch((i=p.bsh[t].split(":"))[0]){case"c":p.bshadow.c=i[1];break;case"h":p.bshadow.h=i[1];break;case"v":p.bshadow.v=i[1];break;case"b":p.bshadow.b=i[1];break;case"s":p.bshadow.s=i[1];break;case"e":p.bshadow.e=i[1]}if(void 0!==p.dim)for(t in p.dim=p.dim.split(";"),p.dim)if(p.dim.hasOwnProperty(t))switch((i=p.dim[t].split(":"))[0]){case"w":p.width=i[1];break;case"h":p.height=i[1];break;case"maxw":p.maxwidth=i[1];break;case"maxh":p.maxheight=i[1];break;case"minw":p.minwidth=i[1];break;case"minh":p.minheight=i[1]}if(void 0!==p.xy&&"row"!==p.type&&"column"!==p.type)for(t in p.xy=p.xy.split(";"),p.xy)if(p.xy.hasOwnProperty(t))switch((i=p.xy[t].split(":"))[0]){case"x":p.x=i[1].replace("px","");break;case"y":p.y=i[1].replace("px","");break;case"xo":p.hoffset=i[1].replace("px","");break;case"yo":p.voffset=i[1].replace("px","")}if(p._isnotext||void 0===p.text)if(p._isgroup&&void 0!==p.text){for(t in p.text=p.text.split(";"),p.text)if(p.text.hasOwnProperty(t)&&"a"===(i=p.text[t].split(":"))[0])p.textalign=i[1]}else"column"===p.type&&void 0!==p.textDecoration&&delete p.textDecoration;else for(t in p.text=p.text.split(";"),p.text)if(p.text.hasOwnProperty(t))switch((i=p.text[t].split(":"))[0]){case"w":p.whitespace=i[1];break;case"td":p.textDecoration=i[1];break;case"c":p.clear=i[1];break;case"f":p.float=i[1];break;case"s":p.fontsize=i[1];break;case"l":p.lineheight=i[1];break;case"ls":p.letterspacing=i[1];break;case"fw":p.fontweight=i[1];break;case"a":p.textalign=i[1]}if(void 0!==p.flcr)for(t in p.flcr=p.flcr.split(";"),p.flcr)if(p.flcr.hasOwnProperty(t))switch((i=p.flcr[t].split(":"))[0]){case"c":p.clear=i[1];break;case"f":p.float=i[1]}if(void 0!==p.padding)for(t in p.padding=p.padding.split(";"),p.padding)if(p.padding.hasOwnProperty(t))switch((i=p.padding[t].split(":"))[0]){case"t":p.paddingtop=i[1];break;case"b":p.paddingbottom=i[1];break;case"l":p.paddingleft=i[1];break;case"r":p.paddingright=i[1]}if(void 0!==p.margin)for(t in p.margin=p.margin.split(";"),p.margin)if(p.margin.hasOwnProperty(t))switch((i=p.margin[t].split(":"))[0]){case"t":p.margintop=i[1];break;case"b":p.marginbottom=i[1];break;case"l":p.marginleft=i[1];break;case"r":p.marginright=i[1]}if(void 0!==p.spike&&(p.spike=B(p.spike)),void 0!==p.corners)for(t in a=p.corners.split(";"),p.corners={},a)a.hasOwnProperty(t)&&a[t].length>0&&(p.corners[a[t]]=jQuery("<"+a[t]+"></"+a[t]+">"),p.c.append(p.corners[a[t]]));p.textalign=y(p.textalign),p.vbility=o.revToResp(p.vbility,o[r].rle,!0),p.hoffset=o.revToResp(p.hoffset,o[r].rle,0),p.voffset=o.revToResp(p.voffset,o[r].rle,0),p.x=o.revToResp(p.x,o[r].rle,"l"),p.y=o.revToResp(p.y,o[r].rle,"t"),T(d,0,r),o.sA(l,"initialised",!0),o[r].c.trigger("layerinitialised",{layer:d[0].id,slider:r})}var h=p.x[o[r].level],m=p.y[o[r].level],v=o.getGridOffset(r,e.slideIndex,p.basealign,p._isstatic),w=v[0],b=v[1],_=v[2],S=v[3];if(p.slideIndex=e.slideIndex,"updateposition"!==e.mode){if(0==p.vbility[o[r].levelForced]||"f"==p.vbility[o[r].levelForced]||w<o[r].hideLayerAtLimit&&"on"==p.layeronlimit||w<o[r].hideAllLayerAtLimit?(!0!==p.layerIsHidden&&p.p[0].classList.add("rs-layer-hidden"),p.layerIsHidden=!0):(p.layerIsHidden&&p.p[0].classList.remove("rs-layer-hidden"),p.layerIsHidden=!1),p.poster=null==p.poster&&void 0!==p.thumbimage?p.thumbimage:p.poster,"image"===p.layertype)if(p.imgOBJ={},"cover-proportional"===p.img.data("c")){o.sA(p.img[0],"owidth",o.gA(p.img[0],"owidth",p.img[0].width)),o.sA(p.img[0],"oheight",o.gA(p.img[0],"oheight",p.img[0].height));var x=o.gA(p.img[0],"owidth")/o.gA(p.img[0],"oheight"),R=p.img[0].width<=p.img[0].height?b/w:w/b;p.imgOBJ=x>R&&x<=1||x<R&&x>1?{width:"100%",height:"auto",left:"c"===h||"center"===h?"50%":"left"===h||"l"===h?"0":"auto",right:"r"===h||"right"===h?"0":"auto",top:"c"===m||"center"===m||"middle"===m||"m"===m?"50%":"top"===m||"t"===m?"0":"auto",bottom:"b"===m||"bottom"===m?"0":"auto",x:"c"===h||"center"===h||"middle"===h||"m"===h?"-50%":"0",y:"c"===m||"center"===m||"middle"===m||"m"===m?"-50%":"0"}:{height:"100%",width:"auto",left:"c"===h||"center"===h?"50%":"left"===h||"l"===h?"0":"auto",right:"r"===h||"right"===h?"0":"auto",top:"c"===m||"center"===m||"middle"===m||"m"===m?"50%":"top"===m||"t"===m?"0":"auto",bottom:"b"===m||"bottom"===m?"0":"auto",x:"c"===h||"center"===h||"middle"===h||"m"===h?"-50%":"0",y:"c"===m||"center"===m||"middle"===m||"m"===m?"-50%":"0"}}else void 0===p.group&&"auto"===p.width[o[r].level]&&"auto"===p.height[o[r].level]&&(p.width[o[r].level]=o.gA(p.img[0],"owidth",p.img[0].width),p.height[o[r].level]=o.gA(p.img[0],"owidth",p.img[0].height)),p.imgOBJ={width:"auto"!==p.width[o[r].level]||isNaN(p.width[o[r].level])&&p.width[o[r].level].indexOf("%")>=0?"100%":"auto",height:"auto"!==p.height[o[r].level]||isNaN(p.height[o[r].level])&&p.height[o[r].level].indexOf("%")>=0?"100%":"auto"};else if("video"===p.layertype){o.manageVideoLayer(d,r,s),"rebuild"!==e.mode&&o.resetVideo(d,r,e.mode),null!=p.aspectratio&&p.aspectratio.split(":").length>1&&1==p.bgvideo&&o.prepareCoveredVideo(r,d),p.media=void 0===p.media?p.deepiframe.length>0?jQuery(p.deepiframe[0]):jQuery(p.deepmedia[0]):p.media,p.html5vid=void 0===p.html5vid?!(p.deepiframe.length>0):p.html5vid,p.mediaOBJ={display:"block"};var O=p.width[o[r].level],L=p.height[o[r].level];if(O="auto"===O?O:!o.isNumeric(O)&&O.indexOf("%")>0?p._incolumn||p._ingroup?"100%":"grid"===p.basealign?o.iWA(r,e.slideIndex)*o[r].CM.w*parseFloat(O)/100:w*parseFloat(O)/100:"off"!==p.rsp_bd?parseFloat(O)*o[r].CM.w+"px":parseFloat(O)+"px",L="auto"===L?L:!o.isNumeric(L)&&L.indexOf("%")>0?"grid"===p.basealign?o.iHE(r)*o[r].CM.w:b:"off"!==p.rsp_bd?parseFloat(L)*o[r].CM.h+"px":parseFloat(L)+"px",p.vd=void 0===p.vd?o[r].videos[d[0].id].ratio.split(":").length>1?o[r].videos[d[0].id].ratio.split(":")[0]/o[r].videos[d[0].id].ratio.split(":")[1]:1:p.vd,!p._incolumn||"100%"!==O&&"auto"!==L||void 0===p.ytid)-1==d[0].className.indexOf("rs-fsv")?(L="auto"===L&&void 0!==p.vd&&"auto"!==O?"100%"===O?d.width()/p.vd:O/p.vd:L,p.vidOBJ={width:O,height:L}):("grid"!==p.basealign&&(_=0,S=0),p.x=o.revToResp(0,o[r].rle,0),p.y=o.revToResp(0,o[r].rle,0),p.vidOBJ={width:O,height:o[r].autoHeight?o[r].canv.height:L}),0!=p.html5vid&&d.hasClass("rs-fsv")||(p.mediaOBJ={width:O,height:L,display:"block"}),p._ingroup&&null!==p.vidOBJ.width&&void 0!==p.vidOBJ.width&&!o.isNumeric(p.vidOBJ.width)&&p.vidOBJ.width.indexOf("%")>0&&(p.OBJUPD.lppmOBJ={minWidth:O});else{var I=d.width(),M="auto"===L?I/p.vd:L;p.vidOBJ={width:"auto",height:M},p.heightSetByVideo=!0}}p._slidelink||o[r].caches.calcResponsiveLayersList.push({a:d,b:r,c:0,d:p.rsp_bd,e:e.slideIndex}),"on"===p.rsp_ch&&"row"!==p.type&&"column"!==p.type&&"group"!==p.type&&"image"!==p.type&&"video"!==p.type&&"shape"!==p.type&&d.find("*").each((function(){var t=jQuery(this);"true"!==o.gA(this,"stylerecorder")&&!0!==o.gA(this,"stylerecorder")&&T(t,"rekursive",r),o[r].caches.calcResponsiveLayersList.push({a:t,b:r,c:"rekursive",d:p.rsp_bd,e:e.slideIndex,RSL:d})}))}if("preset"!==e.mode){if(p.oldeow=p.eow,p.oldeoh=p.eoh,p.eow=d.outerWidth(!0),p.eoh=d.outerHeight(!0),0==p.eoh&&"group"==p.type&&"auto"==p.height[o[r].level]&&(p.eoh=p.p[0].offsetHeight),void 0!==p.metas&&void 0!==p.metas.csi&&p.metas.csi.change!==o[r].focusedSlideIndex){p.metas.csi.change=o[r].focusedSlideIndex;g=parseInt(p.metas.csi.change)+1;p.metas.csi.c.innerHTML=(o[r].realslideamount>9&&g<10?"0":"")+g}if(p.imgInFirefox="image"==p.type&&"auto"==p.width[o[r].level]&&"100%"==p.height[o[r].level]&&o.isFirefox(r),p.imgInFirefox){var C=p.img.width();p.eow=0!==C?C:p.eow}if(p.eow<=0&&void 0!==p.lastknownwidth&&(p.eow=p.lastknownwidth),p.eoh<=0&&void 0!==p.lastknownheight&&(p.eoh=p.lastknownheight),void 0!==p.corners&&("text"===p.type||"button"===p.type||"shape"===p.type)){for(a in p.corners)if(p.corners.hasOwnProperty(a)){p.corners[a].css("borderWidth",p.eoh+"px");var A="rs-fcrt"===a||"rs-fcr"===a;p.corners[a].css("border"+(A?"Right":"Left"),"0px solid transparent"),p.corners[a].css("border"+("rs-fcrt"==a||"rs-bcr"==a?"Bottom":"Top")+"Color",p.bgcol)}p.eow=d.outerWidth(!0)}0==p.eow&&0==p.eoh&&(p.eow="grid"===p.basealign?o[r].content.width:o[r].module.width,p.eoh="grid"===p.basealign?o[r].content.height:o[r].module.height),p.basealign=o[r].justifyCarousel?"grid":p.basealign;var D="on"===p.rsp_o?parseInt(p.voffset[o[r].level],0)*o[r].CM.w:parseInt(p.voffset[o[r].level],0),P="on"===p.rsp_o?parseInt(p.hoffset[o[r].level],0)*o[r].CM.h:parseInt(p.hoffset[o[r].level],0),G="grid"===p.basealign?o.iWA(r,e.slideIndex)*o[r].CM.w:w,F="grid"===p.basealign||"carousel"==o[r].sliderType&&"v"===o[r].carousel.orientation?o.iHE(r)*(o[r].keepBPHeight||o[r].currentRowsHeight>o[r].gridheight[o[r].level]?1:o[r].CM.h):b;(1==o[r].gridEQModule||void 0!==p._lig&&"row"!==p.type&&"column"!==p.type&&("group"!==p.type||p._ingroup||p._incolumn))&&(G=void 0!==p._lig?p._lig.width():o[r].module.width,F=void 0!==p._lig?p._lig.height():o[r].module.height,_=0,S=0),o[r].keepBPHeight&&F==o[r].module.height&&(S=0),"video"===p.type&&null!=p.vidOBJ&&(p.vidOBJ.height>=0&&0===p.eoh&&(p.eoh=p.vidOBJ.height),p.vidOBJ.width>=0&&0===p.eow&&(p.eow=p.vidOBJ.width)),h="relative"==p.position?0:"c"===h||"m"===h||"center"===h||"middle"===h?G/2-p.eow/2+P:"l"===h||"left"===h?P:"r"===h||"right"===h?G-p.eow-P:"off"!==p.rsp_o?h*o[r].CM.w:h,m="relative"==p.position?0:"m"===m||"c"===m||"center"===m||"middle"===m?F/2-p.eoh/2+D:"t"===m||"top"==m?D:"b"===m||"bottom"==m?F-p.eoh-D:"off"!==p.rsp_o?m*o[r].CM.w:m,h=p._slidelink?0:o[r].rtl&&-1==(""+p.width[o[r].level]).indexOf("%")?parseInt(h)+p.eow:h,p.calcx="relative"!=p.position||"group"!==p.type&&!p._incolumn?parseInt(h,0)+_:0,p.calcy="relative"!=p.position||"group"!==p.type&&!p._incolumn?parseInt(m,0)+S:0,"row"!==p.type&&"column"!==p.type?p.OBJUPD.POBJ={zIndex:p.zindex,top:p.calcy,left:p.calcx,overwrite:"auto"}:"row"!==p.type?p.OBJUPD.POBJ={zIndex:p.zindex,width:p.columnwidth,top:0,left:0,overwrite:"auto"}:"row"===p.type&&(p.OBJUPD.POBJ={zIndex:p.zindex,width:"grid"===p.basealign?G+"px":"100%",top:0,left:o[r].rtl?-1*_:_,overwrite:"auto"},p.cbreak<=o[r].level?-1===d[0].className.indexOf("rev_break_columns")&&d[0].classList.add("rev_break_columns"):d[0].className.indexOf("rev_break_columns")>0&&d[0].classList.remove("rev_break_columns"),p.rowcalcx=p.OBJUPD.POBJ.left,p.pow=p.p.outerWidth(!0)),void 0!==p.blendmode&&(p.OBJUPD.POBJ.mixBlendMode="color"===p.blendmode&&window.isSafari11?"color-burn":p.blendmode),(void 0!==p.frames.loop||p.imgInFirefox)&&(p.OBJUPD.LPOBJ={width:p.eow,height:p.eoh}),p._ingroup&&(void 0!==p._groupw&&!o.isNumeric(p._groupw)&&p._groupw.indexOf("%")>0&&(p.OBJUPD.lppmOBJ.minWidth=p._groupw),void 0!==p._grouph&&!o.isNumeric(p._grouph)&&p._grouph.indexOf("%")>0&&(p.OBJUPD.lppmOBJ.minHeight=p._grouph)),"updateposition"===e.mode&&(p.caches.POBJ_LEFT===p.OBJUPD.POBJ.left&&p.caches.POBJ_TOP===p.OBJUPD.POBJ.top||(tpGS.gsap.set(p.p,p.OBJUPD.POBJ),p.caches.POBJ_LEFT=p.OBJUPD.POBJ.left,p.caches.POBJ_TOP=p.OBJUPD.POBJ.top)),e.animcompleted&&o.animcompleted(d,r)}}},hoverReverseDone:function(e){o[e.id]._L[e.L[0].id].textDecoration&&tpGS.gsap.set(o[e.id]._L[e.L[0].id].c,{textDecoration:o[e.id]._L[e.L[0].id].textDecoration})},animcompleted:function(e,t,i){if(void 0!==o[t].videos){var a=o[t].videos[e[0].id];null!=a&&null!=a.type&&"none"!=a.type&&(1==a.aplay||"true"==a.aplay||"on"==a.aplay||"1sttime"==a.aplay?(("static"===a.slideid||"carousel"!==o[t].sliderType||e.closest("rs-slide").index()==o[t].carousel.focused||e.closest("rs-slide").index()==o[t].activeRSSlide&&o[t].carousel.oldfocused==o[t].carousel.focused||i)&&o.playVideo(e,t),o.toggleState(e.data("videotoggledby")),(a.aplay1||"1sttime"==a.aplay)&&(a.aplay1=!1,a.aplay=!1)):("no1sttime"==a.aplay&&(a.aplay=!0),o.unToggleState(e.data("videotoggledby"))))}},convertHoverTransform:function(e,t,i){var a,r=o.clone(e.transform);if((r.originX||r.originY||r.originZ)&&(r.transformOrigin=(void 0===r.originX?"50%":r.originX)+" "+(void 0===r.originY?"50%":r.originY)+" "+(void 0===r.originZ?"50%":r.originZ),delete r.originX,delete r.originY,delete r.originZ),void 0!==e&&void 0!==e.filter&&(r.filter=u(e.filter),r["-webkit-filter"]=r.filter),r.color=void 0===r.color?"rgba(255,255,255,1)":r.color,r.force3D="auto",void 0!==r.borderRadius&&((a=r.borderRadius.split(" ")).length,r.borderTopLeftRadius=a[0],r.borderTopRightRadius=a[1],r.borderBottomRightRadius=a[2],r.borderBottomLeftRadius=a[3],delete r.borderRadius),void 0!==r.borderWidth&&((a=r.borderWidth.split(" ")).length,r.borderTopWidth=a[0],r.borderRightWidth=a[1],r.borderBottomWidth=a[2],r.borderLeftWidth=a[3],delete r.borderWidth),void 0===i.bg||-1===i.bg.indexOf("url")){var s=-1!==i.bgCol.search("gradient"),n=r.backgroundImage&&"string"==typeof r.backgroundImage&&-1!==r.backgroundImage.search("gradient");n&&s?(180!==v(i.bgCol)&&180==v(r.backgroundImage)&&(r.backgroundImage=m(r.backgroundImage,180)),r.backgroundImage=tpGS.getSSGColors(i.bgCol,r.backgroundImage,void 0===r.gs?"fading":r.gs).to):n&&!s?r.backgroundImage=tpGS.getSSGColors(i.bgCol,r.backgroundImage,void 0===r.gs?"fading":r.gs).to:!n&&s&&(r.backgroundImage=tpGS.getSSGColors(i.bgCol,r.backgroundColor,void 0===r.gs?"fading":r.gs).to)}return delete r.gs,r},handleStaticLayers:function(e,t){var i=0,a=o[t].realslideamount+1;if(void 0!==o.gA(e[0],"onslides")){var r=o.gA(e[0],"onslides").split(";");for(var s in r)if(r.hasOwnProperty(s)){var n=r[s].split(":");"s"===n[0]&&(i=parseInt(n[1],0)),"e"===n[0]&&(a=parseInt(n[1],0))}}i=Math.max(0,i),a=Math.min(o[t].realslideamount,a<0?o[t].realslideamount:a),a=1!==i&&0!==i||a!==o[t].realslideamount?a:o[t].realslideamount+1,e.data("startslide",i),e.data("endslide",a),o.sA(e[0],"startslide",i),o.sA(e[0],"endslide",a)},updateLayersOnFullStage:function(e){if(o[e].caches.calcResponsiveLayersList.length>0){!0!==o[e].slideHasIframe&&!0!==o[e].fullScreenMode&&!0!==o[e].skipAttachDetach&&("carousel"===o[e].sliderType?o[e].carousel.wrap.detach():o[e].canvas.detach());for(var t=0;t<o[e].caches.calcResponsiveLayersList.length;t++)void 0!==o[e].caches.calcResponsiveLayersList[t]&&P(o[e].caches.calcResponsiveLayersList[t]);!0!==o[e].slideHasIframe&&!0!==o[e].fullScreenMode&&!0!==o[e].skipAttachDetach&&("carousel"===o[e].sliderType?o[e].c[0].appendChild(o[e].carousel.wrap[0]):o[e].c[0].appendChild(o[e].canvas[0]))}},animateTheLayers:function(e){if(void 0===e.slide)return!1;var t=e.id;if(void 0===o[t].slides[e.slide]&&"individual"!==e.slide)return!1;if("carousel"===o[t].sliderType){if("start"===e.mode&&"start"===o[t].lastATLmode){if(e.slide===o[t].lastATLslide&&(new Date).getTime()-o[t].lastATLtime<1500)return;o[t].lastATLtime=(new Date).getTime()}o[t].lastATLmode=e.mode,o[t].lastATLslide=e.slide}var i="individual"!==e.slide?o.gA(o[t].slides[e.slide],"key"):"individual",a=void 0!==o[t].pr_processing_key?o[t].pr_processing_key:void 0!==o[t].pr_active_key?o[t].pr_active_key:0;o[t].focusedSlideIndex=a,o[t].caches.calcResponsiveLayersList=[],o[t].layers=o[t].layers||{},"individual"===i?o[t].layers.individual=void 0===o[t].layers.individual?"all"===o[t].carousel.showLayersAllTime?o.getLayersInSlide(jQuery(o[t].c),"rs-layer","rs-layer-static"):o.getLayersInSlide(jQuery(o[t].c),"rs-on-car"):o[t].layers.individual:(o[t].layers[i]=void 0===o[t].layers[i]?"all"===o[t].carousel.showLayersAllTime?[]:o.getLayersInSlide(jQuery(o[t].slides[e.slide]),"rs-layer","carousel"===o[t].sliderType?"rs-on-car":void 0):o[t].layers[i],o[t].layers.static=void 0===o[t].layers.static?o.getLayersInSlide(jQuery(o[t].c.find("rs-static-layers")),"rs-layer","rs-on-car"):o[t].layers.static,o[t].sbas[i]=void 0===o[t].sbas[i]?o.getLayersInSlide(jQuery(o[t].slides[e.slide]),"rs-sba"):o[t].sbas[i]);var r="rebuild"===e.mode&&"carousel"===o[t].sliderType&&"individual"===i;void 0!==i&&o[t].layers[i]&&o.initLayer({id:t,slideIndex:e.slide,skey:i,mode:e.mode,animcompleted:r}),o[t].layers.static&&o.initLayer({id:t,skey:"static",slideIndex:"static",mode:e.mode,animcompleted:r}),o.updateLayersOnFullStage(t),"preset"!==e.mode||void 0!==o[t].slidePresets&&void 0!==o[t].slidePresets[e.slide]||(o[t].slidePresets=void 0===o[t].slidePresets?{}:o[t].slidePresets,o[t].slidePresets[e.slide]=!0,o[t].c.trigger("revolution.slideprepared",{slide:e.slide,key:i})),o[t].heightInLayers=o[t].module.height,o[t].widthInLayers=o[t].module.width,o[t].levelInLayers=o[t].level;var s={id:t,skey:i,slide:e.slide,key:i,mode:e.mode,index:a};window.requestAnimationFrame((function(){if(void 0===o[t].dimensionReCheck[i]?(o.updateLayerDimensions(s),!0!==o[t].doubleDimensionCheck?setTimeout((function(){o.updateLayerDimensions(s),o.updateRowZones(s)}),150):o.updateRowZones(s),o[t].doubleDimensionCheck=!0,o[t].dimensionReCheck[i]=!0):o.updateRowZones(s),void 0!==i&&o[t].layers[i])for(var a in o[t].layers[i])o[t].layers[i].hasOwnProperty(a)&&o.renderLayerAnimation({layer:jQuery(o[t].layers[i][a]),id:t,mode:e.mode,caller:e.caller});if(o[t].layers.static)for(var a in o[t].layers.static)o[t].layers.static.hasOwnProperty(a)&&o.renderLayerAnimation({layer:jQuery(o[t].layers.static[a]),id:t,mode:e.mode,caller:e.caller});null!=o[t].mtl&&o[t].mtl.resume()}))},updateRowZones:function(e){(void 0!==o[e.id].rowzones&&o[e.id].rowzones.length>0&&e.index>=0&&o[e.id].rowzones[Math.min(e.index,o[e.id].rowzones.length)]&&o[e.id].rowzones[Math.min(e.index,o[e.id].rowzones.length)].length>0||void 0!==o[e.id].srowzones&&o[e.id].srowzones.length>0||void 0!==o[e.id].smiddleZones&&o[e.id].smiddleZones.length>0)&&(o.updateDims(e.id),o.initLayer({id:e.id,skey:e.key,slideIndex:e.slide,mode:"updateposition"}),o.initLayer({id:e.id,skey:"static",slideIndex:"static",mode:"updateposition"}),"start"!==e.mode&&"preset"!==e.mode||o.manageNavigation(e.id),window.requestAnimationFrame((function(){o.putRowsInPosition(e.id)})))},updateLayerDimensions:function(e){var t=!1;o[e.id].caches.calcResponsiveLayersList=[],void 0===e.key||"individual"!=e.key&&void 0===o[e.id].layers[e.key]||!o.checkLayerDimensions({id:e.id,skey:e.key,slideIndex:e.slide})||(t=!0),o.initLayer({id:e.id,skey:e.key,slideIndex:e.slide,mode:"updateAndResize"}),o[e.id].layers.static&&o.checkLayerDimensions({id:e.id,skey:"static",slideIndex:"static"})&&(t=!0,o.initLayer({id:e.id,skey:"static",slideIndex:"static",mode:"updateAndResize"})),t&&o.updateLayersOnFullStage(e.id)},updateAnimatingLayerPositions:function(e){o.initLayer({id:e.id,skey:e.key,slideIndex:e.slide,mode:"updateposition"})},removeTheLayers:function(e,t,i){var a=o.gA(e[0],"key");for(var r in o[t].sloops&&o[t].sloops[a]&&o[t].sloops[a].tl&&o[t].sloops[a].tl.pause(),o[t].layers[a])o[t].layers[a].hasOwnProperty(r)&&o.renderLayerAnimation({layer:jQuery(o[t].layers[a][r]),frame:"frame_999",mode:"continue",remove:!0,id:t,allforce:i});for(var r in o[t].layers.static)o[t].layers.static.hasOwnProperty(r)&&o.renderLayerAnimation({layer:jQuery(o[t].layers.static[r]),frame:"frame_999",mode:"continue",remove:!0,id:t,allforce:i})},renderLayerAnimation:function(e){var i,a=e.layer,r=e.id,u=o[r].level,h=o[r]._L[a[0].id],m=void 0!==h.timeline?h.timeline.time():void 0,v=!1,f=!1,y="none",_=!1;if(("containerResized_2"===e.caller||"swapSlideProgress_2"===e.caller)&&!0!==h.animationRendered)return;if(h.animationRendered=!0,"preset"===e.mode&&!0!==h.frames.frame_1.timeline.waitoncall&&void 0===h.scrollBasedOffset)return;if("trigger"==e.mode&&(h.triggeredFrame=e.frame),h._isstatic){var x="carousel"===o[r].sliderType&&void 0!==o[r].carousel.oldfocused?parseInt(o[r].carousel.oldfocused)+1:void 0===o[r].focusedSlideIndex?0:parseInt(o[r].focusedSlideIndex,0)+1,k="carousel"===o[r].sliderType?void 0===o[r].pr_next_key?0==x?1:x:parseInt(o[r].pr_next_key,0)+1:void 0===o[r].pr_processing_key?0==x?1:x:parseInt(o[r].pr_processing_key,0)+1,R=x>=h.startslide&&x<=h.endslide,O=k>=h.startslide&&k<=h.endslide,L=void 0!==h.frames.frame_999&&void 0!==h.frames.frame_999.timeline&&!0!==h.frames.frame_999.timeline.waitoncall&&x===h.endslide;if(void 0===o[r].modal||"start"!=e.mode&&"continue"!=e.mode||("continue"===e.mode&&"close"==o[r].modal.lastModalCall&&(O=!1),"start"!==e.mode||"show"!==o[r].modal.lastModalCall&&"init"!==o[r].modal.lastModalCall||o[r].modal.lastModalCall===h.lastModalCall||(h.triggeredFrame=void 0,h.triggercache="reset",void 0!==h.timeline&&void 0!==h.timeline.currentLabel()&&-1==h.timeline.currentLabel().indexOf("frame_999")&&h.timeline.pause(0)),h.lastModalCall=o[r].modal.lastModalCall),y=!("start"!==e.mode||!L)||(x===h.endslide&&"continue"===e.mode||("continue"===e.mode||x===h.endslide)&&"none"),"frame_999"===h.animatedFrame&&"done"===h.animatingFrame|null==h.animatingFrame&&(h.lastRequestedMainFrame="frame_999"),void 0!==h.timeline&&void 0!==h.timeline.currentLabel()&&-1==h.timeline.currentLabel().indexOf("frame_999")&&(_=!0),!0===e.allforce||!0===y){if("continue"===e.mode&&O&&L&&void 0!==h.timeline)return void(h.timeline.currentLabel().indexOf("frame_999")>=0?h.timeline.pause(h.timeline.previousLabel()):h.timeline.pause(h.timeline.currentLabel()));if("continue"===e.mode&&"frame_999"===e.frame&&(O||void 0===h.lastRequestedMainFrame))return}else{if("preset"===e.mode&&(h.elementHovered||!O))return;if("rebuild"===e.mode&&!R&&!O)return;if("start"===e.mode&&O&&"frame_1"===h.lastRequestedMainFrame)return;if(("start"===e.mode||"preset"===e.mode)&&"frame_999"===h.lastRequestedMainFrame&&!0!==h.leftstage)return;if("continue"===e.mode&&"frame_999"===e.frame&&(O||void 0===h.lastRequestedMainFrame))return;if("start"===e.mode&&!O)return;if("rebuild"===e.mode&&h.elementHovered&&h._isstatic&&h.hovertimeline)return}}else"start"===e.mode&&"keep"!==h.triggercache&&(h.triggeredFrame=void 0);"start"===e.mode&&(void 0!==h.layerLoop&&(h.layerLoop.count=0),e.frame=void 0===h.triggeredFrame?_?void 0:0:h.triggeredFrame),"continue"===e.mode||"trigger"===e.mode||void 0===h.timeline||h._isstatic&&!0===h.leftstage||h.timeline.pause(0),"continue"!==e.mode&&"trigger"!==e.mode||void 0===h.timeline||h.timeline.pause(),h.timeline=tpGS.gsap.timeline({paused:!0}),"text"!==h.type&&"button"!==h.type||void 0!==h.splitText&&(void 0!==h.splitTextFix||"start"!==e.mode&&"preset"!==e.mode)||(w({layer:a,id:r}),"start"===e.mode&&(h.splitTextFix=!0));let I=o[r].duration;if("carousel"===o[r].sliderType)for(let e of o[r].slides)h.slidekey==e.dataset.key&&null!=o.gA(e,"duration")&&""!=o.gA(e,"duration")&&(I=parseInt(o.gA(e,"duration"),0));for(var M in h.ford)if(h.ford.hasOwnProperty(M)){var T=h.ford[M],C=!1;if("frame_0"!==T&&"frame_hover"!==T&&"loop"!==T){if("frame_999"===T&&!h.frames[T].timeline.waitoncall&&h.frames[T].timeline.start>=I&&!0!==e.remove&&(h.frames[T].timeline.waitoncall=!0),"start"===e.mode&&"keep"!==h.triggercache&&(h.frames[T].timeline.callstate=h.frames[T].timeline.waitoncall?"waiting":""),"trigger"===e.mode&&h.frames[T].timeline.waitoncall&&(T===e.frame?(h.frames[T].timeline.triggered=!0,h.frames[T].timeline.callstate="called"):h.frames[T].timeline.triggered=!1),"rebuild"===e.mode||h.frames[T].timeline.triggered||(h.frames[T].timeline.callstate=h.frames[T].timeline.waitoncall?"waiting":""),!1!==e.fastforward){if(("continue"===e.mode||"trigger"===e.mode)&&!1===f&&T!==e.frame)continue;if(("rebuild"===e.mode||"preset"===e.mode)&&!1===f&&void 0!==h.triggeredFrame&&T!==h.triggeredFrame)continue;(T===e.frame||"rebuild"===e.mode&&T===h.triggeredFrame)&&(f=!0)}else T===e.frame&&(f=!0);if(T!==e.frame&&h.frames[T].timeline.waitoncall&&"called"!==h.frames[T].timeline.callstate&&(v=!0),T!==e.frame&&f&&(v=!0===v&&h.frames[T].timeline.waitoncall?"skiprest":!0!==v&&v),void 0===h.hideonfirststart&&"frame_1"===T&&h.frames[T].timeline.waitoncall&&(h.hideonfirststart=!0),v&&"waiting"===h.frames[T].timeline.callstate&&"preset"===e.mode&&1!=h.firstTimeRendered){if(h._isstatic&&void 0===h.currentframe)continue;C=!0,h.firstTimeRendered=!0}else if("skiprest"===v||"called"!==h.frames[T].timeline.callstate&&v&&e.toframe!==T)continue;if("frame_999"!==T||!1!==y||"continue"!==e.mode&&"start"!==e.mode&&"rebuild"!==e.mode){h.fff="frame_1"===T&&("trigger"!==e.mode||"frame_999"===h.currentframe||"frame_0"===h.currentframe||void 0===h.currentframe),"trigger"===e.mode&&"frame_1"===e.frame&&!1===h.leftstage&&(h.fff=!1),C||(h.frames[T].timeline.callstate="called",h.currentframe=T);var A=h.frames[T],D=h.fff?h.frames.frame_0:void 0,P=tpGS.gsap.timeline(),B=tpGS.gsap.timeline(),G=h.c,F=void 0!==A.sfx&&b(A.sfx.effect,h.m,A.timeline.ease),H=A.timeline.speed/1e3,z=0,W=S({id:r,frame:A,layer:a,ease:A.timeline.ease,splitAmount:G.length,target:T,forcefilter:void 0!==h.frames.frame_hover&&void 0!==h.frames.frame_hover.filter}),E=h.fff?S({id:r,frame:D,layer:a,ease:A.timeline.ease,splitAmount:G.length,target:"frame_0"}):void 0,N=void 0!==A.mask?S({id:r,frame:{transform:{x:A.mask.x,y:A.mask.y}},layer:a,ease:W.ease,target:"mask"}):void 0,j=void 0!==N&&h.fff?S({id:r,frame:{transform:{x:D.mask.x,y:D.mask.y}},layer:a,ease:W.ease,target:"frommask"}):void 0,V=W.ease;if(W.force3D=!0,"block"===F.type){if(F.ft[0].background=A.sfx.fxc,F.ft[0].visibility="visible",F.ft[1].visibility="visible",window.isSafari11){let e=Math.max(E&&E.z?E.z:0,W&&W.z?W.z:0);F.ft[0].z=Math.max(0,e+1),F.ft[1].z=Math.max(0,e+1),F.t.z=Math.max(0,e+1),F.ft[1].transformPerspective=F.ft[0].transformPerspective=F.t.transformPerspective=W.transformPerspective}P.add(tpGS.gsap.fromTo(F.bmask_in,H/2,F.ft[0],F.ft[1],0)),P.add(tpGS.gsap.fromTo(F.bmask_in,H/2,F.ft[1],F.t,H/2)),"frame_0"!==T&&"frame_1"!==T||(E.opacity=0)}if(void 0!==A.color?W.color=A.color:void 0!==h.color&&"npc"!==h.color[u]&&(W.color=h.color[u]),void 0!==D&&void 0!==D.color?E.color=D.color:void 0!==D&&void 0!==h.color&&"npc"!==h.color[u]&&(E.color=h.color[u]),void 0!==A.bgcolor?A.bgcolor.indexOf("gradient")>=0?W.background=A.bgcolor:W.backgroundColor=A.bgcolor:!0===h.bgcolinuse&&(h.bgcol.indexOf("gradient")>=0?W.background=h.bgcol:W.backgroundColor=h.bgcol),void 0!==D&&(void 0!==D.bgcolor?D.bgcolor.indexOf("gradient")>=0?E.background=D.bgcolor:E.backgroundColor=D.bgcolor:!0===h.bgcolinuse&&(h.bgcol.indexOf("gradient")>=0?E.background=h.bgcol:E.backgroundColor=h.bgcol)),void 0!==h.splitText&&!1!==h.splitText)for(var X in t)if(void 0!==A[t[X]]&&!h.quickRendering){var U=h.splitText[t[X]],Y=S({id:r,frame:A,source:t[X],ease:V,layer:a,splitAmount:U.length,target:T+"_"+t[X]}),q=h.fff?S({id:r,frame:D,ease:Y.ease,source:t[X],layer:a,splitAmount:U.length,target:"frame_0_"+t[X]}):void 0,Q=h.frames[T].dosplit?void 0===A[t[X]].delay?.05:A[t[X]].delay/100:0;h.color[u]===W.color&&"frame_1"===T||(Y.color=W.color),void 0!==E&&h.color[u]!==E.color&&(q.color=E.color),void 0!==q&&q.color!==W.color&&(Y.color=W.color);var J=o.clone(Y),Z=h.fff?o.clone(q):void 0,K=A[t[X]].dir;delete J.dir,J.data={splitted:!0},J.stagger="center"===K||"edge"===K?d({each:Q,offset:Q/2,from:K}):{each:Q,from:K},J.duration=H,void 0!==Z&&(void 0!==Z.opacity&&(o.ISM||window.isSafari11)&&(Z.opacity=Math.max(.001,parseFloat(Z.opacity))),delete Z.dir),h.fff?P.add(B.fromTo(U,Z,J),0):P.add(B.to(U,J),0),z=Math.max(z,U.length*Q)}if(H+=z,void 0===i&&(i="isometric"===o[r].perspectiveType?0:"local"===o[r].perspectiveType?void 0!==W.transformPerspective?W.transformPerspective:h.fff&&void 0!==E.transfromPerspective?E.transfromPerspective:o[r].perspective:o[r].perspective),h.knowTransformPerspective=i,h.fsom&&(void 0!==W.filter||h.fff&&void 0!==E.filter)?(N.filter=W.filter,N["-webkit-filter"]=W.filter,delete W.filter,delete W["-webkit-filter"],h.fff&&void 0!==E.filter&&((j=j||{}).filter=E.filter,j["-webkit-filter"]=E.filter,delete E.filter,delete E["-webkit-filter"]),h.forceFsom=!0):h.forceFsom=!1,h.useMaskAnimation=h.pxundermask||void 0!==N&&(void 0!==D&&"hidden"===D.mask.overflow||"hidden"===A.mask.overflow),h.useMaskAnimation||h.forceFsom)h.useMaskAnimation?P.add(tpGS.gsap.to(h.m,.001,{overflow:"hidden"}),0):P.add(tpGS.gsap.to(h.m,.001,{overflow:"visible"}),0),"column"===h.type&&h.cbgexists&&h.useMaskAnimation&&P.add(tpGS.gsap.to(h.cbgmask,.001,{overflow:"hidden"}),0),h.btrans&&(j&&(j.rotationX=h.btrans.rX,j.rotationY=h.btrans.rY,j.rotationZ=h.btrans.rZ,j.opacity=h.btrans.o),N.rotationX=h.btrans.rX,N.rotationY=h.btrans.rY,N.rotationZ=h.btrans.rZ,N.opacity=h.btrans.o),h.fff?P.add(tpGS.gsap.fromTo(void 0!==h.m&&void 0!==h.cbgmask?[h.m,h.cbgmask]:void 0!==h.m?h.m:h.cbgmask,H,o.clone(j),o.clone(N)),.001):P.add(tpGS.gsap.to(void 0!==h.m&&void 0!==h.cbgmask?[h.m,h.cbgmask]:void 0!==h.m?h.m:h.cbgmask,H,o.clone(N)),.001);else if(void 0!==h.btrans){var $={x:0,y:0,filter:"none",opacity:h.btrans.o,rotationX:h.btrans.rX,rotationY:h.btrans.rY,rotationZ:h.btrans.rZ,overflow:"visible"};0===h.btrans.rX&&0==h.btrans.rY||(h.maskHasPerspective=!0,$.transformPerspective=i),P.add(tpGS.gsap.to(h.m,.001,$),0)}else P.add(tpGS.gsap.to(h.m,.001,{clearProps:"transform",overflow:"hidden"==h.ofHidOnHov?"hidden":"visible"}),0);W.force3D="auto",h.fff?(W.visibility="visible",void 0!==h.cbg&&P.fromTo(h.cbg,H,E,W,0),o[r].BUG_safari_clipPath&&(E.clipPath||W.clipPath||h.spike),H=H>0?H-.001:H,void 0!==h.cbg&&"column"===h.type?P.fromTo(G,H,s(E),s(W),0):P.fromTo(G,H,E,W,0),P.invalidate()):("frame_999"!==h.frame&&(W.visibility="visible"),void 0!==h.cbg&&P.to(h.cbg,H,W,0),void 0!==h.cbg&&"column"===h.type?P.to(G,H,s(W),0):P.to(G,H,W,0)),void 0!==V&&"object"!=typeof V&&"function"!=typeof V&&V.indexOf("SFXBounce")>=0&&P.to(G,H,{scaleY:.5,scaleX:1.3,ease:W.ease+"-squash",transformOrigin:"bottom"},1e-4);var ee="trigger"!==e.mode&&(!0!==v&&"skiprest"!==v||"rebuild"!==e.mode)||e.frame===T||void 0===A.timeline.start||!o.isNumeric(A.timeline.start)?"+=0"===A.timeline.start||void 0===A.timeline.start?"+=0.001":parseInt(A.timeline.start,0)/1e3:"+="+parseInt(void 0===A.timeline.startRelative?0:A.timeline.startRelative,0)/1e3;h.timeline.addLabel(T,ee),h.timeline.add(P,ee),h.timeline.addLabel(T+"_end","+=0.01"),P.eventCallback("onStart",c,[{id:r,frame:T,L:a,tPE:i}]),"true"==h.animationonscroll||1==h.animationonscroll?(P.eventCallback("onUpdate",p,[{id:r,frame:T,L:a}]),P.smoothChildTiming=!0):P.eventCallback("onUpdate",p,[{id:r,frame:T,L:a}]),P.eventCallback("onComplete",g,[{id:r,frame:T,L:a,tPE:i}])}}}if(void 0!==h.frames.loop){var te=parseInt(h.frames.loop.timeline.speed,0)/1e3,ie=parseInt(h.frames.loop.timeline.start)/1e3||0,ae="trigger"!==e.mode&&"frame_999"!==e.frame||"frame_999"!==e.frame?.2:0,re=ie+ae;h.loop={root:tpGS.gsap.timeline({}),preset:tpGS.gsap.timeline({}),move:tpGS.gsap.timeline({repeat:-1,yoyo:h.frames.loop.timeline.yoyo_move}),rotate:tpGS.gsap.timeline({repeat:-1,yoyo:h.frames.loop.timeline.yoyo_rotate}),scale:tpGS.gsap.timeline({repeat:-1,yoyo:h.frames.loop.timeline.yoyo_scale}),filter:tpGS.gsap.timeline({repeat:-1,yoyo:h.frames.loop.timeline.yoyo_filter})};var oe=h.frames.loop.frame_0,se=h.frames.loop.frame_999,ne="blur("+parseInt(oe.blur||0,0)+"px) grayscale("+parseInt(oe.grayscale||0,0)+"%) brightness("+parseInt(oe.brightness||100,0)+"%)",le="blur("+(se.blur||0)+"px) grayscale("+(se.grayscale||0)+"%) brightness("+(se.brightness||100)+"%)";if(h.loop.root.add(h.loop.preset,0),h.loop.root.add(h.loop.move,ae),h.loop.root.add(h.loop.rotate,ae),h.loop.root.add(h.loop.scale,ae),h.loop.root.add(h.loop.filter,ae),"blur(0px) grayscale(0%) brightness(100%)"===ne&&"blur(0px) grayscale(0%) brightness(100%)"===le&&(ne="none",le="none"),se.originX=oe.originX,se.originY=oe.originY,se.originZ=oe.originZ,void 0===i&&(i="isometric"===o[r].perspectiveType?0:"local"===o[r].perspectiveType&&void 0!==W?void 0!==W.transformPerspective?W.transformPerspective:h.fff&&void 0!==E.transfromPerspective?E.transfromPerspective:o[r].perspective:o[r].perspective),h.frames.loop.timeline.curved){var de=parseInt(h.frames.loop.timeline.radiusAngle,0)||0,ce=[{x:(oe.x-oe.xr)*o[r].CM.w,y:0,z:(oe.z-oe.zr)*o[r].CM.w},{x:0,y:(oe.y+oe.yr)*o[r].CM.w,z:0},{x:(se.x+se.xr)*o[r].CM.w,y:0,z:(se.z+se.zr)*o[r].CM.w},{x:0,y:(se.y-se.yr)*o[r].CM.w,z:0}],pe={type:"thru",curviness:h.frames.loop.timeline.curviness,path:[],autoRotate:h.frames.loop.timeline.autoRotate};for(var ge in ce)ce.hasOwnProperty(ge)&&(pe.path[ge]=ce[de],de=++de==ce.length?0:de);("trigger"!==e.mode&&"frame_999"!==e.frame||"frame_999"!==e.frame)&&h.loop.preset.fromTo(h.lp,ae,{"-webkit-filter":ne,filter:ne,x:0,y:0,z:0,minWidth:h._incolumn||h._ingroup?"100%":void 0===h.eow?0:h.eow,minHeight:h._incolumn||h._ingroup?"100%":void 0===h.eoh?0:h.eoh,scaleX:1,scaleY:1,skewX:0,skewY:0,rotationX:0,rotationY:0,rotationZ:0,transformPerspective:i,transformOrigin:se.originX+" "+se.originY+" "+se.originZ,opacity:1},l({x:pe.path[3].x,y:pe.path[3].y,z:pe.path[3].z,scaleX:oe.scaleX,skewX:oe.skewX,skewY:oe.skewY,scaleY:oe.scaleY,rotationX:oe.rotationX,rotationY:oe.rotationY,rotationZ:oe.rotationZ,"-webkit-filter":ne,filter:ne,ease:"sine.inOut",opacity:oe.opacity}),0),n(pe)&&h.loop.move.to(h.lp,h.frames.loop.timeline.yoyo_move?te/2:te,{motionPath:pe,ease:h.frames.loop.timeline.ease})}else("trigger"!==e.mode&&"frame_999"!==e.frame||"frame_999"!==e.frame)&&h.loop.preset.fromTo(h.lp,ae,{"-webkit-filter":ne,filter:ne,x:0,y:0,z:0,minWidth:h._incolumn||h._ingroup?"100%":void 0===h.eow?0:h.eow,minHeight:h._incolumn||h._ingroup?"100%":void 0===h.eoh?0:h.eoh,scaleX:1,scaleY:1,skewX:0,skewY:0,rotationX:0,rotationY:0,rotationZ:0,transformPerspective:i,transformOrigin:se.originX+" "+se.originY+" "+se.originZ,opacity:1},l({x:oe.x*o[r].CM.w,y:oe.y*o[r].CM.w,z:oe.z*o[r].CM.w,scaleX:oe.scaleX,skewX:oe.skewX,skewY:oe.skewY,scaleY:oe.scaleY,rotationX:oe.rotationX,rotationY:oe.rotationY,rotationZ:oe.rotationZ,ease:"sine.out",opacity:oe.opacity,"-webkit-filter":ne,filter:ne}),0),h.loop.move.to(h.lp,h.frames.loop.timeline.yoyo_move?te/2:te,{x:se.x*o[r].CM.w,y:se.y*o[r].CM.w,z:se.z*o[r].CM.w,ease:h.frames.loop.timeline.ease});h.loop.rotate.to(h.lp,h.frames.loop.timeline.yoyo_rotate?te/2:te,{rotationX:se.rotationX,rotationY:se.rotationY,rotationZ:se.rotationZ,ease:h.frames.loop.timeline.ease}),h.loop.scale.to(h.lp,h.frames.loop.timeline.yoyo_scale?te/2:te,l({scaleX:se.scaleX,scaleY:se.scaleY,skewX:se.skewX,skewY:se.skewY,ease:h.frames.loop.timeline.ease}));var ue={opacity:se.opacity||1,ease:h.frames.loop.timeline.ease,"-webkit-filter":le,filter:le};h.loop.filter.to(h.lp,h.frames.loop.timeline.yoyo_filter?te/2:te,ue),h.timeline.add(h.loop.root,re)}if(void 0!==h.frames.frame_hover&&("start"===e.mode||void 0===h.hoverframeadded)){h.hoverframeadded=!0;var he=h.frames.frame_hover.timeline.speed/1e3;he=0===he?1e-5:he,h.cachedHoverSpeed=he,h.hoverlistener||(h.hoverlistener=!0,o.document.on("mouseenter mousemove",("column"===h.type&&void 0!==h.cbg?"#"+h.cbg[0].id+",":"")+"#"+h.c[0].id,(function(e){if(h.mouseIsOver=!0,1!=h.ignoreHoverFrames&&("mousemove"!==e.type||!0!==h.ignoremousemove)){if(h.animationonscroll||h.readyForHover){if(h.elementHovered=!0,h.hovertimeline||(h.hovertimeline=tpGS.gsap.timeline({paused:!0})),0==h.hovertimeline.progress()&&(void 0===h.lastHoveredTimeStamp||(new Date).getTime()-h.lastHoveredTimeStamp>150)){if(h.ignoremousemove=!0,h.ofHidOnHov=h.frames.frame_hover.mask?"hidden":"visible",h.hovertimeline.to(void 0!==h.m&&void 0!==h.cbgmask?[h.m,h.cbgmask]:void 0!==h.m?h.m:h.cbgmask,he,{overflow:h.ofHidOnHov},0),"column"===h.type&&null!=h.cbg&&h.hovertimeline.to(h.cbg,he,o.clone(o.convertHoverTransform(h.frames.frame_hover,h.cbg,{bgCol:h.bgcol,bg:h.styleProps.background})),0),"text"!==h.type&&"button"!==h.type||void 0===h.splitText||!1===h.splitText||h.hovertimeline.to([h.splitText.lines,h.splitText.words,h.splitText.chars],he,{color:h.frames.frame_hover.color,ease:h.frames.frame_hover.transform.ease},0),"column"===h.type){let e=o.clone(o.convertHoverTransform(h.frames.frame_hover,h.c,{bgCol:h.bgcol,bg:h.styleProps.background}));delete e.borderTopWidth,delete e.borderRightWidth,delete e.borderBottomWidth,delete e.borderLeftWidth,h.hovertimeline.to(h.c,he,s(e),0)}else h.hovertimeline.to(h.c,he,o.clone(o.convertHoverTransform(h.frames.frame_hover,h.c,{bgCol:h.bgcol,bg:h.styleProps.background})),0);if(h.pZindex=h.p[0].style.zIndex,h.p[0].style.zIndex=parseInt(h.frames&&h.frames.frame_hover&&void 0!==h.frames.frame_hover.transform.zIndex?h.frames.frame_hover.transform.zIndex:h.pZindex),"svg"===h.type){h.svgHTemp=o.clone(h.svgH),delete h.svgHTemp.svgAll;var t=Array.isArray(h.svgHTemp.fill)?h.svgHTemp.fill[o[r].level]:h.svgHTemp.fill;h.svgHTemp.fill=t,h.hovertimeline.to(h.svg,he,h.svgHTemp,0),h.svg.length<=0&&(h.svg=a.find("svg")),h.svgPath.length<=0&&(h.svgPath=h.svg.find(h.svgI.svgAll?"path, circle, ellipse, line, polygon, polyline, rect":"path")),h.hovertimeline.to(h.svgPath,he,{fill:t},0)}}h.hovertimeline.play()}h.lastHoveredTimeStamp=(new Date).getTime()}})),o.document.on("mouseleave",("column"===h.type&&void 0!==h.cbg?"#"+h.cbg[0].id+",":"")+"#"+h.c[0].id,(function(){h.mouseIsOver=!1,1!=h.ignoreHoverFrames&&(h.elementHovered=!1,(h.animationonscroll||h.readyForHover)&&void 0!==h.hovertimeline&&(h.hovertimeline.reverse(),h.p[0].style.zIndex=h.pZindex||h.zIndex,h.hovertimeline.eventCallback("onReverseComplete",o.hoverReverseDone,[{id:r,L:a}])))})))}if(C||(h.lastRequestedMainFrame="start"===e.mode?"frame_1":"continue"===e.mode?void 0===e.frame?h.currentframe:e.frame:h.lastRequestedMainFrame),void 0!==e.totime?h.tSTART=e.totime:void 0!==m&&void 0===e.frame?h.tSTART=m:void 0!==e.frame?h.tSTART=e.frame:h.tSTART=0,0===h.tSTART&&void 0===h.startedAnimOnce&&void 0===h.leftstage&&void 0===h.startedAnimOnce&&!0===h.hideonfirststart&&"preset"===e.mode&&(o[r]._L[a[0].id].pVisRequest=0,h.hideonfirststart=!1),"frame_999"!==h.tSTART&&"frame_999"!==h.triggeredFrame||!h.leftstage&&void 0!==h.startedAnimOnce){if("true"!=h.animationonscroll&&1!=h.animationonscroll?h.timeline.play(h.tSTART):h.timeline.time(h.tSTART),jQuery.inArray(h.type,["group","row","column"])>=0&&(void 0!==e.frame||!0===e.updateChildren)){if(void 0===h.childrenJS)for(var X in h.childrenJS={},o[r]._L){let e=void 0!==o[r]._L[X]._lig?o[r]._L[X]._lig[0]:void 0;null!=e&&(e.id===a[0].id&&e.id!==o[r]._L[X].c[0].id&&(h.childrenJS[o[r]._L[X].c[0].id]=o[r]._L[X].c))}e.frame="0"==e.frame?"frame_0":e.frame,e.frame="1"==e.frame?"frame_1":e.frame,e.frame="999"==e.frame?"frame_999":e.frame;var me=void 0===e.totime?void 0!==h.frames[e.frame].timeline.startAbsolute?parseInt(h.frames[e.frame].timeline.startAbsolute,0)/1e3:void 0!==h.frames[e.frame].timeline.start?o.isNumeric(h.frames[e.frame].timeline.start)?parseInt(h.frames[e.frame].timeline.start,0)/1e3:0:.001:e.totime;if(!0===e.updateChildren)for(var X in h.childrenJS)h.childrenJS.hasOwnProperty(X)&&o.renderLayerAnimation({layer:h.childrenJS[X],fastforward:!1,id:r,mode:"continue",updateChildren:!0,totime:me});else for(var X in h.childrenJS)h.childrenJS.hasOwnProperty(X)&&o[r]._L[X].pausedTrueParrent&&(o.renderLayerAnimation({layer:h.childrenJS[X],fastforward:!1,id:r,mode:"continue",updateChildren:!0,totime:me}),o[r]._L[X].pausedTrueParrent=!1)}}}}),o.getLayersInSlide=function(e,t,i){if(0===e.length)return{};for(var a=e[0].getElementsByClassName(t),r={},o=0;o<a.length;o++)void 0!==i&&-1!==a[o].className.indexOf(i)||(r[a[o].id]=a[o]);if(void 0!==e[1])for(a=e[1].getElementsByClassName(t),o=0;o<a.length;o++)void 0!==i&&-1!==a[o].className.indexOf(i)||(r[a[o].id]=a[o]);return r};var s=function(e){var t=o.clone(e);return delete t.backgroundColor,delete t.background,delete t.backgroundImage,delete t.borderSize,delete t.borderStyle,delete t["backdrop-filter"],t},n=function(e){if(void 0!==e&&void 0!==e.path&&Array.isArray(e.path)){var t=0,i=0;for(var a in e.path)!e.path.hasOwnProperty(a)||t>0||i>0||(t+=e.path[a].x,i+=e.path[a].y);return 0!=t||0!=i}},l=function(e){return void 0===e.skewX&&delete e.skewX,void 0===e.skewY&&delete e.skewY,e},d=function(e){e.from="edge"===e.from?"edges":e.from;var t=tpGS.gsap.utils.distribute(e);return function(i,a,r){return t(i,a,r)+(i<=r.length/2?0:e.offset||0)}},c=function(e){let t=o[e.id]._L[e.L[0].id],i=o[e.id]._L[t._ligid];o[e.id].BUG_safari_clipPath&&e.L[0].classList.remove("rs-pelock"),(t._ingroup||t._incolumn||t._inrow)&&void 0!==i&&void 0!==i.timeline&&(i.timeline.isActive()||void 0===t||void 0===t.frames[t.timeline.currentLabel()]||(null==i.timezone||i.timezone.to<=parseInt(t.frames[t.timeline.currentLabel()].timeline.start,0))&&!0!==t.animOnScrollForceDisable&&(t.pausedTrueParrent=!0,t.timeline.pause()));let a=t.hovertimeline;a&&a.time()>0&&(a.pause(),a.time(0),a.kill(),delete t.hovertimeline),delete t.childrenAtStartNotVisible,t.pVisRequest=1;var r={layer:e.L};t.tweenOnStart=!0,t.animatingFrame=e.frame,t.ignoremousemove=!1,t.leftstage=!1,t.readyForHover=!1,t.tweenDirection=1==t.animationonscroll||"true"==t.animationonscroll?t.animteToTimeCache>t.animteToTime?-1:1:void 0,void 0!==t.layerLoop&&t.layerLoop.from===e.frame&&t.layerLoop.count++,""+t.tweenDirection=="-1"&&("frame_0"===e.frame||"frame_1"==e.frame&&t.animteToTime<=.01)&&"column"!==t.type&&"row"!==t.type&&"group"!==t.type?(t.leftstage=!0,t.pVisRequest=0,t.pPeventsRequest="none",window.requestAnimationFrame((function(){o.requestLayerUpdates(e.id,"leftstage",e.L[0].id)}))):("frame_1"===e.frame&&"Safari"===window.RSBrowser&&void 0===t.safariRenderIssue&&(tpGS.gsap.set([t.c],{opacity:1}),t.safariRenderIssue=!0),"frame_999"!==e.frame&&(t.startedAnimOnce=!0,t.pPeventsRequest=t.noPevents?"none":"auto"),r.eventtype="frame_0"===e.frame||"frame_1"===e.frame?"enterstage":"frame_999"===e.frame?"leavestage":"framestarted",t._ingroup&&void 0!==i&&!0!==i.frames.frame_1.timeline.waitoncall&&(i.pVisRequest=1),o.requestLayerUpdates(e.id,r.eventtype,e.L[0].id,void 0!==t.frames[e.frame]&&void 0!==t.frames[e.frame].timeline&&0==t.frames[e.frame].timeline.usePerspective?e.tPE:"ignore")),r.id=e.id,r.layerid=e.L[0].id,r.layertype=t.type,r.frame_index=e.frame,r.layersettings=t,o[e.id].c.trigger("revolution.layeraction",[r]),"enterstage"===r.eventtype&&o.toggleState(t.layertoggledby),"frame_1"===e.frame&&o.animcompleted(e.L,e.id)},p=function(e){let t=o[e.id]._L[e.L[0].id];t.animatingFrame=e.frame,t.tweenOnStart=!1,t.tweenOnEnd=!1,"frame_999"===e.frame&&(t.pVisRequest=1,t.pPeventsRequest=t.noPevents?"none":"auto",t.leftstage=!1,window.requestAnimationFrame((function(){o.requestLayerUpdates(e.id,"update",e.L[0].id)})))},g=function(e){let t=o[e.id]._L[e.L[0].id];var i=!0;if("column"===t.type||"row"===t.type||"group"===t.type){var a=t.timeline.currentLabel(),r=jQuery.inArray(a,t.ford);r++,r=t.ford.length>r?t.ford[r]:a,void 0!==t.frames[r]&&void 0!==t.frames[a]&&(t.timezone={from:parseInt(t.frames[a].timeline.startAbsolute,0),to:parseInt(t.frames[r].timeline.startAbsolute,0)})}if("frame_999"!==e.frame&&o[e.id].isEdge&&"shape"===t.type){var s=t.c[0].style.opacity;t.c[0].style.opacity=s-1e-4,tpGS.gsap.set(t.c[0],{opacity:s-.001,delay:.05}),tpGS.gsap.set(t.c[0],{opacity:s,delay:.1})}t.animatingFrame="done",t.animatedFrame=e.frame,t.tweenOnStart=!1,t.tweenOnEnd=!0,t.tweenDirection=1==t.animationonscroll||"true"==t.animationonscroll?t.animteToTimeCache>t.animteToTime?-1:1:void 0;var n={};n.layer=e.L,n.eventtype="frame_0"===e.frame||"frame_1"===e.frame?"enteredstage":"frame_999"===e.frame?"leftstage":"frameended",t.readyForHover=!0,n.layertype=t.type,n.frame_index=e.frame,n.layersettings=t,o[e.id].c.trigger("revolution.layeraction",[n]),"frame_999"===e.frame&&"leftstage"===n.eventtype?(t.leftstage=!0,t.pVisRequest=0,t.pPeventsRequest="none",i=!1,window.requestAnimationFrame((function(){o.requestLayerUpdates(e.id,"leftstage",e.L[0].id)}))):(e.L[0].id,void 0!==t.frames[e.frame]&&void 0!==t.frames[e.frame].timeline&&0==t.frames[e.frame].timeline.usePerspective&&window.requestAnimationFrame((function(){o.requestLayerUpdates(e.id,"frameended",e.L[0].id,e.tPE)}))),"leftstage"===n.eventtype&&void 0!==o[e.id].videos&&void 0!==o[e.id].videos[e.L[0].id]&&o.stopVideo&&o.stopVideo(e.L,e.id),"column"===t.type&&void 0!==t.cbg&&tpGS.gsap.to(t.cbg,.01,{visibility:"visible"}),"leftstage"===n.eventtype&&(o.unToggleState(e.layertoggledby),"video"===t.type&&o.resetVideo&&setTimeout((function(){o.resetVideo(e.L,e.id)}),100)),o[e.id].BUG_safari_clipPath&&!i&&e.L[0].classList.add("rs-pelock"),void 0!==t.layerLoop&&t.layerLoop.to===e.frame&&(-1==t.layerLoop.repeat||t.layerLoop.repeat>t.layerLoop.count)&&t.timeline.seek(t.layerLoop.from).play()},u=function(e){if(void 0===e)return"";var t="";return o.isChrome8889&&0===e.blur&&(e.blur=.05),t=void 0!==e.blur?"blur("+(e.blur||0)+"px)":"",t+=void 0!==e.grayscale?(t.length>0?" ":"")+"grayscale("+(e.grayscale||0)+"%)":"",""===(t+=void 0!==e.brightness?(t.length>0?" ":"")+"brightness("+(e.brightness||100)+"%)":"")?"none":t},h=function(e){if(void 0===e)return"";var t="";return o.isChrome8889&&0===e.b_blur&&(e.b_blur=.05),t=void 0!==e.b_blur?"blur("+(e.b_blur||0)+"px)":"",t+=void 0!==e.b_grayscale?(t.length>0?" ":"")+"grayscale("+(e.b_grayscale||0)+"%)":"",t+=void 0!==e.b_sepia?(t.length>0?" ":"")+"sepia("+(e.b_sepia||0)+"%)":"",t+=void 0!==e.b_invert?(t.length>0?" ":"")+"invert("+(e.b_invert||0)+"%)":"",""===(t+=void 0!==e.b_brightness?(t.length>0?" ":"")+"brightness("+(e.b_brightness||100)+"%)":"")?"none":t},m=function(e,t){var i=(e=e.split("("))[0];return e.shift(),i+"("+t+"deg, "+e.join("(")},v=function(e){if(-1!==e.search("deg,")){var t=e.split("deg,")[0];if(-1!==t.search(/\(/))return parseInt(t.split("(")[1],10)}return 180},f=function(e,t){if(void 0!==e&&e.indexOf("oc:t")>=0)return{};e=void 0===e?"":e.split(";");var i={fill:o.revToResp("#ffffff",o[t].rle),stroke:"transparent","stroke-width":"0px","stroke-dasharray":"0","stroke-dashoffset":"0"};for(var a in e)if(e.hasOwnProperty(a)){var r=e[a].split(":");switch(r[0]){case"c":i.fill=o.revToResp(r[1],o[t].rle,void 0,"||");break;case"sw":i["stroke-width"]=r[1];break;case"sc":i.stroke=r[1];break;case"so":i["stroke-dashoffset"]=r[1];break;case"sa":i["stroke-dasharray"]=r[1];break;case"sall":i.svgAll=r[1]}}return i},y=function(e){return"c"===e?"center":"l"===e?"left":"r"===e?"right":e},w=function(e){var t=o[e.id]._L[e.layer[0].id],i=!1;if(t.splitText&&!1!==t.splitText&&t.splitText.revert(),"text"===t.type||"button"===t.type){for(var a in t.frames)if(void 0!==t.frames[a].chars||void 0!==t.frames[a].words||void 0!==t.frames[a].lines){i=!0;break}t.splitText=!!i&&new tpGS.SplitText(t.c,{type:"lines,words,chars",wordsClass:"rs_splitted_words",linesClass:"rs_splitted_lines",charsClass:"rs_splitted_chars"})}else t.splitText=!1},b=function(e,t,i){if(void 0!==e&&e.indexOf("block")>=0){var a={};switch(0===t[0].getElementsByClassName("tp-blockmask_in").length&&(t.append('<div class="tp-blockmask_in"></div>'),t.append('<div class="tp-blockmask_out"></div>')),i=void 0===i?"power3.inOut":i,a.ft=[{scaleY:1,scaleX:0,transformOrigin:"0% 50%"},{scaleY:1,scaleX:1,ease:i,immediateRender:!1}],a.t={scaleY:1,scaleX:0,transformOrigin:"100% 50%",ease:i,immediateRender:!1},a.bmask_in=t.find(".tp-blockmask_in"),a.bmask_out=t.find(".tp-blockmask_out"),a.type="block",e){case"blocktoleft":case"blockfromright":a.ft[0].transformOrigin="100% 50%",a.t.transformOrigin="0% 50%";break;case"blockfromtop":case"blocktobottom":a.ft=[{scaleX:1,scaleY:0,transformOrigin:"50% 0%"},{scaleX:1,scaleY:1,ease:i,immediateRender:!1}],a.t={scaleX:1,scaleY:0,transformOrigin:"50% 100%",ease:i,immediateRender:!1};break;case"blocktotop":case"blockfrombottom":a.ft=[{scaleX:1,scaleY:0,transformOrigin:"50% 100%"},{scaleX:1,scaleY:1,ease:i,immediateRender:!1}],a.t={scaleX:1,scaleY:0,transformOrigin:"50% 0%",ease:i,immediateRender:!1}}return a.ft[1].overwrite="auto",a.t.overwrite="auto",a}return!1},_=function(e,t,i,a,r){return t&&(t[a]="true"===t[a]||t[a]),0===o[r].sdir||void 0===t?e:("mask"===i?a="x"===a?"mX":"y"===a?"mY":a:"chars"===i?a="x"===a?"cX":"y"===a?"cY":"dir"===a?"cD":a:"words"===i?a="x"===a?"wX":"y"===a?"wY":"dir"===a?"wD":a:"lines"===i&&(a="x"===a?"lX":"y"===a?"lY":"dir"===a?"lD":a),void 0===t[a]||!1===t[a]?e:void 0!==t&&!0===t[a]?"t"===e||"top"===e?"b":"b"===e||"bottom"===e?"t":"l"===e||"left"===e?"r":"r"===e||"right"===e?"l":-1*parseFloat(e)+((""+e).indexOf("px")>=0?"px":(""+e).indexOf("%")>=0?"%":""):void 0)},S=function(e){var t,i=o[e.id]._L[e.layer[0].id],a=void 0===e.source?o.clone(e.frame.transform):o.clone(e.frame[e.source]),r={originX:"50%",originY:"50%",originZ:"0"},s=void 0!==i._lig&&void 0!==o[e.id]._L[i._lig[0].id]?o[e.id]._L[i._lig[0].id].eow:o[e.id].conw,n=void 0!==i._lig&&void 0!==o[e.id]._L[i._lig[0].id]?o[e.id]._L[i._lig[0].id].eoh:o[e.id].conh;for(var l in a)if(a.hasOwnProperty(l)){if(a[l]="object"==typeof a[l]?a[l][o[e.id].level]:a[l],"inherit"===a[l]||"delay"===l||"direction"===l||"use"===l)delete a[l];else if("originX"===l||"originY"===l||"originZ"===l)r[l]=a[l],delete a[l];else if(o.isNumeric(a[l],0))a[l]=_(a[l],e.frame.reverse,e.target,l,e.id,e.id);else if("r"===a[l][0]&&"a"===a[l][1]&&"("===a[l][3])a[l]=a[l].replace("ran","random");else if(a[l].indexOf("cyc(")>=0){var d=a[l].replace("cyc(","").replace(")","").replace("[","").replace("]","").split("|");a[l]=new function(e){return tpGS.gsap.utils.wrap(d,void 0)}}else if(a[l].indexOf("%")>=0&&o.isNumeric(t=parseInt(a[l],0)))a[l]="x"===l?_((i.eow||0)*t/100,e.frame.reverse,e.target,l,e.id):"y"===l?_((i.eoh||0)*t/100,e.frame.reverse,e.target,l,e.id):a[l];else{a[l]=a[l].replace("[","").replace("]",""),a[l]=_(a[l],e.frame.reverse,e.target,l,e.id,e.id);var c={t:0,b:0};switch("row"===i.type&&("rev_row_zone_top"===i.zone&&void 0!==o[e.id].topZones[i.slideIndex]&&void 0!==o[e.id].topZones[i.slideIndex][0]?c={t:0,b:0}:"rev_row_zone_middle"===i.zone&&void 0!==o[e.id].middleZones[i.slideIndex]&&void 0!==o[e.id].middleZones[i.slideIndex][0]?c={t:Math.round(o[e.id].module.height/2-o[e.id].middleZones[i.slideIndex][0].offsetHeight/2),b:Math.round(o[e.id].module.height/2+o[e.id].middleZones[i.slideIndex][0].offsetHeight/2)}:"rev_row_zone_bottom"===i.zone&&void 0!==o[e.id].bottomZones[i.slideIndex]&&void 0!==o[e.id].bottomZones[i.slideIndex][0]&&(c={t:Math.round(o[e.id].module.height-o[e.id].bottomZones[i.slideIndex][0].offsetHeight),b:o[e.id].module.height+o[e.id].bottomZones[i.slideIndex][0].offsetHeight})),a[l]){case"t":case"top":a[l]=0-(i.eoh||0)-("column"===i.type?0:i.calcy||0)-o.getLayerParallaxOffset(e.id,e.layer[0].id,"v")-("row"===i.type&&void 0!==i.marginTop?i.marginTop[o[e.id].level]:0)-c.b;break;case"b":case"bottom":a[l]=n-("column"===i.type||"row"===i.type?0:i.calcy||0)+o.getLayerParallaxOffset(e.id,e.layer[0].id,"v")-c.t;break;case"l":case"left":a[l]=0-("row"===i.type?i.pow:i.eow||0)-("column"===i.type?0:"row"===i.type?i.rowcalcx:i.calcx||0)-o.getLayerParallaxOffset(e.id,e.layer[0].id,"h");break;case"r":case"right":a[l]=s-("column"===i.type?0:"row"===i.type?i.rowcalcx:i.calcx||0)+o.getLayerParallaxOffset(e.id,e.layer[0].id,"h");break;case"m":case"c":case"middle":case"center":a[l]="x"===l?_(s/2-("column"===i.type?0:i.calcx||0)-(i.eow||0)/2,e.frame.reverse,e.target,l,e.id):"y"===l?_(n/2-("column"===i.type?0:i.calcy||0)-(i.eoh||0)/2,e.frame.reverse,e.target,l,e.id):a[l]}}"skewX"===l&&void 0!==a[l]&&(a.scaleY=void 0===a.scaleY?1:parseFloat(a.scaleY),a.scaleY*=Math.cos(parseFloat(a[l])*tpGS.DEG2RAD)),"skewY"===l&&void 0!==a[l]&&(a.scaleX=void 0===a.scaleX?1:parseFloat(a.scaleX),a.scaleX*=Math.cos(parseFloat(a[l])*tpGS.DEG2RAD))}if(a.transformOrigin=r.originX+" "+r.originY+" "+r.originZ,!o[e.id].BUG_ie_clipPath&&void 0!==a.clip&&void 0!==i.clipPath&&i.clipPath.use){a.clipB=null==a.clipB?100:a.clipB;var p="rectangle"==i.clipPath.type,g=parseInt(a.clip,0),m=100-parseInt(a.clipB,0),v=Math.round(g/2);switch(i.clipPath.origin){case"invh":a.clipPath="polygon(0% 0%, 0% 100%, "+g+"% 100%, "+g+"% 0%, 100% 0%, 100% 100%, "+m+"% 100%, "+m+"% 0%, 0% 0%)";break;case"invv":a.clipPath="polygon(100% 0%, 0% 0%, 0% "+g+"%, 100% "+g+"%, 100% 100%, 0% 100%, 0% "+m+"%, 100% "+m+"%, 100% 0%)";break;case"cv":a.clipPath=p?"polygon("+(50-v)+"% 0%, "+(50+v)+"% 0%, "+(50+v)+"% 100%, "+(50-v)+"% 100%)":"circle("+g+"% at 50% 50%)";break;case"ch":a.clipPath=p?"polygon(0% "+(50-v)+"%, 0% "+(50+v)+"%, 100% "+(50+v)+"%, 100% "+(50-v)+"%)":"circle("+g+"% at 50% 50%)";break;case"l":a.clipPath=p?"polygon(0% 0%, "+g+"% 0%, "+g+"% 100%, 0% 100%)":"circle("+g+"% at 0% 50%)";break;case"r":a.clipPath=p?"polygon("+(100-g)+"% 0%, 100% 0%, 100% 100%, "+(100-g)+"% 100%)":"circle("+g+"% at 100% 50%)";break;case"t":a.clipPath=p?"polygon(0% 0%, 100% 0%, 100% "+g+"%, 0% "+g+"%)":"circle("+g+"% at 50% 0%)";break;case"b":a.clipPath=p?"polygon(0% 100%, 100% 100%, 100% "+(100-g)+"%, 0% "+(100-g)+"%)":"circle("+g+"% at 50% 100%)";break;case"lt":a.clipPath=p?"polygon(0% 0%,"+2*g+"% 0%, 0% "+2*g+"%)":"circle("+g+"% at 0% 0%)";break;case"lb":a.clipPath=p?"polygon(0% "+(100-2*g)+"%, 0% 100%,"+2*g+"% 100%)":"circle("+g+"% at 0% 100%)";break;case"rt":a.clipPath=p?"polygon("+(100-2*g)+"% 0%, 100% 0%, 100% "+2*g+"%)":"circle("+g+"% at 100% 0%)";break;case"rb":a.clipPath=p?"polygon("+(100-2*g)+"% 100%, 100% 100%, 100% "+(100-2*g)+"%)":"circle("+g+"% at 100% 100%)";break;case"clr":a.clipPath=p?"polygon(0% 0%, 0% "+g+"%, "+(100-g)+"% 100%, 100% 100%, 100% "+(100-g)+"%, "+g+"% 0%)":"circle("+g+"% at 50% 50%)";break;case"crl":a.clipPath=p?"polygon(0% "+(100-g)+"%, 0% 100%, "+g+"% 100%, 100% "+g+"%, 100% 0%, "+(100-g)+"% 0%)":"circle("+g+"% at 50% 50%)"}!0!==o.isFirefox(e.id)&&(a["-webkit-clip-path"]=a.clipPath),a["clip-path"]=a.clipPath,delete a.clip,delete a.clipB}else delete a.clip;return"mask"!==e.target&&(void 0===e.frame||void 0===e.frame.filter&&!e.forcefilter||(a.filter=u(e.frame.filter),a["-webkit-filter"]=a.filter,o.useBackdrop&&(window.isSafari11?a["-webkit-backdrop-filter"]=h(e.frame.filter):a["backdrop-filter"]=h(e.frame.filter)),window.isSafari11&&void 0!==a.filter&&void 0===a[null==i.iOSFix||"d"==i.iOSFix?"shape"==i.type?"z":"x":i.iOSFix]&&void 0!==e.frame.filter&&void 0!==e.frame.filter.blur&&(a[null==i.iOSFix||"d"==i.iOSFix?"shape"==i.type?"z":"x":i.iOSFix]=1e-4)),jQuery.inArray(e.source,["chars","words","lines"])>=0&&(void 0!==e.frame[e.source].blur||e.forcefilter)&&(a.filter=u(e.frame[e.source]),a["-webkit-filter"]=a.filter),delete a.grayscale,delete a.blur,delete a.brightness),a.ease=void 0!==a.ease?a.ease:void 0===a.ease&&void 0!==e.ease||void 0!==a.ease&&void 0!==e.ease&&"inherit"===a.ease?e.ease:e.frame.timeline.ease,a.ease=void 0===a.ease||"default"===a.ease?"power3.inOut":a.ease,a},x=function(e,t,i,a,r){var s,n,l={},d={},c={};for(var p in a=void 0===a?"transform":a,"loop"===r?(c.autoRotate=!1,c.yoyo_filter=!1,c.yoyo_rotate=!1,c.yoyo_move=!1,c.yoyo_scale=!1,c.curved=!1,c.curviness=2,c.ease="none",c.speed=1e3,c.st=0,l.x=0,l.y=0,l.z=0,l.xr=0,l.yr=0,l.zr=0,l.scaleX=1,l.scaleY=1,l.originX="50%",l.originY="50%",l.originZ="0",l.rotationX="0deg",l.rotationY="0deg",l.rotationZ="0deg"):(c.speed=300,i?c.ease="default":l.ease="default"),"sfx"===r&&(l.fxc="#ffffff"),e=e.split(";"))if(e.hasOwnProperty(p)){var g=e[p].split(":");switch(g[0]){case"u":l.use="true"===g[1]||"t"===g[1]||fasle;break;case"c":s=g[1];break;case"fxc":l.fxc=g[1];break;case"bgc":n=g[1];break;case"auto":l.auto="t"===g[1]||void 0===g[1]||"true"===g[1];break;case"o":l.opacity=g[1];break;case"oX":l.originX=g[1];break;case"oY":l.originY=g[1];break;case"oZ":l.originZ=g[1];break;case"sX":l.scaleX=g[1];break;case"sY":l.scaleY=g[1];break;case"skX":l.skewX=g[1];break;case"skY":l.skewY=g[1];break;case"rX":l.rotationX=g[1],0!=g[1]&&"0deg"!==g[1]&&o.addSafariFix(t);break;case"rY":l.rotationY=g[1],0!=g[1]&&"0deg"!==g[1]&&o.addSafariFix(t);break;case"rZ":l.rotationZ=g[1];break;case"sc":l.color=g[1];break;case"se":l.effect=g[1];break;case"bos":l.borderStyle=g[1];break;case"boc":l.borderColor=g[1];break;case"td":l.textDecoration=g[1];break;case"zI":l.zIndex=g[1];break;case"tp":l.transformPerspective="isometric"===o[t].perspectiveType?0:"global"===o[t].perspectiveType?o[t].perspective:g[1];break;case"cp":l.clip=parseInt(g[1],0);break;case"cpb":l.clipB=parseInt(g[1],0);break;case"aR":c.autoRotate="t"==g[1];break;case"rA":c.radiusAngle=g[1];break;case"yyf":c.yoyo_filter="t"==g[1];break;case"yym":c.yoyo_move="t"==g[1];break;case"yyr":c.yoyo_rotate="t"==g[1];break;case"yys":c.yoyo_scale="t"==g[1];break;case"crd":c.curved="t"==g[1];break;case"x":l.x="reverse"===r?"t"===g[1]||!0===g[1]||"true"==g[1]:"loop"===r?parseInt(g[1],0):o.revToResp(g[1],o[t].rle);break;case"y":l.y="reverse"===r?"t"===g[1]||!0===g[1]||"true"==g[1]:"loop"===r?parseInt(g[1],0):o.revToResp(g[1],o[t].rle);break;case"z":l.z="loop"===r?parseInt(g[1],0):o.revToResp(g[1],o[t].rle),0!=g[1]&&o.addSafariFix(t);break;case"bow":l.borderWidth=o.revToResp(g[1],4,0).toString().replace(/,/g," ");break;case"bor":l.borderRadius=o.revToResp(g[1],4,0).toString().replace(/,/g," ");break;case"m":l.mask="t"===g[1]||"f"!==g[1]&&g[1];break;case"iC":l.instantClick="t"===g[1]||"f"!==g[1]&&g[1];break;case"xR":l.xr=parseInt(g[1],0),o.addSafariFix(t);break;case"yR":l.yr=parseInt(g[1],0),o.addSafariFix(t);break;case"zR":l.zr=parseInt(g[1],0);break;case"iosfx":"default"!==g[1]&&"d"!==g[1]&&"p"!==g[1]&&(d.iosfx=g[1]);break;case"blu":"loop"===r?l.blur=parseInt(g[1],0):d.blur=parseInt(g[1],0);break;case"gra":"loop"===r?l.grayscale=parseInt(g[1],0):d.grayscale=parseInt(g[1],0);break;case"bri":"loop"===r?l.brightness=parseInt(g[1],0):d.brightness=parseInt(g[1],0);break;case"bB":d.b_blur=parseInt(g[1],0);break;case"bG":d.b_grayscale=parseInt(g[1],0);break;case"bR":d.b_brightness=parseInt(g[1],0);break;case"bI":d.b_invert=parseInt(g[1],0);break;case"bS":d.b_sepia=parseInt(g[1],0);break;case"sp":c.speed=parseInt(g[1],0);break;case"d":l.delay=parseInt(g[1],0);break;case"crns":c.curviness=parseInt(g[1],0);break;case"st":c.start="w"===g[1]||"a"===g[1]?"+=0":g[1],c.waitoncall="w"===g[1]||"a"===g[1];break;case"sA":c.startAbsolute=g[1];break;case"sR":c.startRelative=g[1];break;case"e":i?c.ease=g[1]:l.ease=g[1];break;default:g[0].length>0&&(l[g[0]]="t"===g[1]||"f"!==g[1]&&g[1])}}var u={timeline:c};return jQuery.isEmptyObject(d)||("split"===r?l=jQuery.extend(!0,l,d):u.filter=d),"split"===r&&(l.dir=void 0===l.dir?"start":"backward"===l.dir?"end":"middletoedge"===l.dir?"center":"edgetomiddle"===l.dir?"edge":l.dir),jQuery.isEmptyObject(s)||(u.color=s),jQuery.isEmptyObject(n)||(u.bgcolor=n),u[a]=l,u},k=function(e,t){var i={},a=0;if(void 0===o[t]._rdF0){var r=x("x:0;y:0;z:0;rX:0;rY:0;rZ:0;o:0;skX:0;skY:0;sX:0;sY:0;oX:50%;oY:50%;oZ:0;dir:forward;d:5",t).transform;o[t]._rdF0=o[t]._rdF1={transform:x("x:0;y:0;z:0;rX:0;rY:0;rZ:0;o:0;skX:0;skY:0;sX:0;sY:0;oX:50%;oY:50%;oZ:0;tp:600px",t,!0).transform,mask:x("x:0;y:0",t,!0).transform,chars:jQuery.extend(!0,{blur:0,grayscale:0,brightness:100},r),words:jQuery.extend(!0,{blur:0,grayscale:0,brightness:100},r),lines:jQuery.extend(!0,{blur:0,grayscale:0,brightness:100},r)},o[t]._rdF1.transform.opacity=o[t]._rdF1.chars.opacity=o[t]._rdF1.words.opacity=o[t]._rdF1.lines.opacity=o[t]._rdF1.transform.scaleX=o[t]._rdF1.chars.scaleX=o[t]._rdF1.words.scaleX=o[t]._rdF1.lines.scaleX=o[t]._rdF1.transform.scaleY=o[t]._rdF1.chars.scaleY=o[t]._rdF1.words.scaleY=o[t]._rdF1.lines.scaleY=1}for(var a in void 0===e.frame_0&&(e.frame_0="x:0"),void 0===e.frame_1&&(e.frame_1="x:0"),e.dddNeeded=!1,e.ford)if(e.ford.hasOwnProperty(a)){var s=e.ford[a];if(e[s]){if(i[s]=x(e[s],t,!0),void 0!==i[s].bgcolor&&(e.bgcolinuse=!0),o[t].BUG_ie_clipPath&&void 0!==e.clipPath&&e.clipPath.use&&void 0!==i[s].transform.clip){var n="rectangle"===e.clipPath.type?100-parseInt(i[s].transform.clip):100-Math.min(100,2*parseInt(i[s].transform.clip));switch(e.clipPath.origin){case"clr":case"rb":case"rt":case"r":e[s+"_mask"]="u:t;x:"+n+"%;y:0px;",i[s].transform.x=o.revToResp("-"+n+"%",o[t].rle);break;case"crl":case"lb":case"lt":case"cv":case"l":e[s+"_mask"]="u:t;x:-"+n+"%;y:0px;",i[s].transform.x=o.revToResp(n+"%",o[t].rle);break;case"ch":case"t":e[s+"_mask"]="u:t;y:-"+n+"%;y:0px;",i[s].transform.y=o.revToResp(n+"%",o[t].rle);break;case"b":e[s+"_mask"]="u:t;y:"+n+"%;y:0px;",i[s].transform.y=o.revToResp("-"+n+"%",o[t].rle)}delete i[s].transform.clip,delete i[s].transform.clipB}e[s+"_mask"]&&(i[s].mask=x(e[s+"_mask"],t).transform),null!=i[s].mask&&i[s].mask.use?(i[s].mask.x=void 0===i[s].mask.x?0:i[s].mask.x,i[s].mask.y=void 0===i[s].mask.y?0:i[s].mask.y,delete i[s].mask.use,i[s].mask.overflow="hidden"):i[s].mask={ease:"default",overflow:"visible"},e[s+"_chars"]&&(i[s].chars=x(e[s+"_chars"],t,void 0,void 0,"split").transform),e[s+"_words"]&&(i[s].words=x(e[s+"_words"],t,void 0,void 0,"split").transform),e[s+"_lines"]&&(i[s].lines=x(e[s+"_lines"],t,void 0,void 0,"split").transform),(e[s+"_chars"]||e[s+"_words"]||e[s+"_lines"])&&(i[s].dosplit=!0),i.frame_0=void 0===i.frame_0?{transform:{}}:i.frame_0,i[s].transform.auto&&(i[s].transform=o.clone(i.frame_0.transform),i[s].transform.opacity=void 0===i[s].transform.opacity?0:i[s].transform.opacity,void 0!==i.frame_0.filter&&(i[s].filter=o.clone(i.frame_0.filter)),void 0!==i.frame_0.mask&&(i[s].mask=o.clone(i.frame_0.mask)),void 0!==i.frame_0.chars&&(i[s].chars=o.clone(i.frame_0.chars)),void 0!==i.frame_0.words&&(i[s].words=o.clone(i.frame_0.words)),void 0!==i.frame_0.lines&&(i[s].lines=o.clone(i.frame_0.lines)),void 0===i.frame_0.chars&&void 0===i.frame_0.words&&void 0===i.frame_0.lines||(i[s].dosplit=!0)),e[s+"_sfx"]&&(i[s].sfx=x(e[s+"_sfx"],t,!1,void 0,"sfx").transform),e[s+"_reverse"]&&(i[s].reverse=x(e[s+"_reverse"],t,!1,void 0,"reverse").transform)}}if(i.frame_0.dosplit&&(i.frame_1.dosplit=!0),void 0===e.frame_hover&&void 0===e.svgh||(i.frame_hover=x(void 0===e.frame_hover?"":e.frame_hover,t),!o.ISM||"true"!=i.frame_hover.transform.instantClick&&1!=i.frame_hover.transform.instantClick?(delete i.frame_hover.transform.instantClick,i.frame_hover.transform.color=i.frame_hover.color,void 0===i.frame_hover.transform.color&&delete i.frame_hover.transform.color,void 0!==i.frame_hover.bgcolor&&i.frame_hover.bgcolor.indexOf("gradient")>=0?i.frame_hover.transform.backgroundImage=i.frame_hover.bgcolor:void 0!==i.frame_hover.bgcolor&&(i.frame_hover.transform.backgroundColor=i.frame_hover.bgcolor),void 0!==i.frame_hover.bgcolor&&(e.bgcolinuse=!0),i.frame_hover.transform.opacity=void 0===i.frame_hover.transform.opacity?1:i.frame_hover.transform.opacity,i.frame_hover.mask=void 0!==i.frame_hover.transform.mask&&i.frame_hover.transform.mask,delete i.frame_hover.transform.mask,void 0!==i.frame_hover.transform&&((i.frame_hover.transform.borderWidth||i.frame_hover.transform.borderStyle)&&(i.frame_hover.transform.borderColor=void 0===i.frame_hover.transform.borderColor?"transparent":i.frame_hover.transform.borderColor),"none"!==i.frame_hover.transform.borderStyle&&void 0===i.frame_hover.transform.borderWidth&&(i.frame_hover.transform.borderWidth=o.revToResp(0,4,0).toString().replace(/,/g," ")),void 0===e.bordercolor&&void 0!==i.frame_hover.transform.borderColor&&(e.bordercolor="transparent"),void 0===e.borderwidth&&void 0!==i.frame_hover.transform.borderWidth&&(e.borderwidth=o.revToResp(i.frame_hover.transform.borderWidth,4,0)),void 0===e.borderstyle&&void 0!==i.frame_hover.transform.borderStyle&&(e.borderstyle=o.revToResp(i.frame_hover.transform.borderStyle,4,0)))):delete i.frame_hover),void 0!==e.tloop){e.layerLoop={from:"frame_1",to:"frame_999",repeat:-1,keep:!0,children:!0};var l=e.tloop.split(";");for(var a in l)if(l.hasOwnProperty(a)){var d=l[a].split(":");switch(d[0]){case"f":e.layerLoop.from=d[1];break;case"t":e.layerLoop.to=d[1];break;case"k":e.layerLoop.keep=d[1];break;case"r":e.layerLoop.repeat=parseInt(d[1],0);break;case"c":e.layerLoop.children=d[1]}}e.layerLoop.count=0}for(var a in(e.loop_0||e.loop_999)&&(i.loop=x(e.loop_999,t,!0,"frame_999","loop"),i.loop.frame_0=x(e.loop_0||"",t,!1,void 0,"loop").transform),i.frame_0.transform.opacity=void 0===i.frame_0.transform.opacity?0:i.frame_0.transform.opacity,i.frame_1.transform.opacity=void 0===i.frame_1.transform.opacity?1:i.frame_1.transform.opacity,i.frame_999.transform.opacity=void 0===i.frame_999.transform.opacity?"inherit":i.frame_999.transform.opacity,e.clipPath&&e.clipPath.use&&(i.frame_0.transform.clip=void 0===i.frame_0.transform.clip?100:parseInt(i.frame_0.transform.clip),i.frame_1.transform.clip=void 0===i.frame_1.transform.clip?100:parseInt(i.frame_1.transform.clip)),e.resetfilter=!1,e.useFilter={blur:!1,grayscale:!1,brightness:!1,b_blur:!1,b_grayscale:!1,b_brightness:!1,b_invert:!1,b_sepia:!1},i)void 0!==i[a].filter?(e.resetfilter=!0,e.useFilter=O(e.useFilter,i[a].filter)):null==i[a].filter&&(i[a].filter={},e.useFilter.blur&&(i[a].filter.blur=0),e.useFilter.grayscale&&(i[a].filter.grayscale=0),e.useFilter.brightness&&(i[a].filter.brightness=100),e.useFilter.b_blur&&(i[a].filter.b_blur=0),e.useFilter.b_grayscale&&(i[a].filter.b_grayscale=0),e.useFilter.b_brightness&&(i[a].filter.b_brightness=100));if(!0!==e.resetFilter&&void 0!==i.frame_hover&&(e.useFilter=O(e.useFilter,i.frame_hover)),e.resetfilter)for(var a in i.frame_0.filter=o.clone(i.frame_0.filter),i.frame_0.filter=R(e.useFilter,o.clone(i.frame_0.filter)),i)void 0!==i[a].filter&&"frame_1"!==a&&"frame_0"!==a&&(i[a].filter=o.clone(i[a].filter),i[a].filter=R(e.useFilter,o.clone(i[a].filter)));return void 0!==i.frame_0.filter&&(i.frame_1.filter=o.clone(i.frame_1.filter),void 0!==i.frame_0.filter.blur&&0!==i.frame_1.filter.blur&&(i.frame_1.filter.blur=void 0===i.frame_1.filter.blur?0:i.frame_1.filter.blur),void 0!==i.frame_0.filter.brightness&&100!==i.frame_1.filter.brightness&&(i.frame_1.filter.brightness=void 0===i.frame_1.filter.brightness?100:i.frame_1.filter.brightness),void 0!==i.frame_0.filter.grayscale&&0!==i.frame_1.filter.grayscale&&(i.frame_1.filter.grayscale=void 0===i.frame_1.filter.grayscale?0:i.frame_1.filter.grayscale),void 0!==i.frame_0.filter.b_blur&&0!==i.frame_1.filter.b_blur&&(i.frame_1.filter.b_blur=void 0===i.frame_1.filter.b_blur?0:i.frame_1.filter.b_blur),void 0!==i.frame_0.filter.b_brightness&&100!==i.frame_1.filter.b_brightness&&(i.frame_1.filter.b_brightness=void 0===i.frame_1.filter.b_brightness?100:i.frame_1.filter.b_brightness),void 0!==i.frame_0.filter.b_grayscale&&0!==i.frame_1.filter.b_grayscale&&(i.frame_1.filter.b_grayscale=void 0===i.frame_1.filter.b_grayscale?0:i.frame_1.filter.b_grayscale),void 0!==i.frame_0.filter.b_invert&&0!==i.frame_1.filter.b_invert&&(i.frame_1.filter.b_invert=void 0===i.frame_1.filter.b_invert?0:i.frame_1.filter.b_invert),void 0!==i.frame_0.filter.b_sepia&&0!==i.frame_1.filter.b_sepia&&(i.frame_1.filter.b_sepia=void 0===i.frame_1.filter.b_sepia?0:i.frame_1.filter.b_sepia)),I(i,t,e)},R=function(e,t){return e.blur?t.blur=void 0===t.blur?0:t.blur:delete t.blur,e.brightness?t.brightness=void 0===t.brightness?100:t.brightness:delete t.brightness,e.grayscale?t.grayscale=void 0===t.grayscale?0:t.grayscale:delete t.grayscale,e.b_blur?t.b_blur=void 0===t.b_blur?0:t.b_blur:delete t.b_blur,e.b_brightness?t.b_brightness=void 0===t.b_brightness?100:t.b_brightness:delete t.b_brightness,e.b_grayscale?t.b_grayscale=void 0===t.b_grayscale?0:t.b_grayscale:delete t.b_grayscale,e.b_invert?t.b_invert=void 0===t.b_invert?0:t.b_invert:delete t.b_invert,e.b_sepia?t.b_sepia=void 0===t.b_sepia?0:t.b_sepia:delete t.b_sepia,t},O=function(e,t){return e.blur=!0===e.blur||void 0!==t.blur&&0!==t.blur&&"0px"!==t.blur,e.grayscale=!0===e.grayscale||void 0!==t.grayscale&&0!==t.grayscale&&"0%"!==t.grayscale,e.brightness=!0===e.brightness||void 0!==t.brightness&&100!==t.brightness&&"100%"!==t.brightness,e.b_blur=!0===e.b_blur||void 0!==t.b_blur&&0!==t.b_blur&&"0px"!==t.b_blur,e.b_grayscale=!0===e.b_grayscale||void 0!==t.b_grayscale&&0!==t.b_grayscale&&"0%"!==t.b_grayscale,e.b_brightness=!0===e.b_brightness||void 0!==t.b_brightness&&100!==t.b_brightness&&"100%"!==t.b_brightness,e.b_invert=!0===e.b_invert||void 0!==t.b_invert&&0!==t.b_invert&&"0%"!==t.b_invert,e.b_sepia=!0===e.b_sepia||void 0!==t.b_sepia&&0!==t.b_sepia&&"0%"!==t.b_sepia,e},L=function(e){return void 0!==e&&(void 0!==e.rotationY||void 0!==e.rotationX||void 0!==e.z)},I=function(e,t,i){var a,r={},s=["transform","words","chars","lines","mask"],n="global"==o[t].perspectiveType?o[t].perspective:0,l=!0,d=!1;for(var c in e)"loop"!==c&&"frame_hover"!==c&&(r=jQuery.extend(!0,r,e[c]));for(var c in e)if(e.hasOwnProperty(c)&&(void 0!==e[c].timeline&&(e[c].timeline.usePerspective=!1),"loop"!==c&&"frame_hover"!==c)){for(a in r.transform)r.transform.hasOwnProperty(a)&&(r.transform[a]=void 0===e[c].transform[a]?"frame_0"===c?o[t]._rdF0.transform[a]:"frame_1"===c?o[t]._rdF1.transform[a]:r.transform[a]:e[c].transform[a],e[c].transform[a]=void 0===e[c].transform[a]?r.transform[a]:e[c].transform[a]);for(var p=1;p<=4;p++)for(a in r[s[p]])r[s[p]].hasOwnProperty(a)&&(e[c][s[p]]=void 0===e[c][s[p]]?{}:e[c][s[p]],r[s[p]][a]=void 0===e[c][s[p]][a]?"frame_0"===c?o[t]._rdF0[s[p]][a]:"frame_1"===c?o[t]._rdF1[s[p]][a]:r[s[p]][a]:e[c][s[p]][a],e[c][s[p]][a]=void 0===e[c][s[p]][a]?r[s[p]][a]:e[c][s[p]][a]);void 0!==e[c].timeline&&!1===e[c].timeline.usePerspective&&void 0!==e[c].transform&&(void 0!==e[c].transform.rotationY||void 0!==e[c].transform.rotationX||void 0!==e[c].transform.z||L(e[c].chars)||L(e[c].words)||L(e[c].lines))&&(n="local"==o[t].perspectiveType?void 0===e[c].transform.transformPerspective?600:e[c].transform.transformPerspective:n,e[c].timeline.usePerspective=!0,(L(e[c].chars)||L(e[c].words)||L(e[c].lines))&&!o.isFirefox(t)&&(d=!0),l=!1)}if(d&&requestAnimationFrame((function(){tpGS.gsap.set(i.c,{transformStyle:"preserve-3d"})})),void 0!==e.frame_0.timeline&&e.frame_0.timeline.usePerspective&&(e.frame_0.transform.transformPerspective="local"===o[t].perspectiveType?void 0===e.frame_0.transform.transformPerspective?n:e.frame_0.transform.transformPerspective:"isometric"===o[t].perspectiveType?0:o[t].perspective),l)for(var c in e){if(!e.hasOwnProperty(c)||void 0===e[c].transform)continue;delete e[c].transform.transformPerspective}return e},M=function(e){return"thin"===(e=o.isNumeric(e)?e:e.toLowerCase())?"00":"extra light"===e?200:"light"===e?300:"normal"===e?400:"medium"===e?500:"semi bold"===e?600:"bold"===e?700:"extra bold"===e?800:"ultra bold"===e||"black"===e?900:e},T=function(e,t,s){if("BR"==e[0].nodeName||"br"==e[0].tagName||"object"!=typeof e[0].className&&e[0].className.indexOf("rs_splitted_")>=0)return!1;o.sA(e[0],"stylerecorder",!0),void 0===e[0].id&&(e[0].id="rs-layer-sub-"+Math.round(1e6*Math.random())),o[s].computedStyle[e[0].id]=window.getComputedStyle(e[0],null);var n=void 0!==e[0].id&&void 0!==o[s]._L[e[0].id]?o[s]._L[e[0].id]:e.data(),l="rekursive"===t?jQuery(o.closestClass(e[0],"rs-layer")):void 0;void 0!==l&&(o[s].computedStyle[l[0].id]=void 0===o[s].computedStyle[l[0].id]?window.getComputedStyle(l[0],null):o[s].computedStyle[l[0].id]);var d=void 0!==l&&o[s].computedStyle[e[0].id].fontSize==o[s].computedStyle[l[0].id].fontSize&&M(o[s].computedStyle[e[0].id].fontWeight)==M(o[s].computedStyle[l[0].id].fontWeight)&&o[s].computedStyle[e[0].id].lineHeight==o[s].computedStyle[l[0].id].lineHeight,c=d?void 0!==l[0].id&&void 0!==o[s]._L[l[0].id]?o[s]._L[l[0].id]:l.data():void 0,p=0;for(n.basealign=void 0===n.basealign?"grid":n.basealign,n._isnotext||(n.fontSize=o.revToResp(d?void 0===c.fontsize?parseInt(o[s].computedStyle[l[0].id].fontSize,0)||20:c.fontsize:void 0===n.fontsize?"rekursive"!==t?20:"inherit":n.fontsize,o[s].rle),n.fontWeight=o.revToResp(d?void 0===c.fontweight?o[s].computedStyle[l[0].id].fontWeight||"inherit":c.fontweight:void 0===n.fontweight?o[s].computedStyle[e[0].id].fontWeight||"inherit":n.fontweight,o[s].rle),n.whiteSpace=o.revToResp(d?void 0===c.whitespace?"nowrap":c.whitespace:void 0===n.whitespace?"nowrap":n.whitespace,o[s].rle),n.textAlign=o.revToResp(d?void 0===c.textalign?"left":c.textalign:void 0===n.textalign?"left":n.textalign,o[s].rle),n.letterSpacing=o.revToResp(d?void 0===c.letterspacing?parseInt(o[s].computedStyle[l[0].id].letterSpacing,0)||"inherit":c.letterspacing:void 0===n.letterspacing?parseInt("normal"===o[s].computedStyle[e[0].id].letterSpacing?0:o[s].computedStyle[e[0].id].letterSpacing,0)||"inherit":n.letterspacing,o[s].rle),n.textDecoration=d?void 0===c.textDecoration?"none":c.textDecoration:void 0===n.textDecoration?"none":n.textDecoration,p=25,p=void 0===l||"I"!==e[0].tagName&&"STRONG"!==e[0].tagName?p:"inherit",void 0!==n.tshadow&&(n.tshadow.b=o.revToResp(n.tshadow.b,o[s].rle),n.tshadow.h=o.revToResp(n.tshadow.h,o[s].rle),n.tshadow.v=o.revToResp(n.tshadow.v,o[s].rle))),"group"===n.type&&(n.whiteSpace="normal",n.textAlign=o.revToResp(d?void 0===c.textalign?"left":c.textalign:void 0===n.textalign?"left":n.textalign,o[s].rle)),void 0!==n.bshadow&&(n.bshadow.b=o.revToResp(n.bshadow.b,o[s].rle),n.bshadow.h=o.revToResp(n.bshadow.h,o[s].rle),n.bshadow.v=o.revToResp(n.bshadow.v,o[s].rle),n.bshadow.s=o.revToResp(n.bshadow.s,o[s].rle)),void 0!==n.tstroke&&(n.tstroke.w=o.revToResp(n.tstroke.w,o[s].rle)),n.display=d?void 0===c.display?o[s].computedStyle[l[0].id].display:c.display:void 0===n.display?o[s].computedStyle[e[0].id].display:n.display,n.float=o.revToResp(d?void 0===c.float?o[s].computedStyle[l[0].id].float||"none":c.float:void 0===n.float?"none":n.float,o[s].rle),n.clear=o.revToResp(d?void 0===c.clear?o[s].computedStyle[l[0].id].clear||"none":c.clear:void 0===n.clear?"none":n.clear,o[s].rle),n.lineHeight=o.revToResp(e.is("img")||-1!=jQuery.inArray(n.layertype,["video","image","audio"])?p:d?void 0===c.lineheight?parseInt(o[s].computedStyle[l[0].id].lineHeight,0)||p:c.lineheight:void 0===n.lineheight?p:n.lineheight,o[s].rle),n.zIndex=d?void 0===c.zindex?parseInt(o[s].computedStyle[l[0].id].zIndex,0)||"inherit":c.zindex:void 0===n.zindex?parseInt(o[s].computedStyle[e[0].id].zIndex,0)||"inherit":parseInt(n.zindex),g=0;g<4;g++)n["padding"+i[g]]=o.revToResp(void 0===n["padding"+r[g]]?parseInt(o[s].computedStyle[e[0].id]["padding"+i[g]],0)||0:n["padding"+r[g]],o[s].rle),n["margin"+i[g]]=o.revToResp(void 0===n["margin"+r[g]]?parseInt(o[s].computedStyle[e[0].id]["margin"+i[g]],0)||0:n["margin"+r[g]],o[s].rle),n["border"+i[g]+"Width"]=void 0===n.borderwidth?parseInt(o[s].computedStyle[e[0].id]["border"+i[g]+"Width"],0)||0:n.borderwidth[g],n["border"+i[g]+"Color"]=void 0===n.bordercolor?o[s].computedStyle[e[0].id]["border-"+r[g]+"-color"]:n.bordercolor,n["border"+a[g]+"Radius"]=o.revToResp(void 0===n.borderradius?o[s].computedStyle[e[0].id]["border"+a[g]+"Radius"]||0:n.borderradius[g],o[s].rle);if(n.borderStyle=o.revToResp(void 0===n.borderstyle?o[s].computedStyle[e[0].id].borderStyle||0:n.borderstyle,o[s].rle),"rekursive"!==t?(n.color=o.revToResp(void 0===n.color?"#ffffff":n.color,o[s].rle,void 0,"||"),n.minWidth=o.revToResp(void 0===n.minwidth?parseInt(o[s].computedStyle[e[0].id].minWidth,0)||0:n.minwidth,o[s].rle),n.minHeight=o.revToResp(void 0===n.minheight?parseInt(o[s].computedStyle[e[0].id].minHeight,0)||0:n.minheight,o[s].rle),n.width=o.revToResp(void 0===n.width?"auto":o.smartConvertDivs(n.width),o[s].rle),n.height=o.revToResp(void 0===n.height?"auto":o.smartConvertDivs(n.height),o[s].rle),n.maxWidth=o.revToResp(void 0===n.maxwidth?parseInt(o[s].computedStyle[e[0].id].maxWidth,0)||"none":n.maxwidth,o[s].rle),n.maxHeight=o.revToResp(-1!==jQuery.inArray(n.type,["column","row"])?"none":void 0!==n.maxheight?parseInt(o[s].computedStyle[e[0].id].maxHeight,0)||"none":n.maxheight,o[s].rle)):"html"===n.layertype&&(n.width=o.revToResp(e[0].width,o[s].rle),n.height=o.revToResp(e[0].height,o[s].rle)),n._incolumn)for(var g=0;g<n.height.length;g++)-1!==n.height[g].indexOf("%")&&parseFloat(n.height[g])>98&&(n.height[g]=n.height[g].replace("%","px"));for(n.styleProps={background:e[0].style.background,"background-color":e[0].style["background-color"],color:e[0].style.color,cursor:e[0].style.cursor,"font-style":e[0].style["font-style"]},null==n.bshadow&&(n.styleProps.boxShadow=e[0].style.boxShadow),""!==n.styleProps.background&&void 0!==n.styleProps.background&&n.styleProps.background!==n.styleProps["background-color"]||delete n.styleProps.background,""==n.styleProps.color&&(n.styleProps.color=o[s].computedStyle[e[0].id].color),g=0;g<4;g++)C(n["padding"+i[g]],0)&&delete n["padding"+i[g]],C(n["margin"+i[g]],0)&&delete n["margin"+i[g]],(C(n["border"+a[g]+"Radius"],"0px")||C(n["border"+a[g]+"Radius"],"0"))&&delete n["border"+a[g]+"Radius"];if(C(n.borderStyle,"none"))for(delete n.borderStyle,g=0;g<4;g++)delete n["border"+i[g]+"Width"],delete n["border"+i[g]+"Color"]},C=function(e,t){return t===e[0]&&t===e[1]&&t===e[2]&&t===e[3]},A=function(e,t,i,a,r){var s=o.isNumeric(e)||void 0===e?"":e.indexOf("px")>=0?"px":e.indexOf("%")>=0?"%":"";return e=o.isNumeric(parseInt(e))?parseInt(e):e,e=null==(e="full"===(e=o.isNumeric(e)?e*t+s:e)?a:"auto"===e||"none"===e?i:e)?r:e},D=function(e){return null!=e&&0!==parseInt(e,0)},P=function(e){var t,s,n,l,d,c,p,g,u,h,m=e.a,v=e.b,f=e.c,y=e.d,w=e.e,b={},_={},S=o[v]._L[m[0].id],x=m[0].className;if(S=void 0===S?{}:S,"object"==typeof x&&(x=""),void 0!==m&&void 0!==m[0]&&(x.indexOf("rs_splitted")>=0||"BR"==m[0].nodeName||"br"==m[0].tagName||m[0].tagName.indexOf("FCR")>0||m[0].tagName.indexOf("BCR")>0))return!1;w="individual"===w?S.slideIndex:w;var k,R=function(e,t,r){if(void 0!==e){if("BR"==e[0].nodeName||"br"==e[0].tagName)return!1;var s,n=o[t].level,l=void 0!==e[0]&&void 0!==e[0].id&&void 0!==o[t]._L[e[0].id]?o[t]._L[e[0].id]:e.data();void 0===(l=void 0===l.basealign?r.data():l)._isnotext&&(l._isnotext=void 0!==r&&void 0!==r[0]&&r[0].length>0?o.gA(r[0],"_isnotext"):l._isnotext);var d={basealign:void 0===l.basealign?"grid":l.basealign,lineHeight:void 0===l.basealign?"inherit":parseInt(l.lineHeight[n]),color:void 0===l.color?void 0:l.color[n],width:void 0===l.width?void 0:"a"===l.width[n]?"auto":l.width[n],height:void 0===l.height?void 0:"a"===l.height[n]?"auto":l.height[n],minWidth:void 0===l.minWidth?void 0:"n"===l.minWidth[n]?"none":l.minWidth[n],minHeight:void 0===l.minHeight?void 0:"n"==l.minHeight[n]?"none":l.minHeight[n],maxWidth:void 0===l.maxWidth?void 0:"n"==l.maxWidth[n]?"none":l.maxWidth[n],maxHeight:void 0===l.maxHeight?void 0:"n"==l.maxHeight[n]?"none":l.maxHeight[n],float:l.float[n],clear:l.clear[n]};for(l.borderStyle&&(d.borderStyle=l.borderStyle[n]),s=0;s<4;s++)l["padding"+i[s]]&&(d["padding"+i[s]]=l["padding"+i[s]][n]),l["margin"+i[s]]&&(d["margin"+i[s]]=parseInt(l["margin"+i[s]][n])),l["border"+a[s]+"Radius"]&&(d["border"+a[s]+"Radius"]=l["border"+a[s]+"Radius"][n]),void 0!==d.borderStyle&&"none"!==d.borderStyle&&(l["border"+i[s]+"Color"]&&(d["border"+i[s]+"Color"]=l["border"+i[s]+"Color"]),l["border"+i[s]+"Width"]&&(d["border"+i[s]+"Width"]=parseInt(l["border"+i[s]+"Width"])));return l._isnotext||(d.textDecoration=l.textDecoration,d.fontSize=parseInt(l.fontSize[n]),d.fontWeight=parseInt(l.fontWeight[n]),d.letterSpacing=parseInt(l.letterSpacing[n])||0,d.textAlign=l.textAlign[n],d.whiteSpace=l.whiteSpace[n],d.whiteSpace="normal"===d.whiteSpace&&"auto"===d.width&&(!0!==l._incolumn&&!0!==l._ingroup||"relative"!==l.position)?"nowrap":d.whiteSpace,d.display=l.display,void 0!==l.tshadow&&(d.textShadow=parseInt(l.tshadow.h[n],0)+"px "+parseInt(l.tshadow.v[n],0)+"px "+l.tshadow.b[n]+" "+l.tshadow.c),void 0!==l.tstroke&&(d.textStroke=parseInt(l.tstroke.w[n],0)+"px "+l.tstroke.c)),"group"===l.type&&(d.whiteSpace=l.whiteSpace,d.textAlign=l.textAlign[n],d.display=l.display),void 0!==l.bshadow&&(d.boxShadow=parseInt(l.bshadow.h[n],0)+"px "+parseInt(l.bshadow.v[n],0)+"px "+parseInt(l.bshadow.b[n],0)+"px "+parseInt(l.bshadow.s[n],0)+"px "+l.bshadow.c),d}}(m,v,e.RSL),O="off"===y?1:o[v].CM.w;if(void 0===S._isnotext&&(S._isnotext=void 0!==R.RSL&&void 0!==R.RSL[0]&&R.RSL[0].length>0?o.gA(R.RSL[0],"_isnotext"):S._isnotext),S._incolumn&&("shape"===S.type||"text"===S.type||"button"===S.type)&&(""+R.height).indexOf(!1)&&(R.height=R.height),S.OBJUPD=null==S.OBJUPD?{}:S.OBJUPD,S.caches=null==S.caches?{}:S.caches,"column"===S.type){for(s={},k={},t=0;t<4;t++)void 0!==R["margin"+i[t]]&&(s["padding"+i[t]]=Math.round(R["margin"+i[t]]*O)+"px",k["margin"+i[t]]=R["margin"+i[t]],delete R["margin"+i[t]]);jQuery.isEmptyObject(s)||tpGS.gsap.set(S._column,s)}var L=o.clone(S.OBJUPD.POBJ),I=o.clone(S.OBJUPD.LPOBJ);if(-1===x.indexOf("rs_splitted_")){for(s={overwrite:"auto"},t=0;t<4;t++)void 0!==R["border"+a[t]+"Radius"]&&(s["border"+a[t]+"Radius"]=R["border"+a[t]+"Radius"]),void 0!==R["padding"+i[t]]&&(s["padding"+i[t]]=Math.round(R["padding"+i[t]]*O)+"px"),void 0===R["margin"+i[t]]||S._incolumn||S._ingroup&&"absolute"!=S.position||(s["margin"+i[t]]="row"===S.type?0:Math.round(R["margin"+i[t]]*O)+"px");if(void 0!==S.spike&&(s["clip-path"]=s["-webkit-clip-path"]=S.spike),R.boxShadow&&(s.boxShadow=R.boxShadow),"column"!==S.type&&(void 0!==R.borderStyle&&"none"!==R.borderStyle&&(0!==R.borderTopWidth||R.borderBottomWidth>0||R.borderLeftWidth>0||R.borderRightWidth>0)?(s.borderTopWidth=Math.round(R.borderTopWidth*O)+"px",s.borderBottomWidth=Math.round(R.borderBottomWidth*O)+"px",s.borderLeftWidth=Math.round(R.borderLeftWidth*O)+"px",s.borderRightWidth=Math.round(R.borderRightWidth*O)+"px",s.borderStyle=R.borderStyle,s.borderTopColor=R.borderTopColor,s.borderBottomColor=R.borderBottomColor,s.borderLeftColor=R.borderLeftColor,s.borderRightColor=R.borderRightColor):("none"===R.borderStyle&&(s.borderStyle="none"),void 0!==R.borderTopColor&&(s.borderTopColor=R.borderTopColor),void 0!==R.borderBottomColor&&(s.borderBottomColor=R.borderBottomColor),void 0!==R.borderLeftColor&&(s.borderLeftColor=R.borderLeftColor),void 0!==R.borderRightColor&&(s.borderRightColor=R.borderRightColor))),"shape"!==S.type&&"image"!==S.type||!(D(R.borderTopLeftRadius)||D(R.borderTopRightRadius)||D(R.borderBottomLeftRadius)||D(R.borderBottomRightRadius))||(s.overflow="hidden"),S._isnotext||("column"!==S.type&&(s.fontSize=Math.round(R.fontSize*O)+"px","thefont"==m[0].id&&console.log(s.fontSize,O),s.fontWeight=R.fontWeight,s.letterSpacing=R.letterSpacing*O+"px",R.textShadow&&(s.textShadow=R.textShadow),R.textStroke&&(s["-webkit-text-stroke"]=R.textStroke)),s.lineHeight=Math.round(R.lineHeight*O)+"px",s.textAlign=R.textAlign),"video"===S.type&&S.html5vid&&void 0!==S.deepmedia&&void 0!==S.deepmedia[0]&&null!=S.deepmedia[0].parentNode&&(D(R.borderTopLeftRadius)||D(R.borderTopRightRadius)||D(R.borderBottomLeftRadius)||D(R.borderBottomRightRadius))&&tpGS.gsap.set(S.deepmedia[0].parentNode,function(e){var t=o.clone(e);return t.top=0-((parseInt(t.borderTopWidth)||0)+(parseInt(t.borderBottomWidth)||0))/2+"px",t.left=0-((parseInt(t.borderLeftWidth)||0)+(parseInt(t.borderRightWidth)||0))/2+"px",t.borderStyle=void 0!==t.borderTopWidth||void 0!==t.borderBottomWidth||void 0!==t.borderLeftWidth||void 0!==t.borderRightWidth?"solid":"none",t.borderColor="transparent",t.boxSizing="content-box",t}(s)),"column"===S.type&&void 0!==S.cbg&&(void 0===S.cbg_set&&(S.cbg_set=S.styleProps["background-color"],S.cbg_set=""==S.cbg_set||void 0===S.cbg_set||0==S.cbg_set.length?"transparent":S.cbg_set,S.cbg_img=void 0!==m[0].dataset.bglazy?'url("'+m[0].dataset.bglazy+'")':m.css("backgroundImage"),""!==S.cbg_img&&void 0!==S.cbg_img&&"none"!==S.cbg_img&&(S.cbg_img_r=m.css("backgroundRepeat"),S.cbg_img_p=m.css("backgroundPosition"),S.cbg_img_s=m.css("backgroundSize")),S.cbg_o=S.bgopacity?1:S.bgopacity,b.backgroundColor="transparent",b.backgroundImage=""),s.backgroundColor="transparent",s.backgroundImage="none"),S._isstatic&&S.elementHovered&&(p=m.data("frames"))&&p.frame_hover&&p.frame_hover.transform)for(g in s)s.hasOwnProperty(g)&&p.frame_hover.transform.hasOwnProperty(g)&&delete s[g];if("IFRAME"==m[0].nodeName&&"html"===o.gA(m[0],"layertype")&&(u="slide"==R.basealign?o[v].module.width:o.iWA(v,w),h="slide"==R.basealign||"carousel"==o[v].sliderType&&"v"===o[v].carousel.orientation?o[v].module.height:o.iHE(v),s.width=!o.isNumeric(R.width)&&R.width.indexOf("%")>=0?!S._isstatic||S._incolumn||S._ingroup?R.width:u*parseInt(R.width,0)/100:A(R.width,O,"auto",u,"auto"),s.height=!o.isNumeric(R.height)&&R.height.indexOf("%")>=0?!S._isstatic||S._incolumn||S._ingroup?R.height:h*parseInt(R.height,0)/100:A(R.height,O,"auto",u,"auto")),b=jQuery.extend(!0,b,s),o[v].firstLayerCalculated=!0,"rekursive"!=f){u="slide"==R.basealign?o[v].module.width:o.iWA(v,w),h="slide"==R.basealign||"carousel"==o[v].sliderType&&"v"===o[v].carousel.orientation?o[v].module.height:o.iHE(v);var M=!o.isNumeric(R.width)&&R.width.indexOf("%")>=0?!S._isstatic||S._incolumn||S._ingroup?R.width:u*parseInt(R.width,0)/100:A(R.width,O,"auto",u,"auto"),T=!o.isNumeric(R.height)&&R.height.indexOf("%")>=0?!S._isstatic||S._incolumn||S._ingroup?R.height:h*parseInt(R.height,0)/100:A(R.height,O,"auto",u,"auto"),C={maxWidth:A(R.maxWidth,O,"none",u,"none"),maxHeight:A(R.maxHeight,O,"none",h,"none"),minWidth:A(R.minWidth,O,"0px",u,0),minHeight:A(R.minHeight,O,"0px",h,0),height:T,width:M,overwrite:"auto"};1==S.heightSetByVideo&&(C.height=S.vidOBJ.height);var P=!1;if(S._incolumn){for(L=jQuery.extend(!0,L,{minWidth:M,maxWidth:M,float:R.float,clear:R.clear}),t=0;t<4;t++)void 0!==R["margin"+i[t]]&&(L["margin"+i[t]]=R["margin"+i[t]]*O+"px");I.width="100%",void 0!==R.display&&"inline-block"!==R.display||(_={width:"100%"}),C.width=!o.isNumeric(R.width)&&R.width.indexOf("%")>=0?"100%":M,"image"===S.type&&tpGS.gsap.set(S.img,{width:"100%"})}else!o.isNumeric(R.width)&&R.width.indexOf("%")>=0&&(S._isgroup&&"absolute"===S.position||(!0===S._ingroup||1==S._incolumn)&&"relative"===S.position||void 0!==S.reqWrp&&(!S.reqWrp.loop||!S.reqWrp.mask)?L.width="slide"===S.basealign||!0===S._ingroup||S._isstatic?M:o.iWA(v,w)*o[v].CM.w*parseInt(M)/100+"px":L.minWidth="slide"===S.basealign||!0===S._ingroup||S._isstatic?M:o.iWA(v,w)*o[v].CM.w*parseInt(M)/100+"px",I.width="100%",_.width="100%");if(!0===S._ingroup&&"relative"===S.position&&(L.float=R.float,L.lineHeight=R.lineHeight+"px",b.verticalAlign="top",_.verticalAlign="top",I.verticalAlign="top"),S._incolumn&&(L.verticalAlign=jQuery(o.closestNode(m[0],"RS-COLUMN")).data("verticalalign")),!o.isNumeric(R.height)&&R.height.indexOf("%")>=0&&(L.minHeight="slide"===S.basealign||!0===S._ingroup||S._isstatic?T:o.iHE(v)*(o[v].currentRowsHeight>o[v].gridheight[o[v].level]?1:o[v].CM.w)*parseInt(T)/100+"px",void 0===S.reqWrp||S.reqWrp.loop||S.reqWrp.mask||(L.height=L.minHeight),I.height="100%",_.height="100%",P=!0),S._isnotext?"group"==S.type&&(C.whiteSpace="normal"):(C.whiteSpace=R.whiteSpace,C.textAlign=R.textAlign,C.textDecoration=R.textDecoration),"npc"!=R.color&&void 0!==R.color&&(C.color=R.color),S._ingroup&&(S._groupw=C.minWidth,S._grouph=C.minHeight),"row"===S.type&&(o.isNumeric(C.minHeight)||C.minHeight.indexOf("px")>=0)&&"0px"!==C.minHeight&&0!==C.minHeight&&"0"!==C.minHeight&&"none"!==C.minHeight?C.height=C.minHeight:"row"===S.type&&(C.height="auto"),S._isstatic&&S.elementHovered&&(p=m.data("frames"))&&p.frame_hover&&p.frame_hover.transform)for(g in C)C.hasOwnProperty(g)&&p.frame_hover.transform.hasOwnProperty(g)&&delete C[g];if("group"!==S.type&&"row"!==S.type&&"column"!==S.type&&(!o.isNumeric(C.width)&&C.width.indexOf("%")>=0&&(C.width="100%"),!o.isNumeric(C.height)&&C.height.indexOf("%")>=0&&(C.height="100%")),S._isgroup){for(!o.isNumeric(C.width)&&C.width.indexOf("%")>=0&&(C.width="100%"),"absolute"!=S.position||S._ingroup||S._incolumn||!P?L.height=P?"100%":C.height:(L.height=L.minHeight,C.height="100%"),C.lineHeight=void 0===R.lineHeight||P?"initial":R.lineHeight+"px",C.verticalAlign=S.verticalalign,C.textAlign=R.textAlign,t=0;t<4;t++)void 0!==b["border"+a[t]+"Radius"]&&(_["border"+a[t]+"Radius"]=b["border"+a[t]+"Radius"]);"relative"==S.position&&void 0!==R.display&&(L.display=R.display),"auto"==R.width&&(_.position="relative")}b=jQuery.extend(!0,b,C),null!=S.svg_src&&void 0!==S.svgI&&("string"==typeof S.svgI.fill&&(S.svgI.fill=[S.svgI.fill]),S.svgTemp=o.clone(S.svgI),delete S.svgTemp.svgAll,void 0!==S.svgTemp.fill&&!0!==(S.elementHovered&&S._isstatic)&&(S.svgTemp.fill=S.svgTemp.fill[o[v].level],S.svg.length<=0&&(S.svg=m.find("svg")),S.svgPath.length<=0&&(S.svgPath=S.svg.find(S.svgI.svgAll?"path, circle, ellipse, line, polygon, polyline, rect":"path")),tpGS.gsap.set(S.svgPath,{fill:S.svgI.fill[o[v].level]})),tpGS.gsap.set(S.svg,S.svgTemp))}if("row"===S.type)for(t=0;t<4;t++)void 0!==R["margin"+i[t]]&&(L["padding"+i[t]]=R["margin"+i[t]]*O+"px");if(S._ingroup&&"relative"==S.position){for(t=0;t<4;t++)void 0!==R["margin"+i[t]]&&(L["margin"+i[t]]=R["margin"+i[t]]*O+"px");"shape"===S.type&&"100%"==_.width&&"100%"==_.height&&(_.position="absolute")}if("column"===S.type&&S.cbg&&S.cbg.length>0){for(void 0!==S.cbg_img_s&&void 0!==S.cbg&&(S.cbg[0].style.backgroundSize=S.cbg_img_s),s={},""!==S.styleProps.cursor&&(s.cursor=S.styleProps.cursor),""!==S.cbg_set&&"transparent"!==S.cbg_set&&(s.backgroundColor=S.cbg_set),""!==S.cbg_img&&"none"!==S.cbg_img&&(s.backgroundImage=S.cbg_img,""!==S.cbg_img_r&&(s.backgroundRepeat=S.cbg_img_r),""!==S.cbg_img_p&&(s.backgroundPosition=S.cbg_img_p)),""!==S.cbg_o&&void 0!==S.cbg_o&&(s.opacity=S.cbg_o),t=0;t<4;t++)void 0!==R.borderStyle&&"none"!==R.borderStyle&&(void 0!==R["border"+i[t]+"Width"]&&(s["border"+i[t]+"Width"]=Math.round(parseInt(R["border"+i[t]+"Width"])*O)+"px"),void 0!==R["border"+i[t]+"Color"]&&(s["border"+i[t]+"Color"]=R["border"+i[t]+"Color"])),R["border"+a[t]+"Radius"]&&(s["border"+a[t]+"Radius"]=R["border"+a[t]+"Radius"]);for(void 0!==R.borderStyle&&"none"!==R.borderStyle&&(s.borderStyle=R.borderStyle),(n=JSON.stringify(s))!==o[v].emptyObject&&n!==S.caches.cbgS&&tpGS.gsap.set(S.cbg,s),S.caches.cbgS=n,s={},t=0;t<4;t++)k["margin"+i[t]]&&(s[r[t]]=k["margin"+i[t]]*O+"px");(n=JSON.stringify(s))!==o[v].emptyObject&&n!==S.caches.cbgmaskS&&(tpGS.gsap.set(S.cbgmask,s),S.caches.cbgmaskS=n)}for(var B in void 0===S.reqWrp||S.reqWrp.loop||S.reqWrp.mask||"100%"!=b.width||"100%"!=b.height||(b.position="absolute"),"auto"===L.maxWidth&&(L.maxWidth="inherit"),"auto"===L.maxHeight&&(L.maxHeight="inherit"),"auto"===_.maxWidth&&(_.maxWidth="inherit"),"auto"===_.maxHeight&&(_.maxHeight="inherit"),"auto"===I.maxWidth&&(I.maxWidth="inherit"),"auto"===I.maxHeight&&(I.maxHeight="inherit"),S.fullinset&&1==S._ingroup&&"absolute"===S.position&&(L.width="auto",L.minHeight="auto",L.height="auto",L.left=void 0!==b.marginLeft&&"0px"!==b.marginLeft?b.marginLeft:"0px",L.right=void 0!==b.marginRight&&"0px"!==b.marginRight?b.marginRight:"0px",L.top=void 0!==b.marginTop&&"0px"!==b.marginTop?b.marginTop:"0px",L.bottom=void 0!==b.marginBottom&&"0px"!==b.marginBottom?b.marginBottom:"0px",delete b.marginLeft,delete b.marginRight,delete b.marginTop,delete b.marginBottom),void 0!==S.vidOBJ&&(b.width=S.vidOBJ.width,b.height=S.vidOBJ.height),void 0!==S.OBJUPD.lppmOBJ&&(void 0!==S.OBJUPD.lppmOBJ.minWidth&&(I.minWidth=S.OBJUPD.lppmOBJ.minWidth,_.minWidth=S.OBJUPD.lppmOBJ.minWidth),void 0!==S.OBJUPD.lppmOBJ.minHeight&&(I.minHeight=S.OBJUPD.lppmOBJ.minHeight,_.minHeight=S.OBJUPD.lppmOBJ.minHeight,L.minHeight=S.OBJUPD.lppmOBJ.minHeight)),S._incolumn&&"group"==S.type&&void 0!==L&&"100%"==L.minWidth&&(_.width="100%"),S._isgroup&&S.thFixed&&void 0!==S.reqWrp&&S.reqWrp.loop&&S.reqWrp.mask&&"auto"==R.width&&(I.position="relative"),!S._ingroup||S.reqWrp.loop||S.reqWrp.mask||"absolute"!=S.position||"100%"!=L.minHeight||(L.height="100%"),o[v].calcResponsiveLayerHooks){var G=o[v].calcResponsiveLayerHooks[B]({id:v,L:m,obj:R,_:S,inobj:e,LOBJ:b,LPOBJ:I,MOBJ:_,POBJ:L});null!=G&&(void 0!==G.obj&&(R=jQuery.extend(!0,R,G.obj)),void 0!==G.LOBJ&&(b=jQuery.extend(!0,b,G.LOBJ)),void 0!==G.LPOBJ&&(I=jQuery.extend(!0,I,G.LPOBJ)),void 0!==G.MOBJ&&(_=jQuery.extend(!0,_,G.MOBJ)),void 0!==G.POBJ&&(L=jQuery.extend(!0,L,G.POBJ)))}n=JSON.stringify(b),l=JSON.stringify(I),d=JSON.stringify(_),c=JSON.stringify(L),void 0===S.imgOBJ||void 0!==S.caches.imgOBJ&&S.caches.imgOBJ.width===S.imgOBJ.width&&S.caches.imgOBJ.height===S.imgOBJ.height&&S.caches.imgOBJ.left===S.imgOBJ.left&&S.caches.imgOBJ.right===S.imgOBJ.right&&S.caches.imgOBJ.top===S.imgOBJ.top&&S.caches.imgOBJ.bottom===S.imgOBJ.bottom||(S.caches.imgOBJ=o.clone(S.imgOBJ),S.imgOBJ.position="relative",tpGS.gsap.set(S.img,S.imgOBJ)),void 0===S.mediaOBJ||void 0!==S.caches.mediaOBJ&&S.caches.mediaOBJ.width===S.mediaOBJ.width&&S.caches.mediaOBJ.height===S.mediaOBJ.height&&S.caches.mediaOBJ.display===S.mediaOBJ.display||(S.caches.mediaOBJ=o.clone(S.mediaOBJ),S.media.css(S.mediaOBJ)),n!=o[v].emptyObject&&n!=S.caches.LOBJ&&(tpGS.gsap.set(m,b),S.caches.LOBJ=n),void 0!==S.lp&&l!=o[v].emptyObject&&l!=S.caches.LPOBJ&&(tpGS.gsap.set(S.lp,I),S.caches.LPOBJ=l),d!=o[v].emptyObject&&d!=S.caches.MOBJ&&(tpGS.gsap.set(S.m,_),S.caches.MOBJ=d),c!=o[v].emptyObject&&c!=S.caches.POBJ&&(tpGS.gsap.set(S.p,L),S.caches.POBJ=c,S.caches.POBJ_LEFT=L.left,S.caches.POBJ_TOP=L.top)}},B=function(e){var t={l:"none",lw:10,r:"none",rw:10};for(var i in e=e.split(";"))if(e.hasOwnProperty(i)){var a=e[i].split(":");switch(a[0]){case"l":t.l=a[1];break;case"r":t.r=a[1];break;case"lw":t.lw=a[1];break;case"rw":t.rw=a[1]}}return"polygon("+G(t.l,0,parseFloat(t.lw))+","+G(t.r,100,100-parseFloat(t.rw),!0)+")"},G=function(e,t,i,a){var r;switch(e){case"none":r=t+"% 100%,"+t+"% 0%";break;case"top":r=i+"% 100%,"+t+"% 0%";break;case"middle":r=i+"% 100%,"+t+"% 50%,"+i+"% 0%";break;case"bottom":r=t+"% 100%,"+i+"% 0%";break;case"two":r=i+"% 100%,"+t+"% 75%,"+i+"% 50%,"+t+"% 25%,"+i+"% 0%";break;case"three":r=t+"% 100%,"+i+"% 75%,"+t+"% 50%,"+i+"% 25%,"+t+"% 0%";break;case"four":r=t+"% 100%,"+i+"% 87.5%,"+t+"% 75%,"+i+"% 62.5%,"+t+"% 50%,"+i+"% 37.5%,"+t+"% 25%,"+i+"% 12.5%,"+t+"% 0%";break;case"five":r=t+"% 100%,"+i+"% 90%,"+t+"% 80%,"+i+"% 70%,"+t+"% 60%,"+i+"% 50%,"+t+"% 40%,"+i+"% 30%,"+t+"% 20%,"+i+"% 10%,"+t+"% 0%"}if(a){var o=r.split(",");for(var i in r="",o)o.hasOwnProperty(i)&&(r+=o[o.length-1-i]+(i<o.length-1?",":""))}return r};window.RS_MODULES=window.RS_MODULES||{},window.RS_MODULES.layeranimation={loaded:!0,version:"6.6.17"},window.RS_MODULES.checkMinimal&&window.RS_MODULES.checkMinimal()}(jQuery),function(e){"use strict";jQuery.fn.revolution=jQuery.fn.revolution||{};var t=jQuery.fn.revolution;function i(e,i){var a=new Object({single:".tp-"+i,c:t[e].cpar.find(".tp-"+i+"s")});return a.mask=a.c.find(".tp-"+i+"-mask"),a.wrap=a.c.find(".tp-"+i+"s-inner-wrapper"),a}jQuery.extend(!0,t,{hideUnHideNav:function(e){window.requestAnimationFrame((function(){var i=!1;c(t[e].navigation.arrows)&&(i=S(t[e].navigation.arrows,e,i)),c(t[e].navigation.bullets)&&(i=S(t[e].navigation.bullets,e,i)),c(t[e].navigation.thumbnails)&&(i=S(t[e].navigation.thumbnails,e,i)),c(t[e].navigation.tabs)&&(i=S(t[e].navigation.tabs,e,i)),i&&t.manageNavigation(e)}))},getOuterNavDimension:function(e){t[e].navigation.scaler=Math.max(0,Math.min(1,(t.winW-480)/500));var i={left:0,right:0,horizontal:0,vertical:0,top:0,bottom:0};return t[e].navigation.thumbnails&&t[e].navigation.thumbnails.enable&&(t[e].navigation.thumbnails.isVisible=t[e].navigation.thumbnails.hide_under<t[e].module.width&&t[e].navigation.thumbnails.hide_over>t[e].module.width,t[e].navigation.thumbnails.cw=Math.max(Math.round(t[e].navigation.thumbnails.width*t[e].navigation.scaler),t[e].navigation.thumbnails.min_width),t[e].navigation.thumbnails.ch=Math.round(t[e].navigation.thumbnails.cw/t[e].navigation.thumbnails.width*t[e].navigation.thumbnails.height),t[e].navigation.thumbnails.isVisible&&"outer-left"===t[e].navigation.thumbnails.position?i.left=t[e].navigation.thumbnails.cw+2*t[e].navigation.thumbnails.wrapper_padding:t[e].navigation.thumbnails.isVisible&&"outer-right"===t[e].navigation.thumbnails.position?i.right=t[e].navigation.thumbnails.cw+2*t[e].navigation.thumbnails.wrapper_padding:t[e].navigation.thumbnails.isVisible&&"outer-top"===t[e].navigation.thumbnails.position?i.top=t[e].navigation.thumbnails.ch+2*t[e].navigation.thumbnails.wrapper_padding:t[e].navigation.thumbnails.isVisible&&"outer-bottom"===t[e].navigation.thumbnails.position&&(i.bottom=t[e].navigation.thumbnails.ch+2*t[e].navigation.thumbnails.wrapper_padding)),t[e].navigation.tabs&&t[e].navigation.tabs.enable&&(t[e].navigation.tabs.isVisible=t[e].navigation.tabs.hide_under<t[e].module.width&&t[e].navigation.tabs.hide_over>t[e].module.width,t[e].navigation.tabs.cw=Math.max(Math.round(t[e].navigation.tabs.width*t[e].navigation.scaler),t[e].navigation.tabs.min_width),t[e].navigation.tabs.ch=Math.round(t[e].navigation.tabs.cw/t[e].navigation.tabs.width*t[e].navigation.tabs.height),t[e].navigation.tabs.isVisible&&"outer-left"===t[e].navigation.tabs.position?i.left+=t[e].navigation.tabs.cw+2*t[e].navigation.tabs.wrapper_padding:t[e].navigation.tabs.isVisible&&"outer-right"===t[e].navigation.tabs.position?i.right+=t[e].navigation.tabs.cw+2*t[e].navigation.tabs.wrapper_padding:t[e].navigation.tabs.isVisible&&"outer-top"===t[e].navigation.tabs.position?i.top+=t[e].navigation.tabs.ch+2*t[e].navigation.tabs.wrapper_padding:t[e].navigation.tabs.isVisible&&"outer-bottom"===t[e].navigation.tabs.position&&(i.bottom+=t[e].navigation.tabs.ch+2*t[e].navigation.tabs.wrapper_padding)),{left:i.left,right:i.right,horizontal:i.left+i.right,vertical:i.top+i.bottom,top:i.top,bottom:i.bottom}},resizeThumbsTabs:function(e,i){if(void 0!==t[e]&&t[e].navigation.use&&(t[e].navigation&&t[e].navigation.bullets.enable||t[e].navigation&&t[e].navigation.tabs.enable||t[e].navigation&&t[e].navigation.thumbnails.enable)){var a=tpGS.gsap.timeline(),o=t[e].navigation.tabs,s=t[e].navigation.thumbnails,n=t[e].navigation.bullets;if(a.pause(),c(o)&&(i||o.width>o.min_width)&&r(e,a,t[e].c,o,t[e].slideamount,"tab"),c(s)&&(i||s.width>s.min_width)&&r(e,a,t[e].c,s,t[e].slideamount,"thumb",e),c(n)&&i){var l=t[e].c.find(".tp-bullets");l.find(".tp-bullet").each((function(e){var t=jQuery(this),i=e+1,a=t.outerWidth()+parseInt(void 0===n.space?0:n.space,0),r=t.outerHeight()+parseInt(void 0===n.space?0:n.space,0);"vertical"===n.direction?(t.css({top:(i-1)*r+"px",left:"0px"}),l.css({height:(i-1)*r+t.outerHeight(),width:t.outerWidth()})):(t.css({left:(i-1)*a+"px",top:"0px"}),l.css({width:(i-1)*a+t.outerWidth(),height:t.outerHeight()}))}))}a.play()}return!0},updateNavIndexes:function(e){var i=t[e].c;function a(e){i.find(e).lenght>0&&i.find(e).each((function(e){jQuery(this).data("liindex",e)}))}a("rs-tab"),a("rs-bullet"),a("rs-thumb"),t.resizeThumbsTabs(e,!0),t.manageNavigation(e)},manageNavigation:function(e,i){t[e].navigation.use&&(c(t[e].navigation.bullets)&&("fullscreen"!=t[e].sliderLayout&&"fullwidth"!=t[e].sliderLayout&&(t[e].navigation.bullets.h_offset_old=void 0===t[e].navigation.bullets.h_offset_old?parseInt(t[e].navigation.bullets.h_offset,0):t[e].navigation.bullets.h_offset_old,t[e].navigation.bullets.h_offset="center"===t[e].navigation.bullets.h_align?t[e].navigation.bullets.h_offset_old+t[e].outNavDims.left/2-t[e].outNavDims.right/2:t[e].navigation.bullets.h_offset_old+t[e].outNavDims.left),w(t[e].navigation.bullets,e)),c(t[e].navigation.thumbnails)&&w(t[e].navigation.thumbnails,e),c(t[e].navigation.tabs)&&w(t[e].navigation.tabs,e),c(t[e].navigation.arrows)&&("fullscreen"!=t[e].sliderLayout&&"fullwidth"!=t[e].sliderLayout&&(t[e].navigation.arrows.left.h_offset_old=void 0===t[e].navigation.arrows.left.h_offset_old?parseInt(t[e].navigation.arrows.left.h_offset,0):t[e].navigation.arrows.left.h_offset_old,t[e].navigation.arrows.left.h_offset=(t[e].navigation.arrows.left.h_align,t[e].navigation.arrows.left.h_offset_old),t[e].navigation.arrows.right.h_offset_old=void 0===t[e].navigation.arrows.right.h_offset_old?parseInt(t[e].navigation.arrows.right.h_offset,0):t[e].navigation.arrows.right.h_offset_old,t[e].navigation.arrows.right.h_offset=(t[e].navigation.arrows.right.h_align,t[e].navigation.arrows.right.h_offset_old)),w(t[e].navigation.arrows.left,e),w(t[e].navigation.arrows.right,e)),!1!==i&&(c(t[e].navigation.thumbnails)&&a(t[e].navigation.thumbnails,e),c(t[e].navigation.tabs)&&a(t[e].navigation.tabs,e)))},showFirstTime:function(e){g(e),t.hideUnHideNav(e)},selectNavElement:function(e,i,a,r){for(var o=t[e].cpar[0].getElementsByClassName(a),s=0;s<o.length;s++)t.gA(o[s],"key")===i?(o[s].classList.add("selected"),void 0!==r&&r()):o[s].classList.remove("selected")},transferParams:function(e,t){if(void 0!==t)for(var i in t.params)e=e.replace(t.params[i].from,t.params[i].to);return e},updateNavElementContent:function(e,i,r,o,s){if(void 0!==t[e].pr_next_key||void 0!==t[e].pr_active_key){var n=void 0===t[e].pr_next_key?void 0===t[e].pr_cache_pr_next_key?t[e].pr_active_key:t[e].pr_cache_pr_next_key:t[e].pr_next_key,l=t.gA(t[e].slides[n],"key"),d=0,c=!1;for(var p in r.enable&&t.selectNavElement(e,l,"tp-bullet"),o.enable&&t.selectNavElement(e,l,"tp-thumb",(function(){a(o,e)})),s.enable&&t.selectNavElement(e,l,"tp-tab",(function(){a(s,e)})),t[e].thumbs)d=!0===c?d:p,c=t[e].thumbs[p].id===l||p==l||c;var g=(d=parseInt(d,0))>0?d-1:t[e].slideamount-1,u=d+1==t[e].slideamount?0:d+1;if(!0===i.enable&&i.pi!==g&&i.ni!==u){if(i.pi=g,i.ni=u,i.left.c[0].innerHTML=t.transferParams(i.tmp,t[e].thumbs[g]),u>t[e].slideamount)return;i.right.c[0].innerHTML=t.transferParams(i.tmp,t[e].thumbs[u]),i.right.iholder=i.right.c.find(".tp-arr-imgholder"),i.left.iholder=i.left.c.find(".tp-arr-imgholder"),i.rtl?(void 0!==i.left.iholder[0]&&tpGS.gsap.set(i.left.iholder,{backgroundImage:"url("+t[e].thumbs[u].src+")"}),void 0!==t[e].thumbs[g]&&void 0!==i.right.iholder[0]&&tpGS.gsap.set(i.right.iholder,{backgroundImage:"url("+t[e].thumbs[g].src+")"})):(void 0!==t[e].thumbs[g]&&void 0!==i.left.iholder[0]&&tpGS.gsap.set(i.left.iholder,{backgroundImage:"url("+t[e].thumbs[g].src+")"}),void 0!==i.right.iholder[0]&&tpGS.gsap.set(i.right.iholder,{backgroundImage:"url("+t[e].thumbs[u].src+")"}))}}},createNavigation:function(e){var a=t[e].navigation.arrows,r=t[e].navigation.bullets,n=t[e].navigation.thumbnails,u=t[e].navigation.tabs,m=c(a),f=c(r),y=c(n),S=c(u);for(var x in o(e),s(e),m&&(v(a,e),a.c=t[e].cpar.find(".tparrows")),t[e].slides)if(t[e].slides.hasOwnProperty(x)&&"true"!=t.gA(t[e].slides[x],"not_in_nav")){var k=jQuery(t[e].slides[t[e].slides.length-1-x]),R=jQuery(t[e].slides[x]);f&&(t[e].navigation.bullets.rtl?b(t[e].c,r,k,e):b(t[e].c,r,R,e)),y&&(t[e].navigation.thumbnails.rtl?_(t[e].c,n,k,"tp-thumb",e):_(t[e].c,n,R,"tp-thumb",e)),S&&(t[e].navigation.tabs.rtl?_(t[e].c,u,k,"tp-tab",e):_(t[e].c,u,R,"tp-tab",e))}f&&w(r,e),y&&w(n,e),S&&w(u,e),(y||S)&&t.updateDims(e),t[e].navigation.createNavigationDone=!0,y&&jQuery.extend(!0,n,i(e,"thumb")),S&&jQuery.extend(!0,u,i(e,"tab")),t[e].c.on("revolution.slide.onafterswap revolution.nextslide.waiting",(function(){t.updateNavElementContent(e,a,r,n,u)})),d(a),d(r),d(n),d(u),t[e].cpar.on(t.ISM?"touchstart touchmove":"mouseenter mousemove",(function(i){void 0!==i.target&&void 0!==i.target.className&&"string"==typeof i.target.className&&i.target.className.indexOf("rs-waction")>=0||!0!==t[e].tpMouseOver&&t[e].firstSlideAvailable&&(t[e].tpMouseOver=!0,g(e),t.ISM&&!0!==t[e].someNavIsDragged&&(p(t[e].hideAllNavElementTimer),t[e].hideAllNavElementTimer=setTimeout((function(){t[e].tpMouseOver=!1,h(e)}),150)))})),t[e].cpar.on(t.ISM?"touchend":"mouseleave ",(function(){t[e].tpMouseOver=!1,h(e)})),(y||S||"carousel"===t[e].sliderType||t[e].navigation.touch.touchOnDesktop||t[e].navigation.touch.touchenabled&&t.ISM)&&l(e),t[e].navigation.initialised=!0,t.updateNavElementContent(e,a,r,n,u),t.showFirstTime(e)}});var a=function(e,i){if(void 0!==e&&null!=e.mask){var a="vertical"===e.direction?e.mask.find(e.single).first().outerHeight(!0)+e.space:e.mask.find(e.single).first().outerWidth(!0)+e.space,r="vertical"===e.direction?e.mask.height():e.mask.width(),o=e.mask.find(e.single+".selected").data("liindex");o=(o=void 0===(o=e.rtl?t[i].slideamount-o:o)?0:o)>0&&1===t[i].sdir&&e.visibleAmount>1?o-1:o;var s=r/a,n="vertical"===e.direction?e.mask.height():e.mask.width(),l=0-o*a,d="vertical"===e.direction?e.wrap.height():e.wrap.width(),c=l<0-(d-n)?0-(d-n):l,p=t.gA(e.wrap[0],"offset");p=void 0===p?0:p,s>2&&(c=l-(p+a)<=0?l-(p+a)<0-a?p:c+a:c,c=l-a+p+r<a&&l+(Math.round(s)-2)*a<p?l+(Math.round(s)-2)*a:c),c="vertical"!==e.direction&&e.mask.width()>=e.wrap.width()||"vertical"===e.direction&&e.mask.height()>=e.wrap.height()?0:c<0-(d-n)?0-(d-n):c>0?0:c,e.c.hasClass("dragged")||("vertical"===e.direction?e.wrap.data("tmmove",tpGS.gsap.to(e.wrap,.5,{top:c+"px",ease:"power3.inOut"})):e.wrap.data("tmmove",tpGS.gsap.to(e.wrap,.5,{left:c+"px",ease:"power3.inOut"})),e.wrap.data("offset",c))}},r=function(e,i,a,r,o,s){var n=a.parent().find(".tp-"+s+"s"),l=n.find(".tp-"+s+"s-inner-wrapper"),d=n.find(".tp-"+s+"-mask"),c="vertical"===r.direction?r.cw:r.cw*o+parseFloat(r.space)*(o-1),p="vertical"===r.direction?r.ch*o+parseInt(r.space)*(o-1):r.ch,g="vertical"===r.direction?{width:r.cw+"px"}:{height:r.ch+"px"};if(i.add(tpGS.gsap.set(n,g)),i.add(tpGS.gsap.set(l,{width:c+"px",height:p+"px"})),"horizontal"===r.direction){var u=Math.min(c,r.cw*r.visibleAmount+parseFloat(r.space)*(r.visibleAmount-1));i.add(tpGS.gsap.set(d,{width:u+"px",height:p+"px"}))}else{var h=Math.min(p,r.ch*r.visibleAmount+parseFloat(r.space)*(r.visibleAmount-1));i.add(tpGS.gsap.set(d,{width:c+"px",height:h+"px"}))}null!==l.outerWidth()&&(t[e].thumbResized=!0);var m=l.find(".tp-"+s);return m&&jQuery.each(m,(function(e,t){"vertical"===r.direction?i.add(tpGS.gsap.set(t,{top:e*(r.ch+parseInt(void 0===r.space?0:r.space,0)),width:r.cw+"px",height:r.ch+"px"})):"horizontal"===r.direction&&i.add(tpGS.gsap.set(t,{left:e*(r.cw+parseInt(void 0===r.space?0:r.space,0)),width:r.cw+"px",height:r.ch+"px"}))})),i},o=function(e){!0===t[e].navigation.keyboardNavigation&&t.document.on("keydown",(function(i){if("horizontal"==t[e].navigation.keyboard_direction&&39==i.keyCode||"vertical"==t[e].navigation.keyboard_direction&&40==i.keyCode){if(void 0!==t[e].keydown_time_stamp&&(new Date).getTime()-t[e].keydown_time_stamp<1e3)return;t[e].sc_indicator="arrow",t[e].sc_indicator_dir=0,"carousel"===t[e].sliderType&&(t[e].ctNavElement=!0),t.callingNewSlide(e,1,"carousel"===t[e].sliderType)}if("horizontal"==t[e].navigation.keyboard_direction&&37==i.keyCode||"vertical"==t[e].navigation.keyboard_direction&&38==i.keyCode){if(void 0!==t[e].keydown_time_stamp&&(new Date).getTime()-t[e].keydown_time_stamp<1e3)return;t[e].sc_indicator="arrow",t[e].sc_indicator_dir=1,"carousel"===t[e].sliderType&&(t[e].ctNavElement=!0),t.callingNewSlide(e,-1,"carousel"===t[e].sliderType)}t[e].keydown_time_stamp=(new Date).getTime()}))},s=function(e){t[e].carousel.scrollTicker=t.carScrollTicker.bind(window,e),!0!==t[e].navigation.mouseScrollNavigation&&"on"!==t[e].navigation.mouseScrollNavigation&&"carousel"!==t[e].navigation.mouseScrollNavigation||t[e].c[0].addEventListener("wheel",(function(i){var a=function(e){var t=0;return"deltaY"in e||"deltaX"in e?t=0!=e.deltaY&&-0!=e.deltaY||!(e.deltaX<0||e.deltaX>0)?e.deltaY:e.deltaX:("detail"in e&&(t=e.detail),"wheelDelta"in e&&(t=-e.wheelDelta/120),"wheelDeltaY"in e&&(t=-e.wheelDeltaY/120)),((t=navigator.userAgent.match(/mozilla/i)?10*t:t)>300||t<-300)&&(t/=10),t}(i),r=!1,o=0==t[e].pr_active_key||0==t[e].pr_processing_key,s=t[e].pr_active_key==t[e].slideamount-1||t[e].pr_processing_key==t[e].slideamount-1,n=void 0!==t[e].topc?t[e].topc[0].getBoundingClientRect():0===t[e].canv.height?t[e].cpar[0].getBoundingClientRect():t[e].c[0].getBoundingClientRect(),l=n.top>=0&&n.bottom<=t.winH?1:n.top>=0&&n.bottom>=t.winH?(t.winH-Math.round(n.top))/n.height:n.top<=0&&n.bottom<=t.winH?Math.round(n.bottom)/n.height:1,d=a<0?-1:1,c=t[e].navigation.wheelViewPort;if(l=Math.round(100*l)/100,"reverse"==t[e].navigation.mouseScrollReverse){var p=s;s=o,o=p}if(c-l<=t[e].navigation.threshold/100&&!(l>=c)&&!(n.top>=0&&-1===d||n.top<=0&&1===d)&&(i.preventDefault(),!t[e].mScrollTween)){var g="window"!==t[e].navigation.target&&t[e].navigation.target?t[e].navigation.target:window;t[e].mScrollTween=tpGS.gsap.to(g,{duration:jQuery.fn.revolution.isWebkit()?.1:.7,scrollTo:{y:t[e].topc},ease:"power2.out",onComplete:function(){t[e].mScrollTween.kill(),delete t[e].mScrollTween}})}if(Math.abs(l-c)<.1||l>=c)return t[e].sc_indicator_dir="reverse"===t[e].navigation.mouseScrollReverse&&d<0||"reverse"!==t[e].navigation.mouseScrollReverse&&d>0?"reverse"!==t[e].navigation.mouseScrollReverse?0:1:"reverse"!==t[e].navigation.mouseScrollReverse?1:0,"carousel"==t[e].navigation.mouseScrollNavigation||0===t[e].sc_indicator_dir&&!s||1===t[e].sc_indicator_dir&&!o?void 0===t[e].pr_processing_key&&!0!==t[e].justmouseScrolled&&(t[e].sc_indicator="arrow","carousel"===t[e].sliderType&&(t[e].ctNavElement=!0),t.callingNewSlide(e,0===t[e].sc_indicator_dir?"reverse"===t[e].navigation.mouseScrollReverse?-1:1:"reverse"===t[e].navigation.mouseScrollReverse?1:-1,"carousel"===t[e].sliderType),t[e].justmouseScrolled=!0,setTimeout((function(){t[e].justmouseScrolled=!1}),t[e].navigation.wheelCallDelay)):!0!==t[e].justmouseScrolled&&(r=!0),!!r||(i.preventDefault(i),!1)}),{passive:!1})},n=function(e,i){var a=!1;for(var r in(void 0===i.path||t.ISM)&&(a=function(e,t){for(;e&&e!==document;e=e.parentNode)if(e.tagName===t)return e;return!1}(i.target,e)),i.path)i.path.hasOwnProperty(r)&&i.path[r].tagName===e&&(a=!0);return a},l=function(e){var i=t[e].carousel,a=t.is_android();if(jQuery(".bullet, .bullets, .tp-bullets, .tparrows").addClass("noSwipe"),t[e].navigation.touch=void 0===t[e].navigation.touch?{}:t[e].navigation.touch,t[e].navigation.touch.swipe_direction=void 0===t[e].navigation.touch.swipe_direction?"horizontal":t[e].navigation.touch.swipe_direction,t[e].cpar.find(".rs-nav-element").rsswipe({allowPageScroll:"vertical",triggerOnTouchLeave:!0,treshold:t[e].navigation.touch.swipe_treshold,fingers:t[e].navigation.touch.swipe_min_touches>5?1:t[e].navigation.touch.swipe_min_touches,excludedElements:"button, input, select, textarea, .noSwipe, .rs-waction",tap:function(e,t){if(void 0!==t)var i=jQuery(t).closest("rs-thumb");(void 0!==i&&i.length>0||(i=jQuery(t).closest("rs-tab")).length>0||(i=jQuery(t).closest("rs-bullet")).length>0)&&i.trigger("click")},swipeStatus:function(r,o,s,l,d,c,g){if("start"!==o&&"move"!==o&&"end"!==o&&"cancel"!=o)return!0;var h=n("RS-THUMB",r),m=n("RS-TAB",r);!1===h&&!1===m&&!0!==(h="RS-THUMBS-WRAP"===r.target.tagName||"RS-THUMBS"===r.target.tagName||r.target.className.indexOf("tp-thumb-mask")>=0)&&(m="RS-TABS-WRAP"===r.target.tagName||"RS-TABS"===r.target.tagName||r.target.className.indexOf("tp-tab-mask")>=0);var v="start"===o?0:a?g[0].end.x-g[0].start.x:r.pageX-i.screenX,f="start"===o?0:a?g[0].end.y-g[0].start.y:r.pageY-i.screenY,y=h?".tp-thumbs":".tp-tabs",w=h?".tp-thumb-mask":".tp-tab-mask",b=h?".tp-thumbs-inner-wrapper":".tp-tabs-inner-wrapper",_=h?".tp-thumb":".tp-tab",S=h?t[e].navigation.thumbnails:t[e].navigation.tabs,x=t[e].cpar.find(w),k=x.find(b),R=S.direction,O="vertical"===R?k.height():k.width(),L="vertical"===R?x.height():x.width(),I="vertical"===R?x.find(_).first().outerHeight(!0)+parseFloat(S.space):x.find(_).first().outerWidth(!0)+parseFloat(S.space),M=void 0===k.data("offset")?0:parseInt(k.data("offset"),0),T=0;switch(o){case"start":"vertical"===R&&r.preventDefault(),i.screenX=a?g[0].end.x:r.pageX,i.screenY=a?g[0].end.y:r.pageY,t[e].cpar.find(y).addClass("dragged"),M="vertical"===R?k.position().top:k.position().left,k.data("offset",M),k.data("tmmove")&&k.data("tmmove").pause(),t[e].someNavIsDragged=!0,u(e);break;case"move":if(O<=L)return!1;T=(T=M+("vertical"===R?f:v))>0?"horizontal"===R?T-k.width()*(T/k.width()*T/k.width()):T-k.height()*(T/k.height()*T/k.height()):T;var C="vertical"===R?0-(k.height()-x.height()):0-(k.width()-x.width());T=T<C?"horizontal"===R?T+k.width()*(T-C)/k.width()*(T-C)/k.width():T+k.height()*(T-C)/k.height()*(T-C)/k.height():T,"vertical"===R?tpGS.gsap.set(k,{top:T+"px"}):tpGS.gsap.set(k,{left:T+"px"}),p(t[e].hideAllNavElementTimer);break;case"end":case"cancel":return t[e].navigation.draggable&&t[e].navigation.draggable.enable&&t[e].navigation.draggable.enable(),i.draggable&&i.draggable.enable&&i.draggable.enable(),T=M+("vertical"===R?f:v),T=(T="vertical"===R?T<0-(k.height()-x.height())?0-(k.height()-x.height()):T:T<0-(k.width()-x.width())?0-(k.width()-x.width()):T)>0?0:T,T=Math.abs(l)>I/10?l<=0?Math.floor(T/I)*I:Math.ceil(T/I)*I:l<0?Math.ceil(T/I)*I:Math.floor(T/I)*I,T=(T="vertical"===R?T<0-(k.height()-x.height())?0-(k.height()-x.height()):T:T<0-(k.width()-x.width())?0-(k.width()-x.width()):T)>0?0:T,"vertical"===R?tpGS.gsap.to(k,.5,{top:T+"px",ease:"power3.out"}):tpGS.gsap.to(k,.5,{left:T+"px",ease:"power3.out"}),T=T||("vertical"===R?k.position().top:k.position().left),k.data("offset",T),k.data("distance",l),t[e].cpar.find(y).removeClass("dragged"),t[e].someNavIsDragged=!1,!0}}}),"carousel"===t[e].sliderType&&t.setupCarousel(e),"carousel"!==t[e].sliderType&&(t.ISM&&t[e].navigation.touch.touchenabled||!0!==t.ISM&&t[e].navigation.touch.touchOnDesktop)){t[e].navigation.proxy=document.createElement("div");var r=t[e].navigation,o={trigger:t[e].c[0],type:"horizontal"===t[e].navigation.touch.swipe_direction?"x":"y",cursor:"pointer",lockAxis:!0,onPress:function(i){t.closestClass(i.target,"rs-nav-element")&&(t[e].navigation.draggable.endDrag(),t[e].navigation.draggable.disable()),r.touch.pressX=i.pageX,r.touch.pressY=i.pageY},onDragStart:function(){var i=void 0!==t[e].pr_processing_key?t[e].pr_processing_key:void 0===t[e].pr_active_key?0:t[e].pr_active_key;"up"===this.getDirection()&&i==t[e].slideamount-1||"down"===this.getDirection()&&0===i?r.forceScroll=!0:r.forceScroll=!1},onDragEnd:function(i){t[e].sc_indicator="arrow";var a,r=this.getDirection(),o=t[e].navigation;if(Math.abs(i.pageY-o.touch.pressY)>Math.abs(i.pageX-o.touch.pressX)){if("right"===r||"left"===r)return}else if(Math.abs(i.pageY-o.touch.pressY)>Math.abs(i.pageX-o.touch.pressX)&&("up"===r||"down"===r))return;return o.forceScroll?(a="up"===this.getDirection()?t[e].cpar.offset().top+t[e].module.height:t.document.scrollTop()-(window.innerHeight-t[e].cpar[0].getBoundingClientRect().top),void(t[e].modal.useAsModal||tpGS.gsap.to([window,"body"],{scrollTo:a}))):"horizontal"==t[e].navigation.touch.swipe_direction&&"left"==r||"vertical"==t[e].navigation.touch.swipe_direction&&"up"==r?(t[e].sc_indicator_dir=0,t.callingNewSlide(e,1),!1):"horizontal"==t[e].navigation.touch.swipe_direction&&"right"==r||"vertical"==t[e].navigation.touch.swipe_direction&&"down"==r?(t[e].sc_indicator_dir=1,t.callingNewSlide(e,-1),!1):void 0}};r.touch.drag_block_vertical||(t.ISM&&(o.allowContextMenu=!0),o.allowEventDefault=!0),t[e].navigation.draggable=tpGS.draggable.create(t[e].navigation.proxy,o)}"carousel"===t[e].sliderType&&(t.ISM&&0==t[e].navigation.touch.mobileCarousel||!0!==t.ISM&&!1===t[e].navigation.touch.desktopCarousel)&&i.wrap.addClass("noswipe"),t[e].navigation.touch.drag_block_vertical&&t[e].c.addClass("disableVerticalScroll")},d=function(e){e.hide_delay=t.isNumeric(parseInt(e.hide_delay,0))?e.hide_delay:.2,e.hide_delay_mobile=t.isNumeric(parseInt(e.hide_delay_mobile,0))?e.hide_delay_mobile:.2},c=function(e){return e&&e.enable},p=function(e){clearTimeout(e)},g=function(e){var i=t[e].navigation.maintypes;for(var a in i)i.hasOwnProperty(a)&&c(t[e].navigation[i[a]])&&void 0!==t[e].navigation[i[a]].c&&(p(t[e].navigation[i[a]].showCall),t[e].navigation[i[a]].showCall=setTimeout((function(i){p(i.hideCall),i.hide_onleave&&!0!==t[e].tpMouseOver||(void 0===i.tween?i.tween=m(i):i.tween.play())}),t[e].navigation[i[a]].hide_onleave&&!0!==t[e].tpMouseOver?0:parseInt(t[e].navigation[i[a]].animDelay),t[e].navigation[i[a]]))},u=function(e){var i=t[e].navigation.maintypes;for(var a in i)i.hasOwnProperty(a)&&void 0!==t[e].navigation[i[a]]&&t[e].navigation[i[a]].hide_onleave&&c(t[e].navigation[i[a]])&&p(t[e].navigation[i[a]].hideCall)},h=function(e,i){var a=t[e].navigation.maintypes;for(var r in a)a.hasOwnProperty(r)&&void 0!==t[e].navigation[a[r]]&&t[e].navigation[a[r]].hide_onleave&&c(t[e].navigation[a[r]])&&(p(t[e].navigation[a[r]].hideCall),t[e].navigation[a[r]].hideCall=setTimeout((function(e){p(e.showCall),e.tween&&e.tween.reverse()}),t.ISM?parseInt(t[e].navigation[a[r]].hide_delay_mobile,0):parseInt(t[e].navigation[a[r]].hide_delay,0),t[e].navigation[a[r]]))},m=function(e){e.speed=void 0===e.animSpeed?.5:e.animSpeed,e.anims=[],void 0!==e.anim&&void 0===e.left&&e.anims.push(e.anim),void 0!==e.left&&e.anims.push(e.left.anim),void 0!==e.right&&e.anims.push(e.right.anim);var t=tpGS.gsap.timeline();for(var i in t.add(tpGS.gsap.to(e.c,e.speed,{delay:e.animDelay,opacity:1,ease:"power3.inOut"}),0),e.anims)if(e.anims.hasOwnProperty(i))switch(e.anims[i]){case"left":t.add(tpGS.gsap.fromTo(e.c[i],e.speed,{marginLeft:-50},{delay:e.animDelay,marginLeft:"0px",ease:"power3.inOut"}),0);break;case"right":t.add(tpGS.gsap.fromTo(e.c[i],e.speed,{marginLeft:50},{delay:e.animDelay,marginLeft:"0px",ease:"power3.inOut"}),0);break;case"top":t.add(tpGS.gsap.fromTo(e.c[i],e.speed,{marginTop:-50},{delay:e.animDelay,marginTop:"0px",ease:"power3.inOut"}),0);break;case"bottom":t.add(tpGS.gsap.fromTo(e.c[i],e.speed,{marginTop:50},{delay:e.animDelay,marginTop:"0px",ease:"power3.inOut"}),0);break;case"zoomin":t.add(tpGS.gsap.fromTo(e.c[i],e.speed,{scale:.5},{delay:e.animDelay,scale:1,ease:"power3.inOut"}),0);break;case"zoomout":t.add(tpGS.gsap.fromTo(e.c[i],e.speed,{scale:1.2},{delay:e.animDelay,scale:1,ease:"power3.inOut"}),0)}return t.play(),t},v=function(e,i){e.style=void 0===e.style?"":e.style,e.left.style=void 0===e.left.style?"":e.left.style,e.right.style=void 0===e.right.style?"":e.right.style,void 0===e.left.c&&(e.left.c=jQuery('<rs-arrow style="opacity:0" class="tp-leftarrow tparrows '+e.style+" "+e.left.style+'">'+e.tmp+"</rs-arrow>"),t[i].c.append(e.left.c)),void 0===e.right.c&&(e.right.c=jQuery('<rs-arrow style="opacity:0"  class="tp-rightarrow tparrows '+e.style+" "+e.right.style+'">'+e.tmp+"</rs-arrow>"),t[i].c.append(e.right.c)),e[e.rtl?"left":"right"].c.on("click",(function(){"carousel"===t[i].sliderType&&(t[i].ctNavElement=!0),t[i].sc_indicator="arrow",t[i].sc_indicator_dir=0,t[i].c.revnext()})),e[e.rtl?"right":"left"].c.on("click",(function(){"carousel"===t[i].sliderType&&(t[i].ctNavElement=!0),t[i].sc_indicator="arrow",t[i].sc_indicator_dir=1,t[i].c.revprev()})),e.padding_top=parseInt(t[i].carousel.padding_top||0,0),e.padding_bottom=parseInt(t[i].carousel.padding_bottom||0,0),w(e.left,i),w(e.right,i),"outer-left"!=e.position&&"outer-right"!=e.position||(t[i].outernav=!0)},f=function(e,i,a,r){r=void 0===r?e.outerHeight(!0):r;var o=null==t[a]?0:0==t[a].canv.height?t[a].module.height:t[a].canv.height,s="layergrid"==i.container?"fullscreen"==t[a].sliderLayout?t[a].module.height/2-t[a].gridheight[t[a].level]*t[a].CM.h/2:t[a].autoHeight||null!=t[a].minHeight&&t[a].minHeight>0?o/2-t[a].gridheight[t[a].level]*t[a].CM.h/2:0:0,n="top"===i.v_align?{top:"0px",y:Math.round(i.v_offset+s)+"px"}:"center"===i.v_align?{top:"50%",y:Math.round(0-r/2+i.v_offset)+"px"}:{top:"100%",y:Math.round(0-(r+i.v_offset+s))+"px"};e.hasClass("outer-bottom")||tpGS.gsap.set(e,n)},y=function(e,i,a,r){r=void 0===r?e.outerWidth():r;var o="layergrid"===i.container?t[a].module.width/2-t[a].gridwidth[t[a].level]*t[a].CM.w/2:0,s="left"===i.h_align?{left:"0px",x:Math.round(i.h_offset+o)+"px"}:"center"===i.h_align?{left:"50%",x:Math.round(0-r/2+i.h_offset)+"px"}:{left:"100%",x:Math.round(0-(r+i.h_offset+o))+"px"};tpGS.gsap.set(e,s)},w=function(e,i){if(null!=e&&void 0!==e.c){var a="fullwidth"==t[i].sliderLayout||"fullscreen"==t[i].sliderLayout?t[i].module.width:t[i].canv.width,r=e.c.outerWidth(),o=e.c.outerHeight();if(!(r<=0||o<=0)&&(f(e.c,e,i,o),y(e.c,e,i,r),"outer-left"===e.position?tpGS.gsap.set(e.c,{left:0-r+"px",x:e.h_offset+"px"}):"outer-right"===e.position&&tpGS.gsap.set(e.c,{right:0-r+"px",x:e.h_offset+"px"}),"tp-thumb"===e.type||"tp-tab"===e.type)){var s=parseInt(e.padding_top||0,0),n=parseInt(e.padding_bottom||0,0),l={},d={};e.maxw>a&&"outer-left"!==e.position&&"outer-right"!==e.position?(l.left="0px",l.x=0,l.maxWidth=a-2*e.wpad+"px",d.maxWidth=a-2*e.wpad+"px"):(l.maxWidth=e.maxw,d.maxWidth=a+"px"),e.maxh+2*e.wpad>t[i].conh&&"outer-bottom"!==e.position&&"outer-top"!==e.position?(l.top="0px",l.y=0,l.maxHeight=s+n+(t[i].conh-2*e.wpad)+"px",d.maxHeight=s+n+(t[i].conh-2*e.wpad)+"px"):(l.maxHeight=e.maxh+"px",d.maxHeight=e.maxh+"px"),e.mask=void 0===e.mask?e.c.find("rs-navmask"):e.mask,(e.mhoff>0||e.mvoff>0)&&(d.padding=e.mvoff+"px "+e.mhoff+"px"),e.span?("layergrid"==e.container&&"outer-left"!==e.position&&"outer-right"!==e.position&&(s=n=0),"vertical"===e.direction?(l.maxHeight=s+n+(t[i].conh-2*e.wpad)+"px",l.height=s+n+(t[i].conh-2*e.wpad)+"px",l.top=0,l.y=0,d.maxHeight=s+n+Math.min(e.maxh,t[i].conh-2*e.wpad)+"px",tpGS.gsap.set(e.c,l),tpGS.gsap.set(e.mask,d),f(e.mask,e,i)):"horizontal"===e.direction&&(l.maxWidth="100%",l.width=a-2*e.wpad+"px",l.left=0,l.x=0,d.maxWidth=e.maxw>=a?"100%":Math.min(e.maxw,a)+"px",tpGS.gsap.set(e.c,l),tpGS.gsap.set(e.mask,d),y(e.mask,e,i))):(tpGS.gsap.set(e.c,l),tpGS.gsap.set(e.mask,d))}}},b=function(e,i,a,r){0===e.find(".tp-bullets").length&&(i.style=void 0===i.style?"":i.style,i.c=jQuery('<rs-bullets style="opacity:0"  class="tp-bullets '+i.style+" "+i.direction+" nav-pos-hor-"+i.h_align+" nav-pos-ver-"+i.v_align+" nav-dir-"+i.direction+'"></rs-bullets>'));var o=a.data("key"),s=i.tmp;void 0!==t[r].thumbs[a.index()]&&jQuery.each(t[r].thumbs[a.index()].params,(function(e,t){s=s.replace(t.from,t.to)}));var n=jQuery('<rs-bullet data-key="'+o+'" class="tp-bullet">'+s+"</rs-bullet>");void 0!==t[r].thumbs[a.index()]&&n.find(".tp-bullet-image").css({backgroundImage:"url("+t[r].thumbs[a.index()].src+")"}),i.c.append(n),e.append(i.c);var l=i.c.find(".tp-bullet").length,d=n.outerWidth(),c=n.outerHeight(),p=d+parseInt(void 0===i.space?0:i.space,0),g=c+parseInt(void 0===i.space?0:i.space,0);"vertical"===i.direction?(n.css({top:(l-1)*g+"px",left:"0px"}),i.c.css({height:(l-1)*g+c,width:d})):(n.css({left:(l-1)*p+"px",top:"0px"}),i.c.css({width:(l-1)*p+d,height:c})),n.on("click",(function(){"carousel"===t[r].sliderType&&(t[r].ctNavElement=!0),t[r].sc_indicator="bullet",e.revcallslidewithid(o),e.find(".tp-bullet").removeClass("selected"),jQuery(this).addClass("selected")})),i.padding_top=parseInt(t[r].carousel.padding_top||0,0),i.padding_bottom=parseInt(t[r].carousel.padding_bottom||0,0),"outer-left"!=i.position&&"outer-right"!=i.position||(t[r].outernav=!0)},_=function(e,i,a,r,o){var s="tp-thumb"===r?".tp-thumbs":".tp-tabs",n="tp-thumb"===r?".tp-thumb-mask":".tp-tab-mask",l="tp-thumb"===r?".tp-thumbs-inner-wrapper":".tp-tabs-inner-wrapper",d="tp-thumb"===r?".tp-thumb":".tp-tab",c="tp-thumb"===r?".tp-thumb-image":".tp-tab-image",p="tp-thumb"===r?"rs-thumb":"rs-tab";i.type=r,i.visibleAmount=i.visibleAmount>t[o].slideamount?t[o].slideamount:i.visibleAmount,i.sliderLayout=t[o].sliderLayout,void 0===i.c&&(i.wpad=i.wrapper_padding,i.c=jQuery("<"+p+'s style="opacity:0" class="nav-dir-'+i.direction+" nav-pos-ver-"+i.v_align+" nav-pos-hor-"+i.h_align+" rs-nav-element "+r+"s "+(!0===i.span?"tp-span-wrapper":"")+" "+i.position+" "+(void 0===i.style?"":i.style)+'"><rs-navmask class="'+r+'-mask" style="overflow:hidden;position:relative"><'+p+'s-wrap class="'+r+'s-inner-wrapper" style="position:relative;"></'+p+"s-wrap></rs-navmask></"+p+"s>"),i.c.css({overflow:"visible",position:"outer-top"===i.position||"outer-bottom"===i.position?"relative":"absolute",background:i.wrapper_color,padding:i.wpad+"px",boxSizing:"contet-box"}),"outer-top"===i.position?e.parent().prepend(i.c):"outer-bottom"===i.position?e.after(i.c):e.append(i.c),"outer-left"!==i.position&&"outer-right"!==i.position||tpGS.gsap.set(t[o].c,{overflow:"visible"}),i.padding_top=parseInt(t[o].carousel.padding_top||0,0),i.padding_bottom=parseInt(t[o].carousel.padding_bottom||0,0),"outer-left"!=i.position&&"outer-right"!=i.position||(t[o].outernav=!0));var g=a.data("key"),u=i.c.find(n),h=u.find(l),m=i.tmp;i.space=parseFloat(i.space)||0,i.maxw="horizontal"===i.direction?i.width*i.visibleAmount+i.space*(i.visibleAmount-1):i.width,i.maxh="horizontal"===i.direction?i.height:i.height*i.visibleAmount+i.space*(i.visibleAmount-1),i.maxw+=2*i.mhoff,i.maxh+=2*i.mvoff,void 0!==t[o].thumbs[a.index()]&&jQuery.each(t[o].thumbs[a.index()].params,(function(e,t){m=m.replace(t.from,t.to)}));var v=jQuery("<"+p+' data-liindex="'+a.index()+'" data-key="'+g+'" class="'+r+'" style="width:'+i.width+"px;height:"+i.height+'px;">'+m+"<"+p+">");void 0!==t[o].thumbs[a.index()]&&v.find(c).css({backgroundImage:"url("+t[o].thumbs[a.index()].src+")"}),h.append(v);var f=i.c.find(d).length,y=v.outerWidth(),w=v.outerHeight(),b=y+parseInt(void 0===i.space?0:i.space,0),_=w+parseInt(void 0===i.space?0:i.space,0);"vertical"===i.direction?(v.css({top:(f-1)*_+"px",left:"0px"}),h.css({height:(f-1)*_+w,width:y})):(v.css({left:(f-1)*b+"px",top:"0px"}),h.css({width:(f-1)*b+y,height:w})),u.css({maxWidth:i.maxw+"px",maxHeight:i.maxh+"px"}),i.c.css({maxWidth:i.maxw+"px",maxHeight:i.maxh+"px"}),v.on("click",(function(){t[o].sc_indicator="bullet","carousel"===t[o].sliderType&&(t[o].ctNavElement=!0);var i=e.parent().find(l).data("distance");i=void 0===i?0:i,Math.abs(i)<10&&(e.revcallslidewithid(g),e.parent().find(s).removeClass("selected"),jQuery(this).addClass("selected"))}))},S=function(e,i,a){return null==e||void 0===e.c||(e.hide_under>t[i].canv.width||t[i].canv.width>e.hide_over?(!0!==e.tpForceNotVisible&&(e.c.addClass("tp-forcenotvisible"),e.isVisible=!1,a=!0),e.tpForceNotVisible=!0):(!1!==e.tpForceNotVisible&&(e.c.removeClass("tp-forcenotvisible"),e.isVisible=!0,a=!0),e.tpForceNotVisible=!1)),a};window.RS_MODULES=window.RS_MODULES||{},window.RS_MODULES.navigation={loaded:!0,version:"6.6.0"},window.RS_MODULES.checkMinimal&&window.RS_MODULES.checkMinimal()}(jQuery),function(e){"use strict";window._R_is_Editor?RVS._R=void 0===RVS._R?{}:RVS._R:window._R_is_Editor=!1,jQuery.fn.revolution=jQuery.fn.revolution||{};var t=_R_is_Editor?RVS._R:jQuery.fn.revolution;jQuery.extend(!0,t,{bgW:function(e,i){return _R_is_Editor?RVS.RMD.width:"carousel"===t[e].sliderType?t[e].justifyCarousel?t[e].carousel.slide_widths[void 0!==i?i:t[e].carousel.focused]:t[e].carousel.slide_width:t[e].module.width},bgH:function(e,i){return _R_is_Editor?RVS.RMD.height:"carousel"===t[e].sliderType?t[e].carousel.slide_height:t[e].module.height},getPZSides:function(e,t,i,a,r,o,s){var n=e*i,l=t*i,d=Math.abs(a-n),c=Math.abs(r-l),p=new Object;return p.l=(0-o)*d,p.r=p.l+n,p.t=(0-s)*c,p.b=p.t+l,p.h=o,p.v=s,p},getPZCorners:function(e,i,a,r){var o=e.bgposition.split(" ")||"center center",s="center"==o[0]?"50%":"left"==o[0]||"left"==o[1]?"0%":"right"==o[0]||"right"==o[1]?"100%":o[0],n="center"==o[1]?"50%":"top"==o[0]||"top"==o[1]?"0%":"bottom"==o[0]||"bottom"==o[1]?"100%":o[1];s=parseInt(s,0)/100||0,n=parseInt(n,0)/100||0;var l=new Object;return l.start=t.getPZSides(r.start.width,r.start.height,r.start.scale,i,a,s,n),l.end=t.getPZSides(r.start.width,r.start.height,r.end.scale,i,a,s,n),l},getPZValues:function(e){var t=e.panzoom.split(";"),i={duration:10,ease:"none",scalestart:1,scaleend:1,rotatestart:.01,rotateend:0,blurstart:0,blurend:0,offsetstart:"0/0",offsetend:"0/0"};for(var a in t)if(t.hasOwnProperty(a)){var r=t[a].split(":"),o=r[0],s=r[1];switch(o){case"d":i.duration=parseInt(s,0)/1e3;break;case"e":i.ease=s;break;case"ss":i.scalestart=parseInt(s,0)/100;break;case"se":i.scaleend=parseInt(s,0)/100;break;case"rs":i.rotatestart=parseInt(s,0);break;case"re":i.rotateend=parseInt(s,0);break;case"bs":i.blurstart=parseInt(s,0);break;case"be":i.blurend=parseInt(s,0);break;case"os":i.offsetstart=s;break;case"oe":i.offsetend=s}}return i.offsetstart=i.offsetstart.split("/")||[0,0],i.offsetend=i.offsetend.split("/")||[0,0],i.rotatestart=0===i.rotatestart?.01:i.rotatestart,e.panvalues=i,e.bgposition="center center"==e.bgposition?"50% 50%":e.bgposition,i},pzCalcL:function(e,i,a){var r,o,s,n,l,d,c=void 0===a.panvalues?jQuery.extend(!0,{},t.getPZValues(a)):jQuery.extend(!0,{},a.panvalues),p=c.offsetstart,g=c.offsetend,u={start:{width:e,height:_R_is_Editor?e/a.loadobj.width*a.loadobj.height:e/a.owidth*a.oheight,rotation:Math.PI/180*c.rotatestart,rotationV:c.rotatestart,scale:c.scalestart,transformOrigin:"0% 0%"},end:{rotation:Math.PI/180*c.rotateend,rotationV:c.rotateend,scale:c.scaleend}};c.scalestart,a.owidth,a.oheight,c.scaleend,a.owidth,a.oheight;return u.start.height<i&&(d=i/u.start.height,u.start.height=i,u.start.width=u.start.width*d),.01===c.rotatestart&&0===c.rotateend&&(delete u.start.rotation,delete u.end.rotation),r=t.getPZCorners(a,e,i,u),p[0]=parseFloat(p[0])+r.start.l,g[0]=parseFloat(g[0])+r.end.l,p[1]=parseFloat(p[1])+r.start.t,g[1]=parseFloat(g[1])+r.end.t,o=r.start.r-r.start.l,s=r.start.b-r.start.t,n=r.end.r-r.end.l,l=r.end.b-r.end.t,p[0]=p[0]>0?0:o+p[0]<e?e-o:p[0],g[0]=g[0]>0?0:n+g[0]<e?e-n:g[0],p[1]=p[1]>0?0:s+p[1]<i?i-s:p[1],g[1]=g[1]>0?0:l+g[1]<i?i-l:g[1],u.start.x=p[0],u.start.y=p[1],u.end.x=g[0],u.end.y=g[1],u.end.ease=c.ease,u},pzDrawShadow:function(e,i,a){("animating"===i.currentState||null==i.panFake||i.pzLastFrame)&&(i.pzLastFrame=!1,i.shadowCTX.clearRect(0,0,i.shadowCanvas.width,i.shadowCanvas.height),i.shadowCTX.save(),void 0!==a.rotation?i.shadowCTX.transform(Math.cos(a.rotation)*a.scale,Math.sin(a.rotation)*a.scale,Math.sin(a.rotation)*-a.scale,Math.cos(a.rotation)*a.scale,a.x,a.y):i.shadowCTX.transform(a.scale,0,0,a.scale,a.x,a.y),i.shadowCTX.drawImage(i.loadobj.img,0,0,a.width,a.height),i.shadowCTX.restore()),"animating"!==i.currentState?null!=i.panFake?(i.panFake.visible||(i.panFake.visible=!0,i.panFake.img.style.opacity=1,i.canvas.style.opacity=0),tpGS.gsap.set(i.panFake.img,{width:a.width,height:a.height,force3D:!0,x:a.x,y:a.y,transformOrigin:"0% 0%",rotationZ:a.rotationV+"deg",scale:a.scale}),void 0!==a.blur&&(i.panFake.img.style.filter=0===a.blur?"none":"blur("+a.blur+"px)")):(t.updateSlideBGs(e,a.slidekey,i,!0),void 0!==a.blur&&(i.canvas.style.filter=0===a.blur?"none":"blur("+a.blur+"px)")):(void 0!==i.panFake&&!1!==i.panFake.visible&&(i.panFake.visible=!1,i.panFake.img.style.opacity=0,i.canvas.style.opacity=1,i.panFake.img.style.filter="none"),void 0!==a.blur&&i.canvasFilter?i.canvasFilterBlur=a.blur:i.canvas.style.filter=0===a.blur?"none":"blur("+a.blur+"px)")},startPanZoom:function(e,i,a,r,o,s){var n=_R_is_Editor?e:e.data();if(void 0!==n.panzoom&&null!==n.panzoom){var l=_R_is_Editor?n:t[i].sbgs[s];_R_is_Editor||"carousel"!==t[i].sliderType||(t[i].carousel.justify&&void 0===t[i].carousel.slide_widths&&t.setCarouselDefaults(i,!0),t[i].carousel.justify||(void 0===t[i].carousel.slide_width&&(t[i].carousel.slide_width=!0!==t[i].carousel.stretch?t[i].gridwidth[t[i].level]*(0===t[i].CM.w?1:t[i].CM.w):t[i].canv.width),void 0===t[i].carousel.slide_height&&(t[i].carousel.slide_height=!0!==t[i].carousel.stretch?t[i].gridheight[t[i].level]*(0===t[i].CM.w?1:t[i].CM.w):t[i].canv.height)));var d,c=t.getmDim(i,r,l),p=t.pzCalcL(c.width,c.height,n);l.pzAnim=p,_R_is_Editor||(t[i].panzoomTLs=void 0===t[i].panzoomTLs?{}:t[i].panzoomTLs,t[i].panzoomBGs=void 0===t[i].panzoomBGs?{}:t[i].panzoomBGs,void 0===t[i].panzoomBGs[r]&&(t[i].panzoomBGs[r]=e),d=t[i].panzoomTLs[r]),a=a||0,void 0!==d&&(d.pause(),d.kill(),d=void 0),d=tpGS.gsap.timeline({paused:!0}),n.panvalues.duration=NaN===n.panvalues.duration||void 0===n.panvalues.duration?10:n.panvalues.duration,_R_is_Editor||void 0===n||void 0===l||(l.panvalues=n.panvalues),void 0!==l&&(void 0===l.shadowCanvas&&(l.shadowCanvas=document.createElement("canvas"),l.shadowCTX=l.shadowCanvas.getContext("2d"),l.shadowCanvas.style.background="transparent",l.shadowCanvas.style.opacity=1),l.shadowCanvas.width!==c.width&&(l.shadowCanvas.width=c.width),l.shadowCanvas.height!==c.height&&(l.shadowCanvas.height=c.height),p.slideindex=r,p.slidekey=_R_is_Editor?void 0:s,p.start.slidekey=p.slidekey,t.pzDrawShadow(i,l,p.start),p.end.onUpdate=function(){t.pzDrawShadow(i,l,p.start)},l.panStart=jQuery.extend(!0,{},p.start),void 0===n.panvalues.blurstart||void 0===n.panvalues.blurend||0===n.panvalues.blurstart&&0===n.panvalues.blurend||(p.start.blur=n.panvalues.blurstart,p.end.blur=n.panvalues.blurend),(!_R_is_Editor&&void 0===p.start.blur&&!t.isFF||window.isSafari11&&t.ISM)&&(l.panFake=void 0===l.panFake?{img:l.loadobj.img.cloneNode(!0)}:l.panFake,void 0!==l.panFake&&(!0!==l.panFake.appended&&(l.panFake.appended=!0,l.sbg.appendChild(l.panFake.img),l.panFake.img.style.position="absolute",l.panFake.img.style.display="block",l.panFake.img.style.zIndex=0,l.panFake.img.style.opacity=0,l.panFake.img.style.top="0px",l.panFake.img.style.left="0px"),l.panFake.img.width=p.start.width,l.panFake.img.height=p.start.height)),d.add(tpGS.gsap.to(p.start,n.panvalues.duration,p.end),0),d.progress(a),"play"!==o&&"first"!==o||d.play(),_R_is_Editor?RVS.TL[RVS.S.slideId].panzoom=d:t[i].panzoomTLs[r]=d)}}}),window.RS_MODULES=window.RS_MODULES||{},window.RS_MODULES.panzoom={loaded:!0,version:"6.6.0"},window.RS_MODULES.checkMinimal&&window.RS_MODULES.checkMinimal()}(jQuery),function(e){"use strict";jQuery.fn.revolution=jQuery.fn.revolution||{};var t=jQuery.fn.revolution;jQuery.extend(!0,t,{checkForParallax:function(e){var r=t[e].parallax;if(!r.done){if(r.done=!0,t.ISM&&r.disable_onmobile)return!1;if("3D"==r.type||"3d"==r.type){if(t.addSafariFix(e),tpGS.gsap.set(t[e].c,{overflow:r.ddd_overflow}),tpGS.gsap.set(t[e].canvas,{overflow:r.ddd_overflow}),("carousel"!=t[e].sliderType||"carousel"==t[e].sliderType&&"mousedrag"==t[e].parallax.type)&&r.ddd_shadow){var o=jQuery('<div class="dddwrappershadow"></div>');tpGS.gsap.set(o,{force3D:"auto",transformPerspective:1600,transformOrigin:"50% 50%",width:"100%",height:"100%",position:"absolute",top:0,left:0,zIndex:0}),t[e].c.prepend(o)}for(var s in t[e].slides)t[e].slides.hasOwnProperty(s)&&i(jQuery(t[e].slides[s]),e);t[e].c.find("rs-static-layers").length>0&&(tpGS.gsap.set(t[e].c.find("rs-static-layers"),{top:0,left:0,width:"100%",height:"100%"}),i(t[e].c.find("rs-static-layers"),e))}r.pcontainers={},r.bgcontainers=[],r.bgcontainer_depths=[],r.speed=void 0===r.speed?0:parseInt(r.speed,0),r.speedbg=void 0===r.speedbg?0:parseInt(r.speedbg,0),r.speedls=void 0===r.speedls?0:parseInt(r.speedls,0),t[e].c.find("rs-slide rs-sbg-wrap, rs-slide rs-bgvideo").each((function(){var i=jQuery(this),a=i.data("parallax");window.isSafari11||(t[e].parZ=1),void 0!==(a="on"==a||!0===a?1:a)&&"off"!==a&&!1!==a&&(r.bgcontainers.push(i.closest("rs-sbg-px")),r.bgcontainer_depths.push(t[e].parallax.levels[parseInt(a,0)-1]/100))}));for(s=1;s<=r.levels.length;s++){for(var n in t[e].slides)if(t[e].slides.hasOwnProperty(n)){var l=(c=t[e].slides[n]).dataset.key;void 0===r.pcontainers[l]&&(r.pcontainers[l]={}),a(s,r,c,r.pcontainers[l])}l="static";void 0===r.pcontainers[l]&&(r.pcontainers[l]={}),a(s,r,t[e].slayers[0],r.pcontainers[l]),JSON.stringify(r.pcontainers[l])==JSON.stringify({})&&delete r.pcontainers[l]}if("mouse"==r.type||"mousedrag"==r.type||"mousescroll"==r.type||"3D"==r.type||"3d"==r.type){var d="rs-slide .dddwrapper, .dddwrappershadow, rs-slide .dddwrapper-layer, rs-static-layers .dddwrapper-layer";for(var n in"carousel"===t[e].sliderType&&(d="rs-slide .dddwrapper, rs-slide .dddwrapper-layer, rs-static-layers .dddwrapper-layer"),r.sctors={},t[e].slides)if(t[e].slides.hasOwnProperty(n)){var c;l=(c=t[e].slides[n]).dataset.key;r.sctors[l]=c.querySelectorAll(d)}t[e].slayers[0]&&(r.sctors.static=t[e].slayers[0].querySelectorAll(d)),r.mouseEntered=!1,t[e].c.on("mouseenter",(function(i){var a=t[e].c.offset().top,o=t[e].c.offset().left;r.mouseEnterX=i.pageX-o,r.mouseEnterY=i.pageY-a,r.mouseEntered=!0})),r.parallaxHandler=this.updateParallax.bind(this,e,r),r.hasAlreadyPermission=!1,"mousedrag"!=r.type&&t[e].c.on("mousemove.hoverdir, mouseleave.hoverdir, trigger3dpath",(function(e){r.eventData=e,void 0!==r.frame&&"mouseleave"!==e.type||(r.frame=window.requestAnimationFrame(r.parallaxHandler))})),t.ISM&&(t.modulesNeedOrientationListener=null==t.modulesNeedOrientationListener?{}:t.modulesNeedOrientationListener,t.modulesNeedOrientationListener[e]=!0,t.addDeviceOrientationListener(e))}var p=t[e].scrolleffect;p.set&&(p.multiplicator_layers=parseFloat(p.multiplicator_layers),p.multiplicator=parseFloat(p.multiplicator)),void 0!==p._L&&0===p._L.length&&(p._L=!1),void 0!==p.bgs&&0===p.bgs.length&&(p.bgs=!1)}},removeIOSPermissionWait:function(){document.querySelectorAll(".iospermaccwait").forEach((function(e){e.classList.add("permanenthidden")}))},addDeviceOrientationListener:function(e){var i=t[e].parallax;window.addEventListener("deviceorientation",(function(a){t.modulesNeedOrientationListener[e]&&(t.modulesNeedOrientationListener[e]=!1,t.removeIOSPermissionWait()),i.eventData=a,void 0===i.frame&&(i.frame=window.requestAnimationFrame(i.parallaxHandler))}))},getAccelerationPermission:function(e){DeviceMotionEvent.requestPermission().then((function(e){if("granted"==e)for(var i in t.modulesNeedOrientationListener)t.modulesNeedOrientationListener.hasOwnProperty(i)&&(t.modulesNeedOrientationListener[i]=!1,t.removeIOSPermissionWait(),t.addDeviceOrientationListener(i))}))},getLayerParallaxOffset:function(e,i,a){return void 0!==t[e].parallax&&void 0!==t[e].parallax.pcontainers&&void 0!==t[e].parallax.pcontainers[t[e]._L[i].slidekey]&&void 0!==t[e].parallax.pcontainers[t[e]._L[i].slidekey][i]?Math.abs(t[e].parallax.pcontainers[t[e]._L[i].slidekey][i]["offs"+a]):0},updateParallax:function(e,i){i.frame&&(i.frame=window.cancelAnimationFrame(i.frame));var a,r,o=i.eventData,s=t[e].c.offset().left,n=t[e].c.offset().top,l=t[e].canv.width,d=t[e].canv.height,c=i.speed/1e3||3;if("mousedrag"==i.type?(r=-20*t[e].carousel.delta,a=-20*t[e].carousel.delta,t[e].carousel.fromWheel?"v"===t[e].carousel.orientation?a=0:r=0:"v"===t[e].carousel.orientation?a=t[e].carousel.cX-t[e].carousel.lerpX:r=t[e].carousel.cY-t[e].carousel.lerpY):"enterpoint"==i.origo&&"deviceorientation"!==o.type?(!1===i.mouseEntered&&(i.mouseEnterX=o.pageX-s,i.mouseEnterY=o.pageY-n,i.mouseEntered=!0),a=i.mouseEnterX-(o.pageX-s),r=i.mouseEnterY-(o.pageY-n),c=i.speed/1e3||.4):"deviceorientation"!==o.type&&(a=l/2-(o.pageX-s),r=d/2-(o.pageY-n)),("mousedrag"!=t[e].parallax.type||t[e].carousel.isPressed)&&o&&"deviceorientation"==o.type){var p,g,u;p=o.beta-60,g=o.gamma,u=p;var h=Math.abs(i.orientationX-g)>1||Math.abs(i.orientationY-u)>1;if(i.orientationX=g,i.orientationY=u,!h)return;if(t.winW>t.getWinH(e)){var m=g;g=u,u=m}a=360/l*(g*=1.5),r=180/d*(u*=1.5)}for(var v in!o||"mouseleave"!==o.type&&"mouseout"!==o.type?"mousedrag"==t[e].parallax.type&&t[e].carousel.isPressed&&("v"===t[e].carousel.orientation&&"same"==i.car_dir&&(a=0),"same"==i.car_dir?"v"===t[e].carousel.orientation?a=0:r=0:"opposite"==i.car_dir&&("v"===t[e].carousel.orientation?(a=r,r=0):(r=a,a=0)),"v"===t[e].carousel.orientation?(r*=i.car_smulti,a*=i.car_omulti):(r*=i.car_omulti,a*=i.car_smulti)):i.mouseEntered=!1,i.pcontainers)if(i.pcontainers.hasOwnProperty(v)){var f=!1;if("mousedrag"==i.type&&!t[e].carousel.justify)for(var y=0;y<t[e].slideamount;y++)t[e].carousel.trackArr[y].elem.getAttribute("data-key")===v&&Math.abs(t[e].carousel.trackArr[y].progress<=1)&&(f=!0);if(void 0===t[e].activeRSSlide||"static"===v||f&&"all"==i.car_env||t[e].slides[t[e].activeRSSlide].dataset.key===v)for(var y in i.pcontainers[v])if(i.pcontainers[v].hasOwnProperty(y)){var w=i.pcontainers[v][y];w.pl="3D"==i.type||"3d"==i.type?w.depth/200:w.depth/100,w.offsh=a*w.pl,w.offsv=r*w.pl,"mousescroll"==i.type?tpGS.gsap.to(w.tpw,c,{force3D:"auto",x:w.offsh,ease:"power3.out",overwrite:"all"}):tpGS.gsap.to(w.tpw,c,{force3D:"auto",x:w.offsh,y:w.offsv,ease:"power3.out",overwrite:"all"})}}if("3D"==i.type||"3d"==i.type)for(var v in i.sctors)if(i.sctors.hasOwnProperty(v)&&(void 0===t[e].activeRSSlide||"static"===v||t[e].slides[t[e].activeRSSlide].dataset.key===v||t.isFF))for(var y in i.sctors[v])if(i.sctors[v].hasOwnProperty(y)){n=jQuery(i.sctors[v][y]);var b=t.isFirefox()?Math.min(25,i.levels[i.levels.length-1])/200:i.levels[i.levels.length-1]/200,_=a*b,S=r*b,x=0==t[e].canv.width?0:Math.round(a/t[e].canv.width*b*100)||0,k=0==t[e].canv.height?0:Math.round(r/t[e].canv.height*b*100)||0,R=n.closest("rs-slide"),O=0,L=!1;"deviceorientation"===o.type&&(_=a*(b=i.levels[i.levels.length-1]/200),S=r*b*3,x=0==t[e].canv.width?0:Math.round(a/t[e].canv.width*b*500)||0,k=0==t[e].canv.height?0:Math.round(r/t[e].canv.height*b*700)||0),n.hasClass("dddwrapper-layer")&&(O=i.ddd_z_correction||65,L=!0),n.hasClass("dddwrapper-layer")&&(_=0,S=0),R.index()===t[e].pr_active_key||"carousel"!=t[e].sliderType||"carousel"==t[e].sliderType&&"mousedrag"==t[e].parallax.type?!i.ddd_bgfreeze||L?tpGS.gsap.to(n,c,{rotationX:k,rotationY:-x,x:_,z:O,y:S,ease:"power3.out",overwrite:"all"}):tpGS.gsap.to(n,.5,{force3D:"auto",rotationY:0,rotationX:0,z:0,ease:"power3.out",overwrite:"all"}):tpGS.gsap.to(n,.5,{force3D:"auto",rotationY:0,x:0,y:0,rotationX:0,z:0,ease:"power3.out",overwrite:"all"}),"mouseleave"!=o.type&&"mouseout"!==o.type||tpGS.gsap.to(this,3.8,{z:0,ease:"power3.out"})}},parallaxProcesses:function(e,i,a,r){var o=t[e].fixedOnTop?Math.min(1,Math.max(0,window.scrollY/t.lastwindowheight)):Math.min(1,Math.max(0,(0-(i.top-t.lastwindowheight))/(i.hheight+t.lastwindowheight))),s=(i.top>=0&&i.top<=t.lastwindowheight||i.top<=0&&i.bottom>=0||i.top<=0&&i.bottom,t[e].slides[void 0===t[e].pr_active_key?0:t[e].pr_active_key]);if(t[e].scrollProg=o,t[e].scrollProgBasics={top:i.top,height:i.hheight,bottom:i.bottom},t[e].sbtimeline.fixed?(!1===t[e].fixedScrollOnState||0!==t[e].drawUpdates.cpar.left||!t.stickySupported||0!=t[e].fullScreenOffsetResult&&null!=t[e].fullScreenOffsetResult?t.stickySupported=!1:(t[e].topc.addClass("rs-stickyscrollon"),t[e].fixedScrollOnState=!0),void 0===t[e].sbtimeline.rest&&t.updateFixedScrollTimes(e),i.top>=t[e].fullScreenOffsetResult&&i.top<=t.lastwindowheight?(o=t[e].sbtimeline.fixStart*(1-i.top/t.lastwindowheight)/1e3,!0!==t.stickySupported&&!1!==t[e].fixedScrollOnState&&(t[e].topc.removeClass("rs-fixedscrollon"),tpGS.gsap.set(t[e].cpar,{top:0,y:0}),t[e].fixedScrollOnState=!1)):i.top<=t[e].fullScreenOffsetResult&&i.bottom>=t[e].module.height?(!0!==t.stickySupported&&!0!==t[e].fixedScrollOnState&&(t[e].fixedScrollOnState=!0,t[e].topc.addClass("rs-fixedscrollon"),tpGS.gsap.set(t[e].cpar,{top:0,y:t[e].fullScreenOffsetResult})),o=(t[e].sbtimeline.fixStart+t[e].sbtimeline.time*(Math.abs(i.top)/(i.hheight-t[e].module.height)))/1e3):(!0!==t.stickySupported&&(tpGS.gsap.set(t[e].cpar,{top:t[e].scrollproc>=0?0:i.height-t[e].module.height}),!1!==t[e].fixedScrollOnState&&(t[e].topc.removeClass("rs-fixedscrollon"),t[e].fixedScrollOnState=!1)),o=i.top>t.lastwindowheight?0:(t[e].sbtimeline.fixEnd+t[e].sbtimeline.rest*(1-i.bottom/t[e].module.height))/1e3)):o=t[e].duration*o/1e3,void 0!==s&&void 0!==t.gA(s,"key")&&!0!==a){var n=0;for(var l in t[e].sbas[t.gA(s,"key")])if(void 0!==t[e]._L[l]&&null==t[e]._L[l].timeline&&n++,void 0!==t[e]._L[l]&&void 0!==t[e]._L[l].timeline&&(1==t[e]._L[l].animationonscroll||"true"==t[e]._L[l].animationonscroll)){n=-9999;var d=void 0!==t[e]._L[l].scrollBasedOffset?o+t[e]._L[l].scrollBasedOffset:o;d=d<=0?0:d<.1?.1:d,t[e]._L[l].animteToTime!==d&&(t[e]._L[l].animteToTimeCache=t[e]._L[l].animteToTime,t[e]._L[l].animteToTime=d,tpGS.gsap.to(t[e]._L[l].timeline,t[e].sbtimeline.speed,{time:d,ease:t[e].sbtimeline.ease}))}n>0&&requestAnimationFrame((function(){t.parallaxProcesses(e,i,a,r)})),t[e].c.trigger("timeline_scroll_processed",{id:e,mproc:o,speed:t[e].sbtimeline.speed})}if(t.ISM&&t[e].parallax.disable_onmobile)return!1;var c,p=t[e].parallax;if(void 0!==t[e].slides[t[e].pr_processing_key]&&void 0!==t[e].slides[t[e].pr_processing_key].dataset&&(c=t[e].slides[t[e].pr_processing_key].dataset.key),"3d"!=p.type&&"3D"!=p.type){if("scroll"==p.type||"mousescroll"==p.type)for(var g in p.pcontainers)if(p.pcontainers.hasOwnProperty(g)&&(void 0===t[e].activeRSSlide||"static"===g||t[e].slides[t[e].activeRSSlide].dataset.key===g||c===g))for(var u in p.pcontainers[g])if(p.pcontainers[g].hasOwnProperty(u)){var h=p.pcontainers[g][u],m=void 0!==r?r:p.speedls/1e3||0;h.pl=h.depth/100,h.offsv=Math.round(t[e].scrollproc*(-h.pl*t[e].canv.height)*10)/10||0,tpGS.gsap.to(h.tpw,m,{overwrite:"auto",force3D:"auto",y:h.offsv})}if(p.bgcontainers)for(u=0;u<p.bgcontainers.length;u++){var v=p.bgcontainers[u],f=p.bgcontainer_depths[u],y=t[e].scrollproc*(-f*t[e].canv.height)||0;m=void 0!==r?r:p.speedbg/1e3||.015;m=void 0!==t[e].parallax.lastBGY&&0===m&&Math.abs(y-t[e].parallax.lastBGY)>50?.15:m,tpGS.gsap.to(v,m,{position:"absolute",top:"0px",left:"0px",backfaceVisibility:"hidden",force3D:"true",y:y+"px"}),t[e].parallax.lastBGY=y}}var w=t[e].scrolleffect;if(w.set&&(!t.ISM||!1===w.disable_onmobile)){var b=Math.abs(t[e].scrollproc)-w.tilt/100;if(b=b<0?0:b,!1!==w._L){var _=1-b*w.multiplicator_layers,S={force3D:"true"};if("top"==w.direction&&t[e].scrollproc>=0&&(_=1),"bottom"==w.direction&&t[e].scrollproc<=0&&(_=1),_=_>1?1:_<0?0:_,w.fade&&(S.opacity=_),w.scale){var x=_;S.scale=1-x+1}if(w.blur)O=(O=(1-_)*w.maxblur)<=.03?0:O,S["-webkit-filter"]="blur("+O+"px)",S.filter="blur("+O+"px)",window.isSafari11&&void 0!==w._L&&void 0!==w._L[0]&&void 0!==w._L[0][0]&&"RS-MASK-WRAP"==w._L[0][0].tagName&&(S.z=.001);if(w.grayscale){var k="grayscale("+100*(1-_)+"%)";S["-webkit-filter"]=void 0===S["-webkit-filter"]?k:S["-webkit-filter"]+" "+k,S.filter=void 0===S.filter?k:S.filter+" "+k}tpGS.gsap.set(w._L,S)}if(!1!==w.bgs){_=1-b*w.multiplicator,S={backfaceVisibility:"hidden",force3D:"true"};for(var R in"top"==w.direction&&t[e].scrollproc>=0&&(_=1),"bottom"==w.direction&&t[e].scrollproc<=0&&(_=1),_=_>1?1:_<0?0:_,w.bgs)if(w.bgs.hasOwnProperty(R)){if(w.bgs[R].fade&&(S.opacity=_),w.bgs[R].blur){var O=(1-_)*w.maxblur;S["-webkit-filter"]="blur("+O+"px)",S.filter="blur("+O+"px)"}if(w.bgs[R].grayscale){k="grayscale("+100*(1-_)+"%)";S["-webkit-filter"]=void 0===S["-webkit-filter"]?k:S["-webkit-filter"]+" "+k,S.filter=void 0===S.filter?k:S.filter+" "+k}tpGS.gsap.set(w.bgs[R].c,S)}}}}});var i=function(e,i){var a=t[i].parallax;e.find("rs-sbg-wrap").wrapAll('<div class="dddwrapper" style="width:100%;height:100%;position:absolute;top:0px;left:0px;overflow:hidden"></div>');var r=e[0].querySelectorAll(".rs-parallax-wrap"),o=document.createElement("div");o.className="dddwrapper-layer",o.style.width="100%",o.style.height="100%",o.style.position="absolute",o.style.top="0px",o.style.left="0px",o.style.zIndex=5,o.style.overflow=a.ddd_layer_overflow;for(var s=0;s<r.length;s++)r.hasOwnProperty(s)&&null===t.closestNode(r[s],"RS-GROUP")&&null===t.closestNode(r[s],"RS-ROW")&&o.appendChild(r[s]);e[0].appendChild(o),e.find(".rs-pxl-tobggroup").closest(".rs-parallax-wrap").wrapAll('<div class="dddwrapper-layertobggroup" style="position:absolute;top:0px;left:0px;z-index:50;width:100%;height:100%"></div>');var n=e.find(".dddwrapper"),l=e.find(".dddwrapper-layer");e.find(".dddwrapper-layertobggroup").appendTo(n),"carousel"==t[i].sliderType&&(a.ddd_shadow&&n.addClass("dddwrappershadow"),tpGS.gsap.set(n,{borderRadius:t[i].carousel.border_radius})),tpGS.gsap.set(e,{overflow:"visible",transformStyle:"preserve-3d",perspective:1600}),tpGS.gsap.set(n,{force3D:"auto",transformOrigin:"50% 50%",transformStyle:"preserve-3d",transformPerspective:1600}),tpGS.gsap.set(l,{force3D:"auto",transformOrigin:"50% 50%",zIndex:5,transformStyle:"flat",transformPerspective:1600}),tpGS.gsap.set(t[i].canvas,{transformStyle:"preserve-3d",transformPerspective:1600})};function a(i,a,r,o){e(r).find(".rs-pxl-"+i).each((function(){var e=this.className.indexOf("rs-pxmask")>=0,r=e?t.closestNode(this,"RS-PX-MASK"):t.closestClass(this,"rs-parallax-wrap");r&&(e&&!window.isSafari11&&(tpGS.gsap.set(r,{z:1}),tpGS.gsap.set(t.closestNode(r,"RS-BG-ELEM"),{z:1})),r.dataset.parallaxlevel=a.levels[i-1],r.classList.add("tp-parallax-container"),o[this.id]={tpw:r,depth:a.levels[i-1],offsv:0,offsh:0})}))}window.RS_MODULES=window.RS_MODULES||{},window.RS_MODULES.parallax={loaded:!0,version:"6.6.0"},window.RS_MODULES.checkMinimal&&window.RS_MODULES.checkMinimal()}(jQuery),function(e){"use strict";window._R_is_Editor?RVS._R=void 0===RVS._R?{}:RVS._R:window._R_is_Editor=!1;var t="power1.inOut",i="power2.inOut";jQuery.fn.revolution=jQuery.fn.revolution||{};var a=_R_is_Editor?RVS._R:jQuery.fn.revolution;_R_is_Editor&&(RVS._R.isNumeric=RVS.F.isNumeric),jQuery.extend(!0,a,{getSlideAnimationObj:function(e,t,i){var r,o={};for(var s in void 0===t.anim&&null==t.in&&(t.in="o:0"),t)if(t.hasOwnProperty(s)&&void 0!==t[s]){var n=t[s].split(";");for(var l in n)n.hasOwnProperty(l)&&void 0!==(r=n[l].split(":"))[0]&&void 0!==r[1]&&(o[s]=void 0===o[s]?{}:o[s],o[s][r[0]]="d3"===s&&"c"===r[0]?r[1]:r[1].split(",")[0])}return o.in=void 0===o.in?{}:o.in,o.anim=void 0===o.anim?{e:"basic"}:o.anim,_R_is_Editor||void 0===o.in||void 0===o.in.prst||a.loadSlideAnimLibrary(e,{key:i,prst:o.in.prst}),a[e].sbgs[i].slideanimationRebuild=!1,o},loadSlideAnimLibrary:function(e,t){void 0===a.SLTR&&!0!==a.SLTR_loading?(a.SLTR_loading=!0,jQuery.ajax({type:"post",url:a[e].ajaxUrl,dataType:"json",data:{action:"revslider_ajax_call_front",client_action:"get_transitions"},success:function(i,r,o){1==i.success&&(a.SLTR=i.transitions,void 0!==t&&a.setRandomDefaults(e,t.key,t.prst))},error:function(e){console.log("Transition Table can not be loaded"),console.log(e)}})):void 0!==t&&void 0!==a.SLTR&&a.setRandomDefaults(e,t.key,t.prst)},convertSlideAnimVals:function(e){return{anim:{eng:e.eng,ms:parseInt(e.speed,0),o:e.o,e:e.e,f:e.f,p:e.p,d:parseInt(e.d,0),adpr:e.adpr},d3:{f:e.d3.f,d:e.d3.d,z:e.d3.z,t:e.d3.t,c:e.d3.c,e:e.d3.e,fdi:e.d3.fdi,fdo:e.d3.fdo,fz:e.d3.fz,su:e.d3.su,smi:e.d3.smi,sma:e.d3.sma,sc:e.d3.sc,sl:e.d3.sl},in:{eng:e.in.eng,o:_R_is_Editor&&void 0!==e.preset&&0===e.preset.indexOf("rnd")?0:a.valBeau(e.in.o),x:a.valBeau(e.in.x),y:a.valBeau(e.in.y),r:a.valBeau(e.in.r),sx:a.valBeau(e.in.sx),sy:a.valBeau(e.in.sy),m:e.in.m,e:e.in.e,row:e.in.row,col:e.in.col,mo:"false"!==e.in.mou&&!1!==e.in.mou?a.valBeau(e.in.mo):0,moo:"false"!==e.in.mou&&!1!==e.in.mou?a.valBeau(e.in.moo):"none",mou:e.in.mou},out:void 0===e.out.a||"true"==e.out.a||!0===e.out.a?void 0:{a:c(e.out.a),o:a.valBeau(e.out.o),x:a.valBeau(e.out.x),y:a.valBeau(e.out.y),r:a.valBeau(e.out.r),sx:a.valBeau(e.out.sx),sy:a.valBeau(e.out.sy),m:e.out.m,e:e.out.e,row:a.valBeau(e.out.row),col:a.valBeau(e.out.col)},filter:{u:e.filter.u,e:e.filter.e,b:e.filter.b,g:e.filter.g,h:e.filter.h,s:e.filter.s,c:e.filter.c,i:e.filter.i},addOns:e.addOns}},setRandomDefaults:function(e,t,i){a[e].sbgs[t].random=a.getAnimObjectByKey(i,a.SLTR)},getSlideAnim_AddonDefaults:function(){var e={};for(var t in a.enabledSlideAnimAddons)e=jQuery.extend(!0,e,a[a.enabledSlideAnimAddons[t]].defaults());return e},getSlideAnim_EmptyObject:function(){return{speed:1e3,o:"inout",e:"basic",f:"start",p:"none",d:15,eng:"animateCore",adpr:!0,d3:{f:"none",d:"horizontal",z:300,t:0,c:"#ccc",e:"power2.inOut",fdi:1.5,fdo:2,fz:0,su:!1,smi:0,sma:.5,sc:"#000",sl:1},filter:{u:!1,e:"default",b:0,g:0,h:100,s:0,c:100,i:0},in:{o:1,x:0,y:0,r:0,sx:1,sy:1,m:!1,e:"power2.inOut",row:1,col:1,mo:80,mou:!1},out:{a:"true",o:1,x:0,y:0,r:0,sx:1,sy:1,m:!1,e:"power2.inOut",row:1,col:1},addOns:a.getSlideAnim_AddonDefaults()}},getAnimObjectByKey:function(e,t){if(a.getAnimObjectCacheKey===e)return a.getAnimObjectCache;var i;for(var r in a.getAnimObjectCacheKey=e,t)if(t.hasOwnProperty(r)&&void 0===i)for(var o in t[r])if(t[r].hasOwnProperty(o)&&void 0===i)if(e===o&&0===e.indexOf("rnd"))(i=t[r][o]).main=r,i.group=o;else for(var s in t[r][o])t[r][o].hasOwnProperty(s)&&void 0===i&&s===e&&((i=t[r][o][s]).main=r,i.group=o);return a.getAnimObjectCache=jQuery.extend(!0,{},i),i},getRandomSlideTrans:function(e,t,i){if(void 0!==a.randomSlideAnimCache&&void 0!==a.randomSlideAnimCache[e]&&void 0!==a.randomSlideAnimCache[e][t])return a.randomSlideAnimCache[e][t][Math.floor(Math.random()*a.randomSlideAnimCache[e][t].length)];for(var r in a.randomSlideAnimCache=void 0===a.randomSlideAnimCache?{}:a.randomSlideAnimCache,a.randomSlideAnimCache[e]=void 0===a.randomSlideAnimCache[e]?{}:a.randomSlideAnimCache[e],a.randomSlideAnimCache[e][t]=void 0===a.randomSlideAnimCache[e][t]?[]:a.randomSlideAnimCache[e][t],i)if(i.hasOwnProperty(r)&&"random"!==r&&"custom"!==r&&("all"==e||r==e))for(var o in i[r])if(i[r].hasOwnProperty(o)&&"icon"!==o&&(""+t=="undefined"||t.indexOf(o)>=0))for(var s in i[r][o])i[r][o].hasOwnProperty(s)&&-1==jQuery.inArray(i[r][o][s].title,["*north*","*south*","*east*","*west*"])&&a.randomSlideAnimCache[e][t].push(s);return a.randomSlideAnimCache[e][t][Math.floor(Math.random()*a.randomSlideAnimCache[e][t].length)]},cbgW:function(e,t){return _R_is_Editor?RVS.RMD.width:"carousel"===a[e].sliderType?a[e].justifyCarousel?a[e].carousel.slide_widths[void 0!==t?t:a[e].carousel.focused]:a[e].carousel.slide_width:a[e].canv.width},cbgH:function(e,t){return _R_is_Editor?RVS.RMD.height:"carousel"===a[e].sliderType?"v"!=a[e].carousel.orientation||"fullscreen"!==a[e].sliderLayout&&!a[e].infullscreenmode?!0===a[e].carousel.justify?a[e].carousel.slide_height:"fullscreen"===a[e].sliderLayout||a[e].infullscreenmode?a[e].module.height:Math.min(a[e].canv.height,a[e].gridheight[a[e].level]):a[e].carousel.slide_height:void 0!==a[e].maxHeight&&a[e].maxHeight>0&&!a[e].fixedOnTop?Math.min(a[e].canv.height,a[e].maxHeight):a[e].canv.height},valBeau:function(e){return e=(""+(e=(""+(e=(""+(e=(""+(e=(""+e).split(",").join("|"))).replace("{","ran("))).replace("}",")"))).replace("[","cyc("))).replace("]",")")},animateSlide:function(e,t){return _R_is_Editor&&RVS.F.resetSlideTL(),void 0===tpGS.eases.late&&(tpGS.CustomEase.create("late","M0,0,C0,0,0.474,0.078,0.724,0.26,0.969,0.438,1,1,1,1"),tpGS.CustomEase.create("late2","M0,0 C0,0 0.738,-0.06 0.868,0.22 1,0.506 1,1 1,1 "),tpGS.CustomEase.create("late3","M0,0,C0,0,0.682,0.157,0.812,0.438,0.944,0.724,1,1,1,1")),n(e,t)},getBasic:function(e){return jQuery.extend(!0,{attr:null==e||void 0===e.attr?["o","r","sx","sy","x","y","m","e","row","col","mo","moo"]:e.attr,in:{f:"start",m:!1,o:1,r:0,sx:1,sy:1,x:0,y:0,row:1,col:1,e:i,ms:1e3,mo:0,moo:"none"},out:{f:"start",m:!1,o:1,r:0,sx:1,sy:1,x:0,y:0,row:1,col:1,e:i,ms:1e3}},e)},playBGVideo:function(e,t,i){if(_R_is_Editor)i=void 0===i?RVS.SBGS[RVS.S.slideId].n:i;else{if(void 0===i&&(void 0===a[e].pr_next_bg||0===a[e].pr_next_bg.length))return;i=void 0===i?a[e].sbgs[void 0===t?a[e].pr_next_bg[0].dataset.key:t]:i}void 0!==i.bgvid&&i.bgvid.length>0&&(g(e,{},i,"in"),a.resetVideo(i.bgvid,e),a.playVideo(i.bgvid,e,!0),tpGS.gsap.to(i.bgvid[0],.2,{zIndex:30,display:"block",autoAlpha:1,delay:.075,overwrite:"all"}))},stopBGVideo:function(e,t,i){if(_R_is_Editor)i=void 0===i?RVS.SBGS[RVS.S.slideId].n:i;else{if(void 0===i&&(void 0===a[e].pr_next_bg||0===a[e].pr_next_bg.length))return;i=void 0===i?a[e].sbgs[void 0===t?a[e].pr_next_bg[0].dataset.key:t]:i}void 0!==i.bgvid&&i.bgvid.length>0&&(i.drawVideoCanvasImagesRecall=!1,a.stopVideo(i.bgvid,e),tpGS.gsap.to(i.bgvid[0],.2,{autoAlpha:0,zIndex:0,display:"none"}))},SATools:{getOffset:function(e,t,i,r){var o=(""+e).indexOf("%")>=0;return 0==(e=a.SATools.getSpecialValue(e,r,i))||void 0===e?0:o?t*(parseInt(e)/100):parseInt(e)},getSpecialValue:function(e,t,i,r){if(a.isNumeric(parseFloat(e,0)))return parseFloat(e,0);var o=(""+e).split("ran(").length>1?"random":(""+e).split("cyc(").length>1?"wrap":(""+e).split("(").length>1?"dir":"unknown",s=("random"===o||"wrap"===o?e.slice(4,-1):e.slice(1,-1)).split("|");if("random"===o)return tpGS.gsap.utils.random(parseFloat(s[0]),parseFloat(s.length>1?s[1]:0-s[0]));if("wrap"===o){var n=tpGS.gsap.utils.wrap(s,t);return(""+n).split("(").length>1?parseFloat(n.slice(1,-1))*i+(r?"%":""):n}return"dir"===o?parseFloat(s[0])*i+(r?"%":""):void 0}},getmDim:function(e,t,i){var r=a.cbgW(e,t),o=a.cbgH(e,t);return i.DPR=_R_is_Editor?Math.min(window.devicePixelRatio,2):a[e].DPR,a.maxDimCheck(i,r,o)},maxDimCheck:function(e,t,i){var r,o;void 0!==e.video&&("img"===e.video.tagName||null==e.video.videoWidth||e.video.videoWidth);if("animating"!==e.currentState&&null==e.panzoom||"animating"===e.currentState&&null==e.panzoom&&(null==e.slideanimation||null==e.slideanimation.anim||"true"!==e.slideanimation.anim.adpr))if(e.DPR>1&&a.ISM&&i>1024)e.DPR=1,r=t,o=i;else{var s={w:null==e.video||e.isVidImg||0==e.video.videoWidth?e.loadobj.width:e.video.videoWidth,h:null==e.video||e.isVidImg||0==e.video.videoHeight?e.loadobj.height:e.video.videoHeight};void 0===s.w&&(s.w=e.loadobj.width),void 0===s.h&&(s.h=e.loadobj.height);var n=i/s.w,l=t/s.h,d=Math.max(n,l);if(d>e.DPR||n>=1&&l>=1?e.DPR=1:e.DPR>d&&(e.DPR=Math.min(e.DPR,e.DPR/d)),r=t*e.DPR,o=i*e.DPR,e.DPR>1){var c=t/i;s.w>s.h&&s.w<r?(o=(r=Math.max(r,s.w))/c,e.DPR=1):s.h>s.w&&s.h<o&&(r=(o=Math.max(o,s.h))*c,e.DPR=1)}}else e.DPR=1,r=t,o=i;return{width:Math.round(r),height:Math.round(o),w:t,h:i}},updateSlideBGs:function(e,t,i,r){if(_R_is_Editor)i=void 0===i?RVS.SBGS[RVS.S.slideId].n:i;else{if(void 0===i&&(void 0===a[e].pr_next_bg||0===a[e].pr_next_bg.length))return;i=void 0===i?a[e].sbgs[void 0===t?a[e].pr_next_bg[0].dataset.key:t]:i}(r=void 0!==i.mDIM&&r)||(i.mDIM=a.getmDim(e,i.skeyindex,i)),void 0!==i.video?("IMG"!==i.video.tagName&&(i.isVidImg=""),i.cDIMS=a.getBGCanvasDetails(e,i),i.canvas.width=i.mDIM.width,i.canvas.height=i.mDIM.height,i.ctx.clearRect(0,0,i.mDIM.width,i.mDIM.height),i.ctx.drawImage(i.shadowCanvas,0,0)):(i.cDIMS=a.getBGCanvasDetails(e,i,r),i.canvas.width=i.mDIM.width,i.canvas.height=i.mDIM.height,"panzoom"===i.currentState||"animating"===i.currentState||void 0===i.currentState&&!_R_is_Editor&&"carousel"!=a[e].sliderType||(i.ctx.clearRect(0,0,i.mDIM.width,i.mDIM.height),0!==i.shadowCanvas.width&&0!==i.shadowCanvas.height&&i.ctx.drawImage(i.shadowCanvas,0,0))),"animating"===i.currentState&&"carousel"!==a[e].sliderType&&a.animatedCanvasUpdate(e,i)},addCanvas:function(){var e=document.createElement("canvas");return x=e.getContext("2d"),e.style.background="transparent",e.style.opacity=1,x},updateVideoFrames:function(e,t,i){if(t.now=Date.now(),t.then=void 0===t.then?t.now-500:t.then,t.elapsed=t.now-t.then,t.fps="animating"===t.currentState&&window._rs_firefox?50:33,t.elapsed>t.fps){t.then=t.now-t.elapsed%t.fps;var r="img"===t.video.tagName||null==t.video.videoWidth||0==t.video.videoWidth;void 0!==t.video&&!t.video.BGrendered&&void 0!==t.loadobj&&void 0!==t.loadobj.img||a.ISM&&a.isFirefox(e)?(t.mDIM=a.getmDim(e,t.skeyindex,t),t.pDIMS=l(t.mDIM,t,{width:t.mDIM.width,height:t.mDIM.height,x:0,y:0,contw:t.loadobj.width,conth:t.loadobj.height}),t.shadowCanvas.width!==t.mDIM.width&&(t.shadowCanvas.width=t.mDIM.width),t.shadowCanvas.height!==t.mDIM.height&&(t.shadowCanvas.height=t.mDIM.height),t.shadowCTX.drawImage(t.loadobj.img,t.pDIMS.x,t.pDIMS.y,t.pDIMS.width,t.pDIMS.height)):((i||void 0===t.sDIMS||r!==t.isVidImg||0===t.sDIMS.width||0===t.sDIMS.height)&&(t.isVidImg=r,t.mDIM=a.getmDim(e,t.skeyindex,t),t.sDIMS=l(t.mDIM,t,{width:t.mDIM.width,height:t.mDIM.height,x:0,y:0,contw:t.isVidImg?t.loadobj.width:t.video.videoWidth,conth:t.isVidImg?t.loadobj.height:t.video.videoHeight})),void 0!==t.sDIMS&&0!==t.sDIMS.width&&0!==t.sDIMS.height&&("animating"===t.currentState?(t.shadowCanvas.width!==t.mDIM.width&&(t.shadowCanvas.width=t.mDIM.width),t.shadowCanvas.height!==t.mDIM.height&&(t.shadowCanvas.height=t.mDIM.height),t.shadowCTX.drawImage(t.video,t.sDIMS.x,t.sDIMS.y,t.sDIMS.width,t.sDIMS.height)):void 0===t.animateDirection&&(t.canvas.width!==t.mDIM.width&&(t.canvas.width=t.mDIM.width),t.canvas.height!==t.mDIM.height&&(t.canvas.height=t.mDIM.height),t.ctx.drawImage(t.video,t.sDIMS.x,t.sDIMS.y,t.sDIMS.width,t.sDIMS.height)),t.shadowCanvas_Drawn=!0))}(i||t.drawVideoCanvasImagesRecall&&"animating"===t.currentState||"animating"===t.currentState&&void 0===t.shadowCanvas_Drawn)&&window.requestAnimationFrame((function(){a.updateVideoFrames(e,t)}))},createOverlay:function(e,t,i,r){if("none"===t)return"none";i=void 0===i?1:i;r=void 0===r?{0:"rgba(0, 0, 0, 0)",1:"rgba(0, 0, 0, 1)"}:r;var o={none:[[0]],1:[[1,0],[0,0]],2:[[1,0,0],[0,0,0],[0,0,0]],3:[[1,0,0,0],[0,0,0,0],[0,0,0,0]],4:[[1],[0]],5:[[1],[0],[0]],6:[[1],[0],[0],[0]],7:[[1,0]],8:[[1,0,0]],9:[[1,0,0,0]],10:[[1,0,0,0,0],[0,1,0,1,0],[0,0,0,0,0],[0,1,0,1,0],[0,0,0,0,1]],11:[[0,0,1,0,0],[0,1,0,1,0],[1,0,0,0,1],[0,1,0,1,0],[0,0,1,0,0]],12:[[1,0,0],[0,1,0],[0,0,1]],13:[[0,0,1],[0,1,0],[1,0,0]],14:[[1,0,0,0,0],[0,1,0,0,0],[0,0,1,0,0],[0,0,0,1,0],[0,0,0,0,0]],15:[[0,0,0,0,1],[0,0,0,1,0],[0,0,1,0,0],[0,1,0,0,0],[1,0,0,0,0]],16:[[1,0,0,0,1],[0,1,0,1,0],[0,0,1,0,0],[0,1,0,1,0],[1,0,0,0,1]]},s=void 0===o[t=void 0===t?1:t]?o[2]:o[t];_R_is_Editor&&(a[e]=void 0===a[e]?{}:a[e]),a[e].patternCanvas=document.createElement("canvas"),a[e].patternCtx=a[e].patternCanvas.getContext("2d"),a[e].patternCanvas.width=s[0].length*i,a[e].patternCanvas.height=s.length*i;for(var n=0;n<s.length;n++)for(var l=0;l<s[n].length;l++)"transparent"!=r[s[n][l]]&&(a[e].patternCtx.fillStyle=r[s[n][l]],a[e].patternCtx.fillRect(l*i,n*i,i,i));return"url("+a[e].patternCanvas.toDataURL()+")"},getBGCanvasDetails:function(e,t,i){var r;return i||(t.mDIM=a.getmDim(e,t.skeyindex,t)),t.usepattern=("auto"===t.bgfit||t.bgfit.indexOf("%")>=0)&&(void 0===t.loadobj||!0!==t.loadobj.useBGColor),_R_is_Editor&&void 0===t.panzoom&&delete t.shadowCanvas,void 0===t.shadowCanvas&&(t.shadowCanvas=document.createElement("canvas"),t.shadowCTX=t.shadowCanvas.getContext("2d"),t.shadowCanvas.style.background="transparent",t.shadowCanvas.style.opacity=1),!0===t.replaceShadowCanvas||!0===t.loadobj.bgColor||!0===t.usebgColor||void 0!==t.panzoom||null!=t.isHTML5&&1!=t.poster||t.usepattern?(r={width:t.mDIM.width,height:t.mDIM.height,x:0,y:0},t.usepattern&&void 0!==t.loadobj&&void 0!==t.loadobj.img?a.getCanvasPattern(e,t,{ratio:t.loadobj.height/t.loadobj.width}):(t.loadobj.bgColor||t.usebgColor)&&(t.shadowCanvas.width!==t.mDIM.width&&(t.shadowCanvas.width=t.mDIM.width),t.shadowCanvas.height!==t.mDIM.height&&(t.shadowCanvas.height=t.mDIM.height),a.getCanvasGradients(e,t))):(r=l(t.mDIM,t,{width:t.mDIM.width,height:t.mDIM.height,x:0,y:0,contw:t.loadobj.width,conth:t.loadobj.height}),t.shadowCanvas.width!==t.mDIM.width&&(t.shadowCanvas.width=t.mDIM.width),t.shadowCanvas.height!==t.mDIM.height&&(t.shadowCanvas.height=t.mDIM.height),void 0!==t.loadobj&&void 0!==t.loadobj.img&&(t.shadowCTX.clearRect(r.x,r.y,r.width,r.height),t.shadowCTX.drawImage(t.loadobj.img,r.x,r.y,r.width,r.height)),r={width:t.mDIM.width,height:t.mDIM.height,x:0,y:0}),r},getCanvasPattern:function(e,t,i){void 0===t.patternImageCanvas&&(t.patternImageCanvas=document.createElement("canvas"),t.patternImageCTX=t.patternImageCanvas.getContext("2d"));var r=t.bgfit.split(" ");1===r.length&&(r[1]=r[0]),i.width="auto"===r[0]?t.loadobj.width:t.loadobj.width*(parseInt(r[0],0)/100),i.height="auto"===r[1]?t.loadobj.height:i.width*i.ratio,t.DPR=_R_is_Editor?Math.min(window.devicePixelRatio,2):a[e].DPR;var o=i.width/i.height;i.width=i.width*t.DPR,i.height=i.height*t.DPR,a.isIOS&&i.width*i.height>15728640&&(t.mDIM.width>t.mDIM.height?(i.width=t.mDIM.width,i.height=Math.round(t.mDIM.width/o)):(i.height=t.mDIM.height,i.width=Math.round(t.mDIM.height*o))),t.patternImageCanvas.width=i.width,t.patternImageCanvas.height=i.height,t.patternImageCTX.drawImage(t.loadobj.img,0,0,i.width,i.height),t.shadowCanvas.width!==t.mDIM.width&&(t.shadowCanvas.width=t.mDIM.width),t.shadowCanvas.height!==t.mDIM.height&&(t.shadowCanvas.height=t.mDIM.height),t.shadowCTX.clearRect(0,0,t.shadowCTX.canvas.width,t.shadowCTX.canvas.height),t.pattern=t.shadowCTX.createPattern(t.patternImageCanvas,t.bgrepeat),t.shadowCTX.fillStyle=t.pattern,t.shadowShifts={h:t.bgposition.split(" ")[0],v:t.bgposition.split(" ")[1]},t.shadowShifts.hperc=a.isNumeric(parseInt(t.shadowShifts.h))?parseInt(t.shadowShifts.h)/100*t.mDIM.width:0,t.shadowShifts.vperc=a.isNumeric(parseInt(t.shadowShifts.v))?parseInt(t.shadowShifts.v)/100*t.mDIM.height:0,t.shadowShifts.x="left"===t.shadowShifts.h?0:"center"===t.shadowShifts.h||"50%"==t.shadowShifts.h?"repeat"==t.bgrepeat||"repeat-x"==t.bgrepeat?t.mDIM.width/2-i.width/2-Math.ceil(t.mDIM.width/2/i.width)*i.width:t.mDIM.width/2-i.width/2:"right"===t.shadowShifts.h?"repeat"==t.bgrepeat||"repeat-x"==t.bgrepeat?-(i.width-t.mDIM.width%i.width):t.mDIM.width-i.width:"repeat"==t.bgrepeat||"repeat-x"==t.bgrepeat?-(i.width-t.shadowShifts.hperc%i.width):t.shadowShifts.hperc,t.shadowShifts.y="top"===t.shadowShifts.v?0:"center"===t.shadowShifts.v||"50%"==t.shadowShifts.v?"repeat"==t.bgrepeat||"repeat-y"==t.bgrepeat?t.mDIM.height/2-i.height/2-Math.ceil(t.mDIM.height/2/i.height)*i.height:t.mDIM.height/2-i.height/2:"bottom"===t.shadowShifts.v?"repeat"==t.bgrepeat||"repeat-y"==t.bgrepeat?-(i.height-t.mDIM.height%i.height):t.mDIM.height-i.height:"repeat"==t.bgrepeat||"repeat-y"==t.bgrepeat?-(i.height-t.shadowShifts.vperc%i.height):t.shadowShifts.vperc,t.shadowCTX.save(),t.shadowCTX.translate(t.shadowShifts.x,t.shadowShifts.y),t.shadowCTX.fillRect(0,0,t.mDIM.width-t.shadowShifts.x,t.mDIM.height-t.shadowShifts.y),t.shadowCTX.restore()},getCanvasGradients:function(e,t){if(t.bgcolor.indexOf("gradient")>=0){t.gradient=null==t.gradient||_R_is_Editor?a.getGradients(t.bgcolor):t.gradient,t.shadowGrd="radialGradient"===t.gradient.type?t.shadowCTX.createRadialGradient(t.mDIM.width/2,t.mDIM.height/2,0,t.mDIM.width/2,t.mDIM.height/2,Math.max(t.mDIM.width/2,t.mDIM.height/2)):a.calcLinearGradient(t.shadowCTX,t.shadowCanvas.width,t.shadowCanvas.height,t.gradient.deg);for(var i=0;i<t.gradient.stops.length;i+=2)t.shadowGrd.addColorStop(t.gradient.stops[i+1],t.gradient.stops[i]);t.shadowCTX.clearRect(0,0,t.mDIM.width,t.mDIM.height),t.shadowCTX.fillStyle=t.shadowGrd,t.shadowCTX.fillRect(0,0,t.mDIM.width,t.mDIM.height)}else t.shadowCTX.clearRect(0,0,t.mDIM.width,t.mDIM.height),t.shadowCTX.fillStyle=t.bgcolor,t.shadowCTX.fillRect(0,0,t.mDIM.width,t.mDIM.height)},cNS:function(e){var t;for(t in e.n=document.createElementNS("http://www.w3.org/2000/svg",e.n),e.v)e.n.setAttributeNS(null,t.replace(/[A-Z]/g,(function(e,t,i,a){return"-"+e.toLowerCase()})),e.v[t]);for(t in void 0!==e.c&&e.n.setAttribute("class",e.c),void 0!==e.id&&(e.n.id=e.id),void 0!==e.t&&(e.n.textContent=e.t),e.s)e.s.hasOwnProperty(t)&&(e.n.style[t]=e.s[t]);return e.n},rgbToHex:function(e){return"#"+p(e[0])+p(e[1])+p(e[2])},getSVGGradient:function(e){if(void 0===e)return e;if(_R_is_Editor&&(e=RSColor.convert(e)),-1==e.indexOf("gradient"))return e;var t=a.getGradients(e);void 0===a.gradSVG&&(a.gradSVG=a.cNS({n:"svg",id:"tp_svg_gradients",s:{width:"100%",height:"100%",opacity:0,pointerEvents:"none"}}),a.gradSVG.setAttribute("viewBox","0 0 1 1"),a.gradSVG.setAttribute("preserveAspectRatio","none"),document.body.appendChild(a.gradSVG),a.svgGradients=[]);for(var i=!1,r=JSON.stringify(e),o=0;o<a.svgGradients.length;o++)i||a.svgGradients[o].src==r&&(i=!0,e=a.svgGradients[o].url);if(!i){var s,n,l,d="radialGradient"===t.type?0:t.deg*(Math.PI/180),c="radialGradient"===t.type?0:{x1:Math.round(50+50*Math.sin(d))+"%",y1:Math.round(50+50*Math.cos(d))+"%",x2:Math.round(50+50*Math.sin(d+Math.PI))+"%",y2:Math.round(50+50*Math.cos(d+Math.PI))+"%"};l=a.cNS({n:t.type,id:"tp_svg_gradient_"+a.svgGradients.length,v:"radialGradient"===t.type?void 0:{gradientUnits:"userSpaceOnUse",x1:c.x1,y1:c.y1,x2:c.x2,y2:c.y2}});for(var p=0;p<=t.stops.length/2;p+=2)n=tpGS.gsap.utils.splitColor(t.stops[p]),s=a.cNS({n:"stop",v:{offset:100*t.stops[p+1]+"%",stopColor:a.rgbToHex(n),stopOpacity:n.length>3?n[3]:1}}),l.appendChild(s);a.gradSVG.appendChild(l),e="url(#tp_svg_gradient_"+a.svgGradients.length+")",a.svgGradients.push({url:e,src:r,g:l})}return e},getGradients:function(e){return e.indexOf("radial-gradient")>=0?{stops:a.getGradientColorStopPoints(e.split("radial-gradient(ellipse at center, ")[1]),type:"radialGradient",deg:0}:-1!==e.indexOf("gradient")?a.getLinearGradientStops(e):e},getLinearGradientStops:function(e){var t=e.split("linear-gradient(")[1];_R_is_Editor&&(t=(t=t.split(", ").join(",")).split(",rgba").join(", rgba"));var i=t.split("deg, ");for(var a in t=(i.length>1?i[1]:i[0]).split(" "),i=i.length>1?i[0]:180,t)t.hasOwnProperty(a)&&t[a].indexOf("%")>=0&&(t[a]=""+Math.round(100*parseFloat(t[a].split("%,")[0].split("%)")[0]))/1e4);return{stops:t,deg:i,type:"linearGradient"}},getGradientColorStopPoints:function(e){var t=/rgb([\s\S]*?)%/g,i=[],a=[];do{(o=t.exec(e))&&i.push(o[0])}while(o);for(var r=0;r<i.length;r++){var o=i[r],s=(e=/rgb([\s\S]*?)\)/.exec(o),/\)([\s\S]*?)%/.exec(o));e[0]&&(e=e[0]),s[1]&&(s=s[1]),a.push(e),a.push(parseFloat(s)/100)}return a},calcLinearGradient:function(e,t,i,a){a=a*Math.PI/180+Math.PI/2;for(var r,o,s,n,l=t/2,d=i/2,c=Math.sqrt(l*l+d*d),p={x1:Math.cos(a)*c+l,y1:Math.sin(a)*c+d,x2:l,y2:d},g=[h({x:0,y:0},a),h({x:t,y:0},a),h({x:t,y:i},a),h({x:0,y:i},a)],v=[],f=0;f<g.length;f++)v.push(m(g[f],p));if(u(l,d,v[0].x,v[0].y)>u(l,d,v[1].x,v[1].y)?(r=v[0].x,o=v[0].y):(r=v[1].x,o=v[1].y),u(l,d,v[2].x,v[2].y)>u(l,d,v[3].x,v[3].y)?(s=v[2].x,n=v[2].y):(s=v[3].x,n=v[3].y),Math.round(100*Math.atan2(d-o,l-r))/100===Math.round(a%(2*Math.PI)*100)/100){var y=r,w=o;r=s,o=n,s=y,n=w}return e.createLinearGradient(Math.round(r),Math.round(o),Math.round(s),Math.round(n))},transitions:{filter:{update:function(e,t,i){if(void 0!==e&&void 0!==e.tl){var a=void 0!==i||void 0!==e.tl.blur?" blur("+(void 0!==i?i:0+e.tl.blur!==void 0?e.tl.blur:0)+"px)":"";t.canvas.style.filter=void 0===e.tl.filter?""+a:e.tl.filter+a}},extendTimeLine:function(e,t,i){if(null!=t){var a=void 0!==t.g&&"0%"!==t.g&&0!==t.g?(""===a?"":" ")+"grayscale(_g_%)":"";a+=void 0!==t.h&&"100%"!==t.h&&100!==t.h?(""===a?"":" ")+"brightness(_h_%)":"",a+=void 0!==t.s&&"0px"!==t.s&&0!==t.s?(""===a?"":" ")+"sepia(_s_%)":"",a+=void 0!==t.c&&100!==t.c?(""===a?"":" ")+"contrast(_c_%)":"",""!==(a+=void 0!==t.i&&0!==t.i?(""===a?"":" ")+"invert(_i_%)":"")&&(t.tl={filter:a.replace("_g_",parseFloat(t.g)).replace("_h_",parseFloat(t.h)).replace("_s_",parseFloat(t.s)).replace("_c_",parseFloat(t.c)).replace("_i_",parseFloat(t.i))}),void 0!==t.b&&"0px"!==t.b&&0!==t.b&&(void 0===t.tl?t.tl={blur:parseFloat(t.b)}:t.tl.blur=parseFloat(t.b)),void 0!==t.tl&&(e.add(tpGS.gsap.to(t.tl,t.ms/t.sec,void 0===t.tl.filter?{blur:0}:void 0===t.tl.blur?{filter:a.replace("_g_","0").replace("_h_","100").replace("_s_","0").replace("_c_",100).replace("_i_",0),ease:t.e}:{blur:0,filter:a.replace("_g_","0").replace("_h_","100").replace("_s_","0").replace("_c_",100).replace("_i_",0),ease:t.e}),0),i.canvasFilter=!0)}}},slidingoverlay:{getBasic:function(){return a.getBasic({attr:["x","y"],in:{m:!0,o:-1,_xy:20,_gxys:10,_gxye:-10,zIndex:20,e:t},out:{m:!0,reversed:!1,_xy:-100,o:0,zIndex:10,e:t}})},updateAnim:function(e,t,i){var r=void 0!==t.in.x&&0!==t.in.x&&"0%"!==t.in.x?"x":"y";t.in["g"+r+"s"]=a.SATools.getOffset(t.in[r],t.in._gxys,i,1)+"%",t.in["g"+r+"e"]=a.SATools.getOffset(t.in[r],t.in._gxye,i,1)+"%",t.out[r]=a.SATools.getOffset(t.in[r],t.out._xy,i,1)+"%",t.in[r]=a.SATools.getOffset(t.in[r],t.in._xy,i,1)+"%";var o=parseInt(t.in[r])>=0;return t.in.d="x"===r?o?"left":"right":o?"up":"down",t},beforeDraw:function(e,t,i,a){void 0!==i.d&&(i._dxs="right"===i.d?0+i.mw:"left"===i.d?0-i.mw:0,i._dys="down"===i.d?0+i.mh:"up"===i.d?0-i.mh:0,i._xs="left"===i.d?0-i.mw:0,i._ys="up"===i.d?0-i.mh:0,i._xe="right"===i.d?a.SLOT.OW+i.mw:"left"===i.d?a.SLOT.OW-i.mw:a.SLOT.OW,i._ye="down"===i.d?a.SLOT.OH+i.mh:"up"===i.d?a.SLOT.OH-i.mh:a.SLOT.OH,t.beginPath(),t.rect("left"===i.d?Math.max(0,i._xs):"right"===i.d?Math.min(0,i._xs):0,"up"===i.d?Math.max(0,i._ys):"down"===i.d?Math.min(0,i._ys):0,"left"===i.d?Math.max(a.SLOT.OW,i._xe):"right"===i.d?Math.min(a.SLOT.OW,i._xe):i._xe,"up"===i.d?Math.max(a.SLOT.OH,i._ye):"down"===i.d?Math.min(a.SLOT.OH,i._ye):i._ye),t.clip())},afterDraw:function(e,t,i,a,r){void 0!==i.d&&(t.save(),t.beginPath(),t.rect(Math.max(0,i._dxs),Math.max(0,i._dys),i._xe,i._ye),t.clip(),t.save(),t.transform(r.csx,r.ssx,r.ssy,r.csy,.5*a.SLOT.OW+i.x+i.sgx,.5*a.SLOT.OH+i.y+i.sgy),t.drawImage(void 0!==a.shadowCanvas?a.shadowCanvas:a.loadobj.img,0,0,a.SLOT.OW,a.SLOT.OH,i.sgx-a.SLOT.OW/2,i.sgy-a.SLOT.OH/2,a.SLOT.OW,a.SLOT.OH),t.restore(),t.fillStyle="rgba(0,0,0,0.6)",t.fillRect(i.gx,i.gy,a.SLOT.OW,a.SLOT.OH),t.restore())},extendTimeLine:function(e,t,i,r,o,s){"in"!==o.direction||void 0===r.gxe&&void 0===r.gye||(jQuery.extend(!0,i[0],{d:r.d,gx:void 0===r.gxs?0:2*a.SATools.getOffset(r.gxs,s.width,o.sdir,0),gy:void 0===r.gys?0:2*a.SATools.getOffset(r.gys,s.height,o.sdir,0),sgx:void 0===r.gxs?0:a.SATools.getOffset(r.gxs,s.width,o.sdir,0),sgy:void 0===r.gys?0:a.SATools.getOffset(r.gys,s.height,o.sdir,0),mw:0-s.width,mh:0-s.height}),t.add(tpGS.gsap.to(i,r.ms/r.sec,{gx:void 0===r.gxe?0:2*a.SATools.getOffset(r.gxe,s.width,o.sdir,0),gy:void 0===r.gye?0:2*a.SATools.getOffset(r.gye,s.height,o.sdir,0),sgx:void 0===r.gxe?0:2*a.SATools.getOffset(r.gxe,s.width,o.sdir,0),sgy:void 0===r.gye?0:2*a.SATools.getOffset(r.gye,s.height,o.sdir,0),mw:s.width,mh:s.height,ease:r.e}),0))}},motionFilter:{init:function(e,t){return void 0!==t&&parseFloat(t)>0?(t=parseFloat(t),e.fmExists=!0,e.fmShadow=void 0===e.fmShadow?document.createElement("canvas"):e.fmShadow,e.fmCtx=e.fmShadow.getContext("2d"),e.fmShadow.width=e.ctx.canvas.width,e.fmShadow.height=e.ctx.canvas.height,e.fmCtx.globalAlpha=tpGS.gsap.utils.mapRange(100,0,40,0,t)/100,e.fmCtx.clearRect(0,0,e.ctx.canvas.width,e.ctx.canvas.height)):e.fmExists=!1,t},render:function(e,t){"partial"===t&&(e.fmCtx.globalCompositeOperation="source-over"),e.fmCtx.drawImage(e.canvas,0,0,e.canvas.width,e.canvas.height),e.ctx.clearRect(0,0,e.canvas.width,e.canvas.height),e.ctx.drawImage(e.fmCtx.canvas,0,0,e.canvas.width,e.canvas.height),"partial"===t&&(e.fmCtx.globalCompositeOperation="source-atop"),"partial"!==t&&"full"!==t||(e.fmCtx.fillStyle="rgba(255, 255, 255, 0.1)",e.fmCtx.fillRect(0,0,e.canvas.width,e.canvas.height))},clearFull:function(e,t){e.fmExists&&void 0!==e.fmCtx&&(e.ctx.clearRect(0,0,e.canvas.width,e.canvas.height),e.fmCtx.clearRect(0,0,e.canvas.width,e.canvas.height),void 0!==t&&t.render(t.time(),!0,!0))},complete:function(e){e.fmShadow&&e.fmShadow.remove()}},d3:{ticker:function(e,t,i){if(void 0!==e.helper){var a=e.smi*("in"===i?e.helper.oo:e.helper.o),r=e.sma*("in"===i?e.helper.oo:e.helper.o);if(e.gradient="vertical"===e.d?"in"===i?t.ctx.createLinearGradient(0,0,0,t.canvas.height):t.ctx.createLinearGradient(0,t.canvas.height,0,0):"in"===i?t.ctx.createLinearGradient(0,0,t.canvas.width,0):t.ctx.createLinearGradient(t.canvas.width,0,0,0),e.gradient.addColorStop(0,"rgba("+e.sc+","+a+")"),e.gradient.addColorStop(e.sl,"rgba("+e.sc+","+r+")"),t.ctx.fillStyle=e.gradient,t.ctx.fillRect(0,0,t.canvas.width,t.canvas.height),void 0!==t.cube&&t.cube.ctx){var o=void 0!==e.roomhelper&&!1!==e.roomhelper&&(90-e.roomhelper.r)/90;a=!1!==o?o:e.smi*e.helper.o,r=!1!==o?o:e.sma*e.helper.o,t.cube.ctx.clearRect(0,0,t.cube.ctx.canvas.width,t.cube.ctx.canvas.height),e.gradientW=!1!==o?"vertical"===e.d?e.t<0&&1===e.sdir||e.t>0&&-1===e.sdir?t.ctx.createRadialGradient(0,t.cube.ctx.canvas.width/2,0,0,0,2*t.cube.ctx.canvas.width):t.ctx.createRadialGradient(t.cube.ctx.canvas.width,0,0,0,0,2*t.cube.ctx.canvas.width):e.t>0&&1===e.sdir||e.t<0&&-1===e.sdir?t.ctx.createRadialGradient(t.cube.ctx.canvas.width/2,t.cube.ctx.canvas.height,0,t.cube.ctx.canvas.width/2,t.cube.ctx.canvas.height,t.cube.ctx.canvas.width):t.ctx.createRadialGradient(t.cube.ctx.canvas.width/2,.2*t.cube.ctx.canvas.height,0,t.cube.ctx.canvas.width/2,.2*t.cube.ctx.canvas.height,t.cube.ctx.canvas.width):"vertical"===e.d?t.ctx.createLinearGradient(0,0,0,t.cube.ctx.canvas.height):t.ctx.createLinearGradient(0,0,t.cube.ctx.canvas.width,0),e.gradientW.addColorStop(0,"rgba("+e.sc+","+(!1!==o?"a"===e.DIR?r:0:"a"===e.DIR?0:r)+")"),e.gradientW.addColorStop(1,"rgba("+e.sc+","+(!1!==o?"a"===e.DIR?0:r:"a"===e.DIR?r:0)+")"),t.cube.ctx.fillStyle=e.gradientW,t.cube.ctx.fillRect(0,0,t.cube.ctx.canvas.width,t.cube.ctx.canvas.height)}}},setWall:function(e,t,i,a,r,o){return e.TL=tpGS.gsap.timeline(),e.TL.add(tpGS.gsap.to(e.c,.2,{display:"block"}),0),"rotationX"===i?(e.ctx.canvas.width=a.w,e.ctx.canvas.height=a.w,e.TL.add(tpGS.gsap.set(e.w,{backgroundColor:r,width:a.w,height:a.w,transformOrigin:"50% 50% -"+a.w/2+"px",x:0,y:t>0?-(a.w-a.h):0,rotationX:t>0?-90:90,rotationY:0}),0)):(e.ctx.canvas.width=o?a.w:a.h,e.ctx.canvas.height=a.h,e.TL.add(tpGS.gsap.set(e.w,{backgroundColor:r,width:o?a.w:a.h,height:a.h,transformOrigin:"50% 50% -"+(o?a.w:a.h)/2+"px",x:t<0?a.w-a.h:0,y:0,rotationX:0,rotationY:t>0?-90:90}),0)),e.TL},buildCube:function(e){e.cube={c:document.createElement("div"),w:document.createElement("canvas")},e.cube.ctx=e.cube.w.getContext("2d"),e.cube.c.className="rs_fake_cube",e.cube.w.className="rs_fake_cube_wall",tpGS.gsap.set(e.cube.c,{width:e.mDIM.w,height:e.mDIM.h}),tpGS.gsap.set(e.cube.w,{width:e.mDIM.w,height:e.mDIM.h,backgroundColor:"#ccc"}),e.cube.c.appendChild(e.cube.w),e.sbg.appendChild(e.cube.c)},cubeTL:function(e,t,i,r){if("none"!==t.f&&void 0!==t.f){i.sbg.style.transformStyle="preserve-3d";var o=tpGS.gsap.timeline(),s="incube"===t.f?1:-1,n="incube"===t.f||"cube"===t.f,l="fly"===t.f?-30:90,d="turn"!==t.f&&!1!==t.t&&(_R_is_Editor||!0===a[e].firstSlideAnimDone),c=-1*t.z,p={},g={z:d?0:c,ease:"power1.inOut"},u={ease:t.e},h=[i.canvas],m=n?"50% 50% ":"20% 20% ",v="rotationX",f="rotationY",y="y",w="height",b=t.fd;if("vertical"!==t.d?(v="rotationY",f="rotationX",y="x",w="width",t.DIR=1===t.sdir?"b":"a"):t.DIR=1===t.sdir?"a":"b",w="width"===w?"w":"height"===w?"h":w,"turn"===t.f?(l="vertical"===t.d?-120:120,m="vertical"===t.d?1===t.sdir?"in"===r?"0% 0% 0%":"0% 100% 0%":"in"===r?"0% 100% 0%":"0% 0% 0%":1===t.sdir?"in"===r?"0% 0% 0%":"100% 0% 0%":"in"===r?"100% 0% 0%":"0% 0% 0%",g.z=0,u.ease="out"===r?"power3.out":u.ease,b="out"===r?b/2:b):m+=s*i.mDIM[w]/2+"px",u[v]=0,u[y]=0,"in"===r?p[v]=l*t.sdir:u[v]=-l*t.sdir,"fly"===t.f){var _=void 0===t.fz?20*Math.random()-10:parseInt(t.fz);"in"===r?(p[y]=i.mDIM[w]*(void 0===t.fdi?1.5:parseFloat(t.fdi))*t.sdir,p.rotateZ=t.sdir*_,u.rotateZ=0):(u[y]=i.mDIM[w]*(void 0===t.fdo?2:parseFloat(t.fdo))*t.sdir*-1,u.rotateZ=t.sdir*_*-1)}if(i.sbg.style.perspective=d?"2500px":"1500px",d){var S={z:c*("fly"===t.f?1.5:3),ease:"power1.inOut"},x={z:0,ease:"power1.inOut"};S[f]=-1*t.t,x[f]=0,t.roomhelper={r:0},o.add(tpGS.gsap.set(_R_is_Editor?RVS.SBGS[RVS.S.slideId].wrap:i.wrap[0],{perspective:1200,transformStyle:"preserve-3d",transformOrigin:m}),0),o.add(tpGS.gsap.to(i.sbg,3*t.md,S),0),o.add(tpGS.gsap.to(i.sbg,3*t.md,x),b-t.md),o.add(tpGS.gsap.to(t.roomhelper,3*t.md,{r:Math.abs(t.t)}),0),o.add(tpGS.gsap.to(t.roomhelper,3*t.md,{r:0}),b-t.md),"in"===r&&1!==s&&n&&(void 0===i.cube&&a.transitions.d3.buildCube(i),o.add(a.transitions.d3.setWall(i.cube,S[f],f,i.mDIM,t.c),0),h.push(i.cube.c))}else t.roomhelper=!1,o.add(tpGS.gsap.set(_R_is_Editor?RVS.SBGS[RVS.S.slideId].wrap:i.wrap[0],{perspective:"none",transformStyle:"none",transformOrigin:"50% 50%"}),0),!_R_is_Editor&&!0!==a[e].firstSlideAnimDone&&n&&(void 0===i.cube&&a.transitions.d3.buildCube(i),o.add(a.transitions.d3.setWall(i.cube,p[v],v,i.mDIM,t.c,!0),0),o.add(tpGS.gsap.fromTo(i.cube.w,4*t.md,{opacity:0},{opacity:1}),0),h.push(i.cube.c));return t.helper={o:0,oo:1},o.add(tpGS.gsap.to(t.helper,b,{o:1,oo:0,ease:t.e}),t.md+0),o.add(tpGS.gsap.set(h,jQuery.extend(!0,{},p,{force3D:!0,transformOrigin:m})),0),"turn"!==t.f&&o.add(tpGS.gsap.to(h,3*t.md,g),0),o.add(tpGS.gsap.to(h,b,u),t.md+0),"turn"!==t.f&&o.add(tpGS.gsap.to(h,3*t.md,{z:0,ease:"power1.inOut"}),b-t.md),"out"===r&&1!==s&&o.add(tpGS.gsap.to(h,2*t.md,{opacity:0}),t.dur-2*t.md),o}}}},animatedCanvasUpdate:function(e,t){t.cDIMS=a.getBGCanvasDetails(e,t),t.canvas.style.backgroundColor="transparent",t.canvas.style.opacity=1,t.canvas.width!==t.mDIM.width&&(t.canvas.width=t.mDIM.width),t.canvas.height!==t.mDIM.height&&(t.canvas.height=t.mDIM.height),_R_is_Editor||!0!==a[e].clearModalBG||(t.ctx.clearRect(0,0,t.canvas.width,t.canvas.height),a[e].clearModalBG=!1,t.sbg.parentNode.style.opacity=1),t.col=Math.min(t.col||1,Math.max(t.canvas.width-10,1)),t.row=Math.min(t.row||1,Math.max(t.canvas.height-10,1)),t.SLOT=jQuery.extend(!0,{s:{},c:{}},o(e,t.col,t.row,t.mDIM,"OW","OH")),t.SLOT.DX=0-t.SLOT.OW/2,t.SLOT.DY=0-t.SLOT.OH/2,t.row=Math.ceil(t.mDIM.height/t.SLOT.OH)||1,void 0!==t.callFromAnimatedCanvasUpdate&&t.callFromAnimatedCanvasUpdate()},slideAnimFinished:function(e,t,i,r){void 0!==t&&(void 0!==t.bgvid&&t.bgvid.length>0&&"out"===i.direction&&(t.drawVideoCanvasImagesRecall=!1,a.stopVideo(t.bgvid,e),t.bgvid[0].style.display="none",t.bgvid[0].style.zIndex=0),t.panFake&&t.panFake.img&&("out"===i.direction?t.panFake.img.style.display="none":t.panFake.img.style.display="block"),"in"===i.direction&&(a.transitions.motionFilter.complete(t),t.ctx.canvas.style.filter="none",tpGS.gsap.set(i.slide,{zIndex:20}),delete t.animateDirection,t.bgvid.length>0&&(t.isHTML5?tpGS.gsap.set(t.bgvid[0],{zIndex:30,display:"block",opacity:1}):(a.resetVideo(t.bgvid,e),tpGS.gsap.delayedCall(.1,(function(){a.playVideo(t.bgvid,e,!0),tpGS.gsap.set(t.bgvid[0],{zIndex:30,display:"block",opacity:1})}))))),"out"===i.direction?(tpGS.gsap.set(i.slide,{zIndex:10}),tpGS.gsap.set(t.canvas,{rotationX:0,rotationY:0,rotationZ:0,x:0,y:0,z:0,opacity:1}),t.currentState=void 0):t.currentState="idle",void 0!==t.cube&&(t.cube.c.style.display="none"),"in"===i.direction&&(a.updateSlideBGs(e,t.skeyindex,t),void 0===t.panzoom||_R_is_Editor||a.startPanZoom(a[e].pr_next_bg,e,void 0!==a[e].panzoomTLs[t.skeyindex]?a[e].panzoomTLs[t.skeyindex].progress():0,t.skeyindex,"play",t.key),void 0!==i.BG&&!0!==r&&i.BG.ctx.clearRect(0,0,2*t.canvas.width,2*t.canvas.height)))},animateCore:function(e,t,i,r){var o,s,n,l,d=t.canvas,c=t.ctx,p=0;if(t.col=i.col,t.row=i.row,_R_is_Editor&&t.three){for(t.canvas.style.display="block";t.three.scene.children.length>0;)t.three.scene.remove(t.three.scene.children[0]);t.three.canvas.parentNode.removeChild(t.three.canvas),t.three=void 0}a.animatedCanvasUpdate(e,t),i.row=t.row,t.animateDirection=r.direction,r.delay=void 0===r.delay?0:r.delay,n=i.col*i.row,l=Array(n),void 0===t.help_canvas&&"out"===r.direction&&void 0!==r.bgColor&&(t.help_canvas=document.createElement("canvas"),t.help_ctx=t.help_canvas.getContext("2d"),t.help_canvas.style.backgroundColor="transparent"),"out"===r.direction&&void 0!==r.bgColor&&(t.help_canvas.width=t.mDIM.width,t.help_canvas.height=t.mDIM.height,t.help_ctx.fillStyle=r.bgColor,t.help_ctx.fillRect(0,0,t.mDIM.width,t.mDIM.height)),i.mo=a.transitions.motionFilter.init(t,i.mo),i.dur=i.ms/i.sec,void 0!==r.d3&&(r.d3.dur=i.dur,r.d3.fd=.7*i.dur,r.d3.md=.15*i.dur,r.d3.sdir=r.sdir),t.SLOT.c={ws:0,hs:0,wd:0,hd:0},i.mo>0&&_R_is_Editor&&c.clearRect(0,0,d.width,d.height);var g=tpGS.gsap.timeline({onUpdate:function(){if(p=0,i.mo>0?a.transitions.motionFilter.render(t,i.moo):c.clearRect(0,0,d.width,d.height),t.help_canvas&&"out"===r.direction&&c.drawImage(t.help_canvas,0,0),(r.filter&&r.filter.u||!_R_is_Editor)&&a.transitions.filter.update(r.filter,c,t.canvasFilterBlur),_R_is_Editor&&0!==i.zIndex&&void 0!==i.zIndex&&tpGS.gsap.set(r.slide,{zIndex:i.zIndex}),void 0!==t.shadowCanvas)for(o=0;o<i.col;o++)for(t.SLOT.SX=t.SLOT.OW*o,t.SLOT.tw=t.SLOT.OW*(o+.5),t.SLOT.c.wd=t.mDIM.width-(t.SLOT.tw+t.SLOT.DX+t.SLOT.OW),t.SLOT.c.wd=t.SLOT.c.wd<0?t.SLOT.c.wd:0,t.SLOT.DW=t.SLOT.SW=t.SLOT.OW+t.SLOT.c.wd,s=0;s<i.row;s++){c.save();var n=-Math.PI/180*l[p].r,g=0!==i.r?Math.cos(n)*l[p].sx:l[p].sx,u=0!==i.r?Math.cos(n)*l[p].sy:l[p].sy,h=0!==i.r?Math.sin(n)*l[p].sx:0,m=0!==i.r?Math.sin(n)*-l[p].sy:0;t.SLOT.SY=t.SLOT.OH*s,t.SLOT.th=t.SLOT.OH*(s+.5),a.transitions[r.effect]&&a.transitions[r.effect].beforeDraw&&a.transitions[r.effect].beforeDraw(e,c,l[p],t),i.m&&(c.beginPath(),c.rect(t.SLOT.OW*o,t.SLOT.OH*s,t.SLOT.OW,t.SLOT.OH),c.clip()),c.transform(g,h,m,u,t.SLOT.tw+l[p].x,t.SLOT.th+l[p].y),c.globalAlpha=Math.max(0,l[p].o),t.SLOT.c.hd=t.mDIM.height-(t.SLOT.th+t.SLOT.DY+t.SLOT.OH),t.SLOT.c.hd=t.SLOT.c.hd<0?t.SLOT.c.hd:0,t.SLOT.DH=t.SLOT.SH=t.SLOT.OH+t.SLOT.c.hd,t.SLOT.SW>1&&t.SLOT.SH>1&&c.drawImage(t.shadowCanvas,t.SLOT.SX,t.SLOT.SY,t.SLOT.SW,t.SLOT.SH,t.SLOT.DX,t.SLOT.DY,t.SLOT.DW,t.SLOT.DH),c.restore(),a.transitions[r.effect]&&a.transitions[r.effect].afterDraw&&a.transitions[r.effect].afterDraw(e,c,l[p],t,{csx:g,csy:u,ssx:h,ssy:m}),p++}void 0!==r.d3&&r.d3.su&&a.transitions.d3.ticker(r.d3,t,r.direction),t.currentState="animating"},onComplete:function(){a.slideAnimFinished(e,t,r)}});if(i.col*i.row<2&&(i.f="start"),0!==i.zIndex&&void 0!==i.zIndex&&g.add(tpGS.gsap.set(r.slide,{zIndex:parseInt(i.zIndex,0)}),0),i.m="false"!=i.m&&!1!==i.m,"in"===r.direction){for(o=0;o<n;o++)l[o]={x:a.SATools.getOffset(i.x,i.m?t.SLOT.OW:t.mDIM.width,r.sdir,o),y:a.SATools.getOffset(i.y,i.m?t.SLOT.OH:t.mDIM.height,r.sdir,o),o:a.SATools.getSpecialValue(i.o,o,r.sdir),sx:a.SATools.getSpecialValue(i.sx,o,r.sdir),sy:a.SATools.getSpecialValue(i.sy,o,r.sdir),r:0!==i.r?a.SATools.getSpecialValue(i.r,o,r.sdir):0};g.add(tpGS.gsap.to(l,i.dur,{o:1,sx:1,sy:1,r:0,x:0,y:0,ease:i.e,stagger:{amount:"nodelay"===i.f?0:i.ms/i.stasec,grid:[i.col,i.row],from:"nodelay"===i.f?"start":i.f}}),r.delay),void 0!==r.d3&&g.add(a.transitions.d3.cubeTL(e,r.d3,t,"in"),0),a.transitions.filter.extendTimeLine(g,r.filter,t)}else{for(o=0;o<n;o++)l[o]={x:0,y:0,o:1,sx:1,sy:1,r:0};g.add(tpGS.gsap.to(l,i.dur,{o:function(e){return a.SATools.getSpecialValue(i.o,e,r.sdir)},sx:function(e){return a.SATools.getSpecialValue(i.sx,e,r.sdir)},sy:function(e){return a.SATools.getSpecialValue(i.sy,e,r.sdir)},r:0!==i.r&&void 0!==i.r?function(e){return a.SATools.getSpecialValue(i.r,e,r.sdir)}:0,x:function(e){return a.SATools.getOffset(i.x,i.m?t.SLOT.OW:t.mDIM.width,r.sdir,e)*(i.reversed?-1:1)},y:function(e){return a.SATools.getOffset(i.y,i.m?t.SLOT.OH:t.mDIM.height,r.sdir,e)*(i.reversed?-1:1)},ease:i.e,stagger:{amount:"nodelay"===i.f?0:i.ms/i.stasec,grid:[i.col,i.row],from:"nodelay"===i.f?"start":i.f}}),r.delay+(void 0!==i.outdelay?i.outdelay:0)),void 0!==r.d3&&g.add(a.transitions.d3.cubeTL(e,r.d3,t,"out"),0)}a.transitions[r.effect]&&a.transitions[r.effect].extendTimeLine&&a.transitions[r.effect].extendTimeLine(e,g,l,i,r,t.mDIM),_R_is_Editor?RVS.TL[RVS.S.slideId].slide.add(g,0):a[e].mtl.add(g,r.delay)}});var r=function(e,t){return void 0!==t&&a.isNumeric(t)?parseFloat(t,0):null==t||"default"===t||"d"===t?e:t},o=function(e,t,i,a,r,o){var s={};return s[r]=Math.ceil(a.width/t),s[o]=(_R_is_Editor,Math.ceil(a.height/i)),s},s=function(e){return null==e||0===e||NaN===e?1:e},n=function(e,t){_R_is_Editor||(a[e].duringslidechange=!0);var i,o=_R_is_Editor?-1:"arrow"==a[e].sc_indicator?void 0===a[e].sc_indicator_dir?a[e].sdir:a[e].sc_indicator_dir:a[e].sdir,n=!!_R_is_Editor||void 0!==a[e].pr_next_bg&&a[e].pr_next_bg.length>0&&void 0!==a[e].pr_next_bg[0],l=!!_R_is_Editor||void 0!==a[e].pr_active_bg&&a[e].pr_active_bg.length>0&&void 0!==a[e].pr_active_bg[0],c=_R_is_Editor?RVS.SBGS[RVS.S.slideId].n:n?a[e].sbgs[a[e].pr_next_bg[0].dataset.key]:void 0,p=_R_is_Editor?RVS.SBGS[RVS.S.slideId].c:l?a[e].sbgs[a[e].pr_active_bg[0].dataset.key]:void 0;o=1===o?-1:1,_R_is_Editor||(delete a[e].sc_indicator,delete a[e].sc_indicator_dir),i=jQuery.extend(!0,{},function(e,t,i){var o=void 0!==a.transitions[t.anim.e]&&void 0!==a.transitions[t.anim.e].getBasic?a.transitions[t.anim.e].getBasic():a.getBasic(),n="";for(var l in o.out=null==o.out?{}:o.out,o.out.reversed=void 0===t.out&&(void 0===o.out.reversed||o.out.reversed),void 0!==t.iw&&parseInt(t.iw,0),void 0!==t.ow&&parseInt(t.ow,0),o.attr)n=o.attr[l],o.in[n]=r(o.in[n],t.in[n]),o.out[n]=o.out.reversed?o.in[n]:void 0===t.out?o.out[n]:r(o.out[n],t.out[n]);return o.filter=void 0!==t.filter?jQuery.extend(!0,t.filter,t.filter):o.filter,a.transitions[t.anim.e]&&a.transitions[t.anim.e].updateAnim&&(o=a.transitions[t.anim.e].updateAnim(e,o,i)),o.e=t.anim.e,void 0!==o.in&&(o.in.col="random"===o.in.col?tpGS.gsap.utils.random(1,10,1):s(o.in.col),o.in.row="random"===o.in.row?tpGS.gsap.utils.random(1,10,1):s(o.in.row)),void 0!==o.out&&(o.out.col="random"===o.out.col?tpGS.gsap.utils.random(1,10,1):s(o.out.col),o.out.row="random"===o.out.row?tpGS.gsap.utils.random(1,10,1):s(o.out.row)),o}(e,t,o)),void 0!==c.random&&void 0!==a.SLTR&&void 0!==p&&(delete p.help_canvas,delete p.help_ctx),i.ms=r(void 0,void 0===t.anim.ms?1e3:t.anim.ms),i.f=r(void 0,t.anim.f),i.p=r(void 0,t.anim.p),i.d=r(void 0,t.anim.d),i.o=t.anim.o,void 0!==t.d3&&(t.d3.t=void 0!==t.d3.t&&0!==t.d3.t&&t.d3.t,t.d3.su="true"==t.d3.su||1==t.d3.su,t.d3.su&&(t.d3.smi=void 0===t.d3.smi?0:parseFloat(t.d3.smi),t.d3.sl=void 0===t.d3.sl?1:parseFloat(t.d3.sl),t.d3.sma=void 0===t.d3.sma?.5:parseFloat(t.d3.sma),t.d3.sc=void 0===t.d3.sc?"0,0,0":tpGS.gsap.utils.splitColor(t.d3.sc).join(",")),i.p="none",void 0!==i.in.row&&void 0!==i.in.col&&i.in.row*i.in.col>200&&(i.filter=void 0)),i.in.sec=void 0===i.in.sec?1e3:i.in.sec,i.in.stasec=void 0===i.in.stasec?void 0===i.d?1500:100*i.d:i.in.stasec,i.in.ms="default"===i.ms||"d"===i.ms?i.in.ms:"random"===i.ms?Math.round(1e3*Math.random()+300):null!=i.ms?parseInt(i.ms,0):i.in.ms,i.out.ms=i.in.ms,void 0!==i.filter&&(i.filter.ms=i.in.ms,i.filter.sec=i.in.sec,i.filter.e=void 0===i.filter.e||"default"===i.filter.e?i.in.e:i.filter.e),i.in.f=void 0===i.f||"default"===i.f||"d"===i.f?i.in.f:i.f,i.in.f="slidebased"===i.in.f?1==o?"start":"end":"oppslidebased"===i.in.f?1===o?"end":"start":i.in.f,i.out.f=i.in.f,i.out=jQuery.extend(!0,{},i.in,i.out),i.in.eng=i.out.eng=t.anim.eng,void 0!==i.out.eng&&null==a[i.out.eng]&&(i.out.o=0,i.in.o=0,i.in.ms=i.out.ms=1e3,i.in.eng=i.out.eng="animateCore"),void 0!==i.p&&"none"!==i.p&&(i.in.bg="dark"===i.p?"#000":"light"===i.p?"#fff":"transparent",i.out.delay="none"!==i.p?function(e,t){return e/2.5}:0,1===i.out.o&&0===i.out.x&&0===i.out.y&&(i.out.o=0)),"forceinout"===i.o?(i.in.zIndex=20,i.out.zIndex=10):"outin"!==i.o&&(1!==i.in.o||0!==i.in.x||0!==i.in.y||void 0===t.out||1===i.out.o&&0===i.out.x&&0===i.out.y)||(i.in.zIndex=10,i.out.zIndex=20),c.bgvid.length>0&&(i.in=g(e,i.in,c,"in")),l&&void 0!==p.bgvid&&p.bgvid.length>0&&(i.out=g(e,i.out,p,"out")),void 0!==i.out&&(i.out.simplify||i.in.simplify)&&(i.out=d(i.out)),i.in.simplify&&(i.in=d(i.in)),_R_is_Editor||requestAnimationFrame((function(){a.generalObserver(a.ISM,!0)})),i.in.eng=void 0===i.in.eng?"animateCore":i.in.eng,i.out.eng=void 0===i.out.eng?"animateCore":i.out.eng,l&&!0!==i.out.skip&&a[i.out.eng](e,p,i.out,{effect:i.e,slide:_R_is_Editor?RVS.SBGS[RVS.S.slideId].c.sbg:a[e].pr_active_slide,direction:"out",delay:0,bgColor:i.in.bg,sdir:o,filter:void 0,d3:t.d3,addOns:_R_is_Editor?t.addOns:void 0}),!0!==i.in.skip&&a[i.in.eng](e,c,i.in,{effect:i.e,slide:_R_is_Editor?RVS.SBGS[RVS.S.slideId].n.sbg:a[e].pr_next_slide,direction:"in",delay:l?"function"==typeof i.out.delay?i.out.delay(i.in.ms/1e3,i.out.row*i.out.col):i.out.delay:i.in.delay,BG:p,outslide:_R_is_Editor?RVS.SBGS[RVS.S.slideId].c.sbg:a[e].pr_active_slide,sdir:o,filter:i.filter,d3:t.d3,addOns:_R_is_Editor?t.addOns:void 0})},l=function(e,t,i){var r=e.height/e.width;if(i.ratio=i.conth/i.contw,i.ratio<r&&"contain"===t.bgfit||i.ratio>r&&"cover"===t.bgfit)i.height=e.width*i.ratio;else if(i.ratio>r&&"contain"===t.bgfit||i.ratio<r&&"cover"===t.bgfit)i.width=e.width*r/i.ratio;else if(i.ratio!==r||"contain"!==t.bgfit&&"cover"!==t.bgfit){var o=t.bgfit.split(" ");1===o.length&&(o[1]=o[0]),i.width="auto"===o[0]?i.contw:e.width*(parseInt(o[0],0)/100),i.height="auto"===o[1]?i.conth:i.width*i.ratio,t.usepattern=!0}else i.width=e.width;var s=function(e,t,i){return 1===(i=i.split(" ")).length&&(i[1]=i[0]),{x:"center"===i[0]||"50%"===i[0]?(e.width-t.width)/2:"left"===i[0]?0:"right"===i[0]?e.width-t.width:a.isNumeric(i[0])?0:i[0].indexOf("%")>=0?parseInt(i[0],0)/100*e.width-parseInt(i[0],0)/100*t.width:parseInt(i[0],0),y:"center"===i[1]||"50%"===i[1]?(e.height-t.height)/2:"top"===i[1]?0:"bottom"===i[1]?e.height-t.height:a.isNumeric(i[1])?0:i[1].indexOf("%")>=0?parseInt(i[1],0)/100*e.height-parseInt(i[1],0)/100*t.height:parseInt(i[1],0)}}(e,i,t.bgposition);return i.x=s.x,i.y=s.y,i},d=function(e){return e.o=0,e.r=0,e.row=1,e.col=1,e.x=0,e.y=0,e.sx=1,e.sy=1,e},c=function(e){return e="false"!==e&&!1!==e&&"off"!==e&&void 0!==e&&0!==e&&-1!==e},p=function(e){var t=e.toString(16);return 1==t.length?"0"+t:t},g=function(e,t,i,r){return t.skip=!1,"in"===r?i.isHTML5?(i.bgvid[0].style.display="none",a.resetVideo(i.bgvid,e),i.animateDirection="in",i.currentState="animating",i.drawVideoCanvasImagesRecall=!0,a.updateVideoFrames(e,i,!0),a.playVideo(i.bgvid,e)):(a[e].videos[i.bgvid[0].id].pauseCalled=!1,t.waitToSlideTrans=a[e].videos[i.bgvid[0].id].waitToSlideTrans,!0!==i.poster?(a.resetVideo(i.bgvid,e),a[e].videos[i.bgvid[0].id].prePlayForaWhile=!1,!0!==t.waitToSlideTrans&&a.playVideo(i.bgvid,e,!0),tpGS.gsap.fromTo(i.bgvid,t.ms/t.sec,{zIndex:30,display:"block",opacity:0},{opacity:1,zIndex:30,display:"block"}),i.loadobj.bgColor=!0,i.bgcolor="#000",t.simplify=!0):(a[e].videos[i.bgvid[0].id].prePlayForaWhile=!1,a.resetVideo(i.bgvid,e),a.playVideo(i.bgvid,e),i.bgvid[0].style.display="none",i.bgvid[0].style.zIndex=0,i.bgvid[0].style.opacity=0)):"out"===r&&(i.isHTML5?(i.currentState="animating",i.drawVideoCanvasImagesRecall=!0,a.updateVideoFrames(e,i,!0),window.requestAnimationFrame((function(){tpGS.gsap.to(i.bgvid,.1,{zIndex:0,display:"none"})}))):(a.stopVideo(i.bgvid,e,!0),!0!==i.poster&&(i.loadobj.bgColor=!0,i.bgcolor="#000"))),t},u=function(e,t,i,a){return Math.sqrt(Math.pow(e-i,2)+Math.pow(t-a,2))},h=function(e,t){var i=t+Math.PI/2;return{x1:e.x,y1:e.y,x2:e.x+100*Math.cos(i),y2:e.y+100*Math.sin(i)}},m=function(e,t){var i=e.y2-e.y1,a=e.x1-e.x2,r=i*e.x1+a*e.y1,o=t.y2-t.y1,s=t.x1-t.x2,n=o*t.x1+s*t.y1,l=i*s-o*a;return 0!==l&&{x:Math.round((s*r-a*n)/l*100)/100,y:Math.round((i*n-o*r)/l*100)/100}};window.RS_MODULES=window.RS_MODULES||{},window.RS_MODULES.slideanims={loaded:!0,version:"6.6.0"},window.RS_MODULES.checkMinimal&&window.RS_MODULES.checkMinimal()}(jQuery),function(e){"use strict";jQuery.fn.revolution=jQuery.fn.revolution||{};var t=jQuery.fn.revolution;function i(e){return null==e?-1:t.isNumeric(e)?e:e.split(":").length>1?60*parseInt(e.split(":")[0],0)+parseInt(e.split(":")[1],0):e}jQuery.extend(!0,t,{preLoadAudio:function(e,i){t[i].videos=void 0===t[i].videos?{}:t[i].videos,e.find(".rs-layer-audio").each((function(){var a=jQuery(this),r=t[i].videos[a[0].id]=void 0===t[i].videos[a[0].id]?f(a.data(),"audio",t.gA(e[0],"key")):t[i].videos[a[0].id],o={};0===a.find("audio").length&&(o.src=null!=r.mp4?r.mp4:"",o.pre=r.pload||"",this.id=void 0===this.id||""===this.id?a.attr("audio-layer-"+Math.round(199999*Math.random())):this.id,o.id=this.id,void 0===t[i].audioqueue&&(t[i].audioqueue=[]),t[i].audioqueue.push(o),t.manageVideoLayer(a,i,t.gA(e[0],"key"),!0))}))},preLoadAudioDone:function(e,i,a){var r=t[i].videos[e[0].id];t[i].audioqueue&&t[i].audioqueue.length>0&&jQuery.each(t[i].audioqueue,(function(e,t){r.mp4!==t.src||t.pre!==a&&"auto"!==t.pre||(t.status="loaded")}))},checkfullscreenEnabled:function(e){if(void 0!==window.fullScreen)return window.fullScreen;if(void 0!==document.fullscreen)return document.fullscreen;if(void 0!==document.mozFullScreen)return document.mozFullScreen;if(void 0!==document.webkitIsFullScreen)return document.webkitIsFullScreen;var i=t.isWebkit()&&/Apple Computer/.test(navigator.vendor)?42:5;return screen.width==t.winW&&Math.abs(screen.height-t.getWinH(e))<i},showVideo:function(e){tpGS.gsap.to(e,.3,{opacity:1,display:"block",ease:"power3.inOut"})},resetVideo:function(e,i,a){if("updateAndResize"!==a){var r=t[i].videos[e[0].id];if("resetVideo"!==r.cRS)switch(r.cRS="resetVideo",r.type){case"youtube":r.rwd&&null!=r.player&&void 0!==r.player.seekTo&&(r.player.seekTo(-1==r.ssec?0:r.ssec),r.player.pauseVideo()),r.bgvideo||"preset"===a||0!=r.jsposter.length||t.showVideo(e.find("iframe"));break;case"vimeo":void 0!==r.vimeoplayer&&r.rwd&&(0!==r.ssec&&-1!==r.ssec||r.bgvideo||r.jsposter.length>0)&&(r.vimeoplayer.setCurrentTime(-1==r.ssec?0:r.ssec),r.vimeoplayer.pause()),0!=r.jsposter.length||r.bgvideo||"preset"===a||t.showVideo(e.find("iframe"));break;case"html5":if(t.ISM&&r.notonmobile)return!1;r.bgvideo||t.showVideo(r.jvideo),r.rwd&&"playing"!==r.cSS&&!isNaN(r.video.duration)&&(r.justReseted=!0,r.video.currentTime=-1==r.ssec?0:r.ssec),("mute"==r.volume||t.lastToggleState(e.videomutetoggledby)||!0===t[i].globalmute)&&(r.video.muted=!0)}}},Mute:function(e,i,a){var r=!1,o=t[i].videos[e[0].id];switch(o.type){case"youtube":o.player&&(!0===a&&o.player.mute(),!1===a&&n(o,parseInt(o.volcache,0)),r=o.player.isMuted?o.player.isMuted():"mute"===o.volume);break;case"vimeo":o.volcachecheck||(o.volcache=o.volcache>1?o.volcache/100:o.volcache,o.volcachecheck=!0),o.volume=!0===a?"mute":!1===a?o.volcache:o.volume,void 0!==a&&null!=o.vimeoplayer&&s(o,!0===a?0:o.volcache),r="mute"==o.volume||0===o.volume;break;case"html5":o.volcachecheck||(o.volcache=o.volcache>1?o.volcache/100:o.volcache,o.volcachecheck=!0),o.video.volume=o.volcache,void 0!==a&&o.video&&(o.video.muted=a),r=void 0!==o.video?o.video.muted:r}if(void 0===a)return r},stopVideo:function(e,i,a){if(void 0!==t[i]&&void 0!==t[i]){var r=t[i].videos[e[0].id];if(void 0!==r&&("stopVideo"!==r.cRS||"paused"!==r.cSS))switch(r.cRS="stopVideo",t[i].leaveViewPortBasedStop||(t[i].lastplayedvideos=[]),t[i].leaveViewPortBasedStop=!1,r.type){case"youtube":void 0!==r.player&&2!==r.player.getPlayerState()&&5!==r.player.getPlayerState()&&(r.player.pauseVideo(),void 0!==a&&p(i,r,"hide"));break;case"vimeo":void 0!==r.vimeoplayer&&(r.vimeoplayer.pause(),void 0!==a&&p(i,r,"hide"));break;case"html5":r.video&&(r.video.pause(),t.ISM&&b(r,1))}}},playVideo:function(e,i,r){var o=t[i].videos[e[0].id];if(clearTimeout(o.videoplaywait),"playVideo"!==o.cRS||"playing"!==o.cSS)switch(o.cRS="playVideo",o.type){case"youtube":if(0==e.find("iframe").length)e.append(o.videomarkup),u(e,i,!0);else if(void 0!==o.player&&null!=o.player.playVideo){var s=o.player.getCurrentTime();o.nseTriggered&&(s=-1,o.nseTriggered=!1),-1!=o.ssec&&o.ssec>s&&o.player.seekTo(o.ssec),c(o)}else o.videoplaywait=setTimeout((function(){t.playVideo(e,i)}),50);break;case"vimeo":if(0==e.find("iframe").length)delete o.vimeoplayer,e.append(o.videomarkup),u(e,i,!0);else if(e.hasClass("rs-apiready"))if(o.vimeoplayer=null==o.vimeoplayer?new Vimeo.Player(e.find("iframe").attr("id")):o.vimeoplayer,o.vimeoplayer.getPaused()){s=void 0===o.currenttime?0:o.currenttime;o.nseTriggered&&(s=-1,o.nseTriggered=!1),-1!=o.ssec&&o.ssec>s&&o.vimeoplayer.setCurrentTime(o.ssec),("mute"==o.volume||0===o.volume||t.lastToggleState(e.data("videomutetoggledby"))||!0===t[i].globalmute)&&(o.volumetoken=!0,o.vimeoplayer.setMuted(!0)),d(o)}else o.videoplaywait=setTimeout((function(){t.playVideo(e,i)}),50);else o.videoplaywait=setTimeout((function(){t.playVideo(e,i)}),50);break;case"html5":if(o.metaloaded){if((""+o.video.duration=="NaN"||o.video.readyState<4)&&!r)return o.loadRequested||(o.video.load(),o.loadRequested=!0),void setTimeout((function(){t.playVideo(e,i)}),50);s=o.video.currentTime;o.nseTriggered&&(s=-1,o.nseTriggered=!1),-1!=o.ssec&&o.ssec>s&&o.ssec<o.video.duration&&(o.video.currentTime=o.ssec),l(o,void 0,i)}else a(o.video,"loadedmetadata",function(e){t.playVideo(e,i)}(e))}},isVideoPlaying:function(e,i){var a=!1;return null!=t[i].playingvideos&&jQuery.each(t[i].playingvideos,(function(t,i){e.attr("id")==i.attr("id")&&(a=!0)})),a},removeMediaFromList:function(e,t){w(e,t)},prepareCoveredVideo:function(e){clearTimeout(t[e].resizePrepareCoverVideolistener);var i="carousel"===t[e].sliderType?t[e].carousel.justify?void 0===t[e].carousel.slide_widths?void 0:t[e].carousel.slide_widths[t[e].carousel.focused]:t[e].carousel.slide_width:t[e].canv.width,a="carousel"===t[e].sliderType?t[e].carousel.slide_height:t[e].canv.height;if(0!==i&&0!==a&&void 0!==i&&void 0!==a)for(var r in t[e].videos){var o=t[e].videos[r];if(void 0!==o.jvideo&&((o.bgvideo||o.jvideo.parent().hasClass("rs-fsv")||t.closestNode(o.video,"RS-LAYER")&&t.closestNode(o.video,"RS-LAYER").classList.contains("rs-fsv"))&&("html5"===o.type&&void 0!==o.jvideo&&tpGS.gsap.set(o.jvideo,{width:i}),void 0===t[e].activeRSSlide||o.slideid===t.gA(t[e].slides[t[e].activeRSSlide],"key")||void 0===t[e].pr_next_slide||o.slideid===t.gA(t[e].pr_next_slide[0],"key")))){o.vd=o.ratio.split(":").length>1?o.ratio.split(":")[0]/o.ratio.split(":")[1]:1;var s,n=i/a,l=o.vd*n*100,d=o.vd/n*100;"Edge"===t.get_browser()||"IE"===t.get_browser()?s=n>o.vd?{minWidth:"100%",height:l+"%",x:"-50%",y:"-50%",top:"50%",left:"50%",position:"absolute"}:{minHeight:"100%",width:d+"%",x:"-50%",y:"-50%",top:"50%",left:"50%",position:"absolute"}:(o.bgvideo&&void 0!==o.vimeoid&&"carousel"==t[e].sliderType&&(l=100,d=100),s=n>o.vd?{height:(o.fitCover?100:l)+"%",width:"100%",top:o.fitCover?0:-(l-100)/2+"%",left:"0px",position:"absolute"}:{width:(o.fitCover?100:d)+"%",height:"100%",left:o.fitCover?0:-(d-100)/2+"%",top:"0px",position:"absolute"}),void 0===o.vimeoid&&void 0===o.ytid||(s.maxWidth="none",s.maxHeight="none"),tpGS.gsap.set(o.jvideo,s)}}else t[e].resizePrepareCoverVideolistener=setTimeout((function(){t.prepareCoveredVideo(e)}),100)},checkVideoApis:function(e,i){location.protocol;if(!t[i].youtubeapineeded){var a=e.find("iframe");if((null!=e.data("ytid")||a.length>0&&a.attr("src")&&a.attr("src").toLowerCase().indexOf("youtube")>0)&&(t[i].youtubeapineeded=!0),t[i].youtubeapineeded&&!window.rs_addedyt){t[i].youtubestarttime=Date.now(),window.rs_addedyt=!0;var r=document.createElement("script"),o=t.getByTag(document,"script")[0],s=!0;r.src="https://www.youtube.com/iframe_api",jQuery("head").find("*").each((function(){"https://www.youtube.com/iframe_api"==jQuery(this).attr("src")&&(s=!1)})),s&&o.parentNode.insertBefore(r,o)}}if(!t[i].vimeoapineeded){var n=e.find("iframe");if((null!=e.data("vimeoid")||n.length>0&&n.attr("src")&&n.attr("src").toLowerCase().indexOf("vimeo")>0)&&(t[i].vimeoapineeded=!0),t[i].vimeoapineeded&&!window.rs_addedvim){t[i].vimeostarttime=Date.now(),window.rs_addedvim=!0;var l=document.createElement("script");o=t.getByTag(document,"script")[0],s=!0;l.src="https://player.vimeo.com/api/player.js",jQuery("head").find("*").each((function(){"https://player.vimeo.com/api/player.js"==jQuery(this).attr("src")&&(s=!1)})),s&&o.parentNode.insertBefore(l,o)}}},manageVideoLayer:function(e,i,r,o){if(t[i].videos=void 0===t[i].videos?{}:t[i].videos,void 0===t[i].videos[e[0].id]||!0===o){var s=t[i].videos[e[0].id]=void 0===t[i].videos[e[0].id]?f(e.data(),void 0,r):t[i].videos[e[0].id];if(s.audio=void 0!==s.audio&&s.audio,t.ISM&&s.opom)0==e.find("rs-poster").length&&e.append('<rs-poster class="noSwipe" style="background-image:url('+s.poster+');"></rs-poster>');else{s.jsposter=e.find("rs-poster"),s.id=e[0].id,s.pload="auto"===s.pload||"canplay"===s.pload||"canplaythrough"===s.pload||"progress"===s.pload?"auto":s.pload,s.type=null!=s.mp4||null!=s.webm?"html5":null!=s.ytid&&String(s.ytid).length>1?"youtube":null!=s.vimeoid&&String(s.vimeoid).length>1?"vimeo":"none",s.newtype="html5"==s.type&&0==e.find(s.audio?"audio":"video").length?"html5":"youtube"==s.type&&0==e.find("iframe").length?"youtube":"vimeo"==s.type&&0==e.find("iframe").length?"vimeo":"none",s.extras="",s.posterMarkup=void 0===s.posterMarkup?"":s.posterMarkup,!s.audio&&"1sttime"==s.aplay&&s.pausetimer&&s.bgvideo&&t.sA(e.closest("rs-slide")[0],"rspausetimeronce",1),s.audio||!s.bgvideo||!s.pausetimer||1!=s.aplay&&"true"!=s.aplay&&"no1sttime"!=s.aplay||t.sA(e.closest("rs-slide")[0],"rspausetimeralways",1),s.noInt&&e.find("*").addClass("rs-nointeraction"),!(null!=s.poster&&s.poster.length>2)||t.ISM&&s.npom||0==s.jsposter.length&&(s.posterMarkup+='<rs-poster class="noSwipe" style="background-image:url('+s.poster+');"></rs-poster>');var n=!0;switch(s.cSS="created",s.cRS="created",s.newtype){case"html5":1==window.isSafari11&&(t[i].slideHasIframe=!0),s.audio&&e.addClass("rs-audio"),s.tag=s.audio?"audio":"video";var l="video"===s.tag&&(t.is_mobile()||t.isSafari11())?s.aplay&&"no1sttime"!==s.aplay||"true"===s.aplay?"muted playsinline autoplay":s.inline?" playsinline":"":"",d='<div class="html5vid rs_html5vidbasicstyles '+(!1===s.afs?"hidefullscreen":"")+'">',c=s.bgvideo&&/^([\w]+\:)?\/\//.test(s.mp4)&&(-1===s.mp4.indexOf(location.host)||-1!==s.mp4.indexOf("."+location.host))&&s.crossOriginVideo?' crossOrigin="anonymous" ':"";d+="<"+s.tag+" "+l+" "+(s.controls&&"none"!==s.controls?" controls":"")+c+(s.bgvideo&&-1==l.indexOf("autoplay")?" autoplay":"")+(s.bgvideo&&-1==l.indexOf("muted")?" muted":"")+' style="'+("Edge"!==t.get_browser()?(s.fitCover?"object-fit:cover;background-size:cover;":"")+"opacity:0;width:100%; height:100%":"")+'" class="" '+(s.loop?"loop":"")+' preload="'+s.pload+'">',"video"===s.tag&&null!=s.webm&&"firefox"==t.get_browser().toLowerCase()&&(d=d+'<source src="'+s.webm+'" type="video/webm" />'),null!=s.mp4&&(d=d+'<source src="'+s.mp4+'" type="'+("video"===s.tag?"video/mp4":s.mp4.toLowerCase().indexOf("m4a")>0?"audio/x-m4a":"audio/mpeg")+'" />'),null!=s.ogv&&(d=d+'<source src="'+s.mp4+'" type="'+s.tag+'/ogg" />'),d+="</"+s.tag+"></div>",d+=s.posterMarkup,s.controls&&!s.audio&&void 0===s.poster||s.bgvideo||(d+='<div class="tp-video-play-button"><i class="revicon-right-dir"></i><span class="tp-revstop">&nbsp;</span></div>'),s.videomarkup=d,n=!1,t.ISM&&s.notonmobile||t.isIE(8)||e.append(d),s.jvideo=e.find(s.tag),s.video=s.jvideo[0],s.html5vid=s.jvideo.parent(),a(s.video,"canplay",function(e){m(e,i),t.resetVideo(e,i)}(e));break;case"youtube":t[i].slideHasIframe=!0,s.controls&&"none"!==s.controls||(s.vatr=s.vatr.replace("controls=1","controls=0"),-1==s.vatr.toLowerCase().indexOf("controls")&&(s.vatr=s.vatr+"&controls=0")),(s.inline||"RS-BGVIDEO"===e[0].tagName)&&(s.vatr=s.vatr+"&playsinline=1"),-1!=s.ssec&&(s.vatr+="&start="+s.ssec),-1!=s.esec&&(s.vatr+="&end="+s.esec);var p=s.vatr.split("origin=https://");s.vatrnew=p.length>1?p[0]+"origin=https://"+(self.location.href.match(/www/gi)&&!p[1].match(/www/gi)?"www."+p[1]:p[1]):s.vatr,s.videomarkup='<iframe allow="autoplay; '+(!0===s.afs?"fullscreen":"")+'" type="text/html" src="https://www.youtube-nocookie.com/embed/'+s.ytid+"?"+s.vatrnew+'"  width="100%" height="100%" class="intrinsic-ignore" style="opacity:0;visibility:visible;width:100%;height:100%"></iframe>';break;case"vimeo":t[i].slideHasIframe=!0,s.vatr=s.vatr.replaceAll("&background=0","").replaceAll("&background=1",""),s.vatr=s.vatr.replaceAll("background=0","").replaceAll("background=1",""),!s.controls||"none"===s.controls||s.bgvideo?(s.vatr=s.vatr.replace("background=0","background=1"),-1==s.vatr.toLowerCase().indexOf("background")&&(s.vatr=s.vatr+"&background=1")):(s.vatr=s.vatr.replace("background=1","background=0"),-1==s.vatr.toLowerCase().indexOf("background")&&(s.vatr=s.vatr+"&background=0")),s.vatr="autoplay="+(!0===s.aplay?1:0)+("&"==s.vatr[0]?"":"&")+s.vatr,s.bgvideo&&(s.prePlayForaWhile=!0),t.ISM&&!0===s.aplay&&(s.vatr="muted=1"+("&"==s.vatr[0]?"":"&")+s.vatr),s.loop&&(s.vatr="loop=1"+("&"==s.vatr[0]?"":"&")+s.vatr),s.videomarkup='<iframe  allow="autoplay; '+(!0===s.afs?"fullscreen":"")+'" src="https://player.vimeo.com/video/'+s.vimeoid+"?"+s.vatr+'" '+(!0===s.afs?"webkitallowfullscreen mozallowfullscreen allowfullscreen":"")+' width="100%" height="100%" class="intrinsic-ignore" style="opacity:0;visibility:visible;width:100%;height:100%"></iframe>'}if(!(null!=s.poster&&s.poster.length>2)||t.ISM&&s.npom){if(t.ISM&&s.notonmobile)return!1;0!=e.find("iframe").length||"youtube"!=s.type&&"vimeo"!=s.type||(delete s.vimeoplayer,e.append(s.videomarkup),u(e,i,!("vimeo"!==s.newtype||!s.bgvideo),!0))}else n&&0==e.find("rs-poster").length&&e.append(s.posterMarkup),0==e.find("iframe").length&&(s.jsposter=e.find("rs-poster"),s.jsposter.on("click",(function(){if(t.playVideo(e,i,!0),t.ISM){if(s.notonmobile)return!1;tpGS.gsap.to(s.jsposter,.3,{opacity:0,visibility:"hidden",force3D:"auto",ease:"power3.inOut"}),t.showVideo(e.find("iframe"))}})));if("none"!==s.doverlay&&void 0!==s.doverlay){var g=t.createOverlay(i,s.doverlay,s.doverlaysize,{0:s.doverlaycolora,1:s.doverlaycolorb});s.bgvideo&&1!=e.closest("rs-sbg-wrap").find("rs-dotted").length?e.closest("rs-sbg-wrap").append('<rs-dotted style="background-image:'+g+'"></rs-dotted>'):s.bgvideo||1==e.find("rs-dotted").length||e.append('<rs-dotted style="background-image:'+g+'"></rs-dotted>')}s.bgvideo&&("youtube"!==s.type&&"vimeo"!==s.type&&(e[0].style.display="none"),e[0].style.zIndex=0,tpGS.gsap.set(e.find("video, iframe"),{opacity:0}))}}}});var a=function(e,t,i){e.addEventListener?e.addEventListener(t,i,{capture:!1,passive:!0}):e.attachEvent(t,i,{capture:!1,passive:!0})},r=function(e,t,i){var a={};return a.video=e,a.type=t,a.settings=i,a},o=function(e,i){var a=t[e].videos[i[0].id];(a.bgvideo||i.hasClass("rs-fsv"))&&((void 0===a.ratio||a.ratio.split(":").length<=1)&&(a.ratio="16:9"),requestAnimationFrame((function(){t.prepareCoveredVideo(e)})))},s=function(e,i){var a=e.vimeoplayer;a.getPaused().then((function(r){e.volumetoken=!0;var o=!r,s=a.setVolume(i);void 0!==s&&s.then((function(t){a.getPaused().then((function(t){o===t&&(e.volume="mute",a.getMuted().then((function(t){t||(e.volumetoken=!0,a.setMuted(!0))})),a.play())})).catch((function(e){console.log("Get Paused Function Failed for Vimeo Volume Changes Inside the Promise")}))})).catch((function(i){o&&(e.volume="mute",e.volumetoken=!0,a.setMuted(!0),a.play()),t.ISM&&b(e,0)}))})).catch((function(){console.log("Get Paused Function Failed for Vimeo Volume Changes")}))},n=function(e,t){var i=e.player.getPlayerState?e.player.getPlayerState():-1;"mute"===t?e.player.mute&&e.player.mute():(e.player.unMute&&e.player.unMute(),e.player.setVolume&&e.player.setVolume(t)),setTimeout((function(){1===i&&1!==e.player.getPlayerState()&&(e.player.mute(),e.player.playVideo())}),39)},l=function(e,i,a){if("playVideo"===e.cRS){var r=e.video.play();void 0!==r&&r.then((function(i){!0===e.twaudio&&!0!==t[a].globalmute&&(e.twaudio=!1,t.clickedOnce&&(e.video.volume=e.volcache,e.volume=e.volcache,e.video.muted=!1))})).catch((function(t){e.video.pause(),!0!==i&&l(e,!0,a)})),t.ISM&&b(e,0)}},d=function(e){if("playVideo"===e.cRS){var t=e.vimeoplayer.play();void 0!==t&&t.then((function(e){})).catch((function(t){e.vimeoplayer.volumetoken=!0,e.vimeoplayer.setMuted(!0),e.vimeoplayer.play()}))}},c=function(e){"playVideo"===e.cRS&&(e.player.playVideo(),1!==e.player.getPlayerState()&&tpGS.gsap.delayedCall(.5,(function(){c(e)})))},p=function(e,i,a,r){clearTimeout(i.repeatedPosterCalls),i.repeatedPosterCalls=setTimeout((function(){"show"===a||"playing"===i.cSS&&!0!==i.VideoIsVisible?(void 0!==i.showhideposter&&i.showhideposter.pause(),i.showhideposter=tpGS.gsap.timeline(),i.jsposter.length>0&&i.showhideposter.add(tpGS.gsap.to(i.jsposter,.3,{zIndex:5,autoAlpha:0,force3D:"auto",ease:"power3.inOut"}),0),i.jvideo.length>0&&i.showhideposter.add(tpGS.gsap.to(i.jvideo,void 0!==r?r:.001,{opacity:1,display:"block",ease:i.jsposter.length>0?"power3.inOut":"power3.out"}),0),i.VideoIsVisible=!0):("hide"===a||"paused"===i.cSS&&1!=t.checkfullscreenEnabled(e)&&i.jsposter.length>0&&!1!==i.VideoIsVisible&&!0!==i.seeking)&&(void 0!==i.showhideposter&&i.showhideposter.pause(),i.showhideposter=tpGS.gsap.timeline(),(a||i.npom)&&(i.jsposter.length>0&&i.showhideposter.add(tpGS.gsap.to(i.jsposter,.3,{zIndex:5,autoAlpha:1,force3D:"auto",ease:"power3.inOut"}),0),i.jvideo.length>0&&i.showhideposter.add(tpGS.gsap.to(i.jvideo,void 0!==r?r:.001,{opacity:0,ease:i.jsposter.length>0?"power3.inOut":"power3.out"}),.3),i.bgvideo&&void 0!==i.nBG&&void 0!==i.nBG.loadobj&&(i.nBG.video=i.nBG.loadobj.img),i.VideoIsVisible=!1))}),void 0!==a?0:100)},g=function(e,i,a){e.cSS="playing",e.vimeostarted=!0,e.nextslidecalled=!1,e.jsposter=void 0===e.jsposter||0===e.jsposter.length?i.find("rs-poster"):e.jsposter,e.jvideo=i.find("iframe"),t[a].c.trigger("revolution.slide.onvideoplay",r(e.vimeoplayer,"vimeo",e)),t[a].stopByVideo=e.pausetimer,y(i,a),"mute"==e.volume||0===e.volume||t.lastToggleState(i.data("videomutetoggledby"))||!0===t[a].globalmute?(e.volumetoken=!0,e.vimeoplayer.setMuted(!0)):s(e,parseInt(e.volcache,0)/100||.75),t.toggleState(e.videotoggledby)},u=function(e,i,a,s){var l=t[i].videos[e[0].id],d="iframe"+Math.round(1e5*Math.random()+1);if(l.jvideo=e.find("iframe"),o(i,e),l.jvideo.attr("id",d),l.startvideonow=a,l.videolistenerexist){if(a)switch(l.type){case"youtube":t.playVideo(e,i),-1!=l.ssec&&l.player.seekTo(l.ssec);break;case"vimeo":t.playVideo(e,i),-1!=l.ssec&&l.vimeoplayer.seekTo(l.ssec)}}else switch(l.type){case"youtube":if("undefined"==typeof YT||void 0===YT.Player)return t.checkVideoApis(e,i),void setTimeout((function(){u(e,i,a,s)}),50);l.player=new YT.Player(d,{events:{onStateChange:function(a){a.data==YT.PlayerState.PLAYING?(l.cSS="playing",t[i].onceVideoPlayed=!0,!1===l.player.isMuted()&&(l.volume=l.volcache=l.player.getVolume()),"mute"==l.volume||0===l.volume||t.lastToggleState(e.data("videomutetoggledby"))||!0===t[i].globalmute?l.player.mute():n(l,parseInt(l.volcache,0)||75),t[i].stopByVideo=!0,y(e,i),l.pausetimer?t[i].c.trigger("stoptimer"):t[i].stopByVideo=!1,t[i].c.trigger("revolution.slide.onvideoplay",r(l.player,"youtube",l)),t.toggleState(l.videotoggledby)):(l.cSS="paused",0==a.data&&l.loop&&(-1!=l.ssec&&l.player.seekTo(l.ssec),t.playVideo(e,i),t.toggleState(l.videotoggledby)),-1!=a.data&&3!=a.data&&(t[i].stopByVideo=!1,t[i].tonpause=!1,w(e,i),t[i].c.trigger("starttimer"),t[i].c.trigger("revolution.slide.onvideostop",r(l.player,"youtube",l)),null!=t[i].videoIsPlaying&&t[i].videoIsPlaying.attr("id")!=e.attr("id")||t.unToggleState(l.videotoggledby)),0==a.data&&l.nse?(document.fullscreenElement!==e.find("iframe")[0]&&document.webkitFullscreenElement!==e.find("iframe")[0]||h(),l.nseTriggered=!0,t[i].c.revnext(),w(e,i)):(w(e,i),t[i].stopByVideo=!1,3!==a.data&&(-1!=l.lasteventdata&&3!=l.lasteventdata&&void 0!==l.lasteventdata||-1!=a.data&&3!=a.data)&&t[i].c.trigger("starttimer"),t[i].c.trigger("revolution.slide.onvideostop",r(l.player,"youtube",l)),null!=t[i].videoIsPlaying&&t[i].videoIsPlaying.attr("id")!=e.attr("id")||t.unToggleState(l.videotoggledby))),clearTimeout(l.postOrVideoTimer),3!==a.data&&(l.postOrVideoTimer=setTimeout((function(){p(i,l)}),1===l.lasteventdata&&2===a.data||2===l.lasteventdata&&3!==a.data?1e3:0),l.lasteventdata=a.data)},onReady:function(a){var r,o=t.is_mobile(),n=e.hasClass("rs-layer-video");l.ready=!0,!o&&(!t.isSafari11()||o&&n)||"RS-BGVIDEO"!==e[0].tagName&&(!n||!0!==l.aplay&&"true"!==l.aplay)||(r=!0,l.player.setVolume(l.volcache),l.volume="mute",l.player.mute(),clearTimeout(e.data("mobilevideotimr")),2!==l.player.getPlayerState()&&-1!==l.player.getPlayerState()||e.data("mobilevideotimr",setTimeout((function(){t.playVideo(e,i)}),500))),r||"mute"!=l.volume||(l.player.setVolume(l.volcache),l.player.mute()),e.addClass("rs-apiready"),null==l.speed&&1===l.speed||a.target.setPlaybackRate(parseFloat(l.speed)),l.jsposter.off("click"),l.jsposter.on("click",(function(){t.playVideo(e,i,!0)})),l.startvideonow?(t.playVideo(e,i),-1!=l.ssec&&l.player.seekTo(l.ssec)):s&&p(i,l,"show",.2),l.videolistenerexist=!0}}});break;case"vimeo":if("undefined"==typeof Vimeo||void 0===Vimeo.Player)return t.checkVideoApis(e,i),void setTimeout((function(){u(e,i,a,s)}),50);for(var c,m=l.jvideo.attr("src"),v={},f=m,b=/([^&=]+)=([^&]*)/g;c=b.exec(f);)v[decodeURIComponent(c[1])]=decodeURIComponent(c[2]);m=(m=null!=v.player_id?m.replace(v.player_id,d):m+"&player_id="+d).replace(/&api=0|&api=1/g,"");var _,S=t.is_mobile()||t.isSafari11(),x="RS-BGVIDEO"===e[0].tagName;if(S&&x&&(m+="&background=1"),l.jvideo.attr("src",m),l.vimeoplayer=void 0===l.vimeoplayer||!1===l.vimeoplayer?new Vimeo.Player(d):l.vimeoplayer,S)(x||l.aplay||"true"===l.aplay)&&(_=!0),_&&(l.volumetoken=!0,l.vimeoplayer.setMuted(!0),l.volume="mute");l.vimeoplayer.on("play",(function(a){t[i].onceVideoPlayed=!0,l.cSS="playing",l.vimeostarted||g(l,e,i)})),l.vimeoplayer.on("loaded",(function(a){var r={};l.vimeoplayer.getVideoWidth().then((function(t){r.width=t,void 0!==r.width&&void 0!==r.height&&(l.ratio=r.width+":"+r.height,l.vimeoplayerloaded=!0,o(i,e))})),l.vimeoplayer.getVideoHeight().then((function(t){r.height=t,void 0!==r.width&&void 0!==r.height&&(l.ratio=r.width+":"+r.height,l.vimeoplayerloaded=!0,o(i,e))})),l.startvideonow?("mute"===l.volume&&(l.volumetoken=!0,l.vimeoplayer.setMuted(!0)),t.playVideo(e,i),-1!=l.ssec&&l.vimeoplayer.setCurrentTime(l.ssec)):s&&p(i,l,"show",.2),null==l.speed&&1===l.speed||l.vimeoplayer.setPlaybackRate(parseFloat(l.speed))})),e.addClass("rs-apiready"),l.vimeoplayer.on("volumechange",(function(e){l.volumetoken&&(l.volume=e.volume),l.volumetoken=!1})),l.vimeoplayer.on("timeupdate",(function(a){p(i,l),l.vimeostarted||0===a.percent||void 0!==t[i].activeRSSlide&&l.slideid!==t.gA(t[i].slides[t[i].activeRSSlide],"key")||g(l,e,i),l.pausetimer&&"playing"==t[i].sliderstatus&&(t[i].stopByVideo=!0,t[i].c.trigger("stoptimer")),l.currenttime=a.seconds,0!=l.esec&&-1!==l.esec&&l.esec<a.seconds&&!0!==l.nextslidecalled&&(l.loop?(t.playVideo(e,i),l.vimeoplayer.setCurrentTime(-1!==l.ssec?l.ssec:0)):(l.nse&&(l.nseTriggered=!0,l.nextslidecalled=!0,t[i].c.revnext()),l.vimeoplayer.pause())),l.prePlayForaWhile&&l.vimeoplayer.pause()})),l.vimeoplayer.on("ended",(function(a){l.cSS="paused",p(i,l),l.vimeostarted=!1,w(e,i),t[i].stopByVideo=!1,t[i].c.trigger("starttimer"),t[i].c.trigger("revolution.slide.onvideostop",r(l.vimeoplayer,"vimeo",l)),l.nse&&(l.nseTriggered=!0,t[i].c.revnext()),null!=t[i].videoIsPlaying&&t[i].videoIsPlaying.attr("id")!=e.attr("id")||t.unToggleState(l.videotoggledby)})),l.vimeoplayer.on("pause",(function(a){l.vimeostarted=!1,l.cSS="paused",p(i,l),t[i].stopByVideo=!1,t[i].tonpause=!1,w(e,i),t[i].c.trigger("starttimer"),t[i].c.trigger("revolution.slide.onvideostop",r(l.vimeoplayer,"vimeo",l)),null!=t[i].videoIsPlaying&&t[i].videoIsPlaying.attr("id")!=e.attr("id")||t.unToggleState(l.videotoggledby)})),l.jsposter.off("click"),l.jsposter.on("click",(function(){if(!t.ISM)return t.playVideo(e,i,!0),!1})),l.videolistenerexist=!0}},h=function(){document.exitFullscreen&&document.fullscreen?document.exitFullscreen():document.mozCancelFullScreen&&document.mozFullScreen?document.mozCancelFullScreen():document.webkitExitFullscreen&&document.webkitIsFullScreen&&document.webkitExitFullscreen()},m=function(e,i,o){var s=t[i].videos[e[0].id];if(t.ISM&&s.notonmobile)return!1;if(s.metaloaded=!0,"html5"===s.newtype&&s.bgvideo&&(s.nBG=t[i].sbgs[e[0].dataset.key],void 0===s.nBG.shadowCanvas&&(s.nBG.shadowCanvas=document.createElement("canvas"),s.nBG.shadowCTX=s.nBG.shadowCanvas.getContext("2d"),s.nBG.shadowCanvas.style.background="transparent",s.nBG.shadowCanvas.style.opacity=1),s.nBG.isHTML5=!0,s.nBG.video=void 0!==s.nBG.loadobj&&void 0!==s.nBG.loadobj.img?s.nBG.loadobj.img:s.video,s.nBG.drawVideoCanvasImagesRecall=!1),(!s.controls||s.audio||void 0!==s.poster)&&!s.noInt){0!=e.find(".tp-video-play-button").length||t.ISM||e.append('<div class="tp-video-play-button"><i class="revicon-right-dir"></i><span class="tp-revstop">&nbsp;</span></div>');var n="video, rs-poster, .tp-video-play-button";void 0!==s.poster&&s.controls&&(n=".tp-video-play-button"),e.find(n).on("click",(function(){!1===s.loop&&s.esec>0&&s.esec<=s.video.currentTime||(e.hasClass("videoisplaying")?t.stopVideo(e,i):t.playVideo(e,i,!0))}))}(e.hasClass("rs-fsv")||s.bgvideo)&&(s.bgvideo||e.hasClass("rs-fsv")?(s.html5vid.addClass("fullcoveredvideo"),void 0!==s.ratio&&1!=s.ratio.split(":").length||(s.ratio="16:9"),t.prepareCoveredVideo(i)):s.html5vid.addClass("rs-fsv")),a(s.video,"canplaythrough",(function(){t.preLoadAudioDone(e,i,"canplaythrough")})),a(s.video,"canplay",(function(){t.preLoadAudioDone(e,i,"canplay")})),a(s.video,"progress",(function(){t.preLoadAudioDone(e,i,"progress")})),a(s.video,"pause",(function(){t.ISM&&b(s,1)})),a(s.video,"timeupdate",(function(e){this.BGrendered=!0,p(i,s),-1===s.esec&&s.loop&&1==window.isSafari11&&(s.esec=s.video.duration-.075),void 0!==s.lastCurrentTime?s.fps=s.video.currentTime-s.lastCurrentTime:s.fps=.1,s.lastCurrentTime=s.video.currentTime,0!=s.esec&&-1!=s.esec&&s.esec<s.video.currentTime&&!s.nextslidecalled&&(s.loop?(l(s,void 0,i),s.video.currentTime=-1===s.ssec?.5:s.ssec):(s.nse&&(s.nseTriggered=!0,s.nextslidecalled=!0,t[i].jcnah=!0,t[i].c.revnext(),setTimeout((function(){t[i].jcnah=!1}),1e3)),s.video.pause()))})),a(s.video,"play",(function(){s.cSS="playing",p(i,s),s.bgvideo&&(s.nBG.drawVideoCanvasImagesRecall=!0,s.nBG.videoisplaying=!0,s.nBG.video=s.video,t.updateVideoFrames(i,s.nBG)),t[i].onceVideoPlayed=!0,s.nextslidecalled=!1,s.volume=null!=s.volume&&"mute"!=s.volume?parseFloat(s.volcache):s.volume,s.volcache=null!=s.volcache&&"mute"!=s.volcache?parseFloat(s.volcache):s.volcache,t.is_mobile()||(!0===t[i].globalmute?s.video.muted=!0:s.video.muted="mute"==s.volume,s.volcache=t.isNumeric(s.volcache)&&s.volcache>1?s.volcache/100:s.volcache,"mute"==s.volume?s.video.muted=!0:null!=s.volcache&&(s.video.volume=s.volcache)),e.addClass("videoisplaying"),y(e,i),clearTimeout(s.showCoverSoon),!0!==s.pausetimer||"audio"==s.tag?(t[i].stopByVideo=!1,t[i].c.trigger("revolution.slide.onvideostop",r(s.video,"html5",s))):(t[i].stopByVideo=!0,t[i].c.trigger("revolution.slide.onvideoplay",r(s.video,"html5",s))),s.pausetimer&&"playing"==t[i].sliderstatus&&(t[i].stopByVideo=!0,t[i].c.trigger("stoptimer")),t.toggleState(s.videotoggledby)})),a(s.video,"seeked",(function(){s.seeking=!1})),a(s.video,"seeking",(function(){s.seeking=!0})),a(s.video,"pause",(function(a){s.cSS="paused",p(i,s),e.removeClass("videoisplaying"),s.bgvideo&&(s.nBG.drawVideoCanvasImagesRecall=!1,s.nBG.videoisplaying=!1),t[i].stopByVideo=!1,w(e,i),"audio"!=s.tag&&t[i].c.trigger("starttimer"),t[i].c.trigger("revolution.slide.onvideostop",r(s.video,"html5",s)),null!=t[i].videoIsPlaying&&t[i].videoIsPlaying.attr("id")!=e.attr("id")||t.unToggleState(s.videotoggledby)})),a(s.video,"ended",(function(){s.cSS="paused",document.fullscreenElement!==s.video&&document.webkitFullscreenElement!==s.video||h(),p(i,s),w(e,i),t[i].stopByVideo=!1,w(e,i),"audio"!=s.tag&&t[i].c.trigger("starttimer"),t[i].c.trigger("revolution.slide.onvideostop",r(s.video,"html5",e.data())),s.nse&&s.video.currentTime>0&&(1==!t[i].jcnah&&(s.nseTriggered=!0,t[i].c.revnext(),t[i].jcnah=!0),setTimeout((function(){t[i].jcnah=!1}),1500)),e.removeClass("videoisplaying"),s.bgvideo&&(s.nBG.drawVideoCanvasImagesRecall=!1,s.nBG.videoisplaying=!1),!0!==t[i].inviewport&&void 0!==t[i].inviewport||(t[i].lastplayedvideos=[])})),a(s.video,"volumechange",(function(){s.video.muted?s.volume="mute":s.volume=s.volcache=s.video.volume}))},v=function(e){return"t"===e||!0===e||"true"===e||"f"!==e&&!1!==e&&"false"!==e&&e},f=function(e,t,a){e.audio="audio"===t;var r=void 0===e.video?[]:e.video.split(";"),o={volume:e.audio?1:"mute",pload:"auto",ratio:"16:9",loop:!0,aplay:"true",fitCover:!0,afs:!0,controls:!1,nse:!0,npom:!1,opom:!1,inline:!0,notonmobile:!1,start:-1,end:-1,doverlay:"none",doverlaysize:1,doverlaycolora:"transparent",doverlaycolorb:"#000000",scop:!1,rwd:!0,speed:1,ploadwait:5,stopAV:1!==e.bgvideo,noInt:!1,volcache:75,crossOriginVideo:!1};for(var s in r)if(r.hasOwnProperty(s)){var n=r[s].split(":");switch(n[0]){case"v":o.volume=n[1];break;case"twa":o.twaudio=n[1];break;case"vd":o.volcache=n[1];break;case"p":o.pload=n[1];break;case"ar":o.ratio=n[1]+(void 0!==n[2]?":"+n[2]:"");break;case"ap":o.aplay=v(n[1]);break;case"vfc":o.fitCover=v(n[1]);break;case"afs":o.afs=v(n[1]);break;case"vc":o.controls=n[1];break;case"nse":o.nse=v(n[1]);break;case"npom":o.npom=v(n[1]);break;case"opom":o.opom=v(n[1]);break;case"t":o.vtype=n[1];break;case"inl":o.inline=v(n[1]);break;case"nomo":o.notonmobile=v(n[1]);break;case"sta":o.start=n[1]+(void 0!==n[2]?":"+n[2]:"");break;case"end":o.end=n[1]+(void 0!==n[2]?":"+n[2]:"");break;case"do":o.doverlay=n[1];break;case"dos":o.doverlaysize=n[1];break;case"doca":o.doverlaycolora=n[1];break;case"docb":o.doverlaycolorb=n[1];break;case"scop":o.scop=v(n[1]);break;case"rwd":o.rwd=v(n[1]);break;case"sp":o.speed=n[1];break;case"vw":o.ploadwait=parseInt(n[1],0)||5;break;case"sav":o.stopAV=v(n[1]);break;case"noint":o.noInt=v(n[1]);break;case"l":o.loopcache=n[1],o.loop="loop"===n[1]||"loopandnoslidestop"===n[1]||"none"!==n[1]&&v(n[1]);break;case"ptimer":o.pausetimer=v(n[1]);break;case"sat":o.waitToSlideTrans=v(n[1]);break;case"crossOriginVideo":o.crossOriginVideo=v(n[1]);break;case"poch":o.pauseOnSlideChange=v(n[1])}}return null==e.mp4&&null==e.webm&&(o.fitCover=!1),void 0!==e.bgvideo&&(o.bgvideo=e.bgvideo),o.noInt&&(o.controls=!1),void 0!==e.mp4&&(o.mp4=e.mp4),void 0!==e.videomp4&&(o.mp4=e.videomp4),void 0!==e.ytid&&(o.ytid=e.ytid),void 0!==e.ogv&&(o.ogv=e.ogv),void 0!==e.webm&&(o.webm=e.webm),void 0!==e.vimeoid&&(o.vimeoid=e.vimeoid),void 0!==e.vatr&&(o.vatr=e.vatr),void 0!==e.videoattributes&&(o.vatr=e.videoattributes),void 0!==e.poster&&(o.poster=e.poster),o.slideid=a,o.aplay="true"===o.aplay||o.aplay,1===o.bgvideo&&(o.volume="mute"),o.ssec=i(o.start),o.esec=i(o.end),o.pausetimer=void 0===o.pausetimer?"loopandnoslidestop"!==o.loopcache:o.pausetimer,o.inColumn=e._incolumn,o.audio=e.audio,!0!==o.loop&&"true"!==o.loop||!0!==o.nse&&"true"!==o.nse||(o.loop=!1),o.aplay&&o.twaudio&&!o.bgvideo&&(o.twaudio=!0),o},y=function(e,i){if(t[i].playingvideos=void 0===t[i].playingvideos?new Array:t[i].playingvideos,t[i].videos[e[0].id].stopAV&&void 0!==t[i].playingvideos&&t[i].playingvideos.length>0)for(var a in t[i].lastplayedvideos=jQuery.extend(!0,[],t[i].playingvideos),t[i].playingvideos)t[i].playingvideos.hasOwnProperty(a)&&t.stopVideo(t[i].playingvideos[a],i);t[i].playingvideos.push(e),t[i].videoIsPlaying=e},w=function(e,i){void 0!==t[i]&&void 0!==t[i]&&null!=t[i].playingvideos&&jQuery.inArray(e,t[i].playingvideos)>=0&&t[i].playingvideos.splice(jQuery.inArray(e,t[i].playingvideos),1)},b=function(e,i){if(void 0!==e&&(void 0===i&&(i=0),t.ISM&&!e.bgvideo)){e.playPauseBtnTween&&e.playPauseBtnTween.kill&&e.playPauseBtnTween.kill();var a=t.closestNode(e.video,"RS-LAYER"),r=e.controls?1:0,o=e.controls?0:.3;e.controls&&e.poster&&0===i&&(o=0,r=0),a&&(e.playPauseBtnTween=tpGS.gsap.to(a.querySelector(".tp-video-play-button"),{duration:o,delay:r,opacity:i}))}};window.RS_MODULES=window.RS_MODULES||{},window.RS_MODULES.video={loaded:!0,version:"6.6.9"},window.RS_MODULES.checkMinimal&&window.RS_MODULES.checkMinimal()}(jQuery);!function(g){g.fn.twentytwenty=function(m){m=g.extend({default_offset_pct:.5,orientation:"horizontal",before_label:"Before",after_label:"After",no_overlay:!1,move_slider_on_hover:!1,move_with_handle_only:!0,click_to_move:!1},m);return this.each(function(){var e=m.default_offset_pct,s=g(this),r=m.orientation,t="vertical"===r?"down":"left",n="vertical"===r?"up":"right";s.wrap("<div class='twentytwenty-wrapper twentytwenty-"+r+"'></div>"),m.no_overlay||s.append("<div class='twentytwenty-overlay'></div>");var c=s.find("img:first"),d=s.find("img:last");s.append("<div class='twentytwenty-handle'></div>");var l=s.find(".twentytwenty-handle");l.append("<span class='twentytwenty-"+t+"-arrow'></span>"),l.append("<span class='twentytwenty-"+n+"-arrow'></span>"),s.addClass("twentytwenty-container"),c.addClass("twentytwenty-before"),d.addClass("twentytwenty-after");var i=s.find(".twentytwenty-overlay");i.append("<div class='twentytwenty-before-label'></div>"),i.append("<div class='twentytwenty-after-label'></div>");var a=function(t){var e,n,i,a,o=(e=t,n=c.width(),i=c.height(),{w:n+"px",h:i+"px",cw:e*n+"px",ch:e*i+"px"});l.css("vertical"===r?"top":"left","vertical"===r?o.ch:o.cw),a=o,"vertical"===r?(c.css("clip","rect(0,"+a.w+","+a.ch+",0)"),d.css("clip","rect("+a.ch+","+a.w+","+a.h+",0)")):(c.css("clip","rect(0,"+a.cw+","+a.h+",0)"),d.css("clip","rect(0,"+a.w+","+a.h+","+a.cw+")")),s.css("height",a.h)},o=function(t,e){var n,i,a;return n="vertical"===r?(e-v)/p:(t-w)/f,i=0,a=1,Math.max(i,Math.min(a,n))};g(window).on("resize.twentytwenty",function(t){a(e)});var w=0,v=0,f=0,p=0,y=function(t){(t.distX>t.distY&&t.distX<-t.distY||t.distX<t.distY&&t.distX>-t.distY)&&"vertical"!==r?t.preventDefault():(t.distX<t.distY&&t.distX<-t.distY||t.distX>t.distY&&t.distX>-t.distY)&&"vertical"===r&&t.preventDefault(),s.addClass("active"),w=s.offset().left,v=s.offset().top,f=c.width(),p=c.height()},h=function(t){s.hasClass("active")&&(e=o(t.pageX,t.pageY),a(e))},u=function(){s.removeClass("active")},_=m.move_with_handle_only?l:s;_.on("movestart",y),_.on("move",h),_.on("moveend",u),m.move_slider_on_hover&&(s.on("mouseenter",y),s.on("mousemove",h),s.on("mouseleave",u)),l.on("touchmove",function(t){t.preventDefault()}),s.find("img").on("mousedown",function(t){t.preventDefault()}),m.click_to_move&&s.on("click",function(t){w=s.offset().left,v=s.offset().top,f=c.width(),p=c.height(),e=o(t.pageX,t.pageY),a(e)}),g(window).trigger("resize.twentytwenty")})}}(jQuery);!function(e){"function"==typeof define&&define.amd?define([],e):"undefined"!=typeof module&&null!==module&&module.exports?module.exports=e:e()}(function(){var i=Object.assign||window.jQuery&&jQuery.extend,p=8,a=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(e,t){return window.setTimeout(function(){e()},25)};!function(){if("function"==typeof window.CustomEvent)return;function e(e,t){t=t||{bubbles:!1,cancelable:!1,detail:void 0};var n=document.createEvent("CustomEvent");return n.initCustomEvent(e,t.bubbles,t.cancelable,t.detail),n}e.prototype=window.Event.prototype,window.CustomEvent=e}();var o={textarea:!0,input:!0,select:!0,button:!0},u={move:"mousemove",cancel:"mouseup dragstart",end:"mouseup"},r={move:"touchmove",cancel:"touchend",end:"touchend"},d=/\s+/,c={bubbles:!0,cancelable:!0},t="function"==typeof Symbol?Symbol("events"):{};function m(e){return e[t]||(e[t]={})}function v(e,t,n,o,i){t=t.split(d);var a,c=m(e),u=t.length;function r(e){n(e,o)}for(;u--;)(c[a=t[u]]||(c[a]=[])).push([n,r]),e.addEventListener(a,r)}function f(e,t,n,o){t=t.split(d);var i,a,c,u=m(e),r=t.length;if(u)for(;r--;)if(a=u[i=t[r]])for(c=a.length;c--;)a[c][0]===n&&(e.removeEventListener(i,a[c][1]),a.splice(c,1))}function g(e,t,n){var o=new CustomEvent(t,c);n&&i(o,n),e.dispatchEvent(o)}function n(e){var n=e,o=!1,i=!1;function t(e){o?(n(),a(t),o=!(i=!0)):i=!1}this.kick=function(e){o=!0,i||t()},this.end=function(e){var t=n;e&&(i?(n=o?function(){t(),e()}:e,o=!0):e())}}function h(){}function s(e){e.preventDefault()}function l(e,t){var n,o;if(e.identifiedTouch)return e.identifiedTouch(t);for(n=-1,o=e.length;++n<o;)if(e[n].identifier===t)return e[n]}function X(e,t){var n=l(e.changedTouches,t.identifier);if(n&&(n.pageX!==t.pageX||n.pageY!==t.pageY))return n}function Y(e,t){T(e,t,e,w)}function y(e,t){w()}function w(){f(document,u.move,Y),f(document,u.cancel,y)}function b(e){f(document,r.move,e.touchmove),f(document,r.cancel,e.touchend)}function T(e,t,n,o){var i,a,c,u,r,d,m,v,f,s=n.pageX-t.pageX,l=n.pageY-t.pageY;s*s+l*l<p*p||(a=t,c=n,u=s,r=l,d=o,m=(i=e).targetTouches,v=i.timeStamp-a.timeStamp,f={altKey:i.altKey,ctrlKey:i.ctrlKey,shiftKey:i.shiftKey,startX:a.pageX,startY:a.pageY,distX:u,distY:r,deltaX:u,deltaY:r,pageX:c.pageX,pageY:c.pageY,velocityX:u/v,velocityY:r/v,identifier:a.identifier,targetTouches:m,finger:m?m.length:1,enableMove:function(){this.moveEnabled=!0,this.enableMove=h,i.preventDefault()}},g(a.target,"movestart",f),d(a))}function E(e,t){var n=t.timer;t.touch=e,t.timeStamp=e.timeStamp,n.kick()}function S(e,t){var n=t.target,o=t.event,i=t.timer;f(document,u.move,E),f(document,u.end,S),K(n,o,i,function(){setTimeout(function(){f(n,"click",s)},0)})}function k(e,t){var n,o=t.target,i=t.event,a=t.timer;l(e.changedTouches,i.identifier)&&(n=t,f(document,r.move,n.activeTouchmove),f(document,r.end,n.activeTouchend),K(o,i,a))}function K(e,t,n,o){n.end(function(){return g(e,"moveend",t),o&&o()})}if(v(document,"mousedown",function(e){var t;1!==(t=e).which||t.ctrlKey||t.altKey||o[e.target.tagName.toLowerCase()]||(v(document,u.move,Y,e),v(document,u.cancel,y,e))}),v(document,"touchstart",function(e){if(!o[e.target.tagName.toLowerCase()]){var t=e.changedTouches[0],n={target:t.target,pageX:t.pageX,pageY:t.pageY,identifier:t.identifier,touchmove:function(e,t){var n,o,i;(i=X(n=e,o=t))&&T(n,o,i,b)},touchend:function(e,t){var n;n=t,l(e.changedTouches,n.identifier)&&b(n)}};v(document,r.move,n.touchmove,n),v(document,r.cancel,n.touchend,n)}}),v(document,"movestart",function(e){if(!e.defaultPrevented&&e.moveEnabled){var a={startX:e.startX,startY:e.startY,pageX:e.pageX,pageY:e.pageY,distX:e.distX,distY:e.distY,deltaX:e.deltaX,deltaY:e.deltaY,velocityX:e.velocityX,velocityY:e.velocityY,identifier:e.identifier,targetTouches:e.targetTouches,finger:e.finger},c={target:e.target,event:a,timer:new n(function(e){var t,n,o,i;t=a,n=c.touch,o=c.timeStamp,i=o-t.timeStamp,t.distX=n.pageX-t.startX,t.distY=n.pageY-t.startY,t.deltaX=n.pageX-t.pageX,t.deltaY=n.pageY-t.pageY,t.velocityX=.3*t.velocityX+.7*t.deltaX/i,t.velocityY=.3*t.velocityY+.7*t.deltaY/i,t.pageX=n.pageX,t.pageY=n.pageY,g(c.target,"move",a)}),touch:void 0,timeStamp:e.timeStamp};void 0===e.identifier?(v(e.target,"click",s),v(document,u.move,E,c),v(document,u.end,S,c)):(c.activeTouchmove=function(e,t){var n,o,i,a,c;n=e,i=(o=t).event,a=o.timer,(c=X(n,i))&&(n.preventDefault(),i.targetTouches=n.targetTouches,o.touch=c,o.timeStamp=n.timeStamp,a.kick())},c.activeTouchend=function(e,t){k(e,t)},v(document,r.move,c.activeTouchmove,c),v(document,r.end,c.activeTouchend,c))}}),window.jQuery){var j="startX startY pageX pageY distX distY deltaX deltaY velocityX velocityY".split(" ");jQuery.event.special.movestart={setup:function(){return v(this,"movestart",e),!1},teardown:function(){return f(this,"movestart",e),!1},add:q},jQuery.event.special.move={setup:function(){return v(this,"movestart",C),!1},teardown:function(){return f(this,"movestart",C),!1},add:q},jQuery.event.special.moveend={setup:function(){return v(this,"movestart",Q),!1},teardown:function(){return f(this,"movestart",Q),!1},add:q}}function e(e){e.enableMove()}function C(e){e.enableMove()}function Q(e){e.enableMove()}function q(e){var o=e.handler;e.handler=function(e){for(var t,n=j.length;n--;)e[t=j[n]]=e.originalEvent[t];o.apply(this,arguments)}}});var utShortcode={"ajaxurl":"https:\/\/www.nouvelageclinic.com\/wp-admin\/admin-ajax.php"};!function(t){"use strict";function e(){return window.navigator.userAgent.indexOf("MSIE ")>0||!!navigator.userAgent.match(/Trident.*rv\:11\./)}function a(){return"-"+Math.random().toString(36).substr(2,9)}function i(){var t="vc_editable",e=window.location.href;return-1!==e.indexOf("?"+t+"=")||-1!==e.indexOf("&"+t+"=")}function n(e,a){a?t(e.target).removeClass("outView").addClass("inView"):t(e.target).removeClass("inView").addClass("outView")}var o=lozad(".ut-lazy",{rootMargin:"100%",loaded:function(e){var a=t(e);a.delay(600).queue((function(){a.addClass("ut-image-loaded"),a.siblings(".ut-box-shadow-lazy").addClass("ut-box-shadow-ready"),a.closest(".ut-image-gallery-item").addClass("ut-image-loaded"),a.closest(".ut-animate-image").addClass("ut-animate-image-ready").trigger("inview",_isElementInViewport(a)),t.force_appear()}))}}),s=lozad(".ut-lozad",{rootMargin:"100%"}),l=lozad(".ut-background-lozad",{rootMargin:"100%",load:function(e){!t(e).hasClass("ut-pseudo-background")&&e.getAttribute("data-background-image")?e.style.backgroundImage="url('"+e.getAttribute("data-background-image").split(",").join("'),url('")+"')":t(e).hasClass("ut-pseudo-background")&&e.getAttribute("data-background-image")&&e.classList.add("ut-pseudo-background-loaded")}});function r(e,a){var i=0;return e.each((function(){t(this).hasClass(a)&&i++})),i}t(window).on("load",(function(){o.observe(),s.observe(),l.observe()})),i()&&setInterval((function(){t.force_appear()}),100);var u={"effect-1":{scale:[.3,1],opacity:[0,1],translateZ:0,easing:"easeOutExpo",duration:600,delay:function(t,e){return 70*(e+1)}},"effect-2":{scale:[4,1],opacity:[0,1],translateZ:0,easing:"easeOutExpo",duration:950,delay:function(t,e){return 70*e}},"effect-3":{opacity:[0,1],easing:"easeInOutQuad",duration:2250,delay:function(t,e){return 150*(e+1)}},"effect-4":{translateY:["1.1em",0],translateZ:0,duration:750,delay:function(t,e){return 50*e}},"effect-5":{translateY:["1.1em",0],translateX:["0.55em",0],translateZ:0,rotateZ:[180,0],duration:750,easing:"easeOutExpo",delay:function(t,e){return 50*e}},"effect-6":{scale:[0,1],duration:1500,elasticity:600,delay:function(t,e){return 45*(e+1)}},"effect-7":{rotateY:[-90,0],duration:1300,delay:function(t,e){return 45*e}},"effect-8":{translateX:[40,0],translateZ:0,opacity:[0,1],easing:"easeOutExpo",duration:1200,delay:function(t,e){return 50+30*e}},"effect-10":{translateY:[100,0],translateZ:0,opacity:[0,1],easing:"easeOutExpo",duration:1400,delay:function(t,e){return 50+30*e}},"effect-9":{opacity:[0,1],translateX:[40,0],translateZ:0,scaleX:[.3,1],easing:"easeOutExpo",duration:800,delay:function(t,e){return 150+25*e}},"effect-11":{translateY:[-100,0],easing:"easeOutExpo",duration:1400,delay:function(t,e){return 30*e}}};function d(t){try{t=parseInt(t)}catch(t){}return t}window.UT_Shortcodes={delay_this:!0,start_delay:!1,content:"",google_maps_loaded:!1,isJson:function(t){try{JSON.parse(t)}catch(t){return!1}return!0},isHTML:function(t){},init:function(t){void 0===typeof t||"string"!=typeof t||this.isJson(t)||(this.content=t),this.init_fitvids(),this.init_accordion(),this.init_tabs(),this.init_revealfx(),this.init_progress_circles(),this.init_skill_bars(),this.init_count_up(),this.init_animated_image(),this.init_owl_gallery_slider(),this.init_owl_testimonials(),this.init_brands(),this.init_word_rotators(),this.init_icon_draw(),this.init_parallax_quote(),this.init_pie_charts(),this.init_appear_effects(),this.init_list_animation(),this.init_image_gallery(),this.init_react_carousel(),this.init_portfolio_carousel(),this.init_timeline(),this.init_social_follow(),this.init_twitter_rotator(),this.init_comparison_slider(),this.init_distortion(),this.init_lightbox(),this.init_video_lightbox(),this.init_morphbox(),this.init_yt_background_video(),this.init_vimeo_background_video(),this.init_google_maps(),this.init_glitch(),this.init_background_text(),this.init_video_grid()},create_collection:function(e){var a=t([]);return e.each((function(){a=a.add(t("#"+t(this).attr("id")))})),a},init_fitvids:function(){t(".ut-video:not(.ut-initialized), .entry-content:not(.ut-initialized), .ut-post-media:not(.ut-initialized), .entry-thumbnail:not(.ut-initialized)").ut_require_js({plugin:"fitVids",source:"fitVids",callback:function(e){t(e).hasClass("ut-initialized")||e.addClass("ut-initialized").fitVids()}})},init_accordion:function(){t(".ut-accordion-module").not(".ut-initialized").ut_require_js({plugin:"accordion",source:"accordion",callback:function(e){e.each((function(e,a){if(t(a).hasClass("ut-initialized"))return!0;t(a).addClass("ut-initialized").find(".ut-accordion-module-item").accordion({transitionSpeed:t(a).find(".ut-accordion-module-item").data("transition"),singleOpen:t(a).hasClass("ut-accordion-module-group"),transitionEasing:t(a).find(".ut-accordion-module-item").data("easing")})}))}})},init_tabs:function(){t(".bklyn-icon-tabs, .ut-accordion, .ut-nav-tabs").not(".ut-initialized").ut_require_js({plugin:"boostrap",source:"boostrap",callback:function(e){e.each((function(e,a){if(t(a).hasClass("ut-initialized"))return!0}))}})},init_revealfx:function(){t(".ut-reveal-fx-element").not(".ut-initialized").ut_require_js({plugin:"RevealFx",source:"revealfx",callback:function(e){e.each((function(e,a){if(t(a).hasClass("ut-initialized"))return;t(a).addClass("ut-initialized");let i=new RevealFx(a,{isContentHidden:!0,revealSettings:{bgcolor:t(a).data("reveal-bgcolor"),direction:t(a).data("reveal-direction"),duration:t(a).data("reveal-duration"),delay:t(a).data("reveal-delay"),onCover:function(e){e.style.opacity=1,t(a).addClass("ut-block-revealed"),o.observe(),void 0!==window.ut_video_observer&&window.ut_video_observer.observe()}}});t(a).on("inview",(function(e,a){if(a){var n=t(e.target);if(n.hasClass("ut-block-reveal-done"))return;n.parent().removeClass("ut-element-with-block-reveal"),i.reveal()}}))}))}}),t(".ut-element-revealer-parent").each((function(){t(this).imagesLoaded({background:!0},(function(){})).always((function(){t(".ut-element-revealer").on("inview",(function(e,a){a&&(t(e.target).addClass("inView"),t(e.target).off("inView"))}))}))}))},init_progress_circles:function(){var e=t(".bkly-progress-circle");e.hasClass("ut-initialized")||(e.addClass("ut-initialized"),e.on("inview",(function(e,a){var i=t(e.target),n=i.children(".bkly-progress-svg");if(a){var o=n.find(".circle").attr("stroke-dasharray"),s=n.parent().data("circle-percent");n.find(".stroke").get(0).style["stroke-dashoffset"]=502.4+o*s/100,n.find(".circle").get(0).style["stroke-dashoffset"]=o*s/100}else"no"===n.data("animateonce")?(n.find(".stroke").get(0).style["stroke-dashoffset"]=502.4,n.find(".circle").get(0).style["stroke-dashoffset"]=0):i.off("inview")})))},init_skill_bars:function(){var e=t(".ut-skill-active");if(this.content){var a=t(this.content).find(".ut-skill-active");a.length&&(e=this.create_collection(a))}e.hasClass("ut-initialized")||(e.addClass("ut-initialized"),e.on("inview",(function(e,a){var i=t(e.target),n=i.data("width");a?i.hasClass("ut-skill-progress-thin")?i.addClass("ut-already-visible").width(n+"%"):i.addClass("ut-already-visible").stop(!0,!0).animate({width:n+"%"},i.data("speed")):"no"===i.data("animateonce")?i.css("width",0):i.off("inview")})))},init_count_up:function(){t('.ut-counter[data-type="slot"]').not(".ut-initialized").ut_require_js({plugin:"utSlotMachine",source:"slot",callback:function(e){if(!e.hasClass("ut-initialized")){if(e.addClass("ut-initialized"),this.content){var a=t(this.content).find(".ut-counter");a.length&&(e=this.create_collection(a))}e.utSlotMachine(),e.on("inview",(function(e,a){if(a){var i=t(e.target);t("<"+i.data("prefix-tag")+' class="ut-count-prefix">'+i.data("prefix")+"</"+i.data("prefix-tag")+">").prependTo(i.find(".ut-count")),t("<"+i.data("suffix-tag")+' class="ut-count-suffix">'+i.data("suffix")+"</"+i.data("suffix-tag")+">").appendTo(i.find(".ut-count")),t(e.target).off("inview")}}))}}}),t('.ut-counter[data-type="countup"]').not(".ut-initialized").ut_require_js({plugin:"CountUp",source:"countup",callback:function(e){if(!e.hasClass("ut-initialized")){if(e.addClass("ut-initialized"),this.content){var a=t(this.content).find(".ut-counter");a.length&&(e=this.create_collection(a))}e.on("inview",(function(e,a){if(a){var i=t(e.target),n={useEasing:!0,useGrouping:!0,separator:i.data("sep-sign"),decimal:".",decimalPlaces:i.data("decimal-places"),prefix:"<"+i.data("prefix-tag")+' class="ut-count-prefix">'+i.data("prefix")+"</"+i.data("prefix-tag")+">",suffix:"<"+i.data("suffix-tag")+' class="ut-count-suffix">'+i.data("suffix")+"</"+i.data("suffix-tag")+">"};new CountUp(i.find(".ut-count").attr("id"),0,i.data("counter"),i.data("decimals"),i.data("speed")/1e3,n).start(),i.off("inview")}}))}}})},init_animated_image:function(){t(".ut-animate-image").each((function(e,a){var i=t(a);i.hasClass("ut-initialized")||(i.addClass("ut-initialized"),i.on("inview",(function(e,a){var i=t(e.target),n=i.data("effect");if(a){if(i.hasClass("ut-animation-complete")||i.hasClass("ut-element-is-animating")||!i.hasClass("ut-animate-image-ready"))return!1;i.data("animation-duration")&&i.css("animation-duration",i.data("animation-duration")),i.data("animation-between")&&i.css("animation-delay",i.data("animation-between")),i.delay(i.data("delay")).queue((function(){i.css("opacity","1").addClass(n).dequeue()}))}else{if(i.hasClass("ut-animation-complete")||i.hasClass("ut-element-is-animating"))return;"no"===i.data("animateonce")?i.clearQueue().removeClass(n).css("opacity","0").dequeue():i.hasClass(n)&&(i.addClass("ut-animation-complete"),i.off("inview"))}})))}))},init_owl_gallery_slider:function(){t(".ut-owl-gallery-slider, .ut-bkly-qt-rotator > .owl-carousel").not(".ut-initialized").ut_require_js({plugin:"owlCarousel",source:"owl",callback:function(a){a.each((function(a,i){if(!t(i).hasClass("ut-initialized")){t(i).addClass("ut-initialized");var n=t(i).attr("data-settings");if(n=n.includes('"')?JSON.parse(n.replace(/\\/g,"")):JSON.parse(n),t(i).owlCarousel(n),("lightgallery"===site_settings.lg_type&&"no"!==n.lightbox||e())&&t(i).ut_require_js({plugin:"lightGallery",source:"lightGallery",callback:function(t){t.lightGallery({selector:".owl-item .for-lightbox",hash:!1,thumbnail:!1,exThumbImage:"data-exthumbimage",getCaptionFromTitleOrAlt:"true",download:d(site_settings.lg_download),mode:site_settings.lg_mode}),n.autoplay&&(t.on("onAfterOpen.lg",(function(){t.trigger("stop.owl.autoplay")})),t.on("onCloseAfter.lg",(function(){t.trigger("play.owl.autoplay")})))}}),"morphbox"===site_settings.lg_type&&!e()){var o=t("#ut-morph-box-app");n.autoplay&&(o.on("onAfterOpen.utmorph",(function(){t(i).trigger("stop.owl.autoplay")})),o.on("onAfterClose.utmorph",(function(){t(i).trigger("play.owl.autoplay")})))}if(t(i).hasClass("ut-owl-gallery-slider-with-media")){var s="morphbox"!==site_settings.lg_type||e()?".owl-item .for-lightbox":".ut-owl-video-link";t(i).ut_require_js({plugin:"lightGallery",source:"lightGallery",callback:function(t){t.lightGallery({selector:s,hash:!1,thumbnail:!1,exThumbImage:"data-exthumbimage",getCaptionFromTitleOrAlt:"true",download:d(site_settings.lg_download),mode:site_settings.lg_mode}),n.autoplay&&(t.on("onAfterOpen.lg",(function(){t.trigger("stop.owl.autoplay")})),t.on("onCloseAfter.lg",(function(){t.trigger("play.owl.autoplay")})))}})}}}))}})},init_owl_testimonials:function(){t(".ut-bkly-testimonial-rotator > .owl-carousel").not(".ut-initialized").ut_require_js({plugin:"owlCarousel",source:"owl",callback:function(e){e.each((function(e,a){if(!t(a).hasClass("ut-initialized")){t(a).addClass("ut-initialized");var i=t(a).attr("data-settings");(i=i.includes('"')?JSON.parse(i.replace(/\\/g,"")):JSON.parse(i)).onRefresh=function(){t(a).find("div.owl-item").height("")},i.onRefreshed=function(){t(a).find("div.owl-item").height(t(a).height())},t(a).owlCarousel(i),t(a).on("click",".owl-item.active:not(.center)",(function(){t(this).prev().hasClass("center")?t(a).trigger("next.owl.carousel"):t(a).trigger("prev.owl.carousel")}))}}))}})},init_brands:function(){t(".ut-brands-carousel").not(".ut-initialized").ut_require_js({plugin:"flickity",source:"flickity",callback:function(e){e.each((function(e,a){if(t(a).hasClass("ut-initialized"))return!0;t(a).addClass("ut-initialized");var i=t(a).data("settings");t(a).flickity({cellAlign:"left",wrapAround:!0,groupCells:1,lazyLoad:i.lazyLoad,imagesLoaded:!0,pageDots:i.pageDots,autoPlay:i.autoPlay,pauseAutoPlayOnHover:!1,prevNextButtons:i.prevNextButtons,arrowShape:"",on:{ready:function(){i.pageDots&&t(".flickity-page-dots").appendTo(t(a).parent().find(".ut-brands-dots"))}}}),i.autoPlay&&(t(a).flickity("playPlayer"),t(a).on("mouseleave",(function(){t(a).flickity("playPlayer")}))),t(a).imagesLoaded((function(){t(a).flickity("resize")}))}))}})},decodeHtml:function(t){var e=document.createElement("textarea");return e.innerHTML=t,e.value},init_word_rotators:function(){t(".ut-word-rotator-classic").not(".ut-initialized").each((function(){var e=t(this);if(e.hasClass("ut-initialized"))return!0;e.addClass("ut-initialized");var a=e.attr("data-settings"),i=window.ut_rotator_words[e.data("id")],n=0;if(a=a.includes('"')?JSON.parse(a.replace(/\\/g,"")):JSON.parse(a),e.closest("#ut-hero").length&&e.closest("#ut-hero").hasClass("ut-hero-imagefader-background"))t("ul.ut-image-fader li","#ut-hero").on("webkitAnimationStart mozAnimationStart MSAnimationStart oanimationstart animationstart",(function(){var o=t(this).index();n>0&&e.fadeOut(726,(function(){var t=i[o].replace(/<(?:.|\n)*?>/gm,"");"off"!==a.glitch?e.html('<div class="ut-glitch-on-appear ut-simple-glitch-text-'+a.glitch+'" data-title="'+t+'">'+i[o]+"</div>").fadeIn(726):e.html('<div data-title="'+t+'">'+i[o]+"</div>").fadeIn(726)})),n++})),t("ul.ut-image-fader li","#ut-hero").on("animationiteration",(function(){var n=t(this).index();e.fadeOut(726,(function(){var t=i[n].replace(/<(?:.|\n)*?>/gm,"");"off"!==a.glitch?e.html('<div class="ut-glitch-on-appear ut-simple-glitch-text-'+a.glitch+'" data-title="'+t+'">'+i[n]+"</div>").fadeIn(726):e.html('<div data-title="'+t+'">'+i[n]+"</div>").fadeIn(726)}))}));else{var o=function(){setInterval((function(){var o=i[n=(n+1)%i.length],s=o.replace(/<(?:.|\n)*?>/gm,"");"off"!==a.glitch?e.fadeOut(a.effect_timer,(function(){t(this).html('<div class="ut-glitch-on-appear ut-simple-glitch-text-'+a.glitch+'" data-title="'+s+'">'+o+"</div>").fadeIn(a.effect_timer)})):e.fadeOut(a.effect_timer,(function(){t(this).html('<div data-title="'+s+'">'+o+"</div>").fadeIn(a.effect_timer)}))}),a.timer)};if("undefined"!=typeof preloader_settings&&"true"===a.wait_for_preloader)var s=setInterval((function(){preloader_settings.loader_active||(o(),clearInterval(s))}),50);else o()}})),t(".ut-word-rotator-typewriter").not(".ut-initialized").ut_require_js({plugin:"Typewriter",source:"typewriter",callback:function(e){e.each((function(e,a){var i=t(a);if(i.hasClass("ut-initialized"))return!0;i.addClass("ut-initialized");var n=i.attr("data-settings"),o=window.ut_rotator_words[i.data("id")],s=0;n=n.includes('"')?JSON.parse(n.replace(/\\/g,"")):JSON.parse(n);var l=new Typewriter(this,{loop:!0,cursor:n.cursor,wrapperClassName:"ut-typewriter-word",cursorClassName:"ut-typewriter-cursor"});if(i.closest("#ut-hero").length&&i.closest("#ut-hero").hasClass("ut-hero-imagefader-background"))t("ul.ut-image-fader li","#ut-hero").on("webkitAnimationStart mozAnimationStart MSAnimationStart oanimationstart animationstart",(function(){var e=t(this).index();if(s>0){var a=o[e],l=a.replace(/<(?:.|\n)*?>/gm,"");"off"!==n.glitch?t(".ut-word-rotator",i).fadeOut(726,(function(){t(".ut-word-rotator",i).html('<div class="ut-glitch-on-appear ut-simple-glitch-text-'+n.glitch+'" data-title="'+l+'">'+a+"</div>").fadeIn(726)})):t(".ut-word-rotator",i).fadeOut(726,(function(){t(".ut-word-rotator",i).html('<div data-title="'+l+'">'+a+"</div>").fadeIn(726)}))}s++})),t("ul.ut-image-fader li","#ut-hero").on("animationiteration",(function(){var e=t(this).index(),a=o[e],s=a.replace(/<(?:.|\n)*?>/gm,"");"off"!==n.glitch?t(".ut-word-rotator",i).fadeOut(726,(function(){t(".ut-word-rotator",i).html('<div class="ut-glitch-on-appear ut-simple-glitch-text-'+n.glitch+'" data-title="'+s+'">'+a+"</div>").fadeIn(726)})):t(".ut-word-rotator",i).fadeOut(726,(function(){t(".ut-word-rotator",i).html('<div data-title="'+s+'">'+a+"</div>").fadeIn(726)}))}));else{var r=function(){for(var t=0;t<o.length;t++)l.typeString(UT_Shortcodes.decodeHtml(o[t])).callFunction((function(){"off"!==n.glitch&&i.addClass("ut-glitch-on-appear ut-simple-glitch-text-"+n.glitch)})).pauseFor(2500).deleteAll().callFunction((function(){"off"!==n.glitch&&i.removeClass("ut-glitch-on-appear ut-simple-glitch-text-"+n.glitch)}));l.start()};if("undefined"!=typeof preloader_settings&&"true"===n.wait_for_preloader)var u=setInterval((function(){preloader_settings.loader_active||(r(),clearInterval(u))}),50);else r()}}))}}),t(".ut-word-rotator-reveal").each((function(){var e=t(this);if(e.hasClass("ut-initialized"))return!0;e.addClass("ut-initialized")}))},init_icon_draw:function(){t(".ut-vivus-draw").not(".ut-initialized").ut_require_js({plugin:"Vivus",source:"vivus",callback:function(e){e.each((function(e,a){var i=t(a);if(i.hasClass("ut-initialized"))return!0;i.addClass("ut-initialized");var n=i.attr("data-settings");if("no"===(n=n.includes('"')?JSON.parse(n.replace(/\\/g,"")):JSON.parse(n)).draw_svg_icons)return!0;i.data("ut-vivus",new Vivus(a,{duration:n.draw_svg_duration,type:n.draw_svg_type,start:"inViewport",onReady:function(t){t.el.classList?t.el.classList.add("ut-svg-loaded"):t.el.setAttribute("class","ut-svg-loaded")}})),i.data("ut-vivus").stop(),i.parent().on("inview",(function(e,a){a&&t(e.target).dequeue().delay(i.data("settings").draw_svg_delay).queue((function(){i.data("ut-vivus").play(),t(e.target).dequeue()}))}))}))}})},init_parallax_quote:function(){t(".ut-parallax-quote.ut-reveal-fx").not(".ut-initialized").ut_require_js({plugin:"RevealFx",source:"revealfx",callback:function(e){e.each((function(e,a){var i=t(a);if(i.hasClass("ut-initialized"))return!0;if(i.addClass("ut-initialized"),t(".ut-parallax-quote-title",i).prev(".ut-parallax-icon-wrap").length)var n=new RevealFx(t(".ut-parallax-quote-title",i).prev(".ut-parallax-icon-wrap").get(0),{revealSettings:{bgcolor:i.data("revealfx-color"),onCover:function(e){e.style.opacity=1,t(e).find(".ut-vivus-draw").length&&(t(e).find(".ut-vivus-draw").removeClass("ut-initialized"),UT_Shortcodes.init_icon_draw())}}});var o=new RevealFx(t(".ut-parallax-quote-title",i).get(0),{revealSettings:{bgcolor:i.data("revealfx-color"),onCover:function(t){t.style.opacity=1}}});if(t(".ut-parallax-quote-name-wrap",i).length)var s=new RevealFx(t(".ut-parallax-quote-name-wrap",i).get(0),{revealSettings:{bgcolor:i.data("revealfx-color"),onCover:function(t){t.style.opacity=1}}});i.on("inview",(function(e,a){if(a){var i=t(".ut-parallax-quote-title",t(e.target));i.parent().removeClass("ut-element-with-block-reveal"),o.reveal(),t(".ut-parallax-quote-name-wrap",i.next().next("div")).length&&setTimeout((function(){s.reveal()}),200),i.prev(".ut-parallax-icon-wrap").length&&setTimeout((function(){n.reveal()}),200),t(e.target).off("inview")}}))}))}})},init_pie_charts:function(){t(".ut-pie-chart").not(".ut-initialized").ut_require_js({plugin:"Chart",source:"pie_chart",callback:function(e){e.each((function(e,a){var i=t(a);if(i.hasClass("ut-initialized"))return!0;i.addClass("ut-initialized");var n=a.getContext("2d"),o=i.attr("data-settings");(o=o.includes('"')?JSON.parse(o.replace(/\\/g,"")):JSON.parse(o)).options.tooltips.callbacks={label:function(t,e){return e.datasets[0].data[t.index]+" "+e.labels[t.index]}};new Chart(n,o)}))}})},init_appear_effects:function(){t("[data-appear-effect]").not(".ut-initialized").ut_require_js({plugin:"anime",source:"anime",callback:function(e){e.each((function(e,a){var i=t(a),n=i.find("span").attr("class");if(i.hasClass("ut-initialized"))return!0;i.addClass("ut-initialized"),i.on("inview",(function(e,a){if(a){var o=t(e.target),s=o.data("appear-effect"),l=this;if(o.find("a").length&&(l=o.find("a").get(0)),!o.hasClass("ut-effect-letter-split")){var r=l.textContent.split(" ");l.innerHTML="";for(var d=0;d<r.length;d++){var c=r[d].replace(/\S/g,"<ut-letter class='ut-effect-letter'>$&</ut-letter>");l.innerHTML+='<span class="'+n+'">'+c+"</span>",d+1<r.length&&(l.innerHTML+=" ")}o.addClass("ut-effect-letter-split")}var f=l.querySelectorAll(".ut-effect-letter");u[s].targets=f,u[s].begin=function(){o.addClass("ut-effect-letter-animated"),i.off("inview")},anime.timeline({loop:!1}).add(u[s])}}))}))}})},init_list_animation:function(){t(".bklyn-fancy-list-animated").each((function(){var e=t(this);e.on("inview",(function(a,i){i&&(e.find("li").each((function(e){var a=t(this);setTimeout((function(){a.addClass("appeared")}),150*e)})),e.off("inview"))}))})),t(".ut-table-menu-animated").each((function(){var e=t(this);e.on("inview",(function(a,i){i&&(e.find(".ut-table-menu-top").each((function(e){var a=t(this);setTimeout((function(){a.addClass("appeared")}),150*e)})),e.off("inview"))}))}))},init_isotope:function(e){let a={itemSelector:".ut-image-gallery-item-wrap",masonry:{columnWidth:".ut-image-gallery-sizer",gutter:e.data("mason-gal-gutter")}};t(window).width()>767&&t(window).width()<=1024&&(a.masonry.gutter=e.data("mason-gal-gutter-tablet")),t(window).width()<=767&&(a.masonry.gutter=e.data("mason-gal-gutter-mobile")),e.data("isotope")?(t(window).width()>=1025&&(e.data("isotope").options.masonry.gutter=e.data("mason-gal-gutter")),t(window).width()>767&&t(window).width()<=1024&&(e.data("isotope").options.masonry.gutter=e.data("mason-gal-gutter-tablet")),t(window).width()<=767&&(e.data("isotope").options.masonry.gutter=e.data("mason-gal-gutter-mobile")),e.isotope("reloadItems")):e.isotope(a)},init_image_gallery:function(){let e=t(".ut-image-gallery-module");"lightgallery"===site_settings.lg_type&&e.ut_require_js({plugin:"lightGallery",source:"lightGallery",callback:function(t){t.lightGallery({selector:".ut-vc-images-lightbox-group-image",exThumbImage:"data-exthumbimage",download:d(site_settings.lg_download),mode:site_settings.lg_mode,hash:!1})}}),e.each((function(e,a){var i=t(a);if(i.hasClass("ut-initialized"))return!0;i.data("mason-gal")&&i.ut_require_js({plugin:"isotope",source:"isotope",callback:function(e){e.hasClass("ut-isotope-ready")||(UT_Shortcodes.init_isotope(e),t(window).utresize((function(){UT_Shortcodes.init_isotope(e)})),e.addClass("ut-isotope-ready"))}});var n=i.attr("data-settings");if((n=n.includes('"')?JSON.parse(n.replace(/\\/g,"")):JSON.parse(n)).lazy&&(!n.animate||n.animate&&!n.effect)&&(i.data("mason-gal")?(t(".ut-image-gallery-item-wrap",i).appear(),i.on("appear",".ut-image-gallery-item-wrap",(function(e,a){var i=t(this);i.children(".ut-image-gallery-item").hasClass("ut-image-loaded")&&i.delay(100*(a.index(this)-r(a,"appeared"))).queue((function(){i.children(".ut-image-gallery-item").addClass("appeared")}))}))):(t(".ut-image-gallery-item",i).appear(),i.on("appear",".ut-image-gallery-item",(function(e,a){var i=t(this);i.hasClass("ut-image-loaded")&&i.delay(100*(a.index(this)-r(a,"appeared"))).queue((function(){i.addClass("appeared")}))})))),n.animate&&n.effect){t(".ut-animate-gallery-element",i).appear();var o=!0,s=!1;i.on("appear",".ut-animate-gallery-element",(function(e,a){if(n.global_delay_animation&&o&&(s||(s=!0,setTimeout((function(){o=!1,t.force_appear()}),n.global_delay_timer)),1))return!1;var i=t(this),l=i.data("effect");if(n.lazy&&!i.hasClass("ut-image-loaded"))return!0;i.hasClass("ut-animation-complete")||i.hasClass("ut-element-is-animating")||(i.data("animation-duration")&&i.css("animation-duration",i.data("animation-duration")),n.delay_animation?i.delay(n.delay_timer*(a.index(this)-r(a,l))).queue((function(){i.css("opacity","1").addClass(l).dequeue(),i.addClass("appeared")})):i.delay(i.data("delay")).queue((function(){i.css("opacity","1").addClass(l).dequeue(),i.addClass("appeared")})),i.one("webkitAnimationEnd oanimationend msAnimationEnd animationend",(function(t){i.addClass("ut-animation-done")})))})),i.on("disappear",".ut-animate-gallery-element",(function(){var e=t(this),a=e.data("effect");if(n.lazy&&!e.hasClass("ut-image-loaded"))return!0;e.hasClass("ut-animation-complete")||e.hasClass("ut-element-is-animating")||("no"===e.data("animateonce")?(e.parent().removeClass("ut-animation-done"),e.clearQueue().removeClass(a).css("opacity","0").dequeue()):e.hasClass(a)&&e.addClass("ut-animation-complete"))}))}i.addClass("ut-initialized")}))},init_react_carousel:function(){t(".ut-react-carousel").ut_require_js({plugin:"reactslider",source:"reactslider",ieblock:!0})},init_masonry_grid:function(){t(".ut-masonry-grid").ut_require_js({plugin:"utmasonry",source:"masonry",callback:function(e){e.each((function(e,a){t(a).utmasonry({columns:t(a).data("columns"),tcolumns:t(a).data("tcolumns"),mcolumns:t(a).data("mcolumns"),itemClass:"ut-grid-item",unitHeight:t(a).data("column-height")}),t(a).addClass("layoutComplete"),t.force_appear()}))}})},get_grid_size:function(e){var a="";return a=t(window).width()<=767?1:t(window).width()>=767&&t(window).width()<=1024?2:e.data("columns"),e.width()/a},init_portfolio_carousel:function(){t(".ut-portfolio-carousel").ut_require_js({plugin:"flexslider",source:"flexslider",callback:function(e){e.each((function(a,n){if(t(n).hasClass("ut-initialized"))return!0;t(n).flexslider({animation:"slide",controlNav:!1,animationLoop:!1,slideshow:!1,itemWidth:UT_Shortcodes.get_grid_size(t(n)),itemMargin:0,touch:!0,start:function(){t(".ut-lazy-wait",e).each((function(e,a){t(a).removeClass("ut-lazy-wait"),i()&&UT_Adaptive_Images.load_responsive_image(a)}))}}),t(window).utresize((function(){t(n).removeData("flexslider").flexslider({animation:"slide",controlNav:!1,animationLoop:!1,slideshow:!1,itemWidth:UT_Shortcodes.get_grid_size(t(n)),itemMargin:0,touch:!0})})),t(n).addClass("ut-initialized")}))}})},init_timeline:function(){t(".ut-simple-time-line-wrap").not(".ut-initialized").each((function(e,a){var i=t(a);if(i.hasClass("ut-initialized"))return!0;i.addClass("ut-initialized");var n=i.attr("data-settings");if((n=n.includes('"')?JSON.parse(n.replace(/\\/g,"")):JSON.parse(n)).animate){t(".ut-simple-time-line-event-animation, .ut-simple-time-line-event-marker",i).appear();var o=!0,s=!1;function l(){return!!o&&(s||(s=!0,setTimeout((function(){o=!1,t.force_appear()}),n.global_delay_timer)),!0)}i.on("appear",".ut-simple-time-line-event-animation",(function(e,a){if(n.global_delay_animation&&l())return!0;var i=t(this),o=i.data("effect");i.hasClass("ut-animation-complete")||i.hasClass("ut-element-is-animating")||(i.data("animation-duration")&&i.css("animation-duration",i.data("animation-duration")),n.delay_animation?i.delay(n.delay_timer*(a.index(this)-r(a,o))).queue((function(){i.css("opacity","1").addClass(o).dequeue()})):i.delay(i.data("delay")).queue((function(){i.css("opacity","1").addClass(o).dequeue()})),i.one("webkitAnimationEnd oanimationend msAnimationEnd animationend",(function(t){i.addClass("ut-animation-done")})))})),"none"!==n.animation_style_marker&&i.on("appear",".ut-simple-time-line-event-marker",(function(e,a){if(n.global_delay_animation&&l())return!0;var i=t(this),o=i.data("effect");i.hasClass("ut-animation-complete")||i.hasClass("ut-element-is-animating")||(i.data("animation-duration")&&i.css("animation-duration",i.data("animation-duration")),n.delay_animation?i.delay(n.delay_timer_marker*(a.index(this)-r(a,o))).queue((function(){i.css("opacity","1").addClass(o).dequeue()})):i.delay(i.data("delay")).queue((function(){i.css("opacity","1").addClass(o).dequeue()})),i.one("webkitAnimationEnd oanimationend msAnimationEnd animationend",(function(t){i.addClass("ut-animation-done")})))})),i.on("disappear",".ut-simple-time-line-event-animation",(function(){var e=t(this),a=e.data("effect");e.hasClass("ut-animation-complete")||e.hasClass("ut-element-is-animating")||("no"===e.data("animateonce")?(e.parent().removeClass("ut-animation-done"),e.clearQueue().removeClass(a).css("opacity","0").dequeue()):e.hasClass(a)&&e.addClass("ut-animation-complete"))}))}}))},init_social_follow:function(){t(".ut-social-follow-module").not(".ut-initialized").each((function(e,a){var i=t(a);if(i.hasClass("ut-initialized"))return!0;i.addClass("ut-initialized");var n=i.attr("data-settings");(n=n.includes('"')?JSON.parse(n.replace(/\\/g,"")):JSON.parse(n)).animate&&(t(".ut-animate-social-follow-element",i).appear(),i.on("appear",".ut-animate-social-follow-element",(function(e,a){var i=t(this),o=i.data("effect");function s(t){i.hasClass("ut-animation-complete")||i.hasClass("ut-element-is-animating")||(i.data("animation-duration")&&i.css("animation-duration",i.data("animation-duration")),n.delay_animation?i.delay(n.delay_timer*(a.index(t)-r(a,o))).queue((function(){i.css("opacity","1").addClass(o).dequeue()})):i.delay(i.data("delay")).queue((function(){i.css("opacity","1").addClass(o).dequeue()})),i.one("webkitAnimationEnd oanimationend msAnimationEnd animationend",(function(t){i.addClass("ut-animation-done")})))}n.global_delay_animation?i.delay(n.global_delay_timer).queue((function(){i.dequeue(),s(this)})):s(this)})),i.on("disappear",".ut-animate-social-follow-element",(function(){var e=t(this),a=e.data("effect");e.hasClass("ut-animation-complete")||e.hasClass("ut-element-is-animating")||("no"===e.data("animateonce")?(e.parent().removeClass("ut-animation-done"),e.clearQueue().removeClass(a).css("opacity","0").dequeue()):e.hasClass(a)&&e.addClass("ut-animation-complete"))})))}))},init_twitter_rotator:function(){t(".ut-twitter-rotator").not(".ut-initialized").ut_require_js({plugin:"flexslider",source:"flexslider",callback:function(e){e.each((function(e,a){var i=t(a);if(i.hasClass("ut-initialized"))return!0;i.addClass("ut-initialized"),"on"===i.data("avatar")?(i.children(":first").flexslider({animation:"fade",directionNav:!1,controlNav:!1,smoothHeight:!0,animationLoop:!0,slideshow:i.data("autoplay"),slideshowSpeed:i.data("speed"),slideToStart:0,prevText:"",nextText:""}),i.children(":first").next().flexslider({animation:"slide",directionNav:!0,controlNav:!1,slideshow:i.data("autoplay"),smoothHeight:!0,animationLoop:!0,sync:i.children(":first"),slideshowSpeed:i.data("speed"),slideToStart:0,prevText:"",nextText:""})):i.children(":first").flexslider({useCSS:!1,animation:"fade",directionNav:!0,controlNav:!1,smoothHeight:!1,animationLoop:!0,slideshow:i.data("autoplay"),slideshowSpeed:i.data("speed"),prevText:"",nextText:""})}))}})},addParam:function(t,e,a){var i=new RegExp("([?&])"+e+"=.*?(&|$)","i"),n=-1!==t.indexOf("?")?"&":"?";return t.match(i)?t.replace(i,"$1"+e+"="+a+"$2"):t+n+e+"="+a},init_google_map:async function(e){var a=t(e).attr("data-settings");a=a.includes('"')?JSON.parse(a.replace(/\\/g,"")):JSON.parse(a);const{Map:i}=await google.maps.importLibrary("maps"),n=new i(e,a);(new google.maps.Geocoder).geocode({address:t(e).data("address")},(function(i,o){o===google.maps.GeocoderStatus.OK&&(new google.maps.Marker({position:i[0].geometry.location,icon:a.marker,map:n}),n.setCenter(i[0].geometry.location),t(e).addClass("ut-initialized"))}))},init_google_maps:function(){var e,a,i,n,o,s,l,r,u,d,c,f,m,p=t(".ut-advanced-google-map");p.length&&(e={key:p.data("key"),v:"weekly"},o="The Google Maps JavaScript API",s="google",l="importLibrary",r="__ib__",u=document,d=window,c=(d=d[s]||(d[s]={})).maps||(d.maps={}),f=new Set,m=new URLSearchParams,c[l]?console.warn(o+" only loads once. Ignoring:",e):c[l]=(t,...d)=>f.add(t)&&(a||(a=new Promise((async(t,l)=>{for(n in await(i=u.createElement("script")),m.set("libraries",[...f]+""),e)m.set(n.replace(/[A-Z]/g,(t=>"_"+t[0].toLowerCase())),e[n]);m.set("callback",s+".maps."+r),i.src=`https://maps.${s}apis.com/maps/api/js?`+m,c[r]=t,i.onerror=()=>a=l(Error(o+" could not load.")),i.nonce=u.querySelector("script[nonce]")?.nonce||"",u.head.append(i)})))).then((()=>c[l](t,...d))),p.not(".ut-initialized").each((function(t,e){UT_Shortcodes.init_google_map(e)})))},init_comparison_slider:function(){t(".ut-comparison-container").not(".ut-initialized").ut_require_js({plugin:"comparison",source:"comparison",callback:function(e){e.each((function(){var e=t(this);if(e.hasClass("ut-initialized"))return!0;e.addClass("ut-initialized"),e.utcomparison({default_offset_pct:e.data("default-offset-pct"),orientation:e.data("orientation"),before_label:e.data("before-label"),after_label:e.data("after-label"),no_overlay:!1,move_with_handle_only:!0,move_slider_on_hover:e.data("move-slider-on-hover"),click_to_move:!0})}))}})},init_distortion:function(){t(".ut-distortion-effect-container").not(".ut-initialized").ut_require_js({plugin:"hoverEffect",source:"distortion",callback:function(e){e.each((function(e,a){var i=t(a);if(i.hasClass("ut-initialized"))return!0;i.addClass("ut-initialized");var n=Array.from(a.querySelectorAll("img"));lozad(a,{rootMargin:"100%",loaded:function(t){new hoverEffect({parent:t,intensity:t.dataset.intensity||void 0,speedIn:t.dataset.speedin||void 0,speedOut:t.dataset.speedout||void 0,easing:t.dataset.easing||void 0,hover:t.dataset.hover||void 0,image1:n[0].getAttribute("data-src"),image1_w:n[0].getAttribute("width"),image1_h:n[0].getAttribute("height"),image2:n[1].getAttribute("data-src"),image2_w:n[1].getAttribute("width"),image2_h:n[1].getAttribute("height"),displacementImage:t.dataset.displacement})}}).observe()}))}})},init_lightbox:function(){"undefined"!==site_settings&&"lightgallery"===site_settings.lg_type&&(t(".ut-vc-images-lightbox").ut_require_js({plugin:"lightGallery",source:"lightGallery",callback:function(e){e.each((function(){t(this).removeClass("ut-wait-for-plugin")})),t("#ut-custom-contact-section, #ut-custom-hero").lightGallery({selector:".ut-vc-images-lightbox",exThumbImage:"data-exthumbimage",download:d(site_settings.lg_download),getCaptionFromTitleOrAlt:"true",mode:site_settings.lg_mode,hash:!1}),t(".entry-content").each((function(){t(this).data("lightGallery")&&t(this).data("lightGallery").destroy(!0),t(this).lightGallery({selector:".ut-vc-images-lightbox:not(.ut-vc-images-lightbox-group-image)",exThumbImage:"data-exthumbimage",download:d(site_settings.lg_download),getCaptionFromTitleOrAlt:"true",mode:site_settings.lg_mode,hash:!1})}))}}),t(".ut-wp-gallery-lightbox-on").ut_require_js({plugin:"lightGallery",source:"lightGallery",callback:function(e){e.each((function(){t(this).lightGallery({selector:".gallery-item a",exThumbImage:"data-exthumbimage",hash:!1,download:d(site_settings.lg_download),mode:site_settings.lg_mode})}))}})),t(".ut-wp-gallery-lightbox-off").each((function(){t(this).find("a").addClass("ut-deactivated-link")})),t(".gallery:not(.ut-wp-gallery-lightbox)").ut_require_js({plugin:"lightGallery",source:"lightGallery",callback:function(e){e.each((function(){t(".gallery-item a",t(this)).each((function(){t(this).attr("data-sub-html","#"+t(this).closest(".gallery-icon").next().attr("id")),t(this).data("sub-html","#"+t(this).closest(".gallery-icon").next().attr("id"))})),t(this).lightGallery({selector:".gallery-item a",hash:!1,download:d(site_settings.lg_download),mode:site_settings.lg_mode})}))}})},init_video_lightbox:function(){t('.ut-load-video[data-location="lightbox"]').ut_require_js({plugin:"lightGallery",source:"lightGallery",callback:function(e){e.each((function(){if(t(this).data("html5-video")){t(this).removeAttr("href");var e={selector:".ut-load-video",autoplayFirstVideo:!0,controls:!1,download:!1,zoom:!1,hash:!1}}else{t(this).attr("href",t(this).data("video"));e={selector:".ut-load-video",youtubePlayerParams:{autoplay:1},vimeoPlayerParams:{autoplay:1},controls:!1,download:!1,rotate:!1,zoom:!1,hash:!1}}void 0===t(this).data("lg-id")&&t(this).parent().lightGallery(e)}))}})},init_morphbox:function(){"undefined"!==site_settings&&"morphbox"===site_settings.lg_type&&t("a[data-exthumbimage]").ut_require_js({plugin:"morphbox_base",source:"morphbox_base",callback:function(e){t(e).ut_require_js({plugin:"UT_Morph_Box_APP",source:"morphbox",callback:function(e){e.each((function(){t(this).removeClass("ut-wait-for-plugin")})),UT_Morph_Box_APP.init()}})}})},init_yt_background_video:function(){t('.ut-video-section-player[data-source="youtube"]').ut_require_js({plugin:"YTPlayer",source:"ytplayer",callback:function(e){e.YTPlayer(),t("#ut-video-control-"+e.data("id")).click((function(a){a.preventDefault(),t(this).hasClass("ut-unmute")?(t(this).removeClass("ut-unmute").addClass("ut-mute"),e.YTPUnmute()):(t(this).removeClass("ut-mute").addClass("ut-unmute"),e.YTPMute())})),t("#ut-background-video-"+e.data("id")).on("YTPReady",(function(){t("#ut-background-video-"+e.data("id")).siblings(".parallax-scroll-container").addClass("parallax-scroll-container-hide")}))}})},init_vimeo_background_video:function(){t('.ut-video-section-player[data-source="vimeo"]').ut_require_js({plugin:"vimelar",source:"vimeo",callback:function(e){e.each((function(){var e=t(this);e.vimelar(e.data("settings"));var a=document.querySelector("#vimelar-player-"+e.data("id")),i=new Vimeo.Player(a);i.on("loaded",(function(){i.play(),t("#vimelar-container-"+e.data("id")).delay(2e3).queue((function(){t(this).addClass("ut-vimeo-loaded"),t("#ut-video-hero-control").parent().addClass("ut-audio-control-visible"),t(window).trigger("resize")}))})),i.on("ended",(function(){t("#vimelar-container-"+e.data("id")).removeClass("ut-vimeo-loaded"),t("#ut-video-hero-control").fadeOut()})),t("#ut-video-hero-control.vimeo").click((function(a){t(this).hasClass("ut-unmute")?(t(this).removeClass("ut-unmute").addClass("ut-mute"),i.setVolume(e.data("max-volume"))):(t(this).removeClass("ut-mute").addClass("ut-unmute"),i.setVolume(0)),a.preventDefault()}))}))}})},init_glitch:function(){t(".ut-element-glitch-wrap:not(.ut-oberserver-initialized), .ut-simple-glitch-text-permanent:not(.ut-oberserver-initialized)").each((function(){var e=t(this);if(e.hasClass("ut-oberserver-initialized"))return!0;e.addClass("ut-oberserver-initialized").on("inview",n)})),t(".ut-simple-glitch-text-hover").each((function(){var e=t(this);if(e.hasClass("bklyn-btn")||e.parent().hasClass("ut-simple-glitch-text-hover-parent"))return!0;e.parent().addClass("ut-simple-glitch-text-hover-parent")}))},init_background_text:function(){t(".bklyn-background-text-animated").each((function(){let e=t(this);if(e.hasClass("ut-observer-initialized"))return!0;e.addClass("ut-observer-initialized").on("inview",(function(a,i){i?t(a.target).removeClass("outView").addClass("inView"):"infinite"===e.data("animate")&&t(a.target).removeClass("inView").addClass("outView")}))}))},init_video_grid:function(){t(".bklyn-video-grid-wrap").each((function(){let e=this,a=t(".bklyn-video-grid-player",this);a.ut_require_js({plugin:"YTPlayer",source:"ytplayer",callback:function(){a.YTPlayer(a.data("property"))}}),t(".ut-video-grid-video",this).each((function(){t(this).data("background-poster-image")})),a.on("YTPReady",(function(){a.data("filters")&&a.YTPApplyFilters(a.data("filters"))}));let i="click";"hover"===t(this).data("playEvent")&&(i="mouseenter"),t(document).on(i,".ut-video-grid-video",(function(e){if(e.preventDefault(),this.classList.contains("is-playing"))return!1;t(".ut-video-grid-video").not(this).removeClass("is-playing"),this.classList.add("is-playing"),a.YTPChangeMovie(t(this).data("property"))})),"click"===i&&t(e).on("click",".ut-video-grid-video",(function(t){t.preventDefault()}))}))}},t(document).ready((function(){UT_Shortcodes.init()})),t(window).on("load",(function(){t(document).ready((function(){UT_Shortcodes.init_masonry_grid()}))})),t(window).on("load",(function(){i()&&setInterval((function(){o.observe(),s.observe(),l.observe(),UT_Shortcodes.init()}),2e3)})),t(document).ajaxComplete((function(){t(window).scroll(),o.observe(),s.observe(),l.observe(),"function"==typeof window.vc_waypoints&&window.vc_waypoints(),i()&&UT_Shortcodes.init(),t(".ut-animate-element:not(.ut-appear-initialized)").appear().addClass("ut-appear-initialized")})),t(window).on("load",(function(){t(document).on("click",".ut-load-video[data-location=inline]",(function(e){var i=t(this),n=i.data("video"),o=a(),s=i.parent(".ut-video-module-caption"),l=s.next(".ut-video-module-loading");s.find(".ut-video-module-caption-text").fadeOut(),l.fadeIn(),function(e,a,i,n){if(e){var o=utShortcode.ajaxurl,s=t('<div id="ut-video'+a+'"></div>'),l=i.find(".ut-video-module-caption-text");t.ajax({type:"POST",url:o,data:{action:"ut_get_video_player",video:e},success:function(t){return s.html(t).ut_require_js({plugin:"fitVids",source:"fitVids",callback:function(t){t.fitVids()}}),i.html(s.append(l)),!1},complete:function(){n&&"function"==typeof n&&n()}})}}(n,o,s,(function(){l.fadeOut()})),e.preventDefault()})),t(document).on("click",'.ut-video-caption .ut-load-video[data-location="inline"]',(function(e){var i=t(this).data("video"),n=a(),o=t(this).parent(".ut-video-caption"),s=o.next(".ut-video-loading");o.find(".ut-video-caption-text").fadeOut(),s.fadeIn(),function(e,a,i,n){if(e){var o=utShortcode.ajaxurl,s=t('<div id="ut-video'+a+'"></div>'),l=i.find(".ut-video-caption-text");t.ajax({type:"POST",url:o,data:{action:"ut_get_video_player",video:e},success:function(t){return s.html(t).ut_require_js({plugin:"fitVids",source:"fitVids",callback:function(t){t.fitVids()}}),i.html(s.append(l)),!1},complete:function(){n&&"function"==typeof n&&n()}})}}(i,n,o,(function(){s.fadeOut()})),e.preventDefault()})),t(document.body).on("mouseenter",".ut-simple-glitch-text-hover",(function(){var e=t(this);e.hasClass("bklyn-btn")&&(e.parent().addClass("ut-simple-glitch-text-hover-parent"),e.data("effect")&&e.removeClass(e.data("effect")))})).on("mouseleave",".ut-simple-glitch-text-hover-parent",(function(){var e=t(this);e.find(".bklyn-btn").length&&e.removeClass("ut-simple-glitch-text-hover-parent")})),t(".ut-animate-element").appear().addClass("ut-appear-initialized"),t(document.body).on("webkitAnimationStart mozAnimationStart MSAnimationStart oanimationstart animationstart",".ut-animate-element, .ut-animate-image",(function(){var e=t(this),a=e.data("effect");e.hasClass(a)&&e.addClass("ut-element-is-animating")})),t(document.body).on("webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend",".ut-animate-element, .ut-animate-image",(function(){var e=t(this),a=e.data("effect");e.hasClass(a)&&(e.removeClass("ut-element-is-animating"),e.data("animation-between")&&e.removeClass(a).delay(1e3*e.data("animation-between")).queue((function(){e.addClass(a).dequeue()})),"no"!==e.data("animateonce")||e.isOnScreen()||e.clearQueue().removeClass(a).css("opacity","0").dequeue())})),t(document.body).on("webkitAnimationStart mozAnimationStart MSAnimationStart oanimationstart animationstart",".ut-animate-gallery-element",(function(){var e=t(this);e.hasClass(e.data("effect"))&&e.addClass("ut-element-is-animating")})),t(document.body).on("webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend",".ut-animate-gallery-element",(function(){var e=t(this),a=e.data("effect");e.hasClass(a)&&(e.removeClass("ut-element-is-animating"),e.data("animation-between")&&e.removeClass(a).delay(e.data("animation-between")).queue((function(){e.addClass(a).dequeue()})),"no"!==e.data("animateonce")||e.isOnScreen()||e.clearQueue().removeClass(a).css("opacity","0").dequeue())})),t(document.body).on("appear",".ut-animate-element",(function(){var e=t(this),a=e.data("effect");e.hasClass("ut-animation-complete")||e.hasClass("ut-element-is-animating")||(e.data("animation-duration")&&e.css("animation-duration",e.data("animation-duration")),e.delay(e.data("delay")).queue((function(){-1!==a.indexOf("fade")?e.addClass(a):e.css("opacity","1").addClass(a)})))})),t(document.body).on("disappear",".ut-animate-element",(function(){var e=t(this),a=e.data("effect");e.hasClass("ut-animation-complete")||e.hasClass("ut-element-is-animating")||("no"===e.data("animateonce")?e.clearQueue().removeClass(a).css("opacity","0").dequeue():e.hasClass(a)&&e.addClass("ut-animation-complete"))})),t(".bklyn-fancy-divider-animated").on("inview",(function(e,a){if(a){var i=t(this);setTimeout((function(){i.removeClass("bklyn-fancy-divider-animated")}),i.data("animated-delay"))}})),t("[data-ut-auto-remove-wait]").parent().on("inview",(function(e,a){if(a){var i=t(this);i.delay(i.find(".ut-animate-brand-logos").data("ut-auto-remove-wait")).queue((function(){i.find(".ut-animate-brand-logos").data("ut-wait",0).attr("data-ut-wait",0).trigger("inview")}))}})),t(".ut-animate-brand-logos").on("inview",(function(e,a){if(a){var i=t(this),n=i.data("effect");i.find(".ut-single-brand").each((function(e){var a=t(this).find("img");a.delay(i.data("delay")*e).queue((function(){a.css("opacity","1").addClass(n)}))}))}})),t(document.body).on("webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend",".ut-single-brand img.animated",(function(){t(this).attr("class","").attr("style","")})),t(document).ajaxComplete((function(){t(".ut-animate-element:not(.ut-appear-initialized)").appear().addClass("ut-appear-initialized")}))}));var c=!0;function f(t){setTimeout((function(){c=!0}),t)}if(t(document).on("click",".ut-next-gallery-slide:not(.ut-single-slider-control)",(function(e){(e.stopImmediatePropagation(),e.preventDefault(),c)&&(t("#"+t(this).data("for")).trigger("next.owl.carousel"),c=!1,f(200))})),t(document).on("click",".ut-prev-gallery-slide:not(.ut-single-slider-control)",(function(e){(e.stopImmediatePropagation(),e.preventDefault(),c)&&(t("#"+t(this).data("for")).trigger("prev.owl.carousel"),c=!1,f(200))})),t(document).on("click",".ut-next-gallery-slide.ut-single-slider-control",(function(e){(e.stopImmediatePropagation(),e.preventDefault(),c)&&(t("#"+t(this).data("for")).trigger("next.owl.carousel"),c=!1,f(200))})),t(document).on("click",".ut-prev-gallery-slide.ut-single-slider-control",(function(e){(e.stopImmediatePropagation(),e.preventDefault(),c)&&(t("#"+t(this).data("for")).trigger("prev.owl.carousel"),c=!1,f(200))})),t("ut-typewriter-1, ut-typewriter-2").ut_require_js({plugin:"Typewriter",source:"typewriter",callback:function(e){e.each((function(){var e=t(this),a=e.is("ut-typewriter-1")?"|":"_",i=e.text().split(",");e.attr("current",1);var n=new Typewriter(this,{loop:!0,cursor:a,wrapperClassName:"ut-typewriter-word",cursorClassName:"ut-typewriter-cursor"});e.addClass("ut-typewriter-ready");var o=function(){for(var t=0;t<i.length;t++)n.typeString(i[t]).callFunction((function(){e.addClass(e.data("ut-glitch-class"))})).pauseFor(2500).deleteAll().callFunction((function(){parseInt(e.attr("current"))===i.length?e.attr("current",1):e.attr("current",parseInt(e.attr("current"))+1),e.closest(".ut-glitch").length&&e.closest(".ut-glitch").attr("data-title",i[parseInt(e.attr("current"))-1]+a),e.removeClass(e.data("ut-glitch-class"))}));n.start()};if("undefined"!=typeof preloader_settings){let t=setInterval((function(){preloader_settings.loader_active||(o(),clearInterval(t))}),50)}else o()}))}}),t(".ut-glitch-on-appear").on("inview",(function(e,a){a?t(e.target).addClass(t(e.target).data("ut-glitch-class")):t(e.target).removeClass(t(e.target).data("ut-glitch-class"))})),t(document.body).on("webkitAnimationStart mozAnimationStart MSAnimationStart oanimationstart animationstart",".ut-element-revealer",(function(){let e=t(this);e.parent().addClass("ut-element-is-revealing");let a=1170;e.hasClass("ut-element-revealer-slow")&&(a=1820),e.hasClass("ut-element-revealer-fast")&&(a=650),e.delay(a).queue((function(){e.parent().addClass("ut-element-revealer-covered")}))})),t(document.body).on("webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend",".ut-element-revealer",(function(){t(this).dequeue().parent().addClass("ut-element-revealer-ready"),t.force_appear()})),t(document).on("click",".ut-deactivated-link, .ut-deactivated-link a",(function(t){t.preventDefault()})),t("body").hasClass("ut-blog-has-animation")){var m=t("article"),p=t("#secondary");m.appear(),p.appear(),m.each((function(e){t(this).css("z-index",t("article").length+e)})),t(document.body).on("appear","article",(function(){t(this).hasClass("BrooklynFadeInUp")||t(this).delay(150*t(this).index()).queue((function(){t(this).addClass("BrooklynFadeInUp")}))})),t(document.body).on("appear","#secondary",(function(){t(this).hasClass("BrooklynFadeInUp")||t(this).addClass("BrooklynFadeInUp")}))}t(window).on("load",(function(){t.force_appear(),t("#ut-header-search").addClass("ut-header-search-ready")}))}(jQuery);var retina_logos={"sitelogo_retina":"","alternate_logo_retina":"","overlay_sitelogo_retina":""};var site_settings={"type":"multisite","siteframe_size":"20","siteframe_top":"20","siteframe_right":"20","siteframe_bottom":"20","siteframe_left":"20","navigation":"default","header_scroll_position":"floating","lg_type":"lightgallery","lg_transition":"1200","lg_download":"0","lg_share":"1","lg_rotate":"1","lg_pager":"0","lg_mode":"lg-slide","lg_effect":"wobble","mobile_nav_open":"","mobile_nav_is_animating":"","mobile_hero_passed":"","scrollDisabled":"","button_particle_effects":{"send":{"type":"circle","style":"fill","canvasPadding":150,"duration":1000,"easing":"easeInOutCubic"},"upload":{"type":"triangle","easing":"easeOutQuart","size":6,"particlesAmountCoefficient":4,"oscillationCoefficient ":2},"delete":{"type":"rectangle","duration":500,"easing":"easeOutQuad","direction":"top","size":8},"submit":{"direction":"right","size":4,"speed":1,"particlesAmountCoefficient":1.5,"oscillationCoefficient":1},"refresh":{"duration":1300,"easing":"easeInExpo","size":3,"speed":1,"particlesAmountCoefficient":10,"oscillationCoefficient":1},"bookmark":{"direction":"bottom","duration":1000,"easing":"easeInExpo"},"subscribe":{"type":"rectangle","style":"stroke","size":15,"duration":600,"easing":"easeOutQuad","oscillationCoefficient":5,"particlesAmountCoefficient":2,"direction":"right"},"logout":{"type":"triangle","style":"stroke","direction":"right","size":5,"duration":1400,"speed":1.5,"oscillationCoefficient":15},"addtocart":{"duration":500,"easing":"easeOutQuad","speed":0.1,"particlesAmountCoefficient":10,"oscillationCoefficient":80},"pause":{"direction":"right","size":4,"duration":1200,"easing":"easeInCubic","particlesAmountCoefficient":8,"speed":0.4,"oscillationCoefficient":1},"register":{"style":"stroke","direction":"bottom","duration":1200,"easing":"easeOutSine","speed":0.7,"oscillationCoefficient":5},"export":{"type":"triangle","easing":"easeOutSine","size":3,"duration":800,"particlesAmountCoefficient":7,"speed":3,"oscillationCoefficient":1}},"menu_locations":{"navigation":"primary","navigation-secondary":"secondary","ut-header-primary-extra-module":"header_primary","ut-header-secondary-extra-module":"header_secondary","ut-header-tertiary-extra-module":"header_tertiary"},"brooklyn_header_scroll_offset":"0"};(function($){"use strict";$.fn.disableScroll=function(){window.oldScrollPos=$(window).scrollTop();$(window).on("scroll.scrolldisabler",function(event){$(window).scrollTop(window.oldScrollPos);event.preventDefault()})};$.fn.enableScroll=function(){$(window).off("scroll.scrolldisabler")};$.fn.supposition=function(){var $w=$(window),_offset=function(dir){return window[dir==="y"?"pageYOffset":"pageXOffset"]||document.documentElement&&document.documentElement[dir==="y"?"scrollTop":"scrollLeft"]||document.body[dir==="y"?"scrollTop":"scrollLeft"]},onInit=function(){var $topNav=$("li",this);var cZ=parseInt($topNav.css("z-index"))+$topNav.length;$topNav.each(function(){$(this).css({zIndex:--cZ})})},onHide=function(){this.css({marginTop:"",marginLeft:""})},onBeforeShow=function(){this.each(function(){var $u=$(this);$u.css("display","block");var menuWidth=$u.width(),parentWidth=$u.parents("ul").width(),totalRight=$w.width()+_offset("x"),menuRight=$u.offset().left+menuWidth;if(menuRight>totalRight){$u.css("margin-left",($u.parents("ul").length===1?totalRight-menuRight:-(menuWidth+parentWidth))+"px")}var windowHeight=$w.height(),offsetTop=$u.offset().top,menuHeight=$u.height(),baseline=windowHeight+_offset("y");var expandUp=offsetTop+menuHeight>baseline;if(expandUp){$u.css("margin-top",baseline-(menuHeight+offsetTop))}})};return this.each(function(){var $this=$(this),o=$this.data("sf-options");var _onInit=o.onInit,_onBeforeShow=o.onBeforeShow,_onHide=o.onHide;$.extend($this.data("sf-options"),{onInit:function(){onInit.call(this);_onInit.call(this)},onBeforeShow:function(){onBeforeShow.call(this);_onBeforeShow.call(this)},onHide:function(){onHide.call(this);_onHide.call(this)}})})};$.fn.utvmenu=function(option){var obj,item;var options=$.extend({speed:200,autostart:!0,autohide:1},option);obj=$(this);item=obj.find("ul").parent("li").children("a");item.attr("data-option","off");item.unbind("click").on("click",function(){var a=$(this);if(options.autohide){a.parent().parent().find("a[data-option='on']").parent("li").children("ul").slideUp(options.speed/1.2,function(){$(this).parent("li").children("a").attr("data-option","off")})}if(a.attr("data-option")==="off"){a.parent("li").children("ul").slideDown(options.speed,function(){a.attr("data-option","on")})}if(a.attr("data-option")==="on"){a.attr("data-option","off");a.parent("li").children("ul").slideUp(options.speed)}});if(options.autostart){obj.find("a").each(function(){$(this).parent("li").parent("ul").slideDown(options.speed,function(){$(this).parent("li").children("a").attr("data-option","on")})})}};var settings={};var $ELEMENTS=void 0;var scrollPosition=0;var ticking=!1;var generalOffset=0;var winsize;var calcWinsize=function(){winsize={width:window.innerWidth,height:window.innerHeight}};calcWinsize();window.addEventListener("resize",calcWinsize);const MathUtils={map:function(x,a,b,c,d){return(x-a)*(d-c)/(b-a)+c},lerp:function(a,b,n){return(1-n)*a+n*b},getRandomFloat:function(min,max){return(Math.random()*(max-min)+min).toFixed(2)}};var _setupElements=function _setupElements(){for(var i=0;i<$ELEMENTS.length;i++){_setupElement($ELEMENTS[i])}};var _setupElement=function _setupElement(element){var $element=$(element);var factor=element.getAttribute("data-parallax-factor");var transformValues=void 0;var currentTransform=$element.css("transform");if(factor!==""){factor=parseFloat(factor)}else{factor=settings.factor||10}element.factor=factor;element.rect={top:$element.offset().top,left:$element.offset().left,width:$element.width(),height:$element.height()};element.initialOffset=element.rect.top;if(currentTransform!=="none"){transformValues=_getValuesFromTransform(currentTransform)}element.transforms=transformValues};window._isElementInViewport=function _isElementInViewport($element){var $window=$(window);var window_top=$window.scrollTop();var offset=$element.offset();var top=offset.top;if(top+$element.height()>=window_top&&top-($element.data("appear-top-offset")||0)<=window_top+$window.height()){return!0}else{return!1}};var _getValuesFromTransform=function _getValuesFromTransform(matrix){var values=matrix.split("(")[1];values=values.split(")")[0];values=values.split(",");var angle=Math.atan2(values[1],values[0]);var denom=Math.pow(values[0],2)+Math.pow(values[1],2);var scaleX=Math.sqrt(denom);var scaleY=(values[0]*values[3]-values[2]*values[1])/scaleX;var skewX=Math.atan2(values[0]*values[2]+values[1]*values[3],denom);return{rotate:angle/(Math.PI/180),scaleX:scaleX,scaleY:scaleY,skewX:skewX/(Math.PI/180),skewY:0,translateX:values[4],translateY:values[5]}};var _getFullTransform=function _getFullTransform(transforms,positionX,positionY){var transform="translate3d("+positionX+", "+positionY+"px, 0) ";if(!transforms){return transform}if(transforms.skewX||transforms.skewY){}if(transforms.scaleX||transforms.scaleY){}return transform};var _animateElement=function _animateElement(element,direction){var $element=$(element);var $parent=$(element.parentNode);var el_offset=$element.offset();var top=el_offset.top;var p_el_offset=$parent.offset();var p_top=p_el_offset.top;var p_bottom=p_el_offset.top+$parent.outerHeight();var offset=top-scrollPosition;var factor=element.factor;var $window=$(window);if($element.data("parallax-remove-general-offset")===""){offset+=generalOffset}if($element.data("parallax-remove-initial-offset")===""){offset-=element.initialOffset}if(direction==="bottom"){factor*=-1}var transformY=offset/factor;var transformX=0;var visible=_isElementInViewport($element);if(visible===!1||!$element.hasClass("parallax-scroll-container-calculated")||site_settings.scrollDisabled){return}if($element.hasClass("parallax-scroll-container-hide")&&!$element.siblings(".mbYTP_wrapper").length){$element.removeClass("parallax-scroll-container-hide")}if($element.data("parallax-position-x")){transformX=$element.data("parallax-position-x")}if($element.data("parallax-scale")){TweenMax.set(element,{scale:MathUtils.map(p_el_offset.top-scrollPosition,winsize.height,-1*$parent.outerHeight(),scrollPosition>p_bottom?1-($element.data("parallax-scale")-1):1,$element.data("parallax-scale"))})}else if($element.data("parallax-scale-move")){TweenMax.set(element,{x:transformX,y:transformY,scale:MathUtils.map(p_el_offset.top-scrollPosition,winsize.height,-1*$parent.outerHeight(),scrollPosition>p_bottom?1-($element.data("parallax-scale")-1):1,$element.data("parallax-scale-move"))})}else{TweenMax.set(element,{x:transformX,y:transformY})}};var _callback=function _callback(){if(scrollPosition<=0){ticking=!1}for(var i=0;i<$ELEMENTS.length;i++){_animateElement($ELEMENTS[i],"bottom")}ticking=!1};var update=function update(){scrollPosition=window.scrollY||window.pageYOffset;if(!settings.mobile&&window.matchMedia&&window.matchMedia(settings.mediaQuery).matches){return!1}if(!ticking&&window.requestAnimationFrame){window.requestAnimationFrame(_callback);ticking=!0}};var _setOffset=function _setOffset(event,offset){generalOffset=offset};var initialize=function initialize(){if($ELEMENTS.length>0){_setupElements()}};var constructor=function constructor(){$(document).on("hongkong:refresh",_callback).on("hongkong:offset",_setOffset);$.hongkong=function(options){settings=$.extend({factor:4,mobile:!1,mediaQuery:"(max-width: 42em)",threshold:0,selector:"[data-parallax]",selectorBottom:"[data-parallax-bottom]",selectorTop:"[data-parallax-top]"},options);$ELEMENTS=$(settings.selector);if($ELEMENTS.length>0){initialize();update();$(window).on("scroll",update)}$(window).on("resize load",initialize)}};constructor()})(jQuery);(function($){"use strict";function inIframe(){var field="vc_editable";var url=window.location.href;if(url.indexOf("?"+field+"=")!==-1){return!0}else if(url.indexOf("&"+field+"=")!==-1){}else{return!1}}$("html").addClass("js");var waypoints_active=!1;var $brooklyn_body=$("body");var $brooklyn_header=$("#header-section");var chrome=navigator.userAgent.indexOf("Chrome")>-1;function ut_update_current_scroll_offset(){site_settings.brooklyn_header_scroll_offset=$brooklyn_header.data("line-height");if($brooklyn_header.hasClass("ut-header-fixed")){site_settings.brooklyn_header_scroll_offset=0}if(!$brooklyn_header.hasClass("ut-header-fixed")){if($(window).width()>767&&$(window).width()<=1024){$brooklyn_header.css("transform","translate3d(0,0,0)");site_settings.brooklyn_header_scroll_offset=80}if($(window).width()<=767){$brooklyn_header.css("transform","translate3d(0,0,0)");site_settings.brooklyn_header_scroll_offset=60}}}ut_update_current_scroll_offset();$(window).utresize(function(){ut_update_current_scroll_offset()});function ut_get_current_scroll(){return window.pageYOffset||document.documentElement.scrollTop}function adjust_logo(direction){if($brooklyn_header.data("style")==="style-9"&&$brooklyn_header.data("scrolldepth")===1){if(direction==="down"){$(".site-logo").css({height:$brooklyn_header.data("line-height"),"line-height":$brooklyn_header.data("line-height")+"px","margin-top":80});$(".site-logo img").css({"max-height":80})}else{$(".site-logo").removeAttr("style");$(".site-logo img").removeAttr("style")}}}var border_offset="";var header_height="";var hide_offset="";var new_offset="";var last_offset="";var scroll_up_offset="";var header_moved=!1;var scrolling=!1;function ut_header_variables(){border_offset=$brooklyn_body.hasClass("ut-site-border-top")?parseInt(site_settings.siteframe_size):0;header_height=$brooklyn_header.data("total-height");hide_offset=$brooklyn_header.data("line-height")-border_offset-header_height;new_offset=0;last_offset=0;scroll_up_offset=$brooklyn_body.hasClass("ut-site-border-top")?border_offset:0}$(window).utresize(function(){if($(window).width()<1025){adjust_logo("up")}$.waypoints("refresh")});ut_header_variables();$(".ut-stick-in-parent").ut_require_js({plugin:"stickit",source:"stickit",callback:function(element){element.stickit({screenMinWidth:1025,top:parseInt(hide_offset+header_height+40)})}});function ut_move_header(){if($(window).width()<=1025){return}scrolling=!0;if(ut_get_current_scroll()<last_offset){if(ut_get_current_scroll()<=scroll_up_offset){if(-ut_get_current_scroll()>hide_offset){$("#ut-header-placeholder").height(header_height-ut_get_current_scroll());new_offset=-ut_get_current_scroll();$brooklyn_header.css("transform","translate3d(0,0,0)");adjust_logo("up");header_moved=!1}if($("#ut-header-placeholder").length&&ut_get_current_scroll()===0){site_settings.brooklyn_header_scroll_offset=Math.abs(hide_offset)+$brooklyn_header.data("line-height")}}}else{if(ut_get_current_scroll()>0){if(!header_moved){$("#ut-header-placeholder").height($brooklyn_header.data("line-height")-border_offset);$brooklyn_header.css("transform","translate3d(0,"+hide_offset+"px,0)");adjust_logo("down");if($("#ut-header-placeholder").length){site_settings.brooklyn_header_scroll_offset=$brooklyn_header.data("line-height")}header_moved=!0}}}last_offset=ut_get_current_scroll()}if($brooklyn_header.hasClass("ut-header-floating")&&!$brooklyn_body.hasClass("ut-header-hide-on-hero")){if(window.pageYOffset===0&&$("#ut-header-placeholder").length){site_settings.brooklyn_header_scroll_offset=Math.abs(hide_offset)+$brooklyn_header.data("line-height")}$(window).scroll(function(){window.requestAnimationFrame(ut_move_header)});window.requestAnimationFrame(ut_move_header)}setInterval(function(){if(scrolling){scrolling=!1;$.waypoints("refresh")}},200);$(".parallax-scroll-container:not(.parallax-scroll-container-disabled)").each(function(){var $this=$(this),window_height=$(window).height(),container_height=$this.outerHeight();if(container_height<window_height){var new_container_height=100+(100-container_height*100/window_height);$this.css("height",new_container_height+"%").css("margin-top",-($this.outerHeight()-container_height)/2+"px").addClass("parallax-scroll-container-calculated")}if(container_height>=window_height){$this.css("height","105%").css("margin-top",-($this.outerHeight()-container_height)/2+"px").addClass("parallax-scroll-container-calculated")}});$.hongkong({mobile:!0,selector:".parallax-scroll-container:not(.parallax-scroll-container-disabled)"});$(window).on("load",function(){var monitor="";function monitor_particle(id,$this){if(!$this.data("particlestate")){particlesJS(id,$this.data("effect-config"));$this.data("particlestate",!0)}if($this.data("particlestate")){if(typeof pJSDom!==undefined){$this.css("visibility","hidden")}clearTimeout(monitor);monitor=setTimeout(function(){if(typeof pJSDom!==undefined){pJSDom.forEach(function(item,index){pJSDom[index].pJS.fn.particlesRefresh()})}$(".bklyn-overlay-effect").each(function(){$(this).css("visibility","visible")})},100)}}$(".bklyn-overlay-effect[data-effect='particle']").ut_require_js({plugin:"particlesJS",source:"particlesJS",callback:function(element){element.each(function(){var $this=$(this),id=$this.attr("id");$this.data("particlestate",!1);new ResizeSensor($this,function(){monitor_particle(id,$this)});monitor_particle(id,$this)})}});$(".bklyn-overlay-effect[data-effect='aurora']").ut_require_js({plugin:"auroraJS",source:"auroraJS",callback:function(element){element.each(function(){let $this=$(this);new window.UT_Aurora_Effect(this,function(effect){let draw=function(){effect.draw();requestAnimationFrame(draw)};requestAnimationFrame(draw);new ResizeSensor($this,function(){effect.resize()})})})}});$(".bklyn-overlay-effect[data-effect='shift']").ut_require_js({plugin:"shiftJS",source:"shiftJS",callback:function(element){element.each(function(){let $this=$(this);new window.UT_Shift_Effect(this,function(effect){let draw=function(){effect.draw();requestAnimationFrame(draw)};requestAnimationFrame(draw);new ResizeSensor($this,function(){effect.resize()})})})}});$(".bklyn-overlay-effect[data-effect='swirl']").ut_require_js({plugin:"swirlJS",source:"swirlJS",callback:function(element){element.each(function(){let $this=$(this);new window.UT_Swirl_Effect(this,function(effect){let draw=function(){effect.draw();requestAnimationFrame(draw)};requestAnimationFrame(draw);new ResizeSensor($this,function(){effect.resize()})})})}});$(".bklyn-overlay-effect[data-effect='coalesce']").ut_require_js({plugin:"coalesceJS",source:"coalesceJS",callback:function(element){element.each(function(){let $this=$(this);new window.UT_Coalesce_Effect(this,function(effect){let draw=function(){effect.draw();requestAnimationFrame(draw)};requestAnimationFrame(draw);new ResizeSensor($this,function(){effect.resize()})})})}});$(".bklyn-overlay-effect[data-effect='pipeline']").ut_require_js({plugin:"pipelineJS",source:"pipelineJS",callback:function(element){element.each(function(){let $this=$(this);new window.UT_Pipeline_Effect(this,function(effect){let draw=function(){effect.draw();requestAnimationFrame(draw)};requestAnimationFrame(draw);new ResizeSensor($this,function(){effect.resize()})})})}});if(window.location.hash){setTimeout(function(){if(site_settings.navigation==="default"){window.UT_Scroll.scroll_to(window.location.hash,-site_settings.brooklyn_header_scroll_offset)}else if(site_settings.navigation==="side"){window.UT_Scroll.scroll_to(window.location.hash,0)}},400)}});$(document).ready(function(){var $imgs=$("img.utlazy");$imgs.lazyload({effect:"fadeIn",effectspeed:"200",event:"scroll",load:function(){$(this).show();$.waypoints("refresh")},failure_limit:Math.max($imgs.length-1,0)});$(".ut-horizontal-navigation ul.menu").find(".current-menu-ancestor").each(function(){$(this).find("a").first().addClass("active")}).end().find(".current_page_parent").each(function(){$(this).find("a").first().addClass("active")}).end().superfish({autoArrows:!0,delay:15}).supposition();function ut_parse_navigation(item,$list,submenu,type){if(submenu){$.each(item,function(key,value){ut_parse_navigation(value,$list,!1,"append")});return}if(item){var $li=$("<li />").addClass(item.classes);if(item.title){var url=item.url.length?item.url:"#";if(typeof item.wpse_children!=="undefined"){if(item.target.length){$li.append($('<a target="'+item.target+'" class="sf-with-ul" href="'+url+'">'+item.title+"</a>"))}else{$li.append($('<a class="sf-with-ul" href="'+url+'">'+item.title+"</a>"))}}else{if(item.target.length){$li.append($('<a target="'+item.target+'" href="'+url+'">'+item.title+"</a>"))}else{$li.append($('<a href="'+url+'">'+item.title+"</a>"))}}}if(typeof item.wpse_children!=="undefined"){var $sublist=$("<ul/>").addClass("sub-menu");ut_parse_navigation(item.wpse_children,$sublist,!0,"append");$li.append($sublist)}if(type==="prepend"){$list.prepend($li)}else{$list.append($li)}}}$("#ut-mobile-menu").find(".current-menu-ancestor").each(function(){$(this).find("a").first().addClass("active")}).end().find(".current_page_parent").each(function(){$(this).find("a").first().addClass("active")});$("#ut-mobile-menu .sub-menu li:last-child").addClass("last");$("#ut-mobile-menu li:last-child").addClass("last");var $header=$("#header-section"),$logo=$(".site-logo:not(.ut-overlay-site-logo)").find("img"),logo=$logo.data("original-logo"),logoalt=$logo.data("alternate-logo");function mobile_menu_dimensions(){var nav_new_width=$(window).width(),nav_new_height=$(window).outerHeight();$("#ut-mobile-nav").css("width",nav_new_width).height(nav_new_height);$(".ut-scroll-pane-wrap").css("width",nav_new_width-20).height(nav_new_height);$(".ut-scroll-pane").css("width",nav_new_width).height(nav_new_height);$("#ut-mobile-menu").css("width",nav_new_width-40)}$(window).utresize(function(){if($(window).width()>979&&site_settings.mobile_nav_open){$("#ut-open-mobile-menu").trigger("click")}});function ut_open_mobile_menu(){$("#ut-open-mobile-menu").addClass("is-active");mobile_menu_dimensions();$header.removeClass($header.data("primary-skin")).addClass($header.data("secondary-skin"));$("body").addClass("ut-mobile-menu-open");$("#ut-mobile-nav").delay(250).slideToggle(600);$logo.each(function(){$(this).attr("src",logoalt)});site_settings.mobile_nav_open=!0;$(this).one("click",ut_close_mega_menu)}function ut_close_mega_menu(){$("#ut-open-mobile-menu").removeClass("is-active");$("#ut-mobile-nav").slideToggle(600,function(){if(site_settings.mobile_hero_passed===!1||site_settings.mobile_hero_passed===""){$logo.each(function(){$(this).attr("src",logo)})}$header.removeClass($header.data("secondary-skin")).addClass($header.data("primary-skin"));$("body").removeClass("ut-mobile-menu-open");$(this).hide()});site_settings.mobile_nav_open=!1;$(this).one("click",ut_open_mobile_menu)}$(".ut-mm-trigger").one("click",ut_open_mobile_menu);$(".ut-scroll-pane").on("touchstart",function(){});if($("#ut-mobile-menu").data("collapsed")){$(".ut-mobile-menu .sub-menu").hide();$(".ut-mobile-menu .menu-item-has-children > a").on("click",function(event){var clicks=$(this).data("clicks");if(!clicks){$(this).siblings(".sub-menu").show();$(this).data("clicks",!0)}else{$(this).siblings(".sub-menu").hide();$(this).data("clicks",!1)}event.stopImmediatePropagation();event.preventDefault()})}$(".ut-tablet-nav li a").on("click",function(event){var index=$(this).parent().index();$(".ut-tablet-nav li").removeClass("selected");$(this).parent().addClass("selected");$(".ut-tablet").children().hide().removeClass("show");$(".ut-tablet").children().eq(index).fadeIn("fast").addClass("show");event.preventDefault()});window.UT_Scroll={is_scrolling:!1,scroll_effect:$("body").data("scrolleffect"),scroll_speed:$("body").data("scrollspeed"),init:function(){},scroll_to:function(target,offset){self.is_scrolling=!0;$.scrollTo(target,this.scroll_speed,{easing:this.scroll_effect,offset:offset,axis:"y",onAfter:function(){self.is_scrolling=!1;if(typeof target==="object"){target=target.attr("id")}else if(target.indexOf("#")>-1){target=target.substring(1)}UT_Scroll.update_navigation(target)}})},check_navigation:function(element){let ID=$(element).attr("id"),$current=$('.ut-horizontal-navigation a[href*="#'+ID+'"]');if($current.closest("ul").hasClass("sub-menu")){$current.closest("ul").parent().addClass("has-scroll-children")}},update_dots:function(section_ID){$("#ut-scroll-dots > div").removeClass("selected");$('#ut-scroll-dots > div[data-section="#'+section_ID+'"]').addClass("selected")},update_navigation:function(section_ID){if(self.is_scrolling||section_ID==="main-content"){return}UT_Scroll.clean_navigation();if(site_settings.navigation==="default"){var $current=$('.ut-horizontal-navigation a[href*="#'+section_ID+'"]');$current.addClass("selected");if($current.closest("ul").hasClass("sub-menu")){$current.closest("ul").siblings("a").addClass("selected")}}else if(site_settings.navigation==="side"){$('#bklyn-sidenav a[href*="#'+section_ID+'"]').addClass("selected")}$('#ut-mobile-menu a[href*="#'+section_ID+'"]').addClass("selected");$('#ut-scroll-dots > div[data-section="#'+section_ID+'"]').addClass("selected")},update_home:function(){if(self.is_scrolling){return}UT_Scroll.clean_navigation();if(site_settings.navigation==="default"){$(".ut-horizontal-navigation > ul > li").removeClass("sfHover");$(".ut-horizontal-navigation a").removeClass("selected");$(".ut-home-link > a").addClass("selected")}else if(site_settings.navigation==="side"){$('#bklyn-sidenav a[href*="#top"]').addClass("selected")}$("#ut-mobile-menu .ut-home-link > a").addClass("selected")},clean_navigation:function(){if(site_settings.navigation==="default"){$(".ut-horizontal-navigation > ul > li").removeClass("sfHover");$(".ut-horizontal-navigation a").removeClass("selected")}else if(site_settings.navigation==="side"){$("#bklyn-sidenav a").removeClass("selected")}$("#ut-mobile-menu a").removeClass("selected");$("#ut-scroll-dots > div").removeClass("selected")}};UT_Scroll.init();$('.logo a[href*="#"], .ut-logo a[href*="#"]').on("click",function(event){event.preventDefault();event.stopImmediatePropagation();UT_Scroll.scroll_to($(this).attr("href"),-site_settings.brooklyn_header_scroll_offset)});$(".toTop").on("click",function(event){event.preventDefault();event.stopImmediatePropagation();UT_Scroll.scroll_to($(this).attr("href"),-site_settings.brooklyn_header_scroll_offset)});$('.hero-second-btn[href^="#"], .hero-btn[href^="#"], .hero-down-arrow a[href^="#"]').not(".ut-btn-disintegrate").not("#ut-hero-search-submit").on("click",function(event){event.stopImmediatePropagation();event.preventDefault();var target=$(this).attr("href");if(target==="#ut-to-first-section"){var target_offset="";if($brooklyn_body.hasClass("ut-hero-has-fancy-border")){target_offset=site_settings.brooklyn_header_scroll_offset+$("#ut-hero .ut-fancy-border").outerHeight()-1}else{target_offset=site_settings.brooklyn_header_scroll_offset}UT_Scroll.scroll_to($(".wrap"),-target_offset)}else{UT_Scroll.scroll_to(target,-site_settings.brooklyn_header_scroll_offset)}});$("#ut-hero-search-submit").on("click",function(event){event.stopImmediatePropagation();event.preventDefault();$("#searchform").submit()});$('.hero-slider-button[href^="#"]').on("click",function(event){event.stopImmediatePropagation();event.preventDefault();var target=$(this).attr("href");if(target==="#ut-to-first-section"){UT_Scroll.scroll_to($(".wrap"),-site_settings.brooklyn_header_scroll_offset)}else{UT_Scroll.scroll_to(target,-site_settings.brooklyn_header_scroll_offset)}});$('.ut-fancy-image-wrap a[href^="#"]').on("click",function(event){event.stopImmediatePropagation();event.preventDefault();var target=$(this).attr("href");if(target==="#ut-to-first-section"){UT_Scroll.scroll_to($(".wrap"),-site_settings.brooklyn_header_scroll_offset)}else{UT_Scroll.scroll_to($(this).attr("href"),-site_settings.brooklyn_header_scroll_offset)}});$(document).on("click",".ut-scroll-to-section, .ut-scroll-to-section a",function(event){var href=$(this).attr("href");if(href===undefined){return}var section="#"+href.substring(href.indexOf("#")+1);UT_Scroll.scroll_to(section,-site_settings.brooklyn_header_scroll_offset);if($('.ut-horizontal-navigation a[href*="'+section+'"]').length){UT_Scroll.update_navigation(section)}if($('#bklyn-sidenav a[href*="'+section+'"]').length){UT_Scroll.update_navigation(section)}event.preventDefault()});$(".ut-horizontal-navigation a:not(.ut-header-search-trigger)").on("click",function(event){if(this.hash&&!$(this).hasClass("external")&&$(this.hash).length){UT_Scroll.clean_navigation();$(this).addClass("selected");UT_Scroll.scroll_to(this.hash,-site_settings.brooklyn_header_scroll_offset);event.stopImmediatePropagation();event.preventDefault()}else if(this.hash&&$(this.hash).length&&$(this).parent().hasClass("contact-us")){UT_Scroll.scroll_to(this.hash,0);event.stopImmediatePropagation();event.preventDefault()}if($(this).attr("href")==="#"){event.stopImmediatePropagation();event.preventDefault()}});$(".footer ul.menu a").on("click",function(event){if(this.hash&&$(this.hash).length){UT_Scroll.scroll_to(this.hash,-site_settings.brooklyn_header_scroll_offset);event.stopImmediatePropagation();event.preventDefault()}});var isIEMobile=isIEMobile();function isIEMobile(){var regExp=new RegExp("IEMobile","i");return navigator.userAgent.match(regExp)}$("#ut-mobile-menu a").on("click",function(event){if(this.hash&&!$(this).hasClass("external")&&$(this.hash).length){if(!isIEMobile){UT_Scroll.scroll_to(this.hash,-site_settings.brooklyn_header_scroll_offset)}else{var thash=this.hash;$("html, body").animate({scrollTop:$(thash).offset().top},ut_scrollspeed)}event.stopImmediatePropagation();event.preventDefault()}$(".ut-mm-trigger").trigger("click");if($(this).attr("href")==="#"){event.stopImmediatePropagation();event.preventDefault()}});if($("#bklyn-sidenav").length){$("#bklyn-sidenav").utvmenu({speed:800,autostart:!1,autohide:!0});$("#bklyn-sidenav a").on("click",function(event){if(this.hash&&!$(this).hasClass("external")&&$(this.hash).length){UT_Scroll.scroll_to(this.hash,0);event.stopImmediatePropagation();event.preventDefault()}else if(this.hash&&$(this).parent().hasClass("contact-us")){UT_Scroll.scroll_to(this.hash,0);event.stopImmediatePropagation();event.preventDefault()}if($(this).attr("href")==="#"){event.stopImmediatePropagation();event.preventDefault()}})}$(".vc_section").each(function(){if(!$(".ut-vc-offset-anchor-top",this).length){let section_ID=$(this).attr("id");$(this).waypoint(function(direction){if(!waypoints_active){return!1}if(direction==="down"){UT_Scroll.update_dots(section_ID)}})}});$(".ut-vc-offset-anchor-top").each(function(){UT_Scroll.check_navigation(this);$(this).waypoint(function(direction){if(!waypoints_active){return}let containerID=$(this).data("id");if(direction==="down"&&$('#navigation a[href*="#'+containerID+'"]').length){UT_Scroll.update_navigation(containerID)}else if(direction==="down"&&!$('#navigation a[href*="#'+containerID+'"]').length){UT_Scroll.update_home()}},{offset:site_settings.brooklyn_header_scroll_offset+"px"})});$(".ut-vc-offset-anchor-bottom").each(function(){$(this).waypoint(function(direction){if(!waypoints_active){return}let containerID=$(this).data("id");if(direction==="up"&&$('.ut-horizontal-navigation a[href*="#'+containerID+'"]').length){UT_Scroll.update_navigation(containerID)}else if(direction==="up"&&containerID==="section-without-id"){UT_Scroll.update_home()}if($(".ut-vc-offset-anchor-top",$(this).parent()).length&&direction==="up"){UT_Scroll.update_dots($(this).siblings(".ut-vc-offset-anchor-top").data("id"))}else if(direction==="up"&&containerID==="section-without-id"){UT_Scroll.update_dots($(this).parent().attr("id"))}else if(direction==="up"&&containerID){UT_Scroll.update_dots(containerID)}},{offset:site_settings.brooklyn_header_scroll_offset+20+"px"})});$(".ut-offset-anchor").each(function(){$(this).waypoint(function(direction){if(direction==="down"&&$(this).attr("id")!=="to-main-content"){var containerID=$(this).attr("id");if($(this).data("parent")){containerID=$(this).data("parent")}if(site_settings.navigation==="default"){if(containerID=="section-contact"){$(".ut-horizontal-navigation a").removeClass("selected");$(".ut-horizontal-navigation li.contact-us a").addClass("selected")}else{UT_Scroll.update_navigation(containerID)}}else if(site_settings.navigation==="side"){$("#bklyn-sidenav a").removeClass("selected");$('#bklyn-sidenav a[href*="#'+containerID+'"]').addClass("selected")}}if(direction==="up"&&$(this).attr("id")==="to-main-content"){if(site_settings.navigation==="default"){$(".ut-horizontal-navigation a").removeClass("selected");$(".ut-home-link > a").addClass("selected")}else if(site_settings.navigation==="side"){$("#bklyn-sidenav a").removeClass("selected");$(".ut-home-link > a").addClass("selected")}}},{offset:site_settings.brooklyn_header_scroll_offset+"px"})});$(".ut-scroll-up-waypoint").each(function(){$(this).waypoint(function(direction){if(direction==="up"){var containerID=$(this).data("section");if($(this).data("parent")){containerID=$(this).data("parent")}UT_Scroll.update_navigation(containerID)}},{offset:site_settings.brooklyn_header_scroll_offset+10+"px"})});$(".vc_section:not(.ut-section-with-linking)").each(function(){var $this=$(this);$this.waypoint(function(direction){var containerID=$(this).attr("id");if(direction==="down"&&$('.ut-horizontal-navigation a[href*="#'+containerID+'"]').length){UT_Scroll.update_navigation(containerID)}else if(direction==="down"&&!$('.ut-horizontal-navigation a[href*="#'+containerID+'"]').length&&$(".ut-home-link > a").length){UT_Scroll.update_home()}},{offset:site_settings.brooklyn_header_scroll_offset+1+"px"})});$(document).on("click",'.bklyn-btn[href^="#"], .ut-btn[href^="#"], .cta-btn a[href^="#"], .ut-service-column-link[href^="#"], .ut-service-column-vertical-link[href^="#"], .ut-custom-link-module[href^="#"], .bklyn-big-icon-wrap a[href^="#"], .ut-animated-image-item a[href^="#"], .ut-custom-heading-module a[href^="#"], .ut-fancy-image-wrap a[href^="#"], .bklyn-fancy-list a[href^="#"], .ut-label-module[href^="#"], .ut-service-box-link[href^="#"]',function(event){if(this.hash&&$(this.hash).length){event.stopImmediatePropagation();event.preventDefault();if($(this).parent().hasClass("ut-btn-no-scroll-offset")){UT_Scroll.scroll_to($(this).attr("href"),0)}else{UT_Scroll.scroll_to($(this).attr("href"),-site_settings.brooklyn_header_scroll_offset)}}else if(this.hash===""||$(this).attr("href")==="#"){event.preventDefault()}});var $current_button="",button_with_scroll=!1;function openInNewTab(url,target){var win=window.open(url,target);win.focus()}$(".ut-btn-disintegrate").ut_require_js({plugin:"Particles",source:"buttonParticles",callback:function(element){element.each(function(index,element){var $this=$(element),effect=$this.data("particle-effect"),color=$this.data("particle-color"),direction=$this.data("particle-direction");var effect_defaults=site_settings.button_particle_effects[effect];effect_defaults.color=color;effect_defaults.direction=direction;effect_defaults.complete=function(){var target=$this.attr("href").replace(/^.*?(#|$)/,"");if(target&&$("#"+target).length||target==="ut-to-first-section"){if(target==="ut-to-first-section"){UT_Scroll.scroll_to($(".wrap"),-site_settings.brooklyn_header_scroll_offset)}else{UT_Scroll.scroll_to("#"+target,-site_settings.brooklyn_header_scroll_offset)}}else{if($this.hasClass("ut-lightbox")){}else{if($this.attr("href")!=="#"){target=$this.attr("target").length?$this.attr("target"):"_self";openInNewTab($this.attr("href"),target)}}}if($this.hasClass("ut-btn-integrate")){$this.delay(3e3).queue(function(){$(this).data("particle-effect-storage").integrate({complete:function(){$this.removeClass("ut-particles-deactivate-transition");setTimeout(function(){$this.parent().removeClass("ut-particles-deactivate-shadow")},400)}});$(this).dequeue()})}else{$this.removeClass("ut-particles-deactivate-transition");$this.parent().removeClass("ut-particles-deactivate-shadow")}};$this.data("particle-effect-storage",new Particles($this[0],effect_defaults))});$(element).on("click",function(event){$(this).parent().addClass("ut-particles-deactivate-shadow");$(this).addClass("ut-particles-deactivate-transition");$(this).data("particle-effect-storage").disintegrate();event.preventDefault()})}});$("iframe").each(function(){var url=$(this).attr("src");if(url!==undefined){var youtube=url.search("youtube"),splitable=url.split("?");if(youtube>0&&splitable[1]){$(this).attr("src",url+"&wmode=transparent")}if(youtube>0&&!splitable[1]){$(this).attr("src",url+"?wmode=transparent")}}});$(".vc_media_grid").ut_require_js({plugin:"lightGallery",source:"lightGallery",callback:function(element){element.lightGallery({mode:site_settings.lg_mode,selector:".ut-vc-ajax-images-lightbox",exThumbImage:"data-exthumbimage",hash:!1})}});$(document).ajaxComplete(function(){$(".vc_media_grid").ut_require_js({plugin:"lightGallery",source:"lightGallery",callback:function(element){element.lightGallery({mode:site_settings.lg_mode,selector:".ut-vc-ajax-images-lightbox",exThumbImage:"data-exthumbimage",hash:!1})}})});$(".woocommerce-product-gallery__wrapper").ut_require_js({plugin:"lightGallery",source:"lightGallery",callback:function(element){element.lightGallery({mode:site_settings.lg_mode,selector:"a",iframeMaxWidth:"80%",hash:!1})}});$(".ut-lightbox").ut_require_js({plugin:"lightGallery",source:"lightGallery",callback:function(element){element.lightGallery({mode:site_settings.lg_mode,selector:"this",iframeMaxWidth:"80%",hash:!1})}});$(".ut-show-member-details").on("click",function(event){event.preventDefault();$(".ut-overlay").addClass("ut-overlay-show");$("#member_"+$(this).data("member")).addClass("ut-box-show").animate({top:"15%",opacity:1},1e3,"easeInOutExpo",function(){var offset=$(this).offset().top,id=$(this).data("id");$(this).clone().attr("id",id).css({position:"absolute",top:offset,"padding-top":0}).appendTo("body").addClass("member-clone");$(this).removeClass("ut-box-show").css({top:"30%",opacity:"0"})})});$(document).on("click",".ut-hide-member-details, body",function(event){if(!$(event.target).is(".member-social, .member-social *, .ut-btn, .member-box a")){if($(".ut-modal-box.member-clone").length){event.preventDefault()}$(".ut-modal-box.member-clone").animate({top:"0%",opacity:0},600,"easeInOutExpo",function(){$(this).remove();$(".ut-overlay").removeClass("ut-overlay-show")})}});$(document).on("click",".ut-overlay",function(event){event.preventDefault();$(".ut-modal-box.member-clone").animate({top:"0%",opacity:0},600,"easeInOutExpo",function(){$(this).remove();$(".ut-overlay").removeClass("ut-overlay-show")})});if(!$("html").hasClass("no-touchevents")){var touchmoved;$(document).on("touchend",".member-photo",function(){var $this=$(this);if(touchmoved!==!0){if($this.hasClass("ut-touch-event")){$this.toggleClass("cs-hover")}}}).on("touchmove",function(){touchmoved=!0}).on("touchstart",function(){touchmoved=!1})}$(".nivoSlider").on("hover",function(){var $this=$(this);$this.find(".nivo-directionNav .nivo-prevNav").html("");$this.find(".nivo-directionNav .nivo-nextNav").html("")});var $brooklyn_overlay_navigation=$("#ut-overlay-menu"),$brooklyn_overlay_navigation_links=$("#ut-overlay-nav li a"),$brooklyn_open_overlay_menu=$("#ut-open-overlay-menu");function ut_open_overlay_navigation(){$brooklyn_overlay_navigation_links.css("visibility","hidden");$(".ut-overlay-footer-icons-wrap","#ut-overlay-menu-footer").css("visibility","hidden");$(".ut-overlay-copyright","#ut-overlay-menu-footer").css("visibility","hidden");$brooklyn_overlay_navigation.addClass("ut-overlay-menu-visible");setTimeout(function(){$brooklyn_overlay_navigation_links.each(function(index){var $this=$(this);$this.delay(index*75).queue(function(){$this.css("visibility","visible").addClass("fadeInUp").dequeue()})});setTimeout(function(){$(".ut-overlay-footer-icons-wrap","#ut-overlay-menu-footer").css("visibility","visible").addClass("fadeIn");$(".ut-overlay-copyright","#ut-overlay-menu-footer").css("visibility","visible").addClass("fadeIn")},75*$brooklyn_overlay_navigation_links.length+100)},500)}function ut_close_overlay_navigation(){$(".ut-overlay-menu","#ut-overlay-nav").addClass("fadeOut");$(".ut-overlay-footer-icons-wrap","#ut-overlay-menu-footer").removeClass("fadeIn").addClass("fadeOut");$(".ut-overlay-copyright","#ut-overlay-menu-footer").removeClass("fadeIn").addClass("fadeOut");setTimeout(function(){$brooklyn_overlay_navigation.removeClass("ut-overlay-menu-visible");setTimeout(function(){$brooklyn_overlay_navigation_links.removeClass("fadeInUp");$(".ut-overlay-menu","#ut-overlay-nav").removeClass("fadeOut");$(".ut-overlay-copyright","#ut-overlay-menu-footer").removeClass("fadeOut").css("visibility","hidden");$(".ut-overlay-footer-icons-wrap","#ut-overlay-menu-footer").removeClass("fadeOut").css("visibility","hidden")},500)},400)}$(document).on("click","#ut-open-overlay-menu",function(event){var position_offset=$("#ut-open-overlay-menu").offset();var logo_position_offset=$("#header-section .site-logo").offset();var overlay_position_offset=$("#ut-overlay-menu").offset();if(!$(this).hasClass("is-active")){window.requestAnimationFrame(ut_open_overlay_navigation);$("#ut-open-overlay-menu").css({top:position_offset.top-overlay_position_offset.top,left:position_offset.left});if($("#ut-overlay-menu .site-logo").length){if(typeof logo_position_offset==="undefined"){logo_position_offset={top:40,left:40}}$("#ut-overlay-menu .site-logo").css({top:logo_position_offset.top-overlay_position_offset.top,left:logo_position_offset.left});$("#header-section .site-logo").fadeOut()}$brooklyn_open_overlay_menu.prependTo("#ut-overlay-menu");$brooklyn_open_overlay_menu.dequeue().delay(100).queue(function(){$brooklyn_open_overlay_menu.addClass("is-active")})}else{window.requestAnimationFrame(ut_close_overlay_navigation);$brooklyn_open_overlay_menu.prependTo("#ut-hamburger-wrap-overlay");$("#ut-open-overlay-menu").removeAttr("style");if($("#ut-overlay-menu .site-logo").length){$("#header-section .site-logo").fadeIn()}$brooklyn_open_overlay_menu.dequeue().delay(100).queue(function(){$brooklyn_open_overlay_menu.removeClass("is-active")})}event.preventDefault()});$(document).on("touchmove","#ut-overlay-menu",function(ev){if(ev.type!=="click"){ev.stopImmediatePropagation();ev.preventDefault()}});document.addEventListener("keyup",function(ev){if(ev.keyCode===27){if($brooklyn_open_overlay_menu.hasClass("is-active")){$brooklyn_open_overlay_menu.trigger("click")}}});$("#ut-overlay-menu a").on("click",function(event){if(this.hash&&!$(this).hasClass("external")&&$(this.hash).length){UT_Scroll.scroll_to(this.hash,-site_settings.brooklyn_header_scroll_offset);if($brooklyn_open_overlay_menu.hasClass("is-active")){$brooklyn_open_overlay_menu.trigger("click")}event.stopImmediatePropagation();event.preventDefault()}else if(this.hash&&$(this.hash).length&&$(this).parent().hasClass("contact-us")){UT_Scroll.scroll_to(this.hash,0);if($brooklyn_open_overlay_menu.hasClass("is-active")){$brooklyn_open_overlay_menu.trigger("click")}event.stopImmediatePropagation();event.preventDefault()}if($(this).attr("href")==="#"){event.stopImmediatePropagation();event.preventDefault()}});$(".ut-header-search-trigger, .ut-top-header-search-trigger","#header-section").on("click",function(event){$("#ut-header-search-close","#ut-header-search").addClass("is-active");$("#ut-header-search").addClass("ut-show-header-search");$("#ut-header-searchform input").focus();event.preventDefault()});$("#ut-header-search-close","#ut-header-search").on("click",function(event){$(this).removeClass("is-active");$("#ut-header-search").removeClass("ut-show-header-search");event.preventDefault()});document.addEventListener("keyup",function(ev){if(ev.keyCode===27){if($("#ut-header-search").hasClass("ut-show-header-search")){$("#ut-header-search").removeClass("ut-show-header-search")}}});if(window.devicePixelRatio>1||/chrom(e|ium)/.test(navigator.userAgent.toLowerCase())){$.fn.redraw=function(){return this.stop(!0,!0).hide(0,function(){$(this).show()})};$("#main-content section").each(function(){if($(this).css("background-attachment")==="fixed"){$(this).addClass("ut-has-fixed-background")}});var $document=$(document);$document.scroll(function(){$document.find(".ut-has-fixed-background").redraw()})}var utsharetwitter=function(){window.open("http://twitter.com/intent/tweet?url="+encodeURIComponent(location.href),"Twitter","width=650,height=350");return!1};var utsharefacebook=function(){window.open("https://www.facebook.com/sharer/sharer.php?u="+encodeURIComponent(location.href),"facebook","width=650,height=350");return!1};var utsharegoogle=function(){window.open("https://plus.google.com/share?url="+encodeURIComponent(location.href),"googleWindow","width=500,height=500");return!1};var utsharelinkedin=function(){window.open("http://www.linkedin.com/shareArticle?mini=true&url="+encodeURIComponent(location.href)+"$title="+$(".page-title").text(),"linkedinWindow","width=650,height=450, resizable=1");return!1};var utsharepinterest=function(){window.open("http://pinterest.com/pin/create/bookmarklet/?media="+$(".entry-content img").first().attr("src")+"&description="+jQuery(".page-title").text()+" "+encodeURIComponent(location.href),"pinterestWindow","width=750,height=430, resizable=1");return!1};var utsharexing=function(){window.open("https://www.xing-share.com/app/user?op=share;sc_p=xing-share;url="+encodeURIComponent(location.href),"deliciousWindow","width=550,height=550, resizable=1");return!1};$(document).on("click",".ut-share-link",function(event){var social=$(this).data("social");switch(social){case"utsharetwitter":utsharetwitter();break;case"utsharefacebook":utsharefacebook();break;case"utsharegoogle":utsharegoogle();break;case"utsharelinkedin":utsharelinkedin();break;case"utsharepinterest":utsharepinterest();break;case"utsharexing":utsharexing();break}event.preventDefault()});function update_mini_cart_fragments(data){if(typeof data.cart_contents_count!=="undefined"){$(".ut-header-cart-count").text(data.cart_contents_count);$(".ut-header-mini-cart-total-count").text(data.cart_contents_count)}if(typeof data.cart_contents_count!=="undefined"){$(".ut-header-mini-cart-total-price").html(data.cart_total)}if(typeof data.cart_empty!=="undefined"){$(".ut-header-mini-cart-overflow-container").each(function(){$(this).html(data.cart_empty)})}}function set_mini_cart_height(){$(".ut-header-mini-cart-overflow-container").each(function(){var $this=$(this),mini_cart_content_height=0;$.each($this.children().slice(0,3),function(){mini_cart_content_height+=$(this).outerHeight(!0)});$this.closest(".ut-header-mini-cart-content").height(mini_cart_content_height)})}function initialize_mini_cart_simplebar(){$(".ut-header-mini-cart-content").each(function(index,element){if($(element).hasClass("ut-simplebar-initialized")){return}$(element).addClass("ut-simplebar-initialized");$(element).ut_require_js({plugin:"SimpleBar",source:"simplebar",callback:function(element){new SimpleBar(element.get(0))}})})}function check_mini_cart_status(){$(".ut-header-mini-cart-overflow-container").each(function(){var $this=$(this);if($this.find(".ut-header-mini-cart-item-empty").length){$this.closest("ul").addClass("ut-header-mini-cart-no-content")}else{$this.closest("ul").removeClass("ut-header-mini-cart-no-content")}})}$(document).on("click",".ut-remove-header-cart-item",function(event){var $this=$(this);$this.parent().slideUp(function(){$.ajax({type:"POST",url:utShortcode.ajaxurl,data:{action:"remove_item_from_cart",cart_item_key:String($this.data("cart-item-key"))},success:function(data){$this.parent().remove();update_mini_cart_fragments(data);check_mini_cart_status();set_mini_cart_height()}})});event.preventDefault()});set_mini_cart_height();initialize_mini_cart_simplebar();$(document.body).on("added_to_cart",function(){check_mini_cart_status();set_mini_cart_height()});$(".ut-header-mini-cart-content").on("mouseenter",function(){site_settings.scrollDisabled=!0;$brooklyn_body.disableScroll()}).on("mouseleave",function(){site_settings.scrollDisabled=!1;$brooklyn_body.enableScroll()});$(document).on("click",".quantity .decrease",function(event){var $button=$(this),oldValue=$button.siblings(".qty").val(),newVal=parseFloat(oldValue)-1;if(newVal>=1){$button.siblings(".qty").val(newVal).trigger("change")}event.preventDefault()});$(document).on("click",".quantity .increase",function(event){var $button=$(this),oldValue=$button.siblings(".qty").val(),newVal=parseFloat(oldValue)+1;$button.siblings(".qty").val(newVal).trigger("change");event.preventDefault()});var $rev_slider_wrapper=!1;function adjust_slider_revolution(){var hero_height=$(window).height();if(!$("body").hasClass("ut-header-display-on-hero")&&!$("body").hasClass("ut-header-transparent-on-hero")&&!$("body").hasClass("ut-header-hide-on-hero")){hero_height-=$("#header-section").height()}if($("body").hasClass("ut-site-border-top")){if($(window).width()>1024){hero_height-=site_settings.siteframe_top}else{hero_height-=0}}$("#ut-custom-hero").height(hero_height);if(!$rev_slider_wrapper.hasClass("ut-force-rev-slider-fullscreen")){$rev_slider_wrapper.parent().addClass("ut-force-rev-slider-fullscreen");$rev_slider_wrapper.addClass("ut-force-rev-slider-fullscreen");$rev_slider_wrapper.siblings(".tp-fullwidth-forcer").addClass("ut-force-rev-slider-fullscreen")}else{$rev_slider_wrapper.children(".rev_slider").revredraw()}}if($("#ut-custom-hero").find(".rev_slider_wrapper").hasClass("fullscreen-container")){$rev_slider_wrapper=$("#ut-custom-hero").find(".rev_slider_wrapper");$rev_slider_wrapper.one("revolution.slide.onloaded",function(e){adjust_slider_revolution()})}$(window).utresize(function(){if($rev_slider_wrapper){adjust_slider_revolution()}});$(".ut-portfolio-info-details a").on("click",function(event){if($(this).attr("href")==="#"){event.preventDefault()}});$("#ut-custom-contact-section").appear();$(document.body).on("appear","#ut-custom-contact-section",function(){});$(document.body).on("disappear","#ut-custom-contact-section",function(){});$("#ut-hover-cursor").ut_require_js({plugin:"UT_Animated_Cursor",source:"customcursor",ieblock:!0,callback:function(){new window.UT_Animated_Cursor(document.getElementById("ut-hover-cursor"))}})});window.UT_Adaptive_Images={image_observer:"",get_next_image_size:function(current){var base_sizes=[300,500,750,1e3,1500,2500];for(var i=0;i<base_sizes.length;i++){if(base_sizes[i]===parseInt(current)){if(base_sizes[i+1]!==undefined){return base_sizes[i+1]}else{return base_sizes[i]}}}},get_responsive_image:function(element,parent){var images=$(element).data("adaptive-images"),image_found=!1;if(typeof images!=="undefined"){var parent_width=parent?$(element).parent().width():$(element).outerWidth();var modern_media_query=window.matchMedia("screen and (-webkit-min-device-pixel-ratio:2)");for(var key in images){if(parent_width<key){if(modern_media_query.matches){var next=UT_Adaptive_Images.get_next_image_size(key);if(images[next]!==undefined){image_found=!0;return images[next]}}image_found=!0;return images[key]}}if(!image_found){}}return!1},load_responsive_background_image:function(element){var image=UT_Adaptive_Images.get_responsive_image(element,!1);if(image){element.style.backgroundImage="url('"+image+"')"}else if(element.getAttribute("data-src")){element.style.backgroundImage="url('"+element.getAttribute("data-src")+"')"}},load_responsive_image:function(element){var image=UT_Adaptive_Images.get_responsive_image(element,!0);if($(element).hasClass("ut-lazy-wait")){return!1}if(image){element.src=image}else if(element.getAttribute("data-src")){element.src=element.getAttribute("data-src")}},init_observer:function(selector){this.image_observer=lozad(selector,{rootMargin:"100%",load:function(element){UT_Adaptive_Images.load_responsive_image(element)},loaded:function(el){var $el=$(el);$el.addClass("ut-image-loaded loaded");if($el.hasClass("ut-portfolio-featured-image")){$el.closest(".ut-portfolio-item").addClass("ut-portfolio-featured-image-loaded")}if($el.closest(".ut-image-gallery-image").length){$el.closest(".ut-image-gallery-item").addClass("ut-image-loaded");$el.siblings(".ut-box-shadow-lazy").addClass("ut-box-shadow-ready")}$el.delay(200).queue(function(){$.force_appear()});if($el.hasClass("ut-lazy-wait")){$el.data("loaded",!1);$el.attr("data-loaded","false");UT_Adaptive_Images.image_observer.observe(el)}}});this.image_observer.observe()},init_images:function(force){var images=document.querySelectorAll(".ut-adaptive-image");UT_Adaptive_Images.init_observer(images)}};UT_Adaptive_Images.init_images();var resize_timeout;$(window).on("resize orientationchange load",function(){clearTimeout(resize_timeout);resize_timeout=setTimeout(function(){$(".ut-adaptive-image").each(function(index,element){if($(element).is(":visible")&&$(element).parent().is(":visible")&&$(element).parent().width()+$(element).parent().height()>0){UT_Adaptive_Images.load_responsive_image(element)}})},250)});if($(".ut-selfvideo-player","#ut-hero").length){$(".ut-selfvideo-player","#ut-hero").each(function(){var $videoplayer=this,playervolume=$(this).attr("volume")/100;$videoplayer.volume=playervolume;$(".ut-video-control","#ut-hero").not(".youtube").on("click",function(event){if($(this).hasClass("ut-unmute")){$videoplayer.muted=!1;$(this).removeClass("ut-unmute").addClass("ut-mute")}else{$videoplayer.muted=!0;$(this).removeClass("ut-mute").addClass("ut-unmute")}$(this).addClass("ut-player-assigned");event.preventDefault()})});$(".ut-video-control").not(".youtube").not(".ut-player-assigned").on("click",function(event){var player_id=$(this).data("for"),$videoplayer=$("#"+player_id)[0];if($(this).hasClass("ut-unmute")){$videoplayer.muted=!1;$(this).removeClass("ut-unmute").addClass("ut-mute")}else{$videoplayer.muted=!0;$(this).removeClass("ut-mute").addClass("ut-unmute")}event.preventDefault()})}function isInViewport(element){const rect=element.getBoundingClientRect();return rect.top>=0&&rect.left>=0&&rect.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&rect.right<=(window.innerWidth||document.documentElement.clientWidth)}$(window).on("load",function(){var found=!1;setTimeout(function(){if(!$(".ut-content-block-hero").length){return!1}$(".ut-vc-offset-anchor-top").each(function(){if(isInViewport(this)&&!found){if(site_settings.navigation==="default"){var $current=$('.ut-horizontal-navigation a[href*="#'+$(this).data("id")+'"]');$current.addClass("selected");if($current.closest("ul").hasClass("sub-menu")){$current.closest("ul").siblings("a").addClass("selected")}}else if(site_settings.navigation==="side"){$('#bklyn-sidenav a[href*="#'+$(this).data("id")+'"]').addClass("selected")}found=!0;return!0}})},100);waypoints_active=!0})})(jQuery);document.documentElement.className+=" js_active ",document.documentElement.className+="ontouchstart"in document.documentElement?" vc_mobile ":" vc_desktop ",(()=>{for(var e=["-webkit-","-moz-","-ms-","-o-",""],t=0;t<e.length;t++)e[t]+"transform"in document.documentElement.style&&(document.documentElement.className+=" vc_transform ")})(),(c=>{"function"!=typeof window.vc_js&&(window.vc_js=function(){vc_toggleBehaviour(),vc_tabsBehaviour(),vc_accordionBehaviour(),vc_teaserGrid(),vc_carouselBehaviour(),vc_slidersBehaviour(),vc_prettyPhoto(),vc_pinterest(),vc_progress_bar(),vc_plugin_flexslider(),vc_gridBehaviour(),vc_rowBehaviour(),vc_prepareHoverBox(),vc_googleMapsPointer(),vc_ttaActivation(),vc_ttaToggleBehaviour(),jQuery(document).trigger("vc_js"),window.setTimeout(vc_waypoints,500)}),"function"!=typeof window.vc_plugin_flexslider&&(window.vc_plugin_flexslider=function(e){(e?e.find(".wpb_flexslider"):jQuery(".wpb_flexslider")).each(function(){var e=jQuery(this),t=1e3*parseInt(e.attr("data-interval"),10),o=e.attr("data-flex_fx"),i=0==t?!1:!0;e.is(":visible")&&setTimeout(function(){e.flexslider({animation:o,slideshow:i,slideshowSpeed:t,sliderSpeed:800,smoothHeight:!0})},1)})}),"function"!=typeof window.vc_googleplus&&(window.vc_googleplus=function(){var e,t;0<jQuery(".wpb_googleplus").length&&((e=document.createElement("script")).type="text/javascript",e.async=!0,e.src="https://apis.google.com/js/plusone.js",(t=document.getElementsByTagName("script")[0]).parentNode.insertBefore(e,t))}),"function"!=typeof window.vc_pinterest&&(window.vc_pinterest=function(){var e,t;0<jQuery(".wpb_pinterest").length&&((e=document.createElement("script")).type="text/javascript",e.async=!0,e.src="https://assets.pinterest.com/js/pinit.js",(t=document.getElementsByTagName("script")[0]).parentNode.insertBefore(e,t))}),"function"!=typeof window.vc_progress_bar&&(window.vc_progress_bar=function(){void 0!==jQuery.fn.vcwaypoint&&jQuery(".vc_progress_bar").each(function(){var e=jQuery(this);e.vcwaypoint(function(){e.find(".vc_single_bar").each(function(e){var t=jQuery(this).find(".vc_bar"),o=t.data("percentage-value");setTimeout(function(){t.css({width:o+"%"})},200*e)})},{offset:"85%"})})}),"function"!=typeof window.vc_waypoints&&(window.vc_waypoints=function(){void 0!==jQuery.fn.vcwaypoint&&jQuery(".wpb_animate_when_almost_visible:not(.wpb_start_animation)").each(function(){var e=jQuery(this);e.vcwaypoint(function(){e.addClass("wpb_start_animation animated")},{offset:"85%"})})}),"function"!=typeof window.vc_toggleBehaviour&&(window.vc_toggleBehaviour=function(e){function t(e){e&&e.preventDefault&&e.preventDefault();var t=jQuery(this).closest(".vc_toggle"),e=t.find(".vc_toggle_content");t.hasClass("vc_toggle_active")?e.slideUp({duration:300,complete:function(){t.removeClass("vc_toggle_active")}}):e.slideDown({duration:300,complete:function(){t.addClass("vc_toggle_active")}})}(e?e.hasClass("vc_toggle_title")?e.unbind("click"):e.find(".vc_toggle_title").off("click"):jQuery(".vc_toggle_title").off("click")).on("click",t)}),"function"!=typeof window.vc_ttaToggleBehaviour&&(window.vc_ttaToggleBehaviour=function(e){function t(){var e=jQuery(this);e.toggleClass("wpb-tta-toggle-active"),e.parent().parent().parent().find(".vc_pagination-item").each(function(){if(!c(this).hasClass("vc_active"))return c(this).find("a").click(),!1})}(e?e.find(".wpb-tta-toggle"):jQuery(".wpb-tta-toggle")).off("click").on("click",t),setTimeout(function(){jQuery(".wpb-tta-toggle").each(function(){var e=jQuery(this);e.parent().parent().parent().find(".vc_tta-panels-container .vc_pagination li:first").hasClass("vc_active")||e.addClass("wpb-tta-toggle-active")})},1e3)}),"function"!=typeof window.vc_tabsBehaviour&&(window.vc_tabsBehaviour=function(e){var t,n;jQuery.ui&&(e=e||jQuery(".wpb_tabs, .wpb_tour"),t=jQuery.ui&&jQuery.ui.version?jQuery.ui.version.split("."):"1.10",n=1===parseInt(t[0],10)&&parseInt(t[1],10)<9,e.each(function(e){var t=jQuery(this).attr("data-interval"),o=[],i=jQuery(this).find(".wpb_tour_tabs_wrapper").tabs({show:function(e,t){wpb_prepare_tab_content(e,t)},activate:function(e,t){wpb_prepare_tab_content(e,t)}});if(t&&0<t)try{i.tabs("rotate",1e3*t)}catch(e){window.console&&window.console.warn&&console.warn("tabs behaviours error",e)}jQuery(this).find(".wpb_tab").each(function(){o.push(this.id)}),jQuery(this).find(".wpb_tabs_nav li").on("click",function(e){return e&&e.preventDefault&&e.preventDefault(),n?i.tabs("select",jQuery("a",this).attr("href")):i.tabs("option","active",jQuery(this).index()),!1}),jQuery(this).find(".wpb_prev_slide a, .wpb_next_slide a").on("click",function(e){var t;e&&e.preventDefault&&e.preventDefault(),n?(t=i.tabs("option","selected"),jQuery(this).parent().hasClass("wpb_next_slide")?t++:t--,t<0?t=i.tabs("length")-1:t>=i.tabs("length")&&(t=0),i.tabs("select",t)):(t=i.tabs("option","active"),e=i.find(".wpb_tab").length,t=jQuery(this).parent().hasClass("wpb_next_slide")?e<=t+1?0:t+1:t-1<0?e-1:t-1,i.tabs("option","active",t))})}))}),"function"!=typeof window.vc_accordionBehaviour&&(window.vc_accordionBehaviour=function(){jQuery(".wpb_accordion").each(function(e){var t=jQuery(this),o=(t.attr("data-interval"),!isNaN(jQuery(this).data("active-tab"))&&0<parseInt(t.data("active-tab"),10)&&parseInt(t.data("active-tab"),10)-1),i=!1===o||"yes"===t.data("collapsible"),o=t.find(".wpb_accordion_wrapper").accordion({header:"> div > h3",autoHeight:!1,heightStyle:"content",active:o,collapsible:i,navigation:!0,activate:vc_accordionActivate,change:function(e,t){void 0!==jQuery.fn.isotope&&t.newContent.find(".isotope").isotope("layout"),vc_carouselBehaviour(t.newPanel)}});!0===t.data("vcDisableKeydown")&&(o.data("uiAccordion")._keydown=function(){})})}),"function"!=typeof window.vc_teaserGrid&&(window.vc_teaserGrid=function(){var i={fitrows:"fitRows",masonry:"masonry"};jQuery(".wpb_grid .teaser_grid_container:not(.wpb_carousel), .wpb_filtered_grid .teaser_grid_container:not(.wpb_carousel)").each(function(){var e=jQuery(this),t=e.find(".wpb_thumbnails"),o=t.attr("data-layout-mode");t.isotope({itemSelector:".isotope-item",layoutMode:void 0===i[o]?"fitRows":i[o]}),e.find(".categories_filter a").data("isotope",t).on("click",function(e){e&&e.preventDefault&&e.preventDefault();e=jQuery(this).data("isotope");jQuery(this).parent().parent().find(".active").removeClass("active"),jQuery(this).parent().addClass("active"),e.isotope({filter:jQuery(this).attr("data-filter")})}),jQuery(window).on("load resize",function(){t.isotope("layout")})})}),"function"!=typeof window.vc_carouselBehaviour&&(window.vc_carouselBehaviour=function(e){(e?e.find(".wpb_carousel"):jQuery(".wpb_carousel")).each(function(){var e=jQuery(this);!0!==e.data("carousel_enabled")&&e.is(":visible")&&(e.data("carousel_enabled",!0),getColumnsCount(jQuery(this)),jQuery(this).hasClass("columns_count_1"),(e=jQuery(this).find(".wpb_thumbnails-fluid li")).css({"margin-right":e.css("margin-left"),"margin-left":0}),(e=jQuery(this).find("ul.wpb_thumbnails-fluid")).width(e.width()+300))})}),"function"!=typeof window.vc_slidersBehaviour&&(window.vc_slidersBehaviour=function(){jQuery(".wpb_gallery_slides").each(function(e){var t,o,i=jQuery(this);i.hasClass("wpb_slider_nivo")?(0===(o=1e3*i.attr("data-interval"))&&(o=9999999999),i.find(".nivoSlider").nivoSlider({effect:"boxRainGrow,boxRain,boxRainReverse,boxRainGrowReverse",slices:15,boxCols:8,boxRows:4,animSpeed:800,pauseTime:o,startSlide:0,directionNav:!0,directionNavHide:!0,controlNav:!0,keyboardNav:!1,pauseOnHover:!0,manualAdvance:!1,prevText:"Prev",nextText:"Next"})):i.hasClass("wpb_image_grid")&&(jQuery.fn.imagesLoaded?t=i.find(".wpb_image_grid_ul").imagesLoaded(function(){t.isotope({itemSelector:".isotope-item",layoutMode:"fitRows"})}):i.find(".wpb_image_grid_ul").isotope({itemSelector:".isotope-item",layoutMode:"fitRows"}))})}),"function"!=typeof window.vc_prettyPhoto&&(window.vc_prettyPhoto=function(){try{jQuery&&jQuery.fn&&jQuery.fn.prettyPhoto&&jQuery('a.prettyphoto, .gallery-icon a[href*=".jpg"]').prettyPhoto({animationSpeed:"normal",hook:"data-rel",padding:15,opacity:.7,showTitle:!0,allowresize:!0,counter_separator_label:"/",hideflash:!1,deeplinking:!1,modal:!1,callback:function(){-1<location.href.indexOf("#!prettyPhoto")&&(location.hash="")},social_tools:""})}catch(e){window.console&&window.console.warn&&window.console.warn("vc_prettyPhoto initialize error",e)}}),"function"!=typeof window.vc_google_fonts&&(window.vc_google_fonts=function(){return window.console&&window.console.warn&&window.console.warn("function vc_google_fonts is deprecated, no need to use it"),!1}),window.vcParallaxSkroll=!1,"function"!=typeof window.vc_rowBehaviour&&(window.vc_rowBehaviour=function(){var l=window.jQuery;function e(){var e;void 0!==window.wpb_disable_full_width_row_js&&window.wpb_disable_full_width_row_js||(e=l('[data-vc-full-width="true"]'),l.each(e,function(e,t){var o,i,n,a,r,c,d,s=l(this),u=(s.addClass("vc_hidden"),s.next(".vc_row-full-width"));(u=u.length?u:s.parent().next(".vc_row-full-width")).length&&(o=parseInt(s.css("margin-left"),10),i=parseInt(s.css("margin-right"),10),n=0-u.offset().left-o,a=l(window).width(),r={position:"relative",left:n="rtl"===s.css("direction")?(n=n-u.width()+a)+o+i:n,"box-sizing":"border-box",width:a,"max-width":a},s.css(r),s.data("vcStretchContent")||("rtl"===s.css("direction")?((c=n)<0&&(c=0),(d=n)<0&&(d=0)):(d=a-(c=(c=-1*n)<0?0:c)-u.width()+o+i)<0&&(d=0),s.css({"padding-left":c+"px","padding-right":d+"px"})),s.attr("data-vc-full-width-init","true"),s.removeClass("vc_hidden"),l(document).trigger("vc-full-width-row-single",{el:s,offset:n,marginLeft:o,marginRight:i,elFull:u,width:a,maxWidth:a}))}),l(document).trigger("vc-full-width-row",e))}function t(){var e,t,o=l(".vc_row-o-full-height:first");o.length&&(e=l(window).height(),(t=o.offset().top)<e)&&o.css("min-height",100-t/(e/100)+"vh"),l(document).trigger("vc-full-height-row",o)}l(window).off("resize.vcRowBehaviour").on("resize.vcRowBehaviour",e).on("resize.vcRowBehaviour",t),e(),t(),(0<window.navigator.userAgent.indexOf("MSIE ")||navigator.userAgent.match(/Trident.*rv\:11\./))&&l(".vc_row-o-full-height").each(function(){"flex"===l(this).css("display")&&l(this).wrap('<div class="vc_ie-flexbox-fixer"></div>')}),vc_initVideoBackgrounds();var n=!1;if(window.vcParallaxSkroll&&window.vcParallaxSkroll.destroy(),l(".vc_parallax-inner").remove(),l("[data-5p-top-bottom]").removeAttr("data-5p-top-bottom data-30p-top-bottom"),l("[data-vc-parallax]").each(function(){var e,t,o,i;n=!0,"on"===l(this).data("vcParallaxOFade")&&l(this).children().attr("data-5p-top-bottom","opacity:0;").attr("data-30p-top-bottom","opacity:1;"),e=100*l(this).data("vcParallax"),(t=l("<div />").addClass("vc_parallax-inner").appendTo(l(this))).height(e+"%"),o=l(this).data("vcParallaxImage"),(i=vcExtractYoutubeId(o))?insertYoutubeVideoAsBackground(t,i):void 0!==o&&t.css("background-image","url("+o+")"),t.attr("data-bottom-top","top: "+-(e-100)+"%;").attr("data-top-bottom","top: 0%;")}),n&&window.skrollr)window.vcParallaxSkroll=skrollr.init({forceHeight:!1,smoothScrolling:!1,mobileCheck:function(){return!1}}),window.vcParallaxSkroll}),"function"!=typeof window.vc_gridBehaviour&&(window.vc_gridBehaviour=function(){jQuery.fn.vcGrid&&jQuery("[data-vc-grid]").vcGrid()}),"function"!=typeof window.getColumnsCount&&(window.getColumnsCount=function(e){for(var t=!1,o=1;!1===t;){if(e.hasClass("columns_count_"+o))return t=!0,o;o++}}),"function"!=typeof window.wpb_prepare_tab_content&&(window.wpb_prepare_tab_content=function(e,t){var o=t.panel||t.newPanel,i=o.find(".vc_pie_chart:not(.vc_ready)"),n=o.find(".vc_round-chart"),a=o.find(".vc_line-chart"),r=o.find('[data-ride="vc_carousel"]');vc_carouselBehaviour(),vc_plugin_flexslider(o),t.newPanel.find(".vc_masonry_media_grid, .vc_masonry_grid").length&&t.newPanel.find(".vc_masonry_media_grid, .vc_masonry_grid").each(function(){var e=jQuery(this).data("vcGrid");e&&e.gridBuilder&&e.gridBuilder.setMasonry&&e.gridBuilder.setMasonry()}),o.find(".vc_masonry_media_grid, .vc_masonry_grid").length&&o.find(".vc_masonry_media_grid, .vc_masonry_grid").each(function(){var e=jQuery(this).data("vcGrid");e&&e.gridBuilder&&e.gridBuilder.setMasonry&&e.gridBuilder.setMasonry()}),i.length&&jQuery.fn.vcChat&&i.vcChat(),n.length&&jQuery.fn.vcRoundChart&&n.vcRoundChart({reload:!1}),a.length&&jQuery.fn.vcLineChart&&a.vcLineChart({reload:!1}),r.length&&jQuery.fn.carousel&&r.carousel("resizeAction"),t=o.find(".isotope, .wpb_image_grid_ul"),i=o.find(".wpb_gmaps_widget"),0<t.length&&t.isotope("layout"),i.length&&!i.is(".map_ready")&&((n=i.find("iframe")).attr("src",n.attr("src")),i.addClass("map_ready")),o.parents(".isotope").length&&o.parents(".isotope").each(function(){jQuery(this).isotope("layout")}),c(document).trigger("wpb_prepare_tab_content",o)}),"function"!=typeof window.vc_ttaActivation&&(window.vc_ttaActivation=function(){jQuery("[data-vc-accordion]").on("show.vc.accordion",function(e){var t=window.jQuery,o={};o.newPanel=t(this).data("vc.accordion").getTarget(),window.wpb_prepare_tab_content(e,o)})}),"function"!=typeof window.vc_accordionActivate&&(window.vc_accordionActivate=function(e,t){var o,i,n,a;t.newPanel.length&&t.newHeader.length&&(o=t.newPanel.find(".vc_pie_chart:not(.vc_ready)"),i=t.newPanel.find(".vc_round-chart"),n=t.newPanel.find(".vc_line-chart"),a=t.newPanel.find('[data-ride="vc_carousel"]'),void 0!==jQuery.fn.isotope&&t.newPanel.find(".isotope, .wpb_image_grid_ul").isotope("layout"),t.newPanel.find(".vc_masonry_media_grid, .vc_masonry_grid").length&&t.newPanel.find(".vc_masonry_media_grid, .vc_masonry_grid").each(function(){var e=jQuery(this).data("vcGrid");e&&e.gridBuilder&&e.gridBuilder.setMasonry&&e.gridBuilder.setMasonry()}),vc_carouselBehaviour(t.newPanel),vc_plugin_flexslider(t.newPanel),o.length&&jQuery.fn.vcChat&&o.vcChat(),i.length&&jQuery.fn.vcRoundChart&&i.vcRoundChart({reload:!1}),n.length&&jQuery.fn.vcLineChart&&n.vcLineChart({reload:!1}),a.length&&jQuery.fn.carousel&&a.carousel("resizeAction"),t.newPanel.parents(".isotope").length)&&t.newPanel.parents(".isotope").each(function(){jQuery(this).isotope("layout")})}),"function"!=typeof window.initVideoBackgrounds&&(window.initVideoBackgrounds=function(){return window.console&&window.console.warn&&window.console.warn("this function is deprecated use vc_initVideoBackgrounds"),vc_initVideoBackgrounds()}),"function"!=typeof window.vc_initVideoBackgrounds&&(window.vc_initVideoBackgrounds=function(){jQuery("[data-vc-video-bg]").each(function(){var e,o=jQuery(this);o.data("vcVideoBg")?(e=o.data("vcVideoBg"),(e=vcExtractYoutubeId(e))&&(o.find(".vc_video-bg").remove(),insertYoutubeVideoAsBackground(o,e)),jQuery(window).on("grid:items:added",function(e,t){o.has(t).length&&vcResizeVideoBackground(o)})):o.find(".vc_video-bg").remove()})}),"function"!=typeof window.insertYoutubeVideoAsBackground&&(window.insertYoutubeVideoAsBackground=function(e,t,o){if("undefined"==typeof YT||void 0===YT.Player)return 100<(o=void 0===o?0:o)?void console.warn("Too many attempts to load YouTube api"):void setTimeout(function(){insertYoutubeVideoAsBackground(e,t,o++)},100);var i=e.prepend('<div class="vc_video-bg"><div class="inner"></div></div>').find(".inner");new YT.Player(i[0],{width:"100%",height:"100%",videoId:t,playerVars:{playlist:t,iv_load_policy:3,enablejsapi:1,disablekb:1,autoplay:1,controls:0,showinfo:0,rel:0,loop:1,mute:1,wmode:"transparent"},events:{onReady:function(e){e.target.mute().setLoop(!0)}}}),vcResizeVideoBackground(e),jQuery(window).on("resize",function(){vcResizeVideoBackground(e)})}),"function"!=typeof window.vcResizeVideoBackground&&(window.vcResizeVideoBackground=function(e){var t,o,i,n,a=e.innerWidth(),r=e.innerHeight();a/r<16/9?(t=r*(16/9),o=r,i=-Math.round((t-a)/2)+"px",n=-Math.round((o-r)/2)+"px"):(o=(t=a)*(9/16),n=-Math.round((o-r)/2)+"px",i=-Math.round((t-a)/2)+"px"),t+="px",o+="px",e.find(".vc_video-bg iframe").css({maxWidth:"1000%",marginLeft:i,marginTop:n,width:t,height:o})}),"function"!=typeof window.vcExtractYoutubeId&&(window.vcExtractYoutubeId=function(e){return void 0!==e&&null!==(e=e.match(/(?:https?:\/{2})?(?:w{3}\.)?youtu(?:be)?\.(?:com|be)(?:\/watch\?v=|\/)([^\s&]+)/))&&e[1]}),"function"!=typeof window.vc_googleMapsPointer&&(window.vc_googleMapsPointer=function(){var e=window.jQuery,t=e(".wpb_gmaps_widget");t.on("click",function(){e("iframe",this).css("pointer-events","auto")}),t.on("mouseleave",function(){e("iframe",this).css("pointer-events","none")}),e(".wpb_gmaps_widget iframe").css("pointer-events","none")}),"function"!=typeof window.vc_setHoverBoxPerspective&&(window.vc_setHoverBoxPerspective=function(e){e.each(function(){var e=jQuery(this),t=e.width();e.css("perspective",4*t+"px")})}),"function"!=typeof window.vc_setHoverBoxHeight&&(window.vc_setHoverBoxHeight=function(e){e.each(function(){var e=jQuery(this),t=e.find(".vc-hoverbox-inner"),o=(t.css("min-height",0),e.find(".vc-hoverbox-front-inner").outerHeight()),e=e.find(".vc-hoverbox-back-inner").outerHeight(),o=e<o?o:e;t.css("min-height",(o=o<250?250:o)+"px")})}),"function"!=typeof window.vc_prepareHoverBox&&(window.vc_prepareHoverBox=function(){var e=jQuery(".vc-hoverbox");vc_setHoverBoxHeight(e),vc_setHoverBoxPerspective(e)}),jQuery(document).ready(window.vc_prepareHoverBox),jQuery(window).on("resize",window.vc_prepareHoverBox),jQuery(document).ready(function(e){window.vc_js()})})(window.jQuery);;function lazyLoadThumb(e){var t='<img data-lazy-src="https://i.ytimg.com/vi/ID/hqdefault.jpg" alt="" width="480" height="360"><noscript><img src="https://i.ytimg.com/vi/ID/hqdefault.jpg" alt="" width="480" height="360"></noscript>',a='<button class="play" aria-label="play Youtube video"></button>';return t.replace("ID",e)+a}function lazyLoadYoutubeIframe(){var e=document.createElement("iframe"),t="ID?autoplay=1";t+=0===this.parentNode.dataset.query.length?'':'&'+this.parentNode.dataset.query;e.setAttribute("src",t.replace("ID",this.parentNode.dataset.src)),e.setAttribute("frameborder","0"),e.setAttribute("allowfullscreen","1"),e.setAttribute("allow","accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"),this.parentNode.parentNode.replaceChild(e,this.parentNode)}document.addEventListener("DOMContentLoaded",function(){var e,t,p,a=document.getElementsByClassName("rll-youtube-player");for(t=0;t<a.length;t++)e=document.createElement("div"),e.setAttribute("data-id",a[t].dataset.id),e.setAttribute("data-query",a[t].dataset.query),e.setAttribute("data-src",a[t].dataset.src),e.innerHTML=lazyLoadThumb(a[t].dataset.id),a[t].appendChild(e),p=e.querySelector('.play'),p.onclick=lazyLoadYoutubeIframe});;window.matchMedia||(window.matchMedia=function(){var c=window.styleMedia||window.media;if(!c){var a=document.createElement("style"),d=document.getElementsByTagName("script")[0],e=null;a.type="text/css";a.id="matchmediajs-test";d.parentNode.insertBefore(a,d);e="getComputedStyle"in window&&window.getComputedStyle(a,null)||a.currentStyle;c={matchMedium:function(b){b="@media "+b+"{ #matchmediajs-test { width: 1px; } }";a.styleSheet?a.styleSheet.cssText=b:a.textContent=b;return"1px"===e.width}}}return function(a){return{matches:c.matchMedium(a||"all"),media:a||"all"}}}());/*!
				 * jQuery.utresize
				 * @author UnitedThemes
				 * @version 1.0
				 *
				 */
(function($,sr){"use strict";var debounce=function(func,threshold,execAsap){var timeout='';return function debounced(){var obj=this,args=arguments;function delayed(){if(!execAsap){func.apply(obj,args)}
timeout=null}
if(timeout){clearTimeout(timeout)}else if(execAsap){func.apply(obj,args)}
timeout=setTimeout(delayed,threshold||100)}};jQuery.fn[sr]=function(fn){return fn?this.bind('resize',debounce(fn)):this.trigger(sr)}})(jQuery,'utresize');(function($){"use strict";if(!String.prototype.includes){String.prototype.includes=function(search,start){if(typeof start!=='number'){start=0}
if(start+search.length>this.length){return!1}else{return this.indexOf(search,start)!==-1}}}
if(!Object.keys){Object.keys=function(obj){let arr=[],key;for(key in obj){if(obj.hasOwnProperty(key)){arr.push(key)}}
return arr}}
function isEmpty(str){return(!str||str.length===0)}
function occurrences(string,subString,allowOverlapping){string+="";subString+="";if(subString.length<=0)return(string.length+1);var n=0,pos=0,step=allowOverlapping?1:subString.length;for(;;){pos=string.indexOf(subString,pos);if(pos>=0){++n;pos+=step}else break}
return n}
function findLongestWord(str){var dot_count=occurrences(str,'.');str=str.split(".").join("");var strSplit=str.split(' ');var longestWord=0;for(var i=0;i<strSplit.length;i++){if(strSplit[i].length>longestWord){longestWord=strSplit[i].length}}
return longestWord+(dot_count/4)}
const document_root=document.querySelector("html"),global_responsive_font_settings={"site_logo":{"base-font-size":"20","font-size-unit":"px","font-size-min-max":{"px":["8","200","1"],"rem":["0.5","10","0.1"],"em":["1","10","0.1"],"vw":["0","5","0.1"],"vh":["0","25","0.1"]},"base-line-height":"","line-height-unit":"px","line-height-min-max":{"px":["0","200","1"],"%":["0","200","1"],"rem":["0","14","0.1"],"em":["0","14","0.1"],"vw":["0","10","0.1"],"vh":["0","16","0.1"]},"base-letter-spacing":"-0.03","letter-spacing-unit":"px","font-size":{"desktop_large":"20","desktop_small":"inherit","tablet":"inherit","mobile":"inherit"},"letter-spacing":{"desktop_large":"-0.03","desktop_small":"inherit","tablet":"inherit","mobile":"inherit"},"line-height":{"desktop_small":"inherit","tablet":"inherit","mobile":"inherit"}},"hero_slogan":{"base-font-size":"12","font-size-unit":"px","font-size-min-max":{"px":["8","200","1"],"rem":["0.5","10","0.1"],"em":["1","10","0.1"],"vw":["0","5","0.1"],"vh":["0","25","0.1"]},"base-line-height":"","line-height-unit":"px","line-height-min-max":{"px":["0","200","1"],"%":["0","200","1"],"rem":["0","14","0.1"],"em":["0","14","0.1"],"vw":["0","10","0.1"],"vh":["0","16","0.1"]},"base-letter-spacing":"0.05","letter-spacing-unit":"px","font-size":{"desktop_large":"12","desktop_small":"inherit","tablet":"inherit","mobile":"inherit"},"letter-spacing":{"desktop_large":"0.05","desktop_small":"inherit","tablet":"inherit","mobile":"inherit"},"line-height":{"desktop_small":"inherit","tablet":"inherit","mobile":"inherit"}},"blog_hero_slogan":{"base-font-size":"14","font-size-unit":"px","font-size-min-max":{"px":["8","200","1"],"rem":["0.5","10","0.1"],"em":["1","10","0.1"],"vw":["0","5","0.1"],"vh":["0","25","0.1"]},"base-line-height":"","line-height-unit":"px","line-height-min-max":{"px":["0","200","1"],"%":["0","200","1"],"rem":["0","14","0.1"],"em":["0","14","0.1"],"vw":["0","10","0.1"],"vh":["0","16","0.1"]},"base-letter-spacing":"","letter-spacing-unit":"px","font-size":{"desktop_large":"14","desktop_small":"inherit","tablet":"inherit","mobile":"inherit"},"line-height":{"desktop_small":"inherit","tablet":"inherit","mobile":"inherit"},"letter-spacing":{"desktop_small":"inherit","tablet":"inherit","mobile":"inherit"}},"hero_title":{"base-font-size":"125","font-size-unit":"px","font-size-min-max":{"px":["8","200","1"],"rem":["0.5","10","0.1"],"em":["1","10","0.1"],"vw":["0","5","0.1"],"vh":["0","25","0.1"]},"base-line-height":"125","line-height-unit":"px","line-height-min-max":{"px":["0","200","1"],"%":["0","200","1"],"rem":["0","14","0.1"],"em":["0","14","0.1"],"vw":["0","10","0.1"],"vh":["0","16","0.1"]},"base-letter-spacing":"-0.08","letter-spacing-unit":"px","font-size":{"desktop_large":"125","desktop_small":"inherit","tablet":"inherit","mobile":"inherit"},"letter-spacing":{"desktop_large":"-0.08","desktop_small":"inherit","tablet":"inherit","mobile":"inherit"},"line-height":{"desktop_large":"125","desktop_small":"inherit","tablet":"inherit","mobile":"inherit"}},"blog_hero_title":{"base-font-size":"125","font-size-unit":"px","font-size-min-max":{"px":["8","200","1"],"rem":["0.5","10","0.1"],"em":["1","10","0.1"],"vw":["0","5","0.1"],"vh":["0","25","0.1"]},"base-line-height":"125","line-height-unit":"px","line-height-min-max":{"px":["0","200","1"],"%":["0","200","1"],"rem":["0","14","0.1"],"em":["0","14","0.1"],"vw":["0","10","0.1"],"vh":["0","16","0.1"]},"base-letter-spacing":"-0.05","letter-spacing-unit":"px","font-size":{"desktop_large":"125","desktop_small":"inherit","tablet":"inherit","mobile":"inherit"},"letter-spacing":{"desktop_large":"-0.05","desktop_small":"inherit","tablet":"inherit","mobile":"inherit"},"line-height":{"desktop_large":"125","desktop_small":"inherit","tablet":"inherit","mobile":"inherit"}},"hero_description":{"base-font-size":"18","font-size-unit":"px","font-size-min-max":{"px":["8","200","1"],"rem":["0.5","10","0.1"],"em":["1","10","0.1"],"vw":["0","5","0.1"],"vh":["0","25","0.1"]},"base-line-height":"30","line-height-unit":"px","line-height-min-max":{"px":["0","200","1"],"%":["0","200","1"],"rem":["0","14","0.1"],"em":["0","14","0.1"],"vw":["0","10","0.1"],"vh":["0","16","0.1"]},"base-letter-spacing":"","letter-spacing-unit":"px","font-size":{"desktop_large":"18","desktop_small":"inherit","tablet":"inherit","mobile":"inherit"},"line-height":{"desktop_large":"30","desktop_small":"inherit","tablet":"inherit","mobile":"inherit"},"letter-spacing":{"desktop_small":"inherit","tablet":"inherit","mobile":"inherit"}},"blog_hero_description":{"base-font-size":"18","font-size-unit":"px","font-size-min-max":{"px":["8","200","1"],"rem":["0.5","10","0.1"],"em":["1","10","0.1"],"vw":["0","5","0.1"],"vh":["0","25","0.1"]},"base-line-height":"","line-height-unit":"px","line-height-min-max":{"px":["0","200","1"],"%":["0","200","1"],"rem":["0","14","0.1"],"em":["0","14","0.1"],"vw":["0","10","0.1"],"vh":["0","16","0.1"]},"base-letter-spacing":"","letter-spacing-unit":"px","font-size":{"desktop_large":"18","desktop_small":"inherit","tablet":"inherit","mobile":"inherit"},"line-height":{"desktop_small":"inherit","tablet":"inherit","mobile":"inherit"},"letter-spacing":{"desktop_small":"inherit","tablet":"inherit","mobile":"inherit"}},"background_text":{"base-font-size":"48","font-size-unit":"px","font-size-min-max":{"px":["8","200","1"],"rem":["0.5","10","0.1"],"em":["1","10","0.1"],"vw":["0","5","0.1"],"vh":["0","25","0.1"]},"base-line-height":"","line-height-unit":"px","line-height-min-max":{"px":["0","200","1"],"%":["0","200","1"],"rem":["0","14","0.1"],"em":["0","14","0.1"],"vw":["0","10","0.1"],"vh":["0","16","0.1"]},"base-letter-spacing":"","letter-spacing-unit":"px","font-size":{"desktop_large":"48","desktop_small":"inherit","tablet":"inherit","mobile":"inherit"},"line-height":{"desktop_small":"inherit","tablet":"inherit","mobile":"inherit"},"letter-spacing":{"desktop_small":"inherit","tablet":"inherit","mobile":"inherit"}},"section_title":{"base-font-size":"80","font-size-unit":"px","font-size-min-max":{"px":["8","200","1"],"rem":["0.5","10","0.1"],"em":["1","10","0.1"],"vw":["0","5","0.1"],"vh":["0","25","0.1"]},"base-line-height":"88","line-height-unit":"px","line-height-min-max":{"px":["0","200","1"],"%":["0","200","1"],"rem":["0","14","0.1"],"em":["0","14","0.1"],"vw":["0","10","0.1"],"vh":["0","16","0.1"]},"base-letter-spacing":"-0.05","letter-spacing-unit":"px","font-size":{"desktop_large":"80","desktop_small":"inherit","tablet":"inherit","mobile":"inherit"},"letter-spacing":{"desktop_large":"-0.05","desktop_small":"inherit","tablet":"inherit","mobile":"inherit"},"line-height":{"desktop_large":"88","desktop_small":"inherit","tablet":"inherit","mobile":"inherit"}},"section_lead":{"base-font-size":"18","font-size-unit":"px","font-size-min-max":{"px":["8","200","1"],"rem":["0.5","10","0.1"],"em":["1","10","0.1"],"vw":["0","5","0.1"],"vh":["0","25","0.1"]},"base-line-height":"32","line-height-unit":"px","line-height-min-max":{"px":["0","200","1"],"%":["0","200","1"],"rem":["0","14","0.1"],"em":["0","14","0.1"],"vw":["0","10","0.1"],"vh":["0","16","0.1"]},"base-letter-spacing":"","letter-spacing-unit":"px","font-size":{"desktop_large":"18","desktop_small":"inherit","tablet":"inherit","mobile":"inherit"},"line-height":{"desktop_large":"32","desktop_small":"inherit","tablet":"inherit","mobile":"inherit"},"letter-spacing":{"desktop_small":"inherit","tablet":"inherit","mobile":"inherit"}},"page_title":{"base-font-size":"80","font-size-unit":"px","font-size-min-max":{"px":["8","200","1"],"rem":["0.5","10","0.1"],"em":["1","10","0.1"],"vw":["0","5","0.1"],"vh":["0","25","0.1"]},"base-line-height":"88","line-height-unit":"px","line-height-min-max":{"px":["0","200","1"],"%":["0","200","1"],"rem":["0","14","0.1"],"em":["0","14","0.1"],"vw":["0","10","0.1"],"vh":["0","16","0.1"]},"base-letter-spacing":"-0.05","letter-spacing-unit":"px","font-size":{"desktop_large":"80","desktop_small":"inherit","tablet":"inherit","mobile":"inherit"},"letter-spacing":{"desktop_large":"-0.05","desktop_small":"inherit","tablet":"inherit","mobile":"inherit"},"line-height":{"desktop_large":"88","desktop_small":"inherit","tablet":"inherit","mobile":"inherit"}},"contact_section_title":{"base-font-size":"80","font-size-unit":"px","font-size-min-max":{"px":["8","200","1"],"rem":["0.5","10","0.1"],"em":["1","10","0.1"],"vw":["0","5","0.1"],"vh":["0","25","0.1"]},"base-line-height":"88","line-height-unit":"px","line-height-min-max":{"px":["0","200","1"],"%":["0","200","1"],"rem":["0","14","0.1"],"em":["0","14","0.1"],"vw":["0","10","0.1"],"vh":["0","16","0.1"]},"base-letter-spacing":"-0.05","letter-spacing-unit":"px","font-size":{"desktop_large":"80","desktop_small":"inherit","tablet":"inherit","mobile":"inherit"},"letter-spacing":{"desktop_large":"-0.05","desktop_small":"inherit","tablet":"inherit","mobile":"inherit"},"line-height":{"desktop_large":"88","desktop_small":"inherit","tablet":"inherit","mobile":"inherit"}},"contact_section_lead":{"base-font-size":"18","font-size-unit":"px","font-size-min-max":{"px":["8","200","1"],"rem":["0.5","10","0.1"],"em":["1","10","0.1"],"vw":["0","5","0.1"],"vh":["0","25","0.1"]},"base-line-height":"32","line-height-unit":"px","line-height-min-max":{"px":["0","200","1"],"%":["0","200","1"],"rem":["0","14","0.1"],"em":["0","14","0.1"],"vw":["0","10","0.1"],"vh":["0","16","0.1"]},"base-letter-spacing":"","letter-spacing-unit":"px","font-size":{"desktop_large":"18","desktop_small":"inherit","tablet":"inherit","mobile":"inherit"},"line-height":{"desktop_large":"32","desktop_small":"inherit","tablet":"inherit","mobile":"inherit"},"letter-spacing":{"desktop_small":"inherit","tablet":"inherit","mobile":"inherit"}},"h1":{"base-font-size":"30","font-size-unit":"px","font-size-min-max":{"px":["8","200","1"],"rem":["0.5","10","0.1"],"em":["1","10","0.1"],"vw":["0","5","0.1"],"vh":["0","25","0.1"]},"base-line-height":"","line-height-unit":"px","line-height-min-max":{"px":["0","200","1"],"%":["0","200","1"],"rem":["0","14","0.1"],"em":["0","14","0.1"],"vw":["0","10","0.1"],"vh":["0","16","0.1"]},"base-letter-spacing":"-0.05","letter-spacing-unit":"px","font-size":{"desktop_large":"30","desktop_small":"inherit","tablet":"inherit","mobile":"inherit"},"letter-spacing":{"desktop_large":"-0.05","desktop_small":"inherit","tablet":"inherit","mobile":"inherit"},"line-height":{"desktop_small":"inherit","tablet":"inherit","mobile":"inherit"}},"h2":{"base-font-size":"25","font-size-unit":"px","font-size-min-max":{"px":["8","200","1"],"rem":["0.5","10","0.1"],"em":["1","10","0.1"],"vw":["0","5","0.1"],"vh":["0","25","0.1"]},"base-line-height":"","line-height-unit":"px","line-height-min-max":{"px":["0","200","1"],"%":["0","200","1"],"rem":["0","14","0.1"],"em":["0","14","0.1"],"vw":["0","10","0.1"],"vh":["0","16","0.1"]},"base-letter-spacing":"-0.05","letter-spacing-unit":"px","font-size":{"desktop_large":"25","desktop_small":"inherit","tablet":"inherit","mobile":"inherit"},"letter-spacing":{"desktop_large":"-0.05","desktop_small":"inherit","tablet":"inherit","mobile":"inherit"},"line-height":{"desktop_small":"inherit","tablet":"inherit","mobile":"inherit"}},"h3":{"base-font-size":"18","font-size-unit":"px","font-size-min-max":{"px":["8","200","1"],"rem":["0.5","10","0.1"],"em":["1","10","0.1"],"vw":["0","5","0.1"],"vh":["0","25","0.1"]},"base-line-height":"","line-height-unit":"px","line-height-min-max":{"px":["0","200","1"],"%":["0","200","1"],"rem":["0","14","0.1"],"em":["0","14","0.1"],"vw":["0","10","0.1"],"vh":["0","16","0.1"]},"base-letter-spacing":"-0.03","letter-spacing-unit":"px","font-size":{"desktop_large":"18","desktop_small":"inherit","tablet":"inherit","mobile":"inherit"},"letter-spacing":{"desktop_large":"-0.03","desktop_small":"inherit","tablet":"inherit","mobile":"inherit"},"line-height":{"desktop_small":"inherit","tablet":"inherit","mobile":"inherit"}},"h4":{"base-font-size":"15","font-size-unit":"px","font-size-min-max":{"px":["8","200","1"],"rem":["0.5","10","0.1"],"em":["1","10","0.1"],"vw":["0","5","0.1"],"vh":["0","25","0.1"]},"base-line-height":"","line-height-unit":"px","line-height-min-max":{"px":["0","200","1"],"%":["0","200","1"],"rem":["0","14","0.1"],"em":["0","14","0.1"],"vw":["0","10","0.1"],"vh":["0","16","0.1"]},"base-letter-spacing":"","letter-spacing-unit":"px","font-size":{"desktop_large":"15","desktop_small":"inherit","tablet":"inherit","mobile":"inherit"},"line-height":{"desktop_small":"inherit","tablet":"inherit","mobile":"inherit"},"letter-spacing":{"desktop_small":"inherit","tablet":"inherit","mobile":"inherit"}},"h5":{"base-font-size":"13","font-size-unit":"px","font-size-min-max":{"px":["8","200","1"],"rem":["0.5","10","0.1"],"em":["1","10","0.1"],"vw":["0","5","0.1"],"vh":["0","25","0.1"]},"base-line-height":"","line-height-unit":"px","line-height-min-max":{"px":["0","200","1"],"%":["0","200","1"],"rem":["0","14","0.1"],"em":["0","14","0.1"],"vw":["0","10","0.1"],"vh":["0","16","0.1"]},"base-letter-spacing":"0.05","letter-spacing-unit":"px","font-size":{"desktop_large":"13","desktop_small":"inherit","tablet":"inherit","mobile":"inherit"},"letter-spacing":{"desktop_large":"0.05","desktop_small":"inherit","tablet":"inherit","mobile":"inherit"},"line-height":{"desktop_small":"inherit","tablet":"inherit","mobile":"inherit"}},"h6":{"base-font-size":"12","font-size-unit":"px","font-size-min-max":{"px":["8","200","1"],"rem":["0.5","10","0.1"],"em":["1","10","0.1"],"vw":["0","5","0.1"],"vh":["0","25","0.1"]},"base-line-height":"","line-height-unit":"px","line-height-min-max":{"px":["0","200","1"],"%":["0","200","1"],"rem":["0","14","0.1"],"em":["0","14","0.1"],"vw":["0","10","0.1"],"vh":["0","16","0.1"]},"base-letter-spacing":"0.05","letter-spacing-unit":"px","font-size":{"desktop_large":"12","desktop_small":"inherit","tablet":"inherit","mobile":"inherit"},"letter-spacing":{"desktop_large":"0.05","desktop_small":"inherit","tablet":"inherit","mobile":"inherit"},"line-height":{"desktop_small":"inherit","tablet":"inherit","mobile":"inherit"}},"div":{"base-font-size":"14","font-size-unit":"px","font-size-min-max":{"px":["8","200","1"],"rem":["0.5","10","0.1"],"em":["1","10","0.1"],"vw":["0","5","0.1"],"vh":["0","25","0.1"]},"base-line-height":"28","line-height-unit":"px","line-height-min-max":{"px":["0","200","1"],"%":["0","200","1"],"rem":["0","14","0.1"],"em":["0","14","0.1"],"vw":["0","10","0.1"],"vh":["0","16","0.1"]},"base-letter-spacing":"","letter-spacing-unit":"px","font-size":{"desktop_large":"14","desktop_small":"inherit","tablet":"inherit","mobile":"inherit"},"line-height":{"desktop_large":"28","desktop_small":"inherit","tablet":"inherit","mobile":"inherit"},"letter-spacing":{"desktop_small":"inherit","tablet":"inherit","mobile":"inherit"}},"p":{"base-font-size":"14","font-size-unit":"px","font-size-min-max":{"px":["8","200","1"],"rem":["0.5","10","0.1"],"em":["1","10","0.1"],"vw":["0","5","0.1"],"vh":["0","25","0.1"]},"base-line-height":"28","line-height-unit":"px","line-height-min-max":{"px":["0","200","1"],"%":["0","200","1"],"rem":["0","14","0.1"],"em":["0","14","0.1"],"vw":["0","10","0.1"],"vh":["0","16","0.1"]},"base-letter-spacing":"","letter-spacing-unit":"px","font-size":{"desktop_large":"14","desktop_small":"inherit","tablet":"inherit","mobile":"inherit"},"line-height":{"desktop_large":"28","desktop_small":"inherit","tablet":"inherit","mobile":"inherit"},"letter-spacing":{"desktop_small":"inherit","tablet":"inherit","mobile":"inherit"}},"classic_blog_title":{"base-font-size":"22","font-size-unit":"px","font-size-min-max":{"px":["8","200","1"],"rem":["0.5","10","0.1"],"em":["1","10","0.1"],"vw":["0","5","0.1"],"vh":["0","25","0.1"]},"base-line-height":"","line-height-unit":"px","line-height-min-max":{"px":["0","200","1"],"%":["0","200","1"],"rem":["0","14","0.1"],"em":["0","14","0.1"],"vw":["0","10","0.1"],"vh":["0","16","0.1"]},"base-letter-spacing":"","letter-spacing-unit":"px","font-size":{"desktop_large":"22","desktop_small":"inherit","tablet":"inherit","mobile":"inherit"},"line-height":{"desktop_small":"inherit","tablet":"inherit","mobile":"inherit"},"letter-spacing":{"desktop_small":"inherit","tablet":"inherit","mobile":"inherit"}},"grid_blog_title":{"base-font-size":"22","font-size-unit":"px","font-size-min-max":{"px":["8","200","1"],"rem":["0.5","10","0.1"],"em":["1","10","0.1"],"vw":["0","5","0.1"],"vh":["0","25","0.1"]},"base-line-height":"","line-height-unit":"px","line-height-min-max":{"px":["0","200","1"],"%":["0","200","1"],"rem":["0","14","0.1"],"em":["0","14","0.1"],"vw":["0","10","0.1"],"vh":["0","16","0.1"]},"base-letter-spacing":"","letter-spacing-unit":"px","font-size":{"desktop_large":"22","desktop_small":"inherit","tablet":"inherit","mobile":"inherit"},"line-height":{"desktop_small":"inherit","tablet":"inherit","mobile":"inherit"},"letter-spacing":{"desktop_small":"inherit","tablet":"inherit","mobile":"inherit"}},"list_blog_title":{"base-font-size":"22","font-size-unit":"px","font-size-min-max":{"px":["8","200","1"],"rem":["0.5","10","0.1"],"em":["1","10","0.1"],"vw":["0","5","0.1"],"vh":["0","25","0.1"]},"base-line-height":"","line-height-unit":"px","line-height-min-max":{"px":["0","200","1"],"%":["0","200","1"],"rem":["0","14","0.1"],"em":["0","14","0.1"],"vw":["0","10","0.1"],"vh":["0","16","0.1"]},"base-letter-spacing":"","letter-spacing-unit":"px","font-size":{"desktop_large":"22","desktop_small":"inherit","tablet":"inherit","mobile":"inherit"},"line-height":{"desktop_small":"inherit","tablet":"inherit","mobile":"inherit"},"letter-spacing":{"desktop_small":"inherit","tablet":"inherit","mobile":"inherit"}},"single_post_title":{"base-font-size":"88","font-size-unit":"px","font-size-min-max":{"px":["8","200","1"],"rem":["0.5","10","0.1"],"em":["1","10","0.1"],"vw":["0","5","0.1"],"vh":["0","25","0.1"]},"base-line-height":"88","line-height-unit":"px","line-height-min-max":{"px":["0","200","1"],"%":["0","200","1"],"rem":["0","14","0.1"],"em":["0","14","0.1"],"vw":["0","10","0.1"],"vh":["0","16","0.1"]},"base-letter-spacing":"","letter-spacing-unit":"px","font-size":{"desktop_large":"88","desktop_small":"inherit","tablet":"inherit","mobile":"inherit"},"line-height":{"desktop_large":"88","desktop_small":"inherit","tablet":"inherit","mobile":"inherit"},"letter-spacing":{"desktop_small":"inherit","tablet":"inherit","mobile":"inherit"}},"single_post_sub_title":{"base-font-size":"25","font-size-unit":"px","font-size-min-max":{"px":["8","200","1"],"rem":["0.5","10","0.1"],"em":["1","10","0.1"],"vw":["0","5","0.1"],"vh":["0","25","0.1"]},"base-line-height":"","line-height-unit":"px","line-height-min-max":{"px":["0","200","1"],"%":["0","200","1"],"rem":["0","14","0.1"],"em":["0","14","0.1"],"vw":["0","10","0.1"],"vh":["0","16","0.1"]},"base-letter-spacing":"","letter-spacing-unit":"px","font-size":{"desktop_large":"25","desktop_small":"inherit","tablet":"inherit","mobile":"inherit"},"line-height":{"desktop_small":"inherit","tablet":"inherit","mobile":"inherit"},"letter-spacing":{"desktop_small":"inherit","tablet":"inherit","mobile":"inherit"}}},global_responsive_breakpoints={"desktop_large":{"query":"(min-width: 1680px)","val":{"min":1680,"max":"auto"}},"desktop_small":{"query":"(min-width: 1025px) and (max-width: 1679px)","val":{"min":1024,"max":1679}},"tablet":{"query":"(min-width: 768px) and (max-width: 1024px)","val":{"min":768,"max":1024}},"mobile":{"query":"(max-width: 767px)","val":{"min":"auto","max":767}}},pixelsPerRem=Number(getComputedStyle(document_root).fontSize.slice(0,-2));$.fn.flowtype=function(options){let settings=$.extend({maximum:9999,minimum:1,maxFont:9999,lineHeight:!1,minFont:1,minFontMobile:!1,fontRatio:40,ratioMulti:2.45,dynamicFontRatio:!1,type:'hero',loaded:'',check_size:!1},options),skip_next_downscale=!1,skip_next_upscale=!1,check_size=function($el,$parent,fontSize,max_font){$el.parent().css('font-size',fontSize+'px');if($el.width()<$parent.width()&&!skip_next_upscale){if(fontSize<max_font){skip_next_downscale=!0;check_size($el,$parent,fontSize+1,max_font)}else{skip_next_downscale=!1;$el.addClass('ut-flowtyped');return fontSize}}
if($el.width()>$parent.width()&&!skip_next_downscale){if(fontSize>12){skip_next_upscale=!0;check_size($el,$parent,fontSize-1,max_font)}else{skip_next_upscale=!1;$el.addClass('ut-flowtyped');return fontSize}}
return fontSize},px_to_rem=function(px){return px/pixelsPerRem},get_clump_viewport=function(){for(let key in global_responsive_breakpoints){if(window.matchMedia(global_responsive_breakpoints[key].query).matches){const max=global_responsive_breakpoints[key].val.max!=='auto'?global_responsive_breakpoints[key].val.max:window.screen.availWidth,min=global_responsive_breakpoints[key].val.min!=='auto'?global_responsive_breakpoints[key].val.min:320;return{'breakpoint':key,'min':min,'max':max}}}
return!1},next=function(db,key){let keys=Object.keys(db),i=keys.indexOf(key);return i!==-1&&keys[i+1]&&db[keys[i+1]]},get_next_viewport_value=function(breakpoint,maxFontSize,clump_viewport,responsive_font_settings){let next_viewport_value=next(responsive_font_settings['font-size'],breakpoint);if(next_viewport_value!==undefined){if(next_viewport_value==='auto'){return maxFontSize}else{return next_viewport_value}}else{if(responsive_font_settings['font-size'][breakpoint]!==undefined){return responsive_font_settings['font-size'][breakpoint]}else{return maxFontSize}}},clamp_value_builder=function(maxFontSize,responsive_font_settings){if(window.isMsIE){return!1}
let clump_viewport=get_clump_viewport();if(clump_viewport){let minFontSize=get_next_viewport_value(clump_viewport.breakpoint,maxFontSize,clump_viewport,responsive_font_settings);if(minFontSize==='inherit'){return!1}
maxFontSize=px_to_rem(maxFontSize);minFontSize=px_to_rem(minFontSize);if(minFontSize>maxFontSize){return}
const minWidth=clump_viewport.min/pixelsPerRem;const maxWidth=clump_viewport.max/pixelsPerRem;const slope=(maxFontSize-minFontSize)/(maxWidth-minWidth);const yAxisIntersection=-minWidth*slope+minFontSize;return'clamp( '+minFontSize+'rem, '+yAxisIntersection+'rem + '+(slope*100)+'vw, '+maxFontSize+'rem )'}else{return!1}},set_lineheight=function(el,line_height,font_size,responsive_font_settings){if(responsive_font_settings['line-height-unit']!==undefined&&responsive_font_settings['line-height-unit']!=='px'){return}
if(el.classList.contains("element-with-custom-line-height")||$(el).parent().hasClass("element-with-custom-line-height")){if(line_height==='inherit'&&responsive_font_settings['base-line-height']){let ratio=responsive_font_settings['base-line-height']/responsive_font_settings['base-font-size'];el.style.setProperty('line-height',(font_size*ratio)+'px','important')}else{if(responsive_font_settings['line-height-unit']!==undefined){el.style.setProperty('line-height',line_height+responsive_font_settings['line-height-unit'],'important')}else{el.style.setProperty('line-height',line_height+'px','important')}}}},set_lineheight_percent=function(el,font_size,line_height,responsive_font_settings){if(responsive_font_settings['line-height-unit']!==undefined&&responsive_font_settings['line-height-unit']!=='px'){return}
if(!isEmpty(line_height)&&(el.classList.contains("element-with-custom-line-height")||$(el).parent().hasClass("element-with-custom-line-height"))){if(line_height==='inherit'&&responsive_font_settings['base-line-height']){let ratio=responsive_font_settings['base-line-height']/responsive_font_settings['base-font-size'];if(font_size==='inherit'){el.style.setProperty('line-height',(100/responsive_font_settings['base-font-size'])*responsive_font_settings['base-line-height']+'%','important')}else{el.style.setProperty('line-height',(font_size*ratio)+'px','important')}}else{el.style.setProperty('line-height',(100/font_size)*line_height+'%','important')}}},merge_responsive_settings=function(global,$el){if(global[$el.data('responsive-font')]!==undefined&&$el.data('responsive-font-settings')!==undefined){let local={},settings=$el.data('responsive-font-settings');for(const g_index in global[$el.data('responsive-font')]){for(const index in settings){if(settings[index]==='global'){local[index]=global[$el.data('responsive-font')][index]}else if(typeof settings[index]==='object'){local[index]={};for(const _index in settings[index]){if(settings[index][_index]==='global'){local[index][_index]=global[$el.data('responsive-font')][index][_index]}else{local[index][_index]=settings[index][_index]}}}else{local[index]=settings[index]}}
if(local[g_index]===undefined){local[g_index]=global[$el.data('responsive-font')][g_index];if(g_index==='font-size'){}}}
return local}else if($el.data('responsive-font-settings')!==undefined){return $el.data('responsive-font-settings')}else{return global[$el.data('responsive-font')]!==undefined?global[$el.data('responsive-font')]:!1}},changes=function(el){let $el=$(el);$el.removeAttr('style');if(el.classList.contains('ut-skip-flowtype')){return}
if($el.is('p')||$el.is('div')){if(!$el.hasClass('ut-allow-flow-type')){return}}
let min_font=settings.minFont,max_font=settings.maxFont,line_height=settings.lineHeight;let custom_font_size_found='',custom_line_height_found=!1,responsive_font_settings={},current_viewport='';if($el.data('responsive-font')){responsive_font_settings=merge_responsive_settings(global_responsive_font_settings,$el);if($el.data('responsive-font-settings')&&Object.keys($el.data('responsive-font-settings')).length<=2){max_font=responsive_font_settings['base-font-size']!=='auto'?responsive_font_settings['base-font-size']:global_responsive_font_settings['base-font-size'];max_font=parseInt(max_font);line_height=responsive_font_settings['base-line-height']}else{if(responsive_font_settings['font-size-unit']!=='px'&&responsive_font_settings['font-size-unit']!==undefined){return}
if(responsive_font_settings){max_font=responsive_font_settings['base-font-size']!=='auto'?responsive_font_settings['base-font-size']:global_responsive_font_settings['base-font-size'];max_font=parseInt(max_font);$el.data('maxfont',max_font);if(min_font==='maxFont'){min_font=max_font}
for(let key in responsive_font_settings){if(key==='font-size'){for(let breakpoint in responsive_font_settings[key]){if(window.matchMedia(global_responsive_breakpoints[breakpoint].query).matches){current_viewport=breakpoint;custom_font_size_found=responsive_font_settings[key][breakpoint];break}}}
if(key==='line-height'){for(let breakpoint in responsive_font_settings[key]){if(window.matchMedia(global_responsive_breakpoints[breakpoint].query).matches){current_viewport=breakpoint;custom_line_height_found=responsive_font_settings[key][breakpoint];break}}}}
if($el.hasClass('ut-calculate-line-height')){if(custom_line_height_found){if(responsive_font_settings['line-height-unit']==='px'){set_lineheight_percent(el,custom_font_size_found,custom_line_height_found,responsive_font_settings);return}}}
if(custom_font_size_found&&custom_font_size_found!=='inherit'){if(custom_line_height_found){if(responsive_font_settings['line-height-unit']==='px'){set_lineheight_percent(el,custom_font_size_found,custom_line_height_found,responsive_font_settings)}}
if(custom_font_size_found&&current_viewport!=='desktop_large'){return}}}}}
let ratio_multi=settings.ratioMulti;if(window.matchMedia('(min-width: 1200px)').matches){ratio_multi=1}else if(window.matchMedia('(min-width: 960px)').matches){ratio_multi=2.25}else if(window.matchMedia('(min-width: 640px)').matches){ratio_multi=2.35}
let factor=1;if(settings.type==='hero'){if(window.matchMedia('(max-width: 1440px)').matches){factor=0.75}else if(window.matchMedia('(max-width: 1680px)').matches){factor=0.80}else if(window.matchMedia('(max-width: 1920px)').matches){factor=0.9}}
let _font_ratio=settings.fontRatio;let font_size_fill=0;if(settings.type==='title'||settings.type==='custom'){if($el.data('maxfont')>=75){if(window.matchMedia('(max-width: 1200px)').matches){_font_ratio=15;if(settings.type==='custom'){font_size_fill=parseInt($el.data('maxfont'))/10}}else if(window.matchMedia('(max-width: 1440px)').matches){_font_ratio=12}else if(window.matchMedia('(max-width: 1679px)').matches){_font_ratio=10}}else{if(window.matchMedia('(max-width: 1200px)').matches){_font_ratio=12}else if(window.matchMedia('(max-width: 1679px)').matches){_font_ratio=8}}}
if(settings.type==='custom'){if($el.is('h1')){min_font=parseInt('30')}else if($el.is('h2')){min_font=parseInt('25')}else if($el.is('h3')){min_font=parseInt('18')}else if($el.is('h4')){min_font=parseInt('15')}else if($el.is('h5')){min_font=parseInt('13')}else if($el.is('h6')){min_font=parseInt('13')}else{min_font=parseInt('14')}}
if(settings.minFontMobile&&window.matchMedia('(max-width: 767px)').matches){min_font=settings.minFontMobile}
let text=$el.find('.ut-word-rotator').length?$el.find('.ut-word-rotator').text():$el.text(),elw=$el.parent().width(),width=elw>settings.maximum?settings.maximum:elw<settings.minimum?settings.minimum:elw,font_ratio=settings.dynamicFontRatio?(findLongestWord(text.replace(/<(?:.|\n)*?>/gm,'').replace(/(\r\n\t|\n|\r\t)/gm," ").trim())*ratio_multi):_font_ratio,fontBase=width/font_ratio,fontSize=fontBase>max_font?max_font:fontBase<min_font?min_font:fontBase;if(settings.dynamicFontRatio){if(window.matchMedia('(min-width: 1200px)').matches){fontSize=max_font*factor}}
fontSize=parseInt(fontSize)+font_size_fill;if(settings.check_size){fontSize=check_size($el,settings.check_size,fontSize,max_font)}else{$el.addClass('ut-flowtyped');el.style.setProperty('font-size',fontSize+'px','important')}
if(custom_line_height_found&&custom_font_size_found==='inherit'){set_lineheight(el,custom_line_height_found,fontSize,responsive_font_settings)}else{if(settings.lineHeight&&!custom_line_height_found){let ratio=settings.lineHeight/settings.maxFont;if($el.hasClass("element-with-custom-line-height")||$el.parent().hasClass("element-with-custom-line-height")){el.style.setProperty('line-height',(fontSize*ratio)+'px','important')}else{if(!isEmpty(line_height)&&line_height<fontSize){el.style.setProperty('line-height',fontSize+'px','important')}}}}
if(settings.loaded&&typeof(settings.loaded)==="function"){settings.loaded()}};return this.each(function(){let that=this;$(window).utresize(function(){changes(that)});$(window).on('ut.flowtype.init',function(){changes(that)})
if($(that).closest('.vc_row[data-vc-full-width]').length&&$(window).width()>=1440){new ResizeSensor($(that).closest('.vc_row[data-vc-full-width]'),function(){changes(that)})}else if($(that).closest('.vc_section[data-vc-full-width]').length&&$(window).width()>=1440){new ResizeSensor($(that).closest('.vc_section[data-vc-full-width]'),function(){changes(that)})}else{changes(that)}})};if($('.site-logo h1 a','#header-section').length){$('.site-logo h1 a','#header-section').each(function(){let $this=$(this);if($this.data('recognized-flow-type')){return}
$this.data('recognized-flow-type',!0);$this.flowtype({ratioMulti:1.2,maxFont:parseInt($this.data("font-size")),minFont:'maxFont',minFontMobile:12,check_size:$('.site-logo-wrap','#header-section')})})}
$('.hero-description','#ut-hero').each(function(){let $this=$(this);if($this.data('recognized-flow-type')){return}
$this.data('recognized-flow-type',!0);let hero_dt_original_font_size=$this.css("font-size");if(hero_dt_original_font_size){$this.data("maxfont",parseInt(hero_dt_original_font_size.replace('px','')));$this.flowtype({maxFont:$this.data("maxfont"),fontRatio:24,minFont:10})}});$(".hero-title","#ut-hero").each(function(){let $this=$(this);if($this.data('recognized-flow-type')){return}
$this.data('recognized-flow-type',!0);let hero_title_original_font_size=$this.css("font-size"),hero_title_original_line_height=$this.css("line-height");if(hero_title_original_font_size){$this.data("maxfont",parseInt(hero_title_original_font_size.replace('px','')));$this.data("lineheight",parseInt(hero_title_original_line_height.replace('px','')));$this.flowtype({maxFont:$this.data("maxfont"),lineHeight:$this.data("lineheight"),dynamicFontRatio:!0,minFont:35,})}});$('.hero-description-bottom','#ut-hero').each(function(){let $this=$(this);if($this.data('recognized-flow-type')){return}
$this.data('recognized-flow-type',!0);let hero_db_original_font_size=$this.css("font-size");if(hero_db_original_font_size){$this.data("maxfont",parseInt(hero_db_original_font_size.replace('px','')));$this.flowtype({maxFont:$this.data("maxfont"),fontRatio:24,minFont:12})}});function dynamic_flow_type_elements(){$(".page-title, .parallax-title, .section-title").each(function(){let $this=$(this);if($this.data('recognized-flow-type')){return}
$this.data('recognized-flow-type',!0);let title_original_font_size=$this.css("font-size"),title_original_line_height=$this.css("line-height");if(title_original_font_size){$this.data("maxfont",parseInt(title_original_font_size.replace('px','')));$this.data("lineheight",parseInt(title_original_line_height.replace('px','')));let font_ratio=$this.data("maxfont")<=75?8:4;$this.flowtype({maxFont:$this.data("maxfont"),lineHeight:$this.data("lineheight"),fontRatio:font_ratio,minFont:30,type:'title',loaded:function(){}})}});$(".ut-custom-heading-module").each(function(){let $this=$(this);if($this.data('recognized-flow-type')){return}
$this.data('recognized-flow-type',!0);let title_original_font_size=$this.css("font-size"),title_original_line_height=$this.css("line-height");if(title_original_font_size){$this.data("maxfont",parseInt(title_original_font_size.replace('px','')));$this.data("lineheight",parseInt(title_original_line_height.replace('px','')));let font_ratio=$this.data("maxfont")<=75?8:4;$this.flowtype({maxFont:$this.data("maxfont"),lineHeight:$this.data("lineheight"),fontRatio:font_ratio,type:'custom',loaded:function(){}})}});$(".ut-information-box-title, .ut-service-column-title").each(function(){let $this=$(this);if($this.data('recognized-flow-type')){return}
$this.data('recognized-flow-type',!0);let title_original_font_size=$this.css("font-size"),title_original_line_height=$this.css("line-height");if(title_original_font_size){$this.data("maxfont",parseInt(title_original_font_size.replace('px','')));$this.data("lineheight",parseInt(title_original_line_height.replace('px','')));$this.flowtype({maxFont:$this.data("maxfont"),lineHeight:$this.data("lineheight"),fontRatio:4,type:'custom',loaded:function(){}})}});$(".bklyn-background-text").each(function(){let $this=$(this);if($this.data('recognized-flow-type')){return}
$this.data('recognized-flow-type',!0);let title_original_font_size=$this.css("font-size"),title_original_line_height=$this.css("line-height");if(title_original_font_size){$this.data("maxfont",parseInt(title_original_font_size.replace('px','')));$this.data("lineheight",parseInt(title_original_line_height.replace('px','')));$this.flowtype({maxFont:$this.data("maxfont"),lineHeight:$this.data("lineheight"),fontRatio:4,type:'custom',loaded:function(){}})}});$(".ut-service-column.ut-vertical p").each(function(){let $this=$(this);if($this.data('recognized-flow-type')){return}
$this.data('recognized-flow-type',!0);if($this.data('responsive-font-settings')){$this.addClass('ut-allow-flow-type ut-calculate-line-height')}
let title_original_font_size=$this.css("font-size"),title_original_line_height=$this.css("line-height");if(title_original_font_size){$this.data("maxfont",parseInt(title_original_font_size.replace('px','')));$this.data("lineheight",parseInt(title_original_line_height.replace('px','')));$this.flowtype({maxFont:$this.data("maxfont"),lineHeight:$this.data("lineheight"),type:'custom',loaded:function(){}})}});$(".ut-word-rotator").each(function(){let $this=$(this);if($this.closest('.hero-title').length){return}
if($this.data('recognized-flow-type')){return}
$this.data('recognized-flow-type',!0);let title_original_font_size=$this.css("font-size"),title_original_line_height=$this.css("line-height");if(title_original_font_size){$this.data("maxfont",parseInt(title_original_font_size.replace('px','')));$this.data("lineheight",parseInt(title_original_line_height.replace('px','')));let font_ratio=$this.data("maxfont")<=75?8:4;$this.flowtype({maxFont:$this.data("maxfont"),lineHeight:$this.data("lineheight"),fontRatio:font_ratio,type:'custom',loaded:function(){}})}});$(".ut-parallax-quote-title").each(function(){let $this=$(this);if($this.data('recognized-flow-type')){return}
$this.data('recognized-flow-type',!0);let title_original_font_size=$this.css("font-size"),title_original_line_height=$this.css("line-height");if(title_original_font_size){$this.data("maxfont",parseInt(title_original_font_size.replace('px','')));$this.data("lineheight",parseInt(title_original_line_height.replace('px','')));let font_ratio=$this.data("maxfont")<=75?8:4;$this.flowtype({maxFont:$this.data("maxfont"),lineHeight:$this.data("lineheight"),fontRatio:font_ratio,minFont:30,type:'title'})}})}
dynamic_flow_type_elements();$(document).ajaxComplete(function(){dynamic_flow_type_elements()});$(".single-post .entry-title, .single-post-entry-sub-title, .ut-blog-classic-article .entry-title, .ut-blog-mixed-large-article .entry-title").each(function(){let $this=$(this);if($this.data('recognized-flow-type')){return}
$this.data('recognized-flow-type',!0);let title_original_font_size=$this.css("font-size"),title_original_line_height=$this.css("line-height");if(title_original_font_size){$this.data("maxfont",title_original_font_size.replace('px',''));$this.data("lineheight",title_original_line_height);let font_ratio=$this.data("maxfont")<=75?8:4;$this.flowtype({maxFont:$this.data("maxfont"),lineHeight:$this.data("lineheight"),fontRatio:font_ratio,minFont:30,type:'title'})}});$("#ut-overlay-nav ul > li").each(function(){let $this=$(this);if($this.data('recognized-flow-type')){return}
$this.data('recognized-flow-type',!0);let overlay_font_size=$this.css("font-size");if(overlay_font_size){$this.data("maxfont",parseInt(overlay_font_size.replace('px','')));$this.flowtype({maxFont:$this.data("maxfont"),fontRatio:8,minFont:25})}});function add_visual_composer_helper_classes(){$('.vc_col-has-fill').each(function(){$(this).parent(".vc_row").addClass("ut-row-has-filled-cols")});$('.vc_section > .vc_row, .vc_section > .vc_vc_row').each(function(){var $this=$(this);if($this.parent().children('.vc_row, .vc_vc_row').first().is(this)){if($this.hasClass("vc_row-has-fill")){$this.parent().addClass("ut-first-row-has-fill")}
$this.addClass('ut-first-row')}
if($this.parent().children('.vc_row, .vc_vc_row').last().is(this)){if($this.hasClass("vc_row-has-fill")){$this.parent().addClass("ut-last-row-has-fill")}
$this.addClass('ut-last-row')}});const $contact_content_block=$('#ut-custom-contact-section');$('.vc_section').each(function(){var $this=$(this);if($this.closest('#ut-custom-hero').length){return}
if($this.is(':first-of-type')&&$this.is(':visible')){if(!$this.closest('#ut-custom-contact-section').length){$this.addClass('ut-first-section')}
if($this.closest('#ut-custom-contact-section').length){$this.addClass('ut-first-in-contact-section')}}
if($this.is(':first-of-type')&&$this.is(':visible')&&$this.next('.vc_row-full-width').next('.vc_section').is(':last-of-type')&&!$this.next('.vc_row-full-width').next('.vc_section').is(':visible')){if(!$contact_content_block.length){$this.addClass('ut-last-section');if(!$this.hasClass('vc_section-has-fill')){$("#ut-sitebody").addClass('ut-last-section-has-no-fill')}}
if($contact_content_block.length&&$this.closest('#ut-custom-contact-section').length){$this.addClass('ut-last-section')}}
if($this.is(':last-of-type')&&$this.is(':visible')){if(!$contact_content_block.length){$this.addClass('ut-last-section')}
if(!$this.hasClass('vc_section-has-fill')){$("#ut-sitebody").addClass('ut-last-section-has-no-fill')}
if($contact_content_block.length&&!$this.hasClass('vc_section-has-fill')&&!$this.closest('#ut-custom-contact-section').length){$contact_content_block.addClass('ut-last-content-section-as-no-fill')}}
if($this.is(':last-of-type')&&$this.is(':visible')&&$this.closest('#ut-custom-contact-section').length){$this.addClass('ut-last-section')}
if($this.is(':last-of-type')&&$this.is(':visible')&&$this.prev('.vc_row-full-width').prev('.vc_section').is(':first-of-type')&&!$this.prev('.vc_row-full-width').prev('.vc_section').is(':visible')){if(!$this.closest('#ut-custom-contact-section').length){$this.addClass('ut-first-section')}}
if($this.hasClass('vc_section-has-no-fill')&&!$this.hasClass('ut-last-row-has-fill')&&$this.next('.vc_row-full-width').next('.vc_section').hasClass('vc_section-has-no-fill')&&!$this.next('.vc_row-full-width').next('.vc_section').hasClass('ut-first-row-has-fill')){$this.addClass("vc_section-remove-padding-bottom")}});$('.ut-information-box-image-wrap').each(function(){var $this=$(this);$this.closest('.wpb_wrapper').addClass('ut-contains-information-box');if($this.parent().siblings().not('.ut-information-box').length){$this.closest('.wpb_wrapper').addClass('ut-contains-information-box-mixed')}
if(!$this.parent().siblings().length){$this.parent().addClass('ut-information-box-no-siblings')}});$('.section-header').each(function(){if($(this).closest(".wpb_column").is(":first-child")){$(this).closest(".wpb_column").addClass("ut-first-wpb-column")}
if($(this).closest(".wpb_content_element").is(":first-child")){$(this).addClass("ut-first-section-title")}});$('.page-title-module').each(function(){if($(this).closest(".wpb_column").is(":first-child")){$(this).closest(".wpb_column").addClass("ut-first-wpb-column")}
if($(this).closest(".wpb_content_element").is(":first-child")){$(this).addClass("ut-first-page-title")}})}
add_visual_composer_helper_classes();$(window).utresize(function(){add_visual_composer_helper_classes()});$(document).ajaxComplete(function(){add_visual_composer_helper_classes()});$('.ut-plan-module-popular').each(function(){var $this=$(this);$this.closest(".wpb_column").addClass("ut-column-with-popular-pricing-table")});var hero_inner=$(".hero-inner",'#ut-hero');var scroll_down=$(".hero-down-arrow",'#ut-hero');$(window).on("scroll",function(){var st=$(this).scrollTop();hero_inner.css({"opacity":1-st/($(window).height()/4*3)});scroll_down.css({"opacity":1-st/($(window).height()/4*3)})});var modern_media_query=window.matchMedia("screen and (-webkit-min-device-pixel-ratio:2)");var $brooklyn_body=$("body");var $brooklyn_header=$("#header-section");var $brooklyn_main=$("#main-content");var $header=$("#header-section"),$logo=$(".site-logo:not(.ut-overlay-site-logo)").find('img'),logo=$logo.data("original-logo"),logoalt=$logo.data("alternate-logo");var primary_skin=$header.data('primary-skin');var secondary_skin=$header.data('secondary-skin');function ut_nav_skin_changer(direction,animClassDown,animClassUp,headerClassDown,headerClassUp){animClassUp=typeof animClassUp!=='undefined'?animClassUp:'';animClassDown=typeof animClassDown!=='undefined'?animClassDown:'';headerClassUp=typeof headerClassUp!=='undefined'?headerClassUp:'';headerClassDown=typeof headerClassDown!=='undefined'?headerClassDown:'';if(direction==="down"){if(!site_settings.mobile_nav_open){$logo.attr("src",logoalt);$header.attr("class","ha-header").addClass(headerClassDown).addClass(animClassDown).addClass('ut-hero-passed')}
$header.data("primary-skin",secondary_skin);$header.data("secondary-skin",secondary_skin);site_settings.mobile_hero_passed=!0}else if(direction==="up"){if(!site_settings.mobile_nav_open){$logo.attr("src",logo);$header.attr("class","ha-header").addClass(headerClassUp).addClass(animClassUp).removeClass('ut-hero-passed')}
$header.data("primary-skin",primary_skin);$header.data("secondary-skin",secondary_skin);site_settings.mobile_hero_passed=!1}}
$brooklyn_main.waypoint(function(direction){ut_nav_skin_changer(direction,"ut-secondary-custom-skin","ut-primary-custom-skin","ut-header-floating bordered-top fullwidth   ","ut-header-floating bordered-top fullwidth   ")},{offset:site_settings.brooklyn_header_scroll_offset+1})})(jQuery)