PageSourceSearch

https://amfshoes.com/js/netgocio-build.main.min.js?v=0.4

js amfshoes.com collected 2026-10-06 20:45:30 UTC 361,493 bytes, 70 lines download raw bytes

1window.Modernizr=function(t,e,i){function n(t){m.cssText=t}function o(t,e){return typeof t===e}function s(t,e){return!!~(""+t).indexOf(e)}function r(t,e){for(var n in t){var o=t[n];if(!s(o,"-")&&m[o]!==i)return"pfx"!=e||o}return!1}function a(t,e,n){for(var s in t){var r=e[t[s]];if(r!==i)return!1===n?t[s]:o(r,"function")?r.bind(n||e):r}return!1}function l(t,e,i){var n=t.charAt(0).toUpperCase()+t.slice(1),s=(t+" "+b.join(n+" ")+n).split(" ");return o(e,"string")||o(e,"undefined")?r(s,e):a(s=(t+" "+x.join(n+" ")+n).split(" "),e,i)}var c,d,p={},u=e.documentElement,h="modernizr",f=e.createElement(h),m=f.style,g=e.createElement("input"),v=":)",_={}.toString,y=" -webkit- -moz- -o- -ms- ".split(" "),w="Webkit Moz O ms",b=w.split(" "),x=w.toLowerCase().split(" "),k="http://www.w3.org/2000/svg",T={},C={},S={},A=[],$=A.slice,P=function(t,i,n,o){var s,r,a,l,c=e.createElement("div"),d=e.body,p=d||e.createElement("body");if(parseInt(n,10))for(;n--;)(a=e.createElement("div")).id=o?o[n]:h+(n+1),c.appendChild(a);return s=["&#173;",'<style id="s',h,'">',t,"</style>"].join(""),c.id=h,(d?c:p).innerHTML+=s,p.appendChild(c),d||(p.style.background="",p.style.overflow="hidden",l=u.style.overflow,u.style.overflow="hidden",u.appendChild(p)),r=i(c,t),d?c.parentNode.removeChild(c):(p.parentNode.removeChild(p),u.style.overflow=l),!!r},O={}.hasOwnProperty;for(var M in d=o(O,"undefined")||o(O.call,"undefined")?function(t,e){return e in t&&o(t.constructor.prototype[e],"undefined")}:function(t,e){return O.call(t,e)},Function.prototype.bind||(Function.prototype.bind=function(t){var e=this;if("function"!=typeof e)throw new TypeError;var i=$.call(arguments,1),n=function(){if(this instanceof n){var o=function(){};o.prototype=e.prototype;var s=new o,r=e.apply(s,i.concat($.call(arguments)));return Object(r)===r?r:s}return e.apply(t,i.concat($.call(arguments)))};return n}),T.touch=function(){var i;return"ontouchstart"in t||t.DocumentTouch&&e instanceof DocumentTouch?i=!0:P(["@media (",y.join("touch-enabled),("),h,")","{#modernizr{top:9px;position:absolute}}"].join(""),(function(t){i=9===t.offsetTop})),i},T.websqldatabase=function(){return!!t.openDatabase},T.indexedDB=function(){return!!l("indexedDB",t)},T.websockets=function(){return"WebSocket"in t||"MozWebSocket"in t},T.rgba=function(){return n("background-color:rgba(150,255,150,.5)"),s(m.backgroundColor,"rgba")},T.multiplebgs=function(){return n("background:url(https://),url(https://),red url(https://)"),/(url\s*\(.*?){3}/.test(m.background)},T.backgroundsize=function(){return l("backgroundSize")},T.borderimage=function(){return l("borderImage")}
1,T.borderradius=function(){return l("borderRadius")},T.boxshadow=function(){return l("boxShadow")},T.textshadow=function(){return""===e.createElement("div").style.textShadow},T.opacity=function(){return function(t,e){n(y.join(t+";")+(e||""))}("opacity:.55"),/^0.55$/.test(m.opacity)},T.cssanimations=function(){return l("animationName")},T.csscolumns=function(){return l("columnCount")},T.cssgradients=function(){var t="background-image:";return n((t+"-webkit- ".split(" ").join("gradient(linear,left top,right bottom,from(#9f9),to(white));"+t)+y.join("linear-gradient(left top,#9f9, white);"+t)).slice(0,-t.length)),s(m.backgroundImage,"gradient")},T.cssreflections=function(){return l("boxReflect")},T.csstransforms=function(){return!!l("transform")},T.csstransforms3d=function(){var t=!!l("perspective");return t&&"webkitPerspective"in u.style&&P("@media (transform-3d),(-webkit-transform-3d){#modernizr{left:9px;position:absolute;height:3px;}}",(function(e,i){t=9===e.offsetLeft&&3===e.offsetHeight})),t},T.csstransitions=function(){return l("transition")},T.fontface=function(){var t;return P('@font-face {font-family:"font";src:url("https://")}',(function(i,n){var o=e.getElementById("smodernizr"),s=o.sheet||o.styleSheet,r=s?s.cssRules&&s.cssRules[0]?s.cssRules[0].cssText:s.cssText||"":"";t=/src/i.test(r)&&0===r.indexOf(n.split(" ")[0])})),t},T.generatedcontent=function(){var t;return P(["#",h,"{font:0/0 a}#",h,':after{content:"',v,'";visibility:hidden;font:3px/1 a}'].join(""),(function(e){t=e.offsetHeight>=3})),t},T.sessionstorage=function(){try{return sessionStorage.setItem(h,h),sessionStorage.removeItem(h),!0}catch(t){return!1}},T.applicationcache=function(){return!!t.applicationCache},T.svg=function(){return!!e.createElementNS&&!!e.createElementNS(k,"svg").createSVGRect},T.inlinesvg=function(){var t=e.createElement("div");return t.innerHTML="<svg/>",(t.firstChild&&t.firstChild.namespaceURI)==k},T.svgclippaths=function(){return!!e.createElementNS&&/SVGClipPath/.test(_.call(e.createElementNS(k,"clipPath")))},T)d(T,M)&&(c=M.toLowerCase(),p[c]=T[M](),A.push((p[c]?"":"no-")+c));return p.input||(p.input=function(i){for(var n=0,o=i.length;n<o;n++)S[i[n]]=i[n]in g;return S.list&&(S.list=!!e.createElement("datalist")&&!!t.HTMLDataListElement),S}("autocomplete autofocus list placeholder max min multiple pattern required step".split(" ")),p.inputtypes=function(t){for(var n,o,s,r=0,a=t.length;r<a;r++)g.setAttribute("type",o=t[r]),(n="text"!==g.type)&&(g.value=v,g.style.cssText="position:absolute;visibility:hidden;",/^range$/.test(o)&&g.style.WebkitAppearance!==i?(u.appendChild(g),n=(s=e.defaultView).getComputedStyle&&"textfield"!==s.getComputedStyle(g,null).WebkitAppearance&&0!==g.offsetHeight,u.removeChild(g)):/^(search|tel)$/.test(o)||(n=/^(url|email)$/.test(o)?g.checkValidity&&!1===g.checkValidity():g.value!=v)),C[t[r]]=!!n;return C}("search tel url email datetime date month week time datetime-local number range color".split(" "))),p.addTest=function(t,e){if("object"==typeof t)for(var n in t)d(t,n)&&p.addTest(n,t[n]);else{if(t=t.toLowerCase(),p[t]!==i)return p;e="function"==typeof e?e():e,u.className+=" "+(e?"":"no-")+t,p[t]=e}return p},n(""),f=g=null,p._version="2.8.3",p._prefixes=y,p._domPrefixes=x,p._cssomPrefixes=b,p.mq=function(e){var i,n=t.matchMedia||t.msMatchMedia;return n?n(e)&&n(e).matches||!1:(P("@media "+e+" { #"+h+" { position: absolute; } }",(function(e){i="absolute"==(t.getComputedStyle?getComputedStyle(e,null):e.currentStyle).position})),i)},p.testProp=function(t){return r([t])},p.testAllProps=l,p.testStyles=P,p.prefixed=function(t,e,i){return e?l(t,e,i):l(t,"pfx")},u.className=u.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+" js "+A.join(" "),p}(this,this.document);var $array_langs=["blog","be","sv","eg","ec","do","dm","dj","af","al","dz","as","ad","ao","ai","aq","ag","ar","am","aw","au","at","az","bs","bh","bd","bb","by","bo","bz","bj","bm","bt","ba","bw","bv","br","io","bn","bg","bf","bi","kh","cm","ca","cv","ky","cf","td","cl","cn","cx","cc","co","km","cd","cg","ck","cr","ci","hr","cu","cy","cz","dk","gq","er","ee","et","fo","fj","fi","fr","gf","pf","tf","ga","gm","ge","de","gh","gi","gr","gd","gp","gu","gt","gn","gw","gy","ht","hm","va","hn","hk","hu","is","in","id","ir","iq","ie","il","it","jm","jp","jo","kz","ke","ki","kp","kr","kw","kg","la","lv","lb","ls","lr","ly","li","lt","lu","mo","mk","mg","mw","my","mv","ml","mt","mh","mq","mr","mu","yt","mx","fm","md","mc","mn","ms","ma","mz","na","nr","np","nl","an","
1nc","nz","ni","ne","ng","nu","nf","mp","no","om","pk","pw","pa","pg","py","pe","ph","pn","pl","pr","qa","re","ro","ru","rw","sh","kn","lc","pm","vc","ws","sm","st","sa","sn","rs","sc","sl","sg","sk","si","sb","so","za","gs","es","lk","sd","sr","sz","se","ch","sy","tw","tj","tz","th","tl","tg","tk","to","tt","tn","tr","tm","tc","tv","ug","ua","ae","gb","us","uy","uz","vu","ve","vn","vg","wf","eh","ye","zm","zw","pt","es","en"],_server_hostname=document.location.href.substring(0,document.location.href.lastIndexOf("/"))+"/",_includes_path="",_assets_path="",_images_path="";function initAccordions(t){$("[accordion]").length>0&&$("[accordion]").accordion(),$("[dropdown]").length>0&&$("[dropdown]").accordion()}$array_langs.forEach((function(t){_server_hostname.indexOf("/"+t+"/")>0&&(_server_hostname=_server_hostname.replace("/"+t,""))})),_includes_path=_server_hostname+"includes/",_images_path=_server_hostname+"imgs/",_assets_path=_server_hostname+"js/",function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):"undefined"!=typeof exports?module.exports=t(require("jquery")):t(jQuery)}((function(t){"use strict";var e=window.Accordion||{},i=[],n=[];(e=function(e,i){var n,o=this;o.defaults={elements:{container:e,items:"[accordion-item]",trigger:"[accordion-title]",content:"[accordion-content]",image:"[accordion-image]",submenu:"[accordion-nested]"},speed:"slow",multiSelect:"false",multiOpen:"false",allClosed:"true",clickToClose:"true",openIcon:"plusminus"},o.initials={container:"",items:"",trigger:"",content:"",image:"",submenu:"",multiSelect:"",multiOpen:"",allClosed:"",clickToClose:"",openIcon:""},n=t(e).data("accordion",o)||{},t.extend(o,o.initials),o.options=t.extend({},o.defaults,n,i),o.generateId(),o.init=t.proxy(o.init,o)}).prototype.makeId=function(t,e,o){for(var s="",r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",a=0;a<t;a++)s+=r.charAt(Math.floor(Math.random()*r.length));var l,c=s+"-"+e;return void 0===(l=1==o?i:n)||l.indexOf(c)<0?c:this.makeId(t,e,o)},e.prototype.generateId=function(){var e=this;if(e.initials={container:t(e.options.elements.container),items:t(e.options.elements.container).find(e.options.elements.items),trigger:t(e.options.elements.container).find(e.options.elements.trigger),content:t(e.options.elements.container).find(e.options.elements.content),image:t(e.options.elements.container).find(e.options.elements.image),submenu:t(e.options.elements.container).find(e.options.elements.submenu),multiSelect:t(e.options.elements.container).attr("accordion-multiSelect")||e.options.multiSelect,multiOpen:t(e.options.elements.container).attr("accordion-multiOpen")||e.options.multiOpen,allClosed:t(e.options.elements.container).attr("accordion-allClosed")||e.options.allClosed,clickToClose:t(e.options.elements.container).attr("accordion-clickToClose")||e.options.clickToClose,openIcon:t(e.options.elements.container).attr("accordion-icon")||e.options.openIcon},e.initials.container.length>0){var o=t(e.initials.container)[0].id||e.makeId(6,"accordion",1);e.initials.container.attr("id",o),i.push(o),e.initials.container.attr("role","tree"),e.initials.items.length>0&&e.initials.trigger.length>0&&(e.initials.content.length>0||e.initials.submenu.length>0)&&(t(e.initials.items).each((function(){var i="";t(this).parents(e.options.elements.submenu).length>0&&(i="sub-");var s=t(this).attr("id")||o+"-item-"+i+t(this).index("[accordion-item]");t(this).attr("id",s);var r=t(this),a=t("#"+s+" > "+e.options.elements.trigger),l=t("#"+s+" > "+e.options.elements.content),c=t("#"+s+" > "+e.options.elements.submenu),d=l.attr("id")||e.makeId(6,"accordion",0),p=a.attr("id")||d+"-label",u=c.attr("id")||d+"-menu";n.push(d),a.attr({"aria-expanded":!1,"aria-selected":!1,id:p}),r.attr({"accordion-level":r.parents(e.options.elements.submenu).length+1}),l.length>0&&(a.attr({role:"tab","aria-controls":d,hasSub:"true"}),l.attr({role:"tabpanel","aria-hidden":!1,"aria-labelledby":p,id:d})),c.length>0&&(r.attr({role:"treeitem","aria-controls":u}),a.attr({hasSub:"true"}),c.attr({role:"group","aria-hidden":!1,"aria-labelledby":p,id:u})),void 0===t(e.options.elements.container).attr("accordion-icon")&&t(e.options.elements.container).attr("accordion-icon",e.initials.openIcon),"n
1one"!=e.initials.openIcon&&t(e.options.elements.container).find("[hasSub]").addClass(e.initials.openIcon),void 0===t(e.options.elements.container).attr("accordion-multiSelect")&&t(e.options.elements.container).attr("accordion-multiSelect",e.initials.multiSelect),void 0===t(e.options.elements.container).attr("accordion-multiOpen")&&t(e.options.elements.container).attr("accordion-multiOpen",e.initials.multiOpen),void 0===t(e.options.elements.container).attr("accordion-allClosed")&&t(e.options.elements.container).attr("accordion-allClosed",e.initials.allClosed),void 0===t(e.options.elements.container).attr("accordion-clickToClose")&&t(e.options.elements.container).attr("accordion-clickToClose",e.initials.clickToClose)})),e.init())}},e.prototype.init=function(){var e=this;t(e.options.elements.container).attr("accordion-active","true"),e.initials.image.length>0&&e.initials.image.parents(e.options.elements.items).attr("accordion-hasImg",""),e.initials.trigger.off("click.accordionTrigger"),e.initials.trigger.on("click.accordionTrigger",(function(i){var n=t(this),o=t(this).next(e.options.elements.content);if(t(this).next(e.options.elements.submenu).length>0&&(n=t(this).parent(),o=t(this).next(e.options.elements.submenu)),void 0===t(this).parent().attr("accordion-active")){var s=t(window).scrollTop(),r=t(e.options.elements.container).offset().top;if(t(e.options.elements.container).parents("[ntgmodal-content]").length>0&&(s=0),t(e.options.elements.container).parents("#details-modal").length>0&&(s=0),s>r&&goTo("#"+t(this).attr("id")),"false"==e.initials.multiOpen){var a=t(i.target).parent().attr("accordion-level"),l=parseInt(a)+1,c=t(this).parents("[accordion]").attr("id");t("#"+c+' [accordion-level="'+a+'"][accordion-active], #'+c+' [accordion-level="'+l+'"][accordion-active]').each((function(){var i=t(this);void 0===i.find("[content-visible]").attr("accordion-absolute")?i.find("[content-visible]").slideUp(e.options.speed):i.find("[content-visible]").fadeOut(e.options.speed),i.find("[content-visible]").attr("aria-hidden","true"),i.find("[content-visible]").removeAttr("content-visible"),t(this).find(e.options.elements.submenu).length>0?(t(this).attr("aria-expanded","false"),t(this).removeAttr("accordion-active"),t(this).find(e.options.elements.submenu).attr("aria-hidden","true")):(i.removeAttr("accordion-active"),t(this).find(e.options.elements.trigger).attr("aria-expanded","false"),t(this).find(e.options.elements.content).attr("aria-hidden","true"))}))}o.parent().attr("accordion-active",""),n.attr({"aria-expanded":!0,"aria-selected":!0}),void 0===t(e.options.elements.container).attr("accordion-absolute")?o.slideDown(e.initials.speed):o.fadeIn(e.initials.speed),o.attr({"content-visible":"","aria-hidden":"false"})}else{a=t(this).parent().attr("accordion-level");var d=e.initials.container.find('[accordion-level="'+a+'"][accordion-active]');if("false"==e.initials.clickToClose||"true"==e.initials.allClosed&&1==d.length&&t(i.target).parent().get(0)!=d.get(0))return;"true"==e.initials.allClosed?(o.parent().removeAttr("accordion-active"),n.attr({"aria-expanded":!1,"aria-selected":!1}),void 0===t(e.options.elements.container).attr("accordion-absolute")?o.slideUp(e.initials.speed,(function(){n.removeAttr("content-visible"),n.attr("aria-hidden","true")})):o.fadeOut(e.initials.speed,(function(){n.removeAttr("content-visible"),n.attr("aria-hidden","true")})),void 0===t(e.options.elements.container).attr("accordion-absolute")?o.slideUp(e.initials.speed):o.fadeOut(e.initials.speed),o.removeAttr("content-visible"),o.attr("aria-hidden","true")):e.initials.container.find("[content-visible]").length>1&&(t(this).parent().removeAttr("accordion-active"),n.attr({"aria-expanded":!1,"aria-selected":!1}),void 0===t(e.options.elements.container).attr("accordion-absolute")?o.slideUp(e.initials.speed):o.fadeOut(e.initials.speed),o.removeAttr("content-visible"),o.attr("aria-hidden","true"))}})),t(e.initials.items).each((function(){var i=t(this),n=t("#"+i.attr("id")+" > "+e.options.elements.trigger);i.find("[content-visible]").length>0&&n.click()}))},t.fn.accordion=function(){for(var t,i=this,n=arguments[0],o=Array.prototype.slice.call(arguments,1
1),s=i.length,r=0;r<s;r++)if("object"==typeof n||void 0===n?i[r].accordion=new e(i[r],n):t=i[r].accordion[n].apply(i[r].accordion,o),void 0!==t)return t;return i}}));
2/*! -------------------------------------------------------------------------------------------
3JAVASCRIPT alerts engine!
4
5* @Version:    1.0 - 2017
6* @author:     Netgócio
7* @email:      [email protected]
8* @website:    http://www.netgocio.pt
9--------------------------------------------------------------------------------------------*/
10var time_alert=1e4;function ntg_alert(t){swal({html:t,showCloseButton:!0,showCancelButton:!1,showConfirmButton:!1,timer:time_alert})}function ntg_success(t){swal({type:"success",html:t,showCloseButton:!0,showCancelButton:!1,showConfirmButton:!1,timer:time_alert})}function ntg_error(t){swal({type:"info",html:t,showCloseButton:!0,showCancelButton:!1,showConfirmButton:!1,timer:time_alert})}function ntg_confirm(t,e,i,n,o){swal(t).then((function(t){return t.value?(e&&e(),!0):t.dismiss===swal.DismissReason.cancel?(i&&i(),!1):void 0})).then((function(t){n&&t?ntg_success(n):o&&ntg_error(o)})).catch((function(t){t?ntg_error(o):(swal.hideLoading(),swal.close())}))}function ntg_newsletter(t,e,i,n,o,s,r,a){}!function(t){var e=navigator.userAgent;t.HTMLPictureElement&&/ecko/.test(e)&&e.match(/rv\:(\d+)/)&&RegExp.$1<45&&addEventListener("resize",function(){var e,i=document.createElement("source"),n=function(t){var e,n,o=t.parentNode;"PICTURE"===o.nodeName.toUpperCase()?(e=i.cloneNode(),o.insertBefore(e,o.firstElementChild),setTimeout((function(){o.removeChild(e)}))):(!t._pfLastSize||t.offsetWidth>t._pfLastSize)&&(t._pfLastSize=t.offsetWidth,n=t.sizes,t.sizes+=",100vw",setTimeout((function(){t.sizes=n})))},o=function(){var t,e=document.querySelectorAll("picture > img, img[srcset][sizes]");for(t=0;t<e.length;t++)n(e[t])},s=function(){clearTimeout(e),e=setTimeout(o,99)},r=t.matchMedia&&matchMedia("(orientation: landscape)"),a=function(){s(),r&&r.addListener&&r.addListener(s)};return i.srcset="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",/^[c|i]|d$/.test(document.readyState||"")?a():document.addEventListener("DOMContentLoaded",a),s}())}(window),function(t,e,i){"use strict";function n(t){return" "===t||"  "===t||"\n"===t||"\f"===t||"\r"===t}function o(t,e,i,n){var o,s,r;return"saveData"===w.algorithm?t>2.7?r=i+1:(s=(e-i)*(o=Math.pow(t-.6,1.5)),n&&(s+=.1*o),r=t+s):r=i>1?Math.sqrt(t*e):t,r>i}function s(t,e){return t.res-e.res}function r(t,e,i){var n;return!i&&e&&(i=(i=t[p.ns].sets)&&i[i.length-1]),(n=a(e,i))&&(e=p.makeUrl(e),t[p.ns].curSrc=e,t[p.ns].curCan=n,n.res||X(n,n.set.sizes)),n}function a(t,e){var i,n,o;if(t&&e)for(o=p.parseSet(e),t=p.makeUrl(t),i=0;i<o.length;i++)if(t===p.makeUrl(o[i].url)){n=o[i];break}return n}e.createElement("picture");var l,c,d,p={},u=!1,h=function(){},f=e.createElement("img"),m=f.getAttribute,g=f.setAttribute,v=f.removeAttribute,_=e.documentElement,y={},w={algorithm:""},b="data-pfsrc",x=b+"set",k=navigator.userAgent,T=/rident/.test(k)||/ecko/.test(k)&&k.match(/rv\:(\d+)/)&&RegExp.$1>35,C="currentSrc",S=/\s+\+?\d+(e\d+)?w/,A=/(\([^)]+\))?\s*(.+)/,$=t.picturefillCFG,P="font-size:100%!important;",O=!0,M={},E={},I=t.devicePixelRatio,L={px:1,in:96},z=e.createElement("a"),D=!1,F=/^[ \t\n\r\u000c]+/,R=/^[, \t\n\r\u000c]+/,B=/^[^ \t\n\r\u000c]+/,j=/[,]+$/,H=/^\d+$/,W=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,N=function(t,e,i,n){t.addEventListener?t.addEventListener(e,i,n||!1):t.attachEvent&&t.attachEvent("on"+e,i)},q=function(t){var e={};return function(i){return i in e||(e[i]=t(i)),e[i]}},V=function(){var t=/^([\d\.]+)(em|vw|px)$/,e=q((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,"")+";"}));return function(i,n){var o;if(!(i in M))if(M[i]=!1,n&&(o=i.match(t)))M[i]=o[1]*L[o[2]];else try{M[i]=new Function("e",e(i))(L)}catch(t){}return M[i]}}(),X=function(t,e){return t.w?(t.cWidth=p.calcListLength(e||"100vw"),t.res=t.w/t.cWidth):t.res=t.d,t},Y=function(t){if(u){var i,n,o,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)),o=(i=s.elements||p.qsa(s.context||e,s.reevaluate||s.reselect?p.sel:p.selShort)).length){for(p.setupRun(s),D=!0,n=0;o>n;n++)p.fillImg(i[n],s);p.teardownRun(s)}}};t.console&&console.warn,C in f||(C="src"),y["image/jpeg"]=!0,y["image/gif"]=!0,y["image/png"]=!0,y["image/svg+xml"]=e.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#Image","1.1"),p.ns=("pf"+(new Date).getTime()).substr(0,9),p.supSrcset="srcset"in f,p.supSizes="sizes"in f,p.supPicture=!!t.HTMLPictureElement,p.supSrcset&&p.supPicture&&!p.supSizes&&function(t){f.srcset="data:,a",t.src="data:,a",p.supSrcset=f.complete===t.complete,p.supPicture=p.supSrcset&&p.supPicture}(e.createElement("img")),p.supSrcset&&!p.supSizes?function(){var t="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",i=e.createElement("img"),n=function(){2===i.width&&(p.supSizes=!0),c=p.supSrcset&&!p.supSizes,u=!0,setTimeout(Y)};i.onload=n,i.onerror=n,i.setAttribute("sizes","9px"),i.srcset=t+" 1w,data:image/gif;base64,R0lGODlhAgABAPAAAP///wAAACH5BAAAAAAALAAAAAACAAEAAAICBAoAOw== 9w",i.src=t}():u=!0,p.selShort="picture>img,img[srcset]",p.sel=p.selShort,p.cfg=w,p.DPR=I||1,p.u=L,p.types=y,p.setSize=h,p.makeUrl=q((function(t){return z.href=t,z.href})),p.qsa=function(t,e){return"querySelector"in t?t.querySelectorAll(e):[]},p.matchesMedia=function(){return t.matchMedia&&(matchMedia("(min-width: 0.1em)")||{}).matches?p.matchesMedia=function(t){return!t||matchMedia(t).matches}:p.matchesMedia=p.mMQ,p.matchesMedia.apply(this,arguments)},p.mMQ=function(t){return!t||V(t)},p.calcLength=function(t){var e=V(t,!0)||!1;return 0>e&&(e=!1),e},p.supportsType=function(t){return!t||y[t]},p.parseSize=q((function(t){var e=(t||"").match(A);return{media:e&&e[1],length:e&&e[2]}})),p.parseSet=function(t){return t.cands||(t.cands=function(t,e){function i(e){var i,n=e.exec(t.substring(u));return n?(i=n[0],u+=i.length,i):void 0}function o(){var t,i,n,o,s,l,c,d,p,u=!1,f={};for(o=0;o<a.length;o++)l=(s=a[o])[s.length-1],c=s.substring(0,s.length-1),d=parseInt(c,10),p=parseFloat(c),H.test(c)&&"w"===l?((t||i)&&(u=!0),0===d?u=!0:t=d):W.test(c)&&"x"===l?((t||i||n)&&(u=!0),0>p?u=!0:i=p):H.test(c)&&"h"===l?((n||i)&&(u=!0),0===d?u=!0:n=d):u=!0;u||(f.url=r,t&&(f.w=t),i&&(f.d=i),n&&(f.h=n),n||i||t||(f.d=1),1===f.d&&(e.has1x=!0),f.set=e,h.push(f))}function s(){for(i(F),l="",c="in descriptor";;){if(d=t.charAt(u),"in descriptor"===c)if(n(d))l&&(a.push(l),l="",c="after descriptor");else{if(","===d)return u+=1,l&&a.push(l),void o();if("("===d)l+=d,c="in parens";else{if(""===d)return l&&a.push(l),void o();l+=d}}else if("in parens"===c)if(")"===d)l+=d,c="in descriptor";else{if(""===d)return a.push(l),void o();l+=d}else if("after descriptor"===c)if(n(d));else{if(""===d)return void o();c="in descriptor",u-=1}u+=1}}for(var r,a,l,c,d,p=t.length,u=0,h=[];;){if(i(R),u>=p)return h;r=i(B),a=[],","===r.slice(-1)?(r=r.replace(j,""),o()):s()}}(t.srcset,t)),t.cands},p.getEmValue=function(){var t;if(!l&&(t=e.body)){var i=e.createElement("div"),n=_.style.cssText,o=t.style.cssText;i.style.cssText="position:absolute;
10left:0;visibility:hidden;display:block;padding:0;border:none;font-size:1em;width:1em;overflow:hidden;clip:rect(0px, 0px, 0px, 0px)",_.style.cssText=P,t.style.cssText=P,t.appendChild(i),l=i.offsetWidth,t.removeChild(i),l=parseFloat(l,10),_.style.cssText=n,t.style.cssText=o}return l||16},p.calcListLength=function(t){if(!(t in E)||w.uT){var e=p.calcLength(function(t){function e(t){return!!(c.test(t)&&parseFloat(t)>=0)||!!d.test(t)||"0"===t||"-0"===t||"+0"===t}var i,o,s,r,a,l,c=/^(?:[+-]?[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?(?:ch|cm|em|ex|in|mm|pc|pt|px|rem|vh|vmin|vmax|vw)$/i,d=/^calc\((?:[0-9a-z \.\+\-\*\/\(\)]+)\)$/i;for(o=function(t){function e(){s&&(r.push(s),s="")}function i(){r[0]&&(a.push(r),r=[])}for(var o,s="",r=[],a=[],l=0,c=0,d=!1;;){if(""===(o=t.charAt(c)))return e(),i(),a;if(d){if("*"===o&&"/"===t[c+1]){d=!1,c+=2,e();continue}c+=1}else{if(n(o)){if(t.charAt(c-1)&&n(t.charAt(c-1))||!s){c+=1;continue}if(0===l){e(),c+=1;continue}o=" "}else if("("===o)l+=1;else if(")"===o)l-=1;else{if(","===o){e(),i(),c+=1;continue}if("/"===o&&"*"===t.charAt(c+1)){d=!0,c+=2;continue}}s+=o,c+=1}}}(t),s=o.length,i=0;s>i;i++)if(e(a=(r=o[i])[r.length-1])){if(l=a,r.pop(),0===r.length)return l;if(r=r.join(" "),p.matchesMedia(r))return l}return"100vw"}(t));E[t]=e||L.width}return E[t]},p.setRes=function(t){var e;if(t)for(var i=0,n=(e=p.parseSet(t)).length;n>i;i++)X(e[i],t.sizes);return e},p.setRes.res=X,p.applySetCandidate=function(t,e){if(t.length){var i,n,a,l,c,d,u,h,f,m=e[p.ns],g=p.DPR;if(d=m.curSrc||e[C],(u=m.curCan||r(e,d,t[0].set))&&u.set===t[0].set&&((f=T&&!e.complete&&u.res-.1>g)||(u.cached=!0,u.res>=g&&(c=u))),!c)for(t.sort(s),c=t[(l=t.length)-1],n=0;l>n;n++)if((i=t[n]).res>=g){c=t[a=n-1]&&(f||d!==p.makeUrl(i.url))&&o(t[a].res,i.res,g,t[a].cached)?t[a]:i;break}c&&(h=p.makeUrl(c.url),m.curSrc=h,m.curCan=c,h!==d&&p.setSrc(e,c),p.setSize(e))}},p.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))},p.getSet=function(t){var e,i,n,o=!1,s=t[p.ns].sets;for(e=0;e<s.length&&!o;e++)if((i=s[e]).srcset&&p.matchesMedia(i.media)&&(n=p.supportsType(i.type))){"pending"===n&&(i=n),o=i;break}return o},p.parseSets=function(t,e,n){var o,s,r,l,d=e&&"PICTURE"===e.nodeName.toUpperCase(),u=t[p.ns];(u.src===i||n.src)&&(u.src=m.call(t,"src"),u.src?g.call(t,b,u.src):v.call(t,b)),(u.srcset===i||n.srcset||!p.supSrcset||t.srcset)&&(o=m.call(t,"srcset"),u.srcset=o,l=!0),u.sets=[],d&&(u.pic=!0,function(t,e){var i,n,o,s,r=t.getElementsByTagName("source");for(i=0,n=r.length;n>i;i++)(o=r[i])[p.ns]=!0,(s=o.getAttribute("srcset"))&&e.push({srcset:s,media:o.getAttribute("media"),type:o.getAttribute("type"),sizes:o.getAttribute("sizes")})}(e,u.sets)),u.srcset?(s={srcset:u.srcset,sizes:m.call(t,"sizes")},u.sets.push(s),(r=(c||u.src)&&S.test(u.srcset||""))||!u.src||a(u.src,s)||s.has1x||(s.srcset+=", "+u.src,s.cands.push({url:u.src,d:1,set:s}))):u.src&&u.sets.push({srcset:u.src,sizes:null}),u.curCan=null,u.curSrc=i,u.supported=!(d||s&&!p.supSrcset||r&&!p.supSizes),l&&p.supSrcset&&!u.supported&&(o?(g.call(t,x,o),t.srcset=""):v.call(t,x)),u.supported&&!u.srcset&&(!u.src&&t.src||t.src!==p.makeUrl(u.src))&&(null===u.src?t.removeAttribute("src"):t.src=u.src),u.parsed=!0},p.fillImg=function(t,e){var i,n=e.reselect||e.reevaluate;t[p.ns]||(t[p.ns]={}),i=t[p.ns],(n||i.evaled!==d)&&((!i.parsed||e.reevaluate)&&p.parseSets(t,t.parentNode,e),i.supported?i.evaled=d:function(t){var e,i=p.getSet(t),n=!1;"pending"!==i&&(n=d,i&&(e=p.setRes(i),p.applySetCandidate(e,t))),t[p.ns].evaled=n}(t))},p.setupRun=function(){(!D||O||I!==t.devicePixelRatio)&&(O=!1,I=t.devicePixelRatio,M={},E={},p.DPR=I||1,L.width=Math.max(t.innerWidth||0,_.clientWidth),L.height=Math.max(t.innerHe
10ight||0,_.clientHeight),L.vw=L.width/100,L.vh=L.height/100,d=[L.height,L.width,I].join("-"),L.em=p.getEmValue(),L.rem=L.em)},p.supPicture?(Y=h,p.fillImg=h):function(){var i,n=t.attachEvent?/d$|^c/:/d$|^c|^i/,o=function(){var t=e.readyState||"";s=setTimeout(o,"loading"===t?200:999),e.body&&(p.fillImgs(),(i=i||n.test(t))&&clearTimeout(s))},s=setTimeout(o,e.body?9:99),r=_.clientHeight;N(t,"resize",function(t,e){var i,n,o=function(){var s=new Date-n;e>s?i=setTimeout(o,e-s):(i=null,t())};return function(){n=new Date,i||(i=setTimeout(o,e))}}((function(){O=Math.max(t.innerWidth||0,_.clientWidth)!==L.width||_.clientHeight!==r,r=_.clientHeight,O&&p.fillImgs()}),99)),N(e,"readystatechange",o)}(),p.picturefill=Y,p.fillImgs=Y,p.teardownRun=h,Y._=p,t.picturefillCFG={pf:p,push:function(t){var e=t.shift();"function"==typeof p[e]?p[e].apply(p,t):(w[e]=t[0],D&&p.fillImgs({reselect:!0}))}};for(;$&&$.length;)t.picturefillCFG.push($.shift());t.picturefill=Y,"object"==typeof module&&"object"==typeof module.exports?module.exports=Y:"function"==typeof define&&define.amd&&define("picturefill",(function(){return Y})),p.supPicture||(y["image/webp"]=function(e,i){var n=new t.Image;return n.onerror=function(){y[e]=!1,Y()},n.onload=function(){y[e]=1===n.width,Y()},n.src=i,"pending"}("image/webp","data:image/webp;base64,UklGRkoAAABXRUJQVlA4WAoAAAAQAAAAAAAAAAAAQUxQSAwAAAABBxAR/Q9ERP8DAABWUDggGAAAADABAJ0BKgEAAQADADQlpAADcAD++/1QAA=="))}(window,document),
11/*! BG Srcset - 1.0
12 * https://github.com/jessekernaghan/bgsrcset.js/blob/master/bgsrcset.js
13 */
14function(){"use strict";var t=function(){this.called=!1,this.callonce=!0,this.compat()};t.prototype.init=function(t,e){this.retina=window.devicePixelRatio>1,this.elements=[],this.callback="function"==typeof e?e:function(){},this.curwidth=this.getWidth();for(var i=this.gather(t),n=0,o=i.length;n<o;n++)this.parse(i[n]);this.set(),this.resize()},t.prototype.compat=function(){var t=document;"function"!=typeof t.getElementsByClassName&&(t.getElementsByClassName=function(e){return t.querySelectorAll("."+e)}),String.prototype.trim||(String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,"")}),t.addEventListener||(this.addEvent=function(t,e,i){t.attachEvent("on"+e,(function(t){i(t||window.event)}))})},t.prototype.gather=function(t){var e=t,i=e.nodeType?"Object":Object.prototype.toString.call(e).replace(/^\[object |\]$/g,""),n="parse"+i;return["HTMLCollection","NodeList"].indexOf(i)>-1?e:this[n]?this[n](e):[]},t.prototype.parseObject=function(t){return t.nodeType?[t]:[]},t.prototype.parseArray=function(t){return t},t.prototype.parseString=function(t){var e=document,i=t.trim(),n=i[0],o=[];switch(!0){case"."===n:o=e.getElementsByClassName(i.substring(1));break;case"#"===n:o.push(e.getElementById(i.substring(1)));break;case/^[a-zA-Z]+$/.test(i):o=e.getElementsByTagName(i);break;default:o=[]}return o},t.prototype.parse=function(t){var e=t.getAttribute("bg-srcset");if(null===n)return!1;this.elements.push({});var i=e.split(","),n="",o=this.elements[this.elements.length-1];o.node=t,o.srcset=[];for(var s=0,r=i.length;s<r;s++){o.srcset.push({});for(var a,l,c,d=(n=i[s].trim()).split(" "),p=0,u=d.length;p<u;p++){switch(a=d[p],l=o.srcset[s],c=a.length-1,!0){case""===a.trim():continue;case"w"!==a[c]&&"x"!==a[a.length-1]&&a.indexOf("align")<0:l.src=a;break;case a.indexOf("align")>=0:l.align=a;break;case"w"===a[c]&&a.indexOf("align")<0:l.width=parseInt(a.slice(0,-1));break;case"x"===a[c]&&a.indexOf("align")<0:l.retina=parseInt(a.slice(0,-1))>1}l.width||(l.width=Number.POSITIVE_INFINITY),l.retina||(l.retina=!1)}}},t.prototype.set=function(){for(var t=0,e=this.elements.length;t<e;t++)this.setSingle(t)},t.prototype.setSingle=function(t){var e,i=this.elements[t],n=[],o=0,s=this;e=this.getWidth(),i.srcset=i.srcset.sort(function(t){var e=1;"-"===t[0]&&(e=-1,t=t.substr(1));return function(i,n){return(i[t]<n[t]?-1:i[t]>n[t]?1:0)*e}}("width"));for(var r=0,a=i.srcset.length;r<a;r++)i.srcset[r].width<e||n.push(i.srcset[r]);if(0===n.length&&n.push(i.srcset[i.srcset.length-1]),o=n[0],n.length>1&&n[0].width===n[1].width&&(o=n[0].retina!==this.retina?n[1]:n[0]),void 0!==o.src&&"null"!==o.src){var l=new Image,c=!1;l.onload=l.onreadystatechange=function(){if(!(c||this.readyState&&"loaded"!==this.readyState&&"complete"!==this.readyState)){c=!0;var t="";t=o.align?o.align.split("_"):["center","center"],i.node.style.backgroundPosition=t[1]+" "+t[2],i.node.style.backgroundImage="url('"+o.src+"')",s.called||(s.callback(i),s.called=s.callonce)}},l.src=o.src}else i.node.style.backgroundImage=""},t.prototype.resize=function(){var t=this,e=setTimeout((function(){}),0);this.addEvent(window,"resize",(function(){clearTimeout(e),e=setTimeout((function(){var e=t.getWidth();e!==t.curwidth&&(t.curwidth=e,t.set())}),250)}))}
14,t.prototype.addEvent=function(t,e,i){t.addEventListener(e,i,!1)},t.prototype.getWidth=function(){var t,e,i,n;return t=window,i=(e=document).documentElement,n=e.getElementsByTagName("body")[0],t.innerWidth||i.clientWidth||n.clientWidth},window.bgsrcset=t}(),function(t){"use strict";function e(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);return t}function i(t,e,i){var n=document.createElement(t);return n.className=e||"",n.innerHTML=i||"",n}function n(t,i){this.el=t,this.options=e({},this.options),e(this.options,i),this._init()}n.prototype.options={isContentHidden:!0,revealSettings:{direction:"lr",bgcolor:"#f0f0f0",duration:800,easing:"easeInOutQuint",coverArea:0,onCover:function(t,e){return!1},onStart:function(t,e){return!1},onComplete:function(t,e){return!1}}},n.prototype._init=function(){this._layout();var e=this;$(t).resized((function(){e._arrowSize()}))},n.prototype._layout=function(){if(0==$(this.el).find(".block-revealer__content").length&&0==$(this.el).find(".block-revealer__element").length){var t=getComputedStyle(this.el).position;"fixed"!==t&&"absolute"!==t&&"relative"!==t&&(this.el.style.position="relative"),this.content=i("div","block-revealer__content"),this.options.isContentHidden&&(this.content.style.opacity=0),this.revealer=i("div","block-revealer__element"),this.el.classList.add("block-revealer"),$(this.el).hasClass("reveal_arrow")&&this._arrow(),$(this.el).children().wrapAll(this.content),this.content=$(this.el).children().first()[0],this.el.appendChild(this.revealer)}else this.content=$(this.el).children().first()[0],this.revealer=$(this.el).find(".block-revealer__element")[0]},n.prototype._arrow=function(){$(this.el).hasClass("reveal_arrow")&&!$(this.el).hasClass("revealed")?(0==$(this.revealer).find(".block-revealer__arrow").length?this.triangle=i("div","block-revealer__arrow show-for-medium"):this.triangle=$(this.revealer).find(".block-revealer__arrow"),this._arrowSize(),0==$(this.revealer).find(".block-revealer__arrow").length&&this.revealer.appendChild(this.triangle)):this.triangle=$(this.el).find(".block-revealer__arrow")[0]},n.prototype._arrowSize=function(){if($(this.el).hasClass("reveal_arrow")&&$(this.revealer).find(".block-revealer__arrow").length>0){var t=$(this.el).attr("data-racio").split("x"),e=parseInt(t[0]),i=parseInt(t[1]),n=parseFloat(getComputedStyle(this.el).height),o=n*e/i;n/=2;var s="";$(this.el).hasClass("arrow_left")&&(s=n+"px "+o+"px "+n+"px 0",$(this.triangle).css("left","-"+parseInt(o)+"px")),$(this.el).hasClass("arrow_right")&&(s=n+"px 0 "+n+"px "+o+"px",$(this.triangle).css("right","-"+parseInt(o)+"px")),$(this.triangle).css("border-width",s)}},n.prototype._getTransformSettings=function(t){var e,i,n;switch(t){case"lr":e="scale3d(0,1,1)",i="0 50%",n="100% 50%";break;case"rl":e="scale3d(0,1,1)",i="100% 50%",n="0 50%";break;case"tb":e="scale3d(1,0,1)",i="50% 0",n="50% 100%";break;case"bt":e="scale3d(1,0,1)",i="50% 100%",n="50% 0";break;default:e="scale3d(0,1,1)",i="0 50%",n="100% 50%"}return{val:e,origin:{initial:i,halfway:n}}},n.prototype.reveal=function(t){if(this.isAnimating)return!1;this.isAnimating=!0;var e=500,i="easeInOutQuint",n=0,o="#f0f0f0",s="lr",r=0,a=(t=t||this.options.revealSettings).direction||s,l=this._getTransformSettings(a);this.revealer.style.WebkitTransform=this.revealer.style.transform=l.val,this.revealer.style.WebkitTransformOrigin=this.revealer.style.transformOrigin=l.origin.initial,this.revealer.style.backgroundColor=t.bgcolor||o,this.revealer.style.color=t.bgcolor||o,this.revealer.style.opacity=1;var c=this,d=t.delay||n,p={onComplete:function(){c.isAnimating=!1,"function"==typeof t.onComplete&&t.onComplete(c.content,c.revealer)}},u={onComplete:function(){c.revealer.style.WebkitTransformOrigin=c.revealer.style.transformOrigin=l.origin.halfway,"function"==typeof t.onCover&&t.onCover(c.content,c.revealer),setTimeout((function(){TweenMax.to(p.targets,p.duration,p)}),d)}};u.targets=p.targets=this.revealer,u.duration=p.duration=t.duration||e,u.easing=p.easing=t.easing||i;var h=t.coverArea||r;"lr"===a||"rl"===a?(u.scale="scaleX: (0,1)",p.scale="scaleX: [1,"+h/100+"]"):(u.scale="scaleY: (0,1)",p.scale="scaleY: [1,"+h/100+"]"),"function"==typeof t.onStart&&t.onStart(c.content,c.revealer),TweenMax.to(u.targets,u.duration,u)},t.RevealFx=n}(window),function(t){var e={},i="doTimeout",n=Array.prototype.slice;function o(i){var o,s=this,r={},a=i?t.fn:t,l=arguments,c=4,d=l[1],p=l[2],u=l[3];function h(){i?o.removeData(i):d&&delete e[d]}function f(){r.id=setTimeout((function(){r.fn()}),p)}if("string"!=typeof d&&(c--,d=i=0,p=l[1],u=l[2]),i?(o=s.eq(0)).data(i,r=o.data(i)||{}):d&&(r=e[d]||(e[d]={})),r.id&&clearTimeout(r.id),delete r.id,u)r.fn=function(t){"string"==typeof u&&(u=a[u]),!0!==u.apply(s,n.call(l,c))||t?h():f()},f();else{if(r.fn)return void 0===p?h():r.fn(!1===p),!0;h()}}t[i]=function(){return o.apply(window,[0].concat(n.call(arguments)))},t.fn[i]=function(){var t=n.call(arguments),e=o.apply(this,[i+t[0]].concat(t));return"number"==typeof t[0]||"number"==typeof t[1]?this:e}}(jQuery),function(){"use strict";
15/**
16	 * @preserve FastClick: polyfill to remove click delays on browsers with touch UIs.
17	 *
18	 * @codingstandard ftlabs-jsv2
19	 * @copyright The Financial Times Limited [All Rights Reserved]
20	 * @license MIT License (see LICENSE.txt)
21	 */function t(e,n){var o;if(n=n||{},this.trackingClick=!1,this.trackingClickStart=0,this.targetElement=null,this.touchStartX=0,this.touchStartY=0,this.lastTouchIdentifier=0,this.touchBoundary=n.touchBoundary||10,this.layer=e,this.tapDelay=n.tapDelay||200,this.tapTimeout=n.tapTimeout||700,!t.notNeeded(e)){for(var s=["onMouse","onClick","onTouchStart","onTouchMove","onTouchEnd","onTouchCancel"],r=this,a=0,l=s.length;a<l;a++)r[s[a]]=c(r[s[a]],r);i&&(e.addEventListener("mouseover",this.onMouse,{passive:!1,capture:!0}),e.addEventListener("mousedown",this.onMouse,{passive:!1,capture:!0}),e.addEventListener("mouseup",this.onMouse,{passive:!1,capture:!0})),e.addEventListener("click",this.onClick,{passive:!1,capture:!0}),e.addEventListener("touchstart",this.onTouchStart,{passive:!1,capture:!1}),e.addEventListener("touchmove",this.onTouchMove,{passive:!1,capture:!1}),e.addEventListener("touchend",this.onTouchEnd,{passive:!1,capture:!1}),e.addEventListener("touchcancel",this.onTouchCancel,{passive:!1,capture:!1}),Event.prototype.stopImmediatePropagation||(e.removeEventListener=function(t,i,n){var o=Node.prototype.removeEventListener;"click"===t?o.call(e,t,i.hijacked||i,n):o.call(e,t,i,n)},e.addEventListener=function(t,i,n){var o=Node.prototype.addEventListener;"click"===t?o.call(e,t,i.hijacked||(i.hijacked=function(t){t.propagationStopped||i(t)}),n):o.call(e,t,i,n)}
vendor: 5,413 bytes, line 21
21),"function"==typeof e.onclick&&(o=e.onclick,e.addEventListener("click",(function(t){o(t)}),!1),e.onclick=null)}function c(t,e){return function(){return t.apply(e,arguments)}}}var e=navigator.userAgent.indexOf("Windows Phone")>=0,i=navigator.userAgent.indexOf("Android")>0&&!e,n=/iP(ad|hone|od)/.test(navigator.userAgent)&&!e,o=n&&/OS 4_\d(_\d)?/.test(navigator.userAgent),s=n&&/OS [6-7]_\d/.test(navigator.userAgent),r=navigator.userAgent.indexOf("BB10")>0;t.prototype.needsClick=function(t){switch(t.nodeName.toLowerCase()){case"button":case"select":case"textarea":if(t.disabled)return!0;break;case"input":if(n&&"file"===t.type||t.disabled)return!0;break;case"label":case"iframe":case"video":return!0}return/\bneedsclick\b/.test(t.className)},t.prototype.needsFocus=function(t){switch(t.nodeName.toLowerCase()){case"textarea":return!0;case"select":return!i;case"input":switch(t.type){case"button":case"checkbox":case"file":case"image":case"radio":case"submit":return!1}return!t.disabled&&!t.readOnly;default:return/\bneedsfocus\b/.test(t.className)}},t.prototype.sendClick=function(t,e){var i,n;document.activeElement&&document.activeElement!==t&&document.activeElement.blur(),n=e.changedTouches[0],(i=document.createEvent("MouseEvents")).initMouseEvent(this.determineEventType(t),!0,!0,window,1,n.screenX,n.screenY,n.clientX,n.clientY,!1,!1,!1,!1,0,null),i.forwardedTouchEvent=!0,t.dispatchEvent(i)},t.prototype.determineEventType=function(t){return i&&"select"===t.tagName.toLowerCase()?"mousedown":"click"},t.prototype.focus=function(t){var e;n&&t.setSelectionRange&&0!==t.type.indexOf("date")&&"time"!==t.type&&"month"!==t.type&&"email"!==t.type?(e=t.value.length,t.setSelectionRange(e,e)):t.focus()},t.prototype.updateScrollParent=function(t){var e,i;if(!(e=t.fastClickScrollParent)||!e.contains(t)){i=t;do{if(i.scrollHeight>i.offsetHeight){e=i,t.fastClickScrollParent=i;break}i=i.parentElement}while(i)}e&&(e.fastClickLastScrollTop=e.scrollTop)},t.prototype.getTargetElementFromEventTarget=function(t){return t.nodeType===Node.TEXT_NODE?t.parentNode:t},t.prototype.onTouchStart=function(t){var e,i,s;if(t.targetTouches.length>1)return!0;if(e=this.getTargetElementFromEventTarget(t.target),i=t.targetTouches[0],n){if((s=window.getSelection()).rangeCount&&!s.isCollapsed)return!0;if(!o){if(i.identifier&&i.identifier===this.lastTouchIdentifier)return t.preventDefault(),!1;this.lastTouchIdentifier=i.identifier,this.updateScrollParent(e)}}return this.trackingClick=!0,this.trackingClickStart=t.timeStamp,this.targetElement=e,this.touchStartX=i.pageX,this.touchStartY=i.pageY,t.timeStamp-this.lastClickTime<this.tapDelay&&t.preventDefault(),!0},t.prototype.touchHasMoved=function(t){var e=t.changedTouches[0],i=this.touchBoundary;return Math.abs(e.pageX-this.touchStartX)>i||Math.abs(e.pageY-this.touchStartY)>i},t.prototype.onTouchMove=function(t){return!this.trackingClick||((this.targetElement!==this.getTargetElementFromEventTarget(t.target)||this.touchHasMoved(t))&&(this.trackingClick=!1,this.targetElement=null),!0)},t.prototype.findControl=function(t){return void 0!==t.control?t.control:t.htmlFor?document.getElementById(t.htmlFor):t.querySelector("button, input:not([type=hidden]), keygen, meter, output, progress, select, textarea")},t.prototype.onTouchEnd=function(t){var e,r,a,l,c,d=this.targetElement;if(!this.trackingClick)return!0;if(t.timeStamp-this.lastClickTime<this.tapDelay)return this.cancelNextClick=!0,!0;if(t.timeStamp-this.trackingClickStart>this.tapTimeout)return!0;if(this.cancelNextClick=!1,this.lastClickTime=t.timeStamp,r=this.trackingClickStart,this.trackingClick=!1,this.trackingClickStart=0,s&&(c=t.changedTouches[0],(d=document.elementFromPoint(c.pageX-window.pageXOffset,c.pageY-window.pageYOffset)||d).fastClickScrollParent=this.targetElement.fastClickScrollParent),"label"===(a=d.tagName.toLowerCase())){if(e=this.findControl(d)){if(this.focus(d),i)return!1;d=e}}else if(this.needsFocus(d))return t.timeStamp-r>100||n&&window.top!==window&&"input"===a?(this.targetElement=null,!1):(this.focus(d),this.sendClick(d,t),n&&"select"===a||(this.targetElement=null,t.preventDefault()),!1);return!(!n||o||!(l=d.fastClickScrollParent)||l.fastClickLastScrollTop===l.scrollTop)||(this.needsClick(d)||(t.preventDefault(),this.sendClick(d,t)),!1)},t.prototype.onTouchCancel=function(){this.trackingClick=!1,this.targetElement=null},t.prototype.onMouse=function(t){return!this.targetElement||(!!t.forwardedTouchEvent||(!t.cancelable||(!(!this.needsClick(this.targetElement)||this.cancelNextClick)||(t.stopImmediatePropagation?t.stopImmediatePropagation():t.propagationStopped=!0,t.stopPropagation(),t.preventDefault(),!1))))},t.prototype.onClick=function(t){var e;return this.trackingClick?(this.targetElement=null,this.trackingClick=!1,!0):"submit"===t.target.type&&0===t.detail||((e=this.onMouse(t))||(this.targetElement=null),e)},t.prototype.destroy=function(){var t=this.layer;i&&(t.removeEventListener("mouseover",this.onMouse,!0),t.removeEventListener("mousedown",this.onMouse,!0),t.removeEventListener("mouseup",this.onMouse,!0)),t.removeEventListener("click",this.onClick,!0),t.removeEventListener("touchstart",this.onTouchStart,!1),t.removeEventListener("touchmove",this.onTouchMove,!1),t.removeEventListener("touchend",this.onTouchEnd,!1),t.removeEventListener("touchcancel",this.onTouchCancel,!1)},t.notNeeded=function(t){var e,n,o;if(void 0===window.ontouchstart)return!0;
21if(n=+(/Chrome\/([0-9]+)/.exec(navigator.userAgent)||[,0])[1]){if(!i)return!0;if(e=document.querySelector("meta[name=viewport]")){if(-1!==e.content.indexOf("user-scalable=no"))return!0;if(n>31&&document.documentElement.scrollWidth<=window.outerWidth)return!0}}if(r&&(o=navigator.userAgent.match(/Version\/([0-9]*)\.([0-9]*)/))[1]>=10&&o[2]>=3&&(e=document.querySelector("meta[name=viewport]"))){if(-1!==e.content.indexOf("user-scalable=no"))return!0;if(document.documentElement.scrollWidth<=window.outerWidth)return!0}return"none"===t.style.msTouchAction||"manipulation"===t.style.touchAction||(!!(+(/Firefox\/([0-9]+)/.exec(navigator.userAgent)||[,0])[1]>=27&&(e=document.querySelector("meta[name=viewport]"))&&(-1!==e.content.indexOf("user-scalable=no")||document.documentElement.scrollWidth<=window.outerWidth))||("none"===t.style.touchAction||"manipulation"===t.style.touchAction))},t.attach=function(e,i){return new t(e,i)},"function"==typeof define&&"object"==typeof define.amd&&define.amd?define((function(){return t})):"undefined"!=typeof module&&module.exports?(module.exports=t.attach,module.exports.FastClick=t):window.FastClick=t}();var distancePoints=function(t,e,i,n){return Math.sqrt((t-i)*(t-i)+(e-n)*(e-n))},getMousePos=function(t){var e=0,i=0;if(!t)t=window.event;return t.pageX||t.pageY?(e=t.pageX,i=t.pageY):(t.clientX||t.clientY)&&(e=t.clientX+document.body.scrollLeft+document.documentElement.scrollLeft,i=t.clientY+document.body.scrollTop+document.documentElement.scrollTop),{x:e,y:i}};function Nearby(t,e){window.addEventListener("mousemove",(function(i){return requestAnimationFrame((function(){var n=getMousePos(i),o=document.body.scrollLeft+document.documentElement.scrollLeft,s=document.body.scrollTop+document.documentElement.scrollTop,r=t.getBoundingClientRect(),a={x1:r.left+o,x2:r.width+r.left+o,y1:r.top+s,y2:r.height+r.top+s},l={x:n.x,y:n.y};n.x<a.x1?l.x=a.x1:n.x>a.x2&&(l.x=a.x2),n.y<a.y1?l.y=a.y1:n.y>a.y2&&(l.y=a.y2),e.onProgress&&e.onProgress(distancePoints(n.x,n.y,l.x,l.y))}))}))}var $elements="input[required], textarea[required], select[required]",$errorInpt=".inpt_error",$error_el="has-error",$nerby_el="has-errorNearby",$anime_from=0,k;function initFormValidator(){$("form[nearby-validator]").length>0&&$("form[nearby-validator]").formvalidator()}function validaForm(t,e,i,n){var o=1,s=$error_el;if(n&&(s=n),1==e&&$("#"+t).find("button").length>0&&($("#"+t).find("button").attr("disabled",!0),$("#"+t).find("button").addClass("disabled")),$("#"+t).find($elements).each((function(){var e=$
21(this);if("radio"===e.attr("type")||"checkbox"===e.attr("type")){if("radio"===e.attr("type"))$("input[name="+e.attr("name")+"]:checked").val()?$("input[name="+e.attr("name")+"]").removeClass(s):($("input[name="+e.attr("name")+"]").addClass(s),o=0);if("checkbox"===e.attr("type"))$('input[name="'+e.attr("name")+'"]:checked').val()?$('input[name="'+e.attr("name")+'"]').removeClass(s):($('input[name="'+e.attr("name")+'"]').addClass(s),o=0)}else if("localidade_pm"==e.attr("id"))"none"!=$("#pickme").css("display")&&"0"==$("#localidade_pm").val()?(e.parents(".inpt_holder").length>0?e.parents(".inpt_holder").addClass(s):e.addClass(s),o=0):e.parents(".inpt_holder").length>0?e.parents(".inpt_holder").removeClass(s):e.removeClass(s);else if(e.val()&&0!=e.val()&&0!==e.val().trim().length?e.parents(".inpt_holder").length>0?e.parents(".inpt_holder").removeClass(s):e.removeClass(s):(e.parents(".inpt_holder").length>0?e.parents(".inpt_holder").addClass(s):e.addClass(s),o=0),"email"==e.attr("type")&&(isValidEmailAddress(e.val())?e.parents(".inpt_holder").length>0?e.parents(".inpt_holder").removeClass(s):e.removeClass(s):(e.parents(".inpt_holder").length>0?e.parents(".inpt_holder").addClass(s):e.addClass(s),o=0)),e.hasClass("confirm")){var i=e.index(".confirm"),n=e,r=$(".cod_confirm:eq("+i+")","#"+t);n.val()!==r.val()||0===n.val().trim().length||0===r.val().trim().length?(n.parents(".inpt_holder").length>0?n.parents(".inpt_holder").addClass(s):n.addClass(s),r.parents(".inpt_holder").length>0?r.parents(".inpt_holder").addClass(s):r.addClass(s),o=0):(n.parents(".inpt_holder").length>0?n.parents(".inpt_holder").removeClass(s):n.removeClass(s),r.parents(".inpt_holder").length>0?r.parents(".inpt_holder").removeClass(s):r.removeClass(s))}})),$(".captcha","#"+t).length>0){var r=array_captcha[$(".captcha","#"+t).attr("id")];0===grecaptcha.getResponse(r).length&&(1==o&&1==e&&ntg_error($(".captcha","#"+t).attr("data-error")),o=0)}return 1==e&&$("#"+t).find("button").length>0&&($("#"+t).find("button").attr("disabled",!1),$("#"+t).find("button").removeClass("disabled")),0!=o||($("#"+t).find("."+s).length>0&&(void 0===$("#"+t).attr("nearby-validator")||checkMobile()||1==e?($("html, body").stop(!0,!0).animate({scrollTop:$("#"+t).find("."+s).offset().top-getAltMenu()},1500,"easeInOutExpo",(function(){})),"comprar"!=t&&"form_facturacao"!=t&&"form_envio"!=t&&ntg_error($recursos.form_erro)):$("#"+t).find("."+s).each((function(){var t=$(this).find(".inpt_label_error"),e=$(this).find($errorInpt);TweenLite.to(t,.3,{opacity:Math.max(i,$anime_from)}),TweenLite.to(e,.3,{opacity:Math.max(i,$anime_from)})}))),!1)}function MarkerManager(t,e){var i=this;i.map_=t,i.mapZoom_=t.getZoom(),i.projectionHelper_=new ProjectionHelperOverlay(t),google.maps.event.addListener(i.projectionHelper_,"ready",(function(){i.projection_=this.getProjection(),i.initialize(t,e)}))}function GridBounds(t){this.minX=Math.min(t[0].x,t[1].x),this.maxX=Math.max(t[0].x,t[1].x),this.minY=Math.min(t[0].y,t[1].y),this.maxY=Math.max(t[0].y,t[1].y)}function ProjectionHelperOverlay(t){this.setMap(t);this._map=t,this._zoom=-1,this._X0=this._Y0=this._X1=this._Y1=-1}function d(t){return function(e){this[t]=e}}function f(t){return function(){return this[t]}}function l(t,e,i){this.extend(l,google.maps.OverlayView),this.b=t,this.a=[],this.f=[],this.da=[53,56,66,78,90],this.j=[],this.A=!1,i=i||{},this.g=i.gridSize||60,this.l=i.minimumClusterSize||2,this.K=i.maxZoom||null,this.j=i.styles||[],this.Y=i.imagePath||this.R,this.X=i.imageExtension||this.Q,this.P=!0,null!=i.zoomOnClick&&(this.P=i.zoomOnClick),this.r=!1,null!=i.averageCenter&&(this.r=i.averageCenter),m(this),this.setMap(t),this.L=this.b.getZoom();var n=this;google.maps.event.addListener(this.b,"zoom_changed",(function(){var t=n.b.getZoom(),e=n.b.minZoom||0,i=Math.min(n.b.maxZoom||100,n.b.mapTypes[n.b.getMapTypeId()].maxZoom);t=Math.min(Math.max(t,e),i);n.L!=t&&(n.L=t,n.m())})),google.maps.event.addListener(this.b,"idle",(function(){n.i()})),e&&(e.length||Object.keys(e).length)&&this.C(e,!1)}function m(t){if(!t.j.length)for(var e,i=0;e=t.da[i];i++)t.j.push({url:t.Y+(i+1)+"."+t.X,height:e,width:e})}function s(t,e){e.s=!1,e.draggable&&google.maps.event.addListener(e,"dragend",(function(){e.s=!1,t.M()})),t.a.push(e)}function t(t,e){var i=-1;if(t.a.indexOf)i=t.a.indexOf(e);else for(var n,o=0;n=t.a[o];o++)if(n==e){i=o;break}return-1!=i&&(e.setMap(null),t.a.splice(i,1),!0)}function p(t){if(t.A)for(var e,i=new google.maps.LatLngBounds(t.b.getBounds().getSouthWest
21(),t.b.getBounds().getNorthEast()),n=(i=t.v(i),0);e=t.a[n];n++)if(!e.s&&i.contains(e.getPosition())){for(var o=t,s=4e4,r=null,a=0,l=void 0;l=o.f[a];a++){if(u=l.getCenter()){var c=e.getPosition();if(u&&c){var d=(c.lat()-u.lat())*Math.PI/180,p=(c.lng()-u.lng())*Math.PI/180,u=Math.sin(d/2)*Math.sin(d/2)+Math.cos(u.lat()*Math.PI/180)*Math.cos(c.lat()*Math.PI/180)*Math.sin(p/2)*Math.sin(p/2);u=12742*Math.atan2(Math.sqrt(u),Math.sqrt(1-u))}else u=0;u<s&&(s=u,r=l)}}r&&r.F.contains(e.getPosition())?r.q(e):((l=new v(o)).q(e),o.f.push(l))}}function v(t){this.k=t,this.b=t.getMap(),this.g=t.I(),this.l=t.l,this.r=t.r,this.d=null,this.a=[],this.F=null,this.n=new w(this,t.w())}function A(t){var e=new google.maps.LatLngBounds(t.d,t.d);t.F=t.k.v(e)}function w(t,e){t.k.extend(w,google.maps.OverlayView),this.j=e,this.u=t,this.d=null,this.b=t.getMap(),this.B=this.c=null,this.t=!1,this.setMap(this.b)}function C(t,e){var i=t.getProjection().fromLatLngToDivPixel(e);return i.x-=parseInt(t.p/2,10),i.y-=parseInt(t.h/2,10),i}function B(t){t.c&&(t.c.style.display="none"),t.t=!1}function D(t,e){var i=[];return i.push("background-image:url("+t.ea+");"),i.push("background-position:"+(t.D?t.D:"0 0")+";"),"object"==typeof t.e?("number"==typeof t.e[0]&&0<t.e[0]&&t.e[0]<t.h?i.push("height:"+(t.h-t.e[0])+"px; padding-top:"+t.e[0]+"px;"):i.push("height:"+t.h+"px; line-height:"+t.h+"px;"),"number"==typeof t.e[1]&&0<t.e[1]&&t.e[1]<t.p?i.push("width:"+(t.p-t.e[1])+"px; padding-left:"+t.e[1]+"px;"):i.push("width:"+t.p+"px; text-align:center;")):i.push("height:"+t.h+"px; line-height:"+t.h+"px; width:"+t.p+"px; text-align:center;"),i.push("cursor:pointer; top:"+e.y+"px; left:"+e.x+"px; color:"+(t.N?t.N:"black")+"; position:absolute; font-size:"+(t.O?t.O:11)+"px; font-family:Arial,sans-serif; font-weight:bold"),i.join("")}function initModals(t){$("[ntgmodal]").length>0&&$("[ntgmodal]").ntgmodal()}function initMultiSteps(t){$("[formStep]").length>0&&$("[formStep]").ntgsteps()}function initWindows(t){$("[native-window]").length>0&&$("[native-window]").nativewindow()}!function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):"undefined"!=typeof exports?module.exports=t(require("jquery")):t(jQuery)}((function(t){"use strict";var e=window.formValidator||{};(e=function(e,i){var n,o=this;o.defaults={container:e,elements:$elements,errorEl:$errorInpt,btnSubmit:'button[type="submit"]',color:"221,14,14",classes:{nearbyError:$nerby_el,error:$error_el},distance:{min:0,max:75},animationInterval:{from:$anime_from,to:1}},o.initials={id:"",classValidate:"",state:1},t(e).data("formvalidator")||(n=t(e).data("formvalidator",o)||{},t.extend(o,o.initials),o.options=t.extend({},o.defaults,n,i),o.init()),o.init=t.proxy(o.init,o),o.validateForm=t.proxy(o.validateForm,o)}).prototype.init=function(){var e=this;t(e.options.container).length>0&&t(e.options.container).find(e.options.elements).length>0&&(e.initials.id=t(e.options.container).attr("id"),t(e.options.container).on("submit",(function(){return e.initials.classValidate=e.options.classes.error,e.initials.state=1,e.validateForm(e.initials.id,1,e.options.animationInterval.to)})),checkMobile()||(t(e.options.container).find(".inpt_holder").removeClass(e.options.classes.error),Nearby(t(e.options.container).find(e.options.btnSubmit)[0],{onProgress:function(t){if(t-50<=e.options.distance.max){var i=e.lineEq(e.options.animationInterval.from,e.options.animationInterval.to,e.options.distance.max,e.options.distance.min,t);return 1==i&&(e.initials.state=0),e.initials.classValidate=e.options.classes.nearbyError,e.validateForm(e.initials.id,0,i)}}})))},e.prototype.validateForm=function(t,e,i){return validaForm(t,e,i,this.initials.classValidate)},e.prototype.lineEq=function(t,e,i,n,o){var s=(t-e)/(i-n);return s*o+(e-s*n)},t.fn.formvalidator=function(){for(var t,i=this,n=arguments[0],o=Array.prototype.slice.call(arguments,1),s=i.length,r=0;r<s;r++)if("object"==typeof n||void 0===n?i[r].formvalidator=new e(i[r],n):t=i[r].formvalidator[n].apply(i[r].formvalidator,o),void 0!==t)return t;return i}})),jQuery.fn.highlight=function(t){function e(t,i){var n=0;if(3==t.nodeType){var o=t.data.toUpperCase().indexOf(i);if((o-=t.data.substr(0,o).toUpperCase().length-t.data.substr(0,o).length)>=0){var s=document.createElement("span");s.className="highlight";var r=t.splitText(o),a=(r.splitText(i.length),r.cloneNode(!0));s.appendChild(a),r.parentNode.replaceChild(s,r),n=1}}else if(1==t.nodeType&&t.childNodes&&!/(script|style)/i.test(t.tagName))for(var l=0;l<t.childNodes.length;++l)l+=e(t.childNodes[l],i);return n}return this.length&&t&&t.length?this.each((function(){e(this,t.toUpperCase())})):this},jQuery.fn.removeHighlight=function(){return this.find("span.highlight").each((function(){replaceChild(this,$(this).contents()),normalize()})).end()},jQuery.easing.jswing=jQuery.easing.swing,jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(t,e,
21i,n,o){return jQuery.easing[jQuery.easing.def](t,e,i,n,o)},easeInQuad:function(t,e,i,n,o){return n*(e/=o)*e+i},easeOutQuad:function(t,e,i,n,o){return-n*(e/=o)*(e-2)+i},easeInOutQuad:function(t,e,i,n,o){return(e/=o/2)<1?n/2*e*e+i:-n/2*(--e*(e-2)-1)+i},easeInCubic:function(t,e,i,n,o){return n*(e/=o)*e*e+i},easeOutCubic:function(t,e,i,n,o){return n*((e=e/o-1)*e*e+1)+i},easeInOutCubic:function(t,e,i,n,o){return(e/=o/2)<1?n/2*e*e*e+i:n/2*((e-=2)*e*e+2)+i},easeInQuart:function(t,e,i,n,o){return n*(e/=o)*e*e*e+i},easeOutQuart:function(t,e,i,n,o){return-n*((e=e/o-1)*e*e*e-1)+i},easeInOutQuart:function(t,e,i,n,o){return(e/=o/2)<1?n/2*e*e*e*e+i:-n/2*((e-=2)*e*e*e-2)+i},easeInQuint:function(t,e,i,n,o){return n*(e/=o)*e*e*e*e+i},easeOutQuint:function(t,e,i,n,o){return n*((e=e/o-1)*e*e*e*e+1)+i},easeInOutQuint:function(t,e,i,n,o){return(e/=o/2)<1?n/2*e*e*e*e*e+i:n/2*((e-=2)*e*e*e*e+2)+i},easeInSine:function(t,e,i,n,o){return-n*Math.cos(e/o*(Math.PI/2))+n+i},easeOutSine:function(t,e,i,n,o){return n*Math.sin(e/o*(Math.PI/2))+i},easeInOutSine:function(t,e,i,n,o){return-n/2*(Math.cos(Math.PI*e/o)-1)+i},easeInExpo:function(t,e,i,n,o){return 0==e?i:n*Math.pow(2,10*(e/o-1))+i},easeOutExpo:function(t,e,i,n,o){return e==o?i+n:n*(1-Math.pow(2,-10*e/o))+i},easeInOutExpo:function(t,e,i,n,o){return 0==e?i:e==o?i+n:(e/=o/2)<1?n/2*Math.pow(2,10*(e-1))+i:n/2*(2-Math.pow(2,-10*--e))+i},easeInCirc:function(t,e,i,n,o){return-n*(Math.sqrt(1-(e/=o)*e)-1)+i},easeOutCirc:function(t,e,i,n,o){return n*Math.sqrt(1-(e=e/o-1)*e)+i},easeInOutCirc:function(t,e,i,n,o){return(e/=o/2)<1?-n/2*(Math.sqrt(1-e*e)-1)+i:n/2*(Math.sqrt(1-(e-=2)*e)+1)+i},easeInElastic:function(t,e,i,n,o){var s=1.70158,r=0,a=n;if(0==e)return i;if(1==(e/=o))return i+n;if(r||(r=.3*o),a<Math.abs(n)){a=n;s=r/4}else s=r/(2*Math.PI)*Math.asin(n/a);return-a*Math.pow(2,10*(e-=1))*Math.sin((e*o-s)*(2*Math.PI)/r)+i},easeOutElastic:function(t,e,i,n,o){var s=1.70158,r=0,a=n;if(0==e)return i;if(1==(e/=o))return i+n;if(r||(r=.3*o),a<Math.abs(n)){a=n;s=r/4}else s=r/(2*Math.PI)*Math.asin(n/a);return a*Math.pow(2,-10*e)*Math.sin((e*o-s)*(2*Math.PI)/r)+n+i},easeInOutElastic:function(t,e,i,n,o){var s=1.70158,r=0,a=n;if(0==e)return i;if(2==(e/=o/2))return i+n;if(r||(r=o*(.3*1.5)),a<Math.abs(n)){a=n;s=r/4}else s=r/(2*Math.PI)*Math.asin(n/a);return e<1?a*Math.pow(2,10*(e-=1))*Math.sin((e*o-s)*(2*Math.PI)/r)*-.5+i:a*Math.pow(2,-10*(e-=1))*Math.sin((e*o-s)*(2*Math.PI)/r)*.5+n+i},easeInBack:function(t,e,i,n,o,s){return null==s&&(s=1.70158),n*(e/=o)*e*((s+1)*e-s)+i},easeOutBack:function(t,e,i,n,o,s){return null==s&&(s=1.70158),n*((e=e/o-1)*e*((s+1)*e+s)+1)+i},easeInOutBack:function(t,e,i,n,o,s){return null==s&&(s=1.70158),(e/=o/2)<1?n/2*(e*e*((1+(s*=1.525))*e-s))+i:n/2*((e-=2)*e*((1+(s*=1.525))*e+s)+2)+i},easeInBounce:function(t,e,i,n,o){return n-jQuery.easing.easeOutBounce(t,o-e,0,n,o)+i},easeOutBounce:function(t,e,i,n,o){return(e/=o)<1/2.75?n*(7.5625*e*e)+i:e<2/2.75?n*(7.5625*(e-=1.5/2.75)*e+.75)+i:e<2.5/2.75?n*(7.5625*(e-=2.25/2.75)*e+.9375)+i:n*(7.5625*(e-=2.625/2.75)*e+.984375)+i},easeInOutBounce:function(t,e,i,n,o){return e<o/2?.5*jQuery.easing.easeInBounce(t,2*e,0,n,o)+i:.5*jQuery.easing.easeOutBounce(t,2*e-o,0,n,o)+.5*n+i}}),function(t,e){"use strict";function i(i,n,s,a,l){function c(){k=t.devicePixelRatio>1,s=d(s),n.delay>=0&&setTimeout((function(){p(!0)}),n.delay),(n.delay<0||n.combined)&&(a.e=function(t,e){var o,s=0;return function(r,a){function l(){s=+new Date,e.call(i,r)}var c=+new Date-s;o&&clearTimeout(o),c>t||!n.enableThrottle||a?l():o=setTimeout(l,t-c)}}(n.throttle,(function(t){"resize"===t.type&&(b=x=-1),p(t.all)})),a.a=function(t){t=d(t),s.push.apply(s,t)},a.g=function(){return s=o(s).filter((function(){return!o(this).data(n.loadedName)}))},a.f=function(t){for(var e=0;e<t.length;e++){var i=s.filter((function(){return this===t[e]}));i.length&&p(!1,i)}},p(),o(n.appendScroll).on("scroll."+l+" resize."+l,a.e))}function d(t){for(var s=n.defaultImage,r=n.placeholder,a=n.imageBase,l=n.srcsetAttribute,c=n.loaderAttribute,d=n._f||{},p=0,u=(t=o(t).filter((function(){var t=o(this),i=g(this);return!t.data(n.handledName)&&(t.attr(n.attribute)||t.attr(l)||t.attr(c)||d[i]!==e)})).data("plugin_"+n.name,i)).length;p<u;p++){var h=o(t[p]),f=g(t[p]),m=h.attr(n.imageBaseAttribute)||a;f===A&&m&&h.attr(l)&&h.attr(l,v(h.attr(l),m)),d[f]===e||h.attr(c)||h.attr(c,d[f]),f===A&&s&&!h.attr($)?h.attr($,s):f===A||!r||h.css(M)&&"none"!==h.css(M)||h.css(M,"url('"+r+"')")}return t}function p(t,e){if(s.length){for(var r=e||s,a=!1,l=n.imageBase||"",c=n.srcsetAttribute,d=n.handledName,p=0;p<r.length;p++)if(t||e||h(r[p])){var f=o(r[p]),m=g(r[p]),v=f.attr(n.attribute),_=f.attr(n.imageBaseAttribute)||l,y=f.attr(n.loaderAttribute);f.data(d)||n.visibleOnly&&!f.is(":visible")||!((v||f.attr(c))&&(m===A&&(_+v!==f.attr($)||f.attr(c)!==f.attr(P))||m!==A&&_+v!==f.css(M))||y)||(a=!0,f.data(d,!0),u(f,m,_,y))}a&&(s=o(s).filter((function(){return!o(this).data(d)})))}else n.autoDestroy&&i.destroy()}function u(t,e,i,s){++w;var r=function(){y("onError",t),_(),r=o.noop};y("beforeLoad",t);var a=n.attribute,l=n.srcsetAttribute,c=n.sizesAttribute,d=n.retinaAttribute,p=n.removeAttribute,u=n.loadedName,h=t.attr(d);if(s){var f=function(){p&&t.removeAttr(n.loaderAttribute),t.data(u,!0),y(T,t),setTimeout(_,1),f=o.noop};t.off(S).one(S,r).one(C,f),y(s,t,(function(e){e?(t.off(C),f()):(t.off(S),r())}))||t.trigger(S)}else{var m=o(new Image);m.one(S,r).one(C,(function(){t.hide(),e===A?t.attr(O,m.attr(O)).attr(P,m.attr(P)).attr($,m.attr($)):t.css(M,"url('"+m.attr($)+"')"),t[n.effect](n.effectTime),p&&(t.removeAttr(a+" "+l+" "+d+" "+n.imageBaseAttribute),c!==O&&t.removeAttr(c)),t.data(u,!0),y(T,t),m.remove(),_()}));var g=(k&&h?h:t.attr(a))||"";m.attr(O,t.attr(c)).attr(P,t.attr(l)).attr($,g?i+g:null),m.complete&&m.trigger(C)}}function h(t){var e=t.getBoundingClientRect(),i=n.scrollDirection,o=n.threshold,s=m()+o>e.top&&-o<e.bottom,r=f()+o>e.left&&-o<e.right;return"vertical"===i?s:("horizontal"===i||s)&&r}function f(){return b>=0?b:b=o(t).width()}function m(){return x>=0?x:x=o(t).height()}function g(t){return t.tagName.toLowerCase()}function v(t,e){if(e){var i=t.split(",");t="";for(var n=0,o=i.length;n<o;n++)t+=e+i[n].trim()+(n!==o-1?",":"")}return t}function _(){--w,s.length||w||y("onFinishedAll")}function y(t,e,o){return!!(t=n[t])&&(t.apply(i,[].slice.call(arguments,1
21)),!0)}var w=0,b=-1,x=-1,k=!1,T="afterLoad",C="load",S="error",A="img",$="src",P="srcset",O="sizes",M="background-image";"event"===n.bind||r?c():o(t).on(C+"."+l,c)}function n(n,r){var a=this,l=o.extend({},a.config,r),c={},d=l.name+"-"+ ++s;return a.config=function(t,i){return i===e?l[t]:(l[t]=i,a)},a.addItems=function(t){return c.a&&c.a("string"===o.type(t)?o(t):t),a},a.getItems=function(){return c.g?c.g():{}},a.update=function(t){return c.e&&c.e({},!t),a},a.force=function(t){return c.f&&c.f("string"===o.type(t)?o(t):t),a},a.loadAll=function(){return c.e&&c.e({all:!0},!0),a},a.destroy=function(){return o(l.appendScroll).off("."+d,c.e),o(t).off("."+d),c={},e},i(a,l,n,c,d),l.chainable?n:a}var o=t.jQuery||t.Zepto,s=0,r=!1;o.fn.Lazy=o.fn.lazy=function(t){return new n(this,t)},o.Lazy=o.lazy=function(t,i,s){if(o.isFunction(i)&&(s=i,i=[]),o.isFunction(s)){t=o.isArray(t)?t:[t],i=o.isArray(i)?i:[i];for(var r=n.prototype.config,a=r._f||(r._f={}),l=0,c=t.length;l<c;l++)(r[t[l]]===e||o.isFunction(r[t[l]]))&&(r[t[l]]=s);for(var d=0,p=i.length;d<p;d++)a[i[d]]=t[0]}},n.prototype.config={name:"lazy",chainable:!0,autoDestroy:!0,bind:"load",threshold:500,visibleOnly:!1,appendScroll:t,scrollDirection:"both",imageBase:null,defaultImage:"data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==",placeholder:null,delay:-1,combined:!1,attribute:"data-src",srcsetAttribute:"data-srcset",sizesAttribute:"data-sizes",retinaAttribute:"data-retina",loaderAttribute:"data-loader",imageBaseAttribute:"data-imagebase",removeAttribute:!0,handledName:"handled",loadedName:"loaded",effect:"show",effectTime:0,enableThrottle:!0,throttle:250,beforeLoad:e,afterLoad:e,onError:e,onFinishedAll:e},o(t).on("load",(function(){r=!0}))}(window),
22/*!	
23 * Maximage Version: 2.0.8 (16-Jan-2012) - http://www.aaronvanderzwan.com/maximage/2.0/
24 */
25function(t){"use strict";t.fn.maximage=function(e,i){var n;function o(t){window.console&&window.console.log&&window.console.log(t)}"object"!=typeof e&&void 0!==e||(n=t.extend(t.fn.maximage.defaults,e||{})),"string"==typeof e&&(n=t.fn.maximage.defaults),t.Body=t("body"),t.Window=t(window),t.Scroll=t("html, body"),t.Events={RESIZE:"resize"},this.each((function(){var i=t(this),s=0,r=[],a={setup:function(){if(t.Slides.length>0){for(var e in t.Slides){var n=t.Slides[e];i.append('<div class="mc-image '+n.theclass+'" title="'+n.alt+'" style="background-image:url(\''+n.url+"');"+n.style+'" data-href="'+n.datahref+'">'+n.content+"</div>")}a.preload(0),a.resize()}},preload:function(e){var o=t("<img/>");o.load((function(){0==s&&(c.setup(),n.onFirstImageLoaded()),s==t.Slides.length-1?n.onImagesLoaded(i):(s++,a.preload(s))})),o[0].src=t.Slides[e].url,r.push(o[0])},resize:function(){t.Window.bind(t.Events.RESIZE,(function(){t.Scroll.addClass("mc-hide-scrolls"),t.Window.data("h",p.sizes().h).data("w",p.sizes().w),i.height(t.Window.data("h")).width(t.Window.data("w")).children().height(t.Window.data("h")).width(t.Window.data("w")),i.children().each((function(){this.cycleH=t.Window.data("h"),this.cycleW=t.Window.data("w")})),t(t.Scroll).removeClass("mc-hide-scrolls")}))}},l={setup:function(){var e,o;if(t.BrowserTests.msie&&!n.overrideMSIEStop&&document.execCommand("Stop",!1),i.html(""),t.Body.addClass("mc-old-browser"),t.Slides.length>0){for(var s in t.Scroll.addClass("mc-hide-scrolls"),t.Window.data("h",p.sizes().h).data("w",p.sizes().w),t("body").append(t("<div></div>").attr("class","mc-loader").css({position:"absolute",left:"-9999px"})),t.Slides)e=0==t.Slides[s].content.length?'<img src="'+t.Slides[s].url+'" />':t.Slides[s].content,o=t("<div>"+e+"</div>").attr("class","mc-image mc-image-n"+s+" "+t.Slides[s].theclass),i.append(o),0==t(".mc-image-n"+s).children("img").length||t("div.mc-loader").append(t(".mc-image-n"+s).children("img").first().clone().addClass("not-loaded"));l.preload(),l.windowResize()}},preload:function(){var e=setInterval((function(){t(".mc-loader").children("img").each((function(e){var i=t(this);i.hasClass("not-loaded")&&(i.height()>0&&(t(this).removeClass("not-loaded"),t("div.mc-image-n"+e).children("img").first().data("h",i.height()).data("w",i.width()).data("ar",i.width()/i.height()),l.onceLoaded(e)))})),0==t(".not-loaded").length&&(t(".mc-loader").remove(),clearInterval(e))}),1e3)},onceLoaded:function(e){l.maximage(e),0==e?(i.css({visibility:"visible"}),n.onFirstImageLoaded()):e==t.Slides.length-1&&(c.setup(),t(t.Scroll).removeClass("mc-hide-scrolls"),n.onImagesLoaded(i),n.debug&&(o(" - Final Maximage - "),o(i))
vendor: 4,486 bytes, line 25
25)},maximage:function(e){t("div.mc-image-n"+e).height(t.Window.data("h")).width(t.Window.data("w")).children("img").first().each((function(){d.maxcover(t(this))}))},windowResize:function(){t.Window.bind(t.Events.RESIZE,(function(){clearTimeout(this.id),this.id=setTimeout(l.doneResizing,200)}))},doneResizing:function(){t(t.Scroll).addClass("mc-hide-scrolls"),t.Window.data("h",p.sizes().h).data("w",p.sizes().w),i.height(t.Window.data("h")).width(t.Window.data("w")),i.find(".mc-image").each((function(t){l.maximage(t)}));var e=i.data("cycle.opts");null!=e&&(e.height=t.Window.data("h"),e.width=t.Window.data("w"),jQuery.each(e.elements,(function(e,i){i.cycleW=t.Window.data("w"),i.cycleH=t.Window.data("h")}))),t(t.Scroll).removeClass("mc-hide-scrolls")}},c={setup:function(){i.addClass("mc-cycle"),t.Window.data("h",p.sizes().h).data("w",p.sizes().w),jQuery.easing.easeForCSSTransition=function(t,e,i,n,o,s){return i+n};var e=t.extend({fit:1,containerResize:0,height:t.Window.data("h"),width:t.Window.data("w"),slideResize:!1,easing:t.BrowserTests.cssTransitions&&n.cssTransitions?"easeForCSSTransition":"swing"},n.cycleOptions);i.cycle(e)}},d={center:function(e){n.verticalCenter&&e.css({marginTop:(e.height()-t.Window.data("h"))/2*-1}),n.horizontalCenter&&e.css({marginLeft:(e.width()-t.Window.data("w"))/2*-1})},fill:function(e){var i=e.is("object")?e.parent().first():e;"function"==typeof n.backgroundSize?n.backgroundSize(e):"cover"==n.backgroundSize?t.Window.data("w")/t.Window.data("h")<i.data("ar")?e.height(t.Window.data("h")).width((t.Window.data("h")*i.data("ar")).toFixed(0)):e.height((t.Window.data("w")/i.data("ar")).toFixed(0)).width(t.Window.data("w")):"contain"==n.backgroundSize?t.Window.data("w")/t.Window.data("h")<i.data("ar")?e.height((t.Window.data("w")/i.data("ar")).toFixed(0)).width(t.Window.data("w")):e.height(t.Window.data("h")).width((t.Window.data("h")*i.data("ar")).toFixed(0)):o("The backgroundSize option was not recognized for older browsers.")},maxcover:function(t){d.fill(t),d.center(t)},maxcontain:function(t){d.fill(t),d.center(t)}},p={browser_tests:function(){var e=t("<div />")[0],i=["Moz","Webkit","Khtml","O","ms"],s="transition",r={cssTransitions:!1,cssBackgroundSize:"backgroundSize"in e.style&&n.cssBackgroundSize,html5Video:!1,msie:!1};if(n.cssTransitions){"string"==typeof e.style[s]&&(r.cssTransitions=!0),s=s.charAt(0).toUpperCase()+s.substr(1);for(var a=0;a<i.length;a++)i[a]+s in e.style&&(r.cssTransitions=!0)}return document.createElement("video").canPlayType&&(r.html5Video=!0),r.msie=void 0!==p.msie(),n.debug&&(o(" - Browser Test - "),o(r)),r},construct_slide_object:function(){var e=new Object,s=new Array;return i.children().each((function(i){var n=t(this).is("img")?t(this).clone():t(this).find("img").first().clone();(e={}).url=n.attr("src"),e.title=null!=n.attr("title")?n.attr("title"):"",e.alt=null!=n.attr("alt")?n.attr("alt"):"",e.theclass=null!=n.attr("class")?n.attr("class"):"",e.styles=null!=n.attr("style")?n.attr("style"):"",e.orig=n.clone(),e.datahref=null!=n.attr("data-href")?n.attr("data-href"):"",e.content="",t(this).find("img").length>0&&(t.BrowserTests.cssBackgroundSize&&t(this).find("img").first().remove(),e.content=t(this).html()),n[0].src="",t.BrowserTests.cssBackgroundSize&&t(this).remove(),s.push(e)})),n.debug&&(o(" - Slide Object - "),o(s)),s},msie:function(){for(var t=3,e=document.createElement("div"),i=e.getElementsByTagName("i");e.innerHTML="\x3c!--[if gt IE "+ ++t+"]><i></i><![endif]--\x3e",i[0];);return t>4?t:undefined},sizes:function(){var e={h:0,w:0};if("window"==n.fillElement)e.h=t.Window.height(),e.w=t.Window.width();else{var o=i.parents(n.fillElement).first();0==o.height()||1==o.data("windowHeight")?(o.data("windowHeight",!0),e.h=t.Window.height()):e.h=o.height(),0==o.width()||1==o.data("windowWidth")?(o.data("windowWidth",!0),e.w=t.Window.width()):e.w=o.width()}return e}};if(t.BrowserTests=p.browser_tests(),"string"==typeof e){if(t.BrowserTests.html5Video||!i.is("video")){var u,h=i.is("object")?i.parent().first():i;t.Body.hasClass("mc-old-browser")||t.Body.addClass("mc-old-browser"),t.Window.data("h",p.sizes().h).data("w",p.sizes().w),h.data("h",i.height()).data("w",i.width()).data("ar",i.width()/i.height()),t.Window.bind(t.Events.RESIZE,(function(){t.Window.data("h",p.sizes().h).data("w",p.sizes().w),u=i.data("resizer"),clearTimeout(u),u=setTimeout(d[e](i),200),i.data("resizer",u)})),d[e](i)}}else t.Slides=p.construct_slide_object(),t.BrowserTests.cssBackgroun
25dSize?(n.debug&&o(" - Using Modern - "),a.setup()):(n.debug&&o(" - Using Old - "),l.setup())}))},t.fn.maximage.defaults={debug:!1,cssBackgroundSize:!0,cssTransitions:!0,verticalCenter:!0,horizontalCenter:!0,scaleInterval:20,backgroundSize:"cover",fillElement:".video_cont",overrideMSIEStop:!1,onFirstImageLoaded:function(){},onImagesLoaded:function(){}}}(jQuery),MarkerManager.prototype.initialize=function(t,e){var i=this;e=e||{},i.tileSize_=MarkerManager.DEFAULT_TILE_SIZE_;var n,o=t.mapTypes,s=1;for(var r in o)if(o.hasOwnProperty(r)&&o.get(r)&&"number"===o.get(r).maxZoom){var a=t.mapTypes.get(r).maxZoom;a>s&&(s=a)}i.maxZoom_=e.maxZoom||19,i.trackMarkers_=e.trackMarkers,i.show_=e.show||!0,n="number"==typeof e.borderPadding?e.borderPadding:MarkerManager.DEFAULT_BORDER_PADDING_,i.swPadding_=new google.maps.Size(-n,n),i.nePadding_=new google.maps.Size(n,-n),i.borderPadding_=n,i.gridWidth_={},i.grid_={},i.grid_[i.maxZoom_]={},i.numMarkers_={},i.numMarkers_[i.maxZoom_]=0,google.maps.event.addListener(t,"dragend",(function(){i.onMapMoveEnd_()})),google.maps.event.addListener(t,"idle",(function(){i.onMapMoveEnd_()})),google.maps.event.addListener(t,"zoom_changed",(function(){i.onMapMoveEnd_()})),i.removeOverlay_=function(t){t.setMap(null),i.shownMarkers_--},i.addOverlay_=function(t){i.show_&&(t.setMap(i.map_),i.shownMarkers_++)},i.resetManager_(),i.shownMarkers_=0,i.shownBounds_=i.getMapGridBounds_(),google.maps.event.trigger(i,"loaded")},MarkerManager.DEFAULT_TILE_SIZE_=1024,MarkerManager.DEFAULT_BORDER_PADDING_=100,MarkerManager.MERCATOR_ZOOM_LEVEL_ZERO_RANGE=256,MarkerManager.prototype.resetManager_=function(){for(var t=MarkerManager.MERCATOR_ZOOM_LEVEL_ZERO_RANGE,e=0;e<=this.maxZoom_;++e)this.grid_[e]={},this.numMarkers_[e]=0,this.gridWidth_[e]=Math.ceil(t/this.tileSize_),t<<=1},MarkerManager.prototype.clearMarkers=function(){this.processAll_(this.shownBounds_,this.removeOverlay_),this.resetManager_()},MarkerManager.prototype.getTilePoint_=function(t,e,i){var n=this.projectionHelper_.LatLngToPixel(t,e);return new google.maps.Point(Math.floor((n.x+i.width)/this.tileSize_),Math.floor((n.y+i.height)/this.tileSize_))},MarkerManager.prototype.addMarkerBatch_=function(t,e,i){var n=this,o=t.getPosition();t.MarkerManager_minZoom=e,this.trackMarkers_&&google.maps.event.addListener(t,"changed",(function(t,e,i){n.onMarkerMoved_(t,e,i)}));for(var s=this.getTilePoint_(o,i,new google.maps.Size(0,0,0,0)),r=i;r>=e;r--){this.getGridCellCreate_(s.x,s.y,r).push(t),s.x=s.x>>1,s.y=s.y>>1}},MarkerManager.prototype.isGridPointVisible_=function(t){var e=this.shownBounds_.minY<=t.y&&t.y<=this.shownBounds_.maxY,i=this.shownBounds_.minX,n=i<=t.x&&t.x<=this.shownBounds_.maxX;if(!n&&i<0){var o=this.gridWidth_[this.shownBounds_.z];n=i+o<=t.x&&t.x<=o-1}return e&&n},MarkerManager.prototype.onMarkerMoved_=function(t,e,i){for(var n=this.maxZoom_,o=!1,s=this.getTilePoint_(e,n,new google.maps.Size(0,0,0,0)),r=this.getTilePoint_(i,n,new google.maps.Size(0,0,0,0));n>=0&&(s.x!==r.x||s.y!==r.y);){var a=this.getGridCellNoCreate_(s.x,s.y,n);a&&this.removeFromArray_(a,t)&&this.getGridCellCreate_(r.x,r.y,n).push(t),n===this.mapZoom_&&(this.isGridPointVisible_(s)?this.isGridPointVisible_(r)||(this.removeOverlay_(t),o=!0):this.isGridPointVisible_(r)&&(this.addOverlay_(t),o=!0)),s.x=s.x>>1,s.y=s.y>>1,r.x=r.x>>1,r.y=r.y>>1,--n}o&&this.notifyListeners_()},MarkerManager.prototype.removeMarker=function(t){for(var e=this.maxZoom_,i=!1,n=t.getPosition(),o=this.getTilePoint_(n,e,
25new google.maps.Size(0,0,0,0));e>=0;){var s=this.getGridCellNoCreate_(o.x,o.y,e);s&&this.removeFromArray_(s,t),e===this.mapZoom_&&this.isGridPointVisible_(o)&&(this.removeOverlay_(t),i=!0),o.x=o.x>>1,o.y=o.y>>1,--e}i&&this.notifyListeners_(),this.numMarkers_[t.MarkerManager_minZoom]--},MarkerManager.prototype.addMarkers=function(t,e,i){for(var n=this.getOptMaxZoom_(i),o=t.length-1;o>=0;o--)this.addMarkerBatch_(t[o],e,n);this.numMarkers_[e]+=t.length},MarkerManager.prototype.getOptMaxZoom_=function(t){return t||this.maxZoom_},MarkerManager.prototype.getMarkerCount=function(t){for(var e=0,i=0;i<=t;i++)e+=this.numMarkers_[i];return e},MarkerManager.prototype.getMarker=function(t,e,i){var n=new google.maps.LatLng(t,e),o=this.getTilePoint_(n,i,new google.maps.Size(0,0,0,0)),s=new google.maps.Marker({position:n}),r=this.getGridCellNoCreate_(o.x,o.y,i);if(void 0!==r)for(var a=0;a<r.length;a++)t===r[a].getPosition().lat()&&e===r[a].getPosition().lng()&&(s=r[a]);return s},MarkerManager.prototype.addMarker=function(t,e,i){var n=this.getOptMaxZoom_(i);this.addMarkerBatch_(t,e,n);var o=this.getTilePoint_(t.getPosition(),this.mapZoom_,new google.maps.Size(0,0,0,0));this.isGridPointVisible_(o)&&e<=this.shownBounds_.z&&this.shownBounds_.z<=n&&(this.addOverlay_(t),this.notifyListeners_()),this.numMarkers_[e]++},GridBounds.prototype.equals=function(t){return this.maxX===t.maxX&&this.maxY===t.maxY&&this.minX===t.minX&&this.minY===t.minY},GridBounds.prototype.containsPoint=function(t){var e=this;return e.minX<=t.x&&e.maxX>=t.x&&e.minY<=t.y&&e.maxY>=t.y},MarkerManager.prototype.getGridCellCreate_=function(t,e,i){var n=this.grid_[i];t<0&&(t+=this.gridWidth_[i]);var o=n[t];if(!o)return(o=n[t]=[])[e]=[];var s=o[e];return s||(o[e]=[])},MarkerManager.prototype.getGridCellNoCreate_=function(t,e,i){var n=this.grid_[i];t<0&&(t+=this.gridWidth_[i]);var o=n[t];return o?o[e]:void 0},MarkerManager.prototype.getGridBounds_=function(t,e,i,n){e=Math.min(e,this.maxZoom_);
25var o=t.getSouthWest(),s=t.getNorthEast(),r=this.getTilePoint_(o,e,i),a=this.getTilePoint_(s,e,n),l=this.gridWidth_[e];(s.lng()<o.lng()||a.x<r.x)&&(r.x-=l),a.x-r.x+1>=l&&(r.x=0,a.x=l-1);var c=new GridBounds([r,a]);return c.z=e,c},MarkerManager.prototype.getMapGridBounds_=function(){return this.getGridBounds_(this.map_.getBounds(),this.mapZoom_,this.swPadding_,this.nePadding_)},MarkerManager.prototype.onMapMoveEnd_=function(){this.objectSetTimeout_(this,this.updateMarkers_,0)},MarkerManager.prototype.objectSetTimeout_=function(t,e,i){return window.setTimeout((function(){e.call(t)}),i)},MarkerManager.prototype.visible=function(){return!!this.show_},MarkerManager.prototype.isHidden=function(){return!this.show_},MarkerManager.prototype.show=function(){this.show_=!0,this.refresh()},MarkerManager.prototype.hide=function(){this.show_=!1,this.refresh()},MarkerManager.prototype.toggle=function(){this.show_=!this.show_,this.refresh()},MarkerManager.prototype.refresh=function(){this.shownMarkers_>0&&this.processAll_(this.shownBounds_,this.removeOverlay_),this.show_&&this.processAll_(this.shownBounds_,this.addOverlay_),this.notifyListeners_()},MarkerManager.prototype.updateMarkers_=function(){this.mapZoom_=this.map_.getZoom();var t=this.getMapGridBounds_();t.equals(this.shownBounds_)&&t.z===this.shownBounds_.z||(t.z!==this.shownBounds_.z?(this.processAll_(this.shownBounds_,this.removeOverlay_),this.show_&&this.processAll_(t,this.addOverlay_)):(this.rectangleDiff_(this.shownBounds_,t,this.removeCellMarkers_),this.show_&&this.rectangleDiff_(t,this.shownBounds_,this.addCellMarkers_)),this.shownBounds_=t,this.notifyListeners_())},MarkerManager.prototype.notifyListeners_=function(){google.maps.event.trigger(this,"changed",this.shownBounds_,this.shownMarkers_)},MarkerManager.prototype.processAll_=function(t,e){for(var i=t.minX;i<=t.maxX;i++)for(var n=t.minY;n<=t.maxY;n++)this.processCellMarkers_(i,n,t.z,e)},MarkerManager.prototype.processCellMarkers_=function(t,e,i,n){var o=this.getGridCellNoCreate_(t,e,i);if(o)for(var s=o.length-1;s>=0;s--)n(o[s])},MarkerManager.prototype.removeCellMarkers_=function(t,e,i){this.processCellMarkers_(t,e,i,this.removeOverlay_)},MarkerManager.prototype.addCellMarkers_=function(t,e,i){this.processCellMarkers_(t,e,i,this.addOverlay_)},MarkerManager.prototype.rectangleDiff_=function(t,e,i){var n=this;n.rectangleDiffCoords_(t,e,(function(e,o){i.apply(n,[e,o,t.z])}))},MarkerManager.prototype.rectangleDiffCoords_=function(t,e,i){var n,o,s=t.minX,r=t.minY,a=t.maxX,l=t.maxY,c=e.minX,d=e.minY,p=e.maxX,u=e.maxY;for(n=s;n<=a;n++){for(o=r;o<=l&&o<d;o++)i(n,o);for(o=Math.max(u+1,r);o<=l;o++)i(n,o)}for(o=Math.max(r,d);o<=Math.min(l,u);o++){for(n=Math.min(a+1,c)-1;n>=s;n--)i(n,o);for(n=Math.max(s,p+1);n<=a;n++)i(n,o)}},MarkerManager.prototype.removeFromArray_=function(t,e,i){for(var n=0,o=0;o<t.length;++o)(t[o]===e||i&&t[o]===e)&&(t.splice(o--,1),n++);return n},ProjectionHelperOverlay.prototype=new google.maps.OverlayView,ProjectionHelperOverlay.prototype.LngToX_=function(t){return 1+t/180},ProjectionHelperOverlay.prototype.LatToY_=function(t){var e=Math.sin(t*Math.PI/180);return 1-.5/Math.PI*Math.log((1+e)/(1-e))},ProjectionHelperOverlay.prototype.LatLngToPixel=function(t,e){this._map,this.getProjection().fromLatLngToDivPixel(t);return{x:~~(.5+this.LngToX_(t.lng())*(2<<e+6)),y:~~(.5+this.LatToY_(t.lat())*(2<<e+6))}},ProjectionHelperOverlay.prototype.draw=function(){this.ready||(this.ready=!0,google.maps.event.trigger(this,"ready"))},k=l.prototype,k.R="http://google-maps-utility-library-v3.googlecode.com/svn/trunk/markerclusterer/images/m",k.Q="png",k.extend=function(t,e){return function(t){for(var e in t.prototype)this.prototype[e]=t.prototype[e];return this}.apply(t,[e])},k.onAdd=function(){this.A||(this.A=!0,p(this))},k.draw=function(){},k.T=function(){for(var t,e=this.o(),i=new google.maps.LatLngBounds,n=0;t=e[n];n++)i.extend(t.getPosition());this.b.fitBounds(i)},k.w=f("j"),k.o=f("a"),k.W=function(){return this.a.length},k.ca=d("K"),k.J=f("K"),k.G=function(t,e){for(var i=0,n=t.length,o=n;0!==o;)o=parseInt(o/10,10),i++;return{text:n,index:i=Math.min(i,e)}},k.aa=d("G"),k.H=f("G"),k.C=function(t,e){if(t.length)for(var i,n=0;i=t[n];n++)s(this,i);else if(Object.keys(t).length)for(i in t)s(this,t[i]);e||this.i()},k.q=function(t,e){s(this,t),e||this.i()},k.Z=function(e,i){var n=t(this,e);return!(i||!n)&&(this.m(),this.i(),!0)},k.$=function(e,i){for(var n,o=!1,s=0;n=e[s];s++)n=t(this,n),o=o||n;if(!i&&o)return this.m(),this.i(),!0},k.V=function(){return this.f.length},k.getMap=f("b"),k.setMap=d("b"),k.I=f("g"),k.ba=d("g"),k.v=function(t){var e=this.getProjection(),i=new google.maps.LatLng(t.getNorthEast().lat(),t.getNorthEast().lng()),n=new google.maps.LatLng(t.getSouthWest
25().lat(),t.getSouthWest().lng());return(i=e.fromLatLngToDivPixel(i)).x+=this.g,i.y-=this.g,(n=e.fromLatLngToDivPixel(n)).x-=this.g,n.y+=this.g,i=e.fromDivPixelToLatLng(i),e=e.fromDivPixelToLatLng(n),t.extend(i),t.extend(e),t},k.S=function(){this.m(!0),this.a=[]},k.m=function(t){for(var e,i=0;e=this.f[i];i++)e.remove();for(i=0;e=this.a[i];i++)e.s=!1,t&&e.setMap(null);this.f=[]},k.M=function(){var t=this.f.slice();this.f.length=0,this.m(),this.i(),window.setTimeout((function(){for(var e,i=0;e=t[i];i++)e.remove()}),0)},k.i=function(){p(this)},k=v.prototype,k.q=function(t){var e;t:if(this.a.indexOf)e=-1!=this.a.indexOf(t);else{e=0;for(var i;i=this.a[e];e++)if(i==t){e=!0;break t}e=!1}if(e)return!1;if(this.d?this.r&&(i=this.a.length+1,e=(this.d.lat()*(i-1)+t.getPosition().lat())/i,i=(this.d.lng()*(i-1)+t.getPosition().lng())/i,this.d=new google.maps.LatLng(e,i),A(this)):(this.d=t.getPosition(),A(this)),t.s=!0,this.a.push(t),(e=this.a.length)<this.l&&t.getMap()!=this.b&&t.setMap(this.b),e==this.l)for(i=0;i<e;i++)this.a[i].setMap(null);if(e>=this.l&&t.setMap(null),t=this.b.getZoom(),(e=this.k.J())&&t>e)for(t=0;e=this.a[t];t++)e.setMap(this.b);else this.a.length<this.l?B(this.n):(e=this.k.H()(this.a,this.k.w().length),this.n.setCenter(this.d),(t=this.n).B=e,t.c&&(t.c.innerHTML=e.text),e=Math.max(0,t.B.index-1),e=Math.min(t.j.length-1,e),e=t.j[e],t.ea=e.url,t.h=e.height,t.p=e.width,t.N=e.textColor,t.e=e.anchor,t.O=e.textSize,t.D=e.backgroundPosition,this.n.show());return!0},k.getBounds=function(){for(var t,e=new google.maps.LatLngBounds(this.d,this.d),i=this.o(),n=0;t=i[n];n++)e.extend(t.getPosition());return e},k.remove=function(){this.n.remove(),this.a.length=0,delete this.a},k.U=function(){return this.a.length},k.o=f("a"),k.getCenter=f("d"),k.getMap=f("b"),k=w.prototype,k.onAdd=function(){if(this.c=document.createElement("DIV"),this.t){var t=C(this,this.d);this.c.style.cssText=D(this,t),this.c.innerHTML=this.B.text}this.getPanes().overlayMouseTarget.appendChild(this.c);var e=this;google.maps.event.addDomListener(this.c,"click",(function(){var t=e.u.k;google.maps.event.trigger(t,"clusterclick",e.u),t.P&&e.b.fitBounds(e.u.getBounds())}))},k.draw=function(){if(this.t){var t=C(this,this.d);this.c.style.top=t.y+"px",this.c.style.left=t.x+"px"}},k.show=function(){if(this.c){var t=C(this,this.d);this.c.style.cssText=D(this,t),this.c.style.display=""}this.t=!0},k.remove=function(){this.setMap(null)},k.onRemove=function(){this.c&&this.c.parentNode&&(B(this),this.c.parentNode.removeChild(this.c),this.c=null)},k.setCenter=d("d"),window.MarkerClusterer=l,l.prototype.addMarker=l.prototype.q,l.prototype.addMarkers=l.prototype.C,l.prototype.clearMarkers=l.prototype.S,l.prototype.fitMapToMarkers=l.prototype.T,l.prototype.getCalculator=l.prototype.H,l.prototype.getGridSize=l.prototype.I,l.prototype.getExtendedBounds=l.prototype.v,l.prototype.getMap=l.prototype.getMap,l.prototype.getMarkers=l.prototype.o,l.prototype.getMaxZoom=l.prototype.J,l.prototype.getStyles=l.prototype.w,l.prototype.getTotalClusters=l.prototype.V,l.prototype.getTotalMarkers=l.prototype.W,l.prototype.redraw=l.prototype.i,l.prototype.removeMarker=l.prototype.Z,l.prototype.removeMarkers=l.prototype.$,l.prototype.resetViewport=l.prototype.m,l.prototype.repaint=l.prototype.M,l.prototype.setCalculator=l.prototype.aa,l.prototype.setGridSize=l.prototype.ba,l.prototype.setMaxZoom=l.prototype.ca,l.prototype.onAdd=l.prototype.onAdd,l.prototype.draw=l.prototype.draw,v.prototype.getCenter=v.prototype.getCenter,v.prototype.getSize=v.prototype.U,v.prototype.getMarkers=v.prototype.o,w.prototype.onAdd=w.prototype.onAdd,w.prototype.draw=w.prototype.draw,w.prototype.onRemove=w.prototype.onRemove,Object.keys=Object.keys||function(t){var e,i=[];for(e in t)t.hasOwnProperty(e)&&i.push(e);return i},function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):"undefined"!=typeof exports?module.exports=t(require("jquery")):t(jQuery)}((function(t){"use strict";var e=window.ntgModal||{};(e=function(e,i){var n,o=this;o.defaults={elements:{container:e,trigger:'[ntgmodal-open="'+t(e).attr("id")+'"]',close:"[ntgmodal-close]"},transitions:{in:"fade",out:"fade",speed:.5,easingIn:"Power1.easeOut",easingOut:"Power1.easeOut"},appendElement:".mainDiv",size:"medium",overlay:!0,delay:0,onOpen:function(){return!1},onClose:function(){return!1}},o.initials={size:"",transitions:{in:"",out:""}},n=t(e).data("ntgmodal",o)||{},t.extend(o,o.initials),o.options=t.extend({}
25,o.defaults,n,i),o.init(),o.init=t.proxy(o.init,o),o.openModal=t.proxy(o.openModal,o),o.closeModal=t.proxy(o.closeModal,o)}).prototype.init=function(){var e=this;t(e.options.elements.container).length>0&&t(e.options.elements.trigger).length>0&&(e.initials={size:t(e.options.elements.container).attr("ntgmodal-size")||e.options.size,transitions:{in:t(e.options.elements.container).attr("ntgmodal-animation-in")||e.options.transitions.in,out:t(e.options.elements.container).attr("ntgmodal-animation-out")||e.options.transitions.out}},e.options.appendElement&&t(e.options.appendElement).length>0&&t(e.options.appendElement).append(e.options.elements.container),void 0===t(e.options.elements.container).attr("ntgmodal")&&t(e.options.elements.container).attr("ntgmodal",""),void 0===t(e.options.elements.container).attr("ntgmodal-size")&&t(e.options.elements.container).attr("ntgmodal-size",e.initials.size),void 0===t(e.options.elements.container).attr("ntgmodal-animation-in")&&t(e.options.elements.container).attr("ntgmodal-animation-in",e.initials.transitions.in),void 0===t(e.options.elements.container).attr("ntgmodal-animation-out")&&t(e.options.elements.container).attr("ntgmodal-animation-out",e.initials.transitions.out),t('[ntgmodal-close="'+t(e.options.elements.container).attr("id")+'"]').length>0?e.options.elements.close='[ntgmodal-close="'+t(e.options.elements.container).attr("id")+'"]':e.options.elements.close=t(e.options.elements.container).find("[ntgmodal-close]"),t(e.options.elements.trigger).attr({"aria-controls":t(e.options.elements.container).attr("id"),"aria-haspopup":!0,tabindex:0}),t(e.options.elements.container).attr({role:"dialog","aria-hidden":!0}),t(e.options.elements.trigger).off("click.openModal"),t(e.options.elements.trigger).on("click.openModal",(function(i){e.openModal(),t(this).attr("ntgmodal-opened","true")})),t(e.options.elements.close).off("click.closeModal"),t(e.options.elements.close).on("click.closeModal",(function(i){e.closeModal(),t("[ntgmodal-opened]").removeAttr("ntgmodal-opened")})),t("body").on("click",(function(i){0==t(i.target).closest(e.options.elements.container).length&&0==t(i.target).closest(e.options.elements.trigger).length&&t(e.options.elements.container).attr("ntgmodal-opened")&&e.closeModal()})),e.setInitialStyle())},e.prototype.openModal=function(){var e=this;e.closeAllModals(),setTimeout((function(){t("body").addClass("overHidden-modals"),e.options.overlay&&t(".mainDiv").addClass("has-overlay header-hidden"),e.animationOpen()}),600)},e.prototype.closeModal=function(){this.animationClose()},e.prototype.closeAllModals=function(){t("[ntgmodal][ntgmodal-opened]").length>0&&t("[ntgmodal][ntgmodal-opened]").each((function(){t(this).find("[ntgmodal-close]").trigger("click")}))},e.prototype.animationOpen=function(){var e=this,i=t(e.options.elements.container);"fade"==e.initials.transitions.in&&TweenMax.to(i,e.options.transitions.speed,{autoAlpha:1,ease:e.options.transitions.easingIn,onComplete:function(){e.options.onOpen()}}),"slideDown"!=e.initials.transitions.in&&"slideUp"!=e.initials.transitions.in||TweenMax.to(i,e.options.transitions.speed,{transform:"translateY(0)",ease:e.options.transitions.easingIn,onComplete:function(){e.options.onOpen()}}),"slideLeft"!=e.initials.transitions.in&&"slideRight"!=e.initials.transitions.in||TweenMax.to(i,e.options.transitions.speed,{transform:"translateX(0)",ease:e.options.transitions.easingIn,onComplete:function(){e.options.onOpen()}}),"scale"==e.initials.transitions.in&&TweenMax.to(i,e.options.transitions.speed,{scale:"scale(1)",ease:e.options.transitions.easingIn,onComplete:function(){e.options.onOpen()}});var n=parseInt(e.options.transitions.speed-100+e.options.delay);setTimeout((function(){e.afterOpen()}),n)},e.prototype.animationClose=function(){var e=this,i=t(e.options.elements.container);"fade"==e.initials.transitions.out&&TweenMax.to(i,e.options.transitions.speed,{autoAlpha:0,ease:e.options.transitions.easingOut,onComplete:function(){e.options.onClose()}}),"slideDown"==e.initials.transitions.out&&TweenMax.to(i,e.options.transitions.speed,{transform:"translateY(-100vh)",ease:e.options.transitions.easingOut,onComplete:function(){e.options.onClose()}}),"slideUp"==e.initials.transitions.out&&TweenMax.to(i,e.options.transitions.speed,{transform:"translateY(100vh)",ease:e.options.transitions.easingOut,onComplete:function(){e.options.onClose()}}),"slideLeft"==e.initials.transitions.out&&TweenMax.to(i,e.options.transitions.speed,{transform:"translateX(-100vw)",ease:e.options.transitions.easingOut,onComplete:function(){e.options.onClose()}}),"slideRight"==e.initials.transitions.out&&TweenMax.to(i,e.options.transitions.speed,{transform:"translateX(100vw)",ease:e.options.transitions.easingOut,onComplete:function(){e.options.onClose()}}),"scale"==e.initials.transitions.out&&TweenMax.to(i,e.options.transitions.speed,{scale:"scale(0.4)",ease:e.options.transitions.easingOut,onComplete:function(){e.options.onClose()}});var n=parseInt(e.options.transitions.speed+100+e.options.delay);setTimeout((function(){e.afterClose()}),n)},e.prototype.setInitialStyle=function(){var e=this,i=t(e.options.elements.container);t(i).removeAttr("style"),"fade"==e.initials.transitions.in&&(t(i).css("opacity",0),t(i).css("visibility","hidden")),"slideDown"==e.initials.transitions.in&&t(i).css({"-webkit-transform":"translateY(-100vh)",transform:"translateY(-100vh)"}),"slideUp"==e.initials.transitions.in&&t(i).css({"-webkit-transform":"translateY(100vh)",transform:"translateY(100vh)"}),"slideLeft"==e.initials.transitions.in&&t(i).css({"-webkit-transform":"translateX(-100vw)",transform:"translateX(-100vw)"}),"slideRight"==e.initials.transitions.in&&t(i).css({"-webkit-transform":"translateX(100vw)",transform:"translateX(100vw)"}),"scale"==e.initials.transitions.in&&t(i).css({"-webkit-transform":"scale(0.4)",transform:"scale(0.4)"})},e.prototype.afterOpen=function(){t("nav#menu").length>0&&t("nav#menu").hasClass("menu-opened")&&triggerMobileMenu(),t(this.options.elements.container).attr({"ntgmodal-opened":"","aria-hidden":!1,tabindex:-1})},e.prototype.afterClose=function(){var e=this;t(e.options.elements.container).removeAttr("style"),t(e.options.elements.container).removeAttr("ntgmodal-opened"),t(e.options.elements.container).attr({"aria-hidden":!0,tabindex:0}),t("body").removeClass("overHidden-modals"),e.options.overlay&&t(".mainDiv").removeClass("has-overlay header-hidden"),setTimeout((function(){e.setInitialStyle()}),300)},t.fn.ntgmodal=function(){for(var t,i=this,n=arguments[0],o=Array.prototype.slice.call(arguments,1
25),s=i.length,r=0;r<s;r++)if("object"==typeof n||void 0===n?i[r].ntgmodal=new e(i[r],n):t=i[r].ntgmodal[n].apply(i[r].ntgmodal,o),void 0!==t)return t;return i}})),function(t){"use strict";function e(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);return t}function i(t,i){this.el=t,this.options=e({},this.options),e(this.options,i),this._init()}i.prototype.options={closeEl:"",onBeforeOpen:function(){return!1},onAfterOpen:function(){return!1},onBeforeClose:function(){return!1},onAfterClose:function(){return!1}},i.prototype._init=function(){this.watcher=this.el.querySelector(".morphArea_watcher"),this.opener="",this.clone="",this.offsets=[],this.positions=[],this.visibleHeader=0,this._checkOverflow(),this.expanded=!1,this.contentEl=this.el.cloneNode(!0),this._initEvents()},i.prototype._initEvents=function(){var e=this;""!==e.opener&&e.opener.addEventListener("click",(function(){e.toggle()})),$(document).on("keydown",(function(t){27==t.which&&e.expanded&&e.toggle()})),$(t).resized((function(){e._checkOverflow()})),e._getOffsets()},i.prototype._checkOverflow=function(){var t=this;if(this.watcher.offsetHeight<this.watcher.scrollHeight||this.watcher.offsetWidth<this.watcher.scrollWidth){if(""===this.opener){var e="button",i=$recursos.saiba_mais;$(this.watcher).attr("data-btnTxt")&&(i=$(this.watcher).attr("data-btnTxt")),$(this.watcher).attr("data-btnClass")&&(e=$(this.watcher).attr("data-btnClass")),this.opener=document.createElement("button"),this.opener.className=e+" morphArea_opener",this.opener.innerHTML=i,$(this.watcher).attr("data-btnAppender")?$(this.el).find($(this.watcher).attr("data-btnAppender"))[0].appendChild(this.opener):this.el.appendChild(this.opener)}}else""!==this.opener&&(this.opener.removeEventListener("click",(function(){t.toggle()})),$(this.opener).remove())},i.prototype._getOffsets=function(){if(this.positions=[],this.offsets=[],this.offsets.top=$(this.el).offset().top-$(t).scrollTop()+"px",this.offsets.left=$(this.el).offset().left+"px",this.offsets.width=$(this.el).outerWidth()+"px",this.offsets.height=$(this.el).outerHeight()+"px",$("body").innerWidth()>950){var e=($("body").innerWidth()-$("body").innerWidth()/2)/2;this.positions.top="15%",this.positions.left=e+"px",this.positions.width="50%",this.positions.height="70%"}else this.positions.top="0px",this.positions.left="0px",this.positions.width="100%",this.positions.height="100%"},i.prototype.toggle=function(){if(this.isAnimating)return!1;var t=this;if(this.isAnimating=!0,this._getOffsets(),this.expanded)this.options.onBeforeClose(),TweenMax.to($(this.clone),1,{width:t.offsets.width,height:t.offsets.height,top:t.offsets.top,left:t.offsets.left,ease:Expo.easeInOut,onComplete:function(){$(t.clone).removeClass("open"),$(t.clone).remove(),t.clone="",t.isAnimating=!1,t.expanded=!1,t.options.onAfterClose(),$("body").removeClass("overHidden"),$(".mainDiv").removeClass("has-overlay header-hidden")}}),TweenMax.to($(this.el),.4,{opacity:1});else{if($("body").addClass("overHidden"),this.options.onBeforeOpen(),""===this.clone){this.clone=document.createElement("div"),$(this.clone).css({position:"fixed",display:"block",top:t.offsets.top,left:t.offsets.left,width:t.offsets.width,height:t.offsets.height,overflow:"hidden",opacity:"0","z-index":"900"}),
26$(this.el).parents(".morphArea_appender").length>0?$(this.el).parents(".morphArea_appender")[0].appendChild(this.clone):$(this.watcher).attr("data-appender")&&$("#"+$(this.watcher).attr("data-appender")).length>0?$("#"+$(this.watcher).attr("data-appender"))[0].appendChild(this.clone):document.querySelector(".mainDiv").appendChild(this.clone);var e="";$(this.watcher).attr("data-class")&&(e=$(this.watcher).attr("data-class")),$(this.clone).html(this.contentEl),$(this.clone).children().wrapInner("<div class='morphArea_scroller' />"),$(this.clone).addClass("morphArea_clone "+e),$(this.clone).find(".morphArea_opener").length>0&&($(this.clone).find(".morphArea_opener").text($recursos.fechar),$(this.clone).find(".morphArea_opener")[0].addEventListener("click",(function(){t.toggle()})));var i=$('<a class="close-button morphArea_closer" data-close aria-label="Close modal">&times;</a>');i.appendTo($(this.clone).children()),i.on("click",(function(){t.toggle(
26)}))}setTimeout((function(){$(t.clone).addClass("opening"),$(".mainDiv").addClass("has-overlay header-hidden")}),500),TweenMax.to($(this.clone),1,{top:t.positions.top,left:t.positions.left,width:t.positions.width,height:t.positions.height,opacity:1,ease:Expo.easeInOut,onComplete:function(){$(t.clone).addClass("open"),$(t.clone).removeClass("opening"),t.isAnimating=!1,t.expanded=!0,t.options.onAfterOpen()}}),TweenMax.to($(this.el),.8,{opacity:0})}},t.UIMorphingArea=i}(window),function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):"undefined"!=typeof exports?module.exports=t(require("jquery")):t(jQuery)}((function(t){"use strict";var e=window.ntgSteps||{};(e=function(e,i){var n,o=this;o.defaults={container:e,elements:"[steps-field]",prevButton:"[steps-prevBtn]",nextButton:"[steps-nextBtn]",images:"[steps-image]",progressBar:"[steps-progressbar]",duration:1},o.initials={current:"",next:"",previous:"",left:"",opacity:"",scale:"",currentImg:"",nextImg:"",previousImg:"",animating:"",gotImages:0,targetHeight:0},t(e).data("ntgsteps")||(n=t(e).data("ntgsteps",o)||{},t.extend(o,o.initials),o.options=t.extend({},o.defaults,n,i),o.init()),o.init=t.proxy(o.init,o),o.handlePrev=t.proxy(o.handlePrev,o),o.handleNext=t.proxy(o.handleNext,o)}).prototype.init=function(){var e=this;t(e.options.container).length>0&&t(e.options.container).find(e.options.elements).length>0&&(t(e.options.container).attr("formStep-current",1),t(e.options.container).find(e.options.elements+":eq(0)").attr("step-active",""),t(e.options.container).find(e.options.prevButton).length>0&&t(e.options.container).find(e.options.prevButton).on("click",(function(){e.handlePrev()})),t(e.options.nextButton).length>0&&t(e.options.container).find(e.options.nextButton).on("click",(function(){e.handleNext()})),t(e.options.container).find(e.options.images).length>0&&t(e.options.container).find(e.options.images+":eq(0)").addClass("fadeIn"),e.setFormHeight(0),t(window).resized((function(){e.setFormHeight(0)})))},e.prototype.handlePrev=function(){var e=this,i=t(e.options.container).find("[step-active] [steps-prevBtn]");if(void 0!==i.attr("steps-callback")&&0==window[i.attr("steps-callback")]())return!1;if(e.initials.animating)return!1;e.initials.animating=!0,e.initials.current=t(e.options.container).find("[step-active]"),e.initials.previous=e.initials.current.prev(),t(e.options.container).find(e.options.images).length>0&&(e.initials.gotImages=1,e.initials.currentImg=t(e.options.container).find(e.options.images).eq(t(e.options.container).find("[step-active]").index()),e.initials.previousImg=t(e.initials.currentImg).prev()),t(e.options.container).find(e.options.progressBar).length>0&&t(e.options.container).find(e.options.progressBar+" li").eq(t(e.options.container).find("[step-active]").index()).removeClass("active"),e.initials.previous.show(),1==e.initials.gotImages&&(e.initials.previousImg.addClass("fadeIn"),e.initials.currentImg.removeClass("fadeIn")),TweenLite.to(e.initials.current,e.options.duration,{autoAlpha:0,left:"-50%",ease:Back.easeInOut}),TweenLite.to(e.initials.previous,e.options.duration-.3,{autoAlpha:1,transform:"scale(1)",ease:Back.easeInOut,onComplete:function(){t(e.options.container).attr("formStep-current",e.initials.previous.index()+1),e.initials.current.removeAttr("step-active").hide(),e.initials.previous.attr("step-active",""),e.setFormHeight(1),e.initials.animating=!1}})},e.prototype.handleNext=function(){var e=this,i=t(e.options.container).find("[step-active] [steps-nextBtn]");if(void 0!==i.attr("steps-callback")&&1!=window[i.attr("steps-callback")]())return!1;if(e.initials.animating)return!1;e.initials.animating=!0,e.initials.current=t(e.options.container).find("[step-active]"),e.initials.next=e.initials.current.next(),t(e.options.container).find(e.options.images).length>0&&(e.initials.gotImages=1,e.initials.currentImg=t(e.options.container).find(e.options.images).eq(t(e.options.container).find("[step-active]").index()),e.initials.nextImg=t(e.initials.currentImg).next()),t(e.options.progressBar).length>0&&t(e.options.progressBar+" li").eq(t(e.options.container).find(e.options.elements).index(e.initials.next)).addClass("active"),e.initials.next.show(),1==e.initials.gotImages&&(e.initials.nextImg.addClass("fadeIn"),e.initials.currentImg.removeClass("fadeIn")),TweenLite.to(e.initials.current,e.options.duration,{autoAlpha:0,transform:"scale(0.8)",ease:Back.easeInOut}),TweenLite.to(e.initials.next,e.options.duration-.3,{autoAlpha:1,left:0,ease:Back.easeInOut,onComplete:function(){t(e.options.container).attr("formStep-current",e.initials.next.index()+1),e.initials.current.removeAttr("step-active").hide(),e.initials.next.attr("step-active",""),e.setFormHeight(1),e.initials.animating=!1}})},e.prototype.setFormHeight=function(e){var i=this;if("true"==t(i.options.container).attr("formStep-watch")||void 0===t(i.options.container).attr("formStep-watch")){var n=0;t(i.options.container).find(i.options.elements).each((function(){n=Math.max(t(this).height(),n)})),i.initials.targetHeight!=n&&(i.initials.targetHeight=n,t(i.options.container).height(i.initials.targetHeight))}else{n=t(i.options.container).find("[step-active]").height();TweenMax.fromTo(t(i.options.container),i.options.duration-.3,{css:{height:i.initials.targetHeight}},{css:{height:n}}),i.initials.targetHeight=n,1==e&&t(i.options.container).parents("[ntgmodal-content]").length>0&&TweenLite.to(t(i.options.container).parents("[ntgmodal-content]"),i.options.duration-.3,{scrollTo:0})}},t.fn.ntgsteps=function(){for(var t,i=this,n=arguments[0],o=Array.prototype.slice.call(arguments,1
26),s=i.length,r=0;r<s;r++)if("object"==typeof n||void 0===n?i[r].ntgsteps=new e(i[r],n):t=i[r].ntgsteps[n].apply(i[r].ntgsteps,o),void 0!==t)return t;return i}})),function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):"undefined"!=typeof exports?module.exports=t(require("jquery")):t(jQuery)}((function(t){"use strict";var e=window.nativeWindow||{};(e=function(e,i){var n,o=this;o.defaults={container:e,texts:{title:"",select:$recursos.selecione,filter:"Ok",cancel:$recursos.cancelar,clear:$recursos.limpar},classes:{trigger:"textos icon-down",title:"textos",footer:"text-center"},breakpoint:{class:"hide-for-medium",value:950},onOpen:function(){return!1},onClose:function(){return!1}},o.initials={title:"",select:""},n=t(e).data("nativewindow",o)||{},t.extend(o,o.initials),o.options=t.extend({},o.defaults,n,i),o.init(),o.init=t.proxy(o.init,o)}).prototype.init=function(){var e=this,i=1;t(e.options.container).length>0&&(void 0===t(e.options.container).attr("native-window")&&t(e.options.container).attr("native-window",""),void 0!==t(e.options.container).attr("no-breakpoints")&&(i=0,e.options.breakpoint.class=""),e.initials={title:t(e.options.container).attr("data-title")||e.options.texts.title,select:t(e.options.container).attr("data-select")||e.options.texts.select,trigger:t('<div native-window-trigger class="inpt '+e.options.classes.trigger+" "+e.options.breakpoint.class+'" aria-haspopup="true" tabindex="0">'+e.initials.select+"</div>"),container:t('<div native-window-container role="dialog" aria-hidden="true"></div>'),wrapper:t("<div native-window-wrapper></div>"),head:t('<div native-window-head class="'+e.options.breakpoint.class+'"></div>'),body:t("<div native-window-body>"+t(e.options.container).children().first().html()+"</div>"),footer:t('<div native-window-footer class="'+e.options.classes.footer+" "+e.options.breakpoint.class+'"></div></div>'),buttons:t('<div class="row collapse align-spaced align-middle" style="height="100%"><div class="column shrink"><a class="list_subtit" native-window-cancel href="javascript:;" role="button">'+e.options.texts.cancel+'</a></div><div class="column shrink"><a class="list_subtit" native-window-clear href="javascript:;" role="button">'+e.options.texts.clear+'</a></div><div class="column shrink"><a class="list_subtit" native-window-filter href="javascript:;" role="button">'+e.options.texts.filter+"</a></div></div>")},t(window).resized((function(){t(window).innerWidth()<=e.options.breakpoint.value||0==i?0==t(e.options.container).find(e.initials.trigger).length?(t(e.initials.footer).append(e.initials.buttons),t(e.initials.wrapper).append(e.initials.head),t(e.initials.wrapper).append(e.initials.body),t(e.initials.wrapper).append(e.initials.footer),t(e.initials.container).append(e.initials.wrapper).attr("native-window-styled",""),t(e.options.container).children().first().replaceWith(e.initials.container),t(e.options.container).prepend(e.initials.trigger),t(e.options.container).find(e.initials.head).html('<h3 class="'+e.options.classes.title+'"><strong>'+e.initials.title+"</strong></h3>"),e.initials.trigger.off("click.openWindow"),e.initials.trigger.on("click.openWindow",(function(i){t("body").addClass("overHidden-windows"),t(".page-main.page-current").addClass("aboveAll-window"),t(this).addClass("txtUpdate"),t(e.initials.container).attr({"native-window-opened":"","aria-hidden":!1,tabindex:-1}),e.options.onOpen()})),t(e.options.container).find("[native-window-cancel]").off("click.cancelWindow"),t(e.options.container).find("[native-window-cancel]").on("click.cancelWindow",(function(i){var n=t(e.options.container).find(".txtUpdate").attr("data-sels"),o=t(e.options.container).find("input:eq(0)").attr("name");t('[name="'+o+'"]').prop("checked",!1),n&&void 0!==n&&t(this).parents("[native-window-container]").find("input").each((function(){n.indexOf(t(this).val())>=0&&t(this).prop("checked",!0)})),e.closeWindow()}
26)),t(e.options.container).find("[native-window-clear]").off("click.clearWindow"),t(e.options.container).find("[native-window-clear]").on("click.clearWindow",(function(i){var n=t(this).parents("[native-window-container]").find("input:checked");if(t("[native-window-trigger].txtUpdate").text(e.initials.select),n.length>0){var o=t(this).parents("[native-window-container]").find("input:eq(0)").attr("name");t('[name="'+o+'"]').prop("checked",!1)}e.closeWindow()})),t(e.options.container).find("[native-window-filter]").off("click.filterWindow"),t(e.options.container).find("[native-window-filter]").on("click.filterWindow",(function(i){var n=t(this).parents("[native-window-container]").find("input:checked"),o="",s="";n.length>0?(n.each((function(){s+=t(this).val()+",",o+=t(this).next().text()+", "})),s&&(s=s.substr(0,s.length-1)),o&&(o=o.substr(0,o.length-2))):o=e.initials.select,t("[native-window-trigger].txtUpdate").length>0?(t("[native-window-trigger].txtUpdate").attr("data-sels",s),t("[native-window-trigger].txtUpdate").text(o)):(t(this).parents("[native-window-container]").prev("[native-window-trigger]").attr("data-sels",s),t(this).parents("[native-window-container]").prev("[native-window-trigger]").text(o)),e.closeWindow()})),t(e.options.container).find("[native-window-filter]").length>0&&t(e.options.container).find("[native-window-filter]").each((function(){t(this).trigger("click")}))):t(e.initials.container).attr("native-window-styled",""):t(e.initials.container).removeAttr("native-window-styled")})),window.dispatchEvent(new Event("resize")))},e.prototype.closeWindow=function(){var e=this;t(".txtUpdate").removeClass("txtUpdate"),t(e.initials.container).removeAttr("native-window-opened"),t(e.initials.container).attr({"aria-hidden":!0,tabindex:0}),t(".page-main.page-current").removeClass("aboveAll-window"),t("body").removeClass("overHidden-windows"),e.options.onClose()},t.fn.nativewindow=function(){for(var t,i=this,n=arguments[0],o=Array.prototype.slice.call(arguments,1),s=i.length,r=0;r<s;r++)if("object"==typeof n||void 0===n?i[r].nativewindow=new e(i[r],n):t=i[r].nativewindow[n].apply(i[r].nativewindow,o),void 0!==t)return t;return i}}));
27/*!--------------------------------------------------------------------
28JAVASCRIPT "Outdated Browser"
29Version:    1.1.2 - 2015
30author:     Burocratik
31website:    http://www.burocratik.com
32* @preserve
33-----------------------------------------------------------------------*/
34var outdatedBrowser=function(t){var e=document.getElementById("outdated");this.defaultOpts={bgColor:"#f25648",color:"#ffffff",lowerThan:"transform",languagePath:"../outdatedbrowser/lang/en.html"},t?("IE8"==t.lowerThan||"borderSpacing"==t.lowerThan?t.lowerThan="borderSpacing":"IE9"==t.lowerThan||"boxShadow"==t.lowerThan?t.lowerThan="boxShadow":"IE10"==t.lowerThan||"transform"==t.lowerThan||""==t.lowerThan||void 0===t.lowerThan?t.lowerThan="transform":"IE11"==t.lowerThan||"borderImage"==t.lowerThan?t.lowerThan="borderImage":"Edge"!=t.lowerThan&&"js:Promise"!=t.lowerThan||(t.lowerThan="js:Promise"),this.defaultOpts.bgColor=t.bgColor,this.defaultOpts.color=t.color,this.defaultOpts.lowerThan=t.lowerThan,this.defaultOpts.languagePath=t.languagePath,bkgColor=this.defaultOpts.bgColor,txtColor=this.defaultOpts.color,cssProp=this.defaultOpts.lowerThan,languagePath=this.defaultOpts.languagePath):(bkgColor=this.defaultOpts.bgColor,txtColor=this.defaultOpts.color,cssProp=this.defaultOpts.lowerThan,languagePath=this.defaultOpts.languagePath);var i=!0;function n(t){!function(t){e.style.opacity=t/100,e.style.filter="alpha(opacity="+t+")"}(t),1==t&&(e.style.display="block",$("body").addClass("overHidden")),100==t&&(i=!0)}var o,s,r,a=(o=document.createElement("div"),s="Khtml Ms O Moz Webkit".split(" "),r=s.length,function(t){if(t in o.style)return!0;for(t=t.replace(/^[a-z]/,(function(t){return t.toUpperCase()}));r--;)if(s[r]+t in o.style)return!0;return!1}),l=!1;if(/^js:+/g.test(cssProp)){var c=cssProp.split(":")[1];if(!c)return;switch(c){case"Promise":l=void 0!==window.Promise&&null!==window.Promise&&"[object Promise]"===Object.prototype.toString.call(window.Promise.resolve());break;default:l=!1}}else l=a(""+cssProp);if(!l){if(i&&"1"!==e.style.opacity){i=!1;for(var d=1;d<=100;d++)setTimeout(function(t){return function(){n(t)}}(d),8*d)}var p;p='<h6 class="titulos">'+$recursos.outdated_tit+'</h6><p class="textos">'+$recursos.outdated_txt+'</p>
34<a class="button invert2" id="btnUpdateBrowser" target="_blank" href="http://outdatedbrowser.com/">'+$recursos.outdated_btn+'</a><button class="close-button small" id="btnCloseUpdateBrowser" aria-label="Close reveal" role="button" type="button"><span aria-hidden="true">&times;</span></button>',$("#outdated .div_table_cell")[0].innerHTML=p,void $("#btnCloseUpdateBrowser").click((function(){e.style.display="none",$("body").removeClass("overHidden")}))}};function init_svg(){}function initBanners(){"use strict";function t(t,e){if(e.length>0){var i=e.find("h1"),n=e.find("h2"),o=e.find("a");$(i).toggleClass("show"),$(n).toggleClass("show"),$(o).toggleClass("show")}}$("#banners").length>0&&$(".slick-banners").length>0&&($(".banners").hasClass("fullscreen")&&!$(".header").hasClass("absolute-start")&&$(window).resized((function(){var t=$(".header").outerHeight(),e=0;$(".icons-section").length>0&&(e=$(".icons-section").outerHeight());var i=0;$(".promotion_section").length>0&&(i=$(".promotion_section").outerHeight()),$(window).width()>=951?t+=e:t+=i,t!==$(".banners").attr("data-margin")&&($(".banners").attr("data-margin",t),$(".banners").css("height","-webkit-calc(100vh - "+t+"px)"),$(".banners").css("height","calc(100vh - "+t+"px)"))})),$(".slick-banners").on("init",(function(e,i,n,o){var s=new bgsrcset;if(s.callonce=!1,s.init(".banners_slide"),t(0,$(".slick-banners").find(".slick-current")),$(".slick-slide:eq(0) video").length>0){var r=$(".slick-slide:eq(0) video").get(0);r.muted=!0,r.play()}})),$(".slick-banners").slick({dots:!0,slidesToShow:1,slidesToScroll:1,arrows:!0,infinite:!1,adaptiveHeight:!1,fade:!0,autoplay:!1,autoplaySpeed:4e3,cssEase:"linear"}),$(".slick-banners").on("beforeChange",(function(e,i,n,o){t(1,$(".slick-banners").find(".slick-current")),$(".slick-slide:eq("+n+") video").length>0&&$(".slick-slide:eq("+n+") video").get(0).pause()})),$(".slick-banners").on("afterChange",(function(e,i,n,o){t(0,$(".slick-banners").find(".slick-current")),$(".slick-slide:eq("+n+") video").length>0&&$(".slick-slide:eq("+n+") video").get(0).play()})))}function toogleBanners(t,e){if(e.length>0){var i=e.find("h1"),n=e.find("h2"),o=e.find("a");$(i).toggleClass("show"),$(n).toggleClass("show"),$(o).toggleClass("show")}}function init_fades(){"use strict";$(".elements_animated").length>0&&$(".elements_animated").each((function(t,e){var i=scrollMonitor.create(e);if($(this).parents(".detail-ajax.active").length>0){var n=$(".detail-ajax.active")[0],o=scrollMonitor.createContainer(n),s=e;i=o.create(s)}if($(this).parents("[ntgmodal][ntgmodal-opened]").length>0){n=$("[ntgmodal][ntgmodal-opened]")[0],o=scrollMonitor.createContainer(n),s=e;i=o.create(s)}i.enterViewport((function(){$(e).addClass("active"),setTimeout((function(){$(e).removeClass("elements_animated active")}),1e3),i.destroy()}))}))}function init_animation(){"use strict";var t=$(".block_revelear");t.length>0&&t.each((function(){if(!$(this).hasClass("revealed")){var t,e=$(this),i=$(this).attr("data-color"),n=$(this).attr("data-direction"),o=$(this).attr("data-cover");o||(o=0);var s=new RevealFx(e[0],{revealSettings:{bgcolor:i,direction:n,coverArea:o,onCover:function(t,e){t.style.opacity=1}}});if($(this).parents(".detail-ajax").length>0){var r=$(".detail-ajax.active")[0],a=scrollMonitor.createContainer(r),l=e[0];t=a.create(l)}else t=scrollMonitor.create(e[0]);
34$(this).hasClass("fully")?t.enterViewport((function(){setTimeout((function(){s.reveal(),e.addClass("revealed"),$(this).hasClass("always")||t.destroy()}),1e3)})):t.enterViewport((function(){setTimeout((function(){s.reveal(),e.addClass("revealed"),$(this).hasClass("always")||t.destroy()}),300)}))}}))}function init_shares(){"use strict";$(".share-opener").length>0&&($(".share-opener").click((function(){$(this).parents(".share_container").find(".share_modal").length>0&&$(this).parents(".share_container").find(".share_modal").toggleClass("active")})),$("body").on("click",(function(t){0==$(t.target).closest(".share_container").length&&$(".share_modal").hasClass("active")&&$(".share_modal").removeClass("active")}))),$(".share-button").length>0&&$(".share-button").click((function(){$(this).attr("data-link")&&window.open($(this).attr("data-link"),"targetWindow","toolbar=no, location=no, status=no, menubar=no, scrollbars=yes, resizable=no, width=500 ,height=400")}))}function initIframes(){"use strict";$(".video_frame").length>0&&$(".video_frame").each((function(t,e){var i=$(this).attr("data-vid");if(i&&!$(e).hasClass("framed")){var n;-1!==i.indexOf("/")&&-1!==(i=(i=i.split("/"))[i.length-1]).indexOf("?")&&(i=(i=i.split("?"))[0]);var o=document.createElement("div");if(o.setAttribute("data-vid",i),o.classList.add("has_bg"),$(e).hasClass("youtube")){var s="hqdefault";n=$(e).hasClass("home")?"https://www.youtube.com/embed/"+i+"?controls=0&autoplay=1&mute=1&loop=1&playlist="+i+"&rel=0":"https://www.youtube.com/embed/"+i+"?autoplay=1",$(e).hasClass("full")&&(s="maxresdefault"),$(e).parents("[data-thumb]").length>0&&$(e).parents("[data-thumb]").attr("data-thumb","https://i.ytimg.com/vi/"+i+"/default.jpg"),o.style.backgroundImage="url('https://i.ytimg.com/vi/"+i+"/"+s+".jpg')"}else $(e).hasClass("vimeo")&&(n="https://player.vimeo.com/video/"+i+"?controls=0&autoplay=1&mute=1&loop=1&playlist="+i+"&rel=0",$.getJSON("http://www.vimeo.com/api/v2/video/"+i+".json?callback=?",{format:"json"},(function(t){var i=t[0].thumbnail_large;if($(e).hasClass("full")){var n=i.split(/\d{3}(?=.jpg)/);i=n[0]+"1920x1080"+n[1]}$(e).parents("[data-thumb]").length>0&&$(e).parents("[data-thumb]").attr("data-thumb",n[0]+"100x100"+n[1]),o.style.backgroundImage="url('"+i+"')"})));if($(e).hasClass("home")){var r=document.createElement("iframe");r.setAttribute("src",n),r.setAttribute("frameborder","0"),r.setAttribute("allowfullscreen","1"),this.parentNode.replaceChild(r,this)}else $(o).html('<div class="play"><svg x="0px" y="0px" viewBox="0 0 30.5 30.5" xml:space="preserve"><g><path d="M28.5,7.6c-2-3.5-5.3-6.1-9.3-7.1c-1.3-0.4-2.6-0.5-4-0.5C6.8,0,0,6.9,0,15.3c0,2.7,0.7,5.3,2,7.5c4.1,7.4,13.4,10,20.7,5.9s10-13.4,5.9-20.7C28.6,7.9,28.5,7.8,28.5,7.6zM28.3,18.8c-0.9,3.5-3.2,6.4-6.3,8.2c-6.5,3.7-14.7,1.5-18.5-5C-0.2,15.5,2,7.2,8.5,3.5c3.1-1.8,6.8-2.3,10.2-1.3C26,4.1,30.3,11.5,28.3,18.8z"/><path d="M21,14.6l-8.4-4.9c-0.8-0.5-1.4-0.1-1.4,0.8v9.7c0,0.9,0.6,1.2,1.4,0.8l8.3-4.8c0.4-0.2,0.7-0.6,0.5-1.1C21.4,14.9,21.3,14.7,21,14.6z"/></g></svg></div>'),$(o).click((function(){var t=document.createElement("iframe");t.setAttribute("src",n),t.setAttribute("frameborder","0"),t.setAttribute("allowfullscreen","1"),this.parentNode.replaceChild(t,this)}));e.appendChild(o),$(e).addClass("framed")}}))}function initVideo(){"use strict";$("video").length>0&&checkMobile()&&$("video").each((function(){$(this).attr("autoplay")&&($(this).attr("muted","muted"),$(this)[0].play())}))}function initLazyLoad(t){$(".lazy",$(t)).length>0&&$(".lazy",$(t)).lazy({imageBase:_images_path,bind:"event",delay:0,afterLoad:function(t){$(t).addClass("lazy-completed")}})}var array_captcha=[];function init_inputs(){"use strict";$(".inpt_holder").length>0&&$(".inpt_holder").each((function(t,e){$("input, textarea",e).on("blur keypress",(function(){""!==$(this).val()?$(this).parents(".inpt_holder").addClass("focused"):$(this).parents(".inpt_holder").removeClass("focused")})),$("input, textarea",e).on("focus",(function(){$(this).parents(".inpt_holder").addClass("hovered")})),$("input, textarea",e).on("focusout",(function(){$(this).parents(".inpt_holder").removeClass("hovered")}))})),$("textarea").on("blur",(function(){""!==$(this).val()?$(this).removeClass("hovered").addClass("focused"):$(this).removeClass("focused").removeClass("hovered")})),$('input[type="date"]').length>0&&$('input[type="date"]').on("change",(function(){$(this).hasClass("range")&&(void 0!==$(this).attr("data-range-start")&&$(this).parents(".range_holder").find(".range[data-range-end]").attr("min",$(this).val()),void 0!==$(this).attr("data-range-end")&&$(this).parents(".range_holder").find(".range[data-range-start]").attr("max",$(this).val())),""!==$(this).val()?$(this).addClass("has-value"):$(this).removeClass("has-value")})),$("input[min]").length>0&&$("input[min]").on("blur keyup",(function(){parseFloat($(this).val())<parseFloat($(this).attr("min"))&&($(this).val($(this).attr("min")),$(this).trigger("change"))})),$("input[max]").length>0&&$("input[max]").on("blur keyup",(function(){parseFloat($(this).val())>parseFloat($(this).attr("max"))&&($(this).val($(this).attr("max")),$(this).trigger("change"))})),$(".cod_confirm").length>0&&$(".cod_confirm").each((function(){$(this)[0].onpaste=function(t){t.preventDefault()}})),$(".inputfile").length>0&&$(".inputfile").each((function(){var t=$(this),e=t.parent().find(".inpt"),i=e.val();t.off("change.inptFile"),t.on("change.inptFile",(function(n){var o="",s=$(this)[0];if($(this).hasClass("progress")){var r=$(this).parents("form").attr("id");uploadFileProgress($(this).attr("id"),r,$(this).attr("folder"),$(this).attr("data-callback"))}if($(this).hasClass("preview")&&$($(this).attr("data-appender")).html(""),s.files&&s.files.length>1){for(var a=0;a<s.files.length;a++)$(this).hasClass("preview")&&readFile(n.target.files.item(a),$(this).attr("data-appender")),o=o?o+", "+s.files.item(a).name:s.files.item(a).name;t.addClass("has-files")}else n.target.value?(o=n.target.value.split("\\").pop(),$(this).hasClass("preview")&&readFile(n.target.files[0],$(this).attr("data-appender")),t.addClass("has-files")):t.removeClass("has-files");o?e.val(o):e.val(i)})),t.on("focus",(function(){t.addClass("has-focus")})).on("blur",(function(){t.removeClass("has-focus")}))}
34))}var captchaTime=0;function init_captchas(){clearTimeout(captchaTime),$(".captcha").length>0&&$(".captcha").each((function(){var t=$(this).attr("id");"undefined"!=typeof grecaptcha&&void 0!==grecaptcha.render&&0==$("#"+t+" > div").length?array_captcha[t]=grecaptcha.render(t,{sitekey:$("#"+t).attr("data-sitekey"),callback:""}):"undefined"==grecaptcha.render&&(captchaTime=setTimeout(captchaTime,250))}))}function initCookies(){"use strict";window.setTimeout((function(){$(".div_cookies").fadeIn(500)}),1500)}function initVoltarTopo(){"use strict";$("#voltar_acima").length>0&&($(document).scrollTop()>=$(".mainDiv").position().top+180?$("#voltar_acima").fadeIn():$("#voltar_acima").fadeOut())}function initEqualizer(){var t=[];$("[data-equalize]").length>0&&$("[data-equalize]").each((function(){var e=0,i=!0;$(this).attr("data-equalize-start")&&$(this).attr("data-equalize-start")>0&&$("body").innerWidth()>$(this).attr("data-equalize-start")&&(i=!1),$(this).attr("data-equalize-stop")&&$(this).attr("data-equalize-stop")>0&&$("body").innerWidth()<=$(this).attr("data-equalize-stop")&&(i=!1),i?-1==t.indexOf($(this).attr("data-equalize"))&&(t.push($(this).attr("data-equalize")),$("[data-equalize="+$(this).attr("data-equalize")+"]").css("height","auto"),$("[data-equalize="+$(this).attr("data-equalize")+"]").each((function(){e=Math.max($(this).height(),e)})).height(e)):"inherit"!=$(this).css("height")&&$("[data-equalize="+$(this).attr("data-equalize")+"]").css("height","inherit")}))}function initCalendar(){if($('[data-toggle="datepicker"]').length>0){var t=$recursos.cal_dias.split(","),e=$recursos.cal_dias2.split(","),i=$recursos.cal_dias3.split(","),n=$recursos.cal_meses.split(","),o=$recursos.cal_meses2.split(",");$('[data-toggle="datepicker"]').each((function(){var s,r="#"+$(this).attr("id"),a="top",l=[],c=null,d=null,p=!1;($(this).hasClass("bottom")&&(a="bottom"),$(this).hasClass("fullscreen")&&(p=!0),$(this).attr("data-disabledDays")&&(l=$(this).attr("data-disabledDays").split(";")),$(this).hasClass("all_dates")||$(this).hasClass("maxToday"))||(c=new Date,void 0!==$(this).attr("data-range-end")&&((s=$(this).attr("data-diff"))||(s=1),c=moment(new Date).add(s,"days").format("DD/MM/YYYY")));$(this).hasClass("maxToday")&&(d=new Date,void 0!==$(this).attr("data-range-end")&&((s=$(this).attr("data-diff"))||(s=1),d=moment(new Date).add(s,"days").format("DD/MM/YYYY")));$(r).on("keydown keyenter",(function(t){return t.preventDefault(),!1})),checkMobile()&&!detectIOS()&&$(r).attr("readonly","readonly"),$(r).datepicker({position:a,format:_dateFormat,days:t,daysShort:e,daysMin:i,months:n,monthsShort:o,startDate:c,endDate:d,disabledDates:l,autoHide:!0,fullscreen:p})}))}}function detectIOS(){return/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream}function detectIE(){var t=window.navigator.userAgent;if(t.indexOf("MSIE ")>0)return!0;if(t.indexOf("Trident/")>0){t.indexOf("rv:");return!0}return t.indexOf("Edge/")>0}function subs_news(t){var e=$('input[type="email"]',"#"+t);$.post(_includes_path+"subs_obrigado.php",{meuEmail:e.val(),nome:""},(function(e){var i=e.split("###");"1"==i[0]?($('input[type="email"]',"#"+t).val(""),$(".inpt_holder","#"+t).removeClass("hovered"),$('input[type="checkbox"]',"#"+t).removeClass("has-error"),$("label[for='termos_news']","#"+t).click(),ntg_success(i[1])):ntg_error(i[1])}))}function allowCookies(){"use strict";$.post(_includes_path+"rpc.php",{op:"allowCookies"},(function(){$(".div_cookies").fadeOut(500)}))}function checkMobile(){"use strict";var t=!1;return/Android|webOS|iPhone|iPad|iPod|BlackBerry/i.test(navigator.userAgent)&&(t=!0),t}function check_enter(t,e){"use strict";13===t.keyCode&&$(e).click()}function changePassType(t){"use strict";var e=$(t).parent().find("input");"text"==e.attr("type")?($(t).removeClass("show"),e.attr("type","password")):($(t).addClass("show"),e.attr("type","text"))}function checkPassword(t){"use strict";return/(?=.*\d)(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9]).{6,}/.test(t)}function getAltMenu(){"use strict";return $(".header").outerHeight()}function goTo(t,e){"use strict";var i=0;$(".to_sticky.is-sticky").length>0&&(i=1);var n=$("html, body");if($(t).parents("[ntgmodal-content]").length>0&&(n=$(t).parents("[ntgmodal-content]")),$(t).parents("#details-modal").length>0&&(n=$(t).parents(".detail-ajax")),$(t).length>0)if(1==e){var o,s=$(t).offset().top,r=$(t).height(),a=$(window).height();r<a&&(o=s-(a/2-r/2)),n.stop(!0,!0).animate({scrollTop:o},1500,"easeInOutExpo",(function(){}))}else 1==i?n.stop(!0,!0).animate({scrollTop:$(t).offset().top-getAltMenu()},1500,"easeInOutExpo",(function(){})):n.stop(!0,!0).animate({scrollTop:$(t).offset().top},1500,"easeInOutExpo",(function(){}))}function setMenuHeight(t,e,i){"use strict";if(t.length>0){var n=$(window).height(),o=$("#header").outerHeight(!0),s=t.outerHeight(),r=n-o-20;r>e&&(r=e),s>0&&s>=r?t.css("height",r+"px"):t.css("height","auto"),1==i&&t.css("max-height",r+"px")}}function breakHalf(){if($(".half_string").length>0){$(".half_string:not(.breaked)").each((function(){0;var t=$(this).text();if(-1!==t.indexOf(" ")){var e=t.slice(t.length/2).split(" ").slice(1).join(" ").length;0==e&&(e=t.slice(t.length/3).split(" ").slice(1).join(" ").length);var i=t.slice(0,t.length-e)+"<br>"+t.slice(t.length-e);$(this).html(i).addClass("breaked")}}
34))}}function checkOverflow(t){"use strict";return t.offsetHeight<t.scrollHeight||t.offsetWidth<t.scrollWidth}function maskInputs(){$(".mask-date").attr("placeholder","00-00-0000"),$(".mask-postal").attr("placeholder","0000-000")}function sortableTable(element,options,no_results){if($("#"+element).length>0){var table=new List(element,options),tableParent=$("."+element+"-container");tableParent.length>0&&($(".custom_table_search").keyup((function(){table.search($(this).val(),["numero"])})).keyup(),$(tableParent).find(".custom_table_filters").length>0&&$(tableParent).find(".custom_table_filters").on("change",(function(){table.filter((function(item){var groupsStr="",groupsFilter=[],$groups=$(".filter_container .groups");return $groups.each((function(index,element){var groupsInput=[],type=$(element).attr("data-type");if($(this).hasClass("ranged")){var $inicio=$("[data-range-start]",element).val(),$fim=$("[data-range-end]",element).val(),$elEval=moment.unix(eval("item.values()."+type)).utc().format("DD/MM/YYYY");$elEval=moment($elEval,"DD/MM/YYYY"),$inicio&&($inicio=moment($inicio,"DD/MM/YYYY")),$fim&&($fim=moment($fim,"DD/MM/YYYY")),$inicio||$fim?$inicio&&!$fim?(groupsStr+=$inicio,groupsFilter.push($elEval>=$inicio)):!$inicio&&$fim?(groupsStr+=$fim,groupsFilter.push($elEval<=$fim)):(groupsStr+=$inicio+" "+$fim,groupsFilter.push($elEval>=$inicio&&$elEval<=$fim)):groupsFilter.push(!0)}else if($(".custom_table_filters:checked",element).length>0){var $inputs=$(".custom_table_filters",element);$inputs.each((function(){var t=$(this);if(1==t.is(":checked")){var e=t.val();groupsInput.push(e)}})),groupsStr+=groupsInput,groupsFilter.push(_(groupsInput).contains(eval("item.values()."+type)))}else groupsStr+=groupsInput,groupsFilter.push(!0)})),1==$groups.length?groupsFilter[0]:2==$groups.length?groupsFilter[0]&&groupsFilter[1]:3==$groups.length?groupsFilter[0]&&groupsFilter[1]&&groupsFilter[2]:4==$groups.length?groupsFilter[0]&&groupsFilter[1]&&groupsFilter[2]&&groupsFilter[3]:5==$groups.length?groupsFilter[0]&&groupsFilter[1]&&groupsFilter[2]&&groupsFilter[3]&&groupsFilter[4]:void 0})),setTimeout((function(){table.update()}),1e3)}))),table.on("updated",(function(){table.visibleItems.length>0?$(no_results).addClass("hidden"):$(no_results).removeClass("hidden")}))}$("#"+element+" tr").on("click",(function(t){(t.target===$(".pointerNull")[0]||$(t.target).parents(".pointerNull").length>0)&&(t.preventDefault(),t.stopPropagation())}))}function uploadFileProgress(t,e,i,n){$("progress","#"+e).val(0),$("#"+t,"#"+e).removeClass("upl_error upl_completed");var o=$("#"+t,"#"+e)[0].files[0],s=new FormData;s.append("op","fileUpload"),s.append("file",o),s.append("allowedSize",$("#"+t).attr("data-size")),s.append("folder",$("#"+t).attr("data-folder")),s.append("timestamp",$("#"+t).attr("data-timestamp")),s.append("token",$("#"+t).attr("data-token"));var r=new XMLHttpRequest,a=_includes_path+$("#"+t).attr("data-file");r.upload.addEventListener("progress",(function(t){var i=t.loaded/t.total*100;0===$("progress","#"+e).css("opacity")&&$("progress","#"+e).css("opacity",1),$("progress","#"+e).val(Math.round(i))}),!1),r.addEventListener("load",(function(i){console.log(r.responseText),r.responseText.indexOf("Error!")>=0?($("#"+t,"#"+e).addClass("upl_error"),ntg_alert(r.responseText)):($("#"+t,"#"+e).addClass("upl_completed"),setTimeout((function(){window[n](r.response,$("#"+t,"#"+e))}),500))}),!1),r.addEventListener("error",(function(){console.log("Upload Failed"),$("#"+t,"#"+e).removeClass("upl_completed")}),!1),r.addEventListener("abort",(function(){console.log("Upload Aborted"),$("#"+t,"#"+e).removeClass("upl_completed")}),!1),r.open("POST",a),r.send(s)}function readFile(t,e){if(window.File&&window.FileReader&&window.FormData&&t)if(/^image\//i.test(t.type)){var i=new FileReader;i.onloadend=function(){var n=i.result,o=(t.type,new Image);o.src=n,$(e).append(o),$(e).parents("[steps-field]").length>0&&$.doTimeout(500,(function(){window.dispatchEvent(new Event("resize"))}))},i.onerror=function(){console.log("There was an error reading the file!")}}else console.log("Not a valid image!")}function clearText(t){t.defaultValue==t.value?t.value="":""==t.value&&(t.value=t.defaultValue)}function isValidEmailAddress(t){return new RegExp(/^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?$/i).test(t)}function onlyNumber(t){var i,n,o=new Array(""),s=new Array(188,190,8);if(i=t.value,document.all)e.keyCode>47&&e.keyCode<58||e.keyCode>95&&e.keyCode<106||"-1"!=Array.find(s,e.keyCode)||(t.value=i.substr(0,i.length-1));else{n="";for(var r=0;r<i.length;r++)isNaN(i[r])&&"-1"==Array.find(o,i[r])||(n+=i[r]);t.value=n}}function temCaracteres(t){var e,i=/[a-z]{1}/gim;if(""!=t)return i.lastIndex=0,e=(e=t).toUpperCase(),i.test(e)?1:0}function onlyDecimal(t){var e=t.value,i=parseFloat(e);(1==temCaracteres(e)||isNaN(i))&&(t.value="")}function nl2br(t,e){var i=e||void 0===e?"<br />":"<br>";return(t+"").replace(/([^>\r\n]?)(\r\n|\n\r|\r|\n)/g,"$1"+i+"$2")}function encode_utf8(t){return unescape(encodeURIComponent(t))}function decode_utf8(t){try{return decodeURIComponent(escape(t))}catch(e){return t}}
34function verifica_nome(t,e){e||(e=0);var i=t,n=["----","---","--","�","�",'"',"�","�","�","�",",",";","/","<",">",":","?","~","^","]","}","�","`","[","{","=","+","-",")","\\","(","*","&","�","%","$","#","@","!","|","�","�","�","�","�","�","�","�","�","�","�","�","�","�","�","�","�","�","�","�","�","�","�","�","�","�","�","�","�","�","�","�","�","�","�","�","�","�","�","�","�","�","�","�","�","�"," ","'","�","�","�","�","�","�","�","�","�","�",",","�","�","�","�","�","�","�","�","�","�","�","�"];1==e&&n.push(".");for(var o="",s=0;s<n.length;s++){var r=decode_utf8(n[s]);"�"==n[s]||"�"==n[s]||"�"==n[s]||"�"==n[s]||"�"==n[s]||"�"==n[s]||"�"==n[s]||"�"==n[s]||"�"==n[s]||"�"==n[s]?o="a":"�"==n[s]||"�"==n[s]||"�"==n[s]||"�"==n[s]||"�"==n[s]||"�"==n[s]||"�"==n[s]||"�"==n[s]||"�"==n[s]||"�"==n[s]?o="o":"�"==n[s]||"�"==n[s]||"�"==n[s]||"�"==n[s]||"�"==n[s]||"�"==n[s]?o="e":"�"==n[s]||"�"==n[s]?o="c":"�"==n[s]||"�"==n[s]?o="i":"�"==n[s]||"�"==n[s]?o="u":"�"==n[s]||"�"==n[s]?o="n":"�"!=n[s]&&"�"!=n[s]||(o="ae"),i.indexOf(r)>=0&&(i=i.replace(r,o))}return i}function number_format(t,e,i,n){t=(t+"").replace(/[^0-9+\-Ee.]/g,"");var o=isFinite(+t)?+t:0,s=isFinite(+e)?Math.abs(e):0,r=void 0===n?",":n,a=void 0===i?".":i,l="";return(l=(s?function(t,e){var i=Math.pow(10,e);return""+(Math.round(t*i)/i).toFixed(e)}(o,s):""+Math.round(o)).split("."))[0].length>3&&(l[0]=l[0].replace(/\B(?=(?:\d{3})+(?!\d))/g,r)),(l[1]||"").length<s&&(l[1]=l[1]||"",l[1]+=new Array(s-l[1].length+1).join("0")),l.join(a)}function initTooltips(t){$("[tooltipster]").length>0&&$("[tooltipster]").ntgtooltip()}document.addEventListener("scroll",initVoltarTopo,{passive:!0}),$(window).on("load",(function(){"use strict";$(".popup_container").length>0&&setTimeout((function(){$("body").addClass("overHidden-popup"),$(".popup_container").addClass("active")}),1e3)})),$(".popup_close").click((function(t){"use strict";t.preventDefault(),$.post(_includes_path+"rpc.php",{op:"fecha_popup"},(function(t){$("body").removeClass("overHidden-popup"),$(".popup_container").removeClass("active")}))})),$(".popup_container a").click((function(t){"use strict";$.post(_includes_path+"rpc.php",{op:"fecha_popup"},(function(t){$("body").removeClass("overHidden-popup"),$(".popup_container").removeClass("active")}))})),Array.find=function(t,e){for(var i=0;i<t.length;i++)if(t==e)return i;return-1},function(t){"use strict";var e=0;t.fn.scrolled=function(i,n){"function"==typeof i&&(n=i,i=200);var o="scrollTimer"+e++;this.scroll((function(){var e=t(this),s=e.data(o);s&&clearTimeout(s),s=setTimeout((function(){e.removeData(o),n.call(e[0])}),i),e.data(o,s)}))}}(jQuery),function(t){"use strict";var e=0;t.fn.resized=function(i,n){"function"==typeof i&&(n=i,i=200);var o="resizeTimer"+e++;this.resize((function(){var e=t(this),s=e.data(o);s&&clearTimeout(s),s=setTimeout((function(){e.removeData(o),n.call(e[0])}),i),e.data(o,s)}))}}(jQuery),$(document).ready((function(){"use strict";breakHalf(),initIframes(),FastClick.attach(document.body),$("img").each((function(t,e){$(this).attr("alt")||$(this).attr("alt",document.title),$(this).attr("title")||$(this).attr("title",document.title)})),detectIE()&&$("html").addClass("is-ie"),detectIOS()&&$("html").addClass("ios")})),$(window).resized((function(){initEqualizer()})),function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define("scrollMonitor",[],e):"object"==typeof exports?exports.scrollMonitor=e():t.scrollMonitor=e()}(this,(function(){return function(t){function e(n){if(i[n])return i[n].exports;
34var o=i[n]={exports:{},id:n,loaded:!1};return t[n].call(o.exports,o,o.exports,e),o.loaded=!0,o.exports}var i={};return e.m=t,e.c=i,e.p="",e(0)}([function(t,e,i){"use strict";var n=i(1).isInBrowser,o=new(i(2))(n?document.body:null);o.setStateFromDOM(null),o.listenToDOM(),n&&(window.scrollMonitor=o),t.exports=o},function(t,e){"use strict";e.VISIBILITYCHANGE="visibilityChange",e.ENTERVIEWPORT="enterViewport",e.FULLYENTERVIEWPORT="fullyEnterViewport",e.EXITVIEWPORT="exitViewport",e.PARTIALLYEXITVIEWPORT="partiallyExitViewport",e.LOCATIONCHANGE="locationChange",e.STATECHANGE="stateChange",e.eventTypes=[e.VISIBILITYCHANGE,e.ENTERVIEWPORT,e.FULLYENTERVIEWPORT,e.EXITVIEWPORT,e.PARTIALLYEXITVIEWPORT,e.LOCATIONCHANGE,e.STATECHANGE],e.isOnServer="undefined"==typeof window,e.isInBrowser=!e.isOnServer,e.defaultOffsets={top:0,bottom:0}},function(t,e,i){"use strict";function n(t){return a?0:t===document.body?window.innerHeight||document.documentElement.clientHeight:t.clientHeight}function o(t){return a?0:t===document.body?Math.max(document.body.scrollHeight,document.documentElement.scrollHeight,document.body.offsetHeight,document.documentElement.offsetHeight,document.documentElement.clientHeight):t.scrollHeight}function s(t){return a?0:t===document.body?window.pageYOffset||document.documentElement&&document.documentElement.scrollTop||document.body.scrollTop:t.scrollTop}var r=i(1),a=r.isOnServer,l=r.isInBrowser,c=r.eventTypes,d=i(3),p=function(){function t(e,i){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t);var r,a,l,d=this;this.item=e,this.watchers=[],this.viewportTop=null,this.viewportBottom=null,this.documentHeight=o(e),this.viewportHeight=n(e),this.DOMListener=function(){t.prototype.DOMListener.apply(d,arguments)},this.eventTypes=c,i&&(this.containerWatcher=i.create(e)),this.update=function(){(function(){if(d.viewportTop=s(e),d.viewportBottom=d.viewportTop+d.viewportHeight,d.documentHeight=o(e),d.documentHeight!==r){for(a=d.watchers.length;a--;)d.watchers[a].recalculateLocation();r=d.documentHeight}})(),function(){for(l=d.watchers.length;l--;)d.watchers[l].update();for(l=d.watchers.length;l--;)d.watchers[l].triggerCallbacks()}()},this.recalculateLocations=function(){this.documentHeight=0,this.update()}}return t.prototype.listenToDOM=function(){l&&(window.addEventListener?(this.item===document.body?window.addEventListener("scroll",this.DOMListener):this.item.addEventListener("scroll",this.DOMListener),window.addEventListener("resize",this.DOMListener)):(this.item===document.body?window.attachEvent("onscroll",this.DOMListener):this.item.attachEvent("onscroll",this.DOMListener),window.attachEvent("onresize",this.DOMListener)),this.destroy=function(){window.addEventListener?(this.item===document.body?(window.removeEventListener("scroll",this.DOMListener),this.containerWatcher.destroy()):this.item.removeEventListener("scroll",this.DOMListener),window.removeEventListener("resize",this.DOMListener)):(this.item===document.body?(window.detachEvent("onscroll",this.DOMListener),this.containerWatcher.destroy()):this.item.detachEvent("onscroll",this.DOMListener),window.detachEvent("onresize",this.DOMListener))})},t.prototype.destroy=function(){},t.prototype.DOMListener=function(t){this.setStateFromDOM(t)},t.prototype.setStateFromDOM=function(t){var e=s(this.item),i=n(this.item),r=o(this.item);this.setState(e,i,r,t)},t.prototype.setState=function(t,e,i,n){var o=e!==this.viewportHeight||i!==this.contentHeight;if(this.latestEvent=n,this.viewportTop=t,this.viewportHeight=e,this.viewportBottom=t+e,this.contentHeight=i,o)for(var s=this.watchers.length;s--;)this.watchers[s].recalculateLocation();this.updateAndTriggerWatchers(n)},t.prototype.updateAndTriggerWatchers=function(t){for(var e=this.watchers.length;e--;)this.watchers[e].update();for(e=this.watchers.length;e--;)this.watchers[e].triggerCallbacks(t)},t.prototype.createCustomContainer=function(){return new t},t.prototype.createContainer=function(e){"string"==typeof e?e=document.querySelector(e):e&&e.length>0&&(e=e[0]);var i=new t(e,this);return i.setStateFromDOM(),i.listenToDOM(),i},t.prototype.create=function(t,e){"string"==typeof t?t=document.querySelector(t):t&&t.length>0&&(t=t[0]);var i=new d(this,t,e);return this.watchers.push(i),i},t.prototype.beget=function(t,e){return this.create(t,e)},t}();t.exports=p}
34,function(t,e,i){"use strict";function n(t,e,i){function n(t,e){if(0!==t.length)for(v=t.length;v--;)(_=t[v]).callback.call(y,e,y),_.isOne&&t.splice(v,1)}var o,f,m,g,v,_,y=this;this.watchItem=e,this.container=t,this.offsets=i?i===+i?{top:i,bottom:i}:{top:i.top||h.top,bottom:i.bottom||h.bottom}:h,this.callbacks={};for(var w=0,b=u.length;w<b;w++)y.callbacks[u[w]]=[];this.locked=!1,this.triggerCallbacks=function(t){switch(this.isInViewport&&!o&&n(this.callbacks[r],t),this.isFullyInViewport&&!f&&n(this.callbacks[a],t),this.isAboveViewport!==m&&this.isBelowViewport!==g&&(n(this.callbacks[s],t),f||this.isFullyInViewport||(n(this.callbacks[a],t),n(this.callbacks[c],t)),o||this.isInViewport||(n(this.callbacks[r],t),n(this.callbacks[l],t))),!this.isFullyInViewport&&f&&n(this.callbacks[c],t),!this.isInViewport&&o&&n(this.callbacks[l],t),this.isInViewport!==o&&n(this.callbacks[s],t),!0){case o!==this.isInViewport:case f!==this.isFullyInViewport:case m!==this.isAboveViewport:case g!==this.isBelowViewport:n(this.callbacks[p],t)}o=this.isInViewport,f=this.isFullyInViewport,m=this.isAboveViewport,g=this.isBelowViewport},this.recalculateLocation=function(){
35if(!this.locked){var t=this.top,e=this.bottom;if(this.watchItem.nodeName){var i=this.watchItem.style.display;"none"===i&&(this.watchItem.style.display="");for(var o=0,s=this.container;s.containerWatcher;)o+=s.containerWatcher.top-s.containerWatcher.container.viewportTop,s=s.containerWatcher.container;var r=this.watchItem.getBoundingClientRect();this.top=r.top+this.container.viewportTop-o,this.bottom=r.bottom+this.container.viewportTop-o,"none"===i&&(this.watchItem.style.display=i)}else this.watchItem===+this.watchItem?this.watchItem>0?this.top=this.bottom=this.watchItem:this.top=this.bottom=this.container.documentHeight-this.watchItem:(this.top=this.watchItem.top,this.bottom=this.watchItem.bottom);this.top-=this.offsets.top,this.bottom+=this.offsets.bottom,this.height=this.bottom-this.top,void 0===t&&void 0===e||this.top===t&&this.bottom===e||n(this.callbacks[d],null)}},this.recalculateLocation(),this.update(),o=this.isInViewport,f=this.isFullyInViewport,m=this.isAboveViewport,g=this.isBelowViewport}var o=i(1),s=o.VISIBILITYCHANGE,r=o.ENTERVIEWPORT,a=o.FULLYENTERVIEWPORT,l=o.EXITVIEWPORT,c=o.PARTIALLYEXITVIEWPORT,d=o.LOCATIONCHANGE,p=o.STATECHANGE,u=o.eventTypes,h=o.defaultOffsets;n.prototype={on:function(t,e,i){switch(!0){case t===s&&!this.isInViewport&&this.isAboveViewport:case t===r&&this.isInViewport:case t===a&&this.isFullyInViewport:case t===l&&this.isAboveViewport&&!this.isInViewport:case t===c&&this.isInViewport&&this.isAboveViewport:if(e.call(this,this.container.latestEvent,this),i)return}if(!this.callbacks[t])throw new Error("Tried to add a scroll monitor listener of type "+t+". Your options are: "+u.join(", "));this.callbacks[t].push({callback:e,isOne:i||!1})},off:function(t,e){if(!this.callbacks[t])throw new Error("Tried to remove a scroll monitor listener of type "+t+". Your options are: "+u.join(", "));for(var i,n=0;i=this.callbacks[t][n];n++)if(i.callback===e){this.callbacks[t].splice(n,1);break}},one:function(t,e){this.on(t,e,!0)},recalculateSize:function(){this.height=this.watchItem.offsetHeight+this.offsets.top+this.offsets.bottom,this.bottom=this.top+this.height},update:function(){this.isAboveViewport=this.top<this.container.viewportTop,this.isBelowViewport=this.bottom>this.container.viewportBottom,this.isInViewport=this.top<this.container.viewportBottom&&this.bottom>this.container.viewportTop,this.isFullyInViewport=this.top>=this.container.viewportTop&&this.bottom<=this.container.viewportBottom||this.isAboveViewport&&this.isBelowViewport},destroy:function(){var t=this.container.watchers.indexOf(this);this.container.watchers.splice(t,1);for(var e=0,i=u.length;e<i;e++)this.callbacks[u[e]].length=0},lock:function(){this.locked=!0},unlock:function(){this.locked=!1}};for(var f=function(t){return function(e,i){this.on.call(this,t,e,i)}},m=0,g=u.length;m<g;m++){var v=u[m];n.prototype[v]=f(v)}t.exports=n}])})),function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):"undefined"!=typeof exports?module.exports=t(require("jquery")):t(jQuery)}((function(t){"use strict";var e,i=window.Slick||{};e=0,(i=function(i,n){var o,s=this;s.defaults={accessibility:!0,adaptiveHeight:!1,fullHeight:!1,appendArrows:t(i),appendDots:t(i),arrows:!0,asNavFor:null,effectArrow:"default",prevArrow:'<button class="slick-prev" aria-label="Previous" type="button">Previous</button>',nextArrow:'<button class="slick-next" aria-label="Next" type="button">Next</button>',autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(e,i){return t('<button type="button" />').text(i+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,focusOnChange:!1,infinite:!0,initialSlide:0,lazyLoad:"ondemand",mobileFirst:!1,pauseOnHover:!0,pauseOnFocus:!0,pauseOnDotsHover:!1,respondTo:"window",responsive:null,rows:0,rtl:!1,slide:"",slidesPerRow:1,slidesToShow:1,slidesToScroll:1,speed:500,swipe:!0,swipeToSlide:!0,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,verticalSwiping:!1,waitForAnimate:!0,zIndex:1e3},s.initials={animating:!1,dragging:!1,autoPlayTimer:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,$dots:null,listWidth:null,listHeight:null,loadIndex:0,$nextArrow:null,$prevArrow:null,scrolling:!1,slideCount:null,slideWidth:null,$slideTrack:null,$slides:null,
35sliding:!1,slideOffset:0,swipeLeft:null,swiping:!1,$list:null,touchObject:{},transformsEnabled:!1,unslicked:!1},t.extend(s,s.initials),s.activeBreakpoint=null,s.animType=null,s.animProp=null,s.breakpoints=[],s.breakpointSettings=[],s.cssTransitions=!1,s.focussed=!1,s.interrupted=!1,s.hidden="hidden",s.paused=!0,s.positionProp=null,s.respondTo=null,s.rowCount=1,s.shouldClick=!0,s.$slider=t(i),s.$slidesCache=null,s.transformType=null,s.transitionType=null,s.visibilityChange="visibilitychange",s.windowWidth=0,s.windowTimer=null,o=t(i).data("slick")||{},s.options=t.extend({},s.defaults,n,o),s.currentSlide=s.options.initialSlide,s.originalSettings=s.options,void 0!==document.mozHidden?(s.hidden="mozHidden",s.visibilityChange="mozvisibilitychange"):void 0!==document.webkitHidden&&(s.hidden="webkitHidden",s.visibilityChange="webkitvisibilitychange"),s.autoPlay=t.proxy(s.autoPlay,s),s.autoPlayClear=t.proxy(s.autoPlayClear,s),s.autoPlayIterator=t.proxy(s.autoPlayIterator,s),s.changeSlide=t.proxy(s.changeSlide,s),s.clickHandler=t.proxy(s.clickHandler,s),s.selectHandler=t.proxy(s.selectHandler,s),s.setPosition=t.proxy(s.setPosition,s),s.swipeHandler=t.proxy(s.swipeHandler,s),s.dragHandler=t.proxy(s.dragHandler,s),s.keyHandler=t.proxy(s.keyHandler,s),s.instanceUid=e++,s.htmlExpr=/^(?:\s*(<[\w\W]+>)[^>]*)$/,s.registerBreakpoints(),s.init(!0)}).prototype.activateADA=function(){this.$slideTrack.find(".slick-active").attr({"aria-hidden":"false"}).find("a, input, button, select").attr({tabindex:"0"})},i.prototype.addSlide=i.prototype.slickAdd=function(e,i,n){var o=this;if("boolean"==typeof i)n=i,i=null;else if(i<0||i>=o.slideCount)return!1;o.unload(),"number"==typeof i?0===i&&0===o.$slides.length?t(e).appendTo(o.$slideTrack):n?t(e).insertBefore(o.$slides.eq(i)):t(e).insertAfter(o.$slides.eq(i)):!0===n?t(e).prependTo(o.$slideTrack):t(e).appendTo(o.$slideTrack),o.$slides=o.$slideTrack.children(this.options.slide),o.$slideTrack.children(this.options.slide).detach(),o.$slideTrack.append(o.$slides),o.$slides.each((function(e,i){t(i).attr("data-slick-index",e)})),o.$slidesCache=o.$slides,o.reinit()},i.prototype.animateHeight=function(){var t=this;if(1===t.options.slidesToShow&&!0===t.options.adaptiveHeight&&!1===t.options.vertical){var e=t.$slides.eq(t.currentSlide).outerHeight(!0);t.$list.animate({height:e},t.options.speed)}},i.prototype.animateSlide=function(e,i){var n={},o=this;o.animateHeight(),!0===o.options.rtl&&!1===o.options.vertical&&(e=-e),!1===o.transformsEnabled?!1===o.options.vertical?o.$slideTrack.animate({left:e},o.options.speed,o.options.easing,i):o.$slideTrack.animate({top:e},o.options.speed,o.options.easing,i):!1===o.cssTransitions?(!0===o.options.rtl&&(o.currentLeft=-o.currentLeft),t({animStart:o.currentLeft}).animate({animStart:e},{duration:o.options.speed,easing:o.options.easing,step:function(t){t=Math.ceil(t),!1===o.options.vertical?(n[o.animType]="translate("+t+"px, 0px)",o.$slideTrack.css(n)):(n[o.animType]="translate(0px,"+t+"px)",o.$slideTrack.css(n))},complete:function(){i&&i.call()}})):(o.applyTransition(),e=Math.ceil(e),!1===o.options.vertical?n[o.animType]="translate3d("+e+"px, 0px, 0px)":n[o.animType]="translate3d(0px,"+e+"px, 0px)",o.$slideTrack.css(n),i&&setTimeout((function(){o.disableTransition(),i.call()}),o.options.speed))},i.prototype.getNavTarget=function(){var e=this.options.asNavFor;return e&&null!==e&&(e=t(e).not(this.$slider)),e},i.prototype.asNavFor=function(e){var i=this.getNavTarget();null!==i&&"object"==typeof i&&i.each((function(){var i=t(this).slick("getSlick");i.unslicked||i.slideHandler(e,!0)}))},i.prototype.applyTransition=function(t){var e=this,i={};!1===e.options.fade?i[e.transitionType]=e.transformType+" "+e.options.speed+"ms "+e.options.cssEase:i[e.transitionType]="opacity "+e.options.speed+"ms "+e.options.cssEase,!1===e.options.fade?e.$slideTrack.css(i):e.$slides.eq(t).css(i)},i.prototype.autoPlay=function(){var t=this;t.autoPlayClear(),t.slideCount>t.options.slidesToShow&&(t.autoPlayTimer=setInterval(t.autoPlayIterator,t.options.autoplaySpeed))},i.prototype.autoPlayClear=function(){this.autoPlayTimer&&clearInterval(this.autoPlayTimer)},i.prototype.autoPlayIterator=function(){var t=this,e=t.currentSlide+t.options.slidesToScroll;
35t.paused||t.interrupted||t.focussed||(!1===t.options.infinite&&(1===t.direction&&t.currentSlide+1===t.slideCount-1?t.direction=0:0===t.direction&&(e=t.currentSlide-t.options.slidesToScroll,t.currentSlide-1==0&&(t.direction=1))),t.slideHandler(e))},i.prototype.buildArrows=function(){var e=this;!0===e.options.arrows&&(e.$prevArrow=t(e.options.prevArrow).addClass("slick-arrow"),e.$nextArrow=t(e.options.nextArrow).addClass("slick-arrow"),e.slideCount>e.options.slidesToShow?(e.$prevArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),e.$nextArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),e.htmlExpr.test(e.options.prevArrow)&&e.$prevArrow.prependTo(e.options.appendArrows),e.htmlExpr.test(e.options.nextArrow)&&e.$nextArrow.appendTo(e.options.appendArrows),!0!==e.options.infinite&&e.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true")):e.$prevArrow.add(e.$nextArrow).addClass("slick-hidden").attr({"aria-disabled":"true",tabindex:"-1"}),e.imageArrows())},i.prototype.buildDots=function(){var e,i,n=this;if(n.slideCount>n.options.slidesToShow&&n.$slider.addClass("slick-cursorReady"),!0===n.options.dots&&n.slideCount>n.options.slidesToShow){for(n.$slider.addClass("slick-dotted"),i=t("<ul />").addClass(n.options.dotsClass),e=0;e<=n.getDotCount();e+=1)i.append(t("<li />").append(n.options.customPaging.call(this,n,e)));n.$dots=i.appendTo(n.options.appendDots),n.$dots.find("li").first().addClass("slick-active")}},i.prototype.buildOut=function(){var e=this;e.$slides=e.$slider.children(e.options.slide+":not(.slick-cloned)").addClass("slick-slide"),e.slideCount=e.$slides.length,e.$slides.each((function(e,i){t(i).attr("data-slick-index",e).data("originalStyling",t(i).attr("style")||"")})),e.$slider.addClass("slick-slider"),e.$slideTrack=0===e.slideCount?t('<div class="slick-track"/>').appendTo(e.$slider):e.$slides.wrapAll('<div class="slick-track"/>').parent(),e.$list=e.$slideTrack.wrap('<div class="slick-list"/>').parent(),e.$slideTrack.css("opacity",0),!0!==e.options.centerMode&&!0!==e.options.swipeToSlide||(e.options.slidesToScroll=1),t("img[data-lazy]",e.$slider).not("[src]").addClass("slick-loading"),e.setupInfinite(),e.buildArrows(),e.buildDots(),e.updateDots(),e.setSlideClasses("number"==typeof e.currentSlide?e.currentSlide:0),!0===e.options.draggable&&e.$list.addClass("draggable")},i.prototype.buildRows=function(){var t,e,i,n,o,s,r,a=this;if(n=document.createDocumentFragment(),s=a.$slider.children(),a.options.rows>0){for(r=a.options.slidesPerRow*a.options.rows,o=Math.ceil(s.length/r),t=0;t<o;t++){var l=document.createElement("div");for(e=0;e<a.options.rows;e++){var c=document.createElement("div");for(i=0;i<a.options.slidesPerRow;i++){var d=t*r+(e*a.options.slidesPerRow+i);s.get(d)&&c.appendChild(s.get(d))}l.appendChild(c)}n.appendChild(l)}a.$slider.empty().append(n),a.$slider.children().children().children().css({width:100/a.options.slidesPerRow+"%",display:"inline-block"})}},i.prototype.checkResponsive=function(e,i){var n,o,s,r=this,a=!1,l=r.$slider.width(),c=window.innerWidth||t(window).width();if("window"===r.respondTo?s=c:"slider"===r.respondTo?s=l:"min"===r.respondTo&&(s=Math.min(c,l)),r.options.responsive&&r.options.responsive.length&&null!==r.options.responsive){for(n in o=null,r.breakpoints)r.breakpoints.hasOwnProperty(n)&&(!1===r.originalSettings.mobileFirst?s<r.breakpoints[n]&&(o=r.breakpoints[n]):s>r.breakpoints[n]&&(o=r.breakpoints[n]));null!==o?null!==r.activeBreakpoint?(o!==r.activeBreakpoint||i)&&(r.activeBreakpoint=o,"unslick"===r.breakpointSettings[o]?r.unslick(o):(r.options=t.extend({},r.originalSettings,r.breakpointSettings[o]),!0===e&&(r.currentSlide=r.options.initialSlide),r.refresh(e)),a=o):(r.activeBreakpoint=o,"unslick"===r.breakpointSettings[o]?r.unslick(o):(r.options=t.extend({},r.originalSettings,r.breakpointSettings[o]),!0===e&&(r.currentSlide=r.options.initialSlide),r.refresh(e)),a=o):null!==r.activeBreakpoint&&(r.activeBreakpoint=null,r.options=r.originalSettings,!0===e&&(r.currentSlide=r.options.initialSlide),r.refresh(e),a=o),e||!1===a||r.$slider.trigger("breakpoint",[r,a])}},i.prototype.changeSlide=function(e,i){var n,o,s=this,r=t(e.currentTarget);switch(r.is("a")&&e.preventDefault(),r.is("li")||(r=r.closest("li")),n=s.slideCount%s.options.slidesToScroll!=0?0:(s.slideCount-s.currentSlide)%s.options.slidesToScroll,e.data.message){case"previous":o=0===n?s.options.slidesToScroll:s.options.slidesToShow-n,s.slideCount>s.options.slidesToShow&&s.slideHandler(s.currentSlide-o,!1,i);break;case"next":o=0===n?s.options.slidesToScroll:n,s.slideCount>s.options.slidesToShow&&s.slideHandler(s.currentSlide+o,!1,i);break;case"index":var a=0===e.data.index?0:e.data.index||r.index()*s.options.slidesToScroll;s.slideHandler(s.checkNavigable(a),!1,i),r.children().trigger("focus");break;default:return}},i.prototype.checkNavigable=function(t){var e,i;if(i=0,t>(e=this.getNavigableIndexes())[e.length-1])t=e[e.length-1];else for(var n in e){if(t<e[n]){t=i;break}i=e[n]}return t},i.prototype.cleanUpEvents=function(){var e=this;e.options.dots&&null!==e.$dots&&(t("li",e.$dots).off("click.slick",e.changeSlide).off("mouseenter.slick",t.proxy(e.interrupt,e,!0)).off("mouseleave.
35slick",t.proxy(e.interrupt,e,!1)),!0===e.options.accessibility&&e.$dots.off("keydown.slick",e.keyHandler)),e.$slider.off("focus.slick blur.slick"),!0===e.options.arrows&&e.slideCount>e.options.slidesToShow&&(e.$prevArrow&&e.$prevArrow.off("click.slick",e.changeSlide),e.$nextArrow&&e.$nextArrow.off("click.slick",e.changeSlide),!0===e.options.accessibility&&(e.$prevArrow&&e.$prevArrow.off("keydown.slick",e.keyHandler),e.$nextArrow&&e.$nextArrow.off("keydown.slick",e.keyHandler))),e.$list.off("touchstart.slick mousedown.slick",e.swipeHandler),e.$list.off("touchmove.slick mousemove.slick",e.swipeHandler),e.$list.off("touchend.slick mouseup.slick",e.swipeHandler),e.$list.off("touchcancel.slick mouseleave.slick",e.swipeHandler),e.$list.off("click.slick",e.clickHandler),t(document).off(e.visibilityChange,e.visibility),e.cleanUpSlideEvents(),!0===e.options.accessibility&&e.$list.off("keydown.slick",e.keyHandler),!0===e.options.focusOnSelect&&t(e.$slideTrack).children().off("click.slick",e.selectHandler),t(window).off("orientationchange.slick.slick-"+e.instanceUid,e.orientationChange),t(window).off("resize.slick.slick-"+e.instanceUid,e.resize),t("[draggable!=true]",e.$slideTrack).off("dragstart",e.preventDefault),t(window).off("load.slick.slick-"+e.instanceUid,e.setPosition)},i.prototype.cleanUpSlideEvents=function(){var e=this;e.$list.off("mouseenter.slick",t.proxy(e.interrupt,e,!0)),e.$list.off("mouseleave.slick",t.proxy(e.interrupt,e,!1))},i.prototype.cleanUpRows=function(){var t,e=this;e.options.rows>0&&((t=e.$slides.children().children()).removeAttr("style"),e.$slider.empty().append(t))},i.prototype.clickHandler=function(t){!1===this.shouldClick&&(t.stopImmediatePropagation(),t.stopPropagation(),t.preventDefault())},i.prototype.destroy=function(e){var i=this;i.autoPlayClear(),i.touchObject={},i.cleanUpEvents(),t(".slick-cloned",i.$slider).detach(),i.$dots&&i.$dots.remove(),i.$prevArrow&&i.$prevArrow.length&&(i.$prevArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),i.htmlExpr.test(i.options.prevArrow)&&i.$prevArrow.remove()),i.$nextArrow&&i.$nextArrow.length&&(i.$nextArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),i.htmlExpr.test(i.options.nextArrow)&&i.$nextArrow.remove()),i.$slides&&(i.$slides.removeClass("slick-slide slick-active slick-center slick-visible slick-current").removeAttr("aria-hidden").removeAttr("data-slick-index").each((function(){t(this).attr("style",t(this).data("originalStyling"))})),i.$slideTrack.children(this.options.slide).detach(),i.$slideTrack.detach(),i.$list.detach(),i.$slider.append(i.$slides)),i.cleanUpRows(),i.$slider.removeClass("slick-slider"),i.$slider.removeClass("slick-initialized"),i.$slider.removeClass("slick-dotted"),i.$slider.removeClass("slick-cursorReady"),i.unslicked=!0,e||i.$slider.trigger("destroy",[i])},i.prototype.disableTransition=function(t){var e=this,i={};i[e.transitionType]="",!1===e.options.fade?e.$slideTrack.css(i):e.$slides.eq(t).css(i)},i.prototype.fadeSlide=function(t,e){var i=this;!1===i.cssTransitions?(i.$slides.eq(t).css({zIndex:i.options.zIndex}),i.$slides.eq(t).animate({opacity:1},i.options.speed,i.options.easing,e)):(i.applyTransition(t),i.$slides.eq(t).css({opacity:1,zIndex:i.options.zIndex}),e&&setTimeout((function(){i.disableTransition(t),e.call()}),i.options.speed))},i.prototype.fadeSlideOut=function(t){var e=this;!1===e.cssTransitions?e.$slides.eq(t).animate({opacity:0,zIndex:e.options.zIndex-2},e.options.speed,e.options.easing):(e.applyTransition(t),e.$slides.eq(t).css({opacity:0,zIndex:e.options.zIndex-2}))},i.prototype.filterSlides=i.prototype.slickFilter=function(t){var e=this;null!==t&&(e.$slidesCache=e.$slides,e.unload(),e.$slideTrack.children(this.options.slide).detach(),e.$slidesCache.filter(t).appendTo(e.$slideTrack),e.reinit())},i.prototype.focusHandler=function(){var e=this;e.$slider.off("focus.slick blur.slick").on("focus.slick blur.slick","*",(function(i){i.stopImmediatePropagation();var n=t(this);setTimeout((function(){e.options.pauseOnFocus&&(e.focussed=n.is(":focus"),e.autoPlay())}),0)}))},i.prototype.getCurrent=i.prototype.slickCurrentSlide=function(){return this.currentSlide},i.prototype.getDotCount=function(){var t=this,e=0,i=0,n=0;if(!0===t.options.infinite)if(t.slideCount<=t.options.slidesToShow)++n;else for(;e<t.slideCount;)++n,e=i+t.options.slidesToScroll,i+=t.options.slidesToScroll<=t.options.slidesToShow?t.options.slidesToScroll:t.options.slidesToShow;else if(!0===t.options.centerMode)n=t.slideCount;else if(t.options.asNavFor)for(;e<t.slideCount;)++n,e=i+t.options.slidesToScroll,i+=t.options.slidesToScroll<=t.options.slidesToShow?t.options.slidesToScroll:t.options.slidesToShow;else n=1+Math.ceil((t.slideCount-t.options.slidesToShow)/t.options.slidesToScroll);return n-1},i.prototype.getLeft=function(t){var e,i,n,o,s=this,r=0;return s.slideOffset=0,i=s.$slides.first().outerHeight(!0),!0===s.options.infinite?(s.slideCount>s.options.slidesToShow&&(s.slideOffset=s.slideWidth*s.options.slidesToShow*-1,o=-1,!0===s.options.vertical&&!0===s.options.centerMode&&(2===s.options.slidesToShow?o=-1.5:1===s.options.slidesToShow&&(o=-2)),r=i*s.options.slidesToShow*o),s.slideCount%s.options.slidesToScroll!=0&&t+s.options.slidesToScroll>s.slideCount&&s.slideCount>s.options.slidesToShow&&(t>s.slideCount?(s.slideOffset=(s.options.slidesToShow-(t-s.slideCount))*s.slideWidth*-1,r=(s.options.slidesToShow-(t-s.slideCount))*i*-1):(s.slideOffset=s.slideCount%s.options.slidesToScroll*s.slideWidth*-1,r=s.slideCount%s.options.slidesToScroll*i*-1))):t+s.options.slidesToShow>s.slideCount&&(s.slideOffset=(t+s.options.slidesToShow-s.slideCount)*s.slideWidth,r=(t+s.options.slidesToShow-s.slideCount)*i),s.slideCount<=s.options.slidesToShow&&(s.slideOffset=0,r=0),!0===s.options.centerMode&&s.slideCount<=s.options.slidesToShow?s.slideOffset=s.slideWidth*Math.floor(s.options.slidesToShow)/2-s.slideWidth*s.slideCount/2:!0===s.options.centerMode&&!0===s.options.infinite?s.slideOffset+=s.slideWidth*Math.floor(s.options.slidesToShow/2)-s.slideWidth:!0===s.options.centerMode&&(s.slideOffset=0,s.slideOffset+=s.slideWidth*Math.floor(s.options.slidesToShow/2)),e=!1===s.options.vertical?t*s.slideWidth*-1+s.slideOffset:t*i*-1+r,!0===s.options.variableWidth&&(n=s.slideCount<=s.options.slidesToShow||!1===s.options.infinite?s.$slideTrack.children(".slick-slide").eq(t):s.$slideTrack.children(".slick-slide").eq(t+s.options.slidesToShow),e=!0===s.options.rtl?n[0]?-1*(s.$slideTrack.width()-n[0].offsetLeft-n.width()):0:n[0]?-1*n[0].offsetLeft:0,!0===s.options.centerMode&&(n=s.slideCount<=s.options.slidesToShow||!1===s.options.infinite?s.$slideTrack.children(".slick-slide").eq(t):s.$slideTrack.children(".slick-slide").eq(t+s.options.slidesToShow+1),e=!0===s.options.rtl?n[0]?-1*(s.$slideTrack.width()-n[0].offsetLeft-n.width()):0:n[0]?-1*n[0].offsetLeft:0,e+=(s.$list.width()-n.outerWidth())/2)),e},i.prototype.getOption=i.prototype.slickGetOption=function(t){return this.options[t]},i.prototype.getNavigableIndexes=function(){var t,e=this,i=0,n=0,o=[];for(!1===e.options.infinite?t=e.slideCount:(i=-1*e.options.slidesToScroll,n=-1*e.options.slidesToScroll,t=2*e.slideCount);i<t;)o.push(i),i=n+e.options.slidesToScroll,n+=e.options.slidesToScroll<=e.options.slidesToShow?e.options.slidesToScroll:e.options.slidesToShow;return o},i.prototype.getSlick=function(){return this},i.prototype.getSlideCount=function(){var e,i,n=this;return i=!0===n.options.centerMode?n.slideWidth*Math.floor(n.options.slidesToShow/2):0,!0===n.options.swipeToSlide?(n.$slideTrack.find(".slick-slide").each((function(o,s){if(s.offsetLeft-i+t(s).outerWidth()/2>-1*n.swipeLeft)return e=s,!1})),Math.abs(t(e).attr("data-slick-index")-n.currentSlide)||1):n.options.slidesToScroll},i.prototype.goTo=i.prototype.slickGoTo=function(t,e){this.changeSlide({data:{message:"index",index:
35parseInt(t)}},e)},i.prototype.init=function(e){var i=this;t(i.$slider).hasClass("slick-initialized")||(t(i.$slider).addClass("slick-initialized"),i.buildRows(),i.buildOut(),i.setProps(),i.startLoad(),i.loadSlider(),i.initializeEvents(),i.updateArrows(),i.updateDots(),i.checkResponsive(!0),i.focusHandler()),e&&i.$slider.trigger("init",[i]),!0===i.options.accessibility&&i.initADA(),i.options.autoplay&&(i.paused=!1,i.autoPlay())},i.prototype.initADA=function(){var e=this,i=Math.ceil(e.slideCount/e.options.slidesToShow),n=e.getNavigableIndexes().filter((function(t){return t>=0&&t<e.slideCount}));e.$slides.add(e.$slideTrack.find(".slick-cloned")).attr({"aria-hidden":"true",tabindex:"-1"}).find("a, input, button, select").attr({tabindex:"-1"}),null!==e.$dots&&(e.$slides.not(e.$slideTrack.find(".slick-cloned")).each((function(i){var o=n.indexOf(i);if(t(this).attr({role:"tabpanel",id:"slick-slide"+e.instanceUid+i,tabindex:-1}),-1!==o){var s="slick-slide-control"+e.instanceUid+o;t("#"+s).length&&t(this).attr({"aria-describedby":s})}})),e.$dots.attr("role","tablist").find("li").each((function(o){var s=n[o];t(this).attr({role:"presentation"}),t(this).find("button").first().attr({role:"tab",id:"slick-slide-control"+e.instanceUid+o,"aria-controls":"slick-slide"+e.instanceUid+s,"aria-label":o+1+" of "+i,"aria-selected":null,tabindex:"-1"})})).eq(e.currentSlide).find("button").attr({"aria-selected":"true",tabindex:"0"}).end());for(var o=e.currentSlide,s=o+e.options.slidesToShow;o<s;o++)e.options.focusOnChange?e.$slides.eq(o).attr({tabindex:"0"}):e.$slides.eq(o).removeAttr("tabindex");e.activateADA()},i.prototype.initArrowEvents=function(){var t=this;!0===t.options.arrows&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow.off("click.slick").on("click.slick",{message:"previous"},t.changeSlide),t.$nextArrow.off("click.slick").on("click.slick",{message:"next"},t.changeSlide),!0===t.options.accessibility&&(t.$prevArrow.on("keydown.slick",t.keyHandler),t.$nextArrow.on("keydown.slick",t.keyHandler)))},i.prototype.initDotEvents=function(){var e=this;!0===e.options.dots&&e.slideCount>e.options.slidesToShow&&(t("li",e.$dots).on("click.slick",{message:"index"},e.changeSlide),!0===e.options.accessibility&&e.$dots.on("keydown.slick",e.keyHandler)),!0===e.options.dots&&!0===e.options.pauseOnDotsHover&&e.slideCount>e.options.slidesToShow&&t("li",e.$dots).on("mouseenter.slick",t.proxy(e.interrupt,e,!0)).on("mouseleave.slick",t.proxy(e.interrupt,e,!1))},i.prototype.initSlideEvents=function(){var e=this;e.options.pauseOnHover&&(e.$list.on("mouseenter.slick",t.proxy(e.interrupt,e,!0)),e.$list.on("mouseleave.slick",t.proxy(e.interrupt,e,!1)))},i.prototype.initializeEvents=function(){var e=this;e.initArrowEvents(),e.initDotEvents(),e.initSlideEvents(),e.$list.on("touchstart.slick mousedown.slick",{action:"start"},e.swipeHandler),e.$list.on("touchmove.slick mousemove.slick",{action:"move"},e.swipeHandler),e.$list.on("touchend.slick mouseup.slick",{action:"end"}
35,e.swipeHandler),e.$list.on("touchcancel.slick mouseleave.slick",{action:"end"},e.swipeHandler),e.$list.on("click.slick",e.clickHandler),t(document).on(e.visibilityChange,t.proxy(e.visibility,e)),!0===e.options.accessibility&&e.$list.on("keydown.slick",e.keyHandler),!0===e.options.focusOnSelect&&t(e.$slideTrack).children().on("click.slick",e.selectHandler),t(window).on("orientationchange.slick.slick-"+e.instanceUid,t.proxy(e.orientationChange,e)),t(window).on("resize.slick.slick-"+e.instanceUid,t.proxy(e.resize,e)),t("[draggable!=true]",e.$slideTrack).on("dragstart",e.preventDefault),t(window).on("load.slick.slick-"+e.instanceUid,e.setPosition),t(e.setPosition)},i.prototype.initUI=function(){var t=this;!0===t.options.arrows&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow.show(),t.$nextArrow.show()),!0===t.options.dots&&t.slideCount>t.options.slidesToShow&&t.$dots.show()},i.prototype.keyHandler=function(t){var e=this;t.target.tagName.match("TEXTAREA|INPUT|SELECT")||(37===t.keyCode&&!0===e.options.accessibility?e.changeSlide({data:{message:!0===e.options.rtl?"next":"previous"}}):39===t.keyCode&&!0===e.options.accessibility&&e.changeSlide({data:{message:!0===e.options.rtl?"previous":"next"}}))},i.prototype.lazyLoad=function(){var e,i,n,o=this;function s(e){t("img[data-lazy]",e).each((function(){var e=t(this),i=t(this).attr("data-lazy"),n=t(this).attr("data-srcset"),s=t(this).attr("data-sizes")||o.$slider.attr("data-sizes"),r=document.createElement("img");r.onload=function(){e.animate({opacity:0}
35,100,(function(){n&&(e.attr("srcset",n),s&&e.attr("sizes",s)),e.attr("src",i).animate({opacity:1},200,(function(){e.removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading")})),o.$slider.trigger("lazyLoaded",[o,e,i])}))},r.onerror=function(){e.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),o.$slider.trigger("lazyLoadError",[o,e,i])},r.src=i}))}if(!0===o.options.centerMode?!0===o.options.infinite?n=(i=o.currentSlide+(o.options.slidesToShow/2+1))+o.options.slidesToShow+2:(i=Math.max(0,o.currentSlide-(o.options.slidesToShow/2+1)),n=o.options.slidesToShow/2+1+2+o.currentSlide):(i=o.options.infinite?o.options.slidesToShow+o.currentSlide:o.currentSlide,n=Math.ceil(i+o.options.slidesToShow),!0===o.options.fade&&(i>0&&i--,n<=o.slideCount&&n++)),e=o.$slider.find(".slick-slide").slice(i,n),"anticipated"===o.options.lazyLoad)for(var r=i-1,a=n,l=o.$slider.find(".slick-slide"),c=0;c<o.options.slidesToScroll;c++)r<0&&(r=o.slideCount-1),e=(e=e.add(l.eq(r))).add(l.eq(a)),r--,a++;s(e),o.slideCount<=o.options.slidesToShow?s(o.$slider.find(".slick-slide")):o.currentSlide>=o.slideCount-o.options.slidesToShow?s(o.$slider.find(".slick-cloned").slice(0,o.options.slidesToShow)):0===o.currentSlide&&s(o.$slider.find(".slick-cloned").slice(-1*o.options.slidesToShow))},i.prototype.loadSlider=function(){var t=this;t.setPosition(),t.$slideTrack.css({opacity:1}),t.$slider.removeClass("slick-loading"),t.initUI(),"progressive"===t.options.lazyLoad&&t.progressiveLazyLoad()},i.prototype.next=i.prototype.slickNext=function(){this.changeSlide({data:{message:"next"}})},i.prototype.orientationChange=function(){this.checkResponsive(),this.setPosition()},i.prototype.pause=i.prototype.slickPause=function(){this.autoPlayClear(),this.paused=!0},i.prototype.play=i.prototype.slickPlay=function(){var t=this;t.autoPlay(),t.options.autoplay=!0,t.paused=!1,t.focussed=!1,t.interrupted=!1},i.prototype.postSlide=function(e){var i=this;i.unslicked||(i.$slider.trigger("afterChange",[i,e]),i.animating=!1,i.slideCount>i.options.slidesToShow&&i.setPosition(),i.swipeLeft=null,i.options.autoplay&&i.autoPlay(),!0===i.options.accessibility&&(i.initADA(),i.options.focusOnChange&&t(i.$slides.get(i.currentSlide)).attr("tabindex",0).focus()))},i.prototype.prev=i.prototype.slickPrev=function(){this.changeSlide({data:{message:"previous"}})},i.prototype.preventDefault=function(t){t.preventDefault()},i.prototype.progressiveLazyLoad=function(e){e=e||1;var i,n,o,s,r,a=this,l=t("img[data-lazy]",a.$slider);l.length?(i=l.first(),n=i.attr("data-lazy"),o=i.attr("data-srcset"),s=i.attr("data-sizes")||a.$slider.attr("data-sizes"),(r=document.createElement("img")).onload=function(){o&&(i.attr("srcset",o),s&&i.attr("sizes",s)),i.attr("src",n).removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading"),!0===a.options.adaptiveHeight&&a.setPosition(),a.$slider.trigger("lazyLoaded",[a,i,n]),a.progressiveLazyLoad()},r.onerror=function(){e<3?setTimeout((function(){a.progressiveLazyLoad(e+1)}),500):(i.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),a.$slider.trigger("lazyLoadError",[a,i,n]),a.progressiveLazyLoad())},r.src=n):a.$slider.trigger("allImagesLoaded",[a])},i.prototype.refresh=function(e){var i,n,o=this;n=o.slideCount-o.options.slidesToShow,!o.options.infinite&&o.currentSlide>n&&(o.currentSlide=n),o.slideCount<=o.options.slidesToShow&&(o.currentSlide=0),i=o.currentSlide,o.destroy(!0),t.extend(o,o.initials,{currentSlide:i}),o.init(),e||o.changeSlide({data:{message:"index",index:i}},!1)},i.prototype.registerBreakpoints=function(){var e,i,n,o=this,s=o.options.responsive||null;if("array"===t.type(s)&&s.length){for(e in o.respondTo=o.options.respondTo||"window",s)if(n=o.breakpoints.length-1,s.hasOwnProperty(e)){for(i=s[e].breakpoint;n>=0;)o.breakpoints[n]&&o.breakpoints[n]===i&&o.breakpoints.splice(n,1),n--;o.breakpoints.push(i),o.breakpointSettings[i]=s[e].settings}o.breakpoints.sort((function(t,e){return o.options.mobileFirst?t-e:e-t}))}},i.prototype.reinit=function(){var e=this;e.$slides=e.$slideTrack.children(e.options.slide).addClass("slick-slide"),e.slideCount=e.$slides.length,e.currentSlide>=e.slideCount&&0!==e.currentSlide&&(e.currentSlide=e.currentSlide-e.options.slidesToScroll),e.slideCount<=e.options.slidesToShow&&(e.currentSlide=0),e.registerBreakpoints(),e.setProps(),e.setupInfinite(),e.buildArrows(),e.updateArrows(),e.initArrowEvents(),e.buildDots(),e.updateDots(),e.initDotEvents(),e.cleanUpSlideEvents(),e.initSlideEvents(),e.checkResponsive(!1,!0),!0===e.options.focusOnSelect&&t(e.$slideTrack).children().on("click.slick",e.selectHandler),e.setSlideClasses("number"==typeof e.currentSlide?e.currentSlide:0),e.setPosition(),e.focusHandler(),e.paused=!e.options.autoplay,e.autoPlay(),e.$slider.trigger("reInit",[e])},i.prototype.resize=function(){var e=this;t(window).width()!==e.windowWidth&&(clearTimeout(e.windowDelay),e.windowDelay=window.setTimeout((function(){e.windowWidth=t(window).width(),e.checkResponsive(),e.unslicked||e.setPosition()}),50))}
35,i.prototype.removeSlide=i.prototype.slickRemove=function(t,e,i){var n=this;if(t="boolean"==typeof t?!0===(e=t)?0:n.slideCount-1:!0===e?--t:t,n.slideCount<1||t<0||t>n.slideCount-1)return!1;n.unload(),!0===i?n.$slideTrack.children().remove():n.$slideTrack.children(this.options.slide).eq(t).remove(),n.$slides=n.$slideTrack.children(this.options.slide),n.$slideTrack.children(this.options.slide).detach(),n.$slideTrack.append(n.$slides),n.$slidesCache=n.$slides,n.reinit()},i.prototype.setCSS=function(t){var e,i,n=this,o={};!0===n.options.rtl&&(t=-t),e="left"==n.positionProp?Math.ceil(t)+"px":"0px",
36i="top"==n.positionProp?Math.ceil(t)+"px":"0px",o[n.positionProp]=t,!1===n.transformsEnabled?n.$slideTrack.css(o):(o={},!1===n.cssTransitions?(o[n.animType]="translate("+e+", "+i+")",n.$slideTrack.css(o)):(o[n.animType]="translate3d("+e+", "+i+", 0px)",n.$slideTrack.css(o)))},i.prototype.setDimensions=function(){var t=this;!1===t.options.vertical||t.$list.height(t.$slides.first().outerHeight(!0)*t.options.slidesToShow),!0===t.options.centerMode&&t.$list.css({padding:t.options.centerPadding}),t.listWidth=t.$list.width(),t.listHeight=t.$list.height(),!1===t.options.vertical&&!1===t.options.variableWidth?(t.slideWidth=Math.ceil(t.listWidth/t.options.slidesToShow),t.$slideTrack.width(Math.ceil(t.slideWidth*t.$slideTrack.children(".slick-slide").length))):!0===t.options.variableWidth?t.$slideTrack.width(5e3*t.slideCount):(t.slideWidth=Math.ceil(t.listWidth),t.$slideTrack.height(Math.ceil(t.$slides.first().outerHeight(!0)*t.$slideTrack.children(".slick-slide").length)));var e=t.$slides.first().outerWidth(!0)-t.$slides.first().width();!1===t.options.variableWidth&&(t.options.responsive&&t.options.slidesToShow>1?t.$slideTrack.children(".slick-slide").width(t.slideWidth-e-1):t.$slideTrack.children(".slick-slide").width(t.slideWidth-e))},i.prototype.setFade=function(){var e,i=this;i.$slides.each((function(n,o){e=i.slideWidth*n*-1,!0===i.options.rtl?t(o).css({position:"relative",right:e,top:0,zIndex:i.options.zIndex-2,opacity:0}
36):t(o).css({position:"relative",left:e,top:0,zIndex:i.options.zIndex-2,opacity:0})})),i.$slides.eq(i.currentSlide).css({zIndex:i.options.zIndex-1,opacity:1})},i.prototype.setHeight=function(){var e=this;if(1===e.options.slidesToShow&&!0===e.options.adaptiveHeight&&!1===e.options.vertical){var i=e.$slides.eq(e.currentSlide).outerHeight(!0);e.$list.css("height",i)}if(!0===e.options.fullHeight&&!1===e.options.vertical){i=0;e.$slideTrack.find(".slick-slide").height("auto"),e.$slider.attr("data-breakHeight")&&t("body").innerWidth()>e.$slider.attr("data-breakHeight")?e.$slideTrack.find(".slick-slide").each((function(){i=Math.max(t(this).height(),i)})).height(i):e.$slideTrack.find(".slick-slide").height("auto")}},i.prototype.setOption=i.prototype.slickSetOption=function(){var e,i,n,o,s,r=this,a=!1;if("object"===t.type(arguments[0])?(n=arguments[0],a=arguments[1],s="multiple"):"string"===t.type(arguments[0])&&(n=arguments[0],o=arguments[1],a=arguments[2],"responsive"===arguments[0]&&"array"===t.type(arguments[1])?s="responsive":void 0!==arguments[1]&&(s="single")),"single"===s)r.options[n]=o;else if("multiple"===s)t.each(n,(function(t,e){r.options[t]=e}));else if("responsive"===s)for(i in o)if("array"!==t.type(r.options.responsive))r.options.responsive=[o[i]];else{for(e=r.options.responsive.length-1;e>=0;)r.options.responsive[e].breakpoint===o[i].breakpoint&&r.options.responsive.splice(e,1),e--;r.options.responsive.push(o[i])}a&&(r.unload(),r.reinit())},i.prototype.setPosition=function(){var t=this;t.setDimensions(),t.setHeight(),!1===t.options.fade?t.setCSS(t.getLeft(t.currentSlide)):t.setFade(),t.$slider.trigger("setPosition",[t])},i.prototype.setProps=function(){var t=this,e=document.body.style;t.positionProp=!0===t.options.vertical?"top":"left","top"===t.positionProp?t.$slider.addClass("slick-vertical"):t.$slider.removeClass("slick-vertical"),void 0===e.WebkitTransition&&void 0===e.MozTransition&&void 0===e.msTransition||!0===t.options.useCSS&&(t.cssTransitions=!0),t.options.fade&&("number"==typeof t.options.zIndex?t.options.zIndex<3&&(t.options.zIndex=3):t.options.zIndex=t.defaults.zIndex),void 0!==e.OTransform&&(t.animType="OTransform",t.transformType="-o-transform",t.transitionType="OTransition",void 0===e.perspectiveProperty&&void 0===e.webkitPerspective&&(t.animType=!1)),void 0!==e.MozTransform&&(t.animType="MozTransform",t.transformType="-moz-transform",t.transitionType="MozTransition",void 0===e.perspectiveProperty&&void 0===e.MozPerspective&&(t.animType=!1)),void 0!==e.webkitTransform&&(t.animType="webkitTransform",t.transformType="-webkit-transform",t.transitionType="webkitTransition",void 0===e.perspectiveProperty&&void 0===e.webkitPerspective&&(t.animType=!1)),void 0!==e.msTransform&&(t.animType="msTransform",t.transformType="-ms-transform",t.transitionType="msTransition",void 0===e.msTransform&&(t.animType=!1)),void 0!==e.transform&&!1!==t.animType&&(t.animType="transform",t.transformType="transform",t.transitionType="transition"),t.transformsEnabled=t.options.useTransform&&null!==t.animType&&!1!==t.animType},i.prototype.setSlideClasses=function(t){var e,i,n,o,s=this;if(i=s.$slider.find(".slick-slide").removeClass("slick-active slick-center slick-current").attr("aria-hidden","true"),s.$slides.eq(t).addClass("slick-current"),!0===s.options.centerMode){var r=s.options.slidesToShow%2==0?1:0;e=Math.floor(s.options.slidesToShow/2),!0===s.options.infinite&&(t>=e&&t<=s.slideCount-1-e?s.$slides.slice(t-e+r,t+e+1).addClass("slick-active").attr("aria-hidden","false"):(n=s.options.slidesToShow+t,i.slice(n-e+1+r,n+e+2).addClass("slick-active").attr("aria-hidden","false")),0===t?i.eq(i.length-1-s.options.slidesToShow).addClass("slick-center"):t===s.slideCount-1&&i.eq(s.options.slidesToShow).addClass("slick-center")),s.$slides.eq(t).addClass("slick-center")}else t>=0&&t<=s.slideCount-s.options.slidesToShow?s.$slides.slice(t,t+s.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"):i.length<=s.options.slidesToShow?i.addClass("slick-active").attr("aria-hidden","false"):(o=s.slideCount%s.options.slidesToShow,n=!0===s.options.infinite?s.options.slidesToShow+t:t,s.options.slidesToShow==s.options.slidesToScroll&&s.slideCount-t<s.options.slidesToShow?i.slice(n-(s.options.slidesToShow-o),n+o).addClass("slick-active").attr("aria-hidden","false"):i.slice(n,n+s.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"));"ondemand"!==s.options.lazyLoad&&"anticipated"!==s.options.lazyLoad||s.lazyLoad()},i.prototype.setupInfinite=function(){var e,i,n,o=this;if(!0===o.options.fade&&(o.options.centerMode=!1),!0===o.options.infinite&&!1===o.options.fade&&(i=null,o.slideCount>o.options.slidesToShow)){for(n=!0===o.options.centerMode?o.options.slidesToShow+1:o.options.slidesToShow,e=o.slideCount;e>o.slideCount-n;e-=1)i=e-1,t(o.$slides[i]).clone(!0).attr("id","").attr("data-slick-index",i-o.slideCount).prependTo(o.$slideTrack).addClass("slick-cloned");for(e=0;e<n+o.slideCount;e+=1)i=e,t(o.$slides[i]).clone(!0).attr("id","").attr("data-slick-index",i+o.slideCount).appendTo(o.$slideTrack).addClass("slick-cloned");o.$slideTrack.find(".slick-cloned").find("[id]").each((function(){t(this).attr("id","")}))}},i.prototype.interrupt=function(t){t||this.autoPlay(),this.interrupted=t},i.prototype.selectHandler=function(e){var i=this,n=t(e.target).is(".slick-slide")?t(e.target):t(e.target).parents(".slick-slide"),o=parseInt(n.attr("data-slick-index"));o||(o=0),i.slideCount<=i.options.slidesToShow?i.slideHandler(o,!1,!0):i.slideHandler(o)}
36,i.prototype.slideHandler=function(t,e,i){var n,o,s,r,a,l,c=this;if(e=e||!1,!(!0===c.animating&&!0===c.options.waitForAnimate||!0===c.options.fade&&c.currentSlide===t))if(!1===e&&c.asNavFor(t),n=t,a=c.getLeft(n),r=c.getLeft(c.currentSlide),c.currentLeft=null===c.swipeLeft?r:c.swipeLeft,!1===c.options.infinite&&!1===c.options.centerMode&&(t<0||t>c.getDotCount()*c.options.slidesToScroll))!1===c.options.fade&&(n=c.currentSlide,!0!==i&&c.slideCount>c.options.slidesToShow?c.animateSlide(r,(function(){c.postSlide(n)})):c.postSlide(n));else if(!1===c.options.infinite&&!0===c.options.centerMode&&(t<0||t>c.slideCount-c.options.slidesToScroll))!1===c.options.fade&&(n=c.currentSlide,!0!==i&&c.slideCount>c.options.slidesToShow?c.animateSlide(r,(function(){c.postSlide(n)})):c.postSlide(n));else{if(c.options.autoplay&&clearInterval(c.autoPlayTimer),o=n<0?c.slideCount%c.options.slidesToScroll!=0?c.slideCount-c.slideCount%c.options.slidesToScroll:c.slideCount+n:n>=c.slideCount?c.slideCount%c.options.slidesToScroll!=0?0:n-c.slideCount:n,c.animating=!0,c.$slider.trigger("beforeChange",[c,c.currentSlide,o]),s=c.currentSlide,c.currentSlide=o,c.setSlideClasses(c.currentSlide),c.options.asNavFor&&(l=(l=c.getNavTarget()).slick("getSlick")).slideCount<=l.options.slidesToShow&&l.setSlideClasses(c.currentSlide),c.updateDots(),c.updateArrows(),!0===c.options.fade)return!0!==i?(c.fadeSlideOut(s),c.fadeSlide(o,(function(){c.postSlide(o)}))):c.postSlide(o),void c.animateHeight();!0!==i&&c.slideCount>c.options.slidesToShow?c.animateSlide(a,(function(){c.postSlide(o)})):c.postSlide(o)}},i.prototype.startLoad=function(){var t=this;!0===t.options.arrows&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow.hide(),t.$nextArrow.hide()),!0===t.options.dots&&t.slideCount>t.options.slidesToShow&&t.$dots.hide(),t.$slider.addClass("slick-loading")},i.prototype.swipeDirection=function(){var t,e,i,n,o=this;return t=o.touchObject.startX-o.touchObject.curX,e=o.touchObject.startY-o.touchObject.curY,i=Math.atan2(e,t),(n=Math.round(180*i/Math.PI))<0&&(n=360-Math.abs(n)),n<=45&&n>=0||n<=360&&n>=315?!1===o.options.rtl?"left":"right":n>=135&&n<=225?!1===o.options.rtl?"right":"left":!0===o.options.verticalSwiping?n>=35&&n<=135?"down":"up":"vertical"},i.prototype.swipeEnd=function(t){var e,i,n=this;if(n.dragging=!1,n.swiping=!1,n.scrolling)return n.scrolling=!1,!1;if(n.interrupted=!1,n.shouldClick=!(n.touchObject.swipeLength>10),void 0===n.touchObject.curX)return!1;if(!0===n.touchObject.edgeHit&&n.$slider.trigger("edge",[n,n.swipeDirection()]),n.touchObject.swipeLength>=n.touchObject.minSwipe){switch(i=n.swipeDirection()){case"left":case"down":e=n.options.swipeToSlide?n.checkNavigable(n.currentSlide+n.getSlideCount()):n.currentSlide+n.getSlideCount(),n.currentDirection=0;break;case"right":case"up":e=n.options.swipeToSlide?n.checkNavigable(n.currentSlide-n.getSlideCount()):n.currentSlide-n.getSlideCount(),n.currentDirection=1}"vertical"!=i&&(n.slideHandler(e),n.touchObject={},n.$slider.trigger("swipe",[n,i]))}else n.touchObject.startX!==n.touchObject.curX&&(n.slideHandler(n.currentSlide),n.touchObject={})},i.prototype.swipeHandler=function(t){var e=this;if(!(!1===e.options.swipe||"ontouchend"in document&&!1===e.options.swipe||!1===e.options.draggable&&-1!==t.type.indexOf("mouse")))switch(e.touchObject.fingerCount=t.originalEvent&&void 0!==t.originalEvent.touches?t.originalEvent.touches.length:1,e.touchObject.minSwipe=e.listWidth/e.options.touchThreshold,!0===e.options.verticalSwiping&&(e.touchObject.minSwipe=e.listHeight/e.options.touchThreshold),t.data.action){case"start":e.swipeStart(t);break;case"move":e.swipeMove(t);break;case"end":e.swipeEnd(t)}},i.prototype.swipeMove=function(t){var e,i,n,o,s,r,a=this;return s=void 0!==t.originalEvent?t.originalEvent.touches:null,!(!a.dragging||a.scrolling||s&&1!==s.length)&&(e=a.getLeft(a.currentSlide),a.touchObject.curX=void 0!==s?s[0].pageX:t.clientX,a.touchObject.curY=void 0!==s?s[0].pageY:t.clientY,a.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(a.touchObject.curX-a.touchObject.startX,2))),r=Math.round(Math.sqrt(Math.pow(a.touchObject.curY-a.touchObject.startY,2))),!a.options.verticalSwiping&&!a.swiping&&r>4?(a.scrolling=!0,!1):(!0===a.options.verticalSwiping&&(a.touchObject.swipeLength=r),i=a.swipeDirection(),void 0!==t.originalEvent&&a.touchObject.swipeLength>4&&(a.swiping=!0),o=(!1===a.options.rtl?1:-1)*(a.touchObject.curX>a.touchObject.startX?1:-1),!0===a.options.verticalSwiping&&(o=a.touchObject.curY>a.touchObject.startY?1:-1),n=a.touchObject.swipeLength,a.touchObject.edgeHit=!1,!1===a.options.infinite&&(0===a.currentSlide&&"right"===i||a.currentSlide>=a.getDotCount()&&"left"===i)&&(n=a.touchObject.swipeLength*a.options.edgeFriction,a.touchObject.edgeHit=!0),!1===a.options.vertical?a.swipeLeft=e+n*o:a.swipeLeft=e+n*(a.$list.height()/a.listWidth)*o,!0===a.options.verticalSwiping&&(a.swipeLeft=e+n*o),!0!==a.options.fade&&!1!==a.options.touchMove&&(!0===a.animating?(a.swipeLeft=null,!1):void a.setCSS(a.swipeLeft))))},i.prototype.swipeStart=function(t){var e,i=this;if(i.interrupted=!0,1!==i.touchObject.fingerCount||i.slideCount<=i.options.slidesToShow)return i.touchObject={},!1;void 0!==t.originalEvent&&void 0!==t.originalEvent.touches&&(e=t.originalEvent.touches[0]),i.touchObject.startX=i.touchObject.curX=void 0!==e?e.pageX:t.clientX,i.touchObject.startY=i.touchObject.curY=void 0!==e?e.pageY:t.clientY,i.dragging=!0},i.prototype.unfilterSlides=i.prototype.slickUnfilter=function(){var t=this;null!==t.$slidesCache&&(t.unload(),t.$slideTrack.children(this.options.slide).detach(),t.$slidesCache.appendTo(t.$slideTrack),t.reinit())},i.prototype.unload=function(){var e=this;t(".slick-cloned",e.$slider).remove(),e.$dots&&e.$dots.remove(),e.$prevArrow&&e.htmlExpr.test(e.options.prevArrow)&&e.$prevArrow.remove(),e.$nextArrow&&e.htmlExpr.test(e.options.nextArrow)&&e.$nextArrow.remove(),e.$slides.removeClass("slick-slide slick-active slick-visible slick-current").attr("aria-hidden","true").css("width","")}
36,i.prototype.unslick=function(t){var e=this;e.$slider.trigger("unslick",[e,t]),e.destroy()},i.prototype.imageArrows=function(){var e=this;if("default"!==e.options.effectArrow){e.$prevArrow.addClass("effect"),e.$nextArrow.addClass("effect");var i="",n="",o="",s="";0!==e.currentSlide&&(i=t(e.$slider).find(".slick-slide:eq("+(e.currentSlide-1)+")")),e.currentSlide+1!==e.slideCount&&(o=t(e.$slider).find(".slick-slide:eq("+(e.currentSlide+1)+")")),t(i).length>0&&(n=t(i).attr("data-thumb")),t(o).length>0&&(s=t(o).attr("data-thumb")),e.$prevArrow.find("div.has_bg").length>0&&n&&e.$prevArrow.find("div.has_bg").css("background-image",'url("'+n+'")'),e.$nextArrow.find("div.has_bg").length>0&&s&&e.$nextArrow.find("div.has_bg").css("background-image",'url("'+s+'")')}},i.prototype.updateArrows=function(){var t=this;Math.floor(t.options.slidesToShow/2),!0===t.options.arrows&&t.slideCount>t.options.slidesToShow&&!t.options.infinite&&(t.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false"),t.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false"),0===t.currentSlide?(t.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true"),t.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false")):(t.currentSlide>=t.slideCount-t.options.slidesToShow&&!1===t.options.centerMode||t.currentSlide>=t.slideCount-1&&!0===t.options.centerMode)&&(t.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),t.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")),t.imageArrows())},i.prototype.updateDots=function(){var t=this;null!==t.$dots&&(t.$dots.find("li").removeClass("slick-active").end(),t.$dots.find("li").eq(Math.floor(t.currentSlide/t.options.slidesToScroll)).addClass("slick-active"))},i.prototype.visibility=function(){var t=this;t.options.autoplay&&(document[t.hidden]?t.interrupted=!0:t.interrupted=!1)},t.fn.slick=function(){var t,e,n=this,o=arguments[0],s=Array.prototype.slice.call(arguments,1),r=n.length;for(t=0;t<r;t++)if("object"==typeof o||void 0===o?n[t].slick=new i(n[t],o):e=n[t].slick[o].apply(n[t].slick,s),void 0!==e)return e;return n}})),function(t,e,i,n){"use strict";var o=e.Sticky||{},s=[];(o=function(e,i){var n,o=this;o.defaults={container:e,parent:"",parentWidth:!1,fixed:"all",fixedAt:"all",fixedTil:"",position:"top",hideScroll:{desktop:!1,mobile:!1},appearAt:0,shrinkAt:0,shrinkTo:950,metaBase:"",metatags:!1,anchors:"",anchorsAll:!1,activeClass:"sel",line:!1,watchHeight:1},o.initials={stickyCont:"",elActive:"",elId:"",newTop:0,currentTop:0,previousTop:0},n=t(e).data("sticky",o)||{},t.extend(o,o.initials),o.options=t.extend({},o.defaults,n,i),o.init=t.proxy(o.init,o),o.destroy=t.proxy(o.destroy,o),o.stickyContainer=t.proxy(o.stickyContainer,o),o.stick=t.proxy(o.stick,o),o.unstick=t.proxy(o.unstick,o),o.init()}).prototype.init=function(){var i=this,n=t(i.options.container).attr("id");if(s.indexOf(n)<0&&s.push(n),t(i.options.container).length>0){t(i.options.container).hasClass("destroyed")&&t(i.options.container).removeClass("destroyed"),i.initials.elId=t(i.options.container).attr("id");t(i.options.container).outerHeight(!0),t(i.options.container).index(".to_sticky");var o=t(i.options.anchors);if(i.initials.elId){i.stickyContainer(),i.options.metatags&&i.createMetas(),o.length>0&&o.on("click.sticky",(function(e){if(e.preventDefault(),t(this).attr("data-anchor")){var n=t(this).attr("data-anchor");i.anchorHandler("#"+n)}}));var r=t(e);t(i.options.container).parents("#details-modal").length>0&&(r=t(i.options.container).parents(".detail-ajax"));var a=0;i.checkParent(),1==i.options.watchHeight&&t(i.options.container).addClass("stickyHeight"),r.on("scroll.stickyScroll",(function(){if(!t(i.options.container).hasClass("destroyed")&&t(i.initials.stickyCont).length>0)if("top"==i.options.position){i.initials.newTop=0,i.initials.currentTop=t(this).scrollTop();var e=t(i.initials.stickyCont).offset().top,n=t(i.initials.stickyCont).offset().top+t(i.initials.stickyCont).height();s.length>0&&i.getTopOffset();var o=i.isSticky(i.options.fixed),l=i.options.fixedTil,c=0;if(i.options.hideScroll.desktop&&t("body").innerWidth()>950&&(c=1),i.options.hideScroll.mobile&&t("body").innerWidth()<=950&&(c=1),1==c?(t(i.options.container).addClass("hideScroll"),i.initials.currentTop<i.initials.previousTop&&o?i.initials.currentTop>n&&t(i.options.container).hasClass("is-fixed")?a=setTimeout((function(){t(i.options.container).addClass("is-visible")}),500):(t(i.options.container).removeClass("is-visible is-fixed"),clearTimeout(a)):(clearTimeout(a),t(i.options.container).removeClass("is-visible"),i.initials.currentTop>n&&!t(i.options.container).hasClass("is-fixed")&&o&&t(i.options.container).addClass("is-fixed"))):t(i.options.container).removeClass("is-visible is-fixed"),i.checkParent(),i.initials.currentTop>=e&&o){if(t(i.options.container).addClass("is-sticky").css("top",i.initials.newTop),i.stick(),i.options.shrinkTo<t("body").innerWidth()&&(i.options.shrinkAt>0&&i.initials.currentTop>i.options.shrinkAt?t(i.options.container).addClass("shrinked"):t(i.options.container).removeClass("shrinked")),l&&t(l).length>0){var d=i.options.fixedAt;if("all"==i.options.fixedAt&&(d=0),t("body").innerWidth()>d){var p=t(i.options.container).outerHeight(!0),u=t(i.options.fixedTil).outerHeight(!0),h=t(i.options.fixedTil).offset().top,f=u-p;if(".all_stick"==i.options.fixedTil&&(h=0),u>p)if(h<=i.initials.currentTop&&h+f>i.initials.currentTop)t(i.options.container).removeClass("is-absolute").addClass("is-sticky");else if(h+f<=i.initials.currentTop){i.initials.currentTop;t(i.options.container).removeClass("is-sticky").addClass("is-absolute")}else i.unstick();else i.unstick()}else i.unstick()}}else i.unstick();i.initials.previousTop=t(this).scrollTop()}else{t(i.options.container).css("top","auto"),i.initials.newTop=0,i.initials.currentTop=t(this).scrollTop(),s.length>0&&i.getTopOffset();e=t(i.initials.stickyCont).offset().top,o=i.isSticky(i.options.fixed);t(i.options.container).parents("#details-modal").length>0&&(e=t(i.initials.stickyCont).position().top-t(i.initials.stickyCont).height()),t(this).scrollTop()>=i.options.appearAt&&o&&i.initials.currentTop+r.height()-t(i.initials.stickyCont).height()<e?(t(i.options.container).addClass("is-sticky").css("bottom",i.initials.newTop),t(i.options.container).css("margin-bottom","0px"),i.stick()):(i.initials.currentTop,r.height(),t(i.initials.stickyCont).outerHeight(!0),i.unstick())}}
36)),r.on("scroll.stickyScroll2",(function(){if(!t(i.options.container).hasClass("destroyed")&&o.length>0){var e=0;o.each((function(n,o){var s=t(o).attr("data-anchor"),r=t("#"+s);if(r.length>0){var a=r.offset().top-i.getAltStickies()+150,l=a+r.outerHeight(!0);if(i.initials.currentTop>=a&&i.initials.currentTop<l&&t(o)!=i.initials.elActive)return console.log(a),t(i.options.container).find("."+i.options.activeClass).removeClass(i.options.activeClass),i.initials.elActive=t(o),t(o).addClass(i.options.activeClass),i.options.metatags&&i.updateMetas(t(o).attr("data-meta")),i.options.line&&t(i.options.line).length>0&&i.updateLine(),void(e=1)}})),0==e&&i.initials.anchorsAll&&(t(i.options.container).find("."+i.options.activeClass).removeClass(i.options.activeClass),i.initials.elActive="",i.options.metatags&&i.updateMetas(0),i.options.line&&t(i.options.line).length>0&&i.updateLine())}})),t(e).resized((function(){t(i.options.container).hasClass("destroyed")||(t(i.options.container).hasClass("vertical")||i.stickyContainer(),i.options.line&&t(i.options.line).length>0&&i.updateLine())})),!t(i.options.container).hasClass("destroyed")&&i.options.metatags&&i.findAtive()}}},o.prototype.stick=function(){this.stickyContainer()},o.prototype.unstick=function(){t(this.options.container).removeClass("is-sticky is-absolute is-visible is-fixed hideScroll").css({bottom:"auto",top:"auto"}),this.stickyContainer()},o.prototype.stickyContainer=function(){var e=this;if(!t(e.options.container).hasClass("destroyed")){if(""==e.options.parent||0==t(e.options.parent).length){if(!t(e.options.container).hasClass("shrinked")){var i=t(e.options.container).outerHeight(!0);e.initials.stickyCont=t("#sticky_cont_"+e.initials.elId),e.initials.stickyCont.length>0?e.initials.stickyCont.height()<i&&e.initials.stickyCont.css("height",i+"px"):(t(e.options.container).wrap("<div class='div_100 sticky_cont' id='sticky_cont_"+e.initials.elId+"'></div>"),e.initials.stickyCont=t("#sticky_cont_"+e.initials.elId),e.initials.stickyCont.css("height",i+"px"))}}else e.initials.stickyCont=t(e.options.parent);1==e.options.parentWidth&&t(e.options.container).width(t(e.options.container).parent().width())}},o.prototype.checkParent=function(){var e=this,i=t(e.initials.stickyCont).offset().top+t(e.initials.stickyCont).height()-t(e.options.container).outerHeight();""!=e.options.parent&&t(e.options.parent).length>0?e.initials.currentTop>i&&t(e.options.container).hasClass("is-sticky")?t(e.options.container).addClass("afterParent"):t(e.options.container).hasClass("afterParent")&&t(e.options.container).removeClass("afterParent"):t(e.options.container).hasClass("afterParent")||t(e.options.container).addClass("afterParent")},o.prototype.updateLine=function(){var e=this;t(e.options.line);if(t(e.options.line,e.options.container).length>0)if(t(e.options.line).addClass("sticky-line"),t(e.options.container).find("."+e.options.activeClass).length>0){var i=parseInt(t(e.options.container).find("."+e.options.activeClass).position().left)+parseInt(t(e.options.container).find("."+e.options.activeClass).css("margin-left")),n=t(e.options.container).find("."+e.options.activeClass).width();t(e.options.line).addClass("active"),t(e.options.line).css({left:i+"px",width:n+"px"})}else t(e.options.line).removeClass("active")},o.prototype.anchorHandler=function(e){var i=0;if(s.length>0&&(i=1),1==i){var n=t(e).offset().top-this.getAltStickies();t("html, body").stop(!0,!0).animate({scrollTop:n},1500)}else t("html, body").stop(!0,!0).animate({scrollTop:t(e).offset().top},1500)},o.prototype.findAtive=function(){var e=location.href;e=e.split("/");var i=t(this.options.anchors+'[data-anchor="'+e[e.length-1]+'"]');i.length>0&&i.click()},o.prototype.createMetas=function(){if(t("#meta_tit").length<=0)t('<input type="hidden" name="meta_url" id="meta_url" value="" />').val(this.options.metaBase).appendTo("body"),t('<input type="hidden" name="meta_tit" id="meta_tit" value="" />').val(i.title).appendTo("body"),t('<input type="hidden" name="meta_desc" id="meta_desc" value="" />').val(t("meta[name=description]").attr("content")).appendTo("body"),t('<input type="hidden" name="meta_key" id="meta_key" value="" />').val(t("meta[name=keywords]").attr("content")).appendTo("body")},o.prototype.updateMetas=function(n){n>0?t.post(_includes_path+"rpc.php",{op:"carrega_meta",id:n},(function(n){var o=n.split("__"),s=o[0],r=o[1],a=o[2],l=o[3];i.title=s,t("meta[name=description]").attr("content",r),t("meta[name=keywords]").attr("content",a),e.history.replaceState("Object",i.title,l)})):t("#meta_tit").length>0&&(i.title=t("#meta_tit").val(),t("meta[name=description]").attr("content",t("#meta_desc").val()),t("meta[name=keywords]").attr("content",t("#meta_key").val()),e.history.replaceState("Object",i.title,t("#meta_url").val()))},o.prototype.getTopOffset=function(){var e=this,i=t(e.options.container).index(".to_sticky");t.each(s,(function(n,o){var s=t("#"+o),r=s.data("sticky"),a="top";if(void 0!==r&&(a=r.options.position),s.get(0)!=t(e.options.container).get(0))if("top"==e.options.position)s.hasClass("stickyHeight")&&(void 0===a||"top"==a)&&("fixed"===s.css("position")&&s.hasClass("is-visible")||"fixed"===s.css("position")&&!s.hasClass("vertical")&&!s.hasClass("hideScroll"))&&s.index(".to_sticky")<i&&(e.initials.currentTop+=s.outerHeight(!0),e.initials.newTop+=s.outerHeight(!0));else{var l="bottom"==a&&s.index(".to_sticky")>i;t(e.options.container).parents(".detail-ajax").length>0&&(l="bottom"==a&&(s.index(".to_sticky")>i||0==s.parents(".page-main").length)),l&&(e.initials.currentTop+=s.outerHeight(!0),e.initials.newTop+=s.outerHeight(!0))}}))},o.prototype.getAltStickies=function(){var e=this,i=0;return t(s).each((function(n,o){if(!t(o="#"+o).hasClass("vertical")){var s=t(o).data("sticky").options.fixed;e.isSticky(s)&&(i+=t(o).outerHeight(!0))}})),i},o.prototype.isSticky=function(e){return e>=t("body").innerWidth()||"all"===e},o.prototype.destroy=function(){var i=this;i.unstick(),t(i.options.container).addClass("destroyed");var n=t(i.options.container).attr("id");s.indexOf(n)>=0&&s.splice(s.indexOf(n),1),t("#sticky_cont_"+i.initials.elId).length>0&&t("#sticky_cont_"+i.initials.elId).replaceWith(t("#sticky_cont_"+i.initials.elId).contents()),t(i.options.container).removeClass("is-sticky afterParent shrinked"),t(i.options.anchors).length>
360&&t(i.options.anchors).off("click.sticky"),t(e).off("scroll.stickyScroll"),t(e).off("scroll.stickyScroll2"),t(i.options.container).off("Sticky"),t(i.options.container).unbind(),t(i.options.container).removeData()},t.fn.sticky=function(){for(var t,e=this,i=arguments[0],n=Array.prototype.slice.call(arguments,1),s=e.length,r=0;r<s;r++)if("object"==typeof i||void 0===i?e[r].sticky=new o(e[r],i):t=e[r].sticky[i].apply(e[r].sticky,n),void 0!==t)return t;return e}}(jQuery,window,document),"function"!=typeof Object.assign&&(Object.assign=function(t){"use strict";if(null==t)throw new TypeError("Cannot convert undefined or null to object");t=Object(t);for(var e=1;e<arguments.length;e++){var i=arguments[e];if(null!=i)for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t})
37/*!
38* sweetalert2 v7.22.0
39* Released under the MIT License.
40*/,function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.Sweetalert2=e()}(this,(function(){"use strict";var t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},i=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),n=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t},o=function t(e,i,n){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,i);if(void 0===o){var s=Object.getPrototypeOf(e);return null===s?void 0:t(s,i,n)}if("value"in o)return o.value;var r=o.get;return void 0!==r?r.call(n):void 0},s=function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)},r=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e},a=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var i=[],n=!0,o=!1,s=void 0;try{for(var r,a=t[Symbol.iterator]();!(n=(r=a.next()).done)&&(i.push(r.value),!e||i.length!==e);n=!0);}catch(t){o=!0,s=t}finally{try{!n&&a.return&&a.return()}finally{if(o)throw s}}return i}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")},l=function(t){console.warn("SweetAlert2: "+t)},c=function(t){console.error("SweetAlert2: "+t)},d=[],p=function(t){-1===d.indexOf(t)&&(d.push(t),l(t))},u=function(t){return"function"==typeof t?t():t},h=function(e){return"object"===(void 0===e?"undefined":t(e))&&"function"==typeof e.then},f=Object.freeze({cancel:"cancel",backdrop:"overlay",close:"close",esc:"esc",timer:"timer"}),m=function(t){var e={};for(var i in t)e[t[i]]="swal-"+t[i];return e},g=m(["container","shown","height-auto","iosfix","popup","modal","no-backdrop","toast","toast-shown","fade","show","hide","noanimation","close","title","header","content","actions","confirm","cancel","footer","icon","icon-text","image","input","has-input","file","range","select","radio","checkbox","textarea","inputerror","validationerror","progresssteps","activeprogressstep","progresscircle","progressline","loading","styled","top","top-start","top-end","top-left","top-right","center","center-start","center-end","center-left","center-right","bottom","bottom-start","bottom-end","bottom-left","bottom-right","grow-row","grow-column","grow-fullscreen"]),v=m(["success","warning","info","question","error"]),_={previousBodyPadding:null},y=function(t,e){return!!t.classList&&t.classList.contains(e)},w=function(t){if(t.focus(),"file"!==t.type){var e=t.value;t.value="",t.value=e}}
40,b=function(t,e,i){t&&e&&("string"==typeof e&&(e=e.split(/\s+/).filter(Boolean)),e.forEach((function(e){t.forEach?t.forEach((function(t){i?t.classList.add(e):t.classList.remove(e)})):i?t.classList.add(e):t.classList.remove(e)})))},x=function(t,e){b(t,e,!0)},k=function(t,e){b(t,e,!1)},T=function(t,e){for(var i=0;i<t.childNodes.length;i++)if(y(t.childNodes[i],e))return t.childNodes[i]},C=function(t){t.style.opacity="",t.style.display=t.id===g.content?"block":"flex"},S=function(t){t.style.opacity="",t.style.display="none"},A=function(t){return t&&(t.offsetWidth||t.offsetHeight||t.getClientRects().length)},$=function(){return document.body.querySelector("."+g.container)},P=function(t){var e=$();return e?e.querySelector("."+t):null},O=function(){return P(g.popup)},M=function(){return P(g.title)},E=function(){return P(g.content)},I=function(){return P(g.image)},L=function(){return P(g.progresssteps)},z=function(){return P(g.confirm)},D=function(){return P(g.cancel)},F=function(){return P(g.actions)},R=function(){return P(g.footer)},B=function(){return P(g.close)},j=function(){var t=Array.prototype.slice.call(O().querySelectorAll('[tabindex]:not([tabindex="-1"]):not([tabindex="0"])')).sort((function(t,e){return(t=parseInt(t.getAttribute("tabindex")))>(e=parseInt(e.getAttribute("tabindex")))?1:t<e?-1:0})),e=Array.prototype.slice.call(O().querySelectorAll('a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, embed, [tabindex="0"], [contenteditable], audio[controls], video[controls]'));return function(t){for(var e=[],i=0;i<t.length;i++)-1===e.indexOf(t[i])&&e.push(t[i]);return e}(t.concat(e))},H=function(){return!document.body.classList.contains(g["toast-shown"])},W=function(){return"undefined"==typeof window||"undefined"==typeof document},N=('\n <div aria-labelledby="'+g.title+'" aria-describedby="'+g.content+'" class="'+g.popup+'" tabindex="-1">\n   <div class="'+g.header+'">\n     <ul class="'+g.progresssteps+'"></ul>\n     <div class="'+g.icon+" "+v.error+'">\n       <span class="swal-x-mark"><span class="swal-x-mark-line-left"></span><span class="swal-x-mark-line-right"></span></span>\n     </div>\n     <div class="'+g.icon+" "+v.question+'">\n       <span class="'+g["icon-text"]+'">?</span>\n      </div>\n     <div class="'+g.icon+" "+v.warning+'">\n       <span class="'+g["icon-text"]+'">!</span>\n      </div>\n     <div class="'+g.icon+" "+v.info+'">\n       <span class="'+g["icon-text"]+'">i</span>\n      </div>\n     <div class="'+g.icon+" "+v.success+'">\n       <div class="swal-success-circular-line-left"></div>\n       <span class="swal-success-line-tip"></span> <span class="swal-success-line-long"></span>\n       <div class="swal-success-ring"></div> <div class="swal-success-fix"></div>\n       <div class="swal-success-circular-line-right"></div>\n     </div>\n     <img class="'+g.image+'" />\n     <h2 class="'+g.title+'" id="'+g.title+'"></h2>\n     <button type="button" class="'+g.close+'">&times;</button>\n   </div>\n   <div class="'+g.content+'">\n     <div id="'+g.content+'"></div>\n     <input class="'+g.input+'" />\n     <input type="file" class="'+g.file+'" />\n     <div class="'+g.range+'">\n       <input type="range" />\n       <output></output>\n     </div>\n     <select class="'+g.select+'"></select>\n     <div class="'+g.radio+'"></div>\n     <label for="'+g.checkbox+'" class="'+g.checkbox+'">\n       <input type="checkbox" />\n     </label>\n     <textarea class="'+g.textarea+'"></textarea>\n     <div class="'+g.validationerror+'" id="'+g.validationerror+'"></div>\n   </div>\n   <div class="'+g.actions+'">\n     <button type="button" class="'+g.confirm+'">OK</button>\n     <button type="button" class="'+g.cancel+'">Cancel</button>\n   </div>\n   <div class="'+g.footer+'">\n   </div>\n </div>\n').replace(/(^|\n)\s*/g,""),q=function(t){var e=$();if(e&&(e.parentNode.removeChild(e),k([document.documentElement,document.body],[g["no-backdrop"],g["has-input"],g["toast-shown"]])),!W()){var i=document.createElement("div");i.className=g.container,i.innerHTML=N,("string"==typeof t.target?document.querySelector(t.target):t.target).appendChild(i);var n=O(),o=E(),s=T(o,g.input),r=T(o,g.file),a=o.querySelector("."+g.range+" input"),l=o.querySelector("."+g.range+" output"),d=T(o,g.select),p=o.querySelector("."+g.checkbox+" input"),u=T(o,g.textarea);n.setAttribute("role",t.toast?"alert":"dialog"),n.setAttribute("aria-live",t.toast?"polite":"assertive"),t.toast||n.setAttribute("aria-modal","true");var h=void 0,f=function(t){yt.isVisible()&&h!==t.target.value&&yt.resetValidationError(),h=t.target.value};return s.oninput=f,r.onchange=f,d.onchange=f,p.onchange=f,u.oninput=f,a.oninput=function(t){f(t),l.value=a.value},a.onchange=function(t){f(t),a.nextSibling.value=a.value},n}c("SweetAlert2 requires document to initialize")},V=function(e,i){if(!e)return S(i);if("object"===(void 0===e?"undefined":t(e)))if(i.innerHTML="",0 in e)for(var n=0;n in e;n++)i.appendChild(e[n].cloneNode(!0));else i.appendChild(e.cloneNode(!0));else e&&(i.innerHTML=e);C(i)},X=function(){if(W())return!1;var t=document.createElement("div"),e={WebkitAnimation:"webkitAnimationEnd",OAnimation:"oAnimationEnd oanimationend",animation:"animationend"};for(var i in e)if(e.hasOwnProperty(i)&&void 0!==t.style[i])return e[i];return!1}(),Y=function(){null===_.previousBodyPadding&&document.body.scrollHeight>window.innerHeight&&(_.previousBodyPadding=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right")),document.body.style.paddingRight=_.previousBodyPadding+function(){if("ontouchstart"in window||navigator.msMaxTouchPoints)return 0;var t=document.createElement("div");t.style.width="50px",t.style.height="50px",t.style.overflow="scroll",document.body.appendChild(t);var e=t.offsetWidth-t.clientWidth;return document.body.removeChild(t),e}()+"px")},U={},G=function(t,e){var i=$(),n=O();if(n){null!==t&&"function"==typeof t&&t(n),k(n,g.show),x(n,g.hide);var o=function(){document.body.classList.contains(g["toast-shown"])||(!function(){if(U.previousActiveElement&&U.previousActiveElement.focus){var t=U.previousActiveElement;U.previousActiveElement=null;var e=window.scrollX,i=window.scrollY;
40setTimeout((function(){t.focus&&t.focus()}),100),void 0!==e&&void 0!==i&&window.scrollTo(e,i)}}(),window.removeEventListener("keydown",U.keydownHandler,{capture:!0}),U.keydownHandlerAdded=!1),i.parentNode&&i.parentNode.removeChild(i),k([document.documentElement,document.body],[g.shown,g["height-auto"],g["no-backdrop"],g["has-input"],g["toast-shown"]]),H()&&(null!==_.previousBodyPadding&&(document.body.style.paddingRight=_.previousBodyPadding,_.previousBodyPadding=null),function(){if(y(document.body,g.iosfix)){var t=parseInt(document.body.style.top,10);k(document.body,g.iosfix),document.body.style.top="",document.body.scrollTop=-1*t}}()),null!==e&&"function"==typeof e&&setTimeout((function(){e()}))};X&&!y(n,g.noanimation)?n.addEventListener(X,(function t(){n.removeEventListener(X,t),y(n,g.hide)&&o()})):o()}};function Z(t){var e=function t(){for(var e=arguments.length,i=Array(e),n=0;n<e;n++)i[n]=arguments[n];if(!(this instanceof t))return new(Function.prototype.bind.apply(t,[null].concat(i)));Object.getPrototypeOf(t).apply(this,i)};return e.prototype=n(Object.create(t.prototype),{constructor:e}),"function"==typeof Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t,e}var Q={title:"",titleText:"",text:"",html:"",footer:"",type:null,toast:!1,customClass:"",target:"body",backdrop:!0,animation:!0,heightAuto:!0,allowOutsideClick:!0,allowEscapeKey:!0,allowEnterKey:!0,showConfirmButton:!1,showCancelButton:!1,preConfirm:null,confirmButtonText:"OK",confirmButtonAriaLabel:"",confirmButtonColor:null,confirmButtonClass:"swal-btnConfirm",cancelButtonText:"Cancel",cancelButtonAriaLabel:"",cancelButtonColor:null,cancelButtonClass:"swal-btnCancel",buttonsStyling:!1,reverseButtons:!1,focusConfirm:!0,focusCancel:!1,showCloseButton:!1,closeButtonAriaLabel:"Close this dialog",showLoaderOnConfirm:!1,imageUrl:null,imageWidth:null,imageHeight:null,imageAlt:"",imageClass:null,timer:null,width:null,padding:null,background:null,input:null,inputPlaceholder:"",inputValue:"",inputOptions:{},inputAutoTrim:!0,inputClass:null,inputAttributes:{},inputValidator:null,grow:!1,position:"center",progressSteps:[],currentProgressStep:null,progressStepsDistance:null,onBeforeOpen:null,onAfterClose:null,onOpen:null,onClose:null,useRejections:!1,expectRejections:!1},K=["useRejections","expectRejections"],J=function(t){return Q.hasOwnProperty(t)||"extraParams"===t},tt=function(t){return-1!==K.indexOf(t)},et=function(t){for(var e in t)J(e)||l('Unknown parameter "'+e+'"'),tt(e)&&p('The parameter "'+e+'" is deprecated and will be removed in the next major release.')}
40,it='"setDefaults" & "resetDefaults" methods are deprecated in favor of "mixin" method and will be removed in the next major release. For new projects, use "mixin". For past projects already using "setDefaults", support will be provided through an additional package.',nt={};var ot=[],st=function(){var t=O();t||yt(""),t=O();var e=F(),i=z(),n=D();C(e),C(i),x([t,e],g.loading),i.disabled=!0,n.disabled=!0,t.setAttribute("data-loading",!0),t.setAttribute("aria-busy",!0),t.focus()},rt=Object.freeze({isValidParameter:J,isDeprecatedParameter:tt,argsToParams:function(e){var i={};switch(t(e[0])){case"string":["title","html","type"].forEach((function(n,o){switch(t(e[o])){case"string":i[n]=e[o];break;case"undefined":break;default:c("Unexpected type of "+n+'! Expected "string", got '+t(e[o]))}}));break;case"object":n(i,e[0]);break;default:return c('Unexpected type of argument! Expected "string" or "object", got '+t(e[0])),!1}return i},adaptInputValidator:function(t){return function(e,i){return t.call(this,e,i).then((function(){}),(function(t){return t}))}},close:G,closePopup:G,closeModal:G,closeToast:G,isVisible:function(){return!!O()},clickConfirm:function(){return z().click()},clickCancel:function(){return D().click()},getPopup:O,getTitle:M,getContent:E,getImage:I,getButtonsWrapper:function(){return p("swal.getButtonsWrapper() is deprecated and will be removed in the next major release, use swal.getActions() instead"),P(g.actions)},getActions:F,getConfirmButton:z,getCancelButton:D,getFooter:R,isLoading:function(){return O().hasAttribute("data-loading")},fire:function(){for(var t=this,e=arguments.length,i=Array(e),n=0;n<e;n++)i[n]=arguments[n];return new(Function.prototype.bind.apply(t,[null].concat(i)))},mixin:function(t){return Z(function(a){function l(){return e(this,l),r(this,(l.__proto__||Object.getPrototypeOf(l)).apply(this,arguments))}return s(l,a),i(l,[{key:"_main",value:function(e){return o(l.prototype.__proto__||Object.getPrototypeOf(l.prototype),"_main",this).call(this,n({},t,e))}}]),l}(this))},queue:function(t){var e=this;ot=t;var i=function(){ot=[],document.body.removeAttribute("data-swal-queue-step")},n=[];return new Promise((function(t,o){!function o(s,r){s<ot.length?(document.body.setAttribute("data-swal-queue-step",s),e(ot[s]).then((function(e){void 0!==e.value?(n.push(e.value),o(s+1,r)):(i(),t({dismiss:e.dismiss}))}))):(i(),t({value:n}))}(0)}))},getQueueStep:function(){return document.body.getAttribute("data-swal-queue-step")},insertQueueStep:function(t,e){return e&&e<ot.length?ot.splice(e,0,t):ot.push(t)},deleteQueueStep:function(t){void 0!==ot[t]&&ot.splice(t,1)},showLoading:st,enableLoading:st,getTimerLeft:function(){return U.timeout&&U.timeout.getTimerLeft()}});if("undefined"!=typeof window&&"function"!=typeof window.WeakMap){var at=0;window.Symbol=function(t){return"__"+t+"_"+Math.floor(1e9*Math.random())+"_"+ ++at+"__"},Symbol.iterator=Symbol("Symbol.iterator"),window.WeakMap=function(t,e,i){function n(){e(this,t,{value:Symbol("WeakMap")})}return n.prototype={delete:function(e){delete e[this[t]]},get:function(e){return e[this[t]]},has:function(e){return i.call(e,this[t])},set:function(i,n){e(i,this[t],{configurable:!0,value:n})}},n}(Symbol("WeakMap"),Object.defineProperty,{}.hasOwnProperty)}var lt={promise:new WeakMap,innerParams:new WeakMap,domCache:new WeakMap};function ct(){var t=lt.innerParams.get(this),e=lt.domCache.get(this);t.showConfirmButton||(S(e.confirmButton),t.showCancelButton||S(e.actions)),k([e.popup,e.actions],g.loading),e.popup.removeAttribute("aria-busy"),e.popup.removeAttribute("data-loading"),e.confirmButton.disabled=!1,e.cancelButton.disabled=!1}var dt=function t(i,n){var o,s,r;e(this,t);var a=n;this.start=function(){r=!0,s=new Date,o=setTimeout(i,a)},this.stop=function(){r=!1,clearTimeout(o),a-=new Date-s},this.getTimerLeft=function(){return r&&(this.stop(),this.start()),a},this.getStateRunning=function(){return r},this.start()},pt={email:function(t,e){return/^[a-zA-Z0-9.+_-]+@[a-zA-Z0-9.-]+\.[a-zA-Z0-9-]{2,24}$/.test(t)?Promise.resolve():Promise.reject(e&&e.validationMessage?e.validationMessage:"Invalid email address")},url:function(t,e){return/^https?:\/\/(www\.)?[-a-zA-Z0-9@:%._+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_+.~#?&//=]*)$/.test(t)?Promise.resolve():Promise.reject(e&&e.validationMessage?e.validationMessage:"Invalid URL")}};function ut(t){t.inputValidator||Object.keys(pt).forEach((function(e){t.input
40===e&&(t.inputValidator=t.expectRejections?pt[e]:yt.adaptInputValidator(pt[e]))})),(!t.target||"string"==typeof t.target&&!document.querySelector(t.target)||"string"!=typeof t.target&&!t.target.appendChild)&&(l('Target parameter is not valid, defaulting to "body"'),t.target="body");var e=void 0,i=O(),n="string"==typeof t.target?document.querySelector(t.target):t.target;e=i&&n&&i.parentNode!==n.parentNode?q(t):i||q(t),t.width&&(e.style.width="number"==typeof t.width?t.width+"px":t.width),t.padding&&(e.style.padding="number"==typeof t.padding?t.padding+"px":t.padding),t.background&&(e.style.background=t.background);for(var o=window.getComputedStyle(e).getPropertyValue("background-color"),s=e.querySelectorAll("[class^=swal-success-circular-line], .swal-success-fix"),r=0;r<s.length;r++)s[r].style.backgroundColor=o;var a=$(),d=M(),p=E().querySelector("#"+g.content),u=F(),h=z(),f=D(),m=B(),_=R();if(t.titleText?d.innerText=t.titleText:t.title&&(d.innerHTML=t.title.split("\n").join("<br />")),"string"==typeof t.backdrop?$().style.background=t.backdrop:t.backdrop||x([document.documentElement,document.body],g["no-backdrop"]),t.html?V(t.html,p):t.text?(p.textContent=t.text,C(p)):S(p),t.position in g?x(a,g[t.position]):(l('The "position" parameter is not valid, defaulting to "center"'),x(a,g.center)),t.grow&&"string"==typeof t.grow){var y="grow-"+t.grow;y in g&&x(a,g[y])}"function"==typeof t.animation&&(t.animation=t.animation.call()),t.showCloseButton?(m.setAttribute("aria-label",t.closeButtonAriaLabel),C(m)):S(m),e.className=g.popup,t.toast?(x([document.documentElement,document.body],g["toast-shown"]),x(e,g.toast)):x(e,g.modal),t.customClass&&x(e,t.customClass);var w=L(),b=parseInt(null===t.currentProgressStep?yt.getQueueStep():t.currentProgressStep,10);t.progressSteps&&t.progressSteps.length?(C(w),function(t){for(;t.firstChild;)t.removeChild(t.firstChild)}(w),b>=t.progressSteps.length&&l("Invalid currentProgressStep parameter, it should be less than progressSteps.length (currentProgressStep like JS arrays starts from 0)"),t.progressSteps.forEach((function(e,i){var n=document.createElement("li");if(x(n,g.progresscircle),n.innerHTML=e,i===b&&x(n,g.activeprogressstep),w.appendChild(n),i!==t.progressSteps.length-1){var o=document.createElement("li");x(o,g.progressline),t.progressStepsDistance&&(o.style.width=t.progressStepsDistance),w.appendChild(o)}}))):S(w);for(var T=O().querySelectorAll("."+g.icon),A=0;A<T.length;A++)S(T[A]);if(t.type){var P=!1;for(var j in v)if(t.type===j){P=!0;break}if(!P)return c("Unknown alert type: "+t.type),!1;var H=e.querySelector("."+g.icon+"."+v[t.type]);C(H),t.animation&&x(H,"swal-animate-"+t.type+"-icon")}var W,N,X=I();if(t.imageUrl?(X.setAttribute("src",t.imageUrl),X.setAttribute("alt",t.imageAlt),C(X),t.imageWidth?X.setAttribute("width",t.imageWidth):X.removeAttribute("width"),t.imageHeight?X.setAttribute("height",t.imageHeight):X.removeAttribute("height"),X.className=g.image,t.imageClass&&x(X,t.imageClass)):S(X),t.showCancelButton?f.style.display="inline-block":S(f),t.showConfirmButton?(N="display",(W=h).style.removeProperty?W.style.removeProperty(N):W.style.removeAttribute(N)):S(h),t.showConfirmButton||t.showCancelButton?C(u):S(u),h.innerHTML=t.confirmButtonText,f.innerHTML=t.cancelButtonText,h.setAttribute("aria-label",t.confirmButtonAriaLabel),f.setAttribute("aria-label",t.cancelButtonAriaLabel),h.className=g.confirm,x(h,t.confirmButtonClass),f.className=g.cancel,x(f,t.cancelButtonClass),t.buttonsStyling){x([h,f],g.styled),t.confirmButtonColor&&(h.style.backgroundColor=t.confirmButtonColor),t.cancelButtonColor&&(f.style.backgroundColor=t.cancelButtonColor);var Y=window.getComputedStyle(h).getPropertyValue("background-color");h.style.borderLeftColor=Y,h.style.borderRightColor=Y}else k([h,f],g.styled),h.style.backgroundColor=h.style.borderLeftColor=h.style.borderRightColor="",f.style.backgroundColor=f.style.borderLeftColor=f.style.borderRightColor="";V(t.footer,_),!0===t.animation?k(e,g.noanimation):x(e,g.noanimation),t.showLoaderOnConfirm&&!t.preConfirm&&l("showLoaderOnConfirm is set to true, but preConfirm is not defined.\nshowLoaderOnConfirm should be used together with preConfirm, see usage example:\nhttps://sweetalert2.github.io/#ajax-request")}
40var ht=function(t){var e=$(),i=O();null!==t.onBeforeOpen&&"function"==typeof t.onBeforeOpen&&t.onBeforeOpen(i),t.animation?(x(i,g.show),x(e,g.fade),k(i,g.hide)):k(i,g.fade),C(i),e.style.overflowY="hidden",X&&!y(i,g.noanimation)?i.addEventListener(X,(function t(){i.removeEventListener(X,t),e.style.overflowY="auto"})):e.style.overflowY="auto",x([document.documentElement,document.body,e],g.shown),t.heightAuto&&t.backdrop&&!t.toast&&x([document.documentElement,document.body],g["height-auto"]),H()&&(Y(),function(){if(/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream&&!y(document.body,g.iosfix)){var t=document.body.scrollTop;document.body.style.top=-1*t+"px",x(document.body,g.iosfix)}}()),U.previousActiveElement||(U.previousActiveElement=document.activeElement),null!==t.onOpen&&"function"==typeof t.onOpen&&setTimeout((function(){t.onOpen(i)}))};var ft=Object.freeze({hideLoading:ct,disableLoading:ct,getInput:function(t){var e=lt.innerParams.get(this),i=lt.domCache.get(this);if(!(t=t||e.input))return null;switch(t){case"select":case"textarea":case"file":return T(i.content,g[t]);case"checkbox":return i.popup.querySelector("."+g.checkbox+" input");case"radio":return i.popup.querySelector("."+g.radio+" input:checked")||i.popup.querySelector("."+g.radio+" input:first-child");case"range":return i.popup.querySelector("."+g.range+" input");default:return T(i.content,g.input)}},enableButtons:function(){var t=lt.domCache.get(this);t.confirmButton.disabled=!1,t.cancelButton.disabled=!1},disableButtons:function(){var t=lt.domCache.get(this);t.confirmButton.disabled=!0,t.cancelButton.disabled=!0},enableConfirmButton:function(){lt.domCache.get(this).confirmButton.disabled=!1},disableConfirmButton:function(){lt.domCache.get(this).confirmButton.disabled=!0},enableInput:function(){var t=this.getInput();if(!t)return!1;if("radio"===t.type)for(var e=t.parentNode.parentNode.querySelectorAll("input"),i=0;i<e.length;i++)e[i].disabled=!1;else t.disabled=!1},disableInput:function(){var t=this.getInput();if(!t)return!1;if(t&&"radio"===t.type)for(var e=t.parentNode.parentNode.querySelectorAll("input"),i=0;i<e.length;i++)e[i].disabled=!0;else t.disabled=!0},showValidationError:function(t){var e=lt.domCache.get(this);e.validationError.innerHTML=t;var i=window.getComputedStyle(e.popup);e.validationError.style.marginLeft="-"+i.getPropertyValue("padding-left"),e.validationError.style.marginRight="-"+i.getPropertyValue("padding-right"),C(e.validationError);var n=this.getInput();n&&(n.setAttribute("aria-invalid",!0),n.setAttribute("aria-describedBy",g.validationerror),w(n),x(n,g.inputerror))},resetValidationError:function(){var t=lt.domCache.get(this);t.validationError&&S(t.validationError);var e=this.getInput();e&&(e.removeAttribute("aria-invalid"),e.removeAttribute("aria-describedBy"),k(e,g.inputerror))},_main:function(e){var i=this;et(e);var o=n({},Q,e);ut(o),Object.freeze(o),lt.innerParams.set(this,o),U.timeout&&(U.timeout.stop(),delete U.timeout);var s={popup:O(),container:$(),content:E(),actions:F(),confirmButton:z(),cancelButton:D(),closeButton:B(),validationError:P(g.validationerror),progressSteps:L()};lt.domCache.set(this,s);var r=this.constructor;return new Promise((function(e,n){var l=function(t){r.closePopup(o.onClose,o.onAfterClose),o.useRejections?e(t):e({value:t})},d=function(t){r.closePopup(o.onClose,o.onAfterClose),o.useRejections?n(t):e({dismiss:t})},p=function(t){r.closePopup(o.onClose,o.onAfterClose),n(t)};o.timer&&(U.timeout=new dt((function(){d("timer"),delete U.timeout}),o.timer));o.input&&setTimeout((function(){var t=i.getInput();t&&w(t)}),0);for(var f=function(t){if(o.showLoaderOnConfirm&&r.showLoading(),o.preConfirm){i.resetValidationError();var e=Promise.resolve().then((function(){return o.preConfirm(t,o.extraParams)}));o.expectRejections?e.then((function(e){return l(e||t)}),(function(t){i.hideLoading(),t&&i.showValidationError(t)})):e.then((function(e){A(s.validationError)||!1===e?i.hideLoading():l(e||t)}),(function(t){return p(t)}))}else l(t)},m=function(t){var e=t||window.event,n=e.target||e.srcElement,a=s.confirmButton,l=s.cancelButton,c=a&&(a===n||a.contains(n)),u=l&&(l===n||l.contains(n));switch(e.type){case"click":if(c&&r.isVisible())if(i.disableButtons(),o.input){var h=function(){var t=i.getInput();if(!t)return null;switch(o.input){case"checkbox":return t.checked?1:0;case"radio":return t.checked?t.value:null;case"file":return t.files.length?t.files[0]:null;default:return o.inputAutoTrim?t.value.trim():t.value}}();if(o.inputValidator){i.disableInput();var m=Promise.resolve().then((function(){return o.inputValidator(h,o.extraParams)}));o.expectRejections?m.then((function(){i.enableButtons(),i.enableInput(),f(h)}),(function(t){i.enableButtons(),i.enableInput(),t&&i.showValidationError(t)})):m.then((function(t){i.enableButtons(),i.enableInput(),t?i.showValidationError(t):f(h)}),(function(t){return p(t)}))}else f(h)}else f(!0);else u&&r.isVisible()&&(i.disableButtons(),d(r.DismissReason.cancel))}},v=s.popup.querySelectorAll("button"),_=0;_<v.length;_++)v[_].onclick=m,v[_].onmouseover=m,v[_].onmouseout=m,v[_].onmousedown=m;if(s.closeButton.onclick=function(){d(r.DismissReason.close)},o.toast)s.popup.onclick=function(t){o.showConfirmButton||o.showCancelButton||o.showCloseButton||o.input||(r.closePopup(o.onClose,o.onAfterClose),d(r.DismissReason.close))};else{var y=!1;s.popup.onmousedown=function(){s.container.onmouseup=function(t){s.container.onmouseup=void 0,t.target===s.container&&(y=!0)}},s.container.onmousedown=function(){s.popup.onmouseup=function(t){s.popup.onmouseup=void 0,(t.target===s.popup||s.popup.contains(t.target))&&(y=!0)}},s.container.onclick=function(t){y?y=!1:t.target===s.container&&u(o.allowOutsideClick)&&d(r.DismissReason.backdrop)}}o.reverseButtons?s.confirmButton.parentNode.insertBefore(s.cancelButton,s.confirmButton):s.confirmButton.parentNode.insertBefore(s.confirmButton,s.cancelButton);var b=function(t,e){for(var i=j(o.focusCancel),n=0;n<i.length;n++){(t+=e)===i.length?t=0:-1===t&&(t=i.length-1);var r=i[t];
40if(A(r))return r.focus()}s.popup.focus()};U.keydownHandlerAdded&&(window.removeEventListener("keydown",U.keydownHandler,{capture:!0}),U.keydownHandlerAdded=!1),o.toast||(U.keydownHandler=function(t){return function(t,e){if(t.stopPropagation(),"Enter"!==t.key||t.isComposing)if("Tab"===t.key){for(var n=t.target||t.srcElement,o=j(e.focusCancel),a=-1,l=0;l<o.length;l++)if(n===o[l]){a=l;break}t.shiftKey?b(a,-1):b(a,1),t.stopPropagation(),t.preventDefault()}else-1!==["ArrowLeft","ArrowRight","ArrowUp","ArrowDown","Left","Right","Up","Down"].indexOf(t.key)?document.activeElement===s.confirmButton&&A(s.cancelButton)?s.cancelButton.focus():document.activeElement===s.cancelButton&&A(s.confirmButton)&&s.confirmButton.focus():"Escape"!==t.key&&"Esc"!==t.key||!0!==u(e.allowEscapeKey)||d(r.DismissReason.esc);else if(t.target&&i.getInput()&&t.target.outerHTML===i.getInput().outerHTML){if(-1!==["textarea","file"].indexOf(e.input))return;r.clickConfirm(),t.preventDefault()}}(t,o)},window.addEventListener("keydown",U.keydownHandler,{capture:!0}),U.keydownHandlerAdded=!0),i.enableButtons(),i.hideLoading(),i.resetValidationError(),o.input&&x(document.body,g["has-input"]);for(var k=["input","file","range","select","radio","checkbox","textarea"],$=void 0,P=0;P<k.length;P++){var O=g[k[P]],M=T(s.content,O);if($=i.getInput(k[P])){for(var E in $.attributes)if($.attributes.hasOwnProperty(E)){var I=$.attributes[E].name;"type"!==I&&"value"!==I&&$.removeAttribute(I)}for(var L in o.inputAttributes)$.setAttribute(L,o.inputAttributes[L])}M.className=O,o.inputClass&&x(M,o.inputClass),S(M)}var z=void 0;switch(o.input){case"text":case"email":case"password":case"number":case"tel":case"url":($=T(s.content,g.input)).value=o.inputValue,$.placeholder=o.inputPlaceholder,$.type=o.input,C($);break;case"file":($=T(s.content,g.file)).placeholder=o.inputPlaceholder,$.type=o.input,C($);break;case"range":var D=T(s.content,g.range),F=D.querySelector("input"),R=D.querySelector("output");F.value=o.inputValue,F.type=o.input,R.value=o.inputValue,C(D);break;case"select":var B=T(s.content,g.select);if(B.innerHTML="",o.inputPlaceholder){var H=document.createElement("option");H.innerHTML=o.inputPlaceholder,H.value="",H.disabled=!0,H.selected=!0,B.appendChild(H)}z=function(t){t.forEach((function(t){var e=a(t,2),i=e[0],n=e[1],s=document.createElement("option");s.value=i,s.innerHTML=n,o.inputValue.toString()===i.toString()&&(s.selected=!0),B.appendChild(s)})),C(B),B.focus()};break;case"radio":var W=T(s.content,g.radio);W.innerHTML="",z=function(t){t.forEach((function(t){var e=a(t,2),i=e[0],n=e[1],s=document.createElement("input"),r=document.createElement("label");s.type="radio",s.name=g.radio,s.value=i,o.inputValue.toString()===i.toString()&&(s.checked=!0),r.innerHTML=n,r.insertBefore(s,r.firstChild),W.appendChild(r)})),C(W);var e=W.querySelectorAll("input");e.length&&e[0].focus()};break;case"checkbox":var N=T(s.content,g.checkbox),q=i.getInput("checkbox");q.type="checkbox",q.value=1,q.id=g.checkbox,q.checked=Boolean(o.inputValue);var V=N.getElementsByTagName("span");V.length&&N.removeChild(V[0]),(V=document.createElement("span")).innerHTML=o.inputPlaceholder,N.appendChild(V),C(N);break;case"textarea":var X=T(s.content,g.textarea);X.value=o.inputValue,X.placeholder=o.inputPlaceholder,C(X);break;case null:break;default:c('Unexpected type of input! Expected "text", "email", "password", "number", "tel", "select", "radio", "checkbox", "textarea", "file" or "url", got "'+o.input+'"')}if("select"===o.input||"radio"===o.input){var Y=function(t){return z(function(t){var e=[];return"undefined"!=typeof Map&&t instanceof Map?t.forEach((function(t,i){e.push([i,t])})):Object.keys(t).forEach((function(i){e.push([i,t[i]])})),e}(t))};h(o.inputOptions)?(r.showLoading(),o.inputOptions.then((function(t){i.hideLoading(),Y(t)}))):"object"===t(o.inputOptions)?Y(o.inputOptions):c("Unexpected type of inputOptions! Expected object, Map or Promise, got "+t(o.inputOptions))}else-1!==["text","email","number","tel","textarea"].indexOf(o.input)&&h(o.inputValue)&&(r.showLoading(),S($),o.inputValue.then((function(t){$.value="number"===o.input?parseFloat(t)||0:t+"",C($),i.hideLoading()})).catch((function(t){c("Error in inputValue promise: "+t),$.value="",C($),i.hideLoading()})));ht(o),o.toast||(u(o.allowEnterKey)?o.focusCancel&&A(s.cancelButton)?s.cancelButton.focus():o.focusConfirm&&A(s.confirmButton)?s.confirmButton.focus():b(-1,1):document.activeElement&&document.activeElement.blur()),s.container.scrollTop=0}))}}),mt=void 0;function gt(){if("undefined"!=typeof window){"undefined"==typeof Promise&&c("This package requires a Promise library, please include a shim to enable it in this browser (See: https://github.com/sweetalert2/sweetalert2/wiki/Migration-from-SweetAlert-to-SweetAlert2#1-ie-support)");for(var t=arguments.length,e=Array(t),i=0;i<t;i++)e[i]=arguments[i];if(void 0===e[0])return c("SweetAlert2 expects at least 1 attribute!"),!1;mt=this;var n=Object.freeze(this.constructor.argsToParams(e));Object.defineProperties(this,{params:{value:n,writable:!1,enumerable:!0}})
41;var o=this._main(this.params);lt.promise.set(this,o)}}gt.prototype.then=function(t,e){return lt.promise.get(this).then(t,e)},gt.prototype.catch=function(t){return lt.promise.get(this).catch(t)},gt.prototype.finally=function(t){return lt.promise.get(this).finally(t)},n(gt.prototype,ft),n(gt,rt),Object.keys(ft).forEach((function(t){gt[t]=function(){var e;if(mt)return(e=mt)[t].apply(e,arguments)}})),gt.DismissReason=f,gt.noop=function(){},gt.version="7.22.0";var vt,_t,yt=Z((_t=function(a){function l(){return e(this,l),r(this,(l.__proto__||Object.getPrototypeOf(l)).apply(this,arguments))}return s(l,a),i(l,[{key:"_main",value:function(t){return o(l.prototype.__proto__||Object.getPrototypeOf(l.prototype),"_main",this).call(this,n({},nt,t))}}],[{key:"setDefaults",value:function(e){if(p(it),!e||"object"!==(void 0===e?"undefined":t(e)))throw new TypeError("SweetAlert2: The argument for setDefaults() is required and has to be a object");et(e),Object.keys(e).forEach((function(t){vt.isValidParameter(t)&&(nt[t]=e[t])}))}},{key:"resetDefaults",value:function(){p(it),nt={}}}]),l}(vt=gt),"undefined"!=typeof window&&"object"===t(window._swalDefaults)&&_t.setDefaults(window._swalDefaults),_t));return yt.default=yt,yt})),"undefined"!=typeof window&&window.Sweetalert2&&(window.swal=window.sweetAlert=window.Swal=window.SweetAlert=window.Sweetalert2),function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):"undefined"!=typeof exports?module.exports=t(require("jquery")):t(jQuery)}((function(t){"use strict";var e=window.ntgTooltip||{},i=[],n=[];(e=function(e,i){var n,o=this;o.defaults={elements:{appender:"self",trigger:e,container:""},position:"top",triggerOpen:"mouseenter touchstart",triggerClose:"mouseleave touchleave",animation:"fade",animationSpeed:350,openDelay:150,closeDelay:80,styles:{maxWidth:"400px",minWidth:"150px",marginWindow:20}},o.initials={appender:"",position:"",animation:"",previousPosition:"",timer:"",shouldUpdate:1},t(e).data("tooltip")||(n=t(e).data("tooltip",o)||{},t.extend(o,o.initials),o.options=t.extend({},o.defaults,n,i),o.init()),o.init=t.proxy(o.init,o),o.openTooltip=t.proxy(o.openTooltip,o),o.closeTooltip=t.proxy(o.closeTooltip,o)}).prototype.makeId=function(t,e,o){for(var s="",r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",a=0;a<t;a++)s+=r.charAt(Math.floor(Math.random()*r.length));var l,c=s+"-"+e;return void 0===(l=1==o?i:n)||l.indexOf(c)<0?c:this.makeId(t,e,o)},e.prototype.init=function(){var e=this;if(t(e.options.elements.trigger).length>0&&t(e.options.elements.trigger).attr("tooltip-content")){e.options.elements.container=t("<div tooltip></div>"),t(e.options.elements.container).html("<p>"+t(e.options.elements.trigger).attr("tooltip-content")+"</p>"),t(e.options.elements.trigger).html('<a href="javascript:;">'+t(e.options.elements.trigger).html()+"</a>");var n=t(e.options.elements.trigger)[0].id||e.makeId(6,"trigger-tooltip",1),o=t(e.options.elements.container)[0].id||e.makeId(6,"trigger-tooltip",1);i.push(o),t(e.options.elements.trigger).attr({"aria-controls":t(e.options.elements.container).attr("id"),id:n,tabindex:0}),t(e.options.elements.container).attr({role:"tooltip",id:o,"aria-hidden":!0}),e.initials.appender=e.options.elements.appender,void 0!==t(e.options.elements.trigger).attr("tooltip-parent")&&(e.initials.appender=t(e.options.elements.trigger).attr("tooltip-parent")),"parent"==e.initials.appender&&(t(e.options.elements.container).attr("tooltip-absolute",""),t(e.options.elements.trigger).parent().css("position","relative"),e.initials.appender=t(e.options.elements.trigger).parent()),"self"==e.initials.appender&&(t(e.options.elements.container).attr("tooltip-absolute-self",""),e.initials.appender=t(e.options.elements.trigger)),e.initials.position=e.options.elements.position,void 0!==t(e.options.elements.trigger).attr("tooltip-position")&&(e.initials.position=t(e.options.elements.trigger).attr("tooltip-position")),e.initials.animation=e.options.animation,void 0!==t(e.options.elements.trigger).attr("tooltip-animation")&&(e.initials.animation=t(e.options.elements.trigger).attr("tooltip-animation")),t(e.options.elements.container).attr("tooltip-position",e.initials.position),t(e.options.elements.container).attr("tooltip-animation",e.initials.animation),350!=e.options.animationSpeed&&t(e.options.elements.container).css({"-moz-animation-duration":self.__options.animationDuration[0]+"ms","-ms-animation-duration":self.__options.animationDuration[0]+"ms","-o-animation-duration":self.__options.animationDuration[0]+"ms","-webkit-animation-duration":self.__options.animationDuration[0]+"ms","animation-duration":self.__options.animationDuration[0]+"ms","transition-duration":self.__options.animationDuration[0]+"ms"}),t(e.options.elements.container).appendTo(t(e.initials.appender)),t(e.options.elements.trigger).find("a").on(e.options.triggerOpen,(function(i){void 0!==t(e.options.elements.container).attr("tooltip-absolute")?e.openTooltip():e.checkPosition(1,0)})),t(e.options.elements.trigger).find("a").on(e.options.triggerClose,(function(t){e.closeTooltip()})),t("body").on("click",(function(i){0==t(i.target).closest(e.options.elements.container).length&&0==t(i.target).closest(e.options.elements.trigger).length&&t(e.options.elements.container).attr("tooltip-visible")&&e.closeTooltip()})),void 0===t(e.options.elements.container).attr("tooltip-absolute")&&t(window).resized((function(){e.checkPosition(0,0)}))}},e.prototype.openTooltip=function(){var e=this;t.doTimeout(e.options.openDelay,(function(){t(e.options.elements.container).attr({"tooltip-visible":"","aria-hidden":!1,tabindex:-1})}
41))},e.prototype.closeTooltip=function(){var e=this;e.initials.timer&&clearTimeout(e.initials.timer),t.doTimeout(e.options.closeDelay,(function(){t(e.options.elements.container).removeAttr("tooltip-visible"),t(e.options.elements.container).attr({"aria-hidden":!0,tabindex:0})}))},e.prototype.handlePositionX=function(e,i){var n=this;0!=i&&(n.initials.previousPosition=n.initials.position,t(n.options.elements.container).attr("tooltip-position",i)),e=e-n.options.styles.marginWindow-20,t(n.options.elements.container).css({width:e+"px",margin:e/2+"px"}),n.initials.shouldUpdate=0},e.prototype.handlePositionY=function(e){var i=this,n=t(window).innerWidth()-t(i.options.elements.trigger).offset().left-i.options.styles.marginWindow;1==e&&(i.initials.previousPosition=i.initials.position,i.initials.position="top",t(i.options.elements.container).attr("tooltip-position","top")),t(i.options.elements.container).css({width:n+"px",left:"0px","margin-left":i.options.styles.marginWindow+"px"}),i.initials.shouldUpdate=0},e.prototype.checkPosition=function(e,i){var n=this;if(0==i)if(""!=n.initials.previousPosition&&(n.initials.position=n.initials.previousPosition,t(n.options.elements.container).attr("tooltip-position",n.initials.position),n.initials.previousPosition=""),t(n.options.elements.container).removeAttr("style"),t(n.options.elements.container).find("p").width()<t(n.options.elements.container).width()){var o=t(n.options.elements.container).find("p").width()+2*parseInt(t(n.options.elements.container).css("padding-left"))+5;t(n.options.elements.container).css({"max-width":n.options.styles.maxWidth,"min-width":o+"px"})}else{o=parseInt(n.options.styles.maxWidth)+100;t(n.options.elements.container).css({"max-width":n.options.styles.maxWidth,width:o+"px"})}var s=t(window).innerWidth(),r=n.checkOffscreen();n.initials.timer=setTimeout((function(){if(r){if("top"==n.initials.position||"bottom"==n.initials.position){var i="left";t(n.options.elements.container).offset().left+t(n.options.elements.container).width()>t(window).width()&&(i="right"),"left"==i?(n.initials.previousPosition=n.initials.position,n.initials.position="right",t(n.options.elements.container).attr("tooltip-position","right")):(n.initials.previousPosition=n.initials.position,n.initials.position="left",t(n.options.elements.container).attr("tooltip-position","left"))}else if("left"==n.initials.position||"right"==n.initials.position){var o=t(n.options.elements.trigger).offset().left,a=s-(t(n.options.elements.trigger).offset().left+t(n.options.elements.trigger).width()),l=o,c=a,d="right";"right"==n.initials.position&&(l=a,c=o,d="left");var p=l;p<parseInt(n.options.styles.minWidth)&&c>l?(p=c,n.handlePositionX(p,d)):p<parseInt(n.options.styles.minWidth)&&c<l?n.handlePositionY(1):n.handlePositionX(p,0)}}else n.initials.shouldUpdate=1;if("top"==n.initials.position||"bottom"==n.initials.position){var u="-"+(t(n.options.elements.container).innerWidth()/2-t(n.options.elements.trigger).innerWidth()/2);t(n.options.elements.container).css("margin-left",u+"px")}if("left"==n.initials.position||"right"==n.initials.position){u="-"+t(n.options.elements.container).innerHeight()/2;t(n.options.elements.container).css("margin-top",u+"px")}n.checkOffscreen()?n.checkPosition(1,1):1==e&&n.openTooltip()}),80)},e.prototype.checkOffscreen=function(){var e=this;return t(e.options.elements.container).offset().left<0||t(e.options.elements.container).offset().left+t(e.options.elements.container).width()>t(window).width()},t.fn.ntgtooltip=function(){for(var t,i=this,n=arguments[0],o=Array.prototype.slice.call(arguments,1),s=i.length,r=0;r<s;r++)if("object"==typeof n||void 0===n?i[r].ntgtooltip=new e(i[r],n):t=i[r].ntgtooltip[n].apply(i[r].ntgtooltip,o),void 0!==t)return t;return i}}));
42/*!
43 * VERSION: 2.0.1
44 * DATE: 2018-05-30
45 * UPDATES AND DOCS AT: http://greensock.com
46 * 
47 * Includes all of the following: TweenLite, TweenMax, TimelineLite, TimelineMax, EasePack, CSSPlugin, RoundPropsPlugin, BezierPlugin, AttrPlugin, DirectionalRotationPlugin
48 *
49 * @license Copyright (c) 2008-2018, GreenSock. All rights reserved.
50 * This work is subject to the terms at http://greensock.com/standard-license or for
51 * Club GreenSock members, the software agreement that was issued with your membership.
52 * 
53 * @author: Jack Doyle, [email protected]
54 **/
55var _gsScope="undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window;(_gsScope._gsQueue||(_gsScope._gsQueue=[])).push((function(){"use strict";_gsScope._gsDefine("TweenMax",["core.Animation","core.SimpleTimeline","TweenLite"],(function(t,e,i){var n=function(t){var e,i=[],n=t.length;for(e=0;e!==n;i.push(t[e++]));return i},o=function(t,e,i){var n,o,s=t.cycle;for(n in s)o=s[n],t[n]="function"==typeof o?o(i,e[i]):o[i%o.length];delete t.cycle},s=function(t,e,n){i.call(this,t,e,n),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=s.prototype.render},r=1e-10,a=i._internals,l=a.isSelector,c=a.isArray,d=s.prototype=i.to({},.1,{}),p=[];s.version="2.0.1",d.constructor=s,d.kill()._gc=!1,s.killTweensOf=s.killDelayedCallsTo=i.killTweensOf,s.getTweensOf=i.getTweensOf,s.lagSmoothing=i.lagSmoothing,s.ticker=i.ticker,s.render=i.render,d.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)},d.updateTo=function(t,e){var n,o=this.ratio,s=this.vars.immediateRender||t.immediateRender;for(n in e&&this._startTime<this._timeline._time&&(this._startTime=this._timeline._time,this._uncache(!1),this._gc?this._enabled(!0,!1):this._timeline.insert(this,this._startTime-this._delay)),t)this.vars[n]=t[n];if(this._initted||s)if(e)this._initted=!1,s&&this.render(0,!0,!0);else if(this._gc&&this._enabled(!0,!1),this._notifyPluginsOfEnabled&&this._firstPT&&i._onPluginEvent("_onDisable",this),this._time/this._duration>.998){var r=this._totalTime;this.render(0,!0,!1),this._initted=!1,this.render(r,!0,!1)}else if(this._initted=!1,this._init(),this._time>0||s)for(var a,l=1/(1-o),c=this._firstPT;c;)a=c.s+c.c,c.c*=l,c.s=a-c.c,c=c._next;return this},d.render=function(t,e,n){this._initted||0===this._duration&&this.vars.repeat&&this.invalidate();var o,s,l,c,d,p,u,h,f,m=this._dirty?this.totalDuration():this._totalDuration,g=this._time,v=this._totalTime,_=this._cycle,y=this._duration,w=this._rawPrevTime;if(t>=m-1e-7&&t>=0?(this._totalTime=m,this._cycle=this._repeat,this._yoyo&&0!=(1&this._cycle)?(this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0):(this._time=y,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1),this._reversed||(o=!0,s="onComplete",n=n||this._timeline.autoRemoveChildren),0===y&&(this._initted||!this.vars.lazy||n)&&(this._startTime===this._timeline._duration&&(t=0),(0>w||0>=t&&t>=-1e-7||w===r&&"isPause"!==this.data)&&w!==t&&(n=!0,w>r&&(s="onReverseComplete")),this._rawPrevTime=h=!e||t||w===t?t:r)):1e-7>t?(this._totalTime=this._time=this._cycle=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0,(0!==v||0===y&&w>0)&&(s="onReverseComplete",o=this._reversed),0>t&&(this._active=!1,0===y&&(this._initted||!this.vars.lazy||n)&&(w>=0&&(n=!0),this._rawPrevTime=h=!e||t||w===t?t:r)),this._initted||(n=!0)):(this._totalTime=this._time=t,0!==this._repeat&&(c=y+this._repeatDelay,this._cycle=this._totalTime/c>>0,0!==this._cycle&&this._cycle===this._totalTime/c&&t>=v&&this._cycle--,this._time=this._totalTime-this._cycle*c,this._yoyo&&0!=(1&this._cycle)&&(this._time=y-this._time,(f=this._yoyoEase||this.vars.yoyoEase)&&(this._yoyoEase||(!0!==f||this._initted?this._yoyoEase=f=!0===f?this._ease:f instanceof Ease?f:Ease.map[f]:(f=this.vars.ease,this._yoyoEase=f=f?f instanceof Ease?f:"function"==typeof f?new Ease(f,this.vars.easeParams):Ease.map[f]||i.defaultEase:i.defaultEase)),this.ratio=f?1-f.getRatio((y-this._time)/y):0)),this._time>y?this._time=y:this._time<0&&(this._time=0)),this._easeType&&!f?(d=this._time/y,(1===(p=this._easeType)||3===p&&d>=.5)&&(d=1-d),3===p&&(d*=2),1===(u=this._easePower)?d*=d:2===u?d*=d*d:3===u?d*=d*d*d:4===u&&(d*=d*d*d*d),1===p?this.ratio=1-d:2===p?this.ratio=d:this._time/y<.5?this.ratio=d/2:this.ratio=1-d/2):f||(this.ratio=this._ease.getRatio(this._time/y))),g!==this._time||n||_!==this._cycle){if(!this._initted){if(this._init(),!this._initted||this._gc)return;if(!n&&this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&
55!this._duration))return this._time=g,this._totalTime=v,this._rawPrevTime=w,this._cycle=_,a.lazyTweens.push(this),void(this._lazy=[t,e]);!this._time||o||f?o&&this._ease._calcEnd&&!f&&(this.ratio=this._ease.getRatio(0===this._time?0:1)):this.ratio=this._ease.getRatio(this._time/y)}for(!1!==this._lazy&&(this._lazy=!1),this._active||!this._paused&&this._time!==g&&t>=0&&(this._active=!0),0===v&&(2===this._initted&&t>0&&this._init(),this._startAt&&(t>=0?this._startAt.render(t,!0,n):s||(s="_dummyGS")),this.vars.onStart&&(0!==this._totalTime||0===y)&&(e||this._callback("onStart"))),l=this._firstPT;l;)l.f?l.t[l.p](l.c*this.ratio+l.s):l.t[l.p]=l.c*this.ratio+l.s,l=l._next;this._onUpdate&&(0>t&&this._startAt&&this._startTime&&this._startAt.render(t,!0,n),e||(this._totalTime!==v||s)&&this._callback("onUpdate")),this._cycle!==_&&(e||this._gc||this.vars.onRepeat&&this._callback("onRepeat")),s&&(!this._gc||n)&&(0>t&&this._startAt&&!this._onUpdate&&this._startTime&&this._startAt.render(t,!0,n),o&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[s]&&this._callback(s),0===y&&this._rawPrevTime===r&&h!==r&&(this._rawPrevTime=0))}else v!==this._totalTime&&this._onUpdate&&(e||this._callback("onUpdate"))},s.to=function(t,e,i){return new s(t,e,i)},s.from=function(t,e,i){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,new s(t,e,i)},s.fromTo=function(t,e,i,n){return n.startAt=i,n.immediateRender=0!=n.immediateRender&&0!=i.immediateRender,new s(t,e,n)},s.staggerTo=s.allTo=function(t,e,r,a,d,u,h){a=a||0;var f,m,g,v,_=0,y=[],w=function(){r.onComplete&&r.onComplete.apply(r.onCompleteScope||this,arguments),d.apply(h||r.callbackScope||this,u||p)},b=r.cycle,x=r.startAt&&r.startAt.cycle;for(c(t)||("string"==typeof t&&(t=i.selector(t)||t),l(t)&&(t=n(t))),t=t||[],0>a&&((t=n(t)).reverse(),a*=-1),f=t.length-1,g=0;f>=g;g++){for(v in m={},r)m[v]=r[v];if(b&&(o(m,t,g),null!=m.duration&&(e=m.duration,delete m.duration)),x){for(v in x=m.startAt={},r.startAt)x[v]=r.startAt[v];o(m.startAt,t,g)}m.delay=_+(m.delay||0),g===f&&d&&(m.onComplete=w),y[g]=new s(t[g],e,m),_+=a}return y},s.staggerFrom=s.allFrom=function(t,e,i,n,o,r,a){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,s.staggerTo(t,e,i,n,o,r,a)},s.staggerFromTo=s.allFromTo=function(t,e,i,n,o,r,a,l){return n.startAt=i,n.immediateRender=0!=n.immediateRender&&0!=i.immediateRender,s.staggerTo(t,e,n,o,r,a,l)},s.delayedCall=function(t,e,i,n,o){return new s(e,0,{delay:t,onComplete:e,onCompleteParams:i,callbackScope:n,onReverseComplete:e,onReverseCompleteParams:i,immediateRender:!1,useFrames:o,overwrite:0})},s.set=function(t,e){return new s(t,0,e)},s.isTweening=function(t){return i.getTweensOf(t,!0).length>0};var u=function(t,e){for(var n=[],o=0,s=t._first;s;)s instanceof i?n[o++]=s:(e&&(n[o++]=s),o=(n=n.concat(u(s,e))).length),s=s._next;return n},h=s.getAllTweens=function(e){return u(t._rootTimeline,e).concat(u(t._rootFramesTimeline,e))};s.killAll=function(t,i,n,o){null==i&&(i=!0),null==n&&(n=!0);var s,r,a,l=h(0!=o),c=l.length,d=i&&n&&o;for(a=0;c>a;a++)r=l[a],(d||r instanceof e||(s=r.target===r.vars.onComplete)&&n||i&&!s)&&(t?r.totalTime(r._reversed?0:r.totalDuration()):r._enabled(!1,!1))},s.killChildTweensOf=function(t,e){if(null!=t){var o,r,d,p,u,h=a.tweenLookup;if("string"==typeof t&&(t=i.selector(t)||t),l(t)&&(t=n(t)),c(t))for(p=t.length;--p>-1;)s.killChildTweensOf(t[p],e);else{for(d in o=[],h)for(r=h[d].target.parentNode;r;)r===t&&(o=o.concat(h[d].tweens)),r=r.parentNode;for(u=o.length,p=0;u>p;p++)e&&o[p].totalTime(o[p].totalDuration()),o[p]._enabled(!1,!1)}}};var f=function(t,i,n,o){i=!1!==i,n=!1!==n;for(var s,r,a=h(o=!1!==o),l=i&&n&&o,c=a.length;--c>-1;)r=a[c],(l||r instanceof e||(s=r.target===r.vars.onComplete)&&n||i&&!s)&&r.paused(t)};return s.pauseAll=function(t,e,i){f(!0,t,e,i)},s.resumeAll=function(t,e,i){f(!1,t,e,i)},s.globalTimeScale=function(e){var n=t._rootTimeline,o=i.ticker.time;return arguments.length?(e=e||r,n._startTime=o-(o-n._startTime)*n._timeScale/e,n=t._rootFramesTimeline,o=i.ticker.frame,n._startTime=o-(o-n._startTime)*n._timeScale/e,n._timeScale=t._rootTimeline._timeScale=e,e):n._timeScale},d.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()},d.totalProgress=function(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this._totalTime/this.totalDuration()},d.time=function(t,e){return arguments.length?(this._dirty&&this.totalDuration(),t>this._duration&&(t=this._duration),this._yoyo&&0!=(1&this._cycle)?t=this._duration-t+this._cycle*(this._duration+this._repeatDelay):0!==this._repeat&&(t+=this._cycle*(this._duration+this._repeatDelay)),this.totalTime(t,e)):this._time},d.duration=function(e){return arguments.length?t.prototype.duration.call(this,e):this._duration},d.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)},d.repeat=function(t){return arguments.length?(this._repeat=t,this._uncache(!0)):this._repeat},d.repeatDelay=function(t){return arguments.length?(this._repeatDelay=t,this._uncache(!0)):this._repeatDelay},d.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},s}),!0),_gsScope._gsDefine("TimelineLite",["core.Animation","core.SimpleTimeline","TweenLite"],(function(t,e,
55i){var n=function(t){e.call(this,t),this._labels={},this.autoRemoveChildren=!0===this.vars.autoRemoveChildren,this.smoothChildTiming=!0===this.vars.smoothChildTiming,this._sortChildren=!0,this._onUpdate=this.vars.onUpdate;var i,n,o=this.vars;for(n in o)i=o[n],l(i)&&-1!==i.join("").indexOf("{self}")&&(o[n]=this._swapSelfInParams(i));l(o.tweens)&&this.add(o.tweens,0,o.align,o.stagger)},o=1e-10,s=i._internals,r=n._internals={},a=s.isSelector,l=s.isArray,c=s.lazyTweens,d=s.lazyRender,p=_gsScope._gsDefine.globals,u=function(t){var e,i={};for(e in t)i[e]=t[e];return i},h=function(t,e,i){var n,o,s=t.cycle;for(n in s)o=s[n],t[n]="function"==typeof o?o(i,e[i]):o[i%o.length];delete t.cycle},f=r.pauseCallback=function(){},m=function(t){var e,i=[],n=t.length;for(e=0;e!==n;i.push(t[e++]));return i},g=n.prototype=new e;return n.version="2.0.1",g.constructor=n,g.kill()._gc=g._forcingPlayhead=g._hasPause=!1,g.to=function(t,e,n,o){var s=n.repeat&&p.TweenMax||i;return e?this.add(new s(t,e,n),o):this.set(t,n,o)},g.from=function(t,e,n,o){return this.add((n.repeat&&p.TweenMax||i).from(t,e,n),o)},g.fromTo=function(t,e,n,o,s){var r=o.repeat&&p.TweenMax||i;return e?this.add(r.fromTo(t,e,n,o),s):this.set(t,o,s)},g.staggerTo=function(t,e,o,s,r,l,c,d){var p,f,g=new n({onComplete:l,onCompleteParams:c,callbackScope:d,smoothChildTiming:this.smoothChildTiming}),v=o.cycle;for("string"==typeof t&&(t=i.selector(t)||t),a(t=t||[])&&(t=m(t)),0>(s=s||0)&&((t=m(t)).reverse(),s*=-1),f=0;f<t.length;f++)(p=u(o)).startAt&&(p.startAt=u(p.startAt),p.startAt.cycle&&h(p.startAt,t,f)),v&&(h(p,t,f),null!=p.duration&&(e=p.duration,delete p.duration)),g.to(t[f],e,p,f*s);return this.add(g,r)},g.staggerFrom=function(t,e,i,n,o,s,r,a){return i.immediateRender=0!=i.immediateRender,i.runBackwards=!0,this.staggerTo(t,e,i,n,o,s,r,a)},g.staggerFromTo=function(t,e,i,n,o,s,r,a,l){return n.startAt=i,n.immediateRender=0!=n.immediateRender&&0!=i.immediateRender,this.staggerTo(t,e,n,o,s,r,a,l)},g.call=function(t,e,n,o){return this.add(i.delayedCall(0,t,e,n),o)},g.set=function(t,e,n){return n=this._parseTimeOrLabel(n,0,!0),null==e.immediateRender&&(e.immediateRender=n===this._time&&!this._paused),this.add(new i(t,0,e),n)},n.exportRoot=function(t,e){null==(t=t||{}).smoothChildTiming&&(t.smoothChildTiming=!0);var o,s,r,a,l=new n(t),c=l._timeline;for(null==e&&(e=!0),c._remove(l,!0),l._startTime=0,l._rawPrevTime=l._time=l._totalTime=c._time,r=c._first;r;)a=r._next,e&&r instanceof i&&r.target===r.vars.onComplete||(0>(s=r._startTime-r._delay)&&(o=1),l.add(r,s)),r=a;return c.add(l,0),o&&l.totalDuration(),l},g.add=function(o,s,r,a){var c,d,p,u,h,f;if("number"!=typeof s&&(s=this._parseTimeOrLabel(s,0,!0,o)),!(o instanceof t)){if(o instanceof Array||o&&o.push&&l(o)){for(r=r||"normal",a=a||0,c=s,d=o.length,p=0;d>p;p++)l(u=o[p])&&(u=new n({tweens:u})),this.add(u,c),"string"!=typeof u&&"function"!=typeof u&&("sequence"===r?c=u._startTime+u.totalDuration()/u._timeScale:"start"===r&&(u._startTime-=u.delay())),c+=a;return this._uncache(!0)}if("string"==typeof o)return this.addLabel(o,s);if("function"!=typeof o)throw"Cannot add "+o+" into the timeline; it is not a tween, timeline, function, or string.";o=i.delayedCall(0,o)}if(e.prototype.add.call(this,o,s),o._time&&o.render((this.rawTime()-o._startTime)*o._timeScale,!1,!1),(this._gc||this._time===this._duration)&&!this._paused&&this._duration<this.duration())for(f=(h=this).rawTime()>o._startTime;h._timeline;)f&&h._timeline.smoothChildTiming?h.totalTime(h._totalTime,!0):h._gc&&h._enabled(!0,!1),h=h._timeline;return this},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 n=e.length;--n>-1;)this.remove(e[n]);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))}
vendor: 1,429 bytes, line 55
55,g.insert=g.insertMultiple=function(t,e,i,n){return this.add(t,e||0,i,n)},g.appendMultiple=function(t,e,i,n){return this.add(t,this._parseTimeOrLabel(null,e,!0,t),i,n)},g.addLabel=function(t,e){return this._labels[t]=this._parseTimeOrLabel(e),this},g.addPause=function(t,e,n,o){var s=i.delayedCall(0,f,n,o||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,n,o){var s,r;if(o instanceof t&&o.timeline===this)this.remove(o);else if(o&&(o instanceof Array||o.push&&l(o)))for(r=o.length;--r>-1;)o[r]instanceof t&&o[r].timeline===this&&this.remove(o[r]);if(s="number"!=typeof e||i?this.duration()>99999999999?this.recent().endTime(!1):this._duration:0,"string"==typeof i)return this._parseTimeOrLabel(i,n&&"number"==typeof e&&null==this._labels[i]?e-s:0,n);if(i=i||0,"string"!=typeof e||!isNaN(e)&&null==this._labels[e])null==e&&(e=s);else{if(-1===(r=e.indexOf("=")))return null==this._labels[e]?n?this._labels[e]=s+i:i:this._labels[e]+i;i=parseInt(e.charAt(r-1)+"1",10)*Number(e.substr(r+1)),e=r>1?this._parseTimeOrLabel(e.substr(0,r-1),0,n):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)}
vendor: 4,206 bytes, line 55
55,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 n,s,r,a,l,p,u,h=this._time,f=this._dirty?this.totalDuration():this._totalDuration,m=this._startTime,g=this._timeScale,v=this._paused;if(h!==this._time&&(t+=this._time-h),t>=f-1e-7&&t>=0)this._totalTime=this._time=f,this._reversed||this._hasPausedChild()||(s=!0,a="onComplete",l=!!this._timeline.autoRemoveChildren,0===this._duration&&(0>=t&&t>=-1e-7||this._rawPrevTime<0||this._rawPrevTime===o)&&this._rawPrevTime!==t&&this._first&&(l=!0,this._rawPrevTime>o&&(a="onReverseComplete"))),this._rawPrevTime=this._duration||!e||t||this._rawPrevTime===t?t:o,t=f+1e-4;else if(1e-7>t)if(this._totalTime=this._time=0,(0!==h||0===this._duration&&this._rawPrevTime!==o&&(this._rawPrevTime>0||0>t&&this._rawPrevTime>=0))&&(a="onReverseComplete",s=this._reversed),0>t)this._active=!1,this._timeline.autoRemoveChildren&&this._reversed?(l=s=!0,a="onReverseComplete"):this._rawPrevTime>=0&&this._first&&(l=!0),this._rawPrevTime=t;else{if(this._rawPrevTime=this._duration||!e||t||this._rawPrevTime===t?t:o,0===t&&s)for(n=this._first;n&&0===n._startTime;)n._duration||(s=!1),n=n._next;t=0,this._initted||(l=!0)}else{if(this._hasPause&&!this._forcingPlayhead&&!e){if(t>=h)for(n=this._first;n&&n._startTime<=t&&!p;)n._duration||"isPause"!==n.data||n.ratio||0===n._startTime&&0===this._rawPrevTime||(p=n),n=n._next;else for(n=this._last;n&&n._startTime>=t&&!p;)n._duration||"isPause"===n.data&&n._rawPrevTime>0&&(p=n),n=n._prev;p&&(this._time=t=p._startTime,this._totalTime=t+this._cycle*(this._totalDuration+this._repeatDelay))}this._totalTime=this._time=this._rawPrevTime=t}if(this._time!==h&&this._first||i||l||p){if(this._initted||(this._initted=!0),this._active||!this._paused&&this._time!==h&&t>0&&(this._active=!0),0===h&&this.vars.onStart&&(0===this._time&&this._duration||e||this._callback("onStart")),(u=this._time)>=h)for(n=this._first;n&&(r=n._next,u===this._time&&(!this._paused||v));)(n._active||n._startTime<=u&&!n._paused&&!n._gc)&&(p===n&&this.pause(),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;else for(n=this._last;n&&(r=n._prev,u===this._time&&(!this._paused||v));){if(n._active||n._startTime<=h&&!n._paused&&!n._gc){if(p===n){for(p=n._prev;p&&p.endTime()>this._time;)p.render(p._reversed?p.totalDuration()-(t-p._startTime)*p._timeScale:(t-p._startTime)*p._timeScale,e,i),p=p._prev;p=null,this.pause()}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}this._onUpdate&&(e||(c.length&&d(),this._callback("onUpdate"))),a&&(this._gc||(m===this._startTime||g!==this._timeScale)&&(0===this._time||f>=this.totalDuration())&&(s&&(c.length&&d(),this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[a]&&this._callback(a)))}},g._hasPausedChild=function(){for(var t=this._first;t;){if(t._paused||t instanceof n&&t._hasPausedChild())return!0;t=t._next}return!1},g.getChildren=function(t,e,n,o){o=o||-9999999999;for(var s=[],r=this._first,a=0;r;)r._startTime<o||(r instanceof i?!1!==e&&(s[a++]=r):(!1!==n&&(s[a++]=r),!1!==t&&(a=(s=s.concat(r.getChildren(!0,e,n))).length))),r=r._next;return s},g.getTweensOf=function(t,e){var n,o,s=this._gc,r=[],a=0;for(s&&this._enabled(!0,!0),o=(n=i.getTweensOf(t)).length;--o>-1;)(n[o].timeline===this||e&&this._contains(n[o]))&&(r[a++]=n[o]);return s&&this._enabled(!1,!0),r},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 n,o=this._first,s=this._labels;o;)o._startTime>=i&&(o._startTime+=t),o=o._next;if(e)for(n in s)s[n]>=i&&(s[n]+=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),n=i.length,o=!1;--n>-1;)i[n]._kill(t,e)&&(o=!0);return o},g.clear=function(t){var e=this.getChildren(!1,!0,!0),i=e.length;for(this._time=this._totalTime=0;--i>-1;
55)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 n=this._first;n;)n._enabled(t,!0),n=n._next;return e.prototype._enabled.call(this,t,i)},g.totalTime=function(e,i,n){this._forcingPlayhead=!0;var o=t.prototype.totalTime.apply(this,arguments);return this._forcingPlayhead=!1,o},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,n=0,o=this._last,s=999999999999;o;)e=o._prev,o._dirty&&o.totalDuration(),o._startTime>s&&this._sortChildren&&!o._paused&&!this._calculatingDuration?(this._calculatingDuration=1,this.add(o,o._startTime-o._delay),this._calculatingDuration=0):s=o._startTime,o._startTime<0&&!o._paused&&(n-=o._startTime,this._timeline.smoothChildTiming&&(this._startTime+=o._startTime/this._timeScale,this._time-=o._startTime,this._totalTime-=o._startTime,this._rawPrevTime-=o._startTime),this.shiftChildren(-o._startTime,!1,-9999999999),s=0),(i=o._startTime+o._totalDuration/o._timeScale)>n&&(n=i),o=e;this._duration=this._totalDuration=n,this._dirty=!1}return this._totalDuration}return t&&this.totalDuration()?this.timeScale(this._totalDuration/t):this},g.paused=function(e){if(!e)for(var i=this._first,n=this._time;i;)i._startTime===n&&"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},n}),!0),_gsScope._gsDefine("TimelineMax",["TimelineLite","TweenLite","easing.Ease"],(function(t,e,i){var n=function(e){t.call(this,e),this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._cycle=0,this._yoyo=!0===this.vars.yoyo,this._dirty=!0},o=1e-10,s=e._internals,r=s.lazyTweens,a=s.lazyRender,l=_gsScope._gsDefine.globals,c=new i(null,null,1,0),d=n.prototype=new t;return d.constructor=n,d.kill()._gc=!1,n.version="2.0.1",d.invalidate=function(){return this._yoyo=!0===this.vars.yoyo,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._uncache(!0),t.prototype.invalidate.call(this)},d.addCallback=function(t,i,n,o){return this.add(e.delayedCall(0,t,n,o),i)},d.removeCallback=function(t,e){if(t)if(null==e)this._kill(null,t);else for(var i=this.getTweensOf(t,!1),n=i.length,o=this._parseTimeOrLabel(e);--n>-1;)i[n]._startTime===o&&i[n]._enabled(!1,!1);return this},d.removePause=function(e){return this.removeCallback(t._internals.pauseCallback,e)},d.tweenTo=function(t,i){i=i||{};var n,o,s,r={ease:c,useFrames:this.usesFrames(),immediateRender:!1,lazy:!1},a=i.repeat&&l.TweenMax||e;for(o in i)r[o]=i[o];return r.time=this._parseTimeOrLabel(t),n=Math.abs(Number(r.time)-this._time)/this._timeScale||.001,s=new a(this,n,r),r.onStart=function(){s.target.paused(!0),s.vars.time===s.target.time()||n!==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},d.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 n=this.tweenTo(e,i);return n.isFromTo=1,n.duration(Math.abs(n.vars.time-t)/this._timeScale||.001)},d.render=function(t,e,i){this._gc&&this._enabled(!0,!1);var n,s,l,c,d,p,u,h,f=this._time,m=this._dirty?this.totalDuration():this._totalDuration,g=this._duration,v=this._totalTime,_=this._startTime,y=this._timeScale,w=this._rawPrevTime,b=this._paused,x=this._cycle;if(f!==this._time&&(t+=this._time-f),t>=m-1e-7&&t>=0)this._locked||(this._totalTime=m,this._cycle=this._repeat),this._reversed||this._hasPausedChild()||(s=!0,c="onComplete",d=!!this._timeline.autoRemoveChildren,0===this._duration&&(0>=t&&t>=-1e-7||0>w||w===o)&&w!==t&&this._first&&(d=!0,w>o&&(c="onReverseComplete"))),this._rawPrevTime=this._duration||!e||t||this._rawPrevTime===t?t:o,this._yoyo&&0!=(1&this._cycle)?this._time=t=0:(this._time=g,t=g+1e-4);else if(1e-7>t)if(this._locked||(this._totalTime=this._cycle=0),this._time=0,(0!==f||0===g&&w!==o&&(w>0||0>t&&w>=0)&&!this._locked)&&(c="onReverseComplete",s=this._reversed),0>t)this._active=!1,this._timeline.autoRemoveChildren&&this._reversed?(d=s=!0,c="onReverseComplete"):w>=0&&this._first&&(d=!0),this._rawPrevTime=t;else{if(this._rawPrevTime=g||!e||t||this._rawPrevTime===t?t:o,0===t&&s)for(n=this._first;n&&0===n._startTime;)n._duration||(s=!1),n=n._next;
vendor: 5,078 bytes, line 55
55t=0,this._initted||(d=!0)}else if(0===g&&0>w&&(d=!0),this._time=this._rawPrevTime=t,this._locked||(this._totalTime=t,0!==this._repeat&&(p=g+this._repeatDelay,this._cycle=this._totalTime/p>>0,0!==this._cycle&&this._cycle===this._totalTime/p&&t>=v&&this._cycle--,this._time=this._totalTime-this._cycle*p,this._yoyo&&0!=(1&this._cycle)&&(this._time=g-this._time),this._time>g?(this._time=g,t=g+1e-4):this._time<0?this._time=t=0:t=this._time)),this._hasPause&&!this._forcingPlayhead&&!e){if((t=this._time)>=f||this._repeat&&x!==this._cycle)for(n=this._first;n&&n._startTime<=t&&!u;)n._duration||"isPause"!==n.data||n.ratio||0===n._startTime&&0===this._rawPrevTime||(u=n),n=n._next;else for(n=this._last;n&&n._startTime>=t&&!u;)n._duration||"isPause"===n.data&&n._rawPrevTime>0&&(u=n),n=n._prev;u&&u._startTime<g&&(this._time=t=u._startTime,this._totalTime=t+this._cycle*(this._totalDuration+this._repeatDelay))}if(this._cycle!==x&&!this._locked){var k=this._yoyo&&0!=(1&x),T=k===(this._yoyo&&0!=(1&this._cycle)),C=this._totalTime,S=this._cycle,A=this._rawPrevTime,$=this._time;if(this._totalTime=x*g,this._cycle<x?k=!k:this._totalTime+=g,this._time=f,this._rawPrevTime=0===g?w-1e-4:w,this._cycle=x,this._locked=!0,f=k?0:g,this.render(f,e,0===g),e||this._gc||this.vars.onRepeat&&(this._cycle=S,this._locked=!1,this._callback("onRepeat")),f!==this._time)return;if(T&&(this._cycle=x,this._locked=!0,f=k?g+1e-4:-1e-4,this.render(f,!0,!1)),this._locked=!1,this._paused&&!b)return;this._time=$,this._totalTime=C,this._cycle=S,this._rawPrevTime=A}if(this._time!==f&&this._first||i||d||u){if(this._initted||(this._initted=!0),this._active||!this._paused&&this._totalTime!==v&&t>0&&(this._active=!0),0===v&&this.vars.onStart&&(0===this._totalTime&&this._totalDuration||e||this._callback("onStart")),(h=this._time)>=f)for(n=this._first;n&&(l=n._next,h===this._time&&(!this._paused||b));)(n._active||n._startTime<=this._time&&!n._paused&&!n._gc)&&(u===n&&this.pause(),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=l;else for(n=this._last;n&&(l=n._prev,h===this._time&&(!this._paused||b));){if(n._active||n._startTime<=f&&!n._paused&&!n._gc){if(u===n){for(u=n._prev;u&&u.endTime()>this._time;)u.render(u._reversed?u.totalDuration()-(t-u._startTime)*u._timeScale:(t-u._startTime)*u._timeScale,e,i),u=u._prev;u=null,this.pause()}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=l}this._onUpdate&&(e||(r.length&&a(),this._callback("onUpdate"))),c&&(this._locked||this._gc||(_===this._startTime||y!==this._timeScale)&&(0===this._time||m>=this.totalDuration())&&(s&&(r.length&&a(),this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[c]&&this._callback(c)))}else v!==this._totalTime&&this._onUpdate&&(e||this._callback("onUpdate"))},d.getActive=function(t,e,i){null==t&&(t=!0),null==e&&(e=!0),null==i&&(i=!1);var n,o,s=[],r=this.getChildren(t,e,i),a=0,l=r.length;for(n=0;l>n;n++)(o=r[n]).isActive()&&(s[a++]=o);return s},d.getLabelAfter=function(t){t||0!==t&&(t=this._time);var e,i=this.getLabelsArray(),n=i.length;for(e=0;n>e;e++)if(i[e].time>t)return i[e].name;return null},d.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},d.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},d.invalidate=function(){return this._locked=!1,t.prototype.invalidate.call(this)},d.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},d.totalProgress=function(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this._totalTime/this.totalDuration()||0},d.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)},d.time=function(t,e){return arguments.length?(this._dirty&&this.totalDuration(),t>this._duration&&(t=this._duration),this._yoyo&&0!=(1&this._cycle)?t=this._duration-t+this._cycle*(this._duration+this._repeatDelay):0!==this._repeat&&(t+=this._cycle*(this._duration+this._repeatDelay)),this.totalTime(t,e)):this._time},d.repeat=function(t){return arguments.length?(this._repeat=t,this._uncache(!0)):this._repeat},d.repeatDelay=function(t){return arguments.length?(this._repeatDelay=t,this._uncache(!0)):this._repeatDelay},d.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},d.currentLabel=function(t){return arguments.length?this.seek(t,!0):this.getLabelBefore(this._time+1e-8)},n}),!0),function(){var t=180/Math.PI,e=[],i=[],n=[],o={}
55,s=_gsScope._gsDefine.globals,r=function(t,e,i,n){i===n&&(i=n-(n-e)/1e6),t===e&&(e=t+(i-t)/1e6),this.a=t,this.b=e,this.c=i,this.d=n,this.da=n-t,this.ca=i-t,this.ba=e-t},a=function(t,e,i,n){var o={a:t},s={},r={},a={c:n},l=(t+e)/2,c=(e+i)/2,d=(i+n)/2,p=(l+c)/2,u=(c+d)/2,h=(u-p)/8;return o.b=l+(t-l)/4,s.b=p+h,o.c=s.a=(o.b+s.b)/2,s.c=r.a=(p+u)/2,r.b=u-h,a.b=d+(n-d)/4,r.c=a.a=(r.b+a.b)/2,[o,s,r,a]},l=function(t,o,s,r,l){var c,d,p,u,h,f,m,g,v,_,y,w,b,x=t.length-1,k=0,T=t[0].a;for(c=0;x>c;c++)d=(h=t[k]).a,p=h.d,u=t[k+1].d,l?(y=e[c],b=((w=i[c])+y)*o*.25/(r?.5:n[c]||.5),g=p-((f=p-(p-d)*(r?.5*o:0!==y?b/y:0))+(((m=p+(u-p)*(r?.5*o:0!==w?b/w:0))-f)*(3*y/(y+w)+.5)/4||0))):g=p-((f=p-(p-d)*o*.5)+(m=p+(u-p)*o*.5))/2,f+=g,m+=g,h.c=v=f,h.b=0!==c?T:T=h.a+.6*(h.c-h.a),h.da=p-d,h.ca=v-d,h.ba=T-d,s?(_=a(d,T,v,p),t.splice(k,1,_[0],_[1],_[2],_[3]),k+=4):k++,T=m;(h=t[k]).b=T,h.c=T+.4*(h.d-T),h.da=h.d-h.a,h.ca=h.c-h.a,h.ba=T-h.a,s&&(_=a(h.a,T,h.c,h.d),t.splice(k,1,_[0],_[1],_[2],_[3]))},c=function(t,n,o,s){var a,l,c,d,p,u,h=[];if(s)for(l=(t=[s].concat(t)).length;--l>-1;)"string"==typeof(u=t[l][n])&&"="===u.charAt(1)&&(t[l][n]=s[n]+Number(u.charAt(0)+u.substr(2)));if(0>(a=t.length-2))return h[0]=new r(t[0][n],0,0,t[0][n]),h;for(l=0;a>l;l++)c=t[l][n],d=t[l+1][n],h[l]=new r(c,0,0,d),o&&(p=t[l+2][n],e[l]=(e[l]||0)+(d-c)*(d-c),i[l]=(i[l]||0)+(p-d)*(p-d));return h[l]=new r(t[l][n],0,0,t[l+1][n]),h},d=function(t,s,r,a,d,p){var u,h,f,m,g,v,_,y,w={},b=[],x=p||t[0];for(h in d="string"==typeof d?","+d+",":",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(h);if(t.length>1){for(y=t[t.length-1],_=!0,u=b.length;--u>-1;)if(h=b[u],Math.abs(x[h]-y[h])>.05){_=!1;break}_&&(t=t.concat(),p&&t.unshift(p),t.push(t[1]),p=t[t.length-3])}for(e.length=i.length=n.length=0,u=b.length;--u>-1;)h=b[u],o[h]=-1!==d.indexOf(","+h+","),w[h]=c(t,h,o[h],p);for(u=e.length;--u>-1;)e[u]=Math.sqrt(e[u]),i[u]=Math.sqrt(i[u]);if(!a){for(u=b.length;--u>-1;
55)if(o[h])for(v=(f=w[b[u]]).length-1,
56m=0;v>m;m++)g=f[m+1].da/i[m]+f[m].da/e[m]||0,n[m]=(n[m]||0)+g*g;for(u=n.length;--u>-1;)n[u]=Math.sqrt(n[u])}for(u=b.length,m=r?4:1;--u>-1;)f=w[h=b[u]],l(f,s,r,a,o[h]),_&&(f.splice(0,m),f.splice(f.length-m,m));return w},p=function(t,e,i){var n,o,s,a,l,c,d,p,u,h,f,m={},g="cubic"===(e=e||"soft")?3:2,v="soft"===e,_=[];if(v&&i&&(t=[i].concat(t)),null==t||t.length<g+1)throw"invalid Bezier data";for(u in t[0])_.push(u);for(c=_.length;--c>-1;){for(m[u=_[c]]=l=[],h=0,p=t.length,d=0;p>d;d++)n=null==i?t[d][u]:"string"==typeof(f=t[d][u])&&"="===f.charAt(1)?i[u]+Number(f.charAt(0)+f.substr(2)):Number(f),v&&d>1&&p-1>d&&(l[h++]=(n+l[h-2])/2),l[h++]=n;for(p=h-g+1,h=0,d=0;p>d;d+=g)n=l[d],o=l[d+1],s=l[d+2],a=2===g?0:l[d+3],l[h++]=f=3===g?new r(n,o,s,a):new r(n,(2*o+n)/3,(2*o+s)/3,s);l.length=h}return m},u=function(t,e,i){for(var n,o,s,r,a,l,c,d,p,u,h,f=1/i,m=t.length;--m>-1;)for(s=(u=t[m]).a,r=u.d-s,a=u.c-s,l=u.b-s,n=o=0,d=1;i>=d;d++)n=o-(o=((c=f*d)*c*r+3*(p=1-c)*(c*a+p*l))*c),e[h=m*i+d-1]=(e[h]||0)+n*n},h=function(t,e){var i,n,o,s,r=[],a=[],l=0,c=0,d=(e=e>>0||6)-1,p=[],h=[];for(i in t)u(t[i],r,e);for(o=r.length,n=0;o>n;n++)l+=Math.sqrt(r[n]),h[s=n%e]=l,s===d&&(c+=l,p[s=n/e>>0]=h,a[s]=c,l=0,h=[]);return{length:c,lengths:a,segments:p}},f=_gsScope._gsDefine.plugin({propName:"bezier",priority:-1,version:"1.3.8",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 n,o,s,r,a,l=e.values||[],c={},u=l[0],f=e.autoRotate||i.vars.orientToBezier;for(n in this._autoRotate=f?f instanceof Array?f:[["x","y","rotation",!0===f?0:Number(f)||0]]:null,u)this._props.push(n);for(s=this._props.length;--s>-1;)n=this._props[s],this._overwriteProps.push(n),o=this._func[n]="function"==typeof t[n],c[n]=o?t[n.indexOf("set")||"function"!=typeof t["get"+n.substr(3)]?n:"get"+n.substr(3)]():parseFloat(t[n]),a||c[n]!==l[0][n]&&(a=c);if(this._beziers="cubic"!==e.type&&"quadratic"!==e.type&&"soft"!==e.type?d(l,isNaN(e.curviness)?1:e.curviness,!1,"thruBasic"===e.type,e.correlate,a):p(l,e.type,c),this._segCount=this._beziers[n].length,this._timeRes){var m=h(this._beziers,this._timeRes);this._length=m.length,this._lengths=m.lengths,this._segments=m.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(f=this._autoRotate)for(this._initialRotations=[],f[0]instanceof Array||(this._autoRotate=f=[f]),s=f.length;--s>-1;){for(r=0;3>r;r++)n=f[s][r],this._func[n]="function"==typeof t[n]&&t[n.indexOf("set")||"function"!=typeof t["get"+n.substr(3)]?n:"get"+n.substr(3)];n=f[s][2],this._initialRotations[s]=(this._func[n]?this._func[n].call(this._target):this._target[n])||0,this._overwriteProps.push(n)}return this._startRatio=i.vars.runBackwards?1:0,!0},set:function(e){var i,n,o,s,r,a,l,c,d,p,u=this._segCount,h=this._func,f=this._target,m=e!==this._startRatio;if(this._timeRes){if(d=this._lengths,p=this._curSeg,e*=this._length,o=this._li,e>this._l2&&u-1>o){for(c=u-1;c>o&&(this._l2=d[++o])<=e;);this._l1=d[o-1],this._li=o,this._curSeg=p=this._segments[o],this._s2=p[this._s1=this._si=0]}else if(e<this._l1&&o>0){for(;o>0&&(this._l1=d[--o])>=e;);0===o&&e<this._l1?this._l1=0:o++,this._l2=d[o],this._li=o,this._curSeg=p=this._segments[o],this._s1=p[(this._si=p.length-1)-1]||0,this._s2=p[this._si]}if(i=o,e-=this._l1,o=this._si,e>this._s2&&o<p.length-1){for(c=p.length-1;c>o&&(this._s2=p[++o])<=e;);this._s1=p[o-1],this._si=o}else if(e<this._s1&&o>0){for(;o>0&&(this._s1=p[--o])>=e;);0===o&&e<this._s1?this._s1=0:o++,this._s2=p[o],this._si=o}a=(o+(e-this._s1)/(this._s2-this._s1))*this._prec||0}else a=(e-(i=0>e?0:e>=1?u-1:u*e>>0)*(1/u))*u;for(n=1-a,o=this._props.length;--o>-1;)s=this._props[o],l=(a*a*(r=this._beziers[s][i]).da+3*n*(a*r.ca+n*r.ba))*a+r.a,this._mod[s]&&(l=this._mod[s](l,f)),h[s]?f[s](l):f[s]=l;if(this._autoRotate){var g,v,_,y,w,b,x,k=this._autoRotate;for(o=k.length;--o>-1;)s=k[o][2],b=k[o][3]||0,x=!0===k[o][4]?1:t,r=this._beziers[k[o][0]],g=this._beziers[k[o][1]],r&&g&&(r=r[i],g=g[i],v=r.a+(r.b-r.a)*a,v+=((y=r.b+(r.c-r.b)*a)-v)*a,y+=(r.c+(r.d-r.c)*
56a-y)*a,_=g.a+(g.b-g.a)*a,_+=((w=g.b+(g.c-g.b)*a)-_)*a,w+=(g.c+(g.d-g.c)*a-w)*a,l=m?Math.atan2(w-_,y-v)*x+b:this._initialRotations[o],this._mod[s]&&(l=this._mod[s](l,f)),h[s]?f[s](l):f[s]=l)}}}),m=f.prototype;f.bezierThrough=d,f.cubicToQuadratic=a,f._autoCSS=!0,f.quadraticToCubic=function(t,e,i){return new r(t,(2*e+t)/3,(2*e+i)/3,i)},f._cssRegister=function(){var t=s.CSSPlugin;if(t){var e=t._internals,i=e._parseToProxy,n=e._setPluginRatio,o=e.CSSPropTween;e._registerComplexSpecialProp("bezier",{parser:function(t,e,s,r,a,l){e instanceof Array&&(e={values:e}),l=new f;var c,d,p,u=e.values,h=u.length-1,m=[],g={};if(0>h)return a;for(c=0;h>=c;c++)p=i(t,u[c],r,a,l,h!==c),m[c]=p.end;for(d in e)g[d]=e[d];return g.values=m,(a=new o(t,"bezier",0,0,p.pt,2)).data=p,a.plugin=l,a.setRatio=n,0===g.autoRotate&&(g.autoRotate=!0),!g.autoRotate||g.autoRotate instanceof Array||(c=!0===g.autoRotate?0:Number(g.autoRotate),g.autoRotate=null!=p.end.left?[["left","top","rotation",c,!1]]:null!=p.end.x&&[["x","y","rotation",c,!1]]),g.autoRotate&&(r._transform||r._enableTransforms(!1),p.autoRotate=r._target._gsTransform,p.proxy.rotation=p.autoRotate.rotation||0,r._overwriteProps.push("rotation")),l._onInitTween(p.proxy,g,r._tween),a}})}},m._mod=function(t){for(var e,i=this._overwriteProps,n=i.length;--n>-1;)(e=t[i[n]])&&"function"==typeof e&&(this._mod[i[n]]=e)},m._kill=function(t){var e,i,n=this._props;for(e in this._beziers)if(e in t)for(delete this._beziers[e],delete this._func[e],i=n.length;--i>-1;)n[i]===e&&n.splice(i,1);if(n=this._autoRotate)for(i=n.length;--i>-1;)t[n[i][2]]&&n.splice(i,1);return this._super._kill.call(this,t)}}(),_gsScope._gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],(function(t,e){var i,n,o,s,r=function(){t.call(this,"css"),this._overwriteProps.length=0,this.setRatio=r.prototype.setRatio},a=_gsScope._gsDefine.globals,l={},c=r.prototype=new t("css");c.constructor=r,r.version="1.20.5",r.API=2,r.defaultTransformPerspective=0,r.defaultSkewType="compensated",r.defaultSmoothOrigin=!0,c="px",r.suffixMap={top:c,right:c,bottom:c,left:c,width:c,height:c,fontSize:c,padding:c,margin:c,perspective:c,lineHeight:""};var d,p,u,h,f,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=/(?![+-]?\d*\.?\d+|[+-]|e[+-]\d+)[^0-9]/g,x=/(?:\d|\-|\+|=|#|\.)*/g,k=/opacity *= *([^)]*)/i,T=/opacity:([^;]*)/i,C=/alpha\(opacity *=.+?\)/i,S=/^(rgb|hsl)/,A=/([A-Z])/g,$=/-([a-z])/gi,P=/(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi,O=function(t,e){return e.toUpperCase()},M=/(?:Left|Right|Width)/i,E=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,I=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,L=/,(?=[^\)]*(?:\(|$))/gi,z=/[\s,\(]/i,D=Math.PI/180,F=180/Math.PI,R={},B={style:{}},j=_gsScope.document||{createElement:function(){return B}},H=function(t,e){return j.createElementNS?j.createElementNS(e||"http://www.w3.org/1999/xhtml",t):j.createElement(t)},W=H("div"),N=H("img"),q=r._internals={_specialProps:l},V=(_gsScope.navigator||{}).userAgent||"",X=function(){var t=V.indexOf("Android"),e=H("a");return u=-1!==V.indexOf("Safari")&&-1===V.indexOf("Chrome")&&(-1===t||parseFloat(V.substr(t+8,2))>3),f=u&&parseFloat(V.substr(V.indexOf("Version/")+8,2))<6,h=-1!==V.indexOf("Firefox"),(/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(V)||/Trident\/.*rv:([0-9]{1,}[\.0-9]{0,})/.exec(V))&&(m=parseFloat(RegExp.$1)),!!e&&(e.style.cssText="top:1px;opacity:.55;",/^0.55/.test(e.style.opacity))}(),Y=function(t){return k.test("string"==typeof t?t:(t.currentStyle?t.currentStyle.filter:t.style.filter)||"")?parseFloat(RegExp.$1)/100:1},U=function(t){_gsScope.console&&console.log(t)},G="",Z="",Q=function(t,e){var i,n,o=(e=e||W).style;if(void 0!==o[t])return t;for(t=t.charAt(0).toUpperCase()+t.substr(1),i=["O","Moz","ms","Ms","Webkit"],n=5;--n>-1&&void 0===o[i[n]+t];);return n>=0?(Z=3===n?"ms":i[n],G="-"+Z.toLowerCase()+"-",Z+t):null},K=("undefined"!=typeof window?window:j.defaultView||{getComputedStyle:function(){}}).getComputedStyle,J=r.getStyle=function(t,e,i,n,o){var s;return X||"opacity"!==e?(!n&&t.style[e]?s=t.style[e]:(i=i||K(t))?s=i[e]||i.getPropertyValue(e)||i.getPropertyValue(e.replace(A,"-$1").toLowerCase()):t.currentStyle&&(s=t.currentStyle[e]),null==o||s&&"none"!==s&&"auto"!==s&&"auto auto"!==s?s:o):Y(t)}
vendor: 4,583 bytes, line 56
56,tt=q.convertToPixels=function(t,i,n,o,s){if("px"===o||!o&&"lineHeight"!==i)return n;if("auto"===o||!n)return 0;var a,l,c,d=M.test(i),p=t,u=W.style,h=0>n,f=1===n;if(h&&(n=-n),f&&(n*=100),"lineHeight"!==i||o)if("%"===o&&-1!==i.indexOf("border"))a=n/100*(d?t.clientWidth:t.clientHeight);else{if(u.cssText="border:0 solid red;position:"+J(t,"position")+";line-height:0;","%"!==o&&p.appendChild&&"v"!==o.charAt(0)&&"rem"!==o)u[d?"borderLeftWidth":"borderTopWidth"]=n+o;else{if(p=t.parentNode||j.body,-1!==J(p,"display").indexOf("flex")&&(u.position="absolute"),l=p._gsCache,c=e.ticker.frame,l&&d&&l.time===c)return l.width*n/100;u[d?"width":"height"]=n+o}p.appendChild(W),a=parseFloat(W[d?"offsetWidth":"offsetHeight"]),p.removeChild(W),d&&"%"===o&&!1!==r.cacheWidths&&((l=p._gsCache=p._gsCache||{}).time=c,l.width=a/n*100),0!==a||s||(a=tt(t,i,n,o,!0))}else l=K(t).lineHeight,t.style.lineHeight=n,a=parseFloat(K(t).lineHeight),t.style.lineHeight=l;return f&&(a/=100),h?-a:a},et=q.calculateOffset=function(t,e,i){if("absolute"!==J(t,"position",i))return 0;var n="left"===e?"Left":"Top",o=J(t,"margin"+n,i);return t["offset"+n]-(tt(t,e,parseFloat(o),o.replace(x,""))||0)},it=function(t,e){var i,n,o,s={};if(e=e||K(t,null))if(i=e.length)for(;--i>-1;)(-1===(o=e[i]).indexOf("-transform")||Pt===o)&&(s[o.replace($,O)]=e.getPropertyValue(o));else for(i in e)(-1===i.indexOf("Transform")||$t===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($,O)]=e[i]);return X||(s.opacity=Y(t)),n=Wt(t,e,!1),s.rotation=n.rotation,s.skewX=n.skewX,s.scaleX=n.scaleX,s.scaleY=n.scaleY,s.x=n.x,s.y=n.y,Mt&&(s.z=n.z,s.rotationX=n.rotationX,s.rotationY=n.rotationY,s.scaleZ=n.scaleZ),s.filters&&delete s.filters,s},nt=function(t,e,i,n,o){var s,r,a,l={},c=t.style;for(r in i)"cssText"!==r&&"length"!==r&&isNaN(r)&&(e[r]!==(s=i[r])||o&&o[r])&&-1===r.indexOf("Origin")&&("number"==typeof s||"string"==typeof s)&&(l[r]="auto"!==s||"left"!==r&&"top"!==r?""!==s&&"auto"!==s&&"none"!==s||"string"!=typeof e[r]||""===e[r].replace(b,"")?s:0:et(t,r),void 0!==c[r]&&(a=new _t(c,r,c[r],a)));if(n)for(r in n)"className"!==r&&(l[r]=n[r]);return{difs:l,firstMPT:a}},ot={width:["Left","Right"],height:["Top","Bottom"]},st=["marginLeft","marginRight","marginTop","marginBottom"],rt=function(t,e,i){if("svg"===(t.nodeName+"").toLowerCase())return(i||K(t))[e]||0;if(t.getCTM&&Bt(t))return t.getBBox()[e]||0;var n=parseFloat("width"===e?t.offsetWidth:t.offsetHeight),o=ot[e],s=o.length;for(i=i||K(t,null);--s>-1;)n-=parseFloat(J(t,"padding"+o[s],i,!0))||0,n-=parseFloat(J(t,"border"+o[s]+"Width",i,!0))||0;return n},at=function(t,e){if("contain"===t||"auto"===t||"auto auto"===t)return t+" ";(null==t||""===t)&&(t="0 0");var i,n=t.split(" "),o=-1!==t.indexOf("left")?"0%":-1!==t.indexOf("right")?"100%":n[0],s=-1!==t.indexOf("top")?"0%":-1!==t.indexOf("bottom")?"100%":n[1];if(n.length>3&&!e){for(n=t.split(", ").join(",").split(","),t=[],i=0;i<n.length;i++)t.push(at(n[i]));return t.join(",")}return null==s?s="center"===o?"50%":"0":"center"===s&&(s="50%"),("center"===o||isNaN(parseFloat(o))&&-1===(o+"").indexOf("="))&&(o="50%"),t=o+" "+s+(n.length>2?" "+n[2]:""),e&&(e.oxp=-1!==o.indexOf("%"),e.oyp=-1!==s.indexOf("%"),e.oxr="="===o.charAt(1),e.oyr="="===s.charAt(1),e.ox=parseFloat(o.replace(b,"")),e.oy=parseFloat(s.replace(b,"")),e.v=t),e||t},lt=function(t,e){return"function"==typeof t&&(t=t(v,g)),"string"==typeof t&&"="===t.charAt(1)?parseInt(t.charAt(0)+"1",10)*parseFloat(t.substr(2)):parseFloat(t)-parseFloat(e)||0},ct=function(t,e){return"function"==typeof t&&(t=t(v,g)),null==t?e:"string"==typeof t&&"="===t.charAt(1)?parseInt(t.charAt(0)+"1",10)*parseFloat(t.substr(2))+e:parseFloat(t)||0},dt=function(t,e,i,n){var o,s,r,a,l,c=1e-6;return"function"==typeof t&&(t=t(v,g)),null==t?a=e:"number"==typeof t?a=t:(o=360,s=t.split("_"),r=((l="="===t.charAt(1))?parseInt(t.charAt(0)+"1",10)*parseFloat(s[0].substr(2)):parseFloat(s[0]))*(-1===t.indexOf("rad")?1:F)-(l?0:e),s.length&&(n&&(n[i]=e+r),-1!==t.indexOf("short")&&((r%=o)!==r%180&&(r=0>r?r+o:r-o)),-1!==t.indexOf("_cw")&&0>r?r=(r+9999999999*o)%o-(r/o|0)*o:-1!==t.indexOf("ccw")&&r>0&&(r=(r-9999999999*o)%o-(r/o|0)*o)),a=e+r),c>a&&a>-c&&(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]}
56,ut=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},ht=r.parseColor=function(t,e){var i,n,o,s,r,a,l,c,d,p,u;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&&(n=t.charAt(1),o=t.charAt(2),s=t.charAt(3),t="#"+n+n+o+o+s+s),i=[(t=parseInt(t.substr(1),16))>>16,t>>8&255,255&t];else if("hsl"===t.substr(0,3))if(i=u=t.match(_),e){if(-1!==t.indexOf("="))return t.match(y)}else r=Number(i[0])%360/360,a=Number(i[1])/100,n=2*(l=Number(i[2])/100)-(o=.5>=l?l*(a+1):l+a-l*a),i.length>3&&(i[3]=Number(i[3])),i[0]=ut(r+1/3,n,o),i[1]=ut(r,n,o),i[2]=ut(r-1/3,n,o);else i=t.match(_)||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&&!u&&(n=i[0]/255,o=i[1]/255,s=i[2]/255,l=((c=Math.max(n,o,s))+(d=Math.min(n,o,s)))/2,c===d?r=a=0:(p=c-d,a=l>.5?p/(2-c-d):p/(c+d),r=c===n?(o-s)/p+(s>o?6:0):c===o?(s-n)/p+2:(n-o)/p+4,r*=60),i[0]=r+.5|0,i[1]=100*a+.5|0,i[2]=100*l+.5|0),i},ft=function(t,e){var i,n,o,s=t.match(mt)||[],r=0,a="";if(!s.length)return t;for(i=0;i<s.length;i++)n=s[i],r+=(o=t.substr(r,t.indexOf(n,r)-r)).length+n.length,3===(n=ht(n,e)).length&&n.push(1),a+=o+(e?"hsla("+n[0]+","+n[1]+"%,"+n[2]+"%,"+n[3]:"rgba("+n.join(","))+")";return a+t.substr(r)},mt="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3}){1,2}\\b";for(c in pt)mt+="|"+c+"\\b";mt=new RegExp(mt+")","gi"),r.colorStringFilter=function(t){var e,i=t[0]+" "+t[1];mt.test(i)&&(e=-1!==i.indexOf("hsl(")||-1!==i.indexOf("hsla("),t[0]=ft(t[0],e),t[1]=ft(t[1],e)),mt.lastIndex=0},e.defaultStringFilter||(e.defaultStringFilter=r.colorStringFilter);var gt=function(t,e,i,n){if(null==t)return function(t){return t};var o,s=e?(t.match(mt)||[""])[0]:"",r=t.split(s).join("").match(w)||[],a=t.substr(0,t.indexOf(r[0])),l=")"===t.charAt(t.length-1)?")":"",c=-1!==t.indexOf(" ")?" ":",",d=r.length,p=d>0?r[0].replace(_,""):"";return d?o=e?function(t){var e,u,h,f;if("number"==typeof t)t+=p;else if(n&&L.test(t)){for(f=t.replace(L,"|").split("|"),h=0;h<f.length;h++)f[h]=o(f[h]);return f.join(",")}if(e=(t.match(mt)||[s])[0],h=(u=t.split(e).join("").match(w)||[]).length,d>h--)for(;++h<d;)u[h]=i?u[(h-1)/2|0]:r[h];return a+u.join(c)+c+e+l+(-1!==t.indexOf("inset")?" inset":"")}:function(t){var e,s,u;if("number"==typeof t)t+=p;else if(n&&L.test(t)){for(s=t.replace(L,"|").split("|"),u=0;u<s.length;u++)s[u]=o(s[u]);return s.join(",")}if(u=(e=t.match(w)||[]).length,d>u--)for(;++u<d;)e[u]=i?e[(u-1)/2|0]:r[u];return a+e.join(c)+l}:function(t){return t}},vt=function(t){return t=t.split(","),function(e,i,n,o,s,r,a){var l,c=(i+"").split(" ");for(a={},l=0;4>l;l++)a[t[l]]=c[l]=c[l]||c[(l-1)/2>>0];return o.parse(e,a,s,r)}},_t=(q._setPluginRatio=function(t){this.plugin.setRatio(t);for(var e,i,n,o,s,r=this.data,a=r.proxy,l=r.firstMPT,c=1e-6;l;)e=a[l.v],l.r?e=l.r(e):c>e&&e>-c&&(e=0),l.t[l.p]=e,l=l._next;if(r.autoRotate&&(r.autoRotate.rotation=r.mod?r.mod.call(this._tween,a.rotation,this.t,this._tween):a.rotation),1===t||0===t)for(l=r.firstMPT,s=1===t?"e":"b";l;){if((i=l.t).type){if(1===i.type){for(o=i.xs0+i.s+i.xs1,n=1;n<i.l;n++)o+=i["xn"+n]+i["xs"+(n+1)];i[s]=o}}else i[s]=i.s+i.xs0;l=l._next}},function(t,e,i,n,o){this.t=t,this.p=e,this.v=i,this.r=o,n&&(n._prev=this,this._next=n)}),yt=(q._parseToProxy=function(t,e,i,n,o,s){var r,a,l,c,d,p=n,u={},h={},f=i._transform,m=R;for(i._transform=null,R=e,n=d=i.parse(t,e,n,o),R=m,s&&(i._transform=f,p&&(p._prev=null,p._prev&&(p._prev._next=null)));n&&n!==p;){if(n.type<=1&&(h[a=n.p]=n.s+n.c,u[a]=n.s,s||(c=new _t(n,"s",a,c,n.r),n.c=0),1===n.type))for(r=n.l;--r>0;)l="xn"+r,h[a=n.p+"_"+l]=n.data[l],u[a]=n[l],s||(c=new _t(n,l,a,c,n.rxp[l]));n=n._next}return{proxy:u,end:h,firstMPT:c,pt:d}},q.CSSPropTween=function(t,e,n,o,r,a,l,c,d,p,u){this.t=t,this.p=e,this.s=n,this.c=o,this.n=l||e,t instanceof yt||s.push(this.n),this.r=c?"function"==typeof c?c:Math.round:c,this.type=a||0,d&&(this.pr=d,i=!0),this.b=void 0===p?n:p,this.e=void 0===u?n+o:u,r&&(this._next=r,r._prev=this)}
56),wt=function(t,e,i,n,o,s){var r=new yt(t,e,i,n-i,o,-1,s);return r.b=i,r.e=r.xs0=n,r},bt=r.parseComplex=function(t,e,i,n,o,s,a,l,c,p){i=i||s||"","function"==typeof n&&(n=n(v,g)),a=new yt(t,e,0,0,a,p?2:1,null,!1,l,i,n),n+="",o&&mt.test(n+i)&&(n=[i,n],r.colorStringFilter(n),i=n[0],n=n[1]);var u,h,f,m,w,b,x,k,T,C,S,A,$,P=i.split(", ").join(",").split(" "),O=n.split(", ").join(",").split(" "),M=P.length,E=!1!==d;for((-1!==n.indexOf(",")||-1!==i.indexOf(","))&&(-1!==(n+i).indexOf("rgb")||-1!==(n+i).indexOf("hsl")?(P=P.join(" ").replace(L,", ").split(" "),O=O.join(" ").replace(L,", ").split(" ")):(P=P.join(" ").split(",").join(", ").split(" "),O=O.join(" ").split(",").join(", ").split(" ")),M=P.length),M!==O.length&&(M=(P=(s||"").split(" ")).length),a.plugin=c,a.setRatio=p,mt.lastIndex=0,u=0;M>u;u++)if(m=P[u],w=O[u]+"",(k=parseFloat(m))||0===k)a.appendXtra("",k,lt(w,k),w.replace(y,""),!(!E||-1===w.indexOf("px"))&&Math.round,!0);else if(o&&mt.test(m))A=")"+((A=w.indexOf(")")+1)?w.substr(A):""),$=-1!==w.indexOf("hsl")&&X,C=w,m=ht(m,$),w=ht(w,$),(T=m.length+w.length>6)&&!X&&0===w[3]?(a["xs"+a.l]+=a.l?" transparent":"transparent",a.e=a.e.split(O[u]).join("transparent")):(X||(T=!1),$?a.appendXtra(C.substr(0,C.indexOf("hsl"))+(T?"hsla(":"hsl("),m[0],lt(w[0],m[0]),",",!1,!0).appendXtra("",m[1],lt(w[1],m[1]),"%,",!1).appendXtra("",m[2],lt(w[2],m[2]),T?"%,":"%"+A,!1):a.appendXtra(C.substr(0,C.indexOf("rgb"))+(T?"rgba(":"rgb("),m[0],w[0]-m[0],",",Math.round,!0).appendXtra("",m[1],w[1]-m[1],",",Math.round).appendXtra("",m[2],w[2]-m[2],T?",":A,Math.round),T&&(m=m.length<4?1:m[3],a.appendXtra("",m,(w.length<4?1:w[3])-m,A,!1))),mt.lastIndex=0;else if(b=m.match(_)){if(!(x=w.match(y))||x.length!==b.length)return a;for(f=0,h=0;h<b.length;h++)S=b[h],C=m.indexOf(S,f),a.appendXtra(m.substr(f,C-f),Number(S),lt(x[h],S),"",!(!E||"px"!==m.substr(C+S.length,2))&&Math.round,0===h),f=C+S.length;a["xs"+a.l]+=m.substr(f)}else a["xs"+a.l]+=a.l||a["xs"+a.l]?" "+w:w;if(-1!==n.indexOf("=")&&a.data){for(A=a.xs0+a.data.s,u=1;u<a.l;u++)A+=a["xs"+u]+a.data["xn"+u];a.e=A+a["xs"+u]}return a.l||(a.type=-1,a.xs0=a.e),a.xfirst||a},xt=9;for((c=yt.prototype).l=c.pr=0;--xt>0;)c["xn"+xt]=0,c["xs"+xt]="";c.xs0="",c._next=c._prev=c.xfirst=c.data=c.plugin=c.setRatio=c.rxp=null,c.appendXtra=function(t,e,i,n,o,s){var r=this,a=r.l;return r["xs"+a]+=s&&(a||r["xs"+a])?" "+t:t||"",i||0===a||r.plugin?(r.l++,r.type=r.setRatio?2:1,r["xs"+r.l]=n||"",a>0?(r.data["xn"+a]=e+i,r.rxp["xn"+a]=o,r["xn"+a]=e,r.plugin||(r.xfirst=new yt(r,"xn"+a,e,i,r.xfirst||r,0,r.n,o,r.pr),r.xfirst.xs0=0),r):(r.data={s:e+i},r.rxp={},r.s=e,r.c=i,r.r=o,r)):(r["xs"+a]+=e+(n||""),r)};var kt=function(t,e){e=e||{},this.p=e.prefix&&Q(t)||t,l[t]=l[this.p]=this,this.format=e.formatter||gt(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.pr=e.priority||0},Tt=q._registerComplexSpecialProp=function(t,e,i){"object"!=typeof e&&(e={parser:i});var n,o=t.split(","),s=e.defaultValue;for(i=i||[s],n=0;n<o.length;n++)e.prefix=0===n&&e.prefix,e.defaultValue=i[n]||s,new kt(o[n],e)},Ct=q._registerPluginProp=function(t){if(!l[t]){var e=t.charAt(0).toUpperCase()+t.substr(1)+"Plugin";Tt(t,{parser:function(t,i,n,o,s,r,c){var d=a.com.greensock.plugins[e];return d?(d._cssRegister(),l[n].parse(t,i,n,o,s,r,c)):(U("Error: "+e+" js file not loaded."),s)}})}};(c=kt.prototype).parseComplex=function(t,e,i,n,o,s){var r,a,l,c,d,p,u=this.keyword;if(this.multi&&(L.test(i)||L.test(e)?(a=e.replace(L,"|").split("|"),l=i.replace(L,"|").split("|")):u&&(a=[e],l=[i])),l){for(c=l.length>a.length?l.length:a.length,r=0;c>r;r++)e=a[r]=a[r]||this.dflt,i=l[r]=l[r]||this.dflt,u&&((d=e.indexOf(u))!==(p=i.indexOf(u))&&(-1===p?a[r]=a[r].split(u).join(""):-1===d&&(a[r]+=" "+u)));e=a.join(", "),i=l.join(", ")}return bt(t,this.p,e,i,this.clrs,this.dflt,n,this.pr,o,s)},c.parse=function(t,e,i,n,s,r,a){return this.parseComplex(t.style,this.format(J(t,this.p,o,!1,this.dflt)),this.format(e),s,r)},r.registerSpecialProp=function(t,e,i){Tt(t,{parser:function(t,n,o,s,r,a,l){var c=new yt(t,o,0,0,r,2,o,!1,i);return c.plugin=a,c.setRatio=e(t,n,s._tween,o),c},priority:i})},r.useSVGTransformAttr=!0;var St,At="scaleX,scaleY,scaleZ,x,y,z,skewX,skewY,rotation,rotationX,rotationY,perspective,xPercent,yPercent".split(","),$t=Q("transform"),Pt=G+"transform",Ot=Q("transformOrigin"),Mt=null!==Q("perspective"),Et=q.Transform=function(){this.perspective=parseFloat(r.defaultTransformPerspective)||0,this.force3D=!(!1===r.defaultForce3D||!Mt)&&(r.defaultForce3D||"auto")}
56,It=_gsScope.SVGElement,Lt=function(t,e,i){var n,o=j.createElementNS("http://www.w3.org/2000/svg",t),s=/([a-z])([A-Z])/g;for(n in i)o.setAttributeNS(null,n.replace(s,"$1-$2").toLowerCase(),i[n]);return e.appendChild(o),o},zt=j.documentElement||{},Dt=function(){var t,e,i,n=m||/Android/i.test(V)&&!_gsScope.chrome;return j.createElementNS&&!n&&(t=Lt("svg",zt),i=(e=Lt("rect",t,{width:100,height:50,x:100})).getBoundingClientRect().width,e.style[Ot]="50% 50%",e.style[$t]="scaleX(0.5)",n=i===e.getBoundingClientRect().width&&!(h&&Mt),zt.removeChild(t)),n}(),Ft=function(t,e,i,n,o,s){var a,l,c,d,p,u,h,f,m,g,v,_,y,w,b=t._gsTransform,x=Ht(t,!0);b&&(y=b.xOrigin,w=b.yOrigin),(!n||(a=n.split(" ")).length<2)&&(0===(h=t.getBBox()).x&&0===h.y&&h.width+h.height===0&&(h={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=at(e).split(" "))[0].indexOf("%")?parseFloat(e[0])/100*h.width:parseFloat(e[0]))+h.x,(-1!==e[1].indexOf("%")?parseFloat(e[1])/100*h.height:parseFloat(e[1]))+h.y]),i.xOrigin=d=parseFloat(a[0]),i.yOrigin=p=parseFloat(a[1]),n&&x!==jt&&(u=x[0],h=x[1],f=x[2],m=x[3],g=x[4],v=x[5],(_=u*m-h*f)&&(l=d*(m/_)+p*(-f/_)+(f*v-m*g)/_,c=d*(-h/_)+p*(u/_)-(u*v-h*g)/_,d=i.xOrigin=a[0]=l,p=i.yOrigin=a[1]=c)),b&&(s&&(i.xOffset=b.xOffset,i.yOffset=b.yOffset,b=i),o||!1!==o&&!1!==r.defaultSmoothOrigin?(l=d-y,c=p-w,b.xOffset+=l*x[0]+c*x[2]-l,b.yOffset+=l*x[1]+c*x[3]-c):b.xOffset=b.yOffset=0),s||t.setAttribute("data-svg-origin",a.join(" "))},Rt=function(t){var e,i=H("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),n=this.parentNode,o=this.nextSibling,s=this.style.cssText;if(zt.appendChild(i),i.appendChild(this),this.style.display="block",t)try{e=this.getBBox(),this._originalGetBBox=this.getBBox,this.getBBox=Rt}catch(t){}else this._originalGetBBox&&(e=this._originalGetBBox());return o?n.insertBefore(this,o):n.appendChild(this),zt.removeChild(i),this.style.cssText=s,e},Bt=function(t){return!(!It||!t.getCTM||t.parentNode&&!t.ownerSVGElement||!function(t){try{return t.getBBox()}catch(e){return Rt.call(t,!0)}}(t))},jt=[1,0,0,1,0,0],Ht=function(t,e){var i,n,o,s,r,a,l=t._gsTransform||new Et,c=1e5,d=t.style;if($t?n=J(t,Pt,null,!0):t.currentStyle&&(n=(n=t.currentStyle.filter.match(E))&&4===n.length?[n[0].substr(4),Number(n[2].substr(4)),Number(n[1].substr(4)),n[3].substr(4),l.x||0,l.y||0].join(","):""),i=!n||"none"===n||"matrix(1, 0, 0, 1, 0, 0)"===n,!$t||!(a=!K(t)||"none"===K(t).display)&&t.parentNode||(a&&(s=d.display,d.display="block"),t.parentNode||(r=1,zt.appendChild(t)),i=!(n=J(t,Pt,null,!0))||"none"===n||"matrix(1, 0, 0, 1, 0, 0)"===n,s?d.display=s:a&&Xt(d,"display"),r&&zt.removeChild(t)),(l.svg||t.getCTM&&Bt(t))&&(i&&-1!==(d[$t]+"").indexOf("matrix")&&(n=d[$t],i=0),o=t.getAttribute("transform"),i&&o&&(n="matrix("+(o=t.transform.baseVal.consolidate().matrix).a+","+o.b+","+o.c+","+o.d+","+o.e+","+o.f+")",i=0)),i)return jt;for(o=(n||"").match(_)||[],xt=o.length;--xt>-1;)s=Number(o[xt]),o[xt]=(r=s-(s|=0))?(r*c+(0>r?-.5:.5)|0)/c+s:s;return e&&o.length>6?[o[0],o[1],o[4],o[5],o[12],o[13]]:o},Wt=q.getTransform=function(t,i,n,o){if(t._gsTransform&&n&&!o)return t._gsTransform;var s,a,l,c,d,p,u=n&&t._gsTransform||new Et,h=u.scaleX<0,f=2e-5,m=1e5,g=Mt&&(parseFloat(J(t,Ot,i,!1,"0 0 0").split(" ")[2])||u.zOrigin)||0,v=parseFloat(r.defaultTransformPerspective)||0;if(u.svg=!(!t.getCTM||!Bt(t)),u.svg&&(Ft(t,J(t,Ot,i,!1,"50% 50%")+"",u,t.getAttribute("data-svg-origin")),St=r.useSVGTransformAttr||Dt),(s=Ht(t))!==jt){if(16===s.length){var _,y,w,b,x,k=s[0],T=s[1],C=s[2],S=s[3],A=s[4],$=s[5],P=s[6],O=s[7],M=s[8],E=s[9],I=s[10],L=s[12],z=s[13],D=s[14],R=s[11],B=Math.atan2(P,I);
56u.zOrigin&&(L=M*(D=-u.zOrigin)-s[12],z=E*D-s[13],D=I*D+u.zOrigin-s[14]),u.rotationX=B*F,B&&(_=A*(b=Math.cos(-B))+M*(x=Math.sin(-B)),y=$*b+E*x,w=P*b+I*x,M=A*-x+M*b,E=$*-x+E*b,I=P*-x+I*b,R=O*-x+R*b,A=_,$=y,P=w),B=Math.atan2(-C,I),u.rotationY=B*F,B&&(y=T*(b=Math.cos(-B))-E*(x=Math.sin(-B)),w=C*b-I*x,E=T*x+E*b,I=C*x+I*b,R=S*x+R*b,k=_=k*b-M*x,T=y,C=w),B=Math.atan2(T,k),u.rotation=B*F,B&&(_=k*(b=Math.cos(B))+T*(x=Math.sin(B)),y=A*b+$*x,w=M*b+E*x,T=T*b-k*x,$=$*b-A*x,E=E*b-M*x,k=_,A=y,M=w),u.rotationX&&Math.abs(u.rotationX)+Math.abs(u.rotation)>359.9&&(u.rotationX=u.rotation=0,u.rotationY=180-u.rotationY),B=Math.atan2(A,$),u.scaleX=(Math.sqrt(k*k+T*T+C*C)*m+.5|0)/m,u.scaleY=(Math.sqrt($*$+P*P)*m+.5|0)/m,u.scaleZ=(Math.sqrt(M*M+E*E+I*I)*m+.5|0)/m,k/=u.scaleX,A/=u.scaleY,T/=u.scaleX,$/=u.scaleY,Math.abs(B)>f?(u.skewX=B*F,A=0,"simple"!==u.skewType&&(u.scaleY*=1/Math.cos(B))):u.skewX=0,u.perspective=R?1/(0>R?-R:R):0,u.x=L,u.y=z,u.z=D,u.svg&&(u.x-=u.xOrigin-(u.xOrigin*k-u.yOrigin*A),u.y-=u.yOrigin-(u.yOrigin*T-u.xOrigin*$))}else if(!Mt||o||!s.length||u.x!==s[4]||u.y!==s[5]||!u.rotationX&&!u.rotationY){var j=s.length>=6,H=j?s[0]:1,W=s[1]||0,N=s[2]||0,q=j?s[3]:1;u.x=s[4]||0,u.y=s[5]||0,l=Math.sqrt(H*H+W*W),c=Math.sqrt(q*q+N*N),d=H||W?Math.atan2(W,H)*F:u.rotation||0,p=N||q?Math.atan2(N,q)*F+d:u.skewX||0,u.scaleX=l,u.scaleY=c,u.rotation=d,u.skewX=p,Mt&&(u.rotationX=u.rotationY=u.z=0,u.perspective=v,u.scaleZ=1),u.svg&&(u.x-=u.xOrigin-(u.xOrigin*H+u.yOrigin*N),u.y-=u.yOrigin-(u.xOrigin*W+u.yOrigin*q))}for(a in Math.abs(u.skewX)>90&&Math.abs(u.skewX)<270&&(h?(u.scaleX*=-1,u.skewX+=u.rotation<=0?180:-180,u.rotation+=u.rotation<=0?180:-180):(u.scaleY*=-1,u.skewX+=u.skewX<=0?180:-180)),u.zOrigin=g,u)u[a]<f&&u[a]>-f&&(u[a]=0)}return n&&(t._gsTransform=u,u.svg&&(St&&t.style[$t]?e.delayedCall(.001,(function(){Xt(t.style,$t)})):!St&&t.getAttribute("transform")&&e.delayedCall(.001,(function(){t.removeAttribute("transform")})))),u},Nt=function(t){var e,i,n=this.data,o=-n.rotation*D,s=o+n.skewX*D,r=1e5,a=(Math.cos(o)*n.scaleX*r|0)/r,l=(Math.sin(o)*n.scaleX*r|0)/r,c=(Math.sin(s)*-n.scaleY*r|0)/r,d=(Math.cos(s)*n.scaleY*r|0)/r,p=this.t.style,u=this.t.currentStyle;if(u){i=l,l=-c,c=-i,e=u.filter,p.filter="";var h,f,g=this.t.offsetWidth,v=this.t.offsetHeight,_="absolute"!==u.position,y="progid:DXImageTransform.Microsoft.Matrix(M11="+a+", M12="+l+", M21="+c+", M22="+d,w=n.x+g*n.xPercent/100,b=n.y+v*n.yPercent/100;if(null!=n.ox&&(w+=(h=(n.oxp?g*n.ox*.01:n.ox)-g/2)-(h*a+(f=(n.oyp?v*n.oy*.01:n.oy)-v/2)*l),b+=f-(h*c+f*d)),_?y+=", Dx="+((h=g/2)-(h*a+(f=v/2)*l)+w)+", Dy="+(f-(h*c+f*d)+b)+")":y+=", sizingMethod='auto expand')",-1!==e.indexOf("DXImageTransform.Microsoft.Matrix(")?p.filter=e.replace(I,y):p.filter=y+" "+e,(0===t||1===t)&&1===a&&0===l&&0===c&&1===d&&(_&&-1===y.indexOf("Dx=0, Dy=0")||k.test(e)&&100!==parseFloat(RegExp.$1)||-1===e.indexOf(e.indexOf("Alpha"))&&p.removeAttribute("filter")),!_){var T,C,S,A=8>m?1:-1;for(h=n.ieOffsetX||0,f=n.ieOffsetY||0,n.ieOffsetX=Math.round((g-((0>a?-a:a)*g+(0>l?-l:l)*v))/2+w),n.ieOffsetY=Math.round((v-((0>d?-d:d)*v+(0>c?-c:c)*g))/2+b),xt=0;4>xt;xt++)S=(i=-1!==(T=u[C=st[xt]]).indexOf("px")?parseFloat(T):tt(this.t,C,parseFloat(T),T.replace(x,""))||0)!==n[C]?2>xt?-n.ieOffsetX:-n.ieOffsetY:2>xt?h-n.ieOffsetX:f-n.ieOffsetY,p[C]=(n[C]=Math.round(i-S*(0===xt||2===xt?1:A)))+"px"}}},qt=q.set3DTransformRatio=q.setTransformRatio=function(t){var e,i,n,o,s,r,a,l,c,d,p,u,f,m,g,v,_,y,w,b,x,k,T,C=this.data,S=this.t.style,A=C.rotation,$=C.rotationX,P=C.rotationY,O=C.scaleX,M=C.scaleY,E=C.scaleZ,I=C.x,L=C.y,z=C.z,F=C.svg,R=C.perspective,B=C.force3D,j=C.skewY,H=C.skewX;if(j&&(H+=j,A+=j),!((1!==t&&0!==t||"auto"!==B||this.tween._totalTime!==this.tween._totalDuration&&this.tween._totalTime)&&B||z||R||P||$||1!==E)||St&&F||!Mt)A||H||F?(A*=D,k=H*D,T=1e5,i=Math.cos(A)*O,s=Math.sin(A)*O,n=Math.sin(A-k)*-M,r=Math.cos(A-k)*M,k&&"simple"===C.skewType&&(e=Math.tan(k-j*D),n*=e=Math.sqrt(1+e*e),r*=e,j&&(e=Math.tan(j*D),i*=e=Math.sqrt(1+e*e),s*=e)),F&&(I+=C.xOrigin-(C.xOrigin*i+C.yOrigin*n)+C.xOffset,L+=C.yOrigin-(C.xOrigin*s+C.yOrigin*r)+C.yOffset,St&&(C.xPercent||C.yPercent)&&(g=this.t.getBBox(),I+=.01*C.xPercent*g.width,L+=.01*C.yPercent*g.height),(g=1e-6)>I&&I>-g&&(I=0),g>L&&L>-g&&(L=0)),w=(i*T|0)/T+","+(s*T|0)/T+","+(n*T|0)/T+","+(r*T|0)/T+","+I+","+L+")",F&&St?this.t.setAttribute("transform","matrix("+w):S[$t]=(C.xPercent||C.yPercent?"translate("+C.xPercent+"%,"+C.yPercent+"%) matrix(":"matrix(")+w):S[$t]=(C.xPercent||C.yPercent?"translate("+C.xPercent+"%,"+C.yPercent+"%) matrix(":"matrix(")+O+",0,0,"+M+","+I+","+L+")";else{if(h&&((g=1e-4)>O&&O>-g&&(O=E=2e-5),g>M&&M>-g&&(M=E=2e-5),!R||C.z||C.rotationX||C.rotationY||(R=0)),A||H)A*=D,v=i=Math.cos(A),_=s=Math.sin(A),H&&(A-=H*D,v=Math.cos(A),_=Math.sin(A),"simple"===C.skewType&&(e=Math.tan((H-j)*D),v*=e=Math.sqrt(1+e*e),_*=e,C.skewY&&(e=Math.tan(j*D),i*=e=Math.sqrt(1+e*e),s*=e))),n=-_,r=v;else{if(!(P||$||1!==E||R||F))return void(S[$t]=(C.xPercent||C.yPercent?"translate("+C.xPercent+"%,"+C.yPercent+"%) translate3d(":"translate3d(")+I+"px,"+L+"px,"+z+"px)"+(1!==O||1!==M?" scale("+O+","+M+")":""));i=r=1,n=s=0}d=1,o=a=l=c=p=u=0,f=R?-1/R:0,m=C.zOrigin,g=1e-6,b=",",x="0",(A=P*D)&&(v=Math.cos(A),l=-(_=Math.sin(A)),p=f*-_,o=i*_,a=s*_,d=v,f*=v,i*=v,s*=v),(A=$*D)&&(e=n*(v=Math.cos(A))+o*(_=Math.sin(A)),y=r*v+a*_,c=d
56*_,u=f*_,o=n*-_+o*v,a=r*-_+a*v,d*=v,f*=v,n=e,r=y),1!==E&&(o*=E,a*=E,d*=E,f*=E),1!==M&&(n*=M,r*=M,c*=M,u*=M),1!==O&&(i*=O,s*=O,l*=O,p*=O),(m||F)&&(m&&(I+=o*-m,L+=a*-m,z+=d*-m+m),F&&(I+=C.xOrigin-(C.xOrigin*i+C.yOrigin*n)+C.xOffset,L+=C.yOrigin-(C.xOrigin*s+C.yOrigin*r)+C.yOffset),g>I&&I>-g&&(I=x),g>L&&L>-g&&(L=x),g>z&&z>-g&&(z=0)),w=C.xPercent||C.yPercent?"translate("+C.xPercent+"%,"+C.yPercent+"%) matrix3d(":"matrix3d(",w+=(g>i&&i>-g?x:i)+b+(g>s&&s>-g?x:s)+b+(g>l&&l>-g?x:l),w+=b+(g>p&&p>-g?x:p)+b+(g>n&&n>-g?x:n)+b+(g>r&&r>-g?x:r),$||P||1!==E?(w+=b+(g>c&&c>-g?x:c)+b+(g>u&&u>-g?x:u)+b+(g>o&&o>-g?x:o),w+=b+(g>a&&a>-g?x:a)+b+(g>d&&d>-g?x:d)+b+(g>f&&f>-g?x:f)+b):w+=",0,0,0,0,1,0,",w+=I+b+L+b+z+b+(R?1+-z/R:1)+")",S[$t]=w}};(c=Et.prototype).x=c.y=c.z=c.skewX=c.skewY=c.rotation=c.rotationX=c.rotationY=c.zOrigin=c.xPercent=c.yPercent=c.xOffset=c.yOffset=0,c.scaleX=c.scaleY=c.scaleZ=1,
57Tt("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,n,s,a,l){if(n._lastParsedTransform===l)return s;n._lastParsedTransform=l;var c,d=l.scale&&"function"==typeof l.scale?l.scale:0;"function"==typeof l[i]&&(c=l[i],l[i]=e),d&&(l.scale=d(v,t));var p,u,h,f,m,_,y,w,b,x=t._gsTransform,k=t.style,T=1e-6,C=At.length,S=l,A={},$="transformOrigin",P=Wt(t,o,!0,S.parseTransform),O=S.transform&&("function"==typeof S.transform?S.transform(v,g):S.transform);if(P.skewType=S.skewType||P.skewType||r.defaultSkewType,n._transform=P,O&&"string"==typeof O&&$t)(u=W.style)[$t]=O,u.display="block",u.position="absolute",-1!==O.indexOf("%")&&(u.width=J(t,"width"),u.height=J(t,"height")),j.body.appendChild(W),p=Wt(W,null,!1),"simple"===P.skewType&&(p.scaleY*=Math.cos(p.skewX*D)),P.svg&&(_=P.xOrigin,y=P.yOrigin,p.x-=P.xOffset,p.y-=P.yOffset,(S.transformOrigin||S.svgOrigin)&&(O={},Ft(t,at(S.transformOrigin),O,S.svgOrigin,S.smoothOrigin,!0),_=O.xOrigin,y=O.yOrigin,p.x-=O.xOffset-P.xOffset,p.y-=O.yOffset-P.yOffset),(_||y)&&(w=Ht(W,!0),p.x-=_-(_*w[0]+y*w[2]),p.y-=y-(_*w[1]+y*w[3]))),j.body.removeChild(W),p.perspective||(p.perspective=P.perspective),null!=S.xPercent&&(p.xPercent=ct(S.xPercent,P.xPercent)),null!=S.yPercent&&(p.yPercent=ct(S.yPercent,P.yPercent));else if("object"==typeof S){if(p={scaleX:ct(null!=S.scaleX?S.scaleX:S.scale,P.scaleX),scaleY:ct(null!=S.scaleY?S.scaleY:S.scale,P.scaleY),scaleZ:ct(S.scaleZ,P.scaleZ),x:ct(S.x,P.x),y:ct(S.y,P.y),z:ct(S.z,P.z),xPercent:ct(S.xPercent,P.xPercent),yPercent:ct(S.yPercent,P.yPercent),perspective:ct(S.transformPerspective,P.perspective)},null!=(m=S.directionalRotation))if("object"==typeof m)for(u in m)S[u]=m[u];else S.rotation=m;"string"==typeof S.x&&-1!==S.x.indexOf("%")&&(p.x=0,p.xPercent=ct(S.x,P.xPercent)),"string"==typeof S.y&&-1!==S.y.indexOf("%")&&(p.y=0,p.yPercent=ct(S.y,P.yPercent)),p.rotation=dt("rotation"in S?S.rotation:"shortRotation"in S?S.shortRotation+"_short":"rotationZ"in S?S.rotationZ:P.rotation,P.rotation,"rotation",A),Mt&&(p.rotationX=dt("rotationX"in S?S.rotationX:"shortRotationX"in S?S.shortRotationX+"_short":P.rotationX||0,P.rotationX,"rotationX",A),p.rotationY=dt("rotationY"in S?S.rotationY:"shortRotationY"in S?S.shortRotationY+"_short":P.rotationY||0,P.rotationY,"rotationY",A)),p.skewX=dt(S.skewX,P.skewX),p.skewY=dt(S.skewY,P.skewY)}for(Mt&&null!=S.force3D&&(P.force3D=S.force3D,f=!0),(h=P.force3D||P.z||P.rotationX||P.rotationY||p.z||p.rotationX||p.rotationY||p.perspective)||null==S.scale||(p.scaleZ=1);--C>-1;)((O=p[b=At[C]]-P[b])>T||-T>O||null!=S[b]||null!=R[b])&&(f=!0,s=new yt(P,b,P[b],O,s),b in A&&(s.e=A[b]),s.xs0=0,s.plugin=a,n._overwriteProps.push(s.n));return O=S.transformOrigin,P.svg&&(O||S.svgOrigin)&&(_=P.xOffset,y=P.yOffset,Ft(t,at(O),p,S.svgOrigin,S.smoothOrigin),s=wt(P,"xOrigin",(x?P:p).xOrigin,p.xOrigin,s,$),s=wt(P,"yOrigin",(x?P:p).yOrigin,p.yOrigin,s,$),(_!==P.xOffset||y!==P.yOffset)&&(s=wt(P,"xOffset",x?_:P.xOffset,P.xOffset,s,$),s=wt(P,"yOffset",x?y:P.yOffset,P.yOffset,s,$)),O="0px 0px"),(O||Mt&&h&&P.zOrigin)&&($t?(f=!0,b=Ot,O=(O||J(t,b,o,!1,"50% 50%"))+"",(s=new yt(k,b,0,0,s,-1,$)).b=k[b],s.plugin=a,Mt?(u=P.zOrigin,O=O.split(" "),P.zOrigin=(O.length>2&&(0===u||"0px"!==O[2])?parseFloat(O[2]):u)||0,s.xs0=s.e=O[0]+" "+(O[1]||"50%")+" 0px",(s=new yt(P,"zOrigin",0,0,s,-1,s.n)).b=u,s.xs0=s.e=P.zOrigin):s.xs0=s.e=O):at(O+"",P)),f&&(n._transformType=P.svg&&St||!h&&3!==this._transformType?2:3),c&&(l[i]=c),d&&(l.scale=d),s},prefix:!0}),Tt("boxShadow",{defaultValue:"0px 0px 0px 0px #999",prefix:!0,color:!0,multi:!0,keyword:"inset"}
57),Tt("borderRadius",{defaultValue:"0px",parser:function(t,e,i,s,r,a){e=this.format(e);var l,c,d,p,u,h,f,m,g,v,_,y,w,b,x,k,T=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],C=t.style;for(g=parseFloat(t.offsetWidth),v=parseFloat(t.offsetHeight),l=e.split(" "),c=0;c<T.length;c++)this.p.indexOf("border")&&(T[c]=Q(T[c])),-1!==(u=p=J(t,T[c],o,!1,"0px")).indexOf(" ")&&(p=u.split(" "),u=p[0],p=p[1]),h=d=l[c],f=parseFloat(u),y=u.substr((f+"").length),(w="="===h.charAt(1))?(m=parseInt(h.charAt(0)+"1",10),h=h.substr(2),m*=parseFloat(h),_=h.substr((m+"").length-(0>m?1:0))||""):(m=parseFloat(h),_=h.substr((m+"").length)),""===_&&(_=n[i]||y),_!==y&&(b=tt(t,"borderLeft",f,y),x=tt(t,"borderTop",f,y),"%"===_?(u=b/g*100+"%",p=x/v*100+"%"):"em"===_?(u=b/(k=tt(t,"borderLeft",1,"em"))+"em",p=x/k+"em"):(u=b+"px",p=x+"px"),w&&(h=parseFloat(u)+m+_,d=parseFloat(p)+m+_)),r=bt(C,T[c],u+" "+p,h+" "+d,!1,"0px",r);return r},prefix:!0,formatter:gt("0px 0px 0px 0px",!1,!0)}),Tt("borderBottomLeftRadius,borderBottomRightRadius,borderTopLeftRadius,borderTopRightRadius",{defaultValue:"0px",parser:function(t,e,i,n,s,r){return bt(t.style,i,this.format(J(t,i,o,!1,"0px 0px")),this.format(e),!1,"0px",s)},prefix:!0,formatter:gt("0px 0px",!1,!0)}),Tt("backgroundPosition",{defaultValue:"0 0",parser:function(t,e,i,n,s,r){var a,l,c,d,p,u,h="background-position",f=o||K(t,null),g=this.format((f?m?f.getPropertyValue(h+"-x")+" "+f.getPropertyValue(h+"-y"):f.getPropertyValue(h):t.currentStyle.backgroundPositionX+" "+t.currentStyle.backgroundPositionY)||"0 0"),v=this.format(e);if(-1!==g.indexOf("%")!=(-1!==v.indexOf("%"))&&v.split(",").length<2&&((u=J(t,"backgroundImage").replace(P,""))&&"none"!==u)){for(a=g.split(" "),l=v.split(" "),N.setAttribute("src",u),c=2;--c>-1;)(d=-1!==(g=a[c]).indexOf("%"))!==(-1!==l[c].indexOf("%"))&&(p=0===c?t.offsetWidth-N.width:t.offsetHeight-N.height,a[c]=d?parseFloat(g)/100*p+"px":parseFloat(g)/p*100+"%");g=a.join(" ")}return this.parseComplex(t.style,g,v,s,r)},formatter:at}),Tt("backgroundSize",{defaultValue:"0 0",formatter:function(t){return"co"===(t+="").substr(0,2)?t:at(-1===t.indexOf(" ")?t+" "+t:t)}}),Tt("perspective",{defaultValue:"0px",prefix:!0}),Tt("perspectiveOrigin",{defaultValue:"50% 50%",prefix:!0}),Tt("transformStyle",{prefix:!0}),Tt("backfaceVisibility",{prefix:!0}),Tt("userSelect",{prefix:!0}),Tt("margin",{parser:vt("marginTop,marginRight,marginBottom,marginLeft")}),Tt("padding",{parser:vt("paddingTop,paddingRight,paddingBottom,paddingLeft")}),Tt("clip",{defaultValue:"rect(0px,0px,0px,0px)",parser:function(t,e,i,n,s,r){var a,l,c;return 9>m?(l=t.currentStyle,c=8>m?" ":",",a="rect("+l.clipTop+c+l.clipRight+c+l.clipBottom+c+l.clipLeft+")",e=this.format(e).split(",").join(c)):(a=this.format(J(t,this.p,o,!1,this.dflt)),e=this.format(e)),this.parseComplex(t.style,a,e,s,r)}}),Tt("textShadow",{defaultValue:"0px 0px 0px #999",color:!0,multi:!0}),Tt("autoRound,strictUnits",{parser:function(t,e,i,n,o){return o}}),Tt("border",{defaultValue:"0px solid #000",parser:function(t,e,i,n,s,r){var a=J(t,"borderTopWidth",o,!1,"0px"),l=this.format(e).split(" "),c=l[0].replace(x,"");return"px"!==c&&(a=parseFloat(a)/tt(t,"borderTopWidth",1,c)+c),this.parseComplex(t.style,this.format(a+" "+J(t,"borderTopStyle",o,!1,"solid")+" "+J(t,"borderTopColor",o,!1,"#000")),l.join(" "),s,r)},color:!0,formatter:function(t){var e=t.split(" ");return e[0]+" "+(e[1]||"solid")+" "+(t.match(mt)||["#000"])[0]}}),Tt("borderWidth",{parser:vt("borderTopWidth,borderRightWidth,borderBottomWidth,borderLeftWidth")}),Tt("float,cssFloat,styleFloat",{parser:function(t,e,i,n,o,s){var r=t.style,a="cssFloat"in r?"cssFloat":"styleFloat";return new yt(r,a,0,0,o,-1,i,!1,0,r[a],e)}});var Vt=function(t){var e,i=this.t,n=i.filter||J(this.data,"filter")||"",o=this.s+this.c*t|0;100===o&&(-1===n.indexOf("atrix(")&&-1===n.indexOf("radient(")&&-1===n.indexOf("oader(")?(i.removeAttribute("filter"),e=!J(this.data,"filter")):(i.filter=n.replace(C,""),e=!0)),e||(this.xn1&&(i.filter=n=n||"alpha(opacity="+o+")"),-1===n.indexOf("pacity")?0===o&&this.xn1||(i.filter=n+" alph
57a(opacity="+o+")"):i.filter=n.replace(k,"opacity="+o))};Tt("opacity,alpha,autoAlpha",{defaultValue:"1",parser:function(t,e,i,n,s,r){var a=parseFloat(J(t,"opacity",o,!1,"1")),l=t.style,c="autoAlpha"===i;return"string"==typeof e&&"="===e.charAt(1)&&(e=("-"===e.charAt(0)?-1:1)*parseFloat(e.substr(2))+a),c&&1===a&&"hidden"===J(t,"visibility",o)&&0!==e&&(a=0),X?s=new yt(l,"opacity",a,e-a,s):((s=new yt(l,"opacity",100*a,100*(e-a),s)).xn1=c?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=r,s.setRatio=Vt),c&&((s=new yt(l,"visibility",0,0,s,-1,null,!1,0,0!==a?"inherit":"hidden",0===e?"hidden":"inherit")).xs0="inherit",n._overwriteProps.push(s.n),n._overwriteProps.push(i)),s}});var Xt=function(t,e){e&&(t.removeProperty?(("ms"===e.substr(0,2)||"webkit"===e.substr(0,6))&&(e="-"+e),t.removeProperty(e.replace(A,"-$1").toLowerCase())):t.removeAttribute(e))},Yt=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:Xt(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)};Tt("className",{parser:function(t,e,n,s,r,a,l){var c,d,p,u,h,f=t.getAttribute("class")||"",m=t.style.cssText;if((r=s._classNamePT=new yt(t,n,0,0,r,2)).setRatio=Yt,r.pr=-11,i=!0,r.b=f,d=it(t,o),p=t._gsClassPT){for(u={},h=p.data;h;)u[h.p]=1,h=h._next;p.setRatio(1)}return t._gsClassPT=r,r.e="="!==e.charAt(1)?e:f.replace(new RegExp("(?:\\s|^)"+e.substr(2)+"(?![\\w-])"),"")+("+"===e.charAt(0)?" "+e.substr(2):""),t.setAttribute("class",r.e),c=nt(t,d,it(t),l,u),t.setAttribute("class",f),r.data=c.firstMPT,t.style.cssText=m,r.xfirst=s.parse(t,c.difs,r,a)}});var Ut=function(t){if((1===t||0===t)&&this.data._totalTime===this.data._totalDuration&&"isFromStart"!==this.data.data){var e,i,n,o,s,r=this.t.style,a=l.transform.parse;if("all"===this.e)r.cssText="",o=!0;else for(n=(e=this.e.split(" ").join("").split(",")).length;--n>-1;)i=e[n],l[i]&&(l[i].parse===a?o=!0:i="transformOrigin"===i?Ot:l[i].p),Xt(r,i);o&&(Xt(r,$t),(s=this.t._gsTransform)&&(s.svg&&(this.t.removeAttribute("data-svg-origin"),this.t.removeAttribute("transform")),delete this.t._gsTransform))}};for(Tt("clearProps",{parser:function(t,e,n,o,s){return(s=new yt(t,n,0,0,s,2)).setRatio=Ut,s.e=e,s.pr=-10,s.data=o._tween,i=!0,s}}),c="bezier,throwProps,physicsProps,physics2D".split(","),xt=c.length;xt--;)Ct(c[xt]);(c=r.prototype)._firstPT=c._lastParsedTransform=c._transform=null,c._onInitTween=function(t,e,a,c){if(!t.nodeType)return!1;this._target=g=t,this._tween=a,this._vars=e,v=c,d=e.autoRound,i=!1,n=e.suffixMap||r.suffixMap,o=K(t,""),s=this._overwriteProps;var h,m,_,y,w,b,x,k,C,S=t.style;if(p&&""===S.zIndex&&(("auto"===(h=J(t,"zIndex",o))||""===h)&&this._addLazySet(S,"zIndex",0)),"string"==typeof e&&(y=S.cssText,h=it(t,o),S.cssText=y+";"+e,h=nt(t,h,it(t)).difs,!X&&T.test(e)&&(h.opacity=parseFloat(RegExp.$1)),e=h,S.cssText=y),e.className?this._firstPT=m=l.className.parse(t,e.className,"className",this,null,null,e):this._firstPT=m=this.parse(t,e,null),this._transformType){for(C=3===this._transformType,$t?u&&(p=!0,""===S.zIndex&&(("auto"===(x=J(t,"zIndex",o))||""===x)&&this._addLazySet(S,"zIndex",0)),f&&this._addLazySet(S,"WebkitBackfaceVisibility",this._vars.WebkitBackfaceVisibility||(C?"visible":"hidden"))):S.zoom=1,_=m;_&&_._next;)_=_._next;k=new yt(t,"transform",0,0,null,2),this._linkCSSP(k,null,_),k.setRatio=$t?qt:Nt,k.data=this._transform||Wt(t,o,!0),k.tween=a,k.pr=-1,s.pop()}if(i){for(;m;){for(b=m._next,_=y;_&&_.pr>m.pr;)_=_._next;(m._prev=_?_._prev:w)?m._prev._next=m:y=m,(m._next=_)?_._prev=m:w=m,m=b}this._firstPT=y}return!0},c.parse=function(t,e,i,s){var r,a,c,p,u,h,f,m,_,y,w=t.style;for(r in e){if("function"==typeof(h=e[r])&&(h=h(v,g)),a=l[r])i=a.parse(t,h,r,this,i,s,e);else{if("--"===r.substr(0,2)){this._tween._propLookup[r]=this._addTween.call(this._tween,t.style,"setProperty",K(t).getPropertyValue(r)+"",h+"",r,!1,r);continue}u=J(t,r,o)+"",_="string"==typeof h,"color"===r||"fill"===r||"stroke"===r||-1!==r.indexOf("Color")||_&&S.test(h)?(_||(h=((h=ht(h)).length>3?"rgba(":"rgb(")+h.join(",")+")"),i=bt(w,r,u,h,!0,"transparent",i,0,s)):_&&z.test(h)?i=bt(w,r,u,h,!0,null,i,0,s):(f=(c=parseFloat(u))||0===c?u.substr((c+"").length):"",(""===u||"auto"===u)&&("width"===r||"he
57ight"===r?(c=rt(t,r,o),f="px"):"left"===r||"top"===r?(c=et(t,r,o),f="px"):(c="opacity"!==r?0:1,f="")),(y=_&&"="===h.charAt(1))?(p=parseInt(h.charAt(0)+"1",10),h=h.substr(2),p*=parseFloat(h),m=h.replace(x,"")):(p=parseFloat(h),m=_?h.replace(x,""):""),""===m&&(m=r in n?n[r]:f),h=p||0===p?(y?p+c:p)+m:e[r],f!==m&&(""!==m||"lineHeight"===r)&&(p||0===p)&&c&&(c=tt(t,r,c,f),"%"===m?(c/=tt(t,r,100,"%")/100,!0!==e.strictUnits&&(u=c+"%")):"em"===m||"rem"===m||"vw"===m||"vh"===m?c/=tt(t,r,1,m):"px"!==m&&(p=tt(t,r,p,m),m="px"),y&&(p||0===p)&&(h=p+c+m)),y&&(p+=c),!c&&0!==c||!p&&0!==p?void 0!==w[r]&&(h||h+""!="NaN"&&null!=h)?(i=new yt(w,r,p||c||0,0,i,-1,r,!1,0,u,h)).xs0="none"!==h||"display"!==r&&-1===r.indexOf("Style")?h:u:U("invalid "+r+" tween value: "+e[r]):(i=new yt(w,r,c,p-c,i,0,r,!1!==d&&("px"===m||"zIndex"===r),0,u,h)).xs0=m)}s&&i&&!i.plugin&&(i.plugin=s)}return i},c.setRatio=function(t){var e,i,n,o=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(;o;){if(e=o.c*t+o.s,o.r?e=o.r(e):s>e&&e>-s&&(e=0),o.type)if(1===o.type)if(2===(n=o.l))o.t[o.p]=o.xs0+e+o.xs1+o.xn1+o.xs2;else if(3===n)o.t[o.p]=o.xs0+e+o.xs1+o.xn1+o.xs2+o.xn2+o.xs3;else if(4===n)o.t[o.p]=o.xs0+e+o.xs1+o.xn1+o.xs2+o.xn2+o.xs3+o.xn3+o.xs4;else if(5===n)o.t[o.p]=o.xs0+e+o.xs1+o.xn1+o.xs2+o.xn2+o.xs3+o.xn3+o.xs4+o.xn4+o.xs5;else{for(i=o.xs0+e+o.xs1,n=1;n<o.l;n++)i+=o["xn"+n]+o["xs"+(n+1)];o.t[o.p]=i}else-1===o.type?o.t[o.p]=o.xs0:o.setRatio&&o.setRatio(t);else o.t[o.p]=e+o.xs0;o=o._next}else for(;o;)2!==o.type?o.t[o.p]=o.b:o.setRatio(t),o=o._next;else for(;o;){if(2!==o.type)if(o.r&&-1!==o.type)if(e=o.r(o.s+o.c),o.type){if(1===o.type){for(n=o.l,i=o.xs0+e+o.xs1,n=1;n<o.l;n++)i+=o["xn"+n]+o["xs"+(n+1)];o.t[o.p]=i}}else o.t[o.p]=e+o.xs0;else o.t[o.p]=o.e;else o.setRatio(t);o=o._next}},c._enableTransforms=function(t){this._transform=this._transform||Wt(this._target,o,!0),this._transformType=this._transform.svg&&St||!t&&3!==this._transformType?2:3};var Gt=function(t){this.t[this.p]=this.e,this.data._linkCSSP(this,this._next,null,!0)};c._addLazySet=function(t,e,i){var n=this._firstPT=new yt(t,e,0,0,this._firstPT,2);n.e=i,n.setRatio=Gt,n.data=this},c._linkCSSP=function(t,e,i,n){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,n=!0),i?i._next=t:n||null!==this._firstPT||(this._firstPT=t),t._next=e,t._prev=i),t},c._mod=function(t){for(var e=this._firstPT;e;)"function"==typeof t[e.p]&&(e.r=t[e.p]),e=e._next},c._kill=function(e){var i,n,o,s=e;if(e.autoAlpha||e.alpha){for(n in s={},e)s[n]=e[n];s.opacity=1,s.autoAlpha&&(s.visibility=1)}for(e.className&&(i=this._classNamePT)&&((o=i.xfirst)&&o._prev?this._linkCSSP(o._prev,i._next,o._prev._prev):o===this._firstPT&&(this._firstPT=i._next),i._next&&this._linkCSSP(i._next,i._next._next,o._prev),this._classNamePT=null),i=this._firstPT;i;)i.plugin&&i.plugin!==n&&i.plugin._kill&&(i.plugin._kill(e),n=i.plugin),i=i._next;return t.prototype._kill.call(this,s)};var Zt=function(t,e,i){var n,o,s,r;if(t.slice)for(o=t.length;--o>-1;)Zt(t[o],e,i);else for(o=(n=t.childNodes).length;--o>-1;)r=(s=n[o]).type,s.style&&(e.push(it(s)),i&&i.push(s)),1!==r&&9!==r&&11!==r||!s.childNodes.length||Zt(s,e,i)};return r.cascadeTo=function(t,i,n){var o,s,r,a,l=e.to(t,i,n),c=[l],d=[],p=[],u=[],h=e._internals.reservedProps;for(t=l._targets||l.target,Zt(t,d,u),l.render(i,!0,!0),Zt(t,p),l.render(0,!0,!0),l._enabled(!0),o=u.length;--o>-1;)if((s=nt(u[o],d[o],p[o])).firstMPT){for(r in s=s.difs,n)h[r]&&(s[r]=n[r]);for(r in a={},s)a[r]=d[o][r];c.push(e.fromTo(u[o],i,a,s))}return c},t.activate([r]),r}),!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},n=t.prototype;n._onInitAllProps=function(){var t,n,o,s,r=this._tween,a=r.vars.roun
57dProps,l={},c=r._propLookup.roundProps;if("object"!=typeof a||a.push)for("string"==typeof a&&(a=a.split(",")),o=a.length;--o>-1;)l[a[o]]=Math.round;else for(s in a)l[s]=e(a[s]);for(s in l)for(t=r._firstPT;t;)n=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]),n&&(n._prev=t._prev),t._prev?t._prev._next=n:r._firstPT===t&&(r._firstPT=n),t._next=t._prev=null,r._propLookup[s]=c)),t=n;return!1},n._add=function(t,e,i,n,o){this._addTween(t,e,i,i+n,e,o||Math.round),this._overwriteProps.push(e)}}(),_gsScope._gsDefine.plugin({propName:"attr",API:2,version:"0.6.1",init:function(t,e,i,n){var o,s;if("function"!=typeof t.setAttribute)return!1;for(o in e)"function"==typeof(s=e[o])&&(s=s(n,t)),this._addTween(t,"setAttribute",t.getAttribute(o)+"",s+"",o,!1,o),this._overwriteProps.push(o);return!0}}),_gsScope._gsDefine.plugin({propName:"directionalRotation",version:"0.3.1",API:2,init:function(t,e,i,n){"object"!=typeof e&&(e={rotation:e}),this.finals={};var o,s,r,a,l,c,d=!0===e.useRadians?2*Math.PI:360,p=1e-6;for(o in e)"useRadians"!==o&&("function"==typeof(a=e[o])&&(a=a(n,t)),s=(c=(a+"").split("_"))[0],r=parseFloat("function"!=typeof t[o]?t[o]:t[o.indexOf("set")||"function"!=typeof t["get"+o.substr(3)]?o:"get"+o.substr(3)]()),l=(a=this.finals[o]="string"==typeof s&&"="===s.charAt(1)?r+parseInt(s.charAt(0)+"1",10)*Number(s.substr(2)):Number(s)||0)-r,c.length&&(-1!==(s=c.join("_")).indexOf("short")&&((l%=d)!==l%(d/2)&&(l=0>l?l+d:l-d)),-1!==s.indexOf("_cw")&&0>l?l=(l+9999999999*d)%d-(l/d|0)*d:-1!==s.indexOf("ccw")&&l>0&&(l=(l-9999999999*d)%d-(l/d|0)*d)),(l>p||-p>l)&&(this._addTween(t,o,r,r+l,o),this._overwriteProps.push(o)));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,n,o,s=_gsScope.GreenSockGlobals||_gsScope,r=s.com.greensock,a=2*Math.PI,l=Math.PI/2,c=r._class,d=function(e,i){var n=c("easing."+e,(function(){}),!0),o=n.prototype=new t;return o.constructor=n,o.getRatio=i,n},p=t.register||function(){},u=function(t,e,i,n,o){var s=c("easing."+t,{easeOut:new e,easeIn:new i,easeInOut:new n},!0);return p(s,t),s},h=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)},f=function(e,i){var n=c("easing."+e,(function(t){this._p1=t||0===t?t:1.70158,this._p2=1.525*this._p1}),!0),o=n.prototype=new t;return o.constructor=n,o.getRatio=i,o.config=function(t){return new n(t)},n},m=u("Back",f("BackOut",(function(t){return(t-=1)*t*((this._p1+1)*t+this._p1)+1})),f("BackIn",(function(t){return t*t*((this._p1+1)*t-this._p1)})),f("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)}))),g=c("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),v=g.prototype=new t;return v.constructor=g,v.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},g.ease=new g(.7,.7),v.config=g.config=function(t,e,i){return new g(t,e,i)},(v=(e=c("easing.SteppedEase",(function(t,e){t=t||1,this._p1=1/t,this._p2=t+(e?0:1),this._p3=e?1:0}),!0)).prototype=new t).constructor=e,v.getRatio=function(t){return 0>t?t=0:t>=1&&(t=.999999999),((this._p2*t|0)+this._p3)*this._p1},v.config=e.config=function(t,i){return new e(t,i)},(v=(i=c("easing.ExpoScaleEase",(function(t,e,i){this._p1=Math.log(e/t),this._p2=e-t,this._p3=t,this._ease=i}),!0)).prototype=new t).constructor=i,v.getRatio=function(t){return this._ease&&(t=this._ease.getRatio(t)),(this._p3*Math.exp(this._p1*t)-this._p3)/this._p2},v.config=i.config=function(t,e,n){return new i(t,e,n)},(v=(n=c("easing.RoughEase",(function(e){for(var i,n,o,s,r,a,l=(e=e||{}).taper||"none",c=[],d=0,p=0|(e.points||20),u=p,f=!1!==e.randomize,m=!0===e.clamp,g=e.template instanceof t?e.template:null,v="number"==typeof e.strength?.4*e.strength:.4;--u>-1;)i=f?Math.random():1/p*u,n=g?g.getRatio(i):i,"none"===l?o=v:"out"===l?o=(s=1-i)*s*v:"in"===l?o=i*i*v:.5>i?o=(s=2*i)*s*.5*v:o=(s=2*(1-i))*s*.5*v,f?n+=Math.random()*o-.5*o:u%2?n+=.5*o:n-=.5*o,m&&(n>1?n=1:0>n&&(n=0)),c[d++]={x:i,y:n};for(c.sort((function(t,e){return t.x-e.x})),a=new h(1,1,null),u=p;--u>-1;)r=c[u],a=new h(r.x,r.y,a);this._prev=new h(0,0,0!==a.t?a:a.next)}),!0)).prototype=new t).constructor=n,v.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},v.config=function(t){return new n(t)},n.ease=new n,u("Bounce",d("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})),d("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)})),d("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}))),u("Circ",d("CircOut",(function(t){return Math.sqrt(1-(t-=1)*t)})),d("CircIn",(function(t){return-(Math.sqrt(1-t*t)-1)})),d("CircInOut",(function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)}))),u("Elastic",(o=function(e,i,n){var o=c("easing."+e,(function(t,e){this._p1=t>=1?t:1,this._p2=(e||n)/(1>t?t:1),this._p3=this._p2/a*(Math.asin(1/this._p1)||0),this._p2=a/this._p2}),!0),s=o.prototype=new t;return s.constructor=o,s.getRatio=i,s.config=function(t,e){return new o(t,e)},o})("ElasticOut",(function(t){return this._p1*Math.pow(2,-10*t)*Math.sin((t-this._p3)*this._p2)+1}),.3),o("ElasticIn",(function(t){return-this._p1*Math.pow(2,10*(t-=1))*Math.sin((t-this._p3)*this._p2)}),.3),o("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)),u("Expo",d("ExpoOut",(function(t){return 1-Math.pow(2,-10*t)})),d("ExpoIn",(function(t){return Math.pow(2,10*(t-1))-.001})),d("ExpoInOut",(function(t){return(t*=2)<1?.5*Math.pow(2,10*(t-1)):.5*(2-Math.pow(2,-10*(t-1)))}))),u("Sine",d("SineOut",(function(t){return Math.sin(t*l)})),d("SineIn",(function(t){return 1-Math.cos(t*l)})),d("SineInOut",(function(t){return-.5*(Math.cos(Math.PI*t)-1)}))),c("easing.EaseLookup",{find:function(e){return t.map[e]}},!0),p(s.SlowMo,"SlowMo","ease,"),p(n,"RoughEase","ease,"),p(e,"SteppedEase","ease,"),m}),!0)})),_gsScope._gsDefine&&_gsScope._gsQueue.pop()(),function(t,e){"use strict";var i={},n=t.document,o=t.GreenSockGlobals=t.GreenSockGlobals||t,s=o[e];if(s)return"undefined"!=typeof module&&module.exports&&(module.exports=s),s;var r,a,l,c,d,p=function(t){var e,i=t.split("."),n=o;for(e=0;e<i.length;e++)n[i[e]]=n=n[i[e]]||{};return n},u=p("com.greensock"),h=1e-10,f=function(t){var e,i=[],n=t.length;for(e=0;e!==n;i.push(t[e++]));return i},m=function(){},g=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)}}(),v={},_=function(n,s,r,a){this.sc=v[n]?v[n].sc:[],v[n]=this,this.gsClass=null,this.func=r;var l=[];this.check=function(c){for(var d,u,h,f,m=s.length,g=m;--m>-1;)(d=v[s[m]]||new _(s[m],[])).gsClass?(l[m]=d.gsClass,g--):c&&d.sc.push(this);if(0===g&&r){if(h=(u=("com.greensock."+n).split(".")).pop(),f=p(u.join("."))[h]=this.gsClass=r.apply(r,l),a)if(o[h]=i[h]=f,"undefined"!=typeof module&&module.exports)if(n===e)for(m in module.exports=i[e]=f,i)f[m]=i[m];else i[e]&&(i[e][h]=f);else"function"==typeof define&&define.amd&&define((t.GreenSockAMDPath?t.GreenSockAMDPath+"/":"")+n.split(".").pop(),[],(function(){return f}));for(m=0;m<this.sc.length;m++)this.sc[m].check()}},this.check(!0)}
57,y=t._gsDefine=function(t,e,i,n){return new _(t,e,i,n)},w=u._class=function(t,e,i){return e=e||function(){},y(t,[],(function(){return e}),i),e};y.globals=o;var b=[0,0,1,1],x=w("easing.Ease",(function(t,e,i,n){this._func=t,this._type=i||0,this._power=n||0,this._params=e?b.concat(e):b}),!0),k=x.map={},T=x.register=function(t,e,i,n){for(var o,s,r,a,l=e.split(","),c=l.length,d=(i||"easeIn,easeOut,easeInOut").split(",");--c>-1;)for(s=l[c],o=n?w("easing."+s,null,!0):u.easing[s]||{},r=d.length;--r>-1;)a=d[r],k[s+"."+a]=k[a+s]=o[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,n=1===e?1-t:2===e?t:.5>t?2*t:2*(1-t);return 1===i?n*=n:2===i?n*=n*n:3===i?n*=n*n*n:4===i&&(n*=n*n*n*n),1===e?1-n:2===e?n:.5>t?n/2:1-n/2},a=(r=["Linear","Quad","Cubic","Quart","Quint,Strong"]).length;--a>-1;)l=r[a]+",Power"+a,T(new x(null,null,1,a),l,"easeOut",!0),T(new x(null,null,2,a),l,"easeIn"+(0===a?",easeNone":"")),T(new x(null,null,3,a),l,"easeInOut");k.linear=u.easing.Linear.easeIn,k.swing=u.easing.Quad.easeInOut;var C=w("events.EventDispatcher",(function(t){this._listeners={},this._eventTarget=t||this}));(l=C.prototype).addEventListener=function(t,e,i,n,o){o=o||0;var s,r,a=this._listeners[t],l=0;for(this!==c||d||c.wake(),null==a&&(this._listeners[t]=a=[]),r=a.length;--r>-1;)(s=a[r]).c===e&&s.s===i?a.splice(r,1):0===l&&s.pr<o&&(l=r+1);a.splice(l,0,{c:e,s:i,up:n,pr:o})},l.removeEventListener=function(t,e){var i,n=this._listeners[t];if(n)for(i=n.length;--i>-1;)if(n[i].c===e)return void n.splice(i,1)},l.dispatchEvent=function(t){var e,i,n,o=this._listeners[t];if(o)for((e=o.length)>1&&(o=o.slice(0)),i=this._eventTarget;--e>-1;)(n=o[e])&&(n.up?n.c.call(n.s||i,{type:t,target:i}):n.c.call(n.s||i))};var S=t.requestAnimationFrame,A=t.cancelAnimationFrame,$=Date.now||function(){return(new Date).getTime()},P=$();for(a=(r=["ms","moz","webkit","o"]).length;--a>-1&&!S;)S=t[r[a]+"RequestAnimationFrame"],A=t[r[a]+"CancelAnimationFrame"]||t[r[a]+"CancelRequestAnimationFrame"];w("Ticker",(function(t,e){var i,o,s,r,a,l=this,p=$(),u=!(!1===e||!S)&&"auto",f=500,g=33,v=function(t){var e,n,c=$()-P;c>f&&(p+=c-g),P+=c,l.time=(P-p)/1e3,e=l.time-a,(!i||e>0||!0===t)&&(l.frame++,a+=e+(e>=r?.004:r-e),n=!0),!0!==t&&(s=o(v)),n&&l.dispatchEvent("tick")};C.call(l),l.time=l.frame=0,l.tick=function(){v(!0)},l.lagSmoothing=function(t,e){return arguments.length?(f=t||1/h,void(g=Math.min(e,f,0))):1/h>f},l.sleep=function(){null!=s&&(u&&A?A(s):clearTimeout(s),o=m,s=null,l===c&&(d=!1))},l.wake=function(t){null!==s?l.sleep():t?p+=-P+(P=$()):l.frame>10&&(P=$()-f+5),o=0===i?m:u&&S?S:function(t){return setTimeout(t,1e3*(a-l.time)+1|0)},l===c&&(d=!0),v(2)},l.fps=function(t){return arguments.length?(r=1/((i=t)||60),a=this.time+r,void l.wake()):i},l.useRAF=function(t){return arguments.length?(l.sleep(),u=t,void l.fps(i)):u},l.fps(t),setTimeout((function(){"auto"===u&&l.frame<5&&"hidden"!==(n||{}).visibilityState&&l.useRAF(!1)}),1500)})),(l=u.Ticker.prototype=new u.events.EventDispatcher).constructor=u.Ticker;
57var O=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=!0===e.immediateRender,this.data=e.data,this._reversed=!0===e.reversed,G){d||c.wake();var i=this.vars.useFrames?U:G;i.add(this,i._time),this.vars.paused&&this.paused(!0)}}));c=O.ticker=new u.Ticker,(l=O.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 M=function(){d&&$()-P>2e3&&("hidden"!==(n||{}).visibilityState||!c.lagSmoothing())&&c.wake();var t=setTimeout(M,2e3);t.unref&&t.unref()};M(),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-1e-7},l._enabled=function(t,e){return d||c.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],n=e[t+"Params"],o=e[t+"Scope"]||e.callbackScope||this;switch(n?n.length:0){case 0:i.call(o);break;case 1:i.call(o,n[0]);break;case 2:i.call(o,n[0],n[1]);break;default:i.apply(o,n)}},l.eventCallback=function(t,e,i,n){if("on"===(t||"").substr(0,2)){var o=this.vars;if(1===arguments.length)return o[t];null==e?delete o[t]:(o[t]=e,o[t+"Params"]=g(i)&&-1!==i.join("").indexOf("{self}")?this._swapSelfInParams(i):i,o[t+"Scope"]=n),"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(d||c.wake(),!arguments.length)return this._totalTime;if(this._timeline){if(0>t&&!i&&(t+=this.totalDuration()),this._timeline.smoothChildTiming){this._dirty&&this.totalDuration();var n=this._totalDuration,o=this._timeline;if(t>n&&!i&&(t=n),this._startTime=(this._paused?this._pauseTime:o._time)-(this._reversed?n-t:t)/this._timeScale,o._dirty||this._uncache(!1),o._timeline)for(;o._timeline;)o._timeline._time!==(o._startTime+o._totalTime)/o._timeScale&&o.totalTime(o._totalTime,!0),o=o._timeline}this._gc&&this._enabled(!0,!1),(this._totalTime!==t||0===this._duration)&&(z.length&&Q(),this.render(t,e,!1),z.length&&Q())}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,
58this.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||h,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,n=this._timeline;return t!=this._paused&&n&&(d||t||c.wake(),i=(e=n.rawTime())-this._pauseTime,!t&&n.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=n.smoothChildTiming?this._totalTime:(e-this._startTime)/this._timeScale,this.render(e,e===this._totalTime,!0))),this._gc&&!t&&this._enabled(!0,!1),this};var E=w("core.SimpleTimeline",(function(t){O.call(this,0,t),this.autoRemoveChildren=this.smoothChildTiming=!0}));(l=E.prototype=new O).constructor=E,l.kill()._gc=!1,l._first=l._last=l._recent=null,l._sortChildren=!1,l.add=l.insert=function(t,e,
vendor: 6,261 bytes, line 58
58i,n){var o,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),o=this._last,this._sortChildren)for(s=t._startTime;o&&o._startTime>s;)o=o._prev;return o?(t._next=o._next,o._next=t):(t._next=this._first,this._first=t),t._next?t._next._prev=t:this._last=t,t._prev=o,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 n,o=this._first;for(this._totalTime=this._time=this._rawPrevTime=t;o;)n=o._next,(o._active||t>=o._startTime&&!o._paused&&!o._gc)&&(o._reversed?o.render((o._dirty?o.totalDuration():o._totalDuration)-(t-o._startTime)*o._timeScale,e,i):o.render((t-o._startTime)*o._timeScale,e,i)),o=n},l.rawTime=function(){return d||c.wake(),this._totalTime};var I=w("TweenLite",(function(e,i,n){if(O.call(this,i,n),this.render=I.prototype.render,null==e)throw"Cannot tween a null target.";this.target=e="string"!=typeof e?e:I.selector(e)||e;var o,s,r,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?Y[I.defaultOverwrite]:"number"==typeof l?l>>0:Y[l],(a||e instanceof Array||e.push&&g(e))&&"number"!=typeof e[0])for(this._targets=r=f(e),this._propLookup=[],this._siblings=[],o=0;o<r.length;o++)(s=r[o])?"string"!=typeof s?s.length&&s!==t&&s[0]&&(s[0]===t||s[0].nodeType&&s[0].style&&!s.nodeType)?(r.splice(o--,1),this._targets=r=r.concat(f(s))):(this._siblings[o]=K(s,this,!1),1===l&&this._siblings[o].length>1&&tt(s,this,null,1,this._siblings[o])):"string"==typeof(s=r[o--]=I.selector(s))&&r.splice(o+1,1):r.splice(o--,1);else this._propLookup={},this._siblings=K(e,this,!1),1===l&&this._siblings.length>1&&tt(e,this,null,1,this._siblings);(this.vars.immediateRender||0===i&&0===this._delay&&!1!==this.vars.immediateRender)&&(this._time=-h,this.render(Math.min(0,-this._delay)))}),!0),L=function(e){return e&&e.length&&e!==t&&e[0]&&(e[0]===t||e[0].nodeType&&e[0].style&&!e.nodeType)};(l=I.prototype=new O).constructor=I,l.kill()._gc=!1,l.ratio=0,l._firstPT=l._targets=l._overwrittenProps=l._startAt=null,l._notifyPluginsOfEnabled=l._lazy=!1,I.version="2.0.1",I.defaultEase=l._ease=new x(null,null,1,1),I.defaultOverwrite="auto",I.ticker=c,I.autoSleep=120,I.lagSmoothing=function(t,e){c.lagSmoothing(t,e)},I.selector=t.$||t.jQuery||function(e){var i=t.$||t.jQuery;return i?(I.selector=i,i(e)):(n||(n=t.document),n?n.querySelectorAll?n.querySelectorAll(e):n.getElementById("#"===e.charAt(0)?e.substr(1):e):e)};var z=[],D={},F=/(?:(-|-=|\+=)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,R=/[\+-]=-?[\.\d]/,B=function(t){for(var e,i=this._firstPT,n=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):n>e&&e>-n&&!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},j=function(t,e,i,n){var o,s,r,a,l,c,d,p=[],u=0,h="",f=0;for(p.start=t,p.end=e,t=p[0]=t+"",e=p[1]=e+"",i&&(i(p),t=p[0],e=p[1]),p.length=0,o=t.match(F)||[],s=e.match(F)||[],n&&(n._next=null,n.blob=1,p._firstPT=p._applyPT=n),l=s.length,a=0;l>a;a++)d=s[a],h+=(c=e.substr(u,e.indexOf(d,u)-u))||!a?c:",",u+=c.length,f?f=(f+1)%5:"rgba("===c.substr(-5)&&(f=1),d===o[a]||o.length<=a?h+=d:(h&&(p.push(h),h=""),r=parseFloat(o[a]),p.push(r),p._firstPT={_next:p._firstPT,t:p,p:p.length-1,s:r,c:("="===d.charAt(1)?parseInt(d.charAt(0)+"1",10)*parseFloat(d.substr(2)):parseFloat(d)-r)||0,f:0,m:f&&4>f?Math.round:0}),u+=d.length;return(h+=e.substr(u))&&p.push(h),p.setRatio=B,R.test(e)&&(p.end=null),p},H=function(t,e,i,n,o,s,r,a,l){"function"==typeof n&&(n=n(l||0,t));var c=typeof t[e],d="function"!==c?"":e.indexOf("set")||"function"!=typeof t["get"+e.substr(3)]?e:"get"+e.substr(3),p="get"!==i?i:d?r?t[d](r):t[d]():t[e],u="string"==typeof n&&"="===n.charAt(1),h={t:t,p:e,s:p,f:"function"===c,pg:0,n:o||e,m:s?"function"==typeof s?s:Math.round:0,pr:0,c:u?parseInt(n.charAt(0)+"1",10)*parseFloat(n.substr(2)):parseFloat(n)-p||0};return("number"!=typeof p||"number"!=typeof n&&!u)&&(r||isNaN(p)||!u&&isNaN(n)||"boolean"==typeof p||"boolean"==typeof n?(h.fp=r,h={t:j(p,u?parseFloat(h.s)+h.c+(h.s+"").replace(/[0-9\-\.]/g,""):n,a||I.defaultStringFilter,h),p:"setRatio",s:0,c:1,f:2,pg:0,n:o||e,pr:0,m:0}):(h.s=parseFloat(p),u||(h.c=parseFloat(n)-h.s||0))),h.c?((h._next=this._firstPT)&&(h._next._prev=h),this._firstPT=h,h):void 0},W=I._internals={isArray:g,isSelector:L,lazyTweens:z,blobDif:j},N=I._plugins={},q=W.tweenLookup={},V=0,X=W.reservedProps={ease:1,delay:1,overwrite:1,onComplete:1,onCompleteParams:1,onCompleteScope:1,useFrames:1,runBackwards:1,startAt:1,onUpdate:1,onUpdateParams:1,onUpdateScope:1,onStart:1,onStartParams:1,onStartScope:1,onReverseComplete:1,onReverseCompleteParams:1,onReverseCompleteScope:1,onRepeat:1,onRepeatParams:1,onRepeatScope:1,easeParams:1,yoyo:1,immediateRender:1,repeat:1,repeatDelay:1,data:1,paused:1,reversed:1,autoCSS:1,lazy:1,onOverwrite:1,callbackScope:1,stringFilter:1,id:1,yoyoEase:1},Y={none:0,all:1,auto:2,concurrent:3,allOnStart:4,preexisting:5,true:1,false:0},U=O._rootFramesTimeline=new E,G=O._rootTimeline=new E,Z=30,Q=W.lazyRender=function(){var t,e=z.length;for(D={};--e>-1;)(t=z[e])&&!1!==t._lazy&&(t.render(t._lazy[0],t._lazy[1],!0),t._lazy=!1);z.length=0};G._startTime=c.time,U._startTime=c.frame,G._active=U._active=!0,setTimeout(Q,1),O._updateRoot=I.render=function(){var t,e,i;if(z.length&&Q(),G.render((c.time-G._startTime)*G._timeScale,!1,!1),U.render((c.frame-U._startTime)*U._timeScale,!1,!1),z.length&&Q(),c.frame>=Z){for(i in Z=c.frame+(parseInt(I.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)&&I.autoSleep&&!U._first&&1===c._listeners.tick.length){for(;i&&i._paused;)i=i._next;i||c.sleep()}}},c.addEventListener("tick",O._updateRoot);
58var K=function(t,e,i){var n,o,s=t._gsTweenID;if(q[s||(t._gsTweenID=s="t"+V++)]||(q[s]={target:t,tweens:[]}),e&&((n=q[s].tweens)[o=n.length]=e,i))for(;--o>-1;)n[o]===e&&n.splice(o,1);return q[s].tweens},J=function(t,e,i,n){var o,s,r=t.vars.onOverwrite;return r&&(o=r(t,e,i,n)),(r=I.onOverwrite)&&(s=r(t,e,i,n)),!1!==o&&!1!==s},tt=function(t,e,i,n,o){var s,r,a,l;if(1===n||n>=4){for(l=o.length,s=0;l>s;s++)if((a=o[s])!==e)a._gc||a._kill(null,t,e)&&(r=!0);else if(5===n)break;return r}var c,d=e._startTime+h,p=[],u=0,f=0===e._duration;for(s=o.length;--s>-1;)(a=o[s])===e||a._gc||a._paused||(a._timeline!==e._timeline?(c=c||et(e,0,f),0===et(a,c,f)&&(p[u++]=a)):a._startTime<=d&&a._startTime+a.totalDuration()/a._timeScale>d&&((f||!a._initted)&&d-a._startTime<=2e-10||(p[u++]=a)));for(s=u;--s>-1;)if(a=p[s],2===n&&a._kill(i,t,e)&&(r=!0),2!==n||!a._firstPT&&a._initted){if(2!==n&&!J(a,e))continue;a._enabled(!1,!1)&&(r=!0)}return r},et=function(t,e,i){for(var n=t._timeline,o=n._timeScale,s=t._startTime;n._timeline;){if(s+=n._startTime,o*=n._timeScale,n._paused)return-100;n=n._timeline}return(s/=o)>e?s-e:i&&s===e||!t._initted&&2*h>s-e?h:(s+=t.totalDuration()/t._timeScale/o)>e+h?0:s-e-h};l._init=function(){var t,e,i,n,o,s,r=this.vars,a=this._overwrittenProps,l=this._duration,c=!!r.immediateRender,d=r.ease;if(r.startAt){for(n in this._startAt&&(this._startAt.render(-1,!0),this._startAt.kill()),o={},r.startAt)o[n]=r.startAt[n];if(o.data="isStart",o.overwrite=!1,o.immediateRender=!0,o.lazy=c&&!1!==r.lazy,o.startAt=o.delay=null,o.onUpdate=r.onUpdate,o.onUpdateParams=r.onUpdateParams,o.onUpdateScope=r.onUpdateScope||r.callbackScope||this,this._startAt=I.to(this.target||{},0,o),c)if(this._time>0)this._startAt=null;else if(0!==l)return}else if(r.runBackwards&&0!==l)if(this._startAt)this._startAt.render(-1,!0),this._startAt.kill(),this._startAt=null;else{for(n in 0!==this._time&&(c=!1),i={},r)X[n]&&"autoCSS"!==n||(i[n]=r[n]);if(i.overwrite=0,i.data="isFromStart",i.lazy=c&&!1!==r.lazy,i.immediateRender=c,this._startAt=I.to(this.target,0,i),c){if(0===this._time)return}else this._startAt._init(),this._startAt._enabled(!1),this.vars.immediateRender&&(this._startAt=null)}if(this._ease=d=d?d instanceof x?d:"function"==typeof d?new x(d,r.easeParams):k[d]||I.defaultEase:I.defaultEase,r.easeParams instanceof Array&&d.config&&(this._ease=d.config.apply(d,r.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&&I._onPluginEvent("_onInitAllProps",this),a&&(this._firstPT||"function"!=typeof this.target&&this._enabled(!1,!1)),r.runBackwards)for(i=this._firstPT;i;)i.s+=i.c,i.c=-i.c,i=i._next;this._onUpdate=r.onUpdate,this._initted=!0},l._initProps=function(e,i,n,o,s){var r,a,l,c,d,p;if(null==e)return!1;for(r in D[e._gsTweenID]&&Q(),this.vars.css||e.style&&e!==t&&e.nodeType&&N.css&&!1!==this.vars.autoCSS&&function(t,e){var i,n={};for(i in t)X[i]||i in e&&"transform"!==i&&"x"!==i&&"y"!==i&&"width"!==i&&"height"!==i&&"className"!==i&&"border"!==i||!(!N[i]||N[i]&&N[i]._autoCSS)||(n[i]=t[i],delete t[i]);t.css=n}(this.vars,e),this.vars)if(p=this.vars[r],X[r])p&&(p instanceof Array||p.push&&g(p))&&-1!==p.join("").indexOf("{self}")&&(this.vars[r]=p=this._swapSelfInParams(p,this));else if(N[r]&&(c=new N[r])._onInitTween(e,this.vars[r],this,s)){for(this._firstPT=d={_next:this._firstPT,t:c,p:"setRatio",s:0,c:1,f:1,n:r,pg:1,pr:c._priority,m:0},a=c._overwriteProps.length;--a>-1;)i[c._overwriteProps[a]]=this._firstPT;(c._priority||c._onInitAllProps)&&(l=!0),(c._onDisable||c._onEnable)&&(this._notifyPluginsOfEnabled=!0),d._next&&(d._next._prev=d)}else i[r]=H.call(this,e,r,"get",p,r,0,null,this.vars.stringFilter,s);return o&&this._kill(o,e)?this._initProps(e,i,n,o,s):this._overwrite>1&&this._firstPT&&n.length>1&&tt(e,this,i,this._overwrite,n)?(this._kill(i,e),this._initProps(e,i,n,o,s)):(this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&
vendor: 4,346 bytes, line 58
58!this._duration)&&(D[e._gsTweenID]=!0),l)},l.render=function(t,e,i){var n,o,s,r,a=this._time,l=this._duration,c=this._rawPrevTime;if(t>=l-1e-7&&t>=0)this._totalTime=this._time=l,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1,this._reversed||(n=!0,o="onComplete",i=i||this._timeline.autoRemoveChildren),0===l&&(this._initted||!this.vars.lazy||i)&&(this._startTime===this._timeline._duration&&(t=0),(0>c||0>=t&&t>=-1e-7||c===h&&"isPause"!==this.data)&&c!==t&&(i=!0,c>h&&(o="onReverseComplete")),this._rawPrevTime=r=!e||t||c===t?t:h);else if(1e-7>t)this._totalTime=this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0,(0!==a||0===l&&c>0)&&(o="onReverseComplete",n=this._reversed),0>t&&(this._active=!1,0===l&&(this._initted||!this.vars.lazy||i)&&(c>=0&&(c!==h||"isPause"!==this.data)&&(i=!0),this._rawPrevTime=r=!e||t||c===t?t:h)),(!this._initted||this._startAt&&this._startAt.progress())&&(i=!0);else if(this._totalTime=this._time=t,this._easeType){var d=t/l,p=this._easeType,u=this._easePower;(1===p||3===p&&d>=.5)&&(d=1-d),3===p&&(d*=2),1===u?d*=d:2===u?d*=d*d:3===u?d*=d*d*d:4===u&&(d*=d*d*d*d),this.ratio=1===p?1-d:2===p?d:.5>t/l?d/2:1-d/2}else this.ratio=this._ease.getRatio(t/l);if(this._time!==a||i){if(!this._initted){if(this._init(),!this._initted||this._gc)return;if(!i&&this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration))return this._time=this._totalTime=a,this._rawPrevTime=c,z.push(this),void(this._lazy=[t,e]);this._time&&!n?this.ratio=this._ease.getRatio(this._time/l):n&&this._ease._calcEnd&&(this.ratio=this._ease.getRatio(0===this._time?0:1))}for(!1!==this._lazy&&(this._lazy=!1),this._active||!this._paused&&this._time!==a&&t>=0&&(this._active=!0),0===a&&(this._startAt&&(t>=0?this._startAt.render(t,!0,i):o||(o="_dummyGS")),this.vars.onStart&&(0!==this._time||0===l)&&(e||this._callback("onStart"))),s=this._firstPT;s;)s.f?s.t[s.p](s.c*this.ratio+s.s):s.t[s.p]=s.c*this.ratio+s.s,s=s._next;this._onUpdate&&(0>t&&this._startAt&&-1e-4!==t&&this._startAt.render(t,!0,i),e||(this._time!==a||n||i)&&this._callback("onUpdate")),o&&(!this._gc||i)&&(0>t&&this._startAt&&!this._onUpdate&&-1e-4!==t&&this._startAt.render(t,!0,i),n&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[o]&&this._callback(o),0===l&&this._rawPrevTime===h&&r!==h&&(this._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:I.selector(e)||e;var n,o,s,r,a,l,c,d,p,u=i&&this._time&&i._startTime===this._startTime&&this._timeline===i._timeline;if((g(e)||L(e))&&"number"!=typeof e[0])for(n=e.length;--n>-1;)this._kill(t,e[n],i)&&(l=!0);else{if(this._targets){for(n=this._targets.length;--n>-1;)if(e===this._targets[n]){a=this._propLookup[n]||{},this._overwrittenProps=this._overwrittenProps||[],o=this._overwrittenProps[n]=t?this._overwrittenProps[n]||{}:"all";break}}else{if(e!==this.target)return!1;a=this._propLookup,o=this._overwrittenProps=t?this._overwrittenProps||{}:"all"}if(a){if(c=t||a,d=t!==o&&"all"!==o&&t!==a&&("object"!=typeof t||!t._tempKill),i&&(I.onOverwrite||this.vars.onOverwrite)){for(s in c)a[s]&&(p||(p=[]),p.push(s));if((p||!t)&&!J(this,i,e,p))return!1}for(s in c)(r=a[s])&&(u&&(r.f?r.t[r.p](r.s):r.t[r.p]=r.s,l=!0),r.pg&&r.t._kill(c)&&(l=!0),r.pg&&0!==r.t._overwriteProps.length||(r._prev?r._prev._next=r._next:r===this._firstPT&&(this._firstPT=r._next),r._next&&(r._next._prev=r._prev),r._next=r._prev=null),delete a[s]),d&&(o[s]=1);!this._firstPT&&this._initted&&this._enabled(!1,!1)}}return l},l.invalidate=function(){return this._notifyPluginsOfEnabled&&I._onPluginEvent("_onDisable",this),this._firstPT=this._overwrittenProps=this._startAt=this._onUpdate=null,this._notifyPluginsOfEnabled=this._active=this._lazy=!1,this._propLookup=this._targets?{}:[],O.prototype.invalidate.call(this),this.vars.immediateRender&&(this._time=-h,this.render(Math.min(0,-this._delay))),this},l._enabled=function(t,e){if(d||c.wake(),t&&this._gc){var i,n=this._targets;if(n)for(i=n.length;--i>-1;)this._siblings[i]=K(n[i],this,!0);else this._siblings=K(this.target,this,!0)}return O.prototype._enabled.call(this,t,e),!(!this._notifyPluginsOfEnabled||!this._firstPT)&&I._onPluginEvent(t?"_onEnable":"_onDisable",this)}
58,I.to=function(t,e,i){return new I(t,e,i)},I.from=function(t,e,i){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,new I(t,e,i)},I.fromTo=function(t,e,i,n){return n.startAt=i,n.immediateRender=0!=n.immediateRender&&0!=i.immediateRender,new I(t,e,n)},I.delayedCall=function(t,e,i,n,o){return new I(e,0,{delay:t,onComplete:e,onCompleteParams:i,callbackScope:n,onReverseComplete:e,onReverseCompleteParams:i,immediateRender:!1,lazy:!1,useFrames:o,overwrite:0})},I.set=function(t,e){return new I(t,0,e)},I.getTweensOf=function(t,e){if(null==t)return[];var i,n,o,s;if(t="string"!=typeof t?t:I.selector(t)||t,(g(t)||L(t))&&"number"!=typeof t[0]){for(i=t.length,n=[];--i>-1;)n=n.concat(I.getTweensOf(t[i],e));for(i=n.length;--i>-1;)for(s=n[i],o=i;--o>-1;)s===n[o]&&n.splice(i,1)}else if(t._gsTweenID)for(i=(n=K(t).concat()).length;--i>-1;)(n[i]._gc||e&&!n[i].isActive())&&n.splice(i,1);return n||[]},I.killTweensOf=I.killDelayedCallsTo=function(t,e,i){"object"==typeof e&&(i=e,e=!1);for(var n=I.getTweensOf(t,e),o=n.length;--o>-1;)n[o]._kill(i,t)};var it=w("plugins.TweenPlugin",(function(t,e){this._overwriteProps=(t||"").split(","),this._propName=this._overwriteProps[0],this._priority=e||0,this._super=it.prototype}),!0);if(l=it.prototype,it.version="1.19.0",it.API=2,l._firstPT=null,l._addTween=H,l.setRatio=B,l._kill=function(t){var e,i=this._overwriteProps,n=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(;n;)null!=t[n.n]&&(n._next&&(n._next._prev=n._prev),n._prev?(n._prev._next=n._next,n._prev=null):this._firstPT===n&&(this._firstPT=n._next)),n=n._next;return!1},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},I._onPluginEvent=function(t,e){var i,n,o,s,r,a=e._firstPT;if("_onInitAllProps"===t){for(;a;){for(r=a._next,n=o;n&&n.pr>a.pr;)n=n._next;(a._prev=n?n._prev:s)?a._prev._next=a:o=a,(a._next=n)?n._prev=a:s=a,a=r}a=e._firstPT=o}for(;a;)a.pg&&"function"==typeof a.t[t]&&a.t[t]()&&(i=!0),a=a._next;return i},it.activate=function(t){for(var e=t.length;--e>-1;)t[e].API===it.API&&(N[(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,n=t.priority||0,o=t.overwriteProps,s={init:"_onInitTween",set:"setRatio",kill:"_kill",round:"_mod",mod:"_mod",initAll:"_onInitAllProps"},r=w("plugins."+i.charAt(0).toUpperCase()+i.substr(1)+"Plugin",(function(){it.call(this,i,n),this._overwriteProps=o||[]}),!0===t.global),a=r.prototype=new it(i);for(e in a.constructor=r,r.API=t.API,s)"function"==typeof t[e]&&(a[s[e]]=t[e]);return r.version=t.version,it.activate([r]),r},r=t._gsQueue){for(a=0;a<r.length;a++)r[a]();for(l in v)v[l].func||t.console.log("GSAP encountered missing dependency: "+l)}d=!1}("undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window,"TweenMax");
59/*!
60 * VERSION: 1.9.0
61 * DATE: 2018-02-15
62 * UPDATES AND DOCS AT: http://greensock.com
63 *
64 * @license Copyright (c) 2008-2018, GreenSock. All rights reserved.
65 * This work is subject to the terms at http://greensock.com/standard-license or for
66 * Club GreenSock members, the software agreement that was issued with your membership.
67 * 
68 * @author: Jack Doyle, [email protected]
69 **/
70var _gsScope="undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window;(_gsScope._gsQueue||(_gsScope._gsQueue=[])).push((function(){"use strict";var t=(_gsScope.document||{}).documentElement,e=_gsScope,i=function(i,n){var o="x"===n?"Width":"Height",s="scroll"+o,r="client"+o,a=document.body;return i===e||i===t||i===a?Math.max(t[s],a[s])-(e["inner"+o]||t[r]||a[r]):i[s]-i["offset"+o]},n=function(i,n){var o="scroll"+("x"===n?"Left":"Top");return i===e&&(null!=i.pageXOffset?o="page"+n.toUpperCase()+"Offset":i=null!=t[o]?t:document.body),function(){return i[o]}},o=function(i,o){var s=function(t){return"string"==typeof t&&(t=TweenLite.selector(t)),t.length&&t!==e&&t[0]&&t[0].style&&!t.nodeType&&(t=t[0]),t===e||t.nodeType&&t.style?t:null}(i).getBoundingClientRect(),r=!o||o===e||o===document.body,a=(r?t:o).getBoundingClientRect(),l={x:s.left-a.left,y:s.top-a.top};return!r&&o&&(l.x+=n(o,"x")(),l.y+=n(o,"y")()),l},s=function(t,e,n){var s=typeof t;return isNaN(t)?"number"===s||"string"===s&&"="===t.charAt(1)?t:"max"===t?i(e,n
70):Math.min(i(e,n),o(t,e)[n]):parseFloat(t)},r=_gsScope._gsDefine.plugin({propName:"scrollTo",API:2,global:!0,version:"1.9.0",init:function(t,i,o){return this._wdw=t===e,this._target=t,this._tween=o,"object"!=typeof i?"string"==typeof(i={y:i}).y&&"max"!==i.y&&"="!==i.y.charAt(1)&&(i.x=i.y):i.nodeType&&(i={y:i,x:i}),this.vars=i,this._autoKill=!1!==i.autoKill,this.getX=n(t,"x"),this.getY=n(t,"y"),this.x=this.xPrev=this.getX(),this.y=this.yPrev=this.getY(),null!=i.x?(this._addTween(this,"x",this.x,s(i.x,t,"x")-(i.offsetX||0),"scrollTo_x",!0),this._overwriteProps.push("scrollTo_x")):this.skipX=!0,null!=i.y?(this._addTween(this,"y",this.y,s(i.y,t,"y")-(i.offsetY||0),"scrollTo_y",!0),this._overwriteProps.push("scrollTo_y")):this.skipY=!0,!0},set:function(t){this._super.setRatio.call(this,t);var n=this._wdw||!this.skipX?this.getX():this.xPrev,o=this._wdw||!this.skipY?this.getY():this.yPrev,s=o-this.yPrev,a=n-this.xPrev,l=r.autoKillThreshold;this.x<0&&(this.x=0),this.y<0&&(this.y=0),this._autoKill&&(!this.skipX&&(a>l||-l>a)&&n<i(this._target,"x")&&(this.skipX=!0),!this.skipY&&(s>l||-l>s)&&o<i(this._target,"y")&&(this.skipY=!0),this.skipX&&this.skipY&&(this._tween.kill(),this.vars.onAutoKill&&this.vars.onAutoKill.apply(this.vars.onAutoKillScope||this._tween,this.vars.onAutoKillParams||[]))),this._wdw?e.scrollTo(this.skipX?n:this.x,this.skipY?o:this.y):(this.skipY||(this._target.scrollTop=this.y),this.skipX||(this._target.scrollLeft=this.x)),this.xPrev=this.x,this.yPrev=this.y}}),a=r.prototype;r.max=i,r.getOffset=o,r.buildGetter=n,r.autoKillThreshold=7,a._kill=function(t){return t.scrollTo_x&&(this.skipX=!0),t.scrollTo_y&&(this.skipY=!0),this._super._kill.call(this,t)}})),_gsScope._gsDefine&&_gsScope._gsQueue.pop()(),function(t){"use strict";var e=function(){return(_gsScope.GreenSockGlobals||_gsScope).ScrollToPlugin};"undefined"!=typeof module&&module.exports?(require("../TweenLite.min.js"),module.exports=e()):"function"==typeof define&&define.amd&&define(["TweenLite"],e)}(),function(t){function e(n){if(i[n])return i[n].exports;var o=i[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var i={};e.m=t,e.c=i,e.d=function(t,i,n){e.o(t,i)||Object.defineProperty(t,i,{configurable:!1,enumerable:!0,get:n})},e.n=function(t){var i=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(i,"a",i),i},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=0)}([function(t,e,i){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o=i(1),s=!0,r=!1,a=["scroll","wheel","touchstart","touchmove","touchenter","touchend","touchleave","mouseout","mouseleave","mouseup","mousedown","mousemove","mouseenter","mousewheel","mouseover"],l=function(t,e){return void 0!==t?t:-1!==a.indexOf(e)&&s};(0,o.eventListenerOptionsSupported)()&&function(t){EventTarget.prototype.addEventListener=function(e,i,o){var s="object"===(void 0===o?"undefined":n(o))&&null!==o,a=s?o.capture:o;(o=s?function(t){var e=Object.getOwnPropertyDescriptor(t,"passive");return e&&!0!==e.writable&&void 0===e.set?Object.assign({},t):t}(o):{}).passive=l(o.passive,e),o.capture=void 0===a?r:a,t.call(this,e,i,o)},EventTarget.prototype.addEventListener._original=t}(EventTarget.prototype.addEventListener)},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.eventListenerOptionsSupported=function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("test",null,e),window.removeEventListener("test",null,e)}catch(t){}return t}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.